@ui5/webcomponents-theming 0.0.0-7c7170d4a → 0.0.0-7d8c57f70

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.
Files changed (27) hide show
  1. package/CHANGELOG.md +11 -258
  2. package/dist/.tsbuildinfo +1 -1
  3. package/dist/Assets-static.d.ts +1 -0
  4. package/dist/Assets-static.js +3 -0
  5. package/dist/Assets-static.js.map +1 -0
  6. package/dist/css/themes/sap_belize/parameters-bundle.css +1 -0
  7. package/dist/css/themes/sap_belize_hcb/parameters-bundle.css +1 -0
  8. package/dist/css/themes/sap_belize_hcw/parameters-bundle.css +1 -0
  9. package/dist/generated/assets/themes/sap_belize/parameters-bundle.css.json +1 -0
  10. package/dist/generated/assets/themes/sap_belize_hcb/parameters-bundle.css.json +1 -0
  11. package/dist/generated/assets/themes/sap_belize_hcw/parameters-bundle.css.json +1 -0
  12. package/dist/generated/json-imports/Themes-static.d.ts +1 -0
  13. package/dist/generated/json-imports/Themes-static.js +45 -0
  14. package/dist/generated/json-imports/Themes-static.js.map +1 -0
  15. package/dist/generated/json-imports/Themes.js +5 -2
  16. package/dist/generated/json-imports/Themes.js.map +1 -1
  17. package/dist/generated/themes/sap_belize/parameters-bundle.css.d.ts +3 -0
  18. package/dist/generated/themes/sap_belize/parameters-bundle.css.js +4 -0
  19. package/dist/generated/themes/sap_belize/parameters-bundle.css.js.map +1 -0
  20. package/dist/generated/themes/sap_belize_hcb/parameters-bundle.css.d.ts +3 -0
  21. package/dist/generated/themes/sap_belize_hcb/parameters-bundle.css.js +4 -0
  22. package/dist/generated/themes/sap_belize_hcb/parameters-bundle.css.js.map +1 -0
  23. package/dist/generated/themes/sap_belize_hcw/parameters-bundle.css.d.ts +3 -0
  24. package/dist/generated/themes/sap_belize_hcw/parameters-bundle.css.js +4 -0
  25. package/dist/generated/themes/sap_belize_hcw/parameters-bundle.css.js.map +1 -0
  26. package/lib/generate-css-vars-usage-report/index.js +36 -0
  27. package/package.json +3 -3
package/CHANGELOG.md CHANGED
@@ -3,23 +3,23 @@
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)
6
+ ## [1.24.7](https://github.com/SAP/ui5-webcomponents/compare/v1.24.6...v1.24.7) (2024-07-08)
7
+
8
+ **Note:** Version bump only for package @ui5/webcomponents-theming
7
9
 
8
10
 
9
- ### Code Refactoring
10
11
 
11
- * **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)
12
12
 
13
13
 
14
- ### BREAKING CHANGES
14
+ ## [1.24.6](https://github.com/SAP/ui5-webcomponents/compare/v1.24.5...v1.24.6) (2024-07-01)
15
15
 
16
- * **theming:** Remove SAP Belize theme
16
+ **Note:** Version bump only for package @ui5/webcomponents-theming
17
17
 
18
18
 
19
19
 
20
20
 
21
21
 
22
- # [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)
22
+ ## [1.24.5](https://github.com/SAP/ui5-webcomponents/compare/v1.24.4...v1.24.5) (2024-06-18)
23
23
 
24
24
  **Note:** Version bump only for package @ui5/webcomponents-theming
25
25
 
@@ -27,7 +27,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
27
27
 
28
28
 
29
29
 
30
- # [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)
30
+ ## [1.24.4](https://github.com/SAP/ui5-webcomponents/compare/v1.24.3...v1.24.4) (2024-05-31)
31
31
 
32
32
  **Note:** Version bump only for package @ui5/webcomponents-theming
33
33
 
@@ -35,264 +35,17 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
35
35
 
36
36
 
37
37
 
