@gitlab/ui 85.12.1 → 85.12.2

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 (32) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/dist/components/base/skeleton_loader/skeleton_loader.js +3 -3
  3. package/dist/components/experimental/duo/chat/constants.js +2 -1
  4. package/dist/components/experimental/duo/chat/duo_chat.js +2 -2
  5. package/dist/index.css +2 -2
  6. package/dist/index.css.map +1 -1
  7. package/dist/tokens/build/js/tokens.dark.js +31 -1
  8. package/dist/tokens/build/js/tokens.js +31 -1
  9. package/dist/tokens/css/tokens.css +30 -0
  10. package/dist/tokens/css/tokens.dark.css +30 -0
  11. package/dist/tokens/js/tokens.dark.js +30 -0
  12. package/dist/tokens/js/tokens.js +30 -0
  13. package/dist/tokens/json/tokens.dark.json +753 -0
  14. package/dist/tokens/json/tokens.json +753 -0
  15. package/dist/tokens/scss/_tokens.dark.scss +30 -0
  16. package/dist/tokens/scss/_tokens.scss +30 -0
  17. package/dist/tokens/scss/_tokens_custom_properties.scss +30 -0
  18. package/package.json +1 -1
  19. package/src/components/base/skeleton_loader/skeleton_loader.scss +2 -2
  20. package/src/components/base/skeleton_loader/skeleton_loader.vue +3 -3
  21. package/src/components/experimental/duo/chat/constants.js +1 -0
  22. package/src/components/experimental/duo/chat/duo_chat.vue +2 -2
  23. package/src/tokens/action.tokens.json +261 -0
  24. package/src/tokens/build/css/tokens.css +30 -0
  25. package/src/tokens/build/css/tokens.dark.css +30 -0
  26. package/src/tokens/build/js/tokens.dark.js +30 -0
  27. package/src/tokens/build/js/tokens.js +30 -0
  28. package/src/tokens/build/json/tokens.dark.json +753 -0
  29. package/src/tokens/build/json/tokens.json +753 -0
  30. package/src/tokens/build/scss/_tokens.dark.scss +30 -0
  31. package/src/tokens/build/scss/_tokens.scss +30 -0
  32. package/src/tokens/build/scss/_tokens_custom_properties.scss +30 -0
@@ -537,6 +537,36 @@ $gl-background-color-disabled: $gl-color-neutral-900; // Used to identify a disa
537
537
  $gl-background-color-strong: $gl-color-neutral-800; // Used to make the background easily stand out from the default.
538
538
  $gl-background-color-subtle: $gl-color-neutral-900; // Used to slightly differentiate the background from the default.
539
539
  $gl-background-color-default: $gl-color-neutral-950; // Used for the default background color.
540
+ $gl-action-danger-icon-color-strong: $gl-color-neutral-900; // Used for the icon on a solid, strong danger (destructive) action background.
541
+ $gl-action-danger-icon-color-active: $gl-color-red-50; // Used for the icon of a danger (destructive) action in the active state.
542
+ $gl-action-danger-icon-color-focus: $gl-color-red-200; // Used for the icon of a danger (destructive) action in the focus state.
543
+ $gl-action-danger-icon-color-hover: $gl-color-red-200; // Used for the icon of a danger (destructive) action in the hover state.
544
+ $gl-action-danger-icon-color-default: $gl-color-red-400; // Used for the icon of a danger (destructive) action in the default state.
545
+ $gl-action-danger-text-color-strong: $gl-color-neutral-900; // Used for the text on a solid, strong danger (destructive) action background.
546
+ $gl-action-danger-text-color-active: $gl-color-red-50; // Used for the text of a danger (destructive) action in the active state.
547
+ $gl-action-danger-text-color-focus: $gl-color-red-200; // Used for the text of a danger (destructive) action in the focus state.
548
+ $gl-action-danger-text-color-hover: $gl-color-red-200; // Used for the text of a danger (destructive) action in the hover state.
549
+ $gl-action-danger-text-color-default: $gl-color-red-400; // Used for the text of a danger (destructive) action in the default state.
550
+ $gl-action-danger-border-color-strong-active: $gl-color-red-50; // Used for the border of a solid, strong danger (destructive) action in the active state.
551
+ $gl-action-danger-border-color-strong-focus: $gl-color-red-100; // Used for the border of a solid, strong danger (destructive) action in the focus state.
552
+ $gl-action-danger-border-color-strong-hover: $gl-color-red-100; // Used for the border of a solid, strong danger (destructive) action in the hover state.
553
+ $gl-action-danger-border-color-strong-default: $gl-color-red-300; // Used for the border of a solid, strong danger (destructive) action in the default state.
554
+ $gl-action-danger-border-color-active: $gl-color-red-50; // Used for the border of an outlined danger (destructive) action in the active state.
555
+ $gl-action-danger-border-color-focus: $gl-color-red-200; // Used for the border of an outlined danger (destructive) action in the focus state.
556
+ $gl-action-danger-border-color-hover: $gl-color-red-200; // Used for the border of an outlined danger (destructive) action in the hover state.
557
+ $gl-action-danger-border-color-default: $gl-color-red-400; // Used for the border of an outlined danger (destructive) action in the default state.
558
+ $gl-action-danger-background-color-strong-active: $gl-color-red-100; // Used for the background of a solid, strong danger (destructive) action in the active state.
559
+ $gl-action-danger-background-color-strong-focus: $gl-color-red-300; // Used for the background of a solid, strong danger (destructive) action in the focus state.
560
+ $gl-action-danger-background-color-strong-hover: $gl-color-red-300; // Used for the background of a solid, strong danger (destructive) action in the hover state.
561
+ $gl-action-danger-background-color-strong-default: $gl-color-red-400; // Used for the background of a solid, strong danger (destructive) action in the default state.
562
+ $gl-action-danger-background-color-subtle-active: $gl-color-red-800; // Used for the background of a borderless, subtle danger (destructive) action in the active state.
563
+ $gl-action-danger-background-color-subtle-focus: $gl-color-red-900; // Used for the background of a borderless, subtle danger (destructive) action in the focus state.
564
+ $gl-action-danger-background-color-subtle-hover: $gl-color-red-900; // Used for the background of a borderless, subtle danger (destructive) action in the hover state.
565
+ $gl-action-danger-background-color-subtle-default: $gl-color-alpha-0; // Used for the background of a borderless, subtle danger (destructive) action in the default state.
566
+ $gl-action-danger-background-color-active: $gl-color-red-800; // Used for the background of an outlined danger (destructive) action in the active state.
567
+ $gl-action-danger-background-color-focus: $gl-color-red-900; // Used for the background of an outlined danger (destructive) action in the focus state.
568
+ $gl-action-danger-background-color-hover: $gl-color-red-900; // Used for the background of an outlined danger (destructive) action in the hover state.
569
+ $gl-action-danger-background-color-default: $gl-color-neutral-900; // Used for the background of an outlined danger (destructive) action in the default state.
540
570
  $gl-action-confirm-icon-color-strong: $gl-color-neutral-900; // Used for the icon on a solid, strong confirm (positive) action background.
