@fairfox/polly 0.71.0 → 0.73.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.
Files changed (45) hide show
  1. package/dist/src/client/index.js +2 -2
  2. package/dist/src/client/index.js.map +2 -2
  3. package/dist/src/elysia/index.js +464 -4
  4. package/dist/src/elysia/index.js.map +6 -4
  5. package/dist/src/peer.d.ts +2 -0
  6. package/dist/src/peer.js +468 -4
  7. package/dist/src/peer.js.map +8 -5
  8. package/dist/src/polly-ui/ActionInput.d.ts +12 -2
  9. package/dist/src/polly-ui/ActionSelect.d.ts +36 -0
  10. package/dist/src/polly-ui/Button.d.ts +4 -0
  11. package/dist/src/polly-ui/Cluster.d.ts +36 -0
  12. package/dist/src/polly-ui/Code.d.ts +18 -0
  13. package/dist/src/polly-ui/Surface.d.ts +12 -1
  14. package/dist/src/polly-ui/Text.d.ts +43 -0
  15. package/dist/src/polly-ui/index.css +320 -194
  16. package/dist/src/polly-ui/index.d.ts +5 -1
  17. package/dist/src/polly-ui/index.js +533 -284
  18. package/dist/src/polly-ui/index.js.map +14 -8
  19. package/dist/src/polly-ui/internal/dispatch-action.d.ts +13 -0
  20. package/dist/src/polly-ui/internal/passthrough.d.ts +25 -0
  21. package/dist/src/polly-ui/markdown.js +3 -3
  22. package/dist/src/polly-ui/markdown.js.map +2 -2
  23. package/dist/src/polly-ui/styles.css +345 -194
  24. package/dist/src/polly-ui/theme.css +1 -0
  25. package/dist/src/shared/lib/peer-repo-server.d.ts +18 -0
  26. package/dist/src/shared/lib/sweep-sealed.d.ts +111 -0
  27. package/dist/tools/quality/src/cli.js +6 -2
  28. package/dist/tools/quality/src/cli.js.map +3 -3
  29. package/dist/tools/quality/src/index.js +6 -2
  30. package/dist/tools/quality/src/index.js.map +3 -3
  31. package/dist/tools/test/src/browser/run.js +89 -49
  32. package/dist/tools/test/src/browser/run.js.map +6 -5
  33. package/dist/tools/test/src/browser/runner-core.d.ts +32 -0
  34. package/dist/tools/test/src/e2e-mesh/index.js +193 -171
  35. package/dist/tools/test/src/e2e-mesh/index.js.map +4 -4
  36. package/dist/tools/test/src/visual/index.js +270 -251
  37. package/dist/tools/test/src/visual/index.js.map +5 -5
  38. package/dist/tools/verify/specs/tla/MeshSeed.cfg +27 -0
  39. package/dist/tools/verify/specs/tla/MeshSeed.tla +179 -0
  40. package/dist/tools/verify/specs/tla/README.md +11 -1
  41. package/dist/tools/verify/src/cli.js +136 -51
  42. package/dist/tools/verify/src/cli.js.map +9 -7
  43. package/dist/tools/visualize/src/cli.js +72 -2
  44. package/dist/tools/visualize/src/cli.js.map +5 -5
  45. package/package.json +3 -2
@@ -0,0 +1,18 @@
1
+ /**
2
+ * Code — inline monospace code span.
3
+ *
4
+ * Renders a `<code>` with the `--polly-font-mono` stack, a faint sunken
5
+ * tint, and snug padding so a consumer never hand-rolls a `.mono` class
6
+ * for inline code, identifiers, or keyboard hints. For multi-line code
7
+ * blocks, pass `block`, which switches to a pre-wrapped <pre><code>.
8
+ */
9
+ import type { ComponentChildren, JSX } from "preact";
10
+ import { type PassthroughAttrs } from "./internal/passthrough.ts";
11
+ export type CodeProps = PassthroughAttrs & {
12
+ children: ComponentChildren;
13
+ /** Render as a block (<pre><code>) instead of an inline span. */
14
+ block?: boolean;
15
+ className?: string;
16
+ id?: string;
17
+ };
18
+ export declare function Code(props: CodeProps): JSX.Element;
@@ -18,7 +18,9 @@ type Border = "none" | "default" | "strong";
18
18
  type BorderWidth = "none" | "default" | "medium" | "thick";
