@arolariu/components 0.0.30 → 0.0.31

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 (462) hide show
  1. package/dist/cjs/components/ui/accordion.cjs +1 -1
  2. package/dist/cjs/components/ui/accordion.cjs.map +1 -1
  3. package/dist/cjs/components/ui/alert-dialog.cjs +1 -1
  4. package/dist/cjs/components/ui/alert-dialog.cjs.map +1 -1
  5. package/dist/cjs/components/ui/alert.cjs +1 -1
  6. package/dist/cjs/components/ui/alert.cjs.map +1 -1
  7. package/dist/cjs/components/ui/aspect-ratio.cjs +1 -1
  8. package/dist/cjs/components/ui/aspect-ratio.cjs.map +1 -1
  9. package/dist/cjs/components/ui/avatar.cjs +1 -1
  10. package/dist/cjs/components/ui/avatar.cjs.map +1 -1
  11. package/dist/cjs/components/ui/badge.cjs +1 -1
  12. package/dist/cjs/components/ui/badge.cjs.map +1 -1
  13. package/dist/cjs/components/ui/breadcrumb.cjs +1 -1
  14. package/dist/cjs/components/ui/breadcrumb.cjs.map +1 -1
  15. package/dist/cjs/components/ui/button.cjs +1 -1
  16. package/dist/cjs/components/ui/button.cjs.map +1 -1
  17. package/dist/cjs/components/ui/calendar.cjs +1 -1
  18. package/dist/cjs/components/ui/calendar.cjs.map +1 -1
  19. package/dist/cjs/components/ui/card.cjs +1 -1
  20. package/dist/cjs/components/ui/card.cjs.map +1 -1
  21. package/dist/cjs/components/ui/carousel.cjs +1 -1
  22. package/dist/cjs/components/ui/carousel.cjs.map +1 -1
  23. package/dist/cjs/components/ui/chart.cjs +3 -3
  24. package/dist/cjs/components/ui/chart.cjs.map +1 -1
  25. package/dist/cjs/components/ui/checkbox.cjs +1 -1
  26. package/dist/cjs/components/ui/checkbox.cjs.map +1 -1
  27. package/dist/cjs/components/ui/collapsible.cjs +1 -1
  28. package/dist/cjs/components/ui/collapsible.cjs.map +1 -1
  29. package/dist/cjs/components/ui/command.cjs +1 -1
  30. package/dist/cjs/components/ui/command.cjs.map +1 -1
  31. package/dist/cjs/components/ui/context-menu.cjs +1 -1
  32. package/dist/cjs/components/ui/context-menu.cjs.map +1 -1
  33. package/dist/cjs/components/ui/dialog.cjs +1 -1
  34. package/dist/cjs/components/ui/dialog.cjs.map +1 -1
  35. package/dist/cjs/components/ui/drawer.cjs +1 -1
  36. package/dist/cjs/components/ui/drawer.cjs.map +1 -1
  37. package/dist/cjs/components/ui/dropdown-menu.cjs +1 -1
  38. package/dist/cjs/components/ui/dropdown-menu.cjs.map +1 -1
  39. package/dist/cjs/components/ui/form.cjs +1 -1
  40. package/dist/cjs/components/ui/form.cjs.map +1 -1
  41. package/dist/cjs/components/ui/hover-card.cjs +1 -1
  42. package/dist/cjs/components/ui/hover-card.cjs.map +1 -1
  43. package/dist/cjs/components/ui/input-otp.cjs +1 -1
  44. package/dist/cjs/components/ui/input-otp.cjs.map +1 -1
  45. package/dist/cjs/components/ui/input.cjs +1 -1
  46. package/dist/cjs/components/ui/input.cjs.map +1 -1
  47. package/dist/cjs/components/ui/label.cjs +1 -1
  48. package/dist/cjs/components/ui/label.cjs.map +1 -1
  49. package/dist/cjs/components/ui/menubar.cjs +1 -1
  50. package/dist/cjs/components/ui/menubar.cjs.map +1 -1
  51. package/dist/cjs/components/ui/navigation-menu.cjs +1 -1
  52. package/dist/cjs/components/ui/navigation-menu.cjs.map +1 -1
  53. package/dist/cjs/components/ui/pagination.cjs +1 -1
  54. package/dist/cjs/components/ui/pagination.cjs.map +1 -1
  55. package/dist/cjs/components/ui/popover.cjs +1 -1
  56. package/dist/cjs/components/ui/popover.cjs.map +1 -1
  57. package/dist/cjs/components/ui/progress.cjs +1 -1
  58. package/dist/cjs/components/ui/progress.cjs.map +1 -1
  59. package/dist/cjs/components/ui/radio-group.cjs +1 -1
  60. package/dist/cjs/components/ui/radio-group.cjs.map +1 -1
  61. package/dist/cjs/components/ui/resizable.cjs +1 -1
  62. package/dist/cjs/components/ui/resizable.cjs.map +1 -1
  63. package/dist/cjs/components/ui/scroll-area.cjs +1 -1
  64. package/dist/cjs/components/ui/scroll-area.cjs.map +1 -1
  65. package/dist/cjs/components/ui/select.cjs +1 -1
  66. package/dist/cjs/components/ui/select.cjs.map +1 -1
  67. package/dist/cjs/components/ui/separator.cjs +1 -1
  68. package/dist/cjs/components/ui/separator.cjs.map +1 -1
  69. package/dist/cjs/components/ui/sheet.cjs +1 -1
  70. package/dist/cjs/components/ui/sheet.cjs.map +1 -1
  71. package/dist/cjs/components/ui/sidebar.cjs +1 -1
  72. package/dist/cjs/components/ui/sidebar.cjs.map +1 -1
  73. package/dist/cjs/components/ui/skeleton.cjs +1 -1
  74. package/dist/cjs/components/ui/skeleton.cjs.map +1 -1
  75. package/dist/cjs/components/ui/slider.cjs +1 -1
  76. package/dist/cjs/components/ui/slider.cjs.map +1 -1
  77. package/dist/cjs/components/ui/sonner.cjs +1 -1
  78. package/dist/cjs/components/ui/sonner.cjs.map +1 -1
  79. package/dist/cjs/components/ui/switch.cjs +1 -1
  80. package/dist/cjs/components/ui/switch.cjs.map +1 -1
  81. package/dist/cjs/components/ui/table.cjs +1 -1
  82. package/dist/cjs/components/ui/table.cjs.map +1 -1
  83. package/dist/cjs/components/ui/tabs.cjs +1 -1
  84. package/dist/cjs/components/ui/tabs.cjs.map +1 -1
  85. package/dist/cjs/components/ui/textarea.cjs +1 -1
  86. package/dist/cjs/components/ui/textarea.cjs.map +1 -1
  87. package/dist/cjs/components/ui/toggle-group.cjs +1 -1
  88. package/dist/cjs/components/ui/toggle-group.cjs.map +1 -1
  89. package/dist/cjs/components/ui/toggle.cjs +1 -1
  90. package/dist/cjs/components/ui/toggle.cjs.map +1 -1
  91. package/dist/cjs/components/ui/tooltip.cjs +1 -1
  92. package/dist/cjs/components/ui/tooltip.cjs.map +1 -1
  93. package/dist/cjs/node_modules/@radix-ui/react-accordion/dist/index.cjs +1 -1
  94. package/dist/cjs/node_modules/@radix-ui/react-accordion/dist/index.cjs.map +1 -1
  95. package/dist/cjs/node_modules/@radix-ui/react-alert-dialog/dist/index.cjs +3 -3
  96. package/dist/cjs/node_modules/@radix-ui/react-alert-dialog/dist/index.cjs.map +1 -1
  97. package/dist/cjs/node_modules/@radix-ui/react-arrow/dist/index.cjs +1 -1
  98. package/dist/cjs/node_modules/@radix-ui/react-arrow/dist/index.cjs.map +1 -1
  99. package/dist/cjs/node_modules/@radix-ui/react-aspect-ratio/dist/index.cjs +1 -1
  100. package/dist/cjs/node_modules/@radix-ui/react-aspect-ratio/dist/index.cjs.map +1 -1
  101. package/dist/cjs/node_modules/@radix-ui/react-avatar/dist/index.cjs +1 -1
  102. package/dist/cjs/node_modules/@radix-ui/react-avatar/dist/index.cjs.map +1 -1
  103. package/dist/cjs/node_modules/@radix-ui/react-checkbox/dist/index.cjs +1 -1
  104. package/dist/cjs/node_modules/@radix-ui/react-checkbox/dist/index.cjs.map +1 -1
  105. package/dist/cjs/node_modules/@radix-ui/react-collapsible/dist/index.cjs +1 -1
  106. package/dist/cjs/node_modules/@radix-ui/react-collapsible/dist/index.cjs.map +1 -1
  107. package/dist/cjs/node_modules/@radix-ui/react-collection/dist/index.cjs +1 -1
  108. package/dist/cjs/node_modules/@radix-ui/react-collection/dist/index.cjs.map +1 -1
  109. package/dist/cjs/node_modules/@radix-ui/react-context/dist/index.cjs +1 -1
  110. package/dist/cjs/node_modules/@radix-ui/react-context/dist/index.cjs.map +1 -1
  111. package/dist/cjs/node_modules/@radix-ui/react-context-menu/dist/index.cjs +1 -1
  112. package/dist/cjs/node_modules/@radix-ui/react-context-menu/dist/index.cjs.map +1 -1
  113. package/dist/cjs/node_modules/@radix-ui/react-dialog/dist/index.cjs +2 -2
  114. package/dist/cjs/node_modules/@radix-ui/react-dialog/dist/index.cjs.map +1 -1
  115. package/dist/cjs/node_modules/@radix-ui/react-direction/dist/index.cjs +1 -1
  116. package/dist/cjs/node_modules/@radix-ui/react-direction/dist/index.cjs.map +1 -1
  117. package/dist/cjs/node_modules/@radix-ui/react-dismissable-layer/dist/index.cjs +1 -1
  118. package/dist/cjs/node_modules/@radix-ui/react-dismissable-layer/dist/index.cjs.map +1 -1
  119. package/dist/cjs/node_modules/@radix-ui/react-dropdown-menu/dist/index.cjs +1 -1
  120. package/dist/cjs/node_modules/@radix-ui/react-dropdown-menu/dist/index.cjs.map +1 -1
  121. package/dist/cjs/node_modules/@radix-ui/react-focus-scope/dist/index.cjs +1 -1
  122. package/dist/cjs/node_modules/@radix-ui/react-focus-scope/dist/index.cjs.map +1 -1
  123. package/dist/cjs/node_modules/@radix-ui/react-hover-card/dist/index.cjs +1 -1
  124. package/dist/cjs/node_modules/@radix-ui/react-hover-card/dist/index.cjs.map +1 -1
  125. package/dist/cjs/node_modules/@radix-ui/react-label/dist/index.cjs +1 -1
  126. package/dist/cjs/node_modules/@radix-ui/react-label/dist/index.cjs.map +1 -1
  127. package/dist/cjs/node_modules/@radix-ui/react-menu/dist/index.cjs +1 -1
  128. package/dist/cjs/node_modules/@radix-ui/react-menu/dist/index.cjs.map +1 -1
  129. package/dist/cjs/node_modules/@radix-ui/react-menubar/dist/index.cjs +1 -1
  130. package/dist/cjs/node_modules/@radix-ui/react-menubar/dist/index.cjs.map +1 -1
  131. package/dist/cjs/node_modules/@radix-ui/react-navigation-menu/dist/index.cjs +1 -1
  132. package/dist/cjs/node_modules/@radix-ui/react-navigation-menu/dist/index.cjs.map +1 -1
  133. package/dist/cjs/node_modules/@radix-ui/react-popover/dist/index.cjs +1 -1
  134. package/dist/cjs/node_modules/@radix-ui/react-popover/dist/index.cjs.map +1 -1
  135. package/dist/cjs/node_modules/@radix-ui/react-popper/dist/index.cjs +1 -1
  136. package/dist/cjs/node_modules/@radix-ui/react-popper/dist/index.cjs.map +1 -1
  137. package/dist/cjs/node_modules/@radix-ui/react-portal/dist/index.cjs +1 -1
  138. package/dist/cjs/node_modules/@radix-ui/react-portal/dist/index.cjs.map +1 -1
  139. package/dist/cjs/node_modules/@radix-ui/react-primitive/dist/index.cjs +1 -1
  140. package/dist/cjs/node_modules/@radix-ui/react-primitive/dist/index.cjs.map +1 -1
  141. package/dist/cjs/node_modules/@radix-ui/react-progress/dist/index.cjs +2 -2
  142. package/dist/cjs/node_modules/@radix-ui/react-progress/dist/index.cjs.map +1 -1
  143. package/dist/cjs/node_modules/@radix-ui/react-radio-group/dist/index.cjs +1 -1
  144. package/dist/cjs/node_modules/@radix-ui/react-radio-group/dist/index.cjs.map +1 -1
  145. package/dist/cjs/node_modules/@radix-ui/react-roving-focus/dist/index.cjs +1 -1
  146. package/dist/cjs/node_modules/@radix-ui/react-roving-focus/dist/index.cjs.map +1 -1
  147. package/dist/cjs/node_modules/@radix-ui/react-scroll-area/dist/index.cjs +1 -1
  148. package/dist/cjs/node_modules/@radix-ui/react-scroll-area/dist/index.cjs.map +1 -1
  149. package/dist/cjs/node_modules/@radix-ui/react-select/dist/index.cjs +1 -1
  150. package/dist/cjs/node_modules/@radix-ui/react-select/dist/index.cjs.map +1 -1
  151. package/dist/cjs/node_modules/@radix-ui/react-separator/dist/index.cjs +1 -1
  152. package/dist/cjs/node_modules/@radix-ui/react-separator/dist/index.cjs.map +1 -1
  153. package/dist/cjs/node_modules/@radix-ui/react-slider/dist/index.cjs +1 -1
  154. package/dist/cjs/node_modules/@radix-ui/react-slider/dist/index.cjs.map +1 -1
  155. package/dist/cjs/node_modules/@radix-ui/react-slot/dist/index.cjs +1 -1
  156. package/dist/cjs/node_modules/@radix-ui/react-slot/dist/index.cjs.map +1 -1
  157. package/dist/cjs/node_modules/@radix-ui/react-switch/dist/index.cjs +1 -1
  158. package/dist/cjs/node_modules/@radix-ui/react-switch/dist/index.cjs.map +1 -1
  159. package/dist/cjs/node_modules/@radix-ui/react-tabs/dist/index.cjs +1 -1
  160. package/dist/cjs/node_modules/@radix-ui/react-tabs/dist/index.cjs.map +1 -1
  161. package/dist/cjs/node_modules/@radix-ui/react-toggle/dist/index.cjs +1 -1
  162. package/dist/cjs/node_modules/@radix-ui/react-toggle/dist/index.cjs.map +1 -1
  163. package/dist/cjs/node_modules/@radix-ui/react-toggle-group/dist/index.cjs +1 -1
  164. package/dist/cjs/node_modules/@radix-ui/react-toggle-group/dist/index.cjs.map +1 -1
  165. package/dist/cjs/node_modules/@radix-ui/react-tooltip/dist/index.cjs +1 -1
  166. package/dist/cjs/node_modules/@radix-ui/react-tooltip/dist/index.cjs.map +1 -1
  167. package/dist/cjs/node_modules/@radix-ui/react-visually-hidden/dist/index.cjs +1 -1
  168. package/dist/cjs/node_modules/@radix-ui/react-visually-hidden/dist/index.cjs.map +1 -1
  169. package/dist/cjs/node_modules/react-day-picker/dist/index.esm.cjs +1 -1
  170. package/dist/cjs/node_modules/react-day-picker/dist/index.esm.cjs.map +1 -1
  171. package/dist/esm/components/ui/accordion.js +20 -20
  172. package/dist/esm/components/ui/accordion.js.map +1 -1
  173. package/dist/esm/components/ui/alert-dialog.js +53 -50
  174. package/dist/esm/components/ui/alert-dialog.js.map +1 -1
  175. package/dist/esm/components/ui/alert.js +6 -6
  176. package/dist/esm/components/ui/alert.js.map +1 -1
  177. package/dist/esm/components/ui/aspect-ratio.js +4 -4
  178. package/dist/esm/components/ui/aspect-ratio.js.map +1 -1
  179. package/dist/esm/components/ui/avatar.js +7 -7
  180. package/dist/esm/components/ui/avatar.js.map +1 -1
  181. package/dist/esm/components/ui/badge.js +9 -10
  182. package/dist/esm/components/ui/badge.js.map +1 -1
  183. package/dist/esm/components/ui/breadcrumb.js +36 -31
  184. package/dist/esm/components/ui/breadcrumb.js.map +1 -1
  185. package/dist/esm/components/ui/button.js +9 -10
  186. package/dist/esm/components/ui/button.js.map +1 -1
  187. package/dist/esm/components/ui/calendar.js +4 -4
  188. package/dist/esm/components/ui/calendar.js.map +1 -1
  189. package/dist/esm/components/ui/card.js +15 -12
  190. package/dist/esm/components/ui/card.js.map +1 -1
  191. package/dist/esm/components/ui/carousel.js +83 -83
  192. package/dist/esm/components/ui/carousel.js.map +1 -1
  193. package/dist/esm/components/ui/chart.js +80 -80
  194. package/dist/esm/components/ui/chart.js.map +1 -1
  195. package/dist/esm/components/ui/checkbox.js +4 -4
  196. package/dist/esm/components/ui/checkbox.js.map +1 -1
  197. package/dist/esm/components/ui/collapsible.js +10 -10
  198. package/dist/esm/components/ui/collapsible.js.map +1 -1
  199. package/dist/esm/components/ui/command.js +53 -53
  200. package/dist/esm/components/ui/command.js.map +1 -1
  201. package/dist/esm/components/ui/context-menu.js +80 -77
  202. package/dist/esm/components/ui/context-menu.js.map +1 -1
  203. package/dist/esm/components/ui/dialog.js +48 -45
  204. package/dist/esm/components/ui/dialog.js.map +1 -1
  205. package/dist/esm/components/ui/drawer.js +55 -49
  206. package/dist/esm/components/ui/drawer.js.map +1 -1
  207. package/dist/esm/components/ui/dropdown-menu.js +67 -64
  208. package/dist/esm/components/ui/dropdown-menu.js.map +1 -1
  209. package/dist/esm/components/ui/form.js +44 -38
  210. package/dist/esm/components/ui/form.js.map +1 -1
  211. package/dist/esm/components/ui/hover-card.js +6 -6
  212. package/dist/esm/components/ui/hover-card.js.map +1 -1
  213. package/dist/esm/components/ui/input-otp.js +19 -19
  214. package/dist/esm/components/ui/input-otp.js.map +1 -1
  215. package/dist/esm/components/ui/input.js +2 -2
  216. package/dist/esm/components/ui/input.js.map +1 -1
  217. package/dist/esm/components/ui/label.js +4 -4
  218. package/dist/esm/components/ui/label.js.map +1 -1
  219. package/dist/esm/components/ui/menubar.js +94 -91
  220. package/dist/esm/components/ui/menubar.js.map +1 -1
  221. package/dist/esm/components/ui/navigation-menu.js +44 -44
  222. package/dist/esm/components/ui/navigation-menu.js.map +1 -1
  223. package/dist/esm/components/ui/pagination.js +39 -39
  224. package/dist/esm/components/ui/pagination.js.map +1 -1
  225. package/dist/esm/components/ui/popover.js +9 -9
  226. package/dist/esm/components/ui/popover.js.map +1 -1
  227. package/dist/esm/components/ui/progress.js +9 -9
  228. package/dist/esm/components/ui/progress.js.map +1 -1
  229. package/dist/esm/components/ui/radio-group.js +8 -8
  230. package/dist/esm/components/ui/radio-group.js.map +1 -1
  231. package/dist/esm/components/ui/resizable.js +8 -8
  232. package/dist/esm/components/ui/resizable.js.map +1 -1
  233. package/dist/esm/components/ui/scroll-area.js +22 -22
  234. package/dist/esm/components/ui/scroll-area.js.map +1 -1
  235. package/dist/esm/components/ui/select.js +81 -78
  236. package/dist/esm/components/ui/select.js.map +1 -1
  237. package/dist/esm/components/ui/separator.js +4 -4
  238. package/dist/esm/components/ui/separator.js.map +1 -1
  239. package/dist/esm/components/ui/sheet.js +50 -44
  240. package/dist/esm/components/ui/sheet.js.map +1 -1
  241. package/dist/esm/components/ui/sidebar.js +178 -179
  242. package/dist/esm/components/ui/sidebar.js.map +1 -1
  243. package/dist/esm/components/ui/skeleton.js +8 -5
  244. package/dist/esm/components/ui/skeleton.js.map +1 -1
  245. package/dist/esm/components/ui/slider.js +21 -21
  246. package/dist/esm/components/ui/slider.js.map +1 -1
  247. package/dist/esm/components/ui/sonner.js +2 -2
  248. package/dist/esm/components/ui/sonner.js.map +1 -1
  249. package/dist/esm/components/ui/switch.js +3 -3
  250. package/dist/esm/components/ui/switch.js.map +1 -1
  251. package/dist/esm/components/ui/table.js +20 -17
  252. package/dist/esm/components/ui/table.js.map +1 -1
  253. package/dist/esm/components/ui/tabs.js +5 -5
  254. package/dist/esm/components/ui/tabs.js.map +1 -1
  255. package/dist/esm/components/ui/textarea.js +2 -2
  256. package/dist/esm/components/ui/textarea.js.map +1 -1
  257. package/dist/esm/components/ui/toggle-group.js +7 -7
  258. package/dist/esm/components/ui/toggle-group.js.map +1 -1
  259. package/dist/esm/components/ui/toggle.js +5 -5
  260. package/dist/esm/components/ui/toggle.js.map +1 -1
  261. package/dist/esm/components/ui/tooltip.js +19 -19
  262. package/dist/esm/components/ui/tooltip.js.map +1 -1
  263. package/dist/esm/node_modules/@radix-ui/react-accordion/dist/index.js +74 -74
  264. package/dist/esm/node_modules/@radix-ui/react-accordion/dist/index.js.map +1 -1
  265. package/dist/esm/node_modules/@radix-ui/react-alert-dialog/dist/index.js +69 -69
  266. package/dist/esm/node_modules/@radix-ui/react-alert-dialog/dist/index.js.map +1 -1
  267. package/dist/esm/node_modules/@radix-ui/react-arrow/dist/index.js +6 -6
  268. package/dist/esm/node_modules/@radix-ui/react-arrow/dist/index.js.map +1 -1
  269. package/dist/esm/node_modules/@radix-ui/react-aspect-ratio/dist/index.js +12 -12
  270. package/dist/esm/node_modules/@radix-ui/react-aspect-ratio/dist/index.js.map +1 -1
  271. package/dist/esm/node_modules/@radix-ui/react-avatar/dist/index.js +29 -29
  272. package/dist/esm/node_modules/@radix-ui/react-avatar/dist/index.js.map +1 -1
  273. package/dist/esm/node_modules/@radix-ui/react-checkbox/dist/index.js +62 -62
  274. package/dist/esm/node_modules/@radix-ui/react-checkbox/dist/index.js.map +1 -1
  275. package/dist/esm/node_modules/@radix-ui/react-collapsible/dist/index.js +46 -46
  276. package/dist/esm/node_modules/@radix-ui/react-collapsible/dist/index.js.map +1 -1
  277. package/dist/esm/node_modules/@radix-ui/react-collection/dist/index.js +26 -26
  278. package/dist/esm/node_modules/@radix-ui/react-collection/dist/index.js.map +1 -1
  279. package/dist/esm/node_modules/@radix-ui/react-context/dist/index.js +21 -21
  280. package/dist/esm/node_modules/@radix-ui/react-context/dist/index.js.map +1 -1
  281. package/dist/esm/node_modules/@radix-ui/react-context-menu/dist/index.js +115 -115
  282. package/dist/esm/node_modules/@radix-ui/react-context-menu/dist/index.js.map +1 -1
  283. package/dist/esm/node_modules/@radix-ui/react-dialog/dist/index.js +100 -100
  284. package/dist/esm/node_modules/@radix-ui/react-dialog/dist/index.js.map +1 -1
  285. package/dist/esm/node_modules/@radix-ui/react-direction/dist/index.js +1 -1
  286. package/dist/esm/node_modules/@radix-ui/react-dismissable-layer/dist/index.js +38 -38
  287. package/dist/esm/node_modules/@radix-ui/react-dismissable-layer/dist/index.js.map +1 -1
  288. package/dist/esm/node_modules/@radix-ui/react-dropdown-menu/dist/index.js +105 -105
  289. package/dist/esm/node_modules/@radix-ui/react-dropdown-menu/dist/index.js.map +1 -1
  290. package/dist/esm/node_modules/@radix-ui/react-focus-scope/dist/index.js +9 -9
  291. package/dist/esm/node_modules/@radix-ui/react-focus-scope/dist/index.js.map +1 -1
  292. package/dist/esm/node_modules/@radix-ui/react-hover-card/dist/index.js +41 -41
  293. package/dist/esm/node_modules/@radix-ui/react-hover-card/dist/index.js.map +1 -1
  294. package/dist/esm/node_modules/@radix-ui/react-label/dist/index.js +3 -3
  295. package/dist/esm/node_modules/@radix-ui/react-label/dist/index.js.map +1 -1
  296. package/dist/esm/node_modules/@radix-ui/react-menu/dist/index.js +198 -198
  297. package/dist/esm/node_modules/@radix-ui/react-menu/dist/index.js.map +1 -1
  298. package/dist/esm/node_modules/@radix-ui/react-menubar/dist/index.js +96 -96
  299. package/dist/esm/node_modules/@radix-ui/react-menubar/dist/index.js.map +1 -1
  300. package/dist/esm/node_modules/@radix-ui/react-navigation-menu/dist/index.js +236 -236
  301. package/dist/esm/node_modules/@radix-ui/react-navigation-menu/dist/index.js.map +1 -1
  302. package/dist/esm/node_modules/@radix-ui/react-popover/dist/index.js +90 -90
  303. package/dist/esm/node_modules/@radix-ui/react-popover/dist/index.js.map +1 -1
  304. package/dist/esm/node_modules/@radix-ui/react-popper/dist/index.js +49 -49
  305. package/dist/esm/node_modules/@radix-ui/react-popper/dist/index.js.map +1 -1
  306. package/dist/esm/node_modules/@radix-ui/react-portal/dist/index.js +8 -8
  307. package/dist/esm/node_modules/@radix-ui/react-portal/dist/index.js.map +1 -1
  308. package/dist/esm/node_modules/@radix-ui/react-primitive/dist/index.js +10 -10
  309. package/dist/esm/node_modules/@radix-ui/react-primitive/dist/index.js.map +1 -1
  310. package/dist/esm/node_modules/@radix-ui/react-progress/dist/index.js +18 -18
  311. package/dist/esm/node_modules/@radix-ui/react-progress/dist/index.js.map +1 -1
  312. package/dist/esm/node_modules/@radix-ui/react-radio-group/dist/index.js +86 -86
  313. package/dist/esm/node_modules/@radix-ui/react-radio-group/dist/index.js.map +1 -1
  314. package/dist/esm/node_modules/@radix-ui/react-roving-focus/dist/index.js +29 -29
  315. package/dist/esm/node_modules/@radix-ui/react-roving-focus/dist/index.js.map +1 -1
  316. package/dist/esm/node_modules/@radix-ui/react-scroll-area/dist/index.js +170 -170
  317. package/dist/esm/node_modules/@radix-ui/react-scroll-area/dist/index.js.map +1 -1
  318. package/dist/esm/node_modules/@radix-ui/react-select/dist/index.js +350 -350
  319. package/dist/esm/node_modules/@radix-ui/react-select/dist/index.js.map +1 -1
  320. package/dist/esm/node_modules/@radix-ui/react-separator/dist/index.js +6 -6
  321. package/dist/esm/node_modules/@radix-ui/react-separator/dist/index.js.map +1 -1
  322. package/dist/esm/node_modules/@radix-ui/react-slider/dist/index.js +114 -114
  323. package/dist/esm/node_modules/@radix-ui/react-slider/dist/index.js.map +1 -1
  324. package/dist/esm/node_modules/@radix-ui/react-slot/dist/index.js +14 -14
  325. package/dist/esm/node_modules/@radix-ui/react-slot/dist/index.js.map +1 -1
  326. package/dist/esm/node_modules/@radix-ui/react-switch/dist/index.js +48 -48
  327. package/dist/esm/node_modules/@radix-ui/react-switch/dist/index.js.map +1 -1
  328. package/dist/esm/node_modules/@radix-ui/react-tabs/dist/index.js +48 -48
  329. package/dist/esm/node_modules/@radix-ui/react-tabs/dist/index.js.map +1 -1
  330. package/dist/esm/node_modules/@radix-ui/react-toggle/dist/index.js +6 -6
  331. package/dist/esm/node_modules/@radix-ui/react-toggle/dist/index.js.map +1 -1
  332. package/dist/esm/node_modules/@radix-ui/react-toggle-group/dist/index.js +67 -71
  333. package/dist/esm/node_modules/@radix-ui/react-toggle-group/dist/index.js.map +1 -1
  334. package/dist/esm/node_modules/@radix-ui/react-tooltip/dist/index.js +97 -97
  335. package/dist/esm/node_modules/@radix-ui/react-tooltip/dist/index.js.map +1 -1
  336. package/dist/esm/node_modules/@radix-ui/react-visually-hidden/dist/index.js +4 -4
  337. package/dist/esm/node_modules/@radix-ui/react-visually-hidden/dist/index.js.map +1 -1
  338. package/dist/esm/node_modules/react-day-picker/dist/index.esm.js +483 -483
  339. package/dist/esm/node_modules/react-day-picker/dist/index.esm.js.map +1 -1
  340. package/dist/types/components/ui/accordion.d.ts.map +1 -1
  341. package/dist/types/components/ui/alert-dialog.d.ts.map +1 -1
  342. package/dist/types/components/ui/alert.d.ts.map +1 -1
  343. package/dist/types/components/ui/avatar.d.ts.map +1 -1
  344. package/dist/types/components/ui/badge.d.ts.map +1 -1
  345. package/dist/types/components/ui/breadcrumb.d.ts.map +1 -1
  346. package/dist/types/components/ui/button.d.ts.map +1 -1
  347. package/dist/types/components/ui/calendar.d.ts.map +1 -1
  348. package/dist/types/components/ui/card.d.ts +1 -1
  349. package/dist/types/components/ui/card.d.ts.map +1 -1
  350. package/dist/types/components/ui/carousel.d.ts +1 -1
  351. package/dist/types/components/ui/carousel.d.ts.map +1 -1
  352. package/dist/types/components/ui/chart.d.ts.map +1 -1
  353. package/dist/types/components/ui/checkbox.d.ts.map +1 -1
  354. package/dist/types/components/ui/command.d.ts +1 -1
  355. package/dist/types/components/ui/command.d.ts.map +1 -1
  356. package/dist/types/components/ui/context-menu.d.ts.map +1 -1
  357. package/dist/types/components/ui/dialog.d.ts.map +1 -1
  358. package/dist/types/components/ui/drawer.d.ts.map +1 -1
  359. package/dist/types/components/ui/dropdown-menu.d.ts.map +1 -1
  360. package/dist/types/components/ui/form.d.ts.map +1 -1
  361. package/dist/types/components/ui/hover-card.d.ts.map +1 -1
  362. package/dist/types/components/ui/input-otp.d.ts.map +1 -1
  363. package/dist/types/components/ui/input.d.ts.map +1 -1
  364. package/dist/types/components/ui/label.d.ts.map +1 -1
  365. package/dist/types/components/ui/menubar.d.ts.map +1 -1
  366. package/dist/types/components/ui/navigation-menu.d.ts.map +1 -1
  367. package/dist/types/components/ui/pagination.d.ts +1 -1
  368. package/dist/types/components/ui/pagination.d.ts.map +1 -1
  369. package/dist/types/components/ui/popover.d.ts.map +1 -1
  370. package/dist/types/components/ui/progress.d.ts.map +1 -1
  371. package/dist/types/components/ui/radio-group.d.ts.map +1 -1
  372. package/dist/types/components/ui/resizable.d.ts.map +1 -1
  373. package/dist/types/components/ui/scroll-area.d.ts.map +1 -1
  374. package/dist/types/components/ui/select.d.ts.map +1 -1
  375. package/dist/types/components/ui/separator.d.ts.map +1 -1
  376. package/dist/types/components/ui/sheet.d.ts.map +1 -1
  377. package/dist/types/components/ui/sidebar.d.ts +5 -5
  378. package/dist/types/components/ui/sidebar.d.ts.map +1 -1
  379. package/dist/types/components/ui/skeleton.d.ts.map +1 -1
  380. package/dist/types/components/ui/slider.d.ts.map +1 -1
  381. package/dist/types/components/ui/switch.d.ts.map +1 -1
  382. package/dist/types/components/ui/table.d.ts.map +1 -1
  383. package/dist/types/components/ui/tabs.d.ts.map +1 -1
  384. package/dist/types/components/ui/textarea.d.ts.map +1 -1
  385. package/dist/types/components/ui/toggle-group.d.ts +1 -1
  386. package/dist/types/components/ui/toggle-group.d.ts.map +1 -1
  387. package/dist/types/components/ui/toggle.d.ts.map +1 -1
  388. package/dist/types/components/ui/tooltip.d.ts.map +1 -1
  389. package/package.json +163 -399
  390. package/src/components/ui/accordion.tsx +10 -11
  391. package/src/components/ui/alert-dialog.tsx +21 -18
  392. package/src/components/ui/alert.tsx +10 -10
  393. package/src/components/ui/avatar.tsx +8 -9
  394. package/src/components/ui/badge.tsx +8 -9
  395. package/src/components/ui/breadcrumb.tsx +22 -17
  396. package/src/components/ui/button.tsx +11 -11
  397. package/src/components/ui/calendar.tsx +10 -10
  398. package/src/components/ui/card.tsx +20 -11
  399. package/src/components/ui/carousel.tsx +62 -63
  400. package/src/components/ui/chart.tsx +1 -2
  401. package/src/components/ui/checkbox.tsx +7 -8
  402. package/src/components/ui/command.tsx +18 -19
  403. package/src/components/ui/context-menu.tsx +29 -27
  404. package/src/components/ui/dialog.tsx +20 -18
  405. package/src/components/ui/drawer.tsx +23 -18
  406. package/src/components/ui/dropdown-menu.tsx +29 -27
  407. package/src/components/ui/form.tsx +49 -43
  408. package/src/components/ui/hover-card.tsx +8 -9
  409. package/src/components/ui/input-otp.tsx +1 -2
  410. package/src/components/ui/input.tsx +1 -2
  411. package/src/components/ui/label.tsx +6 -7
  412. package/src/components/ui/menubar.tsx +30 -28
  413. package/src/components/ui/navigation-menu.tsx +19 -19
  414. package/src/components/ui/pagination.tsx +14 -15
  415. package/src/components/ui/popover.tsx +9 -10
  416. package/src/components/ui/progress.tsx +6 -7
  417. package/src/components/ui/radio-group.tsx +8 -9
  418. package/src/components/ui/resizable.tsx +10 -11
  419. package/src/components/ui/scroll-area.tsx +7 -8
  420. package/src/components/ui/select.tsx +20 -18
  421. package/src/components/ui/separator.tsx +6 -7
  422. package/src/components/ui/sheet.tsx +25 -20
  423. package/src/components/ui/sidebar.tsx +119 -117
  424. package/src/components/ui/skeleton.tsx +7 -4
  425. package/src/components/ui/slider.tsx +9 -10
  426. package/src/components/ui/switch.tsx +6 -7
  427. package/src/components/ui/table.tsx +16 -14
  428. package/src/components/ui/tabs.tsx +9 -10
  429. package/src/components/ui/textarea.tsx +4 -4
  430. package/src/components/ui/toggle-group.tsx +11 -12
  431. package/src/components/ui/toggle.tsx +8 -9
  432. package/src/components/ui/tooltip.tsx +9 -10
  433. package/tsconfig.json +47 -0
  434. package/dist/cjs/_virtual/jsx-runtime.cjs +0 -2
  435. package/dist/cjs/_virtual/jsx-runtime.cjs.map +0 -1
  436. package/dist/cjs/_virtual/jsx-runtime2.cjs +0 -2
  437. package/dist/cjs/_virtual/jsx-runtime2.cjs.map +0 -1
  438. package/dist/cjs/_virtual/react-jsx-runtime.development.cjs +0 -2
  439. package/dist/cjs/_virtual/react-jsx-runtime.development.cjs.map +0 -1
  440. package/dist/cjs/_virtual/react-jsx-runtime.production.cjs +0 -2
  441. package/dist/cjs/_virtual/react-jsx-runtime.production.cjs.map +0 -1
  442. package/dist/cjs/node_modules/react/cjs/react-jsx-runtime.development.cjs +0 -24
  443. package/dist/cjs/node_modules/react/cjs/react-jsx-runtime.development.cjs.map +0 -1
  444. package/dist/cjs/node_modules/react/cjs/react-jsx-runtime.production.cjs +0 -10
  445. package/dist/cjs/node_modules/react/cjs/react-jsx-runtime.production.cjs.map +0 -1
  446. package/dist/cjs/node_modules/react/jsx-runtime.cjs +0 -2
  447. package/dist/cjs/node_modules/react/jsx-runtime.cjs.map +0 -1
  448. package/dist/esm/_virtual/jsx-runtime.js +0 -7
  449. package/dist/esm/_virtual/jsx-runtime.js.map +0 -1
  450. package/dist/esm/_virtual/jsx-runtime2.js +0 -6
  451. package/dist/esm/_virtual/jsx-runtime2.js.map +0 -1
  452. package/dist/esm/_virtual/react-jsx-runtime.development.js +0 -6
  453. package/dist/esm/_virtual/react-jsx-runtime.development.js.map +0 -1
  454. package/dist/esm/_virtual/react-jsx-runtime.production.js +0 -6
  455. package/dist/esm/_virtual/react-jsx-runtime.production.js.map +0 -1
  456. package/dist/esm/node_modules/react/cjs/react-jsx-runtime.development.js +0 -410
  457. package/dist/esm/node_modules/react/cjs/react-jsx-runtime.development.js.map +0 -1
  458. package/dist/esm/node_modules/react/cjs/react-jsx-runtime.production.js +0 -37
  459. package/dist/esm/node_modules/react/cjs/react-jsx-runtime.production.js.map +0 -1
  460. package/dist/esm/node_modules/react/jsx-runtime.js +0 -12
  461. package/dist/esm/node_modules/react/jsx-runtime.js.map +0 -1
  462. package/src/global.d.ts +0 -3