541
571
  $gl-action-confirm-icon-color-active: $gl-color-blue-50; // Used for the icon of a confirm (positive) action in the active state.
542
572
  $gl-action-confirm-icon-color-focus: $gl-color-blue-200; // Used for the icon of a confirm (positive) action in the focus state.
@@ -537,6 +537,36 @@ $gl-background-color-disabled: $gl-color-neutral-10; // Used to identify a disab
537
537
  $gl-background-color-strong: $gl-color-neutral-50; // Used to make the background easily stand out from the default.
538
538
  $gl-background-color-subtle: $gl-color-neutral-10; // Used to slightly differentiate the background from the default.
539
539
  $gl-background-color-default: $gl-color-neutral-0; // Used for the default background color.
540
+ $gl-action-danger-icon-color-strong: $gl-color-neutral-0; // Used for the icon on a solid, strong danger (destructive) action background.
541
+ $gl-action-danger-icon-color-active: $gl-color-red-900; // Used for the icon of a danger (destructive) action in the active state.
542
+ $gl-action-danger-icon-color-focus: $gl-color-red-700; // Used for the icon of a danger (destructive) action in the focus state.
543
+ $gl-action-danger-icon-color-hover: $gl-color-red-700; // Used for the icon of a danger (destructive) action in the hover state.
544
+ $gl-action-danger-icon-color-default: $gl-color-red-500; // Used for the icon of a danger (destructive) action in the default state.
545
+ $gl-action-danger-text-color-strong: $gl-color-neutral-0; // Used for the text on a solid, strong danger (destructive) action background.
546
+ $gl-action-danger-text-color-active: $gl-color-red-900; // Used for the text of a danger (destructive) action in the active state.
547
+ $gl-action-danger-text-color-focus: $gl-color-red-700; // Used for the text of a danger (destructive) action in the focus state.
548
+ $gl-action-danger-text-color-hover: $gl-color-red-700; // Used for the text of a danger (destructive) action in the hover state.
549
+ $gl-action-danger-text-color-default: $gl-color-red-500; // Used for the text of a danger (destructive) action in the default state.
550
+ $gl-action-danger-border-color-strong-active: $gl-color-red-900; // Used for the border of a solid, strong danger (destructive) action in the active state.
551
+ $gl-action-danger-border-color-strong-focus: $gl-color-red-800; // Used for the border of a solid, strong danger (destructive) action in the focus state.
552
+ $gl-action-danger-border-color-strong-hover: $gl-color-red-800; // Used for the border of a solid, strong danger (destructive) action in the hover state.
553
+ $gl-action-danger-border-color-strong-default: $gl-color-red-600; // Used for the border of a solid, strong danger (destructive) action in the default state.
554
+ $gl-action-danger-border-color-active: $gl-color-red-900; // Used for the border of an outlined danger (destructive) action in the active state.
555
+ $gl-action-danger-border-color-focus: $gl-color-red-700; // Used for the border of an outlined danger (destructive) action in the focus state.
556
+ $gl-action-danger-border-color-hover: $gl-color-red-700; // Used for the border of an outlined danger (destructive) action in the hover state.
557
+ $gl-action-danger-border-color-default: $gl-color-red-500; // Used for the border of an outlined danger (destructive) action in the default state.
558
+ $gl-action-danger-background-color-strong-active: $gl-color-red-800; // Used for the background of a solid, strong danger (destructive) action in the active state.
559
+ $gl-action-danger-background-color-strong-focus: $gl-color-red-600; // Used for the background of a solid, strong danger (destructive) action in the focus state.
560
+ $gl-action-danger-background-color-strong-hover: $gl-color-red-600; // Used for the background of a solid, strong danger (destructive) action in the hover state.
561
+ $gl-action-danger-background-color-strong-default: $gl-color-red-500; // Used for the background of a solid, strong danger (destructive) action in the default state.
562
+ $gl-action-danger-background-color-subtle-active: $gl-color-red-100; // Used for the background of a borderless, subtle danger (destructive) action in the active state.
563
+ $gl-action-danger-background-color-subtle-focus: $gl-color-red-50; // Used for the background of a borderless, subtle danger (destructive) action in the focus state.
564
+ $gl-action-danger-background-color-subtle-hover: $gl-color-red-50; // Used for the background of a borderless, subtle danger (destructive) action in the hover state.
565
+ $gl-action-danger-background-color-subtle-default: $gl-color-alpha-0; // Used for the background of a borderless, subtle danger (destructive) action in the default state.
566
+ $gl-action-danger-background-color-active: $gl-color-red-100; // Used for the background of an outlined danger (destructive) action in the active state.
567
+ $gl-action-danger-background-color-focus: $gl-color-red-50; // Used for the background of an outlined danger (destructive) action in the focus state.
568
+ $gl-action-danger-background-color-hover: $gl-color-red-50; // Used for the background of an outlined danger (destructive) action in the hover state.
569
+ $gl-action-danger-background-color-default: $gl-color-neutral-0; // Used for the background of an outlined danger (destructive) action in the default state.
540
570
  $gl-action-confirm-icon-color-strong: $gl-color-neutral-0; // Used for the icon on a solid, strong confirm (positive) action background.
