@arolariu/components 0.0.30 → 0.0.32

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 (476) hide show
  1. package/LICENSE +21 -0
  2. package/dist/cjs/components/ui/accordion.cjs +1 -1
  3. package/dist/cjs/components/ui/accordion.cjs.map +1 -1
  4. package/dist/cjs/components/ui/alert-dialog.cjs +1 -1
  5. package/dist/cjs/components/ui/alert-dialog.cjs.map +1 -1
  6. package/dist/cjs/components/ui/alert.cjs +1 -1
  7. package/dist/cjs/components/ui/alert.cjs.map +1 -1
  8. package/dist/cjs/components/ui/aspect-ratio.cjs +1 -1
  9. package/dist/cjs/components/ui/aspect-ratio.cjs.map +1 -1
  10. package/dist/cjs/components/ui/avatar.cjs +1 -1
  11. package/dist/cjs/components/ui/avatar.cjs.map +1 -1
  12. package/dist/cjs/components/ui/badge.cjs +1 -1
  13. package/dist/cjs/components/ui/badge.cjs.map +1 -1
  14. package/dist/cjs/components/ui/breadcrumb.cjs +1 -1
  15. package/dist/cjs/components/ui/breadcrumb.cjs.map +1 -1
  16. package/dist/cjs/components/ui/button.cjs +1 -1
  17. package/dist/cjs/components/ui/button.cjs.map +1 -1
  18. package/dist/cjs/components/ui/calendar.cjs +1 -1
  19. package/dist/cjs/components/ui/calendar.cjs.map +1 -1
  20. package/dist/cjs/components/ui/card.cjs +1 -1
  21. package/dist/cjs/components/ui/card.cjs.map +1 -1
  22. package/dist/cjs/components/ui/carousel.cjs +1 -1
  23. package/dist/cjs/components/ui/carousel.cjs.map +1 -1
  24. package/dist/cjs/components/ui/chart.cjs +3 -3
  25. package/dist/cjs/components/ui/chart.cjs.map +1 -1
  26. package/dist/cjs/components/ui/checkbox.cjs +1 -1
  27. package/dist/cjs/components/ui/checkbox.cjs.map +1 -1
  28. package/dist/cjs/components/ui/collapsible.cjs +1 -1
  29. package/dist/cjs/components/ui/collapsible.cjs.map +1 -1
  30. package/dist/cjs/components/ui/command.cjs +1 -1
  31. package/dist/cjs/components/ui/command.cjs.map +1 -1
  32. package/dist/cjs/components/ui/context-menu.cjs +1 -1
  33. package/dist/cjs/components/ui/context-menu.cjs.map +1 -1
  34. package/dist/cjs/components/ui/dialog.cjs +1 -1
  35. package/dist/cjs/components/ui/dialog.cjs.map +1 -1
  36. package/dist/cjs/components/ui/drawer.cjs +1 -1
  37. package/dist/cjs/components/ui/drawer.cjs.map +1 -1
  38. package/dist/cjs/components/ui/dropdown-menu.cjs +1 -1
  39. package/dist/cjs/components/ui/dropdown-menu.cjs.map +1 -1
  40. package/dist/cjs/components/ui/form.cjs +1 -1
  41. package/dist/cjs/components/ui/form.cjs.map +1 -1
  42. package/dist/cjs/components/ui/hover-card.cjs +1 -1
  43. package/dist/cjs/components/ui/hover-card.cjs.map +1 -1
  44. package/dist/cjs/components/ui/input-otp.cjs +1 -1
  45. package/dist/cjs/components/ui/input-otp.cjs.map +1 -1
  46. package/dist/cjs/components/ui/input.cjs +1 -1
  47. package/dist/cjs/components/ui/input.cjs.map +1 -1
  48. package/dist/cjs/components/ui/label.cjs +1 -1
  49. package/dist/cjs/components/ui/label.cjs.map +1 -1
  50. package/dist/cjs/components/ui/menubar.cjs +1 -1
  51. package/dist/cjs/components/ui/menubar.cjs.map +1 -1
  52. package/dist/cjs/components/ui/navigation-menu.cjs +1 -1
  53. package/dist/cjs/components/ui/navigation-menu.cjs.map +1 -1
  54. package/dist/cjs/components/ui/pagination.cjs +1 -1
  55. package/dist/cjs/components/ui/pagination.cjs.map +1 -1
  56. package/dist/cjs/components/ui/popover.cjs +1 -1
  57. package/dist/cjs/components/ui/popover.cjs.map +1 -1
  58. package/dist/cjs/components/ui/progress.cjs +1 -1
  59. package/dist/cjs/components/ui/progress.cjs.map +1 -1
  60. package/dist/cjs/components/ui/radio-group.cjs +1 -1
  61. package/dist/cjs/components/ui/radio-group.cjs.map +1 -1
  62. package/dist/cjs/components/ui/resizable.cjs +1 -1
  63. package/dist/cjs/components/ui/resizable.cjs.map +1 -1
  64. package/dist/cjs/components/ui/scroll-area.cjs +1 -1
  65. package/dist/cjs/components/ui/scroll-area.cjs.map +1 -1
  66. package/dist/cjs/components/ui/select.cjs +1 -1
  67. package/dist/cjs/components/ui/select.cjs.map +1 -1
  68. package/dist/cjs/components/ui/separator.cjs +1 -1
  69. package/dist/cjs/components/ui/separator.cjs.map +1 -1
  70. package/dist/cjs/components/ui/sheet.cjs +1 -1
  71. package/dist/cjs/components/ui/sheet.cjs.map +1 -1
  72. package/dist/cjs/components/ui/sidebar.cjs +1 -1
  73. package/dist/cjs/components/ui/sidebar.cjs.map +1 -1
  74. package/dist/cjs/components/ui/skeleton.cjs +1 -1
  75. package/dist/cjs/components/ui/skeleton.cjs.map +1 -1
  76. package/dist/cjs/components/ui/slider.cjs +1 -1
  77. package/dist/cjs/components/ui/slider.cjs.map +1 -1
  78. package/dist/cjs/components/ui/sonner.cjs +1 -1
  79. package/dist/cjs/components/ui/sonner.cjs.map +1 -1
  80. package/dist/cjs/components/ui/switch.cjs +1 -1
  81. package/dist/cjs/components/ui/switch.cjs.map +1 -1
  82. package/dist/cjs/components/ui/table.cjs +1 -1
  83. package/dist/cjs/components/ui/table.cjs.map +1 -1
  84. package/dist/cjs/components/ui/tabs.cjs +1 -1
  85. package/dist/cjs/components/ui/tabs.cjs.map +1 -1
  86. package/dist/cjs/components/ui/textarea.cjs +1 -1
  87. package/dist/cjs/components/ui/textarea.cjs.map +1 -1
  88. package/dist/cjs/components/ui/toggle-group.cjs +1 -1
  89. package/dist/cjs/components/ui/toggle-group.cjs.map +1 -1
  90. package/dist/cjs/components/ui/toggle.cjs +1 -1
  91. package/dist/cjs/components/ui/toggle.cjs.map +1 -1
  92. package/dist/cjs/components/ui/tooltip.cjs +1 -1
  93. package/dist/cjs/components/ui/tooltip.cjs.map +1 -1
  94. package/dist/cjs/index.cjs +1 -1
  95. package/dist/cjs/index.css +1 -0
  96. package/dist/cjs/node_modules/@radix-ui/react-accordion/dist/index.cjs +1 -1
  97. package/dist/cjs/node_modules/@radix-ui/react-accordion/dist/index.cjs.map +1 -1
  98. package/dist/cjs/node_modules/@radix-ui/react-alert-dialog/dist/index.cjs +3 -3
  99. package/dist/cjs/node_modules/@radix-ui/react-alert-dialog/dist/index.cjs.map +1 -1
  100. package/dist/cjs/node_modules/@radix-ui/react-arrow/dist/index.cjs +1 -1
  101. package/dist/cjs/node_modules/@radix-ui/react-arrow/dist/index.cjs.map +1 -1
  102. package/dist/cjs/node_modules/@radix-ui/react-aspect-ratio/dist/index.cjs +1 -1
  103. package/dist/cjs/node_modules/@radix-ui/react-aspect-ratio/dist/index.cjs.map +1 -1
  104. package/dist/cjs/node_modules/@radix-ui/react-avatar/dist/index.cjs +1 -1
  105. package/dist/cjs/node_modules/@radix-ui/react-avatar/dist/index.cjs.map +1 -1
  106. package/dist/cjs/node_modules/@radix-ui/react-checkbox/dist/index.cjs +1 -1
  107. package/dist/cjs/node_modules/@radix-ui/react-checkbox/dist/index.cjs.map +1 -1
  108. package/dist/cjs/node_modules/@radix-ui/react-collapsible/dist/index.cjs +1 -1
  109. package/dist/cjs/node_modules/@radix-ui/react-collapsible/dist/index.cjs.map +1 -1
  110. package/dist/cjs/node_modules/@radix-ui/react-collection/dist/index.cjs +1 -1
  111. package/dist/cjs/node_modules/@radix-ui/react-collection/dist/index.cjs.map +1 -1
  112. package/dist/cjs/node_modules/@radix-ui/react-context/dist/index.cjs +1 -1
  113. package/dist/cjs/node_modules/@radix-ui/react-context/dist/index.cjs.map +1 -1
  114. package/dist/cjs/node_modules/@radix-ui/react-context-menu/dist/index.cjs +1 -1
  115. package/dist/cjs/node_modules/@radix-ui/react-context-menu/dist/index.cjs.map +1 -1
  116. package/dist/cjs/node_modules/@radix-ui/react-dialog/dist/index.cjs +2 -2
  117. package/dist/cjs/node_modules/@radix-ui/react-dialog/dist/index.cjs.map +1 -1
  118. package/dist/cjs/node_modules/@radix-ui/react-direction/dist/index.cjs +1 -1
  119. package/dist/cjs/node_modules/@radix-ui/react-direction/dist/index.cjs.map +1 -1
  120. package/dist/cjs/node_modules/@radix-ui/react-dismissable-layer/dist/index.cjs +1 -1
  121. package/dist/cjs/node_modules/@radix-ui/react-dismissable-layer/dist/index.cjs.map +1 -1
  122. package/dist/cjs/node_modules/@radix-ui/react-dropdown-menu/dist/index.cjs +1 -1
  123. package/dist/cjs/node_modules/@radix-ui/react-dropdown-menu/dist/index.cjs.map +1 -1
  124. package/dist/cjs/node_modules/@radix-ui/react-focus-scope/dist/index.cjs +1 -1
  125. package/dist/cjs/node_modules/@radix-ui/react-focus-scope/dist/index.cjs.map +1 -1
  126. package/dist/cjs/node_modules/@radix-ui/react-hover-card/dist/index.cjs +1 -1
  127. package/dist/cjs/node_modules/@radix-ui/react-hover-card/dist/index.cjs.map +1 -1
  128. package/dist/cjs/node_modules/@radix-ui/react-label/dist/index.cjs +1 -1
  129. package/dist/cjs/node_modules/@radix-ui/react-label/dist/index.cjs.map +1 -1
  130. package/dist/cjs/node_modules/@radix-ui/react-menu/dist/index.cjs +1 -1
  131. package/dist/cjs/node_modules/@radix-ui/react-menu/dist/index.cjs.map +1 -1
  132. package/dist/cjs/node_modules/@radix-ui/react-menubar/dist/index.cjs +1 -1
  133. package/dist/cjs/node_modules/@radix-ui/react-menubar/dist/index.cjs.map +1 -1
  134. package/dist/cjs/node_modules/@radix-ui/react-navigation-menu/dist/index.cjs +1 -1
  135. package/dist/cjs/node_modules/@radix-ui/react-navigation-menu/dist/index.cjs.map +1 -1
  136. package/dist/cjs/node_modules/@radix-ui/react-popover/dist/index.cjs +1 -1
  137. package/dist/cjs/node_modules/@radix-ui/react-popover/dist/index.cjs.map +1 -1
  138. package/dist/cjs/node_modules/@radix-ui/react-popper/dist/index.cjs +1 -1
  139. package/dist/cjs/node_modules/@radix-ui/react-popper/dist/index.cjs.map +1 -1
  140. package/dist/cjs/node_modules/@radix-ui/react-portal/dist/index.cjs +1 -1
  141. package/dist/cjs/node_modules/@radix-ui/react-portal/dist/index.cjs.map +1 -1
  142. package/dist/cjs/node_modules/@radix-ui/react-primitive/dist/index.cjs +1 -1
  143. package/dist/cjs/node_modules/@radix-ui/react-primitive/dist/index.cjs.map +1 -1
  144. package/dist/cjs/node_modules/@radix-ui/react-progress/dist/index.cjs +2 -2
  145. package/dist/cjs/node_modules/@radix-ui/react-progress/dist/index.cjs.map +1 -1
  146. package/dist/cjs/node_modules/@radix-ui/react-radio-group/dist/index.cjs +1 -1
  147. package/dist/cjs/node_modules/@radix-ui/react-radio-group/dist/index.cjs.map +1 -1
  148. package/dist/cjs/node_modules/@radix-ui/react-roving-focus/dist/index.cjs +1 -1
  149. package/dist/cjs/node_modules/@radix-ui/react-roving-focus/dist/index.cjs.map +1 -1
  150. package/dist/cjs/node_modules/@radix-ui/react-scroll-area/dist/index.cjs +1 -1
  151. package/dist/cjs/node_modules/@radix-ui/react-scroll-area/dist/index.cjs.map +1 -1
  152. package/dist/cjs/node_modules/@radix-ui/react-select/dist/index.cjs +1 -1
  153. package/dist/cjs/node_modules/@radix-ui/react-select/dist/index.cjs.map +1 -1
  154. package/dist/cjs/node_modules/@radix-ui/react-separator/dist/index.cjs +1 -1
  155. package/dist/cjs/node_modules/@radix-ui/react-separator/dist/index.cjs.map +1 -1
  156. package/dist/cjs/node_modules/@radix-ui/react-slider/dist/index.cjs +1 -1
  157. package/dist/cjs/node_modules/@radix-ui/react-slider/dist/index.cjs.map +1 -1
  158. package/dist/cjs/node_modules/@radix-ui/react-slot/dist/index.cjs +1 -1
  159. package/dist/cjs/node_modules/@radix-ui/react-slot/dist/index.cjs.map +1 -1
  160. package/dist/cjs/node_modules/@radix-ui/react-switch/dist/index.cjs +1 -1
  161. package/dist/cjs/node_modules/@radix-ui/react-switch/dist/index.cjs.map +1 -1
  162. package/dist/cjs/node_modules/@radix-ui/react-tabs/dist/index.cjs +1 -1
  163. package/dist/cjs/node_modules/@radix-ui/react-tabs/dist/index.cjs.map +1 -1
  164. package/dist/cjs/node_modules/@radix-ui/react-toggle/dist/index.cjs +1 -1
  165. package/dist/cjs/node_modules/@radix-ui/react-toggle/dist/index.cjs.map +1 -1
  166. package/dist/cjs/node_modules/@radix-ui/react-toggle-group/dist/index.cjs +1 -1
  167. package/dist/cjs/node_modules/@radix-ui/react-toggle-group/dist/index.cjs.map +1 -1
  168. package/dist/cjs/node_modules/@radix-ui/react-tooltip/dist/index.cjs +1 -1
  169. package/dist/cjs/node_modules/@radix-ui/react-tooltip/dist/index.cjs.map +1 -1
  170. package/dist/cjs/node_modules/@radix-ui/react-visually-hidden/dist/index.cjs +1 -1
  171. package/dist/cjs/node_modules/@radix-ui/react-visually-hidden/dist/index.cjs.map +1 -1
  172. package/dist/cjs/node_modules/react-day-picker/dist/index.esm.cjs +1 -1
  173. package/dist/cjs/node_modules/react-day-picker/dist/index.esm.cjs.map +1 -1
  174. package/dist/esm/components/ui/accordion.js +20 -20
  175. package/dist/esm/components/ui/accordion.js.map +1 -1
  176. package/dist/esm/components/ui/alert-dialog.js +53 -50
  177. package/dist/esm/components/ui/alert-dialog.js.map +1 -1
  178. package/dist/esm/components/ui/alert.js +10 -10
  179. package/dist/esm/components/ui/alert.js.map +1 -1
  180. package/dist/esm/components/ui/aspect-ratio.js +4 -4
  181. package/dist/esm/components/ui/aspect-ratio.js.map +1 -1
  182. package/dist/esm/components/ui/avatar.js +7 -7
  183. package/dist/esm/components/ui/avatar.js.map +1 -1
  184. package/dist/esm/components/ui/badge.js +9 -10
  185. package/dist/esm/components/ui/badge.js.map +1 -1
  186. package/dist/esm/components/ui/breadcrumb.js +36 -31
  187. package/dist/esm/components/ui/breadcrumb.js.map +1 -1
  188. package/dist/esm/components/ui/button.js +9 -10
  189. package/dist/esm/components/ui/button.js.map +1 -1
  190. package/dist/esm/components/ui/calendar.js +4 -4
  191. package/dist/esm/components/ui/calendar.js.map +1 -1
  192. package/dist/esm/components/ui/card.js +15 -12
  193. package/dist/esm/components/ui/card.js.map +1 -1
  194. package/dist/esm/components/ui/carousel.js +83 -83
  195. package/dist/esm/components/ui/carousel.js.map +1 -1
  196. package/dist/esm/components/ui/chart.js +80 -80
  197. package/dist/esm/components/ui/chart.js.map +1 -1
  198. package/dist/esm/components/ui/checkbox.js +4 -4
  199. package/dist/esm/components/ui/checkbox.js.map +1 -1
  200. package/dist/esm/components/ui/collapsible.js +10 -10
  201. package/dist/esm/components/ui/collapsible.js.map +1 -1
  202. package/dist/esm/components/ui/command.js +53 -53
  203. package/dist/esm/components/ui/command.js.map +1 -1
  204. package/dist/esm/components/ui/context-menu.js +80 -77
  205. package/dist/esm/components/ui/context-menu.js.map +1 -1
  206. package/dist/esm/components/ui/dialog.js +48 -45
  207. package/dist/esm/components/ui/dialog.js.map +1 -1
  208. package/dist/esm/components/ui/drawer.js +55 -49
  209. package/dist/esm/components/ui/drawer.js.map +1 -1
  210. package/dist/esm/components/ui/dropdown-menu.js +67 -64
  211. package/dist/esm/components/ui/dropdown-menu.js.map +1 -1
  212. package/dist/esm/components/ui/form.js +44 -38
  213. package/dist/esm/components/ui/form.js.map +1 -1
  214. package/dist/esm/components/ui/hover-card.js +6 -6
  215. package/dist/esm/components/ui/hover-card.js.map +1 -1
  216. package/dist/esm/components/ui/input-otp.js +19 -19
  217. package/dist/esm/components/ui/input-otp.js.map +1 -1
  218. package/dist/esm/components/ui/input.js +2 -2
  219. package/dist/esm/components/ui/input.js.map +1 -1
  220. package/dist/esm/components/ui/label.js +4 -4
  221. package/dist/esm/components/ui/label.js.map +1 -1
  222. package/dist/esm/components/ui/menubar.js +94 -91
  223. package/dist/esm/components/ui/menubar.js.map +1 -1
  224. package/dist/esm/components/ui/navigation-menu.js +44 -44
  225. package/dist/esm/components/ui/navigation-menu.js.map +1 -1
  226. package/dist/esm/components/ui/pagination.js +39 -39
  227. package/dist/esm/components/ui/pagination.js.map +1 -1
  228. package/dist/esm/components/ui/popover.js +9 -9
  229. package/dist/esm/components/ui/popover.js.map +1 -1
  230. package/dist/esm/components/ui/progress.js +9 -9
  231. package/dist/esm/components/ui/progress.js.map +1 -1
  232. package/dist/esm/components/ui/radio-group.js +8 -8
  233. package/dist/esm/components/ui/radio-group.js.map +1 -1
  234. package/dist/esm/components/ui/resizable.js +8 -8
  235. package/dist/esm/components/ui/resizable.js.map +1 -1
  236. package/dist/esm/components/ui/scroll-area.js +22 -22
  237. package/dist/esm/components/ui/scroll-area.js.map +1 -1
  238. package/dist/esm/components/ui/select.js +81 -78
  239. package/dist/esm/components/ui/select.js.map +1 -1
  240. package/dist/esm/components/ui/separator.js +4 -4
  241. package/dist/esm/components/ui/separator.js.map +1 -1
  242. package/dist/esm/components/ui/sheet.js +50 -44
  243. package/dist/esm/components/ui/sheet.js.map +1 -1
  244. package/dist/esm/components/ui/sidebar.js +178 -179
  245. package/dist/esm/components/ui/sidebar.js.map +1 -1
  246. package/dist/esm/components/ui/skeleton.js +8 -5
  247. package/dist/esm/components/ui/skeleton.js.map +1 -1
  248. package/dist/esm/components/ui/slider.js +21 -21
  249. package/dist/esm/components/ui/slider.js.map +1 -1
  250. package/dist/esm/components/ui/sonner.js +2 -2
  251. package/dist/esm/components/ui/sonner.js.map +1 -1
  252. package/dist/esm/components/ui/switch.js +3 -3
  253. package/dist/esm/components/ui/switch.js.map +1 -1
  254. package/dist/esm/components/ui/table.js +20 -17
  255. package/dist/esm/components/ui/table.js.map +1 -1
  256. package/dist/esm/components/ui/tabs.js +5 -5
  257. package/dist/esm/components/ui/tabs.js.map +1 -1
  258. package/dist/esm/components/ui/textarea.js +2 -2
  259. package/dist/esm/components/ui/textarea.js.map +1 -1
  260. package/dist/esm/components/ui/toggle-group.js +7 -7
  261. package/dist/esm/components/ui/toggle-group.js.map +1 -1
  262. package/dist/esm/components/ui/toggle.js +5 -5
  263. package/dist/esm/components/ui/toggle.js.map +1 -1
  264. package/dist/esm/components/ui/tooltip.js +19 -19
  265. package/dist/esm/components/ui/tooltip.js.map +1 -1
  266. package/dist/esm/index.css +1 -0
  267. package/dist/esm/index.js +294 -293
  268. package/dist/esm/index.js.map +1 -1
  269. package/dist/esm/node_modules/@radix-ui/react-accordion/dist/index.js +74 -74
  270. package/dist/esm/node_modules/@radix-ui/react-accordion/dist/index.js.map +1 -1
  271. package/dist/esm/node_modules/@radix-ui/react-alert-dialog/dist/index.js +69 -69
  272. package/dist/esm/node_modules/@radix-ui/react-alert-dialog/dist/index.js.map +1 -1
  273. package/dist/esm/node_modules/@radix-ui/react-arrow/dist/index.js +6 -6
  274. package/dist/esm/node_modules/@radix-ui/react-arrow/dist/index.js.map +1 -1
  275. package/dist/esm/node_modules/@radix-ui/react-aspect-ratio/dist/index.js +12 -12
  276. package/dist/esm/node_modules/@radix-ui/react-aspect-ratio/dist/index.js.map +1 -1
  277. package/dist/esm/node_modules/@radix-ui/react-avatar/dist/index.js +29 -29
  278. package/dist/esm/node_modules/@radix-ui/react-avatar/dist/index.js.map +1 -1
  279. package/dist/esm/node_modules/@radix-ui/react-checkbox/dist/index.js +62 -62
  280. package/dist/esm/node_modules/@radix-ui/react-checkbox/dist/index.js.map +1 -1
  281. package/dist/esm/node_modules/@radix-ui/react-collapsible/dist/index.js +46 -46
  282. package/dist/esm/node_modules/@radix-ui/react-collapsible/dist/index.js.map +1 -1
  283. package/dist/esm/node_modules/@radix-ui/react-collection/dist/index.js +26 -26
  284. package/dist/esm/node_modules/@radix-ui/react-collection/dist/index.js.map +1 -1
  285. package/dist/esm/node_modules/@radix-ui/react-context/dist/index.js +21 -21
  286. package/dist/esm/node_modules/@radix-ui/react-context/dist/index.js.map +1 -1
  287. package/dist/esm/node_modules/@radix-ui/react-context-menu/dist/index.js +115 -115
  288. package/dist/esm/node_modules/@radix-ui/react-context-menu/dist/index.js.map +1 -1
  289. package/dist/esm/node_modules/@radix-ui/react-dialog/dist/index.js +100 -100
  290. package/dist/esm/node_modules/@radix-ui/react-dialog/dist/index.js.map +1 -1
  291. package/dist/esm/node_modules/@radix-ui/react-direction/dist/index.js +1 -1
  292. package/dist/esm/node_modules/@radix-ui/react-dismissable-layer/dist/index.js +38 -38
  293. package/dist/esm/node_modules/@radix-ui/react-dismissable-layer/dist/index.js.map +1 -1
  294. package/dist/esm/node_modules/@radix-ui/react-dropdown-menu/dist/index.js +105 -105
  295. package/dist/esm/node_modules/@radix-ui/react-dropdown-menu/dist/index.js.map +1 -1
  296. package/dist/esm/node_modules/@radix-ui/react-focus-scope/dist/index.js +9 -9
  297. package/dist/esm/node_modules/@radix-ui/react-focus-scope/dist/index.js.map +1 -1
  298. package/dist/esm/node_modules/@radix-ui/react-hover-card/dist/index.js +41 -41
  299. package/dist/esm/node_modules/@radix-ui/react-hover-card/dist/index.js.map +1 -1
  300. package/dist/esm/node_modules/@radix-ui/react-label/dist/index.js +3 -3
  301. package/dist/esm/node_modules/@radix-ui/react-label/dist/index.js.map +1 -1
  302. package/dist/esm/node_modules/@radix-ui/react-menu/dist/index.js +198 -198
  303. package/dist/esm/node_modules/@radix-ui/react-menu/dist/index.js.map +1 -1
  304. package/dist/esm/node_modules/@radix-ui/react-menubar/dist/index.js +96 -96
  305. package/dist/esm/node_modules/@radix-ui/react-menubar/dist/index.js.map +1 -1
  306. package/dist/esm/node_modules/@radix-ui/react-navigation-menu/dist/index.js +236 -236
  307. package/dist/esm/node_modules/@radix-ui/react-navigation-menu/dist/index.js.map +1 -1
  308. package/dist/esm/node_modules/@radix-ui/react-popover/dist/index.js +90 -90
  309. package/dist/esm/node_modules/@radix-ui/react-popover/dist/index.js.map +1 -1
  310. package/dist/esm/node_modules/@radix-ui/react-popper/dist/index.js +49 -49
  311. package/dist/esm/node_modules/@radix-ui/react-popper/dist/index.js.map +1 -1
  312. package/dist/esm/node_modules/@radix-ui/react-portal/dist/index.js +8 -8
  313. package/dist/esm/node_modules/@radix-ui/react-portal/dist/index.js.map +1 -1
  314. package/dist/esm/node_modules/@radix-ui/react-primitive/dist/index.js +10 -10
  315. package/dist/esm/node_modules/@radix-ui/react-primitive/dist/index.js.map +1 -1
  316. package/dist/esm/node_modules/@radix-ui/react-progress/dist/index.js +18 -18
  317. package/dist/esm/node_modules/@radix-ui/react-progress/dist/index.js.map +1 -1
  318. package/dist/esm/node_modules/@radix-ui/react-radio-group/dist/index.js +86 -86
  319. package/dist/esm/node_modules/@radix-ui/react-radio-group/dist/index.js.map +1 -1
  320. package/dist/esm/node_modules/@radix-ui/react-roving-focus/dist/index.js +29 -29
  321. package/dist/esm/node_modules/@radix-ui/react-roving-focus/dist/index.js.map +1 -1
  322. package/dist/esm/node_modules/@radix-ui/react-scroll-area/dist/index.js +170 -170
  323. package/dist/esm/node_modules/@radix-ui/react-scroll-area/dist/index.js.map +1 -1
  324. package/dist/esm/node_modules/@radix-ui/react-select/dist/index.js +350 -350
  325. package/dist/esm/node_modules/@radix-ui/react-select/dist/index.js.map +1 -1
  326. package/dist/esm/node_modules/@radix-ui/react-separator/dist/index.js +6 -6
  327. package/dist/esm/node_modules/@radix-ui/react-separator/dist/index.js.map +1 -1
  328. package/dist/esm/node_modules/@radix-ui/react-slider/dist/index.js +114 -114
  329. package/dist/esm/node_modules/@radix-ui/react-slider/dist/index.js.map +1 -1
  330. package/dist/esm/node_modules/@radix-ui/react-slot/dist/index.js +14 -14
  331. package/dist/esm/node_modules/@radix-ui/react-slot/dist/index.js.map +1 -1
  332. package/dist/esm/node_modules/@radix-ui/react-switch/dist/index.js +48 -48
  333. package/dist/esm/node_modules/@radix-ui/react-switch/dist/index.js.map +1 -1
  334. package/dist/esm/node_modules/@radix-ui/react-tabs/dist/index.js +48 -48
  335. package/dist/esm/node_modules/@radix-ui/react-tabs/dist/index.js.map +1 -1
  336. package/dist/esm/node_modules/@radix-ui/react-toggle/dist/index.js +6 -6
  337. package/dist/esm/node_modules/@radix-ui/react-toggle/dist/index.js.map +1 -1
  338. package/dist/esm/node_modules/@radix-ui/react-toggle-group/dist/index.js +67 -71
  339. package/dist/esm/node_modules/@radix-ui/react-toggle-group/dist/index.js.map +1 -1
  340. package/dist/esm/node_modules/@radix-ui/react-tooltip/dist/index.js +97 -97
  341. package/dist/esm/node_modules/@radix-ui/react-tooltip/dist/index.js.map +1 -1
  342. package/dist/esm/node_modules/@radix-ui/react-visually-hidden/dist/index.js +4 -4
  343. package/dist/esm/node_modules/@radix-ui/react-visually-hidden/dist/index.js.map +1 -1
  344. package/dist/esm/node_modules/react-day-picker/dist/index.esm.js +483 -483
  345. package/dist/esm/node_modules/react-day-picker/dist/index.esm.js.map +1 -1
  346. package/dist/index.css +1 -0
  347. package/dist/index.js +298 -0
  348. package/dist/types/components/ui/accordion.d.ts.map +1 -1
  349. package/dist/types/components/ui/alert-dialog.d.ts.map +1 -1
  350. package/dist/types/components/ui/alert.d.ts.map +1 -1
  351. package/dist/types/components/ui/avatar.d.ts.map +1 -1
  352. package/dist/types/components/ui/badge.d.ts.map +1 -1
  353. package/dist/types/components/ui/breadcrumb.d.ts.map +1 -1
  354. package/dist/types/components/ui/button.d.ts.map +1 -1
  355. package/dist/types/components/ui/calendar.d.ts.map +1 -1
  356. package/dist/types/components/ui/card.d.ts +1 -1
  357. package/dist/types/components/ui/card.d.ts.map +1 -1
  358. package/dist/types/components/ui/carousel.d.ts +1 -1
  359. package/dist/types/components/ui/carousel.d.ts.map +1 -1
  360. package/dist/types/components/ui/chart.d.ts.map +1 -1
  361. package/dist/types/components/ui/checkbox.d.ts.map +1 -1
  362. package/dist/types/components/ui/command.d.ts +1 -1
  363. package/dist/types/components/ui/command.d.ts.map +1 -1
  364. package/dist/types/components/ui/context-menu.d.ts.map +1 -1
  365. package/dist/types/components/ui/dialog.d.ts.map +1 -1
  366. package/dist/types/components/ui/drawer.d.ts.map +1 -1
  367. package/dist/types/components/ui/dropdown-menu.d.ts.map +1 -1
  368. package/dist/types/components/ui/form.d.ts.map +1 -1
  369. package/dist/types/components/ui/hover-card.d.ts.map +1 -1
  370. package/dist/types/components/ui/input-otp.d.ts.map +1 -1
  371. package/dist/types/components/ui/input.d.ts.map +1 -1
  372. package/dist/types/components/ui/label.d.ts.map +1 -1
  373. package/dist/types/components/ui/menubar.d.ts.map +1 -1
  374. package/dist/types/components/ui/navigation-menu.d.ts.map +1 -1
  375. package/dist/types/components/ui/pagination.d.ts +1 -1
  376. package/dist/types/components/ui/pagination.d.ts.map +1 -1
  377. package/dist/types/components/ui/popover.d.ts.map +1 -1
  378. package/dist/types/components/ui/progress.d.ts.map +1 -1
  379. package/dist/types/components/ui/radio-group.d.ts.map +1 -1
  380. package/dist/types/components/ui/resizable.d.ts.map +1 -1
  381. package/dist/types/components/ui/scroll-area.d.ts.map +1 -1
  382. package/dist/types/components/ui/select.d.ts.map +1 -1
  383. package/dist/types/components/ui/separator.d.ts.map +1 -1
  384. package/dist/types/components/ui/sheet.d.ts.map +1 -1
  385. package/dist/types/components/ui/sidebar.d.ts +5 -5
  386. package/dist/types/components/ui/sidebar.d.ts.map +1 -1
  387. package/dist/types/components/ui/skeleton.d.ts.map +1 -1
  388. package/dist/types/components/ui/slider.d.ts.map +1 -1
  389. package/dist/types/components/ui/switch.d.ts.map +1 -1
  390. package/dist/types/components/ui/table.d.ts.map +1 -1
  391. package/dist/types/components/ui/tabs.d.ts.map +1 -1
  392. package/dist/types/components/ui/textarea.d.ts.map +1 -1
  393. package/dist/types/components/ui/toggle-group.d.ts +1 -1
  394. package/dist/types/components/ui/toggle-group.d.ts.map +1 -1
  395. package/dist/types/components/ui/toggle.d.ts.map +1 -1
  396. package/dist/types/components/ui/tooltip.d.ts.map +1 -1
  397. package/package.json +237 -442
  398. package/src/components/ui/accordion.tsx +10 -11
  399. package/src/components/ui/alert-dialog.tsx +160 -157
  400. package/src/components/ui/alert.tsx +11 -9
  401. package/src/components/ui/aspect-ratio.tsx +12 -12
  402. package/src/components/ui/avatar.tsx +52 -53
  403. package/src/components/ui/badge.tsx +47 -48
  404. package/src/components/ui/breadcrumb.tsx +116 -111
  405. package/src/components/ui/button.tsx +60 -60
  406. package/src/components/ui/calendar.tsx +75 -75
  407. package/src/components/ui/card.tsx +79 -70
  408. package/src/components/ui/carousel.tsx +240 -241
  409. package/src/components/ui/chart.tsx +352 -353
  410. package/src/components/ui/checkbox.tsx +31 -32
  411. package/src/components/ui/collapsible.tsx +34 -34
  412. package/src/components/ui/command.tsx +176 -177
  413. package/src/components/ui/context-menu.tsx +254 -252
  414. package/src/components/ui/dialog.tsx +20 -18
  415. package/src/components/ui/drawer.tsx +137 -132
  416. package/src/components/ui/dropdown-menu.tsx +259 -257
  417. package/src/components/ui/form.tsx +173 -167
  418. package/src/components/ui/hover-card.tsx +41 -42
  419. package/src/components/ui/input-otp.tsx +77 -78
  420. package/src/components/ui/input.tsx +22 -23
  421. package/src/components/ui/label.tsx +23 -24
  422. package/src/components/ui/menubar.tsx +278 -276
  423. package/src/components/ui/navigation-menu.tsx +170 -170
  424. package/src/components/ui/pagination.tsx +128 -129
  425. package/src/components/ui/popover.tsx +47 -48
  426. package/src/components/ui/progress.tsx +30 -31
  427. package/src/components/ui/radio-group.tsx +44 -45
  428. package/src/components/ui/resizable.tsx +55 -56
  429. package/src/components/ui/scroll-area.tsx +57 -58
  430. package/src/components/ui/select.tsx +183 -181
  431. package/src/components/ui/separator.tsx +27 -28
  432. package/src/components/ui/sheet.tsx +144 -139
  433. package/src/components/ui/sidebar.tsx +725 -723
  434. package/src/components/ui/skeleton.tsx +17 -14
  435. package/src/components/ui/slider.tsx +62 -63
  436. package/src/components/ui/sonner.tsx +30 -30
  437. package/src/components/ui/switch.tsx +30 -31
  438. package/src/components/ui/table.tsx +118 -116
  439. package/src/components/ui/tabs.tsx +65 -66
  440. package/src/components/ui/textarea.tsx +19 -19
  441. package/src/components/ui/toggle-group.tsx +72 -73
  442. package/src/components/ui/toggle.tsx +46 -47
  443. package/src/components/ui/tooltip.tsx +60 -61
  444. package/src/index.css +3 -107
  445. package/src/index.ts +2 -0
  446. package/tailwind.config.mjs +67 -0
  447. package/tsconfig.json +50 -0
  448. package/dist/cjs/_virtual/jsx-runtime.cjs +0 -2
  449. package/dist/cjs/_virtual/jsx-runtime.cjs.map +0 -1
  450. package/dist/cjs/_virtual/jsx-runtime2.cjs +0 -2
  451. package/dist/cjs/_virtual/jsx-runtime2.cjs.map +0 -1
  452. package/dist/cjs/_virtual/react-jsx-runtime.development.cjs +0 -2
  453. package/dist/cjs/_virtual/react-jsx-runtime.development.cjs.map +0 -1
  454. package/dist/cjs/_virtual/react-jsx-runtime.production.cjs +0 -2
  455. package/dist/cjs/_virtual/react-jsx-runtime.production.cjs.map +0 -1
  456. package/dist/cjs/node_modules/react/cjs/react-jsx-runtime.development.cjs +0 -24
  457. package/dist/cjs/node_modules/react/cjs/react-jsx-runtime.development.cjs.map +0 -1
  458. package/dist/cjs/node_modules/react/cjs/react-jsx-runtime.production.cjs +0 -10
  459. package/dist/cjs/node_modules/react/cjs/react-jsx-runtime.production.cjs.map +0 -1
  460. package/dist/cjs/node_modules/react/jsx-runtime.cjs +0 -2
  461. package/dist/cjs/node_modules/react/jsx-runtime.cjs.map +0 -1
  462. package/dist/esm/_virtual/jsx-runtime.js +0 -7
  463. package/dist/esm/_virtual/jsx-runtime.js.map +0 -1
  464. package/dist/esm/_virtual/jsx-runtime2.js +0 -6
  465. package/dist/esm/_virtual/jsx-runtime2.js.map +0 -1
  466. package/dist/esm/_virtual/react-jsx-runtime.development.js +0 -6
  467. package/dist/esm/_virtual/react-jsx-runtime.development.js.map +0 -1
  468. package/dist/esm/_virtual/react-jsx-runtime.production.js +0 -6
  469. package/dist/esm/_virtual/react-jsx-runtime.production.js.map +0 -1
  470. package/dist/esm/node_modules/react/cjs/react-jsx-runtime.development.js +0 -410
  471. package/dist/esm/node_modules/react/cjs/react-jsx-runtime.development.js.map +0 -1
  472. package/dist/esm/node_modules/react/cjs/react-jsx-runtime.production.js +0 -37
  473. package/dist/esm/node_modules/react/cjs/react-jsx-runtime.production.js.map +0 -1
  474. package/dist/esm/node_modules/react/jsx-runtime.js +0 -12
  475. package/dist/esm/node_modules/react/jsx-runtime.js.map +0 -1
  476. package/src/global.d.ts +0 -3
