@deepnoid/ui 0.1.223 → 1.0.0

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 (252) hide show
  1. package/.turbo/turbo-build.log +266 -251
  2. package/dist/{chunk-NTNF5T5I.mjs → chunk-23KGTXH2.mjs} +1 -1
  3. package/dist/{chunk-SX3JDFTH.mjs → chunk-2K3HZMC6.mjs} +9 -9
  4. package/dist/{chunk-ZFC5O2V3.mjs → chunk-3JKORA4G.mjs} +1 -1
  5. package/dist/{chunk-HFOHFBZH.mjs → chunk-3N442F6I.mjs} +2 -2
  6. package/dist/{chunk-WA7CSZQ3.mjs → chunk-3QZPVRM5.mjs} +1 -1
  7. package/dist/{chunk-BH3I4LIZ.mjs → chunk-4V5D237Z.mjs} +1 -1
  8. package/dist/chunk-63JRWMWN.mjs +215 -0
  9. package/dist/{chunk-GDHLN463.mjs → chunk-6CNPC722.mjs} +2 -2
  10. package/dist/{chunk-4IEHQI5B.mjs → chunk-7JCCPTBU.mjs} +3 -3
  11. package/dist/chunk-A6UUVHC6.mjs +38 -0
  12. package/dist/{chunk-P5L4YI54.mjs → chunk-AOU4QX7H.mjs} +106 -40
  13. package/dist/{chunk-U7SYKG2C.mjs → chunk-BBCJTXGU.mjs} +1 -1
  14. package/dist/{chunk-4S4AAZFC.mjs → chunk-CBFUVFGI.mjs} +4 -4
  15. package/dist/{chunk-AGE57VDD.mjs → chunk-CBIV6KFQ.mjs} +22 -25
  16. package/dist/{chunk-KWHCUAFU.mjs → chunk-CGJBY53Q.mjs} +3 -3
  17. package/dist/{chunk-XZYQFBCT.mjs → chunk-DI7QXTYZ.mjs} +1 -1
  18. package/dist/{chunk-U4DJHAM5.mjs → chunk-DPWUIAVC.mjs} +413 -149
  19. package/dist/chunk-E4VJDQD5.mjs +142 -0
  20. package/dist/{chunk-TE5JU3WA.mjs → chunk-EAWNUQDB.mjs} +90 -133
  21. package/dist/{chunk-OXJX5G3O.mjs → chunk-EIVSXVP5.mjs} +2 -2
  22. package/dist/{chunk-JGG3ZUNG.mjs → chunk-GSOTTSR4.mjs} +1 -1
  23. package/dist/{chunk-NGRGAY42.mjs → chunk-HKF5BNPX.mjs} +1 -1
  24. package/dist/{chunk-2URJGQFC.mjs → chunk-JUKILR6X.mjs} +2 -2
  25. package/dist/{chunk-DW3BX4M2.mjs → chunk-KPOXK7NN.mjs} +1 -1
  26. package/dist/{chunk-5KC3IFNR.mjs → chunk-LJSGQO4B.mjs} +1 -1
  27. package/dist/{chunk-LH6Z7SDZ.mjs → chunk-M7V5YMM2.mjs} +1 -1
  28. package/dist/{chunk-44FMPRHV.mjs → chunk-MAGZDGUW.mjs} +67 -38
  29. package/dist/chunk-MV2WCFK7.mjs +1 -0
  30. package/dist/{chunk-U52FBRJ3.mjs → chunk-NJWXYTBQ.mjs} +1 -1
  31. package/dist/{chunk-3DCUMRYP.mjs → chunk-NPQBJO6G.mjs} +11 -39
  32. package/dist/chunk-OK34FKBQ.mjs +224 -0
  33. package/dist/{chunk-OC5C42CB.mjs → chunk-OPGGL4CG.mjs} +3 -3
  34. package/dist/{chunk-R2XKPG4K.mjs → chunk-OPSMMRA2.mjs} +1 -1
  35. package/dist/{chunk-4X35QQTI.mjs → chunk-P4GNXDMO.mjs} +1 -1
  36. package/dist/{chunk-MTT24BLX.mjs → chunk-PCWANNZ4.mjs} +3 -3
  37. package/dist/{chunk-V2YH54JQ.mjs → chunk-PXUYPS6M.mjs} +12 -2
  38. package/dist/chunk-RFHWRBAB.mjs +105 -0
  39. package/dist/{chunk-EJ4GDC6K.mjs → chunk-S2T4GHJA.mjs} +27 -27
  40. package/dist/{chunk-5VTYO3RF.mjs → chunk-TBI5O3OL.mjs} +1 -1
  41. package/dist/{chunk-FZYZSMSS.mjs → chunk-TBRF36RK.mjs} +1 -1
  42. package/dist/{chunk-Q3KBMVJS.mjs → chunk-TEERNFIT.mjs} +77 -46
  43. package/dist/{chunk-RH3AHG52.mjs → chunk-V5XX3CGL.mjs} +1 -1
  44. package/dist/{chunk-6WD32ERF.mjs → chunk-VO2ZIGIK.mjs} +1 -1
  45. package/dist/{chunk-H6ZQDMYU.mjs → chunk-VOOEH6OJ.mjs} +24 -38
  46. package/dist/{chunk-ACZ3DQVT.mjs → chunk-VUO5J2OK.mjs} +16 -15
  47. package/dist/{chunk-RY5VVXQ4.mjs → chunk-WYTAGN2P.mjs} +1 -1
  48. package/dist/{chunk-NDNIAALB.mjs → chunk-YBDQSEPV.mjs} +17 -18
  49. package/dist/chunk-Z4NO7SMY.mjs +460 -0
  50. package/dist/components/accordion/accordion.js +366 -4
  51. package/dist/components/accordion/accordion.mjs +2 -2
  52. package/dist/components/accordion/accordionItem.js +366 -4
  53. package/dist/components/accordion/accordionItem.mjs +2 -2
  54. package/dist/components/accordion/index.js +366 -4
  55. package/dist/components/accordion/index.mjs +3 -3
  56. package/dist/components/avatar/avatar.js +472 -44
  57. package/dist/components/avatar/avatar.mjs +3 -3
  58. package/dist/components/avatar/index.js +472 -44
  59. package/dist/components/avatar/index.mjs +3 -3
  60. package/dist/components/backdrop/backdrop.js +366 -4
  61. package/dist/components/backdrop/backdrop.mjs +2 -2
  62. package/dist/components/backdrop/index.js +366 -4
  63. package/dist/components/backdrop/index.mjs +2 -2
  64. package/dist/components/breadcrumb/breadcrumb.js +951 -74
  65. package/dist/components/breadcrumb/breadcrumb.mjs +10 -9
  66. package/dist/components/breadcrumb/index.js +951 -74
  67. package/dist/components/breadcrumb/index.mjs +10 -9
  68. package/dist/components/button/button-group.js +366 -4
  69. package/dist/components/button/button-group.mjs +2 -2
  70. package/dist/components/button/button.d.mts +82 -119
  71. package/dist/components/button/button.d.ts +82 -119
  72. package/dist/components/button/button.js +966 -355
  73. package/dist/components/button/button.mjs +6 -5
  74. package/dist/components/button/button.style.d.mts +89 -0
  75. package/dist/components/button/button.style.d.ts +89 -0
  76. package/dist/components/button/button.style.js +1172 -0
  77. package/dist/components/button/button.style.mjs +9 -0
  78. package/dist/components/button/icon-button.d.mts +45 -46
  79. package/dist/components/button/icon-button.d.ts +45 -46
  80. package/dist/components/button/icon-button.js +1125 -527
  81. package/dist/components/button/icon-button.mjs +6 -5
  82. package/dist/components/button/index.js +1154 -830
  83. package/dist/components/button/index.mjs +9 -8
  84. package/dist/components/button/text-button.d.mts +59 -39
  85. package/dist/components/button/text-button.d.ts +59 -39
  86. package/dist/components/button/text-button.js +831 -21
  87. package/dist/components/button/text-button.mjs +3 -2
  88. package/dist/components/charts/areaChart.js +366 -4
  89. package/dist/components/charts/areaChart.mjs +2 -2
  90. package/dist/components/charts/barChart.js +366 -4
  91. package/dist/components/charts/barChart.mjs +2 -2
  92. package/dist/components/charts/circularProgress.js +366 -4
  93. package/dist/components/charts/circularProgress.mjs +2 -2
  94. package/dist/components/charts/index.js +366 -4
  95. package/dist/components/charts/index.mjs +6 -6
  96. package/dist/components/charts/radarChart.js +366 -4
  97. package/dist/components/charts/radarChart.mjs +2 -2
  98. package/dist/components/charts/simpleBarChart.js +366 -4
  99. package/dist/components/charts/simpleBarChart.mjs +2 -2
  100. package/dist/components/checkbox/checkbox.js +376 -42
  101. package/dist/components/checkbox/checkbox.mjs +2 -2
  102. package/dist/components/checkbox/index.js +376 -42
  103. package/dist/components/checkbox/index.mjs +2 -2
  104. package/dist/components/chip/chip.d.mts +32 -0
  105. package/dist/components/chip/chip.d.ts +32 -0
  106. package/dist/components/chip/chip.js +496 -57
  107. package/dist/components/chip/chip.mjs +4 -4
  108. package/dist/components/chip/index.js +496 -57
  109. package/dist/components/chip/index.mjs +4 -4
  110. package/dist/components/drawer/drawer.js +366 -4
  111. package/dist/components/drawer/drawer.mjs +2 -2
  112. package/dist/components/drawer/index.js +366 -4
  113. package/dist/components/drawer/index.mjs +2 -2
  114. package/dist/components/fileUpload/fileUpload.js +1014 -402
  115. package/dist/components/fileUpload/fileUpload.mjs +12 -11
  116. package/dist/components/fileUpload/index.js +1014 -402
  117. package/dist/components/fileUpload/index.mjs +12 -11
  118. package/dist/components/icon/Icon.d.mts +23 -10
  119. package/dist/components/icon/Icon.d.ts +23 -10
  120. package/dist/components/icon/Icon.js +120 -53
  121. package/dist/components/icon/Icon.mjs +2 -2
  122. package/dist/components/icon/index.js +120 -53
  123. package/dist/components/icon/index.mjs +2 -2
  124. package/dist/components/icon/template.d.mts +5 -2
  125. package/dist/components/icon/template.d.ts +5 -2
  126. package/dist/components/icon/template.js +106 -40
  127. package/dist/components/icon/template.mjs +1 -1
  128. package/dist/components/input/index.js +511 -82
  129. package/dist/components/input/index.mjs +4 -4
  130. package/dist/components/input/input.js +511 -82
  131. package/dist/components/input/input.mjs +4 -4
  132. package/dist/components/list/index.js +486 -57
  133. package/dist/components/list/index.mjs +6 -6
  134. package/dist/components/list/list.js +366 -4
  135. package/dist/components/list/list.mjs +2 -2
  136. package/dist/components/list/listItem.js +486 -57
  137. package/dist/components/list/listItem.mjs +5 -5
  138. package/dist/components/modal/GlobalModalProvider.d.mts +2 -0
  139. package/dist/components/modal/GlobalModalProvider.d.ts +2 -0
  140. package/dist/components/modal/GlobalModalProvider.js +1028 -416
  141. package/dist/components/modal/GlobalModalProvider.mjs +12 -11
  142. package/dist/components/modal/index.d.mts +2 -0
  143. package/dist/components/modal/index.d.ts +2 -0
  144. package/dist/components/modal/index.js +1028 -416
  145. package/dist/components/modal/index.mjs +13 -12
  146. package/dist/components/modal/modal.d.mts +101 -29
  147. package/dist/components/modal/modal.d.ts +101 -29
  148. package/dist/components/modal/modal.js +1028 -416
  149. package/dist/components/modal/modal.mjs +11 -10
  150. package/dist/components/modal/useGlobalModal.d.mts +2 -0
  151. package/dist/components/modal/useGlobalModal.d.ts +2 -0
  152. package/dist/components/modal/useGlobalModal.mjs +13 -12
  153. package/dist/components/pagination/index.js +598 -212
  154. package/dist/components/pagination/index.mjs +5 -5
  155. package/dist/components/pagination/pagination.js +598 -212
  156. package/dist/components/pagination/pagination.mjs +5 -5
  157. package/dist/components/picker/datePicker.js +1029 -705
  158. package/dist/components/picker/datePicker.mjs +12 -11
  159. package/dist/components/picker/day.js +366 -4
  160. package/dist/components/picker/day.mjs +2 -2
  161. package/dist/components/picker/index.js +1027 -703
  162. package/dist/components/picker/index.mjs +15 -14
  163. package/dist/components/picker/timePicker/Panel.js +831 -21
  164. package/dist/components/picker/timePicker/Panel.mjs +10 -9
  165. package/dist/components/picker/timePicker/index.js +976 -99
  166. package/dist/components/picker/timePicker/index.mjs +12 -11
  167. package/dist/components/progress/index.js +381 -18
  168. package/dist/components/progress/index.mjs +2 -2
  169. package/dist/components/progress/progress.d.mts +21 -18
  170. package/dist/components/progress/progress.d.ts +21 -18
  171. package/dist/components/progress/progress.js +381 -18
  172. package/dist/components/progress/progress.mjs +2 -2
  173. package/dist/components/radio/index.js +389 -41
  174. package/dist/components/radio/index.mjs +2 -2
  175. package/dist/components/radio/radio.d.mts +33 -48
  176. package/dist/components/radio/radio.d.ts +33 -48
  177. package/dist/components/radio/radio.js +389 -41
  178. package/dist/components/radio/radio.mjs +2 -2
  179. package/dist/components/ripple/index.mjs +3 -3
  180. package/dist/components/select/index.js +819 -221
  181. package/dist/components/select/index.mjs +10 -9
  182. package/dist/components/select/select.js +819 -221
  183. package/dist/components/select/select.mjs +10 -9
  184. package/dist/components/slider/index.d.mts +4 -0
  185. package/dist/components/slider/index.d.ts +4 -0
  186. package/dist/components/slider/index.js +955 -0
  187. package/dist/components/slider/index.mjs +11 -0
  188. package/dist/components/slider/slider.d.mts +158 -0
  189. package/dist/components/slider/slider.d.ts +158 -0
  190. package/dist/components/slider/slider.js +949 -0
  191. package/dist/components/slider/slider.mjs +10 -0
  192. package/dist/components/starRating/index.js +486 -57
  193. package/dist/components/starRating/index.mjs +4 -4
  194. package/dist/components/starRating/starRating.js +486 -57
  195. package/dist/components/starRating/starRating.mjs +4 -4
  196. package/dist/components/switch/index.js +22 -25
  197. package/dist/components/switch/index.mjs +1 -1
  198. package/dist/components/switch/switch.d.mts +0 -18
  199. package/dist/components/switch/switch.d.ts +0 -18
  200. package/dist/components/switch/switch.js +22 -25
  201. package/dist/components/switch/switch.mjs +1 -1
  202. package/dist/components/table/definition-table.js +366 -4
  203. package/dist/components/table/definition-table.mjs +2 -2
  204. package/dist/components/table/form-table.js +366 -4
  205. package/dist/components/table/form-table.mjs +1 -1
  206. package/dist/components/table/index.js +679 -291
  207. package/dist/components/table/index.mjs +10 -10
  208. package/dist/components/table/table-body.js +679 -291
  209. package/dist/components/table/table-body.mjs +7 -7
  210. package/dist/components/table/table-head.js +679 -291
  211. package/dist/components/table/table-head.mjs +7 -7
  212. package/dist/components/table/table.d.mts +8 -29
  213. package/dist/components/table/table.d.ts +8 -29
  214. package/dist/components/table/table.js +679 -291
  215. package/dist/components/table/table.mjs +7 -7
  216. package/dist/components/tabs/index.js +366 -4
  217. package/dist/components/tabs/index.mjs +2 -2
  218. package/dist/components/tabs/tabs.js +366 -4
  219. package/dist/components/tabs/tabs.mjs +2 -2
  220. package/dist/components/textarea/index.js +67 -38
  221. package/dist/components/textarea/index.mjs +1 -1
  222. package/dist/components/textarea/textarea.d.mts +21 -0
  223. package/dist/components/textarea/textarea.d.ts +21 -0
  224. package/dist/components/textarea/textarea.js +67 -38
  225. package/dist/components/textarea/textarea.mjs +1 -1
  226. package/dist/components/timePicker/calendar.js +486 -57
  227. package/dist/components/timePicker/calendar.mjs +3 -3
  228. package/dist/components/toast/index.js +486 -57
  229. package/dist/components/toast/index.mjs +5 -5
  230. package/dist/components/toast/toast.js +486 -57
  231. package/dist/components/toast/toast.mjs +4 -4
  232. package/dist/components/toast/use-toast.js +486 -57
  233. package/dist/components/toast/use-toast.mjs +5 -5
  234. package/dist/components/tooltip/index.js +366 -4
  235. package/dist/components/tooltip/index.mjs +2 -2
  236. package/dist/components/tooltip/tooltip.js +366 -4
  237. package/dist/components/tooltip/tooltip.mjs +2 -2
  238. package/dist/components/tree/index.js +486 -57
  239. package/dist/components/tree/index.mjs +4 -4
  240. package/dist/components/tree/tree.js +486 -57
  241. package/dist/components/tree/tree.mjs +4 -4
  242. package/dist/index.d.mts +1 -0
  243. package/dist/index.d.ts +1 -0
  244. package/dist/index.js +1705 -1281
  245. package/dist/index.mjs +76 -70
  246. package/dist/utils/tailwind-variants.js +366 -4
  247. package/dist/utils/tailwind-variants.mjs +1 -1
  248. package/package.json +1 -1
  249. package/dist/chunk-6AID2NLT.mjs +0 -37
  250. package/dist/chunk-BBRO35V3.mjs +0 -385
  251. package/dist/chunk-EVJ46M3U.mjs +0 -141
  252. package/dist/chunk-SKX5QPUD.mjs +0 -482