541
571
  $gl-action-confirm-icon-color-active: $gl-color-blue-900; // Used for the icon of a confirm (positive) action in the active state.
542
572
  $gl-action-confirm-icon-color-focus: $gl-color-blue-700; // Used for the icon of a confirm (positive) action in the focus state.
@@ -70,6 +70,36 @@ $gl-action-confirm-icon-color-hover: var(--gl-action-confirm-icon-color-hover);
70
70
  $gl-action-confirm-icon-color-focus: var(--gl-action-confirm-icon-color-focus);
71
71
  $gl-action-confirm-icon-color-active: var(--gl-action-confirm-icon-color-active);
72
72
  $gl-action-confirm-icon-color-strong: var(--gl-action-confirm-icon-color-strong);
73
+ $gl-action-danger-background-color-default: var(--gl-action-danger-background-color-default);
74
+ $gl-action-danger-background-color-hover: var(--gl-action-danger-background-color-hover);
75
+ $gl-action-danger-background-color-focus: var(--gl-action-danger-background-color-focus);
76
+ $gl-action-danger-background-color-active: var(--gl-action-danger-background-color-active);
77
+ $gl-action-danger-background-color-subtle-default: var(--gl-action-danger-background-color-subtle-default);
78
+ $gl-action-danger-background-color-subtle-hover: var(--gl-action-danger-background-color-subtle-hover);
79
+ $gl-action-danger-background-color-subtle-focus: var(--gl-action-danger-background-color-subtle-focus);
80
+ $gl-action-danger-background-color-subtle-active: var(--gl-action-danger-background-color-subtle-active);
81
+ $gl-action-danger-background-color-strong-default: var(--gl-action-danger-background-color-strong-default);
82
+ $gl-action-danger-background-color-strong-hover: var(--gl-action-danger-background-color-strong-hover);
83
+ $gl-action-danger-background-color-strong-focus: var(--gl-action-danger-background-color-strong-focus);
84
+ $gl-action-danger-background-color-strong-active: var(--gl-action-danger-background-color-strong-active);
85
+ $gl-action-danger-border-color-default: var(--gl-action-danger-border-color-default);
86
+ $gl-action-danger-border-color-hover: var(--gl-action-danger-border-color-hover);
87
+ $gl-action-danger-border-color-focus: var(--gl-action-danger-border-color-focus);
88
+ $gl-action-danger-border-color-active: var(--gl-action-danger-border-color-active);
89
+ $gl-action-danger-border-color-strong-default: var(--gl-action-danger-border-color-strong-default);
90
+ $gl-action-danger-border-color-strong-hover: var(--gl-action-danger-border-color-strong-hover);
91
+ $gl-action-danger-border-color-strong-focus: var(--gl-action-danger-border-color-strong-focus);
92
+ $gl-action-danger-border-color-strong-active: var(--gl-action-danger-border-color-strong-active);
93
+ $gl-action-danger-text-color-default: var(--gl-action-danger-text-color-default);
94
+ $gl-action-danger-text-color-hover: var(--gl-action-danger-text-color-hover);
95
+ $gl-action-danger-text-color-focus: var(--gl-action-danger-text-color-focus);
96
+ $gl-action-danger-text-color-active: var(--gl-action-danger-text-color-active);
97
+ $gl-action-danger-text-color-strong: var(--gl-action-danger-text-color-strong);
98
+ $gl-action-danger-icon-color-default: var(--gl-action-danger-icon-color-default);
99
+ $gl-action-danger-icon-color-hover: var(--gl-action-danger-icon-color-hover);
100
+ $gl-action-danger-icon-color-focus: var(--gl-action-danger-icon-color-focus);
101
+ $gl-action-danger-icon-color-active: var(--gl-action-danger-icon-color-active);
102
+ $gl-action-danger-icon-color-strong: var(--gl-action-danger-icon-color-strong);
73
103
  $gl-background-color-default: var(--gl-background-color-default);
74
104
  $gl-background-color-subtle: var(--gl-background-color-subtle);
75
105
  $gl-background-color-strong: var(--gl-background-color-strong);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gitlab/ui",
3
- "version": "85.12.1",
3
+ "version": "85.12.2",
4
4
  "description": "GitLab UI Components",
5
5
  "license": "MIT",
6
6
  "main": "dist/index.js",
@@ -7,11 +7,11 @@
7
7
  @include gl-opacity-10;
8
8
  }
9
9
 
