Skip to content

Commit 09447b8

Browse files
feat: update to UI5 Web Components 2.21.0 (#8444)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
1 parent f95b50f commit 09447b8

36 files changed

Lines changed: 415 additions & 225 deletions

File tree

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

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14575,13 +14575,13 @@
1457514575
},
1457614576
{
1457714577
"kind": "javascript-module",
14578-
"path": "dist/fcl-utils/FCLLayout.js",
14578+
"path": "dist/illustrations/AllIllustrations.js",
1457914579
"declarations": [],
1458014580
"exports": []
1458114581
},
1458214582
{
1458314583
"kind": "javascript-module",
14584-
"path": "dist/illustrations/AllIllustrations.js",
14584+
"path": "dist/fcl-utils/FCLLayout.js",
1458514585
"declarations": [],
1458614586
"exports": []
1458714587
},
@@ -14681,6 +14681,12 @@
1468114681
}
1468214682
]
1468314683
},
14684+
{
14685+
"kind": "javascript-module",
14686+
"path": "dist/upload-utils/UploadCollectionBodyDnD.js",
14687+
"declarations": [],
14688+
"exports": []
14689+
},
1468414690
{
1468514691
"kind": "javascript-module",
1468614692
"path": "dist/types/FCLLayout.js",
@@ -16965,12 +16971,6 @@
1696516971
}
1696616972
}
1696716973
]
16968-
},
16969-
{
16970-
"kind": "javascript-module",
16971-
"path": "dist/upload-utils/UploadCollectionBodyDnD.js",
16972-
"declarations": [],
16973-
"exports": []
1697416974
}
1697516975
]
1697616976
}

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

Lines changed: 183 additions & 19 deletions
Large diffs are not rendered by default.

.storybook/utils.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ export const MAPPED_THEMES = [
1111
{ value: 'sap_horizon_dark', title: 'Evening Horizon (Dark)' },
1212
{ value: 'sap_horizon_hcb', title: 'Horizon High Contrast Black' },
1313
{ value: 'sap_horizon_hcw', title: 'Horizon High Contrast White' },
14+
{ value: 'sap_horizon_auto', title: 'OS Adaptive Horizon Theme' },
15+
{ value: 'sap_horizon_hc_auto', title: 'OS Adaptive High Contrast Horizon Theme' },
1416
{ value: 'sap_fiori_3', title: 'Quartz Light' },
1517
{ value: 'sap_fiori_3_dark', title: 'Quartz Dark' },
1618
{ value: 'sap_fiori_3_hcb', title: 'Quartz High Contrast Black' },

config/version-info.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,5 +62,6 @@
6262
"2.17.0": "2.17.0",
6363
"2.18.0": "2.18.0",
6464
"2.19.0": "2.19.0",
65-
"2.20.0": "2.20.0"
65+
"2.20.0": "2.20.0",
66+
"2.21.0": "2.21.0"
6667
}

docs/Welcome.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,8 @@ Available Themes:
169169
- `sap_horizon_dark`
170170
- `sap_horizon_hcb`
171171
- `sap_horizon_hcw`
172+
- `sap_horizon_auto`
173+
- `sap_horizon_hc_auto`
172174

173175
- `sap_fiori_3`
174176
- `sap_fiori_3_dark`

eslint.config.mjs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,8 @@ const config = tseslint.config(
9191
'sap_horizon_dark',
9292
'sap_horizon_hcb',
9393
'sap_horizon_hcw',
94+
'sap_horizon_auto',
95+
'sap_horizon_hc_auto',
9496
],
9597
},
9698
],

examples/nextjs-app/app/components/AppShellBar.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ const THEMES = [
2424
{ key: 'sap_horizon_dark', value: 'Evening Horizon (Dark)' },
2525
{ key: 'sap_horizon_hcb', value: 'Horizon High Contrast Black' },
2626
{ key: 'sap_horizon_hcw', value: 'Horizon High Contrast White' },
27+
{ key: 'sap_horizon_auto', value: 'OS Adaptive Horizon Theme' },
28+
{ key: 'sap_horizon_hc_auto', value: 'OS Adaptive High Contrast Horizon Theme' },
2729
];
2830

2931
export function AppShellBar() {

examples/react-router-ts/app/components/AppShellBar.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ const THEMES = [
2222
{ key: 'sap_horizon_dark', value: 'Evening Horizon (Dark)' },
2323
{ key: 'sap_horizon_hcb', value: 'Horizon High Contrast Black' },
2424
{ key: 'sap_horizon_hcw', value: 'Horizon High Contrast White' },
25+
{ key: 'sap_horizon_auto', value: 'OS Adaptive Horizon Theme' },
26+
{ key: 'sap_horizon_hc_auto', value: 'OS Adaptive High Contrast Horizon Theme' },
2527
];
2628

2729
export function AppShellBar() {

examples/vite-ts/src/AppShell.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ const THEMES = [
2929
{ key: 'sap_horizon_dark', value: 'Evening Horizon (Dark)' },
3030
{ key: 'sap_horizon_hcb', value: 'Horizon High Contrast Black' },
3131
{ key: 'sap_horizon_hcw', value: 'Horizon High Contrast White' },
32+
{ key: 'sap_horizon_auto', value: 'OS Adaptive Horizon Theme' },
33+
{ key: 'sap_horizon_hc_auto', value: 'OS Adaptive High Contrast Horizon Theme' },
3234
];
3335

3436
function AppShell() {

package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,11 @@
4444
"@storybook/addon-a11y": "10.3.4",
4545
"@storybook/addon-docs": "10.3.4",
4646
"@storybook/react-vite": "10.3.4",
47-
"@ui5/webcomponents": "2.20.2",
48-
"@ui5/webcomponents-ai": "2.20.2",
49-
"@ui5/webcomponents-compat": "2.20.2",
50-
"@ui5/webcomponents-fiori": "2.20.2",
51-
"@ui5/webcomponents-icons": "2.20.2",
47+
"@ui5/webcomponents": "2.21.0",
48+
"@ui5/webcomponents-ai": "2.21.0",
49+
"@ui5/webcomponents-compat": "2.21.0",
50+
"@ui5/webcomponents-fiori": "2.21.0",
51+
"@ui5/webcomponents-icons": "2.21.0",
5252
"react": "19.2.4",
5353
"react-dom": "19.2.4",
5454
"remark-gfm": "4.0.1",
@@ -72,7 +72,7 @@
7272
"@types/node": "24.12.2",
7373
"@types/react": "19.2.14",
7474
"@types/react-dom": "19.2.3",
75-
"@ui5/webcomponents-tools": "2.20.2",
75+
"@ui5/webcomponents-tools": "2.21.0",
7676
"@vitejs/plugin-react": "6.0.1",
7777
"chromatic": "16.1.0",
7878
"cssnano": "7.1.4",

0 commit comments

Comments
 (0)