@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,126 +1,126 @@
1
1
  "use client";
2
- import { j as t } from "../../_virtual/jsx-runtime.js";
3
- import * as u from "react";
4
- import { Slot as g } from "../../node_modules/@radix-ui/react-slot/dist/index.js";
5
- import { cva as k } from "../../node_modules/class-variance-authority/dist/index.js";
2
+ import { jsx as t, jsxs as p } from "react/jsx-runtime";
3
+ import * as l from "react";
6
4
  import { useIsMobile as M } from "../../hooks/use-mobile.js";
5
+ import { Tooltip as z, TooltipTrigger as I, TooltipContent as E, TooltipProvider as D } from "./tooltip.js";
7
6
  import { cn as r } from "../../lib/utils.js";
8
- import { Button as C } from "./button.js";
9
- import { Input as z } from "./input.js";
10
- import { Separator as I } from "./separator.js";
11
- import { Sheet as E, SheetContent as D, SheetHeader as T, SheetTitle as B, SheetDescription as A } from "./sheet.js";
12
- import { Skeleton as j } from "./skeleton.js";
13
- import { Tooltip as O, TooltipTrigger as R, TooltipContent as H, TooltipProvider as K } from "./tooltip.js";
14
- import G from "../../node_modules/lucide-react/dist/esm/icons/panel-left.js";
15
- const L = "sidebar_state", $ = 60 * 60 * 24 * 7, P = "16rem", V = "18rem", W = "3rem", q = "b", N = u.createContext(null);
16
- function w() {
17
- const a = u.useContext(N);
7
+ import { Sheet as T, SheetContent as B, SheetHeader as A, SheetTitle as O, SheetDescription as R } from "./sheet.js";
8
+ import { Input as H } from "./input.js";
9
+ import { Skeleton as y } from "./skeleton.js";
10
+ import { Button as K } from "./button.js";
11
+ import { Separator as j } from "./separator.js";
12
+ import { Slot as h } from "../../node_modules/@radix-ui/react-slot/dist/index.js";
13
+ import { cva as G } from "../../node_modules/class-variance-authority/dist/index.js";
14
+ import L from "../../node_modules/lucide-react/dist/esm/icons/panel-left.js";
15
+ const $ = "sidebar_state", P = 60 * 60 * 24 * 7, V = "16rem", W = "18rem", q = "3rem", F = "b", C = l.createContext(null);
16
+ function S() {
17
+ const a = l.useContext(C);
18
18
  if (!a)
19
19
  throw new Error("useSidebar must be used within a SidebarProvider.");
20
20
  return a;
21
21
  }
22
- function ne({
22
+ function de({
23
23
  defaultOpen: a = !0,
24
24
  open: e,
25
25
  onOpenChange: i,
26
- className: s,
27
- style: n,
28
- children: d,
29
- ...p
26
+ className: n,
27
+ style: o,
28
+ children: u,
29
+ ...m
30
30
  }) {
31
- const l = M(), [f, c] = u.useState(!1), [h, y] = u.useState(a), m = e ?? h, x = u.useCallback(
32
- (o) => {
33
- const b = typeof o == "function" ? o(m) : o;
34
- i ? i(b) : y(b), document.cookie = `${L}=${b}; path=/; max-age=${$}`;
31
+ const s = M(), [f, c] = l.useState(!1), [v, _] = l.useState(a), g = e ?? v, x = l.useCallback(
32
+ (d) => {
33
+ const b = typeof d == "function" ? d(g) : d;
34
+ i ? i(b) : _(b), document.cookie = `${$}=${b}; path=/; max-age=${P}`;
35
35
  },
36
- [i, m]
37
- ), v = u.useCallback(() => l ? c((o) => !o) : x((o) => !o), [l, x, c]);
38
- u.useEffect(() => {
39
- const o = (b) => {
40
- b.key === q && (b.metaKey || b.ctrlKey) && (b.preventDefault(), v());
36
+ [i, g]
37
+ ), w = l.useCallback(() => s ? c((d) => !d) : x((d) => !d), [s, x, c]);
38
+ l.useEffect(() => {
39
+ const d = (b) => {
40
+ b.key === F && (b.metaKey || b.ctrlKey) && (b.preventDefault(), w());
41
41
  };
42
- return window.addEventListener("keydown", o), () => window.removeEventListener("keydown", o);
43
- }, [v]);
44
- const S = m ? "expanded" : "collapsed", _ = u.useMemo(
42
+ return window.addEventListener("keydown", d), () => window.removeEventListener("keydown", d);
43
+ }, [w]);
44
+ const N = g ? "expanded" : "collapsed", k = l.useMemo(
45
45
  () => ({
46
- state: S,
47
- open: m,
46
+ state: N,
47
+ open: g,
48
48
  setOpen: x,
49
- isMobile: l,
49
+ isMobile: s,
50
50
  openMobile: f,
51
51
  setOpenMobile: c,
52
- toggleSidebar: v
52
+ toggleSidebar: w
53
53
  }),
54
- [S, m, x, l, f, c, v]
54
+ [N, g, x, s, f, c, w]
55
55
  );
56
- return /* @__PURE__ */ t.jsx(N.Provider, { value: _, children: /* @__PURE__ */ t.jsx(K, { delayDuration: 0, children: /* @__PURE__ */ t.jsx(
56
+ return /* @__PURE__ */ t(C.Provider, { value: k, children: /* @__PURE__ */ t(D, { delayDuration: 0, children: /* @__PURE__ */ t(
57
57
  "div",
58
58
  {
59
59
  "data-slot": "sidebar-wrapper",
60
60
  style: {
61
- "--sidebar-width": P,
62
- "--sidebar-width-icon": W,
63
- ...n
61
+ "--sidebar-width": V,
62
+ "--sidebar-width-icon": q,
63
+ ...o
64
64
  },
65
65
  className: r(
66
66
  "group/sidebar-wrapper has-data-[variant=inset]:bg-sidebar flex min-h-svh w-full",
67
- s
67
+ n
68
68
  ),
69
- ...p,
70
- children: d
69
+ ...m,
70
+ children: u
71
71
  }
72
72
  ) }) });
73
73
  }
74
- function oe({
74
+ function se({
75
75
  side: a = "left",
76
76
  variant: e = "sidebar",
77
77
  collapsible: i = "offcanvas",
78
- className: s,
79
- children: n,
80
- ...d
78
+ className: n,
79
+ children: o,
80
+ ...u
81
81
  }) {
82
- const { isMobile: p, state: l, openMobile: f, setOpenMobile: c } = w();
83
- return i === "none" ? /* @__PURE__ */ t.jsx(
82
+ const { isMobile: m, state: s, openMobile: f, setOpenMobile: c } = S();
83
+ return i === "none" ? /* @__PURE__ */ t(
84
84
  "div",
85
85
  {
86
86
  "data-slot": "sidebar",
87
87
  className: r(
88
88
  "bg-sidebar text-sidebar-foreground flex h-full w-(--sidebar-width) flex-col",
89
- s
89
+ n
90
90
  ),
91
- ...d,
92
- children: n
91
+ ...u,
92
+ children: o
93
93
  }
94
- ) : p ? /* @__PURE__ */ t.jsx(E, { open: f, onOpenChange: c, ...d, children: /* @__PURE__ */ t.jsxs(
95
- D,
94
+ ) : m ? /* @__PURE__ */ t(T, { open: f, onOpenChange: c, ...u, children: /* @__PURE__ */ p(
95
+ B,
96
96
  {
97
97
  "data-sidebar": "sidebar",
98
98
  "data-slot": "sidebar",
99
99
  "data-mobile": "true",
100
100
  className: "bg-sidebar text-sidebar-foreground w-(--sidebar-width) p-0 [&>button]:hidden",
101
101
  style: {
102
- "--sidebar-width": V
102
+ "--sidebar-width": W
103
103
  },
104
104
  side: a,
105
105
  children: [
106
- /* @__PURE__ */ t.jsxs(T, { className: "sr-only", children: [
107
- /* @__PURE__ */ t.jsx(B, { children: "Sidebar" }),
108
- /* @__PURE__ */ t.jsx(A, { children: "Displays the mobile sidebar." })
106
+ /* @__PURE__ */ p(A, { className: "sr-only", children: [
107
+ /* @__PURE__ */ t(O, { children: "Sidebar" }),
108
+ /* @__PURE__ */ t(R, { children: "Displays the mobile sidebar." })
109
109
  ] }),
110
- /* @__PURE__ */ t.jsx("div", { className: "flex h-full w-full flex-col", children: n })
110
+ /* @__PURE__ */ t("div", { className: "flex h-full w-full flex-col", children: o })
111
111
  ]
112
112
  }
113
- ) }) : /* @__PURE__ */ t.jsxs(
113
+ ) }) : /* @__PURE__ */ p(
114
114
  "div",
115
115
  {
116
116
  className: "group peer text-sidebar-foreground hidden md:block",
117
- "data-state": l,
118
- "data-collapsible": l === "collapsed" ? i : "",
117
+ "data-state": s,
118
+ "data-collapsible": s === "collapsed" ? i : "",
119
119
  "data-variant": e,
120
120
  "data-side": a,
121
121
  "data-slot": "sidebar",
122
122
  children: [
123
- /* @__PURE__ */ t.jsx(
123
+ /* @__PURE__ */ t(
124
124
  "div",
125
125
  {
126
126
  className: r(
@@ -131,7 +131,7 @@ function oe({
131
131
  )
132
132
  }
133
133
  ),
134
- /* @__PURE__ */ t.jsx(
134
+ /* @__PURE__ */ t(
135
135
  "div",
136
136
  {
137
137
  className: r(
@@ -139,15 +139,15 @@ function oe({
139
139
  a === "left" ? "left-0 group-data-[collapsible=offcanvas]:left-[calc(var(--sidebar-width)*-1)]" : "right-0 group-data-[collapsible=offcanvas]:right-[calc(var(--sidebar-width)*-1)]",
140
140
  // Adjust the padding for floating and inset variants.
141
141
  e === "floating" || e === "inset" ? "p-2 group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)+(--spacing(4))+2px)]" : "group-data-[collapsible=icon]:w-(--sidebar-width-icon) group-data-[side=left]:border-r group-data-[side=right]:border-l",
142
- s
142
+ n
143
143
  ),
144
- ...d,
145
- children: /* @__PURE__ */ t.jsx(
144
+ ...u,
145
+ children: /* @__PURE__ */ t(
146
146
  "div",
147
147
  {
148
148
  "data-sidebar": "sidebar",
149
149
  className: "bg-sidebar group-data-[variant=floating]:border-sidebar-border flex h-full w-full flex-col group-data-[variant=floating]:rounded-lg group-data-[variant=floating]:border group-data-[variant=floating]:shadow-sm",
150
- children: n
150
+ children: o
151
151
  }
152
152
  )
153
153
  }
@@ -156,34 +156,34 @@ function oe({
156
156
  }
157
157
  );
158
158
  }
159
- function de({
159
+ function le({
160
160
  className: a,
161
161
  onClick: e,
162
162
  ...i
163
163
  }) {
164
- const { toggleSidebar: s } = w();
165
- return /* @__PURE__ */ t.jsxs(
166
- C,
164
+ const { toggleSidebar: n } = S();
165
+ return /* @__PURE__ */ p(
166
+ K,
167
167
  {
168
168
  "data-sidebar": "trigger",
169
169
  "data-slot": "sidebar-trigger",
170
170
  variant: "ghost",
171
171
  size: "icon",
172
172
  className: r("h-7 w-7", a),
173
- onClick: (n) => {
174
- e?.(n), s();
173
+ onClick: (o) => {
174
+ e?.(o), n();
175
175
  },
176
176
  ...i,
177
177
  children: [
178
- /* @__PURE__ */ t.jsx(G, {}),
179
- /* @__PURE__ */ t.jsx("span", { className: "sr-only", children: "Toggle Sidebar" })
178
+ /* @__PURE__ */ t(L, {}),
179
+ /* @__PURE__ */ t("span", { className: "sr-only", children: "Toggle Sidebar" })
180
180
  ]
181
181
  }
182
182
  );
183
183
  }
184
- function le({ className: a, ...e }) {
185
- const { toggleSidebar: i } = w();
186
- return /* @__PURE__ */ t.jsx(
184
+ function ue({ className: a, ...e }) {
185
+ const { toggleSidebar: i } = S();
186
+ return /* @__PURE__ */ t(
187
187
  "button",
188
188
  {
189
189
  "data-sidebar": "rail",
@@ -205,8 +205,8 @@ function le({ className: a, ...e }) {
205
205
  }
206
206
  );
207
207
  }
208
- function ue({ className: a, ...e }) {
209
- return /* @__PURE__ */ t.jsx(
208
+ function ce({ className: a, ...e }) {
209
+ return /* @__PURE__ */ t(
210
210
  "main",
211
211
  {
212
212
  "data-slot": "sidebar-inset",
@@ -219,22 +219,25 @@ function ue({ className: a, ...e }) {
219
219
  }
220
220
  );
221
221
  }
222
- function ce({
222
+ function be({
223
223
  className: a,
224
224
  ...e
225
225
  }) {
226
- return /* @__PURE__ */ t.jsx(
227
- z,
226
+ return /* @__PURE__ */ t(
227
+ H,
228
228
  {
229
229
  "data-slot": "sidebar-input",
230
230
  "data-sidebar": "input",
231
- className: r("bg-white h-8 w-full shadow-none dark:bg-neutral-950", a),
231
+ className: r(
232
+ "bg-white h-8 w-full shadow-none dark:bg-neutral-950",
233
+ a
234
+ ),
232
235
  ...e
233
236
  }
234
237
  );
235
238
  }
236
- function be({ className: a, ...e }) {
237
- return /* @__PURE__ */ t.jsx(
239
+ function fe({ className: a, ...e }) {
240
+ return /* @__PURE__ */ t(
238
241
  "div",
239
242
  {
240
243
  "data-slot": "sidebar-header",
@@ -244,8 +247,8 @@ function be({ className: a, ...e }) {
244
247
  }
245
248
  );
246
249
  }
247
- function fe({ className: a, ...e }) {
248
- return /* @__PURE__ */ t.jsx(
250
+ function pe({ className: a, ...e }) {
251
+ return /* @__PURE__ */ t(
249
252
  "div",
250
253
  {
251
254
  "data-slot": "sidebar-footer",
@@ -255,12 +258,12 @@ function fe({ className: a, ...e }) {
255
258
  }
256
259
  );
257
260
  }
258
- function pe({
261
+ function me({
259
262
  className: a,
260
263
  ...e
261
264
  }) {
262
- return /* @__PURE__ */ t.jsx(
263
- I,
265
+ return /* @__PURE__ */ t(
266
+ j,
264
267
  {
265
268
  "data-slot": "sidebar-separator",
266
269
  "data-sidebar": "separator",
@@ -269,8 +272,8 @@ function pe({
269
272
  }
270
273
  );
271
274
  }
272
- function me({ className: a, ...e }) {
273
- return /* @__PURE__ */ t.jsx(
275
+ function ge({ className: a, ...e }) {
276
+ return /* @__PURE__ */ t(
274
277
  "div",
275
278
  {
276
279
  "data-slot": "sidebar-content",
@@ -283,8 +286,8 @@ function me({ className: a, ...e }) {
283
286
  }
284
287
  );
285
288
  }
286
- function ge({ className: a, ...e }) {
287
- return /* @__PURE__ */ t.jsx(
289
+ function he({ className: a, ...e }) {
290
+ return /* @__PURE__ */ t(
288
291
  "div",
289
292
  {
290
293
  "data-slot": "sidebar-group",
@@ -294,14 +297,13 @@ function ge({ className: a, ...e }) {
294
297
  }
295
298
  );
296
299
  }
297
- function he({
300
+ function ve({
298
301
  className: a,
299
302
  asChild: e = !1,
300
303
  ...i
301
304
  }) {
302
- const s = e ? g : "div";
303
- return /* @__PURE__ */ t.jsx(
304
- s,
305
+ return /* @__PURE__ */ t(
306
+ e ? h : "div",
305
307
  {
306
308
  "data-slot": "sidebar-group-label",
307
309
  "data-sidebar": "group-label",
@@ -319,9 +321,8 @@ function xe({
319
321
  asChild: e = !1,
320
322
  ...i
321
323
  }) {
322
- const s = e ? g : "button";
323
- return /* @__PURE__ */ t.jsx(
324
- s,
324
+ return /* @__PURE__ */ t(
325
+ e ? h : "button",
325
326
  {
326
327
  "data-slot": "sidebar-group-action",
327
328
  "data-sidebar": "group-action",
@@ -336,11 +337,11 @@ function xe({
336
337
  }
337
338
  );
338
339
  }
339
- function ve({
340
+ function we({
340
341
  className: a,
341
342
  ...e
342
343
  }) {
343
- return /* @__PURE__ */ t.jsx(
344
+ return /* @__PURE__ */ t(
344
345
  "div",
345
346
  {
346
347
  "data-slot": "sidebar-group-content",
@@ -350,8 +351,8 @@ function ve({
350
351
  }
351
352
  );
352
353
  }
353
- function we({ className: a, ...e }) {
354
- return /* @__PURE__ */ t.jsx(
354
+ function Se({ className: a, ...e }) {
355
+ return /* @__PURE__ */ t(
355
356
  "ul",
356
357
  {
357
358
  "data-slot": "sidebar-menu",
@@ -361,8 +362,8 @@ function we({ className: a, ...e }) {
361
362
  }
362
363
  );
363
364
  }
364
- function Se({ className: a, ...e }) {
365
- return /* @__PURE__ */ t.jsx(
365
+ function Ne({ className: a, ...e }) {
366
+ return /* @__PURE__ */ t(
366
367
  "li",
367
368
  {
368
369
  "data-slot": "sidebar-menu-item",
@@ -372,7 +373,7 @@ function Se({ className: a, ...e }) {
372
373
  }
373
374
  );
374
375
  }
375
- const F = k(
376
+ const U = G(
376
377
  "peer/menu-button flex w-full items-center gap-2 overflow-hidden rounded-md p-2 text-left text-sm outline-hidden ring-sidebar-ring transition-[width,height,padding] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 group-has-data-[sidebar=menu-action]/menu-item:pr-8 aria-disabled:pointer-events-none aria-disabled:opacity-50 data-[active=true]:bg-sidebar-accent data-[active=true]:font-medium data-[active=true]:text-sidebar-accent-foreground data-[state=open]:hover:bg-sidebar-accent data-[state=open]:hover:text-sidebar-accent-foreground group-data-[collapsible=icon]:size-8! group-data-[collapsible=icon]:p-2! [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0",
377
378
  {
378
379
  variants: {
@@ -392,50 +393,49 @@ const F = k(
392
393
  }
393
394
  }
394
395
  );
395
- function je({
396
+ function ye({
396
397
  asChild: a = !1,
397
398
  isActive: e = !1,
398
399
  variant: i = "default",
399
- size: s = "default",
400
- tooltip: n,
401
- className: d,
402
- ...p
400
+ size: n = "default",
401
+ tooltip: o,
402
+ className: u,
403
+ ...m
403
404
  }) {
404
- const l = a ? g : "button", { isMobile: f, state: c } = w(), h = /* @__PURE__ */ t.jsx(
405
- l,
405
+ const s = a ? h : "button", { isMobile: f, state: c } = S(), v = /* @__PURE__ */ t(
406
+ s,
406
407
  {
407
408
  "data-slot": "sidebar-menu-button",
408
409
  "data-sidebar": "menu-button",
409
- "data-size": s,
410
+ "data-size": n,
410
411
  "data-active": e,
411
- className: r(F({ variant: i, size: s }), d),
412
- ...p
412
+ className: r(U({ variant: i, size: n }), u),
413
+ ...m
413
414
  }
414
415
  );
415
- return n ? (typeof n == "string" && (n = {
416
- children: n
417
- }), /* @__PURE__ */ t.jsxs(O, { children: [
418
- /* @__PURE__ */ t.jsx(R, { asChild: !0, children: h }),
419
- /* @__PURE__ */ t.jsx(
420
- H,
416
+ return o ? (typeof o == "string" && (o = {
417
+ children: o
418
+ }), /* @__PURE__ */ p(z, { children: [
419
+ /* @__PURE__ */ t(I, { asChild: !0, children: v }),
420
+ /* @__PURE__ */ t(
421
+ E,
421
422
  {
422
423
  side: "right",
423
424
  align: "center",
424
425
  hidden: c !== "collapsed" || f,
425
- ...n
426
+ ...o
426
427
  }
427
428
  )
428
- ] })) : h;
429
+ ] })) : v;
429
430
  }
430
- function Ne({
431
+ function Ce({
431
432
  className: a,
432
433
  asChild: e = !1,
433
434
  showOnHover: i = !1,
434
- ...s
435
+ ...n
435
436
  }) {
436
- const n = e ? g : "button";
437
- return /* @__PURE__ */ t.jsx(
438
- n,
437
+ return /* @__PURE__ */ t(
438
+ e ? h : "button",
439
439
  {
440
440
  "data-slot": "sidebar-menu-action",
441
441
  "data-sidebar": "menu-action",
@@ -450,15 +450,15 @@ function Ne({
450
450
  i && "peer-data-[active=true]/menu-button:text-sidebar-accent-foreground group-focus-within/menu-item:opacity-100 group-hover/menu-item:opacity-100 data-[state=open]:opacity-100 md:opacity-0",
451
451
  a
452
452
  ),
453
- ...s
453
+ ...n
454
454
  }
455
455
  );
456
456
  }
457
- function ye({
457
+ function _e({
458
458
  className: a,
459
459
  ...e
460
460
  }) {
461
- return /* @__PURE__ */ t.jsx(
461
+ return /* @__PURE__ */ t(
462
462
  "div",
463
463
  {
464
464
  "data-slot": "sidebar-menu-badge",
@@ -476,13 +476,13 @@ function ye({
476
476
  }
477
477
  );
478
478
  }
479
- function _e({
479
+ function ke({
480
480
  className: a,
481
481
  showIcon: e = !1,
482
482
  ...i
483
483
  }) {
484
- const s = u.useMemo(() => `${Math.floor(Math.random() * 40) + 50}%`, []);
485
- return /* @__PURE__ */ t.jsxs(
484
+ const n = l.useMemo(() => `${Math.floor(Math.random() * 40) + 50}%`, []);
485
+ return /* @__PURE__ */ p(
486
486
  "div",
487
487
  {
488
488
  "data-slot": "sidebar-menu-skeleton",
@@ -490,20 +490,20 @@ function _e({
490
490
  className: r("flex h-8 items-center gap-2 rounded-md px-2", a),
491
491
  ...i,
492
492
  children: [
493
- e && /* @__PURE__ */ t.jsx(
494
- j,
493
+ e && /* @__PURE__ */ t(
494
+ y,
495
495
  {
496
496
  className: "size-4 rounded-md",
497
497
  "data-sidebar": "menu-skeleton-icon"
498
498
  }
499
499
  ),
500
- /* @__PURE__ */ t.jsx(
501
- j,
500
+ /* @__PURE__ */ t(
501
+ y,
502
502
  {
503
503
  className: "h-4 max-w-(--skeleton-width) flex-1",
504
504
  "data-sidebar": "menu-skeleton-text",
505
505
  style: {
506
- "--skeleton-width": s
506
+ "--skeleton-width": n
507
507
  }
508
508
  }
509
509
  )
@@ -511,8 +511,8 @@ function _e({
511
511
  }
512
512
  );
513
513
  }
514
- function ke({ className: a, ...e }) {
515
- return /* @__PURE__ */ t.jsx(
514
+ function Me({ className: a, ...e }) {
515
+ return /* @__PURE__ */ t(
516
516
  "ul",
517
517
  {
518
518
  "data-slot": "sidebar-menu-sub",
@@ -526,11 +526,11 @@ function ke({ className: a, ...e }) {
526
526
  }
527
527
  );
528
528
  }
529
- function Me({
529
+ function ze({
530
530
  className: a,
531
531
  ...e
532
532
  }) {
533
- return /* @__PURE__ */ t.jsx(
533
+ return /* @__PURE__ */ t(
534
534
  "li",
535
535
  {
536
536
  "data-slot": "sidebar-menu-sub-item",
@@ -540,16 +540,15 @@ function Me({
540
540
  }
541
541
  );
542
542
  }
543
- function Ce({
543
+ function Ie({
544
544
  asChild: a = !1,
545
545
  size: e = "md",
546
546
  isActive: i = !1,
547
- className: s,
548
- ...n
547
+ className: n,
548
+ ...o
549
549
  }) {
550
- const d = a ? g : "a";
551
- return /* @__PURE__ */ t.jsx(
552
- d,
550
+ return /* @__PURE__ */ t(
551
+ a ? h : "a",
553
552
  {
554
553
  "data-slot": "sidebar-menu-sub-button",
555
554
  "data-sidebar": "menu-sub-button",
@@ -561,36 +560,36 @@ function Ce({
561
560
  e === "sm" && "text-xs",
562
561
  e === "md" && "text-sm",
563
562
  "group-data-[collapsible=icon]:hidden",
564
- s
563
+ n
565
564
  ),
566
- ...n
565
+ ...o
567
566
  }
568
567
  );
569
568
  }
570
569
  export {
571
- oe as Sidebar,
572
- me as SidebarContent,
573
- fe as SidebarFooter,
574
- ge as SidebarGroup,
570
+ se as Sidebar,
571
+ ge as SidebarContent,
572
+ pe as SidebarFooter,
573
+ he as SidebarGroup,
575
574
  xe as SidebarGroupAction,
576
- ve as SidebarGroupContent,
577
- he as SidebarGroupLabel,
578
- be as SidebarHeader,
579
- ce as SidebarInput,
580
- ue as SidebarInset,
581
- we as SidebarMenu,
582
- Ne as SidebarMenuAction,
583
- ye as SidebarMenuBadge,
584
- je as SidebarMenuButton,
585
- Se as SidebarMenuItem,
586
- _e as SidebarMenuSkeleton,
587
- ke as SidebarMenuSub,
588
- Ce as SidebarMenuSubButton,
589
- Me as SidebarMenuSubItem,
590
- ne as SidebarProvider,
591
- le as SidebarRail,
592
- pe as SidebarSeparator,
593
- de as SidebarTrigger,
594
- w as useSidebar
575
+ we as SidebarGroupContent,
576
+ ve as SidebarGroupLabel,
577
+ fe as SidebarHeader,
578
+ be as SidebarInput,
579
+ ce as SidebarInset,
580
+ Se as SidebarMenu,
581
+ Ce as SidebarMenuAction,
582
+ _e as SidebarMenuBadge,
583
+ ye as SidebarMenuButton,
584
+ Ne as SidebarMenuItem,
585
+ ke as SidebarMenuSkeleton,
586
+ Me as SidebarMenuSub,
587
+ Ie as SidebarMenuSubButton,
588
+ ze as SidebarMenuSubItem,
589
+ de as SidebarProvider,
590
+ ue as SidebarRail,
591
+ me as SidebarSeparator,
592
+ le as SidebarTrigger,
593
+ S as useSidebar
595
594
  };
596
595
  //# sourceMappingURL=sidebar.js.map