@gitlab/ui 102.3.0 → 102.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +7 -0
- package/dist/index.css +1 -1
- package/dist/index.css.map +1 -1
- package/dist/tailwind.css +1 -1
- package/dist/tailwind.css.map +1 -1
- package/dist/tokens/build/js/tokens.dark.js +2 -2
- package/dist/tokens/build/js/tokens.js +1 -1
- package/dist/tokens/css/tokens.css +4 -4
- package/dist/tokens/css/tokens.dark.css +5 -5
- package/dist/tokens/js/tokens.dark.js +2 -2
- package/dist/tokens/js/tokens.js +1 -1
- package/dist/tokens/json/tokens.dark.json +9 -6
- package/dist/tokens/json/tokens.json +8 -5
- package/dist/tokens/scss/_tokens.dark.scss +5 -5
- package/dist/tokens/scss/_tokens.scss +4 -4
- package/dist/tokens/tailwind/tokens.cjs +1 -1
- package/package.json +2 -2
- package/src/tokens/border.tokens.json +3 -3
- package/src/tokens/build/css/tokens.css +4 -4
- package/src/tokens/build/css/tokens.dark.css +5 -5
- package/src/tokens/build/js/tokens.dark.js +2 -2
- package/src/tokens/build/js/tokens.js +1 -1
- package/src/tokens/build/json/tokens.dark.json +9 -6
- package/src/tokens/build/json/tokens.json +8 -5
- package/src/tokens/build/scss/_tokens.dark.scss +5 -5
- package/src/tokens/build/scss/_tokens.scss +4 -4
- package/src/tokens/build/tailwind/tokens.cjs +1 -1
- package/src/tokens/contextual/button.tokens.json +4 -1
|
@@ -86,7 +86,7 @@ export const GL_BACKGROUND_COLOR_SECTION = '#fff';
|
|
|
86
86
|
export const GL_BACKGROUND_COLOR_OVERLAY = 'rgba(05, 05, 06, 0.24)';
|
|
87
87
|
export const GL_BORDER_COLOR_DEFAULT = '#dcdcde';
|
|
88
88
|
export const GL_BORDER_COLOR_SUBTLE = '#ececef';
|
|
89
|
-
export const GL_BORDER_COLOR_STRONG = '#
|
|
89
|
+
export const GL_BORDER_COLOR_STRONG = '#bfbfc3';
|
|
90
90
|
export const GL_BORDER_COLOR_SECTION = '#dcdcde';
|
|
91
91
|
export const GL_BORDER_COLOR_TRANSPARENT = 'transparent';
|
|
92
92
|
export const GL_COLOR_ALPHA_0 = 'transparent';
|
|
@@ -1954,7 +1954,7 @@
|
|
|
1954
1954
|
"border": {
|
|
1955
1955
|
"color": {
|
|
1956
1956
|
"default": {
|
|
1957
|
-
"$value": "#
|
|
1957
|
+
"$value": "#4c4b51",
|
|
1958
1958
|
"$type": "color",
|
|
1959
1959
|
"$description": "Used for the default border color.",
|
|
1960
1960
|
"filePath": "src/tokens/border.tokens.json",
|
|
@@ -1962,7 +1962,7 @@
|
|
|
1962
1962
|
"original": {
|
|
1963
1963
|
"$value": {
|
|
1964
1964
|
"default": "{color.neutral.100}",
|
|
1965
|
-
"dark": "{color.neutral.
|
|
1965
|
+
"dark": "{color.neutral.700}"
|
|
1966
1966
|
},
|
|
1967
1967
|
"$type": "color",
|
|
1968
1968
|
"$description": "Used for the default border color."
|
|
@@ -1998,15 +1998,15 @@
|
|
|
1998
1998
|
]
|
|
1999
1999
|
},
|
|
2000
2000
|
"strong": {
|
|
2001
|
-
"$value": "#
|
|
2001
|
+
"$value": "#626168",
|
|
2002
2002
|
"$type": "color",
|
|
2003
2003
|
"$description": "Used for a distinct border that emphasizes an edge or boundaries.",
|
|
2004
2004
|
"filePath": "src/tokens/border.tokens.json",
|
|
2005
2005
|
"isSource": true,
|
|
2006
2006
|
"original": {
|
|
2007
2007
|
"$value": {
|
|
2008
|
-
"default": "{color.neutral.
|
|
2009
|
-
"dark": "{color.neutral.
|
|
2008
|
+
"default": "{color.neutral.200}",
|
|
2009
|
+
"dark": "{color.neutral.600}"
|
|
2010
2010
|
},
|
|
2011
2011
|
"$type": "color",
|
|
2012
2012
|
"$description": "Used for a distinct border that emphasizes an edge or boundaries."
|
|
@@ -13184,7 +13184,10 @@
|
|
|
13184
13184
|
"filePath": "src/tokens/contextual/button.tokens.json",
|
|
13185
13185
|
"isSource": true,
|
|
13186
13186
|
"original": {
|
|
13187
|
-
"$value":
|
|
13187
|
+
"$value": {
|
|
13188
|
+
"default": "{color.neutral.400}",
|
|
13189
|
+
"dark": "{color.neutral.400}"
|
|
13190
|
+
},
|
|
13188
13191
|
"$type": "color",
|
|
13189
13192
|
"$description": "Used for the border of a dashed button in the default state."
|
|
13190
13193
|
},
|
|
@@ -1962,7 +1962,7 @@
|
|
|
1962
1962
|
"original": {
|
|
1963
1963
|
"$value": {
|
|
1964
1964
|
"default": "{color.neutral.100}",
|
|
1965
|
-
"dark": "{color.neutral.
|
|
1965
|
+
"dark": "{color.neutral.700}"
|
|
1966
1966
|
},
|
|
1967
1967
|
"$type": "color",
|
|
1968
1968
|
"$description": "Used for the default border color."
|
|
@@ -1998,15 +1998,15 @@
|
|
|
1998
1998
|
]
|
|
1999
1999
|
},
|
|
2000
2000
|
"strong": {
|
|
2001
|
-
"$value": "#
|
|
2001
|
+
"$value": "#bfbfc3",
|
|
2002
2002
|
"$type": "color",
|
|
2003
2003
|
"$description": "Used for a distinct border that emphasizes an edge or boundaries.",
|
|
2004
2004
|
"filePath": "src/tokens/border.tokens.json",
|
|
2005
2005
|
"isSource": true,
|
|
2006
2006
|
"original": {
|
|
2007
2007
|
"$value": {
|
|
2008
|
-
"default": "{color.neutral.
|
|
2009
|
-
"dark": "{color.neutral.
|
|
2008
|
+
"default": "{color.neutral.200}",
|
|
2009
|
+
"dark": "{color.neutral.600}"
|
|
2010
2010
|
},
|
|
2011
2011
|
"$type": "color",
|
|
2012
2012
|
"$description": "Used for a distinct border that emphasizes an edge or boundaries."
|
|
@@ -13184,7 +13184,10 @@
|
|
|
13184
13184
|
"filePath": "src/tokens/contextual/button.tokens.json",
|
|
13185
13185
|
"isSource": true,
|
|
13186
13186
|
"original": {
|
|
13187
|
-
"$value":
|
|
13187
|
+
"$value": {
|
|
13188
|
+
"default": "{color.neutral.400}",
|
|
13189
|
+
"dark": "{color.neutral.400}"
|
|
13190
|
+
},
|
|
13188
13191
|
"$type": "color",
|
|
13189
13192
|
"$description": "Used for the border of a dashed button in the default state."
|
|
13190
13193
|
},
|
|
@@ -457,9 +457,9 @@ $gl-background-color-disabled: $gl-color-neutral-900; // Used to identify a disa
|
|
|
457
457
|
$gl-background-color-overlap: $gl-color-neutral-900; // Used for components, like tooltips and drawers, and content, like a sticky header, that overlap other content.
|
|
458
458
|
$gl-background-color-section: $gl-color-neutral-800; // Used for containers, like a card header, that are visually distinct from the default page background only when necessary to maintain affordance and hierarchy in different modes.
|
|
459
459
|
$gl-background-color-overlay: rgba(0,0,0,0.64); // Used for an overlay that covers other content.
|
|
460
|
-
$gl-border-color-default: $gl-color-neutral-
|
|
460
|
+
$gl-border-color-default: $gl-color-neutral-700; // Used for the default border color.
|
|
461
461
|
$gl-border-color-subtle: $gl-color-neutral-900; // Used for a subtle border in combination with the default background.
|
|
462
|
-
$gl-border-color-strong: $gl-color-neutral-
|
|
462
|
+
$gl-border-color-strong: $gl-color-neutral-600; // Used for a distinct border that emphasizes an edge or boundaries.
|
|
463
463
|
$gl-border-color-transparent: $gl-color-alpha-0; // Used when a border needs to be present, but not visibly perceived.
|
|
464
464
|
$gl-alert-neutral-border-top-color: $gl-color-neutral-400; // Used for the border center color of a neutral alert.
|
|
465
465
|
$gl-alert-neutral-border-bottom-color: $gl-color-alpha-0; // Used for the border bottom color of a neutral alert.
|
|
@@ -652,6 +652,7 @@ $gl-button-danger-secondary-border-color-active: $gl-color-alpha-0; // Used for
|
|
|
652
652
|
$gl-button-danger-tertiary-background-color-default: $gl-action-danger-background-color-default; // Used for the background of a borderless, tertiary danger (destructive) button in the default state.
|
|
653
653
|
$gl-button-danger-tertiary-background-color-hover: $gl-action-danger-background-color-hover; // Used for the background of a borderless, tertiary danger (destructive) button in the hover state.
|
|
654
654
|
$gl-button-danger-tertiary-background-color-active: $gl-action-danger-background-color-active; // Used for the background of a borderless, tertiary danger (destructive) button in the active state.
|
|
655
|
+
$gl-button-dashed-border-color-default: $gl-color-neutral-400; // Used for the border of a dashed button in the default state.
|
|
655
656
|
$gl-button-dashed-border-color-active: $gl-color-neutral-300; // Used for the border of a dashed button in the active state.
|
|
656
657
|
$gl-button-selected-border-color-default: $gl-color-neutral-600; // Used for the border of a selected button in the default state.
|
|
657
658
|
$gl-button-selected-border-color-hover: $gl-color-neutral-500; // Used for the border of a selected button in the hover state.
|
|
@@ -863,7 +864,8 @@ $gl-button-danger-tertiary-foreground-color-hover: $gl-action-danger-foreground-
|
|
|
863
864
|
$gl-button-danger-tertiary-foreground-color-active: $gl-action-danger-foreground-color-active; // Used for the foreground of a borderless, tertiary danger (destructive) button in the active state.
|
|
864
865
|
$gl-button-danger-tertiary-background-color-focus: $gl-action-danger-background-color-focus; // Used for the background of a borderless, tertiary danger (destructive) button in the focus state.
|
|
865
866
|
$gl-button-danger-tertiary-border-color-default: $gl-action-danger-border-color-default; // Used for the border of a borderless, tertiary danger (destructive) button in the default state.
|
|
866
|
-
$gl-button-dashed-border-color-
|
|
867
|
+
$gl-button-dashed-border-color-hover: $gl-button-dashed-border-color-default; // Used for the border of a dashed button in the hover state.
|
|
868
|
+
$gl-button-dashed-border-color-focus: $gl-button-dashed-border-color-default; // Used for the border of a dashed button in the focus state.
|
|
867
869
|
$gl-button-link-text-color-default: $gl-text-color-link; // Used for the text of a link button in the default state.
|
|
868
870
|
$gl-button-selected-foreground-color-default: $gl-button-default-primary-foreground-color-default; // Used for the foreground of a selected button in the default state.
|
|
869
871
|
$gl-button-selected-background-color-default: $gl-button-default-primary-background-color-default; // Used for the background of a selected button in the default state.
|
|
@@ -927,8 +929,6 @@ $gl-button-danger-tertiary-foreground-color-focus: $gl-action-danger-foreground-
|
|
|
927
929
|
$gl-button-danger-tertiary-border-color-hover: $gl-action-danger-border-color-hover; // Used for the border of a borderless, tertiary danger (destructive) button in the hover state.
|
|
928
930
|
$gl-button-danger-tertiary-border-color-focus: $gl-action-danger-border-color-focus; // Used for the border of a borderless, tertiary danger (destructive) button in the focus state.
|
|
929
931
|
$gl-button-danger-tertiary-border-color-active: $gl-action-danger-border-color-active; // Used for the border of a borderless, tertiary danger (destructive) button in the active state.
|
|
930
|
-
$gl-button-dashed-border-color-hover: $gl-button-dashed-border-color-default; // Used for the border of a dashed button in the hover state.
|
|
931
|
-
$gl-button-dashed-border-color-focus: $gl-button-dashed-border-color-default; // Used for the border of a dashed button in the focus state.
|
|
932
932
|
$gl-button-link-text-color-hover: $gl-button-link-text-color-default; // Used for the text of a link button in the hover state.
|
|
933
933
|
$gl-button-link-text-color-focus: $gl-button-link-text-color-default; // Used for the text of a link button in the focus state.
|
|
934
934
|
$gl-button-link-text-color-active: $gl-button-link-text-color-default; // Used for the text of a link button in the active state.
|
|
@@ -459,7 +459,7 @@ $gl-background-color-section: $gl-color-neutral-0; // Used for containers, like
|
|
|
459
459
|
$gl-background-color-overlay: $gl-color-alpha-dark-24; // Used for an overlay that covers other content.
|
|
460
460
|
$gl-border-color-default: $gl-color-neutral-100; // Used for the default border color.
|
|
461
461
|
$gl-border-color-subtle: $gl-color-neutral-50; // Used for a subtle border in combination with the default background.
|
|
462
|
-
$gl-border-color-strong: $gl-color-neutral-
|
|
462
|
+
$gl-border-color-strong: $gl-color-neutral-200; // Used for a distinct border that emphasizes an edge or boundaries.
|
|
463
463
|
$gl-border-color-transparent: $gl-color-alpha-0; // Used when a border needs to be present, but not visibly perceived.
|
|
464
464
|
$gl-alert-neutral-border-top-color: $gl-color-alpha-0; // Used for the border center color of a neutral alert.
|
|
465
465
|
$gl-alert-neutral-border-bottom-color: $gl-color-alpha-0; // Used for the border bottom color of a neutral alert.
|
|
@@ -652,6 +652,7 @@ $gl-button-danger-secondary-border-color-active: $gl-color-red-900; // Used for
|
|
|
652
652
|
$gl-button-danger-tertiary-background-color-default: $gl-action-danger-background-color-default; // Used for the background of a borderless, tertiary danger (destructive) button in the default state.
|
|
653
653
|
$gl-button-danger-tertiary-background-color-hover: $gl-action-danger-background-color-hover; // Used for the background of a borderless, tertiary danger (destructive) button in the hover state.
|
|
654
654
|
$gl-button-danger-tertiary-background-color-active: $gl-action-danger-background-color-active; // Used for the background of a borderless, tertiary danger (destructive) button in the active state.
|
|
655
|
+
$gl-button-dashed-border-color-default: $gl-color-neutral-400; // Used for the border of a dashed button in the default state.
|
|
655
656
|
$gl-button-dashed-border-color-active: $gl-color-neutral-600; // Used for the border of a dashed button in the active state.
|
|
656
657
|
$gl-button-selected-border-color-default: $gl-color-neutral-300; // Used for the border of a selected button in the default state.
|
|
657
658
|
$gl-button-selected-border-color-hover: $gl-color-neutral-400; // Used for the border of a selected button in the hover state.
|
|
@@ -863,7 +864,8 @@ $gl-button-danger-tertiary-foreground-color-hover: $gl-action-danger-foreground-
|
|
|
863
864
|
$gl-button-danger-tertiary-foreground-color-active: $gl-action-danger-foreground-color-active; // Used for the foreground of a borderless, tertiary danger (destructive) button in the active state.
|
|
864
865
|
$gl-button-danger-tertiary-background-color-focus: $gl-action-danger-background-color-focus; // Used for the background of a borderless, tertiary danger (destructive) button in the focus state.
|
|
865
866
|
$gl-button-danger-tertiary-border-color-default: $gl-action-danger-border-color-default; // Used for the border of a borderless, tertiary danger (destructive) button in the default state.
|
|
866
|
-
$gl-button-dashed-border-color-
|
|
867
|
+
$gl-button-dashed-border-color-hover: $gl-button-dashed-border-color-default; // Used for the border of a dashed button in the hover state.
|
|
868
|
+
$gl-button-dashed-border-color-focus: $gl-button-dashed-border-color-default; // Used for the border of a dashed button in the focus state.
|
|
867
869
|
$gl-button-link-text-color-default: $gl-text-color-link; // Used for the text of a link button in the default state.
|
|
868
870
|
$gl-button-selected-foreground-color-default: $gl-button-default-primary-foreground-color-default; // Used for the foreground of a selected button in the default state.
|
|
869
871
|
$gl-button-selected-background-color-default: $gl-button-default-primary-background-color-default; // Used for the background of a selected button in the default state.
|
|
@@ -927,8 +929,6 @@ $gl-button-danger-tertiary-foreground-color-focus: $gl-action-danger-foreground-
|
|
|
927
929
|
$gl-button-danger-tertiary-border-color-hover: $gl-action-danger-border-color-hover; // Used for the border of a borderless, tertiary danger (destructive) button in the hover state.
|
|
928
930
|
$gl-button-danger-tertiary-border-color-focus: $gl-action-danger-border-color-focus; // Used for the border of a borderless, tertiary danger (destructive) button in the focus state.
|
|
929
931
|
$gl-button-danger-tertiary-border-color-active: $gl-action-danger-border-color-active; // Used for the border of a borderless, tertiary danger (destructive) button in the active state.
|
|
930
|
-
$gl-button-dashed-border-color-hover: $gl-button-dashed-border-color-default; // Used for the border of a dashed button in the hover state.
|
|
931
|
-
$gl-button-dashed-border-color-focus: $gl-button-dashed-border-color-default; // Used for the border of a dashed button in the focus state.
|
|
932
932
|
$gl-button-link-text-color-hover: $gl-button-link-text-color-default; // Used for the text of a link button in the hover state.
|
|
933
933
|
$gl-button-link-text-color-focus: $gl-button-link-text-color-default; // Used for the text of a link button in the focus state.
|
|
934
934
|
$gl-button-link-text-color-active: $gl-button-link-text-color-default; // Used for the text of a link button in the active state.
|
|
@@ -226,7 +226,7 @@ const backgroundColors = {
|
|
|
226
226
|
const borderColors = {
|
|
227
227
|
default: 'var(--gl-border-color-default, var(--gl-color-neutral-100, #dcdcde))',
|
|
228
228
|
subtle: 'var(--gl-border-color-subtle, var(--gl-color-neutral-50, #ececef))',
|
|
229
|
-
strong: 'var(--gl-border-color-strong, var(--gl-color-neutral-
|
|
229
|
+
strong: 'var(--gl-border-color-strong, var(--gl-color-neutral-200, #bfbfc3))',
|
|
230
230
|
section: 'var(--gl-border-color-section, var(--gl-border-color-default, #dcdcde))',
|
|
231
231
|
transparent: 'var(--gl-border-color-transparent, var(--gl-color-alpha-0, transparent))',
|
|
232
232
|
};
|
|
@@ -710,7 +710,10 @@
|
|
|
710
710
|
"border": {
|
|
711
711
|
"color": {
|
|
712
712
|
"default": {
|
|
713
|
-
"$value":
|
|
713
|
+
"$value": {
|
|
714
|
+
"default": "{color.neutral.400}",
|
|
715
|
+
"dark": "{color.neutral.400}"
|
|
716
|
+
},
|
|
714
717
|
"$type": "color",
|
|
715
718
|
"$description": "Used for the border of a dashed button in the default state."
|
|
716
719
|
},
|