19
19
  type BorderSides = "all" | "block-start" | "block-end" | "inline-start" | "inline-end" | "block" | "inline";
20
20
  type Shadow = "none" | "sm" | "md" | "lg";
21
- type Position = "static" | "relative" | "sticky" | "fixed";
21
+ type Position = "static" | "relative" | "absolute" | "sticky" | "fixed";
22
+ type BorderStyle = "solid" | "dashed";
23
+ type Overflow = "visible" | "hidden" | "auto" | "scroll";
22
24
  /**
23
25
  * Arbitrary `data-*` and `aria-*` attributes forwarded to the rendered element
24
26
  * so consumers (Modal, Toast, Card, etc.) can compose Surface without losing
@@ -42,16 +44,25 @@ export type SurfaceProps = SurfaceDataAttrs & {
42
44
  border?: Border;
43
45
  borderWidth?: BorderWidth;
44
46
  borderSides?: BorderSides;
47
+ /** Border line style. Default: `'solid'`. */
48
+ borderStyle?: BorderStyle;
45
49
  shadow?: Shadow;
46
50
  /** display: inline-block — Surface flows inline with surrounding text. */
47
51
  inline?: boolean;
48
52
  width?: string;
49
53
  height?: string;
50
54
  minHeight?: string;
55
+ /** Maximum block size — a Surface that shrinks to content but is capped. */
56
+ maxHeight?: string;
51
57
  maxInlineSize?: string;
58
+ /** Overflow behaviour. `'auto'` makes a height-capped Surface scroll. */
59
+ overflow?: Overflow;
52
60
  position?: Position;
53
61
  /** Any CSS inset value (`'0'`, `'auto auto 1rem 1rem'`, `'1rem'`, …). */
54
62
  inset?: string;
63
+ /** CSS transform — e.g. `'translateX(-50%)'` to centre a fixed banner
64
+ * paired with `inset: '… auto … 50%'`. The sanctioned transform escape. */
65
+ transform?: string;
55
66
  zIndex?: number;
56
67
  className?: string;
57
68
  /**
@@ -0,0 +1,43 @@
1
+ /**
2
+ * Text — typographic primitive for secondary, sized, and status copy.
3
+ *
4
+ * Renders subtitles, captions, field labels, empty-state copy, and
5
+ * error/warning messages without the consumer reaching for a `style`
6
+ * attribute or a hand-rolled class. `tone` maps to the semantic
7
+ * `--polly-text-*` and `--polly-status-*` token families; `size`,
8
+ * `weight`, `italic`, and `leading` cover the remaining typographic
9
+ * axes. `as` keeps the element polymorphic so the same primitive backs a
10
+ * <span>, <p>, <label>, or <figcaption>. A no-prop <Text> is an ordinary
11
+ * <span> at body size and default colour.
12
+ *
13
+ * polly#125: arbitrary `data-*` / `aria-*` attributes are forwarded to
14
+ * the rendered element, so a Text that also needs a test hook or an
15
+ * a11y attribute stays a single element.
16
+ */
17
+ import { type ComponentChildren, type JSX } from "preact";
18
+ import { type PassthroughAttrs } from "./internal/passthrough.ts";
19
+ export type TextTone = "default" | "muted" | "danger" | "warning" | "success";
20
+ export type TextSize = "xs" | "sm" | "md" | "lg" | "xl";
21
+ export type TextWeight = "normal" | "medium" | "bold";
22
+ export type TextLeading = "tight" | "base" | "loose";
23
+ export type TextProps = PassthroughAttrs & {
24
+ children: ComponentChildren;
25
+ /** Polymorphic element (span, p, label, figcaption, …). Defaults to 'span'. */
26
+ as?: keyof JSX.IntrinsicElements;
27
+ /** Colour role. 'muted' de-emphasises; 'danger'/'warning'/'success'
28
+ * render status copy from the `--polly-status-*` tokens. Default: 'default'. */
29
+ tone?: TextTone;
30
+ /** Token-backed font size. Default: inherit from context. */
31
+ size?: TextSize;
32
+ /** Token-backed font weight. Default: inherit from context. */
33
+ weight?: TextWeight;
34
+ /** Italic emphasis — for hints and asides — without an inline style. */
35
+ italic?: boolean;
36
+ /** Token-backed line height. 'loose' suits multi-line body copy. */
37
+ leading?: TextLeading;
38
+ className?: string;
39
+ id?: string;
40
+ /** Forwarded so <Text as="label"> can point at a control. */
41
+ htmlFor?: string;
42
+ };
43
+ export declare function Text(props: TextProps): JSX.Element;
@@ -55,6 +55,191 @@
55
55
  }
56
56
  }
57
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: absolute;
71
+ inset: unset;
72
+ z-index: var(--polly-z-raised);
73
+ margin: var(--polly-space-xs) 0 0;
74
+ padding: var(--polly-space-xs) 0;
75
+ border: var(--polly-border-width-default) solid var(--polly-border);
76
+ border-radius: var(--polly-radius-md);
77
+ background-color: var(--polly-surface);
78
+ box-shadow: var(--polly-shadow-md);
79
+ box-sizing: border-box;
80
+ overflow-y: auto;
81
+ min-width: 160px;
82
+ max-height: 280px;
83
+ top: 100%;
84
+ left: 0;
85
+ }
86
+
87
+ .alignRight_HX48zA {
88
+ left: auto;
89
+ right: 0;
90
+ }
91
+ }
92
+
93
+ /* src/polly-ui/Layout.module.css */
94
+ @layer polly-components {
95
+ .layout_QgwWPg {
96
+ --l-cols: none;
97
+ --l-rows: none;
98
+ --l-gap: 0;
99
+ --l-p: 0;
100
+ --l-h: auto;
101
+ --l-mh: auto;
102
+ --l-mis: none;
103
+ --l-ji: stretch;
104
+ --l-ai: start;
105
+ --l-jc: normal;
106
+ --l-ac: normal;
107
+ --l-js: auto;
108
+ --l-as: auto;
109
+ --l-flow: row;
110
+ --l-arows: auto;
111
+ --l-acols: auto;
112
+ --l-col: auto;
113
+ display: grid;
114
+ box-sizing: border-box;
115
+ max-inline-size: var(--l-mis);
116
+ grid-template-columns: var(--l-cols);
117
+ grid-template-rows: var(--l-rows);
118
+ gap: var(--l-gap);
119
+ padding: var(--l-p);
120
+ height: var(--l-h);
121
+ min-height: var(--l-mh);
122
+ justify-items: var(--l-ji);
123
+ align-items: var(--l-ai);
124
+ justify-content: var(--l-jc);
125
+ align-content: var(--l-ac);
126
+ justify-self: var(--l-js);
127
+ align-self: var(--l-as);
128
+ grid-auto-flow: var(--l-flow);
129
+ grid-auto-rows: var(--l-arows);
130
+ grid-auto-columns: var(--l-acols);
131
+ grid-column: var(--l-col);
132
+ inline-size: 100%;
133
+ margin-inline-start: auto;
134
+ margin-inline-end: auto;
135
+ }
136
+
137
+ .inline_QgwWPg {
138
+ display: inline-grid;
139
+ inline-size: auto;
140
+ }
141
+
142
+ @media (max-width: 640px) {
143
+ .stackOnMobile_QgwWPg {
144
+ grid-template-columns: 1fr;
145
+ grid-auto-flow: row;
146
+ grid-column: auto;
147
+ }
148
+ }
149
+ }
150
+
151
+ /* src/polly-ui/Select.module.css */
152
+ @layer polly-components {
153
+ .select_daofbw {
154
+ display: inline-block;
155
+ }
156
+
157
+ .label_daofbw {
158
+ display: block;
159
+ margin-bottom: var(--polly-space-xs);
160
+ font-size: var(--polly-text-sm);
161
+ font-weight: var(--polly-weight-medium);
162
+ color: var(--polly-text-muted);
163
+ }
164
+
165
+ .trigger_daofbw {
166
+ display: inline-block;
167
+ padding: var(--polly-space-sm) var(--polly-space-md);
168
+ border: var(--polly-border-width-default) solid var(--polly-border);
169
+ border-radius: var(--polly-radius-sm);
170
+ background-color: var(--polly-surface);
171
+ font-family: inherit;
172
+ font-size: var(--polly-text-md);
173
+ color: var(--polly-text);
174
+ text-align: left;
175
+ cursor: pointer;
176
+ white-space: nowrap;
177
+ overflow: hidden;
178
+ text-overflow: ellipsis;
179
+ min-width: 140px;
180
+ }
181
+
182
+ .trigger_daofbw:disabled {
183
+ opacity: var(--polly-opacity-disabled);
184
+ cursor: not-allowed;
185
+ }
186
+
187
+ .placeholder_daofbw {
188
+ color: var(--polly-text-muted);
189
+ }
190
+
191
+ .actions_daofbw {
192
+ padding: var(--polly-space-xs) var(--polly-space-sm);
193
+ border-bottom: var(--polly-border-width-default) solid var(--polly-border);
194
+ }
195
+
196
+ .actionBtn_daofbw {
197
+ display: inline-block;
198
+ padding: var(--polly-space-xs) var(--polly-space-sm);
199
+ border-radius: var(--polly-radius-sm);
200
+ font-family: inherit;
201
+ font-size: var(--polly-text-xs);
202
+ color: var(--polly-accent);
203
+ cursor: pointer;
204
+ text-align: center;
205
+ background: none;
206
+ border: none;
207
+ width: 100%;
208
+ }
209
+
210
+ .actionBtn_daofbw:hover {
211
+ background-color: var(--polly-surface-sunken);
212
+ }
213
+
214
+ .option_daofbw {
215
+ display: block;
216
+ padding: var(--polly-space-sm) var(--polly-space-md);
217
+ font-family: inherit;
218
+ font-size: var(--polly-text-sm);
219
+ color: var(--polly-text);
220
+ text-align: left;
221
+ cursor: pointer;
222
+ background: none;
223
+ border: none;
224
+ width: 100%;
225
+ }
226
+
227
+ .option_daofbw:hover {
228
+ background-color: var(--polly-surface-sunken);
229
+ }
230
+
231
+ .optionSelected_daofbw {
232
+ background-color: color-mix(in srgb, var(--polly-accent) 8%, var(--polly-surface));
233
+ }
234
+
235
+ .optionCheck_daofbw {
236
+ accent-color: var(--polly-accent);
237
+ margin-right: var(--polly-space-sm);
238
+ vertical-align: middle;
239
+ pointer-events: none;
240
+ }
241
+ }
242
+
58
243
  /* src/polly-ui/Badge.module.css */
