@deepnoid/ui 0.0.112 → 0.1.1

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 (433) hide show
  1. package/.eslintrc.cjs +4 -0
  2. package/.turbo/turbo-build.log +365 -0
  3. package/babel.config.js +8 -0
  4. package/dist/NanumSquare_acB-VMSVRKSM.ttf +0 -0
  5. package/dist/NanumSquare_acEB-HRZ3QLG2.ttf +0 -0
  6. package/dist/NanumSquare_acL-FSAAP5CK.ttf +0 -0
  7. package/dist/NanumSquare_acR-RZCHPXSJ.ttf +0 -0
  8. package/dist/{chunk-LCI6RPWE.mjs → chunk-24NQEB73.mjs} +7 -5
  9. package/dist/chunk-2TJDQIKB.mjs +82 -0
  10. package/dist/chunk-2ZT6V4QR.mjs +591 -0
  11. package/dist/chunk-56VCX2QR.mjs +170 -0
  12. package/dist/chunk-6PNKRBUT.mjs +34 -0
  13. package/dist/{chunk-IZ6II3QA.mjs → chunk-AC6TWLRT.mjs} +1 -13
  14. package/dist/{chunk-PRLGHYFO.mjs → chunk-AMA53H3C.mjs} +7 -7
  15. package/dist/chunk-AYWI2CRE.mjs +211 -0
  16. package/dist/{chunk-OJ2OEI5B.mjs → chunk-BKE6QF6W.mjs} +7 -0
  17. package/dist/chunk-CF6O6TCF.mjs +63 -0
  18. package/dist/chunk-DUOYMLZL.mjs +283 -0
  19. package/dist/{chunk-7HHFRKJU.mjs → chunk-GLBASISV.mjs} +2 -2
  20. package/dist/{chunk-FDKT4IBP.mjs → chunk-HKXUNG3H.mjs} +4 -4
  21. package/dist/chunk-J5WJD6XZ.mjs +221 -0
  22. package/dist/chunk-LXHUO6VM.mjs +46 -0
  23. package/dist/chunk-M2IRRTFM.mjs +79 -0
  24. package/dist/{chunk-NGQ3MK2J.mjs → chunk-N4F3R6HG.mjs} +1 -1
  25. package/dist/chunk-ON5SGXHZ.mjs +29 -0
  26. package/dist/chunk-OQS4LGZK.mjs +27 -0
  27. package/dist/{chunk-IOCRFIQF.mjs → chunk-P2TMIZRH.mjs} +131 -30
  28. package/dist/chunk-RCU5MLBU.mjs +198 -0
  29. package/dist/chunk-RT5NKQX4.mjs +285 -0
  30. package/dist/chunk-S65S7QZ5.mjs +413 -0
  31. package/dist/chunk-SE5TU755.mjs +1 -0
  32. package/dist/chunk-SPX2BHO2.mjs +314 -0
  33. package/dist/{chunk-TSMVRGDO.mjs → chunk-SSEQSF5F.mjs} +14 -8
  34. package/dist/chunk-U2YKMXVG.mjs +145 -0
  35. package/dist/{chunk-JN7EGKJL.mjs → chunk-VRGHUYRU.mjs} +11 -5
  36. package/dist/{chunk-EYY4CRRR.mjs → chunk-VVOOYDJS.mjs} +15 -17
  37. package/dist/chunk-WSIADHVC.mjs +126 -0
  38. package/dist/{chunk-PXUBPWKU.mjs → chunk-XIHAABHB.mjs} +4 -4
  39. package/dist/{chunk-BCN5F2MN.mjs → chunk-YCMZELLD.mjs} +2 -2
  40. package/dist/{chunk-RZZWHI6O.mjs → chunk-YZNQ2QGK.mjs} +8 -3
  41. package/dist/chunk-Z74QNVPG.mjs +127 -0
  42. package/dist/{chunk-KRI5IALM.mjs → chunk-ZEZ6ZA3N.mjs} +6 -3
  43. package/dist/{chunk-KCBBBRSF.mjs → chunk-ZMOAFSYE.mjs} +1 -1
  44. package/dist/components/avatar/avatar.d.mts +80 -0
  45. package/dist/components/avatar/avatar.d.ts +80 -0
  46. package/dist/components/{accordion/accordionItem.js → avatar/avatar.js} +454 -213
  47. package/dist/components/avatar/avatar.mjs +10 -0
  48. package/dist/components/avatar/index.d.mts +4 -0
  49. package/dist/components/avatar/index.d.ts +4 -0
  50. package/dist/components/{accordion → avatar}/index.js +836 -676
  51. package/dist/components/avatar/index.mjs +11 -0
  52. package/dist/components/backdrop/backdrop.d.mts +11 -0
  53. package/dist/components/backdrop/backdrop.d.ts +11 -0
  54. package/dist/components/backdrop/backdrop.js +345 -0
  55. package/dist/components/backdrop/backdrop.mjs +9 -0
  56. package/dist/components/backdrop/index.d.mts +2 -0
  57. package/dist/components/backdrop/index.d.ts +2 -0
  58. package/dist/components/backdrop/index.js +351 -0
  59. package/dist/components/backdrop/index.mjs +10 -0
  60. package/dist/components/breadcrumb/breadcrumb.d.mts +96 -0
  61. package/dist/components/breadcrumb/breadcrumb.d.ts +96 -0
  62. package/dist/components/breadcrumb/breadcrumb.js +4067 -0
  63. package/dist/components/breadcrumb/breadcrumb.mjs +12 -0
  64. package/dist/components/breadcrumb/index.d.mts +7 -0
  65. package/dist/components/breadcrumb/index.d.ts +7 -0
  66. package/dist/components/breadcrumb/index.js +4073 -0
  67. package/dist/components/breadcrumb/index.mjs +13 -0
  68. package/dist/components/button/button-group.d.mts +5 -4
  69. package/dist/components/button/button-group.d.ts +5 -4
  70. package/dist/components/button/button-group.js +278 -9
  71. package/dist/components/button/button-group.mjs +3 -3
  72. package/dist/components/button/button.d.mts +27 -180
  73. package/dist/components/button/button.d.ts +27 -180
  74. package/dist/components/button/button.js +600 -426
  75. package/dist/components/button/button.mjs +8 -5
  76. package/dist/components/button/index.d.mts +0 -1
  77. package/dist/components/button/index.d.ts +0 -1
  78. package/dist/components/button/index.js +605 -431
  79. package/dist/components/button/index.mjs +9 -6
  80. package/dist/components/checkbox/checkbox.d.mts +50 -206
  81. package/dist/components/checkbox/checkbox.d.ts +50 -206
  82. package/dist/components/checkbox/checkbox.js +464 -127
  83. package/dist/components/checkbox/checkbox.mjs +4 -3
  84. package/dist/components/checkbox/index.d.mts +0 -1
  85. package/dist/components/checkbox/index.d.ts +0 -1
  86. package/dist/components/checkbox/index.js +464 -127
  87. package/dist/components/checkbox/index.mjs +4 -3
  88. package/dist/components/chip/chip.d.mts +119 -0
  89. package/dist/components/chip/chip.d.ts +119 -0
  90. package/dist/components/chip/chip.js +4200 -0
  91. package/dist/components/chip/chip.mjs +13 -0
  92. package/dist/components/chip/index.d.mts +7 -0
  93. package/dist/components/chip/index.d.ts +7 -0
  94. package/dist/components/chip/index.js +4206 -0
  95. package/dist/components/chip/index.mjs +14 -0
  96. package/dist/components/dateTimePicker/calendar.d.mts +3 -53
  97. package/dist/components/dateTimePicker/calendar.d.ts +3 -53
  98. package/dist/components/dateTimePicker/calendar.js +415 -43
  99. package/dist/components/dateTimePicker/calendar.mjs +5 -5
  100. package/dist/components/dateTimePicker/dateTimePicker.d.mts +23 -180
  101. package/dist/components/dateTimePicker/dateTimePicker.d.ts +23 -180
  102. package/dist/components/dateTimePicker/dateTimePicker.js +674 -151
  103. package/dist/components/dateTimePicker/dateTimePicker.mjs +11 -10
  104. package/dist/components/dateTimePicker/index.d.mts +0 -1
  105. package/dist/components/dateTimePicker/index.d.ts +0 -1
  106. package/dist/components/dateTimePicker/index.js +674 -151
  107. package/dist/components/dateTimePicker/index.mjs +11 -10
  108. package/dist/components/dateTimePicker/timePicker.js +4218 -130
  109. package/dist/components/dateTimePicker/timePicker.mjs +9 -5
  110. package/dist/components/dateTimePicker/useDateTimePicker.d.mts +4 -4
  111. package/dist/components/dateTimePicker/useDateTimePicker.d.ts +4 -4
  112. package/dist/components/dateTimePicker/useDateTimePicker.mjs +1 -1
  113. package/dist/components/dateTimePicker/util.mjs +1 -1
  114. package/dist/components/icon/Icon.d.mts +30 -5
  115. package/dist/components/icon/Icon.d.ts +30 -5
  116. package/dist/components/icon/Icon.js +137 -34
  117. package/dist/components/icon/Icon.mjs +3 -3
  118. package/dist/components/icon/index.d.mts +1 -0
  119. package/dist/components/icon/index.d.ts +1 -0
  120. package/dist/components/icon/index.js +137 -34
  121. package/dist/components/icon/index.mjs +3 -3
  122. package/dist/components/icon/template.d.mts +7 -1
  123. package/dist/components/icon/template.d.ts +7 -1
  124. package/dist/components/icon/template.js +131 -30
  125. package/dist/components/icon/template.mjs +2 -2
  126. package/dist/components/input/index.d.mts +1 -2
  127. package/dist/components/input/index.d.ts +1 -2
  128. package/dist/components/input/index.js +634 -197
  129. package/dist/components/input/index.mjs +6 -5
  130. package/dist/components/input/input.d.mts +114 -256
  131. package/dist/components/input/input.d.ts +114 -256
  132. package/dist/components/input/input.js +634 -197
  133. package/dist/components/input/input.mjs +6 -5
  134. package/dist/components/list/index.d.mts +5 -2
  135. package/dist/components/list/index.d.ts +5 -2
  136. package/dist/components/list/index.js +4161 -73
  137. package/dist/components/list/index.mjs +8 -4
  138. package/dist/components/list/list.d.mts +17 -67
  139. package/dist/components/list/list.d.ts +17 -67
  140. package/dist/components/list/list.js +290 -23
  141. package/dist/components/list/list.mjs +3 -3
  142. package/dist/components/list/listItem.d.mts +108 -113
  143. package/dist/components/list/listItem.d.ts +108 -113
  144. package/dist/components/list/listItem.js +4159 -61
  145. package/dist/components/list/listItem.mjs +7 -3
  146. package/dist/components/modal/index.d.mts +0 -1
  147. package/dist/components/modal/index.d.ts +0 -1
  148. package/dist/components/modal/index.js +630 -454
  149. package/dist/components/modal/index.mjs +10 -7
  150. package/dist/components/modal/modal.d.mts +3 -76
  151. package/dist/components/modal/modal.d.ts +3 -76
  152. package/dist/components/modal/modal.js +630 -454
  153. package/dist/components/modal/modal.mjs +10 -7
  154. package/dist/components/pagination/index.d.mts +1 -1
  155. package/dist/components/pagination/index.d.ts +1 -1
  156. package/dist/components/pagination/index.js +740 -302
  157. package/dist/components/pagination/index.mjs +8 -7
  158. package/dist/components/pagination/pagination.d.mts +50 -112
  159. package/dist/components/pagination/pagination.d.ts +50 -112
  160. package/dist/components/pagination/pagination.js +742 -306
  161. package/dist/components/pagination/pagination.mjs +10 -11
  162. package/dist/components/pagination/usePagination.mjs +1 -1
  163. package/dist/components/radio/index.d.mts +0 -1
  164. package/dist/components/radio/index.d.ts +0 -1
  165. package/dist/components/radio/index.js +424 -111
  166. package/dist/components/radio/index.mjs +4 -3
  167. package/dist/components/radio/radio.d.mts +113 -183
  168. package/dist/components/radio/radio.d.ts +113 -183
  169. package/dist/components/radio/radio.js +424 -111
  170. package/dist/components/radio/radio.mjs +4 -3
  171. package/dist/components/ripple/index.d.mts +4 -0
  172. package/dist/components/ripple/index.d.ts +4 -0
  173. package/dist/components/ripple/index.js +98 -0
  174. package/dist/components/ripple/index.mjs +13 -0
  175. package/dist/components/ripple/ripple.d.mts +21 -0
  176. package/dist/components/ripple/ripple.d.ts +21 -0
  177. package/dist/components/ripple/ripple.js +65 -0
  178. package/dist/components/ripple/ripple.mjs +8 -0
  179. package/dist/components/ripple/useRipple.d.mts +17 -0
  180. package/dist/components/ripple/useRipple.d.ts +17 -0
  181. package/dist/components/ripple/useRipple.js +57 -0
  182. package/dist/components/ripple/useRipple.mjs +10 -0
  183. package/dist/components/select/index.d.mts +0 -1
  184. package/dist/components/select/index.d.ts +0 -1
  185. package/dist/components/select/index.js +437 -44
  186. package/dist/components/select/index.mjs +6 -6
  187. package/dist/components/select/option.d.mts +2 -3
  188. package/dist/components/select/option.d.ts +2 -3
  189. package/dist/components/select/option.js +431 -44
  190. package/dist/components/select/option.mjs +5 -5
  191. package/dist/components/select/select.d.mts +19 -180
  192. package/dist/components/select/select.d.ts +19 -180
  193. package/dist/components/select/select.js +437 -44
  194. package/dist/components/select/select.mjs +6 -6
  195. package/dist/components/select/useSelect.d.mts +3 -4
  196. package/dist/components/select/useSelect.d.ts +3 -4
  197. package/dist/components/select/useSelect.mjs +1 -1
  198. package/dist/components/switch/index.d.mts +1 -2
  199. package/dist/components/switch/index.d.ts +1 -2
  200. package/dist/components/switch/index.js +54 -77
  201. package/dist/components/switch/index.mjs +2 -2
  202. package/dist/components/switch/switch.d.mts +56 -190
  203. package/dist/components/switch/switch.d.ts +56 -190
  204. package/dist/components/switch/switch.js +55 -83
  205. package/dist/components/switch/switch.mjs +4 -6
  206. package/dist/components/table/index.d.mts +0 -1
  207. package/dist/components/table/index.d.ts +0 -1
  208. package/dist/components/table/index.js +1730 -910
  209. package/dist/components/table/index.mjs +14 -9
  210. package/dist/components/table/table-body.d.mts +9 -16
  211. package/dist/components/table/table-body.d.ts +9 -16
  212. package/dist/components/table/table-body.js +517 -3856
  213. package/dist/components/table/table-body.mjs +4 -7
  214. package/dist/components/table/table-head.d.mts +6 -9
  215. package/dist/components/table/table-head.d.ts +6 -9
  216. package/dist/components/table/table-head.js +430 -162
  217. package/dist/components/table/table-head.mjs +4 -4
  218. package/dist/components/table/table.d.mts +98 -578
  219. package/dist/components/table/table.d.ts +98 -578
  220. package/dist/components/table/table.js +1730 -910
  221. package/dist/components/table/table.mjs +14 -9
  222. package/dist/components/tabs/index.d.mts +0 -1
  223. package/dist/components/tabs/index.d.ts +0 -1
  224. package/dist/components/tabs/index.js +291 -9
  225. package/dist/components/tabs/index.mjs +3 -3
  226. package/dist/components/tabs/tabs.d.mts +12 -99
  227. package/dist/components/tabs/tabs.d.ts +12 -99
  228. package/dist/components/tabs/tabs.js +291 -9
  229. package/dist/components/tabs/tabs.mjs +3 -3
  230. package/dist/components/textarea/index.d.mts +0 -1
  231. package/dist/components/textarea/index.d.ts +0 -1
  232. package/dist/components/textarea/index.js +7 -0
  233. package/dist/components/textarea/index.mjs +2 -2
  234. package/dist/components/textarea/textarea.d.mts +19 -271
  235. package/dist/components/textarea/textarea.d.ts +19 -271
  236. package/dist/components/textarea/textarea.js +7 -0
  237. package/dist/components/textarea/textarea.mjs +2 -2
  238. package/dist/components/toast/index.d.mts +1 -1
  239. package/dist/components/toast/index.d.ts +1 -1
  240. package/dist/components/toast/index.js +426 -44
  241. package/dist/components/toast/index.mjs +6 -6
  242. package/dist/components/toast/toast-utils.mjs +1 -1
  243. package/dist/components/toast/toast.d.mts +4 -87
  244. package/dist/components/toast/toast.d.ts +4 -87
  245. package/dist/components/toast/toast.js +425 -43
  246. package/dist/components/toast/toast.mjs +5 -5
  247. package/dist/components/toast/use-toast.d.mts +1 -0
  248. package/dist/components/toast/use-toast.d.ts +1 -0
  249. package/dist/components/toast/use-toast.js +426 -44
  250. package/dist/components/toast/use-toast.mjs +6 -6
  251. package/dist/components/tooltip/index.d.mts +1 -2
  252. package/dist/components/tooltip/index.d.ts +1 -2
  253. package/dist/components/tooltip/index.js +412 -54
  254. package/dist/components/tooltip/index.mjs +5 -5
  255. package/dist/components/tooltip/tooltip-utils.d.mts +1 -1
  256. package/dist/components/tooltip/tooltip-utils.d.ts +1 -1
  257. package/dist/components/tooltip/tooltip-utils.js +67 -0
  258. package/dist/components/tooltip/tooltip-utils.mjs +6 -2
  259. package/dist/components/tooltip/tooltip.d.mts +37 -85
  260. package/dist/components/tooltip/tooltip.d.ts +37 -85
  261. package/dist/components/tooltip/tooltip.js +412 -54
  262. package/dist/components/tooltip/tooltip.mjs +5 -5
  263. package/dist/components/tooltip/useTooltip.d.mts +1 -1
  264. package/dist/components/tooltip/useTooltip.d.ts +1 -1
  265. package/dist/components/tooltip/useTooltip.mjs +3 -3
  266. package/dist/fonts/NanumSquare_acB.js +4 -0
  267. package/dist/fonts/NanumSquare_acB.mjs +8 -0
  268. package/dist/fonts/NanumSquare_acB.ttf +0 -0
  269. package/dist/fonts/NanumSquare_acEB.js +4 -0
  270. package/dist/fonts/NanumSquare_acEB.mjs +8 -0
  271. package/dist/fonts/NanumSquare_acEB.ttf +0 -0
  272. package/dist/fonts/NanumSquare_acL.js +4 -0
  273. package/dist/fonts/NanumSquare_acL.mjs +8 -0
  274. package/dist/fonts/NanumSquare_acL.ttf +0 -0
  275. package/dist/fonts/NanumSquare_acR.js +4 -0
  276. package/dist/fonts/NanumSquare_acR.mjs +8 -0
  277. package/dist/fonts/NanumSquare_acR.ttf +0 -0
  278. package/dist/fonts/font.css +36 -0
  279. package/dist/index.d.mts +6 -8
  280. package/dist/index.d.ts +6 -8
  281. package/dist/index.js +3929 -4355
  282. package/dist/index.mjs +70 -795
  283. package/dist/tooltip-utils-DO3LQaVM.d.mts +52 -0
  284. package/dist/tooltip-utils-DO3LQaVM.d.ts +52 -0
  285. package/dist/utils/clsx.mjs +1 -1
  286. package/dist/utils/props.mjs +1 -1
  287. package/dist/utils/tailwind-variants.d.mts +1 -21
  288. package/dist/utils/tailwind-variants.d.ts +1 -21
  289. package/dist/utils/tailwind-variants.js +288 -9
  290. package/dist/utils/tailwind-variants.mjs +2 -2
  291. package/dist/utils/types.d.mts +5 -4
  292. package/dist/utils/types.d.ts +5 -4
  293. package/package.json +34 -37
  294. package/postcss.config.js +6 -0
  295. package/tailwind.config.ts +7 -0
  296. package/tsup.config.ts +8 -0
  297. package/dist/chunk-2ALY3PH5.mjs +0 -66
  298. package/dist/chunk-A3RWT3JJ.mjs +0 -197
  299. package/dist/chunk-ANYPMQH4.mjs +0 -200
  300. package/dist/chunk-FNPWLOGV.mjs +0 -12875
  301. package/dist/chunk-H7BLXC5M.mjs +0 -5965
  302. package/dist/chunk-J725QONZ.mjs +0 -24
  303. package/dist/chunk-L6BQA6GI.mjs +0 -160
  304. package/dist/chunk-N2JULHST.mjs +0 -141
  305. package/dist/chunk-ODMRJXLJ.mjs +0 -61
  306. package/dist/chunk-PO3ADNA5.mjs +0 -56
  307. package/dist/chunk-QGZEHOKA.mjs +0 -342
  308. package/dist/chunk-QWFOYO3D.mjs +0 -173
  309. package/dist/chunk-S3O52LLG.mjs +0 -151
  310. package/dist/chunk-S4DTK5GI.mjs +0 -4036
  311. package/dist/chunk-SWR7E3NU.mjs +0 -78
  312. package/dist/chunk-U74WK5VI.mjs +0 -123
  313. package/dist/chunk-UR64ZUAU.mjs +0 -671
  314. package/dist/chunk-V77MALL4.mjs +0 -112
  315. package/dist/chunk-VWD26TIQ.mjs +0 -139
  316. package/dist/chunk-YRMFIXXC.mjs +0 -277
  317. package/dist/chunk-ZNEEYSIK.mjs +0 -257
  318. package/dist/components/accordion/accordion.d.mts +0 -154
  319. package/dist/components/accordion/accordion.d.ts +0 -154
  320. package/dist/components/accordion/accordion.js +0 -142
  321. package/dist/components/accordion/accordion.mjs +0 -10
  322. package/dist/components/accordion/accordion.test.js +0 -13015
  323. package/dist/components/accordion/accordion.test.mjs +0 -25
  324. package/dist/components/accordion/accordionItem.d.mts +0 -282
  325. package/dist/components/accordion/accordionItem.d.ts +0 -282
  326. package/dist/components/accordion/accordionItem.mjs +0 -13
  327. package/dist/components/accordion/index.d.mts +0 -6
  328. package/dist/components/accordion/index.d.ts +0 -6
  329. package/dist/components/accordion/index.mjs +0 -18
  330. package/dist/components/button/button-group.test.js +0 -21247
  331. package/dist/components/button/button-group.test.mjs +0 -57
  332. package/dist/components/button/button.test.js +0 -23148
  333. package/dist/components/button/button.test.mjs +0 -52
  334. package/dist/components/card/card.d.mts +0 -124
  335. package/dist/components/card/card.d.ts +0 -124
  336. package/dist/components/card/card.js +0 -103
  337. package/dist/components/card/card.mjs +0 -9
  338. package/dist/components/card/card.test.js +0 -12986
  339. package/dist/components/card/card.test.mjs +0 -24
  340. package/dist/components/card/index.d.mts +0 -5
  341. package/dist/components/card/index.d.ts +0 -5
  342. package/dist/components/card/index.js +0 -109
  343. package/dist/components/card/index.mjs +0 -10
  344. package/dist/components/checkbox/checkbox.test.js +0 -17237
  345. package/dist/components/checkbox/checkbox.test.mjs +0 -100
  346. package/dist/components/input/input.test.d.mts +0 -2
  347. package/dist/components/input/input.test.d.ts +0 -2
  348. package/dist/components/input/input.test.js +0 -22782
  349. package/dist/components/input/input.test.mjs +0 -99
  350. package/dist/components/list/list.test.d.mts +0 -2
  351. package/dist/components/list/list.test.d.ts +0 -2
  352. package/dist/components/list/list.test.js +0 -12995
  353. package/dist/components/list/list.test.mjs +0 -25
  354. package/dist/components/modal/modal.test.d.mts +0 -2
  355. package/dist/components/modal/modal.test.d.ts +0 -2
  356. package/dist/components/modal/modal.test.js +0 -17376
  357. package/dist/components/modal/modal.test.mjs +0 -39
  358. package/dist/components/pagination/pagination.test.d.mts +0 -2
  359. package/dist/components/pagination/pagination.test.d.ts +0 -2
  360. package/dist/components/pagination/pagination.test.js +0 -17051
  361. package/dist/components/pagination/pagination.test.mjs +0 -38
  362. package/dist/components/progress/index.d.mts +0 -5
  363. package/dist/components/progress/index.d.ts +0 -5
  364. package/dist/components/progress/index.js +0 -184
  365. package/dist/components/progress/index.mjs +0 -10
  366. package/dist/components/progress/progress.d.mts +0 -281
  367. package/dist/components/progress/progress.d.ts +0 -281
  368. package/dist/components/progress/progress.js +0 -178
  369. package/dist/components/progress/progress.mjs +0 -9
  370. package/dist/components/progress/progress.test.d.mts +0 -2
  371. package/dist/components/progress/progress.test.d.ts +0 -2
  372. package/dist/components/progress/progress.test.js +0 -13087
  373. package/dist/components/progress/progress.test.mjs +0 -50
  374. package/dist/components/radio/radio.test.d.mts +0 -2
  375. package/dist/components/radio/radio.test.d.ts +0 -2
  376. package/dist/components/radio/radio.test.js +0 -13147
  377. package/dist/components/radio/radio.test.mjs +0 -63
  378. package/dist/components/select/select.test.d.mts +0 -2
  379. package/dist/components/select/select.test.d.ts +0 -2
  380. package/dist/components/select/select.test.js +0 -20928
  381. package/dist/components/select/select.test.mjs +0 -71
  382. package/dist/components/slider/index.d.mts +0 -5
  383. package/dist/components/slider/index.d.ts +0 -5
  384. package/dist/components/slider/index.js +0 -239
  385. package/dist/components/slider/index.mjs +0 -10
  386. package/dist/components/slider/slider.d.mts +0 -359
  387. package/dist/components/slider/slider.d.ts +0 -359
  388. package/dist/components/slider/slider.js +0 -238
  389. package/dist/components/slider/slider.mjs +0 -11
  390. package/dist/components/slider/slider.test.d.mts +0 -2
  391. package/dist/components/slider/slider.test.d.ts +0 -2
  392. package/dist/components/slider/slider.test.js +0 -13122
  393. package/dist/components/slider/slider.test.mjs +0 -30
  394. package/dist/components/switch/switch.test.d.mts +0 -2
  395. package/dist/components/switch/switch.test.d.ts +0 -2
  396. package/dist/components/switch/switch.test.js +0 -13098
  397. package/dist/components/switch/switch.test.mjs +0 -52
  398. package/dist/components/table/table.test.d.mts +0 -2
  399. package/dist/components/table/table.test.d.ts +0 -2
  400. package/dist/components/table/table.test.js +0 -17256
  401. package/dist/components/table/table.test.mjs +0 -42
  402. package/dist/components/tabs/tabs.test.d.mts +0 -2
  403. package/dist/components/tabs/tabs.test.d.ts +0 -2
  404. package/dist/components/tabs/tabs.test.js +0 -17223
  405. package/dist/components/tabs/tabs.test.mjs +0 -70
  406. package/dist/components/textarea/textarea.test.d.mts +0 -2
  407. package/dist/components/textarea/textarea.test.d.ts +0 -2
  408. package/dist/components/textarea/textarea.test.js +0 -19117
  409. package/dist/components/textarea/textarea.test.mjs +0 -66
  410. package/dist/components/toast/toast.test.d.mts +0 -2
  411. package/dist/components/toast/toast.test.d.ts +0 -2
  412. package/dist/components/toast/toast.test.js +0 -16620
  413. package/dist/components/toast/toast.test.mjs +0 -28
  414. package/dist/components/tooltip/tooltip.test.d.mts +0 -2
  415. package/dist/components/tooltip/tooltip.test.d.ts +0 -2
  416. package/dist/components/tooltip/tooltip.test.js +0 -17381
  417. package/dist/components/tooltip/tooltip.test.mjs +0 -39
  418. package/dist/tooltip-utils-DR0UEfBN.d.mts +0 -31
  419. package/dist/tooltip-utils-DR0UEfBN.d.ts +0 -31
  420. /package/dist/{chunk-7VOQKIIK.mjs → chunk-6WSACUIB.mjs} +0 -0
  421. /package/dist/{chunk-HAOK24MK.mjs → chunk-7DLOYKVC.mjs} +0 -0
  422. /package/dist/{chunk-MV2WCFK7.mjs → chunk-KYIODWXL.mjs} +0 -0
  423. /package/dist/{chunk-NMSDSEBD.mjs → chunk-MGEWSREV.mjs} +0 -0
  424. /package/dist/{components/accordion/accordion.test.d.mts → fonts/NanumSquare_acB.d.mts} +0 -0
  425. /package/dist/{components/accordion/accordion.test.d.ts → fonts/NanumSquare_acB.d.ts} +0 -0
  426. /package/dist/{components/button/button-group.test.d.mts → fonts/NanumSquare_acEB.d.mts} +0 -0
  427. /package/dist/{components/button/button-group.test.d.ts → fonts/NanumSquare_acEB.d.ts} +0 -0
  428. /package/dist/{components/button/button.test.d.mts → fonts/NanumSquare_acL.d.mts} +0 -0
  429. /package/dist/{components/button/button.test.d.ts → fonts/NanumSquare_acL.d.ts} +0 -0
  430. /package/dist/{components/card/card.test.d.mts → fonts/NanumSquare_acR.d.mts} +0 -0
  431. /package/dist/{components/card/card.test.d.ts → fonts/NanumSquare_acR.d.ts} +0 -0
  432. /package/dist/{components/checkbox/checkbox.test.d.mts → fonts/font.d.mts} +0 -0
  433. /package/dist/{components/checkbox/checkbox.test.d.ts → fonts/font.d.ts} +0 -0
