Closed sjml closed 1 year ago
Hey, thank so much for the interest, and for the offer! Haven't had a chance to finish it off, but I'd love some contribution! This is really my first foray into web components, so feel free to suggest a better way of doing things if you see one.
I haven't tried using this setup yet, but will install direct from the repo and see how it flies. :)
If I recall there were some quirks with passing SVG namespaced elements into the <slot>
but I'll have to take a look again to remember what was up with that. Besides that, I think it's pretty close. Will try to get to it this weekend.
Also would like to set it up for code-splitting.
After a little digging today, I'd say the only thing really missing is library-supported tree shaking, since it seems the web components spec does not support slotted SVG-namespaced elements. In light of that, I think I'm going to hit publish and deal with that later...
Hi there, any update on this? :)
Package has finally been published at long last 😅 @phosphor-icons/webcomponents Feedback welcome, as I'm not too up on the Web Components ecosystem.
@rektdeckard Thank you for your work! Phosphor Icons as a library looks very promising and we are planning to use it for our new website. There we'd like to integrate the icons as web components, so I can definitely give you some feedback on that, once we start working on the integration (Q3/Q4 of 2023).
Hi there! Love the icon set, and am already using it in a project by hacking the SVGs directly into my code. I was starting to prep component versions of them when I saw this was already in progress. Is anything in particular preventing this from being published on NPM? Anything you need a hand with to push it over the finish line?