@deepnoid/ui 0.0.112 → 0.1.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 (426) 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-RZZWHI6O.mjs → chunk-2HSK6XGZ.mjs} +8 -3
  10. package/dist/{chunk-TSMVRGDO.mjs → chunk-3AMZ55Y6.mjs} +14 -8
  11. package/dist/{chunk-VWD26TIQ.mjs → chunk-5IQKKLZY.mjs} +4 -4
  12. package/dist/{chunk-EYY4CRRR.mjs → chunk-5S4XGPBB.mjs} +15 -17
  13. package/dist/chunk-6PNKRBUT.mjs +34 -0
  14. package/dist/{chunk-IZ6II3QA.mjs → chunk-AC6TWLRT.mjs} +1 -13
  15. package/dist/{chunk-OJ2OEI5B.mjs → chunk-BKE6QF6W.mjs} +7 -0
  16. package/dist/{chunk-BCN5F2MN.mjs → chunk-CATOSBI7.mjs} +2 -2
  17. package/dist/{chunk-PXUBPWKU.mjs → chunk-FYJZ7Q5L.mjs} +4 -4
  18. package/dist/chunk-IE2BRM7Z.mjs +600 -0
  19. package/dist/chunk-KCYJYS66.mjs +198 -0
  20. package/dist/chunk-LXHUO6VM.mjs +46 -0
  21. package/dist/chunk-MW6Y3FSE.mjs +211 -0
  22. package/dist/{chunk-IOCRFIQF.mjs → chunk-P2TMIZRH.mjs} +131 -30
  23. package/dist/{chunk-KRI5IALM.mjs → chunk-P5WT7WJO.mjs} +6 -3
  24. package/dist/{chunk-PO3ADNA5.mjs → chunk-PFYYYUJW.mjs} +1 -1
  25. package/dist/chunk-PKVQXVCS.mjs +170 -0
  26. package/dist/{chunk-NGQ3MK2J.mjs → chunk-Q5WACGVP.mjs} +1 -1
  27. package/dist/{chunk-FDKT4IBP.mjs → chunk-QJHZJRSQ.mjs} +4 -4
  28. package/dist/{chunk-7HHFRKJU.mjs → chunk-QNA2GDTN.mjs} +2 -2
  29. package/dist/{chunk-YRMFIXXC.mjs → chunk-RQ76IOYC.mjs} +29 -6
  30. package/dist/chunk-RRL6KBU4.mjs +145 -0
  31. package/dist/chunk-SE5TU755.mjs +1 -0
  32. package/dist/{chunk-ZNEEYSIK.mjs → chunk-SK2A72R2.mjs} +10 -4
  33. package/dist/{chunk-PRLGHYFO.mjs → chunk-UAMIPCUD.mjs} +7 -7
  34. package/dist/{chunk-JN7EGKJL.mjs → chunk-VBFXKJTI.mjs} +11 -5
  35. package/dist/chunk-VWMXZUR2.mjs +82 -0
  36. package/dist/chunk-WQBOPCH6.mjs +29 -0
  37. package/dist/chunk-WSIADHVC.mjs +126 -0
  38. package/dist/chunk-X2MQCISM.mjs +413 -0
  39. package/dist/chunk-XAA5KY6A.mjs +63 -0
  40. package/dist/chunk-XTGRSVYO.mjs +221 -0
  41. package/dist/{chunk-QGZEHOKA.mjs → chunk-YGOEKSNZ.mjs} +5 -2
  42. package/dist/chunk-Z74QNVPG.mjs +127 -0
  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} +463 -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 +845 -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 +354 -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 +360 -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 +4076 -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 +4082 -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 +287 -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 +609 -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 +614 -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 +473 -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 +473 -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 +4209 -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 +4215 -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 +424 -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 +683 -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 +683 -151
  107. package/dist/components/dateTimePicker/index.mjs +11 -10
  108. package/dist/components/dateTimePicker/timePicker.js +4227 -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 +0 -1
  127. package/dist/components/input/index.d.ts +0 -1
  128. package/dist/components/input/index.js +430 -43
  129. package/dist/components/input/index.mjs +5 -5
  130. package/dist/components/input/input.d.mts +23 -180
  131. package/dist/components/input/input.d.ts +23 -180
  132. package/dist/components/input/input.js +430 -43
  133. package/dist/components/input/input.mjs +5 -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 +4170 -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 +299 -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 +4168 -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 +639 -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 +639 -454
  153. package/dist/components/modal/modal.mjs +10 -7
  154. package/dist/components/pagination/index.js +455 -45
  155. package/dist/components/pagination/index.mjs +6 -6
  156. package/dist/components/pagination/pagination.d.mts +21 -27
  157. package/dist/components/pagination/pagination.d.ts +21 -27
  158. package/dist/components/pagination/pagination.js +455 -45
  159. package/dist/components/pagination/pagination.mjs +6 -6
  160. package/dist/components/pagination/usePagination.mjs +1 -1
  161. package/dist/components/radio/index.d.mts +0 -1
  162. package/dist/components/radio/index.d.ts +0 -1
  163. package/dist/components/radio/index.js +433 -111
  164. package/dist/components/radio/index.mjs +4 -3
  165. package/dist/components/radio/radio.d.mts +113 -183
  166. package/dist/components/radio/radio.d.ts +113 -183
  167. package/dist/components/radio/radio.js +433 -111
  168. package/dist/components/radio/radio.mjs +4 -3
  169. package/dist/components/ripple/index.d.mts +4 -0
  170. package/dist/components/ripple/index.d.ts +4 -0
  171. package/dist/components/ripple/index.js +98 -0
  172. package/dist/components/ripple/index.mjs +13 -0
  173. package/dist/components/ripple/ripple.d.mts +21 -0
  174. package/dist/components/ripple/ripple.d.ts +21 -0
  175. package/dist/components/ripple/ripple.js +65 -0
  176. package/dist/components/ripple/ripple.mjs +8 -0
  177. package/dist/components/ripple/useRipple.d.mts +17 -0
  178. package/dist/components/ripple/useRipple.d.ts +17 -0
  179. package/dist/components/ripple/useRipple.js +57 -0
  180. package/dist/components/ripple/useRipple.mjs +10 -0
  181. package/dist/components/select/index.d.mts +0 -1
  182. package/dist/components/select/index.d.ts +0 -1
  183. package/dist/components/select/index.js +446 -44
  184. package/dist/components/select/index.mjs +6 -6
  185. package/dist/components/select/option.d.mts +2 -3
  186. package/dist/components/select/option.d.ts +2 -3
  187. package/dist/components/select/option.js +440 -44
  188. package/dist/components/select/option.mjs +5 -5
  189. package/dist/components/select/select.d.mts +19 -180
  190. package/dist/components/select/select.d.ts +19 -180
  191. package/dist/components/select/select.js +446 -44
  192. package/dist/components/select/select.mjs +6 -6
  193. package/dist/components/select/useSelect.d.mts +3 -4
  194. package/dist/components/select/useSelect.d.ts +3 -4
  195. package/dist/components/select/useSelect.mjs +1 -1
  196. package/dist/components/switch/index.d.mts +1 -2
  197. package/dist/components/switch/index.d.ts +1 -2
  198. package/dist/components/switch/index.js +54 -77
  199. package/dist/components/switch/index.mjs +2 -2
  200. package/dist/components/switch/switch.d.mts +56 -190
  201. package/dist/components/switch/switch.d.ts +56 -190
  202. package/dist/components/switch/switch.js +55 -83
  203. package/dist/components/switch/switch.mjs +4 -6
  204. package/dist/components/table/index.d.mts +0 -1
  205. package/dist/components/table/index.d.ts +0 -1
  206. package/dist/components/table/index.js +563 -161
  207. package/dist/components/table/index.mjs +9 -9
  208. package/dist/components/table/table-body.d.mts +4 -5
  209. package/dist/components/table/table-body.d.ts +4 -5
  210. package/dist/components/table/table-body.js +560 -161
  211. package/dist/components/table/table-body.mjs +7 -7
  212. package/dist/components/table/table-head.d.mts +2 -3
  213. package/dist/components/table/table-head.d.ts +2 -3
  214. package/dist/components/table/table-head.js +433 -127
  215. package/dist/components/table/table-head.mjs +4 -4
  216. package/dist/components/table/table.d.mts +14 -354
  217. package/dist/components/table/table.d.ts +14 -354
  218. package/dist/components/table/table.js +563 -161
  219. package/dist/components/table/table.mjs +9 -9
  220. package/dist/components/tabs/index.d.mts +0 -1
  221. package/dist/components/tabs/index.d.ts +0 -1
  222. package/dist/components/tabs/index.js +300 -9
  223. package/dist/components/tabs/index.mjs +3 -3
  224. package/dist/components/tabs/tabs.d.mts +12 -99
  225. package/dist/components/tabs/tabs.d.ts +12 -99
  226. package/dist/components/tabs/tabs.js +300 -9
  227. package/dist/components/tabs/tabs.mjs +3 -3
  228. package/dist/components/textarea/index.d.mts +0 -1
  229. package/dist/components/textarea/index.d.ts +0 -1
  230. package/dist/components/textarea/index.js +7 -0
  231. package/dist/components/textarea/index.mjs +2 -2
  232. package/dist/components/textarea/textarea.d.mts +19 -271
  233. package/dist/components/textarea/textarea.d.ts +19 -271
  234. package/dist/components/textarea/textarea.js +7 -0
  235. package/dist/components/textarea/textarea.mjs +2 -2
  236. package/dist/components/toast/index.d.mts +1 -1
  237. package/dist/components/toast/index.d.ts +1 -1
  238. package/dist/components/toast/index.js +435 -44
  239. package/dist/components/toast/index.mjs +6 -6
  240. package/dist/components/toast/toast-utils.mjs +1 -1
  241. package/dist/components/toast/toast.d.mts +4 -87
  242. package/dist/components/toast/toast.d.ts +4 -87
  243. package/dist/components/toast/toast.js +434 -43
  244. package/dist/components/toast/toast.mjs +5 -5
  245. package/dist/components/toast/use-toast.d.mts +1 -0
  246. package/dist/components/toast/use-toast.d.ts +1 -0
  247. package/dist/components/toast/use-toast.js +435 -44
  248. package/dist/components/toast/use-toast.mjs +6 -6
  249. package/dist/components/tooltip/index.d.mts +1 -2
  250. package/dist/components/tooltip/index.d.ts +1 -2
  251. package/dist/components/tooltip/index.js +421 -54
  252. package/dist/components/tooltip/index.mjs +5 -5
  253. package/dist/components/tooltip/tooltip-utils.d.mts +1 -1
  254. package/dist/components/tooltip/tooltip-utils.d.ts +1 -1
  255. package/dist/components/tooltip/tooltip-utils.js +67 -0
  256. package/dist/components/tooltip/tooltip-utils.mjs +6 -2
  257. package/dist/components/tooltip/tooltip.d.mts +37 -85
  258. package/dist/components/tooltip/tooltip.d.ts +37 -85
  259. package/dist/components/tooltip/tooltip.js +421 -54
  260. package/dist/components/tooltip/tooltip.mjs +5 -5
  261. package/dist/components/tooltip/useTooltip.d.mts +1 -1
  262. package/dist/components/tooltip/useTooltip.d.ts +1 -1
  263. package/dist/components/tooltip/useTooltip.mjs +3 -3
  264. package/dist/fonts/NanumSquare_acB.js +4 -0
  265. package/dist/fonts/NanumSquare_acB.mjs +8 -0
  266. package/dist/fonts/NanumSquare_acB.ttf +0 -0
  267. package/dist/fonts/NanumSquare_acEB.js +4 -0
  268. package/dist/fonts/NanumSquare_acEB.mjs +8 -0
  269. package/dist/fonts/NanumSquare_acEB.ttf +0 -0
  270. package/dist/fonts/NanumSquare_acL.js +4 -0
  271. package/dist/fonts/NanumSquare_acL.mjs +8 -0
  272. package/dist/fonts/NanumSquare_acL.ttf +0 -0
  273. package/dist/fonts/NanumSquare_acR.js +4 -0
  274. package/dist/fonts/NanumSquare_acR.mjs +8 -0
  275. package/dist/fonts/NanumSquare_acR.ttf +0 -0
  276. package/dist/fonts/font.css +36 -0
  277. package/dist/index.d.mts +6 -8
  278. package/dist/index.d.ts +6 -8
  279. package/dist/index.js +2287 -2577
  280. package/dist/index.mjs +62 -787
  281. package/dist/tooltip-utils-DO3LQaVM.d.mts +52 -0
  282. package/dist/tooltip-utils-DO3LQaVM.d.ts +52 -0
  283. package/dist/utils/clsx.mjs +1 -1
  284. package/dist/utils/props.mjs +1 -1
  285. package/dist/utils/tailwind-variants.d.mts +1 -21
  286. package/dist/utils/tailwind-variants.d.ts +1 -21
  287. package/dist/utils/tailwind-variants.js +297 -9
  288. package/dist/utils/tailwind-variants.mjs +2 -2
  289. package/dist/utils/types.d.mts +5 -4
  290. package/dist/utils/types.d.ts +5 -4
  291. package/package.json +34 -37
  292. package/postcss.config.js +6 -0
  293. package/tailwind.config.ts +7 -0
  294. package/tsup.config.ts +8 -0
  295. package/dist/chunk-2ALY3PH5.mjs +0 -66
  296. package/dist/chunk-A3RWT3JJ.mjs +0 -197
  297. package/dist/chunk-ANYPMQH4.mjs +0 -200
  298. package/dist/chunk-FNPWLOGV.mjs +0 -12875
  299. package/dist/chunk-H7BLXC5M.mjs +0 -5965
  300. package/dist/chunk-J725QONZ.mjs +0 -24
  301. package/dist/chunk-L6BQA6GI.mjs +0 -160
  302. package/dist/chunk-N2JULHST.mjs +0 -141
  303. package/dist/chunk-ODMRJXLJ.mjs +0 -61
  304. package/dist/chunk-QWFOYO3D.mjs +0 -173
  305. package/dist/chunk-S3O52LLG.mjs +0 -151
  306. package/dist/chunk-S4DTK5GI.mjs +0 -4036
  307. package/dist/chunk-SWR7E3NU.mjs +0 -78
  308. package/dist/chunk-U74WK5VI.mjs +0 -123
  309. package/dist/chunk-UR64ZUAU.mjs +0 -671
  310. package/dist/chunk-V77MALL4.mjs +0 -112
  311. package/dist/components/accordion/accordion.d.mts +0 -154
  312. package/dist/components/accordion/accordion.d.ts +0 -154
  313. package/dist/components/accordion/accordion.js +0 -142
  314. package/dist/components/accordion/accordion.mjs +0 -10
  315. package/dist/components/accordion/accordion.test.js +0 -13015
  316. package/dist/components/accordion/accordion.test.mjs +0 -25
  317. package/dist/components/accordion/accordionItem.d.mts +0 -282
  318. package/dist/components/accordion/accordionItem.d.ts +0 -282
  319. package/dist/components/accordion/accordionItem.mjs +0 -13
  320. package/dist/components/accordion/index.d.mts +0 -6
  321. package/dist/components/accordion/index.d.ts +0 -6
  322. package/dist/components/accordion/index.mjs +0 -18
  323. package/dist/components/button/button-group.test.js +0 -21247
  324. package/dist/components/button/button-group.test.mjs +0 -57
  325. package/dist/components/button/button.test.js +0 -23148
  326. package/dist/components/button/button.test.mjs +0 -52
  327. package/dist/components/card/card.d.mts +0 -124
  328. package/dist/components/card/card.d.ts +0 -124
  329. package/dist/components/card/card.js +0 -103
  330. package/dist/components/card/card.mjs +0 -9
  331. package/dist/components/card/card.test.js +0 -12986
  332. package/dist/components/card/card.test.mjs +0 -24
  333. package/dist/components/card/index.d.mts +0 -5
  334. package/dist/components/card/index.d.ts +0 -5
  335. package/dist/components/card/index.js +0 -109
  336. package/dist/components/card/index.mjs +0 -10
  337. package/dist/components/checkbox/checkbox.test.js +0 -17237
  338. package/dist/components/checkbox/checkbox.test.mjs +0 -100
  339. package/dist/components/input/input.test.d.mts +0 -2
  340. package/dist/components/input/input.test.d.ts +0 -2
  341. package/dist/components/input/input.test.js +0 -22782
  342. package/dist/components/input/input.test.mjs +0 -99
  343. package/dist/components/list/list.test.d.mts +0 -2
  344. package/dist/components/list/list.test.d.ts +0 -2
  345. package/dist/components/list/list.test.js +0 -12995
  346. package/dist/components/list/list.test.mjs +0 -25
  347. package/dist/components/modal/modal.test.d.mts +0 -2
  348. package/dist/components/modal/modal.test.d.ts +0 -2
  349. package/dist/components/modal/modal.test.js +0 -17376
  350. package/dist/components/modal/modal.test.mjs +0 -39
  351. package/dist/components/pagination/pagination.test.d.mts +0 -2
  352. package/dist/components/pagination/pagination.test.d.ts +0 -2
  353. package/dist/components/pagination/pagination.test.js +0 -17051
  354. package/dist/components/pagination/pagination.test.mjs +0 -38
  355. package/dist/components/progress/index.d.mts +0 -5
  356. package/dist/components/progress/index.d.ts +0 -5
  357. package/dist/components/progress/index.js +0 -184
  358. package/dist/components/progress/index.mjs +0 -10
  359. package/dist/components/progress/progress.d.mts +0 -281
  360. package/dist/components/progress/progress.d.ts +0 -281
  361. package/dist/components/progress/progress.js +0 -178
  362. package/dist/components/progress/progress.mjs +0 -9
  363. package/dist/components/progress/progress.test.d.mts +0 -2
  364. package/dist/components/progress/progress.test.d.ts +0 -2
  365. package/dist/components/progress/progress.test.js +0 -13087
  366. package/dist/components/progress/progress.test.mjs +0 -50
  367. package/dist/components/radio/radio.test.d.mts +0 -2
  368. package/dist/components/radio/radio.test.d.ts +0 -2
  369. package/dist/components/radio/radio.test.js +0 -13147
  370. package/dist/components/radio/radio.test.mjs +0 -63
  371. package/dist/components/select/select.test.d.mts +0 -2
  372. package/dist/components/select/select.test.d.ts +0 -2
  373. package/dist/components/select/select.test.js +0 -20928
  374. package/dist/components/select/select.test.mjs +0 -71
  375. package/dist/components/slider/index.d.mts +0 -5
  376. package/dist/components/slider/index.d.ts +0 -5
  377. package/dist/components/slider/index.js +0 -239
  378. package/dist/components/slider/index.mjs +0 -10
  379. package/dist/components/slider/slider.d.mts +0 -359
  380. package/dist/components/slider/slider.d.ts +0 -359
  381. package/dist/components/slider/slider.js +0 -238
  382. package/dist/components/slider/slider.mjs +0 -11
  383. package/dist/components/slider/slider.test.d.mts +0 -2
  384. package/dist/components/slider/slider.test.d.ts +0 -2
  385. package/dist/components/slider/slider.test.js +0 -13122
  386. package/dist/components/slider/slider.test.mjs +0 -30
  387. package/dist/components/switch/switch.test.d.mts +0 -2
  388. package/dist/components/switch/switch.test.d.ts +0 -2
  389. package/dist/components/switch/switch.test.js +0 -13098
  390. package/dist/components/switch/switch.test.mjs +0 -52
  391. package/dist/components/table/table.test.d.mts +0 -2
  392. package/dist/components/table/table.test.d.ts +0 -2
  393. package/dist/components/table/table.test.js +0 -17256
  394. package/dist/components/table/table.test.mjs +0 -42
  395. package/dist/components/tabs/tabs.test.d.mts +0 -2
  396. package/dist/components/tabs/tabs.test.d.ts +0 -2
  397. package/dist/components/tabs/tabs.test.js +0 -17223
  398. package/dist/components/tabs/tabs.test.mjs +0 -70
  399. package/dist/components/textarea/textarea.test.d.mts +0 -2
  400. package/dist/components/textarea/textarea.test.d.ts +0 -2
  401. package/dist/components/textarea/textarea.test.js +0 -19117
  402. package/dist/components/textarea/textarea.test.mjs +0 -66
  403. package/dist/components/toast/toast.test.d.mts +0 -2
  404. package/dist/components/toast/toast.test.d.ts +0 -2
  405. package/dist/components/toast/toast.test.js +0 -16620
  406. package/dist/components/toast/toast.test.mjs +0 -28
  407. package/dist/components/tooltip/tooltip.test.d.mts +0 -2
  408. package/dist/components/tooltip/tooltip.test.d.ts +0 -2
  409. package/dist/components/tooltip/tooltip.test.js +0 -17381
  410. package/dist/components/tooltip/tooltip.test.mjs +0 -39
  411. package/dist/tooltip-utils-DR0UEfBN.d.mts +0 -31
  412. package/dist/tooltip-utils-DR0UEfBN.d.ts +0 -31
  413. /package/dist/{chunk-7VOQKIIK.mjs → chunk-6WSACUIB.mjs} +0 -0
  414. /package/dist/{chunk-HAOK24MK.mjs → chunk-7DLOYKVC.mjs} +0 -0
  415. /package/dist/{chunk-MV2WCFK7.mjs → chunk-KYIODWXL.mjs} +0 -0
  416. /package/dist/{chunk-NMSDSEBD.mjs → chunk-MGEWSREV.mjs} +0 -0
  417. /package/dist/{components/accordion/accordion.test.d.mts → fonts/NanumSquare_acB.d.mts} +0 -0
  418. /package/dist/{components/accordion/accordion.test.d.ts → fonts/NanumSquare_acB.d.ts} +0 -0
  419. /package/dist/{components/button/button-group.test.d.mts → fonts/NanumSquare_acEB.d.mts} +0 -0
  420. /package/dist/{components/button/button-group.test.d.ts → fonts/NanumSquare_acEB.d.ts} +0 -0
  421. /package/dist/{components/button/button.test.d.mts → fonts/NanumSquare_acL.d.mts} +0 -0
  422. /package/dist/{components/button/button.test.d.ts → fonts/NanumSquare_acL.d.ts} +0 -0
  423. /package/dist/{components/card/card.test.d.mts → fonts/NanumSquare_acR.d.mts} +0 -0
  424. /package/dist/{components/card/card.test.d.ts → fonts/NanumSquare_acR.d.ts} +0 -0
  425. /package/dist/{components/checkbox/checkbox.test.d.mts → fonts/font.d.mts} +0 -0
  426. /package/dist/{components/checkbox/checkbox.test.d.ts → fonts/font.d.ts} +0 -0