@@ -0,0 +1,283 @@
1
+ "use client";
2
+ import {
3
+ input_default
4
+ } from "./chunk-RT5NKQX4.mjs";
5
+ import {
6
+ usePagination_default
7
+ } from "./chunk-F3HENRVM.mjs";
8
+ import {
9
+ Icon_default
10
+ } from "./chunk-24NQEB73.mjs";
11
+ import {
12
+ tv
13
+ } from "./chunk-2ZT6V4QR.mjs";
14
+ import {
15
+ clsx
16
+ } from "./chunk-27Y6K5NK.mjs";
17
+ import {
18
+ mapPropsVariants
19
+ } from "./chunk-E3G5QXSH.mjs";
20
+
21
+ // src/components/pagination/pagination.tsx
22
+ import { forwardRef, useMemo, useState } from "react";
23
+ import { jsx, jsxs } from "react/jsx-runtime";
24
+ var Pagination = forwardRef((originalProps, ref) => {
25
+ const [props, variantProps] = mapPropsVariants(originalProps, paginationStyle.variantKeys);
26
+ const {
27
+ classNames,
28
+ currentPage,
29
+ groupSize,
30
+ totalPage,
31
+ showPageNumber = true,
32
+ showPageLabel,
33
+ showFirstLastButtons,
34
+ handleChangePage,
35
+ variant,
36
+ size
37
+ } = { ...props, ...variantProps };
38
+ const [inputPage, setInputPage] = useState(currentPage);
39
+ const slots = useMemo(() => paginationStyle(variantProps), [variantProps]);
40
+ const { pageList, handleClickMovePage } = usePagination_default({
41
+ currentPage,
42
+ totalPage,
43
+ groupSize,
44
+ handleChangePage
45
+ });
46
+ const handleKeyDown = (e) => {
47
+ if (e.key === "Enter") {
48
+ const parsed = Number(inputPage);
49
+ if (!isNaN(parsed) && parsed >= 1 && parsed <= totalPage) {
50
+ handleChangePage == null ? void 0 : handleChangePage(parsed);
51
+ }
52
+ }
53
+ };
54
+ return /* @__PURE__ */ jsxs("div", { className: slots.base({ class: classNames == null ? void 0 : classNames.base }), ref, children: [
55
+ /* @__PURE__ */ jsxs("div", { className: slots.wrapper({ class: classNames == null ? void 0 : classNames.wrapper }), children: [
56
+ showFirstLastButtons && /* @__PURE__ */ jsx(
57
+ "div",
58
+ {
59
+ "aria-label": "firstPage",
60
+ "data-is-active": currentPage > 1,
61
+ className: slots.icon({ class: classNames == null ? void 0 : classNames.icon }),
62
+ onClick: currentPage > 1 ? handleClickMovePage(1) : void 0,
63
+ children: /* @__PURE__ */ jsx(Icon_default, { name: "left-double-chevron" })
64
+ }
65
+ ),
66
+ /* @__PURE__ */ jsx(
67
+ "div",
68
+ {
69
+ "aria-label": "prevPage",
70
+ "data-is-active": currentPage > 1,
71
+ className: slots.icon({ class: classNames == null ? void 0 : classNames.icon }),
72
+ onClick: currentPage > 1 ? handleClickMovePage(currentPage - 1) : void 0,
73
+ children: /* @__PURE__ */ jsx(Icon_default, { name: "left-chevron" })
74
+ }
75
+ ),
76
+ showPageNumber && pageList.map((page, index) => /* @__PURE__ */ jsx(
77
+ "div",
78
+ {
79
+ className: slots.button({ class: classNames == null ? void 0 : classNames.button }),
80
+ "data-selected": currentPage === page,
81
+ onClick: handleClickMovePage(page),
82
+ children: page
83
+ },
84
+ index
85
+ )),
86
+ /* @__PURE__ */ jsx(
87
+ "div",
88
+ {
89
+ "aria-label": "nextPage",
90
+ "data-is-active": currentPage < totalPage,
91
+ className: slots.icon({ class: classNames == null ? void 0 : classNames.icon }),
92
+ onClick: currentPage < totalPage ? handleClickMovePage(currentPage + 1) : void 0,
93
+ children: /* @__PURE__ */ jsx(Icon_default, { name: "right-chevron" })
94
+ }
95
+ ),
96
+ showFirstLastButtons && /* @__PURE__ */ jsx(
97
+ "div",
98
+ {
99
+ "aria-label": "lastPage",
100
+ "data-is-active": currentPage < totalPage,
101
+ className: slots.icon({ class: classNames == null ? void 0 : classNames.icon }),
102
+ onClick: currentPage < totalPage ? handleClickMovePage(totalPage) : void 0,
103
+ children: /* @__PURE__ */ jsx(Icon_default, { name: "right-double-chevron" })
104
+ }
105
+ )
106
+ ] }),
107
+ showPageLabel && /* @__PURE__ */ jsxs("span", { className: slots.label({ class: classNames == null ? void 0 : classNames.label }), children: [
108
+ /* @__PURE__ */ jsx(
109
+ input_default,
110
+ {
111
+ value: inputPage || 1,
112
+ onChange: (e) => setInputPage(Number(e.target.value)),
113
+ onKeyDown: handleKeyDown,
114
+ width: 50,
115
+ height: 24,
116
+ size: "sm",
117
+ classNames: {
118
+ inputWrapper: clsx(
119
+ "w-[50px] h-[24px] rounded-sm",
120
+ variant === "solid" ? "" : "bg-body-background border border-neutral-light"
121
+ )
122
+ }
123
+ }
124
+ ),
125
+ ` of ${totalPage.toLocaleString("ko-kr")}`
126
+ ] })
127
+ ] });
128
+ });
129
+ Pagination.displayName = "Pagination";
130
+ var pagination_default = Pagination;
131
+ var paginationStyle = tv(
132
+ {
133
+ slots: {
134
+ base: ["flex", "items-center", "select-none", "gap-[20px]"],
135
+ wrapper: ["flex", "items-center", "overflow-hidden", "gap-[5px]"],
136
+ icon: [
137
+ "flex",
138
+ "items-center",
139
+ "justify-center",
140
+ "cursor-pointer",
141
+ "stroke-neutral-main",
142
+ "data-[is-active=false]:stroke-neutral-light",
143
+ "data-[is-active=false]:cursor-default"
144
+ ],
145
+ button: [
146
+ "flex",
147
+ "items-center",
148
+ "justify-center",
149
+ "cursor-pointer",
150
+ "transition",
151
+ "duration-200",
152
+ "px-[6px]",
153
+ "py-[4px]",
154
+ "text-neutral-main",
155
+ "data-[selected=true]:font-bold"
156
+ ],
157
+ label: ["whitespace-nowrap", "text-neutral-main", "flex", "items-center", "gap-[5px]", "text-sm"]
158
+ },
159
+ variants: {
160
+ variant: {
161
+ solid: {
162
+ button: ["rounded-[5px]", "border-transparent"]
163
+ },
164
+ underline: {
165
+ button: ["rounded-0", "border-transparent"]
166
+ }
167
+ },
168
+ size: {
169
+ sm: {
170
+ button: ["text-sm", "data-[selected=true]:border-sm"]
171
+ },
172
+ md: {
173
+ button: ["text-md", "data-[selected=true]:border-md"]
174
+ },
175
+ lg: {
176
+ button: ["text-lg", "data-[selected=true]:border-lg"]
177
+ },
178
+ xl: {
179
+ button: ["text-xl", "data-[selected=true]:border-xl"]
180
+ }
181
+ },
182
+ color: {
183
+ primary: {},
184
+ secondary: {},
185
+ neutral: {}
186
+ },
187
+ isDisabled: {
188
+ true: {
189
+ icon: ["!text-neutral-light", "!cursor-default"],
190
+ button: ["!text-neutral-light", "!cursor-default"]
191
+ }
192
+ }
193
+ },
194
+ compoundVariants: [
195
+ {
196
+ variant: "solid",
197
+ color: "primary",
198
+ class: {
199
+ button: [
200
+ "hover:text-primary-main",
201
+ "data-[selected=true]:text-primary-main",
202
+ "data-[selected=true]:bg-primary-soft"
203
+ ],
204
+ icon: ["hover:stroke-primary-main"]
205
+ }
206
+ },
207
+ {
208
+ variant: "solid",
209
+ color: "secondary",
210
+ class: {
211
+ button: [
212
+ "hover:text-secondary-main",
213
+ "data-[selected=true]:text-secondary-main",
214
+ "data-[selected=true]:bg-secondary-soft"
215
+ ],
216
+ icon: ["hover:stroke-secondary-main"]
217
+ }
218
+ },
219
+ {
220
+ variant: "solid",
221
+ color: "neutral",
222
+ class: {
223
+ button: [
224
+ "hover:text-neutral-dark",
225
+ "data-[selected=true]:text-neutral-dark",
226
+ "data-[selected=true]:bg-neutral-soft"
227
+ ],
228
+ icon: ["hover:stroke-neutral-main"]
229
+ }
230
+ },
231
+ {
232
+ variant: "underline",
233
+ color: "primary",
234
+ class: {
235
+ button: [
236
+ "hover:text-primary-main",
237
+ "data-[selected=true]:text-primary-main",
238
+ "data-[selected=true]:border-b-primary-main"
239
+ ],
240
+ icon: ["hover:stroke-primary-main"]
241
+ }
242
+ },
243
+ {
244
+ variant: "underline",
245
+ color: "secondary",
246
+ class: {
247
+ button: [
248
+ "hover:text-secondary-main",
249
+ "data-[selected=true]:text-secondary-main",
250
+ "data-[selected=true]:border-b-secondary-main"
251
+ ],
252
+ icon: ["hover:stroke-secondary-main"]
253
+ }
254
+ },
255
+ {
256
+ variant: "underline",
257
+ color: "neutral",
258
+ class: {
259
+ button: [
260
+ "hover:text-neutral-dark",
261
+ "data-[selected=true]:text-neutral-dark",
262
+ "data-[selected=true]:border-b-neutral-main"
263
+ ],
264
+ icon: ["hover:stroke-neutral-main"]
265
+ }
266
+ }
267
+ ],
268
+ defaultVariants: {
269
+ variant: "solid",
270
+ color: "primary",
271
+ size: "md",
272
+ isDisabled: false
273
+ }
274
+ },
275
+ {
276
+ twMerge: false
277
+ }
278
+ );
279
+
280
+ export {
281
+ pagination_default,
282
+ paginationStyle
283
+ };
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-ZOTHPHXA.mjs";
5
5
  import {
6
6
  toast_default
7
- } from "./chunk-PXUBPWKU.mjs";
7
+ } from "./chunk-XIHAABHB.mjs";
8
8
 
