@gitlab/ui 95.2.1 → 95.4.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 (37) hide show
  1. package/CHANGELOG.md +22 -0
  2. package/dist/components/base/keyset_pagination/keyset_pagination.js +1 -1
  3. package/dist/components/base/paginated_list/paginated_list.js +1 -1
  4. package/dist/components/base/pagination/pagination.js +18 -10
  5. package/dist/index.css +2 -2
  6. package/dist/index.css.map +1 -1
  7. package/dist/tailwind.css +1 -1
  8. package/dist/tailwind.css.map +1 -1
  9. package/dist/tokens/build/js/tokens.dark.js +26 -17
  10. package/dist/tokens/build/js/tokens.js +10 -1
  11. package/dist/tokens/css/tokens.css +9 -0
  12. package/dist/tokens/css/tokens.dark.css +14 -5
  13. package/dist/tokens/js/tokens.dark.js +25 -16
  14. package/dist/tokens/js/tokens.js +9 -0
  15. package/dist/tokens/json/tokens.dark.json +236 -21
  16. package/dist/tokens/json/tokens.json +220 -5
  17. package/dist/tokens/scss/_tokens.dark.scss +14 -5
  18. package/dist/tokens/scss/_tokens.scss +9 -0
  19. package/dist/tokens/scss/_tokens_custom_properties.scss +9 -0
  20. package/package.json +1 -1
  21. package/src/components/base/keyset_pagination/keyset_pagination.vue +2 -0
  22. package/src/components/base/paginated_list/paginated_list.vue +6 -4
  23. package/src/components/base/pagination/pagination.scss +42 -71
  24. package/src/components/base/pagination/pagination.vue +31 -24
  25. package/src/scss/mixins.scss +24 -0
  26. package/src/tokens/action.tokens.json +12 -6
  27. package/src/tokens/build/css/tokens.css +9 -0
  28. package/src/tokens/build/css/tokens.dark.css +14 -5
  29. package/src/tokens/build/js/tokens.dark.js +25 -16
  30. package/src/tokens/build/js/tokens.js +9 -0
  31. package/src/tokens/build/json/tokens.dark.json +236 -21
  32. package/src/tokens/build/json/tokens.json +220 -5
  33. package/src/tokens/build/scss/_tokens.dark.scss +14 -5
  34. package/src/tokens/build/scss/_tokens.scss +9 -0
  35. package/src/tokens/build/scss/_tokens_custom_properties.scss +9 -0
  36. package/src/tokens/contextual/toggle.tokens.json +59 -0
  37. package/translations.js +1 -0
@@ -110,6 +110,14 @@ export default {
110
110
  required: false,
111
111
  default: '…',
112
112
  },
113
+ /**
114
+ * aria-label for the nav
115
+ */
116
+ labelNav: {
117
+ type: String,
118
+ required: false,
119
+ default: translate('GlPagination.nav', 'Pagination'),
120
+ },
113
121
  /**
114
122
  * aria-label for the first page item
115
123
  */
