@gitlab/ui 136.2.0 → 136.3.1

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.
Files changed (28) hide show
  1. package/dist/components/base/filtered_search/filtered_search_term.js +1 -1
  2. package/dist/components/base/form/form_date/form_date.js +9 -1
  3. package/dist/components/base/sorting/sorting.js +2 -2
  4. package/dist/components/base/toggle/toggle.js +1 -0
  5. package/dist/index.css +2 -2
  6. package/dist/index.css.map +1 -1
  7. package/dist/tokens/build/js/tokens.dark.js +35 -17
  8. package/dist/tokens/build/js/tokens.js +35 -17
  9. package/package.json +1 -1
  10. package/src/components/base/filtered_search/filtered_search_term.vue +0 -1
  11. package/src/components/base/form/form_date/form_date.vue +9 -0
  12. package/src/components/base/sorting/sorting.vue +3 -2
  13. package/src/components/base/toggle/toggle.scss +90 -22
  14. package/src/components/base/toggle/toggle.vue +1 -0
  15. package/src/tokens/build/css/tokens.css +40 -22
  16. package/src/tokens/build/css/tokens.dark.css +40 -22
  17. package/src/tokens/build/figma/mode.dark.json +200 -24
  18. package/src/tokens/build/figma/mode.json +200 -24
  19. package/src/tokens/build/js/tokens.dark.js +34 -16
  20. package/src/tokens/build/js/tokens.js +34 -16
  21. package/src/tokens/build/json/tokens.dark.json +687 -42
  22. package/src/tokens/build/json/tokens.json +687 -42
  23. package/src/tokens/build/scss/_tokens.dark.scss +40 -22
  24. package/src/tokens/build/scss/_tokens.scss +40 -22
  25. package/src/tokens/build/scss/_tokens_custom_properties.scss +18 -0
  26. package/src/tokens/contextual/application-chrome.tokens.json +20 -0
  27. package/src/tokens/contextual/toggle.tokens.json +198 -33
  28. package/src/tokens/semantic/action.tokens.json +14 -0
@@ -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": {
@@ -23848,7 +23885,7 @@
23848
23885
  "unchecked": {
23849
23886
  "default": {
23850
23887
  "key": "{toggle.switch.track.color.unchecked.default}",
23851
- "$value": "#737278",
23888
+ "$value": "rgba(5, 5, 6, 0.4)",
23852
23889
  "$type": "color",
23853
23890
  "$description": "Used for the track color of an unchecked toggle switch in the default state.",
23854
23891
  "$extensions": {
@@ -23860,7 +23897,7 @@
23860
23897
  "filePath": "src/tokens/contextual/toggle.tokens.json",
23861
23898
  "isSource": true,
23862
23899
  "original": {
23863
- "$value": "{control.border.color.default}",
23900
+ "$value": "{control.background.color.default}",
23864
23901
  "$type": "color",
23865
23902
  "$description": "Used for the track color of an unchecked toggle switch in the default state.",
23866
23903
  "$extensions": {
@@ -23884,9 +23921,9 @@
23884
23921
  },
23885
23922
  "hover": {
23886
23923
  "key": "{toggle.switch.track.color.unchecked.hover}",
23887
- "$value": "#737278",
23924
+ "$value": "rgba(5, 5, 6, 0.4)",
23888
23925
  "$type": "color",
23889
- "$description": "Used for the track color of an unchecked toggle switch in the hover state.",
23926
+ "$description": "Used for the track color of an unchecked toggle switch in the hover state. The track is deliberately unchanged from the default state; hover is carried by the track border and the thumb size.",
23890
23927
  "$extensions": {
23891
23928
  "com.figma.scopes": [
23892
23929
  "SHAPE_FILL",
@@ -23898,7 +23935,7 @@
23898
23935
  "original": {
23899
23936
  "$value": "{toggle.switch.track.color.unchecked.default}",
23900
23937
  "$type": "color",
23901
- "$description": "Used for the track color of an unchecked toggle switch in the hover state.",
23938
+ "$description": "Used for the track color of an unchecked toggle switch in the hover state. The track is deliberately unchanged from the default state; hover is carried by the track border and the thumb size.",
23902
23939
  "$extensions": {
23903
23940
  "com.figma.scopes": [
23904
23941
  "SHAPE_FILL",
@@ -23920,9 +23957,9 @@
23920
23957
  },
23921
23958
  "focus": {
23922
23959
  "key": "{toggle.switch.track.color.unchecked.focus}",
23923
- "$value": "#737278",
23960
+ "$value": "rgba(5, 5, 6, 0.4)",
23924
23961
  "$type": "color",
23925
- "$description": "Used for the track color of an unchecked toggle switch in the focus state.",
23962
+ "$description": "Used for the track color of an unchecked toggle switch in the focus state. The track is deliberately unchanged from the default state; focus is carried by the focus ring, the track border and the thumb size.",
23926
23963
  "$extensions": {
23927
23964
  "com.figma.scopes": [
23928
23965
  "SHAPE_FILL",
@@ -23934,7 +23971,7 @@
23934
23971
  "original": {
23935
23972
  "$value": "{toggle.switch.track.color.unchecked.hover}",
23936
23973
  "$type": "color",
23937
- "$description": "Used for the track color of an unchecked toggle switch in the focus state.",
23974
+ "$description": "Used for the track color of an unchecked toggle switch in the focus state. The track is deliberately unchanged from the default state; focus is carried by the focus ring, the track border and the thumb size.",
23938
23975
  "$extensions": {
23939
23976
  "com.figma.scopes": [
23940
23977
  "SHAPE_FILL",
@@ -23956,7 +23993,7 @@
23956
23993
  },
23957
23994
  "active": {
23958
23995
  "key": "{toggle.switch.track.color.unchecked.active}",
23959
- "$value": "#737278",
23996
+ "$value": "rgba(255, 255, 255, 0.08)",
23960
23997
  "$type": "color",
23961
23998
  "$description": "Used for the track color of an unchecked toggle switch in the active state.",
23962
23999
  "$extensions": {
@@ -23968,7 +24005,7 @@
23968
24005
  "filePath": "src/tokens/contextual/toggle.tokens.json",
23969
24006
  "isSource": true,
23970
24007
  "original": {
23971
- "$value": "{toggle.switch.track.color.unchecked.focus}",
24008
+ "$value": "{action.neutral.background.color.active}",
23972
24009
  "$type": "color",
23973
24010
  "$description": "Used for the track color of an unchecked toggle switch in the active state.",
23974
24011
  "$extensions": {
@@ -23989,6 +24026,42 @@
23989
24026
  "unchecked",
23990
24027
  "active"
23991
24028
  ]
24029
+ },
24030
+ "disabled": {
24031
+ "key": "{toggle.switch.track.color.unchecked.disabled}",
24032
+ "$value": "rgba(5, 5, 6, 0.4)",
24033
+ "$type": "color",
24034
+ "$description": "Used for the track color of a disabled unchecked toggle switch.",
24035
+ "$extensions": {
24036
+ "com.figma.scopes": [
24037
+ "SHAPE_FILL",
24038
+ "FRAME_FILL"
24039
+ ]
24040
+ },
24041
+ "filePath": "src/tokens/contextual/toggle.tokens.json",
24042
+ "isSource": true,
24043
+ "original": {
24044
+ "$value": "{control.background.color.default}",
24045
+ "$type": "color",
24046
+ "$description": "Used for the track color of a disabled unchecked toggle switch.",
24047
+ "$extensions": {
24048
+ "com.figma.scopes": [
24049
+ "SHAPE_FILL",
24050
+ "FRAME_FILL"
24051
+ ]
24052
+ },
24053
+ "key": "{toggle.switch.track.color.unchecked.disabled}"
24054
+ },
24055
+ "name": "TOGGLE_SWITCH_TRACK_COLOR_UNCHECKED_DISABLED",
24056
+ "attributes": {},
24057
+ "path": [
24058
+ "toggle",
24059
+ "switch",
24060
+ "track",
24061
+ "color",
24062
+ "unchecked",
24063
+ "disabled"
24064
+ ]
23992
24065
  }
23993
24066
  },
23994
24067
  "checked": {
@@ -24006,7 +24079,7 @@
24006
24079
  "filePath": "src/tokens/contextual/toggle.tokens.json",
24007
24080
  "isSource": true,
24008
24081
  "original": {
24009
- "$value": "{color.neutral.50}",
24082
+ "$value": "{action.selected.background.color.default}",
24010
24083
  "$type": "color",
24011
24084
  "$description": "Used for the track color of a checked toggle switch in the default state.",
24012
24085
  "$extensions": {
@@ -24042,7 +24115,7 @@
24042
24115
  "filePath": "src/tokens/contextual/toggle.tokens.json",
24043
24116
  "isSource": true,
24044
24117
  "original": {
24045
- "$value": "{color.neutral.10}",
24118
+ "$value": "{action.selected.background.color.hover}",
24046
24119
  "$type": "color",
24047
24120
  "$description": "Used for the track color of a checked toggle switch in the hover state.",
24048
24121
  "$extensions": {
@@ -24078,7 +24151,7 @@
24078
24151
  "filePath": "src/tokens/contextual/toggle.tokens.json",
24079
24152
  "isSource": true,
24080
24153
  "original": {
24081
- "$value": "{toggle.switch.track.color.checked.hover}",
24154
+ "$value": "{action.selected.background.color.focus}",
24082
24155
  "$type": "color",
24083
24156
  "$description": "Used for the track color of a checked toggle switch in the focus state.",
24084
24157
  "$extensions": {
@@ -24114,7 +24187,7 @@
24114
24187
  "filePath": "src/tokens/contextual/toggle.tokens.json",
24115
24188
  "isSource": true,
24116
24189
  "original": {
24117
- "$value": "{color.neutral.0}",
24190
+ "$value": "{action.selected.background.color.active}",
24118
24191
  "$type": "color",
24119
24192
  "$description": "Used for the track color of a checked toggle switch in the active state.",
24120
24193
  "$extensions": {
@@ -24135,6 +24208,469 @@
24135
24208
  "checked",
24136
24209
  "active"
24137
24210
  ]
24211
+ },
24212
+ "disabled": {
24213
+ "key": "{toggle.switch.track.color.checked.disabled}",
24214
+ "$value": "#737278",
24215
+ "$type": "color",
24216
+ "$description": "Used for the track color of a disabled checked toggle switch, which stays filled so the checked state remains legible.",
24217
+ "$extensions": {
24218
+ "com.figma.scopes": [
24219
+ "SHAPE_FILL",
24220
+ "FRAME_FILL"
24221
+ ]
24222
+ },
24223
+ "filePath": "src/tokens/contextual/toggle.tokens.json",
24224
+ "isSource": true,
24225
+ "original": {
24226
+ "$value": "{action.selected.background.color.disabled}",
24227
+ "$type": "color",
24228
+ "$description": "Used for the track color of a disabled checked toggle switch, which stays filled so the checked state remains legible.",
24229
+ "$extensions": {
24230
+ "com.figma.scopes": [
24231
+ "SHAPE_FILL",
24232
+ "FRAME_FILL"
24233
+ ]
24234
+ },
24235
+ "key": "{toggle.switch.track.color.checked.disabled}"
24236
+ },
24237
+ "name": "TOGGLE_SWITCH_TRACK_COLOR_CHECKED_DISABLED",
24238
+ "attributes": {},
24239
+ "path": [
24240
+ "toggle",
24241
+ "switch",
24242
+ "track",
24243
+ "color",
24244
+ "checked",
24245
+ "disabled"
24246
+ ]
24247
+ }
24248
+ },
24249
+ "loading": {
24250
+ "key": "{toggle.switch.track.color.loading}",
24251
+ "$value": "#28272d",
24252
+ "$type": "color",
24253
+ "$description": "Used for the track color of a loading toggle switch. A loading toggle renders no thumb and its value is still in flight, so the track carries no checked state.",
24254
+ "$extensions": {
24255
+ "com.figma.scopes": [
24256
+ "SHAPE_FILL",
24257
+ "FRAME_FILL"
24258
+ ]
24259
+ },
24260
+ "filePath": "src/tokens/contextual/toggle.tokens.json",
24261
+ "isSource": true,
24262
+ "original": {
24263
+ "$value": "{action.disabled.background.color}",
24264
+ "$type": "color",
24265
+ "$description": "Used for the track color of a loading toggle switch. A loading toggle renders no thumb and its value is still in flight, so the track carries no checked state.",
24266
+ "$extensions": {
24267
+ "com.figma.scopes": [
24268
+ "SHAPE_FILL",
24269
+ "FRAME_FILL"
24270
+ ]
24271
+ },
24272
+ "key": "{toggle.switch.track.color.loading}"
24273
+ },
24274
+ "name": "TOGGLE_SWITCH_TRACK_COLOR_LOADING",
24275
+ "attributes": {},
24276
+ "path": [
24277
+ "toggle",
24278
+ "switch",
24279
+ "track",
24280
+ "color",
24281
+ "loading"
24282
+ ]
24283
+ }
24284
+ },
24285
+ "border": {
24286
+ "color": {
24287
+ "unchecked": {
24288
+ "default": {
24289
+ "key": "{toggle.switch.track.border.color.unchecked.default}",
24290
+ "$value": "#737278",
24291
+ "$type": "color",
24292
+ "$description": "Used for the track border color of an unchecked toggle switch in the default state.",
24293
+ "$extensions": {
24294
+ "com.figma.scopes": [
24295
+ "STROKE_COLOR"
24296
+ ]
24297
+ },
24298
+ "filePath": "src/tokens/contextual/toggle.tokens.json",
24299
+ "isSource": true,
24300
+ "original": {
24301
+ "$value": "{control.border.color.default}",
24302
+ "$type": "color",
24303
+ "$description": "Used for the track border color of an unchecked toggle switch in the default state.",
24304
+ "$extensions": {
24305
+ "com.figma.scopes": [
24306
+ "STROKE_COLOR"
24307
+ ]
24308
+ },
24309
+ "key": "{toggle.switch.track.border.color.unchecked.default}"
24310
+ },
24311
+ "name": "TOGGLE_SWITCH_TRACK_BORDER_COLOR_UNCHECKED_DEFAULT",
24312
+ "attributes": {},
24313
+ "path": [
24314
+ "toggle",
24315
+ "switch",
24316
+ "track",
24317
+ "border",
24318
+ "color",
24319
+ "unchecked",
24320
+ "default"
24321
+ ]
24322
+ },
24323
+ "hover": {
24324
+ "key": "{toggle.switch.track.border.color.unchecked.hover}",
24325
+ "$value": "#a4a3a8",
24326
+ "$type": "color",
24327
+ "$description": "Used for the track border color of an unchecked toggle switch in the hover state.",
24328
+ "$extensions": {
24329
+ "com.figma.scopes": [
24330
+ "STROKE_COLOR"
24331
+ ]
24332
+ },
24333
+ "filePath": "src/tokens/contextual/toggle.tokens.json",
24334
+ "isSource": true,
24335
+ "original": {
24336
+ "$value": "{control.border.color.hover}",
24337
+ "$type": "color",
24338
+ "$description": "Used for the track border color of an unchecked toggle switch in the hover state.",
24339
+ "$extensions": {
24340
+ "com.figma.scopes": [
24341
+ "STROKE_COLOR"
24342
+ ]
24343
+ },
24344
+ "key": "{toggle.switch.track.border.color.unchecked.hover}"
24345
+ },
24346
+ "name": "TOGGLE_SWITCH_TRACK_BORDER_COLOR_UNCHECKED_HOVER",
24347
+ "attributes": {},
24348
+ "path": [
24349
+ "toggle",
24350
+ "switch",
24351
+ "track",
24352
+ "border",
24353
+ "color",
24354
+ "unchecked",
24355
+ "hover"
24356
+ ]
24357
+ },
24358
+ "focus": {
24359
+ "key": "{toggle.switch.track.border.color.unchecked.focus}",
24360
+ "$value": "#a4a3a8",
24361
+ "$type": "color",
24362
+ "$description": "Used for the track border color of an unchecked toggle switch in the focus state.",
24363
+ "$extensions": {
24364
+ "com.figma.scopes": [
24365
+ "STROKE_COLOR"
24366
+ ]
24367
+ },
24368
+ "filePath": "src/tokens/contextual/toggle.tokens.json",
24369
+ "isSource": true,
24370
+ "original": {
24371
+ "$value": "{toggle.switch.track.border.color.unchecked.hover}",
24372
+ "$type": "color",
24373
+ "$description": "Used for the track border color of an unchecked toggle switch in the focus state.",
24374
+ "$extensions": {
24375
+ "com.figma.scopes": [
24376
+ "STROKE_COLOR"
24377
+ ]
24378
+ },
24379
+ "key": "{toggle.switch.track.border.color.unchecked.focus}"
24380
+ },
24381
+ "name": "TOGGLE_SWITCH_TRACK_BORDER_COLOR_UNCHECKED_FOCUS",
24382
+ "attributes": {},
24383
+ "path": [
24384
+ "toggle",
24385
+ "switch",
24386
+ "track",
24387
+ "border",
24388
+ "color",
24389
+ "unchecked",
24390
+ "focus"
24391
+ ]
24392
+ },
24393
+ "active": {
24394
+ "key": "{toggle.switch.track.border.color.unchecked.active}",
24395
+ "$value": "#a4a3a8",
24396
+ "$type": "color",
24397
+ "$description": "Used for the track border color of an unchecked toggle switch in the active state.",
24398
+ "$extensions": {
24399
+ "com.figma.scopes": [
24400
+ "STROKE_COLOR"
24401
+ ]
24402
+ },
24403
+ "filePath": "src/tokens/contextual/toggle.tokens.json",
24404
+ "isSource": true,
24405
+ "original": {
24406
+ "$value": "{toggle.switch.track.border.color.unchecked.focus}",
24407
+ "$type": "color",
24408
+ "$description": "Used for the track border color of an unchecked toggle switch in the active state.",
24409
+ "$extensions": {
24410
+ "com.figma.scopes": [
24411
+ "STROKE_COLOR"
24412
+ ]
24413
+ },
24414
+ "key": "{toggle.switch.track.border.color.unchecked.active}"
24415
+ },
24416
+ "name": "TOGGLE_SWITCH_TRACK_BORDER_COLOR_UNCHECKED_ACTIVE",
24417
+ "attributes": {},
24418
+ "path": [
24419
+ "toggle",
24420
+ "switch",
24421
+ "track",
24422
+ "border",
24423
+ "color",
24424
+ "unchecked",
24425
+ "active"
24426
+ ]
24427
+ },
24428
+ "disabled": {
24429
+ "key": "{toggle.switch.track.border.color.unchecked.disabled}",
24430
+ "$value": "#3a383f",
24431
+ "$type": "color",
24432
+ "$description": "Used for the track border color of a disabled unchecked toggle switch.",
24433
+ "$extensions": {
24434
+ "com.figma.scopes": [
24435
+ "STROKE_COLOR"
24436
+ ]
24437
+ },
24438
+ "filePath": "src/tokens/contextual/toggle.tokens.json",
24439
+ "isSource": true,
24440
+ "original": {
24441
+ "$value": "{action.disabled.border.color}",
24442
+ "$type": "color",
24443
+ "$description": "Used for the track border color of a disabled unchecked toggle switch.",
24444
+ "$extensions": {
24445
+ "com.figma.scopes": [
24446
+ "STROKE_COLOR"
24447
+ ]
24448
+ },
24449
+ "key": "{toggle.switch.track.border.color.unchecked.disabled}"
24450
+ },
24451
+ "name": "TOGGLE_SWITCH_TRACK_BORDER_COLOR_UNCHECKED_DISABLED",
24452
+ "attributes": {},
24453
+ "path": [
24454
+ "toggle",
24455
+ "switch",
24456
+ "track",
24457
+ "border",
24458
+ "color",
24459
+ "unchecked",
24460
+ "disabled"
24461
+ ]
24462
+ }
24463
+ },
24464
+ "checked": {
24465
+ "default": {
24466
+ "key": "{toggle.switch.track.border.color.checked.default}",
24467
+ "$value": "#ececef",
24468
+ "$type": "color",
24469
+ "$description": "Used for the track border color of a checked toggle switch in the default state.",
24470
+ "$extensions": {
24471
+ "com.figma.scopes": [
24472
+ "STROKE_COLOR"
24473
+ ]
24474
+ },
24475
+ "filePath": "src/tokens/contextual/toggle.tokens.json",
24476
+ "isSource": true,
24477
+ "original": {
24478
+ "$value": "{action.selected.border.color.default}",
24479
+ "$type": "color",
24480
+ "$description": "Used for the track border color of a checked toggle switch in the default state.",
24481
+ "$extensions": {
24482
+ "com.figma.scopes": [
24483
+ "STROKE_COLOR"
24484
+ ]
24485
+ },
24486
+ "key": "{toggle.switch.track.border.color.checked.default}"
24487
+ },
24488
+ "name": "TOGGLE_SWITCH_TRACK_BORDER_COLOR_CHECKED_DEFAULT",
24489
+ "attributes": {},
24490
+ "path": [
24491
+ "toggle",
24492
+ "switch",
24493
+ "track",
24494
+ "border",
24495
+ "color",
24496
+ "checked",
24497
+ "default"
24498
+ ]
24499
+ },
24500
+ "hover": {
24501
+ "key": "{toggle.switch.track.border.color.checked.hover}",
24502
+ "$value": "#fbfafd",
24503
+ "$type": "color",
24504
+ "$description": "Used for the track border color of a checked toggle switch in the hover state.",
24505
+ "$extensions": {
24506
+ "com.figma.scopes": [
24507
+ "STROKE_COLOR"
24508
+ ]
24509
+ },
24510
+ "filePath": "src/tokens/contextual/toggle.tokens.json",
24511
+ "isSource": true,
24512
+ "original": {
24513
+ "$value": "{action.selected.border.color.hover}",
24514
+ "$type": "color",
24515
+ "$description": "Used for the track border color of a checked toggle switch in the hover state.",
24516
+ "$extensions": {
24517
+ "com.figma.scopes": [
24518
+ "STROKE_COLOR"
24519
+ ]
24520
+ },
24521
+ "key": "{toggle.switch.track.border.color.checked.hover}"
24522
+ },
24523
+ "name": "TOGGLE_SWITCH_TRACK_BORDER_COLOR_CHECKED_HOVER",
24524
+ "attributes": {},
24525
+ "path": [
24526
+ "toggle",
24527
+ "switch",
24528
+ "track",
24529
+ "border",
24530
+ "color",
24531
+ "checked",
24532
+ "hover"
24533
+ ]
24534
+ },
24535
+ "focus": {
24536
+ "key": "{toggle.switch.track.border.color.checked.focus}",
24537
+ "$value": "#fbfafd",
24538
+ "$type": "color",
24539
+ "$description": "Used for the track border color of a checked toggle switch in the focus state.",
24540
+ "$extensions": {
24541
+ "com.figma.scopes": [
24542
+ "STROKE_COLOR"
24543
+ ]
24544
+ },
24545
+ "filePath": "src/tokens/contextual/toggle.tokens.json",
24546
+ "isSource": true,
24547
+ "original": {
24548
+ "$value": "{action.selected.border.color.focus}",
24549
+ "$type": "color",
24550
+ "$description": "Used for the track border color of a checked toggle switch in the focus state.",
24551
+ "$extensions": {
24552
+ "com.figma.scopes": [
24553
+ "STROKE_COLOR"
24554
+ ]
24555
+ },
24556
+ "key": "{toggle.switch.track.border.color.checked.focus}"
24557
+ },
24558
+ "name": "TOGGLE_SWITCH_TRACK_BORDER_COLOR_CHECKED_FOCUS",
24559
+ "attributes": {},
24560
+ "path": [
24561
+ "toggle",
24562
+ "switch",
24563
+ "track",
24564
+ "border",
24565
+ "color",
24566
+ "checked",
24567
+ "focus"
24568
+ ]
24569
+ },
24570
+ "active": {
24571
+ "key": "{toggle.switch.track.border.color.checked.active}",
24572
+ "$value": "#fff",
24573
+ "$type": "color",
24574
+ "$description": "Used for the track border color of a checked toggle switch in the active state.",
24575
+ "$extensions": {
24576
+ "com.figma.scopes": [
24577
+ "STROKE_COLOR"
24578
+ ]
24579
+ },
24580
+ "filePath": "src/tokens/contextual/toggle.tokens.json",
24581
+ "isSource": true,
24582
+ "original": {
24583
+ "$value": "{action.selected.border.color.active}",
24584
+ "$type": "color",
24585
+ "$description": "Used for the track border color of a checked toggle switch in the active state.",
24586
+ "$extensions": {
24587
+ "com.figma.scopes": [
24588
+ "STROKE_COLOR"
24589
+ ]
24590
+ },
24591
+ "key": "{toggle.switch.track.border.color.checked.active}"
24592
+ },
24593
+ "name": "TOGGLE_SWITCH_TRACK_BORDER_COLOR_CHECKED_ACTIVE",
24594
+ "attributes": {},
24595
+ "path": [
24596
+ "toggle",
24597
+ "switch",
24598
+ "track",
24599
+ "border",
24600
+ "color",
24601
+ "checked",
24602
+ "active"
24603
+ ]
24604
+ },
24605
+ "disabled": {
24606
+ "key": "{toggle.switch.track.border.color.checked.disabled}",
24607
+ "$value": "#737278",
24608
+ "$type": "color",
24609
+ "$description": "Used for the track border color of a disabled checked toggle switch, which matches the track color.",
24610
+ "$extensions": {
24611
+ "com.figma.scopes": [
24612
+ "STROKE_COLOR"
24613
+ ]
24614
+ },
24615
+ "filePath": "src/tokens/contextual/toggle.tokens.json",
24616
+ "isSource": true,
24617
+ "original": {
24618
+ "$value": "{toggle.switch.track.color.checked.disabled}",
24619
+ "$type": "color",
24620
+ "$description": "Used for the track border color of a disabled checked toggle switch, which matches the track color.",
24621
+ "$extensions": {
24622
+ "com.figma.scopes": [
24623
+ "STROKE_COLOR"
24624
+ ]
24625
+ },
24626
+ "key": "{toggle.switch.track.border.color.checked.disabled}"
24627
+ },
24628
+ "name": "TOGGLE_SWITCH_TRACK_BORDER_COLOR_CHECKED_DISABLED",
24629
+ "attributes": {},
24630
+ "path": [
24631
+ "toggle",
24632
+ "switch",
24633
+ "track",
24634
+ "border",
24635
+ "color",
24636
+ "checked",
24637
+ "disabled"
24638
+ ]
24639
+ }
24640
+ },
24641
+ "loading": {
24642
+ "key": "{toggle.switch.track.border.color.loading}",
24643
+ "$value": "#28272d",
24644
+ "$type": "color",
24645
+ "$description": "Used for the track border color of a loading toggle switch, which matches the track color so the track reads as a single flat fill.",
24646
+ "$extensions": {
24647
+ "com.figma.scopes": [
24648
+ "STROKE_COLOR"
24649
+ ]
24650
+ },
24651
+ "filePath": "src/tokens/contextual/toggle.tokens.json",
24652
+ "isSource": true,
24653
+ "original": {
24654
+ "$value": "{toggle.switch.track.color.loading}",
24655
+ "$type": "color",
24656
+ "$description": "Used for the track border color of a loading toggle switch, which matches the track color so the track reads as a single flat fill.",
24657
+ "$extensions": {
24658
+ "com.figma.scopes": [
24659
+ "STROKE_COLOR"
24660
+ ]
24661
+ },
24662
+ "key": "{toggle.switch.track.border.color.loading}"
24663
+ },
24664
+ "name": "TOGGLE_SWITCH_TRACK_BORDER_COLOR_LOADING",
24665
+ "attributes": {},
24666
+ "path": [
24667
+ "toggle",
24668
+ "switch",
24669
+ "track",
24670
+ "border",
24671
+ "color",
24672
+ "loading"
24673
+ ]
24138
24674
  }
24139
24675
  }
24140
24676
  }
@@ -24144,7 +24680,7 @@
24144
24680
  "unchecked": {
24145
24681
  "default": {
24146
24682
  "key": "{toggle.switch.background.color.unchecked.default}",
24147
- "$value": "#18171d",
24683
+ "$value": "#ececef",
24148
24684
  "$type": "color",
24149
24685
  "$description": "Used for the background color of the unchecked toggle switch thumb in the default state.",
24150
24686
  "$extensions": {
@@ -24156,7 +24692,7 @@
24156
24692
  "filePath": "src/tokens/contextual/toggle.tokens.json",
24157
24693
  "isSource": true,
24158
24694
  "original": {
24159
- "$value": "{control.indicator.color.selected}",
24695
+ "$value": "{action.selected.background.color.default}",
24160
24696
  "$type": "color",
24161
24697
  "$description": "Used for the background color of the unchecked toggle switch thumb in the default state.",
24162
24698
  "$extensions": {
@@ -24180,7 +24716,7 @@
24180
24716
  },
24181
24717
  "hover": {
24182
24718
  "key": "{toggle.switch.background.color.unchecked.hover}",
24183
- "$value": "#18171d",
24719
+ "$value": "#ececef",
24184
24720
  "$type": "color",
24185
24721
  "$description": "Used for the background color of the unchecked toggle switch thumb in the hover state.",
24186
24722
  "$extensions": {
@@ -24216,7 +24752,7 @@
24216
24752
  },
24217
24753
  "focus": {
24218
24754
  "key": "{toggle.switch.background.color.unchecked.focus}",
24219
- "$value": "#18171d",
24755
+ "$value": "#ececef",
24220
24756
  "$type": "color",
24221
24757
  "$description": "Used for the background color of the unchecked toggle switch thumb in the focus state.",
24222
24758
  "$extensions": {
@@ -24252,7 +24788,7 @@
24252
24788
  },
24253
24789
  "active": {
24254
24790
  "key": "{toggle.switch.background.color.unchecked.active}",
24255
- "$value": "#18171d",
24791
+ "$value": "#ececef",
24256
24792
  "$type": "color",
24257
24793
  "$description": "Used for the background color of the unchecked toggle switch thumb in the active state.",
24258
24794
  "$extensions": {
@@ -24285,6 +24821,42 @@
24285
24821
  "unchecked",
24286
24822
  "active"
24287
24823
  ]
24824
+ },
24825
+ "disabled": {
24826
+ "key": "{toggle.switch.background.color.unchecked.disabled}",
24827
+ "$value": "#737278",
24828
+ "$type": "color",
24829
+ "$description": "Used for the background color of the disabled unchecked toggle switch thumb.",
24830
+ "$extensions": {
24831
+ "com.figma.scopes": [
24832
+ "SHAPE_FILL",
24833
+ "FRAME_FILL"
24834
+ ]
24835
+ },
24836
+ "filePath": "src/tokens/contextual/toggle.tokens.json",
24837
+ "isSource": true,
24838
+ "original": {
24839
+ "$value": "{action.disabled.foreground.color}",
24840
+ "$type": "color",
24841
+ "$description": "Used for the background color of the disabled unchecked toggle switch thumb.",
24842
+ "$extensions": {
24843
+ "com.figma.scopes": [
24844
+ "SHAPE_FILL",
24845
+ "FRAME_FILL"
24846
+ ]
24847
+ },
24848
+ "key": "{toggle.switch.background.color.unchecked.disabled}"
24849
+ },
24850
+ "name": "TOGGLE_SWITCH_BACKGROUND_COLOR_UNCHECKED_DISABLED",
24851
+ "attributes": {},
24852
+ "path": [
24853
+ "toggle",
24854
+ "switch",
24855
+ "background",
24856
+ "color",
24857
+ "unchecked",
24858
+ "disabled"
24859
+ ]
24288
24860
  }
24289
24861
  },
24290
24862
  "checked": {
@@ -24302,7 +24874,7 @@
24302
24874
  "filePath": "src/tokens/contextual/toggle.tokens.json",
24303
24875
  "isSource": true,
24304
24876
  "original": {
24305
- "$value": "{action.strong.confirm.foreground.color.default}",
24877
+ "$value": "{action.selected.foreground.color.default}",
24306
24878
  "$type": "color",
24307
24879
  "$description": "Used for the background color of the checked toggle switch thumb in the default state.",
24308
24880
  "$extensions": {
@@ -24338,7 +24910,7 @@
24338
24910
  "filePath": "src/tokens/contextual/toggle.tokens.json",
24339
24911
  "isSource": true,
24340
24912
  "original": {
24341
- "$value": "{action.strong.confirm.foreground.color.hover}",
24913
+ "$value": "{action.selected.foreground.color.hover}",
24342
24914
  "$type": "color",
24343
24915
  "$description": "Used for the background color of the checked toggle switch thumb in the hover state.",
24344
24916
  "$extensions": {
@@ -24374,7 +24946,7 @@
24374
24946
  "filePath": "src/tokens/contextual/toggle.tokens.json",
24375
24947
  "isSource": true,
24376
24948
  "original": {
24377
- "$value": "{action.strong.confirm.foreground.color.focus}",
24949
+ "$value": "{action.selected.foreground.color.focus}",
24378
24950
  "$type": "color",
24379
24951
  "$description": "Used for the background color of the checked toggle switch thumb in the focus state.",
24380
24952
  "$extensions": {
@@ -24410,7 +24982,7 @@
24410
24982
  "filePath": "src/tokens/contextual/toggle.tokens.json",
24411
24983
  "isSource": true,
24412
24984
  "original": {
24413
- "$value": "{action.strong.confirm.foreground.color.active}",
24985
+ "$value": "{action.selected.foreground.color.active}",
24414
24986
  "$type": "color",
24415
24987
  "$description": "Used for the background color of the checked toggle switch thumb in the active state.",
24416
24988
  "$extensions": {
@@ -24431,31 +25003,69 @@
24431
25003
  "checked",
24432
25004
  "active"
24433
25005
  ]
25006
+ },
25007
+ "disabled": {
25008
+ "key": "{toggle.switch.background.color.checked.disabled}",
25009
+ "$value": "#18171d",
25010
+ "$type": "color",
25011
+ "$description": "Used for the background color of the disabled checked toggle switch thumb.",
25012
+ "$extensions": {
25013
+ "com.figma.scopes": [
25014
+ "SHAPE_FILL",
25015
+ "FRAME_FILL"
25016
+ ]
25017
+ },
25018
+ "filePath": "src/tokens/contextual/toggle.tokens.json",
25019
+ "isSource": true,
25020
+ "original": {
25021
+ "$value": "{action.selected.foreground.color.default}",
25022
+ "$type": "color",
25023
+ "$description": "Used for the background color of the disabled checked toggle switch thumb.",
25024
+ "$extensions": {
25025
+ "com.figma.scopes": [
25026
+ "SHAPE_FILL",
25027
+ "FRAME_FILL"
25028
+ ]
25029
+ },
25030
+ "key": "{toggle.switch.background.color.checked.disabled}"
25031
+ },
25032
+ "name": "TOGGLE_SWITCH_BACKGROUND_COLOR_CHECKED_DISABLED",
25033
+ "attributes": {},
25034
+ "path": [
25035
+ "toggle",
25036
+ "switch",
25037
+ "background",
25038
+ "color",
25039
+ "checked",
25040
+ "disabled"
25041
+ ]
24434
25042
  }
24435
25043
  },
24436
25044
  "disabled": {
24437
25045
  "key": "{toggle.switch.background.color.disabled}",
24438
25046
  "$value": "#737278",
24439
25047
  "$type": "color",
24440
- "$description": "Used for the background color of the toggle switch thumb in the disabled state.",
25048
+ "$description": "Use toggle.switch.background.color.unchecked.disabled instead.",
24441
25049
  "$extensions": {
24442
25050
  "com.figma.scopes": [
24443
25051
  "SHAPE_FILL",
24444
25052
  "FRAME_FILL"
24445
25053
  ]
24446
25054
  },
25055
+ "$deprecated": true,
24447
25056
  "filePath": "src/tokens/contextual/toggle.tokens.json",
24448
25057
  "isSource": true,
24449
25058
  "original": {
24450
- "$value": "{action.disabled.foreground.color}",
25059
+ "$value": "{toggle.switch.background.color.unchecked.disabled}",
24451
25060
  "$type": "color",
24452
- "$description": "Used for the background color of the toggle switch thumb in the disabled state.",
25061
+ "$description": "Use toggle.switch.background.color.unchecked.disabled instead.",
24453
25062
  "$extensions": {
24454
25063
  "com.figma.scopes": [
24455
25064
  "SHAPE_FILL",
24456
25065
  "FRAME_FILL"
24457
25066
  ]
24458
25067
  },
25068
+ "$deprecated": true,
24459
25069
  "key": "{toggle.switch.background.color.disabled}"
24460
25070
  },
24461
25071
  "name": "TOGGLE_SWITCH_BACKGROUND_COLOR_DISABLED",
@@ -24475,7 +25085,7 @@
24475
25085
  "unchecked": {
24476
25086
  "default": {
24477
25087
  "key": "{toggle.switch.icon.color.unchecked.default}",
24478
- "$value": "#4c4b51",
25088
+ "$value": "#18171d",
24479
25089
  "$type": "color",
24480
25090
  "$description": "Used for the icon color of an unchecked toggle switch in the default state.",
24481
25091
  "$extensions": {
@@ -24486,7 +25096,7 @@
24486
25096
  "filePath": "src/tokens/contextual/toggle.tokens.json",
24487
25097
  "isSource": true,
24488
25098
  "original": {
24489
- "$value": "{action.strong.neutral.background.color.default}",
25099
+ "$value": "{action.selected.foreground.color.default}",
24490
25100
  "$type": "color",
24491
25101
  "$description": "Used for the icon color of an unchecked toggle switch in the default state.",
24492
25102
  "$extensions": {
@@ -24509,7 +25119,7 @@
24509
25119
  },
24510
25120
  "hover": {
24511
25121
  "key": "{toggle.switch.icon.color.unchecked.hover}",
24512
- "$value": "#626168",
25122
+ "$value": "#18171d",
24513
25123
  "$type": "color",
24514
25124
  "$description": "Used for the icon color of an unchecked toggle switch in the hover state.",
24515
25125
  "$extensions": {
@@ -24520,7 +25130,7 @@
24520
25130
  "filePath": "src/tokens/contextual/toggle.tokens.json",
24521
25131
  "isSource": true,
24522
25132
  "original": {
24523
- "$value": "{action.strong.neutral.background.color.hover}",
25133
+ "$value": "{action.selected.foreground.color.hover}",
24524
25134
  "$type": "color",
24525
25135
  "$description": "Used for the icon color of an unchecked toggle switch in the hover state.",
24526
25136
  "$extensions": {
@@ -24543,7 +25153,7 @@
24543
25153
  },
24544
25154
  "focus": {
24545
25155
  "key": "{toggle.switch.icon.color.unchecked.focus}",
24546
- "$value": "#626168",
25156
+ "$value": "#18171d",
24547
25157
  "$type": "color",
24548
25158
  "$description": "Used for the icon color of an unchecked toggle switch in the focus state.",
24549
25159
  "$extensions": {
@@ -24554,7 +25164,7 @@
24554
25164
  "filePath": "src/tokens/contextual/toggle.tokens.json",
24555
25165
  "isSource": true,
24556
25166
  "original": {
24557
- "$value": "{action.strong.neutral.background.color.focus}",
25167
+ "$value": "{action.selected.foreground.color.focus}",
24558
25168
  "$type": "color",
24559
25169
  "$description": "Used for the icon color of an unchecked toggle switch in the focus state.",
24560
25170
  "$extensions": {
@@ -24577,7 +25187,7 @@
24577
25187
  },
24578
25188
  "active": {
24579
25189
  "key": "{toggle.switch.icon.color.unchecked.active}",
24580
- "$value": "#737278",
25190
+ "$value": "#18171d",
24581
25191
  "$type": "color",
24582
25192
  "$description": "Used for the icon color of an unchecked toggle switch in the active state.",
24583
25193
  "$extensions": {
@@ -24588,7 +25198,7 @@
24588
25198
  "filePath": "src/tokens/contextual/toggle.tokens.json",
24589
25199
  "isSource": true,
24590
25200
  "original": {
24591
- "$value": "{action.strong.neutral.background.color.active}",
25201
+ "$value": "{action.selected.foreground.color.active}",
24592
25202
  "$type": "color",
24593
25203
  "$description": "Used for the icon color of an unchecked toggle switch in the active state.",
24594
25204
  "$extensions": {
@@ -24613,7 +25223,7 @@
24613
25223
  "checked": {
24614
25224
  "default": {
24615
25225
  "key": "{toggle.switch.icon.color.checked.default}",
24616
- "$value": "#63a6e9",
25226
+ "$value": "#ececef",
24617
25227
  "$type": "color",
24618
25228
  "$description": "Used for the icon color of a checked toggle switch in the default state.",
24619
25229
  "$extensions": {
@@ -24624,7 +25234,7 @@
24624
25234
  "filePath": "src/tokens/contextual/toggle.tokens.json",
24625
25235
  "isSource": true,
24626
25236
  "original": {
24627
- "$value": "{action.strong.confirm.background.color.default}",
25237
+ "$value": "{action.selected.background.color.default}",
24628
25238
  "$type": "color",
24629
25239
  "$description": "Used for the icon color of a checked toggle switch in the default state.",
24630
25240
  "$extensions": {
@@ -24647,7 +25257,7 @@
24647
25257
  },
24648
25258
  "hover": {
24649
25259
  "key": "{toggle.switch.icon.color.checked.hover}",
24650
- "$value": "#9dc7f1",
25260
+ "$value": "#fbfafd",
24651
25261
  "$type": "color",
24652
25262
  "$description": "Used for the icon color of a checked toggle switch in the hover state.",
24653
25263
  "$extensions": {
@@ -24658,7 +25268,7 @@
24658
25268
  "filePath": "src/tokens/contextual/toggle.tokens.json",
24659
25269
  "isSource": true,
24660
25270
  "original": {
24661
- "$value": "{action.strong.confirm.background.color.hover}",
25271
+ "$value": "{action.selected.background.color.hover}",
24662
25272
  "$type": "color",
24663
25273
  "$description": "Used for the icon color of a checked toggle switch in the hover state.",
24664
25274
  "$extensions": {
@@ -24681,7 +25291,7 @@
24681
25291
  },
24682
25292
  "focus": {
24683
25293
  "key": "{toggle.switch.icon.color.checked.focus}",
24684
- "$value": "#9dc7f1",
25294
+ "$value": "#fbfafd",
24685
25295
  "$type": "color",
24686
25296
  "$description": "Used for the icon color of a checked toggle switch in the focus state.",
24687
25297
  "$extensions": {
@@ -24692,7 +25302,7 @@
24692
25302
  "filePath": "src/tokens/contextual/toggle.tokens.json",
24693
25303
  "isSource": true,
24694
25304
  "original": {
24695
- "$value": "{action.strong.confirm.background.color.focus}",
25305
+ "$value": "{action.selected.background.color.focus}",
24696
25306
  "$type": "color",
24697
25307
  "$description": "Used for the icon color of a checked toggle switch in the focus state.",
24698
25308
  "$extensions": {
@@ -24715,7 +25325,7 @@
24715
25325
  },
24716
25326
  "active": {
24717
25327
  "key": "{toggle.switch.icon.color.checked.active}",
24718
- "$value": "#428fdc",
25328
+ "$value": "#fff",
24719
25329
  "$type": "color",
24720
25330
  "$description": "Used for the icon color of a checked toggle switch in the active state.",
24721
25331
  "$extensions": {
@@ -24726,7 +25336,7 @@
24726
25336
  "filePath": "src/tokens/contextual/toggle.tokens.json",
24727
25337
  "isSource": true,
24728
25338
  "original": {
24729
- "$value": "{action.strong.confirm.background.color.active}",
25339
+ "$value": "{action.selected.background.color.active}",
24730
25340
  "$type": "color",
24731
25341
  "$description": "Used for the icon color of a checked toggle switch in the active state.",
24732
25342
  "$extensions": {
@@ -29989,6 +30599,41 @@
29989
30599
  "color",
29990
30600
  "active"
29991
30601
  ]
30602
+ },
30603
+ "disabled": {
30604
+ "key": "{action.selected.background.color.disabled}",
30605
+ "$value": "#737278",
30606
+ "$type": "color",
30607
+ "$description": "Used for the background of a disabled action that stays selected. Sits between the disabled background and the enabled selected background so the selected state keeps 3:1 contrast against the page while still reading as disabled.",
30608
+ "$extensions": {
30609
+ "com.figma.scopes": [
30610
+ "FRAME_FILL",
30611
+ "SHAPE_FILL"
30612
+ ]
30613
+ },
30614
+ "filePath": "src/tokens/semantic/action.tokens.json",
30615
+ "isSource": true,
30616
+ "original": {
30617
+ "$value": "{color.neutral.500}",
30618
+ "$type": "color",
30619
+ "$description": "Used for the background of a disabled action that stays selected. Sits between the disabled background and the enabled selected background so the selected state keeps 3:1 contrast against the page while still reading as disabled.",
30620
+ "$extensions": {
30621
+ "com.figma.scopes": [
30622
+ "FRAME_FILL",
30623
+ "SHAPE_FILL"
30624
+ ]
30625
+ },
30626
+ "key": "{action.selected.background.color.disabled}"
30627
+ },
30628
+ "name": "ACTION_SELECTED_BACKGROUND_COLOR_DISABLED",
30629
+ "attributes": {},
30630
+ "path": [
30631
+ "action",
30632
+ "selected",
30633
+ "background",
30634
+ "color",
30635
+ "disabled"
30636
+ ]
29992
30637
  }
29993
30638
  }
29994
30639
  },