9
9
  // src/components/toast/use-toast.tsx
10
10
  import { createContext, useContext, useState, useCallback, useEffect, useRef } from "react";
@@ -23,7 +23,7 @@ var ToastProvider = ({
23
23
  }) => {
24
24
  const [toasts, setToasts] = useState([]);
25
25
  const [containerStyle, setContainerStyle] = useState({});
26
- const toastRef = useRef();
26
+ const toastRef = useRef(null);
27
27
  const addToast = useCallback((content, options) => {
28
28
  const id = Date.now() + Math.floor(Math.random() * 1e5);
29
29
  const newToast = {
@@ -5,13 +5,13 @@ import {
5
5
  } from "./chunk-P732YGHO.mjs";
6
6
  import {
7
7
  Icon_default
8
- } from "./chunk-LCI6RPWE.mjs";
8
+ } from "./chunk-24NQEB73.mjs";
9
+ import {
10
+ tv
11
+ } from "./chunk-2ZT6V4QR.mjs";
9
12
  import {
10
13
  mapPropsVariants
11
14
  } from "./chunk-E3G5QXSH.mjs";
12
- import {
13
- tv
14
- } from "./chunk-J725QONZ.mjs";
15
15
 
16
16
  // src/components/dateTimePicker/calendar.tsx
17
17
  import React, {
@@ -0,0 +1,221 @@
1
+ "use client";
2
+ import {
3
+ tv
4
+ } from "./chunk-2ZT6V4QR.mjs";
5
+ import {
6
+ clsx
7
+ } from "./chunk-27Y6K5NK.mjs";
8
+ import {
9
+ mapPropsVariants
10
+ } from "./chunk-E3G5QXSH.mjs";
11
+
12
+ // src/components/checkbox/checkbox.tsx
13
+ import { forwardRef, useMemo } from "react";
14
+ import { jsx, jsxs } from "react/jsx-runtime";
15
+ var CheckBox = forwardRef((originalProps, ref) => {
16
+ var _a, _b;
17
+ const [props, variantProps] = mapPropsVariants(originalProps, checkboxStyle.variantKeys);
18
+ const { children, classNames, labelPosition = "end", ...inputProps } = props;
19
+ const slots = useMemo(() => checkboxStyle({ ...variantProps }), [variantProps]);
20
+ const isSelected = (_b = (_a = inputProps.checked) != null ? _a : inputProps.defaultChecked) != null ? _b : false;
21
+ return /* @__PURE__ */ jsxs(
22
+ "label",
23
+ {
24
+ className: clsx(
25
+ slots.base({ class: classNames == null ? void 0 : classNames.base }),
26
+ labelPosition === "start" && slots.labelReverse({ class: classNames == null ? void 0 : classNames.labelReverse })
27
+ ),
28
+ children: [
29
+ /* @__PURE__ */ jsx("div", { className: "hidden", children: /* @__PURE__ */ jsx("input", { ...inputProps, type: "checkbox", ref }) }),
30
+ /* @__PURE__ */ jsx("span", { className: slots.wrapper({ class: classNames == null ? void 0 : classNames.wrapper }), children: /* @__PURE__ */ jsx(
31
+ CheckBoxIcon,
32
+ {
33
+ size: variantProps.size,
34
+ isSelected,
35
+ className: slots.icon({ class: classNames == null ? void 0 : classNames.icon })
36
+ }
37
+ ) }),
38
+ children && /* @__PURE__ */ jsx("span", { className: slots.label({ class: classNames == null ? void 0 : classNames.label }), children })
39
+ ]
40
+ }
41
+ );
42
+ });
43
+ CheckBox.displayName = "CheckBox";
44
+ var checkbox_default = CheckBox;
45
+ var CheckBoxIcon = ({ size, isSelected, className }) => {
46
+ const strokeWidth = useMemo(() => {
47
+ switch (size) {
48
+ case "sm":
49
+ return 1;
50
+ case "md":
51
+ return 1.25;
52
+ case "lg":
53
+ return 1.5;
54
+ case "xl":
55
+ return 1.75;
56
+ default:
57
+ return 1.25;
58
+ }
59
+ }, [size]);
60
+ return /* @__PURE__ */ jsx("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 13 13", fill: "none", className, children: /* @__PURE__ */ jsx(
61
+ "path",
62
+ {
63
+ d: "M2.16667 6.90123L5.63334 10.1111L10.8333 2.88889",
64
+ stroke: "white",
65
+ strokeWidth,
66
+ strokeLinecap: "round",
67
+ strokeLinejoin: "round",
68
+ style: isSelected ? { transition: "stroke-dashoffset 250ms linear 0.2s" } : {}
69
+ }
70
+ ) });
71
+ };
72
+ var checkboxStyle = tv({
73
+ slots: {
74
+ base: ["group", "relative", "inline-flex", "items-center", "cursor-pointer"],
75
+ wrapper: [
76
+ "relative",
77
+ "inline-flex",
78
+ "items-center",
79
+ "justify-center",
80
+ "before:content-['']",
81
+ "before:bg-body-background",
82
+ "before:absolute",
83
+ "before:inset-0",
84
+ "before:border",
85
+ "before:border-neutral-light",
86
+ "before:box-border",
87
+ "before:z-10",
88
+ "after:content-['']",
89
+ "after:absolute",
90
+ "after:inset-0",
91
+ "after:scale-50",
92
+ "after:opacity-0",
93
+ "group-has-[:checked]:after:scale-100",
94
+ "group-has-[:checked]:after:opacity-100",
95
+ "before:transition duration-200"
96
+ ],
97
+ icon: ["z-10", "opacity-0", "group-has-[:checked]:opacity-100", "text-neutral-light"],
98
+ labelReverse: ["flex-row-reverse"],
99
+ label: ["relative", "text-body-foreground", "select-none"]
100
+ },
101
+ variants: {
102
+ color: {
103
+ primary: {
104
+ wrapper: [
105
+ "group-has-[:checked]:before:border-primary-main",
106
+ "group-has-[:checked]:before:bg-primary-main",
107
+ "group-hover:before:border-primary-light",
108
+ "group-hover:before:bg-primary-soft"
109
+ ]
110
+ },
111
+ secondary: {
112
+ wrapper: [
113
+ "group-has-[:checked]:before:border-secondary-main",
114
+ "group-has-[:checked]:before:bg-secondary-main",
115
+ "group-hover:before:border-secondary-light",
116
+ "group-hover:before:bg-secondary-soft"
117
+ ]
118
+ },
119
+ neutral: {
120
+ wrapper: [
121
+ "group-has-[:checked]:before:border-neutral-main",
122
+ "group-has-[:checked]:before:bg-neutral-main",
123
+ "group-hover:before:border-neutral-light",
124
+ "group-hover:before:bg-neutral-soft"
125
+ ]
126
+ }
127
+ },
128
+ size: {
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
+ ],
139
+ label: ["text-sm"],
140
+ icon: ["w-[10px]", "h-[10px]"]
141
+ },
142
+ 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
+ ],
152
+ label: ["text-md"],
153
+ icon: ["w-[13px]", "h-[13px]"]
154
+ },
155
+ 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
+ ],
165
+ label: ["text-lg"],
166
+ icon: ["w-[16px]", "h-[16px]"]
167
+ },
168
+ 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
+ ],
178
+ label: ["text-xl"],
179
+ icon: ["w-[19px]", "h-[19px]"]
180
+ }
181
+ },
182
+ isInvalid: {
183
+ true: {
184
+ wrapper: [
185
+ "before:border-danger-main",
186
+ "group-has-[:checked]:before:bg-danger-main",
187
+ "group-has-[:checked]:before:border-danger-main",
188
+ "group-hover:before:border-danger-light",
189
+ "group-hover:before:bg-danger-soft"
190
+ ],
191
+ label: ["text-danger-main"]
192
+ }
193
+ },
194
+ isDisabled: {
195
+ true: {
196
+ base: ["opacity-disabled", "cursor-not-allowed", "pointer-events-auto", "text-neutral-light"],
197
+ wrapper: [
198
+ "cursor-not-allowed",
199
+ "after:bg-neutral-soft",
200
+ "before:border-neutral-light",
201
+ "before:bg-neutral-soft",
202
+ "group-has-[:checked]:before:bg-neutral-soft",
203
+ "group-has-[:checked]:before:border-neutral-light",
204
+ "group-hover:before:border-neutral-light",
205
+ "group-hover:before:bg-neutral-soft"
206
+ ],
207
+ label: ["text-neutral-light"],
208
+ icon: ["text-neutral-light", "opacity-0"]
209
+ }
210
+ }
211
+ },
212
+ defaultVariants: {
213
+ color: "primary",
214
+ size: "md",
215
+ isDisabled: false
216
+ }
217
+ });
218
+
219
+ export {
220
+ checkbox_default
221
+ };
@@ -0,0 +1,46 @@
1
+ "use client";
2
+
3
+ // src/components/ripple/ripple.tsx
4
+ import { AnimatePresence, m, LazyMotion, domAnimation, clamp } from "framer-motion";
5
+ import { Fragment, jsx } from "react/jsx-runtime";
6
+ var Ripple = (props) => {
7
+ const { ripples = [], motionProps, color = "currentColor", style, onClear } = props;
8
+ return /* @__PURE__ */ jsx(Fragment, { children: ripples.map((ripple) => {
9
+ const duration = clamp(ripple.size > 100 ? 0.75 : 0.5, 0.01 * ripple.size, 0.2);
10
+ return /* @__PURE__ */ jsx(LazyMotion, { features: domAnimation, children: /* @__PURE__ */ jsx(AnimatePresence, { mode: "popLayout", children: /* @__PURE__ */ jsx(
11
+ m.span,
12
+ {
13
+ animate: { transform: "scale(2)", opacity: 0 },
14
+ className: "deepnoidui-ripple",
15
+ exit: { opacity: 0 },
16
+ initial: { transform: "scale(0)", opacity: 0.35 },
17
+ style: {
18
+ position: "absolute",
19
+ backgroundColor: color,
20
+ borderRadius: "100%",
21
+ transformOrigin: "center",
22
+ pointerEvents: "none",
23
+ overflow: "hidden",
24
+ inset: 0,
25
+ zIndex: 0,
26
+ top: ripple.y,
27
+ left: ripple.x,
28
+ width: `${ripple.size}px`,
29
+ height: `${ripple.size}px`,
30
+ ...style
31
+ },
32
+ transition: { duration },
33
+ onAnimationComplete: () => {
34
+ onClear(ripple.key);
35
+ },
36
+ ...motionProps
37
+ }
38
+ ) }) }, ripple.key);
39
+ }) });
40
+ };
41
+ Ripple.displayName = "HeroUI.Ripple";
42
+ var ripple_default = Ripple;
43
+
44
+ export {
45
+ ripple_default
46
+ };
@@ -0,0 +1,79 @@
1
+ "use client";
2
+ import {
3
+ checkbox_default
4
+ } from "./chunk-J5WJD6XZ.mjs";
5
+ import {
6
+ clsx
7
+ } from "./chunk-27Y6K5NK.mjs";
8
+
9
+ // src/components/table/table-body.tsx
10
+ import { useCallback } from "react";
11
+ import { jsx, jsxs } from "react/jsx-runtime";
12
+ import { createElement } from "react";
13
+ var TableBody = ({
14
+ slots,
15
+ columns,
16
+ rows,
17
+ size,
18
+ selectableRows,
19
+ checkedRows,
20
+ onCheckRow,
21
+ emptyContent,
22
+ classNames
23
+ }) => {
24
+ const generateColumnStyles = useCallback((column) => {
25
+ const alignClass = column.align ? `text-${column.align}` : "text-left";
26
+ return clsx(alignClass, column.className);
27
+ }, []);
28
+ const getCellProps = useCallback(
29
+ (column, row) => {
30
+ if (!column || !row) {
31
+ return {
32
+ className: slots.td({ class: classNames == null ? void 0 : classNames.td })
33
+ };
34
+ }
35
+ const value = row[column.field];
36
+ const formattedValue = column.valueFormatter ? column.valueFormatter({ id: column.field, field: column.field, value }) : value;
37
+ const children = column.renderCell ? column.renderCell({
38
+ id: column.field,
39
+ field: column.field,
40
+ value,
41
+ formattedValue,
42
+ row
43
+ }) : formattedValue;
44
+ const columnStyles = generateColumnStyles(column);
45
+ return {
46
+ children,
47
+ className: clsx(slots.td({ class: classNames == null ? void 0 : classNames.td }), columnStyles),
48
+ style: {
49
+ width: column.width ? `${column.width}px` : void 0,
50
+ minWidth: column.minWidth ? `${column.minWidth}px` : void 0,
51
+ maxWidth: column.maxWidth ? `${column.maxWidth}px` : void 0,
52
+ height: column.height ? `${column.height}px` : void 0
53
+ }
54
+ };
55
+ },
56
+ [classNames == null ? void 0 : classNames.td, generateColumnStyles, slots]
57
+ );
58
+ const hasRows = rows.length > 0;
59
+ const colSpan = (columns.length || 1) + (selectableRows ? 1 : 0);
60
+ return /* @__PURE__ */ jsx("tbody", { className: slots.tbody({ class: classNames == null ? void 0 : classNames.tbody }), children: hasRows ? rows.map((row, rowIndex) => {
61
+ const isRowChecked = checkedRows.has(rowIndex);
62
+ return /* @__PURE__ */ jsxs("tr", { className: slots.tr({ class: classNames == null ? void 0 : classNames.tr }), "aria-checked": isRowChecked, children: [
63
+ columns.map((column) => /* @__PURE__ */ createElement("td", { ...getCellProps(column, row), key: column.field })),
64
+ selectableRows && /* @__PURE__ */ jsx("td", { className: slots.td({ class: classNames == null ? void 0 : classNames.td }), children: /* @__PURE__ */ jsx("div", { className: "flex items-center justify-center", children: /* @__PURE__ */ jsx(
65
+ checkbox_default,
66
+ {
67
+ size,
68
+ checked: isRowChecked,
69
+ onChange: (e) => onCheckRow(rowIndex, e.target.checked)
70
+ }
71
+ ) }) })
72
+ ] }, rowIndex);
73
+ }) : /* @__PURE__ */ jsx("tr", { className: slots.tr({ class: classNames == null ? void 0 : classNames.tr }), children: /* @__PURE__ */ jsx("td", { colSpan, className: slots.td({ class: classNames == null ? void 0 : classNames.td }), children: emptyContent || /* @__PURE__ */ jsx("div", { className: "text-neutral-dark py-4 text-center", children: "No data available" }) }) }) });
74
+ };
75
+ var table_body_default = TableBody;
76
+
77
+ export {
78
+ table_body_default
79
+ };
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import {
3
3
  tv
4
- } from "./chunk-J725QONZ.mjs";
4
+ } from "./chunk-2ZT6V4QR.mjs";
5
5
 
6
6
  // src/components/button/button-group.tsx
7
7
  import React, { forwardRef } from "react";