@gitlab/ui 123.10.1 → 123.11.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.
@@ -830,6 +830,7 @@ export const GL_TOGGLE_SWITCH_ICON_COLOR_CHECKED_FOCUS = '#9dc7f1';
830
830
  export const GL_TOGGLE_SWITCH_ICON_COLOR_CHECKED_ACTIVE = '#428fdc';
831
831
  export const GL_TOGGLE_SWITCH_ICON_COLOR_DISABLED = '#28272d';
832
832
  export const GL_TOKEN_SELECTOR_TOKEN_CONTAINER_TOKEN_BACKGROUND_COLOR_FOCUS = '#626168';
833
+ export const GL_TOKEN_BORDER_RADIUS = '0.25rem';
833
834
  export const GL_TOKEN_FOREGROUND_COLOR = '#ececef';
834
835
  export const GL_TOKEN_BACKGROUND_COLOR = '#3a383f';
835
836
  export const DATA_VIZ_GREEN_50 = '#133a03';
@@ -830,6 +830,7 @@ export const GL_TOGGLE_SWITCH_ICON_COLOR_CHECKED_FOCUS = '#2f68b4';
830
830
  export const GL_TOGGLE_SWITCH_ICON_COLOR_CHECKED_ACTIVE = '#2f5ca0';
831
831
  export const GL_TOGGLE_SWITCH_ICON_COLOR_DISABLED = '#ececef';
832
832
  export const GL_TOKEN_SELECTOR_TOKEN_CONTAINER_TOKEN_BACKGROUND_COLOR_FOCUS = '#a4a3a8';
833
+ export const GL_TOKEN_BORDER_RADIUS = '0.25rem';
833
834
  export const GL_TOKEN_FOREGROUND_COLOR = '#3a383f';
834
835
  export const GL_TOKEN_BACKGROUND_COLOR = '#dcdcde';
835
836
  export const DATA_VIZ_GREEN_50 = '#ddfab7';
@@ -23559,6 +23559,39 @@
23559
23559
  }
23560
23560
  },
