@gitlab/ui 122.7.0 → 122.8.0

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.
@@ -608,7 +608,7 @@ const GL_DROPDOWN_OPTION_BACKGROUND_COLOR_SELECTED_DEFAULT = '#3a383f';
608
608
  const GL_DROPDOWN_OPTION_BACKGROUND_COLOR_SELECTED_HOVER = '#4c4b51';
609
609
  const GL_DROPDOWN_OPTION_BACKGROUND_COLOR_SELECTED_FOCUS = '#4c4b51';
610
610
  const GL_DROPDOWN_OPTION_BACKGROUND_COLOR_SELECTED_ACTIVE = '#28272d';
611
- const GL_DROPDOWN_SEARCH_BACKGROUND_COLOR = 'rgba(05, 05, 06, 0.24)';
611
+ const GL_DROPDOWN_SEARCH_BACKGROUND_COLOR = 'rgba(05, 05, 06, 0.16)';
612
612
  const GL_FILTERED_SEARCH_TOKEN_TYPE_BACKGROUND_COLOR_DEFAULT = '#28272d';
613
613
  const GL_FILTERED_SEARCH_TOKEN_TYPE_BACKGROUND_COLOR_HOVER = '#3a383f';
614
614
  const GL_FILTERED_SEARCH_TOKEN_DATA_BACKGROUND_COLOR_DEFAULT = '#3a383f';
@@ -752,7 +752,7 @@
752
752
  --gl-dropdown-option-background-color-selected-default: var(--gl-color-neutral-800); /** Used for the background of a selected dropdown option in the default state. */
753
753
  --gl-dropdown-option-background-color-selected-hover: var(--gl-color-neutral-700); /** Used for the background of a selected dropdown option in the hover state. */
754
754
  --gl-dropdown-option-background-color-selected-active: var(--gl-color-neutral-900); /** Used for the background of a selected dropdown option in the active state. */
755
- --gl-dropdown-search-background-color: var(--gl-color-alpha-dark-24); /** Used for the background of a search input in a dropdown listbox. */
755
+ --gl-dropdown-search-background-color: var(--gl-color-alpha-dark-16); /** Used for the background of a search input in a dropdown listbox. */
756
756
  --gl-filtered-search-token-type-background-color-default: var(--gl-color-neutral-900); /** Used for the filtered search type token background color in the default state. */
757
757
  --gl-filtered-search-token-type-background-color-hover: var(--gl-color-neutral-800); /** Used for the filtered search type token background color in the hover state. */
758
758
  --gl-filtered-search-token-data-background-color-default: var(--gl-color-neutral-800); /** Used for the filtered search data background color in the default state. */
@@ -17039,6 +17039,7 @@
17039
17039
  "STROKE_COLOR"
17040
17040
  ]
17041
17041
  },
17042
+ "$deprecated": true,
17042
17043
  "filePath": "src/tokens/contextual/dropdown.tokens.json",
17043
17044
  "isSource": true,
17044
17045
  "original": {
@@ -17054,6 +17055,7 @@
17054
17055
  "STROKE_COLOR"
17055
17056
  ]
17056
17057
  },
17058
+ "$deprecated": true,
17057
17059
  "key": "{dropdown.border.color}"
17058
17060
  },
17059
17061
  "name": "DROPDOWN_BORDER_COLOR",
@@ -17039,6 +17039,7 @@
17039
17039
  "STROKE_COLOR"
17040
17040
  ]
17041
17041
  },
17042
+ "$deprecated": true,
17042
17043
  "filePath": "src/tokens/contextual/dropdown.tokens.json",
17043
17044
  "isSource": true,
17044
17045
  "original": {
@@ -17054,6 +17055,7 @@
17054
17055
  "STROKE_COLOR"
17055
17056
  ]
17056
17057
  },
17058
+ "$deprecated": true,
17057
17059
  "key": "{dropdown.border.color}"
17058
17060
  },
17059
17061
  "name": "DROPDOWN_BORDER_COLOR",
@@ -4267,7 +4267,8 @@
4267
4267
  "EFFECT_COLOR",
4268
4268
  "STROKE_COLOR"
4269
4269
  ]
4270
- }
4270
+ },
4271
+ "$deprecated": true
4271
4272
  }
4272
4273
  },
4273
4274
  "divider": {
@@ -4502,7 +4503,7 @@
4502
4503
  "color": {
4503
4504
  "$value": {
4504
4505
  "default": "{color.alpha.dark.2}",
4505
- "dark": "{color.alpha.dark.24}"
4506
+ "dark": "{color.alpha.dark.16}"
4506
4507
  },
4507
4508
  "$type": "color",
4508
4509
  "$description": "Used for the background of a search input in a dropdown listbox.",
@@ -636,7 +636,7 @@ export const GL_DROPDOWN_OPTION_BACKGROUND_COLOR_SELECTED_DEFAULT = "#3a383f";
636
636
  export const GL_DROPDOWN_OPTION_BACKGROUND_COLOR_SELECTED_HOVER = "#4c4b51";
637
637
  export const GL_DROPDOWN_OPTION_BACKGROUND_COLOR_SELECTED_FOCUS = "#4c4b51";
638
638
  export const GL_DROPDOWN_OPTION_BACKGROUND_COLOR_SELECTED_ACTIVE = "#28272d";
639
- export const GL_DROPDOWN_SEARCH_BACKGROUND_COLOR = "rgba(05, 05, 06, 0.24)";
639
+ export const GL_DROPDOWN_SEARCH_BACKGROUND_COLOR = "rgba(05, 05, 06, 0.16)";
640
640
  export const GL_FILTERED_SEARCH_TOKEN_TYPE_BACKGROUND_COLOR_DEFAULT = "#28272d";
641
641
  export const GL_FILTERED_SEARCH_TOKEN_TYPE_BACKGROUND_COLOR_HOVER = "#3a383f";
642
642
  export const GL_FILTERED_SEARCH_TOKEN_DATA_BACKGROUND_COLOR_DEFAULT = "#3a383f";
@@ -18537,6 +18537,7 @@
18537
18537
  "STROKE_COLOR"
18538
18538
  ]
18539
18539
  },
18540
+ "$deprecated": true,
18540
18541
  "filePath": "src/tokens/contextual/dropdown.tokens.json",
18541
18542
  "isSource": true,
18542
18543
  "original": {
@@ -18552,6 +18553,7 @@
18552
18553
  "STROKE_COLOR"
18553
18554
  ]
18554
18555
  },
18556
+ "$deprecated": true,
18555
18557
  "key": "{dropdown.border.color}"
18556
18558
  },
18557
18559
  "name": "DROPDOWN_BORDER_COLOR",
@@ -19231,7 +19233,7 @@
19231
19233
  "background": {
19232
19234
  "color": {
19233
19235
  "key": "{dropdown.search.background.color}",
19234
- "$value": "rgba(05, 05, 06, 0.24)",
19236
+ "$value": "rgba(05, 05, 06, 0.16)",
19235
19237
  "$type": "color",
19236
19238
  "$description": "Used for the background of a search input in a dropdown listbox.",
19237
19239
  "$extensions": {
@@ -19245,7 +19247,7 @@
19245
19247
  "original": {
19246
19248
  "$value": {
19247
19249
  "default": "{color.alpha.dark.2}",
19248
- "dark": "{color.alpha.dark.24}"
19250
+ "dark": "{color.alpha.dark.16}"
19249
19251
  },
19250
19252
  "$type": "color",
19251
19253
  "$description": "Used for the background of a search input in a dropdown listbox.",
@@ -18537,6 +18537,7 @@
18537
18537
  "STROKE_COLOR"
18538
18538
  ]
18539
18539
  },
18540
+ "$deprecated": true,
18540
18541
  "filePath": "src/tokens/contextual/dropdown.tokens.json",
18541
18542
  "isSource": true,
18542
18543
  "original": {
@@ -18552,6 +18553,7 @@
18552
18553
  "STROKE_COLOR"
18553
18554
  ]
18554
18555
  },
18556
+ "$deprecated": true,
18555
18557
  "key": "{dropdown.border.color}"
18556
18558
  },
18557
18559
  "name": "DROPDOWN_BORDER_COLOR",
@@ -19245,7 +19247,7 @@
19245
19247
  "original": {
19246
19248
  "$value": {
19247
19249
  "default": "{color.alpha.dark.2}",
19248
- "dark": "{color.alpha.dark.24}"
19250
+ "dark": "{color.alpha.dark.16}"
19249
19251
  },
19250
19252
  "$type": "color",
19251
19253
  "$description": "Used for the background of a search input in a dropdown listbox.",
@@ -750,7 +750,7 @@ $gl-dropdown-option-background-color-unselected-active: $gl-action-neutral-backg
750
750
  $gl-dropdown-option-background-color-selected-default: $gl-color-neutral-800; // Used for the background of a selected dropdown option in the default state.
751
751
  $gl-dropdown-option-background-color-selected-hover: $gl-color-neutral-700; // Used for the background of a selected dropdown option in the hover state.
752
752
  $gl-dropdown-option-background-color-selected-active: $gl-color-neutral-900; // Used for the background of a selected dropdown option in the active state.
753
- $gl-dropdown-search-background-color: $gl-color-alpha-dark-24; // Used for the background of a search input in a dropdown listbox.
753
+ $gl-dropdown-search-background-color: $gl-color-alpha-dark-16; // Used for the background of a search input in a dropdown listbox.
754
754
  $gl-filtered-search-token-type-background-color-default: $gl-color-neutral-900; // Used for the filtered search type token background color in the default state.
755
755
  $gl-filtered-search-token-type-background-color-hover: $gl-color-neutral-800; // Used for the filtered search type token background color in the hover state.
756
756
  $gl-filtered-search-token-data-background-color-default: $gl-color-neutral-800; // Used for the filtered search data background color in the default state.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gitlab/ui",
3
- "version": "122.7.0",
3
+ "version": "122.8.0",
4
4
  "description": "GitLab UI Components",
5
5
  "license": "MIT",
6
6
  "main": "dist/index.js",
@@ -11,10 +11,6 @@
11
11
  // these create the 45deg cutoff angle at the base of the caret
12
12
  border-bottom: 1px solid var(--gl-dropdown-background-color);
13
13
  border-right: 1px solid var(--gl-dropdown-background-color);
14
-
15
- // match the dropdown border
16
- border-top: 1px solid var(--gl-dropdown-border-color);
17
- border-left: 1px solid var(--gl-dropdown-border-color);
18
14
  position: absolute;
19
15
  }
20
16
 
@@ -31,7 +27,6 @@
31
27
  .gl-new-dropdown-panel {
32
28
  @apply gl-hidden;
33
29
  @apply gl-bg-dropdown;
34
- @apply gl-border-1 gl-border-solid gl-border-dropdown;
35
30
  @apply gl-rounded-lg;
36
31
  @apply gl-drop-shadow-md;
37
32
  top: 0;
@@ -752,7 +752,7 @@
752
752
  --gl-dropdown-option-background-color-selected-default: var(--gl-color-neutral-800); /** Used for the background of a selected dropdown option in the default state. */
753
753
  --gl-dropdown-option-background-color-selected-hover: var(--gl-color-neutral-700); /** Used for the background of a selected dropdown option in the hover state. */
754
754
  --gl-dropdown-option-background-color-selected-active: var(--gl-color-neutral-900); /** Used for the background of a selected dropdown option in the active state. */
755
- --gl-dropdown-search-background-color: var(--gl-color-alpha-dark-24); /** Used for the background of a search input in a dropdown listbox. */
755
+ --gl-dropdown-search-background-color: var(--gl-color-alpha-dark-16); /** Used for the background of a search input in a dropdown listbox. */
756
756
  --gl-filtered-search-token-type-background-color-default: var(--gl-color-neutral-900); /** Used for the filtered search type token background color in the default state. */
757
757
  --gl-filtered-search-token-type-background-color-hover: var(--gl-color-neutral-800); /** Used for the filtered search type token background color in the hover state. */
758
758
  --gl-filtered-search-token-data-background-color-default: var(--gl-color-neutral-800); /** Used for the filtered search data background color in the default state. */
@@ -17039,6 +17039,7 @@
17039
17039
  "STROKE_COLOR"
17040
17040
  ]
17041
17041
  },
17042
+ "$deprecated": true,
17042
17043
  "filePath": "src/tokens/contextual/dropdown.tokens.json",
17043
17044
  "isSource": true,
17044
17045
  "original": {
@@ -17054,6 +17055,7 @@
17054
17055
  "STROKE_COLOR"
17055
17056
  ]
17056
17057
  },
17058
+ "$deprecated": true,
17057
17059
  "key": "{dropdown.border.color}"
17058
17060
  },
17059
17061
  "name": "DROPDOWN_BORDER_COLOR",
@@ -17039,6 +17039,7 @@
17039
17039
  "STROKE_COLOR"
17040
17040
  ]
17041
17041
  },
17042
+ "$deprecated": true,
17042
17043
  "filePath": "src/tokens/contextual/dropdown.tokens.json",
17043
17044
  "isSource": true,
17044
17045
  "original": {
@@ -17054,6 +17055,7 @@
17054
17055
  "STROKE_COLOR"
17055
17056
  ]
17056
17057
  },
17058
+ "$deprecated": true,
17057
17059
  "key": "{dropdown.border.color}"
17058
17060
  },
17059
17061
  "name": "DROPDOWN_BORDER_COLOR",
@@ -4267,7 +4267,8 @@
4267
4267
  "EFFECT_COLOR",
4268
4268
  "STROKE_COLOR"
4269
4269
  ]
4270
- }
4270
+ },
4271
+ "$deprecated": true
4271
4272
  }
4272
4273
  },
4273
4274
  "divider": {
@@ -4502,7 +4503,7 @@
4502
4503
  "color": {
4503
4504
  "$value": {
4504
4505
  "default": "{color.alpha.dark.2}",
4505
- "dark": "{color.alpha.dark.24}"
4506
+ "dark": "{color.alpha.dark.16}"
4506
4507
  },
4507
4508
  "$type": "color",
4508
4509
  "$description": "Used for the background of a search input in a dropdown listbox.",
@@ -608,7 +608,7 @@ export const GL_DROPDOWN_OPTION_BACKGROUND_COLOR_SELECTED_DEFAULT = '#3a383f';
608
608
  export const GL_DROPDOWN_OPTION_BACKGROUND_COLOR_SELECTED_HOVER = '#4c4b51';
609
609
  export const GL_DROPDOWN_OPTION_BACKGROUND_COLOR_SELECTED_FOCUS = '#4c4b51';
610
610
  export const GL_DROPDOWN_OPTION_BACKGROUND_COLOR_SELECTED_ACTIVE = '#28272d';
611
- export const GL_DROPDOWN_SEARCH_BACKGROUND_COLOR = 'rgba(05, 05, 06, 0.24)';
611
+ export const GL_DROPDOWN_SEARCH_BACKGROUND_COLOR = 'rgba(05, 05, 06, 0.16)';
612
612
  export const GL_FILTERED_SEARCH_TOKEN_TYPE_BACKGROUND_COLOR_DEFAULT = '#28272d';
613
613
  export const GL_FILTERED_SEARCH_TOKEN_TYPE_BACKGROUND_COLOR_HOVER = '#3a383f';
614
614
  export const GL_FILTERED_SEARCH_TOKEN_DATA_BACKGROUND_COLOR_DEFAULT = '#3a383f';
@@ -18537,6 +18537,7 @@
18537
18537
  "STROKE_COLOR"
18538
18538
  ]
18539
18539
  },
18540
+ "$deprecated": true,
18540
18541
  "filePath": "src/tokens/contextual/dropdown.tokens.json",
18541
18542
  "isSource": true,
18542
18543
  "original": {
@@ -18552,6 +18553,7 @@
18552
18553
  "STROKE_COLOR"
18553
18554
  ]
18554
18555
  },
18556
+ "$deprecated": true,
18555
18557
  "key": "{dropdown.border.color}"
18556
18558
  },
18557
18559
  "name": "DROPDOWN_BORDER_COLOR",
@@ -19231,7 +19233,7 @@
19231
19233
  "background": {
19232
19234
  "color": {
19233
19235
  "key": "{dropdown.search.background.color}",
19234
- "$value": "rgba(05, 05, 06, 0.24)",
19236
+ "$value": "rgba(05, 05, 06, 0.16)",
19235
19237
  "$type": "color",
19236
19238
  "$description": "Used for the background of a search input in a dropdown listbox.",
19237
19239
  "$extensions": {
@@ -19245,7 +19247,7 @@
19245
19247
  "original": {
19246
19248
  "$value": {
19247
19249
  "default": "{color.alpha.dark.2}",
19248
- "dark": "{color.alpha.dark.24}"
19250
+ "dark": "{color.alpha.dark.16}"
19249
19251
  },
19250
19252
  "$type": "color",
19251
19253
  "$description": "Used for the background of a search input in a dropdown listbox.",
@@ -18537,6 +18537,7 @@
18537
18537
  "STROKE_COLOR"
18538
18538
  ]
18539
18539
  },
18540
+ "$deprecated": true,
18540
18541
  "filePath": "src/tokens/contextual/dropdown.tokens.json",
18541
18542
  "isSource": true,
18542
18543
  "original": {
@@ -18552,6 +18553,7 @@
18552
18553
  "STROKE_COLOR"
18553
18554
  ]
18554
18555
  },
18556
+ "$deprecated": true,
18555
18557
  "key": "{dropdown.border.color}"
18556
18558
  },
18557
18559
  "name": "DROPDOWN_BORDER_COLOR",
@@ -19245,7 +19247,7 @@
19245
19247
  "original": {
19246
19248
  "$value": {
19247
19249
  "default": "{color.alpha.dark.2}",
19248
- "dark": "{color.alpha.dark.24}"
19250
+ "dark": "{color.alpha.dark.16}"
19249
19251
  },
19250
19252
  "$type": "color",
19251
19253
  "$description": "Used for the background of a search input in a dropdown listbox.",
@@ -750,7 +750,7 @@ $gl-dropdown-option-background-color-unselected-active: $gl-action-neutral-backg
750
750
  $gl-dropdown-option-background-color-selected-default: $gl-color-neutral-800; // Used for the background of a selected dropdown option in the default state.
751
751
  $gl-dropdown-option-background-color-selected-hover: $gl-color-neutral-700; // Used for the background of a selected dropdown option in the hover state.
752
752
  $gl-dropdown-option-background-color-selected-active: $gl-color-neutral-900; // Used for the background of a selected dropdown option in the active state.
753
- $gl-dropdown-search-background-color: $gl-color-alpha-dark-24; // Used for the background of a search input in a dropdown listbox.
753
+ $gl-dropdown-search-background-color: $gl-color-alpha-dark-16; // Used for the background of a search input in a dropdown listbox.
754
754
  $gl-filtered-search-token-type-background-color-default: $gl-color-neutral-900; // Used for the filtered search type token background color in the default state.
755
755
  $gl-filtered-search-token-type-background-color-hover: $gl-color-neutral-800; // Used for the filtered search type token background color in the hover state.
756
756
  $gl-filtered-search-token-data-background-color-default: $gl-color-neutral-800; // Used for the filtered search data background color in the default state.
@@ -26,7 +26,8 @@
26
26
  "EFFECT_COLOR",
27
27
  "STROKE_COLOR"
28
28
  ]
29
- }
29
+ },
30
+ "$deprecated": true
30
31
  }
31
32
  },
32
33
  "divider": {
@@ -261,7 +262,7 @@
261
262
  "color": {
262
263
  "$value": {
263
264
  "default": "{color.alpha.dark.2}",
264
- "dark": "{color.alpha.dark.24}"
265
+ "dark": "{color.alpha.dark.16}"
265
266
  },
266
267
  "$type": "color",
267
268
  "$description": "Used for the background of a search input in a dropdown listbox.",