@deepnoid/ui 0.0.88 → 0.0.90

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 (227) hide show
  1. package/dist/{chunk-4VIEZ5FT.mjs → chunk-2BCJZILI.mjs} +10 -9
  2. package/dist/chunk-2ZFHB4JM.mjs +76 -0
  3. package/dist/{chunk-4DLTBZUQ.mjs → chunk-3DRIHQOM.mjs} +7 -5
  4. package/dist/{chunk-IXFP2WQ4.mjs → chunk-6YE26GOI.mjs} +10 -8
  5. package/dist/chunk-75HLCORR.mjs +1 -0
  6. package/dist/{chunk-K6HPMTN4.mjs → chunk-7HHFRKJU.mjs} +1 -1
  7. package/dist/{chunk-H2HUJ4N2.mjs → chunk-A3RWT3JJ.mjs} +9 -4
  8. package/dist/{chunk-BE2OG6M4.mjs → chunk-ANYPMQH4.mjs} +28 -21
  9. package/dist/{chunk-5HSZ5AYM.mjs → chunk-B4KZBOGT.mjs} +16 -16
  10. package/dist/{chunk-KHWFCTPX.mjs → chunk-DWROPKZW.mjs} +6 -6
  11. package/dist/{chunk-FPCP4OOL.mjs → chunk-EDEV4IK4.mjs} +3 -3
  12. package/dist/{chunk-IOV7MEPG.mjs → chunk-IOCRFIQF.mjs} +30 -0
  13. package/dist/{chunk-SFNR4F3J.mjs → chunk-L6BQA6GI.mjs} +2 -2
  14. package/dist/{chunk-YGTJU3GD.mjs → chunk-L7P6OBUX.mjs} +10 -17
  15. package/dist/{chunk-PRUAIZTU.mjs → chunk-LCI6RPWE.mjs} +1 -1
  16. package/dist/{chunk-QVGXHUYW.mjs → chunk-N2JULHST.mjs} +9 -9
  17. package/dist/chunk-N6IEGD4K.mjs +119 -0
  18. package/dist/chunk-OJ2OEI5B.mjs +202 -0
  19. package/dist/chunk-P732YGHO.mjs +18 -0
  20. package/dist/{chunk-QRHT7MSO.mjs → chunk-PXUBPWKU.mjs} +1 -1
  21. package/dist/{chunk-PCIONGEJ.mjs → chunk-QWFOYO3D.mjs} +37 -19
  22. package/dist/{chunk-LY6LJRUX.mjs → chunk-RZZWHI6O.mjs} +1 -1
  23. package/dist/chunk-S2VUKVCH.mjs +319 -0
  24. package/dist/{chunk-IZOMH2SL.mjs → chunk-S3O52LLG.mjs} +14 -14
  25. package/dist/chunk-UR64ZUAU.mjs +671 -0
  26. package/dist/{chunk-PUFNT5LS.mjs → chunk-VG4644BG.mjs} +1 -1
  27. package/dist/chunk-WX32MAKV.mjs +219 -0
  28. package/dist/components/accordion/accordion.d.mts +3 -3
  29. package/dist/components/accordion/accordion.d.ts +3 -3
  30. package/dist/components/accordion/accordion.test.mjs +3 -3
  31. package/dist/components/accordion/accordionItem.d.mts +3 -3
  32. package/dist/components/accordion/accordionItem.d.ts +3 -3
  33. package/dist/components/accordion/accordionItem.js +31 -1
  34. package/dist/components/accordion/accordionItem.mjs +3 -3
  35. package/dist/components/accordion/index.js +31 -1
  36. package/dist/components/accordion/index.mjs +3 -3
  37. package/dist/components/button/button-group.d.mts +2 -2
  38. package/dist/components/button/button-group.d.ts +2 -2
  39. package/dist/components/button/button-group.test.js +4103 -167
  40. package/dist/components/button/button-group.test.mjs +7 -3
  41. package/dist/components/button/button.d.mts +360 -12
  42. package/dist/components/button/button.d.ts +360 -12
  43. package/dist/components/button/button.js +4054 -110
  44. package/dist/components/button/button.mjs +5 -1
  45. package/dist/components/button/button.test.js +4059 -125
  46. package/dist/components/button/button.test.mjs +7 -3
  47. package/dist/components/button/index.d.mts +3 -0
  48. package/dist/components/button/index.d.ts +3 -0
  49. package/dist/components/button/index.js +4046 -112
  50. package/dist/components/button/index.mjs +5 -1
  51. package/dist/components/card/card.d.mts +3 -3
  52. package/dist/components/card/card.d.ts +3 -3
  53. package/dist/components/checkbox/checkbox.d.mts +71 -71
  54. package/dist/components/checkbox/checkbox.d.ts +71 -71
  55. package/dist/components/checkbox/checkbox.js +28 -21
  56. package/dist/components/checkbox/checkbox.mjs +1 -1
  57. package/dist/components/checkbox/checkbox.test.js +28 -21
  58. package/dist/components/checkbox/checkbox.test.mjs +4 -4
  59. package/dist/components/checkbox/index.js +28 -21
  60. package/dist/components/checkbox/index.mjs +1 -1
  61. package/dist/components/dateTimePicker/calendar.d.mts +118 -0
  62. package/dist/components/dateTimePicker/calendar.d.ts +118 -0
  63. package/dist/components/dateTimePicker/calendar.js +3854 -0
  64. package/dist/components/dateTimePicker/calendar.mjs +16 -0
  65. package/dist/components/dateTimePicker/dateTimePicker.d.mts +443 -0
  66. package/dist/components/dateTimePicker/dateTimePicker.d.ts +443 -0
  67. package/dist/components/dateTimePicker/dateTimePicker.js +4486 -0
  68. package/dist/components/dateTimePicker/dateTimePicker.mjs +22 -0
  69. package/dist/components/dateTimePicker/index.d.mts +5 -0
  70. package/dist/components/dateTimePicker/index.d.ts +5 -0
  71. package/dist/components/dateTimePicker/index.js +4487 -0
  72. package/dist/components/dateTimePicker/index.mjs +21 -0
  73. package/dist/components/dateTimePicker/timePicker.d.mts +10 -0
  74. package/dist/components/dateTimePicker/timePicker.d.ts +10 -0
  75. package/dist/components/dateTimePicker/timePicker.js +342 -0
  76. package/dist/components/dateTimePicker/timePicker.mjs +13 -0
  77. package/dist/components/dateTimePicker/useDateTimePicker.d.mts +31 -0
  78. package/dist/components/dateTimePicker/useDateTimePicker.d.ts +31 -0
  79. package/dist/components/dateTimePicker/useDateTimePicker.js +106 -0
  80. package/dist/components/dateTimePicker/useDateTimePicker.mjs +9 -0
  81. package/dist/components/dateTimePicker/util.d.mts +4 -0
  82. package/dist/components/dateTimePicker/util.d.ts +4 -0
  83. package/dist/components/dateTimePicker/util.js +42 -0
  84. package/dist/components/dateTimePicker/util.mjs +10 -0
  85. package/dist/components/icon/Icon.d.mts +4 -0
  86. package/dist/components/icon/Icon.d.ts +4 -0
  87. package/dist/components/icon/Icon.js +30 -0
  88. package/dist/components/icon/Icon.mjs +2 -2
  89. package/dist/components/icon/index.js +30 -0
  90. package/dist/components/icon/index.mjs +2 -2
  91. package/dist/components/icon/template.d.mts +1 -0
  92. package/dist/components/icon/template.d.ts +1 -0
  93. package/dist/components/icon/template.js +30 -0
  94. package/dist/components/icon/template.mjs +1 -1
  95. package/dist/components/input/index.js +36 -4
  96. package/dist/components/input/index.mjs +3 -3
  97. package/dist/components/input/input.d.mts +9 -4
  98. package/dist/components/input/input.d.ts +9 -4
  99. package/dist/components/input/input.js +36 -4
  100. package/dist/components/input/input.mjs +3 -3
  101. package/dist/components/input/input.test.js +36 -4
  102. package/dist/components/input/input.test.mjs +6 -6
  103. package/dist/components/list/index.js +3 -3
  104. package/dist/components/list/index.mjs +1 -1
  105. package/dist/components/list/list.d.mts +3 -3
  106. package/dist/components/list/list.d.ts +3 -3
  107. package/dist/components/list/list.test.mjs +1 -1
  108. package/dist/components/list/listItem.d.mts +4 -4
  109. package/dist/components/list/listItem.d.ts +4 -4
  110. package/dist/components/list/listItem.js +3 -3
  111. package/dist/components/list/listItem.mjs +1 -1
  112. package/dist/components/modal/index.js +506 -128
  113. package/dist/components/modal/index.mjs +6 -5
  114. package/dist/components/modal/modal.d.mts +2 -2
  115. package/dist/components/modal/modal.d.ts +2 -2
  116. package/dist/components/modal/modal.js +506 -128
  117. package/dist/components/modal/modal.mjs +6 -5
  118. package/dist/components/modal/modal.test.js +498 -130
  119. package/dist/components/modal/modal.test.mjs +6 -5
  120. package/dist/components/pagination/index.js +16 -16
  121. package/dist/components/pagination/index.mjs +1 -1
  122. package/dist/components/pagination/pagination.d.mts +2 -2
  123. package/dist/components/pagination/pagination.d.ts +2 -2
  124. package/dist/components/pagination/pagination.js +16 -16
  125. package/dist/components/pagination/pagination.mjs +1 -1
  126. package/dist/components/pagination/pagination.test.js +16 -16
  127. package/dist/components/pagination/pagination.test.mjs +2 -2
  128. package/dist/components/progress/index.js +9 -9
  129. package/dist/components/progress/index.mjs +1 -1
  130. package/dist/components/progress/progress.d.mts +35 -35
  131. package/dist/components/progress/progress.d.ts +35 -35
  132. package/dist/components/progress/progress.js +9 -9
  133. package/dist/components/progress/progress.mjs +1 -1
  134. package/dist/components/progress/progress.test.js +9 -9
  135. package/dist/components/progress/progress.test.mjs +1 -1
  136. package/dist/components/radio/index.js +37 -19
  137. package/dist/components/radio/index.mjs +1 -1
  138. package/dist/components/radio/radio.d.mts +35 -35
  139. package/dist/components/radio/radio.d.ts +35 -35
  140. package/dist/components/radio/radio.js +37 -19
  141. package/dist/components/radio/radio.mjs +1 -1
  142. package/dist/components/radio/radio.test.js +37 -19
  143. package/dist/components/radio/radio.test.mjs +2 -2
  144. package/dist/components/select/index.js +36 -5
  145. package/dist/components/select/index.mjs +4 -4
  146. package/dist/components/select/option.js +30 -0
  147. package/dist/components/select/option.mjs +3 -3
  148. package/dist/components/select/select.d.mts +4 -4
  149. package/dist/components/select/select.d.ts +4 -4
  150. package/dist/components/select/select.js +36 -5
  151. package/dist/components/select/select.mjs +4 -4
  152. package/dist/components/select/select.test.js +36 -5
  153. package/dist/components/select/select.test.mjs +9 -9
  154. package/dist/components/select/useSelect.d.mts +3 -3
  155. package/dist/components/select/useSelect.d.ts +3 -3
  156. package/dist/components/slider/index.js +9 -4
  157. package/dist/components/slider/index.mjs +1 -1
  158. package/dist/components/slider/slider.d.mts +28 -2
  159. package/dist/components/slider/slider.d.ts +28 -2
  160. package/dist/components/slider/slider.js +9 -4
  161. package/dist/components/slider/slider.mjs +1 -1
  162. package/dist/components/slider/slider.test.js +9 -4
  163. package/dist/components/slider/slider.test.mjs +1 -1
  164. package/dist/components/switch/index.js +14 -14
  165. package/dist/components/switch/index.mjs +1 -1
  166. package/dist/components/switch/switch.d.mts +50 -50
  167. package/dist/components/switch/switch.d.ts +50 -50
  168. package/dist/components/switch/switch.js +14 -14
  169. package/dist/components/switch/switch.mjs +1 -1
  170. package/dist/components/switch/switch.test.js +14 -14
  171. package/dist/components/switch/switch.test.mjs +2 -2
  172. package/dist/components/table/index.js +66 -27
  173. package/dist/components/table/index.mjs +7 -7
  174. package/dist/components/table/table-body.d.mts +2 -2
  175. package/dist/components/table/table-body.d.ts +2 -2
  176. package/dist/components/table/table-body.js +60 -23
  177. package/dist/components/table/table-body.mjs +5 -5
  178. package/dist/components/table/table-head.js +28 -21
  179. package/dist/components/table/table-head.mjs +2 -2
  180. package/dist/components/table/table.d.mts +26 -12
  181. package/dist/components/table/table.d.ts +26 -12
  182. package/dist/components/table/table.js +66 -27
  183. package/dist/components/table/table.mjs +7 -7
  184. package/dist/components/table/table.test.js +66 -27
  185. package/dist/components/table/table.test.mjs +8 -8
  186. package/dist/components/tabs/tabs.d.mts +3 -3
  187. package/dist/components/tabs/tabs.d.ts +3 -3
  188. package/dist/components/tabs/tabs.test.mjs +4 -4
  189. package/dist/components/textarea/index.d.mts +3 -0
  190. package/dist/components/textarea/index.d.ts +3 -0
  191. package/dist/components/textarea/index.js +89 -30
  192. package/dist/components/textarea/index.mjs +2 -1
  193. package/dist/components/textarea/textarea.d.mts +512 -11
  194. package/dist/components/textarea/textarea.d.ts +512 -11
  195. package/dist/components/textarea/textarea.js +89 -30
  196. package/dist/components/textarea/textarea.mjs +2 -1
  197. package/dist/components/textarea/textarea.test.js +89 -30
  198. package/dist/components/textarea/textarea.test.mjs +3 -2
  199. package/dist/components/toast/index.js +30 -0
  200. package/dist/components/toast/index.mjs +4 -4
  201. package/dist/components/toast/toast.d.mts +2 -2
  202. package/dist/components/toast/toast.d.ts +2 -2
  203. package/dist/components/toast/toast.js +30 -0
  204. package/dist/components/toast/toast.mjs +3 -3
  205. package/dist/components/toast/toast.test.js +30 -0
  206. package/dist/components/toast/toast.test.mjs +5 -5
  207. package/dist/components/toast/use-toast.js +30 -0
  208. package/dist/components/toast/use-toast.mjs +4 -4
  209. package/dist/components/tooltip/index.d.mts +1 -1
  210. package/dist/components/tooltip/index.d.ts +1 -1
  211. package/dist/components/tooltip/tooltip-utils.d.mts +1 -1
  212. package/dist/components/tooltip/tooltip-utils.d.ts +1 -1
  213. package/dist/components/tooltip/tooltip.d.mts +3 -3
  214. package/dist/components/tooltip/tooltip.d.ts +3 -3
  215. package/dist/components/tooltip/tooltip.test.js +4034 -118
  216. package/dist/components/tooltip/tooltip.test.mjs +7 -4
  217. package/dist/components/tooltip/useTooltip.d.mts +1 -1
  218. package/dist/components/tooltip/useTooltip.d.ts +1 -1
  219. package/dist/index.d.mts +3 -2
  220. package/dist/index.d.ts +3 -2
  221. package/dist/index.js +3741 -2611
  222. package/dist/index.mjs +71 -52
  223. package/dist/{tooltip-utils-DCKA5gnI.d.ts → tooltip-utils-CrCabndd.d.mts} +2 -2
  224. package/dist/{tooltip-utils-DCKA5gnI.d.mts → tooltip-utils-CrCabndd.d.ts} +2 -2
  225. package/package.json +1 -1
  226. package/dist/chunk-66WCZEEU.mjs +0 -320
  227. package/dist/chunk-WOX3SLJB.mjs +0 -162
@@ -18824,24 +18824,79 @@ expect.extend(extensions);
18824
18824
  // src/components/textarea/textarea.tsx
18825
18825
  var import_react = require("react");
18826
18826
  var import_tailwind_variants = require("tailwind-variants");
18827
+
18828
+ // src/utils/props.ts
18829
+ var mapPropsVariants = (props, variantKeys, removeVariantProps = true) => {
18830
+ if (!variantKeys) {
18831
+ return [props, {}];
18832
+ }
18833
+ const picked = variantKeys.reduce((acc, key) => {
18834
+ if (key in props) {
18835
+ return { ...acc, [key]: props[key] };
18836
+ } else {
18837
+ return acc;
18838
+ }
18839
+ }, {});
18840
+ if (removeVariantProps) {
18841
+ const omitted = Object.keys(props).filter((key) => !variantKeys.includes(key)).reduce((acc, key) => ({ ...acc, [key]: props[key] }), {});
18842
+ return [omitted, picked];
18843
+ } else {
18844
+ return [props, picked];
18845
+ }
18846
+ };
18847
+
18848
+ // src/components/textarea/textarea.tsx
18827
18849
  var import_jsx_runtime = require("react/jsx-runtime");
18828
- var Textarea = (0, import_react.forwardRef)((props, ref) => {
18829
- const { base, label, textareaWrapper, textarea, innerWrapper, errorMessageText } = textareaStyle(props);
18830
- const { errorMessage, isRequired, isDisabled: isDisabled2, ...textareaProps } = props;
18831
- return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: base(), children: [
18832
- props.label && /* @__PURE__ */ (0, import_jsx_runtime.jsx)("label", { className: label(), children: props.label }),
18833
- /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: innerWrapper(), children: [
18834
- /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: textareaWrapper(), children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
18835
- "textarea",
18836
- {
18837
- ref,
18838
- className: textarea(),
18839
- disabled: props.isDisabled,
18840
- required: props.isRequired,
18841
- ...textareaProps
18842
- }
18843
- ) }),
18844
- props.errorMessage && /* @__PURE__ */ (0, import_jsx_runtime.jsx)("p", { className: errorMessageText(), children: props.errorMessage })
18850
+ var Textarea = (0, import_react.forwardRef)((originalProps, ref) => {
18851
+ const [props, variantProps] = mapPropsVariants(originalProps, textareaStyle.variantKeys);
18852
+ const { classNames, label, errorMessage, ...textareaProps } = props;
18853
+ const slots = (0, import_react.useMemo)(() => textareaStyle({ ...variantProps }), [variantProps]);
18854
+ const getBaseProps = (0, import_react.useCallback)(
18855
+ () => ({
18856
+ className: slots.base({ class: classNames == null ? void 0 : classNames.base })
18857
+ }),
18858
+ [slots, classNames]
18859
+ );
18860
+ const getLabelProps = (0, import_react.useCallback)(
18861
+ () => ({
18862
+ className: slots.label({ class: classNames == null ? void 0 : classNames.label })
18863
+ }),
18864
+ [slots, classNames]
18865
+ );
18866
+ const getInnerWrapperProps = (0, import_react.useCallback)(
18867
+ () => ({
18868
+ className: slots.innerWrapper({ class: classNames == null ? void 0 : classNames.innerWrapper })
18869
+ }),
18870
+ [slots, classNames]
18871
+ );
18872
+ const getTextareaWrapperProps = (0, import_react.useCallback)(
18873
+ () => ({
18874
+ className: slots.textareaWrapper({ class: classNames == null ? void 0 : classNames.textareaWrapper })
18875
+ }),
18876
+ [slots, classNames]
18877
+ );
18878
+ const getTextareaProps = (0, import_react.useCallback)(
18879
+ () => ({
18880
+ ...textareaProps,
18881
+ ref,
18882
+ className: slots.textarea({ class: classNames == null ? void 0 : classNames.textarea }),
18883
+ disabled: originalProps.isDisabled,
18884
+ required: originalProps.isRequired,
18885
+ size: 0
18886
+ }),
18887
+ [textareaProps, ref, slots, classNames == null ? void 0 : classNames.textarea, originalProps.isDisabled, originalProps.isRequired]
18888
+ );
18889
+ const getErrorMessageProps = (0, import_react.useCallback)(
18890
+ () => ({
18891
+ className: slots.errorMessage({ class: classNames == null ? void 0 : classNames.errorMessage })
18892
+ }),
18893
+ [slots, classNames]
18894
+ );
18895
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { ...getBaseProps(), children: [
18896
+ props.label && /* @__PURE__ */ (0, import_jsx_runtime.jsx)("label", { ...getLabelProps(), children: props.label }),
18897
+ /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { ...getInnerWrapperProps(), children: [
18898
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { ...getTextareaWrapperProps(), children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("textarea", { ...getTextareaProps() }) }),
18899
+ props.errorMessage && /* @__PURE__ */ (0, import_jsx_runtime.jsx)("p", { ...getErrorMessageProps(), children: props.errorMessage })
18845
18900
  ] })
18846
18901
  ] });
18847
18902
  });
@@ -18849,15 +18904,15 @@ Textarea.displayName = "Textarea";
18849
18904
  var textarea_default = Textarea;
18850
18905
  var textareaStyle = (0, import_tailwind_variants.tv)({
18851
18906
  slots: {
18852
- base: ["group", "flex", "flex-col", "gap-[10px]"],
18907
+ base: ["group/textarea", "flex", "flex-col", "gap-[10px]", "select-none"],
18853
18908
  label: ["flex", "items-center"],
18854
18909
  innerWrapper: ["flex", "flex-col", "gap-[6px]"],
18855
18910
  textareaWrapper: [
18856
18911
  "flex",
18857
18912
  "bg-transparent",
18858
18913
  "border-neutral-main",
18859
- "p-[10px]",
18860
- "group-has-[p]:border-danger-main",
18914
+ "group-has-[p]/textarea:border-danger-main",
18915
+ "group-has-[p]/textarea:bg-danger-soft",
18861
18916
  "transition duration-200"
18862
18917
  ],
18863
18918
  textarea: [
@@ -18867,7 +18922,7 @@ var textareaStyle = (0, import_tailwind_variants.tv)({
18867
18922
  "focus-visible:outline-none",
18868
18923
  "resize-none"
18869
18924
  ],
18870
- errorMessageText: ["text-s", "text-danger-main"]
18925
+ errorMessage: ["text-danger-main"]
18871
18926
  },
18872
18927
  variants: {
18873
18928
  variant: {
@@ -18885,21 +18940,24 @@ var textareaStyle = (0, import_tailwind_variants.tv)({
18885
18940
  size: {
18886
18941
  sm: {
18887
18942
  base: "gap-[6px]",
18888
- textareaWrapper: "w-[240px] rounded-sm",
18943
+ textareaWrapper: "w-[240px] rounded-sm p-[6px]",
18889
18944
  textarea: "text-sm rounded-sm",
18890
- label: "text-sm"
18945
+ label: "text-sm",
18946
+ errorMessage: "text-sm"
18891
18947
  },
18892
18948
  md: {
18893
18949
  base: "gap-[8px]",
18894
- textareaWrapper: "w-[240px] rounded-md",
18950
+ textareaWrapper: "w-[240px] rounded-md p-[8px]",
18895
18951
  textarea: "text-md rounded-md",
18896
- label: "text-md"
18952
+ label: "text-md",
18953
+ errorMessage: "text-md"
18897
18954
  },
18898
18955
  lg: {
18899
18956
  base: "gap-[10px]",
18900
- textareaWrapper: "w-[240px] rounded-lg",
18957
+ textareaWrapper: "w-[240px] rounded-lg p-[10px]",
18901
18958
  textarea: "text-lg rounded-lg",
18902
- label: "text-lg"
18959
+ label: "text-lg",
18960
+ errorMessage: "text-lg"
18903
18961
  }
18904
18962
  },
18905
18963
  radius: {
@@ -18923,9 +18981,10 @@ var textareaStyle = (0, import_tailwind_variants.tv)({
18923
18981
  isDisabled: {
18924
18982
  true: {
18925
18983
  base: ["opacity-disabled", "pointer-events-none"],
18926
- textareaWrapper: ["border-neutral-light", "pointer-events-none"],
18927
- textarea: ["bg-neutral-soft", "text-neutral-light placeholder:text-neutral-light", "border-neutral-light"],
18928
- label: ["text-neutral-light", "pointer-events-none"]
18984
+ textareaWrapper: ["bg-neutral-soft", "border-neutral-light", "pointer-events-none"],
18985
+ textarea: ["text-neutral-light placeholder:text-neutral-light", "border-neutral-light"],
18986
+ label: ["text-neutral-light", "pointer-events-none"],
18987
+ errorMessage: "text-danger-light"
18929
18988
  }
18930
18989
  },
18931
18990
  isRequired: {
@@ -1,12 +1,13 @@
1
1
  "use client";
2
+ import "../../chunk-H7BLXC5M.mjs";
2
3
  import {
3
4
  textarea_default
4
- } from "../../chunk-WOX3SLJB.mjs";
5
- import "../../chunk-H7BLXC5M.mjs";
5
+ } from "../../chunk-OJ2OEI5B.mjs";
6
6
  import {
7
7
  render,
8
8
  waitForWrapper
9
9
  } from "../../chunk-FNPWLOGV.mjs";
10
+ import "../../chunk-E3G5QXSH.mjs";
10
11
  import "../../chunk-IZ6II3QA.mjs";
11
12
 
12
13
  // src/components/textarea/textarea.test.tsx
@@ -355,6 +355,36 @@ var template = {
355
355
  }
356
356
  );
357
357
  },
358
+ loading: ({ className, fill }) => {
359
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
360
+ "svg",
361
+ {
362
+ width: "24",
363
+ height: "24",
364
+ viewBox: "0 0 24 24",
365
+ fill: "none",
366
+ xmlns: "http://www.w3.org/2000/svg",
367
+ className,
368
+ children: [
369
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
370
+ "path",
371
+ {
372
+ 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",
373
+ fill: "currentColor",
374
+ fillOpacity: "0.1"
375
+ }
376
+ ),
377
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
378
+ "path",
379
+ {
380
+ 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",
381
+ fill: "currentColor"
382
+ }
383
+ )
384
+ ]
385
+ }
386
+ );
387
+ },
358
388
  // ** User **
359
389
  "user-circle": ({ className, fill }) => {
360
390
  return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
@@ -3,14 +3,14 @@ import "../../chunk-LUWGOKLG.mjs";
3
3
  import {
4
4
  ToastProvider,
5
5
  useToast
6
- } from "../../chunk-K6HPMTN4.mjs";
6
+ } from "../../chunk-7HHFRKJU.mjs";
7
7
  import "../../chunk-ZOTHPHXA.mjs";
8
8
  import {
9
9
  toast_default
10
- } from "../../chunk-QRHT7MSO.mjs";
10
+ } from "../../chunk-PXUBPWKU.mjs";
11
11
  import "../../chunk-ZYIIXWVY.mjs";
12
- import "../../chunk-PRUAIZTU.mjs";
13
- import "../../chunk-IOV7MEPG.mjs";
12
+ import "../../chunk-LCI6RPWE.mjs";
13
+ import "../../chunk-IOCRFIQF.mjs";
14
14
  import "../../chunk-E3G5QXSH.mjs";
15
15
  import "../../chunk-J725QONZ.mjs";
16
16
  import "../../chunk-IZ6II3QA.mjs";
@@ -1,7 +1,7 @@
1
1
  import * as tailwind_variants from 'tailwind-variants';
2
2
  import { VariantProps } from 'tailwind-variants';
3
3
  import * as tailwind_variants_dist_config from 'tailwind-variants/dist/config';
4
- import * as react from 'react';
4
+ import * as React from 'react';
5
5
  import { ReactNode } from 'react';
6
6
  import { ToastPlacement } from './toast-utils.mjs';
7
7
  import { IconName } from '../icon/Icon.mjs';
@@ -19,7 +19,7 @@ interface Props {
19
19
  onClose?: () => void;
20
20
  }
21
21
  type ToastProps = Props & ToastVariantProps;
22
- declare const Toast: react.ForwardRefExoticComponent<Props & ToastVariantProps & react.RefAttributes<any>>;
22
+ declare const Toast: React.ForwardRefExoticComponent<Props & ToastVariantProps & React.RefAttributes<any>>;
23
23
 
24
24
  declare const toast: tailwind_variants.TVReturnType<{
25
25
  color: {
@@ -1,7 +1,7 @@
1
1
  import * as tailwind_variants from 'tailwind-variants';
2
2
  import { VariantProps } from 'tailwind-variants';
3
3
  import * as tailwind_variants_dist_config from 'tailwind-variants/dist/config';
4
- import * as react from 'react';
4
+ import * as React from 'react';
5
5
  import { ReactNode } from 'react';
6
6
  import { ToastPlacement } from './toast-utils.js';
7
7
  import { IconName } from '../icon/Icon.js';
@@ -19,7 +19,7 @@ interface Props {
19
19
  onClose?: () => void;
20
20
  }
21
21
  type ToastProps = Props & ToastVariantProps;
22
- declare const Toast: react.ForwardRefExoticComponent<Props & ToastVariantProps & react.RefAttributes<any>>;
22
+ declare const Toast: React.ForwardRefExoticComponent<Props & ToastVariantProps & React.RefAttributes<any>>;
23
23
 
24
24
  declare const toast: tailwind_variants.TVReturnType<{
25
25
  color: {
@@ -351,6 +351,36 @@ var template = {
351
351
  }
352
352
  );
353
353
  },
354
+ loading: ({ className, fill }) => {
355
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
356
+ "svg",
357
+ {
358
+ width: "24",
359
+ height: "24",
360
+ viewBox: "0 0 24 24",
361
+ fill: "none",
362
+ xmlns: "http://www.w3.org/2000/svg",
363
+ className,
364
+ children: [
365
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
366
+ "path",
367
+ {
368
+ 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",
369
+ fill: "currentColor",
370
+ fillOpacity: "0.1"
371
+ }
372
+ ),
373
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
374
+ "path",
375
+ {
376
+ 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",
377
+ fill: "currentColor"
378
+ }
379
+ )
380
+ ]
381
+ }
382
+ );
383
+ },
354
384
  // ** User **
355
385
  "user-circle": ({ className, fill }) => {
356
386
  return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
@@ -1,10 +1,10 @@
1
1
  "use client";
2
2
  import {
3
3
  toast_default
4
- } from "../../chunk-QRHT7MSO.mjs";
4
+ } from "../../chunk-PXUBPWKU.mjs";
5
5
  import "../../chunk-ZYIIXWVY.mjs";
6
- import "../../chunk-PRUAIZTU.mjs";
7
- import "../../chunk-IOV7MEPG.mjs";
6
+ import "../../chunk-LCI6RPWE.mjs";
7
+ import "../../chunk-IOCRFIQF.mjs";
8
8
  import "../../chunk-E3G5QXSH.mjs";
9
9
  import "../../chunk-J725QONZ.mjs";
10
10
  import "../../chunk-IZ6II3QA.mjs";
@@ -13198,6 +13198,36 @@ var template = {
13198
13198
  }
13199
13199
  );
13200
13200
  },
13201
+ loading: ({ className, fill }) => {
13202
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
13203
+ "svg",
13204
+ {
13205
+ width: "24",
13206
+ height: "24",
13207
+ viewBox: "0 0 24 24",
13208
+ fill: "none",
13209
+ xmlns: "http://www.w3.org/2000/svg",
13210
+ className,
13211
+ children: [
13212
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
13213
+ "path",
13214
+ {
13215
+ 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",
13216
+ fill: "currentColor",
13217
+ fillOpacity: "0.1"
13218
+ }
13219
+ ),
13220
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
13221
+ "path",
13222
+ {
13223
+ 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",
13224
+ fill: "currentColor"
13225
+ }
13226
+ )
13227
+ ]
13228
+ }
13229
+ );
13230
+ },
13201
13231
  // ** User **
