@mohirlab/react 0.1.1 → 0.3.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 (46) hide show
  1. package/dist/components/badge/badge.css.d.ts +1 -5
  2. package/dist/components/badge/badge.css.d.ts.map +1 -1
  3. package/dist/components/button/button.css.d.ts +3 -4
  4. package/dist/components/button/button.css.d.ts.map +1 -1
  5. package/dist/components/dialog/dialog.css.d.ts +30 -0
  6. package/dist/components/dialog/dialog.css.d.ts.map +1 -0
  7. package/dist/components/dialog/dialog.d.ts +34 -0
  8. package/dist/components/dialog/dialog.d.ts.map +1 -0
  9. package/dist/components/dialog/dialog.js +159 -0
  10. package/dist/components/dialog/dialog.js.map +1 -0
  11. package/dist/components/dialog/dialog.styles.js +33 -0
  12. package/dist/components/dialog/dialog.styles.js.map +1 -0
  13. package/dist/components/dialog/index.d.ts +2 -0
  14. package/dist/components/input/input.css.d.ts +2 -3
  15. package/dist/components/input/input.css.d.ts.map +1 -1
  16. package/dist/components/popover/index.d.ts +3 -0
  17. package/dist/components/popover/popover.css.d.ts +18 -0
  18. package/dist/components/popover/popover.css.d.ts.map +1 -0
  19. package/dist/components/popover/popover.d.ts +45 -0
  20. package/dist/components/popover/popover.d.ts.map +1 -0
  21. package/dist/components/popover/popover.js +123 -0
  22. package/dist/components/popover/popover.js.map +1 -0
  23. package/dist/components/popover/popover.styles.js +36 -0
  24. package/dist/components/popover/popover.styles.js.map +1 -0
  25. package/dist/components/text/text.css.d.ts +1 -2
  26. package/dist/components/text/text.css.d.ts.map +1 -1
  27. package/dist/components/toast/index.d.ts +2 -0
  28. package/dist/components/toast/toast.d.ts +37 -0
  29. package/dist/components/toast/toast.d.ts.map +1 -0
  30. package/dist/components/toast/toast.js +142 -0
  31. package/dist/components/toast/toast.js.map +1 -0
  32. package/dist/components/toast/toast.styles.js +24 -0
  33. package/dist/components/toast/toast.styles.js.map +1 -0
  34. package/dist/hooks/index.d.ts +3 -0
  35. package/dist/hooks/use-disclosure.d.ts +9 -0
  36. package/dist/hooks/use-disclosure.d.ts.map +1 -0
  37. package/dist/hooks/use-disclosure.js +16 -0
  38. package/dist/hooks/use-disclosure.js.map +1 -0
  39. package/dist/hooks/use-presence.d.ts +18 -0
  40. package/dist/hooks/use-presence.d.ts.map +1 -0
  41. package/dist/hooks/use-presence.js +55 -0
  42. package/dist/hooks/use-presence.js.map +1 -0
  43. package/dist/index.d.ts +11 -1
  44. package/dist/index.js +7 -2
  45. package/dist/styles.css +537 -42
  46. package/package.json +6 -5
package/dist/styles.css CHANGED
@@ -55,9 +55,8 @@
55
55
  }
56
56
  .ml_7aeaawc {
57
57
  margin-inline-start: var(--ml_space-2_uyc1fj11);
58
- font-family: var(--ml_font-family-mono_uyc1fj1m);
59
58
  font-size: var(--ml_font-size-xs_uyc1fj1n);
60
- letter-spacing: var(--ml_font-tracking-label_uyc1fj24);
59
+ font-weight: var(--ml_font-weight-medium_uyc1fj1w);
61
60
  color: var(--ml_color-textMuted_uyc1fj5);
62
61
  white-space: nowrap;
63
62
  }
@@ -72,18 +71,14 @@
72
71
  align-items: center;
73
72
  gap: var(--ml_space-1_5_uyc1fj1d);
74
73
  height: 1.375rem;
75
- padding-inline: var(--ml_space-2_uyc1fj11);
76
- font-family: var(--ml_font-family-mono_uyc1fj1m);
77
- font-size: 0.6875rem;
74
+ padding-inline: 0.5625rem;
75
+ font-size: var(--ml_font-size-xs_uyc1fj1n);
78
76
  font-weight: var(--ml_font-weight-medium_uyc1fj1w);
79
- letter-spacing: var(--ml_font-tracking-label_uyc1fj24);
80
- text-transform: uppercase;
81
77
  line-height: 1;
82
78
  white-space: nowrap;
83
- border-radius: var(--ml_radius-xs_uyc1fj1f);
79
+ border-radius: var(--ml_radius-round_uyc1fj1k);
84
80
  background-color: var(--ml_11qk9ix0);
85
81
  color: var(--ml_11qk9ix1);
86
- box-shadow: inset 0 0 0 1px color-mix(in oklch, var(--ml_11qk9ix1) 22%, transparent);
87
82
  }
88
83
  .ml_tone_neutral_11qk9ix4 {
89
84
  --ml_11qk9ix0: var(--ml_color-surfaceSunken_uyc1fj2);
@@ -113,11 +108,11 @@
113
108
  .ml_solid_true_11qk9ix9 {
114
109
  --ml_11qk9ix0: var(--ml_11qk9ix2);
115
110
  --ml_11qk9ix1: var(--ml_color-onAccent_uyc1fjg);
116
- box-shadow: none;
117
111
  }
118
112
  .ml_11qk9ixb {
119
113
  width: 0.375rem;
120
114
  height: 0.375rem;
115
+ border-radius: 1.5px;
121
116
  background-color: var(--ml_11qk9ix2);
122
117
  flex-shrink: 0;
123
118
  }
@@ -192,17 +187,17 @@
192
187
  --ml_8xurtv5: var(--ml_color-dangerText_uyc1fjk);
193
188
  }
