@gitlab/ui 134.8.0 → 135.0.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 (152) hide show
  1. package/dist/components/base/animated_icon/base_animated_icon.js +3 -0
  2. package/dist/components/base/color_mode_toggle/color_mode_toggle.js +11 -1
  3. package/dist/components/base/filtered_search/filtered_search.js +9 -0
  4. package/dist/components/base/filtered_search/filtered_search_suggestion.js +3 -0
  5. package/dist/components/base/filtered_search/filtered_search_term.js +9 -0
  6. package/dist/components/base/filtered_search/filtered_search_token.js +15 -0
  7. package/dist/components/base/filtered_search/filtered_search_token_segment.js +27 -0
  8. package/dist/components/base/form/form_combobox/form_combobox.js +18 -0
  9. package/dist/components/base/form/form_date/form_date.js +18 -0
  10. package/dist/components/base/form/form_fields/form_field_validator.js +9 -0
  11. package/dist/components/base/form/form_fields/form_fields_loop.js +3 -0
  12. package/dist/components/base/markdown/markdown.js +3 -0
  13. package/dist/components/base/new_dropdowns/base_dropdown/base_dropdown.js +54 -0
  14. package/dist/components/base/new_dropdowns/disclosure/disclosure_dropdown_item.js +3 -0
  15. package/dist/components/base/new_dropdowns/listbox/listbox.js +4 -1
  16. package/dist/components/base/new_dropdowns/listbox/listbox_group.js +6 -0
  17. package/dist/components/base/new_dropdowns/listbox/listbox_item.js +15 -0
  18. package/dist/components/base/search_box_by_click/search_box_by_click.js +6 -0
  19. package/dist/components/base/segmented_control/segmented_control.js +6 -0
  20. package/dist/components/base/table_lite/table_lite.js +9 -0
  21. package/dist/components/base/tabs/tab/tab.js +3 -0
  22. package/dist/components/base/tabs/tabs/tabs.js +21 -0
  23. package/dist/components/base/toast/toast.js +12 -0
  24. package/dist/components/base/toggle/toggle.js +3 -0
  25. package/dist/components/base/token_selector/token_container.js +12 -0
  26. package/dist/components/base/token_selector/token_selector_dropdown.js +27 -0
  27. package/dist/components/charts/area/area.js +36 -0
  28. package/dist/components/charts/bar/bar.js +15 -0
  29. package/dist/components/charts/chart/chart.js +7 -1
  30. package/dist/components/charts/column/column.js +24 -0
  31. package/dist/components/charts/discrete_scatter/discrete_scatter.js +21 -0
  32. package/dist/components/charts/gauge/gauge.js +21 -0
  33. package/dist/components/charts/heatmap/heatmap.js +33 -0
  34. package/dist/components/charts/legend/legend.js +15 -0
  35. package/dist/components/charts/line/line.js +33 -0
  36. package/dist/components/charts/series_label/series_label.js +6 -0
  37. package/dist/components/charts/shared/tooltip/tooltip.js +6 -0
  38. package/dist/components/charts/shared/tooltip/tooltip_default_format/tooltip_default_format.js +3 -0
  39. package/dist/components/charts/single_stat/single_stat.js +30 -0
  40. package/dist/components/charts/stacked_column/stacked_column.js +55 -0
  41. package/dist/components/regions/empty_state/empty_state.js +3 -0
  42. package/dist/components/shared_components/clear_icon_button/clear_icon_button.js +6 -0
  43. package/dist/components/shared_components/close_button/close_button.js +3 -0
  44. package/dist/components/utilities/animated_number/animated_number.js +9 -0
  45. package/dist/components/utilities/intersperse/intersperse.js +6 -0
  46. package/dist/index.css +2 -2
  47. package/dist/index.css.map +1 -1
  48. package/dist/tailwind.css +1 -1
  49. package/dist/tailwind.css.map +1 -1
  50. package/dist/tokens/build/js/tokens.dark.js +3 -3
  51. package/dist/tokens/build/js/tokens.js +3 -3
  52. package/dist/tokens/tokens_story.js +3 -0
  53. package/package.json +8 -7
  54. package/src/components/base/animated_icon/base_animated_icon.vue +3 -0
  55. package/src/components/base/avatar_link/avatar_link.scss +2 -2
  56. package/src/components/base/badge/badge.scss +3 -3
  57. package/src/components/base/breadcrumb/breadcrumb.scss +2 -2
  58. package/src/components/base/button/button.scss +15 -15
  59. package/src/components/base/button_group/button_group.scss +1 -1
  60. package/src/components/base/color_mode_toggle/color_mode_toggle.vue +11 -0
  61. package/src/components/base/datepicker/datepicker.scss +1 -1
  62. package/src/components/base/dropdown/dropdown_item.scss +3 -3
  63. package/src/components/base/filtered_search/filtered_search.vue +9 -0
  64. package/src/components/base/filtered_search/filtered_search_suggestion.vue +3 -0
  65. package/src/components/base/filtered_search/filtered_search_term.vue +9 -0
  66. package/src/components/base/filtered_search/filtered_search_token.vue +15 -0
  67. package/src/components/base/filtered_search/filtered_search_token_segment.vue +27 -0
  68. package/src/components/base/form/form_checkbox/form_checkbox.scss +9 -7
  69. package/src/components/base/form/form_combobox/form_combobox.scss +4 -4
  70. package/src/components/base/form/form_combobox/form_combobox.vue +18 -0
  71. package/src/components/base/form/form_date/form_date.vue +18 -0
  72. package/src/components/base/form/form_fields/form_field_validator.vue +9 -0
  73. package/src/components/base/form/form_fields/form_fields_loop.vue +3 -0
  74. package/src/components/base/form/form_input/form_input.scss +2 -2
  75. package/src/components/base/form/form_select/form_select.scss +3 -3
  76. package/src/components/base/icon/icon.figma.batch.ts +26 -0
  77. package/src/components/base/label/label.scss +9 -9
  78. package/src/components/base/link/link.scss +11 -11
  79. package/src/components/base/markdown/markdown.vue +3 -0
  80. package/src/components/base/nav_item/nav_item.scss +5 -5
  81. package/src/components/base/new_dropdowns/base_dropdown/base_dropdown.vue +54 -0
  82. package/src/components/base/new_dropdowns/disclosure/disclosure_dropdown_item.vue +3 -0
  83. package/src/components/base/new_dropdowns/dropdown.scss +2 -2
  84. package/src/components/base/new_dropdowns/dropdown_item.scss +9 -9
  85. package/src/components/base/new_dropdowns/listbox/listbox.scss +1 -1
  86. package/src/components/base/new_dropdowns/listbox/listbox.vue +5 -2
  87. package/src/components/base/new_dropdowns/listbox/listbox_group.vue +6 -0
  88. package/src/components/base/new_dropdowns/listbox/listbox_item.vue +15 -0
  89. package/src/components/base/pagination/pagination.scss +3 -2
  90. package/src/components/base/path/path.scss +3 -3
  91. package/src/components/base/search_box_by_click/search_box_by_click.vue +6 -0
  92. package/src/components/base/search_box_by_type/search_box_by_type.scss +1 -1
  93. package/src/components/base/segmented_control/segmented_control.vue +6 -0
  94. package/src/components/base/table_lite/table_lite.vue +9 -0
  95. package/src/components/base/tabs/tab/tab.vue +3 -0
  96. package/src/components/base/tabs/tabs/tabs.scss +3 -3
  97. package/src/components/base/tabs/tabs/tabs.vue +21 -0
  98. package/src/components/base/toast/toast.vue +12 -0
  99. package/src/components/base/toggle/toggle.scss +4 -4
  100. package/src/components/base/toggle/toggle.vue +3 -0
  101. package/src/components/base/token_selector/token_container.vue +12 -0
  102. package/src/components/base/token_selector/token_selector.scss +1 -1
  103. package/src/components/base/token_selector/token_selector_dropdown.vue +27 -0
  104. package/src/components/charts/area/area.vue +36 -0
  105. package/src/components/charts/bar/bar.vue +15 -0
  106. package/src/components/charts/chart/chart.vue +7 -1
  107. package/src/components/charts/column/column.vue +24 -0
  108. package/src/components/charts/discrete_scatter/discrete_scatter.vue +21 -0
  109. package/src/components/charts/gauge/gauge.vue +21 -0
  110. package/src/components/charts/heatmap/heatmap.vue +33 -0
  111. package/src/components/charts/legend/legend.vue +15 -0
  112. package/src/components/charts/line/line.vue +33 -0
  113. package/src/components/charts/series_label/series_label.vue +6 -0
  114. package/src/components/charts/shared/tooltip/tooltip.vue +6 -0
  115. package/src/components/charts/shared/tooltip/tooltip_default_format/tooltip_default_format.vue +3 -0
  116. package/src/components/charts/single_stat/single_stat.vue +30 -0
  117. package/src/components/charts/stacked_column/stacked_column.vue +55 -0
  118. package/src/components/regions/empty_state/empty_state.vue +3 -0
  119. package/src/components/shared_components/clear_icon_button/clear_icon_button.scss +1 -1
  120. package/src/components/shared_components/clear_icon_button/clear_icon_button.vue +6 -0
  121. package/src/components/shared_components/close_button/close_button.vue +3 -0
  122. package/src/components/utilities/animated_number/animated_number.vue +9 -0
  123. package/src/components/utilities/intersperse/intersperse.vue +6 -0
  124. package/src/scss/mixins.scss +1 -1
  125. package/src/tokens/build/css/tokens.css +3 -3
  126. package/src/tokens/build/css/tokens.dark.css +3 -3
  127. package/src/tokens/build/figma/mode.dark.json +37 -20
  128. package/src/tokens/build/figma/mode.json +37 -20
  129. package/src/tokens/build/js/tokens.dark.js +3 -3
  130. package/src/tokens/build/js/tokens.js +3 -3
  131. package/src/tokens/build/json/tokens.dark.json +74 -40
  132. package/src/tokens/build/json/tokens.json +74 -40
  133. package/src/tokens/build/scss/_tokens.dark.scss +3 -3
  134. package/src/tokens/build/scss/_tokens.scss +3 -3
  135. package/src/tokens/contextual/toggle.tokens.json +37 -20
  136. package/src/tokens/tokens_story.vue +3 -0
  137. package/src/utils/string_utils.js +1 -1
  138. package/src/vendor/bootstrap/scss/_button-group.scss +1 -1
  139. package/src/vendor/bootstrap/scss/_buttons.scss +3 -3
  140. package/src/vendor/bootstrap/scss/_custom-forms.scss +5 -5
  141. package/src/vendor/bootstrap/scss/_forms.scss +2 -2
  142. package/src/vendor/bootstrap/scss/_input-group.scss +5 -5
  143. package/src/vendor/bootstrap/scss/_pagination.scss +1 -1
  144. package/src/vendor/bootstrap/scss/mixins/_badge.scss +1 -1
  145. package/src/vendor/bootstrap/scss/mixins/_buttons.scss +5 -5
  146. package/src/vendor/bootstrap/scss/mixins/_forms.scss +5 -5
  147. package/src/vendor/bootstrap/scss/mixins/_hover.scss +3 -3
  148. package/src/vendor/bootstrap/scss/mixins/_screen-reader.scss +1 -1
  149. package/src/vendor/bootstrap-vue/src/_utilities.scss +1 -1
  150. package/src/vendor/bootstrap-vue/src/components/dropdown/_dropdown-form.scss +2 -2
  151. package/src/vendor/bootstrap-vue/src/components/dropdown/_dropdown.scss +1 -1
  152. package/tailwind.defaults.js +5 -5
