@gitlab/ui 89.3.0 → 89.5.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.
@@ -555,10 +555,6 @@ $gl-button-confirm-secondary-foreground-color-default: $gl-color-blue-400; // Us
555
555
  $gl-button-confirm-primary-border-color-active: $gl-color-blue-50; // Used for the border of a confirm (positive) primary button in the active state.
556
556
  $gl-button-confirm-primary-border-color-hover: $gl-color-blue-100; // Used for the border of a confirm (positive) primary button in the hover state.
557
557
  $gl-button-confirm-primary-border-color-default: $gl-color-blue-300; // Used for the border of a confirm (positive) primary button in the default state.
558
- $gl-button-confirm-primary-background-color-active: $gl-color-blue-200; // Used for the background of a confirm (positive) primary button in the active state.
559
- $gl-button-confirm-primary-background-color-hover: $gl-color-blue-300; // Used for the background of a confirm (positive) primary button in the hover state.
560
- $gl-button-confirm-primary-background-color-default: $gl-color-blue-400; // Used for the background of a confirm (positive) primary button in the default state.
561
- $gl-button-confirm-primary-foreground-color-default: $gl-color-neutral-0; // Used for the foreground of a confirm (positive) primary button in the default state.
562
558
  $gl-button-default-tertiary-background-color-active: $gl-action-neutral-background-color-active; // Used for the background of a default borderless, tertiary button in the active state.
563
559
  $gl-button-default-tertiary-background-color-hover: $gl-action-neutral-background-color-hover; // Used for the background of a default borderless, tertiary button in the hover state.
564
560
  $gl-button-default-tertiary-background-color-default: $gl-action-neutral-background-color-default; // Used for the background of a default borderless, tertiary button in the default state.
@@ -673,6 +669,16 @@ $gl-background-color-disabled: $gl-color-neutral-900; // Used to identify a disa
673
669
  $gl-background-color-strong: $gl-color-neutral-800; // Used to make the background easily stand out from the default.
674
670
  $gl-background-color-subtle: $gl-color-neutral-900; // Used to slightly differentiate the background from the default.
675
671
  $gl-background-color-default: $gl-color-neutral-950; // Used for the default background color.
672
+ $gl-action-strong-neutral-border-color-default: $gl-color-alpha-0; // Used for the border of a strong neutral action in the default state.
673
+ $gl-action-strong-neutral-foreground-color-default: $gl-color-neutral-0; // Used for the foreground of a strong neutral action in the default state.
674
+ $gl-action-strong-neutral-background-color-active: $gl-color-neutral-100; // Used for the background of a strong neutral action in the active state.
675
+ $gl-action-strong-neutral-background-color-hover: $gl-color-neutral-200; // Used for the background of a strong neutral action in the hover state.
676
+ $gl-action-strong-neutral-background-color-default: $gl-color-neutral-300; // Used for the background of a strong neutral action in the default state.
677
+ $gl-action-strong-confirm-border-color-default: $gl-color-alpha-0; // Used for the border of a strong confirm action in the default state.
678
+ $gl-action-strong-confirm-foreground-color-default: $gl-color-neutral-0; // Used for the foreground of a strong confirm action in the default state.
679
+ $gl-action-strong-confirm-background-color-active: $gl-color-blue-200; // Used for the background of a strong confirm action in the active state.
680
+ $gl-action-strong-confirm-background-color-hover: $gl-color-blue-300; // Used for the background of a strong confirm action in the hover state.
681
+ $gl-action-strong-confirm-background-color-default: $gl-color-blue-400; // Used for the background of a strong confirm action in the default state.
676
682
  $gl-action-danger-border-color-default: $gl-color-alpha-0; // Used for the border of a danger action in the default state.
677
683
  $gl-action-danger-background-color-focus: $gl-action-danger-background-color-hover; // Used for the background of a danger (destructive) action in the focus state.
678
684
  $gl-action-danger-foreground-color-active: $gl-color-red-50; // Used for the foreground of a danger (destructive) action in the active state.
@@ -725,10 +731,10 @@ $gl-button-confirm-secondary-border-color-focus: $gl-button-confirm-secondary-bo
725
731
  $gl-button-confirm-secondary-background-color-focus: $gl-button-confirm-secondary-background-color-hover; // Used for the background of an outlined confirm (positive) button in the focus state.
726
732
  $gl-button-confirm-secondary-foreground-color-focus: $gl-button-confirm-secondary-foreground-color-hover; // Used for the foreground of a confirm (positive) button in the focus state.
727
733
  $gl-button-confirm-primary-border-color-focus: $gl-button-confirm-primary-border-color-hover; // Used for the border of a confirm (positive) primary button in the focus state.
728
- $gl-button-confirm-primary-background-color-focus: $gl-button-confirm-primary-background-color-hover; // Used for the background of a confirm (positive) primary button in the focus state.
729
- $gl-button-confirm-primary-foreground-color-active: $gl-button-confirm-primary-foreground-color-default; // Used for the foreground of a confirm (positive) primary button in the active state.
730
- $gl-button-confirm-primary-foreground-color-focus: $gl-button-confirm-primary-foreground-color-default; // Used for the foreground of a confirm (positive) primary button in the focus state.
731
- $gl-button-confirm-primary-foreground-color-hover: $gl-button-confirm-primary-foreground-color-default; // Used for the foreground of a confirm (positive) primary button in the hover state.
734
+ $gl-button-confirm-primary-background-color-active: $gl-action-strong-confirm-background-color-active; // Used for the background of a confirm (positive) primary button in the active state.
735
+ $gl-button-confirm-primary-background-color-hover: $gl-action-strong-confirm-background-color-hover; // Used for the background of a confirm (positive) primary button in the hover state.
736
+ $gl-button-confirm-primary-background-color-default: $gl-action-strong-confirm-background-color-default; // Used for the background of a confirm (positive) primary button in the default state.
737
+ $gl-button-confirm-primary-foreground-color-default: $gl-action-strong-confirm-foreground-color-default; // Used for the foreground of a confirm (positive) primary button in the default state.
732
738
  $gl-button-default-tertiary-border-color-default: $gl-action-neutral-border-color-default; // Used for the border of a default borderless, tertiary button in the default state.
