@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.
Files changed (118) hide show
  1. package/.turbo/turbo-build.log +170 -166
  2. package/dist/{chunk-MSAULFDB.mjs → chunk-272FMLIL.mjs} +17 -17
  3. package/dist/{chunk-3IU2RPSM.mjs → chunk-2SDYFOZL.mjs} +46 -35
  4. package/dist/{chunk-HWL7TPUN.mjs → chunk-2TKEWFGH.mjs} +1 -1
  5. package/dist/chunk-4OSN2OE2.mjs +178 -0
  6. package/dist/chunk-6TIIBU7J.mjs +35 -0
  7. package/dist/{chunk-Q72LZAPG.mjs → chunk-A7RU3FU5.mjs} +1 -1
  8. package/dist/{chunk-P5PJTJLY.mjs → chunk-BEQ3KZGS.mjs} +19 -19
  9. package/dist/{chunk-IRAHS4WS.mjs → chunk-G67WUZO3.mjs} +1 -1
  10. package/dist/{chunk-YBDA3WQP.mjs → chunk-IBI3OVQI.mjs} +1 -1
  11. package/dist/{chunk-BQUZRVYW.mjs → chunk-JTZUXVOU.mjs} +1 -1
  12. package/dist/{chunk-6OMHIMIA.mjs → chunk-JV7VLO2L.mjs} +2 -2
  13. package/dist/{chunk-B3DFSXGC.mjs → chunk-K7VUN5BS.mjs} +2 -2
  14. package/dist/{chunk-DLQFMOBN.mjs → chunk-KYJTZPXY.mjs} +1 -1
  15. package/dist/{chunk-OUAKGMDW.mjs → chunk-MEY4IL7D.mjs} +1 -1
  16. package/dist/{chunk-SCFTSNCK.mjs → chunk-NHVIKP4H.mjs} +6 -6
  17. package/dist/{chunk-PMMTMYRI.mjs → chunk-QIEKOGY7.mjs} +1 -1
  18. package/dist/{chunk-QY7LYAXT.mjs → chunk-RT3S3VVJ.mjs} +2 -2
  19. package/dist/{chunk-IVK24VIL.mjs → chunk-SO7BGWM7.mjs} +2 -2
  20. package/dist/{chunk-XQGD4ZIX.mjs → chunk-SP3JVQY3.mjs} +1 -1
  21. package/dist/{chunk-EAK5DVWA.mjs → chunk-UNH3BCGN.mjs} +8 -1
  22. package/dist/{chunk-6HX3PPL6.mjs → chunk-WLNLVX7Q.mjs} +1 -1
  23. package/dist/components/avatar/avatar.js +46 -35
  24. package/dist/components/avatar/avatar.mjs +2 -2
  25. package/dist/components/avatar/index.js +46 -35
  26. package/dist/components/avatar/index.mjs +2 -2
  27. package/dist/components/breadcrumb/breadcrumb.js +46 -35
  28. package/dist/components/breadcrumb/breadcrumb.mjs +5 -5
  29. package/dist/components/breadcrumb/index.js +46 -35
  30. package/dist/components/breadcrumb/index.mjs +5 -5
  31. package/dist/components/button/button.js +46 -35
  32. package/dist/components/button/button.mjs +3 -3
  33. package/dist/components/button/icon-button.js +46 -35
  34. package/dist/components/button/icon-button.mjs +3 -3
  35. package/dist/components/button/index.js +46 -35
  36. package/dist/components/button/index.mjs +4 -4
  37. package/dist/components/chip/chip.js +46 -35
  38. package/dist/components/chip/chip.mjs +3 -3
  39. package/dist/components/chip/index.js +46 -35
  40. package/dist/components/chip/index.mjs +3 -3
  41. package/dist/components/dateTimePicker/calendar.js +46 -35
  42. package/dist/components/dateTimePicker/calendar.mjs +3 -3
  43. package/dist/components/dateTimePicker/dateTimePicker.js +46 -35
  44. package/dist/components/dateTimePicker/dateTimePicker.mjs +9 -9
  45. package/dist/components/dateTimePicker/index.js +46 -35
  46. package/dist/components/dateTimePicker/index.mjs +9 -9
  47. package/dist/components/dateTimePicker/timePicker.js +46 -35
  48. package/dist/components/dateTimePicker/timePicker.mjs +5 -5
  49. package/dist/components/icon/Icon.d.mts +9 -5
  50. package/dist/components/icon/Icon.d.ts +9 -5
  51. package/dist/components/icon/Icon.js +46 -35
  52. package/dist/components/icon/Icon.mjs +2 -2
  53. package/dist/components/icon/index.js +46 -35
  54. package/dist/components/icon/index.mjs +2 -2
  55. package/dist/components/icon/template.d.mts +3 -2
  56. package/dist/components/icon/template.d.ts +3 -2
  57. package/dist/components/icon/template.js +46 -35
  58. package/dist/components/icon/template.mjs +1 -1
  59. package/dist/components/input/index.js +64 -53
  60. package/dist/components/input/index.mjs +3 -3
  61. package/dist/components/input/input.d.mts +44 -44
  62. package/dist/components/input/input.d.ts +44 -44
  63. package/dist/components/input/input.js +64 -53
  64. package/dist/components/input/input.mjs +3 -3
  65. package/dist/components/list/index.js +46 -35
  66. package/dist/components/list/index.mjs +4 -4
  67. package/dist/components/list/listItem.js +46 -35
  68. package/dist/components/list/listItem.mjs +4 -4
  69. package/dist/components/modal/index.js +46 -35
  70. package/dist/components/modal/index.mjs +5 -5
  71. package/dist/components/modal/modal.js +46 -35
  72. package/dist/components/modal/modal.mjs +5 -5
  73. package/dist/components/pagination/index.js +64 -53
  74. package/dist/components/pagination/index.mjs +4 -4
  75. package/dist/components/pagination/pagination.js +64 -53
  76. package/dist/components/pagination/pagination.mjs +4 -4
  77. package/dist/components/select/index.js +62 -51
  78. package/dist/components/select/index.mjs +3 -3
  79. package/dist/components/select/select.d.mts +38 -38
  80. package/dist/components/select/select.d.ts +38 -38
  81. package/dist/components/select/select.js +62 -51
  82. package/dist/components/select/select.mjs +3 -3
  83. package/dist/components/table/definition-table.d.mts +51 -0
  84. package/dist/components/table/definition-table.d.ts +51 -0
  85. package/dist/components/table/definition-table.js +351 -0
  86. package/dist/components/table/definition-table.mjs +9 -0
  87. package/dist/components/table/form-table.d.mts +1 -1
  88. package/dist/components/table/form-table.d.ts +1 -1
  89. package/dist/components/table/form-table.mjs +43 -3
  90. package/dist/components/table/index.d.mts +1 -1
  91. package/dist/components/table/index.d.ts +1 -1
  92. package/dist/components/table/index.js +86 -82
  93. package/dist/components/table/index.mjs +9 -9
  94. package/dist/components/table/table-head.js +8 -1
  95. package/dist/components/table/table-head.mjs +1 -1
  96. package/dist/components/table/table.js +72 -54
  97. package/dist/components/table/table.mjs +6 -6
  98. package/dist/components/toast/index.js +46 -35
  99. package/dist/components/toast/index.mjs +4 -4
  100. package/dist/components/toast/toast.js +46 -35
  101. package/dist/components/toast/toast.mjs +3 -3
  102. package/dist/components/toast/use-toast.js +46 -35
  103. package/dist/components/toast/use-toast.mjs +4 -4
  104. package/dist/components/tree/index.d.mts +1 -0
  105. package/dist/components/tree/index.d.ts +1 -0
  106. package/dist/components/tree/index.js +170 -84
  107. package/dist/components/tree/index.mjs +3 -3
  108. package/dist/components/tree/tree.d.mts +17 -10
  109. package/dist/components/tree/tree.d.ts +17 -10
  110. package/dist/components/tree/tree.js +175 -84
  111. package/dist/components/tree/tree.mjs +5 -3
  112. package/dist/index.d.mts +1 -1
  113. package/dist/index.d.ts +1 -1
  114. package/dist/index.js +226 -147
  115. package/dist/index.mjs +31 -31
  116. package/package.json +1 -1
  117. package/dist/chunk-ICZTNO4V.mjs +0 -49
  118. package/dist/chunk-TEQ723QO.mjs +0 -102