59
244
  @layer polly-components {
60
245
  .badge_cZd0Aw {
@@ -203,64 +388,6 @@
203
388
  }
204
389
  }
205
390
 
206
- /* src/polly-ui/Layout.module.css */
207
- @layer polly-components {
208
- .layout_QgwWPg {
209
- --l-cols: none;
210
- --l-rows: none;
211
- --l-gap: 0;
212
- --l-p: 0;
213
- --l-h: auto;
214
- --l-mh: auto;
215
- --l-mis: none;
216
- --l-ji: stretch;
217
- --l-ai: start;
218
- --l-jc: normal;
219
- --l-ac: normal;
220
- --l-js: auto;
221
- --l-as: auto;
222
- --l-flow: row;
223
- --l-arows: auto;
224
- --l-acols: auto;
225
- --l-col: auto;
226
- display: grid;
227
- box-sizing: border-box;
228
- max-inline-size: var(--l-mis);
229
- grid-template-columns: var(--l-cols);
230
- grid-template-rows: var(--l-rows);
231
- gap: var(--l-gap);
232
- padding: var(--l-p);
233
- height: var(--l-h);
234
- min-height: var(--l-mh);
235
- justify-items: var(--l-ji);
236
- align-items: var(--l-ai);
237
- justify-content: var(--l-jc);
238
- align-content: var(--l-ac);
239
- justify-self: var(--l-js);
240
- align-self: var(--l-as);
241
- grid-auto-flow: var(--l-flow);
242
- grid-auto-rows: var(--l-arows);
243
- grid-auto-columns: var(--l-acols);
244
- grid-column: var(--l-col);
245
- inline-size: 100%;
246
- margin-inline-start: auto;
247
- margin-inline-end: auto;
248
- }
249
-
250
- .inline_QgwWPg {
251
- display: inline-grid;
252
- inline-size: auto;
253
- }
254
-
255
- @media (max-width: 640px) {
256
- .stackOnMobile_QgwWPg {
257
- grid-template-columns: 1fr;
258
- grid-auto-flow: row;
259
- grid-column: auto;
260
- }
261
- }
262
- }
263
-
264
391
  /* src/polly-ui/Surface.module.css */