@@ -47,84 +47,136 @@ export default {
47
47
  },
48
48
  inheritAttrs: false,
49
49
  props: {
50
+ /**
51
+ * Array of bar series data for stacked columns.
52
+ */
50
53
  bars: {
51
54
  type: Array,
52
55
  required: false,
53
56
  default: () => [],
54
57
  },
58
+ /**
59
+ * Array of line series data to overlay on the columns.
60
+ */
55
61
  lines: {
56
62
  type: Array,
57
63
  required: false,
58
64
  default: () => [],
59
65
  },
66
+ /**
67
+ * Secondary data series for an additional axis.
68
+ */
60
69
  secondaryData: {
61
70
  type: Array,
62
71
  required: false,
63
72
  default: () => [],
64
73
  },
74
+ /**
75
+ * Additional ECharts option overrides.
76
+ */
65
77
  option: {
66
78
  type: Object,
67
79
  required: false,
68
80
  default: () => ({}),
69
81
  },
82
+ /**
83
+ * Presentation mode (e.g., 'absolute', 'percent').
84
+ */
70
85
  presentation: {
71
86
  type: String,
72
87
  required: false,
73
88
  default: stackedPresentationOptions.stacked,
74
89
  validator: (value) => Object.values(stackedPresentationOptions).indexOf(value) !== -1,
75
90
  },
91
+ /**
92
+ * Category labels for the X axis (passed to ECharts `xAxis.data`).
93
+ * Only used when `xAxisType` is 'category'.
94
+ */
76
95
  groupBy: {
77
96
  type: Array,
78
97
  required: true,
79
98
  },
99
+ /**
100
+ * Type of the X axis (e.g., 'category', 'value').
101
+ */
80
102
  xAxisType: {
81
103
  type: String,
82
104
  required: true,
83
105
  validator: (value) => ['value', 'category', 'time', 'log'].indexOf(value) !== -1,
84
106
  },
107
+ /**
108
+ * Title text for the X axis.
109
+ */
85
110
  xAxisTitle: {
86
111
  type: String,
87
112
  required: true,
88
113
  },
114
+ /**
115
+ * Title text for the Y axis.
116
+ */
89
117
  yAxisTitle: {
90
118
  type: String,
91
119
  required: true,
92
120
  },
121
+ /**
122
+ * Title text for the secondary data axis.
123
+ */
93
124
  secondaryDataTitle: {
94
125
  type: String,
95
126
  required: false,
96
127
  default: '',
97
128
  },
129
+ /**
130
+ * Array of names for each data series.
131
+ */
98
132
  seriesNames: {
99
133
  type: Array,
100
134
  required: false,
101
135
  default: () => [],
102
136
  },
137
+ /**
138
+ * When true, includes average and maximum values in the legend.
139
+ */
103
140
  includeLegendAvgMax: {
104
141
  type: Boolean,
105
142
  required: false,
106
143
  default: true,
107
144
  },
145
+ /**
146
+ * Custom text for the average value in the legend.
147
+ */
108
148
  legendAverageText: {
109
149
  type: String,
110
150
  required: false,
111
151
  default: LEGEND_AVERAGE_TEXT,
112
152
  },
153
+ /**
154
+ * Custom text for the maximum value in the legend.
155
+ */
113
156
  legendMaxText: {
114
157
  type: String,
115
158
  required: false,
116
159
  default: LEGEND_MAX_TEXT,
117
160
  },
161
+ /**
162
+ * Custom text for the minimum value label.
163
+ */
118
164
  legendMinText: {
119
165
  type: String,
120
166
  required: false,
121
167
  default: LEGEND_MIN_TEXT,
122
168
  },
169
+ /**
170
+ * Custom text for the current value label.
171
+ */
123
172
  legendCurrentText: {
124
173
  type: String,
125
174
  required: false,
126
175
  default: LEGEND_CURRENT_TEXT,
127
176
  },
177
+ /**
178
+ * Layout configuration for the legend.
179
+ */
128
180
  legendLayout: {
129
181
  type: String,
130
182
  required: false,
@@ -144,6 +196,9 @@ export default {
144
196
  required: false,
145
197
  default: null,
146
198
  },
199
+ /**
200
+ * Custom color palette for the chart series.
201
+ */
147
202
  customPalette: {
148
203
  type: Array,
149
204
  required: false,
@@ -102,6 +102,9 @@ export default {
102
102
  required: false,
103
103
  default: false,
104
104
  },
105
+ /**
106
+ * When true, inverts the empty state illustration colors in dark mode.
107
+ */
105
108
  invertInDarkMode: {
106
109
  type: Boolean,
107
110
  required: false,
@@ -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
  }
@@ -12,11 +12,17 @@ export default {
12
12
  GlTooltip: GlTooltipDirective,
13
13
  },
14
14
  props: {
15
+ /**
16
+ * The title attribute for the clear button.
17
+ */
15
18
  title: {
16
19
  type: String,
17
20
  required: false,
18
21
  default: () => translate('ClearIconButton.title', 'Clear'),
19
22
  },
23
+ /**
24
+ * Container element for the tooltip.
25
+ */
20
26
  tooltipContainer: {
21
27
  required: false,
22
28
  default: false,
@@ -8,6 +8,9 @@ export default {
8
8
  GlButton,
9
9
  },
10
10
  props: {
11
+ /**
12
+ * The aria-label for the close button.
13
+ */
11
14
  label: {
12
15
  type: String,
13
16
  required: false,
@@ -4,6 +4,9 @@ import { formatNumberToLocale } from '../../../utils/number_utils';
4
4
  export default {
5
5
  name: 'AnimatedNumber',
6
6
  props: {
7
+ /**
8
+ * The numeric value to animate.
9
+ */
7
10
  number: {
8
11
  type: Number,
9
12
  required: true,
@@ -24,11 +27,17 @@ export default {
24
27
  required: false,
25
28
  default: 0,
26
29
  },
30
+ /**
31
+ * When true, formats the number with digit group separators.
32
+ */
27
33
  useDelimiters: {
28
34
  type: Boolean,
29
35
  required: false,
30
36
  default: false,
31
37
  },
38
+ /**
39
+ * When true, animates the number when the component is mounted.
40
+ */
32
41
  animateOnMount: {
33
42
  type: Boolean,
34
43
  required: false,
@@ -44,11 +44,17 @@ export default {
44
44
  name: 'GlIntersperse',
45
45
  functional: true,
46
46
  props: {
47
+ /**
48
+ * The separator content to place between items.
49
+ */
47
50
  separator: {
48
51
  type: String,
49
52
  default: ', ',
50
53
  required: false,
51
54
  },
55
+ /**
56
+ * The separator content to place before the last item.
57
+ */
52
58
  lastSeparator: {
53
59
  type: String,
54
60
  default: '',
@@ -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);
@@ -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
  }
@@ -5115,37 +5115,41 @@
5115
5115
  "$description": "Used for the track color of an unchecked toggle switch in the default state.",
5116
5116
  "$extensions": {
5117
5117
  "com.figma.scopes": [
5118
- "SHAPE_FILL"
5118
+ "SHAPE_FILL",
5119
+ "FRAME_FILL"
5119
5120
  ]
5120
5121
  }
5121
5122
  },
5122
5123
  "🔒/toggle-switch-track-color-unchecked-hover": {
5123
- "$value": "{control-border-color-hover}",
5124
+ "$value": "{🔒/toggle-switch-track-color-unchecked-default}",
5124
5125
  "$type": "color",
5125
5126
  "$description": "Used for the track color of an unchecked toggle switch in the hover state.",
5126
5127
  "$extensions": {
5127
5128
  "com.figma.scopes": [
5128
- "SHAPE_FILL"
5129
+ "SHAPE_FILL",
5130
+ "FRAME_FILL"
5129
5131
  ]
5130
5132
  }
5131
5133
  },
5132
5134
  "🔒/toggle-switch-track-color-unchecked-focus": {
5133
- "$value": "{control-border-color-focus}",
5135
+ "$value": "{🔒/toggle-switch-track-color-unchecked-hover}",
5134
5136
  "$type": "color",
5135
5137
  "$description": "Used for the track color of an unchecked toggle switch in the focus state.",
5136
5138
  "$extensions": {
5137
5139
  "com.figma.scopes": [
5138
- "SHAPE_FILL"
5140
+ "SHAPE_FILL",
5141
+ "FRAME_FILL"
5139
5142
  ]
5140
5143
  }
5141
5144
  },
5142
5145
  "🔒/toggle-switch-track-color-unchecked-active": {
5143
- "$value": "{control-border-color-focus}",
5146
+ "$value": "{🔒/toggle-switch-track-color-unchecked-focus}",
5144
5147
  "$type": "color",
5145
5148
  "$description": "Used for the track color of an unchecked toggle switch in the active state.",
5146
5149
  "$extensions": {
5147
5150
  "com.figma.scopes": [
5148
- "SHAPE_FILL"
5151
+ "SHAPE_FILL",
5152
+ "FRAME_FILL"
5149
5153
  ]
5150
5154
  }
5151
5155
  },
@@ -5155,7 +5159,8 @@
5155
5159
  "$description": "Used for the track color of a checked toggle switch in the default state.",
5156
5160
  "$extensions": {
5157
5161
  "com.figma.scopes": [
5158
- "SHAPE_FILL"
5162
+ "SHAPE_FILL",
5163
+ "FRAME_FILL"
5159
5164
  ]
5160
5165
  }
5161
5166
  },
@@ -5165,7 +5170,8 @@
5165
5170
  "$description": "Used for the track color of a checked toggle switch in the hover state.",
5166
5171
  "$extensions": {
5167
5172
  "com.figma.scopes": [
5168
- "SHAPE_FILL"
5173
+ "SHAPE_FILL",
5174
+ "FRAME_FILL"
5169
5175
  ]
5170
5176
  }
5171
5177
  },
@@ -5175,7 +5181,8 @@
5175
5181
  "$description": "Used for the track color of a checked toggle switch in the focus state.",
5176
5182
  "$extensions": {
5177
5183
  "com.figma.scopes": [
5178
- "SHAPE_FILL"
5184
+ "SHAPE_FILL",
5185
+ "FRAME_FILL"
5179
5186
  ]
5180
5187
  }
5181
5188
  },
@@ -5185,7 +5192,8 @@
5185
5192
  "$description": "Used for the track color of a checked toggle switch in the active state.",
5186
5193
  "$extensions": {
5187
5194
  "com.figma.scopes": [
5188
- "SHAPE_FILL"
5195
+ "SHAPE_FILL",
5196
+ "FRAME_FILL"
5189
5197
  ]
5190
5198
  }
5191
5199
  },
@@ -5195,7 +5203,8 @@
5195
5203
  "$description": "Used for the background color of the unchecked toggle switch thumb in the default state.",
5196
5204
  "$extensions": {
5197
5205
  "com.figma.scopes": [
5198
- "SHAPE_FILL"
5206
+ "SHAPE_FILL",
5207
+ "FRAME_FILL"
5199
5208
  ]
5200
5209
  }
5201
5210
  },
@@ -5205,7 +5214,8 @@
5205
5214
  "$description": "Used for the background color of the unchecked toggle switch thumb in the hover state.",
5206
5215
  "$extensions": {
5207
5216
  "com.figma.scopes": [
5208
- "SHAPE_FILL"
5217
+ "SHAPE_FILL",
5218
+ "FRAME_FILL"
5209
5219
  ]
5210
5220
  }
5211
5221
  },
@@ -5215,7 +5225,8 @@
5215
5225
  "$description": "Used for the background color of the unchecked toggle switch thumb in the focus state.",
5216
5226
  "$extensions": {
5217
5227
  "com.figma.scopes": [
5218
- "SHAPE_FILL"
5228
+ "SHAPE_FILL",
5229
+ "FRAME_FILL"
5219
5230
  ]
5220
5231
  }
5221
5232
  },
@@ -5225,7 +5236,8 @@
5225
5236
  "$description": "Used for the background color of the unchecked toggle switch thumb in the active state.",
5226
5237
  "$extensions": {
5227
5238
  "com.figma.scopes": [
5228
- "SHAPE_FILL"
5239
+ "SHAPE_FILL",
5240
+ "FRAME_FILL"
5229
5241
  ]
5230
5242
  }
5231
5243
  },
@@ -5235,7 +5247,8 @@
5235
5247
  "$description": "Used for the background color of the checked toggle switch thumb in the default state.",
5236
5248
  "$extensions": {
5237
5249
  "com.figma.scopes": [
5238
- "SHAPE_FILL"
5250
+ "SHAPE_FILL",
5251
+ "FRAME_FILL"
5239
5252
  ]
5240
5253
  }
5241
5254
  },
@@ -5245,7 +5258,8 @@
5245
5258
  "$description": "Used for the background color of the checked toggle switch thumb in the hover state.",
5246
5259
  "$extensions": {
5247
5260
  "com.figma.scopes": [
5248
- "SHAPE_FILL"
5261
+ "SHAPE_FILL",
5262
+ "FRAME_FILL"
5249
5263
  ]
5250
5264
  }
5251
5265
  },
@@ -5255,7 +5269,8 @@
5255
5269
  "$description": "Used for the background color of the checked toggle switch thumb in the focus state.",
5256
5270
  "$extensions": {
5257
5271
  "com.figma.scopes": [
5258
- "SHAPE_FILL"
5272
+ "SHAPE_FILL",
5273
+ "FRAME_FILL"
5259
5274
  ]
5260
5275
  }
5261
5276
  },