@@ -863,22 +863,61 @@ var template = {
863
863
  }
864
864
  );
865
865
  },
866
- // ----------------------------------- old ---------------------------------
867
- // ** Status **
868
- plus: ({ className, fill }) => {
866
+ plus: ({ className }) => {
867
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
868
+ "svg",
869
+ {
870
+ xmlns: "http://www.w3.org/2000/svg",
871
+ width: "18",
872
+ height: "18",
873
+ viewBox: "0 0 18 18",
874
+ fill: "none",
875
+ className,
876
+ children: [
877
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { d: "M4.5 9H13.5", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round" }),
878
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { d: "M9 13.5V4.5", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round" })
879
+ ]
880
+ }
881
+ );
882
+ },
883
+ minus: ({ className }) => {
869
884
  return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
870
885
  "svg",
871
886
  {
872
- width: "24",
873
- height: "24",
874
- viewBox: "0 0 24 24",
887
+ xmlns: "http://www.w3.org/2000/svg",
888
+ width: "18",
889
+ height: "18",
890
+ viewBox: "0 0 18 18",
875
891
  fill: "none",
892
+ className,
893
+ children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { d: "M4.5 9H13.5", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round" })
894
+ }
895
+ );
896
+ },
897
+ pencil: ({ className }) => {
898
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
899
+ "svg",
900
+ {
876
901
  xmlns: "http://www.w3.org/2000/svg",
902
+ width: "18",
903
+ height: "18",
904
+ viewBox: "0 0 18 18",
905
+ fill: "none",
877
906
  className,
878
- children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { d: "M12 4.5V19.5M19.5 12H4.5", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round" })
907
+ children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
908
+ "path",
909
+ {
910
+ 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",
911
+ stroke: "currentColor",
912
+ strokeLinecap: "round",
913
+ strokeLinejoin: "round"
914
+ }
915
+ )
879
916
  }
880
917
  );
881
918
  },
919
+ // ----------------------------------- old ---------------------------------
920
+ // ** Status **
882
921
  check: ({ className, fill }) => {
883
922
  return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
884
923
  "svg",
@@ -2525,34 +2564,6 @@ var template = {
2525
2564
  }
2526
2565
  );
2527
2566
  },
2528
- pencil: ({ className, fill }) => {
2529
- return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
2530
- "svg",
2531
- {
2532
- width: "24",
2533
- height: "24",
2534
- viewBox: "0 0 24 24",
2535
- fill: "none",
2536
- xmlns: "http://www.w3.org/2000/svg",
2537
- className,
2538
- children: fill ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
2539
- "path",
2540
- {
2541
- 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",
2542
- fill: "currentColor"
2543
- }
2544
- ) : /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
2545
- "path",
2546
- {
2547
- 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",
2548
- stroke: "currentColor",
2549
- strokeLinecap: "round",
2550
- strokeLinejoin: "round"
2551
- }
2552
- )
2553
- }
2554
- );
2555
- },
2556
2567
  "pencil-square": ({ className, fill }) => {
2557
2568
  return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
2558
2569
  "svg",
@@ -1,20 +1,20 @@
1
1
  "use client";
2
2
  import {
3
3
  modal_default
4
- } from "../../chunk-B3DFSXGC.mjs";
4
+ } from "../../chunk-K7VUN5BS.mjs";
5
5
  import "../../chunk-SE5TU755.mjs";
6
6
  import "../../chunk-LL6F3WDX.mjs";
7
7
  import "../../chunk-MY5U63QO.mjs";
8
8
  import "../../chunk-LPZOH3RP.mjs";
9
- import "../../chunk-BQUZRVYW.mjs";
10
- import "../../chunk-PMMTMYRI.mjs";
9
+ import "../../chunk-JTZUXVOU.mjs";
10
+ import "../../chunk-QIEKOGY7.mjs";
11
11
  import "../../chunk-6WSACUIB.mjs";
12
12
  import "../../chunk-6PNKRBUT.mjs";
13
13
  import "../../chunk-LXHUO6VM.mjs";
14
14
  import "../../chunk-WFMFC7R6.mjs";
15
15
  import "../../chunk-ZYIIXWVY.mjs";
16
- import "../../chunk-HWL7TPUN.mjs";
17
- import "../../chunk-3IU2RPSM.mjs";
16
+ import "../../chunk-2TKEWFGH.mjs";
17
+ import "../../chunk-2SDYFOZL.mjs";
18
18
  import "../../chunk-4ZJFD3L3.mjs";
19
19
  import "../../chunk-27Y6K5NK.mjs";
20
20
  import "../../chunk-E3G5QXSH.mjs";
@@ -892,22 +892,61 @@ var template = {
892
892
  }
893
893
  );
894
894
  },
895
- // ----------------------------------- old ---------------------------------
896
- // ** Status **
897
- plus: ({ className, fill }) => {
895
+ plus: ({ className }) => {
896
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
897
+ "svg",
898
+ {
899
+ xmlns: "http://www.w3.org/2000/svg",
900
+ width: "18",
901
+ height: "18",
902
+ viewBox: "0 0 18 18",
903
+ fill: "none",
904
+ className,
905
+ children: [
906
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { d: "M4.5 9H13.5", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round" }),
907
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { d: "M9 13.5V4.5", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round" })
908
+ ]
909
+ }
910
+ );
911
+ },
912
+ minus: ({ className }) => {
898
913
  return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
899
914
  "svg",
900
915
  {
901
- width: "24",
902
- height: "24",
903
- viewBox: "0 0 24 24",
916
+ xmlns: "http://www.w3.org/2000/svg",
917
+ width: "18",
918
+ height: "18",
919
+ viewBox: "0 0 18 18",
904
920
  fill: "none",
921
+ className,
922
+ children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { d: "M4.5 9H13.5", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round" })
923
+ }
924
+ );
925
+ },
926
+ pencil: ({ className }) => {
927
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
928
+ "svg",
929
+ {
905
930
  xmlns: "http://www.w3.org/2000/svg",
931
+ width: "18",
932
+ height: "18",
933
+ viewBox: "0 0 18 18",
934
+ fill: "none",
906
935
  className,
907
- children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { d: "M12 4.5V19.5M19.5 12H4.5", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round" })
936
+ children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
937
+ "path",
938
+ {
939
+ 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",
940
+ stroke: "currentColor",
941
+ strokeLinecap: "round",
942
+ strokeLinejoin: "round"
943
+ }
944
+ )
908
945
  }
909
946
  );
910
947
  },
948
+ // ----------------------------------- old ---------------------------------
949
+ // ** Status **
911
950
  check: ({ className, fill }) => {
912
951
  return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
913
952
  "svg",
@@ -2554,34 +2593,6 @@ var template = {
2554
2593
  }
2555
2594
  );
2556
2595
  },
2557
- pencil: ({ className, fill }) => {
2558
- return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
2559
- "svg",
2560
- {
2561
- width: "24",
2562
- height: "24",
2563
- viewBox: "0 0 24 24",
2564
- fill: "none",
2565
- xmlns: "http://www.w3.org/2000/svg",
2566
- className,
2567
- children: fill ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
2568
- "path",
2569
- {
2570
- 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",
2571
- fill: "currentColor"
2572
- }
2573
- ) : /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
2574
- "path",
2575
- {
2576
- 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",
2577
- stroke: "currentColor",
2578
- strokeLinecap: "round",
2579
- strokeLinejoin: "round"
2580
- }
2581
- )
2582
- }
2583
- );
2584
- },
2585
2596
  "pencil-square": ({ className, fill }) => {
2586
2597
  return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
2587
2598
  "svg",
@@ -4388,7 +4399,7 @@ function toVal(mix) {
4388
4399
  var import_jsx_runtime3 = require("react/jsx-runtime");
4389
4400
  var Input = (0, import_react2.forwardRef)((originalProps, ref) => {
4390
4401
  const [props, variantProps] = mapPropsVariants(originalProps, inputStyle.variantKeys);
4391
- const { classNames, label, helperText, errorText, startContent, endContent, ...inputProps } = props;
4402
+ const { classNames, label, helperMessage, errorMessage, startContent, endContent, ...inputProps } = props;
4392
4403
  const inputRef = (0, import_react2.useRef)(null);
4393
4404
  const slots = (0, import_react2.useMemo)(() => inputStyle({ ...variantProps }), [variantProps]);
4394
4405
  const getContentProps = (0, import_react2.useCallback)(
@@ -4431,7 +4442,7 @@ var Input = (0, import_react2.forwardRef)((originalProps, ref) => {
4431
4442
  className: `${getContentProps().className || ""} ${existingProps.className || ""}`.trim()
4432
4443
  };
4433
4444
  return import_react2.default.cloneElement(endContent, mergedProps);
4434
- } else if (errorText) {
4445
+ } else if (errorMessage) {
4435
4446
  const iconProps = { ...getContentProps(), className: getContentProps().className };
4436
4447
  return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("div", { ...iconProps, children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(Icon_default, { name: "exclamation-circle", fill: true, size: originalProps.size }) });
4437
4448
  } else {
@@ -4485,8 +4496,8 @@ var Input = (0, import_react2.forwardRef)((originalProps, ref) => {
4485
4496
  ]
4486
4497
  }
4487
4498
  ),
4488
- helperText && !errorText && /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("p", { className: slots.helperText({ class: classNames == null ? void 0 : classNames.helperText }), children: helperText }),
4489
- errorText && /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("p", { className: clsx("error", slots.errorText({ class: classNames == null ? void 0 : classNames.errorText })), children: errorText })
4499
+ helperMessage && !errorMessage && /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("p", { className: slots.helperMessage({ class: classNames == null ? void 0 : classNames.helperMessage }), children: helperMessage }),
4500
+ errorMessage && /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("p", { className: clsx("error", slots.errorMessage({ class: classNames == null ? void 0 : classNames.errorMessage })), children: errorMessage })
4490
4501
  ] })
4491
4502
  ]
4492
4503
  }
@@ -4526,8 +4537,8 @@ var inputStyle = tv(
4526
4537
  "group-has-[:hover]/input:text-neutral-dark",
4527
4538
  "group-has-[p.error]/input:text-danger-main"
4528
4539
  ],
4529
- helperText: ["text-neutral-main", "group-has-[:hover]/input:text-neutral-dark"],
4530
- errorText: ["text-danger-main"],
4540
+ helperMessage: ["text-neutral-main", "group-has-[:hover]/input:text-neutral-dark"],
4541
+ errorMessage: ["text-danger-main"],
4531
4542
  readonly: ["pointer-events-none", "!text-body-foreground"]
4532
4543
  },
4533
4544
  variants: {
@@ -4562,7 +4573,7 @@ var inputStyle = tv(
4562
4573
  "group-has-[:focus]/input:text-primary-main",
4563
4574
  "!group-has-[p.error]:not(input:focus):hover/input:text-primary-main"
4564
4575
  ],
4565
- helperText: [
4576
+ helperMessage: [
4566
4577
  "group-has-[:focus]/input:text-primary-main",
4567
4578
  "group-has-[:focus:hover]/input:text-primary-main",
4568
4579
  "group-has-[:focus]/input:hover:text-primary-main"
@@ -4573,7 +4584,7 @@ var inputStyle = tv(
4573
4584
  "group-has-[:focus]/input:text-secondary-main",
4574
4585
  "!group-has-[p.error]:not(input:focus):hover/input:text-secondary-main"
4575
4586
  ],
4576
- helperText: [
4587
+ helperMessage: [
4577
4588
  "group-has-[:focus]/input:text-secondary-main",
4578
4589
  "group-has-[:focus:hover]/input:text-secondary-main",
4579
4590
  "group-has-[:focus]/input:hover:text-secondary-main"
@@ -4586,32 +4597,32 @@ var inputStyle = tv(
4586
4597
  label: ["text-sm"],
4587
4598
  innerWrapper: ["gap-[4px]"],
4588
4599
  inputWrapper: ["w-[240px]", "h-[24px]", "rounded-sm", "px-[4px]", "gap-[4px]"],
4589
- helperText: ["text-sm"],
4590
- errorText: ["text-sm"]
4600
+ helperMessage: ["text-sm"],
4601
+ errorMessage: ["text-sm"]
4591
4602
  },
4592
4603
  md: {
4593
4604
  base: ["text-md", "gap-[6px]"],
4594
4605
  label: ["text-md"],
4595
4606
  innerWrapper: ["gap-[6px]"],
4596
4607
  inputWrapper: ["w-[240px]", "h-[32px]", "rounded-md", "px-[6px]", "gap-[6px]"],
4597
- helperText: ["text-sm"],
4598
- errorText: ["text-sm"]
4608
+ helperMessage: ["text-sm"],
4609
+ errorMessage: ["text-sm"]
4599
4610
  },
4600
4611
  lg: {
4601
4612
  base: ["text-lg", "gap-[8px]"],
4602
4613
  label: ["text-lg"],
4603
4614
  innerWrapper: ["gap-[8px]"],
4604
4615
  inputWrapper: ["w-[240px]", "h-[40px]", "rounded-lg", "px-[8px]", "gap-[8px]"],
4605
- helperText: ["text-md"],
4606
- errorText: ["text-md"]
4616
+ helperMessage: ["text-md"],
4617
+ errorMessage: ["text-md"]
4607
4618
  },
4608
4619
  xl: {
4609
4620
  base: ["text-xl", "gap-[10px]"],
4610
4621
  label: ["text-xl"],
4611
4622
  innerWrapper: ["gap-[10px]"],
4612
4623
  inputWrapper: ["w-[240px]", "h-[50px]", "rounded-lg", "px-[10px]", "gap-[10px]"],
4613
- helperText: ["text-md"],
4614
- errorText: ["text-md"]
4624
+ helperMessage: ["text-md"],
4625
+ errorMessage: ["text-md"]
4615
4626
  }
4616
4627
  },
4617
4628
  direction: {
@@ -4635,8 +4646,8 @@ var inputStyle = tv(
4635
4646
  "group-has-[p.error]/input:placeholder:text-danger-light"
4636
4647
  ],
4637
4648
  content: ["text-neutral-light", "group-has-[p.error]/input:text-danger-light"],
4638
- helperText: ["!text-neutral-light"],
4639
- errorText: ["!text-danger-light"]
4649
+ helperMessage: ["!text-neutral-light"],
4650
+ errorMessage: ["!text-danger-light"]
4640
4651
  }
4641
4652
  }
4642
4653
  },
@@ -2,13 +2,13 @@
2
2
  import "../../chunk-7B7LRG5J.mjs";
3
3
  import {
4
4
  pagination_default
5
- } from "../../chunk-IVK24VIL.mjs";
5
+ } from "../../chunk-SO7BGWM7.mjs";
6
6
  import "../../chunk-F3HENRVM.mjs";
7
7
  import "../../chunk-2GCSFWHD.mjs";
8
- import "../../chunk-P5PJTJLY.mjs";
8
+ import "../../chunk-BEQ3KZGS.mjs";
9
9
  import "../../chunk-ZYIIXWVY.mjs";
10
- import "../../chunk-HWL7TPUN.mjs";
11
- import "../../chunk-3IU2RPSM.mjs";
10
+ import "../../chunk-2TKEWFGH.mjs";
11
+ import "../../chunk-2SDYFOZL.mjs";
12
12
  import "../../chunk-4ZJFD3L3.mjs";
13
13
  import "../../chunk-27Y6K5NK.mjs";
14
14
  import "../../chunk-E3G5QXSH.mjs";
@@ -891,22 +891,61 @@ var template = {
891
891
  }
892
892
  );
893
893
  },
894
- // ----------------------------------- old ---------------------------------
895
- // ** Status **
896
- plus: ({ className, fill }) => {
894
+ plus: ({ className }) => {
895
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
896
+ "svg",
897
+ {
898
+ xmlns: "http://www.w3.org/2000/svg",
899
+ width: "18",
900
+ height: "18",
901
+ viewBox: "0 0 18 18",
902
+ fill: "none",
903
+ className,
904
+ children: [
905
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { d: "M4.5 9H13.5", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round" }),
906
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { d: "M9 13.5V4.5", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round" })
907
+ ]
908
+ }
909
+ );
910
+ },
911
+ minus: ({ className }) => {
897
912
  return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
898
913
  "svg",
899
914
  {
900
- width: "24",
901
- height: "24",
902
- viewBox: "0 0 24 24",
915
+ xmlns: "http://www.w3.org/2000/svg",
916
+ width: "18",
917
+ height: "18",
918
+ viewBox: "0 0 18 18",
903
919
  fill: "none",
920
+ className,
921
+ children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { d: "M4.5 9H13.5", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round" })
922
+ }
923
+ );
924
+ },
925
+ pencil: ({ className }) => {
926
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
927
+ "svg",
928
+ {
904
929
  xmlns: "http://www.w3.org/2000/svg",
930
+ width: "18",
931
+ height: "18",
932
+ viewBox: "0 0 18 18",
933
+ fill: "none",
905
934
  className,
906
- children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { d: "M12 4.5V19.5M19.5 12H4.5", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round" })
935
+ children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
936
+ "path",
937
+ {
938
+ 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",
939
+ stroke: "currentColor",
940
+ strokeLinecap: "round",
941
+ strokeLinejoin: "round"
942
+ }
943
+ )
907
944
  }
908
945
  );
909
946
  },
947
+ // ----------------------------------- old ---------------------------------
948
+ // ** Status **
910
949
  check: ({ className, fill }) => {
911
950
  return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
912
951
  "svg",
@@ -2553,34 +2592,6 @@ var template = {
2553
2592
  }
2554
2593
  );
2555
2594
  },
2556
- pencil: ({ className, fill }) => {
2557
- return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
2558
- "svg",
2559
- {
2560
- width: "24",
2561
- height: "24",
2562
- viewBox: "0 0 24 24",
2563
- fill: "none",
2564
- xmlns: "http://www.w3.org/2000/svg",
2565
- className,
2566
- children: fill ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
2567
- "path",
2568
- {
2569
- 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",
2570
- fill: "currentColor"
2571
- }
2572
- ) : /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
2573
- "path",
2574
- {
2575
- 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",
2576
- stroke: "currentColor",
2577
- strokeLinecap: "round",
2578
- strokeLinejoin: "round"
2579
- }
2580
- )
2581
- }
2582
- );
2583
- },
2584
2595
  "pencil-square": ({ className, fill }) => {
2585
2596
  return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
2586
2597
  "svg",
@@ -4387,7 +4398,7 @@ function toVal(mix) {
4387
4398
  var import_jsx_runtime3 = require("react/jsx-runtime");
4388
4399
  var Input = (0, import_react2.forwardRef)((originalProps, ref) => {
4389
4400
  const [props, variantProps] = mapPropsVariants(originalProps, inputStyle.variantKeys);
4390
- const { classNames, label, helperText, errorText, startContent, endContent, ...inputProps } = props;
4401
+ const { classNames, label, helperMessage, errorMessage, startContent, endContent, ...inputProps } = props;
4391
4402
  const inputRef = (0, import_react2.useRef)(null);
4392
4403
  const slots = (0, import_react2.useMemo)(() => inputStyle({ ...variantProps }), [variantProps]);
4393
4404
  const getContentProps = (0, import_react2.useCallback)(
@@ -4430,7 +4441,7 @@ var Input = (0, import_react2.forwardRef)((originalProps, ref) => {
4430
4441
  className: `${getContentProps().className || ""} ${existingProps.className || ""}`.trim()
4431
4442
  };
4432
4443
  return import_react2.default.cloneElement(endContent, mergedProps);
4433
- } else if (errorText) {
4444
+ } else if (errorMessage) {
4434
4445
  const iconProps = { ...getContentProps(), className: getContentProps().className };
4435
4446
  return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("div", { ...iconProps, children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(Icon_default, { name: "exclamation-circle", fill: true, size: originalProps.size }) });
4436
4447
  } else {
@@ -4484,8 +4495,8 @@ var Input = (0, import_react2.forwardRef)((originalProps, ref) => {
4484
4495
  ]
4485
4496
  }
4486
4497
  ),
4487
- helperText && !errorText && /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("p", { className: slots.helperText({ class: classNames == null ? void 0 : classNames.helperText }), children: helperText }),
4488
- errorText && /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("p", { className: clsx("error", slots.errorText({ class: classNames == null ? void 0 : classNames.errorText })), children: errorText })
4498
+ helperMessage && !errorMessage && /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("p", { className: slots.helperMessage({ class: classNames == null ? void 0 : classNames.helperMessage }), children: helperMessage }),
4499
+ errorMessage && /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("p", { className: clsx("error", slots.errorMessage({ class: classNames == null ? void 0 : classNames.errorMessage })), children: errorMessage })
4489
4500
  ] })
4490
4501
  ]
4491
4502
  }
@@ -4525,8 +4536,8 @@ var inputStyle = tv(
4525
4536
  "group-has-[:hover]/input:text-neutral-dark",
4526
4537
  "group-has-[p.error]/input:text-danger-main"
4527
4538
  ],
4528
- helperText: ["text-neutral-main", "group-has-[:hover]/input:text-neutral-dark"],
4529
- errorText: ["text-danger-main"],
4539
+ helperMessage: ["text-neutral-main", "group-has-[:hover]/input:text-neutral-dark"],
4540
+ errorMessage: ["text-danger-main"],
4530
4541
  readonly: ["pointer-events-none", "!text-body-foreground"]
4531
4542
  },
