@deepnoid/ui 0.0.88 → 0.0.89

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 (170) hide show
  1. package/dist/{chunk-4DLTBZUQ.mjs → chunk-3DRIHQOM.mjs} +7 -5
  2. package/dist/{chunk-IXFP2WQ4.mjs → chunk-6YE26GOI.mjs} +10 -8
  3. package/dist/{chunk-K6HPMTN4.mjs → chunk-7HHFRKJU.mjs} +1 -1
  4. package/dist/{chunk-H2HUJ4N2.mjs → chunk-A3RWT3JJ.mjs} +9 -4
  5. package/dist/{chunk-BE2OG6M4.mjs → chunk-ANYPMQH4.mjs} +28 -21
  6. package/dist/{chunk-5HSZ5AYM.mjs → chunk-B4KZBOGT.mjs} +16 -16
  7. package/dist/{chunk-KHWFCTPX.mjs → chunk-DWROPKZW.mjs} +6 -6
  8. package/dist/{chunk-YGTJU3GD.mjs → chunk-HFVZFUC3.mjs} +9 -16
  9. package/dist/{chunk-IOV7MEPG.mjs → chunk-IOCRFIQF.mjs} +30 -0
  10. package/dist/{chunk-4VIEZ5FT.mjs → chunk-JN7EGKJL.mjs} +8 -7
  11. package/dist/{chunk-SFNR4F3J.mjs → chunk-L6BQA6GI.mjs} +2 -2
  12. package/dist/{chunk-PRUAIZTU.mjs → chunk-LCI6RPWE.mjs} +1 -1
  13. package/dist/{chunk-IZOMH2SL.mjs → chunk-MOINJECK.mjs} +16 -15
  14. package/dist/{chunk-QVGXHUYW.mjs → chunk-N2JULHST.mjs} +9 -9
  15. package/dist/chunk-OJ2OEI5B.mjs +202 -0
  16. package/dist/{chunk-QRHT7MSO.mjs → chunk-PXUBPWKU.mjs} +1 -1
  17. package/dist/{chunk-PCIONGEJ.mjs → chunk-QWFOYO3D.mjs} +37 -19
  18. package/dist/{chunk-LY6LJRUX.mjs → chunk-RZZWHI6O.mjs} +1 -1
  19. package/dist/chunk-UR64ZUAU.mjs +671 -0
  20. package/dist/{chunk-PUFNT5LS.mjs → chunk-VG4644BG.mjs} +1 -1
  21. package/dist/components/accordion/accordion.d.mts +1 -1
  22. package/dist/components/accordion/accordion.d.ts +1 -1
  23. package/dist/components/accordion/accordion.test.mjs +1 -1
  24. package/dist/components/accordion/accordionItem.d.mts +1 -1
  25. package/dist/components/accordion/accordionItem.d.ts +1 -1
  26. package/dist/components/accordion/accordionItem.js +31 -1
  27. package/dist/components/accordion/accordionItem.mjs +3 -3
  28. package/dist/components/accordion/index.js +31 -1
  29. package/dist/components/accordion/index.mjs +3 -3
  30. package/dist/components/button/button-group.test.js +4103 -167
  31. package/dist/components/button/button-group.test.mjs +5 -1
  32. package/dist/components/button/button.d.mts +360 -12
  33. package/dist/components/button/button.d.ts +360 -12
  34. package/dist/components/button/button.js +4054 -110
  35. package/dist/components/button/button.mjs +5 -1
  36. package/dist/components/button/button.test.js +4059 -125
  37. package/dist/components/button/button.test.mjs +5 -1
  38. package/dist/components/button/index.d.mts +3 -0
  39. package/dist/components/button/index.d.ts +3 -0
  40. package/dist/components/button/index.js +4046 -112
  41. package/dist/components/button/index.mjs +5 -1
  42. package/dist/components/card/card.d.mts +1 -1
  43. package/dist/components/card/card.d.ts +1 -1
  44. package/dist/components/checkbox/checkbox.d.mts +69 -69
  45. package/dist/components/checkbox/checkbox.d.ts +69 -69
  46. package/dist/components/checkbox/checkbox.js +28 -21
  47. package/dist/components/checkbox/checkbox.mjs +1 -1
  48. package/dist/components/checkbox/checkbox.test.js +28 -21
  49. package/dist/components/checkbox/checkbox.test.mjs +2 -2
  50. package/dist/components/checkbox/index.js +28 -21
  51. package/dist/components/checkbox/index.mjs +1 -1
  52. package/dist/components/icon/Icon.d.mts +4 -0
  53. package/dist/components/icon/Icon.d.ts +4 -0
  54. package/dist/components/icon/Icon.js +30 -0
  55. package/dist/components/icon/Icon.mjs +2 -2
  56. package/dist/components/icon/index.js +30 -0
  57. package/dist/components/icon/index.mjs +2 -2
  58. package/dist/components/icon/template.d.mts +1 -0
  59. package/dist/components/icon/template.d.ts +1 -0
  60. package/dist/components/icon/template.js +30 -0
  61. package/dist/components/icon/template.mjs +1 -1
  62. package/dist/components/input/index.js +36 -4
  63. package/dist/components/input/index.mjs +3 -3
  64. package/dist/components/input/input.d.mts +7 -2
  65. package/dist/components/input/input.d.ts +7 -2
  66. package/dist/components/input/input.js +36 -4
  67. package/dist/components/input/input.mjs +3 -3
  68. package/dist/components/input/input.test.js +36 -4
  69. package/dist/components/input/input.test.mjs +5 -5
  70. package/dist/components/list/list.d.mts +1 -1
  71. package/dist/components/list/list.d.ts +1 -1
  72. package/dist/components/list/list.test.mjs +1 -1
  73. package/dist/components/list/listItem.d.mts +1 -1
  74. package/dist/components/list/listItem.d.ts +1 -1
  75. package/dist/components/modal/index.js +505 -127
  76. package/dist/components/modal/index.mjs +6 -5
  77. package/dist/components/modal/modal.js +505 -127
  78. package/dist/components/modal/modal.mjs +6 -5
  79. package/dist/components/modal/modal.test.js +497 -129
  80. package/dist/components/modal/modal.test.mjs +6 -5
  81. package/dist/components/pagination/index.js +16 -16
  82. package/dist/components/pagination/index.mjs +1 -1
  83. package/dist/components/pagination/pagination.js +16 -16
  84. package/dist/components/pagination/pagination.mjs +1 -1
  85. package/dist/components/pagination/pagination.test.js +16 -16
  86. package/dist/components/pagination/pagination.test.mjs +2 -2
  87. package/dist/components/progress/index.js +9 -9
  88. package/dist/components/progress/index.mjs +1 -1
  89. package/dist/components/progress/progress.d.mts +33 -33
  90. package/dist/components/progress/progress.d.ts +33 -33
  91. package/dist/components/progress/progress.js +9 -9
  92. package/dist/components/progress/progress.mjs +1 -1
  93. package/dist/components/progress/progress.test.js +9 -9
  94. package/dist/components/progress/progress.test.mjs +1 -1
  95. package/dist/components/radio/index.js +37 -19
  96. package/dist/components/radio/index.mjs +1 -1
  97. package/dist/components/radio/radio.d.mts +33 -33
  98. package/dist/components/radio/radio.d.ts +33 -33
  99. package/dist/components/radio/radio.js +37 -19
  100. package/dist/components/radio/radio.mjs +1 -1
  101. package/dist/components/radio/radio.test.js +37 -19
  102. package/dist/components/radio/radio.test.mjs +2 -2
  103. package/dist/components/select/index.js +36 -5
  104. package/dist/components/select/index.mjs +4 -4
  105. package/dist/components/select/option.js +30 -0
  106. package/dist/components/select/option.mjs +3 -3
  107. package/dist/components/select/select.d.mts +2 -2
  108. package/dist/components/select/select.d.ts +2 -2
  109. package/dist/components/select/select.js +36 -5
  110. package/dist/components/select/select.mjs +4 -4
  111. package/dist/components/select/select.test.js +36 -5
  112. package/dist/components/select/select.test.mjs +6 -6
  113. package/dist/components/slider/index.js +9 -4
  114. package/dist/components/slider/index.mjs +1 -1
  115. package/dist/components/slider/slider.d.mts +26 -0
  116. package/dist/components/slider/slider.d.ts +26 -0
  117. package/dist/components/slider/slider.js +9 -4
  118. package/dist/components/slider/slider.mjs +1 -1
  119. package/dist/components/slider/slider.test.js +9 -4
  120. package/dist/components/slider/slider.test.mjs +1 -1
  121. package/dist/components/switch/index.js +16 -15
  122. package/dist/components/switch/index.mjs +1 -1
  123. package/dist/components/switch/switch.d.mts +48 -48
  124. package/dist/components/switch/switch.d.ts +48 -48
  125. package/dist/components/switch/switch.js +16 -15
  126. package/dist/components/switch/switch.mjs +1 -1
  127. package/dist/components/switch/switch.test.js +16 -15
  128. package/dist/components/switch/switch.test.mjs +2 -2
  129. package/dist/components/table/index.js +66 -27
  130. package/dist/components/table/index.mjs +7 -7
  131. package/dist/components/table/table-body.js +60 -23
  132. package/dist/components/table/table-body.mjs +5 -5
  133. package/dist/components/table/table-head.js +28 -21
  134. package/dist/components/table/table-head.mjs +2 -2
  135. package/dist/components/table/table.d.mts +21 -7
  136. package/dist/components/table/table.d.ts +21 -7
  137. package/dist/components/table/table.js +66 -27
  138. package/dist/components/table/table.mjs +7 -7
  139. package/dist/components/table/table.test.js +66 -27
  140. package/dist/components/table/table.test.mjs +8 -8
  141. package/dist/components/tabs/tabs.d.mts +1 -1
  142. package/dist/components/tabs/tabs.d.ts +1 -1
  143. package/dist/components/tabs/tabs.test.mjs +1 -1
  144. package/dist/components/textarea/index.d.mts +3 -0
  145. package/dist/components/textarea/index.d.ts +3 -0
  146. package/dist/components/textarea/index.js +89 -30
  147. package/dist/components/textarea/index.mjs +2 -1
  148. package/dist/components/textarea/textarea.d.mts +510 -9
  149. package/dist/components/textarea/textarea.d.ts +510 -9
  150. package/dist/components/textarea/textarea.js +89 -30
  151. package/dist/components/textarea/textarea.mjs +2 -1
  152. package/dist/components/textarea/textarea.test.js +89 -30
  153. package/dist/components/textarea/textarea.test.mjs +2 -1
  154. package/dist/components/toast/index.js +30 -0
  155. package/dist/components/toast/index.mjs +4 -4
  156. package/dist/components/toast/toast.js +30 -0
  157. package/dist/components/toast/toast.mjs +3 -3
  158. package/dist/components/toast/toast.test.js +30 -0
  159. package/dist/components/toast/toast.test.mjs +5 -5
  160. package/dist/components/toast/use-toast.js +30 -0
  161. package/dist/components/toast/use-toast.mjs +4 -4
  162. package/dist/components/tooltip/tooltip.test.js +4034 -118
  163. package/dist/components/tooltip/tooltip.test.mjs +5 -2
  164. package/dist/index.d.mts +1 -1
  165. package/dist/index.d.ts +1 -1
  166. package/dist/index.js +2771 -2332
  167. package/dist/index.mjs +38 -38
  168. package/package.json +1 -1
  169. package/dist/chunk-66WCZEEU.mjs +0 -320
  170. package/dist/chunk-WOX3SLJB.mjs +0 -162