23561
23561
  "token": {
23562
+ "border": {
23563
+ "radius": {
23564
+ "key": "{token.border.radius}",
23565
+ "$value": "0.25rem",
23566
+ "$type": "dimension",
23567
+ "$description": "Used for token border radius.",
23568
+ "$extensions": {
23569
+ "com.figma.scope": [
23570
+ "CORNER_RADIUS"
23571
+ ]
23572
+ },
23573
+ "filePath": "src/tokens/contextual/token.tokens.json",
23574
+ "isSource": true,
23575
+ "original": {
23576
+ "$value": "{border.radius.default}",
23577
+ "$type": "dimension",
23578
+ "$description": "Used for token border radius.",
23579
+ "$extensions": {
23580
+ "com.figma.scope": [
23581
+ "CORNER_RADIUS"
23582
+ ]
23583
+ },
23584
+ "key": "{token.border.radius}"
23585
+ },
23586
+ "name": "TOKEN_BORDER_RADIUS",
23587
+ "attributes": {},
23588
+ "path": [
23589
+ "token",
23590
+ "border",
23591
+ "radius"
23592
+ ]
23593
+ }
23594
+ },
23562
23595
  "foreground": {
23563
23596
  "color": {
23564
23597
  "key": "{token.foreground.color}",
@@ -23559,6 +23559,39 @@
23559
23559
  }
23560
23560
  },
23561
23561
  "token": {
23562
+ "border": {
23563
+ "radius": {
23564
+ "key": "{token.border.radius}",
23565
+ "$value": "0.25rem",
23566
+ "$type": "dimension",
23567
+ "$description": "Used for token border radius.",
23568
+ "$extensions": {
23569
+ "com.figma.scope": [
23570
+ "CORNER_RADIUS"
23571
+ ]
23572
+ },
23573
+ "filePath": "src/tokens/contextual/token.tokens.json",
23574
+ "isSource": true,
23575
+ "original": {
23576
+ "$value": "{border.radius.default}",
23577
+ "$type": "dimension",
23578
+ "$description": "Used for token border radius.",
23579
+ "$extensions": {
23580
+ "com.figma.scope": [
23581
+ "CORNER_RADIUS"
23582
+ ]
23583
+ },
23584
+ "key": "{token.border.radius}"
23585
+ },
23586
+ "name": "TOKEN_BORDER_RADIUS",
23587
+ "attributes": {},
23588
+ "path": [
23589
+ "token",
23590
+ "border",
23591
+ "radius"
23592
+ ]
23593
+ }
23594
+ },
23562
23595
  "foreground": {
23563
23596
  "color": {
23564
23597
  "key": "{token.foreground.color}",
@@ -1123,6 +1123,7 @@ $gl-dropdown-option-text-color-focus: $gl-action-neutral-foreground-color-focus;
1123
1123
  $gl-dropdown-option-text-color-active: $gl-action-neutral-foreground-color-active; // Used for the text of a dropdown option in the active state.
1124
1124
  $gl-toggle-switch-icon-color-unchecked-focus: $gl-action-strong-neutral-background-color-focus; // Used for the icon color of an unchecked toggle switch in the focus state.
1125
1125
  $gl-toggle-switch-icon-color-checked-focus: $gl-action-strong-confirm-background-color-focus; // Used for the icon color of a checked toggle switch in the focus state.
1126
+ $gl-token-border-radius: $gl-border-radius-default; // Used for token border radius.
1126
1127
  $gl-action-selected-foreground-color-focus: $gl-action-selected-foreground-color-hover; // Used for the foreground of a selected action in the focus state.
1127
1128
  $gl-action-selected-border-color-focus: $gl-action-selected-background-color-focus; // Used for the border of a selected action in the focus state.
1128
1129
  $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.
@@ -1121,6 +1121,7 @@ $gl-dropdown-option-text-color-focus: $gl-action-neutral-foreground-color-focus;
1121
1121
  $gl-dropdown-option-text-color-active: $gl-action-neutral-foreground-color-active; // Used for the text of a dropdown option in the active state.
1122
1122
  $gl-toggle-switch-icon-color-unchecked-focus: $gl-action-strong-neutral-background-color-focus; // Used for the icon color of an unchecked toggle switch in the focus state.
1123
1123
  $gl-toggle-switch-icon-color-checked-focus: $gl-action-strong-confirm-background-color-focus; // Used for the icon color of a checked toggle switch in the focus state.
1124
+ $gl-token-border-radius: $gl-border-radius-default; // Used for token border radius.
1124
1125
  $gl-action-selected-foreground-color-focus: $gl-action-selected-foreground-color-hover; // Used for the foreground of a selected action in the focus state.
1125
1126
  $gl-action-selected-border-color-focus: $gl-action-selected-background-color-focus; // Used for the border of a selected action in the focus state.
1126
1127
  $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.
@@ -744,6 +744,7 @@ $gl-toggle-switch-icon-color-checked-focus: var(--gl-toggle-switch-icon-color-ch
744
744
  $gl-toggle-switch-icon-color-checked-active: var(--gl-toggle-switch-icon-color-checked-active);
745
745
  $gl-toggle-switch-icon-color-disabled: var(--gl-toggle-switch-icon-color-disabled);
746
746
  $gl-token-selector-token-container-token-background-color-focus: var(--gl-token-selector-token-container-token-background-color-focus);
747
+ $gl-token-border-radius: var(--gl-token-border-radius);
747
748
  $gl-token-foreground-color: var(--gl-token-foreground-color);
748
749
  $gl-token-background-color: var(--gl-token-background-color);
749
750
  $data-viz-green-50: var(--data-viz-green-50);
@@ -1,5 +1,17 @@
1
1
  {
2
2
  "token": {
3
+ "border": {
4
+ "radius": {
5
+ "$value": "{border.radius.default}",
6
+ "$type": "dimension",
7
+ "$description": "Used for token border radius.",
8
+ "$extensions": {
9
+ "com.figma.scope": [
10
+ "CORNER_RADIUS"
11
+ ]
12
+ }
13
+ }
14
+ },
3
15
  "foreground": {
4
16
  "color": {
5
17
  "$value": "{text.color.default}",