@deriv-web-design/ui 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.css ADDED
@@ -0,0 +1,1304 @@
1
+ /* primitives/Button/Button.module.css */
2
+ .button {
3
+ position: relative;
4
+ display: inline-flex;
5
+ align-items: center;
6
+ justify-content: center;
7
+ gap: var(--spacing-8);
8
+ padding: calc(var(--spacing-16) - 2px) calc(var(--spacing-24) - 2px);
9
+ min-width: var(--spacing-96);
10
+ border: 2px solid transparent;
11
+ border-radius: var(--radius-full);
12
+ font-family: var(--font-family-base);
13
+ font-size: var(--font-size-lg);
14
+ font-weight: var(--font-weight-extra-bold);
15
+ line-height: 1;
16
+ text-align: center;
17
+ white-space: nowrap;
18
+ text-decoration: none;
19
+ cursor: pointer;
20
+ outline: none;
21
+ box-sizing: border-box;
22
+ transition:
23
+ background-color 100ms ease,
24
+ border-color 100ms ease,
25
+ opacity 100ms ease;
26
+ }
27
+ .fullWidth {
28
+ width: 100%;
29
+ }
30
+ .iconOnly {
31
+ padding: calc(var(--spacing-16) - 2px);
32
+ min-width: unset;
33
+ width: var(--spacing-48);
34
+ height: var(--spacing-48);
35
+ }
36
+ .label {
37
+ flex: 1 0 0;
38
+ min-width: 1px;
39
+ min-height: 1px;
40
+ }
41
+ .icon {
42
+ display: flex;
43
+ align-items: center;
44
+ justify-content: center;
45
+ width: var(--spacing-16);
46
+ height: var(--spacing-16);
47
+ flex-shrink: 0;
48
+ }
49
+ .focusRing {
50
+ position: absolute;
51
+ inset: -2px;
52
+ border-radius: var(--radius-full);
53
+ border: 2px solid var(--color-blue-600);
54
+ pointer-events: none;
55
+ }
56
+ .button:focus-visible::after {
57
+ content: "";
58
+ position: absolute;
59
+ inset: -2px;
60
+ border-radius: var(--radius-full);
61
+ border: 2px solid var(--color-blue-600);
62
+ pointer-events: none;
63
+ }
64
+ .coral_primary {
65
+ background-color: var(--color-coral-500);
66
+ color: var(--color-slate-50);
67
+ }
68
+ .coral_primary:hover:not(:disabled) {
69
+ background-color: var(--color-coral-600);
70
+ }
71
+ .coral_primary:active:not(:disabled) {
72
+ background-color: var(--color-coral-700);
73
+ }
74
+ .coral_primary:disabled {
75
+ opacity: 0.24;
76
+ cursor: not-allowed;
77
+ }
78
+ .coral_secondary {
79
+ background-color: transparent;
80
+ color: var(--color-coral-500);
81
+ border-color: var(--color-coral-500);
82
+ }
83
+ .coral_secondary:hover:not(:disabled) {
84
+ background-color: rgba(255, 68, 79, 0.08);
85
+ }
86
+ .coral_secondary:active:not(:disabled) {
87
+ background-color: rgba(255, 68, 79, 0.16);
88
+ }
89
+ .coral_secondary:disabled {
90
+ opacity: 0.24;
91
+ cursor: not-allowed;
92
+ }
93
+ .black_primary {
94
+ background-color: var(--color-slate-1300);
95
+ color: var(--color-slate-50);
96
+ }
97
+ .black_primary:hover:not(:disabled) {
98
+ background-color: rgba(24, 28, 37, 0.8);
99
+ }
100
+ .black_primary:active:not(:disabled) {
101
+ background-color: var(--color-opacity-slate-88);
102
+ }
103
+ .black_primary:disabled {
104
+ opacity: 0.24;
105
+ cursor: not-allowed;
106
+ }
107
+ .black_secondary {
108
+ background-color: transparent;
109
+ color: var(--color-slate-1300);
110
+ border-color: var(--color-slate-1300);
111
+ }
112
+ .black_secondary:hover:not(:disabled) {
113
+ background-color: var(--color-opacity-slate-4);
114
+ }
115
+ .black_secondary:active:not(:disabled) {
116
+ background-color: var(--color-opacity-slate-8);
117
+ }
118
+ .black_secondary:disabled {
119
+ opacity: 0.24;
120
+ cursor: not-allowed;
121
+ }
122
+ .white_primary {
123
+ background-color: var(--color-slate-50);
124
+ color: var(--color-slate-1300);
125
+ }
126
+ .white_primary:hover:not(:disabled) {
127
+ background-color: rgba(255, 255, 255, 0.8);
128
+ }
129
+ .white_primary:active:not(:disabled) {
130
+ background-color: var(--color-opacity-white-88);
131
+ }
132
+ .white_primary:disabled {
133
+ opacity: 0.24;
134
+ cursor: not-allowed;
135
+ }
136
+ .white_secondary {
137
+ background-color: transparent;
138
+ color: var(--color-slate-50);
139
+ border-color: var(--color-slate-50);
140
+ }
141
+ .white_secondary:hover:not(:disabled) {
142
+ background-color: var(--color-opacity-white-8);
143
+ }
144
+ .white_secondary:active:not(:disabled) {
145
+ background-color: var(--color-opacity-white-16);
146
+ }
147
+ .white_secondary:disabled {
148
+ opacity: 0.24;
149
+ cursor: not-allowed;
150
+ }
151
+
152
+ /* primitives/Link/Link.module.css */
153
+ .link {
154
+ display: inline-flex;
155
+ align-items: center;
156
+ gap: var(--spacing-8);
157
+ cursor: pointer;
158
+ text-decoration: none;
159
+ font-family: var(--font-family-base);
160
+ font-size: var(--font-size-md);
161
+ font-weight: var(--font-weight-semi-bold);
162
+ line-height: 1;
163
+ white-space: nowrap;
164
+ background: none;
165
+ border: none;
166
+ padding: 0;
167
+ outline: none;
168
+ transition: gap 150ms ease;
169
+ }
170
+ .link:focus-visible {
171
+ outline: 2px solid var(--color-blue-600);
172
+ outline-offset: 2px;
173
+ border-radius: var(--radius-xs);
174
+ }
175
+ .disabled {
176
+ opacity: var(--link-disabled-opacity);
177
+ cursor: not-allowed;
178
+ pointer-events: none;
179
+ }
180
+ .icon {
181
+ display: inline-flex;
182
+ align-items: center;
183
+ justify-content: center;
184
+ width: var(--spacing-16);
185
+ height: var(--spacing-16);
186
+ flex-shrink: 0;
187
+ }
188
+ .chevron {
189
+ display: inline-flex;
190
+ align-items: center;
191
+ justify-content: center;
192
+ flex-shrink: 0;
193
+ width: var(--spacing-16);
194
+ height: var(--spacing-16);
195
+ transition: transform 150ms ease;
196
+ }
197
+ .label {
198
+ text-decoration-skip-ink: none;
199
+ }
200
+ .withChevron:hover,
201
+ .withChevron:active {
202
+ gap: var(--spacing-16);
203
+ }
204
+ .withIcon:hover .label,
205
+ .withIcon:active .label {
206
+ text-decoration: underline;
207
+ text-decoration-style: solid;
208
+ }
209
+ .coral {
210
+ color: var(--link-coral-color);
211
+ }
212
+ .black {
213
+ color: var(--link-black-color);
214
+ }
215
+ .white {
216
+ color: var(--link-white-color);
217
+ }
218
+
219
+ /* primitives/Chip/Chip.module.css */
220
+ .chip {
221
+ position: relative;
222
+ display: inline-flex;
223
+ align-items: center;
224
+ border: 1px solid var(--chip-border-color);
225
+ border-radius: var(--radius-full);
226
+ font-family: var(--font-family-base);
227
+ font-weight: var(--font-weight-regular);
228
+ line-height: 1;
229
+ color: var(--chip-text-color);
230
+ white-space: nowrap;
231
+ background: transparent;
232
+ cursor: pointer;
233
+ outline: none;
234
+ box-sizing: border-box;
235
+ transition:
236
+ background-color 100ms ease,
237
+ color 100ms ease,
238
+ border-color 100ms ease;
239
+ user-select: none;
240
+ }
241
+ .sm {
242
+ height: var(--spacing-24);
243
+ padding: 0 var(--spacing-12);
244
+ gap: 6px;
245
+ font-size: var(--font-size-xs);
246
+ }
247
+ .md {
248
+ height: var(--spacing-32);
249
+ padding: 0 var(--spacing-16);
250
+ gap: var(--spacing-8);
251
+ font-size: var(--font-size-sm);
252
+ }
253
+ .lg {
254
+ height: var(--spacing-48);
255
+ padding: 0 var(--spacing-24);
256
+ gap: var(--spacing-12);
257
+ font-size: var(--font-size-md);
258
+ }
259
+ .chip:hover:not(:disabled):not(.selected) {
260
+ background-color: var(--chip-hover-background);
261
+ }
262
+ .chip:active:not(:disabled):not(.selected) {
263
+ background-color: var(--chip-active-background);
264
+ }
265
+ .selected {
266
+ background-color: var(--chip-selected-background);
267
+ border-color: var(--chip-selected-background);
268
+ color: var(--chip-selected-text);
269
+ }
270
+ .chip:disabled {
271
+ color: var(--chip-disabled-text);
272
+ cursor: not-allowed;
273
+ }
274
+ .icon {
275
+ display: inline-flex;
276
+ align-items: center;
277
+ justify-content: center;
278
+ flex-shrink: 0;
279
+ width: 1em;
280
+ height: 1em;
281
+ }
282
+ .label {
283
+ flex-shrink: 0;
284
+ }
285
+ .tag {
286
+ font-weight: var(--font-weight-extra-bold);
287
+ flex-shrink: 0;
288
+ }
289
+ .focusRing {
290
+ position: absolute;
291
+ inset: -3px;
292
+ border-radius: var(--radius-full);
293
+ border: 2px solid var(--chip-focus-ring-color);
294
+ pointer-events: none;
295
+ }
296
+ .selected .focusRing {
297
+ inset: -2px;
298
+ }
299
+ .chip:focus-visible::after {
300
+ content: "";
301
+ position: absolute;
302
+ inset: -3px;
303
+ border-radius: var(--radius-full);
304
+ border: 2px solid var(--chip-focus-ring-color);
305
+ pointer-events: none;
306
+ }
307
+ .selected:focus-visible::after {
308
+ inset: -2px;
309
+ }
310
+
311
+ /* primitives/Tag/Tag.module.css */
312
+ .tag {
313
+ display: inline-flex;
314
+ align-items: center;
315
+ justify-content: center;
316
+ box-sizing: border-box;
317
+ white-space: nowrap;
318
+ font-family: var(--font-family-base);
319
+ line-height: 1;
320
+ color: var(--tag-text-color);
321
+ border-radius: var(--radius-full);
322
+ }
323
+ .fill {
324
+ background-color: var(--tag-fill-background);
325
+ }
326
+ .outline {
327
+ border: 1px solid var(--tag-outline-border);
328
+ }
329
+ .xs {
330
+ height: 22px;
331
+ padding: 0 var(--spacing-4);
332
+ gap: var(--spacing-4);
333
+ font-size: var(--font-size-xs);
334
+ }
335
+ .sm {
336
+ height: var(--spacing-24);
337
+ padding: 0 var(--spacing-8);
338
+ gap: var(--spacing-8);
339
+ font-size: var(--font-size-xs);
340
+ }
341
+ .md {
342
+ height: var(--spacing-32);
343
+ padding: 0 var(--spacing-12);
344
+ gap: var(--spacing-12);
345
+ font-size: var(--font-size-sm);
346
+ }
347
+ .lg {
348
+ height: var(--spacing-48);
349
+ padding: 0 var(--spacing-16);
350
+ gap: var(--spacing-16);
351
+ font-size: var(--font-size-md);
352
+ }
353
+ .regular {
354
+ font-weight: var(--font-weight-regular);
355
+ }
356
+ .bold {
357
+ font-weight: var(--font-weight-semi-bold);
358
+ }
359
+ .icon {
360
+ display: inline-flex;
361
+ align-items: center;
362
+ justify-content: center;
363
+ flex-shrink: 0;
364
+ width: 1em;
365
+ height: 1em;
366
+ }
367
+ .label {
368
+ flex-shrink: 0;
369
+ }
370
+
371
+ /* primitives/Accordion/Accordion.module.css */
372
+ .accordion {
373
+ position: relative;
374
+ width: 100%;
375
+ max-width: 846px;
376
+ box-sizing: border-box;
377
+ }
378
+ .header {
379
+ display: flex;
380
+ align-items: center;
381
+ gap: var(--spacing-24);
382
+ padding: var(--spacing-24) 0;
383
+ width: 100%;
384
+ background: none;
385
+ border: none;
386
+ cursor: pointer;
387
+ outline: none;
388
+ position: relative;
389
+ text-align: left;
390
+ box-sizing: border-box;
391
+ }
392
+ .header:focus-visible::after {
393
+ content: "";
394
+ position: absolute;
395
+ inset: -2px;
396
+ border: 2px solid var(--accordion-focus-ring-color);
397
+ pointer-events: none;
398
+ }
399
+ .focusRing {
400
+ position: absolute;
401
+ inset: -2px;
402
+ border: 2px solid var(--accordion-focus-ring-color);
403
+ pointer-events: none;
404
+ }
405
+ .titleWrapper {
406
+ flex: 1 0 0;
407
+ min-width: 1px;
408
+ }
409
+ .title {
410
+ font-family: var(--font-family-base);
411
+ font-size: var(--font-size-lg);
412
+ font-weight: var(--font-weight-semi-bold);
413
+ line-height: var(--line-height-normal);
414
+ color: var(--accordion-title-color);
415
+ }
416
+ .chevron {
417
+ display: flex;
418
+ align-items: center;
419
+ justify-content: center;
420
+ width: var(--spacing-24);
421
+ height: var(--spacing-24);
422
+ flex-shrink: 0;
423
+ color: var(--accordion-chevron-color);
424
+ transition: transform 200ms ease;
425
+ }
426
+ .chevronRotated {
427
+ transform: rotate(180deg);
428
+ }
429
+ .bodyWrapper {
430
+ display: grid;
431
+ grid-template-rows: 0fr;
432
+ transition: grid-template-rows 200ms ease;
433
+ }
434
+ .bodyWrapperOpen {
435
+ grid-template-rows: 1fr;
436
+ }
437
+ .bodyInner {
438
+ overflow: hidden;
439
+ }
440
+ .body {
441
+ padding-bottom: var(--spacing-24);
442
+ font-family: var(--font-family-base);
443
+ font-size: var(--font-size-md);
444
+ font-weight: var(--font-weight-regular);
445
+ line-height: var(--line-height-normal);
446
+ color: var(--accordion-body-color);
447
+ }
448
+
449
+ /* primitives/TextField/TextField.module.css */
450
+ .wrapper {
451
+ display: flex;
452
+ align-items: center;
453
+ height: var(--spacing-56);
454
+ padding: 0 var(--spacing-16);
455
+ gap: var(--spacing-8);
456
+ border-radius: var(--radius-md);
457
+ border: 1px solid transparent;
458
+ box-sizing: border-box;
459
+ cursor: text;
460
+ transition: background-color 100ms ease, border-color 100ms ease;
461
+ }
462
+ .outline {
463
+ background: var(--field-surface-outline);
464
+ border-color: var(--field-border-default);
465
+ }
466
+ .fill {
467
+ background: var(--field-surface-fill);
468
+ }
469
+ .neutral.outline:hover:not([data-disabled]):not(:focus-within) {
470
+ border-color: var(--field-border-hover);
471
+ }
472
+ .neutral.fill:hover:not([data-disabled]):not(:focus-within) {
473
+ background: var(--field-surface-fill-hover);
474
+ }
475
+ .neutral.outline:focus-within:not([data-disabled]) {
476
+ border-color: var(--field-border-focus);
477
+ }
478
+ .neutral.fill:focus-within:not([data-disabled]) {
479
+ border-color: var(--field-border-focus);
480
+ }
481
+ .fail.outline {
482
+ border-color: var(--field-border-fail-default);
483
+ }
484
+ .fail.outline:hover:not([data-disabled]):not(:focus-within) {
485
+ border-color: var(--field-border-fail-hover);
486
+ }
487
+ .fail.outline:focus-within:not([data-disabled]) {
488
+ border-color: var(--field-border-fail-focus);
489
+ }
490
+ .fail.fill {
491
+ background: var(--field-surface-fail);
492
+ }
493
+ .fail.fill:hover:not([data-disabled]):not(:focus-within) {
494
+ background: var(--field-surface-fail-hover);
495
+ }
496
+ .fail.fill:focus-within:not([data-disabled]) {
497
+ background: var(--field-surface-fail);
498
+ border-color: var(--field-border-fail-focus);
499
+ }
500
+ .success.outline {
501
+ border-color: var(--field-border-success-default);
502
+ }
503
+ .success.outline:hover:not([data-disabled]):not(:focus-within) {
504
+ border-color: var(--field-border-success-hover);
505
+ }
506
+ .success.outline:focus-within:not([data-disabled]) {
507
+ border-color: var(--field-border-success-focus);
508
+ }
509
+ .success.fill {
510
+ background: var(--field-surface-success);
511
+ }
512
+ .success.fill:hover:not([data-disabled]):not(:focus-within) {
513
+ background: var(--field-surface-success-hover);
514
+ }
515
+ .success.fill:focus-within:not([data-disabled]) {
516
+ background: var(--field-surface-success);
517
+ border-color: var(--field-border-success-focus);
518
+ }
519
+ .wrapper[data-disabled] {
520
+ cursor: not-allowed;
521
+ }
522
+ .iconSlot {
523
+ display: inline-flex;
524
+ align-items: center;
525
+ justify-content: center;
526
+ flex-shrink: 0;
527
+ width: var(--spacing-24);
528
+ height: var(--spacing-24);
529
+ color: var(--field-icon-default);
530
+ }
531
+ .wrapper[data-disabled] .iconSlot {
532
+ color: var(--field-icon-disabled);
533
+ }
534
+ .iconSuccess {
535
+ color: var(--field-text-success);
536
+ }
537
+ .iconFail {
538
+ color: var(--field-text-fail);
539
+ }
540
+ .input {
541
+ flex: 1 0 0;
542
+ min-width: 1px;
543
+ border: none;
544
+ outline: none;
545
+ background: transparent;
546
+ font-family: var(--font-family-base);
547
+ font-size: var(--font-size-md);
548
+ font-weight: var(--font-weight-regular);
549
+ line-height: var(--line-height-normal);
550
+ color: var(--field-text-default);
551
+ caret-color: var(--field-border-focus);
552
+ padding: 0;
553
+ }
554
+ .input::placeholder {
555
+ color: var(--field-text-placeholder);
556
+ }
557
+ .input:focus {
558
+ color: var(--field-text-focus);
559
+ }
560
+ .input:disabled {
561
+ cursor: not-allowed;
562
+ color: var(--field-text-disabled);
563
+ }
564
+ .input:disabled::placeholder {
565
+ color: var(--field-text-disabled);
566
+ }
567
+
568
+ /* primitives/SearchField/SearchField.module.css */
569
+ .wrapper {
570
+ display: flex;
571
+ align-items: center;
572
+ height: var(--spacing-56);
573
+ padding: 0 var(--spacing-16);
574
+ gap: var(--spacing-8);
575
+ border-radius: var(--radius-md);
576
+ border: 1px solid transparent;
577
+ background: var(--field-surface-outline);
578
+ border-color: var(--field-border-default);
579
+ box-sizing: border-box;
580
+ cursor: text;
581
+ transition: background-color 100ms ease, border-color 100ms ease;
582
+ }
583
+ .neutral:hover:not([data-disabled]):not(:focus-within) {
584
+ border-color: var(--field-border-hover);
585
+ }
586
+ .neutral:focus-within:not([data-disabled]) {
587
+ border-color: var(--field-border-focus);
588
+ }
589
+ .fail {
590
+ border-color: var(--field-border-fail-default);
591
+ }
592
+ .fail:hover:not([data-disabled]):not(:focus-within) {
593
+ border-color: var(--field-border-fail-hover);
594
+ }
595
+ .fail:focus-within:not([data-disabled]) {
596
+ border-color: var(--field-border-fail-focus);
597
+ }
598
+ .success {
599
+ border-color: var(--field-border-success-default);
600
+ }
601
+ .success:hover:not([data-disabled]):not(:focus-within) {
602
+ border-color: var(--field-border-success-hover);
603
+ }
604
+ .success:focus-within:not([data-disabled]) {
605
+ border-color: var(--field-border-success-focus);
606
+ }
607
+ .wrapper[data-disabled] {
608
+ cursor: not-allowed;
609
+ }
610
+ .iconSlot {
611
+ display: inline-flex;
612
+ align-items: center;
613
+ justify-content: center;
614
+ flex-shrink: 0;
615
+ width: var(--spacing-24);
616
+ height: var(--spacing-24);
617
+ color: var(--field-icon-default);
618
+ }
619
+ .wrapper[data-disabled] .iconSlot {
620
+ color: var(--field-icon-disabled);
621
+ }
622
+ .iconSuccess {
623
+ color: var(--field-text-success);
624
+ }
625
+ .iconFail {
626
+ color: var(--field-text-fail);
627
+ }
628
+ .input {
629
+ flex: 1 0 0;
630
+ min-width: 1px;
631
+ border: none;
632
+ outline: none;
633
+ background: transparent;
634
+ font-family: var(--font-family-base);
635
+ font-size: var(--font-size-md);
636
+ font-weight: var(--font-weight-regular);
637
+ line-height: var(--line-height-normal);
638
+ color: var(--field-text-default);
639
+ caret-color: var(--field-border-focus);
640
+ padding: 0;
641
+ }
642
+ .input::placeholder {
643
+ color: var(--field-text-placeholder);
644
+ }
645
+ .input:focus {
646
+ color: var(--field-text-focus);
647
+ }
648
+ .input:disabled {
649
+ cursor: not-allowed;
650
+ color: var(--field-text-disabled);
651
+ }
652
+ .input:disabled::placeholder {
653
+ color: var(--field-text-disabled);
654
+ }
655
+ .clearButton {
656
+ appearance: none;
657
+ display: inline-flex;
658
+ align-items: center;
659
+ justify-content: center;
660
+ flex-shrink: 0;
661
+ width: var(--spacing-24);
662
+ height: var(--spacing-24);
663
+ padding: 0;
664
+ border: none;
665
+ background: none;
666
+ cursor: pointer;
667
+ color: var(--field-icon-subtle);
668
+ border-radius: var(--radius-full);
669
+ transition: color 100ms ease;
670
+ }
671
+ .clearButton:hover {
672
+ color: var(--field-text-default);
673
+ }
674
+ .clearButton:focus-visible {
675
+ outline: 2px solid var(--field-border-focus);
676
+ outline-offset: 2px;
677
+ }
678
+
679
+ /* primitives/Breadcrumb/Breadcrumb.module.css */
680
+ .list {
681
+ display: flex;
682
+ flex-wrap: wrap;
683
+ align-items: center;
684
+ gap: var(--spacing-8);
685
+ list-style: none;
686
+ margin: 0;
687
+ padding: 0;
688
+ font-family: var(--font-family-base);
689
+ font-weight: var(--font-weight-regular);
690
+ }
691
+ .list.sm {
692
+ font-size: var(--font-size-sm);
693
+ line-height: var(--line-height-normal);
694
+ }
695
+ .list.md {
696
+ font-size: var(--font-size-md);
697
+ line-height: var(--line-height-normal);
698
+ }
699
+ .item,
700
+ .middleItem,
701
+ .ellipsisItem {
702
+ display: flex;
703
+ align-items: center;
704
+ gap: var(--spacing-8);
705
+ }
706
+ .link {
707
+ color: var(--breadcrumb-text-color);
708
+ text-decoration: none;
709
+ white-space: nowrap;
710
+ cursor: pointer;
711
+ border-radius: var(--radius-sm);
712
+ }
713
+ .link:hover {
714
+ text-decoration: underline;
715
+ }
716
+ .link:active {
717
+ color: var(--breadcrumb-text-current-color);
718
+ text-decoration: underline;
719
+ }
720
+ .link:focus-visible {
721
+ outline: 2px solid var(--breadcrumb-focus-ring-color);
722
+ outline-offset: 2px;
723
+ text-decoration: none;
724
+ }
725
+ .current {
726
+ color: var(--breadcrumb-text-current-color);
727
+ white-space: nowrap;
728
+ }
729
+ .separator {
730
+ display: inline-flex;
731
+ align-items: center;
732
+ justify-content: center;
733
+ flex-shrink: 0;
734
+ color: var(--breadcrumb-separator-color);
735
+ width: 1em;
736
+ height: 1em;
737
+ }
738
+ .ellipsisButton {
739
+ appearance: none;
740
+ background: none;
741
+ border: none;
742
+ padding: 0;
743
+ margin: 0;
744
+ font: inherit;
745
+ color: var(--breadcrumb-text-color);
746
+ cursor: pointer;
747
+ border-radius: var(--radius-sm);
748
+ }
749
+ .ellipsisButton:hover {
750
+ text-decoration: underline;
751
+ }
752
+ .ellipsisButton:focus-visible {
753
+ outline: 2px solid var(--breadcrumb-focus-ring-color);
754
+ outline-offset: 2px;
755
+ text-decoration: none;
756
+ }
757
+ .ellipsisItem {
758
+ display: none;
759
+ }
760
+ .middleItem {
761
+ display: flex;
762
+ }
763
+ @media (max-width: 639px) {
764
+ .list.collapsible {
765
+ gap: var(--spacing-4);
766
+ }
767
+ .list.collapsible .item,
768
+ .list.collapsible .middleItem,
769
+ .list.collapsible .ellipsisItem {
770
+ gap: var(--spacing-4);
771
+ }
772
+ .list.collapsible .ellipsisItem {
773
+ display: flex;
774
+ }
775
+ .list.collapsible .middleItem {
776
+ display: none;
777
+ }
778
+ .list.collapsible.expanded .ellipsisItem {
779
+ display: none;
780
+ }
781
+ .list.collapsible.expanded .middleItem {
782
+ display: flex;
783
+ }
784
+ }
785
+
786
+ /* primitives/ChipDropdown/ChipDropdown.module.css */
787
+ .wrapper {
788
+ position: relative;
789
+ display: inline-flex;
790
+ }
791
+ .trigger {
792
+ position: relative;
793
+ display: inline-flex;
794
+ align-items: center;
795
+ border: 1px solid var(--chip-border-color);
796
+ border-radius: var(--radius-full);
797
+ font-family: var(--font-family-base);
798
+ font-weight: var(--font-weight-regular);
799
+ color: var(--chip-text-color);
800
+ white-space: nowrap;
801
+ background: transparent;
802
+ cursor: pointer;
803
+ outline: none;
804
+ box-sizing: border-box;
805
+ transition:
806
+ background-color 100ms ease,
807
+ color 100ms ease,
808
+ border-color 100ms ease;
809
+ user-select: none;
810
+ }
811
+ .sm {
812
+ height: var(--spacing-24);
813
+ padding-left: var(--spacing-12);
814
+ padding-right: 6px;
815
+ gap: 6px;
816
+ font-size: var(--font-size-xs);
817
+ }
818
+ .md {
819
+ height: var(--spacing-32);
820
+ padding-left: var(--spacing-16);
821
+ padding-right: var(--spacing-8);
822
+ gap: var(--spacing-8);
823
+ font-size: var(--font-size-sm);
824
+ }
825
+ .trigger:hover:not(:disabled):not(.selected) {
826
+ background-color: var(--chip-hover-background);
827
+ }
828
+ .trigger:active:not(:disabled) {
829
+ background-color: var(--chip-active-background);
830
+ }
831
+ .expand:not(.selected):not(:disabled) {
832
+ background-color: var(--chip-hover-background);
833
+ }
834
+ .selected {
835
+ background-color: var(--chip-selected-background);
836
+ border-color: var(--chip-selected-background);
837
+ color: var(--chip-selected-text);
838
+ }
839
+ .trigger:disabled {
840
+ color: var(--chip-disabled-text);
841
+ cursor: not-allowed;
842
+ }
843
+ .icon {
844
+ display: inline-flex;
845
+ align-items: center;
846
+ justify-content: center;
847
+ flex-shrink: 0;
848
+ width: 1em;
849
+ height: 1em;
850
+ }
851
+ .label {
852
+ flex-shrink: 0;
853
+ }
854
+ .tag {
855
+ font-weight: var(--font-weight-extra-bold);
856
+ flex-shrink: 0;
857
+ }
858
+ .chevron {
859
+ display: inline-flex;
860
+ align-items: center;
861
+ justify-content: center;
862
+ flex-shrink: 0;
863
+ width: 24px;
864
+ height: 24px;
865
+ transition: transform 200ms ease;
866
+ }
867
+ .chevronOpen {
868
+ transform: rotate(180deg);
869
+ }
870
+ .trigger:focus-visible::after {
871
+ content: "";
872
+ position: absolute;
873
+ inset: -3px;
874
+ border-radius: var(--radius-full);
875
+ border: 2px solid var(--chip-focus-ring-color);
876
+ pointer-events: none;
877
+ }
878
+ .list {
879
+ position: absolute;
880
+ top: calc(100% + 4px);
881
+ left: 0;
882
+ z-index: 10;
883
+ min-width: 100%;
884
+ list-style: none;
885
+ margin: 0;
886
+ padding: var(--spacing-4);
887
+ background: var(--chip-dropdown-list-bg);
888
+ border: 1px solid var(--chip-dropdown-list-border);
889
+ border-radius: var(--radius-md);
890
+ box-shadow: var(--chip-dropdown-list-shadow);
891
+ display: flex;
892
+ flex-direction: column;
893
+ box-sizing: border-box;
894
+ }
895
+ .item {
896
+ display: flex;
897
+ align-items: center;
898
+ gap: 6px;
899
+ height: var(--spacing-32);
900
+ padding: 0 var(--spacing-12);
901
+ border-radius: var(--radius-sm);
902
+ cursor: pointer;
903
+ color: var(--chip-dropdown-item-text);
904
+ font-size: var(--font-size-sm);
905
+ font-family: var(--font-family-base);
906
+ font-weight: var(--font-weight-regular);
907
+ white-space: nowrap;
908
+ box-sizing: border-box;
909
+ transition: background-color 100ms ease;
910
+ list-style: none;
911
+ }
912
+ .item:hover {
913
+ background-color: var(--chip-dropdown-item-hover-bg);
914
+ }
915
+ .item:active {
916
+ background-color: var(--chip-dropdown-item-active-bg);
917
+ }
918
+ .itemLabel {
919
+ flex: 1;
920
+ min-width: 0;
921
+ overflow: hidden;
922
+ text-overflow: ellipsis;
923
+ white-space: nowrap;
924
+ }
925
+ .itemSelected .itemLabel {
926
+ font-weight: var(--font-weight-semi-bold);
927
+ }
928
+ .itemCheck {
929
+ display: inline-flex;
930
+ align-items: center;
931
+ justify-content: center;
932
+ flex-shrink: 0;
933
+ color: var(--chip-dropdown-item-selected-check);
934
+ }
935
+
936
+ /* components/Card/CardPrimaryVariant.module.css */
937
+ .card {
938
+ display: flex;
939
+ flex-direction: column;
940
+ border-radius: var(--radius-2xl);
941
+ overflow: hidden;
942
+ height: 29.5rem;
943
+ position: relative;
944
+ width: 100%;
945
+ }
946
+ .style--light {
947
+ background-color: var(--color-slate-75);
948
+ }
949
+ .style--dark {
950
+ background-color: var(--color-slate-1200);
951
+ }
952
+ .style--brand {
953
+ background-color: var(--color-coral-500);
954
+ }
955
+ .style--image {
956
+ background-color: transparent;
957
+ }
958
+ .content {
959
+ flex: 1 0 0;
960
+ display: flex;
961
+ flex-direction: column;
962
+ gap: var(--spacing-16);
963
+ padding: var(--spacing-32);
964
+ position: relative;
965
+ z-index: 1;
966
+ min-height: 0;
967
+ }
968
+ .textDefault {
969
+ color: var(--color-slate-1200);
970
+ }
971
+ .textInverse {
972
+ color: var(--color-slate-50);
973
+ }
974
+ .title {
975
+ font-family: var(--typography-h5-font-family);
976
+ font-size: var(--typography-h5-font-size);
977
+ font-weight: var(--typography-h5-font-weight);
978
+ line-height: var(--typography-h5-line-height);
979
+ margin: 0;
980
+ width: 100%;
981
+ }
982
+ .description {
983
+ font-family: var(--typography-body-md-font-family);
984
+ font-size: var(--typography-body-md-font-size);
985
+ font-weight: var(--typography-body-md-font-weight);
986
+ line-height: var(--typography-body-md-line-height);
987
+ margin: 0;
988
+ width: 100%;
989
+ }
990
+ .link {
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 {
1015
+ height: 17.5rem;
1016
+ flex-shrink: 0;
1017
+ position: relative;
1018
+ overflow: hidden;
1019
+ }
1020
+ .image {
1021
+ position: absolute;
1022
+ inset: 0;
1023
+ width: 100%;
1024
+ height: 100%;
1025
+ object-fit: cover;
1026
+ display: block;
1027
+ }
1028
+ .imageOverlay {
1029
+ position: absolute;
1030
+ inset: 0;
1031
+ pointer-events: none;
1032
+ z-index: 0;
1033
+ }
1034
+ .overlayImg {
1035
+ position: absolute;
1036
+ inset: 0;
1037
+ width: 100%;
1038
+ height: 100%;
1039
+ object-fit: cover;
1040
+ display: block;
1041
+ }
1042
+ .gradient {
1043
+ position: absolute;
1044
+ inset: 0;
1045
+ background:
1046
+ linear-gradient(
1047
+ to bottom,
1048
+ var(--color-opacity-slate-72) 28%,
1049
+ transparent 54%);
1050
+ }
1051
+
1052
+ /* components/Card/CardSecondaryVariant.module.css */
1053
+ .card {
1054
+ display: flex;
1055
+ flex-direction: column;
1056
+ gap: var(--spacing-16);
1057
+ padding: var(--spacing-32);
1058
+ background-color: var(--color-slate-75);
1059
+ border-radius: var(--radius-2xl);
1060
+ overflow: hidden;
1061
+ width: 100%;
1062
+ box-sizing: border-box;
1063
+ }
1064
+ .icon {
1065
+ display: flex;
1066
+ align-items: center;
1067
+ justify-content: center;
1068
+ width: var(--spacing-32);
1069
+ height: var(--spacing-32);
1070
+ flex-shrink: 0;
1071
+ color: var(--color-slate-1200);
1072
+ }
1073
+ .title {
1074
+ font-family: var(--typography-h5-font-family);
1075
+ font-size: var(--typography-h5-font-size);
1076
+ font-weight: var(--typography-h5-font-weight);
1077
+ line-height: var(--typography-h5-line-height);
1078
+ color: var(--color-slate-1200);
1079
+ margin: 0;
1080
+ width: 100%;
1081
+ }
1082
+ .description {
1083
+ font-family: var(--typography-body-md-font-family);
1084
+ font-size: var(--typography-body-md-font-size);
1085
+ font-weight: var(--typography-body-md-font-weight);
1086
+ line-height: var(--typography-body-md-line-height);
1087
+ color: var(--color-slate-1200);
1088
+ margin: 0;
1089
+ width: 100%;
1090
+ }
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
+
1111
+ /* components/Card/CardThumbnailVariant.module.css */
1112
+ .card {
1113
+ display: flex;
1114
+ flex-direction: column;
1115
+ gap: var(--spacing-24);
1116
+ width: 100%;
1117
+ }
1118
+ .thumbnailWrapper {
1119
+ position: relative;
1120
+ width: 100%;
1121
+ aspect-ratio: 4 / 3;
1122
+ border-radius: var(--radius-2xl);
1123
+ overflow: hidden;
1124
+ flex-shrink: 0;
1125
+ }
1126
+ .thumbnailImage {
1127
+ position: absolute;
1128
+ inset: 0;
1129
+ width: 100%;
1130
+ height: 100%;
1131
+ object-fit: cover;
1132
+ border-radius: inherit;
1133
+ pointer-events: none;
1134
+ display: block;
1135
+ }
1136
+ .playButton {
1137
+ position: absolute;
1138
+ top: 50%;
1139
+ left: 50%;
1140
+ transform: translate(-50%, -50%);
1141
+ display: flex;
1142
+ align-items: center;
1143
+ justify-content: center;
1144
+ width: var(--spacing-80);
1145
+ height: var(--spacing-80);
1146
+ pointer-events: none;
1147
+ }
1148
+ .avatar {
1149
+ position: absolute;
1150
+ bottom: var(--spacing-24);
1151
+ right: var(--spacing-24);
1152
+ width: var(--spacing-72);
1153
+ height: var(--spacing-72);
1154
+ border-radius: var(--radius-full);
1155
+ object-fit: cover;
1156
+ display: block;
1157
+ }
1158
+ .content {
1159
+ display: flex;
1160
+ flex-direction: column;
1161
+ gap: var(--spacing-16);
1162
+ width: 100%;
1163
+ }
1164
+ .metaRow {
1165
+ display: flex;
1166
+ align-items: center;
1167
+ justify-content: space-between;
1168
+ width: 100%;
1169
+ flex-wrap: wrap;
1170
+ gap: var(--spacing-12);
1171
+ }
1172
+ .tagsList {
1173
+ display: flex;
1174
+ align-items: center;
1175
+ gap: var(--spacing-12);
1176
+ flex: 1 0 0;
1177
+ min-width: 0;
1178
+ }
1179
+ .copyLink {
1180
+ display: inline-flex;
1181
+ align-items: center;
1182
+ justify-content: center;
1183
+ height: var(--spacing-32);
1184
+ min-height: var(--spacing-32);
1185
+ max-height: var(--spacing-32);
1186
+ padding: 0 var(--spacing-12);
1187
+ border-radius: var(--radius-full);
1188
+ border: 1px solid var(--tag-outline-border);
1189
+ background: transparent;
1190
+ color: var(--tag-text-color);
1191
+ cursor: pointer;
1192
+ flex-shrink: 0;
1193
+ transition: background-color 100ms ease;
1194
+ }
1195
+ .copyLink:hover {
1196
+ background-color: var(--tag-fill-background);
1197
+ }
1198
+ .title {
1199
+ font-family: var(--typography-h5-font-family);
1200
+ font-size: var(--typography-h5-font-size);
1201
+ font-weight: var(--typography-h5-font-weight);
1202
+ line-height: var(--typography-h5-line-height);
1203
+ color: var(--color-slate-1200);
1204
+ overflow: hidden;
1205
+ text-overflow: ellipsis;
1206
+ margin: 0;
1207
+ }
1208
+ .summary {
1209
+ font-family: var(--typography-body-md-font-family);
1210
+ font-size: var(--typography-body-md-font-size);
1211
+ font-weight: var(--typography-body-md-font-weight);
1212
+ line-height: var(--typography-body-md-line-height);
1213
+ color: var(--color-slate-1200);
1214
+ overflow: hidden;
1215
+ text-overflow: ellipsis;
1216
+ margin: 0;
1217
+ }
1218
+
1219
+ /* primitives/Pagination/Pagination.module.css */
1220
+ .pagination {
1221
+ display: flex;
1222
+ align-items: center;
1223
+ gap: var(--spacing-8);
1224
+ }
1225
+ .pageButton {
1226
+ display: flex;
1227
+ align-items: center;
1228
+ justify-content: center;
1229
+ width: var(--spacing-32);
1230
+ height: var(--spacing-32);
1231
+ flex-shrink: 0;
1232
+ padding: 0;
1233
+ border: none;
1234
+ border-radius: var(--pagination-page-radius);
1235
+ background: transparent;
1236
+ color: var(--pagination-page-text);
1237
+ font-family: var(--font-family-base);
1238
+ font-size: var(--font-size-sm);
1239
+ font-weight: var(--font-weight-regular);
1240
+ line-height: 1.375rem;
1241
+ text-align: center;
1242
+ white-space: nowrap;
1243
+ cursor: pointer;
1244
+ outline: none;
1245
+ box-sizing: border-box;
1246
+ }
1247
+ .pageButton:focus-visible {
1248
+ outline: 2px solid var(--color-blue-600);
1249
+ outline-offset: 2px;
1250
+ }
1251
+ .pageButtonSelected {
1252
+ background: var(--pagination-page-selected-bg);
1253
+ color: var(--pagination-page-selected-text);
1254
+ border-radius: var(--pagination-page-radius);
1255
+ cursor: default;
1256
+ }
1257
+ .ellipsis {
1258
+ display: flex;
1259
+ align-items: center;
1260
+ justify-content: center;
1261
+ width: var(--spacing-32);
1262
+ height: var(--spacing-32);
1263
+ flex-shrink: 0;
1264
+ color: var(--pagination-page-ellipsis-text);
1265
+ font-family: var(--font-family-base);
1266
+ font-size: var(--font-size-sm);
1267
+ font-weight: var(--font-weight-regular);
1268
+ line-height: 1.375rem;
1269
+ user-select: none;
1270
+ }
1271
+ .navButton {
1272
+ display: flex;
1273
+ align-items: center;
1274
+ justify-content: center;
1275
+ width: var(--spacing-32);
1276
+ height: var(--spacing-32);
1277
+ flex-shrink: 0;
1278
+ padding: 0;
1279
+ border: none;
1280
+ border-radius: var(--radius-sm);
1281
+ background: transparent;
1282
+ color: var(--pagination-nav-icon);
1283
+ cursor: pointer;
1284
+ outline: none;
1285
+ box-sizing: border-box;
1286
+ }
1287
+ .navButton:focus-visible {
1288
+ outline: 2px solid var(--color-blue-600);
1289
+ outline-offset: 2px;
1290
+ border-radius: var(--radius-md);
1291
+ }
1292
+ .navButtonDisabled {
1293
+ color: var(--pagination-nav-icon-disabled);
1294
+ cursor: not-allowed;
1295
+ }
1296
+ .navIcon {
1297
+ display: flex;
1298
+ align-items: center;
1299
+ justify-content: center;
1300
+ width: var(--spacing-16);
1301
+ height: var(--spacing-16);
1302
+ flex-shrink: 0;
1303
+ }
1304
+ /*# sourceMappingURL=index.css.map */