@gitlab/ui 136.1.0 → 136.2.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.
@@ -651,6 +651,14 @@ $gl-link-mention-text-color-current: $gl-color-orange-100; // Used for the menti
651
651
  $gl-link-mention-background-color-default: $gl-color-blue-800; // Used for the mention link default background.
652
652
  $gl-link-mention-background-color-current: $gl-color-orange-800; // Used for the mention link background when referencing the current user.
653
653
  $gl-nav-item-font-size: $gl-font-size-300; // Used for the font size of a navigation item
654
+ $gl-nav-item-foreground-color-default: $gl-color-neutral-200; // Used for the foreground of a default navigation item in the default state.
655
+ $gl-nav-item-foreground-color-hover: $gl-color-neutral-0; // Used for the foreground of a default navigation item in the hover state.
656
+ $gl-nav-item-background-color-default: $gl-color-alpha-0; // Used for the background of a default navigation item in the default state.
657
+ $gl-nav-item-background-color-hover: $gl-color-neutral-900; // Used for the background of a default navigation item in the hover state.
658
+ $gl-nav-item-background-color-active: $gl-color-neutral-950; // Used for the background of a default navigation item in the active state.
659
+ $gl-nav-item-selected-font-weight: $gl-font-weight-bold; // Used for the font weight of a selected navigation item.
660
+ $gl-nav-item-selected-foreground-color-default: $gl-color-neutral-0; // Used for the foreground of a selected navigation item in the default state.
661
+ $gl-nav-item-selected-background-color-default: $gl-color-neutral-900; // Used for the background of a selected navigation item in the default state.
654
662
  $gl-progress-bar-track-color: $gl-color-neutral-700; // Used for the track color for all progress-bar variants.
655
663
  $gl-skeleton-loader-background-color: $gl-color-neutral-800; // Used for the skeleton loader background color.
656
664
  $gl-skeleton-loader-shimmer-color: $gl-color-neutral-700; // Used for the animated shimmer effect in a skeleton loader.
@@ -1007,14 +1015,11 @@ $gl-dropdown-option-background-color-unselected-hover: $gl-action-neutral-backgr
1007
1015
  $gl-dropdown-option-background-color-unselected-active: $gl-action-neutral-background-color-active; // Used for the background of an unselected dropdown option in the active state.
1008
1016
  $gl-dropdown-option-background-color-selected-focus: $gl-dropdown-option-background-color-selected-hover; // Used for the background of a selected dropdown option in the focus state.
1009
1017
  $gl-modal-border-radius: $gl-border-radius-2xl; // Used for modal border radius.
1010
- $gl-nav-item-foreground-color-default: $gl-action-neutral-foreground-color-default; // Used for the foreground of a default navigation item in the default state.
1011
- $gl-nav-item-background-color-default: $gl-action-neutral-background-color-default; // Used for the background of a default navigation item in the default state.
1012
- $gl-nav-item-background-color-hover: $gl-action-neutral-background-color-hover; // Used for the background of a default navigation item in the hover state.
1013
- $gl-nav-item-background-color-active: $gl-action-neutral-background-color-active; // Used for the background of a default navigation item in the active state.
1014
- $gl-nav-item-selected-foreground-color-default: $gl-action-selected-foreground-color-default; // Used for the foreground of a selected navigation item in the default state.
1015
- $gl-nav-item-selected-background-color-default: $gl-action-selected-background-color-default; // Used for the background of a selected navigation item in the default state.
1016
- $gl-nav-item-selected-background-color-hover: $gl-action-selected-background-color-hover; // Used for the background of a selected navigation item in the hover state.
1017
- $gl-nav-item-selected-background-color-active: $gl-action-selected-background-color-active; // Used for the background of a selected navigation item in the active state.
1018
+ $gl-nav-item-foreground-color-focus: $gl-nav-item-foreground-color-hover; // Used for the foreground of a default navigation item in the focus state.
1019
+ $gl-nav-item-background-color-focus: $gl-nav-item-background-color-hover; // Used for the background of a default navigation item in the focus state.
1020
+ $gl-nav-item-selected-foreground-color-hover: $gl-nav-item-foreground-color-hover; // Used for the foreground of a selected navigation item in the hover state.
1021
+ $gl-nav-item-selected-background-color-hover: $gl-nav-item-background-color-hover; // Used for the background of a selected navigation item in the hover state.
1022
+ $gl-nav-item-selected-background-color-active: $gl-nav-item-background-color-active; // Used for the background of a selected navigation item in the active state.
1018
1023
  $gl-progress-bar-indicator-color-default: $gl-status-info-icon-color; // Used for the indicator color for the primary progress-bar variant.
