@gitlab/ui 128.15.0 → 128.15.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/components/base/form/form_checkbox/form_checkbox.js +15 -1
- package/dist/components/base/form/form_checkbox/form_checkbox_group.js +5 -0
- package/dist/index.css +1 -1
- package/dist/index.css.map +1 -1
- package/dist/tokens/build/js/tokens.js +1 -1
- package/package.json +2 -2
- package/src/components/base/form/form_checkbox/form_checkbox.vue +17 -1
- package/src/components/base/form/form_checkbox/form_checkbox_group.vue +7 -0
- package/src/tokens/build/css/tokens.css +1 -1
- package/src/tokens/build/css/tokens.dark.css +1 -1
- package/src/tokens/build/docs/tokens-tailwind-docs.dark.json +3 -3
- package/src/tokens/build/docs/tokens-tailwind-docs.json +4 -4
- package/src/tokens/build/figma/constants.dark.json +1 -1
- package/src/tokens/build/figma/constants.json +1 -1
- package/src/tokens/build/figma/mode.dark.json +4 -2
- package/src/tokens/build/figma/mode.json +4 -2
- package/src/tokens/build/js/tokens.js +1 -1
- package/src/tokens/build/json/tokens.dark.json +9 -5
- package/src/tokens/build/json/tokens.json +10 -6
- package/src/tokens/build/scss/_tokens.dark.scss +1 -1
- package/src/tokens/build/scss/_tokens.scss +1 -1
- package/src/tokens/constant/border.tokens.json +1 -1
- package/src/tokens/semantic/control.tokens.json +4 -1
- package/src/tokens/semantic/heading.tokens.json +3 -1
|
@@ -1137,7 +1137,7 @@ const GL_CONTROL_BORDER_COLOR_SELECTED_FOCUS = '#2f5ca0';
|
|
|
1137
1137
|
const GL_CONTROL_BORDER_RADIUS = '0.5rem';
|
|
1138
1138
|
const GL_CONTROL_TEXT_COLOR_ERROR = '#c02f12';
|
|
1139
1139
|
const GL_CONTROL_TEXT_COLOR_VALID = '#2f7549';
|
|
1140
|
-
const GL_CONTROL_PLACEHOLDER_COLOR = '#
|
|
1140
|
+
const GL_CONTROL_PLACEHOLDER_COLOR = '#737278';
|
|
1141
1141
|
const GL_CONTROL_INDICATOR_COLOR_SELECTED = '#fff';
|
|
1142
1142
|
const GL_CONTROL_INDICATOR_COLOR_DISABLED = '#737278';
|
|
1143
1143
|
const GL_FEEDBACK_BORDER_RADIUS = '0.5rem';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gitlab/ui",
|
|
3
|
-
"version": "128.15.
|
|
3
|
+
"version": "128.15.1",
|
|
4
4
|
"description": "GitLab UI Components",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -132,7 +132,7 @@
|
|
|
132
132
|
"autoprefixer": "10.4.27",
|
|
133
133
|
"axe-playwright": "^2.2.2",
|
|
134
134
|
"babel-loader": "^9.2.1",
|
|
135
|
-
"cypress": "15.
|
|
135
|
+
"cypress": "15.11.0",
|
|
136
136
|
"cypress-real-events": "^1.15.0",
|
|
137
137
|
"dompurify": "^3.1.2",
|
|
138
138
|
"emoji-regex": "^10.6.0",
|
|
@@ -208,6 +208,11 @@ export default {
|
|
|
208
208
|
},
|
|
209
209
|
computedLocalCheckedWatcher(newValue, oldValue) {
|
|
210
210
|
if (!looseEqual(newValue, oldValue)) {
|
|
211
|
+
/**
|
|
212
|
+
* Emitted when checked state is changed.
|
|
213
|
+
*
|
|
214
|
+
* @event input
|
|
215
|
+
*/
|
|
211
216
|
this.$emit('input', newValue);
|
|
212
217
|
|
|
213
218
|
const { input } = this.$refs;
|
|
@@ -237,11 +242,20 @@ export default {
|
|
|
237
242
|
|
|
238
243
|
// Fire events in a `$nextTick()` to ensure the `v-model` is updated
|
|
239
244
|
this.$nextTick(() => {
|
|
240
|
-
|
|
245
|
+
/**
|
|
246
|
+
* Emitted when selected value(s) is changed due to user interaction.
|
|
247
|
+
*
|
|
248
|
+
* @event change
|
|
249
|
+
*/
|
|
241
250
|
this.$emit('change', localChecked);
|
|
242
251
|
|
|
243
252
|
// If this is a child of a group, we emit a change event on it as well
|
|
244
253
|
if (this.isGroup) {
|
|
254
|
+
/**
|
|
255
|
+
* Emitted when selected value(s) is changed due to user interaction.
|
|
256
|
+
*
|
|
257
|
+
* @event change
|
|
258
|
+
*/
|
|
245
259
|
this.group.$emit('change', localChecked);
|
|
246
260
|
}
|
|
247
261
|
|
|
@@ -285,8 +299,10 @@ export default {
|
|
|
285
299
|
@change="handleChange"
|
|
286
300
|
/>
|
|
287
301
|
<label :for="internalId" class="custom-control-label">
|
|
302
|
+
<!-- @slot The checkbox content to display. -->
|
|
288
303
|
<slot></slot>
|
|
289
304
|
<p v-if="Boolean($scopedSlots.help)" class="help-text">
|
|
305
|
+
<!-- @slot The help text to display. -->
|
|
290
306
|
<slot name="help"></slot>
|
|
291
307
|
</p>
|
|
292
308
|
</label>
|
|
@@ -141,6 +141,11 @@ export default {
|
|
|
141
141
|
},
|
|
142
142
|
localChecked(newValue, oldValue) {
|
|
143
143
|
if (!looseEqual(newValue, oldValue)) {
|
|
144
|
+
/**
|
|
145
|
+
* Emitted when the checked value is changed.
|
|
146
|
+
*
|
|
147
|
+
* @event input
|
|
148
|
+
*/
|
|
144
149
|
this.$emit('input', newValue);
|
|
145
150
|
}
|
|
146
151
|
},
|
|
@@ -155,6 +160,7 @@ export default {
|
|
|
155
160
|
tabindex="-1"
|
|
156
161
|
class="gl-form-checkbox-group gl-outline-none"
|
|
157
162
|
>
|
|
163
|
+
<!-- @slot Slot for GlFormCheckboxes that will appear before checkboxes generated from options prop -->
|
|
158
164
|
<slot name="first"></slot>
|
|
159
165
|
<gl-form-checkbox
|
|
160
166
|
v-for="(option, idx) in formOptions"
|
|
@@ -166,6 +172,7 @@ export default {
|
|
|
166
172
|
<span v-if="option.html" v-safe-html="option.html"></span>
|
|
167
173
|
<span v-else>{{ option.text }}</span>
|
|
168
174
|
</gl-form-checkbox>
|
|
175
|
+
<!-- @slot Slot for GlFormCheckboxes that will appear after checkboxes generated from options prop -->
|
|
169
176
|
<slot></slot>
|
|
170
177
|
</div>
|
|
171
178
|
</template>
|
|
@@ -919,6 +919,7 @@
|
|
|
919
919
|
--gl-control-border-color-selected-default: var(--gl-color-blue-500); /** Used for checked and indeterminate (selected) form control (checkbox, radio button) border. */
|
|
920
920
|
--gl-control-border-color-selected-hover: var(--gl-color-blue-700); /** Used for checked and indeterminate (selected) form control (checkbox, radio button) border on hover. */
|
|
921
921
|
--gl-control-border-color-selected-focus: var(--gl-color-blue-700); /** Used for checked and indeterminate (selected) form control (checkbox, radio button) border on focus. */
|
|
922
|
+
--gl-control-placeholder-color: var(--gl-color-neutral-500); /** Used for placeholder text within inputs. */
|
|
922
923
|
--gl-control-indicator-color-selected: var(--gl-color-neutral-0); /** Used for checkbox and radio button state indicators. */
|
|
923
924
|
--gl-control-indicator-color-disabled: var(--gl-color-neutral-500); /** Used for disabled checkbox and radio button state indicators. */
|
|
924
925
|
--gl-feedback-strong-background-color: var(--gl-color-neutral-800); /** Used for a background associated with strong feedback like a tooltip or toast message. */
|
|
@@ -1190,7 +1191,6 @@
|
|
|
1190
1191
|
--gl-control-border-radius: var(--gl-border-radius-lg); /** Used for form control (input, radio button, checkbox, textarea) default border radius. */
|
|
1191
1192
|
--gl-control-text-color-error: var(--gl-text-color-danger); /** Used for the helper text when the input is invalid. */
|
|
1192
1193
|
--gl-control-text-color-valid: var(--gl-text-color-success); /** Used for the helper text when the input is valid. */
|
|
1193
|
-
--gl-control-placeholder-color: var(--gl-text-color-disabled); /** Used for placeholder text within inputs. */
|
|
1194
1194
|
--gl-feedback-border-radius: var(--gl-border-radius-lg); /** Used for the border radius of a feedback element. */
|
|
1195
1195
|
--gl-focus-ring-inner-color: var(--gl-background-color-default); /** Used for the inner neutral portion of the focus ring. */
|
|
1196
1196
|
--gl-icon-color-default: var(--gl-text-color-default); /** Used for the default icon color. Can be paired with default text. */
|
|
@@ -936,6 +936,7 @@
|
|
|
936
936
|
--gl-control-border-color-selected-default: var(--gl-color-blue-400); /** Used for checked and indeterminate (selected) form control (checkbox, radio button) border. */
|
|
937
937
|
--gl-control-border-color-selected-hover: var(--gl-color-blue-200); /** Used for checked and indeterminate (selected) form control (checkbox, radio button) border on hover. */
|
|
938
938
|
--gl-control-border-color-selected-focus: var(--gl-color-blue-200); /** Used for checked and indeterminate (selected) form control (checkbox, radio button) border on focus. */
|
|
939
|
+
--gl-control-placeholder-color: var(--gl-color-neutral-400); /** Used for placeholder text within inputs. */
|
|
939
940
|
--gl-control-indicator-color-selected: var(--gl-color-neutral-950); /** Used for checkbox and radio button state indicators. */
|
|
940
941
|
--gl-control-indicator-color-disabled: var(--gl-color-neutral-400); /** Used for disabled checkbox and radio button state indicators. */
|
|
941
942
|
--gl-feedback-strong-background-color: var(--gl-color-neutral-800); /** Used for a background associated with strong feedback like a tooltip or toast message. */
|
|
@@ -1196,7 +1197,6 @@
|
|
|
1196
1197
|
--gl-control-border-radius: var(--gl-border-radius-lg); /** Used for form control (input, radio button, checkbox, textarea) default border radius. */
|
|
1197
1198
|
--gl-control-text-color-error: var(--gl-text-color-danger); /** Used for the helper text when the input is invalid. */
|
|
1198
1199
|
--gl-control-text-color-valid: var(--gl-text-color-success); /** Used for the helper text when the input is valid. */
|
|
1199
|
-
--gl-control-placeholder-color: var(--gl-text-color-disabled); /** Used for placeholder text within inputs. */
|
|
1200
1200
|
--gl-feedback-border-radius: var(--gl-border-radius-lg); /** Used for the border radius of a feedback element. */
|
|
1201
1201
|
--gl-focus-ring-inner-color: var(--gl-background-color-default); /** Used for the inner neutral portion of the focus ring. */
|
|
1202
1202
|
--gl-icon-color-default: var(--gl-text-color-default); /** Used for the default icon color. Can be paired with default text. */
|
|
@@ -15655,7 +15655,7 @@
|
|
|
15655
15655
|
"$description": "Used when a border needs to be present, but not visibly perceived.",
|
|
15656
15656
|
"$extensions": {
|
|
15657
15657
|
"com.figma.scopes": [
|
|
15658
|
-
"
|
|
15658
|
+
"STROKE_COLOR"
|
|
15659
15659
|
]
|
|
15660
15660
|
},
|
|
15661
15661
|
"filePath": "src/tokens/constant/border.tokens.json",
|
|
@@ -15666,7 +15666,7 @@
|
|
|
15666
15666
|
"$description": "Used when a border needs to be present, but not visibly perceived.",
|
|
15667
15667
|
"$extensions": {
|
|
15668
15668
|
"com.figma.scopes": [
|
|
15669
|
-
"
|
|
15669
|
+
"STROKE_COLOR"
|
|
15670
15670
|
]
|
|
15671
15671
|
},
|
|
15672
15672
|
"key": "{border.color.transparent}"
|
|
@@ -32590,7 +32590,7 @@
|
|
|
32590
32590
|
"filePath": "src/tokens/semantic/control.tokens.json",
|
|
32591
32591
|
"isSource": true,
|
|
32592
32592
|
"original": {
|
|
32593
|
-
"$value": "{
|
|
32593
|
+
"$value": "{color.neutral.400}",
|
|
32594
32594
|
"$type": "color",
|
|
32595
32595
|
"$description": "Used for placeholder text within inputs.",
|
|
32596
32596
|
"$extensions": {
|
|
@@ -15655,7 +15655,7 @@
|
|
|
15655
15655
|
"$description": "Used when a border needs to be present, but not visibly perceived.",
|
|
15656
15656
|
"$extensions": {
|
|
15657
15657
|
"com.figma.scopes": [
|
|
15658
|
-
"
|
|
15658
|
+
"STROKE_COLOR"
|
|
15659
15659
|
]
|
|
15660
15660
|
},
|
|
15661
15661
|
"filePath": "src/tokens/constant/border.tokens.json",
|
|
@@ -15666,7 +15666,7 @@
|
|
|
15666
15666
|
"$description": "Used when a border needs to be present, but not visibly perceived.",
|
|
15667
15667
|
"$extensions": {
|
|
15668
15668
|
"com.figma.scopes": [
|
|
15669
|
-
"
|
|
15669
|
+
"STROKE_COLOR"
|
|
15670
15670
|
]
|
|
15671
15671
|
},
|
|
15672
15672
|
"key": "{border.color.transparent}"
|
|
@@ -32579,7 +32579,7 @@
|
|
|
32579
32579
|
"control": {
|
|
32580
32580
|
"placeholder": {
|
|
32581
32581
|
"key": "{control.placeholder.color}",
|
|
32582
|
-
"$value": "#
|
|
32582
|
+
"$value": "#737278",
|
|
32583
32583
|
"$type": "color",
|
|
32584
32584
|
"$description": "Used for placeholder text within inputs.",
|
|
32585
32585
|
"$extensions": {
|
|
@@ -32590,7 +32590,7 @@
|
|
|
32590
32590
|
"filePath": "src/tokens/semantic/control.tokens.json",
|
|
32591
32591
|
"isSource": true,
|
|
32592
32592
|
"original": {
|
|
32593
|
-
"$value": "{
|
|
32593
|
+
"$value": "{color.neutral.500}",
|
|
32594
32594
|
"$type": "color",
|
|
32595
32595
|
"$description": "Used for placeholder text within inputs.",
|
|
32596
32596
|
"$extensions": {
|
|
@@ -78,7 +78,9 @@
|
|
|
78
78
|
"$value": "{spacing-scale-5}",
|
|
79
79
|
"$type": "dimension",
|
|
80
80
|
"$extensions": {
|
|
81
|
-
"com.figma.scopes": [
|
|
81
|
+
"com.figma.scopes": [
|
|
82
|
+
"PARAGRAPH_SPACING"
|
|
83
|
+
]
|
|
82
84
|
}
|
|
83
85
|
},
|
|
84
86
|
"line-height-heading": {
|
|
@@ -6055,7 +6057,7 @@
|
|
|
6055
6057
|
}
|
|
6056
6058
|
},
|
|
6057
6059
|
"control-placeholder-color": {
|
|
6058
|
-
"$value": "{
|
|
6060
|
+
"$value": "{color-neutral-400}",
|
|
6059
6061
|
"$type": "color",
|
|
6060
6062
|
"$description": "Used for placeholder text within inputs.",
|
|
6061
6063
|
"$extensions": {
|
|
@@ -78,7 +78,9 @@
|
|
|
78
78
|
"$value": "{spacing-scale-5}",
|
|
79
79
|
"$type": "dimension",
|
|
80
80
|
"$extensions": {
|
|
81
|
-
"com.figma.scopes": [
|
|
81
|
+
"com.figma.scopes": [
|
|
82
|
+
"PARAGRAPH_SPACING"
|
|
83
|
+
]
|
|
82
84
|
}
|
|
83
85
|
},
|
|
84
86
|
"line-height-heading": {
|
|
@@ -5967,7 +5969,7 @@
|
|
|
5967
5969
|
}
|
|
5968
5970
|
},
|
|
5969
5971
|
"control-placeholder-color": {
|
|
5970
|
-
"$value": "{
|
|
5972
|
+
"$value": "{color-neutral-500}",
|
|
5971
5973
|
"$type": "color",
|
|
5972
5974
|
"$description": "Used for placeholder text within inputs.",
|
|
5973
5975
|
"$extensions": {
|
|
@@ -1180,7 +1180,7 @@ export const GL_CONTROL_BORDER_COLOR_SELECTED_FOCUS = '#2f5ca0';
|
|
|
1180
1180
|
export const GL_CONTROL_BORDER_RADIUS = '0.5rem';
|
|
1181
1181
|
export const GL_CONTROL_TEXT_COLOR_ERROR = '#c02f12';
|
|
1182
1182
|
export const GL_CONTROL_TEXT_COLOR_VALID = '#2f7549';
|
|
1183
|
-
export const GL_CONTROL_PLACEHOLDER_COLOR = '#
|
|
1183
|
+
export const GL_CONTROL_PLACEHOLDER_COLOR = '#737278';
|
|
1184
1184
|
export const GL_CONTROL_INDICATOR_COLOR_SELECTED = '#fff';
|
|
1185
1185
|
export const GL_CONTROL_INDICATOR_COLOR_DISABLED = '#737278';
|
|
1186
1186
|
export const GL_FEEDBACK_BORDER_RADIUS = '0.5rem';
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"$description": "Used when a border needs to be present, but not visibly perceived.",
|
|
9
9
|
"$extensions": {
|
|
10
10
|
"com.figma.scopes": [
|
|
11
|
-
"
|
|
11
|
+
"STROKE_COLOR"
|
|
12
12
|
]
|
|
13
13
|
},
|
|
14
14
|
"filePath": "src/tokens/constant/border.tokens.json",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"$description": "Used when a border needs to be present, but not visibly perceived.",
|
|
20
20
|
"$extensions": {
|
|
21
21
|
"com.figma.scopes": [
|
|
22
|
-
"
|
|
22
|
+
"STROKE_COLOR"
|
|
23
23
|
]
|
|
24
24
|
},
|
|
25
25
|
"key": "{border.color.transparent}"
|
|
@@ -7871,7 +7871,9 @@
|
|
|
7871
7871
|
"$value": "1rem",
|
|
7872
7872
|
"$type": "dimension",
|
|
7873
7873
|
"$extensions": {
|
|
7874
|
-
"com.figma.scopes": [
|
|
7874
|
+
"com.figma.scopes": [
|
|
7875
|
+
"PARAGRAPH_SPACING"
|
|
7876
|
+
]
|
|
7875
7877
|
},
|
|
7876
7878
|
"filePath": "src/tokens/semantic/heading.tokens.json",
|
|
7877
7879
|
"isSource": true,
|
|
@@ -7879,7 +7881,9 @@
|
|
|
7879
7881
|
"$value": "{spacing-scale.5}",
|
|
7880
7882
|
"$type": "dimension",
|
|
7881
7883
|
"$extensions": {
|
|
7882
|
-
"com.figma.scopes": [
|
|
7884
|
+
"com.figma.scopes": [
|
|
7885
|
+
"PARAGRAPH_SPACING"
|
|
7886
|
+
]
|
|
7883
7887
|
},
|
|
7884
7888
|
"key": "{heading.default.margin.bottom}"
|
|
7885
7889
|
},
|
|
@@ -35704,7 +35708,7 @@
|
|
|
35704
35708
|
"filePath": "src/tokens/semantic/control.tokens.json",
|
|
35705
35709
|
"isSource": true,
|
|
35706
35710
|
"original": {
|
|
35707
|
-
"$value": "{
|
|
35711
|
+
"$value": "{color.neutral.400}",
|
|
35708
35712
|
"$type": "color",
|
|
35709
35713
|
"$description": "Used for placeholder text within inputs.",
|
|
35710
35714
|
"$extensions": {
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"$description": "Used when a border needs to be present, but not visibly perceived.",
|
|
9
9
|
"$extensions": {
|
|
10
10
|
"com.figma.scopes": [
|
|
11
|
-
"
|
|
11
|
+
"STROKE_COLOR"
|
|
12
12
|
]
|
|
13
13
|
},
|
|
14
14
|
"filePath": "src/tokens/constant/border.tokens.json",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"$description": "Used when a border needs to be present, but not visibly perceived.",
|
|
20
20
|
"$extensions": {
|
|
21
21
|
"com.figma.scopes": [
|
|
22
|
-
"
|
|
22
|
+
"STROKE_COLOR"
|
|
23
23
|
]
|
|
24
24
|
},
|
|
25
25
|
"key": "{border.color.transparent}"
|
|
@@ -7871,7 +7871,9 @@
|
|
|
7871
7871
|
"$value": "1rem",
|
|
7872
7872
|
"$type": "dimension",
|
|
7873
7873
|
"$extensions": {
|
|
7874
|
-
"com.figma.scopes": [
|
|
7874
|
+
"com.figma.scopes": [
|
|
7875
|
+
"PARAGRAPH_SPACING"
|
|
7876
|
+
]
|
|
7875
7877
|
},
|
|
7876
7878
|
"filePath": "src/tokens/semantic/heading.tokens.json",
|
|
7877
7879
|
"isSource": true,
|
|
@@ -7879,7 +7881,9 @@
|
|
|
7879
7881
|
"$value": "{spacing-scale.5}",
|
|
7880
7882
|
"$type": "dimension",
|
|
7881
7883
|
"$extensions": {
|
|
7882
|
-
"com.figma.scopes": [
|
|
7884
|
+
"com.figma.scopes": [
|
|
7885
|
+
"PARAGRAPH_SPACING"
|
|
7886
|
+
]
|
|
7883
7887
|
},
|
|
7884
7888
|
"key": "{heading.default.margin.bottom}"
|
|
7885
7889
|
},
|
|
@@ -35693,7 +35697,7 @@
|
|
|
35693
35697
|
"placeholder": {
|
|
35694
35698
|
"color": {
|
|
35695
35699
|
"key": "{control.placeholder.color}",
|
|
35696
|
-
"$value": "#
|
|
35700
|
+
"$value": "#737278",
|
|
35697
35701
|
"$type": "color",
|
|
35698
35702
|
"$description": "Used for placeholder text within inputs.",
|
|
35699
35703
|
"$extensions": {
|
|
@@ -35704,7 +35708,7 @@
|
|
|
35704
35708
|
"filePath": "src/tokens/semantic/control.tokens.json",
|
|
35705
35709
|
"isSource": true,
|
|
35706
35710
|
"original": {
|
|
35707
|
-
"$value": "{
|
|
35711
|
+
"$value": "{color.neutral.500}",
|
|
35708
35712
|
"$type": "color",
|
|
35709
35713
|
"$description": "Used for placeholder text within inputs.",
|
|
35710
35714
|
"$extensions": {
|
|
@@ -934,6 +934,7 @@ $gl-control-border-color-disabled: $gl-color-neutral-800; // Used for disabled f
|
|
|
934
934
|
$gl-control-border-color-selected-default: $gl-color-blue-400; // Used for checked and indeterminate (selected) form control (checkbox, radio button) border.
|
|
935
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.
|
|
936
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.
|
|
937
|
+
$gl-control-placeholder-color: $gl-color-neutral-400; // Used for placeholder text within inputs.
|
|
937
938
|
$gl-control-indicator-color-selected: $gl-color-neutral-950; // Used for checkbox and radio button state indicators.
|
|
938
939
|
$gl-control-indicator-color-disabled: $gl-color-neutral-400; // Used for disabled checkbox and radio button state indicators.
|
|
939
940
|
$gl-feedback-strong-background-color: $gl-color-neutral-800; // Used for a background associated with strong feedback like a tooltip or toast message.
|
|
@@ -1194,7 +1195,6 @@ $gl-control-border-color-error: $gl-feedback-danger-border-color; // Used for in
|
|
|
1194
1195
|
$gl-control-border-radius: $gl-border-radius-lg; // Used for form control (input, radio button, checkbox, textarea) default border radius.
|
|
1195
1196
|
$gl-control-text-color-error: $gl-text-color-danger; // Used for the helper text when the input is invalid.
|
|
1196
1197
|
$gl-control-text-color-valid: $gl-text-color-success; // Used for the helper text when the input is valid.
|
|
1197
|
-
$gl-control-placeholder-color: $gl-text-color-disabled; // Used for placeholder text within inputs.
|
|
1198
1198
|
$gl-feedback-border-radius: $gl-border-radius-lg; // Used for the border radius of a feedback element.
|
|
1199
1199
|
$gl-focus-ring-inner-color: $gl-background-color-default; // Used for the inner neutral portion of the focus ring.
|
|
1200
1200
|
$gl-icon-color-default: $gl-text-color-default; // Used for the default icon color. Can be paired with default text.
|
|
@@ -917,6 +917,7 @@ $gl-control-border-color-disabled: $gl-color-neutral-100; // Used for disabled f
|
|
|
917
917
|
$gl-control-border-color-selected-default: $gl-color-blue-500; // Used for checked and indeterminate (selected) form control (checkbox, radio button) border.
|
|
918
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.
|
|
919
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.
|
|
920
|
+
$gl-control-placeholder-color: $gl-color-neutral-500; // Used for placeholder text within inputs.
|
|
920
921
|
$gl-control-indicator-color-selected: $gl-color-neutral-0; // Used for checkbox and radio button state indicators.
|
|
921
922
|
$gl-control-indicator-color-disabled: $gl-color-neutral-500; // Used for disabled checkbox and radio button state indicators.
|
|
922
923
|
$gl-feedback-strong-background-color: $gl-color-neutral-800; // Used for a background associated with strong feedback like a tooltip or toast message.
|
|
@@ -1188,7 +1189,6 @@ $gl-control-border-color-error: $gl-feedback-danger-border-color; // Used for in
|
|
|
1188
1189
|
$gl-control-border-radius: $gl-border-radius-lg; // Used for form control (input, radio button, checkbox, textarea) default border radius.
|
|
1189
1190
|
$gl-control-text-color-error: $gl-text-color-danger; // Used for the helper text when the input is invalid.
|
|
1190
1191
|
$gl-control-text-color-valid: $gl-text-color-success; // Used for the helper text when the input is valid.
|
|
1191
|
-
$gl-control-placeholder-color: $gl-text-color-disabled; // Used for placeholder text within inputs.
|
|
1192
1192
|
$gl-feedback-border-radius: $gl-border-radius-lg; // Used for the border radius of a feedback element.
|
|
1193
1193
|
$gl-focus-ring-inner-color: $gl-background-color-default; // Used for the inner neutral portion of the focus ring.
|
|
1194
1194
|
$gl-icon-color-default: $gl-text-color-default; // Used for the default icon color. Can be paired with default text.
|
|
@@ -247,7 +247,10 @@
|
|
|
247
247
|
},
|
|
248
248
|
"placeholder": {
|
|
249
249
|
"color": {
|
|
250
|
-
"$value":
|
|
250
|
+
"$value": {
|
|
251
|
+
"default": "{color.neutral.500}",
|
|
252
|
+
"dark": "{color.neutral.400}"
|
|
253
|
+
},
|
|
251
254
|
"$type": "color",
|
|
252
255
|
"$description": "Used for placeholder text within inputs.",
|
|
253
256
|
"$extensions": {
|