@gv-tech/ui-web 2.29.0 → 2.29.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (474) hide show
  1. package/dist/__contracts.d.ts +0 -1
  2. package/dist/__contracts.d.ts.map +1 -1
  3. package/dist/{accordion-Bqt-y-u7.mjs → accordion-D5QXSsCK.mjs} +83 -74
  4. package/dist/accordion-DjyDOX-h.js +1 -0
  5. package/dist/accordion.cjs +1 -1
  6. package/dist/accordion.d.ts +1 -1
  7. package/dist/accordion.d.ts.map +1 -1
  8. package/dist/accordion.mjs +1 -1
  9. package/dist/{alert-dialog-BkUyJb_F.mjs → alert-dialog-B-a0Wa1M.mjs} +47 -47
  10. package/dist/alert-dialog-DYQAhGBC.js +1 -0
  11. package/dist/alert-dialog.cjs +1 -1
  12. package/dist/alert-dialog.d.ts +1 -1
  13. package/dist/alert-dialog.d.ts.map +1 -1
  14. package/dist/alert-dialog.mjs +1 -1
  15. package/dist/alert.cjs +1 -1
  16. package/dist/alert.d.ts +1 -1
  17. package/dist/alert.d.ts.map +1 -1
  18. package/dist/alert.mjs +2 -2
  19. package/dist/{aspect-ratio-X3HWxQz0.js → aspect-ratio-C-KOOyGP.js} +1 -1
  20. package/dist/{aspect-ratio-C7oBX-p_.mjs → aspect-ratio-s7Ji1MSr.mjs} +2 -2
  21. package/dist/aspect-ratio.cjs +1 -1
  22. package/dist/aspect-ratio.d.ts +2 -2
  23. package/dist/aspect-ratio.d.ts.map +1 -1
  24. package/dist/aspect-ratio.mjs +1 -1
  25. package/dist/attachment.cjs +1 -1
  26. package/dist/attachment.d.ts +2 -2
  27. package/dist/attachment.d.ts.map +1 -1
  28. package/dist/attachment.mjs +3 -3
  29. package/dist/avatar-4K3XjhP8.js +1 -0
  30. package/dist/{avatar-DTkhTxt7.mjs → avatar-d8Di248f.mjs} +49 -44
  31. package/dist/avatar.cjs +1 -1
  32. package/dist/avatar.d.ts +1 -1
  33. package/dist/avatar.d.ts.map +1 -1
  34. package/dist/avatar.mjs +1 -1
  35. package/dist/badge.cjs +1 -1
  36. package/dist/badge.d.ts +1 -1
  37. package/dist/badge.d.ts.map +1 -1
  38. package/dist/badge.mjs +2 -2
  39. package/dist/breadcrumb.cjs +1 -1
  40. package/dist/breadcrumb.d.ts.map +1 -1
  41. package/dist/breadcrumb.mjs +1 -3
  42. package/dist/bubble.cjs +1 -1
  43. package/dist/bubble.d.ts +1 -1
  44. package/dist/bubble.d.ts.map +1 -1
  45. package/dist/bubble.mjs +4 -4
  46. package/dist/button-group.cjs +1 -1
  47. package/dist/button-group.d.ts +4 -4
  48. package/dist/button-group.d.ts.map +1 -1
  49. package/dist/button-group.mjs +3 -4
  50. package/dist/button.cjs +1 -1
  51. package/dist/button.d.ts +1 -1
  52. package/dist/button.d.ts.map +1 -1
  53. package/dist/button.mjs +3 -3
  54. package/dist/calendar-DFj14O6r.js +1 -0
  55. package/dist/{calendar-CkHWa9Uu.mjs → calendar-UW8h9dfh.mjs} +443 -437
  56. package/dist/calendar.cjs +1 -1
  57. package/dist/calendar.d.ts +1 -1
  58. package/dist/calendar.d.ts.map +1 -1
  59. package/dist/calendar.mjs +1 -1
  60. package/dist/card.d.ts.map +1 -1
  61. package/dist/{carousel-Cv5isLeg.js → carousel-CNGpg5df.js} +1 -1
  62. package/dist/{carousel-ynaeMNIV.mjs → carousel-DG9xGJns.mjs} +3 -5
  63. package/dist/carousel.cjs +1 -1
  64. package/dist/carousel.d.ts +3 -3
  65. package/dist/carousel.d.ts.map +1 -1
  66. package/dist/carousel.mjs +1 -1
  67. package/dist/checkbox-BCgbTAdU.js +1 -0
  68. package/dist/{checkbox-BLvAEmRC.mjs → checkbox-Dq8VHKDH.mjs} +48 -44
  69. package/dist/checkbox.cjs +1 -1
  70. package/dist/checkbox.d.ts +1 -1
  71. package/dist/checkbox.d.ts.map +1 -1
  72. package/dist/checkbox.mjs +1 -1
  73. package/dist/{chunk-HBS6WEDP-CzyhzCaP.mjs → chunk-HBS6WEDP-aK8IuEX9.mjs} +1 -1
  74. package/dist/collapsible.cjs +1 -1
  75. package/dist/collapsible.d.ts +4 -4
  76. package/dist/collapsible.d.ts.map +1 -1
  77. package/dist/collapsible.mjs +7 -7
  78. package/dist/combobox-CpPIGtPJ.js +4 -0
  79. package/dist/combobox-b4OmCNw1.mjs +5887 -0
  80. package/dist/combobox.cjs +1 -1
  81. package/dist/combobox.d.ts.map +1 -1
  82. package/dist/combobox.mjs +1 -1
  83. package/dist/{command-DY6u8V0D.mjs → command-5hobOyGG.mjs} +6 -6
  84. package/dist/{command-BqO-CfH6.js → command-Dbqnm9kI.js} +1 -1
  85. package/dist/command.cjs +1 -1
  86. package/dist/command.d.ts +1 -1
  87. package/dist/command.d.ts.map +1 -1
  88. package/dist/command.mjs +1 -1
  89. package/dist/context-menu-DyTUismw.js +1 -0
  90. package/dist/{context-menu-tL6CY6a0.mjs → context-menu-DzzU-_v8.mjs} +115 -116
  91. package/dist/context-menu.cjs +1 -1
  92. package/dist/context-menu.d.ts +1 -1
  93. package/dist/context-menu.d.ts.map +1 -1
  94. package/dist/context-menu.mjs +1 -1
  95. package/dist/dialog.cjs +1 -1
  96. package/dist/dialog.d.ts +1 -1
  97. package/dist/dialog.d.ts.map +1 -1
  98. package/dist/dialog.mjs +1 -1
  99. package/dist/direction.cjs +1 -1
  100. package/dist/direction.d.ts +1 -1
  101. package/dist/direction.d.ts.map +1 -1
  102. package/dist/direction.mjs +1 -1
  103. package/dist/{dist-BTN2t9yv.js → dist-1zUKVGvf.js} +1 -1
  104. package/dist/{dist-BIXhHahX.mjs → dist-B057I8ju.mjs} +4 -4
  105. package/dist/{dist-DyMv0xk8.mjs → dist-BB78QQyQ.mjs} +1 -1
  106. package/dist/dist-BBvidwzC.js +1 -0
  107. package/dist/{dist-BQhMregZ.mjs → dist-BEbV0Hal.mjs} +2 -2
  108. package/dist/dist-BPL7gUpg.mjs +18 -0
  109. package/dist/{dist-Dj9s8AIv.js → dist-BTUvBzOm.js} +1 -1
  110. package/dist/{dist-CdBAkUWT.js → dist-BU-TFzJf.js} +1 -1
  111. package/dist/dist-Bb5W_J2F.mjs +39 -0
  112. package/dist/dist-BbI6NHqR.mjs +23 -0
  113. package/dist/{dist-5r7hQmO0.mjs → dist-BexAB6yo.mjs} +53 -48
  114. package/dist/dist-BgXIqHHq.js +1 -0
  115. package/dist/{dist-BUXpRW9O.mjs → dist-Bvfb4y_L.mjs} +3 -3
  116. package/dist/{dist-DMwCTE2i.mjs → dist-CPAF050o.mjs} +1 -1
  117. package/dist/{dist-6c2NeKfz.mjs → dist-CUvxOuXM.mjs} +192 -177
  118. package/dist/dist-ClYM7l1t.js +1 -0
  119. package/dist/{dist-Dg9ASyqI.mjs → dist-CpKLY_uZ.mjs} +2 -2
  120. package/dist/dist-D1qkELLT.js +1 -0
  121. package/dist/dist-DEpkkABT.js +1 -0
  122. package/dist/{dist-rx5WaFf5.mjs → dist-DI1vapnL.mjs} +3 -3
  123. package/dist/dist-DKXojpVG.js +1 -0
  124. package/dist/dist-DatgTWLz.mjs +202 -0
  125. package/dist/dist-DoivLw3t.js +1 -0
  126. package/dist/{dist-8fYwoWd4.mjs → dist-Dq-h6VAy.mjs} +21 -14
  127. package/dist/{dist-DfvK7DpO.mjs → dist-Dt6m-kwU.mjs} +86 -78
  128. package/dist/dist-E8ieJTBC.mjs +190 -0
  129. package/dist/{dist-D7UHN1DJ.mjs → dist-GazS1kfR.mjs} +1 -1
  130. package/dist/dist-N97cIp0_.js +1 -0
  131. package/dist/dist-OqDzLHTa.mjs +460 -0
  132. package/dist/dist-Qm9hFvM1.js +1 -0
  133. package/dist/{dist-CBsYNwXz.mjs → dist-UkWa-Arh.mjs} +2 -2
  134. package/dist/dist-UnTrOmPV.js +1 -0
  135. package/dist/dist-Zs2sjYhL.js +1 -0
  136. package/dist/{dist-BoNQb2nd.js → dist-hFLuJoMi.js} +1 -1
  137. package/dist/{dist-CYrqAnIr.mjs → dist-s7ibhASj.mjs} +6 -7
  138. package/dist/{dist-ByW6RHeZ.mjs → dist-vu20fMUK.mjs} +15 -16
  139. package/dist/drawer.d.ts +1 -1
  140. package/dist/drawer.d.ts.map +1 -1
  141. package/dist/{dropdown-menu-BWqWoYis.mjs → dropdown-menu-BqAhn64y.mjs} +106 -106
  142. package/dist/dropdown-menu-BtKOr--r.js +1 -0
  143. package/dist/dropdown-menu.cjs +1 -1
  144. package/dist/dropdown-menu.d.ts +1 -1
  145. package/dist/dropdown-menu.d.ts.map +1 -1
  146. package/dist/dropdown-menu.mjs +1 -1
  147. package/dist/empty.cjs +1 -1
  148. package/dist/empty.d.ts +7 -7
  149. package/dist/empty.d.ts.map +1 -1
  150. package/dist/empty.mjs +1 -1
  151. package/dist/es2015-DbAsWDbs.js +41 -0
  152. package/dist/es2015-DbsmTzuc.mjs +571 -0
  153. package/dist/field.cjs +1 -1
  154. package/dist/field.d.ts +12 -12
  155. package/dist/field.d.ts.map +1 -1
  156. package/dist/field.mjs +4 -5
  157. package/dist/form.cjs +1 -1
  158. package/dist/form.d.ts +3 -3
  159. package/dist/form.d.ts.map +1 -1
  160. package/dist/form.mjs +2 -2
  161. package/dist/hover-card-DMsxpR9G.mjs +178 -0
  162. package/dist/hover-card-DWXusgiI.js +1 -0
  163. package/dist/hover-card.cjs +1 -1
  164. package/dist/hover-card.d.ts +1 -1
  165. package/dist/hover-card.d.ts.map +1 -1
  166. package/dist/hover-card.mjs +1 -1
  167. package/dist/index.cjs +1 -1
  168. package/dist/index.mjs +35 -35
  169. package/dist/input-group.cjs +1 -1
  170. package/dist/input-group.d.ts +3 -3
  171. package/dist/input-group.d.ts.map +1 -1
  172. package/dist/input-group.mjs +3 -8
  173. package/dist/{input-otp-m_BTudNY.mjs → input-otp-D49Y9VcH.mjs} +2 -2
  174. package/dist/{input-otp-D9MwUsPO.js → input-otp-u3obpt-Q.js} +1 -1
  175. package/dist/input-otp.cjs +1 -1
  176. package/dist/input-otp.d.ts +1 -1
  177. package/dist/input-otp.d.ts.map +1 -1
  178. package/dist/input-otp.mjs +1 -1
  179. package/dist/input.d.ts.map +1 -1
  180. package/dist/item.cjs +1 -1
  181. package/dist/item.d.ts +2 -2
  182. package/dist/item.d.ts.map +1 -1
  183. package/dist/item.mjs +5 -6
  184. package/dist/kbd.d.ts +2 -2
  185. package/dist/kbd.d.ts.map +1 -1
  186. package/dist/{label-CgKiKHKG.js → label-Dacwh21G.js} +1 -1
  187. package/dist/{label-DVA-YKpB.mjs → label-DsSICLPc.mjs} +2 -2
  188. package/dist/label.cjs +1 -1
  189. package/dist/label.d.ts +1 -1
  190. package/dist/label.d.ts.map +1 -1
  191. package/dist/label.mjs +1 -1
  192. package/dist/marker.cjs +1 -1
  193. package/dist/marker.d.ts +1 -1
  194. package/dist/marker.d.ts.map +1 -1
  195. package/dist/marker.mjs +4 -4
  196. package/dist/menubar-BYNeRuzx.js +1 -0
  197. package/dist/{menubar-CyKBLHme.mjs → menubar-DZqEj6S1.mjs} +102 -100
  198. package/dist/menubar.cjs +1 -1
  199. package/dist/menubar.d.ts +1 -1
  200. package/dist/menubar.d.ts.map +1 -1
  201. package/dist/menubar.mjs +1 -1
  202. package/dist/{message-scroller-FwdKclRM.mjs → message-scroller-CS4t7Ypn.mjs} +2 -2
  203. package/dist/message-scroller.d.ts +1 -1
  204. package/dist/message-scroller.d.ts.map +1 -1
  205. package/dist/message-scroller.mjs +1 -1
  206. package/dist/message.d.ts.map +1 -1
  207. package/dist/native-select.d.ts.map +1 -1
  208. package/dist/navigation-menu-B36G3O83.js +1 -0
  209. package/dist/{navigation-menu-BzE1J1rs.mjs → navigation-menu-RO6thDOF.mjs} +245 -217
  210. package/dist/navigation-menu.cjs +1 -1
  211. package/dist/navigation-menu.d.ts +1 -1
  212. package/dist/navigation-menu.d.ts.map +1 -1
  213. package/dist/navigation-menu.mjs +1 -1
  214. package/dist/pagination.cjs +1 -1
  215. package/dist/pagination.d.ts +2 -2
  216. package/dist/pagination.d.ts.map +1 -1
  217. package/dist/pagination.mjs +3 -2
  218. package/dist/popover-DSBkc70V.mjs +243 -0
  219. package/dist/popover-DUHbvKB8.js +1 -0
  220. package/dist/popover.cjs +1 -1
  221. package/dist/popover.d.ts +1 -1
  222. package/dist/popover.d.ts.map +1 -1
  223. package/dist/popover.mjs +1 -1
  224. package/dist/{progress-nfJMuKGj.js → progress-B9z08UXf.js} +2 -2
  225. package/dist/{progress-ClcVCqjl.mjs → progress-CQ4nQ85t.mjs} +7 -8
  226. package/dist/progress.cjs +1 -1
  227. package/dist/progress.d.ts +1 -1
  228. package/dist/progress.d.ts.map +1 -1
  229. package/dist/progress.mjs +1 -1
  230. package/dist/{questionnaire-DKWcZeWT.mjs → questionnaire-CVED7G7R.mjs} +2 -2
  231. package/dist/questionnaire.d.ts +1 -1
  232. package/dist/questionnaire.d.ts.map +1 -1
  233. package/dist/questionnaire.mjs +1 -1
  234. package/dist/radio-group-Bd3WbH5I.js +1 -0
  235. package/dist/{radio-group-5VwmCXRK.mjs → radio-group-TRiAhMZB.mjs} +43 -42
  236. package/dist/radio-group.cjs +1 -1
  237. package/dist/radio-group.mjs +1 -1
  238. package/dist/resizable-Cq60hEWB.js +1 -0
  239. package/dist/resizable-Qc8cVUKd.mjs +2857 -0
  240. package/dist/resizable.cjs +1 -1
  241. package/dist/resizable.d.ts +3 -3
  242. package/dist/resizable.mjs +1 -1
  243. package/dist/scroll-area-D6MiNHnJ.mjs +564 -0
  244. package/dist/scroll-area-DFUdJeSZ.js +1 -0
  245. package/dist/scroll-area.cjs +1 -1
  246. package/dist/scroll-area.d.ts +1 -1
  247. package/dist/scroll-area.d.ts.map +1 -1
  248. package/dist/scroll-area.mjs +1 -1
  249. package/dist/scroll-to-top.cjs +1 -1
  250. package/dist/scroll-to-top.d.ts.map +1 -1
  251. package/dist/scroll-to-top.mjs +7 -5
  252. package/dist/search.cjs +1 -1
  253. package/dist/search.d.ts.map +1 -1
  254. package/dist/search.mjs +1 -1
  255. package/dist/{select-CnHZdna2.mjs → select-BFJUmjvX.mjs} +326 -288
  256. package/dist/select-iQFoKU1s.js +1 -0
  257. package/dist/select.cjs +1 -1
  258. package/dist/select.d.ts +1 -1
  259. package/dist/select.d.ts.map +1 -1
  260. package/dist/select.mjs +1 -1
  261. package/dist/{separator-D1a8myFf.mjs → separator-2kr96SyF.mjs} +15 -13
  262. package/dist/separator-Bo49G2aj.js +1 -0
  263. package/dist/separator.cjs +1 -1
  264. package/dist/separator.d.ts +1 -1
  265. package/dist/separator.d.ts.map +1 -1
  266. package/dist/separator.mjs +1 -1
  267. package/dist/sheet.cjs +1 -1
  268. package/dist/sheet.d.ts +1 -1
  269. package/dist/sheet.d.ts.map +1 -1
  270. package/dist/sheet.mjs +1 -1
  271. package/dist/sidebar-C6O8hLkz.js +1 -0
  272. package/dist/{sidebar-B5q6nH2G.mjs → sidebar-DM9ee9wf.mjs} +6 -6
  273. package/dist/sidebar.cjs +1 -1
  274. package/dist/sidebar.d.ts +1 -1
  275. package/dist/sidebar.d.ts.map +1 -1
  276. package/dist/sidebar.mjs +1 -1
  277. package/dist/skeleton.d.ts +1 -1
  278. package/dist/skeleton.d.ts.map +1 -1
  279. package/dist/slider-CagVxozY.js +1 -0
  280. package/dist/slider-CdTCoQu1.mjs +485 -0
  281. package/dist/slider.cjs +1 -1
  282. package/dist/slider.d.ts +1 -1
  283. package/dist/slider.d.ts.map +1 -1
  284. package/dist/slider.mjs +1 -1
  285. package/dist/sonner.d.ts +1 -1
  286. package/dist/spinner.cjs +1 -1
  287. package/dist/spinner.d.ts +2 -1
  288. package/dist/spinner.d.ts.map +1 -1
  289. package/dist/spinner.mjs +8 -4
  290. package/dist/support-fab.d.ts.map +1 -1
  291. package/dist/switch-CoeAC1Wk.js +1 -0
  292. package/dist/{switch-DagjjAQu.mjs → switch-zUBdj7jK.mjs} +46 -42
  293. package/dist/switch.cjs +1 -1
  294. package/dist/switch.d.ts +1 -1
  295. package/dist/switch.d.ts.map +1 -1
  296. package/dist/switch.mjs +1 -1
  297. package/dist/table-of-contents.cjs +1 -1
  298. package/dist/table-of-contents.d.ts +5 -10
  299. package/dist/table-of-contents.d.ts.map +1 -1
  300. package/dist/table-of-contents.mjs +1 -0
  301. package/dist/table.d.ts.map +1 -1
  302. package/dist/{tabs-OQ6rj-3B.mjs → tabs-DaE9pEbo.mjs} +47 -45
  303. package/dist/tabs-TMhXe20x.js +1 -0
  304. package/dist/tabs.cjs +1 -1
  305. package/dist/tabs.d.ts +1 -1
  306. package/dist/tabs.d.ts.map +1 -1
  307. package/dist/tabs.mjs +1 -1
  308. package/dist/text.cjs +1 -1
  309. package/dist/text.d.ts +1 -1
  310. package/dist/text.d.ts.map +1 -1
  311. package/dist/text.mjs +3 -3
  312. package/dist/textarea.d.ts.map +1 -1
  313. package/dist/theme-provider.d.ts +1 -1
  314. package/dist/theme-provider.d.ts.map +1 -1
  315. package/dist/{theme-toggle-BCcH-QtH.mjs → theme-toggle-3RStptYf.mjs} +21 -12
  316. package/dist/theme-toggle-DKh8WFLT.js +1 -0
  317. package/dist/theme-toggle.cjs +1 -1
  318. package/dist/theme-toggle.d.ts +1 -1
  319. package/dist/theme-toggle.d.ts.map +1 -1
  320. package/dist/theme-toggle.mjs +1 -1
  321. package/dist/toast-B0S3F09s.js +1 -0
  322. package/dist/toast-D0Yb-K84.mjs +445 -0
  323. package/dist/toast.cjs +1 -1
  324. package/dist/toast.d.ts +1 -1
  325. package/dist/toast.d.ts.map +1 -1
  326. package/dist/toast.mjs +1 -1
  327. package/dist/{toaster-DS9iODKU.js → toaster-CX9im8R_.js} +1 -1
  328. package/dist/{toaster-CKAJ9cht.mjs → toaster-gT2b7mfE.mjs} +1 -1
  329. package/dist/toaster.cjs +1 -1
  330. package/dist/toaster.d.ts +1 -1
  331. package/dist/toaster.d.ts.map +1 -1
  332. package/dist/toaster.mjs +1 -1
  333. package/dist/toggle-B0hXPsi7.js +1 -0
  334. package/dist/{toggle-CuLxBIWH.mjs → toggle-BAeKd2N0.mjs} +10 -10
  335. package/dist/{toggle-group-DfkvPKU_.mjs → toggle-group-CEKhUozD.mjs} +47 -44
  336. package/dist/toggle-group-htyug3G7.js +1 -0
  337. package/dist/toggle-group.cjs +1 -1
  338. package/dist/toggle-group.d.ts +1 -1
  339. package/dist/toggle-group.d.ts.map +1 -1
  340. package/dist/toggle-group.mjs +1 -1
  341. package/dist/toggle.cjs +1 -1
  342. package/dist/toggle.d.ts +1 -1
  343. package/dist/toggle.d.ts.map +1 -1
  344. package/dist/toggle.mjs +1 -1
  345. package/dist/tooltip-BZazhXDZ.js +1 -0
  346. package/dist/tooltip-R_nK_Qh5.mjs +390 -0
  347. package/dist/tooltip.cjs +1 -1
  348. package/dist/tooltip.d.ts +1 -1
  349. package/dist/tooltip.d.ts.map +1 -1
  350. package/dist/tooltip.mjs +1 -1
  351. package/package.json +16 -16
  352. package/src/__contracts.ts +318 -321
  353. package/src/accordion.tsx +1 -2
  354. package/src/alert-dialog.tsx +1 -2
  355. package/src/alert.tsx +3 -4
  356. package/src/aspect-ratio.tsx +1 -2
  357. package/src/attachment.tsx +8 -9
  358. package/src/avatar.tsx +1 -2
  359. package/src/badge.tsx +2 -3
  360. package/src/breadcrumb.tsx +1 -4
  361. package/src/bubble.tsx +7 -8
  362. package/src/button-group.tsx +2 -3
  363. package/src/button.tsx +3 -4
  364. package/src/calendar.tsx +8 -9
  365. package/src/card.tsx +1 -2
  366. package/src/carousel.tsx +9 -10
  367. package/src/checkbox.tsx +1 -2
  368. package/src/collapsible.tsx +1 -2
  369. package/src/combobox.tsx +6 -7
  370. package/src/command.tsx +1 -2
  371. package/src/context-menu.tsx +1 -2
  372. package/src/dialog.tsx +1 -2
  373. package/src/direction.tsx +1 -2
  374. package/src/drawer.tsx +1 -2
  375. package/src/dropdown-menu.tsx +1 -2
  376. package/src/empty.tsx +2 -3
  377. package/src/field.tsx +9 -11
  378. package/src/form.tsx +8 -8
  379. package/src/hooks/use-mobile.ts +1 -1
  380. package/src/hover-card.tsx +1 -2
  381. package/src/input-group.tsx +12 -21
  382. package/src/input-otp.tsx +5 -6
  383. package/src/input.tsx +1 -2
  384. package/src/item.tsx +10 -12
  385. package/src/kbd.tsx +1 -2
  386. package/src/label.tsx +1 -2
  387. package/src/marker.tsx +4 -5
  388. package/src/menubar.tsx +1 -2
  389. package/src/message-scroller.tsx +9 -10
  390. package/src/message.tsx +2 -3
  391. package/src/native-select.tsx +3 -4
  392. package/src/navigation-menu.tsx +2 -3
  393. package/src/pagination.tsx +5 -4
  394. package/src/popover.tsx +1 -2
  395. package/src/progress.tsx +1 -2
  396. package/src/questionnaire.tsx +6 -7
  397. package/src/scroll-area.tsx +1 -2
  398. package/src/scroll-to-top.tsx +7 -2
  399. package/src/search.tsx +2 -1
  400. package/src/select.tsx +1 -2
  401. package/src/separator.tsx +1 -2
  402. package/src/setupTests.ts +9 -9
  403. package/src/sheet.tsx +1 -2
  404. package/src/sidebar.tsx +15 -16
  405. package/src/skeleton.tsx +1 -2
  406. package/src/slider.tsx +1 -2
  407. package/src/spinner.tsx +8 -7
  408. package/src/support-fab.tsx +5 -1
  409. package/src/switch.tsx +1 -2
  410. package/src/table-of-contents.tsx +8 -11
  411. package/src/table.tsx +1 -2
  412. package/src/tabs.tsx +2 -3
  413. package/src/text.tsx +4 -4
  414. package/src/textarea.tsx +1 -2
  415. package/src/theme-provider.tsx +1 -1
  416. package/src/theme-toggle.tsx +26 -23
  417. package/src/toast.tsx +3 -4
  418. package/src/toaster.tsx +2 -1
  419. package/src/toggle-group.tsx +1 -2
  420. package/src/toggle.tsx +3 -4
  421. package/src/tooltip.tsx +1 -2
  422. package/dist/accordion-BgbjpZAF.js +0 -1
  423. package/dist/alert-dialog-DonbkCSD.js +0 -1
  424. package/dist/avatar-DhvZbCtI.js +0 -1
  425. package/dist/calendar-Bo8kovKR.js +0 -1
  426. package/dist/checkbox-Dt06B4YW.js +0 -1
  427. package/dist/combobox-BB_YzCTY.js +0 -4
  428. package/dist/combobox-YxjYGUoe.mjs +0 -5748
  429. package/dist/context-menu-Dad9hs94.js +0 -1
  430. package/dist/dist-9-j0_8D1.mjs +0 -34
  431. package/dist/dist-BMl8xXCH.mjs +0 -188
  432. package/dist/dist-BOKg7rhq.js +0 -1
  433. package/dist/dist-BPhn-EOy.mjs +0 -15
  434. package/dist/dist-Bivv8B6p.mjs +0 -16
  435. package/dist/dist-C83rnWRv.js +0 -1
  436. package/dist/dist-Cn7g8jD0.js +0 -1
  437. package/dist/dist-DOoZ3vGL.mjs +0 -407
  438. package/dist/dist-DcRkoHAk.js +0 -1
  439. package/dist/dist-NEeQKKDZ.js +0 -1
  440. package/dist/dist-N_70prl1.js +0 -1
  441. package/dist/dist-dMp9dzmY.mjs +0 -20
  442. package/dist/dist-mHQuNOH-.js +0 -1
  443. package/dist/dist-oyFh63Uq.js +0 -1
  444. package/dist/dist-v-Y6tnMq.js +0 -1
  445. package/dist/dist-v9094Auw.js +0 -1
  446. package/dist/dist-yA6iVq_M.js +0 -1
  447. package/dist/dropdown-menu-BpZcobmP.js +0 -1
  448. package/dist/es2015-CYxXY2oV.mjs +0 -727
  449. package/dist/es2015-t2RPC0Rg.js +0 -41
  450. package/dist/hover-card-7NjGqlP0.js +0 -1
  451. package/dist/hover-card-DuRUptxQ.mjs +0 -176
  452. package/dist/menubar-DlOMZeh1.js +0 -1
  453. package/dist/navigation-menu-CrR01R8Z.js +0 -1
  454. package/dist/popover-CFF_HXSf.mjs +0 -222
  455. package/dist/popover-D9pVy08c.js +0 -1
  456. package/dist/radio-group-DhXnB0fI.js +0 -1
  457. package/dist/resizable-ChIqXiu4.js +0 -1
  458. package/dist/resizable-CpovHnG-.mjs +0 -1573
  459. package/dist/scroll-area-CUqjuvqH.js +0 -1
  460. package/dist/scroll-area-DstdIGvS.mjs +0 -539
  461. package/dist/select-CnCTQeh7.js +0 -1
  462. package/dist/separator-BXaVJadH.js +0 -1
  463. package/dist/sidebar-ns_2TNBM.js +0 -1
  464. package/dist/slider-PoIV6N-u.js +0 -1
  465. package/dist/slider-ZnyQjYsS.mjs +0 -460
  466. package/dist/switch-DLY8PkmL.js +0 -1
  467. package/dist/tabs-QBWdNfSK.js +0 -1
  468. package/dist/theme-toggle-Q3UHstP_.js +0 -1
  469. package/dist/toast-BOdziIGg.mjs +0 -424
  470. package/dist/toast-D1fjLwO1.js +0 -1
  471. package/dist/toggle-DtpvPox_.js +0 -1
  472. package/dist/toggle-group-UHY0Tip1.js +0 -1
  473. package/dist/tooltip-BbCL1gtU.mjs +0 -384
  474. package/dist/tooltip-BvpyStn2.js +0 -1