4532
4543
  variants: {
@@ -4561,7 +4572,7 @@ var inputStyle = tv(
4561
4572
  "group-has-[:focus]/input:text-primary-main",
4562
4573
  "!group-has-[p.error]:not(input:focus):hover/input:text-primary-main"
4563
4574
  ],
4564
- helperText: [
4575
+ helperMessage: [
4565
4576
  "group-has-[:focus]/input:text-primary-main",
4566
4577
  "group-has-[:focus:hover]/input:text-primary-main",
4567
4578
  "group-has-[:focus]/input:hover:text-primary-main"
@@ -4572,7 +4583,7 @@ var inputStyle = tv(
4572
4583
  "group-has-[:focus]/input:text-secondary-main",
4573
4584
  "!group-has-[p.error]:not(input:focus):hover/input:text-secondary-main"
4574
4585
  ],
4575
- helperText: [
4586
+ helperMessage: [
4576
4587
  "group-has-[:focus]/input:text-secondary-main",
4577
4588
  "group-has-[:focus:hover]/input:text-secondary-main",
4578
4589
  "group-has-[:focus]/input:hover:text-secondary-main"
@@ -4585,32 +4596,32 @@ var inputStyle = tv(
4585
4596
  label: ["text-sm"],
4586
4597
  innerWrapper: ["gap-[4px]"],
4587
4598
  inputWrapper: ["w-[240px]", "h-[24px]", "rounded-sm", "px-[4px]", "gap-[4px]"],
4588
- helperText: ["text-sm"],
4589
- errorText: ["text-sm"]
4599
+ helperMessage: ["text-sm"],
4600
+ errorMessage: ["text-sm"]
4590
4601
  },
4591
4602
  md: {
4592
4603
  base: ["text-md", "gap-[6px]"],
4593
4604
  label: ["text-md"],
4594
4605
  innerWrapper: ["gap-[6px]"],
4595
4606
  inputWrapper: ["w-[240px]", "h-[32px]", "rounded-md", "px-[6px]", "gap-[6px]"],
4596
- helperText: ["text-sm"],
4597
- errorText: ["text-sm"]
4607
+ helperMessage: ["text-sm"],
4608
+ errorMessage: ["text-sm"]
4598
4609
  },
4599
4610
  lg: {
4600
4611
  base: ["text-lg", "gap-[8px]"],
4601
4612
  label: ["text-lg"],
4602
4613
  innerWrapper: ["gap-[8px]"],
4603
4614
  inputWrapper: ["w-[240px]", "h-[40px]", "rounded-lg", "px-[8px]", "gap-[8px]"],
4604
- helperText: ["text-md"],
4605
- errorText: ["text-md"]
4615
+ helperMessage: ["text-md"],
4616
+ errorMessage: ["text-md"]
4606
4617
  },
4607
4618
  xl: {
4608
4619
  base: ["text-xl", "gap-[10px]"],
4609
4620
  label: ["text-xl"],
4610
4621
  innerWrapper: ["gap-[10px]"],
4611
4622
  inputWrapper: ["w-[240px]", "h-[50px]", "rounded-lg", "px-[10px]", "gap-[10px]"],
4612
- helperText: ["text-md"],
4613
- errorText: ["text-md"]
4623
+ helperMessage: ["text-md"],
4624
+ errorMessage: ["text-md"]
4614
4625
  }
4615
4626
  },
4616
4627
  direction: {
@@ -4634,8 +4645,8 @@ var inputStyle = tv(
4634
4645
  "group-has-[p.error]/input:placeholder:text-danger-light"
4635
4646
  ],
4636
4647
  content: ["text-neutral-light", "group-has-[p.error]/input:text-danger-light"],
4637
- helperText: ["!text-neutral-light"],
4638
- errorText: ["!text-danger-light"]
4648
+ helperMessage: ["!text-neutral-light"],
4649
+ errorMessage: ["!text-danger-light"]
4639
4650
  }
4640
4651
  }
4641
4652
  },
@@ -2,13 +2,13 @@
2
2
  import {
3
3
  paginationStyle,
4
4
  pagination_default
5
- } from "../../chunk-IVK24VIL.mjs";
5
+ } from "../../chunk-SO7BGWM7.mjs";
6
6
  import "../../chunk-F3HENRVM.mjs";
7
7
  import "../../chunk-2GCSFWHD.mjs";
8
- import "../../chunk-P5PJTJLY.mjs";
8
+ import "../../chunk-BEQ3KZGS.mjs";
9
9
  import "../../chunk-ZYIIXWVY.mjs";
10
- import "../../chunk-HWL7TPUN.mjs";
11
- import "../../chunk-3IU2RPSM.mjs";
10
+ import "../../chunk-2TKEWFGH.mjs";
11
+ import "../../chunk-2SDYFOZL.mjs";
12
12
  import "../../chunk-4ZJFD3L3.mjs";
13
13
  import "../../chunk-27Y6K5NK.mjs";
14
14
  import "../../chunk-E3G5QXSH.mjs";