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
For Browser Support and the configuration of the UI5 Web Components, please take a look at the
131
-
[Browser Support](https://github.com/SAP/ui5-webcomponents#browser-support) and the
132
-
[Configure](https://github.com/SAP/ui5-webcomponents#browser-support) sections of the
133
-
[UI5 Web Components Readme](https://github.com/SAP/ui5-webcomponents#ui5-web-components).
134
-
135
134
### Browser Support
136
135
137
-
UI5 Web Components are supported by all major modern browsers, including their mobile versions.
136
+
UI5 Web Components for React supports the same [browsers and respective versions](https://github.com/SAP/ui5-webcomponents#browser-support) as UI5 Web Components.
The minimum required `react` and `react-dom` version is now `18.0.0`.
52
+
49
53
### Removed `react-jss`
50
54
51
55
UI5 Web Components for React is no longer relying on `react-jss` internally, hence the dependency is now removed and the `react-jss` ThemeProvider is no longer rendered as part of our `ThemeProvider`.
@@ -65,6 +69,10 @@ function MyRootComponent() {
65
69
}
66
70
```
67
71
72
+
### Removed `jestSetup` file
73
+
74
+
We stopped recommending jest as a testing framework over a year ago, thus the `jestSetup` file is removed. We recommend using [Cypress](https://sap.github.io/ui5-webcomponents-react/?path=/docs/testing-with-cypress-setup--docs) instead.
75
+
68
76
### Changes Exclusive to TypeScript
69
77
70
78
- Removed `dangerouslySetInnerHTML` from general prop types since it was never intended to be used with our library.
@@ -171,6 +179,28 @@ The `useResponsiveContentPadding` hook has been removed.
171
179
You can now apply responsive content paddings by applying the `sap-content-paddings-container` class from `@sap-ui/common-css` package to your element.
172
180
You can find a more detailed documentation [here](?path=/docs/knowledge-base-common-css--docs#content-paddings).
173
181
182
+
## Removed Components
183
+
184
+
-`TableGroupRow` has been removed.
185
+
-`NotificationAction` has been removed. You can use the `Menu` component instead.
186
+
-`SelectMenu` and `SelectMenuOption` have been removed. The `Select` and `Option` now allow custom content.
187
+
188
+
## Renamed Components
189
+
190
+
With the release of UI5 Web Components v2, some component names have been renamed. Because we use these web component names (class names) as React component names, the renamings are considered breaking changes in our repository.
191
+
192
+
**The list below shows only the previous and updated component names. For details on changes concerning attributes, properties, methods, etc., please refer to the [UI5 Web Components Migration Guide](https://sap.github.io/ui5-webcomponents/docs/migration-guides/to-version-2/).**
193
+
194
+
**Note:** The tag name in the parenthesis is the **old** tag name.
195
+
196
+
-`StandardListItem` has been renamed to `ListItemStandard` (`ui5-li`).
197
+
-`CustomListItem` has been renamed to `ListItemCustom` (`ui5-li-custom`).
198
+
-`MultiComboBoxGroupItem` has been renamed to `MultiComboBoxItemGroup` (`ui5-mcb-group-item`).
199
+
-`TableColumn` has been renamed to `TableHeaderCell` (`ui5-mcb-group-item`).
200
+
-`Badge` has been renamed to `Tag` (`ui5-tag`).
201
+
-`ComboBoxGroupItem` has been renamed to `ComboBoxItemGroup` (`ui5-cb-group-item`).
202
+
-`GroupHeaderListItem` has been renamed to `ListItemGroup` (`ui5-li-groupheader`).
203
+
174
204
## Replaced Components
175
205
176
206
### AnalyticalCard
@@ -1138,6 +1168,16 @@ For better alignment with the UI5 Web Components the `active` prop has been rena
1138
1168
The prop `withoutModalsProvider` has been removed.
1139
1169
In order to provide a place for the `Modals` helper to mount the popovers, you have to render the new `Modals` component in your application tree.
1140
1170
1171
+
### SelectDialog
1172
+
1173
+
-`mode` has been renamed to `selectionMode`
1174
+
-`onAfterClose` has been renamed to `onClose`
1175
+
-`onAfterOpen` has been renamed to `onOpen`
1176
+
1177
+
### VariantManagement
1178
+
1179
+
The `portalContainer` prop has been removed as it is no longer needed.
1180
+
1141
1181
## Enum Changes
1142
1182
1143
1183
For better alignment with the UI5 Web Components, the following enums have been renamed:
Please see our [LICENSE](https://github.com/SAP/ui5-webcomponents-react/blob/main/LICENSE) for copyright and license information.
27
+
Detailed information including third-party components and their licensing/copyright information is available via the [REUSE tool](https://api.reuse.software/info/github.com/SAP/ui5-webcomponents-react).
0 commit comments