@@ -1,9 +1,14 @@
1
1
  "use client";
2
2
  "use strict";
3
+ var __create = Object.create;
3
4
  var __defProp = Object.defineProperty;
4
5
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
6
  var __getOwnPropNames = Object.getOwnPropertyNames;
7
+ var __getProtoOf = Object.getPrototypeOf;
6
8
  var __hasOwnProp = Object.prototype.hasOwnProperty;
9
+ var __commonJS = (cb, mod) => function __require() {
10
+ return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
11
+ };
7
12
  var __export = (target, all) => {
8
13
  for (var name in all)
9
14
  __defProp(target, name, { get: all[name], enumerable: true });
@@ -16,8 +21,84 @@ var __copyProps = (to, from, except, desc) => {
16
21
  }
17
22
  return to;
18
23
  };
24
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
25
+ // If the importer is in node compatibility mode or this is not an ESM
26
+ // file that has been converted to a CommonJS file using a Babel-
27
+ // compatible transform (i.e. "__esModule" has not been set), then set
28
+ // "default" to the CommonJS "module.exports" for node compatibility.
29
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
30
+ mod
31
+ ));
19
32
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
20
33
 
34
+ // ../../node_modules/tailwindcss/lib/util/createPlugin.js
35
+ var require_createPlugin = __commonJS({
36
+ "../../node_modules/tailwindcss/lib/util/createPlugin.js"(exports2) {
37
+ "use strict";
38
+ Object.defineProperty(exports2, "__esModule", {
39
+ value: true
40
+ });
41
+ Object.defineProperty(exports2, "default", {
42
+ enumerable: true,
43
+ get: function() {
44
+ return _default;
45
+ }
46
+ });
47
+ function createPlugin(plugin2, config) {
48
+ return {
49
+ handler: plugin2,
50
+ config
51
+ };
52
+ }
53
+ createPlugin.withOptions = function(pluginFunction, configFunction = () => ({})) {
54
+ const optionsFunction = function(options) {
55
+ return {
56
+ __options: options,
57
+ handler: pluginFunction(options),
58
+ config: configFunction(options)
59
+ };
60
+ };
61
+ optionsFunction.__isOptionsFunction = true;
62
+ optionsFunction.__pluginFunction = pluginFunction;
63
+ optionsFunction.__configFunction = configFunction;
64
+ return optionsFunction;
65
+ };
66
+ var _default = createPlugin;
67
+ }
68
+ });
69
+
70
+ // ../../node_modules/tailwindcss/lib/public/create-plugin.js
71
+ var require_create_plugin = __commonJS({
72
+ "../../node_modules/tailwindcss/lib/public/create-plugin.js"(exports2) {
73
+ "use strict";
74
+ Object.defineProperty(exports2, "__esModule", {
75
+ value: true
76
+ });
77
+ Object.defineProperty(exports2, "default", {
78
+ enumerable: true,
79
+ get: function() {
80
+ return _default;
81
+ }
82
+ });
83
+ var _createPlugin = /* @__PURE__ */ _interop_require_default(require_createPlugin());
84
+ function _interop_require_default(obj) {
85
+ return obj && obj.__esModule ? obj : {
86
+ default: obj
87
+ };
88
+ }
89
+ var _default = _createPlugin.default;
90
+ }
91
+ });
92
+
93
+ // ../../node_modules/tailwindcss/plugin.js
94
+ var require_plugin = __commonJS({
95
+ "../../node_modules/tailwindcss/plugin.js"(exports2, module2) {
96
+ "use strict";
97
+ var createPlugin = require_create_plugin();
98
+ module2.exports = (createPlugin.__esModule ? createPlugin : { default: createPlugin }).default;
99
+ }
100
+ });
101
+
21
102
  // src/components/checkbox/checkbox.tsx