733
739
  $gl-button-default-tertiary-background-color-focus: $gl-action-neutral-background-color-focus; // Used for the background of a default borderless, tertiary button in the focus state.
734
740
  $gl-button-default-tertiary-foreground-color-default: $gl-action-neutral-foreground-color-default; // Used for the foreground of a default borderless, tertiary button in the default state.
@@ -758,6 +764,12 @@ $gl-badge-neutral-background-color-hover: $gl-badge-neutral-background-color-def
758
764
  $gl-badge-muted-icon-color-focus: $gl-badge-muted-icon-color-hover; // Used for the icon of a muted badge in the focus state.
759
765
  $gl-badge-muted-text-color-focus: $gl-badge-muted-text-color-hover; // Used for the text of a muted badge in the focus state.
760
766
  $gl-badge-muted-background-color-hover: $gl-badge-muted-background-color-default; // Used for the background of a muted badge in the hover state.
767
+ $gl-action-strong-neutral-border-color-hover: $gl-action-strong-neutral-border-color-default; // Used for the border of a strong neutral action in the hover state.
768
+ $gl-action-strong-neutral-foreground-color-hover: $gl-action-strong-neutral-foreground-color-default; // Used for the foreground of a strong neutral action in the hover state.
769
+ $gl-action-strong-neutral-background-color-focus: $gl-action-strong-neutral-background-color-hover; // Used for the background of a strong neutral action in the focus state.
770
+ $gl-action-strong-confirm-border-color-hover: $gl-action-strong-confirm-border-color-default; // Used for the border of a strong confirm action in the hover state.
771
+ $gl-action-strong-confirm-foreground-color-hover: $gl-action-strong-confirm-foreground-color-default; // Used for the foreground of a strong confirm action in the hover state.
772
+ $gl-action-strong-confirm-background-color-focus: $gl-action-strong-confirm-background-color-hover; // Used for the background of a strong confirm action in the focus state.
761
773
  $gl-action-danger-border-color-active: $gl-action-danger-border-color-default; // Used for the border of a danger action in the active state.
762
774
  $gl-action-danger-border-color-focus: $gl-action-danger-border-color-default; // Used for the border of a danger action in the focus state.
763
775
  $gl-action-danger-border-color-hover: $gl-action-danger-border-color-default; // Used for the border of a danger action in the hover state.
@@ -789,6 +801,8 @@ $gl-button-confirm-tertiary-border-color-active: $gl-action-confirm-border-color
789
801
  $gl-button-confirm-tertiary-border-color-focus: $gl-action-confirm-border-color-focus; // Used for the border of a borderless, tertiary confirm (positive) button in the focus state.
790
802
  $gl-button-confirm-tertiary-border-color-hover: $gl-action-confirm-border-color-hover; // Used for the border of a borderless, tertiary confirm (positive) button in the hover state.
791
803
  $gl-button-confirm-tertiary-foreground-color-focus: $gl-action-confirm-foreground-color-focus; // Used for the foreground of a borderless, tertiary confirm (positive) button in the focus state.
804
+ $gl-button-confirm-primary-background-color-focus: $gl-action-strong-confirm-background-color-focus; // Used for the background of a confirm (positive) primary button in the focus state.
805
+ $gl-button-confirm-primary-foreground-color-hover: $gl-action-strong-confirm-foreground-color-hover; // Used for the foreground of a confirm (positive) primary button in the hover state.
792
806
  $gl-button-default-tertiary-border-color-active: $gl-action-neutral-border-color-active; // Used for the border of a default borderless, tertiary button in the active state.
793
807
  $gl-button-default-tertiary-border-color-focus: $gl-action-neutral-border-color-focus; // Used for the border of a default borderless, tertiary button in the focus state.
794
808
  $gl-button-default-tertiary-border-color-hover: $gl-action-neutral-border-color-hover; // Used for the border of a default borderless, tertiary button in the hover state.
@@ -802,3 +816,13 @@ $gl-badge-success-background-color-focus: $gl-badge-success-background-color-hov
802
816
  $gl-badge-info-background-color-focus: $gl-badge-info-background-color-hover; // Used for the background of an informational badge in the focus state.
803
817
  $gl-badge-neutral-background-color-focus: $gl-badge-neutral-background-color-hover; // Used for the background of a neutral badge in the focus state.
804
818
  $gl-badge-muted-background-color-focus: $gl-badge-muted-background-color-hover; // Used for the background of a muted badge in the focus state.
819
+ $gl-action-strong-neutral-border-color-focus: $gl-action-strong-neutral-border-color-hover; // Used for the border of a strong neutral action in the focus state.
820
+ $gl-action-strong-neutral-foreground-color-focus: $gl-action-strong-neutral-foreground-color-hover; // Used for the foreground of a strong neutral action in the focus state.
821
+ $gl-action-strong-confirm-border-color-focus: $gl-action-strong-confirm-border-color-hover; // Used for the border of a strong confirm action in the focus state.
822
+ $gl-action-strong-confirm-foreground-color-focus: $gl-action-strong-confirm-foreground-color-hover; // Used for the foreground of a strong confirm action in the focus state.
823
+ $gl-button-confirm-primary-foreground-color-focus: $gl-action-strong-confirm-foreground-color-focus; // Used for the foreground of a confirm (positive) primary button in the focus state.
824
+ $gl-action-strong-neutral-border-color-active: $gl-action-strong-neutral-border-color-focus; // Used for the border of a strong neutral action in the active state.
825
+ $gl-action-strong-neutral-foreground-color-active: $gl-action-strong-neutral-foreground-color-focus; // Used for the foreground of a strong neutral action in the active state.
826
+ $gl-action-strong-confirm-border-color-active: $gl-action-strong-confirm-border-color-focus; // Used for the border of a strong confirm action in the active state.
827
+ $gl-action-strong-confirm-foreground-color-active: $gl-action-strong-confirm-foreground-color-focus; // Used for the foreground of a strong confirm action in the active state.
828
+ $gl-button-confirm-primary-foreground-color-active: $gl-action-strong-confirm-foreground-color-active; // Used for the foreground of a confirm (positive) primary button in the active state.
@@ -555,10 +555,6 @@ $gl-button-confirm-secondary-foreground-color-default: $gl-color-blue-500; // Us
555
555
  $gl-button-confirm-primary-border-color-active: $gl-color-blue-900; // Used for the border of a confirm (positive) primary button in the active state.