@@ -5265,7 +5280,8 @@
5265
5280
  "$description": "Used for the background color of the checked toggle switch thumb in the active state.",
5266
5281
  "$extensions": {
5267
5282
  "com.figma.scopes": [
5268
- "SHAPE_FILL"
5283
+ "SHAPE_FILL",
5284
+ "FRAME_FILL"
5269
5285
  ]
5270
5286
  }
5271
5287
  },
@@ -5275,7 +5291,8 @@
5275
5291
  "$description": "Used for the background color of the toggle switch thumb in the disabled state.",
5276
5292
  "$extensions": {
5277
5293
  "com.figma.scopes": [
5278
- "SHAPE_FILL"
5294
+ "SHAPE_FILL",
5295
+ "FRAME_FILL"
5279
5296
  ]
5280
5297
  }
5281
5298
  },
@@ -5059,37 +5059,41 @@
5059
5059
  "$description": "Used for the track color of an unchecked toggle switch in the default state.",
5060
5060
  "$extensions": {
5061
5061
  "com.figma.scopes": [
5062
- "SHAPE_FILL"
5062
+ "SHAPE_FILL",
5063
+ "FRAME_FILL"
5063
5064
  ]
5064
5065
  }
5065
5066
  },
5066
5067
  "🔒/toggle-switch-track-color-unchecked-hover": {
5067
- "$value": "{control-border-color-hover}",
5068
+ "$value": "{🔒/toggle-switch-track-color-unchecked-default}",
5068
5069
  "$type": "color",
5069
5070
  "$description": "Used for the track color of an unchecked toggle switch in the hover state.",
5070
5071
  "$extensions": {
5071
5072
  "com.figma.scopes": [
5072
- "SHAPE_FILL"
5073
+ "SHAPE_FILL",
5074
+ "FRAME_FILL"
5073
5075
  ]
5074
5076
  }
5075
5077
  },
