-
Notifications
You must be signed in to change notification settings - Fork 809
Add support for web-types/custom-elements-json #2048
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
Comments
Not sure if this still works but i guess stencil was one of the first having it. Please have a look at 8924561 |
|
Follows the draft outlined in webcomponents/custom-elements-manifest#8 Closes: stenciljs#2048
Follows the draft outlined in webcomponents/custom-elements-manifest#8 Closes: stenciljs#2048
Follows the draft outlined in webcomponents/custom-elements-manifest#8 Closes: stenciljs#2048
Follows the draft outlined in webcomponents/custom-elements-manifest#8 Closes: stenciljs#2048
Follows the draft outlined in webcomponents/custom-elements-manifest#8 Closes: stenciljs#2048
The |
there is also an old PR #2354 And I'm using |
I’ve had a pretty good results with @pxtrn/storybook-addon-docs-stencil |
We recently released a v1.0.0 version of the Custom Elements Manifest schema, you can read more about the announcement here We already added support for the v1 schema in Storybook, which is available in 6.4.0-alpha.8. It'd be really great for the wider web component ecosystem to have Stencil tooling support outputting a I've been working on an analyzer to output a |
Would be very cool if this feature would come soon. Currently I can't use autocompletion or similar in my Angular project with an included stencil library in IntelliJ. |
I would really like this for use with Storybook. |
I've created a Web-Types generator which can be used together with the 'custom docs' functionality of StencilJS. See https://github.com/nielsboogaard/stenciljs-web-types-generator |
Any updates on this issue? |
Any update on this issue? |
@marcomattes the Stencil team currently has a lot of competing priorities and can't promise to be able to take a look at this anytime soon. We recommend to get involved and help us resolve this issue by providing a pull request with a fix. We are happy to provide necessary guidance and appreciate any help! |
Thanks to @rwaskiewicz we now have a plugin for this that is maintained as part of the community org: https://github.com/stencil-community/stencil-web-types, please give it a try and report issues there. Thanks. |
Stencil version:
I'm submitting a:
[ ] bug report
[X] feature request
[ ] support request => Please do not submit support requests here, use one of these channels: https://stencil-worldwide.herokuapp.com/ or https://forum.ionicframework.com/
Current behavior:
Stencil does not generate web-component metadata needed for IDEs to help with tag and attributes autocomplete
Expected behavior:
Generate metadata files as per specification then add
"web-types": "dist/web-types.json"
to package.json fileSteps to reproduce:
None
Related code:
None
Other information:
W3C is looking at the standard as we speak: https://github.com/webcomponents/custom-elements-json
The text was updated successfully, but these errors were encountered: