dawn-ui-react 1.0.0-alpha → 1.0.0-alpha.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{Input-Br91lfPH.js → Input--h5J-IHe.js} +4 -4
- package/dist/{clamp-C6OCmUfq.js → clamp-XXDcNhZ7.js} +50 -50
- package/dist/{cn-CXogf8HW.js → cn-DWnOBdrm.js} +349 -307
- package/dist/components/badge/badge.d.ts +1 -1
- package/dist/components/badge/badge.types.d.ts +1 -0
- package/dist/components/code-block/code-block-actions.d.ts +2 -0
- package/dist/components/code-block/code-block-copy.d.ts +2 -0
- package/dist/components/code-block/code-block-download.d.ts +2 -0
- package/dist/components/code-block/code-block-header-group.d.ts +2 -0
- package/dist/components/code-block/code-block-header.d.ts +3 -0
- package/dist/components/code-block/code-block-name.d.ts +2 -0
- package/dist/components/code-block/code-block-select.d.ts +2 -0
- package/dist/components/code-block/code-block-tabs.d.ts +2 -0
- package/dist/components/code-block/code-block-window.d.ts +3 -0
- package/dist/components/code-block/code-block.d.ts +3 -0
- package/dist/components/code-block/code-block.types.d.ts +26 -0
- package/dist/components/code-block/index.d.ts +2 -0
- package/dist/components/dialog/index.d.ts +1 -1
- package/dist/components/drawer/drawer-close.d.ts +2 -0
- package/dist/components/drawer/drawer-content.d.ts +2 -0
- package/dist/components/drawer/drawer-description.d.ts +2 -0
- package/dist/components/drawer/drawer-header.d.ts +2 -0
- package/dist/components/drawer/drawer-popup.d.ts +2 -0
- package/dist/components/drawer/drawer-provider.d.ts +2 -0
- package/dist/components/drawer/drawer-title.d.ts +2 -0
- package/dist/components/drawer/drawer-trigger.d.ts +2 -0
- package/dist/components/drawer/drawer.d.ts +2 -0
- package/dist/components/drawer/drawer.types.d.ts +10 -0
- package/dist/components/drawer/index.d.ts +10 -0
- package/dist/components/index.d.ts +2 -0
- package/dist/components/input-otp/index.d.ts +2 -1
- package/dist/components/input-otp/input-otp-separator.d.ts +2 -0
- package/dist/components/input-otp/input-otp-slot.d.ts +1 -1
- package/dist/components/input-otp/input-otp.types.d.ts +4 -3
- package/dist/components/layer-tree/index.d.ts +5 -1
- package/dist/components/layer-tree/layer-tree-body.d.ts +1 -1
- package/dist/components/layer-tree/layer-tree-footer.d.ts +2 -0
- package/dist/components/layer-tree/layer-tree-node-toggle.d.ts +1 -1
- package/dist/components/layer-tree/layer-tree-node.d.ts +1 -1
- package/dist/components/layer-tree/layer-tree-row.d.ts +1 -1
- package/dist/components/layer-tree/layer-tree-search.d.ts +1 -1
- package/dist/components/layer-tree/layer-tree-sort.d.ts +2 -0
- package/dist/components/layer-tree/layer-tree-utils.d.ts +83 -0
- package/dist/components/layer-tree/layer-tree.d.ts +9 -4
- package/dist/components/layer-tree/layer-tree.types.d.ts +16 -5
- package/dist/components/popover/index.d.ts +2 -1
- package/dist/components/popover/popover-button.d.ts +2 -0
- package/dist/components/popover/popover.types.d.ts +2 -0
- package/dist/components/profile/index.d.ts +5 -1
- package/dist/components/profile/profile-action.d.ts +2 -0
- package/dist/components/profile/profile-content.d.ts +2 -0
- package/dist/components/profile/profile-name.d.ts +2 -0
- package/dist/components/profile/profile-subname.d.ts +2 -0
- package/dist/components/profile/profile.d.ts +1 -1
- package/dist/components/profile/profile.types.d.ts +6 -14
- package/dist/components/separator/separator.d.ts +1 -1
- package/dist/components/separator/separator.types.d.ts +3 -1
- package/dist/components/tabs/tabs.types.d.ts +1 -1
- package/dist/dawn-ui-react.js +20673 -10612
- package/dist/dawn-ui-react.umd.cjs +71 -24
- package/dist/{field-input-group-Dcwadst3.js → field-input-group-8FpzC5q3.js} +3 -3
- package/dist/{field-input-group-input-CLQz2SPo.js → field-input-group-input-DZCaKPkV.js} +3 -3
- package/dist/{form-context-CzC_p5DL.js → form-context-D2zlNF0l.js} +529 -509
- package/dist/{input-group-D3zocoNy.js → input-group-Ddhxk-gp.js} +2 -2
- package/dist/{input-group-input-CHby62R-.js → input-group-input-iCeN23U6.js} +2 -2
- package/dist/input.types-oyKEbsbD.js +21 -0
- package/dist/styles.css +149 -118
- package/dist/{useLabelableId-VWw8rfpn.js → useLabelableId-C8TWIYiH.js} +51 -51
- package/package.json +40 -40
- package/dist/field-description-BDRJXMS8.js +0 -12
- package/dist/field-errors-BDUanNiE.js +0 -19
- package/dist/field-input-0WxX-93A.js +0 -58
- package/dist/field-label-DwF_1o76.js +0 -16
- package/dist/field-select-BmvhGVSz.js +0 -2149
- package/dist/field-slider-oL8pDrCe.js +0 -2167
- package/dist/input.types-Dl_61f0y.js +0 -21
- package/dist/rolldown-runtime-CAFD8bLK.js +0 -11
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as e } from "./cn-
|
|
2
|
-
import { t } from "./input.types-
|
|
1
|
+
import { t as e } from "./cn-DWnOBdrm.js";
|
|
2
|
+
import { t } from "./input.types-oyKEbsbD.js";
|
|
3
3
|
import { jsx as n } from "react/jsx-runtime";
|
|
4
4
|
//#region src/components/input-group/input-group.tsx
|
|
5
5
|
var r = ({ variant: r, className: i, children: a, ref: o, ...s }) => /* @__PURE__ */ n("div", {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as e } from "./cn-
|
|
2
|
-
import { t } from "./Input-
|
|
1
|
+
import { t as e } from "./cn-DWnOBdrm.js";
|
|
2
|
+
import { t } from "./Input--h5J-IHe.js";
|
|
3
3
|
import { jsx as n } from "react/jsx-runtime";
|
|
4
4
|
//#region src/components/input-group/input-group-input.tsx
|
|
5
5
|
var r = ({ className: r, ref: i, ...a }) => /* @__PURE__ */ n(t, {
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { _ as e } from "./form-context-D2zlNF0l.js";
|
|
2
|
+
//#region src/components/input/input.types.tsx
|
|
3
|
+
var t = e("group flex w-full items-center rounded-full leading-0 text-ellipsis caret-brand-border-strong outline outline-transparent transition-all placeholder:opacity-60 focus-within:outline-brand-border-strong not-focus-within:hover:outline-border-strong disabled:cursor-not-allowed aria-invalid:bg-error-container aria-invalid:text-error-on-container aria-invalid:caret-error-border-strong aria-invalid:outline-error-border aria-invalid:focus-within:outline-error-border-strong aria-invalid:not-focus-within:hover:outline-error-border data-[disabled=true]:cursor-not-allowed data-[disabled=true]:opacity-50", {
|
|
4
|
+
variants: {
|
|
5
|
+
variant: {
|
|
6
|
+
primary: "bg-surface shadow-2xs",
|
|
7
|
+
secondary: "bg-surface-low"
|
|
8
|
+
},
|
|
9
|
+
size: {
|
|
10
|
+
small: "h-lg gap-3xs px-xs style-text-prose--1",
|
|
11
|
+
medium: "h-xl gap-2xs px-sm style-text-prose-0",
|
|
12
|
+
large: "h-2xl gap-xs px-md style-text-prose-1"
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
defaultVariants: {
|
|
16
|
+
variant: "primary",
|
|
17
|
+
size: "medium"
|
|
18
|
+
}
|
|
19
|
+
});
|
|
20
|
+
//#endregion
|
|
21
|
+
export { t };
|
package/dist/styles.css
CHANGED
|
@@ -405,32 +405,32 @@
|
|
|
405
405
|
--yellow-900: #715212ff;
|
|
406
406
|
--yellow-950: #422f06ff;
|
|
407
407
|
|
|
408
|
-
--dawn-brand-default: light-dark(var(--
|
|
409
|
-
--dawn-brand-muted: light-dark(var(--
|
|
410
|
-
--dawn-brand-subtle: light-dark(var(--
|
|
408
|
+
--dawn-brand-default: light-dark(var(--rose-600), var(--rose-300));
|
|
409
|
+
--dawn-brand-muted: light-dark(var(--rose-700), var(--rose-200));
|
|
410
|
+
--dawn-brand-subtle: light-dark(var(--rose-100), var(--rose-950));
|
|
411
411
|
--dawn-brand-on-default: light-dark(var(--white), var(--neutral-950));
|
|
412
|
-
--dawn-brand-container: light-dark(var(--
|
|
413
|
-
--dawn-brand-container-high: light-dark(var(--
|
|
414
|
-
--dawn-brand-on-container: light-dark(var(--
|
|
415
|
-
--dawn-brand-on-container-muted: light-dark(var(--
|
|
416
|
-
--dawn-brand-border: light-dark(var(--
|
|
417
|
-
--dawn-brand-border-strong: light-dark(var(--
|
|
418
|
-
--dawn-brand-shadow: light-dark(#
|
|
419
|
-
|
|
420
|
-
--dawn-accent-default: light-dark(var(--
|
|
421
|
-
--dawn-accent-muted: light-dark(var(--
|
|
422
|
-
--dawn-accent-subtle: light-dark(var(--
|
|
412
|
+
--dawn-brand-container: light-dark(var(--rose-50), var(--rose-950));
|
|
413
|
+
--dawn-brand-container-high: light-dark(var(--rose-100), var(--rose-900));
|
|
414
|
+
--dawn-brand-on-container: light-dark(var(--rose-900), var(--rose-200));
|
|
415
|
+
--dawn-brand-on-container-muted: light-dark(var(--rose-700), var(--rose-300));
|
|
416
|
+
--dawn-brand-border: light-dark(var(--rose-300), var(--rose-600));
|
|
417
|
+
--dawn-brand-border-strong: light-dark(var(--rose-600), var(--rose-400));
|
|
418
|
+
--dawn-brand-shadow: light-dark(#e11d4840, #fda4b866);
|
|
419
|
+
|
|
420
|
+
--dawn-accent-default: light-dark(var(--violet-600), var(--violet-300));
|
|
421
|
+
--dawn-accent-muted: light-dark(var(--violet-700), var(--violet-200));
|
|
422
|
+
--dawn-accent-subtle: light-dark(var(--violet-100), var(--violet-950));
|
|
423
423
|
--dawn-accent-on-default: light-dark(var(--white), var(--neutral-950));
|
|
424
|
-
--dawn-accent-container: light-dark(var(--
|
|
425
|
-
--dawn-accent-container-high: light-dark(var(--
|
|
426
|
-
--dawn-accent-on-container: light-dark(var(--
|
|
427
|
-
--dawn-accent-on-container-muted: light-dark(var(--
|
|
428
|
-
--dawn-accent-border: light-dark(var(--
|
|
429
|
-
--dawn-accent-border-strong: light-dark(var(--
|
|
430
|
-
--dawn-accent-shadow: light-dark(#
|
|
424
|
+
--dawn-accent-container: light-dark(var(--violet-50), var(--violet-950));
|
|
425
|
+
--dawn-accent-container-high: light-dark(var(--violet-100), var(--violet-900));
|
|
426
|
+
--dawn-accent-on-container: light-dark(var(--violet-900), var(--violet-200));
|
|
427
|
+
--dawn-accent-on-container-muted: light-dark(var(--violet-700), var(--violet-300));
|
|
428
|
+
--dawn-accent-border: light-dark(var(--violet-300), var(--violet-700));
|
|
429
|
+
--dawn-accent-border-strong: light-dark(var(--violet-600), var(--violet-400));
|
|
430
|
+
--dawn-accent-shadow: light-dark(#7c3aed40, #d0b5fd66);
|
|
431
431
|
|
|
432
432
|
--dawn-neutral-default: light-dark(var(--neutral-700), var(--neutral-100));
|
|
433
|
-
--dawn-neutral-muted: light-dark(var(--neutral-800), var(--neutral-
|
|
433
|
+
--dawn-neutral-muted: light-dark(var(--neutral-800), var(--neutral-400));
|
|
434
434
|
--dawn-neutral-subtle: light-dark(var(--neutral-200), var(--neutral-800));
|
|
435
435
|
--dawn-neutral-on-default: light-dark(var(--white), var(--neutral-950));
|
|
436
436
|
--dawn-neutral-container: light-dark(var(--neutral-200), var(--neutral-800));
|
|
@@ -598,182 +598,213 @@
|
|
|
598
598
|
|
|
599
599
|
@layer base {
|
|
600
600
|
body {
|
|
601
|
+
margin: 0;
|
|
601
602
|
background-color: theme(--color-surface-background);
|
|
602
603
|
color: theme(--color-on-surface);
|
|
603
604
|
font-family: var(--font-body);
|
|
604
605
|
font-size: var(--text-base);
|
|
605
606
|
scrollbar-color: theme(--color-accent-default) theme(--color-surface-2);
|
|
606
607
|
}
|
|
608
|
+
button {
|
|
609
|
+
line-height: 0;
|
|
610
|
+
}
|
|
611
|
+
input {
|
|
612
|
+
line-height: 0;
|
|
613
|
+
}
|
|
607
614
|
}
|
|
608
615
|
|
|
609
616
|
@utility shadow-* {
|
|
610
617
|
box-shadow: --value(--shadow-*) var(--dawn-shadow);
|
|
611
618
|
}
|
|
612
619
|
|
|
613
|
-
@utility style-text-* {
|
|
614
|
-
font-family: var(--text-font);
|
|
615
|
-
font-weight: var(--text-weight);
|
|
616
|
-
font-size: var(--text-size);
|
|
617
|
-
line-height: var(--text-leading, normal);
|
|
618
|
-
letter-spacing: normal;
|
|
619
|
-
}
|
|
620
|
-
|
|
621
620
|
@utility style-text-default-5 {
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
621
|
+
font-family: var(--font-body);
|
|
622
|
+
font-weight: 500;
|
|
623
|
+
font-size: var(--text-4xl);
|
|
624
|
+
line-height: normal;
|
|
625
|
+
letter-spacing: normal;
|
|
625
626
|
}
|
|
626
627
|
|
|
627
628
|
@utility style-text-default-4 {
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
629
|
+
font-family: var(--font-body);
|
|
630
|
+
font-weight: 500;
|
|
631
|
+
font-size: var(--text-3xl);
|
|
632
|
+
line-height: normal;
|
|
633
|
+
letter-spacing: normal;
|
|
631
634
|
}
|
|
632
635
|
|
|
633
636
|
@utility style-text-default-3 {
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
+
font-family: var(--font-body);
|
|
638
|
+
font-weight: 500;
|
|
639
|
+
font-size: var(--text-2xl);
|
|
640
|
+
line-height: normal;
|
|
641
|
+
letter-spacing: normal;
|
|
637
642
|
}
|
|
638
643
|
|
|
639
644
|
@utility style-text-default-2 {
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
645
|
+
font-family: var(--font-body);
|
|
646
|
+
font-weight: 500;
|
|
647
|
+
font-size: var(--text-xl);
|
|
648
|
+
line-height: normal;
|
|
649
|
+
letter-spacing: normal;
|
|
643
650
|
}
|
|
644
651
|
|
|
645
652
|
@utility style-text-default-1 {
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
653
|
+
font-family: var(--font-body);
|
|
654
|
+
font-weight: 500;
|
|
655
|
+
font-size: var(--text-lg);
|
|
656
|
+
line-height: normal;
|
|
657
|
+
letter-spacing: normal;
|
|
649
658
|
}
|
|
650
659
|
|
|
651
660
|
@utility style-text-default-0 {
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
661
|
+
font-family: var(--font-body);
|
|
662
|
+
font-weight: 500;
|
|
663
|
+
font-size: var(--text-base);
|
|
664
|
+
line-height: normal;
|
|
665
|
+
letter-spacing: normal;
|
|
655
666
|
}
|
|
656
667
|
|
|
657
668
|
@utility style-text-default--1 {
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
669
|
+
font-family: var(--font-body);
|
|
670
|
+
font-weight: 500;
|
|
671
|
+
font-size: var(--text-sm);
|
|
672
|
+
line-height: normal;
|
|
673
|
+
letter-spacing: normal;
|
|
661
674
|
}
|
|
662
675
|
|
|
663
676
|
@utility style-text-default--2 {
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
677
|
+
font-family: var(--font-body);
|
|
678
|
+
font-weight: 500;
|
|
679
|
+
font-size: var(--text-xs);
|
|
680
|
+
line-height: normal;
|
|
681
|
+
letter-spacing: normal;
|
|
667
682
|
}
|
|
668
683
|
|
|
669
684
|
@utility style-text-prose-5 {
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
685
|
+
font-family: var(--font-body);
|
|
686
|
+
font-weight: 400;
|
|
687
|
+
font-size: var(--text-4xl);
|
|
688
|
+
line-height: 160%;
|
|
689
|
+
letter-spacing: normal;
|
|
674
690
|
}
|
|
675
691
|
|
|
676
692
|
@utility style-text-prose-4 {
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
693
|
+
font-family: var(--font-body);
|
|
694
|
+
font-weight: 400;
|
|
695
|
+
font-size: var(--text-3xl);
|
|
696
|
+
line-height: 160%;
|
|
697
|
+
letter-spacing: normal;
|
|
681
698
|
}
|
|
682
699
|
|
|
683
700
|
@utility style-text-prose-3 {
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
701
|
+
font-family: var(--font-body);
|
|
702
|
+
font-weight: 400;
|
|
703
|
+
font-size: var(--text-2xl);
|
|
704
|
+
line-height: 160%;
|
|
705
|
+
letter-spacing: normal;
|
|
688
706
|
}
|
|
689
707
|
|
|
690
708
|
@utility style-text-prose-2 {
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
709
|
+
font-family: var(--font-body);
|
|
710
|
+
font-weight: 400;
|
|
711
|
+
font-size: var(--text-xl);
|
|
712
|
+
line-height: 160%;
|
|
713
|
+
letter-spacing: normal;
|
|
695
714
|
}
|
|
696
715
|
|
|
697
716
|
@utility style-text-prose-1 {
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
717
|
+
font-family: var(--font-body);
|
|
718
|
+
font-weight: 400;
|
|
719
|
+
font-size: var(--text-lg);
|
|
720
|
+
line-height: 160%;
|
|
721
|
+
letter-spacing: normal;
|
|
702
722
|
}
|
|
703
723
|
|
|
704
724
|
@utility style-text-prose-0 {
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
725
|
+
font-family: var(--font-body);
|
|
726
|
+
font-weight: 400;
|
|
727
|
+
font-size: var(--text-base);
|
|
728
|
+
line-height: 160%;
|
|
729
|
+
letter-spacing: normal;
|
|
709
730
|
}
|
|
710
731
|
|
|
711
732
|
@utility style-text-prose--1 {
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
733
|
+
font-family: var(--font-body);
|
|
734
|
+
font-weight: 400;
|
|
735
|
+
font-size: var(--text-sm);
|
|
736
|
+
line-height: 160%;
|
|
737
|
+
letter-spacing: normal;
|
|
716
738
|
}
|
|
717
739
|
|
|
718
740
|
@utility style-text-prose--2 {
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
741
|
+
font-family: var(--font-body);
|
|
742
|
+
font-weight: 400;
|
|
743
|
+
font-size: var(--text-xs);
|
|
744
|
+
line-height: 160%;
|
|
745
|
+
letter-spacing: normal;
|
|
723
746
|
}
|
|
724
747
|
|
|
725
748
|
@utility style-text-strong-5 {
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
749
|
+
font-family: var(--font-heading);
|
|
750
|
+
font-weight: 700;
|
|
751
|
+
font-size: var(--text-4xl);
|
|
752
|
+
line-height: 120%;
|
|
753
|
+
letter-spacing: normal;
|
|
730
754
|
}
|
|
731
755
|
|
|
732
756
|
@utility style-text-strong-4 {
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
757
|
+
font-family: var(--font-heading);
|
|
758
|
+
font-weight: 700;
|
|
759
|
+
font-size: var(--text-3xl);
|
|
760
|
+
line-height: 120%;
|
|
761
|
+
letter-spacing: normal;
|
|
737
762
|
}
|
|
738
763
|
|
|
739
764
|
@utility style-text-strong-3 {
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
765
|
+
font-family: var(--font-heading);
|
|
766
|
+
font-weight: 700;
|
|
767
|
+
font-size: var(--text-2xl);
|
|
768
|
+
line-height: 120%;
|
|
769
|
+
letter-spacing: normal;
|
|
744
770
|
}
|
|
745
771
|
|
|
746
772
|
@utility style-text-strong-2 {
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
773
|
+
font-family: var(--font-heading);
|
|
774
|
+
font-weight: 700;
|
|
775
|
+
font-size: var(--text-xl);
|
|
776
|
+
line-height: 120%;
|
|
777
|
+
letter-spacing: normal;
|
|
751
778
|
}
|
|
752
779
|
|
|
753
780
|
@utility style-text-strong-1 {
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
781
|
+
font-family: var(--font-heading);
|
|
782
|
+
font-weight: 700;
|
|
783
|
+
font-size: var(--text-lg);
|
|
784
|
+
line-height: 120%;
|
|
785
|
+
letter-spacing: normal;
|
|
758
786
|
}
|
|
759
787
|
|
|
760
788
|
@utility style-text-strong-0 {
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
789
|
+
font-family: var(--font-heading);
|
|
790
|
+
font-weight: 700;
|
|
791
|
+
font-size: var(--text-base);
|
|
792
|
+
line-height: 120%;
|
|
793
|
+
letter-spacing: normal;
|
|
765
794
|
}
|
|
766
795
|
|
|
767
796
|
@utility style-text-strong--1 {
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
797
|
+
font-family: var(--font-heading);
|
|
798
|
+
font-weight: 700;
|
|
799
|
+
font-size: var(--text-sm);
|
|
800
|
+
line-height: 120%;
|
|
801
|
+
letter-spacing: normal;
|
|
772
802
|
}
|
|
773
803
|
|
|
774
804
|
@utility style-text-strong--2 {
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
805
|
+
font-family: var(--font-heading);
|
|
806
|
+
font-weight: 700;
|
|
807
|
+
font-size: var(--text-xs);
|
|
808
|
+
line-height: 120%;
|
|
809
|
+
letter-spacing: normal;
|
|
779
810
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { $ as e, B as t, G as n, I as r, J as i, Q as a, W as o, X as s, Z as c, j as ee } from "./form-context-
|
|
1
|
+
import { $ as e, B as t, G as n, I as r, J as i, Q as a, W as o, X as s, Z as c, j as ee } from "./form-context-D2zlNF0l.js";
|
|
2
2
|
import * as l from "react";
|
|
3
|
-
//#region node_modules/.pnpm/@base-ui+utils@0.2.8_@
|
|
3
|
+
//#region node_modules/.pnpm/@base-ui+utils@0.2.8_@types+react@19.2.14_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@base-ui/utils/esm/useControlled.js
|
|
4
4
|
function u({ controlled: t, default: n, name: r, state: i = "value" }) {
|
|
5
5
|
let { current: a } = l.useRef(t !== void 0), [o, s] = l.useState(n), c = a ? t : o;
|
|
6
6
|
if (process.env.NODE_ENV !== "production") {
|
|
@@ -45,11 +45,11 @@ function d(e) {
|
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
47
|
//#endregion
|
|
48
|
-
//#region node_modules/.pnpm/@base-ui+react@1.4.1_@
|
|
49
|
-
var f = "none", p = "trigger-press", m = "trigger-hover", h = "trigger-focus", g = "outside-press",
|
|
48
|
+
//#region node_modules/.pnpm/@base-ui+react@1.4.1_@types+react@19.2.14_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@base-ui/react/esm/internals/reason-parts.js
|
|
49
|
+
var f = "none", p = "trigger-press", m = "trigger-hover", h = "trigger-focus", g = "outside-press", te = "item-press", _ = "close-press", v = "clear-press", y = "chip-remove-press", b = "track-press", x = "increment-press", S = "decrement-press", ne = "input-change", re = "input-clear", ie = "input-blur", ae = "input-paste", C = "input-press", w = "focus-out", T = "escape-key", E = "close-watcher", D = "list-navigation", O = "keyboard", k = "pointer", A = "drag", j = "scrub", M = "cancel-open", N = "sibling-open", P = "disabled", F = "imperative-action", I = "swipe", L = "window-resize";
|
|
50
50
|
//#endregion
|
|
51
|
-
//#region node_modules/.pnpm/@base-ui+react@1.4.1_@
|
|
52
|
-
function
|
|
51
|
+
//#region node_modules/.pnpm/@base-ui+react@1.4.1_@types+react@19.2.14_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@base-ui/react/esm/internals/createBaseUIEventDetails.js
|
|
52
|
+
function oe(e, t, n, r) {
|
|
53
53
|
let i = !1, a = !1, s = r ?? o;
|
|
54
54
|
return {
|
|
55
55
|
reason: e,
|
|
@@ -70,7 +70,7 @@ function F(e, t, n, r) {
|
|
|
70
70
|
...s
|
|
71
71
|
};
|
|
72
72
|
}
|
|
73
|
-
function
|
|
73
|
+
function R(e, t, n) {
|
|
74
74
|
let r = n ?? o;
|
|
75
75
|
return {
|
|
76
76
|
reason: e,
|
|
@@ -79,35 +79,35 @@ function I(e, t, n) {
|
|
|
79
79
|
};
|
|
80
80
|
}
|
|
81
81
|
//#endregion
|
|
82
|
-
//#region node_modules/.pnpm/@base-ui+utils@0.2.8_@
|
|
83
|
-
var
|
|
84
|
-
function
|
|
82
|
+
//#region node_modules/.pnpm/@base-ui+utils@0.2.8_@types+react@19.2.14_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@base-ui/utils/esm/useId.js
|
|
83
|
+
var z = 0;
|
|
84
|
+
function B(e, t = "mui") {
|
|
85
85
|
let [n, r] = l.useState(e), i = e || n;
|
|
86
86
|
return l.useEffect(() => {
|
|
87
|
-
n ?? (
|
|
87
|
+
n ?? (z += 1, r(`${t}-${z}`));
|
|
88
88
|
}, [n, t]), i;
|
|
89
89
|
}
|
|
90
|
-
var
|
|
91
|
-
function
|
|
92
|
-
if (
|
|
93
|
-
let n =
|
|
90
|
+
var V = t.useId;
|
|
91
|
+
function H(e, t) {
|
|
92
|
+
if (V !== void 0) {
|
|
93
|
+
let n = V();
|
|
94
94
|
return e ?? (t ? `${t}-${n}` : n);
|
|
95
95
|
}
|
|
96
|
-
return
|
|
96
|
+
return B(e, t);
|
|
97
97
|
}
|
|
98
98
|
//#endregion
|
|
99
|
-
//#region node_modules/.pnpm/@base-ui+react@1.4.1_@
|
|
100
|
-
function
|
|
101
|
-
return
|
|
99
|
+
//#region node_modules/.pnpm/@base-ui+react@1.4.1_@types+react@19.2.14_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@base-ui/react/esm/internals/useBaseUiId.js
|
|
100
|
+
function U(e) {
|
|
101
|
+
return H(e, "base-ui");
|
|
102
102
|
}
|
|
103
103
|
//#endregion
|
|
104
|
-
//#region node_modules/.pnpm/@base-ui+react@1.4.1_@
|
|
105
|
-
function
|
|
104
|
+
//#region node_modules/.pnpm/@base-ui+react@1.4.1_@types+react@19.2.14_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@base-ui/react/esm/internals/shadowDom.js
|
|
105
|
+
function W(e) {
|
|
106
106
|
let t = e.activeElement;
|
|
107
107
|
for (; t?.shadowRoot?.activeElement != null;) t = t.shadowRoot.activeElement;
|
|
108
108
|
return t;
|
|
109
109
|
}
|
|
110
|
-
function
|
|
110
|
+
function G(e, t) {
|
|
111
111
|
if (!e || !t) return !1;
|
|
112
112
|
let n = t.getRootNode?.();
|
|
113
113
|
if (e.contains(t)) return !0;
|
|
@@ -120,19 +120,19 @@ function U(e, t) {
|
|
|
120
120
|
}
|
|
121
121
|
return !1;
|
|
122
122
|
}
|
|
123
|
-
function
|
|
123
|
+
function K(e) {
|
|
124
124
|
return "composedPath" in e ? e.composedPath()[0] : e.target;
|
|
125
125
|
}
|
|
126
126
|
//#endregion
|
|
127
|
-
//#region node_modules/.pnpm/@base-ui+utils@0.2.8_@
|
|
128
|
-
function
|
|
127
|
+
//#region node_modules/.pnpm/@base-ui+utils@0.2.8_@types+react@19.2.14_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@base-ui/utils/esm/owner.js
|
|
128
|
+
function q(e) {
|
|
129
129
|
return e?.ownerDocument || document;
|
|
130
130
|
}
|
|
131
131
|
//#endregion
|
|
132
|
-
//#region node_modules/.pnpm/@base-ui+react@1.4.1_@
|
|
133
|
-
var
|
|
132
|
+
//#region node_modules/.pnpm/@base-ui+react@1.4.1_@types+react@19.2.14_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@base-ui/react/esm/field/control/FieldControlDataAttributes.js
|
|
133
|
+
var J = /* @__PURE__ */ function(e) {
|
|
134
134
|
return e.disabled = "data-disabled", e.valid = "data-valid", e.invalid = "data-invalid", e.touched = "data-touched", e.dirty = "data-dirty", e.filled = "data-filled", e.focused = "data-focused", e;
|
|
135
|
-
}({}),
|
|
135
|
+
}({}), se = {
|
|
136
136
|
badInput: !1,
|
|
137
137
|
customError: !1,
|
|
138
138
|
patternMismatch: !1,
|
|
@@ -144,22 +144,22 @@ var K = /* @__PURE__ */ function(e) {
|
|
|
144
144
|
typeMismatch: !1,
|
|
145
145
|
valid: null,
|
|
146
146
|
valueMissing: !1
|
|
147
|
-
},
|
|
147
|
+
}, Y = {
|
|
148
148
|
valid: null,
|
|
149
149
|
touched: !1,
|
|
150
150
|
dirty: !1,
|
|
151
151
|
filled: !1,
|
|
152
152
|
focused: !1
|
|
153
|
-
},
|
|
153
|
+
}, ce = {
|
|
154
154
|
disabled: !1,
|
|
155
|
-
...
|
|
156
|
-
},
|
|
157
|
-
return e === null ? null : e ? { [
|
|
158
|
-
} },
|
|
155
|
+
...Y
|
|
156
|
+
}, le = { valid(e) {
|
|
157
|
+
return e === null ? null : e ? { [J.valid]: "" } : { [J.invalid]: "" };
|
|
158
|
+
} }, X = /* @__PURE__ */ l.createContext({
|
|
159
159
|
invalid: void 0,
|
|
160
160
|
name: void 0,
|
|
161
161
|
validityData: {
|
|
162
|
-
state:
|
|
162
|
+
state: se,
|
|
163
163
|
errors: [],
|
|
164
164
|
error: "",
|
|
165
165
|
value: "",
|
|
@@ -167,19 +167,19 @@ var K = /* @__PURE__ */ function(e) {
|
|
|
167
167
|
},
|
|
168
168
|
setValidityData: n,
|
|
169
169
|
disabled: void 0,
|
|
170
|
-
touched:
|
|
170
|
+
touched: Y.touched,
|
|
171
171
|
setTouched: n,
|
|
172
|
-
dirty:
|
|
172
|
+
dirty: Y.dirty,
|
|
173
173
|
setDirty: n,
|
|
174
|
-
filled:
|
|
174
|
+
filled: Y.filled,
|
|
175
175
|
setFilled: n,
|
|
176
|
-
focused:
|
|
176
|
+
focused: Y.focused,
|
|
177
177
|
setFocused: n,
|
|
178
178
|
validate: () => null,
|
|
179
179
|
validationMode: "onSubmit",
|
|
180
180
|
validationDebounceTime: 0,
|
|
181
181
|
shouldValidateOnChange: () => !1,
|
|
182
|
-
state:
|
|
182
|
+
state: ce,
|
|
183
183
|
markedDirtyRef: { current: !1 },
|
|
184
184
|
registerFieldControl: n,
|
|
185
185
|
validation: {
|
|
@@ -189,16 +189,16 @@ var K = /* @__PURE__ */ function(e) {
|
|
|
189
189
|
commit: async () => {}
|
|
190
190
|
}
|
|
191
191
|
});
|
|
192
|
-
process.env.NODE_ENV !== "production" && (
|
|
193
|
-
function
|
|
194
|
-
let t = l.useContext(
|
|
192
|
+
process.env.NODE_ENV !== "production" && (X.displayName = "FieldRootContext");
|
|
193
|
+
function Z(e = !0) {
|
|
194
|
+
let t = l.useContext(X);
|
|
195
195
|
if (t.setValidityData === n && !e) throw Error(process.env.NODE_ENV === "production" ? i(28) : "Base UI: FieldRootContext is missing. Field parts must be placed within <Field.Root>.");
|
|
196
196
|
return t;
|
|
197
197
|
}
|
|
198
198
|
//#endregion
|
|
199
|
-
//#region node_modules/.pnpm/@base-ui+react@1.4.1_@
|
|
200
|
-
function
|
|
201
|
-
let { enabled: n = !0, getValue: r, id: i, value: a } = t, { registerFieldControl: o } =
|
|
199
|
+
//#region node_modules/.pnpm/@base-ui+react@1.4.1_@types+react@19.2.14_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@base-ui/react/esm/internals/field-register-control/useRegisterFieldControl.js
|
|
200
|
+
function ue(e, t) {
|
|
201
|
+
let { enabled: n = !0, getValue: r, id: i, value: a } = t, { registerFieldControl: o } = Z(), c = l.useRef(null);
|
|
202
202
|
c.current ||= Symbol(), s(() => {
|
|
203
203
|
let t = c.current;
|
|
204
204
|
if (!(!t || !n)) return o(t, {
|
|
@@ -219,7 +219,7 @@ function Z(e, t) {
|
|
|
219
219
|
]);
|
|
220
220
|
}
|
|
221
221
|
//#endregion
|
|
222
|
-
//#region node_modules/.pnpm/@base-ui+react@1.4.1_@
|
|
222
|
+
//#region node_modules/.pnpm/@base-ui+react@1.4.1_@types+react@19.2.14_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@base-ui/react/esm/internals/labelable-provider/LabelableContext.js
|
|
223
223
|
var Q = /* @__PURE__ */ l.createContext({
|
|
224
224
|
controlId: void 0,
|
|
225
225
|
registerControlId: n,
|
|
@@ -234,9 +234,9 @@ function $() {
|
|
|
234
234
|
return l.useContext(Q);
|
|
235
235
|
}
|
|
236
236
|
//#endregion
|
|
237
|
-
//#region node_modules/.pnpm/@base-ui+react@1.4.1_@
|
|
238
|
-
function
|
|
239
|
-
let { id: t, implicit: r = !1, controlRef: i } = e, { controlId: o, registerControlId: u } = $(), d =
|
|
237
|
+
//#region node_modules/.pnpm/@base-ui+react@1.4.1_@types+react@19.2.14_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@base-ui/react/esm/internals/labelable-provider/useLabelableId.js
|
|
238
|
+
function de(e = {}) {
|
|
239
|
+
let { id: t, implicit: r = !1, controlRef: i } = e, { controlId: o, registerControlId: u } = $(), d = U(t), f = r ? o : void 0, p = a(() => Symbol("labelable-control")), m = l.useRef(!1), h = l.useRef(t != null), g = c(() => {
|
|
240
240
|
!m.current || u === n || (m.current = !1, u(p.current, void 0));
|
|
241
241
|
});
|
|
242
242
|
return s(() => {
|
|
@@ -268,4 +268,4 @@ function le(e = {}) {
|
|
|
268
268
|
]), l.useEffect(() => g, [g]), o ?? d;
|
|
269
269
|
}
|
|
270
270
|
//#endregion
|
|
271
|
-
export {
|
|
271
|
+
export { ae as A, I as B, T as C, ie as D, x as E, f as F, L as G, h as H, g as I, u as K, k as L, te as M, O as N, ne as O, D as P, j as R, A as S, F as T, m as U, b as V, p as W, v as _, Y as a, S as b, W as c, U as d, H as f, y as g, M as h, Z as i, C as j, re as k, G as l, R as m, $ as n, le as o, oe as p, ue as r, q as s, de as t, K as u, _ as v, w, P as x, E as y, N as z };
|