@gv-tech/ui-web 2.28.0 → 2.29.0

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 (574) hide show
  1. package/dist/__contracts.d.ts +44 -1
  2. package/dist/__contracts.d.ts.map +1 -1
  3. package/dist/accordion-BgbjpZAF.js +1 -0
  4. package/dist/accordion-Bqt-y-u7.mjs +239 -0
  5. package/dist/accordion.cjs +1 -1
  6. package/dist/accordion.d.ts +4 -4
  7. package/dist/accordion.d.ts.map +1 -1
  8. package/dist/accordion.mjs +1 -1
  9. package/dist/alert-dialog-BkUyJb_F.mjs +182 -0
  10. package/dist/alert-dialog-DonbkCSD.js +1 -0
  11. package/dist/alert-dialog.cjs +1 -1
  12. package/dist/alert-dialog.d.ts +12 -12
  13. package/dist/alert-dialog.d.ts.map +1 -1
  14. package/dist/alert-dialog.mjs +1 -1
  15. package/dist/alert.cjs +1 -1
  16. package/dist/alert.d.ts +4 -4
  17. package/dist/alert.d.ts.map +1 -1
  18. package/dist/alert.mjs +2 -2
  19. package/dist/{aspect-ratio-DnChDaBi.mjs → aspect-ratio-C7oBX-p_.mjs} +10 -9
  20. package/dist/aspect-ratio-X3HWxQz0.js +1 -0
  21. package/dist/aspect-ratio.cjs +1 -1
  22. package/dist/aspect-ratio.d.ts +1 -1
  23. package/dist/aspect-ratio.d.ts.map +1 -1
  24. package/dist/aspect-ratio.mjs +1 -1
  25. package/dist/attachment.cjs +1 -0
  26. package/dist/attachment.d.ts +23 -0
  27. package/dist/attachment.d.ts.map +1 -0
  28. package/dist/attachment.mjs +101 -0
  29. package/dist/attachment.test.d.ts +2 -0
  30. package/dist/attachment.test.d.ts.map +1 -0
  31. package/dist/avatar-DTkhTxt7.mjs +133 -0
  32. package/dist/avatar-DhvZbCtI.js +1 -0
  33. package/dist/avatar.cjs +1 -1
  34. package/dist/avatar.d.ts +6 -6
  35. package/dist/avatar.d.ts.map +1 -1
  36. package/dist/avatar.mjs +1 -1
  37. package/dist/badge.cjs +1 -1
  38. package/dist/badge.d.ts +1 -1
  39. package/dist/badge.d.ts.map +1 -1
  40. package/dist/badge.mjs +1 -1
  41. package/dist/breadcrumb.cjs +1 -1
  42. package/dist/breadcrumb.d.ts +7 -7
  43. package/dist/breadcrumb.d.ts.map +1 -1
  44. package/dist/breadcrumb.mjs +25 -25
  45. package/dist/bubble.cjs +1 -0
  46. package/dist/bubble.d.ts +13 -0
  47. package/dist/bubble.d.ts.map +1 -0
  48. package/dist/bubble.mjs +72 -0
  49. package/dist/bubble.test.d.ts +2 -0
  50. package/dist/bubble.test.d.ts.map +1 -0
  51. package/dist/button-group.cjs +1 -1
  52. package/dist/button-group.d.ts +3 -3
  53. package/dist/button-group.d.ts.map +1 -1
  54. package/dist/button-group.mjs +6 -6
  55. package/dist/button.cjs +1 -1
  56. package/dist/button.d.ts +1 -1
  57. package/dist/button.d.ts.map +1 -1
  58. package/dist/button.mjs +6 -6
  59. package/dist/calendar-Bo8kovKR.js +1 -0
  60. package/dist/{calendar-Dg6VGycy.mjs → calendar-CkHWa9Uu.mjs} +825 -803
  61. package/dist/calendar.cjs +1 -1
  62. package/dist/calendar.d.ts +2 -2
  63. package/dist/calendar.d.ts.map +1 -1
  64. package/dist/calendar.mjs +1 -1
  65. package/dist/card.cjs +1 -1
  66. package/dist/card.d.ts +7 -7
  67. package/dist/card.d.ts.map +1 -1
  68. package/dist/card.mjs +5 -5
  69. package/dist/carousel-Cv5isLeg.js +1 -0
  70. package/dist/{carousel-DbDoNdqJ.mjs → carousel-ynaeMNIV.mjs} +53 -53
  71. package/dist/carousel.cjs +1 -1
  72. package/dist/carousel.d.ts +5 -5
  73. package/dist/carousel.d.ts.map +1 -1
  74. package/dist/carousel.mjs +1 -1
  75. package/dist/chart.cjs +1 -1
  76. package/dist/chart.d.ts +4 -4
  77. package/dist/chart.d.ts.map +1 -1
  78. package/dist/chart.mjs +1 -1
  79. package/dist/checkbox-BLvAEmRC.mjs +182 -0
  80. package/dist/checkbox-Dt06B4YW.js +1 -0
  81. package/dist/checkbox.cjs +1 -1
  82. package/dist/checkbox.d.ts +1 -1
  83. package/dist/checkbox.d.ts.map +1 -1
  84. package/dist/checkbox.mjs +1 -1
  85. package/dist/chunk-HBS6WEDP-CQNaACTf.js +1 -0
  86. package/dist/chunk-HBS6WEDP-CzyhzCaP.mjs +63 -0
  87. package/dist/collapsible.cjs +1 -1
  88. package/dist/collapsible.d.ts +3 -3
  89. package/dist/collapsible.d.ts.map +1 -1
  90. package/dist/collapsible.mjs +1 -1
  91. package/dist/combobox-BB_YzCTY.js +4 -0
  92. package/dist/combobox-YxjYGUoe.mjs +5748 -0
  93. package/dist/combobox.cjs +1 -1
  94. package/dist/combobox.d.ts +14 -14
  95. package/dist/combobox.d.ts.map +1 -1
  96. package/dist/combobox.mjs +1 -1
  97. package/dist/command-BqO-CfH6.js +1 -0
  98. package/dist/command-DY6u8V0D.mjs +545 -0
  99. package/dist/command.cjs +1 -1
  100. package/dist/command.d.ts +9 -9
  101. package/dist/command.d.ts.map +1 -1
  102. package/dist/command.mjs +1 -1
  103. package/dist/context-menu-Dad9hs94.js +1 -0
  104. package/dist/context-menu-tL6CY6a0.mjs +318 -0
  105. package/dist/context-menu.cjs +1 -1
  106. package/dist/context-menu.d.ts +15 -15
  107. package/dist/context-menu.d.ts.map +1 -1
  108. package/dist/context-menu.mjs +1 -1
  109. package/dist/dialog.cjs +1 -1
  110. package/dist/dialog.d.ts +10 -10
  111. package/dist/dialog.d.ts.map +1 -1
  112. package/dist/dialog.mjs +25 -25
  113. package/dist/direction.cjs +1 -1
  114. package/dist/direction.d.ts +1 -1
  115. package/dist/direction.d.ts.map +1 -1
  116. package/dist/direction.mjs +1 -1
  117. package/dist/dist-5r7hQmO0.mjs +187 -0
  118. package/dist/dist-6c2NeKfz.mjs +536 -0
  119. package/dist/dist-8fYwoWd4.mjs +111 -0
  120. package/dist/{dist-N3JLy7yk.mjs → dist-9-j0_8D1.mjs} +9 -4
  121. package/dist/dist-BIXhHahX.mjs +30 -0
  122. package/dist/dist-BMl8xXCH.mjs +188 -0
  123. package/dist/dist-BOKg7rhq.js +1 -0
  124. package/dist/dist-BPhn-EOy.mjs +15 -0
  125. package/dist/{dist-Cacc4QIh.mjs → dist-BQhMregZ.mjs} +9 -5
  126. package/dist/dist-BTN2t9yv.js +1 -0
  127. package/dist/dist-BUXpRW9O.mjs +100 -0
  128. package/dist/{dist-xgVOvcNx.mjs → dist-Bivv8B6p.mjs} +8 -3
  129. package/dist/dist-BoNQb2nd.js +1 -0
  130. package/dist/dist-ByW6RHeZ.mjs +94 -0
  131. package/dist/dist-C83rnWRv.js +1 -0
  132. package/dist/dist-C8Pm6LRc.js +1 -0
  133. package/dist/dist-CBsYNwXz.mjs +16 -0
  134. package/dist/dist-CS572Be42.mjs +11 -0
  135. package/dist/dist-CYrqAnIr.mjs +182 -0
  136. package/dist/dist-C_iFkwIX.js +1 -0
  137. package/dist/dist-CdBAkUWT.js +1 -0
  138. package/dist/dist-Cn7g8jD0.js +1 -0
  139. package/dist/dist-D7-Fky36.js +1 -0
  140. package/dist/{dist-C9PlF532.mjs → dist-D7UHN1DJ.mjs} +1 -1
  141. package/dist/dist-DJqkhIXb2.js +1 -0
  142. package/dist/dist-DMwCTE2i.mjs +90 -0
  143. package/dist/dist-DOoZ3vGL.mjs +407 -0
  144. package/dist/dist-DYUvPCPC.js +1 -0
  145. package/dist/dist-DZiOPWLp.js +1 -0
  146. package/dist/dist-DcRkoHAk.js +1 -0
  147. package/dist/dist-DfvK7DpO.mjs +213 -0
  148. package/dist/dist-Dg9ASyqI.mjs +96 -0
  149. package/dist/dist-Dj9s8AIv.js +1 -0
  150. package/dist/dist-Dm3IQk5b.mjs +685 -0
  151. package/dist/dist-DyMv0xk8.mjs +41 -0
  152. package/dist/dist-NEeQKKDZ.js +1 -0
  153. package/dist/dist-N_70prl1.js +1 -0
  154. package/dist/dist-YAADIsyo.js +1 -0
  155. package/dist/dist-dMp9dzmY.mjs +20 -0
  156. package/dist/dist-mHQuNOH-.js +1 -0
  157. package/dist/dist-oyFh63Uq.js +1 -0
  158. package/dist/dist-rx5WaFf5.mjs +20 -0
  159. package/dist/dist-v-Y6tnMq.js +1 -0
  160. package/dist/dist-v9094Auw.js +1 -0
  161. package/dist/dist-yA6iVq_M.js +1 -0
  162. package/dist/drawer.cjs +1 -1
  163. package/dist/drawer.d.ts +10 -10
  164. package/dist/drawer.d.ts.map +1 -1
  165. package/dist/drawer.mjs +2 -2
  166. package/dist/{dropdown-menu-CriaO1_i.mjs → dropdown-menu-BWqWoYis.mjs} +117 -151
  167. package/dist/dropdown-menu-BpZcobmP.js +1 -0
  168. package/dist/dropdown-menu.cjs +1 -1
  169. package/dist/dropdown-menu.d.ts +15 -15
  170. package/dist/dropdown-menu.d.ts.map +1 -1
  171. package/dist/dropdown-menu.mjs +1 -1
  172. package/dist/empty.cjs +1 -1
  173. package/dist/empty.d.ts +6 -6
  174. package/dist/empty.d.ts.map +1 -1
  175. package/dist/empty.mjs +2 -2
  176. package/dist/{es2015-BhmbVcui.mjs → es2015-CYxXY2oV.mjs} +242 -216
  177. package/dist/es2015-t2RPC0Rg.js +41 -0
  178. package/dist/field.cjs +1 -1
  179. package/dist/field.d.ts +11 -11
  180. package/dist/field.d.ts.map +1 -1
  181. package/dist/field.mjs +4 -4
  182. package/dist/floating-ui.react-dom-BwFRxNGc.js +1 -0
  183. package/dist/{floating-ui.react-dom-DgS_bqyY.mjs → floating-ui.react-dom-CyupHsR6.mjs} +249 -276
  184. package/dist/form.cjs +1 -1
  185. package/dist/form.d.ts +6 -4
  186. package/dist/form.d.ts.map +1 -1
  187. package/dist/form.mjs +8 -8
  188. package/dist/hover-card-7NjGqlP0.js +1 -0
  189. package/dist/hover-card-DuRUptxQ.mjs +176 -0
  190. package/dist/hover-card.cjs +1 -1
  191. package/dist/hover-card.d.ts +3 -3
  192. package/dist/hover-card.d.ts.map +1 -1
  193. package/dist/hover-card.mjs +1 -1
  194. package/dist/index.cjs +1 -1
  195. package/dist/index.d.ts +6 -0
  196. package/dist/index.d.ts.map +1 -1
  197. package/dist/index.mjs +40 -34
  198. package/dist/input-group.cjs +1 -1
  199. package/dist/input-group.d.ts +7 -7
  200. package/dist/input-group.d.ts.map +1 -1
  201. package/dist/input-group.mjs +4 -4
  202. package/dist/input-otp-D9MwUsPO.js +20 -0
  203. package/dist/input-otp-m_BTudNY.mjs +409 -0
  204. package/dist/input-otp.cjs +1 -1
  205. package/dist/input-otp.d.ts +4 -4
  206. package/dist/input-otp.d.ts.map +1 -1
  207. package/dist/input-otp.mjs +1 -1
  208. package/dist/input.cjs +1 -1
  209. package/dist/input.d.ts +1 -1
  210. package/dist/input.d.ts.map +1 -1
  211. package/dist/input.mjs +1 -1
  212. package/dist/item.cjs +1 -1
  213. package/dist/item.d.ts +11 -11
  214. package/dist/item.d.ts.map +1 -1
  215. package/dist/item.mjs +4 -4
  216. package/dist/kbd.cjs +1 -1
  217. package/dist/kbd.d.ts +2 -2
  218. package/dist/kbd.d.ts.map +1 -1
  219. package/dist/kbd.mjs +2 -2
  220. package/dist/label-CgKiKHKG.js +1 -0
  221. package/dist/label-DVA-YKpB.mjs +28 -0
  222. package/dist/label.cjs +1 -1
  223. package/dist/label.d.ts +1 -1
  224. package/dist/label.d.ts.map +1 -1
  225. package/dist/label.mjs +1 -1
  226. package/dist/marker.cjs +1 -0
  227. package/dist/marker.d.ts +12 -0
  228. package/dist/marker.d.ts.map +1 -0
  229. package/dist/marker.mjs +40 -0
  230. package/dist/marker.test.d.ts +2 -0
  231. package/dist/marker.test.d.ts.map +1 -0
  232. package/dist/{menubar-BcyqIJgy.mjs → menubar-CyKBLHme.mjs} +130 -166
  233. package/dist/menubar-DlOMZeh1.js +1 -0
  234. package/dist/menubar.cjs +1 -1
  235. package/dist/menubar.d.ts +16 -16
  236. package/dist/menubar.d.ts.map +1 -1
  237. package/dist/menubar.mjs +1 -1
  238. package/dist/message-scroller-DqLu0YI6.js +1 -0
  239. package/dist/message-scroller-FwdKclRM.mjs +824 -0
  240. package/dist/message-scroller.cjs +1 -0
  241. package/dist/message-scroller.d.ts +13 -0
  242. package/dist/message-scroller.d.ts.map +1 -0
  243. package/dist/message-scroller.mjs +3 -0
  244. package/dist/message-scroller.test.d.ts +2 -0
  245. package/dist/message-scroller.test.d.ts.map +1 -0
  246. package/dist/message.cjs +1 -0
  247. package/dist/message.d.ts +11 -0
  248. package/dist/message.d.ts.map +1 -0
  249. package/dist/message.mjs +50 -0
  250. package/dist/message.test.d.ts +2 -0
  251. package/dist/message.test.d.ts.map +1 -0
  252. package/dist/native-select.cjs +1 -1
  253. package/dist/native-select.d.ts +3 -3
  254. package/dist/native-select.d.ts.map +1 -1
  255. package/dist/native-select.mjs +12 -12
  256. package/dist/navigation-menu-BzE1J1rs.mjs +608 -0
  257. package/dist/navigation-menu-CrR01R8Z.js +1 -0
  258. package/dist/navigation-menu.cjs +1 -1
  259. package/dist/navigation-menu.d.ts +8 -8
  260. package/dist/navigation-menu.d.ts.map +1 -1
  261. package/dist/navigation-menu.mjs +1 -1
  262. package/dist/pagination.cjs +1 -1
  263. package/dist/pagination.d.ts +7 -7
  264. package/dist/pagination.d.ts.map +1 -1
  265. package/dist/pagination.mjs +40 -34
  266. package/dist/popover-CFF_HXSf.mjs +222 -0
  267. package/dist/popover-D9pVy08c.js +1 -0
  268. package/dist/popover.cjs +1 -1
  269. package/dist/popover.d.ts +7 -7
  270. package/dist/popover.d.ts.map +1 -1
  271. package/dist/popover.mjs +1 -1
  272. package/dist/progress-ClcVCqjl.mjs +93 -0
  273. package/dist/progress-nfJMuKGj.js +6 -0
  274. package/dist/progress.cjs +1 -1
  275. package/dist/progress.d.ts +1 -1
  276. package/dist/progress.d.ts.map +1 -1
  277. package/dist/progress.mjs +1 -1
  278. package/dist/questionnaire-DKWcZeWT.mjs +1159 -0
  279. package/dist/questionnaire-PWClWvST.js +1 -0
  280. package/dist/questionnaire.cjs +1 -0
  281. package/dist/questionnaire.d.ts +22 -0
  282. package/dist/questionnaire.d.ts.map +1 -0
  283. package/dist/questionnaire.mjs +4 -0
  284. package/dist/questionnaire.test.d.ts +2 -0
  285. package/dist/questionnaire.test.d.ts.map +1 -0
  286. package/dist/radio-group-5VwmCXRK.mjs +265 -0
  287. package/dist/radio-group-DhXnB0fI.js +1 -0
  288. package/dist/radio-group.cjs +1 -1
  289. package/dist/radio-group.d.ts +2 -2
  290. package/dist/radio-group.d.ts.map +1 -1
  291. package/dist/radio-group.mjs +1 -1
  292. package/dist/resizable-ChIqXiu4.js +1 -0
  293. package/dist/{resizable-DJSE3e5L.mjs → resizable-CpovHnG-.mjs} +341 -329
  294. package/dist/resizable.cjs +1 -1
  295. package/dist/resizable.d.ts +3 -3
  296. package/dist/resizable.d.ts.map +1 -1
  297. package/dist/resizable.mjs +1 -1
  298. package/dist/scroll-area-CUqjuvqH.js +1 -0
  299. package/dist/{scroll-area-8QcqkHnC.mjs → scroll-area-DstdIGvS.mjs} +151 -142
  300. package/dist/scroll-area.cjs +1 -1
  301. package/dist/scroll-area.d.ts +2 -2
  302. package/dist/scroll-area.d.ts.map +1 -1
  303. package/dist/scroll-area.mjs +1 -1
  304. package/dist/scroll-to-top.cjs +1 -1
  305. package/dist/scroll-to-top.d.ts +1 -1
  306. package/dist/scroll-to-top.d.ts.map +1 -1
  307. package/dist/scroll-to-top.mjs +11 -11
  308. package/dist/search.cjs +1 -1
  309. package/dist/search.d.ts +1 -1
  310. package/dist/search.d.ts.map +1 -1
  311. package/dist/search.mjs +17 -17
  312. package/dist/select-CnCTQeh7.js +1 -0
  313. package/dist/select-CnHZdna2.mjs +792 -0
  314. package/dist/select.cjs +1 -1
  315. package/dist/select.d.ts +10 -10
  316. package/dist/select.d.ts.map +1 -1
  317. package/dist/select.mjs +1 -1
  318. package/dist/separator-BXaVJadH.js +1 -0
  319. package/dist/separator-D1a8myFf.mjs +38 -0
  320. package/dist/separator.cjs +1 -1
  321. package/dist/separator.d.ts +1 -1
  322. package/dist/separator.d.ts.map +1 -1
  323. package/dist/separator.mjs +1 -1
  324. package/dist/sheet.cjs +1 -1
  325. package/dist/sheet.d.ts +8 -8
  326. package/dist/sheet.d.ts.map +1 -1
  327. package/dist/sheet.mjs +23 -23
  328. package/dist/{sidebar-B-sWccYh.mjs → sidebar-B5q6nH2G.mjs} +64 -64
  329. package/dist/sidebar-ns_2TNBM.js +1 -0
  330. package/dist/sidebar.cjs +1 -1
  331. package/dist/sidebar.d.ts +24 -24
  332. package/dist/sidebar.d.ts.map +1 -1
  333. package/dist/sidebar.mjs +1 -1
  334. package/dist/skeleton.cjs +1 -1
  335. package/dist/skeleton.d.ts +1 -1
  336. package/dist/skeleton.d.ts.map +1 -1
  337. package/dist/skeleton.mjs +1 -1
  338. package/dist/slider-PoIV6N-u.js +1 -0
  339. package/dist/slider-ZnyQjYsS.mjs +460 -0
  340. package/dist/slider.cjs +1 -1
  341. package/dist/slider.d.ts +1 -1
  342. package/dist/slider.d.ts.map +1 -1
  343. package/dist/slider.mjs +1 -1
  344. package/dist/sonner.cjs +1 -1
  345. package/dist/sonner.d.ts +2 -4
  346. package/dist/sonner.d.ts.map +1 -1
  347. package/dist/sonner.mjs +8 -8
  348. package/dist/spinner.cjs +1 -1
  349. package/dist/spinner.d.ts +1 -1
  350. package/dist/spinner.d.ts.map +1 -1
  351. package/dist/spinner.mjs +5 -4
  352. package/dist/support-fab.cjs +1 -1
  353. package/dist/support-fab.d.ts +1 -1
  354. package/dist/support-fab.d.ts.map +1 -1
  355. package/dist/support-fab.mjs +22 -22
  356. package/dist/switch-DLY8PkmL.js +1 -0
  357. package/dist/switch-DagjjAQu.mjs +170 -0
  358. package/dist/switch.cjs +1 -1
  359. package/dist/switch.d.ts +1 -1
  360. package/dist/switch.d.ts.map +1 -1
  361. package/dist/switch.mjs +1 -1
  362. package/dist/table-of-contents.cjs +1 -1
  363. package/dist/table-of-contents.d.ts +4 -3
  364. package/dist/table-of-contents.d.ts.map +1 -1
  365. package/dist/table-of-contents.mjs +2 -2
  366. package/dist/table.cjs +1 -1
  367. package/dist/table.d.ts +8 -8
  368. package/dist/table.d.ts.map +1 -1
  369. package/dist/table.mjs +1 -1
  370. package/dist/tabs-OQ6rj-3B.mjs +158 -0
  371. package/dist/tabs-QBWdNfSK.js +1 -0
  372. package/dist/tabs.cjs +1 -1
  373. package/dist/tabs.d.ts +4 -4
  374. package/dist/tabs.d.ts.map +1 -1
  375. package/dist/tabs.mjs +1 -1
  376. package/dist/textarea.cjs +1 -1
  377. package/dist/textarea.d.ts +1 -1
  378. package/dist/textarea.d.ts.map +1 -1
  379. package/dist/textarea.mjs +1 -1
  380. package/dist/theme-provider.d.ts +1 -1
  381. package/dist/theme-provider.d.ts.map +1 -1
  382. package/dist/{theme-toggle-clE-HpSS.mjs → theme-toggle-BCcH-QtH.mjs} +20 -20
  383. package/dist/theme-toggle-Q3UHstP_.js +1 -0
  384. package/dist/theme-toggle.cjs +1 -1
  385. package/dist/theme-toggle.d.ts +1 -1
  386. package/dist/theme-toggle.d.ts.map +1 -1
  387. package/dist/theme-toggle.mjs +1 -1
  388. package/dist/{toast-DVI6jPq5.mjs → toast-BOdziIGg.mjs} +165 -169
  389. package/dist/toast-D1fjLwO1.js +1 -0
  390. package/dist/toast.cjs +1 -1
  391. package/dist/toast.mjs +1 -1
  392. package/dist/{toaster-Czhz-ktg.mjs → toaster-CKAJ9cht.mjs} +1 -1
  393. package/dist/{toaster-DfDb2-aI.js → toaster-DS9iODKU.js} +1 -1
  394. package/dist/toaster.cjs +1 -1
  395. package/dist/toaster.d.ts +1 -1
  396. package/dist/toaster.d.ts.map +1 -1
  397. package/dist/toaster.mjs +1 -1
  398. package/dist/toggle-CuLxBIWH.mjs +59 -0
  399. package/dist/toggle-DtpvPox_.js +1 -0
  400. package/dist/toggle-group-DfkvPKU_.mjs +164 -0
  401. package/dist/toggle-group-UHY0Tip1.js +1 -0
  402. package/dist/toggle-group.cjs +1 -1
  403. package/dist/toggle-group.d.ts +2 -2
  404. package/dist/toggle-group.d.ts.map +1 -1
  405. package/dist/toggle-group.mjs +1 -1
  406. package/dist/toggle.cjs +1 -1
  407. package/dist/toggle.d.ts +1 -1
  408. package/dist/toggle.d.ts.map +1 -1
  409. package/dist/toggle.mjs +1 -1
  410. package/dist/tooltip-BbCL1gtU.mjs +384 -0
  411. package/dist/tooltip-BvpyStn2.js +1 -0
  412. package/dist/tooltip.cjs +1 -1
  413. package/dist/tooltip.d.ts +4 -4
  414. package/dist/tooltip.d.ts.map +1 -1
  415. package/dist/tooltip.mjs +1 -1
  416. package/package.json +3 -1
  417. package/src/__contracts.ts +163 -0
  418. package/src/accordion.tsx +3 -4
  419. package/src/alert-dialog.tsx +5 -5
  420. package/src/alert.tsx +2 -3
  421. package/src/attachment.tsx +203 -0
  422. package/src/breadcrumb.tsx +3 -4
  423. package/src/bubble.tsx +116 -0
  424. package/src/button-group.tsx +5 -5
  425. package/src/button.tsx +5 -6
  426. package/src/calendar.tsx +6 -5
  427. package/src/card.tsx +5 -5
  428. package/src/carousel.tsx +7 -7
  429. package/src/chart.tsx +1 -4
  430. package/src/checkbox.tsx +3 -4
  431. package/src/combobox.tsx +8 -7
  432. package/src/command.tsx +7 -7
  433. package/src/context-menu.tsx +9 -10
  434. package/src/dialog.tsx +5 -5
  435. package/src/drawer.tsx +2 -3
  436. package/src/dropdown-menu.tsx +9 -10
  437. package/src/empty.tsx +2 -3
  438. package/src/field.tsx +5 -4
  439. package/src/hover-card.tsx +2 -3
  440. package/src/index.ts +54 -0
  441. package/src/input-group.tsx +8 -7
  442. package/src/input-otp.tsx +3 -3
  443. package/src/input.tsx +1 -2
  444. package/src/item.tsx +4 -3
  445. package/src/kbd.tsx +3 -2
  446. package/src/label.tsx +1 -2
  447. package/src/marker.tsx +62 -0
  448. package/src/menubar.tsx +10 -11
  449. package/src/message-scroller.tsx +134 -0
  450. package/src/message.tsx +86 -0
  451. package/src/native-select.tsx +2 -2
  452. package/src/navigation-menu.tsx +7 -8
  453. package/src/pagination.tsx +6 -6
  454. package/src/popover.tsx +2 -3
  455. package/src/progress.tsx +1 -2
  456. package/src/questionnaire.tsx +334 -0
  457. package/src/radio-group.tsx +2 -3
  458. package/src/resizable.tsx +1 -4
  459. package/src/scroll-area.tsx +2 -3
  460. package/src/select.tsx +7 -8
  461. package/src/separator.tsx +3 -4
  462. package/src/sheet.tsx +5 -5
  463. package/src/sidebar.tsx +14 -13
  464. package/src/skeleton.tsx +1 -1
  465. package/src/slider.tsx +4 -5
  466. package/src/sonner.tsx +0 -5
  467. package/src/spinner.tsx +10 -2
  468. package/src/switch.tsx +3 -4
  469. package/src/table-of-contents.tsx +7 -2
  470. package/src/table.tsx +1 -2
  471. package/src/tabs.tsx +8 -9
  472. package/src/textarea.tsx +1 -2
  473. package/src/toggle-group.tsx +4 -4
  474. package/src/toggle.tsx +3 -4
  475. package/src/tooltip.tsx +2 -3
  476. package/dist/accordion-Dd8Hrexd.mjs +0 -244
  477. package/dist/accordion-DdSOiVyo.js +0 -1
  478. package/dist/alert-dialog-B7zX3gJX.js +0 -7
  479. package/dist/alert-dialog-BQoG5g_w.mjs +0 -213
  480. package/dist/aspect-ratio-QD1ZXP2B.js +0 -1
  481. package/dist/avatar-C4onD8-4.mjs +0 -127
  482. package/dist/avatar-ki_M47qG.js +0 -1
  483. package/dist/calendar-D9sapvfY.js +0 -1
  484. package/dist/carousel-6oFHLN7R.js +0 -1
  485. package/dist/checkbox-BLgY82mB.js +0 -1
  486. package/dist/checkbox-Bts_zfqd.mjs +0 -173
  487. package/dist/combobox-6qNx9Wbb.js +0 -4
  488. package/dist/combobox-yDMqxM_J.mjs +0 -5522
  489. package/dist/command-C6wJ5giF.mjs +0 -576
  490. package/dist/command-DCrPL1iW.js +0 -1
  491. package/dist/context-menu-CydUpD4W.mjs +0 -349
  492. package/dist/context-menu-DQ7XuuG5.js +0 -1
  493. package/dist/dist-1C8JOpVg.js +0 -1
  494. package/dist/dist-B1OcuinL.mjs +0 -558
  495. package/dist/dist-BGZDG175.mjs +0 -199
  496. package/dist/dist-BPBwSSyk.mjs +0 -8
  497. package/dist/dist-BPX1UGAz2.js +0 -1
  498. package/dist/dist-BRsDdVlJ.js +0 -1
  499. package/dist/dist-BWwCr-xN.mjs +0 -118
  500. package/dist/dist-BYdcKuDi.mjs +0 -16
  501. package/dist/dist-BlB11V_z.mjs +0 -27
  502. package/dist/dist-Bm8Cuttq.mjs +0 -76
  503. package/dist/dist-Byhx2fDJ.js +0 -1
  504. package/dist/dist-CCXBcfM3.js +0 -1
  505. package/dist/dist-CCokLFyA.mjs +0 -10
  506. package/dist/dist-CDU9vno-.mjs +0 -18
  507. package/dist/dist-CEJNUZGZ.js +0 -1
  508. package/dist/dist-CJolxugc.js +0 -1
  509. package/dist/dist-CQhWBhaI.mjs +0 -91
  510. package/dist/dist-CRLbUj9C.js +0 -1
  511. package/dist/dist-CSkpam6a.js +0 -1
  512. package/dist/dist-CWElW7UD.js +0 -1
  513. package/dist/dist-CXbzwSnE.js +0 -1
  514. package/dist/dist-CYj6O95k.mjs +0 -220
  515. package/dist/dist-C_45sBzc2.js +0 -1
  516. package/dist/dist-Cb7OVHcJ.js +0 -1
  517. package/dist/dist-Ccv5O-Vw.js +0 -1
  518. package/dist/dist-ChuP-5Gb.js +0 -1
  519. package/dist/dist-CiM892Rg.js +0 -1
  520. package/dist/dist-CuMQq0hV.js +0 -1
  521. package/dist/dist-DGzGsPqo2.mjs +0 -6
  522. package/dist/dist-DMnXk8Uo.js +0 -1
  523. package/dist/dist-DPBTfUqI.mjs +0 -96
  524. package/dist/dist-DR0lXVFG.js +0 -1
  525. package/dist/dist-Da7BU5sd.js +0 -5
  526. package/dist/dist-Df2ez-DA.mjs +0 -12
  527. package/dist/dist-DuTFGM_g.mjs +0 -45
  528. package/dist/dist-DynSBUGq.js +0 -1
  529. package/dist/dist-Dz3LbuDd.mjs +0 -60
  530. package/dist/dist-GhACpuJb2.mjs +0 -73
  531. package/dist/dist-o4zlRoDG.js +0 -1
  532. package/dist/dist-rGeQfsgN.mjs +0 -66
  533. package/dist/dist-tvb2Wafb.mjs +0 -153
  534. package/dist/dropdown-menu-BoJvZ3Fj.js +0 -1
  535. package/dist/es2015-D22cM8Q_.js +0 -41
  536. package/dist/floating-ui.react-dom-DpCJEf_x.js +0 -1
  537. package/dist/hover-card-CJ-ibpbC.mjs +0 -187
  538. package/dist/hover-card-CK5SjVLL.js +0 -1
  539. package/dist/input-otp-BH_9dVhh.mjs +0 -391
  540. package/dist/input-otp-BibboKMt.js +0 -20
  541. package/dist/label-BXMSoyyu.js +0 -1
  542. package/dist/label-C8GNfPU0.mjs +0 -25
  543. package/dist/menubar-DPxokWFI.js +0 -1
  544. package/dist/navigation-menu-2yE2MUu-.js +0 -1
  545. package/dist/navigation-menu-N8gkxEXE.mjs +0 -628
  546. package/dist/popover-D1AO-E8p.js +0 -1
  547. package/dist/popover-wQACF3ut.mjs +0 -245
  548. package/dist/progress-DPWSEWa5.mjs +0 -86
  549. package/dist/progress-ShXZwOfj.js +0 -6
  550. package/dist/radio-group-CQbZCQmj.mjs +0 -199
  551. package/dist/radio-group-DAEi5vW_.js +0 -1
  552. package/dist/resizable-Cv-mKMKP.js +0 -1
  553. package/dist/scroll-area-Cqqinhxf.js +0 -1
  554. package/dist/select-DdUveoSA.js +0 -1
  555. package/dist/select-yoeH35x2.mjs +0 -778
  556. package/dist/separator-BU1ea5gl.mjs +0 -35
  557. package/dist/separator-DBjErwHf.js +0 -1
  558. package/dist/shim-B5sEfNEJ.js +0 -1
  559. package/dist/shim-DX33EwUw.mjs +0 -91
  560. package/dist/sidebar-DIW-1cin.js +0 -1
  561. package/dist/slider-CCPXejUF.mjs +0 -388
  562. package/dist/slider-w05gD_Ix.js +0 -1
  563. package/dist/switch-CDBqsWQa.mjs +0 -112
  564. package/dist/switch-X2WBJsUu.js +0 -1
  565. package/dist/tabs-DzvgrVzk.js +0 -1
  566. package/dist/tabs-KDeHjVQU.mjs +0 -160
  567. package/dist/theme-toggle-C2Y4bIM3.js +0 -1
  568. package/dist/toast-1keyrzem.js +0 -1
  569. package/dist/toggle-BGkq5XDM.js +0 -1
  570. package/dist/toggle-BfIIdlA6.mjs +0 -58
  571. package/dist/toggle-group-CbqgoPFU.mjs +0 -167
  572. package/dist/toggle-group-D7hR4BT2.js +0 -1
  573. package/dist/tooltip-CAIbshMk.js +0 -1
  574. package/dist/tooltip-D_o8Z-Ya.mjs +0 -380
