v2.0.0-rc.3
Pre-release
Pre-release
·
978 commits
to main
since this release
2.0.0-rc.3 (2024-08-21)
Bug Fixes
- AnalyticalTable: correct
CustomElementsScopeimport path (#6184) (de68b2d), closes #6183 - MessageBox: don't throw error if
onCloseis not passed (#6226) (7981491), closes #6215 - VariantManagement: apply correct header size for "Manage Views" dialog (#6185) (8b01af4)
Code Refactoring
- FilterBar: remove reference copying of filter/input elements (#6214) (4473118), closes #5652
- Modals: avoid unnecessary use of
createPortal(#6242) (a571981)
Features
- expose CLI package for creating web component wrappers (#6212) (28b14d9), closes #5046
- react 19: bind web components event handlers using react lifecycle (#6169) (70f9f27)
- register current runtime version in window (#6222) (367628c), closes #6210
BREAKING CHANGES
- Modals: modals are now rendered as children of the
Modals
component instead of being rendered intodocument.body - FilterBar: The
FilterBarcomponent was completely overhauled and references of input elements aren’t copied to the filters dialog anymore, also internal logic for reordering and selection has been removed, meaning it’s necessary to control their values manually (e.g. via React state). - FilterBar:
onToggleFilters: Thedetailproperty of the event now only includesvisibleandnativeDetailproperties.filtersandsearchhave been removed. - FilterBar:
onFiltersDialogSave: Thedetailproperty of the event now only includesselectedFilterKeys,reorderedFilterKeysandnativeDetailproperties.elements,toggledElements,filters,search,orderIdshave been removed. - FilterBar:
onFiltersDialogCancel: The event is now a callback instead of aUi5CustomEvent. It implements theescPressedparameter. - FilterBar:
onFiltersDialogClose: The event is now a callback instead of aUi5CustomEvent. It implements thecloseTriggerparameter. - FilterBar:
onFiltersDialogSelectionChange: The event is now a callback instead of aUi5CustomEvent. It implements a payload object as parameter. - FilterBar:
onFiltersDialogSearch: The event is now a standardInputonInputevent. Thedetailpropertiesvalueandelementhave been removed. - FilterBar:
onClear: The event is now a standardToolbarButtononClickevent. Thedetailpropertiesfiltersandsearchhave been removed. - FilterBar:
onGo: The event is now a standardToolbarButtononClickevent. Thedetailpropertieselements,filters,search,nativeDetailhave been removed. - FilterBar:
onRestore: The event is now a callback instead of aCustomEvent. It implements a payload object as parameter. - FilterBar:
onFiltersDialogOpen (TypeScript): The target of the event is now aToolbarButton. - FilterBar:
portalContainerhas been removed as it's no longer needed due to the Popover API used in thePopoverui5 web component. - FilterGroupItem:
orderIdhas been removed. Please usefilterKeyinstead.