5076
5078
  "🔒/toggle-switch-track-color-unchecked-focus": {
5077
- "$value": "{control-border-color-focus}",
5079
+ "$value": "{🔒/toggle-switch-track-color-unchecked-hover}",
5078
5080
  "$type": "color",
5079
5081
  "$description": "Used for the track color of an unchecked toggle switch in the focus state.",
5080
5082
  "$extensions": {
5081
5083
  "com.figma.scopes": [
5082
- "SHAPE_FILL"
5084
+ "SHAPE_FILL",
5085
+ "FRAME_FILL"
5083
5086
  ]
5084
5087
  }
5085
5088
  },
5086
5089
  "🔒/toggle-switch-track-color-unchecked-active": {
5087
- "$value": "{control-border-color-focus}",
5090
+ "$value": "{🔒/toggle-switch-track-color-unchecked-focus}",
5088
5091
  "$type": "color",
5089
5092
  "$description": "Used for the track color of an unchecked toggle switch in the active state.",
5090
5093
  "$extensions": {
5091
5094
  "com.figma.scopes": [
5092
- "SHAPE_FILL"
5095
+ "SHAPE_FILL",
5096
+ "FRAME_FILL"
5093
5097
  ]
5094
5098
  }
5095
5099
  },
@@ -5099,7 +5103,8 @@
5099
5103
  "$description": "Used for the track color of a checked toggle switch in the default state.",
