@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
@@ -1,407 +0,0 @@
1
- import { a as e, n as t } from "./dist-8fYwoWd4.mjs";
2
- import { t as n } from "./dist-DMwCTE2i.mjs";
3
- import * as r from "react";
4
- import { jsx as i } from "react/jsx-runtime";
5
- //#region ../../node_modules/.bun/@radix-ui+react-collection@1.1.15+2b23df507bdda662/node_modules/@radix-ui/react-collection/dist/index.mjs
6
- var a = Object.defineProperty, o = (e, t) => a(e, "name", {
7
- value: t,
8
- configurable: !0
9
- });
10
- /* @__NO_SIDE_EFFECTS__ */
11
- function s(a) {
12
- let s = a + "CollectionProvider", [c, l] = n(s), [u, d] = c(s, {
13
- collectionRef: { current: null },
14
- itemMap: /* @__PURE__ */ new Map()
15
- }), f = /* @__PURE__ */ o((e) => {
16
- let { scope: t, children: n } = e, a = r.useRef(null), o = r.useRef(/* @__PURE__ */ new Map()).current;
17
- return /* @__PURE__ */ i(u, {
18
- scope: t,
19
- itemMap: o,
20
- collectionRef: a,
21
- children: n
22
- });
23
- }, "CollectionProvider");
24
- f.displayName = s;
25
- let p = a + "CollectionSlot", m = t(p), h = r.forwardRef((t, n) => {
26
- let { scope: r, children: a } = t;
27
- return /* @__PURE__ */ i(m, {
28
- ref: e(n, d(p, r).collectionRef),
29
- children: a
30
- });
31
- });
32
- h.displayName = p;
33
- let g = a + "CollectionItemSlot", _ = "data-radix-collection-item", v = t(g), y = r.forwardRef((t, n) => {
34
- let { scope: a, children: o, ...s } = t, c = r.useRef(null), l = e(n, c), u = d(g, a);
35
- return r.useEffect(() => (u.itemMap.set(c, {
36
- ref: c,
37
- ...s
38
- }), () => void u.itemMap.delete(c))), /* @__PURE__ */ i(v, {
39
- [_]: "",
40
- ref: l,
41
- children: o
42
- });
43
- });
44
- y.displayName = g;
45
- function b(e) {
46
- let t = d(a + "CollectionConsumer", e);
47
- return r.useCallback(() => {
48
- let e = t.collectionRef.current;
49
- if (!e) return [];
50
- let n = Array.from(e.querySelectorAll(`[${_}]`));
51
- return Array.from(t.itemMap.values()).sort((e, t) => n.indexOf(e.ref.current) - n.indexOf(t.ref.current));
52
- }, [t.collectionRef, t.itemMap]);
53
- }
54
- return o(b, "useCollection"), [
55
- {
56
- Provider: f,
57
- Slot: h,
58
- ItemSlot: y
59
- },
60
- b,
61
- l
62
- ];
63
- }
64
- o(s, "createCollection");
65
- var c = /* @__PURE__ */ new WeakMap(), l = class e extends Map {
66
- static {
67
- o(this, "OrderedDict");
68
- }
69
- #e;
70
- constructor(e) {
71
- super(e), this.#e = [...super.keys()], c.set(this, !0);
72
- }
73
- set(e, t) {
74
- return c.get(this) && (this.has(e) ? this.#e[this.#e.indexOf(e)] = e : this.#e.push(e)), super.set(e, t), this;
75
- }
76
- insert(e, t, n) {
77
- let r = this.has(t), i = this.#e.length, a = f(e), o = a >= 0 ? a : i + a, s = o < 0 || o >= i ? -1 : o;
78
- if (s === this.size || r && s === this.size - 1 || s === -1) return this.set(t, n), this;
79
- let c = this.size + +!r;
80
- a < 0 && o++;
81
- let l = [...this.#e], u, d = !1;
82
- for (let e = o; e < c; e++) if (o === e) {
83
- let i = l[e];
84
- l[e] === t && (i = l[e + 1]), r && this.delete(t), u = this.get(i), this.set(t, n);
85
- } else {
86
- !d && l[e - 1] === t && (d = !0);
87
- let n = l[d ? e : e - 1], r = u;
88
- u = this.get(n), this.delete(n), this.set(n, r);
89
- }
90
- return this;
91
- }
92
- with(t, n, r) {
93
- let i = new e(this);
94
- return i.insert(t, n, r), i;
95
- }
96
- before(e) {
97
- let t = this.#e.indexOf(e) - 1;
98
- if (!(t < 0)) return this.entryAt(t);
99
- }
100
- setBefore(e, t, n) {
101
- let r = this.#e.indexOf(e);
102
- return r === -1 ? this : this.insert(r, t, n);
103
- }
104
- after(e) {
105
- let t = this.#e.indexOf(e);
106
- if (t = t === -1 || t === this.size - 1 ? -1 : t + 1, t !== -1) return this.entryAt(t);
107
- }
108
- setAfter(e, t, n) {
109
- let r = this.#e.indexOf(e);
110
- return r === -1 ? this : this.insert(r + 1, t, n);
111
- }
112
- first() {
113
- return this.entryAt(0);
114
- }
115
- last() {
116
- return this.entryAt(-1);
117
- }
118
- clear() {
119
- return this.#e = [], super.clear();
120
- }
121
- delete(e) {
122
- let t = super.delete(e);
123
- return t && this.#e.splice(this.#e.indexOf(e), 1), t;
124
- }
125
- deleteAt(e) {
126
- let t = this.keyAt(e);
127
- return t === void 0 ? !1 : this.delete(t);
128
- }
129
- at(e) {
130
- let t = u(this.#e, e);
131
- if (t !== void 0) return this.get(t);
132
- }
133
- entryAt(e) {
134
- let t = u(this.#e, e);
135
- if (t !== void 0) return [t, this.get(t)];
136
- }
137
- indexOf(e) {
138
- return this.#e.indexOf(e);
139
- }
140
- keyAt(e) {
141
- return u(this.#e, e);
142
- }
143
- from(e, t) {
144
- let n = this.indexOf(e);
145
- if (n === -1) return;
146
- let r = n + t;
147
- return r < 0 && (r = 0), r >= this.size && (r = this.size - 1), this.at(r);
148
- }
149
- keyFrom(e, t) {
150
- let n = this.indexOf(e);
151
- if (n === -1) return;
152
- let r = n + t;
153
- return r < 0 && (r = 0), r >= this.size && (r = this.size - 1), this.keyAt(r);
154
- }
155
- find(e, t) {
156
- let n = 0;
157
- for (let r of this) {
158
- if (Reflect.apply(e, t, [
159
- r,
160
- n,
161
- this
162
- ])) return r;
163
- n++;
164
- }
165
- }
166
- findIndex(e, t) {
167
- let n = 0;
168
- for (let r of this) {
169
- if (Reflect.apply(e, t, [
170
- r,
171
- n,
172
- this
173
- ])) return n;
174
- n++;
175
- }
176
- return -1;
177
- }
178
- filter(t, n) {
179
- let r = [], i = 0;
180
- for (let e of this) Reflect.apply(t, n, [
181
- e,
182
- i,
183
- this
184
- ]) && r.push(e), i++;
185
- return new e(r);
186
- }
187
- map(t, n) {
188
- let r = [], i = 0;
189
- for (let e of this) r.push([e[0], Reflect.apply(t, n, [
190
- e,
191
- i,
192
- this
193
- ])]), i++;
194
- return new e(r);
195
- }
196
- reduce(...e) {
197
- let [t, n] = e, r = 0, i = n ?? this.at(0);
198
- for (let n of this) i = r === 0 && e.length === 1 ? n : Reflect.apply(t, this, [
199
- i,
200
- n,
201
- r,
202
- this
203
- ]), r++;
204
- return i;
205
- }
206
- reduceRight(...e) {
207
- let [t, n] = e, r = n ?? this.at(-1);
208
- for (let n = this.size - 1; n >= 0; n--) {
209
- let i = this.at(n);
210
- r = n === this.size - 1 && e.length === 1 ? i : Reflect.apply(t, this, [
211
- r,
212
- i,
213
- n,
214
- this
215
- ]);
216
- }
217
- return r;
218
- }
219
- toSorted(t) {
220
- return new e([...this.entries()].sort(t));
221
- }
222
- toReversed() {
223
- let t = new e();
224
- for (let e = this.size - 1; e >= 0; e--) {
225
- let n = this.keyAt(e), r = this.get(n);
226
- t.set(n, r);
227
- }
228
- return t;
229
- }
230
- toSpliced(...t) {
231
- let n = [...this.entries()];
232
- return n.splice(...t), new e(n);
233
- }
234
- slice(t, n) {
235
- let r = new e(), i = this.size - 1;
236
- if (t === void 0) return r;
237
- t < 0 && (t += this.size), n !== void 0 && n > 0 && (i = n - 1);
238
- for (let e = t; e <= i; e++) {
239
- let t = this.keyAt(e), n = this.get(t);
240
- r.set(t, n);
241
- }
242
- return r;
243
- }
244
- every(e, t) {
245
- let n = 0;
246
- for (let r of this) {
247
- if (!Reflect.apply(e, t, [
248
- r,
249
- n,
250
- this
251
- ])) return !1;
252
- n++;
253
- }
254
- return !0;
255
- }
256
- some(e, t) {
257
- let n = 0;
258
- for (let r of this) {
259
- if (Reflect.apply(e, t, [
260
- r,
261
- n,
262
- this
263
- ])) return !0;
264
- n++;
265
- }
266
- return !1;
267
- }
268
- };
269
- function u(e, t) {
270
- if ("at" in Array.prototype) return Array.prototype.at.call(e, t);
271
- let n = d(e, t);
272
- return n === -1 ? void 0 : e[n];
273
- }
274
- o(u, "at");
275
- function d(e, t) {
276
- let n = e.length, r = f(t), i = r >= 0 ? r : n + r;
277
- return i < 0 || i >= n ? -1 : i;
278
- }
279
- o(d, "toSafeIndex");
280
- function f(e) {
281
- return e !== e || e === 0 ? 0 : Math.trunc(e);
282
- }
283
- o(f, "toSafeInteger");
284
- /* @__NO_SIDE_EFFECTS__ */
285
- function p(a) {
286
- let s = a + "CollectionProvider", [c, u] = n(s), [d, f] = c(s, {
287
- collectionElement: null,
288
- collectionRef: { current: null },
289
- collectionRefObject: { current: null },
290
- itemMap: new l(),
291
- setItemMap: /* @__PURE__ */ o(() => void 0, "setItemMap")
292
- }), p = /* @__PURE__ */ o(({ state: e, ...t }) => e ? /* @__PURE__ */ i(v, {
293
- ...t,
294
- state: e
295
- }) : /* @__PURE__ */ i(h, { ...t }), "CollectionProvider");
296
- p.displayName = s;
297
- let h = /* @__PURE__ */ o((e) => {
298
- let t = T();
299
- return /* @__PURE__ */ i(v, {
300
- ...e,
301
- state: t
302
- });
303
- }, "CollectionInit");
304
- h.displayName = s + "Init";
305
- let v = /* @__PURE__ */ o((t) => {
306
- let { scope: n, children: a, state: o } = t, s = r.useRef(null), [c, l] = r.useState(null), u = e(s, l), [f, p] = o;
307
- return r.useEffect(() => {
308
- if (!c) return;
309
- let e = _(() => {});
310
- return e.observe(c, {
311
- childList: !0,
312
- subtree: !0
313
- }), () => {
314
- e.disconnect();
315
- };
316
- }, [c]), /* @__PURE__ */ i(d, {
317
- scope: n,
318
- itemMap: f,
319
- setItemMap: p,
320
- collectionRef: u,
321
- collectionRefObject: s,
322
- collectionElement: c,
323
- children: a
324
- });
325
- }, "CollectionProviderImpl");
326
- v.displayName = s + "Impl";
327
- let y = a + "CollectionSlot", b = t(y), x = r.forwardRef((t, n) => {
328
- let { scope: r, children: a } = t;
329
- return /* @__PURE__ */ i(b, {
330
- ref: e(n, f(y, r).collectionRef),
331
- children: a
332
- });
333
- });
334
- x.displayName = y;
335
- let S = a + "CollectionItemSlot", C = t(S), w = r.forwardRef((t, n) => {
336
- let { scope: a, children: o, ...s } = t, c = r.useRef(null), [u, d] = r.useState(null), p = e(n, c, d), { setItemMap: h } = f(S, a), _ = r.useRef(s);
337
- m(_.current, s) || (_.current = s);
338
- let v = _.current;
339
- return r.useEffect(() => {
340
- let e = v;
341
- return h((t) => u ? t.has(u) ? t.set(u, {
342
- ...e,
343
- element: u
344
- }).toSorted(g) : (t.set(u, {
345
- ...e,
346
- element: u
347
- }), t.toSorted(g)) : t), () => {
348
- h((e) => !u || !e.has(u) ? e : (e.delete(u), new l(e)));
349
- };
350
- }, [
351
- u,
352
- v,
353
- h
354
- ]), /* @__PURE__ */ i(C, {
355
- "data-radix-collection-item": "",
356
- ref: p,
357
- children: o
358
- });
359
- });
360
- w.displayName = S;
361
- function T() {
362
- return r.useState(new l());
363
- }
364
- o(T, "useInitCollection");
365
- function E(e) {
366
- let { itemMap: t } = f(a + "CollectionConsumer", e);
367
- return t;
368
- }
369
- return o(E, "useCollection"), [{
370
- Provider: p,
371
- Slot: x,
372
- ItemSlot: w
373
- }, {
374
- createCollectionScope: u,
375
- useCollection: E,
376
- useInitCollection: T
377
- }];
378
- }
379
- o(p, "createCollection");
380
- function m(e, t) {
381
- if (e === t) return !0;
382
- if (typeof e != "object" || typeof t != "object" || e == null || t == null) return !1;
383
- let n = Object.keys(e), r = Object.keys(t);
384
- if (n.length !== r.length) return !1;
385
- for (let r of n) if (!Object.prototype.hasOwnProperty.call(t, r) || e[r] !== t[r]) return !1;
386
- return !0;
387
- }
388
- o(m, "shallowEqual");
389
- function h(e, t) {
390
- return !!(t.compareDocumentPosition(e) & Node.DOCUMENT_POSITION_PRECEDING);
391
- }
392
- o(h, "isElementPreceding");
393
- function g(e, t) {
394
- return !e[1].element || !t[1].element ? 0 : h(e[1].element, t[1].element) ? -1 : 1;
395
- }
396
- o(g, "sortByDocumentPosition");
397
- function _(e) {
398
- return new MutationObserver((t) => {
399
- for (let n of t) if (n.type === "childList") {
400
- e();
401
- return;
402
- }
403
- });
404
- }
405
- o(_, "getChildListObserver");
406
- //#endregion
407
- export { s as t };
@@ -1 +0,0 @@
1
- const e=require("./chunk-mLOUI7ql.js");let t=require("react");t=e.r(t,1);let n=require("react/jsx-runtime");var r=Object.defineProperty,i=(e,t)=>r(e,`name`,{value:t,configurable:!0});function a(e,r){let a=t.createContext(r);a.displayName=e+`Context`;let o=i(e=>{let{children:r,...i}=e,o=t.useMemo(()=>i,Object.values(i));return(0,n.jsx)(a.Provider,{value:o,children:r})},`Provider`);o.displayName=e+`Provider`;function s(n,i={}){let{optional:o=!1}=i,s=t.useContext(a);if(s)return s;if(r!==void 0)return r;if(!o)throw Error(`\`${n}\` must be used within \`${e}\``)}return i(s,`useContext`),[o,s]}i(a,`createContext`);function o(e,r=[]){let a=[];function o(r,o){let s=t.createContext(o);s.displayName=r+`Context`;let c=a.length;a=[...a,o];let l=i(r=>{let{scope:i,children:a,...o}=r,l=i?.[e]?.[c]||s,u=t.useMemo(()=>o,Object.values(o));return(0,n.jsx)(l.Provider,{value:u,children:a})},`Provider`);l.displayName=r+`Provider`;function u(n,i,a={}){let{optional:l=!1}=a,u=i?.[e]?.[c]||s,d=t.useContext(u);if(d)return d;if(o!==void 0)return o;if(!l)throw Error(`\`${n}\` must be used within \`${r}\``)}return i(u,`useContext`),[l,u]}i(o,`createContext`);let c=i(()=>{let n=a.map(e=>t.createContext(e));return i(function(r){let i=r?.[e]||n;return t.useMemo(()=>({[`__scope${e}`]:{...r,[e]:i}}),[r,i])},`useScope`)},`createScope`);return c.scopeName=e,[o,s(c,...r)]}i(o,`createContextScope`);function s(...e){let n=e[0];if(e.length===1)return n;let r=i(()=>{let r=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return i(function(e){let i=r.reduce((t,{useScope:n,scopeName:r})=>{let i=n(e)[`__scope${r}`];return{...t,...i}},{});return t.useMemo(()=>({[`__scope${n.scopeName}`]:i}),[i])},`useComposedScopes`)},`createScope`);return r.scopeName=n.scopeName,r}i(s,`composeContextScopes`),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return o}});
@@ -1 +0,0 @@
1
- const e=require("./chunk-mLOUI7ql.js"),t=require("./dist-NEeQKKDZ.js"),n=require("./dist-BoNQb2nd.js"),r=require("./dist-DYUvPCPC.js"),i=require("./dist-v9094Auw.js"),a=require("./dist-DZiOPWLp.js"),o=require("./dist-CGgemr2V.js"),s=require("./dist-YAADIsyo.js"),c=require("./dist-C8Pm6LRc.js"),l=require("./dist-mHQuNOH-.js"),u=require("./dist-C83rnWRv.js");let d=require("react");d=e.r(d,1);let f=require("react/jsx-runtime");var p=Object.defineProperty,m=(e,t)=>p(e,`name`,{value:t,configurable:!0}),h=!1;function g(){let[e,t]=d.useState(h);return d.useEffect(()=>{h||(h=!0,t(!0))},[]),e}m(g,`useIsHydrated`);var _=d.useSyncExternalStore;function v(){return()=>{}}m(v,`subscribe`);function y(){return _(v,()=>!0,()=>!1)}m(y,`useIsHydratedModern`);var b=typeof _==`function`?y:g,x=Object.defineProperty,S=(e,t)=>x(e,`name`,{value:t,configurable:!0}),C=`rovingFocusGroup.onEntryFocus`,w={bubbles:!1,cancelable:!0},T=`RovingFocusGroup`,[E,D,O]=i.t(T),[k,A]=r.t(T,[O]),[j,M]=k(T),N=d.forwardRef(S(function(e,t){return(0,f.jsx)(E.Provider,{scope:e.__scopeRovingFocusGroup,children:(0,f.jsx)(E.Slot,{scope:e.__scopeRovingFocusGroup,children:(0,f.jsx)(P,{...e,ref:t})})})},`RovingFocusGroup`)),P=d.forwardRef(S(function(e,r){let{__scopeRovingFocusGroup:i,orientation:o,loop:c=!1,dir:p,currentTabStopId:m,defaultCurrentTabStopId:h,onCurrentTabStopIdChange:g,onEntryFocus:_,preventScrollOnEntryFocus:v=!1,...y}=e,b=d.useRef(null),x=t.a(r,b),S=l.n(p),[E,O]=s.t({prop:m,defaultProp:h??null,onChange:g,caller:T}),[k,A]=d.useState(!1),M=u.t(_),N=D(i),P=d.useRef(!1),[F,I]=d.useState(0);return d.useEffect(()=>{let e=b.current;if(e)return e.addEventListener(C,M),()=>e.removeEventListener(C,M)},[M]),(0,f.jsx)(j,{scope:i,orientation:o,dir:S,loop:c,currentTabStopId:E,onItemFocus:d.useCallback(e=>O(e),[O]),onItemShiftTab:d.useCallback(()=>A(!0),[]),onFocusableItemAdd:d.useCallback(()=>I(e=>e+1),[]),onFocusableItemRemove:d.useCallback(()=>I(e=>e-1),[]),children:(0,f.jsx)(n.t.div,{tabIndex:k||F===0?-1:0,"data-orientation":o,...y,ref:x,style:{outline:`none`,...e.style},onMouseDown:a.t(e.onMouseDown,()=>{P.current=!0}),onFocus:a.t(e.onFocus,e=>{let t=!P.current;if(e.target===e.currentTarget&&t&&!k){let t=new CustomEvent(C,w);if(e.currentTarget.dispatchEvent(t),!t.defaultPrevented){let e=N().filter(e=>e.focusable);B([e.find(e=>e.active),e.find(e=>e.id===E),...e].filter(Boolean).map(e=>e.ref.current),v)}}P.current=!1}),onBlur:a.t(e.onBlur,()=>A(!1))})})},`RovingFocusGroupImpl`)),F=`RovingFocusGroupItem`,I=d.forwardRef(S(function(e,t){let{__scopeRovingFocusGroup:r,focusable:i=!0,active:s=!1,tabStopId:l,children:u,...p}=e,m=c.t(),h=l||m,g=M(F,r),_=g.currentTabStopId===h,v=D(r),{onFocusableItemAdd:y,onFocusableItemRemove:x,currentTabStopId:S}=g,C=b();return o.t(()=>{if(!(!C||!i))return y(),()=>x()},[C,i,y,x]),d.useEffect(()=>{if(!(C||!i))return y(),()=>x()},[C,i,y,x]),(0,f.jsx)(E.ItemSlot,{scope:r,id:h,focusable:i,active:s,children:(0,f.jsx)(n.t.span,{tabIndex:_?0:-1,"data-orientation":g.orientation,...p,ref:t,onMouseDown:a.t(e.onMouseDown,e=>{i?g.onItemFocus(h):e.preventDefault()}),onFocus:a.t(e.onFocus,()=>g.onItemFocus(h)),onKeyDown:a.t(e.onKeyDown,e=>{if(e.key===`Tab`&&e.shiftKey){g.onItemShiftTab();return}if(e.target!==e.currentTarget)return;let t=z(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?V(n,r+1):n.slice(r+1)}setTimeout(()=>B(n))}}),children:typeof u==`function`?u({isCurrentTabStop:_,hasTabStop:S!=null}):u})})},`RovingFocusGroupItem`)),L={ArrowLeft:`prev`,ArrowUp:`prev`,ArrowRight:`next`,ArrowDown:`next`,PageUp:`first`,Home:`first`,PageDown:`last`,End:`last`};function R(e,t){return t===`rtl`?e===`ArrowLeft`?`ArrowRight`:e===`ArrowRight`?`ArrowLeft`:e:e}S(R,`getDirectionAwareKey`);function z(e,t,n){let r=R(e.key,n);if(!(t===`vertical`&&[`ArrowLeft`,`ArrowRight`].includes(r))&&!(t===`horizontal`&&[`ArrowUp`,`ArrowDown`].includes(r)))return L[r]}S(z,`getFocusIntent`);function B(e,t=!1){let n=document.activeElement;for(let r of e)if(r===n||(r.focus({preventScroll:t}),document.activeElement!==n))return}S(B,`focusFirst`);function V(e,t){return e.map((n,r)=>e[(t+r)%e.length])}S(V,`wrapArray`);var H=N,U=I;Object.defineProperty(exports,"n",{enumerable:!0,get:function(){return H}}),Object.defineProperty(exports,"r",{enumerable:!0,get:function(){return A}}),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return U}});
@@ -1,213 +0,0 @@
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-D7UHN1DJ.mjs";
5
- import { t as i } from "./dist-BPhn-EOy.mjs";
6
- import { t as a } from "./dist-9-j0_8D1.mjs";
7
- import { a as o, c as s, i as c, l, n as u, o as d, r as f, s as p, t as m } from "./floating-ui.react-dom-CyupHsR6.mjs";
8
- import * as h from "react";
9
- import { jsx as g } from "react/jsx-runtime";
10
- //#region ../../node_modules/.bun/@radix-ui+react-arrow@1.1.15+2b23df507bdda662/node_modules/@radix-ui/react-arrow/dist/index.mjs
11
- var _ = Object.defineProperty, v = /* @__PURE__ */ h.forwardRef(/* @__PURE__ */ ((e, t) => _(e, "name", {
12
- value: t,
13
- configurable: !0
14
- }))(function(e, n) {
15
- let { children: r, width: i = 10, height: a = 5, ...o } = e;
16
- return /* @__PURE__ */ g(t.svg, {
17
- ...o,
18
- ref: n,
19
- width: i,
20
- height: a,
21
- viewBox: "0 0 30 10",
22
- preserveAspectRatio: "none",
23
- children: e.asChild ? r : /* @__PURE__ */ g("polygon", { points: "0,0 30,0 15,10" })
24
- });
25
- }, "Arrow")), y = Object.defineProperty, b = (e, t) => y(e, "name", {
26
- value: t,
27
- configurable: !0
28
- }), x = "Popper", [S, C] = n(x), [w, T] = S(x), E = /* @__PURE__ */ b((e) => {
29
- let { __scopePopper: t, children: n } = e, [r, i] = h.useState(null), [a, o] = h.useState(void 0);
30
- return /* @__PURE__ */ g(w, {
31
- scope: t,
32
- anchor: r,
33
- onAnchorChange: i,
34
- placementState: a,
35
- setPlacementState: o,
36
- children: n
37
- });
38
- }, "Popper"), D = "PopperAnchor", O = /* @__PURE__ */ h.forwardRef(/* @__PURE__ */ b(function(n, r) {
39
- let { __scopePopper: i, virtualRef: a, ...o } = n, s = T(D, i), c = h.useRef(null), l = s.onAnchorChange, u = e(r, h.useCallback((e) => {
40
- c.current = e, e && l(e);
41
- }, [l])), d = h.useRef(null);
42
- h.useEffect(() => {
43
- if (!a) return;
44
- let e = d.current;
45
- d.current = a.current, e !== d.current && l(d.current);
46
- });
47
- let f = s.placementState && I(s.placementState), p = f?.[0], m = f?.[1];
48
- return a ? null : /* @__PURE__ */ g(t.div, {
49
- "data-radix-popper-side": p,
50
- "data-radix-popper-align": m,
51
- ...o,
52
- ref: u
53
- });
54
- }, "PopperAnchor")), k = "PopperContent", [ee, A] = S(k), j = /* @__PURE__ */ h.forwardRef(/* @__PURE__ */ b(function(n, _) {
55
- let { __scopePopper: v, side: y = "bottom", sideOffset: x = 0, align: S = "center", alignOffset: C = 0, arrowPadding: w = 0, avoidCollisions: E = !0, collisionBoundary: D = [], collisionPadding: O = 0, sticky: A = "partial", hideWhenDetached: j = !1, updatePositionStrategy: M = "optimized", onPlaced: N, ...P } = n, L = T(k, v), [R, z] = h.useState(null), B = e(_, z), [V, ne] = h.useState(null), H = a(V), re = H?.width ?? 0, U = H?.height ?? 0, ie = y + (S === "center" ? "" : "-" + S), ae = typeof O == "number" ? O : {
56
- top: 0,
57
- right: 0,
58
- bottom: 0,
59
- left: 0,
60
- ...O
61
- }, W = Array.isArray(D) ? D : [D], G = W.length > 0, K = {
62
- padding: ae,
63
- boundary: W.filter(F),
64
- altBoundary: G
65
- }, { refs: oe, floatingStyles: q, placement: J, isPositioned: Y, middlewareData: X } = s({
66
- strategy: "fixed",
67
- placement: ie,
68
- whileElementsMounted: /* @__PURE__ */ b((...e) => l(...e, { animationFrame: M === "always" }), "whileElementsMounted"),
69
- elements: { reference: L.anchor },
70
- middleware: [
71
- o({
72
- mainAxis: x + U,
73
- alignmentAxis: C
74
- }),
75
- E && d({
76
- mainAxis: !0,
77
- crossAxis: !1,
78
- limiter: A === "partial" ? c() : void 0,
79
- ...K
80
- }),
81
- E && u({ ...K }),
82
- p({
83
- ...K,
84
- apply: /* @__PURE__ */ b(({ elements: e, rects: t, availableWidth: n, availableHeight: r }) => {
85
- let { width: i, height: a } = t.reference, o = e.floating.style;
86
- o.setProperty("--radix-popper-available-width", `${n}px`), o.setProperty("--radix-popper-available-height", `${r}px`), o.setProperty("--radix-popper-anchor-width", `${i}px`), o.setProperty("--radix-popper-anchor-height", `${a}px`);
87
- }, "apply")
88
- }),
89
- V && m({
90
- element: V,
91
- padding: w
92
- }),
93
- te({
94
- arrowWidth: re,
95
- arrowHeight: U
96
- }),
97
- j && f({
98
- strategy: "referenceHidden",
99
- ...K,
100
- boundary: G ? K.boundary : void 0
101
- })
102
- ]
103
- }), Z = L.setPlacementState;
104
- r(() => (Z(J), () => {
105
- Z(void 0);
106
- }), [J, Z]);
107
- let [Q, $] = I(J), se = i(N);
108
- r(() => {
109
- Y && se?.();
110
- }, [Y, se]);
111
- let ce = X.arrow?.x, le = X.arrow?.y, ue = X.arrow?.centerOffset !== 0, [de, fe] = h.useState();
112
- return r(() => {
113
- R && fe(window.getComputedStyle(R).zIndex);
114
- }, [R]), /* @__PURE__ */ g("div", {
115
- ref: oe.setFloating,
116
- "data-radix-popper-content-wrapper": "",
117
- style: {
118
- ...q,
119
- transform: Y ? q.transform : "translate(0, -200%)",
120
- minWidth: "max-content",
121
- zIndex: de,
122
- "--radix-popper-transform-origin": [X.transformOrigin?.x, X.transformOrigin?.y].join(" "),
123
- ...X.hide?.referenceHidden && {
124
- visibility: "hidden",
125
- pointerEvents: "none"
126
- }
127
- },
128
- dir: n.dir,
129
- children: /* @__PURE__ */ g(ee, {
130
- scope: v,
131
- placedSide: Q,
132
- placedAlign: $,
133
- onArrowChange: ne,
134
- arrowX: ce,
135
- arrowY: le,
136
- shouldHideArrow: ue,
137
- children: /* @__PURE__ */ g(t.div, {
138
- "data-side": Q,
139
- "data-align": $,
140
- ...P,
141
- ref: B,
142
- style: {
143
- ...P.style,
144
- animation: Y ? P.style?.animation : "none"
145
- }
146
- })
147
- })
148
- });
149
- }, "PopperContent")), M = "PopperArrow", N = {
150
- top: "bottom",
151
- right: "left",
152
- bottom: "top",
153
- left: "right"
154
- }, P = /* @__PURE__ */ h.forwardRef(/* @__PURE__ */ b(function(e, t) {
155
- let { __scopePopper: n, ...r } = e, i = A(M, n), a = N[i.placedSide];
156
- return /* @__PURE__ */ g("span", {
157
- ref: i.onArrowChange,
158
- style: {
159
- position: "absolute",
160
- left: i.arrowX,
161
- top: i.arrowY,
162
- [a]: 0,
163
- transformOrigin: {
164
- top: "",
165
- right: "0 0",
166
- bottom: "center 0",
167
- left: "100% 0"
168
- }[i.placedSide],
169
- transform: {
170
- top: "translateY(100%)",
171
- right: "translateY(50%) rotate(90deg) translateX(-50%)",
172
- bottom: "rotate(180deg)",
173
- left: "translateY(50%) rotate(-90deg) translateX(50%)"
174
- }[i.placedSide],
175
- visibility: i.shouldHideArrow ? "hidden" : void 0
176
- },
177
- children: /* @__PURE__ */ g(v, {
178
- ...r,
179
- ref: t,
180
- style: {
181
- ...r.style,
182
- display: "block"
183
- }
184
- })
185
- });
186
- }, "PopperArrow"));
187
- function F(e) {
188
- return e !== null;
189
- }
190
- b(F, "isNotNull");
191
- var te = /* @__PURE__ */ b((e) => ({
192
- name: "transformOrigin",
193
- options: e,
194
- fn(t) {
195
- let { placement: n, rects: r, middlewareData: i } = t, a = i.arrow?.centerOffset !== 0, o = a ? 0 : e.arrowWidth, s = a ? 0 : e.arrowHeight, [c, l] = I(n), u = {
196
- start: "0%",
197
- center: "50%",
198
- end: "100%"
199
- }[l], d = (i.arrow?.x ?? 0) + o / 2, f = (i.arrow?.y ?? 0) + s / 2, p = "", m = "";
200
- return c === "bottom" ? (p = a ? u : `${d}px`, m = `${-s}px`) : c === "top" ? (p = a ? u : `${d}px`, m = `${r.floating.height + s}px`) : c === "right" ? (p = `${-s}px`, m = a ? u : `${f}px`) : c === "left" && (p = `${r.floating.width + s}px`, m = a ? u : `${f}px`), { data: {
201
- x: p,
202
- y: m
203
- } };
204
- }
205
- }), "transformOrigin");
206
- function I(e) {
207
- let [t, n = "center"] = e.split("-");
208
- return [t, n];
209
- }
210
- b(I, "getSideAndAlignFromPlacement");
211
- var L = E, R = O, z = j, B = P;
212
- //#endregion
213
- export { C as a, L as i, B as n, z as r, R as t };
@@ -1 +0,0 @@
1
- const e=require("./chunk-mLOUI7ql.js"),t=require("./dist-NEeQKKDZ.js"),n=require("./dist-BoNQb2nd.js"),r=require("./dist-DYUvPCPC.js"),i=require("./dist-DZiOPWLp.js"),a=require("./dist-CGgemr2V.js"),o=require("./dist-YAADIsyo.js"),s=require("./dist-D7-Fky36.js"),c=require("./dist-C8Pm6LRc.js");let l=require("react");l=e.r(l,1);let u=require("react/jsx-runtime");var d=Object.defineProperty,f=(e,t)=>d(e,`name`,{value:t,configurable:!0}),p=`Collapsible`,[m,h]=r.t(p),[g,_]=m(p),v=l.forwardRef(f(function(e,t){let{__scopeCollapsible:r,open:i,defaultOpen:a,disabled:s,onOpenChange:d,...f}=e,[m,h]=o.t({prop:i,defaultProp:a??!1,onChange:d,caller:p});return(0,u.jsx)(g,{scope:r,disabled:s,contentId:c.t(),open:m,onOpenToggle:l.useCallback(()=>h(e=>!e),[h]),children:(0,u.jsx)(n.t.div,{"data-state":w(m),"data-disabled":s?``:void 0,...f,ref:t})})},`Collapsible`)),y=`CollapsibleTrigger`,b=l.forwardRef(f(function(e,t){let{__scopeCollapsible:r,...a}=e,o=_(y,r);return(0,u.jsx)(n.t.button,{type:`button`,"aria-controls":o.open?o.contentId:void 0,"aria-expanded":o.open||!1,"data-state":w(o.open),"data-disabled":o.disabled?``:void 0,disabled:o.disabled,...a,ref:t,onClick:i.t(e.onClick,o.onOpenToggle)})},`CollapsibleTrigger`)),x=`CollapsibleContent`,S=l.forwardRef(f(function(e,t){let{forceMount:n,...r}=e,i=_(x,e.__scopeCollapsible);return(0,u.jsx)(s.t,{present:n||i.open,children:({present:e})=>(0,u.jsx)(C,{...r,ref:t,present:e})})},`CollapsibleContent`)),C=l.forwardRef(f(function(e,r){let{__scopeCollapsible:i,present:o,children:s,...c}=e,d=_(x,i),[f,p]=l.useState(o),m=l.useRef(null),h=t.a(r,m),g=l.useRef(0),v=g.current,y=l.useRef(0),b=y.current,S=d.open||f,C=l.useRef(S),T=l.useRef(void 0);return l.useEffect(()=>{let e=requestAnimationFrame(()=>C.current=!1);return()=>cancelAnimationFrame(e)},[]),a.t(()=>{let e=m.current;if(e){T.current=T.current||{transitionDuration:e.style.transitionDuration,animationName:e.style.animationName},e.style.transitionDuration=`0s`,e.style.animationName=`none`;let t=e.getBoundingClientRect();g.current=t.height,y.current=t.width,C.current||(e.style.transitionDuration=T.current.transitionDuration,e.style.animationName=T.current.animationName),p(o)}},[d.open,o]),(0,u.jsx)(n.t.div,{"data-state":w(d.open),"data-disabled":d.disabled?``:void 0,id:d.contentId,hidden:!S,...c,ref:h,style:{"--radix-collapsible-content-height":v?`${v}px`:void 0,"--radix-collapsible-content-width":b?`${b}px`:void 0,...e.style},children:S&&s})},`CollapsibleContentImpl`));function w(e){return e?`open`:`closed`}f(w,`getState`);var T=v,E=b,D=S;Object.defineProperty(exports,"a",{enumerable:!0,get:function(){return E}}),Object.defineProperty(exports,"i",{enumerable:!0,get:function(){return T}}),Object.defineProperty(exports,"n",{enumerable:!0,get:function(){return b}}),Object.defineProperty(exports,"o",{enumerable:!0,get:function(){return h}}),Object.defineProperty(exports,"r",{enumerable:!0,get:function(){return D}}),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return S}});
@@ -1 +0,0 @@
1
- const e=require("./chunk-mLOUI7ql.js");let t=require("react");t=e.r(t,1);var n=Object.defineProperty,r=(e,t)=>n(e,`name`,{value:t,configurable:!0});function i(e,t){if(typeof e==`function`)return e(t);e!=null&&(e.current=t)}r(i,`setRef`);function a(...e){return t=>{let n=!1,r=e.map(e=>{let r=i(e,t);return!n&&typeof r==`function`&&(n=!0),r});if(n)return()=>{for(let t=0;t<r.length;t++){let n=r[t];typeof n==`function`?n():i(e[t],null)}}}}r(a,`composeRefs`);function o(...e){return t.useCallback(a(...e),e)}r(o,`useComposedRefs`);var s=Object.defineProperty,c=(e,t)=>s(e,`name`,{value:t,configurable:!0});function l(e){let n=t.forwardRef((n,r)=>{let{children:i,...a}=n,s=null,c=!1,l=[];v(i)&&typeof S==`function`&&(i=S(i._payload)),t.Children.forEach(i,e=>{if(g(e)){c=!0;let t=e,n=`child`in t.props?t.props.child:t.props.children;v(n)&&typeof S==`function`&&(n=S(n._payload)),s=p(t,n),l.push(s?.props?.children)}else l.push(e)}),s?s=t.cloneElement(s,void 0,l):!c&&t.Children.count(i)===1&&t.isValidElement(i)&&(s=i);let u=s?h(s):void 0,d=o(r,u);if(!s){if(i||i===0)throw Error(c?x(e):b(e));return i}let f=m(a,s.props??{});return s.type!==t.Fragment&&(f.ref=r?d:u),t.cloneElement(s,f)});return n.displayName=`${e}.Slot`,n}c(l,`createSlot`);var u=l(`Slot`),d=Symbol.for(`radix.slottable`);function f(e){let t=c(e=>`child`in e?e.children(e.child):e.children,`Slottable`);return t.displayName=`${e}.Slottable`,t.__radixId=d,t}c(f,`createSlottable`);var p=c((e,n)=>{if(`child`in e.props){let n=e.props.child;return t.isValidElement(n)?t.cloneElement(n,void 0,e.props.children(n.props.children)):null}return t.isValidElement(n)?n:null},`getSlottableElementFromSlottable`);function m(e,t){let n={...t};for(let r in t){let i=e[r],a=t[r];/^on[A-Z]/.test(r)?i&&a?n[r]=(...e)=>{let t=a(...e);return i(...e),t}:i&&(n[r]=i):r===`style`?n[r]={...i,...a}:r===`className`&&(n[r]=[i,a].filter(Boolean).join(` `))}return{...e,...n}}c(m,`mergeProps`);function h(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)}c(h,`getElementRef`);function g(e){return t.isValidElement(e)&&typeof e.type==`function`&&`__radixId`in e.type&&e.type.__radixId===d}c(g,`isSlottable`);var _=Symbol.for(`react.lazy`);function v(e){return typeof e==`object`&&!!e&&`$$typeof`in e&&e.$$typeof===_&&`_payload`in e&&y(e._payload)}c(v,`isLazyComponent`);function y(e){return typeof e==`object`&&!!e&&`then`in e}c(y,`isPromiseLike`);var b=c(e=>`${e} failed to slot onto its children. Expected a single React element child or \`Slottable\`.`,`createSlotError`),x=c(e=>`${e} failed to slot onto its \`Slottable\`. Expected \`Slottable\` to receive a single React element child.`,`createSlottableError`),S=t.use;Object.defineProperty(exports,"a",{enumerable:!0,get:function(){return o}}),Object.defineProperty(exports,"i",{enumerable:!0,get:function(){return a}}),Object.defineProperty(exports,"n",{enumerable:!0,get:function(){return l}}),Object.defineProperty(exports,"r",{enumerable:!0,get:function(){return f}}),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return u}});
@@ -1 +0,0 @@
1
- const e=require("./chunk-mLOUI7ql.js"),t=require("./dist-CGgemr2V.js");let n=require("react");n=e.r(n,1);var r=Object.defineProperty,i=(e,t)=>r(e,`name`,{value:t,configurable:!0});function a(e){let[r,i]=n.useState(void 0);return t.t(()=>{if(e){i({width:e.offsetWidth,height:e.offsetHeight});let t=new ResizeObserver(t=>{if(!Array.isArray(t)||!t.length)return;let n=t[0],r,a;if(`borderBoxSize`in n){let e=n.borderBoxSize,t=Array.isArray(e)?e[0]:e;r=t.inlineSize,a=t.blockSize}else r=e.offsetWidth,a=e.offsetHeight;i({width:r,height:a})});return t.observe(e,{box:`border-box`}),()=>t.unobserve(e)}else i(void 0)},[e]),r}i(a,`useSize`),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return a}});
@@ -1 +0,0 @@
1
- const e=require("./chunk-mLOUI7ql.js"),t=require("./dist-CGgemr2V.js");let n=require("react");n=e.r(n,1);var r=Object.defineProperty,i=(e,t)=>r(e,`name`,{value:t,configurable:!0}),a=n.useEffectEvent,o=n.useInsertionEffect;function s(e){if(typeof a==`function`)return a(e);let r=n.useRef(()=>{throw Error(`Cannot call an event handler while rendering.`)});return typeof o==`function`?o(()=>{r.current=e}):t.t(()=>{r.current=e}),n.useMemo(()=>((...e)=>r.current?.(...e)),[])}i(s,`useEffectEvent`);var c=Object.defineProperty,l=(e,t)=>c(e,`name`,{value:t,configurable:!0}),u=n.useInsertionEffect||t.t;function d({prop:e,defaultProp:t,onChange:r=l(()=>{},`onChange`),caller:i}){let[a,o,s]=f({defaultProp:t,onChange:r}),c=e!==void 0;return[c?e:a,n.useCallback(t=>{if(c){let n=p(t)?t(e):t;n!==e&&s.current?.(n)}else o(t)},[c,e,o,s])]}l(d,`useControllableState`);function f({defaultProp:e,onChange:t}){let[r,i]=n.useState(e),a=n.useRef(r),o=n.useRef(t);return u(()=>{o.current=t},[t]),n.useEffect(()=>{a.current!==r&&(o.current?.(r),a.current=r)},[r,a]),[r,i,o]}l(f,`useUncontrolledState`);function p(e){return typeof e==`function`}l(p,`isFunction`);var m=Symbol(`RADIX:SYNC_STATE`);function h(e,t,r,i){let{prop:a,defaultProp:o,onChange:c,caller:l}=t,u=a!==void 0,d=s(c),f=[{...r,state:o}];i&&f.push(i);let[p,h]=n.useReducer((t,n)=>{if(n.type===m)return{...t,state:n.state};let r=e(t,n);return u&&!Object.is(r.state,t.state)&&d(r.state),r},...f),g=p.state,_=n.useRef(g);n.useEffect(()=>{_.current!==g&&(_.current=g,u||d(g))},[g,_,u]);let v=n.useMemo(()=>a===void 0?p:{...p,state:a},[p,a]);return n.useEffect(()=>{u&&!Object.is(a,p.state)&&h({type:m,state:a})},[a,p.state,u]),[v,h]}l(h,`useControllableStateReducer`),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return d}});
@@ -1,20 +0,0 @@
1
- import * as e from "react";
2
- import { jsx as t } from "react/jsx-runtime";
3
- //#region ../../node_modules/.bun/@radix-ui+react-direction@1.1.4+0ac650c021fb1b59/node_modules/@radix-ui/react-direction/dist/index.mjs
4
- var n = Object.defineProperty, r = (e, t) => n(e, "name", {
5
- value: t,
6
- configurable: !0
7
- }), i = e.createContext(void 0), a = /* @__PURE__ */ r((e) => {
8
- let { dir: n, children: r } = e;
9
- return /* @__PURE__ */ t(i.Provider, {
10
- value: n,
11
- children: r
12
- });
13
- }, "DirectionProvider");
14
- function o(t) {
15
- let n = e.useContext(i);
16
- return t || n || "ltr";
17
- }
18
- r(o, "useDirection");
19
- //#endregion
20
- export { o as n, a as t };
@@ -1 +0,0 @@
1
- const e=require("./chunk-mLOUI7ql.js");let t=require("react");t=e.r(t,1);let n=require("react/jsx-runtime");var r=Object.defineProperty,i=(e,t)=>r(e,`name`,{value:t,configurable:!0}),a=t.createContext(void 0),o=i(e=>{let{dir:t,children:r}=e;return(0,n.jsx)(a.Provider,{value:t,children:r})},`DirectionProvider`);function s(e){let n=t.useContext(a);return e||n||`ltr`}i(s,`useDirection`),Object.defineProperty(exports,"n",{enumerable:!0,get:function(){return s}}),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return o}});