@fairfox/polly 0.80.0 → 0.82.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.
@@ -0,0 +1,1589 @@
1
+ /* src/polly-ui/ActionForm.module.css */
2
+ @layer polly-components {
3
+ .form_oqTahQ {
4
+ inline-size: 100%;
5
+ }
6
+
7
+ .form_oqTahQ[aria-busy="true"] {
8
+ opacity: var(--polly-opacity-disabled);
9
+ pointer-events: none;
10
+ }
11
+ }
12
+
13
+ /* src/polly-ui/ActionInput.module.css */
14
+ @layer polly-components {
15
+ .root_-n6UrQ {
16
+ box-sizing: border-box;
17
+ padding: var(--polly-space-sm) var(--polly-space-md);
18
+ font: inherit;
19
+ font-family: var(--polly-font-sans);
20
+ color: var(--polly-text);
21
+ line-height: var(--polly-line-height-base);
22
+ border: var(--polly-border-width-default) solid transparent;
23
+ border-radius: var(--polly-radius-md);
24
+ min-block-size: calc(1.5em + 2 * var(--polly-space-sm) + 2 * var(--polly-border-width-default));
25
+ inline-size: 100%;
26
+ }
27
+
28
+ .view_-n6UrQ {
29
+ cursor: text;
30
+ white-space: pre-wrap;
31
+ word-break: break-word;
32
+ transition: background var(--polly-motion-fast) ease, border-color var(--polly-motion-fast) ease;
33
+ background: none;
34
+ }
35
+
36
+ .view_-n6UrQ:hover {
37
+ background: var(--polly-surface-sunken);
38
+ border-color: var(--polly-border);
39
+ }
40
+
41
+ .edit_-n6UrQ {
42
+ background: var(--polly-surface);
43
+ border-color: var(--polly-border);
44
+ }
45
+
46
+ .placeholder_-n6UrQ {
47
+ color: var(--polly-text-muted);
48
+ font-style: italic;
49
+ }
50
+
51
+ .root_-n6UrQ[data-variant="multi"] {
52
+ field-sizing: content;
53
+ resize: vertical;
54
+ max-block-size: 40em;
55
+ }
56
+ }
57
+
58
+ /* src/polly-ui/Dropdown.module.css */
59
+ @layer polly-components {
60
+ .dropdown_HX48zA {
61
+ position: relative;
62
+ display: inline-block;
63
+ }
64
+
65
+ .trigger_HX48zA {
66
+ display: inline-block;
67
+ }
68
+
69
+ .menu_HX48zA {
70
+ position: fixed;
71
+ inset: unset;
72
+ z-index: var(--polly-z-raised);
73
+ min-width: var(--polly-menu-min-width);
74
+ max-width: var(--polly-menu-max-width);
75
+ padding: var(--polly-space-xs) 0;
76
+ border: var(--polly-border-width-default) solid var(--polly-border);
77
+ border-radius: var(--polly-radius-md);
78
+ background-color: var(--polly-surface);
79
+ box-shadow: var(--polly-shadow-md);
80
+ box-sizing: border-box;
81
+ overflow-y: auto;
82
+ max-height: 280px;
83
+ margin: 0;
84
+ }
85
+ }
86
+
87
+ /* src/polly-ui/Layout.module.css */
88
+ @layer polly-components {
89
+ .layout_QgwWPg {
90
+ --l-cols: none;
91
+ --l-rows: none;
92
+ --l-gap: 0;
93
+ --l-p: 0;
94
+ --l-h: auto;
95
+ --l-mh: auto;
96
+ --l-mis: none;
97
+ --l-ji: stretch;
98
+ --l-ai: start;
99
+ --l-jc: normal;
100
+ --l-ac: normal;
101
+ --l-js: auto;
102
+ --l-as: auto;
103
+ --l-flow: row;
104
+ --l-arows: auto;
105
+ --l-acols: auto;
106
+ --l-col: auto;
107
+ display: grid;
108
+ box-sizing: border-box;
109
+ max-inline-size: var(--l-mis);
110
+ grid-template-columns: var(--l-cols);
111
+ grid-template-rows: var(--l-rows);
112
+ gap: var(--l-gap);
113
+ padding: var(--l-p);
114
+ height: var(--l-h);
115
+ min-height: var(--l-mh);
116
+ justify-items: var(--l-ji);
117
+ align-items: var(--l-ai);
118
+ justify-content: var(--l-jc);
119
+ align-content: var(--l-ac);
120
+ justify-self: var(--l-js);
121
+ align-self: var(--l-as);
122
+ grid-auto-flow: var(--l-flow);
123
+ grid-auto-rows: var(--l-arows);
124
+ grid-auto-columns: var(--l-acols);
125
+ grid-column: var(--l-col);
126
+ inline-size: 100%;
127
+ margin-inline-start: auto;
128
+ margin-inline-end: auto;
129
+ }
130
+
131
+ .inline_QgwWPg {
132
+ display: inline-grid;
133
+ inline-size: auto;
134
+ }
135
+
136
+ @media (max-width: 640px) {
137
+ .stackOnMobile_QgwWPg {
138
+ grid-template-columns: 1fr;
139
+ grid-auto-flow: row;
140
+ grid-column: auto;
141
+ }
142
+ }
143
+ }
144
+
145
+ /* src/polly-ui/Select.module.css */
146
+ @layer polly-components {
147
+ .select_daofbw {
148
+ display: inline-block;
149
+ }
150
+
151
+ .label_daofbw {
152
+ display: block;
153
+ margin-bottom: var(--polly-space-xs);
154
+ font-size: var(--polly-text-sm);
155
+ font-weight: var(--polly-weight-medium);
156
+ color: var(--polly-text-muted);
157
+ }
158
+
159
+ .trigger_daofbw {
160
+ display: inline-flex;
161
+ align-items: center;
162
+ gap: var(--polly-space-sm);
163
+ max-width: min(100%, var(--polly-control-max-width));
164
+ padding: var(--polly-space-sm) var(--polly-space-md);
165
+ border: var(--polly-border-width-default) solid var(--polly-border);
166
+ border-radius: var(--polly-radius-sm);
167
+ background-color: var(--polly-surface);
168
+ font-family: inherit;
169
+ font-size: var(--polly-text-md);
170
+ color: var(--polly-text);
171
+ text-align: start;
172
+ cursor: pointer;
173
+ }
174
+
175
+ .trigger_daofbw:disabled, .trigger_daofbw[aria-disabled="true"] {
176
+ opacity: var(--polly-opacity-disabled);
177
+ cursor: not-allowed;
178
+ }
179
+
180
+ .triggerWide_daofbw {
181
+ min-width: var(--polly-control-min-width-md);
182
+ }
183
+
184
+ .triggerLabel_daofbw {
185
+ white-space: nowrap;
186
+ overflow: hidden;
187
+ text-overflow: ellipsis;
188
+ flex: auto;
189
+ min-width: 0;
190
+ }
191
+
192
+ .caret_daofbw {
193
+ color: var(--polly-caret-color);
194
+ pointer-events: none;
195
+ transition: transform var(--polly-motion-fast) ease;
196
+ flex: none;
197
+ }
198
+
199
+ .caret_daofbw:before {
200
+ content: var(--polly-caret-glyph);
201
+ display: block;
202
+ font-size: var(--polly-caret-size);
203
+ line-height: 1;
204
+ }
205
+
206
+ .trigger_daofbw[data-open="true"] .caret_daofbw {
207
+ transform: rotate(180deg);
208
+ }
209
+
210
+ .placeholder_daofbw {
211
+ color: var(--polly-text-muted);
212
+ }
213
+
214
+ .actions_daofbw {
215
+ padding: var(--polly-space-xs) var(--polly-space-sm);
216
+ border-bottom: var(--polly-border-width-default) solid var(--polly-border);
217
+ }
218
+
219
+ .actionBtn_daofbw {
220
+ display: inline-block;
221
+ padding: var(--polly-space-xs) var(--polly-space-sm);
222
+ border-radius: var(--polly-radius-sm);
223
+ font-family: inherit;
224
+ font-size: var(--polly-text-xs);
225
+ color: var(--polly-accent);
226
+ cursor: pointer;
227
+ text-align: center;
228
+ background: none;
229
+ border: none;
230
+ width: 100%;
231
+ }
232
+
233
+ .actionBtn_daofbw:hover {
234
+ background-color: var(--polly-surface-sunken);
235
+ }
236
+
237
+ .option_daofbw {
238
+ display: block;
239
+ padding: var(--polly-space-sm) var(--polly-space-md);
240
+ font-family: inherit;
241
+ font-size: var(--polly-text-sm);
242
+ color: var(--polly-text);
243
+ text-align: start;
244
+ cursor: pointer;
245
+ white-space: nowrap;
246
+ overflow: hidden;
247
+ text-overflow: ellipsis;
248
+ background: none;
249
+ border: none;
250
+ width: 100%;
251
+ }
252
+
253
+ .option_daofbw:hover {
254
+ background-color: var(--polly-surface-sunken);
255
+ }
256
+
257
+ .optionSelected_daofbw {
258
+ background-color: color-mix(in srgb, var(--polly-accent) 8%, var(--polly-surface));
259
+ }
260
+
261
+ .optionCheck_daofbw {
262
+ accent-color: var(--polly-accent);
263
+ vertical-align: middle;
264
+ pointer-events: none;
265
+ margin-inline-end: var(--polly-space-sm);
266
+ }
267
+ }
268
+
269
+ /* src/polly-ui/Badge.module.css */
270
+ @layer polly-components {
271
+ .badge_cZd0Aw {
272
+ display: inline-block;
273
+ padding: 0 var(--polly-space-sm);
274
+ border-radius: var(--polly-radius-full);
275
+ font-family: inherit;
276
+ font-size: var(--polly-text-xs);
277
+ font-weight: var(--polly-weight-medium);
278
+ white-space: nowrap;
279
+ background-color: var(--polly-surface-sunken);
280
+ color: var(--polly-text-muted);
281
+ line-height: 1.5;
282
+ }
283
+
284
+ .info_cZd0Aw {
285
+ background-color: var(--polly-status-info-bg);
286
+ color: var(--polly-status-info-text);
287
+ }
288
+
289
+ .success_cZd0Aw {
290
+ background-color: var(--polly-status-success-bg);
291
+ color: var(--polly-status-success-text);
292
+ }
293
+
294
+ .warning_cZd0Aw {
295
+ background-color: var(--polly-status-warning-bg);
296
+ color: var(--polly-status-warning-text);
297
+ }
298
+
299
+ .danger_cZd0Aw {
300
+ background-color: var(--polly-status-danger-bg);
301
+ color: var(--polly-status-danger-text);
302
+ }
303
+ }
304
+
305
+ /* src/polly-ui/Button.module.css */
306
+ @layer polly-components {
307
+ .btn_c4HKfA {
308
+ display: inline-block;
309
+ padding: var(--polly-space-sm) var(--polly-space-lg);
310
+ border: var(--polly-border-width-default) solid transparent;
311
+ border-radius: var(--polly-radius-sm);
312
+ font-family: inherit;
313
+ font-size: var(--polly-text-md);
314
+ font-weight: var(--polly-weight-medium);
315
+ text-align: center;
316
+ text-decoration: none;
317
+ cursor: pointer;
318
+ user-select: none;
319
+ box-sizing: border-box;
320
+ transition: background-color var(--polly-motion-fast), border-color var(--polly-motion-fast), color var(--polly-motion-fast);
321
+ line-height: 1.2;
322
+ }
323
+
324
+ .btn_c4HKfA:disabled, .btn_c4HKfA[aria-disabled="true"] {
325
+ opacity: var(--polly-opacity-disabled);
326
+ cursor: not-allowed;
327
+ }
328
+
329
+ .tierPrimary_c4HKfA {
330
+ background-color: var(--polly-accent);
331
+ color: var(--polly-accent-contrast);
332
+ border-color: var(--polly-accent);
333
+ }
334
+
335
+ .tierPrimary_c4HKfA:hover:not(:disabled) {
336
+ background-color: var(--polly-accent-hover);
337
+ border-color: var(--polly-accent-hover);
338
+ }
339
+
340
+ .tierSecondary_c4HKfA {
341
+ background-color: var(--polly-surface-sunken);
342
+ color: var(--polly-text);
343
+ border-color: var(--polly-border);
344
+ }
345
+
346
+ .tierSecondary_c4HKfA:hover:not(:disabled) {
347
+ background-color: color-mix(in srgb, var(--polly-surface-sunken) 80%, var(--polly-text));
348
+ }
349
+
350
+ .tierTertiary_c4HKfA {
351
+ color: var(--polly-text);
352
+ background-color: #0000;
353
+ border-color: #0000;
354
+ }
355
+
356
+ .tierTertiary_c4HKfA:hover:not(:disabled) {
357
+ background-color: var(--polly-surface-sunken);
358
+ }
359
+
360
+ .colorInfo_c4HKfA {
361
+ --btn-accent: var(--polly-accent);
362
+ --btn-accent-text: var(--polly-accent-contrast);
363
+ }
364
+
365
+ .colorSuccess_c4HKfA {
366
+ --btn-accent: var(--polly-success);
367
+ --btn-accent-text: var(--polly-success-contrast);
368
+ }
369
+
370
+ .colorWarning_c4HKfA {
371
+ --btn-accent: var(--polly-warning);
372
+ --btn-accent-text: var(--polly-warning-contrast);
373
+ }
374
+
375
+ .colorDanger_c4HKfA {
376
+ --btn-accent: var(--polly-danger);
377
+ --btn-accent-text: var(--polly-danger-contrast);
378
+ }
379
+
380
+ .tierPrimary_c4HKfA.colorInfo_c4HKfA, .tierPrimary_c4HKfA.colorSuccess_c4HKfA, .tierPrimary_c4HKfA.colorWarning_c4HKfA, .tierPrimary_c4HKfA.colorDanger_c4HKfA {
381
+ background-color: var(--btn-accent);
382
+ border-color: var(--btn-accent);
383
+ color: var(--btn-accent-text);
384
+ }
385
+
386
+ .tierSecondary_c4HKfA.colorInfo_c4HKfA, .tierSecondary_c4HKfA.colorSuccess_c4HKfA, .tierSecondary_c4HKfA.colorWarning_c4HKfA, .tierSecondary_c4HKfA.colorDanger_c4HKfA {
387
+ color: var(--btn-accent);
388
+ border-color: var(--btn-accent);
389
+ }
390
+
391
+ .tierTertiary_c4HKfA.colorInfo_c4HKfA, .tierTertiary_c4HKfA.colorSuccess_c4HKfA, .tierTertiary_c4HKfA.colorWarning_c4HKfA, .tierTertiary_c4HKfA.colorDanger_c4HKfA {
392
+ color: var(--btn-accent);
393
+ }
394
+
395
+ .btnSmall_c4HKfA {
396
+ padding: var(--polly-space-xs) var(--polly-space-md);
397
+ font-size: var(--polly-text-sm);
398
+ }
399
+
400
+ .btnLarge_c4HKfA {
401
+ padding: var(--polly-space-md) var(--polly-space-xl);
402
+ font-size: var(--polly-text-lg);
403
+ }
404
+
405
+ .btnCircle_c4HKfA {
406
+ border-radius: var(--polly-radius-full);
407
+ aspect-ratio: 1;
408
+ width: var(--polly-control-height-md);
409
+ padding: 0;
410
+ }
411
+
412
+ .btnFullWidth_c4HKfA {
413
+ width: 100%;
414
+ }
415
+
416
+ .btnBounded_c4HKfA {
417
+ max-width: var(--polly-control-max-width);
418
+ overflow: hidden;
419
+ text-overflow: ellipsis;
420
+ white-space: nowrap;
421
+ }
422
+ }
423
+
424
+ /* src/polly-ui/Surface.module.css */
425
+ @layer polly-components {
426
+ .surface_pQCFqA {
427
+ --s-p: 0;
428
+ --s-bg: transparent;
429
+ --s-radius: 0;
430
+ --s-border-color: transparent;
431
+ --s-border-width: 0;
432
+ --s-border-style: solid;
433
+ --s-shadow: none;
434
+ --s-w: auto;
435
+ --s-h: auto;
436
+ --s-mh: auto;
437
+ --s-maxh: none;
438
+ --s-mis: none;
439
+ --s-overflow: visible;
440
+ --s-position: static;
441
+ --s-inset: auto;
442
+ --s-transform: none;
443
+ --s-z: auto;
444
+ --s-pe: auto;
445
+ box-sizing: border-box;
446
+ padding: var(--s-p);
447
+ background: var(--s-bg);
448
+ border-style: var(--s-border-style);
449
+ border-color: var(--s-border-color);
450
+ border-width: var(--s-border-width);
451
+ border-radius: var(--s-radius);
452
+ box-shadow: var(--s-shadow);
453
+ inline-size: var(--s-w);
454
+ block-size: var(--s-h);
455
+ min-block-size: var(--s-mh);
456
+ max-block-size: var(--s-maxh);
457
+ max-inline-size: var(--s-mis);
458
+ overflow: var(--s-overflow);
459
+ position: var(--s-position);
460
+ inset: var(--s-inset);
461
+ transform: var(--s-transform);
462
+ z-index: var(--s-z);
463
+ pointer-events: var(--s-pe);
464
+ }
465
+
466
+ .inline_pQCFqA {
467
+ display: inline-block;
468
+ inline-size: auto;
469
+ }
470
+
471
+ .sides-block-start_pQCFqA {
472
+ border-style: none;
473
+ border-block-start-style: var(--s-border-style);
474
+ }
475
+
476
+ .sides-block-end_pQCFqA {
477
+ border-style: none;
478
+ border-block-end-style: var(--s-border-style);
479
+ }
480
+
481
+ .sides-inline-start_pQCFqA {
482
+ border-style: none;
483
+ border-inline-start-style: var(--s-border-style);
484
+ }
485
+
486
+ .sides-inline-end_pQCFqA {
487
+ border-style: none;
488
+ border-inline-end-style: var(--s-border-style);
489
+ }
490
+
491
+ .sides-block_pQCFqA {
492
+ border-style: none;
493
+ border-block-style: var(--s-border-style);
494
+ }
495
+
496
+ .sides-inline_pQCFqA {
497
+ border-style: none;
498
+ border-inline-style: var(--s-border-style);
499
+ }
500
+ }
501
+
502
+ /* src/polly-ui/Checkbox.module.css */
503
+ @layer polly-components {
504
+ .checkbox_EKE5sg {
505
+ display: inline-block;
506
+ cursor: pointer;
507
+ font-family: inherit;
508
+ font-size: var(--polly-text-md);
509
+ color: var(--polly-text);
510
+ user-select: none;
511
+ }
512
+
513
+ .disabled_EKE5sg {
514
+ opacity: var(--polly-opacity-disabled);
515
+ cursor: not-allowed;
516
+ }
517
+
518
+ .input_EKE5sg {
519
+ accent-color: var(--polly-accent);
520
+ vertical-align: middle;
521
+ cursor: inherit;
522
+ margin: 0;
523
+ }
524
+
525
+ .label_EKE5sg {
526
+ vertical-align: middle;
527
+ margin-inline-start: var(--polly-space-sm);
528
+ }
529
+ }
530
+
531
+ /* src/polly-ui/Cluster.module.css */
532
+ @layer polly-components {
533
+ .cluster_pNLz5g {
534
+ --c-gap: 0;
535
+ --c-p: 0;
536
+ --c-jc: flex-start;
537
+ --c-ai: center;
538
+ display: flex;
539
+ box-sizing: border-box;
540
+ gap: var(--c-gap);
541
+ padding: var(--c-p);
542
+ justify-content: var(--c-jc);
543
+ align-items: var(--c-ai);
544
+ flex-wrap: wrap;
545
+ }
546
+
547
+ .inline_pNLz5g {
548
+ display: inline-flex;
549
+ }
550
+ }
551
+
552
+ /* src/polly-ui/Code.module.css */
553
+ @layer polly-components {
554
+ .code_Vc8yiw {
555
+ font-family: var(--polly-font-mono);
556
+ font-size: var(--polly-text-sm);
557
+ padding: .1em var(--polly-space-xs);
558
+ border-radius: var(--polly-radius-sm);
559
+ background-color: var(--polly-surface-sunken);
560
+ color: var(--polly-text);
561
+ word-break: break-word;
562
+ }
563
+
564
+ .block_Vc8yiw {
565
+ padding: var(--polly-space-md);
566
+ border-radius: var(--polly-radius-md);
567
+ background-color: var(--polly-surface-sunken);
568
+ overflow-x: auto;
569
+ margin: 0;
570
+ }
571
+
572
+ .block_Vc8yiw code {
573
+ font-family: var(--polly-font-mono);
574
+ font-size: var(--polly-text-sm);
575
+ color: var(--polly-text);
576
+ white-space: pre;
577
+ }
578
+ }
579
+
580
+ /* src/polly-ui/Collapsible.module.css */
581
+ @layer polly-components {
582
+ .collapsible_sEhnPw {
583
+ border: var(--polly-border-width-default) solid var(--polly-border);
584
+ border-radius: var(--polly-radius-md);
585
+ overflow: hidden;
586
+ }
587
+
588
+ .summary_sEhnPw {
589
+ padding: var(--polly-space-sm) var(--polly-space-md);
590
+ cursor: pointer;
591
+ font-family: inherit;
592
+ font-size: var(--polly-text-md);
593
+ font-weight: var(--polly-weight-medium);
594
+ color: var(--polly-text);
595
+ background-color: var(--polly-surface-sunken);
596
+ user-select: none;
597
+ list-style: none;
598
+ }
599
+
600
+ .summary_sEhnPw::-webkit-details-marker {
601
+ display: none;
602
+ }
603
+
604
+ .summary_sEhnPw:before {
605
+ content: "▶";
606
+ display: inline-block;
607
+ font-size: var(--polly-text-xs);
608
+ transition: transform var(--polly-motion-fast);
609
+ margin-inline-end: var(--polly-space-sm);
610
+ }
611
+
612
+ [dir="rtl"] .summary_sEhnPw:before {
613
+ transform: scaleX(-1);
614
+ }
615
+
616
+ .collapsible_sEhnPw[open] > .summary_sEhnPw:before {
617
+ transform: rotate(90deg);
618
+ }
619
+
620
+ [dir="rtl"] .collapsible_sEhnPw[open] > .summary_sEhnPw:before {
621
+ transform: rotate(-90deg);
622
+ }
623
+
624
+ .summary_sEhnPw:hover {
625
+ background-color: var(--polly-surface-raised);
626
+ }
627
+
628
+ .content_sEhnPw {
629
+ padding: var(--polly-space-md);
630
+ color: var(--polly-text);
631
+ }
632
+ }
633
+
634
+ /* src/polly-ui/ConfirmDialog.module.css */
635
+ @layer polly-components {
636
+ .actions_ZfTX4A {
637
+ display: grid;
638
+ grid-auto-flow: column;
639
+ gap: var(--polly-space-sm);
640
+ justify-content: end;
641
+ }
642
+
643
+ .cancel_ZfTX4A, .confirm_ZfTX4A, .confirmDanger_ZfTX4A {
644
+ appearance: none;
645
+ padding: var(--polly-space-sm) var(--polly-space-lg);
646
+ font: inherit;
647
+ font-weight: var(--polly-weight-medium);
648
+ border: var(--polly-border-width-default) solid var(--polly-border);
649
+ border-radius: var(--polly-radius-md);
650
+ cursor: pointer;
651
+ transition: background var(--polly-motion-fast) ease;
652
+ }
653
+
654
+ .cancel_ZfTX4A {
655
+ background: var(--polly-surface);
656
+ color: var(--polly-text);
657
+ }
658
+
659
+ .cancel_ZfTX4A:hover {
660
+ background: var(--polly-surface-sunken);
661
+ }
662
+
663
+ .confirm_ZfTX4A {
664
+ background: var(--polly-accent);
665
+ color: var(--polly-accent-contrast);
666
+ border-color: var(--polly-accent);
667
+ }
668
+
669
+ .confirm_ZfTX4A:hover {
670
+ filter: brightness(1.05);
671
+ }
672
+
673
+ .confirmDanger_ZfTX4A {
674
+ background: var(--polly-danger);
675
+ color: var(--polly-danger-contrast);
676
+ border-color: var(--polly-danger);
677
+ }
678
+
679
+ .confirmDanger_ZfTX4A:hover {
680
+ filter: brightness(1.05);
681
+ }
682
+ }
683
+
684
+ /* src/polly-ui/Modal.module.css */
685
+ @layer polly-components {
686
+ .container_fLMrWA {
687
+ position: fixed;
688
+ display: grid;
689
+ pointer-events: none;
690
+ place-items: center;
691
+ inset: 0;
692
+ }
693
+
694
+ .backdrop_fLMrWA {
695
+ position: absolute;
696
+ background: color-mix(in srgb, var(--polly-text) 50%, transparent);
697
+ pointer-events: auto;
698
+ inset: 0;
699
+ }
700
+
701
+ .surface_fLMrWA {
702
+ pointer-events: auto;
703
+ color: var(--polly-text);
704
+ max-inline-size: min(640px, calc(100vw - 2 * var(--polly-space-lg)));
705
+ max-block-size: calc(100vh - 2 * var(--polly-space-lg));
706
+ overflow: auto;
707
+ }
708
+
709
+ .header_fLMrWA {
710
+ padding: var(--polly-space-lg);
711
+ border-block-end: var(--polly-border-width-default) solid var(--polly-border);
712
+ }
713
+
714
+ .title_fLMrWA {
715
+ font-size: var(--polly-text-xl);
716
+ font-weight: var(--polly-weight-bold);
717
+ line-height: var(--polly-line-height-tight);
718
+ margin: 0;
719
+ }
720
+
721
+ .body_fLMrWA {
722
+ padding: var(--polly-space-lg);
723
+ }
724
+
725
+ .footer_fLMrWA {
726
+ padding: var(--polly-space-lg);
727
+ border-block-start: var(--polly-border-width-default) solid var(--polly-border);
728
+ }
729
+
730
+ .close_fLMrWA {
731
+ appearance: none;
732
+ color: var(--polly-text);
733
+ border: var(--polly-border-width-default) solid transparent;
734
+ border-radius: var(--polly-radius-md);
735
+ padding: var(--polly-space-sm) var(--polly-space-md);
736
+ font: inherit;
737
+ cursor: pointer;
738
+ transition: background var(--polly-motion-fast) ease, border-color var(--polly-motion-fast) ease;
739
+ background: none;
740
+ }
741
+
742
+ .close_fLMrWA:hover {
743
+ background: var(--polly-surface-sunken);
744
+ border-color: var(--polly-border);
745
+ }
746
+ }
747
+
748
+ /* src/polly-ui/OverlayRoot.module.css */
749
+ @layer polly-components {
750
+ .root_CqRu1Q {
751
+ position: fixed;
752
+ pointer-events: none;
753
+ inset: 0;
754
+ }
755
+ }
756
+
757
+ /* src/polly-ui/FileInput.module.css */
758
+ @layer polly-components {
759
+ .fileInput_esO1fA {
760
+ display: inline-flex;
761
+ align-items: center;
762
+ gap: var(--polly-space-sm);
763
+ min-block-size: var(--polly-control-height-md);
764
+ padding: var(--polly-space-sm) var(--polly-space-md);
765
+ border: var(--polly-border-width-default) solid var(--polly-border);
766
+ border-radius: var(--polly-radius-sm);
767
+ background-color: var(--polly-surface);
768
+ font-family: inherit;
769
+ font-size: var(--polly-text-md);
770
+ color: var(--polly-text);
771
+ cursor: pointer;
772
+ }
773
+
774
+ .fileInput_esO1fA:hover {
775
+ background-color: var(--polly-surface-sunken);
776
+ }
777
+
778
+ .fileInput_esO1fA:focus-within {
779
+ outline: var(--polly-border-width-medium) solid var(--polly-focus-ring);
780
+ outline-offset: var(--polly-border-width-medium);
781
+ }
782
+
783
+ .native_esO1fA {
784
+ position: absolute;
785
+ overflow: hidden;
786
+ clip: rect(0 0 0 0);
787
+ white-space: nowrap;
788
+ border: 0;
789
+ width: 1px;
790
+ height: 1px;
791
+ margin: -1px;
792
+ padding: 0;
793
+ }
794
+
795
+ .disabled_esO1fA {
796
+ opacity: var(--polly-opacity-disabled);
797
+ cursor: not-allowed;
798
+ }
799
+ }
800
+
801
+ /* src/polly-ui/Link.module.css */
802
+ @layer polly-components {
803
+ .link__T-0-w {
804
+ color: var(--polly-accent);
805
+ text-decoration: underline;
806
+ text-underline-offset: .15em;
807
+ border-radius: var(--polly-radius-sm);
808
+ cursor: pointer;
809
+ }
810
+
811
+ .link__T-0-w:hover {
812
+ color: var(--polly-accent-hover);
813
+ }
814
+
815
+ .subtle__T-0-w {
816
+ text-decoration: none;
817
+ }
818
+
819
+ .subtle__T-0-w:hover {
820
+ text-decoration: underline;
821
+ }
822
+ }
823
+
824
+ /* src/polly-ui/Output.module.css */
825
+ @layer polly-components {
826
+ .output_wLrUbA {
827
+ padding: var(--polly-space-md);
828
+ border: var(--polly-border-width-default) solid var(--polly-border);
829
+ border-radius: var(--polly-radius-md);
830
+ background-color: var(--polly-surface-sunken);
831
+ font-family: var(--polly-font-mono);
832
+ font-size: var(--polly-text-sm);
833
+ color: var(--polly-text);
834
+ white-space: pre-wrap;
835
+ overflow-wrap: anywhere;
836
+ max-inline-size: 100%;
837
+ margin: 0;
838
+ }
839
+
840
+ .scroll_wLrUbA {
841
+ white-space: pre;
842
+ overflow-wrap: normal;
843
+ overflow-x: auto;
844
+ }
845
+ }
846
+
847
+ /* src/polly-ui/Skeleton.module.css */
848
+ @layer polly-components {
849
+ @keyframes pollyShimmer_gpBHJA {
850
+ 0% {
851
+ background-position: -200% 0;
852
+ }
853
+
854
+ 100% {
855
+ background-position: 200% 0;
856
+ }
857
+ }
858
+
859
+ .skeleton_Jrgo0g {
860
+ display: inline-block;
861
+ background: linear-gradient(90deg, var(--polly-surface-sunken) 25%, var(--polly-surface-raised) 50%, var(--polly-surface-sunken) 75%);
862
+ animation: pollyShimmer 1.5s infinite linear;
863
+ border-radius: var(--polly-radius-sm);
864
+ background-size: 200% 100%;
865
+ }
866
+
867
+ .text_Jrgo0g {
868
+ width: 100%;
869
+ height: 1em;
870
+ }
871
+
872
+ .rect_Jrgo0g {
873
+ width: 100%;
874
+ height: 100px;
875
+ }
876
+
877
+ .circle_Jrgo0g {
878
+ border-radius: var(--polly-radius-full);
879
+ width: 40px;
880
+ height: 40px;
881
+ }
882
+ }
883
+
884
+ /* src/polly-ui/Tabs.module.css */
885
+ @layer polly-components {
886
+ .tabs_xKO6GA {
887
+ overflow-x: auto;
888
+ scrollbar-width: none;
889
+ border-bottom: var(--polly-border-width-default) solid var(--polly-border);
890
+ }
891
+
892
+ .tabs_xKO6GA::-webkit-scrollbar {
893
+ display: none;
894
+ }
895
+
896
+ .tab_xKO6GA {
897
+ display: inline-block;
898
+ padding: var(--polly-space-sm) var(--polly-space-lg);
899
+ border: none;
900
+ border-bottom: var(--polly-border-width-medium) solid transparent;
901
+ font-family: inherit;
902
+ font-size: var(--polly-text-sm);
903
+ font-weight: var(--polly-weight-medium);
904
+ color: var(--polly-text-muted);
905
+ cursor: pointer;
906
+ white-space: nowrap;
907
+ transition: color var(--polly-motion-fast), border-color var(--polly-motion-fast);
908
+ background: none;
909
+ }
910
+
911
+ .tab_xKO6GA:hover:not(:disabled) {
912
+ color: var(--polly-text);
913
+ }
914
+
915
+ .tab_xKO6GA:disabled {
916
+ opacity: var(--polly-opacity-disabled);
917
+ cursor: not-allowed;
918
+ }
919
+
920
+ .active_xKO6GA {
921
+ color: var(--polly-accent);
922
+ border-bottom-color: var(--polly-accent);
923
+ }
924
+ }
925
+
926
+ /* src/polly-ui/Text.module.css */
927
+ @layer polly-components {
928
+ .text_75HKdQ {
929
+ color: var(--polly-text);
930
+ font-family: inherit;
931
+ }
932
+
933
+ .muted_75HKdQ {
934
+ color: var(--polly-text-muted);
935
+ }
936
+
937
+ .danger_75HKdQ {
938
+ color: var(--polly-status-danger-text);
939
+ }
940
+
941
+ .warning_75HKdQ {
942
+ color: var(--polly-status-warning-text);
943
+ }
944
+
945
+ .success_75HKdQ {
946
+ color: var(--polly-status-success-text);
947
+ }
948
+
949
+ .italic_75HKdQ {
950
+ font-style: italic;
951
+ }
952
+
953
+ .strikethrough_75HKdQ {
954
+ text-decoration: line-through;
955
+ }
956
+
957
+ .tight_75HKdQ {
958
+ line-height: var(--polly-line-height-tight);
959
+ }
960
+
961
+ .base_75HKdQ {
962
+ line-height: var(--polly-line-height-base);
963
+ }
964
+
965
+ .loose_75HKdQ {
966
+ line-height: var(--polly-line-height-loose);
967
+ }
968
+
969
+ .xs_75HKdQ {
970
+ font-size: var(--polly-text-xs);
971
+ }
972
+
973
+ .sm_75HKdQ {
974
+ font-size: var(--polly-text-sm);
975
+ }
976
+
977
+ .md_75HKdQ {
978
+ font-size: var(--polly-text-md);
979
+ }
980
+
981
+ .lg_75HKdQ {
982
+ font-size: var(--polly-text-lg);
983
+ }
984
+
985
+ .xl_75HKdQ {
986
+ font-size: var(--polly-text-xl);
987
+ }
988
+
989
+ .normal_75HKdQ {
990
+ font-weight: var(--polly-weight-normal);
991
+ }
992
+
993
+ .medium_75HKdQ {
994
+ font-weight: var(--polly-weight-medium);
995
+ }
996
+
997
+ .bold_75HKdQ {
998
+ font-weight: var(--polly-weight-bold);
999
+ }
1000
+ }
1001
+
1002
+ /* src/polly-ui/TextInput.module.css */
1003
+ @layer polly-components {
1004
+ .input_ez4_Vg {
1005
+ box-sizing: border-box;
1006
+ padding: var(--polly-space-sm) var(--polly-space-md);
1007
+ font: inherit;
1008
+ font-family: var(--polly-font-sans);
1009
+ color: var(--polly-text);
1010
+ background: var(--polly-surface);
1011
+ border: var(--polly-border-width-default) solid var(--polly-border);
1012
+ border-radius: var(--polly-radius-md);
1013
+ transition: border-color var(--polly-motion-fast) ease, background var(--polly-motion-fast) ease;
1014
+ inline-size: 100%;
1015
+ }
1016
+
1017
+ .input_ez4_Vg:hover {
1018
+ border-color: var(--polly-border-strong);
1019
+ }
1020
+
1021
+ .input_ez4_Vg[data-state="invalid"] {
1022
+ border-color: var(--polly-danger);
1023
+ }
1024
+
1025
+ .input_ez4_Vg:disabled {
1026
+ opacity: var(--polly-opacity-disabled);
1027
+ cursor: not-allowed;
1028
+ }
1029
+
1030
+ .input_ez4_Vg[data-polly-input-variant="multi"] {
1031
+ field-sizing: content;
1032
+ min-block-size: calc(1.5em + 2 * var(--polly-space-sm) + 2 * var(--polly-border-width-default));
1033
+ resize: vertical;
1034
+ max-block-size: 40em;
1035
+ }
1036
+
1037
+ .field_ez4_Vg {
1038
+ display: grid;
1039
+ gap: var(--polly-space-xs);
1040
+ }
1041
+
1042
+ .error_ez4_Vg {
1043
+ font-size: var(--polly-text-sm);
1044
+ color: var(--polly-danger);
1045
+ }
1046
+ }
1047
+
1048
+ /* src/polly-ui/Toast.module.css */
1049
+ @layer polly-components {
1050
+ .viewport_xVzRuA {
1051
+ display: grid;
1052
+ gap: var(--polly-space-sm);
1053
+ }
1054
+
1055
+ .item_xVzRuA {
1056
+ display: grid;
1057
+ grid-template-columns: 1fr auto;
1058
+ gap: var(--polly-space-md);
1059
+ color: var(--polly-text);
1060
+ align-items: center;
1061
+ min-inline-size: 16em;
1062
+ max-inline-size: 28em;
1063
+ }
1064
+
1065
+ .item_xVzRuA[data-severity="error"] {
1066
+ --polly-border: var(--polly-danger);
1067
+ }
1068
+
1069
+ .item_xVzRuA[data-severity="warning"] {
1070
+ --polly-border: var(--polly-warning);
1071
+ }
1072
+
1073
+ .message_xVzRuA {
1074
+ font-size: var(--polly-text-md);
1075
+ line-height: var(--polly-line-height-base);
1076
+ }
1077
+
1078
+ .close_xVzRuA {
1079
+ appearance: none;
1080
+ color: inherit;
1081
+ border: var(--polly-border-width-default) solid transparent;
1082
+ border-radius: var(--polly-radius-sm);
1083
+ padding: var(--polly-space-xs) var(--polly-space-sm);
1084
+ font: inherit;
1085
+ cursor: pointer;
1086
+ background: none;
1087
+ }
1088
+
1089
+ .close_xVzRuA:hover {
1090
+ background: var(--polly-surface-sunken);
1091
+ }
1092
+ }
1093
+
1094
+ /* src/polly-ui/Toggle.module.css */
1095
+ @layer polly-components {
1096
+ .toggle_rnf-SQ {
1097
+ display: inline-block;
1098
+ cursor: pointer;
1099
+ font-family: inherit;
1100
+ font-size: var(--polly-text-md);
1101
+ color: var(--polly-text);
1102
+ user-select: none;
1103
+ vertical-align: middle;
1104
+ }
1105
+
1106
+ .disabled_rnf-SQ {
1107
+ opacity: var(--polly-opacity-disabled);
1108
+ cursor: not-allowed;
1109
+ }
1110
+
1111
+ .input_rnf-SQ {
1112
+ position: absolute;
1113
+ overflow: hidden;
1114
+ clip: rect(0, 0, 0, 0);
1115
+ white-space: nowrap;
1116
+ border: 0;
1117
+ width: 1px;
1118
+ height: 1px;
1119
+ margin: -1px;
1120
+ padding: 0;
1121
+ }
1122
+
1123
+ .track_rnf-SQ {
1124
+ display: inline-block;
1125
+ position: relative;
1126
+ border-radius: var(--polly-radius-full);
1127
+ background-color: var(--polly-border);
1128
+ vertical-align: middle;
1129
+ transition: background-color var(--polly-motion-fast);
1130
+ width: 36px;
1131
+ height: 20px;
1132
+ }
1133
+
1134
+ .trackChecked_rnf-SQ {
1135
+ background-color: var(--polly-accent);
1136
+ }
1137
+
1138
+ .thumb_rnf-SQ {
1139
+ display: block;
1140
+ position: absolute;
1141
+ border-radius: var(--polly-radius-full);
1142
+ background-color: var(--polly-accent-contrast);
1143
+ transition: transform var(--polly-motion-fast);
1144
+ width: 16px;
1145
+ height: 16px;
1146
+ top: 2px;
1147
+ left: 2px;
1148
+ }
1149
+
1150
+ [dir="rtl"] .thumb_rnf-SQ {
1151
+ left: auto;
1152
+ right: 2px;
1153
+ }
1154
+
1155
+ .thumbChecked_rnf-SQ {
1156
+ transform: translateX(16px);
1157
+ }
1158
+
1159
+ [dir="rtl"] .thumbChecked_rnf-SQ {
1160
+ transform: translateX(-16px);
1161
+ }
1162
+
1163
+ .label_rnf-SQ {
1164
+ vertical-align: middle;
1165
+ margin-inline-start: var(--polly-space-sm);
1166
+ }
1167
+ }
1168
+
1169
+ /* src/polly-ui/theme.css */
1170
+ @layer polly-defaults {
1171
+ :root {
1172
+ --polly-surface: #fff;
1173
+ --polly-surface-raised: #fff;
1174
+ --polly-surface-sunken: #f4f5f7;
1175
+ --polly-border: #d9dbe0;
1176
+ --polly-border-strong: #9fa3ab;
1177
+ --polly-text: #111418;
1178
+ --polly-text-muted: #5a5f67;
1179
+ --polly-accent: #2451b5;
1180
+ --polly-accent-contrast: #fff;
1181
+ --polly-accent-hover: #1b3e8c;
1182
+ --polly-danger: #b3261e;
1183
+ --polly-danger-contrast: #fff;
1184
+ --polly-success: #1f6f43;
1185
+ --polly-success-contrast: #fff;
1186
+ --polly-warning: #8a5a00;
1187
+ --polly-warning-contrast: #fff;
1188
+ --polly-status-info-bg: #eff6ff;
1189
+ --polly-status-info-text: #1e40af;
1190
+ --polly-status-success-bg: #f0fdf4;
1191
+ --polly-status-success-text: #166534;
1192
+ --polly-status-warning-bg: #fefce8;
1193
+ --polly-status-warning-text: #854d0e;
1194
+ --polly-status-danger-bg: #fef2f2;
1195
+ --polly-status-danger-text: #991b1b;
1196
+ --polly-focus-ring: #2451b5;
1197
+ --polly-space-xs: 4px;
1198
+ --polly-space-sm: 8px;
1199
+ --polly-space-md: 12px;
1200
+ --polly-space-lg: 16px;
1201
+ --polly-space-xl: 24px;
1202
+ --polly-radius-sm: 4px;
1203
+ --polly-radius-md: 8px;
1204
+ --polly-radius-lg: 12px;
1205
+ --polly-radius-full: 9999px;
1206
+ --polly-measure-prose: 68ch;
1207
+ --polly-measure-page: 1040px;
1208
+ --polly-control-height-sm: 1.75rem;
1209
+ --polly-control-height-md: 2.25rem;
1210
+ --polly-control-height-lg: 2.75rem;
1211
+ --polly-control-min-width-sm: 6rem;
1212
+ --polly-control-min-width-md: 9rem;
1213
+ --polly-control-min-width-lg: 12rem;
1214
+ --polly-control-max-width: 20rem;
1215
+ --polly-menu-min-width: 10rem;
1216
+ --polly-menu-max-width: 24rem;
1217
+ --polly-caret-glyph: "▾";
1218
+ --polly-caret-size: var(--polly-text-xl);
1219
+ --polly-caret-color: var(--polly-text-muted);
1220
+ --polly-motion-fast: .12s;
1221
+ --polly-motion-base: .2s;
1222
+ --polly-motion-slow: .32s;
1223
+ --polly-font-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
1224
+ --polly-font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, "Cascadia Mono", monospace;
1225
+ --polly-text-xs: .75em;
1226
+ --polly-text-sm: .875em;
1227
+ --polly-text-md: 1em;
1228
+ --polly-text-lg: 1.125em;
1229
+ --polly-text-xl: 1.375em;
1230
+ --polly-text-2xl: 1.75em;
1231
+ --polly-text-3xl: 2.25em;
1232
+ --polly-weight-normal: 400;
1233
+ --polly-weight-medium: 500;
1234
+ --polly-weight-bold: 700;
1235
+ --polly-line-height-tight: 1.25;
1236
+ --polly-line-height-heading: 1.15;
1237
+ --polly-line-height-base: 1.5;
1238
+ --polly-line-height-loose: 1.7;
1239
+ --polly-z-base: 0;
1240
+ --polly-z-raised: 10;
1241
+ --polly-z-overlay: 1000;
1242
+ --polly-z-toast: 2000;
1243
+ --polly-opacity-disabled: .55;
1244
+ --polly-border-width-default: 1px;
1245
+ --polly-border-width-medium: 2px;
1246
+ --polly-border-width-thick: 4px;
1247
+ --polly-shadow-sm: 0 1px 2px #0000000f;
1248
+ --polly-shadow-md: 0 4px 12px #0000001a;
1249
+ --polly-shadow-lg: 0 12px 32px #00000029;
1250
+ }
1251
+
1252
+ @media (prefers-color-scheme: dark) {
1253
+ :root {
1254
+ --polly-surface: #14171c;
1255
+ --polly-surface-raised: #1c2027;
1256
+ --polly-surface-sunken: #0f1216;
1257
+ --polly-border: #30353d;
1258
+ --polly-border-strong: #5a6069;
1259
+ --polly-text: #eef0f3;
1260
+ --polly-text-muted: #a7adb5;
1261
+ --polly-accent: #6c95ff;
1262
+ --polly-accent-contrast: #0b1020;
1263
+ --polly-accent-hover: #8badff;
1264
+ --polly-danger: #ff8680;
1265
+ --polly-danger-contrast: #0b1020;
1266
+ --polly-success: #63c18a;
1267
+ --polly-success-contrast: #0b1020;
1268
+ --polly-warning: #f2c269;
1269
+ --polly-warning-contrast: #0b1020;
1270
+ --polly-status-info-bg: #1e3a5f;
1271
+ --polly-status-info-text: #93c5fd;
1272
+ --polly-status-success-bg: #14532d;
1273
+ --polly-status-success-text: #86efac;
1274
+ --polly-status-warning-bg: #713f12;
1275
+ --polly-status-warning-text: #fde68a;
1276
+ --polly-status-danger-bg: #7f1d1d;
1277
+ --polly-status-danger-text: #fecaca;
1278
+ --polly-focus-ring: #6c95ff;
1279
+ --polly-shadow-sm: 0 1px 2px #00000080;
1280
+ --polly-shadow-md: 0 4px 12px #0009;
1281
+ --polly-shadow-lg: 0 12px 32px #000000b3;
1282
+ }
1283
+ }
1284
+
1285
+ [data-polly-theme="light"] {
1286
+ --polly-surface: #fff;
1287
+ --polly-surface-raised: #fff;
1288
+ --polly-surface-sunken: #f4f5f7;
1289
+ --polly-border: #d9dbe0;
1290
+ --polly-border-strong: #9fa3ab;
1291
+ --polly-text: #111418;
1292
+ --polly-text-muted: #5a5f67;
1293
+ --polly-accent: #2451b5;
1294
+ --polly-accent-contrast: #fff;
1295
+ --polly-accent-hover: #1b3e8c;
1296
+ --polly-danger: #b3261e;
1297
+ --polly-danger-contrast: #fff;
1298
+ --polly-success: #1f6f43;
1299
+ --polly-success-contrast: #fff;
1300
+ --polly-warning: #8a5a00;
1301
+ --polly-warning-contrast: #fff;
1302
+ --polly-status-info-bg: #eff6ff;
1303
+ --polly-status-info-text: #1e40af;
1304
+ --polly-status-success-bg: #f0fdf4;
1305
+ --polly-status-success-text: #166534;
1306
+ --polly-status-warning-bg: #fefce8;
1307
+ --polly-status-warning-text: #854d0e;
1308
+ --polly-status-danger-bg: #fef2f2;
1309
+ --polly-status-danger-text: #991b1b;
1310
+ --polly-focus-ring: #2451b5;
1311
+ --polly-shadow-sm: 0 1px 2px #0000000f;
1312
+ --polly-shadow-md: 0 4px 12px #0000001a;
1313
+ --polly-shadow-lg: 0 12px 32px #00000029;
1314
+ }
1315
+
1316
+ [data-polly-theme="dark"] {
1317
+ --polly-surface: #14171c;
1318
+ --polly-surface-raised: #1c2027;
1319
+ --polly-surface-sunken: #0f1216;
1320
+ --polly-border: #30353d;
1321
+ --polly-border-strong: #5a6069;
1322
+ --polly-text: #eef0f3;
1323
+ --polly-text-muted: #a7adb5;
1324
+ --polly-accent: #6c95ff;
1325
+ --polly-accent-contrast: #0b1020;
1326
+ --polly-accent-hover: #8badff;
1327
+ --polly-danger: #ff8680;
1328
+ --polly-danger-contrast: #0b1020;
1329
+ --polly-success: #63c18a;
1330
+ --polly-success-contrast: #0b1020;
1331
+ --polly-warning: #f2c269;
1332
+ --polly-warning-contrast: #0b1020;
1333
+ --polly-status-info-bg: #1e3a5f;
1334
+ --polly-status-info-text: #93c5fd;
1335
+ --polly-status-success-bg: #14532d;
1336
+ --polly-status-success-text: #86efac;
1337
+ --polly-status-warning-bg: #713f12;
1338
+ --polly-status-warning-text: #fde68a;
1339
+ --polly-status-danger-bg: #7f1d1d;
1340
+ --polly-status-danger-text: #fecaca;
1341
+ --polly-focus-ring: #6c95ff;
1342
+ --polly-shadow-sm: 0 1px 2px #00000080;
1343
+ --polly-shadow-md: 0 4px 12px #0009;
1344
+ --polly-shadow-lg: 0 12px 32px #000000b3;
1345
+ }
1346
+ }
1347
+
1348
+ /* src/polly-ui/styles.css */
1349
+ @layer polly-structure {
1350
+ :where(html) {
1351
+ font-family: var(--polly-font-sans);
1352
+ color: var(--polly-text);
1353
+ background: var(--polly-surface);
1354
+ line-height: var(--polly-line-height-base);
1355
+ }
1356
+
1357
+ :where(body) {
1358
+ margin: 0;
1359
+ }
1360
+
1361
+ :where(h1, h2, h3, h4, h5, h6, p, blockquote, figure, dl, dd) {
1362
+ margin: 0;
1363
+ }
1364
+
1365
+ :where(ul, ol) {
1366
+ margin: 0;
1367
+ padding-inline-start: var(--polly-space-lg);
1368
+ }
1369
+
1370
+ :where(h1) {
1371
+ font-size: var(--polly-text-3xl);
1372
+ font-weight: var(--polly-weight-bold);
1373
+ line-height: var(--polly-line-height-heading);
1374
+ }
1375
+
1376
+ :where(h2) {
1377
+ font-size: var(--polly-text-2xl);
1378
+ font-weight: var(--polly-weight-bold);
1379
+ line-height: var(--polly-line-height-heading);
1380
+ }
1381
+
1382
+ :where(h3) {
1383
+ font-size: var(--polly-text-xl);
1384
+ font-weight: var(--polly-weight-bold);
1385
+ line-height: var(--polly-line-height-heading);
1386
+ }
1387
+
1388
+ :where(h4) {
1389
+ font-size: var(--polly-text-lg);
1390
+ font-weight: var(--polly-weight-medium);
1391
+ line-height: var(--polly-line-height-tight);
1392
+ }
1393
+
1394
+ :where(h5, h6) {
1395
+ font-size: var(--polly-text-md);
1396
+ font-weight: var(--polly-weight-medium);
1397
+ line-height: var(--polly-line-height-tight);
1398
+ }
1399
+
1400
+ :where(code, kbd, samp, pre) {
1401
+ font-family: var(--polly-font-mono);
1402
+ font-size: var(--polly-text-sm);
1403
+ }
1404
+
1405
+ [data-polly-truncate] {
1406
+ overflow: hidden;
1407
+ text-overflow: ellipsis;
1408
+ white-space: nowrap;
1409
+ min-inline-size: 0;
1410
+ }
1411
+
1412
+ [data-polly-clamp] {
1413
+ display: -webkit-box;
1414
+ -webkit-line-clamp: var(--polly-clamp, 2);
1415
+ overflow: hidden;
1416
+ -webkit-box-orient: vertical;
1417
+ min-inline-size: 0;
1418
+ }
1419
+
1420
+ [data-polly-wrap] {
1421
+ overflow-wrap: anywhere;
1422
+ min-inline-size: 0;
1423
+ }
1424
+
1425
+ [data-polly-markdown] pre {
1426
+ overflow-x: auto;
1427
+ max-inline-size: 100%;
1428
+ }
1429
+
1430
+ @media (prefers-reduced-motion: reduce) {
1431
+ :root {
1432
+ --polly-motion-fast: 0s;
1433
+ --polly-motion-base: 0s;
1434
+ --polly-motion-slow: 0s;
1435
+ }
1436
+ }
1437
+
1438
+ [data-polly-ui] :focus-visible {
1439
+ outline: var(--polly-border-width-medium) solid var(--polly-focus-ring);
1440
+ outline-offset: var(--polly-border-width-medium);
1441
+ }
1442
+
1443
+ [data-polly-ui]:focus-visible {
1444
+ outline: var(--polly-border-width-medium) solid var(--polly-focus-ring);
1445
+ outline-offset: var(--polly-border-width-medium);
1446
+ }
1447
+
1448
+ [data-polly-interactive]:not([data-polly-hit-target="none"]) {
1449
+ min-block-size: 44px;
1450
+ min-inline-size: 44px;
1451
+ }
1452
+
1453
+ [data-polly-interactive] {
1454
+ cursor: pointer;
1455
+ }
1456
+
1457
+ html[data-polly-scroll-locked="true"] {
1458
+ overflow: hidden;
1459
+ padding-inline-end: var(--polly-scrollbar-gutter, 0px);
1460
+ }
1461
+
1462
+ [data-polly-overlay-root] {
1463
+ position: fixed;
1464
+ pointer-events: none;
1465
+ z-index: var(--polly-z-overlay);
1466
+ inset: 0;
1467
+ }
1468
+
1469
+ [data-polly-overlay-root] > * {
1470
+ pointer-events: auto;
1471
+ }
1472
+
1473
+ [data-polly-toast-viewport] {
1474
+ position: fixed;
1475
+ z-index: var(--polly-z-toast);
1476
+ pointer-events: none;
1477
+ bottom: var(--polly-space-lg);
1478
+ }
1479
+
1480
+ [data-polly-toast-viewport]:not(:-webkit-any(:lang(ae), :lang(ar), :lang(arc), :lang(bcc), :lang(bqi), :lang(ckb), :lang(dv), :lang(fa), :lang(glk), :lang(he), :lang(ku), :lang(mzn), :lang(nqo), :lang(pnb), :lang(ps), :lang(sd), :lang(ug), :lang(ur), :lang(yi))) {
1481
+ right: var(--polly-space-lg);
1482
+ }
1483
+
1484
+ [data-polly-toast-viewport]:not(:-moz-any(:lang(ae), :lang(ar), :lang(arc), :lang(bcc), :lang(bqi), :lang(ckb), :lang(dv), :lang(fa), :lang(glk), :lang(he), :lang(ku), :lang(mzn), :lang(nqo), :lang(pnb), :lang(ps), :lang(sd), :lang(ug), :lang(ur), :lang(yi))) {
1485
+ right: var(--polly-space-lg);
1486
+ }
1487
+
1488
+ [data-polly-toast-viewport]:not(:is(:lang(ae), :lang(ar), :lang(arc), :lang(bcc), :lang(bqi), :lang(ckb), :lang(dv), :lang(fa), :lang(glk), :lang(he), :lang(ku), :lang(mzn), :lang(nqo), :lang(pnb), :lang(ps), :lang(sd), :lang(ug), :lang(ur), :lang(yi))) {
1489
+ right: var(--polly-space-lg);
1490
+ }
1491
+
1492
+ [data-polly-toast-viewport]:-webkit-any(:lang(ae), :lang(ar), :lang(arc), :lang(bcc), :lang(bqi), :lang(ckb), :lang(dv), :lang(fa), :lang(glk), :lang(he), :lang(ku), :lang(mzn), :lang(nqo), :lang(pnb), :lang(ps), :lang(sd), :lang(ug), :lang(ur), :lang(yi)) {
1493
+ left: var(--polly-space-lg);
1494
+ }
1495
+
1496
+ [data-polly-toast-viewport]:-moz-any(:lang(ae), :lang(ar), :lang(arc), :lang(bcc), :lang(bqi), :lang(ckb), :lang(dv), :lang(fa), :lang(glk), :lang(he), :lang(ku), :lang(mzn), :lang(nqo), :lang(pnb), :lang(ps), :lang(sd), :lang(ug), :lang(ur), :lang(yi)) {
1497
+ left: var(--polly-space-lg);
1498
+ }
1499
+
1500
+ [data-polly-toast-viewport]:is(:lang(ae), :lang(ar), :lang(arc), :lang(bcc), :lang(bqi), :lang(ckb), :lang(dv), :lang(fa), :lang(glk), :lang(he), :lang(ku), :lang(mzn), :lang(nqo), :lang(pnb), :lang(ps), :lang(sd), :lang(ug), :lang(ur), :lang(yi)) {
1501
+ left: var(--polly-space-lg);
1502
+ }
1503
+
1504
+ [data-polly-toast-viewport] > * {
1505
+ pointer-events: auto;
1506
+ }
1507
+ }
1508
+
1509
+ /* tools/gallery/src/gallery.css */
1510
+ html, body {
1511
+ margin: 0;
1512
+ padding: 0;
1513
+ }
1514
+
1515
+ body {
1516
+ background-color: var(--polly-surface-sunken);
1517
+ color: var(--polly-text);
1518
+ font-family: var(--polly-font-sans);
1519
+ font-size: var(--polly-text-md);
1520
+ line-height: var(--polly-line-height-base);
1521
+ }
1522
+
1523
+ .gallery-title {
1524
+ font-size: var(--polly-text-3xl);
1525
+ font-weight: var(--polly-weight-bold);
1526
+ line-height: var(--polly-line-height-heading);
1527
+ margin: 0;
1528
+ }
1529
+
1530
+ .gallery-section-title {
1531
+ font-size: var(--polly-text-xl);
1532
+ font-weight: var(--polly-weight-bold);
1533
+ line-height: var(--polly-line-height-heading);
1534
+ margin: 0;
1535
+ }
1536
+
1537
+ .gallery-specimen {
1538
+ min-inline-size: 0;
1539
+ }
1540
+
1541
+ .gallery-specimen--wide {
1542
+ grid-column: 1 / -1;
1543
+ }
1544
+
1545
+ .gallery-stage {
1546
+ display: flex;
1547
+ gap: var(--polly-space-sm);
1548
+ flex-wrap: wrap;
1549
+ align-items: center;
1550
+ min-inline-size: 0;
1551
+ }
1552
+
1553
+ .gallery-specimen--wide .gallery-stage {
1554
+ display: block;
1555
+ }
1556
+
1557
+ .gallery-code {
1558
+ font-family: var(--polly-font-mono);
1559
+ overflow-wrap: anywhere;
1560
+ }
1561
+
1562
+ .gallery-dropdown-trigger {
1563
+ display: inline-flex;
1564
+ gap: var(--polly-space-sm);
1565
+ padding: var(--polly-space-sm) var(--polly-space-md);
1566
+ border: var(--polly-border-width-default) solid var(--polly-border);
1567
+ border-radius: var(--polly-radius-sm);
1568
+ background-color: var(--polly-surface);
1569
+ color: var(--polly-text);
1570
+ font: inherit;
1571
+ cursor: pointer;
1572
+ align-items: center;
1573
+ }
1574
+
1575
+ .gallery-dropdown-caret {
1576
+ display: inline-block;
1577
+ color: var(--polly-caret-color);
1578
+ line-height: 1;
1579
+ font-size: var(--polly-caret-size);
1580
+ transition: transform var(--polly-motion-fast) ease;
1581
+ }
1582
+
1583
+ .gallery-dropdown-caret:before {
1584
+ content: var(--polly-caret-glyph);
1585
+ }
1586
+
1587
+ .gallery-dropdown-trigger[data-open="true"] .gallery-dropdown-caret {
1588
+ transform: rotate(180deg);
1589
+ }