5100
5104
  "$extensions": {
5101
5105
  "com.figma.scopes": [
5102
- "SHAPE_FILL"
5106
+ "SHAPE_FILL",
5107
+ "FRAME_FILL"
5103
5108
  ]
5104
5109
  }
5105
5110
  },
@@ -5109,7 +5114,8 @@
5109
5114
  "$description": "Used for the track color of a checked toggle switch in the hover state.",
5110
5115
  "$extensions": {
5111
5116
  "com.figma.scopes": [
5112
- "SHAPE_FILL"
5117
+ "SHAPE_FILL",
5118
+ "FRAME_FILL"
5113
5119
  ]
5114
5120
  }
5115
5121
  },
@@ -5119,7 +5125,8 @@
5119
5125
  "$description": "Used for the track color of a checked toggle switch in the focus state.",
5120
5126
  "$extensions": {
5121
5127
  "com.figma.scopes": [
5122
- "SHAPE_FILL"
5128
+ "SHAPE_FILL",
5129
+ "FRAME_FILL"
5123
5130
  ]
5124
5131
  }
5125
5132
  },
@@ -5129,7 +5136,8 @@
5129
5136
  "$description": "Used for the track color of a checked toggle switch in the active state.",
5130
5137
  "$extensions": {
5131
5138
  "com.figma.scopes": [
5132
- "SHAPE_FILL"
5139
+ "SHAPE_FILL",
5140
+ "FRAME_FILL"
5133
5141
  ]
5134
5142
  }
