@gitlab/ui 126.0.2 → 126.1.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.
- package/dist/index.css +2 -2
- package/dist/index.css.map +1 -1
- package/dist/tokens/build/js/tokens.dark.js +9 -2
- package/dist/tokens/build/js/tokens.js +9 -2
- package/package.json +1 -1
- package/src/components/base/drawer/drawer.scss +3 -0
- package/src/tokens/build/css/tokens.css +9 -2
- package/src/tokens/build/css/tokens.dark.css +9 -2
- package/src/tokens/build/docs/tokens-tailwind-docs.dark.json +201 -1
- package/src/tokens/build/docs/tokens-tailwind-docs.json +201 -1
- package/src/tokens/build/figma/contextual.tokens.json +18 -1
- package/src/tokens/build/figma/semantic.tokens.json +91 -4
- package/src/tokens/build/js/tokens.dark.js +8 -1
- package/src/tokens/build/js/tokens.js +8 -1
- package/src/tokens/build/json/tokens.dark.json +242 -3
- package/src/tokens/build/json/tokens.json +242 -3
- package/src/tokens/build/scss/_tokens.dark.scss +9 -2
- package/src/tokens/build/scss/_tokens.scss +9 -2
- package/src/tokens/build/scss/_tokens_custom_properties.scss +7 -0
- package/src/tokens/build/tailwind/tokens.cjs +9 -0
- package/src/tokens/contextual/drawer.tokens.json +16 -0
- package/src/tokens/contextual/modal.tokens.json +1 -1
- package/src/tokens/semantic/control.tokens.json +1 -4
- package/src/tokens/semantic/feedback.tokens.json +90 -0
|
@@ -21412,6 +21412,41 @@
|
|
|
21412
21412
|
}
|
|
21413
21413
|
}
|
|
21414
21414
|
},
|
|
21415
|
+
"drawer": {
|
|
21416
|
+
"border": {
|
|
21417
|
+
"radius": {
|
|
21418
|
+
"key": "{drawer.border.radius}",
|
|
21419
|
+
"$value": "1rem",
|
|
21420
|
+
"$type": "dimension",
|
|
21421
|
+
"$description": "Used for drawer border radius.",
|
|
21422
|
+
"$extensions": {
|
|
21423
|
+
"com.figma.scope": [
|
|
21424
|
+
"CORNER_RADIUS"
|
|
21425
|
+
]
|
|
21426
|
+
},
|
|
21427
|
+
"filePath": "src/tokens/contextual/drawer.tokens.json",
|
|
21428
|
+
"isSource": true,
|
|
21429
|
+
"original": {
|
|
21430
|
+
"$value": "{border.radius.2xl}",
|
|
21431
|
+
"$type": "dimension",
|
|
21432
|
+
"$description": "Used for drawer border radius.",
|
|
21433
|
+
"$extensions": {
|
|
21434
|
+
"com.figma.scope": [
|
|
21435
|
+
"CORNER_RADIUS"
|
|
21436
|
+
]
|
|
21437
|
+
},
|
|
21438
|
+
"key": "{drawer.border.radius}"
|
|
21439
|
+
},
|
|
21440
|
+
"name": "DRAWER_BORDER_RADIUS",
|
|
21441
|
+
"attributes": {},
|
|
21442
|
+
"path": [
|
|
21443
|
+
"drawer",
|
|
21444
|
+
"border",
|
|
21445
|
+
"radius"
|
|
21446
|
+
]
|
|
21447
|
+
}
|
|
21448
|
+
}
|
|
21449
|
+
},
|
|
21415
21450
|
"dropdown": {
|
|
21416
21451
|
"background": {
|
|
21417
21452
|
"color": {
|
|
@@ -24240,7 +24275,7 @@
|
|
|
24240
24275
|
"border": {
|
|
24241
24276
|
"radius": {
|
|
24242
24277
|
"key": "{modal.border.radius}",
|
|
24243
|
-
"$value": "
|
|
24278
|
+
"$value": "1rem",
|
|
24244
24279
|
"$type": "dimension",
|
|
24245
24280
|
"$description": "Used for modal border radius.",
|
|
24246
24281
|
"$extensions": {
|
|
@@ -24251,7 +24286,7 @@
|
|
|
24251
24286
|
"filePath": "src/tokens/contextual/modal.tokens.json",
|
|
24252
24287
|
"isSource": true,
|
|
24253
24288
|
"original": {
|
|
24254
|
-
"$value": "{border.radius.
|
|
24289
|
+
"$value": "{border.radius.2xl}",
|
|
24255
24290
|
"$type": "dimension",
|
|
24256
24291
|
"$description": "Used for modal border radius.",
|
|
24257
24292
|
"$extensions": {
|
|
@@ -35430,7 +35465,7 @@
|
|
|
35430
35465
|
"filePath": "src/tokens/semantic/control.tokens.json",
|
|
35431
35466
|
"isSource": true,
|
|
35432
35467
|
"original": {
|
|
35433
|
-
"$value": "{
|
|
35468
|
+
"$value": "{feedback.danger.border.color}",
|
|
35434
35469
|
"$type": "color",
|
|
35435
35470
|
"$description": "Used for invalid form control (input, textarea) border.",
|
|
35436
35471
|
"$extensions": {
|
|
@@ -35828,6 +35863,40 @@
|
|
|
35828
35863
|
]
|
|
35829
35864
|
}
|
|
35830
35865
|
},
|
|
35866
|
+
"border": {
|
|
35867
|
+
"color": {
|
|
35868
|
+
"key": "{feedback.strong.border.color}",
|
|
35869
|
+
"$value": "#050506",
|
|
35870
|
+
"$type": "color",
|
|
35871
|
+
"$description": "Used for the border associated with strong feedback.",
|
|
35872
|
+
"$extensions": {
|
|
35873
|
+
"com.figma.scope": [
|
|
35874
|
+
"STROKE_COLOR"
|
|
35875
|
+
]
|
|
35876
|
+
},
|
|
35877
|
+
"filePath": "src/tokens/semantic/feedback.tokens.json",
|
|
35878
|
+
"isSource": true,
|
|
35879
|
+
"original": {
|
|
35880
|
+
"$value": "{color.neutral.1000}",
|
|
35881
|
+
"$type": "color",
|
|
35882
|
+
"$description": "Used for the border associated with strong feedback.",
|
|
35883
|
+
"$extensions": {
|
|
35884
|
+
"com.figma.scope": [
|
|
35885
|
+
"STROKE_COLOR"
|
|
35886
|
+
]
|
|
35887
|
+
},
|
|
35888
|
+
"key": "{feedback.strong.border.color}"
|
|
35889
|
+
},
|
|
35890
|
+
"name": "FEEDBACK_STRONG_BORDER_COLOR",
|
|
35891
|
+
"attributes": {},
|
|
35892
|
+
"path": [
|
|
35893
|
+
"feedback",
|
|
35894
|
+
"strong",
|
|
35895
|
+
"border",
|
|
35896
|
+
"color"
|
|
35897
|
+
]
|
|
35898
|
+
}
|
|
35899
|
+
},
|
|
35831
35900
|
"text": {
|
|
35832
35901
|
"color": {
|
|
35833
35902
|
"key": "{feedback.strong.text.color}",
|
|
@@ -35970,6 +36039,40 @@
|
|
|
35970
36039
|
]
|
|
35971
36040
|
}
|
|
35972
36041
|
},
|
|
36042
|
+
"border": {
|
|
36043
|
+
"color": {
|
|
36044
|
+
"key": "{feedback.neutral.border.color}",
|
|
36045
|
+
"$value": "#bfbfc3",
|
|
36046
|
+
"$type": "color",
|
|
36047
|
+
"$description": "Used for the border of a neutral feedback item when there isn't a specific meaning or urgency.",
|
|
36048
|
+
"$extensions": {
|
|
36049
|
+
"com.figma.scope": [
|
|
36050
|
+
"STROKE_COLOR"
|
|
36051
|
+
]
|
|
36052
|
+
},
|
|
36053
|
+
"filePath": "src/tokens/semantic/feedback.tokens.json",
|
|
36054
|
+
"isSource": true,
|
|
36055
|
+
"original": {
|
|
36056
|
+
"$value": "{color.neutral.200}",
|
|
36057
|
+
"$type": "color",
|
|
36058
|
+
"$description": "Used for the border of a neutral feedback item when there isn't a specific meaning or urgency.",
|
|
36059
|
+
"$extensions": {
|
|
36060
|
+
"com.figma.scope": [
|
|
36061
|
+
"STROKE_COLOR"
|
|
36062
|
+
]
|
|
36063
|
+
},
|
|
36064
|
+
"key": "{feedback.neutral.border.color}"
|
|
36065
|
+
},
|
|
36066
|
+
"name": "FEEDBACK_NEUTRAL_BORDER_COLOR",
|
|
36067
|
+
"attributes": {},
|
|
36068
|
+
"path": [
|
|
36069
|
+
"feedback",
|
|
36070
|
+
"neutral",
|
|
36071
|
+
"border",
|
|
36072
|
+
"color"
|
|
36073
|
+
]
|
|
36074
|
+
}
|
|
36075
|
+
},
|
|
35973
36076
|
"text": {
|
|
35974
36077
|
"color": {
|
|
35975
36078
|
"key": "{feedback.neutral.text.color}",
|
|
@@ -36078,6 +36181,40 @@
|
|
|
36078
36181
|
]
|
|
36079
36182
|
}
|
|
36080
36183
|
},
|
|
36184
|
+
"border": {
|
|
36185
|
+
"color": {
|
|
36186
|
+
"key": "{feedback.info.border.color}",
|
|
36187
|
+
"$value": "#9dc7f1",
|
|
36188
|
+
"$type": "color",
|
|
36189
|
+
"$description": "Used for the border of an informational feedback item when highlighting new information or a change that doesn't require immediate action.",
|
|
36190
|
+
"$extensions": {
|
|
36191
|
+
"com.figma.scope": [
|
|
36192
|
+
"STROKE_COLOR"
|
|
36193
|
+
]
|
|
36194
|
+
},
|
|
36195
|
+
"filePath": "src/tokens/semantic/feedback.tokens.json",
|
|
36196
|
+
"isSource": true,
|
|
36197
|
+
"original": {
|
|
36198
|
+
"$value": "{color.blue.200}",
|
|
36199
|
+
"$type": "color",
|
|
36200
|
+
"$description": "Used for the border of an informational feedback item when highlighting new information or a change that doesn't require immediate action.",
|
|
36201
|
+
"$extensions": {
|
|
36202
|
+
"com.figma.scope": [
|
|
36203
|
+
"STROKE_COLOR"
|
|
36204
|
+
]
|
|
36205
|
+
},
|
|
36206
|
+
"key": "{feedback.info.border.color}"
|
|
36207
|
+
},
|
|
36208
|
+
"name": "FEEDBACK_INFO_BORDER_COLOR",
|
|
36209
|
+
"attributes": {},
|
|
36210
|
+
"path": [
|
|
36211
|
+
"feedback",
|
|
36212
|
+
"info",
|
|
36213
|
+
"border",
|
|
36214
|
+
"color"
|
|
36215
|
+
]
|
|
36216
|
+
}
|
|
36217
|
+
},
|
|
36081
36218
|
"text": {
|
|
36082
36219
|
"color": {
|
|
36083
36220
|
"key": "{feedback.info.text.color}",
|
|
@@ -36186,6 +36323,40 @@
|
|
|
36186
36323
|
]
|
|
36187
36324
|
}
|
|
36188
36325
|
},
|
|
36326
|
+
"border": {
|
|
36327
|
+
"color": {
|
|
36328
|
+
"key": "{feedback.success.border.color}",
|
|
36329
|
+
"$value": "#91d4a8",
|
|
36330
|
+
"$type": "color",
|
|
36331
|
+
"$description": "Used for the border of a success feedback item when confirming the successful completion of a user-initiated action.",
|
|
36332
|
+
"$extensions": {
|
|
36333
|
+
"com.figma.scope": [
|
|
36334
|
+
"STROKE_COLOR"
|
|
36335
|
+
]
|
|
36336
|
+
},
|
|
36337
|
+
"filePath": "src/tokens/semantic/feedback.tokens.json",
|
|
36338
|
+
"isSource": true,
|
|
36339
|
+
"original": {
|
|
36340
|
+
"$value": "{color.green.200}",
|
|
36341
|
+
"$type": "color",
|
|
36342
|
+
"$description": "Used for the border of a success feedback item when confirming the successful completion of a user-initiated action.",
|
|
36343
|
+
"$extensions": {
|
|
36344
|
+
"com.figma.scope": [
|
|
36345
|
+
"STROKE_COLOR"
|
|
36346
|
+
]
|
|
36347
|
+
},
|
|
36348
|
+
"key": "{feedback.success.border.color}"
|
|
36349
|
+
},
|
|
36350
|
+
"name": "FEEDBACK_SUCCESS_BORDER_COLOR",
|
|
36351
|
+
"attributes": {},
|
|
36352
|
+
"path": [
|
|
36353
|
+
"feedback",
|
|
36354
|
+
"success",
|
|
36355
|
+
"border",
|
|
36356
|
+
"color"
|
|
36357
|
+
]
|
|
36358
|
+
}
|
|
36359
|
+
},
|
|
36189
36360
|
"text": {
|
|
36190
36361
|
"color": {
|
|
36191
36362
|
"key": "{feedback.success.text.color}",
|
|
@@ -36294,6 +36465,40 @@
|
|
|
36294
36465
|
]
|
|
36295
36466
|
}
|
|
36296
36467
|
},
|
|
36468
|
+
"border": {
|
|
36469
|
+
"color": {
|
|
36470
|
+
"key": "{feedback.warning.border.color}",
|
|
36471
|
+
"$value": "#e9be74",
|
|
36472
|
+
"$type": "color",
|
|
36473
|
+
"$description": "Used for the border of a warning feedback item when notifying about a potential issue or sensitive information.",
|
|
36474
|
+
"$extensions": {
|
|
36475
|
+
"com.figma.scope": [
|
|
36476
|
+
"STROKE_COLOR"
|
|
36477
|
+
]
|
|
36478
|
+
},
|
|
36479
|
+
"filePath": "src/tokens/semantic/feedback.tokens.json",
|
|
36480
|
+
"isSource": true,
|
|
36481
|
+
"original": {
|
|
36482
|
+
"$value": "{color.orange.200}",
|
|
36483
|
+
"$type": "color",
|
|
36484
|
+
"$description": "Used for the border of a warning feedback item when notifying about a potential issue or sensitive information.",
|
|
36485
|
+
"$extensions": {
|
|
36486
|
+
"com.figma.scope": [
|
|
36487
|
+
"STROKE_COLOR"
|
|
36488
|
+
]
|
|
36489
|
+
},
|
|
36490
|
+
"key": "{feedback.warning.border.color}"
|
|
36491
|
+
},
|
|
36492
|
+
"name": "FEEDBACK_WARNING_BORDER_COLOR",
|
|
36493
|
+
"attributes": {},
|
|
36494
|
+
"path": [
|
|
36495
|
+
"feedback",
|
|
36496
|
+
"warning",
|
|
36497
|
+
"border",
|
|
36498
|
+
"color"
|
|
36499
|
+
]
|
|
36500
|
+
}
|
|
36501
|
+
},
|
|
36297
36502
|
"text": {
|
|
36298
36503
|
"color": {
|
|
36299
36504
|
"key": "{feedback.warning.text.color}",
|
|
@@ -36402,6 +36607,40 @@
|
|
|
36402
36607
|
]
|
|
36403
36608
|
}
|
|
36404
36609
|
},
|
|
36610
|
+
"border": {
|
|
36611
|
+
"color": {
|
|
36612
|
+
"key": "{feedback.danger.border.color}",
|
|
36613
|
+
"$value": "#dd2b0e",
|
|
36614
|
+
"$type": "color",
|
|
36615
|
+
"$description": "Used for the border of a danger feedback item when notifying about a critical issue that has just occurred and requires immediate attention.",
|
|
36616
|
+
"$extensions": {
|
|
36617
|
+
"com.figma.scope": [
|
|
36618
|
+
"STROKE_COLOR"
|
|
36619
|
+
]
|
|
36620
|
+
},
|
|
36621
|
+
"filePath": "src/tokens/semantic/feedback.tokens.json",
|
|
36622
|
+
"isSource": true,
|
|
36623
|
+
"original": {
|
|
36624
|
+
"$value": "{color.red.500}",
|
|
36625
|
+
"$type": "color",
|
|
36626
|
+
"$description": "Used for the border of a danger feedback item when notifying about a critical issue that has just occurred and requires immediate attention.",
|
|
36627
|
+
"$extensions": {
|
|
36628
|
+
"com.figma.scope": [
|
|
36629
|
+
"STROKE_COLOR"
|
|
36630
|
+
]
|
|
36631
|
+
},
|
|
36632
|
+
"key": "{feedback.danger.border.color}"
|
|
36633
|
+
},
|
|
36634
|
+
"name": "FEEDBACK_DANGER_BORDER_COLOR",
|
|
36635
|
+
"attributes": {},
|
|
36636
|
+
"path": [
|
|
36637
|
+
"feedback",
|
|
36638
|
+
"danger",
|
|
36639
|
+
"border",
|
|
36640
|
+
"color"
|
|
36641
|
+
]
|
|
36642
|
+
}
|
|
36643
|
+
},
|
|
36405
36644
|
"text": {
|
|
36406
36645
|
"color": {
|
|
36407
36646
|
"key": "{feedback.danger.text.color}",
|
|
@@ -931,29 +931,34 @@ $gl-control-border-color-default: $gl-color-neutral-500; // Used for form contro
|
|
|
931
931
|
$gl-control-border-color-hover: $gl-color-neutral-300; // Used for form control (input, radio button, checkbox, textarea) border on hover.
|
|
932
932
|
$gl-control-border-color-focus: $gl-color-neutral-50; // Used for form control (input, radio button, checkbox, textarea) border on focus.
|
|
933
933
|
$gl-control-border-color-disabled: $gl-color-neutral-800; // Used for disabled form control (input, radio button, checkbox, textarea) border.
|
|
934
|
-
$gl-control-border-color-error: $gl-color-red-300; // Used for invalid form control (input, textarea) border.
|
|
935
934
|
$gl-control-border-color-selected-default: $gl-color-blue-400; // Used for checked and indeterminate (selected) form control (checkbox, radio button) border.
|
|
936
935
|
$gl-control-border-color-selected-hover: $gl-color-blue-200; // Used for checked and indeterminate (selected) form control (checkbox, radio button) border on hover.
|
|
937
936
|
$gl-control-border-color-selected-focus: $gl-color-blue-200; // Used for checked and indeterminate (selected) form control (checkbox, radio button) border on focus.
|
|
938
937
|
$gl-control-indicator-color-selected: $gl-color-neutral-950; // Used for checkbox and radio button state indicators.
|
|
939
938
|
$gl-control-indicator-color-disabled: $gl-color-neutral-400; // Used for disabled checkbox and radio button state indicators.
|
|
940
939
|
$gl-feedback-strong-background-color: $gl-color-neutral-800; // Used for a background associated with strong feedback like a tooltip or toast message.
|
|
940
|
+
$gl-feedback-strong-border-color: $gl-color-neutral-300; // Used for the border associated with strong feedback.
|
|
941
941
|
$gl-feedback-strong-text-color: $gl-color-neutral-0; // Used for text on a strong feedback background.
|
|
942
942
|
$gl-feedback-strong-icon-color: $gl-color-neutral-0; // Used for an icon on a strong feedback background.
|
|
943
943
|
$gl-feedback-strong-link-color: $gl-color-blue-300; // Used for a link on a strong feedback background.
|
|
944
944
|
$gl-feedback-neutral-background-color: $gl-color-neutral-900; // Used for the background of a neutral feedback item when there isn't a specific meaning or urgency.
|
|
945
|
+
$gl-feedback-neutral-border-color: $gl-color-neutral-600; // Used for the border of a neutral feedback item when there isn't a specific meaning or urgency.
|
|
945
946
|
$gl-feedback-neutral-text-color: $gl-color-neutral-200; // Used for the text of a neutral feedback item when there isn't a specific meaning or urgency.
|
|
946
947
|
$gl-feedback-neutral-icon-color: $gl-color-neutral-300; // Used for the icon of a neutral feedback item when there isn't a specific meaning or urgency.
|
|
947
948
|
$gl-feedback-info-background-color: $gl-color-blue-950; // Used for the background of an informational feedback item when highlighting new information or a change that doesn't require immediate action.
|
|
949
|
+
$gl-feedback-info-border-color: $gl-color-blue-600; // Used for the border of an informational feedback item when highlighting new information or a change that doesn't require immediate action.
|
|
948
950
|
$gl-feedback-info-text-color: $gl-color-blue-200; // Used for the text of an informational feedback item when highlighting new information or a change that doesn't require immediate action.
|
|
949
951
|
$gl-feedback-info-icon-color: $gl-color-blue-300; // Used for the icon of an informational feedback item when highlighting new information or a change that doesn't require immediate action.
|
|
950
952
|
$gl-feedback-success-background-color: $gl-color-green-900; // Used for the background of a success feedback item when confirming the successful completion of a user-initiated action.
|
|
953
|
+
$gl-feedback-success-border-color: $gl-color-green-600; // Used for the border of a success feedback item when confirming the successful completion of a user-initiated action.
|
|
951
954
|
$gl-feedback-success-text-color: $gl-color-green-200; // Used for the text of a success feedback item when confirming the successful completion of a user-initiated action.
|
|
952
955
|
$gl-feedback-success-icon-color: $gl-color-green-300; // Used for the icon of a success feedback item when confirming the successful completion of a user-initiated action.
|
|
953
956
|
$gl-feedback-warning-background-color: $gl-color-orange-900; // Used for the background of a warning feedback item when notifying about a potential issue or sensitive information.
|
|
957
|
+
$gl-feedback-warning-border-color: $gl-color-orange-600; // Used for the border of a warning feedback item when notifying about a potential issue or sensitive information.
|
|
954
958
|
$gl-feedback-warning-text-color: $gl-color-orange-200; // Used for the text of a warning feedback item when notifying about a potential issue or sensitive information.
|
|
955
959
|
$gl-feedback-warning-icon-color: $gl-color-orange-300; // Used for the icon of a warning feedback item when notifying about a potential issue or sensitive information.
|
|
956
960
|
$gl-feedback-danger-background-color: $gl-color-red-900; // Used for the background of a danger feedback item when notifying about a critical issue that has just occurred and requires immediate attention.
|
|
961
|
+
$gl-feedback-danger-border-color: $gl-color-red-300; // Used for the border of a danger feedback item when notifying about a critical issue that has just occurred and requires immediate attention.
|
|
957
962
|
$gl-feedback-danger-text-color: $gl-color-red-200; // Used for the text of a danger feedback item when notifying about a critical issue that has just occurred and requires immediate attention.
|
|
958
963
|
$gl-feedback-danger-icon-color: $gl-color-red-300; // Used for the icon of a danger feedback item when notifying about a critical issue that has just occurred and requires immediate attention.
|
|
959
964
|
$gl-focus-ring-outer-color: $gl-color-blue-400; // Used for the outer color portion of the focus ring.
|
|
@@ -1157,6 +1162,7 @@ $gl-button-selected-border-color-focus: $gl-button-selected-border-color-hover;
|
|
|
1157
1162
|
$gl-card-border-radius: $gl-border-radius-lg; // Used for card border radius.
|
|
1158
1163
|
$gl-chart-axis-text-color: $gl-text-color-subtle; // Used in charts for the text color of axis titles and labels.
|
|
1159
1164
|
$gl-datepicker-date-text-color-selected: $gl-control-indicator-color-selected; // Used for the datepicker date text color state indicators.
|
|
1165
|
+
$gl-drawer-border-radius: $gl-border-radius-2xl; // Used for drawer border radius.
|
|
1160
1166
|
$gl-dropdown-background-color: $gl-background-color-overlap; // Used for the background of a dropdown.
|
|
1161
1167
|
$gl-dropdown-border-color: $gl-border-color-default; // Used for the border of a dropdown.
|
|
1162
1168
|
$gl-dropdown-border-radius: $gl-border-radius-lg; // Used for the border radius of a dropdown.
|
|
@@ -1169,7 +1175,7 @@ $gl-dropdown-option-indicator-color-selected-focus: $gl-control-background-color
|
|
|
1169
1175
|
$gl-dropdown-option-indicator-color-selected-active: $gl-control-background-color-selected-focus; // Used for the dropdown selected option indicator in the active state.
|
|
1170
1176
|
$gl-dropdown-option-background-color-unselected-focus: $gl-action-neutral-background-color-focus; // Used for the background of an unselected dropdown option in the focus state.
|
|
1171
1177
|
$gl-dropdown-option-background-color-selected-focus: $gl-dropdown-option-background-color-selected-hover; // Used for the background of a selected dropdown option in the focus state.
|
|
1172
|
-
$gl-modal-border-radius: $gl-border-radius-
|
|
1178
|
+
$gl-modal-border-radius: $gl-border-radius-2xl; // Used for modal border radius.
|
|
1173
1179
|
$gl-progress-bar-indicator-color-default: $gl-status-info-icon-color; // Used for the indicator color for the primary progress-bar variant.
|
|
1174
1180
|
$gl-progress-bar-indicator-color-success: $gl-status-success-icon-color; // Used for the indicator color for the success progress-bar variant.
|
|
1175
1181
|
$gl-progress-bar-indicator-color-warning: $gl-status-warning-icon-color; // Used for the indicator color for the warning progress-bar variant.
|
|
@@ -1209,6 +1215,7 @@ $gl-action-strong-confirm-foreground-color-hover: $gl-action-strong-confirm-fore
|
|
|
1209
1215
|
$gl-action-strong-confirm-border-color-hover: $gl-action-strong-confirm-border-color-default; // Used for the border of a strong confirm action in the hover state.
|
|
1210
1216
|
$gl-action-strong-neutral-background-color-focus: $gl-action-strong-neutral-background-color-hover; // Used for the background of a strong neutral action in the focus state.
|
|
1211
1217
|
$gl-action-strong-neutral-border-color-hover: $gl-action-strong-neutral-border-color-default; // Used for the border of a strong neutral action in the hover state.
|
|
1218
|
+
$gl-control-border-color-error: $gl-feedback-danger-border-color; // Used for invalid form control (input, textarea) border.
|
|
1212
1219
|
$gl-control-border-radius: $gl-border-radius-lg; // Used for form control (input, radio button, checkbox, textarea) default border radius.
|
|
1213
1220
|
$gl-control-text-color-error: $gl-text-color-danger; // Used for the helper text when the input is invalid.
|
|
1214
1221
|
$gl-control-text-color-valid: $gl-text-color-success; // Used for the helper text when the input is valid.
|
|
@@ -914,29 +914,34 @@ $gl-control-border-color-default: $gl-color-neutral-400; // Used for form contro
|
|
|
914
914
|
$gl-control-border-color-hover: $gl-color-neutral-600; // Used for form control (input, radio button, checkbox, textarea) border on hover.
|
|
915
915
|
$gl-control-border-color-focus: $gl-color-neutral-900; // Used for form control (input, radio button, checkbox, textarea) border on focus.
|
|
916
916
|
$gl-control-border-color-disabled: $gl-color-neutral-100; // Used for disabled form control (input, radio button, checkbox, textarea) border.
|
|
917
|
-
$gl-control-border-color-error: $gl-color-red-500; // Used for invalid form control (input, textarea) border.
|
|
918
917
|
$gl-control-border-color-selected-default: $gl-color-blue-500; // Used for checked and indeterminate (selected) form control (checkbox, radio button) border.
|
|
919
918
|
$gl-control-border-color-selected-hover: $gl-color-blue-700; // Used for checked and indeterminate (selected) form control (checkbox, radio button) border on hover.
|
|
920
919
|
$gl-control-border-color-selected-focus: $gl-color-blue-700; // Used for checked and indeterminate (selected) form control (checkbox, radio button) border on focus.
|
|
921
920
|
$gl-control-indicator-color-selected: $gl-color-neutral-0; // Used for checkbox and radio button state indicators.
|
|
922
921
|
$gl-control-indicator-color-disabled: $gl-color-neutral-500; // Used for disabled checkbox and radio button state indicators.
|
|
923
922
|
$gl-feedback-strong-background-color: $gl-color-neutral-800; // Used for a background associated with strong feedback like a tooltip or toast message.
|
|
923
|
+
$gl-feedback-strong-border-color: $gl-color-neutral-1000; // Used for the border associated with strong feedback.
|
|
924
924
|
$gl-feedback-strong-text-color: $gl-color-neutral-0; // Used for text on a strong feedback background.
|
|
925
925
|
$gl-feedback-strong-icon-color: $gl-color-neutral-0; // Used for an icon on a strong feedback background.
|
|
926
926
|
$gl-feedback-strong-link-color: $gl-color-blue-300; // Used for a link on a strong feedback background.
|
|
927
927
|
$gl-feedback-neutral-background-color: $gl-color-neutral-50; // Used for the background of a neutral feedback item when there isn't a specific meaning or urgency.
|
|
928
|
+
$gl-feedback-neutral-border-color: $gl-color-neutral-200; // Used for the border of a neutral feedback item when there isn't a specific meaning or urgency.
|
|
928
929
|
$gl-feedback-neutral-text-color: $gl-color-neutral-700; // Used for the text of a neutral feedback item when there isn't a specific meaning or urgency.
|
|
929
930
|
$gl-feedback-neutral-icon-color: $gl-color-neutral-600; // Used for the icon of a neutral feedback item when there isn't a specific meaning or urgency.
|
|
930
931
|
$gl-feedback-info-background-color: $gl-color-blue-50; // Used for the background of an informational feedback item when highlighting new information or a change that doesn't require immediate action.
|
|
932
|
+
$gl-feedback-info-border-color: $gl-color-blue-200; // Used for the border of an informational feedback item when highlighting new information or a change that doesn't require immediate action.
|
|
931
933
|
$gl-feedback-info-text-color: $gl-color-blue-700; // Used for the text of an informational feedback item when highlighting new information or a change that doesn't require immediate action.
|
|
932
934
|
$gl-feedback-info-icon-color: $gl-color-blue-600; // Used for the icon of an informational feedback item when highlighting new information or a change that doesn't require immediate action.
|
|
933
935
|
$gl-feedback-success-background-color: $gl-color-green-50; // Used for the background of a success feedback item when confirming the successful completion of a user-initiated action.
|
|
936
|
+
$gl-feedback-success-border-color: $gl-color-green-200; // Used for the border of a success feedback item when confirming the successful completion of a user-initiated action.
|
|
934
937
|
$gl-feedback-success-text-color: $gl-color-green-700; // Used for the text of a success feedback item when confirming the successful completion of a user-initiated action.
|
|
935
938
|
$gl-feedback-success-icon-color: $gl-color-green-600; // Used for the icon of a success feedback item when confirming the successful completion of a user-initiated action.
|
|
936
939
|
$gl-feedback-warning-background-color: $gl-color-orange-50; // Used for the background of a warning feedback item when notifying about a potential issue or sensitive information.
|
|
940
|
+
$gl-feedback-warning-border-color: $gl-color-orange-200; // Used for the border of a warning feedback item when notifying about a potential issue or sensitive information.
|
|
937
941
|
$gl-feedback-warning-text-color: $gl-color-orange-700; // Used for the text of a warning feedback item when notifying about a potential issue or sensitive information.
|
|
938
942
|
$gl-feedback-warning-icon-color: $gl-color-orange-600; // Used for the icon of a warning feedback item when notifying about a potential issue or sensitive information.
|
|
939
943
|
$gl-feedback-danger-background-color: $gl-color-red-50; // Used for the background of a danger feedback item when notifying about a critical issue that has just occurred and requires immediate attention.
|
|
944
|
+
$gl-feedback-danger-border-color: $gl-color-red-500; // Used for the border of a danger feedback item when notifying about a critical issue that has just occurred and requires immediate attention.
|
|
940
945
|
$gl-feedback-danger-text-color: $gl-color-red-700; // Used for the text of a danger feedback item when notifying about a critical issue that has just occurred and requires immediate attention.
|
|
941
946
|
$gl-feedback-danger-icon-color: $gl-color-red-600; // Used for the icon of a danger feedback item when notifying about a critical issue that has just occurred and requires immediate attention.
|
|
942
947
|
$gl-focus-ring-outer-color: $gl-color-blue-500; // Used for the outer color portion of the focus ring.
|
|
@@ -1150,6 +1155,7 @@ $gl-button-selected-border-color-focus: $gl-button-selected-border-color-hover;
|
|
|
1150
1155
|
$gl-card-border-radius: $gl-border-radius-lg; // Used for card border radius.
|
|
1151
1156
|
$gl-chart-axis-text-color: $gl-text-color-subtle; // Used in charts for the text color of axis titles and labels.
|
|
1152
1157
|
$gl-datepicker-date-text-color-selected: $gl-control-indicator-color-selected; // Used for the datepicker date text color state indicators.
|
|
1158
|
+
$gl-drawer-border-radius: $gl-border-radius-2xl; // Used for drawer border radius.
|
|
1153
1159
|
$gl-dropdown-background-color: $gl-background-color-overlap; // Used for the background of a dropdown.
|
|
1154
1160
|
$gl-dropdown-border-color: $gl-border-color-strong; // Used for the border of a dropdown.
|
|
1155
1161
|
$gl-dropdown-border-radius: $gl-border-radius-lg; // Used for the border radius of a dropdown.
|
|
@@ -1162,7 +1168,7 @@ $gl-dropdown-option-indicator-color-selected-focus: $gl-control-background-color
|
|
|
1162
1168
|
$gl-dropdown-option-indicator-color-selected-active: $gl-control-background-color-selected-focus; // Used for the dropdown selected option indicator in the active state.
|
|
1163
1169
|
$gl-dropdown-option-background-color-unselected-focus: $gl-action-neutral-background-color-focus; // Used for the background of an unselected dropdown option in the focus state.
|
|
1164
1170
|
$gl-dropdown-option-background-color-selected-focus: $gl-dropdown-option-background-color-selected-hover; // Used for the background of a selected dropdown option in the focus state.
|
|
1165
|
-
$gl-modal-border-radius: $gl-border-radius-
|
|
1171
|
+
$gl-modal-border-radius: $gl-border-radius-2xl; // Used for modal border radius.
|
|
1166
1172
|
$gl-progress-bar-indicator-color-default: $gl-status-info-icon-color; // Used for the indicator color for the primary progress-bar variant.
|
|
1167
1173
|
$gl-progress-bar-indicator-color-success: $gl-status-success-icon-color; // Used for the indicator color for the success progress-bar variant.
|
|
1168
1174
|
$gl-progress-bar-indicator-color-warning: $gl-status-warning-icon-color; // Used for the indicator color for the warning progress-bar variant.
|
|
@@ -1203,6 +1209,7 @@ $gl-action-strong-confirm-border-color-hover: $gl-action-strong-confirm-border-c
|
|
|
1203
1209
|
$gl-action-strong-neutral-background-color-focus: $gl-action-strong-neutral-background-color-hover; // Used for the background of a strong neutral action in the focus state.
|
|
1204
1210
|
$gl-action-strong-neutral-foreground-color-hover: $gl-action-strong-neutral-foreground-color-default; // Used for the foreground of a strong neutral action in the hover state.
|
|
1205
1211
|
$gl-action-strong-neutral-border-color-hover: $gl-action-strong-neutral-border-color-default; // Used for the border of a strong neutral action in the hover state.
|
|
1212
|
+
$gl-control-border-color-error: $gl-feedback-danger-border-color; // Used for invalid form control (input, textarea) border.
|
|
1206
1213
|
$gl-control-border-radius: $gl-border-radius-lg; // Used for form control (input, radio button, checkbox, textarea) default border radius.
|
|
1207
1214
|
$gl-control-text-color-error: $gl-text-color-danger; // Used for the helper text when the input is invalid.
|
|
1208
1215
|
$gl-control-text-color-valid: $gl-text-color-success; // Used for the helper text when the input is valid.
|
|
@@ -663,6 +663,7 @@ $gl-chart-zoom-filler-color: var(--gl-chart-zoom-filler-color);
|
|
|
663
663
|
$gl-chart-zoom-handle-color: var(--gl-chart-zoom-handle-color);
|
|
664
664
|
$gl-datepicker-background-color: var(--gl-datepicker-background-color);
|
|
665
665
|
$gl-datepicker-date-text-color-selected: var(--gl-datepicker-date-text-color-selected);
|
|
666
|
+
$gl-drawer-border-radius: var(--gl-drawer-border-radius);
|
|
666
667
|
$gl-dropdown-background-color: var(--gl-dropdown-background-color);
|
|
667
668
|
$gl-dropdown-border-color: var(--gl-dropdown-border-color);
|
|
668
669
|
$gl-dropdown-border-radius: var(--gl-dropdown-border-radius);
|
|
@@ -1093,22 +1094,28 @@ $gl-control-indicator-color-selected: var(--gl-control-indicator-color-selected)
|
|
|
1093
1094
|
$gl-control-indicator-color-disabled: var(--gl-control-indicator-color-disabled);
|
|
1094
1095
|
$gl-feedback-border-radius: var(--gl-feedback-border-radius);
|
|
1095
1096
|
$gl-feedback-strong-background-color: var(--gl-feedback-strong-background-color);
|
|
1097
|
+
$gl-feedback-strong-border-color: var(--gl-feedback-strong-border-color);
|
|
1096
1098
|
$gl-feedback-strong-text-color: var(--gl-feedback-strong-text-color);
|
|
1097
1099
|
$gl-feedback-strong-icon-color: var(--gl-feedback-strong-icon-color);
|
|
1098
1100
|
$gl-feedback-strong-link-color: var(--gl-feedback-strong-link-color);
|
|
1099
1101
|
$gl-feedback-neutral-background-color: var(--gl-feedback-neutral-background-color);
|
|
1102
|
+
$gl-feedback-neutral-border-color: var(--gl-feedback-neutral-border-color);
|
|
1100
1103
|
$gl-feedback-neutral-text-color: var(--gl-feedback-neutral-text-color);
|
|
1101
1104
|
$gl-feedback-neutral-icon-color: var(--gl-feedback-neutral-icon-color);
|
|
1102
1105
|
$gl-feedback-info-background-color: var(--gl-feedback-info-background-color);
|
|
1106
|
+
$gl-feedback-info-border-color: var(--gl-feedback-info-border-color);
|
|
1103
1107
|
$gl-feedback-info-text-color: var(--gl-feedback-info-text-color);
|
|
1104
1108
|
$gl-feedback-info-icon-color: var(--gl-feedback-info-icon-color);
|
|
1105
1109
|
$gl-feedback-success-background-color: var(--gl-feedback-success-background-color);
|
|
1110
|
+
$gl-feedback-success-border-color: var(--gl-feedback-success-border-color);
|
|
1106
1111
|
$gl-feedback-success-text-color: var(--gl-feedback-success-text-color);
|
|
1107
1112
|
$gl-feedback-success-icon-color: var(--gl-feedback-success-icon-color);
|
|
1108
1113
|
$gl-feedback-warning-background-color: var(--gl-feedback-warning-background-color);
|
|
1114
|
+
$gl-feedback-warning-border-color: var(--gl-feedback-warning-border-color);
|
|
1109
1115
|
$gl-feedback-warning-text-color: var(--gl-feedback-warning-text-color);
|
|
1110
1116
|
$gl-feedback-warning-icon-color: var(--gl-feedback-warning-icon-color);
|
|
1111
1117
|
$gl-feedback-danger-background-color: var(--gl-feedback-danger-background-color);
|
|
1118
|
+
$gl-feedback-danger-border-color: var(--gl-feedback-danger-border-color);
|
|
1112
1119
|
$gl-feedback-danger-text-color: var(--gl-feedback-danger-text-color);
|
|
1113
1120
|
$gl-feedback-danger-icon-color: var(--gl-feedback-danger-icon-color);
|
|
1114
1121
|
$gl-focus-ring-outer-color: var(--gl-focus-ring-outer-color);
|
|
@@ -329,6 +329,14 @@ const feedbackBackgroundColors = {
|
|
|
329
329
|
'feedback-warning': 'var(--gl-feedback-warning-background-color)',
|
|
330
330
|
'feedback-danger': 'var(--gl-feedback-danger-background-color)',
|
|
331
331
|
};
|
|
332
|
+
const feedbackBorderColors = {
|
|
333
|
+
'feedback-strong': 'var(--gl-feedback-strong-border-color)',
|
|
334
|
+
'feedback-neutral': 'var(--gl-feedback-neutral-border-color)',
|
|
335
|
+
'feedback-info': 'var(--gl-feedback-info-border-color)',
|
|
336
|
+
'feedback-success': 'var(--gl-feedback-success-border-color)',
|
|
337
|
+
'feedback-warning': 'var(--gl-feedback-warning-border-color)',
|
|
338
|
+
'feedback-danger': 'var(--gl-feedback-danger-border-color)',
|
|
339
|
+
};
|
|
332
340
|
const feedbackTextColors = {
|
|
333
341
|
'feedback-strong': 'var(--gl-feedback-strong-text-color)',
|
|
334
342
|
'feedback-neutral': 'var(--gl-feedback-neutral-text-color)',
|
|
@@ -504,6 +512,7 @@ const backgroundColor = {
|
|
|
504
512
|
const borderColor = {
|
|
505
513
|
...colors,
|
|
506
514
|
...borderColors,
|
|
515
|
+
...feedbackBorderColors,
|
|
507
516
|
dropdown: 'var(--gl-dropdown-border-color)',
|
|
508
517
|
'dropdown-divider': 'var(--gl-dropdown-divider-color)',
|
|
509
518
|
control: {
|
|
@@ -159,10 +159,7 @@
|
|
|
159
159
|
}
|
|
160
160
|
},
|
|
161
161
|
"error": {
|
|
162
|
-
"$value": {
|
|
163
|
-
"default": "{color.red.500}",
|
|
164
|
-
"dark": "{color.red.300}"
|
|
165
|
-
},
|
|
162
|
+
"$value": "{feedback.danger.border.color}",
|
|
166
163
|
"$type": "color",
|
|
167
164
|
"$description": "Used for invalid form control (input, textarea) border.",
|
|
168
165
|
"$extensions": {
|