265
392
  @layer polly-components {
266
393
  .surface_pQCFqA {
@@ -269,18 +396,22 @@
269
396
  --s-radius: 0;
270
397
  --s-border-color: transparent;
271
398
  --s-border-width: 0;
399
+ --s-border-style: solid;
272
400
  --s-shadow: none;
273
401
  --s-w: auto;
274
402
  --s-h: auto;
275
403
  --s-mh: auto;
404
+ --s-maxh: none;
276
405
  --s-mis: none;
406
+ --s-overflow: visible;
277
407
  --s-position: static;
278
408
  --s-inset: auto;
409
+ --s-transform: none;
279
410
  --s-z: auto;
280
411
  box-sizing: border-box;
281
412
  padding: var(--s-p);
282
413
  background: var(--s-bg);
283
- border-style: solid;
414
+ border-style: var(--s-border-style);
284
415
  border-color: var(--s-border-color);
285
416
  border-width: var(--s-border-width);
286
417
  border-radius: var(--s-radius);
@@ -288,9 +419,12 @@
288
419
  inline-size: var(--s-w);
289
420
  block-size: var(--s-h);
290
421
  min-block-size: var(--s-mh);
422
+ max-block-size: var(--s-maxh);
291
423
  max-inline-size: var(--s-mis);
424
+ overflow: var(--s-overflow);
292
425
  position: var(--s-position);
293
426
  inset: var(--s-inset);
427
+ transform: var(--s-transform);
294
428
  z-index: var(--s-z);
295
429
  }
296
430
 
@@ -301,34 +435,32 @@
301
435
 
302
436
  .sides-block-start_pQCFqA {
303
437
  border-style: none;
304
- border-block-start-style: solid;
438
+ border-block-start-style: var(--s-border-style);
305
439
  }
306
440
 
307
441
  .sides-block-end_pQCFqA {
308
442
  border-style: none;
309
- border-block-end-style: solid;
443
+ border-block-end-style: var(--s-border-style);
310
444
  }
311
445
 
312
446
  .sides-inline-start_pQCFqA {
313
447
  border-style: none;
314
- border-inline-start-style: solid;
448
+ border-inline-start-style: var(--s-border-style);
315
449
  }
316
450
 
317
451
  .sides-inline-end_pQCFqA {
318
452
  border-style: none;
319
- border-inline-end-style: solid;
453
+ border-inline-end-style: var(--s-border-style);
320
454
  }
321
455
 
322
456
  .sides-block_pQCFqA {
323
457
  border-style: none;
324
- border-block-start-style: solid;
325
- border-block-end-style: solid;
458
+ border-block-style: var(--s-border-style);
326
459
  }
327
460
 
328
461
  .sides-inline_pQCFqA {
329
462
  border-style: none;
330
- border-left-style: solid;
331
- border-right-style: solid;
463
+ border-inline-style: var(--s-border-style);
332
464
  }
333
465
  }
334
466
 
@@ -361,6 +493,55 @@
361
493
  }
362
494
  }
363
495
 