13202
13232
  "user-circle": ({ className, fill }) => {
13203
13233
  return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
@@ -1,14 +1,14 @@
1
1
  "use client";
2
2
  import {
3
3
  toast_default
4
- } from "../../chunk-QRHT7MSO.mjs";
5
- import "../../chunk-ZYIIXWVY.mjs";
6
- import "../../chunk-PRUAIZTU.mjs";
7
- import "../../chunk-IOV7MEPG.mjs";
8
- import "../../chunk-E3G5QXSH.mjs";
4
+ } from "../../chunk-PXUBPWKU.mjs";
9
5
  import {
10
6
  render
11
7
  } from "../../chunk-FNPWLOGV.mjs";
8
+ import "../../chunk-ZYIIXWVY.mjs";
9
+ import "../../chunk-LCI6RPWE.mjs";
10
+ import "../../chunk-IOCRFIQF.mjs";
11
+ import "../../chunk-E3G5QXSH.mjs";
12
12
  import "../../chunk-J725QONZ.mjs";
13
13
  import "../../chunk-IZ6II3QA.mjs";
14
14
 
@@ -391,6 +391,36 @@ var template = {
391
391
  }
392
392
  );
393
393
  },
394
+ loading: ({ className, fill }) => {
395
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
396
+ "svg",
397
+ {
398
+ width: "24",
399
+ height: "24",
400
+ viewBox: "0 0 24 24",
401
+ fill: "none",
402
+ xmlns: "http://www.w3.org/2000/svg",
403
+ className,
404
+ children: [
405
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
406
+ "path",
407
+ {
408
+ 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",
409
+ fill: "currentColor",
410
+ fillOpacity: "0.1"
411
+ }
412
+ ),
413
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
414
+ "path",
415
+ {
416
+ 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",
417
+ fill: "currentColor"
418
+ }
419
+ )
420
+ ]
421
+ }
422
+ );
423
+ },
394
424
  // ** User **