556
556
  $gl-button-confirm-primary-border-color-hover: $gl-color-blue-800; // Used for the border of a confirm (positive) primary button in the hover state.
557
557
  $gl-button-confirm-primary-border-color-default: $gl-color-blue-600; // Used for the border of a confirm (positive) primary button in the default state.
558
- $gl-button-confirm-primary-background-color-active: $gl-color-blue-700; // Used for the background of a confirm (positive) primary button in the active state.
559
- $gl-button-confirm-primary-background-color-hover: $gl-color-blue-600; // Used for the background of a confirm (positive) primary button in the hover state.
560
- $gl-button-confirm-primary-background-color-default: $gl-color-blue-500; // Used for the background of a confirm (positive) primary button in the default state.
561
- $gl-button-confirm-primary-foreground-color-default: $gl-color-neutral-0; // Used for the foreground of a confirm (positive) primary button in the default state.
562
558
  $gl-button-default-tertiary-background-color-active: $gl-action-neutral-background-color-active; // Used for the background of a default borderless, tertiary button in the active state.
563
559
  $gl-button-default-tertiary-background-color-hover: $gl-action-neutral-background-color-hover; // Used for the background of a default borderless, tertiary button in the hover state.
564
560
  $gl-button-default-tertiary-background-color-default: $gl-action-neutral-background-color-default; // Used for the background of a default borderless, tertiary button in the default state.
@@ -673,6 +669,16 @@ $gl-background-color-disabled: $gl-color-neutral-10; // Used to identify a disab
673
669
  $gl-background-color-strong: $gl-color-neutral-50; // Used to make the background easily stand out from the default.
674
670
  $gl-background-color-subtle: $gl-color-neutral-10; // Used to slightly differentiate the background from the default.
675
671
  $gl-background-color-default: $gl-color-neutral-0; // Used for the default background color.
672
+ $gl-action-strong-neutral-border-color-default: $gl-color-alpha-0; // Used for the border of a strong neutral action in the default state.
673
+ $gl-action-strong-neutral-foreground-color-default: $gl-color-neutral-0; // Used for the foreground of a strong neutral action in the default state.
674
+ $gl-action-strong-neutral-background-color-active: $gl-color-neutral-800; // Used for the background of a strong neutral action in the active state.
675
+ $gl-action-strong-neutral-background-color-hover: $gl-color-neutral-700; // Used for the background of a strong neutral action in the hover state.
676
+ $gl-action-strong-neutral-background-color-default: $gl-color-neutral-600; // Used for the background of a strong neutral action in the default state.
677
+ $gl-action-strong-confirm-border-color-default: $gl-color-alpha-0; // Used for the border of a strong confirm action in the default state.
678
+ $gl-action-strong-confirm-foreground-color-default: $gl-color-neutral-0; // Used for the foreground of a strong confirm action in the default state.
679
+ $gl-action-strong-confirm-background-color-active: $gl-color-blue-700; // Used for the background of a strong confirm action in the active state.
680
+ $gl-action-strong-confirm-background-color-hover: $gl-color-blue-600; // Used for the background of a strong confirm action in the hover state.
681
+ $gl-action-strong-confirm-background-color-default: $gl-color-blue-500; // Used for the background of a strong confirm action in the default state.
676
682
  $gl-action-danger-border-color-default: $gl-color-alpha-0; // Used for the border of a danger action in the default state.
677
683
  $gl-action-danger-background-color-focus: $gl-action-danger-background-color-hover; // Used for the background of a danger (destructive) action in the focus state.
678
684
  $gl-action-danger-foreground-color-active: $gl-color-red-900; // Used for the foreground of a danger (destructive) action in the active state.
@@ -725,10 +731,10 @@ $gl-button-confirm-secondary-border-color-focus: $gl-button-confirm-secondary-bo
725
731
  $gl-button-confirm-secondary-background-color-focus: $gl-button-confirm-secondary-background-color-hover; // Used for the background of an outlined confirm (positive) button in the focus state.
726
732
  $gl-button-confirm-secondary-foreground-color-focus: $gl-button-confirm-secondary-foreground-color-hover; // Used for the foreground of a confirm (positive) button in the focus state.
727
733
  $gl-button-confirm-primary-border-color-focus: $gl-button-confirm-primary-border-color-hover; // Used for the border of a confirm (positive) primary button in the focus state.
728
- $gl-button-confirm-primary-background-color-focus: $gl-button-confirm-primary-background-color-hover; // Used for the background of a confirm (positive) primary button in the focus state.
729
- $gl-button-confirm-primary-foreground-color-active: $gl-button-confirm-primary-foreground-color-default; // Used for the foreground of a confirm (positive) primary button in the active state.
730
- $gl-button-confirm-primary-foreground-color-focus: $gl-button-confirm-primary-foreground-color-default; // Used for the foreground of a confirm (positive) primary button in the focus state.
731
- $gl-button-confirm-primary-foreground-color-hover: $gl-button-confirm-primary-foreground-color-default; // Used for the foreground of a confirm (positive) primary button in the hover state.
734
+ $gl-button-confirm-primary-background-color-active: $gl-action-strong-confirm-background-color-active; // Used for the background of a confirm (positive) primary button in the active state.
735
+ $gl-button-confirm-primary-background-color-hover: $gl-action-strong-confirm-background-color-hover; // Used for the background of a confirm (positive) primary button in the hover state.
736
+ $gl-button-confirm-primary-background-color-default: $gl-action-strong-confirm-background-color-default; // Used for the background of a confirm (positive) primary button in the default state.
737
+ $gl-button-confirm-primary-foreground-color-default: $gl-action-strong-confirm-foreground-color-default; // Used for the foreground of a confirm (positive) primary button in the default state.
732
738
  $gl-button-default-tertiary-border-color-default: $gl-action-neutral-border-color-default; // Used for the border of a default borderless, tertiary button in the default state.
733
739
  $gl-button-default-tertiary-background-color-focus: $gl-action-neutral-background-color-focus; // Used for the background of a default borderless, tertiary button in the focus state.
734
740
  $gl-button-default-tertiary-foreground-color-default: $gl-action-neutral-foreground-color-default; // Used for the foreground of a default borderless, tertiary button in the default state.
@@ -758,6 +764,12 @@ $gl-badge-neutral-background-color-hover: $gl-badge-neutral-background-color-def
758
764
  $gl-badge-muted-icon-color-focus: $gl-badge-muted-icon-color-hover; // Used for the icon of a muted badge in the focus state.
759
765
  $gl-badge-muted-text-color-focus: $gl-badge-muted-text-color-hover; // Used for the text of a muted badge in the focus state.
760
766
  $gl-badge-muted-background-color-hover: $gl-badge-muted-background-color-default; // Used for the background of a muted badge in the hover state.
767
+ $gl-action-strong-neutral-border-color-hover: $gl-action-strong-neutral-border-color-default; // Used for the border of a strong neutral action in the hover state.
768
+ $gl-action-strong-neutral-foreground-color-hover: $gl-action-strong-neutral-foreground-color-default; // Used for the foreground of a strong neutral action in the hover state.
769
+ $gl-action-strong-neutral-background-color-focus: $gl-action-strong-neutral-background-color-hover; // Used for the background of a strong neutral action in the focus state.
770
+ $gl-action-strong-confirm-border-color-hover: $gl-action-strong-confirm-border-color-default; // Used for the border of a strong confirm action in the hover state.
771
+ $gl-action-strong-confirm-foreground-color-hover: $gl-action-strong-confirm-foreground-color-default; // Used for the foreground of a strong confirm action in the hover state.
772
+ $gl-action-strong-confirm-background-color-focus: $gl-action-strong-confirm-background-color-hover; // Used for the background of a strong confirm action in the focus state.
761
773
  $gl-action-danger-border-color-active: $gl-action-danger-border-color-default; // Used for the border of a danger action in the active state.
762
774
  $gl-action-danger-border-color-focus: $gl-action-danger-border-color-default; // Used for the border of a danger action in the focus state.
763
775
  $gl-action-danger-border-color-hover: $gl-action-danger-border-color-default; // Used for the border of a danger action in the hover state.
@@ -789,6 +801,8 @@ $gl-button-confirm-tertiary-border-color-active: $gl-action-confirm-border-color
789
801
  $gl-button-confirm-tertiary-border-color-focus: $gl-action-confirm-border-color-focus; // Used for the border of a borderless, tertiary confirm (positive) button in the focus state.
790
802
  $gl-button-confirm-tertiary-border-color-hover: $gl-action-confirm-border-color-hover; // Used for the border of a borderless, tertiary confirm (positive) button in the hover state.
791
803
  $gl-button-confirm-tertiary-foreground-color-focus: $gl-action-confirm-foreground-color-focus; // Used for the foreground of a borderless, tertiary confirm (positive) button in the focus state.
804
+ $gl-button-confirm-primary-background-color-focus: $gl-action-strong-confirm-background-color-focus; // Used for the background of a confirm (positive) primary button in the focus state.
805
+ $gl-button-confirm-primary-foreground-color-hover: $gl-action-strong-confirm-foreground-color-hover; // Used for the foreground of a confirm (positive) primary button in the hover state.
792
806
  $gl-button-default-tertiary-border-color-active: $gl-action-neutral-border-color-active; // Used for the border of a default borderless, tertiary button in the active state.
793
807
  $gl-button-default-tertiary-border-color-focus: $gl-action-neutral-border-color-focus; // Used for the border of a default borderless, tertiary button in the focus state.
794
808
  $gl-button-default-tertiary-border-color-hover: $gl-action-neutral-border-color-hover; // Used for the border of a default borderless, tertiary button in the hover state.
@@ -802,3 +816,13 @@ $gl-badge-success-background-color-focus: $gl-badge-success-background-color-hov
802
816
  $gl-badge-info-background-color-focus: $gl-badge-info-background-color-hover; // Used for the background of an informational badge in the focus state.
803
817
  $gl-badge-neutral-background-color-focus: $gl-badge-neutral-background-color-hover; // Used for the background of a neutral badge in the focus state.
804
818
  $gl-badge-muted-background-color-focus: $gl-badge-muted-background-color-hover; // Used for the background of a muted badge in the focus state.
819
+ $gl-action-strong-neutral-border-color-focus: $gl-action-strong-neutral-border-color-hover; // Used for the border of a strong neutral action in the focus state.
820
+ $gl-action-strong-neutral-foreground-color-focus: $gl-action-strong-neutral-foreground-color-hover; // Used for the foreground of a strong neutral action in the focus state.
821
+ $gl-action-strong-confirm-border-color-focus: $gl-action-strong-confirm-border-color-hover; // Used for the border of a strong confirm action in the focus state.
822
+ $gl-action-strong-confirm-foreground-color-focus: $gl-action-strong-confirm-foreground-color-hover; // Used for the foreground of a strong confirm action in the focus state.
823
+ $gl-button-confirm-primary-foreground-color-focus: $gl-action-strong-confirm-foreground-color-focus; // Used for the foreground of a confirm (positive) primary button in the focus state.
824
+ $gl-action-strong-neutral-border-color-active: $gl-action-strong-neutral-border-color-focus; // Used for the border of a strong neutral action in the active state.
825
+ $gl-action-strong-neutral-foreground-color-active: $gl-action-strong-neutral-foreground-color-focus; // Used for the foreground of a strong neutral action in the active state.
826
+ $gl-action-strong-confirm-border-color-active: $gl-action-strong-confirm-border-color-focus; // Used for the border of a strong confirm action in the active state.
827
+ $gl-action-strong-confirm-foreground-color-active: $gl-action-strong-confirm-foreground-color-focus; // Used for the foreground of a strong confirm action in the active state.
828
+ $gl-button-confirm-primary-foreground-color-active: $gl-action-strong-confirm-foreground-color-active; // Used for the foreground of a confirm (positive) primary button in the active state.
@@ -42,6 +42,30 @@ $gl-action-danger-border-color-default: var(--gl-action-danger-border-color-defa
42
42
  $gl-action-danger-border-color-hover: var(--gl-action-danger-border-color-hover);
43
43
  $gl-action-danger-border-color-focus: var(--gl-action-danger-border-color-focus);
44
44
  $gl-action-danger-border-color-active: var(--gl-action-danger-border-color-active);
45
+ $gl-action-strong-confirm-background-color-default: var(--gl-action-strong-confirm-background-color-default);
46
+ $gl-action-strong-confirm-background-color-hover: var(--gl-action-strong-confirm-background-color-hover);
47
+ $gl-action-strong-confirm-background-color-focus: var(--gl-action-strong-confirm-background-color-focus);
48
+ $gl-action-strong-confirm-background-color-active: var(--gl-action-strong-confirm-background-color-active);
49
+ $gl-action-strong-confirm-foreground-color-default: var(--gl-action-strong-confirm-foreground-color-default);
50
+ $gl-action-strong-confirm-foreground-color-hover: var(--gl-action-strong-confirm-foreground-color-hover);
51
+ $gl-action-strong-confirm-foreground-color-focus: var(--gl-action-strong-confirm-foreground-color-focus);
52
+ $gl-action-strong-confirm-foreground-color-active: var(--gl-action-strong-confirm-foreground-color-active);
53
+ $gl-action-strong-confirm-border-color-default: var(--gl-action-strong-confirm-border-color-default);
54
+ $gl-action-strong-confirm-border-color-hover: var(--gl-action-strong-confirm-border-color-hover);
55
+ $gl-action-strong-confirm-border-color-focus: var(--gl-action-strong-confirm-border-color-focus);
56
+ $gl-action-strong-confirm-border-color-active: var(--gl-action-strong-confirm-border-color-active);
57
+ $gl-action-strong-neutral-background-color-default: var(--gl-action-strong-neutral-background-color-default);
58
+ $gl-action-strong-neutral-background-color-hover: var(--gl-action-strong-neutral-background-color-hover);
59
+ $gl-action-strong-neutral-background-color-focus: var(--gl-action-strong-neutral-background-color-focus);
60
+ $gl-action-strong-neutral-background-color-active: var(--gl-action-strong-neutral-background-color-active);
61
+ $gl-action-strong-neutral-foreground-color-default: var(--gl-action-strong-neutral-foreground-color-default);
62
+ $gl-action-strong-neutral-foreground-color-hover: var(--gl-action-strong-neutral-foreground-color-hover);
63
+ $gl-action-strong-neutral-foreground-color-focus: var(--gl-action-strong-neutral-foreground-color-focus);
64
+ $gl-action-strong-neutral-foreground-color-active: var(--gl-action-strong-neutral-foreground-color-active);
65
+ $gl-action-strong-neutral-border-color-default: var(--gl-action-strong-neutral-border-color-default);
66
+ $gl-action-strong-neutral-border-color-hover: var(--gl-action-strong-neutral-border-color-hover);
67
+ $gl-action-strong-neutral-border-color-focus: var(--gl-action-strong-neutral-border-color-focus);
68
+ $gl-action-strong-neutral-border-color-active: var(--gl-action-strong-neutral-border-color-active);
45
69
  $gl-background-color-default: var(--gl-background-color-default);
46
70
  $gl-background-color-subtle: var(--gl-background-color-subtle);
47
71
  $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": "89.3.0",
3
+ "version": "89.5.0",
4
4
  "description": "GitLab UI Components",
5
5
  "license": "MIT",
6
6
  "main": "dist/index.js",
@@ -111,10 +111,10 @@
111
111
  "@babel/preset-env": "^7.25.3",
112
112
  "@babel/preset-react": "^7.24.7",
113
113
  "@cypress/grep": "^4.0.1",
114
- "@gitlab/eslint-plugin": "19.6.1",
114
+ "@gitlab/eslint-plugin": "20.0.0",
115
115
  "@gitlab/fonts": "^1.3.0",
116
116
  "@gitlab/stylelint-config": "6.2.1",
117
- "@gitlab/svgs": "3.112.0",
117
+ "@gitlab/svgs": "3.113.0",
118
118
  "@jest/test-sequencer": "^29.7.0",
119
119
  "@rollup/plugin-commonjs": "^11.1.0",
120
120
  "@rollup/plugin-node-resolve": "^7.1.3",
@@ -148,7 +148,7 @@
148
148
  "babel-loader": "^8.0.5",
149
149
  "bootstrap": "4.6.2",
150
150
  "cobertura-merge": "^1.0.4",
151
- "cypress": "13.13.2",
151
+ "cypress": "13.13.3",
152
152
  "cypress-axe": "^1.4.0",
153
153
  "cypress-real-events": "^1.11.0",
154
154
  "dompurify": "^3.1.2",
@@ -0,0 +1,4 @@
1
+ body {
2
+ background-color: var(--gl-background-color-default);
3
+ color: var(--gl-text-color-default);
4
+ }
@@ -12,5 +12,8 @@
12
12
  @import 'utility-mixins/index';
13
13
  @import 'typescale/index';
14
14
 
15
+ // Body
16
+ @import 'body';
17
+
15
18
  // Components
16
19
  @import 'components';
@@ -14,6 +14,7 @@
14
14
 
15
15
  @import 'fonts';
16
16
 
17
+ @import 'body';
17
18
  @import 'components';
18
19
 
19
20
  @import 'storybook_dark_mode';
@@ -18,10 +18,4 @@
18
18
  --gray-600: #{$gray-300};
19
19
 
20
20
  color-scheme: dark;
21
-
22
- &,
23
- body {
24
- background-color: var(--gl-background-color-default);
25
- color: var(--gl-text-color-default);
26
- }
27
21
  }
@@ -79,7 +79,7 @@
79
79
  "$description": "Used for the background of a neutral action in the hover state."
80
80
  },
81
81
  "focus": {
82
- "$value": "{action.neutral.background.color.hover}",
82
+ "$value": "{action.neutral.background.color.hover}",
83
83
  "$type": "color",
84
84
  "$description": "Used for the background of a neutral action in the focus state."
85
85
  },
@@ -171,7 +171,7 @@
171
171
  "$description": "Used for the background of a confirm (positive) action in the hover state."
172
172
  },
173
173
  "focus": {
174
- "$value": "{action.confirm.background.color.hover}",
174
+ "$value": "{action.confirm.background.color.hover}",
175
175
  "$type": "color",
176
176
  "$description": "Used for the background of a confirm (positive) action in the focus state."
177
177
  },
@@ -301,6 +301,174 @@
301
301
  }
302
302
  }
303
303
  }
304
+ },
305
+ "strong": {
306
+ "confirm": {
307
+ "background": {
308
+ "color": {
309
+ "default": {
310
+ "$value": {
311
+ "default": "{color.blue.500}",
312
+ "dark": "{color.blue.400}"
313
+ },
314
+ "$type": "color",
315
+ "$description": "Used for the background of a strong confirm action in the default state."
316
+ },
317
+ "hover": {
318
+ "$value": {
319
+ "default": "{color.blue.600}",
320
+ "dark": "{color.blue.300}"
321
+ },
322
+ "$type": "color",
323
+ "$description": "Used for the background of a strong confirm action in the hover state."
324
+ },
325
+ "focus": {
326
+ "$value": "{action.strong.confirm.background.color.hover}",
327
+ "$type": "color",
328
+ "$description": "Used for the background of a strong confirm action in the focus state."
329
+ },
330
+ "active": {
331
+ "$value": {
332
+ "default": "{color.blue.700}",
333
+ "dark": "{color.blue.200}"
334
+ },
335
+ "$type": "color",
336
+ "$description": "Used for the background of a strong confirm action in the active state."
337
+ }
338
+ }
339
+ },
340
+ "foreground": {
341
+ "color": {
342
+ "default": {
343
+ "$value": "{color.neutral.0}",
344
+ "$type": "color",
345
+ "$description": "Used for the foreground of a strong confirm action in the default state."
346
+ },
347
+ "hover": {
348
+ "$value": "{action.strong.confirm.foreground.color.default}",
349
+ "$type": "color",
350
+ "$description": "Used for the foreground of a strong confirm action in the hover state."
351
+ },
352
+ "focus": {
353
+ "$value": "{action.strong.confirm.foreground.color.hover}",
354
+ "$type": "color",
355
+ "$description": "Used for the foreground of a strong confirm action in the focus state."
356
+ },
357
+ "active": {
358
+ "$value": "{action.strong.confirm.foreground.color.focus}",
359
+ "$type": "color",
360
+ "$description": "Used for the foreground of a strong confirm action in the active state."
361
+ }
362
+ }
363
+ },
364
+ "border": {
365
+ "color": {
366
+ "default": {
367
+ "$value": "{color.alpha.0}",
368
+ "$type": "color",
369
+ "$description": "Used for the border of a strong confirm action in the default state."
370
+ },
371
+ "hover": {
372
+ "$value": "{action.strong.confirm.border.color.default}",
373
+ "$type": "color",
374
+ "$description": "Used for the border of a strong confirm action in the hover state."
375
+ },
376
+ "focus": {
377
+ "$value": "{action.strong.confirm.border.color.hover}",
378
+ "$type": "color",
379
+ "$description": "Used for the border of a strong confirm action in the focus state."
380
+ },
381
+ "active": {
382
+ "$value": "{action.strong.confirm.border.color.focus}",
383
+ "$type": "color",
384
+ "$description": "Used for the border of a strong confirm action in the active state."
385
+ }
386
+ }
387
+ }
388
+ },
389
+ "neutral": {
390
+ "background": {
391
+ "color": {
392
+ "default": {
393
+ "$value": {
394
+ "default": "{color.neutral.600}",
395
+ "dark": "{color.neutral.300}"
396
+ },
397
+ "$type": "color",
398
+ "$description": "Used for the background of a strong neutral action in the default state."
399
+ },
400
+ "hover": {
401
+ "$value": {
402
+ "default": "{color.neutral.700}",
403
+ "dark": "{color.neutral.200}"
404
+ },
405
+ "$type": "color",
406
+ "$description": "Used for the background of a strong neutral action in the hover state."
407
+ },
408
+ "focus": {
409
+ "$value": "{action.strong.neutral.background.color.hover}",
410
+ "$type": "color",
411
+ "$description": "Used for the background of a strong neutral action in the focus state."
412
+ },
413
+ "active": {
414
+ "$value": {
415
+ "default": "{color.neutral.800}",
416
+ "dark": "{color.neutral.100}"
417
+ },
418
+ "$type": "color",
419
+ "$description": "Used for the background of a strong neutral action in the active state."
420
+ }
421
+ }
422
+ },
423
+ "foreground": {
424
+ "color": {
425
+ "default": {
426
+ "$value": "{color.neutral.0}",
427
+ "$type": "color",
428
+ "$description": "Used for the foreground of a strong neutral action in the default state."
429
+ },
430
+ "hover": {
431
+ "$value": "{action.strong.neutral.foreground.color.default}",
432
+ "$type": "color",
433
+ "$description": "Used for the foreground of a strong neutral action in the hover state."
434
+ },
435
+ "focus": {
436
+ "$value": "{action.strong.neutral.foreground.color.hover}",
437
+ "$type": "color",
438
+ "$description": "Used for the foreground of a strong neutral action in the focus state."
439
+ },
440
+ "active": {
441
+ "$value": "{action.strong.neutral.foreground.color.focus}",
442
+ "$type": "color",
443
+ "$description": "Used for the foreground of a strong neutral action in the active state."
444
+ }
445
+ }
446
+ },
447
+ "border": {
448
+ "color": {
449
+ "default": {
450
+ "$value": "{color.alpha.0}",
451
+ "$type": "color",
452
+ "$description": "Used for the border of a strong neutral action in the default state."
453
+ },
454
+ "hover": {
455
+ "$value": "{action.strong.neutral.border.color.default}",
456
+ "$type": "color",
457
+ "$description": "Used for the border of a strong neutral action in the hover state."
458
+ },
459
+ "focus": {
460
+ "$value": "{action.strong.neutral.border.color.hover}",
461
+ "$type": "color",
462
+ "$description": "Used for the border of a strong neutral action in the focus state."
463
+ },
464
+ "active": {
465
+ "$value": "{action.strong.neutral.border.color.focus}",
466
+ "$type": "color",
467
+ "$description": "Used for the border of a strong neutral action in the active state."
468
+ }
469
+ }
470
+ }
471
+ }
304
472
  }