@@ -197,13 +205,13 @@ export default {
197
205
  wrapperClasses() {
198
206
  const classes = [];
199
207
  if (this.align === alignOptions.center) {
200
- classes.push('justify-content-center');
208
+ classes.push('gl-justify-center');
201
209
  }
202
210
  if (this.align === alignOptions.right) {
203
- classes.push('justify-content-end');
211
+ classes.push('gl-justify-end');
204
212
  }
205
213
  if (this.isFillAlign) {
206
- classes.push('text-center');
214
+ classes.push('gl-text-center');
207
215
  }
208
216
  return classes;
209
217
  },
@@ -388,21 +396,21 @@ export default {
388
396
  </script>
389
397
 
390
398
  <template>
391
- <nav v-if="isVisible" class="gl-pagination text-nowrap" aria-label="Pagination">
392
- <ul class="pagination" :class="wrapperClasses">
399
+ <nav v-if="isVisible" class="gl-pagination" :aria-label="labelNav">
400
+ <ul :class="wrapperClasses">
393
401
  <li
394
- class="page-item"
395
- data-testid="page-item"
402
+ :aria-disabled="prevPageIsDisabled"
403
+ :aria-hidden="prevPageIsDisabled"
396
404
  :class="{
397
405
  disabled: prevPageIsDisabled,
398
- 'flex-fill': isFillAlign,
406
+ 'gl-flex-auto': isFillAlign,
399
407
  }"
400
- :aria-hidden="prevPageIsDisabled"
408
+ data-testid="gl-pagination-li"
401
409
  >
402
410
  <component
403
411
  :is="prevPageIsDisabled ? 'span' : 'a'"
404
- data-testid="page-link"
405
- class="gl-link page-link prev-page-item gl-flex"
412
+ data-testid="gl-pagination-prev"
413
+ class="gl-pagination-item"
406
414
  :aria-label="prevPageAriaLabel"
407
415
  :href="prevPageHref"
408
416
  @click="handlePrevious($event, value - 1)"
@@ -415,26 +423,25 @@ export default {
415
423
  -->
416
424
  <slot name="previous" v-bind="{ page: value - 1, disabled: prevPageIsDisabled }">
417
425
  <gl-icon name="chevron-left" />
418
- <span>{{ prevText }}</span>
426
+ <span class="gl-hidden sm:gl-block">{{ prevText }}</span>
419
427
  </slot>
420
428
  </component>
421
429
  </li>
422
430
  <li
423
431
  v-for="item in visibleItems"
424
432
  :key="item.key"
425
- class="page-item"
426
- data-testid="page-item"
427
433
  :class="{
428
434
  disabled: item.disabled,
429
- 'flex-fill': isFillAlign,
435
+ 'gl-flex-auto': isFillAlign,
430
436
  }"
437
+ data-testid="gl-pagination-li"
431
438
  >
432
439
  <component
433
440
  :is="item.component"
434
- data-testid="page-link"
441
+ data-testid="gl-pagination-item"
435
442
  size="md"
436
443
  :aria-disabled="item.disabled"
437
- class="page-link"
444
+ class="gl-pagination-item"
438
445
  v-bind="item.attrs"
439
446
  v-on="item.listeners"
440
447
  >
@@ -458,18 +465,18 @@ export default {
458
465
  </li>
459
466
 
460
467
  <li
461
- class="page-item"
462
- data-testid="page-item"
468
+ :aria-disabled="nextPageIsDisabled"
469
+ :aria-hidden="nextPageIsDisabled"
463
470
  :class="{
464
471
  disabled: nextPageIsDisabled,
465
- 'flex-fill': isFillAlign,
472
+ 'gl-flex-auto': isFillAlign,
466
473
  }"
467
- :aria-hidden="nextPageIsDisabled"
474
+ data-testid="gl-pagination-li"
468
475
  >
469
476
  <component
470
477
  :is="nextPageIsDisabled ? 'span' : 'a'"
471
- data-testid="page-link"
472
- class="gl-link page-link next-page-item gl-flex"
478
+ data-testid="gl-pagination-next"
479
+ class="gl-pagination-item"
473
480
  :aria-label="nextPageAriaLabel"
474
481
  :href="nextPageHref"
475
482
  @click="handleNext($event, value + 1)"
@@ -481,7 +488,7 @@ export default {
481
488
  @binding {number} number
482
489
  -->
483
490
  <slot name="next" v-bind="{ page: value + 1, disabled: nextPageIsDisabled }">
484
- <span>{{ nextText }}</span>
491
+ <span class="gl-hidden sm:gl-block">{{ nextText }}</span>
485
492
  <gl-icon name="chevron-right" />
486
493
  </slot>
487
494
  </component>
@@ -236,3 +236,27 @@
236
236
  animation-delay: 0ms !important;
237
237
  }
238
238
  }
