Skip to content
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

Publish WebComponents wrapper generation script #5046

Closed
MarcusNotheis opened this issue Sep 6, 2023 · 1 comment · Fixed by #6212
Closed

Publish WebComponents wrapper generation script #5046

MarcusNotheis opened this issue Sep 6, 2023 · 1 comment · Fixed by #6212
Assignees
Labels

Comments

@MarcusNotheis
Copy link
Contributor

User Story

As a consumer of a custom UI5 Web Components library, I want to be able to create React wrappers for the custom UI5 Web Components library.

Scope 1

Parse api.json and create a file only containing withWebComponent().
No Types included

Scope 2

Including Types. Reuse custom-elements.json instead of api.json?

Known Issues

  • Lots of manual mapping required (custom types, detection of enums)
  • Manual mapping of some props (opener -> string when prop, but string | HTMLElement when DomRef)
  • Backwards compatibility of the script? Only tested with latest UI5 api.json. We need to be aware of path changes inside these files (e.g. sap.webcomponents.main -> sap.webc.main)
  • Mapping of custom @types/sapui5 to standard TypeScript types?
  • Replacements in description of UI5 Web Components and their attributes are not feasible
@MarcusNotheis MarcusNotheis moved this from 🆕 New to 2023-Q4 in ui5-webcomponents-react Roadmap Sep 6, 2023
@MarcusNotheis MarcusNotheis moved this from 2023-Q4 to Future in ui5-webcomponents-react Roadmap Sep 6, 2023
@MarcusNotheis MarcusNotheis moved this from Future to 2024-Q1 in ui5-webcomponents-react Roadmap Sep 28, 2023
MarcusNotheis added a commit that referenced this issue Aug 16, 2024
This PR adds the documentation for the `@ui5/webcomponents-react-cli` package and describes how to create web components wrappers on the fly.

Closes #5046
@MarcusNotheis MarcusNotheis moved this from 2024-Q1 to 2024-Q3 in ui5-webcomponents-react Roadmap Aug 16, 2024
@MarcusNotheis MarcusNotheis self-assigned this Aug 16, 2024
@ui5-webcomponents-react-bot
Copy link
Contributor

🎉 This issue has been resolved in version v2.0.0-rc.3 🎉

The release is available on v2.0.0-rc.3

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: 2024-Q3
Development

Successfully merging a pull request may close this issue.

2 participants