1019
1024
  $gl-progress-bar-indicator-color-success: $gl-status-success-icon-color; // Used for the indicator color for the success progress-bar variant.
1020
1025
  $gl-progress-bar-indicator-color-warning: $gl-status-warning-icon-color; // Used for the indicator color for the warning progress-bar variant.
@@ -1219,12 +1224,9 @@ $gl-dropdown-option-indicator-color-selected-focus: $gl-control-background-color
1219
1224
  $gl-dropdown-option-indicator-color-selected-active: $gl-control-background-color-selected-focus; // Used for the dropdown selected option indicator in the active state.
1220
1225
  $gl-dropdown-option-background-color-unselected-focus: $gl-action-neutral-background-color-focus; // Used for the background of an unselected dropdown option in the focus state.
1221
1226
  $gl-nav-item-border-radius: $gl-action-border-radius; // Used for the border radius of a navigation item
1222
- $gl-nav-item-foreground-color-hover: $gl-action-neutral-foreground-color-hover; // Used for the foreground of a default navigation item in the hover state.
1223
- $gl-nav-item-foreground-color-focus: $gl-action-neutral-foreground-color-focus; // Used for the foreground of a default navigation item in the focus state.
1224
- $gl-nav-item-foreground-color-active: $gl-action-neutral-foreground-color-active; // Used for the foreground of a default navigation item in the active state.
1225
- $gl-nav-item-background-color-focus: $gl-action-neutral-background-color-focus; // Used for the background of a default navigation item in the focus state.
1226
- $gl-nav-item-selected-foreground-color-hover: $gl-action-selected-foreground-color-hover; // Used for the foreground of a selected navigation item in the hover state.
1227
- $gl-nav-item-selected-background-color-focus: $gl-action-selected-background-color-focus; // Used for the background of a selected navigation item in the focus state.
1227
+ $gl-nav-item-foreground-color-active: $gl-nav-item-foreground-color-focus; // Used for the foreground of a default navigation item in the active state.
1228
+ $gl-nav-item-selected-foreground-color-focus: $gl-nav-item-foreground-color-focus; // Used for the foreground of a selected navigation item in the focus state.
1229
+ $gl-nav-item-selected-background-color-focus: $gl-nav-item-background-color-focus; // Used for the background of a selected navigation item in the focus state.
1228
1230
  $gl-tab-selected-indicator-color-default: $gl-action-selected-border-color-active; // Used for the selected indicator of a tab.
1229
1231
  $gl-toggle-switch-track-color-unchecked-hover: $gl-toggle-switch-track-color-unchecked-default; // Used for the track color of an unchecked toggle switch in the hover state.
1230
1232
  $gl-toggle-switch-background-color-unchecked-hover: $gl-toggle-switch-background-color-unchecked-default; // Used for the background color of the unchecked toggle switch thumb in the hover state.
@@ -1241,13 +1243,12 @@ $gl-action-strong-confirm-border-color-focus: $gl-action-strong-confirm-border-c
1241
1243
  $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.
1242
1244
  $gl-control-border-color-selected-focus: $gl-control-background-color-selected-focus; // Used for checked and indeterminate (selected) form control (checkbox, radio button) border on focus.
