@workday/canvas-kit-css 11.0.0-alpha.801-next.0 → 11.0.0-alpha.804-next.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/badge.css +1 -1
- package/button.css +54 -54
- package/checkbox.css +21 -21
- package/collection.css +2 -2
- package/icon.css +4 -4
- package/menu.css +2 -2
- package/package.json +2 -2
- package/switch.css +3 -3
- package/text.css +20 -20
package/badge.css
CHANGED
package/button.css
CHANGED
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
}
|
|
69
69
|
|
|
70
70
|
|
|
71
|
-
.cnvs-button
|
|
71
|
+
.cnvs-button.size-large {
|
|
72
72
|
font-family: var(--cnvs-base-font-family-50);
|
|
73
73
|
font-weight: var(--cnvs-sys-font-weight-bold);
|
|
74
74
|
line-height: var(--cnvs-base-line-height-150);
|
|
@@ -80,7 +80,7 @@
|
|
|
80
80
|
}
|
|
81
81
|
|
|
82
82
|
|
|
83
|
-
.cnvs-button
|
|
83
|
+
.cnvs-button.size-medium {
|
|
84
84
|
font-family: var(--cnvs-base-font-family-50);
|
|
85
85
|
font-weight: var(--cnvs-sys-font-weight-bold);
|
|
86
86
|
line-height: var(--cnvs-base-line-height-100);
|
|
@@ -92,7 +92,7 @@
|
|
|
92
92
|
}
|
|
93
93
|
|
|
94
94
|
|
|
95
|
-
.cnvs-button
|
|
95
|
+
.cnvs-button.size-small {
|
|
96
96
|
font-family: var(--cnvs-base-font-family-50);
|
|
97
97
|
font-weight: var(--cnvs-sys-font-weight-bold);
|
|
98
98
|
line-height: var(--cnvs-base-line-height-100);
|
|
@@ -105,7 +105,7 @@
|
|
|
105
105
|
}
|
|
106
106
|
|
|
107
107
|
|
|
108
|
-
.cnvs-button
|
|
108
|
+
.cnvs-button.size-extra-small {
|
|
109
109
|
font-family: var(--cnvs-base-font-family-50);
|
|
110
110
|
font-weight: var(--cnvs-sys-font-weight-bold);
|
|
111
111
|
line-height: var(--cnvs-base-line-height-50);
|
|
@@ -118,76 +118,76 @@
|
|
|
118
118
|
}
|
|
119
119
|
|
|
120
120
|
|
|
121
|
-
.cnvs-button
|
|
121
|
+
.cnvs-button.icon-position-only {
|
|
122
122
|
padding: var(--cnvs-sys-space-zero);
|
|
123
123
|
}
|
|
124
124
|
|
|
125
125
|
|
|
126
126
|
|
|
127
127
|
|
|
128
|
-
.cnvs-button
|
|
128
|
+
.cnvs-button.size-large.icon-position-only {
|
|
129
129
|
min-width: calc(var(--cnvs-sys-space-x4) * 3);
|
|
130
130
|
}
|
|
131
131
|
|
|
132
132
|
|
|
133
|
-
.cnvs-button
|
|
133
|
+
.cnvs-button.size-large.icon-position-start {
|
|
134
134
|
padding-inline-start: var(--cnvs-sys-space-x6);
|
|
135
135
|
padding-inline-end: var(--cnvs-sys-space-x8);
|
|
136
136
|
}
|
|
137
137
|
|
|
138
138
|
|
|
139
|
-
.cnvs-button
|
|
139
|
+
.cnvs-button.size-large.icon-position-end {
|
|
140
140
|
padding-inline-start: var(--cnvs-sys-space-x8);
|
|
141
141
|
padding-inline-end: var(--cnvs-sys-space-x6);
|
|
142
142
|
}
|
|
143
143
|
|
|
144
144
|
|
|
145
|
-
.cnvs-button
|
|
145
|
+
.cnvs-button.size-medium.icon-position-only {
|
|
146
146
|
min-width: var(--cnvs-sys-space-x10);
|
|
147
147
|
}
|
|
148
148
|
|
|
149
149
|
|
|
150
|
-
.cnvs-button
|
|
150
|
+
.cnvs-button.size-medium.icon-position-start {
|
|
151
151
|
padding-inline-start: calc(var(--cnvs-sys-space-x1) * 5);
|
|
152
152
|
padding-inline-end: var(--cnvs-sys-space-x6);
|
|
153
153
|
}
|
|
154
154
|
|
|
155
155
|
|
|
156
|
-
.cnvs-button
|
|
156
|
+
.cnvs-button.size-medium.icon-position-end {
|
|
157
157
|
padding-inline-start: var(--cnvs-sys-space-x6);
|
|
158
158
|
padding-inline-end: calc(var(--cnvs-sys-space-x1) * 5);
|
|
159
159
|
}
|
|
160
160
|
|
|
161
161
|
|
|
162
|
-
.cnvs-button
|
|
162
|
+
.cnvs-button.size-small.icon-position-only {
|
|
163
163
|
min-width: var(--cnvs-sys-space-x8);
|
|
164
164
|
}
|
|
165
165
|
|
|
166
166
|
|
|
167
|
-
.cnvs-button
|
|
167
|
+
.cnvs-button.size-small.icon-position-start {
|
|
168
168
|
padding-inline-start: var(--cnvs-sys-space-x3);
|
|
169
169
|
padding-inline-end: var(--cnvs-sys-space-x4);
|
|
170
170
|
}
|
|
171
171
|
|
|
172
172
|
|
|
173
|
-
.cnvs-button
|
|
173
|
+
.cnvs-button.size-small.icon-position-end {
|
|
174
174
|
padding-inline-start: var(--cnvs-sys-space-x4);
|
|
175
175
|
padding-inline-end: var(--cnvs-sys-space-x3);
|
|
176
176
|
}
|
|
177
177
|
|
|
178
178
|
|
|
179
|
-
.cnvs-button
|
|
179
|
+
.cnvs-button.size-extraSmall.icon-position-only {
|
|
180
180
|
min-width: var(--cnvs-sys-space-x6);
|
|
181
181
|
}
|
|
182
182
|
|
|
183
183
|
|
|
184
|
-
.cnvs-button
|
|
184
|
+
.cnvs-button.size-extraSmall.icon-position-start {
|
|
185
185
|
padding-inline-start: var(--cnvs-sys-space-x2);
|
|
186
186
|
padding-inline-end: var(--cnvs-sys-space-x3);
|
|
187
187
|
}
|
|
188
188
|
|
|
189
189
|
|
|
190
|
-
.cnvs-button
|
|
190
|
+
.cnvs-button.size-extraSmall.icon-position-end {
|
|
191
191
|
padding-inline-start: var(--cnvs-sys-space-x3);
|
|
192
192
|
padding-inline-end: var(--cnvs-sys-space-x2);
|
|
193
193
|
}
|
|
@@ -234,147 +234,147 @@
|
|
|
234
234
|
}
|
|
235
235
|
|
|
236
236
|
|
|
237
|
-
.cnvs-tertiary-button
|
|
237
|
+
.cnvs-tertiary-button.icon-position-only {
|
|
238
238
|
padding: 0;
|
|
239
239
|
border-radius: var(--cnvs-sys-shape-round);
|
|
240
240
|
--cnvs-system-icon-color: var(--cnvs-sys-color-fg-strong);
|
|
241
241
|
}
|
|
242
242
|
|
|
243
|
-
.cnvs-tertiary-button
|
|
243
|
+
.cnvs-tertiary-button.icon-position-only:focus-visible, .cnvs-tertiary-button.icon-position-only.focus {
|
|
244
244
|
--cnvs-system-icon-color: var(--cnvs-sys-color-fg-strong);
|
|
245
245
|
}
|
|
246
246
|
|
|
247
|
-
.cnvs-tertiary-button
|
|
247
|
+
.cnvs-tertiary-button.icon-position-only:hover, .cnvs-tertiary-button.icon-position-only.hover {
|
|
248
248
|
--cnvs-system-icon-color: var(--cnvs-sys-color-fg-strong);
|
|
249
249
|
}
|
|
250
250
|
|
|
251
|
-
.cnvs-tertiary-button
|
|
251
|
+
.cnvs-tertiary-button.icon-position-only:active, .cnvs-tertiary-button.icon-position-only.active {
|
|
252
252
|
--cnvs-system-icon-color: var(--cnvs-sys-color-fg-stronger);
|
|
253
253
|
}
|
|
254
254
|
|
|
255
|
-
.cnvs-tertiary-button
|
|
255
|
+
.cnvs-tertiary-button.icon-position-only:disabled, .cnvs-tertiary-button.icon-position-only.disabled {
|
|
256
256
|
--cnvs-system-icon-color: var(--cnvs-sys-color-fg-strong);
|
|
257
257
|
}
|
|
258
258
|
|
|
259
259
|
|
|
260
260
|
|
|
261
261
|
|
|
262
|
-
.cnvs-tertiary-button
|
|
262
|
+
.cnvs-tertiary-button.is-themeable {
|
|
263
263
|
--cnvs-system-icon-color: var(--cnvs-brand-primary-base);
|
|
264
264
|
}
|
|
265
265
|
|
|
266
|
-
.cnvs-tertiary-button
|
|
266
|
+
.cnvs-tertiary-button.is-themeable:focus-visible, .cnvs-tertiary-button.is-themeable.focus {
|
|
267
267
|
--cnvs-system-icon-color: var(--cnvs-brand-primary-base);
|
|
268
268
|
}
|
|
269
269
|
|
|
270
|
-
.cnvs-tertiary-button
|
|
270
|
+
.cnvs-tertiary-button.is-themeable:hover, .cnvs-tertiary-button.is-themeable.hover {
|
|
271
271
|
--cnvs-system-icon-color: var(--cnvs-brand-primary-dark);
|
|
272
272
|
}
|
|
273
273
|
|
|
274
|
-
.cnvs-tertiary-button
|
|
274
|
+
.cnvs-tertiary-button.is-themeable:active, .cnvs-tertiary-button.is-themeable.active {
|
|
275
275
|
--cnvs-system-icon-color: var(--cnvs-brand-primary-darkest);
|
|
276
276
|
}
|
|
277
277
|
|
|
278
|
-
.cnvs-tertiary-button
|
|
278
|
+
.cnvs-tertiary-button.is-themeable:disabled, .cnvs-tertiary-button.is-themeable.disabled {
|
|
279
279
|
--cnvs-system-icon-color: var(--cnvs-brand-primary-base);
|
|
280
280
|
}
|
|
281
281
|
|
|
282
282
|
|
|
283
|
-
.cnvs-tertiary-button
|
|
283
|
+
.cnvs-tertiary-button.variant-inverse {
|
|
284
284
|
--cnvs-button-background: transparent;
|
|
285
285
|
--cnvs-button-label: var(--cnvs-sys-color-fg-inverse);
|
|
286
286
|
--cnvs-system-icon-color: var(--cnvs-sys-color-fg-inverse);
|
|
287
287
|
}
|
|
288
288
|
|
|
289
|
-
.cnvs-tertiary-button
|
|
289
|
+
.cnvs-tertiary-button.variant-inverse:focus-visible, .cnvs-tertiary-button.variant-inverse.focus {
|
|
290
290
|
--cnvs-button-background: var(--cnvs-sys-color-bg-default);
|
|
291
291
|
--cnvs-button-label: var(--cnvs-sys-color-fg-strong);
|
|
292
292
|
--cnvs-system-icon-color: var(--cnvs-sys-color-fg-strong);
|
|
293
293
|
box-shadow: inset 0 0 0 2px var(--cnvs-sys-color-border-contrast-default),0 0 0 2px var(--cnvs-sys-color-border-inverse);
|
|
294
294
|
}
|
|
295
295
|
|
|
296
|
-
.cnvs-tertiary-button
|
|
296
|
+
.cnvs-tertiary-button.variant-inverse:hover, .cnvs-tertiary-button.variant-inverse.hover {
|
|
297
297
|
--cnvs-button-background: var(--cnvs-sys-color-bg-default);
|
|
298
298
|
--cnvs-button-label: var(--cnvs-sys-color-fg-strong);
|
|
299
299
|
--cnvs-system-icon-color: var(--cnvs-sys-color-fg-strong);
|
|
300
300
|
}
|
|
301
301
|
|
|
302
|
-
.cnvs-tertiary-button
|
|
302
|
+
.cnvs-tertiary-button.variant-inverse:active, .cnvs-tertiary-button.variant-inverse.active {
|
|
303
303
|
--cnvs-button-background: var(--cnvs-sys-color-bg-alt-soft);
|
|
304
304
|
--cnvs-button-label: var(--cnvs-sys-color-fg-strong);
|
|
305
305
|
--cnvs-system-icon-color: var(--cnvs-sys-color-fg-strong);
|
|
306
306
|
}
|
|
307
307
|
|
|
308
|
-
.cnvs-tertiary-button
|
|
308
|
+
.cnvs-tertiary-button.variant-inverse:disabled, .cnvs-tertiary-button.variant-inverse.disabled {
|
|
309
309
|
--cnvs-button-background: transparent;
|
|
310
310
|
--cnvs-button-label: var(--cnvs-sys-color-fg-inverse);
|
|
311
311
|
--cnvs-system-icon-color: var(--cnvs-sys-color-fg-inverse);
|
|
312
312
|
}
|
|
313
313
|
|
|
314
314
|
|
|
315
|
-
.cnvs-tertiary-button.
|
|
315
|
+
.cnvs-tertiary-button.size-large.icon-position-only {
|
|
316
316
|
min-width: calc(var(--cnvs-sys-space-x4) * 3);
|
|
317
317
|
}
|
|
318
318
|
|
|
319
319
|
|
|
320
|
-
.cnvs-tertiary-button.
|
|
320
|
+
.cnvs-tertiary-button.size-large.icon-position-start {
|
|
321
321
|
padding-inline-start: var(--cnvs-sys-space-x2);
|
|
322
322
|
padding-inline-end: var(--cnvs-sys-space-x3);
|
|
323
323
|
}
|
|
324
324
|
|
|
325
325
|
|
|
326
|
-
.cnvs-tertiary-button.
|
|
326
|
+
.cnvs-tertiary-button.size-large.icon-position-end {
|
|
327
327
|
padding-inline-start: var(--cnvs-sys-space-x3);
|
|
328
328
|
padding-inline-end: var(--cnvs-sys-space-x2);
|
|
329
329
|
}
|
|
330
330
|
|
|
331
331
|
|
|
332
|
-
.cnvs-tertiary-button.
|
|
332
|
+
.cnvs-tertiary-button.size-medium.icon-position-only {
|
|
333
333
|
min-width: var(--cnvs-sys-space-x10);
|
|
334
334
|
}
|
|
335
335
|
|
|
336
336
|
|
|
337
|
-
.cnvs-tertiary-button.
|
|
337
|
+
.cnvs-tertiary-button.size-medium.icon-position-start {
|
|
338
338
|
padding-inline-start: var(--cnvs-sys-space-x2);
|
|
339
339
|
padding-inline-end: var(--cnvs-sys-space-x3);
|
|
340
340
|
}
|
|
341
341
|
|
|
342
342
|
|
|
343
|
-
.cnvs-tertiary-button.
|
|
343
|
+
.cnvs-tertiary-button.size-medium.icon-position-end {
|
|
344
344
|
padding-inline-start: var(--cnvs-sys-space-x3);
|
|
345
345
|
padding-inline-end: var(--cnvs-sys-space-x2);
|
|
346
346
|
}
|
|
347
347
|
|
|
348
348
|
|
|
349
|
-
.cnvs-tertiary-button.
|
|
349
|
+
.cnvs-tertiary-button.size-small.icon-position-only {
|
|
350
350
|
min-width: var(--cnvs-sys-space-x8);
|
|
351
351
|
}
|
|
352
352
|
|
|
353
353
|
|
|
354
|
-
.cnvs-tertiary-button.
|
|
354
|
+
.cnvs-tertiary-button.size-small.icon-position-start {
|
|
355
355
|
padding-inline-start: var(--cnvs-sys-space-x2);
|
|
356
356
|
padding-inline-end: var(--cnvs-sys-space-x3);
|
|
357
357
|
}
|
|
358
358
|
|
|
359
359
|
|
|
360
|
-
.cnvs-tertiary-button.
|
|
360
|
+
.cnvs-tertiary-button.size-small.icon-position-end {
|
|
361
361
|
padding-inline-start: var(--cnvs-sys-space-x3);
|
|
362
362
|
padding-inline-end: var(--cnvs-sys-space-x2);
|
|
363
363
|
}
|
|
364
364
|
|
|
365
365
|
|
|
366
|
-
.cnvs-tertiary-button.
|
|
366
|
+
.cnvs-tertiary-button.size-extraSmall.icon-position-only {
|
|
367
367
|
min-width: var(--cnvs-sys-space-x6);
|
|
368
368
|
}
|
|
369
369
|
|
|
370
370
|
|
|
371
|
-
.cnvs-tertiary-button.
|
|
371
|
+
.cnvs-tertiary-button.size-extraSmall.icon-position-start {
|
|
372
372
|
padding-inline-start: var(--cnvs-sys-space-x1);
|
|
373
373
|
padding-inline-end: var(--cnvs-sys-space-x2);
|
|
374
374
|
}
|
|
375
375
|
|
|
376
376
|
|
|
377
|
-
.cnvs-tertiary-button.
|
|
377
|
+
.cnvs-tertiary-button.size-extraSmall.icon-position-end {
|
|
378
378
|
padding-inline-start: var(--cnvs-sys-space-x2);
|
|
379
379
|
padding-inline-end: var(--cnvs-sys-space-x1);
|
|
380
380
|
}
|
|
@@ -416,14 +416,14 @@
|
|
|
416
416
|
}
|
|
417
417
|
|
|
418
418
|
|
|
419
|
-
.cnvs-primary-button
|
|
419
|
+
.cnvs-primary-button.variant-inverse {
|
|
420
420
|
--cnvs-button-background: var(--cnvs-sys-color-bg-default);
|
|
421
421
|
--cnvs-button-border-radius: var(--cnvs-sys-shape-round);
|
|
422
422
|
--cnvs-button-label: var(--cnvs-sys-color-fg-strong);
|
|
423
423
|
--cnvs-system-icon-color: var(--cnvs-sys-color-fg-strong);
|
|
424
424
|
}
|
|
425
425
|
|
|
426
|
-
.cnvs-primary-button
|
|
426
|
+
.cnvs-primary-button.variant-inverse:focus-visible, .cnvs-primary-button.variant-inverse.focus {
|
|
427
427
|
--cnvs-button-background: var(--cnvs-sys-color-bg-default);
|
|
428
428
|
--cnvs-button-label: var(--cnvs-sys-color-fg-strong);
|
|
429
429
|
--cnvs-button-box-shadow-inner: var(--cnvs-sys-color-border-contrast-default);
|
|
@@ -431,19 +431,19 @@
|
|
|
431
431
|
--cnvs-system-icon-color: var(--cnvs-sys-color-fg-strong);
|
|
432
432
|
}
|
|
433
433
|
|
|
434
|
-
.cnvs-primary-button
|
|
434
|
+
.cnvs-primary-button.variant-inverse:hover, .cnvs-primary-button.variant-inverse.hover {
|
|
435
435
|
--cnvs-button-background: var(--cnvs-sys-color-bg-alt-default);
|
|
436
436
|
--cnvs-button-label: var(--cnvs-sys-color-fg-stronger);
|
|
437
437
|
--cnvs-system-icon-color: var(--cnvs-sys-color-fg-stronger);
|
|
438
438
|
}
|
|
439
439
|
|
|
440
|
-
.cnvs-primary-button
|
|
440
|
+
.cnvs-primary-button.variant-inverse:active, .cnvs-primary-button.variant-inverse.active {
|
|
441
441
|
--cnvs-button-background: var(--cnvs-sys-color-bg-alt-strong);
|
|
442
442
|
--cnvs-button-label: var(--cnvs-sys-color-fg-stronger);
|
|
443
443
|
--cnvs-system-icon-color: var(--cnvs-sys-color-fg-stronger);
|
|
444
444
|
}
|
|
445
445
|
|
|
446
|
-
.cnvs-primary-button
|
|
446
|
+
.cnvs-primary-button.variant-inverse:disabled, .cnvs-primary-button.variant-inverse.disabled {
|
|
447
447
|
--cnvs-button-background: var(--cnvs-sys-color-bg-default);
|
|
448
448
|
--cnvs-button-label: var(--cnvs-sys-color-fg-strong);
|
|
449
449
|
--cnvs-system-icon-color: var(--cnvs-sys-color-fg-strong);
|
|
@@ -491,14 +491,14 @@
|
|
|
491
491
|
}
|
|
492
492
|
|
|
493
493
|
|
|
494
|
-
.cnvs-secondary-button
|
|
494
|
+
.cnvs-secondary-button.variant-inverse {
|
|
495
495
|
--cnvs-button-background: transparent;
|
|
496
496
|
--cnvs-button-border: var(--cnvs-sys-color-border-inverse);
|
|
497
497
|
--cnvs-button-label: var(--cnvs-sys-color-fg-inverse);
|
|
498
498
|
--cnvs-system-icon-color: var(--cnvs-sys-color-fg-inverse);
|
|
499
499
|
}
|
|
500
500
|
|
|
501
|
-
.cnvs-secondary-button
|
|
501
|
+
.cnvs-secondary-button.variant-inverse:focus-visible, .cnvs-secondary-button.variant-inverse.focus {
|
|
502
502
|
--cnvs-button-background: var(--cnvs-sys-color-bg-default);
|
|
503
503
|
--cnvs-button-border: transparent;
|
|
504
504
|
--cnvs-button-label: var(--cnvs-sys-color-fg-strong);
|
|
@@ -507,21 +507,21 @@
|
|
|
507
507
|
--cnvs-system-icon-color: var(--cnvs-sys-color-fg-strong);
|
|
508
508
|
}
|
|
509
509
|
|
|
510
|
-
.cnvs-secondary-button
|
|
510
|
+
.cnvs-secondary-button.variant-inverse:hover, .cnvs-secondary-button.variant-inverse.hover {
|
|
511
511
|
--cnvs-button-background: var(--cnvs-sys-color-bg-alt-default);
|
|
512
512
|
--cnvs-button-border: transparent;
|
|
513
513
|
--cnvs-button-label: var(--cnvs-sys-color-fg-stronger);
|
|
514
514
|
--cnvs-system-icon-color: var(--cnvs-sys-color-fg-stronger);
|
|
515
515
|
}
|
|
516
516
|
|
|
517
|
-
.cnvs-secondary-button
|
|
517
|
+
.cnvs-secondary-button.variant-inverse:active, .cnvs-secondary-button.variant-inverse.active {
|
|
518
518
|
--cnvs-button-background: var(--cnvs-sys-color-bg-alt-strong);
|
|
519
519
|
--cnvs-button-border: transparent;
|
|
520
520
|
--cnvs-button-label: var(--cnvs-sys-color-fg-stronger);
|
|
521
521
|
--cnvs-system-icon-color: var(--cnvs-sys-color-fg-stronger);
|
|
522
522
|
}
|
|
523
523
|
|
|
524
|
-
.cnvs-secondary-button
|
|
524
|
+
.cnvs-secondary-button.variant-inverse:disabled, .cnvs-secondary-button.variant-inverse.disabled {
|
|
525
525
|
--cnvs-button-background: transparent;
|
|
526
526
|
--cnvs-button-border: var(--cnvs-sys-color-border-inverse);
|
|
527
527
|
--cnvs-button-label: var(--cnvs-sys-color-fg-inverse);
|
package/checkbox.css
CHANGED
|
@@ -48,13 +48,13 @@
|
|
|
48
48
|
}
|
|
49
49
|
|
|
50
50
|
|
|
51
|
-
.cnvs-checkbox-background
|
|
51
|
+
.cnvs-checkbox-background.error-error {
|
|
52
52
|
--cnvs-checkbox-background-error-ring-color-inner: var(--cnvs-brand-error-base);
|
|
53
53
|
--cnvs-checkbox-background-error-ring-color-outer: transparent;
|
|
54
54
|
}
|
|
55
55
|
|
|
56
56
|
|
|
57
|
-
.cnvs-checkbox-background
|
|
57
|
+
.cnvs-checkbox-background.error-alert {
|
|
58
58
|
--cnvs-checkbox-background-error-ring-color-inner: var(--cnvs-brand-alert-base);
|
|
59
59
|
--cnvs-checkbox-background-error-ring-color-outer: var(--cnvs-brand-alert-darkest);
|
|
60
60
|
}
|
|
@@ -77,24 +77,24 @@
|
|
|
77
77
|
}
|
|
78
78
|
|
|
79
79
|
|
|
80
|
-
.cnvs-checkbox-check
|
|
80
|
+
.cnvs-checkbox-check.checked {
|
|
81
81
|
--cnvs-system-icon-color: var(--cnvs-brand-primary-accent);
|
|
82
82
|
opacity: var(--cnvs-sys-opacity-full);
|
|
83
83
|
transform: scale(1);
|
|
84
84
|
}
|
|
85
85
|
|
|
86
86
|
|
|
87
|
-
.cnvs-checkbox-check
|
|
87
|
+
.cnvs-checkbox-check.indeterminate {
|
|
88
88
|
opacity: var(--cnvs-sys-opacity-full);
|
|
89
89
|
transform: scale(1);
|
|
90
90
|
}
|
|
91
91
|
|
|
92
92
|
|
|
93
|
-
.cnvs-checkbox-check
|
|
93
|
+
.cnvs-checkbox-check.variant-inverse {
|
|
94
94
|
--cnvs-system-icon-color: var(--cnvs-brand-primary-base);
|
|
95
95
|
}
|
|
96
96
|
|
|
97
|
-
.cnvs-checkbox-check
|
|
97
|
+
.cnvs-checkbox-check.variant-inverse>div {
|
|
98
98
|
background-color: var(--cnvs-brand-primary-base);
|
|
99
99
|
}
|
|
100
100
|
|
|
@@ -168,73 +168,73 @@
|
|
|
168
168
|
}
|
|
169
169
|
|
|
170
170
|
|
|
171
|
-
.cnvs-checkbox-input
|
|
171
|
+
.cnvs-checkbox-input.variant-inverse~span:first-of-type {
|
|
172
172
|
opacity: var(--cnvs-sys-opacity-disabled);
|
|
173
173
|
}
|
|
174
174
|
|
|
175
|
-
.cnvs-checkbox-input
|
|
175
|
+
.cnvs-checkbox-input.variant-inverse~div:first-of-type {
|
|
176
176
|
border-color: var(--cnvs-sys-color-border-input-inverse);
|
|
177
177
|
}
|
|
178
178
|
|
|
179
|
-
.cnvs-checkbox-input
|
|
179
|
+
.cnvs-checkbox-input.variant-inverse:not(:where(:checked, :indeterminate, :disabled, :focus-visible, .focus)):where(:hover, .hover, :active, .active)~div:first-of-type {
|
|
180
180
|
border-color: var(--cnvs-sys-color-border-input-inverse);
|
|
181
181
|
}
|
|
182
182
|
|
|
183
|
-
.cnvs-checkbox-input
|
|
183
|
+
.cnvs-checkbox-input.variant-inverse:where(:checked, :indeterminate)~div:first-of-type {
|
|
184
184
|
border-color: var(--cnvs-sys-color-border-input-inverse);
|
|
185
185
|
background-color: var(--cnvs-sys-color-bg-default);
|
|
186
186
|
}
|
|
187
187
|
|
|
188
|
-
.cnvs-checkbox-input
|
|
188
|
+
.cnvs-checkbox-input.variant-inverse:disabled~div:first-of-type {
|
|
189
189
|
background-color: var(--cnvs-sys-color-bg-alt-default);
|
|
190
190
|
opacity: var(--cnvs-sys-opacity-disabled);
|
|
191
191
|
}
|
|
192
192
|
|
|
193
|
-
.cnvs-checkbox-input
|
|
193
|
+
.cnvs-checkbox-input.variant-inverse:disabled:where(:checked, :indeterminate)~div:first-of-type {
|
|
194
194
|
border-color: var(--cnvs-sys-color-border-input-inverse);
|
|
195
195
|
background-color: var(--cnvs-sys-color-bg-default);
|
|
196
196
|
}
|
|
197
197
|
|
|
198
|
-
.cnvs-checkbox-input
|
|
198
|
+
.cnvs-checkbox-input.variant-inverse:where(:focus-visible, .focus)~div:first-of-type {
|
|
199
199
|
border-color: var(--cnvs-sys-color-border-contrast-default);
|
|
200
200
|
box-shadow: 0 0 0 0px var(--cnvs-sys-color-border-contrast-default),0 0 0 2px var(--cnvs-sys-color-border-inverse);
|
|
201
201
|
}
|
|
202
202
|
|
|
203
|
-
.cnvs-checkbox-input
|
|
203
|
+
.cnvs-checkbox-input.variant-inverse:checked:focus-visible~div:first-of-type, .cnvs-checkbox-input.variant-inverse:checked.focus~div:first-of-type, .cnvs-checkbox-input.variant-inverse:indeterminate:focus-visible~div:first-of-type, .cnvs-checkbox-input.variant-inverse:indeterminate.focus~div:first-of-type {
|
|
204
204
|
box-shadow: 0 0 0 2px var(--cnvs-sys-color-border-contrast-default),0 0 0 4px var(--cnvs-sys-color-border-inverse);
|
|
205
205
|
border-color: var(--cnvs-sys-color-border-inverse);
|
|
206
206
|
}
|
|
207
207
|
|
|
208
208
|
|
|
209
|
-
.cnvs-checkbox-input
|
|
209
|
+
.cnvs-checkbox-input.disabled:where(:hover, .hover)~span:first-of-type {
|
|
210
210
|
box-shadow: none;
|
|
211
211
|
}
|
|
212
212
|
|
|
213
213
|
|
|
214
|
-
.cnvs-checkbox-input
|
|
214
|
+
.cnvs-checkbox-input.error:not(:where(:focus-visible, .focus))~div:first-of-type {
|
|
215
215
|
border-color: var(--cnvs-checkbox-background-error-ring-color-inner);
|
|
216
216
|
box-shadow: 0 0 0 0.0625rem var(--cnvs-checkbox-background-error-ring-color-inner),0 0 0 0.125rem var(--cnvs-checkbox-background-error-ring-color-outer);
|
|
217
217
|
}
|
|
218
218
|
|
|
219
|
-
.cnvs-checkbox-input
|
|
219
|
+
.cnvs-checkbox-input.error:where(:checked, :indeterminate)~div:first-of-type {
|
|
220
220
|
border-color: transparent;
|
|
221
221
|
box-shadow: 0 0 0 0.125rem var(--cnvs-sys-color-border-inverse),0 0 0 0.25rem var(--cnvs-checkbox-background-error-ring-color-inner),0 0 0 0.3125rem var(--cnvs-checkbox-background-error-ring-color-outer);
|
|
222
222
|
}
|
|
223
223
|
|
|
224
|
-
.cnvs-checkbox-input
|
|
224
|
+
.cnvs-checkbox-input.error:not(:where(:checked, :indeterminate, :disabled, :focus-visible, .focus)):where(:hover, .hover, :active, .active)~div:first-of-type {
|
|
225
225
|
border-color: var(--cnvs-checkbox-background-error-ring-color-inner);
|
|
226
226
|
}
|
|
227
227
|
|
|
228
228
|
|
|
229
|
-
.cnvs-checkbox-input
|
|
229
|
+
.cnvs-checkbox-input.variant-inverse.error:not(:where(:focus-visible, .focus))~div:first-of-type {
|
|
230
230
|
border: 0.0625rem solid var(--cnvs-sys-color-border-input-inverse);
|
|
231
231
|
}
|
|
232
232
|
|
|
233
|
-
.cnvs-checkbox-input
|
|
233
|
+
.cnvs-checkbox-input.variant-inverse.error:not(where(:checked, :indeterminate, :disabled, :focus-visible, .focus)):where(:hover, .hover, :active, .active)~div:first-of-type {
|
|
234
234
|
border-color: var(--cnvs-sys-color-border-input-inverse);
|
|
235
235
|
}
|
|
236
236
|
|
|
237
|
-
.cnvs-checkbox-input
|
|
237
|
+
.cnvs-checkbox-input.variant-inverse.error:where(:checked, :indeterminate)~div:first-of-type {
|
|
238
238
|
border-color: var(--cnvs-sys-color-border-input-inverse);
|
|
239
239
|
}
|
|
240
240
|
|
package/collection.css
CHANGED
|
@@ -3,12 +3,12 @@
|
|
|
3
3
|
}
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
.cnvs-list-box-container
|
|
6
|
+
.cnvs-list-box-container.orientation-vertical {
|
|
7
7
|
overflow-y: auto;
|
|
8
8
|
}
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
.cnvs-list-box-container
|
|
11
|
+
.cnvs-list-box-container.orientation-horizontal {
|
|
12
12
|
overflow-y: undefined;
|
|
13
13
|
}
|
|
14
14
|
|
package/icon.css
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
}
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
.cnvs-svg
|
|
13
|
+
.cnvs-svg.should-mirror {
|
|
14
14
|
transform: scaleX(-1);
|
|
15
15
|
}
|
|
16
16
|
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
}
|
|
30
30
|
|
|
31
31
|
|
|
32
|
-
.cnvs-accent-icon
|
|
32
|
+
.cnvs-accent-icon.transparent .french-vanilla-100 {
|
|
33
33
|
fill: transparent;
|
|
34
34
|
}
|
|
35
35
|
|
|
@@ -126,11 +126,11 @@
|
|
|
126
126
|
}
|
|
127
127
|
|
|
128
128
|
|
|
129
|
-
.cnvs-graphic
|
|
129
|
+
.cnvs-graphic.grow {
|
|
130
130
|
width: 100%;
|
|
131
131
|
}
|
|
132
132
|
|
|
133
|
-
.cnvs-graphic
|
|
133
|
+
.cnvs-graphic.grow svg {
|
|
134
134
|
width: 100%;
|
|
135
135
|
height: 100%;
|
|
136
136
|
}
|
package/menu.css
CHANGED
|
@@ -34,12 +34,12 @@
|
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
|
|
37
|
-
.cnvs-menu-list
|
|
37
|
+
.cnvs-menu-list.orientation-vertical {
|
|
38
38
|
flex-direction: column;
|
|
39
39
|
}
|
|
40
40
|
|
|
41
41
|
|
|
42
|
-
.cnvs-menu-list
|
|
42
|
+
.cnvs-menu-list.orientation-horizontal {
|
|
43
43
|
flex-direction: row;
|
|
44
44
|
}
|
|
45
45
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@workday/canvas-kit-css",
|
|
3
|
-
"version": "11.0.0-alpha.
|
|
3
|
+
"version": "11.0.0-alpha.804-next.0",
|
|
4
4
|
"description": "The parent module that contains all Workday Canvas Kit CSS components",
|
|
5
5
|
"author": "Workday, Inc. (https://www.workday.com)",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -25,5 +25,5 @@
|
|
|
25
25
|
"components",
|
|
26
26
|
"workday"
|
|
27
27
|
],
|
|
28
|
-
"gitHead": "
|
|
28
|
+
"gitHead": "7533a39ddf564279965947149a424f67d1070b03"
|
|
29
29
|
}
|
package/switch.css
CHANGED
|
@@ -44,12 +44,12 @@
|
|
|
44
44
|
}
|
|
45
45
|
|
|
46
46
|
|
|
47
|
-
.cnvs-switch-input
|
|
47
|
+
.cnvs-switch-input.error-error~div:first-of-type {
|
|
48
48
|
box-shadow: 0 0 0 0.125rem var(--cnvs-sys-color-border-inverse),0 0 0 var(--cnvs-sys-space-x1) var(--cnvs-brand-error-base),0 0 0 0.3125rem transparent;
|
|
49
49
|
}
|
|
50
50
|
|
|
51
51
|
|
|
52
|
-
.cnvs-switch-input
|
|
52
|
+
.cnvs-switch-input.error-alert~div:first-of-type {
|
|
53
53
|
box-shadow: 0 0 0 0.125rem var(--cnvs-sys-color-border-inverse),0 0 0 var(--cnvs-sys-space-x1) var(--cnvs-brand-alert-base),0 0 0 0.3125rem var(--cnvs-brand-alert-darkest);
|
|
54
54
|
}
|
|
55
55
|
|
|
@@ -83,7 +83,7 @@
|
|
|
83
83
|
}
|
|
84
84
|
|
|
85
85
|
|
|
86
|
-
.cnvs-switch-circle
|
|
86
|
+
.cnvs-switch-circle.checked {
|
|
87
87
|
transform: translateX(var(--cnvs-sys-space-x4));
|
|
88
88
|
}
|
|
89
89
|
|
package/text.css
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
}
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
.cnvs-text
|
|
6
|
+
.cnvs-text.type-level-title-large {
|
|
7
7
|
font-family: var(--cnvs-base-font-family-50);
|
|
8
8
|
font-weight: var(--cnvs-base-font-weight-700);
|
|
9
9
|
line-height: var(--cnvs-base-line-height-600);
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
}
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
.cnvs-text
|
|
15
|
+
.cnvs-text.type-level-title-medium {
|
|
16
16
|
font-family: var(--cnvs-base-font-family-50);
|
|
17
17
|
font-weight: var(--cnvs-base-font-weight-700);
|
|
18
18
|
line-height: var(--cnvs-base-line-height-500);
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
|
|
24
|
-
.cnvs-text
|
|
24
|
+
.cnvs-text.type-level-title-small {
|
|
25
25
|
font-family: var(--cnvs-base-font-family-50);
|
|
26
26
|
font-weight: var(--cnvs-base-font-weight-700);
|
|
27
27
|
line-height: var(--cnvs-base-line-height-400);
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
}
|
|
31
31
|
|
|
32
32
|
|
|
33
|
-
.cnvs-text
|
|
33
|
+
.cnvs-text.type-level-heading-large {
|
|
34
34
|
font-family: var(--cnvs-base-font-family-50);
|
|
35
35
|
font-weight: var(--cnvs-base-font-weight-700);
|
|
36
36
|
line-height: var(--cnvs-base-line-height-350);
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
}
|
|
40
40
|
|
|
41
41
|
|
|
42
|
-
.cnvs-text
|
|
42
|
+
.cnvs-text.type-level-heading-medium {
|
|
43
43
|
font-family: var(--cnvs-base-font-family-50);
|
|
44
44
|
font-weight: var(--cnvs-base-font-weight-700);
|
|
45
45
|
line-height: var(--cnvs-base-line-height-300);
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
}
|
|
49
49
|
|
|
50
50
|
|
|
51
|
-
.cnvs-text
|
|
51
|
+
.cnvs-text.type-level-heading-small {
|
|
52
52
|
font-family: var(--cnvs-base-font-family-50);
|
|
53
53
|
font-weight: var(--cnvs-base-font-weight-700);
|
|
54
54
|
line-height: var(--cnvs-base-line-height-250);
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
}
|
|
58
58
|
|
|
59
59
|
|
|
60
|
-
.cnvs-text
|
|
60
|
+
.cnvs-text.type-level-body-large {
|
|
61
61
|
font-family: var(--cnvs-base-font-family-50);
|
|
62
62
|
font-weight: var(--cnvs-base-font-weight-400);
|
|
63
63
|
line-height: var(--cnvs-base-line-height-200);
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
}
|
|
67
67
|
|
|
68
68
|
|
|
69
|
-
.cnvs-text
|
|
69
|
+
.cnvs-text.type-level-body-medium {
|
|
70
70
|
font-family: var(--cnvs-base-font-family-50);
|
|
71
71
|
font-weight: var(--cnvs-base-font-weight-400);
|
|
72
72
|
line-height: var(--cnvs-base-line-height-200);
|
|
@@ -75,7 +75,7 @@
|
|
|
75
75
|
}
|
|
76
76
|
|
|
77
77
|
|
|
78
|
-
.cnvs-text
|
|
78
|
+
.cnvs-text.type-level-body-small {
|
|
79
79
|
font-family: var(--cnvs-base-font-family-50);
|
|
80
80
|
font-weight: var(--cnvs-base-font-weight-400);
|
|
81
81
|
line-height: var(--cnvs-base-line-height-150);
|
|
@@ -85,7 +85,7 @@
|
|
|
85
85
|
}
|
|
86
86
|
|
|
87
87
|
|
|
88
|
-
.cnvs-text
|
|
88
|
+
.cnvs-text.type-level-subtext-large {
|
|
89
89
|
font-family: var(--cnvs-base-font-family-50);
|
|
90
90
|
font-weight: var(--cnvs-base-font-weight-400);
|
|
91
91
|
line-height: var(--cnvs-base-line-height-100);
|
|
@@ -95,7 +95,7 @@
|
|
|
95
95
|
}
|
|
96
96
|
|
|
97
97
|
|
|
98
|
-
.cnvs-text
|
|
98
|
+
.cnvs-text.type-level-subtext-medium {
|
|
99
99
|
font-family: var(--cnvs-base-font-family-50);
|
|
100
100
|
font-weight: var(--cnvs-base-font-weight-400);
|
|
101
101
|
line-height: var(--cnvs-base-line-height-50);
|
|
@@ -105,7 +105,7 @@
|
|
|
105
105
|
}
|
|
106
106
|
|
|
107
107
|
|
|
108
|
-
.cnvs-text
|
|
108
|
+
.cnvs-text.type-level-subtext-small {
|
|
109
109
|
font-family: var(--cnvs-base-font-family-50);
|
|
110
110
|
font-weight: var(--cnvs-base-font-weight-400);
|
|
111
111
|
line-height: var(--cnvs-base-line-height-50);
|
|
@@ -115,17 +115,17 @@
|
|
|
115
115
|
}
|
|
116
116
|
|
|
117
117
|
|
|
118
|
-
.cnvs-text
|
|
118
|
+
.cnvs-text.variant-error {
|
|
119
119
|
color: var(--cnvs-sys-color-text-critical-default);
|
|
120
120
|
}
|
|
121
121
|
|
|
122
122
|
|
|
123
|
-
.cnvs-text
|
|
123
|
+
.cnvs-text.variant-hint {
|
|
124
124
|
color: var(--cnvs-sys-color-text-hint);
|
|
125
125
|
}
|
|
126
126
|
|
|
127
127
|
|
|
128
|
-
.cnvs-text
|
|
128
|
+
.cnvs-text.variant-inverse {
|
|
129
129
|
color: var(--cnvs-sys-color-text-inverse);
|
|
130
130
|
}
|
|
131
131
|
|
|
@@ -141,28 +141,28 @@
|
|
|
141
141
|
}
|
|
142
142
|
|
|
143
143
|
|
|
144
|
-
.cnvs-label-text
|
|
144
|
+
.cnvs-label-text.disabled {
|
|
145
145
|
cursor: default;
|
|
146
146
|
color: var(--cnvs-sys-color-text-disabled);
|
|
147
147
|
}
|
|
148
148
|
|
|
149
149
|
|
|
150
|
-
.cnvs-label-text
|
|
150
|
+
.cnvs-label-text.variant-inverse {
|
|
151
151
|
color: var(--cnvs-sys-color-text-inverse);
|
|
152
152
|
}
|
|
153
153
|
|
|
154
154
|
|
|
155
|
-
.cnvs-label-text
|
|
155
|
+
.cnvs-label-text.variant-error {
|
|
156
156
|
color: var(--cnvs-sys-color-text-critical-default);
|
|
157
157
|
}
|
|
158
158
|
|
|
159
159
|
|
|
160
|
-
.cnvs-label-text
|
|
160
|
+
.cnvs-label-text.variant-hint {
|
|
161
161
|
color: var(--cnvs-sys-color-text-hint);
|
|
162
162
|
}
|
|
163
163
|
|
|
164
164
|
|
|
165
|
-
.cnvs-label-text.
|
|
165
|
+
.cnvs-label-text.variant-inverse.disabled {
|
|
166
166
|
opacity: var(--cnvs-sys-opacity-disabled);
|
|
167
167
|
color: var(--cnvs-sys-color-text-inverse);
|
|
168
168
|
}
|