Coder Social home page Coder Social logo

NPM publish? about webcomponents HOT 8 CLOSED

sjml avatar sjml commented on April 28, 2024
NPM publish?

from webcomponents.

Comments (8)

sjml avatar sjml commented on April 28, 2024 1

I haven't tried using this setup yet, but will install direct from the repo and see how it flies. :)

from webcomponents.

rektdeckard avatar rektdeckard commented on April 28, 2024 1

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.

from webcomponents.

SebastianGarces avatar SebastianGarces commented on April 28, 2024 1

Hi there, any update on this? :)

from webcomponents.

rektdeckard avatar rektdeckard commented on April 28, 2024 1

Package has finally been published at long last 😅 @phosphor-icons/webcomponents
Feedback welcome, as I'm not too up on the Web Components ecosystem.

from webcomponents.

aarongerig avatar aarongerig commented on April 28, 2024 1

@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).

from webcomponents.

rektdeckard avatar rektdeckard commented on April 28, 2024

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.

from webcomponents.

rektdeckard avatar rektdeckard commented on April 28, 2024

Also would like to set it up for code-splitting.

from webcomponents.

rektdeckard avatar rektdeckard commented on April 28, 2024

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...

from webcomponents.

Related Issues (2)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.