Skip to content

Commit 04fecc4

Browse files
authored
feat: update to UI5 Web Components 2.9.0 (#7203)
1 parent 5f98e64 commit 04fecc4

File tree

51 files changed

+3582
-2058
lines changed

Some content is hidden

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

51 files changed

+3582
-2058
lines changed

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

Lines changed: 1122 additions & 206 deletions
Large diffs are not rendered by default.

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

Lines changed: 1451 additions & 1329 deletions
Large diffs are not rendered by default.

config/version-info.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,5 +50,6 @@
5050
"2.5.0": "2.5.0",
5151
"2.6.0": "2.6.2",
5252
"2.7.0": "2.7.0",
53-
"2.8.0": "2.8.0"
53+
"2.8.0": "2.8.0",
54+
"2.9.0": "2.9.0"
5455
}

package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,11 @@
4343
"@storybook/react": "8.6.11",
4444
"@storybook/react-vite": "8.6.11",
4545
"@storybook/theming": "8.6.11",
46-
"@ui5/webcomponents": "2.8.0",
47-
"@ui5/webcomponents-ai": "2.8.0",
48-
"@ui5/webcomponents-compat": "2.8.0",
49-
"@ui5/webcomponents-fiori": "2.8.0",
50-
"@ui5/webcomponents-icons": "2.8.0",
46+
"@ui5/webcomponents": "2.9.0",
47+
"@ui5/webcomponents-ai": "2.9.0",
48+
"@ui5/webcomponents-compat": "2.9.0",
49+
"@ui5/webcomponents-fiori": "2.9.0",
50+
"@ui5/webcomponents-icons": "2.9.0",
5151
"react": "^19.0.0",
5252
"react-dom": "^19.0.0",
5353
"remark-gfm": "^4.0.0",
@@ -69,7 +69,7 @@
6969
"@types/node": "^22.0.0",
7070
"@types/react": "^19.0.1",
7171
"@types/react-dom": "^19.0.1",
72-
"@ui5/webcomponents-tools": "2.8.0",
72+
"@ui5/webcomponents-tools": "2.9.0",
7373
"@vitejs/plugin-react": "^4.2.0",
7474
"chromatic": "^11.0.0",
7575
"cssnano": "^7.0.0",

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.8.0",
36+
"@ui5/webcomponents-ai": "~2.9.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.8.0",
35+
"@ui5/webcomponents-base": "~2.9.0",
3636
"react": "^18 || ^19"
3737
},
3838
"peerDependenciesMeta": {

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.2"
4040
},
4141
"peerDependencies": {
42-
"@ui5/webcomponents-react": "~2.8.0",
43-
"@ui5/webcomponents-react-base": "~2.8.0",
42+
"@ui5/webcomponents-react": "~2.9.0",
43+
"@ui5/webcomponents-react-base": "~2.9.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.8.0",
45-
"@ui5/webcomponents-react": "~2.8.0",
44+
"@ui5/webcomponents-compat": "~2.9.0",
45+
"@ui5/webcomponents-react": "~2.9.0",
4646
"react": "^18 || ^19",
4747
"react-dom": "^18 || ^19"
4848
},

packages/compat/src/components/Toolbar/OverflowPopover.tsx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,6 @@ export const OverflowPopover: FC<OverflowPopoverProps> = (props: OverflowPopover
7575

7676
const handleBeforeOpen = () => {
7777
if (toggleBtnRef.current) {
78-
//@ts-expect-error: for some reason these optional attributes are mandatory which is not expected
7978
toggleBtnRef.current.accessibilityAttributes = { expanded: true, hasPopup: 'menu' };
8079
}
8180
};
@@ -85,7 +84,6 @@ export const OverflowPopover: FC<OverflowPopoverProps> = (props: OverflowPopover
8584

8685
const handleClose = (e) => {
8786
if (toggleBtnRef.current) {
88-
//@ts-expect-error: for some reason these optional attributes are mandatory which is not expected
8987
toggleBtnRef.current.accessibilityAttributes = { expanded: false, hasPopup: 'menu' };
9088
}
9189
stopPropagation(e);
@@ -96,7 +94,6 @@ export const OverflowPopover: FC<OverflowPopoverProps> = (props: OverflowPopover
9694
const tagName = getUi5TagWithSuffix('ui5-toggle-button');
9795
void customElements.whenDefined(tagName).then(() => {
9896
if (toggleBtnRef.current) {
99-
//@ts-expect-error: for some reason these optional attributes are mandatory which is not expected
10097
toggleBtnRef.current.accessibilityAttributes = { expanded: pressed, hasPopup: 'menu' };
10198
}
10299
});

packages/cypress-commands/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@
2323
"clean": "rimraf dist api-commands.json api-queries.json"
2424
},
2525
"peerDependencies": {
26-
"@ui5/webcomponents": "~2.8.0",
27-
"@ui5/webcomponents-base": "~2.8.0",
26+
"@ui5/webcomponents": "~2.9.0",
27+
"@ui5/webcomponents-base": "~2.9.0",
2828
"cypress": "^12 || ^13 || ^14"
2929
},
3030
"peerDependenciesMeta": {

0 commit comments

Comments
 (0)