-
Notifications
You must be signed in to change notification settings - Fork 14
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
Components: release Web Components as Angular components #1381
Labels
📦 components
Related to the @swisspost/design-system-components package
📦 components-angular
Related to the @swisspost/design-system-components-angular package
Milestone
Comments
alizedebray
added
📦 components-angular
Related to the @swisspost/design-system-components-angular package
📦 components
Related to the @swisspost/design-system-components package
labels
May 4, 2023
Try to find a better solution. If there is no, publish the components-angular package. |
+1 |
This feature is considered necessary for delivering form components and would generally be nice because people started to wrap web components with custom angular components.
|
oliverschuerch
moved this from 🔖 Ready
to 🏗 In progress
in Design System Production Board
Oct 6, 2023
3 tasks
oliverschuerch
moved this from 🏗 In progress
to 👀 In review
in Design System Production Board
Nov 2, 2023
oliverschuerch
moved this from 👀 In review
to 🏗 In progress
in Design System Production Board
Dec 21, 2023
oliverschuerch
moved this from 🏗 In progress
to 👀 In review
in Design System Production Board
Dec 21, 2023
oliverschuerch
moved this from 👀 In review
to 🏗 In progress
in Design System Production Board
Jan 11, 2024
oliverschuerch
moved this from 🏗 In progress
to 👀 In review
in Design System Production Board
Jan 16, 2024
github-project-automation
bot
moved this from 👀 In review
to ✅ Done
in Design System Production Board
Jan 31, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
📦 components
Related to the @swisspost/design-system-components package
📦 components-angular
Related to the @swisspost/design-system-components-angular package
Currently the Web Components can be used as is in an Angular application.
However, the component inputs are not computed properly, resulting in such a compiler error every time you bind them to a complex value:
The current solution would be to declare all Web Components in a separate module with
schemas: [CUSTOM_ELEMENTS_SCHEMA]
as requested in the error message and explained in this article. To do this, each project has to declare an Angular wrapper for each Web Component it uses.For this reason, it would be good to use Stencil's ability to generate Angular component wrappers and complement the @swisspost/design-system-components-angular with all components derived from @swisspost/design-system-components.
The text was updated successfully, but these errors were encountered: