@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
@@ -1,42 +1,46 @@
1
- import { a as e, n as t } from "./dist-8fYwoWd4.mjs";
2
- import { n, t as r } from "./dist-BQhMregZ.mjs";
3
- import { t as i } from "./dist-DMwCTE2i.mjs";
4
- import { t as a } from "./dist-DOoZ3vGL.mjs";
5
- import { t as o } from "./dist-DyMv0xk8.mjs";
6
- import { t as s } from "./dist-Dg9ASyqI.mjs";
7
- import { t as c } from "./dist-CBsYNwXz.mjs";
8
- import { n as l } from "./dist-dMp9dzmY.mjs";
9
- import { t as u } from "./dist-BPhn-EOy.mjs";
10
- import { n as d } from "./dist-CYrqAnIr.mjs";
11
- import { i as f, n as p, r as m, t as h } from "./es2015-CYxXY2oV.mjs";
12
- import { t as g } from "./dist-rx5WaFf5.mjs";
13
- import { a as _, i as v, r as ee, t as te } from "./dist-DfvK7DpO.mjs";
14
- import { n as ne, r as y, t as b } from "./dist-5r7hQmO0.mjs";
1
+ import { a as e, n as t } from "./dist-Dq-h6VAy.mjs";
2
+ import { n, t as r } from "./dist-BEbV0Hal.mjs";
3
+ import { t as i } from "./dist-CPAF050o.mjs";
4
+ import { t as a } from "./dist-OqDzLHTa.mjs";
5
+ import { t as o } from "./dist-BB78QQyQ.mjs";
6
+ import { t as s } from "./dist-CpKLY_uZ.mjs";
7
+ import { t as c } from "./dist-UkWa-Arh.mjs";
8
+ import { n as l } from "./dist-BbI6NHqR.mjs";
9
+ import { t as u } from "./dist-BPL7gUpg.mjs";
10
+ import { t as d } from "./dist-s7ibhASj.mjs";
11
+ import { i as f, n as p, r as m, t as ee } from "./dist-E8ieJTBC.mjs";
12
+ import { t as h } from "./dist-DI1vapnL.mjs";
13
+ import { n as te, r as ne, t as g } from "./es2015-DbsmTzuc.mjs";
14
+ import { a as _, i as re, n as ie, t as v } from "./dist-Dt6m-kwU.mjs";
15
+ import { n as y, r as b, t as ae } from "./dist-BexAB6yo.mjs";
15
16
  import * as x from "react";
16
17
  import { jsx as S } from "react/jsx-runtime";
17
- //#region ../../node_modules/.bun/@radix-ui+react-menu@2.1.24+2b23df507bdda662/node_modules/@radix-ui/react-menu/dist/index.mjs
18
+ //#region ../../node_modules/.bun/@radix-ui+react-menu@2.2.1+b146eb580f4286be/node_modules/@radix-ui/react-menu/dist/index.mjs
18
19
  var C = Object.defineProperty, w = (e, t) => C(e, "name", {
19
20
  value: t,
20
21
  configurable: !0
21
- }), T = ["Enter", " "], E = [
22
+ }), T = {
23
+ LTR: "ltr",
24
+ RTL: "rtl"
25
+ }, E = ["Enter", " "], D = [
22
26
  "ArrowDown",
23
27
  "PageUp",
24
28
  "Home"
25
- ], re = [
29
+ ], oe = [
26
30
  "ArrowUp",
27
31
  "PageDown",
28
32
  "End"
29
- ], ie = [...E, ...re], ae = {
30
- ltr: [...T, "ArrowRight"],
31
- rtl: [...T, "ArrowLeft"]
32
- }, D = {
33
+ ], se = [...D, ...oe], O = {
34
+ ltr: [...E, "ArrowRight"],
35
+ rtl: [...E, "ArrowLeft"]
36
+ }, ce = {
33
37
  ltr: ["ArrowLeft"],
34
38
  rtl: ["ArrowRight"]
35
- }, O = "Menu", [k, oe, A] = a(O), [j, M] = i(O, [
36
- A,
39
+ }, k = "Menu", [A, le, ue] = a(k), [j, M] = i(k, [
40
+ ue,
37
41
  _,
38
- y
39
- ]), N = _(), se = y(), [P, F] = j(O), [I, L] = j(O), R = /* @__PURE__ */ w((e) => {
42
+ b
43
+ ]), N = _(), de = b(), [P, F] = j(k), [fe, I] = j(k), pe = /* @__PURE__ */ w((e) => {
40
44
  let { __scopeMenu: t, open: n = !1, children: r, dir: i, onOpenChange: a, modal: o = !0 } = e, s = N(t), [c, d] = x.useState(null), f = x.useRef(!1), p = u(a), m = l(i);
41
45
  return x.useEffect(() => {
42
46
  let e = /* @__PURE__ */ w(() => {
@@ -63,7 +67,7 @@ var C = Object.defineProperty, w = (e, t) => C(e, "name", {
63
67
  onOpenChange: p,
64
68
  content: c,
65
69
  onContentChange: d,
66
- children: /* @__PURE__ */ S(I, {
70
+ children: /* @__PURE__ */ S(fe, {
67
71
  scope: t,
68
72
  onClose: x.useCallback(() => p(!1), [p]),
69
73
  isUsingKeyboardRef: f,
@@ -73,51 +77,51 @@ var C = Object.defineProperty, w = (e, t) => C(e, "name", {
73
77
  })
74
78
  })
75
79
  });
76
- }, "Menu"), z = /* @__PURE__ */ x.forwardRef(/* @__PURE__ */ w(function(e, t) {
80
+ }, "Menu"), L = /* @__PURE__ */ x.forwardRef(/* @__PURE__ */ w(function(e, t) {
77
81
  let { __scopeMenu: n, ...r } = e;
78
- return /* @__PURE__ */ S(te, {
82
+ return /* @__PURE__ */ S(ie, {
79
83
  ...N(n),
80
84
  ...r,
81
85
  ref: t
82
86
  });
83
- }, "MenuAnchor")), B = "MenuPortal", [ce, V] = j(B, { forceMount: void 0 }), H = /* @__PURE__ */ w((e) => {
84
- let { __scopeMenu: t, forceMount: n, children: r, container: i } = e, a = F(B, t);
85
- return /* @__PURE__ */ S(ce, {
87
+ }, "MenuAnchor")), R = "MenuPortal", [z, B] = j(R, { forceMount: void 0 }), V = /* @__PURE__ */ w((e) => {
88
+ let { __scopeMenu: t, forceMount: n, children: r, container: i } = e, a = F(R, t);
89
+ return /* @__PURE__ */ S(z, {
86
90
  scope: t,
87
91
  forceMount: n,
88
92
  children: /* @__PURE__ */ S(s, {
89
93
  present: n || a.open,
90
- children: /* @__PURE__ */ S(g, {
94
+ children: /* @__PURE__ */ S(h, {
91
95
  asChild: !0,
92
96
  container: i,
93
97
  children: r
94
98
  })
95
99
  })
96
100
  });
97
- }, "MenuPortal"), U = "MenuContent", [le, W] = j(U), ue = /* @__PURE__ */ x.forwardRef(/* @__PURE__ */ w(function(e, t) {
98
- let n = V(U, e.__scopeMenu), { forceMount: r = n.forceMount, ...i } = e, a = F(U, e.__scopeMenu), o = L(U, e.__scopeMenu);
99
- return /* @__PURE__ */ S(k.Provider, {
101
+ }, "MenuPortal"), H = "MenuContent", [me, U] = j(H), he = /* @__PURE__ */ x.forwardRef(/* @__PURE__ */ w(function(e, t) {
102
+ let n = B(H, e.__scopeMenu), { forceMount: r = n.forceMount, ...i } = e, a = F(H, e.__scopeMenu), o = I(H, e.__scopeMenu);
103
+ return /* @__PURE__ */ S(A.Provider, {
100
104
  scope: e.__scopeMenu,
101
105
  children: /* @__PURE__ */ S(s, {
102
106
  present: r || a.open,
103
- children: /* @__PURE__ */ S(k.Slot, {
107
+ children: /* @__PURE__ */ S(A.Slot, {
104
108
  scope: e.__scopeMenu,
105
- children: o.modal ? /* @__PURE__ */ S(de, {
109
+ children: o.modal ? /* @__PURE__ */ S(ge, {
106
110
  ...i,
107
111
  ref: t
108
- }) : /* @__PURE__ */ S(fe, {
112
+ }) : /* @__PURE__ */ S(_e, {
109
113
  ...i,
110
114
  ref: t
111
115
  })
112
116
  })
113
117
  })
114
118
  });
115
- }, "MenuContent")), de = /* @__PURE__ */ x.forwardRef(/* @__PURE__ */ w(function(t, n) {
116
- let r = F(U, t.__scopeMenu), i = x.useRef(null), a = e(n, i);
119
+ }, "MenuContent")), ge = /* @__PURE__ */ x.forwardRef(/* @__PURE__ */ w(function(t, n) {
120
+ let r = F(H, t.__scopeMenu), i = x.useRef(null), a = e(n, i);
117
121
  return x.useEffect(() => {
118
122
  let e = i.current;
119
- if (e) return h(e);
120
- }, []), /* @__PURE__ */ S(G, {
123
+ if (e) return g(e);
124
+ }, []), /* @__PURE__ */ S(W, {
121
125
  ...t,
122
126
  ref: a,
123
127
  trapFocus: r.open,
@@ -126,9 +130,9 @@ var C = Object.defineProperty, w = (e, t) => C(e, "name", {
126
130
  onFocusOutside: o(t.onFocusOutside, (e) => e.preventDefault(), { checkForDefaultPrevented: !1 }),
127
131
  onDismiss: () => r.onOpenChange(!1)
128
132
  });
129
- }, "MenuRootContentModal")), fe = /* @__PURE__ */ x.forwardRef(/* @__PURE__ */ w(function(e, t) {
130
- let n = F(U, e.__scopeMenu);
131
- return /* @__PURE__ */ S(G, {
133
+ }, "MenuRootContentModal")), _e = /* @__PURE__ */ x.forwardRef(/* @__PURE__ */ w(function(e, t) {
134
+ let n = F(H, e.__scopeMenu);
135
+ return /* @__PURE__ */ S(W, {
132
136
  ...e,
133
137
  ref: t,
134
138
  trapFocus: !1,
@@ -136,123 +140,135 @@ var C = Object.defineProperty, w = (e, t) => C(e, "name", {
136
140
  disableOutsideScroll: !1,
137
141
  onDismiss: () => n.onOpenChange(!1)
138
142
  });
139
- }, "MenuRootContentNonModal")), pe = t("MenuContent.ScrollLock"), G = /* @__PURE__ */ x.forwardRef(/* @__PURE__ */ w(function(t, n) {
140
- let { __scopeMenu: r, loop: i = !1, trapFocus: a, onOpenAutoFocus: s, onCloseAutoFocus: c, disableOutsidePointerEvents: l, onEntryFocus: u, onEscapeKeyDown: h, onPointerDownOutside: g, onFocusOutside: _, onInteractOutside: v, onDismiss: te, disableOutsideScroll: y, ...b } = t, C = F(U, r), T = L(U, r), E = N(r), ae = se(r), D = oe(r), [O, k] = x.useState(null), A = x.useRef(null), j = e(n, A, C.onContentChange), M = x.useRef(0), P = x.useRef(""), I = x.useRef(0), R = x.useRef(null), z = x.useRef("right"), B = x.useRef(0), ce = y ? p : x.Fragment, V = y ? {
141
- as: pe,
142
- allowPinchZoom: !0
143
- } : void 0, H = /* @__PURE__ */ w((e) => {
144
- let t = P.current + e, n = D().filter((e) => !e.disabled), r = document.activeElement, i = n.find((e) => e.ref.current === r)?.textValue, a = Le(n.map((e) => e.textValue), t, i), o = n.find((e) => e.textValue === a)?.ref.current;
145
- (/* @__PURE__ */ w((function e(t) {
146
- P.current = t, window.clearTimeout(M.current), t !== "" && (M.current = window.setTimeout(() => e(""), 1e3));
147
- }), "updateSearch"))(t), o && setTimeout(() => o.focus());
143
+ }, "MenuRootContentNonModal")), ve = t("MenuContent.ScrollLock"), W = /* @__PURE__ */ x.forwardRef(/* @__PURE__ */ w(function(t, n) {
144
+ let { __scopeMenu: r, loop: i = !1, trapFocus: a, onOpenAutoFocus: s, onCloseAutoFocus: c, disableOutsidePointerEvents: l, onEntryFocus: u, onEscapeKeyDown: h, onPointerDownOutside: g, onFocusOutside: _, onInteractOutside: ie, onDismiss: v, disableOutsideScroll: y, ...b } = t, C = F(H, r), T = I(H, r), E = N(r), D = de(r), O = le(r), [ce, k] = x.useState(null), A = x.useRef(null), [ue, j] = x.useState(null);
145
+ m(ue);
146
+ let { nodes: M, registry: P } = f(), fe = !!(a || y), pe = e(n, A, C.onContentChange, j), L = x.useRef(0), R = x.useRef(""), z = x.useRef(0), B = x.useRef(null), V = x.useRef("right"), U = x.useRef(0), he = x.useMemo(() => y ? [A, ...M.map((e) => ({ current: e }))] : [], [
147
+ A,
148
+ M,
149
+ y
150
+ ]), ge = y ? te : x.Fragment, _e = y ? {
151
+ as: ve,
152
+ allowPinchZoom: !0,
153
+ shards: he
154
+ } : void 0, W = /* @__PURE__ */ w((e) => {
155
+ let t = R.current + e, n = O().filter((e) => !e.disabled), r = document.activeElement, i = n.find((e) => e.ref.current === r)?.textValue, a = Ve(n.map((e) => e.textValue), t, i), o = n.find((e) => e.textValue === a)?.ref.current;
156
+ function s(e) {
157
+ R.current = e, window.clearTimeout(L.current), e !== "" && (L.current = window.setTimeout(() => s(""), 1e3));
158
+ }
159
+ w(s, "updateSearch"), s(t), o && setTimeout(() => o.focus());
148
160
  }, "handleTypeaheadSearch");
149
- x.useEffect(() => () => window.clearTimeout(M.current), []), m();
150
- let W = x.useCallback((e) => z.current === R.current?.side && ze(e, R.current?.area), []);
151
- return /* @__PURE__ */ S(le, {
161
+ x.useEffect(() => () => window.clearTimeout(L.current), []), ne();
162
+ let G = x.useCallback((e) => V.current === B.current?.side && Ue(e, B.current?.area), []);
163
+ return /* @__PURE__ */ S(me, {
152
164
  scope: r,
153
- searchRef: P,
165
+ searchRef: R,
154
166
  onItemEnter: x.useCallback((e) => {
155
- W(e) && e.preventDefault();
156
- }, [W]),
167
+ G(e) && e.preventDefault();
168
+ }, [G]),
157
169
  onItemLeave: x.useCallback((e) => {
158
- W(e) || (A.current?.focus(), k(null));
159
- }, [W]),
170
+ G(e) || (A.current?.focus(), k(null));
171
+ }, [G]),
160
172
  onTriggerLeave: x.useCallback((e) => {
161
- W(e) && e.preventDefault();
162
- }, [W]),
163
- pointerGraceTimerRef: I,
173
+ G(e) && e.preventDefault();
174
+ }, [G]),
175
+ pointerGraceTimerRef: z,
164
176
  onPointerGraceIntentChange: x.useCallback((e) => {
165
- R.current = e;
177
+ B.current = e;
166
178
  }, []),
167
- children: /* @__PURE__ */ S(ce, {
168
- ...V,
169
- children: /* @__PURE__ */ S(f, {
170
- asChild: !0,
171
- trapped: a,
172
- onMountAutoFocus: o(s, (e) => {
173
- e.preventDefault(), A.current?.focus({ preventScroll: !0 });
174
- }),
175
- onUnmountAutoFocus: c,
176
- children: /* @__PURE__ */ S(d, {
179
+ children: /* @__PURE__ */ S(p, {
180
+ registry: fe ? P : null,
181
+ children: /* @__PURE__ */ S(ge, {
182
+ ..._e,
183
+ children: /* @__PURE__ */ S(ee, {
177
184
  asChild: !0,
178
- disableOutsidePointerEvents: l,
179
- onEscapeKeyDown: h,
180
- onPointerDownOutside: g,
181
- onFocusOutside: _,
182
- onInteractOutside: v,
183
- onDismiss: te,
184
- children: /* @__PURE__ */ S(ne, {
185
+ trapped: a,
186
+ branches: M,
187
+ onMountAutoFocus: o(s, (e) => {
188
+ e.preventDefault(), A.current?.focus({ preventScroll: !0 });
189
+ }),
190
+ onUnmountAutoFocus: c,
191
+ children: /* @__PURE__ */ S(d, {
185
192
  asChild: !0,
186
- ...ae,
187
- dir: T.dir,
188
- orientation: "vertical",
189
- loop: i,
190
- currentTabStopId: O,
191
- onCurrentTabStopIdChange: k,
192
- onEntryFocus: o(u, (e) => {
193
- T.isUsingKeyboardRef.current || e.preventDefault();
194
- }),
195
- preventScrollOnEntryFocus: !0,
196
- children: /* @__PURE__ */ S(ee, {
197
- role: "menu",
198
- "aria-orientation": "vertical",
199
- "data-state": X(C.open),
200
- "data-radix-menu-content": "",
193
+ disableOutsidePointerEvents: l,
194
+ onEscapeKeyDown: h,
195
+ onPointerDownOutside: g,
196
+ onFocusOutside: _,
197
+ onInteractOutside: ie,
198
+ onDismiss: v,
199
+ children: /* @__PURE__ */ S(ae, {
200
+ asChild: !0,
201
+ ...D,
201
202
  dir: T.dir,
202
- ...E,
203
- ...b,
204
- ref: j,
205
- style: {
206
- outline: "none",
207
- ...b.style
208
- },
209
- onKeyDown: o(b.onKeyDown, (e) => {
210
- let t = e.target.closest("[data-radix-menu-content]") === e.currentTarget, n = e.ctrlKey || e.altKey || e.metaKey, r = e.key.length === 1;
211
- t && (e.key === "Tab" && e.preventDefault(), !n && r && H(e.key));
212
- let i = A.current;
213
- if (e.target !== i || !ie.includes(e.key)) return;
214
- e.preventDefault();
215
- let a = D().filter((e) => !e.disabled).map((e) => e.ref.current);
216
- re.includes(e.key) && a.reverse(), Fe(a);
203
+ orientation: "vertical",
204
+ loop: i,
205
+ currentTabStopId: ce,
206
+ onCurrentTabStopIdChange: k,
207
+ onEntryFocus: o(u, (e) => {
208
+ T.isUsingKeyboardRef.current || e.preventDefault();
217
209
  }),
218
- onBlur: o(t.onBlur, (e) => {
219
- e.currentTarget.contains(e.target) || (window.clearTimeout(M.current), P.current = "");
220
- }),
221
- onPointerMove: o(t.onPointerMove, $((e) => {
222
- let t = e.target, n = B.current !== e.clientX;
223
- e.currentTarget.contains(t) && n && (z.current = e.clientX > B.current ? "right" : "left", B.current = e.clientX);
224
- }))
210
+ preventScrollOnEntryFocus: !0,
211
+ children: /* @__PURE__ */ S(re, {
212
+ role: "menu",
213
+ "aria-orientation": "vertical",
214
+ "data-state": X(C.open),
215
+ "data-radix-menu-content": "",
216
+ dir: T.dir,
217
+ ...E,
218
+ ...b,
219
+ ref: pe,
220
+ style: {
221
+ outline: "none",
222
+ ...b.style
223
+ },
224
+ onKeyDown: o(b.onKeyDown, (e) => {
225
+ let t = e.target.closest("[data-radix-menu-content]") === e.currentTarget, n = e.ctrlKey || e.altKey || e.metaKey, r = e.key.length === 1;
226
+ t && (e.key === "Tab" && e.preventDefault(), !n && r && W(e.key));
227
+ let i = A.current;
228
+ if (e.target !== i || !se.includes(e.key)) return;
229
+ e.preventDefault();
230
+ let a = O().filter((e) => !e.disabled).map((e) => e.ref.current);
231
+ oe.includes(e.key) && a.reverse(), ze(a);
232
+ }),
233
+ onBlur: o(t.onBlur, (e) => {
234
+ e.currentTarget.contains(e.target) || (window.clearTimeout(L.current), R.current = "");
235
+ }),
236
+ onPointerMove: o(t.onPointerMove, $((e) => {
237
+ let t = e.target, n = U.current !== e.clientX;
238
+ e.currentTarget.contains(t) && n && (V.current = e.clientX > U.current ? "right" : "left", U.current = e.clientX);
239
+ }))
240
+ })
225
241
  })
226
242
  })
227
243
  })
228
244
  })
229
245
  })
230
246
  });
231
- }, "MenuContentImpl")), K = /* @__PURE__ */ x.forwardRef(/* @__PURE__ */ w(function(e, t) {
247
+ }, "MenuContentImpl")), G = /* @__PURE__ */ x.forwardRef(/* @__PURE__ */ w(function(e, t) {
232
248
  let { __scopeMenu: n, ...i } = e;
233
249
  return /* @__PURE__ */ S(r.div, {
234
250
  role: "group",
235
251
  ...i,
236
252
  ref: t
237
253
  });
238
- }, "MenuGroup")), me = /* @__PURE__ */ x.forwardRef(/* @__PURE__ */ w(function(e, t) {
254
+ }, "MenuGroup")), ye = /* @__PURE__ */ x.forwardRef(/* @__PURE__ */ w(function(e, t) {
239
255
  let { __scopeMenu: n, ...i } = e;
240
256
  return /* @__PURE__ */ S(r.div, {
241
257
  ...i,
242
258
  ref: t
243
259
  });
244
- }, "MenuLabel")), q = "MenuItem", he = "menu.itemSelect", J = /* @__PURE__ */ x.forwardRef(/* @__PURE__ */ w(function(t, r) {
245
- let { disabled: i = !1, onSelect: a, ...s } = t, c = x.useRef(null), l = L(q, t.__scopeMenu), u = W(q, t.__scopeMenu), d = e(r, c), f = x.useRef(!1), p = /* @__PURE__ */ w(() => {
260
+ }, "MenuLabel")), K = "MenuItem", be = "menu.itemSelect", q = /* @__PURE__ */ x.forwardRef(/* @__PURE__ */ w(function(t, r) {
261
+ let { disabled: i = !1, onSelect: a, ...s } = t, c = x.useRef(null), l = I(K, t.__scopeMenu), u = U(K, t.__scopeMenu), d = e(r, c), f = x.useRef(!1), p = /* @__PURE__ */ w(() => {
246
262
  let e = c.current;
247
263
  if (!i && e) {
248
- let t = new CustomEvent(he, {
264
+ let t = new CustomEvent(be, {
249
265
  bubbles: !0,
250
266
  cancelable: !0
251
267
  });
252
- e.addEventListener(he, (e) => a?.(e), { once: !0 }), n(e, t), t.defaultPrevented ? f.current = !1 : l.onClose();
268
+ e.addEventListener(be, (e) => a?.(e), { once: !0 }), n(e, t), t.defaultPrevented ? f.current = !1 : l.onClose();
253
269
  }
254
270
  }, "handleSelect");
255
- return /* @__PURE__ */ S(ge, {
271
+ return /* @__PURE__ */ S(J, {
256
272
  ...s,
257
273
  ref: d,
258
274
  disabled: i,
@@ -264,19 +280,19 @@ var C = Object.defineProperty, w = (e, t) => C(e, "name", {
264
280
  f.current || e.currentTarget?.click();
265
281
  }),
266
282
  onKeyDown: o(t.onKeyDown, (e) => {
267
- i || e.target !== e.currentTarget || u.searchRef.current !== "" && e.key === " " || T.includes(e.key) && (e.currentTarget.click(), e.preventDefault());
283
+ i || e.target !== e.currentTarget || u.searchRef.current !== "" && e.key === " " || E.includes(e.key) && (e.currentTarget.click(), e.preventDefault());
268
284
  })
269
285
  });
270
- }, "MenuItem")), ge = /* @__PURE__ */ x.forwardRef(/* @__PURE__ */ w(function(t, n) {
271
- let { __scopeMenu: i, disabled: a = !1, textValue: s, ...c } = t, l = W(q, i), u = se(i), d = x.useRef(null), f = e(n, d), [p, m] = x.useState(!1), [h, g] = x.useState("");
286
+ }, "MenuItem")), J = /* @__PURE__ */ x.forwardRef(/* @__PURE__ */ w(function(t, n) {
287
+ let { __scopeMenu: i, disabled: a = !1, textValue: s, ...c } = t, l = U(K, i), u = de(i), d = x.useRef(null), f = e(n, d), [p, m] = x.useState(!1), [ee, h] = x.useState("");
272
288
  return x.useEffect(() => {
273
289
  let e = d.current;
274
- e && g((e.textContent ?? "").trim());
275
- }, [c.children]), /* @__PURE__ */ S(k.ItemSlot, {
290
+ e && h((e.textContent ?? "").trim());
291
+ }, [c.children]), /* @__PURE__ */ S(A.ItemSlot, {
276
292
  scope: i,
277
293
  disabled: a,
278
- textValue: s ?? h,
279
- children: /* @__PURE__ */ S(b, {
294
+ textValue: s ?? ee,
295
+ children: /* @__PURE__ */ S(y, {
280
296
  asChild: !0,
281
297
  ...u,
282
298
  focusable: !a,
@@ -296,12 +312,12 @@ var C = Object.defineProperty, w = (e, t) => C(e, "name", {
296
312
  })
297
313
  })
298
314
  });
299
- }, "MenuItemImpl")), _e = /* @__PURE__ */ x.forwardRef(/* @__PURE__ */ w(function(e, t) {
315
+ }, "MenuItemImpl")), xe = /* @__PURE__ */ x.forwardRef(/* @__PURE__ */ w(function(e, t) {
300
316
  let { checked: n = !1, onCheckedChange: r, ...i } = e;
301
- return /* @__PURE__ */ S(we, {
317
+ return /* @__PURE__ */ S(Oe, {
302
318
  scope: e.__scopeMenu,
303
319
  checked: n,
304
- children: /* @__PURE__ */ S(J, {
320
+ children: /* @__PURE__ */ S(q, {
305
321
  role: "menuitemcheckbox",
306
322
  "aria-checked": Z(n) ? "mixed" : n,
307
323
  ...i,
@@ -310,26 +326,26 @@ var C = Object.defineProperty, w = (e, t) => C(e, "name", {
310
326
  onSelect: o(i.onSelect, () => r?.(Z(n) ? !0 : !n), { checkForDefaultPrevented: !1 })
311
327
  })
312
328
  });
313
- }, "MenuCheckboxItem")), [ve, ye] = j("MenuRadioGroup", {
329
+ }, "MenuCheckboxItem")), [Se, Ce] = j("MenuRadioGroup", {
314
330
  value: void 0,
315
331
  onValueChange: /* @__PURE__ */ w(() => {}, "onValueChange")
316
- }), be = /* @__PURE__ */ x.forwardRef(/* @__PURE__ */ w(function(e, t) {
332
+ }), we = /* @__PURE__ */ x.forwardRef(/* @__PURE__ */ w(function(e, t) {
317
333
  let { value: n, onValueChange: r, ...i } = e, a = u(r);
318
- return /* @__PURE__ */ S(ve, {
334
+ return /* @__PURE__ */ S(Se, {
319
335
  scope: e.__scopeMenu,
320
336
  value: n,
321
337
  onValueChange: a,
322
- children: /* @__PURE__ */ S(K, {
338
+ children: /* @__PURE__ */ S(G, {
323
339
  ...i,
324
340
  ref: t
325
341
  })
326
342
  });
327
- }, "MenuRadioGroup")), xe = "MenuRadioItem", Se = /* @__PURE__ */ x.forwardRef(/* @__PURE__ */ w(function(e, t) {
328
- let { value: n, ...r } = e, i = ye(xe, e.__scopeMenu), a = n === i.value;
329
- return /* @__PURE__ */ S(we, {
343
+ }, "MenuRadioGroup")), Te = "MenuRadioItem", Ee = /* @__PURE__ */ x.forwardRef(/* @__PURE__ */ w(function(e, t) {
344
+ let { value: n, ...r } = e, i = Ce(Te, e.__scopeMenu), a = n === i.value;
345
+ return /* @__PURE__ */ S(Oe, {
330
346
  scope: e.__scopeMenu,
331
347
  checked: a,
332
- children: /* @__PURE__ */ S(J, {
348
+ children: /* @__PURE__ */ S(q, {
333
349
  role: "menuitemradio",
334
350
  "aria-checked": a,
335
351
  ...r,
@@ -338,8 +354,8 @@ var C = Object.defineProperty, w = (e, t) => C(e, "name", {
338
354
  onSelect: o(r.onSelect, () => i.onValueChange?.(n), { checkForDefaultPrevented: !1 })
339
355
  })
340
356
  });
341
- }, "MenuRadioItem")), Ce = "MenuItemIndicator", [we, Te] = j(Ce, { checked: !1 }), Ee = /* @__PURE__ */ x.forwardRef(/* @__PURE__ */ w(function(e, t) {
342
- let { __scopeMenu: n, forceMount: i, ...a } = e, o = Te(Ce, n);
357
+ }, "MenuRadioItem")), De = "MenuItemIndicator", [Oe, ke] = j(De, { checked: !1 }), Ae = /* @__PURE__ */ x.forwardRef(/* @__PURE__ */ w(function(e, t) {
358
+ let { __scopeMenu: n, forceMount: i, ...a } = e, o = ke(De, n);
343
359
  return /* @__PURE__ */ S(s, {
344
360
  present: i || Z(o.checked) || o.checked === !0,
345
361
  children: /* @__PURE__ */ S(r.span, {
@@ -348,7 +364,7 @@ var C = Object.defineProperty, w = (e, t) => C(e, "name", {
348
364
  "data-state": Q(o.checked)
349
365
  })
350
366
  });
351
- }, "MenuItemIndicator")), De = /* @__PURE__ */ x.forwardRef(/* @__PURE__ */ w(function(e, t) {
367
+ }, "MenuItemIndicator")), je = /* @__PURE__ */ x.forwardRef(/* @__PURE__ */ w(function(e, t) {
352
368
  let { __scopeMenu: n, ...i } = e;
353
369
  return /* @__PURE__ */ S(r.div, {
354
370
  role: "separator",
@@ -356,8 +372,8 @@ var C = Object.defineProperty, w = (e, t) => C(e, "name", {
356
372
  ...i,
357
373
  ref: t
358
374
  });
359
- }, "MenuSeparator")), Oe = "MenuSub", [ke, Ae] = j(Oe), je = /* @__PURE__ */ w((e) => {
360
- let { __scopeMenu: t, children: n, open: r = !1, onOpenChange: i } = e, a = F(Oe, t), o = N(t), [s, l] = x.useState(null), [d, f] = x.useState(null), p = u(i);
375
+ }, "MenuSeparator")), Me = "MenuSub", [Ne, Pe] = j(Me), Fe = /* @__PURE__ */ w((e) => {
376
+ let { __scopeMenu: t, children: n, open: r = !1, onOpenChange: i } = e, a = F(Me, t), o = N(t), [s, l] = x.useState(null), [d, f] = x.useState(null), p = u(i);
361
377
  return x.useEffect(() => (a.open === !1 && p(!1), () => p(!1)), [a.open, p]), /* @__PURE__ */ S(v, {
362
378
  ...o,
363
379
  children: /* @__PURE__ */ S(P, {
@@ -366,7 +382,7 @@ var C = Object.defineProperty, w = (e, t) => C(e, "name", {
366
382
  onOpenChange: p,
367
383
  content: d,
368
384
  onContentChange: f,
369
- children: /* @__PURE__ */ S(ke, {
385
+ children: /* @__PURE__ */ S(Ne, {
370
386
  scope: t,
371
387
  contentId: c(),
372
388
  triggerId: c(),
@@ -376,8 +392,8 @@ var C = Object.defineProperty, w = (e, t) => C(e, "name", {
376
392
  })
377
393
  })
378
394
  });
379
- }, "MenuSub"), Y = "MenuSubTrigger", Me = /* @__PURE__ */ x.forwardRef(/* @__PURE__ */ w(function(t, n) {
380
- let r = F(Y, t.__scopeMenu), i = L(Y, t.__scopeMenu), a = Ae(Y, t.__scopeMenu), s = W(Y, t.__scopeMenu), c = x.useRef(null), { pointerGraceTimerRef: l, onPointerGraceIntentChange: u } = s, d = { __scopeMenu: t.__scopeMenu }, f = x.useCallback(() => {
395
+ }, "MenuSub"), Y = "MenuSubTrigger", Ie = /* @__PURE__ */ x.forwardRef(/* @__PURE__ */ w(function(t, n) {
396
+ let r = F(Y, t.__scopeMenu), i = I(Y, t.__scopeMenu), a = Pe(Y, t.__scopeMenu), s = U(Y, t.__scopeMenu), c = x.useRef(null), { pointerGraceTimerRef: l, onPointerGraceIntentChange: u } = s, d = { __scopeMenu: t.__scopeMenu }, f = x.useCallback(() => {
381
397
  c.current && window.clearTimeout(c.current), c.current = null;
382
398
  }, []);
383
399
  x.useEffect(() => f, [f]), x.useEffect(() => {
@@ -387,10 +403,10 @@ var C = Object.defineProperty, w = (e, t) => C(e, "name", {
387
403
  };
388
404
  }, [l, u]);
389
405
  let p = e(n, a.onTriggerChange);
390
- return /* @__PURE__ */ S(z, {
406
+ return /* @__PURE__ */ S(L, {
391
407
  asChild: !0,
392
408
  ...d,
393
- children: /* @__PURE__ */ S(ge, {
409
+ children: /* @__PURE__ */ S(J, {
394
410
  id: a.triggerId,
395
411
  "aria-haspopup": "menu",
396
412
  "aria-expanded": r.open,
@@ -442,25 +458,25 @@ var C = Object.defineProperty, w = (e, t) => C(e, "name", {
442
458
  }
443
459
  })),
444
460
  onKeyDown: o(t.onKeyDown, (e) => {
445
- t.disabled || e.target !== e.currentTarget || s.searchRef.current !== "" && e.key === " " || ae[i.dir].includes(e.key) && (r.onOpenChange(!0), r.content?.focus(), e.preventDefault());
461
+ t.disabled || e.target !== e.currentTarget || s.searchRef.current !== "" && e.key === " " || O[i.dir].includes(e.key) && (r.onOpenChange(!0), r.content?.focus(), e.preventDefault());
446
462
  })
447
463
  })
448
464
  });
449
- }, "MenuSubTrigger")), Ne = "MenuSubContent", Pe = /* @__PURE__ */ x.forwardRef(/* @__PURE__ */ w(function(t, n) {
450
- let r = V(U, t.__scopeMenu), { forceMount: i = r.forceMount, align: a = "start", ...c } = t, l = F(U, t.__scopeMenu), u = L(U, t.__scopeMenu), d = Ae(Ne, t.__scopeMenu), f = x.useRef(null), p = e(n, f);
451
- return /* @__PURE__ */ S(k.Provider, {
465
+ }, "MenuSubTrigger")), Le = "MenuSubContent", Re = /* @__PURE__ */ x.forwardRef(/* @__PURE__ */ w(function(t, n) {
466
+ let r = B(H, t.__scopeMenu), { forceMount: i = r.forceMount, align: a = "start", ...c } = t, l = F(H, t.__scopeMenu), u = I(H, t.__scopeMenu), d = Pe(Le, t.__scopeMenu), f = x.useRef(null), p = e(n, f);
467
+ return /* @__PURE__ */ S(A.Provider, {
452
468
  scope: t.__scopeMenu,
453
469
  children: /* @__PURE__ */ S(s, {
454
470
  present: i || l.open,
455
- children: /* @__PURE__ */ S(k.Slot, {
471
+ children: /* @__PURE__ */ S(A.Slot, {
456
472
  scope: t.__scopeMenu,
457
- children: /* @__PURE__ */ S(G, {
473
+ children: /* @__PURE__ */ S(W, {
458
474
  id: d.contentId,
459
475
  "aria-labelledby": d.triggerId,
460
476
  ...c,
461
477
  ref: p,
462
478
  align: a,
463
- side: u.dir === "rtl" ? "left" : "right",
479
+ side: u.dir === T.RTL ? "left" : "right",
464
480
  disableOutsidePointerEvents: !1,
465
481
  disableOutsideScroll: !1,
466
482
  trapFocus: !1,
@@ -475,7 +491,7 @@ var C = Object.defineProperty, w = (e, t) => C(e, "name", {
475
491
  u.onClose(), e.preventDefault();
476
492
  }),
477
493
  onKeyDown: o(t.onKeyDown, (e) => {
478
- let t = e.currentTarget.contains(e.target), n = D[u.dir].includes(e.key);
494
+ let t = e.currentTarget.contains(e.target), n = ce[u.dir].includes(e.key);
479
495
  t && n && (l.onOpenChange(!1), d.trigger?.focus(), e.preventDefault());
480
496
  })
481
497
  })
@@ -495,23 +511,23 @@ function Q(e) {
495
511
  return Z(e) ? "indeterminate" : e ? "checked" : "unchecked";
496
512
  }
497
513
  w(Q, "getCheckedState");
498
- function Fe(e) {
514
+ function ze(e) {
499
515
  let t = document.activeElement;
500
516
  for (let n of e) if (n === t || (n.focus(), document.activeElement !== t)) return;
501
517
  }
502
- w(Fe, "focusFirst");
503
- function Ie(e, t) {
518
+ w(ze, "focusFirst");
519
+ function Be(e, t) {
504
520
  return e.map((n, r) => e[(t + r) % e.length]);
505
521
  }
506
- w(Ie, "wrapArray");
507
- function Le(e, t, n) {
508
- let r = t.length > 1 && Array.from(t).every((e) => e === t[0]) ? t[0] : t, i = n ? e.indexOf(n) : -1, a = Ie(e, Math.max(i, 0));
522
+ w(Be, "wrapArray");
523
+ function Ve(e, t, n) {
524
+ let r = t.length > 1 && Array.from(t).every((e) => e === t[0]) ? t[0] : t, i = n ? e.indexOf(n) : -1, a = Be(e, Math.max(i, 0));
509
525
  r.length === 1 && (a = a.filter((e) => e !== n));
510
526
  let o = a.find((e) => e.toLowerCase().startsWith(r.toLowerCase()));
511
527
  return o === n ? void 0 : o;
512
528
  }
513
- w(Le, "getNextMatch");
514
- function Re(e, t) {
529
+ w(Ve, "getNextMatch");
530
+ function He(e, t) {
515
531
  let { x: n, y: r } = e, i = !1;
516
532
  for (let e = 0, a = t.length - 1; e < t.length; a = e++) {
517
533
  let o = t[e], s = t[a], c = o.x, l = o.y, u = s.x, d = s.y;
@@ -519,18 +535,17 @@ function Re(e, t) {
519
535
  }
520
536
  return i;
521
537
  }
522
- w(Re, "isPointInPolygon");
523
- function ze(e, t) {
524
- return t ? Re({
538
+ w(He, "isPointInPolygon");
539
+ function Ue(e, t) {
540
+ return t ? He({
525
541
  x: e.clientX,
526
542
  y: e.clientY
527
543
  }, t) : !1;
528
544
  }
529
- w(ze, "isPointerInGraceArea");
545
+ w(Ue, "isPointerInGraceArea");
530
546
  function $(e) {
531
547
  return (t) => t.pointerType === "mouse" ? e(t) : void 0;
532
548
  }
533
549
  w($, "whenMouse");
534
- var Be = R, Ve = z, He = H, Ue = ue, We = K, Ge = me, Ke = J, qe = _e, Je = be, Ye = Se, Xe = Ee, Ze = De, Qe = je, $e = Me, et = Pe;
535
550
  //#endregion
536
- export { Ke as a, He as c, Be as d, Ze as f, M as g, $e as h, We as i, Je as l, et as m, qe as n, Xe as o, Qe as p, Ue as r, Ge as s, Ve as t, Ye as u };
551
+ export { G as a, ye as c, Ee as d, je as f, M as g, Ie as h, he as i, V as l, Re as m, L as n, q as o, Fe as p, xe as r, Ae as s, pe as t, we as u };
@@ -0,0 +1 @@
1
+ const e=require("./chunk-mLOUI7ql.js"),t=require("./dist-BBvidwzC.js"),n=require("./dist-hFLuJoMi.js"),r=require("./dist-DYUvPCPC.js"),i=require("./dist-CGgemr2V.js"),a=require("./dist-DZiOPWLp.js"),o=require("./dist-YAADIsyo.js"),s=require("./dist-D7-Fky36.js"),c=require("./dist-C8Pm6LRc.js"),l=require("./dist-BU-TFzJf.js"),u=require("./dist-Qm9hFvM1.js"),d=require("./dist-1zUKVGvf.js"),f=require("./es2015-DbAsWDbs.js");let p=require("react");p=e.r(p,1);let m=require("react/jsx-runtime");var h=Object.defineProperty,g=(e,t)=>h(e,`name`,{value:t,configurable:!0}),_=`Dialog`,[v,y]=r.t(_),[b,x]=v(_),S=g(e=>{let{__scopeDialog:t,children:n,open:r,defaultOpen:i,onOpenChange:a,modal:s=!0}=e,l=p.useRef(null),d=p.useRef(null),{nodes:f,registry:h}=u.i(),[g,v]=o.t({prop:r,defaultProp:i??!1,onChange:a,caller:_}),[y,x]=p.useState(0),[S,C]=p.useState(0);return(0,m.jsx)(b,{scope:t,triggerRef:l,contentRef:d,contentId:c.t(),titleId:c.t(),descriptionId:c.t(),titlePresent:y>0,descriptionPresent:S>0,setTitleCount:x,setDescriptionCount:C,open:g,onOpenChange:v,onOpenToggle:p.useCallback(()=>v(e=>!e),[v]),modal:s,branchNodes:f,branchRegistry:h,children:n})},`Dialog`),C=`DialogTrigger`,w=p.forwardRef(g(function(e,r){let{__scopeDialog:i,...o}=e,s=x(C,i),c=t.a(r,s.triggerRef);return(0,m.jsx)(n.t.button,{type:`button`,"aria-haspopup":`dialog`,"aria-expanded":s.open,"aria-controls":s.open?s.contentId:void 0,"data-state":U(s.open),...o,ref:c,onClick:a.t(e.onClick,s.onOpenToggle)})},`DialogTrigger`)),T=`DialogPortal`,[E,D]=v(T,{forceMount:void 0}),O=g(e=>{let{__scopeDialog:t,forceMount:n,children:r,container:i}=e,a=x(T,t);return(0,m.jsx)(E,{scope:t,forceMount:n,children:p.Children.map(r,e=>(0,m.jsx)(s.t,{present:n||a.open,children:(0,m.jsx)(d.t,{asChild:!0,container:i,children:e})}))})},`DialogPortal`),k=`DialogOverlay`,A=p.forwardRef(g(function(e,t){let n=D(k,e.__scopeDialog),{forceMount:r=n.forceMount,...i}=e,a=x(k,e.__scopeDialog);return a.modal?(0,m.jsx)(s.t,{present:r||a.open,children:(0,m.jsx)(M,{...i,ref:t})}):null},`DialogOverlay`)),j=t.n(`DialogOverlay.RemoveScroll`),M=p.forwardRef(g(function(e,r){let{__scopeDialog:i,...a}=e,o=x(k,i),s=t.a(r,l.r());return(0,m.jsx)(f.n,{as:j,allowPinchZoom:!0,shards:p.useMemo(()=>[o.contentRef,...o.branchNodes.map(e=>({current:e}))],[o.contentRef,o.branchNodes]),children:(0,m.jsx)(n.t.div,{"data-state":U(o.open),...a,ref:s,style:{pointerEvents:`auto`,...a.style}})})},`DialogOverlayImpl`)),N=`DialogContent`,P=p.forwardRef(g(function(e,t){let n=D(N,e.__scopeDialog),{forceMount:r=n.forceMount,...i}=e,a=x(N,e.__scopeDialog);return(0,m.jsx)(s.t,{present:r||a.open,children:a.modal?(0,m.jsx)(F,{...i,ref:t}):(0,m.jsx)(I,{...i,ref:t})})},`DialogContent`)),F=p.forwardRef(g(function(e,n){let r=x(N,e.__scopeDialog),i=p.useRef(null),o=t.a(n,r.contentRef,i);return p.useEffect(()=>{let e=i.current;if(e)return f.t(e)},[]),(0,m.jsx)(L,{...e,ref:o,trapFocus:r.open,disableOutsidePointerEvents:r.open,onCloseAutoFocus:a.t(e.onCloseAutoFocus,e=>{e.preventDefault(),r.triggerRef.current?.focus()}),onPointerDownOutside:a.t(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,n=t.button===0&&t.ctrlKey===!0;(t.button===2||n)&&e.preventDefault()}),onFocusOutside:a.t(e.onFocusOutside,e=>e.preventDefault())})},`DialogContentModal`)),I=p.forwardRef(g(function(e,t){let n=x(N,e.__scopeDialog),r=p.useRef(!1),i=p.useRef(!1);return(0,m.jsx)(L,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{e.onCloseAutoFocus?.(t),t.defaultPrevented||(r.current||n.triggerRef.current?.focus(),t.preventDefault()),r.current=!1,i.current=!1},onInteractOutside:t=>{e.onInteractOutside?.(t),t.defaultPrevented||(r.current=!0,t.detail.originalEvent.type===`pointerdown`&&(i.current=!0));let a=t.target;n.triggerRef.current?.contains(a)&&t.preventDefault(),t.detail.originalEvent.type===`focusin`&&i.current&&t.preventDefault()}})},`DialogContentNonModal`)),L=p.forwardRef(g(function(e,t){let{__scopeDialog:n,trapFocus:r,onOpenAutoFocus:i,onCloseAutoFocus:a,"aria-describedby":o,children:s,...c}=e,d=x(N,n);return f.r(),(0,m.jsx)(u.n,{registry:d.branchRegistry,children:(0,m.jsx)(u.t,{asChild:!0,loop:!0,trapped:r,branches:d.branchNodes,onMountAutoFocus:i,onUnmountAutoFocus:a,children:(0,m.jsx)(l.t,{role:`dialog`,id:d.contentId,"aria-labelledby":d.titlePresent?d.titleId:void 0,"aria-describedby":d.descriptionPresent?H(o,d.descriptionId):o,"data-state":U(d.open),...c,ref:t,deferPointerDownOutside:!0,onDismiss:()=>d.onOpenChange(!1),children:s})})})},`DialogContentImpl`)),R=p.forwardRef(g(function(e,t){let{__scopeDialog:r,...a}=e,o=x(`DialogTitle`,r),{setTitleCount:s}=o;return i.t(()=>(s(e=>e+1),()=>s(e=>e-1)),[s]),(0,m.jsx)(n.t.h2,{id:o.titleId,...a,ref:t})},`DialogTitle`)),z=p.forwardRef(g(function(e,t){let{__scopeDialog:r,...a}=e,o=x(`DialogDescription`,r),{setDescriptionCount:s}=o;return i.t(()=>(s(e=>e+1),()=>s(e=>e-1)),[s]),(0,m.jsx)(n.t.p,{id:o.descriptionId,...a,ref:t})},`DialogDescription`)),B=`DialogClose`,V=p.forwardRef(g(function(e,t){let{__scopeDialog:r,...i}=e,o=x(B,r);return(0,m.jsx)(n.t.button,{type:`button`,...i,ref:t,onClick:a.t(e.onClick,()=>o.onOpenChange(!1))})},`DialogClose`));function H(...e){let t=new Set;for(let n of e)if(typeof n==`string`)for(let e of String(n).trim().split(/\s+/))e&&t.add(e);return t.size>0?Array.from(t).join(` `):void 0}g(H,`concatAriaDescribedby`);function U(e){return e?`open`:`closed`}g(U,`getState`),Object.defineProperty(exports,"a",{enumerable:!0,get:function(){return A}}),Object.defineProperty(exports,"c",{enumerable:!0,get:function(){return w}}),Object.defineProperty(exports,"i",{enumerable:!0,get:function(){return z}}),Object.defineProperty(exports,"l",{enumerable:!0,get:function(){return y}}),Object.defineProperty(exports,"n",{enumerable:!0,get:function(){return V}}),Object.defineProperty(exports,"o",{enumerable:!0,get:function(){return O}}),Object.defineProperty(exports,"r",{enumerable:!0,get:function(){return P}}),Object.defineProperty(exports,"s",{enumerable:!0,get:function(){return R}}),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return S}});
@@ -1,6 +1,6 @@
1
- import { t as e } from "./dist-D7UHN1DJ.mjs";
1
+ import { t as e } from "./dist-GazS1kfR.mjs";
2
2
  import * as t from "react";
3
- //#region ../../node_modules/.bun/@radix-ui+react-presence@1.1.10+2b23df507bdda662/node_modules/@radix-ui/react-presence/dist/index.mjs
3
+ //#region ../../node_modules/.bun/@radix-ui+react-presence@1.1.11+b146eb580f4286be/node_modules/@radix-ui/react-presence/dist/index.mjs
4
4
  var n = Object.defineProperty, r = (e, t) => n(e, "name", {
5
5
  value: t,
6
6
  configurable: !0