22
103
  var checkbox_exports = {};
23
104
  __export(checkbox_exports, {
@@ -28,19 +109,226 @@ var import_react = require("react");
28
109
 
29
110
  // src/utils/tailwind-variants.ts
30
111
  var import_tailwind_variants = require("tailwind-variants");
31
- var COMMON_SIZE = ["sm", "md", "lg"];
32
- var COMMON_RADIUS = ["xlg", "xxlg", "none", "full"];
33
- var COMMON_FONTSIZE = ["h1", "h2", "h3", "h4", "h5"];
34
- var COMMON_SHADOW = ["inner", "drop"];
112
+
113
+ // ../tailwind-config/src/plugin.ts
114
+ var import_plugin = __toESM(require_plugin());
115
+
116
+ // ../tailwind-config/src/typography/font.ts
117
+ var fontSize = {
118
+ h1: [
119
+ "40px",
120
+ {
121
+ letterSpacing: "-2%",
122
+ fontWeight: "700"
123
+ }
124
+ ],
125
+ h2: [
126
+ "34px",
127
+ {
128
+ letterSpacing: "-2%",
129
+ fontWeight: "700"
130
+ }
131
+ ],
132
+ h3: [
133
+ "28px",
134
+ {
135
+ letterSpacing: "-2%",
136
+ fontWeight: "700"
137
+ }
138
+ ],
139
+ h4: [
140
+ "24px",
141
+ {
142
+ letterSpacing: "-2%",
143
+ fontWeight: "700"
144
+ }
145
+ ],
146
+ h5: [
147
+ "20px",
148
+ {
149
+ letterSpacing: "-2%",
150
+ fontWeight: "600"
151
+ }
152
+ ],
153
+ sm: [
154
+ "12px",
155
+ {
156
+ lineHeight: "18px",
157
+ letterSpacing: "-2%",
158
+ fontWeight: "400"
159
+ }
160
+ ],
161
+ md: [
162
+ "14px",
163
+ {
164
+ lineHeight: "21px",
165
+ letterSpacing: "-2%",
166
+ fontWeight: "400"
167
+ }
168
+ ],
169
+ lg: [
170
+ "16px",
171
+ {
172
+ lineHeight: "24px",
173
+ letterSpacing: "-2%",
174
+ fontWeight: "400"
175
+ }
176
+ ],
177
+ xl: [
178
+ "18px",
179
+ {
180
+ lineHeight: "27px",
181
+ letterSpacing: "-2%",
182
+ fontWeight: "400"
183
+ }
184
+ ]
185
+ };
186
+
187
+ // ../tailwind-config/src/animation/slide.ts
188
+ var sliceAnimation = {
189
+ slideInFromTop: "slideInFromTop 0.5s ease-out",
190
+ slideInFromBottom: "slideInFromBottom 0.5s ease-out",
191
+ slideInFromLeft: "slideInFromLeft 0.5s ease-out",
192
+ slideInFromRight: "slideInFromRight 0.5s ease-out",
193
+ slideOutToTop: "slideOutToTop 0.5s ease-in",
194
+ slideOutToBottom: "slideOutToBottom 0.5s ease-in",
195
+ slideOutToLeft: "slideOutToLeft 0.5s ease-in",
196
+ slideOutToRight: "slideOutToRight 0.5s ease-in"
197
+ };
198
+ var sliceKeyframe = {
199
+ slideInFromTop: {
200
+ "0%": {
201
+ transform: "translateY(-10px)",
202
+ opacity: "0"
203
+ },
204
+ "100%": {
205
+ transform: "translateY(0)",
206
+ opacity: "1"
207
+ }
208
+ },
209
+ slideInFromBottom: {
210
+ "0%": {
211
+ transform: "translateY(10px)",
212
+ opacity: "0"
213
+ },
214
+ "100%": {
215
+ transform: "translateY(0)",
216
+ opacity: "1"
217
+ }
218
+ },
219
+ slideInFromLeft: {
220
+ "0%": {
221
+ transform: "translateX(-10px)",
222
+ opacity: "0"
223
+ },
224
+ "100%": {
225
+ transform: "translateX(0)",
226
+ opacity: "1"
227
+ }
228
+ },
229
+ slideInFromRight: {
230
+ "0%": {
231
+ transform: "translateX(10px)",
232
+ opacity: "0"
233
+ },
234
+ "100%": {
235
+ transform: "translateX(0)",
236
+ opacity: "1"
237
+ }
238
+ },
239
+ slideOutToTop: {
240
+ "0%": {
241
+ transform: "translateY(0)",
242
+ opacity: "1"
243
+ },
244
+ "100%": {
245
+ transform: "translateY(-10px)",
246
+ opacity: "0"
247
+ }
248
+ },
249
+ slideOutToBottom: {
250
+ "0%": {
251
+ transform: "translateY(0)",
252
+ opacity: "1"
253
+ },
254
+ "100%": {
255
+ transform: "translateY(10px)",
256
+ opacity: "0"
257
+ }
258
+ },
259
+ slideOutToLeft: {
260
+ "0%": {
261
+ transform: "translateX(0)",
262
+ opacity: "1"
263
+ },
264
+ "100%": {
265
+ transform: "translateX(-10px)",
266
+ opacity: "0"
267
+ }
268
+ },
269
+ slideOutToRight: {
270
+ "0%": {
271
+ transform: "translateX(0)",
272
+ opacity: "1"
273
+ },
274
+ "100%": {
275
+ transform: "translateX(10px)",
276
+ opacity: "0"
277
+ }
278
+ }
279
+ };
280
+
281
+ // ../tailwind-config/src/animation/index.ts
282
+ var animation = { ...sliceAnimation };
283
+ var keyframes = { ...sliceKeyframe };
284
+
285
+ // ../tailwind-config/src/shadow/index.ts
286
+ var boxShadow = {
287
+ "border-1": "inner 0 0 0 1px inset",
288
+ "border-2": "inner 0 0 0 2px inset",
289
+ "border-3": "inner 0 0 0 3px inset",
290
+ "border-4": "inner 0 0 0 4px inset",
291
+ "border-5": "inner 0 0 0 5px inset",
292
+ "border-6": "inner 0 0 0 6px inset",
293
+ "border-7": "inner 0 0 0 7px inset",
294
+ "border-8": "inner 0 0 0 8px inset",
295
+ "border-9": "inner 0 0 0 9px inset",
296
+ "border-10": "inner 0 0 0 10px inset",
297
+ inner: "inset 0 4px 8px 0 rgba(36, 39, 44, 0.2)",
298
+ drop: "0 20px 40px 0 rgba(36, 39, 44, 0.2)"
299
+ };
300
+
301
+ // ../tailwind-config/src/border/radius.ts
302
+ var borderRadius = {
303
+ sm: "4px",
304
+ md: "6px",
305
+ lg: "8px",
306
+ xl: "10px",
307
+ none: "0",
308
+ full: "9999px"
309
+ };
310
+
311
+ // ../tailwind-config/src/space/gap.ts
312
+ var gap = {
313
+ sm: "4px",
314
+ md: "6px",
315
+ lg: "8px",
316
+ xl: "10px"
317
+ };
318
+
319
+ // src/utils/tailwind-variants.ts
320
+ function typedKeys(obj) {
321
+ return Object.keys(obj);
322
+ }
323
+ var COMMON_SIZE = ["sm", "md", "lg", "xl"];
35
324
  var tv = (0, import_tailwind_variants.createTV)({
36
- // twMerge: false,
37
325
  twMergeConfig: {
38
326
  classGroups: {
39
- fontSize: [{ text: [...COMMON_SIZE, ...COMMON_FONTSIZE] }],
40
- borderRadius: [{ rounded: [...COMMON_RADIUS, ...COMMON_SIZE] }],
41
- boxShadow: [{ shadow: [...COMMON_SHADOW] }],
327
+ fontSize: [{ text: [...typedKeys(fontSize)] }],
328
+ borderRadius: [{ rounded: [...typedKeys(borderRadius)] }],
329
+ boxShadow: [{ shadow: [...typedKeys(boxShadow)] }],
42
330
  padding: [{ p: [...COMMON_SIZE] }],
43
- gap: [{ gap: [...COMMON_SIZE] }]
331
+ gap: [{ gap: [...typedKeys(gap)] }]
44
332
  }
45
333
  }
46
334
  });
@@ -65,67 +353,106 @@ var mapPropsVariants = (props, variantKeys, removeVariantProps = true) => {
65
353
  }
66
354
  };
67
355
 
356
+ // src/utils/clsx.ts
357
+ function clsx(...args) {
358
+ var i = 0, tmp, x, str = "";
359
+ while (i < args.length) {
360
+ if (tmp = args[i++]) {
361
+ if (x = toVal(tmp)) {
362
+ str && (str += " ");
363
+ str += x;
364
+ }
365
+ }
366
+ }
367
+ return str;
368
+ }
369
+ function toVal(mix) {
370
+ var k, y, str = "";
371
+ if (typeof mix === "string" || typeof mix === "number") {
372
+ str += mix;
373
+ } else if (typeof mix === "object") {
374
+ if (Array.isArray(mix)) {
375
+ var len = mix.length;
376
+ for (k = 0; k < len; k++) {
377
+ if (mix[k]) {
378
+ if (y = toVal(mix[k])) {
379
+ str && (str += " ");
380
+ str += y;
381
+ }
382
+ }
383
+ }
384
+ } else {
385
+ for (y in mix) {
386
+ if (mix[y]) {
387
+ str && (str += " ");
388
+ str += y;
389
+ }
390
+ }
391
+ }
392
+ }
393
+ return str;
394
+ }
395
+
68
396
  // src/components/checkbox/checkbox.tsx
69
397
  var import_jsx_runtime = require("react/jsx-runtime");
70
398
  var CheckBox = (0, import_react.forwardRef)((originalProps, ref) => {
71
- const [props, variantProps] = mapPropsVariants(originalProps, checkbox.variantKeys);
72
- const { children, classNames, ...inputProps } = props;
73
- const slots = (0, import_react.useMemo)(() => checkbox({ ...variantProps }), [...Object.values(variantProps)]);
74
- const getBaseProps = (0, import_react.useCallback)(
75
- () => ({
76
- className: slots.base({ class: classNames == null ? void 0 : classNames.base })
77
- }),
78
- [slots, classNames]
399
+ var _a, _b;
400
+ const [props, variantProps] = mapPropsVariants(originalProps, checkboxStyle.variantKeys);
401
+ const { children, classNames, labelPosition = "end", ...inputProps } = props;
402
+ const slots = (0, import_react.useMemo)(() => checkboxStyle({ ...variantProps }), [variantProps]);
403
+ const isSelected = (_b = (_a = inputProps.checked) != null ? _a : inputProps.defaultChecked) != null ? _b : false;
404
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
405
+ "label",
406
+ {
407
+ className: clsx(
408
+ slots.base({ class: classNames == null ? void 0 : classNames.base }),
409
+ labelPosition === "start" && slots.labelReverse({ class: classNames == null ? void 0 : classNames.labelReverse })
410
+ ),
411
+ children: [
412
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: "hidden", children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("input", { ...inputProps, type: "checkbox", ref }) }),
413
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { className: slots.wrapper({ class: classNames == null ? void 0 : classNames.wrapper }), children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
414
+ CheckBoxIcon,
415
+ {
416
+ size: variantProps.size,
417
+ isSelected,
418
+ className: slots.icon({ class: classNames == null ? void 0 : classNames.icon })
419
+ }
420
+ ) }),
421
+ children && /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { className: slots.label({ class: classNames == null ? void 0 : classNames.label }), children })
422
+ ]
423
+ }
79
424
  );