194
189
  .ml_appearance_solid_8xurtva {
195
- box-shadow: var(--ml_shadow-lip_uyc1fjx);
190
+ box-shadow: var(--ml_shadow-control_uyc1fjy);
196
191
  background-color: var(--ml_8xurtv0);
197
192
  color: var(--ml_8xurtv4);
198
193
  }
199
194
  .ml_appearance_solid_8xurtva:active:not(:disabled):not([aria-disabled="true"]) {
200
- box-shadow: var(--ml_shadow-lipPressed_uyc1fjy);
201
- transform: translateY(1px);
195
+ box-shadow: none;
196
+ transform: scale(0.98);
202
197
  background-color: var(--ml_8xurtv2);
203
198
  }
204
199
  .ml_appearance_solid_8xurtva:focus-visible {
205
- box-shadow: var(--ml_shadow-lip_uyc1fjx), 0 0 0 2px var(--ml_color-canvas_uyc1fj0), 0 0 0 4px var(--ml_color-focus_uyc1fjs);
200
+ box-shadow: var(--ml_shadow-control_uyc1fjy), 0 0 0 2px var(--ml_color-canvas_uyc1fj0), 0 0 0 4px var(--ml_color-focus_uyc1fjs);
206
201
  }
207
202
  .ml_appearance_solid_8xurtva:hover:not(:disabled):not([aria-disabled="true"]) {
208
203
  background-color: var(--ml_8xurtv1);
@@ -221,12 +216,11 @@
221
216
  background-color: var(--ml_color-surface_uyc1fj1);
222
217
  color: var(--ml_8xurtv5);
223
218
  border-color: var(--ml_color-border_uyc1fj9);
224
- border-bottom-color: var(--ml_color-rule_uyc1fja);
219
+ box-shadow: var(--ml_shadow-raised_uyc1fjw);
225
220
  }
226
221
  .ml_appearance_outline_8xurtvc:hover:not(:disabled):not([aria-disabled="true"]) {
227
- border-color: color-mix(in oklch, var(--ml_color-border_uyc1fj9), var(--ml_8xurtv0) 45%);
228
- border-bottom-color: var(--ml_8xurtv0);
229
- background-color: color-mix(in oklch, var(--ml_color-surface_uyc1fj1), var(--ml_8xurtv0) 5%);
222
+ border-color: color-mix(in oklch, var(--ml_color-border_uyc1fj9), var(--ml_8xurtv0) 35%);
223
+ background-color: color-mix(in oklch, var(--ml_color-surface_uyc1fj1), var(--ml_8xurtv0) 4%);
230
224
  }
231
225
  .ml_appearance_outline_8xurtvc:active:not(:disabled):not([aria-disabled="true"]) {
232
226
  background-color: color-mix(in oklch, var(--ml_color-surface_uyc1fj1), var(--ml_8xurtv0) 10%);
@@ -295,6 +289,9 @@
295
289
  .ml_8xurtv6 {
296
290
  transition-duration: 1ms;
297
291
  }
292
+ .ml_appearance_solid_8xurtva:active:not(:disabled):not([aria-disabled="true"]) {
293
+ transform: none;
294
+ }
298
295
  .ml_8xurtvm {
299
296
  animation-duration: 2.4s;
300
297
  }
@@ -327,11 +324,11 @@
327
324
  }
328
325
  .ml_elevation_raised_1f99k5x1 {
329
326
  background-color: var(--ml_color-surface_uyc1fj1);
330
- box-shadow: var(--ml_shadow-hairline_uyc1fju), var(--ml_shadow-raised_uyc1fjv);
327
+ box-shadow: var(--ml_shadow-hairline_uyc1fjv), var(--ml_shadow-raised_uyc1fjw);
331
328
  }
332
329
  .ml_elevation_flat_1f99k5x2 {
333
330
  background-color: var(--ml_color-surface_uyc1fj1);
334
- box-shadow: var(--ml_shadow-hairline_uyc1fju);
331
+ box-shadow: var(--ml_shadow-hairline_uyc1fjv);
335
332
  }
336
333
  .ml_elevation_sunken_1f99k5x3 {
337
334
  background-color: var(--ml_color-surfaceSunken_uyc1fj2);
@@ -339,7 +336,7 @@
339
336
  }
340
337
  .ml_elevation_floating_1f99k5x4 {
341
338
  background-color: var(--ml_color-surface_uyc1fj1);
342
- box-shadow: var(--ml_shadow-hairline_uyc1fju), var(--ml_shadow-floating_uyc1fjw);
339
+ box-shadow: var(--ml_shadow-hairline_uyc1fjv), var(--ml_shadow-floating_uyc1fjx);
343
340
  }
