@gitlab/ui 134.7.0 → 134.9.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.
Files changed (62) hide show
  1. package/dist/components/base/new_dropdowns/listbox/listbox.js +1 -1
  2. package/dist/index.css +2 -2
  3. package/dist/index.css.map +1 -1
  4. package/dist/tailwind.css +1 -1
  5. package/dist/tailwind.css.map +1 -1
  6. package/dist/tokens/build/js/tokens.dark.js +3 -3
  7. package/dist/tokens/build/js/tokens.js +3 -3
  8. package/package.json +6 -6
  9. package/src/components/base/avatar_link/avatar_link.scss +2 -2
  10. package/src/components/base/badge/badge.scss +3 -3
  11. package/src/components/base/breadcrumb/breadcrumb.scss +2 -2
  12. package/src/components/base/button/button.scss +15 -15
  13. package/src/components/base/button_group/button_group.scss +1 -1
  14. package/src/components/base/datepicker/datepicker.scss +1 -1
  15. package/src/components/base/dropdown/dropdown_item.scss +3 -3
  16. package/src/components/base/form/form_checkbox/form_checkbox.scss +9 -7
  17. package/src/components/base/form/form_combobox/form_combobox.scss +4 -4
  18. package/src/components/base/form/form_input/form_input.scss +2 -2
  19. package/src/components/base/form/form_select/form_select.scss +3 -3
  20. package/src/components/base/label/label.scss +9 -9
  21. package/src/components/base/link/link.scss +11 -11
  22. package/src/components/base/nav_item/nav_item.scss +5 -5
  23. package/src/components/base/new_dropdowns/dropdown.scss +2 -2
  24. package/src/components/base/new_dropdowns/dropdown_item.scss +9 -9
  25. package/src/components/base/new_dropdowns/listbox/listbox.scss +1 -1
  26. package/src/components/base/new_dropdowns/listbox/listbox.vue +2 -2
  27. package/src/components/base/pagination/pagination.scss +2 -2
  28. package/src/components/base/path/path.scss +3 -3
  29. package/src/components/base/search_box_by_type/search_box_by_type.scss +1 -1
  30. package/src/components/base/tabs/tabs/tabs.scss +3 -3
  31. package/src/components/base/toggle/toggle.scss +4 -4
  32. package/src/components/base/token_selector/token_selector.scss +1 -1
  33. package/src/components/shared_components/clear_icon_button/clear_icon_button.scss +1 -1
  34. package/src/scss/mixins.scss +1 -1
  35. package/src/scss/themes.scss +10 -5
  36. package/src/tokens/build/css/tokens.css +3 -3
  37. package/src/tokens/build/css/tokens.dark.css +3 -3
  38. package/src/tokens/build/figma/mode.dark.json +3 -3
  39. package/src/tokens/build/figma/mode.json +3 -3
  40. package/src/tokens/build/js/tokens.dark.js +3 -3
  41. package/src/tokens/build/js/tokens.js +3 -3
  42. package/src/tokens/build/json/tokens.dark.json +6 -6
  43. package/src/tokens/build/json/tokens.json +6 -6
  44. package/src/tokens/build/scss/_tokens.dark.scss +3 -3
  45. package/src/tokens/build/scss/_tokens.scss +3 -3
  46. package/src/tokens/contextual/toggle.tokens.json +3 -3
  47. package/src/utils/string_utils.js +1 -1
  48. package/src/vendor/bootstrap/scss/_button-group.scss +1 -1
  49. package/src/vendor/bootstrap/scss/_buttons.scss +3 -3
  50. package/src/vendor/bootstrap/scss/_custom-forms.scss +5 -5
  51. package/src/vendor/bootstrap/scss/_forms.scss +2 -2
  52. package/src/vendor/bootstrap/scss/_input-group.scss +5 -5
  53. package/src/vendor/bootstrap/scss/_pagination.scss +1 -1
  54. package/src/vendor/bootstrap/scss/mixins/_badge.scss +1 -1
  55. package/src/vendor/bootstrap/scss/mixins/_buttons.scss +5 -5
  56. package/src/vendor/bootstrap/scss/mixins/_forms.scss +5 -5
  57. package/src/vendor/bootstrap/scss/mixins/_hover.scss +3 -3
  58. package/src/vendor/bootstrap/scss/mixins/_screen-reader.scss +1 -1
  59. package/src/vendor/bootstrap-vue/src/_utilities.scss +1 -1
  60. package/src/vendor/bootstrap-vue/src/components/dropdown/_dropdown-form.scss +2 -2
  61. package/src/vendor/bootstrap-vue/src/components/dropdown/_dropdown.scss +1 -1
  62. package/tailwind.defaults.js +5 -5
@@ -11,7 +11,7 @@
11
11
  @apply gl-border-none;
12
12
  @apply gl-cursor-pointer;
13
13
  @apply gl-appearance-none;
14
- @apply focus:gl-focus-inset;
14
+ @apply focus-visible:gl-focus-inset;
15
15
  min-height: 1.75rem;
16
16
  min-width: 1.75rem;
17
17
  border-radius: var(--gl-nav-item-border-radius);
@@ -38,13 +38,13 @@
38
38
  background-color: var(--gl-nav-item-background-color-hover);
39
39
  }
40
40
 
41
- &:focus {
41
+ &:focus-visible {
42
42
  color: var(--gl-nav-item-foreground-color-focus);
43
43
  background-color: var(--gl-nav-item-background-color-focus);
44
44
  }
45
45
 
46
46
  &:active,
47
- &:focus:active {
47
+ &:focus-visible:active {
48
48
  color: var(--gl-nav-item-foreground-color-active);
49
49
  background-color: var(--gl-nav-item-background-color-active);
50
50
  }
@@ -58,13 +58,13 @@
58
58
  background-color: var(--gl-nav-item-selected-background-color-hover);
59
59
  }
60
60
 
61
- &:focus {
61
+ &:focus-visible {
62
62
  color: var(--gl-nav-item-selected-foreground-color-focus);
63
63
  background-color: var(--gl-nav-item-selected-background-color-focus);
64
64
  }
65
65
 
66
66
  &:active,
67
- &:focus:active {
67
+ &:focus-visible:active {
68
68
  color: var(--gl-nav-item-selected-foreground-color-active);
69
69
  background-color: var(--gl-nav-item-selected-background-color-active);
70
70
  }
@@ -8,7 +8,7 @@
8
8
  @apply gl-cursor-pointer;
9
9
  }
10
10
 
11
- &:focus {
11
+ &:focus-visible {
12
12
  @apply gl-focus;
13
13
  }
14
14
  }
@@ -254,7 +254,7 @@
254
254
  }
255
255
 
256
256
  .gl-new-dropdown {
257
- .gl-new-dropdown-toggle:focus,
257
+ .gl-new-dropdown-toggle:focus-visible,
258
258
  .gl-new-dropdown-toggle:active {
259
259
  @apply gl-z-1;
260
260
  }
@@ -23,7 +23,7 @@
23
23
  }
24
24
  }
25
25
 
26
- &:not(.disabled):focus {
26
+ &:not(.disabled):focus-visible {
27
27
  .gl-new-dropdown-item-content {
28
28
  color: var(--gl-dropdown-option-text-color-focus);
29
29
  background-color: var(--gl-dropdown-option-background-color-unselected-focus);
@@ -31,7 +31,7 @@
31
31
  }
32
32
 
33
33
  &:not(.disabled):active,
34
- &:not(.disabled):focus:active {
34
+ &:not(.disabled):focus-visible:active {
35
35
  .gl-new-dropdown-item-content {
36
36
  color: var(--gl-dropdown-option-text-color-active);
37
37
  background-color: var(--gl-dropdown-option-background-color-unselected-active);
@@ -59,7 +59,7 @@
59
59
  }
60
60
  }
61
61
 
62
- &:not(.disabled):focus {
62
+ &:not(.disabled):focus-visible {
63
63
  .gl-new-dropdown-item-content {
64
64
  background-color: var(--gl-dropdown-option-background-color-selected-focus);
65
65
  }
@@ -70,7 +70,7 @@
70
70
  }
71
71
 
72
72
  &:not(.disabled):active,
73
- &:not(.disabled):focus:active {
73
+ &:not(.disabled):focus-visible:active {
74
74
  .gl-new-dropdown-item-content {
75
75
  background-color: var(--gl-dropdown-option-background-color-selected-active);
76
76
  }
@@ -86,14 +86,14 @@
86
86
  }
87
87
 
88
88
  &:not(.disabled):active,
89
- &:not(.disabled):focus,
90
- &:not(.disabled):focus:active {
89
+ &:not(.disabled):focus-visible,
90
+ &:not(.disabled):focus-visible:active {
91
91
  .gl-new-dropdown-item-content {
92
92
  @include gl-focus($inset: true);
93
93
  }
94
94
  }
95
95
 
96
- &:focus {
96
+ &:focus-visible {
97
97
  .gl-new-dropdown-item-content {
98
98
  z-index: 1;
99
99
  }
@@ -180,7 +180,7 @@
180
180
  }
181
181
  }
182
182
 
183
- &:focus {
183
+ &:focus-visible {
184
184
  .gl-new-dropdown-item-content {
185
185
  color: var(--gl-action-danger-foreground-color-focus);
186
186
  background-color: var(--gl-action-danger-background-color-focus);
@@ -188,7 +188,7 @@
188
188
  }
189
189
 
190
190
  &:active,
191
- &:focus:active {
191
+ &:focus-visible:active {
192
192
  .gl-new-dropdown-item-content {
193
193
  color: var(--gl-action-danger-foreground-color-active);
194
194
  background-color: var(--gl-action-danger-background-color-active);
@@ -17,7 +17,7 @@ $clear-button-size: 24px;
17
17
  @apply gl-text-default;
18
18
  background-color: var(--gl-dropdown-search-background-color);
19
19
 
20
- &:focus {
20
+ &:focus-visible {
21
21
  @include gl-focus($inset: true);
22
22
  }
23
23
 
@@ -1065,7 +1065,7 @@ export default {
1065
1065
  <gl-button
1066
1066
  v-if="showResetButton"
1067
1067
  category="tertiary"
1068
- class="!gl-m-0 !gl-w-auto gl-max-w-1/2 gl-flex-shrink-0 gl-text-ellipsis !gl-px-2 !gl-text-sm focus:!gl-focus-inset"
1068
+ class="!gl-m-0 !gl-w-auto gl-max-w-1/2 gl-flex-shrink-0 gl-text-ellipsis !gl-px-2 !gl-text-sm focus-visible:!gl-focus-inset"
1069
1069
  size="small"
1070
1070
  data-testid="listbox-reset-button"
1071
1071
  @click="onResetButtonClicked"
@@ -1075,7 +1075,7 @@ export default {
1075
1075
  <gl-button
1076
1076
  v-if="showSelectAllButton"
1077
1077
  category="tertiary"
1078
- class="!gl-m-0 !gl-w-auto gl-max-w-1/2 gl-flex-shrink-0 gl-text-ellipsis !gl-px-2 !gl-text-sm focus:!gl-focus-inset"
1078
+ class="!gl-m-0 !gl-w-auto gl-max-w-1/2 gl-flex-shrink-0 gl-text-ellipsis !gl-px-2 !gl-text-sm focus-visible:!gl-focus-inset"
1079
1079
  size="small"
1080
1080
  data-testid="listbox-select-all-button"
1081
1081
  @click="onSelectAllButtonClicked"
@@ -37,8 +37,8 @@
37
37
  @apply gl-no-underline;
38
38
  }
39
39
 
40
- &:focus,
41
- &:active:focus {
40
+ &:focus-visible,
41
+ &:active:focus-visible {
42
42
  @apply gl-no-underline;
43
43
  @apply gl-focus;
44
44
  }
@@ -91,7 +91,7 @@ $path-chevron-right-margin: px-to-rem(14px);
91
91
  color: var(--gl-action-neutral-foreground-color-hover);
92
92
  }
93
93
 
94
- &:focus {
94
+ &:focus-visible {
95
95
  background-color: var(--gl-action-neutral-background-color-focus);
96
96
  color: var(--gl-action-neutral-foreground-color-focus);
97
97
  }
@@ -102,8 +102,8 @@ $path-chevron-right-margin: px-to-rem(14px);
102
102
  }
103
103
 
104
104
  &:active,
105
- &:focus,
106
- &:focus:active {
105
+ &:focus-visible,
106
+ &:focus-visible:active {
107
107
  // Custom focus to account for path shape
108
108
  box-shadow:
109
109
  5px -3px 0 -2px var(--gl-focus-ring-inner-color),
@@ -47,7 +47,7 @@ $gl-search-box-by-type-input-padding: 3.5 * $grid-size;
47
47
  border-radius: 0;
48
48
  padding-right: calc(#{$gl-spacing-scale-6} + #{$gl-spacing-scale-2});
49
49
 
50
- &:not(.form-control-plaintext):focus {
50
+ &:not(.form-control-plaintext):focus-visible {
51
51
  @include gl-focus($inset: true);
52
52
  }
53
53
 
@@ -48,7 +48,7 @@
48
48
  translate: 0;
49
49
  }
50
50
 
51
- &:focus {
51
+ &:focus-visible {
52
52
  @apply gl-rounded-default;
53
53
  }
54
54
 
@@ -80,8 +80,8 @@
80
80
  z-index: 1;
81
81
 
82
82
  &:active,
83
- &:focus,
84
- &:focus:active {
83
+ &:focus-visible,
84
+ &:focus-visible:active {
85
85
  @include gl-focus($color: var(--gl-action-neutral-border-color-active));
86
86
 
87
87
  .gl-scrollable-tabs-nav & {
@@ -100,7 +100,7 @@ $toggle-height: 2.5 * $grid-size;
100
100
  }
101
101
  }
102
102
 
103
- &:focus {
103
+ &:focus-visible {
104
104
  color: var(--gl-toggle-switch-icon-color-unchecked-focus);
105
105
  background-color: var(--gl-toggle-switch-track-color-unchecked-focus);
106
106
  @include gl-focus($color: var(--gl-action-neutral-border-color-focus), $important: true);
@@ -167,7 +167,7 @@ $toggle-height: 2.5 * $grid-size;
167
167
  box-shadow: inset 0 0 0 $gl-border-size-1 var(--gl-action-neutral-border-color-hover);
168
168
  }
169
169
 
170
- &:focus {
170
+ &:focus-visible {
171
171
  color: var(--gl-toggle-switch-icon-color-checked-focus);
172
172
  background-color: var(--gl-toggle-switch-track-color-checked-focus);
173
173
  @include gl-focus($color: var(--gl-action-neutral-border-color-focus), $important: true);
@@ -214,8 +214,8 @@ $toggle-height: 2.5 * $grid-size;
214
214
  }
215
215
 
216
216
  &:active,
217
- &:focus,
218
- &:focus:active {
217
+ &:focus-visible,
218
+ &:focus-visible:active {
219
219
  @include gl-focus($color: var(--gl-action-disabled-border-color), $important: true);
220
220
  }
221
221
  }
@@ -14,7 +14,7 @@
14
14
  }
15
15
  }
16
16
 
17
- .gl-token-selector-token-container:focus .gl-token {
17
+ .gl-token-selector-token-container:focus-visible .gl-token {
18
18
  background-color: var(--gl-token-selector-token-container-token-background-color-focus);
19
19
  @apply gl-focus;
20
20
  }
@@ -3,7 +3,7 @@
3
3
  @apply gl-border-none;
4
4
  @apply gl-cursor-pointer;
5
5
 
6
- &:focus {
6
+ &:focus-visible {
7
7
  @apply gl-focus;
8
8
  }
9
9
  }
@@ -269,7 +269,7 @@
269
269
  border-color: var(--gl-action-selected-border-color-hover);
270
270
  }
271
271
 
272
- &:focus {
272
+ &:focus-visible {
273
273
  color: var(--gl-action-selected-foreground-color-focus);
274
274
  background-color: var(--gl-action-selected-background-color-focus);
275
275
  border-color: var(--gl-action-selected-border-color-focus);
@@ -1,4 +1,5 @@
1
- :root.tint-neutral-indigo {
1
+ :root.tint-neutral-indigo,
2
+ .ui-indigo-scope {
2
3
  --gl-color-neutral-0: #fff;
3
4
  --gl-color-neutral-10: #f9f8fa;
4
5
  --gl-color-neutral-50: #efebf2;
@@ -15,7 +16,8 @@
15
16
  --gl-color-neutral-1000: #0e0017;
16
17
  }
17
18
 
18
- :root.tint-neutral-blue {
19
+ :root.tint-neutral-blue,
20
+ .ui-blue-scope {
19
21
  --gl-color-neutral-0: #fff;
20
22
  --gl-color-neutral-10: #f8f8fa;
21
23
  --gl-color-neutral-50: #e9ebf0;
@@ -32,7 +34,8 @@
32
34
  --gl-color-neutral-1000: #010415;
33
35
  }
34
36
 
35
- :root.tint-neutral-green {
37
+ :root.tint-neutral-green,
38
+ .ui-green-scope {
36
39
  --gl-color-neutral-0: #fff;
37
40
  --gl-color-neutral-10: #f7f9f8;
38
41
  --gl-color-neutral-50: #e6edeb;
@@ -49,7 +52,8 @@
49
52
  --gl-color-neutral-1000: #000603;
50
53
  }
51
54
 
52
- :root.tint-neutral-red {
55
+ :root.tint-neutral-red,
56
+ .ui-red-scope {
53
57
  --gl-color-neutral-0: #fff;
54
58
  --gl-color-neutral-10: #fbf7f9;
55
59
  --gl-color-neutral-50: #f4eaee;
@@ -66,7 +70,8 @@
66
70
  --gl-color-neutral-1000: #100106;
67
71
  }
68
72
 
69
- :root.tint-neutral-gray {
73
+ :root.tint-neutral-gray,
74
+ .ui-gray-scope {
70
75
  --gl-color-neutral-0: #fff;
71
76
  --gl-color-neutral-10: #f8f8f8;
72
77
  --gl-color-neutral-50: #ececec;
@@ -1016,9 +1016,6 @@
1016
1016
  --gl-table-row-background-color-hover: var(--gl-highlight-target-background-color); /** Used for the background of a table row in hover state. */
1017
1017
  --gl-table-sorting-icon-color: var(--gl-text-color-heading); /** Used for the color of the sorting icons in the column headers. */
1018
1018
  --gl-toggle-switch-track-color-unchecked-default: var(--gl-control-border-color-default); /** Used for the track color of an unchecked toggle switch in the default state. */
1019
- --gl-toggle-switch-track-color-unchecked-hover: var(--gl-control-border-color-hover); /** Used for the track color of an unchecked toggle switch in the hover state. */
1020
- --gl-toggle-switch-track-color-unchecked-focus: var(--gl-control-border-color-focus); /** Used for the track color of an unchecked toggle switch in the focus state. */
1021
- --gl-toggle-switch-track-color-unchecked-active: var(--gl-control-border-color-focus); /** Used for the track color of an unchecked toggle switch in the active state. */
1022
1019
  --gl-toggle-switch-track-color-checked-focus: var(--gl-toggle-switch-track-color-checked-hover); /** Used for the track color of a checked toggle switch in the focus state. */
1023
1020
  --gl-toggle-switch-background-color-unchecked-default: var(--gl-control-indicator-color-selected); /** Used for the background color of the unchecked toggle switch thumb in the default state. */
1024
1021
  --gl-toggle-switch-background-color-checked-default: var(--gl-action-strong-confirm-foreground-color-default); /** Used for the background color of the checked toggle switch thumb in the default state. */
@@ -1228,6 +1225,7 @@
1228
1225
  --gl-nav-item-selected-foreground-color-hover: var(--gl-action-selected-foreground-color-hover); /** Used for the foreground of a selected navigation item in the hover state. */
1229
1226
  --gl-nav-item-selected-background-color-focus: var(--gl-action-selected-background-color-focus); /** Used for the background of a selected navigation item in the focus state. */
1230
1227
  --gl-tab-selected-indicator-color-default: var(--gl-action-selected-border-color-active); /** Used for the selected indicator of a tab. */
1228
+ --gl-toggle-switch-track-color-unchecked-hover: var(--gl-toggle-switch-track-color-unchecked-default); /** Used for the track color of an unchecked toggle switch in the hover state. */
1231
1229
  --gl-toggle-switch-background-color-unchecked-hover: var(--gl-toggle-switch-background-color-unchecked-default); /** Used for the background color of the unchecked toggle switch thumb in the hover state. */
1232
1230
  --gl-toggle-switch-background-color-unchecked-focus: var(--gl-toggle-switch-background-color-unchecked-default); /** Used for the background color of the unchecked toggle switch thumb in the focus state. */
1233
1231
  --gl-toggle-switch-background-color-unchecked-active: var(--gl-toggle-switch-background-color-unchecked-default); /** Used for the background color of the unchecked toggle switch thumb in the active state. */
@@ -1244,6 +1242,7 @@
1244
1242
  --gl-control-border-color-selected-focus: var(--gl-control-background-color-selected-focus); /** Used for checked and indeterminate (selected) form control (checkbox, radio button) border on focus. */
1245
1243
  --gl-button-confirm-primary-foreground-color-active: var(--gl-button-confirm-primary-foreground-color-focus); /** Used for the foreground of a confirm (positive) primary button in the active state. */
1246
1244
  --gl-nav-item-selected-foreground-color-focus: var(--gl-action-selected-foreground-color-focus); /** Used for the foreground of a selected navigation item in the focus state. */
1245
+ --gl-toggle-switch-track-color-unchecked-focus: var(--gl-toggle-switch-track-color-unchecked-hover); /** Used for the track color of an unchecked toggle switch in the focus state. */
1247
1246
  --gl-toggle-switch-background-color-checked-focus: var(--gl-action-strong-confirm-foreground-color-focus); /** Used for the background color of the checked toggle switch thumb in the focus state. */
1248
1247
  --gl-action-selected-foreground-color-active: var(--gl-action-selected-foreground-color-focus); /** Used for the foreground of a selected action in the active state. */
1249
1248
  --gl-action-strong-confirm-foreground-color-active: var(--gl-action-strong-confirm-foreground-color-focus); /** Used for the foreground of a strong confirm action in the active state. */
@@ -1251,5 +1250,6 @@
1251
1250
  --gl-action-strong-neutral-foreground-color-active: var(--gl-action-strong-neutral-foreground-color-focus); /** Used for the foreground of a strong neutral action in the active state. */
1252
1251
  --gl-action-strong-neutral-border-color-active: var(--gl-action-strong-neutral-border-color-focus); /** Used for the border of a strong neutral action in the active state. */
1253
1252
  --gl-nav-item-selected-foreground-color-active: var(--gl-action-selected-foreground-color-active); /** Used for the foreground of a selected navigation item in the active state. */
1253
+ --gl-toggle-switch-track-color-unchecked-active: var(--gl-toggle-switch-track-color-unchecked-focus); /** Used for the track color of an unchecked toggle switch in the active state. */
1254
1254
  --gl-toggle-switch-background-color-checked-active: var(--gl-action-strong-confirm-foreground-color-active); /** Used for the background color of the checked toggle switch thumb in the active state. */
1255
1255
  }
@@ -1023,9 +1023,6 @@
1023
1023
  --gl-table-row-background-color-hover: var(--gl-highlight-target-background-color); /** Used for the background of a table row in hover state. */
1024
1024
  --gl-table-sorting-icon-color: var(--gl-text-color-heading); /** Used for the color of the sorting icons in the column headers. */
1025
1025
  --gl-toggle-switch-track-color-unchecked-default: var(--gl-control-border-color-default); /** Used for the track color of an unchecked toggle switch in the default state. */
1026
- --gl-toggle-switch-track-color-unchecked-hover: var(--gl-control-border-color-hover); /** Used for the track color of an unchecked toggle switch in the hover state. */
1027
- --gl-toggle-switch-track-color-unchecked-focus: var(--gl-control-border-color-focus); /** Used for the track color of an unchecked toggle switch in the focus state. */
1028
- --gl-toggle-switch-track-color-unchecked-active: var(--gl-control-border-color-focus); /** Used for the track color of an unchecked toggle switch in the active state. */
1029
1026
  --gl-toggle-switch-track-color-checked-focus: var(--gl-toggle-switch-track-color-checked-hover); /** Used for the track color of a checked toggle switch in the focus state. */
1030
1027
  --gl-toggle-switch-background-color-unchecked-default: var(--gl-control-indicator-color-selected); /** Used for the background color of the unchecked toggle switch thumb in the default state. */
1031
1028
  --gl-toggle-switch-background-color-checked-default: var(--gl-action-strong-confirm-foreground-color-default); /** Used for the background color of the checked toggle switch thumb in the default state. */
@@ -1230,6 +1227,7 @@
1230
1227
  --gl-nav-item-selected-foreground-color-hover: var(--gl-action-selected-foreground-color-hover); /** Used for the foreground of a selected navigation item in the hover state. */
1231
1228
  --gl-nav-item-selected-background-color-focus: var(--gl-action-selected-background-color-focus); /** Used for the background of a selected navigation item in the focus state. */
1232
1229
  --gl-tab-selected-indicator-color-default: var(--gl-action-selected-border-color-active); /** Used for the selected indicator of a tab. */
1230
+ --gl-toggle-switch-track-color-unchecked-hover: var(--gl-toggle-switch-track-color-unchecked-default); /** Used for the track color of an unchecked toggle switch in the hover state. */
1233
1231
  --gl-toggle-switch-background-color-unchecked-hover: var(--gl-toggle-switch-background-color-unchecked-default); /** Used for the background color of the unchecked toggle switch thumb in the hover state. */
1234
1232
  --gl-toggle-switch-background-color-unchecked-focus: var(--gl-toggle-switch-background-color-unchecked-default); /** Used for the background color of the unchecked toggle switch thumb in the focus state. */
1235
1233
  --gl-toggle-switch-background-color-unchecked-active: var(--gl-toggle-switch-background-color-unchecked-default); /** Used for the background color of the unchecked toggle switch thumb in the active state. */
@@ -1245,11 +1243,13 @@
1245
1243
  --gl-control-border-color-selected-focus: var(--gl-control-background-color-selected-focus); /** Used for checked and indeterminate (selected) form control (checkbox, radio button) border on focus. */
1246
1244
  --gl-button-confirm-primary-foreground-color-active: var(--gl-button-confirm-primary-foreground-color-focus); /** Used for the foreground of a confirm (positive) primary button in the active state. */
1247
1245
  --gl-nav-item-selected-foreground-color-focus: var(--gl-action-selected-foreground-color-focus); /** Used for the foreground of a selected navigation item in the focus state. */
1246
+ --gl-toggle-switch-track-color-unchecked-focus: var(--gl-toggle-switch-track-color-unchecked-hover); /** Used for the track color of an unchecked toggle switch in the focus state. */
1248
1247
  --gl-toggle-switch-background-color-checked-focus: var(--gl-action-strong-confirm-foreground-color-focus); /** Used for the background color of the checked toggle switch thumb in the focus state. */
1249
1248
  --gl-action-selected-foreground-color-active: var(--gl-action-selected-foreground-color-focus); /** Used for the foreground of a selected action in the active state. */
1250
1249
  --gl-action-strong-confirm-foreground-color-active: var(--gl-action-strong-confirm-foreground-color-focus); /** Used for the foreground of a strong confirm action in the active state. */
1251
1250
  --gl-action-strong-confirm-border-color-active: var(--gl-action-strong-confirm-border-color-focus); /** Used for the border of a strong confirm action in the active state. */
1252
1251
  --gl-action-strong-neutral-border-color-active: var(--gl-action-strong-neutral-border-color-focus); /** Used for the border of a strong neutral action in the active state. */
1253
1252
  --gl-nav-item-selected-foreground-color-active: var(--gl-action-selected-foreground-color-active); /** Used for the foreground of a selected navigation item in the active state. */
1253
+ --gl-toggle-switch-track-color-unchecked-active: var(--gl-toggle-switch-track-color-unchecked-focus); /** Used for the track color of an unchecked toggle switch in the active state. */
1254
1254
  --gl-toggle-switch-background-color-checked-active: var(--gl-action-strong-confirm-foreground-color-active); /** Used for the background color of the checked toggle switch thumb in the active state. */
1255
1255
  }
@@ -5120,7 +5120,7 @@
5120
5120
  }
5121
5121
  },
5122
5122
  "🔒/toggle-switch-track-color-unchecked-hover": {
5123
- "$value": "{control-border-color-hover}",
5123
+ "$value": "{🔒/toggle-switch-track-color-unchecked-default}",
5124
5124
  "$type": "color",
5125
5125
  "$description": "Used for the track color of an unchecked toggle switch in the hover state.",
5126
5126
  "$extensions": {
@@ -5130,7 +5130,7 @@
5130
5130
  }
5131
5131
  },
5132
5132
  "🔒/toggle-switch-track-color-unchecked-focus": {
5133
- "$value": "{control-border-color-focus}",
5133
+ "$value": "{🔒/toggle-switch-track-color-unchecked-hover}",
5134
5134
  "$type": "color",
5135
5135
  "$description": "Used for the track color of an unchecked toggle switch in the focus state.",
5136
5136
  "$extensions": {
@@ -5140,7 +5140,7 @@
5140
5140
  }
5141
5141
  },
5142
5142
  "🔒/toggle-switch-track-color-unchecked-active": {
5143
- "$value": "{control-border-color-focus}",
5143
+ "$value": "{🔒/toggle-switch-track-color-unchecked-focus}",
5144
5144
  "$type": "color",
5145
5145
  "$description": "Used for the track color of an unchecked toggle switch in the active state.",
5146
5146
  "$extensions": {
@@ -5064,7 +5064,7 @@
5064
5064
  }
5065
5065
  },
5066
5066
  "🔒/toggle-switch-track-color-unchecked-hover": {
5067
- "$value": "{control-border-color-hover}",
5067
+ "$value": "{🔒/toggle-switch-track-color-unchecked-default}",
5068
5068
  "$type": "color",
5069
5069
  "$description": "Used for the track color of an unchecked toggle switch in the hover state.",
5070
5070
  "$extensions": {
@@ -5074,7 +5074,7 @@
5074
5074
  }
5075
5075
  },
5076
5076
  "🔒/toggle-switch-track-color-unchecked-focus": {
5077
- "$value": "{control-border-color-focus}",
5077
+ "$value": "{🔒/toggle-switch-track-color-unchecked-hover}",
5078
5078
  "$type": "color",
5079
5079
  "$description": "Used for the track color of an unchecked toggle switch in the focus state.",
5080
5080
  "$extensions": {
@@ -5084,7 +5084,7 @@
5084
5084
  }
5085
5085
  },
5086
5086
  "🔒/toggle-switch-track-color-unchecked-active": {
5087
- "$value": "{control-border-color-focus}",
5087
+ "$value": "{🔒/toggle-switch-track-color-unchecked-focus}",
5088
5088
  "$type": "color",
5089
5089
  "$description": "Used for the track color of an unchecked toggle switch in the active state.",
5090
5090
  "$extensions": {
@@ -798,9 +798,9 @@ export const GL_TABLE_ROW_BACKGROUND_COLOR_HOVER = '#1d283e';
798
798
  export const GL_TABLE_SORTING_ICON_COLOR = '#fff';
799
799
  export const GL_TAB_SELECTED_INDICATOR_COLOR_DEFAULT = '#fff';
800
800
  export const GL_TOGGLE_SWITCH_TRACK_COLOR_UNCHECKED_DEFAULT = '#737278';
801
- export const GL_TOGGLE_SWITCH_TRACK_COLOR_UNCHECKED_HOVER = '#a4a3a8';
802
- export const GL_TOGGLE_SWITCH_TRACK_COLOR_UNCHECKED_FOCUS = '#ececef';
803
- export const GL_TOGGLE_SWITCH_TRACK_COLOR_UNCHECKED_ACTIVE = '#ececef';
801
+ export const GL_TOGGLE_SWITCH_TRACK_COLOR_UNCHECKED_HOVER = '#737278';
802
+ export const GL_TOGGLE_SWITCH_TRACK_COLOR_UNCHECKED_FOCUS = '#737278';
803
+ export const GL_TOGGLE_SWITCH_TRACK_COLOR_UNCHECKED_ACTIVE = '#737278';
804
804
  export const GL_TOGGLE_SWITCH_TRACK_COLOR_CHECKED_DEFAULT = '#ececef';
805
805
  export const GL_TOGGLE_SWITCH_TRACK_COLOR_CHECKED_HOVER = '#fbfafd';
806
806
  export const GL_TOGGLE_SWITCH_TRACK_COLOR_CHECKED_FOCUS = '#fbfafd';
@@ -798,9 +798,9 @@ export const GL_TABLE_ROW_BACKGROUND_COLOR_HOVER = '#e9f3fc';
798
798
  export const GL_TABLE_SORTING_ICON_COLOR = '#18171d';
799
799
  export const GL_TAB_SELECTED_INDICATOR_COLOR_DEFAULT = '#050506';
800
800
  export const GL_TOGGLE_SWITCH_TRACK_COLOR_UNCHECKED_DEFAULT = '#89888d';
801
- export const GL_TOGGLE_SWITCH_TRACK_COLOR_UNCHECKED_HOVER = '#626168';
802
- export const GL_TOGGLE_SWITCH_TRACK_COLOR_UNCHECKED_FOCUS = '#28272d';
803
- export const GL_TOGGLE_SWITCH_TRACK_COLOR_UNCHECKED_ACTIVE = '#28272d';
801
+ export const GL_TOGGLE_SWITCH_TRACK_COLOR_UNCHECKED_HOVER = '#89888d';
802
+ export const GL_TOGGLE_SWITCH_TRACK_COLOR_UNCHECKED_FOCUS = '#89888d';
803
+ export const GL_TOGGLE_SWITCH_TRACK_COLOR_UNCHECKED_ACTIVE = '#89888d';
804
804
  export const GL_TOGGLE_SWITCH_TRACK_COLOR_CHECKED_DEFAULT = '#3a383f';
805
805
  export const GL_TOGGLE_SWITCH_TRACK_COLOR_CHECKED_HOVER = '#18171d';
806
806
  export const GL_TOGGLE_SWITCH_TRACK_COLOR_CHECKED_FOCUS = '#18171d';
@@ -23847,7 +23847,7 @@
23847
23847
  },
23848
23848
  "hover": {
23849
23849
  "key": "{toggle.switch.track.color.unchecked.hover}",
23850
- "$value": "#a4a3a8",
23850
+ "$value": "#737278",
23851
23851
  "$type": "color",
23852
23852
  "$description": "Used for the track color of an unchecked toggle switch in the hover state.",
23853
23853
  "$extensions": {
@@ -23858,7 +23858,7 @@
23858
23858
  "filePath": "src/tokens/contextual/toggle.tokens.json",
23859
23859
  "isSource": true,
23860
23860
  "original": {
23861
- "$value": "{control.border.color.hover}",
23861
+ "$value": "{toggle.switch.track.color.unchecked.default}",
23862
23862
  "$type": "color",
23863
23863
  "$description": "Used for the track color of an unchecked toggle switch in the hover state.",
23864
23864
  "$extensions": {
@@ -23881,7 +23881,7 @@
23881
23881
  },
23882
23882
  "focus": {
23883
23883
  "key": "{toggle.switch.track.color.unchecked.focus}",
23884
- "$value": "#ececef",
23884
+ "$value": "#737278",
23885
23885
  "$type": "color",
23886
23886
  "$description": "Used for the track color of an unchecked toggle switch in the focus state.",
23887
23887
  "$extensions": {
@@ -23892,7 +23892,7 @@
23892
23892
  "filePath": "src/tokens/contextual/toggle.tokens.json",
23893
23893
  "isSource": true,
23894
23894
  "original": {
23895
- "$value": "{control.border.color.focus}",
23895
+ "$value": "{toggle.switch.track.color.unchecked.hover}",
23896
23896
  "$type": "color",
23897
23897
  "$description": "Used for the track color of an unchecked toggle switch in the focus state.",
23898
23898
  "$extensions": {
@@ -23915,7 +23915,7 @@
23915
23915
  },
23916
23916
  "active": {
23917
23917
  "key": "{toggle.switch.track.color.unchecked.active}",
23918
- "$value": "#ececef",
23918
+ "$value": "#737278",
23919
23919
  "$type": "color",
23920
23920
  "$description": "Used for the track color of an unchecked toggle switch in the active state.",
23921
23921
  "$extensions": {
@@ -23926,7 +23926,7 @@
23926
23926
  "filePath": "src/tokens/contextual/toggle.tokens.json",
23927
23927
  "isSource": true,
23928
23928
  "original": {
23929
- "$value": "{control.border.color.focus}",
23929
+ "$value": "{toggle.switch.track.color.unchecked.focus}",
23930
23930
  "$type": "color",
23931
23931
  "$description": "Used for the track color of an unchecked toggle switch in the active state.",
23932
23932
  "$extensions": {
@@ -23847,7 +23847,7 @@
23847
23847
  },
23848
23848
  "hover": {
23849
23849
  "key": "{toggle.switch.track.color.unchecked.hover}",
23850
- "$value": "#626168",
23850
+ "$value": "#89888d",
23851
23851
  "$type": "color",
23852
23852
  "$description": "Used for the track color of an unchecked toggle switch in the hover state.",
23853
23853
  "$extensions": {
@@ -23858,7 +23858,7 @@
23858
23858
  "filePath": "src/tokens/contextual/toggle.tokens.json",
23859
23859
  "isSource": true,
23860
23860
  "original": {
23861
- "$value": "{control.border.color.hover}",
23861
+ "$value": "{toggle.switch.track.color.unchecked.default}",
23862
23862
  "$type": "color",
23863
23863
  "$description": "Used for the track color of an unchecked toggle switch in the hover state.",
23864
23864
  "$extensions": {
@@ -23881,7 +23881,7 @@
23881
23881
  },
23882
23882
  "focus": {
23883
23883
  "key": "{toggle.switch.track.color.unchecked.focus}",
23884
- "$value": "#28272d",
23884
+ "$value": "#89888d",
23885
23885
  "$type": "color",
23886
23886
  "$description": "Used for the track color of an unchecked toggle switch in the focus state.",
23887
23887
  "$extensions": {
@@ -23892,7 +23892,7 @@
23892
23892
  "filePath": "src/tokens/contextual/toggle.tokens.json",
23893
23893
  "isSource": true,
23894
23894
  "original": {
23895
- "$value": "{control.border.color.focus}",
23895
+ "$value": "{toggle.switch.track.color.unchecked.hover}",
23896
23896
  "$type": "color",
23897
23897
  "$description": "Used for the track color of an unchecked toggle switch in the focus state.",
23898
23898
  "$extensions": {
@@ -23915,7 +23915,7 @@
23915
23915
  },
23916
23916
  "active": {
23917
23917
  "key": "{toggle.switch.track.color.unchecked.active}",
23918
- "$value": "#28272d",
23918
+ "$value": "#89888d",
23919
23919
  "$type": "color",
23920
23920
  "$description": "Used for the track color of an unchecked toggle switch in the active state.",
23921
23921
  "$extensions": {
@@ -23926,7 +23926,7 @@
23926
23926
  "filePath": "src/tokens/contextual/toggle.tokens.json",
23927
23927
  "isSource": true,
23928
23928
  "original": {
23929
- "$value": "{control.border.color.focus}",
23929
+ "$value": "{toggle.switch.track.color.unchecked.focus}",
23930
23930
  "$type": "color",
23931
23931
  "$description": "Used for the track color of an unchecked toggle switch in the active state.",
23932
23932
  "$extensions": {
@@ -1021,9 +1021,6 @@ $gl-progress-bar-indicator-color-danger: $gl-status-danger-icon-color; // Used f
1021
1021
  $gl-table-row-background-color-hover: $gl-highlight-target-background-color; // Used for the background of a table row in hover state.
1022
1022
  $gl-table-sorting-icon-color: $gl-text-color-heading; // Used for the color of the sorting icons in the column headers.
1023
1023
  $gl-toggle-switch-track-color-unchecked-default: $gl-control-border-color-default; // Used for the track color of an unchecked toggle switch in the default state.
1024
- $gl-toggle-switch-track-color-unchecked-hover: $gl-control-border-color-hover; // Used for the track color of an unchecked toggle switch in the hover state.
1025
- $gl-toggle-switch-track-color-unchecked-focus: $gl-control-border-color-focus; // Used for the track color of an unchecked toggle switch in the focus state.
1026
- $gl-toggle-switch-track-color-unchecked-active: $gl-control-border-color-focus; // Used for the track color of an unchecked toggle switch in the active state.
1027
1024
  $gl-toggle-switch-track-color-checked-focus: $gl-toggle-switch-track-color-checked-hover; // Used for the track color of a checked toggle switch in the focus state.
1028
1025
  $gl-toggle-switch-background-color-unchecked-default: $gl-control-indicator-color-selected; // Used for the background color of the unchecked toggle switch thumb in the default state.
1029
1026
  $gl-toggle-switch-background-color-checked-default: $gl-action-strong-confirm-foreground-color-default; // Used for the background color of the checked toggle switch thumb in the default state.
@@ -1228,6 +1225,7 @@ $gl-nav-item-background-color-focus: $gl-action-neutral-background-color-focus;
1228
1225
  $gl-nav-item-selected-foreground-color-hover: $gl-action-selected-foreground-color-hover; // Used for the foreground of a selected navigation item in the hover state.
1229
1226
  $gl-nav-item-selected-background-color-focus: $gl-action-selected-background-color-focus; // Used for the background of a selected navigation item in the focus state.
1230
1227
  $gl-tab-selected-indicator-color-default: $gl-action-selected-border-color-active; // Used for the selected indicator of a tab.
1228
+ $gl-toggle-switch-track-color-unchecked-hover: $gl-toggle-switch-track-color-unchecked-default; // Used for the track color of an unchecked toggle switch in the hover state.
1231
1229
  $gl-toggle-switch-background-color-unchecked-hover: $gl-toggle-switch-background-color-unchecked-default; // Used for the background color of the unchecked toggle switch thumb in the hover state.
1232
1230
  $gl-toggle-switch-background-color-unchecked-focus: $gl-toggle-switch-background-color-unchecked-default; // Used for the background color of the unchecked toggle switch thumb in the focus state.
1233
1231
  $gl-toggle-switch-background-color-unchecked-active: $gl-toggle-switch-background-color-unchecked-default; // Used for the background color of the unchecked toggle switch thumb in the active state.
@@ -1243,10 +1241,12 @@ $gl-action-strong-neutral-border-color-focus: $gl-action-strong-neutral-border-c
1243
1241
  $gl-control-border-color-selected-focus: $gl-control-background-color-selected-focus; // Used for checked and indeterminate (selected) form control (checkbox, radio button) border on focus.
1244
1242
  $gl-button-confirm-primary-foreground-color-active: $gl-button-confirm-primary-foreground-color-focus; // Used for the foreground of a confirm (positive) primary button in the active state.
1245
1243
  $gl-nav-item-selected-foreground-color-focus: $gl-action-selected-foreground-color-focus; // Used for the foreground of a selected navigation item in the focus state.
1244
+ $gl-toggle-switch-track-color-unchecked-focus: $gl-toggle-switch-track-color-unchecked-hover; // Used for the track color of an unchecked toggle switch in the focus state.
1246
1245
  $gl-toggle-switch-background-color-checked-focus: $gl-action-strong-confirm-foreground-color-focus; // Used for the background color of the checked toggle switch thumb in the focus state.
1247
1246
  $gl-action-selected-foreground-color-active: $gl-action-selected-foreground-color-focus; // Used for the foreground of a selected action in the active state.
1248
1247
  $gl-action-strong-confirm-foreground-color-active: $gl-action-strong-confirm-foreground-color-focus; // Used for the foreground of a strong confirm action in the active state.
1249
1248
  $gl-action-strong-confirm-border-color-active: $gl-action-strong-confirm-border-color-focus; // Used for the border of a strong confirm action in the active state.
1250
1249
  $gl-action-strong-neutral-border-color-active: $gl-action-strong-neutral-border-color-focus; // Used for the border of a strong neutral action in the active state.
1251
1250
  $gl-nav-item-selected-foreground-color-active: $gl-action-selected-foreground-color-active; // Used for the foreground of a selected navigation item in the active state.
1251
+ $gl-toggle-switch-track-color-unchecked-active: $gl-toggle-switch-track-color-unchecked-focus; // Used for the track color of an unchecked toggle switch in the active state.
1252
1252
  $gl-toggle-switch-background-color-checked-active: $gl-action-strong-confirm-foreground-color-active; // Used for the background color of the checked toggle switch thumb in the active state.