Skip to content

Commit 682f457

Browse files
committed
Merge remote-tracking branch 'origin/main' into fix/shellbar-search-first-item-focus
2 parents e93ab67 + 89c6332 commit 682f457

File tree

361 files changed

+15194
-9758
lines changed

Some content is hidden

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

361 files changed

+15194
-9758
lines changed

CHANGELOG.md

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,44 @@
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.14.0-rc.0](https://github.com/SAP/ui5-webcomponents/compare/v2.13.0...v2.14.0-rc.0) (2025-08-07)
7+
8+
9+
### Bug Fixes
10+
11+
* **framework:** copy "base" pkg i18n assets to `dist/prod` ([#12072](https://github.com/SAP/ui5-webcomponents/issues/12072)) ([7460a76](https://github.com/SAP/ui5-webcomponents/commit/7460a76a803dc12ce92574472084a0c202d984a3))
12+
* **framework:** sap-ui-themeRoot block all origins by defaultTheme root disallow default ([#12035](https://github.com/SAP/ui5-webcomponents/issues/12035)) ([8fa82da](https://github.com/SAP/ui5-webcomponents/commit/8fa82da97756e1eb146cabadd75065a1ba2695f5))
13+
* **ui5-search:** visual issues ([#12061](https://github.com/SAP/ui5-webcomponents/issues/12061)) ([6aab670](https://github.com/SAP/ui5-webcomponents/commit/6aab670027a9ea08b01f42b2a8467499966990d2)), closes [#11982](https://github.com/SAP/ui5-webcomponents/issues/11982) [#11964](https://github.com/SAP/ui5-webcomponents/issues/11964) [#11981](https://github.com/SAP/ui5-webcomponents/issues/11981) [#11999](https://github.com/SAP/ui5-webcomponents/issues/11999) [#12042](https://github.com/SAP/ui5-webcomponents/issues/12042) [#11955](https://github.com/SAP/ui5-webcomponents/issues/11955)
14+
* **ui5-shellbar:** separator height is fixed ([#12056](https://github.com/SAP/ui5-webcomponents/issues/12056)) ([0995652](https://github.com/SAP/ui5-webcomponents/commit/0995652783f2abd8afad99610213866d2881b261))
15+
16+
17+
### Features
18+
19+
* **ui5-date-picker:** add valueFormat and displayFormat ([#11751](https://github.com/SAP/ui5-webcomponents/issues/11751)) ([2acdbcc](https://github.com/SAP/ui5-webcomponents/commit/2acdbcc4f6e59b01987c7a9456d455bccecf3a8e)), closes [#1957](https://github.com/SAP/ui5-webcomponents/issues/1957)
20+
21+
22+
23+
24+
25+
# [2.13.0](https://github.com/SAP/ui5-webcomponents/compare/v2.13.0-rc.3...v2.13.0) (2025-08-04)
26+
27+
28+
### Bug Fixes
29+
30+
* **ui5-color-picker:** ensure RGB and HSL values are within limits ([#11915](https://github.com/SAP/ui5-webcomponents/issues/11915)) ([0cee9f7](https://github.com/SAP/ui5-webcomponents/commit/0cee9f71d154dcc699b45d9a5755d7fc17644785))
31+
32+
33+
### Features
34+
35+
* **ui5-icon:** display custom SVG, defined as JSX template ([#11966](https://github.com/SAP/ui5-webcomponents/issues/11966)) ([1e7e2a6](https://github.com/SAP/ui5-webcomponents/commit/1e7e2a6a155bb36e0cd50ebea6ac6e30e47f8da6))
36+
* **ui5-input:** align value state message to spec ([#12017](https://github.com/SAP/ui5-webcomponents/issues/12017)) ([793038b](https://github.com/SAP/ui5-webcomponents/commit/793038b16b8f9a2de06325602e41b316c6267ab0))
37+
* **ui5-li-group:** introduced wrappingType prop ([#12022](https://github.com/SAP/ui5-webcomponents/issues/12022)) ([4c1a506](https://github.com/SAP/ui5-webcomponents/commit/4c1a50661fdc349682ff4c8fc1bb28d9eb43f5b2))
38+
* **ui5-popover:** support setting "null" for opener ([#11995](https://github.com/SAP/ui5-webcomponents/issues/11995)) ([7d012aa](https://github.com/SAP/ui5-webcomponents/commit/7d012aa5667143f4bbdbb9310771dc296de12cbe))
39+
40+
41+
42+
43+
644
# [2.13.0-rc.3](https://github.com/SAP/ui5-webcomponents/compare/v2.13.0-rc.2...v2.13.0-rc.3) (2025-07-31)
745

846

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,12 @@
2424
## More Resources
2525
- [UI5 Web Components Home Page](https://sap.github.io/ui5-webcomponents)
2626
- [Configuring UI5 Web Components](./docs/2-advanced/01-configuration.md)
27-
- [Customizing with `UI Theme Designer`](./docs/3-customizing/12-theming.md)
27+
- [Customizing with `UI Theme Designer`](./docs/2-advanced/12-theming.md)
2828
- [Creating a Custom UI5 Web Components Package](docs/4-development/01-package.md)
2929
- [Developing Custom UI5 Web Components](docs/4-development/02-component.md)
3030
- [Micro-Frontends and Custom Elements Scoping](./docs/2-advanced/06-scoping.md)
31-
- [Release Management](./docs/Release%20Management.md)
32-
- [F.A.Q.](./docs/FAQ.md)
31+
- [Release Management](./docs/08-Releases.md)
32+
- [F.A.Q.](./docs/09-FAQ.md)
3333

3434
## Related Projects
3535

@@ -85,7 +85,7 @@ Moreover, all Angular-specific features, such as two-way data binding and Angula
8585
<ui5-button>Hello world!</ui5-button>
8686
```
8787

88-
For more information, see [Importing UI5 Web Components](./docs/1-getting-started/02-importing-components.md) and [Understanding UI5 Web Components APIs](./docs/1-getting-started/03-understanding-components-APIs.md).
88+
For more information, see [Importing UI5 Web Components](https://sap.github.io/ui5-webcomponents/docs/getting-started/components-packages/) and [Understanding UI5 Web Components APIs](https://sap.github.io/ui5-webcomponents/docs/getting-started/components-APIs/).
8989

9090
## Typescript Support
9191
TypeScript Support is enabled for both component development and component consumption.

docs/2-advanced/01-configuration.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -270,6 +270,8 @@ Example:
270270
### themeRoot
271271
<a name="themeRoot"></a>
272272

273+
**Deprecated:** Please use the `theme` setting to pass both the theme and theme root, in the `theme@themeRoot` format instead
274+
273275
Allows you to set a URL, from which the framework will fetch the theme styles (CSS variables).
274276

275277
*Note:* This configuration setting is only applicable to custom themes, created with SAP Theme Designer.
@@ -283,6 +285,25 @@ Example:
283285
</script>
284286
```
285287

288+
or, the preferred new format:
289+
290+
```html
291+
<script data-ui5-config type="application/json">
292+
{
293+
"theme": "sap_horizon@https://my-example-host.com/"
294+
}
295+
</script>
296+
```
297+
298+
*Important:* You must explicitly allow specific origins for this configuration setting to work:
299+
300+
```html
301+
<head>
302+
<meta name="sap-allowed-theme-origins" content="https://my-example-host.com/,https://my-example-host2.com/">
303+
```
304+
305+
Failing to do so will result in a warning in the console and the theme root will not be set.
306+
286307
## Configuration Script
287308
<a name="script"></a>
288309

docs/2-advanced/11-styles.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ You can try this yourself using the Input [sample](https://sap.github.io/ui5-web
2121

2222
Unfortunately, this can't be done for all components because it depends on the complexity of the DOM structure.
2323

24+
**Note:** It’s strongly recommended to apply styles directly at the tag level for basic sizing properties (e.g., margin, padding, width, height) to avoid design inconsistencies across the page. For other style changes, consider using the **UI Theme Designer** to ensure consistency. For details, see the [UI Theme Designer](./12-theming.md) article.
2425

2526
## Usage of CSS Shadow Parts
2627

@@ -31,7 +32,7 @@ For more complex components, the styling on the tag level is not possible, there
3132
```html
3233
<ui5-card>
3334
<ui5-card-header
34-
title-text="Quick Links"
35+
title-text="Quick Links"
3536
status="4 of 10"
3637
slot="header">
3738
</ui5-card-header>
@@ -46,7 +47,6 @@ ui5-card-header::part(status) {
4647

4748
<b>Note:</b> All available shadow parts are described in the API reference as part of the "Overview" section of each component.
4849

49-
5050
## Changing CSS Variables
5151

5252
The UI5 WebComponents leverage CSS variables, so if you inspect the elements inside the Shadow DOM, you will probably find which variable you need to change. Check the list of all [Global CSS Variables](https://github.com/SAP/theming-base-content/blob/master/content/Base/baseLib/sap_horizon/css_variables.css) that we use in the component. Altering them will change the component appearance.
@@ -63,6 +63,7 @@ ui5-button {
6363
}
6464
```
6565

66+
**Note:** Whenever possible, override CSS variables through the **UI Theme Designer**. This ensures consistent updates across all components where the variable is used, helping maintain a cohesive design. For details, see the [UI Theme Designer](./12-theming.md) article.
6667

6768
## Custom Theme Schema
6869

docs/2-advanced/12-theming.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,13 +102,13 @@ index.html?sap-ui-theme=mytheme@https://my-example-host.com/
102102

103103
In this example, "mytheme" theme will be applied and its resources (CSS variables specific to the theme) will be loaded from https://my-example-host.com/UI5/Base/baseLib/mytheme/css_variables.css.
104104

105-
**Note:** Certain security restrictions will apply before loading the custom theme. Absolute URLs to a different origin than the current page will return the current page as an origin. To allow certain origins, you have to use `<meta name="sap-allowedThemeOrigins" content="https://my-example-host.com/">` tag inside the head of the page.
105+
**Note:** Certain security restrictions will apply before loading the custom theme. Absolute URLs to a different origin than the current page will return the current page as an origin. To allow certain origins, you have to use `<meta name="sap-allowed-theme-origins" content="https://my-example-host.com/">` tag inside the head of the page.
106106

107107
### Using JS API
108108

109109
To load a custom theme via URL, you can also use the available `setThemeRoot` method. The specified theme root will be applied to the currently set theme.
110110

111-
**Note:** Certain security restrictions will apply before loading the custom theme. Absolute URLs to a different origin than the current page will return the current page as an origin. To allow certain origins, you have to use `<meta name="sap-allowedThemeOrigins" content="https://my-example-host.com/">` tag inside the head of the page.
111+
**Note:** Certain security restrictions will apply before loading the custom theme. Absolute URLs to a different origin than the current page will return the current page as an origin. To allow certain origins, you have to use `<meta name="sap-allowed-theme-origins" content="https://my-example-host.com/">` tag inside the head of the page.
112112

113113
```js
114114
import { setThemeRoot } from "@ui5/webcomponents-base/dist/config/ThemeRoot.js";

docs/3-frameworks/01-React.md

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,31 @@ For boolean properties like ```collapsed``` in ```ui5-panel```, instead of sett
7777
</ui5-panel>
7878
```
7979
80+
### Using UI5 Web Components in TSX
81+
82+
When using UI5 Web Components like `<ui5-input>` in a `.tsx` file, you may encounter the following TypeScript error:
83+
84+
```ts
85+
Property 'ui5-input' does not exist on type 'JSX.IntrinsicElements'. ts(2339)
86+
```
87+
88+
This happens because **TypeScript’s `JSX.IntrinsicElements` only includes standard HTML tags by default** (`<div>`, `<span>`, etc.).
89+
Custom elements, such as those from UI5, are not recognized unless you explicitly declare them.
90+
91+
To make TypeScript aware of your UI5 Web Components, you need to **extend the `JSX.IntrinsicElements` interface** with the custom tags you plan to use.
92+
93+
```ts
94+
declare namespace JSX {
95+
interface IntrinsicElements {
96+
'ui5-input': any; // Replace `any` with a proper type
97+
// Add more UI5 web components here...
98+
}
99+
}
100+
```
101+
102+
Please refer to the [UI5 Web Components React sample](https://github.com/SAP-samples/ui5-webcomponents-sample-react/) for a complete example of using web components in React.
103+
104+
80105
### UI5 Web Components for React
81106
82-
As mentioned above, for a better development experience (and to elegantly work around these 2 React limitations), check out UI5 Web Components for React, [UI5 Web Components for React](https://github.com/SAP/ui5-webcomponents-react) and [this tutorial](https://developers.sap.com/mission.react-spa.html).
107+
As mentioned above, for a better development experience (and to elegantly work around these 3 React limitations), check out UI5 Web Components for React, [UI5 Web Components for React](https://github.com/SAP/ui5-webcomponents-react) and [this tutorial](https://developers.sap.com/mission.react-spa.html).

docs/4-development/01-package.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,13 @@ The initialization script will create several NPM scripts for you in `package.js
9191
| test | Run the dev server and execute the specs from the `test/specs/` directory. |
9292
| create-ui5-element | Create an empty Web Component with the given name. |
9393

94+
95+
**Note**: The `create-ui5-element` command supports two optional environment variables that customize the output when used in a specific component package:
96+
97+
* **UI5_TAG_NAME_PREFIX** - sets the tag name prefix for the generated Web Component. The resulting tag will follow the format: `{UI5_TAG_NAME_PREFIX}-component-name`. Defaults to `my` if not specified.
98+
99+
* **UI5_TEMPLATE_FILENAME_SUFFIX** - sets the suffix for the generated template filename. The resulting filename will follow the format: `ComponentName{UI5_TEMPLATE_FILENAME_SUFFIX}.tsx`. Defaults to `Template` if not specified.
100+
94101
### Files in the main directory
95102

96103
The initialization script will create several files in your package's main directory.

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.13.0-rc.3",
17+
"version": "2.14.0-rc.0",
1818
"command": {
1919
"publish": {
2020
"allowBranch": "*",

packages/ai/CHANGELOG.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,22 @@
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.14.0-rc.0](https://github.com/SAP/ui5-webcomponents/compare/v2.13.0...v2.14.0-rc.0) (2025-08-07)
7+
8+
**Note:** Version bump only for package @ui5/webcomponents-ai
9+
10+
11+
12+
13+
14+
# [2.13.0](https://github.com/SAP/ui5-webcomponents/compare/v2.13.0-rc.3...v2.13.0) (2025-08-04)
15+
16+
**Note:** Version bump only for package @ui5/webcomponents-ai
17+
18+
19+
20+
21+
622
# [2.13.0-rc.3](https://github.com/SAP/ui5-webcomponents/compare/v2.13.0-rc.2...v2.13.0-rc.3) (2025-07-31)
723

824

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.13.0-rc.3",
3+
"version": "2.14.0-rc.0",
44
"description": "UI5 Web Components: webcomponents.ai",
55
"ui5": {
66
"webComponentsPackage": true
@@ -48,14 +48,14 @@
4848
"directory": "packages/ai"
4949
},
5050
"dependencies": {
51-
"@ui5/webcomponents": "2.13.0-rc.3",
52-
"@ui5/webcomponents-base": "2.13.0-rc.3",
53-
"@ui5/webcomponents-icons": "2.13.0-rc.3",
54-
"@ui5/webcomponents-theming": "2.13.0-rc.3"
51+
"@ui5/webcomponents": "2.14.0-rc.0",
52+
"@ui5/webcomponents-base": "2.14.0-rc.0",
53+
"@ui5/webcomponents-icons": "2.14.0-rc.0",
54+
"@ui5/webcomponents-theming": "2.14.0-rc.0"
5555
},
5656
"devDependencies": {
5757
"@ui5/cypress-internal": "0.0.0",
58-
"@ui5/webcomponents-tools": "2.13.0-rc.3",
58+
"@ui5/webcomponents-tools": "2.14.0-rc.0",
5959
"chromedriver": "^137.0.4"
6060
}
6161
}

0 commit comments

Comments
 (0)