80
- const getInputProps = (0, import_react.useCallback)(() => {
81
- return {
82
- ...inputProps,
83
- type: "checkbox",
84
- ref,
85
- size: 0
86
- };
87
- }, [slots, classNames, inputProps]);
88
- const getWrapperProps = (0, import_react.useCallback)(() => {
89
- return {
90
- className: slots.wrapper({ class: classNames == null ? void 0 : classNames.wrapper })
91
- };
92
- }, [slots, classNames]);
93
- const getLabelProps = (0, import_react.useCallback)(() => {
94
- return {
95
- className: slots.label({ class: classNames == null ? void 0 : classNames.label })
96
- };
97
- }, [classNames == null ? void 0 : classNames.label, slots]);
98
- const getIconProps = (0, import_react.useCallback)(() => {
99
- return {
100
- isSelected: true,
101
- className: slots.icon({ class: classNames == null ? void 0 : classNames.icon })
102
- };
103
- }, [slots, classNames]);
104
- const CheckBoxIcon = (props2) => {
105
- const { isSelected, ...otherProps } = props2;
106
- return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("svg", { "aria-hidden": "true", role: "presentation", viewBox: "0 0 17 18", ...otherProps, children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
107
- "polyline",
108
- {
109
- fill: "none",
110
- points: "1 9 7 14 15 4",
111
- stroke: "currentColor",
112
- strokeLinecap: "round",
113
- strokeWidth: 3,
114
- style: isSelected ? {
115
- transition: "stroke-dashoffset 250ms linear 0.2s"
116
- } : {}
117
- }
118
- ) });
119
- };
120
- return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("label", { ...getBaseProps(), children: [
121
- /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: "hidden", children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("input", { ...getInputProps() }) }),
122
- /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { ...getWrapperProps(), children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(CheckBoxIcon, { ...getIconProps() }) }),
123
- children && /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { ...getLabelProps(), children })
124
- ] });
125
425
  });
