@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,145 +1,173 @@
1
1
  import { t as e } from "./dist-Dm3IQk5b.mjs";
2
- import { a as t } from "./dist-8fYwoWd4.mjs";
3
- import { n, t as r } from "./dist-BQhMregZ.mjs";
4
- import { t as i } from "./dist-BIXhHahX.mjs";
5
- import { t as a } from "./dist-DMwCTE2i.mjs";
6
- import { t as o } from "./dist-DOoZ3vGL.mjs";
7
- import { t as s } from "./dist-DyMv0xk8.mjs";
8
- import { t as c } from "./dist-D7UHN1DJ.mjs";
9
- import { t as l } from "./dist-BUXpRW9O.mjs";
10
- import { t as u } from "./dist-Dg9ASyqI.mjs";
11
- import { t as d } from "./dist-CBsYNwXz.mjs";
12
- import { n as f } from "./dist-dMp9dzmY.mjs";
13
- import { t as p } from "./dist-BPhn-EOy.mjs";
14
- import { n as m } from "./dist-CYrqAnIr.mjs";
15
- import { t as h } from "./dist-Bivv8B6p.mjs";
2
+ import { a as t, r as n } from "./dist-Dq-h6VAy.mjs";
3
+ import { n as r, t as i } from "./dist-BEbV0Hal.mjs";
4
+ import { n as a } from "./dist-B057I8ju.mjs";
5
+ import { t as o } from "./dist-CPAF050o.mjs";
6
+ import { t as s } from "./dist-GazS1kfR.mjs";
7
+ import { t as c } from "./dist-OqDzLHTa.mjs";
8
+ import { t as l } from "./dist-BB78QQyQ.mjs";
9
+ import { t as u } from "./dist-Bvfb4y_L.mjs";
10
+ import { t as d } from "./dist-CpKLY_uZ.mjs";
11
+ import { t as f } from "./dist-UkWa-Arh.mjs";
12
+ import { n as p } from "./dist-BbI6NHqR.mjs";
13
+ import { t as m } from "./dist-BPL7gUpg.mjs";
14
+ import { t as h } from "./dist-s7ibhASj.mjs";
16
15
  import { ChevronDownIcon as g } from "lucide-react";
17
16
  import * as _ from "react";
18
17
  import * as v from "react-dom";
19
18
  import { Fragment as y, jsx as b, jsxs as x } from "react/jsx-runtime";
20
19
  import { cva as S } from "class-variance-authority";
21
- //#region ../../node_modules/.bun/@radix-ui+react-navigation-menu@1.2.22+2b23df507bdda662/node_modules/@radix-ui/react-navigation-menu/dist/index.mjs
20
+ //#region ../../node_modules/.bun/@radix-ui+react-use-previous@1.1.4+c841d34b494ec30a/node_modules/@radix-ui/react-use-previous/dist/index.mjs
22
21
  var C = Object.defineProperty, w = (e, t) => C(e, "name", {
23
22
  value: t,
24
23
  configurable: !0
25
- }), T = "NavigationMenu", [E, D, O] = o(T), [k, A, j] = o(T), [M, ee] = a(T, [O, j]), [te, N] = M(T), [ne, re] = M(T), ie = /* @__PURE__ */ _.forwardRef(/* @__PURE__ */ w(function(e, n) {
26
- let { __scopeNavigationMenu: i, value: a, onValueChange: o, defaultValue: s, delayDuration: c = 200, skipDelayDuration: u = 300, orientation: d = "horizontal", dir: p, ...m } = e, [h, g] = _.useState(null), v = t(n, g), y = f(p), x = _.useRef(0), S = _.useRef(0), C = _.useRef(0), [E, D] = _.useState(!0), [O, k] = l({
24
+ });
25
+ function T(e) {
26
+ let t = _.useRef({
27
+ value: e,
28
+ previous: e
29
+ });
30
+ return _.useMemo(() => (t.current.value !== e && (t.current.previous = t.current.value, t.current.value = e), t.current.previous), [e]);
31
+ }
32
+ w(T, "usePrevious");
33
+ //#endregion
34
+ //#region ../../node_modules/.bun/@radix-ui+react-navigation-menu@1.4.1+b146eb580f4286be/node_modules/@radix-ui/react-navigation-menu/dist/index.mjs
35
+ var E = Object.defineProperty, D = (e, t) => E(e, "name", {
36
+ value: t,
37
+ configurable: !0
38
+ }), O = {
39
+ Automatic: "automatic",
40
+ Manual: "manual"
41
+ }, ee = {
42
+ Vertical: "vertical",
43
+ Horizontal: "horizontal"
44
+ }, k = {
45
+ LTR: "ltr",
46
+ RTL: "rtl"
47
+ }, A = "NavigationMenu", [j, M, N] = c(A), [P, te, ne] = c(A), [F, re] = o(A, [N, ne]), [ie, I] = F(A), [ae, oe] = F(A), se = /* @__PURE__ */ _.forwardRef(/* @__PURE__ */ D(function(e, n) {
48
+ let { __scopeNavigationMenu: r, value: a, onValueChange: o, defaultValue: s, delayDuration: c = 200, skipDelayDuration: l = 300, orientation: d = ee.Horizontal, dir: f, activationMode: m = O.Automatic, ...h } = e, [g, v] = _.useState(null), y = t(n, v), x = p(f), S = _.useRef(0), C = _.useRef(0), w = _.useRef(0), [T, E] = _.useState(!0), [k, j] = u({
27
49
  prop: a,
28
- onChange: /* @__PURE__ */ w((e) => {
29
- let t = e !== "", n = u > 0;
30
- t ? (window.clearTimeout(C.current), n && D(!1)) : (window.clearTimeout(C.current), C.current = window.setTimeout(() => D(!0), u)), o?.(e);
50
+ onChange: /* @__PURE__ */ D((e) => {
51
+ let t = e !== "", n = l > 0;
52
+ t ? (window.clearTimeout(w.current), n && E(!1)) : (window.clearTimeout(w.current), w.current = window.setTimeout(() => E(!0), l)), o?.(e);
31
53
  }, "onChange"),
32
54
  defaultProp: s ?? "",
33
- caller: T
34
- }), A = _.useCallback(() => {
35
- window.clearTimeout(S.current), S.current = window.setTimeout(() => k(""), 150);
36
- }, [k]), j = _.useCallback((e) => {
37
- window.clearTimeout(S.current), k(e);
38
- }, [k]), M = _.useCallback((e) => {
39
- O === e ? window.clearTimeout(S.current) : x.current = window.setTimeout(() => {
40
- window.clearTimeout(S.current), k(e);
55
+ caller: A
56
+ }), M = _.useCallback(() => {
57
+ window.clearTimeout(C.current), C.current = window.setTimeout(() => j(""), 150);
58
+ }, [j]), N = _.useCallback((e) => {
59
+ window.clearTimeout(C.current), j(e);
60
+ }, [j]), P = _.useCallback((e) => {
61
+ k === e ? window.clearTimeout(C.current) : S.current = window.setTimeout(() => {
62
+ window.clearTimeout(C.current), j(e);
41
63
  }, c);
42
64
  }, [
43
- O,
44
65
  k,
66
+ j,
45
67
  c
46
68
  ]);
47
69
  return _.useEffect(() => () => {
48
- window.clearTimeout(x.current), window.clearTimeout(S.current), window.clearTimeout(C.current);
49
- }, []), /* @__PURE__ */ b(ae, {
50
- scope: i,
70
+ window.clearTimeout(S.current), window.clearTimeout(C.current), window.clearTimeout(w.current);
71
+ }, []), /* @__PURE__ */ b(ce, {
72
+ scope: r,
51
73
  isRootMenu: !0,
52
- value: O,
53
- dir: y,
74
+ value: k,
75
+ dir: x,
54
76
  orientation: d,
55
- rootNavigationMenu: h,
77
+ activationMode: m,
78
+ rootNavigationMenu: g,
56
79
  onTriggerEnter: (e) => {
57
- window.clearTimeout(x.current), E ? M(e) : j(e);
80
+ m === O.Automatic && (window.clearTimeout(S.current), T ? P(e) : N(e));
58
81
  },
59
82
  onTriggerLeave: () => {
60
- window.clearTimeout(x.current), A();
83
+ m === O.Automatic && (window.clearTimeout(S.current), M());
84
+ },
85
+ onContentEnter: () => {
86
+ m === O.Automatic && window.clearTimeout(C.current);
87
+ },
88
+ onContentLeave: () => {
89
+ m === O.Automatic && M();
61
90
  },
62
- onContentEnter: () => window.clearTimeout(S.current),
63
- onContentLeave: A,
64
91
  onItemSelect: (e) => {
65
- k((t) => t === e ? "" : e);
92
+ j((t) => t === e ? "" : e);
66
93
  },
67
- onItemDismiss: () => k(""),
68
- children: /* @__PURE__ */ b(r.nav, {
94
+ onItemDismiss: () => j(""),
95
+ children: /* @__PURE__ */ b(i.nav, {
69
96
  "aria-label": "Main",
70
97
  "data-orientation": d,
71
- dir: y,
72
- ...m,
73
- ref: v
98
+ dir: x,
99
+ ...h,
100
+ ref: y
74
101
  })
75
102
  });
76
- }, "NavigationMenu")), ae = /* @__PURE__ */ w((e) => {
77
- let { scope: t, isRootMenu: n, rootNavigationMenu: r, dir: i, orientation: a, children: o, value: s, onItemSelect: c, onItemDismiss: l, onTriggerEnter: u, onTriggerLeave: f, onContentEnter: m, onContentLeave: g } = e, [v, y] = _.useState(null), [x, S] = _.useState(/* @__PURE__ */ new Map()), [C, w] = _.useState(null);
78
- return /* @__PURE__ */ b(te, {
103
+ }, "NavigationMenu")), ce = /* @__PURE__ */ D((e) => {
104
+ let { scope: t, isRootMenu: n, rootNavigationMenu: r, dir: i, orientation: a, activationMode: o, children: s, value: c, onItemSelect: l, onItemDismiss: u, onTriggerEnter: d, onTriggerLeave: p, onContentEnter: h, onContentLeave: g } = e, [v, y] = _.useState(null), [x, S] = _.useState(/* @__PURE__ */ new Map()), [C, w] = _.useState(null);
105
+ return /* @__PURE__ */ b(ie, {
79
106
  scope: t,
80
107
  isRootMenu: n,
81
108
  rootNavigationMenu: r,
82
- value: s,
83
- previousValue: h(s),
84
- baseId: d(),
109
+ value: c,
110
+ previousValue: T(c),
111
+ baseId: f(),
85
112
  dir: i,
86
113
  orientation: a,
114
+ activationMode: o,
87
115
  viewport: v,
88
116
  onViewportChange: y,
89
117
  indicatorTrack: C,
90
118
  onIndicatorTrackChange: w,
91
- onTriggerEnter: p(u),
92
- onTriggerLeave: p(f),
93
- onContentEnter: p(m),
94
- onContentLeave: p(g),
95
- onItemSelect: p(c),
96
- onItemDismiss: p(l),
119
+ onTriggerEnter: m(d),
120
+ onTriggerLeave: m(p),
121
+ onContentEnter: m(h),
122
+ onContentLeave: m(g),
123
+ onItemSelect: m(l),
124
+ onItemDismiss: m(u),
97
125
  onViewportContentChange: _.useCallback((e, t) => {
98
126
  S((n) => (n.set(e, t), new Map(n)));
99
127
  }, []),
100
128
  onViewportContentRemove: _.useCallback((e) => {
101
129
  S((t) => t.has(e) ? (t.delete(e), new Map(t)) : t);
102
130
  }, []),
103
- children: /* @__PURE__ */ b(E.Provider, {
131
+ children: /* @__PURE__ */ b(j.Provider, {
104
132
  scope: t,
105
- children: /* @__PURE__ */ b(ne, {
133
+ children: /* @__PURE__ */ b(ae, {
106
134
  scope: t,
107
135
  items: x,
108
- children: o
136
+ children: s
109
137
  })
110
138
  })
111
139
  });
112
- }, "NavigationMenuProvider"), oe = "NavigationMenuList", se = /* @__PURE__ */ _.forwardRef(/* @__PURE__ */ w(function(e, t) {
113
- let { __scopeNavigationMenu: n, ...i } = e, a = N(oe, n), o = /* @__PURE__ */ b(r.ul, {
140
+ }, "NavigationMenuProvider"), le = "NavigationMenuList", ue = /* @__PURE__ */ _.forwardRef(/* @__PURE__ */ D(function(e, t) {
141
+ let { __scopeNavigationMenu: n, ...r } = e, a = I(le, n), o = /* @__PURE__ */ b(i.ul, {
114
142
  "data-orientation": a.orientation,
115
- ...i,
143
+ ...r,
116
144
  ref: t
117
145
  });
118
- return /* @__PURE__ */ b(r.div, {
146
+ return /* @__PURE__ */ b(i.div, {
119
147
  style: { position: "relative" },
120
148
  ref: a.onIndicatorTrackChange,
121
- children: /* @__PURE__ */ b(E.Slot, {
149
+ children: /* @__PURE__ */ b(j.Slot, {
122
150
  scope: n,
123
- children: a.isRootMenu ? /* @__PURE__ */ b(H, {
151
+ children: a.isRootMenu ? /* @__PURE__ */ b(we, {
124
152
  asChild: !0,
125
153
  children: o
126
154
  }) : o
127
155
  })
128
156
  });
129
- }, "NavigationMenuList")), [ce, P] = M("NavigationMenuItem"), le = /* @__PURE__ */ _.forwardRef(/* @__PURE__ */ w(function(e, t) {
130
- let { __scopeNavigationMenu: n, value: i, ...a } = e, o = d(), s = i || o || "LEGACY_REACT_AUTO_VALUE", c = _.useRef(null), l = _.useRef(null), u = _.useRef(null), f = _.useRef(() => {}), p = _.useRef(!1), m = _.useCallback((e = "start") => {
157
+ }, "NavigationMenuList")), [de, L] = F("NavigationMenuItem"), fe = /* @__PURE__ */ _.forwardRef(/* @__PURE__ */ D(function(e, t) {
158
+ let { __scopeNavigationMenu: n, value: r, ...a } = e, o = f(), s = r || o || "LEGACY_REACT_AUTO_VALUE", c = _.useRef(null), l = _.useRef(null), u = _.useRef(null), d = _.useRef(() => {}), p = _.useRef(!1), m = _.useCallback((e = "start") => {
131
159
  if (c.current) {
132
- f.current();
160
+ d.current();
133
161
  let t = G(c.current);
134
162
  t.length && K(e === "start" ? t : t.reverse());
135
163
  }
136
164
  }, []), h = _.useCallback(() => {
137
165
  if (c.current) {
138
166
  let e = G(c.current);
139
- e.length && (f.current = q(e));
167
+ e.length && (d.current = Oe(e));
140
168
  }
141
169
  }, []);
142
- return /* @__PURE__ */ b(ce, {
170
+ return /* @__PURE__ */ b(de, {
143
171
  scope: n,
144
172
  value: s,
145
173
  triggerRef: l,
@@ -150,49 +178,49 @@ var C = Object.defineProperty, w = (e, t) => C(e, "name", {
150
178
  onFocusProxyEnter: m,
151
179
  onRootContentClose: h,
152
180
  onContentFocusOutside: h,
153
- children: /* @__PURE__ */ b(r.li, {
181
+ children: /* @__PURE__ */ b(i.li, {
154
182
  ...a,
155
183
  ref: t
156
184
  })
157
185
  });
158
- }, "NavigationMenuItem")), F = "NavigationMenuTrigger", ue = /* @__PURE__ */ _.forwardRef(/* @__PURE__ */ w(function(e, n) {
159
- let { __scopeNavigationMenu: a, disabled: o, ...c } = e, l = N(F, e.__scopeNavigationMenu), u = P(F, e.__scopeNavigationMenu), d = _.useRef(null), f = t(d, u.triggerRef, n), p = X(l.baseId, u.value), m = Z(l.baseId, u.value), h = _.useRef(!1), g = _.useRef(!1), v = u.value === l.value;
160
- return /* @__PURE__ */ x(y, { children: [/* @__PURE__ */ b(E.ItemSlot, {
161
- scope: a,
186
+ }, "NavigationMenuItem")), R = "NavigationMenuTrigger", pe = /* @__PURE__ */ _.forwardRef(/* @__PURE__ */ D(function(e, n) {
187
+ let { __scopeNavigationMenu: r, disabled: o, ...s } = e, c = I(R, e.__scopeNavigationMenu), u = L(R, e.__scopeNavigationMenu), d = _.useRef(null), f = t(d, u.triggerRef, n), p = Y(c.baseId, u.value), m = X(c.baseId, u.value), h = _.useRef(!1), g = _.useRef(!1), v = u.value === c.value;
188
+ return /* @__PURE__ */ x(y, { children: [/* @__PURE__ */ b(j.ItemSlot, {
189
+ scope: r,
162
190
  value: u.value,
163
- children: /* @__PURE__ */ b(W, {
191
+ children: /* @__PURE__ */ b(De, {
164
192
  asChild: !0,
165
- children: /* @__PURE__ */ b(r.button, {
193
+ children: /* @__PURE__ */ b(i.button, {
166
194
  id: p,
167
195
  disabled: o,
168
196
  "data-disabled": o ? "" : void 0,
169
- "data-state": Y(v),
197
+ "data-state": J(v),
170
198
  "aria-expanded": v,
171
199
  "aria-controls": v ? m : void 0,
172
- ...c,
200
+ ...s,
173
201
  ref: f,
174
- onPointerEnter: s(e.onPointerEnter, () => {
202
+ onPointerEnter: l(e.onPointerEnter, () => {
175
203
  g.current = !1, u.wasEscapeCloseRef.current = !1;
176
204
  }),
177
- onPointerMove: s(e.onPointerMove, Q(() => {
178
- o || g.current || u.wasEscapeCloseRef.current || h.current || (l.onTriggerEnter(u.value), h.current = !0);
205
+ onPointerMove: l(e.onPointerMove, Z(() => {
206
+ o || g.current || u.wasEscapeCloseRef.current || h.current || (c.onTriggerEnter(u.value), h.current = !0);
179
207
  })),
180
- onPointerLeave: s(e.onPointerLeave, Q(() => {
181
- o || (l.onTriggerLeave(), h.current = !1);
208
+ onPointerLeave: l(e.onPointerLeave, Z(() => {
209
+ o || (c.onTriggerLeave(), h.current = !1);
182
210
  })),
183
- onClick: s(e.onClick, () => {
184
- l.onItemSelect(u.value), g.current = v;
211
+ onClick: l(e.onClick, () => {
212
+ c.onItemSelect(u.value), g.current = v;
185
213
  }),
186
- onKeyDown: s(e.onKeyDown, (e) => {
214
+ onKeyDown: l(e.onKeyDown, (e) => {
187
215
  let t = {
188
216
  horizontal: "ArrowDown",
189
- vertical: l.dir === "rtl" ? "ArrowLeft" : "ArrowRight"
190
- }[l.orientation];
217
+ vertical: c.dir === k.RTL ? "ArrowLeft" : "ArrowRight"
218
+ }[c.orientation];
191
219
  v && e.key === t && (u.onEntryKeyDown(), e.preventDefault());
192
220
  })
193
221
  })
194
222
  })
195
- }), v && /* @__PURE__ */ x(y, { children: [/* @__PURE__ */ b(i, {
223
+ }), v && /* @__PURE__ */ x(y, { children: [/* @__PURE__ */ b(a, {
196
224
  "aria-hidden": !0,
197
225
  tabIndex: 0,
198
226
  ref: u.focusProxyRef,
@@ -200,54 +228,54 @@ var C = Object.defineProperty, w = (e, t) => C(e, "name", {
200
228
  let t = u.contentRef.current, n = e.relatedTarget, r = n === d.current, i = t?.contains(n);
201
229
  (r || !i) && u.onFocusProxyEnter(r ? "start" : "end");
202
230
  }
203
- }), l.viewport && /* @__PURE__ */ b("span", { "aria-owns": m })] })] });
204
- }, "NavigationMenuTrigger")), I = "navigationMenu.linkSelect", de = /* @__PURE__ */ _.forwardRef(/* @__PURE__ */ w(function(e, t) {
205
- let { __scopeNavigationMenu: i, active: a, onSelect: o, ...c } = e;
206
- return /* @__PURE__ */ b(W, {
231
+ }), c.viewport && /* @__PURE__ */ b("span", { "aria-owns": m })] })] });
232
+ }, "NavigationMenuTrigger")), z = "navigationMenu.linkSelect", me = /* @__PURE__ */ _.forwardRef(/* @__PURE__ */ D(function(e, t) {
233
+ let { __scopeNavigationMenu: n, active: a, onSelect: o, ...s } = e;
234
+ return /* @__PURE__ */ b(De, {
207
235
  asChild: !0,
208
- children: /* @__PURE__ */ b(r.a, {
236
+ children: /* @__PURE__ */ b(i.a, {
209
237
  "data-active": a ? "" : void 0,
210
238
  "aria-current": a ? "page" : void 0,
211
- ...c,
239
+ ...s,
212
240
  ref: t,
213
- onClick: s(e.onClick, (e) => {
214
- let t = e.target, r = new CustomEvent(I, {
241
+ onClick: l(e.onClick, (e) => {
242
+ let t = e.target, n = new CustomEvent(z, {
215
243
  bubbles: !0,
216
244
  cancelable: !0
217
245
  });
218
- t.addEventListener(I, (e) => o?.(e), { once: !0 }), n(t, r), !r.defaultPrevented && !e.metaKey && n(t, new CustomEvent(z, {
246
+ t.addEventListener(z, (e) => o?.(e), { once: !0 }), r(t, n), !n.defaultPrevented && !e.metaKey && r(t, new CustomEvent(H, {
219
247
  bubbles: !0,
220
248
  cancelable: !0
221
249
  }));
222
250
  }, { checkForDefaultPrevented: !1 })
223
251
  })
224
252
  });
225
- }, "NavigationMenuLink")), L = "NavigationMenuIndicator", fe = /* @__PURE__ */ _.forwardRef(/* @__PURE__ */ w(function(e, t) {
226
- let { forceMount: n, ...r } = e, i = N(L, e.__scopeNavigationMenu), a = !!i.value;
227
- return i.indicatorTrack ? v.createPortal(/* @__PURE__ */ b(u, {
253
+ }, "NavigationMenuLink")), B = "NavigationMenuIndicator", he = /* @__PURE__ */ _.forwardRef(/* @__PURE__ */ D(function(e, t) {
254
+ let { forceMount: n, ...r } = e, i = I(B, e.__scopeNavigationMenu), a = !!i.value;
255
+ return i.indicatorTrack ? v.createPortal(/* @__PURE__ */ b(d, {
228
256
  present: n || a,
229
- children: /* @__PURE__ */ b(pe, {
257
+ children: /* @__PURE__ */ b(ge, {
230
258
  ...r,
231
259
  ref: t
232
260
  })
233
261
  }), i.indicatorTrack) : null;
234
- }, "NavigationMenuIndicator")), pe = /* @__PURE__ */ _.forwardRef(/* @__PURE__ */ w(function(e, t) {
235
- let { __scopeNavigationMenu: n, ...i } = e, a = N(L, n), o = D(n), [s, c] = _.useState(null), [l, u] = _.useState(null), d = a.orientation === "horizontal", f = !!a.value;
262
+ }, "NavigationMenuIndicator")), ge = /* @__PURE__ */ _.forwardRef(/* @__PURE__ */ D(function(e, t) {
263
+ let { __scopeNavigationMenu: n, ...r } = e, a = I(B, n), o = M(n), [s, c] = _.useState(null), [l, u] = _.useState(null), d = a.orientation === ee.Horizontal, f = !!a.value;
236
264
  _.useEffect(() => {
237
265
  let e = o().find((e) => e.value === a.value)?.ref.current;
238
266
  e && c(e);
239
267
  }, [o, a.value]);
240
- let p = /* @__PURE__ */ w(() => {
268
+ let p = /* @__PURE__ */ D(() => {
241
269
  s && u({
242
270
  size: d ? s.offsetWidth : s.offsetHeight,
243
271
  offset: d ? s.offsetLeft : s.offsetTop
244
272
  });
245
273
  }, "handlePositionChange");
246
- return J(s, p), J(a.indicatorTrack, p), l ? /* @__PURE__ */ b(r.div, {
274
+ return q(s, p), q(a.indicatorTrack, p), l ? /* @__PURE__ */ b(i.div, {
247
275
  "aria-hidden": !0,
248
276
  "data-state": f ? "visible" : "hidden",
249
277
  "data-orientation": a.orientation,
250
- ...i,
278
+ ...r,
251
279
  ref: t,
252
280
  style: {
253
281
  position: "absolute",
@@ -262,11 +290,11 @@ var C = Object.defineProperty, w = (e, t) => C(e, "name", {
262
290
  transform: `translateY(${l.offset}px)`,
263
291
  "--radix-navigation-menu-indicator-translate-y": `${l.offset}px`
264
292
  },
265
- ...i.style
293
+ ...r.style
266
294
  }
267
295
  }) : null;
268
- }, "NavigationMenuIndicatorImpl")), R = "NavigationMenuContent", me = /* @__PURE__ */ _.forwardRef(/* @__PURE__ */ w(function(e, n) {
269
- let { forceMount: r, ...i } = e, a = N(R, e.__scopeNavigationMenu), o = P(R, e.__scopeNavigationMenu), c = t(o.contentRef, n), l = o.value === a.value, d = {
296
+ }, "NavigationMenuIndicatorImpl")), V = "NavigationMenuContent", _e = /* @__PURE__ */ _.forwardRef(/* @__PURE__ */ D(function(e, n) {
297
+ let { forceMount: r, ...i } = e, a = I(V, e.__scopeNavigationMenu), o = L(V, e.__scopeNavigationMenu), s = t(o.contentRef, n), c = o.value === a.value, u = J(c), f = {
270
298
  value: o.value,
271
299
  triggerRef: o.triggerRef,
272
300
  focusProxyRef: o.focusProxyRef,
@@ -275,27 +303,28 @@ var C = Object.defineProperty, w = (e, t) => C(e, "name", {
275
303
  onRootContentClose: o.onRootContentClose,
276
304
  ...i
277
305
  };
278
- return a.viewport ? /* @__PURE__ */ b(he, {
306
+ return a.viewport ? /* @__PURE__ */ b(ve, {
307
+ "data-state": u,
279
308
  forceMount: r,
280
- ...d,
281
- ref: c
282
- }) : /* @__PURE__ */ b(u, {
283
- present: r || l,
284
- children: /* @__PURE__ */ b(B, {
285
- "data-state": Y(l),
286
- ...d,
287
- ref: c,
288
- onPointerEnter: s(e.onPointerEnter, a.onContentEnter),
289
- onPointerLeave: s(e.onPointerLeave, Q(a.onContentLeave)),
309
+ ...f,
310
+ ref: s
311
+ }) : /* @__PURE__ */ b(d, {
312
+ present: r || c,
313
+ children: /* @__PURE__ */ b(U, {
314
+ "data-state": u,
315
+ ...f,
316
+ ref: s,
317
+ onPointerEnter: l(e.onPointerEnter, a.onContentEnter),
318
+ onPointerLeave: l(e.onPointerLeave, Z(a.onContentLeave)),
290
319
  style: {
291
- pointerEvents: !l && a.isRootMenu ? "none" : void 0,
292
- ...d.style
320
+ pointerEvents: !c && a.isRootMenu ? "none" : void 0,
321
+ ...f.style
293
322
  }
294
323
  })
295
324
  });
296
- }, "NavigationMenuContent")), he = /* @__PURE__ */ _.forwardRef(/* @__PURE__ */ w(function(e, t) {
297
- let { onViewportContentChange: n, onViewportContentRemove: r } = N(R, e.__scopeNavigationMenu);
298
- return c(() => {
325
+ }, "NavigationMenuContent")), ve = /* @__PURE__ */ _.forwardRef(/* @__PURE__ */ D(function(e, t) {
326
+ let { onViewportContentChange: n, onViewportContentRemove: r } = I(V, e.__scopeNavigationMenu);
327
+ return s(() => {
299
328
  n(e.value, {
300
329
  ref: t,
301
330
  ...e
@@ -304,31 +333,31 @@ var C = Object.defineProperty, w = (e, t) => C(e, "name", {
304
333
  e,
305
334
  t,
306
335
  n
307
- ]), c(() => () => r(e.value), [e.value, r]), null;
308
- }, "ViewportContentMounter")), z = "navigationMenu.rootContentDismiss", B = /* @__PURE__ */ _.forwardRef(/* @__PURE__ */ w(function(e, n) {
309
- let { __scopeNavigationMenu: r, value: i, triggerRef: a, focusProxyRef: o, wasEscapeCloseRef: c, onRootContentClose: l, onContentFocusOutside: u, ...d } = e, f = N(R, r), p = _.useRef(null), h = t(p, n), g = X(f.baseId, i), v = Z(f.baseId, i), y = D(r), x = _.useRef(null), { onItemDismiss: S } = f;
336
+ ]), s(() => () => r(e.value), [e.value, r]), null;
337
+ }, "ViewportContentMounter")), H = "navigationMenu.rootContentDismiss", U = /* @__PURE__ */ _.forwardRef(/* @__PURE__ */ D(function(e, n) {
338
+ let { __scopeNavigationMenu: r, value: i, triggerRef: a, focusProxyRef: o, wasEscapeCloseRef: s, onRootContentClose: c, onContentFocusOutside: u, ...d } = e, f = I(V, r), p = _.useRef(null), m = t(p, n), g = Y(f.baseId, i), v = X(f.baseId, i), y = M(r), x = _.useRef(null), { onItemDismiss: S } = f;
310
339
  return _.useEffect(() => {
311
340
  let e = p.current;
312
341
  if (f.isRootMenu && e) {
313
- let t = /* @__PURE__ */ w(() => {
314
- S(), l(), e.contains(document.activeElement) && a.current?.focus();
342
+ let t = /* @__PURE__ */ D(() => {
343
+ S(), c(), e.contains(document.activeElement) && a.current?.focus();
315
344
  }, "handleClose");
316
- return e.addEventListener(z, t), () => e.removeEventListener(z, t);
345
+ return e.addEventListener(H, t), () => e.removeEventListener(H, t);
317
346
  }
318
347
  }, [
319
348
  f.isRootMenu,
320
349
  e.value,
321
350
  a,
322
351
  S,
323
- l
324
- ]), /* @__PURE__ */ b(H, {
352
+ c
353
+ ]), /* @__PURE__ */ b(we, {
325
354
  asChild: !0,
326
- children: /* @__PURE__ */ b(m, {
355
+ children: /* @__PURE__ */ b(h, {
327
356
  id: v,
328
357
  "aria-labelledby": g,
329
358
  "data-motion": _.useMemo(() => {
330
359
  let e = y().map((e) => e.value);
331
- f.dir === "rtl" && e.reverse();
360
+ f.dir === k.RTL && e.reverse();
332
361
  let t = e.indexOf(f.value), n = e.indexOf(f.previousValue), r = i === f.value, a = n === e.indexOf(i);
333
362
  if (!r && !a) return x.current;
334
363
  let o = (() => {
@@ -348,123 +377,123 @@ var C = Object.defineProperty, w = (e, t) => C(e, "name", {
348
377
  ]),
349
378
  "data-orientation": f.orientation,
350
379
  ...d,
351
- ref: h,
380
+ ref: m,
352
381
  disableOutsidePointerEvents: !1,
353
382
  onDismiss: () => {
354
- let e = new Event(z, {
383
+ let e = new Event(H, {
355
384
  bubbles: !0,
356
385
  cancelable: !0
357
386
  });
358
387
  p.current?.dispatchEvent(e);
359
388
  },
360
- onFocusOutside: s(e.onFocusOutside, (e) => {
389
+ onFocusOutside: l(e.onFocusOutside, (e) => {
361
390
  u();
362
- let t = e.target;
363
- f.rootNavigationMenu?.contains(t) && e.preventDefault();
391
+ let t = e.target, n = e.detail.originalEvent.relatedTarget, r = f.rootNavigationMenu?.contains(t), i = f.rootNavigationMenu?.contains(n);
392
+ (r || !i) && e.preventDefault();
364
393
  }),
365
- onPointerDownOutside: s(e.onPointerDownOutside, (e) => {
394
+ onPointerDownOutside: l(e.onPointerDownOutside, (e) => {
366
395
  let t = e.target, n = y().some((e) => e.ref.current?.contains(t)), r = f.isRootMenu && f.viewport?.contains(t);
367
396
  (n || r || !f.isRootMenu) && e.preventDefault();
368
397
  }),
369
- onKeyDown: s(e.onKeyDown, (e) => {
398
+ onKeyDown: l(e.onKeyDown, (e) => {
370
399
  let t = e.altKey || e.ctrlKey || e.metaKey;
371
400
  if (e.key === "Tab" && !t) {
372
401
  let t = G(e.currentTarget), n = document.activeElement, r = t.findIndex((e) => e === n);
373
402
  K(e.shiftKey ? t.slice(0, r).reverse() : t.slice(r + 1, t.length)) ? e.preventDefault() : o.current?.focus();
374
403
  }
375
404
  }),
376
- onEscapeKeyDown: s(e.onEscapeKeyDown, (e) => {
377
- c.current = !0;
405
+ onEscapeKeyDown: l(e.onEscapeKeyDown, (e) => {
406
+ s.current = !0;
378
407
  })
379
408
  })
380
409
  });
381
- }, "NavigationMenuContentImpl")), V = "NavigationMenuViewport", ge = /* @__PURE__ */ _.forwardRef(/* @__PURE__ */ w(function(e, t) {
382
- let { forceMount: n, ...r } = e, i = !!N(V, e.__scopeNavigationMenu).value;
383
- return /* @__PURE__ */ b(u, {
410
+ }, "NavigationMenuContentImpl")), W = "NavigationMenuViewport", ye = n(W), be = /* @__PURE__ */ _.forwardRef(/* @__PURE__ */ D(function(e, t) {
411
+ let { forceMount: n, ...r } = e, i = !!I(W, e.__scopeNavigationMenu).value;
412
+ return /* @__PURE__ */ b(d, {
384
413
  present: n || i,
385
- children: /* @__PURE__ */ b(_e, {
414
+ children: /* @__PURE__ */ b(xe, {
386
415
  ...r,
387
416
  ref: t
388
417
  })
389
418
  });
390
- }, "NavigationMenuViewport")), _e = /* @__PURE__ */ _.forwardRef(/* @__PURE__ */ w(function(e, n) {
391
- let { __scopeNavigationMenu: i, children: a, ...o } = e, c = N(V, i), l = t(n, c.onViewportChange), d = re(R, e.__scopeNavigationMenu), [f, p] = _.useState(null), [m, h] = _.useState(null), g = f ? f?.width + "px" : void 0, v = f ? f?.height + "px" : void 0, y = !!c.value, x = y ? c.value : c.previousValue;
392
- return J(m, /* @__PURE__ */ w(() => {
419
+ }, "NavigationMenuViewport")), xe = /* @__PURE__ */ _.forwardRef(/* @__PURE__ */ D(function(e, n) {
420
+ let { __scopeNavigationMenu: r, children: a, ...o } = e, s = I(W, r), c = t(n, s.onViewportChange), u = oe(V, e.__scopeNavigationMenu), [f, p] = _.useState(null), [m, h] = _.useState(null), g = f ? f?.width + "px" : void 0, v = f ? f?.height + "px" : void 0, y = !!s.value, S = y ? s.value : s.previousValue;
421
+ return q(m, /* @__PURE__ */ D(() => {
393
422
  m && p({
394
423
  width: m.offsetWidth,
395
424
  height: m.offsetHeight
396
425
  });
397
- }, "handleSizeChange")), /* @__PURE__ */ b(r.div, {
398
- "data-state": Y(y),
399
- "data-orientation": c.orientation,
426
+ }, "handleSizeChange")), /* @__PURE__ */ x(i.div, {
427
+ "data-state": J(y),
428
+ "data-orientation": s.orientation,
400
429
  ...o,
401
- ref: l,
430
+ ref: c,
402
431
  style: {
403
- pointerEvents: !y && c.isRootMenu ? "none" : void 0,
432
+ pointerEvents: !y && s.isRootMenu ? "none" : void 0,
404
433
  "--radix-navigation-menu-viewport-width": g,
405
434
  "--radix-navigation-menu-viewport-height": v,
406
435
  ...o.style
407
436
  },
408
- onPointerEnter: s(e.onPointerEnter, c.onContentEnter),
409
- onPointerLeave: s(e.onPointerLeave, Q(c.onContentLeave)),
410
- children: Array.from(d.items).map(([e, { ref: t, forceMount: n, ...r }]) => {
411
- let i = x === e;
412
- return /* @__PURE__ */ b(u, {
437
+ onPointerEnter: l(e.onPointerEnter, s.onContentEnter),
438
+ onPointerLeave: l(e.onPointerLeave, Z(s.onContentLeave)),
439
+ children: [/* @__PURE__ */ b(ye, { children: a }), Array.from(u.items).map(([e, { ref: t, forceMount: n, ...r }]) => {
440
+ let i = S === e;
441
+ return /* @__PURE__ */ b(d, {
413
442
  present: n || i,
414
- children: /* @__PURE__ */ b(ve, {
443
+ children: /* @__PURE__ */ b(Se, {
415
444
  ...r,
416
445
  contentRef: t,
417
446
  isActive: i,
418
447
  onActiveContentChange: h
419
448
  })
420
449
  }, e);
421
- })
450
+ })]
422
451
  });
423
- }, "NavigationMenuViewportImpl")), ve = /* @__PURE__ */ w(({ contentRef: e, isActive: n, onActiveContentChange: r, ...i }) => {
452
+ }, "NavigationMenuViewportImpl")), Se = /* @__PURE__ */ D(({ contentRef: e, isActive: n, onActiveContentChange: r, ...i }) => {
424
453
  let a = t(e, _.useCallback((e) => {
425
454
  n && e && r(e);
426
455
  }, [n, r]));
427
- return /* @__PURE__ */ b(B, {
456
+ return /* @__PURE__ */ b(U, {
428
457
  ...i,
429
458
  ref: a
430
459
  });
431
- }, "NavigationMenuViewportItem"), ye = "FocusGroup", H = /* @__PURE__ */ _.forwardRef(/* @__PURE__ */ w(function(e, t) {
432
- let { __scopeNavigationMenu: n, ...i } = e, a = N(ye, n);
433
- return /* @__PURE__ */ b(k.Provider, {
460
+ }, "NavigationMenuViewportItem"), Ce = "FocusGroup", we = /* @__PURE__ */ _.forwardRef(/* @__PURE__ */ D(function(e, t) {
461
+ let { __scopeNavigationMenu: n, ...r } = e, a = I(Ce, n);
462
+ return /* @__PURE__ */ b(P.Provider, {
434
463
  scope: n,
435
- children: /* @__PURE__ */ b(k.Slot, {
464
+ children: /* @__PURE__ */ b(P.Slot, {
436
465
  scope: n,
437
- children: /* @__PURE__ */ b(r.div, {
466
+ children: /* @__PURE__ */ b(i.div, {
438
467
  dir: a.dir,
439
- ...i,
468
+ ...r,
440
469
  ref: t
441
470
  })
442
471
  })
443
472
  });
444
- }, "FocusGroup")), U = [
473
+ }, "FocusGroup")), Te = [
445
474
  "ArrowRight",
446
475
  "ArrowLeft",
447
476
  "ArrowUp",
448
477
  "ArrowDown"
449
- ], be = "FocusGroupItem", W = /* @__PURE__ */ _.forwardRef(/* @__PURE__ */ w(function(e, t) {
450
- let { __scopeNavigationMenu: n, ...i } = e, a = A(n), o = N(be, n);
451
- return /* @__PURE__ */ b(k.ItemSlot, {
478
+ ], Ee = "FocusGroupItem", De = /* @__PURE__ */ _.forwardRef(/* @__PURE__ */ D(function(e, t) {
479
+ let { __scopeNavigationMenu: n, ...r } = e, a = te(n), o = I(Ee, n);
480
+ return /* @__PURE__ */ b(P.ItemSlot, {
452
481
  scope: n,
453
- children: /* @__PURE__ */ b(r.button, {
454
- ...i,
482
+ children: /* @__PURE__ */ b(i.button, {
483
+ ...r,
455
484
  ref: t,
456
- onKeyDown: s(e.onKeyDown, (e) => {
485
+ onKeyDown: l(e.onKeyDown, (e) => {
457
486
  if ([
458
487
  "Home",
459
488
  "End",
460
- ...U
489
+ ...Te
461
490
  ].includes(e.key)) {
462
491
  let t = a().map((e) => e.ref.current);
463
492
  if ([
464
- o.dir === "rtl" ? "ArrowRight" : "ArrowLeft",
493
+ o.dir === k.RTL ? "ArrowRight" : "ArrowLeft",
465
494
  "ArrowUp",
466
495
  "End"
467
- ].includes(e.key) && t.reverse(), U.includes(e.key)) {
496
+ ].includes(e.key) && t.reverse(), Te.includes(e.key)) {
468
497
  let n = t.indexOf(e.currentTarget);
469
498
  t = t.slice(n + 1);
470
499
  }
@@ -475,20 +504,20 @@ var C = Object.defineProperty, w = (e, t) => C(e, "name", {
475
504
  });
476
505
  }, "FocusGroupItem"));
477
506
  function G(e) {
478
- let t = [], n = document.createTreeWalker(e, NodeFilter.SHOW_ELEMENT, { acceptNode: /* @__PURE__ */ w((e) => {
507
+ let t = [], n = document.createTreeWalker(e, NodeFilter.SHOW_ELEMENT, { acceptNode: /* @__PURE__ */ D((e) => {
479
508
  let t = e.tagName === "INPUT" && e.type === "hidden";
480
509
  return e.disabled || e.hidden || t ? NodeFilter.FILTER_SKIP : e.tabIndex >= 0 ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;
481
510
  }, "acceptNode") });
482
511
  for (; n.nextNode();) t.push(n.currentNode);
483
512
  return t;
484
513
  }
485
- w(G, "getTabbableCandidates");
514
+ D(G, "getTabbableCandidates");
486
515
  function K(e) {
487
516
  let t = document.activeElement;
488
517
  return e.some((e) => e === t ? !0 : (e.focus(), document.activeElement !== t));
489
518
  }
490
- w(K, "focusFirst");
491
- function q(e) {
519
+ D(K, "focusFirst");
520
+ function Oe(e) {
492
521
  return e.forEach((e) => {
493
522
  e.dataset.tabindex = e.getAttribute("tabindex") || "", e.setAttribute("tabindex", "-1");
494
523
  }), () => {
@@ -498,10 +527,10 @@ function q(e) {
498
527
  });
499
528
  };
500
529
  }
501
- w(q, "removeFromTabOrder");
502
- function J(e, t) {
503
- let n = p(t);
504
- c(() => {
530
+ D(Oe, "removeFromTabOrder");
531
+ function q(e, t) {
532
+ let n = m(t);
533
+ s(() => {
505
534
  let t = 0;
506
535
  if (e) {
507
536
  let r = new ResizeObserver(() => {
@@ -513,54 +542,53 @@ function J(e, t) {
513
542
  }
514
543
  }, [e, n]);
515
544
  }
516
- w(J, "useResizeObserver");
517
- function Y(e) {
545
+ D(q, "useResizeObserver");
546
+ function J(e) {
518
547
  return e ? "open" : "closed";
519
548
  }
520
- w(Y, "getOpenState");
521
- function X(e, t) {
549
+ D(J, "getOpenState");
550
+ function Y(e, t) {
522
551
  return `${e}-trigger-${t}`;
523
552
  }
524
- w(X, "makeTriggerId");
525
- function Z(e, t) {
553
+ D(Y, "makeTriggerId");
554
+ function X(e, t) {
526
555
  return `${e}-content-${t}`;
527
556
  }
528
- w(Z, "makeContentId");
529
- function Q(e) {
557
+ D(X, "makeContentId");
558
+ function Z(e) {
530
559
  return (t) => t.pointerType === "mouse" ? e(t) : void 0;
531
560
  }
532
- w(Q, "whenMouse");
533
- var xe = ie, Se = se, Ce = le, we = ue, Te = de, Ee = fe, De = me, Oe = ge;
561
+ D(Z, "whenMouse");
534
562
  //#endregion
535
563
  //#region src/navigation-menu.tsx
536
564
  function ke({ className: t, children: n, viewport: r = !0, ...i }) {
537
- return /* @__PURE__ */ x(xe, {
565
+ return /* @__PURE__ */ x(se, {
538
566
  "data-slot": "navigation-menu",
539
567
  "data-viewport": r,
540
568
  className: e("group/navigation-menu relative flex max-w-max flex-1 items-center justify-center", t),
541
569
  ...i,
542
- children: [n, r && /* @__PURE__ */ b(Pe, {})]
570
+ children: [n, r && /* @__PURE__ */ b($, {})]
543
571
  });
544
572
  }
545
573
  function Ae({ className: t, ...n }) {
546
- return /* @__PURE__ */ b(Se, {
574
+ return /* @__PURE__ */ b(ue, {
547
575
  "data-slot": "navigation-menu-list",
548
576
  className: e("group flex flex-1 list-none items-center justify-center gap-0", t),
549
577
  ...n
550
578
  });
551
579
  }
552
580
  function je({ className: t, ...n }) {
553
- return /* @__PURE__ */ b(Ce, {
581
+ return /* @__PURE__ */ b(fe, {
554
582
  "data-slot": "navigation-menu-item",
555
583
  className: e("relative", t),
556
584
  ...n
557
585
  });
558
586
  }
559
- var $ = S("group/navigation-menu-trigger inline-flex h-9 w-max items-center justify-center rounded-lg px-2.5 py-1.5 text-sm font-medium transition-all outline-none hover:bg-muted focus:bg-muted focus-visible:ring-3 focus-visible:ring-ring/50 focus-visible:outline-1 disabled:pointer-events-none disabled:opacity-50 data-popup-open:bg-muted/50 data-popup-open:hover:bg-muted data-open:bg-muted/50 data-open:hover:bg-muted data-open:focus:bg-muted");
587
+ var Q = S("group/navigation-menu-trigger hover:bg-muted focus:bg-muted focus-visible:ring-ring/50 data-popup-open:bg-muted/50 data-popup-open:hover:bg-muted data-open:bg-muted/50 data-open:hover:bg-muted data-open:focus:bg-muted inline-flex h-9 w-max items-center justify-center rounded-lg px-2.5 py-1.5 text-sm font-medium transition-all outline-none focus-visible:ring-3 focus-visible:outline-1 disabled:pointer-events-none disabled:opacity-50");
560
588
  function Me({ className: t, children: n, ...r }) {
561
- return /* @__PURE__ */ x(we, {
589
+ return /* @__PURE__ */ x(pe, {
562
590
  "data-slot": "navigation-menu-trigger",
563
- className: e($(), "group", t),
591
+ className: e(Q(), "group", t),
564
592
  ...r,
565
593
  children: [
566
594
  n,
@@ -573,31 +601,31 @@ function Me({ className: t, children: n, ...r }) {
573
601
  });
574
602
  }
575
603
  function Ne({ className: t, ...n }) {
576
- return /* @__PURE__ */ b(De, {
604
+ return /* @__PURE__ */ b(_e, {
577
605
  "data-slot": "navigation-menu-content",
578
606
  className: e("group-data-[viewport=false]/navigation-menu:bg-popover group-data-[viewport=false]/navigation-menu:text-popover-foreground group-data-[viewport=false]/navigation-menu:ring-foreground/10 data-[motion=from-end]:slide-in-from-right-52 data-[motion=from-start]:slide-in-from-left-52 data-[motion=to-end]:slide-out-to-right-52 data-[motion=to-start]:slide-out-to-left-52 data-[motion^=from-]:animate-in data-[motion^=from-]:fade-in data-[motion^=to-]:animate-out data-[motion^=to-]:fade-out group-data-[viewport=false]/navigation-menu:data-open:animate-in group-data-[viewport=false]/navigation-menu:data-open:fade-in-0 group-data-[viewport=false]/navigation-menu:data-open:zoom-in-95 group-data-[viewport=false]/navigation-menu:data-closed:animate-out group-data-[viewport=false]/navigation-menu:data-closed:fade-out-0 group-data-[viewport=false]/navigation-menu:data-closed:zoom-out-95 start-0 top-0 w-full p-1 ease-[cubic-bezier(0.22,1,0.36,1)] group-data-[viewport=false]/navigation-menu:top-full group-data-[viewport=false]/navigation-menu:mt-1.5 group-data-[viewport=false]/navigation-menu:overflow-hidden group-data-[viewport=false]/navigation-menu:rounded-lg group-data-[viewport=false]/navigation-menu:shadow group-data-[viewport=false]/navigation-menu:ring-1 group-data-[viewport=false]/navigation-menu:duration-300 **:data-[slot=navigation-menu-link]:focus:ring-0 **:data-[slot=navigation-menu-link]:focus:outline-none md:absolute md:w-auto", t),
579
607
  ...n
580
608
  });
581
609
  }
582
- function Pe({ className: t, ...n }) {
610
+ function $({ className: t, ...n }) {
583
611
  return /* @__PURE__ */ b("div", {
584
612
  className: e("absolute start-0 top-full isolate z-50 flex justify-center"),
585
- children: /* @__PURE__ */ b(Oe, {
613
+ children: /* @__PURE__ */ b(be, {
586
614
  "data-slot": "navigation-menu-viewport",
587
615
  className: e("origin-top-center bg-popover text-popover-foreground ring-foreground/10 data-open:animate-in data-open:zoom-in-90 data-closed:animate-out data-closed:zoom-out-90 relative mt-1.5 h-(--radix-navigation-menu-viewport-height) w-full overflow-hidden rounded-lg shadow ring-1 duration-100 md:w-(--radix-navigation-menu-viewport-width)", t),
588
616
  ...n
589
617
  })
590
618
  });
591
619
  }
592
- function Fe({ className: t, ...n }) {
593
- return /* @__PURE__ */ b(Te, {
620
+ function Pe({ className: t, ...n }) {
621
+ return /* @__PURE__ */ b(me, {
594
622
  "data-slot": "navigation-menu-link",
595
623
  className: e("hover:bg-muted focus:bg-muted focus-visible:ring-ring/50 data-active:bg-muted/50 data-active:hover:bg-muted data-active:focus:bg-muted flex items-center gap-2 rounded-lg p-2 text-sm transition-all outline-none focus-visible:ring-3 focus-visible:outline-1 in-data-[slot=navigation-menu-content]:rounded-md [&_svg:not([class*='size-'])]:size-4", t),
596
624
  ...n
597
625
  });
598
626
  }
599
- function Ie({ className: t, ...n }) {
600
- return /* @__PURE__ */ b(Ee, {
627
+ function Fe({ className: t, ...n }) {
628
+ return /* @__PURE__ */ b(he, {
601
629
  "data-slot": "navigation-menu-indicator",
602
630
  className: e("data-[state=hidden]:animate-out data-[state=hidden]:fade-out data-[state=visible]:animate-in data-[state=visible]:fade-in top-full z-1 flex h-1.5 items-end justify-center overflow-hidden", t),
603
631
  ...n,
@@ -605,4 +633,4 @@ function Ie({ className: t, ...n }) {
605
633
  });
606
634
  }
607
635
  //#endregion
608
- export { Fe as a, Pe as c, je as i, $ as l, Ne as n, Ae as o, Ie as r, Me as s, ke as t };
636
+ export { Pe as a, $ as c, je as i, Q as l, Ne as n, Ae as o, Fe as r, Me as s, ke as t };