@gitlab/ui 49.5.0 → 49.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gitlab/ui",
3
- "version": "49.5.0",
3
+ "version": "49.5.1",
4
4
  "description": "GitLab UI Components",
5
5
  "license": "MIT",
6
6
  "main": "dist/index.js",
@@ -1,6 +1,17 @@
1
1
  The dropdown component offers a user multiple items or actions to choose from which are initially
2
2
  collapsed behind a button.
3
3
 
4
+ > **NOTE**: This component will eventually be deprecated in favor of components
5
+ > more suited to the various use cases for dropdowns. Consider using a more
6
+ > appropriate component instead:
7
+ >
8
+ > - For single or multiselect options, use `GlListbox`.
9
+ > - For other use cases (e.g., displaying a list of actions like "Edit user",
10
+ > "Delete user"), continue to use `GlDropdown` for now.
11
+ >
12
+ > See [this epic](https://gitlab.com/groups/gitlab-org/-/epics/1059) for the
13
+ > most up-to-date information about what to use and when.
14
+
4
15
  ### Icon-only dropdown
5
16
 
6
17
  Icon-only dropdowns must have an accessible name.
@@ -72,7 +72,8 @@
72
72
  @include gl-display-none;
73
73
  }
74
74
 
75
- &.gl-button {
75
+ &.gl-button,
76
+ &.gl-button.btn-block {
76
77
  @include gl-pr-3;
77
78
 
78
79
  &.btn-sm {
@@ -162,6 +163,7 @@
162
163
  }
163
164
 
164
165
  .gl-button .dropdown-chevron,
166
+ .gl-button.btn-block .dropdown-chevron,
165
167
  .dropdown-chevron {
166
168
  @include gl-ml-2;
167
169
  @include gl-mr-0;