@customafk/lunas-ui 0.0.7 → 0.0.8

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 (625) hide show
  1. package/dist/{add-new-BaABbnol.js → add-new-C--Ee4bj.js} +1 -2
  2. package/dist/{add-new-DUoS_-n2.cjs → add-new-pfLdk0Hp.cjs} +1 -2
  3. package/dist/{alert-dialog-0KwdjY-6.js → alert-dialog-CQa0TLlF.js} +1 -2
  4. package/dist/{alert-dialog-D5ZqgIiC.cjs → alert-dialog-D1DFrl-0.cjs} +1 -2
  5. package/dist/badge-D_qEoSL8.js +1 -2
  6. package/dist/{badge-CRXT2dH_.cjs → badge-DfSj5nwV.cjs} +1 -2
  7. package/dist/button-Bku3bKv9.js +1 -2
  8. package/dist/button-CS0x-mYR.d.cts +22 -0
  9. package/dist/button-CxHABSnr.d.ts +22 -0
  10. package/dist/{button-Dzv_nos1.cjs → button-CycE0WzB.cjs} +1 -2
  11. package/dist/calendar-DaYVxwJx.js +1 -0
  12. package/dist/calendar-DzAxQqFI.cjs +1 -0
  13. package/dist/{card-Dta5eW8u.cjs → card-D7C05tvk.cjs} +1 -2
  14. package/dist/card-D8cxRC5y.js +1 -2
  15. package/dist/cards/simple-card.cjs +1 -2
  16. package/dist/cards/simple-card.d.cts +3 -3
  17. package/dist/cards/simple-card.d.ts +3 -3
  18. package/dist/cards/simple-card.js +1 -2
  19. package/dist/chunk-hhQzssFb.cjs +1 -0
  20. package/dist/command-BfYiUikG.d.cts +52 -0
  21. package/dist/{command-CsntVmEz.cjs → command-CkGJbvFq.cjs} +1 -2
  22. package/dist/command-CycGGWOh.d.ts +52 -0
  23. package/dist/{command-_L9bD9a-.js → command-Ir_Vqgds.js} +1 -2
  24. package/dist/data-display/country.cjs +1 -2
  25. package/dist/data-display/country.d.cts +1 -2
  26. package/dist/data-display/country.d.ts +2 -3
  27. package/dist/data-display/country.js +1 -2
  28. package/dist/data-display/data-list.cjs +1 -2
  29. package/dist/data-display/data-list.d.cts +1 -2
  30. package/dist/data-display/data-list.d.ts +1 -2
  31. package/dist/data-display/data-list.js +1 -2
  32. package/dist/data-display/date.cjs +1 -1
  33. package/dist/data-display/date.d.cts +1 -2
  34. package/dist/data-display/date.d.ts +1 -2
  35. package/dist/data-display/empty.cjs +1 -2
  36. package/dist/data-display/empty.d.cts +4 -3
  37. package/dist/data-display/empty.d.ts +4 -3
  38. package/dist/data-display/empty.js +1 -2
  39. package/dist/data-display/name.cjs +1 -2
  40. package/dist/data-display/name.d.cts +1 -2
  41. package/dist/data-display/name.d.ts +1 -2
  42. package/dist/data-display/name.js +1 -2
  43. package/dist/data-display/phone-number.cjs +1 -2
  44. package/dist/data-display/phone-number.d.cts +1 -2
  45. package/dist/data-display/phone-number.d.ts +1 -2
  46. package/dist/data-display/phone-number.js +1 -2
  47. package/dist/data-display/role-badge.cjs +1 -2
  48. package/dist/data-display/role-badge.d.cts +1 -2
  49. package/dist/data-display/role-badge.d.ts +2 -3
  50. package/dist/data-display/role-badge.js +1 -2
  51. package/dist/data-display/statistic.cjs +1 -2
  52. package/dist/data-display/statistic.d.cts +26 -3
  53. package/dist/data-display/statistic.d.ts +26 -3
  54. package/dist/data-display/statistic.js +1 -2
  55. package/dist/date-BMq_DNsv.js +1 -2
  56. package/dist/{date-nd8WkPlx.cjs → date-ByLOGsKl.cjs} +1 -2
  57. package/dist/{dialog-D3VF5qxy.d.cts → dialog-B13T--98.d.ts} +12 -12
  58. package/dist/{dialog-W-DmDMEE.cjs → dialog-B3cQOpjg.cjs} +1 -2
  59. package/dist/{dialog-C4hf-Puw.js → dialog-BLDh3Gqw.js} +1 -2
  60. package/dist/{dialog-MLCAvDJH.d.ts → dialog-Dspjpsjh.d.cts} +12 -12
  61. package/dist/dialogs/confirm-dialog.cjs +1 -2
  62. package/dist/dialogs/confirm-dialog.d.cts +1 -2
  63. package/dist/dialogs/confirm-dialog.d.ts +1 -2
  64. package/dist/dialogs/confirm-dialog.js +1 -2
  65. package/dist/dialogs/detail-dialog/index.cjs +1 -2
  66. package/dist/dialogs/detail-dialog/index.d.cts +1 -2
  67. package/dist/dialogs/detail-dialog/index.d.ts +1 -2
  68. package/dist/dialogs/detail-dialog/index.js +1 -2
  69. package/dist/dialogs/error-dialog.cjs +1 -1
  70. package/dist/dialogs/error-dialog.d.cts +1 -2
  71. package/dist/dialogs/error-dialog.d.ts +1 -2
  72. package/dist/dialogs/error-dialog.js +1 -1
  73. package/dist/dialogs/form-dialog.cjs +1 -2
  74. package/dist/dialogs/form-dialog.d.cts +3 -3
  75. package/dist/dialogs/form-dialog.d.ts +3 -3
  76. package/dist/dialogs/form-dialog.js +1 -2
  77. package/dist/dialogs/loading-dialog.cjs +1 -2
  78. package/dist/dialogs/loading-dialog.d.cts +1 -2
  79. package/dist/dialogs/loading-dialog.d.ts +1 -2
  80. package/dist/dialogs/loading-dialog.js +1 -2
  81. package/dist/{dropdown-menu-Bv18S56o.cjs → dropdown-menu-CPvB_jOC.cjs} +1 -2
  82. package/dist/{dropdown-menu-jCQwh2rG.js → dropdown-menu-Cx-Wime0.js} +1 -2
  83. package/dist/{error-dialog-DpQgL5Hy.cjs → error-dialog-BTjeT7x-.cjs} +1 -2
  84. package/dist/{error-dialog-D_4WL-Hj.js → error-dialog-DlhosP10.js} +1 -2
  85. package/dist/flex-ILvQrYMJ.js +1 -2
  86. package/dist/{flex-CNA_SId-.cjs → flex-yTyoLpgH.cjs} +1 -2
  87. package/dist/form-CA4hhSV5.js +1 -2
  88. package/dist/{form-CYZkgobJ.cjs → form-C_PCHrpx.cjs} +1 -2
  89. package/dist/{form-wrapper-BYbwt1zC.cjs → form-wrapper-CCqogufb.cjs} +1 -2
  90. package/dist/{form-wrapper-D-2Uz518.js → form-wrapper-YPIbD8rh.js} +1 -2
  91. package/dist/forms/combobox-field.cjs +41 -0
  92. package/dist/forms/combobox-field.d.cts +27 -0
  93. package/dist/forms/combobox-field.d.ts +27 -0
  94. package/dist/forms/combobox-field.js +41 -0
  95. package/dist/forms/date-field.cjs +1 -0
  96. package/dist/forms/date-field.d.cts +21 -0
  97. package/dist/forms/date-field.d.ts +21 -0
  98. package/dist/forms/date-field.js +1 -0
  99. package/dist/forms/form-wrapper.cjs +1 -1
  100. package/dist/forms/form-wrapper.d.cts +3 -3
  101. package/dist/forms/form-wrapper.d.ts +3 -3
  102. package/dist/forms/form-wrapper.js +1 -1
  103. package/dist/forms/multi-select-field.cjs +1 -0
  104. package/dist/forms/multi-select-field.d.cts +29 -0
  105. package/dist/forms/multi-select-field.d.ts +29 -0
  106. package/dist/forms/multi-select-field.js +1 -0
  107. package/dist/forms/number-field.cjs +1 -0
  108. package/dist/forms/number-field.d.cts +27 -0
  109. package/dist/forms/number-field.d.ts +27 -0
  110. package/dist/forms/number-field.js +1 -0
  111. package/dist/forms/password-field.cjs +1 -0
  112. package/dist/forms/password-field.d.cts +22 -0
  113. package/dist/forms/password-field.d.ts +22 -0
  114. package/dist/forms/password-field.js +1 -0
  115. package/dist/forms/select-field.cjs +1 -0
  116. package/dist/forms/select-field.d.cts +32 -0
  117. package/dist/forms/select-field.d.ts +32 -0
  118. package/dist/forms/select-field.js +1 -0
  119. package/dist/forms/switch-field.cjs +1 -0
  120. package/dist/forms/switch-field.d.cts +18 -0
  121. package/dist/forms/switch-field.d.ts +18 -0
  122. package/dist/forms/switch-field.js +1 -0
  123. package/dist/forms/text-field.cjs +1 -0
  124. package/dist/forms/text-field.d.cts +30 -0
  125. package/dist/forms/text-field.d.ts +30 -0
  126. package/dist/forms/text-field.js +1 -0
  127. package/dist/forms/textarea-field.cjs +1 -0
  128. package/dist/forms/textarea-field.d.cts +26 -0
  129. package/dist/forms/textarea-field.d.ts +26 -0
  130. package/dist/forms/textarea-field.js +1 -0
  131. package/dist/{input-D0Phuz25.d.cts → input-BcIy0lq8.d.cts} +3 -3
  132. package/dist/{input-DXEBB91E.cjs → input-C8Sebaue.cjs} +1 -2
  133. package/dist/{input-tHIKXxVS.d.ts → input-Cux9upuQ.d.ts} +3 -3
  134. package/dist/{input-FzKbxUq2.js → input-Dmaq3fzf.js} +1 -2
  135. package/dist/label-Cxbctr6x.js +1 -2
  136. package/dist/{label-CunjD1rx.cjs → label-i858Jr98.cjs} +1 -2
  137. package/dist/layouts/flex.cjs +1 -1
  138. package/dist/layouts/flex.d.cts +14 -4
  139. package/dist/layouts/flex.d.ts +14 -4
  140. package/dist/layouts/main/index.cjs +1 -2
  141. package/dist/layouts/main/index.d.cts +14 -5
  142. package/dist/layouts/main/index.d.ts +14 -5
  143. package/dist/layouts/main/index.js +1 -2
  144. package/dist/multi-select-DZBXSr7F.cjs +1 -0
  145. package/dist/multi-select-LYl29d4h.js +1 -0
  146. package/dist/paragraph-Bey03JkA.js +1 -2
  147. package/dist/{paragraph-ZxI8zxuf.cjs → paragraph-DWQ0PZt_.cjs} +1 -2
  148. package/dist/popover-Ce0OTSQL.cjs +1 -0
  149. package/dist/popover-tDri6Ded.js +1 -0
  150. package/dist/{progress-BnnOfAZN.cjs → progress-CHh9eRZi.cjs} +1 -2
  151. package/dist/{progress-CBccqUUJ.js → progress-CeXKNvJc.js} +1 -2
  152. package/dist/{refresh-BHt_h3N_.js → refresh-BPlmkCzH.js} +1 -2
  153. package/dist/{refresh-DrolZxuC.cjs → refresh-Dtz354hW.cjs} +1 -2
  154. package/dist/{scroll-area-DWWpaz5j.cjs → scroll-area-Ba9RvkDf.cjs} +1 -2
  155. package/dist/{scroll-area-Bdb_LSFF.js → scroll-area-D-IhBWqm.js} +1 -2
  156. package/dist/{search-input-L2sq0eB0.js → search-input-BG4-fO9W.js} +1 -2
  157. package/dist/{search-input-Bf4-FeWu.cjs → search-input-DVMQEBvb.cjs} +1 -2
  158. package/dist/{select-CWUsisI0.js → select-4IO3vAjO.js} +1 -2
  159. package/dist/{select-ZSyt5zCe.cjs → select-UsiicIRo.cjs} +1 -2
  160. package/dist/{separator-DTB3sDNG.cjs → separator-D4iTmsID.cjs} +1 -2
  161. package/dist/{separator-BpsL0PlX.js → separator-DMdqEz29.js} +1 -2
  162. package/dist/{separator-COXs-I-Q.d.cts → separator-DtZ0fiIK.d.cts} +3 -3
  163. package/dist/{separator-2cwfp8qT.d.ts → separator-J8f9PdbI.d.ts} +3 -3
  164. package/dist/{sheet-C8r2QGpq.js → sheet-2JqHfdYi.js} +1 -2
  165. package/dist/{sheet-CCwbAaA6.cjs → sheet-Dr-a3-o2.cjs} +1 -2
  166. package/dist/{sidebar-C166f_9B.js → sidebar-COBzB7S8.js} +1 -2
  167. package/dist/{sidebar-BLPMNltJ.cjs → sidebar-gXuaHBie.cjs} +1 -2
  168. package/dist/skeleton-BTQm_mtV.cjs +1 -0
  169. package/dist/{skeleton-DYmX0k94.js → skeleton-D1_Brnl9.js} +1 -2
  170. package/dist/switch-BlK-TC1h.js +1 -0
  171. package/dist/switch-CoP3UwNk.cjs +1 -0
  172. package/dist/table/index.cjs +1 -2
  173. package/dist/table/index.d.cts +3 -3
  174. package/dist/table/index.d.ts +3 -3
  175. package/dist/table/index.js +1 -2
  176. package/dist/{table-BSeev7T0.cjs → table-C46bXpzd.cjs} +1 -2
  177. package/dist/{table-BvA64mE8.js → table-nHFRC3DG.js} +1 -2
  178. package/dist/textarea-Dz6npuI4.cjs +1 -0
  179. package/dist/textarea-dM1DYNfF.js +1 -0
  180. package/dist/{title-xsPZpQpb.cjs → title-BlLBscIg.cjs} +1 -2
  181. package/dist/title-DTkABsIG.js +1 -2
  182. package/dist/toggle-3yC7NgOb.d.ts +19 -0
  183. package/dist/toggle-8wPArWPq.d.cts +19 -0
  184. package/dist/{toggle-D_MDMruK.js → toggle-CHJ2edke.js} +1 -2
  185. package/dist/{toggle-CfL3GVe2.cjs → toggle-CzMYdDvC.cjs} +1 -2
  186. package/dist/{tooltip-Cjuu_Ld4.d.ts → tooltip-Bo9id3nz.d.ts} +6 -6
  187. package/dist/tooltip-Dzyf5smh.js +1 -2
  188. package/dist/{tooltip-Dk4HsZVR.d.cts → tooltip-JbjxxBNd.d.cts} +6 -6
  189. package/dist/{tooltip-Beb-_EPp.cjs → tooltip-MgToVOzy.cjs} +1 -2
  190. package/dist/types-B0V1F4Ml.d.cts +1 -2
  191. package/dist/{types-DLrIc2fL.d.ts → types-CmcNT14g.d.ts} +1 -2
  192. package/dist/types-CrbWxjnp.cjs +1 -2
  193. package/dist/types-DaIHddx7.js +1 -2
  194. package/dist/typography/paragraph.cjs +1 -1
  195. package/dist/typography/paragraph.d.cts +3 -3
  196. package/dist/typography/paragraph.d.ts +3 -3
  197. package/dist/typography/title.cjs +1 -1
  198. package/dist/typography/title.d.cts +4 -3
  199. package/dist/typography/title.d.ts +4 -3
  200. package/dist/ui/alert-dialog.cjs +1 -1
  201. package/dist/ui/alert-dialog.d.cts +13 -13
  202. package/dist/ui/alert-dialog.d.ts +13 -13
  203. package/dist/ui/alert-dialog.js +1 -1
  204. package/dist/ui/alert.cjs +1 -2
  205. package/dist/ui/alert.d.cts +9 -6
  206. package/dist/ui/alert.d.ts +9 -6
  207. package/dist/ui/alert.js +1 -2
  208. package/dist/ui/aspect-ratio.cjs +1 -2
  209. package/dist/ui/aspect-ratio.d.cts +3 -3
  210. package/dist/ui/aspect-ratio.d.ts +3 -3
  211. package/dist/ui/aspect-ratio.js +1 -2
  212. package/dist/ui/avatar.cjs +1 -2
  213. package/dist/ui/avatar.d.cts +5 -5
  214. package/dist/ui/avatar.d.ts +5 -5
  215. package/dist/ui/avatar.js +1 -2
  216. package/dist/ui/badge.cjs +1 -1
  217. package/dist/ui/badge.d.cts +9 -4
  218. package/dist/ui/badge.d.ts +9 -4
  219. package/dist/ui/breadcrumb.cjs +1 -2
  220. package/dist/ui/breadcrumb.d.cts +9 -9
  221. package/dist/ui/breadcrumb.d.ts +9 -9
  222. package/dist/ui/breadcrumb.js +1 -2
  223. package/dist/ui/button.cjs +1 -1
  224. package/dist/ui/button.d.cts +1 -1
  225. package/dist/ui/button.d.ts +1 -1
  226. package/dist/ui/buttons/add-new.cjs +1 -1
  227. package/dist/ui/buttons/add-new.d.cts +1 -2
  228. package/dist/ui/buttons/add-new.d.ts +1 -2
  229. package/dist/ui/buttons/add-new.js +1 -1
  230. package/dist/ui/buttons/refresh.cjs +1 -1
  231. package/dist/ui/buttons/refresh.d.cts +1 -2
  232. package/dist/ui/buttons/refresh.d.ts +1 -2
  233. package/dist/ui/buttons/refresh.js +1 -1
  234. package/dist/ui/calendar.cjs +1 -2
  235. package/dist/ui/calendar.d.cts +5 -5
  236. package/dist/ui/calendar.d.ts +5 -5
  237. package/dist/ui/calendar.js +1 -2
  238. package/dist/ui/card.cjs +1 -1
  239. package/dist/ui/card.d.cts +9 -9
  240. package/dist/ui/card.d.ts +9 -9
  241. package/dist/ui/carousel.cjs +1 -2
  242. package/dist/ui/carousel.d.cts +8 -8
  243. package/dist/ui/carousel.d.ts +8 -8
  244. package/dist/ui/carousel.js +1 -2
  245. package/dist/ui/collapsible.cjs +1 -2
  246. package/dist/ui/collapsible.d.cts +5 -5
  247. package/dist/ui/collapsible.d.ts +5 -5
  248. package/dist/ui/collapsible.js +1 -2
  249. package/dist/ui/command.cjs +1 -1
  250. package/dist/ui/command.d.cts +3 -52
  251. package/dist/ui/command.d.ts +3 -52
  252. package/dist/ui/command.js +1 -1
  253. package/dist/ui/context-menu.cjs +1 -2
  254. package/dist/ui/context-menu.d.cts +17 -17
  255. package/dist/ui/context-menu.d.ts +17 -17
  256. package/dist/ui/context-menu.js +1 -2
  257. package/dist/ui/dialog.cjs +1 -1
  258. package/dist/ui/dialog.d.cts +1 -1
  259. package/dist/ui/dialog.d.ts +1 -1
  260. package/dist/ui/dialog.js +1 -1
  261. package/dist/ui/dropdown-menu.cjs +1 -1
  262. package/dist/ui/dropdown-menu.d.cts +17 -17
  263. package/dist/ui/dropdown-menu.d.ts +17 -17
  264. package/dist/ui/dropdown-menu.js +1 -1
  265. package/dist/ui/file-uploader.cjs +2 -3
  266. package/dist/ui/file-uploader.d.cts +3 -3
  267. package/dist/ui/file-uploader.d.ts +3 -3
  268. package/dist/ui/file-uploader.js +2 -3
  269. package/dist/ui/form.cjs +1 -1
  270. package/dist/ui/form.d.cts +24 -10
  271. package/dist/ui/form.d.ts +24 -10
  272. package/dist/ui/hover-card.cjs +1 -2
  273. package/dist/ui/hover-card.d.cts +5 -5
  274. package/dist/ui/hover-card.d.ts +5 -5
  275. package/dist/ui/hover-card.js +1 -2
  276. package/dist/ui/input-otp.cjs +1 -2
  277. package/dist/ui/input-otp.d.cts +6 -6
  278. package/dist/ui/input-otp.d.ts +6 -6
  279. package/dist/ui/input-otp.js +1 -2
  280. package/dist/ui/input.cjs +1 -1
  281. package/dist/ui/input.d.cts +1 -1
  282. package/dist/ui/input.d.ts +1 -1
  283. package/dist/ui/input.js +1 -1
  284. package/dist/ui/inputs/search-input.cjs +1 -1
  285. package/dist/ui/inputs/search-input.d.cts +4 -4
  286. package/dist/ui/inputs/search-input.d.ts +4 -4
  287. package/dist/ui/inputs/search-input.js +1 -1
  288. package/dist/ui/label.cjs +1 -1
  289. package/dist/ui/label.d.cts +3 -3
  290. package/dist/ui/label.d.ts +3 -3
  291. package/dist/ui/menubar.cjs +1 -2
  292. package/dist/ui/menubar.d.cts +18 -18
  293. package/dist/ui/menubar.d.ts +18 -18
  294. package/dist/ui/menubar.js +1 -2
  295. package/dist/ui/multi-select.cjs +1 -2
  296. package/dist/ui/multi-select.d.cts +62 -3
  297. package/dist/ui/multi-select.d.ts +62 -3
  298. package/dist/ui/multi-select.js +1 -2
  299. package/dist/ui/navigation-menu.cjs +1 -2
  300. package/dist/ui/navigation-menu.d.cts +12 -11
  301. package/dist/ui/navigation-menu.d.ts +12 -11
  302. package/dist/ui/navigation-menu.js +1 -2
  303. package/dist/ui/pagination.cjs +1 -2
  304. package/dist/ui/pagination.d.cts +10 -10
  305. package/dist/ui/pagination.d.ts +10 -10
  306. package/dist/ui/pagination.js +1 -2
  307. package/dist/ui/popover.cjs +1 -2
  308. package/dist/ui/popover.d.cts +6 -6
  309. package/dist/ui/popover.d.ts +6 -6
  310. package/dist/ui/popover.js +1 -2
  311. package/dist/ui/progress.cjs +1 -1
  312. package/dist/ui/progress.d.cts +3 -3
  313. package/dist/ui/progress.d.ts +3 -3
  314. package/dist/ui/progress.js +1 -1
  315. package/dist/ui/radio-group.cjs +1 -2
  316. package/dist/ui/radio-group.d.cts +4 -4
  317. package/dist/ui/radio-group.d.ts +4 -4
  318. package/dist/ui/radio-group.js +1 -2
  319. package/dist/ui/resizable.cjs +1 -2
  320. package/dist/ui/resizable.d.cts +5 -5
  321. package/dist/ui/resizable.d.ts +5 -5
  322. package/dist/ui/resizable.js +1 -2
  323. package/dist/ui/scroll-area.cjs +1 -1
  324. package/dist/ui/scroll-area.d.cts +4 -4
  325. package/dist/ui/scroll-area.d.ts +4 -4
  326. package/dist/ui/scroll-area.js +1 -1
  327. package/dist/ui/select.cjs +1 -1
  328. package/dist/ui/select.d.cts +12 -12
  329. package/dist/ui/select.d.ts +12 -12
  330. package/dist/ui/select.js +1 -1
  331. package/dist/ui/separator.cjs +1 -1
  332. package/dist/ui/separator.d.cts +1 -1
  333. package/dist/ui/separator.d.ts +1 -1
  334. package/dist/ui/separator.js +1 -1
  335. package/dist/ui/sheet.cjs +1 -1
  336. package/dist/ui/sheet.d.cts +10 -10
  337. package/dist/ui/sheet.d.ts +10 -10
  338. package/dist/ui/sheet.js +1 -1
  339. package/dist/ui/sidebar.cjs +1 -1
  340. package/dist/ui/sidebar.d.cts +44 -31
  341. package/dist/ui/sidebar.d.ts +44 -31
  342. package/dist/ui/sidebar.js +1 -1
  343. package/dist/ui/skeleton.cjs +1 -1
  344. package/dist/ui/skeleton.d.cts +3 -3
  345. package/dist/ui/skeleton.d.ts +3 -3
  346. package/dist/ui/skeleton.js +1 -1
  347. package/dist/ui/slider.cjs +1 -2
  348. package/dist/ui/slider.d.cts +3 -3
  349. package/dist/ui/slider.d.ts +3 -3
  350. package/dist/ui/slider.js +1 -2
  351. package/dist/ui/sonner.cjs +1 -2
  352. package/dist/ui/sonner.d.cts +4 -3
  353. package/dist/ui/sonner.d.ts +4 -3
  354. package/dist/ui/sonner.js +1 -2
  355. package/dist/ui/switch.cjs +1 -2
  356. package/dist/ui/switch.d.cts +3 -3
  357. package/dist/ui/switch.d.ts +3 -3
  358. package/dist/ui/switch.js +1 -2
  359. package/dist/ui/table.cjs +1 -1
  360. package/dist/ui/table.d.cts +10 -10
  361. package/dist/ui/table.d.ts +10 -10
  362. package/dist/ui/table.js +1 -1
  363. package/dist/ui/tabs.cjs +1 -2
  364. package/dist/ui/tabs.d.cts +6 -6
  365. package/dist/ui/tabs.d.ts +6 -6
  366. package/dist/ui/tabs.js +1 -2
  367. package/dist/ui/textarea.cjs +1 -2
  368. package/dist/ui/textarea.d.cts +3 -3
  369. package/dist/ui/textarea.d.ts +3 -3
  370. package/dist/ui/textarea.js +1 -2
  371. package/dist/ui/toggle-group.cjs +1 -2
  372. package/dist/ui/toggle-group.d.cts +5 -5
  373. package/dist/ui/toggle-group.d.ts +5 -5
  374. package/dist/ui/toggle-group.js +1 -2
  375. package/dist/ui/toggle.cjs +1 -1
  376. package/dist/ui/toggle.d.cts +1 -1
  377. package/dist/ui/toggle.d.ts +1 -1
  378. package/dist/ui/toggle.js +1 -1
  379. package/dist/ui/tooltip.cjs +1 -1
  380. package/dist/ui/tooltip.d.cts +1 -1
  381. package/dist/ui/tooltip.d.ts +1 -1
  382. package/dist/utils-D9AH0PUV.js +1 -2
  383. package/dist/utils-DaJ1XZgX.cjs +1 -0
  384. package/package.json +51 -4
  385. package/packages/components/cards/simple-card.tsx +37 -0
  386. package/packages/components/data-display/country.tsx +59 -0
  387. package/packages/components/data-display/data-list.tsx +38 -0
  388. package/packages/components/data-display/date.tsx +215 -0
  389. package/packages/components/data-display/empty.tsx +25 -0
  390. package/packages/components/data-display/name.tsx +25 -0
  391. package/packages/components/data-display/phone-number.tsx +22 -0
  392. package/packages/components/data-display/role-badge.tsx +33 -0
  393. package/packages/components/data-display/statistic.tsx +141 -0
  394. package/packages/components/dialogs/confirm-dialog.tsx +51 -0
  395. package/packages/components/dialogs/detail-dialog/component/header.tsx +14 -0
  396. package/packages/components/dialogs/detail-dialog/component/main.tsx +39 -0
  397. package/packages/components/dialogs/detail-dialog/component/sidebar.tsx +747 -0
  398. package/packages/components/dialogs/detail-dialog/component/wrapper.tsx +17 -0
  399. package/packages/components/dialogs/detail-dialog/index.tsx +100 -0
  400. package/packages/components/dialogs/error-dialog.tsx +48 -0
  401. package/packages/components/dialogs/form-dialog.tsx +106 -0
  402. package/packages/components/dialogs/loading-dialog.tsx +23 -0
  403. package/packages/components/forms/combobox-field.tsx +113 -0
  404. package/packages/components/forms/date-field.tsx +65 -0
  405. package/packages/components/forms/form-wrapper.tsx +146 -0
  406. package/packages/components/forms/multi-select-field.tsx +56 -0
  407. package/packages/components/forms/number-field.tsx +56 -0
  408. package/packages/components/forms/password-field.tsx +38 -0
  409. package/packages/components/forms/select-field.tsx +58 -0
  410. package/packages/components/forms/switch-field.tsx +42 -0
  411. package/packages/components/forms/text-field.tsx +80 -0
  412. package/packages/components/forms/textarea-field.tsx +53 -0
  413. package/packages/components/index.tsx +0 -0
  414. package/packages/components/layouts/flex.tsx +110 -0
  415. package/packages/components/layouts/main/content.tsx +11 -0
  416. package/packages/components/layouts/main/header.tsx +53 -0
  417. package/packages/components/layouts/main/index.tsx +3 -0
  418. package/packages/components/layouts/main/wrapper.tsx +5 -0
  419. package/packages/components/table/data-table-pagination.tsx +99 -0
  420. package/packages/components/table/data-table.tsx +328 -0
  421. package/packages/components/table/index.tsx +126 -0
  422. package/packages/components/typography/paragraph.tsx +32 -0
  423. package/packages/components/typography/title.tsx +36 -0
  424. package/packages/components/ui/alert-dialog.tsx +173 -0
  425. package/packages/components/ui/alert.tsx +71 -0
  426. package/packages/components/ui/aspect-ratio.tsx +20 -0
  427. package/packages/components/ui/avatar.tsx +52 -0
  428. package/packages/components/ui/badge.tsx +63 -0
  429. package/packages/components/ui/breadcrumb.tsx +110 -0
  430. package/packages/components/ui/button.tsx +88 -0
  431. package/packages/components/ui/buttons/add-new.tsx +26 -0
  432. package/packages/components/ui/buttons/refresh.tsx +30 -0
  433. package/packages/components/ui/calendar.tsx +209 -0
  434. package/packages/components/ui/card.tsx +95 -0
  435. package/packages/components/ui/carousel.tsx +241 -0
  436. package/packages/components/ui/checkbox.tsx +44 -0
  437. package/packages/components/ui/collapsible.tsx +33 -0
  438. package/packages/components/ui/command.tsx +217 -0
  439. package/packages/components/ui/context-menu.tsx +258 -0
  440. package/packages/components/ui/dialog.tsx +174 -0
  441. package/packages/components/ui/dropdown-menu.tsx +318 -0
  442. package/packages/components/ui/file-uploader.tsx +372 -0
  443. package/packages/components/ui/form.tsx +168 -0
  444. package/packages/components/ui/hover-card.tsx +43 -0
  445. package/packages/components/ui/input-otp.tsx +76 -0
  446. package/packages/components/ui/input.tsx +59 -0
  447. package/packages/components/ui/inputs/number-input.tsx +325 -0
  448. package/packages/components/ui/inputs/password-input.tsx +35 -0
  449. package/packages/components/ui/inputs/search-input.tsx +24 -0
  450. package/packages/components/ui/label.tsx +29 -0
  451. package/packages/components/ui/menubar.tsx +275 -0
  452. package/packages/components/ui/multi-select.tsx +693 -0
  453. package/packages/components/ui/navigation-menu.tsx +170 -0
  454. package/packages/components/ui/pagination.tsx +128 -0
  455. package/packages/components/ui/popover.tsx +64 -0
  456. package/packages/components/ui/progress.tsx +30 -0
  457. package/packages/components/ui/radio-group.tsx +53 -0
  458. package/packages/components/ui/resizable.tsx +55 -0
  459. package/packages/components/ui/scroll-area.tsx +51 -0
  460. package/packages/components/ui/select.tsx +246 -0
  461. package/packages/components/ui/separator.tsx +27 -0
  462. package/packages/components/ui/sheet.tsx +155 -0
  463. package/packages/components/ui/sidebar.tsx +751 -0
  464. package/packages/components/ui/skeleton.tsx +15 -0
  465. package/packages/components/ui/slider.tsx +62 -0
  466. package/packages/components/ui/sonner.tsx +43 -0
  467. package/packages/components/ui/switch.tsx +52 -0
  468. package/packages/components/ui/table.tsx +118 -0
  469. package/packages/components/ui/tabs.tsx +85 -0
  470. package/packages/components/ui/textarea.tsx +47 -0
  471. package/packages/components/ui/toggle-group.tsx +72 -0
  472. package/packages/components/ui/toggle.tsx +47 -0
  473. package/packages/components/ui/tooltip.tsx +71 -0
  474. package/packages/constants.tsx +79 -0
  475. package/packages/hooks/use-callback-ref.ts +27 -0
  476. package/packages/hooks/use-controllable-state.ts +67 -0
  477. package/packages/hooks/use-mobile.ts +21 -0
  478. package/packages/index.css +392 -0
  479. package/packages/lib/utils.ts +28 -0
  480. package/packages/types.ts +50 -0
  481. package/dist/add-new-BaABbnol.js.map +0 -1
  482. package/dist/add-new-DUoS_-n2.cjs.map +0 -1
  483. package/dist/alert-dialog-0KwdjY-6.js.map +0 -1
  484. package/dist/alert-dialog-D5ZqgIiC.cjs.map +0 -1
  485. package/dist/badge-CRXT2dH_.cjs.map +0 -1
  486. package/dist/badge-D_qEoSL8.js.map +0 -1
  487. package/dist/button-Bku3bKv9.js.map +0 -1
  488. package/dist/button-D_E_bNRb.d.ts +0 -18
  489. package/dist/button-Dzv_nos1.cjs.map +0 -1
  490. package/dist/button-YHI7I64h.d.cts +0 -18
  491. package/dist/card-D8cxRC5y.js.map +0 -1
  492. package/dist/card-Dta5eW8u.cjs.map +0 -1
  493. package/dist/cards/simple-card.cjs.map +0 -1
  494. package/dist/cards/simple-card.js.map +0 -1
  495. package/dist/chunk-CUT6urMc.cjs +0 -1
  496. package/dist/command-CsntVmEz.cjs.map +0 -1
  497. package/dist/command-_L9bD9a-.js.map +0 -1
  498. package/dist/data-display/country.cjs.map +0 -1
  499. package/dist/data-display/country.js.map +0 -1
  500. package/dist/data-display/data-list.cjs.map +0 -1
  501. package/dist/data-display/data-list.js.map +0 -1
  502. package/dist/data-display/empty.cjs.map +0 -1
  503. package/dist/data-display/empty.js.map +0 -1
  504. package/dist/data-display/name.cjs.map +0 -1
  505. package/dist/data-display/name.js.map +0 -1
  506. package/dist/data-display/phone-number.cjs.map +0 -1
  507. package/dist/data-display/phone-number.js.map +0 -1
  508. package/dist/data-display/role-badge.cjs.map +0 -1
  509. package/dist/data-display/role-badge.js.map +0 -1
  510. package/dist/data-display/statistic.cjs.map +0 -1
  511. package/dist/data-display/statistic.js.map +0 -1
  512. package/dist/date-BMq_DNsv.js.map +0 -1
  513. package/dist/date-nd8WkPlx.cjs.map +0 -1
  514. package/dist/dialog-C4hf-Puw.js.map +0 -1
  515. package/dist/dialog-W-DmDMEE.cjs.map +0 -1
  516. package/dist/dialogs/confirm-dialog.cjs.map +0 -1
  517. package/dist/dialogs/confirm-dialog.js.map +0 -1
  518. package/dist/dialogs/detail-dialog/index.cjs.map +0 -1
  519. package/dist/dialogs/detail-dialog/index.js.map +0 -1
  520. package/dist/dialogs/form-dialog.cjs.map +0 -1
  521. package/dist/dialogs/form-dialog.js.map +0 -1
  522. package/dist/dialogs/loading-dialog.cjs.map +0 -1
  523. package/dist/dialogs/loading-dialog.js.map +0 -1
  524. package/dist/dropdown-menu-Bv18S56o.cjs.map +0 -1
  525. package/dist/dropdown-menu-jCQwh2rG.js.map +0 -1
  526. package/dist/error-dialog-D_4WL-Hj.js.map +0 -1
  527. package/dist/error-dialog-DpQgL5Hy.cjs.map +0 -1
  528. package/dist/flex-CNA_SId-.cjs.map +0 -1
  529. package/dist/flex-ILvQrYMJ.js.map +0 -1
  530. package/dist/form-CA4hhSV5.js.map +0 -1
  531. package/dist/form-CYZkgobJ.cjs.map +0 -1
  532. package/dist/form-wrapper-BYbwt1zC.cjs.map +0 -1
  533. package/dist/form-wrapper-D-2Uz518.js.map +0 -1
  534. package/dist/input-DXEBB91E.cjs.map +0 -1
  535. package/dist/input-FzKbxUq2.js.map +0 -1
  536. package/dist/label-CunjD1rx.cjs.map +0 -1
  537. package/dist/label-Cxbctr6x.js.map +0 -1
  538. package/dist/layouts/main/index.cjs.map +0 -1
  539. package/dist/layouts/main/index.js.map +0 -1
  540. package/dist/paragraph-Bey03JkA.js.map +0 -1
  541. package/dist/paragraph-ZxI8zxuf.cjs.map +0 -1
  542. package/dist/progress-BnnOfAZN.cjs.map +0 -1
  543. package/dist/progress-CBccqUUJ.js.map +0 -1
  544. package/dist/refresh-BHt_h3N_.js.map +0 -1
  545. package/dist/refresh-DrolZxuC.cjs.map +0 -1
  546. package/dist/scroll-area-Bdb_LSFF.js.map +0 -1
  547. package/dist/scroll-area-DWWpaz5j.cjs.map +0 -1
  548. package/dist/search-input-Bf4-FeWu.cjs.map +0 -1
  549. package/dist/search-input-L2sq0eB0.js.map +0 -1
  550. package/dist/select-CWUsisI0.js.map +0 -1
  551. package/dist/select-ZSyt5zCe.cjs.map +0 -1
  552. package/dist/separator-BpsL0PlX.js.map +0 -1
  553. package/dist/separator-DTB3sDNG.cjs.map +0 -1
  554. package/dist/sheet-C8r2QGpq.js.map +0 -1
  555. package/dist/sheet-CCwbAaA6.cjs.map +0 -1
  556. package/dist/sidebar-BLPMNltJ.cjs.map +0 -1
  557. package/dist/sidebar-C166f_9B.js.map +0 -1
  558. package/dist/skeleton-DYmX0k94.js.map +0 -1
  559. package/dist/skeleton-m3giaF4T.cjs +0 -2
  560. package/dist/skeleton-m3giaF4T.cjs.map +0 -1
  561. package/dist/table/index.cjs.map +0 -1
  562. package/dist/table/index.js.map +0 -1
  563. package/dist/table-BSeev7T0.cjs.map +0 -1
  564. package/dist/table-BvA64mE8.js.map +0 -1
  565. package/dist/title-DTkABsIG.js.map +0 -1
  566. package/dist/title-xsPZpQpb.cjs.map +0 -1
  567. package/dist/toggle-BVkMTVAz.d.ts +0 -15
  568. package/dist/toggle-CW-ZnYMy.d.cts +0 -15
  569. package/dist/toggle-CfL3GVe2.cjs.map +0 -1
  570. package/dist/toggle-D_MDMruK.js.map +0 -1
  571. package/dist/tooltip-Beb-_EPp.cjs.map +0 -1
  572. package/dist/tooltip-Dzyf5smh.js.map +0 -1
  573. package/dist/types-CrbWxjnp.cjs.map +0 -1
  574. package/dist/types-DaIHddx7.js.map +0 -1
  575. package/dist/ui/alert.cjs.map +0 -1
  576. package/dist/ui/alert.js.map +0 -1
  577. package/dist/ui/aspect-ratio.cjs.map +0 -1
  578. package/dist/ui/aspect-ratio.js.map +0 -1
  579. package/dist/ui/avatar.cjs.map +0 -1
  580. package/dist/ui/avatar.js.map +0 -1
  581. package/dist/ui/breadcrumb.cjs.map +0 -1
  582. package/dist/ui/breadcrumb.js.map +0 -1
  583. package/dist/ui/calendar.cjs.map +0 -1
  584. package/dist/ui/calendar.js.map +0 -1
  585. package/dist/ui/carousel.cjs.map +0 -1
  586. package/dist/ui/carousel.js.map +0 -1
  587. package/dist/ui/collapsible.cjs.map +0 -1
  588. package/dist/ui/collapsible.js.map +0 -1
  589. package/dist/ui/context-menu.cjs.map +0 -1
  590. package/dist/ui/context-menu.js.map +0 -1
  591. package/dist/ui/file-uploader.cjs.map +0 -1
  592. package/dist/ui/file-uploader.js.map +0 -1
  593. package/dist/ui/hover-card.cjs.map +0 -1
  594. package/dist/ui/hover-card.js.map +0 -1
  595. package/dist/ui/input-otp.cjs.map +0 -1
  596. package/dist/ui/input-otp.js.map +0 -1
  597. package/dist/ui/menubar.cjs.map +0 -1
  598. package/dist/ui/menubar.js.map +0 -1
  599. package/dist/ui/multi-select.cjs.map +0 -1
  600. package/dist/ui/multi-select.js.map +0 -1
  601. package/dist/ui/navigation-menu.cjs.map +0 -1
  602. package/dist/ui/navigation-menu.js.map +0 -1
  603. package/dist/ui/pagination.cjs.map +0 -1
  604. package/dist/ui/pagination.js.map +0 -1
  605. package/dist/ui/popover.cjs.map +0 -1
  606. package/dist/ui/popover.js.map +0 -1
  607. package/dist/ui/radio-group.cjs.map +0 -1
  608. package/dist/ui/radio-group.js.map +0 -1
  609. package/dist/ui/resizable.cjs.map +0 -1
  610. package/dist/ui/resizable.js.map +0 -1
  611. package/dist/ui/slider.cjs.map +0 -1
  612. package/dist/ui/slider.js.map +0 -1
  613. package/dist/ui/sonner.cjs.map +0 -1
  614. package/dist/ui/sonner.js.map +0 -1
  615. package/dist/ui/switch.cjs.map +0 -1
  616. package/dist/ui/switch.js.map +0 -1
  617. package/dist/ui/tabs.cjs.map +0 -1
  618. package/dist/ui/tabs.js.map +0 -1
  619. package/dist/ui/textarea.cjs.map +0 -1
  620. package/dist/ui/textarea.js.map +0 -1
  621. package/dist/ui/toggle-group.cjs.map +0 -1
  622. package/dist/ui/toggle-group.js.map +0 -1
  623. package/dist/utils-BsjVK5EW.cjs +0 -2
  624. package/dist/utils-BsjVK5EW.cjs.map +0 -1
  625. package/dist/utils-D9AH0PUV.js.map +0 -1
@@ -1,3 +1,8 @@
1
+ import "../dialog-Dspjpsjh.cjs";
2
+ import { Command as Command$1 } from "../command-BfYiUikG.cjs";
3
+ import React from "react";
4
+ import { Command } from "cmdk";
5
+
1
6
  //#region packages/components/ui/multi-select.d.ts
2
7
  interface Option {
3
8
  value: string;
@@ -8,6 +13,61 @@ interface Option {
8
13
  /** Group the options by providing key. */
9
14
  [key: string]: string | boolean | undefined;
10
15
  }
16
+ interface MultipleSelectorProps {
17
+ value?: Option[];
18
+ defaultOptions?: Option[];
19
+ /** manually controlled options */
20
+ options?: Option[];
21
+ placeholder?: string;
22
+ /** Loading component. */
23
+ loadingIndicator?: React.ReactNode;
24
+ /** Empty component. */
25
+ emptyIndicator?: React.ReactNode;
26
+ /** Debounce time for async search. Only work with `onSearch`. */
27
+ delay?: number;
28
+ /**
29
+ * Only work with `onSearch` prop. Trigger search when `onFocus`.
30
+ * For example, when user click on the input, it will trigger the search to get initial options.
31
+ **/
32
+ triggerSearchOnFocus?: boolean;
33
+ /** async search */
34
+ onSearch?: (value: string) => Promise<Option[]>;
35
+ /**
36
+ * sync search. This search will not showing loadingIndicator.
37
+ * The rest props are the same as async search.
38
+ * i.e.: creatable, groupBy, delay.
39
+ **/
40
+ onSearchSync?: (value: string) => Option[];
41
+ onChange?: (options: Option[]) => void;
42
+ /** Limit the maximum number of selected options. */
43
+ maxSelected?: number;
44
+ /** When the number of selected options exceeds the limit, the onMaxSelected will be called. */
45
+ onMaxSelected?: (maxLimit: number) => void;
46
+ /** Hide the placeholder when there are options selected. */
47
+ hidePlaceholderWhenSelected?: boolean;
48
+ disabled?: boolean;
49
+ /** Group the options base on provided key. */
50
+ groupBy?: string;
51
+ className?: string;
52
+ badgeClassName?: string;
53
+ /**
54
+ * First item selected is a default behavior by cmdk. That is why the default is true.
55
+ * This is a workaround solution by add a dummy item.
56
+ *
57
+ * @reference: https://github.com/pacocoursey/cmdk/issues/171
58
+ */
59
+ selectFirstItem?: boolean;
60
+ /** Allow user to create option when there is no option matched. */
61
+ creatable?: boolean;
62
+ /** Props of `Command` */
63
+ commandProps?: React.ComponentPropsWithoutRef<typeof Command$1>;
64
+ /** Props of `CommandInput` */
65
+ inputProps?: Omit<React.ComponentPropsWithoutRef<typeof Command.Input>, "value" | "placeholder" | "disabled">;
66
+ /** hide the clear all button. */
67
+ hideClearAllButton?: boolean;
68
+ /** Add new item event for select with search */
69
+ onAddNewItem?: () => void;
70
+ }
11
71
  interface MultipleSelectorRef {
12
72
  selectedValue: Option[];
13
73
  input: HTMLInputElement;
@@ -15,7 +75,6 @@ interface MultipleSelectorRef {
15
75
  reset: () => void;
16
76
  }
17
77
  declare function useDebounce<T>(value: T, delay?: number): T;
18
- declare const MultipleSelector: any;
78
+ declare const MultipleSelector: React.ForwardRefExoticComponent<MultipleSelectorProps & React.RefAttributes<MultipleSelectorRef>>;
19
79
  //#endregion
20
- export { MultipleSelectorRef, Option, MultipleSelector as default, useDebounce };
21
- //# sourceMappingURL=multi-select.d.cts.map
80
+ export { MultipleSelectorRef, Option, MultipleSelector as default, useDebounce };
@@ -1,3 +1,8 @@
1
+ import "../dialog-B13T--98.js";
2
+ import { Command as Command$1 } from "../command-CycGGWOh.js";
3
+ import React from "react";
4
+ import { Command } from "cmdk";
5
+
1
6
  //#region packages/components/ui/multi-select.d.ts
2
7
  interface Option {
3
8
  value: string;
@@ -8,6 +13,61 @@ interface Option {
8
13
  /** Group the options by providing key. */
9
14
  [key: string]: string | boolean | undefined;
10
15
  }
16
+ interface MultipleSelectorProps {
17
+ value?: Option[];
18
+ defaultOptions?: Option[];
19
+ /** manually controlled options */
20
+ options?: Option[];
21
+ placeholder?: string;
22
+ /** Loading component. */
23
+ loadingIndicator?: React.ReactNode;
24
+ /** Empty component. */
25
+ emptyIndicator?: React.ReactNode;
26
+ /** Debounce time for async search. Only work with `onSearch`. */
27
+ delay?: number;
28
+ /**
29
+ * Only work with `onSearch` prop. Trigger search when `onFocus`.
30
+ * For example, when user click on the input, it will trigger the search to get initial options.
31
+ **/
32
+ triggerSearchOnFocus?: boolean;
33
+ /** async search */
34
+ onSearch?: (value: string) => Promise<Option[]>;
35
+ /**
36
+ * sync search. This search will not showing loadingIndicator.
37
+ * The rest props are the same as async search.
38
+ * i.e.: creatable, groupBy, delay.
39
+ **/
40
+ onSearchSync?: (value: string) => Option[];
41
+ onChange?: (options: Option[]) => void;
42
+ /** Limit the maximum number of selected options. */
43
+ maxSelected?: number;
44
+ /** When the number of selected options exceeds the limit, the onMaxSelected will be called. */
45
+ onMaxSelected?: (maxLimit: number) => void;
46
+ /** Hide the placeholder when there are options selected. */
47
+ hidePlaceholderWhenSelected?: boolean;
48
+ disabled?: boolean;
49
+ /** Group the options base on provided key. */
50
+ groupBy?: string;
51
+ className?: string;
52
+ badgeClassName?: string;
53
+ /**
54
+ * First item selected is a default behavior by cmdk. That is why the default is true.
55
+ * This is a workaround solution by add a dummy item.
56
+ *
57
+ * @reference: https://github.com/pacocoursey/cmdk/issues/171
58
+ */
59
+ selectFirstItem?: boolean;
60
+ /** Allow user to create option when there is no option matched. */
61
+ creatable?: boolean;
62
+ /** Props of `Command` */
63
+ commandProps?: React.ComponentPropsWithoutRef<typeof Command$1>;
64
+ /** Props of `CommandInput` */
65
+ inputProps?: Omit<React.ComponentPropsWithoutRef<typeof Command.Input>, "value" | "placeholder" | "disabled">;
66
+ /** hide the clear all button. */
67
+ hideClearAllButton?: boolean;
68
+ /** Add new item event for select with search */
69
+ onAddNewItem?: () => void;
70
+ }
11
71
  interface MultipleSelectorRef {
12
72
  selectedValue: Option[];
13
73
  input: HTMLInputElement;
@@ -15,7 +75,6 @@ interface MultipleSelectorRef {
15
75
  reset: () => void;
16
76
  }
17
77
  declare function useDebounce<T>(value: T, delay?: number): T;
18
- declare const MultipleSelector: any;
78
+ declare const MultipleSelector: React.ForwardRefExoticComponent<MultipleSelectorProps & React.RefAttributes<MultipleSelectorRef>>;
19
79
  //#endregion
20
- export { MultipleSelectorRef, Option, MultipleSelector as default, useDebounce };
21
- //# sourceMappingURL=multi-select.d.ts.map
80
+ export { MultipleSelectorRef, Option, MultipleSelector as default, useDebounce };
@@ -1,2 +1 @@
1
- "use client";import{cn as e}from"../utils-D9AH0PUV.js";import{Button as t}from"../button-Bku3bKv9.js";import"../dialog-C4hf-Puw.js";import{Command as n,CommandGroup as r,CommandItem as i,CommandList as ee,CommandSeparator as te}from"../command-_L9bD9a-.js";import a from"react";import{Fragment as o,jsx as s,jsxs as c}from"react/jsx-runtime";import{PlusIcon as l,X as u}from"lucide-react";import{Command as ne,useCommandState as d}from"cmdk";function f(e,t){let[n,r]=a.useState(e);return a.useEffect(()=>{let n=setTimeout(()=>r(e),t||500);return()=>{clearTimeout(n)}},[e,t]),n}function p(e,t){if(e.length===0)return{};if(!t)return{"":e};let n={};return e.forEach(e=>{let r=e[t]||``;n[r]||(n[r]=[]),n[r].push(e)}),n}function re(e,t){let n=JSON.parse(JSON.stringify(e));for(let[e,r]of Object.entries(n))n[e]=r.filter(e=>!t.find(t=>t.value===e.value));return n}function m(e,t){for(let[,n]of Object.entries(e))if(n.some(e=>t.find(t=>t.value===e.value)))return!0;return!1}const h=a.forwardRef(({className:t,...n},r)=>{let i=d(e=>e.filtered.count===0);return i?s(`div`,{ref:r,className:e(`px-2 py-4 text-center text-sm`,t),"cmdk-empty":``,role:`presentation`,...n}):null});h.displayName=`CommandEmpty`;const g=a.forwardRef(({value:d,onChange:g,placeholder:_,defaultOptions:v=[],options:y,delay:b,onSearch:x,onSearchSync:S,loadingIndicator:ie,emptyIndicator:C,maxSelected:w=2**53-1,onMaxSelected:T,hidePlaceholderWhenSelected:E,disabled:D,groupBy:O,className:ae,badgeClassName:k,selectFirstItem:A=!0,creatable:j=!1,triggerSearchOnFocus:M=!1,commandProps:N,inputProps:P,hideClearAllButton:F=!1,onAddNewItem:I},L)=>{let R=a.useRef(null),z=a.useRef(null),[B,V]=a.useState(!1),[oe,H]=a.useState(!1),[U,W]=a.useState(!1),[G,K]=a.useState(d||[]),[q,J]=a.useState(p(v,O)),[Y,X]=a.useState(``),Z=f(Y,b||500);a.useImperativeHandle(L,()=>({selectedValue:[...G],input:R.current,focus:()=>R?.current?.focus(),reset:()=>K([])}),[G]);let Q=a.useCallback(e=>{z.current&&!z.current.contains(e.target)&&R.current&&!R.current.contains(e.target)&&(V(!1),R.current.blur())},[]),$=a.useCallback(e=>{let t=G.filter(t=>t.value!==e.value);K(t),g?.(t)},[g,G]),se=a.useCallback(e=>{let t=R.current;if(t){if((e.key===`Delete`||e.key===`Backspace`)&&t.value===``&&G.length>0){let e=G[G.length-1];e.fixed||$(G[G.length-1])}e.key===`Escape`&&t.blur()}},[$,G]);a.useEffect(()=>(B?(document.addEventListener(`mousedown`,Q),document.addEventListener(`touchend`,Q)):(document.removeEventListener(`mousedown`,Q),document.removeEventListener(`touchend`,Q)),()=>{document.removeEventListener(`mousedown`,Q),document.removeEventListener(`touchend`,Q)}),[B]),a.useEffect(()=>{d&&K(d)},[d]),a.useEffect(()=>{if(!y||x)return;let e=p(y||[],O);JSON.stringify(e)!==JSON.stringify(q)&&J(e)},[v,y,O,x,q]),a.useEffect(()=>{let e=()=>{let e=S?.(Z);J(p(e||[],O))},t=async()=>{!S||!B||(M&&e(),Z&&e())};t()},[Z,O,B,M]),a.useEffect(()=>{let e=async()=>{W(!0);let e=await x?.(Z);J(p(e||[],O)),W(!1)},t=async()=>{!x||!B||(M&&await e(),Z&&await e())};t()},[Z,O,B,M]);let ce=()=>{if(!j||m(q,[{value:Y,label:Y}])||G.find(e=>e.value===Y))return;let e=s(i,{value:Y,className:`cursor-pointer`,onMouseDown:e=>{e.preventDefault(),e.stopPropagation()},onSelect:e=>{if(G.length>=w){T?.(G.length);return}X(``);let t=[...G,{value:e,label:e}];K(t),g?.(t)},children:`Create "${Y}"`});if(!x&&Y.length>0||x&&Z.length>0&&!U)return e},le=a.useCallback(()=>{if(C)return x&&!j&&Object.keys(q).length===0?s(i,{value:`-`,disabled:!0,children:C}):s(h,{children:C})},[j,C,x,q]),ue=a.useMemo(()=>re(q,G),[q,G]),de=a.useCallback(()=>{if(N?.filter)return N.filter;if(j)return(e,t)=>e.toLowerCase().includes(t.toLowerCase())?1:-1},[j,N?.filter]);return c(n,{ref:z,...N,onKeyDown:e=>{se(e),N?.onKeyDown?.(e)},className:e(`h-auto overflow-visible bg-transparent`,N?.className),shouldFilter:N?.shouldFilter===void 0?!x:N.shouldFilter,filter:de(),children:[s(`div`,{className:e(`border-input focus-within:border-primary focus-within:ring-ring relative rounded-md border text-sm transition-shadow focus-within:ring-4 focus-within:outline-hidden`,`has-disabled:bg-muted`,`has-disabled:text-muted-foreground`,{"p-1":G.length!==0,"cursor-text":!D&&G.length!==0},!F&&`pe-9`,ae),onClick:()=>{D||R?.current?.focus()},children:c(`div`,{className:`flex flex-wrap gap-1`,children:[G.map(t=>c(`div`,{className:e(`animate-fadeIn bg-background text-secondary-foreground hover:bg-background relative inline-flex h-7 cursor-default items-center rounded-md border border-solid ps-2 pe-7 pl-2 text-xs font-medium transition-all disabled:cursor-not-allowed disabled:opacity-50 data-fixed:pe-2`,k),"data-fixed":t.fixed,"data-disabled":D||void 0,children:[t.label,s(`button`,{type:`button`,disabled:D||t.fixed,className:e(`text-muted-foreground/80 absolute -inset-y-px -end-px flex size-7 items-center justify-center rounded-e-lg border border-transparent p-0 outline-0 transition-colors`,`hover:text-foreground`,`focus-visible:outline`,`focus-visible:outline-2`,`focus-visible:outline-ring/70`,`disabled:hover:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-50`),onKeyDown:e=>{e.key===`Enter`&&$(t)},onMouseDown:e=>{e.preventDefault(),e.stopPropagation()},onClick:()=>$(t),"aria-label":`Remove`,children:s(u,{size:14,strokeWidth:2,"aria-hidden":`true`})})]},t.value)),s(ne.Input,{...P,ref:R,value:Y,disabled:D,onValueChange:e=>{X(e),P?.onValueChange?.(e)},onBlur:e=>{oe||V(!1),P?.onBlur?.(e)},onFocus:e=>{V(!0),M&&x?.(Z),P?.onFocus?.(e)},placeholder:E&&G.length!==0?``:_,className:e(`placeholder:text-muted-foreground flex-1 bg-transparent outline-hidden`,`disabled:placeholder:text-transparent`,{"w-full":E,"px-3 py-2":G.length===0,"ml-1":G.length!==0},P?.className)}),s(`button`,{type:`button`,onClick:()=>{K(G.filter(e=>e.fixed)),g?.(G.filter(e=>e.fixed))},className:e(`text-muted-foreground/80`,`absolute end-0 top-0 flex size-9 items-center justify-center rounded-lg border border-transparent transition-colors`,`focus-visible:outline-2`,`hover:text-foreground`,`focus-visible:outline-ring/70`,(F||D||G.length<1||G.filter(({fixed:e})=>e).length===G.length)&&`hidden`),"aria-label":`Clear all`,children:s(u,{size:16,strokeWidth:2,"aria-hidden":`true`})})]})}),s(`div`,{className:`relative`,children:s(`div`,{className:e(`border-input absolute top-2 z-10 w-full overflow-hidden rounded-lg border shadow-sm`,`data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95`,!B&&`hidden`),"data-state":B?`open`:`closed`,children:B&&c(ee,{className:`bg-popover text-popover-foreground shadow-lg outline-hidden`,onMouseLeave:()=>{H(!1)},onMouseEnter:()=>{H(!0)},onMouseUp:()=>{R?.current?.focus()},children:[I&&c(o,{children:[s(te,{}),s(r,{children:c(t,{type:`button`,variant:`ghost`,className:`w-full font-normal [&_div]:justify-start`,onClick:I,children:[s(l,{size:14,className:`-ms-2 opacity-60`,"aria-hidden":`true`}),`Thêm mới`]})})]}),U?ie:c(a.Fragment,{children:[le(),ce(),!A&&s(i,{value:`-`,className:`hidden`}),Object.entries(ue).map(([t,n])=>s(r,{heading:t,className:`h-full overflow-auto`,children:n.map(t=>s(i,{value:t.value,disabled:t.disable,onMouseDown:e=>{e.preventDefault(),e.stopPropagation()},onSelect:()=>{if(G.length>=w){T?.(G.length);return}X(``);let e=[...G,t];K(e),g?.(e)},className:e(`cursor-pointer`,t.disable&&`cursor-not-allowed opacity-50`),children:t.label},t.value))},t))]})]})})})]})});g.displayName=`MultipleSelector`;export{g as default,f as useDebounce};
2
- //# sourceMappingURL=multi-select.js.map
1
+ "use client";import"../utils-D9AH0PUV.js";import"../button-Bku3bKv9.js";import"../dialog-BLDh3Gqw.js";import"../command-Ir_Vqgds.js";import{multi_select_default as e,useDebounce as t}from"../multi-select-LYl29d4h.js";export{e as default,t as useDebounce};
@@ -1,2 +1 @@
1
- "use client";const e=require(`../chunk-CUT6urMc.cjs`),t=require(`../utils-BsjVK5EW.cjs`),n=e.__toESM(require(`react`)),r=e.__toESM(require(`react/jsx-runtime`)),i=e.__toESM(require(`class-variance-authority`)),a=e.__toESM(require(`lucide-react`)),o=e.__toESM(require(`radix-ui`));function s({className:e,children:n,viewport:i=!0,...a}){return(0,r.jsxs)(o.NavigationMenu.Root,{"data-slot":`navigation-menu`,"data-viewport":i,className:t.cn(`group/navigation-menu relative flex max-w-max flex-1 items-center justify-center`,e),...a,children:[n,i&&(0,r.jsx)(p,{})]})}function c({className:e,...n}){return(0,r.jsx)(o.NavigationMenu.List,{"data-slot":`navigation-menu-list`,className:t.cn(`group flex flex-1 list-none items-center justify-center gap-1`,e),...n})}function l({className:e,...n}){return(0,r.jsx)(o.NavigationMenu.Item,{"data-slot":`navigation-menu-item`,className:t.cn(`relative`,e),...n})}const u=(0,i.cva)(`group inline-flex h-9 w-max items-center justify-center rounded-md bg-background px-4 py-2 text-sm font-medium hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground disabled:pointer-events-none disabled:opacity-50 data-[state=open]:hover:bg-accent data-[state=open]:text-accent-foreground data-[state=open]:focus:bg-accent data-[state=open]:bg-accent/50 focus-visible:ring-ring/50 outline-none transition-[color,box-shadow] focus-visible:ring-[3px] focus-visible:outline-1`);function d({className:e,children:n,...i}){return(0,r.jsxs)(o.NavigationMenu.Trigger,{"data-slot":`navigation-menu-trigger`,className:t.cn(u(),`group`,e),...i,children:[n,` `,(0,r.jsx)(a.ChevronDownIcon,{className:`relative top-[1px] ml-1 size-3 transition duration-300 group-data-[state=open]:rotate-180`,"aria-hidden":`true`})]})}function f({className:e,...n}){return(0,r.jsx)(o.NavigationMenu.Content,{"data-slot":`navigation-menu-content`,className:t.cn(`data-[motion^=from-]:animate-in data-[motion^=to-]:animate-out data-[motion^=from-]:fade-in data-[motion^=to-]:fade-out data-[motion=from-end]:slide-in-from-right-52 data-[motion=from-start]:slide-in-from-left-52 data-[motion=to-end]:slide-out-to-right-52 data-[motion=to-start]:slide-out-to-left-52 top-0 left-0 w-full p-2 pr-2.5 md:absolute md:w-auto`,`group-data-[viewport=false]/navigation-menu:bg-popover group-data-[viewport=false]/navigation-menu:text-popover-foreground group-data-[viewport=false]/navigation-menu:data-[state=open]:animate-in group-data-[viewport=false]/navigation-menu:data-[state=closed]:animate-out group-data-[viewport=false]/navigation-menu:data-[state=closed]:zoom-out-95 group-data-[viewport=false]/navigation-menu:data-[state=open]:zoom-in-95 group-data-[viewport=false]/navigation-menu:data-[state=open]:fade-in-0 group-data-[viewport=false]/navigation-menu:data-[state=closed]:fade-out-0 group-data-[viewport=false]/navigation-menu:top-full group-data-[viewport=false]/navigation-menu:mt-1.5 group-data-[viewport=false]/navigation-menu:overflow-hidden group-data-[viewport=false]/navigation-menu:rounded-md group-data-[viewport=false]/navigation-menu:border group-data-[viewport=false]/navigation-menu:shadow group-data-[viewport=false]/navigation-menu:duration-200 **:data-[slot=navigation-menu-link]:focus:ring-0 **:data-[slot=navigation-menu-link]:focus:outline-none`,e),...n})}function p({className:e,...n}){return(0,r.jsx)(`div`,{className:t.cn(`absolute top-full left-0 isolate z-50 flex justify-center`),children:(0,r.jsx)(o.NavigationMenu.Viewport,{"data-slot":`navigation-menu-viewport`,className:t.cn(`origin-top-center bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-90 relative mt-1.5 h-[var(--radix-navigation-menu-viewport-height)] w-full overflow-hidden rounded-md border shadow md:w-[var(--radix-navigation-menu-viewport-width)]`,e),...n})})}function m({className:e,...n}){return(0,r.jsx)(o.NavigationMenu.Link,{"data-slot":`navigation-menu-link`,className:t.cn(`data-[active=true]:focus:bg-accent data-[active=true]:hover:bg-accent data-[active=true]:bg-accent/50 data-[active=true]:text-accent-foreground hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground focus-visible:ring-ring/50 [&_svg:not([class*='text-'])]:text-muted-foreground flex flex-col gap-1 rounded-sm p-2 text-sm transition-all outline-none focus-visible:ring-[3px] focus-visible:outline-1 [&_svg:not([class*='size-'])]:size-4`,e),...n})}function h({className:e,...n}){return(0,r.jsx)(o.NavigationMenu.Indicator,{"data-slot":`navigation-menu-indicator`,className:t.cn(`data-[state=visible]:animate-in data-[state=hidden]:animate-out data-[state=hidden]:fade-out data-[state=visible]:fade-in top-full z-[1] flex h-1.5 items-end justify-center overflow-hidden`,e),...n,children:(0,r.jsx)(`div`,{className:`bg-border relative top-[60%] h-2 w-2 rotate-45 rounded-tl-sm shadow-md`})})}exports.NavigationMenu=s,exports.NavigationMenuContent=f,exports.NavigationMenuIndicator=h,exports.NavigationMenuItem=l,exports.NavigationMenuLink=m,exports.NavigationMenuList=c,exports.NavigationMenuTrigger=d,exports.NavigationMenuViewport=p,exports.navigationMenuTriggerStyle=u;
2
- //# sourceMappingURL=navigation-menu.cjs.map
1
+ "use client";const e=require(`../chunk-hhQzssFb.cjs`),t=require(`../utils-DaJ1XZgX.cjs`),n=e.__toESM(require(`react`)),r=e.__toESM(require(`react/jsx-runtime`)),i=e.__toESM(require(`class-variance-authority`)),a=e.__toESM(require(`lucide-react`)),o=e.__toESM(require(`radix-ui`));function s({className:e,children:n,viewport:i=!0,...a}){return(0,r.jsxs)(o.NavigationMenu.Root,{"data-slot":`navigation-menu`,"data-viewport":i,className:t.cn(`group/navigation-menu relative flex max-w-max flex-1 items-center justify-center`,e),...a,children:[n,i&&(0,r.jsx)(p,{})]})}function c({className:e,...n}){return(0,r.jsx)(o.NavigationMenu.List,{"data-slot":`navigation-menu-list`,className:t.cn(`group flex flex-1 list-none items-center justify-center gap-1`,e),...n})}function l({className:e,...n}){return(0,r.jsx)(o.NavigationMenu.Item,{"data-slot":`navigation-menu-item`,className:t.cn(`relative`,e),...n})}const u=(0,i.cva)(`group inline-flex h-9 w-max items-center justify-center rounded-md bg-background px-4 py-2 text-sm font-medium hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground disabled:pointer-events-none disabled:opacity-50 data-[state=open]:hover:bg-accent data-[state=open]:text-accent-foreground data-[state=open]:focus:bg-accent data-[state=open]:bg-accent/50 focus-visible:ring-ring/50 outline-none transition-[color,box-shadow] focus-visible:ring-[3px] focus-visible:outline-1`);function d({className:e,children:n,...i}){return(0,r.jsxs)(o.NavigationMenu.Trigger,{"data-slot":`navigation-menu-trigger`,className:t.cn(u(),`group`,e),...i,children:[n,` `,(0,r.jsx)(a.ChevronDownIcon,{className:`relative top-[1px] ml-1 size-3 transition duration-300 group-data-[state=open]:rotate-180`,"aria-hidden":`true`})]})}function f({className:e,...n}){return(0,r.jsx)(o.NavigationMenu.Content,{"data-slot":`navigation-menu-content`,className:t.cn(`data-[motion^=from-]:animate-in data-[motion^=to-]:animate-out data-[motion^=from-]:fade-in data-[motion^=to-]:fade-out data-[motion=from-end]:slide-in-from-right-52 data-[motion=from-start]:slide-in-from-left-52 data-[motion=to-end]:slide-out-to-right-52 data-[motion=to-start]:slide-out-to-left-52 top-0 left-0 w-full p-2 pr-2.5 md:absolute md:w-auto`,`group-data-[viewport=false]/navigation-menu:bg-popover group-data-[viewport=false]/navigation-menu:text-popover-foreground group-data-[viewport=false]/navigation-menu:data-[state=open]:animate-in group-data-[viewport=false]/navigation-menu:data-[state=closed]:animate-out group-data-[viewport=false]/navigation-menu:data-[state=closed]:zoom-out-95 group-data-[viewport=false]/navigation-menu:data-[state=open]:zoom-in-95 group-data-[viewport=false]/navigation-menu:data-[state=open]:fade-in-0 group-data-[viewport=false]/navigation-menu:data-[state=closed]:fade-out-0 group-data-[viewport=false]/navigation-menu:top-full group-data-[viewport=false]/navigation-menu:mt-1.5 group-data-[viewport=false]/navigation-menu:overflow-hidden group-data-[viewport=false]/navigation-menu:rounded-md group-data-[viewport=false]/navigation-menu:border group-data-[viewport=false]/navigation-menu:shadow group-data-[viewport=false]/navigation-menu:duration-200 **:data-[slot=navigation-menu-link]:focus:ring-0 **:data-[slot=navigation-menu-link]:focus:outline-none`,e),...n})}function p({className:e,...n}){return(0,r.jsx)(`div`,{className:t.cn(`absolute top-full left-0 isolate z-50 flex justify-center`),children:(0,r.jsx)(o.NavigationMenu.Viewport,{"data-slot":`navigation-menu-viewport`,className:t.cn(`origin-top-center bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-90 relative mt-1.5 h-[var(--radix-navigation-menu-viewport-height)] w-full overflow-hidden rounded-md border shadow md:w-[var(--radix-navigation-menu-viewport-width)]`,e),...n})})}function m({className:e,...n}){return(0,r.jsx)(o.NavigationMenu.Link,{"data-slot":`navigation-menu-link`,className:t.cn(`data-[active=true]:focus:bg-accent data-[active=true]:hover:bg-accent data-[active=true]:bg-accent/50 data-[active=true]:text-accent-foreground hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground focus-visible:ring-ring/50 [&_svg:not([class*='text-'])]:text-muted-foreground flex flex-col gap-1 rounded-sm p-2 text-sm transition-all outline-none focus-visible:ring-[3px] focus-visible:outline-1 [&_svg:not([class*='size-'])]:size-4`,e),...n})}function h({className:e,...n}){return(0,r.jsx)(o.NavigationMenu.Indicator,{"data-slot":`navigation-menu-indicator`,className:t.cn(`data-[state=visible]:animate-in data-[state=hidden]:animate-out data-[state=hidden]:fade-out data-[state=visible]:fade-in top-full z-[1] flex h-1.5 items-end justify-center overflow-hidden`,e),...n,children:(0,r.jsx)(`div`,{className:`bg-border relative top-[60%] h-2 w-2 rotate-45 rounded-tl-sm shadow-md`})})}exports.NavigationMenu=s,exports.NavigationMenuContent=f,exports.NavigationMenuIndicator=h,exports.NavigationMenuItem=l,exports.NavigationMenuLink=m,exports.NavigationMenuList=c,exports.NavigationMenuTrigger=d,exports.NavigationMenuViewport=p,exports.navigationMenuTriggerStyle=u;
@@ -1,4 +1,6 @@
1
+ import * as react_jsx_runtime142 from "react/jsx-runtime";
1
2
  import React from "react";
3
+ import * as class_variance_authority_types3 from "class-variance-authority/types";
2
4
  import { NavigationMenu as NavigationMenu$1 } from "radix-ui";
3
5
 
4
6
  //#region packages/components/ui/navigation-menu.d.ts
@@ -9,37 +11,36 @@ declare function NavigationMenu({
9
11
  ...props
10
12
  }: React.ComponentProps<typeof NavigationMenu$1.Root> & {
11
13
  viewport?: boolean;
12
- }): any;
14
+ }): react_jsx_runtime142.JSX.Element;
13
15
  declare function NavigationMenuList({
14
16
  className,
15
17
  ...props
16
- }: React.ComponentProps<typeof NavigationMenu$1.List>): any;
18
+ }: React.ComponentProps<typeof NavigationMenu$1.List>): react_jsx_runtime142.JSX.Element;
17
19
  declare function NavigationMenuItem({
18
20
  className,
19
21
  ...props
20
- }: React.ComponentProps<typeof NavigationMenu$1.Item>): any;
21
- declare const navigationMenuTriggerStyle: any;
22
+ }: React.ComponentProps<typeof NavigationMenu$1.Item>): react_jsx_runtime142.JSX.Element;
23
+ declare const navigationMenuTriggerStyle: (props?: class_variance_authority_types3.ClassProp | undefined) => string;
22
24
  declare function NavigationMenuTrigger({
23
25
  className,
24
26
  children,
25
27
  ...props
26
- }: React.ComponentProps<typeof NavigationMenu$1.Trigger>): any;
28
+ }: React.ComponentProps<typeof NavigationMenu$1.Trigger>): react_jsx_runtime142.JSX.Element;
27
29
  declare function NavigationMenuContent({
28
30
  className,
29
31
  ...props
30
- }: React.ComponentProps<typeof NavigationMenu$1.Content>): any;
32
+ }: React.ComponentProps<typeof NavigationMenu$1.Content>): react_jsx_runtime142.JSX.Element;
31
33
  declare function NavigationMenuViewport({
32
34
  className,
33
35
  ...props
34
- }: React.ComponentProps<typeof NavigationMenu$1.Viewport>): any;
36
+ }: React.ComponentProps<typeof NavigationMenu$1.Viewport>): react_jsx_runtime142.JSX.Element;
35
37
  declare function NavigationMenuLink({
36
38
  className,
37
39
  ...props
38
- }: React.ComponentProps<typeof NavigationMenu$1.Link>): any;
40
+ }: React.ComponentProps<typeof NavigationMenu$1.Link>): react_jsx_runtime142.JSX.Element;
39
41
  declare function NavigationMenuIndicator({
40
42
  className,
41
43
  ...props
42
- }: React.ComponentProps<typeof NavigationMenu$1.Indicator>): any;
44
+ }: React.ComponentProps<typeof NavigationMenu$1.Indicator>): react_jsx_runtime142.JSX.Element;
43
45
  //#endregion
44
- export { NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, navigationMenuTriggerStyle };
45
- //# sourceMappingURL=navigation-menu.d.cts.map
46
+ export { NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, navigationMenuTriggerStyle };
@@ -1,5 +1,7 @@
1
1
  import React from "react";
2
+ import * as react_jsx_runtime225 from "react/jsx-runtime";
2
3
  import { NavigationMenu as NavigationMenu$1 } from "radix-ui";
4
+ import * as class_variance_authority_types5 from "class-variance-authority/types";
3
5
 
4
6
  //#region packages/components/ui/navigation-menu.d.ts
5
7
  declare function NavigationMenu({
@@ -9,37 +11,36 @@ declare function NavigationMenu({
9
11
  ...props
10
12
  }: React.ComponentProps<typeof NavigationMenu$1.Root> & {
11
13
  viewport?: boolean;
12
- }): any;
14
+ }): react_jsx_runtime225.JSX.Element;
13
15
  declare function NavigationMenuList({
14
16
  className,
15
17
  ...props
16
- }: React.ComponentProps<typeof NavigationMenu$1.List>): any;
18
+ }: React.ComponentProps<typeof NavigationMenu$1.List>): react_jsx_runtime225.JSX.Element;
17
19
  declare function NavigationMenuItem({
18
20
  className,
19
21
  ...props
20
- }: React.ComponentProps<typeof NavigationMenu$1.Item>): any;
21
- declare const navigationMenuTriggerStyle: any;
22
+ }: React.ComponentProps<typeof NavigationMenu$1.Item>): react_jsx_runtime225.JSX.Element;
23
+ declare const navigationMenuTriggerStyle: (props?: class_variance_authority_types5.ClassProp | undefined) => string;
22
24
  declare function NavigationMenuTrigger({
23
25
  className,
24
26
  children,
25
27
  ...props
26
- }: React.ComponentProps<typeof NavigationMenu$1.Trigger>): any;
28
+ }: React.ComponentProps<typeof NavigationMenu$1.Trigger>): react_jsx_runtime225.JSX.Element;
27
29
  declare function NavigationMenuContent({
28
30
  className,
29
31
  ...props
30
- }: React.ComponentProps<typeof NavigationMenu$1.Content>): any;
32
+ }: React.ComponentProps<typeof NavigationMenu$1.Content>): react_jsx_runtime225.JSX.Element;
31
33
  declare function NavigationMenuViewport({
32
34
  className,
33
35
  ...props
34
- }: React.ComponentProps<typeof NavigationMenu$1.Viewport>): any;
36
+ }: React.ComponentProps<typeof NavigationMenu$1.Viewport>): react_jsx_runtime225.JSX.Element;
35
37
  declare function NavigationMenuLink({
36
38
  className,
37
39
  ...props
38
- }: React.ComponentProps<typeof NavigationMenu$1.Link>): any;
40
+ }: React.ComponentProps<typeof NavigationMenu$1.Link>): react_jsx_runtime225.JSX.Element;
39
41
  declare function NavigationMenuIndicator({
40
42
  className,
41
43
  ...props
42
- }: React.ComponentProps<typeof NavigationMenu$1.Indicator>): any;
44
+ }: React.ComponentProps<typeof NavigationMenu$1.Indicator>): react_jsx_runtime225.JSX.Element;
43
45
  //#endregion
44
- export { NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, navigationMenuTriggerStyle };
45
- //# sourceMappingURL=navigation-menu.d.ts.map
46
+ export { NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, navigationMenuTriggerStyle };
@@ -1,2 +1 @@
1
- "use client";import{cn as e}from"../utils-D9AH0PUV.js";import t from"react";import{jsx as n,jsxs as r}from"react/jsx-runtime";import{cva as i}from"class-variance-authority";import{ChevronDownIcon as a}from"lucide-react";import{NavigationMenu as o}from"radix-ui";function s({className:t,children:i,viewport:a=!0,...s}){return r(o.Root,{"data-slot":`navigation-menu`,"data-viewport":a,className:e(`group/navigation-menu relative flex max-w-max flex-1 items-center justify-center`,t),...s,children:[i,a&&n(p,{})]})}function c({className:t,...r}){return n(o.List,{"data-slot":`navigation-menu-list`,className:e(`group flex flex-1 list-none items-center justify-center gap-1`,t),...r})}function l({className:t,...r}){return n(o.Item,{"data-slot":`navigation-menu-item`,className:e(`relative`,t),...r})}const u=i(`group inline-flex h-9 w-max items-center justify-center rounded-md bg-background px-4 py-2 text-sm font-medium hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground disabled:pointer-events-none disabled:opacity-50 data-[state=open]:hover:bg-accent data-[state=open]:text-accent-foreground data-[state=open]:focus:bg-accent data-[state=open]:bg-accent/50 focus-visible:ring-ring/50 outline-none transition-[color,box-shadow] focus-visible:ring-[3px] focus-visible:outline-1`);function d({className:t,children:i,...s}){return r(o.Trigger,{"data-slot":`navigation-menu-trigger`,className:e(u(),`group`,t),...s,children:[i,` `,n(a,{className:`relative top-[1px] ml-1 size-3 transition duration-300 group-data-[state=open]:rotate-180`,"aria-hidden":`true`})]})}function f({className:t,...r}){return n(o.Content,{"data-slot":`navigation-menu-content`,className:e(`data-[motion^=from-]:animate-in data-[motion^=to-]:animate-out data-[motion^=from-]:fade-in data-[motion^=to-]:fade-out data-[motion=from-end]:slide-in-from-right-52 data-[motion=from-start]:slide-in-from-left-52 data-[motion=to-end]:slide-out-to-right-52 data-[motion=to-start]:slide-out-to-left-52 top-0 left-0 w-full p-2 pr-2.5 md:absolute md:w-auto`,`group-data-[viewport=false]/navigation-menu:bg-popover group-data-[viewport=false]/navigation-menu:text-popover-foreground group-data-[viewport=false]/navigation-menu:data-[state=open]:animate-in group-data-[viewport=false]/navigation-menu:data-[state=closed]:animate-out group-data-[viewport=false]/navigation-menu:data-[state=closed]:zoom-out-95 group-data-[viewport=false]/navigation-menu:data-[state=open]:zoom-in-95 group-data-[viewport=false]/navigation-menu:data-[state=open]:fade-in-0 group-data-[viewport=false]/navigation-menu:data-[state=closed]:fade-out-0 group-data-[viewport=false]/navigation-menu:top-full group-data-[viewport=false]/navigation-menu:mt-1.5 group-data-[viewport=false]/navigation-menu:overflow-hidden group-data-[viewport=false]/navigation-menu:rounded-md group-data-[viewport=false]/navigation-menu:border group-data-[viewport=false]/navigation-menu:shadow group-data-[viewport=false]/navigation-menu:duration-200 **:data-[slot=navigation-menu-link]:focus:ring-0 **:data-[slot=navigation-menu-link]:focus:outline-none`,t),...r})}function p({className:t,...r}){return n(`div`,{className:e(`absolute top-full left-0 isolate z-50 flex justify-center`),children:n(o.Viewport,{"data-slot":`navigation-menu-viewport`,className:e(`origin-top-center bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-90 relative mt-1.5 h-[var(--radix-navigation-menu-viewport-height)] w-full overflow-hidden rounded-md border shadow md:w-[var(--radix-navigation-menu-viewport-width)]`,t),...r})})}function m({className:t,...r}){return n(o.Link,{"data-slot":`navigation-menu-link`,className:e(`data-[active=true]:focus:bg-accent data-[active=true]:hover:bg-accent data-[active=true]:bg-accent/50 data-[active=true]:text-accent-foreground hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground focus-visible:ring-ring/50 [&_svg:not([class*='text-'])]:text-muted-foreground flex flex-col gap-1 rounded-sm p-2 text-sm transition-all outline-none focus-visible:ring-[3px] focus-visible:outline-1 [&_svg:not([class*='size-'])]:size-4`,t),...r})}function h({className:t,...r}){return n(o.Indicator,{"data-slot":`navigation-menu-indicator`,className:e(`data-[state=visible]:animate-in data-[state=hidden]:animate-out data-[state=hidden]:fade-out data-[state=visible]:fade-in top-full z-[1] flex h-1.5 items-end justify-center overflow-hidden`,t),...r,children:n(`div`,{className:`bg-border relative top-[60%] h-2 w-2 rotate-45 rounded-tl-sm shadow-md`})})}export{s as NavigationMenu,f as NavigationMenuContent,h as NavigationMenuIndicator,l as NavigationMenuItem,m as NavigationMenuLink,c as NavigationMenuList,d as NavigationMenuTrigger,p as NavigationMenuViewport,u as navigationMenuTriggerStyle};
2
- //# sourceMappingURL=navigation-menu.js.map
1
+ "use client";import{cn as e}from"../utils-D9AH0PUV.js";import t from"react";import{jsx as n,jsxs as r}from"react/jsx-runtime";import{cva as i}from"class-variance-authority";import{ChevronDownIcon as a}from"lucide-react";import{NavigationMenu as o}from"radix-ui";function s({className:t,children:i,viewport:a=!0,...s}){return r(o.Root,{"data-slot":`navigation-menu`,"data-viewport":a,className:e(`group/navigation-menu relative flex max-w-max flex-1 items-center justify-center`,t),...s,children:[i,a&&n(p,{})]})}function c({className:t,...r}){return n(o.List,{"data-slot":`navigation-menu-list`,className:e(`group flex flex-1 list-none items-center justify-center gap-1`,t),...r})}function l({className:t,...r}){return n(o.Item,{"data-slot":`navigation-menu-item`,className:e(`relative`,t),...r})}const u=i(`group inline-flex h-9 w-max items-center justify-center rounded-md bg-background px-4 py-2 text-sm font-medium hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground disabled:pointer-events-none disabled:opacity-50 data-[state=open]:hover:bg-accent data-[state=open]:text-accent-foreground data-[state=open]:focus:bg-accent data-[state=open]:bg-accent/50 focus-visible:ring-ring/50 outline-none transition-[color,box-shadow] focus-visible:ring-[3px] focus-visible:outline-1`);function d({className:t,children:i,...s}){return r(o.Trigger,{"data-slot":`navigation-menu-trigger`,className:e(u(),`group`,t),...s,children:[i,` `,n(a,{className:`relative top-[1px] ml-1 size-3 transition duration-300 group-data-[state=open]:rotate-180`,"aria-hidden":`true`})]})}function f({className:t,...r}){return n(o.Content,{"data-slot":`navigation-menu-content`,className:e(`data-[motion^=from-]:animate-in data-[motion^=to-]:animate-out data-[motion^=from-]:fade-in data-[motion^=to-]:fade-out data-[motion=from-end]:slide-in-from-right-52 data-[motion=from-start]:slide-in-from-left-52 data-[motion=to-end]:slide-out-to-right-52 data-[motion=to-start]:slide-out-to-left-52 top-0 left-0 w-full p-2 pr-2.5 md:absolute md:w-auto`,`group-data-[viewport=false]/navigation-menu:bg-popover group-data-[viewport=false]/navigation-menu:text-popover-foreground group-data-[viewport=false]/navigation-menu:data-[state=open]:animate-in group-data-[viewport=false]/navigation-menu:data-[state=closed]:animate-out group-data-[viewport=false]/navigation-menu:data-[state=closed]:zoom-out-95 group-data-[viewport=false]/navigation-menu:data-[state=open]:zoom-in-95 group-data-[viewport=false]/navigation-menu:data-[state=open]:fade-in-0 group-data-[viewport=false]/navigation-menu:data-[state=closed]:fade-out-0 group-data-[viewport=false]/navigation-menu:top-full group-data-[viewport=false]/navigation-menu:mt-1.5 group-data-[viewport=false]/navigation-menu:overflow-hidden group-data-[viewport=false]/navigation-menu:rounded-md group-data-[viewport=false]/navigation-menu:border group-data-[viewport=false]/navigation-menu:shadow group-data-[viewport=false]/navigation-menu:duration-200 **:data-[slot=navigation-menu-link]:focus:ring-0 **:data-[slot=navigation-menu-link]:focus:outline-none`,t),...r})}function p({className:t,...r}){return n(`div`,{className:e(`absolute top-full left-0 isolate z-50 flex justify-center`),children:n(o.Viewport,{"data-slot":`navigation-menu-viewport`,className:e(`origin-top-center bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-90 relative mt-1.5 h-[var(--radix-navigation-menu-viewport-height)] w-full overflow-hidden rounded-md border shadow md:w-[var(--radix-navigation-menu-viewport-width)]`,t),...r})})}function m({className:t,...r}){return n(o.Link,{"data-slot":`navigation-menu-link`,className:e(`data-[active=true]:focus:bg-accent data-[active=true]:hover:bg-accent data-[active=true]:bg-accent/50 data-[active=true]:text-accent-foreground hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground focus-visible:ring-ring/50 [&_svg:not([class*='text-'])]:text-muted-foreground flex flex-col gap-1 rounded-sm p-2 text-sm transition-all outline-none focus-visible:ring-[3px] focus-visible:outline-1 [&_svg:not([class*='size-'])]:size-4`,t),...r})}function h({className:t,...r}){return n(o.Indicator,{"data-slot":`navigation-menu-indicator`,className:e(`data-[state=visible]:animate-in data-[state=hidden]:animate-out data-[state=hidden]:fade-out data-[state=visible]:fade-in top-full z-[1] flex h-1.5 items-end justify-center overflow-hidden`,t),...r,children:n(`div`,{className:`bg-border relative top-[60%] h-2 w-2 rotate-45 rounded-tl-sm shadow-md`})})}export{s as NavigationMenu,f as NavigationMenuContent,h as NavigationMenuIndicator,l as NavigationMenuItem,m as NavigationMenuLink,c as NavigationMenuList,d as NavigationMenuTrigger,p as NavigationMenuViewport,u as navigationMenuTriggerStyle};
@@ -1,2 +1 @@
1
- "use client";const e=require(`../chunk-CUT6urMc.cjs`),t=require(`../utils-BsjVK5EW.cjs`),n=require(`../button-Dzv_nos1.cjs`),r=e.__toESM(require(`react`)),i=e.__toESM(require(`react/jsx-runtime`)),a=e.__toESM(require(`lucide-react`));function o({className:e,...n}){return(0,i.jsx)(`nav`,{role:`navigation`,"aria-label":`pagination`,"data-slot":`pagination`,className:t.cn(`mx-auto flex w-full justify-center`,e),...n})}function s({className:e,...n}){return(0,i.jsx)(`ul`,{"data-slot":`pagination-content`,className:t.cn(`flex flex-row items-center gap-1`,e),...n})}function c({...e}){return(0,i.jsx)(`li`,{"data-slot":`pagination-item`,...e})}function l({className:e,isActive:r,size:a=`icon`,...o}){return(0,i.jsx)(`a`,{"aria-current":r?`page`:void 0,"data-slot":`pagination-link`,"data-active":r,className:t.cn(n.buttonVariants({variant:r?`outline`:`ghost`,size:a}),e),...o})}function u({className:e,...n}){return(0,i.jsxs)(l,{"aria-label":`Go to previous page`,size:`default`,className:t.cn(`gap-1 px-2.5 sm:pl-2.5`,e),...n,children:[(0,i.jsx)(a.ChevronLeftIcon,{}),(0,i.jsx)(`span`,{className:`hidden sm:block`,children:`Previous`})]})}function d({className:e,...n}){return(0,i.jsxs)(l,{"aria-label":`Go to next page`,size:`default`,className:t.cn(`gap-1 px-2.5 sm:pr-2.5`,e),...n,children:[(0,i.jsx)(`span`,{className:`hidden sm:block`,children:`Next`}),(0,i.jsx)(a.ChevronRightIcon,{})]})}function f({className:e,...n}){return(0,i.jsxs)(`span`,{"aria-hidden":!0,"data-slot":`pagination-ellipsis`,className:t.cn(`flex size-9 items-center justify-center`,e),...n,children:[(0,i.jsx)(a.MoreHorizontalIcon,{className:`size-4`}),(0,i.jsx)(`span`,{className:`sr-only`,children:`More pages`})]})}exports.Pagination=o,exports.PaginationContent=s,exports.PaginationEllipsis=f,exports.PaginationItem=c,exports.PaginationLink=l,exports.PaginationNext=d,exports.PaginationPrevious=u;
2
- //# sourceMappingURL=pagination.cjs.map
1
+ "use client";const e=require(`../chunk-hhQzssFb.cjs`),t=require(`../utils-DaJ1XZgX.cjs`),n=require(`../button-CycE0WzB.cjs`),r=e.__toESM(require(`react`)),i=e.__toESM(require(`react/jsx-runtime`)),a=e.__toESM(require(`lucide-react`));function o({className:e,...n}){return(0,i.jsx)(`nav`,{role:`navigation`,"aria-label":`pagination`,"data-slot":`pagination`,className:t.cn(`mx-auto flex w-full justify-center`,e),...n})}function s({className:e,...n}){return(0,i.jsx)(`ul`,{"data-slot":`pagination-content`,className:t.cn(`flex flex-row items-center gap-1`,e),...n})}function c({...e}){return(0,i.jsx)(`li`,{"data-slot":`pagination-item`,...e})}function l({className:e,isActive:r,size:a=`icon`,...o}){return(0,i.jsx)(`a`,{"aria-current":r?`page`:void 0,"data-slot":`pagination-link`,"data-active":r,className:t.cn(n.buttonVariants({variant:r?`outline`:`ghost`,size:a}),e),...o})}function u({className:e,...n}){return(0,i.jsxs)(l,{"aria-label":`Go to previous page`,size:`default`,className:t.cn(`gap-1 px-2.5 sm:pl-2.5`,e),...n,children:[(0,i.jsx)(a.ChevronLeftIcon,{}),(0,i.jsx)(`span`,{className:`hidden sm:block`,children:`Previous`})]})}function d({className:e,...n}){return(0,i.jsxs)(l,{"aria-label":`Go to next page`,size:`default`,className:t.cn(`gap-1 px-2.5 sm:pr-2.5`,e),...n,children:[(0,i.jsx)(`span`,{className:`hidden sm:block`,children:`Next`}),(0,i.jsx)(a.ChevronRightIcon,{})]})}function f({className:e,...n}){return(0,i.jsxs)(`span`,{"aria-hidden":!0,"data-slot":`pagination-ellipsis`,className:t.cn(`flex size-9 items-center justify-center`,e),...n,children:[(0,i.jsx)(a.MoreHorizontalIcon,{className:`size-4`}),(0,i.jsx)(`span`,{className:`sr-only`,children:`More pages`})]})}exports.Pagination=o,exports.PaginationContent=s,exports.PaginationEllipsis=f,exports.PaginationItem=c,exports.PaginationLink=l,exports.PaginationNext=d,exports.PaginationPrevious=u;
@@ -1,18 +1,19 @@
1
- import { Button } from "../button-YHI7I64h.cjs";
1
+ import { Button } from "../button-CS0x-mYR.cjs";
2
+ import * as react_jsx_runtime154 from "react/jsx-runtime";
2
3
  import React from "react";
3
4
 
4
5
  //#region packages/components/ui/pagination.d.ts
5
6
  declare function Pagination({
6
7
  className,
7
8
  ...props
8
- }: React.ComponentProps<"nav">): any;
9
+ }: React.ComponentProps<"nav">): react_jsx_runtime154.JSX.Element;
9
10
  declare function PaginationContent({
10
11
  className,
11
12
  ...props
12
- }: React.ComponentProps<"ul">): any;
13
+ }: React.ComponentProps<"ul">): react_jsx_runtime154.JSX.Element;
13
14
  declare function PaginationItem({
14
15
  ...props
15
- }: React.ComponentProps<"li">): any;
16
+ }: React.ComponentProps<"li">): react_jsx_runtime154.JSX.Element;
16
17
  type PaginationLinkProps = {
17
18
  isActive?: boolean;
18
19
  } & Pick<React.ComponentProps<typeof Button>, "size"> & React.ComponentProps<"a">;
@@ -21,19 +22,18 @@ declare function PaginationLink({
21
22
  isActive,
22
23
  size,
23
24
  ...props
24
- }: PaginationLinkProps): any;
25
+ }: PaginationLinkProps): react_jsx_runtime154.JSX.Element;
25
26
  declare function PaginationPrevious({
26
27
  className,
27
28
  ...props
28
- }: React.ComponentProps<typeof PaginationLink>): any;
29
+ }: React.ComponentProps<typeof PaginationLink>): react_jsx_runtime154.JSX.Element;
29
30
  declare function PaginationNext({
30
31
  className,
31
32
  ...props
32
- }: React.ComponentProps<typeof PaginationLink>): any;
33
+ }: React.ComponentProps<typeof PaginationLink>): react_jsx_runtime154.JSX.Element;
33
34
  declare function PaginationEllipsis({
34
35
  className,
35
36
  ...props
36
- }: React.ComponentProps<"span">): any;
37
+ }: React.ComponentProps<"span">): react_jsx_runtime154.JSX.Element;
37
38
  //#endregion
38
- export { Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious };
39
- //# sourceMappingURL=pagination.d.cts.map
39
+ export { Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious };
@@ -1,18 +1,19 @@
1
- import { Button } from "../button-D_E_bNRb.js";
1
+ import { Button } from "../button-CxHABSnr.js";
2
2
  import React from "react";
3
+ import * as react_jsx_runtime192 from "react/jsx-runtime";
3
4
 
4
5
  //#region packages/components/ui/pagination.d.ts
5
6
  declare function Pagination({
6
7
  className,
7
8
  ...props
8
- }: React.ComponentProps<"nav">): any;
9
+ }: React.ComponentProps<"nav">): react_jsx_runtime192.JSX.Element;
9
10
  declare function PaginationContent({
10
11
  className,
11
12
  ...props
12
- }: React.ComponentProps<"ul">): any;
13
+ }: React.ComponentProps<"ul">): react_jsx_runtime192.JSX.Element;
13
14
  declare function PaginationItem({
14
15
  ...props
15
- }: React.ComponentProps<"li">): any;
16
+ }: React.ComponentProps<"li">): react_jsx_runtime192.JSX.Element;
16
17
  type PaginationLinkProps = {
17
18
  isActive?: boolean;
18
19
  } & Pick<React.ComponentProps<typeof Button>, "size"> & React.ComponentProps<"a">;
@@ -21,19 +22,18 @@ declare function PaginationLink({
21
22
  isActive,
22
23
  size,
23
24
  ...props
24
- }: PaginationLinkProps): any;
25
+ }: PaginationLinkProps): react_jsx_runtime192.JSX.Element;
25
26
  declare function PaginationPrevious({
26
27
  className,
27
28
  ...props
28
- }: React.ComponentProps<typeof PaginationLink>): any;
29
+ }: React.ComponentProps<typeof PaginationLink>): react_jsx_runtime192.JSX.Element;
29
30
  declare function PaginationNext({
30
31
  className,
31
32
  ...props
32
- }: React.ComponentProps<typeof PaginationLink>): any;
33
+ }: React.ComponentProps<typeof PaginationLink>): react_jsx_runtime192.JSX.Element;
33
34
  declare function PaginationEllipsis({
34
35
  className,
35
36
  ...props
36
- }: React.ComponentProps<"span">): any;
37
+ }: React.ComponentProps<"span">): react_jsx_runtime192.JSX.Element;
37
38
  //#endregion
38
- export { Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious };
39
- //# sourceMappingURL=pagination.d.ts.map
39
+ export { Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious };
@@ -1,2 +1 @@
1
- "use client";import{cn as e}from"../utils-D9AH0PUV.js";import{buttonVariants as t}from"../button-Bku3bKv9.js";import n from"react";import{jsx as r,jsxs as i}from"react/jsx-runtime";import{ChevronLeftIcon as a,ChevronRightIcon as o,MoreHorizontalIcon as s}from"lucide-react";function c({className:t,...n}){return r(`nav`,{role:`navigation`,"aria-label":`pagination`,"data-slot":`pagination`,className:e(`mx-auto flex w-full justify-center`,t),...n})}function l({className:t,...n}){return r(`ul`,{"data-slot":`pagination-content`,className:e(`flex flex-row items-center gap-1`,t),...n})}function u({...e}){return r(`li`,{"data-slot":`pagination-item`,...e})}function d({className:n,isActive:i,size:a=`icon`,...o}){return r(`a`,{"aria-current":i?`page`:void 0,"data-slot":`pagination-link`,"data-active":i,className:e(t({variant:i?`outline`:`ghost`,size:a}),n),...o})}function f({className:t,...n}){return i(d,{"aria-label":`Go to previous page`,size:`default`,className:e(`gap-1 px-2.5 sm:pl-2.5`,t),...n,children:[r(a,{}),r(`span`,{className:`hidden sm:block`,children:`Previous`})]})}function p({className:t,...n}){return i(d,{"aria-label":`Go to next page`,size:`default`,className:e(`gap-1 px-2.5 sm:pr-2.5`,t),...n,children:[r(`span`,{className:`hidden sm:block`,children:`Next`}),r(o,{})]})}function m({className:t,...n}){return i(`span`,{"aria-hidden":!0,"data-slot":`pagination-ellipsis`,className:e(`flex size-9 items-center justify-center`,t),...n,children:[r(s,{className:`size-4`}),r(`span`,{className:`sr-only`,children:`More pages`})]})}export{c as Pagination,l as PaginationContent,m as PaginationEllipsis,u as PaginationItem,d as PaginationLink,p as PaginationNext,f as PaginationPrevious};
2
- //# sourceMappingURL=pagination.js.map
1
+ "use client";import{cn as e}from"../utils-D9AH0PUV.js";import{buttonVariants as t}from"../button-Bku3bKv9.js";import n from"react";import{jsx as r,jsxs as i}from"react/jsx-runtime";import{ChevronLeftIcon as a,ChevronRightIcon as o,MoreHorizontalIcon as s}from"lucide-react";function c({className:t,...n}){return r(`nav`,{role:`navigation`,"aria-label":`pagination`,"data-slot":`pagination`,className:e(`mx-auto flex w-full justify-center`,t),...n})}function l({className:t,...n}){return r(`ul`,{"data-slot":`pagination-content`,className:e(`flex flex-row items-center gap-1`,t),...n})}function u({...e}){return r(`li`,{"data-slot":`pagination-item`,...e})}function d({className:n,isActive:i,size:a=`icon`,...o}){return r(`a`,{"aria-current":i?`page`:void 0,"data-slot":`pagination-link`,"data-active":i,className:e(t({variant:i?`outline`:`ghost`,size:a}),n),...o})}function f({className:t,...n}){return i(d,{"aria-label":`Go to previous page`,size:`default`,className:e(`gap-1 px-2.5 sm:pl-2.5`,t),...n,children:[r(a,{}),r(`span`,{className:`hidden sm:block`,children:`Previous`})]})}function p({className:t,...n}){return i(d,{"aria-label":`Go to next page`,size:`default`,className:e(`gap-1 px-2.5 sm:pr-2.5`,t),...n,children:[r(`span`,{className:`hidden sm:block`,children:`Next`}),r(o,{})]})}function m({className:t,...n}){return i(`span`,{"aria-hidden":!0,"data-slot":`pagination-ellipsis`,className:e(`flex size-9 items-center justify-center`,t),...n,children:[r(s,{className:`size-4`}),r(`span`,{className:`sr-only`,children:`More pages`})]})}export{c as Pagination,l as PaginationContent,m as PaginationEllipsis,u as PaginationItem,d as PaginationLink,p as PaginationNext,f as PaginationPrevious};
@@ -1,2 +1 @@
1
- "use client";const e=require(`../chunk-CUT6urMc.cjs`),t=require(`../utils-BsjVK5EW.cjs`),n=e.__toESM(require(`react`)),r=e.__toESM(require(`react/jsx-runtime`)),i=e.__toESM(require(`radix-ui`));function a({...e}){return(0,r.jsx)(i.Popover.Root,{"data-slot":`popover`,...e})}function o({...e}){return(0,r.jsx)(i.Popover.Trigger,{"data-slot":`popover-trigger`,...e})}function s({className:e,align:n=`start`,sideOffset:a=4,children:o,...s}){return(0,r.jsx)(i.Popover.Portal,{children:(0,r.jsx)(i.Popover.Content,{"data-slot":`popover-content`,align:n,sideOffset:a,className:t.cn(`bg-popover`,`text-popover-foreground`,`z-50 w-72`,`origin-(--radix-popover-content-transform-origin)`,`rounded-md border p-4 shadow-md outline-none`,`data-[state=open]:animate-in`,`data-[state=open]:fade-in-0`,`data-[state=open]:zoom-in-95`,`data-[state=closed]:animate-out`,`data-[state=closed]:fade-out-0`,`data-[state=closed]:zoom-out-95`,`data-[side=bottom]:slide-in-from-top-2`,`data-[side=left]:slide-in-from-right-2`,`data-[side=right]:slide-in-from-left-2`,`data-[side=top]:slide-in-from-bottom-2`,e),...s,children:o})})}function c({...e}){return(0,r.jsx)(i.Popover.Anchor,{"data-slot":`popover-anchor`,...e})}exports.Popover=a,exports.PopoverAnchor=c,exports.PopoverContent=s,exports.PopoverTrigger=o;
2
- //# sourceMappingURL=popover.cjs.map
1
+ "use client";const e=require(`../chunk-hhQzssFb.cjs`);require(`../utils-DaJ1XZgX.cjs`);const t=require(`../popover-Ce0OTSQL.cjs`);exports.Popover=t.Popover,exports.PopoverAnchor=t.PopoverAnchor,exports.PopoverContent=t.PopoverContent,exports.PopoverTrigger=t.PopoverTrigger;
@@ -1,23 +1,23 @@
1
+ import * as react_jsx_runtime150 from "react/jsx-runtime";
1
2
  import React from "react";
2
3
  import { Popover as Popover$1 } from "radix-ui";
3
4
 
4
5
  //#region packages/components/ui/popover.d.ts
5
6
  declare function Popover({
6
7
  ...props
7
- }: React.ComponentProps<typeof Popover$1.Root>): any;
8
+ }: React.ComponentProps<typeof Popover$1.Root>): react_jsx_runtime150.JSX.Element;
8
9
  declare function PopoverTrigger({
9
10
  ...props
10
- }: React.ComponentProps<typeof Popover$1.Trigger>): any;
11
+ }: React.ComponentProps<typeof Popover$1.Trigger>): react_jsx_runtime150.JSX.Element;
11
12
  declare function PopoverContent({
12
13
  className,
13
14
  align,
14
15
  sideOffset,
15
16
  children,
16
17
  ...props
17
- }: React.ComponentProps<typeof Popover$1.Content>): any;
18
+ }: React.ComponentProps<typeof Popover$1.Content>): react_jsx_runtime150.JSX.Element;
18
19
  declare function PopoverAnchor({
19
20
  ...props
20
- }: React.ComponentProps<typeof Popover$1.Anchor>): any;
21
+ }: React.ComponentProps<typeof Popover$1.Anchor>): react_jsx_runtime150.JSX.Element;
21
22
  //#endregion
22
- export { Popover, PopoverAnchor, PopoverContent, PopoverTrigger };
23
- //# sourceMappingURL=popover.d.cts.map
23
+ export { Popover, PopoverAnchor, PopoverContent, PopoverTrigger };
@@ -1,23 +1,23 @@
1
1
  import React from "react";
2
+ import * as react_jsx_runtime207 from "react/jsx-runtime";
2
3
  import { Popover as Popover$1 } from "radix-ui";
3
4
 
4
5
  //#region packages/components/ui/popover.d.ts
5
6
  declare function Popover({
6
7
  ...props
7
- }: React.ComponentProps<typeof Popover$1.Root>): any;
8
+ }: React.ComponentProps<typeof Popover$1.Root>): react_jsx_runtime207.JSX.Element;
8
9
  declare function PopoverTrigger({
9
10
  ...props
10
- }: React.ComponentProps<typeof Popover$1.Trigger>): any;
11
+ }: React.ComponentProps<typeof Popover$1.Trigger>): react_jsx_runtime207.JSX.Element;
11
12
  declare function PopoverContent({
12
13
  className,
13
14
  align,
14
15
  sideOffset,
15
16
  children,
16
17
  ...props
17
- }: React.ComponentProps<typeof Popover$1.Content>): any;
18
+ }: React.ComponentProps<typeof Popover$1.Content>): react_jsx_runtime207.JSX.Element;
18
19
  declare function PopoverAnchor({
19
20
  ...props
20
- }: React.ComponentProps<typeof Popover$1.Anchor>): any;
21
+ }: React.ComponentProps<typeof Popover$1.Anchor>): react_jsx_runtime207.JSX.Element;
21
22
  //#endregion
22
- export { Popover, PopoverAnchor, PopoverContent, PopoverTrigger };
23
- //# sourceMappingURL=popover.d.ts.map
23
+ export { Popover, PopoverAnchor, PopoverContent, PopoverTrigger };
@@ -1,2 +1 @@
1
- "use client";import{cn as e}from"../utils-D9AH0PUV.js";import t from"react";import{jsx as n}from"react/jsx-runtime";import{Popover as r}from"radix-ui";function i({...e}){return n(r.Root,{"data-slot":`popover`,...e})}function a({...e}){return n(r.Trigger,{"data-slot":`popover-trigger`,...e})}function o({className:t,align:i=`start`,sideOffset:a=4,children:o,...s}){return n(r.Portal,{children:n(r.Content,{"data-slot":`popover-content`,align:i,sideOffset:a,className:e(`bg-popover`,`text-popover-foreground`,`z-50 w-72`,`origin-(--radix-popover-content-transform-origin)`,`rounded-md border p-4 shadow-md outline-none`,`data-[state=open]:animate-in`,`data-[state=open]:fade-in-0`,`data-[state=open]:zoom-in-95`,`data-[state=closed]:animate-out`,`data-[state=closed]:fade-out-0`,`data-[state=closed]:zoom-out-95`,`data-[side=bottom]:slide-in-from-top-2`,`data-[side=left]:slide-in-from-right-2`,`data-[side=right]:slide-in-from-left-2`,`data-[side=top]:slide-in-from-bottom-2`,t),...s,children:o})})}function s({...e}){return n(r.Anchor,{"data-slot":`popover-anchor`,...e})}export{i as Popover,s as PopoverAnchor,o as PopoverContent,a as PopoverTrigger};
2
- //# sourceMappingURL=popover.js.map
1
+ "use client";import"../utils-D9AH0PUV.js";import{Popover as e,PopoverAnchor as t,PopoverContent as n,PopoverTrigger as r}from"../popover-tDri6Ded.js";export{e as Popover,t as PopoverAnchor,n as PopoverContent,r as PopoverTrigger};
@@ -1 +1 @@
1
- "use client";require(`../utils-BsjVK5EW.cjs`);const e=require(`../progress-BnnOfAZN.cjs`);exports.Progress=e.Progress;
1
+ "use client";const e=require(`../chunk-hhQzssFb.cjs`);require(`../utils-DaJ1XZgX.cjs`);const t=require(`../progress-CHh9eRZi.cjs`);exports.Progress=t.Progress;
@@ -1,3 +1,4 @@
1
+ import * as react_jsx_runtime166 from "react/jsx-runtime";
1
2
  import React from "react";
2
3
  import { Progress as Progress$1 } from "radix-ui";
3
4
 
@@ -6,7 +7,6 @@ declare function Progress({
6
7
  className,
7
8
  value,
8
9
  ...props
9
- }: React.ComponentProps<typeof Progress$1.Root>): any;
10
+ }: React.ComponentProps<typeof Progress$1.Root>): react_jsx_runtime166.JSX.Element;
10
11
  //#endregion
11
- export { Progress };
12
- //# sourceMappingURL=progress.d.cts.map
12
+ export { Progress };
@@ -1,4 +1,5 @@
1
1
  import React from "react";
2
+ import * as react_jsx_runtime222 from "react/jsx-runtime";
2
3
  import { Progress as Progress$1 } from "radix-ui";
3
4
 
4
5
  //#region packages/components/ui/progress.d.ts
@@ -6,7 +7,6 @@ declare function Progress({
6
7
  className,
7
8
  value,
8
9
  ...props
9
- }: React.ComponentProps<typeof Progress$1.Root>): any;
10
+ }: React.ComponentProps<typeof Progress$1.Root>): react_jsx_runtime222.JSX.Element;
10
11
  //#endregion
11
- export { Progress };
12
- //# sourceMappingURL=progress.d.ts.map
12
+ export { Progress };
@@ -1 +1 @@
1
- "use client";import"../utils-D9AH0PUV.js";import{Progress as e}from"../progress-CBccqUUJ.js";export{e as Progress};
1
+ "use client";import"../utils-D9AH0PUV.js";import{Progress as e}from"../progress-CeXKNvJc.js";export{e as Progress};
@@ -1,2 +1 @@
1
- "use client";const e=require(`../chunk-CUT6urMc.cjs`),t=require(`../utils-BsjVK5EW.cjs`),n=e.__toESM(require(`react`)),r=e.__toESM(require(`react/jsx-runtime`)),i=e.__toESM(require(`lucide-react`)),a=e.__toESM(require(`radix-ui`));function o({className:e,...n}){return(0,r.jsx)(a.RadioGroup.Root,{"data-slot":`radio-group`,className:t.cn(`grid gap-3`,e),...n})}function s({className:e,...n}){return(0,r.jsx)(a.RadioGroup.Item,{"data-slot":`radio-group-item`,className:t.cn(`border-input text-primary`,`focus-visible:border-ring`,`focus-visible:ring-ring/50`,`aria-invalid:ring-destructive/20`,`dark:aria-invalid:ring-destructive/40`,`aria-invalid:border-destructive`,`dark:bg-input/30`,`aspect-square size-4 shrink-0 rounded-full border shadow-xs transition-all outline-none focus-visible:ring-[3px]`,`disabled:cursor-not-allowed disabled:opacity-50`,e),...n,children:(0,r.jsxs)(a.RadioGroup.Indicator,{"data-slot":`radio-group-indicator`,className:`bg-primary relative flex items-center justify-center`,children:[(0,r.jsx)(`div`,{className:`bg-primary absolute size-4 rounded-full`}),(0,r.jsx)(i.CircleIcon,{className:`fill-secondary absolute top-1/2 left-1/2 size-2 -translate-1/2`})]})})}exports.RadioGroup=o,exports.RadioGroupItem=s;
2
- //# sourceMappingURL=radio-group.cjs.map
1
+ "use client";const e=require(`../chunk-hhQzssFb.cjs`),t=require(`../utils-DaJ1XZgX.cjs`),n=e.__toESM(require(`react`)),r=e.__toESM(require(`react/jsx-runtime`)),i=e.__toESM(require(`lucide-react`)),a=e.__toESM(require(`radix-ui`));function o({className:e,...n}){return(0,r.jsx)(a.RadioGroup.Root,{"data-slot":`radio-group`,className:t.cn(`grid gap-3`,e),...n})}function s({className:e,...n}){return(0,r.jsx)(a.RadioGroup.Item,{"data-slot":`radio-group-item`,className:t.cn(`border-input text-primary`,`focus-visible:border-ring`,`focus-visible:ring-ring/50`,`aria-invalid:ring-destructive/20`,`dark:aria-invalid:ring-destructive/40`,`aria-invalid:border-destructive`,`dark:bg-input/30`,`aspect-square size-4 shrink-0 rounded-full border shadow-xs transition-all outline-none focus-visible:ring-[3px]`,`disabled:cursor-not-allowed disabled:opacity-50`,e),...n,children:(0,r.jsxs)(a.RadioGroup.Indicator,{"data-slot":`radio-group-indicator`,className:`bg-primary relative flex items-center justify-center`,children:[(0,r.jsx)(`div`,{className:`bg-primary absolute size-4 rounded-full`}),(0,r.jsx)(i.CircleIcon,{className:`fill-secondary absolute top-1/2 left-1/2 size-2 -translate-1/2`})]})})}exports.RadioGroup=o,exports.RadioGroupItem=s;
@@ -1,3 +1,4 @@
1
+ import * as react_jsx_runtime164 from "react/jsx-runtime";
1
2
  import React from "react";
2
3
  import { RadioGroup as RadioGroup$1 } from "radix-ui";
3
4
 
@@ -5,11 +6,10 @@ import { RadioGroup as RadioGroup$1 } from "radix-ui";
5
6
  declare function RadioGroup({
6
7
  className,
7
8
  ...props
8
- }: React.ComponentProps<typeof RadioGroup$1.Root>): any;
9
+ }: React.ComponentProps<typeof RadioGroup$1.Root>): react_jsx_runtime164.JSX.Element;
9
10
  declare function RadioGroupItem({
10
11
  className,
11
12
  ...props
12
- }: React.ComponentProps<typeof RadioGroup$1.Item>): any;
13
+ }: React.ComponentProps<typeof RadioGroup$1.Item>): react_jsx_runtime164.JSX.Element;
13
14
  //#endregion
14
- export { RadioGroup, RadioGroupItem };
15
- //# sourceMappingURL=radio-group.d.cts.map
15
+ export { RadioGroup, RadioGroupItem };