305
473
  }
306
- }
474
+ }
@@ -557,10 +557,6 @@
557
557
  --gl-button-confirm-primary-border-color-active: var(--gl-color-blue-900); /* Used for the border of a confirm (positive) primary button in the active state. */
558
558
  --gl-button-confirm-primary-border-color-hover: var(--gl-color-blue-800); /* Used for the border of a confirm (positive) primary button in the hover state. */
559
559
  --gl-button-confirm-primary-border-color-default: var(--gl-color-blue-600); /* Used for the border of a confirm (positive) primary button in the default state. */
560
- --gl-button-confirm-primary-background-color-active: var(--gl-color-blue-700); /* Used for the background of a confirm (positive) primary button in the active state. */
561
- --gl-button-confirm-primary-background-color-hover: var(--gl-color-blue-600); /* Used for the background of a confirm (positive) primary button in the hover state. */
562
- --gl-button-confirm-primary-background-color-default: var(--gl-color-blue-500); /* Used for the background of a confirm (positive) primary button in the default state. */
563
- --gl-button-confirm-primary-foreground-color-default: var(--gl-color-neutral-0); /* Used for the foreground of a confirm (positive) primary button in the default state. */
564
560
  --gl-button-default-tertiary-background-color-active: var(--gl-action-neutral-background-color-active); /* Used for the background of a default borderless, tertiary button in the active state. */
565
561
  --gl-button-default-tertiary-background-color-hover: var(--gl-action-neutral-background-color-hover); /* Used for the background of a default borderless, tertiary button in the hover state. */
566
562
  --gl-button-default-tertiary-background-color-default: var(--gl-action-neutral-background-color-default); /* Used for the background of a default borderless, tertiary button in the default state. */
@@ -675,6 +671,16 @@
675
671
  --gl-background-color-strong: var(--gl-color-neutral-50); /* Used to make the background easily stand out from the default. */
676
672
  --gl-background-color-subtle: var(--gl-color-neutral-10); /* Used to slightly differentiate the background from the default. */
677
673
  --gl-background-color-default: var(--gl-color-neutral-0); /* Used for the default background color. */
674
+ --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. */
675
+ --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. */
676
+ --gl-action-strong-neutral-background-color-active: var(--gl-color-neutral-800); /* Used for the background of a strong neutral action in the active state. */
677
+ --gl-action-strong-neutral-background-color-hover: var(--gl-color-neutral-700); /* Used for the background of a strong neutral action in the hover state. */
678
+ --gl-action-strong-neutral-background-color-default: var(--gl-color-neutral-600); /* Used for the background of a strong neutral action in the default state. */
679
+ --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. */
680
+ --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. */
681
+ --gl-action-strong-confirm-background-color-active: var(--gl-color-blue-700); /* Used for the background of a strong confirm action in the active state. */
682
+ --gl-action-strong-confirm-background-color-hover: var(--gl-color-blue-600); /* Used for the background of a strong confirm action in the hover state. */
683
+ --gl-action-strong-confirm-background-color-default: var(--gl-color-blue-500); /* Used for the background of a strong confirm action in the default state. */
678
684
  --gl-action-danger-border-color-default: var(--gl-color-alpha-0); /* Used for the border of a danger action in the default state. */
679
685
  --gl-action-danger-background-color-focus: var(--gl-action-danger-background-color-hover); /* Used for the background of a danger (destructive) action in the focus state. */
680
686
  --gl-action-danger-foreground-color-active: var(--gl-color-red-900); /* Used for the foreground of a danger (destructive) action in the active state. */
@@ -727,10 +733,10 @@
727
733
  --gl-button-confirm-secondary-background-color-focus: var(--gl-button-confirm-secondary-background-color-hover); /* Used for the background of an outlined confirm (positive) button in the focus state. */
728
734
  --gl-button-confirm-secondary-foreground-color-focus: var(--gl-button-confirm-secondary-foreground-color-hover); /* Used for the foreground of a confirm (positive) button in the focus state. */
729
735
  --gl-button-confirm-primary-border-color-focus: var(--gl-button-confirm-primary-border-color-hover); /* Used for the border of a confirm (positive) primary button in the focus state. */
730
- --gl-button-confirm-primary-background-color-focus: var(--gl-button-confirm-primary-background-color-hover); /* Used for the background of a confirm (positive) primary button in the focus state. */
731
- --gl-button-confirm-primary-foreground-color-active: var(--gl-button-confirm-primary-foreground-color-default); /* Used for the foreground of a confirm (positive) primary button in the active state. */
732
- --gl-button-confirm-primary-foreground-color-focus: var(--gl-button-confirm-primary-foreground-color-default); /* Used for the foreground of a confirm (positive) primary button in the focus state. */
733
- --gl-button-confirm-primary-foreground-color-hover: var(--gl-button-confirm-primary-foreground-color-default); /* Used for the foreground of a confirm (positive) primary button in the hover state. */
736
+ --gl-button-confirm-primary-background-color-active: var(--gl-action-strong-confirm-background-color-active); /* Used for the background of a confirm (positive) primary button in the active state. */
737
+ --gl-button-confirm-primary-background-color-hover: var(--gl-action-strong-confirm-background-color-hover); /* Used for the background of a confirm (positive) primary button in the hover state. */
738
+ --gl-button-confirm-primary-background-color-default: var(--gl-action-strong-confirm-background-color-default); /* Used for the background of a confirm (positive) primary button in the default state. */
739
+ --gl-button-confirm-primary-foreground-color-default: var(--gl-action-strong-confirm-foreground-color-default); /* Used for the foreground of a confirm (positive) primary button in the default state. */
734
740
  --gl-button-default-tertiary-border-color-default: var(--gl-action-neutral-border-color-default); /* Used for the border of a default borderless, tertiary button in the default state. */