344
341
  .ml_padding_none_1f99k5x5 {
345
342
  padding: 0;
@@ -396,6 +393,250 @@
396
393
  @layer ml-theme;
397
394
  @layer ml-components;
398
395
  @layer ml-utilities;
396
+ @layer ml-components {
397
+ .ml_iy25f51 {
398
+ --ml_iy25f50: 30rem;
399
+ padding: 0;
400
+ border: 0;
401
+ color: var(--ml_color-text_uyc1fj4);
402
+ background-color: var(--ml_color-surface_uyc1fj1);
403
+ box-shadow: var(--ml_shadow-hairline_uyc1fjv), var(--ml_shadow-floating_uyc1fjx);
404
+ overflow: hidden;
405
+ overscroll-behavior: contain;
406
+ }
407
+ .ml_iy25f51[open] {
408
+ display: flex;
409
+ flex-direction: column;
410
+ }
411
+ .ml_iy25f51::backdrop {
412
+ background-color: var(--ml_color-scrim_uyc1fju);
413
+ backdrop-filter: blur(2px);
414
+ }
415
+ .ml_iy25f51:focus-visible {
416
+ outline: none;
417
+ }
418
+ .ml_placement_center_iy25f52 {
419
+ margin: auto;
420
+ width: min(var(--ml_iy25f50), calc(100vw - 2rem));
421
+ max-height: calc(100dvh - 4rem);
422
+ border-radius: var(--ml_radius-lg_uyc1fj1i);
423
+ }
424
+ .ml_placement_center_iy25f52[data-state="open"] {
425
+ animation: ml_scale-in_ato5m4 var(--ml_motion-duration-settle_uyc1fj27) var(--ml_motion-easing-enter_uyc1fj2a) both;
426
+ }
427
+ .ml_placement_center_iy25f52[data-state="closed"] {
428
+ animation: ml_scale-out_ato5m5 var(--ml_motion-duration-quick_uyc1fj26) var(--ml_motion-easing-exit_uyc1fj2b) both;
429
+ }
430
+ .ml_placement_center_iy25f52[data-state="open"]::backdrop {
431
+ animation: ml_fade-in_ato5m0 var(--ml_motion-duration-settle_uyc1fj27) var(--ml_motion-easing-enter_uyc1fj2a) both;
432
+ }
433
+ .ml_placement_center_iy25f52[data-state="closed"]::backdrop {
434
+ animation: ml_fade-out_ato5m1 var(--ml_motion-duration-quick_uyc1fj26) var(--ml_motion-easing-exit_uyc1fj2b) both;
435
+ }
436
+ .ml_placement_sheet_iy25f53 {
437
+ margin: auto 0 0;
438
+ width: 100%;
439
+ max-width: 100%;
440
+ max-height: 92dvh;
441
+ border-radius: var(--ml_radius-xl_uyc1fj1j) var(--ml_radius-xl_uyc1fj1j) 0 0;
442
+ padding-bottom: env(safe-area-inset-bottom);
443
+ }
444
+ .ml_placement_sheet_iy25f53[data-state="open"] {
445
+ animation: ml_sheet-in_ato5m6 var(--ml_motion-duration-slow_uyc1fj28) var(--ml_motion-easing-enter_uyc1fj2a) both;
446
+ }
447
+ .ml_placement_sheet_iy25f53[data-state="closed"] {
448
+ animation: ml_sheet-out_ato5m7 var(--ml_motion-duration-settle_uyc1fj27) var(--ml_motion-easing-exit_uyc1fj2b) both;
449
+ }
450
+ .ml_placement_sheet_iy25f53[data-state="open"]::backdrop {
451
+ animation: ml_fade-in_ato5m0 var(--ml_motion-duration-settle_uyc1fj27) var(--ml_motion-easing-enter_uyc1fj2a) both;
452
+ }
453
+ .ml_placement_sheet_iy25f53[data-state="closed"]::backdrop {
454
+ animation: ml_fade-out_ato5m1 var(--ml_motion-duration-quick_uyc1fj26) var(--ml_motion-easing-exit_uyc1fj2b) both;
455
+ }
456
+ .ml_placement_auto_iy25f54 {
457
+ margin: auto 0 0;
458
+ width: 100%;
459
+ max-width: 100%;
460
+ max-height: 92dvh;
461
+ border-radius: var(--ml_radius-xl_uyc1fj1j) var(--ml_radius-xl_uyc1fj1j) 0 0;
462
+ padding-bottom: env(safe-area-inset-bottom);
463
+ }
464
+ .ml_placement_auto_iy25f54[data-state="open"] {
465
+ animation: ml_sheet-in_ato5m6 var(--ml_motion-duration-slow_uyc1fj28) var(--ml_motion-easing-enter_uyc1fj2a) both;
466
+ }
467
+ .ml_placement_auto_iy25f54[data-state="closed"] {
468
+ animation: ml_sheet-out_ato5m7 var(--ml_motion-duration-settle_uyc1fj27) var(--ml_motion-easing-exit_uyc1fj2b) both;
469
+ }
470
+ .ml_placement_auto_iy25f54[data-state="open"]::backdrop {
471
+ animation: ml_fade-in_ato5m0 var(--ml_motion-duration-settle_uyc1fj27) var(--ml_motion-easing-enter_uyc1fj2a) both;
472
+ }
473
+ .ml_placement_auto_iy25f54[data-state="closed"]::backdrop {
474
+ animation: ml_fade-out_ato5m1 var(--ml_motion-duration-quick_uyc1fj26) var(--ml_motion-easing-exit_uyc1fj2b) both;
475
+ }
476
+ .ml_size_sm_iy25f55 {
477
+ --ml_iy25f50: 24rem;
478
+ }
479
+ .ml_size_md_iy25f56 {
480
+ --ml_iy25f50: 30rem;
481
+ }
482
+ .ml_size_lg_iy25f57 {
483
+ --ml_iy25f50: 42rem;
484
+ }
485
+ .ml_iy25f58 {
486
+ display: none;
487
+ align-self: center;
488
+ width: 2.25rem;
489
+ height: 5px;
490
+ margin-top: var(--ml_space-3_uyc1fj12);
491
+ border-radius: var(--ml_radius-round_uyc1fj1k);
492
+ background-color: var(--ml_color-border_uyc1fj9);
493
+ flex-shrink: 0;
494
+ }
495
+ .ml_placement_sheet_iy25f53 .ml_iy25f58 {
496
+ display: block;
497
+ }
498
+ .ml_placement_auto_iy25f54 .ml_iy25f58 {
499
+ display: block;
500
+ }
501
+ .ml_iy25f59 {
502
+ display: flex;
503
+ flex-direction: column;
504
+ flex-shrink: 0;
505
+ touch-action: none;
506
+ cursor: grab;
507
+ }
508
+ .ml_placement_center_iy25f52 .ml_iy25f59 {
509
+ touch-action: auto;
510
+ cursor: auto;
511
+ }
512
+ .ml_iy25f5a {
513
+ display: grid;
514
+ gap: var(--ml_space-1_uyc1fj10);
515
+ padding: var(--ml_space-5_uyc1fj14) var(--ml_space-12_uyc1fj18) var(--ml_space-3_uyc1fj12) var(--ml_space-5_uyc1fj14);
516
+ }
517
+ .ml_iy25f5b {
518
+ margin: 0;
519
+ font-size: var(--ml_font-size-lg_uyc1fj1q);
520
+ font-weight: var(--ml_font-weight-strong_uyc1fj1x);
521
+ line-height: var(--ml_font-leading-snug_uyc1fj20);
522
+ letter-spacing: var(--ml_font-tracking-tight_uyc1fj22);
523
+ text-wrap: balance;
524
+ }
525
+ .ml_iy25f5c {
526
+ margin: 0;
527
+ font-size: var(--ml_font-size-sm_uyc1fj1o);
528
+ line-height: var(--ml_font-leading-snug_uyc1fj20);
529
+ color: var(--ml_color-textMuted_uyc1fj5);
530
+ }
531
+ .ml_iy25f5d {
532
+ position: absolute;
533
+ top: var(--ml_space-4_uyc1fj13);
534
+ right: var(--ml_space-4_uyc1fj13);
535
+ }
536
+ .ml_placement_sheet_iy25f53 .ml_iy25f5d {
537
+ top: var(--ml_space-6_uyc1fj15);
538
+ }
539
+ .ml_placement_auto_iy25f54 .ml_iy25f5d {
540
+ top: var(--ml_space-6_uyc1fj15);
541
+ }
542
+ .ml_iy25f5e {
543
+ flex: 1 1 auto;
544
+ min-height: 0;
545
+ overflow-y: auto;
546
+ padding: var(--ml_space-2_uyc1fj11) var(--ml_space-5_uyc1fj14) var(--ml_space-5_uyc1fj14);
547
+ font-size: var(--ml_font-size-md_uyc1fj1p);
548
+ line-height: var(--ml_font-leading-normal_uyc1fj21);
549
+ }
550
+ .ml_iy25f5f {
551
+ display: flex;
552
+ justify-content: flex-end;
553
+ gap: var(--ml_space-2_uyc1fj11);
554
+ flex-shrink: 0;
555
+ padding: var(--ml_space-4_uyc1fj13) var(--ml_space-5_uyc1fj14);
556
+ border-top: 1px solid var(--ml_color-hairline_uyc1fj8);
557
+ }
558
+ .ml_placement_sheet_iy25f53 .ml_iy25f5f {
559
+ flex-direction: column-reverse;
560
+ }
561
+ .ml_placement_auto_iy25f54 .ml_iy25f5f {
562
+ flex-direction: column-reverse;
563
+ }
564
+ @media (prefers-reduced-motion: reduce) {
565
+ .ml_placement_center_iy25f52[data-state="open"] {
566
+ animation: ml_fade-in_ato5m0 var(--ml_motion-duration-quick_uyc1fj26) linear both;
567
+ }
568
+ .ml_placement_center_iy25f52[data-state="closed"] {
569
+ animation: ml_fade-out_ato5m1 var(--ml_motion-duration-instant_uyc1fj25) linear both;
570
+ }
571
+ .ml_placement_center_iy25f52[data-state="open"]::backdrop {
572
+ animation: ml_fade-in_ato5m0 var(--ml_motion-duration-quick_uyc1fj26) linear both;
573
+ }
574
+ .ml_placement_center_iy25f52[data-state="closed"]::backdrop {
575
+ animation: ml_fade-out_ato5m1 var(--ml_motion-duration-instant_uyc1fj25) linear both;
576
+ }
577
+ .ml_placement_sheet_iy25f53[data-state="open"] {
578
+ animation: ml_fade-in_ato5m0 var(--ml_motion-duration-quick_uyc1fj26) linear both;
579
+ }
580
+ .ml_placement_sheet_iy25f53[data-state="closed"] {
581
+ animation: ml_fade-out_ato5m1 var(--ml_motion-duration-instant_uyc1fj25) linear both;
582
+ }
583
+ .ml_placement_sheet_iy25f53[data-state="open"]::backdrop {
584
+ animation: ml_fade-in_ato5m0 var(--ml_motion-duration-quick_uyc1fj26) linear both;
585
+ }
586
+ .ml_placement_sheet_iy25f53[data-state="closed"]::backdrop {
587
+ animation: ml_fade-out_ato5m1 var(--ml_motion-duration-instant_uyc1fj25) linear both;
588
+ }
589
+ .ml_placement_auto_iy25f54[data-state="open"] {
590
+ animation: ml_fade-in_ato5m0 var(--ml_motion-duration-quick_uyc1fj26) linear both;
591
+ }
592
+ .ml_placement_auto_iy25f54[data-state="closed"] {
593
+ animation: ml_fade-out_ato5m1 var(--ml_motion-duration-instant_uyc1fj25) linear both;
594
+ }
595
+ .ml_placement_auto_iy25f54[data-state="open"]::backdrop {
596
+ animation: ml_fade-in_ato5m0 var(--ml_motion-duration-quick_uyc1fj26) linear both;
597
+ }
598
+ .ml_placement_auto_iy25f54[data-state="closed"]::backdrop {
599
+ animation: ml_fade-out_ato5m1 var(--ml_motion-duration-instant_uyc1fj25) linear both;
600
+ }
601
+ }
602
+ @media screen and (min-width: 768px) {
603
+ .ml_placement_auto_iy25f54 {
604
+ margin: auto;
605
+ width: min(var(--ml_iy25f50), calc(100vw - 2rem));
606
+ max-height: calc(100dvh - 4rem);
607
+ border-radius: var(--ml_radius-lg_uyc1fj1i);
608
+ }
609
+ .ml_placement_auto_iy25f54[data-state="open"] {
610
+ animation: ml_scale-in_ato5m4 var(--ml_motion-duration-settle_uyc1fj27) var(--ml_motion-easing-enter_uyc1fj2a) both;
611
+ }
612
+ .ml_placement_auto_iy25f54[data-state="closed"] {
613
+ animation: ml_scale-out_ato5m5 var(--ml_motion-duration-quick_uyc1fj26) var(--ml_motion-easing-exit_uyc1fj2b) both;
614
+ }
615
+ .ml_placement_auto_iy25f54[data-state="open"]::backdrop {
616
+ animation: ml_fade-in_ato5m0 var(--ml_motion-duration-settle_uyc1fj27) var(--ml_motion-easing-enter_uyc1fj2a) both;
617
+ }
618
+ .ml_placement_auto_iy25f54[data-state="closed"]::backdrop {
619
+ animation: ml_fade-out_ato5m1 var(--ml_motion-duration-quick_uyc1fj26) var(--ml_motion-easing-exit_uyc1fj2b) both;
620
+ }
621
+ .ml_placement_auto_iy25f54 .ml_iy25f58 {
622
+ display: none;
623
+ }
624
+ .ml_placement_auto_iy25f54 .ml_iy25f59 {
625
+ touch-action: auto;
626
+ cursor: auto;
627
+ }
628
+ .ml_placement_auto_iy25f54 .ml_iy25f5d {
629
+ top: var(--ml_space-4_uyc1fj13);
630
+ }
631
+ .ml_placement_auto_iy25f54 .ml_iy25f5f {
632
+ flex-direction: row;
633
+ }
634
+ }
635
+ }
636
+ @layer ml-reset;
637
+ @layer ml-theme;
638
+ @layer ml-components;
639
+ @layer ml-utilities;
399
640
  @layer ml-components {
400
641
  .ml_dna79i0 {
401
642
  display: flex;
@@ -416,10 +657,7 @@
416
657
  line-height: var(--ml_font-leading-snug_uyc1fj20);
417
658
  }
418
659
  .ml_dna79i3 {
419
- font-family: var(--ml_font-family-mono_uyc1fj1m);
420
- font-size: 0.6875rem;
421
- letter-spacing: var(--ml_font-tracking-label_uyc1fj24);
422
- text-transform: uppercase;
660
+ font-size: var(--ml_font-size-xs_uyc1fj1n);
423
661
  color: var(--ml_color-textSubtle_uyc1fj6);
424
662
  }
425
663
  .ml_dna79i4 {
@@ -461,8 +699,8 @@
461
699
  color: var(--ml_color-text_uyc1fj4);
462
700
  background-color: var(--ml_color-surface_uyc1fj1);
463
701
  border: 1px solid var(--ml_color-border_uyc1fj9);
464
- border-bottom: 2px solid var(--ml_color-rule_uyc1fja);
465
- border-radius: var(--ml_radius-md_uyc1fj1h) var(--ml_radius-md_uyc1fj1h) var(--ml_radius-xs_uyc1fj1f) var(--ml_radius-xs_uyc1fj1f);
702
+ border-radius: var(--ml_radius-md_uyc1fj1h);
703
+ box-shadow: var(--ml_shadow-raised_uyc1fjw);
466
704
  outline: none;
467
705
  transition-property: border-color, background-color, box-shadow;
468
706
  transition-duration: var(--ml_motion-duration-quick_uyc1fj26);
@@ -473,39 +711,34 @@
473
711
  opacity: 1;
474
712
  }
475
713
  .ml_18bh0930:hover:not(:disabled):not(:focus) {
476
- border-color: var(--ml_color-rule_uyc1fja);
714
+ border-color: color-mix(in oklch, var(--ml_color-border_uyc1fj9), var(--ml_color-text_uyc1fj4) 18%);
477
715
  }
478
716
  .ml_18bh0930:focus {
479
- border-color: var(--ml_color-border_uyc1fj9);
480
- border-bottom-color: var(--ml_color-accent_uyc1fjb);
481
- background-color: color-mix(in oklch, var(--ml_color-surface_uyc1fj1), var(--ml_color-accent_uyc1fjb) 4%);
482
- box-shadow: inset 0 -1px 0 var(--ml_color-accent_uyc1fjb);
483
- }
484
- .ml_18bh0930:focus-visible {
485
- box-shadow: inset 0 -1px 0 var(--ml_color-accent_uyc1fjb), 0 0 0 3px color-mix(in oklch, transparent, var(--ml_color-focus_uyc1fjs) 22%);
717
+ border-color: var(--ml_color-accent_uyc1fjb);
718
+ box-shadow: 0 0 0 3px color-mix(in oklch, var(--ml_color-accent_uyc1fjb) 20%, transparent);
486
719
  }
487
720
  .ml_18bh0930[aria-invalid="true"] {
488
- border-bottom-color: var(--ml_color-danger_uyc1fjh);
489
- background-color: color-mix(in oklch, var(--ml_color-surface_uyc1fj1), var(--ml_color-danger_uyc1fjh) 4%);
721
+ border-color: var(--ml_color-danger_uyc1fjh);
490
722
  }
491
723
  .ml_18bh0930[aria-invalid="true"]:focus {
492
- box-shadow: inset 0 -1px 0 var(--ml_color-danger_uyc1fjh);
724
+ box-shadow: 0 0 0 3px color-mix(in oklch, var(--ml_color-danger_uyc1fjh) 20%, transparent);
493
725
  }
494
726
  .ml_18bh0930:disabled {
495
727
  cursor: not-allowed;
496
728
  color: var(--ml_color-textSubtle_uyc1fj6);
497
729
  background-color: var(--ml_color-surfaceSunken_uyc1fj2);
498
- border-bottom-style: dashed;
730
+ box-shadow: none;
499
731
  }
500
732
  .ml_18bh0930:read-only:not(:disabled) {
501
733
  background-color: var(--ml_color-surfaceSunken_uyc1fj2);
502
- border-bottom-style: dotted;
734
+ box-shadow: none;
503
735
  }
504
736
  .ml_size_sm_18bh0931 {
505
737
  height: 1.875rem;
506
738
  padding-inline: var(--ml_space-2_uyc1fj11);
507
739
  font-size: var(--ml_font-size-sm_uyc1fj1o);
508
740
  gap: var(--ml_space-1_5_uyc1fj1d);
741
+ border-radius: var(--ml_radius-sm_uyc1fj1g);
509
742
  }
510
743
  .ml_size_md_18bh0932 {
511
744
  height: 2.375rem;
@@ -529,6 +762,113 @@
529
762
  @layer ml-theme;
530
763
  @layer ml-components;
531
764
  @layer ml-utilities;
765
+ @layer ml-components {
766
+ .ml_12557yp0 {
767
+ position: fixed;
768
+ inset: auto;
769
+ margin: var(--ml_space-2_uyc1fj11);
770
+ position-try-fallbacks: flip-block, flip-inline, flip-block flip-inline;
771
+ overflow: visible;
772
+ padding: var(--ml_space-3_uyc1fj12) var(--ml_space-4_uyc1fj13);
773
+ max-width: min(20rem, calc(100vw - 2rem));
774
+ color: var(--ml_color-text_uyc1fj4);
775
+ background-color: var(--ml_color-surface_uyc1fj1);
776
+ border: 0;
777
+ border-radius: var(--ml_radius-md_uyc1fj1h);
778
+ box-shadow: var(--ml_shadow-hairline_uyc1fjv), var(--ml_shadow-floating_uyc1fjx);
779
+ font-size: var(--ml_font-size-sm_uyc1fj1o);
780
+ line-height: var(--ml_font-leading-snug_uyc1fj20);
781
+ }
782
+ .ml_12557yp0:popover-open {
783
+ animation: ml_rise-in_ato5m2 var(--ml_motion-duration-quick_uyc1fj26) var(--ml_motion-easing-enter_uyc1fj2a) both;
784
+ }
785
+ .ml_placement_top_12557yp1 {
786
+ position-area: block-start;
787
+ }
788
+ .ml_placement_top-start_12557yp2 {
789
+ position-area: block-start span-inline-end;
790
+ }
791
+ .ml_placement_top-end_12557yp3 {
792
+ position-area: block-start span-inline-start;
793
+ }
794
+ .ml_placement_bottom_12557yp4 {
795
+ position-area: block-end;
796
+ }
797
+ .ml_placement_bottom-start_12557yp5 {
798
+ position-area: block-end span-inline-end;
799
+ }
800
+ .ml_placement_bottom-end_12557yp6 {
801
+ position-area: block-end span-inline-start;
802
+ }
803
+ .ml_placement_start_12557yp7 {
804
+ position-area: inline-start;
805
+ }
806
+ .ml_placement_end_12557yp8 {
807
+ position-area: inline-end;
808
+ }
809
+ .ml_12557yp9 {
810
+ margin: 0 0 var(--ml_space-3_uyc1fj12);
811
+ font-size: var(--ml_font-size-md_uyc1fj1p);
812
+ font-weight: var(--ml_font-weight-strong_uyc1fj1x);
813
+ letter-spacing: var(--ml_font-tracking-tight_uyc1fj22);
814
+ }
815
+ .ml_12557ypa {
816
+ position: fixed;
817
+ inset: auto;
818
+ margin: var(--ml_space-1_5_uyc1fj1d);
819
+ position-try-fallbacks: flip-block, flip-inline, flip-block flip-inline;
820
+ overflow: visible;
821
+ padding: var(--ml_space-1_uyc1fj10) var(--ml_space-2_uyc1fj11);
822
+ max-width: min(16rem, calc(100vw - 2rem));
823
+ color: var(--ml_color-textInverse_uyc1fj7);
824
+ background-color: var(--ml_color-surfaceInverse_uyc1fj3);
825
+ border: 0;
826
+ border-radius: var(--ml_radius-sm_uyc1fj1g);
827
+ box-shadow: var(--ml_shadow-raised_uyc1fjw);
828
+ font-size: var(--ml_font-size-xs_uyc1fj1n);
829
+ line-height: var(--ml_font-leading-snug_uyc1fj20);
830
+ pointer-events: none;
831
+ }
832
+ .ml_12557ypa:popover-open {
833
+ animation: ml_rise-in_ato5m2 var(--ml_motion-duration-quick_uyc1fj26) var(--ml_motion-easing-enter_uyc1fj2a) both;
834
+ }
835
+ .ml_placement_top_12557ypb {
836
+ position-area: block-start;
837
+ }
838
+ .ml_placement_top-start_12557ypc {
839
+ position-area: block-start span-inline-end;
840
+ }
841
+ .ml_placement_top-end_12557ypd {
842
+ position-area: block-start span-inline-start;
843
+ }
844
+ .ml_placement_bottom_12557ype {
845
+ position-area: block-end;
846
+ }
847
+ .ml_placement_bottom-start_12557ypf {
848
+ position-area: block-end span-inline-end;
849
+ }
850
+ .ml_placement_bottom-end_12557ypg {
851
+ position-area: block-end span-inline-start;
852
+ }
853
+ .ml_placement_start_12557yph {
854
+ position-area: inline-start;
855
+ }
856
+ .ml_placement_end_12557ypi {
857
+ position-area: inline-end;
858
+ }
859
+ @media (prefers-reduced-motion: reduce) {
860
+ .ml_12557yp0:popover-open {
861
+ animation: ml_fade-in_ato5m0 var(--ml_motion-duration-instant_uyc1fj25) linear both;
862
+ }
863
+ .ml_12557ypa:popover-open {
864
+ animation: ml_fade-in_ato5m0 var(--ml_motion-duration-instant_uyc1fj25) linear both;
865
+ }
866
+ }
867
+ }
868
+ @layer ml-reset;
869
+ @layer ml-theme;
870
+ @layer ml-components;
871
+ @layer ml-utilities;
532
872
  @layer ml-components {
533
873
  .ml_1pplbdu0 {
534
874
  margin: 0;
@@ -568,9 +908,8 @@
568
908
  line-height: var(--ml_font-leading-snug_uyc1fj20);
569
909
  }
570
910
  .ml_variant_label_1pplbdu7 {
571
- font-family: var(--ml_font-family-mono_uyc1fj1m);
572
911
  font-size: var(--ml_font-size-xs_uyc1fj1n);
573
- font-weight: var(--ml_font-weight-medium_uyc1fj1w);
912
+ font-weight: var(--ml_font-weight-strong_uyc1fj1x);
574
913
  letter-spacing: var(--ml_font-tracking-label_uyc1fj24);
575
914
  text-transform: uppercase;
576
915
  line-height: var(--ml_font-leading-snug_uyc1fj20);
@@ -603,4 +942,160 @@
603
942
  .ml_numeric_true_1pplbdug {
604
943
  font-variant-numeric: tabular-nums;
605
944
  }
945
+ }
946
+ @layer ml-reset;
947
+ @layer ml-theme;
948
+ @layer ml-components;
949
+ @layer ml-utilities;
950
+ @layer ml-components {
951
+ .ml_jxsxlq0 {
952
+ position: fixed;
953
+ z-index: 2147483000;
954
+ inset-inline: var(--ml_space-4_uyc1fj13);
955
+ bottom: max(var(--ml_space-4_uyc1fj13), env(safe-area-inset-bottom));
956
+ display: flex;
957
+ flex-direction: column;
958
+ align-items: center;
959
+ gap: var(--ml_space-2_uyc1fj11);
960
+ margin: 0;
961
+ padding: 0;
962
+ list-style: none;
963
+ pointer-events: none;
964
+ }
965
+ .ml_jxsxlq2 {
966
+ pointer-events: auto;
967
+ display: grid;
968
+ grid-template-columns: auto 1fr auto;
969
+ align-items: start;
970
+ gap: var(--ml_space-1_uyc1fj10) var(--ml_space-3_uyc1fj12);
971
+ width: min(24rem, 100%);
972
+ padding: var(--ml_space-3_uyc1fj12) var(--ml_space-3_uyc1fj12) var(--ml_space-3_uyc1fj12) var(--ml_space-4_uyc1fj13);
973
+ border-radius: var(--ml_radius-md_uyc1fj1h);
974
+ background-color: var(--ml_color-surfaceInverse_uyc1fj3);
975
+ color: var(--ml_color-textInverse_uyc1fj7);
976
+ box-shadow: var(--ml_shadow-floating_uyc1fjx);
977
+ font-size: var(--ml_font-size-sm_uyc1fj1o);
978
+ line-height: var(--ml_font-leading-snug_uyc1fj20);
979
+ }
980
+ .ml_jxsxlq2[data-state="open"] {
981
+ animation: ml_rise-in_ato5m2 var(--ml_motion-duration-settle_uyc1fj27) var(--ml_motion-easing-enter_uyc1fj2a) both;
982
+ }
983
+ .ml_jxsxlq2[data-state="closed"] {
984
+ animation: ml_rise-out_ato5m3 var(--ml_motion-duration-quick_uyc1fj26) var(--ml_motion-easing-exit_uyc1fj2b) both;
985
+ }
986
+ .ml_tone_neutral_jxsxlq3 {
987
+ --ml_jxsxlq1: transparent;
988
+ }
989
+ .ml_tone_accent_jxsxlq4 {
990
+ --ml_jxsxlq1: var(--ml_color-accent_uyc1fjb);
991
+ }
992
+ .ml_tone_success_jxsxlq5 {
993
+ --ml_jxsxlq1: var(--ml_color-success_uyc1fjm);
994
+ }
995
+ .ml_tone_warning_jxsxlq6 {
996
+ --ml_jxsxlq1: var(--ml_color-warning_uyc1fjp);
997
+ }
998
+ .ml_tone_danger_jxsxlq7 {
999
+ --ml_jxsxlq1: var(--ml_color-danger_uyc1fjh);
1000
+ }
1001
+ .ml_jxsxlq8 {
1002
+ width: 0.5rem;
1003
+ height: 0.5rem;
1004
+ margin-top: 0.35rem;
1005
+ background-color: var(--ml_jxsxlq1);
1006
+ }
1007
+ .ml_jxsxlq9 {
1008
+ display: grid;
1009
+ gap: var(--ml_space-0_5_uyc1fj1c);
1010
+ min-width: 0;
1011
+ }
1012
+ .ml_jxsxlqa {
1013
+ font-weight: var(--ml_font-weight-strong_uyc1fj1x);
1014
+ }
1015
+ .ml_jxsxlqb {
1016
+ opacity: 0.78;
1017
+ }
1018
+ .ml_jxsxlqc {
1019
+ outline: none;
1020
+ transition-property: background-color, opacity;
1021
+ transition-duration: var(--ml_motion-duration-quick_uyc1fj26);
1022
+ transition-timing-function: var(--ml_motion-easing-standard_uyc1fj29);
1023
+ appearance: none;
1024
+ border: 0;
1025
+ margin: 0;
1026
+ font: inherit;
1027
+ color: inherit;
1028
+ cursor: pointer;
1029
+ background-color: transparent;
1030
+ border-radius: var(--ml_radius-sm_uyc1fj1g);
1031
+ justify-self: start;
1032
+ margin-top: var(--ml_space-1_uyc1fj10);
1033
+ padding: var(--ml_space-0_5_uyc1fj1c) var(--ml_space-1_uyc1fj10);
1034
+ margin-left: calc(-1 * var(--ml_space-1_uyc1fj10));
1035
+ font-size: var(--ml_font-size-sm_uyc1fj1o);
1036
+ font-weight: var(--ml_font-weight-strong_uyc1fj1x);
1037
+ text-decoration: underline;
1038
+ text-underline-offset: 0.25em;
1039
+ }
1040
+ .ml_jxsxlqc:focus-visible {
1041
+ box-shadow: 0 0 0 2px var(--ml_color-surfaceInverse_uyc1fj3), 0 0 0 4px var(--ml_color-focus_uyc1fjs);
1042
+ }
1043
+ .ml_jxsxlqc:hover {
1044
+ background-color: color-mix(in oklch, currentColor 12%, transparent);
1045
+ }
1046
+ .ml_jxsxlqd {
1047
+ outline: none;
1048
+ transition-property: background-color, opacity;
1049
+ transition-duration: var(--ml_motion-duration-quick_uyc1fj26);
1050
+ transition-timing-function: var(--ml_motion-easing-standard_uyc1fj29);
1051
+ appearance: none;
1052
+ border: 0;
1053
+ margin: 0;
1054
+ font: inherit;
1055
+ color: inherit;
1056
+ cursor: pointer;
1057
+ background-color: transparent;
1058
+ border-radius: var(--ml_radius-sm_uyc1fj1g);
1059
+ display: grid;
1060
+ place-items: center;
1061
+ width: 1.75rem;
1062
+ height: 1.75rem;
1063
+ margin-top: -0.125rem;
1064
+ opacity: 0.7;
1065
+ }
1066
+ .ml_jxsxlqd:focus-visible {
1067
+ box-shadow: 0 0 0 2px var(--ml_color-surfaceInverse_uyc1fj3), 0 0 0 4px var(--ml_color-focus_uyc1fjs);
1068
+ }
1069
+ .ml_jxsxlqd:hover {
1070
+ background-color: color-mix(in oklch, currentColor 12%, transparent);
1071
+ opacity: 1;
1072
+ }
1073
+ @media (prefers-reduced-motion: reduce) {
1074
+ .ml_jxsxlq2[data-state="open"] {
1075
+ animation: ml_fade-in_ato5m0 var(--ml_motion-duration-quick_uyc1fj26) linear both;
1076
+ }
1077
+ .ml_jxsxlq2[data-state="closed"] {
1078
+ animation: ml_fade-out_ato5m1 var(--ml_motion-duration-instant_uyc1fj25) linear both;
1079
+ }
1080
+ .ml_jxsxlqc {
1081
+ transition-duration: 1ms;
1082
+ }
1083
+ .ml_jxsxlqd {
1084
+ transition-duration: 1ms;
1085
+ }
1086
+ }
1087
+ @media screen and (min-width: 768px) {
1088
+ .ml_jxsxlq0 {
1089
+ inset-inline: auto;
1090
+ right: var(--ml_space-6_uyc1fj15);
1091
+ bottom: var(--ml_space-6_uyc1fj15);
1092
+ align-items: flex-end;
1093
+ }
1094
+ .ml_jxsxlq2[data-state="open"] {
1095
+ animation: ml_slide-in-end_ato5m8 var(--ml_motion-duration-settle_uyc1fj27) var(--ml_motion-easing-enter_uyc1fj2a) both;
1096
+ }
1097
+ .ml_jxsxlq2[data-state="closed"] {
1098
+ animation: ml_slide-out-end_ato5m9 var(--ml_motion-duration-quick_uyc1fj26) var(--ml_motion-easing-exit_uyc1fj2b) both;
1099
+ }
1100
+ }
606
1101
  }