395
425
  "user-circle": ({ className, fill }) => {
396
426
  return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
@@ -2,12 +2,12 @@
2
2
  import {
3
3
  ToastProvider,
4
4
  useToast
5
- } from "../../chunk-K6HPMTN4.mjs";
5
+ } from "../../chunk-7HHFRKJU.mjs";
6
6
  import "../../chunk-ZOTHPHXA.mjs";
7
- import "../../chunk-QRHT7MSO.mjs";
7
+ import "../../chunk-PXUBPWKU.mjs";
8
8
  import "../../chunk-ZYIIXWVY.mjs";
9
- import "../../chunk-PRUAIZTU.mjs";
10
- import "../../chunk-IOV7MEPG.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";
@@ -3,4 +3,4 @@ import 'tailwind-variants';
3
3
  import 'tailwind-variants/dist/config';
4
4
  import 'react';
5
5
  import '../../utils/types.mjs';
6
- import '../../tooltip-utils-DCKA5gnI.mjs';
6
+ import '../../tooltip-utils-CrCabndd.mjs';
@@ -3,4 +3,4 @@ import 'tailwind-variants';
3
3
  import 'tailwind-variants/dist/config';
4
4
  import 'react';
5
5
  import '../../utils/types.js';
6
- import '../../tooltip-utils-DCKA5gnI.js';
6
+ import '../../tooltip-utils-CrCabndd.js';
@@ -1,2 +1,2 @@
1
- export { T as TooltipPlacement, g as getTooltipPosition } from '../../tooltip-utils-DCKA5gnI.mjs';
1
+ export { T as TooltipPlacement, g as getTooltipPosition } from '../../tooltip-utils-CrCabndd.mjs';
2
2
  import 'react';
