@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
@@ -1,58 +1,58 @@
1
1
  "use client";
2
2
  import * as t from "react";
3
- import * as Re from "react-dom";
4
- import { clamp as Te } from "../../number/dist/index.js";
3
+ import * as Ee from "react-dom";
4
+ import { clamp as Re } from "../../number/dist/index.js";
5
5
  import { composeEventHandlers as R } from "../../primitive/dist/index.js";
6
- import { createCollection as nt } from "../../react-collection/dist/index.js";
7
- import { useComposedRefs as L } from "../../react-compose-refs/dist/index.js";
8
- import { createContextScope as rt } from "../../react-context/dist/index.js";
9
- import { useDirection as st } from "../../react-direction/dist/index.js";
10
- import { DismissableLayer as lt } from "../../react-dismissable-layer/dist/index.js";
11
- import { useFocusGuards as ct } from "../../react-focus-guards/dist/index.js";
12
- import { FocusScope as it } from "../../react-focus-scope/dist/index.js";
13
- import { useId as ye } from "../../react-id/dist/index.js";
14
- import { createPopperScope as Ee, Root as at, Anchor as dt, Content as ut, Arrow as pt } from "../../react-popper/dist/index.js";
15
- import { Portal as ft } from "../../react-portal/dist/index.js";
6
+ import { createCollection as lt } from "../../react-collection/dist/index.js";
7
+ import { useComposedRefs as k } from "../../react-compose-refs/dist/index.js";
8
+ import { createContextScope as st } from "../../react-context/dist/index.js";
9
+ import { useDirection as ct } from "../../react-direction/dist/index.js";
10
+ import { DismissableLayer as it } from "../../react-dismissable-layer/dist/index.js";
11
+ import { useFocusGuards as at } from "../../react-focus-guards/dist/index.js";
12
+ import { FocusScope as dt } from "../../react-focus-scope/dist/index.js";
13
+ import { useId as Ie } from "../../react-id/dist/index.js";
14
+ import { createPopperScope as Ne, Root as ut, Anchor as pt, Content as ft, Arrow as mt } from "../../react-popper/dist/index.js";
15
+ import { Portal as ht } from "../../react-portal/dist/index.js";
16
16
  import { Primitive as M } from "../../react-primitive/dist/index.js";
17
- import { Slot as mt } from "../../react-slot/dist/index.js";
18
- import { useCallbackRef as ht } from "../../react-use-callback-ref/dist/index.js";
19
- import { useControllableState as Pe } from "../../react-use-controllable-state/dist/index.js";
20
- import { useLayoutEffect as z } from "../../react-use-layout-effect/dist/index.js";
21
- import { usePrevious as vt } from "../../react-use-previous/dist/index.js";
22
- import { VisuallyHidden as gt } from "../../react-visually-hidden/dist/index.js";
23
- import { hideOthers as St } from "../../../aria-hidden/dist/es2015/index.js";
17
+ import { Slot as vt } from "../../react-slot/dist/index.js";
18
+ import { useCallbackRef as gt } from "../../react-use-callback-ref/dist/index.js";
19
+ import { useControllableState as be } from "../../react-use-controllable-state/dist/index.js";
20
+ import { useLayoutEffect as j } from "../../react-use-layout-effect/dist/index.js";
21
+ import { usePrevious as St } from "../../react-use-previous/dist/index.js";
22
+ import { VisuallyHidden as wt } from "../../react-visually-hidden/dist/index.js";
23
+ import { hideOthers as Ct } from "../../../aria-hidden/dist/es2015/index.js";
24
24
  import xt from "../../../react-remove-scroll/dist/es2015/Combination.js";
