@ui5/webcomponents-icons 1.24.0 → 2.0.0-rc.1

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 CHANGED
@@ -3,6 +3,277 @@
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.1](https://github.com/SAP/ui5-webcomponents/compare/v2.0.0-rc.0...v2.0.0-rc.1) (2024-04-11)
7
+
8
+ **Note:** Version bump only for package @ui5/webcomponents-icons
9
+
10
+
11
+
12
+
13
+
14
+ # [2.0.0-rc.0](https://github.com/SAP/ui5-webcomponents/compare/v1.24.0...v2.0.0-rc.0) (2024-04-09)
15
+
16
+
17
+ ### chore
18
+
19
+ * 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)
20
+
21
+
22
+ ### BREAKING CHANGES
23
+
24
+ * "Device#isIE" method has been removed and no longer available
25
+
26
+ Related to https://github.com/SAP/ui5-webcomponents/issues/8461
27
+ * 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:
28
+ ```ts
29
+ import { setUseLinks } from "@ui5/webcomponents-base/dist/CSP.js"
30
+ import { setPackageCSSRoot } from "@ui5/webcomponents-base/dist/CSP.js"
31
+ import { setPreloadLinks } from "@ui5/webcomponents-base/dist/CSP.js"
32
+ ```
33
+ * Removed the `ICardHeader` interface. If you previously used the interface
34
+ ```ts
35
+ import type { ICardHeader } from "@ui5/webcomponents-base/dist/Card.js"
36
+ ```
37
+ Use the CardHeader type instead:
38
+ ```ts
39
+ import type CardHeader from "@ui5/webcomponents-base/dist/CardHeader.js"
40
+ ```
41
+ * Removed the `IUploadCollectionItem` interface. If you previously used the interface:
42
+ ```js
43
+ import type { IUploadCollectionItem} from "@ui5/webcomponents-fiori/dist/UploadCollection.js"
44
+ ```
45
+ Use the `UploadCollectionItem` type instead:
46
+ ```js
47
+ import type UploadCollectionItem from "@ui5/webcomponents-fiori/dist/UploadCollectionItem.js"
48
+ ```
49
+
50
+ Related to https://github.com/SAP/ui5-webcomponents/issues/8461
51
+ * The `size` property now accepts different values. If you previously used it like:
52
+ ```html
53
+ <ui5-busy-indicator size="Small"></ui5-busy-indicator>
54
+ ```
55
+ Now use the new values instead:
56
+ ```html
57
+ <ui5-busy-indicator size="S"></ui5-busy-indicator>
58
+ ```
59
+
60
+ Related to https://github.com/SAP/ui5-webcomponents/issues/8461
61
+ * The `status` property and its shadow part have been renamed. If you previously used them:
62
+ ```html
63
+ <style>
64
+ .cardHeader::part(status) { ... }
65
+ </style>
66
+ <ui5-card-header status="3 of 10"></ui5-popover>
67
+ ```
68
+ Now use `additionalText` instead:
69
+ ```html
70
+ <style>
71
+ .cardHeader::part(additional-text) { ... }
72
+ </style>
73
+ <ui5-card-header class="cardHeader" additional-text="3 of 10"></ui5-card-header>
74
+ ```
75
+
76
+ Related to https://github.com/SAP/ui5-webcomponents/issues/8461
77
+ * The `pageIndicatorStyle` no longer exists. If you previously used it like:
78
+ ```html
79
+ <ui5-carousel page-indicator-style="Numeric"></ui5-carousel>
80
+ ```
81
+ Now you should use `pageIndicatorType` instead:
82
+ ```html
83
+ <ui5-carousel page-indicator-type="Numeric"></ui5-carousel>
84
+ ```
85
+
86
+ Related to https://github.com/SAP/ui5-webcomponents/issues/8461
87
+ * Removed `UI5Element#render` method in favour of `UI5Element#renderer`. If you previously used "render"
88
+ ```js
89
+ class MyClass extends UI5Element {
90
+ static get render() {
91
+ return litRenderer;
92
+ }
93
+ }
94
+ ```
95
+ start using "renderer"
96
+ ```ts
97
+ class MyClass extends UI5Element {
98
+ static get renderer() {
99
+ return litRenderer;
100
+ }
101
+ }
102
+ ```
103
+ * Remove JavaScript template option from @ui5/create-webcomponents-package
104
+ Previously `npm init @ui5/webcomponents-package` used to create JS-based project, however now it will be TypeScript-based project.
105
+ 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.
106
+ * The `Left` and `Right` options option have been renamed. If you previously used them to set the placement or the alignment of the popover:
107
+ ```html
108
+ <ui5-popover horizontal-align="Left" placement-type="Left"></ui5-popover>
109
+ ```
110
+ Now use `Start` or `End` instead:
111
+ ```html
112
+ <ui5-popover horizontal-align="Start" placement-type="Start"></ui5-popover>
113
+ ```
114
+
115
+ Related to https://github.com/SAP/ui5-webcomponents/issues/8461
116
+
117
+ * docs: deploy v2 preview
118
+ * Remove `soccor` icon. Use `soccer` instead.
119
+ * Remove `add-polygone` icon. Use `add-polygon` instead.
120
+ * 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`
121
+ * All Assets-static.js modules are removed. If you previously imported any Assets-static.js module from any package:
122
+ ```ts
123
+ import "@ui5/webcomponents/dist/Assets-static.js";
124
+ import "@ui5/webcomponents-icons/dist/Assets-static.js"
125
+ ```
126
+ use the dynamic equivalent of it:
127
+ ```ts
128
+ import "@ui5/webcomponents/dist/Assets.js";
129
+ import "@ui5/webcomponents-icons/dist/Assets.js"
130
+ ```
131
+
132
+ Related to: https://github.com/SAP/ui5-webcomponents/issues/8461
133
+ * The event `selected-dates-change ` is renamed to `selection-change`. In addition the event details
134
+ `values` and `dates` are renamed to `selectedValues` and `selectedDateValues`. If you previously used the Calendar event as follows:
135
+ ```ts
136
+ myCalendar.addEventListener("selected-dates-change", () => {
137
+ const values = e.detail.values;
138
+ const dates = e.detail.dates;
139
+ })
140
+ ```
141
+ Now you have to use the new event name and details:
142
+ ```ts
143
+ myCalendar.addEventListener("selection-change", () => {
144
+ const values = event.detail.selectedValues;
145
+ const dates = event.detail.selectedDateValues;
146
+ })
147
+ ```
148
+
149
+ Related to: https://github.com/SAP/ui5-webcomponents/issues/8461
150
+ * The property `color` is renamed to `value`. If you previously used the change event of the ColorPicker as follows:
151
+ ```html
152
+ <ui5-color-picker color="red"></ui5-color-picker>
153
+ ```
154
+ Now you have to use it like this:
155
+ ```html
156
+ <ui5-color-picker value="red"></ui5-color-picker>
157
+ ```
158
+
159
+ Related to: https://github.com/SAP/ui5-webcomponents/issues/8461
160
+ * JavaScript projects may not function properly with the tools package.
161
+ * The `openPopover` and `showAt` methods are removed in favor of `open` and `opener` properties. If you previously used the imperative API:
162
+ ```js
163
+ button.addEventListener("click", function(event) {
164
+ colorPalettePopover.showAt(this);
165
+ });
166
+ ```
167
+ Now the declarative API should be used instead:
168
+ ```html
169
+ <ui5-button id="opener">Open</ui5-button>
170
+ <ui5-color-palette-popover opener="opener">
171
+ ```
172
+ ```js
173
+ button.addEventListener("click", function(event) {
174
+ colorPalettePopover.open = !colorPalettePopover.open;
175
+ });
176
+ ```
177
+ * The `ui5-bar` component is now in `main` library. If you previously imported the `ui5-bar` from `fiori`:
178
+ ```ts
179
+ import "@ui5/webcomponents-fiori/dist/Bar.js;
180
+ ```
181
+ Now, import the `ui5-bar` from `main`:
182
+ ```ts
183
+ import "@ui5/webcomponents/dist/Bar.js";
184
+ ```
185
+
186
+ Related to: https://github.com/SAP/ui5-webcomponents/issues/8461
187
+ * If you have previously used:
188
+ ```html
189
+ <ui5-tab id="nestedTab" slot="subTabs"></ui5-tab>
190
+ ```
191
+ Now use:
192
+ ```html
193
+ <ui5-tab id="nestedTab" slot="items"></ui5-tab>
194
+ ```
195
+
196
+ Relates to https://github.com/SAP/ui5-webcomponents/issues/8461
197
+ * If you have previously used:
198
+ ```html
199
+ <ui5-tabcontainer tabs-overflow-mode="StartAndEnd"></ui5-tabcontainer>
200
+ ```
201
+ Now use:
202
+ ```html
203
+ <ui5-tabcontainer overflow-mode="StartAndEnd"></ui5-tabcontainer>
204
+ ```
205
+
206
+ Relates to https://github.com/SAP/ui5-webcomponents/issues/8461
207
+ * If you previously imported `TabContainerBackgroundDesign`, use `BackgroundDesign` instead.
208
+
209
+ Relates to https://github.com/SAP/ui5-webcomponents/issues/8461
210
+ * The showOverflow property is removed. If previously you have used:
211
+ ```html
212
+ <ui5-tabcontainer show-overflow></ui5-tabcontainer>
213
+ ```
214
+ now use the overflowButton slot:
215
+ ```html
216
+ <ui5-tabcontainer>
217
+ <ui5-button slot="startOverflowButton" id="startOverflowButton">Start</ui5-button>
218
+ <ui5-button slot="overflowButton" id="endOverflowButton">End</ui5-button>
219
+ </ui5-tabcontainer>
220
+ ```
221
+
222
+ Relates to https://github.com/SAP/ui5-webcomponents/issues/8461
223
+ * The `placementType` property and the `PopoverPlacementType` enum have been renamed.
224
+ If you have previously used the `placementType` property and the `PopoverPlacementType`
225
+ ```html
226
+ <ui5-popover placement-type="Bottom"></ui5-popover>
227
+ ```
228
+ ```js
229
+ import PopoverPlacementType from "@ui5/webcomponents/dist/types/PopoverPlacementType.js";
230
+ ```
231
+ Now use `placement` instead:
232
+ ```html
233
+ <ui5-placement="Bottom"></ui5-popover>
234
+ ```
235
+ ```js
236
+ import PopoverPlacementType from "@ui5/webcomponents/dist/types/PopoverPlacement.js";
237
+ ```
238
+
239
+ Related to https://github.com/SAP/ui5-webcomponents/issues/8461
240
+ * The `size` property of the `ui5--illustrated-message` is renamed to `design`.
241
+ If you have previously used the `size` property:
242
+ ```html
243
+ <ui5-illustrated-message size="Dialog">
244
+ ```
245
+ Now use `design` instead:
246
+ ```html
247
+ <ui5-illustrated-message design="Dialog">
248
+
249
+ ```
250
+
251
+ Related to https://github.com/SAP/ui5-webcomponents/issues/8461, https://github.com/SAP/ui5-webcomponents/issues/7887
252
+ * The `separator-style` property is renamed to `separators` and the `BreadcrumbsSeparatorStyle` enum is renamed to `BreadcrumbsSeparator`.
253
+ If you have previously used the `separator-style` property:
254
+ ```html
255
+ <ui5-breadcrumbs separator-style="Slash">
256
+ ```
257
+ Now use `separators` instead:
258
+ ```html
259
+ <ui5-breadcrumbs separators="Slash">
260
+ ```
261
+
262
+ Related to https://github.com/SAP/ui5-webcomponents/issues/8461, https://github.com/SAP/ui5-webcomponents/issues/7887
263
+ * The `disabled` property of the `ui5-option` is removed.
264
+ If you have previously used the `disabled` property:
265
+ ```html
266
+ <ui5-option disabled>Option</ui5-option>
267
+ ```
268
+ it will no longer work for the component.
269
+
270
+ Related to https://github.com/SAP/ui5-webcomponents/issues/8461, https://github.com/SAP/ui5-webcomponents/issues/7887
271
+ * 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.
272
+
273
+
274
+
275
+
276
+
6
277
  # [1.24.0](https://github.com/SAP/ui5-webcomponents/compare/v1.24.0-rc.4...v1.24.0) (2024-04-04)
7
278
 
8
279
  **Note:** Version bump only for package @ui5/webcomponents-icons