@deepnoid/ui 0.1.26 → 0.1.28
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/.turbo/turbo-build.log +170 -166
- package/dist/{chunk-MSAULFDB.mjs → chunk-272FMLIL.mjs} +17 -17
- package/dist/{chunk-3IU2RPSM.mjs → chunk-2SDYFOZL.mjs} +46 -35
- package/dist/{chunk-HWL7TPUN.mjs → chunk-2TKEWFGH.mjs} +1 -1
- package/dist/chunk-4OSN2OE2.mjs +178 -0
- package/dist/chunk-6TIIBU7J.mjs +35 -0
- package/dist/{chunk-Q72LZAPG.mjs → chunk-A7RU3FU5.mjs} +1 -1
- package/dist/{chunk-P5PJTJLY.mjs → chunk-BEQ3KZGS.mjs} +19 -19
- package/dist/{chunk-IRAHS4WS.mjs → chunk-G67WUZO3.mjs} +1 -1
- package/dist/{chunk-YBDA3WQP.mjs → chunk-IBI3OVQI.mjs} +1 -1
- package/dist/{chunk-BQUZRVYW.mjs → chunk-JTZUXVOU.mjs} +1 -1
- package/dist/{chunk-6OMHIMIA.mjs → chunk-JV7VLO2L.mjs} +2 -2
- package/dist/{chunk-B3DFSXGC.mjs → chunk-K7VUN5BS.mjs} +2 -2
- package/dist/{chunk-DLQFMOBN.mjs → chunk-KYJTZPXY.mjs} +1 -1
- package/dist/{chunk-OUAKGMDW.mjs → chunk-MEY4IL7D.mjs} +1 -1
- package/dist/{chunk-SCFTSNCK.mjs → chunk-NHVIKP4H.mjs} +6 -6
- package/dist/{chunk-PMMTMYRI.mjs → chunk-QIEKOGY7.mjs} +1 -1
- package/dist/{chunk-QY7LYAXT.mjs → chunk-RT3S3VVJ.mjs} +2 -2
- package/dist/{chunk-IVK24VIL.mjs → chunk-SO7BGWM7.mjs} +2 -2
- package/dist/{chunk-XQGD4ZIX.mjs → chunk-SP3JVQY3.mjs} +1 -1
- package/dist/{chunk-EAK5DVWA.mjs → chunk-UNH3BCGN.mjs} +8 -1
- package/dist/{chunk-6HX3PPL6.mjs → chunk-WLNLVX7Q.mjs} +1 -1
- package/dist/components/avatar/avatar.js +46 -35
- package/dist/components/avatar/avatar.mjs +2 -2
- package/dist/components/avatar/index.js +46 -35
- package/dist/components/avatar/index.mjs +2 -2
- package/dist/components/breadcrumb/breadcrumb.js +46 -35
- package/dist/components/breadcrumb/breadcrumb.mjs +5 -5
- package/dist/components/breadcrumb/index.js +46 -35
- package/dist/components/breadcrumb/index.mjs +5 -5
- package/dist/components/button/button.js +46 -35
- package/dist/components/button/button.mjs +3 -3
- package/dist/components/button/icon-button.js +46 -35
- package/dist/components/button/icon-button.mjs +3 -3
- package/dist/components/button/index.js +46 -35
- package/dist/components/button/index.mjs +4 -4
- package/dist/components/chip/chip.js +46 -35
- package/dist/components/chip/chip.mjs +3 -3
- package/dist/components/chip/index.js +46 -35
- package/dist/components/chip/index.mjs +3 -3
- package/dist/components/dateTimePicker/calendar.js +46 -35
- package/dist/components/dateTimePicker/calendar.mjs +3 -3
- package/dist/components/dateTimePicker/dateTimePicker.js +46 -35
- package/dist/components/dateTimePicker/dateTimePicker.mjs +9 -9
- package/dist/components/dateTimePicker/index.js +46 -35
- package/dist/components/dateTimePicker/index.mjs +9 -9
- package/dist/components/dateTimePicker/timePicker.js +46 -35
- package/dist/components/dateTimePicker/timePicker.mjs +5 -5
- package/dist/components/icon/Icon.d.mts +9 -5
- package/dist/components/icon/Icon.d.ts +9 -5
- package/dist/components/icon/Icon.js +46 -35
- package/dist/components/icon/Icon.mjs +2 -2
- package/dist/components/icon/index.js +46 -35
- package/dist/components/icon/index.mjs +2 -2
- package/dist/components/icon/template.d.mts +3 -2
- package/dist/components/icon/template.d.ts +3 -2
- package/dist/components/icon/template.js +46 -35
- package/dist/components/icon/template.mjs +1 -1
- package/dist/components/input/index.js +64 -53
- package/dist/components/input/index.mjs +3 -3
- package/dist/components/input/input.d.mts +44 -44
- package/dist/components/input/input.d.ts +44 -44
- package/dist/components/input/input.js +64 -53
- package/dist/components/input/input.mjs +3 -3
- package/dist/components/list/index.js +46 -35
- package/dist/components/list/index.mjs +4 -4
- package/dist/components/list/listItem.js +46 -35
- package/dist/components/list/listItem.mjs +4 -4
- package/dist/components/modal/index.js +46 -35
- package/dist/components/modal/index.mjs +5 -5
- package/dist/components/modal/modal.js +46 -35
- package/dist/components/modal/modal.mjs +5 -5
- package/dist/components/pagination/index.js +64 -53
- package/dist/components/pagination/index.mjs +4 -4
- package/dist/components/pagination/pagination.js +64 -53
- package/dist/components/pagination/pagination.mjs +4 -4
- package/dist/components/select/index.js +62 -51
- package/dist/components/select/index.mjs +3 -3
- package/dist/components/select/select.d.mts +38 -38
- package/dist/components/select/select.d.ts +38 -38
- package/dist/components/select/select.js +62 -51
- package/dist/components/select/select.mjs +3 -3
- package/dist/components/table/definition-table.d.mts +51 -0
- package/dist/components/table/definition-table.d.ts +51 -0
- package/dist/components/table/definition-table.js +351 -0
- package/dist/components/table/definition-table.mjs +9 -0
- package/dist/components/table/form-table.d.mts +1 -1
- package/dist/components/table/form-table.d.ts +1 -1
- package/dist/components/table/form-table.mjs +43 -3
- package/dist/components/table/index.d.mts +1 -1
- package/dist/components/table/index.d.ts +1 -1
- package/dist/components/table/index.js +86 -82
- package/dist/components/table/index.mjs +9 -9
- package/dist/components/table/table-head.js +8 -1
- package/dist/components/table/table-head.mjs +1 -1
- package/dist/components/table/table.js +72 -54
- package/dist/components/table/table.mjs +6 -6
- package/dist/components/toast/index.js +46 -35
- package/dist/components/toast/index.mjs +4 -4
- package/dist/components/toast/toast.js +46 -35
- package/dist/components/toast/toast.mjs +3 -3
- package/dist/components/toast/use-toast.js +46 -35
- package/dist/components/toast/use-toast.mjs +4 -4
- package/dist/components/tree/index.d.mts +1 -0
- package/dist/components/tree/index.d.ts +1 -0
- package/dist/components/tree/index.js +170 -84
- package/dist/components/tree/index.mjs +3 -3
- package/dist/components/tree/tree.d.mts +17 -10
- package/dist/components/tree/tree.d.ts +17 -10
- package/dist/components/tree/tree.js +175 -84
- package/dist/components/tree/tree.mjs +5 -3
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +226 -147
- package/dist/index.mjs +31 -31
- package/package.json +1 -1
- package/dist/chunk-ICZTNO4V.mjs +0 -49
- package/dist/chunk-TEQ723QO.mjs +0 -102
|
@@ -865,22 +865,61 @@ var template = {
|
|
|
865
865
|
}
|
|
866
866
|
);
|
|
867
867
|
},
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
868
|
+
plus: ({ className }) => {
|
|
869
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
|
|
870
|
+
"svg",
|
|
871
|
+
{
|
|
872
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
873
|
+
width: "18",
|
|
874
|
+
height: "18",
|
|
875
|
+
viewBox: "0 0 18 18",
|
|
876
|
+
fill: "none",
|
|
877
|
+
className,
|
|
878
|
+
children: [
|
|
879
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { d: "M4.5 9H13.5", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
880
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { d: "M9 13.5V4.5", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round" })
|
|
881
|
+
]
|
|
882
|
+
}
|
|
883
|
+
);
|
|
884
|
+
},
|
|
885
|
+
minus: ({ className }) => {
|
|
871
886
|
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
872
887
|
"svg",
|
|
873
888
|
{
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
889
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
890
|
+
width: "18",
|
|
891
|
+
height: "18",
|
|
892
|
+
viewBox: "0 0 18 18",
|
|
877
893
|
fill: "none",
|
|
894
|
+
className,
|
|
895
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { d: "M4.5 9H13.5", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round" })
|
|
896
|
+
}
|
|
897
|
+
);
|
|
898
|
+
},
|
|
899
|
+
pencil: ({ className }) => {
|
|
900
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
901
|
+
"svg",
|
|
902
|
+
{
|
|
878
903
|
xmlns: "http://www.w3.org/2000/svg",
|
|
904
|
+
width: "18",
|
|
905
|
+
height: "18",
|
|
906
|
+
viewBox: "0 0 18 18",
|
|
907
|
+
fill: "none",
|
|
879
908
|
className,
|
|
880
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
909
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
910
|
+
"path",
|
|
911
|
+
{
|
|
912
|
+
d: "M12.6465 3.36525L13.9117 2.09925C14.1755 1.83549 14.5332 1.68732 14.9062 1.68732C15.2793 1.68732 15.637 1.83549 15.9008 2.09925C16.1645 2.36301 16.3127 2.72074 16.3127 3.09375C16.3127 3.46676 16.1645 3.82449 15.9008 4.08825L7.9365 12.0525C7.53999 12.4488 7.05102 12.74 6.51375 12.9L4.5 13.5L5.1 11.4863C5.25996 10.949 5.55123 10.46 5.9475 10.0635L12.6465 3.36525ZM12.6465 3.36525L14.625 5.34375M13.5 10.5V14.0625C13.5 14.5101 13.3222 14.9393 13.0057 15.2557C12.6893 15.5722 12.2601 15.75 11.8125 15.75H3.9375C3.48995 15.75 3.06072 15.5722 2.74426 15.2557C2.42779 14.9393 2.25 14.5101 2.25 14.0625V6.1875C2.25 5.73995 2.42779 5.31073 2.74426 4.99426C3.06072 4.67779 3.48995 4.5 3.9375 4.5H7.5",
|
|
913
|
+
stroke: "currentColor",
|
|
914
|
+
strokeLinecap: "round",
|
|
915
|
+
strokeLinejoin: "round"
|
|
916
|
+
}
|
|
917
|
+
)
|
|
881
918
|
}
|
|
882
919
|
);
|
|
883
920
|
},
|
|
921
|
+
// ----------------------------------- old ---------------------------------
|
|
922
|
+
// ** Status **
|
|
884
923
|
check: ({ className, fill }) => {
|
|
885
924
|
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
886
925
|
"svg",
|
|
@@ -2527,34 +2566,6 @@ var template = {
|
|
|
2527
2566
|
}
|
|
2528
2567
|
);
|
|
2529
2568
|
},
|
|
2530
|
-
pencil: ({ className, fill }) => {
|
|
2531
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
2532
|
-
"svg",
|
|
2533
|
-
{
|
|
2534
|
-
width: "24",
|
|
2535
|
-
height: "24",
|
|
2536
|
-
viewBox: "0 0 24 24",
|
|
2537
|
-
fill: "none",
|
|
2538
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
2539
|
-
className,
|
|
2540
|
-
children: fill ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
2541
|
-
"path",
|
|
2542
|
-
{
|
|
2543
|
-
d: "M21.7313 2.26918C21.239 1.77699 20.5714 1.50049 19.8753 1.50049C19.1791 1.50049 18.5115 1.77699 18.0193 2.26918L16.8623 3.42618L20.5743 7.13818L21.7313 5.98118C22.2234 5.48891 22.4999 4.8213 22.4999 4.12518C22.4999 3.42906 22.2234 2.76145 21.7313 2.26918ZM19.5133 8.19918L15.8013 4.48718L3.65125 16.6372C3.03411 17.254 2.58043 18.015 2.33125 18.8512L1.53125 21.5362C1.49263 21.6657 1.48975 21.8033 1.52292 21.9344C1.55608 22.0655 1.62407 22.1852 1.71967 22.2808C1.81527 22.3764 1.93494 22.4443 2.06601 22.4775C2.19709 22.5107 2.33469 22.5078 2.46425 22.4692L5.14925 21.6692C5.98548 21.42 6.74642 20.9663 7.36325 20.3492L19.5133 8.19918Z",
|
|
2544
|
-
fill: "currentColor"
|
|
2545
|
-
}
|
|
2546
|
-
) : /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
2547
|
-
"path",
|
|
2548
|
-
{
|
|
2549
|
-
d: "M16.862 4.487L18.549 2.799C18.9007 2.44733 19.3777 2.24976 19.875 2.24976C20.3723 2.24976 20.8493 2.44733 21.201 2.799C21.5527 3.15068 21.7502 3.62766 21.7502 4.125C21.7502 4.62235 21.5527 5.09933 21.201 5.451L6.832 19.82C6.30332 20.3484 5.65137 20.7367 4.935 20.95L2.25 21.75L3.05 19.065C3.26328 18.3486 3.65163 17.6967 4.18 17.168L16.863 4.487H16.862ZM16.862 4.487L19.5 7.125",
|
|
2550
|
-
stroke: "currentColor",
|
|
2551
|
-
strokeLinecap: "round",
|
|
2552
|
-
strokeLinejoin: "round"
|
|
2553
|
-
}
|
|
2554
|
-
)
|
|
2555
|
-
}
|
|
2556
|
-
);
|
|
2557
|
-
},
|
|
2558
2569
|
"pencil-square": ({ className, fill }) => {
|
|
2559
2570
|
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
2560
2571
|
"svg",
|
|
@@ -4365,8 +4376,8 @@ var Select = (0, import_react.forwardRef)((originalProps, ref) => {
|
|
|
4365
4376
|
const {
|
|
4366
4377
|
label,
|
|
4367
4378
|
options,
|
|
4368
|
-
|
|
4369
|
-
|
|
4379
|
+
helperMessage,
|
|
4380
|
+
errorMessage,
|
|
4370
4381
|
classNames,
|
|
4371
4382
|
defaultSelectedOptions = [],
|
|
4372
4383
|
onChange,
|
|
@@ -4494,8 +4505,8 @@ var Select = (0, import_react.forwardRef)((originalProps, ref) => {
|
|
|
4494
4505
|
]
|
|
4495
4506
|
}
|
|
4496
4507
|
),
|
|
4497
|
-
|
|
4498
|
-
|
|
4508
|
+
helperMessage && !errorMessage && /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("p", { className: slots.helperMessage({ class: classNames == null ? void 0 : classNames.helperMessage }), children: helperMessage }),
|
|
4509
|
+
errorMessage && /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("p", { className: clsx("error", slots.errorMessage({ class: classNames == null ? void 0 : classNames.errorMessage })), children: errorMessage })
|
|
4499
4510
|
] })
|
|
4500
4511
|
]
|
|
4501
4512
|
}
|
|
@@ -4567,8 +4578,8 @@ var select = tv({
|
|
|
4567
4578
|
],
|
|
4568
4579
|
optionsWrapper: ["border", "rounded", "bg-white", "shadow", "overflow-auto"],
|
|
4569
4580
|
option: ["flex", "justify-between", "items-center", "cursor-pointer"],
|
|
4570
|
-
|
|
4571
|
-
|
|
4581
|
+
helperMessage: ["text-neutral-main"],
|
|
4582
|
+
errorMessage: ["text-danger-main"],
|
|
4572
4583
|
readonly: ["pointer-events-none", "!bg-trans-soft"]
|
|
4573
4584
|
},
|
|
4574
4585
|
variants: {
|
|
@@ -4591,8 +4602,8 @@ var select = tv({
|
|
|
4591
4602
|
selectWrapper: ["w-[240px]", "h-[24px]", "rounded-sm", "px-[4px]"],
|
|
4592
4603
|
select: ["text-sm"],
|
|
4593
4604
|
option: ["px-[4px]", "py-[3px]", "text-sm"],
|
|
4594
|
-
|
|
4595
|
-
|
|
4605
|
+
helperMessage: ["text-sm"],
|
|
4606
|
+
errorMessage: ["text-sm"]
|
|
4596
4607
|
},
|
|
4597
4608
|
md: {
|
|
4598
4609
|
base: ["text-md", "gap-[6px]", "rounded-md"],
|
|
@@ -4601,8 +4612,8 @@ var select = tv({
|
|
|
4601
4612
|
selectWrapper: ["w-[240px]", "h-[32px]", "rounded-md", "px-[6px]"],
|
|
4602
4613
|
select: ["text-md"],
|
|
4603
4614
|
option: ["px-[6px]", "py-[5.5px]", "text-md"],
|
|
4604
|
-
|
|
4605
|
-
|
|
4615
|
+
helperMessage: ["text-sm"],
|
|
4616
|
+
errorMessage: ["text-sm"]
|
|
4606
4617
|
},
|
|
4607
4618
|
lg: {
|
|
4608
4619
|
base: ["text-lg", "gap-[8px]"],
|
|
@@ -4611,8 +4622,8 @@ var select = tv({
|
|
|
4611
4622
|
selectWrapper: ["w-[240px]", "h-[40px]", "rounded-lg", "px-[8px]"],
|
|
4612
4623
|
select: ["text-lg"],
|
|
4613
4624
|
option: ["px-[8px]", "py-[8px]", "text-lg"],
|
|
4614
|
-
|
|
4615
|
-
|
|
4625
|
+
helperMessage: ["text-md"],
|
|
4626
|
+
errorMessage: ["text-md"]
|
|
4616
4627
|
},
|
|
4617
4628
|
xl: {
|
|
4618
4629
|
base: ["text-xl", "gap-[10px]"],
|
|
@@ -4621,8 +4632,8 @@ var select = tv({
|
|
|
4621
4632
|
selectWrapper: ["w-[240px]", "h-[50px]", "rounded-lg", "px-[10px]"],
|
|
4622
4633
|
select: ["text-xl"],
|
|
4623
4634
|
option: ["px-[10px]", "py-[11.5px]"],
|
|
4624
|
-
|
|
4625
|
-
|
|
4635
|
+
helperMessage: ["text-md"],
|
|
4636
|
+
errorMessage: ["text-md"]
|
|
4626
4637
|
}
|
|
4627
4638
|
},
|
|
4628
4639
|
direction: {
|
|
@@ -4652,8 +4663,8 @@ var select = tv({
|
|
|
4652
4663
|
"group-has-[p.error]/select:text-danger-light",
|
|
4653
4664
|
"group-has-[p.error]/select:placeholder:text-danger-light"
|
|
4654
4665
|
],
|
|
4655
|
-
|
|
4656
|
-
|
|
4666
|
+
helperMessage: ["!text-neutral-light"],
|
|
4667
|
+
errorMessage: ["!text-danger-light"]
|
|
4657
4668
|
}
|
|
4658
4669
|
},
|
|
4659
4670
|
isSelected: {
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
import "../../chunk-QCEKPS7U.mjs";
|
|
3
3
|
import {
|
|
4
4
|
select_default
|
|
5
|
-
} from "../../chunk-
|
|
5
|
+
} from "../../chunk-272FMLIL.mjs";
|
|
6
6
|
import "../../chunk-ZYIIXWVY.mjs";
|
|
7
|
-
import "../../chunk-
|
|
8
|
-
import "../../chunk-
|
|
7
|
+
import "../../chunk-2TKEWFGH.mjs";
|
|
8
|
+
import "../../chunk-2SDYFOZL.mjs";
|
|
9
9
|
import "../../chunk-4ZJFD3L3.mjs";
|
|
10
10
|
import "../../chunk-27Y6K5NK.mjs";
|
|
11
11
|
import "../../chunk-E3G5QXSH.mjs";
|
|
@@ -12,8 +12,8 @@ interface Props extends Omit<ComponentPropsWithRef<"input">, "onChange" | keyof
|
|
|
12
12
|
options: SelectOption[];
|
|
13
13
|
defaultSelectedOptions?: SelectOption[];
|
|
14
14
|
label?: string;
|
|
15
|
-
|
|
16
|
-
|
|
15
|
+
helperMessage?: string;
|
|
16
|
+
errorMessage?: string;
|
|
17
17
|
classNames?: SlotsToClasses<SelectSlots>;
|
|
18
18
|
onChange?: (options: SelectOption[]) => void;
|
|
19
19
|
multiple?: boolean;
|
|
@@ -41,8 +41,8 @@ declare const select: tailwind_variants.TVReturnType<{
|
|
|
41
41
|
selectWrapper: string[];
|
|
42
42
|
select: string[];
|
|
43
43
|
option: string[];
|
|
44
|
-
|
|
45
|
-
|
|
44
|
+
helperMessage: string[];
|
|
45
|
+
errorMessage: string[];
|
|
46
46
|
};
|
|
47
47
|
md: {
|
|
48
48
|
base: string[];
|
|
@@ -51,8 +51,8 @@ declare const select: tailwind_variants.TVReturnType<{
|
|
|
51
51
|
selectWrapper: string[];
|
|
52
52
|
select: string[];
|
|
53
53
|
option: string[];
|
|
54
|
-
|
|
55
|
-
|
|
54
|
+
helperMessage: string[];
|
|
55
|
+
errorMessage: string[];
|
|
56
56
|
};
|
|
57
57
|
lg: {
|
|
58
58
|
base: string[];
|
|
@@ -61,8 +61,8 @@ declare const select: tailwind_variants.TVReturnType<{
|
|
|
61
61
|
selectWrapper: string[];
|
|
62
62
|
select: string[];
|
|
63
63
|
option: string[];
|
|
64
|
-
|
|
65
|
-
|
|
64
|
+
helperMessage: string[];
|
|
65
|
+
errorMessage: string[];
|
|
66
66
|
};
|
|
67
67
|
xl: {
|
|
68
68
|
base: string[];
|
|
@@ -71,8 +71,8 @@ declare const select: tailwind_variants.TVReturnType<{
|
|
|
71
71
|
selectWrapper: string[];
|
|
72
72
|
select: string[];
|
|
73
73
|
option: string[];
|
|
74
|
-
|
|
75
|
-
|
|
74
|
+
helperMessage: string[];
|
|
75
|
+
errorMessage: string[];
|
|
76
76
|
};
|
|
77
77
|
};
|
|
78
78
|
direction: {
|
|
@@ -91,8 +91,8 @@ declare const select: tailwind_variants.TVReturnType<{
|
|
|
91
91
|
base: string[];
|
|
92
92
|
selectWrapper: string[];
|
|
93
93
|
select: string[];
|
|
94
|
-
|
|
95
|
-
|
|
94
|
+
helperMessage: string[];
|
|
95
|
+
errorMessage: string[];
|
|
96
96
|
};
|
|
97
97
|
};
|
|
98
98
|
isSelected: {
|
|
@@ -109,8 +109,8 @@ declare const select: tailwind_variants.TVReturnType<{
|
|
|
109
109
|
select: string[];
|
|
110
110
|
optionsWrapper: string[];
|
|
111
111
|
option: string[];
|
|
112
|
-
|
|
113
|
-
|
|
112
|
+
helperMessage: string[];
|
|
113
|
+
errorMessage: string[];
|
|
114
114
|
readonly: string[];
|
|
115
115
|
}, undefined, {
|
|
116
116
|
color: {
|
|
@@ -132,8 +132,8 @@ declare const select: tailwind_variants.TVReturnType<{
|
|
|
132
132
|
selectWrapper: string[];
|
|
133
133
|
select: string[];
|
|
134
134
|
option: string[];
|
|
135
|
-
|
|
136
|
-
|
|
135
|
+
helperMessage: string[];
|
|
136
|
+
errorMessage: string[];
|
|
137
137
|
};
|
|
138
138
|
md: {
|
|
139
139
|
base: string[];
|
|
@@ -142,8 +142,8 @@ declare const select: tailwind_variants.TVReturnType<{
|
|
|
142
142
|
selectWrapper: string[];
|
|
143
143
|
select: string[];
|
|
144
144
|
option: string[];
|
|
145
|
-
|
|
146
|
-
|
|
145
|
+
helperMessage: string[];
|
|
146
|
+
errorMessage: string[];
|
|
147
147
|
};
|
|
148
148
|
lg: {
|
|
149
149
|
base: string[];
|
|
@@ -152,8 +152,8 @@ declare const select: tailwind_variants.TVReturnType<{
|
|
|
152
152
|
selectWrapper: string[];
|
|
153
153
|
select: string[];
|
|
154
154
|
option: string[];
|
|
155
|
-
|
|
156
|
-
|
|
155
|
+
helperMessage: string[];
|
|
156
|
+
errorMessage: string[];
|
|
157
157
|
};
|
|
158
158
|
xl: {
|
|
159
159
|
base: string[];
|
|
@@ -162,8 +162,8 @@ declare const select: tailwind_variants.TVReturnType<{
|
|
|
162
162
|
selectWrapper: string[];
|
|
163
163
|
select: string[];
|
|
164
164
|
option: string[];
|
|
165
|
-
|
|
166
|
-
|
|
165
|
+
helperMessage: string[];
|
|
166
|
+
errorMessage: string[];
|
|
167
167
|
};
|
|
168
168
|
};
|
|
169
169
|
direction: {
|
|
@@ -182,8 +182,8 @@ declare const select: tailwind_variants.TVReturnType<{
|
|
|
182
182
|
base: string[];
|
|
183
183
|
selectWrapper: string[];
|
|
184
184
|
select: string[];
|
|
185
|
-
|
|
186
|
-
|
|
185
|
+
helperMessage: string[];
|
|
186
|
+
errorMessage: string[];
|
|
187
187
|
};
|
|
188
188
|
};
|
|
189
189
|
isSelected: {
|
|
@@ -200,8 +200,8 @@ declare const select: tailwind_variants.TVReturnType<{
|
|
|
200
200
|
select: string[];
|
|
201
201
|
optionsWrapper: string[];
|
|
202
202
|
option: string[];
|
|
203
|
-
|
|
204
|
-
|
|
203
|
+
helperMessage: string[];
|
|
204
|
+
errorMessage: string[];
|
|
205
205
|
readonly: string[];
|
|
206
206
|
}, tailwind_variants.TVReturnType<{
|
|
207
207
|
color: {
|
|
@@ -223,8 +223,8 @@ declare const select: tailwind_variants.TVReturnType<{
|
|
|
223
223
|
selectWrapper: string[];
|
|
224
224
|
select: string[];
|
|
225
225
|
option: string[];
|
|
226
|
-
|
|
227
|
-
|
|
226
|
+
helperMessage: string[];
|
|
227
|
+
errorMessage: string[];
|
|
228
228
|
};
|
|
229
229
|
md: {
|
|
230
230
|
base: string[];
|
|
@@ -233,8 +233,8 @@ declare const select: tailwind_variants.TVReturnType<{
|
|
|
233
233
|
selectWrapper: string[];
|
|
234
234
|
select: string[];
|
|
235
235
|
option: string[];
|
|
236
|
-
|
|
237
|
-
|
|
236
|
+
helperMessage: string[];
|
|
237
|
+
errorMessage: string[];
|
|
238
238
|
};
|
|
239
239
|
lg: {
|
|
240
240
|
base: string[];
|
|
@@ -243,8 +243,8 @@ declare const select: tailwind_variants.TVReturnType<{
|
|
|
243
243
|
selectWrapper: string[];
|
|
244
244
|
select: string[];
|
|
245
245
|
option: string[];
|
|
246
|
-
|
|
247
|
-
|
|
246
|
+
helperMessage: string[];
|
|
247
|
+
errorMessage: string[];
|
|
248
248
|
};
|
|
249
249
|
xl: {
|
|
250
250
|
base: string[];
|
|
@@ -253,8 +253,8 @@ declare const select: tailwind_variants.TVReturnType<{
|
|
|
253
253
|
selectWrapper: string[];
|
|
254
254
|
select: string[];
|
|
255
255
|
option: string[];
|
|
256
|
-
|
|
257
|
-
|
|
256
|
+
helperMessage: string[];
|
|
257
|
+
errorMessage: string[];
|
|
258
258
|
};
|
|
259
259
|
};
|
|
260
260
|
direction: {
|
|
@@ -273,8 +273,8 @@ declare const select: tailwind_variants.TVReturnType<{
|
|
|
273
273
|
base: string[];
|
|
274
274
|
selectWrapper: string[];
|
|
275
275
|
select: string[];
|
|
276
|
-
|
|
277
|
-
|
|
276
|
+
helperMessage: string[];
|
|
277
|
+
errorMessage: string[];
|
|
278
278
|
};
|
|
279
279
|
};
|
|
280
280
|
isSelected: {
|
|
@@ -291,8 +291,8 @@ declare const select: tailwind_variants.TVReturnType<{
|
|
|
291
291
|
select: string[];
|
|
292
292
|
optionsWrapper: string[];
|
|
293
293
|
option: string[];
|
|
294
|
-
|
|
295
|
-
|
|
294
|
+
helperMessage: string[];
|
|
295
|
+
errorMessage: string[];
|
|
296
296
|
readonly: string[];
|
|
297
297
|
}, undefined, unknown, unknown, undefined>>;
|
|
298
298
|
type SelectVariantProps = VariantProps<typeof select>;
|
|
@@ -12,8 +12,8 @@ interface Props extends Omit<ComponentPropsWithRef<"input">, "onChange" | keyof
|
|
|
12
12
|
options: SelectOption[];
|
|
13
13
|
defaultSelectedOptions?: SelectOption[];
|
|
14
14
|
label?: string;
|
|
15
|
-
|
|
16
|
-
|
|
15
|
+
helperMessage?: string;
|
|
16
|
+
errorMessage?: string;
|
|
17
17
|
classNames?: SlotsToClasses<SelectSlots>;
|
|
18
18
|
onChange?: (options: SelectOption[]) => void;
|
|
19
19
|
multiple?: boolean;
|
|
@@ -41,8 +41,8 @@ declare const select: tailwind_variants.TVReturnType<{
|
|
|
41
41
|
selectWrapper: string[];
|
|
42
42
|
select: string[];
|
|
43
43
|
option: string[];
|
|
44
|
-
|
|
45
|
-
|
|
44
|
+
helperMessage: string[];
|
|
45
|
+
errorMessage: string[];
|
|
46
46
|
};
|
|
47
47
|
md: {
|
|
48
48
|
base: string[];
|
|
@@ -51,8 +51,8 @@ declare const select: tailwind_variants.TVReturnType<{
|
|
|
51
51
|
selectWrapper: string[];
|
|
52
52
|
select: string[];
|
|
53
53
|
option: string[];
|
|
54
|
-
|
|
55
|
-
|
|
54
|
+
helperMessage: string[];
|
|
55
|
+
errorMessage: string[];
|
|
56
56
|
};
|
|
57
57
|
lg: {
|
|
58
58
|
base: string[];
|
|
@@ -61,8 +61,8 @@ declare const select: tailwind_variants.TVReturnType<{
|
|
|
61
61
|
selectWrapper: string[];
|
|
62
62
|
select: string[];
|
|
63
63
|
option: string[];
|
|
64
|
-
|
|
65
|
-
|
|
64
|
+
helperMessage: string[];
|
|
65
|
+
errorMessage: string[];
|
|
66
66
|
};
|
|
67
67
|
xl: {
|
|
68
68
|
base: string[];
|
|
@@ -71,8 +71,8 @@ declare const select: tailwind_variants.TVReturnType<{
|
|
|
71
71
|
selectWrapper: string[];
|
|
72
72
|
select: string[];
|
|
73
73
|
option: string[];
|
|
74
|
-
|
|
75
|
-
|
|
74
|
+
helperMessage: string[];
|
|
75
|
+
errorMessage: string[];
|
|
76
76
|
};
|
|
77
77
|
};
|
|
78
78
|
direction: {
|
|
@@ -91,8 +91,8 @@ declare const select: tailwind_variants.TVReturnType<{
|
|
|
91
91
|
base: string[];
|
|
92
92
|
selectWrapper: string[];
|
|
93
93
|
select: string[];
|
|
94
|
-
|
|
95
|
-
|
|
94
|
+
helperMessage: string[];
|
|
95
|
+
errorMessage: string[];
|
|
96
96
|
};
|
|
97
97
|
};
|
|
98
98
|
isSelected: {
|
|
@@ -109,8 +109,8 @@ declare const select: tailwind_variants.TVReturnType<{
|
|
|
109
109
|
select: string[];
|
|
110
110
|
optionsWrapper: string[];
|
|
111
111
|
option: string[];
|
|
112
|
-
|
|
113
|
-
|
|
112
|
+
helperMessage: string[];
|
|
113
|
+
errorMessage: string[];
|
|
114
114
|
readonly: string[];
|
|
115
115
|
}, undefined, {
|
|
116
116
|
color: {
|
|
@@ -132,8 +132,8 @@ declare const select: tailwind_variants.TVReturnType<{
|
|
|
132
132
|
selectWrapper: string[];
|
|
133
133
|
select: string[];
|
|
134
134
|
option: string[];
|
|
135
|
-
|
|
136
|
-
|
|
135
|
+
helperMessage: string[];
|
|
136
|
+
errorMessage: string[];
|
|
137
137
|
};
|
|
138
138
|
md: {
|
|
139
139
|
base: string[];
|
|
@@ -142,8 +142,8 @@ declare const select: tailwind_variants.TVReturnType<{
|
|
|
142
142
|
selectWrapper: string[];
|
|
143
143
|
select: string[];
|
|
144
144
|
option: string[];
|
|
145
|
-
|
|
146
|
-
|
|
145
|
+
helperMessage: string[];
|
|
146
|
+
errorMessage: string[];
|
|
147
147
|
};
|
|
148
148
|
lg: {
|
|
149
149
|
base: string[];
|
|
@@ -152,8 +152,8 @@ declare const select: tailwind_variants.TVReturnType<{
|
|
|
152
152
|
selectWrapper: string[];
|
|
153
153
|
select: string[];
|
|
154
154
|
option: string[];
|
|
155
|
-
|
|
156
|
-
|
|
155
|
+
helperMessage: string[];
|
|
156
|
+
errorMessage: string[];
|
|
157
157
|
};
|
|
158
158
|
xl: {
|
|
159
159
|
base: string[];
|
|
@@ -162,8 +162,8 @@ declare const select: tailwind_variants.TVReturnType<{
|
|
|
162
162
|
selectWrapper: string[];
|
|
163
163
|
select: string[];
|
|
164
164
|
option: string[];
|
|
165
|
-
|
|
166
|
-
|
|
165
|
+
helperMessage: string[];
|
|
166
|
+
errorMessage: string[];
|
|
167
167
|
};
|
|
168
168
|
};
|
|
169
169
|
direction: {
|
|
@@ -182,8 +182,8 @@ declare const select: tailwind_variants.TVReturnType<{
|
|
|
182
182
|
base: string[];
|
|
183
183
|
selectWrapper: string[];
|
|
184
184
|
select: string[];
|
|
185
|
-
|
|
186
|
-
|
|
185
|
+
helperMessage: string[];
|
|
186
|
+
errorMessage: string[];
|
|
187
187
|
};
|
|
188
188
|
};
|
|
189
189
|
isSelected: {
|
|
@@ -200,8 +200,8 @@ declare const select: tailwind_variants.TVReturnType<{
|
|
|
200
200
|
select: string[];
|
|
201
201
|
optionsWrapper: string[];
|
|
202
202
|
option: string[];
|
|
203
|
-
|
|
204
|
-
|
|
203
|
+
helperMessage: string[];
|
|
204
|
+
errorMessage: string[];
|
|
205
205
|
readonly: string[];
|
|
206
206
|
}, tailwind_variants.TVReturnType<{
|
|
207
207
|
color: {
|
|
@@ -223,8 +223,8 @@ declare const select: tailwind_variants.TVReturnType<{
|
|
|
223
223
|
selectWrapper: string[];
|
|
224
224
|
select: string[];
|
|
225
225
|
option: string[];
|
|
226
|
-
|
|
227
|
-
|
|
226
|
+
helperMessage: string[];
|
|
227
|
+
errorMessage: string[];
|
|
228
228
|
};
|
|
229
229
|
md: {
|
|
230
230
|
base: string[];
|
|
@@ -233,8 +233,8 @@ declare const select: tailwind_variants.TVReturnType<{
|
|
|
233
233
|
selectWrapper: string[];
|
|
234
234
|
select: string[];
|
|
235
235
|
option: string[];
|
|
236
|
-
|
|
237
|
-
|
|
236
|
+
helperMessage: string[];
|
|
237
|
+
errorMessage: string[];
|
|
238
238
|
};
|
|
239
239
|
lg: {
|
|
240
240
|
base: string[];
|
|
@@ -243,8 +243,8 @@ declare const select: tailwind_variants.TVReturnType<{
|
|
|
243
243
|
selectWrapper: string[];
|
|
244
244
|
select: string[];
|
|
245
245
|
option: string[];
|
|
246
|
-
|
|
247
|
-
|
|
246
|
+
helperMessage: string[];
|
|
247
|
+
errorMessage: string[];
|
|
248
248
|
};
|
|
249
249
|
xl: {
|
|
250
250
|
base: string[];
|
|
@@ -253,8 +253,8 @@ declare const select: tailwind_variants.TVReturnType<{
|
|
|
253
253
|
selectWrapper: string[];
|
|
254
254
|
select: string[];
|
|
255
255
|
option: string[];
|
|
256
|
-
|
|
257
|
-
|
|
256
|
+
helperMessage: string[];
|
|
257
|
+
errorMessage: string[];
|
|
258
258
|
};
|
|
259
259
|
};
|
|
260
260
|
direction: {
|
|
@@ -273,8 +273,8 @@ declare const select: tailwind_variants.TVReturnType<{
|
|
|
273
273
|
base: string[];
|
|
274
274
|
selectWrapper: string[];
|
|
275
275
|
select: string[];
|
|
276
|
-
|
|
277
|
-
|
|
276
|
+
helperMessage: string[];
|
|
277
|
+
errorMessage: string[];
|
|
278
278
|
};
|
|
279
279
|
};
|
|
280
280
|
isSelected: {
|
|
@@ -291,8 +291,8 @@ declare const select: tailwind_variants.TVReturnType<{
|
|
|
291
291
|
select: string[];
|
|
292
292
|
optionsWrapper: string[];
|
|
293
293
|
option: string[];
|
|
294
|
-
|
|
295
|
-
|
|
294
|
+
helperMessage: string[];
|
|
295
|
+
errorMessage: string[];
|
|
296
296
|
readonly: string[];
|
|
297
297
|
}, undefined, unknown, unknown, undefined>>;
|
|
298
298
|
type SelectVariantProps = VariantProps<typeof select>;
|