kirbydesign / designsystem

Kirby Design System
https://cookbook.kirby.design
MIT License
84 stars 22 forks source link

[Enhancement] Add script for analyzing lit components and generating Angular proxies #3498

Open RasmusKjeldgaard opened 3 months ago

RasmusKjeldgaard commented 3 months ago

Lit has support for creating react-compatible wrappers for lit components, but never got around to officially supporting an angular generator - see https://github.com/lit/lit/discussions/4525#discussioncomment-8288794.

They do however mention rolling your own for better framework integration, and have done some initial work here: https://github.com/lit/lit/tree/main/packages/labs/gen-wrapper-angular

Consider creating a hand-coded wrapper to begin with to know what the generator should do - some inspiration can be found here: https://github.com/lit/lit/pull/2817

Further reading/inspiration:

High level tasks

Considerations