@@ -129,17 +129,17 @@ var textareaStyle = tv({
129
129
  "outline-none",
130
130
  "resize-none",
131
131
  "focus:ring-0",
132
- "group-has-[:hover]/textarea:!text-neutral-dark",
133
- "group-has-[:hover]/textarea:placeholder:!text-neutral-dark",
134
- "group-has-[:focus]/textarea:!text-neutral-dark",
135
- "group-has-[:focus]/textarea:placeholder:!text-neutral-dark",
132
+ "group-hover/textarea:!text-neutral-dark",
133
+ "group-hover/textarea:placeholder:!text-neutral-dark",
134
+ "focus:!text-neutral-dark",
135
+ "focus:placeholder:!text-neutral-dark",
136
136
  "group-has-[p.error]/textarea:bg-danger-soft",
137
137
  "group-has-[p.error]/textarea:!text-danger-main",
138
138
  "group-has-[p.error]/textarea:placeholder:!text-danger-main"
139
139
  ],
140
140
  helperMessage: [
141
141
  "text-neutral-main",
142
- "group-has-[:hover]/textarea:text-neutral-dark",
142
+ "group-hover/textarea:text-neutral-dark",
143
143
  "group-has-[p.error]/textarea:text-danger-main",
144
144
  "group-has-[p.error]/textarea:hover:text-danger-main",
145
145
  "group-has-[p.error]/textarea:focus:text-danger-main"
@@ -162,8 +162,8 @@ var textareaStyle = tv({
162
162
  outline: {
163
163
  textarea: [
164
164
  "border-neutral-light",
165
- "group-has-[:hover]/textarea:bg-trans-soft",
166
- "group-has-[:focus]/textarea:bg-body-background",
165
+ "group-hover/textarea:bg-trans-soft",
166
+ "focus:bg-body-background",
167
167
  "group-has-[p.error]/textarea:border-danger-main"
168
168
  ],
169
169
  readonlyWrapper: ["[&>textarea]:!bg-trans-soft"]
@@ -171,50 +171,44 @@ var textareaStyle = tv({
171
171
  },
172
172
  color: {
173
173
  primary: {
174
- helperMessage: [
175
- "group-has-[:focus]/textarea:text-primary-main",
176
- "group-has-[:focus]/textarea:hover:text-primary-main"
177
- ],
174
+ helperMessage: ["group-focus-within/textarea:!text-primary-main"],
178
175
  readonly: ["!text-primary-main"]
179
176
  },
180
177
  secondary: {
181
- helperMessage: [
182
- "group-has-[:focus]/textarea:text-secondary-main",
183
- "group-has-[:focus]/textarea:hover:text-secondary-main"
184
- ],
178
+ helperMessage: ["group-focus-within/textarea:!text-secondary-main"],
185
179
  readonly: ["!text-secondary-main"]
186
180
  }
187
181
  },
188
182
  size: {
189
183
  sm: {
190
- base: ["text-sm", "gap-[4px]"],
184
+ base: ["text-sm", "gap-sm"],
191
185
  label: ["text-sm"],
192
- wrapper: ["gap-[4px]"],
193
- textarea: ["w-[240px]", "rounded-sm", "p-[8px]"],
186
+ wrapper: ["gap-sm"],
187
+ textarea: ["w-[240px]", "rounded-sm", "p-md"],
194
188
  helperMessage: ["text-sm"],
195
189
  errorMessage: ["text-sm"]
196
190
  },
197
191
  md: {
198
- base: ["text-md", "gap-[6px]"],
192
+ base: ["text-md", "gap-md"],
199
193
  label: ["text-md"],
200
- wrapper: ["gap-[6px]"],
201
- textarea: ["w-[240px]", "rounded-md", "p-[8px]"],
194
+ wrapper: ["gap-md"],
195
+ textarea: ["w-[240px]", "rounded-md", "p-md"],
202
196
  helperMessage: ["text-sm"],
203
197
  errorMessage: ["text-sm"]
204
198
  },
205
199
  lg: {
206
- base: ["text-lg", "gap-[8px]"],
200
+ base: ["text-lg", "gap-lg"],
207
201
  label: ["text-lg"],
208
- wrapper: ["gap-[8px]"],
209
- textarea: ["w-[240px]", "rounded-lg", "p-[10px]"],
202
+ wrapper: ["gap-lg"],
203
+ textarea: ["w-[240px]", "rounded-lg", "p-lg"],
210
204
  helperMessage: ["text-md"],
211
205
  errorMessage: ["text-md"]
212
206
  },
213
207
  xl: {
214
- base: ["text-xl", "gap-[10px]"],
208
+ base: ["text-xl", "gap-xl"],
215
209
  label: ["text-xl"],
216
- wrapper: ["gap-[10px]"],
217
- textarea: ["w-[240px]", "rounded-lg", "p-[10px]"],
210
+ wrapper: ["gap-xl"],
211
+ textarea: ["w-[240px]", "rounded-lg", "p-lg"],
218
212
  helperMessage: ["text-md"],
219
213
  errorMessage: ["text-md"]
220
214
  }
@@ -230,18 +224,17 @@ var textareaStyle = tv({
230
224
  textarea: ["w-full"]
231
225
  }
232
226
  },
227
+ readonly: {
228
+ true: {
229
+ readonlyWrapper: ["pointer-events-none"],
230
+ textarea: ["!text-body-foreground", "placeholder:!text-body-foreground"],
231
+ helperMessage: ["!text-body-foreground"]
232
+ }
233
+ },
233
234
  disabled: {
234
235
  true: {
235
- textarea: [
236
- "bg-neutral-soft",
237
- "pointer-events-none",
238
- "text-neutral-light",
239
- "placeholder:!text-neutral-light",
240
- "group-has-[p.error]/textarea:text-danger-light",
241
- "group-has-[p.error]/textarea:border-danger-light",
242
- "group-has-[p.error]/textarea:placeholder:!text-danger-light"
243
- ],
244
- helperMessage: ["!text-neutral-light", "group-has-[p.error]/textarea:!text-danger-light"],
236
+ textarea: ["!bg-neutral-soft", "pointer-events-none", "!text-neutral-light", "placeholder:!text-neutral-light"],
237
+ helperMessage: ["!text-neutral-light"],
245
238
  errorMessage: ["!text-danger-light"]
246
239
  }
247
240
  }
@@ -275,11 +268,47 @@ var textareaStyle = tv({
275
268
  textarea: ["border-xl"]
276
269
  }
277
270
  },
271
+ {
272
+ readonly: true,
273
+ color: "primary",
274
+ class: {
275
+ textarea: ["!text-primary-main", "placeholder:!text-primary-main"]
276
+ }
277
+ },
278
+ {
279
+ readonly: true,
280
+ color: "secondary",
281
+ class: {
282
+ textarea: ["!text-secondary-main", "placeholder:!text-secondary-main"]
283
+ }
284
+ },
285
+ {
286
+ disabled: true,
287
+ class: {
288
+ textarea: [
289
+ "group-has-[p.error]/textarea:!text-danger-light",
290
+ "group-has-[p.error]/textarea:placeholder:!text-danger-light"
291
+ ],
292
+ helperMessage: ["group-has-[p.error]/textarea:!text-danger-light"],
293
+ errorMessage: ["!text-danger-light"]
294
+ }
295
+ },
278
296
  {
279
297
  disabled: true,
280
298
  variant: ["outline"],
281
299
  class: {
282
- textarea: ["!bg-body-background", "group-has-[p.error]/input:border-danger-light"]
300
+ textarea: ["!bg-body-background", "group-has-[p.error]/textarea:!border-danger-light"]
301
+ }
302
+ },
303
+ {
304
+ disabled: false,
305
+ class: {
306
+ textarea: [
307
+ "group-has-[p.error]/textarea:!text-danger-main",
308
+ "group-has-[p.error]/textarea:placeholder:!text-danger-main"
309
+ ],
310
+ helperMessage: ["group-has-[p.error]/textarea:!text-danger-main"],
311
+ errorMessage: ["!text-danger-main"]
283
312
  }
284
313
  }
285
314
  ],
@@ -0,0 +1 @@
1
+ "use client";
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-E3G5QXSH.mjs";
5
5
  import {
6
6
  tv
7
- } from "./chunk-U4DJHAM5.mjs";
7
+ } from "./chunk-DPWUIAVC.mjs";
8
8
 
9
9
  // src/components/charts/barChart.tsx
10
10
  import { forwardRef, useEffect, useLayoutEffect, useMemo, useRef, useState } from "react";
@@ -7,7 +7,7 @@ import {
7
7
  } from "./chunk-E3G5QXSH.mjs";
8
8
  import {
9
9
  tv
10
- } from "./chunk-U4DJHAM5.mjs";
10
+ } from "./chunk-DPWUIAVC.mjs";
11
11
 
12
12
  // src/components/checkbox/checkbox.tsx
13
13
  import { forwardRef, useMemo } from "react";
@@ -61,7 +61,7 @@ var CheckBoxIcon = ({ size, isSelected, className }) => {
61
61
  "path",
62
62
  {
63
63
  d: "M2.16667 6.90123L5.63334 10.1111L10.8333 2.88889",
64
- stroke: "white",
64
+ stroke: "currentColor",
65
65
  strokeWidth,
66
66
  strokeLinecap: "round",
67
67
  strokeLinejoin: "round",
@@ -94,7 +94,7 @@ var checkboxStyle = tv({
94
94
  "group-has-[:checked]:after:opacity-100",
95
95
  "before:transition duration-200"
96
96
  ],
97
- icon: ["z-10", "opacity-0", "group-has-[:checked]:opacity-100", "text-neutral-light"],
97
+ icon: ["z-10", "opacity-0", "group-has-[:checked]:opacity-100", "text-common-white"],
98
98
  labelReverse: ["flex-row-reverse"],
99
99
  label: ["relative", "text-body-foreground", "select-none"]
100
100
  },
@@ -127,54 +127,26 @@ var checkboxStyle = tv({
127
127
  },
128
128
  size: {
129
129
  sm: {
130
- base: ["gap-[8px]"],
131
- wrapper: [
132
- "w-[12px]",
133
- "h-[12px]",
134
- "rounded-[2px]",
135
- "before:border-sm",
136
- "before:rounded-[2px]",
137
- "after:rounded-[2px]"
138
- ],
130
+ base: ["gap-lg"],
131
+ wrapper: ["w-[12px]", "h-[12px]", "rounded-2", "before:border-sm", "before:rounded-2", "after:rounded-2"],
139
132
  label: ["text-sm"],
140
133
  icon: ["w-[10px]", "h-[10px]"]
141
134
  },
142
135
  md: {
143
- base: ["gap-[8px]"],
144
- wrapper: [
145
- "w-[15px]",
146
- "h-[15px]",
147
- "rounded-[2px]",
148
- "before:border-md",
149
- "before:rounded-[2px]",
150
- "after:rounded-[2px]"
151
- ],
136
+ base: ["gap-lg"],
137
+ wrapper: ["w-[15px]", "h-[15px]", "rounded-2", "before:border-md", "before:rounded-2", "after:rounded-2"],
152
138
  label: ["text-md"],
153
139
  icon: ["w-[13px]", "h-[13px]"]
154
140
  },
155
141
  lg: {
156
- base: ["gap-[10px]"],
157
- wrapper: [
158
- "w-[18px]",
159
- "h-[18px]",
160
- "rounded-[4px]",
161
- "before:border-lg",
162
- "before:rounded-[4px]",
163
- "after:rounded-[4px]"
164
- ],
142
+ base: ["gap-xl"],
143
+ wrapper: ["w-[18px]", "h-[18px]", "rounded-sm", "before:border-lg", "before:rounded-sm", "after:rounded-sm"],
165
144
  label: ["text-lg"],
166
145
  icon: ["w-[16px]", "h-[16px]"]
167
146
  },
168
147
  xl: {
169
- base: ["gap-[10px]"],
170
- wrapper: [
171
- "w-[21px]",
172
- "h-[21px]",
173
- "rounded-[4px]",
174
- "before:border-xl",
175
- "before:rounded-[2px]",
176
- "after:rounded-[2px]"
177
- ],
148
+ base: ["gap-xl"],
149
+ wrapper: ["w-[21px]", "h-[21px]", "rounded-sm", "before:border-xl", "before:rounded-sm", "after:rounded-sm"],
178
150
  label: ["text-xl"],
179
151
  icon: ["w-[19px]", "h-[19px]"]
180
152
  }
@@ -0,0 +1,224 @@
1
+ "use client";
2
+ import {
3
+ mapPropsVariants
4
+ } from "./chunk-E3G5QXSH.mjs";
5
+ import {
6
+ tv
7
+ } from "./chunk-DPWUIAVC.mjs";
8
+
9
+ // src/components/slider/slider.tsx
10
+ import { forwardRef, useCallback, useRef, useState, useMemo } from "react";
11
+ import { jsx, jsxs } from "react/jsx-runtime";
12
+ var clampPercentage = (value) => {
13
+ return Math.min(100, Math.max(0, value));
14
+ };
15
+ var Slider = forwardRef((originalProps, ref) => {
16
+ const [props, variantProps] = mapPropsVariants(originalProps, sliderStyle.variantKeys);
17
+ const {
18
+ children,
19
+ classNames,
20
+ value: controlledValue,
21
+ defaultValue = 0,
22
+ minValue = 0,
23
+ maxValue = 100,
24
+ step = 1,
25
+ onChange,
26
+ disabled = false,
27
+ ...restProps
28
+ } = props;
29
+ const [uncontrolledValue, setUncontrolledValue] = useState(defaultValue);
30
+ const [isDragging, setIsDragging] = useState(false);
31
+ const isControlled = controlledValue !== void 0;
32
+ const value = isControlled ? controlledValue : uncontrolledValue;
33
+ const innerRef = useRef(null);
34
+ const calculateValue = useCallback(
35
+ (clientX) => {
36
+ if (!innerRef.current) return value;
37
+ const { left, width } = innerRef.current.getBoundingClientRect();
38
+ const percent = Math.min(Math.max((clientX - left) / width, 0), 1);
39
+ const exactValue = percent * (maxValue - minValue) + minValue;
40
+ const stepRoundedValue = Math.round(exactValue / step) * step;
41
+ return Math.min(Math.max(stepRoundedValue, minValue), maxValue);
42
+ },
43
+ [minValue, maxValue, step, value]
44
+ );
45
+ const updateValue = useCallback(
46
+ (newValue) => {
47
+ if (!isControlled) {
48
+ setUncontrolledValue(newValue);
49
+ }
50
+ if (onChange && value !== newValue) {
51
+ onChange(newValue);
52
+ }
53
+ },
54
+ [isControlled, onChange, value]
55
+ );
56
+ const handlePointerDown = (e) => {
57
+ var _a;
58
+ if (disabled) return;
59
+ (_a = innerRef.current) == null ? void 0 : _a.focus();
60
+ e.currentTarget.setPointerCapture(e.pointerId);
61
+ setIsDragging(true);
62
+ const newValue = calculateValue(e.clientX);
63
+ updateValue(newValue);
64
+ };
65
+ const handlePointerMove = (e) => {
66
+ if (disabled || e.buttons === 0) return;
67
+ const newValue = calculateValue(e.clientX);
68
+ updateValue(newValue);
69
+ };
70
+ const handlePointerUp = (e) => {
71
+ if (disabled) return;
72
+ e.currentTarget.releasePointerCapture(e.pointerId);
73
+ setIsDragging(false);
74
+ };
75
+ const handleKeyDown = (e) => {
76
+ if (disabled) return;
77
+ let newValue = value;
78
+ if (e.key === "ArrowRight" || e.key === "ArrowUp") {
79
+ newValue = Math.min(value + step, maxValue);
80
+ } else if (e.key === "ArrowLeft" || e.key === "ArrowDown") {
81
+ newValue = Math.max(value - step, minValue);
82
+ } else if (e.key === "Home") {
83
+ newValue = minValue;
84
+ } else if (e.key === "End") {
85
+ newValue = maxValue;
86
+ }
87
+ if (newValue !== value) {
88
+ e.preventDefault();
89
+ updateValue(newValue);
90
+ }
91
+ };
92
+ const setRefs = useCallback(
93
+ (node) => {
94
+ innerRef.current = node;
95
+ if (typeof ref === "function") {
96
+ ref(node);
97
+ } else if (ref) {
98
+ ref.current = node;
99
+ }
100
+ },
101
+ [ref]
102
+ );
103
+ const percentage = clampPercentage((value - minValue) / (maxValue - minValue) * 100);
104
+ const slots = useMemo(() => sliderStyle({ ...variantProps }), [variantProps]);
105
+ return /* @__PURE__ */ jsxs(
106
+ "div",
107
+ {
108
+ ref: setRefs,
109
+ className: slots.base({ class: classNames == null ? void 0 : classNames.base }),
110
+ onPointerDown: handlePointerDown,
111
+ onPointerMove: handlePointerMove,
112
+ onPointerUp: handlePointerUp,
113
+ onKeyDown: handleKeyDown,
114
+ tabIndex: disabled ? void 0 : 0,
115
+ role: "slider",
116
+ "aria-valuemin": minValue,
117
+ "aria-valuemax": maxValue,
118
+ "aria-valuenow": value,
119
+ ...restProps,
120
+ children: [
121
+ /* @__PURE__ */ jsx("div", { className: slots.track({ class: classNames == null ? void 0 : classNames.track }), children: /* @__PURE__ */ jsx(
122
+ "div",
123
+ {
124
+ className: slots.indicator({ class: classNames == null ? void 0 : classNames.indicator }),
125
+ style: { width: `${percentage}%`, transitionDuration: isDragging ? "0ms" : void 0 }
126
+ }
127
+ ) }),
128
+ /* @__PURE__ */ jsx(
129
+ "div",
130
+ {
131
+ className: slots.thumb({ class: classNames == null ? void 0 : classNames.thumb }),
132
+ style: { left: `${percentage}%`, transitionDuration: isDragging ? "0ms" : void 0 }
133
+ }
134
+ )
135
+ ]
136
+ }
137
+ );
138
+ });
139
+ Slider.displayName = "Slider";
140
+ var slider_default = Slider;
141
+ var sliderStyle = tv({
142
+ slots: {
143
+ base: [
144
+ "relative",
145
+ "flex",
146
+ "flex-col",
147
+ "justify-center",
148
+ "w-full",
149
+ "touch-none",
150
+ "select-none",
151
+ "outline-none",
152
+ "cursor-pointer"
153
+ ],
154
+ track: ["z-0", "relative", "w-full", "bg-neutral-soft"],
155
+ indicator: ["absolute", "h-full", "top-0", "left-0", "border-none", "transition-all"],
156
+ thumb: [
157
+ "z-10",
158
+ "absolute",
159
+ "flex",
160
+ "items-center",
161
+ "justify-center",
162
+ "top-1/2",
163
+ "-translate-y-1/2",
164
+ "-translate-x-1/2",
165
+ "bg-white",
166
+ "shadow-small",
167
+ "rounded-full",
168
+ "transition-all",
169
+ "outline-none",
170
+ "cursor-grab",
171
+ "active:cursor-grabbing"
172
+ ]
173
+ },
174
+ variants: {
175
+ color: {
176
+ primary: {
177
+ indicator: ["bg-primary-light"],
178
+ thumb: ["bg-primary-main", "ring-[color-mix(in_srgb,var(--dn-primary-main)_20%,transparent)]"]
179
+ },
180
+ secondary: {
181
+ indicator: ["bg-secondary-light"],
182
+ thumb: ["bg-secondary-main", "ring-[color-mix(in_srgb,var(--dn-secondary-main)_20%,transparent)]"]
183
+ }
184
+ },
185
+ size: {
186
+ sm: {
187
+ track: ["h-[4px]", "rounded-sm"],
188
+ indicator: ["rounded-sm"],
189
+ thumb: ["w-[8px]", "h-[8px]", "hover:ring-2"]
190
+ },
191
+ md: {
192
+ track: ["h-[6px]", "rounded-md"],
193
+ indicator: ["rounded-md"],
194
+ thumb: ["w-[10px]", "h-[10px]", "hover:ring-3"]
195
+ },
196
+ lg: {
197
+ track: ["h-[8px]", "rounded-lg"],
198
+ indicator: ["rounded-lg"],
199
+ thumb: ["w-[12px]", "h-[12px]", "hover:ring-4"]
200
+ },
201
+ xl: {
202
+ track: ["h-[10px]", "rounded-xl"],
203
+ indicator: ["rounded-xl"],
204
+ thumb: ["w-[14px]", "h-[14px]", "hover:ring-5"]
205
+ }
206
+ },
207
+ disabled: {
208
+ true: {
209
+ base: ["opacity-disabled", "cursor-not-allowed", "!pointer-events-none"],
210
+ indicator: ["bg-neutral-light"],
211
+ thumb: ["bg-neutral-main", "cursor-not-allowed"]
212
+ }
213
+ }
214
+ },
215
+ defaultVariants: {
216
+ color: "primary",
217
+ size: "md",
218
+ disabled: false
219
+ }
220
+ });
221
+
222
+ export {
223
+ slider_default
224
+ };
@@ -1,13 +1,13 @@
1
1
  "use client";
2
2
  import {
3
3
  progress_default
4
- } from "./chunk-ACZ3DQVT.mjs";
4
+ } from "./chunk-VUO5J2OK.mjs";
5
5
  import {
6
6
  input_default
7
- } from "./chunk-EJ4GDC6K.mjs";
7
+ } from "./chunk-S2T4GHJA.mjs";
8
8
  import {
9
9
  button_default
10
- } from "./chunk-SKX5QPUD.mjs";
10
+ } from "./chunk-63JRWMWN.mjs";
11
11
 
12
12
  // src/components/fileUpload/fileUpload.tsx
13
13
  import { useRef, useState, useEffect } from "react";
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import {
3
3
  modal_default
4
- } from "./chunk-EVJ46M3U.mjs";
4
+ } from "./chunk-E4VJDQD5.mjs";
5
5
 
6
6
  // src/components/modal/GlobalModalProvider.tsx
7
7
  import { createContext, useState, useCallback, useMemo } from "react";
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-27Y6K5NK.mjs";
5
5
  import {
6
6
  tv
7
- } from "./chunk-U4DJHAM5.mjs";
7
+ } from "./chunk-DPWUIAVC.mjs";
8
8
 
9
9
  // src/components/backdrop/backdrop.tsx
10
10
  import { useEffect, useState } from "react";
@@ -1,16 +1,16 @@
1
1
  "use client";
2
2
  import {
3
3
  Icon_default
4
- } from "./chunk-6AID2NLT.mjs";
4
+ } from "./chunk-A6UUVHC6.mjs";
5
5
  import {
6
6
  avatar_default
7
- } from "./chunk-HFOHFBZH.mjs";
7
+ } from "./chunk-3N442F6I.mjs";
8
8
  import {
9
9
  mapPropsVariants
10
10
  } from "./chunk-E3G5QXSH.mjs";
11
11
  import {
12
12
  tv
13
- } from "./chunk-U4DJHAM5.mjs";
13
+ } from "./chunk-DPWUIAVC.mjs";
14
14
 
15
15
  // src/components/list/listItem.tsx
16
16
  import { forwardRef, useMemo } from "react";
@@ -1,13 +1,13 @@
1
1
  "use client";
2
2
  import {
3
3
  Icon_default
4
- } from "./chunk-6AID2NLT.mjs";
4
+ } from "./chunk-A6UUVHC6.mjs";
5
5
  import {
6
6
  mapPropsVariants
7
7
  } from "./chunk-E3G5QXSH.mjs";
8
8
  import {
9
9
  tv
10
- } from "./chunk-U4DJHAM5.mjs";
10
+ } from "./chunk-DPWUIAVC.mjs";
11
11
 
12
12
  // src/components/chip/chip.tsx
13
13
  import { forwardRef, useMemo } from "react";
@@ -78,6 +78,16 @@ var chipStyle = tv({
78
78
  xl: {
79
79
  base: ["text-xl"]
80
80
  }
81
+ },
82
+ fill: {
83
+ true: {
84
+ base: ["w-full"]
85
+ }
86
+ },
87
+ fit: {
88
+ true: {
89
+ base: ["w-fit"]
90
+ }
81
91
  }
82
92
  },
83
93
  compoundVariants: [