@@ -1,220 +0,0 @@
1
- import { a as e, n as t } from "./dist-CQhWBhaI.mjs";
2
- import { t as n } from "./dist-Cacc4QIh.mjs";
3
- import { n as r, t as i } from "./dist-Bm8Cuttq.mjs";
4
- import { t as a } from "./dist-BPBwSSyk.mjs";
5
- import { t as o } from "./dist-DuTFGM_g.mjs";
6
- import { t as s } from "./dist-rGeQfsgN.mjs";
7
- import { t as c } from "./dist-Df2ez-DA.mjs";
8
- import { n as l } from "./dist-BWwCr-xN.mjs";
9
- import { i as u, n as d, r as f, t as p } from "./es2015-BhmbVcui.mjs";
10
- import { t as m } from "./dist-CDU9vno-.mjs";
11
- import * as h from "react";
12
- import { Fragment as g, jsx as _, jsxs as v } from "react/jsx-runtime";
13
- //#region ../../node_modules/.bun/@radix-ui+react-dialog@1.1.15+2d3f272c3a65784a/node_modules/@radix-ui/react-dialog/dist/index.mjs
14
- var y = "Dialog", [b, ee] = r(y), [x, S] = b(y), C = (e) => {
15
- let { __scopeDialog: t, children: n, open: r, defaultOpen: i, onOpenChange: a, modal: s = !0 } = e, l = h.useRef(null), u = h.useRef(null), [d, f] = o({
16
- prop: r,
17
- defaultProp: i ?? !1,
18
- onChange: a,
19
- caller: y
20
- });
21
- return /* @__PURE__ */ _(x, {
22
- scope: t,
23
- triggerRef: l,
24
- contentRef: u,
25
- contentId: c(),
26
- titleId: c(),
27
- descriptionId: c(),
28
- open: d,
29
- onOpenChange: f,
30
- onOpenToggle: h.useCallback(() => f((e) => !e), [f]),
31
- modal: s,
32
- children: n
33
- });
34
- };
35
- C.displayName = y;
36
- var w = "DialogTrigger", T = h.forwardRef((t, r) => {
37
- let { __scopeDialog: i, ...o } = t, s = S(w, i), c = e(r, s.triggerRef);
38
- return /* @__PURE__ */ _(n.button, {
39
- type: "button",
40
- "aria-haspopup": "dialog",
41
- "aria-expanded": s.open,
42
- "aria-controls": s.contentId,
43
- "data-state": G(s.open),
44
- ...o,
45
- ref: c,
46
- onClick: a(t.onClick, s.onOpenToggle)
47
- });
48
- });
49
- T.displayName = w;
50
- var E = "DialogPortal", [D, O] = b(E, { forceMount: void 0 }), k = (e) => {
51
- let { __scopeDialog: t, forceMount: n, children: r, container: i } = e, a = S(E, t);
52
- return /* @__PURE__ */ _(D, {
53
- scope: t,
54
- forceMount: n,
55
- children: h.Children.map(r, (e) => /* @__PURE__ */ _(s, {
56
- present: n || a.open,
57
- children: /* @__PURE__ */ _(m, {
58
- asChild: !0,
59
- container: i,
60
- children: e
61
- })
62
- }))
63
- });
64
- };
65
- k.displayName = E;
66
- var A = "DialogOverlay", j = h.forwardRef((e, t) => {
67
- let n = O(A, e.__scopeDialog), { forceMount: r = n.forceMount, ...i } = e, a = S(A, e.__scopeDialog);
68
- return a.modal ? /* @__PURE__ */ _(s, {
69
- present: r || a.open,
70
- children: /* @__PURE__ */ _(N, {
71
- ...i,
72
- ref: t
73
- })
74
- }) : null;
75
- });
76
- j.displayName = A;
77
- var M = t("DialogOverlay.RemoveScroll"), N = h.forwardRef((e, t) => {
78
- let { __scopeDialog: r, ...i } = e, a = S(A, r);
79
- return /* @__PURE__ */ _(d, {
80
- as: M,
81
- allowPinchZoom: !0,
82
- shards: [a.contentRef],
83
- children: /* @__PURE__ */ _(n.div, {
84
- "data-state": G(a.open),
85
- ...i,
86
- ref: t,
87
- style: {
88
- pointerEvents: "auto",
89
- ...i.style
90
- }
91
- })
92
- });
93
- }), P = "DialogContent", F = h.forwardRef((e, t) => {
94
- let n = O(P, e.__scopeDialog), { forceMount: r = n.forceMount, ...i } = e, a = S(P, e.__scopeDialog);
95
- return /* @__PURE__ */ _(s, {
96
- present: r || a.open,
97
- children: a.modal ? /* @__PURE__ */ _(I, {
98
- ...i,
99
- ref: t
100
- }) : /* @__PURE__ */ _(L, {
101
- ...i,
102
- ref: t
103
- })
104
- });
105
- });
106
- F.displayName = P;
107
- var I = h.forwardRef((t, n) => {
108
- let r = S(P, t.__scopeDialog), i = h.useRef(null), o = e(n, r.contentRef, i);
109
- return h.useEffect(() => {
110
- let e = i.current;
111
- if (e) return p(e);
112
- }, []), /* @__PURE__ */ _(R, {
113
- ...t,
114
- ref: o,
115
- trapFocus: r.open,
116
- disableOutsidePointerEvents: !0,
117
- onCloseAutoFocus: a(t.onCloseAutoFocus, (e) => {
118
- e.preventDefault(), r.triggerRef.current?.focus();
119
- }),
120
- onPointerDownOutside: a(t.onPointerDownOutside, (e) => {
121
- let t = e.detail.originalEvent, n = t.button === 0 && t.ctrlKey === !0;
122
- (t.button === 2 || n) && e.preventDefault();
123
- }),
124
- onFocusOutside: a(t.onFocusOutside, (e) => e.preventDefault())
125
- });
126
- }), L = h.forwardRef((e, t) => {
127
- let n = S(P, e.__scopeDialog), r = h.useRef(!1), i = h.useRef(!1);
128
- return /* @__PURE__ */ _(R, {
129
- ...e,
130
- ref: t,
131
- trapFocus: !1,
132
- disableOutsidePointerEvents: !1,
133
- onCloseAutoFocus: (t) => {
134
- e.onCloseAutoFocus?.(t), t.defaultPrevented || (r.current || n.triggerRef.current?.focus(), t.preventDefault()), r.current = !1, i.current = !1;
135
- },
136
- onInteractOutside: (t) => {
137
- e.onInteractOutside?.(t), t.defaultPrevented || (r.current = !0, t.detail.originalEvent.type === "pointerdown" && (i.current = !0));
138
- let a = t.target;
139
- n.triggerRef.current?.contains(a) && t.preventDefault(), t.detail.originalEvent.type === "focusin" && i.current && t.preventDefault();
140
- }
141
- });
142
- }), R = h.forwardRef((t, n) => {
143
- let { __scopeDialog: r, trapFocus: i, onOpenAutoFocus: a, onCloseAutoFocus: o, ...s } = t, c = S(P, r), d = h.useRef(null), p = e(n, d);
144
- return f(), /* @__PURE__ */ v(g, { children: [/* @__PURE__ */ _(u, {
145
- asChild: !0,
146
- loop: !0,
147
- trapped: i,
148
- onMountAutoFocus: a,
149
- onUnmountAutoFocus: o,
150
- children: /* @__PURE__ */ _(l, {
151
- role: "dialog",
152
- id: c.contentId,
153
- "aria-describedby": c.descriptionId,
154
- "aria-labelledby": c.titleId,
155
- "data-state": G(c.open),
156
- ...s,
157
- ref: p,
158
- onDismiss: () => c.onOpenChange(!1)
159
- })
160
- }), /* @__PURE__ */ v(g, { children: [/* @__PURE__ */ _(Y, { titleId: c.titleId }), /* @__PURE__ */ _(Z, {
161
- contentRef: d,
162
- descriptionId: c.descriptionId
163
- })] })] });
164
- }), z = "DialogTitle", B = h.forwardRef((e, t) => {
165
- let { __scopeDialog: r, ...i } = e, a = S(z, r);
166
- return /* @__PURE__ */ _(n.h2, {
167
- id: a.titleId,
168
- ...i,
169
- ref: t
170
- });
171
- });
172
- B.displayName = z;
173
- var V = "DialogDescription", H = h.forwardRef((e, t) => {
174
- let { __scopeDialog: r, ...i } = e, a = S(V, r);
175
- return /* @__PURE__ */ _(n.p, {
176
- id: a.descriptionId,
177
- ...i,
178
- ref: t
179
- });
180
- });
181
- H.displayName = V;
182
- var U = "DialogClose", W = h.forwardRef((e, t) => {
183
- let { __scopeDialog: r, ...i } = e, o = S(U, r);
184
- return /* @__PURE__ */ _(n.button, {
185
- type: "button",
186
- ...i,
187
- ref: t,
188
- onClick: a(e.onClick, () => o.onOpenChange(!1))
189
- });
190
- });
191
- W.displayName = U;
192
- function G(e) {
193
- return e ? "open" : "closed";
194
- }
195
- var K = "DialogTitleWarning", [q, J] = i(K, {
196
- contentName: P,
197
- titleName: z,
198
- docsSlug: "dialog"
199
- }), Y = ({ titleId: e }) => {
200
- let t = J(K), n = `\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users.
201
-
202
- If you want to hide the \`${t.titleName}\`, you can wrap it with our VisuallyHidden component.
203
-
204
- For more information, see https://radix-ui.com/primitives/docs/components/${t.docsSlug}`;
205
- return h.useEffect(() => {
206
- e && (document.getElementById(e) || console.error(n));
207
- }, [n, e]), null;
208
- }, X = "DialogDescriptionWarning", Z = ({ contentRef: e, descriptionId: t }) => {
209
- let n = `Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${J(X).contentName}}.`;
210
- return h.useEffect(() => {
211
- let r = e.current?.getAttribute("aria-describedby");
212
- t && r && (document.getElementById(t) || console.warn(n));
213
- }, [
214
- n,
215
- e,
216
- t
217
- ]), null;
218
- }, Q = C, te = T, ne = k, $ = j, re = F, ie = B, ae = H, oe = W;
219
- //#endregion
220
- export { ne as a, te as c, $ as i, q as l, re as n, Q as o, ae as r, ie as s, oe as t, ee as u };
@@ -1 +0,0 @@
1
- function e(e,[t,n]){return Math.min(n,Math.max(t,e))}Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return e}});
@@ -1 +0,0 @@
1
- const e=require("./chunk-mLOUI7ql.js");let t=require("react");t=e.r(t,1);function n(e){let n=t.useRef({value:e,previous:e});return t.useMemo(()=>(n.current.value!==e&&(n.current.previous=n.current.value,n.current.value=e),n.current.previous),[e])}Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return n}});
@@ -1 +0,0 @@
1
- const e=require("./chunk-mLOUI7ql.js"),t=require("./dist-CGgemr2V.js");let n=require("react");n=e.r(n,1);function r(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}Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return r}});
@@ -1 +0,0 @@
1
- const e=require("./chunk-mLOUI7ql.js"),t=require("./dist-CiM892Rg.js"),n=require("./dist-CGgemr2V.js");let r=require("react");r=e.r(r,1);let i=require("react-dom");i=e.r(i,1);let a=require("react/jsx-runtime");var o=`Portal`,s=r.forwardRef((e,o)=>{let{container:s,...c}=e,[l,u]=r.useState(!1);n.t(()=>u(!0),[]);let d=s||l&&globalThis?.document?.body;return d?i.default.createPortal((0,a.jsx)(t.t.div,{...c,ref:o}),d):null});s.displayName=o,Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return s}});
@@ -1 +0,0 @@
1
- const e=require("./chunk-mLOUI7ql.js"),t=require("./dist-DR0lXVFG.js");let n=require("react");n=e.r(n,1);let r=require("react-dom");r=e.r(r,1);let i=require("react/jsx-runtime");var a=[`a`,`button`,`div`,`form`,`h2`,`h3`,`img`,`input`,`label`,`li`,`nav`,`ol`,`p`,`select`,`span`,`svg`,`ul`].reduce((e,r)=>{let a=t.n(`Primitive.${r}`),o=n.forwardRef((e,t)=>{let{asChild:n,...o}=e,s=n?a:r;return typeof window<`u`&&(window[Symbol.for(`radix-ui`)]=!0),(0,i.jsx)(s,{...o,ref:t})});return o.displayName=`Primitive.${r}`,{...e,[r]:o}},{});function o(e,t){e&&r.flushSync(()=>e.dispatchEvent(t))}Object.defineProperty(exports,"n",{enumerable:!0,get:function(){return o}}),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return a}});
@@ -1 +0,0 @@
1
- const e=require("./chunk-mLOUI7ql.js"),t=require("./dist-DR0lXVFG.js"),n=require("./dist-CGgemr2V.js");let r=require("react");r=e.r(r,1);function i(e,t){return r.useReducer((e,n)=>t[e][n]??e,e)}var a=e=>{let{present:n,children:i}=e,a=o(n),s=typeof i==`function`?i({present:a.isPresent}):r.Children.only(i),l=t.a(a.ref,c(s));return typeof i==`function`||a.isPresent?r.cloneElement(s,{ref:l}):null};a.displayName=`Presence`;function o(e){let[t,a]=r.useState(),o=r.useRef(null),c=r.useRef(e),l=r.useRef(`none`),[u,d]=i(e?`mounted`:`unmounted`,{mounted:{UNMOUNT:`unmounted`,ANIMATION_OUT:`unmountSuspended`},unmountSuspended:{MOUNT:`mounted`,ANIMATION_END:`unmounted`},unmounted:{MOUNT:`mounted`}});return r.useEffect(()=>{let e=s(o.current);l.current=u===`mounted`?e:`none`},[u]),n.t(()=>{let t=o.current,n=c.current;if(n!==e){let r=l.current,i=s(t);e?d(`MOUNT`):i===`none`||t?.display===`none`?d(`UNMOUNT`):d(n&&r!==i?`ANIMATION_OUT`:`UNMOUNT`),c.current=e}},[e,d]),n.t(()=>{if(t){let e,n=t.ownerDocument.defaultView??window,r=r=>{let i=s(o.current).includes(CSS.escape(r.animationName));if(r.target===t&&i&&(d(`ANIMATION_END`),!c.current)){let r=t.style.animationFillMode;t.style.animationFillMode=`forwards`,e=n.setTimeout(()=>{t.style.animationFillMode===`forwards`&&(t.style.animationFillMode=r)})}},i=e=>{e.target===t&&(l.current=s(o.current))};return t.addEventListener(`animationstart`,i),t.addEventListener(`animationcancel`,r),t.addEventListener(`animationend`,r),()=>{n.clearTimeout(e),t.removeEventListener(`animationstart`,i),t.removeEventListener(`animationcancel`,r),t.removeEventListener(`animationend`,r)}}else d(`ANIMATION_END`)},[t,d]),{isPresent:[`mounted`,`unmountSuspended`].includes(u),ref:r.useCallback(e=>{o.current=e?getComputedStyle(e):null,a(e)},[])}}function s(e){return e?.animationName||`none`}function c(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)}Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return a}});
@@ -1,6 +0,0 @@
1
- //#region ../../node_modules/.bun/@radix-ui+number@1.1.1/node_modules/@radix-ui/number/dist/index.mjs
2
- function e(e, [t, n]) {
3
- return Math.min(n, Math.max(t, e));
4
- }
5
- //#endregion
6
- export { e as t };
@@ -1 +0,0 @@
1
- const e=require("./chunk-mLOUI7ql.js"),t=require("./dist-DR0lXVFG.js"),n=require("./dist-CiM892Rg.js"),r=require("./dist-CSkpam6a.js"),i=require("./dist-CGgemr2V.js"),a=require("./dist-CEJNUZGZ.js"),o=require("./dist-Ccv5O-Vw.js"),s=require("./floating-ui.react-dom-DpCJEf_x.js");let c=require("react");c=e.r(c,1);let l=require("react/jsx-runtime");var u=`Arrow`,d=c.forwardRef((e,t)=>{let{children:r,width:i=10,height:a=5,...o}=e;return(0,l.jsx)(n.t.svg,{...o,ref:t,width:i,height:a,viewBox:`0 0 30 10`,preserveAspectRatio:`none`,children:e.asChild?r:(0,l.jsx)(`polygon`,{points:`0,0 30,0 15,10`})})});d.displayName=u;var f=d,p=`Popper`,[m,h]=r.n(p),[g,_]=m(p),v=e=>{let{__scopePopper:t,children:n}=e,[r,i]=c.useState(null);return(0,l.jsx)(g,{scope:t,anchor:r,onAnchorChange:i,children:n})};v.displayName=p;var y=`PopperAnchor`,b=c.forwardRef((e,r)=>{let{__scopePopper:i,virtualRef:a,...o}=e,s=_(y,i),u=c.useRef(null),d=t.a(r,u),f=c.useRef(null);return c.useEffect(()=>{let e=f.current;f.current=a?.current||u.current,e!==f.current&&s.onAnchorChange(f.current)}),a?null:(0,l.jsx)(n.t.div,{...o,ref:d})});b.displayName=y;var x=`PopperContent`,[S,C]=m(x),w=c.forwardRef((e,r)=>{let{__scopePopper:u,side:d=`bottom`,sideOffset:f=0,align:p=`center`,alignOffset:m=0,arrowPadding:h=0,avoidCollisions:g=!0,collisionBoundary:v=[],collisionPadding:y=0,sticky:b=`partial`,hideWhenDetached:C=!1,updatePositionStrategy:w=`optimized`,onPlaced:T,...E}=e,D=_(x,u),[j,M]=c.useState(null),N=t.a(r,e=>M(e)),[P,F]=c.useState(null),I=o.t(P),L=I?.width??0,R=I?.height??0,z=d+(p===`center`?``:`-`+p),B=typeof y==`number`?y:{top:0,right:0,bottom:0,left:0,...y},V=Array.isArray(v)?v:[v],H=V.length>0,U={padding:B,boundary:V.filter(O),altBoundary:H},{refs:W,floatingStyles:G,placement:K,isPositioned:q,middlewareData:J}=s.c({strategy:`fixed`,placement:z,whileElementsMounted:(...e)=>s.l(...e,{animationFrame:w===`always`}),elements:{reference:D.anchor},middleware:[s.a({mainAxis:f+R,alignmentAxis:m}),g&&s.o({mainAxis:!0,crossAxis:!1,limiter:b===`partial`?s.i():void 0,...U}),g&&s.n({...U}),s.s({...U,apply:({elements:e,rects:t,availableWidth:n,availableHeight:r})=>{let{width:i,height:a}=t.reference,o=e.floating.style;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`)}}),P&&s.t({element:P,padding:h}),k({arrowWidth:L,arrowHeight:R}),C&&s.r({strategy:`referenceHidden`,...U})]}),[Y,X]=A(K),Z=a.t(T);i.t(()=>{q&&Z?.()},[q,Z]);let Q=J.arrow?.x,$=J.arrow?.y,ee=J.arrow?.centerOffset!==0,[te,ne]=c.useState();return i.t(()=>{j&&ne(window.getComputedStyle(j).zIndex)},[j]),(0,l.jsx)(`div`,{ref:W.setFloating,"data-radix-popper-content-wrapper":``,style:{...G,transform:q?G.transform:`translate(0, -200%)`,minWidth:`max-content`,zIndex:te,"--radix-popper-transform-origin":[J.transformOrigin?.x,J.transformOrigin?.y].join(` `),...J.hide?.referenceHidden&&{visibility:`hidden`,pointerEvents:`none`}},dir:e.dir,children:(0,l.jsx)(S,{scope:u,placedSide:Y,onArrowChange:F,arrowX:Q,arrowY:$,shouldHideArrow:ee,children:(0,l.jsx)(n.t.div,{"data-side":Y,"data-align":X,...E,ref:N,style:{...E.style,animation:q?void 0:`none`}})})})});w.displayName=x;var T=`PopperArrow`,E={top:`bottom`,right:`left`,bottom:`top`,left:`right`},D=c.forwardRef(function(e,t){let{__scopePopper:n,...r}=e,i=C(T,n),a=E[i.placedSide];return(0,l.jsx)(`span`,{ref:i.onArrowChange,style:{position:`absolute`,left:i.arrowX,top:i.arrowY,[a]:0,transformOrigin:{top:``,right:`0 0`,bottom:`center 0`,left:`100% 0`}[i.placedSide],transform:{top:`translateY(100%)`,right:`translateY(50%) rotate(90deg) translateX(-50%)`,bottom:`rotate(180deg)`,left:`translateY(50%) rotate(-90deg) translateX(50%)`}[i.placedSide],visibility:i.shouldHideArrow?`hidden`:void 0},children:(0,l.jsx)(f,{...r,ref:t,style:{...r.style,display:`block`}})})});D.displayName=T;function O(e){return e!==null}var k=e=>({name:`transformOrigin`,options:e,fn(t){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]=A(n),u={start:`0%`,center:`50%`,end:`100%`}[l],d=(i.arrow?.x??0)+o/2,f=(i.arrow?.y??0)+s/2,p=``,m=``;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:{x:p,y:m}}}});function A(e){let[t,n=`center`]=e.split(`-`);return[t,n]}var j=v,M=b,N=w,P=D;Object.defineProperty(exports,"a",{enumerable:!0,get:function(){return h}}),Object.defineProperty(exports,"i",{enumerable:!0,get:function(){return j}}),Object.defineProperty(exports,"n",{enumerable:!0,get:function(){return P}}),Object.defineProperty(exports,"r",{enumerable:!0,get:function(){return N}}),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return M}});
@@ -1,96 +0,0 @@
1
- import { a as e } from "./dist-CQhWBhaI.mjs";
2
- import { t } from "./dist-Cacc4QIh.mjs";
3
- import { n } from "./dist-Bm8Cuttq.mjs";
4
- import { t as r } from "./dist-BPBwSSyk.mjs";
5
- import { t as i } from "./dist-C9PlF532.mjs";
6
- import { t as a } from "./dist-DuTFGM_g.mjs";
7
- import { t as o } from "./dist-rGeQfsgN.mjs";
8
- import { t as s } from "./dist-Df2ez-DA.mjs";
9
- import * as c from "react";
10
- import { jsx as l } from "react/jsx-runtime";
11
- //#region ../../node_modules/.bun/@radix-ui+react-collapsible@1.1.12+2d3f272c3a65784a/node_modules/@radix-ui/react-collapsible/dist/index.mjs
12
- var u = "Collapsible", [d, f] = n(u), [p, m] = d(u), h = c.forwardRef((e, n) => {
13
- let { __scopeCollapsible: r, open: i, defaultOpen: o, disabled: d, onOpenChange: f, ...m } = e, [h, g] = a({
14
- prop: i,
15
- defaultProp: o ?? !1,
16
- onChange: f,
17
- caller: u
18
- });
19
- return /* @__PURE__ */ l(p, {
20
- scope: r,
21
- disabled: d,
22
- contentId: s(),
23
- open: h,
24
- onOpenToggle: c.useCallback(() => g((e) => !e), [g]),
25
- children: /* @__PURE__ */ l(t.div, {
26
- "data-state": x(h),
27
- "data-disabled": d ? "" : void 0,
28
- ...m,
29
- ref: n
30
- })
31
- });
32
- });
33
- h.displayName = u;
34
- var g = "CollapsibleTrigger", _ = c.forwardRef((e, n) => {
35
- let { __scopeCollapsible: i, ...a } = e, o = m(g, i);
36
- return /* @__PURE__ */ l(t.button, {
37
- type: "button",
38
- "aria-controls": o.contentId,
39
- "aria-expanded": o.open || !1,
40
- "data-state": x(o.open),
41
- "data-disabled": o.disabled ? "" : void 0,
42
- disabled: o.disabled,
43
- ...a,
44
- ref: n,
45
- onClick: r(e.onClick, o.onOpenToggle)
46
- });
47
- });
48
- _.displayName = g;
49
- var v = "CollapsibleContent", y = c.forwardRef((e, t) => {
50
- let { forceMount: n, ...r } = e, i = m(v, e.__scopeCollapsible);
51
- return /* @__PURE__ */ l(o, {
52
- present: n || i.open,
53
- children: ({ present: e }) => /* @__PURE__ */ l(b, {
54
- ...r,
55
- ref: t,
56
- present: e
57
- })
58
- });
59
- });
60
- y.displayName = v;
61
- var b = c.forwardRef((n, r) => {
62
- let { __scopeCollapsible: a, present: o, children: s, ...u } = n, d = m(v, a), [f, p] = c.useState(o), h = c.useRef(null), g = e(r, h), _ = c.useRef(0), y = _.current, b = c.useRef(0), S = b.current, C = d.open || f, w = c.useRef(C), T = c.useRef(void 0);
63
- return c.useEffect(() => {
64
- let e = requestAnimationFrame(() => w.current = !1);
65
- return () => cancelAnimationFrame(e);
66
- }, []), i(() => {
67
- let e = h.current;
68
- if (e) {
69
- T.current = T.current || {
70
- transitionDuration: e.style.transitionDuration,
71
- animationName: e.style.animationName
72
- }, e.style.transitionDuration = "0s", e.style.animationName = "none";
73
- let t = e.getBoundingClientRect();
74
- _.current = t.height, b.current = t.width, w.current || (e.style.transitionDuration = T.current.transitionDuration, e.style.animationName = T.current.animationName), p(o);
75
- }
76
- }, [d.open, o]), /* @__PURE__ */ l(t.div, {
77
- "data-state": x(d.open),
78
- "data-disabled": d.disabled ? "" : void 0,
79
- id: d.contentId,
80
- hidden: !C,
81
- ...u,
82
- ref: g,
83
- style: {
84
- "--radix-collapsible-content-height": y ? `${y}px` : void 0,
85
- "--radix-collapsible-content-width": S ? `${S}px` : void 0,
86
- ...n.style
87
- },
88
- children: C && s
89
- });
90
- });
91
- function x(e) {
92
- return e ? "open" : "closed";
93
- }
94
- var S = h, C = _, w = y;
95
- //#endregion
96
- export { C as a, S as i, _ as n, f as o, w as r, y 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");function r(e,t){if(typeof e==`function`)return e(t);e!=null&&(e.current=t)}function i(...e){return t=>{let n=!1,i=e.map(e=>{let i=r(e,t);return!n&&typeof i==`function`&&(n=!0),i});if(n)return()=>{for(let t=0;t<i.length;t++){let n=i[t];typeof n==`function`?n():r(e[t],null)}}}}function a(...e){return t.useCallback(i(...e),e)}function o(e){let r=c(e),i=t.forwardRef((e,i)=>{let{children:a,...o}=e,s=t.Children.toArray(a),c=s.find(d);if(c){let e=c.props.children,a=s.map(n=>n===c?t.Children.count(e)>1?t.Children.only(null):t.isValidElement(e)?e.props.children:null:n);return(0,n.jsx)(r,{...o,ref:i,children:t.isValidElement(e)?t.cloneElement(e,void 0,a):null})}return(0,n.jsx)(r,{...o,ref:i,children:a})});return i.displayName=`${e}.Slot`,i}var s=o(`Slot`);function c(e){let n=t.forwardRef((e,n)=>{let{children:r,...a}=e;if(t.isValidElement(r)){let e=p(r),o=f(a,r.props);return r.type!==t.Fragment&&(o.ref=n?i(n,e):e),t.cloneElement(r,o)}return t.Children.count(r)>1?t.Children.only(null):null});return n.displayName=`${e}.SlotClone`,n}var l=Symbol(`radix.slottable`);function u(e){let t=({children:e})=>(0,n.jsx)(n.Fragment,{children:e});return t.displayName=`${e}.Slottable`,t.__radixId=l,t}function d(e){return t.isValidElement(e)&&typeof e.type==`function`&&`__radixId`in e.type&&e.type.__radixId===l}function f(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}}function p(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)}Object.defineProperty(exports,"a",{enumerable:!0,get:function(){return a}}),Object.defineProperty(exports,"i",{enumerable:!0,get:function(){return i}}),Object.defineProperty(exports,"n",{enumerable:!0,get:function(){return o}}),Object.defineProperty(exports,"r",{enumerable:!0,get:function(){return u}}),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return s}});
@@ -1,5 +0,0 @@
1
- const e=require("./chunk-mLOUI7ql.js"),t=require("./dist-DR0lXVFG.js"),n=require("./dist-CiM892Rg.js"),r=require("./dist-CSkpam6a.js"),i=require("./dist-CRLbUj9C.js"),a=require("./dist-DynSBUGq.js"),o=require("./dist-CuMQq0hV.js"),s=require("./dist-Byhx2fDJ.js"),c=require("./dist-CCXBcfM3.js"),l=require("./es2015-D22cM8Q_.js"),u=require("./dist-ChuP-5Gb.js");let d=require("react");d=e.r(d,1);let f=require("react/jsx-runtime");var p=`Dialog`,[m,h]=r.n(p),[g,_]=m(p),v=e=>{let{__scopeDialog:t,children:n,open:r,defaultOpen:i,onOpenChange:o,modal:c=!0}=e,l=d.useRef(null),u=d.useRef(null),[m,h]=a.t({prop:r,defaultProp:i??!1,onChange:o,caller:p});return(0,f.jsx)(g,{scope:t,triggerRef:l,contentRef:u,contentId:s.t(),titleId:s.t(),descriptionId:s.t(),open:m,onOpenChange:h,onOpenToggle:d.useCallback(()=>h(e=>!e),[h]),modal:c,children:n})};v.displayName=p;var y=`DialogTrigger`,b=d.forwardRef((e,r)=>{let{__scopeDialog:a,...o}=e,s=_(y,a),c=t.a(r,s.triggerRef);return(0,f.jsx)(n.t.button,{type:`button`,"aria-haspopup":`dialog`,"aria-expanded":s.open,"aria-controls":s.contentId,"data-state":B(s.open),...o,ref:c,onClick:i.t(e.onClick,s.onOpenToggle)})});b.displayName=y;var x=`DialogPortal`,[S,C]=m(x,{forceMount:void 0}),w=e=>{let{__scopeDialog:t,forceMount:n,children:r,container:i}=e,a=_(x,t);return(0,f.jsx)(S,{scope:t,forceMount:n,children:d.Children.map(r,e=>(0,f.jsx)(o.t,{present:n||a.open,children:(0,f.jsx)(u.t,{asChild:!0,container:i,children:e})}))})};w.displayName=x;var T=`DialogOverlay`,E=d.forwardRef((e,t)=>{let n=C(T,e.__scopeDialog),{forceMount:r=n.forceMount,...i}=e,a=_(T,e.__scopeDialog);return a.modal?(0,f.jsx)(o.t,{present:r||a.open,children:(0,f.jsx)(O,{...i,ref:t})}):null});E.displayName=T;var D=t.n(`DialogOverlay.RemoveScroll`),O=d.forwardRef((e,t)=>{let{__scopeDialog:r,...i}=e,a=_(T,r);return(0,f.jsx)(l.n,{as:D,allowPinchZoom:!0,shards:[a.contentRef],children:(0,f.jsx)(n.t.div,{"data-state":B(a.open),...i,ref:t,style:{pointerEvents:`auto`,...i.style}})})}),k=`DialogContent`,A=d.forwardRef((e,t)=>{let n=C(k,e.__scopeDialog),{forceMount:r=n.forceMount,...i}=e,a=_(k,e.__scopeDialog);return(0,f.jsx)(o.t,{present:r||a.open,children:a.modal?(0,f.jsx)(j,{...i,ref:t}):(0,f.jsx)(M,{...i,ref:t})})});A.displayName=k;var j=d.forwardRef((e,n)=>{let r=_(k,e.__scopeDialog),a=d.useRef(null),o=t.a(n,r.contentRef,a);return d.useEffect(()=>{let e=a.current;if(e)return l.t(e)},[]),(0,f.jsx)(N,{...e,ref:o,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:i.t(e.onCloseAutoFocus,e=>{e.preventDefault(),r.triggerRef.current?.focus()}),onPointerDownOutside:i.t(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,n=t.button===0&&t.ctrlKey===!0;(t.button===2||n)&&e.preventDefault()}),onFocusOutside:i.t(e.onFocusOutside,e=>e.preventDefault())})}),M=d.forwardRef((e,t)=>{let n=_(k,e.__scopeDialog),r=d.useRef(!1),i=d.useRef(!1);return(0,f.jsx)(N,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{e.onCloseAutoFocus?.(t),t.defaultPrevented||(r.current||n.triggerRef.current?.focus(),t.preventDefault()),r.current=!1,i.current=!1},onInteractOutside:t=>{e.onInteractOutside?.(t),t.defaultPrevented||(r.current=!0,t.detail.originalEvent.type===`pointerdown`&&(i.current=!0));let a=t.target;n.triggerRef.current?.contains(a)&&t.preventDefault(),t.detail.originalEvent.type===`focusin`&&i.current&&t.preventDefault()}})}),N=d.forwardRef((e,n)=>{let{__scopeDialog:r,trapFocus:i,onOpenAutoFocus:a,onCloseAutoFocus:o,...s}=e,u=_(k,r),p=d.useRef(null),m=t.a(n,p);return l.r(),(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(l.i,{asChild:!0,loop:!0,trapped:i,onMountAutoFocus:a,onUnmountAutoFocus:o,children:(0,f.jsx)(c.n,{role:`dialog`,id:u.contentId,"aria-describedby":u.descriptionId,"aria-labelledby":u.titleId,"data-state":B(u.open),...s,ref:m,onDismiss:()=>u.onOpenChange(!1)})}),(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(W,{titleId:u.titleId}),(0,f.jsx)(K,{contentRef:p,descriptionId:u.descriptionId})]})]})}),P=`DialogTitle`,F=d.forwardRef((e,t)=>{let{__scopeDialog:r,...i}=e,a=_(P,r);return(0,f.jsx)(n.t.h2,{id:a.titleId,...i,ref:t})});F.displayName=P;var I=`DialogDescription`,L=d.forwardRef((e,t)=>{let{__scopeDialog:r,...i}=e,a=_(I,r);return(0,f.jsx)(n.t.p,{id:a.descriptionId,...i,ref:t})});L.displayName=I;var R=`DialogClose`,z=d.forwardRef((e,t)=>{let{__scopeDialog:r,...a}=e,o=_(R,r);return(0,f.jsx)(n.t.button,{type:`button`,...a,ref:t,onClick:i.t(e.onClick,()=>o.onOpenChange(!1))})});z.displayName=R;function B(e){return e?`open`:`closed`}var V=`DialogTitleWarning`,[H,U]=r.t(V,{contentName:k,titleName:P,docsSlug:`dialog`}),W=({titleId:e})=>{let t=U(V),n=`\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users.
2
-
3
- If you want to hide the \`${t.titleName}\`, you can wrap it with our VisuallyHidden component.
4
-
5
- For more information, see https://radix-ui.com/primitives/docs/components/${t.docsSlug}`;return d.useEffect(()=>{e&&(document.getElementById(e)||console.error(n))},[n,e]),null},G=`DialogDescriptionWarning`,K=({contentRef:e,descriptionId:t})=>{let n=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${U(G).contentName}}.`;return d.useEffect(()=>{let r=e.current?.getAttribute(`aria-describedby`);t&&r&&(document.getElementById(t)||console.warn(n))},[n,e,t]),null},q=v,J=b,Y=w,X=E,Z=A,Q=F,$=L,ee=z;Object.defineProperty(exports,"a",{enumerable:!0,get:function(){return Y}}),Object.defineProperty(exports,"c",{enumerable:!0,get:function(){return J}}),Object.defineProperty(exports,"i",{enumerable:!0,get:function(){return X}}),Object.defineProperty(exports,"l",{enumerable:!0,get:function(){return H}}),Object.defineProperty(exports,"n",{enumerable:!0,get:function(){return Z}}),Object.defineProperty(exports,"o",{enumerable:!0,get:function(){return q}}),Object.defineProperty(exports,"r",{enumerable:!0,get:function(){return $}}),Object.defineProperty(exports,"s",{enumerable:!0,get:function(){return Q}}),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return ee}}),Object.defineProperty(exports,"u",{enumerable:!0,get:function(){return h}});
@@ -1,12 +0,0 @@
1
- import { t as e } from "./dist-C9PlF532.mjs";
2
- import * as t from "react";
3
- //#region ../../node_modules/.bun/@radix-ui+react-id@1.1.1+7adf8d6cb8833b18/node_modules/@radix-ui/react-id/dist/index.mjs
4
- var n = t.useId || (() => void 0), r = 0;
5
- function i(i) {
6
- let [a, o] = t.useState(n());
7
- return e(() => {
8
- i || o((e) => e ?? String(r++));
9
- }, [i]), i || (a ? `radix-${a}` : "");
10
- }
11
- //#endregion
12
- export { i as t };
@@ -1,45 +0,0 @@
1
- import { t as e } from "./dist-C9PlF532.mjs";
2
- import * as t from "react";
3
- //#region ../../node_modules/.bun/@radix-ui+react-use-controllable-state@1.2.2+7adf8d6cb8833b18/node_modules/@radix-ui/react-use-controllable-state/dist/index.mjs
4
- var n = t.useInsertionEffect || e;
5
- function r({ prop: e, defaultProp: n, onChange: r = () => {}, caller: o }) {
6
- let [s, c, l] = i({
7
- defaultProp: n,
8
- onChange: r
9
- }), u = e !== void 0, d = u ? e : s;
10
- {
11
- let n = t.useRef(e !== void 0);
12
- t.useEffect(() => {
13
- let e = n.current;
14
- e !== u && console.warn(`${o} is changing from ${e ? "controlled" : "uncontrolled"} to ${u ? "controlled" : "uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`), n.current = u;
15
- }, [u, o]);
16
- }
17
- return [d, t.useCallback((t) => {
18
- if (u) {
19
- let n = a(t) ? t(e) : t;
20
- n !== e && l.current?.(n);
21
- } else c(t);
22
- }, [
23
- u,
24
- e,
25
- c,
26
- l
27
- ])];
28
- }
29
- function i({ defaultProp: e, onChange: r }) {
30
- let [i, a] = t.useState(e), o = t.useRef(i), s = t.useRef(r);
31
- return n(() => {
32
- s.current = r;
33
- }, [r]), t.useEffect(() => {
34
- o.current !== i && (s.current?.(i), o.current = i);
35
- }, [i, o]), [
36
- i,
37
- a,
38
- s
39
- ];
40
- }
41
- function a(e) {
42
- return typeof e == "function";
43
- }
44
- //#endregion
45
- export { r as t };
@@ -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=n.useInsertionEffect||t.t;function i({prop:e,defaultProp:t,onChange:r=()=>{},caller:i}){let[s,c,l]=a({defaultProp:t,onChange:r}),u=e!==void 0,d=u?e:s;{let t=n.useRef(e!==void 0);n.useEffect(()=>{let e=t.current;e!==u&&console.warn(`${i} is changing from ${e?`controlled`:`uncontrolled`} to ${u?`controlled`:`uncontrolled`}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),t.current=u},[u,i])}return[d,n.useCallback(t=>{if(u){let n=o(t)?t(e):t;n!==e&&l.current?.(n)}else c(t)},[u,e,c,l])]}function a({defaultProp:e,onChange:t}){let[i,a]=n.useState(e),o=n.useRef(i),s=n.useRef(t);return r(()=>{s.current=t},[t]),n.useEffect(()=>{o.current!==i&&(s.current?.(i),o.current=i)},[i,o]),[i,a,s]}function o(e){return typeof e==`function`}Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return i}});
@@ -1,60 +0,0 @@
1
- import { a as e, n as t } from "./dist-CQhWBhaI.mjs";
2
- import { n } from "./dist-Bm8Cuttq.mjs";
3
- import r from "react";
4
- import { jsx as i } from "react/jsx-runtime";
5
- //#region ../../node_modules/.bun/@radix-ui+react-collection@1.1.7+2d3f272c3a65784a/node_modules/@radix-ui/react-collection/dist/index.mjs
6
- function a(a) {
7
- let o = a + "CollectionProvider", [s, c] = n(o), [l, u] = s(o, {
8
- collectionRef: { current: null },
9
- itemMap: /* @__PURE__ */ new Map()
10
- }), d = (e) => {
11
- let { scope: t, children: n } = e, a = r.useRef(null), o = r.useRef(/* @__PURE__ */ new Map()).current;
12
- return /* @__PURE__ */ i(l, {
13
- scope: t,
14
- itemMap: o,
15
- collectionRef: a,
16
- children: n
17
- });
18
- };
19
- d.displayName = o;
20
- let f = a + "CollectionSlot", p = t(f), m = r.forwardRef((t, n) => {
21
- let { scope: r, children: a } = t;
22
- return /* @__PURE__ */ i(p, {
23
- ref: e(n, u(f, r).collectionRef),
24
- children: a
25
- });
26
- });
27
- m.displayName = f;
28
- let h = a + "CollectionItemSlot", g = "data-radix-collection-item", _ = t(h), v = r.forwardRef((t, n) => {
29
- let { scope: a, children: o, ...s } = t, c = r.useRef(null), l = e(n, c), d = u(h, a);
30
- return r.useEffect(() => (d.itemMap.set(c, {
31
- ref: c,
32
- ...s
33
- }), () => void d.itemMap.delete(c))), /* @__PURE__ */ i(_, {
34
- [g]: "",
35
- ref: l,
36
- children: o
37
- });
38
- });
39
- v.displayName = h;
40
- function y(e) {
41
- let t = u(a + "CollectionConsumer", e);
42
- return r.useCallback(() => {
43
- let e = t.collectionRef.current;
44
- if (!e) return [];
45
- let n = Array.from(e.querySelectorAll(`[${g}]`));
46
- return Array.from(t.itemMap.values()).sort((e, t) => n.indexOf(e.ref.current) - n.indexOf(t.ref.current));
47
- }, [t.collectionRef, t.itemMap]);
48
- }
49
- return [
50
- {
51
- Provider: d,
52
- Slot: m,
53
- ItemSlot: v
54
- },
55
- y,
56
- c
57
- ];
58
- }
59
- //#endregion
60
- export { a as t };
@@ -1,73 +0,0 @@
1
- import { i as e } from "./dist-CQhWBhaI.mjs";
2
- import * as t from "react";
3
- import { jsx as n } from "react/jsx-runtime";
4
- //#region ../../node_modules/.bun/@radix-ui+react-slot@1.2.4+7adf8d6cb8833b18/node_modules/@radix-ui/react-slot/dist/index.mjs
5
- var r = Symbol.for("react.lazy"), i = t.use;
6
- function a(e) {
7
- return typeof e == "object" && !!e && "then" in e;
8
- }
9
- function o(e) {
10
- return typeof e == "object" && !!e && "$$typeof" in e && e.$$typeof === r && "_payload" in e && a(e._payload);
11
- }
12
- /* @__NO_SIDE_EFFECTS__ */
13
- function s(e) {
14
- let r = /* @__PURE__ */ l(e), a = t.forwardRef((e, a) => {
15
- let { children: s, ...c } = e;
16
- o(s) && typeof i == "function" && (s = i(s._payload));
17
- let l = t.Children.toArray(s), u = l.find(d);
18
- if (u) {
19
- let e = u.props.children, i = l.map((n) => n === u ? t.Children.count(e) > 1 ? t.Children.only(null) : t.isValidElement(e) ? e.props.children : null : n);
20
- return /* @__PURE__ */ n(r, {
21
- ...c,
22
- ref: a,
23
- children: t.isValidElement(e) ? t.cloneElement(e, void 0, i) : null
24
- });
25
- }
26
- return /* @__PURE__ */ n(r, {
27
- ...c,
28
- ref: a,
29
- children: s
30
- });
31
- });
32
- return a.displayName = `${e}.Slot`, a;
33
- }
34
- var c = /* @__PURE__ */ s("Slot");
35
- /* @__NO_SIDE_EFFECTS__ */
36
- function l(n) {
37
- let r = t.forwardRef((n, r) => {
38
- let { children: a, ...s } = n;
39
- if (o(a) && typeof i == "function" && (a = i(a._payload)), t.isValidElement(a)) {
40
- let n = p(a), i = f(s, a.props);
41
- return a.type !== t.Fragment && (i.ref = r ? e(r, n) : n), t.cloneElement(a, i);
42
- }
43
- return t.Children.count(a) > 1 ? t.Children.only(null) : null;
44
- });
45
- return r.displayName = `${n}.SlotClone`, r;
46
- }
47
- var u = Symbol("radix.slottable");
48
- function d(e) {
49
- return t.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId === u;
50
- }
51
- function f(e, t) {
52
- let n = { ...t };
53
- for (let r in t) {
54
- let i = e[r], a = t[r];
55
- /^on[A-Z]/.test(r) ? i && a ? n[r] = (...e) => {
56
- let t = a(...e);
57
- return i(...e), t;
58
- } : i && (n[r] = i) : r === "style" ? n[r] = {
59
- ...i,
60
- ...a
61
- } : r === "className" && (n[r] = [i, a].filter(Boolean).join(" "));
62
- }
63
- return {
64
- ...e,
65
- ...n
66
- };
67
- }
68
- function p(e) {
69
- let t = Object.getOwnPropertyDescriptor(e.props, "ref")?.get, n = t && "isReactWarning" in t && t.isReactWarning;
70
- 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);
71
- }
72
- //#endregion
73
- export { s as n, c as t };
@@ -1 +0,0 @@
1
- const e=require("./chunk-mLOUI7ql.js"),t=require("./dist-DR0lXVFG.js"),n=require("./dist-CiM892Rg.js"),r=require("./dist-CSkpam6a.js"),i=require("./dist-CWElW7UD.js"),a=require("./dist-CRLbUj9C.js"),o=require("./dist-DynSBUGq.js"),s=require("./dist-Byhx2fDJ.js"),c=require("./dist-1C8JOpVg.js"),l=require("./dist-CEJNUZGZ.js");let u=require("react");u=e.r(u,1);let d=require("react/jsx-runtime");var f=`rovingFocusGroup.onEntryFocus`,p={bubbles:!1,cancelable:!0},m=`RovingFocusGroup`,[h,g,_]=i.t(m),[v,y]=r.n(m,[_]),[b,x]=v(m),S=u.forwardRef((e,t)=>(0,d.jsx)(h.Provider,{scope:e.__scopeRovingFocusGroup,children:(0,d.jsx)(h.Slot,{scope:e.__scopeRovingFocusGroup,children:(0,d.jsx)(C,{...e,ref:t})})}));S.displayName=m;var C=u.forwardRef((e,r)=>{let{__scopeRovingFocusGroup:i,orientation:s,loop:h=!1,dir:_,currentTabStopId:v,defaultCurrentTabStopId:y,onCurrentTabStopIdChange:x,onEntryFocus:S,preventScrollOnEntryFocus:C=!1,...w}=e,T=u.useRef(null),E=t.a(r,T),D=c.n(_),[O,A]=o.t({prop:v,defaultProp:y??null,onChange:x,caller:m}),[j,M]=u.useState(!1),N=l.t(S),P=g(i),F=u.useRef(!1),[I,L]=u.useState(0);return u.useEffect(()=>{let e=T.current;if(e)return e.addEventListener(f,N),()=>e.removeEventListener(f,N)},[N]),(0,d.jsx)(b,{scope:i,orientation:s,dir:D,loop:h,currentTabStopId:O,onItemFocus:u.useCallback(e=>A(e),[A]),onItemShiftTab:u.useCallback(()=>M(!0),[]),onFocusableItemAdd:u.useCallback(()=>L(e=>e+1),[]),onFocusableItemRemove:u.useCallback(()=>L(e=>e-1),[]),children:(0,d.jsx)(n.t.div,{tabIndex:j||I===0?-1:0,"data-orientation":s,...w,ref:E,style:{outline:`none`,...e.style},onMouseDown:a.t(e.onMouseDown,()=>{F.current=!0}),onFocus:a.t(e.onFocus,e=>{let t=!F.current;if(e.target===e.currentTarget&&t&&!j){let t=new CustomEvent(f,p);if(e.currentTarget.dispatchEvent(t),!t.defaultPrevented){let e=P().filter(e=>e.focusable);k([e.find(e=>e.active),e.find(e=>e.id===O),...e].filter(Boolean).map(e=>e.ref.current),C)}}F.current=!1}),onBlur:a.t(e.onBlur,()=>M(!1))})})}),w=`RovingFocusGroupItem`,T=u.forwardRef((e,t)=>{let{__scopeRovingFocusGroup:r,focusable:i=!0,active:o=!1,tabStopId:c,children:l,...f}=e,p=s.t(),m=c||p,_=x(w,r),v=_.currentTabStopId===m,y=g(r),{onFocusableItemAdd:b,onFocusableItemRemove:S,currentTabStopId:C}=_;return u.useEffect(()=>{if(i)return b(),()=>S()},[i,b,S]),(0,d.jsx)(h.ItemSlot,{scope:r,id:m,focusable:i,active:o,children:(0,d.jsx)(n.t.span,{tabIndex:v?0:-1,"data-orientation":_.orientation,...f,ref:t,onMouseDown:a.t(e.onMouseDown,e=>{i?_.onItemFocus(m):e.preventDefault()}),onFocus:a.t(e.onFocus,()=>_.onItemFocus(m)),onKeyDown:a.t(e.onKeyDown,e=>{if(e.key===`Tab`&&e.shiftKey){_.onItemShiftTab();return}if(e.target!==e.currentTarget)return;let t=O(e,_.orientation,_.dir);if(t!==void 0){if(e.metaKey||e.ctrlKey||e.altKey||e.shiftKey)return;e.preventDefault();let n=y().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=_.loop?A(n,r+1):n.slice(r+1)}setTimeout(()=>k(n))}}),children:typeof l==`function`?l({isCurrentTabStop:v,hasTabStop:C!=null}):l})})});T.displayName=w;var E={ArrowLeft:`prev`,ArrowUp:`prev`,ArrowRight:`next`,ArrowDown:`next`,PageUp:`first`,Home:`first`,PageDown:`last`,End:`last`};function D(e,t){return t===`rtl`?e===`ArrowLeft`?`ArrowRight`:e===`ArrowRight`?`ArrowLeft`:e:e}function O(e,t,n){let r=D(e.key,n);if(!(t===`vertical`&&[`ArrowLeft`,`ArrowRight`].includes(r))&&!(t===`horizontal`&&[`ArrowUp`,`ArrowDown`].includes(r)))return E[r]}function k(e,t=!1){let n=document.activeElement;for(let r of e)if(r===n||(r.focus({preventScroll:t}),document.activeElement!==n))return}function A(e,t){return e.map((n,r)=>e[(t+r)%e.length])}var j=S,M=T;Object.defineProperty(exports,"n",{enumerable:!0,get:function(){return j}}),Object.defineProperty(exports,"r",{enumerable:!0,get:function(){return y}}),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return M}});