You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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
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 containingwithWebComponent()
.No Types included
Scope 2
Including Types. Reuse
custom-elements.json
instead ofapi.json
?Known Issues
string | HTMLElement
when DomRef)api.json
. We need to be aware of path changes inside these files (e.g. sap.webcomponents.main -> sap.webc.main)@types/sapui5
to standard TypeScript types?The text was updated successfully, but these errors were encountered: