@deepnoid/ui 1.0.21 → 1.0.23

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 (319) hide show
  1. package/dist/{chunk-N4KPGD2N.mjs → chunk-25LWG2XP.mjs} +20 -20
  2. package/dist/{chunk-ZOTHPHXA.mjs → chunk-2C4HKBHM.mjs} +4 -4
  3. package/dist/{chunk-H7D5EBLL.mjs → chunk-32GYEUAB.mjs} +14 -8
  4. package/dist/{chunk-3K4OTUIB.mjs → chunk-3Z2WSTCH.mjs} +13 -13
  5. package/dist/{chunk-JGF5TY7M.mjs → chunk-4ALAPTAW.mjs} +10 -10
  6. package/dist/{chunk-O5VW7CHY.mjs → chunk-4FUD3BZV.mjs} +13 -14
  7. package/dist/{chunk-WTBRXQFT.mjs → chunk-5TBL2VZ5.mjs} +30 -30
  8. package/dist/{chunk-LHWHM4LQ.mjs → chunk-6J6AXUUE.mjs} +2 -2
  9. package/dist/{chunk-WQG4OYM6.mjs → chunk-7K3EB4DC.mjs} +67 -63
  10. package/dist/{chunk-WS4SOWDZ.mjs → chunk-AHKNFPHN.mjs} +27 -25
  11. package/dist/{chunk-IOJMTN6X.mjs → chunk-APZCX3PY.mjs} +7 -7
  12. package/dist/{chunk-KAB3AB67.mjs → chunk-AZ5QZAO6.mjs} +59 -53
  13. package/dist/{chunk-D7DDV4UN.mjs → chunk-B2LJEDXL.mjs} +22 -14
  14. package/dist/{chunk-6PN3DGOE.mjs → chunk-BEFT2F7D.mjs} +3 -3
  15. package/dist/{chunk-BJWYF2WY.mjs → chunk-C6S73EGR.mjs} +15 -17
  16. package/dist/{chunk-A6UUVHC6.mjs → chunk-C7OETP3D.mjs} +4 -4
  17. package/dist/{chunk-5RJYESLP.mjs → chunk-EVXLGMV6.mjs} +3 -3
  18. package/dist/{chunk-3IBJXQTJ.mjs → chunk-GWOMD7ZU.mjs} +1 -1
  19. package/dist/{chunk-62M6VPFS.mjs → chunk-HDCCDPYL.mjs} +65 -55
  20. package/dist/{chunk-7OP3JEMA.mjs → chunk-HLO5N6WD.mjs} +1 -1
  21. package/dist/{chunk-CBIV6KFQ.mjs → chunk-IF6XCBGN.mjs} +6 -6
  22. package/dist/{chunk-Y3A7PN4Q.mjs → chunk-IPP2GKZN.mjs} +16 -16
  23. package/dist/{chunk-SXSVNBRO.mjs → chunk-J2URLA5S.mjs} +22 -16
  24. package/dist/{chunk-ZCJPPLYH.mjs → chunk-JUPZBZ5Q.mjs} +7 -7
  25. package/dist/{chunk-USZSQXHS.mjs → chunk-KFM54LT4.mjs} +1 -1
  26. package/dist/{chunk-2J4MNIMS.mjs → chunk-KGRQ3ZYI.mjs} +10 -4
  27. package/dist/{chunk-27Y6K5NK.mjs → chunk-KJFYLLMP.mjs} +3 -3
  28. package/dist/{chunk-G6SZN3EK.mjs → chunk-LHEENTLV.mjs} +2 -2
  29. package/dist/{chunk-MAGZDGUW.mjs → chunk-LIYGCVZ3.mjs} +11 -11
  30. package/dist/{chunk-O2KC4CDE.mjs → chunk-MLMG22I4.mjs} +33 -31
  31. package/dist/{chunk-KIINY2GS.mjs → chunk-MS65QLWR.mjs} +6 -6
  32. package/dist/{chunk-XTMOAGLY.mjs → chunk-MVCUYH2W.mjs} +8 -8
  33. package/dist/{chunk-LCEFG5IY.mjs → chunk-NATO6PUP.mjs} +7 -7
  34. package/dist/{chunk-7CTICAGW.mjs → chunk-NMPATSTB.mjs} +2 -2
  35. package/dist/{chunk-R32BQ3NV.mjs → chunk-NUXN36KF.mjs} +22 -22
  36. package/dist/{chunk-CXVDES22.mjs → chunk-NYQKX23D.mjs} +12 -8
  37. package/dist/{chunk-MC7SI5Q7.mjs → chunk-OI5NXYUY.mjs} +8 -6
  38. package/dist/chunk-PPTFOHMW.mjs +169 -0
  39. package/dist/chunk-Q3SNUBIS.mjs +114 -0
  40. package/dist/{chunk-AO6LNH3D.mjs → chunk-QDAHI6GC.mjs} +4 -4
  41. package/dist/{chunk-AOU4QX7H.mjs → chunk-QOOYAQJ5.mjs} +773 -773
  42. package/dist/{chunk-D3DKXTTY.mjs → chunk-R6N6IQPN.mjs} +3 -3
  43. package/dist/{chunk-37BZALDV.mjs → chunk-RZD3NZIL.mjs} +10 -10
  44. package/dist/{chunk-SR76DO4M.mjs → chunk-SJLO65GQ.mjs} +12 -12
  45. package/dist/{chunk-PIUOU6LS.mjs → chunk-TEF3UA4E.mjs} +13 -13
  46. package/dist/{chunk-SLKXMIWY.mjs → chunk-TPWND4RF.mjs} +7 -8
  47. package/dist/{chunk-E3G5QXSH.mjs → chunk-UWT2WB6H.mjs} +2 -4
  48. package/dist/{chunk-MT7AFUKT.mjs → chunk-VJ7BQ3PK.mjs} +6 -5
  49. package/dist/{chunk-VZPVEICG.mjs → chunk-W6CQRLD2.mjs} +37 -29
  50. package/dist/{chunk-KE26ONWZ.mjs → chunk-YM5JOOTO.mjs} +3 -3
  51. package/dist/{chunk-FNFQCMB4.mjs → chunk-YNPIAFQ7.mjs} +31 -27
  52. package/dist/{chunk-QUWWLVCI.mjs → chunk-YUNTNMZ4.mjs} +6 -6
  53. package/dist/{chunk-XS32UZI3.mjs → chunk-YYWOSKGH.mjs} +3 -3
  54. package/dist/components/accordion/accordion.js +7 -8
  55. package/dist/components/accordion/accordion.mjs +2 -2
  56. package/dist/components/accordion/accordionItem.js +8 -11
  57. package/dist/components/accordion/accordionItem.mjs +2 -2
  58. package/dist/components/accordion/index.js +13 -15
  59. package/dist/components/accordion/index.mjs +3 -3
  60. package/dist/components/avatar/avatar.js +775 -775
  61. package/dist/components/avatar/avatar.mjs +2 -2
  62. package/dist/components/avatar/index.js +775 -775
  63. package/dist/components/avatar/index.mjs +2 -2
  64. package/dist/components/backdrop/backdrop.d.mts +4 -4
  65. package/dist/components/backdrop/backdrop.d.ts +4 -4
  66. package/dist/components/backdrop/backdrop.js +5 -5
  67. package/dist/components/backdrop/backdrop.mjs +2 -2
  68. package/dist/components/backdrop/index.js +5 -5
  69. package/dist/components/backdrop/index.mjs +2 -2
  70. package/dist/components/breadcrumb/breadcrumb.d.mts +2 -2
  71. package/dist/components/breadcrumb/breadcrumb.d.ts +2 -2
  72. package/dist/components/breadcrumb/breadcrumb.js +812 -814
  73. package/dist/components/breadcrumb/breadcrumb.mjs +13 -12
  74. package/dist/components/breadcrumb/index.js +812 -814
  75. package/dist/components/breadcrumb/index.mjs +13 -12
  76. package/dist/components/button/button-group.js +4 -4
  77. package/dist/components/button/button-group.mjs +2 -2
  78. package/dist/components/button/button.js +2976 -2979
  79. package/dist/components/button/button.mjs +6 -6
  80. package/dist/components/button/icon-button.js +2968 -2970
  81. package/dist/components/button/icon-button.mjs +6 -6
  82. package/dist/components/button/image-button.d.mts +194 -0
  83. package/dist/components/button/image-button.d.ts +194 -0
  84. package/dist/components/button/image-button.js +5572 -0
  85. package/dist/components/button/image-button.mjs +16 -0
  86. package/dist/components/button/index.d.mts +1 -0
  87. package/dist/components/button/index.d.ts +1 -0
  88. package/dist/components/button/index.js +3059 -2969
  89. package/dist/components/button/index.mjs +15 -11
  90. package/dist/components/button/text-button.js +62 -64
  91. package/dist/components/button/text-button.mjs +3 -3
  92. package/dist/components/charts/areaChart.d.mts +4 -4
  93. package/dist/components/charts/areaChart.d.ts +4 -4
  94. package/dist/components/charts/areaChart.js +39 -41
  95. package/dist/components/charts/areaChart.mjs +4 -4
  96. package/dist/components/charts/barChart.d.mts +8 -8
  97. package/dist/components/charts/barChart.d.ts +8 -8
  98. package/dist/components/charts/barChart.js +66 -58
  99. package/dist/components/charts/barChart.mjs +2 -2
  100. package/dist/components/charts/circularProgress.d.mts +2 -2
  101. package/dist/components/charts/circularProgress.d.ts +2 -2
  102. package/dist/components/charts/circularProgress.js +14 -16
  103. package/dist/components/charts/circularProgress.mjs +2 -2
  104. package/dist/components/charts/index.js +158 -148
  105. package/dist/components/charts/index.mjs +10 -10
  106. package/dist/components/charts/radarChart.d.mts +6 -6
  107. package/dist/components/charts/radarChart.d.ts +6 -6
  108. package/dist/components/charts/radarChart.js +17 -19
  109. package/dist/components/charts/radarChart.mjs +2 -2
  110. package/dist/components/charts/simpleBarChart.d.mts +6 -6
  111. package/dist/components/charts/simpleBarChart.d.ts +6 -6
  112. package/dist/components/charts/simpleBarChart.js +31 -33
  113. package/dist/components/charts/simpleBarChart.mjs +2 -2
  114. package/dist/components/checkbox/checkbox.js +13 -15
  115. package/dist/components/checkbox/checkbox.mjs +3 -3
  116. package/dist/components/checkbox/index.js +13 -15
  117. package/dist/components/checkbox/index.mjs +3 -3
  118. package/dist/components/chip/chip.js +782 -784
  119. package/dist/components/chip/chip.mjs +5 -5
  120. package/dist/components/chip/index.js +782 -784
  121. package/dist/components/chip/index.mjs +5 -5
  122. package/dist/components/drawer/drawer.js +15 -13
  123. package/dist/components/drawer/drawer.mjs +3 -3
  124. package/dist/components/drawer/index.js +15 -13
  125. package/dist/components/drawer/index.mjs +3 -3
  126. package/dist/components/fileUpload/fileUpload.d.mts +4 -4
  127. package/dist/components/fileUpload/fileUpload.d.ts +4 -4
  128. package/dist/components/fileUpload/fileUpload.js +880 -885
  129. package/dist/components/fileUpload/fileUpload.mjs +15 -14
  130. package/dist/components/fileUpload/index.js +880 -885
  131. package/dist/components/fileUpload/index.mjs +15 -14
  132. package/dist/components/icon/Icon.d.mts +179 -704
  133. package/dist/components/icon/Icon.d.ts +179 -704
  134. package/dist/components/icon/Icon.js +776 -776
  135. package/dist/components/icon/Icon.mjs +2 -2
  136. package/dist/components/icon/index.d.mts +1 -1
  137. package/dist/components/icon/index.d.ts +1 -1
  138. package/dist/components/icon/index.js +776 -776
  139. package/dist/components/icon/index.mjs +3 -3
  140. package/dist/components/icon/template.d.mts +3 -3
  141. package/dist/components/icon/template.d.ts +3 -3
  142. package/dist/components/icon/template.js +773 -773
  143. package/dist/components/icon/template.mjs +1 -1
  144. package/dist/components/input/index.js +793 -797
  145. package/dist/components/input/index.mjs +6 -6
  146. package/dist/components/input/input.js +793 -797
  147. package/dist/components/input/input.mjs +6 -6
  148. package/dist/components/list/index.js +786 -788
  149. package/dist/components/list/index.mjs +9 -9
  150. package/dist/components/list/list.js +3 -5
  151. package/dist/components/list/list.mjs +2 -2
  152. package/dist/components/list/listItem.js +785 -787
  153. package/dist/components/list/listItem.mjs +6 -6
  154. package/dist/components/modal/GlobalModalProvider.js +884 -887
  155. package/dist/components/modal/GlobalModalProvider.mjs +15 -14
  156. package/dist/components/modal/index.js +884 -887
  157. package/dist/components/modal/index.mjs +16 -15
  158. package/dist/components/modal/modal.js +875 -878
  159. package/dist/components/modal/modal.mjs +14 -13
  160. package/dist/components/modal/useGlobalModal.mjs +16 -15
  161. package/dist/components/pagination/index.js +850 -852
  162. package/dist/components/pagination/index.mjs +7 -7
  163. package/dist/components/pagination/pagination.js +850 -852
  164. package/dist/components/pagination/pagination.mjs +7 -7
  165. package/dist/components/picker/datePicker.d.mts +2 -2
  166. package/dist/components/picker/datePicker.d.ts +2 -2
  167. package/dist/components/picker/datePicker.js +1004 -1005
  168. package/dist/components/picker/datePicker.mjs +16 -15
  169. package/dist/components/picker/day.js +3 -5
  170. package/dist/components/picker/day.mjs +2 -2
  171. package/dist/components/picker/index.js +1026 -1011
  172. package/dist/components/picker/index.mjs +19 -18
  173. package/dist/components/picker/timePicker/Panel.d.mts +2 -2
  174. package/dist/components/picker/timePicker/Panel.d.ts +2 -2
  175. package/dist/components/picker/timePicker/Panel.js +116 -106
  176. package/dist/components/picker/timePicker/Panel.mjs +15 -14
  177. package/dist/components/picker/timePicker/WheelColumn.d.mts +2 -2
  178. package/dist/components/picker/timePicker/WheelColumn.d.ts +2 -2
  179. package/dist/components/picker/timePicker/WheelColumn.js +10 -4
  180. package/dist/components/picker/timePicker/WheelColumn.mjs +1 -1
  181. package/dist/components/picker/timePicker/index.js +1573 -1561
  182. package/dist/components/picker/timePicker/index.mjs +17 -16
  183. package/dist/components/picker/utils.js +1 -1
  184. package/dist/components/picker/utils.mjs +1 -1
  185. package/dist/components/progress/index.js +4 -6
  186. package/dist/components/progress/index.mjs +2 -2
  187. package/dist/components/progress/progress.d.mts +1 -1
  188. package/dist/components/progress/progress.d.ts +1 -1
  189. package/dist/components/progress/progress.js +4 -6
  190. package/dist/components/progress/progress.mjs +2 -2
  191. package/dist/components/radio/index.js +7 -9
  192. package/dist/components/radio/index.mjs +3 -3
  193. package/dist/components/radio/radio.js +7 -9
  194. package/dist/components/radio/radio.mjs +3 -3
  195. package/dist/components/ripple/index.js +3 -3
  196. package/dist/components/ripple/index.mjs +1 -1
  197. package/dist/components/ripple/ripple.d.mts +1 -1
  198. package/dist/components/ripple/ripple.d.ts +1 -1
  199. package/dist/components/ripple/ripple.js +3 -3
  200. package/dist/components/ripple/ripple.mjs +1 -1
  201. package/dist/components/ripple/useRipple.d.mts +2 -2
  202. package/dist/components/ripple/useRipple.d.ts +2 -2
  203. package/dist/components/scroll/index.js +5 -5
  204. package/dist/components/scroll/index.mjs +2 -2
  205. package/dist/components/scroll/scrollArea.d.mts +6 -6
  206. package/dist/components/scroll/scrollArea.d.ts +6 -6
  207. package/dist/components/scroll/scrollArea.js +5 -5
  208. package/dist/components/scroll/scrollArea.mjs +2 -2
  209. package/dist/components/select/index.js +884 -878
  210. package/dist/components/select/index.mjs +13 -12
  211. package/dist/components/select/select.d.mts +2 -2
  212. package/dist/components/select/select.d.ts +2 -2
  213. package/dist/components/select/select.js +884 -878
  214. package/dist/components/select/select.mjs +13 -12
  215. package/dist/components/skeleton/index.js +5 -5
  216. package/dist/components/skeleton/index.mjs +2 -2
  217. package/dist/components/skeleton/skeleton.d.mts +4 -4
  218. package/dist/components/skeleton/skeleton.d.ts +4 -4
  219. package/dist/components/skeleton/skeleton.js +5 -5
  220. package/dist/components/skeleton/skeleton.mjs +2 -2
  221. package/dist/components/slider/index.js +8 -10
  222. package/dist/components/slider/index.mjs +2 -2
  223. package/dist/components/slider/slider.js +8 -10
  224. package/dist/components/slider/slider.mjs +2 -2
  225. package/dist/components/starRating/index.js +798 -792
  226. package/dist/components/starRating/index.mjs +5 -5
  227. package/dist/components/starRating/starRating.js +798 -792
  228. package/dist/components/starRating/starRating.mjs +5 -5
  229. package/dist/components/switch/index.js +7 -9
  230. package/dist/components/switch/index.mjs +2 -2
  231. package/dist/components/switch/switch.js +7 -9
  232. package/dist/components/switch/switch.mjs +2 -2
  233. package/dist/components/table/definition-table.d.mts +11 -4
  234. package/dist/components/table/definition-table.d.ts +11 -4
  235. package/dist/components/table/definition-table.js +89 -60
  236. package/dist/components/table/definition-table.mjs +2 -2
  237. package/dist/components/table/form-table.d.mts +2 -2
  238. package/dist/components/table/form-table.d.ts +2 -2
  239. package/dist/components/table/form-table.js +10 -8
  240. package/dist/components/table/form-table.mjs +10 -8
  241. package/dist/components/table/index.js +2059 -2028
  242. package/dist/components/table/index.mjs +14 -14
  243. package/dist/components/table/table-body.d.mts +1 -1
  244. package/dist/components/table/table-body.d.ts +1 -1
  245. package/dist/components/table/table-body.js +1559 -1557
  246. package/dist/components/table/table-body.mjs +11 -11
  247. package/dist/components/table/table-head.d.mts +3 -3
  248. package/dist/components/table/table-head.d.ts +3 -3
  249. package/dist/components/table/table-head.js +1583 -1581
  250. package/dist/components/table/table-head.mjs +11 -11
  251. package/dist/components/table/table.d.mts +6 -6
  252. package/dist/components/table/table.d.ts +6 -6
  253. package/dist/components/table/table.js +1910 -1908
  254. package/dist/components/table/table.mjs +11 -11
  255. package/dist/components/tabs/index.js +2 -4
  256. package/dist/components/tabs/index.mjs +2 -2
  257. package/dist/components/tabs/tabs.d.mts +2 -2
  258. package/dist/components/tabs/tabs.d.ts +2 -2
  259. package/dist/components/tabs/tabs.js +2 -4
  260. package/dist/components/tabs/tabs.mjs +2 -2
  261. package/dist/components/textarea/index.js +14 -16
  262. package/dist/components/textarea/index.mjs +3 -3
  263. package/dist/components/textarea/textarea.js +14 -16
  264. package/dist/components/textarea/textarea.mjs +3 -3
  265. package/dist/components/timePicker/calendar.js +791 -791
  266. package/dist/components/timePicker/calendar.mjs +19 -17
  267. package/dist/components/timePicker/useDateTimePicker.d.mts +2 -2
  268. package/dist/components/timePicker/useDateTimePicker.d.ts +2 -2
  269. package/dist/components/timePicker/useDateTimePicker.js +3 -1
  270. package/dist/components/timePicker/useDateTimePicker.mjs +4 -2
  271. package/dist/components/toast/index.d.mts +1 -1
  272. package/dist/components/toast/index.d.ts +1 -1
  273. package/dist/components/toast/index.js +801 -797
  274. package/dist/components/toast/index.mjs +8 -8
  275. package/dist/components/toast/toast-utils.js +4 -4
  276. package/dist/components/toast/toast-utils.mjs +1 -1
  277. package/dist/components/toast/toast.d.mts +1 -1
  278. package/dist/components/toast/toast.d.ts +1 -1
  279. package/dist/components/toast/toast.js +785 -787
  280. package/dist/components/toast/toast.mjs +6 -6
  281. package/dist/components/toast/use-toast.d.mts +3 -3
  282. package/dist/components/toast/use-toast.d.ts +3 -3
  283. package/dist/components/toast/use-toast.js +801 -797
  284. package/dist/components/toast/use-toast.mjs +8 -8
  285. package/dist/components/tooltip/index.d.mts +1 -1
  286. package/dist/components/tooltip/index.d.ts +1 -1
  287. package/dist/components/tooltip/index.js +9 -9
  288. package/dist/components/tooltip/index.mjs +2 -2
  289. package/dist/components/tooltip/tooltip-utils.d.mts +1 -1
  290. package/dist/components/tooltip/tooltip-utils.d.ts +1 -1
  291. package/dist/components/tooltip/tooltip.d.mts +1 -1
  292. package/dist/components/tooltip/tooltip.d.ts +1 -1
  293. package/dist/components/tooltip/tooltip.js +9 -9
  294. package/dist/components/tooltip/tooltip.mjs +2 -2
  295. package/dist/components/tooltip/useTooltip.d.mts +1 -1
  296. package/dist/components/tooltip/useTooltip.d.ts +1 -1
  297. package/dist/components/tree/index.js +799 -799
  298. package/dist/components/tree/index.mjs +5 -5
  299. package/dist/components/tree/tree.d.mts +8 -8
  300. package/dist/components/tree/tree.d.ts +8 -8
  301. package/dist/components/tree/tree.js +799 -799
  302. package/dist/components/tree/tree.mjs +5 -5
  303. package/dist/hooks/useIsMounted.d.mts +2 -2
  304. package/dist/hooks/useIsMounted.d.ts +2 -2
  305. package/dist/index.d.mts +2 -1
  306. package/dist/index.d.ts +2 -1
  307. package/dist/index.js +2606 -2421
  308. package/dist/index.mjs +95 -91
  309. package/dist/{tooltip-utils-DO3LQaVM.d.ts → tooltip-utils-dEqsJ9t8.d.mts} +2 -2
  310. package/dist/{tooltip-utils-DO3LQaVM.d.mts → tooltip-utils-dEqsJ9t8.d.ts} +2 -2
  311. package/dist/utils/clsx.js +3 -3
  312. package/dist/utils/clsx.mjs +1 -1
  313. package/dist/utils/props.js +2 -4
  314. package/dist/utils/props.mjs +1 -1
  315. package/package.json +1 -1
  316. package/dist/chunk-HXBZB7CW.mjs +0 -140
  317. package/dist/{chunk-LXHUO6VM.mjs → chunk-EAFNOTY3.mjs} +3 -3
  318. /package/dist/{chunk-MY5U63QO.mjs → chunk-M5PMA3CT.mjs} +0 -0
  319. /package/dist/{chunk-ZYIIXWVY.mjs → chunk-WG2WVMAR.mjs} +0 -0
@@ -1,16 +1,16 @@
1
1
  "use client";
2
2
  import {
3
3
  backdrop_default
4
- } from "./chunk-5RJYESLP.mjs";
4
+ } from "./chunk-EVXLGMV6.mjs";
5
5
  import {
6
6
  button_default
7
- } from "./chunk-O5VW7CHY.mjs";
7
+ } from "./chunk-4FUD3BZV.mjs";
8
8
  import {
9
9
  Icon_default
10
- } from "./chunk-A6UUVHC6.mjs";
10
+ } from "./chunk-C7OETP3D.mjs";
11
11
  import {
12
12
  mapPropsVariants
13
- } from "./chunk-E3G5QXSH.mjs";
13
+ } from "./chunk-UWT2WB6H.mjs";
14
14
  import {
15
15
  tv
16
16
  } from "./chunk-UP6RPQDX.mjs";
@@ -40,7 +40,7 @@ var Modal = forwardRef((props, ref) => {
40
40
  const variant = props.variant || "horizontal";
41
41
  const slots = useMemo(() => modal(variantProps), [variantProps]);
42
42
  useEffect(() => {
43
- document.body.classList.toggle("overflow-hidden", !!isOpen);
43
+ document.body.classList.toggle("overflow-hidden", Boolean(isOpen));
44
44
  if (!isOpen || isKeyboardDismissDisabled) return;
45
45
  const handleKeyDown = (e) => {
46
46
  if (e.key === "Escape") onCancel == null ? void 0 : onCancel();
@@ -54,29 +54,29 @@ var Modal = forwardRef((props, ref) => {
54
54
  if (!isOpen) return null;
55
55
  return createPortal(
56
56
  /* @__PURE__ */ jsxs(Fragment, { children: [
57
- hasBackdrop && /* @__PURE__ */ jsx(backdrop_default, { open: true }),
58
- /* @__PURE__ */ jsxs("div", { ref, className: slots.base({ class: classNames == null ? void 0 : classNames.base }), ...restProps, children: [
59
- (iconName || title) && /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsxs("div", { className: slots.titleWrapper({ class: classNames == null ? void 0 : classNames.titleWrapper }), children: [
60
- iconName && /* @__PURE__ */ jsx(
57
+ hasBackdrop ? /* @__PURE__ */ jsx(backdrop_default, { open: true }) : null,
58
+ /* @__PURE__ */ jsxs("div", { className: slots.base({ class: classNames == null ? void 0 : classNames.base }), ref, ...restProps, children: [
59
+ iconName || title ? /* @__PURE__ */ jsxs("div", { className: slots.titleWrapper({ class: classNames == null ? void 0 : classNames.titleWrapper }), children: [
60
+ iconName ? /* @__PURE__ */ jsx(
61
61
  Icon_default,
62
62
  {
63
- name: iconName,
64
- size: variant === "vertical" ? 40 : 30,
63
+ className: slots.icon({ class: classNames == null ? void 0 : classNames.icon }),
65
64
  fill: true,
66
- className: slots.icon({ class: classNames == null ? void 0 : classNames.icon })
65
+ name: iconName,
66
+ size: variant === "vertical" ? 40 : 30
67
67
  }
68
- ),
69
- title && /* @__PURE__ */ jsx("div", { className: slots.title({ class: classNames == null ? void 0 : classNames.title }), children: title })
70
- ] }) }),
71
- showCloseButton && /* @__PURE__ */ jsx(Icon_default, { name: "close", className: slots.closeIcon({ class: classNames == null ? void 0 : classNames.closeIcon }), onClick: onCancel }),
68
+ ) : null,
69
+ title ? /* @__PURE__ */ jsx("div", { className: slots.title({ class: classNames == null ? void 0 : classNames.title }), children: title }) : null
70
+ ] }) : null,
71
+ showCloseButton ? /* @__PURE__ */ jsx(Icon_default, { className: slots.closeIcon({ class: classNames == null ? void 0 : classNames.closeIcon }), name: "close", onClick: onCancel }) : null,
72
72
  typeof content === "string" ? /* @__PURE__ */ jsx("div", { className: slots.content({ class: classNames == null ? void 0 : classNames.content }), children: content }) : content,
73
- (cancelButtonText || confirmButtonText) && /* @__PURE__ */ jsxs("div", { className: slots.footerWrapper({ class: classNames == null ? void 0 : classNames.footerWrapper }), children: [
73
+ cancelButtonText || confirmButtonText ? /* @__PURE__ */ jsxs("div", { className: slots.footerWrapper({ class: classNames == null ? void 0 : classNames.footerWrapper }), children: [
74
74
  /* @__PURE__ */ jsxs("div", { className: slots.footer({ class: classNames == null ? void 0 : classNames.footer }), children: [
75
- cancelButtonText && /* @__PURE__ */ jsx(button_default, { variant: "outline", color: props.color, full: true, onClick: onCancel, children: cancelButtonText }),
76
- confirmButtonText && /* @__PURE__ */ jsx(button_default, { color: props.color, full: true, onClick: onConfirm, children: confirmButtonText })
75
+ cancelButtonText ? /* @__PURE__ */ jsx(button_default, { color: props.color, full: true, onClick: onCancel, variant: "outline", children: cancelButtonText }) : null,
76
+ confirmButtonText ? /* @__PURE__ */ jsx(button_default, { color: props.color, full: true, onClick: onConfirm, children: confirmButtonText }) : null
77
77
  ] }),
78
78
  extraFooter
79
- ] })
79
+ ] }) : null
80
80
  ] })
81
81
  ] }),
82
82
  document.body
@@ -2,10 +2,10 @@
2
2
 
3
3
  // src/components/toast/toast-utils.ts
4
4
  var getToastPosition = (placement, width, offset) => {
5
- let top = void 0;
6
- let left = void 0;
7
- let bottom = void 0;
8
- let right = void 0;
5
+ let top;
6
+ let left;
7
+ let bottom;
8
+ let right;
9
9
  const viewportWidth = window.innerWidth;
10
10
  switch (placement) {
11
11
  case "top-left":
@@ -1,10 +1,10 @@
1
1
  "use client";
2
2
  import {
3
3
  getToastPosition
4
- } from "./chunk-ZOTHPHXA.mjs";
4
+ } from "./chunk-2C4HKBHM.mjs";
5
5
  import {
6
6
  toast_default
7
- } from "./chunk-ZCJPPLYH.mjs";
7
+ } from "./chunk-JUPZBZ5Q.mjs";
8
8
 
9
9
  // src/components/toast/use-toast.tsx
10
10
  import { createContext, useContext, useState, useCallback, useEffect, useRef, useMemo } from "react";
@@ -17,10 +17,10 @@ var useToast = () => {
17
17
  }
18
18
  return context;
19
19
  };
20
- var ToastProvider = ({
20
+ function ToastProvider({
21
21
  globalOptions,
22
22
  children
23
- }) => {
23
+ }) {
24
24
  const [toasts, setToasts] = useState([]);
25
25
  const [containerStyle, setContainerStyle] = useState({});
26
26
  const toastRef = useRef(null);
@@ -48,7 +48,9 @@ var ToastProvider = ({
48
48
  useEffect(() => {
49
49
  const timers = timersRef.current;
50
50
  return () => {
51
- timers.forEach((timer) => clearTimeout(timer));
51
+ timers.forEach((timer) => {
52
+ clearTimeout(timer);
53
+ });
52
54
  timers.clear();
53
55
  };
54
56
  }, []);
@@ -100,7 +102,9 @@ var ToastProvider = ({
100
102
  if (id !== void 0) {
101
103
  removeToast(id);
102
104
  } else {
103
- timersRef.current.forEach((timer) => clearTimeout(timer));
105
+ timersRef.current.forEach((timer) => {
106
+ clearTimeout(timer);
107
+ });
104
108
  timersRef.current.clear();
105
109
  setToasts([]);
106
110
  }
@@ -153,9 +157,11 @@ var ToastProvider = ({
153
157
  }, [globalOptions == null ? void 0 : globalOptions.placement, globalOptions == null ? void 0 : globalOptions.width]);
154
158
  return /* @__PURE__ */ jsxs(ToastContext.Provider, { value: contextValue, children: [
155
159
  children,
156
- /* @__PURE__ */ jsx("div", { id: "deepnoid-toast-container", className: "flex flex-col gap-[10px]", style: containerStyle, children: toasts.map((toast) => /* @__PURE__ */ jsx(toast_default, { ref: toastRef, onClose: () => removeToast(toast.id), ...toast }, toast.id)) })
160
+ /* @__PURE__ */ jsx("div", { className: "flex flex-col gap-[10px]", id: "deepnoid-toast-container", style: containerStyle, children: toasts.map((toast) => /* @__PURE__ */ jsx(toast_default, { onClose: () => {
161
+ removeToast(toast.id);
162
+ }, ref: toastRef, ...toast }, toast.id)) })
157
163
  ] });
158
- };
164
+ }
159
165
 
160
166
  export {
161
167
  useToast,
@@ -1,10 +1,10 @@
1
1
  "use client";
2
2
  import {
3
3
  text_button_default
4
- } from "./chunk-KIINY2GS.mjs";
4
+ } from "./chunk-MS65QLWR.mjs";
5
5
  import {
6
6
  Icon_default
7
- } from "./chunk-A6UUVHC6.mjs";
7
+ } from "./chunk-C7OETP3D.mjs";
8
8
  import {
9
9
  tv
10
10
  } from "./chunk-UP6RPQDX.mjs";
@@ -12,20 +12,20 @@ import {
12
12
  // src/components/breadcrumb/breadcrumb.tsx
13
13
  import { forwardRef, useMemo } from "react";
14
14
  import { jsx, jsxs } from "react/jsx-runtime";
15
- var BreadcrumbMenu = ({ label, onClick, isCurrent, size }) => {
15
+ function BreadcrumbMenu({ label, onClick, isCurrent, size }) {
16
16
  return /* @__PURE__ */ jsx(
17
17
  text_button_default,
18
18
  {
19
- variant: isCurrent ? "underline" : "non-under",
20
- color: isCurrent ? "primary" : "neutral",
21
- size,
22
- onClick,
23
19
  "aria-label": label,
24
20
  classNames: { base: isCurrent ? "block text-ellipsis font-bold" : "font-bold" },
21
+ color: isCurrent ? "primary" : "neutral",
22
+ onClick,
23
+ size,
24
+ variant: isCurrent ? "underline" : "non-under",
25
25
  children: label
26
26
  }
27
27
  );
28
- };
28
+ }
29
29
  var Breadcrumb = forwardRef(({ startIconName, size, menus, classNames }, ref) => {
30
30
  const slots = useMemo(() => breadcrumbStyle({ size }), [size]);
31
31
  const renderMenus = (menus2) => {
@@ -45,19 +45,19 @@ var Breadcrumb = forwardRef(({ startIconName, size, menus, classNames }, ref) =>
45
45
  return /* @__PURE__ */ jsxs(
46
46
  "li",
47
47
  {
48
- className: `flex items-center gap-[5px] ${isLast ? "overflow-hidden" : ""}`,
49
48
  "aria-current": isLast ? "page" : void 0,
49
+ className: `flex items-center gap-[5px] ${isLast ? "overflow-hidden" : ""}`,
50
50
  children: [
51
- /* @__PURE__ */ jsx(BreadcrumbMenu, { label: menu.label, onClick: menu.onClick, isCurrent: isLast, size }),
52
- !isLast && /* @__PURE__ */ jsx(Icon_default, { name: "brace-right", className: slots.separator() })
51
+ /* @__PURE__ */ jsx(BreadcrumbMenu, { isCurrent: isLast, label: menu.label, onClick: menu.onClick, size }),
52
+ !isLast && /* @__PURE__ */ jsx(Icon_default, { className: slots.separator(), name: "brace-right" })
53
53
  ]
54
54
  },
55
55
  `${menu.label}-${index}`
56
56
  );
57
57
  });
58
58
  };
59
- return /* @__PURE__ */ jsx("nav", { ref, className: slots.base({ class: classNames == null ? void 0 : classNames.base }), "aria-label": "Breadcrumb", children: /* @__PURE__ */ jsxs("ul", { className: "flex w-full items-center gap-1", children: [
60
- startIconName && /* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(Icon_default, { name: startIconName, size, className: `${slots.icon()}` }) }),
59
+ return /* @__PURE__ */ jsx("nav", { "aria-label": "Breadcrumb", className: slots.base({ class: classNames == null ? void 0 : classNames.base }), ref, children: /* @__PURE__ */ jsxs("ul", { className: "flex w-full items-center gap-1", children: [
60
+ startIconName ? /* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(Icon_default, { className: slots.icon(), name: startIconName, size }) }) : null,
61
61
  renderMenus(menus)
62
62
  ] }) });
63
63
  });
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import {
3
3
  modal_default
4
- } from "./chunk-N4KPGD2N.mjs";
4
+ } from "./chunk-25LWG2XP.mjs";
5
5
 
6
6
  // src/components/modal/GlobalModalProvider.tsx
7
7
  import { createContext, useState, useCallback, useMemo } from "react";
@@ -19,22 +19,22 @@ function GlobalModalProvider({ children }) {
19
19
  const value = useMemo(() => ({ open, close }), [open, close]);
20
20
  return /* @__PURE__ */ jsxs(GlobalModalContext.Provider, { value, children: [
21
21
  children,
22
- modalConfig && /* @__PURE__ */ jsx(
22
+ modalConfig ? /* @__PURE__ */ jsx(
23
23
  modal_default,
24
24
  {
25
- isOpen: true,
26
- title: modalConfig.title,
27
- content: modalConfig.content,
28
- confirmButtonText: modalConfig.confirmButtonText,
29
25
  cancelButtonText: modalConfig.cancelButtonText,
26
+ classNames: modalConfig.classNames,
30
27
  color: modalConfig.color || "primary",
31
- showCloseButton: (_a = modalConfig.showCloseButton) != null ? _a : true,
28
+ confirmButtonText: modalConfig.confirmButtonText,
29
+ content: modalConfig.content,
30
+ extraFooter: modalConfig.extraFooter,
31
+ isOpen: true,
32
32
  onCancel: modalConfig.onCancel || close,
33
33
  onConfirm: modalConfig.onConfirm,
34
- classNames: modalConfig.classNames,
35
- extraFooter: modalConfig.extraFooter
34
+ showCloseButton: (_a = modalConfig.showCloseButton) != null ? _a : true,
35
+ title: modalConfig.title
36
36
  }
37
- )
37
+ ) : null
38
38
  ] });
39
39
  }
40
40
 
@@ -1,19 +1,19 @@
1
1
  "use client";
2
2
  import {
3
3
  ripple_default
4
- } from "./chunk-LXHUO6VM.mjs";
4
+ } from "./chunk-EAFNOTY3.mjs";
5
5
  import {
6
6
  useRipple
7
7
  } from "./chunk-SZL743JC.mjs";
8
8
  import {
9
9
  Icon_default
10
- } from "./chunk-A6UUVHC6.mjs";
10
+ } from "./chunk-C7OETP3D.mjs";
11
11
  import {
12
12
  buttonBaseStyle
13
13
  } from "./chunk-2WAQRWST.mjs";
14
14
  import {
15
15
  mapPropsVariants
16
- } from "./chunk-E3G5QXSH.mjs";
16
+ } from "./chunk-UWT2WB6H.mjs";
17
17
  import {
18
18
  tv
19
19
  } from "./chunk-UP6RPQDX.mjs";
@@ -117,15 +117,14 @@ var Button = forwardRef((originalProps, ref) => {
117
117
  className: `${getContentProps().className || ""} ${existingProps.className || ""}`.trim()
118
118
  };
119
119
  return cloneElement(content, mergedProps);
120
- } else {
121
- const contentProps = getContentProps();
122
- return /* @__PURE__ */ jsx("div", { ...contentProps, children: content });
123
120
  }
121
+ const contentProps = getContentProps();
122
+ return /* @__PURE__ */ jsx("div", { ...contentProps, children: content });
124
123
  };
125
- const buttonContent = /* @__PURE__ */ jsx(Fragment, { children: originalProps.isLoading ? renderContent(/* @__PURE__ */ jsx(Icon_default, { name: "loading", className: "animate-spin" })) : /* @__PURE__ */ jsxs(Fragment, { children: [
126
- startContent && renderContent(startContent),
124
+ const buttonContent = /* @__PURE__ */ jsx(Fragment, { children: originalProps.isLoading ? renderContent(/* @__PURE__ */ jsx(Icon_default, { className: "animate-spin", name: "loading" })) : /* @__PURE__ */ jsxs(Fragment, { children: [
125
+ startContent ? renderContent(startContent) : null,
127
126
  children,
128
- endContent && renderContent(endContent),
127
+ endContent ? renderContent(endContent) : null,
129
128
  !disableRipple && /* @__PURE__ */ jsx(ripple_default, { ...getRippleProps() })
130
129
  ] }) });
131
130
  if (asChild && isValidElement(children)) {
@@ -141,14 +140,14 @@ var Button = forwardRef((originalProps, ref) => {
141
140
  (_c = baseProps.onClick) == null ? void 0 : _c.call(baseProps, e);
142
141
  },
143
142
  onMouseDown: (e) => {
144
- var _a, _b, _c;
143
+ var _a, _b;
145
144
  (_b = (_a = childElement.props).onMouseDown) == null ? void 0 : _b.call(_a, e);
146
- (_c = baseProps.onMouseDown) == null ? void 0 : _c.call(baseProps, e);
145
+ baseProps.onMouseDown(e);
147
146
  },
148
- children: /* @__PURE__ */ jsx(Fragment, { children: originalProps.isLoading ? renderContent(/* @__PURE__ */ jsx(Icon_default, { name: "loading", className: "animate-spin" })) : /* @__PURE__ */ jsxs(Fragment, { children: [
149
- startContent && renderContent(startContent),
147
+ children: /* @__PURE__ */ jsx(Fragment, { children: originalProps.isLoading ? renderContent(/* @__PURE__ */ jsx(Icon_default, { className: "animate-spin", name: "loading" })) : /* @__PURE__ */ jsxs(Fragment, { children: [
148
+ startContent ? renderContent(startContent) : null,
150
149
  childElement.props.children,
151
- endContent && renderContent(endContent),
150
+ endContent ? renderContent(endContent) : null,
152
151
  !disableRipple && /* @__PURE__ */ jsx(ripple_default, { ...getRippleProps() })
153
152
  ] }) })
154
153
  };
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import {
3
3
  mapPropsVariants
4
- } from "./chunk-E3G5QXSH.mjs";
4
+ } from "./chunk-UWT2WB6H.mjs";
5
5
  import {
6
6
  tv
7
7
  } from "./chunk-UP6RPQDX.mjs";
@@ -72,7 +72,7 @@ var SimpleBarChartComponent = forwardRef((originalProps, ref) => {
72
72
  const handleMouseLeave = () => {
73
73
  setTooltipState(null);
74
74
  };
75
- const CustomBarShape = ({ x, y, width, height, fill }) => {
75
+ function CustomBarShape({ x, y, width, height, fill }) {
76
76
  const radius = 4;
77
77
  const extraHeight = 10;
78
78
  const adjustedHeight = height + extraHeight;
@@ -84,23 +84,23 @@ var SimpleBarChartComponent = forwardRef((originalProps, ref) => {
84
84
  d: `M${x},${bottomY} L${x},${adjustedY + radius} Q${x},${adjustedY} ${x + radius},${adjustedY} L${x + width - radius},${adjustedY} Q${x + width},${adjustedY} ${x + width},${adjustedY + radius} L${x + width},${bottomY} Z`,
85
85
  fill
86
86
  }
87
- ) : /* @__PURE__ */ jsx("rect", { x, y, width, height: 0, fill });
88
- };
89
- const CustomTick = ({ x, y, payload }) => {
87
+ ) : /* @__PURE__ */ jsx("rect", { fill, height: 0, width, x, y });
88
+ }
89
+ function CustomTick({ x, y, payload }) {
90
90
  return /* @__PURE__ */ jsx(
91
91
  "text",
92
92
  {
93
- x,
94
- y: y + 14,
95
- textAnchor: "middle",
93
+ className: "text-body-foreground",
94
+ fill: "currentColor",
96
95
  fontSize: 12,
97
96
  fontWeight: 700,
98
- fill: "currentColor",
99
- className: "text-body-foreground",
97
+ textAnchor: "middle",
98
+ x,
99
+ y: y + 14,
100
100
  children: payload.value
101
101
  }
102
102
  );
103
- };
103
+ }
104
104
  useLayoutEffect(() => {
105
105
  if (!tooltipState || !chartRef.current || !tooltipRef.current) return;
106
106
  const chartRect = chartRef.current.getBoundingClientRect();
@@ -119,7 +119,6 @@ var SimpleBarChartComponent = forwardRef((originalProps, ref) => {
119
119
  return /* @__PURE__ */ jsxs(
120
120
  "div",
121
121
  {
122
- ref: chartRef,
123
122
  className: slots.base({ class: classNames == null ? void 0 : classNames.base }),
124
123
  onMouseLeave: handleMouseLeave,
125
124
  onMouseMove: (e) => {
@@ -128,63 +127,64 @@ var SimpleBarChartComponent = forwardRef((originalProps, ref) => {
128
127
  setTooltipState(null);
129
128
  }
130
129
  },
130
+ ref: chartRef,
131
131
  children: [
132
- label && /* @__PURE__ */ jsx("p", { className: slots.label({ class: classNames == null ? void 0 : classNames.label }), children: label }),
133
- /* @__PURE__ */ jsx(ResponsiveContainer, { width: "100%", height: 140, children: /* @__PURE__ */ jsxs(
132
+ label ? /* @__PURE__ */ jsx("p", { className: slots.label({ class: classNames == null ? void 0 : classNames.label }), children: label }) : null,
133
+ /* @__PURE__ */ jsx(ResponsiveContainer, { height: 140, width: "100%", children: /* @__PURE__ */ jsxs(
134
134
  BarChart,
135
135
  {
136
- data,
137
- margin: { left: 0, right: 0, top: 0, bottom: 0 },
138
- barSize: 10,
139
136
  barGap,
137
+ barSize: 10,
140
138
  className: "[&_.recharts-surface]:outline-none [&_.recharts-surface]:focus:outline-none",
139
+ data,
140
+ margin: { left: 0, right: 0, top: 0, bottom: 0 },
141
141
  children: [
142
142
  /* @__PURE__ */ jsx(
143
143
  CartesianGrid,
144
144
  {
145
- vertical: true,
145
+ className: "stroke-neutral-light",
146
146
  horizontal: false,
147
147
  strokeDasharray: "4 4",
148
- className: "stroke-neutral-light",
148
+ vertical: true,
149
149
  verticalPoints: tickPositions
150
150
  }
151
151
  ),
152
152
  /* @__PURE__ */ jsx(
153
153
  CartesianGrid,
154
154
  {
155
- vertical: true,
155
+ className: "stroke-neutral-light",
156
156
  horizontal: false,
157
157
  strokeDasharray: "0",
158
158
  strokeWidth: 2,
159
- className: "stroke-neutral-light",
159
+ vertical: true,
160
160
  verticalPoints: [0]
161
161
  }
162
162
  ),
163
163
  /* @__PURE__ */ jsx(
164
164
  XAxis,
165
165
  {
166
- dataKey: "title",
167
166
  axisLine: { stroke: "#DFE2E7", strokeWidth: 1 },
168
- tickLine: false,
167
+ dataKey: "title",
168
+ padding: { left: 0, right: 0 },
169
169
  tick: CustomTick,
170
- padding: { left: 0, right: 0 }
170
+ tickLine: false
171
171
  }
172
172
  ),
173
- /* @__PURE__ */ jsx(YAxis, { hide: true, ticks: yAxisTicks, domain: yAxisDomain }),
173
+ /* @__PURE__ */ jsx(YAxis, { domain: yAxisDomain, hide: true, ticks: yAxisTicks }),
174
174
  /* @__PURE__ */ jsx(
175
175
  Bar,
176
176
  {
177
177
  dataKey: "value",
178
178
  fill: "#C7E5FA",
179
- shape: CustomBarShape,
180
179
  onMouseEnter: handleMouseEnter,
181
- onMouseLeave: handleMouseLeave
180
+ onMouseLeave: handleMouseLeave,
181
+ shape: CustomBarShape
182
182
  }
183
183
  )
184
184
  ]
185
185
  }
186
186
  ) }),
187
- tooltipFormatter && /* @__PURE__ */ jsx(
187
+ tooltipFormatter ? /* @__PURE__ */ jsx(
188
188
  "div",
189
189
  {
190
190
  ref: tooltipRef,
@@ -200,9 +200,9 @@ var SimpleBarChartComponent = forwardRef((originalProps, ref) => {
200
200
  width: "fit-content",
201
201
  whiteSpace: "nowrap"
202
202
  },
203
- children: tooltipState && tooltipFormatter(tooltipState)
203
+ children: tooltipState ? tooltipFormatter(tooltipState) : null
204
204
  }
205
- )
205
+ ) : null
206
206
  ]
207
207
  }
208
208
  );
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import {
3
3
  clsx
4
- } from "./chunk-27Y6K5NK.mjs";
4
+ } from "./chunk-KJFYLLMP.mjs";
5
5
  import {
6
6
  tv
7
7
  } from "./chunk-UP6RPQDX.mjs";
@@ -15,7 +15,7 @@ var ButtonGroup = forwardRef(
15
15
  const validChildren = React.Children.toArray(children).filter(isValidElement);
16
16
  const lastValidIndex = validChildren.length - 1;
17
17
  let validIndex = -1;
18
- return /* @__PURE__ */ jsx("div", { ref, className: buttonGroup({ full, className: classNames == null ? void 0 : classNames.base }), children: React.Children.map(children, (child) => {
18
+ return /* @__PURE__ */ jsx("div", { className: buttonGroup({ full, className: classNames == null ? void 0 : classNames.base }), ref, children: React.Children.map(children, (child) => {
19
19
  var _a, _b;
20
20
  if (!isValidElement(child)) return child;
21
21
  const childElement = child;