Skip to content

Update dependency @gitlab/ui to v54

This MR contains the following updates:

Package Type Update Change
@gitlab/ui dependencies major 53.3.0 -> 54.0.0

MR created with the help of gitlab-org/frontend/renovate-gitlab-bot


Release Notes

gitlab-org/gitlab-ui

v54.0.0

Compare Source

Features
  • GlDisclosureDropdown: Loosen action item type (bb2b308)
  • GlDisclosureDropdown: Pass item to action (8ac2cbf)
BREAKING CHANGES
  • GlDisclosureDropdown: Action items are now determined by the lack of an href string. An item with an href string is rendered as a link item, whether or not it has an action callback.

Before this change, if an item had both an href and an action, it would render as a button. Now, it would render as an anchor.

  • GlDisclosureDropdown: The this of the GlDisclosureDropdown action callback is now undefined rather than the item it's attached to. It now receives the item as a regular argument instead.

This makes it more similar to the action event that's emitted by the component, such that the same function could be used in either way.

This also means that the same callback can be attached to all items, instead of requiring a unique callback for each item.


Configuration

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

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

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

🔕 Ignore: Close this MR and you won't be reminded about this update again.


  • If you want to rebase/retry this MR, click this checkbox.

This MR has been generated by Renovate Bot.

Merge request reports

Loading