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
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 theGlDisclosureDropdown
action callback is nowundefined
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
-
If you want to rebase/retry this MR, click this checkbox.
This MR has been generated by Renovate Bot.