5135
5143
  },
@@ -5139,7 +5147,8 @@
5139
5147
  "$description": "Used for the background color of the unchecked toggle switch thumb in the default state.",
5140
5148
  "$extensions": {
5141
5149
  "com.figma.scopes": [
5142
- "SHAPE_FILL"
5150
+ "SHAPE_FILL",
5151
+ "FRAME_FILL"
5143
5152
  ]
5144
5153
  }
5145
5154
  },
@@ -5149,7 +5158,8 @@
5149
5158
  "$description": "Used for the background color of the unchecked toggle switch thumb in the hover state.",
5150
5159
  "$extensions": {
5151
5160
  "com.figma.scopes": [
5152
- "SHAPE_FILL"
5161
+ "SHAPE_FILL",
5162
+ "FRAME_FILL"
5153
5163
  ]
5154
5164
  }
5155
5165
  },
@@ -5159,7 +5169,8 @@
5159
5169
  "$description": "Used for the background color of the unchecked toggle switch thumb in the focus state.",
5160
5170
  "$extensions": {
5161
5171
  "com.figma.scopes": [
5162
- "SHAPE_FILL"
5172
+ "SHAPE_FILL",
5173
+ "FRAME_FILL"
5163
5174
  ]
5164
5175
  }
5165
5176
  },
