Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update ui5 web components to v2 (v1.29.x) (major) #6019

Closed
wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jul 4, 2024

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@ui5/webcomponents (source) ~1.24.0 -> ~1.24.0 || ~2.0.0 age adoption passing confidence
@ui5/webcomponents (source) 1.24.5 -> 2.0.0 age adoption passing confidence
@ui5/webcomponents-base (source) ~1.24.0 -> ~1.24.0 || ~2.0.0 age adoption passing confidence
@ui5/webcomponents-fiori (source) ~1.24.0 -> ~1.24.0 || ~2.0.0 age adoption passing confidence
@ui5/webcomponents-fiori (source) 1.24.5 -> 2.0.0 age adoption passing confidence
@ui5/webcomponents-icons (source) ~1.24.0 -> ~1.24.0 || ~2.0.0 age adoption passing confidence
@ui5/webcomponents-icons (source) 1.24.5 -> 2.0.0 age adoption passing confidence
@ui5/webcomponents-tools (source) 1.24.5 -> 2.0.0 age adoption passing confidence

Release Notes

SAP/ui5-webcomponents (@​ui5/webcomponents)

v2.0.0

Compare Source

Bug Fixes
Code Refactoring
Features
BREAKING CHANGES
  • ui5-li: The image property of the ui5-li is removed and the imageContent slot is renamed to image.
    If you have previously used the image property:
<ui5-li image="./img/HT-1022.jpg">Standard List Item</ui5-li>

or the imageContent slot:

<ui5-li> Avatar inside imageContent slot
	<ui5-avatar slot="imageContent" shape="Square" initials="ABC" color-scheme="Accent2"></ui5-avatar>
</ui5-li>

Now use image slot instead:

<ui5-li> Avatar inside image slot
	<ui5-avatar slot="image" shape="Square" initials="ABC" color-scheme="Accent2"></ui5-avatar>
</ui5-li>

Related to https://github.com/SAP/ui5-webcomponents/issues/8461, https://github.com/SAP/ui5-webcomponents/issues/7887, https://github.com/SAP/ui5-webcomponents/issues/9200

  • ui5-combobox, ui5-multi-combobox: The ui5-cb-item-group & ui5-mcb-item-group text property is renamed to header-text.
    If you previously used the text property:
Now you must rename it to header-text: * The `ListSeparators` (plural form) enum has been renamed to `ListSeparator` (singular form). If you previously imported the `ListSeparators`: ```ts import ListSeparators from "@​ui5/webcomponents/dist/types/ListSeparators.js"; import type ListSeparators from "@​ui5/webcomponents/dist/types/ListSeparators.js"; ```

Now, you must import the ListSeparator enumeration as follows:

import ListSeparator from "@&#8203;ui5/webcomponents/dist/types/ListSeparator.js";
import type ListSeparator from "@&#8203;ui5/webcomponents/dist/types/ListSeparator.js";

Related to: https://github.com/SAP/ui5-webcomponents/issues/8461

  • ui5-input: remove type, description, icon, iconEnd, image from ui5-suggestion-item and introduce ui5-suggestion-item-custom

ui5-suggestion-item:

  • type property is removed, use ui5-suggestion-item-custom instead.
  • description property is removed, use ui5-suggestion-item-custom instead.
  • icon property is removed, use ui5-suggestion-item-custom instead.
  • iconEnd property is removed, use ui5-suggestion-item-custom instead.
  • image property is removed, use ui5-suggestion-item-custom instead.

ui5-suggestion-group-item:

  • renamed to ui5-suggestion-item-group
  • text is removed, use headerText instead

ui5-suggestion-item-custom:

  • custom suggestion item with open content similar to ui5-li-custom
  • to be used for custom scenarios
  • to highlight custom items use @ui5/webcomponents-base/dist/util/generateHighlightedMarkup.js

All suggestion items are now physical items and can be overstyled.
Grouping now works with via nesting: e.g.

<ui5-input show-suggestions>
  <ui5-suggestion-item-group header-text="Group 1">
    <ui5-suggestion-item text="Group Item 1"></ui5-suggestion-item>
  </ui5-suggestion-item-group>
</ui5-input>
  • @​property decorator must be adapted according to new type parameter
  • ui5-menu-separator: startsSection property removed from MenuItems

Before:

Now:

SAP/ui5-webcomponents (@​ui5/webcomponents-base)

v2.0.0

Compare Source

Bug Fixes
  • UI5Element: component invalidated when children change slots (#​9104) (a882721)
Features
BREAKING CHANGES
  • @​property decorator must be adapted according to new type parameter
SAP/ui5-webcomponents (@​ui5/webcomponents-fiori)

v2.0.0

Compare Source

Bug Fixes
Code Refactoring
Features
BREAKING CHANGES
  • ui5-illustrated-message: The enum IllustrationMessageSize is renamed to IllustrationMessageDesign.
    If you have previously imported the enum:

import IllustrationMessageSize from "@​ui5/webcomponents-base/dist/types/IllustrationMessageSize.js";
Now import IllustrationMessageDesign instead:

import IllustrationMessageDesign from "@​ui5/webcomponents-base/dist/types/IllustrationMessageDesign.js";

  • ui5-view-settings-dialog: Removed show and close methods.

Before, the ui5-view-settings-dialog could be opened and closed by calling show() and close():

const viewSettingsDialog = document.getElementById("exampleID");
viewSettingsDialog.show();
viewSettingsDialog.close();

Now, the dialog is opened and closed by setting the open property to true or false:

const viewSettingsDialog = document.getElementById("exampleID");
viewSettingsDialog.open = true;
viewSettingsDialog.open = false;

fixes: https://github.com/SAP/ui5-webcomponents/issues/9240

  • @​property decorator must be adapted according to new type parameter
SAP/ui5-webcomponents (@​ui5/webcomponents-icons)

v2.0.0

Compare Source

Note: Version bump only for package @​ui5/webcomponents-icons

SAP/ui5-webcomponents (@​ui5/webcomponents-tools)

v2.0.0

Compare Source

Bug Fixes
Features
BREAKING CHANGES
  • @​property decorator must be adapted according to new type parameter

v1.24.6

Compare Source

Bug Fixes

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot requested review from MarcusNotheis and Lukas742 as code owners July 4, 2024 08:28
@renovate renovate bot added the dependencies PR or issue concerning dependency files label Jul 4, 2024
Copy link
Contributor Author

renovate bot commented Jul 4, 2024

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update. You will not get PRs for any future 2.x releases. But if you manually upgrade to 2.x then Renovate will re-enable minor and patch updates automatically.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.

@renovate renovate bot deleted the renovate/v1.29.x-major-ui5-web-components branch July 4, 2024 08:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies PR or issue concerning dependency files
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant