@gv-tech/ui-web 2.29.0 → 2.29.2

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 (550) hide show
  1. package/dist/__contracts.d.ts +0 -1
  2. package/dist/__contracts.d.ts.map +1 -1
  3. package/dist/accordion-Bd0-CZQn.js +1 -0
  4. package/dist/accordion-Cf6DNbLH.mjs +244 -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 -2
  9. package/dist/{alert-dialog-BkUyJb_F.mjs → alert-dialog-BxFH0Lwn.mjs} +73 -75
  10. package/dist/alert-dialog-C6vNmGBL.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 -2
  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 +4 -5
  19. package/dist/{aspect-ratio-C7oBX-p_.mjs → aspect-ratio-CdQevcDV.mjs} +4 -6
  20. package/dist/aspect-ratio-Z4Nkc56X.js +1 -0
  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 -2
  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 +5 -6
  29. package/dist/avatar-B5PWwGhY.mjs +136 -0
  30. package/dist/avatar-CFhYRM52.js +1 -0
  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 -2
  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 +6 -7
  39. package/dist/breadcrumb.cjs +1 -1
  40. package/dist/breadcrumb.d.ts.map +1 -1
  41. package/dist/breadcrumb.mjs +3 -6
  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 +6 -7
  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 +5 -7
  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 +5 -6
  54. package/dist/calendar-D5qgt2o2.js +1 -0
  55. package/dist/{calendar-CkHWa9Uu.mjs → calendar-DIqXNjOR.mjs} +732 -879
  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 -2
  60. package/dist/card.cjs +1 -1
  61. package/dist/card.d.ts.map +1 -1
  62. package/dist/card.mjs +2 -3
  63. package/dist/carousel-D-xEqRCX.js +1 -0
  64. package/dist/{carousel-ynaeMNIV.mjs → carousel-DPjWmM_A.mjs} +15 -19
  65. package/dist/carousel.cjs +1 -1
  66. package/dist/carousel.d.ts +3 -3
  67. package/dist/carousel.d.ts.map +1 -1
  68. package/dist/carousel.mjs +1 -2
  69. package/dist/chart.cjs +2 -2
  70. package/dist/chart.mjs +14 -15
  71. package/dist/{checkbox-BLvAEmRC.mjs → checkbox-DEPm1BBc.mjs} +70 -68
  72. package/dist/checkbox-DI9Hn_e_.js +1 -0
  73. package/dist/checkbox.cjs +1 -1
  74. package/dist/checkbox.d.ts +1 -1
  75. package/dist/checkbox.d.ts.map +1 -1
  76. package/dist/checkbox.mjs +1 -2
  77. package/dist/chunk-HBS6WEDP-D2-yWzIN.js +1 -0
  78. package/dist/{chunk-HBS6WEDP-CzyhzCaP.mjs → chunk-HBS6WEDP-DD8ZmxRM.mjs} +3 -4
  79. package/dist/collapsible.cjs +1 -1
  80. package/dist/collapsible.d.ts +4 -4
  81. package/dist/collapsible.d.ts.map +1 -1
  82. package/dist/collapsible.mjs +8 -9
  83. package/dist/combobox-C4y8AbZX.mjs +5644 -0
  84. package/dist/combobox-boXp-mix.js +3 -0
  85. package/dist/combobox.cjs +1 -1
  86. package/dist/combobox.d.ts.map +1 -1
  87. package/dist/combobox.mjs +1 -2
  88. package/dist/command-BnW6UIVk.js +1 -0
  89. package/dist/{command-DY6u8V0D.mjs → command-Cbsp7PBx.mjs} +121 -124
  90. package/dist/command.cjs +1 -1
  91. package/dist/command.d.ts +1 -1
  92. package/dist/command.d.ts.map +1 -1
  93. package/dist/command.mjs +1 -2
  94. package/dist/context-menu-CwsdFpx1.js +1 -0
  95. package/dist/{context-menu-tL6CY6a0.mjs → context-menu-FNgV55ZV.mjs} +137 -140
  96. package/dist/context-menu.cjs +1 -1
  97. package/dist/context-menu.d.ts +1 -1
  98. package/dist/context-menu.d.ts.map +1 -1
  99. package/dist/context-menu.mjs +1 -2
  100. package/dist/dialog.cjs +1 -1
  101. package/dist/dialog.d.ts +1 -1
  102. package/dist/dialog.d.ts.map +1 -1
  103. package/dist/dialog.mjs +3 -4
  104. package/dist/direction.cjs +1 -1
  105. package/dist/direction.d.ts +1 -1
  106. package/dist/direction.d.ts.map +1 -1
  107. package/dist/direction.mjs +2 -3
  108. package/dist/dist-7YyzJonC.mjs +39 -0
  109. package/dist/dist-AlmToDtO.mjs +17 -0
  110. package/dist/{dist-DyMv0xk8.mjs → dist-B76UOZbx.mjs} +1 -2
  111. package/dist/{dist-BQhMregZ.mjs → dist-B7Ph9-T6.mjs} +2 -3
  112. package/dist/dist-B7jnFMko.js +1 -0
  113. package/dist/{dist-CS572Be42.mjs → dist-BOiFyvyS.mjs} +1 -2
  114. package/dist/dist-BQkDLAY7.js +1 -0
  115. package/dist/dist-Bal96K8t.js +1 -0
  116. package/dist/dist-Blgp9lfa.js +1 -0
  117. package/dist/{dist-Dg9ASyqI.mjs → dist-BnlI08Je.mjs} +4 -4
  118. package/dist/{dist-5r7hQmO0.mjs → dist-Bu-uFV1C.mjs} +60 -56
  119. package/dist/dist-C2BHd5i1.mjs +460 -0
  120. package/dist/{dist-8fYwoWd4.mjs → dist-C516Vwxy.mjs} +23 -18
  121. package/dist/dist-CBlqVBTk.js +1 -0
  122. package/dist/dist-CDcZ8WMF.js +1 -0
  123. package/dist/dist-CDksSmTD.mjs +189 -0
  124. package/dist/dist-CF-qVmmV.js +1 -0
  125. package/dist/dist-CIgGRTmJ.js +1 -0
  126. package/dist/dist-CJqVmdrU.js +1 -0
  127. package/dist/{dist-DMwCTE2i.mjs → dist-COqM3IM6.mjs} +3 -4
  128. package/dist/{dist-CYrqAnIr.mjs → dist-CbWpCWog.mjs} +13 -15
  129. package/dist/{dist-rx5WaFf5.mjs → dist-CcGLWbPa.mjs} +3 -4
  130. package/dist/dist-Cn4F8XlY.mjs +220 -0
  131. package/dist/dist-CoTs6T03.js +1 -0
  132. package/dist/dist-Co_xSt6d.js +1 -0
  133. package/dist/{dist-CBsYNwXz.mjs → dist-Cu0GG-3j.mjs} +2 -3
  134. package/dist/{dist-BUXpRW9O.mjs → dist-DKI-XYwI.mjs} +3 -5
  135. package/dist/dist-DQeXXRYL.mjs +201 -0
  136. package/dist/dist-DW2ltK5-.js +1 -0
  137. package/dist/dist-DWcKY_sJ.js +1 -0
  138. package/dist/dist-DdAeWIwf.js +1 -0
  139. package/dist/dist-DhubV_gU.mjs +4 -0
  140. package/dist/dist-DmY7elIQ.js +1 -0
  141. package/dist/{dist-Dm3IQk5b.mjs → dist-DoWtzxYc.mjs} +234 -235
  142. package/dist/dist-DuQlxGyN.js +1 -0
  143. package/dist/dist-KFF7QKuL.js +1 -0
  144. package/dist/dist-RXrZgzkO.js +1 -0
  145. package/dist/dist-R_G5UQRm.js +1 -0
  146. package/dist/dist-dwRwxUPt.mjs +22 -0
  147. package/dist/dist-fzmUl3YX.mjs +553 -0
  148. package/dist/{dist-ByW6RHeZ.mjs → dist-hBsne-A2.mjs} +24 -26
  149. package/dist/{dist-BIXhHahX.mjs → dist-ljiGYyay.mjs} +4 -5
  150. package/dist/dist-pqMcQ1Nk.js +1 -0
  151. package/dist/dist-zmnQp5Xf.js +1 -0
  152. package/dist/drawer.cjs +1 -1
  153. package/dist/drawer.d.ts +1 -1
  154. package/dist/drawer.d.ts.map +1 -1
  155. package/dist/drawer.mjs +2 -3
  156. package/dist/dropdown-menu-ChuqZeix.js +1 -0
  157. package/dist/{dropdown-menu-BWqWoYis.mjs → dropdown-menu-DU7KNoXP.mjs} +131 -133
  158. package/dist/dropdown-menu.cjs +1 -1
  159. package/dist/dropdown-menu.d.ts +1 -1
  160. package/dist/dropdown-menu.d.ts.map +1 -1
  161. package/dist/dropdown-menu.mjs +1 -2
  162. package/dist/empty.cjs +1 -1
  163. package/dist/empty.d.ts +7 -7
  164. package/dist/empty.d.ts.map +1 -1
  165. package/dist/empty.mjs +3 -4
  166. package/dist/es2015-BooeZGhO.mjs +554 -0
  167. package/dist/es2015-Dggv0vx3.js +41 -0
  168. package/dist/field.cjs +1 -1
  169. package/dist/field.d.ts +12 -12
  170. package/dist/field.d.ts.map +1 -1
  171. package/dist/field.mjs +6 -8
  172. package/dist/{floating-ui.react-dom-CyupHsR6.mjs → floating-ui.react-dom-2hihjuTL.mjs} +12 -17
  173. package/dist/floating-ui.react-dom-BtFIezY4.js +1 -0
  174. package/dist/form.cjs +1 -1
  175. package/dist/form.d.ts +3 -3
  176. package/dist/form.d.ts.map +1 -1
  177. package/dist/form.mjs +19 -20
  178. package/dist/hooks/use-theme.d.ts +52 -52
  179. package/dist/hover-card-BeqCs_2R.js +1 -0
  180. package/dist/hover-card-w8PmCyw2.mjs +176 -0
  181. package/dist/hover-card.cjs +1 -1
  182. package/dist/hover-card.d.ts +1 -1
  183. package/dist/hover-card.d.ts.map +1 -1
  184. package/dist/hover-card.mjs +1 -2
  185. package/dist/index.cjs +1 -1
  186. package/dist/index.mjs +66 -66
  187. package/dist/input-group.cjs +1 -1
  188. package/dist/input-group.d.ts +3 -3
  189. package/dist/input-group.d.ts.map +1 -1
  190. package/dist/input-group.mjs +5 -11
  191. package/dist/{input-otp-m_BTudNY.mjs → input-otp-Bn_Uy1mR.mjs} +7 -18
  192. package/dist/input-otp-CTRB_0Xp.js +20 -0
  193. package/dist/input-otp.cjs +1 -1
  194. package/dist/input-otp.d.ts +1 -1
  195. package/dist/input-otp.d.ts.map +1 -1
  196. package/dist/input-otp.mjs +1 -2
  197. package/dist/input.cjs +1 -1
  198. package/dist/input.d.ts.map +1 -1
  199. package/dist/input.mjs +2 -3
  200. package/dist/item.cjs +1 -1
  201. package/dist/item.d.ts +2 -2
  202. package/dist/item.d.ts.map +1 -1
  203. package/dist/item.mjs +7 -9
  204. package/dist/kbd.cjs +1 -1
  205. package/dist/kbd.d.ts +2 -2
  206. package/dist/kbd.d.ts.map +1 -1
  207. package/dist/kbd.mjs +2 -3
  208. package/dist/{label-DVA-YKpB.mjs → label-Da0kELfR.mjs} +4 -6
  209. package/dist/label-JMa1tFfC.js +1 -0
  210. package/dist/label.cjs +1 -1
  211. package/dist/label.d.ts +1 -1
  212. package/dist/label.d.ts.map +1 -1
  213. package/dist/label.mjs +1 -2
  214. package/dist/marker.cjs +1 -1
  215. package/dist/marker.d.ts +1 -1
  216. package/dist/marker.d.ts.map +1 -1
  217. package/dist/marker.mjs +6 -7
  218. package/dist/menubar-B7sRxpE4.mjs +405 -0
  219. package/dist/menubar-Bd-QKMcw.js +1 -0
  220. package/dist/menubar.cjs +1 -1
  221. package/dist/menubar.d.ts +1 -1
  222. package/dist/menubar.d.ts.map +1 -1
  223. package/dist/menubar.mjs +1 -2
  224. package/dist/{message-scroller-FwdKclRM.mjs → message-scroller-B8AU0v3Y.mjs} +83 -102
  225. package/dist/message-scroller-BJb4Mh_I.js +1 -0
  226. package/dist/message-scroller.cjs +1 -1
  227. package/dist/message-scroller.d.ts +1 -1
  228. package/dist/message-scroller.d.ts.map +1 -1
  229. package/dist/message-scroller.mjs +1 -2
  230. package/dist/message.cjs +1 -1
  231. package/dist/message.d.ts.map +1 -1
  232. package/dist/message.mjs +2 -3
  233. package/dist/native-select.cjs +1 -1
  234. package/dist/native-select.d.ts.map +1 -1
  235. package/dist/native-select.mjs +2 -3
  236. package/dist/navigation-menu-B-RwfscB.mjs +638 -0
  237. package/dist/navigation-menu-kPwxYZCR.js +1 -0
  238. package/dist/navigation-menu.cjs +1 -1
  239. package/dist/navigation-menu.d.ts +1 -1
  240. package/dist/navigation-menu.d.ts.map +1 -1
  241. package/dist/navigation-menu.mjs +1 -2
  242. package/dist/pagination.cjs +1 -1
  243. package/dist/pagination.d.ts +2 -2
  244. package/dist/pagination.d.ts.map +1 -1
  245. package/dist/pagination.mjs +5 -5
  246. package/dist/popover-Cq5cTNtC.js +1 -0
  247. package/dist/popover-T6Ra737i.mjs +241 -0
  248. package/dist/popover.cjs +1 -1
  249. package/dist/popover.d.ts +1 -1
  250. package/dist/popover.d.ts.map +1 -1
  251. package/dist/popover.mjs +1 -2
  252. package/dist/{progress-ClcVCqjl.mjs → progress-e9YzxvRo.mjs} +15 -18
  253. package/dist/progress-iUSEI7J9.js +6 -0
  254. package/dist/progress.cjs +1 -1
  255. package/dist/progress.d.ts +1 -1
  256. package/dist/progress.d.ts.map +1 -1
  257. package/dist/progress.mjs +1 -2
  258. package/dist/{questionnaire-DKWcZeWT.mjs → questionnaire-BLCvUX1C.mjs} +153 -175
  259. package/dist/questionnaire-CcymIPae.js +1 -0
  260. package/dist/questionnaire.cjs +1 -1
  261. package/dist/questionnaire.d.ts +1 -1
  262. package/dist/questionnaire.d.ts.map +1 -1
  263. package/dist/questionnaire.mjs +1 -2
  264. package/dist/{radio-group-5VwmCXRK.mjs → radio-group-BKpiDcIb.mjs} +76 -77
  265. package/dist/radio-group-DPEzCmxe.js +1 -0
  266. package/dist/radio-group.cjs +1 -1
  267. package/dist/radio-group.mjs +1 -2
  268. package/dist/resizable-ByF0NmN9.mjs +2153 -0
  269. package/dist/resizable-oL3v42zT.js +1 -0
  270. package/dist/resizable.cjs +1 -1
  271. package/dist/resizable.d.ts +3 -3
  272. package/dist/resizable.mjs +1 -2
  273. package/dist/{chunk-BmowowmI.mjs → rolldown-runtime-D7yIeQp2.mjs} +2 -3
  274. package/dist/rolldown-runtime-DbbDpzbe.js +1 -0
  275. package/dist/scroll-area-BzNeOQ6C.mjs +568 -0
  276. package/dist/scroll-area-s4_ZJK59.js +1 -0
  277. package/dist/scroll-area.cjs +1 -1
  278. package/dist/scroll-area.d.ts +1 -1
  279. package/dist/scroll-area.d.ts.map +1 -1
  280. package/dist/scroll-area.mjs +1 -2
  281. package/dist/scroll-to-top.cjs +1 -1
  282. package/dist/scroll-to-top.d.ts.map +1 -1
  283. package/dist/scroll-to-top.mjs +13 -16
  284. package/dist/search.cjs +1 -1
  285. package/dist/search.d.ts.map +1 -1
  286. package/dist/search.mjs +12 -13
  287. package/dist/select-B_nRxX2Y.mjs +831 -0
  288. package/dist/select-j5_dph9S.js +1 -0
  289. package/dist/select.cjs +1 -1
  290. package/dist/select.d.ts +1 -1
  291. package/dist/select.d.ts.map +1 -1
  292. package/dist/select.mjs +1 -2
  293. package/dist/separator-Bn-3XUSJ.js +1 -0
  294. package/dist/separator-CCcMNS78.mjs +38 -0
  295. package/dist/separator.cjs +1 -1
  296. package/dist/separator.d.ts +1 -1
  297. package/dist/separator.d.ts.map +1 -1
  298. package/dist/separator.mjs +1 -2
  299. package/dist/sheet.cjs +1 -1
  300. package/dist/sheet.d.ts +1 -1
  301. package/dist/sheet.d.ts.map +1 -1
  302. package/dist/sheet.mjs +3 -4
  303. package/dist/{sidebar-B5q6nH2G.mjs → sidebar-C2ax_A0G.mjs} +50 -52
  304. package/dist/sidebar-Cnem2n5A.js +1 -0
  305. package/dist/sidebar.cjs +1 -1
  306. package/dist/sidebar.d.ts +1 -1
  307. package/dist/sidebar.d.ts.map +1 -1
  308. package/dist/sidebar.mjs +1 -2
  309. package/dist/skeleton.cjs +1 -1
  310. package/dist/skeleton.d.ts +1 -1
  311. package/dist/skeleton.d.ts.map +1 -1
  312. package/dist/skeleton.mjs +2 -3
  313. package/dist/slider-B2PUTc7W.mjs +484 -0
  314. package/dist/slider-wZuXwuib.js +1 -0
  315. package/dist/slider.cjs +1 -1
  316. package/dist/slider.d.ts +1 -1
  317. package/dist/slider.d.ts.map +1 -1
  318. package/dist/slider.mjs +1 -2
  319. package/dist/sonner.d.ts +1 -1
  320. package/dist/sonner.mjs +1 -2
  321. package/dist/spinner.cjs +1 -1
  322. package/dist/spinner.d.ts +2 -1
  323. package/dist/spinner.d.ts.map +1 -1
  324. package/dist/spinner.mjs +10 -7
  325. package/dist/support-fab.cjs +1 -1
  326. package/dist/support-fab.d.ts.map +1 -1
  327. package/dist/support-fab.mjs +21 -22
  328. package/dist/switch-CD675xU7.js +1 -0
  329. package/dist/{switch-DagjjAQu.mjs → switch-ikzIzrme.mjs} +66 -64
  330. package/dist/switch.cjs +1 -1
  331. package/dist/switch.d.ts +1 -1
  332. package/dist/switch.d.ts.map +1 -1
  333. package/dist/switch.mjs +1 -2
  334. package/dist/table-of-contents.cjs +1 -1
  335. package/dist/table-of-contents.d.ts +5 -10
  336. package/dist/table-of-contents.d.ts.map +1 -1
  337. package/dist/table-of-contents.mjs +6 -6
  338. package/dist/table.cjs +1 -1
  339. package/dist/table.d.ts.map +1 -1
  340. package/dist/table.mjs +2 -3
  341. package/dist/{tabs-OQ6rj-3B.mjs → tabs-DCm5zOYB.mjs} +73 -73
  342. package/dist/tabs-fcahDQDp.js +1 -0
  343. package/dist/tabs.cjs +1 -1
  344. package/dist/tabs.d.ts +1 -1
  345. package/dist/tabs.d.ts.map +1 -1
  346. package/dist/tabs.mjs +1 -2
  347. package/dist/text.cjs +1 -1
  348. package/dist/text.d.ts +1 -1
  349. package/dist/text.d.ts.map +1 -1
  350. package/dist/text.mjs +17 -15
  351. package/dist/textarea.cjs +1 -1
  352. package/dist/textarea.d.ts.map +1 -1
  353. package/dist/textarea.mjs +2 -3
  354. package/dist/theme-provider.d.ts +1 -1
  355. package/dist/theme-provider.d.ts.map +1 -1
  356. package/dist/theme-provider.mjs +1 -2
  357. package/dist/theme-toggle-BGTJsIA-.js +1 -0
  358. package/dist/{theme-toggle-BCcH-QtH.mjs → theme-toggle-BSMwXb8o.mjs} +29 -22
  359. package/dist/theme-toggle.cjs +1 -1
  360. package/dist/theme-toggle.d.ts +1 -1
  361. package/dist/theme-toggle.d.ts.map +1 -1
  362. package/dist/theme-toggle.mjs +1 -2
  363. package/dist/toast-C31v9P1K.js +1 -0
  364. package/dist/toast-vU5ISM03.mjs +445 -0
  365. package/dist/toast.cjs +1 -1
  366. package/dist/toast.d.ts +1 -1
  367. package/dist/toast.d.ts.map +1 -1
  368. package/dist/toast.mjs +1 -2
  369. package/dist/toaster-CaJyOCyC.js +1 -0
  370. package/dist/{toaster-CKAJ9cht.mjs → toaster-D2BV6jez.mjs} +3 -5
  371. package/dist/toaster.cjs +1 -1
  372. package/dist/toaster.d.ts +1 -1
  373. package/dist/toaster.d.ts.map +1 -1
  374. package/dist/toaster.mjs +1 -2
  375. package/dist/toggle-CSZdCCwX.js +1 -0
  376. package/dist/{toggle-CuLxBIWH.mjs → toggle-Cv9YYwLI.mjs} +14 -15
  377. package/dist/toggle-group-RT8wyBwK.js +1 -0
  378. package/dist/toggle-group-qvjasXS-.mjs +166 -0
  379. package/dist/toggle-group.cjs +1 -1
  380. package/dist/toggle-group.d.ts +1 -1
  381. package/dist/toggle-group.d.ts.map +1 -1
  382. package/dist/toggle-group.mjs +1 -2
  383. package/dist/toggle.cjs +1 -1
  384. package/dist/toggle.d.ts +1 -1
  385. package/dist/toggle.d.ts.map +1 -1
  386. package/dist/toggle.mjs +1 -2
  387. package/dist/tooltip-7ERoN5mV.mjs +386 -0
  388. package/dist/tooltip-CC9_spXT.js +1 -0
  389. package/dist/tooltip.cjs +1 -1
  390. package/dist/tooltip.d.ts +1 -1
  391. package/dist/tooltip.d.ts.map +1 -1
  392. package/dist/tooltip.mjs +1 -2
  393. package/dist/{utils-A_oVsYw5.mjs → utils-DQKc9joa.mjs} +1 -2
  394. package/package.json +18 -18
  395. package/src/__contracts.ts +318 -321
  396. package/src/accordion.tsx +1 -2
  397. package/src/alert-dialog.tsx +1 -2
  398. package/src/alert.tsx +3 -4
  399. package/src/aspect-ratio.tsx +1 -2
  400. package/src/attachment.tsx +8 -9
  401. package/src/avatar.tsx +1 -2
  402. package/src/badge.tsx +2 -3
  403. package/src/breadcrumb.tsx +1 -4
  404. package/src/bubble.tsx +7 -8
  405. package/src/button-group.tsx +2 -3
  406. package/src/button.tsx +3 -4
  407. package/src/calendar.tsx +8 -9
  408. package/src/card.tsx +1 -2
  409. package/src/carousel.tsx +9 -10
  410. package/src/checkbox.tsx +1 -2
  411. package/src/collapsible.tsx +1 -2
  412. package/src/combobox.tsx +6 -7
  413. package/src/command.tsx +1 -2
  414. package/src/context-menu.tsx +1 -2
  415. package/src/dialog.tsx +1 -2
  416. package/src/direction.tsx +1 -2
  417. package/src/drawer.tsx +1 -2
  418. package/src/dropdown-menu.tsx +1 -2
  419. package/src/empty.tsx +2 -3
  420. package/src/field.tsx +9 -11
  421. package/src/form.tsx +8 -8
  422. package/src/hooks/use-mobile.ts +1 -1
  423. package/src/hover-card.tsx +1 -2
  424. package/src/input-group.tsx +12 -21
  425. package/src/input-otp.tsx +5 -6
  426. package/src/input.tsx +1 -2
  427. package/src/item.tsx +10 -12
  428. package/src/kbd.tsx +1 -2
  429. package/src/label.tsx +1 -2
  430. package/src/marker.tsx +4 -5
  431. package/src/menubar.tsx +1 -2
  432. package/src/message-scroller.tsx +9 -10
  433. package/src/message.tsx +2 -3
  434. package/src/native-select.tsx +3 -4
  435. package/src/navigation-menu.tsx +2 -3
  436. package/src/pagination.tsx +5 -4
  437. package/src/popover.tsx +1 -2
  438. package/src/progress.tsx +1 -2
  439. package/src/questionnaire.tsx +6 -7
  440. package/src/scroll-area.tsx +1 -2
  441. package/src/scroll-to-top.tsx +7 -2
  442. package/src/search.tsx +2 -1
  443. package/src/select.tsx +1 -2
  444. package/src/separator.tsx +1 -2
  445. package/src/setupTests.ts +9 -9
  446. package/src/sheet.tsx +1 -2
  447. package/src/sidebar.tsx +15 -16
  448. package/src/skeleton.tsx +1 -2
  449. package/src/slider.tsx +1 -2
  450. package/src/spinner.tsx +8 -7
  451. package/src/support-fab.tsx +5 -1
  452. package/src/switch.tsx +1 -2
  453. package/src/table-of-contents.tsx +8 -11
  454. package/src/table.tsx +1 -2
  455. package/src/tabs.tsx +2 -3
  456. package/src/text.tsx +4 -4
  457. package/src/textarea.tsx +1 -2
  458. package/src/theme-provider.tsx +1 -1
  459. package/src/theme-toggle.tsx +26 -23
  460. package/src/toast.tsx +3 -4
  461. package/src/toaster.tsx +2 -1
  462. package/src/toggle-group.tsx +1 -2
  463. package/src/toggle.tsx +3 -4
  464. package/src/tooltip.tsx +1 -2
  465. package/dist/accordion-BgbjpZAF.js +0 -1
  466. package/dist/accordion-Bqt-y-u7.mjs +0 -239
  467. package/dist/alert-dialog-DonbkCSD.js +0 -1
  468. package/dist/aspect-ratio-X3HWxQz0.js +0 -1
  469. package/dist/avatar-DTkhTxt7.mjs +0 -133
  470. package/dist/avatar-DhvZbCtI.js +0 -1
  471. package/dist/calendar-Bo8kovKR.js +0 -1
  472. package/dist/carousel-Cv5isLeg.js +0 -1
  473. package/dist/checkbox-Dt06B4YW.js +0 -1
  474. package/dist/chunk-HBS6WEDP-CQNaACTf.js +0 -1
  475. package/dist/chunk-mLOUI7ql.js +0 -1
  476. package/dist/combobox-BB_YzCTY.js +0 -4
  477. package/dist/combobox-YxjYGUoe.mjs +0 -5748
  478. package/dist/command-BqO-CfH6.js +0 -1
  479. package/dist/context-menu-Dad9hs94.js +0 -1
  480. package/dist/dist-6c2NeKfz.mjs +0 -536
  481. package/dist/dist-9-j0_8D1.mjs +0 -34
  482. package/dist/dist-BMl8xXCH.mjs +0 -188
  483. package/dist/dist-BOKg7rhq.js +0 -1
  484. package/dist/dist-BPhn-EOy.mjs +0 -15
  485. package/dist/dist-BTN2t9yv.js +0 -1
  486. package/dist/dist-Bivv8B6p.mjs +0 -16
  487. package/dist/dist-BoNQb2nd.js +0 -1
  488. package/dist/dist-C83rnWRv.js +0 -1
  489. package/dist/dist-C8Pm6LRc.js +0 -1
  490. package/dist/dist-CGgemr2V.js +0 -1
  491. package/dist/dist-C_iFkwIX.js +0 -1
  492. package/dist/dist-CdBAkUWT.js +0 -1
  493. package/dist/dist-Cn7g8jD0.js +0 -1
  494. package/dist/dist-D7-Fky36.js +0 -1
  495. package/dist/dist-D7UHN1DJ.mjs +0 -5
  496. package/dist/dist-DOoZ3vGL.mjs +0 -407
  497. package/dist/dist-DYUvPCPC.js +0 -1
  498. package/dist/dist-DcRkoHAk.js +0 -1
  499. package/dist/dist-DfvK7DpO.mjs +0 -213
  500. package/dist/dist-Dj9s8AIv.js +0 -1
  501. package/dist/dist-NEeQKKDZ.js +0 -1
  502. package/dist/dist-N_70prl1.js +0 -1
  503. package/dist/dist-YAADIsyo.js +0 -1
  504. package/dist/dist-dMp9dzmY.mjs +0 -20
  505. package/dist/dist-mHQuNOH-.js +0 -1
  506. package/dist/dist-oyFh63Uq.js +0 -1
  507. package/dist/dist-v-Y6tnMq.js +0 -1
  508. package/dist/dist-v9094Auw.js +0 -1
  509. package/dist/dist-yA6iVq_M.js +0 -1
  510. package/dist/dropdown-menu-BpZcobmP.js +0 -1
  511. package/dist/es2015-CYxXY2oV.mjs +0 -727
  512. package/dist/es2015-t2RPC0Rg.js +0 -41
  513. package/dist/floating-ui.react-dom-BwFRxNGc.js +0 -1
  514. package/dist/hover-card-7NjGqlP0.js +0 -1
  515. package/dist/hover-card-DuRUptxQ.mjs +0 -176
  516. package/dist/input-otp-D9MwUsPO.js +0 -20
  517. package/dist/label-CgKiKHKG.js +0 -1
  518. package/dist/menubar-CyKBLHme.mjs +0 -405
  519. package/dist/menubar-DlOMZeh1.js +0 -1
  520. package/dist/message-scroller-DqLu0YI6.js +0 -1
  521. package/dist/navigation-menu-BzE1J1rs.mjs +0 -608
  522. package/dist/navigation-menu-CrR01R8Z.js +0 -1
  523. package/dist/popover-CFF_HXSf.mjs +0 -222
  524. package/dist/popover-D9pVy08c.js +0 -1
  525. package/dist/progress-nfJMuKGj.js +0 -6
  526. package/dist/questionnaire-PWClWvST.js +0 -1
  527. package/dist/radio-group-DhXnB0fI.js +0 -1
  528. package/dist/resizable-ChIqXiu4.js +0 -1
  529. package/dist/resizable-CpovHnG-.mjs +0 -1573
  530. package/dist/scroll-area-CUqjuvqH.js +0 -1
  531. package/dist/scroll-area-DstdIGvS.mjs +0 -539
  532. package/dist/select-CnCTQeh7.js +0 -1
  533. package/dist/select-CnHZdna2.mjs +0 -792
  534. package/dist/separator-BXaVJadH.js +0 -1
  535. package/dist/separator-D1a8myFf.mjs +0 -38
  536. package/dist/sidebar-ns_2TNBM.js +0 -1
  537. package/dist/slider-PoIV6N-u.js +0 -1
  538. package/dist/slider-ZnyQjYsS.mjs +0 -460
  539. package/dist/switch-DLY8PkmL.js +0 -1
  540. package/dist/tabs-QBWdNfSK.js +0 -1
  541. package/dist/theme-toggle-Q3UHstP_.js +0 -1
  542. package/dist/toast-BOdziIGg.mjs +0 -424
  543. package/dist/toast-D1fjLwO1.js +0 -1
  544. package/dist/toaster-DS9iODKU.js +0 -1
  545. package/dist/toggle-DtpvPox_.js +0 -1
  546. package/dist/toggle-group-DfkvPKU_.mjs +0 -164
  547. package/dist/toggle-group-UHY0Tip1.js +0 -1
  548. package/dist/tooltip-BbCL1gtU.mjs +0 -384
  549. package/dist/tooltip-BvpyStn2.js +0 -1
  550. /package/dist/{dist-DJqkhIXb2.js → dist-DJqkhIXb.js} +0 -0
@@ -0,0 +1,17 @@
1
+ import { t as e } from "./dist-DhubV_gU.mjs";
2
+ import * as t from "react";
3
+ // ../../node_modules/.bun/@radix-ui+react-use-callback-ref@1.1.5+0ac650c021fb1b59/node_modules/@radix-ui/react-use-callback-ref/dist/index.mjs
4
+ var n = Object.defineProperty, r = (e, t) => n(e, "name", {
5
+ value: t,
6
+ configurable: !0
7
+ }), i = t.useInsertionEffect;
8
+ function a(n) {
9
+ let r = t.useRef(n);
10
+ return typeof i == "function" ? i(() => {
11
+ r.current = n;
12
+ }) : e(() => {
13
+ r.current = n;
14
+ }), t.useMemo(() => ((...e) => r.current?.(...e)), []);
15
+ }
16
+ r(a, "useCallbackRef");
17
+ export { a as t };
@@ -1,4 +1,4 @@
1
- //#region ../../node_modules/.bun/@radix-ui+primitive@1.1.7/node_modules/@radix-ui/primitive/dist/index.mjs
1
+ // ../../node_modules/.bun/@radix-ui+primitive@1.2.0/node_modules/@radix-ui/primitive/dist/index.mjs
2
2
  var e = Object.defineProperty, t = (t, n) => e(t, "name", {
3
3
  value: n,
4
4
  configurable: !0
@@ -37,5 +37,4 @@ function s(e) {
37
37
  return e.tagName === "IFRAME";
38
38
  }
39
39
  t(s, "isFrame");
40
- //#endregion
41
40
  export { r as t };
@@ -1,8 +1,8 @@
1
- import { n as e } from "./dist-8fYwoWd4.mjs";
1
+ import { n as e } from "./dist-C516Vwxy.mjs";
2
2
  import * as t from "react";
3
3
  import * as n from "react-dom";
4
4
  import { jsx as r } from "react/jsx-runtime";
5
- //#region ../../node_modules/.bun/@radix-ui+react-primitive@2.1.10+2b23df507bdda662/node_modules/@radix-ui/react-primitive/dist/index.mjs
5
+ // ../../node_modules/.bun/@radix-ui+react-primitive@2.2.0+2b23df507bdda662/node_modules/@radix-ui/react-primitive/dist/index.mjs
6
6
  var i = Object.defineProperty, a = (e, t) => i(e, "name", {
7
7
  value: t,
8
8
  configurable: !0
@@ -41,5 +41,4 @@ function s(e, t) {
41
41
  e && n.flushSync(() => e.dispatchEvent(t));
42
42
  }
43
43
  a(s, "dispatchDiscreteCustomEvent");
44
- //#endregion
45
44
  export { s as n, o as t };
@@ -0,0 +1 @@
1
+ const e=require("./rolldown-runtime-DbbDpzbe.js");let t=require("react"),n=e.r(t,1);t=e.r(t);var r=globalThis?.document?n.useLayoutEffect:()=>{};Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return r}});
@@ -1,4 +1,4 @@
1
- //#region ../../node_modules/.bun/@radix-ui+number@1.1.3/node_modules/@radix-ui/number/dist/index.mjs
1
+ // ../../node_modules/.bun/@radix-ui+number@1.1.3/node_modules/@radix-ui/number/dist/index.mjs
2
2
  var e = Object.defineProperty, t = (t, n) => e(t, "name", {
3
3
  value: n,
4
4
  configurable: !0
@@ -7,5 +7,4 @@ function n(e, [t, n]) {
7
7
  return Math.min(n, Math.max(t, e));
8
8
  }
9
9
  t(n, "clamp");
10
- //#endregion
11
10
  export { n as t };
@@ -0,0 +1 @@
1
+ const e=require("./rolldown-runtime-DbbDpzbe.js"),t=require("./dist-DZiOPWLp.js"),n=require("./dist-Co_xSt6d.js"),r=require("./dist-CJqVmdrU.js"),i=require("./dist-DW2ltK5-.js"),a=require("./dist-RXrZgzkO.js"),o=require("./dist-CBlqVBTk.js"),s=require("./dist-pqMcQ1Nk.js"),c=require("./dist-zmnQp5Xf.js"),l=require("./dist-DdAeWIwf.js"),u=require("./dist-B7jnFMko.js");let d=require("react"),f=e.r(d,1);d=e.r(d);let p=require("react/jsx-runtime");var m=Object.defineProperty,h=(e,t)=>m(e,`name`,{value:t,configurable:!0}),g=!1;function _(){let[e,t]=f.useState(g);return f.useEffect(()=>{g||(g=!0,t(!0))},[]),e}h(_,`useIsHydrated`);var v=f.useSyncExternalStore;function y(){return()=>{}}h(y,`subscribe`);function b(){return v(y,()=>!0,()=>!1)}h(b,`useIsHydratedModern`);var x=typeof v==`function`?b:_,S=Object.defineProperty,C=(e,t)=>S(e,`name`,{value:t,configurable:!0}),w=`rovingFocusGroup.onEntryFocus`,T={bubbles:!1,cancelable:!0},E=`RovingFocusGroup`,[D,O,k]=n.t(E),[A,j]=i.t(E,[k]),M={Vertical:`vertical`,Horizontal:`horizontal`},N={LTR:`ltr`,RTL:`rtl`},[P,F]=A(E),I=f.forwardRef(C(function(e,t){return(0,p.jsx)(D.Provider,{scope:e.__scopeRovingFocusGroup,children:(0,p.jsx)(D.Slot,{scope:e.__scopeRovingFocusGroup,children:(0,p.jsx)(L,{...e,ref:t})})})},`RovingFocusGroup`)),L=f.forwardRef(C(function(e,n){let{__scopeRovingFocusGroup:i,orientation:a,loop:u=!1,dir:d,currentTabStopId:m,defaultCurrentTabStopId:h,onCurrentTabStopIdChange:g,onEntryFocus:_,preventScrollOnEntryFocus:v=!1,...y}=e,b=f.useRef(null),x=r.a(n,b),S=l.n(d),[C,D]=c.t({prop:m,defaultProp:h??null,onChange:g,caller:E}),[k,A]=f.useState(!1),j=s.t(_),M=O(i),N=f.useRef(!1),[F,I]=f.useState(0);return f.useEffect(()=>{let e=b.current;if(e)return e.addEventListener(w,j),()=>e.removeEventListener(w,j)},[j]),(0,p.jsx)(P,{scope:i,orientation:a,dir:S,loop:u,currentTabStopId:C,onItemFocus:f.useCallback(e=>D(e),[D]),onItemShiftTab:f.useCallback(()=>A(!0),[]),onFocusableItemAdd:f.useCallback(()=>I(e=>e+1),[]),onFocusableItemRemove:f.useCallback(()=>I(e=>e-1),[]),children:(0,p.jsx)(o.t.div,{tabIndex:k||F===0?-1:0,"data-orientation":a,...y,ref:x,style:{outline:`none`,...e.style},onMouseDown:t.t(e.onMouseDown,()=>{N.current=!0}),onFocus:t.t(e.onFocus,e=>{let t=!N.current;if(e.target===e.currentTarget&&t&&!k){let t=new CustomEvent(w,T);if(e.currentTarget.dispatchEvent(t),!t.defaultPrevented){let e=M().filter(e=>e.focusable);U([e.find(e=>e.active),e.find(e=>e.id===C),...e].filter(Boolean).map(e=>e.ref.current),v)}}N.current=!1}),onBlur:t.t(e.onBlur,()=>A(!1))})})},`RovingFocusGroupImpl`)),R=`RovingFocusGroupItem`,z=f.forwardRef(C(function(e,n){let{__scopeRovingFocusGroup:r,focusable:i=!0,active:s=!1,tabStopId:c,children:l,...d}=e,m=a.t(),h=c||m,g=F(R,r),_=g.currentTabStopId===h,v=O(r),{onFocusableItemAdd:y,onFocusableItemRemove:b,currentTabStopId:S}=g,C=x();return u.t(()=>{if(C&&i)return y(),()=>b()},[C,i,y,b]),f.useEffect(()=>{if(!C&&i)return y(),()=>b()},[C,i,y,b]),(0,p.jsx)(D.ItemSlot,{scope:r,id:h,focusable:i,active:s,children:(0,p.jsx)(o.t.span,{tabIndex:_?0:-1,"data-orientation":g.orientation,...d,ref:n,onMouseDown:t.t(e.onMouseDown,e=>{i?g.onItemFocus(h):e.preventDefault()}),onFocus:t.t(e.onFocus,()=>g.onItemFocus(h)),onKeyDown:t.t(e.onKeyDown,e=>{if(e.key===`Tab`&&e.shiftKey){g.onItemShiftTab();return}if(e.target!==e.currentTarget)return;let t=H(e,g.orientation,g.dir);if(t!==void 0){if(e.metaKey||e.ctrlKey||e.altKey||e.shiftKey)return;e.preventDefault();let n=v().filter(e=>e.focusable).map(e=>e.ref.current);if(t===`last`)n.reverse();else if(t===`prev`||t===`next`){t===`prev`&&n.reverse();let r=n.indexOf(e.currentTarget);n=g.loop?W(n,r+1):n.slice(r+1)}setTimeout(()=>U(n))}}),children:typeof l==`function`?l({isCurrentTabStop:_,hasTabStop:S!=null}):l})})},`RovingFocusGroupItem`)),B={ArrowLeft:`prev`,ArrowUp:`prev`,ArrowRight:`next`,ArrowDown:`next`,PageUp:`first`,Home:`first`,PageDown:`last`,End:`last`};function V(e,t){return t===N.RTL?e===`ArrowLeft`?`ArrowRight`:e===`ArrowRight`?`ArrowLeft`:e:e}C(V,`getDirectionAwareKey`);function H(e,t,n){let r=V(e.key,n);if(!(t===M.Vertical&&[`ArrowLeft`,`ArrowRight`].includes(r))&&!(t===M.Horizontal&&[`ArrowUp`,`ArrowDown`].includes(r)))return B[r]}C(H,`getFocusIntent`);function U(e,t=!1){let n=document.activeElement;for(let r of e)if(r===n||(r.focus({preventScroll:t}),document.activeElement!==n))return}C(U,`focusFirst`);function W(e,t){return e.map((n,r)=>e[(t+r)%e.length])}C(W,`wrapArray`),Object.defineProperty(exports,"n",{enumerable:!0,get:function(){return z}}),Object.defineProperty(exports,"r",{enumerable:!0,get:function(){return j}}),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return I}});
@@ -0,0 +1 @@
1
+ const e=require("./rolldown-runtime-DbbDpzbe.js"),t=require("./dist-B7jnFMko.js");let n=require("react"),r=e.r(n,1);n=e.r(n);var i=Object.defineProperty,a=(e,t)=>i(e,`name`,{value:t,configurable:!0});function o(e){let[n,i]=r.useState(void 0);return t.t(()=>{if(e){i({width:e.offsetWidth,height:e.offsetHeight});let t=0,n=new ResizeObserver(n=>{if(!Array.isArray(n)||!n.length)return;let r=n[0];window.cancelAnimationFrame(t),t=window.requestAnimationFrame(()=>{let t,n;if(`borderBoxSize`in r){let e=r.borderBoxSize,i=Array.isArray(e)?e[0]:e;t=i.inlineSize,n=i.blockSize}else t=e.offsetWidth,n=e.offsetHeight;i({width:t,height:n})})});return n.observe(e,{box:`border-box`}),()=>{window.cancelAnimationFrame(t),n.unobserve(e)}}i(void 0)},[e]),n}a(o,`useSize`),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return o}});
@@ -0,0 +1 @@
1
+ const e=require("./rolldown-runtime-DbbDpzbe.js"),t=require("./dist-B7jnFMko.js");let n=require("react"),r=e.r(n,1);n=e.r(n);var i=Object.defineProperty,a=(e,t)=>i(e,`name`,{value:t,configurable:!0});function o(e,t){return r.useReducer((e,n)=>t[e][n]??e,e)}a(o,`useStateMachine`);var s=a(e=>{let{present:t,children:n}=e,i=c(t),a=typeof n==`function`?n({present:i.isPresent}):r.Children.only(n),o=u(i.ref,f(a));return typeof n==`function`||i.isPresent?r.cloneElement(a,{ref:o}):null},`Presence`);function c(e){let[n,i]=r.useState(),s=r.useRef(null),c=r.useRef(e),l=r.useRef(`none`),u=r.useRef(void 0),[f,p]=o(e?`mounted`:`unmounted`,{mounted:{UNMOUNT:`unmounted`,ANIMATION_OUT:`unmountSuspended`},unmountSuspended:{MOUNT:`mounted`,ANIMATION_END:`unmounted`},unmounted:{MOUNT:`mounted`}});return r.useEffect(()=>{f===`mounted`?(l.current=u.current??d(s.current),u.current=void 0):l.current=`none`},[f]),t.t(()=>{let t=s.current,n=c.current;if(n!==e){let r=l.current,i=d(t);e?(u.current=i,p(`MOUNT`)):i===`none`||t?.display===`none`?p(`UNMOUNT`):p(n&&r!==i?`ANIMATION_OUT`:`UNMOUNT`),c.current=e}},[e,p]),t.t(()=>{if(n){let e,t=n.ownerDocument.defaultView??window,r=a(r=>{let i=d(s.current).includes(CSS.escape(r.animationName));if(r.target===n&&i&&(p(`ANIMATION_END`),!c.current)){let r=n.style.animationFillMode;n.style.animationFillMode=`forwards`,e=t.setTimeout(()=>{n.style.animationFillMode===`forwards`&&(n.style.animationFillMode=r)})}},`handleAnimationEnd`),i=a(e=>{e.target===n&&(l.current=d(s.current))},`handleAnimationStart`);return n.addEventListener(`animationstart`,i),n.addEventListener(`animationcancel`,r),n.addEventListener(`animationend`,r),()=>{t.clearTimeout(e),n.removeEventListener(`animationstart`,i),n.removeEventListener(`animationcancel`,r),n.removeEventListener(`animationend`,r)}}p(`ANIMATION_END`)},[n,p]),{isPresent:[`mounted`,`unmountSuspended`].includes(f),ref:r.useCallback(e=>{if(e){let t=getComputedStyle(e);s.current=t,u.current=d(t)}else s.current=null;i(e)},[])}}a(c,`usePresence`);function l(e,t){if(typeof e==`function`)return e(t);e!=null&&(e.current=t)}a(l,`setRef`);function u(...e){let t=r.useRef(e);return t.current=e,r.useCallback(e=>{let n=t.current,r=!1,i=n.map(t=>{let n=l(t,e);return!r&&typeof n==`function`&&(r=!0),n});if(r)return()=>{for(let e=0;e<i.length;e++){let t=i[e];typeof t==`function`?t():l(n[e],null)}}},[])}a(u,`useStableComposedRefs`);function d(e){return e?.animationName||`none`}a(d,`getAnimationName`);function f(e){let t=Object.getOwnPropertyDescriptor(e.props,`ref`)?.get,n=t&&`isReactWarning`in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,`ref`)?.get,n=t&&`isReactWarning`in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}a(f,`getElementRef`),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-DhubV_gU.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
+ // ../../node_modules/.bun/@radix-ui+react-presence@1.1.11+2b23df507bdda662/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
@@ -49,7 +49,8 @@ function o(n) {
49
49
  return a.addEventListener("animationstart", i), a.addEventListener("animationcancel", n), a.addEventListener("animationend", n), () => {
50
50
  t.clearTimeout(e), a.removeEventListener("animationstart", i), a.removeEventListener("animationcancel", n), a.removeEventListener("animationend", n);
51
51
  };
52
- } else p("ANIMATION_END");
52
+ }
53
+ p("ANIMATION_END");
53
54
  }, [a, p]), {
54
55
  isPresent: ["mounted", "unmountSuspended"].includes(f),
55
56
  ref: t.useCallback((e) => {
@@ -92,5 +93,4 @@ function u(e) {
92
93
  return n ? e.ref : (t = Object.getOwnPropertyDescriptor(e, "ref")?.get, n = t && "isReactWarning" in t && t.isReactWarning, n ? e.props.ref : e.props.ref || e.ref);
93
94
  }
94
95
  r(u, "getElementRef");
95
- //#endregion
96
96
  export { a as t };
@@ -1,16 +1,16 @@
1
- import { a as e } from "./dist-8fYwoWd4.mjs";
2
- import { t } from "./dist-BQhMregZ.mjs";
3
- import { t as n } from "./dist-DMwCTE2i.mjs";
4
- import { t as r } from "./dist-DOoZ3vGL.mjs";
5
- import { t as i } from "./dist-DyMv0xk8.mjs";
6
- import { t as a } from "./dist-D7UHN1DJ.mjs";
7
- import { t as o } from "./dist-BUXpRW9O.mjs";
8
- import { t as s } from "./dist-CBsYNwXz.mjs";
9
- import { n as c } from "./dist-dMp9dzmY.mjs";
10
- import { t as l } from "./dist-BPhn-EOy.mjs";
1
+ import { t as e } from "./dist-B76UOZbx.mjs";
2
+ import { t } from "./dist-C2BHd5i1.mjs";
3
+ import { a as n } from "./dist-C516Vwxy.mjs";
4
+ import { t as r } from "./dist-COqM3IM6.mjs";
5
+ import { t as i } from "./dist-Cu0GG-3j.mjs";
6
+ import { t as a } from "./dist-B7Ph9-T6.mjs";
7
+ import { t as o } from "./dist-AlmToDtO.mjs";
8
+ import { t as s } from "./dist-DKI-XYwI.mjs";
9
+ import { n as c } from "./dist-dwRwxUPt.mjs";
10
+ import { t as l } from "./dist-DhubV_gU.mjs";
11
11
  import * as u from "react";
12
12
  import { jsx as d } from "react/jsx-runtime";
13
- //#region ../../node_modules/.bun/@radix-ui+react-use-is-hydrated@0.1.3+0ac650c021fb1b59/node_modules/@radix-ui/react-use-is-hydrated/dist/index.mjs
13
+ // ../../node_modules/.bun/@radix-ui+react-use-is-hydrated@0.1.3+0ac650c021fb1b59/node_modules/@radix-ui/react-use-is-hydrated/dist/index.mjs
14
14
  var f = Object.defineProperty, p = (e, t) => f(e, "name", {
15
15
  value: t,
16
16
  configurable: !0
@@ -37,56 +37,62 @@ var y = typeof g == "function" ? v : h, b = Object.defineProperty, x = (e, t) =>
37
37
  }), S = "rovingFocusGroup.onEntryFocus", C = {
38
38
  bubbles: !1,
39
39
  cancelable: !0
40
- }, w = "RovingFocusGroup", [T, E, D] = r(w), [O, k] = n(w, [D]), [A, j] = O(w), M = /* @__PURE__ */ u.forwardRef(/* @__PURE__ */ x(function(e, t) {
40
+ }, w = "RovingFocusGroup", [T, E, D] = t(w), [O, k] = r(w, [D]), A = {
41
+ Vertical: "vertical",
42
+ Horizontal: "horizontal"
43
+ }, j = {
44
+ LTR: "ltr",
45
+ RTL: "rtl"
46
+ }, [M, N] = O(w), P = /* @__PURE__ */ u.forwardRef(/* @__PURE__ */ x(function(e, t) {
41
47
  return /* @__PURE__ */ d(T.Provider, {
42
48
  scope: e.__scopeRovingFocusGroup,
43
49
  children: /* @__PURE__ */ d(T.Slot, {
44
50
  scope: e.__scopeRovingFocusGroup,
45
- children: /* @__PURE__ */ d(N, {
51
+ children: /* @__PURE__ */ d(F, {
46
52
  ...e,
47
53
  ref: t
48
54
  })
49
55
  })
50
56
  });
51
- }, "RovingFocusGroup")), N = /* @__PURE__ */ u.forwardRef(/* @__PURE__ */ x(function(n, r) {
52
- let { __scopeRovingFocusGroup: a, orientation: s, loop: f = !1, dir: p, currentTabStopId: m, defaultCurrentTabStopId: h, onCurrentTabStopIdChange: g, onEntryFocus: _, preventScrollOnEntryFocus: v = !1, ...y } = n, b = u.useRef(null), x = e(r, b), T = c(p), [D, O] = o({
57
+ }, "RovingFocusGroup")), F = /* @__PURE__ */ u.forwardRef(/* @__PURE__ */ x(function(t, r) {
58
+ let { __scopeRovingFocusGroup: i, orientation: l, loop: f = !1, dir: p, currentTabStopId: m, defaultCurrentTabStopId: h, onCurrentTabStopIdChange: g, onEntryFocus: _, preventScrollOnEntryFocus: v = !1, ...y } = t, b = u.useRef(null), x = n(r, b), T = c(p), [D, O] = s({
53
59
  prop: m,
54
60
  defaultProp: h ?? null,
55
61
  onChange: g,
56
62
  caller: w
57
- }), [k, j] = u.useState(!1), M = l(_), N = E(a), P = u.useRef(!1), [F, I] = u.useState(0);
63
+ }), [k, A] = u.useState(!1), j = o(_), N = E(i), P = u.useRef(!1), [F, I] = u.useState(0);
58
64
  return u.useEffect(() => {
59
65
  let e = b.current;
60
- if (e) return e.addEventListener(S, M), () => e.removeEventListener(S, M);
61
- }, [M]), /* @__PURE__ */ d(A, {
62
- scope: a,
63
- orientation: s,
66
+ if (e) return e.addEventListener(S, j), () => e.removeEventListener(S, j);
67
+ }, [j]), /* @__PURE__ */ d(M, {
68
+ scope: i,
69
+ orientation: l,
64
70
  dir: T,
65
71
  loop: f,
66
72
  currentTabStopId: D,
67
73
  onItemFocus: u.useCallback((e) => O(e), [O]),
68
- onItemShiftTab: u.useCallback(() => j(!0), []),
74
+ onItemShiftTab: u.useCallback(() => A(!0), []),
69
75
  onFocusableItemAdd: u.useCallback(() => I((e) => e + 1), []),
70
76
  onFocusableItemRemove: u.useCallback(() => I((e) => e - 1), []),
71
- children: /* @__PURE__ */ d(t.div, {
77
+ children: /* @__PURE__ */ d(a.div, {
72
78
  tabIndex: k || F === 0 ? -1 : 0,
73
- "data-orientation": s,
79
+ "data-orientation": l,
74
80
  ...y,
75
81
  ref: x,
76
82
  style: {
77
83
  outline: "none",
78
- ...n.style
84
+ ...t.style
79
85
  },
80
- onMouseDown: i(n.onMouseDown, () => {
86
+ onMouseDown: e(t.onMouseDown, () => {
81
87
  P.current = !0;
82
88
  }),
83
- onFocus: i(n.onFocus, (e) => {
89
+ onFocus: e(t.onFocus, (e) => {
84
90
  let t = !P.current;
85
91
  if (e.target === e.currentTarget && t && !k) {
86
92
  let t = new CustomEvent(S, C);
87
93
  if (e.currentTarget.dispatchEvent(t), !t.defaultPrevented) {
88
94
  let e = N().filter((e) => e.focusable);
89
- z([
95
+ V([
90
96
  e.find((e) => e.active),
91
97
  e.find((e) => e.id === D),
92
98
  ...e
@@ -95,20 +101,20 @@ var y = typeof g == "function" ? v : h, b = Object.defineProperty, x = (e, t) =>
95
101
  }
96
102
  P.current = !1;
97
103
  }),
98
- onBlur: i(n.onBlur, () => j(!1))
104
+ onBlur: e(t.onBlur, () => A(!1))
99
105
  })
100
106
  });
101
- }, "RovingFocusGroupImpl")), P = "RovingFocusGroupItem", F = /* @__PURE__ */ u.forwardRef(/* @__PURE__ */ x(function(e, n) {
102
- let { __scopeRovingFocusGroup: r, focusable: o = !0, active: c = !1, tabStopId: l, children: f, ...p } = e, m = s(), h = l || m, g = j(P, r), _ = g.currentTabStopId === h, v = E(r), { onFocusableItemAdd: b, onFocusableItemRemove: x, currentTabStopId: S } = g, C = y();
103
- return a(() => {
104
- if (!(!C || !o)) return b(), () => x();
107
+ }, "RovingFocusGroupImpl")), I = "RovingFocusGroupItem", L = /* @__PURE__ */ u.forwardRef(/* @__PURE__ */ x(function(t, n) {
108
+ let { __scopeRovingFocusGroup: r, focusable: o = !0, active: s = !1, tabStopId: c, children: f, ...p } = t, m = i(), h = c || m, g = N(I, r), _ = g.currentTabStopId === h, v = E(r), { onFocusableItemAdd: b, onFocusableItemRemove: x, currentTabStopId: S } = g, C = y();
109
+ return l(() => {
110
+ if (C && o) return b(), () => x();
105
111
  }, [
106
112
  C,
107
113
  o,
108
114
  b,
109
115
  x
110
116
  ]), u.useEffect(() => {
111
- if (!(C || !o)) return b(), () => x();
117
+ if (!C && o) return b(), () => x();
112
118
  }, [
113
119
  C,
114
120
  o,
@@ -118,23 +124,23 @@ var y = typeof g == "function" ? v : h, b = Object.defineProperty, x = (e, t) =>
118
124
  scope: r,
119
125
  id: h,
120
126
  focusable: o,
121
- active: c,
122
- children: /* @__PURE__ */ d(t.span, {
127
+ active: s,
128
+ children: /* @__PURE__ */ d(a.span, {
123
129
  tabIndex: _ ? 0 : -1,
124
130
  "data-orientation": g.orientation,
125
131
  ...p,
126
132
  ref: n,
127
- onMouseDown: i(e.onMouseDown, (e) => {
133
+ onMouseDown: e(t.onMouseDown, (e) => {
128
134
  o ? g.onItemFocus(h) : e.preventDefault();
129
135
  }),
130
- onFocus: i(e.onFocus, () => g.onItemFocus(h)),
131
- onKeyDown: i(e.onKeyDown, (e) => {
136
+ onFocus: e(t.onFocus, () => g.onItemFocus(h)),
137
+ onKeyDown: e(t.onKeyDown, (e) => {
132
138
  if (e.key === "Tab" && e.shiftKey) {
133
139
  g.onItemShiftTab();
134
140
  return;
135
141
  }
136
142
  if (e.target !== e.currentTarget) return;
137
- let t = R(e, g.orientation, g.dir);
143
+ let t = B(e, g.orientation, g.dir);
138
144
  if (t !== void 0) {
139
145
  if (e.metaKey || e.ctrlKey || e.altKey || e.shiftKey) return;
140
146
  e.preventDefault();
@@ -143,9 +149,9 @@ var y = typeof g == "function" ? v : h, b = Object.defineProperty, x = (e, t) =>
143
149
  else if (t === "prev" || t === "next") {
144
150
  t === "prev" && n.reverse();
145
151
  let r = n.indexOf(e.currentTarget);
146
- n = g.loop ? B(n, r + 1) : n.slice(r + 1);
152
+ n = g.loop ? H(n, r + 1) : n.slice(r + 1);
147
153
  }
148
- setTimeout(() => z(n));
154
+ setTimeout(() => V(n));
149
155
  }
150
156
  }),
151
157
  children: typeof f == "function" ? f({
@@ -154,7 +160,7 @@ var y = typeof g == "function" ? v : h, b = Object.defineProperty, x = (e, t) =>
154
160
  }) : f
155
161
  })
156
162
  });
157
- }, "RovingFocusGroupItem")), I = {
163
+ }, "RovingFocusGroupItem")), R = {
158
164
  ArrowLeft: "prev",
159
165
  ArrowUp: "prev",
160
166
  ArrowRight: "next",
@@ -164,24 +170,22 @@ var y = typeof g == "function" ? v : h, b = Object.defineProperty, x = (e, t) =>
164
170
  PageDown: "last",
165
171
  End: "last"
166
172
  };
167
- function L(e, t) {
168
- return t === "rtl" ? e === "ArrowLeft" ? "ArrowRight" : e === "ArrowRight" ? "ArrowLeft" : e : e;
173
+ function z(e, t) {
174
+ return t === j.RTL ? e === "ArrowLeft" ? "ArrowRight" : e === "ArrowRight" ? "ArrowLeft" : e : e;
169
175
  }
170
- x(L, "getDirectionAwareKey");
171
- function R(e, t, n) {
172
- let r = L(e.key, n);
173
- if (!(t === "vertical" && ["ArrowLeft", "ArrowRight"].includes(r)) && !(t === "horizontal" && ["ArrowUp", "ArrowDown"].includes(r))) return I[r];
176
+ x(z, "getDirectionAwareKey");
177
+ function B(e, t, n) {
178
+ let r = z(e.key, n);
179
+ if (!(t === A.Vertical && ["ArrowLeft", "ArrowRight"].includes(r)) && !(t === A.Horizontal && ["ArrowUp", "ArrowDown"].includes(r))) return R[r];
174
180
  }
175
- x(R, "getFocusIntent");
176
- function z(e, t = !1) {
181
+ x(B, "getFocusIntent");
182
+ function V(e, t = !1) {
177
183
  let n = document.activeElement;
178
184
  for (let r of e) if (r === n || (r.focus({ preventScroll: t }), document.activeElement !== n)) return;
179
185
  }
180
- x(z, "focusFirst");
181
- function B(e, t) {
186
+ x(V, "focusFirst");
187
+ function H(e, t) {
182
188
  return e.map((n, r) => e[(t + r) % e.length]);
183
189
  }
184
- x(B, "wrapArray");
185
- var V = M, H = F;
186
- //#endregion
187
- export { V as n, k as r, H as t };
190
+ x(H, "wrapArray");
191
+ export { L as n, k as r, P as t };