239
+
240
+ @mixin gl-action-selected-colors {
241
+ color: var(--gl-action-selected-foreground-color-default);
242
+ background-color: var(--gl-action-selected-background-color-default);
243
+ border-color: var(--gl-action-selected-border-color-default);
244
+
245
+ &:hover {
246
+ color: var(--gl-action-selected-foreground-color-hover);
247
+ background-color: var(--gl-action-selected-background-color-hover);
248
+ border-color: var(--gl-action-selected-border-color-hover);
249
+ }
250
+
251
+ &:focus {
252
+ color: var(--gl-action-selected-foreground-color-focus);
253
+ background-color: var(--gl-action-selected-background-color-focus);
254
+ border-color: var(--gl-action-selected-border-color-focus);
255
+ }
256
+
257
+ &:active {
258
+ color: var(--gl-action-selected-foreground-color-active);
259
+ background-color: var(--gl-action-selected-background-color-active);
260
+ border-color: var(--gl-action-selected-border-color-active);
261
+ }
262
+ }
@@ -426,7 +426,10 @@
426
426
  "foreground": {
427
427
  "color": {
428
428
  "default": {
429
- "$value": "{color.neutral.0}",
429
+ "$value": {
430
+ "default": "{color.neutral.0}",
431
+ "dark": "{color.neutral.950}"
432
+ },
430
433
  "$type": "color",
431
434
  "$description": "Used for the foreground of a strong confirm action in the default state."
432
435
  },
@@ -478,7 +481,7 @@
478
481
  "default": {
479
482
  "$value": {
480
483
  "default": "{color.neutral.600}",
481
- "dark": "{color.neutral.300}"
484
+ "dark": "{color.neutral.700}"
482
485
  },
483
486
  "$type": "color",
484
487
  "$description": "Used for the background of a strong neutral action in the default state."
@@ -486,7 +489,7 @@
486
489
  "hover": {
487
490
  "$value": {
488
491
  "default": "{color.neutral.700}",
489
- "dark": "{color.neutral.200}"
492
+ "dark": "{color.neutral.600}"
490
493
  },
491
494
  "$type": "color",
492
495
  "$description": "Used for the background of a strong neutral action in the hover state."
@@ -499,7 +502,7 @@
499
502
  "active": {
500
503
  "$value": {
501
504
  "default": "{color.neutral.800}",
502
- "dark": "{color.neutral.100}"
505
+ "dark": "{color.neutral.500}"
503
506
  },
504
507
  "$type": "color",
505
508
  "$description": "Used for the background of a strong neutral action in the active state."
@@ -509,7 +512,10 @@
509
512
  "foreground": {
510
513
  "color": {
511
514
  "default": {
512
- "$value": "{color.neutral.0}",
515
+ "$value": {
516
+ "default": "{color.neutral.0}",
517
+ "dark": "{color.neutral.50}"
518
+ },
513
519
  "$type": "color",
514
520
  "$description": "Used for the foreground of a strong neutral action in the default state."
515
521
  },
@@ -557,4 +563,4 @@
557
563
  }
558
564
  }
559
565
  }
560
- }
566
+ }
@@ -780,6 +780,13 @@
780
780
  --gl-control-text-color-valid: var(--gl-text-color-success); /* Used for the helper text when the input is valid. */
781
781
  --gl-control-text-color-error: var(--gl-text-color-danger); /* Used for the helper text when the input is invalid. */
782
782
  --gl-token-foreground-color: var(--gl-text-color-default); /* Used for the token foreground color. */
783
+ --gl-toggle-switch-icon-color-disabled: var(--gl-action-disabled-background-color); /* Used for the icon color of a disabled toggle switch. */
784
+ --gl-toggle-switch-icon-color-checked-active: var(--gl-action-strong-confirm-background-color-active); /* Used for the icon color of a checked toggle switch in the active state. */
785
+ --gl-toggle-switch-icon-color-checked-hover: var(--gl-action-strong-confirm-background-color-hover); /* Used for the icon color of a checked toggle switch in the hover state. */
786
+ --gl-toggle-switch-icon-color-checked-default: var(--gl-action-strong-confirm-background-color-default); /* Used for the icon color of a checked toggle switch in the default state. */
787
+ --gl-toggle-switch-icon-color-unchecked-active: var(--gl-action-strong-neutral-background-color-active); /* Used for the icon color of an unchecked toggle switch in the active state. */
788
+ --gl-toggle-switch-icon-color-unchecked-hover: var(--gl-action-strong-neutral-background-color-hover); /* Used for the icon color of an unchecked toggle switch in the hover state. */
789
+ --gl-toggle-switch-icon-color-unchecked-default: var(--gl-action-strong-neutral-background-color-default); /* Used for the icon color of an unchecked toggle switch in the default state. */
783
790
  --gl-table-sorting-icon-color: var(--gl-text-color-heading); /* Used for the color of the sorting icons in the column headers. */
784
791
  --gl-table-row-background-color-hover: var(--gl-background-color-subtle); /* Used for the background of a table row in hover state. */
785
792
  --gl-progress-bar-indicator-color-danger: var(--gl-status-danger-icon-color); /* Used for the indicator color for the danger progress-bar variant. */
@@ -893,6 +900,8 @@
893
900
  --gl-action-selected-border-color-default: var(--gl-action-selected-background-color-default); /* Used for the border of a selected action in the default state. */
894
901
  --gl-action-selected-background-color-focus: var(--gl-action-selected-background-color-hover); /* Used for the background of a selected action in the focus state. */
895
902
  --gl-action-selected-foreground-color-hover: var(--gl-action-selected-foreground-color-default); /* Used for the foreground of a selected action in the hover state. */
903
+ --gl-toggle-switch-icon-color-checked-focus: var(--gl-action-strong-confirm-background-color-focus); /* Used for the icon color of a checked toggle switch in the focus state. */
904
+ --gl-toggle-switch-icon-color-unchecked-focus: var(--gl-action-strong-neutral-background-color-focus); /* Used for the icon color of an unchecked toggle switch in the focus state. */
896
905
  --gl-dropdown-option-text-color-active: var(--gl-action-neutral-foreground-color-active); /* Used for the text of a dropdown option in the active state. */
897
906
  --gl-dropdown-option-text-color-focus: var(--gl-action-neutral-foreground-color-focus); /* Used for the text of a dropdown option in the focus state. */
898
907
  --gl-dropdown-option-text-color-hover: var(--gl-action-neutral-foreground-color-hover); /* Used for the text of a dropdown option in the hover state. */
@@ -746,12 +746,12 @@
746
746
  --gl-background-color-subtle: var(--gl-color-neutral-900); /* Used to slightly differentiate the background from the default. */
747
747
  --gl-background-color-default: var(--gl-color-neutral-950); /* Used for the default background color. */
748
748
  --gl-action-strong-neutral-border-color-default: var(--gl-color-alpha-0); /* Used for the border of a strong neutral action in the default state. */
749
- --gl-action-strong-neutral-foreground-color-default: var(--gl-color-neutral-0); /* Used for the foreground of a strong neutral action in the default state. */
750
- --gl-action-strong-neutral-background-color-active: var(--gl-color-neutral-100); /* Used for the background of a strong neutral action in the active state. */
751
- --gl-action-strong-neutral-background-color-hover: var(--gl-color-neutral-200); /* Used for the background of a strong neutral action in the hover state. */
752
- --gl-action-strong-neutral-background-color-default: var(--gl-color-neutral-300); /* Used for the background of a strong neutral action in the default state. */
749
+ --gl-action-strong-neutral-foreground-color-default: var(--gl-color-neutral-50); /* Used for the foreground of a strong neutral action in the default state. */
750
+ --gl-action-strong-neutral-background-color-active: var(--gl-color-neutral-500); /* Used for the background of a strong neutral action in the active state. */
751
+ --gl-action-strong-neutral-background-color-hover: var(--gl-color-neutral-600); /* Used for the background of a strong neutral action in the hover state. */
752
+ --gl-action-strong-neutral-background-color-default: var(--gl-color-neutral-700); /* Used for the background of a strong neutral action in the default state. */
753
753
  --gl-action-strong-confirm-border-color-default: var(--gl-color-alpha-0); /* Used for the border of a strong confirm action in the default state. */
754
- --gl-action-strong-confirm-foreground-color-default: var(--gl-color-neutral-0); /* Used for the foreground of a strong confirm action in the default state. */
754
+ --gl-action-strong-confirm-foreground-color-default: var(--gl-color-neutral-950); /* Used for the foreground of a strong confirm action in the default state. */
755
755
  --gl-action-strong-confirm-background-color-active: var(--gl-color-blue-200); /* Used for the background of a strong confirm action in the active state. */
756
756
  --gl-action-strong-confirm-background-color-hover: var(--gl-color-blue-300); /* Used for the background of a strong confirm action in the hover state. */
757
757
  --gl-action-strong-confirm-background-color-default: var(--gl-color-blue-400); /* Used for the background of a strong confirm action in the default state. */
@@ -780,6 +780,13 @@
780
780
  --gl-control-text-color-valid: var(--gl-text-color-success); /* Used for the helper text when the input is valid. */
781
781
  --gl-control-text-color-error: var(--gl-text-color-danger); /* Used for the helper text when the input is invalid. */
782
782
  --gl-token-foreground-color: var(--gl-text-color-default); /* Used for the token foreground color. */
783
+ --gl-toggle-switch-icon-color-disabled: var(--gl-action-disabled-background-color); /* Used for the icon color of a disabled toggle switch. */
784
+ --gl-toggle-switch-icon-color-checked-active: var(--gl-action-strong-confirm-background-color-active); /* Used for the icon color of a checked toggle switch in the active state. */
785
+ --gl-toggle-switch-icon-color-checked-hover: var(--gl-action-strong-confirm-background-color-hover); /* Used for the icon color of a checked toggle switch in the hover state. */
786
+ --gl-toggle-switch-icon-color-checked-default: var(--gl-action-strong-confirm-background-color-default); /* Used for the icon color of a checked toggle switch in the default state. */
787
+ --gl-toggle-switch-icon-color-unchecked-active: var(--gl-action-strong-neutral-background-color-active); /* Used for the icon color of an unchecked toggle switch in the active state. */
788
+ --gl-toggle-switch-icon-color-unchecked-hover: var(--gl-action-strong-neutral-background-color-hover); /* Used for the icon color of an unchecked toggle switch in the hover state. */
789
+ --gl-toggle-switch-icon-color-unchecked-default: var(--gl-action-strong-neutral-background-color-default); /* Used for the icon color of an unchecked toggle switch in the default state. */
783
790
  --gl-table-sorting-icon-color: var(--gl-text-color-heading); /* Used for the color of the sorting icons in the column headers. */
784
791
  --gl-table-row-background-color-hover: var(--gl-background-color-subtle); /* Used for the background of a table row in hover state. */
785
792
  --gl-progress-bar-indicator-color-danger: var(--gl-status-danger-icon-color); /* Used for the indicator color for the danger progress-bar variant. */
@@ -893,6 +900,8 @@
893
900
  --gl-action-selected-border-color-default: var(--gl-action-selected-background-color-default); /* Used for the border of a selected action in the default state. */
894
901
  --gl-action-selected-background-color-focus: var(--gl-action-selected-background-color-hover); /* Used for the background of a selected action in the focus state. */
895
902
  --gl-action-selected-foreground-color-hover: var(--gl-action-selected-foreground-color-default); /* Used for the foreground of a selected action in the hover state. */
903
+ --gl-toggle-switch-icon-color-checked-focus: var(--gl-action-strong-confirm-background-color-focus); /* Used for the icon color of a checked toggle switch in the focus state. */
904
+ --gl-toggle-switch-icon-color-unchecked-focus: var(--gl-action-strong-neutral-background-color-focus); /* Used for the icon color of an unchecked toggle switch in the focus state. */
896
905
  --gl-dropdown-option-text-color-active: var(--gl-action-neutral-foreground-color-active); /* Used for the text of a dropdown option in the active state. */
897
906
  --gl-dropdown-option-text-color-focus: var(--gl-action-neutral-foreground-color-focus); /* Used for the text of a dropdown option in the focus state. */
898
907
  --gl-dropdown-option-text-color-hover: var(--gl-action-neutral-foreground-color-hover); /* Used for the text of a dropdown option in the hover state. */
@@ -58,22 +58,22 @@ export const GL_ACTION_STRONG_CONFIRM_BACKGROUND_COLOR_DEFAULT = '#428fdc'; // U
58
58
  export const GL_ACTION_STRONG_CONFIRM_BACKGROUND_COLOR_HOVER = '#63a6e9'; // Used for the background of a strong confirm action in the hover state.
59
59
  export const GL_ACTION_STRONG_CONFIRM_BACKGROUND_COLOR_FOCUS = '#63a6e9'; // Used for the background of a strong confirm action in the focus state.
60
60
  export const GL_ACTION_STRONG_CONFIRM_BACKGROUND_COLOR_ACTIVE = '#9dc7f1'; // Used for the background of a strong confirm action in the active state.
61
- export const GL_ACTION_STRONG_CONFIRM_FOREGROUND_COLOR_DEFAULT = '#fff'; // Used for the foreground of a strong confirm action in the default state.
62
- export const GL_ACTION_STRONG_CONFIRM_FOREGROUND_COLOR_HOVER = '#fff'; // Used for the foreground of a strong confirm action in the hover state.
63
- export const GL_ACTION_STRONG_CONFIRM_FOREGROUND_COLOR_FOCUS = '#fff'; // Used for the foreground of a strong confirm action in the focus state.
64
- export const GL_ACTION_STRONG_CONFIRM_FOREGROUND_COLOR_ACTIVE = '#fff'; // Used for the foreground of a strong confirm action in the active state.
61
+ export const GL_ACTION_STRONG_CONFIRM_FOREGROUND_COLOR_DEFAULT = '#18171d'; // Used for the foreground of a strong confirm action in the default state.
62
+ export const GL_ACTION_STRONG_CONFIRM_FOREGROUND_COLOR_HOVER = '#18171d'; // Used for the foreground of a strong confirm action in the hover state.
63
+ export const GL_ACTION_STRONG_CONFIRM_FOREGROUND_COLOR_FOCUS = '#18171d'; // Used for the foreground of a strong confirm action in the focus state.
64
+ export const GL_ACTION_STRONG_CONFIRM_FOREGROUND_COLOR_ACTIVE = '#18171d'; // Used for the foreground of a strong confirm action in the active state.
65
65
  export const GL_ACTION_STRONG_CONFIRM_BORDER_COLOR_DEFAULT = 'transparent'; // Used for the border of a strong confirm action in the default state.
66
66
  export const GL_ACTION_STRONG_CONFIRM_BORDER_COLOR_HOVER = 'transparent'; // Used for the border of a strong confirm action in the hover state.
67
67
  export const GL_ACTION_STRONG_CONFIRM_BORDER_COLOR_FOCUS = 'transparent'; // Used for the border of a strong confirm action in the focus state.
68
68
  export const GL_ACTION_STRONG_CONFIRM_BORDER_COLOR_ACTIVE = 'transparent'; // Used for the border of a strong confirm action in the active state.
69
- export const GL_ACTION_STRONG_NEUTRAL_BACKGROUND_COLOR_DEFAULT = '#a4a3a8'; // Used for the background of a strong neutral action in the default state.
70
- export const GL_ACTION_STRONG_NEUTRAL_BACKGROUND_COLOR_HOVER = '#bfbfc3'; // Used for the background of a strong neutral action in the hover state.
71
- export const GL_ACTION_STRONG_NEUTRAL_BACKGROUND_COLOR_FOCUS = '#bfbfc3'; // Used for the background of a strong neutral action in the focus state.
72
- export const GL_ACTION_STRONG_NEUTRAL_BACKGROUND_COLOR_ACTIVE = '#dcdcde'; // Used for the background of a strong neutral action in the active state.
73
- export const GL_ACTION_STRONG_NEUTRAL_FOREGROUND_COLOR_DEFAULT = '#fff'; // Used for the foreground of a strong neutral action in the default state.
74
- export const GL_ACTION_STRONG_NEUTRAL_FOREGROUND_COLOR_HOVER = '#fff'; // Used for the foreground of a strong neutral action in the hover state.
75
- export const GL_ACTION_STRONG_NEUTRAL_FOREGROUND_COLOR_FOCUS = '#fff'; // Used for the foreground of a strong neutral action in the focus state.
76
- export const GL_ACTION_STRONG_NEUTRAL_FOREGROUND_COLOR_ACTIVE = '#fff'; // Used for the foreground of a strong neutral action in the active state.
69
+ export const GL_ACTION_STRONG_NEUTRAL_BACKGROUND_COLOR_DEFAULT = '#4c4b51'; // Used for the background of a strong neutral action in the default state.
70
+ export const GL_ACTION_STRONG_NEUTRAL_BACKGROUND_COLOR_HOVER = '#626168'; // Used for the background of a strong neutral action in the hover state.
71
+ export const GL_ACTION_STRONG_NEUTRAL_BACKGROUND_COLOR_FOCUS = '#626168'; // Used for the background of a strong neutral action in the focus state.
72
+ export const GL_ACTION_STRONG_NEUTRAL_BACKGROUND_COLOR_ACTIVE = '#737278'; // Used for the background of a strong neutral action in the active state.
73
+ export const GL_ACTION_STRONG_NEUTRAL_FOREGROUND_COLOR_DEFAULT = '#ececef'; // Used for the foreground of a strong neutral action in the default state.
74
+ export const GL_ACTION_STRONG_NEUTRAL_FOREGROUND_COLOR_HOVER = '#ececef'; // Used for the foreground of a strong neutral action in the hover state.
75
+ export const GL_ACTION_STRONG_NEUTRAL_FOREGROUND_COLOR_FOCUS = '#ececef'; // Used for the foreground of a strong neutral action in the focus state.
76
+ export const GL_ACTION_STRONG_NEUTRAL_FOREGROUND_COLOR_ACTIVE = '#ececef'; // Used for the foreground of a strong neutral action in the active state.
77
77
  export const GL_ACTION_STRONG_NEUTRAL_BORDER_COLOR_DEFAULT = 'transparent'; // Used for the border of a strong neutral action in the default state.
78
78
  export const GL_ACTION_STRONG_NEUTRAL_BORDER_COLOR_HOVER = 'transparent'; // Used for the border of a strong neutral action in the hover state.
79
79
  export const GL_ACTION_STRONG_NEUTRAL_BORDER_COLOR_FOCUS = 'transparent'; // Used for the border of a strong neutral action in the focus state.
@@ -530,10 +530,10 @@ export const GL_BUTTON_DEFAULT_TERTIARY_BORDER_COLOR_DEFAULT = 'transparent'; //
530
530
  export const GL_BUTTON_DEFAULT_TERTIARY_BORDER_COLOR_HOVER = 'transparent'; // Used for the border of a default borderless, tertiary button in the hover state.
531
531
  export const GL_BUTTON_DEFAULT_TERTIARY_BORDER_COLOR_FOCUS = 'transparent'; // Used for the border of a default borderless, tertiary button in the focus state.
532
532
  export const GL_BUTTON_DEFAULT_TERTIARY_BORDER_COLOR_ACTIVE = 'transparent'; // Used for the border of a default borderless, tertiary button in the active state.
533
- export const GL_BUTTON_CONFIRM_PRIMARY_FOREGROUND_COLOR_DEFAULT = '#fff'; // Used for the foreground of a confirm (positive) primary button in the default state.
534
- export const GL_BUTTON_CONFIRM_PRIMARY_FOREGROUND_COLOR_HOVER = '#fff'; // Used for the foreground of a confirm (positive) primary button in the hover state.
535
- export const GL_BUTTON_CONFIRM_PRIMARY_FOREGROUND_COLOR_FOCUS = '#fff'; // Used for the foreground of a confirm (positive) primary button in the focus state.
536
- export const GL_BUTTON_CONFIRM_PRIMARY_FOREGROUND_COLOR_ACTIVE = '#fff'; // Used for the foreground of a confirm (positive) primary button in the active state.
533
+ export const GL_BUTTON_CONFIRM_PRIMARY_FOREGROUND_COLOR_DEFAULT = '#18171d'; // Used for the foreground of a confirm (positive) primary button in the default state.
534
+ export const GL_BUTTON_CONFIRM_PRIMARY_FOREGROUND_COLOR_HOVER = '#18171d'; // Used for the foreground of a confirm (positive) primary button in the hover state.
535
+ export const GL_BUTTON_CONFIRM_PRIMARY_FOREGROUND_COLOR_FOCUS = '#18171d'; // Used for the foreground of a confirm (positive) primary button in the focus state.
536
+ export const GL_BUTTON_CONFIRM_PRIMARY_FOREGROUND_COLOR_ACTIVE = '#18171d'; // Used for the foreground of a confirm (positive) primary button in the active state.
537
537
  export const GL_BUTTON_CONFIRM_PRIMARY_BACKGROUND_COLOR_DEFAULT = '#428fdc'; // Used for the background of a confirm (positive) primary button in the default state.
538
538
  export const GL_BUTTON_CONFIRM_PRIMARY_BACKGROUND_COLOR_HOVER = '#63a6e9'; // Used for the background of a confirm (positive) primary button in the hover state.
539
539
  export const GL_BUTTON_CONFIRM_PRIMARY_BACKGROUND_COLOR_FOCUS = '#63a6e9'; // Used for the background of a confirm (positive) primary button in the focus state.
@@ -682,6 +682,15 @@ export const GL_SPINNER_SEGMENT_COLOR_LIGHT = '#bfbfc3'; // Used for the animate
682
682
  export const GL_TABLE_ROW_BACKGROUND_COLOR_HOVER = '#28272d'; // Used for the background of a table row in hover state.
683
683
  export const GL_TABLE_SORTING_ICON_COLOR = '#fff'; // Used for the color of the sorting icons in the column headers.
684
684
  export const GL_TAB_SELECTED_INDICATOR_COLOR_DEFAULT = '#428fdc'; // Used for the selected indicator of a tab.
685
+ export const GL_TOGGLE_SWITCH_ICON_COLOR_UNCHECKED_DEFAULT = '#4c4b51'; // Used for the icon color of an unchecked toggle switch in the default state.
686
+ export const GL_TOGGLE_SWITCH_ICON_COLOR_UNCHECKED_HOVER = '#626168'; // Used for the icon color of an unchecked toggle switch in the hover state.
687
+ export const GL_TOGGLE_SWITCH_ICON_COLOR_UNCHECKED_FOCUS = '#626168'; // Used for the icon color of an unchecked toggle switch in the focus state.
688
+ export const GL_TOGGLE_SWITCH_ICON_COLOR_UNCHECKED_ACTIVE = '#737278'; // Used for the icon color of an unchecked toggle switch in the active state.
689
+ export const GL_TOGGLE_SWITCH_ICON_COLOR_CHECKED_DEFAULT = '#428fdc'; // Used for the icon color of a checked toggle switch in the default state.
690
+ export const GL_TOGGLE_SWITCH_ICON_COLOR_CHECKED_HOVER = '#63a6e9'; // Used for the icon color of a checked toggle switch in the hover state.
691
+ export const GL_TOGGLE_SWITCH_ICON_COLOR_CHECKED_FOCUS = '#63a6e9'; // Used for the icon color of a checked toggle switch in the focus state.
692
+ export const GL_TOGGLE_SWITCH_ICON_COLOR_CHECKED_ACTIVE = '#9dc7f1'; // Used for the icon color of a checked toggle switch in the active state.
693
+ export const GL_TOGGLE_SWITCH_ICON_COLOR_DISABLED = '#28272d'; // Used for the icon color of a disabled toggle switch.
685
694
  export const GL_TOKEN_FOREGROUND_COLOR = '#ececef'; // Used for the token foreground color.
686
695
  export const GL_TOKEN_BACKGROUND_COLOR = '#3a383f'; // Used for the token background color.
687
696
  export const GL_CONTROL_BACKGROUND_COLOR_DEFAULT = 'rgba(05, 05, 06, 0.4)'; // Used for form control (input, radio button, checkbox, textarea) default background.
@@ -682,6 +682,15 @@ export const GL_SPINNER_SEGMENT_COLOR_LIGHT = '#bfbfc3'; // Used for the animate
682
682
  export const GL_TABLE_ROW_BACKGROUND_COLOR_HOVER = '#fbfafd'; // Used for the background of a table row in hover state.
683
683
  export const GL_TABLE_SORTING_ICON_COLOR = '#18171d'; // Used for the color of the sorting icons in the column headers.
684
684
  export const GL_TAB_SELECTED_INDICATOR_COLOR_DEFAULT = '#1f75cb'; // Used for the selected indicator of a tab.
685
+ export const GL_TOGGLE_SWITCH_ICON_COLOR_UNCHECKED_DEFAULT = '#626168'; // Used for the icon color of an unchecked toggle switch in the default state.
686
+ export const GL_TOGGLE_SWITCH_ICON_COLOR_UNCHECKED_HOVER = '#4c4b51'; // Used for the icon color of an unchecked toggle switch in the hover state.
687
+ export const GL_TOGGLE_SWITCH_ICON_COLOR_UNCHECKED_FOCUS = '#4c4b51'; // Used for the icon color of an unchecked toggle switch in the focus state.
688
+ export const GL_TOGGLE_SWITCH_ICON_COLOR_UNCHECKED_ACTIVE = '#3a383f'; // Used for the icon color of an unchecked toggle switch in the active state.
689
+ export const GL_TOGGLE_SWITCH_ICON_COLOR_CHECKED_DEFAULT = '#1f75cb'; // Used for the icon color of a checked toggle switch in the default state.
690
+ export const GL_TOGGLE_SWITCH_ICON_COLOR_CHECKED_HOVER = '#1068bf'; // Used for the icon color of a checked toggle switch in the hover state.
691
+ export const GL_TOGGLE_SWITCH_ICON_COLOR_CHECKED_FOCUS = '#1068bf'; // Used for the icon color of a checked toggle switch in the focus state.
692
+ export const GL_TOGGLE_SWITCH_ICON_COLOR_CHECKED_ACTIVE = '#0b5cad'; // Used for the icon color of a checked toggle switch in the active state.
693
+ export const GL_TOGGLE_SWITCH_ICON_COLOR_DISABLED = '#ececef'; // Used for the icon color of a disabled toggle switch.
685
694
  export const GL_TOKEN_FOREGROUND_COLOR = '#3a383f'; // Used for the token foreground color.
686
695
  export const GL_TOKEN_BACKGROUND_COLOR = '#dcdcde'; // Used for the token background color.
687
696
  export const GL_CONTROL_BACKGROUND_COLOR_DEFAULT = '#fff'; // Used for form control (input, radio button, checkbox, textarea) default background.