@@ -0,0 +1 @@
1
+ const e=require("./chunk-mLOUI7ql.js"),t=require("./dist-BBvidwzC.js"),n=require("./dist-DYUvPCPC.js"),r=require("./dist-CGgemr2V.js");let i=require("react");i=e.r(i,1);let a=require("react/jsx-runtime");var o=Object.defineProperty,s=(e,t)=>o(e,`name`,{value:t,configurable:!0});function c(e){let r=e+`CollectionProvider`,[o,c]=n.t(r),[l,u]=o(r,{collectionRef:{current:null},itemMap:new Map}),d=s(e=>{let{scope:t,children:n}=e,r=i.useRef(null),o=i.useRef(new Map).current;return(0,a.jsx)(l,{scope:t,itemMap:o,collectionRef:r,children:n})},`CollectionProvider`);d.displayName=r;let f=e+`CollectionSlot`,p=t.n(f),m=i.forwardRef((e,n)=>{let{scope:r,children:i}=e;return(0,a.jsx)(p,{ref:t.a(n,u(f,r).collectionRef),children:i})});m.displayName=f;let h=e+`CollectionItemSlot`,g=`data-radix-collection-item`,_=t.n(h),v=i.forwardRef((e,n)=>{let{scope:r,children:o,...s}=e,c=i.useRef(null),l=t.a(n,c),d=u(h,r);return i.useEffect(()=>(d.itemMap.set(c,{ref:c,...s}),()=>void d.itemMap.delete(c))),(0,a.jsx)(_,{[g]:``,ref:l,children:o})});v.displayName=h;function y(t){let n=u(e+`CollectionConsumer`,t);return i.useCallback(()=>{let e=n.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll(`[${g}]`));return Array.from(n.itemMap.values()).sort((e,n)=>t.indexOf(e.ref.current)-t.indexOf(n.ref.current))},[n.collectionRef,n.itemMap])}return s(y,`useCollection`),[{Provider:d,Slot:m,ItemSlot:v},y,c]}s(c,`createCollection`);var l=new WeakMap,u=class e extends Map{static{s(this,`OrderedDict`)}#e;constructor(e){super(e),this.#e=[...super.keys()],l.set(this,!0)}set(e,t){return l.get(this)&&!this.has(e)&&this.#e.push(e),super.set(e,t),this}insert(e,t,n){let r=this.has(t),i=r?this.size:this.size+1,a=p(e),o=a>=0?Math.min(a,i-1):Math.max(i+a,0);if(r?this.#e.indexOf(t)===o:o===this.size)return this.set(t,n),this;let s=this.#e.filter(e=>e!==t);s.splice(o,0,t);let c=s.map(e=>[e,e===t?n:this.get(e)]);this.clear();for(let[e,t]of c)this.set(e,t);return this}with(t,n,r){let i=new e(this);return i.insert(t,n,r),i}before(e){let t=this.#e.indexOf(e)-1;if(!(t<0))return this.entryAt(t)}setBefore(e,t,n){let r=this.#e.indexOf(e);if(r===-1)return this;let i=this.#e.indexOf(t),a=i!==-1&&i<r?r-1:r;return this.insert(a,t,n)}after(e){let t=this.#e.indexOf(e);if(t=t===-1||t===this.size-1?-1:t+1,t!==-1)return this.entryAt(t)}setAfter(e,t,n){let r=this.#e.indexOf(e);if(r===-1)return this;let i=this.#e.indexOf(t),a=i!==-1&&i<=r?r:r+1;return this.insert(a,t,n)}first(){return this.entryAt(0)}last(){return this.entryAt(-1)}clear(){return this.#e=[],super.clear()}delete(e){let t=super.delete(e);return t&&this.#e.splice(this.#e.indexOf(e),1),t}deleteAt(e){let t=this.keyAt(e);return t===void 0?!1:this.delete(t)}at(e){let t=d(this.#e,e);if(t!==void 0)return this.get(t)}entryAt(e){let t=d(this.#e,e);if(t!==void 0)return[t,this.get(t)]}indexOf(e){return this.#e.indexOf(e)}keyAt(e){return d(this.#e,e)}from(e,t){let n=this.indexOf(e);if(n===-1)return;let r=n+t;return r<0&&(r=0),r>=this.size&&(r=this.size-1),this.at(r)}keyFrom(e,t){let n=this.indexOf(e);if(n===-1)return;let r=n+t;return r<0&&(r=0),r>=this.size&&(r=this.size-1),this.keyAt(r)}find(e,t){let n=0;for(let r of this){if(Reflect.apply(e,t,[r,n,this]))return r;n++}}findIndex(e,t){let n=0;for(let r of this){if(Reflect.apply(e,t,[r,n,this]))return n;n++}return-1}filter(t,n){let r=[],i=0;for(let e of this)Reflect.apply(t,n,[e,i,this])&&r.push(e),i++;return new e(r)}map(t,n){let r=[],i=0;for(let e of this)r.push([e[0],Reflect.apply(t,n,[e,i,this])]),i++;return new e(r)}reduce(...e){let[t,n]=e,r=e.length>1;if(!r&&this.size===0)throw TypeError(`Reduce of empty OrderedDict with no initial value`);let i=0,a=n;for(let e of this)a=i===0&&!r?e:Reflect.apply(t,this,[a,e,i,this]),i++;return a}reduceRight(...e){let[t,n]=e,r=e.length>1;if(!r&&this.size===0)throw TypeError(`Reduce of empty OrderedDict with no initial value`);let i=n;for(let e=this.size-1;e>=0;e--){let n=this.entryAt(e);i=e===this.size-1&&!r?n:Reflect.apply(t,this,[i,n,e,this])}return i}sort(e){if(typeof e!=`function`)throw TypeError(`OrderedDict.sort requires a compare function`);let t=[...this.entries()].sort(e);this.clear();for(let[e,n]of t)this.set(e,n);return this}toSorted(t){if(typeof t!=`function`)throw TypeError(`OrderedDict.toSorted requires a compare function`);return new e([...this.entries()].sort(t))}toReversed(){let t=new e;for(let e=this.size-1;e>=0;e--){let n=this.keyAt(e),r=this.get(n);t.set(n,r)}return t}toSpliced(...t){let n=[...this.entries()];return n.splice(...t),new e(n)}slice(t,n){let r=new e;for(let e of this.#e.slice(t,n))r.set(e,this.get(e));return r}every(e,t){let n=0;for(let r of this){if(!Reflect.apply(e,t,[r,n,this]))return!1;n++}return!0}some(e,t){let n=0;for(let r of this){if(Reflect.apply(e,t,[r,n,this]))return!0;n++}return!1}};function d(e,t){if(`at`in Array.prototype)return Array.prototype.at.call(e,t);let n=f(e,t);return n===-1?void 0:e[n]}s(d,`at`);function f(e,t){let n=e.length,r=p(t),i=r>=0?r:n+r;return i<0||i>=n?-1:i}s(f,`toSafeIndex`);function p(e){return e!==e||e===0?0:Math.trunc(e)}s(p,`toSafeInteger`);function m(e){let o=e+`CollectionProvider`,[c,l]=n.t(o),[d,f]=c(o);d.displayName=e+`CollectionStableContextProvider`;let[p,m]=c(o);p.displayName=e+`CollectionStatefulContextProvider`;let g=s(({state:e,...t})=>e?(0,a.jsx)(x,{...t,state:e}):(0,a.jsx)(b,{...t}),`CollectionProvider`);g.displayName=o;let b=s(e=>{let t=O();return(0,a.jsx)(x,{...e,state:t})},`CollectionInit`);b.displayName=e+`CollectionInit`;let x=s(e=>{let{scope:n,children:r,state:o}=e,s=i.useRef(null),[c,l]=i.useState(null),f=t.a(s,l),[m,h]=o,g=i.useRef(new u),b=i.useCallback(()=>{let e=g.current;return _(e)||e.sort(v),e},[]);return i.useEffect(()=>{if(!c)return;let e=y(()=>{h(e=>{let t=e.toSorted(v);return t.some(([t],n)=>e.keyAt(n)!==t)?t:e})});return e.observe(c,{childList:!0,subtree:!0}),()=>{e.disconnect()}},[c,h]),(0,a.jsx)(d,{scope:n,collectionElementRef:f,collectionElementRefObject:s,getCollection:b,setCollection:h,registryRef:g,children:(0,a.jsx)(p,{scope:n,collectionElement:c,collection:m,children:r})})},`CollectionProviderImpl`);x.displayName=e+`CollectionProviderImpl`;let S=e+`CollectionSlot`,C=t.n(S),w=i.forwardRef((e,n)=>{let{scope:r,children:i}=e;return(0,a.jsx)(C,{ref:t.a(n,f(S,r).collectionElementRef),children:i})});w.displayName=S;let T=e+`CollectionItemSlot`,E=t.n(T),D=i.forwardRef((e,n)=>{let{scope:o,children:s,...c}=e,l=i.useRef(null),{setCollection:d,registryRef:p}=f(T,o),m=i.useRef(c);h(m.current,c)||(m.current=c);let g=m.current,_=t.a(n,i.useCallback(e=>{let t=p.current;e?t.set(e,{...m.current,element:e}):l.current&&t.delete(l.current)},[p]),l);r.t(()=>{let e=l.current,t=p.current;e&&t.has(e)&&t.set(e,{...g,element:e})},[g,p]);let y=i.useRef(null);return i.useEffect(()=>{let e=l.current,t=y.current;(t?.element??null)===e&&(!e||t?.itemData===g)||(y.current=e?{element:e,itemData:g}:null,d(n=>{let r=new u(n);return t&&t.element!==e&&r.delete(t.element),e&&r.set(e,{...g,element:e}),r.sort(v)}))}),i.useEffect(()=>()=>{let e=y.current;y.current=null,e&&d(t=>{if(!t.has(e.element))return t;let n=new u(t);return n.delete(e.element),n})},[d]),(0,a.jsx)(E,{"data-radix-collection-item":``,ref:_,children:s})});D.displayName=T;function O(){return i.useState(new u)}s(O,`useInitCollection`);function k(t){let{collection:n}=m(e+`CollectionConsumer`,t);return n}s(k,`useCollection`);function A(t){let{getCollection:n}=f(e+`CollectionConsumer`,t);return n}return s(A,`useGetCollection`),[{Provider:g,Slot:w,ItemSlot:D},{createCollectionScope:l,useCollection:k,useGetCollection:A,useInitCollection:O}]}s(m,`createCollection`);function h(e,t){if(e===t)return!0;if(typeof e!=`object`||typeof t!=`object`||e==null||t==null)return!1;let n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(let r of n)if(!Object.prototype.hasOwnProperty.call(t,r)||e[r]!==t[r])return!1;return!0}s(h,`shallowEqual`);function g(e,t){return!!(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_PRECEDING)}s(g,`isElementPreceding`);function _(e){let t;for(let n of e.keys()){if(t){let e=t.compareDocumentPosition(n);if(!(e&Node.DOCUMENT_POSITION_DISCONNECTED)&&e&Node.DOCUMENT_POSITION_PRECEDING)return!1}t=n}return!0}s(_,`isInDocumentOrder`);function v(e,t){return!e[1].element||!t[1].element?0:g(e[1].element,t[1].element)?-1:1}s(v,`sortByDocumentPosition`);function y(e){return new MutationObserver(t=>{for(let n of t)if(n.type===`childList`){e();return}})}s(y,`getChildListObserver`),Object.defineProperty(exports,"n",{enumerable:!0,get:function(){return m}}),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return c}});
@@ -1 +1 @@
1
- const e=require("./chunk-mLOUI7ql.js"),t=require("./dist-NEeQKKDZ.js");let n=require("react");n=e.r(n,1);let r=require("react-dom");r=e.r(r,1);let i=require("react/jsx-runtime");var a=Object.defineProperty,o=(e,t)=>a(e,`name`,{value:t,configurable:!0}),s=[`a`,`button`,`div`,`form`,`h2`,`h3`,`img`,`input`,`label`,`li`,`nav`,`ol`,`p`,`select`,`span`,`svg`,`ul`].reduce((e,r)=>{let a=t.n(`Primitive.${r}`),o=n.forwardRef((e,t)=>{let{asChild:n,...o}=e,s=n?a:r;return typeof window<`u`&&(window[Symbol.for(`radix-ui`)]=!0),(0,i.jsx)(s,{...o,ref:t})});return o.displayName=`Primitive.${r}`,{...e,[r]:o}},{});function c(e,t){e&&r.flushSync(()=>e.dispatchEvent(t))}o(c,`dispatchDiscreteCustomEvent`),Object.defineProperty(exports,"n",{enumerable:!0,get:function(){return c}}),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return s}});
1
+ const e=require("./chunk-mLOUI7ql.js"),t=require("./dist-BBvidwzC.js");let n=require("react");n=e.r(n,1);let r=require("react-dom");r=e.r(r,1);let i=require("react/jsx-runtime");var a=Object.defineProperty,o=(e,t)=>a(e,`name`,{value:t,configurable:!0}),s=[`a`,`button`,`div`,`form`,`h2`,`h3`,`img`,`input`,`label`,`li`,`nav`,`ol`,`p`,`select`,`span`,`svg`,`ul`].reduce((e,r)=>{let a=t.n(`Primitive.${r}`),o=n.forwardRef((e,t)=>{let{asChild:n,...o}=e,s=n?a:r;return typeof window<`u`&&(window[Symbol.for(`radix-ui`)]=!0),(0,i.jsx)(s,{...o,ref:t})});return o.displayName=`Primitive.${r}`,{...e,[r]:o}},{});function c(e,t){e&&r.flushSync(()=>e.dispatchEvent(t))}o(c,`dispatchDiscreteCustomEvent`),Object.defineProperty(exports,"n",{enumerable:!0,get:function(){return c}}),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return s}});
@@ -1,10 +1,10 @@
1
- import { a as e } from "./dist-8fYwoWd4.mjs";
2
- import { n as t, t as n } from "./dist-BQhMregZ.mjs";
3
- import { t as r } from "./dist-DyMv0xk8.mjs";
4
- import { t as i } from "./dist-BPhn-EOy.mjs";
1
+ import { a as e } from "./dist-Dq-h6VAy.mjs";
2
+ import { n as t, t as n } from "./dist-BEbV0Hal.mjs";
3
+ import { t as r } from "./dist-BB78QQyQ.mjs";
4
+ import { t as i } from "./dist-BPL7gUpg.mjs";
5
5
  import * as a from "react";
6
6
  import { jsx as o } from "react/jsx-runtime";
7
- //#region ../../node_modules/.bun/@radix-ui+react-dismissable-layer@1.1.19+2b23df507bdda662/node_modules/@radix-ui/react-dismissable-layer/dist/index.mjs
7
+ //#region ../../node_modules/.bun/@radix-ui+react-dismissable-layer@1.2.1+b146eb580f4286be/node_modules/@radix-ui/react-dismissable-layer/dist/index.mjs
8
8
  var s = Object.defineProperty, c = (e, t) => s(e, "name", {
9
9
  value: t,
10
10
  configurable: !0
@@ -177,6 +177,5 @@ function x(e, n, r, { discrete: i }) {
177
177
  n && a.addEventListener(e, n, { once: !0 }), i ? t(a, o) : a.dispatchEvent(o);
178
178
  }
179
179
  c(x, "handleAndDispatchCustomEvent");
180
- var S = m, C = h;
181
180
  //#endregion
182
- export { g as i, m as n, S as r, C as t };
181
+ export { h as n, g as r, m as t };
@@ -1,14 +1,14 @@
1
- import { a as e } from "./dist-8fYwoWd4.mjs";
2
- import { t } from "./dist-BQhMregZ.mjs";
3
- import { t as n } from "./dist-DMwCTE2i.mjs";
4
- import { t as r } from "./dist-DyMv0xk8.mjs";
5
- import { t as i } from "./dist-D7UHN1DJ.mjs";
6
- import { t as a } from "./dist-BUXpRW9O.mjs";
7
- import { t as o } from "./dist-Dg9ASyqI.mjs";
8
- import { t as s } from "./dist-CBsYNwXz.mjs";
1
+ import { a as e } from "./dist-Dq-h6VAy.mjs";
2
+ import { t } from "./dist-BEbV0Hal.mjs";
3
+ import { t as n } from "./dist-CPAF050o.mjs";
4
+ import { t as r } from "./dist-GazS1kfR.mjs";
5
+ import { t as i } from "./dist-BB78QQyQ.mjs";
6
+ import { t as a } from "./dist-Bvfb4y_L.mjs";
7
+ import { t as o } from "./dist-CpKLY_uZ.mjs";
8
+ import { t as s } from "./dist-UkWa-Arh.mjs";
9
9
  import * as c from "react";
10
10
  import { jsx as l } from "react/jsx-runtime";
11
- //#region ../../node_modules/.bun/@radix-ui+react-collapsible@1.1.20+2b23df507bdda662/node_modules/@radix-ui/react-collapsible/dist/index.mjs
11
+ //#region ../../node_modules/.bun/@radix-ui+react-collapsible@1.2.1+b146eb580f4286be/node_modules/@radix-ui/react-collapsible/dist/index.mjs
12
12
  var u = Object.defineProperty, d = (e, t) => u(e, "name", {
13
13
  value: t,
14
14
  configurable: !0
@@ -33,7 +33,7 @@ var u = Object.defineProperty, d = (e, t) => u(e, "name", {
33
33
  })
34
34
  });
35
35
  }, "Collapsible")), v = "CollapsibleTrigger", y = /* @__PURE__ */ c.forwardRef(/* @__PURE__ */ d(function(e, n) {
36
- let { __scopeCollapsible: i, ...a } = e, o = g(v, i);
36
+ let { __scopeCollapsible: r, ...a } = e, o = g(v, r);
37
37
  return /* @__PURE__ */ l(t.button, {
38
38
  type: "button",
39
39
  "aria-controls": o.open ? o.contentId : void 0,
@@ -43,7 +43,7 @@ var u = Object.defineProperty, d = (e, t) => u(e, "name", {
43
43
  disabled: o.disabled,
44
44
  ...a,
45
45
  ref: n,
46
- onClick: r(e.onClick, o.onOpenToggle)
46
+ onClick: i(e.onClick, o.onOpenToggle)
47
47
  });
48
48
  }, "CollapsibleTrigger")), b = "CollapsibleContent", x = /* @__PURE__ */ c.forwardRef(/* @__PURE__ */ d(function(e, t) {
49
49
  let { forceMount: n, ...r } = e, i = g(b, e.__scopeCollapsible);
@@ -55,12 +55,12 @@ var u = Object.defineProperty, d = (e, t) => u(e, "name", {
55
55
  present: e
56
56
  })
57
57
  });
58
- }, "CollapsibleContent")), S = /* @__PURE__ */ c.forwardRef(/* @__PURE__ */ d(function(n, r) {
59
- let { __scopeCollapsible: a, present: o, children: s, ...u } = n, d = g(b, a), [f, p] = c.useState(o), m = c.useRef(null), h = e(r, m), _ = c.useRef(0), v = _.current, y = c.useRef(0), x = y.current, S = d.open || f, w = c.useRef(S), T = c.useRef(void 0);
58
+ }, "CollapsibleContent")), S = /* @__PURE__ */ c.forwardRef(/* @__PURE__ */ d(function(n, i) {
59
+ let { __scopeCollapsible: a, present: o, children: s, ...u } = n, d = g(b, a), [f, p] = c.useState(o), m = c.useRef(null), h = e(i, m), _ = c.useRef(0), v = _.current, y = c.useRef(0), x = y.current, S = d.open || f, w = c.useRef(S), T = c.useRef(void 0);
60
60
  return c.useEffect(() => {
61
61
  let e = requestAnimationFrame(() => w.current = !1);
62
62
  return () => cancelAnimationFrame(e);
63
- }, []), i(() => {
63
+ }, []), r(() => {
64
64
  let e = m.current;
65
65
  if (e) {
66
66
  T.current = T.current || {
@@ -89,6 +89,5 @@ function C(e) {
89
89
  return e ? "open" : "closed";
90
90
  }
91
91
  d(C, "getState");
92
- var w = _, T = y, E = x;
93
92
  //#endregion
94
- export { T as a, w as i, y as n, m as o, E as r, x as t };
93
+ export { m as i, x as n, y as r, _ as t };
package/dist/drawer.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { Drawer as DrawerPrimitive } from 'vaul';
2
1
  import { DrawerBaseProps } from '@gv-tech/ui-core';
2
+ import { Drawer as DrawerPrimitive } from 'vaul';
3
3
  import * as React from 'react';
4
4
  declare function Drawer({ ...props }: React.ComponentProps<typeof DrawerPrimitive.Root>): React.JSX.Element;
5
5
  declare function DrawerTrigger({ ...props }: React.ComponentProps<typeof DrawerPrimitive.Trigger>): React.JSX.Element;
@@ -1 +1 @@
1
- {"version":3,"file":"drawer.d.ts","sourceRoot":"","sources":["../src/drawer.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,MAAM,CAAC;AAEjD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;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AY,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,qBAWzE;AAED,iBAAS,YAAY,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,qBAEzE;AAED,iBAAS,WAAW,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,KAAK,CAAC,qBAQ/F;AAED,iBAAS,iBAAiB,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,WAAW,CAAC,qBAQ3G;AAED,OAAO,EACL,MAAM,EACN,WAAW,EACX,aAAa,EACb,iBAAiB,EACjB,YAAY,EACZ,YAAY,EACZ,aAAa,EACb,YAAY,EACZ,WAAW,EACX,aAAa,GACd,CAAC;AAGF,MAAM,MAAM,uBAAuB,GAAG,KAAK,CAAC,cAAc,CAAC,OAAO,MAAM,CAAC,SAAS,eAAe,GAAG,IAAI,GAAG,KAAK,CAAC"}
@@ -1,49 +1,49 @@
1
1
  import { t as e } from "./dist-Dm3IQk5b.mjs";
2
- import { a as t } from "./dist-8fYwoWd4.mjs";
3
- import { t as n } from "./dist-BQhMregZ.mjs";
4
- import { t as r } from "./dist-DMwCTE2i.mjs";
5
- import { t as i } from "./dist-DyMv0xk8.mjs";
6
- import { t as a } from "./dist-BUXpRW9O.mjs";
7
- import { t as o } from "./dist-CBsYNwXz.mjs";
8
- import { a as s, c, d as l, f as u, g as d, h as f, i as p, l as m, m as h, n as ee, o as g, p as _, r as v, s as y, t as b, u as x } from "./dist-6c2NeKfz.mjs";
9
- import { CheckIcon as S, ChevronRightIcon as te } from "lucide-react";
10
- import * as C from "react";
11
- import { jsx as w, jsxs as T } from "react/jsx-runtime";
12
- //#region ../../node_modules/.bun/@radix-ui+react-dropdown-menu@2.1.24+2b23df507bdda662/node_modules/@radix-ui/react-dropdown-menu/dist/index.mjs
13
- var E = Object.defineProperty, D = (e, t) => E(e, "name", {
2
+ import { a as t } from "./dist-Dq-h6VAy.mjs";
3
+ import { t as n } from "./dist-BEbV0Hal.mjs";
4
+ import { t as r } from "./dist-CPAF050o.mjs";
5
+ import { t as i } from "./dist-BB78QQyQ.mjs";
6
+ import { t as a } from "./dist-Bvfb4y_L.mjs";
7
+ import { t as o } from "./dist-UkWa-Arh.mjs";
8
+ import { a as s, c, d as l, f as u, g as d, h as f, i as p, l as m, m as h, n as g, o as _, p as v, r as y, s as b, t as x, u as S } from "./dist-CUvxOuXM.mjs";
9
+ import { CheckIcon as C, ChevronRightIcon as ee } from "lucide-react";
10
+ import * as w from "react";
11
+ import { jsx as T, jsxs as E } from "react/jsx-runtime";
12
+ //#region ../../node_modules/.bun/@radix-ui+react-dropdown-menu@2.2.1+b146eb580f4286be/node_modules/@radix-ui/react-dropdown-menu/dist/index.mjs
13
+ var D = Object.defineProperty, O = (e, t) => D(e, "name", {
14
14
  value: t,
15
15
  configurable: !0
16
- }), O = "DropdownMenu", [k, ne] = r(O, [d]), A = d(), [j, M] = k(O), N = /* @__PURE__ */ D((e) => {
17
- let { __scopeDropdownMenu: t, children: n, dir: r, open: i, defaultOpen: s, onOpenChange: c, modal: u = !0 } = e, d = A(t), f = C.useRef(null), [p, m] = a({
16
+ }), k = "DropdownMenu", [A, te] = r(k, [d]), j = d(), [M, N] = A(k), P = /* @__PURE__ */ O((e) => {
17
+ let { __scopeDropdownMenu: t, children: n, dir: r, open: i, defaultOpen: s, onOpenChange: c, modal: l = !0 } = e, u = j(t), d = w.useRef(null), [f, p] = a({
18
18
  prop: i,
19
19
  defaultProp: s ?? !1,
20
20
  onChange: c,
21
- caller: O
21
+ caller: k
22
22
  });
23
- return /* @__PURE__ */ w(j, {
23
+ return /* @__PURE__ */ T(M, {
24
24
  scope: t,
25
25
  triggerId: o(),
26
- triggerRef: f,
26
+ triggerRef: d,
27
27
  contentId: o(),
28
- open: p,
29
- onOpenChange: m,
30
- onOpenToggle: C.useCallback(() => m((e) => !e), [m]),
31
- modal: u,
32
- children: /* @__PURE__ */ w(l, {
33
- ...d,
34
- open: p,
35
- onOpenChange: m,
28
+ open: f,
29
+ onOpenChange: p,
30
+ onOpenToggle: w.useCallback(() => p((e) => !e), [p]),
31
+ modal: l,
32
+ children: /* @__PURE__ */ T(x, {
33
+ ...u,
34
+ open: f,
35
+ onOpenChange: p,
36
36
  dir: r,
37
- modal: u,
37
+ modal: l,
38
38
  children: n
39
39
  })
40
40
  });
41
- }, "DropdownMenu"), P = "DropdownMenuTrigger", F = /* @__PURE__ */ C.forwardRef(/* @__PURE__ */ D(function(e, r) {
42
- let { __scopeDropdownMenu: a, disabled: o = !1, ...s } = e, c = M(P, a), l = A(a), u = t(r, c.triggerRef);
43
- return /* @__PURE__ */ w(b, {
41
+ }, "DropdownMenu"), F = "DropdownMenuTrigger", I = /* @__PURE__ */ w.forwardRef(/* @__PURE__ */ O(function(e, r) {
42
+ let { __scopeDropdownMenu: a, disabled: o = !1, ...s } = e, c = N(F, a), l = j(a), u = t(r, c.triggerRef);
43
+ return /* @__PURE__ */ T(g, {
44
44
  asChild: !0,
45
45
  ...l,
46
- children: /* @__PURE__ */ w(n.button, {
46
+ children: /* @__PURE__ */ T(n.button, {
47
47
  type: "button",
48
48
  id: c.triggerId,
49
49
  "aria-haspopup": "menu",
@@ -66,15 +66,15 @@ var E = Object.defineProperty, D = (e, t) => E(e, "name", {
66
66
  })
67
67
  })
68
68
  });
69
- }, "DropdownMenuTrigger")), I = /* @__PURE__ */ D((e) => {
69
+ }, "DropdownMenuTrigger")), L = /* @__PURE__ */ O((e) => {
70
70
  let { __scopeDropdownMenu: t, ...n } = e;
71
- return /* @__PURE__ */ w(c, {
72
- ...A(t),
71
+ return /* @__PURE__ */ T(m, {
72
+ ...j(t),
73
73
  ...n
74
74
  });
75
- }, "DropdownMenuPortal"), L = "DropdownMenuContent", R = /* @__PURE__ */ C.forwardRef(/* @__PURE__ */ D(function(e, t) {
76
- let { __scopeDropdownMenu: n, ...r } = e, a = M(L, n), o = A(n), s = C.useRef(!1);
77
- return /* @__PURE__ */ w(v, {
75
+ }, "DropdownMenuPortal"), R = "DropdownMenuContent", z = /* @__PURE__ */ w.forwardRef(/* @__PURE__ */ O(function(e, t) {
76
+ let { __scopeDropdownMenu: n, ...r } = e, a = N(R, n), o = j(n), s = w.useRef(!1);
77
+ return /* @__PURE__ */ T(p, {
78
78
  id: a.contentId,
79
79
  "aria-labelledby": a.triggerId,
80
80
  ...o,
@@ -96,86 +96,86 @@ var E = Object.defineProperty, D = (e, t) => E(e, "name", {
96
96
  "--radix-dropdown-menu-trigger-height": "var(--radix-popper-anchor-height)"
97
97
  }
98
98
  });
99
- }, "DropdownMenuContent")), z = /* @__PURE__ */ C.forwardRef(/* @__PURE__ */ D(function(e, t) {
99
+ }, "DropdownMenuContent")), B = /* @__PURE__ */ w.forwardRef(/* @__PURE__ */ O(function(e, t) {
100
100
  let { __scopeDropdownMenu: n, ...r } = e;
101
- return /* @__PURE__ */ w(p, {
102
- ...A(n),
101
+ return /* @__PURE__ */ T(s, {
102
+ ...j(n),
103
103
  ...r,
104
104
  ref: t
105
105
  });
106
- }, "DropdownMenuGroup")), B = /* @__PURE__ */ C.forwardRef(/* @__PURE__ */ D(function(e, t) {
106
+ }, "DropdownMenuGroup")), V = /* @__PURE__ */ w.forwardRef(/* @__PURE__ */ O(function(e, t) {
107
107
  let { __scopeDropdownMenu: n, ...r } = e;
108
- return /* @__PURE__ */ w(y, {
109
- ...A(n),
108
+ return /* @__PURE__ */ T(c, {
109
+ ...j(n),
110
110
  ...r,
111
111
  ref: t
112
112
  });
113
- }, "DropdownMenuLabel")), V = /* @__PURE__ */ C.forwardRef(/* @__PURE__ */ D(function(e, t) {
113
+ }, "DropdownMenuLabel")), H = /* @__PURE__ */ w.forwardRef(/* @__PURE__ */ O(function(e, t) {
114
114
  let { __scopeDropdownMenu: n, ...r } = e;
115
- return /* @__PURE__ */ w(s, {
116
- ...A(n),
115
+ return /* @__PURE__ */ T(_, {
116
+ ...j(n),
117
117
  ...r,
118
118
  ref: t
119
119
  });
120
- }, "DropdownMenuItem")), H = /* @__PURE__ */ C.forwardRef(/* @__PURE__ */ D(function(e, t) {
120
+ }, "DropdownMenuItem")), ne = /* @__PURE__ */ w.forwardRef(/* @__PURE__ */ O(function(e, t) {
121
121
  let { __scopeDropdownMenu: n, ...r } = e;
122
- return /* @__PURE__ */ w(ee, {
123
- ...A(n),
122
+ return /* @__PURE__ */ T(y, {
123
+ ...j(n),
124
124
  ...r,
125
125
  ref: t
126
126
  });
127
- }, "DropdownMenuCheckboxItem")), U = /* @__PURE__ */ C.forwardRef(/* @__PURE__ */ D(function(e, t) {
127
+ }, "DropdownMenuCheckboxItem")), U = /* @__PURE__ */ w.forwardRef(/* @__PURE__ */ O(function(e, t) {
128
128
  let { __scopeDropdownMenu: n, ...r } = e;
129
- return /* @__PURE__ */ w(m, {
130
- ...A(n),
129
+ return /* @__PURE__ */ T(S, {
130
+ ...j(n),
131
131
  ...r,
132
132
  ref: t
133
133
  });
134
- }, "DropdownMenuRadioGroup")), W = /* @__PURE__ */ C.forwardRef(/* @__PURE__ */ D(function(e, t) {
134
+ }, "DropdownMenuRadioGroup")), W = /* @__PURE__ */ w.forwardRef(/* @__PURE__ */ O(function(e, t) {
135
135
  let { __scopeDropdownMenu: n, ...r } = e;
136
- return /* @__PURE__ */ w(x, {
137
- ...A(n),
136
+ return /* @__PURE__ */ T(l, {
137
+ ...j(n),
138
138
  ...r,
139
139
  ref: t
140
140
  });
141
- }, "DropdownMenuRadioItem")), G = /* @__PURE__ */ C.forwardRef(/* @__PURE__ */ D(function(e, t) {
141
+ }, "DropdownMenuRadioItem")), G = /* @__PURE__ */ w.forwardRef(/* @__PURE__ */ O(function(e, t) {
142
142
  let { __scopeDropdownMenu: n, ...r } = e;
143
- return /* @__PURE__ */ w(g, {
144
- ...A(n),
143
+ return /* @__PURE__ */ T(b, {
144
+ ...j(n),
145
145
  ...r,
146
146
  ref: t
147
147
  });
148
- }, "DropdownMenuItemIndicator")), K = /* @__PURE__ */ C.forwardRef(/* @__PURE__ */ D(function(e, t) {
148
+ }, "DropdownMenuItemIndicator")), K = /* @__PURE__ */ w.forwardRef(/* @__PURE__ */ O(function(e, t) {
149
149
  let { __scopeDropdownMenu: n, ...r } = e;
150
- return /* @__PURE__ */ w(u, {
151
- ...A(n),
150
+ return /* @__PURE__ */ T(u, {
151
+ ...j(n),
152
152
  ...r,
153
153
  ref: t
154
154
  });
155
- }, "DropdownMenuSeparator")), q = /* @__PURE__ */ D((e) => {
156
- let { __scopeDropdownMenu: t, children: n, open: r, onOpenChange: i, defaultOpen: o } = e, s = A(t), [c, l] = a({
155
+ }, "DropdownMenuSeparator")), q = /* @__PURE__ */ O((e) => {
156
+ let { __scopeDropdownMenu: t, children: n, open: r, onOpenChange: i, defaultOpen: o } = e, s = j(t), [c, l] = a({
157
157
  prop: r,
158
158
  defaultProp: o ?? !1,
159
159
  onChange: i,
160
160
  caller: "DropdownMenuSub"
161
161
  });
162
- return /* @__PURE__ */ w(_, {
162
+ return /* @__PURE__ */ T(v, {
163
163
  ...s,
164
164
  open: c,
165
165
  onOpenChange: l,
166
166
  children: n
167
167
  });
168
- }, "DropdownMenuSub"), J = /* @__PURE__ */ C.forwardRef(/* @__PURE__ */ D(function(e, t) {
168
+ }, "DropdownMenuSub"), J = /* @__PURE__ */ w.forwardRef(/* @__PURE__ */ O(function(e, t) {
169
169
  let { __scopeDropdownMenu: n, ...r } = e;
170
- return /* @__PURE__ */ w(f, {
171
- ...A(n),
170
+ return /* @__PURE__ */ T(f, {
171
+ ...j(n),
172
172
  ...r,
173
173
  ref: t
174
174
  });
175
- }, "DropdownMenuSubTrigger")), Y = /* @__PURE__ */ C.forwardRef(/* @__PURE__ */ D(function(e, t) {
175
+ }, "DropdownMenuSubTrigger")), Y = /* @__PURE__ */ w.forwardRef(/* @__PURE__ */ O(function(e, t) {
176
176
  let { __scopeDropdownMenu: n, ...r } = e;
177
- return /* @__PURE__ */ w(h, {
178
- ...A(n),
177
+ return /* @__PURE__ */ T(h, {
178
+ ...j(n),
179
179
  ...r,
180
180
  ref: t,
181
181
  style: {
@@ -187,29 +187,29 @@ var E = Object.defineProperty, D = (e, t) => E(e, "name", {
187
187
  "--radix-dropdown-menu-trigger-height": "var(--radix-popper-anchor-height)"
188
188
  }
189
189
  });
190
- }, "DropdownMenuSubContent")), X = N, re = F, Z = I, ie = R, ae = z, oe = B, se = V, ce = H, le = U, ue = W, Q = G, de = K, fe = q, pe = J, me = Y;
190
+ }, "DropdownMenuSubContent"));
191
191
  //#endregion
192
192
  //#region src/dropdown-menu.tsx
193
- function he({ ...e }) {
194
- return /* @__PURE__ */ w(X, {
193
+ function X({ ...e }) {
194
+ return /* @__PURE__ */ T(P, {
195
195
  "data-slot": "dropdown-menu",
196
196
  ...e
197
197
  });
198
198
  }
199
- function ge({ ...e }) {
200
- return /* @__PURE__ */ w(Z, {
199
+ function Z({ ...e }) {
200
+ return /* @__PURE__ */ T(L, {
201
201
  "data-slot": "dropdown-menu-portal",
202
202
  ...e
203
203
  });
204
204
  }
205
- function _e({ ...e }) {
206
- return /* @__PURE__ */ w(re, {
205
+ function Q({ ...e }) {
206
+ return /* @__PURE__ */ T(I, {
207
207
  "data-slot": "dropdown-menu-trigger",
208
208
  ...e
209
209
  });
210
210
  }
211
- function ve({ className: t, align: n = "start", sideOffset: r = 4, ...i }) {
212
- return /* @__PURE__ */ w(Z, { children: /* @__PURE__ */ w(ie, {
211
+ function re({ className: t, align: n = "start", sideOffset: r = 4, ...i }) {
212
+ return /* @__PURE__ */ T(L, { children: /* @__PURE__ */ T(z, {
213
213
  "data-slot": "dropdown-menu-content",
214
214
  sideOffset: r,
215
215
  align: n,
@@ -217,14 +217,14 @@ function ve({ className: t, align: n = "start", sideOffset: r = 4, ...i }) {
217
217
  ...i
218
218
  }) });
219
219
  }
220
- function ye({ ...e }) {
221
- return /* @__PURE__ */ w(ae, {
220
+ function ie({ ...e }) {
221
+ return /* @__PURE__ */ T(B, {
222
222
  "data-slot": "dropdown-menu-group",
223
223
  ...e
224
224
  });
225
225
  }
226
- function be({ className: t, inset: n, variant: r = "default", ...i }) {
227
- return /* @__PURE__ */ w(se, {
226
+ function ae({ className: t, inset: n, variant: r = "default", ...i }) {
227
+ return /* @__PURE__ */ T(H, {
228
228
  "data-slot": "dropdown-menu-item",
229
229
  "data-inset": n,
230
230
  "data-variant": r,
@@ -232,82 +232,82 @@ function be({ className: t, inset: n, variant: r = "default", ...i }) {
232
232
  ...i
233
233
  });
234
234
  }
235
- function $({ className: t, children: n, checked: r, inset: i, ...a }) {
236
- return /* @__PURE__ */ T(ce, {
235
+ function oe({ className: t, children: n, checked: r, inset: i, ...a }) {
236
+ return /* @__PURE__ */ E(ne, {
237
237
  "data-slot": "dropdown-menu-checkbox-item",
238
238
  "data-inset": i,
239
239
  className: e("focus:bg-accent focus:text-accent-foreground focus:**:text-accent-foreground relative flex cursor-default items-center gap-1.5 rounded-md py-1 ps-1.5 pe-8 text-sm outline-hidden select-none data-disabled:pointer-events-none data-disabled:opacity-50 data-inset:ps-7 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4", t),
240
240
  checked: r,
241
241
  ...a,
242
- children: [/* @__PURE__ */ w("span", {
242
+ children: [/* @__PURE__ */ T("span", {
243
243
  className: "pointer-events-none absolute end-2 flex items-center justify-center",
244
244
  "data-slot": "dropdown-menu-checkbox-item-indicator",
245
- children: /* @__PURE__ */ w(Q, { children: /* @__PURE__ */ w(S, {}) })
245
+ children: /* @__PURE__ */ T(G, { children: /* @__PURE__ */ T(C, {}) })
246
246
  }), n]
247
247
  });
248
248
  }
249
- function xe({ ...e }) {
250
- return /* @__PURE__ */ w(le, {
249
+ function $({ ...e }) {
250
+ return /* @__PURE__ */ T(U, {
251
251
  "data-slot": "dropdown-menu-radio-group",
252
252
  ...e
253
253
  });
254
254
  }
255
- function Se({ className: t, children: n, inset: r, ...i }) {
256
- return /* @__PURE__ */ T(ue, {
255
+ function se({ className: t, children: n, inset: r, ...i }) {
256
+ return /* @__PURE__ */ E(W, {
257
257
  "data-slot": "dropdown-menu-radio-item",
258
258
  "data-inset": r,
259
259
  className: e("focus:bg-accent focus:text-accent-foreground focus:**:text-accent-foreground relative flex cursor-default items-center gap-1.5 rounded-md py-1 ps-1.5 pe-8 text-sm outline-hidden select-none data-disabled:pointer-events-none data-disabled:opacity-50 data-inset:ps-7 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4", t),
260
260
  ...i,
261
- children: [/* @__PURE__ */ w("span", {
261
+ children: [/* @__PURE__ */ T("span", {
262
262
  className: "pointer-events-none absolute end-2 flex items-center justify-center",
263
263
  "data-slot": "dropdown-menu-radio-item-indicator",
264
- children: /* @__PURE__ */ w(Q, { children: /* @__PURE__ */ w(S, {}) })
264
+ children: /* @__PURE__ */ T(G, { children: /* @__PURE__ */ T(C, {}) })
265
265
  }), n]
266
266
  });
267
267
  }
268
- function Ce({ className: t, inset: n, ...r }) {
269
- return /* @__PURE__ */ w(oe, {
268
+ function ce({ className: t, inset: n, ...r }) {
269
+ return /* @__PURE__ */ T(V, {
270
270
  "data-slot": "dropdown-menu-label",
271
271
  "data-inset": n,
272
272
  className: e("text-muted-foreground px-1.5 py-1 text-xs font-medium data-inset:ps-7", t),
273
273
  ...r
274
274
  });
275
275
  }
276
- function we({ className: t, ...n }) {
277
- return /* @__PURE__ */ w(de, {
276
+ function le({ className: t, ...n }) {
277
+ return /* @__PURE__ */ T(K, {
278
278
  "data-slot": "dropdown-menu-separator",
279
279
  className: e("bg-border -mx-1 my-1 h-px", t),
280
280
  ...n
281
281
  });
282
282
  }
283
- function Te({ className: t, ...n }) {
284
- return /* @__PURE__ */ w("span", {
283
+ function ue({ className: t, ...n }) {
284
+ return /* @__PURE__ */ T("span", {
285
285
  "data-slot": "dropdown-menu-shortcut",
286
286
  className: e("text-muted-foreground group-focus/dropdown-menu-item:text-accent-foreground ms-auto text-xs tracking-widest", t),
287
287
  ...n
288
288
  });
289
289
  }
290
- function Ee({ ...e }) {
291
- return /* @__PURE__ */ w(fe, {
290
+ function de({ ...e }) {
291
+ return /* @__PURE__ */ T(q, {
292
292
  "data-slot": "dropdown-menu-sub",
293
293
  ...e
294
294
  });
295
295
  }
296
- function De({ className: t, inset: n, children: r, ...i }) {
297
- return /* @__PURE__ */ T(pe, {
296
+ function fe({ className: t, inset: n, children: r, ...i }) {
297
+ return /* @__PURE__ */ E(J, {
298
298
  "data-slot": "dropdown-menu-sub-trigger",
299
299
  "data-inset": n,
300
300
  className: e("focus:bg-accent focus:text-accent-foreground not-data-[variant=destructive]:focus:**:text-accent-foreground data-open:bg-accent data-open:text-accent-foreground flex cursor-default items-center gap-1.5 rounded-md px-1.5 py-1 text-sm outline-hidden select-none data-inset:ps-7 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4", t),
301
301
  ...i,
302
- children: [r, /* @__PURE__ */ w(te, { className: "ms-auto rtl:rotate-180" })]
302
+ children: [r, /* @__PURE__ */ T(ee, { className: "ms-auto rtl:rotate-180" })]
303
303
  });
304
304
  }
305
- function Oe({ className: t, ...n }) {
306
- return /* @__PURE__ */ w(me, {
305
+ function pe({ className: t, ...n }) {
306
+ return /* @__PURE__ */ T(Y, {
307
307
  "data-slot": "dropdown-menu-sub-content",
308
308
  className: e("bg-popover text-popover-foreground ring-foreground/10 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 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95 z-50 min-w-[96px] origin-(--radix-dropdown-menu-content-transform-origin) overflow-hidden rounded-lg p-1 shadow-lg ring-1 duration-100", t),
309
309
  ...n
310
310
  });
311
311
  }
312
312
  //#endregion
313
- export { be as a, xe as c, Te as d, Ee as f, _e as h, ye as i, Se as l, De as m, $ as n, Ce as o, Oe as p, ve as r, ge as s, he as t, we as u };
313
+ export { ae as a, $ as c, ue as d, de as f, Q as h, ie as i, se as l, fe as m, oe as n, ce as o, pe as p, re as r, Z as s, X as t, le as u };
@@ -0,0 +1 @@
1
+ const e=require("./chunk-mLOUI7ql.js"),t=require("./dist-C_iFkwIX.js"),n=require("./dist-BBvidwzC.js"),r=require("./dist-hFLuJoMi.js"),i=require("./dist-DYUvPCPC.js"),a=require("./dist-DZiOPWLp.js"),o=require("./dist-YAADIsyo.js"),s=require("./dist-C8Pm6LRc.js"),c=require("./dist-BgXIqHHq.js");let l=require("lucide-react"),u=require("react"),d=e.r(u,1);u=e.r(u);let f=require("react/jsx-runtime");var p=Object.defineProperty,m=(e,t)=>p(e,`name`,{value:t,configurable:!0}),h=`DropdownMenu`,[g,_]=i.t(h,[c.g]),v=c.g(),[y,b]=g(h),x=m(e=>{let{__scopeDropdownMenu:t,children:n,dir:r,open:i,defaultOpen:a,onOpenChange:l,modal:u=!0}=e,p=v(t),m=d.useRef(null),[g,_]=o.t({prop:i,defaultProp:a??!1,onChange:l,caller:h});return(0,f.jsx)(y,{scope:t,triggerId:s.t(),triggerRef:m,contentId:s.t(),open:g,onOpenChange:_,onOpenToggle:d.useCallback(()=>_(e=>!e),[_]),modal:u,children:(0,f.jsx)(c.t,{...p,open:g,onOpenChange:_,dir:r,modal:u,children:n})})},`DropdownMenu`),S=`DropdownMenuTrigger`,C=d.forwardRef(m(function(e,t){let{__scopeDropdownMenu:i,disabled:o=!1,...s}=e,l=b(S,i),u=v(i),d=n.a(t,l.triggerRef);return(0,f.jsx)(c.n,{asChild:!0,...u,children:(0,f.jsx)(r.t.button,{type:`button`,id:l.triggerId,"aria-haspopup":`menu`,"aria-expanded":l.open,"aria-controls":l.open?l.contentId:void 0,"data-state":l.open?`open`:`closed`,"data-disabled":o?``:void 0,disabled:o,...s,ref:d,onPointerDown:a.t(e.onPointerDown,e=>{!o&&e.button===0&&e.ctrlKey===!1&&(l.onOpenToggle(),l.open||e.preventDefault())}),onKeyDown:a.t(e.onKeyDown,e=>{o||([`Enter`,` `].includes(e.key)&&l.onOpenToggle(),e.key===`ArrowDown`&&l.onOpenChange(!0),[`Enter`,` `,`ArrowDown`].includes(e.key)&&e.preventDefault())})})})},`DropdownMenuTrigger`)),w=m(e=>{let{__scopeDropdownMenu:t,...n}=e,r=v(t);return(0,f.jsx)(c.l,{...r,...n})},`DropdownMenuPortal`),T=`DropdownMenuContent`,E=d.forwardRef(m(function(e,t){let{__scopeDropdownMenu:n,...r}=e,i=b(T,n),o=v(n),s=d.useRef(!1);return(0,f.jsx)(c.i,{id:i.contentId,"aria-labelledby":i.triggerId,...o,...r,ref:t,onCloseAutoFocus:a.t(e.onCloseAutoFocus,e=>{s.current||i.triggerRef.current?.focus(),s.current=!1,e.preventDefault()}),onInteractOutside:a.t(e.onInteractOutside,e=>{let t=e.detail.originalEvent,n=t.button===0&&t.ctrlKey===!0,r=t.button===2||n;(!i.modal||r)&&(s.current=!0)}),style:{...e.style,"--radix-dropdown-menu-content-transform-origin":`var(--radix-popper-transform-origin)`,"--radix-dropdown-menu-content-available-width":`var(--radix-popper-available-width)`,"--radix-dropdown-menu-content-available-height":`var(--radix-popper-available-height)`,"--radix-dropdown-menu-trigger-width":`var(--radix-popper-anchor-width)`,"--radix-dropdown-menu-trigger-height":`var(--radix-popper-anchor-height)`}})},`DropdownMenuContent`)),D=d.forwardRef(m(function(e,t){let{__scopeDropdownMenu:n,...r}=e,i=v(n);return(0,f.jsx)(c.a,{...i,...r,ref:t})},`DropdownMenuGroup`)),O=d.forwardRef(m(function(e,t){let{__scopeDropdownMenu:n,...r}=e,i=v(n);return(0,f.jsx)(c.c,{...i,...r,ref:t})},`DropdownMenuLabel`)),k=d.forwardRef(m(function(e,t){let{__scopeDropdownMenu:n,...r}=e,i=v(n);return(0,f.jsx)(c.o,{...i,...r,ref:t})},`DropdownMenuItem`)),A=d.forwardRef(m(function(e,t){let{__scopeDropdownMenu:n,...r}=e,i=v(n);return(0,f.jsx)(c.r,{...i,...r,ref:t})},`DropdownMenuCheckboxItem`)),j=d.forwardRef(m(function(e,t){let{__scopeDropdownMenu:n,...r}=e,i=v(n);return(0,f.jsx)(c.u,{...i,...r,ref:t})},`DropdownMenuRadioGroup`)),M=d.forwardRef(m(function(e,t){let{__scopeDropdownMenu:n,...r}=e,i=v(n);return(0,f.jsx)(c.d,{...i,...r,ref:t})},`DropdownMenuRadioItem`)),N=d.forwardRef(m(function(e,t){let{__scopeDropdownMenu:n,...r}=e,i=v(n);return(0,f.jsx)(c.s,{...i,...r,ref:t})},`DropdownMenuItemIndicator`)),P=d.forwardRef(m(function(e,t){let{__scopeDropdownMenu:n,...r}=e,i=v(n);return(0,f.jsx)(c.f,{...i,...r,ref:t})},`DropdownMenuSeparator`)),F=m(e=>{let{__scopeDropdownMenu:t,children:n,open:r,onOpenChange:i,defaultOpen:a}=e,s=v(t),[l,u]=o.t({prop:r,defaultProp:a??!1,onChange:i,caller:`DropdownMenuSub`});return(0,f.jsx)(c.p,{...s,open:l,onOpenChange:u,children:n})},`DropdownMenuSub`),I=d.forwardRef(m(function(e,t){let{__scopeDropdownMenu:n,...r}=e,i=v(n);return(0,f.jsx)(c.h,{...i,...r,ref:t})},`DropdownMenuSubTrigger`)),L=d.forwardRef(m(function(e,t){let{__scopeDropdownMenu:n,...r}=e,i=v(n);return(0,f.jsx)(c.m,{...i,...r,ref:t,style:{...e.style,"--radix-dropdown-menu-content-transform-origin":`var(--radix-popper-transform-origin)`,"--radix-dropdown-menu-content-available-width":`var(--radix-popper-available-width)`,"--radix-dropdown-menu-content-available-height":`var(--radix-popper-available-height)`,"--radix-dropdown-menu-trigger-width":`var(--radix-popper-anchor-width)`,"--radix-dropdown-menu-trigger-height":`var(--radix-popper-anchor-height)`}})},`DropdownMenuSubContent`));function R({...e}){return(0,f.jsx)(x,{"data-slot":`dropdown-menu`,...e})}function z({...e}){return(0,f.jsx)(w,{"data-slot":`dropdown-menu-portal`,...e})}function B({...e}){return(0,f.jsx)(C,{"data-slot":`dropdown-menu-trigger`,...e})}function V({className:e,align:n=`start`,sideOffset:r=4,...i}){return(0,f.jsx)(w,{children:(0,f.jsx)(E,{"data-slot":`dropdown-menu-content`,sideOffset:r,align:n,className:t.t(`bg-popover text-popover-foreground ring-foreground/10 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 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95 z-50 max-h-(--radix-dropdown-menu-content-available-height) w-(--radix-dropdown-menu-trigger-width) min-w-32 origin-(--radix-dropdown-menu-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-lg p-1 shadow-md ring-1 duration-100 data-[state=closed]:overflow-hidden`,e),...i})})}function H({...e}){return(0,f.jsx)(D,{"data-slot":`dropdown-menu-group`,...e})}function U({className:e,inset:n,variant:r=`default`,...i}){return(0,f.jsx)(k,{"data-slot":`dropdown-menu-item`,"data-inset":n,"data-variant":r,className:t.t(`group/dropdown-menu-item focus:bg-accent focus:text-accent-foreground not-data-[variant=destructive]:focus:**:text-accent-foreground data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 data-[variant=destructive]:focus:text-destructive dark:data-[variant=destructive]:focus:bg-destructive/20 data-[variant=destructive]:*:[svg]:text-destructive relative flex cursor-default items-center gap-1.5 rounded-md px-1.5 py-1 text-sm outline-hidden select-none data-disabled:pointer-events-none data-disabled:opacity-50 data-inset:ps-7 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4`,e),...i})}function W({className:e,children:n,checked:r,inset:i,...a}){return(0,f.jsxs)(A,{"data-slot":`dropdown-menu-checkbox-item`,"data-inset":i,className:t.t(`focus:bg-accent focus:text-accent-foreground focus:**:text-accent-foreground relative flex cursor-default items-center gap-1.5 rounded-md py-1 ps-1.5 pe-8 text-sm outline-hidden select-none data-disabled:pointer-events-none data-disabled:opacity-50 data-inset:ps-7 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4`,e),checked:r,...a,children:[(0,f.jsx)(`span`,{className:`pointer-events-none absolute end-2 flex items-center justify-center`,"data-slot":`dropdown-menu-checkbox-item-indicator`,children:(0,f.jsx)(N,{children:(0,f.jsx)(l.CheckIcon,{})})}),n]})}function G({...e}){return(0,f.jsx)(j,{"data-slot":`dropdown-menu-radio-group`,...e})}function K({className:e,children:n,inset:r,...i}){return(0,f.jsxs)(M,{"data-slot":`dropdown-menu-radio-item`,"data-inset":r,className:t.t(`focus:bg-accent focus:text-accent-foreground focus:**:text-accent-foreground relative flex cursor-default items-center gap-1.5 rounded-md py-1 ps-1.5 pe-8 text-sm outline-hidden select-none data-disabled:pointer-events-none data-disabled:opacity-50 data-inset:ps-7 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4`,e),...i,children:[(0,f.jsx)(`span`,{className:`pointer-events-none absolute end-2 flex items-center justify-center`,"data-slot":`dropdown-menu-radio-item-indicator`,children:(0,f.jsx)(N,{children:(0,f.jsx)(l.CheckIcon,{})})}),n]})}function q({className:e,inset:n,...r}){return(0,f.jsx)(O,{"data-slot":`dropdown-menu-label`,"data-inset":n,className:t.t(`text-muted-foreground px-1.5 py-1 text-xs font-medium data-inset:ps-7`,e),...r})}function J({className:e,...n}){return(0,f.jsx)(P,{"data-slot":`dropdown-menu-separator`,className:t.t(`bg-border -mx-1 my-1 h-px`,e),...n})}function Y({className:e,...n}){return(0,f.jsx)(`span`,{"data-slot":`dropdown-menu-shortcut`,className:t.t(`text-muted-foreground group-focus/dropdown-menu-item:text-accent-foreground ms-auto text-xs tracking-widest`,e),...n})}function X({...e}){return(0,f.jsx)(F,{"data-slot":`dropdown-menu-sub`,...e})}function Z({className:e,inset:n,children:r,...i}){return(0,f.jsxs)(I,{"data-slot":`dropdown-menu-sub-trigger`,"data-inset":n,className:t.t(`focus:bg-accent focus:text-accent-foreground not-data-[variant=destructive]:focus:**:text-accent-foreground data-open:bg-accent data-open:text-accent-foreground flex cursor-default items-center gap-1.5 rounded-md px-1.5 py-1 text-sm outline-hidden select-none data-inset:ps-7 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4`,e),...i,children:[r,(0,f.jsx)(l.ChevronRightIcon,{className:`ms-auto rtl:rotate-180`})]})}function Q({className:e,...n}){return(0,f.jsx)(L,{"data-slot":`dropdown-menu-sub-content`,className:t.t(`bg-popover text-popover-foreground ring-foreground/10 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 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95 z-50 min-w-[96px] origin-(--radix-dropdown-menu-content-transform-origin) overflow-hidden rounded-lg p-1 shadow-lg ring-1 duration-100`,e),...n})}Object.defineProperty(exports,"a",{enumerable:!0,get:function(){return U}}),Object.defineProperty(exports,"c",{enumerable:!0,get:function(){return G}}),Object.defineProperty(exports,"d",{enumerable:!0,get:function(){return Y}}),Object.defineProperty(exports,"f",{enumerable:!0,get:function(){return X}}),Object.defineProperty(exports,"h",{enumerable:!0,get:function(){return B}}),Object.defineProperty(exports,"i",{enumerable:!0,get:function(){return H}}),Object.defineProperty(exports,"l",{enumerable:!0,get:function(){return K}}),Object.defineProperty(exports,"m",{enumerable:!0,get:function(){return Z}}),Object.defineProperty(exports,"n",{enumerable:!0,get:function(){return W}}),Object.defineProperty(exports,"o",{enumerable:!0,get:function(){return q}}),Object.defineProperty(exports,"p",{enumerable:!0,get:function(){return Q}}),Object.defineProperty(exports,"r",{enumerable:!0,get:function(){return V}}),Object.defineProperty(exports,"s",{enumerable:!0,get:function(){return z}}),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return R}}),Object.defineProperty(exports,"u",{enumerable:!0,get:function(){return J}});
@@ -1 +1 @@
1
- "use client";"use client";Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./dropdown-menu-BpZcobmP.js");exports.DropdownMenu=e.t,exports.DropdownMenuCheckboxItem=e.n,exports.DropdownMenuContent=e.r,exports.DropdownMenuGroup=e.i,exports.DropdownMenuItem=e.a,exports.DropdownMenuLabel=e.o,exports.DropdownMenuPortal=e.s,exports.DropdownMenuRadioGroup=e.c,exports.DropdownMenuRadioItem=e.l,exports.DropdownMenuSeparator=e.u,exports.DropdownMenuShortcut=e.d,exports.DropdownMenuSub=e.f,exports.DropdownMenuSubContent=e.p,exports.DropdownMenuSubTrigger=e.m,exports.DropdownMenuTrigger=e.h;
1
+ "use client";"use client";Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./dropdown-menu-BtKOr--r.js");exports.DropdownMenu=e.t,exports.DropdownMenuCheckboxItem=e.n,exports.DropdownMenuContent=e.r,exports.DropdownMenuGroup=e.i,exports.DropdownMenuItem=e.a,exports.DropdownMenuLabel=e.o,exports.DropdownMenuPortal=e.s,exports.DropdownMenuRadioGroup=e.c,exports.DropdownMenuRadioItem=e.l,exports.DropdownMenuSeparator=e.u,exports.DropdownMenuShortcut=e.d,exports.DropdownMenuSub=e.f,exports.DropdownMenuSubContent=e.p,exports.DropdownMenuSubTrigger=e.m,exports.DropdownMenuTrigger=e.h;
@@ -1,5 +1,5 @@
1
- import { DropdownMenu as DropdownMenuPrimitive } from 'radix-ui';
2
1
  import { DropdownMenuBaseProps } from '@gv-tech/ui-core';
2
+ import { DropdownMenu as DropdownMenuPrimitive } from 'radix-ui';
3
3
  import * as React from 'react';
4
4
  declare function DropdownMenu({ ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Root>): React.JSX.Element;
5
5
  declare function DropdownMenuPortal({ ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Portal>): React.JSX.Element;
@@ -1 +1 @@
1
- {"version":3,"file":"dropdown-menu.d.ts","sourceRoot":"","sources":["../src/dropdown-menu.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,YAAY,IAAI,qBAAqB,EAAE,MAAM,UAAU,CAAC;AACjE,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,kBAAkB,CAAC;AAE9D,iBAAS,YAAY,CAAC,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,qBAAqB,CAAC,IAAI,CAAC,qBAE1F;AAED,iBAAS,kBAAkB,CAAC,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,qBAAqB,CAAC,MAAM,CAAC,qBAElG;AAED,iBAAS,mBAAmB,CAAC,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,qBAAqB,CAAC,OAAO,CAAC,qBAEpG;AAED,iBAAS,mBAAmB,CAAC,EAC3B,SAAS,EACT,KAAe,EACf,UAAc,EACd,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,qBAAqB,CAAC,OAAO,CAAC,qBAe5D;AAED,iBAAS,iBAAiB,CAAC,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,qBAAqB,CAAC,KAAK,CAAC,qBAEhG;AAED,iBAAS,gBAAgB,CAAC,EACxB,SAAS,EACT,KAAK,EACL,OAAmB,EACnB,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,qBAAqB,CAAC,IAAI,CAAC,GAAG;IAC3D,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,OAAO,CAAC,EAAE,SAAS,GAAG,aAAa,CAAC;CACrC,qBAa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KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,qBAAqB,CAAC,SAAS,CAAC,qBAQnH;AAED,iBAAS,oBAAoB,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,MAAM,CAAC,qBAWlF;AAED,iBAAS,eAAe,CAAC,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,qBAAqB,CAAC,GAAG,CAAC,qBAE5F;AAED,iBAAS,sBAAsB,CAAC,EAC9B,SAAS,EACT,KAAK,EACL,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,qBAAqB,CAAC,UAAU,CAAC,GAAG;IACjE,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB,qBAeA;AAED,iBAAS,sBAAsB,CAAC,EAC9B,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,qBAAqB,CAAC,UAAU,CAAC,qBAW/D;AAED,OAAO,EACL,YAAY,EACZ,wBAAwB,EACxB,mBAAmB,EACnB,iBAAiB,EACjB,gBAAgB,EAChB,iBAAiB,EACjB,kBAAkB,EAClB,sBAAsB,EACtB,qBAAqB,EACrB,qBAAqB,EACrB,oBAAoB,EACpB,eAAe,EACf,sBAAsB,EACtB,sBAAsB,EACtB,mBAAmB,GACpB,CAAC;AAGF,MAAM,MAAM,6BAA6B,GACvC,KAAK,CAAC,cAAc,CAAC,OAAO,YAAY,CAAC,SAAS,qBAAqB,GAAG,IAAI,GAAG,KAAK,CAAC"}
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use client";
3
- import { a as e, c as t, d as n, f as r, h as i, i as a, l as o, m as s, n as c, o as l, p as u, r as d, s as f, t as p, u as m } from "./dropdown-menu-BWqWoYis.mjs";
3
+ import { a as e, c as t, d as n, f as r, h as i, i as a, l as o, m as s, n as c, o as l, p as u, r as d, s as f, t as p, u as m } from "./dropdown-menu-BqAhn64y.mjs";
4
4
  export { p as DropdownMenu, c as DropdownMenuCheckboxItem, d as DropdownMenuContent, a as DropdownMenuGroup, e as DropdownMenuItem, l as DropdownMenuLabel, f as DropdownMenuPortal, t as DropdownMenuRadioGroup, o as DropdownMenuRadioItem, m as DropdownMenuSeparator, n as DropdownMenuShortcut, r as DropdownMenuSub, u as DropdownMenuSubContent, s as DropdownMenuSubTrigger, i as DropdownMenuTrigger };
package/dist/empty.cjs CHANGED
@@ -1 +1 @@
1
- "use client";Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./dist-C_iFkwIX.js");let t=require("react/jsx-runtime"),n=require("class-variance-authority");function r({className:n,...r}){return(0,t.jsx)(`div`,{"data-slot":`empty`,className:e.t(`flex w-full min-w-0 flex-1 flex-col items-center justify-center gap-4 rounded-xl border-dashed p-6 text-center text-balance`,n),...r})}function i({className:n,...r}){return(0,t.jsx)(`div`,{"data-slot":`empty-header`,className:e.t(`flex max-w-sm flex-col items-center gap-2`,n),...r})}var a=(0,n.cva)(`mb-2 flex shrink-0 items-center justify-center [&_svg]:pointer-events-none [&_svg]:shrink-0`,{variants:{variant:{default:`bg-transparent`,icon:`flex size-8 shrink-0 items-center justify-center rounded-lg bg-muted text-foreground [&_svg:not([class*='size-'])]:size-4`}},defaultVariants:{variant:`default`}});function o({className:n,variant:r=`default`,...i}){return(0,t.jsx)(`div`,{"data-slot":`empty-icon`,"data-variant":r,className:e.t(a({variant:r,className:n})),...i})}function s({className:n,...r}){return(0,t.jsx)(`div`,{"data-slot":`empty-title`,className:e.t(`text-sm font-medium tracking-tight`,n),...r})}function c({className:n,...r}){return(0,t.jsx)(`div`,{"data-slot":`empty-description`,className:e.t(`text-muted-foreground [&>a:hover]:text-primary text-sm/relaxed [&>a]:underline [&>a]:underline-offset-4`,n),...r})}function l({className:n,...r}){return(0,t.jsx)(`div`,{"data-slot":`empty-content`,className:e.t(`flex w-full max-w-sm min-w-0 flex-col items-center gap-2.5 text-sm text-balance`,n),...r})}exports.Empty=r,exports.EmptyContent=l,exports.EmptyDescription=c,exports.EmptyHeader=i,exports.EmptyMedia=o,exports.EmptyTitle=s;
1
+ "use client";Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./dist-C_iFkwIX.js");let t=require("react/jsx-runtime"),n=require("class-variance-authority");function r({className:n,...r}){return(0,t.jsx)(`div`,{"data-slot":`empty`,className:e.t(`flex w-full min-w-0 flex-1 flex-col items-center justify-center gap-4 rounded-xl border-dashed p-6 text-center text-balance`,n),...r})}function i({className:n,...r}){return(0,t.jsx)(`div`,{"data-slot":`empty-header`,className:e.t(`flex max-w-sm flex-col items-center gap-2`,n),...r})}var a=(0,n.cva)(`mb-2 flex shrink-0 items-center justify-center [&_svg]:pointer-events-none [&_svg]:shrink-0`,{variants:{variant:{default:`bg-transparent`,icon:`bg-muted text-foreground flex size-8 shrink-0 items-center justify-center rounded-lg [&_svg:not([class*='size-'])]:size-4`}},defaultVariants:{variant:`default`}});function o({className:n,variant:r=`default`,...i}){return(0,t.jsx)(`div`,{"data-slot":`empty-icon`,"data-variant":r,className:e.t(a({variant:r,className:n})),...i})}function s({className:n,...r}){return(0,t.jsx)(`div`,{"data-slot":`empty-title`,className:e.t(`text-sm font-medium tracking-tight`,n),...r})}function c({className:n,...r}){return(0,t.jsx)(`div`,{"data-slot":`empty-description`,className:e.t(`text-muted-foreground [&>a:hover]:text-primary text-sm/relaxed [&>a]:underline [&>a]:underline-offset-4`,n),...r})}function l({className:n,...r}){return(0,t.jsx)(`div`,{"data-slot":`empty-content`,className:e.t(`flex w-full max-w-sm min-w-0 flex-col items-center gap-2.5 text-sm text-balance`,n),...r})}exports.Empty=r,exports.EmptyContent=l,exports.EmptyDescription=c,exports.EmptyHeader=i,exports.EmptyMedia=o,exports.EmptyTitle=s;