38
- # [2.0.0-rc.0](https://github.com/SAP/ui5-webcomponents/compare/v1.24.0...v2.0.0-rc.0) (2024-04-09)
38
+ ## [1.24.3](https://github.com/SAP/ui5-webcomponents/compare/v1.24.2...v1.24.3) (2024-05-14)
39
39
 
40
+ **Note:** Version bump only for package @ui5/webcomponents-theming
40
41
 
41
- ### chore
42
42
 
43
- * bring release-2.0 to main ([#8651](https://github.com/SAP/ui5-webcomponents/issues/8651)) ([69271c9](https://github.com/SAP/ui5-webcomponents/commit/69271c9468c7dd54f90710fc4613ae0a79f85cef)), closes [#8494](https://github.com/SAP/ui5-webcomponents/issues/8494) [#8496](https://github.com/SAP/ui5-webcomponents/issues/8496) [#8461](https://github.com/SAP/ui5-webcomponents/issues/8461) [#8497](https://github.com/SAP/ui5-webcomponents/issues/8497) [#8461](https://github.com/SAP/ui5-webcomponents/issues/8461) [#8504](https://github.com/SAP/ui5-webcomponents/issues/8504) [#8509](https://github.com/SAP/ui5-webcomponents/issues/8509) [#8507](https://github.com/SAP/ui5-webcomponents/issues/8507) [#8511](https://github.com/SAP/ui5-webcomponents/issues/8511) [#8501](https://github.com/SAP/ui5-webcomponents/issues/8501) [#8461](https://github.com/SAP/ui5-webcomponents/issues/8461) [#8503](https://github.com/SAP/ui5-webcomponents/issues/8503) [#8461](https://github.com/SAP/ui5-webcomponents/issues/8461) [#8506](https://github.com/SAP/ui5-webcomponents/issues/8506) [#8502](https://github.com/SAP/ui5-webcomponents/issues/8502) [#8524](https://github.com/SAP/ui5-webcomponents/issues/8524) [#8461](https://github.com/SAP/ui5-webcomponents/issues/8461) [#8525](https://github.com/SAP/ui5-webcomponents/issues/8525) [#8461](https://github.com/SAP/ui5-webcomponents/issues/8461) [#8518](https://github.com/SAP/ui5-webcomponents/issues/8518) [#8461](https://github.com/SAP/ui5-webcomponents/issues/8461) [#8526](https://github.com/SAP/ui5-webcomponents/issues/8526) [#8529](https://github.com/SAP/ui5-webcomponents/issues/8529) [#8528](https://github.com/SAP/ui5-webcomponents/issues/8528) [#8531](https://github.com/SAP/ui5-webcomponents/issues/8531) [#8532](https://github.com/SAP/ui5-webcomponents/issues/8532) [#8534](https://github.com/SAP/ui5-webcomponents/issues/8534) [#8163](https://github.com/SAP/ui5-webcomponents/issues/8163) [#8527](https://github.com/SAP/ui5-webcomponents/issues/8527) [#8538](https://github.com/SAP/ui5-webcomponents/issues/8538) [#8521](https://github.com/SAP/ui5-webcomponents/issues/8521) [#8461](https://github.com/SAP/ui5-webcomponents/issues/8461) [#8542](https://github.com/SAP/ui5-webcomponents/issues/8542) [#8461](https://github.com/SAP/ui5-webcomponents/issues/8461) [#8548](https://github.com/SAP/ui5-webcomponents/issues/8548) [#8555](https://github.com/SAP/ui5-webcomponents/issues/8555) [#8559](https://github.com/SAP/ui5-webcomponents/issues/8559) [#8565](https://github.com/SAP/ui5-webcomponents/issues/8565) [#8570](https://github.com/SAP/ui5-webcomponents/issues/8570) [#8558](https://github.com/SAP/ui5-webcomponents/issues/8558) [#8568](https://github.com/SAP/ui5-webcomponents/issues/8568) [#8596](https://github.com/SAP/ui5-webcomponents/issues/8596) [#8192](https://github.com/SAP/ui5-webcomponents/issues/8192) [#8606](https://github.com/SAP/ui5-webcomponents/issues/8606) [#8605](https://github.com/SAP/ui5-webcomponents/issues/8605) [#8600](https://github.com/SAP/ui5-webcomponents/issues/8600) [#8602](https://github.com/SAP/ui5-webcomponents/issues/8602) [#8593](https://github.com/SAP/ui5-webcomponents/issues/8593)
44
43
 
45
44
 
46
- ### BREAKING CHANGES
47
45
 
48
- * "Device#isIE" method has been removed and no longer available
46
+ ## [1.24.1](https://github.com/SAP/ui5-webcomponents/compare/v1.24.0...v1.24.1) (2024-05-13)
49
47
 
50
- Related to https://github.com/SAP/ui5-webcomponents/issues/8461
51
- * Removed the `CSP.js` module and the creation of `<style>` and `<link>` tags, as all browsers now support adoptedStyleSheets. The following APIs are not available any more and should not be used:
52
- ```ts
53
- import { setUseLinks } from "@ui5/webcomponents-base/dist/CSP.js"
54
- import { setPackageCSSRoot } from "@ui5/webcomponents-base/dist/CSP.js"
55
- import { setPreloadLinks } from "@ui5/webcomponents-base/dist/CSP.js"
56
- ```
57
- * Removed the `ICardHeader` interface. If you previously used the interface
58
- ```ts
59
- import type { ICardHeader } from "@ui5/webcomponents-base/dist/Card.js"
60
- ```
61
- Use the CardHeader type instead:
62
- ```ts
63
- import type CardHeader from "@ui5/webcomponents-base/dist/CardHeader.js"
64
- ```
65
- * Removed the `IUploadCollectionItem` interface. If you previously used the interface:
66
- ```js
67
- import type { IUploadCollectionItem} from "@ui5/webcomponents-fiori/dist/UploadCollection.js"
68
- ```
69
- Use the `UploadCollectionItem` type instead:
70
- ```js
71
- import type UploadCollectionItem from "@ui5/webcomponents-fiori/dist/UploadCollectionItem.js"
72
- ```
73
-
74
- Related to https://github.com/SAP/ui5-webcomponents/issues/8461
75
- * The `size` property now accepts different values. If you previously used it like:
76
- ```html
77
- <ui5-busy-indicator size="Small"></ui5-busy-indicator>
78
- ```
79
- Now use the new values instead:
80
- ```html
81
- <ui5-busy-indicator size="S"></ui5-busy-indicator>
82
- ```
83
-
84
- Related to https://github.com/SAP/ui5-webcomponents/issues/8461
85
- * The `status` property and its shadow part have been renamed. If you previously used them:
86
- ```html
87
- <style>
88
- .cardHeader::part(status) { ... }
89
- </style>
90
- <ui5-card-header status="3 of 10"></ui5-popover>
91
- ```
92
- Now use `additionalText` instead:
93
- ```html
94
- <style>
95
- .cardHeader::part(additional-text) { ... }
96
- </style>
97
- <ui5-card-header class="cardHeader" additional-text="3 of 10"></ui5-card-header>
98
- ```
99
-
100
- Related to https://github.com/SAP/ui5-webcomponents/issues/8461
101
- * The `pageIndicatorStyle` no longer exists. If you previously used it like:
102
- ```html
103
- <ui5-carousel page-indicator-style="Numeric"></ui5-carousel>
104
- ```
105
- Now you should use `pageIndicatorType` instead:
106
- ```html
107
- <ui5-carousel page-indicator-type="Numeric"></ui5-carousel>
108
- ```
109
-
110
- Related to https://github.com/SAP/ui5-webcomponents/issues/8461
111
- * Removed `UI5Element#render` method in favour of `UI5Element#renderer`. If you previously used "render"
112
- ```js
113
- class MyClass extends UI5Element {
114
- static get render() {
115
- return litRenderer;
116
- }
117
- }
118
- ```
119
- start using "renderer"
120
- ```ts
121
- class MyClass extends UI5Element {
122
- static get renderer() {
123
- return litRenderer;
124
- }
125
- }
126
- ```
127
- * Remove JavaScript template option from @ui5/create-webcomponents-package
128
- Previously `npm init @ui5/webcomponents-package` used to create JS-based project, however now it will be TypeScript-based project.
129
- If you previously used `npm init @ui5/webcomponents-package --enable-typescript` to create TypeScript-based project, now it's by default, e.g `npm init @ui5/webcomponents-package` and `--enable-typescript` is removed.
130
- * The `Left` and `Right` options option have been renamed. If you previously used them to set the placement or the alignment of the popover:
131
- ```html
132
- <ui5-popover horizontal-align="Left" placement-type="Left"></ui5-popover>
133
- ```
134
- Now use `Start` or `End` instead:
135
- ```html
136
- <ui5-popover horizontal-align="Start" placement-type="Start"></ui5-popover>
137
- ```
138
-
139
- Related to https://github.com/SAP/ui5-webcomponents/issues/8461
140
-
141
- * docs: deploy v2 preview
142
- * Remove `soccor` icon. Use `soccer` instead.
143
- * Remove `add-polygone` icon. Use `add-polygon` instead.
144
- * The JSDoc plugin has been removed, and the generation of api.json has stopped. If you previously relied on the `ui5-package/dist/api.json file`, you can now use `ui5-package/dist/custom-elements.json`
145
- * All Assets-static.js modules are removed. If you previously imported any Assets-static.js module from any package:
146
- ```ts
147
- import "@ui5/webcomponents/dist/Assets-static.js";
148
- import "@ui5/webcomponents-icons/dist/Assets-static.js"
149
- ```
150
- use the dynamic equivalent of it:
151
- ```ts
152
- import "@ui5/webcomponents/dist/Assets.js";
153
- import "@ui5/webcomponents-icons/dist/Assets.js"
154
- ```
155
-
156
- Related to: https://github.com/SAP/ui5-webcomponents/issues/8461
157
- * The event `selected-dates-change ` is renamed to `selection-change`. In addition the event details
158
- `values` and `dates` are renamed to `selectedValues` and `selectedDateValues`. If you previously used the Calendar event as follows:
159
- ```ts
160
- myCalendar.addEventListener("selected-dates-change", () => {
161
- const values = e.detail.values;
162
- const dates = e.detail.dates;
163
- })
164
- ```
165
- Now you have to use the new event name and details:
166
- ```ts
167
- myCalendar.addEventListener("selection-change", () => {
168
- const values = event.detail.selectedValues;
169
- const dates = event.detail.selectedDateValues;
170
- })
171
- ```
172
-
173
- Related to: https://github.com/SAP/ui5-webcomponents/issues/8461
174
- * The property `color` is renamed to `value`. If you previously used the change event of the ColorPicker as follows:
175
- ```html
176
- <ui5-color-picker color="red"></ui5-color-picker>
177
- ```
178
- Now you have to use it like this:
179
- ```html
180
- <ui5-color-picker value="red"></ui5-color-picker>
181
- ```
182
-
183
- Related to: https://github.com/SAP/ui5-webcomponents/issues/8461
184
- * JavaScript projects may not function properly with the tools package.
185
- * The `openPopover` and `showAt` methods are removed in favor of `open` and `opener` properties. If you previously used the imperative API:
186
- ```js
187
- button.addEventListener("click", function(event) {
188
- colorPalettePopover.showAt(this);
189
- });
190
- ```
191
- Now the declarative API should be used instead:
192
- ```html
193
- <ui5-button id="opener">Open</ui5-button>
194
- <ui5-color-palette-popover opener="opener">
195
- ```
196
- ```js
197
- button.addEventListener("click", function(event) {
198
- colorPalettePopover.open = !colorPalettePopover.open;
199
- });
200
- ```
201
- * The `ui5-bar` component is now in `main` library. If you previously imported the `ui5-bar` from `fiori`:
202
- ```ts
203
- import "@ui5/webcomponents-fiori/dist/Bar.js;
204
- ```
205
- Now, import the `ui5-bar` from `main`:
206
- ```ts
207
- import "@ui5/webcomponents/dist/Bar.js";
208
- ```
209
-
210
- Related to: https://github.com/SAP/ui5-webcomponents/issues/8461
211
- * If you have previously used:
212
- ```html
213
- <ui5-tab id="nestedTab" slot="subTabs"></ui5-tab>
214
- ```
215
- Now use:
216
- ```html
217
- <ui5-tab id="nestedTab" slot="items"></ui5-tab>
218
- ```
219
-
220
- Relates to https://github.com/SAP/ui5-webcomponents/issues/8461
221
- * If you have previously used:
222
- ```html
223
- <ui5-tabcontainer tabs-overflow-mode="StartAndEnd"></ui5-tabcontainer>
224
- ```
225
- Now use:
226
- ```html
227
- <ui5-tabcontainer overflow-mode="StartAndEnd"></ui5-tabcontainer>
228
- ```
229
-
230
- Relates to https://github.com/SAP/ui5-webcomponents/issues/8461
231
- * If you previously imported `TabContainerBackgroundDesign`, use `BackgroundDesign` instead.
232
-
233
- Relates to https://github.com/SAP/ui5-webcomponents/issues/8461
234
- * The showOverflow property is removed. If previously you have used:
235
- ```html
236
- <ui5-tabcontainer show-overflow></ui5-tabcontainer>
237
- ```
238
- now use the overflowButton slot:
239
- ```html
240
- <ui5-tabcontainer>
241
- <ui5-button slot="startOverflowButton" id="startOverflowButton">Start</ui5-button>
242
- <ui5-button slot="overflowButton" id="endOverflowButton">End</ui5-button>
243
- </ui5-tabcontainer>
244
- ```
245
-
246
- Relates to https://github.com/SAP/ui5-webcomponents/issues/8461
247
- * The `placementType` property and the `PopoverPlacementType` enum have been renamed.
248
- If you have previously used the `placementType` property and the `PopoverPlacementType`
249
- ```html
250
- <ui5-popover placement-type="Bottom"></ui5-popover>
251
- ```
252
- ```js
253
- import PopoverPlacementType from "@ui5/webcomponents/dist/types/PopoverPlacementType.js";
254
- ```
255
- Now use `placement` instead:
256
- ```html
257
- <ui5-placement="Bottom"></ui5-popover>
258
- ```
259
- ```js
260
- import PopoverPlacementType from "@ui5/webcomponents/dist/types/PopoverPlacement.js";
261
- ```
262
-
263
- Related to https://github.com/SAP/ui5-webcomponents/issues/8461
264
- * The `size` property of the `ui5--illustrated-message` is renamed to `design`.
265
- If you have previously used the `size` property:
266
- ```html
267
- <ui5-illustrated-message size="Dialog">
268
- ```
269
- Now use `design` instead:
270
- ```html
271
- <ui5-illustrated-message design="Dialog">
272
-
273
- ```
274
-
275
- Related to https://github.com/SAP/ui5-webcomponents/issues/8461, https://github.com/SAP/ui5-webcomponents/issues/7887
276
- * The `separator-style` property is renamed to `separators` and the `BreadcrumbsSeparatorStyle` enum is renamed to `BreadcrumbsSeparator`.
277
- If you have previously used the `separator-style` property:
278
- ```html
279
- <ui5-breadcrumbs separator-style="Slash">
280
- ```
281
- Now use `separators` instead:
282
- ```html
283
- <ui5-breadcrumbs separators="Slash">
284
- ```
285
-
286
- Related to https://github.com/SAP/ui5-webcomponents/issues/8461, https://github.com/SAP/ui5-webcomponents/issues/7887
287
- * The `disabled` property of the `ui5-option` is removed.
288
- If you have previously used the `disabled` property:
289
- ```html
290
- <ui5-option disabled>Option</ui5-option>
291
- ```
292
- it will no longer work for the component.
293
-
294
- Related to https://github.com/SAP/ui5-webcomponents/issues/8461, https://github.com/SAP/ui5-webcomponents/issues/7887
295
- * You can no longer import and implement the `ITab` interface. TabContainer is designed to work only with Tab and TabSeparator classes, so the interface was obsolete.
48
+ **Note:** Version bump only for package @ui5/webcomponents-theming
296
49
 
297
50
 
298
51