496
+ /* src/polly-ui/Cluster.module.css */
497
+ @layer polly-components {
498
+ .cluster_pNLz5g {
499
+ --c-gap: 0;
500
+ --c-p: 0;
501
+ --c-jc: flex-start;
502
+ --c-ai: center;
503
+ display: flex;
504
+ box-sizing: border-box;
505
+ gap: var(--c-gap);
506
+ padding: var(--c-p);
507
+ justify-content: var(--c-jc);
508
+ align-items: var(--c-ai);
509
+ flex-wrap: wrap;
510
+ }
511
+
512
+ .inline_pNLz5g {
513
+ display: inline-flex;
514
+ }
515
+ }
516
+
517
+ /* src/polly-ui/Code.module.css */
518
+ @layer polly-components {
519
+ .code_Vc8yiw {
520
+ font-family: var(--polly-font-mono);
521
+ font-size: var(--polly-text-sm);
522
+ padding: .1em var(--polly-space-xs);
523
+ border-radius: var(--polly-radius-sm);
524
+ background-color: var(--polly-surface-sunken);
525
+ color: var(--polly-text);
526
+ word-break: break-word;
527
+ }
528
+
529
+ .block_Vc8yiw {
530
+ padding: var(--polly-space-md);
531
+ border-radius: var(--polly-radius-md);
532
+ background-color: var(--polly-surface-sunken);
533
+ overflow-x: auto;
534
+ margin: 0;
535
+ }
536
+
537
+ .block_Vc8yiw code {
538
+ font-family: var(--polly-font-mono);
539
+ font-size: var(--polly-text-sm);
540
+ color: var(--polly-text);
541
+ white-space: pre;
542
+ }
543
+ }
544
+
364
545
  /* src/polly-ui/Collapsible.module.css */
365
546
  @layer polly-components {
366
547
  .collapsible_sEhnPw {
@@ -530,133 +711,6 @@
530
711
  }
531
712
  }
532
713
 
533
- /* src/polly-ui/Dropdown.module.css */
534
- @layer polly-components {
535
- .dropdown_HX48zA {
536
- position: relative;
537
- display: inline-block;
538
- }
539
-
540
- .trigger_HX48zA {
541
- display: inline-block;
542
- }
543
-
544
- .menu_HX48zA {
545
- position: absolute;
546
- inset: unset;
547
- z-index: var(--polly-z-raised);
548
- margin: var(--polly-space-xs) 0 0;
549
- padding: var(--polly-space-xs) 0;
550
- border: var(--polly-border-width-default) solid var(--polly-border);
551
- border-radius: var(--polly-radius-md);
552
- background-color: var(--polly-surface);
553
- box-shadow: var(--polly-shadow-md);
554
- box-sizing: border-box;
555
- overflow-y: auto;
556
- min-width: 160px;
557
- max-height: 280px;
558
- top: 100%;
559
- left: 0;
560
- }
561
-
562
- .alignRight_HX48zA {
563
- left: auto;
564
- right: 0;
565
- }
566
- }
567
-
568
- /* src/polly-ui/Select.module.css */
569
- @layer polly-components {
570
- .select_daofbw {
571
- display: inline-block;
572
- }
573
-
574
- .label_daofbw {
575
- display: block;
576
- margin-bottom: var(--polly-space-xs);
577
- font-size: var(--polly-text-sm);
578
- font-weight: var(--polly-weight-medium);
579
- color: var(--polly-text-muted);
580
- }
581
-
582
- .trigger_daofbw {
583
- display: inline-block;
584
- padding: var(--polly-space-sm) var(--polly-space-md);
585
- border: var(--polly-border-width-default) solid var(--polly-border);
586
- border-radius: var(--polly-radius-sm);
587
- background-color: var(--polly-surface);
588
- font-family: inherit;
589
- font-size: var(--polly-text-md);
590
- color: var(--polly-text);
591
- text-align: left;
592
- cursor: pointer;
593
- white-space: nowrap;
594
- overflow: hidden;
595
- text-overflow: ellipsis;
596
- min-width: 140px;
597
- }
598
-
599
- .trigger_daofbw:disabled {
600
- opacity: var(--polly-opacity-disabled);
601
- cursor: not-allowed;
602
- }
603
-
604
- .placeholder_daofbw {
605
- color: var(--polly-text-muted);
606
- }
607
-
608
- .actions_daofbw {
609
- padding: var(--polly-space-xs) var(--polly-space-sm);
610
- border-bottom: var(--polly-border-width-default) solid var(--polly-border);
611
- }
612
-
613
- .actionBtn_daofbw {
614
- display: inline-block;
615
- padding: var(--polly-space-xs) var(--polly-space-sm);
616
- border-radius: var(--polly-radius-sm);
617
- font-family: inherit;
618
- font-size: var(--polly-text-xs);
619
- color: var(--polly-accent);
620
- cursor: pointer;
621
- text-align: center;
622
- background: none;
623
- border: none;
624
- width: 100%;
625
- }
626
-
627
- .actionBtn_daofbw:hover {
628
- background-color: var(--polly-surface-sunken);
629
- }
630
-
631
- .option_daofbw {
632
- display: block;
633
- padding: var(--polly-space-sm) var(--polly-space-md);
634
- font-family: inherit;
635
- font-size: var(--polly-text-sm);
636
- color: var(--polly-text);
637
- text-align: left;
638
- cursor: pointer;
639
- background: none;
640
- border: none;
641
- width: 100%;
642
- }
643
-
644
- .option_daofbw:hover {
645
- background-color: var(--polly-surface-sunken);
646
- }
647
-
648
- .optionSelected_daofbw {
649
- background-color: color-mix(in srgb, var(--polly-accent) 8%, var(--polly-surface));
650
- }
651
-
652
- .optionCheck_daofbw {
653
- accent-color: var(--polly-accent);
654
- margin-right: var(--polly-space-sm);
655
- vertical-align: middle;
656
- pointer-events: none;
657
- }
658
- }
659
-
660
714
  /* src/polly-ui/Skeleton.module.css */
