-
-
Notifications
You must be signed in to change notification settings - Fork 182
Implement support for SolidJS #493
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Hello @paescuj! I have invited you as an Outside Collaborator to the fork. Since the repo is organization-owned, I cannot simply add permissions for only this PR. There are some tasks that I consider should be done before merging:
Thanks! |
Hi! I know you probably have a lot of work. Is there any estimate on when this will be reviewed? Thanks! |
Also waiting on this! Creating my own icon components is getting old fast 😅 |
I honestly don't know how to proceed with this, so I'll wait for @paescuj ! |
@paescuj is the only thing stopping this to update the branch (i.e. resolve conflicts) and get the docs updated? |
@caseybaggz In theory, yes only the docs are missing, but that also includes creating a solid-js icon to be put in the "Available for" section of the main page. The library itself is fully done and we are already using it for some production projects. |
Heyo, sorry for the ghosting! I'll happily dive into it again tomorrow 👍 |
Any update @paescuj ? |
@lucaburgio It's coming along, still needs some final clean-ups and additions (mostly docs) 👌 Do you think you could come up with a corresponding icon as mentioned in #493 (comment)? I'd also like to ensure that we use consistent branding everywhere: I'm tending to Solid ( |
@paescuj, @caseybaggz design is quite good. Also, about the package naming we did start with |
Alright! LFG! 🚀 👏 🙌 |
Solid thinking 😉 Appreciate your feedback, sounds good to me! |
Hello,
We have implemented a port of iconoir to SolidJS as requested in #221.
The new library is found under the
packages/iconoir-solid-js
and the build scripts are in the appropriatebuild/targets/solid-js
. We have ported all current features including theIconoirContext
, the multiple entry points for each variant... The build process is similar to the vue build process which will generate first the actualsrc
folder with all the icons and theIconoirContext
. Then we build usingvite
, one of the de facto standards for solid-js. The build is done once for the global entry point and then once again for each variant so that we can use:We also build for both ESM and CJS. We have also updated the documentation and kept the MIT license as is.
We are open to feedback to make this happen, and for
iconoir-solid-js
package to be published in NPM.Thank you!
@Level4Tech
P.D: You will also see changes in the
bin/build/lib/ts.js
file. We found a bug where in PowerShell instead of a Linux terminal the react build would fail out of the box due to path normalization.Closes #221