@gitlab/ui 115.7.0 → 115.9.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.
- package/dist/components/charts/line/line.js +9 -1
- package/dist/components/charts/shared/tooltip/tooltip.js +116 -16
- package/dist/tailwind.css +1 -1
- package/dist/tailwind.css.map +1 -1
- package/dist/tokens/docs/tokens-tailwind-docs.dark.json +364 -0
- package/dist/tokens/docs/tokens-tailwind-docs.json +364 -0
- package/dist/tokens/tailwind/tokens.cjs +16 -0
- package/package.json +2 -2
- package/src/components/charts/line/line.vue +9 -0
- package/src/components/charts/shared/tooltip/tooltip.vue +115 -18
- package/src/tokens/build/docs/tokens-tailwind-docs.dark.json +364 -0
- package/src/tokens/build/docs/tokens-tailwind-docs.json +364 -0
- package/src/tokens/build/tailwind/tokens.cjs +18 -0
- package/tailwind.defaults.js +21 -0
|
@@ -8724,6 +8724,160 @@
|
|
|
8724
8724
|
"color"
|
|
8725
8725
|
],
|
|
8726
8726
|
"cssWithValue": "var(--gl-dropdown-background-color, var(--gl-background-color-overlap, #fff))"
|
|
8727
|
+
},
|
|
8728
|
+
"control": {
|
|
8729
|
+
"default": {
|
|
8730
|
+
"key": "{control.background.color.default}",
|
|
8731
|
+
"$value": "#fff",
|
|
8732
|
+
"$type": "color",
|
|
8733
|
+
"$description": "Used for form control (input, radio button, checkbox, textarea) default background.",
|
|
8734
|
+
"$extensions": {
|
|
8735
|
+
"com.figma.scope": [
|
|
8736
|
+
"FRAME_FILL",
|
|
8737
|
+
"SHAPE_FILL"
|
|
8738
|
+
]
|
|
8739
|
+
},
|
|
8740
|
+
"filePath": "src/tokens/semantic/control.tokens.json",
|
|
8741
|
+
"isSource": true,
|
|
8742
|
+
"original": {
|
|
8743
|
+
"$value": {
|
|
8744
|
+
"default": "{color.neutral.0}",
|
|
8745
|
+
"dark": "{color.alpha.dark.40}"
|
|
8746
|
+
},
|
|
8747
|
+
"$type": "color",
|
|
8748
|
+
"$description": "Used for form control (input, radio button, checkbox, textarea) default background.",
|
|
8749
|
+
"$extensions": {
|
|
8750
|
+
"com.figma.scope": [
|
|
8751
|
+
"FRAME_FILL",
|
|
8752
|
+
"SHAPE_FILL"
|
|
8753
|
+
]
|
|
8754
|
+
},
|
|
8755
|
+
"key": "{control.background.color.default}"
|
|
8756
|
+
},
|
|
8757
|
+
"name": "CONTROL_BACKGROUND_COLOR_DEFAULT",
|
|
8758
|
+
"attributes": {},
|
|
8759
|
+
"path": [
|
|
8760
|
+
"control",
|
|
8761
|
+
"background",
|
|
8762
|
+
"color",
|
|
8763
|
+
"default"
|
|
8764
|
+
],
|
|
8765
|
+
"cssWithValue": "var(--gl-control-background-color-default, var(--gl-color-neutral-0, #fff))"
|
|
8766
|
+
},
|
|
8767
|
+
"disabled": {
|
|
8768
|
+
"key": "{control.background.color.disabled}",
|
|
8769
|
+
"$value": "#fbfafd",
|
|
8770
|
+
"$type": "color",
|
|
8771
|
+
"$description": "Used for disabled form control (checkbox, input, radio button, textarea) background.",
|
|
8772
|
+
"$extensions": {
|
|
8773
|
+
"com.figma.scope": [
|
|
8774
|
+
"FRAME_FILL",
|
|
8775
|
+
"SHAPE_FILL"
|
|
8776
|
+
]
|
|
8777
|
+
},
|
|
8778
|
+
"filePath": "src/tokens/semantic/control.tokens.json",
|
|
8779
|
+
"isSource": true,
|
|
8780
|
+
"original": {
|
|
8781
|
+
"$value": {
|
|
8782
|
+
"default": "{color.neutral.10}",
|
|
8783
|
+
"dark": "{color.alpha.light.4}"
|
|
8784
|
+
},
|
|
8785
|
+
"$type": "color",
|
|
8786
|
+
"$description": "Used for disabled form control (checkbox, input, radio button, textarea) background.",
|
|
8787
|
+
"$extensions": {
|
|
8788
|
+
"com.figma.scope": [
|
|
8789
|
+
"FRAME_FILL",
|
|
8790
|
+
"SHAPE_FILL"
|
|
8791
|
+
]
|
|
8792
|
+
},
|
|
8793
|
+
"key": "{control.background.color.disabled}"
|
|
8794
|
+
},
|
|
8795
|
+
"name": "CONTROL_BACKGROUND_COLOR_DISABLED",
|
|
8796
|
+
"attributes": {},
|
|
8797
|
+
"path": [
|
|
8798
|
+
"control",
|
|
8799
|
+
"background",
|
|
8800
|
+
"color",
|
|
8801
|
+
"disabled"
|
|
8802
|
+
],
|
|
8803
|
+
"cssWithValue": "var(--gl-control-background-color-disabled, var(--gl-color-neutral-10, #fbfafd))"
|
|
8804
|
+
},
|
|
8805
|
+
"concatenation": {
|
|
8806
|
+
"key": "{control.background.color.concatenation}",
|
|
8807
|
+
"$value": "#fbfafd",
|
|
8808
|
+
"$type": "color",
|
|
8809
|
+
"$description": "Used for the background of static content that prepends or appends a text input.",
|
|
8810
|
+
"$extensions": {
|
|
8811
|
+
"com.figma.scope": [
|
|
8812
|
+
"FRAME_FILL",
|
|
8813
|
+
"SHAPE_FILL"
|
|
8814
|
+
]
|
|
8815
|
+
},
|
|
8816
|
+
"filePath": "src/tokens/semantic/control.tokens.json",
|
|
8817
|
+
"isSource": true,
|
|
8818
|
+
"original": {
|
|
8819
|
+
"$value": {
|
|
8820
|
+
"default": "{color.neutral.10}",
|
|
8821
|
+
"dark": "{color.alpha.light.4}"
|
|
8822
|
+
},
|
|
8823
|
+
"$type": "color",
|
|
8824
|
+
"$description": "Used for the background of static content that prepends or appends a text input.",
|
|
8825
|
+
"$extensions": {
|
|
8826
|
+
"com.figma.scope": [
|
|
8827
|
+
"FRAME_FILL",
|
|
8828
|
+
"SHAPE_FILL"
|
|
8829
|
+
]
|
|
8830
|
+
},
|
|
8831
|
+
"key": "{control.background.color.concatenation}"
|
|
8832
|
+
},
|
|
8833
|
+
"name": "CONTROL_BACKGROUND_COLOR_CONCATENATION",
|
|
8834
|
+
"attributes": {},
|
|
8835
|
+
"path": [
|
|
8836
|
+
"control",
|
|
8837
|
+
"background",
|
|
8838
|
+
"color",
|
|
8839
|
+
"concatenation"
|
|
8840
|
+
],
|
|
8841
|
+
"cssWithValue": "var(--gl-control-background-color-concatenation, var(--gl-color-neutral-10, #fbfafd))"
|
|
8842
|
+
},
|
|
8843
|
+
"readonly": {
|
|
8844
|
+
"key": "{control.background.color.readonly}",
|
|
8845
|
+
"$value": "rgba(05, 05, 06, 0.02)",
|
|
8846
|
+
"$type": "color",
|
|
8847
|
+
"$description": "Used for the background of static content that prepends or appends a text input.",
|
|
8848
|
+
"$extensions": {
|
|
8849
|
+
"com.figma.scope": [
|
|
8850
|
+
"FRAME_FILL",
|
|
8851
|
+
"SHAPE_FILL"
|
|
8852
|
+
]
|
|
8853
|
+
},
|
|
8854
|
+
"filePath": "src/tokens/semantic/control.tokens.json",
|
|
8855
|
+
"isSource": true,
|
|
8856
|
+
"original": {
|
|
8857
|
+
"$value": {
|
|
8858
|
+
"default": "{color.alpha.dark.2}",
|
|
8859
|
+
"dark": "{color.alpha.light.8}"
|
|
8860
|
+
},
|
|
8861
|
+
"$type": "color",
|
|
8862
|
+
"$description": "Used for the background of static content that prepends or appends a text input.",
|
|
8863
|
+
"$extensions": {
|
|
8864
|
+
"com.figma.scope": [
|
|
8865
|
+
"FRAME_FILL",
|
|
8866
|
+
"SHAPE_FILL"
|
|
8867
|
+
]
|
|
8868
|
+
},
|
|
8869
|
+
"key": "{control.background.color.readonly}"
|
|
8870
|
+
},
|
|
8871
|
+
"name": "CONTROL_BACKGROUND_COLOR_READONLY",
|
|
8872
|
+
"attributes": {},
|
|
8873
|
+
"path": [
|
|
8874
|
+
"control",
|
|
8875
|
+
"background",
|
|
8876
|
+
"color",
|
|
8877
|
+
"readonly"
|
|
8878
|
+
],
|
|
8879
|
+
"cssWithValue": "var(--gl-control-background-color-readonly, var(--gl-color-alpha-dark-2, rgba(05, 05, 06, 0.02)))"
|
|
8880
|
+
}
|
|
8727
8881
|
}
|
|
8728
8882
|
},
|
|
8729
8883
|
"border": {
|
|
@@ -16947,6 +17101,116 @@
|
|
|
16947
17101
|
"color"
|
|
16948
17102
|
],
|
|
16949
17103
|
"cssWithValue": "var(--gl-dropdown-divider-color, var(--gl-border-color-default, #dcdcde))"
|
|
17104
|
+
},
|
|
17105
|
+
"control": {
|
|
17106
|
+
"default": {
|
|
17107
|
+
"key": "{control.border.color.default}",
|
|
17108
|
+
"$value": "#89888d",
|
|
17109
|
+
"$type": "color",
|
|
17110
|
+
"$description": "Used for form control (input, radio button, checkbox, textarea) default border.",
|
|
17111
|
+
"$extensions": {
|
|
17112
|
+
"com.figma.scope": [
|
|
17113
|
+
"STROKE_COLOR"
|
|
17114
|
+
]
|
|
17115
|
+
},
|
|
17116
|
+
"filePath": "src/tokens/semantic/control.tokens.json",
|
|
17117
|
+
"isSource": true,
|
|
17118
|
+
"original": {
|
|
17119
|
+
"$value": {
|
|
17120
|
+
"default": "{color.neutral.400}",
|
|
17121
|
+
"dark": "{color.neutral.500}"
|
|
17122
|
+
},
|
|
17123
|
+
"$type": "color",
|
|
17124
|
+
"$description": "Used for form control (input, radio button, checkbox, textarea) default border.",
|
|
17125
|
+
"$extensions": {
|
|
17126
|
+
"com.figma.scope": [
|
|
17127
|
+
"STROKE_COLOR"
|
|
17128
|
+
]
|
|
17129
|
+
},
|
|
17130
|
+
"key": "{control.border.color.default}"
|
|
17131
|
+
},
|
|
17132
|
+
"name": "CONTROL_BORDER_COLOR_DEFAULT",
|
|
17133
|
+
"attributes": {},
|
|
17134
|
+
"path": [
|
|
17135
|
+
"control",
|
|
17136
|
+
"border",
|
|
17137
|
+
"color",
|
|
17138
|
+
"default"
|
|
17139
|
+
],
|
|
17140
|
+
"cssWithValue": "var(--gl-control-border-color-default, var(--gl-color-neutral-400, #89888d))"
|
|
17141
|
+
},
|
|
17142
|
+
"disabled": {
|
|
17143
|
+
"key": "{control.border.color.disabled}",
|
|
17144
|
+
"$value": "#dcdcde",
|
|
17145
|
+
"$type": "color",
|
|
17146
|
+
"$description": "Used for disabled form control (input, radio button, checkbox, textarea) border.",
|
|
17147
|
+
"$extensions": {
|
|
17148
|
+
"com.figma.scope": [
|
|
17149
|
+
"STROKE_COLOR"
|
|
17150
|
+
]
|
|
17151
|
+
},
|
|
17152
|
+
"filePath": "src/tokens/semantic/control.tokens.json",
|
|
17153
|
+
"isSource": true,
|
|
17154
|
+
"original": {
|
|
17155
|
+
"$value": {
|
|
17156
|
+
"default": "{color.neutral.100}",
|
|
17157
|
+
"dark": "{color.neutral.800}"
|
|
17158
|
+
},
|
|
17159
|
+
"$type": "color",
|
|
17160
|
+
"$description": "Used for disabled form control (input, radio button, checkbox, textarea) border.",
|
|
17161
|
+
"$extensions": {
|
|
17162
|
+
"com.figma.scope": [
|
|
17163
|
+
"STROKE_COLOR"
|
|
17164
|
+
]
|
|
17165
|
+
},
|
|
17166
|
+
"key": "{control.border.color.disabled}"
|
|
17167
|
+
},
|
|
17168
|
+
"name": "CONTROL_BORDER_COLOR_DISABLED",
|
|
17169
|
+
"attributes": {},
|
|
17170
|
+
"path": [
|
|
17171
|
+
"control",
|
|
17172
|
+
"border",
|
|
17173
|
+
"color",
|
|
17174
|
+
"disabled"
|
|
17175
|
+
],
|
|
17176
|
+
"cssWithValue": "var(--gl-control-border-color-disabled, var(--gl-color-neutral-100, #dcdcde))"
|
|
17177
|
+
},
|
|
17178
|
+
"error": {
|
|
17179
|
+
"key": "{control.border.color.error}",
|
|
17180
|
+
"$value": "#dd2b0e",
|
|
17181
|
+
"$type": "color",
|
|
17182
|
+
"$description": "Used for invalid form control (input, textarea) border.",
|
|
17183
|
+
"$extensions": {
|
|
17184
|
+
"com.figma.scope": [
|
|
17185
|
+
"STROKE_COLOR"
|
|
17186
|
+
]
|
|
17187
|
+
},
|
|
17188
|
+
"filePath": "src/tokens/semantic/control.tokens.json",
|
|
17189
|
+
"isSource": true,
|
|
17190
|
+
"original": {
|
|
17191
|
+
"$value": {
|
|
17192
|
+
"default": "{color.red.500}",
|
|
17193
|
+
"dark": "{color.red.300}"
|
|
17194
|
+
},
|
|
17195
|
+
"$type": "color",
|
|
17196
|
+
"$description": "Used for invalid form control (input, textarea) border.",
|
|
17197
|
+
"$extensions": {
|
|
17198
|
+
"com.figma.scope": [
|
|
17199
|
+
"STROKE_COLOR"
|
|
17200
|
+
]
|
|
17201
|
+
},
|
|
17202
|
+
"key": "{control.border.color.error}"
|
|
17203
|
+
},
|
|
17204
|
+
"name": "CONTROL_BORDER_COLOR_ERROR",
|
|
17205
|
+
"attributes": {},
|
|
17206
|
+
"path": [
|
|
17207
|
+
"control",
|
|
17208
|
+
"border",
|
|
17209
|
+
"color",
|
|
17210
|
+
"error"
|
|
17211
|
+
],
|
|
17212
|
+
"cssWithValue": "var(--gl-control-border-color-error, var(--gl-color-red-500, #dd2b0e))"
|
|
17213
|
+
}
|
|
16950
17214
|
}
|
|
16951
17215
|
},
|
|
16952
17216
|
"fill": {
|
|
@@ -34523,6 +34787,106 @@
|
|
|
34523
34787
|
"tertiary"
|
|
34524
34788
|
],
|
|
34525
34789
|
"cssWithValue": "var(--gl-text-tertiary, #89888d)"
|
|
34790
|
+
},
|
|
34791
|
+
"control": {
|
|
34792
|
+
"placeholder": {
|
|
34793
|
+
"key": "{control.placeholder.color}",
|
|
34794
|
+
"$value": "#89888d",
|
|
34795
|
+
"$type": "color",
|
|
34796
|
+
"$description": "Used for placeholder text within inputs.",
|
|
34797
|
+
"$extensions": {
|
|
34798
|
+
"com.figma.scope": [
|
|
34799
|
+
"TEXT_FILL"
|
|
34800
|
+
]
|
|
34801
|
+
},
|
|
34802
|
+
"filePath": "src/tokens/semantic/control.tokens.json",
|
|
34803
|
+
"isSource": true,
|
|
34804
|
+
"original": {
|
|
34805
|
+
"$value": "{text.color.disabled}",
|
|
34806
|
+
"$type": "color",
|
|
34807
|
+
"$description": "Used for placeholder text within inputs.",
|
|
34808
|
+
"$extensions": {
|
|
34809
|
+
"com.figma.scope": [
|
|
34810
|
+
"TEXT_FILL"
|
|
34811
|
+
]
|
|
34812
|
+
},
|
|
34813
|
+
"key": "{control.placeholder.color}"
|
|
34814
|
+
},
|
|
34815
|
+
"name": "CONTROL_PLACEHOLDER_COLOR",
|
|
34816
|
+
"attributes": {},
|
|
34817
|
+
"path": [
|
|
34818
|
+
"control",
|
|
34819
|
+
"placeholder",
|
|
34820
|
+
"color"
|
|
34821
|
+
],
|
|
34822
|
+
"cssWithValue": "var(--gl-control-placeholder-color, var(--gl-text-color-disabled, #89888d))"
|
|
34823
|
+
},
|
|
34824
|
+
"error": {
|
|
34825
|
+
"key": "{control.text.color.error}",
|
|
34826
|
+
"$value": "#c02f12",
|
|
34827
|
+
"$type": "color",
|
|
34828
|
+
"$description": "Used for the helper text when the input is invalid.",
|
|
34829
|
+
"$extensions": {
|
|
34830
|
+
"com.figma.scope": [
|
|
34831
|
+
"TEXT_FILL"
|
|
34832
|
+
]
|
|
34833
|
+
},
|
|
34834
|
+
"filePath": "src/tokens/semantic/control.tokens.json",
|
|
34835
|
+
"isSource": true,
|
|
34836
|
+
"original": {
|
|
34837
|
+
"$value": "{text.color.danger}",
|
|
34838
|
+
"$type": "color",
|
|
34839
|
+
"$description": "Used for the helper text when the input is invalid.",
|
|
34840
|
+
"$extensions": {
|
|
34841
|
+
"com.figma.scope": [
|
|
34842
|
+
"TEXT_FILL"
|
|
34843
|
+
]
|
|
34844
|
+
},
|
|
34845
|
+
"key": "{control.text.color.error}"
|
|
34846
|
+
},
|
|
34847
|
+
"name": "CONTROL_TEXT_COLOR_ERROR",
|
|
34848
|
+
"attributes": {},
|
|
34849
|
+
"path": [
|
|
34850
|
+
"control",
|
|
34851
|
+
"text",
|
|
34852
|
+
"color",
|
|
34853
|
+
"error"
|
|
34854
|
+
],
|
|
34855
|
+
"cssWithValue": "var(--gl-control-text-color-error, var(--gl-text-color-danger, #c02f12))"
|
|
34856
|
+
},
|
|
34857
|
+
"valid": {
|
|
34858
|
+
"key": "{control.text.color.valid}",
|
|
34859
|
+
"$value": "#2f7549",
|
|
34860
|
+
"$type": "color",
|
|
34861
|
+
"$description": "Used for the helper text when the input is valid.",
|
|
34862
|
+
"$extensions": {
|
|
34863
|
+
"com.figma.scope": [
|
|
34864
|
+
"TEXT_FILL"
|
|
34865
|
+
]
|
|
34866
|
+
},
|
|
34867
|
+
"filePath": "src/tokens/semantic/control.tokens.json",
|
|
34868
|
+
"isSource": true,
|
|
34869
|
+
"original": {
|
|
34870
|
+
"$value": "{text.color.success}",
|
|
34871
|
+
"$type": "color",
|
|
34872
|
+
"$description": "Used for the helper text when the input is valid.",
|
|
34873
|
+
"$extensions": {
|
|
34874
|
+
"com.figma.scope": [
|
|
34875
|
+
"TEXT_FILL"
|
|
34876
|
+
]
|
|
34877
|
+
},
|
|
34878
|
+
"key": "{control.text.color.valid}"
|
|
34879
|
+
},
|
|
34880
|
+
"name": "CONTROL_TEXT_COLOR_VALID",
|
|
34881
|
+
"attributes": {},
|
|
34882
|
+
"path": [
|
|
34883
|
+
"control",
|
|
34884
|
+
"text",
|
|
34885
|
+
"color",
|
|
34886
|
+
"valid"
|
|
34887
|
+
],
|
|
34888
|
+
"cssWithValue": "var(--gl-control-text-color-valid, var(--gl-text-color-success, #2f7549))"
|
|
34889
|
+
}
|
|
34526
34890
|
}
|
|
34527
34891
|
},
|
|
34528
34892
|
"outline": {
|
|
@@ -376,6 +376,14 @@ const backgroundColor = {
|
|
|
376
376
|
...statusBackgroundColors,
|
|
377
377
|
...feedbackBackgroundColors,
|
|
378
378
|
dropdown: 'var(--gl-dropdown-background-color, var(--gl-background-color-overlap, #fff))',
|
|
379
|
+
control: {
|
|
380
|
+
default: 'var(--gl-control-background-color-default, var(--gl-color-neutral-0, #fff))',
|
|
381
|
+
disabled: 'var(--gl-control-background-color-disabled, var(--gl-color-neutral-10, #fbfafd))',
|
|
382
|
+
concatenation:
|
|
383
|
+
'var(--gl-control-background-color-concatenation, var(--gl-color-neutral-10, #fbfafd))',
|
|
384
|
+
readonly:
|
|
385
|
+
'var(--gl-control-background-color-readonly, var(--gl-color-alpha-dark-2, rgba(05, 05, 06, 0.02)))',
|
|
386
|
+
},
|
|
379
387
|
};
|
|
380
388
|
|
|
381
389
|
const borderColor = {
|
|
@@ -383,6 +391,11 @@ const borderColor = {
|
|
|
383
391
|
...borderColors,
|
|
384
392
|
dropdown: 'var(--gl-dropdown-border-color, var(--gl-border-color-strong, #bfbfc3))',
|
|
385
393
|
'dropdown-divider': 'var(--gl-dropdown-divider-color, var(--gl-border-color-default, #dcdcde))',
|
|
394
|
+
control: {
|
|
395
|
+
default: 'var(--gl-control-border-color-default, var(--gl-color-neutral-400, #89888d))',
|
|
396
|
+
disabled: 'var(--gl-control-border-color-disabled, var(--gl-color-neutral-100, #dcdcde))',
|
|
397
|
+
error: 'var(--gl-control-border-color-error, var(--gl-color-red-500, #dd2b0e))',
|
|
398
|
+
},
|
|
386
399
|
};
|
|
387
400
|
|
|
388
401
|
const outlineColor = {
|
|
@@ -406,6 +419,11 @@ const textColor = {
|
|
|
406
419
|
primary: 'var(--gl-text-primary, #28272d)',
|
|
407
420
|
secondary: 'var(--gl-text-secondary, #737278)',
|
|
408
421
|
tertiary: 'var(--gl-text-tertiary, #89888d)',
|
|
422
|
+
control: {
|
|
423
|
+
placeholder: 'var(--gl-control-placeholder-color, var(--gl-text-color-disabled, #89888d))',
|
|
424
|
+
error: 'var(--gl-control-text-color-error, var(--gl-text-color-danger, #c02f12))',
|
|
425
|
+
valid: 'var(--gl-control-text-color-valid, var(--gl-text-color-success, #2f7549))',
|
|
426
|
+
},
|
|
409
427
|
};
|
|
410
428
|
|
|
411
429
|
module.exports = {
|
package/tailwind.defaults.js
CHANGED
|
@@ -73,6 +73,15 @@ function addCustomDefinitions({ addComponents, addUtilities }) {
|
|
|
73
73
|
},
|
|
74
74
|
},
|
|
75
75
|
},
|
|
76
|
+
'.bg-control': {
|
|
77
|
+
'background-color': 'var(--gl-control-background-color-default)',
|
|
78
|
+
'&:disabled': {
|
|
79
|
+
'background-color': 'var(--gl-control-background-color-disabled)',
|
|
80
|
+
},
|
|
81
|
+
'&:readonly': {
|
|
82
|
+
'background-color': 'var(--gl-control-background-color-readonly)',
|
|
83
|
+
},
|
|
84
|
+
},
|
|
76
85
|
'.border': {
|
|
77
86
|
'border-style': 'solid',
|
|
78
87
|
'border-color': 'var(--gl-border-color-default)',
|
|
@@ -93,6 +102,18 @@ function addCustomDefinitions({ addComponents, addUtilities }) {
|
|
|
93
102
|
'border-left-style': 'solid',
|
|
94
103
|
'border-left-color': 'var(--gl-border-color-default)',
|
|
95
104
|
},
|
|
105
|
+
'.border-control': {
|
|
106
|
+
'border-color': 'var(--gl-control-border-color-default)',
|
|
107
|
+
'&:hover': {
|
|
108
|
+
'border-color': 'var(--gl-control-border-color-hover)',
|
|
109
|
+
},
|
|
110
|
+
'&:focus': {
|
|
111
|
+
'border-color': 'var(--gl-control-border-color-focus)',
|
|
112
|
+
},
|
|
113
|
+
'&:disabled': {
|
|
114
|
+
'border-color': 'var(--gl-control-border-color-disabled)',
|
|
115
|
+
},
|
|
116
|
+
},
|
|
96
117
|
'.str-truncated': {
|
|
97
118
|
display: 'inline-block',
|
|
98
119
|
overflow: 'hidden',
|