1243
1245
  $gl-button-confirm-primary-foreground-color-active: $gl-button-confirm-primary-foreground-color-focus; // Used for the foreground of a confirm (positive) primary button in the active state.
1244
- $gl-nav-item-selected-foreground-color-focus: $gl-action-selected-foreground-color-focus; // Used for the foreground of a selected navigation item in the focus state.
1246
+ $gl-nav-item-selected-foreground-color-active: $gl-nav-item-foreground-color-active; // Used for the foreground of a selected navigation item in the active state.
1245
1247
  $gl-toggle-switch-track-color-unchecked-focus: $gl-toggle-switch-track-color-unchecked-hover; // Used for the track color of an unchecked toggle switch in the focus state.
1246
1248
  $gl-toggle-switch-background-color-checked-focus: $gl-action-strong-confirm-foreground-color-focus; // Used for the background color of the checked toggle switch thumb in the focus state.
1247
1249
  $gl-action-selected-foreground-color-active: $gl-action-selected-foreground-color-focus; // Used for the foreground of a selected action in the active state.
1248
1250
  $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.
1249
1251
  $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.
1250
1252
  $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.
1251
- $gl-nav-item-selected-foreground-color-active: $gl-action-selected-foreground-color-active; // Used for the foreground of a selected navigation item in the active state.
1252
1253
  $gl-toggle-switch-track-color-unchecked-active: $gl-toggle-switch-track-color-unchecked-focus; // Used for the track color of an unchecked toggle switch in the active state.
1253
1254
  $gl-toggle-switch-background-color-checked-active: $gl-action-strong-confirm-foreground-color-active; // Used for the background color of the checked toggle switch thumb in the active state.
@@ -633,6 +633,14 @@ $gl-link-mention-text-color-current: $gl-color-orange-800; // Used for the menti
633
633
  $gl-link-mention-background-color-default: $gl-color-blue-100; // Used for the mention link default background.
634
634
  $gl-link-mention-background-color-current: $gl-color-orange-100; // Used for the mention link background when referencing the current user.
635
635
  $gl-nav-item-font-size: $gl-font-size-300; // Used for the font size of a navigation item
636
+ $gl-nav-item-foreground-color-default: $gl-color-neutral-600; // Used for the foreground of a default navigation item in the default state.
637
+ $gl-nav-item-foreground-color-hover: $gl-color-neutral-950; // Used for the foreground of a default navigation item in the hover state.
638
+ $gl-nav-item-background-color-default: $gl-color-alpha-0; // Used for the background of a default navigation item in the default state.
639
+ $gl-nav-item-background-color-hover: $gl-color-neutral-100; // Used for the background of a default navigation item in the hover state.
640
+ $gl-nav-item-background-color-active: $gl-color-neutral-200; // Used for the background of a default navigation item in the active state.
641
+ $gl-nav-item-selected-font-weight: $gl-font-weight-bold; // Used for the font weight of a selected navigation item.
642
+ $gl-nav-item-selected-foreground-color-default: $gl-color-neutral-950; // Used for the foreground of a selected navigation item in the default state.
643
+ $gl-nav-item-selected-background-color-default: $gl-color-neutral-100; // Used for the background of a selected navigation item in the default state.
636
644
  $gl-progress-bar-track-color: $gl-color-neutral-200; // Used for the track color for all progress-bar variants.
637
645
  $gl-skeleton-loader-background-color: $gl-color-neutral-100; // Used for the skeleton loader background color.
638
646
  $gl-skeleton-loader-shimmer-color: $gl-color-neutral-50; // Used for the animated shimmer effect in a skeleton loader.
@@ -1000,14 +1008,11 @@ $gl-dropdown-option-background-color-unselected-hover: $gl-action-neutral-backgr
1000
1008
  $gl-dropdown-option-background-color-unselected-active: $gl-action-neutral-background-color-active; // Used for the background of an unselected dropdown option in the active state.
1001
1009
  $gl-dropdown-option-background-color-selected-focus: $gl-dropdown-option-background-color-selected-hover; // Used for the background of a selected dropdown option in the focus state.
1002
1010
  $gl-modal-border-radius: $gl-border-radius-2xl; // Used for modal border radius.
1003
- $gl-nav-item-foreground-color-default: $gl-action-neutral-foreground-color-default; // Used for the foreground of a default navigation item in the default state.
1004
- $gl-nav-item-background-color-default: $gl-action-neutral-background-color-default; // Used for the background of a default navigation item in the default state.
1005
- $gl-nav-item-background-color-hover: $gl-action-neutral-background-color-hover; // Used for the background of a default navigation item in the hover state.
1006
- $gl-nav-item-background-color-active: $gl-action-neutral-background-color-active; // Used for the background of a default navigation item in the active state.
1007
- $gl-nav-item-selected-foreground-color-default: $gl-action-selected-foreground-color-default; // Used for the foreground of a selected navigation item in the default state.
1008
- $gl-nav-item-selected-background-color-default: $gl-action-selected-background-color-default; // Used for the background of a selected navigation item in the default state.
1009
- $gl-nav-item-selected-background-color-hover: $gl-action-selected-background-color-hover; // Used for the background of a selected navigation item in the hover state.
1010
- $gl-nav-item-selected-background-color-active: $gl-action-selected-background-color-active; // Used for the background of a selected navigation item in the active state.
1011
+ $gl-nav-item-foreground-color-focus: $gl-nav-item-foreground-color-hover; // Used for the foreground of a default navigation item in the focus state.
1012
+ $gl-nav-item-background-color-focus: $gl-nav-item-background-color-hover; // Used for the background of a default navigation item in the focus state.
1013
+ $gl-nav-item-selected-foreground-color-hover: $gl-nav-item-foreground-color-hover; // Used for the foreground of a selected navigation item in the hover state.
1014
+ $gl-nav-item-selected-background-color-hover: $gl-nav-item-background-color-hover; // Used for the background of a selected navigation item in the hover state.
1015
+ $gl-nav-item-selected-background-color-active: $gl-nav-item-background-color-active; // Used for the background of a selected navigation item in the active state.
1011
1016
  $gl-progress-bar-indicator-color-default: $gl-status-info-icon-color; // Used for the indicator color for the primary progress-bar variant.
1012
1017
  $gl-progress-bar-indicator-color-success: $gl-status-success-icon-color; // Used for the indicator color for the success progress-bar variant.
1013
1018
  $gl-progress-bar-indicator-color-warning: $gl-status-warning-icon-color; // Used for the indicator color for the warning progress-bar variant.
@@ -1217,12 +1222,9 @@ $gl-dropdown-option-indicator-color-selected-focus: $gl-control-background-color
1217
1222
  $gl-dropdown-option-indicator-color-selected-active: $gl-control-background-color-selected-focus; // Used for the dropdown selected option indicator in the active state.
1218
1223
  $gl-dropdown-option-background-color-unselected-focus: $gl-action-neutral-background-color-focus; // Used for the background of an unselected dropdown option in the focus state.
1219
1224
  $gl-nav-item-border-radius: $gl-action-border-radius; // Used for the border radius of a navigation item