126
426
  CheckBox.displayName = "CheckBox";
127
427
  var checkbox_default = CheckBox;
128
- var checkbox = tv({
428
+ var CheckBoxIcon = ({ size, isSelected, className }) => {
429
+ const strokeWidth = (0, import_react.useMemo)(() => {
430
+ switch (size) {
431
+ case "sm":
432
+ return 1;
433
+ case "md":
434
+ return 1.25;
435
+ case "lg":
436
+ return 1.5;
437
+ case "xl":
438
+ return 1.75;
439
+ default:
440
+ return 1.25;
441
+ }
442
+ }, [size]);
443
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 13 13", fill: "none", className, children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
444
+ "path",
445
+ {
446
+ d: "M2.16667 6.90123L5.63334 10.1111L10.8333 2.88889",
447
+ stroke: "white",
448
+ strokeWidth,
449
+ strokeLinecap: "round",
450
+ strokeLinejoin: "round",
451
+ style: isSelected ? { transition: "stroke-dashoffset 250ms linear 0.2s" } : {}
452
+ }
453
+ ) });
454
+ };
455
+ var checkboxStyle = tv({
129
456
  slots: {
130
457
  base: ["group", "relative", "inline-flex", "items-center", "cursor-pointer"],
131
458
  wrapper: [
@@ -133,16 +460,14 @@ var checkbox = tv({
133
460
  "inline-flex",
134
461
  "items-center",
135
462
  "justify-center",
136
- // before
137
463
  "before:content-['']",
464
+ "before:bg-body-background",
138
465
  "before:absolute",
139
466
  "before:inset-0",
140
- "before:border-solid",
141
- "before:border-[1px]",
467
+ "before:border",
468
+ "before:border-neutral-light",
142
469
  "before:box-border",
143
470
  "before:z-10",
144
- "before:border-neutral-main",
145
- // after
146
471
  "after:content-['']",
147
472
  "after:absolute",
148
473
  "after:inset-0",
@@ -150,53 +475,91 @@ var checkbox = tv({
150
475
  "after:opacity-0",
151
476
  "group-has-[:checked]:after:scale-100",
152
477
  "group-has-[:checked]:after:opacity-100",
153
- // hover
154
- "group-hover:before:bg-neutral-soft",
155
478
  "before:transition duration-200"
156
479
  ],
157
- icon: ["z-10", "opacity-0", "group-has-[:checked]:opacity-100", "text-white"],
158
- label: ["relative", "text-foreground", "select-none"]
480
+ icon: ["z-10", "opacity-0", "group-has-[:checked]:opacity-100", "text-neutral-light"],
481
+ labelReverse: ["flex-row-reverse"],
482
+ label: ["relative", "text-body-foreground", "select-none"]
159
483
  },
160
484
  variants: {
161
485
  color: {
162
486
  primary: {
163
- wrapper: ["group-has-[:checked]:before:border-primary-main", "group-has-[:checked]:before:bg-primary-main"]
487
+ wrapper: [
488
+ "group-has-[:checked]:before:border-primary-main",
489
+ "group-has-[:checked]:before:bg-primary-main",
490
+ "group-hover:before:border-primary-light",
491
+ "group-hover:before:bg-primary-soft"
492
+ ]
164
493
  },
165
494
  secondary: {
166
- wrapper: ["group-has-[:checked]:before:border-secondary-main", "group-has-[:checked]:before:bg-secondary-main"]
495
+ wrapper: [
496
+ "group-has-[:checked]:before:border-secondary-main",
497
+ "group-has-[:checked]:before:bg-secondary-main",
498
+ "group-hover:before:border-secondary-light",
499
+ "group-hover:before:bg-secondary-soft"
500
+ ]
501
+ },
502
+ neutral: {
503
+ wrapper: [
504
+ "group-has-[:checked]:before:border-neutral-main",
505
+ "group-has-[:checked]:before:bg-neutral-main",
506
+ "group-hover:before:border-neutral-light",
507
+ "group-hover:before:bg-neutral-soft"
508
+ ]
167
509
  }
168
510
  },
169
511
  size: {
170
512
  sm: {
171
- wrapper: ["w-[15px]", "h-[15px]", "rounded-sm", "before:rounded-[3px]", "after:rounded-[3px]"],
172
- label: ["text-sm", "ml-[6px]"],
513
+ base: ["gap-[8px]"],
514
+ wrapper: [
515
+ "w-[12px]",
516
+ "h-[12px]",
517
+ "rounded-[2px]",
518
+ "before:border-sm",
519
+ "before:rounded-[2px]",
520
+ "after:rounded-[2px]"
521
+ ],
522
+ label: ["text-sm"],
173
523
  icon: ["w-[10px]", "h-[10px]"]
174
524
  },
175
525
  md: {
176
- wrapper: ["w-[17px]", "h-[17px]", "rounded-md", "before:rounded-[3px]", "after:rounded-[3px]"],
177
- label: ["text-md", "ml-[8px]"],
178
- icon: ["w-[12px]", "h-[12px]"]
526
+ base: ["gap-[8px]"],
527
+ wrapper: [
528
+ "w-[15px]",
529
+ "h-[15px]",
530
+ "rounded-[2px]",
531
+ "before:border-md",
532
+ "before:rounded-[2px]",
533
+ "after:rounded-[2px]"
534
+ ],
535
+ label: ["text-md"],
536
+ icon: ["w-[13px]", "h-[13px]"]
179
537
  },
180
538
  lg: {
181
- wrapper: ["w-[20px]", "h-[20px]", "rounded-lg", "before:rounded-[4px]", "after:rounded-[4px]"],
182
- label: ["text-lg", "ml-[10px]"],
183
- icon: ["w-[15px]", "h-[15px]"]
184
- }
185
- },
186
- lineThrough: {
187
- true: {
188
- label: [
189
- "inline-flex",
190
- "items-center",
191
- "justify-center",
192
- "before:content-['']",
193
- "before:absolute",
194
- "before:bg-black",
195
- "before:w-0",
196
- "before:h-0.5",
197
- "group-has-[:checked]:opacity-60",
198
- "group-has-[:checked]:before:w-full"
199
- ]
539
+ base: ["gap-[10px]"],
540
+ wrapper: [
541
+ "w-[18px]",
542
+ "h-[18px]",
543
+ "rounded-[4px]",
544
+ "before:border-lg",
545
+ "before:rounded-[4px]",
546
+ "after:rounded-[4px]"
547
+ ],
548
+ label: ["text-lg"],
549
+ icon: ["w-[16px]", "h-[16px]"]
550
+ },
551
+ xl: {
552
+ base: ["gap-[10px]"],
553
+ wrapper: [
554
+ "w-[21px]",
555
+ "h-[21px]",
556
+ "rounded-[4px]",
557
+ "before:border-xl",
558
+ "before:rounded-[2px]",
559
+ "after:rounded-[2px]"
560
+ ],
561
+ label: ["text-xl"],
562
+ icon: ["w-[19px]", "h-[19px]"]
200
563
  }
201
564
  },
202
565
  isInvalid: {
@@ -204,51 +567,34 @@ var checkbox = tv({
204
567
  wrapper: [
205
568
  "before:border-danger-main",
206
569
  "group-has-[:checked]:before:bg-danger-main",
207
- "group-has-[:checked]:before:border-danger-main"
570
+ "group-has-[:checked]:before:border-danger-main",
571
+ "group-hover:before:border-danger-light",
572
+ "group-hover:before:bg-danger-soft"
208
573
  ],
209
- label: "text-danger-main"
574
+ label: ["text-danger-main"]
210
575
  }
211
576
  },
212
577
  isDisabled: {
213
578
  true: {
214
- base: "opacity-disabled pointer-events-none text-neutral-light",
579
+ base: ["opacity-disabled", "cursor-not-allowed", "pointer-events-auto", "text-neutral-light"],
215
580
  wrapper: [
581
+ "cursor-not-allowed",
216
582
  "after:bg-neutral-soft",
217
583
  "before:border-neutral-light",
218
584
  "before:bg-neutral-soft",
219
585
  "group-has-[:checked]:before:bg-neutral-soft",
220
- "group-has-[:checked]:before:border-neutral-light"
221
- ],
222
- label: "text-neutral-light",
223
- icon: "text-neutral-light"
224
- }
225
- },
226
- disableAnimation: {
227
- true: {
228
- wrapper: "transition-none",
229
- icon: "transition-none",
230
- label: "transition-none"
231
- },
232
- false: {
233
- wrapper: [
234
- "before:transition-colors",
235
- "group-data-[pressed=true]:scale-95",
236
- "transition-transform",
237
- "after:transition-transform-opacity",
238
- "after:!ease-linear",
239
- "after:!duration-200",
240
- "motion-reduce:transition-none"
586
+ "group-has-[:checked]:before:border-neutral-light",
587
+ "group-hover:before:border-neutral-light",
588
+ "group-hover:before:bg-neutral-soft"
241
589
  ],
242
- icon: ["transition-opacity", "motion-reduce:transition-none"],
243
- label: ["transition-colors-opacity", "before:transition-width", "motion-reduce:transition-none"]
590
+ label: ["text-neutral-light"],
591
+ icon: ["text-neutral-light", "opacity-0"]
244
592
  }
245
593
  }
246
594
  },
247
595
  defaultVariants: {
248
596
  color: "primary",
249
597
  size: "md",
250
- isDisabled: false,
251
- lineThrough: false,
252
- disableAnimation: false
598
+ isDisabled: false
253
599
  }
254
600
  });