diff --git a/CHANGELOG.md b/CHANGELOG.md index 50c82efcc37e..82f3e45988bd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,358 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [2.0.0-rc.0](https://github.com/SAP/ui5-webcomponents/compare/v1.24.0...v2.0.0-rc.0) (2024-04-09) + + +### Bug Fixes + +* **ui5-flexible-column-layout:** improved separators borders ([#8639](https://github.com/SAP/ui5-webcomponents/issues/8639)) ([367ca80](https://github.com/SAP/ui5-webcomponents/commit/367ca80c9f3eb24c36080046b58c823f5af21780)), closes [#8307](https://github.com/SAP/ui5-webcomponents/issues/8307) +* **ui5-multi-input:** fix failing popover test ([#8662](https://github.com/SAP/ui5-webcomponents/issues/8662)) ([3234747](https://github.com/SAP/ui5-webcomponents/commit/3234747ed30ebdae63994b37de12dba5f2917dab)) +* **ui5-multi-input:** prevent double value state message on nMore open ([#8638](https://github.com/SAP/ui5-webcomponents/issues/8638)) ([ed7b3ba](https://github.com/SAP/ui5-webcomponents/commit/ed7b3ba8e7ae100a4cbff81a5d2f95e74527674b)), closes [#8586](https://github.com/SAP/ui5-webcomponents/issues/8586) +* **ui5-multi-input:** prevent double value state message on nMore open ([#8666](https://github.com/SAP/ui5-webcomponents/issues/8666)) ([fdbf442](https://github.com/SAP/ui5-webcomponents/commit/fdbf44212ebc2b70624cf83498c11aa2f4fa3e18)), closes [#8638](https://github.com/SAP/ui5-webcomponents/issues/8638) [#8586](https://github.com/SAP/ui5-webcomponents/issues/8586) +* **ui5-upload-collection:** update ui5-upload-collection Drag and Drop overlay color ([#8616](https://github.com/SAP/ui5-webcomponents/issues/8616)) ([73f713e](https://github.com/SAP/ui5-webcomponents/commit/73f713e5003dacb1ceb68fbb3a6ac2e954741c97)) + + +### chore + +* 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) + + +### Code Refactoring + +* **ui5-list, ui5-tree, ui5-upload-collection:** rename mode to selectionMode ([#8657](https://github.com/SAP/ui5-webcomponents/issues/8657)) ([d53b3b2](https://github.com/SAP/ui5-webcomponents/commit/d53b3b2e231b6bf3aa5b317634d3f304240f9d76)) +* **ui5-list:** renamed busy, busyDelay to loading, loadingDelay ([#8686](https://github.com/SAP/ui5-webcomponents/issues/8686)) ([38e4df4](https://github.com/SAP/ui5-webcomponents/commit/38e4df4d1dc37a483bbd06f03df8306fb88c3fe3)), closes [#8461](https://github.com/SAP/ui5-webcomponents/issues/8461) [#7887](https://github.com/SAP/ui5-webcomponents/issues/7887) +* **ui5-progress-indicator:** remove disabled property ([#8683](https://github.com/SAP/ui5-webcomponents/issues/8683)) ([5e5c40a](https://github.com/SAP/ui5-webcomponents/commit/5e5c40a51628a23d9ffa5cd7a850a9977710ec38)) +* **ui5-tab, ui5-tab-separator:** rename getTabInStripDomRef to getDomRefInStrip ([#8653](https://github.com/SAP/ui5-webcomponents/issues/8653)) ([773237f](https://github.com/SAP/ui5-webcomponents/commit/773237f46e36f17094302e2f6bbcff22334ffc4a)) +* **ui5-tabcontainer:** remove fixed property ([#8676](https://github.com/SAP/ui5-webcomponents/issues/8676)) ([98052e1](https://github.com/SAP/ui5-webcomponents/commit/98052e1857845314cc41e1cfff80436bd1096436)), closes [#8461](https://github.com/SAP/ui5-webcomponents/issues/8461) +* **ui5-upload-collection:** remove Delete selection mode ([#8607](https://github.com/SAP/ui5-webcomponents/issues/8607)) ([926ae75](https://github.com/SAP/ui5-webcomponents/commit/926ae75015fc4ca751dcbc5a36a5acceeedfffe3)) + + +### Features + +* **focus:** new focus handling ([#8590](https://github.com/SAP/ui5-webcomponents/issues/8590)) ([b6a33e0](https://github.com/SAP/ui5-webcomponents/commit/b6a33e04210de2d0eb972755dbce804d479e14a9)) +* **ui5-checkbox:** update focus handling ([#8553](https://github.com/SAP/ui5-webcomponents/issues/8553)) ([ce28296](https://github.com/SAP/ui5-webcomponents/commit/ce2829619eceb1dca26ca17b2b6d0ab253caf076)), closes [#8320](https://github.com/SAP/ui5-webcomponents/issues/8320) + + +### BREAKING CHANGES + +* **ui5-list:** The `busy` property of the `ui5-list` is renamed. +If you have previously used the `busy`, `busyDelay` properties: +```html + +``` +now you must use `loading` and `loadingDelay` properties: +```html + +``` +* **ui5-progress-indicator:** The `disabled` property of the `ui5-progress-indicator` is removed. +If you have previously used the `disabled` property, it won't take effect: +```html + +``` + +Related to https://github.com/SAP/ui5-webcomponents/issues/8461, https://github.com/SAP/ui5-webcomponents/issues/7887 +* **ui5-tabcontainer:** Property "fixed" is removed and there is no alternative provided. The TabContainer is no longer expandable/collapsible via use interaction. You can still show the TabContainer collapsed via the "collapsed" property. +* **ui5-upload-collection:** The `selectionMode` property no longer accepts "Delete" as value. +If you have previously used it: +```html + +``` +Now omit it completely and use `hide-delete-button` onto the ui5-upload-collection: +```html + + + +``` + +Related to https://github.com/SAP/ui5-webcomponents/issues/8461 +* **ui5-list, ui5-tree, ui5-upload-collection:** The `mode` property and the `ListMode` enum have been renamed. +If you have previously used the `mode` property and the `ListMode` values: +```html + + + + + + +``` +Now use `selectionMode` and `Single`, `Multiple` instead: +```html + + + + + + + +``` + +Related to https://github.com/SAP/ui5-webcomponents/issues/8461, https://github.com/SAP/ui5-webcomponents/issues/7887 +* **ui5-tab, ui5-tab-separator:** If previously you have used: +```js +someTab.getTabInsStripDomRef(); +someTabSeparator.getTabInsStripDomRef(); +``` +Now use: +```js +someTab.getDomRefInStrip(); +someTabSeparator.getDomRefInStrip(); +``` + +Related to: https://github.com/SAP/ui5-webcomponents/issues/8461 +* "Device#isIE" method has been removed and no longer available + +Related to https://github.com/SAP/ui5-webcomponents/issues/8461 +* Removed the `CSP.js` module and the creation of ` + +``` +Now use `additionalText` instead: +```html + + +``` + +Related to https://github.com/SAP/ui5-webcomponents/issues/8461 +* The `pageIndicatorStyle` no longer exists. If you previously used it like: +```html + +``` +Now you should use `pageIndicatorType` instead: +```html + +``` + +Related to https://github.com/SAP/ui5-webcomponents/issues/8461 +* Removed `UI5Element#render` method in favour of `UI5Element#renderer`. If you previously used "render" +```js +class MyClass extends UI5Element { + static get render() { + return litRenderer; + } +} +``` +start using "renderer" +```ts +class MyClass extends UI5Element { + static get renderer() { + return litRenderer; + } +} +``` +* Remove JavaScript template option from @ui5/create-webcomponents-package +Previously `npm init @ui5/webcomponents-package` used to create JS-based project, however now it will be TypeScript-based project. +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. +* The `Left` and `Right` options option have been renamed. If you previously used them to set the placement or the alignment of the popover: +```html + +``` +Now use `Start` or `End` instead: +```html + +``` + +Related to https://github.com/SAP/ui5-webcomponents/issues/8461 + +* docs: deploy v2 preview +* Remove `soccor` icon. Use `soccer` instead. +* Remove `add-polygone` icon. Use `add-polygon` instead. +* 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` +* All Assets-static.js modules are removed. If you previously imported any Assets-static.js module from any package: +```ts +import "@ui5/webcomponents/dist/Assets-static.js"; +import "@ui5/webcomponents-icons/dist/Assets-static.js" +``` +use the dynamic equivalent of it: +```ts +import "@ui5/webcomponents/dist/Assets.js"; +import "@ui5/webcomponents-icons/dist/Assets.js" +``` + +Related to: https://github.com/SAP/ui5-webcomponents/issues/8461 +* The event `selected-dates-change ` is renamed to `selection-change`. In addition the event details +`values` and `dates` are renamed to `selectedValues` and `selectedDateValues`. If you previously used the Calendar event as follows: +```ts +myCalendar.addEventListener("selected-dates-change", () => { + const values = e.detail.values; + const dates = e.detail.dates; +}) +``` +Now you have to use the new event name and details: +```ts +myCalendar.addEventListener("selection-change", () => { + const values = event.detail.selectedValues; + const dates = event.detail.selectedDateValues; +}) +``` + +Related to: https://github.com/SAP/ui5-webcomponents/issues/8461 +* The property `color` is renamed to `value`. If you previously used the change event of the ColorPicker as follows: +```html + +``` +Now you have to use it like this: +```html + +``` + +Related to: https://github.com/SAP/ui5-webcomponents/issues/8461 +* JavaScript projects may not function properly with the tools package. +* The `openPopover` and `showAt` methods are removed in favor of `open` and `opener` properties. If you previously used the imperative API: +```js +button.addEventListener("click", function(event) { + colorPalettePopover.showAt(this); +}); +``` +Now the declarative API should be used instead: +```html +Open + +``` +```js +button.addEventListener("click", function(event) { + colorPalettePopover.open = !colorPalettePopover.open; +}); +``` +* The `ui5-bar` component is now in `main` library. If you previously imported the `ui5-bar` from `fiori`: +```ts +import "@ui5/webcomponents-fiori/dist/Bar.js; +``` +Now, import the `ui5-bar` from `main`: +```ts +import "@ui5/webcomponents/dist/Bar.js"; +``` + +Related to: https://github.com/SAP/ui5-webcomponents/issues/8461 +* If you have previously used: +```html + +``` +Now use: +```html + +``` + +Relates to https://github.com/SAP/ui5-webcomponents/issues/8461 +* If you have previously used: +```html + +``` +Now use: +```html + +``` + +Relates to https://github.com/SAP/ui5-webcomponents/issues/8461 +* If you previously imported `TabContainerBackgroundDesign`, use `BackgroundDesign` instead. + +Relates to https://github.com/SAP/ui5-webcomponents/issues/8461 +* The showOverflow property is removed. If previously you have used: +```html + +``` +now use the overflowButton slot: +```html + + Start + End + +``` + +Relates to https://github.com/SAP/ui5-webcomponents/issues/8461 +* The `placementType` property and the `PopoverPlacementType` enum have been renamed. +If you have previously used the `placementType` property and the `PopoverPlacementType` +```html + +``` +```js +import PopoverPlacementType from "@ui5/webcomponents/dist/types/PopoverPlacementType.js"; +``` +Now use `placement` instead: +```html + +``` +```js +import PopoverPlacementType from "@ui5/webcomponents/dist/types/PopoverPlacement.js"; +``` + +Related to https://github.com/SAP/ui5-webcomponents/issues/8461 +* The `size` property of the `ui5--illustrated-message` is renamed to `design`. +If you have previously used the `size` property: +```html + +``` +Now use `design` instead: +```html + + +``` + +Related to https://github.com/SAP/ui5-webcomponents/issues/8461, https://github.com/SAP/ui5-webcomponents/issues/7887 +* The `separator-style` property is renamed to `separators` and the `BreadcrumbsSeparatorStyle` enum is renamed to `BreadcrumbsSeparator`. +If you have previously used the `separator-style` property: +```html + +``` +Now use `separators` instead: +```html + +``` + +Related to https://github.com/SAP/ui5-webcomponents/issues/8461, https://github.com/SAP/ui5-webcomponents/issues/7887 +* The `disabled` property of the `ui5-option` is removed. +If you have previously used the `disabled` property: +```html +Option +``` +it will no longer work for the component. + +Related to https://github.com/SAP/ui5-webcomponents/issues/8461, https://github.com/SAP/ui5-webcomponents/issues/7887 +* 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. + + + + + # [1.24.0](https://github.com/SAP/ui5-webcomponents/compare/v1.24.0-rc.4...v1.24.0) (2024-04-04) diff --git a/lerna.json b/lerna.json index 7c53948c4bdd..0e789fc3bf5d 100644 --- a/lerna.json +++ b/lerna.json @@ -13,7 +13,7 @@ "packages/website", "packages/create-package" ], - "version": "1.24.0", + "version": "2.0.0-rc.0", "command": { "publish": { "allowBranch": "*", diff --git a/packages/base/CHANGELOG.md b/packages/base/CHANGELOG.md index d2e1d2a90f7e..12ef7d1fcddd 100644 --- a/packages/base/CHANGELOG.md +++ b/packages/base/CHANGELOG.md @@ -3,6 +3,269 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [2.0.0-rc.0](https://github.com/SAP/ui5-webcomponents/compare/v1.24.0...v2.0.0-rc.0) (2024-04-09) + + +### chore + +* 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) + + +### BREAKING CHANGES + +* "Device#isIE" method has been removed and no longer available + +Related to https://github.com/SAP/ui5-webcomponents/issues/8461 +* Removed the `CSP.js` module and the creation of ` + +``` +Now use `additionalText` instead: +```html + + +``` + +Related to https://github.com/SAP/ui5-webcomponents/issues/8461 +* The `pageIndicatorStyle` no longer exists. If you previously used it like: +```html + +``` +Now you should use `pageIndicatorType` instead: +```html + +``` + +Related to https://github.com/SAP/ui5-webcomponents/issues/8461 +* Removed `UI5Element#render` method in favour of `UI5Element#renderer`. If you previously used "render" +```js +class MyClass extends UI5Element { + static get render() { + return litRenderer; + } +} +``` +start using "renderer" +```ts +class MyClass extends UI5Element { + static get renderer() { + return litRenderer; + } +} +``` +* Remove JavaScript template option from @ui5/create-webcomponents-package +Previously `npm init @ui5/webcomponents-package` used to create JS-based project, however now it will be TypeScript-based project. +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. +* The `Left` and `Right` options option have been renamed. If you previously used them to set the placement or the alignment of the popover: +```html + +``` +Now use `Start` or `End` instead: +```html + +``` + +Related to https://github.com/SAP/ui5-webcomponents/issues/8461 + +* docs: deploy v2 preview +* Remove `soccor` icon. Use `soccer` instead. +* Remove `add-polygone` icon. Use `add-polygon` instead. +* 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` +* All Assets-static.js modules are removed. If you previously imported any Assets-static.js module from any package: +```ts +import "@ui5/webcomponents/dist/Assets-static.js"; +import "@ui5/webcomponents-icons/dist/Assets-static.js" +``` +use the dynamic equivalent of it: +```ts +import "@ui5/webcomponents/dist/Assets.js"; +import "@ui5/webcomponents-icons/dist/Assets.js" +``` + +Related to: https://github.com/SAP/ui5-webcomponents/issues/8461 +* The event `selected-dates-change ` is renamed to `selection-change`. In addition the event details +`values` and `dates` are renamed to `selectedValues` and `selectedDateValues`. If you previously used the Calendar event as follows: +```ts +myCalendar.addEventListener("selected-dates-change", () => { + const values = e.detail.values; + const dates = e.detail.dates; +}) +``` +Now you have to use the new event name and details: +```ts +myCalendar.addEventListener("selection-change", () => { + const values = event.detail.selectedValues; + const dates = event.detail.selectedDateValues; +}) +``` + +Related to: https://github.com/SAP/ui5-webcomponents/issues/8461 +* The property `color` is renamed to `value`. If you previously used the change event of the ColorPicker as follows: +```html + +``` +Now you have to use it like this: +```html + +``` + +Related to: https://github.com/SAP/ui5-webcomponents/issues/8461 +* JavaScript projects may not function properly with the tools package. +* The `openPopover` and `showAt` methods are removed in favor of `open` and `opener` properties. If you previously used the imperative API: +```js +button.addEventListener("click", function(event) { + colorPalettePopover.showAt(this); +}); +``` +Now the declarative API should be used instead: +```html +Open + +``` +```js +button.addEventListener("click", function(event) { + colorPalettePopover.open = !colorPalettePopover.open; +}); +``` +* The `ui5-bar` component is now in `main` library. If you previously imported the `ui5-bar` from `fiori`: +```ts +import "@ui5/webcomponents-fiori/dist/Bar.js; +``` +Now, import the `ui5-bar` from `main`: +```ts +import "@ui5/webcomponents/dist/Bar.js"; +``` + +Related to: https://github.com/SAP/ui5-webcomponents/issues/8461 +* If you have previously used: +```html + +``` +Now use: +```html + +``` + +Relates to https://github.com/SAP/ui5-webcomponents/issues/8461 +* If you have previously used: +```html + +``` +Now use: +```html + +``` + +Relates to https://github.com/SAP/ui5-webcomponents/issues/8461 +* If you previously imported `TabContainerBackgroundDesign`, use `BackgroundDesign` instead. + +Relates to https://github.com/SAP/ui5-webcomponents/issues/8461 +* The showOverflow property is removed. If previously you have used: +```html + +``` +now use the overflowButton slot: +```html + + Start + End + +``` + +Relates to https://github.com/SAP/ui5-webcomponents/issues/8461 +* The `placementType` property and the `PopoverPlacementType` enum have been renamed. +If you have previously used the `placementType` property and the `PopoverPlacementType` +```html + +``` +```js +import PopoverPlacementType from "@ui5/webcomponents/dist/types/PopoverPlacementType.js"; +``` +Now use `placement` instead: +```html + +``` +```js +import PopoverPlacementType from "@ui5/webcomponents/dist/types/PopoverPlacement.js"; +``` + +Related to https://github.com/SAP/ui5-webcomponents/issues/8461 +* The `size` property of the `ui5--illustrated-message` is renamed to `design`. +If you have previously used the `size` property: +```html + +``` +Now use `design` instead: +```html + + +``` + +Related to https://github.com/SAP/ui5-webcomponents/issues/8461, https://github.com/SAP/ui5-webcomponents/issues/7887 +* The `separator-style` property is renamed to `separators` and the `BreadcrumbsSeparatorStyle` enum is renamed to `BreadcrumbsSeparator`. +If you have previously used the `separator-style` property: +```html + +``` +Now use `separators` instead: +```html + +``` + +Related to https://github.com/SAP/ui5-webcomponents/issues/8461, https://github.com/SAP/ui5-webcomponents/issues/7887 +* The `disabled` property of the `ui5-option` is removed. +If you have previously used the `disabled` property: +```html +Option +``` +it will no longer work for the component. + +Related to https://github.com/SAP/ui5-webcomponents/issues/8461, https://github.com/SAP/ui5-webcomponents/issues/7887 +* 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. + + + + + # [1.24.0](https://github.com/SAP/ui5-webcomponents/compare/v1.24.0-rc.4...v1.24.0) (2024-04-04) **Note:** Version bump only for package @ui5/webcomponents-base diff --git a/packages/base/package.json b/packages/base/package.json index fa57cce7f68a..2c9b160cf7b5 100644 --- a/packages/base/package.json +++ b/packages/base/package.json @@ -1,6 +1,6 @@ { "name": "@ui5/webcomponents-base", - "version": "1.24.0", + "version": "2.0.0-rc.0", "description": "UI5 Web Components: webcomponents.base", "author": "SAP SE (https://www.sap.com)", "license": "Apache-2.0", @@ -45,7 +45,7 @@ }, "devDependencies": { "@openui5/sap.ui.core": "1.120.5", - "@ui5/webcomponents-tools": "1.24.0", + "@ui5/webcomponents-tools": "2.0.0-rc.0", "chromedriver": "^122.0.6", "clean-css": "^5.2.2", "copy-and-watch": "^0.1.5", diff --git a/packages/create-package/CHANGELOG.md b/packages/create-package/CHANGELOG.md index 76f51fefeb15..8d971dbcb56a 100644 --- a/packages/create-package/CHANGELOG.md +++ b/packages/create-package/CHANGELOG.md @@ -3,6 +3,269 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [2.0.0-rc.0](https://github.com/SAP/ui5-webcomponents/compare/v1.24.0...v2.0.0-rc.0) (2024-04-09) + + +### chore + +* 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) + + +### BREAKING CHANGES + +* "Device#isIE" method has been removed and no longer available + +Related to https://github.com/SAP/ui5-webcomponents/issues/8461 +* Removed the `CSP.js` module and the creation of ` + +``` +Now use `additionalText` instead: +```html + + +``` + +Related to https://github.com/SAP/ui5-webcomponents/issues/8461 +* The `pageIndicatorStyle` no longer exists. If you previously used it like: +```html + +``` +Now you should use `pageIndicatorType` instead: +```html + +``` + +Related to https://github.com/SAP/ui5-webcomponents/issues/8461 +* Removed `UI5Element#render` method in favour of `UI5Element#renderer`. If you previously used "render" +```js +class MyClass extends UI5Element { + static get render() { + return litRenderer; + } +} +``` +start using "renderer" +```ts +class MyClass extends UI5Element { + static get renderer() { + return litRenderer; + } +} +``` +* Remove JavaScript template option from @ui5/create-webcomponents-package +Previously `npm init @ui5/webcomponents-package` used to create JS-based project, however now it will be TypeScript-based project. +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. +* The `Left` and `Right` options option have been renamed. If you previously used them to set the placement or the alignment of the popover: +```html + +``` +Now use `Start` or `End` instead: +```html + +``` + +Related to https://github.com/SAP/ui5-webcomponents/issues/8461 + +* docs: deploy v2 preview +* Remove `soccor` icon. Use `soccer` instead. +* Remove `add-polygone` icon. Use `add-polygon` instead. +* 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` +* All Assets-static.js modules are removed. If you previously imported any Assets-static.js module from any package: +```ts +import "@ui5/webcomponents/dist/Assets-static.js"; +import "@ui5/webcomponents-icons/dist/Assets-static.js" +``` +use the dynamic equivalent of it: +```ts +import "@ui5/webcomponents/dist/Assets.js"; +import "@ui5/webcomponents-icons/dist/Assets.js" +``` + +Related to: https://github.com/SAP/ui5-webcomponents/issues/8461 +* The event `selected-dates-change ` is renamed to `selection-change`. In addition the event details +`values` and `dates` are renamed to `selectedValues` and `selectedDateValues`. If you previously used the Calendar event as follows: +```ts +myCalendar.addEventListener("selected-dates-change", () => { + const values = e.detail.values; + const dates = e.detail.dates; +}) +``` +Now you have to use the new event name and details: +```ts +myCalendar.addEventListener("selection-change", () => { + const values = event.detail.selectedValues; + const dates = event.detail.selectedDateValues; +}) +``` + +Related to: https://github.com/SAP/ui5-webcomponents/issues/8461 +* The property `color` is renamed to `value`. If you previously used the change event of the ColorPicker as follows: +```html + +``` +Now you have to use it like this: +```html + +``` + +Related to: https://github.com/SAP/ui5-webcomponents/issues/8461 +* JavaScript projects may not function properly with the tools package. +* The `openPopover` and `showAt` methods are removed in favor of `open` and `opener` properties. If you previously used the imperative API: +```js +button.addEventListener("click", function(event) { + colorPalettePopover.showAt(this); +}); +``` +Now the declarative API should be used instead: +```html +Open + +``` +```js +button.addEventListener("click", function(event) { + colorPalettePopover.open = !colorPalettePopover.open; +}); +``` +* The `ui5-bar` component is now in `main` library. If you previously imported the `ui5-bar` from `fiori`: +```ts +import "@ui5/webcomponents-fiori/dist/Bar.js; +``` +Now, import the `ui5-bar` from `main`: +```ts +import "@ui5/webcomponents/dist/Bar.js"; +``` + +Related to: https://github.com/SAP/ui5-webcomponents/issues/8461 +* If you have previously used: +```html + +``` +Now use: +```html + +``` + +Relates to https://github.com/SAP/ui5-webcomponents/issues/8461 +* If you have previously used: +```html + +``` +Now use: +```html + +``` + +Relates to https://github.com/SAP/ui5-webcomponents/issues/8461 +* If you previously imported `TabContainerBackgroundDesign`, use `BackgroundDesign` instead. + +Relates to https://github.com/SAP/ui5-webcomponents/issues/8461 +* The showOverflow property is removed. If previously you have used: +```html + +``` +now use the overflowButton slot: +```html + + Start + End + +``` + +Relates to https://github.com/SAP/ui5-webcomponents/issues/8461 +* The `placementType` property and the `PopoverPlacementType` enum have been renamed. +If you have previously used the `placementType` property and the `PopoverPlacementType` +```html + +``` +```js +import PopoverPlacementType from "@ui5/webcomponents/dist/types/PopoverPlacementType.js"; +``` +Now use `placement` instead: +```html + +``` +```js +import PopoverPlacementType from "@ui5/webcomponents/dist/types/PopoverPlacement.js"; +``` + +Related to https://github.com/SAP/ui5-webcomponents/issues/8461 +* The `size` property of the `ui5--illustrated-message` is renamed to `design`. +If you have previously used the `size` property: +```html + +``` +Now use `design` instead: +```html + + +``` + +Related to https://github.com/SAP/ui5-webcomponents/issues/8461, https://github.com/SAP/ui5-webcomponents/issues/7887 +* The `separator-style` property is renamed to `separators` and the `BreadcrumbsSeparatorStyle` enum is renamed to `BreadcrumbsSeparator`. +If you have previously used the `separator-style` property: +```html + +``` +Now use `separators` instead: +```html + +``` + +Related to https://github.com/SAP/ui5-webcomponents/issues/8461, https://github.com/SAP/ui5-webcomponents/issues/7887 +* The `disabled` property of the `ui5-option` is removed. +If you have previously used the `disabled` property: +```html +Option +``` +it will no longer work for the component. + +Related to https://github.com/SAP/ui5-webcomponents/issues/8461, https://github.com/SAP/ui5-webcomponents/issues/7887 +* 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. + + + + + # [1.24.0](https://github.com/SAP/ui5-webcomponents/compare/v1.24.0-rc.4...v1.24.0) (2024-04-04) **Note:** Version bump only for package @ui5/create-webcomponents-package diff --git a/packages/create-package/package.json b/packages/create-package/package.json index 4a6cb09f0dd9..3bd07bdb4948 100644 --- a/packages/create-package/package.json +++ b/packages/create-package/package.json @@ -1,6 +1,6 @@ { "name": "@ui5/create-webcomponents-package", - "version": "1.24.0", + "version": "2.0.0-rc.0", "description": "UI5 Web Components: create package", "author": "SAP SE (https://www.sap.com)", "license": "Apache-2.0", diff --git a/packages/fiori/CHANGELOG.md b/packages/fiori/CHANGELOG.md index 89ecb725b256..9052e2fce182 100644 --- a/packages/fiori/CHANGELOG.md +++ b/packages/fiori/CHANGELOG.md @@ -3,6 +3,323 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [2.0.0-rc.0](https://github.com/SAP/ui5-webcomponents/compare/v1.24.0...v2.0.0-rc.0) (2024-04-09) + + +### Bug Fixes + +* **ui5-flexible-column-layout:** improved separators borders ([#8639](https://github.com/SAP/ui5-webcomponents/issues/8639)) ([367ca80](https://github.com/SAP/ui5-webcomponents/commit/367ca80c9f3eb24c36080046b58c823f5af21780)), closes [#8307](https://github.com/SAP/ui5-webcomponents/issues/8307) +* **ui5-upload-collection:** update ui5-upload-collection Drag and Drop overlay color ([#8616](https://github.com/SAP/ui5-webcomponents/issues/8616)) ([73f713e](https://github.com/SAP/ui5-webcomponents/commit/73f713e5003dacb1ceb68fbb3a6ac2e954741c97)) + + +### chore + +* 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) + + +### Code Refactoring + +* **ui5-list, ui5-tree, ui5-upload-collection:** rename mode to selectionMode ([#8657](https://github.com/SAP/ui5-webcomponents/issues/8657)) ([d53b3b2](https://github.com/SAP/ui5-webcomponents/commit/d53b3b2e231b6bf3aa5b317634d3f304240f9d76)) +* **ui5-tabcontainer:** remove fixed property ([#8676](https://github.com/SAP/ui5-webcomponents/issues/8676)) ([98052e1](https://github.com/SAP/ui5-webcomponents/commit/98052e1857845314cc41e1cfff80436bd1096436)), closes [#8461](https://github.com/SAP/ui5-webcomponents/issues/8461) +* **ui5-upload-collection:** remove Delete selection mode ([#8607](https://github.com/SAP/ui5-webcomponents/issues/8607)) ([926ae75](https://github.com/SAP/ui5-webcomponents/commit/926ae75015fc4ca751dcbc5a36a5acceeedfffe3)) + + +### Features + +* **focus:** new focus handling ([#8590](https://github.com/SAP/ui5-webcomponents/issues/8590)) ([b6a33e0](https://github.com/SAP/ui5-webcomponents/commit/b6a33e04210de2d0eb972755dbce804d479e14a9)) + + +### BREAKING CHANGES + +* **ui5-tabcontainer:** Property "fixed" is removed and there is no alternative provided. The TabContainer is no longer expandable/collapsible via use interaction. You can still show the TabContainer collapsed via the "collapsed" property. +* **ui5-upload-collection:** The `selectionMode` property no longer accepts "Delete" as value. +If you have previously used it: +```html + +``` +Now omit it completely and use `hide-delete-button` onto the ui5-upload-collection: +```html + + + +``` + +Related to https://github.com/SAP/ui5-webcomponents/issues/8461 +* **ui5-list, ui5-tree, ui5-upload-collection:** The `mode` property and the `ListMode` enum have been renamed. +If you have previously used the `mode` property and the `ListMode` values: +```html + + + + + + +``` +Now use `selectionMode` and `Single`, `Multiple` instead: +```html + + + + + + + +``` + +Related to https://github.com/SAP/ui5-webcomponents/issues/8461, https://github.com/SAP/ui5-webcomponents/issues/7887 +* "Device#isIE" method has been removed and no longer available + +Related to https://github.com/SAP/ui5-webcomponents/issues/8461 +* Removed the `CSP.js` module and the creation of ` + +``` +Now use `additionalText` instead: +```html + + +``` + +Related to https://github.com/SAP/ui5-webcomponents/issues/8461 +* The `pageIndicatorStyle` no longer exists. If you previously used it like: +```html + +``` +Now you should use `pageIndicatorType` instead: +```html + +``` + +Related to https://github.com/SAP/ui5-webcomponents/issues/8461 +* Removed `UI5Element#render` method in favour of `UI5Element#renderer`. If you previously used "render" +```js +class MyClass extends UI5Element { + static get render() { + return litRenderer; + } +} +``` +start using "renderer" +```ts +class MyClass extends UI5Element { + static get renderer() { + return litRenderer; + } +} +``` +* Remove JavaScript template option from @ui5/create-webcomponents-package +Previously `npm init @ui5/webcomponents-package` used to create JS-based project, however now it will be TypeScript-based project. +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. +* The `Left` and `Right` options option have been renamed. If you previously used them to set the placement or the alignment of the popover: +```html + +``` +Now use `Start` or `End` instead: +```html + +``` + +Related to https://github.com/SAP/ui5-webcomponents/issues/8461 + +* docs: deploy v2 preview +* Remove `soccor` icon. Use `soccer` instead. +* Remove `add-polygone` icon. Use `add-polygon` instead. +* 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` +* All Assets-static.js modules are removed. If you previously imported any Assets-static.js module from any package: +```ts +import "@ui5/webcomponents/dist/Assets-static.js"; +import "@ui5/webcomponents-icons/dist/Assets-static.js" +``` +use the dynamic equivalent of it: +```ts +import "@ui5/webcomponents/dist/Assets.js"; +import "@ui5/webcomponents-icons/dist/Assets.js" +``` + +Related to: https://github.com/SAP/ui5-webcomponents/issues/8461 +* The event `selected-dates-change ` is renamed to `selection-change`. In addition the event details +`values` and `dates` are renamed to `selectedValues` and `selectedDateValues`. If you previously used the Calendar event as follows: +```ts +myCalendar.addEventListener("selected-dates-change", () => { + const values = e.detail.values; + const dates = e.detail.dates; +}) +``` +Now you have to use the new event name and details: +```ts +myCalendar.addEventListener("selection-change", () => { + const values = event.detail.selectedValues; + const dates = event.detail.selectedDateValues; +}) +``` + +Related to: https://github.com/SAP/ui5-webcomponents/issues/8461 +* The property `color` is renamed to `value`. If you previously used the change event of the ColorPicker as follows: +```html + +``` +Now you have to use it like this: +```html + +``` + +Related to: https://github.com/SAP/ui5-webcomponents/issues/8461 +* JavaScript projects may not function properly with the tools package. +* The `openPopover` and `showAt` methods are removed in favor of `open` and `opener` properties. If you previously used the imperative API: +```js +button.addEventListener("click", function(event) { + colorPalettePopover.showAt(this); +}); +``` +Now the declarative API should be used instead: +```html +Open + +``` +```js +button.addEventListener("click", function(event) { + colorPalettePopover.open = !colorPalettePopover.open; +}); +``` +* The `ui5-bar` component is now in `main` library. If you previously imported the `ui5-bar` from `fiori`: +```ts +import "@ui5/webcomponents-fiori/dist/Bar.js; +``` +Now, import the `ui5-bar` from `main`: +```ts +import "@ui5/webcomponents/dist/Bar.js"; +``` + +Related to: https://github.com/SAP/ui5-webcomponents/issues/8461 +* If you have previously used: +```html + +``` +Now use: +```html + +``` + +Relates to https://github.com/SAP/ui5-webcomponents/issues/8461 +* If you have previously used: +```html + +``` +Now use: +```html + +``` + +Relates to https://github.com/SAP/ui5-webcomponents/issues/8461 +* If you previously imported `TabContainerBackgroundDesign`, use `BackgroundDesign` instead. + +Relates to https://github.com/SAP/ui5-webcomponents/issues/8461 +* The showOverflow property is removed. If previously you have used: +```html + +``` +now use the overflowButton slot: +```html + + Start + End + +``` + +Relates to https://github.com/SAP/ui5-webcomponents/issues/8461 +* The `placementType` property and the `PopoverPlacementType` enum have been renamed. +If you have previously used the `placementType` property and the `PopoverPlacementType` +```html + +``` +```js +import PopoverPlacementType from "@ui5/webcomponents/dist/types/PopoverPlacementType.js"; +``` +Now use `placement` instead: +```html + +``` +```js +import PopoverPlacementType from "@ui5/webcomponents/dist/types/PopoverPlacement.js"; +``` + +Related to https://github.com/SAP/ui5-webcomponents/issues/8461 +* The `size` property of the `ui5--illustrated-message` is renamed to `design`. +If you have previously used the `size` property: +```html + +``` +Now use `design` instead: +```html + + +``` + +Related to https://github.com/SAP/ui5-webcomponents/issues/8461, https://github.com/SAP/ui5-webcomponents/issues/7887 +* The `separator-style` property is renamed to `separators` and the `BreadcrumbsSeparatorStyle` enum is renamed to `BreadcrumbsSeparator`. +If you have previously used the `separator-style` property: +```html + +``` +Now use `separators` instead: +```html + +``` + +Related to https://github.com/SAP/ui5-webcomponents/issues/8461, https://github.com/SAP/ui5-webcomponents/issues/7887 +* The `disabled` property of the `ui5-option` is removed. +If you have previously used the `disabled` property: +```html +Option +``` +it will no longer work for the component. + +Related to https://github.com/SAP/ui5-webcomponents/issues/8461, https://github.com/SAP/ui5-webcomponents/issues/7887 +* 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. + + + + + # [1.24.0](https://github.com/SAP/ui5-webcomponents/compare/v1.24.0-rc.4...v1.24.0) (2024-04-04) **Note:** Version bump only for package @ui5/webcomponents-fiori diff --git a/packages/fiori/package.json b/packages/fiori/package.json index 16694419d7a0..cd926d0c5ae2 100644 --- a/packages/fiori/package.json +++ b/packages/fiori/package.json @@ -1,6 +1,6 @@ { "name": "@ui5/webcomponents-fiori", - "version": "1.24.0", + "version": "2.0.0-rc.0", "description": "UI5 Web Components: webcomponents.fiori", "ui5": { "webComponentsPackage": true @@ -46,14 +46,14 @@ "directory": "packages/fiori" }, "dependencies": { - "@ui5/webcomponents": "1.24.0", - "@ui5/webcomponents-base": "1.24.0", - "@ui5/webcomponents-icons": "1.24.0", - "@ui5/webcomponents-theming": "1.24.0", + "@ui5/webcomponents": "2.0.0-rc.0", + "@ui5/webcomponents-base": "2.0.0-rc.0", + "@ui5/webcomponents-icons": "2.0.0-rc.0", + "@ui5/webcomponents-theming": "2.0.0-rc.0", "@zxing/library": "^0.17.1" }, "devDependencies": { - "@ui5/webcomponents-tools": "1.24.0", + "@ui5/webcomponents-tools": "2.0.0-rc.0", "chromedriver": "^122.0.6" } } diff --git a/packages/icons-business-suite/CHANGELOG.md b/packages/icons-business-suite/CHANGELOG.md index 2f81e971cfa9..7051f0ac3a50 100644 --- a/packages/icons-business-suite/CHANGELOG.md +++ b/packages/icons-business-suite/CHANGELOG.md @@ -3,6 +3,269 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [2.0.0-rc.0](https://github.com/SAP/ui5-webcomponents/compare/v1.24.0...v2.0.0-rc.0) (2024-04-09) + + +### chore + +* 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) + + +### BREAKING CHANGES + +* "Device#isIE" method has been removed and no longer available + +Related to https://github.com/SAP/ui5-webcomponents/issues/8461 +* Removed the `CSP.js` module and the creation of ` + +``` +Now use `additionalText` instead: +```html + + +``` + +Related to https://github.com/SAP/ui5-webcomponents/issues/8461 +* The `pageIndicatorStyle` no longer exists. If you previously used it like: +```html + +``` +Now you should use `pageIndicatorType` instead: +```html + +``` + +Related to https://github.com/SAP/ui5-webcomponents/issues/8461 +* Removed `UI5Element#render` method in favour of `UI5Element#renderer`. If you previously used "render" +```js +class MyClass extends UI5Element { + static get render() { + return litRenderer; + } +} +``` +start using "renderer" +```ts +class MyClass extends UI5Element { + static get renderer() { + return litRenderer; + } +} +``` +* Remove JavaScript template option from @ui5/create-webcomponents-package +Previously `npm init @ui5/webcomponents-package` used to create JS-based project, however now it will be TypeScript-based project. +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. +* The `Left` and `Right` options option have been renamed. If you previously used them to set the placement or the alignment of the popover: +```html + +``` +Now use `Start` or `End` instead: +```html + +``` + +Related to https://github.com/SAP/ui5-webcomponents/issues/8461 + +* docs: deploy v2 preview +* Remove `soccor` icon. Use `soccer` instead. +* Remove `add-polygone` icon. Use `add-polygon` instead. +* 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` +* All Assets-static.js modules are removed. If you previously imported any Assets-static.js module from any package: +```ts +import "@ui5/webcomponents/dist/Assets-static.js"; +import "@ui5/webcomponents-icons/dist/Assets-static.js" +``` +use the dynamic equivalent of it: +```ts +import "@ui5/webcomponents/dist/Assets.js"; +import "@ui5/webcomponents-icons/dist/Assets.js" +``` + +Related to: https://github.com/SAP/ui5-webcomponents/issues/8461 +* The event `selected-dates-change ` is renamed to `selection-change`. In addition the event details +`values` and `dates` are renamed to `selectedValues` and `selectedDateValues`. If you previously used the Calendar event as follows: +```ts +myCalendar.addEventListener("selected-dates-change", () => { + const values = e.detail.values; + const dates = e.detail.dates; +}) +``` +Now you have to use the new event name and details: +```ts +myCalendar.addEventListener("selection-change", () => { + const values = event.detail.selectedValues; + const dates = event.detail.selectedDateValues; +}) +``` + +Related to: https://github.com/SAP/ui5-webcomponents/issues/8461 +* The property `color` is renamed to `value`. If you previously used the change event of the ColorPicker as follows: +```html + +``` +Now you have to use it like this: +```html + +``` + +Related to: https://github.com/SAP/ui5-webcomponents/issues/8461 +* JavaScript projects may not function properly with the tools package. +* The `openPopover` and `showAt` methods are removed in favor of `open` and `opener` properties. If you previously used the imperative API: +```js +button.addEventListener("click", function(event) { + colorPalettePopover.showAt(this); +}); +``` +Now the declarative API should be used instead: +```html +Open + +``` +```js +button.addEventListener("click", function(event) { + colorPalettePopover.open = !colorPalettePopover.open; +}); +``` +* The `ui5-bar` component is now in `main` library. If you previously imported the `ui5-bar` from `fiori`: +```ts +import "@ui5/webcomponents-fiori/dist/Bar.js; +``` +Now, import the `ui5-bar` from `main`: +```ts +import "@ui5/webcomponents/dist/Bar.js"; +``` + +Related to: https://github.com/SAP/ui5-webcomponents/issues/8461 +* If you have previously used: +```html + +``` +Now use: +```html + +``` + +Relates to https://github.com/SAP/ui5-webcomponents/issues/8461 +* If you have previously used: +```html + +``` +Now use: +```html + +``` + +Relates to https://github.com/SAP/ui5-webcomponents/issues/8461 +* If you previously imported `TabContainerBackgroundDesign`, use `BackgroundDesign` instead. + +Relates to https://github.com/SAP/ui5-webcomponents/issues/8461 +* The showOverflow property is removed. If previously you have used: +```html + +``` +now use the overflowButton slot: +```html + + Start + End + +``` + +Relates to https://github.com/SAP/ui5-webcomponents/issues/8461 +* The `placementType` property and the `PopoverPlacementType` enum have been renamed. +If you have previously used the `placementType` property and the `PopoverPlacementType` +```html + +``` +```js +import PopoverPlacementType from "@ui5/webcomponents/dist/types/PopoverPlacementType.js"; +``` +Now use `placement` instead: +```html + +``` +```js +import PopoverPlacementType from "@ui5/webcomponents/dist/types/PopoverPlacement.js"; +``` + +Related to https://github.com/SAP/ui5-webcomponents/issues/8461 +* The `size` property of the `ui5--illustrated-message` is renamed to `design`. +If you have previously used the `size` property: +```html + +``` +Now use `design` instead: +```html + + +``` + +Related to https://github.com/SAP/ui5-webcomponents/issues/8461, https://github.com/SAP/ui5-webcomponents/issues/7887 +* The `separator-style` property is renamed to `separators` and the `BreadcrumbsSeparatorStyle` enum is renamed to `BreadcrumbsSeparator`. +If you have previously used the `separator-style` property: +```html + +``` +Now use `separators` instead: +```html + +``` + +Related to https://github.com/SAP/ui5-webcomponents/issues/8461, https://github.com/SAP/ui5-webcomponents/issues/7887 +* The `disabled` property of the `ui5-option` is removed. +If you have previously used the `disabled` property: +```html +Option +``` +it will no longer work for the component. + +Related to https://github.com/SAP/ui5-webcomponents/issues/8461, https://github.com/SAP/ui5-webcomponents/issues/7887 +* 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. + + + + + # [1.24.0](https://github.com/SAP/ui5-webcomponents/compare/v1.24.0-rc.4...v1.24.0) (2024-04-04) **Note:** Version bump only for package @ui5/webcomponents-icons-business-suite diff --git a/packages/icons-business-suite/package.json b/packages/icons-business-suite/package.json index cf29c815c92f..8e377b4e2b95 100644 --- a/packages/icons-business-suite/package.json +++ b/packages/icons-business-suite/package.json @@ -1,6 +1,6 @@ { "name": "@ui5/webcomponents-icons-business-suite", - "version": "1.24.0", + "version": "2.0.0-rc.0", "description": "UI5 Web Components: SAP Fiori Tools icon set", "author": "SAP SE (https://www.sap.com)", "license": "Apache-2.0", @@ -28,9 +28,9 @@ "directory": "packages/icons-business-suite" }, "dependencies": { - "@ui5/webcomponents-base": "1.24.0" + "@ui5/webcomponents-base": "2.0.0-rc.0" }, "devDependencies": { - "@ui5/webcomponents-tools": "1.24.0" + "@ui5/webcomponents-tools": "2.0.0-rc.0" } } diff --git a/packages/icons-tnt/CHANGELOG.md b/packages/icons-tnt/CHANGELOG.md index 7294e3a33669..ec6212f1b578 100644 --- a/packages/icons-tnt/CHANGELOG.md +++ b/packages/icons-tnt/CHANGELOG.md @@ -3,6 +3,269 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [2.0.0-rc.0](https://github.com/SAP/ui5-webcomponents/compare/v1.24.0...v2.0.0-rc.0) (2024-04-09) + + +### chore + +* 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) + + +### BREAKING CHANGES + +* "Device#isIE" method has been removed and no longer available + +Related to https://github.com/SAP/ui5-webcomponents/issues/8461 +* Removed the `CSP.js` module and the creation of ` + +``` +Now use `additionalText` instead: +```html + + +``` + +Related to https://github.com/SAP/ui5-webcomponents/issues/8461 +* The `pageIndicatorStyle` no longer exists. If you previously used it like: +```html + +``` +Now you should use `pageIndicatorType` instead: +```html + +``` + +Related to https://github.com/SAP/ui5-webcomponents/issues/8461 +* Removed `UI5Element#render` method in favour of `UI5Element#renderer`. If you previously used "render" +```js +class MyClass extends UI5Element { + static get render() { + return litRenderer; + } +} +``` +start using "renderer" +```ts +class MyClass extends UI5Element { + static get renderer() { + return litRenderer; + } +} +``` +* Remove JavaScript template option from @ui5/create-webcomponents-package +Previously `npm init @ui5/webcomponents-package` used to create JS-based project, however now it will be TypeScript-based project. +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. +* The `Left` and `Right` options option have been renamed. If you previously used them to set the placement or the alignment of the popover: +```html + +``` +Now use `Start` or `End` instead: +```html + +``` + +Related to https://github.com/SAP/ui5-webcomponents/issues/8461 + +* docs: deploy v2 preview +* Remove `soccor` icon. Use `soccer` instead. +* Remove `add-polygone` icon. Use `add-polygon` instead. +* 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` +* All Assets-static.js modules are removed. If you previously imported any Assets-static.js module from any package: +```ts +import "@ui5/webcomponents/dist/Assets-static.js"; +import "@ui5/webcomponents-icons/dist/Assets-static.js" +``` +use the dynamic equivalent of it: +```ts +import "@ui5/webcomponents/dist/Assets.js"; +import "@ui5/webcomponents-icons/dist/Assets.js" +``` + +Related to: https://github.com/SAP/ui5-webcomponents/issues/8461 +* The event `selected-dates-change ` is renamed to `selection-change`. In addition the event details +`values` and `dates` are renamed to `selectedValues` and `selectedDateValues`. If you previously used the Calendar event as follows: +```ts +myCalendar.addEventListener("selected-dates-change", () => { + const values = e.detail.values; + const dates = e.detail.dates; +}) +``` +Now you have to use the new event name and details: +```ts +myCalendar.addEventListener("selection-change", () => { + const values = event.detail.selectedValues; + const dates = event.detail.selectedDateValues; +}) +``` + +Related to: https://github.com/SAP/ui5-webcomponents/issues/8461 +* The property `color` is renamed to `value`. If you previously used the change event of the ColorPicker as follows: +```html + +``` +Now you have to use it like this: +```html + +``` + +Related to: https://github.com/SAP/ui5-webcomponents/issues/8461 +* JavaScript projects may not function properly with the tools package. +* The `openPopover` and `showAt` methods are removed in favor of `open` and `opener` properties. If you previously used the imperative API: +```js +button.addEventListener("click", function(event) { + colorPalettePopover.showAt(this); +}); +``` +Now the declarative API should be used instead: +```html +Open + +``` +```js +button.addEventListener("click", function(event) { + colorPalettePopover.open = !colorPalettePopover.open; +}); +``` +* The `ui5-bar` component is now in `main` library. If you previously imported the `ui5-bar` from `fiori`: +```ts +import "@ui5/webcomponents-fiori/dist/Bar.js; +``` +Now, import the `ui5-bar` from `main`: +```ts +import "@ui5/webcomponents/dist/Bar.js"; +``` + +Related to: https://github.com/SAP/ui5-webcomponents/issues/8461 +* If you have previously used: +```html + +``` +Now use: +```html + +``` + +Relates to https://github.com/SAP/ui5-webcomponents/issues/8461 +* If you have previously used: +```html + +``` +Now use: +```html + +``` + +Relates to https://github.com/SAP/ui5-webcomponents/issues/8461 +* If you previously imported `TabContainerBackgroundDesign`, use `BackgroundDesign` instead. + +Relates to https://github.com/SAP/ui5-webcomponents/issues/8461 +* The showOverflow property is removed. If previously you have used: +```html + +``` +now use the overflowButton slot: +```html + + Start + End + +``` + +Relates to https://github.com/SAP/ui5-webcomponents/issues/8461 +* The `placementType` property and the `PopoverPlacementType` enum have been renamed. +If you have previously used the `placementType` property and the `PopoverPlacementType` +```html + +``` +```js +import PopoverPlacementType from "@ui5/webcomponents/dist/types/PopoverPlacementType.js"; +``` +Now use `placement` instead: +```html + +``` +```js +import PopoverPlacementType from "@ui5/webcomponents/dist/types/PopoverPlacement.js"; +``` + +Related to https://github.com/SAP/ui5-webcomponents/issues/8461 +* The `size` property of the `ui5--illustrated-message` is renamed to `design`. +If you have previously used the `size` property: +```html + +``` +Now use `design` instead: +```html + + +``` + +Related to https://github.com/SAP/ui5-webcomponents/issues/8461, https://github.com/SAP/ui5-webcomponents/issues/7887 +* The `separator-style` property is renamed to `separators` and the `BreadcrumbsSeparatorStyle` enum is renamed to `BreadcrumbsSeparator`. +If you have previously used the `separator-style` property: +```html + +``` +Now use `separators` instead: +```html + +``` + +Related to https://github.com/SAP/ui5-webcomponents/issues/8461, https://github.com/SAP/ui5-webcomponents/issues/7887 +* The `disabled` property of the `ui5-option` is removed. +If you have previously used the `disabled` property: +```html +Option +``` +it will no longer work for the component. + +Related to https://github.com/SAP/ui5-webcomponents/issues/8461, https://github.com/SAP/ui5-webcomponents/issues/7887 +* 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. + + + + + # [1.24.0](https://github.com/SAP/ui5-webcomponents/compare/v1.24.0-rc.4...v1.24.0) (2024-04-04) **Note:** Version bump only for package @ui5/webcomponents-icons-tnt diff --git a/packages/icons-tnt/package.json b/packages/icons-tnt/package.json index 307bd8952c03..caeb1e69f420 100644 --- a/packages/icons-tnt/package.json +++ b/packages/icons-tnt/package.json @@ -1,6 +1,6 @@ { "name": "@ui5/webcomponents-icons-tnt", - "version": "1.24.0", + "version": "2.0.0-rc.0", "description": "UI5 Web Components: SAP Fiori Tools icon set", "author": "SAP SE (https://www.sap.com)", "license": "Apache-2.0", @@ -28,9 +28,9 @@ "directory": "packages/icons-tnt" }, "dependencies": { - "@ui5/webcomponents-base": "1.24.0" + "@ui5/webcomponents-base": "2.0.0-rc.0" }, "devDependencies": { - "@ui5/webcomponents-tools": "1.24.0" + "@ui5/webcomponents-tools": "2.0.0-rc.0" } } diff --git a/packages/icons/CHANGELOG.md b/packages/icons/CHANGELOG.md index 8efe76cf0c11..c0c7d34c1863 100644 --- a/packages/icons/CHANGELOG.md +++ b/packages/icons/CHANGELOG.md @@ -3,6 +3,269 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [2.0.0-rc.0](https://github.com/SAP/ui5-webcomponents/compare/v1.24.0...v2.0.0-rc.0) (2024-04-09) + + +### chore + +* 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) + + +### BREAKING CHANGES + +* "Device#isIE" method has been removed and no longer available + +Related to https://github.com/SAP/ui5-webcomponents/issues/8461 +* Removed the `CSP.js` module and the creation of ` + +``` +Now use `additionalText` instead: +```html + + +``` + +Related to https://github.com/SAP/ui5-webcomponents/issues/8461 +* The `pageIndicatorStyle` no longer exists. If you previously used it like: +```html + +``` +Now you should use `pageIndicatorType` instead: +```html + +``` + +Related to https://github.com/SAP/ui5-webcomponents/issues/8461 +* Removed `UI5Element#render` method in favour of `UI5Element#renderer`. If you previously used "render" +```js +class MyClass extends UI5Element { + static get render() { + return litRenderer; + } +} +``` +start using "renderer" +```ts +class MyClass extends UI5Element { + static get renderer() { + return litRenderer; + } +} +``` +* Remove JavaScript template option from @ui5/create-webcomponents-package +Previously `npm init @ui5/webcomponents-package` used to create JS-based project, however now it will be TypeScript-based project. +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. +* The `Left` and `Right` options option have been renamed. If you previously used them to set the placement or the alignment of the popover: +```html + +``` +Now use `Start` or `End` instead: +```html + +``` + +Related to https://github.com/SAP/ui5-webcomponents/issues/8461 + +* docs: deploy v2 preview +* Remove `soccor` icon. Use `soccer` instead. +* Remove `add-polygone` icon. Use `add-polygon` instead. +* 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` +* All Assets-static.js modules are removed. If you previously imported any Assets-static.js module from any package: +```ts +import "@ui5/webcomponents/dist/Assets-static.js"; +import "@ui5/webcomponents-icons/dist/Assets-static.js" +``` +use the dynamic equivalent of it: +```ts +import "@ui5/webcomponents/dist/Assets.js"; +import "@ui5/webcomponents-icons/dist/Assets.js" +``` + +Related to: https://github.com/SAP/ui5-webcomponents/issues/8461 +* The event `selected-dates-change ` is renamed to `selection-change`. In addition the event details +`values` and `dates` are renamed to `selectedValues` and `selectedDateValues`. If you previously used the Calendar event as follows: +```ts +myCalendar.addEventListener("selected-dates-change", () => { + const values = e.detail.values; + const dates = e.detail.dates; +}) +``` +Now you have to use the new event name and details: +```ts +myCalendar.addEventListener("selection-change", () => { + const values = event.detail.selectedValues; + const dates = event.detail.selectedDateValues; +}) +``` + +Related to: https://github.com/SAP/ui5-webcomponents/issues/8461 +* The property `color` is renamed to `value`. If you previously used the change event of the ColorPicker as follows: +```html + +``` +Now you have to use it like this: +```html + +``` + +Related to: https://github.com/SAP/ui5-webcomponents/issues/8461 +* JavaScript projects may not function properly with the tools package. +* The `openPopover` and `showAt` methods are removed in favor of `open` and `opener` properties. If you previously used the imperative API: +```js +button.addEventListener("click", function(event) { + colorPalettePopover.showAt(this); +}); +``` +Now the declarative API should be used instead: +```html +Open + +``` +```js +button.addEventListener("click", function(event) { + colorPalettePopover.open = !colorPalettePopover.open; +}); +``` +* The `ui5-bar` component is now in `main` library. If you previously imported the `ui5-bar` from `fiori`: +```ts +import "@ui5/webcomponents-fiori/dist/Bar.js; +``` +Now, import the `ui5-bar` from `main`: +```ts +import "@ui5/webcomponents/dist/Bar.js"; +``` + +Related to: https://github.com/SAP/ui5-webcomponents/issues/8461 +* If you have previously used: +```html + +``` +Now use: +```html + +``` + +Relates to https://github.com/SAP/ui5-webcomponents/issues/8461 +* If you have previously used: +```html + +``` +Now use: +```html + +``` + +Relates to https://github.com/SAP/ui5-webcomponents/issues/8461 +* If you previously imported `TabContainerBackgroundDesign`, use `BackgroundDesign` instead. + +Relates to https://github.com/SAP/ui5-webcomponents/issues/8461 +* The showOverflow property is removed. If previously you have used: +```html + +``` +now use the overflowButton slot: +```html + + Start + End + +``` + +Relates to https://github.com/SAP/ui5-webcomponents/issues/8461 +* The `placementType` property and the `PopoverPlacementType` enum have been renamed. +If you have previously used the `placementType` property and the `PopoverPlacementType` +```html + +``` +```js +import PopoverPlacementType from "@ui5/webcomponents/dist/types/PopoverPlacementType.js"; +``` +Now use `placement` instead: +```html + +``` +```js +import PopoverPlacementType from "@ui5/webcomponents/dist/types/PopoverPlacement.js"; +``` + +Related to https://github.com/SAP/ui5-webcomponents/issues/8461 +* The `size` property of the `ui5--illustrated-message` is renamed to `design`. +If you have previously used the `size` property: +```html + +``` +Now use `design` instead: +```html + + +``` + +Related to https://github.com/SAP/ui5-webcomponents/issues/8461, https://github.com/SAP/ui5-webcomponents/issues/7887 +* The `separator-style` property is renamed to `separators` and the `BreadcrumbsSeparatorStyle` enum is renamed to `BreadcrumbsSeparator`. +If you have previously used the `separator-style` property: +```html + +``` +Now use `separators` instead: +```html + +``` + +Related to https://github.com/SAP/ui5-webcomponents/issues/8461, https://github.com/SAP/ui5-webcomponents/issues/7887 +* The `disabled` property of the `ui5-option` is removed. +If you have previously used the `disabled` property: +```html +Option +``` +it will no longer work for the component. + +Related to https://github.com/SAP/ui5-webcomponents/issues/8461, https://github.com/SAP/ui5-webcomponents/issues/7887 +* 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. + + + + + # [1.24.0](https://github.com/SAP/ui5-webcomponents/compare/v1.24.0-rc.4...v1.24.0) (2024-04-04) **Note:** Version bump only for package @ui5/webcomponents-icons diff --git a/packages/icons/package.json b/packages/icons/package.json index cbbbcae92a3a..f3973c69fc1d 100644 --- a/packages/icons/package.json +++ b/packages/icons/package.json @@ -1,6 +1,6 @@ { "name": "@ui5/webcomponents-icons", - "version": "1.24.0", + "version": "2.0.0-rc.0", "description": "UI5 Web Components: webcomponents.SAP-icons", "author": "SAP SE (https://www.sap.com)", "license": "Apache-2.0", @@ -28,9 +28,9 @@ "directory": "packages/icons" }, "dependencies": { - "@ui5/webcomponents-base": "1.24.0" + "@ui5/webcomponents-base": "2.0.0-rc.0" }, "devDependencies": { - "@ui5/webcomponents-tools": "1.24.0" + "@ui5/webcomponents-tools": "2.0.0-rc.0" } } diff --git a/packages/localization/CHANGELOG.md b/packages/localization/CHANGELOG.md index 02d6b914c386..0cee0214befd 100644 --- a/packages/localization/CHANGELOG.md +++ b/packages/localization/CHANGELOG.md @@ -3,6 +3,269 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [2.0.0-rc.0](https://github.com/SAP/ui5-webcomponents/compare/v1.24.0...v2.0.0-rc.0) (2024-04-09) + + +### chore + +* 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) + + +### BREAKING CHANGES + +* "Device#isIE" method has been removed and no longer available + +Related to https://github.com/SAP/ui5-webcomponents/issues/8461 +* Removed the `CSP.js` module and the creation of ` + +``` +Now use `additionalText` instead: +```html + + +``` + +Related to https://github.com/SAP/ui5-webcomponents/issues/8461 +* The `pageIndicatorStyle` no longer exists. If you previously used it like: +```html + +``` +Now you should use `pageIndicatorType` instead: +```html + +``` + +Related to https://github.com/SAP/ui5-webcomponents/issues/8461 +* Removed `UI5Element#render` method in favour of `UI5Element#renderer`. If you previously used "render" +```js +class MyClass extends UI5Element { + static get render() { + return litRenderer; + } +} +``` +start using "renderer" +```ts +class MyClass extends UI5Element { + static get renderer() { + return litRenderer; + } +} +``` +* Remove JavaScript template option from @ui5/create-webcomponents-package +Previously `npm init @ui5/webcomponents-package` used to create JS-based project, however now it will be TypeScript-based project. +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. +* The `Left` and `Right` options option have been renamed. If you previously used them to set the placement or the alignment of the popover: +```html + +``` +Now use `Start` or `End` instead: +```html + +``` + +Related to https://github.com/SAP/ui5-webcomponents/issues/8461 + +* docs: deploy v2 preview +* Remove `soccor` icon. Use `soccer` instead. +* Remove `add-polygone` icon. Use `add-polygon` instead. +* 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` +* All Assets-static.js modules are removed. If you previously imported any Assets-static.js module from any package: +```ts +import "@ui5/webcomponents/dist/Assets-static.js"; +import "@ui5/webcomponents-icons/dist/Assets-static.js" +``` +use the dynamic equivalent of it: +```ts +import "@ui5/webcomponents/dist/Assets.js"; +import "@ui5/webcomponents-icons/dist/Assets.js" +``` + +Related to: https://github.com/SAP/ui5-webcomponents/issues/8461 +* The event `selected-dates-change ` is renamed to `selection-change`. In addition the event details +`values` and `dates` are renamed to `selectedValues` and `selectedDateValues`. If you previously used the Calendar event as follows: +```ts +myCalendar.addEventListener("selected-dates-change", () => { + const values = e.detail.values; + const dates = e.detail.dates; +}) +``` +Now you have to use the new event name and details: +```ts +myCalendar.addEventListener("selection-change", () => { + const values = event.detail.selectedValues; + const dates = event.detail.selectedDateValues; +}) +``` + +Related to: https://github.com/SAP/ui5-webcomponents/issues/8461 +* The property `color` is renamed to `value`. If you previously used the change event of the ColorPicker as follows: +```html + +``` +Now you have to use it like this: +```html + +``` + +Related to: https://github.com/SAP/ui5-webcomponents/issues/8461 +* JavaScript projects may not function properly with the tools package. +* The `openPopover` and `showAt` methods are removed in favor of `open` and `opener` properties. If you previously used the imperative API: +```js +button.addEventListener("click", function(event) { + colorPalettePopover.showAt(this); +}); +``` +Now the declarative API should be used instead: +```html +Open + +``` +```js +button.addEventListener("click", function(event) { + colorPalettePopover.open = !colorPalettePopover.open; +}); +``` +* The `ui5-bar` component is now in `main` library. If you previously imported the `ui5-bar` from `fiori`: +```ts +import "@ui5/webcomponents-fiori/dist/Bar.js; +``` +Now, import the `ui5-bar` from `main`: +```ts +import "@ui5/webcomponents/dist/Bar.js"; +``` + +Related to: https://github.com/SAP/ui5-webcomponents/issues/8461 +* If you have previously used: +```html + +``` +Now use: +```html + +``` + +Relates to https://github.com/SAP/ui5-webcomponents/issues/8461 +* If you have previously used: +```html + +``` +Now use: +```html + +``` + +Relates to https://github.com/SAP/ui5-webcomponents/issues/8461 +* If you previously imported `TabContainerBackgroundDesign`, use `BackgroundDesign` instead. + +Relates to https://github.com/SAP/ui5-webcomponents/issues/8461 +* The showOverflow property is removed. If previously you have used: +```html + +``` +now use the overflowButton slot: +```html + + Start + End + +``` + +Relates to https://github.com/SAP/ui5-webcomponents/issues/8461 +* The `placementType` property and the `PopoverPlacementType` enum have been renamed. +If you have previously used the `placementType` property and the `PopoverPlacementType` +```html + +``` +```js +import PopoverPlacementType from "@ui5/webcomponents/dist/types/PopoverPlacementType.js"; +``` +Now use `placement` instead: +```html + +``` +```js +import PopoverPlacementType from "@ui5/webcomponents/dist/types/PopoverPlacement.js"; +``` + +Related to https://github.com/SAP/ui5-webcomponents/issues/8461 +* The `size` property of the `ui5--illustrated-message` is renamed to `design`. +If you have previously used the `size` property: +```html + +``` +Now use `design` instead: +```html + + +``` + +Related to https://github.com/SAP/ui5-webcomponents/issues/8461, https://github.com/SAP/ui5-webcomponents/issues/7887 +* The `separator-style` property is renamed to `separators` and the `BreadcrumbsSeparatorStyle` enum is renamed to `BreadcrumbsSeparator`. +If you have previously used the `separator-style` property: +```html + +``` +Now use `separators` instead: +```html + +``` + +Related to https://github.com/SAP/ui5-webcomponents/issues/8461, https://github.com/SAP/ui5-webcomponents/issues/7887 +* The `disabled` property of the `ui5-option` is removed. +If you have previously used the `disabled` property: +```html +Option +``` +it will no longer work for the component. + +Related to https://github.com/SAP/ui5-webcomponents/issues/8461, https://github.com/SAP/ui5-webcomponents/issues/7887 +* 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. + + + + + # [1.24.0](https://github.com/SAP/ui5-webcomponents/compare/v1.24.0-rc.4...v1.24.0) (2024-04-04) **Note:** Version bump only for package @ui5/webcomponents-localization diff --git a/packages/localization/package.json b/packages/localization/package.json index 6254f0c6422e..b325a3111f1f 100644 --- a/packages/localization/package.json +++ b/packages/localization/package.json @@ -1,6 +1,6 @@ { "name": "@ui5/webcomponents-localization", - "version": "1.24.0", + "version": "2.0.0-rc.0", "description": "Localization for UI5 Web Components", "author": "SAP SE (https://www.sap.com)", "license": "Apache-2.0", @@ -33,7 +33,7 @@ "@babel/generator": "^7.23.6", "@babel/parser": "^7.23.6", "@openui5/sap.ui.core": "1.120.5", - "@ui5/webcomponents-tools": "1.24.0", + "@ui5/webcomponents-tools": "2.0.0-rc.0", "babel-plugin-amd-to-esm": "^2.0.3", "chromedriver": "^122.0.6", "estree-walk": "^2.2.0", @@ -42,6 +42,6 @@ }, "dependencies": { "@types/openui5": "^1.113.0", - "@ui5/webcomponents-base": "1.24.0" + "@ui5/webcomponents-base": "2.0.0-rc.0" } } diff --git a/packages/main/CHANGELOG.md b/packages/main/CHANGELOG.md index 6d4b87601de8..a1a65c1686fd 100644 --- a/packages/main/CHANGELOG.md +++ b/packages/main/CHANGELOG.md @@ -3,6 +3,342 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [2.0.0-rc.0](https://github.com/SAP/ui5-webcomponents/compare/v1.24.0...v2.0.0-rc.0) (2024-04-09) + + +### Bug Fixes + +* **ui5-multi-input:** fix failing popover test ([#8662](https://github.com/SAP/ui5-webcomponents/issues/8662)) ([3234747](https://github.com/SAP/ui5-webcomponents/commit/3234747ed30ebdae63994b37de12dba5f2917dab)) +* **ui5-multi-input:** prevent double value state message on nMore open ([#8638](https://github.com/SAP/ui5-webcomponents/issues/8638)) ([ed7b3ba](https://github.com/SAP/ui5-webcomponents/commit/ed7b3ba8e7ae100a4cbff81a5d2f95e74527674b)), closes [#8586](https://github.com/SAP/ui5-webcomponents/issues/8586) +* **ui5-multi-input:** prevent double value state message on nMore open ([#8666](https://github.com/SAP/ui5-webcomponents/issues/8666)) ([fdbf442](https://github.com/SAP/ui5-webcomponents/commit/fdbf44212ebc2b70624cf83498c11aa2f4fa3e18)), closes [#8638](https://github.com/SAP/ui5-webcomponents/issues/8638) [#8586](https://github.com/SAP/ui5-webcomponents/issues/8586) + + +### chore + +* 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) + + +### Code Refactoring + +* **ui5-list, ui5-tree, ui5-upload-collection:** rename mode to selectionMode ([#8657](https://github.com/SAP/ui5-webcomponents/issues/8657)) ([d53b3b2](https://github.com/SAP/ui5-webcomponents/commit/d53b3b2e231b6bf3aa5b317634d3f304240f9d76)) +* **ui5-list:** renamed busy, busyDelay to loading, loadingDelay ([#8686](https://github.com/SAP/ui5-webcomponents/issues/8686)) ([38e4df4](https://github.com/SAP/ui5-webcomponents/commit/38e4df4d1dc37a483bbd06f03df8306fb88c3fe3)), closes [#8461](https://github.com/SAP/ui5-webcomponents/issues/8461) [#7887](https://github.com/SAP/ui5-webcomponents/issues/7887) +* **ui5-progress-indicator:** remove disabled property ([#8683](https://github.com/SAP/ui5-webcomponents/issues/8683)) ([5e5c40a](https://github.com/SAP/ui5-webcomponents/commit/5e5c40a51628a23d9ffa5cd7a850a9977710ec38)) +* **ui5-tab, ui5-tab-separator:** rename getTabInStripDomRef to getDomRefInStrip ([#8653](https://github.com/SAP/ui5-webcomponents/issues/8653)) ([773237f](https://github.com/SAP/ui5-webcomponents/commit/773237f46e36f17094302e2f6bbcff22334ffc4a)) +* **ui5-tabcontainer:** remove fixed property ([#8676](https://github.com/SAP/ui5-webcomponents/issues/8676)) ([98052e1](https://github.com/SAP/ui5-webcomponents/commit/98052e1857845314cc41e1cfff80436bd1096436)), closes [#8461](https://github.com/SAP/ui5-webcomponents/issues/8461) + + +### Features + +* **focus:** new focus handling ([#8590](https://github.com/SAP/ui5-webcomponents/issues/8590)) ([b6a33e0](https://github.com/SAP/ui5-webcomponents/commit/b6a33e04210de2d0eb972755dbce804d479e14a9)) +* **ui5-checkbox:** update focus handling ([#8553](https://github.com/SAP/ui5-webcomponents/issues/8553)) ([ce28296](https://github.com/SAP/ui5-webcomponents/commit/ce2829619eceb1dca26ca17b2b6d0ab253caf076)), closes [#8320](https://github.com/SAP/ui5-webcomponents/issues/8320) + + +### BREAKING CHANGES + +* **ui5-list:** The `busy` property of the `ui5-list` is renamed. +If you have previously used the `busy`, `busyDelay` properties: +```html + +``` +now you must use `loading` and `loadingDelay` properties: +```html + +``` +* **ui5-progress-indicator:** The `disabled` property of the `ui5-progress-indicator` is removed. +If you have previously used the `disabled` property, it won't take effect: +```html + +``` + +Related to https://github.com/SAP/ui5-webcomponents/issues/8461, https://github.com/SAP/ui5-webcomponents/issues/7887 +* **ui5-tabcontainer:** Property "fixed" is removed and there is no alternative provided. The TabContainer is no longer expandable/collapsible via use interaction. You can still show the TabContainer collapsed via the "collapsed" property. +* **ui5-list, ui5-tree, ui5-upload-collection:** The `mode` property and the `ListMode` enum have been renamed. +If you have previously used the `mode` property and the `ListMode` values: +```html + + + + + + +``` +Now use `selectionMode` and `Single`, `Multiple` instead: +```html + + + + + + + +``` + +Related to https://github.com/SAP/ui5-webcomponents/issues/8461, https://github.com/SAP/ui5-webcomponents/issues/7887 +* **ui5-tab, ui5-tab-separator:** If previously you have used: +```js +someTab.getTabInsStripDomRef(); +someTabSeparator.getTabInsStripDomRef(); +``` +Now use: +```js +someTab.getDomRefInStrip(); +someTabSeparator.getDomRefInStrip(); +``` + +Related to: https://github.com/SAP/ui5-webcomponents/issues/8461 +* "Device#isIE" method has been removed and no longer available + +Related to https://github.com/SAP/ui5-webcomponents/issues/8461 +* Removed the `CSP.js` module and the creation of ` + +``` +Now use `additionalText` instead: +```html + + +``` + +Related to https://github.com/SAP/ui5-webcomponents/issues/8461 +* The `pageIndicatorStyle` no longer exists. If you previously used it like: +```html + +``` +Now you should use `pageIndicatorType` instead: +```html + +``` + +Related to https://github.com/SAP/ui5-webcomponents/issues/8461 +* Removed `UI5Element#render` method in favour of `UI5Element#renderer`. If you previously used "render" +```js +class MyClass extends UI5Element { + static get render() { + return litRenderer; + } +} +``` +start using "renderer" +```ts +class MyClass extends UI5Element { + static get renderer() { + return litRenderer; + } +} +``` +* Remove JavaScript template option from @ui5/create-webcomponents-package +Previously `npm init @ui5/webcomponents-package` used to create JS-based project, however now it will be TypeScript-based project. +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. +* The `Left` and `Right` options option have been renamed. If you previously used them to set the placement or the alignment of the popover: +```html + +``` +Now use `Start` or `End` instead: +```html + +``` + +Related to https://github.com/SAP/ui5-webcomponents/issues/8461 + +* docs: deploy v2 preview +* Remove `soccor` icon. Use `soccer` instead. +* Remove `add-polygone` icon. Use `add-polygon` instead. +* 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` +* All Assets-static.js modules are removed. If you previously imported any Assets-static.js module from any package: +```ts +import "@ui5/webcomponents/dist/Assets-static.js"; +import "@ui5/webcomponents-icons/dist/Assets-static.js" +``` +use the dynamic equivalent of it: +```ts +import "@ui5/webcomponents/dist/Assets.js"; +import "@ui5/webcomponents-icons/dist/Assets.js" +``` + +Related to: https://github.com/SAP/ui5-webcomponents/issues/8461 +* The event `selected-dates-change ` is renamed to `selection-change`. In addition the event details +`values` and `dates` are renamed to `selectedValues` and `selectedDateValues`. If you previously used the Calendar event as follows: +```ts +myCalendar.addEventListener("selected-dates-change", () => { + const values = e.detail.values; + const dates = e.detail.dates; +}) +``` +Now you have to use the new event name and details: +```ts +myCalendar.addEventListener("selection-change", () => { + const values = event.detail.selectedValues; + const dates = event.detail.selectedDateValues; +}) +``` + +Related to: https://github.com/SAP/ui5-webcomponents/issues/8461 +* The property `color` is renamed to `value`. If you previously used the change event of the ColorPicker as follows: +```html + +``` +Now you have to use it like this: +```html + +``` + +Related to: https://github.com/SAP/ui5-webcomponents/issues/8461 +* JavaScript projects may not function properly with the tools package. +* The `openPopover` and `showAt` methods are removed in favor of `open` and `opener` properties. If you previously used the imperative API: +```js +button.addEventListener("click", function(event) { + colorPalettePopover.showAt(this); +}); +``` +Now the declarative API should be used instead: +```html +Open + +``` +```js +button.addEventListener("click", function(event) { + colorPalettePopover.open = !colorPalettePopover.open; +}); +``` +* The `ui5-bar` component is now in `main` library. If you previously imported the `ui5-bar` from `fiori`: +```ts +import "@ui5/webcomponents-fiori/dist/Bar.js; +``` +Now, import the `ui5-bar` from `main`: +```ts +import "@ui5/webcomponents/dist/Bar.js"; +``` + +Related to: https://github.com/SAP/ui5-webcomponents/issues/8461 +* If you have previously used: +```html + +``` +Now use: +```html + +``` + +Relates to https://github.com/SAP/ui5-webcomponents/issues/8461 +* If you have previously used: +```html + +``` +Now use: +```html + +``` + +Relates to https://github.com/SAP/ui5-webcomponents/issues/8461 +* If you previously imported `TabContainerBackgroundDesign`, use `BackgroundDesign` instead. + +Relates to https://github.com/SAP/ui5-webcomponents/issues/8461 +* The showOverflow property is removed. If previously you have used: +```html + +``` +now use the overflowButton slot: +```html + + Start + End + +``` + +Relates to https://github.com/SAP/ui5-webcomponents/issues/8461 +* The `placementType` property and the `PopoverPlacementType` enum have been renamed. +If you have previously used the `placementType` property and the `PopoverPlacementType` +```html + +``` +```js +import PopoverPlacementType from "@ui5/webcomponents/dist/types/PopoverPlacementType.js"; +``` +Now use `placement` instead: +```html + +``` +```js +import PopoverPlacementType from "@ui5/webcomponents/dist/types/PopoverPlacement.js"; +``` + +Related to https://github.com/SAP/ui5-webcomponents/issues/8461 +* The `size` property of the `ui5--illustrated-message` is renamed to `design`. +If you have previously used the `size` property: +```html + +``` +Now use `design` instead: +```html + + +``` + +Related to https://github.com/SAP/ui5-webcomponents/issues/8461, https://github.com/SAP/ui5-webcomponents/issues/7887 +* The `separator-style` property is renamed to `separators` and the `BreadcrumbsSeparatorStyle` enum is renamed to `BreadcrumbsSeparator`. +If you have previously used the `separator-style` property: +```html + +``` +Now use `separators` instead: +```html + +``` + +Related to https://github.com/SAP/ui5-webcomponents/issues/8461, https://github.com/SAP/ui5-webcomponents/issues/7887 +* The `disabled` property of the `ui5-option` is removed. +If you have previously used the `disabled` property: +```html +Option +``` +it will no longer work for the component. + +Related to https://github.com/SAP/ui5-webcomponents/issues/8461, https://github.com/SAP/ui5-webcomponents/issues/7887 +* 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. + + + + + # [1.24.0](https://github.com/SAP/ui5-webcomponents/compare/v1.24.0-rc.4...v1.24.0) (2024-04-04) diff --git a/packages/main/package.json b/packages/main/package.json index b493b3765649..f24b6c0ed056 100644 --- a/packages/main/package.json +++ b/packages/main/package.json @@ -1,6 +1,6 @@ { "name": "@ui5/webcomponents", - "version": "1.24.0", + "version": "2.0.0-rc.0", "description": "UI5 Web Components: webcomponents.main", "ui5": { "webComponentsPackage": true @@ -48,15 +48,15 @@ "directory": "packages/main" }, "dependencies": { - "@ui5/webcomponents-base": "1.24.0", - "@ui5/webcomponents-icons": "1.24.0", - "@ui5/webcomponents-icons-business-suite": "1.24.0", - "@ui5/webcomponents-icons-tnt": "1.24.0", - "@ui5/webcomponents-localization": "1.24.0", - "@ui5/webcomponents-theming": "1.24.0" + "@ui5/webcomponents-base": "2.0.0-rc.0", + "@ui5/webcomponents-icons": "2.0.0-rc.0", + "@ui5/webcomponents-icons-business-suite": "2.0.0-rc.0", + "@ui5/webcomponents-icons-tnt": "2.0.0-rc.0", + "@ui5/webcomponents-localization": "2.0.0-rc.0", + "@ui5/webcomponents-theming": "2.0.0-rc.0" }, "devDependencies": { - "@ui5/webcomponents-tools": "1.24.0", + "@ui5/webcomponents-tools": "2.0.0-rc.0", "chromedriver": "^122.0.6" } } diff --git a/packages/playground/CHANGELOG.md b/packages/playground/CHANGELOG.md index 8130f8d7a406..2b20d43d089e 100644 --- a/packages/playground/CHANGELOG.md +++ b/packages/playground/CHANGELOG.md @@ -3,6 +3,330 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [2.0.0-rc.0](https://github.com/SAP/ui5-webcomponents/compare/v1.24.0...v2.0.0-rc.0) (2024-04-09) + + +### chore + +* 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) + + +### Code Refactoring + +* **ui5-list, ui5-tree, ui5-upload-collection:** rename mode to selectionMode ([#8657](https://github.com/SAP/ui5-webcomponents/issues/8657)) ([d53b3b2](https://github.com/SAP/ui5-webcomponents/commit/d53b3b2e231b6bf3aa5b317634d3f304240f9d76)) +* **ui5-list:** renamed busy, busyDelay to loading, loadingDelay ([#8686](https://github.com/SAP/ui5-webcomponents/issues/8686)) ([38e4df4](https://github.com/SAP/ui5-webcomponents/commit/38e4df4d1dc37a483bbd06f03df8306fb88c3fe3)), closes [#8461](https://github.com/SAP/ui5-webcomponents/issues/8461) [#7887](https://github.com/SAP/ui5-webcomponents/issues/7887) +* **ui5-progress-indicator:** remove disabled property ([#8683](https://github.com/SAP/ui5-webcomponents/issues/8683)) ([5e5c40a](https://github.com/SAP/ui5-webcomponents/commit/5e5c40a51628a23d9ffa5cd7a850a9977710ec38)) +* **ui5-tabcontainer:** remove fixed property ([#8676](https://github.com/SAP/ui5-webcomponents/issues/8676)) ([98052e1](https://github.com/SAP/ui5-webcomponents/commit/98052e1857845314cc41e1cfff80436bd1096436)), closes [#8461](https://github.com/SAP/ui5-webcomponents/issues/8461) +* **ui5-upload-collection:** remove Delete selection mode ([#8607](https://github.com/SAP/ui5-webcomponents/issues/8607)) ([926ae75](https://github.com/SAP/ui5-webcomponents/commit/926ae75015fc4ca751dcbc5a36a5acceeedfffe3)) + + +### BREAKING CHANGES + +* **ui5-list:** The `busy` property of the `ui5-list` is renamed. +If you have previously used the `busy`, `busyDelay` properties: +```html + +``` +now you must use `loading` and `loadingDelay` properties: +```html + +``` +* **ui5-progress-indicator:** The `disabled` property of the `ui5-progress-indicator` is removed. +If you have previously used the `disabled` property, it won't take effect: +```html + +``` + +Related to https://github.com/SAP/ui5-webcomponents/issues/8461, https://github.com/SAP/ui5-webcomponents/issues/7887 +* **ui5-tabcontainer:** Property "fixed" is removed and there is no alternative provided. The TabContainer is no longer expandable/collapsible via use interaction. You can still show the TabContainer collapsed via the "collapsed" property. +* **ui5-upload-collection:** The `selectionMode` property no longer accepts "Delete" as value. +If you have previously used it: +```html + +``` +Now omit it completely and use `hide-delete-button` onto the ui5-upload-collection: +```html + + + +``` + +Related to https://github.com/SAP/ui5-webcomponents/issues/8461 +* **ui5-list, ui5-tree, ui5-upload-collection:** The `mode` property and the `ListMode` enum have been renamed. +If you have previously used the `mode` property and the `ListMode` values: +```html + + + + + + +``` +Now use `selectionMode` and `Single`, `Multiple` instead: +```html + + + + + + + +``` + +Related to https://github.com/SAP/ui5-webcomponents/issues/8461, https://github.com/SAP/ui5-webcomponents/issues/7887 +* "Device#isIE" method has been removed and no longer available + +Related to https://github.com/SAP/ui5-webcomponents/issues/8461 +* Removed the `CSP.js` module and the creation of ` + +``` +Now use `additionalText` instead: +```html + + +``` + +Related to https://github.com/SAP/ui5-webcomponents/issues/8461 +* The `pageIndicatorStyle` no longer exists. If you previously used it like: +```html + +``` +Now you should use `pageIndicatorType` instead: +```html + +``` + +Related to https://github.com/SAP/ui5-webcomponents/issues/8461 +* Removed `UI5Element#render` method in favour of `UI5Element#renderer`. If you previously used "render" +```js +class MyClass extends UI5Element { + static get render() { + return litRenderer; + } +} +``` +start using "renderer" +```ts +class MyClass extends UI5Element { + static get renderer() { + return litRenderer; + } +} +``` +* Remove JavaScript template option from @ui5/create-webcomponents-package +Previously `npm init @ui5/webcomponents-package` used to create JS-based project, however now it will be TypeScript-based project. +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. +* The `Left` and `Right` options option have been renamed. If you previously used them to set the placement or the alignment of the popover: +```html + +``` +Now use `Start` or `End` instead: +```html + +``` + +Related to https://github.com/SAP/ui5-webcomponents/issues/8461 + +* docs: deploy v2 preview +* Remove `soccor` icon. Use `soccer` instead. +* Remove `add-polygone` icon. Use `add-polygon` instead. +* 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` +* All Assets-static.js modules are removed. If you previously imported any Assets-static.js module from any package: +```ts +import "@ui5/webcomponents/dist/Assets-static.js"; +import "@ui5/webcomponents-icons/dist/Assets-static.js" +``` +use the dynamic equivalent of it: +```ts +import "@ui5/webcomponents/dist/Assets.js"; +import "@ui5/webcomponents-icons/dist/Assets.js" +``` + +Related to: https://github.com/SAP/ui5-webcomponents/issues/8461 +* The event `selected-dates-change ` is renamed to `selection-change`. In addition the event details +`values` and `dates` are renamed to `selectedValues` and `selectedDateValues`. If you previously used the Calendar event as follows: +```ts +myCalendar.addEventListener("selected-dates-change", () => { + const values = e.detail.values; + const dates = e.detail.dates; +}) +``` +Now you have to use the new event name and details: +```ts +myCalendar.addEventListener("selection-change", () => { + const values = event.detail.selectedValues; + const dates = event.detail.selectedDateValues; +}) +``` + +Related to: https://github.com/SAP/ui5-webcomponents/issues/8461 +* The property `color` is renamed to `value`. If you previously used the change event of the ColorPicker as follows: +```html + +``` +Now you have to use it like this: +```html + +``` + +Related to: https://github.com/SAP/ui5-webcomponents/issues/8461 +* JavaScript projects may not function properly with the tools package. +* The `openPopover` and `showAt` methods are removed in favor of `open` and `opener` properties. If you previously used the imperative API: +```js +button.addEventListener("click", function(event) { + colorPalettePopover.showAt(this); +}); +``` +Now the declarative API should be used instead: +```html +Open + +``` +```js +button.addEventListener("click", function(event) { + colorPalettePopover.open = !colorPalettePopover.open; +}); +``` +* The `ui5-bar` component is now in `main` library. If you previously imported the `ui5-bar` from `fiori`: +```ts +import "@ui5/webcomponents-fiori/dist/Bar.js; +``` +Now, import the `ui5-bar` from `main`: +```ts +import "@ui5/webcomponents/dist/Bar.js"; +``` + +Related to: https://github.com/SAP/ui5-webcomponents/issues/8461 +* If you have previously used: +```html + +``` +Now use: +```html + +``` + +Relates to https://github.com/SAP/ui5-webcomponents/issues/8461 +* If you have previously used: +```html + +``` +Now use: +```html + +``` + +Relates to https://github.com/SAP/ui5-webcomponents/issues/8461 +* If you previously imported `TabContainerBackgroundDesign`, use `BackgroundDesign` instead. + +Relates to https://github.com/SAP/ui5-webcomponents/issues/8461 +* The showOverflow property is removed. If previously you have used: +```html + +``` +now use the overflowButton slot: +```html + + Start + End + +``` + +Relates to https://github.com/SAP/ui5-webcomponents/issues/8461 +* The `placementType` property and the `PopoverPlacementType` enum have been renamed. +If you have previously used the `placementType` property and the `PopoverPlacementType` +```html + +``` +```js +import PopoverPlacementType from "@ui5/webcomponents/dist/types/PopoverPlacementType.js"; +``` +Now use `placement` instead: +```html + +``` +```js +import PopoverPlacementType from "@ui5/webcomponents/dist/types/PopoverPlacement.js"; +``` + +Related to https://github.com/SAP/ui5-webcomponents/issues/8461 +* The `size` property of the `ui5--illustrated-message` is renamed to `design`. +If you have previously used the `size` property: +```html + +``` +Now use `design` instead: +```html + + +``` + +Related to https://github.com/SAP/ui5-webcomponents/issues/8461, https://github.com/SAP/ui5-webcomponents/issues/7887 +* The `separator-style` property is renamed to `separators` and the `BreadcrumbsSeparatorStyle` enum is renamed to `BreadcrumbsSeparator`. +If you have previously used the `separator-style` property: +```html + +``` +Now use `separators` instead: +```html + +``` + +Related to https://github.com/SAP/ui5-webcomponents/issues/8461, https://github.com/SAP/ui5-webcomponents/issues/7887 +* The `disabled` property of the `ui5-option` is removed. +If you have previously used the `disabled` property: +```html +Option +``` +it will no longer work for the component. + +Related to https://github.com/SAP/ui5-webcomponents/issues/8461, https://github.com/SAP/ui5-webcomponents/issues/7887 +* 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. + + + + + # [1.24.0](https://github.com/SAP/ui5-webcomponents/compare/v1.24.0-rc.4...v1.24.0) (2024-04-04) **Note:** Version bump only for package @ui5/webcomponents-playground diff --git a/packages/playground/package.json b/packages/playground/package.json index 84b80702e830..21ccc3631827 100644 --- a/packages/playground/package.json +++ b/packages/playground/package.json @@ -1,7 +1,7 @@ { "name": "@ui5/webcomponents-playground", "private": true, - "version": "1.24.0", + "version": "2.0.0-rc.0", "description": "UI5 Web Components Playground", "author": "SAP SE (https://www.sap.com)", "license": "Apache-2.0", diff --git a/packages/theming/CHANGELOG.md b/packages/theming/CHANGELOG.md index f8628c12d8a8..b3f907bd048c 100644 --- a/packages/theming/CHANGELOG.md +++ b/packages/theming/CHANGELOG.md @@ -3,6 +3,269 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [2.0.0-rc.0](https://github.com/SAP/ui5-webcomponents/compare/v1.24.0...v2.0.0-rc.0) (2024-04-09) + + +### chore + +* 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) + + +### BREAKING CHANGES + +* "Device#isIE" method has been removed and no longer available + +Related to https://github.com/SAP/ui5-webcomponents/issues/8461 +* Removed the `CSP.js` module and the creation of ` + +``` +Now use `additionalText` instead: +```html + + +``` + +Related to https://github.com/SAP/ui5-webcomponents/issues/8461 +* The `pageIndicatorStyle` no longer exists. If you previously used it like: +```html + +``` +Now you should use `pageIndicatorType` instead: +```html + +``` + +Related to https://github.com/SAP/ui5-webcomponents/issues/8461 +* Removed `UI5Element#render` method in favour of `UI5Element#renderer`. If you previously used "render" +```js +class MyClass extends UI5Element { + static get render() { + return litRenderer; + } +} +``` +start using "renderer" +```ts +class MyClass extends UI5Element { + static get renderer() { + return litRenderer; + } +} +``` +* Remove JavaScript template option from @ui5/create-webcomponents-package +Previously `npm init @ui5/webcomponents-package` used to create JS-based project, however now it will be TypeScript-based project. +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. +* The `Left` and `Right` options option have been renamed. If you previously used them to set the placement or the alignment of the popover: +```html + +``` +Now use `Start` or `End` instead: +```html + +``` + +Related to https://github.com/SAP/ui5-webcomponents/issues/8461 + +* docs: deploy v2 preview +* Remove `soccor` icon. Use `soccer` instead. +* Remove `add-polygone` icon. Use `add-polygon` instead. +* 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` +* All Assets-static.js modules are removed. If you previously imported any Assets-static.js module from any package: +```ts +import "@ui5/webcomponents/dist/Assets-static.js"; +import "@ui5/webcomponents-icons/dist/Assets-static.js" +``` +use the dynamic equivalent of it: +```ts +import "@ui5/webcomponents/dist/Assets.js"; +import "@ui5/webcomponents-icons/dist/Assets.js" +``` + +Related to: https://github.com/SAP/ui5-webcomponents/issues/8461 +* The event `selected-dates-change ` is renamed to `selection-change`. In addition the event details +`values` and `dates` are renamed to `selectedValues` and `selectedDateValues`. If you previously used the Calendar event as follows: +```ts +myCalendar.addEventListener("selected-dates-change", () => { + const values = e.detail.values; + const dates = e.detail.dates; +}) +``` +Now you have to use the new event name and details: +```ts +myCalendar.addEventListener("selection-change", () => { + const values = event.detail.selectedValues; + const dates = event.detail.selectedDateValues; +}) +``` + +Related to: https://github.com/SAP/ui5-webcomponents/issues/8461 +* The property `color` is renamed to `value`. If you previously used the change event of the ColorPicker as follows: +```html + +``` +Now you have to use it like this: +```html + +``` + +Related to: https://github.com/SAP/ui5-webcomponents/issues/8461 +* JavaScript projects may not function properly with the tools package. +* The `openPopover` and `showAt` methods are removed in favor of `open` and `opener` properties. If you previously used the imperative API: +```js +button.addEventListener("click", function(event) { + colorPalettePopover.showAt(this); +}); +``` +Now the declarative API should be used instead: +```html +Open + +``` +```js +button.addEventListener("click", function(event) { + colorPalettePopover.open = !colorPalettePopover.open; +}); +``` +* The `ui5-bar` component is now in `main` library. If you previously imported the `ui5-bar` from `fiori`: +```ts +import "@ui5/webcomponents-fiori/dist/Bar.js; +``` +Now, import the `ui5-bar` from `main`: +```ts +import "@ui5/webcomponents/dist/Bar.js"; +``` + +Related to: https://github.com/SAP/ui5-webcomponents/issues/8461 +* If you have previously used: +```html + +``` +Now use: +```html + +``` + +Relates to https://github.com/SAP/ui5-webcomponents/issues/8461 +* If you have previously used: +```html + +``` +Now use: +```html + +``` + +Relates to https://github.com/SAP/ui5-webcomponents/issues/8461 +* If you previously imported `TabContainerBackgroundDesign`, use `BackgroundDesign` instead. + +Relates to https://github.com/SAP/ui5-webcomponents/issues/8461 +* The showOverflow property is removed. If previously you have used: +```html + +``` +now use the overflowButton slot: +```html + + Start + End + +``` + +Relates to https://github.com/SAP/ui5-webcomponents/issues/8461 +* The `placementType` property and the `PopoverPlacementType` enum have been renamed. +If you have previously used the `placementType` property and the `PopoverPlacementType` +```html + +``` +```js +import PopoverPlacementType from "@ui5/webcomponents/dist/types/PopoverPlacementType.js"; +``` +Now use `placement` instead: +```html + +``` +```js +import PopoverPlacementType from "@ui5/webcomponents/dist/types/PopoverPlacement.js"; +``` + +Related to https://github.com/SAP/ui5-webcomponents/issues/8461 +* The `size` property of the `ui5--illustrated-message` is renamed to `design`. +If you have previously used the `size` property: +```html + +``` +Now use `design` instead: +```html + + +``` + +Related to https://github.com/SAP/ui5-webcomponents/issues/8461, https://github.com/SAP/ui5-webcomponents/issues/7887 +* The `separator-style` property is renamed to `separators` and the `BreadcrumbsSeparatorStyle` enum is renamed to `BreadcrumbsSeparator`. +If you have previously used the `separator-style` property: +```html + +``` +Now use `separators` instead: +```html + +``` + +Related to https://github.com/SAP/ui5-webcomponents/issues/8461, https://github.com/SAP/ui5-webcomponents/issues/7887 +* The `disabled` property of the `ui5-option` is removed. +If you have previously used the `disabled` property: +```html +Option +``` +it will no longer work for the component. + +Related to https://github.com/SAP/ui5-webcomponents/issues/8461, https://github.com/SAP/ui5-webcomponents/issues/7887 +* 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. + + + + + # [1.24.0](https://github.com/SAP/ui5-webcomponents/compare/v1.24.0-rc.4...v1.24.0) (2024-04-04) **Note:** Version bump only for package @ui5/webcomponents-theming diff --git a/packages/theming/package.json b/packages/theming/package.json index b9afc4d83891..e18c3d723d8f 100644 --- a/packages/theming/package.json +++ b/packages/theming/package.json @@ -1,6 +1,6 @@ { "name": "@ui5/webcomponents-theming", - "version": "1.24.0", + "version": "2.0.0-rc.0", "description": "UI5 Web Components: webcomponents.theming", "author": "SAP SE (https://www.sap.com)", "license": "Apache-2.0", @@ -31,10 +31,10 @@ }, "dependencies": { "@sap-theming/theming-base-content": "11.12.0", - "@ui5/webcomponents-base": "1.24.0" + "@ui5/webcomponents-base": "2.0.0-rc.0" }, "devDependencies": { - "@ui5/webcomponents-tools": "1.24.0", + "@ui5/webcomponents-tools": "2.0.0-rc.0", "globby": "^13.1.1", "json-beautify": "^1.1.1", "nps": "^5.10.0", diff --git a/packages/tools/CHANGELOG.md b/packages/tools/CHANGELOG.md index efbafdc34355..68c59fd40844 100644 --- a/packages/tools/CHANGELOG.md +++ b/packages/tools/CHANGELOG.md @@ -3,6 +3,269 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [2.0.0-rc.0](https://github.com/SAP/ui5-webcomponents/compare/v1.24.0...v2.0.0-rc.0) (2024-04-09) + + +### chore + +* 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) + + +### BREAKING CHANGES + +* "Device#isIE" method has been removed and no longer available + +Related to https://github.com/SAP/ui5-webcomponents/issues/8461 +* Removed the `CSP.js` module and the creation of ` + +``` +Now use `additionalText` instead: +```html + + +``` + +Related to https://github.com/SAP/ui5-webcomponents/issues/8461 +* The `pageIndicatorStyle` no longer exists. If you previously used it like: +```html + +``` +Now you should use `pageIndicatorType` instead: +```html + +``` + +Related to https://github.com/SAP/ui5-webcomponents/issues/8461 +* Removed `UI5Element#render` method in favour of `UI5Element#renderer`. If you previously used "render" +```js +class MyClass extends UI5Element { + static get render() { + return litRenderer; + } +} +``` +start using "renderer" +```ts +class MyClass extends UI5Element { + static get renderer() { + return litRenderer; + } +} +``` +* Remove JavaScript template option from @ui5/create-webcomponents-package +Previously `npm init @ui5/webcomponents-package` used to create JS-based project, however now it will be TypeScript-based project. +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. +* The `Left` and `Right` options option have been renamed. If you previously used them to set the placement or the alignment of the popover: +```html + +``` +Now use `Start` or `End` instead: +```html + +``` + +Related to https://github.com/SAP/ui5-webcomponents/issues/8461 + +* docs: deploy v2 preview +* Remove `soccor` icon. Use `soccer` instead. +* Remove `add-polygone` icon. Use `add-polygon` instead. +* 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` +* All Assets-static.js modules are removed. If you previously imported any Assets-static.js module from any package: +```ts +import "@ui5/webcomponents/dist/Assets-static.js"; +import "@ui5/webcomponents-icons/dist/Assets-static.js" +``` +use the dynamic equivalent of it: +```ts +import "@ui5/webcomponents/dist/Assets.js"; +import "@ui5/webcomponents-icons/dist/Assets.js" +``` + +Related to: https://github.com/SAP/ui5-webcomponents/issues/8461 +* The event `selected-dates-change ` is renamed to `selection-change`. In addition the event details +`values` and `dates` are renamed to `selectedValues` and `selectedDateValues`. If you previously used the Calendar event as follows: +```ts +myCalendar.addEventListener("selected-dates-change", () => { + const values = e.detail.values; + const dates = e.detail.dates; +}) +``` +Now you have to use the new event name and details: +```ts +myCalendar.addEventListener("selection-change", () => { + const values = event.detail.selectedValues; + const dates = event.detail.selectedDateValues; +}) +``` + +Related to: https://github.com/SAP/ui5-webcomponents/issues/8461 +* The property `color` is renamed to `value`. If you previously used the change event of the ColorPicker as follows: +```html + +``` +Now you have to use it like this: +```html + +``` + +Related to: https://github.com/SAP/ui5-webcomponents/issues/8461 +* JavaScript projects may not function properly with the tools package. +* The `openPopover` and `showAt` methods are removed in favor of `open` and `opener` properties. If you previously used the imperative API: +```js +button.addEventListener("click", function(event) { + colorPalettePopover.showAt(this); +}); +``` +Now the declarative API should be used instead: +```html +Open + +``` +```js +button.addEventListener("click", function(event) { + colorPalettePopover.open = !colorPalettePopover.open; +}); +``` +* The `ui5-bar` component is now in `main` library. If you previously imported the `ui5-bar` from `fiori`: +```ts +import "@ui5/webcomponents-fiori/dist/Bar.js; +``` +Now, import the `ui5-bar` from `main`: +```ts +import "@ui5/webcomponents/dist/Bar.js"; +``` + +Related to: https://github.com/SAP/ui5-webcomponents/issues/8461 +* If you have previously used: +```html + +``` +Now use: +```html + +``` + +Relates to https://github.com/SAP/ui5-webcomponents/issues/8461 +* If you have previously used: +```html + +``` +Now use: +```html + +``` + +Relates to https://github.com/SAP/ui5-webcomponents/issues/8461 +* If you previously imported `TabContainerBackgroundDesign`, use `BackgroundDesign` instead. + +Relates to https://github.com/SAP/ui5-webcomponents/issues/8461 +* The showOverflow property is removed. If previously you have used: +```html + +``` +now use the overflowButton slot: +```html + + Start + End + +``` + +Relates to https://github.com/SAP/ui5-webcomponents/issues/8461 +* The `placementType` property and the `PopoverPlacementType` enum have been renamed. +If you have previously used the `placementType` property and the `PopoverPlacementType` +```html + +``` +```js +import PopoverPlacementType from "@ui5/webcomponents/dist/types/PopoverPlacementType.js"; +``` +Now use `placement` instead: +```html + +``` +```js +import PopoverPlacementType from "@ui5/webcomponents/dist/types/PopoverPlacement.js"; +``` + +Related to https://github.com/SAP/ui5-webcomponents/issues/8461 +* The `size` property of the `ui5--illustrated-message` is renamed to `design`. +If you have previously used the `size` property: +```html + +``` +Now use `design` instead: +```html + + +``` + +Related to https://github.com/SAP/ui5-webcomponents/issues/8461, https://github.com/SAP/ui5-webcomponents/issues/7887 +* The `separator-style` property is renamed to `separators` and the `BreadcrumbsSeparatorStyle` enum is renamed to `BreadcrumbsSeparator`. +If you have previously used the `separator-style` property: +```html + +``` +Now use `separators` instead: +```html + +``` + +Related to https://github.com/SAP/ui5-webcomponents/issues/8461, https://github.com/SAP/ui5-webcomponents/issues/7887 +* The `disabled` property of the `ui5-option` is removed. +If you have previously used the `disabled` property: +```html +Option +``` +it will no longer work for the component. + +Related to https://github.com/SAP/ui5-webcomponents/issues/8461, https://github.com/SAP/ui5-webcomponents/issues/7887 +* 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. + + + + + # [1.24.0](https://github.com/SAP/ui5-webcomponents/compare/v1.24.0-rc.4...v1.24.0) (2024-04-04) **Note:** Version bump only for package @ui5/webcomponents-tools diff --git a/packages/tools/package.json b/packages/tools/package.json index dd26b678de5d..3a60680ea811 100644 --- a/packages/tools/package.json +++ b/packages/tools/package.json @@ -1,6 +1,6 @@ { "name": "@ui5/webcomponents-tools", - "version": "1.24.0", + "version": "2.0.0-rc.0", "description": "UI5 Web Components: webcomponents.tools", "author": "SAP SE (https://www.sap.com)", "license": "Apache-2.0", diff --git a/packages/website/CHANGELOG.md b/packages/website/CHANGELOG.md index 6e9b0f0c6464..2b689565cf0f 100644 --- a/packages/website/CHANGELOG.md +++ b/packages/website/CHANGELOG.md @@ -3,6 +3,330 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [2.0.0-rc.0](https://github.com/SAP/ui5-webcomponents/compare/v1.24.0...v2.0.0-rc.0) (2024-04-09) + + +### chore + +* 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) + + +### Code Refactoring + +* **ui5-list, ui5-tree, ui5-upload-collection:** rename mode to selectionMode ([#8657](https://github.com/SAP/ui5-webcomponents/issues/8657)) ([d53b3b2](https://github.com/SAP/ui5-webcomponents/commit/d53b3b2e231b6bf3aa5b317634d3f304240f9d76)) +* **ui5-list:** renamed busy, busyDelay to loading, loadingDelay ([#8686](https://github.com/SAP/ui5-webcomponents/issues/8686)) ([38e4df4](https://github.com/SAP/ui5-webcomponents/commit/38e4df4d1dc37a483bbd06f03df8306fb88c3fe3)), closes [#8461](https://github.com/SAP/ui5-webcomponents/issues/8461) [#7887](https://github.com/SAP/ui5-webcomponents/issues/7887) +* **ui5-progress-indicator:** remove disabled property ([#8683](https://github.com/SAP/ui5-webcomponents/issues/8683)) ([5e5c40a](https://github.com/SAP/ui5-webcomponents/commit/5e5c40a51628a23d9ffa5cd7a850a9977710ec38)) +* **ui5-tabcontainer:** remove fixed property ([#8676](https://github.com/SAP/ui5-webcomponents/issues/8676)) ([98052e1](https://github.com/SAP/ui5-webcomponents/commit/98052e1857845314cc41e1cfff80436bd1096436)), closes [#8461](https://github.com/SAP/ui5-webcomponents/issues/8461) +* **ui5-upload-collection:** remove Delete selection mode ([#8607](https://github.com/SAP/ui5-webcomponents/issues/8607)) ([926ae75](https://github.com/SAP/ui5-webcomponents/commit/926ae75015fc4ca751dcbc5a36a5acceeedfffe3)) + + +### BREAKING CHANGES + +* **ui5-list:** The `busy` property of the `ui5-list` is renamed. +If you have previously used the `busy`, `busyDelay` properties: +```html + +``` +now you must use `loading` and `loadingDelay` properties: +```html + +``` +* **ui5-progress-indicator:** The `disabled` property of the `ui5-progress-indicator` is removed. +If you have previously used the `disabled` property, it won't take effect: +```html + +``` + +Related to https://github.com/SAP/ui5-webcomponents/issues/8461, https://github.com/SAP/ui5-webcomponents/issues/7887 +* **ui5-tabcontainer:** Property "fixed" is removed and there is no alternative provided. The TabContainer is no longer expandable/collapsible via use interaction. You can still show the TabContainer collapsed via the "collapsed" property. +* **ui5-upload-collection:** The `selectionMode` property no longer accepts "Delete" as value. +If you have previously used it: +```html + +``` +Now omit it completely and use `hide-delete-button` onto the ui5-upload-collection: +```html + + + +``` + +Related to https://github.com/SAP/ui5-webcomponents/issues/8461 +* **ui5-list, ui5-tree, ui5-upload-collection:** The `mode` property and the `ListMode` enum have been renamed. +If you have previously used the `mode` property and the `ListMode` values: +```html + + + + + + +``` +Now use `selectionMode` and `Single`, `Multiple` instead: +```html + + + + + + + +``` + +Related to https://github.com/SAP/ui5-webcomponents/issues/8461, https://github.com/SAP/ui5-webcomponents/issues/7887 +* "Device#isIE" method has been removed and no longer available + +Related to https://github.com/SAP/ui5-webcomponents/issues/8461 +* Removed the `CSP.js` module and the creation of ` + +``` +Now use `additionalText` instead: +```html + + +``` + +Related to https://github.com/SAP/ui5-webcomponents/issues/8461 +* The `pageIndicatorStyle` no longer exists. If you previously used it like: +```html + +``` +Now you should use `pageIndicatorType` instead: +```html + +``` + +Related to https://github.com/SAP/ui5-webcomponents/issues/8461 +* Removed `UI5Element#render` method in favour of `UI5Element#renderer`. If you previously used "render" +```js +class MyClass extends UI5Element { + static get render() { + return litRenderer; + } +} +``` +start using "renderer" +```ts +class MyClass extends UI5Element { + static get renderer() { + return litRenderer; + } +} +``` +* Remove JavaScript template option from @ui5/create-webcomponents-package +Previously `npm init @ui5/webcomponents-package` used to create JS-based project, however now it will be TypeScript-based project. +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. +* The `Left` and `Right` options option have been renamed. If you previously used them to set the placement or the alignment of the popover: +```html + +``` +Now use `Start` or `End` instead: +```html + +``` + +Related to https://github.com/SAP/ui5-webcomponents/issues/8461 + +* docs: deploy v2 preview +* Remove `soccor` icon. Use `soccer` instead. +* Remove `add-polygone` icon. Use `add-polygon` instead. +* 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` +* All Assets-static.js modules are removed. If you previously imported any Assets-static.js module from any package: +```ts +import "@ui5/webcomponents/dist/Assets-static.js"; +import "@ui5/webcomponents-icons/dist/Assets-static.js" +``` +use the dynamic equivalent of it: +```ts +import "@ui5/webcomponents/dist/Assets.js"; +import "@ui5/webcomponents-icons/dist/Assets.js" +``` + +Related to: https://github.com/SAP/ui5-webcomponents/issues/8461 +* The event `selected-dates-change ` is renamed to `selection-change`. In addition the event details +`values` and `dates` are renamed to `selectedValues` and `selectedDateValues`. If you previously used the Calendar event as follows: +```ts +myCalendar.addEventListener("selected-dates-change", () => { + const values = e.detail.values; + const dates = e.detail.dates; +}) +``` +Now you have to use the new event name and details: +```ts +myCalendar.addEventListener("selection-change", () => { + const values = event.detail.selectedValues; + const dates = event.detail.selectedDateValues; +}) +``` + +Related to: https://github.com/SAP/ui5-webcomponents/issues/8461 +* The property `color` is renamed to `value`. If you previously used the change event of the ColorPicker as follows: +```html + +``` +Now you have to use it like this: +```html + +``` + +Related to: https://github.com/SAP/ui5-webcomponents/issues/8461 +* JavaScript projects may not function properly with the tools package. +* The `openPopover` and `showAt` methods are removed in favor of `open` and `opener` properties. If you previously used the imperative API: +```js +button.addEventListener("click", function(event) { + colorPalettePopover.showAt(this); +}); +``` +Now the declarative API should be used instead: +```html +Open + +``` +```js +button.addEventListener("click", function(event) { + colorPalettePopover.open = !colorPalettePopover.open; +}); +``` +* The `ui5-bar` component is now in `main` library. If you previously imported the `ui5-bar` from `fiori`: +```ts +import "@ui5/webcomponents-fiori/dist/Bar.js; +``` +Now, import the `ui5-bar` from `main`: +```ts +import "@ui5/webcomponents/dist/Bar.js"; +``` + +Related to: https://github.com/SAP/ui5-webcomponents/issues/8461 +* If you have previously used: +```html + +``` +Now use: +```html + +``` + +Relates to https://github.com/SAP/ui5-webcomponents/issues/8461 +* If you have previously used: +```html + +``` +Now use: +```html + +``` + +Relates to https://github.com/SAP/ui5-webcomponents/issues/8461 +* If you previously imported `TabContainerBackgroundDesign`, use `BackgroundDesign` instead. + +Relates to https://github.com/SAP/ui5-webcomponents/issues/8461 +* The showOverflow property is removed. If previously you have used: +```html + +``` +now use the overflowButton slot: +```html + + Start + End + +``` + +Relates to https://github.com/SAP/ui5-webcomponents/issues/8461 +* The `placementType` property and the `PopoverPlacementType` enum have been renamed. +If you have previously used the `placementType` property and the `PopoverPlacementType` +```html + +``` +```js +import PopoverPlacementType from "@ui5/webcomponents/dist/types/PopoverPlacementType.js"; +``` +Now use `placement` instead: +```html + +``` +```js +import PopoverPlacementType from "@ui5/webcomponents/dist/types/PopoverPlacement.js"; +``` + +Related to https://github.com/SAP/ui5-webcomponents/issues/8461 +* The `size` property of the `ui5--illustrated-message` is renamed to `design`. +If you have previously used the `size` property: +```html + +``` +Now use `design` instead: +```html + + +``` + +Related to https://github.com/SAP/ui5-webcomponents/issues/8461, https://github.com/SAP/ui5-webcomponents/issues/7887 +* The `separator-style` property is renamed to `separators` and the `BreadcrumbsSeparatorStyle` enum is renamed to `BreadcrumbsSeparator`. +If you have previously used the `separator-style` property: +```html + +``` +Now use `separators` instead: +```html + +``` + +Related to https://github.com/SAP/ui5-webcomponents/issues/8461, https://github.com/SAP/ui5-webcomponents/issues/7887 +* The `disabled` property of the `ui5-option` is removed. +If you have previously used the `disabled` property: +```html +Option +``` +it will no longer work for the component. + +Related to https://github.com/SAP/ui5-webcomponents/issues/8461, https://github.com/SAP/ui5-webcomponents/issues/7887 +* 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. + + + + + # [1.24.0](https://github.com/SAP/ui5-webcomponents/compare/v1.24.0-rc.4...v1.24.0) (2024-04-04) diff --git a/packages/website/package.json b/packages/website/package.json index c6c0407b8708..4a8f3fe38faf 100644 --- a/packages/website/package.json +++ b/packages/website/package.json @@ -1,6 +1,6 @@ { "name": "@ui5/webcomponents-website", - "version": "1.24.0", + "version": "2.0.0-rc.0", "private": true, "scripts": { "generate-local-cdn": "rimraf ./local-cdn && node ./build-scripts/local-cdn.mjs",