@gitlab/ui 136.1.0 → 136.3.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.
@@ -377,6 +377,7 @@ export const GL_ALERT_DANGER_TITLE_COLOR = '#18171d';
377
377
  export const GL_ALERT_DANGER_BACKGROUND_COLOR = '#fcf1ef';
378
378
  export const GL_ALERT_DANGER_BORDER_TOP_COLOR = 'rgba(0, 0, 0, 0)';
379
379
  export const GL_ALERT_DANGER_BORDER_BOTTOM_COLOR = 'rgba(0, 0, 0, 0)';
380
+ export const GL_APPLICATION_CHROME_BACKGROUND_COLOR = '#ececef';
380
381
  export const GL_AVATAR_BORDER_COLOR_DEFAULT = 'rgba(5, 5, 6, 0.08)';
381
382
  export const GL_AVATAR_BORDER_COLOR_HOVER = 'rgba(5, 5, 6, 0.24)';
382
383
  export const GL_AVATAR_CIRCLE_BORDER_RADIUS_DEFAULT = '9999px';
@@ -767,22 +768,23 @@ export const GL_MODAL_BORDER_RADIUS = '1rem';
767
768
  export const GL_NAV_ITEM_BORDER_RADIUS = '0.5rem';
768
769
  export const GL_NAV_ITEM_FONT_SIZE = '0.875rem';
769
770
  export const GL_NAV_ITEM_FONT_WEIGHT = 425;
770
- export const GL_NAV_ITEM_FOREGROUND_COLOR_DEFAULT = '#28272d';
771
- export const GL_NAV_ITEM_FOREGROUND_COLOR_HOVER = '#28272d';
772
- export const GL_NAV_ITEM_FOREGROUND_COLOR_FOCUS = '#28272d';
773
- export const GL_NAV_ITEM_FOREGROUND_COLOR_ACTIVE = '#28272d';
771
+ export const GL_NAV_ITEM_FOREGROUND_COLOR_DEFAULT = '#626168';
772
+ export const GL_NAV_ITEM_FOREGROUND_COLOR_HOVER = '#18171d';
773
+ export const GL_NAV_ITEM_FOREGROUND_COLOR_FOCUS = '#18171d';
774
+ export const GL_NAV_ITEM_FOREGROUND_COLOR_ACTIVE = '#18171d';
774
775
  export const GL_NAV_ITEM_BACKGROUND_COLOR_DEFAULT = 'rgba(0, 0, 0, 0)';
775
- export const GL_NAV_ITEM_BACKGROUND_COLOR_HOVER = 'rgba(5, 5, 6, 0.06)';
776
- export const GL_NAV_ITEM_BACKGROUND_COLOR_FOCUS = 'rgba(5, 5, 6, 0.06)';
777
- export const GL_NAV_ITEM_BACKGROUND_COLOR_ACTIVE = 'rgba(5, 5, 6, 0.16)';
778
- export const GL_NAV_ITEM_SELECTED_FOREGROUND_COLOR_DEFAULT = '#fff';
779
- export const GL_NAV_ITEM_SELECTED_FOREGROUND_COLOR_HOVER = '#fff';
780
- export const GL_NAV_ITEM_SELECTED_FOREGROUND_COLOR_FOCUS = '#fff';
781
- export const GL_NAV_ITEM_SELECTED_FOREGROUND_COLOR_ACTIVE = '#fff';
782
- export const GL_NAV_ITEM_SELECTED_BACKGROUND_COLOR_DEFAULT = '#3a383f';
783
- export const GL_NAV_ITEM_SELECTED_BACKGROUND_COLOR_HOVER = '#18171d';
784
- export const GL_NAV_ITEM_SELECTED_BACKGROUND_COLOR_FOCUS = '#18171d';
785
- export const GL_NAV_ITEM_SELECTED_BACKGROUND_COLOR_ACTIVE = '#050506';
776
+ export const GL_NAV_ITEM_BACKGROUND_COLOR_HOVER = '#dcdcde';
777
+ export const GL_NAV_ITEM_BACKGROUND_COLOR_FOCUS = '#dcdcde';
778
+ export const GL_NAV_ITEM_BACKGROUND_COLOR_ACTIVE = '#bfbfc3';
779
+ export const GL_NAV_ITEM_SELECTED_FONT_WEIGHT = 600;
780
+ export const GL_NAV_ITEM_SELECTED_FOREGROUND_COLOR_DEFAULT = '#18171d';
781
+ export const GL_NAV_ITEM_SELECTED_FOREGROUND_COLOR_HOVER = '#18171d';
782
+ export const GL_NAV_ITEM_SELECTED_FOREGROUND_COLOR_FOCUS = '#18171d';
783
+ export const GL_NAV_ITEM_SELECTED_FOREGROUND_COLOR_ACTIVE = '#18171d';
784
+ export const GL_NAV_ITEM_SELECTED_BACKGROUND_COLOR_DEFAULT = '#dcdcde';
785
+ export const GL_NAV_ITEM_SELECTED_BACKGROUND_COLOR_HOVER = '#dcdcde';
786
+ export const GL_NAV_ITEM_SELECTED_BACKGROUND_COLOR_FOCUS = '#dcdcde';
787
+ export const GL_NAV_ITEM_SELECTED_BACKGROUND_COLOR_ACTIVE = '#bfbfc3';
786
788
  export const GL_PROGRESS_BAR_INDICATOR_COLOR_DEFAULT = '#1f75cb';
787
789
  export const GL_PROGRESS_BAR_INDICATOR_COLOR_SUCCESS = '#108548';
788
790
  export const GL_PROGRESS_BAR_INDICATOR_COLOR_WARNING = '#ab6100';
@@ -8845,6 +8845,43 @@
8845
8845
  }
8846
8846
  }
8847
8847
  },
8848
+ "application-chrome": {
8849
+ "background": {
8850
+ "color": {
8851
+ "key": "{application-chrome.background.color}",
8852
+ "$value": "#050506",
8853
+ "$type": "color",
8854
+ "$description": "Used for the application chrome background, the lowest layer of the interface that sits beneath panels and contains global navigation, user actions, application navigation, and AI navigation.",
8855
+ "$extensions": {
8856
+ "com.figma.scopes": [
8857
+ "FRAME_FILL",
8858
+ "SHAPE_FILL"
8859
+ ]
8860
+ },
8861
+ "filePath": "src/tokens/contextual/application-chrome.tokens.json",
8862
+ "isSource": true,
8863
+ "original": {
8864
+ "$value": "{color.neutral.1000}",
8865
+ "$type": "color",
8866
+ "$description": "Used for the application chrome background, the lowest layer of the interface that sits beneath panels and contains global navigation, user actions, application navigation, and AI navigation.",
8867
+ "$extensions": {
8868
+ "com.figma.scopes": [
8869
+ "FRAME_FILL",
8870
+ "SHAPE_FILL"
8871
+ ]
8872
+ },
8873
+ "key": "{application-chrome.background.color}"
8874
+ },
8875
+ "name": "APPLICATION_CHROME_BACKGROUND_COLOR",
8876
+ "attributes": {},
8877
+ "path": [
8878
+ "application-chrome",
8879
+ "background",
8880
+ "color"
8881
+ ]
8882
+ }
8883
+ }
8884
+ },
8848
8885
  "avatar": {
8849
8886
  "border": {
8850
8887
  "color": {
@@ -22747,7 +22784,7 @@
22747
22784
  "color": {
22748
22785
  "default": {
22749
22786
  "key": "{nav.item.foreground.color.default}",
22750
- "$value": "#ececef",
22787
+ "$value": "#bfbfc3",
22751
22788
  "$type": "color",
22752
22789
  "$description": "Used for the foreground of a default navigation item in the default state.",
22753
22790
  "$extensions": {
@@ -22758,7 +22795,7 @@
22758
22795
  "filePath": "src/tokens/contextual/nav.tokens.json",
22759
22796
  "isSource": true,
22760
22797
  "original": {
22761
- "$value": "{action.neutral.foreground.color.default}",
22798
+ "$value": "{color.neutral.200}",
22762
22799
  "$type": "color",
22763
22800
  "$description": "Used for the foreground of a default navigation item in the default state.",
22764
22801
  "$extensions": {
@@ -22780,7 +22817,7 @@
22780
22817
  },
22781
22818
  "hover": {
22782
22819
  "key": "{nav.item.foreground.color.hover}",
22783
- "$value": "#ececef",
22820
+ "$value": "#fff",
22784
22821
  "$type": "color",
22785
22822
  "$description": "Used for the foreground of a default navigation item in the hover state.",
22786
22823
  "$extensions": {
@@ -22791,7 +22828,7 @@
22791
22828
  "filePath": "src/tokens/contextual/nav.tokens.json",
22792
22829
  "isSource": true,
22793
22830
  "original": {
22794
- "$value": "{action.neutral.foreground.color.hover}",
22831
+ "$value": "{color.neutral.0}",
22795
22832
  "$type": "color",
22796
22833
  "$description": "Used for the foreground of a default navigation item in the hover state.",
22797
22834
  "$extensions": {
@@ -22813,7 +22850,7 @@
22813
22850
  },
22814
22851
  "focus": {
22815
22852
  "key": "{nav.item.foreground.color.focus}",
22816
- "$value": "#ececef",
22853
+ "$value": "#fff",
22817
22854
  "$type": "color",
22818
22855
  "$description": "Used for the foreground of a default navigation item in the focus state.",
22819
22856
  "$extensions": {
@@ -22824,7 +22861,7 @@
22824
22861
  "filePath": "src/tokens/contextual/nav.tokens.json",
22825
22862
  "isSource": true,
22826
22863
  "original": {
22827
- "$value": "{action.neutral.foreground.color.focus}",
22864
+ "$value": "{nav.item.foreground.color.hover}",
22828
22865
  "$type": "color",
22829
22866
  "$description": "Used for the foreground of a default navigation item in the focus state.",
22830
22867
  "$extensions": {
@@ -22846,7 +22883,7 @@
22846
22883
  },
22847
22884
  "active": {
22848
22885
  "key": "{nav.item.foreground.color.active}",
22849
- "$value": "#ececef",
22886
+ "$value": "#fff",
22850
22887
  "$type": "color",
22851
22888
  "$description": "Used for the foreground of a default navigation item in the active state.",
22852
22889
  "$extensions": {
@@ -22857,7 +22894,7 @@
22857
22894
  "filePath": "src/tokens/contextual/nav.tokens.json",
22858
22895
  "isSource": true,
22859
22896
  "original": {
22860
- "$value": "{action.neutral.foreground.color.active}",
22897
+ "$value": "{nav.item.foreground.color.focus}",
22861
22898
  "$type": "color",
22862
22899
  "$description": "Used for the foreground of a default navigation item in the active state.",
22863
22900
  "$extensions": {
@@ -22894,7 +22931,7 @@
22894
22931
  "filePath": "src/tokens/contextual/nav.tokens.json",
22895
22932
  "isSource": true,
22896
22933
  "original": {
22897
- "$value": "{action.neutral.background.color.default}",
22934
+ "$value": "{color.alpha.0}",
22898
22935
  "$type": "color",
22899
22936
  "$description": "Used for the background of a default navigation item in the default state.",
22900
22937
  "$extensions": {
@@ -22916,7 +22953,7 @@
22916
22953
  },
22917
22954
  "hover": {
22918
22955
  "key": "{nav.item.background.color.hover}",
22919
- "$value": "rgba(255, 255, 255, 0.16)",
22956
+ "$value": "#28272d",
22920
22957
  "$type": "color",
22921
22958
  "$description": "Used for the background of a default navigation item in the hover state.",
22922
22959
  "$extensions": {
@@ -22927,7 +22964,7 @@
22927
22964
  "filePath": "src/tokens/contextual/nav.tokens.json",
22928
22965
  "isSource": true,
22929
22966
  "original": {
22930
- "$value": "{action.neutral.background.color.hover}",
22967
+ "$value": "{color.neutral.900}",
22931
22968
  "$type": "color",
22932
22969
  "$description": "Used for the background of a default navigation item in the hover state.",
22933
22970
  "$extensions": {
@@ -22949,7 +22986,7 @@
22949
22986
  },
22950
22987
  "focus": {
22951
22988
  "key": "{nav.item.background.color.focus}",
22952
- "$value": "rgba(255, 255, 255, 0.16)",
22989
+ "$value": "#28272d",
22953
22990
  "$type": "color",
22954
22991
  "$description": "Used for the background of a default navigation item in the focus state.",
22955
22992
  "$extensions": {
@@ -22960,7 +22997,7 @@
22960
22997
  "filePath": "src/tokens/contextual/nav.tokens.json",
22961
22998
  "isSource": true,
22962
22999
  "original": {
22963
- "$value": "{action.neutral.background.color.focus}",
23000
+ "$value": "{nav.item.background.color.hover}",
22964
23001
  "$type": "color",
22965
23002
  "$description": "Used for the background of a default navigation item in the focus state.",
22966
23003
  "$extensions": {
@@ -22982,7 +23019,7 @@
22982
23019
  },
22983
23020
  "active": {
22984
23021
  "key": "{nav.item.background.color.active}",
22985
- "$value": "rgba(255, 255, 255, 0.08)",
23022
+ "$value": "#18171d",
22986
23023
  "$type": "color",
22987
23024
  "$description": "Used for the background of a default navigation item in the active state.",
22988
23025
  "$extensions": {
@@ -22993,7 +23030,7 @@
22993
23030
  "filePath": "src/tokens/contextual/nav.tokens.json",
22994
23031
  "isSource": true,
22995
23032
  "original": {
22996
- "$value": "{action.neutral.background.color.active}",
23033
+ "$value": "{color.neutral.950}",
22997
23034
  "$type": "color",
22998
23035
  "$description": "Used for the background of a default navigation item in the active state.",
22999
23036
  "$extensions": {
@@ -23016,11 +23053,46 @@
23016
23053
  }
23017
23054
  },
23018
23055
  "selected": {
23056
+ "font": {
23057
+ "weight": {
23058
+ "key": "{nav.item.selected.font.weight}",
23059
+ "$value": 600,
23060
+ "$type": "fontWeight",
23061
+ "$description": "Used for the font weight of a selected navigation item.",
23062
+ "$extensions": {
23063
+ "com.figma.scopes": [
23064
+ "FONT_WEIGHT"
23065
+ ]
23066
+ },
23067
+ "filePath": "src/tokens/contextual/nav.tokens.json",
23068
+ "isSource": true,
23069
+ "original": {
23070
+ "$value": "{font.weight.bold}",
23071
+ "$type": "fontWeight",
23072
+ "$description": "Used for the font weight of a selected navigation item.",
23073
+ "$extensions": {
23074
+ "com.figma.scopes": [
23075
+ "FONT_WEIGHT"
23076
+ ]
23077
+ },
23078
+ "key": "{nav.item.selected.font.weight}"
23079
+ },
23080
+ "name": "NAV_ITEM_SELECTED_FONT_WEIGHT",
23081
+ "attributes": {},
23082
+ "path": [
23083
+ "nav",
23084
+ "item",
23085
+ "selected",
23086
+ "font",
23087
+ "weight"
23088
+ ]
23089
+ }
23090
+ },
23019
23091
  "foreground": {
23020
23092
  "color": {
23021
23093
  "default": {
23022
23094
  "key": "{nav.item.selected.foreground.color.default}",
23023
- "$value": "#18171d",
23095
+ "$value": "#fff",
23024
23096
  "$type": "color",
23025
23097
  "$description": "Used for the foreground of a selected navigation item in the default state.",
23026
23098
  "$extensions": {
@@ -23031,7 +23103,7 @@
23031
23103
  "filePath": "src/tokens/contextual/nav.tokens.json",
23032
23104
  "isSource": true,
23033
23105
  "original": {
23034
- "$value": "{action.selected.foreground.color.default}",
23106
+ "$value": "{color.neutral.0}",
23035
23107
  "$type": "color",
23036
23108
  "$description": "Used for the foreground of a selected navigation item in the default state.",
23037
23109
  "$extensions": {
@@ -23054,7 +23126,7 @@
23054
23126
  },
23055
23127
  "hover": {
23056
23128
  "key": "{nav.item.selected.foreground.color.hover}",
23057
- "$value": "#18171d",
23129
+ "$value": "#fff",
23058
23130
  "$type": "color",
23059
23131
  "$description": "Used for the foreground of a selected navigation item in the hover state.",
23060
23132
  "$extensions": {
@@ -23065,7 +23137,7 @@
23065
23137
  "filePath": "src/tokens/contextual/nav.tokens.json",
23066
23138
  "isSource": true,
23067
23139
  "original": {
23068
- "$value": "{action.selected.foreground.color.hover}",
23140
+ "$value": "{nav.item.foreground.color.hover}",
23069
23141
  "$type": "color",
23070
23142
  "$description": "Used for the foreground of a selected navigation item in the hover state.",
23071
23143
  "$extensions": {
@@ -23088,7 +23160,7 @@
23088
23160
  },
23089
23161
  "focus": {
23090
23162
  "key": "{nav.item.selected.foreground.color.focus}",
23091
- "$value": "#18171d",
23163
+ "$value": "#fff",
23092
23164
  "$type": "color",
23093
23165
  "$description": "Used for the foreground of a selected navigation item in the focus state.",
23094
23166
  "$extensions": {
@@ -23099,7 +23171,7 @@
23099
23171
  "filePath": "src/tokens/contextual/nav.tokens.json",
23100
23172
  "isSource": true,
23101
23173
  "original": {
23102
- "$value": "{action.selected.foreground.color.focus}",
23174
+ "$value": "{nav.item.foreground.color.focus}",
23103
23175
  "$type": "color",
23104
23176
  "$description": "Used for the foreground of a selected navigation item in the focus state.",
23105
23177
  "$extensions": {
@@ -23122,7 +23194,7 @@
23122
23194
  },
23123
23195
  "active": {
23124
23196
  "key": "{nav.item.selected.foreground.color.active}",
23125
- "$value": "#18171d",
23197
+ "$value": "#fff",
23126
23198
  "$type": "color",
23127
23199
  "$description": "Used for the foreground of a selected navigation item in the active state.",
23128
23200
  "$extensions": {
@@ -23133,7 +23205,7 @@
23133
23205
  "filePath": "src/tokens/contextual/nav.tokens.json",
23134
23206
  "isSource": true,
23135
23207
  "original": {
23136
- "$value": "{action.selected.foreground.color.active}",
23208
+ "$value": "{nav.item.foreground.color.active}",
23137
23209
  "$type": "color",
23138
23210
  "$description": "Used for the foreground of a selected navigation item in the active state.",
23139
23211
  "$extensions": {
@@ -23160,7 +23232,7 @@
23160
23232
  "color": {
23161
23233
  "default": {
23162
23234
  "key": "{nav.item.selected.background.color.default}",
23163
- "$value": "#ececef",
23235
+ "$value": "#28272d",
23164
23236
  "$type": "color",
23165
23237
  "$description": "Used for the background of a selected navigation item in the default state.",
23166
23238
  "$extensions": {
@@ -23171,7 +23243,7 @@
23171
23243
  "filePath": "src/tokens/contextual/nav.tokens.json",
23172
23244
  "isSource": true,
23173
23245
  "original": {
23174
- "$value": "{action.selected.background.color.default}",
23246
+ "$value": "{color.neutral.900}",
23175
23247
  "$type": "color",
23176
23248
  "$description": "Used for the background of a selected navigation item in the default state.",
23177
23249
  "$extensions": {
@@ -23194,7 +23266,7 @@
23194
23266
  },
23195
23267
  "hover": {
23196
23268
  "key": "{nav.item.selected.background.color.hover}",
23197
- "$value": "#fbfafd",
23269
+ "$value": "#28272d",
23198
23270
  "$type": "color",
23199
23271
  "$description": "Used for the background of a selected navigation item in the hover state.",
23200
23272
  "$extensions": {
@@ -23205,7 +23277,7 @@
23205
23277
  "filePath": "src/tokens/contextual/nav.tokens.json",
23206
23278
  "isSource": true,
23207
23279
  "original": {
23208
- "$value": "{action.selected.background.color.hover}",
23280
+ "$value": "{nav.item.background.color.hover}",
23209
23281
  "$type": "color",
23210
23282
  "$description": "Used for the background of a selected navigation item in the hover state.",
23211
23283
  "$extensions": {
@@ -23228,7 +23300,7 @@
23228
23300
  },
23229
23301
  "focus": {
23230
23302
  "key": "{nav.item.selected.background.color.focus}",
23231
- "$value": "#fbfafd",
23303
+ "$value": "#28272d",
23232
23304
  "$type": "color",
23233
23305
  "$description": "Used for the background of a selected navigation item in the focus state.",
23234
23306
  "$extensions": {
@@ -23239,7 +23311,7 @@
23239
23311
  "filePath": "src/tokens/contextual/nav.tokens.json",
23240
23312
  "isSource": true,
23241
23313
  "original": {
23242
- "$value": "{action.selected.background.color.focus}",
23314
+ "$value": "{nav.item.background.color.focus}",
23243
23315
  "$type": "color",
23244
23316
  "$description": "Used for the background of a selected navigation item in the focus state.",
23245
23317
  "$extensions": {
@@ -23262,7 +23334,7 @@
23262
23334
  },
23263
23335
  "active": {
23264
23336
  "key": "{nav.item.selected.background.color.active}",
23265
- "$value": "#fff",
23337
+ "$value": "#18171d",
23266
23338
  "$type": "color",
23267
23339
  "$description": "Used for the background of a selected navigation item in the active state.",
23268
23340
  "$extensions": {
@@ -23273,7 +23345,7 @@
23273
23345
  "filePath": "src/tokens/contextual/nav.tokens.json",
23274
23346
  "isSource": true,
23275
23347
  "original": {
23276
- "$value": "{action.selected.background.color.active}",
23348
+ "$value": "{nav.item.background.color.active}",
23277
23349
  "$type": "color",
23278
23350
  "$description": "Used for the background of a selected navigation item in the active state.",
23279
23351
  "$extensions": {