@@ -2,7 +2,7 @@
2
2
  import * as o from "react";
3
3
  import { composeEventHandlers as v } from "../../primitive/dist/index.js";
4
4
  import { createCollection as ze } from "../../react-collection/dist/index.js";
5
- import { useComposedRefs as D, composeRefs as Ze } from "../../react-compose-refs/dist/index.js";
5
+ import { useComposedRefs as k, composeRefs as Ze } from "../../react-compose-refs/dist/index.js";
6
6
  import { createContextScope as $e } from "../../react-context/dist/index.js";
7
7
  import { useDirection as qe } from "../../react-direction/dist/index.js";
8
8
  import { DismissableLayer as Je } from "../../react-dismissable-layer/dist/index.js";
@@ -11,46 +11,46 @@ import { FocusScope as et } from "../../react-focus-scope/dist/index.js";
11
11
  import { useId as de } from "../../react-id/dist/index.js";
12
12
  import { createPopperScope as pe, Root as me, Anchor as tt, Content as nt, Arrow as ot } from "../../react-popper/dist/index.js";
13
13
  import { Portal as rt } from "../../react-portal/dist/index.js";
14
- import { Presence as Y } from "../../react-presence/dist/index.js";
15
- import { Primitive as k, dispatchDiscreteCustomEvent as ct } from "../../react-primitive/dist/index.js";
16
- import { createRovingFocusGroupScope as he, Item as st, Root as at } from "../../react-roving-focus/dist/index.js";
14
+ import { Presence as X } from "../../react-presence/dist/index.js";
15
+ import { Primitive as N, dispatchDiscreteCustomEvent as ct } from "../../react-primitive/dist/index.js";
16
+ import { createRovingFocusGroupScope as he, Item as at, Root as st } from "../../react-roving-focus/dist/index.js";
17
17
  import { Slot as ut } from "../../react-slot/dist/index.js";
18
18
  import { useCallbackRef as q } from "../../react-use-callback-ref/dist/index.js";
19
19
  import { hideOthers as it } from "../../../aria-hidden/dist/es2015/index.js";
20
20
  import lt from "../../../react-remove-scroll/dist/es2015/Combination.js";
21
- import { j as a } from "../../../../_virtual/jsx-runtime.js";
21
+ import { jsx as s } from "react/jsx-runtime";
22
22
  var $ = ["Enter", " "], dt = ["ArrowDown", "PageUp", "Home"], Me = ["ArrowUp", "PageDown", "End"], ft = [...dt, ...Me], pt = {
23
23
  ltr: [...$, "ArrowRight"],
24
24
  rtl: [...$, "ArrowLeft"]
25
25
  }, mt = {
26
26
  ltr: ["ArrowLeft"],
27
27
  rtl: ["ArrowRight"]
28
- }, N = "Menu", [O, ht, Mt] = ze(N), [S, nn] = $e(N, [
28
+ }, F = "Menu", [O, ht, Mt] = ze(F), [P, nn] = $e(F, [
29
29
  Mt,
30
30
  pe,
31
31
  he
32
- ]), F = pe(), ve = he(), [Ce, _] = S(N), [vt, L] = S(N), ge = (e) => {
33
- const { __scopeMenu: n, open: t = !1, children: c, dir: u, onOpenChange: r, modal: l = !0 } = e, f = F(n), [p, m] = o.useState(null), d = o.useRef(!1), s = q(r), h = qe(u);
32
+ ]), L = pe(), ve = he(), [Ce, R] = P(F), [vt, K] = P(F), ge = (e) => {
33
+ const { __scopeMenu: n, open: t = !1, children: c, dir: u, onOpenChange: r, modal: l = !0 } = e, f = L(n), [p, m] = o.useState(null), d = o.useRef(!1), a = q(r), h = qe(u);
34
34
  return o.useEffect(() => {
35
- const x = () => {
35
+ const _ = () => {
36
36
  d.current = !0, document.addEventListener("pointerdown", M, { capture: !0, once: !0 }), document.addEventListener("pointermove", M, { capture: !0, once: !0 });
37
37
  }, M = () => d.current = !1;
38
- return document.addEventListener("keydown", x, { capture: !0 }), () => {
39
- document.removeEventListener("keydown", x, { capture: !0 }), document.removeEventListener("pointerdown", M, { capture: !0 }), document.removeEventListener("pointermove", M, { capture: !0 });
38
+ return document.addEventListener("keydown", _, { capture: !0 }), () => {
39
+ document.removeEventListener("keydown", _, { capture: !0 }), document.removeEventListener("pointerdown", M, { capture: !0 }), document.removeEventListener("pointermove", M, { capture: !0 });
40
40
  };
41
- }, []), /* @__PURE__ */ a.jsx(me, { ...f, children: /* @__PURE__ */ a.jsx(
41
+ }, []), /* @__PURE__ */ s(me, { ...f, children: /* @__PURE__ */ s(
42
42
  Ce,
43
43
  {
44
44
  scope: n,
45
45
  open: t,
46
- onOpenChange: s,
46
+ onOpenChange: a,
47
47
  content: p,
48
48
  onContentChange: m,
49
- children: /* @__PURE__ */ a.jsx(
49
+ children: /* @__PURE__ */ s(
50
50
  vt,
51
51
  {
52
52
  scope: n,
53
- onClose: o.useCallback(() => s(!1), [s]),
53
+ onClose: o.useCallback(() => a(!1), [a]),
54
54
  isUsingKeyboardRef: d,
55
55
  dir: h,
56
56
  modal: l,
@@ -60,33 +60,33 @@ var $ = ["Enter", " "], dt = ["ArrowDown", "PageUp", "Home"], Me = ["ArrowUp", "
60
60
  }
61
61
  ) });
62
62
  };
63
- ge.displayName = N;
63
+ ge.displayName = F;
64
64
  var Ct = "MenuAnchor", J = o.forwardRef(
65
65
  (e, n) => {
66
- const { __scopeMenu: t, ...c } = e, u = F(t);
67
- return /* @__PURE__ */ a.jsx(tt, { ...u, ...c, ref: n });
66
+ const { __scopeMenu: t, ...c } = e, u = L(t);
67
+ return /* @__PURE__ */ s(tt, { ...u, ...c, ref: n });
68
68
  }
69
69
  );
70
70
  J.displayName = Ct;
71
- var Q = "MenuPortal", [gt, xe] = S(Q, {
71
+ var Q = "MenuPortal", [gt, _e] = P(Q, {
72
72
  forceMount: void 0
73
- }), _e = (e) => {
74
- const { __scopeMenu: n, forceMount: t, children: c, container: u } = e, r = _(Q, n);
75
- return /* @__PURE__ */ a.jsx(gt, { scope: n, forceMount: t, children: /* @__PURE__ */ a.jsx(Y, { present: t || r.open, children: /* @__PURE__ */ a.jsx(rt, { asChild: !0, container: u, children: c }) }) });
73
+ }), Re = (e) => {
74
+ const { __scopeMenu: n, forceMount: t, children: c, container: u } = e, r = R(Q, n);
75
+ return /* @__PURE__ */ s(gt, { scope: n, forceMount: t, children: /* @__PURE__ */ s(X, { present: t || r.open, children: /* @__PURE__ */ s(rt, { asChild: !0, container: u, children: c }) }) });
76
76
  };
77
- _e.displayName = Q;
78
- var g = "MenuContent", [xt, ee] = S(g), Re = o.forwardRef(
77
+ Re.displayName = Q;
78
+ var g = "MenuContent", [_t, ee] = P(g), Se = o.forwardRef(
79
79
  (e, n) => {
80
- const t = xe(g, e.__scopeMenu), { forceMount: c = t.forceMount, ...u } = e, r = _(g, e.__scopeMenu), l = L(g, e.__scopeMenu);
81
- return /* @__PURE__ */ a.jsx(O.Provider, { scope: e.__scopeMenu, children: /* @__PURE__ */ a.jsx(Y, { present: c || r.open, children: /* @__PURE__ */ a.jsx(O.Slot, { scope: e.__scopeMenu, children: l.modal ? /* @__PURE__ */ a.jsx(_t, { ...u, ref: n }) : /* @__PURE__ */ a.jsx(Rt, { ...u, ref: n }) }) }) });
80
+ const t = _e(g, e.__scopeMenu), { forceMount: c = t.forceMount, ...u } = e, r = R(g, e.__scopeMenu), l = K(g, e.__scopeMenu);
81
+ return /* @__PURE__ */ s(O.Provider, { scope: e.__scopeMenu, children: /* @__PURE__ */ s(X, { present: c || r.open, children: /* @__PURE__ */ s(O.Slot, { scope: e.__scopeMenu, children: l.modal ? /* @__PURE__ */ s(Rt, { ...u, ref: n }) : /* @__PURE__ */ s(St, { ...u, ref: n }) }) }) });
82
82
  }
83
- ), _t = o.forwardRef(
83
+ ), Rt = o.forwardRef(
84
84
  (e, n) => {
85
- const t = _(g, e.__scopeMenu), c = o.useRef(null), u = D(n, c);
85
+ const t = R(g, e.__scopeMenu), c = o.useRef(null), u = k(n, c);
86
86
  return o.useEffect(() => {
87
87
  const r = c.current;
88
88
  if (r) return it(r);
89
- }, []), /* @__PURE__ */ a.jsx(
89
+ }, []), /* @__PURE__ */ s(
90
90
  te,
91
91
  {
92
92
  ...e,
@@ -103,9 +103,9 @@ var g = "MenuContent", [xt, ee] = S(g), Re = o.forwardRef(
103
103
  }
104
104
  );
105
105
  }
106
- ), Rt = o.forwardRef((e, n) => {
107
- const t = _(g, e.__scopeMenu);
108
- return /* @__PURE__ */ a.jsx(
106
+ ), St = o.forwardRef((e, n) => {
107
+ const t = R(g, e.__scopeMenu);
108
+ return /* @__PURE__ */ s(
109
109
  te,
110
110
  {
111
111
  ...e,
@@ -128,108 +128,108 @@ var g = "MenuContent", [xt, ee] = S(g), Re = o.forwardRef(
128
128
  onEntryFocus: p,
129
129
  onEscapeKeyDown: m,
130
130
  onPointerDownOutside: d,
131
- onFocusOutside: s,
131
+ onFocusOutside: a,
132
132
  onInteractOutside: h,
133
- onDismiss: x,
133
+ onDismiss: _,
134
134
  disableOutsideScroll: M,
135
- ...P
136
- } = e, y = _(g, t), E = L(g, t), Ge = F(t), Ue = ve(t), se = ht(t), [Be, ae] = o.useState(null), K = o.useRef(null), Ve = D(n, K, y.onContentChange), G = o.useRef(0), U = o.useRef(""), Ye = o.useRef(0), H = o.useRef(null), ue = o.useRef("right"), W = o.useRef(0), Xe = M ? lt : o.Fragment, He = M ? { as: ut, allowPinchZoom: !0 } : void 0, We = (i) => {
137
- const I = U.current + i, R = se().filter((C) => !C.disabled), b = document.activeElement, z = R.find((C) => C.ref.current === b)?.textValue, Z = R.map((C) => C.textValue), ie = Dt(Z, I, z), T = R.find((C) => C.textValue === ie)?.ref.current;
135
+ ...E
136
+ } = e, x = R(g, t), w = K(g, t), Ue = L(t), Be = ve(t), ae = ht(t), [Ve, se] = o.useState(null), G = o.useRef(null), Ye = k(n, G, x.onContentChange), U = o.useRef(0), B = o.useRef(""), Xe = o.useRef(0), j = o.useRef(null), ue = o.useRef("right"), W = o.useRef(0), He = M ? lt : o.Fragment, je = M ? { as: ut, allowPinchZoom: !0 } : void 0, We = (i) => {
137
+ const y = B.current + i, S = ae().filter((C) => !C.disabled), b = document.activeElement, z = S.find((C) => C.ref.current === b)?.textValue, Z = S.map((C) => C.textValue), ie = kt(Z, y, z), T = S.find((C) => C.textValue === ie)?.ref.current;
138
138
  (function C(le) {
139
- U.current = le, window.clearTimeout(G.current), le !== "" && (G.current = window.setTimeout(() => C(""), 1e3));
140
- })(I), T && setTimeout(() => T.focus());
139
+ B.current = le, window.clearTimeout(U.current), le !== "" && (U.current = window.setTimeout(() => C(""), 1e3));
140
+ })(y), T && setTimeout(() => T.focus());
141
141
  };
142
- o.useEffect(() => () => window.clearTimeout(G.current), []), Qe();
143
- const w = o.useCallback((i) => ue.current === H.current?.side && Nt(i, H.current?.area), []);
144
- return /* @__PURE__ */ a.jsx(
145
- xt,
142
+ o.useEffect(() => () => window.clearTimeout(U.current), []), Qe();
143
+ const I = o.useCallback((i) => ue.current === j.current?.side && Ft(i, j.current?.area), []);
144
+ return /* @__PURE__ */ s(
145
+ _t,
146
146
  {
147
147
  scope: t,
148
- searchRef: U,
148
+ searchRef: B,
149
149
  onItemEnter: o.useCallback(
150
150
  (i) => {
151
- w(i) && i.preventDefault();
151
+ I(i) && i.preventDefault();
152
152
  },
153
- [w]
153
+ [I]
154
154
  ),
155
155
  onItemLeave: o.useCallback(
156
156
  (i) => {
157
- w(i) || (K.current?.focus(), ae(null));
157
+ I(i) || (G.current?.focus(), se(null));
158
158
  },
159
- [w]
159
+ [I]
160
160
  ),
161
161
  onTriggerLeave: o.useCallback(
162
162
  (i) => {
163
- w(i) && i.preventDefault();
163
+ I(i) && i.preventDefault();
164
164
  },
165
- [w]
165
+ [I]
166
166
  ),
167
- pointerGraceTimerRef: Ye,
167
+ pointerGraceTimerRef: Xe,
168
168
  onPointerGraceIntentChange: o.useCallback((i) => {
169
- H.current = i;
169
+ j.current = i;
170
170
  }, []),
171
- children: /* @__PURE__ */ a.jsx(Xe, { ...He, children: /* @__PURE__ */ a.jsx(
171
+ children: /* @__PURE__ */ s(He, { ...je, children: /* @__PURE__ */ s(
172
172
  et,
173
173
  {
174
174
  asChild: !0,
175
175
  trapped: u,
176
176
  onMountAutoFocus: v(r, (i) => {
177
- i.preventDefault(), K.current?.focus({ preventScroll: !0 });
177
+ i.preventDefault(), G.current?.focus({ preventScroll: !0 });
178
178
  }),
179
179
  onUnmountAutoFocus: l,
180
- children: /* @__PURE__ */ a.jsx(
180
+ children: /* @__PURE__ */ s(
181
181
  Je,
182
182
  {
183
183
  asChild: !0,
184
184
  disableOutsidePointerEvents: f,
185
185
  onEscapeKeyDown: m,
186
186
  onPointerDownOutside: d,
187
- onFocusOutside: s,
187
+ onFocusOutside: a,
188
188
  onInteractOutside: h,
189
- onDismiss: x,
190
- children: /* @__PURE__ */ a.jsx(
191
- at,
189
+ onDismiss: _,
190
+ children: /* @__PURE__ */ s(
191
+ st,
192
192
  {
193
193
  asChild: !0,
194
- ...Ue,
195
- dir: E.dir,
194
+ ...Be,
195
+ dir: w.dir,
196
196
  orientation: "vertical",
197
197
  loop: c,
198
- currentTabStopId: Be,
199
- onCurrentTabStopIdChange: ae,
198
+ currentTabStopId: Ve,
199
+ onCurrentTabStopIdChange: se,
200
200
  onEntryFocus: v(p, (i) => {
201
- E.isUsingKeyboardRef.current || i.preventDefault();
201
+ w.isUsingKeyboardRef.current || i.preventDefault();
202
202
  }),
203
203
  preventScrollOnEntryFocus: !0,
204
- children: /* @__PURE__ */ a.jsx(
204
+ children: /* @__PURE__ */ s(
205
205
  nt,
206
206
  {
207
207
  role: "menu",
208
208
  "aria-orientation": "vertical",
209
- "data-state": Ke(y.open),
209
+ "data-state": Ge(x.open),
210
210
  "data-radix-menu-content": "",
211
- dir: E.dir,
212
- ...Ge,
213
- ...P,
214
- ref: Ve,
215
- style: { outline: "none", ...P.style },
216
- onKeyDown: v(P.onKeyDown, (i) => {
217
- const R = i.target.closest("[data-radix-menu-content]") === i.currentTarget, b = i.ctrlKey || i.altKey || i.metaKey, z = i.key.length === 1;
218
- R && (i.key === "Tab" && i.preventDefault(), !b && z && We(i.key));
219
- const Z = K.current;
211
+ dir: w.dir,
212
+ ...Ue,
213
+ ...E,
214
+ ref: Ye,
215
+ style: { outline: "none", ...E.style },
216
+ onKeyDown: v(E.onKeyDown, (i) => {
217
+ const S = i.target.closest("[data-radix-menu-content]") === i.currentTarget, b = i.ctrlKey || i.altKey || i.metaKey, z = i.key.length === 1;
218
+ S && (i.key === "Tab" && i.preventDefault(), !b && z && We(i.key));
219
+ const Z = G.current;
220
220
  if (i.target !== Z || !ft.includes(i.key)) return;
221
221
  i.preventDefault();
222
- const T = se().filter((C) => !C.disabled).map((C) => C.ref.current);
222
+ const T = ae().filter((C) => !C.disabled).map((C) => C.ref.current);
223
223
  Me.includes(i.key) && T.reverse(), Ot(T);
224
224
  }),
225
225
  onBlur: v(e.onBlur, (i) => {
226
- i.currentTarget.contains(i.target) || (window.clearTimeout(G.current), U.current = "");
226
+ i.currentTarget.contains(i.target) || (window.clearTimeout(U.current), B.current = "");
227
227
  }),
228
228
  onPointerMove: v(
229
229
  e.onPointerMove,
230
- j((i) => {
231
- const I = i.target, R = W.current !== i.clientX;
232
- if (i.currentTarget.contains(I) && R) {
230
+ D((i) => {
231
+ const y = i.target, S = W.current !== i.clientX;
232
+ if (i.currentTarget.contains(y) && S) {
233
233
  const b = i.clientX > W.current ? "right" : "left";
234
234
  ue.current = b, W.current = i.clientX;
235
235
  }
@@ -247,66 +247,66 @@ var g = "MenuContent", [xt, ee] = S(g), Re = o.forwardRef(
247
247
  );
248
248
  }
249
249
  );
250
- Re.displayName = g;
251
- var St = "MenuGroup", ne = o.forwardRef(
250
+ Se.displayName = g;
251
+ var Pt = "MenuGroup", ne = o.forwardRef(
252
252
  (e, n) => {
253
253
  const { __scopeMenu: t, ...c } = e;
254
- return /* @__PURE__ */ a.jsx(k.div, { role: "group", ...c, ref: n });
254
+ return /* @__PURE__ */ s(N.div, { role: "group", ...c, ref: n });
255
255
  }
256
256
  );
257
- ne.displayName = St;
258
- var Pt = "MenuLabel", Se = o.forwardRef(
257
+ ne.displayName = Pt;
258
+ var Et = "MenuLabel", Pe = o.forwardRef(
259
259
  (e, n) => {
260
260
  const { __scopeMenu: t, ...c } = e;
261
- return /* @__PURE__ */ a.jsx(k.div, { ...c, ref: n });
261
+ return /* @__PURE__ */ s(N.div, { ...c, ref: n });
262
262
  }
263
263
  );
264
- Se.displayName = Pt;
265
- var B = "MenuItem", fe = "menu.itemSelect", X = o.forwardRef(
264
+ Pe.displayName = Et;
265
+ var V = "MenuItem", fe = "menu.itemSelect", H = o.forwardRef(
266
266
  (e, n) => {
267
- const { disabled: t = !1, onSelect: c, ...u } = e, r = o.useRef(null), l = L(B, e.__scopeMenu), f = ee(B, e.__scopeMenu), p = D(n, r), m = o.useRef(!1), d = () => {
268
- const s = r.current;
269
- if (!t && s) {
267
+ const { disabled: t = !1, onSelect: c, ...u } = e, r = o.useRef(null), l = K(V, e.__scopeMenu), f = ee(V, e.__scopeMenu), p = k(n, r), m = o.useRef(!1), d = () => {
268
+ const a = r.current;
269
+ if (!t && a) {
270
270
  const h = new CustomEvent(fe, { bubbles: !0, cancelable: !0 });
271
- s.addEventListener(fe, (x) => c?.(x), { once: !0 }), ct(s, h), h.defaultPrevented ? m.current = !1 : l.onClose();
271
+ a.addEventListener(fe, (_) => c?.(_), { once: !0 }), ct(a, h), h.defaultPrevented ? m.current = !1 : l.onClose();
272
272
  }
273
273
  };
274
- return /* @__PURE__ */ a.jsx(
275
- Pe,
274
+ return /* @__PURE__ */ s(
275
+ Ee,
276
276
  {
277
277
  ...u,
278
278
  ref: p,
279
279
  disabled: t,
280
280
  onClick: v(e.onClick, d),
281
- onPointerDown: (s) => {
282
- e.onPointerDown?.(s), m.current = !0;
281
+ onPointerDown: (a) => {
282
+ e.onPointerDown?.(a), m.current = !0;
283
283
  },
284
- onPointerUp: v(e.onPointerUp, (s) => {
285
- m.current || s.currentTarget?.click();
284
+ onPointerUp: v(e.onPointerUp, (a) => {
285
+ m.current || a.currentTarget?.click();
286
286
  }),
287
- onKeyDown: v(e.onKeyDown, (s) => {
287
+ onKeyDown: v(e.onKeyDown, (a) => {
288
288
  const h = f.searchRef.current !== "";
289
- t || h && s.key === " " || $.includes(s.key) && (s.currentTarget.click(), s.preventDefault());
289
+ t || h && a.key === " " || $.includes(a.key) && (a.currentTarget.click(), a.preventDefault());
290
290
  })
291
291
  }
292
292
  );
293
293
  }
294
294
  );
295
- X.displayName = B;
296
- var Pe = o.forwardRef(
295
+ H.displayName = V;
296
+ var Ee = o.forwardRef(
297
297
  (e, n) => {
298
- const { __scopeMenu: t, disabled: c = !1, textValue: u, ...r } = e, l = ee(B, t), f = ve(t), p = o.useRef(null), m = D(n, p), [d, s] = o.useState(!1), [h, x] = o.useState("");
298
+ const { __scopeMenu: t, disabled: c = !1, textValue: u, ...r } = e, l = ee(V, t), f = ve(t), p = o.useRef(null), m = k(n, p), [d, a] = o.useState(!1), [h, _] = o.useState("");
299
299
  return o.useEffect(() => {
300
300
  const M = p.current;
301
- M && x((M.textContent ?? "").trim());
302
- }, [r.children]), /* @__PURE__ */ a.jsx(
301
+ M && _((M.textContent ?? "").trim());
302
+ }, [r.children]), /* @__PURE__ */ s(
303
303
  O.ItemSlot,
304
304
  {
305
305
  scope: t,
306
306
  disabled: c,
307
307
  textValue: u ?? h,
308
- children: /* @__PURE__ */ a.jsx(st, { asChild: !0, ...f, focusable: !c, children: /* @__PURE__ */ a.jsx(
309
- k.div,
308
+ children: /* @__PURE__ */ s(at, { asChild: !0, ...f, focusable: !c, children: /* @__PURE__ */ s(
309
+ N.div,
310
310
  {
311
311
  role: "menuitem",
312
312
  "data-highlighted": d ? "" : void 0,
@@ -316,58 +316,58 @@ var Pe = o.forwardRef(
316
316
  ref: m,
317
317
  onPointerMove: v(
318
318
  e.onPointerMove,
319
- j((M) => {
319
+ D((M) => {
320
320
  c ? l.onItemLeave(M) : (l.onItemEnter(M), M.defaultPrevented || M.currentTarget.focus({ preventScroll: !0 }));
321
321
  })
322
322
  ),
323
323
  onPointerLeave: v(
324
324
  e.onPointerLeave,
325
- j((M) => l.onItemLeave(M))
325
+ D((M) => l.onItemLeave(M))
326
326
  ),
327
- onFocus: v(e.onFocus, () => s(!0)),
328
- onBlur: v(e.onBlur, () => s(!1))
327
+ onFocus: v(e.onFocus, () => a(!0)),
328
+ onBlur: v(e.onBlur, () => a(!1))
329
329
  }
330
330
  ) })
331
331
  }
332
332
  );
333
333
  }
334
- ), Et = "MenuCheckboxItem", Ee = o.forwardRef(
334
+ ), wt = "MenuCheckboxItem", we = o.forwardRef(
335
335
  (e, n) => {
336
336
  const { checked: t = !1, onCheckedChange: c, ...u } = e;
337
- return /* @__PURE__ */ a.jsx(Te, { scope: e.__scopeMenu, checked: t, children: /* @__PURE__ */ a.jsx(
338
- X,
337
+ return /* @__PURE__ */ s(Te, { scope: e.__scopeMenu, checked: t, children: /* @__PURE__ */ s(
338
+ H,
339
339
  {
340
340
  role: "menuitemcheckbox",
341
- "aria-checked": V(t) ? "mixed" : t,
341
+ "aria-checked": Y(t) ? "mixed" : t,
342
342
  ...u,
343
343
  ref: n,
344
344
  "data-state": ce(t),
345
345
  onSelect: v(
346
346
  u.onSelect,
347
- () => c?.(V(t) ? !0 : !t),
347
+ () => c?.(Y(t) ? !0 : !t),
348
348
  { checkForDefaultPrevented: !1 }
349
349
  )
350
350
  }
351
351
  ) });
352
352
  }
353
353
  );
354
- Ee.displayName = Et;
355
- var we = "MenuRadioGroup", [wt, It] = S(
356
- we,
354
+ we.displayName = wt;
355
+ var Ie = "MenuRadioGroup", [It, yt] = P(
356
+ Ie,
357
357
  { value: void 0, onValueChange: () => {
358
358
  } }
359
- ), Ie = o.forwardRef(
359
+ ), ye = o.forwardRef(
360
360
  (e, n) => {
361
361
  const { value: t, onValueChange: c, ...u } = e, r = q(c);
362
- return /* @__PURE__ */ a.jsx(wt, { scope: e.__scopeMenu, value: t, onValueChange: r, children: /* @__PURE__ */ a.jsx(ne, { ...u, ref: n }) });
362
+ return /* @__PURE__ */ s(It, { scope: e.__scopeMenu, value: t, onValueChange: r, children: /* @__PURE__ */ s(ne, { ...u, ref: n }) });
363
363
  }
364
364
  );
365
- Ie.displayName = we;
366
- var ye = "MenuRadioItem", be = o.forwardRef(
365
+ ye.displayName = Ie;
366
+ var xe = "MenuRadioItem", be = o.forwardRef(
367
367
  (e, n) => {
368
- const { value: t, ...c } = e, u = It(ye, e.__scopeMenu), r = t === u.value;
369
- return /* @__PURE__ */ a.jsx(Te, { scope: e.__scopeMenu, checked: r, children: /* @__PURE__ */ a.jsx(
370
- X,
368
+ const { value: t, ...c } = e, u = yt(xe, e.__scopeMenu), r = t === u.value;
369
+ return /* @__PURE__ */ s(Te, { scope: e.__scopeMenu, checked: r, children: /* @__PURE__ */ s(
370
+ H,
371
371
  {
372
372
  role: "menuitemradio",
373
373
  "aria-checked": r,
@@ -383,19 +383,19 @@ var ye = "MenuRadioItem", be = o.forwardRef(
383
383
  ) });
384
384
  }
385
385
  );
386
- be.displayName = ye;
387
- var oe = "MenuItemIndicator", [Te, yt] = S(
386
+ be.displayName = xe;
387
+ var oe = "MenuItemIndicator", [Te, xt] = P(
388
388
  oe,
389
389
  { checked: !1 }
390
390
  ), Ae = o.forwardRef(
391
391
  (e, n) => {
392
- const { __scopeMenu: t, forceMount: c, ...u } = e, r = yt(oe, t);
393
- return /* @__PURE__ */ a.jsx(
394
- Y,
392
+ const { __scopeMenu: t, forceMount: c, ...u } = e, r = xt(oe, t);
393
+ return /* @__PURE__ */ s(
394
+ X,
395
395
  {
396
- present: c || V(r.checked) || r.checked === !0,
397
- children: /* @__PURE__ */ a.jsx(
398
- k.span,
396
+ present: c || Y(r.checked) || r.checked === !0,
397
+ children: /* @__PURE__ */ s(
398
+ N.span,
399
399
  {
400
400
  ...u,
401
401
  ref: n,
@@ -410,8 +410,8 @@ Ae.displayName = oe;
410
410
  var bt = "MenuSeparator", Oe = o.forwardRef(
411
411
  (e, n) => {
412
412
  const { __scopeMenu: t, ...c } = e;
413
- return /* @__PURE__ */ a.jsx(
414
- k.div,
413
+ return /* @__PURE__ */ s(
414
+ N.div,
415
415
  {
416
416
  role: "separator",
417
417
  "aria-orientation": "horizontal",
@@ -422,24 +422,24 @@ var bt = "MenuSeparator", Oe = o.forwardRef(
422
422
  }
423
423
  );
424
424
  Oe.displayName = bt;
425
- var Tt = "MenuArrow", je = o.forwardRef(
425
+ var Tt = "MenuArrow", De = o.forwardRef(
426
426
  (e, n) => {
427
- const { __scopeMenu: t, ...c } = e, u = F(t);
428
- return /* @__PURE__ */ a.jsx(ot, { ...u, ...c, ref: n });
427
+ const { __scopeMenu: t, ...c } = e, u = L(t);
428
+ return /* @__PURE__ */ s(ot, { ...u, ...c, ref: n });
429
429
  }
430
430
  );
431
- je.displayName = Tt;
432
- var re = "MenuSub", [At, De] = S(re), ke = (e) => {
433
- const { __scopeMenu: n, children: t, open: c = !1, onOpenChange: u } = e, r = _(re, n), l = F(n), [f, p] = o.useState(null), [m, d] = o.useState(null), s = q(u);
434
- return o.useEffect(() => (r.open === !1 && s(!1), () => s(!1)), [r.open, s]), /* @__PURE__ */ a.jsx(me, { ...l, children: /* @__PURE__ */ a.jsx(
431
+ De.displayName = Tt;
432
+ var re = "MenuSub", [At, ke] = P(re), Ne = (e) => {
433
+ const { __scopeMenu: n, children: t, open: c = !1, onOpenChange: u } = e, r = R(re, n), l = L(n), [f, p] = o.useState(null), [m, d] = o.useState(null), a = q(u);
434
+ return o.useEffect(() => (r.open === !1 && a(!1), () => a(!1)), [r.open, a]), /* @__PURE__ */ s(me, { ...l, children: /* @__PURE__ */ s(
435
435
  Ce,
436
436
  {
437
437
  scope: n,
438
438
  open: c,
439
- onOpenChange: s,
439
+ onOpenChange: a,
440
440
  content: m,
441
441
  onContentChange: d,
442
- children: /* @__PURE__ */ a.jsx(
442
+ children: /* @__PURE__ */ s(
443
443
  At,
444
444
  {
445
445
  scope: n,
@@ -453,79 +453,79 @@ var re = "MenuSub", [At, De] = S(re), ke = (e) => {
453
453
  }
454
454
  ) });
455
455
  };
456
- ke.displayName = re;
457
- var A = "MenuSubTrigger", Ne = o.forwardRef(
456
+ Ne.displayName = re;
457
+ var A = "MenuSubTrigger", Fe = o.forwardRef(
458
458
  (e, n) => {
459
- const t = _(A, e.__scopeMenu), c = L(A, e.__scopeMenu), u = De(A, e.__scopeMenu), r = ee(A, e.__scopeMenu), l = o.useRef(null), { pointerGraceTimerRef: f, onPointerGraceIntentChange: p } = r, m = { __scopeMenu: e.__scopeMenu }, d = o.useCallback(() => {
459
+ const t = R(A, e.__scopeMenu), c = K(A, e.__scopeMenu), u = ke(A, e.__scopeMenu), r = ee(A, e.__scopeMenu), l = o.useRef(null), { pointerGraceTimerRef: f, onPointerGraceIntentChange: p } = r, m = { __scopeMenu: e.__scopeMenu }, d = o.useCallback(() => {
460
460
  l.current && window.clearTimeout(l.current), l.current = null;
461
461
  }, []);
462
462
  return o.useEffect(() => d, [d]), o.useEffect(() => {
463
- const s = f.current;
463
+ const a = f.current;
464
464
  return () => {
465
- window.clearTimeout(s), p(null);
465
+ window.clearTimeout(a), p(null);
466
466
  };
467
- }, [f, p]), /* @__PURE__ */ a.jsx(J, { asChild: !0, ...m, children: /* @__PURE__ */ a.jsx(
468
- Pe,
467
+ }, [f, p]), /* @__PURE__ */ s(J, { asChild: !0, ...m, children: /* @__PURE__ */ s(
468
+ Ee,
469
469
  {
470
470
  id: u.triggerId,
471
471
  "aria-haspopup": "menu",
472
472
  "aria-expanded": t.open,
473
473
  "aria-controls": u.contentId,
474
- "data-state": Ke(t.open),
474
+ "data-state": Ge(t.open),
475
475
  ...e,
476
476
  ref: Ze(n, u.onTriggerChange),
477
- onClick: (s) => {
478
- e.onClick?.(s), !(e.disabled || s.defaultPrevented) && (s.currentTarget.focus(), t.open || t.onOpenChange(!0));
477
+ onClick: (a) => {
478
+ e.onClick?.(a), !(e.disabled || a.defaultPrevented) && (a.currentTarget.focus(), t.open || t.onOpenChange(!0));
479
479
  },
480
480
  onPointerMove: v(
481
481
  e.onPointerMove,
482
- j((s) => {
483
- r.onItemEnter(s), !s.defaultPrevented && !e.disabled && !t.open && !l.current && (r.onPointerGraceIntentChange(null), l.current = window.setTimeout(() => {
482
+ D((a) => {
483
+ r.onItemEnter(a), !a.defaultPrevented && !e.disabled && !t.open && !l.current && (r.onPointerGraceIntentChange(null), l.current = window.setTimeout(() => {
484
484
  t.onOpenChange(!0), d();
485
485
  }, 100));
486
486
  })
487
487
  ),
488
488
  onPointerLeave: v(
489
489
  e.onPointerLeave,
490
- j((s) => {
490
+ D((a) => {
491
491
  d();
492
492
  const h = t.content?.getBoundingClientRect();
493
493
  if (h) {
494
- const x = t.content?.dataset.side, M = x === "right", P = M ? -5 : 5, y = h[M ? "left" : "right"], E = h[M ? "right" : "left"];
494
+ const _ = t.content?.dataset.side, M = _ === "right", E = M ? -5 : 5, x = h[M ? "left" : "right"], w = h[M ? "right" : "left"];
495
495
  r.onPointerGraceIntentChange({
496
496
  area: [
497
497
  // Apply a bleed on clientX to ensure that our exit point is
498
498
  // consistently within polygon bounds
499
- { x: s.clientX + P, y: s.clientY },
500
- { x: y, y: h.top },
501
- { x: E, y: h.top },
502
- { x: E, y: h.bottom },
503
- { x: y, y: h.bottom }
499
+ { x: a.clientX + E, y: a.clientY },
500
+ { x, y: h.top },
501
+ { x: w, y: h.top },
502
+ { x: w, y: h.bottom },
503
+ { x, y: h.bottom }
504
504
  ],
505
- side: x
505
+ side: _
506
506
  }), window.clearTimeout(f.current), f.current = window.setTimeout(
507
507
  () => r.onPointerGraceIntentChange(null),
508
508
  300
509
509
  );
510
510
  } else {
511
- if (r.onTriggerLeave(s), s.defaultPrevented) return;
511
+ if (r.onTriggerLeave(a), a.defaultPrevented) return;
512
512
  r.onPointerGraceIntentChange(null);
513
513
  }
514
514
  })
515
515
  ),
516
- onKeyDown: v(e.onKeyDown, (s) => {
516
+ onKeyDown: v(e.onKeyDown, (a) => {
517
517
  const h = r.searchRef.current !== "";
518
- e.disabled || h && s.key === " " || pt[c.dir].includes(s.key) && (t.onOpenChange(!0), t.content?.focus(), s.preventDefault());
518
+ e.disabled || h && a.key === " " || pt[c.dir].includes(a.key) && (t.onOpenChange(!0), t.content?.focus(), a.preventDefault());
519
519
  })
520
520
  }
521
521
  ) });
522
522
  }
523
523
  );
524
- Ne.displayName = A;
525
- var Fe = "MenuSubContent", Le = o.forwardRef(
524
+ Fe.displayName = A;
525
+ var Le = "MenuSubContent", Ke = o.forwardRef(
526
526
  (e, n) => {
527
- const t = xe(g, e.__scopeMenu), { forceMount: c = t.forceMount, ...u } = e, r = _(g, e.__scopeMenu), l = L(g, e.__scopeMenu), f = De(Fe, e.__scopeMenu), p = o.useRef(null), m = D(n, p);
528
- return /* @__PURE__ */ a.jsx(O.Provider, { scope: e.__scopeMenu, children: /* @__PURE__ */ a.jsx(Y, { present: c || r.open, children: /* @__PURE__ */ a.jsx(O.Slot, { scope: e.__scopeMenu, children: /* @__PURE__ */ a.jsx(
527
+ const t = _e(g, e.__scopeMenu), { forceMount: c = t.forceMount, ...u } = e, r = R(g, e.__scopeMenu), l = K(g, e.__scopeMenu), f = ke(Le, e.__scopeMenu), p = o.useRef(null), m = k(n, p);
528
+ return /* @__PURE__ */ s(O.Provider, { scope: e.__scopeMenu, children: /* @__PURE__ */ s(X, { present: c || r.open, children: /* @__PURE__ */ s(O.Slot, { scope: e.__scopeMenu, children: /* @__PURE__ */ s(
529
529
  te,
530
530
  {
531
531
  id: f.contentId,
@@ -548,41 +548,41 @@ var Fe = "MenuSubContent", Le = o.forwardRef(
548
548
  l.onClose(), d.preventDefault();
549
549
  }),
550
550
  onKeyDown: v(e.onKeyDown, (d) => {
551
- const s = d.currentTarget.contains(d.target), h = mt[l.dir].includes(d.key);
552
- s && h && (r.onOpenChange(!1), f.trigger?.focus(), d.preventDefault());
551
+ const a = d.currentTarget.contains(d.target), h = mt[l.dir].includes(d.key);
552
+ a && h && (r.onOpenChange(!1), f.trigger?.focus(), d.preventDefault());
553
553
  })
554
554
  }
555
555
  ) }) }) });
556
556
  }
557
557
  );
558
- Le.displayName = Fe;
559
- function Ke(e) {
558
+ Ke.displayName = Le;
559
+ function Ge(e) {
560
560
  return e ? "open" : "closed";
561
561
  }
562
- function V(e) {
562
+ function Y(e) {
563
563
  return e === "indeterminate";
564
564
  }
565
565
  function ce(e) {
566
- return V(e) ? "indeterminate" : e ? "checked" : "unchecked";
566
+ return Y(e) ? "indeterminate" : e ? "checked" : "unchecked";
567
567
  }
568
568
  function Ot(e) {
569
569
  const n = document.activeElement;
570
570
  for (const t of e)
571
571
  if (t === n || (t.focus(), document.activeElement !== n)) return;
572
572
  }
573
- function jt(e, n) {
573
+ function Dt(e, n) {
574
574
  return e.map((t, c) => e[(n + c) % e.length]);
575
575
  }
576
- function Dt(e, n, t) {
576
+ function kt(e, n, t) {
577
577
  const u = n.length > 1 && Array.from(n).every((m) => m === n[0]) ? n[0] : n, r = t ? e.indexOf(t) : -1;
578
- let l = jt(e, Math.max(r, 0));
578
+ let l = Dt(e, Math.max(r, 0));
579
579
  u.length === 1 && (l = l.filter((m) => m !== t));
580
580
  const p = l.find(
581
581
  (m) => m.toLowerCase().startsWith(u.toLowerCase())
582
582
  );
583
583
  return p !== t ? p : void 0;
584
584
  }
585
- function kt(e, n) {
585
+ function Nt(e, n) {
586
586
  const { x: t, y: c } = e;
587
587
  let u = !1;
588
588
  for (let r = 0, l = n.length - 1; r < n.length; l = r++) {
@@ -591,40 +591,40 @@ function kt(e, n) {
591
591
  }
592
592
  return u;
593
593
  }
594
- function Nt(e, n) {
594
+ function Ft(e, n) {
595
595
  if (!n) return !1;
596
596
  const t = { x: e.clientX, y: e.clientY };
597
- return kt(t, n);
597
+ return Nt(t, n);
598
598
  }
599
- function j(e) {
599
+ function D(e) {
600
600
  return (n) => n.pointerType === "mouse" ? e(n) : void 0;
601
601
  }
602
- var on = ge, rn = J, cn = _e, sn = Re, an = ne, un = Se, ln = X, dn = Ee, fn = Ie, pn = be, mn = Ae, hn = Oe, Mn = je, vn = ke, Cn = Ne, gn = Le;
602
+ var on = ge, rn = J, cn = Re, an = Se, sn = ne, un = Pe, ln = H, dn = we, fn = ye, pn = be, mn = Ae, hn = Oe, Mn = De, vn = Ne, Cn = Fe, gn = Ke;
603
603
  export {
604
604
  rn as Anchor,
605
605
  Mn as Arrow,
606
606
  dn as CheckboxItem,
607
- sn as Content,
608
- an as Group,
607
+ an as Content,
608
+ sn as Group,
609
609
  ln as Item,
610
610
  mn as ItemIndicator,
611
611
  un as Label,
612
612
  ge as Menu,
613
613
  J as MenuAnchor,
614
- je as MenuArrow,
615
- Ee as MenuCheckboxItem,
616
- Re as MenuContent,
614
+ De as MenuArrow,
615
+ we as MenuCheckboxItem,
616
+ Se as MenuContent,
617
617
  ne as MenuGroup,
618
- X as MenuItem,
618
+ H as MenuItem,
619
619
  Ae as MenuItemIndicator,
620
- Se as MenuLabel,
621
- _e as MenuPortal,
622
- Ie as MenuRadioGroup,
620
+ Pe as MenuLabel,
621
+ Re as MenuPortal,
622
+ ye as MenuRadioGroup,
623
623
  be as MenuRadioItem,
624
624
  Oe as MenuSeparator,
625
- ke as MenuSub,
626
- Le as MenuSubContent,
627
- Ne as MenuSubTrigger,
625
+ Ne as MenuSub,
626
+ Ke as MenuSubContent,
627
+ Fe as MenuSubTrigger,
628
628
  cn as Portal,
629
629
  fn as RadioGroup,
630
630
  pn as RadioItem,