@gitlab/ui 89.0.1 → 89.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.
Files changed (36) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/dist/components/base/form/form_select/form_select.js +1 -1
  3. package/dist/components/base/toggle/toggle.js +2 -2
  4. package/dist/index.css +2 -2
  5. package/dist/index.css.map +1 -1
  6. package/dist/tokens/build/js/tokens.dark.js +14 -10
  7. package/dist/tokens/build/js/tokens.js +7 -3
  8. package/dist/tokens/css/tokens.css +7 -3
  9. package/dist/tokens/css/tokens.dark.css +12 -8
  10. package/dist/tokens/js/tokens.dark.js +13 -9
  11. package/dist/tokens/js/tokens.js +6 -2
  12. package/dist/tokens/json/tokens.dark.json +105 -26
  13. package/dist/tokens/json/tokens.json +98 -19
  14. package/dist/tokens/scss/_tokens.dark.scss +12 -8
  15. package/dist/tokens/scss/_tokens.scss +7 -3
  16. package/dist/tokens/scss/_tokens_custom_properties.scss +4 -0
  17. package/dist/tokens/tailwind/tokens.cjs +1 -0
  18. package/package.json +3 -3
  19. package/src/components/base/datepicker/datepicker.scss +2 -2
  20. package/src/components/base/form/form_select/form_select.scss +55 -14
  21. package/src/components/base/form/form_select/form_select.vue +8 -6
  22. package/src/components/base/toggle/toggle.scss +4 -4
  23. package/src/components/base/toggle/toggle.vue +2 -2
  24. package/src/tokens/build/css/tokens.css +7 -3
  25. package/src/tokens/build/css/tokens.dark.css +12 -8
  26. package/src/tokens/build/js/tokens.dark.js +13 -9
  27. package/src/tokens/build/js/tokens.js +6 -2
  28. package/src/tokens/build/json/tokens.dark.json +105 -26
  29. package/src/tokens/build/json/tokens.json +98 -19
  30. package/src/tokens/build/scss/_tokens.dark.scss +12 -8
  31. package/src/tokens/build/scss/_tokens.scss +7 -3
  32. package/src/tokens/build/scss/_tokens_custom_properties.scss +4 -0
  33. package/src/tokens/build/tailwind/tokens.cjs +1 -0
  34. package/src/tokens/color.alpha.tokens.json +4 -0
  35. package/src/tokens/contextual/datepicker.tokens.json +10 -0
  36. package/src/tokens/control.tokens.json +24 -17
@@ -1254,6 +1254,24 @@
1254
1254
  "dark",
1255
1255
  "24"
1256
1256
  ]
1257
+ },
1258
+ "40": {
1259
+ "value": "rgba(05, 05, 06, 0.4)",
1260
+ "$type": "color",
1261
+ "filePath": "src/tokens/color.alpha.tokens.json",
1262
+ "isSource": true,
1263
+ "original": {
1264
+ "value": "rgba(05, 05, 06, 0.4)",
1265
+ "$type": "color"
1266
+ },
1267
+ "name": "COLOR_ALPHA_DARK_40",
1268
+ "attributes": {},
1269
+ "path": [
1270
+ "color",
1271
+ "alpha",
1272
+ "dark",
1273
+ "40"
1274
+ ]
1257
1275
  }
1258
1276
  },
1259
1277
  "light": {
@@ -11359,11 +11377,35 @@
11359
11377
  }
11360
11378
  },
11361
11379
  "datepicker": {
11380
+ "background": {
11381
+ "color": {
11382
+ "value": "#28272d",
11383
+ "$type": "color",
11384
+ "comment": "Used for the background color of datepicker.",
11385
+ "filePath": "src/tokens/contextual/datepicker.tokens.json",
11386
+ "isSource": true,
11387
+ "original": {
11388
+ "value": {
11389
+ "default": "{color.neutral.0}",
11390
+ "dark": "{color.neutral.900}"
11391
+ },
11392
+ "$type": "color",
11393
+ "comment": "Used for the background color of datepicker."
11394
+ },
11395
+ "name": "DATEPICKER_BACKGROUND_COLOR",
11396
+ "attributes": {},
11397
+ "path": [
11398
+ "datepicker",
11399
+ "background",
11400
+ "color"
11401
+ ]
11402
+ }
11403
+ },
11362
11404
  "date": {
11363
11405
  "text": {
11364
11406
  "color": {
11365
11407
  "selected": {
11366
- "value": "#28272d",
11408
+ "value": "#18171d",
11367
11409
  "$type": "color",
11368
11410
  "comment": "Used for the datepicker date text color state indicators.",
11369
11411
  "filePath": "src/tokens/contextual/datepicker.tokens.json",
@@ -11930,7 +11972,7 @@
11930
11972
  "background": {
11931
11973
  "color": {
11932
11974
  "default": {
11933
- "value": "#28272d",
11975
+ "value": "rgba(05, 05, 06, 0.4)",
11934
11976
  "$type": "color",
11935
11977
  "comment": "Used for form control (input, radio button, checkbox, textarea) default background.",
11936
11978
  "filePath": "src/tokens/control.tokens.json",
@@ -11938,7 +11980,7 @@
11938
11980
  "original": {
11939
11981
  "value": {
11940
11982
  "default": "{color.neutral.0}",
11941
- "dark": "{color.neutral.900}"
11983
+ "dark": "{color.alpha.dark.40}"
11942
11984
  },
11943
11985
  "$type": "color",
11944
11986
  "comment": "Used for form control (input, radio button, checkbox, textarea) default background."
@@ -11953,7 +11995,7 @@
11953
11995
  ]
11954
11996
  },
11955
11997
  "disabled": {
11956
- "value": "#18171d",
11998
+ "value": "rgba(255, 255, 255, 0.04)",
11957
11999
  "$type": "color",
11958
12000
  "comment": "Used for disabled form control (checkbox, input, radio button, textarea) background.",
11959
12001
  "filePath": "src/tokens/control.tokens.json",
@@ -11961,7 +12003,7 @@
11961
12003
  "original": {
11962
12004
  "value": {
11963
12005
  "default": "{color.neutral.10}",
11964
- "dark": "{color.neutral.950}"
12006
+ "dark": "{color.alpha.light.4}"
11965
12007
  },
11966
12008
  "$type": "color",
11967
12009
  "comment": "Used for disabled form control (checkbox, input, radio button, textarea) background."
@@ -11975,9 +12017,55 @@
11975
12017
  "disabled"
11976
12018
  ]
11977
12019
  },
12020
+ "concatenation": {
12021
+ "value": "rgba(255, 255, 255, 0.04)",
12022
+ "$type": "color",
12023
+ "comment": "Used for the background of static content that prepends or appends a text input.",
12024
+ "filePath": "src/tokens/control.tokens.json",
12025
+ "isSource": true,
12026
+ "original": {
12027
+ "value": {
12028
+ "default": "{color.neutral.10}",
12029
+ "dark": "{color.alpha.light.4}"
12030
+ },
12031
+ "$type": "color",
12032
+ "comment": "Used for the background of static content that prepends or appends a text input."
12033
+ },
12034
+ "name": "CONTROL_BACKGROUND_COLOR_CONCATENATION",
12035
+ "attributes": {},
12036
+ "path": [
12037
+ "control",
12038
+ "background",
12039
+ "color",
12040
+ "concatenation"
12041
+ ]
12042
+ },
12043
+ "readonly": {
12044
+ "value": "#28272d",
12045
+ "$type": "color",
12046
+ "comment": "Used for the background of static content that prepends or appends a text input.",
12047
+ "filePath": "src/tokens/control.tokens.json",
12048
+ "isSource": true,
12049
+ "original": {
12050
+ "value": {
12051
+ "default": "{color.neutral.10}",
12052
+ "dark": "{color.neutral.900}"
12053
+ },
12054
+ "$type": "color",
12055
+ "comment": "Used for the background of static content that prepends or appends a text input."
12056
+ },
12057
+ "name": "CONTROL_BACKGROUND_COLOR_READONLY",
12058
+ "attributes": {},
12059
+ "path": [
12060
+ "control",
12061
+ "background",
12062
+ "color",
12063
+ "readonly"
12064
+ ]
12065
+ },
11978
12066
  "selected": {
11979
12067
  "default": {
11980
- "value": "#428fdc",
12068
+ "value": "#63a6e9",
11981
12069
  "$type": "color",
11982
12070
  "comment": "Used for checked and indeterminate (selected) form control (checkbox, radio button) background.",
11983
12071
  "filePath": "src/tokens/control.tokens.json",
@@ -11985,7 +12073,7 @@
11985
12073
  "original": {
11986
12074
  "value": {
11987
12075
  "default": "{color.blue.500}",
11988
- "dark": "{color.blue.400}"
12076
+ "dark": "{color.blue.300}"
11989
12077
  },
11990
12078
  "$type": "color",
11991
12079
  "comment": "Used for checked and indeterminate (selected) form control (checkbox, radio button) background."
@@ -12146,7 +12234,7 @@
12146
12234
  ]
12147
12235
  },
12148
12236
  "error": {
12149
- "value": "#ec5941",
12237
+ "value": "#f57f6c",
12150
12238
  "$type": "color",
12151
12239
  "comment": "Used for invalid form control (input, textarea) border.",
12152
12240
  "filePath": "src/tokens/control.tokens.json",
@@ -12154,7 +12242,7 @@
12154
12242
  "original": {
12155
12243
  "value": {
12156
12244
  "default": "{color.red.500}",
12157
- "dark": "{color.red.400}"
12245
+ "dark": "{color.red.300}"
12158
12246
  },
12159
12247
  "$type": "color",
12160
12248
  "comment": "Used for invalid form control (input, textarea) border."
@@ -12247,16 +12335,13 @@
12247
12335
  "text": {
12248
12336
  "color": {
12249
12337
  "error": {
12250
- "value": "#ec5941",
12338
+ "value": "#f57f6c",
12251
12339
  "$type": "color",
12252
12340
  "comment": "Used for the helper text when the input is invalid.",
12253
12341
  "filePath": "src/tokens/control.tokens.json",
12254
12342
  "isSource": true,
12255
12343
  "original": {
12256
- "value": {
12257
- "default": "{color.red.500}",
12258
- "dark": "{color.red.400}"
12259
- },
12344
+ "value": "{text.color.danger}",
12260
12345
  "$type": "color",
12261
12346
  "comment": "Used for the helper text when the input is invalid."
12262
12347
  },
@@ -12270,16 +12355,13 @@
12270
12355
  ]
12271
12356
  },
12272
12357
  "valid": {
12273
- "value": "#2da160",
12358
+ "value": "#52b87a",
12274
12359
  "$type": "color",
12275
12360
  "comment": "Used for the helper text when the input is valid.",
12276
12361
  "filePath": "src/tokens/control.tokens.json",
12277
12362
  "isSource": true,
12278
12363
  "original": {
12279
- "value": {
12280
- "default": "{color.green.500}",
12281
- "dark": "{color.green.400}"
12282
- },
12364
+ "value": "{text.color.success}",
12283
12365
  "$type": "color",
12284
12366
  "comment": "Used for the helper text when the input is valid."
12285
12367
  },
@@ -12296,16 +12378,13 @@
12296
12378
  },
12297
12379
  "placeholder": {
12298
12380
  "color": {
12299
- "value": "#737278",
12381
+ "value": "#89888d",
12300
12382
  "$type": "color",
12301
12383
  "comment": "Used for placeholder text within inputs.",
12302
12384
  "filePath": "src/tokens/control.tokens.json",
12303
12385
  "isSource": true,
12304
12386
  "original": {
12305
- "value": {
12306
- "default": "{color.neutral.400}",
12307
- "dark": "{color.neutral.500}"
12308
- },
12387
+ "value": "{text.color.disabled}",
12309
12388
  "$type": "color",
12310
12389
  "comment": "Used for placeholder text within inputs."
12311
12390
  },
@@ -12321,7 +12400,7 @@
12321
12400
  "indicator": {
12322
12401
  "color": {
12323
12402
  "selected": {
12324
- "value": "#28272d",
12403
+ "value": "#18171d",
12325
12404
  "$type": "color",
12326
12405
  "comment": "Used for checkbox and radio button state indicators.",
12327
12406
  "filePath": "src/tokens/control.tokens.json",
@@ -12329,7 +12408,7 @@
12329
12408
  "original": {
12330
12409
  "value": {
12331
12410
  "default": "{color.neutral.0}",
12332
- "dark": "{color.neutral.900}"
12411
+ "dark": "{color.neutral.950}"
12333
12412
  },
12334
12413
  "$type": "color",
12335
12414
  "comment": "Used for checkbox and radio button state indicators."
@@ -1254,6 +1254,24 @@
1254
1254
  "dark",
1255
1255
  "24"
1256
1256
  ]
1257
+ },
1258
+ "40": {
1259
+ "value": "rgba(05, 05, 06, 0.4)",
1260
+ "$type": "color",
1261
+ "filePath": "src/tokens/color.alpha.tokens.json",
1262
+ "isSource": true,
1263
+ "original": {
1264
+ "value": "rgba(05, 05, 06, 0.4)",
1265
+ "$type": "color"
1266
+ },
1267
+ "name": "COLOR_ALPHA_DARK_40",
1268
+ "attributes": {},
1269
+ "path": [
1270
+ "color",
1271
+ "alpha",
1272
+ "dark",
1273
+ "40"
1274
+ ]
1257
1275
  }
1258
1276
  },
1259
1277
  "light": {
@@ -11359,6 +11377,30 @@
11359
11377
  }
11360
11378
  },
11361
11379
  "datepicker": {
11380
+ "background": {
11381
+ "color": {
11382
+ "value": "#fff",
11383
+ "$type": "color",
11384
+ "comment": "Used for the background color of datepicker.",
11385
+ "filePath": "src/tokens/contextual/datepicker.tokens.json",
11386
+ "isSource": true,
11387
+ "original": {
11388
+ "value": {
11389
+ "default": "{color.neutral.0}",
11390
+ "dark": "{color.neutral.900}"
11391
+ },
11392
+ "$type": "color",
11393
+ "comment": "Used for the background color of datepicker."
11394
+ },
11395
+ "name": "DATEPICKER_BACKGROUND_COLOR",
11396
+ "attributes": {},
11397
+ "path": [
11398
+ "datepicker",
11399
+ "background",
11400
+ "color"
11401
+ ]
11402
+ }
11403
+ },
11362
11404
  "date": {
11363
11405
  "text": {
11364
11406
  "color": {
@@ -11938,7 +11980,7 @@
11938
11980
  "original": {
11939
11981
  "value": {
11940
11982
  "default": "{color.neutral.0}",
11941
- "dark": "{color.neutral.900}"
11983
+ "dark": "{color.alpha.dark.40}"
11942
11984
  },
11943
11985
  "$type": "color",
11944
11986
  "comment": "Used for form control (input, radio button, checkbox, textarea) default background."
@@ -11961,7 +12003,7 @@
11961
12003
  "original": {
11962
12004
  "value": {
11963
12005
  "default": "{color.neutral.10}",
11964
- "dark": "{color.neutral.950}"
12006
+ "dark": "{color.alpha.light.4}"
11965
12007
  },
11966
12008
  "$type": "color",
11967
12009
  "comment": "Used for disabled form control (checkbox, input, radio button, textarea) background."
@@ -11975,6 +12017,52 @@
11975
12017
  "disabled"
11976
12018
  ]
11977
12019
  },
12020
+ "concatenation": {
12021
+ "value": "#fbfafd",
12022
+ "$type": "color",
12023
+ "comment": "Used for the background of static content that prepends or appends a text input.",
12024
+ "filePath": "src/tokens/control.tokens.json",
12025
+ "isSource": true,
12026
+ "original": {
12027
+ "value": {
12028
+ "default": "{color.neutral.10}",
12029
+ "dark": "{color.alpha.light.4}"
12030
+ },
12031
+ "$type": "color",
12032
+ "comment": "Used for the background of static content that prepends or appends a text input."
12033
+ },
12034
+ "name": "CONTROL_BACKGROUND_COLOR_CONCATENATION",
12035
+ "attributes": {},
12036
+ "path": [
12037
+ "control",
12038
+ "background",
12039
+ "color",
12040
+ "concatenation"
12041
+ ]
12042
+ },
12043
+ "readonly": {
12044
+ "value": "#fbfafd",
12045
+ "$type": "color",
12046
+ "comment": "Used for the background of static content that prepends or appends a text input.",
12047
+ "filePath": "src/tokens/control.tokens.json",
12048
+ "isSource": true,
12049
+ "original": {
12050
+ "value": {
12051
+ "default": "{color.neutral.10}",
12052
+ "dark": "{color.neutral.900}"
12053
+ },
12054
+ "$type": "color",
12055
+ "comment": "Used for the background of static content that prepends or appends a text input."
12056
+ },
12057
+ "name": "CONTROL_BACKGROUND_COLOR_READONLY",
12058
+ "attributes": {},
12059
+ "path": [
12060
+ "control",
12061
+ "background",
12062
+ "color",
12063
+ "readonly"
12064
+ ]
12065
+ },
11978
12066
  "selected": {
11979
12067
  "default": {
11980
12068
  "value": "#1f75cb",
@@ -11985,7 +12073,7 @@
11985
12073
  "original": {
11986
12074
  "value": {
11987
12075
  "default": "{color.blue.500}",
11988
- "dark": "{color.blue.400}"
12076
+ "dark": "{color.blue.300}"
11989
12077
  },
11990
12078
  "$type": "color",
11991
12079
  "comment": "Used for checked and indeterminate (selected) form control (checkbox, radio button) background."
@@ -12154,7 +12242,7 @@
12154
12242
  "original": {
12155
12243
  "value": {
12156
12244
  "default": "{color.red.500}",
12157
- "dark": "{color.red.400}"
12245
+ "dark": "{color.red.300}"
12158
12246
  },
12159
12247
  "$type": "color",
12160
12248
  "comment": "Used for invalid form control (input, textarea) border."
@@ -12247,16 +12335,13 @@
12247
12335
  "text": {
12248
12336
  "color": {
12249
12337
  "error": {
12250
- "value": "#dd2b0e",
12338
+ "value": "#c91c00",
12251
12339
  "$type": "color",
12252
12340
  "comment": "Used for the helper text when the input is invalid.",
12253
12341
  "filePath": "src/tokens/control.tokens.json",
12254
12342
  "isSource": true,
12255
12343
  "original": {
12256
- "value": {
12257
- "default": "{color.red.500}",
12258
- "dark": "{color.red.400}"
12259
- },
12344
+ "value": "{text.color.danger}",
12260
12345
  "$type": "color",
12261
12346
  "comment": "Used for the helper text when the input is invalid."
12262
12347
  },
@@ -12270,16 +12355,13 @@
12270
12355
  ]
12271
12356
  },
12272
12357
  "valid": {
12273
- "value": "#108548",
12358
+ "value": "#217645",
12274
12359
  "$type": "color",
12275
12360
  "comment": "Used for the helper text when the input is valid.",
12276
12361
  "filePath": "src/tokens/control.tokens.json",
12277
12362
  "isSource": true,
12278
12363
  "original": {
12279
- "value": {
12280
- "default": "{color.green.500}",
12281
- "dark": "{color.green.400}"
12282
- },
12364
+ "value": "{text.color.success}",
12283
12365
  "$type": "color",
12284
12366
  "comment": "Used for the helper text when the input is valid."
12285
12367
  },
@@ -12302,10 +12384,7 @@
12302
12384
  "filePath": "src/tokens/control.tokens.json",
12303
12385
  "isSource": true,
12304
12386
  "original": {
12305
- "value": {
12306
- "default": "{color.neutral.400}",
12307
- "dark": "{color.neutral.500}"
12308
- },
12387
+ "value": "{text.color.disabled}",
12309
12388
  "$type": "color",
12310
12389
  "comment": "Used for placeholder text within inputs."
12311
12390
  },
@@ -12329,7 +12408,7 @@
12329
12408
  "original": {
12330
12409
  "value": {
12331
12410
  "default": "{color.neutral.0}",
12332
- "dark": "{color.neutral.900}"
12411
+ "dark": "{color.neutral.950}"
12333
12412
  },
12334
12413
  "$type": "color",
12335
12414
  "comment": "Used for checkbox and radio button state indicators."
@@ -404,6 +404,7 @@ $gl-color-alpha-light-8: rgba(255, 255, 255, 0.08);
404
404
  $gl-color-alpha-light-6: rgba(255, 255, 255, 0.06);
405
405
  $gl-color-alpha-light-4: rgba(255, 255, 255, 0.04);
406
406
  $gl-color-alpha-light-2: rgba(255, 255, 255, 0.02);
407
+ $gl-color-alpha-dark-40: rgba(05, 05, 06, 0.4);
407
408
  $gl-color-alpha-dark-24: rgba(05, 05, 06, 0.24);
408
409
  $gl-color-alpha-dark-16: rgba(05, 05, 06, 0.16);
409
410
  $gl-color-alpha-dark-8: rgba(05, 05, 06, 0.08);
@@ -477,23 +478,22 @@ $gl-feedback-strong-icon-color: $gl-color-neutral-900; // Used for an icon on a
477
478
  $gl-feedback-strong-text-color: $gl-color-neutral-900; // Used for text on a strong feedback background.
478
479
  $gl-feedback-strong-background-color: $gl-color-neutral-10; // Used for a background associated with strong feedback like a tooltip or toast message.
479
480
  $gl-control-indicator-color-disabled: $gl-color-neutral-400; // Used for disabled checkbox and radio button state indicators.
480
- $gl-control-indicator-color-selected: $gl-color-neutral-900; // Used for checkbox and radio button state indicators.
481
- $gl-control-placeholder-color: $gl-color-neutral-500; // Used for placeholder text within inputs.
482
- $gl-control-text-color-valid: $gl-color-green-400; // Used for the helper text when the input is valid.
483
- $gl-control-text-color-error: $gl-color-red-400; // Used for the helper text when the input is invalid.
481
+ $gl-control-indicator-color-selected: $gl-color-neutral-950; // Used for checkbox and radio button state indicators.
484
482
  $gl-control-border-color-selected-focus: $gl-color-blue-200; // Used for checked and indeterminate (selected) form control (checkbox, radio button) border on focus.
485
483
  $gl-control-border-color-selected-hover: $gl-color-blue-200; // Used for checked and indeterminate (selected) form control (checkbox, radio button) border on hover.
486
484
  $gl-control-border-color-selected-default: $gl-color-blue-400; // Used for checked and indeterminate (selected) form control (checkbox, radio button) border.
487
- $gl-control-border-color-error: $gl-color-red-400; // Used for invalid form control (input, textarea) border.
485
+ $gl-control-border-color-error: $gl-color-red-300; // Used for invalid form control (input, textarea) border.
488
486
  $gl-control-border-color-disabled: $gl-color-neutral-800; // Used for disabled form control (input, radio button, checkbox, textarea) border.
489
487
  $gl-control-border-color-focus: $gl-color-neutral-50; // Used for form control (input, radio button, checkbox, textarea) border on focus.
490
488
  $gl-control-border-color-hover: $gl-color-neutral-300; // Used for form control (input, radio button, checkbox, textarea) border on hover.
491
489
  $gl-control-border-color-default: $gl-color-neutral-500; // Used for form control (input, radio button, checkbox, textarea) default border.
492
490
  $gl-control-background-color-selected-focus: $gl-color-blue-200; // Used for checked and indeterminate (selected) form control (checkbox, radio button) background on hover.
493
491
  $gl-control-background-color-selected-hover: $gl-color-blue-200; // Used for checked and indeterminate (selected) form control (checkbox, radio button) background on hover.
494
- $gl-control-background-color-selected-default: $gl-color-blue-400; // Used for checked and indeterminate (selected) form control (checkbox, radio button) background.
495
- $gl-control-background-color-disabled: $gl-color-neutral-950; // Used for disabled form control (checkbox, input, radio button, textarea) background.
496
- $gl-control-background-color-default: $gl-color-neutral-900; // Used for form control (input, radio button, checkbox, textarea) default background.
492
+ $gl-control-background-color-selected-default: $gl-color-blue-300; // Used for checked and indeterminate (selected) form control (checkbox, radio button) background.
493
+ $gl-control-background-color-readonly: $gl-color-neutral-900; // Used for the background of static content that prepends or appends a text input.
494
+ $gl-control-background-color-concatenation: $gl-color-alpha-light-4; // Used for the background of static content that prepends or appends a text input.
495
+ $gl-control-background-color-disabled: $gl-color-alpha-light-4; // Used for disabled form control (checkbox, input, radio button, textarea) background.
496
+ $gl-control-background-color-default: $gl-color-alpha-dark-40; // Used for form control (input, radio button, checkbox, textarea) default background.
497
497
  $gl-spinner-segment-color-light: $gl-color-neutral-200; // Used for the animated segment of a loading spinner on a dark background.
498
498
  $gl-spinner-segment-color-default: $gl-color-neutral-200; // Used for the animated segment of a loading spinner.
499
499
  $gl-spinner-track-color-light: $gl-color-neutral-800; // Used for the static track (background) of a loading spinner on a dark background.
@@ -513,6 +513,7 @@ $gl-label-light-button-icon-color-default: $gl-color-neutral-950; // Used for th
513
513
  $gl-label-light-button-background-color-hover: $gl-color-neutral-950; // Used for the label remove button background on a light background color in the hover state.
514
514
  $gl-label-light-button-background-color-default: $gl-color-alpha-0; // Used for the label remove button background on a light background color in the default state.
515
515
  $gl-label-light-text-color: $gl-color-neutral-950; // Used for the label text color on a light background color.
516
+ $gl-datepicker-background-color: $gl-color-neutral-900; // Used for the background color of datepicker.
516
517
  $gl-button-disabled-border-color: $gl-color-neutral-800; // Used for the border of a disabled button.
517
518
  $gl-button-disabled-background-color: $gl-color-neutral-950; // Used for the background of a disabled button.
518
519
  $gl-button-disabled-foreground-color: $gl-color-neutral-400; // Used for the foreground of a disabled button.
@@ -689,6 +690,9 @@ $gl-action-disabled-border-color: $gl-color-neutral-800; // Used for the border
689
690
  $gl-action-disabled-background-color: $gl-color-neutral-900; // Used for the background of a disabled action.
690
691
  $gl-action-disabled-foreground-color: $gl-color-neutral-500; // Used for the foreground of a disabled action.
691
692
  $gl-focus-ring-inner-color: $gl-background-color-default; // Used for the inner neutral portion of the focus ring.
693
+ $gl-control-placeholder-color: $gl-text-color-disabled; // Used for placeholder text within inputs.
694
+ $gl-control-text-color-valid: $gl-text-color-success; // Used for the helper text when the input is valid.
695
+ $gl-control-text-color-error: $gl-text-color-danger; // Used for the helper text when the input is invalid.
692
696
  $gl-table-sorting-icon-color: $gl-text-color-heading; // Used for the color of the sorting icons in the column headers.
693
697
  $gl-table-row-background-color-hover: $gl-background-color-subtle; // Used for the background of a table row in hover state.
694
698
  $gl-datepicker-date-text-color-selected: $gl-control-indicator-color-selected; // Used for the datepicker date text color state indicators.
@@ -404,6 +404,7 @@ $gl-color-alpha-light-8: rgba(255, 255, 255, 0.08);
404
404
  $gl-color-alpha-light-6: rgba(255, 255, 255, 0.06);
405
405
  $gl-color-alpha-light-4: rgba(255, 255, 255, 0.04);
406
406
  $gl-color-alpha-light-2: rgba(255, 255, 255, 0.02);
407
+ $gl-color-alpha-dark-40: rgba(05, 05, 06, 0.4);
407
408
  $gl-color-alpha-dark-24: rgba(05, 05, 06, 0.24);
408
409
  $gl-color-alpha-dark-16: rgba(05, 05, 06, 0.16);
409
410
  $gl-color-alpha-dark-8: rgba(05, 05, 06, 0.08);
@@ -478,9 +479,6 @@ $gl-feedback-strong-text-color: $gl-color-neutral-0; // Used for text on a stron
478
479
  $gl-feedback-strong-background-color: $gl-color-neutral-950; // Used for a background associated with strong feedback like a tooltip or toast message.
479
480
  $gl-control-indicator-color-disabled: $gl-color-neutral-500; // Used for disabled checkbox and radio button state indicators.
480
481
  $gl-control-indicator-color-selected: $gl-color-neutral-0; // Used for checkbox and radio button state indicators.
481
- $gl-control-placeholder-color: $gl-color-neutral-400; // Used for placeholder text within inputs.
482
- $gl-control-text-color-valid: $gl-color-green-500; // Used for the helper text when the input is valid.
483
- $gl-control-text-color-error: $gl-color-red-500; // Used for the helper text when the input is invalid.
484
482
  $gl-control-border-color-selected-focus: $gl-color-blue-700; // Used for checked and indeterminate (selected) form control (checkbox, radio button) border on focus.
485
483
  $gl-control-border-color-selected-hover: $gl-color-blue-700; // Used for checked and indeterminate (selected) form control (checkbox, radio button) border on hover.
486
484
  $gl-control-border-color-selected-default: $gl-color-blue-500; // Used for checked and indeterminate (selected) form control (checkbox, radio button) border.
@@ -492,6 +490,8 @@ $gl-control-border-color-default: $gl-color-neutral-400; // Used for form contro
492
490
  $gl-control-background-color-selected-focus: $gl-color-blue-700; // Used for checked and indeterminate (selected) form control (checkbox, radio button) background on hover.
493
491
  $gl-control-background-color-selected-hover: $gl-color-blue-700; // Used for checked and indeterminate (selected) form control (checkbox, radio button) background on hover.
494
492
  $gl-control-background-color-selected-default: $gl-color-blue-500; // Used for checked and indeterminate (selected) form control (checkbox, radio button) background.
493
+ $gl-control-background-color-readonly: $gl-color-neutral-10; // Used for the background of static content that prepends or appends a text input.
494
+ $gl-control-background-color-concatenation: $gl-color-neutral-10; // Used for the background of static content that prepends or appends a text input.
495
495
  $gl-control-background-color-disabled: $gl-color-neutral-10; // Used for disabled form control (checkbox, input, radio button, textarea) background.
496
496
  $gl-control-background-color-default: $gl-color-neutral-0; // Used for form control (input, radio button, checkbox, textarea) default background.
497
497
  $gl-spinner-segment-color-light: $gl-color-neutral-200; // Used for the animated segment of a loading spinner on a dark background.
@@ -513,6 +513,7 @@ $gl-label-light-button-icon-color-default: $gl-color-neutral-950; // Used for th
513
513
  $gl-label-light-button-background-color-hover: $gl-color-neutral-950; // Used for the label remove button background on a light background color in the hover state.
514
514
  $gl-label-light-button-background-color-default: $gl-color-alpha-0; // Used for the label remove button background on a light background color in the default state.
515
515
  $gl-label-light-text-color: $gl-color-neutral-950; // Used for the label text color on a light background color.
516
+ $gl-datepicker-background-color: $gl-color-neutral-0; // Used for the background color of datepicker.
516
517
  $gl-button-disabled-border-color: $gl-color-neutral-100; // Used for the border of a disabled button.
517
518
  $gl-button-disabled-background-color: $gl-color-neutral-10; // Used for the background of a disabled button.
518
519
  $gl-button-disabled-foreground-color: $gl-color-neutral-500; // Used for the foreground of a disabled button.
@@ -689,6 +690,9 @@ $gl-action-disabled-border-color: $gl-color-neutral-100; // Used for the border
689
690
  $gl-action-disabled-background-color: $gl-color-neutral-50; // Used for the background of a disabled action.
690
691
  $gl-action-disabled-foreground-color: $gl-color-neutral-400; // Used for the foreground of a disabled action.
691
692
  $gl-focus-ring-inner-color: $gl-background-color-default; // Used for the inner neutral portion of the focus ring.
693
+ $gl-control-placeholder-color: $gl-text-color-disabled; // Used for placeholder text within inputs.
694
+ $gl-control-text-color-valid: $gl-text-color-success; // Used for the helper text when the input is valid.
695
+ $gl-control-text-color-error: $gl-text-color-danger; // Used for the helper text when the input is invalid.
692
696
  $gl-table-sorting-icon-color: $gl-text-color-heading; // Used for the color of the sorting icons in the column headers.
693
697
  $gl-table-row-background-color-hover: $gl-background-color-subtle; // Used for the background of a table row in hover state.
694
698
  $gl-datepicker-date-text-color-selected: $gl-control-indicator-color-selected; // Used for the datepicker date text color state indicators.
@@ -58,6 +58,7 @@ $gl-color-alpha-dark-6: var(--gl-color-alpha-dark-6);
58
58
  $gl-color-alpha-dark-8: var(--gl-color-alpha-dark-8);
59
59
  $gl-color-alpha-dark-16: var(--gl-color-alpha-dark-16);
60
60
  $gl-color-alpha-dark-24: var(--gl-color-alpha-dark-24);
61
+ $gl-color-alpha-dark-40: var(--gl-color-alpha-dark-40);
61
62
  $gl-color-alpha-light-2: var(--gl-color-alpha-light-2);
62
63
  $gl-color-alpha-light-4: var(--gl-color-alpha-light-4);
63
64
  $gl-color-alpha-light-6: var(--gl-color-alpha-light-6);
@@ -524,6 +525,7 @@ $gl-button-selected-border-color-active: var(--gl-button-selected-border-color-a
524
525
  $gl-button-disabled-foreground-color: var(--gl-button-disabled-foreground-color);
525
526
  $gl-button-disabled-background-color: var(--gl-button-disabled-background-color);
526
527
  $gl-button-disabled-border-color: var(--gl-button-disabled-border-color);
528
+ $gl-datepicker-background-color: var(--gl-datepicker-background-color);
527
529
  $gl-datepicker-date-text-color-selected: var(--gl-datepicker-date-text-color-selected);
528
530
  $gl-label-light-text-color: var(--gl-label-light-text-color);
529
531
  $gl-label-light-button-background-color-default: var(--gl-label-light-button-background-color-default);
@@ -548,6 +550,8 @@ $gl-table-row-background-color-hover: var(--gl-table-row-background-color-hover)
548
550
  $gl-table-sorting-icon-color: var(--gl-table-sorting-icon-color);
549
551
  $gl-control-background-color-default: var(--gl-control-background-color-default);
550
552
  $gl-control-background-color-disabled: var(--gl-control-background-color-disabled);
553
+ $gl-control-background-color-concatenation: var(--gl-control-background-color-concatenation);
554
+ $gl-control-background-color-readonly: var(--gl-control-background-color-readonly);
551
555
  $gl-control-background-color-selected-default: var(--gl-control-background-color-selected-default);
552
556
  $gl-control-background-color-selected-hover: var(--gl-control-background-color-selected-hover);
553
557
  $gl-control-background-color-selected-focus: var(--gl-control-background-color-selected-focus);
@@ -245,6 +245,7 @@ const alphaDarkColors = {
245
245
  8: 'var(--gl-color-alpha-dark-8, rgba(05, 05, 06, 0.08))',
246
246
  16: 'var(--gl-color-alpha-dark-16, rgba(05, 05, 06, 0.16))',
247
247
  24: 'var(--gl-color-alpha-dark-24, rgba(05, 05, 06, 0.24))',
248
+ 40: 'var(--gl-color-alpha-dark-40, rgba(05, 05, 06, 0.4))',
248
249
  };
249
250
  const alphaLightColors = {
250
251
  2: 'var(--gl-color-alpha-light-2, rgba(255, 255, 255, 0.02))',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gitlab/ui",
3
- "version": "89.0.1",
3
+ "version": "89.2.0",
4
4
  "description": "GitLab UI Components",
5
5
  "license": "MIT",
6
6
  "main": "dist/index.js",
@@ -111,7 +111,7 @@
111
111
  "@babel/preset-env": "^7.25.3",
112
112
  "@babel/preset-react": "^7.24.7",
113
113
  "@cypress/grep": "^4.0.1",
114
- "@gitlab/eslint-plugin": "19.6.0",
114
+ "@gitlab/eslint-plugin": "19.6.1",
115
115
  "@gitlab/fonts": "^1.3.0",
116
116
  "@gitlab/stylelint-config": "6.2.1",
117
117
  "@gitlab/svgs": "3.112.0",
@@ -156,7 +156,7 @@
156
156
  "esbuild": "^0.18.0",
157
157
  "eslint": "8.57.0",
158
158
  "eslint-import-resolver-jest": "3.0.2",
159
- "eslint-plugin-cypress": "3.4.0",
159
+ "eslint-plugin-cypress": "3.5.0",
160
160
  "eslint-plugin-storybook": "0.8.0",
161
161
  "gitlab-api-async-iterator": "^1.3.1",
162
162
  "glob": "10.3.3",
@@ -2,7 +2,7 @@
2
2
  $pd-text-color: var(--gl-text-color-default);
3
3
  $pd-title-color: var(--gl-action-neutral-foreground-color-default);
4
4
  $pd-title-bg: var(--gl-action-neutral-background-color-default);
5
- $pd-picker-bg: var(--gl-control-background-color-default);
5
+ $pd-picker-bg: var(--gl-datepicker-background-color);
6
6
  $pd-picker-border: var(--gl-border-color-default);
7
7
  $pd-picker-border-bottom: var(--gl-border-color-default);
8
8
  $pd-th-color: var(--gl-text-color-subtle);
@@ -41,7 +41,7 @@ $pd-week-color: var(--gl-text-color-subtle);
41
41
  @apply gl-border-none;
42
42
  @apply gl-rounded-base;
43
43
  @include gl-mt-3;
44
- background-color: var(--gl-control-background-color-default);
44
+ background-color: var(--gl-datepicker-background-color);
45
45
 
46
46
  &.is-bound {
47
47
  @include gl-shadow-md;