735
741
  --gl-button-default-tertiary-background-color-focus: var(--gl-action-neutral-background-color-focus); /* Used for the background of a default borderless, tertiary button in the focus state. */
736
742
  --gl-button-default-tertiary-foreground-color-default: var(--gl-action-neutral-foreground-color-default); /* Used for the foreground of a default borderless, tertiary button in the default state. */
@@ -760,6 +766,12 @@
760
766
  --gl-badge-muted-icon-color-focus: var(--gl-badge-muted-icon-color-hover); /* Used for the icon of a muted badge in the focus state. */
761
767
  --gl-badge-muted-text-color-focus: var(--gl-badge-muted-text-color-hover); /* Used for the text of a muted badge in the focus state. */
762
768
  --gl-badge-muted-background-color-hover: var(--gl-badge-muted-background-color-default); /* Used for the background of a muted badge in the hover state. */
769
+ --gl-action-strong-neutral-border-color-hover: var(--gl-action-strong-neutral-border-color-default); /* Used for the border of a strong neutral action in the hover state. */
770
+ --gl-action-strong-neutral-foreground-color-hover: var(--gl-action-strong-neutral-foreground-color-default); /* Used for the foreground of a strong neutral action in the hover state. */
771
+ --gl-action-strong-neutral-background-color-focus: var(--gl-action-strong-neutral-background-color-hover); /* Used for the background of a strong neutral action in the focus state. */
772
+ --gl-action-strong-confirm-border-color-hover: var(--gl-action-strong-confirm-border-color-default); /* Used for the border of a strong confirm action in the hover state. */
773
+ --gl-action-strong-confirm-foreground-color-hover: var(--gl-action-strong-confirm-foreground-color-default); /* Used for the foreground of a strong confirm action in the hover state. */
774
+ --gl-action-strong-confirm-background-color-focus: var(--gl-action-strong-confirm-background-color-hover); /* Used for the background of a strong confirm action in the focus state. */
763
775
  --gl-action-danger-border-color-active: var(--gl-action-danger-border-color-default); /* Used for the border of a danger action in the active state. */
764
776
  --gl-action-danger-border-color-focus: var(--gl-action-danger-border-color-default); /* Used for the border of a danger action in the focus state. */
765
777
  --gl-action-danger-border-color-hover: var(--gl-action-danger-border-color-default); /* Used for the border of a danger action in the hover state. */
@@ -791,6 +803,8 @@
791
803
  --gl-button-confirm-tertiary-border-color-focus: var(--gl-action-confirm-border-color-focus); /* Used for the border of a borderless, tertiary confirm (positive) button in the focus state. */
792
804
  --gl-button-confirm-tertiary-border-color-hover: var(--gl-action-confirm-border-color-hover); /* Used for the border of a borderless, tertiary confirm (positive) button in the hover state. */
793
805
  --gl-button-confirm-tertiary-foreground-color-focus: var(--gl-action-confirm-foreground-color-focus); /* Used for the foreground of a borderless, tertiary confirm (positive) button in the focus state. */
806
+ --gl-button-confirm-primary-background-color-focus: var(--gl-action-strong-confirm-background-color-focus); /* Used for the background of a confirm (positive) primary button in the focus state. */
807
+ --gl-button-confirm-primary-foreground-color-hover: var(--gl-action-strong-confirm-foreground-color-hover); /* Used for the foreground of a confirm (positive) primary button in the hover state. */
794
808
  --gl-button-default-tertiary-border-color-active: var(--gl-action-neutral-border-color-active); /* Used for the border of a default borderless, tertiary button in the active state. */
795
809
  --gl-button-default-tertiary-border-color-focus: var(--gl-action-neutral-border-color-focus); /* Used for the border of a default borderless, tertiary button in the focus state. */
796
810
  --gl-button-default-tertiary-border-color-hover: var(--gl-action-neutral-border-color-hover); /* Used for the border of a default borderless, tertiary button in the hover state. */
@@ -804,4 +818,14 @@
804
818
  --gl-badge-info-background-color-focus: var(--gl-badge-info-background-color-hover); /* Used for the background of an informational badge in the focus state. */
805
819
  --gl-badge-neutral-background-color-focus: var(--gl-badge-neutral-background-color-hover); /* Used for the background of a neutral badge in the focus state. */
806
820
  --gl-badge-muted-background-color-focus: var(--gl-badge-muted-background-color-hover); /* Used for the background of a muted badge in the focus state. */
821
+ --gl-action-strong-neutral-border-color-focus: var(--gl-action-strong-neutral-border-color-hover); /* Used for the border of a strong neutral action in the focus state. */
822
+ --gl-action-strong-neutral-foreground-color-focus: var(--gl-action-strong-neutral-foreground-color-hover); /* Used for the foreground of a strong neutral action in the focus state. */
823
+ --gl-action-strong-confirm-border-color-focus: var(--gl-action-strong-confirm-border-color-hover); /* Used for the border of a strong confirm action in the focus state. */
824
+ --gl-action-strong-confirm-foreground-color-focus: var(--gl-action-strong-confirm-foreground-color-hover); /* Used for the foreground of a strong confirm action in the focus state. */
825
+ --gl-button-confirm-primary-foreground-color-focus: var(--gl-action-strong-confirm-foreground-color-focus); /* Used for the foreground of a confirm (positive) primary button in the focus state. */
826
+ --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. */
827
+ --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. */
828
+ --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. */
829
+ --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. */
830
+ --gl-button-confirm-primary-foreground-color-active: var(--gl-action-strong-confirm-foreground-color-active); /* Used for the foreground of a confirm (positive) primary button in the active state. */
807
831
  }