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

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