Skip to content

Commit 01be0ae

Browse files
authored
Merge branch 'main' into header-banner-poc
2 parents fa0b62a + 442e893 commit 01be0ae

133 files changed

Lines changed: 2156 additions & 5245 deletions

File tree

Some content is hidden

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

.github/workflows/release.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -364,9 +364,6 @@ jobs:
364364
- name: Install Dependencies
365365
run: yarn --immutable
366366

367-
- name: Build
368-
run: yarn ci:releasebuild
369-
370367
- name: Version Bump
371368
env:
372369
GH_TOKEN: ${{ secrets.UI5_WEBCOMP_BOT_GH_TOKEN }}
@@ -380,6 +377,9 @@ jobs:
380377
--exact \
381378
--create-release github
382379
380+
- name: Build
381+
run: yarn ci:releasebuild
382+
383383
- name: Publish
384384
run: |
385385
yarn lerna publish from-git --yes --dist-tag "v1"

CHANGELOG.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,26 @@
33
All notable changes to this project will be documented in this file.
44
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
55

6+
# [2.22.0-rc.4](https://github.com/UI5/webcomponents/compare/v2.22.0-rc.3...v2.22.0-rc.4) (2026-05-07)
7+
8+
9+
### Bug Fixes
10+
11+
* **ui5-calendar:** next and previous header buttons are triggered by Space and Enter ([#13435](https://github.com/UI5/webcomponents/issues/13435)) ([f7468e1](https://github.com/UI5/webcomponents/commit/f7468e1e3d9082fcabfe03629f2cb795a45f736a))
12+
* **ui5-color-palette-item, ui5-segmented-button-item:** provide correct click event details ([#13458](https://github.com/UI5/webcomponents/issues/13458)) ([2286f10](https://github.com/UI5/webcomponents/commit/2286f1002a723d1a5a7fd2795ac52a4e7181ed92))
13+
* **ui5-timeline-header-bar:** remove unused property ([#13451](https://github.com/UI5/webcomponents/issues/13451)) ([18da0e5](https://github.com/UI5/webcomponents/commit/18da0e57c1c50bb75badb3a9cfb49e8faadd8842))
14+
* validate correctly protocol relative urls ([#13447](https://github.com/UI5/webcomponents/issues/13447)) ([c765630](https://github.com/UI5/webcomponents/commit/c7656304d7a3ad74c2c58d6937163262c4f40177))
15+
16+
17+
### Features
18+
19+
* **ui5-avatar-badge:** rename accessibleName to tooltip and simplify tooltip rendering ([#13442](https://github.com/UI5/webcomponents/issues/13442)) ([c8e0c4a](https://github.com/UI5/webcomponents/commit/c8e0c4adec21da1f7a8b107fa4e6fedcae1cd51e))
20+
* **ui5-toolbar:** introduce overflowButtonAccessibleName property ([#13416](https://github.com/UI5/webcomponents/issues/13416)) ([c597536](https://github.com/UI5/webcomponents/commit/c597536079dcd889703c9b4ef9168f3eda0827a2)), closes [#11968](https://github.com/UI5/webcomponents/issues/11968)
21+
22+
23+
24+
25+
626
# [2.22.0-rc.3](https://github.com/UI5/webcomponents/compare/v2.22.0-rc.2...v2.22.0-rc.3) (2026-04-30)
727

828

lerna.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"packages/create-package",
1515
"packages/compat"
1616
],
17-
"version": "2.22.0-rc.3",
17+
"version": "2.22.0-rc.4",
1818
"command": {
1919
"publish": {
2020
"allowBranch": "*",

packages/ai/CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,14 @@
33
All notable changes to this project will be documented in this file.
44
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
55

6+
# [2.22.0-rc.4](https://github.com/UI5/webcomponents/compare/v2.22.0-rc.3...v2.22.0-rc.4) (2026-05-07)
7+
8+
**Note:** Version bump only for package @ui5/webcomponents-ai
9+
10+
11+
12+
13+
614
# [2.22.0-rc.3](https://github.com/UI5/webcomponents/compare/v2.22.0-rc.2...v2.22.0-rc.3) (2026-04-30)
715

816
**Note:** Version bump only for package @ui5/webcomponents-ai

packages/ai/package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@ui5/webcomponents-ai",
3-
"version": "2.22.0-rc.3",
3+
"version": "2.22.0-rc.4",
44
"description": "UI5 Web Components: webcomponents.ai",
55
"ui5": {
66
"webComponentsPackage": true
@@ -48,15 +48,15 @@
4848
"directory": "packages/ai"
4949
},
5050
"dependencies": {
51-
"@ui5/webcomponents": "2.22.0-rc.3",
52-
"@ui5/webcomponents-base": "2.22.0-rc.3",
53-
"@ui5/webcomponents-icons": "2.22.0-rc.3",
54-
"@ui5/webcomponents-theming": "2.22.0-rc.3"
51+
"@ui5/webcomponents": "2.22.0-rc.4",
52+
"@ui5/webcomponents-base": "2.22.0-rc.4",
53+
"@ui5/webcomponents-icons": "2.22.0-rc.4",
54+
"@ui5/webcomponents-theming": "2.22.0-rc.4"
5555
},
5656
"devDependencies": {
5757
"@custom-elements-manifest/analyzer": "^0.10.10",
5858
"@ui5/cypress-internal": "0.1.0",
59-
"@ui5/webcomponents-tools": "2.22.0-rc.3",
59+
"@ui5/webcomponents-tools": "2.22.0-rc.4",
6060
"cypress": "15.9.0",
6161
"vite": "5.4.21"
6262
}

packages/base/CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,17 @@
33
All notable changes to this project will be documented in this file.
44
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
55

6+
# [2.22.0-rc.4](https://github.com/UI5/webcomponents/compare/v2.22.0-rc.3...v2.22.0-rc.4) (2026-05-07)
7+
8+
9+
### Bug Fixes
10+
11+
* validate correctly protocol relative urls ([#13447](https://github.com/UI5/webcomponents/issues/13447)) ([c765630](https://github.com/UI5/webcomponents/commit/c7656304d7a3ad74c2c58d6937163262c4f40177))
12+
13+
14+
15+
16+
617
# [2.22.0-rc.3](https://github.com/UI5/webcomponents/compare/v2.22.0-rc.2...v2.22.0-rc.3) (2026-04-30)
718

819
**Note:** Version bump only for package @ui5/webcomponents-base

packages/base/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@ui5/webcomponents-base",
3-
"version": "2.22.0-rc.3",
3+
"version": "2.22.0-rc.4",
44
"description": "UI5 Web Components: webcomponents.base",
55
"author": "SAP SE (https://www.sap.com)",
66
"license": "Apache-2.0",
@@ -66,7 +66,7 @@
6666
"@openui5/sap.ui.core": "1.146.0",
6767
"@sap-theming/theming-base-content": "11.35.0",
6868
"@ui5/cypress-internal": "0.1.0",
69-
"@ui5/webcomponents-tools": "2.22.0-rc.3",
69+
"@ui5/webcomponents-tools": "2.22.0-rc.4",
7070
"clean-css": "^5.2.2",
7171
"cypress": "15.9.0",
7272
"mocha": "^11.7.2",

packages/base/src/features/OpenUI5Support.ts

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ const OPENUI5_POLLING_INTERVAL = 100;
7777
class OpenUI5Support {
7878
static enablePolling = false; // set to true for old OpenUI5 versions
7979

80-
static isAtLeastVersion116() {
80+
static isAtLeastVersion(minor: number) {
8181
if (!window.sap.ui!.version) {
8282
return true; // sap.ui.version will be removed in newer OpenUI5 versions
8383
}
@@ -86,7 +86,7 @@ class OpenUI5Support {
8686
if (!parts || parts.length < 2) {
8787
return false;
8888
}
89-
return parseInt(parts[0]) > 1 || parseInt(parts[1]) >= 116;
89+
return parseInt(parts[0]) > 1 || parseInt(parts[1]) >= minor;
9090
}
9191

9292
static isOpenUI5Detected() {
@@ -128,7 +128,7 @@ class OpenUI5Support {
128128
window.sap.ui.require(["sap/ui/core/Core"], async (Core: OpenUI5Core) => {
129129
const callback = () => {
130130
let deps: Array<string> = ["sap/ui/core/Popup", "sap/m/Dialog", "sap/ui/core/Patcher", "sap/ui/core/LocaleData"];
131-
if (OpenUI5Support.isAtLeastVersion116()) { // for versions since 1.116.0 and onward, use the modular core
131+
if (OpenUI5Support.isAtLeastVersion(116)) { // for versions since 1.116.0 and onward, use the modular core
132132
deps = [
133133
...deps,
134134
"sap/base/i18n/Formatting",
@@ -144,7 +144,7 @@ class OpenUI5Support {
144144
resolve();
145145
});
146146
};
147-
if (OpenUI5Support.isAtLeastVersion116()) {
147+
if (OpenUI5Support.isAtLeastVersion(116)) {
148148
await Core.ready();
149149
callback();
150150
} else {
@@ -162,7 +162,7 @@ class OpenUI5Support {
162162
return {};
163163
}
164164

165-
if (OpenUI5Support.isAtLeastVersion116()) {
165+
if (OpenUI5Support.isAtLeastVersion(116)) {
166166
const ControlBehavior = window.sap.ui.require("sap/ui/core/ControlBehavior") as ControlBehavior;
167167
const Localization = window.sap.ui.require("sap/base/i18n/Localization") as Localization;
168168
const Theming = window.sap.ui.require("sap/ui/core/Theming") as Theming;
@@ -211,7 +211,7 @@ class OpenUI5Support {
211211

212212
const LocaleData = window.sap.ui.require("sap/ui/core/LocaleData") as LocaleData;
213213

214-
if (OpenUI5Support.isAtLeastVersion116()) {
214+
if (OpenUI5Support.isAtLeastVersion(116)) {
215215
const Localization = window.sap.ui.require("sap/base/i18n/Localization") as Localization;
216216
return LocaleData.getInstance(Localization.getLanguageTag())._get();
217217
}
@@ -222,7 +222,7 @@ class OpenUI5Support {
222222
}
223223

224224
static _listenForThemeChange() {
225-
if (OpenUI5Support.isAtLeastVersion116()) {
225+
if (OpenUI5Support.isAtLeastVersion(116)) {
226226
const Theming: Theming = window.sap.ui.require("sap/ui/core/Theming");
227227
Theming.attachApplied(() => {
228228
setTheme(Theming.getTheme());
@@ -256,7 +256,11 @@ class OpenUI5Support {
256256
}
257257

258258
// The file name is "css_variables.css" until 1.127 and "library.css" from 1.127 onwards
259-
return !!link.href.match(/\/css(-|_)variables\.css/) || !!link.href.match(/\/library\.css/);
259+
if (OpenUI5Support.isAtLeastVersion(127)) {
260+
return !!link.href.match(/\/css(-|_)variables\.css/) || !!link.href.match(/\/library\.css/);
261+
}
262+
263+
return !!link.href.match(/\/css(-|_)variables\.css/);
260264
}
261265

262266
static addOpenedPopup(popupInfo: PopupInfo) {

packages/compat/CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,14 @@
33
All notable changes to this project will be documented in this file.
44
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
55

6+
# [2.22.0-rc.4](https://github.com/UI5/webcomponents/compare/v2.22.0-rc.3...v2.22.0-rc.4) (2026-05-07)
7+
8+
**Note:** Version bump only for package @ui5/webcomponents-compat
9+
10+
11+
12+
13+
614
# [2.22.0-rc.3](https://github.com/UI5/webcomponents/compare/v2.22.0-rc.2...v2.22.0-rc.3) (2026-04-30)
715

816
**Note:** Version bump only for package @ui5/webcomponents-compat

packages/compat/package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@ui5/webcomponents-compat",
3-
"version": "2.22.0-rc.3",
3+
"version": "2.22.0-rc.4",
44
"description": "UI5 Web Components: webcomponents.compat",
55
"ui5": {
66
"webComponentsPackage": true
@@ -48,15 +48,15 @@
4848
"directory": "packages/compat"
4949
},
5050
"dependencies": {
51-
"@ui5/webcomponents": "2.22.0-rc.3",
52-
"@ui5/webcomponents-base": "2.22.0-rc.3",
53-
"@ui5/webcomponents-icons": "2.22.0-rc.3",
54-
"@ui5/webcomponents-theming": "2.22.0-rc.3"
51+
"@ui5/webcomponents": "2.22.0-rc.4",
52+
"@ui5/webcomponents-base": "2.22.0-rc.4",
53+
"@ui5/webcomponents-icons": "2.22.0-rc.4",
54+
"@ui5/webcomponents-theming": "2.22.0-rc.4"
5555
},
5656
"devDependencies": {
5757
"@custom-elements-manifest/analyzer": "^0.10.10",
5858
"@ui5/cypress-internal": "0.1.0",
59-
"@ui5/webcomponents-tools": "2.22.0-rc.3",
59+
"@ui5/webcomponents-tools": "2.22.0-rc.4",
6060
"cypress": "15.9.0",
6161
"vite": "5.4.21"
6262
}

0 commit comments

Comments
 (0)