1220
- $gl-nav-item-foreground-color-hover: $gl-action-neutral-foreground-color-hover; // Used for the foreground of a default navigation item in the hover state.
1221
- $gl-nav-item-foreground-color-focus: $gl-action-neutral-foreground-color-focus; // Used for the foreground of a default navigation item in the focus state.
1222
- $gl-nav-item-foreground-color-active: $gl-action-neutral-foreground-color-active; // Used for the foreground of a default navigation item in the active state.
1223
- $gl-nav-item-background-color-focus: $gl-action-neutral-background-color-focus; // Used for the background of a default navigation item in the focus state.
1224
- $gl-nav-item-selected-foreground-color-hover: $gl-action-selected-foreground-color-hover; // Used for the foreground of a selected navigation item in the hover state.
1225
- $gl-nav-item-selected-background-color-focus: $gl-action-selected-background-color-focus; // Used for the background of a selected navigation item in the focus state.
1225
+ $gl-nav-item-foreground-color-active: $gl-nav-item-foreground-color-focus; // Used for the foreground of a default navigation item in the active state.
1226
+ $gl-nav-item-selected-foreground-color-focus: $gl-nav-item-foreground-color-focus; // Used for the foreground of a selected navigation item in the focus state.
1227
+ $gl-nav-item-selected-background-color-focus: $gl-nav-item-background-color-focus; // Used for the background of a selected navigation item in the focus state.
1226
1228
  $gl-tab-selected-indicator-color-default: $gl-action-selected-border-color-active; // Used for the selected indicator of a tab.
1227
1229
  $gl-toggle-switch-track-color-unchecked-hover: $gl-toggle-switch-track-color-unchecked-default; // Used for the track color of an unchecked toggle switch in the hover state.
1228
1230
  $gl-toggle-switch-background-color-unchecked-hover: $gl-toggle-switch-background-color-unchecked-default; // Used for the background color of the unchecked toggle switch thumb in the hover state.
@@ -1240,7 +1242,7 @@ $gl-action-strong-neutral-foreground-color-focus: $gl-action-strong-neutral-fore
1240
1242
  $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.
1241
1243
  $gl-control-border-color-selected-focus: $gl-control-background-color-selected-focus; // Used for checked and indeterminate (selected) form control (checkbox, radio button) border on focus.
1242
1244
  $gl-button-confirm-primary-foreground-color-active: $gl-button-confirm-primary-foreground-color-focus; // Used for the foreground of a confirm (positive) primary button in the active state.
1243
- $gl-nav-item-selected-foreground-color-focus: $gl-action-selected-foreground-color-focus; // Used for the foreground of a selected navigation item in the focus state.
1245
+ $gl-nav-item-selected-foreground-color-active: $gl-nav-item-foreground-color-active; // Used for the foreground of a selected navigation item in the active state.
1244
1246
  $gl-toggle-switch-track-color-unchecked-focus: $gl-toggle-switch-track-color-unchecked-hover; // Used for the track color of an unchecked toggle switch in the focus state.
1245
1247
  $gl-toggle-switch-background-color-checked-focus: $gl-action-strong-confirm-foreground-color-focus; // Used for the background color of the checked toggle switch thumb in the focus state.
1246
1248
  $gl-action-selected-foreground-color-active: $gl-action-selected-foreground-color-focus; // Used for the foreground of a selected action in the active state.
@@ -1248,6 +1250,5 @@ $gl-action-strong-confirm-foreground-color-active: $gl-action-strong-confirm-for
1248
1250
  $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.
1249
1251
  $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.
1250
1252
  $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.
1251
- $gl-nav-item-selected-foreground-color-active: $gl-action-selected-foreground-color-active; // Used for the foreground of a selected navigation item in the active state.
1252
1253
  $gl-toggle-switch-track-color-unchecked-active: $gl-toggle-switch-track-color-unchecked-focus; // Used for the track color of an unchecked toggle switch in the active state.
1253
1254
  $gl-toggle-switch-background-color-checked-active: $gl-action-strong-confirm-foreground-color-active; // Used for the background color of the checked toggle switch thumb in the active state.
@@ -684,6 +684,7 @@ $gl-nav-item-background-color-default: var(--gl-nav-item-background-color-defaul
684
684
  $gl-nav-item-background-color-hover: var(--gl-nav-item-background-color-hover);
685
685
  $gl-nav-item-background-color-focus: var(--gl-nav-item-background-color-focus);
686
686
  $gl-nav-item-background-color-active: var(--gl-nav-item-background-color-active);
687
+ $gl-nav-item-selected-font-weight: var(--gl-nav-item-selected-font-weight);
687
688
  $gl-nav-item-selected-foreground-color-default: var(--gl-nav-item-selected-foreground-color-default);
688
689
  $gl-nav-item-selected-foreground-color-hover: var(--gl-nav-item-selected-foreground-color-hover);
689
690
  $gl-nav-item-selected-foreground-color-focus: var(--gl-nav-item-selected-foreground-color-focus);
@@ -38,7 +38,10 @@
38
38
  "foreground": {
39
39
  "color": {
40
40
  "default": {
41
- "$value": "{action.neutral.foreground.color.default}",
41
+ "$value": {
42
+ "default": "{color.neutral.600}",
43
+ "dark": "{color.neutral.200}"
44
+ },
42
45
  "$type": "color",
43
46
  "$description": "Used for the foreground of a default navigation item in the default state.",
44
47
  "$extensions": {
@@ -48,7 +51,10 @@
48
51
  }
49
52
  },
50
53
  "hover": {
51
- "$value": "{action.neutral.foreground.color.hover}",
54
+ "$value": {
55
+ "default": "{color.neutral.950}",
56
+ "dark": "{color.neutral.0}"
57
+ },
52
58
  "$type": "color",
53
59
  "$description": "Used for the foreground of a default navigation item in the hover state.",
54
60
  "$extensions": {
@@ -58,7 +64,7 @@
58
64
  }
59
65
  },
60
66
  "focus": {
61
- "$value": "{action.neutral.foreground.color.focus}",
67
+ "$value": "{nav.item.foreground.color.hover}",
62
68
  "$type": "color",
63
69
  "$description": "Used for the foreground of a default navigation item in the focus state.",
64
70
  "$extensions": {
@@ -68,7 +74,7 @@
68
74
  }
69
75
  },
70
76
  "active": {
71
- "$value": "{action.neutral.foreground.color.active}",
77
+ "$value": "{nav.item.foreground.color.focus}",
72
78
  "$type": "color",
73
79
  "$description": "Used for the foreground of a default navigation item in the active state.",
74
80
  "$extensions": {
@@ -82,7 +88,7 @@
82
88
  "background": {
83
89
  "color": {
84
90
  "default": {
85
- "$value": "{action.neutral.background.color.default}",
91
+ "$value": "{color.alpha.0}",
86
92
  "$type": "color",
87
93
  "$description": "Used for the background of a default navigation item in the default state.",
88
94
  "$extensions": {
@@ -92,7 +98,10 @@
92
98
  }
93
99
  },
94
100
  "hover": {
95
- "$value": "{action.neutral.background.color.hover}",
101
+ "$value": {
102
+ "default": "{color.neutral.100}",
103
+ "dark": "{color.neutral.900}"
104
+ },
96
105
  "$type": "color",
97
106
  "$description": "Used for the background of a default navigation item in the hover state.",
98
107
  "$extensions": {
@@ -102,7 +111,7 @@
102
111
  }
103
112
  },
104
113
  "focus": {
105
- "$value": "{action.neutral.background.color.focus}",
114
+ "$value": "{nav.item.background.color.hover}",
106
115
  "$type": "color",
107
116
  "$description": "Used for the background of a default navigation item in the focus state.",
108
117
  "$extensions": {
@@ -112,7 +121,10 @@
112
121
  }
113
122
  },
114
123
  "active": {
115
- "$value": "{action.neutral.background.color.active}",
124
+ "$value": {
125
+ "default": "{color.neutral.200}",
126
+ "dark": "{color.neutral.950}"
127
+ },
116
128
  "$type": "color",
117
129
  "$description": "Used for the background of a default navigation item in the active state.",
118
130
  "$extensions": {
@@ -124,10 +136,25 @@
124
136
  }
125
137
  },
126
138
  "selected": {
139
+ "font": {
140
+ "weight": {
141
+ "$value": "{font.weight.bold}",
142
+ "$type": "fontWeight",
143
+ "$description": "Used for the font weight of a selected navigation item.",
144
+ "$extensions": {
145
+ "com.figma.scopes": [
146
+ "FONT_WEIGHT"
147
+ ]
148
+ }
149
+ }
150
+ },
127
151
  "foreground": {
128
152
  "color": {
129
153
  "default": {
130
- "$value": "{action.selected.foreground.color.default}",
154
+ "$value": {
155
+ "default": "{color.neutral.950}",
156
+ "dark": "{color.neutral.0}"
157
+ },
131
158
  "$type": "color",
132
159
  "$description": "Used for the foreground of a selected navigation item in the default state.",
133
160
  "$extensions": {
@@ -137,7 +164,7 @@
137
164
  }
138
165
  },
139
166
  "hover": {
140
- "$value": "{action.selected.foreground.color.hover}",
167
+ "$value": "{nav.item.foreground.color.hover}",
141
168
  "$type": "color",
142
169
  "$description": "Used for the foreground of a selected navigation item in the hover state.",
143
170
  "$extensions": {
@@ -147,7 +174,7 @@
147
174
  }
148
175
  },
149
176
  "focus": {
150
- "$value": "{action.selected.foreground.color.focus}",
177
+ "$value": "{nav.item.foreground.color.focus}",
151
178
  "$type": "color",
152
179
  "$description": "Used for the foreground of a selected navigation item in the focus state.",
153
180
  "$extensions": {
@@ -157,7 +184,7 @@
157
184
  }
158
185
  },
159
186
  "active": {
160
- "$value": "{action.selected.foreground.color.active}",
187
+ "$value": "{nav.item.foreground.color.active}",
161
188
  "$type": "color",
162
189
  "$description": "Used for the foreground of a selected navigation item in the active state.",
163
190
  "$extensions": {
@@ -171,7 +198,10 @@
171
198
  "background": {
172
199
  "color": {
173
200
  "default": {
174
- "$value": "{action.selected.background.color.default}",
201
+ "$value": {
202
+ "default": "{color.neutral.100}",
203
+ "dark": "{color.neutral.900}"
204
+ },
175
205
  "$type": "color",
176
206
  "$description": "Used for the background of a selected navigation item in the default state.",
177
207
  "$extensions": {
@@ -181,7 +211,7 @@
181
211
  }
182
212
  },
183
213
  "hover": {
184
- "$value": "{action.selected.background.color.hover}",
214
+ "$value": "{nav.item.background.color.hover}",
185
215
  "$type": "color",
186
216
  "$description": "Used for the background of a selected navigation item in the hover state.",
187
217
  "$extensions": {
@@ -191,7 +221,7 @@
191
221
  }
192
222
  },
193
223
  "focus": {
194
- "$value": "{action.selected.background.color.focus}",
224
+ "$value": "{nav.item.background.color.focus}",
195
225
  "$type": "color",
196
226
  "$description": "Used for the background of a selected navigation item in the focus state.",
197
227
  "$extensions": {
@@ -201,7 +231,7 @@
201
231
  }
202
232
  },
203
233
  "active": {
204
- "$value": "{action.selected.background.color.active}",
234
+ "$value": "{nav.item.background.color.active}",
205
235
  "$type": "color",
206
236
  "$description": "Used for the background of a selected navigation item in the active state.",
207
237
  "$extensions": {
@@ -56,6 +56,12 @@ export const badgeIconSizeOptions = {
56
56
  md: 16,
57
57
  };
58
58
 
59
+ export const navItemIndicatorPositionOptions = {
60
+ left: 'gl-nav-item-indicator-left',
61
+ right: 'gl-nav-item-indicator-right',
62
+ bottom: 'gl-nav-item-indicator-bottom',
63
+ };
64
+
59
65
  export const variantCssColorMap = {
60
66
  muted: 'gl-text-gray-500',
61
67
  neutral: 'gl-text-blue-100',