10
- .primary-stop {
10
+ .background-stop {
11
11
  stop-color: var(--gl-skeleton-loader-background-color);
12
12
  }
13
13
 
14
- .secondary-stop {
14
+ .shimmer-stop {
15
15
  stop-color: var(--gl-skeleton-loader-shimmer-color);
16
16
  }
17
17
  }
@@ -169,7 +169,7 @@ export default {
169
169
  createElement(
170
170
  'stop',
171
171
  {
172
- class: 'primary-stop',
172
+ class: 'background-stop',
173
173
  attrs: {
174
174
  offset: '0%',
175
175
  },
@@ -188,7 +188,7 @@ export default {
188
188
  createElement(
189
189
  'stop',
190
190
  {
191
- class: 'secondary-stop',
191
+ class: 'shimmer-stop',
192
192
  attrs: {
193
193
  offset: '50%',
194
194
  },
@@ -207,7 +207,7 @@ export default {
207
207
  createElement(
208
208
  'stop',
209
209
  {
210
- class: 'primary-stop',
210
+ class: 'background-stop',
211
211
  attrs: {
212
212
  offset: '100%',
213
213
  },
@@ -1,5 +1,6 @@
1
1
  export const CHAT_RESET_MESSAGE = '/reset';
2
2
  export const CHAT_CLEAN_MESSAGE = '/clean';
3
+ export const CHAT_CLEAR_MESSAGE = '/clear';
3
4
 
4
5
  export const LOADING_TRANSITION_DURATION = 7500;
5
6
 
@@ -16,7 +16,7 @@ import { SafeHtmlDirective as SafeHtml } from '../../../../directives/safe_html/
16
16
  import GlDuoChatLoader from './components/duo_chat_loader/duo_chat_loader.vue';
17
17
  import GlDuoChatPredefinedPrompts from './components/duo_chat_predefined_prompts/duo_chat_predefined_prompts.vue';
18
18
  import GlDuoChatConversation from './components/duo_chat_conversation/duo_chat_conversation.vue';
19
- import { CHAT_CLEAN_MESSAGE, CHAT_RESET_MESSAGE } from './constants';
19
+ import { CHAT_CLEAN_MESSAGE, CHAT_RESET_MESSAGE, CHAT_CLEAR_MESSAGE } from './constants';
20
20
 
21
21
  export const i18n = {
22
22
  CHAT_DEFAULT_TITLE: 'GitLab Duo Chat',
@@ -314,7 +314,7 @@ export default {
314
314
  * @param {String} prompt The user prompt to send.
315
315
  */
316
316
 
317
- if (![CHAT_RESET_MESSAGE, CHAT_CLEAN_MESSAGE].includes(this.prompt)) {
317
+ if (![CHAT_RESET_MESSAGE, CHAT_CLEAN_MESSAGE, CHAT_CLEAR_MESSAGE].includes(this.prompt)) {
318
318
  this.displaySubmitButton = false;
319
319
  }
320
320
  this.$emit('send-chat-prompt', this.prompt.trim());
@@ -590,6 +590,267 @@
590
590
  }
591
591
  }
592
592
  }
593
+ },
594
+ "danger": {
595
+ "background": {
596
+ "color": {
597
+ "default": {
598
+ "$value": {
599
+ "default": "{color.neutral.0}",
600
+ "dark": "{color.neutral.900}"
601
+ },
602
+ "$type": "color",
603
+ "$description": "Used for the background of an outlined danger (destructive) action in the default state."
604
+ },
605
+ "hover": {
606
+ "$value": {
607
+ "default": "{color.red.50}",
608
+ "dark": "{color.red.900}"
609
+ },
610
+ "$type": "color",
611
+ "$description": "Used for the background of an outlined danger (destructive) action in the hover state."
612
+ },
613
+ "focus": {
614
+ "$value": {
615
+ "default": "{color.red.50}",
616
+ "dark": "{color.red.900}"
617
+ },
618
+ "$type": "color",
619
+ "$description": "Used for the background of an outlined danger (destructive) action in the focus state."
620
+ },
621
+ "active": {
622
+ "$value": {
623
+ "default": "{color.red.100}",
624
+ "dark": "{color.red.800}"
625
+ },
626
+ "$type": "color",
627
+ "$description": "Used for the background of an outlined danger (destructive) action in the active state."
628
+ },
629
+ "subtle": {
630
+ "default": {
631
+ "$value": "{color.alpha.0}",
632
+ "$type": "color",
633
+ "$description": "Used for the background of a borderless, subtle danger (destructive) action in the default state."
634
+ },
635
+ "hover": {
636
+ "$value": {
637
+ "default": "{color.red.50}",
638
+ "dark": "{color.red.900}"
639
+ },
640
+ "$type": "color",
641
+ "$description": "Used for the background of a borderless, subtle danger (destructive) action in the hover state."
642
+ },
643
+ "focus": {
644
+ "$value": {
645
+ "default": "{color.red.50}",
646
+ "dark": "{color.red.900}"
647
+ },
648
+ "$type": "color",
649
+ "$description": "Used for the background of a borderless, subtle danger (destructive) action in the focus state."
650
+ },
651
+ "active": {
652
+ "$value": {
653
+ "default": "{color.red.100}",
654
+ "dark": "{color.red.800}"
655
+ },
656
+ "$type": "color",
657
+ "$description": "Used for the background of a borderless, subtle danger (destructive) action in the active state."
658
+ }
659
+ },
660
+ "strong": {
661
+ "default": {
662
+ "$value": {
663
+ "default": "{color.red.500}",
664
+ "dark": "{color.red.400}"
665
+ },
666
+ "$type": "color",
667
+ "$description": "Used for the background of a solid, strong danger (destructive) action in the default state."
668
+ },
669
+ "hover": {
670
+ "$value": {
671
+ "default": "{color.red.600}",
672
+ "dark": "{color.red.300}"
673
+ },
674
+ "$type": "color",
675
+ "$description": "Used for the background of a solid, strong danger (destructive) action in the hover state."
676
+ },
677
+ "focus": {
678
+ "$value": {
679
+ "default": "{color.red.600}",
680
+ "dark": "{color.red.300}"
681
+ },
682
+ "$type": "color",
683
+ "$description": "Used for the background of a solid, strong danger (destructive) action in the focus state."
684
+ },
685
+ "active": {
686
+ "$value": {
687
+ "default": "{color.red.800}",
688
+ "dark": "{color.red.100}"
689
+ },
690
+ "$type": "color",
691
+ "$description": "Used for the background of a solid, strong danger (destructive) action in the active state."
692
+ }
693
+ }
694
+ }
695
+ },
696
+ "border": {
697
+ "color": {
698
+ "default": {
699
+ "$value": {
700
+ "default": "{color.red.500}",
701
+ "dark": "{color.red.400}"
702
+ },
703
+ "$type": "color",
704
+ "$description": "Used for the border of an outlined danger (destructive) action in the default state."
705
+ },
706
+ "hover": {
707
+ "$value": {
708
+ "default": "{color.red.700}",
709
+ "dark": "{color.red.200}"
710
+ },
711
+ "$type": "color",
712
+ "$description": "Used for the border of an outlined danger (destructive) action in the hover state."
713
+ },
714
+ "focus": {
715
+ "$value": {
716
+ "default": "{color.red.700}",
717
+ "dark": "{color.red.200}"
718
+ },
719
+ "$type": "color",
720
+ "$description": "Used for the border of an outlined danger (destructive) action in the focus state."
721
+ },
722
+ "active": {
723
+ "$value": {
724
+ "default": "{color.red.900}",
725
+ "dark": "{color.red.50}"
726
+ },
727
+ "$type": "color",
728
+ "$description": "Used for the border of an outlined danger (destructive) action in the active state."
729
+ },
730
+ "strong": {
731
+ "default": {
732
+ "$value": {
733
+ "default": "{color.red.600}",
734
+ "dark": "{color.red.300}"
735
+ },
736
+ "$type": "color",
737
+ "$description": "Used for the border of a solid, strong danger (destructive) action in the default state."
738
+ },
739
+ "hover": {
740
+ "$value": {
741
+ "default": "{color.red.800}",
742
+ "dark": "{color.red.100}"
743
+ },
744
+ "$type": "color",
745
+ "$description": "Used for the border of a solid, strong danger (destructive) action in the hover state."
746
+ },
747
+ "focus": {
748
+ "$value": {
749
+ "default": "{color.red.800}",
750
+ "dark": "{color.red.100}"
751
+ },
752
+ "$type": "color",
753
+ "$description": "Used for the border of a solid, strong danger (destructive) action in the focus state."
754
+ },
755
+ "active": {
756
+ "$value": {
757
+ "default": "{color.red.900}",
758
+ "dark": "{color.red.50}"
759
+ },
760
+ "$type": "color",
761
+ "$description": "Used for the border of a solid, strong danger (destructive) action in the active state."
762
+ }
763
+ }
764
+ }
765
+ },
766
+ "text": {
767
+ "color": {
768
+ "default": {
769
+ "$value": {
770
+ "default": "{color.red.500}",
771
+ "dark": "{color.red.400}"
772
+ },
773
+ "$type": "color",
774
+ "$description": "Used for the text of a danger (destructive) action in the default state."
775
+ },
776
+ "hover": {
777
+ "$value": {
778
+ "default": "{color.red.700}",
779
+ "dark": "{color.red.200}"
780
+ },
781
+ "$type": "color",
782
+ "$description": "Used for the text of a danger (destructive) action in the hover state."
783
+ },
784
+ "focus": {
785
+ "$value": {
786
+ "default": "{color.red.700}",
787
+ "dark": "{color.red.200}"
788
+ },
789
+ "$type": "color",
790
+ "$description": "Used for the text of a danger (destructive) action in the focus state."
791
+ },
792
+ "active": {
793
+ "$value": {
794
+ "default": "{color.red.900}",
795
+ "dark": "{color.red.50}"
796
+ },
797
+ "$type": "color",
798
+ "$description": "Used for the text of a danger (destructive) action in the active state."
799
+ },
800
+ "strong": {
801
+ "$value": {
802
+ "default": "{color.neutral.0}",
803
+ "dark": "{color.neutral.900}"
804
+ },
805
+ "$type": "color",
806
+ "$description": "Used for the text on a solid, strong danger (destructive) action background."
807
+ }
808
+ }
809
+ },
810
+ "icon": {
811
+ "color": {
812
+ "default": {
813
+ "$value": {
814
+ "default": "{color.red.500}",
815
+ "dark": "{color.red.400}"
816
+ },
817
+ "$type": "color",
818
+ "$description": "Used for the icon of a danger (destructive) action in the default state."
819
+ },
820
+ "hover": {
821
+ "$value": {
822
+ "default": "{color.red.700}",
823
+ "dark": "{color.red.200}"
824
+ },
825
+ "$type": "color",
826
+ "$description": "Used for the icon of a danger (destructive) action in the hover state."
827
+ },
828
+ "focus": {
829
+ "$value": {
830
+ "default": "{color.red.700}",
831
+ "dark": "{color.red.200}"
832
+ },
833
+ "$type": "color",
834
+ "$description": "Used for the icon of a danger (destructive) action in the focus state."
835
+ },
836
+ "active": {
837
+ "$value": {
838
+ "default": "{color.red.900}",
839
+ "dark": "{color.red.50}"
840
+ },
841
+ "$type": "color",
842
+ "$description": "Used for the icon of a danger (destructive) action in the active state."
843
+ },
844
+ "strong": {
845
+ "$value": {
846
+ "default": "{color.neutral.0}",
847
+ "dark": "{color.neutral.900}"
848
+ },
849
+ "$type": "color",
850
+ "$description": "Used for the icon on a solid, strong danger (destructive) action background."
851
+ }
852
+ }
853
+ }
593
854
  }
594
855
  }
595
856
  }
@@ -539,6 +539,36 @@
539
539
  --gl-background-color-strong: var(--gl-color-neutral-50); /* Used to make the background easily stand out from the default. */
540
540
  --gl-background-color-subtle: var(--gl-color-neutral-10); /* Used to slightly differentiate the background from the default. */
541
541
  --gl-background-color-default: var(--gl-color-neutral-0); /* Used for the default background color. */
542
+ --gl-action-danger-icon-color-strong: var(--gl-color-neutral-0); /* Used for the icon on a solid, strong danger (destructive) action background. */
543
+ --gl-action-danger-icon-color-active: var(--gl-color-red-900); /* Used for the icon of a danger (destructive) action in the active state. */
544
+ --gl-action-danger-icon-color-focus: var(--gl-color-red-700); /* Used for the icon of a danger (destructive) action in the focus state. */
545
+ --gl-action-danger-icon-color-hover: var(--gl-color-red-700); /* Used for the icon of a danger (destructive) action in the hover state. */
546
+ --gl-action-danger-icon-color-default: var(--gl-color-red-500); /* Used for the icon of a danger (destructive) action in the default state. */
547
+ --gl-action-danger-text-color-strong: var(--gl-color-neutral-0); /* Used for the text on a solid, strong danger (destructive) action background. */
548
+ --gl-action-danger-text-color-active: var(--gl-color-red-900); /* Used for the text of a danger (destructive) action in the active state. */
549
+ --gl-action-danger-text-color-focus: var(--gl-color-red-700); /* Used for the text of a danger (destructive) action in the focus state. */
550
+ --gl-action-danger-text-color-hover: var(--gl-color-red-700); /* Used for the text of a danger (destructive) action in the hover state. */
551
+ --gl-action-danger-text-color-default: var(--gl-color-red-500); /* Used for the text of a danger (destructive) action in the default state. */
552
+ --gl-action-danger-border-color-strong-active: var(--gl-color-red-900); /* Used for the border of a solid, strong danger (destructive) action in the active state. */
553
+ --gl-action-danger-border-color-strong-focus: var(--gl-color-red-800); /* Used for the border of a solid, strong danger (destructive) action in the focus state. */
554
+ --gl-action-danger-border-color-strong-hover: var(--gl-color-red-800); /* Used for the border of a solid, strong danger (destructive) action in the hover state. */
555
+ --gl-action-danger-border-color-strong-default: var(--gl-color-red-600); /* Used for the border of a solid, strong danger (destructive) action in the default state. */
556
+ --gl-action-danger-border-color-active: var(--gl-color-red-900); /* Used for the border of an outlined danger (destructive) action in the active state. */
557
+ --gl-action-danger-border-color-focus: var(--gl-color-red-700); /* Used for the border of an outlined danger (destructive) action in the focus state. */
558
+ --gl-action-danger-border-color-hover: var(--gl-color-red-700); /* Used for the border of an outlined danger (destructive) action in the hover state. */
559
+ --gl-action-danger-border-color-default: var(--gl-color-red-500); /* Used for the border of an outlined danger (destructive) action in the default state. */
560
+ --gl-action-danger-background-color-strong-active: var(--gl-color-red-800); /* Used for the background of a solid, strong danger (destructive) action in the active state. */
561
+ --gl-action-danger-background-color-strong-focus: var(--gl-color-red-600); /* Used for the background of a solid, strong danger (destructive) action in the focus state. */
562
+ --gl-action-danger-background-color-strong-hover: var(--gl-color-red-600); /* Used for the background of a solid, strong danger (destructive) action in the hover state. */
563
+ --gl-action-danger-background-color-strong-default: var(--gl-color-red-500); /* Used for the background of a solid, strong danger (destructive) action in the default state. */
564
+ --gl-action-danger-background-color-subtle-active: var(--gl-color-red-100); /* Used for the background of a borderless, subtle danger (destructive) action in the active state. */
565
+ --gl-action-danger-background-color-subtle-focus: var(--gl-color-red-50); /* Used for the background of a borderless, subtle danger (destructive) action in the focus state. */
566
+ --gl-action-danger-background-color-subtle-hover: var(--gl-color-red-50); /* Used for the background of a borderless, subtle danger (destructive) action in the hover state. */
567
+ --gl-action-danger-background-color-subtle-default: var(--gl-color-alpha-0); /* Used for the background of a borderless, subtle danger (destructive) action in the default state. */
568
+ --gl-action-danger-background-color-active: var(--gl-color-red-100); /* Used for the background of an outlined danger (destructive) action in the active state. */
569
+ --gl-action-danger-background-color-focus: var(--gl-color-red-50); /* Used for the background of an outlined danger (destructive) action in the focus state. */
570
+ --gl-action-danger-background-color-hover: var(--gl-color-red-50); /* Used for the background of an outlined danger (destructive) action in the hover state. */
571
+ --gl-action-danger-background-color-default: var(--gl-color-neutral-0); /* Used for the background of an outlined danger (destructive) action in the default state. */
542
572
  --gl-action-confirm-icon-color-strong: var(--gl-color-neutral-0); /* Used for the icon on a solid, strong confirm (positive) action background. */
543
573
  --gl-action-confirm-icon-color-active: var(--gl-color-blue-900); /* Used for the icon of a confirm (positive) action in the active state. */
544
574
  --gl-action-confirm-icon-color-focus: var(--gl-color-blue-700); /* Used for the icon of a confirm (positive) action in the focus state. */
@@ -539,6 +539,36 @@
539
539
  --gl-background-color-strong: var(--gl-color-neutral-800); /* Used to make the background easily stand out from the default. */
540
540
  --gl-background-color-subtle: var(--gl-color-neutral-900); /* Used to slightly differentiate the background from the default. */
541
541
  --gl-background-color-default: var(--gl-color-neutral-950); /* Used for the default background color. */
542
+ --gl-action-danger-icon-color-strong: var(--gl-color-neutral-900); /* Used for the icon on a solid, strong danger (destructive) action background. */
543
+ --gl-action-danger-icon-color-active: var(--gl-color-red-50); /* Used for the icon of a danger (destructive) action in the active state. */
544
+ --gl-action-danger-icon-color-focus: var(--gl-color-red-200); /* Used for the icon of a danger (destructive) action in the focus state. */
545
+ --gl-action-danger-icon-color-hover: var(--gl-color-red-200); /* Used for the icon of a danger (destructive) action in the hover state. */
546
+ --gl-action-danger-icon-color-default: var(--gl-color-red-400); /* Used for the icon of a danger (destructive) action in the default state. */
547
+ --gl-action-danger-text-color-strong: var(--gl-color-neutral-900); /* Used for the text on a solid, strong danger (destructive) action background. */
548
+ --gl-action-danger-text-color-active: var(--gl-color-red-50); /* Used for the text of a danger (destructive) action in the active state. */
549
+ --gl-action-danger-text-color-focus: var(--gl-color-red-200); /* Used for the text of a danger (destructive) action in the focus state. */
550
+ --gl-action-danger-text-color-hover: var(--gl-color-red-200); /* Used for the text of a danger (destructive) action in the hover state. */
551
+ --gl-action-danger-text-color-default: var(--gl-color-red-400); /* Used for the text of a danger (destructive) action in the default state. */
552
+ --gl-action-danger-border-color-strong-active: var(--gl-color-red-50); /* Used for the border of a solid, strong danger (destructive) action in the active state. */
553
+ --gl-action-danger-border-color-strong-focus: var(--gl-color-red-100); /* Used for the border of a solid, strong danger (destructive) action in the focus state. */
554
+ --gl-action-danger-border-color-strong-hover: var(--gl-color-red-100); /* Used for the border of a solid, strong danger (destructive) action in the hover state. */
555
+ --gl-action-danger-border-color-strong-default: var(--gl-color-red-300); /* Used for the border of a solid, strong danger (destructive) action in the default state. */
556
+ --gl-action-danger-border-color-active: var(--gl-color-red-50); /* Used for the border of an outlined danger (destructive) action in the active state. */
557
+ --gl-action-danger-border-color-focus: var(--gl-color-red-200); /* Used for the border of an outlined danger (destructive) action in the focus state. */
558
+ --gl-action-danger-border-color-hover: var(--gl-color-red-200); /* Used for the border of an outlined danger (destructive) action in the hover state. */
559
+ --gl-action-danger-border-color-default: var(--gl-color-red-400); /* Used for the border of an outlined danger (destructive) action in the default state. */
560
+ --gl-action-danger-background-color-strong-active: var(--gl-color-red-100); /* Used for the background of a solid, strong danger (destructive) action in the active state. */
561
+ --gl-action-danger-background-color-strong-focus: var(--gl-color-red-300); /* Used for the background of a solid, strong danger (destructive) action in the focus state. */
562
+ --gl-action-danger-background-color-strong-hover: var(--gl-color-red-300); /* Used for the background of a solid, strong danger (destructive) action in the hover state. */
563
+ --gl-action-danger-background-color-strong-default: var(--gl-color-red-400); /* Used for the background of a solid, strong danger (destructive) action in the default state. */
564
+ --gl-action-danger-background-color-subtle-active: var(--gl-color-red-800); /* Used for the background of a borderless, subtle danger (destructive) action in the active state. */
565
+ --gl-action-danger-background-color-subtle-focus: var(--gl-color-red-900); /* Used for the background of a borderless, subtle danger (destructive) action in the focus state. */
566
+ --gl-action-danger-background-color-subtle-hover: var(--gl-color-red-900); /* Used for the background of a borderless, subtle danger (destructive) action in the hover state. */
567
+ --gl-action-danger-background-color-subtle-default: var(--gl-color-alpha-0); /* Used for the background of a borderless, subtle danger (destructive) action in the default state. */
568
+ --gl-action-danger-background-color-active: var(--gl-color-red-800); /* Used for the background of an outlined danger (destructive) action in the active state. */
569
+ --gl-action-danger-background-color-focus: var(--gl-color-red-900); /* Used for the background of an outlined danger (destructive) action in the focus state. */
570
+ --gl-action-danger-background-color-hover: var(--gl-color-red-900); /* Used for the background of an outlined danger (destructive) action in the hover state. */
571
+ --gl-action-danger-background-color-default: var(--gl-color-neutral-900); /* Used for the background of an outlined danger (destructive) action in the default state. */
542
572
  --gl-action-confirm-icon-color-strong: var(--gl-color-neutral-900); /* Used for the icon on a solid, strong confirm (positive) action background. */
543
573
  --gl-action-confirm-icon-color-active: var(--gl-color-blue-50); /* Used for the icon of a confirm (positive) action in the active state. */
544
574
  --gl-action-confirm-icon-color-focus: var(--gl-color-blue-200); /* Used for the icon of a confirm (positive) action in the focus state. */
@@ -70,6 +70,36 @@ export const GL_ACTION_CONFIRM_ICON_COLOR_HOVER = '#9dc7f1'; // Used for the ico
70
70
  export const GL_ACTION_CONFIRM_ICON_COLOR_FOCUS = '#9dc7f1'; // Used for the icon of a confirm (positive) action in the focus state.
71
71
  export const GL_ACTION_CONFIRM_ICON_COLOR_ACTIVE = '#e9f3fc'; // Used for the icon of a confirm (positive) action in the active state.
72
72
  export const GL_ACTION_CONFIRM_ICON_COLOR_STRONG = '#333238'; // Used for the icon on a solid, strong confirm (positive) action background.
73
+ export const GL_ACTION_DANGER_BACKGROUND_COLOR_DEFAULT = '#333238'; // Used for the background of an outlined danger (destructive) action in the default state.
74
+ export const GL_ACTION_DANGER_BACKGROUND_COLOR_HOVER = '#660e00'; // Used for the background of an outlined danger (destructive) action in the hover state.
75
+ export const GL_ACTION_DANGER_BACKGROUND_COLOR_FOCUS = '#660e00'; // Used for the background of an outlined danger (destructive) action in the focus state.
76
+ export const GL_ACTION_DANGER_BACKGROUND_COLOR_ACTIVE = '#8d1300'; // Used for the background of an outlined danger (destructive) action in the active state.
77
+ export const GL_ACTION_DANGER_BACKGROUND_COLOR_SUBTLE_DEFAULT = 'transparent'; // Used for the background of a borderless, subtle danger (destructive) action in the default state.
78
+ export const GL_ACTION_DANGER_BACKGROUND_COLOR_SUBTLE_HOVER = '#660e00'; // Used for the background of a borderless, subtle danger (destructive) action in the hover state.
79
+ export const GL_ACTION_DANGER_BACKGROUND_COLOR_SUBTLE_FOCUS = '#660e00'; // Used for the background of a borderless, subtle danger (destructive) action in the focus state.
80
+ export const GL_ACTION_DANGER_BACKGROUND_COLOR_SUBTLE_ACTIVE = '#8d1300'; // Used for the background of a borderless, subtle danger (destructive) action in the active state.
81
+ export const GL_ACTION_DANGER_BACKGROUND_COLOR_STRONG_DEFAULT = '#ec5941'; // Used for the background of a solid, strong danger (destructive) action in the default state.
82
+ export const GL_ACTION_DANGER_BACKGROUND_COLOR_STRONG_HOVER = '#f57f6c'; // Used for the background of a solid, strong danger (destructive) action in the hover state.
83
+ export const GL_ACTION_DANGER_BACKGROUND_COLOR_STRONG_FOCUS = '#f57f6c'; // Used for the background of a solid, strong danger (destructive) action in the focus state.
84
+ export const GL_ACTION_DANGER_BACKGROUND_COLOR_STRONG_ACTIVE = '#fdd4cd'; // Used for the background of a solid, strong danger (destructive) action in the active state.
85
+ export const GL_ACTION_DANGER_BORDER_COLOR_DEFAULT = '#ec5941'; // Used for the border of an outlined danger (destructive) action in the default state.
86
+ export const GL_ACTION_DANGER_BORDER_COLOR_HOVER = '#fcb5aa'; // Used for the border of an outlined danger (destructive) action in the hover state.
87
+ export const GL_ACTION_DANGER_BORDER_COLOR_FOCUS = '#fcb5aa'; // Used for the border of an outlined danger (destructive) action in the focus state.
88
+ export const GL_ACTION_DANGER_BORDER_COLOR_ACTIVE = '#fcf1ef'; // Used for the border of an outlined danger (destructive) action in the active state.
89
+ export const GL_ACTION_DANGER_BORDER_COLOR_STRONG_DEFAULT = '#f57f6c'; // Used for the border of a solid, strong danger (destructive) action in the default state.
90
+ export const GL_ACTION_DANGER_BORDER_COLOR_STRONG_HOVER = '#fdd4cd'; // Used for the border of a solid, strong danger (destructive) action in the hover state.
91
+ export const GL_ACTION_DANGER_BORDER_COLOR_STRONG_FOCUS = '#fdd4cd'; // Used for the border of a solid, strong danger (destructive) action in the focus state.
92
+ export const GL_ACTION_DANGER_BORDER_COLOR_STRONG_ACTIVE = '#fcf1ef'; // Used for the border of a solid, strong danger (destructive) action in the active state.
93
+ export const GL_ACTION_DANGER_TEXT_COLOR_DEFAULT = '#ec5941'; // Used for the text of a danger (destructive) action in the default state.
94
+ export const GL_ACTION_DANGER_TEXT_COLOR_HOVER = '#fcb5aa'; // Used for the text of a danger (destructive) action in the hover state.
95
+ export const GL_ACTION_DANGER_TEXT_COLOR_FOCUS = '#fcb5aa'; // Used for the text of a danger (destructive) action in the focus state.
96
+ export const GL_ACTION_DANGER_TEXT_COLOR_ACTIVE = '#fcf1ef'; // Used for the text of a danger (destructive) action in the active state.
97
+ export const GL_ACTION_DANGER_TEXT_COLOR_STRONG = '#333238'; // Used for the text on a solid, strong danger (destructive) action background.
98
+ export const GL_ACTION_DANGER_ICON_COLOR_DEFAULT = '#ec5941'; // Used for the icon of a danger (destructive) action in the default state.
99
+ export const GL_ACTION_DANGER_ICON_COLOR_HOVER = '#fcb5aa'; // Used for the icon of a danger (destructive) action in the hover state.
100
+ export const GL_ACTION_DANGER_ICON_COLOR_FOCUS = '#fcb5aa'; // Used for the icon of a danger (destructive) action in the focus state.
101
+ export const GL_ACTION_DANGER_ICON_COLOR_ACTIVE = '#fcf1ef'; // Used for the icon of a danger (destructive) action in the active state.
102
+ export const GL_ACTION_DANGER_ICON_COLOR_STRONG = '#333238'; // Used for the icon on a solid, strong danger (destructive) action background.
73
103
  export const GL_BACKGROUND_COLOR_DEFAULT = '#1f1e24'; // Used for the default background color.
74
104
  export const GL_BACKGROUND_COLOR_SUBTLE = '#333238'; // Used to slightly differentiate the background from the default.
75
105
  export const GL_BACKGROUND_COLOR_STRONG = '#434248'; // Used to make the background easily stand out from the default.