Skip to content

Commit 84ae471

Browse files
authored
feat: update to UI5 Web Components v2.12.0 (#7505)
1 parent 80382b8 commit 84ae471

File tree

42 files changed

+1628
-238
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+1628
-238
lines changed

.storybook/custom-element-manifests/fiori.json

Lines changed: 309 additions & 62 deletions
Large diffs are not rendered by default.

.storybook/custom-element-manifests/main.json

Lines changed: 609 additions & 18 deletions
Large diffs are not rendered by default.

package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,11 @@
4444
"@storybook/react": "8.6.14",
4545
"@storybook/react-vite": "8.6.14",
4646
"@storybook/theming": "8.6.14",
47-
"@ui5/webcomponents": "2.11.0",
48-
"@ui5/webcomponents-ai": "2.11.0",
49-
"@ui5/webcomponents-compat": "2.11.0",
50-
"@ui5/webcomponents-fiori": "2.11.0",
51-
"@ui5/webcomponents-icons": "2.11.0",
47+
"@ui5/webcomponents": "2.12.0",
48+
"@ui5/webcomponents-ai": "2.12.0",
49+
"@ui5/webcomponents-compat": "2.12.0",
50+
"@ui5/webcomponents-fiori": "2.12.0",
51+
"@ui5/webcomponents-icons": "2.12.0",
5252
"react": "19.1.0",
5353
"react-dom": "19.1.0",
5454
"remark-gfm": "4.0.1",
@@ -70,7 +70,7 @@
7070
"@types/node": "22.15.34",
7171
"@types/react": "19.1.8",
7272
"@types/react-dom": "19.1.6",
73-
"@ui5/webcomponents-tools": "2.11.0",
73+
"@ui5/webcomponents-tools": "2.12.0",
7474
"@vitejs/plugin-react": "4.6.0",
7575
"chromatic": "13.0.1",
7676
"cssnano": "7.0.7",

packages/ai/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
"@ui5/webcomponents-react-base": "workspace:~"
3434
},
3535
"peerDependencies": {
36-
"@ui5/webcomponents-ai": "~2.11.0",
36+
"@ui5/webcomponents-ai": "~2.12.0",
3737
"react": "^18 || ^19"
3838
},
3939
"publishConfig": {

packages/base/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
},
3333
"peerDependencies": {
3434
"@types/react": "*",
35-
"@ui5/webcomponents-base": "~2.11.0",
35+
"@ui5/webcomponents-base": "~2.12.0",
3636
"react": "^18 || ^19"
3737
},
3838
"peerDependenciesMeta": {

packages/base/src/styling/ThemingParameters.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ export const ThemingParameters = {
1717
sapTextColor: 'var(--sapTextColor)',
1818
sapLinkColor: 'var(--sapLinkColor)',
1919
sapCompanyLogo: 'var(--sapCompanyLogo)',
20+
sapFavicon: 'var(--sapFavicon)',
2021
sapBackgroundImage: 'var(--sapBackgroundImage)',
2122
sapBackgroundImageOpacity: 'var(--sapBackgroundImageOpacity)',
2223
sapBackgroundImageRepeat: 'var(--sapBackgroundImageRepeat)',

packages/charts/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@
3939
"recharts": "2.15.4"
4040
},
4141
"peerDependencies": {
42-
"@ui5/webcomponents-react": "~2.11.0",
43-
"@ui5/webcomponents-react-base": "~2.11.0",
42+
"@ui5/webcomponents-react": "~2.12.0",
43+
"@ui5/webcomponents-react-base": "~2.12.0",
4444
"react": "^18 || ^19"
4545
},
4646
"publishConfig": {

packages/compat/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@
4141
"peerDependencies": {
4242
"@types/react": "*",
4343
"@types/react-dom": "*",
44-
"@ui5/webcomponents-compat": "~2.11.0",
45-
"@ui5/webcomponents-react": "~2.11.0",
44+
"@ui5/webcomponents-compat": "~2.12.0",
45+
"@ui5/webcomponents-react": "~2.12.0",
4646
"react": "^18 || ^19",
4747
"react-dom": "^18 || ^19"
4848
},

packages/compat/src/components/Table/index.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -266,6 +266,7 @@ interface TablePropTypes
266266
* - `import "@ui5/webcomponents-compat/dist/TableCell.js";` (`TableCell`)
267267
*
268268
* __Note__: This is a UI5 Web Component! [Repository](https://github.com/SAP/ui5-webcomponents) | [Documentation](https://sap.github.io/ui5-webcomponents/)
269+
* @deprecated Deprecated as of version 2.12.0, use `@ui5/webcomponents/dist/Table.js` instead.
269270
*/
270271
const Table = withWebComponent<TablePropTypes, TableDomRef>(
271272
'ui5-table',

packages/compat/src/components/TableCell/index.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ interface TableCellPropTypes extends TableCellAttributes, Omit<CommonProps, 'chi
2020
* The `TableCell` component defines the structure of the data in a single `Table` cell.
2121
*
2222
* __Note__: This is a UI5 Web Component! [Repository](https://github.com/SAP/ui5-webcomponents) | [Documentation](https://sap.github.io/ui5-webcomponents/)
23+
* @deprecated Deprecated as of version 2.12.0, use `@ui5/webcomponents/dist/TableCell.js` instead.
2324
*/
2425
const TableCell = withWebComponent<TableCellPropTypes, TableCellDomRef>('ui5-table-cell', [], [], [], []);
2526

0 commit comments

Comments
 (0)