25
- import { j as d } from "../../../../_virtual/jsx-runtime.js";
26
- var wt = [" ", "Enter", "ArrowUp", "ArrowDown"], Ct = [" ", "Enter"], re = "Select", [ie, ae, yt] = nt(re), [ee, lo] = rt(re, [
27
- yt,
28
- Ee
29
- ]), de = Ee(), [It, Y] = ee(re), [Tt, Pt] = ee(re), be = (o) => {
25
+ import { jsx as u, jsxs as ce, Fragment as Te } from "react/jsx-runtime";
26
+ var yt = [" ", "Enter", "ArrowUp", "ArrowDown"], It = [" ", "Enter"], re = "Select", [ae, de, Tt] = lt(re), [ee, io] = st(re, [
27
+ Tt,
28
+ Ne
29
+ ]), ue = Ne(), [Pt, Y] = ee(re), [Rt, bt] = ee(re), _e = (o) => {
30
30
  const {
31
31
  __scopeSelect: i,
32
32
  children: e,
33
33
  open: c,
34
34
  defaultOpen: r,
35
- onOpenChange: u,
35
+ onOpenChange: d,
36
36
  value: n,
37
- defaultValue: s,
38
- onValueChange: l,
37
+ defaultValue: l,
38
+ onValueChange: s,
39
39
  dir: f,
40
40
  name: g,
41
- autoComplete: w,
42
- disabled: E,
41
+ autoComplete: C,
42
+ disabled: b,
43
43
  required: T,
44
44
  form: y
45
- } = o, a = de(i), [h, S] = t.useState(null), [m, v] = t.useState(null), [W, O] = t.useState(!1), te = st(f), [b = !1, D] = Pe({
45
+ } = o, a = ue(i), [h, S] = t.useState(null), [m, v] = t.useState(null), [U, O] = t.useState(!1), te = ct(f), [E = !1, D] = be({
46
46
  prop: c,
47
47
  defaultProp: r,
48
- onChange: u
49
- }), [U, X] = Pe({
48
+ onChange: d
49
+ }), [K, X] = be({
50
50
  prop: n,
51
- defaultProp: s,
52
- onChange: l
53
- }), k = t.useRef(null), V = h ? y || !!h.closest("form") : !0, [K, B] = t.useState(/* @__PURE__ */ new Set()), H = Array.from(K).map((N) => N.props.value).join(";");
54
- return /* @__PURE__ */ d.jsx(at, { ...a, children: /* @__PURE__ */ d.jsxs(
55
- It,
51
+ defaultProp: l,
52
+ onChange: s
53
+ }), V = t.useRef(null), B = h ? y || !!h.closest("form") : !0, [G, H] = t.useState(/* @__PURE__ */ new Set()), W = Array.from(G).map((N) => N.props.value).join(";");
54
+ return /* @__PURE__ */ u(ut, { ...a, children: /* @__PURE__ */ ce(
55
+ Pt,
56
56
  {
57
57
  required: T,
58
58
  scope: i,
@@ -60,69 +60,69 @@ var wt = [" ", "Enter", "ArrowUp", "ArrowDown"], Ct = [" ", "Enter"], re = "Sele
60
60
  onTriggerChange: S,
61
61
  valueNode: m,
62
62
  onValueNodeChange: v,
63
- valueNodeHasChildren: W,
63
+ valueNodeHasChildren: U,
64
64
  onValueNodeHasChildrenChange: O,
65
- contentId: ye(),
66
- value: U,
65
+ contentId: Ie(),
66
+ value: K,
67
67
  onValueChange: X,
68
- open: b,
68
+ open: E,
69
69
  onOpenChange: D,
70
70
  dir: te,
71
- triggerPointerDownPosRef: k,
72
- disabled: E,
71
+ triggerPointerDownPosRef: V,
72
+ disabled: b,
73
73
  children: [
74
- /* @__PURE__ */ d.jsx(ie.Provider, { scope: i, children: /* @__PURE__ */ d.jsx(
75
- Tt,
74
+ /* @__PURE__ */ u(ae.Provider, { scope: i, children: /* @__PURE__ */ u(
75
+ Rt,
76
76
  {
77
77
  scope: o.__scopeSelect,
78
78
  onNativeOptionAdd: t.useCallback((N) => {
79
- B((j) => new Set(j).add(N));
79
+ H((L) => new Set(L).add(N));
80
80
  }, []),
81
81
  onNativeOptionRemove: t.useCallback((N) => {
82
- B((j) => {
83
- const F = new Set(j);
82
+ H((L) => {
83
+ const F = new Set(L);
84
84
  return F.delete(N), F;
85
85
  });
86
86
  }, []),
87
87
  children: e
88
88
  }
89
89
  ) }),
90
- V ? /* @__PURE__ */ d.jsxs(
91
- et,
90
+ B ? /* @__PURE__ */ ce(
91
+ ot,
92
92
  {
93
93
  "aria-hidden": !0,
94
94
  required: T,
95
95
  tabIndex: -1,
96
96
  name: g,
97
- autoComplete: w,
98
- value: U,
97
+ autoComplete: C,
98
+ value: K,
99
99
  onChange: (N) => X(N.target.value),
100
- disabled: E,
100
+ disabled: b,
101
101
  form: y,
102
102
  children: [
103
- U === void 0 ? /* @__PURE__ */ d.jsx("option", { value: "" }) : null,
104
- Array.from(K)
103
+ K === void 0 ? /* @__PURE__ */ u("option", { value: "" }) : null,
104
+ Array.from(G)
105
105
  ]
106
106
  },
107
- H
107
+ W
108
108
  ) : null
109
109
  ]
110
110
  }
111
111
  ) });
112
112
  };
113
- be.displayName = re;
114
- var Ne = "SelectTrigger", _e = t.forwardRef(
113
+ _e.displayName = re;
114
+ var Me = "SelectTrigger", Oe = t.forwardRef(
115
115
  (o, i) => {
116
- const { __scopeSelect: e, disabled: c = !1, ...r } = o, u = de(e), n = Y(Ne, e), s = n.disabled || c, l = L(i, n.onTriggerChange), f = ae(e), g = t.useRef("touch"), [w, E, T] = tt((a) => {
117
- const h = f().filter((v) => !v.disabled), S = h.find((v) => v.value === n.value), m = ot(h, a, S);
116
+ const { __scopeSelect: e, disabled: c = !1, ...r } = o, d = ue(e), n = Y(Me, e), l = n.disabled || c, s = k(i, n.onTriggerChange), f = de(e), g = t.useRef("touch"), [C, b, T] = nt((a) => {
117
+ const h = f().filter((v) => !v.disabled), S = h.find((v) => v.value === n.value), m = rt(h, a, S);
118
118
  m !== void 0 && n.onValueChange(m.value);
119
119
  }), y = (a) => {
120
- s || (n.onOpenChange(!0), T()), a && (n.triggerPointerDownPosRef.current = {
120
+ l || (n.onOpenChange(!0), T()), a && (n.triggerPointerDownPosRef.current = {
121
121
  x: Math.round(a.pageX),
122
122
  y: Math.round(a.pageY)
123
123
  });
124
124
  };
125
- return /* @__PURE__ */ d.jsx(dt, { asChild: !0, ...u, children: /* @__PURE__ */ d.jsx(
125
+ return /* @__PURE__ */ u(pt, { asChild: !0, ...d, children: /* @__PURE__ */ u(
126
126
  M.button,
127
127
  {
128
128
  type: "button",
@@ -133,11 +133,11 @@ var Ne = "SelectTrigger", _e = t.forwardRef(
133
133
  "aria-autocomplete": "none",
134
134
  dir: n.dir,
135
135
  "data-state": n.open ? "open" : "closed",
136
- disabled: s,
137
- "data-disabled": s ? "" : void 0,
138
- "data-placeholder": Qe(n.value) ? "" : void 0,
136
+ disabled: l,
137
+ "data-disabled": l ? "" : void 0,
138
+ "data-placeholder": tt(n.value) ? "" : void 0,
139
139
  ...r,
140
- ref: l,
140
+ ref: s,
141
141
  onClick: R(r.onClick, (a) => {
142
142
  a.currentTarget.focus(), g.current !== "mouse" && y(a);
143
143
  }),
@@ -147,165 +147,165 @@ var Ne = "SelectTrigger", _e = t.forwardRef(
147
147
  h.hasPointerCapture(a.pointerId) && h.releasePointerCapture(a.pointerId), a.button === 0 && a.ctrlKey === !1 && a.pointerType === "mouse" && (y(a), a.preventDefault());
148
148
  }),
149
149
  onKeyDown: R(r.onKeyDown, (a) => {
150
- const h = w.current !== "";
151
- !(a.ctrlKey || a.altKey || a.metaKey) && a.key.length === 1 && E(a.key), !(h && a.key === " ") && wt.includes(a.key) && (y(), a.preventDefault());
150
+ const h = C.current !== "";
151
+ !(a.ctrlKey || a.altKey || a.metaKey) && a.key.length === 1 && b(a.key), !(h && a.key === " ") && yt.includes(a.key) && (y(), a.preventDefault());
152
152
  })
153
153
  }
154
154
  ) });
155
155
  }
156
156
  );
157
- _e.displayName = Ne;
158
- var Me = "SelectValue", Oe = t.forwardRef(
157
+ Oe.displayName = Me;
158
+ var Ae = "SelectValue", De = t.forwardRef(
159
159
  (o, i) => {
160
- const { __scopeSelect: e, className: c, style: r, children: u, placeholder: n = "", ...s } = o, l = Y(Me, e), { onValueNodeHasChildrenChange: f } = l, g = u !== void 0, w = L(i, l.onValueNodeChange);
161
- return z(() => {
160
+ const { __scopeSelect: e, className: c, style: r, children: d, placeholder: n = "", ...l } = o, s = Y(Ae, e), { onValueNodeHasChildrenChange: f } = s, g = d !== void 0, C = k(i, s.onValueNodeChange);
161
+ return j(() => {
162
162
  f(g);
163
- }, [f, g]), /* @__PURE__ */ d.jsx(
163
+ }, [f, g]), /* @__PURE__ */ u(
164
164
  M.span,
165
165
  {
166
- ...s,
167
- ref: w,
166
+ ...l,
167
+ ref: C,
168
168
  style: { pointerEvents: "none" },
169
- children: Qe(l.value) ? /* @__PURE__ */ d.jsx(d.Fragment, { children: n }) : u
169
+ children: tt(s.value) ? /* @__PURE__ */ u(Te, { children: n }) : d
170
170
  }
171
171
  );
172
172
  }
173
173
  );
174
- Oe.displayName = Me;
175
- var Rt = "SelectIcon", Ae = t.forwardRef(
174
+ De.displayName = Ae;
175
+ var Et = "SelectIcon", Le = t.forwardRef(
176
176
  (o, i) => {
177
177
  const { __scopeSelect: e, children: c, ...r } = o;
178
- return /* @__PURE__ */ d.jsx(M.span, { "aria-hidden": !0, ...r, ref: i, children: c || "▼" });
178
+ return /* @__PURE__ */ u(M.span, { "aria-hidden": !0, ...r, ref: i, children: c || "▼" });
179
179
  }
180
180
  );
181
- Ae.displayName = Rt;
182
- var Et = "SelectPortal", De = (o) => /* @__PURE__ */ d.jsx(ft, { asChild: !0, ...o });
183
- De.displayName = Et;
184
- var J = "SelectContent", je = t.forwardRef(
181
+ Le.displayName = Et;
182
+ var Nt = "SelectPortal", ke = (o) => /* @__PURE__ */ u(ht, { asChild: !0, ...o });
183
+ ke.displayName = Nt;
184
+ var J = "SelectContent", Ve = t.forwardRef(
185
185
  (o, i) => {
186
186
  const e = Y(J, o.__scopeSelect), [c, r] = t.useState();
187
- if (z(() => {
187
+ if (j(() => {
188
188
  r(new DocumentFragment());
189
189
  }, []), !e.open) {
190
- const u = c;
191
- return u ? Re.createPortal(
192
- /* @__PURE__ */ d.jsx(Le, { scope: o.__scopeSelect, children: /* @__PURE__ */ d.jsx(ie.Slot, { scope: o.__scopeSelect, children: /* @__PURE__ */ d.jsx("div", { children: o.children }) }) }),
193
- u
190
+ const d = c;
191
+ return d ? Ee.createPortal(
192
+ /* @__PURE__ */ u(Be, { scope: o.__scopeSelect, children: /* @__PURE__ */ u(ae.Slot, { scope: o.__scopeSelect, children: /* @__PURE__ */ u("div", { children: o.children }) }) }),
193
+ d
194
194
  ) : null;
195
195
  }
196
- return /* @__PURE__ */ d.jsx(ke, { ...o, ref: i });
196
+ return /* @__PURE__ */ u(He, { ...o, ref: i });
197
197
  }
198
198
  );
199
- je.displayName = J;
200
- var A = 10, [Le, q] = ee(J), bt = "SelectContentImpl", ke = t.forwardRef(
199
+ Ve.displayName = J;
200
+ var A = 10, [Be, q] = ee(J), _t = "SelectContentImpl", He = t.forwardRef(
201
201
  (o, i) => {
202
202
  const {
203
203
  __scopeSelect: e,
204
204
  position: c = "item-aligned",
205
205
  onCloseAutoFocus: r,
206
- onEscapeKeyDown: u,
206
+ onEscapeKeyDown: d,
207
207
  onPointerDownOutside: n,
208
208
  //
209
209
  // PopperContent props
210
- side: s,
211
- sideOffset: l,
210
+ side: l,
211
+ sideOffset: s,
212
212
  align: f,
213
213
  alignOffset: g,
214
- arrowPadding: w,
215
- collisionBoundary: E,
214
+ arrowPadding: C,
215
+ collisionBoundary: b,
216
216
  collisionPadding: T,
217
217
  sticky: y,
218
218
  hideWhenDetached: a,
219
219
  avoidCollisions: h,
220
220
  //
221
221
  ...S
222
- } = o, m = Y(J, e), [v, W] = t.useState(null), [O, te] = t.useState(null), b = L(i, (p) => W(p)), [D, U] = t.useState(null), [X, k] = t.useState(
222
+ } = o, m = Y(J, e), [v, U] = t.useState(null), [O, te] = t.useState(null), E = k(i, (p) => U(p)), [D, K] = t.useState(null), [X, V] = t.useState(
223
223
  null
224
- ), V = ae(e), [K, B] = t.useState(!1), H = t.useRef(!1);
224
+ ), B = de(e), [G, H] = t.useState(!1), W = t.useRef(!1);
225
225
  t.useEffect(() => {
226
- if (v) return St(v);
227
- }, [v]), ct();
226
+ if (v) return Ct(v);
227
+ }, [v]), at();
228
228
  const N = t.useCallback(
229
229
  (p) => {
230
- const [I, ..._] = V().map((P) => P.ref.current), [x] = _.slice(-1), C = document.activeElement;
230
+ const [I, ..._] = B().map((P) => P.ref.current), [w] = _.slice(-1), x = document.activeElement;
231
231
  for (const P of p)
232
- if (P === C || (P?.scrollIntoView({ block: "nearest" }), P === I && O && (O.scrollTop = 0), P === x && O && (O.scrollTop = O.scrollHeight), P?.focus(), document.activeElement !== C)) return;
232
+ if (P === x || (P?.scrollIntoView({ block: "nearest" }), P === I && O && (O.scrollTop = 0), P === w && O && (O.scrollTop = O.scrollHeight), P?.focus(), document.activeElement !== x)) return;
233
233
  },
234
- [V, O]
235
- ), j = t.useCallback(
234
+ [B, O]
235
+ ), L = t.useCallback(
236
236
  () => N([D, v]),
237
237
  [N, D, v]
238
238
  );
239
239
  t.useEffect(() => {
240
- K && j();
241
- }, [K, j]);
242
- const { onOpenChange: F, triggerPointerDownPosRef: G } = m;
240
+ G && L();
241
+ }, [G, L]);
242
+ const { onOpenChange: F, triggerPointerDownPosRef: z } = m;
243
243
  t.useEffect(() => {
244
244
  if (v) {
245
245
  let p = { x: 0, y: 0 };
246
- const I = (x) => {
246
+ const I = (w) => {
247
247
  p = {
248
- x: Math.abs(Math.round(x.pageX) - (G.current?.x ?? 0)),
249
- y: Math.abs(Math.round(x.pageY) - (G.current?.y ?? 0))
248
+ x: Math.abs(Math.round(w.pageX) - (z.current?.x ?? 0)),
249
+ y: Math.abs(Math.round(w.pageY) - (z.current?.y ?? 0))
250
250
  };
251
- }, _ = (x) => {
252
- p.x <= 10 && p.y <= 10 ? x.preventDefault() : v.contains(x.target) || F(!1), document.removeEventListener("pointermove", I), G.current = null;
251
+ }, _ = (w) => {
252
+ p.x <= 10 && p.y <= 10 ? w.preventDefault() : v.contains(w.target) || F(!1), document.removeEventListener("pointermove", I), z.current = null;
253
253
  };
254
- return G.current !== null && (document.addEventListener("pointermove", I), document.addEventListener("pointerup", _, { capture: !0, once: !0 })), () => {
254
+ return z.current !== null && (document.addEventListener("pointermove", I), document.addEventListener("pointerup", _, { capture: !0, once: !0 })), () => {
255
255
  document.removeEventListener("pointermove", I), document.removeEventListener("pointerup", _, { capture: !0 });
256
256
  };
257
257
  }
258
- }, [v, F, G]), t.useEffect(() => {
258
+ }, [v, F, z]), t.useEffect(() => {
259
259
  const p = () => F(!1);
260
260
  return window.addEventListener("blur", p), window.addEventListener("resize", p), () => {
261
261
  window.removeEventListener("blur", p), window.removeEventListener("resize", p);
262
262
  };
263
263
  }, [F]);
264
- const [ue, se] = tt((p) => {
265
- const I = V().filter((C) => !C.disabled), _ = I.find((C) => C.ref.current === document.activeElement), x = ot(I, p, _);
266
- x && setTimeout(() => x.ref.current.focus());
267
- }), pe = t.useCallback(
264
+ const [pe, le] = nt((p) => {
265
+ const I = B().filter((x) => !x.disabled), _ = I.find((x) => x.ref.current === document.activeElement), w = rt(I, p, _);
266
+ w && setTimeout(() => w.ref.current.focus());
267
+ }), fe = t.useCallback(
268
268
  (p, I, _) => {
269
- const x = !H.current && !_;
270
- (m.value !== void 0 && m.value === I || x) && (U(p), x && (H.current = !0));
269
+ const w = !W.current && !_;
270
+ (m.value !== void 0 && m.value === I || w) && (K(p), w && (W.current = !0));
271
271
  },
272
272
  [m.value]
273
- ), fe = t.useCallback(() => v?.focus(), [v]), Q = t.useCallback(
273
+ ), me = t.useCallback(() => v?.focus(), [v]), Q = t.useCallback(
274
274
  (p, I, _) => {
275
- const x = !H.current && !_;
276
- (m.value !== void 0 && m.value === I || x) && k(p);
275
+ const w = !W.current && !_;
276
+ (m.value !== void 0 && m.value === I || w) && V(p);
277
277
  },
278
278
  [m.value]
279
- ), le = c === "popper" ? ge : Ve, oe = le === ge ? {
280
- side: s,
281
- sideOffset: l,
279
+ ), se = c === "popper" ? Se : We, oe = se === Se ? {
280
+ side: l,
281
+ sideOffset: s,
282
282
  align: f,
283
283
  alignOffset: g,
284
- arrowPadding: w,
285
- collisionBoundary: E,
284
+ arrowPadding: C,
285
+ collisionBoundary: b,
286
286
  collisionPadding: T,
287
287
  sticky: y,
288
288
  hideWhenDetached: a,
289
289
  avoidCollisions: h
290
290
  } : {};
291
- return /* @__PURE__ */ d.jsx(
292
- Le,
291
+ return /* @__PURE__ */ u(
292
+ Be,
293
293
  {
294
294
  scope: e,
295
295
  content: v,
296
296
  viewport: O,
297
297
  onViewportChange: te,
298
- itemRefCallback: pe,
298
+ itemRefCallback: fe,
299
299
  selectedItem: D,
300
- onItemLeave: fe,
300
+ onItemLeave: me,
301
301
  itemTextRefCallback: Q,
302
- focusSelectedItem: j,
302
+ focusSelectedItem: L,
303
303
  selectedItemText: X,
304
304
  position: c,
305
- isPositioned: K,
306
- searchRef: ue,
307
- children: /* @__PURE__ */ d.jsx(xt, { as: mt, allowPinchZoom: !0, children: /* @__PURE__ */ d.jsx(
308
- it,
305
+ isPositioned: G,
306
+ searchRef: pe,
307
+ children: /* @__PURE__ */ u(xt, { as: vt, allowPinchZoom: !0, children: /* @__PURE__ */ u(
308
+ dt,
309
309
  {
310
310
  asChild: !0,
311
311
  trapped: m.open,
@@ -315,17 +315,17 @@ var A = 10, [Le, q] = ee(J), bt = "SelectContentImpl", ke = t.forwardRef(
315
315
  onUnmountAutoFocus: R(r, (p) => {
316
316
  m.trigger?.focus({ preventScroll: !0 }), p.preventDefault();
317
317
  }),
318
- children: /* @__PURE__ */ d.jsx(
319
- lt,
318
+ children: /* @__PURE__ */ u(
319
+ it,
320
320
  {
321
321
  asChild: !0,
322
322
  disableOutsidePointerEvents: !0,
323
- onEscapeKeyDown: u,
323
+ onEscapeKeyDown: d,
324
324
  onPointerDownOutside: n,
325
325
  onFocusOutside: (p) => p.preventDefault(),
326
326
  onDismiss: () => m.onOpenChange(!1),
327
- children: /* @__PURE__ */ d.jsx(
328
- le,
327
+ children: /* @__PURE__ */ u(
328
+ se,
329
329
  {
330
330
  role: "listbox",
331
331
  id: m.contentId,
@@ -334,8 +334,8 @@ var A = 10, [Le, q] = ee(J), bt = "SelectContentImpl", ke = t.forwardRef(
334
334
  onContextMenu: (p) => p.preventDefault(),
335
335
  ...S,
336
336
  ...oe,
337
- onPlaced: () => B(!0),
338
- ref: b,
337
+ onPlaced: () => H(!0),
338
+ ref: E,
339
339
  style: {
340
340
  // flex layout so we can place the scroll buttons properly
341
341
  display: "flex",
@@ -346,13 +346,13 @@ var A = 10, [Le, q] = ee(J), bt = "SelectContentImpl", ke = t.forwardRef(
346
346
  },
347
347
  onKeyDown: R(S.onKeyDown, (p) => {
348
348
  const I = p.ctrlKey || p.altKey || p.metaKey;
349
- if (p.key === "Tab" && p.preventDefault(), !I && p.key.length === 1 && se(p.key), ["ArrowUp", "ArrowDown", "Home", "End"].includes(p.key)) {
350
- let x = V().filter((C) => !C.disabled).map((C) => C.ref.current);
351
- if (["ArrowUp", "End"].includes(p.key) && (x = x.slice().reverse()), ["ArrowUp", "ArrowDown"].includes(p.key)) {
352
- const C = p.target, P = x.indexOf(C);
353
- x = x.slice(P + 1);
349
+ if (p.key === "Tab" && p.preventDefault(), !I && p.key.length === 1 && le(p.key), ["ArrowUp", "ArrowDown", "Home", "End"].includes(p.key)) {
350
+ let w = B().filter((x) => !x.disabled).map((x) => x.ref.current);
351
+ if (["ArrowUp", "End"].includes(p.key) && (w = w.slice().reverse()), ["ArrowUp", "ArrowDown"].includes(p.key)) {
352
+ const x = p.target, P = w.indexOf(x);
353
+ w = w.slice(P + 1);
354
354
  }
355
- setTimeout(() => N(x)), p.preventDefault();
355
+ setTimeout(() => N(w)), p.preventDefault();
356
356
  }
357
357
  })
358
358
  }
@@ -365,96 +365,96 @@ var A = 10, [Le, q] = ee(J), bt = "SelectContentImpl", ke = t.forwardRef(
365
365
  );
366
366
  }
367
367
  );
368
- ke.displayName = bt;
369
- var Nt = "SelectItemAlignedPosition", Ve = t.forwardRef((o, i) => {
370
- const { __scopeSelect: e, onPlaced: c, ...r } = o, u = Y(J, e), n = q(J, e), [s, l] = t.useState(null), [f, g] = t.useState(null), w = L(i, (b) => g(b)), E = ae(e), T = t.useRef(!1), y = t.useRef(!0), { viewport: a, selectedItem: h, selectedItemText: S, focusSelectedItem: m } = n, v = t.useCallback(() => {
371
- if (u.trigger && u.valueNode && s && f && a && h && S) {
372
- const b = u.trigger.getBoundingClientRect(), D = f.getBoundingClientRect(), U = u.valueNode.getBoundingClientRect(), X = S.getBoundingClientRect();
373
- if (u.dir !== "rtl") {
374
- const C = X.left - D.left, P = U.left - C, Z = b.left - P, $ = b.width + Z, me = Math.max($, D.width), he = window.innerWidth - A, ve = Te(P, [
368
+ He.displayName = _t;
369
+ var Mt = "SelectItemAlignedPosition", We = t.forwardRef((o, i) => {
370
+ const { __scopeSelect: e, onPlaced: c, ...r } = o, d = Y(J, e), n = q(J, e), [l, s] = t.useState(null), [f, g] = t.useState(null), C = k(i, (E) => g(E)), b = de(e), T = t.useRef(!1), y = t.useRef(!0), { viewport: a, selectedItem: h, selectedItemText: S, focusSelectedItem: m } = n, v = t.useCallback(() => {
371
+ if (d.trigger && d.valueNode && l && f && a && h && S) {
372
+ const E = d.trigger.getBoundingClientRect(), D = f.getBoundingClientRect(), K = d.valueNode.getBoundingClientRect(), X = S.getBoundingClientRect();
373
+ if (d.dir !== "rtl") {
374
+ const x = X.left - D.left, P = K.left - x, Z = E.left - P, $ = E.width + Z, he = Math.max($, D.width), ve = window.innerWidth - A, ge = Re(P, [
375
375
  A,
376
376
  // Prevents the content from going off the starting edge of the
377
377
  // viewport. It may still go off the ending edge, but this can be
378
378
  // controlled by the user since they may want to manage overflow in a
379
379
  // specific way.
380
380
  // https://github.com/radix-ui/primitives/issues/2049
381
- Math.max(A, he - me)
381
+ Math.max(A, ve - he)
382
382
  ]);
383
- s.style.minWidth = $ + "px", s.style.left = ve + "px";
383
+ l.style.minWidth = $ + "px", l.style.left = ge + "px";
384
384
  } else {
385
- const C = D.right - X.right, P = window.innerWidth - U.right - C, Z = window.innerWidth - b.right - P, $ = b.width + Z, me = Math.max($, D.width), he = window.innerWidth - A, ve = Te(P, [
385
+ const x = D.right - X.right, P = window.innerWidth - K.right - x, Z = window.innerWidth - E.right - P, $ = E.width + Z, he = Math.max($, D.width), ve = window.innerWidth - A, ge = Re(P, [
386
386
  A,
387
- Math.max(A, he - me)
387
+ Math.max(A, ve - he)
388
388
  ]);
389
- s.style.minWidth = $ + "px", s.style.right = ve + "px";
389
+ l.style.minWidth = $ + "px", l.style.right = ge + "px";
390
390
  }
391
- const k = E(), V = window.innerHeight - A * 2, K = a.scrollHeight, B = window.getComputedStyle(f), H = parseInt(B.borderTopWidth, 10), N = parseInt(B.paddingTop, 10), j = parseInt(B.borderBottomWidth, 10), F = parseInt(B.paddingBottom, 10), G = H + N + K + F + j, ue = Math.min(h.offsetHeight * 5, G), se = window.getComputedStyle(a), pe = parseInt(se.paddingTop, 10), fe = parseInt(se.paddingBottom, 10), Q = b.top + b.height / 2 - A, le = V - Q, oe = h.offsetHeight / 2, p = h.offsetTop + oe, I = H + N + p, _ = G - I;
391
+ const V = b(), B = window.innerHeight - A * 2, G = a.scrollHeight, H = window.getComputedStyle(f), W = parseInt(H.borderTopWidth, 10), N = parseInt(H.paddingTop, 10), L = parseInt(H.borderBottomWidth, 10), F = parseInt(H.paddingBottom, 10), z = W + N + G + F + L, pe = Math.min(h.offsetHeight * 5, z), le = window.getComputedStyle(a), fe = parseInt(le.paddingTop, 10), me = parseInt(le.paddingBottom, 10), Q = E.top + E.height / 2 - A, se = B - Q, oe = h.offsetHeight / 2, p = h.offsetTop + oe, I = W + N + p, _ = z - I;
392
392
  if (I <= Q) {
393
- const C = k.length > 0 && h === k[k.length - 1].ref.current;
394
- s.style.bottom = "0px";
393
+ const x = V.length > 0 && h === V[V.length - 1].ref.current;
394
+ l.style.bottom = "0px";
395
395
  const P = f.clientHeight - a.offsetTop - a.offsetHeight, Z = Math.max(
396
- le,
396
+ se,
397
397
  oe + // viewport might have padding bottom, include it to avoid a scrollable viewport
398
- (C ? fe : 0) + P + j
398
+ (x ? me : 0) + P + L
399
399
  ), $ = I + Z;
400
- s.style.height = $ + "px";
400
+ l.style.height = $ + "px";
401
401
  } else {
402
- const C = k.length > 0 && h === k[0].ref.current;
403
- s.style.top = "0px";
402
+ const x = V.length > 0 && h === V[0].ref.current;
403
+ l.style.top = "0px";
404
404
  const Z = Math.max(
405
405
  Q,
406
- H + a.offsetTop + // viewport might have padding top, include it to avoid a scrollable viewport
407
- (C ? pe : 0) + oe
406
+ W + a.offsetTop + // viewport might have padding top, include it to avoid a scrollable viewport
407
+ (x ? fe : 0) + oe
408
408
  ) + _;
409
- s.style.height = Z + "px", a.scrollTop = I - Q + a.offsetTop;
409
+ l.style.height = Z + "px", a.scrollTop = I - Q + a.offsetTop;
410
410
  }
411
- s.style.margin = `${A}px 0`, s.style.minHeight = ue + "px", s.style.maxHeight = V + "px", c?.(), requestAnimationFrame(() => T.current = !0);
411
+ l.style.margin = `${A}px 0`, l.style.minHeight = pe + "px", l.style.maxHeight = B + "px", c?.(), requestAnimationFrame(() => T.current = !0);
412
412
  }
413
413
  }, [
414
- E,
415
- u.trigger,
416
- u.valueNode,
417
- s,
414
+ b,
415
+ d.trigger,
416
+ d.valueNode,
417
+ l,
418
418
  f,
419
419
  a,
420
420
  h,
421
421
  S,
422
- u.dir,
422
+ d.dir,
423
423
  c
424
424
  ]);
425
- z(() => v(), [v]);
426
- const [W, O] = t.useState();
427
- z(() => {
425
+ j(() => v(), [v]);
426
+ const [U, O] = t.useState();
427
+ j(() => {
428
428
  f && O(window.getComputedStyle(f).zIndex);
429
429
  }, [f]);
430
430
  const te = t.useCallback(
431
- (b) => {
432
- b && y.current === !0 && (v(), m?.(), y.current = !1);
431
+ (E) => {
432
+ E && y.current === !0 && (v(), m?.(), y.current = !1);
433
433
  },
434
434
  [v, m]
435
435
  );
436
- return /* @__PURE__ */ d.jsx(
437
- Mt,
436
+ return /* @__PURE__ */ u(
437
+ At,
438
438
  {
439
439
  scope: e,
440
- contentWrapper: s,
440
+ contentWrapper: l,
441
441
  shouldExpandOnScrollRef: T,
442
442
  onScrollButtonChange: te,
443
- children: /* @__PURE__ */ d.jsx(
443
+ children: /* @__PURE__ */ u(
444
444
  "div",
445
445
  {
446
- ref: l,
446
+ ref: s,
447
447
  style: {
448
448
  display: "flex",
449
449
  flexDirection: "column",
450
450
  position: "fixed",
451
- zIndex: W
451
+ zIndex: U
452
452
  },
453
- children: /* @__PURE__ */ d.jsx(
453
+ children: /* @__PURE__ */ u(
454
454
  M.div,
455
455
  {
456
456
  ...r,
457
- ref: w,
457
+ ref: C,
458
458
  style: {
459
459
  // When we get the height of the content, it includes borders. If we were to set
460
460
  // the height without having `boxSizing: 'border-box'` it would be too big.
@@ -470,26 +470,26 @@ var Nt = "SelectItemAlignedPosition", Ve = t.forwardRef((o, i) => {
470
470
  }
471
471
  );
472
472
  });
473
- Ve.displayName = Nt;
474
- var _t = "SelectPopperPosition", ge = t.forwardRef((o, i) => {
473
+ We.displayName = Mt;
474
+ var Ot = "SelectPopperPosition", Se = t.forwardRef((o, i) => {
475
475
  const {
476
476
  __scopeSelect: e,
477
477
  align: c = "start",
478
478
  collisionPadding: r = A,
479
- ...u
480
- } = o, n = de(e);
481
- return /* @__PURE__ */ d.jsx(
482
- ut,
479
+ ...d
480
+ } = o, n = ue(e);
481
+ return /* @__PURE__ */ u(
482
+ ft,
483
483
  {
484
484
  ...n,
485
- ...u,
485
+ ...d,
486
486
  ref: i,
487
487
  align: c,
488
488
  collisionPadding: r,
489
489
  style: {
490
490
  // Ensure border-box for floating-ui calculations
491
491
  boxSizing: "border-box",
492
- ...u.style,
492
+ ...d.style,
493
493
  "--radix-select-content-transform-origin": "var(--radix-popper-transform-origin)",
494
494
  "--radix-select-content-available-width": "var(--radix-popper-available-width)",
495
495
  "--radix-select-content-available-height": "var(--radix-popper-available-height)",
@@ -499,12 +499,12 @@ var _t = "SelectPopperPosition", ge = t.forwardRef((o, i) => {
499
499
  }
500
500
  );
501
501
  });
502
- ge.displayName = _t;
503
- var [Mt, Ie] = ee(J, {}), Se = "SelectViewport", Be = t.forwardRef(
502
+ Se.displayName = Ot;
503
+ var [At, Pe] = ee(J, {}), we = "SelectViewport", Fe = t.forwardRef(
504
504
  (o, i) => {
505
- const { __scopeSelect: e, nonce: c, ...r } = o, u = q(Se, e), n = Ie(Se, e), s = L(i, u.onViewportChange), l = t.useRef(0);
506
- return /* @__PURE__ */ d.jsxs(d.Fragment, { children: [
507
- /* @__PURE__ */ d.jsx(
505
+ const { __scopeSelect: e, nonce: c, ...r } = o, d = q(we, e), n = Pe(we, e), l = k(i, d.onViewportChange), s = t.useRef(0);
506
+ return /* @__PURE__ */ ce(Te, { children: [
507
+ /* @__PURE__ */ u(
508
508
  "style",
509
509
  {
510
510
  dangerouslySetInnerHTML: {
@@ -513,13 +513,13 @@ var [Mt, Ie] = ee(J, {}), Se = "SelectViewport", Be = t.forwardRef(
513
513
  nonce: c
514
514
  }
515
515
  ),
516
- /* @__PURE__ */ d.jsx(ie.Slot, { scope: e, children: /* @__PURE__ */ d.jsx(
516
+ /* @__PURE__ */ u(ae.Slot, { scope: e, children: /* @__PURE__ */ u(
517
517
  M.div,
518
518
  {
519
519
  "data-radix-select-viewport": "",
520
520
  role: "presentation",
521
521
  ...r,
522
- ref: s,
522
+ ref: l,
523
523
  style: {
524
524
  // we use position: 'relative' here on the `viewport` so that when we call
525
525
  // `selectedItem.offsetTop` in calculations, the offset is relative to the viewport
@@ -534,59 +534,59 @@ var [Mt, Ie] = ee(J, {}), Se = "SelectViewport", Be = t.forwardRef(
534
534
  ...r.style
535
535
  },
536
536
  onScroll: R(r.onScroll, (f) => {
537
- const g = f.currentTarget, { contentWrapper: w, shouldExpandOnScrollRef: E } = n;
538
- if (E?.current && w) {
539
- const T = Math.abs(l.current - g.scrollTop);
537
+ const g = f.currentTarget, { contentWrapper: C, shouldExpandOnScrollRef: b } = n;
538
+ if (b?.current && C) {
539
+ const T = Math.abs(s.current - g.scrollTop);
540
540
  if (T > 0) {
541
- const y = window.innerHeight - A * 2, a = parseFloat(w.style.minHeight), h = parseFloat(w.style.height), S = Math.max(a, h);
541
+ const y = window.innerHeight - A * 2, a = parseFloat(C.style.minHeight), h = parseFloat(C.style.height), S = Math.max(a, h);
542
542
  if (S < y) {
543
- const m = S + T, v = Math.min(y, m), W = m - v;
544
- w.style.height = v + "px", w.style.bottom === "0px" && (g.scrollTop = W > 0 ? W : 0, w.style.justifyContent = "flex-end");
543
+ const m = S + T, v = Math.min(y, m), U = m - v;
544
+ C.style.height = v + "px", C.style.bottom === "0px" && (g.scrollTop = U > 0 ? U : 0, C.style.justifyContent = "flex-end");
545
545
  }
546
546
  }
547
547
  }
548
- l.current = g.scrollTop;
548
+ s.current = g.scrollTop;
549
549
  })
550
550
  }
551
551
  ) })
552
552
  ] });
553
553
  }
554
554
  );
555
- Be.displayName = Se;
556
- var He = "SelectGroup", [Ot, At] = ee(He), Fe = t.forwardRef(
555
+ Fe.displayName = we;
556
+ var Ue = "SelectGroup", [Dt, Lt] = ee(Ue), Ke = t.forwardRef(
557
557
  (o, i) => {
558
- const { __scopeSelect: e, ...c } = o, r = ye();
559
- return /* @__PURE__ */ d.jsx(Ot, { scope: e, id: r, children: /* @__PURE__ */ d.jsx(M.div, { role: "group", "aria-labelledby": r, ...c, ref: i }) });
558
+ const { __scopeSelect: e, ...c } = o, r = Ie();
559
+ return /* @__PURE__ */ u(Dt, { scope: e, id: r, children: /* @__PURE__ */ u(M.div, { role: "group", "aria-labelledby": r, ...c, ref: i }) });
560
560
  }
561
561
  );
562
- Fe.displayName = He;
563
- var We = "SelectLabel", Ue = t.forwardRef(
562
+ Ke.displayName = Ue;
563
+ var Ge = "SelectLabel", ze = t.forwardRef(
564
564
  (o, i) => {
565
- const { __scopeSelect: e, ...c } = o, r = At(We, e);
566
- return /* @__PURE__ */ d.jsx(M.div, { id: r.id, ...c, ref: i });
565
+ const { __scopeSelect: e, ...c } = o, r = Lt(Ge, e);
566
+ return /* @__PURE__ */ u(M.div, { id: r.id, ...c, ref: i });
567
567
  }
568
568
  );
569
- Ue.displayName = We;
570
- var ce = "SelectItem", [Dt, Ke] = ee(ce), Ge = t.forwardRef(
569
+ ze.displayName = Ge;
570
+ var ie = "SelectItem", [kt, je] = ee(ie), Ye = t.forwardRef(
571
571
  (o, i) => {
572
572
  const {
573
573
  __scopeSelect: e,
574
574
  value: c,
575
575
  disabled: r = !1,
576
- textValue: u,
576
+ textValue: d,
577
577
  ...n
578
- } = o, s = Y(ce, e), l = q(ce, e), f = s.value === c, [g, w] = t.useState(u ?? ""), [E, T] = t.useState(!1), y = L(
578
+ } = o, l = Y(ie, e), s = q(ie, e), f = l.value === c, [g, C] = t.useState(d ?? ""), [b, T] = t.useState(!1), y = k(
579
579
  i,
580
- (m) => l.itemRefCallback?.(m, c, r)
581
- ), a = ye(), h = t.useRef("touch"), S = () => {
582
- r || (s.onValueChange(c), s.onOpenChange(!1));
580
+ (m) => s.itemRefCallback?.(m, c, r)
581
+ ), a = Ie(), h = t.useRef("touch"), S = () => {
582
+ r || (l.onValueChange(c), l.onOpenChange(!1));
583
583
  };
584
584
  if (c === "")
585
585
  throw new Error(
586
586
  "A <Select.Item /> must have a value prop that is not an empty string. This is because the Select value can be set to an empty string to clear the selection and show the placeholder."
587
587
  );
588
- return /* @__PURE__ */ d.jsx(
589
- Dt,
588
+ return /* @__PURE__ */ u(
589
+ kt,
590
590
  {
591
591
  scope: e,
592
592
  value: c,
@@ -594,22 +594,22 @@ var ce = "SelectItem", [Dt, Ke] = ee(ce), Ge = t.forwardRef(
594
594
  textId: a,
595
595
  isSelected: f,
596
596
  onItemTextChange: t.useCallback((m) => {
597
- w((v) => v || (m?.textContent ?? "").trim());
597
+ C((v) => v || (m?.textContent ?? "").trim());
598
598
  }, []),
599
- children: /* @__PURE__ */ d.jsx(
600
- ie.ItemSlot,
599
+ children: /* @__PURE__ */ u(
600
+ ae.ItemSlot,
601
601
  {
602
602
  scope: e,
603
603
  value: c,
604
604
  disabled: r,
605
605
  textValue: g,
606
- children: /* @__PURE__ */ d.jsx(
606
+ children: /* @__PURE__ */ u(
607
607
  M.div,
608
608
  {
609
609
  role: "option",
610
610
  "aria-labelledby": a,
611
- "data-highlighted": E ? "" : void 0,
612
- "aria-selected": f && E,
611
+ "data-highlighted": b ? "" : void 0,
612
+ "aria-selected": f && b,
613
613
  "data-state": f ? "checked" : "unchecked",
614
614
  "aria-disabled": r || void 0,
615
615
  "data-disabled": r ? "" : void 0,
@@ -628,13 +628,13 @@ var ce = "SelectItem", [Dt, Ke] = ee(ce), Ge = t.forwardRef(
628
628
  h.current = m.pointerType;
629
629
  }),
630
630
  onPointerMove: R(n.onPointerMove, (m) => {
631
- h.current = m.pointerType, r ? l.onItemLeave?.() : h.current === "mouse" && m.currentTarget.focus({ preventScroll: !0 });
631
+ h.current = m.pointerType, r ? s.onItemLeave?.() : h.current === "mouse" && m.currentTarget.focus({ preventScroll: !0 });
632
632
  }),
633
633
  onPointerLeave: R(n.onPointerLeave, (m) => {
634
- m.currentTarget === document.activeElement && l.onItemLeave?.();
634
+ m.currentTarget === document.activeElement && s.onItemLeave?.();
635
635
  }),
636
636
  onKeyDown: R(n.onKeyDown, (m) => {
637
- l.searchRef?.current !== "" && m.key === " " || (Ct.includes(m.key) && S(), m.key === " " && m.preventDefault());
637
+ s.searchRef?.current !== "" && m.key === " " || (It.includes(m.key) && S(), m.key === " " && m.preventDefault());
638
638
  })
639
639
  }
640
640
  )
@@ -644,87 +644,87 @@ var ce = "SelectItem", [Dt, Ke] = ee(ce), Ge = t.forwardRef(
644
644
  );
645
645
  }
646
646
  );
647
- Ge.displayName = ce;
648
- var ne = "SelectItemText", ze = t.forwardRef(
647
+ Ye.displayName = ie;
648
+ var ne = "SelectItemText", qe = t.forwardRef(
649
649
  (o, i) => {
650
- const { __scopeSelect: e, className: c, style: r, ...u } = o, n = Y(ne, e), s = q(ne, e), l = Ke(ne, e), f = Pt(ne, e), [g, w] = t.useState(null), E = L(
650
+ const { __scopeSelect: e, className: c, style: r, ...d } = o, n = Y(ne, e), l = q(ne, e), s = je(ne, e), f = bt(ne, e), [g, C] = t.useState(null), b = k(
651
651
  i,
652
- (S) => w(S),
653
- l.onItemTextChange,
654
- (S) => s.itemTextRefCallback?.(S, l.value, l.disabled)
652
+ (S) => C(S),
653
+ s.onItemTextChange,
654
+ (S) => l.itemTextRefCallback?.(S, s.value, s.disabled)
655
655
  ), T = g?.textContent, y = t.useMemo(
656
- () => /* @__PURE__ */ d.jsx("option", { value: l.value, disabled: l.disabled, children: T }, l.value),
657
- [l.disabled, l.value, T]
656
+ () => /* @__PURE__ */ u("option", { value: s.value, disabled: s.disabled, children: T }, s.value),
657
+ [s.disabled, s.value, T]
658
658
  ), { onNativeOptionAdd: a, onNativeOptionRemove: h } = f;
659
- return z(() => (a(y), () => h(y)), [a, h, y]), /* @__PURE__ */ d.jsxs(d.Fragment, { children: [
660
- /* @__PURE__ */ d.jsx(M.span, { id: l.textId, ...u, ref: E }),
661
- l.isSelected && n.valueNode && !n.valueNodeHasChildren ? Re.createPortal(u.children, n.valueNode) : null
659
+ return j(() => (a(y), () => h(y)), [a, h, y]), /* @__PURE__ */ ce(Te, { children: [
660
+ /* @__PURE__ */ u(M.span, { id: s.textId, ...d, ref: b }),
661
+ s.isSelected && n.valueNode && !n.valueNodeHasChildren ? Ee.createPortal(d.children, n.valueNode) : null
662
662
  ] });
663
663
  }
664
664
  );
665
- ze.displayName = ne;
666
- var Ye = "SelectItemIndicator", qe = t.forwardRef(
665
+ qe.displayName = ne;
666
+ var Xe = "SelectItemIndicator", Ze = t.forwardRef(
667
667
  (o, i) => {
668
668
  const { __scopeSelect: e, ...c } = o;
669
- return Ke(Ye, e).isSelected ? /* @__PURE__ */ d.jsx(M.span, { "aria-hidden": !0, ...c, ref: i }) : null;
669
+ return je(Xe, e).isSelected ? /* @__PURE__ */ u(M.span, { "aria-hidden": !0, ...c, ref: i }) : null;
670
670
  }
671
671
  );
672
- qe.displayName = Ye;
673
- var xe = "SelectScrollUpButton", Xe = t.forwardRef((o, i) => {
674
- const e = q(xe, o.__scopeSelect), c = Ie(xe, o.__scopeSelect), [r, u] = t.useState(!1), n = L(i, c.onScrollButtonChange);
675
- return z(() => {
672
+ Ze.displayName = Xe;
673
+ var Ce = "SelectScrollUpButton", $e = t.forwardRef((o, i) => {
674
+ const e = q(Ce, o.__scopeSelect), c = Pe(Ce, o.__scopeSelect), [r, d] = t.useState(!1), n = k(i, c.onScrollButtonChange);
675
+ return j(() => {
676
676
  if (e.viewport && e.isPositioned) {
677
- let s = function() {
678
- const f = l.scrollTop > 0;
679
- u(f);
677
+ let l = function() {
678
+ const f = s.scrollTop > 0;
679
+ d(f);
680
680
  };
681
- const l = e.viewport;
682
- return s(), l.addEventListener("scroll", s), () => l.removeEventListener("scroll", s);
681
+ const s = e.viewport;
682
+ return l(), s.addEventListener("scroll", l), () => s.removeEventListener("scroll", l);
683
683
  }
684
- }, [e.viewport, e.isPositioned]), r ? /* @__PURE__ */ d.jsx(
685
- $e,
684
+ }, [e.viewport, e.isPositioned]), r ? /* @__PURE__ */ u(
685
+ Qe,
686
686
  {
687
687
  ...o,
688
688
  ref: n,
689
689
  onAutoScroll: () => {
690
- const { viewport: s, selectedItem: l } = e;
691
- s && l && (s.scrollTop = s.scrollTop - l.offsetHeight);
690
+ const { viewport: l, selectedItem: s } = e;
691
+ l && s && (l.scrollTop = l.scrollTop - s.offsetHeight);
692
692
  }
693
693
  }
694
694
  ) : null;
695
695
  });
696
- Xe.displayName = xe;
697
- var we = "SelectScrollDownButton", Ze = t.forwardRef((o, i) => {
698
- const e = q(we, o.__scopeSelect), c = Ie(we, o.__scopeSelect), [r, u] = t.useState(!1), n = L(i, c.onScrollButtonChange);
699
- return z(() => {
696
+ $e.displayName = Ce;
697
+ var xe = "SelectScrollDownButton", Je = t.forwardRef((o, i) => {
698
+ const e = q(xe, o.__scopeSelect), c = Pe(xe, o.__scopeSelect), [r, d] = t.useState(!1), n = k(i, c.onScrollButtonChange);
699
+ return j(() => {
700
700
  if (e.viewport && e.isPositioned) {
701
- let s = function() {
702
- const f = l.scrollHeight - l.clientHeight, g = Math.ceil(l.scrollTop) < f;
703
- u(g);
701
+ let l = function() {
702
+ const f = s.scrollHeight - s.clientHeight, g = Math.ceil(s.scrollTop) < f;
703
+ d(g);
704
704
  };
705
- const l = e.viewport;
706
- return s(), l.addEventListener("scroll", s), () => l.removeEventListener("scroll", s);
705
+ const s = e.viewport;
706
+ return l(), s.addEventListener("scroll", l), () => s.removeEventListener("scroll", l);
707
707
  }
708
- }, [e.viewport, e.isPositioned]), r ? /* @__PURE__ */ d.jsx(
709
- $e,
708
+ }, [e.viewport, e.isPositioned]), r ? /* @__PURE__ */ u(
709
+ Qe,
710
710
  {
711
711
  ...o,
712
712
  ref: n,
713
713
  onAutoScroll: () => {
714
- const { viewport: s, selectedItem: l } = e;
715
- s && l && (s.scrollTop = s.scrollTop + l.offsetHeight);
714
+ const { viewport: l, selectedItem: s } = e;
715
+ l && s && (l.scrollTop = l.scrollTop + s.offsetHeight);
716
716
  }
717
717
  }
718
718
  ) : null;
719
719
  });
720
- Ze.displayName = we;
721
- var $e = t.forwardRef((o, i) => {
722
- const { __scopeSelect: e, onAutoScroll: c, ...r } = o, u = q("SelectScrollButton", e), n = t.useRef(null), s = ae(e), l = t.useCallback(() => {
720
+ Je.displayName = xe;
721
+ var Qe = t.forwardRef((o, i) => {
722
+ const { __scopeSelect: e, onAutoScroll: c, ...r } = o, d = q("SelectScrollButton", e), n = t.useRef(null), l = de(e), s = t.useCallback(() => {
723
723
  n.current !== null && (window.clearInterval(n.current), n.current = null);
724
724
  }, []);
725
- return t.useEffect(() => () => l(), [l]), z(() => {
726
- s().find((g) => g.ref.current === document.activeElement)?.ref.current?.scrollIntoView({ block: "nearest" });
727
- }, [s]), /* @__PURE__ */ d.jsx(
725
+ return t.useEffect(() => () => s(), [s]), j(() => {
726
+ l().find((g) => g.ref.current === document.activeElement)?.ref.current?.scrollIntoView({ block: "nearest" });
727
+ }, [l]), /* @__PURE__ */ u(
728
728
  M.div,
729
729
  {
730
730
  "aria-hidden": !0,
@@ -735,105 +735,105 @@ var $e = t.forwardRef((o, i) => {
735
735
  n.current === null && (n.current = window.setInterval(c, 50));
736
736
  }),
737
737
  onPointerMove: R(r.onPointerMove, () => {
738
- u.onItemLeave?.(), n.current === null && (n.current = window.setInterval(c, 50));
738
+ d.onItemLeave?.(), n.current === null && (n.current = window.setInterval(c, 50));
739
739
  }),
740
740
  onPointerLeave: R(r.onPointerLeave, () => {
741
- l();
741
+ s();
742
742
  })
743
743
  }
744
744
  );
745
- }), jt = "SelectSeparator", Je = t.forwardRef(
745
+ }), Vt = "SelectSeparator", et = t.forwardRef(
746
746
  (o, i) => {
747
747
  const { __scopeSelect: e, ...c } = o;
748
- return /* @__PURE__ */ d.jsx(M.div, { "aria-hidden": !0, ...c, ref: i });
748
+ return /* @__PURE__ */ u(M.div, { "aria-hidden": !0, ...c, ref: i });
749
749
  }
750
750
  );
751
- Je.displayName = jt;
752
- var Ce = "SelectArrow", Lt = t.forwardRef(
751
+ et.displayName = Vt;
752
+ var ye = "SelectArrow", Bt = t.forwardRef(
753
753
  (o, i) => {
754
- const { __scopeSelect: e, ...c } = o, r = de(e), u = Y(Ce, e), n = q(Ce, e);
755
- return u.open && n.position === "popper" ? /* @__PURE__ */ d.jsx(pt, { ...r, ...c, ref: i }) : null;
754
+ const { __scopeSelect: e, ...c } = o, r = ue(e), d = Y(ye, e), n = q(ye, e);
755
+ return d.open && n.position === "popper" ? /* @__PURE__ */ u(mt, { ...r, ...c, ref: i }) : null;
756
756
  }
757
757
  );
758
- Lt.displayName = Ce;
759
- function Qe(o) {
758
+ Bt.displayName = ye;
759
+ function tt(o) {
760
760
  return o === "" || o === void 0;
761
761
  }
762
- var et = t.forwardRef(
762
+ var ot = t.forwardRef(
763
763
  (o, i) => {
764
- const { value: e, ...c } = o, r = t.useRef(null), u = L(i, r), n = vt(e);
764
+ const { value: e, ...c } = o, r = t.useRef(null), d = k(i, r), n = St(e);
765
765
  return t.useEffect(() => {
766
- const s = r.current, l = window.HTMLSelectElement.prototype, g = Object.getOwnPropertyDescriptor(
767
- l,
766
+ const l = r.current, s = window.HTMLSelectElement.prototype, g = Object.getOwnPropertyDescriptor(
767
+ s,
768
768
  "value"
769
769
  ).set;
770
770
  if (n !== e && g) {
771
- const w = new Event("change", { bubbles: !0 });
772
- g.call(s, e), s.dispatchEvent(w);
771
+ const C = new Event("change", { bubbles: !0 });
772
+ g.call(l, e), l.dispatchEvent(C);
773
773
  }
774
- }, [n, e]), /* @__PURE__ */ d.jsx(gt, { asChild: !0, children: /* @__PURE__ */ d.jsx("select", { ...c, ref: u, defaultValue: e }) });
774
+ }, [n, e]), /* @__PURE__ */ u(wt, { asChild: !0, children: /* @__PURE__ */ u("select", { ...c, ref: d, defaultValue: e }) });
775
775
  }
776
776
  );
777
- et.displayName = "BubbleSelect";
778
- function tt(o) {
779
- const i = ht(o), e = t.useRef(""), c = t.useRef(0), r = t.useCallback(
777
+ ot.displayName = "BubbleSelect";
778
+ function nt(o) {
779
+ const i = gt(o), e = t.useRef(""), c = t.useRef(0), r = t.useCallback(
780
780
  (n) => {
781
- const s = e.current + n;
782
- i(s), function l(f) {
783
- e.current = f, window.clearTimeout(c.current), f !== "" && (c.current = window.setTimeout(() => l(""), 1e3));
784
- }(s);
781
+ const l = e.current + n;
782
+ i(l), function s(f) {
783
+ e.current = f, window.clearTimeout(c.current), f !== "" && (c.current = window.setTimeout(() => s(""), 1e3));
784
+ }(l);
785
785
  },
786
786
  [i]
787
- ), u = t.useCallback(() => {
787
+ ), d = t.useCallback(() => {
788
788
  e.current = "", window.clearTimeout(c.current);
789
789
  }, []);
790
- return t.useEffect(() => () => window.clearTimeout(c.current), []), [e, r, u];
790
+ return t.useEffect(() => () => window.clearTimeout(c.current), []), [e, r, d];
791
791
  }
792
- function ot(o, i, e) {
793
- const r = i.length > 1 && Array.from(i).every((f) => f === i[0]) ? i[0] : i, u = e ? o.indexOf(e) : -1;
794
- let n = kt(o, Math.max(u, 0));
792
+ function rt(o, i, e) {
793
+ const r = i.length > 1 && Array.from(i).every((f) => f === i[0]) ? i[0] : i, d = e ? o.indexOf(e) : -1;
794
+ let n = Ht(o, Math.max(d, 0));
795
795
  r.length === 1 && (n = n.filter((f) => f !== e));
796
- const l = n.find(
796
+ const s = n.find(
797
797
  (f) => f.textValue.toLowerCase().startsWith(r.toLowerCase())
798
798
  );
799
- return l !== e ? l : void 0;
799
+ return s !== e ? s : void 0;
800
800
  }
801
- function kt(o, i) {
801
+ function Ht(o, i) {
802
802
  return o.map((e, c) => o[(i + c) % o.length]);
803
803
  }
804
- var co = be, io = _e, ao = Oe, uo = Ae, po = De, fo = je, mo = Be, ho = Fe, vo = Ue, go = Ge, So = ze, xo = qe, wo = Xe, Co = Ze, yo = Je;
804
+ var ao = _e, uo = Oe, po = De, fo = Le, mo = ke, ho = Ve, vo = Fe, go = Ke, So = ze, wo = Ye, Co = qe, xo = Ze, yo = $e, Io = Je, To = et;
805
805
  export {
806
- fo as Content,
807
- ho as Group,
808
- uo as Icon,
809
- go as Item,
806
+ ho as Content,
807
+ go as Group,
808
+ fo as Icon,
809
+ wo as Item,
810
810
  xo as ItemIndicator,
811
- So as ItemText,
812
- vo as Label,
813
- po as Portal,
814
- co as Root,
815
- Co as ScrollDownButton,
816
- wo as ScrollUpButton,
817
- be as Select,
818
- Lt as SelectArrow,
819
- je as SelectContent,
820
- Fe as SelectGroup,
821
- Ae as SelectIcon,
822
- Ge as SelectItem,
823
- qe as SelectItemIndicator,
824
- ze as SelectItemText,
825
- Ue as SelectLabel,
826
- De as SelectPortal,
827
- Ze as SelectScrollDownButton,
828
- Xe as SelectScrollUpButton,
829
- Je as SelectSeparator,
830
- _e as SelectTrigger,
831
- Oe as SelectValue,
832
- Be as SelectViewport,
833
- yo as Separator,
834
- io as Trigger,
835
- ao as Value,
836
- mo as Viewport,
837
- lo as createSelectScope
811
+ Co as ItemText,
812
+ So as Label,
813
+ mo as Portal,
814
+ ao as Root,
815
+ Io as ScrollDownButton,
816
+ yo as ScrollUpButton,
817
+ _e as Select,
818
+ Bt as SelectArrow,
819
+ Ve as SelectContent,
820
+ Ke as SelectGroup,
821
+ Le as SelectIcon,
822
+ Ye as SelectItem,
823
+ Ze as SelectItemIndicator,
824
+ qe as SelectItemText,
825
+ ze as SelectLabel,
826
+ ke as SelectPortal,
827
+ Je as SelectScrollDownButton,
828
+ $e as SelectScrollUpButton,
829
+ et as SelectSeparator,
830
+ Oe as SelectTrigger,
831
+ De as SelectValue,
832
+ Fe as SelectViewport,
833
+ To as Separator,
834
+ uo as Trigger,
835
+ po as Value,
836
+ vo as Viewport,
837
+ io as createSelectScope
838
838
  };
839
839
  //# sourceMappingURL=index.js.map