@@ -1,2 +1,2 @@
1
- export { T as TooltipPlacement, g as getTooltipPosition } from '../../tooltip-utils-DCKA5gnI.js';
1
+ export { T as TooltipPlacement, g as getTooltipPosition } from '../../tooltip-utils-CrCabndd.js';
2
2
  import 'react';
@@ -1,10 +1,10 @@
1
1
  import * as tailwind_variants from 'tailwind-variants';
2
2
  import { VariantProps } from 'tailwind-variants';
3
3
  import * as tailwind_variants_dist_config from 'tailwind-variants/dist/config';
4
- import * as react from 'react';
4
+ import * as React from 'react';
5
5
  import { ReactNode } from 'react';
6
6
  import { SlotsToClasses } from '../../utils/types.mjs';
7
- import { T as TooltipPlacement } from '../../tooltip-utils-DCKA5gnI.mjs';
7
+ import { T as TooltipPlacement } from '../../tooltip-utils-CrCabndd.mjs';
8
8
 
9
9
  interface Props {
10
10
  children?: ReactNode;
@@ -14,7 +14,7 @@ interface Props {
14
14
  classNames?: SlotsToClasses<TooltipSlots>;
15
15
  }
16
16
  type TooltipProps = Props & TooltipVariantProps;
17
- declare const Tooltip: react.ForwardRefExoticComponent<Props & TooltipVariantProps & react.RefAttributes<HTMLDivElement>>;
17
+ declare const Tooltip: React.ForwardRefExoticComponent<Props & TooltipVariantProps & React.RefAttributes<HTMLDivElement>>;
18
18
 
19
19
  declare const tooltip: tailwind_variants.TVReturnType<{
20
20
  size: {
@@ -1,10 +1,10 @@
1
1
  import * as tailwind_variants from 'tailwind-variants';
2
2
  import { VariantProps } from 'tailwind-variants';
3
3
  import * as tailwind_variants_dist_config from 'tailwind-variants/dist/config';
4
- import * as react from 'react';
4
+ import * as React from 'react';
5
5
  import { ReactNode } from 'react';
6
6
  import { SlotsToClasses } from '../../utils/types.js';
7
- import { T as TooltipPlacement } from '../../tooltip-utils-DCKA5gnI.js';
7
+ import { T as TooltipPlacement } from '../../tooltip-utils-CrCabndd.js';
8
8
 
9
9
  interface Props {
10
10
  children?: ReactNode;
@@ -14,7 +14,7 @@ interface Props {
14
14
  classNames?: SlotsToClasses<TooltipSlots>;
15
15
  }
16
16
  type TooltipProps = Props & TooltipVariantProps;
17
- declare const Tooltip: react.ForwardRefExoticComponent<Props & TooltipVariantProps & react.RefAttributes<HTMLDivElement>>;
17
+ declare const Tooltip: React.ForwardRefExoticComponent<Props & TooltipVariantProps & React.RefAttributes<HTMLDivElement>>;
18
18
 
19
19
  declare const tooltip: tailwind_variants.TVReturnType<{
20
20
  size: {