@deriv-web-design/ui 0.0.1 → 0.0.3
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/README.md +77 -0
- package/dist/index.css +264 -240
- package/dist/index.css.map +1 -1
- package/dist/index.d.mts +24 -1
- package/dist/index.d.ts +24 -1
- package/dist/index.js +159 -214
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +158 -214
- package/dist/index.mjs.map +1 -1
- package/package.json +7 -7
- package/tokens.css +17 -193
package/dist/index.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* primitives/Button/Button.
|
|
1
|
+
/* primitives/Button/Button.css */
|
|
2
2
|
.button {
|
|
3
3
|
position: relative;
|
|
4
4
|
display: inline-flex;
|
|
@@ -24,21 +24,21 @@
|
|
|
24
24
|
border-color 100ms ease,
|
|
25
25
|
opacity 100ms ease;
|
|
26
26
|
}
|
|
27
|
-
.fullWidth {
|
|
27
|
+
.button.fullWidth {
|
|
28
28
|
width: 100%;
|
|
29
29
|
}
|
|
30
|
-
.iconOnly {
|
|
30
|
+
.button.iconOnly {
|
|
31
31
|
padding: calc(var(--spacing-16) - 2px);
|
|
32
32
|
min-width: unset;
|
|
33
33
|
width: var(--spacing-48);
|
|
34
34
|
height: var(--spacing-48);
|
|
35
35
|
}
|
|
36
|
-
.label {
|
|
36
|
+
.button .label {
|
|
37
37
|
flex: 1 0 0;
|
|
38
38
|
min-width: 1px;
|
|
39
39
|
min-height: 1px;
|
|
40
40
|
}
|
|
41
|
-
.icon {
|
|
41
|
+
.button .icon {
|
|
42
42
|
display: flex;
|
|
43
43
|
align-items: center;
|
|
44
44
|
justify-content: center;
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
height: var(--spacing-16);
|
|
47
47
|
flex-shrink: 0;
|
|
48
48
|
}
|
|
49
|
-
.focusRing {
|
|
49
|
+
.button .focusRing {
|
|
50
50
|
position: absolute;
|
|
51
51
|
inset: -2px;
|
|
52
52
|
border-radius: var(--radius-full);
|
|
@@ -149,7 +149,7 @@
|
|
|
149
149
|
cursor: not-allowed;
|
|
150
150
|
}
|
|
151
151
|
|
|
152
|
-
/* primitives/Link/Link.
|
|
152
|
+
/* primitives/Link/Link.css */
|
|
153
153
|
.link {
|
|
154
154
|
display: inline-flex;
|
|
155
155
|
align-items: center;
|
|
@@ -172,12 +172,12 @@
|
|
|
172
172
|
outline-offset: 2px;
|
|
173
173
|
border-radius: var(--radius-xs);
|
|
174
174
|
}
|
|
175
|
-
.disabled {
|
|
175
|
+
.link.disabled {
|
|
176
176
|
opacity: var(--link-disabled-opacity);
|
|
177
177
|
cursor: not-allowed;
|
|
178
178
|
pointer-events: none;
|
|
179
179
|
}
|
|
180
|
-
.icon {
|
|
180
|
+
.link .icon {
|
|
181
181
|
display: inline-flex;
|
|
182
182
|
align-items: center;
|
|
183
183
|
justify-content: center;
|
|
@@ -185,7 +185,7 @@
|
|
|
185
185
|
height: var(--spacing-16);
|
|
186
186
|
flex-shrink: 0;
|
|
187
187
|
}
|
|
188
|
-
.chevron {
|
|
188
|
+
.link .chevron {
|
|
189
189
|
display: inline-flex;
|
|
190
190
|
align-items: center;
|
|
191
191
|
justify-content: center;
|
|
@@ -194,29 +194,29 @@
|
|
|
194
194
|
height: var(--spacing-16);
|
|
195
195
|
transition: transform 150ms ease;
|
|
196
196
|
}
|
|
197
|
-
.label {
|
|
197
|
+
.link .label {
|
|
198
198
|
text-decoration-skip-ink: none;
|
|
199
199
|
}
|
|
200
|
-
.withChevron:hover,
|
|
201
|
-
.withChevron:active {
|
|
200
|
+
.link.withChevron:hover,
|
|
201
|
+
.link.withChevron:active {
|
|
202
202
|
gap: var(--spacing-16);
|
|
203
203
|
}
|
|
204
|
-
.withIcon:hover .label,
|
|
205
|
-
.withIcon:active .label {
|
|
204
|
+
.link.withIcon:hover .label,
|
|
205
|
+
.link.withIcon:active .label {
|
|
206
206
|
text-decoration: underline;
|
|
207
207
|
text-decoration-style: solid;
|
|
208
208
|
}
|
|
209
|
-
.coral {
|
|
209
|
+
.link.coral {
|
|
210
210
|
color: var(--link-coral-color);
|
|
211
211
|
}
|
|
212
|
-
.black {
|
|
212
|
+
.link.black {
|
|
213
213
|
color: var(--link-black-color);
|
|
214
214
|
}
|
|
215
|
-
.white {
|
|
215
|
+
.link.white {
|
|
216
216
|
color: var(--link-white-color);
|
|
217
217
|
}
|
|
218
218
|
|
|
219
|
-
/* primitives/Chip/Chip.
|
|
219
|
+
/* primitives/Chip/Chip.css */
|
|
220
220
|
.chip {
|
|
221
221
|
position: relative;
|
|
222
222
|
display: inline-flex;
|
|
@@ -238,19 +238,19 @@
|
|
|
238
238
|
border-color 100ms ease;
|
|
239
239
|
user-select: none;
|
|
240
240
|
}
|
|
241
|
-
.sm {
|
|
241
|
+
.chip.sm {
|
|
242
242
|
height: var(--spacing-24);
|
|
243
243
|
padding: 0 var(--spacing-12);
|
|
244
244
|
gap: 6px;
|
|
245
245
|
font-size: var(--font-size-xs);
|
|
246
246
|
}
|
|
247
|
-
.md {
|
|
247
|
+
.chip.md {
|
|
248
248
|
height: var(--spacing-32);
|
|
249
249
|
padding: 0 var(--spacing-16);
|
|
250
250
|
gap: var(--spacing-8);
|
|
251
251
|
font-size: var(--font-size-sm);
|
|
252
252
|
}
|
|
253
|
-
.lg {
|
|
253
|
+
.chip.lg {
|
|
254
254
|
height: var(--spacing-48);
|
|
255
255
|
padding: 0 var(--spacing-24);
|
|
256
256
|
gap: var(--spacing-12);
|
|
@@ -262,7 +262,7 @@
|
|
|
262
262
|
.chip:active:not(:disabled):not(.selected) {
|
|
263
263
|
background-color: var(--chip-active-background);
|
|
264
264
|
}
|
|
265
|
-
.selected {
|
|
265
|
+
.chip.selected {
|
|
266
266
|
background-color: var(--chip-selected-background);
|
|
267
267
|
border-color: var(--chip-selected-background);
|
|
268
268
|
color: var(--chip-selected-text);
|
|
@@ -271,7 +271,7 @@
|
|
|
271
271
|
color: var(--chip-disabled-text);
|
|
272
272
|
cursor: not-allowed;
|
|
273
273
|
}
|
|
274
|
-
.icon {
|
|
274
|
+
.chip .icon {
|
|
275
275
|
display: inline-flex;
|
|
276
276
|
align-items: center;
|
|
277
277
|
justify-content: center;
|
|
@@ -279,21 +279,21 @@
|
|
|
279
279
|
width: 1em;
|
|
280
280
|
height: 1em;
|
|
281
281
|
}
|
|
282
|
-
.label {
|
|
282
|
+
.chip .label {
|
|
283
283
|
flex-shrink: 0;
|
|
284
284
|
}
|
|
285
|
-
.tag {
|
|
285
|
+
.chip .tag {
|
|
286
286
|
font-weight: var(--font-weight-extra-bold);
|
|
287
287
|
flex-shrink: 0;
|
|
288
288
|
}
|
|
289
|
-
.focusRing {
|
|
289
|
+
.chip .focusRing {
|
|
290
290
|
position: absolute;
|
|
291
291
|
inset: -3px;
|
|
292
292
|
border-radius: var(--radius-full);
|
|
293
293
|
border: 2px solid var(--chip-focus-ring-color);
|
|
294
294
|
pointer-events: none;
|
|
295
295
|
}
|
|
296
|
-
.selected .focusRing {
|
|
296
|
+
.chip.selected .focusRing {
|
|
297
297
|
inset: -2px;
|
|
298
298
|
}
|
|
299
299
|
.chip:focus-visible::after {
|
|
@@ -304,11 +304,11 @@
|
|
|
304
304
|
border: 2px solid var(--chip-focus-ring-color);
|
|
305
305
|
pointer-events: none;
|
|
306
306
|
}
|
|
307
|
-
.selected:focus-visible::after {
|
|
307
|
+
.chip.selected:focus-visible::after {
|
|
308
308
|
inset: -2px;
|
|
309
309
|
}
|
|
310
310
|
|
|
311
|
-
/* primitives/Tag/Tag.
|
|
311
|
+
/* primitives/Tag/Tag.css */
|
|
312
312
|
.tag {
|
|
313
313
|
display: inline-flex;
|
|
314
314
|
align-items: center;
|
|
@@ -320,43 +320,43 @@
|
|
|
320
320
|
color: var(--tag-text-color);
|
|
321
321
|
border-radius: var(--radius-full);
|
|
322
322
|
}
|
|
323
|
-
.fill {
|
|
323
|
+
.tag.fill {
|
|
324
324
|
background-color: var(--tag-fill-background);
|
|
325
325
|
}
|
|
326
|
-
.outline {
|
|
326
|
+
.tag.outline {
|
|
327
327
|
border: 1px solid var(--tag-outline-border);
|
|
328
328
|
}
|
|
329
|
-
.xs {
|
|
329
|
+
.tag.xs {
|
|
330
330
|
height: 22px;
|
|
331
331
|
padding: 0 var(--spacing-4);
|
|
332
332
|
gap: var(--spacing-4);
|
|
333
333
|
font-size: var(--font-size-xs);
|
|
334
334
|
}
|
|
335
|
-
.sm {
|
|
335
|
+
.tag.sm {
|
|
336
336
|
height: var(--spacing-24);
|
|
337
337
|
padding: 0 var(--spacing-8);
|
|
338
338
|
gap: var(--spacing-8);
|
|
339
339
|
font-size: var(--font-size-xs);
|
|
340
340
|
}
|
|
341
|
-
.md {
|
|
341
|
+
.tag.md {
|
|
342
342
|
height: var(--spacing-32);
|
|
343
343
|
padding: 0 var(--spacing-12);
|
|
344
344
|
gap: var(--spacing-12);
|
|
345
345
|
font-size: var(--font-size-sm);
|
|
346
346
|
}
|
|
347
|
-
.lg {
|
|
347
|
+
.tag.lg {
|
|
348
348
|
height: var(--spacing-48);
|
|
349
349
|
padding: 0 var(--spacing-16);
|
|
350
350
|
gap: var(--spacing-16);
|
|
351
351
|
font-size: var(--font-size-md);
|
|
352
352
|
}
|
|
353
|
-
.regular {
|
|
353
|
+
.tag.regular {
|
|
354
354
|
font-weight: var(--font-weight-regular);
|
|
355
355
|
}
|
|
356
|
-
.bold {
|
|
356
|
+
.tag.bold {
|
|
357
357
|
font-weight: var(--font-weight-semi-bold);
|
|
358
358
|
}
|
|
359
|
-
.icon {
|
|
359
|
+
.tag .icon {
|
|
360
360
|
display: inline-flex;
|
|
361
361
|
align-items: center;
|
|
362
362
|
justify-content: center;
|
|
@@ -364,18 +364,18 @@
|
|
|
364
364
|
width: 1em;
|
|
365
365
|
height: 1em;
|
|
366
366
|
}
|
|
367
|
-
.label {
|
|
367
|
+
.tag .label {
|
|
368
368
|
flex-shrink: 0;
|
|
369
369
|
}
|
|
370
370
|
|
|
371
|
-
/* primitives/Accordion/Accordion.
|
|
371
|
+
/* primitives/Accordion/Accordion.css */
|
|
372
372
|
.accordion {
|
|
373
373
|
position: relative;
|
|
374
374
|
width: 100%;
|
|
375
375
|
max-width: 846px;
|
|
376
376
|
box-sizing: border-box;
|
|
377
377
|
}
|
|
378
|
-
.header {
|
|
378
|
+
.accordion .header {
|
|
379
379
|
display: flex;
|
|
380
380
|
align-items: center;
|
|
381
381
|
gap: var(--spacing-24);
|
|
@@ -389,31 +389,31 @@
|
|
|
389
389
|
text-align: left;
|
|
390
390
|
box-sizing: border-box;
|
|
391
391
|
}
|
|
392
|
-
.header:focus-visible::after {
|
|
392
|
+
.accordion .header:focus-visible::after {
|
|
393
393
|
content: "";
|
|
394
394
|
position: absolute;
|
|
395
395
|
inset: -2px;
|
|
396
396
|
border: 2px solid var(--accordion-focus-ring-color);
|
|
397
397
|
pointer-events: none;
|
|
398
398
|
}
|
|
399
|
-
.focusRing {
|
|
399
|
+
.accordion .focusRing {
|
|
400
400
|
position: absolute;
|
|
401
401
|
inset: -2px;
|
|
402
402
|
border: 2px solid var(--accordion-focus-ring-color);
|
|
403
403
|
pointer-events: none;
|
|
404
404
|
}
|
|
405
|
-
.titleWrapper {
|
|
405
|
+
.accordion .titleWrapper {
|
|
406
406
|
flex: 1 0 0;
|
|
407
407
|
min-width: 1px;
|
|
408
408
|
}
|
|
409
|
-
.title {
|
|
409
|
+
.accordion .title {
|
|
410
410
|
font-family: var(--font-family-base);
|
|
411
411
|
font-size: var(--font-size-lg);
|
|
412
412
|
font-weight: var(--font-weight-semi-bold);
|
|
413
413
|
line-height: var(--line-height-normal);
|
|
414
414
|
color: var(--accordion-title-color);
|
|
415
415
|
}
|
|
416
|
-
.chevron {
|
|
416
|
+
.accordion .chevron {
|
|
417
417
|
display: flex;
|
|
418
418
|
align-items: center;
|
|
419
419
|
justify-content: center;
|
|
@@ -423,21 +423,21 @@
|
|
|
423
423
|
color: var(--accordion-chevron-color);
|
|
424
424
|
transition: transform 200ms ease;
|
|
425
425
|
}
|
|
426
|
-
.chevronRotated {
|
|
426
|
+
.accordion .chevronRotated {
|
|
427
427
|
transform: rotate(180deg);
|
|
428
428
|
}
|
|
429
|
-
.bodyWrapper {
|
|
429
|
+
.accordion .bodyWrapper {
|
|
430
430
|
display: grid;
|
|
431
431
|
grid-template-rows: 0fr;
|
|
432
432
|
transition: grid-template-rows 200ms ease;
|
|
433
433
|
}
|
|
434
|
-
.bodyWrapperOpen {
|
|
434
|
+
.accordion .bodyWrapperOpen {
|
|
435
435
|
grid-template-rows: 1fr;
|
|
436
436
|
}
|
|
437
|
-
.bodyInner {
|
|
437
|
+
.accordion .bodyInner {
|
|
438
438
|
overflow: hidden;
|
|
439
439
|
}
|
|
440
|
-
.body {
|
|
440
|
+
.accordion .body {
|
|
441
441
|
padding-bottom: var(--spacing-24);
|
|
442
442
|
font-family: var(--font-family-base);
|
|
443
443
|
font-size: var(--font-size-md);
|
|
@@ -446,8 +446,8 @@
|
|
|
446
446
|
color: var(--accordion-body-color);
|
|
447
447
|
}
|
|
448
448
|
|
|
449
|
-
/* primitives/TextField/TextField.
|
|
450
|
-
.wrapper {
|
|
449
|
+
/* primitives/TextField/TextField.css */
|
|
450
|
+
.tf-wrapper {
|
|
451
451
|
display: flex;
|
|
452
452
|
align-items: center;
|
|
453
453
|
height: var(--spacing-56);
|
|
@@ -459,67 +459,67 @@
|
|
|
459
459
|
cursor: text;
|
|
460
460
|
transition: background-color 100ms ease, border-color 100ms ease;
|
|
461
461
|
}
|
|
462
|
-
.outline {
|
|
462
|
+
.tf-wrapper.outline {
|
|
463
463
|
background: var(--field-surface-outline);
|
|
464
464
|
border-color: var(--field-border-default);
|
|
465
465
|
}
|
|
466
|
-
.fill {
|
|
466
|
+
.tf-wrapper.fill {
|
|
467
467
|
background: var(--field-surface-fill);
|
|
468
468
|
}
|
|
469
|
-
.neutral.outline:hover:not([data-disabled]):not(:focus-within) {
|
|
469
|
+
.tf-wrapper.neutral.outline:hover:not([data-disabled]):not(:focus-within) {
|
|
470
470
|
border-color: var(--field-border-hover);
|
|
471
471
|
}
|
|
472
|
-
.neutral.fill:hover:not([data-disabled]):not(:focus-within) {
|
|
472
|
+
.tf-wrapper.neutral.fill:hover:not([data-disabled]):not(:focus-within) {
|
|
473
473
|
background: var(--field-surface-fill-hover);
|
|
474
474
|
}
|
|
475
|
-
.neutral.outline:focus-within:not([data-disabled]) {
|
|
475
|
+
.tf-wrapper.neutral.outline:focus-within:not([data-disabled]) {
|
|
476
476
|
border-color: var(--field-border-focus);
|
|
477
477
|
}
|
|
478
|
-
.neutral.fill:focus-within:not([data-disabled]) {
|
|
478
|
+
.tf-wrapper.neutral.fill:focus-within:not([data-disabled]) {
|
|
479
479
|
border-color: var(--field-border-focus);
|
|
480
480
|
}
|
|
481
|
-
.fail.outline {
|
|
481
|
+
.tf-wrapper.fail.outline {
|
|
482
482
|
border-color: var(--field-border-fail-default);
|
|
483
483
|
}
|
|
484
|
-
.fail.outline:hover:not([data-disabled]):not(:focus-within) {
|
|
484
|
+
.tf-wrapper.fail.outline:hover:not([data-disabled]):not(:focus-within) {
|
|
485
485
|
border-color: var(--field-border-fail-hover);
|
|
486
486
|
}
|
|
487
|
-
.fail.outline:focus-within:not([data-disabled]) {
|
|
487
|
+
.tf-wrapper.fail.outline:focus-within:not([data-disabled]) {
|
|
488
488
|
border-color: var(--field-border-fail-focus);
|
|
489
489
|
}
|
|
490
|
-
.fail.fill {
|
|
490
|
+
.tf-wrapper.fail.fill {
|
|
491
491
|
background: var(--field-surface-fail);
|
|
492
492
|
}
|
|
493
|
-
.fail.fill:hover:not([data-disabled]):not(:focus-within) {
|
|
493
|
+
.tf-wrapper.fail.fill:hover:not([data-disabled]):not(:focus-within) {
|
|
494
494
|
background: var(--field-surface-fail-hover);
|
|
495
495
|
}
|
|
496
|
-
.fail.fill:focus-within:not([data-disabled]) {
|
|
496
|
+
.tf-wrapper.fail.fill:focus-within:not([data-disabled]) {
|
|
497
497
|
background: var(--field-surface-fail);
|
|
498
498
|
border-color: var(--field-border-fail-focus);
|
|
499
499
|
}
|
|
500
|
-
.success.outline {
|
|
500
|
+
.tf-wrapper.success.outline {
|
|
501
501
|
border-color: var(--field-border-success-default);
|
|
502
502
|
}
|
|
503
|
-
.success.outline:hover:not([data-disabled]):not(:focus-within) {
|
|
503
|
+
.tf-wrapper.success.outline:hover:not([data-disabled]):not(:focus-within) {
|
|
504
504
|
border-color: var(--field-border-success-hover);
|
|
505
505
|
}
|
|
506
|
-
.success.outline:focus-within:not([data-disabled]) {
|
|
506
|
+
.tf-wrapper.success.outline:focus-within:not([data-disabled]) {
|
|
507
507
|
border-color: var(--field-border-success-focus);
|
|
508
508
|
}
|
|
509
|
-
.success.fill {
|
|
509
|
+
.tf-wrapper.success.fill {
|
|
510
510
|
background: var(--field-surface-success);
|
|
511
511
|
}
|
|
512
|
-
.success.fill:hover:not([data-disabled]):not(:focus-within) {
|
|
512
|
+
.tf-wrapper.success.fill:hover:not([data-disabled]):not(:focus-within) {
|
|
513
513
|
background: var(--field-surface-success-hover);
|
|
514
514
|
}
|
|
515
|
-
.success.fill:focus-within:not([data-disabled]) {
|
|
515
|
+
.tf-wrapper.success.fill:focus-within:not([data-disabled]) {
|
|
516
516
|
background: var(--field-surface-success);
|
|
517
517
|
border-color: var(--field-border-success-focus);
|
|
518
518
|
}
|
|
519
|
-
.wrapper[data-disabled] {
|
|
519
|
+
.tf-wrapper[data-disabled] {
|
|
520
520
|
cursor: not-allowed;
|
|
521
521
|
}
|
|
522
|
-
.iconSlot {
|
|
522
|
+
.tf-wrapper .iconSlot {
|
|
523
523
|
display: inline-flex;
|
|
524
524
|
align-items: center;
|
|
525
525
|
justify-content: center;
|
|
@@ -528,16 +528,16 @@
|
|
|
528
528
|
height: var(--spacing-24);
|
|
529
529
|
color: var(--field-icon-default);
|
|
530
530
|
}
|
|
531
|
-
.wrapper[data-disabled] .iconSlot {
|
|
531
|
+
.tf-wrapper[data-disabled] .iconSlot {
|
|
532
532
|
color: var(--field-icon-disabled);
|
|
533
533
|
}
|
|
534
|
-
.iconSuccess {
|
|
534
|
+
.tf-wrapper .iconSuccess {
|
|
535
535
|
color: var(--field-text-success);
|
|
536
536
|
}
|
|
537
|
-
.iconFail {
|
|
537
|
+
.tf-wrapper .iconFail {
|
|
538
538
|
color: var(--field-text-fail);
|
|
539
539
|
}
|
|
540
|
-
.input {
|
|
540
|
+
.tf-wrapper .tf-input {
|
|
541
541
|
flex: 1 0 0;
|
|
542
542
|
min-width: 1px;
|
|
543
543
|
border: none;
|
|
@@ -551,22 +551,22 @@
|
|
|
551
551
|
caret-color: var(--field-border-focus);
|
|
552
552
|
padding: 0;
|
|
553
553
|
}
|
|
554
|
-
.input::placeholder {
|
|
554
|
+
.tf-wrapper .tf-input::placeholder {
|
|
555
555
|
color: var(--field-text-placeholder);
|
|
556
556
|
}
|
|
557
|
-
.input:focus {
|
|
557
|
+
.tf-wrapper .tf-input:focus {
|
|
558
558
|
color: var(--field-text-focus);
|
|
559
559
|
}
|
|
560
|
-
.input:disabled {
|
|
560
|
+
.tf-wrapper .tf-input:disabled {
|
|
561
561
|
cursor: not-allowed;
|
|
562
562
|
color: var(--field-text-disabled);
|
|
563
563
|
}
|
|
564
|
-
.input:disabled::placeholder {
|
|
564
|
+
.tf-wrapper .tf-input:disabled::placeholder {
|
|
565
565
|
color: var(--field-text-disabled);
|
|
566
566
|
}
|
|
567
567
|
|
|
568
|
-
/* primitives/SearchField/SearchField.
|
|
569
|
-
.wrapper {
|
|
568
|
+
/* primitives/SearchField/SearchField.css */
|
|
569
|
+
.sf-wrapper {
|
|
570
570
|
display: flex;
|
|
571
571
|
align-items: center;
|
|
572
572
|
height: var(--spacing-56);
|
|
@@ -580,34 +580,34 @@
|
|
|
580
580
|
cursor: text;
|
|
581
581
|
transition: background-color 100ms ease, border-color 100ms ease;
|
|
582
582
|
}
|
|
583
|
-
.neutral:hover:not([data-disabled]):not(:focus-within) {
|
|
583
|
+
.sf-wrapper.neutral:hover:not([data-disabled]):not(:focus-within) {
|
|
584
584
|
border-color: var(--field-border-hover);
|
|
585
585
|
}
|
|
586
|
-
.neutral:focus-within:not([data-disabled]) {
|
|
586
|
+
.sf-wrapper.neutral:focus-within:not([data-disabled]) {
|
|
587
587
|
border-color: var(--field-border-focus);
|
|
588
588
|
}
|
|
589
|
-
.fail {
|
|
589
|
+
.sf-wrapper.fail {
|
|
590
590
|
border-color: var(--field-border-fail-default);
|
|
591
591
|
}
|
|
592
|
-
.fail:hover:not([data-disabled]):not(:focus-within) {
|
|
592
|
+
.sf-wrapper.fail:hover:not([data-disabled]):not(:focus-within) {
|
|
593
593
|
border-color: var(--field-border-fail-hover);
|
|
594
594
|
}
|
|
595
|
-
.fail:focus-within:not([data-disabled]) {
|
|
595
|
+
.sf-wrapper.fail:focus-within:not([data-disabled]) {
|
|
596
596
|
border-color: var(--field-border-fail-focus);
|
|
597
597
|
}
|
|
598
|
-
.success {
|
|
598
|
+
.sf-wrapper.success {
|
|
599
599
|
border-color: var(--field-border-success-default);
|
|
600
600
|
}
|
|
601
|
-
.success:hover:not([data-disabled]):not(:focus-within) {
|
|
601
|
+
.sf-wrapper.success:hover:not([data-disabled]):not(:focus-within) {
|
|
602
602
|
border-color: var(--field-border-success-hover);
|
|
603
603
|
}
|
|
604
|
-
.success:focus-within:not([data-disabled]) {
|
|
604
|
+
.sf-wrapper.success:focus-within:not([data-disabled]) {
|
|
605
605
|
border-color: var(--field-border-success-focus);
|
|
606
606
|
}
|
|
607
|
-
.wrapper[data-disabled] {
|
|
607
|
+
.sf-wrapper[data-disabled] {
|
|
608
608
|
cursor: not-allowed;
|
|
609
609
|
}
|
|
610
|
-
.iconSlot {
|
|
610
|
+
.sf-wrapper .iconSlot {
|
|
611
611
|
display: inline-flex;
|
|
612
612
|
align-items: center;
|
|
613
613
|
justify-content: center;
|
|
@@ -616,16 +616,16 @@
|
|
|
616
616
|
height: var(--spacing-24);
|
|
617
617
|
color: var(--field-icon-default);
|
|
618
618
|
}
|
|
619
|
-
.wrapper[data-disabled] .iconSlot {
|
|
619
|
+
.sf-wrapper[data-disabled] .iconSlot {
|
|
620
620
|
color: var(--field-icon-disabled);
|
|
621
621
|
}
|
|
622
|
-
.iconSuccess {
|
|
622
|
+
.sf-wrapper .iconSuccess {
|
|
623
623
|
color: var(--field-text-success);
|
|
624
624
|
}
|
|
625
|
-
.iconFail {
|
|
625
|
+
.sf-wrapper .iconFail {
|
|
626
626
|
color: var(--field-text-fail);
|
|
627
627
|
}
|
|
628
|
-
.input {
|
|
628
|
+
.sf-wrapper .sf-input {
|
|
629
629
|
flex: 1 0 0;
|
|
630
630
|
min-width: 1px;
|
|
631
631
|
border: none;
|
|
@@ -639,20 +639,20 @@
|
|
|
639
639
|
caret-color: var(--field-border-focus);
|
|
640
640
|
padding: 0;
|
|
641
641
|
}
|
|
642
|
-
.input::placeholder {
|
|
642
|
+
.sf-wrapper .sf-input::placeholder {
|
|
643
643
|
color: var(--field-text-placeholder);
|
|
644
644
|
}
|
|
645
|
-
.input:focus {
|
|
645
|
+
.sf-wrapper .sf-input:focus {
|
|
646
646
|
color: var(--field-text-focus);
|
|
647
647
|
}
|
|
648
|
-
.input:disabled {
|
|
648
|
+
.sf-wrapper .sf-input:disabled {
|
|
649
649
|
cursor: not-allowed;
|
|
650
650
|
color: var(--field-text-disabled);
|
|
651
651
|
}
|
|
652
|
-
.input:disabled::placeholder {
|
|
652
|
+
.sf-wrapper .sf-input:disabled::placeholder {
|
|
653
653
|
color: var(--field-text-disabled);
|
|
654
654
|
}
|
|
655
|
-
.clearButton {
|
|
655
|
+
.sf-wrapper .clearButton {
|
|
656
656
|
appearance: none;
|
|
657
657
|
display: inline-flex;
|
|
658
658
|
align-items: center;
|
|
@@ -668,16 +668,16 @@
|
|
|
668
668
|
border-radius: var(--radius-full);
|
|
669
669
|
transition: color 100ms ease;
|
|
670
670
|
}
|
|
671
|
-
.clearButton:hover {
|
|
671
|
+
.sf-wrapper .clearButton:hover {
|
|
672
672
|
color: var(--field-text-default);
|
|
673
673
|
}
|
|
674
|
-
.clearButton:focus-visible {
|
|
674
|
+
.sf-wrapper .clearButton:focus-visible {
|
|
675
675
|
outline: 2px solid var(--field-border-focus);
|
|
676
676
|
outline-offset: 2px;
|
|
677
677
|
}
|
|
678
678
|
|
|
679
|
-
/* primitives/Breadcrumb/Breadcrumb.
|
|
680
|
-
.list {
|
|
679
|
+
/* primitives/Breadcrumb/Breadcrumb.css */
|
|
680
|
+
.bc-list {
|
|
681
681
|
display: flex;
|
|
682
682
|
flex-wrap: wrap;
|
|
683
683
|
align-items: center;
|
|
@@ -688,45 +688,45 @@
|
|
|
688
688
|
font-family: var(--font-family-base);
|
|
689
689
|
font-weight: var(--font-weight-regular);
|
|
690
690
|
}
|
|
691
|
-
.list.sm {
|
|
691
|
+
.bc-list.sm {
|
|
692
692
|
font-size: var(--font-size-sm);
|
|
693
693
|
line-height: var(--line-height-normal);
|
|
694
694
|
}
|
|
695
|
-
.list.md {
|
|
695
|
+
.bc-list.md {
|
|
696
696
|
font-size: var(--font-size-md);
|
|
697
697
|
line-height: var(--line-height-normal);
|
|
698
698
|
}
|
|
699
|
-
.item,
|
|
700
|
-
.middleItem,
|
|
701
|
-
.ellipsisItem {
|
|
699
|
+
.bc-item,
|
|
700
|
+
.bc-middleItem,
|
|
701
|
+
.bc-ellipsisItem {
|
|
702
702
|
display: flex;
|
|
703
703
|
align-items: center;
|
|
704
704
|
gap: var(--spacing-8);
|
|
705
705
|
}
|
|
706
|
-
.link {
|
|
706
|
+
.bc-link {
|
|
707
707
|
color: var(--breadcrumb-text-color);
|
|
708
708
|
text-decoration: none;
|
|
709
709
|
white-space: nowrap;
|
|
710
710
|
cursor: pointer;
|
|
711
711
|
border-radius: var(--radius-sm);
|
|
712
712
|
}
|
|
713
|
-
.link:hover {
|
|
713
|
+
.bc-link:hover {
|
|
714
714
|
text-decoration: underline;
|
|
715
715
|
}
|
|
716
|
-
.link:active {
|
|
716
|
+
.bc-link:active {
|
|
717
717
|
color: var(--breadcrumb-text-current-color);
|
|
718
718
|
text-decoration: underline;
|
|
719
719
|
}
|
|
720
|
-
.link:focus-visible {
|
|
720
|
+
.bc-link:focus-visible {
|
|
721
721
|
outline: 2px solid var(--breadcrumb-focus-ring-color);
|
|
722
722
|
outline-offset: 2px;
|
|
723
723
|
text-decoration: none;
|
|
724
724
|
}
|
|
725
|
-
.current {
|
|
725
|
+
.bc-current {
|
|
726
726
|
color: var(--breadcrumb-text-current-color);
|
|
727
727
|
white-space: nowrap;
|
|
728
728
|
}
|
|
729
|
-
.separator {
|
|
729
|
+
.bc-separator {
|
|
730
730
|
display: inline-flex;
|
|
731
731
|
align-items: center;
|
|
732
732
|
justify-content: center;
|
|
@@ -735,7 +735,7 @@
|
|
|
735
735
|
width: 1em;
|
|
736
736
|
height: 1em;
|
|
737
737
|
}
|
|
738
|
-
.ellipsisButton {
|
|
738
|
+
.bc-ellipsisButton {
|
|
739
739
|
appearance: none;
|
|
740
740
|
background: none;
|
|
741
741
|
border: none;
|
|
@@ -746,49 +746,49 @@
|
|
|
746
746
|
cursor: pointer;
|
|
747
747
|
border-radius: var(--radius-sm);
|
|
748
748
|
}
|
|
749
|
-
.ellipsisButton:hover {
|
|
749
|
+
.bc-ellipsisButton:hover {
|
|
750
750
|
text-decoration: underline;
|
|
751
751
|
}
|
|
752
|
-
.ellipsisButton:focus-visible {
|
|
752
|
+
.bc-ellipsisButton:focus-visible {
|
|
753
753
|
outline: 2px solid var(--breadcrumb-focus-ring-color);
|
|
754
754
|
outline-offset: 2px;
|
|
755
755
|
text-decoration: none;
|
|
756
756
|
}
|
|
757
|
-
.ellipsisItem {
|
|
757
|
+
.bc-ellipsisItem {
|
|
758
758
|
display: none;
|
|
759
759
|
}
|
|
760
|
-
.middleItem {
|
|
760
|
+
.bc-middleItem {
|
|
761
761
|
display: flex;
|
|
762
762
|
}
|
|
763
763
|
@media (max-width: 639px) {
|
|
764
|
-
.list.collapsible {
|
|
764
|
+
.bc-list.collapsible {
|
|
765
765
|
gap: var(--spacing-4);
|
|
766
766
|
}
|
|
767
|
-
.list.collapsible .item,
|
|
768
|
-
.list.collapsible .middleItem,
|
|
769
|
-
.list.collapsible .ellipsisItem {
|
|
767
|
+
.bc-list.collapsible .bc-item,
|
|
768
|
+
.bc-list.collapsible .bc-middleItem,
|
|
769
|
+
.bc-list.collapsible .bc-ellipsisItem {
|
|
770
770
|
gap: var(--spacing-4);
|
|
771
771
|
}
|
|
772
|
-
.list.collapsible .ellipsisItem {
|
|
772
|
+
.bc-list.collapsible .bc-ellipsisItem {
|
|
773
773
|
display: flex;
|
|
774
774
|
}
|
|
775
|
-
.list.collapsible .middleItem {
|
|
775
|
+
.bc-list.collapsible .bc-middleItem {
|
|
776
776
|
display: none;
|
|
777
777
|
}
|
|
778
|
-
.list.collapsible.expanded .ellipsisItem {
|
|
778
|
+
.bc-list.collapsible.expanded .bc-ellipsisItem {
|
|
779
779
|
display: none;
|
|
780
780
|
}
|
|
781
|
-
.list.collapsible.expanded .middleItem {
|
|
781
|
+
.bc-list.collapsible.expanded .bc-middleItem {
|
|
782
782
|
display: flex;
|
|
783
783
|
}
|
|
784
784
|
}
|
|
785
785
|
|
|
786
|
-
/* primitives/ChipDropdown/ChipDropdown.
|
|
787
|
-
.wrapper {
|
|
786
|
+
/* primitives/ChipDropdown/ChipDropdown.css */
|
|
787
|
+
.cd-wrapper {
|
|
788
788
|
position: relative;
|
|
789
789
|
display: inline-flex;
|
|
790
790
|
}
|
|
791
|
-
.trigger {
|
|
791
|
+
.cd-trigger {
|
|
792
792
|
position: relative;
|
|
793
793
|
display: inline-flex;
|
|
794
794
|
align-items: center;
|
|
@@ -808,39 +808,39 @@
|
|
|
808
808
|
border-color 100ms ease;
|
|
809
809
|
user-select: none;
|
|
810
810
|
}
|
|
811
|
-
.sm {
|
|
811
|
+
.cd-trigger.sm {
|
|
812
812
|
height: var(--spacing-24);
|
|
813
813
|
padding-left: var(--spacing-12);
|
|
814
814
|
padding-right: 6px;
|
|
815
815
|
gap: 6px;
|
|
816
816
|
font-size: var(--font-size-xs);
|
|
817
817
|
}
|
|
818
|
-
.md {
|
|
818
|
+
.cd-trigger.md {
|
|
819
819
|
height: var(--spacing-32);
|
|
820
820
|
padding-left: var(--spacing-16);
|
|
821
821
|
padding-right: var(--spacing-8);
|
|
822
822
|
gap: var(--spacing-8);
|
|
823
823
|
font-size: var(--font-size-sm);
|
|
824
824
|
}
|
|
825
|
-
.trigger:hover:not(:disabled):not(.selected) {
|
|
825
|
+
.cd-trigger:hover:not(:disabled):not(.selected) {
|
|
826
826
|
background-color: var(--chip-hover-background);
|
|
827
827
|
}
|
|
828
|
-
.trigger:active:not(:disabled) {
|
|
828
|
+
.cd-trigger:active:not(:disabled) {
|
|
829
829
|
background-color: var(--chip-active-background);
|
|
830
830
|
}
|
|
831
|
-
.expand:not(.selected):not(:disabled) {
|
|
831
|
+
.cd-trigger.expand:not(.selected):not(:disabled) {
|
|
832
832
|
background-color: var(--chip-hover-background);
|
|
833
833
|
}
|
|
834
|
-
.selected {
|
|
834
|
+
.cd-trigger.selected {
|
|
835
835
|
background-color: var(--chip-selected-background);
|
|
836
836
|
border-color: var(--chip-selected-background);
|
|
837
837
|
color: var(--chip-selected-text);
|
|
838
838
|
}
|
|
839
|
-
.trigger:disabled {
|
|
839
|
+
.cd-trigger:disabled {
|
|
840
840
|
color: var(--chip-disabled-text);
|
|
841
841
|
cursor: not-allowed;
|
|
842
842
|
}
|
|
843
|
-
.icon {
|
|
843
|
+
.cd-trigger .cd-icon {
|
|
844
844
|
display: inline-flex;
|
|
845
845
|
align-items: center;
|
|
846
846
|
justify-content: center;
|
|
@@ -848,14 +848,14 @@
|
|
|
848
848
|
width: 1em;
|
|
849
849
|
height: 1em;
|
|
850
850
|
}
|
|
851
|
-
.label {
|
|
851
|
+
.cd-trigger .cd-label {
|
|
852
852
|
flex-shrink: 0;
|
|
853
853
|
}
|
|
854
|
-
.tag {
|
|
854
|
+
.cd-trigger .cd-tag {
|
|
855
855
|
font-weight: var(--font-weight-extra-bold);
|
|
856
856
|
flex-shrink: 0;
|
|
857
857
|
}
|
|
858
|
-
.chevron {
|
|
858
|
+
.cd-trigger .cd-chevron {
|
|
859
859
|
display: inline-flex;
|
|
860
860
|
align-items: center;
|
|
861
861
|
justify-content: center;
|
|
@@ -864,10 +864,10 @@
|
|
|
864
864
|
height: 24px;
|
|
865
865
|
transition: transform 200ms ease;
|
|
866
866
|
}
|
|
867
|
-
.chevronOpen {
|
|
867
|
+
.cd-trigger .cd-chevron.chevronOpen {
|
|
868
868
|
transform: rotate(180deg);
|
|
869
869
|
}
|
|
870
|
-
.trigger:focus-visible::after {
|
|
870
|
+
.cd-trigger:focus-visible::after {
|
|
871
871
|
content: "";
|
|
872
872
|
position: absolute;
|
|
873
873
|
inset: -3px;
|
|
@@ -875,7 +875,7 @@
|
|
|
875
875
|
border: 2px solid var(--chip-focus-ring-color);
|
|
876
876
|
pointer-events: none;
|
|
877
877
|
}
|
|
878
|
-
.list {
|
|
878
|
+
.cd-list {
|
|
879
879
|
position: absolute;
|
|
880
880
|
top: calc(100% + 4px);
|
|
881
881
|
left: 0;
|
|
@@ -892,7 +892,7 @@
|
|
|
892
892
|
flex-direction: column;
|
|
893
893
|
box-sizing: border-box;
|
|
894
894
|
}
|
|
895
|
-
.item {
|
|
895
|
+
.cd-item {
|
|
896
896
|
display: flex;
|
|
897
897
|
align-items: center;
|
|
898
898
|
gap: 6px;
|
|
@@ -909,23 +909,23 @@
|
|
|
909
909
|
transition: background-color 100ms ease;
|
|
910
910
|
list-style: none;
|
|
911
911
|
}
|
|
912
|
-
.item:hover {
|
|
912
|
+
.cd-item:hover {
|
|
913
913
|
background-color: var(--chip-dropdown-item-hover-bg);
|
|
914
914
|
}
|
|
915
|
-
.item:active {
|
|
915
|
+
.cd-item:active {
|
|
916
916
|
background-color: var(--chip-dropdown-item-active-bg);
|
|
917
917
|
}
|
|
918
|
-
.itemLabel {
|
|
918
|
+
.cd-itemLabel {
|
|
919
919
|
flex: 1;
|
|
920
920
|
min-width: 0;
|
|
921
921
|
overflow: hidden;
|
|
922
922
|
text-overflow: ellipsis;
|
|
923
923
|
white-space: nowrap;
|
|
924
924
|
}
|
|
925
|
-
.itemSelected .itemLabel {
|
|
925
|
+
.cd-item.itemSelected .cd-itemLabel {
|
|
926
926
|
font-weight: var(--font-weight-semi-bold);
|
|
927
927
|
}
|
|
928
|
-
.itemCheck {
|
|
928
|
+
.cd-itemCheck {
|
|
929
929
|
display: inline-flex;
|
|
930
930
|
align-items: center;
|
|
931
931
|
justify-content: center;
|
|
@@ -933,8 +933,8 @@
|
|
|
933
933
|
color: var(--chip-dropdown-item-selected-check);
|
|
934
934
|
}
|
|
935
935
|
|
|
936
|
-
/* components/Card/CardPrimaryVariant.
|
|
937
|
-
.card {
|
|
936
|
+
/* components/Card/CardPrimaryVariant.css */
|
|
937
|
+
.card-primary {
|
|
938
938
|
display: flex;
|
|
939
939
|
flex-direction: column;
|
|
940
940
|
border-radius: var(--radius-2xl);
|
|
@@ -943,19 +943,19 @@
|
|
|
943
943
|
position: relative;
|
|
944
944
|
width: 100%;
|
|
945
945
|
}
|
|
946
|
-
.style--light {
|
|
946
|
+
.card-primary.style--light {
|
|
947
947
|
background-color: var(--color-slate-75);
|
|
948
948
|
}
|
|
949
|
-
.style--dark {
|
|
949
|
+
.card-primary.style--dark {
|
|
950
950
|
background-color: var(--color-slate-1200);
|
|
951
951
|
}
|
|
952
|
-
.style--brand {
|
|
952
|
+
.card-primary.style--brand {
|
|
953
953
|
background-color: var(--color-coral-500);
|
|
954
954
|
}
|
|
955
|
-
.style--image {
|
|
955
|
+
.card-primary.style--image {
|
|
956
956
|
background-color: transparent;
|
|
957
957
|
}
|
|
958
|
-
.content {
|
|
958
|
+
.card-primary .cp-content {
|
|
959
959
|
flex: 1 0 0;
|
|
960
960
|
display: flex;
|
|
961
961
|
flex-direction: column;
|
|
@@ -965,13 +965,13 @@
|
|
|
965
965
|
z-index: 1;
|
|
966
966
|
min-height: 0;
|
|
967
967
|
}
|
|
968
|
-
.textDefault {
|
|
968
|
+
.card-primary .textDefault {
|
|
969
969
|
color: var(--color-slate-1200);
|
|
970
970
|
}
|
|
971
|
-
.textInverse {
|
|
971
|
+
.card-primary .textInverse {
|
|
972
972
|
color: var(--color-slate-50);
|
|
973
973
|
}
|
|
974
|
-
.title {
|
|
974
|
+
.card-primary .cp-title {
|
|
975
975
|
font-family: var(--typography-h5-font-family);
|
|
976
976
|
font-size: var(--typography-h5-font-size);
|
|
977
977
|
font-weight: var(--typography-h5-font-weight);
|
|
@@ -979,7 +979,7 @@
|
|
|
979
979
|
margin: 0;
|
|
980
980
|
width: 100%;
|
|
981
981
|
}
|
|
982
|
-
.description {
|
|
982
|
+
.card-primary .cp-description {
|
|
983
983
|
font-family: var(--typography-body-md-font-family);
|
|
984
984
|
font-size: var(--typography-body-md-font-size);
|
|
985
985
|
font-weight: var(--typography-body-md-font-weight);
|
|
@@ -987,37 +987,13 @@
|
|
|
987
987
|
margin: 0;
|
|
988
988
|
width: 100%;
|
|
989
989
|
}
|
|
990
|
-
.
|
|
991
|
-
display: inline-flex;
|
|
992
|
-
align-items: center;
|
|
993
|
-
gap: var(--spacing-8);
|
|
994
|
-
background: none;
|
|
995
|
-
border: none;
|
|
996
|
-
padding: 0;
|
|
997
|
-
cursor: pointer;
|
|
998
|
-
font-family: var(--font-family-base);
|
|
999
|
-
font-size: var(--font-size-md);
|
|
1000
|
-
font-weight: var(--font-weight-semi-bold);
|
|
1001
|
-
line-height: var(--line-height-tight);
|
|
1002
|
-
text-decoration: none;
|
|
1003
|
-
transition: opacity 150ms ease;
|
|
1004
|
-
}
|
|
1005
|
-
.link:hover {
|
|
1006
|
-
opacity: 0.8;
|
|
1007
|
-
}
|
|
1008
|
-
.linkCoral {
|
|
1009
|
-
color: var(--link-coral-color);
|
|
1010
|
-
}
|
|
1011
|
-
.linkInverse {
|
|
1012
|
-
color: var(--link-white-color);
|
|
1013
|
-
}
|
|
1014
|
-
.imageSection {
|
|
990
|
+
.card-primary .cp-imageSection {
|
|
1015
991
|
height: 17.5rem;
|
|
1016
992
|
flex-shrink: 0;
|
|
1017
993
|
position: relative;
|
|
1018
994
|
overflow: hidden;
|
|
1019
995
|
}
|
|
1020
|
-
.image {
|
|
996
|
+
.card-primary .cp-image {
|
|
1021
997
|
position: absolute;
|
|
1022
998
|
inset: 0;
|
|
1023
999
|
width: 100%;
|
|
@@ -1025,13 +1001,13 @@
|
|
|
1025
1001
|
object-fit: cover;
|
|
1026
1002
|
display: block;
|
|
1027
1003
|
}
|
|
1028
|
-
.imageOverlay {
|
|
1004
|
+
.card-primary .cp-imageOverlay {
|
|
1029
1005
|
position: absolute;
|
|
1030
1006
|
inset: 0;
|
|
1031
1007
|
pointer-events: none;
|
|
1032
1008
|
z-index: 0;
|
|
1033
1009
|
}
|
|
1034
|
-
.overlayImg {
|
|
1010
|
+
.card-primary .cp-overlayImg {
|
|
1035
1011
|
position: absolute;
|
|
1036
1012
|
inset: 0;
|
|
1037
1013
|
width: 100%;
|
|
@@ -1039,7 +1015,7 @@
|
|
|
1039
1015
|
object-fit: cover;
|
|
1040
1016
|
display: block;
|
|
1041
1017
|
}
|
|
1042
|
-
.gradient {
|
|
1018
|
+
.card-primary .cp-gradient {
|
|
1043
1019
|
position: absolute;
|
|
1044
1020
|
inset: 0;
|
|
1045
1021
|
background:
|
|
@@ -1049,8 +1025,8 @@
|
|
|
1049
1025
|
transparent 54%);
|
|
1050
1026
|
}
|
|
1051
1027
|
|
|
1052
|
-
/* components/Card/CardSecondaryVariant.
|
|
1053
|
-
.card {
|
|
1028
|
+
/* components/Card/CardSecondaryVariant.css */
|
|
1029
|
+
.card-secondary {
|
|
1054
1030
|
display: flex;
|
|
1055
1031
|
flex-direction: column;
|
|
1056
1032
|
gap: var(--spacing-16);
|
|
@@ -1061,7 +1037,7 @@
|
|
|
1061
1037
|
width: 100%;
|
|
1062
1038
|
box-sizing: border-box;
|
|
1063
1039
|
}
|
|
1064
|
-
.icon {
|
|
1040
|
+
.card-secondary .cs-icon {
|
|
1065
1041
|
display: flex;
|
|
1066
1042
|
align-items: center;
|
|
1067
1043
|
justify-content: center;
|
|
@@ -1070,7 +1046,7 @@
|
|
|
1070
1046
|
flex-shrink: 0;
|
|
1071
1047
|
color: var(--color-slate-1200);
|
|
1072
1048
|
}
|
|
1073
|
-
.title {
|
|
1049
|
+
.card-secondary .cs-title {
|
|
1074
1050
|
font-family: var(--typography-h5-font-family);
|
|
1075
1051
|
font-size: var(--typography-h5-font-size);
|
|
1076
1052
|
font-weight: var(--typography-h5-font-weight);
|
|
@@ -1079,7 +1055,7 @@
|
|
|
1079
1055
|
margin: 0;
|
|
1080
1056
|
width: 100%;
|
|
1081
1057
|
}
|
|
1082
|
-
.description {
|
|
1058
|
+
.card-secondary .cs-description {
|
|
1083
1059
|
font-family: var(--typography-body-md-font-family);
|
|
1084
1060
|
font-size: var(--typography-body-md-font-size);
|
|
1085
1061
|
font-weight: var(--typography-body-md-font-weight);
|
|
@@ -1088,34 +1064,15 @@
|
|
|
1088
1064
|
margin: 0;
|
|
1089
1065
|
width: 100%;
|
|
1090
1066
|
}
|
|
1091
|
-
.link {
|
|
1092
|
-
display: inline-flex;
|
|
1093
|
-
align-items: center;
|
|
1094
|
-
gap: var(--spacing-8);
|
|
1095
|
-
background: none;
|
|
1096
|
-
border: none;
|
|
1097
|
-
padding: 0;
|
|
1098
|
-
cursor: pointer;
|
|
1099
|
-
font-family: var(--font-family-base);
|
|
1100
|
-
font-size: var(--font-size-md);
|
|
1101
|
-
font-weight: var(--font-weight-semi-bold);
|
|
1102
|
-
line-height: var(--line-height-tight);
|
|
1103
|
-
color: var(--link-coral-color);
|
|
1104
|
-
text-decoration: none;
|
|
1105
|
-
transition: opacity 150ms ease;
|
|
1106
|
-
}
|
|
1107
|
-
.link:hover {
|
|
1108
|
-
opacity: 0.8;
|
|
1109
|
-
}
|
|
1110
1067
|
|
|
1111
|
-
/* components/Card/CardThumbnailVariant.
|
|
1112
|
-
.card {
|
|
1068
|
+
/* components/Card/CardThumbnailVariant.css */
|
|
1069
|
+
.card-thumbnail {
|
|
1113
1070
|
display: flex;
|
|
1114
1071
|
flex-direction: column;
|
|
1115
1072
|
gap: var(--spacing-24);
|
|
1116
1073
|
width: 100%;
|
|
1117
1074
|
}
|
|
1118
|
-
.thumbnailWrapper {
|
|
1075
|
+
.card-thumbnail .ct-thumbnailWrapper {
|
|
1119
1076
|
position: relative;
|
|
1120
1077
|
width: 100%;
|
|
1121
1078
|
aspect-ratio: 4 / 3;
|
|
@@ -1123,7 +1080,7 @@
|
|
|
1123
1080
|
overflow: hidden;
|
|
1124
1081
|
flex-shrink: 0;
|
|
1125
1082
|
}
|
|
1126
|
-
.thumbnailImage {
|
|
1083
|
+
.card-thumbnail .ct-thumbnailImage {
|
|
1127
1084
|
position: absolute;
|
|
1128
1085
|
inset: 0;
|
|
1129
1086
|
width: 100%;
|
|
@@ -1133,7 +1090,7 @@
|
|
|
1133
1090
|
pointer-events: none;
|
|
1134
1091
|
display: block;
|
|
1135
1092
|
}
|
|
1136
|
-
.playButton {
|
|
1093
|
+
.card-thumbnail .ct-playButton {
|
|
1137
1094
|
position: absolute;
|
|
1138
1095
|
top: 50%;
|
|
1139
1096
|
left: 50%;
|
|
@@ -1145,7 +1102,7 @@
|
|
|
1145
1102
|
height: var(--spacing-80);
|
|
1146
1103
|
pointer-events: none;
|
|
1147
1104
|
}
|
|
1148
|
-
.avatar {
|
|
1105
|
+
.card-thumbnail .ct-avatar {
|
|
1149
1106
|
position: absolute;
|
|
1150
1107
|
bottom: var(--spacing-24);
|
|
1151
1108
|
right: var(--spacing-24);
|
|
@@ -1155,13 +1112,13 @@
|
|
|
1155
1112
|
object-fit: cover;
|
|
1156
1113
|
display: block;
|
|
1157
1114
|
}
|
|
1158
|
-
.content {
|
|
1115
|
+
.card-thumbnail .ct-content {
|
|
1159
1116
|
display: flex;
|
|
1160
1117
|
flex-direction: column;
|
|
1161
1118
|
gap: var(--spacing-16);
|
|
1162
1119
|
width: 100%;
|
|
1163
1120
|
}
|
|
1164
|
-
.metaRow {
|
|
1121
|
+
.card-thumbnail .ct-metaRow {
|
|
1165
1122
|
display: flex;
|
|
1166
1123
|
align-items: center;
|
|
1167
1124
|
justify-content: space-between;
|
|
@@ -1169,14 +1126,14 @@
|
|
|
1169
1126
|
flex-wrap: wrap;
|
|
1170
1127
|
gap: var(--spacing-12);
|
|
1171
1128
|
}
|
|
1172
|
-
.tagsList {
|
|
1129
|
+
.card-thumbnail .ct-tagsList {
|
|
1173
1130
|
display: flex;
|
|
1174
1131
|
align-items: center;
|
|
1175
1132
|
gap: var(--spacing-12);
|
|
1176
1133
|
flex: 1 0 0;
|
|
1177
1134
|
min-width: 0;
|
|
1178
1135
|
}
|
|
1179
|
-
.copyLink {
|
|
1136
|
+
.card-thumbnail .ct-copyLink {
|
|
1180
1137
|
display: inline-flex;
|
|
1181
1138
|
align-items: center;
|
|
1182
1139
|
justify-content: center;
|
|
@@ -1192,10 +1149,10 @@
|
|
|
1192
1149
|
flex-shrink: 0;
|
|
1193
1150
|
transition: background-color 100ms ease;
|
|
1194
1151
|
}
|
|
1195
|
-
.copyLink:hover {
|
|
1152
|
+
.card-thumbnail .ct-copyLink:hover {
|
|
1196
1153
|
background-color: var(--tag-fill-background);
|
|
1197
1154
|
}
|
|
1198
|
-
.title {
|
|
1155
|
+
.card-thumbnail .ct-title {
|
|
1199
1156
|
font-family: var(--typography-h5-font-family);
|
|
1200
1157
|
font-size: var(--typography-h5-font-size);
|
|
1201
1158
|
font-weight: var(--typography-h5-font-weight);
|
|
@@ -1205,7 +1162,7 @@
|
|
|
1205
1162
|
text-overflow: ellipsis;
|
|
1206
1163
|
margin: 0;
|
|
1207
1164
|
}
|
|
1208
|
-
.summary {
|
|
1165
|
+
.card-thumbnail .ct-summary {
|
|
1209
1166
|
font-family: var(--typography-body-md-font-family);
|
|
1210
1167
|
font-size: var(--typography-body-md-font-size);
|
|
1211
1168
|
font-weight: var(--typography-body-md-font-weight);
|
|
@@ -1216,13 +1173,13 @@
|
|
|
1216
1173
|
margin: 0;
|
|
1217
1174
|
}
|
|
1218
1175
|
|
|
1219
|
-
/* primitives/Pagination/Pagination.
|
|
1176
|
+
/* primitives/Pagination/Pagination.css */
|
|
1220
1177
|
.pagination {
|
|
1221
1178
|
display: flex;
|
|
1222
1179
|
align-items: center;
|
|
1223
1180
|
gap: var(--spacing-8);
|
|
1224
1181
|
}
|
|
1225
|
-
.pageButton {
|
|
1182
|
+
.pagination .pageButton {
|
|
1226
1183
|
display: flex;
|
|
1227
1184
|
align-items: center;
|
|
1228
1185
|
justify-content: center;
|
|
@@ -1244,17 +1201,17 @@
|
|
|
1244
1201
|
outline: none;
|
|
1245
1202
|
box-sizing: border-box;
|
|
1246
1203
|
}
|
|
1247
|
-
.pageButton:focus-visible {
|
|
1204
|
+
.pagination .pageButton:focus-visible {
|
|
1248
1205
|
outline: 2px solid var(--color-blue-600);
|
|
1249
1206
|
outline-offset: 2px;
|
|
1250
1207
|
}
|
|
1251
|
-
.pageButtonSelected {
|
|
1208
|
+
.pagination .pageButtonSelected {
|
|
1252
1209
|
background: var(--pagination-page-selected-bg);
|
|
1253
1210
|
color: var(--pagination-page-selected-text);
|
|
1254
1211
|
border-radius: var(--pagination-page-radius);
|
|
1255
1212
|
cursor: default;
|
|
1256
1213
|
}
|
|
1257
|
-
.ellipsis {
|
|
1214
|
+
.pagination .ellipsis {
|
|
1258
1215
|
display: flex;
|
|
1259
1216
|
align-items: center;
|
|
1260
1217
|
justify-content: center;
|
|
@@ -1268,7 +1225,7 @@
|
|
|
1268
1225
|
line-height: 1.375rem;
|
|
1269
1226
|
user-select: none;
|
|
1270
1227
|
}
|
|
1271
|
-
.navButton {
|
|
1228
|
+
.pagination .navButton {
|
|
1272
1229
|
display: flex;
|
|
1273
1230
|
align-items: center;
|
|
1274
1231
|
justify-content: center;
|
|
@@ -1284,16 +1241,16 @@
|
|
|
1284
1241
|
outline: none;
|
|
1285
1242
|
box-sizing: border-box;
|
|
1286
1243
|
}
|
|
1287
|
-
.navButton:focus-visible {
|
|
1244
|
+
.pagination .navButton:focus-visible {
|
|
1288
1245
|
outline: 2px solid var(--color-blue-600);
|
|
1289
1246
|
outline-offset: 2px;
|
|
1290
1247
|
border-radius: var(--radius-md);
|
|
1291
1248
|
}
|
|
1292
|
-
.navButtonDisabled {
|
|
1249
|
+
.pagination .navButtonDisabled {
|
|
1293
1250
|
color: var(--pagination-nav-icon-disabled);
|
|
1294
1251
|
cursor: not-allowed;
|
|
1295
1252
|
}
|
|
1296
|
-
.navIcon {
|
|
1253
|
+
.pagination .navIcon {
|
|
1297
1254
|
display: flex;
|
|
1298
1255
|
align-items: center;
|
|
1299
1256
|
justify-content: center;
|
|
@@ -1301,4 +1258,71 @@
|
|
|
1301
1258
|
height: var(--spacing-16);
|
|
1302
1259
|
flex-shrink: 0;
|
|
1303
1260
|
}
|
|
1261
|
+
|
|
1262
|
+
/* templates/FeatureCards/FeatureCards.css */
|
|
1263
|
+
.fc-section {
|
|
1264
|
+
width: 100%;
|
|
1265
|
+
background-color: var(--color-slate-50);
|
|
1266
|
+
}
|
|
1267
|
+
.fc-container {
|
|
1268
|
+
display: flex;
|
|
1269
|
+
flex-direction: column;
|
|
1270
|
+
gap: var(--spacing-48);
|
|
1271
|
+
max-width: 1280px;
|
|
1272
|
+
margin: 0 auto;
|
|
1273
|
+
padding: var(--spacing-56) var(--spacing-16);
|
|
1274
|
+
box-sizing: border-box;
|
|
1275
|
+
}
|
|
1276
|
+
@media (min-width: 992px) {
|
|
1277
|
+
.fc-container {
|
|
1278
|
+
padding: var(--spacing-112) var(--spacing-56);
|
|
1279
|
+
}
|
|
1280
|
+
}
|
|
1281
|
+
.fc-header {
|
|
1282
|
+
display: flex;
|
|
1283
|
+
flex-direction: column;
|
|
1284
|
+
align-items: flex-start;
|
|
1285
|
+
gap: var(--spacing-16);
|
|
1286
|
+
text-align: left;
|
|
1287
|
+
}
|
|
1288
|
+
@media (min-width: 768px) {
|
|
1289
|
+
.fc-header {
|
|
1290
|
+
align-items: center;
|
|
1291
|
+
text-align: center;
|
|
1292
|
+
}
|
|
1293
|
+
}
|
|
1294
|
+
.fc-sectionTitle {
|
|
1295
|
+
font-family: var(--font-family-base);
|
|
1296
|
+
font-size: var(--font-size-4xl);
|
|
1297
|
+
font-weight: var(--font-weight-extra-bold);
|
|
1298
|
+
line-height: var(--line-height-4xl);
|
|
1299
|
+
color: var(--color-slate-1200);
|
|
1300
|
+
margin: 0;
|
|
1301
|
+
}
|
|
1302
|
+
.fc-sectionDescription {
|
|
1303
|
+
font-family: var(--typography-body-md-font-family);
|
|
1304
|
+
font-size: var(--typography-body-md-font-size);
|
|
1305
|
+
font-weight: var(--typography-body-md-font-weight);
|
|
1306
|
+
line-height: var(--typography-body-md-line-height);
|
|
1307
|
+
color: var(--color-slate-1200);
|
|
1308
|
+
margin: 0;
|
|
1309
|
+
max-width: 640px;
|
|
1310
|
+
}
|
|
1311
|
+
.fc-grid {
|
|
1312
|
+
display: flex;
|
|
1313
|
+
flex-direction: column;
|
|
1314
|
+
gap: var(--spacing-16);
|
|
1315
|
+
width: 100%;
|
|
1316
|
+
}
|
|
1317
|
+
@media (min-width: 768px) {
|
|
1318
|
+
.fc-grid {
|
|
1319
|
+
flex-direction: row;
|
|
1320
|
+
gap: var(--spacing-24);
|
|
1321
|
+
align-items: stretch;
|
|
1322
|
+
}
|
|
1323
|
+
.fc-grid > * {
|
|
1324
|
+
flex: 1 1 0;
|
|
1325
|
+
min-width: 0;
|
|
1326
|
+
}
|
|
1327
|
+
}
|
|
1304
1328
|
/*# sourceMappingURL=index.css.map */
|