@@ -1,6 +1,6 @@
1
1
  "use client";
2
2
  import * as l from "react";
3
- import { clamp as Y } from "../../number/dist/index.js";
3
+ import { clamp as $ } from "../../number/dist/index.js";
4
4
  import { composeEventHandlers as C } from "../../primitive/dist/index.js";
5
5
  import { useComposedRefs as I } from "../../react-compose-refs/dist/index.js";
6
6
  import { createContextScope as ae } from "../../react-context/dist/index.js";
@@ -10,15 +10,15 @@ import { usePrevious as de } from "../../react-use-previous/dist/index.js";
10
10
  import { useSize as ue } from "../../react-use-size/dist/index.js";
11
11
  import { Primitive as V } from "../../react-primitive/dist/index.js";
12
12
  import { createCollection as fe } from "../../react-collection/dist/index.js";
13
- import { j as S } from "../../../../_virtual/jsx-runtime.js";
14
- var $ = ["PageUp", "PageDown"], X = ["ArrowUp", "ArrowDown", "ArrowLeft", "ArrowRight"], G = {
13
+ import { jsx as h, jsxs as me } from "react/jsx-runtime";
14
+ var j = ["PageUp", "PageDown"], X = ["ArrowUp", "ArrowDown", "ArrowLeft", "ArrowRight"], G = {
15
15
  "from-left": ["Home", "PageDown", "ArrowDown", "ArrowLeft"],
16
16
  "from-right": ["Home", "PageDown", "ArrowDown", "ArrowRight"],
17
17
  "from-bottom": ["Home", "PageDown", "ArrowDown", "ArrowLeft"],
18
18
  "from-top": ["Home", "PageDown", "ArrowUp", "ArrowLeft"]
19
- }, M = "Slider", [H, me, pe] = fe(M), [W, He] = ae(M, [
19
+ }, M = "Slider", [N, Se, pe] = fe(M), [W, Oe] = ae(M, [
20
20
  pe
21
- ]), [Se, j] = W(M), q = l.forwardRef(
21
+ ]), [he, T] = W(M), q = l.forwardRef(
22
22
  (e, t) => {
23
23
  const {
24
24
  name: o,
@@ -29,46 +29,46 @@ var $ = ["PageUp", "PageDown"], X = ["ArrowUp", "ArrowDown", "ArrowLeft", "Arrow
29
29
  disabled: c = !1,
30
30
  minStepsBetweenThumbs: d = 0,
31
31
  defaultValue: g = [n],
32
- value: b,
32
+ value: y,
33
33
  onValueChange: s = () => {
34
34
  },
35
35
  onValueCommit: u = () => {
36
36
  },
37
37
  inverted: v = !1,
38
- form: y,
39
- ...h
40
- } = e, m = l.useRef(/* @__PURE__ */ new Set()), f = l.useRef(0), w = r === "horizontal" ? he : ge, [p = [], _] = ce({
41
- prop: b,
38
+ form: P,
39
+ ...p
40
+ } = e, m = l.useRef(/* @__PURE__ */ new Set()), f = l.useRef(0), w = r === "horizontal" ? ge : ve, [S = [], _] = ce({
41
+ prop: y,
42
42
  defaultProp: g,
43
- onChange: (x) => {
44
- [...m.current][f.current]?.focus(), s(x);
43
+ onChange: (b) => {
44
+ [...m.current][f.current]?.focus(), s(b);
45
45
  }
46
- }), T = l.useRef(p);
47
- function B(x) {
48
- const P = ye(p, x);
49
- K(x, P);
46
+ }), B = l.useRef(S);
47
+ function k(b) {
48
+ const R = Re(S, b);
49
+ K(b, R);
50
50
  }
51
- function ie(x) {
52
- K(x, f.current);
51
+ function ie(b) {
52
+ K(b, f.current);
53
53
  }
54
54
  function se() {
55
- const x = T.current[f.current];
56
- p[f.current] !== x && u(p);
55
+ const b = B.current[f.current];
56
+ S[f.current] !== b && u(S);
57
57
  }
58
- function K(x, P, { commit: k } = { commit: !1 }) {
59
- const F = Ee(a), z = Ce(Math.round((x - n) / a) * a + n, F), A = Y(z, [n, i]);
58
+ function K(b, R, { commit: z } = { commit: !1 }) {
59
+ const U = Ce(a), H = Me(Math.round((b - n) / a) * a + n, U), A = $(H, [n, i]);
60
60
  _((E = []) => {
61
- const R = xe(E, A, P);
62
- if (De(R, d * a)) {
63
- f.current = R.indexOf(A);
64
- const U = String(R) !== String(E);
65
- return U && k && u(R), U ? R : E;
61
+ const x = ye(E, A, R);
62
+ if (Ee(x, d * a)) {
63
+ f.current = x.indexOf(A);
64
+ const Y = String(x) !== String(E);
65
+ return Y && z && u(x), Y ? x : E;
66
66
  } else
67
67
  return E;
68
68
  });
69
69
  }
70
- return /* @__PURE__ */ S.jsx(
71
- Se,
70
+ return /* @__PURE__ */ h(
71
+ he,
72
72
  {
73
73
  scope: e.__scopeSlider,
74
74
  name: o,
@@ -77,31 +77,31 @@ var $ = ["PageUp", "PageDown"], X = ["ArrowUp", "ArrowDown", "ArrowLeft", "Arrow
77
77
  max: i,
78
78
  valueIndexToChangeRef: f,
79
79
  thumbs: m.current,
80
- values: p,
80
+ values: S,
81
81
  orientation: r,
82
- form: y,
83
- children: /* @__PURE__ */ S.jsx(H.Provider, { scope: e.__scopeSlider, children: /* @__PURE__ */ S.jsx(H.Slot, { scope: e.__scopeSlider, children: /* @__PURE__ */ S.jsx(
82
+ form: P,
83
+ children: /* @__PURE__ */ h(N.Provider, { scope: e.__scopeSlider, children: /* @__PURE__ */ h(N.Slot, { scope: e.__scopeSlider, children: /* @__PURE__ */ h(
84
84
  w,
85
85
  {
86
86
  "aria-disabled": c,
87
87
  "data-disabled": c ? "" : void 0,
88
- ...h,
88
+ ...p,
89
89
  ref: t,
90
- onPointerDown: C(h.onPointerDown, () => {
91
- c || (T.current = p);
90
+ onPointerDown: C(p.onPointerDown, () => {
91
+ c || (B.current = S);
92
92
  }),
93
93
  min: n,
94
94
  max: i,
95
95
  inverted: v,
96
- onSlideStart: c ? void 0 : B,
96
+ onSlideStart: c ? void 0 : k,
97
97
  onSlideMove: c ? void 0 : ie,
98
98
  onSlideEnd: c ? void 0 : se,
99
99
  onHomeKeyDown: () => !c && K(n, 0, { commit: !0 }),
100
- onEndKeyDown: () => !c && K(i, p.length - 1, { commit: !0 }),
101
- onStepKeyDown: ({ event: x, direction: P }) => {
100
+ onEndKeyDown: () => !c && K(i, S.length - 1, { commit: !0 }),
101
+ onStepKeyDown: ({ event: b, direction: R }) => {
102
102
  if (!c) {
103
- const z = $.includes(x.key) || x.shiftKey && X.includes(x.key) ? 10 : 1, A = f.current, E = p[A], R = a * z * P;
104
- K(E + R, A, { commit: !0 });
103
+ const H = j.includes(b.key) || b.shiftKey && X.includes(b.key) ? 10 : 1, A = f.current, E = S[A], x = a * H * R;
104
+ K(E + x, A, { commit: !0 });
105
105
  }
106
106
  }
107
107
  }
@@ -116,7 +116,7 @@ var [J, Q] = W(M, {
116
116
  endEdge: "right",
117
117
  size: "width",
118
118
  direction: 1
119
- }), he = l.forwardRef(
119
+ }), ge = l.forwardRef(
120
120
  (e, t) => {
121
121
  const {
122
122
  min: o,
@@ -127,13 +127,13 @@ var [J, Q] = W(M, {
127
127
  onSlideMove: c,
128
128
  onSlideEnd: d,
129
129
  onStepKeyDown: g,
130
- ...b
131
- } = e, [s, u] = l.useState(null), v = I(t, (w) => u(w)), y = l.useRef(void 0), h = le(i), m = h === "ltr", f = m && !a || !m && a;
130
+ ...y
131
+ } = e, [s, u] = l.useState(null), v = I(t, (w) => u(w)), P = l.useRef(void 0), p = le(i), m = p === "ltr", f = m && !a || !m && a;
132
132
  function D(w) {
133
- const p = y.current || s.getBoundingClientRect(), _ = [0, p.width], B = L(_, f ? [o, n] : [n, o]);
134
- return y.current = p, B(w - p.left);
133
+ const S = P.current || s.getBoundingClientRect(), _ = [0, S.width], k = F(_, f ? [o, n] : [n, o]);
134
+ return P.current = S, k(w - S.left);
135
135
  }
136
- return /* @__PURE__ */ S.jsx(
136
+ return /* @__PURE__ */ h(
137
137
  J,
138
138
  {
139
139
  scope: e.__scopeSlider,
@@ -141,27 +141,27 @@ var [J, Q] = W(M, {
141
141
  endEdge: f ? "right" : "left",
142
142
  direction: f ? 1 : -1,
143
143
  size: "width",
144
- children: /* @__PURE__ */ S.jsx(
144
+ children: /* @__PURE__ */ h(
145
145
  Z,
146
146
  {
147
- dir: h,
147
+ dir: p,
148
148
  "data-orientation": "horizontal",
149
- ...b,
149
+ ...y,
150
150
  ref: v,
151
151
  style: {
152
- ...b.style,
152
+ ...y.style,
153
153
  "--radix-slider-thumb-transform": "translateX(-50%)"
154
154
  },
155
155
  onSlideStart: (w) => {
156
- const p = D(w.clientX);
157
- r?.(p);
156
+ const S = D(w.clientX);
157
+ r?.(S);
158
158
  },
159
159
  onSlideMove: (w) => {
160
- const p = D(w.clientX);
161
- c?.(p);
160
+ const S = D(w.clientX);
161
+ c?.(S);
162
162
  },
163
163
  onSlideEnd: () => {
164
- y.current = void 0, d?.();
164
+ P.current = void 0, d?.();
165
165
  },
166
166
  onStepKeyDown: (w) => {
167
167
  const _ = G[f ? "from-left" : "from-right"].includes(w.key);
@@ -172,7 +172,7 @@ var [J, Q] = W(M, {
172
172
  }
173
173
  );
174
174
  }
175
- ), ge = l.forwardRef(
175
+ ), ve = l.forwardRef(
176
176
  (e, t) => {
177
177
  const {
178
178
  min: o,
@@ -183,12 +183,12 @@ var [J, Q] = W(M, {
183
183
  onSlideEnd: c,
184
184
  onStepKeyDown: d,
185
185
  ...g
186
- } = e, b = l.useRef(null), s = I(t, b), u = l.useRef(void 0), v = !i;
187
- function y(h) {
188
- const m = u.current || b.current.getBoundingClientRect(), f = [0, m.height], w = L(f, v ? [n, o] : [o, n]);
189
- return u.current = m, w(h - m.top);
186
+ } = e, y = l.useRef(null), s = I(t, y), u = l.useRef(void 0), v = !i;
187
+ function P(p) {
188
+ const m = u.current || y.current.getBoundingClientRect(), f = [0, m.height], w = F(f, v ? [n, o] : [o, n]);
189
+ return u.current = m, w(p - m.top);
190
190
  }
191
- return /* @__PURE__ */ S.jsx(
191
+ return /* @__PURE__ */ h(
192
192
  J,
193
193
  {
194
194
  scope: e.__scopeSlider,
@@ -196,7 +196,7 @@ var [J, Q] = W(M, {
196
196
  endEdge: v ? "top" : "bottom",
197
197
  size: "height",
198
198
  direction: v ? 1 : -1,
199
- children: /* @__PURE__ */ S.jsx(
199
+ children: /* @__PURE__ */ h(
200
200
  Z,
201
201
  {
202
202
  "data-orientation": "vertical",
@@ -206,20 +206,20 @@ var [J, Q] = W(M, {
206
206
  ...g.style,
207
207
  "--radix-slider-thumb-transform": "translateY(50%)"
208
208
  },
209
- onSlideStart: (h) => {
210
- const m = y(h.clientY);
209
+ onSlideStart: (p) => {
210
+ const m = P(p.clientY);
211
211
  a?.(m);
212
212
  },
213
- onSlideMove: (h) => {
214
- const m = y(h.clientY);
213
+ onSlideMove: (p) => {
214
+ const m = P(p.clientY);
215
215
  r?.(m);
216
216
  },
217
217
  onSlideEnd: () => {
218
218
  u.current = void 0, c?.();
219
219
  },
220
- onStepKeyDown: (h) => {
221
- const f = G[v ? "from-bottom" : "from-top"].includes(h.key);
222
- d?.({ event: h, direction: f ? -1 : 1 });
220
+ onStepKeyDown: (p) => {
221
+ const f = G[v ? "from-bottom" : "from-top"].includes(p.key);
222
+ d?.({ event: p, direction: f ? -1 : 1 });
223
223
  }
224
224
  }
225
225
  )
@@ -237,18 +237,18 @@ var [J, Q] = W(M, {
237
237
  onEndKeyDown: c,
238
238
  onStepKeyDown: d,
239
239
  ...g
240
- } = e, b = j(M, o);
241
- return /* @__PURE__ */ S.jsx(
240
+ } = e, y = T(M, o);
241
+ return /* @__PURE__ */ h(
242
242
  V.span,
243
243
  {
244
244
  ...g,
245
245
  ref: t,
246
246
  onKeyDown: C(e.onKeyDown, (s) => {
247
- s.key === "Home" ? (r(s), s.preventDefault()) : s.key === "End" ? (c(s), s.preventDefault()) : $.concat(X).includes(s.key) && (d(s), s.preventDefault());
247
+ s.key === "Home" ? (r(s), s.preventDefault()) : s.key === "End" ? (c(s), s.preventDefault()) : j.concat(X).includes(s.key) && (d(s), s.preventDefault());
248
248
  }),
249
249
  onPointerDown: C(e.onPointerDown, (s) => {
250
250
  const u = s.target;
251
- u.setPointerCapture(s.pointerId), s.preventDefault(), b.thumbs.has(u) ? u.focus() : n(s);
251
+ u.setPointerCapture(s.pointerId), s.preventDefault(), y.thumbs.has(u) ? u.focus() : n(s);
252
252
  }),
253
253
  onPointerMove: C(e.onPointerMove, (s) => {
254
254
  s.target.hasPointerCapture(s.pointerId) && i(s);
@@ -262,8 +262,8 @@ var [J, Q] = W(M, {
262
262
  }
263
263
  ), ee = "SliderTrack", te = l.forwardRef(
264
264
  (e, t) => {
265
- const { __scopeSlider: o, ...n } = e, i = j(ee, o);
266
- return /* @__PURE__ */ S.jsx(
265
+ const { __scopeSlider: o, ...n } = e, i = T(ee, o);
266
+ return /* @__PURE__ */ h(
267
267
  V.span,
268
268
  {
269
269
  "data-disabled": i.disabled ? "" : void 0,
@@ -275,12 +275,12 @@ var [J, Q] = W(M, {
275
275
  }
276
276
  );
277
277
  te.displayName = ee;
278
- var N = "SliderRange", ne = l.forwardRef(
278
+ var O = "SliderRange", ne = l.forwardRef(
279
279
  (e, t) => {
280
- const { __scopeSlider: o, ...n } = e, i = j(N, o), a = Q(N, o), r = l.useRef(null), c = I(t, r), d = i.values.length, g = i.values.map(
280
+ const { __scopeSlider: o, ...n } = e, i = T(O, o), a = Q(O, o), r = l.useRef(null), c = I(t, r), d = i.values.length, g = i.values.map(
281
281
  (u) => re(u, i.min, i.max)
282
- ), b = d > 1 ? Math.min(...g) : 0, s = 100 - Math.max(...g);
283
- return /* @__PURE__ */ S.jsx(
282
+ ), y = d > 1 ? Math.min(...g) : 0, s = 100 - Math.max(...g);
283
+ return /* @__PURE__ */ h(
284
284
  V.span,
285
285
  {
286
286
  "data-orientation": i.orientation,
@@ -289,44 +289,44 @@ var N = "SliderRange", ne = l.forwardRef(
289
289
  ref: c,
290
290
  style: {
291
291
  ...e.style,
292
- [a.startEdge]: b + "%",
292
+ [a.startEdge]: y + "%",
293
293
  [a.endEdge]: s + "%"
294
294
  }
295
295
  }
296
296
  );
297
297
  }
298
298
  );
299
- ne.displayName = N;
300
- var O = "SliderThumb", oe = l.forwardRef(
299
+ ne.displayName = O;
300
+ var L = "SliderThumb", oe = l.forwardRef(
301
301
  (e, t) => {
302
- const o = me(e.__scopeSlider), [n, i] = l.useState(null), a = I(t, (c) => i(c)), r = l.useMemo(
302
+ const o = Se(e.__scopeSlider), [n, i] = l.useState(null), a = I(t, (c) => i(c)), r = l.useMemo(
303
303
  () => n ? o().findIndex((c) => c.ref.current === n) : -1,
304
304
  [o, n]
305
305
  );
306
- return /* @__PURE__ */ S.jsx(ve, { ...e, ref: a, index: r });
306
+ return /* @__PURE__ */ h(we, { ...e, ref: a, index: r });
307
307
  }
308
- ), ve = l.forwardRef(
308
+ ), we = l.forwardRef(
309
309
  (e, t) => {
310
- const { __scopeSlider: o, index: n, name: i, ...a } = e, r = j(O, o), c = Q(O, o), [d, g] = l.useState(null), b = I(t, (D) => g(D)), s = d ? r.form || !!d.closest("form") : !0, u = ue(d), v = r.values[n], y = v === void 0 ? 0 : re(v, r.min, r.max), h = be(n, r.values.length), m = u?.[c.size], f = m ? Pe(m, y, c.direction) : 0;
310
+ const { __scopeSlider: o, index: n, name: i, ...a } = e, r = T(L, o), c = Q(L, o), [d, g] = l.useState(null), y = I(t, (D) => g(D)), s = d ? r.form || !!d.closest("form") : !0, u = ue(d), v = r.values[n], P = v === void 0 ? 0 : re(v, r.min, r.max), p = Pe(n, r.values.length), m = u?.[c.size], f = m ? xe(m, P, c.direction) : 0;
311
311
  return l.useEffect(() => {
312
312
  if (d)
313
313
  return r.thumbs.add(d), () => {
314
314
  r.thumbs.delete(d);
315
315
  };
316
- }, [d, r.thumbs]), /* @__PURE__ */ S.jsxs(
316
+ }, [d, r.thumbs]), /* @__PURE__ */ me(
317
317
  "span",
318
318
  {
319
319
  style: {
320
320
  transform: "var(--radix-slider-thumb-transform)",
321
321
  position: "absolute",
322
- [c.startEdge]: `calc(${y}% + ${f}px)`
322
+ [c.startEdge]: `calc(${P}% + ${f}px)`
323
323
  },
324
324
  children: [
325
- /* @__PURE__ */ S.jsx(H.ItemSlot, { scope: e.__scopeSlider, children: /* @__PURE__ */ S.jsx(
325
+ /* @__PURE__ */ h(N.ItemSlot, { scope: e.__scopeSlider, children: /* @__PURE__ */ h(
326
326
  V.span,
327
327
  {
328
328
  role: "slider",
329
- "aria-label": e["aria-label"] || h,
329
+ "aria-label": e["aria-label"] || p,
330
330
  "aria-valuemin": r.min,
331
331
  "aria-valuenow": v,
332
332
  "aria-valuemax": r.max,
@@ -335,15 +335,15 @@ var O = "SliderThumb", oe = l.forwardRef(
335
335
  "data-disabled": r.disabled ? "" : void 0,
336
336
  tabIndex: r.disabled ? void 0 : 0,
337
337
  ...a,
338
- ref: b,
338
+ ref: y,
339
339
  style: v === void 0 ? { display: "none" } : e.style,
340
340
  onFocus: C(e.onFocus, () => {
341
341
  r.valueIndexToChangeRef.current = n;
342
342
  })
343
343
  }
344
344
  ) }),
345
- s && /* @__PURE__ */ S.jsx(
346
- we,
345
+ s && /* @__PURE__ */ h(
346
+ be,
347
347
  {
348
348
  name: i ?? (r.name ? r.name + (r.values.length > 1 ? "[]" : "") : void 0),
349
349
  form: r.form,
@@ -356,8 +356,8 @@ var O = "SliderThumb", oe = l.forwardRef(
356
356
  );
357
357
  }
358
358
  );
359
- oe.displayName = O;
360
- var we = (e) => {
359
+ oe.displayName = L;
360
+ var be = (e) => {
361
361
  const { value: t, ...o } = e, n = l.useRef(null), i = de(t);
362
362
  return l.useEffect(() => {
363
363
  const a = n.current, r = window.HTMLInputElement.prototype, d = Object.getOwnPropertyDescriptor(r, "value").set;
@@ -365,62 +365,62 @@ var we = (e) => {
365
365
  const g = new Event("input", { bubbles: !0 });
366
366
  d.call(a, t), a.dispatchEvent(g);
367
367
  }
368
- }, [i, t]), /* @__PURE__ */ S.jsx("input", { style: { display: "none" }, ...o, ref: n, defaultValue: t });
368
+ }, [i, t]), /* @__PURE__ */ h("input", { style: { display: "none" }, ...o, ref: n, defaultValue: t });
369
369
  };
370
- function xe(e = [], t, o) {
370
+ function ye(e = [], t, o) {
371
371
  const n = [...e];
372
372
  return n[o] = t, n.sort((i, a) => i - a);
373
373
  }
374
374
  function re(e, t, o) {
375
375
  const a = 100 / (o - t) * (e - t);
376
- return Y(a, [0, 100]);
376
+ return $(a, [0, 100]);
377
377
  }
378
- function be(e, t) {
378
+ function Pe(e, t) {
379
379
  return t > 2 ? `Value ${e + 1} of ${t}` : t === 2 ? ["Minimum", "Maximum"][e] : void 0;
380
380
  }
381
- function ye(e, t) {
381
+ function Re(e, t) {
382
382
  if (e.length === 1) return 0;
383
383
  const o = e.map((i) => Math.abs(i - t)), n = Math.min(...o);
384
384
  return o.indexOf(n);
385
385
  }
386
- function Pe(e, t, o) {
387
- const n = e / 2, a = L([0, 50], [0, n]);
386
+ function xe(e, t, o) {
387
+ const n = e / 2, a = F([0, 50], [0, n]);
388
388
  return (n - a(t) * o) * o;
389
389
  }
390
- function Re(e) {
390
+ function De(e) {
391
391
  return e.slice(0, -1).map((t, o) => e[o + 1] - t);
392
392
  }
393
- function De(e, t) {
393
+ function Ee(e, t) {
394
394
  if (t > 0) {
395
- const o = Re(e);
395
+ const o = De(e);
396
396
  return Math.min(...o) >= t;
397
397
  }
398
398
  return !0;
399
399
  }
400
- function L(e, t) {
400
+ function F(e, t) {
401
401
  return (o) => {
402
402
  if (e[0] === e[1] || t[0] === t[1]) return t[0];
403
403
  const n = (t[1] - t[0]) / (e[1] - e[0]);
404
404
  return t[0] + n * (o - e[0]);
405
405
  };
406
406
  }
407
- function Ee(e) {
407
+ function Ce(e) {
408
408
  return (String(e).split(".")[1] || "").length;
409
409
  }
410
- function Ce(e, t) {
410
+ function Me(e, t) {
411
411
  const o = Math.pow(10, t);
412
412
  return Math.round(e * o) / o;
413
413
  }
414
- var Ne = q, Oe = te, Le = ne, Fe = oe;
414
+ var Le = q, Fe = te, Ue = ne, Ye = oe;
415
415
  export {
416
- Le as Range,
417
- Ne as Root,
416
+ Ue as Range,
417
+ Le as Root,
418
418
  q as Slider,
419
419
  ne as SliderRange,
420
420
  oe as SliderThumb,
421
421
  te as SliderTrack,
422
- Fe as Thumb,
423
- Oe as Track,
424
- He as createSliderScope
422
+ Ye as Thumb,
423
+ Fe as Track,
424
+ Oe as createSliderScope
425
425
  };
426
426
  //# sourceMappingURL=index.js.map