Update dependency @gitlab/ui to v30 - autoclosed
This MR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| @gitlab/ui (source) | dependencies | major | 29.38.1 -> 30.0.0 |
MR created with the help of gitlab-org/frontend/renovate-gitlab-bot
Release Notes
gitlab-org/gitlab-ui
v30.0.0
Bug Fixes
- GlToast: set background opacity to 1 (46983f5)
Code Refactoring
- toast: Replace vue-toasted with BootstrapVue's Toast plugin (59e94f9)
BREAKING CHANGES
- toast: This replaces the internal toasts library.
BootstrapVue's built-in toasts are now used instead of vue-toasted.
As a result, the following changes should be made when upgrading:
- The following options have been renamed:
-
durationnow isautoHideDelay -
classNamenow istoasClass.
-
- The following options are not supported anymore:
fullWidthfitToScreencontainerClassiconPackIconthemecloseOnSwipekeepOnHoversingleton-
type(note that while this option was previously supported, it didn't have any effect visually and can thus be removed altogether)
- It is not possible to render HTML in toasts' body anymore, make sure
to only pass plain text to the
.show()method. - To adhere with the design system, the
positionoption has also been removed. Toasts should only appear in the bottom-left corner. - The callbacks have been backported:
-
onCompleteshould work as usual. -
onClick's second argument is an object with the following properties:-
idis the BootstrapVue toast's ID. -
hideis a method that can be called to hide the toast. It replacesgoAway(0).
-
-
29.38.1 (2021-06-18)
Bug Fixes
- GlEmptyState: Add role img to empty state image (53ad49f)
Configuration
-
If you want to rebase/retry this MR, check this box.
This MR has been generated by Renovate Bot.
Edited by GitLab Dependency Bot