@@ -362,6 +362,36 @@ var template = {
362
362
  }
363
363
  );
364
364
  },
365
+ loading: ({ className, fill }) => {
366
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
367
+ "svg",
368
+ {
369
+ width: "24",
370
+ height: "24",
371
+ viewBox: "0 0 24 24",
372
+ fill: "none",
373
+ xmlns: "http://www.w3.org/2000/svg",
374
+ className,
375
+ children: [
376
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
377
+ "path",
378
+ {
379
+ d: "M21 12C21 16.9706 16.9706 21 12 21C7.02944 21 3 16.9706 3 12C3 7.02944 7.02944 3 12 3C16.9706 3 21 7.02944 21 12ZM6.6 12C6.6 14.9823 9.01766 17.4 12 17.4C14.9823 17.4 17.4 14.9823 17.4 12C17.4 9.01766 14.9823 6.6 12 6.6C9.01766 6.6 6.6 9.01766 6.6 12Z",
380
+ fill: "currentColor",
381
+ fillOpacity: "0.1"
382
+ }
383
+ ),
384
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
385
+ "path",
386
+ {
387
+ d: "M21 12C21 13.9006 20.3983 15.7524 19.2812 17.2901C18.164 18.8277 16.5887 19.9722 14.7812 20.5595C12.9736 21.1468 11.0264 21.1468 9.21885 20.5595C7.41126 19.9722 5.836 18.8277 4.71885 17.2901C3.60169 15.7524 3 13.9006 3 12C3 10.0994 3.60169 8.24756 4.71885 6.70993C5.836 5.1723 7.41126 4.02781 9.21885 3.44049C11.0264 2.85317 12.9736 2.85317 14.7812 3.44049L13.6687 6.8643C12.5841 6.5119 11.4159 6.5119 10.3313 6.86429C9.24675 7.21669 8.3016 7.90338 7.63131 8.82596C6.96102 9.74854 6.6 10.8596 6.6 12C6.6 13.1404 6.96102 14.2515 7.63131 15.174C8.3016 16.0966 9.24675 16.7833 10.3313 17.1357C11.4159 17.4881 12.5841 17.4881 13.6687 17.1357C14.7532 16.7833 15.6984 16.0966 16.3687 15.174C17.039 14.2515 17.4 13.1404 17.4 12H21Z",
388
+ fill: "currentColor"
389
+ }
390
+ )
391
+ ]
392
+ }
393
+ );
394
+ },
365
395
  // ** User **