@@ -5169,7 +5180,8 @@
5169
5180
  "$description": "Used for the background color of the unchecked toggle switch thumb in the active state.",
5170
5181
  "$extensions": {
5171
5182
  "com.figma.scopes": [
5172
- "SHAPE_FILL"
5183
+ "SHAPE_FILL",
5184
+ "FRAME_FILL"
5173
5185
  ]
5174
5186
  }
5175
5187
  },
@@ -5179,7 +5191,8 @@
5179
5191
  "$description": "Used for the background color of the checked toggle switch thumb in the default state.",
5180
5192
  "$extensions": {
5181
5193
  "com.figma.scopes": [
5182
- "SHAPE_FILL"
5194
+ "SHAPE_FILL",
5195
+ "FRAME_FILL"
5183
5196
  ]
5184
5197
  }
5185
5198
  },
@@ -5189,7 +5202,8 @@
5189
5202
  "$description": "Used for the background color of the checked toggle switch thumb in the hover state.",
5190
5203
  "$extensions": {
5191
5204
  "com.figma.scopes": [
5192
- "SHAPE_FILL"
5205
+ "SHAPE_FILL",
5206
+ "FRAME_FILL"
5193
5207
  ]
5194
5208
  }
5195
5209
  },
@@ -5199,7 +5213,8 @@
5199
5213
  "$description": "Used for the background color of the checked toggle switch thumb in the focus state.",
5200
5214
  "$extensions": {
5201
5215
  "com.figma.scopes": [
5202
- "SHAPE_FILL"
5216
+ "SHAPE_FILL",
5217
+ "FRAME_FILL"
5203
5218
  ]
5204
5219
  }
5205
5220
  },
@@ -5209,7 +5224,8 @@
5209
5224
  "$description": "Used for the background color of the checked toggle switch thumb in the active state.",
5210
5225
  "$extensions": {
5211
5226
  "com.figma.scopes": [
5212
- "SHAPE_FILL"
5227
+ "SHAPE_FILL",
5228
+ "FRAME_FILL"
5213
5229
  ]
5214
5230
  }
5215
5231
  },
@@ -5219,7 +5235,8 @@
5219
5235
  "$description": "Used for the background color of the toggle switch thumb in the disabled state.",
5220
5236
  "$extensions": {
5221
5237
  "com.figma.scopes": [
5222
- "SHAPE_FILL"
5238
+ "SHAPE_FILL",
5239
+ "FRAME_FILL"
5223
5240
  ]
5224
5241
  }
5225
5242
  },