661
715
  @layer polly-components {
662
716
  @keyframes pollyShimmer_gpBHJA {
@@ -736,6 +790,78 @@
736
790
  }
737
791
  }
738
792
 
793
+ /* src/polly-ui/Text.module.css */
794
+ @layer polly-components {
795
+ .text_75HKdQ {
796
+ color: var(--polly-text);
797
+ font-family: inherit;
798
+ }
799
+
800
+ .muted_75HKdQ {
801
+ color: var(--polly-text-muted);
802
+ }
803
+
804
+ .danger_75HKdQ {
805
+ color: var(--polly-status-danger-text);
806
+ }
807
+
808
+ .warning_75HKdQ {
809
+ color: var(--polly-status-warning-text);
810
+ }
811
+
812
+ .success_75HKdQ {
813
+ color: var(--polly-status-success-text);
814
+ }
815
+
816
+ .italic_75HKdQ {
817
+ font-style: italic;
818
+ }
819
+
820
+ .tight_75HKdQ {
821
+ line-height: var(--polly-line-height-tight);
822
+ }
823
+
824
+ .base_75HKdQ {
825
+ line-height: var(--polly-line-height-base);
826
+ }
827
+
828
+ .loose_75HKdQ {
829
+ line-height: var(--polly-line-height-loose);
830
+ }
831
+
832
+ .xs_75HKdQ {
833
+ font-size: var(--polly-text-xs);
834
+ }
835
+
836
+ .sm_75HKdQ {
837
+ font-size: var(--polly-text-sm);
838
+ }
839
+
840
+ .md_75HKdQ {
841
+ font-size: var(--polly-text-md);
842
+ }
843
+
844
+ .lg_75HKdQ {
845
+ font-size: var(--polly-text-lg);
846
+ }
847
+
848
+ .xl_75HKdQ {
849
+ font-size: var(--polly-text-xl);
850
+ }
851
+
852
+ .normal_75HKdQ {
853
+ font-weight: var(--polly-weight-normal);
854
+ }
855
+
856
+ .medium_75HKdQ {
857
+ font-weight: var(--polly-weight-medium);
858
+ }
859
+
860
+ .bold_75HKdQ {
861
+ font-weight: var(--polly-weight-bold);
862
+ }
863
+ }
864
+
739
865
  /* src/polly-ui/TextInput.module.css */
740
866
  @layer polly-components {
741
867
  .input_ez4_Vg {