@ui5/webcomponents-base 2.0.0-rc.1 → 2.0.0-rc.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +172 -0
- package/dist/.tsbuildinfo +1 -1
- package/dist/Boot.js +2 -3
- package/dist/Boot.js.map +1 -1
- package/dist/Keys.d.ts +2 -1
- package/dist/Keys.js +4 -1
- package/dist/Keys.js.map +1 -1
- package/dist/UI5Element.js +1 -0
- package/dist/UI5Element.js.map +1 -1
- package/dist/asset-registries/Icons.js +1 -1
- package/dist/asset-registries/Icons.js.map +1 -1
- package/dist/asset-registries/util/getIconCollectionByTheme.d.ts +3 -3
- package/dist/asset-registries/util/getIconCollectionByTheme.js +3 -3
- package/dist/asset-registries/util/getIconCollectionByTheme.js.map +1 -1
- package/dist/config/Theme.d.ts +3 -2
- package/dist/config/Theme.js +7 -3
- package/dist/config/Theme.js.map +1 -1
- package/dist/custom-elements-internal.json +180 -6
- package/dist/custom-elements.json +75 -0
- package/dist/features/OpenUI5Support.js +8 -2
- package/dist/features/OpenUI5Support.js.map +1 -1
- package/dist/features/patchPatcher.d.ts +11 -0
- package/dist/features/patchPatcher.js +11 -0
- package/dist/features/patchPatcher.js.map +1 -0
- package/dist/features/patchPopup.d.ts +14 -0
- package/dist/features/patchPopup.js +50 -0
- package/dist/features/patchPopup.js.map +1 -0
- package/dist/generated/AssetParameters.js +1 -1
- package/dist/generated/AssetParameters.js.map +1 -1
- package/dist/generated/VersionInfo.js +3 -3
- package/dist/generated/VersionInfo.js.map +1 -1
- package/dist/ssr-dom.js +0 -3
- package/dist/types/AriaHasPopup.d.ts +32 -0
- package/dist/types/AriaHasPopup.js +34 -0
- package/dist/types/AriaHasPopup.js.map +1 -0
- package/dist/types/AriaLandmarkRole.d.ts +79 -0
- package/dist/types/AriaLandmarkRole.js +81 -0
- package/dist/types/AriaLandmarkRole.js.map +1 -0
- package/dist/types/AriaRole.d.ts +27 -0
- package/dist/types/AriaRole.js +29 -0
- package/dist/types/AriaRole.js.map +1 -0
- package/dist/types/ValueState.d.ts +3 -3
- package/dist/types/ValueState.js +3 -3
- package/dist/types/ValueState.js.map +1 -1
- package/dist/types.d.ts +15 -2
- package/dist/types.js.map +1 -1
- package/dist/util/clamp.js +2 -1
- package/dist/util/clamp.js.map +1 -1
- package/package-scripts.cjs +3 -1
- package/package.json +6 -5
- package/tsconfig.json +2 -2
- package/.eslintignore +0 -17
- package/.eslintrc.cjs +0 -3
- package/bundle.esm.js +0 -65
- package/dist/ssr-dom.js.map +0 -1
- package/lib/generate-asset-parameters/index.js +0 -27
- package/lib/generate-styles/index.js +0 -31
- package/lib/generate-version-info/index.js +0 -32
- package/used-modules.txt +0 -14
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,178 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [2.0.0-rc.3](https://github.com/SAP/ui5-webcomponents/compare/v2.0.0-rc.2...v2.0.0-rc.3) (2024-05-10)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### chore
|
|
10
|
+
|
|
11
|
+
* **Icons:** make pathData async ([#8785](https://github.com/SAP/ui5-webcomponents/issues/8785)) ([0549dc9](https://github.com/SAP/ui5-webcomponents/commit/0549dc95edae139f7a4f9efbbc7170922b3ab6cb))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
### Code Refactoring
|
|
15
|
+
|
|
16
|
+
* rename ValueState values ([#8864](https://github.com/SAP/ui5-webcomponents/issues/8864)) ([ef9304d](https://github.com/SAP/ui5-webcomponents/commit/ef9304da4b1446178b1b2bfa737d9867461cc4bc))
|
|
17
|
+
* **theming:** remove Belize theme ([#8519](https://github.com/SAP/ui5-webcomponents/issues/8519)) ([990313f](https://github.com/SAP/ui5-webcomponents/commit/990313fc8e429a491f4d6e67306d3df2703e54fe)), closes [#8461](https://github.com/SAP/ui5-webcomponents/issues/8461)
|
|
18
|
+
* **ui5-*:** use unified API to define a11y attributes via `accessibilityAttributes` ([#8810](https://github.com/SAP/ui5-webcomponents/issues/8810)) ([49d587c](https://github.com/SAP/ui5-webcomponents/commit/49d587c73120a5511a34e61be949018605f49acd))
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
### BREAKING CHANGES
|
|
22
|
+
|
|
23
|
+
* **ui5-*:** FlexibleLayout's `accessibilityTexts` and `accessibilityRoles` properties are removed. If you have previously used the `accessibilityTexts` or `accessibilityRoles` properties:
|
|
24
|
+
```js
|
|
25
|
+
fcl.accessibilityTexts = {
|
|
26
|
+
startColumnAccessibleName: "Products list",
|
|
27
|
+
midColumnAccessibleName: "Product information",
|
|
28
|
+
endColumnAccessibleName: "Product detailed information",
|
|
29
|
+
startArrowLeftText: "Collapse products list",
|
|
30
|
+
startArrowRightText: "Expand products list",
|
|
31
|
+
endArrowLeftText: "Expand product detailed information",
|
|
32
|
+
endArrowRightText: "Collapse product detailed information",
|
|
33
|
+
startArrowContainerAccessibleName: "Start Arrow Container",
|
|
34
|
+
endArrowContainerAccessibleName: "End Arrow Container",
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
fcl.accessibilityRoles = {
|
|
38
|
+
startColumnRole: "complementary",
|
|
39
|
+
startArrowContainerRole: "navigation",
|
|
40
|
+
midColumnRole: "main",
|
|
41
|
+
endArrowContainerRole: "navigation",
|
|
42
|
+
endColumnRole: "complementary".
|
|
43
|
+
}
|
|
44
|
+
```
|
|
45
|
+
Now use `accessibilityAttributes` instead:
|
|
46
|
+
```js
|
|
47
|
+
fcl.accessibilityAttributes = {
|
|
48
|
+
startColumn: {
|
|
49
|
+
role: "complementary",
|
|
50
|
+
name: "Products list",
|
|
51
|
+
},
|
|
52
|
+
midColumn: {
|
|
53
|
+
role: "main",
|
|
54
|
+
name: "Product information",
|
|
55
|
+
},
|
|
56
|
+
endColumn: {
|
|
57
|
+
role: "complementary",
|
|
58
|
+
name: "Product detailed information",
|
|
59
|
+
},
|
|
60
|
+
startArrowLeft: {
|
|
61
|
+
name: "Collapse products list",
|
|
62
|
+
},
|
|
63
|
+
startArrowRight: {
|
|
64
|
+
name: "Expand products list",
|
|
65
|
+
},
|
|
66
|
+
endArrowLeft: {
|
|
67
|
+
name: "Expand product detailed information",
|
|
68
|
+
},
|
|
69
|
+
endArrowRight: {
|
|
70
|
+
name: "Collapse product detailed information",
|
|
71
|
+
},
|
|
72
|
+
startArrowContainer: {
|
|
73
|
+
role: "navigation",
|
|
74
|
+
name: "Start Arrow Container",
|
|
75
|
+
},
|
|
76
|
+
endArrowContainer: {
|
|
77
|
+
role: "navigation",
|
|
78
|
+
name: "End Arrow Container",
|
|
79
|
+
},
|
|
80
|
+
};
|
|
81
|
+
```
|
|
82
|
+
|
|
83
|
+
ShellBar's `accessibilityTexts` and `accessibilityRoles` properties are removed. If you have previously used the `accessibilityTexts` or `accessibilityRoles` properties:
|
|
84
|
+
```js
|
|
85
|
+
shellbar.accessibilityTexts = {
|
|
86
|
+
profileButtonTitle: "John Dow",
|
|
87
|
+
logoTitle: "Custom logo title",
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
shellbar.accessibilityRoles = {
|
|
91
|
+
logoRole: "link"
|
|
92
|
+
};
|
|
93
|
+
```
|
|
94
|
+
Now use `accessibilityAttributes` instead:
|
|
95
|
+
```js
|
|
96
|
+
shellbar.accessibilityAttributes = {
|
|
97
|
+
profile: {
|
|
98
|
+
name: "John Dow",
|
|
99
|
+
},
|
|
100
|
+
logo: {
|
|
101
|
+
role: "link"
|
|
102
|
+
name: "Custom logo title"
|
|
103
|
+
},
|
|
104
|
+
};
|
|
105
|
+
```
|
|
106
|
+
|
|
107
|
+
Related to: https://github.com/SAP/ui5-webcomponents/issues/8461
|
|
108
|
+
|
|
109
|
+
|
|
110
|
+
* If you previously used ValueState.Warning, ValueState.Error or ValueState.Success, start using ValueState.Critical, ValueState.Negative and ValueState.Positive respectively.
|
|
111
|
+
All components with valueState property are also affected. For example:
|
|
112
|
+
```html
|
|
113
|
+
<ui5-input value-state="Success"></ui5-input>
|
|
114
|
+
<ui5-input value-state="Warning"></ui5-input>
|
|
115
|
+
<ui5-input value-state="Error"></ui5-input>
|
|
116
|
+
```
|
|
117
|
+
```html
|
|
118
|
+
<ui5-input value-state="Positive"></ui5-input>
|
|
119
|
+
<ui5-input value-state="Critical"></ui5-input>
|
|
120
|
+
<ui5-input value-state="Negative"></ui5-input>
|
|
121
|
+
```
|
|
122
|
+
|
|
123
|
+
Related to: https://github.com/SAP/ui5-webcomponents/issues/8461
|
|
124
|
+
* **theming:** Remove SAP Belize theme
|
|
125
|
+
* **Icons:** UI5 Web Components Icons now export `getPathData` (function) instead of `pathData` (string)
|
|
126
|
+
|
|
127
|
+
If you used icons like this:
|
|
128
|
+
|
|
129
|
+
```js
|
|
130
|
+
import "@ui5/webcomponents-icons/dist/accept.js";
|
|
131
|
+
```
|
|
132
|
+
|
|
133
|
+
or like this:
|
|
134
|
+
|
|
135
|
+
```js
|
|
136
|
+
import accept from "@ui5/webcomponents-icons/dist/accept.js";
|
|
137
|
+
```
|
|
138
|
+
|
|
139
|
+
**there is no change and no adaptations are required**.
|
|
140
|
+
|
|
141
|
+
In the rare case you imported `pathData` from icons, for example:
|
|
142
|
+
|
|
143
|
+
```js
|
|
144
|
+
import { pathData, ltr, accData } from "@ui5/webcomponents-icons/dist/accept.js";
|
|
145
|
+
console.log(pathData); // String containing the SVG path
|
|
146
|
+
```
|
|
147
|
+
|
|
148
|
+
you must change your code to, for example:
|
|
149
|
+
|
|
150
|
+
```js
|
|
151
|
+
import { getPathData, ltr, accData } from "@ui5/webcomponents-icons/dist/accept.js";
|
|
152
|
+
getPathData().then(pathData => {
|
|
153
|
+
console.log(pathData); // String containing the SVG path
|
|
154
|
+
});
|
|
155
|
+
```
|
|
156
|
+
|
|
157
|
+
|
|
158
|
+
|
|
159
|
+
|
|
160
|
+
|
|
161
|
+
# [2.0.0-rc.2](https://github.com/SAP/ui5-webcomponents/compare/v2.0.0-rc.1...v2.0.0-rc.2) (2024-04-18)
|
|
162
|
+
|
|
163
|
+
|
|
164
|
+
### Bug Fixes
|
|
165
|
+
|
|
166
|
+
* **u5-dialog:** soft keyboard is correctly opened on iOS devices ([#8583](https://github.com/SAP/ui5-webcomponents/issues/8583)) ([6cf1d74](https://github.com/SAP/ui5-webcomponents/commit/6cf1d746e59352430d0d086cf0814dc7ce7fdb9c))
|
|
167
|
+
* **ui5-popover:** fix popover going out of the viewport ([#8735](https://github.com/SAP/ui5-webcomponents/issues/8735)) ([bca8f2a](https://github.com/SAP/ui5-webcomponents/commit/bca8f2a3ff15d002ce778bf85e1d2dd8da789059))
|
|
168
|
+
|
|
169
|
+
|
|
170
|
+
### Features
|
|
171
|
+
|
|
172
|
+
* **ui5-li:** add support for F2 key ([#8619](https://github.com/SAP/ui5-webcomponents/issues/8619)) ([24c3807](https://github.com/SAP/ui5-webcomponents/commit/24c380758f88b3f66dce46e2f57297634b42a85a)), closes [#7736](https://github.com/SAP/ui5-webcomponents/issues/7736)
|
|
173
|
+
|
|
174
|
+
|
|
175
|
+
|
|
176
|
+
|
|
177
|
+
|
|
6
178
|
# [2.0.0-rc.1](https://github.com/SAP/ui5-webcomponents/compare/v2.0.0-rc.0...v2.0.0-rc.1) (2024-04-11)
|
|
7
179
|
|
|
8
180
|
|