366
396
  "user-circle": ({ className, fill }) => {
367
397
  return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
@@ -3701,10 +3731,7 @@ var CheckBox = (0, import_react.forwardRef)((originalProps, ref) => {
3701
3731
  fill: "none",
3702
3732
  points: "1 9 7 14 15 4",
3703
3733
  stroke: "currentColor",
3704
- strokeDasharray: 22,
3705
- strokeDashoffset: isSelected ? 44 : 66,
3706
3734
  strokeLinecap: "round",
3707
- strokeLinejoin: "round",
3708
3735
  strokeWidth: 3,
3709
3736
  style: isSelected ? {
3710
3737
  transition: "stroke-dashoffset 250ms linear 0.2s"
@@ -3722,7 +3749,7 @@ CheckBox.displayName = "CheckBox";
3722
3749
  var checkbox_default = CheckBox;
3723
3750
  var checkbox = tv({
3724
3751
  slots: {
3725
- base: "group relative inline-flex items-center cursor-pointer",
3752
+ base: ["group", "relative", "inline-flex", "items-center", "cursor-pointer"],
3726
3753
  wrapper: [
3727
3754
  "relative",
3728
3755
  "inline-flex",
@@ -3749,33 +3776,33 @@ var checkbox = tv({
3749
3776
  "group-hover:before:bg-neutral-soft",
3750
3777
  "before:transition duration-200"
3751
3778
  ],
3752
- icon: "z-10 opacity-0 group-has-[:checked]:opacity-100 text-white",
3753
- label: "relative text-foreground select-none"
3779
+ icon: ["z-10", "opacity-0", "group-has-[:checked]:opacity-100", "text-white"],
3780
+ label: ["relative", "text-foreground", "select-none"]
3754
3781
  },
3755
3782
  variants: {
3756
3783
  color: {
3757
3784
  primary: {
3758
- wrapper: "group-has-[:checked]:before:border-primary-main group-has-[:checked]:before:bg-primary-main"
3785
+ wrapper: ["group-has-[:checked]:before:border-primary-main", "group-has-[:checked]:before:bg-primary-main"]
3759
3786
  },
3760
3787
  secondary: {
3761
- wrapper: "group-has-[:checked]:before:border-secondary-main group-has-[:checked]:before:bg-secondary-main"
3788
+ wrapper: ["group-has-[:checked]:before:border-secondary-main", "group-has-[:checked]:before:bg-secondary-main"]
3762
3789
  }
3763
3790
  },
3764
3791
  size: {
3765
3792
  sm: {
3766
- wrapper: ["w-[15px] h-[15px] rounded-sm", "before:rounded-[4px]", "after:rounded-[4px]"],
3767
- label: "text-sm ml-[8px]",
3768
- icon: "w-[10px] h-[10px]"
3793
+ wrapper: ["w-[15px]", "h-[15px]", "rounded-sm", "before:rounded-[3px]", "after:rounded-[3px]"],
3794
+ label: ["text-sm", "ml-[6px]"],
3795
+ icon: ["w-[10px]", "h-[10px]"]
3769
3796
  },
3770
3797
  md: {
3771
- wrapper: ["w-[17px] h-[17px] rounded-md", "before:rounded-[5px]", "after:rounded-[5px]"],
3772
- label: "text-md ml-[9px]",
3773
- icon: "w-[12px] h-[12px]"
3798
+ wrapper: ["w-[17px]", "h-[17px]", "rounded-md", "before:rounded-[3px]", "after:rounded-[3px]"],
3799
+ label: ["text-md", "ml-[8px]"],
3800
+ icon: ["w-[12px]", "h-[12px]"]
3774
3801
  },
3775
3802
  lg: {
3776
- wrapper: ["w-[20px] h-[20px] rounded-lg", "before:rounded-[6px]", "after:rounded-[6px]"],
3777
- label: "text-lg ml-[10px]",
3778
- icon: "w-[15px] h-[15px]"
3803
+ wrapper: ["w-[20px]", "h-[20px]", "rounded-lg", "before:rounded-[4px]", "after:rounded-[4px]"],
3804
+ label: ["text-lg", "ml-[10px]"],
3805
+ icon: ["w-[15px]", "h-[15px]"]
3779
3806
  }
3780
3807
  },
3781
3808
  lineThrough: {
@@ -3796,14 +3823,24 @@ var checkbox = tv({
3796
3823
  },
3797
3824
  isInvalid: {
3798
3825
  true: {
3799
- wrapper: "before:border-danger-main group-has-[:checked]:before:bg-danger-main",
3826
+ wrapper: [
3827
+ "before:border-danger-main",
3828
+ "group-has-[:checked]:before:bg-danger-main",
3829
+ "group-has-[:checked]:before:border-danger-main"
3830
+ ],
3800
3831
  label: "text-danger-main"
3801
3832
  }
3802
3833
  },
3803
3834
  isDisabled: {
3804
3835
  true: {
3805
3836
  base: "opacity-disabled pointer-events-none text-neutral-light",
3806
- wrapper: "after:bg-neutral-soft before:border-neutral-light before:bg-neutral-soft group-has-[:checked]:before:bg-neutral-soft",
3837
+ wrapper: [
3838
+ "after:bg-neutral-soft",
3839
+ "before:border-neutral-light",
3840
+ "before:bg-neutral-soft",
3841
+ "group-has-[:checked]:before:bg-neutral-soft",
3842
+ "group-has-[:checked]:before:border-neutral-light"
3843
+ ],
3807
3844
  label: "text-neutral-light",
3808
3845
  icon: "text-neutral-light"
3809
3846
  }
@@ -3824,8 +3861,8 @@ var checkbox = tv({
3824
3861
  "after:!duration-200",
3825
3862
  "motion-reduce:transition-none"
3826
3863
  ],
3827
- icon: "transition-opacity motion-reduce:transition-none",
3828
- label: "transition-colors-opacity before:transition-width motion-reduce:transition-none"
3864
+ icon: ["transition-opacity", "motion-reduce:transition-none"],
3865
+ label: ["transition-colors-opacity", "before:transition-width", "motion-reduce:transition-none"]
3829
3866
  }
3830
3867
  }
3831
3868
  },
@@ -3870,7 +3907,7 @@ var TableBody = ({
3870
3907
  const getTrProps = (0, import_react2.useCallback)(
3871
3908
  (index) => ({
3872
3909
  className: clsx(slots.tr({ class: classNames == null ? void 0 : classNames.tr })),
3873
- "data-isOdd": index % 2 !== 0,
3910
+ "data-odd": index % 2 !== 0,
3874
3911
  "data-expanded": expandedRows.has(index)
3875
3912
  }),
3876
3913
  [classNames == null ? void 0 : classNames.tr, expandedRows, slots]
@@ -3937,7 +3974,7 @@ var TableBody = ({
3937
3974
  isExpanded && /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("td", { ...getTdProps({ field: "expandIcon" }, row, keys), children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
3938
3975
  Icon_default,
3939
3976
  {
3940
- name: expandedRows.has(rowIndex) ? "arrow-down" : "arrow-right",
3977
+ name: expandedRows.has(rowIndex) ? "brace-down" : "brace-right",
3941
3978
  className: `ml-2 transition-transform`,
3942
3979
  size
3943
3980
  }
@@ -1,13 +1,13 @@
1
1
  "use client";
2
2
  import {
3
3
  table_body_default
4
- } from "../../chunk-KHWFCTPX.mjs";
4
+ } from "../../chunk-DWROPKZW.mjs";
5
5
  import "../../chunk-QZ3LVYJW.mjs";
6
- import "../../chunk-BE2OG6M4.mjs";
7
- import "../../chunk-ZYIIXWVY.mjs";
8
- import "../../chunk-PRUAIZTU.mjs";
9
- import "../../chunk-IOV7MEPG.mjs";
6
+ import "../../chunk-ANYPMQH4.mjs";
10
7
  import "../../chunk-27Y6K5NK.mjs";
8
+ import "../../chunk-ZYIIXWVY.mjs";
9
+ import "../../chunk-LCI6RPWE.mjs";
10
+ import "../../chunk-IOCRFIQF.mjs";
11
11
  import "../../chunk-E3G5QXSH.mjs";
12
12
  import "../../chunk-J725QONZ.mjs";
13
13
  import "../../chunk-IZ6II3QA.mjs";
@@ -152,10 +152,7 @@ var CheckBox = (0, import_react.forwardRef)((originalProps, ref) => {
152
152
  fill: "none",
153
153
  points: "1 9 7 14 15 4",
154
154
  stroke: "currentColor",
155
- strokeDasharray: 22,
156
- strokeDashoffset: isSelected ? 44 : 66,
157
155
  strokeLinecap: "round",
158
- strokeLinejoin: "round",
159
156
  strokeWidth: 3,
160
157
  style: isSelected ? {
161
158
  transition: "stroke-dashoffset 250ms linear 0.2s"
@@ -173,7 +170,7 @@ CheckBox.displayName = "CheckBox";
173
170
  var checkbox_default = CheckBox;
174
171
  var checkbox = tv({
175
172
  slots: {
176
- base: "group relative inline-flex items-center cursor-pointer",
173
+ base: ["group", "relative", "inline-flex", "items-center", "cursor-pointer"],
177
174
  wrapper: [
178
175
  "relative",
179
176
  "inline-flex",
@@ -200,33 +197,33 @@ var checkbox = tv({
200
197
  "group-hover:before:bg-neutral-soft",
201
198
  "before:transition duration-200"
202
199
  ],
203
- icon: "z-10 opacity-0 group-has-[:checked]:opacity-100 text-white",
204
- label: "relative text-foreground select-none"
200
+ icon: ["z-10", "opacity-0", "group-has-[:checked]:opacity-100", "text-white"],
201
+ label: ["relative", "text-foreground", "select-none"]
205
202
  },
206
203
  variants: {
207
204
  color: {
208
205
  primary: {
209
- wrapper: "group-has-[:checked]:before:border-primary-main group-has-[:checked]:before:bg-primary-main"
206
+ wrapper: ["group-has-[:checked]:before:border-primary-main", "group-has-[:checked]:before:bg-primary-main"]
210
207
  },
211
208
  secondary: {
212
- wrapper: "group-has-[:checked]:before:border-secondary-main group-has-[:checked]:before:bg-secondary-main"
209
+ wrapper: ["group-has-[:checked]:before:border-secondary-main", "group-has-[:checked]:before:bg-secondary-main"]
213
210
  }
214
211
  },
215
212
  size: {
216
213
  sm: {
217
- wrapper: ["w-[15px] h-[15px] rounded-sm", "before:rounded-[4px]", "after:rounded-[4px]"],
218
- label: "text-sm ml-[8px]",
219
- icon: "w-[10px] h-[10px]"
214
+ wrapper: ["w-[15px]", "h-[15px]", "rounded-sm", "before:rounded-[3px]", "after:rounded-[3px]"],
215
+ label: ["text-sm", "ml-[6px]"],
216
+ icon: ["w-[10px]", "h-[10px]"]
220
217
  },
221
218
  md: {
222
- wrapper: ["w-[17px] h-[17px] rounded-md", "before:rounded-[5px]", "after:rounded-[5px]"],
223
- label: "text-md ml-[9px]",
224
- icon: "w-[12px] h-[12px]"
219
+ wrapper: ["w-[17px]", "h-[17px]", "rounded-md", "before:rounded-[3px]", "after:rounded-[3px]"],
220
+ label: ["text-md", "ml-[8px]"],
221
+ icon: ["w-[12px]", "h-[12px]"]
225
222
  },
226
223
  lg: {
227
- wrapper: ["w-[20px] h-[20px] rounded-lg", "before:rounded-[6px]", "after:rounded-[6px]"],
228
- label: "text-lg ml-[10px]",
229
- icon: "w-[15px] h-[15px]"
224
+ wrapper: ["w-[20px]", "h-[20px]", "rounded-lg", "before:rounded-[4px]", "after:rounded-[4px]"],
225
+ label: ["text-lg", "ml-[10px]"],
226
+ icon: ["w-[15px]", "h-[15px]"]
230
227
  }
231
228
  },
232
229
  lineThrough: {
@@ -247,14 +244,24 @@ var checkbox = tv({
247
244
  },
248
245
  isInvalid: {
249
246
  true: {
250
- wrapper: "before:border-danger-main group-has-[:checked]:before:bg-danger-main",
247
+ wrapper: [
248
+ "before:border-danger-main",
249
+ "group-has-[:checked]:before:bg-danger-main",
250
+ "group-has-[:checked]:before:border-danger-main"
251
+ ],
251
252
  label: "text-danger-main"
252
253
  }
253
254
  },
254
255
  isDisabled: {
255
256
  true: {
256
257
  base: "opacity-disabled pointer-events-none text-neutral-light",
257
- wrapper: "after:bg-neutral-soft before:border-neutral-light before:bg-neutral-soft group-has-[:checked]:before:bg-neutral-soft",
258
+ wrapper: [
259
+ "after:bg-neutral-soft",
260
+ "before:border-neutral-light",
261
+ "before:bg-neutral-soft",
262
+ "group-has-[:checked]:before:bg-neutral-soft",
263
+ "group-has-[:checked]:before:border-neutral-light"
264
+ ],
258
265
  label: "text-neutral-light",
259
266
  icon: "text-neutral-light"
260
267
  }
@@ -275,8 +282,8 @@ var checkbox = tv({
275
282
  "after:!duration-200",
276
283
  "motion-reduce:transition-none"
277
284
  ],
278
- icon: "transition-opacity motion-reduce:transition-none",
279
- label: "transition-colors-opacity before:transition-width motion-reduce:transition-none"
285
+ icon: ["transition-opacity", "motion-reduce:transition-none"],
286
+ label: ["transition-colors-opacity", "before:transition-width", "motion-reduce:transition-none"]
280
287
  }
281
288
  }
282
289
  },
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  table_head_default
4
- } from "../../chunk-PUFNT5LS.mjs";
4
+ } from "../../chunk-VG4644BG.mjs";
5
5
  import "../../chunk-QZ3LVYJW.mjs";
6
- import "../../chunk-BE2OG6M4.mjs";
6
+ import "../../chunk-ANYPMQH4.mjs";
7
7
  import "../../chunk-27Y6K5NK.mjs";
8
8
  import "../../chunk-E3G5QXSH.mjs";
9
9
  import "../../chunk-J725QONZ.mjs";
@@ -66,7 +66,9 @@ declare const table: tailwind_variants.TVReturnType<{
66
66
  true: {};
67
67
  };
68
68
  isSelectedRow: {
69
- true: {};
69
+ true: {
70
+ tr: string;
71
+ };
70
72
  };
71
73
  hideHeader: {
72
74
  true: {
@@ -150,7 +152,9 @@ declare const table: tailwind_variants.TVReturnType<{
150
152
  true: {};
151
153
  };
152
154
  isSelectedRow: {
153
- true: {};
155
+ true: {
156
+ tr: string;
157
+ };
154
158
  };
155
159
  hideHeader: {
156
160
  true: {
@@ -221,7 +225,9 @@ declare const table: tailwind_variants.TVReturnType<{
221
225
  true: {};
222
226
  };
223
227
  isSelectedRow: {
224
- true: {};
228
+ true: {
229
+ tr: string;
230
+ };
225
231
  };
226
232
  hideHeader: {
227
233
  true: {
@@ -292,7 +298,9 @@ declare const table: tailwind_variants.TVReturnType<{
292
298
  true: {};
293
299
  };
294
300
  isSelectedRow: {
295
- true: {};
301
+ true: {
302
+ tr: string;
303
+ };
296
304
  };
297
305
  hideHeader: {
298
306
  true: {
@@ -376,7 +384,9 @@ declare const table: tailwind_variants.TVReturnType<{
376
384
  true: {};
377
385
  };
378
386
  isSelectedRow: {
379
- true: {};
387
+ true: {
388
+ tr: string;
389
+ };
380
390
  };
381
391
  hideHeader: {
382
392
  true: {
@@ -460,7 +470,9 @@ declare const table: tailwind_variants.TVReturnType<{
460
470
  true: {};
461
471
  };
462
472
  isSelectedRow: {
463
- true: {};
473
+ true: {
474
+ tr: string;
475
+ };
464
476
  };
465
477
  hideHeader: {
466
478
  true: {
@@ -531,7 +543,9 @@ declare const table: tailwind_variants.TVReturnType<{
531
543
  true: {};
532
544
  };
533
545
  isSelectedRow: {
534
- true: {};
546
+ true: {
547
+ tr: string;
548
+ };
535
549
  };
536
550
  hideHeader: {
537
551
  true: {
@@ -66,7 +66,9 @@ declare const table: tailwind_variants.TVReturnType<{
66
66
  true: {};
67
67
  };
68
68
  isSelectedRow: {
69
- true: {};
69
+ true: {
70
+ tr: string;
71
+ };
70
72
  };
71
73
  hideHeader: {
72
74
  true: {
@@ -150,7 +152,9 @@ declare const table: tailwind_variants.TVReturnType<{
150
152
  true: {};
151
153
  };
152
154
  isSelectedRow: {
153
- true: {};
155
+ true: {
156
+ tr: string;
157
+ };
154
158
  };
155
159
  hideHeader: {
156
160
  true: {
@@ -221,7 +225,9 @@ declare const table: tailwind_variants.TVReturnType<{
221
225
  true: {};
222
226
  };
223
227
  isSelectedRow: {
224
- true: {};
228
+ true: {
229
+ tr: string;
230
+ };
225
231
  };
226
232
  hideHeader: {
227
233
  true: {
@@ -292,7 +298,9 @@ declare const table: tailwind_variants.TVReturnType<{
292
298
  true: {};
293
299
  };
294
300
  isSelectedRow: {
295
- true: {};
301
+ true: {
302
+ tr: string;
303
+ };
296
304
  };
297
305
  hideHeader: {
298
306
  true: {
@@ -376,7 +384,9 @@ declare const table: tailwind_variants.TVReturnType<{
376
384
  true: {};
377
385
  };
378
386
  isSelectedRow: {
379
- true: {};
387
+ true: {
388
+ tr: string;
389
+ };
380
390
  };
381
391
  hideHeader: {
382
392
  true: {
@@ -460,7 +470,9 @@ declare const table: tailwind_variants.TVReturnType<{
460
470
  true: {};
461
471
  };
462
472
  isSelectedRow: {
463
- true: {};
473
+ true: {
474
+ tr: string;
475
+ };
464
476
  };
465
477
  hideHeader: {
466
478
  true: {
@@ -531,7 +543,9 @@ declare const table: tailwind_variants.TVReturnType<{
531
543
  true: {};
532
544
  };
533
545
  isSelectedRow: {
534
- true: {};
546
+ true: {
547
+ tr: string;
548
+ };
535
549
  };
536
550
  hideHeader: {
537
551
  true: {
@@ -165,10 +165,7 @@ var CheckBox = (0, import_react.forwardRef)((originalProps, ref) => {
165
165
  fill: "none",
166
166
  points: "1 9 7 14 15 4",
167
167
  stroke: "currentColor",
168
- strokeDasharray: 22,
169
- strokeDashoffset: isSelected ? 44 : 66,
170
168
  strokeLinecap: "round",
171
- strokeLinejoin: "round",
172
169
  strokeWidth: 3,
173
170
  style: isSelected ? {
174
171
  transition: "stroke-dashoffset 250ms linear 0.2s"
@@ -186,7 +183,7 @@ CheckBox.displayName = "CheckBox";
186
183
  var checkbox_default = CheckBox;
187
184
  var checkbox = tv({
188
185
  slots: {
189
- base: "group relative inline-flex items-center cursor-pointer",
186
+ base: ["group", "relative", "inline-flex", "items-center", "cursor-pointer"],
190
187
  wrapper: [
191
188
  "relative",
192
189
  "inline-flex",
@@ -213,33 +210,33 @@ var checkbox = tv({
213
210
  "group-hover:before:bg-neutral-soft",
214
211
  "before:transition duration-200"
215
212
  ],
216
- icon: "z-10 opacity-0 group-has-[:checked]:opacity-100 text-white",
217
- label: "relative text-foreground select-none"
213
+ icon: ["z-10", "opacity-0", "group-has-[:checked]:opacity-100", "text-white"],
214
+ label: ["relative", "text-foreground", "select-none"]
218
215
  },
219
216
  variants: {
220
217
  color: {
221
218
  primary: {
222
- wrapper: "group-has-[:checked]:before:border-primary-main group-has-[:checked]:before:bg-primary-main"
219
+ wrapper: ["group-has-[:checked]:before:border-primary-main", "group-has-[:checked]:before:bg-primary-main"]
223
220
  },
224
221
  secondary: {
225
- wrapper: "group-has-[:checked]:before:border-secondary-main group-has-[:checked]:before:bg-secondary-main"
222
+ wrapper: ["group-has-[:checked]:before:border-secondary-main", "group-has-[:checked]:before:bg-secondary-main"]
226
223
  }
227
224
  },
228
225
  size: {
229
226
  sm: {
230
- wrapper: ["w-[15px] h-[15px] rounded-sm", "before:rounded-[4px]", "after:rounded-[4px]"],
231
- label: "text-sm ml-[8px]",
232
- icon: "w-[10px] h-[10px]"
227
+ wrapper: ["w-[15px]", "h-[15px]", "rounded-sm", "before:rounded-[3px]", "after:rounded-[3px]"],
228
+ label: ["text-sm", "ml-[6px]"],
229
+ icon: ["w-[10px]", "h-[10px]"]
233
230
  },
234
231
  md: {
235
- wrapper: ["w-[17px] h-[17px] rounded-md", "before:rounded-[5px]", "after:rounded-[5px]"],
236
- label: "text-md ml-[9px]",
237
- icon: "w-[12px] h-[12px]"
232
+ wrapper: ["w-[17px]", "h-[17px]", "rounded-md", "before:rounded-[3px]", "after:rounded-[3px]"],
233
+ label: ["text-md", "ml-[8px]"],
234
+ icon: ["w-[12px]", "h-[12px]"]
238
235
  },
239
236
  lg: {
240
- wrapper: ["w-[20px] h-[20px] rounded-lg", "before:rounded-[6px]", "after:rounded-[6px]"],
241
- label: "text-lg ml-[10px]",
242
- icon: "w-[15px] h-[15px]"
237
+ wrapper: ["w-[20px]", "h-[20px]", "rounded-lg", "before:rounded-[4px]", "after:rounded-[4px]"],
238
+ label: ["text-lg", "ml-[10px]"],
239
+ icon: ["w-[15px]", "h-[15px]"]
243
240
  }
244
241
  },
245
242
  lineThrough: {
@@ -260,14 +257,24 @@ var checkbox = tv({
260
257
  },
261
258
  isInvalid: {
262
259
  true: {
263
- wrapper: "before:border-danger-main group-has-[:checked]:before:bg-danger-main",
260
+ wrapper: [
261
+ "before:border-danger-main",
262
+ "group-has-[:checked]:before:bg-danger-main",
263
+ "group-has-[:checked]:before:border-danger-main"
264
+ ],
264
265
  label: "text-danger-main"
265
266
  }
266
267
  },
267
268
  isDisabled: {
268
269
  true: {
269
270
  base: "opacity-disabled pointer-events-none text-neutral-light",
270
- wrapper: "after:bg-neutral-soft before:border-neutral-light before:bg-neutral-soft group-has-[:checked]:before:bg-neutral-soft",
271
+ wrapper: [
272
+ "after:bg-neutral-soft",
273
+ "before:border-neutral-light",
274
+ "before:bg-neutral-soft",
275
+ "group-has-[:checked]:before:bg-neutral-soft",
276
+ "group-has-[:checked]:before:border-neutral-light"
277
+ ],
271
278
  label: "text-neutral-light",
272
279
  icon: "text-neutral-light"
273
280
  }
@@ -288,8 +295,8 @@ var checkbox = tv({
288
295
  "after:!duration-200",
289
296
  "motion-reduce:transition-none"
290
297
  ],
291
- icon: "transition-opacity motion-reduce:transition-none",
292
- label: "transition-colors-opacity before:transition-width motion-reduce:transition-none"
298
+ icon: ["transition-opacity", "motion-reduce:transition-none"],
299
+ label: ["transition-colors-opacity", "before:transition-width", "motion-reduce:transition-none"]
293
300
  }
294
301
  }
295
302
  },
@@ -635,6 +642,36 @@ var template = {
635
642
  }
636
643
  );
637
644
  },
645
+ loading: ({ className, fill }) => {
646
+ return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(
647
+ "svg",
648
+ {
649
+ width: "24",
650
+ height: "24",
651
+ viewBox: "0 0 24 24",
652
+ fill: "none",
653
+ xmlns: "http://www.w3.org/2000/svg",
654
+ className,
655
+ children: [
656
+ /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
657
+ "path",
658
+ {
659
+ d: "M21 12C21 16.9706 16.9706 21 12 21C7.02944 21 3 16.9706 3 12C3 7.02944 7.02944 3 12 3C16.9706 3 21 7.02944 21 12ZM6.6 12C6.6 14.9823 9.01766 17.4 12 17.4C14.9823 17.4 17.4 14.9823 17.4 12C17.4 9.01766 14.9823 6.6 12 6.6C9.01766 6.6 6.6 9.01766 6.6 12Z",
660
+ fill: "currentColor",
661
+ fillOpacity: "0.1"
662
+ }
663
+ ),
664
+ /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
665
+ "path",
666
+ {
667
+ d: "M21 12C21 13.9006 20.3983 15.7524 19.2812 17.2901C18.164 18.8277 16.5887 19.9722 14.7812 20.5595C12.9736 21.1468 11.0264 21.1468 9.21885 20.5595C7.41126 19.9722 5.836 18.8277 4.71885 17.2901C3.60169 15.7524 3 13.9006 3 12C3 10.0994 3.60169 8.24756 4.71885 6.70993C5.836 5.1723 7.41126 4.02781 9.21885 3.44049C11.0264 2.85317 12.9736 2.85317 14.7812 3.44049L13.6687 6.8643C12.5841 6.5119 11.4159 6.5119 10.3313 6.86429C9.24675 7.21669 8.3016 7.90338 7.63131 8.82596C6.96102 9.74854 6.6 10.8596 6.6 12C6.6 13.1404 6.96102 14.2515 7.63131 15.174C8.3016 16.0966 9.24675 16.7833 10.3313 17.1357C11.4159 17.4881 12.5841 17.4881 13.6687 17.1357C14.7532 16.7833 15.6984 16.0966 16.3687 15.174C17.039 14.2515 17.4 13.1404 17.4 12H21Z",
668
+ fill: "currentColor"
669
+ }
670
+ )
671
+ ]
672
+ }
673
+ );
674
+ },
638
675
  // ** User **
639
676
  "user-circle": ({ className, fill }) => {
640
677
  return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
@@ -3920,7 +3957,7 @@ var TableBody = ({
3920
3957
  const getTrProps = (0, import_react4.useCallback)(
3921
3958
  (index) => ({
3922
3959
  className: clsx(slots.tr({ class: classNames == null ? void 0 : classNames.tr })),
3923
- "data-isOdd": index % 2 !== 0,
3960
+ "data-odd": index % 2 !== 0,
3924
3961
  "data-expanded": expandedRows.has(index)
3925
3962
  }),
3926
3963
  [classNames == null ? void 0 : classNames.tr, expandedRows, slots]
@@ -3987,7 +4024,7 @@ var TableBody = ({
3987
4024
  isExpanded && /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("td", { ...getTdProps({ field: "expandIcon" }, row, keys), children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
3988
4025
  Icon_default,
3989
4026
  {
3990
- name: expandedRows.has(rowIndex) ? "arrow-down" : "arrow-right",
4027
+ name: expandedRows.has(rowIndex) ? "brace-down" : "brace-right",
3991
4028
  className: `ml-2 transition-transform`,
3992
4029
  size
3993
4030
  }
@@ -4172,7 +4209,9 @@ var table = (0, import_tailwind_variants3.tv)({
4172
4209
  true: {}
4173
4210
  },
4174
4211
  isSelectedRow: {
4175
- true: {}
4212
+ true: {
4213
+ tr: "cursor-pointer"
4214
+ }
4176
4215
  },
4177
4216
  hideHeader: {
4178
4217
  true: {
@@ -4261,7 +4300,7 @@ var table = (0, import_tailwind_variants3.tv)({
4261
4300
  variant: "stripe",
4262
4301
  color: "primary",
4263
4302
  class: {
4264
- tr: "data-[isOdd=true]:bg-primary-soft",
4303
+ tr: "data-[odd=true]:bg-primary-soft",
4265
4304
  td: "group-hover:bg-primary-light"
4266
4305
  }
4267
4306
  },
@@ -4269,7 +4308,7 @@ var table = (0, import_tailwind_variants3.tv)({
4269
4308
  variant: "stripe",
4270
4309
  color: "secondary",
4271
4310
  class: {
4272
- tr: "data-[isOdd=true]:bg-secondary-soft",
4311
+ tr: "data-[odd=true]:bg-secondary-soft",
4273
4312
  td: "group-hover:bg-secondary-light"
4274
4313
  }
4275
4314
  },
@@ -4277,7 +4316,7 @@ var table = (0, import_tailwind_variants3.tv)({
4277
4316
  variant: "stripe",
4278
4317
  color: "neutral",
4279
4318
  class: {
4280
- tr: "data-[isOdd=true]:bg-trans-soft",
4319
+ tr: "data-[odd=true]:bg-trans-soft",
4281
4320
  td: "group-hover:bg-neutral-light"
4282
4321
  }
4283
4322
  }
@@ -1,15 +1,15 @@
1
1
  "use client";
2
2
  import {
3
3
  table_default
4
- } from "../../chunk-IXFP2WQ4.mjs";
5
- import "../../chunk-PUFNT5LS.mjs";
6
- import "../../chunk-KHWFCTPX.mjs";
4
+ } from "../../chunk-6YE26GOI.mjs";
5
+ import "../../chunk-DWROPKZW.mjs";
6
+ import "../../chunk-VG4644BG.mjs";
7
7
  import "../../chunk-QZ3LVYJW.mjs";
8
- import "../../chunk-BE2OG6M4.mjs";
9
- import "../../chunk-ZYIIXWVY.mjs";
10
- import "../../chunk-PRUAIZTU.mjs";
11
- import "../../chunk-IOV7MEPG.mjs";
8
+ import "../../chunk-ANYPMQH4.mjs";
12
9
  import "../../chunk-27Y6K5NK.mjs";
10
+ import "../../chunk-ZYIIXWVY.mjs";
11
+ import "../../chunk-LCI6RPWE.mjs";
12
+ import "../../chunk-IOCRFIQF.mjs";
13
13
  import "../../chunk-E3G5QXSH.mjs";
14
14
  import "../../chunk-J725QONZ.mjs";
15
15
  import "../../chunk-IZ6II3QA.mjs";