@ui5/webcomponents-react-base
Advanced tools
Changelog
2.0.0 (2024-08-23)
ssr
folder has been removed as the UI5 Web Components now natively support being imported in Node.js environments. You can import all components from @ui5/webcomponents-react
.selectedFlatRows
has been removed from the detail
object of onRowSelect
.MicroBarChart
component as been removed as this is a legacy component which is not covered by design specs anymore.Changelog
2.0.0-rc.3 (2024-08-21)
CustomElementsScope
import path (#6184) (de68b2d), closes #6183onClose
is not passed (#6226) (7981491), closes #6215createPortal
(#6242) (a571981)Modals
component instead of being rendered into document.body
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).onToggleFilters
: The detail
property of the event now only includes visible
and nativeDetail
properties. filters
and search
have been removed.onFiltersDialogSave
: The detail
property of the event now only includes selectedFilterKeys
, reorderedFilterKeys
and nativeDetail
properties. elements
, toggledElements
, filters
, search
, orderIds
have been removed.onFiltersDialogCancel
: The event is now a callback instead of a Ui5CustomEvent
. It implements the escPressed
parameter.onFiltersDialogClose
: The event is now a callback instead of a Ui5CustomEvent
. It implements the closeTrigger
parameter.onFiltersDialogSelectionChange
: The event is now a callback instead of a Ui5CustomEvent
. It implements a payload object as parameter.onFiltersDialogSearch
: The event is now a standard Input
onInput
event. The detail
properties value
and element
have been removed.onClear
: The event is now a standard ToolbarButton
onClick
event. The detail
properties filters
and search
have been removed.onGo
: The event is now a standard ToolbarButton
onClick
event. The detail
properties elements
, filters
, search
, nativeDetail
have been removed.onRestore
: The event is now a callback instead of a CustomEvent
. It implements a payload object as parameter.onFiltersDialogOpen (TypeScript)
: The target of the event is now a ToolbarButton
.portalContainer
has been removed as it's no longer needed due to the Popover API used in the Popover
ui5 web component.FilterGroupItem
: orderId
has been removed. Please use filterKey
instead.Changelog
2.0.0-rc.2 (2024-08-07)
aria-hidden
to multi selection checkboxes (#6134) (082d1c0), closes #6133Text
(#6123) (277120b)currentTarget
type (#6167) (656ad5a), closes #6136Changelog
2.0.0-rc.1 (2024-07-19)
DynamicPage
(#6086) (93819a9)wrapping
to maxLines
(#6085) (a879a9b)react
and react-dom
version is now 18.0.0headerContent
has been renamed to headerArea
and
now only accepts the ObjectPageHeader
component.headerTitle
has been renamed to titleArea
and now
only accepts the ObjectPageTitle
component.footer
has been renamed to footerArea
.onToggleHeaderContent
has been renamed to
onToggleHeaderArea
onPinnedStateChange
has been renamed to
onPinButtonToggle
actions
has been renamed to
actionsBar
. Instead of single actions, the Toolbar
component should
now be passed.navigationActions
has been
renamed to navigationBar
. Instead of single actions, the Toolbar
component should now be passed.actionsToolbarProps
: Since it's
now recommended passing the Toolbar
component directly, this prop is
redundant.navigationActionsToolbarProps
:
Since it's now recommended passing the Toolbar
component directly,
this prop is redundant.Changelog
2.0.0-rc.0 (2024-07-11)
useRowDisableSelection
: remove title
from select-all cell (#5955) (c731554), closes #5953Text
component (#6022) (455acc1)keyup
instead of keydown
(#6013) (f1386f8), closes #4388dangerouslySetInnerHTML
from types (#6002) (f5f9101)onClose
type (#5975) (a30867a)titleText
is overflowing (#6015) (dba28ce), closes #5990HTMLDivElement
from onClick
type (#6011) (671cfaa)jestSetup
(#5906) (2da6d60)react-jss
(#5907) (5342836)AnalyticalCard
component (#5887) (1d8b257)portalContainer
prop (#6039) (7e19fbb)onClose
event (#5989) (ef490f4)spacing
variables (#6009) (c2c3730)Toolbar
with UI5 Web Component (#6061) (bf60767)loadingDelay
prop (#6025) (6d80fd8)loadingDelay
prop (#6027) (71fcb40)DynamicPage
& rename ObjectPage
components (#5939) (cb684cd)Loader
to compat
package & replace with BusyIndicator
(#6020) (80d8c0b)preserveHeaderStateOnClick
prop (#6049) (c3c6f06)loading
& loadingDelay
props (#6028) (3891437)Toolbar
component and its related components have been moved to the @ui5/webcomponents-react-compat
package.ToolbarV2
component has been renamed to Toolbar
ToolbarSpacerV2
component has been renamed to ToolbarSpacer
ToolbarSeparatorV2
component has been renamed to ToolbarSeparator
showHideHeaderButton
and showTitleInHeaderContent
have been removed.alwaysShowContentHeader
has been renamed to headerPinned
headerContentPinnable
has been renamed to hidePinButton
and its logic has been inverted. The pin button is now shown by default.showSubHeaderRight
has been removed as it's not defined by design anymore.withoutModalsProvider
has been removed. For more information, please refer to our Migration Guide.useShowDialog
, useShowPopover
, useShowResponsivePopover
, useShowMenu
, useShowMessageBox
and useShowToast
have been removed. For more information, please refer to our Migration Guide.a11yConfig
has been renamed to accessibilityAttributes
.AnalyticalTableSelectionMode
enum has been changed. SingleSelect
is now Single
and MultiSelect
is now Multiple
.a11yConfig
has been renamed to accessibilityAttributes
.a11yConfig
has been renamed to accessibilityAttributes
.active
has been renamed to interactive
.portalContainer
has been removed as it's no longer needed due to the Popover API.SuggestionGroupItem
component has been replaced by the SuggestionItemGroup
componentTableScaleWidthMode
enum has been removed, please use AnalyticalTableScaleWidthMode
instead.TableSelectionBehavior
enum has been removed, please use AnalyticalTableSelectionBehavior
instead.TableSelectionMode
enum has been removed, please use AnalyticalTableSelectionMode
instead.TableVisibleRowCountMode
enum has been removed, please use AnalyticalTableVisibleRowCountMode
instead.alwaysShowSubComponent
prop has been removed, please use subComponentsBehavior
instead.true
) of the sortable
prop has been removed, it is now required to explicitly set this prop, if the table should be sortable.canReorder
column property has been removed, please use disableDragAndDrop
instead.Loader
component has been moved to the @ui5/webcomponents-react-compat
package. Please use the BusyIndicator
instead, as it's now the only loading indicator that is supported by our UX guidelines. Please visit our Migration Guide for more details.visible
and visibleInFilterBar
(default: true
) props have been replaced with hidden
and hiddenInFilterBar
(no default value).titleText
is now required.true
for the prop titleTextUppercase
has been removed.titleText
is now required.onRowClick
and onRowSelect
are now fired on keyup
instead ofkeydown
.HTMLDivElement
type has been removed from the onClick
handler.Text
component has been replaced with the ui5-text
web component, please visit our Migration Guide for more details.hyphenated
and emptyIndicator
from the Text
have been removed.portalContainer
prop has been removed as it's not needed anymoredangerouslySetInnerHTML
type has been removedGlobalStyleClasses
enum has been removedonClose
is now a plain callback and not a CustomEvent
event anymore. It now receives two params: action
& escPressed
.MessageBoxActions
enum has been renamed to MessageBoxAction
MessageBoxTypes
enum has been renamed to MessageBoxType
Themes
enum has been renamed to Theme
and the deprecated "Belize" (sap_belize
) theme family has been removedportalContainer
prop has been removed as it's not needed anymoreshowCancelButton
has been renamed to hideCancelButton
and the logic has been inverted.StandardListItem
has been replaced with the ListItemStandard
componentCustomListItem
has been replaced with the ListItemCustom
componentMultiComboBoxGroupItem
has been replaced with the MultiComboBoxItemGroup
componentTableGroupRow
component has been deletedTableColumn
component has been replaced with the TableHeaderCell
componentportalContainer
prop has been removed as it is no longer needed.DynamicPage
component has been replaced with the ui5-dynamic-page
UI5 Web Component, please visit our Migration Guide for more details.DynamicPageHeader
component has been replaced with the ui5-dynamic-page-header
UI5 Web Component, please visit our Migration Guide for more details.DynamicPageTitle
component has been replaced with the ui5-dynamic-page-title
UI5 Web Component, please visit our Migration Guide for more details.headerTitle
now only accepts the ObjectPageTitle
component instead of the DynamicPageTitle
.headerContent
now only accepts the ObjectPageHeader
component instead of the DynamicPageTitle
.a11yConfig.dynamicPageAnchorBar
has been renamed to a11yConfig.objectPageAnchorBar
Form
component has been replaced with the ui5-form
UI5 Web Component, please visit our Migration Guide for more details.react-jss
internally, hence the dependency is now removed and the react-jss
ThemeProvider is no longer rendered as part of our ThemeProvider
. If you are relying on react-jss
in your application, please make sure to render your own react-jss
ThemeProvider.useResponsiveContentPadding
has been removed. You can achieve the same look and feel by using the responsive content padding from Common CSS.jest
as a testing framework over a year ago, thus the jestSetup
file is removed. We recommend using cypress instead.AnalyticalCard
component has been removed. Please use the Card
component instead.ActionSheet
: prop placementType
has been renamed to placement
, onAfterClose
to onClose
and onAfterOpen
to onOpen
Badge
component has been renamed to Tag
ComboBoxGroupItem
component has been renamed to ComboBoxItemGroup
GroupHeaderListItem
component has been renamed to ListItemGroup
NotificationAction
component has been removed. You can use the Menu
component instead.SelectMenu
and SelectMenuOption
components have been removed. The Select
and Option
now allow custom content.SelectDialog
: renamed prop mode
to selectionMode
to be aligned with new List API, onAfterClose
to onClose
and onAfterOpen
to onOpen
headerTitle
type with ReactElement<DynamicPageTitlePropTypes>
headerContent
type with ReactElement<DynamicPageHeaderPropTypes>
image
type with string | ReactElement<AvatarPropTypes>