@cloudscape-design/components 3.0.671 → 3.0.672
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/checkbox/base-checkbox.d.ts +7 -0
- package/checkbox/base-checkbox.d.ts.map +1 -1
- package/checkbox/base-checkbox.js.map +1 -1
- package/checkbox/internal.d.ts.map +1 -1
- package/checkbox/internal.js +3 -3
- package/checkbox/internal.js.map +1 -1
- package/date-picker/interfaces.d.ts +1 -1
- package/date-picker/interfaces.js.map +1 -1
- package/date-range-picker/index.d.ts.map +1 -1
- package/date-range-picker/index.js +1 -3
- package/date-range-picker/index.js.map +1 -1
- package/input/interfaces.d.ts +1 -1
- package/input/interfaces.js.map +1 -1
- package/internal/base-component/styles.scoped.css +5 -0
- package/internal/components/abstract-switch/index.d.ts +2 -1
- package/internal/components/abstract-switch/index.d.ts.map +1 -1
- package/internal/components/abstract-switch/index.js +2 -2
- package/internal/components/abstract-switch/index.js.map +1 -1
- package/internal/components/button-trigger/index.d.ts.map +1 -1
- package/internal/components/button-trigger/index.js +5 -2
- package/internal/components/button-trigger/index.js.map +1 -1
- package/internal/components/button-trigger/styles.css.js +11 -11
- package/internal/components/button-trigger/styles.scoped.css +26 -26
- package/internal/components/button-trigger/styles.selectors.js +11 -11
- package/internal/components/checkbox-icon/index.d.ts +2 -1
- package/internal/components/checkbox-icon/index.d.ts.map +1 -1
- package/internal/components/checkbox-icon/index.js +6 -2
- package/internal/components/checkbox-icon/index.js.map +1 -1
- package/internal/components/checkbox-icon/styles.css.js +9 -7
- package/internal/components/checkbox-icon/styles.scoped.css +11 -8
- package/internal/components/checkbox-icon/styles.selectors.js +9 -7
- package/internal/environment.js +1 -1
- package/internal/environment.json +1 -1
- package/internal/generated/styles/tokens.d.ts +1 -0
- package/internal/generated/styles/tokens.js +1 -0
- package/internal/generated/theming/index.cjs +33 -0
- package/internal/generated/theming/index.cjs.d.ts +8 -0
- package/internal/generated/theming/index.d.ts +8 -0
- package/internal/generated/theming/index.js +33 -0
- package/internal/manifest.json +1 -1
- package/multiselect/internal.d.ts.map +1 -1
- package/multiselect/internal.js +3 -3
- package/multiselect/internal.js.map +1 -1
- package/package.json +1 -1
- package/radio-group/interfaces.d.ts +6 -0
- package/radio-group/interfaces.d.ts.map +1 -1
- package/radio-group/interfaces.js.map +1 -1
- package/radio-group/internal.d.ts.map +1 -1
- package/radio-group/internal.js +3 -3
- package/radio-group/internal.js.map +1 -1
- package/radio-group/radio-button.d.ts +1 -0
- package/radio-group/radio-button.d.ts.map +1 -1
- package/radio-group/radio-button.js +7 -3
- package/radio-group/radio-button.js.map +1 -1
- package/radio-group/styles.css.js +10 -9
- package/radio-group/styles.scoped.css +19 -15
- package/radio-group/styles.selectors.js +10 -9
- package/select/interfaces.d.ts +5 -0
- package/select/interfaces.d.ts.map +1 -1
- package/select/interfaces.js.map +1 -1
- package/select/internal.d.ts.map +1 -1
- package/select/internal.js +2 -2
- package/select/internal.js.map +1 -1
- package/select/parts/trigger.d.ts +1 -0
- package/select/parts/trigger.d.ts.map +1 -1
- package/select/parts/trigger.js +2 -2
- package/select/parts/trigger.js.map +1 -1
- package/slider/interfaces.d.ts +6 -0
- package/slider/interfaces.d.ts.map +1 -1
- package/slider/interfaces.js.map +1 -1
- package/slider/internal.d.ts +1 -1
- package/slider/internal.d.ts.map +1 -1
- package/slider/internal.js +15 -6
- package/slider/internal.js.map +1 -1
- package/slider/styles.css.js +27 -25
- package/slider/styles.scoped.css +129 -62
- package/slider/styles.selectors.js +27 -25
- package/slider/tick-marks.d.ts +1 -0
- package/slider/tick-marks.d.ts.map +1 -1
- package/slider/tick-marks.js +2 -1
- package/slider/tick-marks.js.map +1 -1
- package/slider/utils.d.ts +1 -0
- package/slider/utils.d.ts.map +1 -1
- package/slider/utils.js +1 -0
- package/slider/utils.js.map +1 -1
- package/tiles/interfaces.d.ts +6 -0
- package/tiles/interfaces.d.ts.map +1 -1
- package/tiles/interfaces.js.map +1 -1
- package/tiles/internal.d.ts.map +1 -1
- package/tiles/internal.js +3 -3
- package/tiles/internal.js.map +1 -1
- package/tiles/styles.css.js +30 -29
- package/tiles/styles.scoped.css +75 -70
- package/tiles/styles.selectors.js +30 -29
- package/tiles/tile.d.ts +1 -0
- package/tiles/tile.d.ts.map +1 -1
- package/tiles/tile.js +4 -4
- package/tiles/tile.js.map +1 -1
- package/toggle/internal.d.ts.map +1 -1
- package/toggle/internal.js +4 -2
- package/toggle/internal.js.map +1 -1
- package/toggle/styles.css.js +10 -8
- package/toggle/styles.scoped.css +23 -14
- package/toggle/styles.selectors.js +10 -8
- package/token-group/dismiss-button.d.ts +1 -0
- package/token-group/dismiss-button.d.ts.map +1 -1
- package/token-group/dismiss-button.js +7 -2
- package/token-group/dismiss-button.js.map +1 -1
- package/token-group/interfaces.d.ts +5 -0
- package/token-group/interfaces.d.ts.map +1 -1
- package/token-group/interfaces.js.map +1 -1
- package/token-group/internal.d.ts +1 -1
- package/token-group/internal.d.ts.map +1 -1
- package/token-group/internal.js +2 -2
- package/token-group/internal.js.map +1 -1
- package/token-group/styles.css.js +10 -9
- package/token-group/styles.scoped.css +33 -19
- package/token-group/styles.selectors.js +10 -9
- package/token-group/token.d.ts +2 -1
- package/token-group/token.d.ts.map +1 -1
- package/token-group/token.js +3 -3
- package/token-group/token.js.map +1 -1
- package/top-navigation/1.0-beta/interfaces.d.ts +1 -1
- package/top-navigation/1.0-beta/interfaces.js.map +1 -1
- package/top-navigation/interfaces.d.ts +1 -1
- package/top-navigation/interfaces.js.map +1 -1
|
@@ -98,16 +98,16 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
98
98
|
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
99
99
|
SPDX-License-Identifier: Apache-2.0
|
|
100
100
|
*/
|
|
101
|
-
.awsui_button-
|
|
101
|
+
.awsui_button-trigger_18eso_m2fj5_101 > .awsui_arrow_18eso_m2fj5_101:not(#\9) {
|
|
102
102
|
transition: transform var(--motion-duration-rotate-180-dpvl4m, 135ms) var(--motion-easing-rotate-180-e270ko, cubic-bezier(0.165, 0.84, 0.44, 1));
|
|
103
103
|
}
|
|
104
104
|
@media (prefers-reduced-motion: reduce) {
|
|
105
|
-
.awsui_button-
|
|
105
|
+
.awsui_button-trigger_18eso_m2fj5_101 > .awsui_arrow_18eso_m2fj5_101:not(#\9) {
|
|
106
106
|
animation: none;
|
|
107
107
|
transition: none;
|
|
108
108
|
}
|
|
109
109
|
}
|
|
110
|
-
.awsui-motion-disabled .awsui_button-
|
|
110
|
+
.awsui-motion-disabled .awsui_button-trigger_18eso_m2fj5_101 > .awsui_arrow_18eso_m2fj5_101:not(#\9), .awsui-mode-entering .awsui_button-trigger_18eso_m2fj5_101 > .awsui_arrow_18eso_m2fj5_101:not(#\9) {
|
|
111
111
|
animation: none;
|
|
112
112
|
transition: none;
|
|
113
113
|
}
|
|
@@ -116,7 +116,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
116
116
|
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
117
117
|
SPDX-License-Identifier: Apache-2.0
|
|
118
118
|
*/
|
|
119
|
-
.awsui_button-
|
|
119
|
+
.awsui_button-trigger_18eso_m2fj5_101:not(#\9) {
|
|
120
120
|
border-collapse: separate;
|
|
121
121
|
border-spacing: 0;
|
|
122
122
|
box-sizing: border-box;
|
|
@@ -166,51 +166,51 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
166
166
|
border-inline: var(--border-field-width-09w7vk, 2px) solid var(--color-border-input-default-1zl7hq, #7d8998);
|
|
167
167
|
min-block-size: var(--size-vertical-input-v5iwwf, 32px);
|
|
168
168
|
}
|
|
169
|
-
.awsui_button-
|
|
169
|
+
.awsui_button-trigger_18eso_m2fj5_101.awsui_has-caret_18eso_m2fj5_168:not(#\9) {
|
|
170
170
|
padding-inline-end: var(--space-field-icon-offset-csk9vw, 36px);
|
|
171
171
|
}
|
|
172
|
-
.awsui_button-
|
|
172
|
+
.awsui_button-trigger_18eso_m2fj5_101 > .awsui_placeholder_18eso_m2fj5_171:not(#\9) {
|
|
173
173
|
color: var(--color-text-input-placeholder-mx1ygd, #5f6b7a);
|
|
174
174
|
font-style: italic;
|
|
175
175
|
}
|
|
176
|
-
.awsui_button-
|
|
176
|
+
.awsui_button-trigger_18eso_m2fj5_101 > .awsui_arrow_18eso_m2fj5_101:not(#\9) {
|
|
177
177
|
position: absolute;
|
|
178
178
|
inset-inline-end: var(--space-field-horizontal-gg19kw, 12px);
|
|
179
179
|
inset-block-start: calc(50% - var(--line-height-body-m-30ar75, 20px) / 2);
|
|
180
180
|
color: var(--color-text-button-inline-icon-default-s3yux9, #0972d3);
|
|
181
181
|
}
|
|
182
|
-
.awsui_button-
|
|
182
|
+
.awsui_button-trigger_18eso_m2fj5_101:not(#\9):hover > .awsui_arrow_18eso_m2fj5_101 {
|
|
183
183
|
color: var(--color-text-button-inline-icon-hover-my2daf, #033160);
|
|
184
184
|
}
|
|
185
|
-
.awsui_button-
|
|
185
|
+
.awsui_button-trigger_18eso_m2fj5_101.awsui_pressed_18eso_m2fj5_184 > .awsui_arrow_18eso_m2fj5_101:not(#\9) {
|
|
186
186
|
transform: rotate(-180deg);
|
|
187
187
|
}
|
|
188
|
-
.awsui_button-
|
|
188
|
+
.awsui_button-trigger_18eso_m2fj5_101.awsui_disabled_18eso_m2fj5_187:not(#\9) {
|
|
189
189
|
background-color: var(--color-background-input-disabled-ab59a3, #e9ebed);
|
|
190
190
|
border-block: var(--border-field-width-09w7vk, 2px) solid var(--color-border-input-disabled-rx2aau, #e9ebed);
|
|
191
191
|
border-inline: var(--border-field-width-09w7vk, 2px) solid var(--color-border-input-disabled-rx2aau, #e9ebed);
|
|
192
192
|
color: var(--color-text-input-disabled-f8pjm5, #9ba7b6);
|
|
193
193
|
cursor: auto;
|
|
194
194
|
}
|
|
195
|
-
.awsui_button-
|
|
195
|
+
.awsui_button-trigger_18eso_m2fj5_101.awsui_disabled_18eso_m2fj5_187 > .awsui_arrow_18eso_m2fj5_101:not(#\9) {
|
|
196
196
|
color: var(--color-text-button-inline-icon-disabled-mz5gmn, #9ba7b6);
|
|
197
197
|
}
|
|
198
|
-
.awsui_button-
|
|
198
|
+
.awsui_button-trigger_18eso_m2fj5_101.awsui_disabled_18eso_m2fj5_187.awsui_in-filtering-token_18eso_m2fj5_197:not(#\9) {
|
|
199
199
|
border-color: var(--color-border-control-disabled-bv2kkn, #d1d5db);
|
|
200
200
|
}
|
|
201
|
-
.awsui_button-
|
|
201
|
+
.awsui_button-trigger_18eso_m2fj5_101.awsui_disabled_18eso_m2fj5_187 > .awsui_placeholder_18eso_m2fj5_171:not(#\9) {
|
|
202
202
|
color: var(--color-text-input-placeholder-disabled-abhb0d, #9ba7b6);
|
|
203
203
|
}
|
|
204
|
-
.awsui_button-
|
|
204
|
+
.awsui_button-trigger_18eso_m2fj5_101.awsui_readonly_18eso_m2fj5_203:not(#\9):not(.awsui_button-trigger_18eso_m2fj5_101.awsui_disabled_18eso_m2fj5_187) {
|
|
205
205
|
background-color: var(--color-background-input-default-igdh5e, #ffffff);
|
|
206
206
|
border-block: var(--border-field-width-09w7vk, 2px) solid var(--color-border-input-disabled-rx2aau, #e9ebed);
|
|
207
207
|
border-inline: var(--border-field-width-09w7vk, 2px) solid var(--color-border-input-disabled-rx2aau, #e9ebed);
|
|
208
208
|
}
|
|
209
|
-
.awsui_button-
|
|
209
|
+
.awsui_button-trigger_18eso_m2fj5_101:not(#\9):focus {
|
|
210
210
|
outline: none;
|
|
211
211
|
text-decoration: none;
|
|
212
212
|
}
|
|
213
|
-
body[data-awsui-focus-visible=true] .awsui_button-
|
|
213
|
+
body[data-awsui-focus-visible=true] .awsui_button-trigger_18eso_m2fj5_101:not(#\9):not(.awsui_in-filtering-token_18eso_m2fj5_197):focus {
|
|
214
214
|
outline: 2px dotted transparent;
|
|
215
215
|
border-block: var(--border-field-width-09w7vk, 2px) solid var(--color-border-input-focused-3d15sl, #033160);
|
|
216
216
|
border-inline: var(--border-field-width-09w7vk, 2px) solid var(--color-border-input-focused-3d15sl, #033160);
|
|
@@ -220,10 +220,10 @@ body[data-awsui-focus-visible=true] .awsui_button-trigger_18eso_1ecvo_101:not(#\
|
|
|
220
220
|
border-end-end-radius: var(--border-radius-input-plgbrq, 8px);
|
|
221
221
|
box-shadow: 0 0 0 var(--border-control-focus-ring-shadow-spread-0ctpjf, 0px) var(--color-border-item-focused-b2ntyl, #0972d3);
|
|
222
222
|
}
|
|
223
|
-
.awsui_button-
|
|
223
|
+
.awsui_button-trigger_18eso_m2fj5_101:not(#\9):not(.awsui_in-filtering-token_18eso_m2fj5_197):invalid {
|
|
224
224
|
box-shadow: none;
|
|
225
225
|
}
|
|
226
|
-
.awsui_button-
|
|
226
|
+
.awsui_button-trigger_18eso_m2fj5_101:not(#\9):not(.awsui_in-filtering-token_18eso_m2fj5_197).awsui_invalid_18eso_m2fj5_225, .awsui_button-trigger_18eso_m2fj5_101:not(#\9):not(.awsui_in-filtering-token_18eso_m2fj5_197).awsui_invalid_18eso_m2fj5_225:focus {
|
|
227
227
|
color: var(--color-text-status-error-wdvepn, #d91515);
|
|
228
228
|
border-color: var(--color-text-status-error-wdvepn, #d91515);
|
|
229
229
|
padding-inline-start: calc(
|
|
@@ -231,10 +231,10 @@ body[data-awsui-focus-visible=true] .awsui_button-trigger_18eso_1ecvo_101:not(#\
|
|
|
231
231
|
);
|
|
232
232
|
border-inline-start-width: var(--border-invalid-width-5ktjp2, 8px);
|
|
233
233
|
}
|
|
234
|
-
.awsui_button-
|
|
234
|
+
.awsui_button-trigger_18eso_m2fj5_101:not(#\9):not(.awsui_in-filtering-token_18eso_m2fj5_197).awsui_invalid_18eso_m2fj5_225:focus, .awsui_button-trigger_18eso_m2fj5_101:not(#\9):not(.awsui_in-filtering-token_18eso_m2fj5_197).awsui_invalid_18eso_m2fj5_225:focus:focus {
|
|
235
235
|
box-shadow: 0 0 0 var(--border-control-invalid-focus-ring-shadow-spread-fhmbjn, 2px) var(--color-border-item-focused-b2ntyl, #0972d3);
|
|
236
236
|
}
|
|
237
|
-
.awsui_button-
|
|
237
|
+
.awsui_button-trigger_18eso_m2fj5_101:not(#\9):not(.awsui_in-filtering-token_18eso_m2fj5_197).awsui_warning_18eso_m2fj5_236, .awsui_button-trigger_18eso_m2fj5_101:not(#\9):not(.awsui_in-filtering-token_18eso_m2fj5_197).awsui_warning_18eso_m2fj5_236:focus {
|
|
238
238
|
color: var(--color-text-status-warning-yik8vi, #8d6605);
|
|
239
239
|
border-color: var(--color-text-status-warning-yik8vi, #8d6605);
|
|
240
240
|
padding-inline-start: calc(
|
|
@@ -242,23 +242,23 @@ body[data-awsui-focus-visible=true] .awsui_button-trigger_18eso_1ecvo_101:not(#\
|
|
|
242
242
|
);
|
|
243
243
|
border-inline-start-width: var(--border-invalid-width-5ktjp2, 8px);
|
|
244
244
|
}
|
|
245
|
-
.awsui_button-
|
|
245
|
+
.awsui_button-trigger_18eso_m2fj5_101:not(#\9):not(.awsui_in-filtering-token_18eso_m2fj5_197).awsui_warning_18eso_m2fj5_236:focus, .awsui_button-trigger_18eso_m2fj5_101:not(#\9):not(.awsui_in-filtering-token_18eso_m2fj5_197).awsui_warning_18eso_m2fj5_236:focus:focus {
|
|
246
246
|
box-shadow: 0 0 0 var(--border-control-invalid-focus-ring-shadow-spread-fhmbjn, 2px) var(--color-border-item-focused-b2ntyl, #0972d3);
|
|
247
247
|
}
|
|
248
|
-
.awsui_button-
|
|
248
|
+
.awsui_button-trigger_18eso_m2fj5_101.awsui_in-filtering-token_18eso_m2fj5_197:not(#\9) {
|
|
249
249
|
border-color: var(--color-border-item-selected-k00wlz, #0972d3);
|
|
250
250
|
border-start-end-radius: 0;
|
|
251
251
|
border-end-end-radius: 0;
|
|
252
252
|
block-size: 100%;
|
|
253
253
|
}
|
|
254
|
-
body[data-awsui-focus-visible=true] .awsui_button-
|
|
254
|
+
body[data-awsui-focus-visible=true] .awsui_button-trigger_18eso_m2fj5_101.awsui_in-filtering-token_18eso_m2fj5_197:not(#\9):focus {
|
|
255
255
|
position: relative;
|
|
256
256
|
}
|
|
257
|
-
body[data-awsui-focus-visible=true] .awsui_button-
|
|
257
|
+
body[data-awsui-focus-visible=true] .awsui_button-trigger_18eso_m2fj5_101.awsui_in-filtering-token_18eso_m2fj5_197:not(#\9):focus {
|
|
258
258
|
outline: 2px dotted transparent;
|
|
259
259
|
outline-offset: calc(var(--space-filtering-token-operation-select-focus-outline-gutter-0ailok, -5px) - 1px);
|
|
260
260
|
}
|
|
261
|
-
body[data-awsui-focus-visible=true] .awsui_button-
|
|
261
|
+
body[data-awsui-focus-visible=true] .awsui_button-trigger_18eso_m2fj5_101.awsui_in-filtering-token_18eso_m2fj5_197:not(#\9):focus::before {
|
|
262
262
|
content: " ";
|
|
263
263
|
display: block;
|
|
264
264
|
position: absolute;
|
|
@@ -272,6 +272,6 @@ body[data-awsui-focus-visible=true] .awsui_button-trigger_18eso_1ecvo_101.awsui_
|
|
|
272
272
|
border-end-end-radius: var(--border-radius-control-default-focus-ring-u8zbsz, 4px);
|
|
273
273
|
box-shadow: 0 0 0 2px var(--color-border-item-focused-b2ntyl, #0972d3);
|
|
274
274
|
}
|
|
275
|
-
.awsui_button-
|
|
275
|
+
.awsui_button-trigger_18eso_m2fj5_101.awsui_inline-tokens_18eso_m2fj5_274:not(#\9) {
|
|
276
276
|
padding-block: 0;
|
|
277
277
|
}
|
|
@@ -2,16 +2,16 @@
|
|
|
2
2
|
// es-module interop with Babel and Typescript
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
module.exports.default = {
|
|
5
|
-
"button-trigger": "awsui_button-
|
|
6
|
-
"arrow": "
|
|
7
|
-
"has-caret": "awsui_has-
|
|
8
|
-
"placeholder": "
|
|
9
|
-
"pressed": "
|
|
10
|
-
"disabled": "
|
|
11
|
-
"in-filtering-token": "awsui_in-filtering-
|
|
12
|
-
"
|
|
13
|
-
"invalid": "
|
|
14
|
-
"warning": "
|
|
15
|
-
"inline-tokens": "awsui_inline-
|
|
5
|
+
"button-trigger": "awsui_button-trigger_18eso_m2fj5_101",
|
|
6
|
+
"arrow": "awsui_arrow_18eso_m2fj5_101",
|
|
7
|
+
"has-caret": "awsui_has-caret_18eso_m2fj5_168",
|
|
8
|
+
"placeholder": "awsui_placeholder_18eso_m2fj5_171",
|
|
9
|
+
"pressed": "awsui_pressed_18eso_m2fj5_184",
|
|
10
|
+
"disabled": "awsui_disabled_18eso_m2fj5_187",
|
|
11
|
+
"in-filtering-token": "awsui_in-filtering-token_18eso_m2fj5_197",
|
|
12
|
+
"readonly": "awsui_readonly_18eso_m2fj5_203",
|
|
13
|
+
"invalid": "awsui_invalid_18eso_m2fj5_225",
|
|
14
|
+
"warning": "awsui_warning_18eso_m2fj5_236",
|
|
15
|
+
"inline-tokens": "awsui_inline-tokens_18eso_m2fj5_274"
|
|
16
16
|
};
|
|
17
17
|
|
|
@@ -4,6 +4,7 @@ export interface CheckboxIconProps extends BaseComponentProps {
|
|
|
4
4
|
checked?: boolean;
|
|
5
5
|
indeterminate?: boolean;
|
|
6
6
|
disabled?: boolean;
|
|
7
|
+
readOnly?: boolean;
|
|
7
8
|
}
|
|
8
9
|
export interface Dimension {
|
|
9
10
|
viewBox: string;
|
|
@@ -14,6 +15,6 @@ export interface Dimension {
|
|
|
14
15
|
size: number;
|
|
15
16
|
}
|
|
16
17
|
export declare const dimensionsByTheme: Record<NonNullable<'default' | 'refresh'>, Dimension>;
|
|
17
|
-
declare const CheckboxIcon: ({ checked, indeterminate, disabled, ...restProps }: CheckboxIconProps) => JSX.Element;
|
|
18
|
+
declare const CheckboxIcon: ({ checked, indeterminate, disabled, readOnly, ...restProps }: CheckboxIconProps) => JSX.Element;
|
|
18
19
|
export default CheckboxIcon;
|
|
19
20
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/internal/components/checkbox-icon/index.tsx"],"names":[],"mappings":";AAIA,OAAO,EAAE,kBAAkB,EAAgB,MAAM,sBAAsB,CAAC;AAIxE,MAAM,WAAW,iBAAkB,SAAQ,kBAAkB;IAC3D,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AACD,MAAM,WAAW,SAAS;IACxB,OAAO,EAAE,MAAM,CAAC;IAChB,aAAa,EAAE,MAAM,CAAC;IACtB,OAAO,EAAE,MAAM,CAAC;IAChB,EAAE,EAAE,MAAM,CAAC;IACX,CAAC,EAAE,MAAM,CAAC;IACV,IAAI,EAAE,MAAM,CAAC;CACd;AAGD,eAAO,MAAM,iBAAiB,EAAE,MAAM,CAAC,WAAW,CAAC,SAAS,GAAG,SAAS,CAAC,EAAE,SAAS,CAiBnF,CAAC;AAEF,QAAA,MAAM,YAAY,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/internal/components/checkbox-icon/index.tsx"],"names":[],"mappings":";AAIA,OAAO,EAAE,kBAAkB,EAAgB,MAAM,sBAAsB,CAAC;AAIxE,MAAM,WAAW,iBAAkB,SAAQ,kBAAkB;IAC3D,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AACD,MAAM,WAAW,SAAS;IACxB,OAAO,EAAE,MAAM,CAAC;IAChB,aAAa,EAAE,MAAM,CAAC;IACtB,OAAO,EAAE,MAAM,CAAC;IAChB,EAAE,EAAE,MAAM,CAAC;IACX,CAAC,EAAE,MAAM,CAAC;IACV,IAAI,EAAE,MAAM,CAAC;CACd;AAGD,eAAO,MAAM,iBAAiB,EAAE,MAAM,CAAC,WAAW,CAAC,SAAS,GAAG,SAAS,CAAC,EAAE,SAAS,CAiBnF,CAAC;AAEF,QAAA,MAAM,YAAY,iEAMf,iBAAiB,gBA+BnB,CAAC;AAEF,eAAe,YAAY,CAAC"}
|
|
@@ -26,7 +26,7 @@ export const dimensionsByTheme = {
|
|
|
26
26
|
},
|
|
27
27
|
};
|
|
28
28
|
const CheckboxIcon = (_a) => {
|
|
29
|
-
var { checked, indeterminate, disabled = false } = _a, restProps = __rest(_a, ["checked", "indeterminate", "disabled"]);
|
|
29
|
+
var { checked, indeterminate, disabled = false, readOnly = false } = _a, restProps = __rest(_a, ["checked", "indeterminate", "disabled", "readOnly"]);
|
|
30
30
|
const baseProps = getBaseProps(restProps);
|
|
31
31
|
const theme = useVisualRefresh() ? 'refresh' : 'default';
|
|
32
32
|
const dimensions = dimensionsByTheme[theme];
|
|
@@ -35,8 +35,12 @@ const CheckboxIcon = (_a) => {
|
|
|
35
35
|
[styles['styled-box-checked']]: checked,
|
|
36
36
|
[styles['styled-box-indeterminate']]: indeterminate,
|
|
37
37
|
[styles['styled-box-disabled']]: disabled,
|
|
38
|
+
[styles['styled-box-readonly']]: readOnly,
|
|
38
39
|
}), x: dimensions.xy, y: dimensions.xy, rx: dimensions.r, ry: dimensions.r, width: dimensions.size, height: dimensions.size }),
|
|
39
|
-
checked || indeterminate ? (React.createElement("polyline", { className: clsx(styles['styled-line'], {
|
|
40
|
+
checked || indeterminate ? (React.createElement("polyline", { className: clsx(styles['styled-line'], {
|
|
41
|
+
[styles['styled-line-disabled']]: disabled,
|
|
42
|
+
[styles['styled-line-readonly']]: readOnly,
|
|
43
|
+
}), points: indeterminate ? dimensions.indeterminate : dimensions.checked })) : null));
|
|
40
44
|
};
|
|
41
45
|
export default CheckboxIcon;
|
|
42
46
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/internal/components/checkbox-icon/index.tsx"],"names":[],"mappings":";AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,IAAI,MAAM,MAAM,CAAC;AACxB,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAsB,YAAY,EAAE,MAAM,sBAAsB,CAAC;AACxE,OAAO,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AAC/D,OAAO,MAAM,MAAM,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/internal/components/checkbox-icon/index.tsx"],"names":[],"mappings":";AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,IAAI,MAAM,MAAM,CAAC;AACxB,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAsB,YAAY,EAAE,MAAM,sBAAsB,CAAC;AACxE,OAAO,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AAC/D,OAAO,MAAM,MAAM,iBAAiB,CAAC;AAiBrC,6CAA6C;AAC7C,MAAM,CAAC,MAAM,iBAAiB,GAA0D;IACtF,OAAO,EAAE;QACP,OAAO,EAAE,WAAW;QACpB,aAAa,EAAE,cAAc;QAC7B,OAAO,EAAE,iBAAiB;QAC1B,EAAE,EAAE,GAAG;QACP,CAAC,EAAE,GAAG;QACN,IAAI,EAAE,EAAE;KACT;IACD,OAAO,EAAE;QACP,OAAO,EAAE,WAAW;QACpB,aAAa,EAAE,cAAc;QAC7B,OAAO,EAAE,iBAAiB;QAC1B,EAAE,EAAE,CAAC;QACL,CAAC,EAAE,CAAC;QACJ,IAAI,EAAE,EAAE;KACT;CACF,CAAC;AAEF,MAAM,YAAY,GAAG,CAAC,EAMF,EAAE,EAAE;QANF,EACpB,OAAO,EACP,aAAa,EACb,QAAQ,GAAG,KAAK,EAChB,QAAQ,GAAG,KAAK,OAEE,EADf,SAAS,cALQ,oDAMrB,CADa;IAEZ,MAAM,SAAS,GAAG,YAAY,CAAC,SAAS,CAAC,CAAC;IAC1C,MAAM,KAAK,GAAG,gBAAgB,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;IACzD,MAAM,UAAU,GAAG,iBAAiB,CAAC,KAAK,CAAC,CAAC;IAC5C,OAAO,CACL,2CAAK,SAAS,EAAE,MAAM,CAAC,IAAI,EAAE,OAAO,EAAE,UAAU,CAAC,OAAO,iBAAc,MAAM,EAAC,SAAS,EAAC,OAAO,IAAK,SAAS;QAC1G,8BACE,SAAS,EAAE,IAAI,CAAC,MAAM,CAAC,YAAY,CAAC,EAAE;gBACpC,CAAC,MAAM,CAAC,oBAAoB,CAAC,CAAC,EAAE,OAAO;gBACvC,CAAC,MAAM,CAAC,0BAA0B,CAAC,CAAC,EAAE,aAAa;gBACnD,CAAC,MAAM,CAAC,qBAAqB,CAAC,CAAC,EAAE,QAAQ;gBACzC,CAAC,MAAM,CAAC,qBAAqB,CAAC,CAAC,EAAE,QAAQ;aAC1C,CAAC,EACF,CAAC,EAAE,UAAU,CAAC,EAAE,EAChB,CAAC,EAAE,UAAU,CAAC,EAAE,EAChB,EAAE,EAAE,UAAU,CAAC,CAAC,EAChB,EAAE,EAAE,UAAU,CAAC,CAAC,EAChB,KAAK,EAAE,UAAU,CAAC,IAAI,EACtB,MAAM,EAAE,UAAU,CAAC,IAAI,GACvB;QACD,OAAO,IAAI,aAAa,CAAC,CAAC,CAAC,CAC1B,kCACE,SAAS,EAAE,IAAI,CAAC,MAAM,CAAC,aAAa,CAAC,EAAE;gBACrC,CAAC,MAAM,CAAC,sBAAsB,CAAC,CAAC,EAAE,QAAQ;gBAC1C,CAAC,MAAM,CAAC,sBAAsB,CAAC,CAAC,EAAE,QAAQ;aAC3C,CAAC,EACF,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC,UAAU,CAAC,aAAa,CAAC,CAAC,CAAC,UAAU,CAAC,OAAO,GACrE,CACH,CAAC,CAAC,CAAC,IAAI,CACJ,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,YAAY,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport clsx from 'clsx';\nimport React from 'react';\nimport { BaseComponentProps, getBaseProps } from '../../base-component';\nimport { useVisualRefresh } from '../../hooks/use-visual-mode';\nimport styles from './styles.css.js';\n\nexport interface CheckboxIconProps extends BaseComponentProps {\n checked?: boolean;\n indeterminate?: boolean;\n disabled?: boolean;\n readOnly?: boolean;\n}\nexport interface Dimension {\n viewBox: string;\n indeterminate: string;\n checked: string;\n xy: number;\n r: number;\n size: number;\n}\n\n// Can't use css variables for svg attributes\nexport const dimensionsByTheme: Record<NonNullable<'default' | 'refresh'>, Dimension> = {\n default: {\n viewBox: '0 0 14 14',\n indeterminate: '2.5,7 11.5,7',\n checked: '2.5,7 6,10 11,3',\n xy: 0.5,\n r: 1.5,\n size: 13,\n },\n refresh: {\n viewBox: '0 0 16 16',\n indeterminate: '3.5,8 12.5,8',\n checked: '3.5,8 7,11 12,4',\n xy: 1,\n r: 2,\n size: 14,\n },\n};\n\nconst CheckboxIcon = ({\n checked,\n indeterminate,\n disabled = false,\n readOnly = false,\n ...restProps\n}: CheckboxIconProps) => {\n const baseProps = getBaseProps(restProps);\n const theme = useVisualRefresh() ? 'refresh' : 'default';\n const dimensions = dimensionsByTheme[theme];\n return (\n <svg className={styles.root} viewBox={dimensions.viewBox} aria-hidden=\"true\" focusable=\"false\" {...baseProps}>\n <rect\n className={clsx(styles['styled-box'], {\n [styles['styled-box-checked']]: checked,\n [styles['styled-box-indeterminate']]: indeterminate,\n [styles['styled-box-disabled']]: disabled,\n [styles['styled-box-readonly']]: readOnly,\n })}\n x={dimensions.xy}\n y={dimensions.xy}\n rx={dimensions.r}\n ry={dimensions.r}\n width={dimensions.size}\n height={dimensions.size}\n />\n {checked || indeterminate ? (\n <polyline\n className={clsx(styles['styled-line'], {\n [styles['styled-line-disabled']]: disabled,\n [styles['styled-line-readonly']]: readOnly,\n })}\n points={indeterminate ? dimensions.indeterminate : dimensions.checked}\n />\n ) : null}\n </svg>\n );\n};\n\nexport default CheckboxIcon;\n"]}
|
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
|
|
2
2
|
import './styles.scoped.css';
|
|
3
3
|
export default {
|
|
4
|
-
"root": "
|
|
5
|
-
"styled-box": "awsui_styled-
|
|
6
|
-
"styled-box-checked": "awsui_styled-box-
|
|
7
|
-
"styled-box-indeterminate": "awsui_styled-box-
|
|
8
|
-
"styled-box-disabled": "awsui_styled-box-
|
|
9
|
-
"styled-
|
|
10
|
-
"styled-line
|
|
4
|
+
"root": "awsui_root_1fn7j_1yjhw_97",
|
|
5
|
+
"styled-box": "awsui_styled-box_1fn7j_1yjhw_104",
|
|
6
|
+
"styled-box-checked": "awsui_styled-box-checked_1fn7j_1yjhw_110",
|
|
7
|
+
"styled-box-indeterminate": "awsui_styled-box-indeterminate_1fn7j_1yjhw_110",
|
|
8
|
+
"styled-box-disabled": "awsui_styled-box-disabled_1fn7j_1yjhw_114",
|
|
9
|
+
"styled-box-readonly": "awsui_styled-box-readonly_1fn7j_1yjhw_114",
|
|
10
|
+
"styled-line": "awsui_styled-line_1fn7j_1yjhw_128",
|
|
11
|
+
"styled-line-disabled": "awsui_styled-line-disabled_1fn7j_1yjhw_133",
|
|
12
|
+
"styled-line-readonly": "awsui_styled-line-readonly_1fn7j_1yjhw_136"
|
|
11
13
|
};
|
|
12
14
|
|
|
@@ -94,42 +94,45 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
94
94
|
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
95
95
|
SPDX-License-Identifier: Apache-2.0
|
|
96
96
|
*/
|
|
97
|
-
.
|
|
97
|
+
.awsui_root_1fn7j_1yjhw_97:not(#\9) {
|
|
98
98
|
position: absolute;
|
|
99
99
|
inline-size: 100%;
|
|
100
100
|
block-size: 100%;
|
|
101
101
|
inset-block-start: 0;
|
|
102
102
|
inset-inline-start: 0;
|
|
103
103
|
}
|
|
104
|
-
.
|
|
104
|
+
.awsui_root_1fn7j_1yjhw_97 > .awsui_styled-box_1fn7j_1yjhw_104:not(#\9) {
|
|
105
105
|
fill: var(--color-background-control-default-qzruqy, #ffffff);
|
|
106
106
|
stroke: var(--color-border-control-default-0fzxw0, #7d8998);
|
|
107
107
|
stroke-width: var(--border-field-width-09w7vk, 2px);
|
|
108
108
|
transition: fill var(--motion-duration-transition-quick-6npj01, 90ms) var(--motion-easing-transition-quick-l9jfsx, linear), stroke var(--motion-duration-transition-quick-6npj01, 90ms) var(--motion-easing-transition-quick-l9jfsx, linear);
|
|
109
109
|
}
|
|
110
|
-
.
|
|
110
|
+
.awsui_root_1fn7j_1yjhw_97 > .awsui_styled-box-checked_1fn7j_1yjhw_110:not(#\9), .awsui_root_1fn7j_1yjhw_97 > .awsui_styled-box-indeterminate_1fn7j_1yjhw_110:not(#\9) {
|
|
111
111
|
fill: var(--color-background-control-checked-w517i0, #0972d3);
|
|
112
112
|
stroke: var(--color-border-control-checked-wlsmbn, #0972d3);
|
|
113
113
|
}
|
|
114
|
-
.
|
|
114
|
+
.awsui_root_1fn7j_1yjhw_97 > .awsui_styled-box-disabled_1fn7j_1yjhw_114:not(#\9), .awsui_root_1fn7j_1yjhw_97 > .awsui_styled-box-readonly_1fn7j_1yjhw_114:not(#\9) {
|
|
115
115
|
fill: var(--color-background-control-disabled-pwkvgd, #d1d5db);
|
|
116
116
|
stroke: var(--color-border-control-disabled-bv2kkn, #d1d5db);
|
|
117
117
|
}
|
|
118
118
|
@media (prefers-reduced-motion: reduce) {
|
|
119
|
-
.
|
|
119
|
+
.awsui_root_1fn7j_1yjhw_97 > .awsui_styled-box_1fn7j_1yjhw_104:not(#\9) {
|
|
120
120
|
animation: none;
|
|
121
121
|
transition: none;
|
|
122
122
|
}
|
|
123
123
|
}
|
|
124
|
-
.awsui-motion-disabled .
|
|
124
|
+
.awsui-motion-disabled .awsui_root_1fn7j_1yjhw_97 > .awsui_styled-box_1fn7j_1yjhw_104:not(#\9), .awsui-mode-entering .awsui_root_1fn7j_1yjhw_97 > .awsui_styled-box_1fn7j_1yjhw_104:not(#\9) {
|
|
125
125
|
animation: none;
|
|
126
126
|
transition: none;
|
|
127
127
|
}
|
|
128
|
-
.
|
|
128
|
+
.awsui_root_1fn7j_1yjhw_97 > .awsui_styled-line_1fn7j_1yjhw_128:not(#\9) {
|
|
129
129
|
stroke: var(--color-foreground-control-default-wq2gpa, #ffffff);
|
|
130
130
|
stroke-width: 2;
|
|
131
131
|
fill: none;
|
|
132
132
|
}
|
|
133
|
-
.
|
|
133
|
+
.awsui_root_1fn7j_1yjhw_97 > .awsui_styled-line-disabled_1fn7j_1yjhw_133:not(#\9) {
|
|
134
134
|
stroke: var(--color-foreground-control-disabled-zmz2k2, #ffffff);
|
|
135
|
+
}
|
|
136
|
+
.awsui_root_1fn7j_1yjhw_97 > .awsui_styled-line-readonly_1fn7j_1yjhw_136:not(#\9) {
|
|
137
|
+
stroke: var(--color-foreground-control-read-only-ibiswj, #5f6b7a);
|
|
135
138
|
}
|
|
@@ -2,12 +2,14 @@
|
|
|
2
2
|
// es-module interop with Babel and Typescript
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
module.exports.default = {
|
|
5
|
-
"root": "
|
|
6
|
-
"styled-box": "awsui_styled-
|
|
7
|
-
"styled-box-checked": "awsui_styled-box-
|
|
8
|
-
"styled-box-indeterminate": "awsui_styled-box-
|
|
9
|
-
"styled-box-disabled": "awsui_styled-box-
|
|
10
|
-
"styled-
|
|
11
|
-
"styled-line
|
|
5
|
+
"root": "awsui_root_1fn7j_1yjhw_97",
|
|
6
|
+
"styled-box": "awsui_styled-box_1fn7j_1yjhw_104",
|
|
7
|
+
"styled-box-checked": "awsui_styled-box-checked_1fn7j_1yjhw_110",
|
|
8
|
+
"styled-box-indeterminate": "awsui_styled-box-indeterminate_1fn7j_1yjhw_110",
|
|
9
|
+
"styled-box-disabled": "awsui_styled-box-disabled_1fn7j_1yjhw_114",
|
|
10
|
+
"styled-box-readonly": "awsui_styled-box-readonly_1fn7j_1yjhw_114",
|
|
11
|
+
"styled-line": "awsui_styled-line_1fn7j_1yjhw_128",
|
|
12
|
+
"styled-line-disabled": "awsui_styled-line-disabled_1fn7j_1yjhw_133",
|
|
13
|
+
"styled-line-readonly": "awsui_styled-line-readonly_1fn7j_1yjhw_136"
|
|
12
14
|
};
|
|
13
15
|
|
package/internal/environment.js
CHANGED
|
@@ -350,6 +350,7 @@ export const colorBorderTilesDisabled: string;
|
|
|
350
350
|
export const colorBorderTutorial: string;
|
|
351
351
|
export const colorForegroundControlDefault: string;
|
|
352
352
|
export const colorForegroundControlDisabled: string;
|
|
353
|
+
export const colorForegroundControlReadOnly: string;
|
|
353
354
|
export const colorShadowDefault: string;
|
|
354
355
|
export const colorShadowMedium: string;
|
|
355
356
|
export const colorShadowSide: string;
|
|
@@ -350,6 +350,7 @@ export var colorBorderTilesDisabled = "var(--color-border-tiles-disabled-q5e1so,
|
|
|
350
350
|
export var colorBorderTutorial = "var(--color-border-tutorial-kk53ya, #d1d5db)";
|
|
351
351
|
export var colorForegroundControlDefault = "var(--color-foreground-control-default-wq2gpa, #ffffff)";
|
|
352
352
|
export var colorForegroundControlDisabled = "var(--color-foreground-control-disabled-zmz2k2, #ffffff)";
|
|
353
|
+
export var colorForegroundControlReadOnly = "var(--color-foreground-control-read-only-ibiswj, #5f6b7a)";
|
|
353
354
|
export var colorShadowDefault = "var(--color-shadow-default-8jp634, rgba(0, 7, 22, 0.12))";
|
|
354
355
|
export var colorShadowMedium = "var(--color-shadow-medium-wuskz4, rgba(0, 7, 22, 0.12))";
|
|
355
356
|
export var colorShadowSide = "var(--color-shadow-side-75ahs7, rgba(0, 7, 22, 0.12))";
|
|
@@ -1285,6 +1285,10 @@ module.exports.preset = {
|
|
|
1285
1285
|
"light": "{colorWhite}",
|
|
1286
1286
|
"dark": "{colorGrey800}"
|
|
1287
1287
|
},
|
|
1288
|
+
"colorForegroundControlReadOnly": {
|
|
1289
|
+
"light": "{colorGrey550}",
|
|
1290
|
+
"dark": "{colorGrey450}"
|
|
1291
|
+
},
|
|
1288
1292
|
"colorShadowDefault": {
|
|
1289
1293
|
"light": "{colorGreyTransparentHeavy}",
|
|
1290
1294
|
"dark": "{colorGreyTransparentHeavy}"
|
|
@@ -3431,6 +3435,10 @@ module.exports.preset = {
|
|
|
3431
3435
|
"light": "{colorGrey800}",
|
|
3432
3436
|
"dark": "{colorGrey800}"
|
|
3433
3437
|
},
|
|
3438
|
+
"colorForegroundControlReadOnly": {
|
|
3439
|
+
"light": "{colorGrey450}",
|
|
3440
|
+
"dark": "{colorGrey450}"
|
|
3441
|
+
},
|
|
3434
3442
|
"colorShadowDefault": {
|
|
3435
3443
|
"light": "{colorGreyTransparentHeavy}",
|
|
3436
3444
|
"dark": "{colorGreyTransparentHeavy}"
|
|
@@ -4497,6 +4505,10 @@ module.exports.preset = {
|
|
|
4497
4505
|
"light": "{colorGrey800}",
|
|
4498
4506
|
"dark": "{colorGrey800}"
|
|
4499
4507
|
},
|
|
4508
|
+
"colorForegroundControlReadOnly": {
|
|
4509
|
+
"light": "{colorGrey450}",
|
|
4510
|
+
"dark": "{colorGrey450}"
|
|
4511
|
+
},
|
|
4500
4512
|
"colorShadowDefault": {
|
|
4501
4513
|
"light": "{colorGreyTransparentHeavy}",
|
|
4502
4514
|
"dark": "{colorGreyTransparentHeavy}"
|
|
@@ -5495,6 +5507,10 @@ module.exports.preset = {
|
|
|
5495
5507
|
"light": "{colorWhite}",
|
|
5496
5508
|
"dark": "{colorGrey800}"
|
|
5497
5509
|
},
|
|
5510
|
+
"colorForegroundControlReadOnly": {
|
|
5511
|
+
"light": "{colorGrey550}",
|
|
5512
|
+
"dark": "{colorGrey450}"
|
|
5513
|
+
},
|
|
5498
5514
|
"colorShadowDefault": {
|
|
5499
5515
|
"light": "{colorGreyTransparentHeavy}",
|
|
5500
5516
|
"dark": "{colorGreyTransparentHeavy}"
|
|
@@ -6493,6 +6509,10 @@ module.exports.preset = {
|
|
|
6493
6509
|
"light": "{colorWhite}",
|
|
6494
6510
|
"dark": "{colorGrey800}"
|
|
6495
6511
|
},
|
|
6512
|
+
"colorForegroundControlReadOnly": {
|
|
6513
|
+
"light": "{colorGrey550}",
|
|
6514
|
+
"dark": "{colorGrey450}"
|
|
6515
|
+
},
|
|
6496
6516
|
"colorShadowDefault": {
|
|
6497
6517
|
"light": "{colorGreyTransparentHeavy}",
|
|
6498
6518
|
"dark": "{colorGreyTransparentHeavy}"
|
|
@@ -7491,6 +7511,10 @@ module.exports.preset = {
|
|
|
7491
7511
|
"light": "{colorWhite}",
|
|
7492
7512
|
"dark": "{colorGrey800}"
|
|
7493
7513
|
},
|
|
7514
|
+
"colorForegroundControlReadOnly": {
|
|
7515
|
+
"light": "{colorGrey550}",
|
|
7516
|
+
"dark": "{colorGrey450}"
|
|
7517
|
+
},
|
|
7494
7518
|
"colorShadowDefault": {
|
|
7495
7519
|
"light": "{colorGreyTransparentHeavy}",
|
|
7496
7520
|
"dark": "{colorGreyTransparentHeavy}"
|
|
@@ -8491,6 +8515,10 @@ module.exports.preset = {
|
|
|
8491
8515
|
"light": "{colorGrey800}",
|
|
8492
8516
|
"dark": "{colorGrey800}"
|
|
8493
8517
|
},
|
|
8518
|
+
"colorForegroundControlReadOnly": {
|
|
8519
|
+
"light": "{colorGrey450}",
|
|
8520
|
+
"dark": "{colorGrey450}"
|
|
8521
|
+
},
|
|
8494
8522
|
"colorShadowDefault": {
|
|
8495
8523
|
"light": "{colorGreyTransparentHeavy}",
|
|
8496
8524
|
"dark": "{colorGreyTransparentHeavy}"
|
|
@@ -9209,6 +9237,7 @@ module.exports.preset = {
|
|
|
9209
9237
|
"colorBorderTutorial": "color",
|
|
9210
9238
|
"colorForegroundControlDefault": "color",
|
|
9211
9239
|
"colorForegroundControlDisabled": "color",
|
|
9240
|
+
"colorForegroundControlReadOnly": "color",
|
|
9212
9241
|
"colorShadowDefault": "color",
|
|
9213
9242
|
"colorShadowMedium": "color",
|
|
9214
9243
|
"colorShadowSide": "color",
|
|
@@ -9610,6 +9639,7 @@ module.exports.preset = {
|
|
|
9610
9639
|
"colorBorderStatusWarning",
|
|
9611
9640
|
"colorForegroundControlDefault",
|
|
9612
9641
|
"colorForegroundControlDisabled",
|
|
9642
|
+
"colorForegroundControlReadOnly",
|
|
9613
9643
|
"colorTextAccent",
|
|
9614
9644
|
"colorTextBodyDefault",
|
|
9615
9645
|
"colorTextBodySecondary",
|
|
@@ -9928,6 +9958,7 @@ module.exports.preset = {
|
|
|
9928
9958
|
"colorBorderStatusWarning",
|
|
9929
9959
|
"colorForegroundControlDefault",
|
|
9930
9960
|
"colorForegroundControlDisabled",
|
|
9961
|
+
"colorForegroundControlReadOnly",
|
|
9931
9962
|
"colorTextAccent",
|
|
9932
9963
|
"colorTextBodyDefault",
|
|
9933
9964
|
"colorTextBodySecondary",
|
|
@@ -10409,6 +10440,7 @@ module.exports.preset = {
|
|
|
10409
10440
|
"colorBorderTutorial": "color-border-tutorial",
|
|
10410
10441
|
"colorForegroundControlDefault": "color-foreground-control-default",
|
|
10411
10442
|
"colorForegroundControlDisabled": "color-foreground-control-disabled",
|
|
10443
|
+
"colorForegroundControlReadOnly": "color-foreground-control-read-only",
|
|
10412
10444
|
"colorShadowDefault": "color-shadow-default",
|
|
10413
10445
|
"colorShadowMedium": "color-shadow-medium",
|
|
10414
10446
|
"colorShadowSide": "color-shadow-side",
|
|
@@ -11118,6 +11150,7 @@ module.exports.preset = {
|
|
|
11118
11150
|
"colorBorderTutorial": "--color-border-tutorial-kk53ya",
|
|
11119
11151
|
"colorForegroundControlDefault": "--color-foreground-control-default-wq2gpa",
|
|
11120
11152
|
"colorForegroundControlDisabled": "--color-foreground-control-disabled-zmz2k2",
|
|
11153
|
+
"colorForegroundControlReadOnly": "--color-foreground-control-read-only-ibiswj",
|
|
11121
11154
|
"colorShadowDefault": "--color-shadow-default-8jp634",
|
|
11122
11155
|
"colorShadowMedium": "--color-shadow-medium-wuskz4",
|
|
11123
11156
|
"colorShadowSide": "--color-shadow-side-75ahs7",
|
|
@@ -130,6 +130,7 @@ export declare interface TypedOverride {
|
|
|
130
130
|
colorBorderStatusWarning?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
|
|
131
131
|
colorForegroundControlDefault?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
|
|
132
132
|
colorForegroundControlDisabled?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
|
|
133
|
+
colorForegroundControlReadOnly?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
|
|
133
134
|
colorTextAccent?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
|
|
134
135
|
colorTextBodyDefault?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
|
|
135
136
|
colorTextBodySecondary?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
|
|
@@ -353,6 +354,7 @@ export declare interface TypedOverride {
|
|
|
353
354
|
colorBorderStatusWarning?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
|
|
354
355
|
colorForegroundControlDefault?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
|
|
355
356
|
colorForegroundControlDisabled?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
|
|
357
|
+
colorForegroundControlReadOnly?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
|
|
356
358
|
colorTextAccent?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
|
|
357
359
|
colorTextBodyDefault?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
|
|
358
360
|
colorTextBodySecondary?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
|
|
@@ -576,6 +578,7 @@ export declare interface TypedOverride {
|
|
|
576
578
|
colorBorderStatusWarning?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
|
|
577
579
|
colorForegroundControlDefault?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
|
|
578
580
|
colorForegroundControlDisabled?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
|
|
581
|
+
colorForegroundControlReadOnly?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
|
|
579
582
|
colorTextAccent?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
|
|
580
583
|
colorTextBodyDefault?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
|
|
581
584
|
colorTextBodySecondary?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
|
|
@@ -799,6 +802,7 @@ export declare interface TypedOverride {
|
|
|
799
802
|
colorBorderStatusWarning?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
|
|
800
803
|
colorForegroundControlDefault?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
|
|
801
804
|
colorForegroundControlDisabled?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
|
|
805
|
+
colorForegroundControlReadOnly?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
|
|
802
806
|
colorTextAccent?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
|
|
803
807
|
colorTextBodyDefault?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
|
|
804
808
|
colorTextBodySecondary?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
|
|
@@ -1022,6 +1026,7 @@ export declare interface TypedOverride {
|
|
|
1022
1026
|
colorBorderStatusWarning?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
|
|
1023
1027
|
colorForegroundControlDefault?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
|
|
1024
1028
|
colorForegroundControlDisabled?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
|
|
1029
|
+
colorForegroundControlReadOnly?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
|
|
1025
1030
|
colorTextAccent?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
|
|
1026
1031
|
colorTextBodyDefault?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
|
|
1027
1032
|
colorTextBodySecondary?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
|
|
@@ -1245,6 +1250,7 @@ export declare interface TypedOverride {
|
|
|
1245
1250
|
colorBorderStatusWarning?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
|
|
1246
1251
|
colorForegroundControlDefault?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
|
|
1247
1252
|
colorForegroundControlDisabled?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
|
|
1253
|
+
colorForegroundControlReadOnly?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
|
|
1248
1254
|
colorTextAccent?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
|
|
1249
1255
|
colorTextBodyDefault?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
|
|
1250
1256
|
colorTextBodySecondary?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
|
|
@@ -1468,6 +1474,7 @@ export declare interface TypedOverride {
|
|
|
1468
1474
|
colorBorderStatusWarning?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
|
|
1469
1475
|
colorForegroundControlDefault?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
|
|
1470
1476
|
colorForegroundControlDisabled?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
|
|
1477
|
+
colorForegroundControlReadOnly?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
|
|
1471
1478
|
colorTextAccent?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
|
|
1472
1479
|
colorTextBodyDefault?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
|
|
1473
1480
|
colorTextBodySecondary?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
|
|
@@ -1691,6 +1698,7 @@ export declare interface TypedOverride {
|
|
|
1691
1698
|
colorBorderStatusWarning?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
|
|
1692
1699
|
colorForegroundControlDefault?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
|
|
1693
1700
|
colorForegroundControlDisabled?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
|
|
1701
|
+
colorForegroundControlReadOnly?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
|
|
1694
1702
|
colorTextAccent?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
|
|
1695
1703
|
colorTextBodyDefault?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
|
|
1696
1704
|
colorTextBodySecondary?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
|