v2.0.0-rc.3
Pre-release
Pre-release
ui5-webcomponents-react-bot
released this
21 Aug 14:15
·
221 commits
to main
since this release
2.0.0-rc.3 (2024-08-21)
Bug Fixes
- AnalyticalTable: correct
CustomElementsScope
import path (#6184) (de68b2d), closes #6183 - MessageBox: don't throw error if
onClose
is 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
FilterBar
component 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
: Thedetail
property of the event now only includesvisible
andnativeDetail
properties.filters
andsearch
have been removed. - FilterBar:
onFiltersDialogSave
: Thedetail
property of the event now only includesselectedFilterKeys
,reorderedFilterKeys
andnativeDetail
properties.elements
,toggledElements
,filters
,search
,orderIds
have been removed. - FilterBar:
onFiltersDialogCancel
: The event is now a callback instead of aUi5CustomEvent
. It implements theescPressed
parameter. - FilterBar:
onFiltersDialogClose
: The event is now a callback instead of aUi5CustomEvent
. It implements thecloseTrigger
parameter. - 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 standardInput
onInput
event. Thedetail
propertiesvalue
andelement
have been removed. - FilterBar:
onClear
: The event is now a standardToolbarButton
onClick
event. Thedetail
propertiesfilters
andsearch
have been removed. - FilterBar:
onGo
: The event is now a standardToolbarButton
onClick
event. Thedetail
propertieselements
,filters
,search
,nativeDetail
have 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:
portalContainer
has been removed as it's no longer needed due to the Popover API used in thePopover
ui5 web component. - FilterGroupItem:
orderId
has been removed. Please usefilterKey
instead.