@hirely/ui 0.1.6 → 0.1.7

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 (496) hide show
  1. package/README.md +228 -123
  2. package/dist/_virtual/_rolldown/runtime.cjs.js +1 -0
  3. package/dist/components/ui/accordion.cjs.js +2 -0
  4. package/dist/components/ui/accordion.cjs.js.map +1 -0
  5. package/dist/components/ui/accordion.d.ts +1 -1
  6. package/dist/components/ui/accordion.es.js +55 -0
  7. package/dist/components/ui/accordion.es.js.map +1 -0
  8. package/dist/components/ui/alert-dialog.cjs.js +2 -0
  9. package/dist/components/ui/alert-dialog.cjs.js.map +1 -0
  10. package/dist/components/ui/alert-dialog.d.ts +2 -2
  11. package/dist/components/ui/alert-dialog.es.js +97 -0
  12. package/dist/components/ui/alert-dialog.es.js.map +1 -0
  13. package/dist/components/ui/alert-wrapper.cjs.js +2 -0
  14. package/dist/components/ui/alert-wrapper.cjs.js.map +1 -0
  15. package/dist/components/ui/{AlertWrapper.d.ts → alert-wrapper.d.ts} +2 -2
  16. package/dist/components/ui/alert-wrapper.es.js +20 -0
  17. package/dist/components/ui/alert-wrapper.es.js.map +1 -0
  18. package/dist/components/ui/alert.cjs.js +2 -0
  19. package/dist/components/ui/alert.cjs.js.map +1 -0
  20. package/dist/components/ui/alert.d.ts +2 -2
  21. package/dist/components/ui/alert.es.js +45 -0
  22. package/dist/components/ui/alert.es.js.map +1 -0
  23. package/dist/components/ui/aspect-ratio.cjs.js +2 -0
  24. package/dist/components/ui/aspect-ratio.cjs.js.map +1 -0
  25. package/dist/components/ui/aspect-ratio.es.js +15 -0
  26. package/dist/components/ui/aspect-ratio.es.js.map +1 -0
  27. package/dist/components/ui/attachment.cjs.js +2 -0
  28. package/dist/components/ui/attachment.cjs.js.map +1 -0
  29. package/dist/components/ui/attachment.d.ts +6 -6
  30. package/dist/components/ui/attachment.es.js +106 -0
  31. package/dist/components/ui/attachment.es.js.map +1 -0
  32. package/dist/components/ui/avatar.cjs.js +2 -0
  33. package/dist/components/ui/avatar.cjs.js.map +1 -0
  34. package/dist/components/ui/avatar.d.ts +1 -1
  35. package/dist/components/ui/avatar.es.js +52 -0
  36. package/dist/components/ui/avatar.es.js.map +1 -0
  37. package/dist/components/ui/badge.cjs.js +2 -0
  38. package/dist/components/ui/badge.cjs.js.map +1 -0
  39. package/dist/components/ui/badge.d.ts +5 -5
  40. package/dist/components/ui/badge.es.js +31 -0
  41. package/dist/components/ui/badge.es.js.map +1 -0
  42. package/dist/components/ui/breadcrumb.cjs.js +2 -0
  43. package/dist/components/ui/breadcrumb.cjs.js.map +1 -0
  44. package/dist/components/ui/breadcrumb.d.ts +1 -1
  45. package/dist/components/ui/breadcrumb.es.js +74 -0
  46. package/dist/components/ui/breadcrumb.es.js.map +1 -0
  47. package/dist/components/ui/bubble.cjs.js +2 -0
  48. package/dist/components/ui/bubble.cjs.js.map +1 -0
  49. package/dist/components/ui/bubble.d.ts +4 -4
  50. package/dist/components/ui/bubble.es.js +75 -0
  51. package/dist/components/ui/bubble.es.js.map +1 -0
  52. package/dist/components/ui/button-group.cjs.js +2 -0
  53. package/dist/components/ui/button-group.cjs.js.map +1 -0
  54. package/dist/components/ui/button-group.d.ts +5 -5
  55. package/dist/components/ui/button-group.es.js +43 -0
  56. package/dist/components/ui/button-group.es.js.map +1 -0
  57. package/dist/components/ui/button.cjs.js +2 -0
  58. package/dist/components/ui/button.cjs.js.map +1 -0
  59. package/dist/components/ui/button.d.ts +5 -5
  60. package/dist/components/ui/button.es.js +46 -0
  61. package/dist/components/ui/button.es.js.map +1 -0
  62. package/dist/components/ui/calendar.cjs.js +2 -0
  63. package/dist/components/ui/calendar.cjs.js.map +1 -0
  64. package/dist/components/ui/calendar.d.ts +2 -2
  65. package/dist/components/ui/calendar.es.js +93 -0
  66. package/dist/components/ui/calendar.es.js.map +1 -0
  67. package/dist/components/ui/card.cjs.js +2 -0
  68. package/dist/components/ui/card.cjs.js.map +1 -0
  69. package/dist/components/ui/card.es.js +58 -0
  70. package/dist/components/ui/card.es.js.map +1 -0
  71. package/dist/components/ui/carousel.cjs.js +2 -0
  72. package/dist/components/ui/carousel.cjs.js.map +1 -0
  73. package/dist/components/ui/carousel.d.ts +2 -2
  74. package/dist/components/ui/carousel.es.js +113 -0
  75. package/dist/components/ui/carousel.es.js.map +1 -0
  76. package/dist/components/ui/chart.cjs.js +8 -0
  77. package/dist/components/ui/chart.cjs.js.map +1 -0
  78. package/dist/components/ui/chart.d.ts +1 -1
  79. package/dist/components/ui/chart.es.js +133 -0
  80. package/dist/components/ui/chart.es.js.map +1 -0
  81. package/dist/components/ui/checkbox.cjs.js +2 -0
  82. package/dist/components/ui/checkbox.cjs.js.map +1 -0
  83. package/dist/components/ui/checkbox.d.ts +1 -1
  84. package/dist/components/ui/checkbox.es.js +22 -0
  85. package/dist/components/ui/checkbox.es.js.map +1 -0
  86. package/dist/components/ui/collapsible.cjs.js +2 -0
  87. package/dist/components/ui/collapsible.cjs.js.map +1 -0
  88. package/dist/components/ui/collapsible.d.ts +1 -1
  89. package/dist/components/ui/collapsible.es.js +25 -0
  90. package/dist/components/ui/collapsible.es.js.map +1 -0
  91. package/dist/components/ui/combobox.cjs.js +2 -0
  92. package/dist/components/ui/combobox.cjs.js.map +1 -0
  93. package/dist/components/ui/combobox.d.ts +2 -2
  94. package/dist/components/ui/combobox.es.js +164 -0
  95. package/dist/components/ui/combobox.es.js.map +1 -0
  96. package/dist/components/ui/command.cjs.js +2 -0
  97. package/dist/components/ui/command.cjs.js.map +1 -0
  98. package/dist/components/ui/command.d.ts +2 -2
  99. package/dist/components/ui/command.es.js +89 -0
  100. package/dist/components/ui/command.es.js.map +1 -0
  101. package/dist/components/ui/context-menu.cjs.js +2 -0
  102. package/dist/components/ui/context-menu.cjs.js.map +1 -0
  103. package/dist/components/ui/context-menu.d.ts +1 -1
  104. package/dist/components/ui/context-menu.es.js +135 -0
  105. package/dist/components/ui/context-menu.es.js.map +1 -0
  106. package/dist/components/ui/dialog.cjs.js +2 -0
  107. package/dist/components/ui/dialog.cjs.js.map +1 -0
  108. package/dist/components/ui/dialog.d.ts +1 -1
  109. package/dist/components/ui/dialog.es.js +93 -0
  110. package/dist/components/ui/dialog.es.js.map +1 -0
  111. package/dist/components/ui/direction.d.ts +1 -1
  112. package/dist/components/ui/direction.es.js +2 -0
  113. package/dist/components/ui/drawer.cjs.js +2 -0
  114. package/dist/components/ui/drawer.cjs.js.map +1 -0
  115. package/dist/components/ui/drawer.d.ts +1 -1
  116. package/dist/components/ui/drawer.es.js +123 -0
  117. package/dist/components/ui/drawer.es.js.map +1 -0
  118. package/dist/components/ui/dropdown-menu.cjs.js +2 -0
  119. package/dist/components/ui/dropdown-menu.cjs.js.map +1 -0
  120. package/dist/components/ui/dropdown-menu.d.ts +1 -1
  121. package/dist/components/ui/dropdown-menu.es.js +138 -0
  122. package/dist/components/ui/dropdown-menu.es.js.map +1 -0
  123. package/dist/components/ui/empty.cjs.js +2 -0
  124. package/dist/components/ui/empty.cjs.js.map +1 -0
  125. package/dist/components/ui/empty.d.ts +9 -8
  126. package/dist/components/ui/empty.es.js +62 -0
  127. package/dist/components/ui/empty.es.js.map +1 -0
  128. package/dist/components/ui/field.cjs.js +2 -0
  129. package/dist/components/ui/field.cjs.js.map +1 -0
  130. package/dist/components/ui/field.d.ts +3 -3
  131. package/dist/components/ui/field.es.js +110 -0
  132. package/dist/components/ui/field.es.js.map +1 -0
  133. package/dist/components/ui/hover-card.cjs.js +2 -0
  134. package/dist/components/ui/hover-card.cjs.js.map +1 -0
  135. package/dist/components/ui/hover-card.d.ts +1 -1
  136. package/dist/components/ui/hover-card.es.js +38 -0
  137. package/dist/components/ui/hover-card.es.js.map +1 -0
  138. package/dist/components/ui/input-group.cjs.js +2 -0
  139. package/dist/components/ui/input-group.cjs.js.map +1 -0
  140. package/dist/components/ui/input-group.d.ts +6 -6
  141. package/dist/components/ui/input-group.es.js +79 -0
  142. package/dist/components/ui/input-group.es.js.map +1 -0
  143. package/dist/components/ui/input-otp.cjs.js +2 -0
  144. package/dist/components/ui/input-otp.cjs.js.map +1 -0
  145. package/dist/components/ui/input-otp.d.ts +1 -1
  146. package/dist/components/ui/input-otp.es.js +48 -0
  147. package/dist/components/ui/input-otp.es.js.map +1 -0
  148. package/dist/components/ui/input.cjs.js +2 -0
  149. package/dist/components/ui/input.cjs.js.map +1 -0
  150. package/dist/components/ui/input.es.js +17 -0
  151. package/dist/components/ui/input.es.js.map +1 -0
  152. package/dist/components/ui/item.cjs.js +2 -0
  153. package/dist/components/ui/item.cjs.js.map +1 -0
  154. package/dist/components/ui/item.d.ts +6 -6
  155. package/dist/components/ui/item.es.js +123 -0
  156. package/dist/components/ui/item.es.js.map +1 -0
  157. package/dist/components/ui/kbd.cjs.js +2 -0
  158. package/dist/components/ui/kbd.cjs.js.map +1 -0
  159. package/dist/components/ui/kbd.d.ts +3 -2
  160. package/dist/components/ui/kbd.es.js +22 -0
  161. package/dist/components/ui/kbd.es.js.map +1 -0
  162. package/dist/components/ui/label.cjs.js +2 -0
  163. package/dist/components/ui/label.cjs.js.map +1 -0
  164. package/dist/components/ui/label.es.js +16 -0
  165. package/dist/components/ui/label.es.js.map +1 -0
  166. package/dist/components/ui/marker.cjs.js +2 -0
  167. package/dist/components/ui/marker.cjs.js.map +1 -0
  168. package/dist/components/ui/marker.d.ts +3 -3
  169. package/dist/components/ui/marker.es.js +45 -0
  170. package/dist/components/ui/marker.es.js.map +1 -0
  171. package/dist/components/ui/menubar.cjs.js +2 -0
  172. package/dist/components/ui/menubar.cjs.js.map +1 -0
  173. package/dist/components/ui/menubar.d.ts +3 -3
  174. package/dist/components/ui/menubar.es.js +137 -0
  175. package/dist/components/ui/menubar.es.js.map +1 -0
  176. package/dist/components/ui/message-scroller.cjs.js +2 -0
  177. package/dist/components/ui/message-scroller.cjs.js.map +1 -0
  178. package/dist/components/ui/message-scroller.d.ts +2 -2
  179. package/dist/components/ui/message-scroller.es.js +63 -0
  180. package/dist/components/ui/message-scroller.es.js.map +1 -0
  181. package/dist/components/ui/message.cjs.js +2 -0
  182. package/dist/components/ui/message.cjs.js.map +1 -0
  183. package/dist/components/ui/message.es.js +51 -0
  184. package/dist/components/ui/message.es.js.map +1 -0
  185. package/dist/components/ui/native-select.cjs.js +2 -0
  186. package/dist/components/ui/native-select.cjs.js.map +1 -0
  187. package/dist/components/ui/native-select.es.js +40 -0
  188. package/dist/components/ui/native-select.es.js.map +1 -0
  189. package/dist/components/ui/navigation-menu.cjs.js +2 -0
  190. package/dist/components/ui/navigation-menu.cjs.js.map +1 -0
  191. package/dist/components/ui/navigation-menu.d.ts +2 -2
  192. package/dist/components/ui/navigation-menu.es.js +84 -0
  193. package/dist/components/ui/navigation-menu.es.js.map +1 -0
  194. package/dist/components/ui/pagination.cjs.js +2 -0
  195. package/dist/components/ui/pagination.cjs.js.map +1 -0
  196. package/dist/components/ui/pagination.d.ts +1 -1
  197. package/dist/components/ui/pagination.es.js +82 -0
  198. package/dist/components/ui/pagination.es.js.map +1 -0
  199. package/dist/components/ui/popover.cjs.js +2 -0
  200. package/dist/components/ui/popover.cjs.js.map +1 -0
  201. package/dist/components/ui/popover.d.ts +1 -1
  202. package/dist/components/ui/popover.es.js +56 -0
  203. package/dist/components/ui/popover.es.js.map +1 -0
  204. package/dist/components/ui/progress.cjs.js +2 -0
  205. package/dist/components/ui/progress.cjs.js.map +1 -0
  206. package/dist/components/ui/progress.d.ts +1 -1
  207. package/dist/components/ui/progress.es.js +46 -0
  208. package/dist/components/ui/progress.es.js.map +1 -0
  209. package/dist/components/ui/radio-group.cjs.js +2 -0
  210. package/dist/components/ui/radio-group.cjs.js.map +1 -0
  211. package/dist/components/ui/radio-group.d.ts +2 -2
  212. package/dist/components/ui/radio-group.es.js +28 -0
  213. package/dist/components/ui/radio-group.es.js.map +1 -0
  214. package/dist/components/ui/resizable.cjs.js +2 -0
  215. package/dist/components/ui/resizable.cjs.js.map +1 -0
  216. package/dist/components/ui/resizable.es.js +30 -0
  217. package/dist/components/ui/resizable.es.js.map +1 -0
  218. package/dist/components/ui/scroll-area.cjs.js +2 -0
  219. package/dist/components/ui/scroll-area.cjs.js.map +1 -0
  220. package/dist/components/ui/scroll-area.d.ts +1 -1
  221. package/dist/components/ui/scroll-area.es.js +37 -0
  222. package/dist/components/ui/scroll-area.es.js.map +1 -0
  223. package/dist/components/ui/select.cjs.js +2 -0
  224. package/dist/components/ui/select.cjs.js.map +1 -0
  225. package/dist/components/ui/select.d.ts +1 -1
  226. package/dist/components/ui/select.es.js +100 -0
  227. package/dist/components/ui/select.es.js.map +1 -0
  228. package/dist/components/ui/separator.cjs.js +2 -0
  229. package/dist/components/ui/separator.cjs.js.map +1 -0
  230. package/dist/components/ui/separator.d.ts +1 -1
  231. package/dist/components/ui/separator.es.js +16 -0
  232. package/dist/components/ui/separator.es.js.map +1 -0
  233. package/dist/components/ui/sheet.cjs.js +2 -0
  234. package/dist/components/ui/sheet.cjs.js.map +1 -0
  235. package/dist/components/ui/sheet.d.ts +1 -1
  236. package/dist/components/ui/sheet.es.js +90 -0
  237. package/dist/components/ui/sheet.es.js.map +1 -0
  238. package/dist/components/ui/sidebar.cjs.js +2 -0
  239. package/dist/components/ui/sidebar.cjs.js.map +1 -0
  240. package/dist/components/ui/sidebar.d.ts +19 -8
  241. package/dist/components/ui/sidebar.es.js +363 -0
  242. package/dist/components/ui/sidebar.es.js.map +1 -0
  243. package/dist/components/ui/skeleton.cjs.js +2 -0
  244. package/dist/components/ui/skeleton.cjs.js.map +1 -0
  245. package/dist/components/ui/skeleton.d.ts +2 -1
  246. package/dist/components/ui/skeleton.es.js +15 -0
  247. package/dist/components/ui/skeleton.es.js.map +1 -0
  248. package/dist/components/ui/slider.cjs.js +2 -0
  249. package/dist/components/ui/slider.cjs.js.map +1 -0
  250. package/dist/components/ui/slider.d.ts +1 -1
  251. package/dist/components/ui/slider.es.js +35 -0
  252. package/dist/components/ui/slider.es.js.map +1 -0
  253. package/dist/components/ui/sonner.cjs.js +2 -0
  254. package/dist/components/ui/sonner.cjs.js.map +1 -0
  255. package/dist/components/ui/sonner.d.ts +22 -2
  256. package/dist/components/ui/sonner.es.js +29 -0
  257. package/dist/components/ui/sonner.es.js.map +1 -0
  258. package/dist/components/ui/spinner.cjs.js +2 -0
  259. package/dist/components/ui/spinner.cjs.js.map +1 -0
  260. package/dist/components/ui/spinner.d.ts +2 -1
  261. package/dist/components/ui/spinner.es.js +18 -0
  262. package/dist/components/ui/spinner.es.js.map +1 -0
  263. package/dist/components/ui/switch.cjs.js +2 -0
  264. package/dist/components/ui/switch.cjs.js.map +1 -0
  265. package/dist/components/ui/switch.d.ts +1 -1
  266. package/dist/components/ui/switch.es.js +20 -0
  267. package/dist/components/ui/switch.es.js.map +1 -0
  268. package/dist/components/ui/table.cjs.js +2 -0
  269. package/dist/components/ui/table.cjs.js.map +1 -0
  270. package/dist/components/ui/table.es.js +69 -0
  271. package/dist/components/ui/table.es.js.map +1 -0
  272. package/dist/components/ui/tabs.cjs.js +2 -0
  273. package/dist/components/ui/tabs.cjs.js.map +1 -0
  274. package/dist/components/ui/tabs.d.ts +3 -3
  275. package/dist/components/ui/tabs.es.js +46 -0
  276. package/dist/components/ui/tabs.es.js.map +1 -0
  277. package/dist/components/ui/textarea.cjs.js +2 -0
  278. package/dist/components/ui/textarea.cjs.js.map +1 -0
  279. package/dist/components/ui/textarea.es.js +15 -0
  280. package/dist/components/ui/textarea.es.js.map +1 -0
  281. package/dist/components/ui/toggle-group.cjs.js +2 -0
  282. package/dist/components/ui/toggle-group.cjs.js.map +1 -0
  283. package/dist/components/ui/toggle-group.d.ts +4 -4
  284. package/dist/components/ui/toggle-group.es.js +54 -0
  285. package/dist/components/ui/toggle-group.es.js.map +1 -0
  286. package/dist/components/ui/toggle.cjs.js +2 -0
  287. package/dist/components/ui/toggle.cjs.js.map +1 -0
  288. package/dist/components/ui/toggle.d.ts +3 -3
  289. package/dist/components/ui/toggle.es.js +38 -0
  290. package/dist/components/ui/toggle.es.js.map +1 -0
  291. package/dist/components/ui/tooltip.cjs.js +2 -0
  292. package/dist/components/ui/tooltip.cjs.js.map +1 -0
  293. package/dist/components/ui/tooltip.d.ts +1 -1
  294. package/dist/components/ui/tooltip.es.js +42 -0
  295. package/dist/components/ui/tooltip.es.js.map +1 -0
  296. package/dist/hooks/index.cjs.js +1 -0
  297. package/dist/hooks/index.d.ts +10 -0
  298. package/dist/hooks/index.es.js +2 -0
  299. package/dist/hooks/use-mobile.cjs.js +2 -0
  300. package/dist/hooks/use-mobile.cjs.js.map +1 -0
  301. package/dist/hooks/use-mobile.es.js +16 -0
  302. package/dist/hooks/use-mobile.es.js.map +1 -0
  303. package/dist/index.cjs.js +1 -7
  304. package/dist/index.d.ts +62 -61
  305. package/dist/index.es.js +63 -5447
  306. package/dist/lib/utils.d.ts +1 -1
  307. package/dist/node_modules/.bun/@radix-ui_primitive@1.1.5/node_modules/@radix-ui/primitive/dist/index.cjs.js +2 -0
  308. package/dist/node_modules/.bun/@radix-ui_primitive@1.1.5/node_modules/@radix-ui/primitive/dist/index.cjs.js.map +1 -0
  309. package/dist/node_modules/.bun/@radix-ui_primitive@1.1.5/node_modules/@radix-ui/primitive/dist/index.es.js +10 -0
  310. package/dist/node_modules/.bun/@radix-ui_primitive@1.1.5/node_modules/@radix-ui/primitive/dist/index.es.js.map +1 -0
  311. package/dist/node_modules/.bun/@radix-ui_react-compose-refs@1.1.3_93dbe784b8baa420/node_modules/@radix-ui/react-compose-refs/dist/index.cjs.js +2 -0
  312. package/dist/node_modules/.bun/@radix-ui_react-compose-refs@1.1.3_93dbe784b8baa420/node_modules/@radix-ui/react-compose-refs/dist/index.cjs.js.map +1 -0
  313. package/dist/node_modules/.bun/@radix-ui_react-compose-refs@1.1.3_93dbe784b8baa420/node_modules/@radix-ui/react-compose-refs/dist/index.es.js +27 -0
  314. package/dist/node_modules/.bun/@radix-ui_react-compose-refs@1.1.3_93dbe784b8baa420/node_modules/@radix-ui/react-compose-refs/dist/index.es.js.map +1 -0
  315. package/dist/node_modules/.bun/@radix-ui_react-context@1.2.0_93dbe784b8baa420/node_modules/@radix-ui/react-context/dist/index.cjs.js +2 -0
  316. package/dist/node_modules/.bun/@radix-ui_react-context@1.2.0_93dbe784b8baa420/node_modules/@radix-ui/react-context/dist/index.cjs.js.map +1 -0
  317. package/dist/node_modules/.bun/@radix-ui_react-context@1.2.0_93dbe784b8baa420/node_modules/@radix-ui/react-context/dist/index.es.js +63 -0
  318. package/dist/node_modules/.bun/@radix-ui_react-context@1.2.0_93dbe784b8baa420/node_modules/@radix-ui/react-context/dist/index.es.js.map +1 -0
  319. package/dist/node_modules/.bun/@radix-ui_react-dialog@1.1.19_ae2b4604ef263bc9/node_modules/@radix-ui/react-dialog/dist/index.cjs.js +2 -0
  320. package/dist/node_modules/.bun/@radix-ui_react-dialog@1.1.19_ae2b4604ef263bc9/node_modules/@radix-ui/react-dialog/dist/index.cjs.js.map +1 -0
  321. package/dist/node_modules/.bun/@radix-ui_react-dialog@1.1.19_ae2b4604ef263bc9/node_modules/@radix-ui/react-dialog/dist/index.es.js +201 -0
  322. package/dist/node_modules/.bun/@radix-ui_react-dialog@1.1.19_ae2b4604ef263bc9/node_modules/@radix-ui/react-dialog/dist/index.es.js.map +1 -0
  323. package/dist/node_modules/.bun/@radix-ui_react-dismissable-layer@1.1.15_ae2b4604ef263bc9/node_modules/@radix-ui/react-dismissable-layer/dist/index.cjs.js +2 -0
  324. package/dist/node_modules/.bun/@radix-ui_react-dismissable-layer@1.1.15_ae2b4604ef263bc9/node_modules/@radix-ui/react-dismissable-layer/dist/index.cjs.js.map +1 -0
  325. package/dist/node_modules/.bun/@radix-ui_react-dismissable-layer@1.1.15_ae2b4604ef263bc9/node_modules/@radix-ui/react-dismissable-layer/dist/index.es.js +175 -0
  326. package/dist/node_modules/.bun/@radix-ui_react-dismissable-layer@1.1.15_ae2b4604ef263bc9/node_modules/@radix-ui/react-dismissable-layer/dist/index.es.js.map +1 -0
  327. package/dist/node_modules/.bun/@radix-ui_react-focus-guards@1.1.4_93dbe784b8baa420/node_modules/@radix-ui/react-focus-guards/dist/index.cjs.js +2 -0
  328. package/dist/node_modules/.bun/@radix-ui_react-focus-guards@1.1.4_93dbe784b8baa420/node_modules/@radix-ui/react-focus-guards/dist/index.cjs.js.map +1 -0
  329. package/dist/node_modules/.bun/@radix-ui_react-focus-guards@1.1.4_93dbe784b8baa420/node_modules/@radix-ui/react-focus-guards/dist/index.es.js +24 -0
  330. package/dist/node_modules/.bun/@radix-ui_react-focus-guards@1.1.4_93dbe784b8baa420/node_modules/@radix-ui/react-focus-guards/dist/index.es.js.map +1 -0
  331. package/dist/node_modules/.bun/@radix-ui_react-focus-scope@1.1.12_ae2b4604ef263bc9/node_modules/@radix-ui/react-focus-scope/dist/index.cjs.js +2 -0
  332. package/dist/node_modules/.bun/@radix-ui_react-focus-scope@1.1.12_ae2b4604ef263bc9/node_modules/@radix-ui/react-focus-scope/dist/index.cjs.js.map +1 -0
  333. package/dist/node_modules/.bun/@radix-ui_react-focus-scope@1.1.12_ae2b4604ef263bc9/node_modules/@radix-ui/react-focus-scope/dist/index.es.js +149 -0
  334. package/dist/node_modules/.bun/@radix-ui_react-focus-scope@1.1.12_ae2b4604ef263bc9/node_modules/@radix-ui/react-focus-scope/dist/index.es.js.map +1 -0
  335. package/dist/node_modules/.bun/@radix-ui_react-id@1.1.2_93dbe784b8baa420/node_modules/@radix-ui/react-id/dist/index.cjs.js +2 -0
  336. package/dist/node_modules/.bun/@radix-ui_react-id@1.1.2_93dbe784b8baa420/node_modules/@radix-ui/react-id/dist/index.cjs.js.map +1 -0
  337. package/dist/node_modules/.bun/@radix-ui_react-id@1.1.2_93dbe784b8baa420/node_modules/@radix-ui/react-id/dist/index.es.js +14 -0
  338. package/dist/node_modules/.bun/@radix-ui_react-id@1.1.2_93dbe784b8baa420/node_modules/@radix-ui/react-id/dist/index.es.js.map +1 -0
  339. package/dist/node_modules/.bun/@radix-ui_react-portal@1.1.13_ae2b4604ef263bc9/node_modules/@radix-ui/react-portal/dist/index.cjs.js +2 -0
  340. package/dist/node_modules/.bun/@radix-ui_react-portal@1.1.13_ae2b4604ef263bc9/node_modules/@radix-ui/react-portal/dist/index.cjs.js.map +1 -0
  341. package/dist/node_modules/.bun/@radix-ui_react-portal@1.1.13_ae2b4604ef263bc9/node_modules/@radix-ui/react-portal/dist/index.es.js +21 -0
  342. package/dist/node_modules/.bun/@radix-ui_react-portal@1.1.13_ae2b4604ef263bc9/node_modules/@radix-ui/react-portal/dist/index.es.js.map +1 -0
  343. package/dist/node_modules/.bun/@radix-ui_react-presence@1.1.7_ae2b4604ef263bc9/node_modules/@radix-ui/react-presence/dist/index.cjs.js +2 -0
  344. package/dist/node_modules/.bun/@radix-ui_react-presence@1.1.7_ae2b4604ef263bc9/node_modules/@radix-ui/react-presence/dist/index.cjs.js.map +1 -0
  345. package/dist/node_modules/.bun/@radix-ui_react-presence@1.1.7_ae2b4604ef263bc9/node_modules/@radix-ui/react-presence/dist/index.es.js +90 -0
  346. package/dist/node_modules/.bun/@radix-ui_react-presence@1.1.7_ae2b4604ef263bc9/node_modules/@radix-ui/react-presence/dist/index.es.js.map +1 -0
  347. package/dist/node_modules/.bun/@radix-ui_react-primitive@2.1.7_ae2b4604ef263bc9/node_modules/@radix-ui/react-primitive/dist/index.cjs.js +2 -0
  348. package/dist/node_modules/.bun/@radix-ui_react-primitive@2.1.7_ae2b4604ef263bc9/node_modules/@radix-ui/react-primitive/dist/index.cjs.js.map +1 -0
  349. package/dist/node_modules/.bun/@radix-ui_react-primitive@2.1.7_ae2b4604ef263bc9/node_modules/@radix-ui/react-primitive/dist/index.es.js +43 -0
  350. package/dist/node_modules/.bun/@radix-ui_react-primitive@2.1.7_ae2b4604ef263bc9/node_modules/@radix-ui/react-primitive/dist/index.es.js.map +1 -0
  351. package/dist/node_modules/.bun/@radix-ui_react-slot@1.3.0_93dbe784b8baa420/node_modules/@radix-ui/react-slot/dist/index.cjs.js +2 -0
  352. package/dist/node_modules/.bun/@radix-ui_react-slot@1.3.0_93dbe784b8baa420/node_modules/@radix-ui/react-slot/dist/index.cjs.js.map +1 -0
  353. package/dist/node_modules/.bun/@radix-ui_react-slot@1.3.0_93dbe784b8baa420/node_modules/@radix-ui/react-slot/dist/index.es.js +67 -0
  354. package/dist/node_modules/.bun/@radix-ui_react-slot@1.3.0_93dbe784b8baa420/node_modules/@radix-ui/react-slot/dist/index.es.js.map +1 -0
  355. package/dist/node_modules/.bun/@radix-ui_react-use-callback-ref@1.1.2_93dbe784b8baa420/node_modules/@radix-ui/react-use-callback-ref/dist/index.cjs.js +2 -0
  356. package/dist/node_modules/.bun/@radix-ui_react-use-callback-ref@1.1.2_93dbe784b8baa420/node_modules/@radix-ui/react-use-callback-ref/dist/index.cjs.js.map +1 -0
  357. package/dist/node_modules/.bun/@radix-ui_react-use-callback-ref@1.1.2_93dbe784b8baa420/node_modules/@radix-ui/react-use-callback-ref/dist/index.es.js +12 -0
  358. package/dist/node_modules/.bun/@radix-ui_react-use-callback-ref@1.1.2_93dbe784b8baa420/node_modules/@radix-ui/react-use-callback-ref/dist/index.es.js.map +1 -0
  359. package/dist/node_modules/.bun/@radix-ui_react-use-controllable-state@1.2.3_93dbe784b8baa420/node_modules/@radix-ui/react-use-controllable-state/dist/index.cjs.js +2 -0
  360. package/dist/node_modules/.bun/@radix-ui_react-use-controllable-state@1.2.3_93dbe784b8baa420/node_modules/@radix-ui/react-use-controllable-state/dist/index.cjs.js.map +1 -0
  361. package/dist/node_modules/.bun/@radix-ui_react-use-controllable-state@1.2.3_93dbe784b8baa420/node_modules/@radix-ui/react-use-controllable-state/dist/index.es.js +47 -0
  362. package/dist/node_modules/.bun/@radix-ui_react-use-controllable-state@1.2.3_93dbe784b8baa420/node_modules/@radix-ui/react-use-controllable-state/dist/index.es.js.map +1 -0
  363. package/dist/node_modules/.bun/@radix-ui_react-use-layout-effect@1.1.2_93dbe784b8baa420/node_modules/@radix-ui/react-use-layout-effect/dist/index.cjs.js +2 -0
  364. package/dist/node_modules/.bun/@radix-ui_react-use-layout-effect@1.1.2_93dbe784b8baa420/node_modules/@radix-ui/react-use-layout-effect/dist/index.cjs.js.map +1 -0
  365. package/dist/node_modules/.bun/@radix-ui_react-use-layout-effect@1.1.2_93dbe784b8baa420/node_modules/@radix-ui/react-use-layout-effect/dist/index.es.js +7 -0
  366. package/dist/node_modules/.bun/@radix-ui_react-use-layout-effect@1.1.2_93dbe784b8baa420/node_modules/@radix-ui/react-use-layout-effect/dist/index.es.js.map +1 -0
  367. package/dist/node_modules/.bun/aria-hidden@1.2.6/node_modules/aria-hidden/dist/es2015/index.cjs.js +2 -0
  368. package/dist/node_modules/.bun/aria-hidden@1.2.6/node_modules/aria-hidden/dist/es2015/index.cjs.js.map +1 -0
  369. package/dist/node_modules/.bun/aria-hidden@1.2.6/node_modules/aria-hidden/dist/es2015/index.es.js +48 -0
  370. package/dist/node_modules/.bun/aria-hidden@1.2.6/node_modules/aria-hidden/dist/es2015/index.es.js.map +1 -0
  371. package/dist/node_modules/.bun/class-variance-authority@0.7.1/node_modules/class-variance-authority/dist/index.cjs.js +2 -0
  372. package/dist/node_modules/.bun/class-variance-authority@0.7.1/node_modules/class-variance-authority/dist/index.cjs.js.map +1 -0
  373. package/dist/node_modules/.bun/class-variance-authority@0.7.1/node_modules/class-variance-authority/dist/index.es.js +35 -0
  374. package/dist/node_modules/.bun/class-variance-authority@0.7.1/node_modules/class-variance-authority/dist/index.es.js.map +1 -0
  375. package/dist/node_modules/.bun/clsx@2.1.1/node_modules/clsx/dist/clsx.cjs.js +2 -0
  376. package/dist/node_modules/.bun/clsx@2.1.1/node_modules/clsx/dist/clsx.cjs.js.map +1 -0
  377. package/dist/node_modules/.bun/clsx@2.1.1/node_modules/clsx/dist/clsx.es.js +18 -0
  378. package/dist/node_modules/.bun/clsx@2.1.1/node_modules/clsx/dist/clsx.es.js.map +1 -0
  379. package/dist/node_modules/.bun/cmdk@1.1.1_ae2b4604ef263bc9/node_modules/cmdk/dist/chunk-NZJY6EH4.cjs.js +2 -0
  380. package/dist/node_modules/.bun/cmdk@1.1.1_ae2b4604ef263bc9/node_modules/cmdk/dist/chunk-NZJY6EH4.cjs.js.map +1 -0
  381. package/dist/node_modules/.bun/cmdk@1.1.1_ae2b4604ef263bc9/node_modules/cmdk/dist/chunk-NZJY6EH4.es.js +19 -0
  382. package/dist/node_modules/.bun/cmdk@1.1.1_ae2b4604ef263bc9/node_modules/cmdk/dist/chunk-NZJY6EH4.es.js.map +1 -0
  383. package/dist/node_modules/.bun/cmdk@1.1.1_ae2b4604ef263bc9/node_modules/cmdk/dist/index.cjs.js +2 -0
  384. package/dist/node_modules/.bun/cmdk@1.1.1_ae2b4604ef263bc9/node_modules/cmdk/dist/index.cjs.js.map +1 -0
  385. package/dist/node_modules/.bun/cmdk@1.1.1_ae2b4604ef263bc9/node_modules/cmdk/dist/index.es.js +446 -0
  386. package/dist/node_modules/.bun/cmdk@1.1.1_ae2b4604ef263bc9/node_modules/cmdk/dist/index.es.js.map +1 -0
  387. package/dist/node_modules/.bun/cnfast@0.0.8/node_modules/cnfast/dist/index.cjs.js +2 -0
  388. package/dist/node_modules/.bun/cnfast@0.0.8/node_modules/cnfast/dist/index.cjs.js.map +1 -0
  389. package/dist/node_modules/.bun/cnfast@0.0.8/node_modules/cnfast/dist/index.es.js +1860 -0
  390. package/dist/node_modules/.bun/cnfast@0.0.8/node_modules/cnfast/dist/index.es.js.map +1 -0
  391. package/dist/node_modules/.bun/embla-carousel-react@8.6.0_e14d3f224186685e/node_modules/embla-carousel-react/esm/embla-carousel-react.esm.cjs.js +2 -0
  392. package/dist/node_modules/.bun/embla-carousel-react@8.6.0_e14d3f224186685e/node_modules/embla-carousel-react/esm/embla-carousel-react.esm.cjs.js.map +1 -0
  393. package/dist/node_modules/.bun/embla-carousel-react@8.6.0_e14d3f224186685e/node_modules/embla-carousel-react/esm/embla-carousel-react.esm.es.js +25 -0
  394. package/dist/node_modules/.bun/embla-carousel-react@8.6.0_e14d3f224186685e/node_modules/embla-carousel-react/esm/embla-carousel-react.esm.es.js.map +1 -0
  395. package/dist/node_modules/.bun/embla-carousel-reactive-utils@8.6.0_3dde5556684c958d/node_modules/embla-carousel-reactive-utils/esm/embla-carousel-reactive-utils.esm.cjs.js +2 -0
  396. package/dist/node_modules/.bun/embla-carousel-reactive-utils@8.6.0_3dde5556684c958d/node_modules/embla-carousel-reactive-utils/esm/embla-carousel-reactive-utils.esm.cjs.js.map +1 -0
  397. package/dist/node_modules/.bun/embla-carousel-reactive-utils@8.6.0_3dde5556684c958d/node_modules/embla-carousel-reactive-utils/esm/embla-carousel-reactive-utils.esm.es.js +32 -0
  398. package/dist/node_modules/.bun/embla-carousel-reactive-utils@8.6.0_3dde5556684c958d/node_modules/embla-carousel-reactive-utils/esm/embla-carousel-reactive-utils.esm.es.js.map +1 -0
  399. package/dist/node_modules/.bun/embla-carousel@8.6.0/node_modules/embla-carousel/esm/embla-carousel.esm.cjs.js +2 -0
  400. package/dist/node_modules/.bun/embla-carousel@8.6.0/node_modules/embla-carousel/esm/embla-carousel.esm.cjs.js.map +1 -0
  401. package/dist/node_modules/.bun/embla-carousel@8.6.0/node_modules/embla-carousel/esm/embla-carousel.esm.es.js +1019 -0
  402. package/dist/node_modules/.bun/embla-carousel@8.6.0/node_modules/embla-carousel/esm/embla-carousel.esm.es.js.map +1 -0
  403. package/dist/node_modules/.bun/get-nonce@1.0.1/node_modules/get-nonce/dist/es2015/index.cjs.js +2 -0
  404. package/dist/node_modules/.bun/get-nonce@1.0.1/node_modules/get-nonce/dist/es2015/index.cjs.js.map +1 -0
  405. package/dist/node_modules/.bun/get-nonce@1.0.1/node_modules/get-nonce/dist/es2015/index.es.js +9 -0
  406. package/dist/node_modules/.bun/get-nonce@1.0.1/node_modules/get-nonce/dist/es2015/index.es.js.map +1 -0
  407. package/dist/node_modules/.bun/input-otp@1.4.2_7492c01c6988791b/node_modules/input-otp/dist/index.cjs.js +21 -0
  408. package/dist/node_modules/.bun/input-otp@1.4.2_7492c01c6988791b/node_modules/input-otp/dist/index.cjs.js.map +1 -0
  409. package/dist/node_modules/.bun/input-otp@1.4.2_7492c01c6988791b/node_modules/input-otp/dist/index.es.js +351 -0
  410. package/dist/node_modules/.bun/input-otp@1.4.2_7492c01c6988791b/node_modules/input-otp/dist/index.es.js.map +1 -0
  411. package/dist/node_modules/.bun/react-remove-scroll-bar@2.3.8_93dbe784b8baa420/node_modules/react-remove-scroll-bar/dist/es2015/component.cjs.js +39 -0
  412. package/dist/node_modules/.bun/react-remove-scroll-bar@2.3.8_93dbe784b8baa420/node_modules/react-remove-scroll-bar/dist/es2015/component.cjs.js.map +1 -0
  413. package/dist/node_modules/.bun/react-remove-scroll-bar@2.3.8_93dbe784b8baa420/node_modules/react-remove-scroll-bar/dist/es2015/component.es.js +72 -0
  414. package/dist/node_modules/.bun/react-remove-scroll-bar@2.3.8_93dbe784b8baa420/node_modules/react-remove-scroll-bar/dist/es2015/component.es.js.map +1 -0
  415. package/dist/node_modules/.bun/react-remove-scroll-bar@2.3.8_93dbe784b8baa420/node_modules/react-remove-scroll-bar/dist/es2015/constants.cjs.js +2 -0
  416. package/dist/node_modules/.bun/react-remove-scroll-bar@2.3.8_93dbe784b8baa420/node_modules/react-remove-scroll-bar/dist/es2015/constants.cjs.js.map +1 -0
  417. package/dist/node_modules/.bun/react-remove-scroll-bar@2.3.8_93dbe784b8baa420/node_modules/react-remove-scroll-bar/dist/es2015/constants.es.js +6 -0
  418. package/dist/node_modules/.bun/react-remove-scroll-bar@2.3.8_93dbe784b8baa420/node_modules/react-remove-scroll-bar/dist/es2015/constants.es.js.map +1 -0
  419. package/dist/node_modules/.bun/react-remove-scroll-bar@2.3.8_93dbe784b8baa420/node_modules/react-remove-scroll-bar/dist/es2015/index.cjs.js +1 -0
  420. package/dist/node_modules/.bun/react-remove-scroll-bar@2.3.8_93dbe784b8baa420/node_modules/react-remove-scroll-bar/dist/es2015/index.es.js +4 -0
  421. package/dist/node_modules/.bun/react-remove-scroll-bar@2.3.8_93dbe784b8baa420/node_modules/react-remove-scroll-bar/dist/es2015/utils.cjs.js +2 -0
  422. package/dist/node_modules/.bun/react-remove-scroll-bar@2.3.8_93dbe784b8baa420/node_modules/react-remove-scroll-bar/dist/es2015/utils.cjs.js.map +1 -0
  423. package/dist/node_modules/.bun/react-remove-scroll-bar@2.3.8_93dbe784b8baa420/node_modules/react-remove-scroll-bar/dist/es2015/utils.es.js +29 -0
  424. package/dist/node_modules/.bun/react-remove-scroll-bar@2.3.8_93dbe784b8baa420/node_modules/react-remove-scroll-bar/dist/es2015/utils.es.js.map +1 -0
  425. package/dist/node_modules/.bun/react-remove-scroll@2.7.2_93dbe784b8baa420/node_modules/react-remove-scroll/dist/es2015/Combination.cjs.js +2 -0
  426. package/dist/node_modules/.bun/react-remove-scroll@2.7.2_93dbe784b8baa420/node_modules/react-remove-scroll/dist/es2015/Combination.cjs.js.map +1 -0
  427. package/dist/node_modules/.bun/react-remove-scroll@2.7.2_93dbe784b8baa420/node_modules/react-remove-scroll/dist/es2015/Combination.es.js +16 -0
  428. package/dist/node_modules/.bun/react-remove-scroll@2.7.2_93dbe784b8baa420/node_modules/react-remove-scroll/dist/es2015/Combination.es.js.map +1 -0
  429. package/dist/node_modules/.bun/react-remove-scroll@2.7.2_93dbe784b8baa420/node_modules/react-remove-scroll/dist/es2015/SideEffect.cjs.js +5 -0
  430. package/dist/node_modules/.bun/react-remove-scroll@2.7.2_93dbe784b8baa420/node_modules/react-remove-scroll/dist/es2015/SideEffect.cjs.js.map +1 -0
  431. package/dist/node_modules/.bun/react-remove-scroll@2.7.2_93dbe784b8baa420/node_modules/react-remove-scroll/dist/es2015/SideEffect.es.js +118 -0
  432. package/dist/node_modules/.bun/react-remove-scroll@2.7.2_93dbe784b8baa420/node_modules/react-remove-scroll/dist/es2015/SideEffect.es.js.map +1 -0
  433. package/dist/node_modules/.bun/react-remove-scroll@2.7.2_93dbe784b8baa420/node_modules/react-remove-scroll/dist/es2015/UI.cjs.js +2 -0
  434. package/dist/node_modules/.bun/react-remove-scroll@2.7.2_93dbe784b8baa420/node_modules/react-remove-scroll/dist/es2015/UI.cjs.js.map +1 -0
  435. package/dist/node_modules/.bun/react-remove-scroll@2.7.2_93dbe784b8baa420/node_modules/react-remove-scroll/dist/es2015/UI.es.js +54 -0
  436. package/dist/node_modules/.bun/react-remove-scroll@2.7.2_93dbe784b8baa420/node_modules/react-remove-scroll/dist/es2015/UI.es.js.map +1 -0
  437. package/dist/node_modules/.bun/react-remove-scroll@2.7.2_93dbe784b8baa420/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.cjs.js +2 -0
  438. package/dist/node_modules/.bun/react-remove-scroll@2.7.2_93dbe784b8baa420/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.cjs.js.map +1 -0
  439. package/dist/node_modules/.bun/react-remove-scroll@2.7.2_93dbe784b8baa420/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.es.js +15 -0
  440. package/dist/node_modules/.bun/react-remove-scroll@2.7.2_93dbe784b8baa420/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.es.js.map +1 -0
  441. package/dist/node_modules/.bun/react-remove-scroll@2.7.2_93dbe784b8baa420/node_modules/react-remove-scroll/dist/es2015/handleScroll.cjs.js +2 -0
  442. package/dist/node_modules/.bun/react-remove-scroll@2.7.2_93dbe784b8baa420/node_modules/react-remove-scroll/dist/es2015/handleScroll.cjs.js.map +1 -0
  443. package/dist/node_modules/.bun/react-remove-scroll@2.7.2_93dbe784b8baa420/node_modules/react-remove-scroll/dist/es2015/handleScroll.es.js +54 -0
  444. package/dist/node_modules/.bun/react-remove-scroll@2.7.2_93dbe784b8baa420/node_modules/react-remove-scroll/dist/es2015/handleScroll.es.js.map +1 -0
  445. package/dist/node_modules/.bun/react-remove-scroll@2.7.2_93dbe784b8baa420/node_modules/react-remove-scroll/dist/es2015/medium.cjs.js +2 -0
  446. package/dist/node_modules/.bun/react-remove-scroll@2.7.2_93dbe784b8baa420/node_modules/react-remove-scroll/dist/es2015/medium.cjs.js.map +1 -0
  447. package/dist/node_modules/.bun/react-remove-scroll@2.7.2_93dbe784b8baa420/node_modules/react-remove-scroll/dist/es2015/medium.es.js +7 -0
  448. package/dist/node_modules/.bun/react-remove-scroll@2.7.2_93dbe784b8baa420/node_modules/react-remove-scroll/dist/es2015/medium.es.js.map +1 -0
  449. package/dist/node_modules/.bun/react-remove-scroll@2.7.2_93dbe784b8baa420/node_modules/react-remove-scroll/dist/es2015/sidecar.cjs.js +2 -0
  450. package/dist/node_modules/.bun/react-remove-scroll@2.7.2_93dbe784b8baa420/node_modules/react-remove-scroll/dist/es2015/sidecar.cjs.js.map +1 -0
  451. package/dist/node_modules/.bun/react-remove-scroll@2.7.2_93dbe784b8baa420/node_modules/react-remove-scroll/dist/es2015/sidecar.es.js +9 -0
  452. package/dist/node_modules/.bun/react-remove-scroll@2.7.2_93dbe784b8baa420/node_modules/react-remove-scroll/dist/es2015/sidecar.es.js.map +1 -0
  453. package/dist/node_modules/.bun/react-resizable-panels@4.12.1_7492c01c6988791b/node_modules/react-resizable-panels/dist/react-resizable-panels.cjs.js +2 -0
  454. package/dist/node_modules/.bun/react-resizable-panels@4.12.1_7492c01c6988791b/node_modules/react-resizable-panels/dist/react-resizable-panels.cjs.js.map +1 -0
  455. package/dist/node_modules/.bun/react-resizable-panels@4.12.1_7492c01c6988791b/node_modules/react-resizable-panels/dist/react-resizable-panels.es.js +1550 -0
  456. package/dist/node_modules/.bun/react-resizable-panels@4.12.1_7492c01c6988791b/node_modules/react-resizable-panels/dist/react-resizable-panels.es.js.map +1 -0
  457. package/dist/node_modules/.bun/react-style-singleton@2.2.3_93dbe784b8baa420/node_modules/react-style-singleton/dist/es2015/component.cjs.js +2 -0
  458. package/dist/node_modules/.bun/react-style-singleton@2.2.3_93dbe784b8baa420/node_modules/react-style-singleton/dist/es2015/component.cjs.js.map +1 -0
  459. package/dist/node_modules/.bun/react-style-singleton@2.2.3_93dbe784b8baa420/node_modules/react-style-singleton/dist/es2015/component.es.js +13 -0
  460. package/dist/node_modules/.bun/react-style-singleton@2.2.3_93dbe784b8baa420/node_modules/react-style-singleton/dist/es2015/component.es.js.map +1 -0
  461. package/dist/node_modules/.bun/react-style-singleton@2.2.3_93dbe784b8baa420/node_modules/react-style-singleton/dist/es2015/hook.cjs.js +2 -0
  462. package/dist/node_modules/.bun/react-style-singleton@2.2.3_93dbe784b8baa420/node_modules/react-style-singleton/dist/es2015/hook.cjs.js.map +1 -0
  463. package/dist/node_modules/.bun/react-style-singleton@2.2.3_93dbe784b8baa420/node_modules/react-style-singleton/dist/es2015/hook.es.js +17 -0
  464. package/dist/node_modules/.bun/react-style-singleton@2.2.3_93dbe784b8baa420/node_modules/react-style-singleton/dist/es2015/hook.es.js.map +1 -0
  465. package/dist/node_modules/.bun/react-style-singleton@2.2.3_93dbe784b8baa420/node_modules/react-style-singleton/dist/es2015/index.cjs.js +1 -0
  466. package/dist/node_modules/.bun/react-style-singleton@2.2.3_93dbe784b8baa420/node_modules/react-style-singleton/dist/es2015/index.es.js +4 -0
  467. package/dist/node_modules/.bun/react-style-singleton@2.2.3_93dbe784b8baa420/node_modules/react-style-singleton/dist/es2015/singleton.cjs.js +2 -0
  468. package/dist/node_modules/.bun/react-style-singleton@2.2.3_93dbe784b8baa420/node_modules/react-style-singleton/dist/es2015/singleton.cjs.js.map +1 -0
  469. package/dist/node_modules/.bun/react-style-singleton@2.2.3_93dbe784b8baa420/node_modules/react-style-singleton/dist/es2015/singleton.es.js +30 -0
  470. package/dist/node_modules/.bun/react-style-singleton@2.2.3_93dbe784b8baa420/node_modules/react-style-singleton/dist/es2015/singleton.es.js.map +1 -0
  471. package/dist/node_modules/.bun/tslib@2.8.1/node_modules/tslib/tslib.es6.cjs.js +2 -0
  472. package/dist/node_modules/.bun/tslib@2.8.1/node_modules/tslib/tslib.es6.cjs.js.map +1 -0
  473. package/dist/node_modules/.bun/tslib@2.8.1/node_modules/tslib/tslib.es6.es.js +21 -0
  474. package/dist/node_modules/.bun/tslib@2.8.1/node_modules/tslib/tslib.es6.es.js.map +1 -0
  475. package/dist/node_modules/.bun/use-callback-ref@1.3.3_93dbe784b8baa420/node_modules/use-callback-ref/dist/es2015/assignRef.cjs.js +2 -0
  476. package/dist/node_modules/.bun/use-callback-ref@1.3.3_93dbe784b8baa420/node_modules/use-callback-ref/dist/es2015/assignRef.cjs.js.map +1 -0
  477. package/dist/node_modules/.bun/use-callback-ref@1.3.3_93dbe784b8baa420/node_modules/use-callback-ref/dist/es2015/assignRef.es.js +8 -0
  478. package/dist/node_modules/.bun/use-callback-ref@1.3.3_93dbe784b8baa420/node_modules/use-callback-ref/dist/es2015/assignRef.es.js.map +1 -0
  479. package/dist/node_modules/.bun/use-callback-ref@1.3.3_93dbe784b8baa420/node_modules/use-callback-ref/dist/es2015/useMergeRef.cjs.js +2 -0
  480. package/dist/node_modules/.bun/use-callback-ref@1.3.3_93dbe784b8baa420/node_modules/use-callback-ref/dist/es2015/useMergeRef.cjs.js.map +1 -0
  481. package/dist/node_modules/.bun/use-callback-ref@1.3.3_93dbe784b8baa420/node_modules/use-callback-ref/dist/es2015/useMergeRef.es.js +28 -0
  482. package/dist/node_modules/.bun/use-callback-ref@1.3.3_93dbe784b8baa420/node_modules/use-callback-ref/dist/es2015/useMergeRef.es.js.map +1 -0
  483. package/dist/node_modules/.bun/use-callback-ref@1.3.3_93dbe784b8baa420/node_modules/use-callback-ref/dist/es2015/useRef.cjs.js +2 -0
  484. package/dist/node_modules/.bun/use-callback-ref@1.3.3_93dbe784b8baa420/node_modules/use-callback-ref/dist/es2015/useRef.cjs.js.map +1 -0
  485. package/dist/node_modules/.bun/use-callback-ref@1.3.3_93dbe784b8baa420/node_modules/use-callback-ref/dist/es2015/useRef.es.js +24 -0
  486. package/dist/node_modules/.bun/use-callback-ref@1.3.3_93dbe784b8baa420/node_modules/use-callback-ref/dist/es2015/useRef.es.js.map +1 -0
  487. package/dist/node_modules/.bun/use-sidecar@1.1.3_93dbe784b8baa420/node_modules/use-sidecar/dist/es2015/exports.cjs.js +2 -0
  488. package/dist/node_modules/.bun/use-sidecar@1.1.3_93dbe784b8baa420/node_modules/use-sidecar/dist/es2015/exports.cjs.js.map +1 -0
  489. package/dist/node_modules/.bun/use-sidecar@1.1.3_93dbe784b8baa420/node_modules/use-sidecar/dist/es2015/exports.es.js +18 -0
  490. package/dist/node_modules/.bun/use-sidecar@1.1.3_93dbe784b8baa420/node_modules/use-sidecar/dist/es2015/exports.es.js.map +1 -0
  491. package/dist/node_modules/.bun/use-sidecar@1.1.3_93dbe784b8baa420/node_modules/use-sidecar/dist/es2015/medium.cjs.js +2 -0
  492. package/dist/node_modules/.bun/use-sidecar@1.1.3_93dbe784b8baa420/node_modules/use-sidecar/dist/es2015/medium.cjs.js.map +1 -0
  493. package/dist/node_modules/.bun/use-sidecar@1.1.3_93dbe784b8baa420/node_modules/use-sidecar/dist/es2015/medium.es.js +71 -0
  494. package/dist/node_modules/.bun/use-sidecar@1.1.3_93dbe784b8baa420/node_modules/use-sidecar/dist/es2015/medium.es.js.map +1 -0
  495. package/package.json +87 -25
  496. package/src/index.css +0 -1
@@ -0,0 +1,2 @@
1
+ const e=require("../../_virtual/_rolldown/runtime.cjs.js"),t=require("../../node_modules/.bun/cnfast@0.0.8/node_modules/cnfast/dist/index.cjs.js");let n=require("react/jsx-runtime"),r=require("react");r=e.__toESM(r,1);function i({className:e,size:r=`default`,...i}){return(0,n.jsx)(`div`,{"data-slot":`card`,"data-size":r,className:t.cn(`group/card flex flex-col gap-(--card-spacing) overflow-hidden rounded-xl bg-card py-(--card-spacing) text-sm text-card-foreground ring-1 ring-foreground/10 [--card-spacing:--spacing(4)] has-data-[slot=card-footer]:pb-0 has-[>img:first-child]:pt-0 data-[size=sm]:[--card-spacing:--spacing(3)] data-[size=sm]:has-data-[slot=card-footer]:pb-0 *:[img:first-child]:rounded-t-xl *:[img:last-child]:rounded-b-xl`,e),...i})}function a({className:e,...r}){return(0,n.jsx)(`div`,{"data-slot":`card-header`,className:t.cn(`group/card-header @container/card-header grid auto-rows-min items-start gap-1 rounded-t-xl px-(--card-spacing) has-data-[slot=card-action]:grid-cols-[1fr_auto] has-data-[slot=card-description]:grid-rows-[auto_auto] [.border-b]:pb-(--card-spacing)`,e),...r})}function o({className:e,...r}){return(0,n.jsx)(`div`,{"data-slot":`card-title`,className:t.cn(`font-heading text-base leading-snug font-medium group-data-[size=sm]/card:text-sm`,e),...r})}function s({className:e,...r}){return(0,n.jsx)(`div`,{"data-slot":`card-description`,className:t.cn(`text-sm text-muted-foreground`,e),...r})}function c({className:e,...r}){return(0,n.jsx)(`div`,{"data-slot":`card-action`,className:t.cn(`col-start-2 row-span-2 row-start-1 self-start justify-self-end`,e),...r})}function l({className:e,...r}){return(0,n.jsx)(`div`,{"data-slot":`card-content`,className:t.cn(`px-(--card-spacing)`,e),...r})}function u({className:e,...r}){return(0,n.jsx)(`div`,{"data-slot":`card-footer`,className:t.cn(`flex items-center rounded-b-xl border-t bg-muted/50 p-(--card-spacing)`,e),...r})}exports.Card=i,exports.CardAction=c,exports.CardContent=l,exports.CardDescription=s,exports.CardFooter=u,exports.CardHeader=a,exports.CardTitle=o;
2
+ //# sourceMappingURL=card.cjs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"card.cjs.js","names":[],"sources":["../../../src/components/ui/card.tsx"],"sourcesContent":["import * as React from \"react\"\n\nimport { cn } from \"../../lib/utils\"\n\nfunction Card({\n className,\n size = \"default\",\n ...props\n}: React.ComponentProps<\"div\"> & { size?: \"default\" | \"sm\" }) {\n return (\n <div\n data-slot=\"card\"\n data-size={size}\n className={cn(\n \"group/card flex flex-col gap-(--card-spacing) overflow-hidden rounded-xl bg-card py-(--card-spacing) text-sm text-card-foreground ring-1 ring-foreground/10 [--card-spacing:--spacing(4)] has-data-[slot=card-footer]:pb-0 has-[>img:first-child]:pt-0 data-[size=sm]:[--card-spacing:--spacing(3)] data-[size=sm]:has-data-[slot=card-footer]:pb-0 *:[img:first-child]:rounded-t-xl *:[img:last-child]:rounded-b-xl\",\n className\n )}\n {...props}\n />\n )\n}\n\nfunction CardHeader({ className, ...props }: React.ComponentProps<\"div\">) {\n return (\n <div\n data-slot=\"card-header\"\n className={cn(\n \"group/card-header @container/card-header grid auto-rows-min items-start gap-1 rounded-t-xl px-(--card-spacing) has-data-[slot=card-action]:grid-cols-[1fr_auto] has-data-[slot=card-description]:grid-rows-[auto_auto] [.border-b]:pb-(--card-spacing)\",\n className\n )}\n {...props}\n />\n )\n}\n\nfunction CardTitle({ className, ...props }: React.ComponentProps<\"div\">) {\n return (\n <div\n data-slot=\"card-title\"\n className={cn(\n \"font-heading text-base leading-snug font-medium group-data-[size=sm]/card:text-sm\",\n className\n )}\n {...props}\n />\n )\n}\n\nfunction CardDescription({ className, ...props }: React.ComponentProps<\"div\">) {\n return (\n <div\n data-slot=\"card-description\"\n className={cn(\"text-sm text-muted-foreground\", className)}\n {...props}\n />\n )\n}\n\nfunction CardAction({ className, ...props }: React.ComponentProps<\"div\">) {\n return (\n <div\n data-slot=\"card-action\"\n className={cn(\n \"col-start-2 row-span-2 row-start-1 self-start justify-self-end\",\n className\n )}\n {...props}\n />\n )\n}\n\nfunction CardContent({ className, ...props }: React.ComponentProps<\"div\">) {\n return (\n <div\n data-slot=\"card-content\"\n className={cn(\"px-(--card-spacing)\", className)}\n {...props}\n />\n )\n}\n\nfunction CardFooter({ className, ...props }: React.ComponentProps<\"div\">) {\n return (\n <div\n data-slot=\"card-footer\"\n className={cn(\n \"flex items-center rounded-b-xl border-t bg-muted/50 p-(--card-spacing)\",\n className\n )}\n {...props}\n />\n )\n}\n\nexport {\n Card,\n CardHeader,\n CardFooter,\n CardTitle,\n CardAction,\n CardDescription,\n CardContent,\n}\n"],"mappings":"0NAIA,SAAS,EAAK,CACZ,YACA,OAAO,UACP,GAAG,GACyD,CAC5D,OACE,EAAA,EAAA,IAAA,CAAC,MAAD,CACE,YAAU,OACV,YAAW,EACX,UAAW,EAAA,GACT,uZACA,CACF,EACA,GAAI,CACL,CAAA,CAEL,CAEA,SAAS,EAAW,CAAE,YAAW,GAAG,GAAsC,CACxE,OACE,EAAA,EAAA,IAAA,CAAC,MAAD,CACE,YAAU,cACV,UAAW,EAAA,GACT,yPACA,CACF,EACA,GAAI,CACL,CAAA,CAEL,CAEA,SAAS,EAAU,CAAE,YAAW,GAAG,GAAsC,CACvE,OACE,EAAA,EAAA,IAAA,CAAC,MAAD,CACE,YAAU,aACV,UAAW,EAAA,GACT,oFACA,CACF,EACA,GAAI,CACL,CAAA,CAEL,CAEA,SAAS,EAAgB,CAAE,YAAW,GAAG,GAAsC,CAC7E,OACE,EAAA,EAAA,IAAA,CAAC,MAAD,CACE,YAAU,mBACV,UAAW,EAAA,GAAG,gCAAiC,CAAS,EACxD,GAAI,CACL,CAAA,CAEL,CAEA,SAAS,EAAW,CAAE,YAAW,GAAG,GAAsC,CACxE,OACE,EAAA,EAAA,IAAA,CAAC,MAAD,CACE,YAAU,cACV,UAAW,EAAA,GACT,iEACA,CACF,EACA,GAAI,CACL,CAAA,CAEL,CAEA,SAAS,EAAY,CAAE,YAAW,GAAG,GAAsC,CACzE,OACE,EAAA,EAAA,IAAA,CAAC,MAAD,CACE,YAAU,eACV,UAAW,EAAA,GAAG,sBAAuB,CAAS,EAC9C,GAAI,CACL,CAAA,CAEL,CAEA,SAAS,EAAW,CAAE,YAAW,GAAG,GAAsC,CACxE,OACE,EAAA,EAAA,IAAA,CAAC,MAAD,CACE,YAAU,cACV,UAAW,EAAA,GACT,yEACA,CACF,EACA,GAAI,CACL,CAAA,CAEL"}
@@ -0,0 +1,58 @@
1
+ import { cn as e } from "../../node_modules/.bun/cnfast@0.0.8/node_modules/cnfast/dist/index.es.js";
2
+ import { jsx as t } from "react/jsx-runtime";
3
+ import "react";
4
+ //#region src/components/ui/card.tsx
5
+ function n({ className: n, size: r = "default", ...i }) {
6
+ return /* @__PURE__ */ t("div", {
7
+ "data-slot": "card",
8
+ "data-size": r,
9
+ className: e("group/card flex flex-col gap-(--card-spacing) overflow-hidden rounded-xl bg-card py-(--card-spacing) text-sm text-card-foreground ring-1 ring-foreground/10 [--card-spacing:--spacing(4)] has-data-[slot=card-footer]:pb-0 has-[>img:first-child]:pt-0 data-[size=sm]:[--card-spacing:--spacing(3)] data-[size=sm]:has-data-[slot=card-footer]:pb-0 *:[img:first-child]:rounded-t-xl *:[img:last-child]:rounded-b-xl", n),
10
+ ...i
11
+ });
12
+ }
13
+ function r({ className: n, ...r }) {
14
+ return /* @__PURE__ */ t("div", {
15
+ "data-slot": "card-header",
16
+ className: e("group/card-header @container/card-header grid auto-rows-min items-start gap-1 rounded-t-xl px-(--card-spacing) has-data-[slot=card-action]:grid-cols-[1fr_auto] has-data-[slot=card-description]:grid-rows-[auto_auto] [.border-b]:pb-(--card-spacing)", n),
17
+ ...r
18
+ });
19
+ }
20
+ function i({ className: n, ...r }) {
21
+ return /* @__PURE__ */ t("div", {
22
+ "data-slot": "card-title",
23
+ className: e("font-heading text-base leading-snug font-medium group-data-[size=sm]/card:text-sm", n),
24
+ ...r
25
+ });
26
+ }
27
+ function a({ className: n, ...r }) {
28
+ return /* @__PURE__ */ t("div", {
29
+ "data-slot": "card-description",
30
+ className: e("text-sm text-muted-foreground", n),
31
+ ...r
32
+ });
33
+ }
34
+ function o({ className: n, ...r }) {
35
+ return /* @__PURE__ */ t("div", {
36
+ "data-slot": "card-action",
37
+ className: e("col-start-2 row-span-2 row-start-1 self-start justify-self-end", n),
38
+ ...r
39
+ });
40
+ }
41
+ function s({ className: n, ...r }) {
42
+ return /* @__PURE__ */ t("div", {
43
+ "data-slot": "card-content",
44
+ className: e("px-(--card-spacing)", n),
45
+ ...r
46
+ });
47
+ }
48
+ function c({ className: n, ...r }) {
49
+ return /* @__PURE__ */ t("div", {
50
+ "data-slot": "card-footer",
51
+ className: e("flex items-center rounded-b-xl border-t bg-muted/50 p-(--card-spacing)", n),
52
+ ...r
53
+ });
54
+ }
55
+ //#endregion
56
+ export { n as Card, o as CardAction, s as CardContent, a as CardDescription, c as CardFooter, r as CardHeader, i as CardTitle };
57
+
58
+ //# sourceMappingURL=card.es.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"card.es.js","names":[],"sources":["../../../src/components/ui/card.tsx"],"sourcesContent":["import * as React from \"react\"\n\nimport { cn } from \"../../lib/utils\"\n\nfunction Card({\n className,\n size = \"default\",\n ...props\n}: React.ComponentProps<\"div\"> & { size?: \"default\" | \"sm\" }) {\n return (\n <div\n data-slot=\"card\"\n data-size={size}\n className={cn(\n \"group/card flex flex-col gap-(--card-spacing) overflow-hidden rounded-xl bg-card py-(--card-spacing) text-sm text-card-foreground ring-1 ring-foreground/10 [--card-spacing:--spacing(4)] has-data-[slot=card-footer]:pb-0 has-[>img:first-child]:pt-0 data-[size=sm]:[--card-spacing:--spacing(3)] data-[size=sm]:has-data-[slot=card-footer]:pb-0 *:[img:first-child]:rounded-t-xl *:[img:last-child]:rounded-b-xl\",\n className\n )}\n {...props}\n />\n )\n}\n\nfunction CardHeader({ className, ...props }: React.ComponentProps<\"div\">) {\n return (\n <div\n data-slot=\"card-header\"\n className={cn(\n \"group/card-header @container/card-header grid auto-rows-min items-start gap-1 rounded-t-xl px-(--card-spacing) has-data-[slot=card-action]:grid-cols-[1fr_auto] has-data-[slot=card-description]:grid-rows-[auto_auto] [.border-b]:pb-(--card-spacing)\",\n className\n )}\n {...props}\n />\n )\n}\n\nfunction CardTitle({ className, ...props }: React.ComponentProps<\"div\">) {\n return (\n <div\n data-slot=\"card-title\"\n className={cn(\n \"font-heading text-base leading-snug font-medium group-data-[size=sm]/card:text-sm\",\n className\n )}\n {...props}\n />\n )\n}\n\nfunction CardDescription({ className, ...props }: React.ComponentProps<\"div\">) {\n return (\n <div\n data-slot=\"card-description\"\n className={cn(\"text-sm text-muted-foreground\", className)}\n {...props}\n />\n )\n}\n\nfunction CardAction({ className, ...props }: React.ComponentProps<\"div\">) {\n return (\n <div\n data-slot=\"card-action\"\n className={cn(\n \"col-start-2 row-span-2 row-start-1 self-start justify-self-end\",\n className\n )}\n {...props}\n />\n )\n}\n\nfunction CardContent({ className, ...props }: React.ComponentProps<\"div\">) {\n return (\n <div\n data-slot=\"card-content\"\n className={cn(\"px-(--card-spacing)\", className)}\n {...props}\n />\n )\n}\n\nfunction CardFooter({ className, ...props }: React.ComponentProps<\"div\">) {\n return (\n <div\n data-slot=\"card-footer\"\n className={cn(\n \"flex items-center rounded-b-xl border-t bg-muted/50 p-(--card-spacing)\",\n className\n )}\n {...props}\n />\n )\n}\n\nexport {\n Card,\n CardHeader,\n CardFooter,\n CardTitle,\n CardAction,\n CardDescription,\n CardContent,\n}\n"],"mappings":";;;;AAIA,SAAS,EAAK,EACZ,cACA,UAAO,WACP,GAAG,KACyD;CAC5D,OACE,kBAAC,OAAD;EACE,aAAU;EACV,aAAW;EACX,WAAW,EACT,wZACA,CACF;EACA,GAAI;CACL,CAAA;AAEL;AAEA,SAAS,EAAW,EAAE,cAAW,GAAG,KAAsC;CACxE,OACE,kBAAC,OAAD;EACE,aAAU;EACV,WAAW,EACT,0PACA,CACF;EACA,GAAI;CACL,CAAA;AAEL;AAEA,SAAS,EAAU,EAAE,cAAW,GAAG,KAAsC;CACvE,OACE,kBAAC,OAAD;EACE,aAAU;EACV,WAAW,EACT,qFACA,CACF;EACA,GAAI;CACL,CAAA;AAEL;AAEA,SAAS,EAAgB,EAAE,cAAW,GAAG,KAAsC;CAC7E,OACE,kBAAC,OAAD;EACE,aAAU;EACV,WAAW,EAAG,iCAAiC,CAAS;EACxD,GAAI;CACL,CAAA;AAEL;AAEA,SAAS,EAAW,EAAE,cAAW,GAAG,KAAsC;CACxE,OACE,kBAAC,OAAD;EACE,aAAU;EACV,WAAW,EACT,kEACA,CACF;EACA,GAAI;CACL,CAAA;AAEL;AAEA,SAAS,EAAY,EAAE,cAAW,GAAG,KAAsC;CACzE,OACE,kBAAC,OAAD;EACE,aAAU;EACV,WAAW,EAAG,uBAAuB,CAAS;EAC9C,GAAI;CACL,CAAA;AAEL;AAEA,SAAS,EAAW,EAAE,cAAW,GAAG,KAAsC;CACxE,OACE,kBAAC,OAAD;EACE,aAAU;EACV,WAAW,EACT,0EACA,CACF;EACA,GAAI;CACL,CAAA;AAEL"}
@@ -0,0 +1,2 @@
1
+ "use client";const e=require("../../_virtual/_rolldown/runtime.cjs.js"),t=require("../../node_modules/.bun/cnfast@0.0.8/node_modules/cnfast/dist/index.cjs.js"),n=require("./button.cjs.js"),r=require("../../node_modules/.bun/embla-carousel-react@8.6.0_e14d3f224186685e/node_modules/embla-carousel-react/esm/embla-carousel-react.esm.cjs.js");let i=require("lucide-react"),a=require("react/jsx-runtime"),o=require("react");o=e.__toESM(o,1);var s=o.createContext(null);function c(){let e=o.useContext(s);if(!e)throw Error(`useCarousel must be used within a <Carousel />`);return e}function l({orientation:e=`horizontal`,opts:n,setApi:i,plugins:c,className:l,children:u,...d}){let[f,p]=r.default({...n,axis:e===`horizontal`?`x`:`y`},c),[m,h]=o.useState(!1),[g,_]=o.useState(!1),v=o.useCallback(e=>{e&&(h(e.canScrollPrev()),_(e.canScrollNext()))},[]),y=o.useCallback(()=>{p?.scrollPrev()},[p]),b=o.useCallback(()=>{p?.scrollNext()},[p]),x=o.useCallback(e=>{e.key===`ArrowLeft`?(e.preventDefault(),y()):e.key===`ArrowRight`&&(e.preventDefault(),b())},[y,b]);return o.useEffect(()=>{!p||!i||i(p)},[p,i]),o.useEffect(()=>{if(p)return v(p),p.on(`reInit`,v),p.on(`select`,v),()=>{p?.off(`select`,v)}},[p,v]),(0,a.jsx)(s.Provider,{value:{carouselRef:f,api:p,opts:n,orientation:e||(n?.axis===`y`?`vertical`:`horizontal`),scrollPrev:y,scrollNext:b,canScrollPrev:m,canScrollNext:g},children:(0,a.jsx)(`div`,{onKeyDownCapture:x,className:t.cn(`relative`,l),role:`region`,"aria-roledescription":`carousel`,"data-slot":`carousel`,...d,children:u})})}function u({className:e,...n}){let{carouselRef:r,orientation:i}=c();return(0,a.jsx)(`div`,{ref:r,className:`overflow-hidden`,"data-slot":`carousel-content`,children:(0,a.jsx)(`div`,{className:t.cn(`flex`,i===`horizontal`?`-ml-4`:`-mt-4 flex-col`,e),...n})})}function d({className:e,...n}){let{orientation:r}=c();return(0,a.jsx)(`div`,{role:`group`,"aria-roledescription":`slide`,"data-slot":`carousel-item`,className:t.cn(`min-w-0 shrink-0 grow-0 basis-full`,r===`horizontal`?`pl-4`:`pt-4`,e),...n})}function f({className:e,variant:r=`outline`,size:o=`icon-sm`,...s}){let{orientation:l,scrollPrev:u,canScrollPrev:d}=c();return(0,a.jsxs)(n.Button,{"data-slot":`carousel-previous`,variant:r,size:o,className:t.cn(`absolute touch-manipulation rounded-full`,l===`horizontal`?`inset-y-0 -left-12 my-auto`:`-top-12 left-1/2 -translate-x-1/2 rotate-90`,e),disabled:!d,onClick:u,...s,children:[(0,a.jsx)(i.ChevronLeftIcon,{}),(0,a.jsx)(`span`,{className:`sr-only`,children:`Previous slide`})]})}function p({className:e,variant:r=`outline`,size:o=`icon-sm`,...s}){let{orientation:l,scrollNext:u,canScrollNext:d}=c();return(0,a.jsxs)(n.Button,{"data-slot":`carousel-next`,variant:r,size:o,className:t.cn(`absolute touch-manipulation rounded-full`,l===`horizontal`?`inset-y-0 -right-12 my-auto`:`-bottom-12 left-1/2 -translate-x-1/2 rotate-90`,e),disabled:!d,onClick:u,...s,children:[(0,a.jsx)(i.ChevronRightIcon,{}),(0,a.jsx)(`span`,{className:`sr-only`,children:`Next slide`})]})}exports.Carousel=l,exports.CarouselContent=u,exports.CarouselItem=d,exports.CarouselNext=p,exports.CarouselPrevious=f,exports.useCarousel=c;
2
+ //# sourceMappingURL=carousel.cjs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"carousel.cjs.js","names":[],"sources":["../../../src/components/ui/carousel.tsx"],"sourcesContent":["\"use client\"\n\nimport * as React from \"react\"\nimport useEmblaCarousel, {\n type UseEmblaCarouselType,\n} from \"embla-carousel-react\"\n\nimport { cn } from \"../../lib/utils\"\nimport { Button } from \"./button\"\nimport { ChevronLeftIcon, ChevronRightIcon } from \"lucide-react\"\n\ntype CarouselApi = UseEmblaCarouselType[1]\ntype UseCarouselParameters = Parameters<typeof useEmblaCarousel>\ntype CarouselOptions = UseCarouselParameters[0]\ntype CarouselPlugin = UseCarouselParameters[1]\n\ntype CarouselProps = {\n opts?: CarouselOptions\n plugins?: CarouselPlugin\n orientation?: \"horizontal\" | \"vertical\"\n setApi?: (api: CarouselApi) => void\n}\n\ntype CarouselContextProps = {\n carouselRef: ReturnType<typeof useEmblaCarousel>[0]\n api: ReturnType<typeof useEmblaCarousel>[1]\n scrollPrev: () => void\n scrollNext: () => void\n canScrollPrev: boolean\n canScrollNext: boolean\n} & CarouselProps\n\nconst CarouselContext = React.createContext<CarouselContextProps | null>(null)\n\nfunction useCarousel() {\n const context = React.useContext(CarouselContext)\n\n if (!context) {\n throw new Error(\"useCarousel must be used within a <Carousel />\")\n }\n\n return context\n}\n\nfunction Carousel({\n orientation = \"horizontal\",\n opts,\n setApi,\n plugins,\n className,\n children,\n ...props\n}: React.ComponentProps<\"div\"> & CarouselProps) {\n const [carouselRef, api] = useEmblaCarousel(\n {\n ...opts,\n axis: orientation === \"horizontal\" ? \"x\" : \"y\",\n },\n plugins\n )\n const [canScrollPrev, setCanScrollPrev] = React.useState(false)\n const [canScrollNext, setCanScrollNext] = React.useState(false)\n\n const onSelect = React.useCallback((api: CarouselApi) => {\n if (!api) return\n setCanScrollPrev(api.canScrollPrev())\n setCanScrollNext(api.canScrollNext())\n }, [])\n\n const scrollPrev = React.useCallback(() => {\n api?.scrollPrev()\n }, [api])\n\n const scrollNext = React.useCallback(() => {\n api?.scrollNext()\n }, [api])\n\n const handleKeyDown = React.useCallback(\n (event: React.KeyboardEvent<HTMLDivElement>) => {\n if (event.key === \"ArrowLeft\") {\n event.preventDefault()\n scrollPrev()\n } else if (event.key === \"ArrowRight\") {\n event.preventDefault()\n scrollNext()\n }\n },\n [scrollPrev, scrollNext]\n )\n\n React.useEffect(() => {\n if (!api || !setApi) return\n setApi(api)\n }, [api, setApi])\n\n React.useEffect(() => {\n if (!api) return\n onSelect(api)\n api.on(\"reInit\", onSelect)\n api.on(\"select\", onSelect)\n\n return () => {\n api?.off(\"select\", onSelect)\n }\n }, [api, onSelect])\n\n return (\n <CarouselContext.Provider\n value={{\n carouselRef,\n api: api,\n opts,\n orientation:\n orientation || (opts?.axis === \"y\" ? \"vertical\" : \"horizontal\"),\n scrollPrev,\n scrollNext,\n canScrollPrev,\n canScrollNext,\n }}\n >\n <div\n onKeyDownCapture={handleKeyDown}\n className={cn(\"relative\", className)}\n role=\"region\"\n aria-roledescription=\"carousel\"\n data-slot=\"carousel\"\n {...props}\n >\n {children}\n </div>\n </CarouselContext.Provider>\n )\n}\n\nfunction CarouselContent({ className, ...props }: React.ComponentProps<\"div\">) {\n const { carouselRef, orientation } = useCarousel()\n\n return (\n <div\n ref={carouselRef}\n className=\"overflow-hidden\"\n data-slot=\"carousel-content\"\n >\n <div\n className={cn(\n \"flex\",\n orientation === \"horizontal\" ? \"-ml-4\" : \"-mt-4 flex-col\",\n className\n )}\n {...props}\n />\n </div>\n )\n}\n\nfunction CarouselItem({ className, ...props }: React.ComponentProps<\"div\">) {\n const { orientation } = useCarousel()\n\n return (\n <div\n role=\"group\"\n aria-roledescription=\"slide\"\n data-slot=\"carousel-item\"\n className={cn(\n \"min-w-0 shrink-0 grow-0 basis-full\",\n orientation === \"horizontal\" ? \"pl-4\" : \"pt-4\",\n className\n )}\n {...props}\n />\n )\n}\n\nfunction CarouselPrevious({\n className,\n variant = \"outline\",\n size = \"icon-sm\",\n ...props\n}: React.ComponentProps<typeof Button>) {\n const { orientation, scrollPrev, canScrollPrev } = useCarousel()\n\n return (\n <Button\n data-slot=\"carousel-previous\"\n variant={variant}\n size={size}\n className={cn(\n \"absolute touch-manipulation rounded-full\",\n orientation === \"horizontal\"\n ? \"inset-y-0 -left-12 my-auto\"\n : \"-top-12 left-1/2 -translate-x-1/2 rotate-90\",\n className\n )}\n disabled={!canScrollPrev}\n onClick={scrollPrev}\n {...props}\n >\n <ChevronLeftIcon />\n <span className=\"sr-only\">Previous slide</span>\n </Button>\n )\n}\n\nfunction CarouselNext({\n className,\n variant = \"outline\",\n size = \"icon-sm\",\n ...props\n}: React.ComponentProps<typeof Button>) {\n const { orientation, scrollNext, canScrollNext } = useCarousel()\n\n return (\n <Button\n data-slot=\"carousel-next\"\n variant={variant}\n size={size}\n className={cn(\n \"absolute touch-manipulation rounded-full\",\n orientation === \"horizontal\"\n ? \"inset-y-0 -right-12 my-auto\"\n : \"-bottom-12 left-1/2 -translate-x-1/2 rotate-90\",\n className\n )}\n disabled={!canScrollNext}\n onClick={scrollNext}\n {...props}\n >\n <ChevronRightIcon />\n <span className=\"sr-only\">Next slide</span>\n </Button>\n )\n}\n\nexport {\n type CarouselApi,\n Carousel,\n CarouselContent,\n CarouselItem,\n CarouselPrevious,\n CarouselNext,\n useCarousel,\n}\n"],"mappings":"qbAgCA,IAAM,EAAkB,EAAM,cAA2C,IAAI,EAE7E,SAAS,GAAc,CACrB,IAAM,EAAU,EAAM,WAAW,CAAe,EAEhD,GAAI,CAAC,EACH,MAAU,MAAM,gDAAgD,EAGlE,OAAO,CACT,CAEA,SAAS,EAAS,CAChB,cAAc,aACd,OACA,SACA,UACA,YACA,WACA,GAAG,GAC2C,CAC9C,GAAM,CAAC,EAAa,GAAO,EAAA,QACzB,CACE,GAAG,EACH,KAAM,IAAgB,aAAe,IAAM,GAC7C,EACA,CACF,EACM,CAAC,EAAe,GAAoB,EAAM,SAAS,EAAK,EACxD,CAAC,EAAe,GAAoB,EAAM,SAAS,EAAK,EAExD,EAAW,EAAM,YAAa,GAAqB,CAClD,IACL,EAAiB,EAAI,cAAc,CAAC,EACpC,EAAiB,EAAI,cAAc,CAAC,EACtC,EAAG,CAAC,CAAC,EAEC,EAAa,EAAM,gBAAk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AC1E,GAAM,CAAE,eAAgB,EAAY,EAEpC,OACE,EAAA,EAAA,IAAA,CAAC,MAAD,CACE,KAAK,QACL,uBAAqB,QACrB,YAAU,gBACV,UAAW,EAAA,GACT,qCACA,IAAgB,aAAe,OAAS,OACxC,CACF,EACA,GAAI,CACL,CAAA,CAEL,CAEA,SAAS,EAAiB,CACxB,YACA,UAAU,UACV,OAAO,UACP,GAAG,GACmC,CACtC,GAAM,CAAE,cAAa,aAAY,iBAAkB,EAAY,EAE/D,OACE,EAAA,EAAA,KAAA,CAAC,EAAA,OAAD,CACE,YAAU,oBACD,UACH,OACN,UAAW,EAAA,GACT,2CACA,IAAgB,aACZ,6BACA,8CACJ,CACF,EACA,SAAU,CAAC,EACX,QAAS,EACT,GAAI,WAbN,EAeE,EAAA,EAAA,IAAA,CAAC,EAAA,gBAAD,CAAkB,CAAA,GAClB,EAAA,EAAA,IAAA,CAAC,OAAD,CAAM,UAAU,mBAAU,gBAAoB,CAAA,CACxC,GAEZ,CAEA,SAAS,EAAa,CACpB,YACA,UAAU,UACV,OAAO,UACP,GAAG,GACmC,CACtC,GAAM,CAAE,cAAa,aAAY,iBAAkB,EAAY,EAE/D,OACE,EAAA,EAAA,KAAA,CAAC,EAAA,OAAD,CACE,YAAU,gBACD,UACH,OACN,UAAW,EAAA,GACT,2CACA,IAAgB,aACZ,8BACA,iDACJ,CACF,EACA,SAAU,CAAC,EACX,QAAS,EACT,GAAI,WAbN,EAeE,EAAA,EAAA,IAAA,CAAC,EAAA,iBAAD,CAAmB,CAAA,GACnB,EAAA,EAAA,IAAA,CAAC,OAAD,CAAM,UAAU,mBAAU,YAAgB,CAAA,CACpC,GAEZ"}
@@ -1,6 +1,6 @@
1
+ import { default as useEmblaCarousel, UseEmblaCarouselType } from 'embla-carousel-react';
2
+ import { Button } from './button';
1
3
  import * as React from "react";
2
- import useEmblaCarousel, { type UseEmblaCarouselType } from "embla-carousel-react";
3
- import { Button } from "./button";
4
4
  type CarouselApi = UseEmblaCarouselType[1];
5
5
  type UseCarouselParameters = Parameters<typeof useEmblaCarousel>;
6
6
  type CarouselOptions = UseCarouselParameters[0];
@@ -0,0 +1,113 @@
1
+ "use client";
2
+ import { cn as e } from "../../node_modules/.bun/cnfast@0.0.8/node_modules/cnfast/dist/index.es.js";
3
+ import { Button as t } from "./button.es.js";
4
+ import n from "../../node_modules/.bun/embla-carousel-react@8.6.0_e14d3f224186685e/node_modules/embla-carousel-react/esm/embla-carousel-react.esm.es.js";
5
+ import { ChevronLeftIcon as r, ChevronRightIcon as i } from "lucide-react";
6
+ import { jsx as a, jsxs as o } from "react/jsx-runtime";
7
+ import * as s from "react";
8
+ //#region src/components/ui/carousel.tsx
9
+ var c = s.createContext(null);
10
+ function l() {
11
+ let e = s.useContext(c);
12
+ if (!e) throw Error("useCarousel must be used within a <Carousel />");
13
+ return e;
14
+ }
15
+ function u({ orientation: t = "horizontal", opts: r, setApi: i, plugins: o, className: l, children: u, ...d }) {
16
+ let [f, p] = n({
17
+ ...r,
18
+ axis: t === "horizontal" ? "x" : "y"
19
+ }, o), [m, h] = s.useState(!1), [g, _] = s.useState(!1), v = s.useCallback((e) => {
20
+ e && (h(e.canScrollPrev()), _(e.canScrollNext()));
21
+ }, []), y = s.useCallback(() => {
22
+ p?.scrollPrev();
23
+ }, [p]), b = s.useCallback(() => {
24
+ p?.scrollNext();
25
+ }, [p]), x = s.useCallback((e) => {
26
+ e.key === "ArrowLeft" ? (e.preventDefault(), y()) : e.key === "ArrowRight" && (e.preventDefault(), b());
27
+ }, [y, b]);
28
+ return s.useEffect(() => {
29
+ !p || !i || i(p);
30
+ }, [p, i]), s.useEffect(() => {
31
+ if (p) return v(p), p.on("reInit", v), p.on("select", v), () => {
32
+ p?.off("select", v);
33
+ };
34
+ }, [p, v]), /* @__PURE__ */ a(c.Provider, {
35
+ value: {
36
+ carouselRef: f,
37
+ api: p,
38
+ opts: r,
39
+ orientation: t || (r?.axis === "y" ? "vertical" : "horizontal"),
40
+ scrollPrev: y,
41
+ scrollNext: b,
42
+ canScrollPrev: m,
43
+ canScrollNext: g
44
+ },
45
+ children: /* @__PURE__ */ a("div", {
46
+ onKeyDownCapture: x,
47
+ className: e("relative", l),
48
+ role: "region",
49
+ "aria-roledescription": "carousel",
50
+ "data-slot": "carousel",
51
+ ...d,
52
+ children: u
53
+ })
54
+ });
55
+ }
56
+ function d({ className: t, ...n }) {
57
+ let { carouselRef: r, orientation: i } = l();
58
+ return /* @__PURE__ */ a("div", {
59
+ ref: r,
60
+ className: "overflow-hidden",
61
+ "data-slot": "carousel-content",
62
+ children: /* @__PURE__ */ a("div", {
63
+ className: e("flex", i === "horizontal" ? "-ml-4" : "-mt-4 flex-col", t),
64
+ ...n
65
+ })
66
+ });
67
+ }
68
+ function f({ className: t, ...n }) {
69
+ let { orientation: r } = l();
70
+ return /* @__PURE__ */ a("div", {
71
+ role: "group",
72
+ "aria-roledescription": "slide",
73
+ "data-slot": "carousel-item",
74
+ className: e("min-w-0 shrink-0 grow-0 basis-full", r === "horizontal" ? "pl-4" : "pt-4", t),
75
+ ...n
76
+ });
77
+ }
78
+ function p({ className: n, variant: i = "outline", size: s = "icon-sm", ...c }) {
79
+ let { orientation: u, scrollPrev: d, canScrollPrev: f } = l();
80
+ return /* @__PURE__ */ o(t, {
81
+ "data-slot": "carousel-previous",
82
+ variant: i,
83
+ size: s,
84
+ className: e("absolute touch-manipulation rounded-full", u === "horizontal" ? "inset-y-0 -left-12 my-auto" : "-top-12 left-1/2 -translate-x-1/2 rotate-90", n),
85
+ disabled: !f,
86
+ onClick: d,
87
+ ...c,
88
+ children: [/* @__PURE__ */ a(r, {}), /* @__PURE__ */ a("span", {
89
+ className: "sr-only",
90
+ children: "Previous slide"
91
+ })]
92
+ });
93
+ }
94
+ function m({ className: n, variant: r = "outline", size: s = "icon-sm", ...c }) {
95
+ let { orientation: u, scrollNext: d, canScrollNext: f } = l();
96
+ return /* @__PURE__ */ o(t, {
97
+ "data-slot": "carousel-next",
98
+ variant: r,
99
+ size: s,
100
+ className: e("absolute touch-manipulation rounded-full", u === "horizontal" ? "inset-y-0 -right-12 my-auto" : "-bottom-12 left-1/2 -translate-x-1/2 rotate-90", n),
101
+ disabled: !f,
102
+ onClick: d,
103
+ ...c,
104
+ children: [/* @__PURE__ */ a(i, {}), /* @__PURE__ */ a("span", {
105
+ className: "sr-only",
106
+ children: "Next slide"
107
+ })]
108
+ });
109
+ }
110
+ //#endregion
111
+ export { u as Carousel, d as CarouselContent, f as CarouselItem, m as CarouselNext, p as CarouselPrevious, l as useCarousel };
112
+
113
+ //# sourceMappingURL=carousel.es.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"carousel.es.js","names":[],"sources":["../../../src/components/ui/carousel.tsx"],"sourcesContent":["\"use client\"\n\nimport * as React from \"react\"\nimport useEmblaCarousel, {\n type UseEmblaCarouselType,\n} from \"embla-carousel-react\"\n\nimport { cn } from \"../../lib/utils\"\nimport { Button } from \"./button\"\nimport { ChevronLeftIcon, ChevronRightIcon } from \"lucide-react\"\n\ntype CarouselApi = UseEmblaCarouselType[1]\ntype UseCarouselParameters = Parameters<typeof useEmblaCarousel>\ntype CarouselOptions = UseCarouselParameters[0]\ntype CarouselPlugin = UseCarouselParameters[1]\n\ntype CarouselProps = {\n opts?: CarouselOptions\n plugins?: CarouselPlugin\n orientation?: \"horizontal\" | \"vertical\"\n setApi?: (api: CarouselApi) => void\n}\n\ntype CarouselContextProps = {\n carouselRef: ReturnType<typeof useEmblaCarousel>[0]\n api: ReturnType<typeof useEmblaCarousel>[1]\n scrollPrev: () => void\n scrollNext: () => void\n canScrollPrev: boolean\n canScrollNext: boolean\n} & CarouselProps\n\nconst CarouselContext = React.createContext<CarouselContextProps | null>(null)\n\nfunction useCarousel() {\n const context = React.useContext(CarouselContext)\n\n if (!context) {\n throw new Error(\"useCarousel must be used within a <Carousel />\")\n }\n\n return context\n}\n\nfunction Carousel({\n orientation = \"horizontal\",\n opts,\n setApi,\n plugins,\n className,\n children,\n ...props\n}: React.ComponentProps<\"div\"> & CarouselProps) {\n const [carouselRef, api] = useEmblaCarousel(\n {\n ...opts,\n axis: orientation === \"horizontal\" ? \"x\" : \"y\",\n },\n plugins\n )\n const [canScrollPrev, setCanScrollPrev] = React.useState(false)\n const [canScrollNext, setCanScrollNext] = React.useState(false)\n\n const onSelect = React.useCallback((api: CarouselApi) => {\n if (!api) return\n setCanScrollPrev(api.canScrollPrev())\n setCanScrollNext(api.canScrollNext())\n }, [])\n\n const scrollPrev = React.useCallback(() => {\n api?.scrollPrev()\n }, [api])\n\n const scrollNext = React.useCallback(() => {\n api?.scrollNext()\n }, [api])\n\n const handleKeyDown = React.useCallback(\n (event: React.KeyboardEvent<HTMLDivElement>) => {\n if (event.key === \"ArrowLeft\") {\n event.preventDefault()\n scrollPrev()\n } else if (event.key === \"ArrowRight\") {\n event.preventDefault()\n scrollNext()\n }\n },\n [scrollPrev, scrollNext]\n )\n\n React.useEffect(() => {\n if (!api || !setApi) return\n setApi(api)\n }, [api, setApi])\n\n React.useEffect(() => {\n if (!api) return\n onSelect(api)\n api.on(\"reInit\", onSelect)\n api.on(\"select\", onSelect)\n\n return () => {\n api?.off(\"select\", onSelect)\n }\n }, [api, onSelect])\n\n return (\n <CarouselContext.Provider\n value={{\n carouselRef,\n api: api,\n opts,\n orientation:\n orientation || (opts?.axis === \"y\" ? \"vertical\" : \"horizontal\"),\n scrollPrev,\n scrollNext,\n canScrollPrev,\n canScrollNext,\n }}\n >\n <div\n onKeyDownCapture={handleKeyDown}\n className={cn(\"relative\", className)}\n role=\"region\"\n aria-roledescription=\"carousel\"\n data-slot=\"carousel\"\n {...props}\n >\n {children}\n </div>\n </CarouselContext.Provider>\n )\n}\n\nfunction CarouselContent({ className, ...props }: React.ComponentProps<\"div\">) {\n const { carouselRef, orientation } = useCarousel()\n\n return (\n <div\n ref={carouselRef}\n className=\"overflow-hidden\"\n data-slot=\"carousel-content\"\n >\n <div\n className={cn(\n \"flex\",\n orientation === \"horizontal\" ? \"-ml-4\" : \"-mt-4 flex-col\",\n className\n )}\n {...props}\n />\n </div>\n )\n}\n\nfunction CarouselItem({ className, ...props }: React.ComponentProps<\"div\">) {\n const { orientation } = useCarousel()\n\n return (\n <div\n role=\"group\"\n aria-roledescription=\"slide\"\n data-slot=\"carousel-item\"\n className={cn(\n \"min-w-0 shrink-0 grow-0 basis-full\",\n orientation === \"horizontal\" ? \"pl-4\" : \"pt-4\",\n className\n )}\n {...props}\n />\n )\n}\n\nfunction CarouselPrevious({\n className,\n variant = \"outline\",\n size = \"icon-sm\",\n ...props\n}: React.ComponentProps<typeof Button>) {\n const { orientation, scrollPrev, canScrollPrev } = useCarousel()\n\n return (\n <Button\n data-slot=\"carousel-previous\"\n variant={variant}\n size={size}\n className={cn(\n \"absolute touch-manipulation rounded-full\",\n orientation === \"horizontal\"\n ? \"inset-y-0 -left-12 my-auto\"\n : \"-top-12 left-1/2 -translate-x-1/2 rotate-90\",\n className\n )}\n disabled={!canScrollPrev}\n onClick={scrollPrev}\n {...props}\n >\n <ChevronLeftIcon />\n <span className=\"sr-only\">Previous slide</span>\n </Button>\n )\n}\n\nfunction CarouselNext({\n className,\n variant = \"outline\",\n size = \"icon-sm\",\n ...props\n}: React.ComponentProps<typeof Button>) {\n const { orientation, scrollNext, canScrollNext } = useCarousel()\n\n return (\n <Button\n data-slot=\"carousel-next\"\n variant={variant}\n size={size}\n className={cn(\n \"absolute touch-manipulation rounded-full\",\n orientation === \"horizontal\"\n ? \"inset-y-0 -right-12 my-auto\"\n : \"-bottom-12 left-1/2 -translate-x-1/2 rotate-90\",\n className\n )}\n disabled={!canScrollNext}\n onClick={scrollNext}\n {...props}\n >\n <ChevronRightIcon />\n <span className=\"sr-only\">Next slide</span>\n </Button>\n )\n}\n\nexport {\n type CarouselApi,\n Carousel,\n CarouselContent,\n CarouselItem,\n CarouselPrevious,\n CarouselNext,\n useCarousel,\n}\n"],"mappings":";;;;;;;;AAgCA,IAAM,IAAkB,EAAM,cAA2C,IAA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BAAC,GAAD,CAAmB,CAAA,GACnB,kBAAC,QAAD;GAAM,WAAU;aAAU;EAAgB,CAAA,CACpC;;AAEZ"}
@@ -0,0 +1,8 @@
1
+ "use client";const e=require("../../_virtual/_rolldown/runtime.cjs.js"),t=require("../../node_modules/.bun/cnfast@0.0.8/node_modules/cnfast/dist/index.cjs.js");let n=require("react/jsx-runtime"),r=require("react");r=e.__toESM(r,1);let i=require("recharts");i=e.__toESM(i,1);var a={light:``,dark:`.dark`},o={width:320,height:200},s=r.createContext(null);function c(){let e=r.useContext(s);if(!e)throw Error(`useChart must be used within a <ChartContainer />`);return e}function l({id:e,className:a,children:c,config:l,initialDimension:d=o,...f}){let p=r.useId(),m=`chart-${e??p.replace(/:/g,``)}`;return(0,n.jsx)(s.Provider,{value:{config:l},children:(0,n.jsxs)(`div`,{"data-slot":`chart`,"data-chart":m,className:t.cn(`flex aspect-video justify-center text-xs [&_.recharts-cartesian-axis-tick_text]:fill-muted-foreground [&_.recharts-cartesian-grid_line[stroke='#ccc']]:stroke-border/50 [&_.recharts-curve.recharts-tooltip-cursor]:stroke-border [&_.recharts-dot[stroke='#fff']]:stroke-transparent [&_.recharts-layer]:outline-hidden [&_.recharts-polar-grid_[stroke='#ccc']]:stroke-border [&_.recharts-radial-bar-background-sector]:fill-muted [&_.recharts-rectangle.recharts-tooltip-cursor]:fill-muted [&_.recharts-reference-line_[stroke='#ccc']]:stroke-border [&_.recharts-sector]:outline-hidden [&_.recharts-sector[stroke='#fff']]:stroke-transparent [&_.recharts-surface]:outline-hidden`,a),...f,children:[(0,n.jsx)(u,{id:m,config:l}),(0,n.jsx)(i.ResponsiveContainer,{initialDimension:d,children:c})]})})}var u=({id:e,config:t})=>{let r=Object.entries(t).filter(([,e])=>e.theme??e.color);return r.length?(0,n.jsx)(`style`,{dangerouslySetInnerHTML:{__html:Object.entries(a).map(([t,n])=>`
2
+ ${n} [data-chart=${e}] {
3
+ ${r.map(([e,n])=>{let r=n.theme?.[t]??n.color;return r?` --color-${e}: ${r};`:null}).join(`
4
+ `)}
5
+ }
6
+ `).join(`
7
+ `)}}):null},d=i.Tooltip;function f({active:e,payload:i,className:a,indicator:o=`dot`,hideLabel:s=!1,hideIndicator:l=!1,label:u,labelFormatter:d,labelClassName:f,formatter:p,color:m,nameKey:g,labelKey:_}){let{config:v}=c(),y=r.useMemo(()=>{if(s||!i?.length)return null;let[e]=i,r=`${_??e?.dataKey??e?.name??`value`}`,a=h(v,e,r),o=!_&&typeof u==`string`?v[u]?.label??u:a?.label;return d?(0,n.jsx)(`div`,{className:t.cn(`font-medium`,f),children:d(o,i)}):o?(0,n.jsx)(`div`,{className:t.cn(`font-medium`,f),children:o}):null},[u,d,i,s,f,v,_]);if(!e||!i?.length)return null;let b=i.length===1&&o!==`dot`;return(0,n.jsxs)(`div`,{className:t.cn(`grid min-w-32 items-start gap-1.5 rounded-lg border border-border/50 bg-background px-2.5 py-1.5 text-xs shadow-xl`,a),children:[b?null:y,(0,n.jsx)(`div`,{className:`grid gap-1.5`,children:i.filter(e=>e.type!==`none`).map((e,r)=>{let i=`${g??e.name??e.dataKey??`value`}`,a=h(v,e,i),s=m??e.payload?.fill??e.color;return(0,n.jsx)(`div`,{className:t.cn(`flex w-full flex-wrap items-stretch gap-2 [&>svg]:h-2.5 [&>svg]:w-2.5 [&>svg]:text-muted-foreground`,o===`dot`&&`items-center`),children:p&&e?.value!==void 0&&e.name?p(e.value,e.name,e,r,e.payload):(0,n.jsxs)(n.Fragment,{children:[a?.icon?(0,n.jsx)(a.icon,{}):!l&&(0,n.jsx)(`div`,{className:t.cn(`shrink-0 rounded-[2px] border-(--color-border) bg-(--color-bg)`,{"h-2.5 w-2.5":o===`dot`,"w-1":o===`line`,"w-0 border-[1.5px] border-dashed bg-transparent":o===`dashed`,"my-0.5":b&&o===`dashed`}),style:{"--color-bg":s,"--color-border":s}}),(0,n.jsxs)(`div`,{className:t.cn(`flex flex-1 justify-between leading-none`,b?`items-end`:`items-center`),children:[(0,n.jsxs)(`div`,{className:`grid gap-1.5`,children:[b?y:null,(0,n.jsx)(`span`,{className:`text-muted-foreground`,children:a?.label??e.name})]}),e.value!=null&&(0,n.jsx)(`span`,{className:`font-mono font-medium text-foreground tabular-nums`,children:typeof e.value==`number`?e.value.toLocaleString():String(e.value)})]})]})},r)})})]})}var p=i.Legend;function m({className:e,hideIcon:r=!1,payload:i,verticalAlign:a=`bottom`,nameKey:o}){let{config:s}=c();return i?.length?(0,n.jsx)(`div`,{className:t.cn(`flex items-center justify-center gap-4`,a===`top`?`pb-3`:`pt-3`,e),children:i.filter(e=>e.type!==`none`).map((e,i)=>{let a=`${o??e.dataKey??`value`}`,c=h(s,e,a);return(0,n.jsxs)(`div`,{className:t.cn(`flex items-center gap-1.5 [&>svg]:h-3 [&>svg]:w-3 [&>svg]:text-muted-foreground`),children:[c?.icon&&!r?(0,n.jsx)(c.icon,{}):(0,n.jsx)(`div`,{className:`h-2 w-2 shrink-0 rounded-[2px]`,style:{backgroundColor:e.color}}),c?.label]},i)})}):null}function h(e,t,n){if(typeof t!=`object`||!t)return;let r=`payload`in t&&typeof t.payload==`object`&&t.payload!==null?t.payload:void 0,i=n;return n in t&&typeof t[n]==`string`?i=t[n]:r&&n in r&&typeof r[n]==`string`&&(i=r[n]),i in e?e[i]:e[n]}exports.ChartContainer=l,exports.ChartLegend=p,exports.ChartLegendContent=m,exports.ChartStyle=u,exports.ChartTooltip=d,exports.ChartTooltipContent=f;
8
+ //# sourceMappingURL=chart.cjs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"chart.cjs.js","names":[],"sources":["../../../src/components/ui/chart.tsx"],"sourcesContent":["\"use client\"\n\nimport * as React from \"react\"\nimport * as RechartsPrimitive from \"recharts\"\nimport type { TooltipValueType } from \"recharts\"\n\nimport { cn } from \"../../lib/utils\"\n\n// Format: { THEME_NAME: CSS_SELECTOR }\nconst THEMES = { light: \"\", dark: \".dark\" } as const\n\nconst INITIAL_DIMENSION = { width: 320, height: 200 } as const\ntype TooltipNameType = number | string\n\nexport type ChartConfig = Record<\n string,\n {\n label?: React.ReactNode\n icon?: React.ComponentType\n } & (\n | { color?: string; theme?: never }\n | { color?: never; theme: Record<keyof typeof THEMES, string> }\n )\n>\n\ntype ChartContextProps = {\n config: ChartConfig\n}\n\nconst ChartContext = React.createContext<ChartContextProps | null>(null)\n\nfunction useChart() {\n const context = React.useContext(ChartContext)\n\n if (!context) {\n throw new Error(\"useChart must be used within a <ChartContainer />\")\n }\n\n return context\n}\n\nfunction ChartContainer({\n id,\n className,\n children,\n config,\n initialDimension = INITIAL_DIMENSION,\n ...props\n}: React.ComponentProps<\"div\"> & {\n config: ChartConfig\n children: React.ComponentProps<\n typeof RechartsPrimitive.ResponsiveContainer\n >[\"children\"]\n initialDimension?: {\n width: number\n height: number\n }\n}) {\n const uniqueId = React.useId()\n const chartId = `chart-${id ?? uniqueId.replace(/:/g, \"\")}`\n\n return (\n <ChartContext.Provider value={{ config }}>\n <div\n data-slot=\"chart\"\n data-chart={chartId}\n className={cn(\n \"flex aspect-video justify-center text-xs [&_.recharts-cartesian-axis-tick_text]:fill-muted-foreground [&_.recharts-cartesian-grid_line[stroke='#ccc']]:stroke-border/50 [&_.recharts-curve.recharts-tooltip-cursor]:stroke-border [&_.recharts-dot[stroke='#fff']]:stroke-transparent [&_.recharts-layer]:outline-hidden [&_.recharts-polar-grid_[stroke='#ccc']]:stroke-border [&_.recharts-radial-bar-background-sector]:fill-muted [&_.recharts-rectangle.recharts-tooltip-cursor]:fill-muted [&_.recharts-reference-line_[stroke='#ccc']]:stroke-border [&_.recharts-sector]:outline-hidden [&_.recharts-sector[stroke='#fff']]:stroke-transparent [&_.recharts-surface]:outline-hidden\",\n className\n )}\n {...props}\n >\n <ChartStyle id={chartId} config={config} />\n <RechartsPrimitive.ResponsiveContainer\n initialDimension={initialDimension}\n >\n {children}\n </RechartsPrimitive.ResponsiveContainer>\n </div>\n </ChartContext.Provider>\n )\n}\n\nconst ChartStyle = ({ id, config }: { id: string; config: ChartConfig }) => {\n const colorConfig = Object.entries(config).filter(\n ([, config]) => config.theme ?? config.color\n )\n\n if (!colorConfig.length) {\n return null\n }\n\n return (\n <style\n dangerouslySetInnerHTML={{\n __html: Object.entries(THEMES)\n .map(\n ([theme, prefix]) => `\n${prefix} [data-chart=${id}] {\n${colorConfig\n .map(([key, itemConfig]) => {\n const color =\n itemConfig.theme?.[theme as keyof typeof itemConfig.theme] ??\n itemConfig.color\n return color ? ` --color-${key}: ${color};` : null\n })\n .join(\"\\n\")}\n}\n`\n )\n .join(\"\\n\"),\n }}\n />\n )\n}\n\nconst ChartTooltip = RechartsPrimitive.Tooltip\n\nfunction ChartTooltipContent({\n active,\n payload,\n className,\n indicator = \"dot\",\n hideLabel = false,\n hideIndicator = false,\n label,\n labelFormatter,\n labelClassName,\n formatter,\n color,\n nameKey,\n labelKey,\n}: React.ComponentProps<typeof RechartsPrimitive.Tooltip> &\n React.ComponentProps<\"div\"> & {\n hideLabel?: boolean\n hideIndicator?: boolean\n indicator?: \"line\" | \"dot\" | \"dashed\"\n nameKey?: string\n labelKey?: string\n } & Omit<\n RechartsPrimitive.DefaultTooltipContentProps<\n TooltipValueType,\n TooltipNameType\n >,\n \"accessibilityLayer\"\n >) {\n const { config } = useChart()\n\n const tooltipLabel = React.useMemo(() => {\n if (hideLabel || !payload?.length) {\n return null\n }\n\n const [item] = payload\n const key = `${labelKey ?? item?.dataKey ?? item?.name ?? \"value\"}`\n const itemConfig = getPayloadConfigFromPayload(config, item, key)\n const value =\n !labelKey && typeof label === \"string\"\n ? (config[label]?.label ?? label)\n : itemConfig?.label\n\n if (labelFormatter) {\n return (\n <div className={cn(\"font-medium\", labelClassName)}>\n {labelFormatter(value, payload)}\n </div>\n )\n }\n\n if (!value) {\n return null\n }\n\n return <div className={cn(\"font-medium\", labelClassName)}>{value}</div>\n }, [\n label,\n labelFormatter,\n payload,\n hideLabel,\n labelClassName,\n config,\n labelKey,\n ])\n\n if (!active || !payload?.length) {\n return null\n }\n\n const nestLabel = payload.length === 1 && indicator !== \"dot\"\n\n return (\n <div\n className={cn(\n \"grid min-w-32 items-start gap-1.5 rounded-lg border border-border/50 bg-background px-2.5 py-1.5 text-xs shadow-xl\",\n className\n )}\n >\n {!nestLabel ? tooltipLabel : null}\n <div className=\"grid gap-1.5\">\n {payload\n .filter((item) => item.type !== \"none\")\n .map((item, index) => {\n const key = `${nameKey ?? item.name ?? item.dataKey ?? \"value\"}`\n const itemConfig = getPayloadConfigFromPayload(config, item, key)\n const indicatorColor = color ?? item.payload?.fill ?? item.color\n\n return (\n <div\n key={index}\n className={cn(\n \"flex w-full flex-wrap items-stretch gap-2 [&>svg]:h-2.5 [&>svg]:w-2.5 [&>svg]:text-muted-foreground\",\n indicator === \"dot\" && \"items-center\"\n )}\n >\n {formatter && item?.value !== undefined && item.name ? (\n formatter(item.value, item.name, item, index, item.payload)\n ) : (\n <>\n {itemConfig?.icon ? (\n <itemConfig.icon />\n ) : (\n !hideIndicator && (\n <div\n className={cn(\n \"shrink-0 rounded-[2px] border-(--color-border) bg-(--color-bg)\",\n {\n \"h-2.5 w-2.5\": indicator === \"dot\",\n \"w-1\": indicator === \"line\",\n \"w-0 border-[1.5px] border-dashed bg-transparent\":\n indicator === \"dashed\",\n \"my-0.5\": nestLabel && indicator === \"dashed\",\n }\n )}\n style={\n {\n \"--color-bg\": indicatorColor,\n \"--color-border\": indicatorColor,\n } as React.CSSProperties\n }\n />\n )\n )}\n <div\n className={cn(\n \"flex flex-1 justify-between leading-none\",\n nestLabel ? \"items-end\" : \"items-center\"\n )}\n >\n <div className=\"grid gap-1.5\">\n {nestLabel ? tooltipLabel : null}\n <span className=\"text-muted-foreground\">\n {itemConfig?.label ?? item.name}\n </span>\n </div>\n {item.value != null && (\n <span className=\"font-mono font-medium text-foreground tabular-nums\">\n {typeof item.value === \"number\"\n ? item.value.toLocaleString()\n : String(item.value)}\n </span>\n )}\n </div>\n </>\n )}\n </div>\n )\n })}\n </div>\n </div>\n )\n}\n\nconst ChartLegend = RechartsPrimitive.Legend\n\nfunction ChartLegendContent({\n className,\n hideIcon = false,\n payload,\n verticalAlign = \"bottom\",\n nameKey,\n}: React.ComponentProps<\"div\"> & {\n hideIcon?: boolean\n nameKey?: string\n} & RechartsPrimitive.DefaultLegendContentProps) {\n const { config } = useChart()\n\n if (!payload?.length) {\n return null\n }\n\n return (\n <div\n className={cn(\n \"flex items-center justify-center gap-4\",\n verticalAlign === \"top\" ? \"pb-3\" : \"pt-3\",\n className\n )}\n >\n {payload\n .filter((item) => item.type !== \"none\")\n .map((item, index) => {\n const key = `${nameKey ?? item.dataKey ?? \"value\"}`\n const itemConfig = getPayloadConfigFromPayload(config, item, key)\n\n return (\n <div\n key={index}\n className={cn(\n \"flex items-center gap-1.5 [&>svg]:h-3 [&>svg]:w-3 [&>svg]:text-muted-foreground\"\n )}\n >\n {itemConfig?.icon && !hideIcon ? (\n <itemConfig.icon />\n ) : (\n <div\n className=\"h-2 w-2 shrink-0 rounded-[2px]\"\n style={{\n backgroundColor: item.color,\n }}\n />\n )}\n {itemConfig?.label}\n </div>\n )\n })}\n </div>\n )\n}\n\nfunction getPayloadConfigFromPayload(\n config: ChartConfig,\n payload: unknown,\n key: string\n) {\n if (typeof payload !== \"object\" || payload === null) {\n return undefined\n }\n\n const payloadPayload =\n \"payload\" in payload &&\n typeof payload.payload === \"object\" &&\n payload.payload !== null\n ? payload.payload\n : undefined\n\n let configLabelKey: string = key\n\n if (\n key in payload &&\n typeof payload[key as keyof typeof payload] === \"string\"\n ) {\n configLabelKey = payload[key as keyof typeof payload] as string\n } else if (\n payloadPayload &&\n key in payloadPayload &&\n typeof payloadPayload[key as keyof typeof payloadPayload] === \"string\"\n ) {\n configLabelKey = payloadPayload[\n key as keyof typeof payloadPayload\n ] as string\n }\n\n return configLabelKey in config ? config[configLabelKey] : config[key]\n}\n\nexport {\n ChartContainer,\n ChartTooltip,\n ChartTooltipContent,\n ChartLegend,\n ChartLegendContent,\n ChartStyle,\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,GAAS,EAAK,OAAS,MAAM,CAAC,CACtC,KAAK,EAAM,IAAU,CACpB,IAAM,EAAM,GAAG,GAAW,EAAK,SAAW,UACpC,EAAa,EAA4B,EAAQ,EAAM,CAAG,EAEhE,OACE,EAAA,EAAA,KAAA,CAAC,MAAD,CAEE,UAAW,EAAA,GACT,iFACF,WAJF,CAMG,GAAY,MAAQ,CAAC,GACpB,EAAA,EAAA,IAAA,CAAC,EAAW,KAAZ,CAAkB,CAAA,GAElB,EAAA,EAAA,IAAA,CAAC,MAAD,CACE,UAAU,iCACV,MAAO,CACL,gBAAiB,EAAK,KACxB,CACD,CAAA,EAEF,GAAY,KACV,GAhBE,CAgBF,CAET,CAAC,CACA,CAAA,EAtCE,IAwCX,CAEA,SAAS,EACP,EACA,EACA,EACA,CACA,GAAI,OAAO,GAAY,WAAY,EACjC,OAGF,IAAM,EACJ,YAAa,GACb,OAAO,EAAQ,SAAY,UAC3B,EAAQ,UAAY,KAChB,EAAQ,QACR,IAAA,GAEF,EAAyB,EAiB7B,OAdE,KAAO,GACP,OAAO,EAAQ,IAAiC,SAEhD,EAAiB,EAAQ,GAEzB,GACA,KAAO,GACP,OAAO,EAAe,IAAwC,WAE9D,EAAiB,EACf,IAIG,KAAkB,EAAS,EAAO,GAAkB,EAAO,EACpE"}
@@ -1,6 +1,6 @@
1
+ import { TooltipValueType } from 'recharts';
1
2
  import * as React from "react";
2
3
  import * as RechartsPrimitive from "recharts";
3
- import type { TooltipValueType } from "recharts";
4
4
  declare const THEMES: {
5
5
  readonly light: "";
6
6
  readonly dark: ".dark";
@@ -0,0 +1,133 @@
1
+ "use client";
2
+ import { cn as e } from "../../node_modules/.bun/cnfast@0.0.8/node_modules/cnfast/dist/index.es.js";
3
+ import { Fragment as t, jsx as n, jsxs as r } from "react/jsx-runtime";
4
+ import * as i from "react";
5
+ import * as a from "recharts";
6
+ //#region src/components/ui/chart.tsx
7
+ var o = {
8
+ light: "",
9
+ dark: ".dark"
10
+ }, s = {
11
+ width: 320,
12
+ height: 200
13
+ }, c = i.createContext(null);
14
+ function l() {
15
+ let e = i.useContext(c);
16
+ if (!e) throw Error("useChart must be used within a <ChartContainer />");
17
+ return e;
18
+ }
19
+ function u({ id: t, className: o, children: l, config: u, initialDimension: f = s, ...p }) {
20
+ let m = i.useId(), h = `chart-${t ?? m.replace(/:/g, "")}`;
21
+ return /* @__PURE__ */ n(c.Provider, {
22
+ value: { config: u },
23
+ children: /* @__PURE__ */ r("div", {
24
+ "data-slot": "chart",
25
+ "data-chart": h,
26
+ className: e("flex aspect-video justify-center text-xs [&_.recharts-cartesian-axis-tick_text]:fill-muted-foreground [&_.recharts-cartesian-grid_line[stroke='#ccc']]:stroke-border/50 [&_.recharts-curve.recharts-tooltip-cursor]:stroke-border [&_.recharts-dot[stroke='#fff']]:stroke-transparent [&_.recharts-layer]:outline-hidden [&_.recharts-polar-grid_[stroke='#ccc']]:stroke-border [&_.recharts-radial-bar-background-sector]:fill-muted [&_.recharts-rectangle.recharts-tooltip-cursor]:fill-muted [&_.recharts-reference-line_[stroke='#ccc']]:stroke-border [&_.recharts-sector]:outline-hidden [&_.recharts-sector[stroke='#fff']]:stroke-transparent [&_.recharts-surface]:outline-hidden", o),
27
+ ...p,
28
+ children: [/* @__PURE__ */ n(d, {
29
+ id: h,
30
+ config: u
31
+ }), /* @__PURE__ */ n(a.ResponsiveContainer, {
32
+ initialDimension: f,
33
+ children: l
34
+ })]
35
+ })
36
+ });
37
+ }
38
+ var d = ({ id: e, config: t }) => {
39
+ let r = Object.entries(t).filter(([, e]) => e.theme ?? e.color);
40
+ return r.length ? /* @__PURE__ */ n("style", { dangerouslySetInnerHTML: { __html: Object.entries(o).map(([t, n]) => `
41
+ ${n} [data-chart=${e}] {
42
+ ${r.map(([e, n]) => {
43
+ let r = n.theme?.[t] ?? n.color;
44
+ return r ? ` --color-${e}: ${r};` : null;
45
+ }).join("\n")}
46
+ }
47
+ `).join("\n") } }) : null;
48
+ }, f = a.Tooltip;
49
+ function p({ active: a, payload: o, className: s, indicator: c = "dot", hideLabel: u = !1, hideIndicator: d = !1, label: f, labelFormatter: p, labelClassName: m, formatter: h, color: _, nameKey: v, labelKey: y }) {
50
+ let { config: b } = l(), x = i.useMemo(() => {
51
+ if (u || !o?.length) return null;
52
+ let [t] = o, r = `${y ?? t?.dataKey ?? t?.name ?? "value"}`, i = g(b, t, r), a = !y && typeof f == "string" ? b[f]?.label ?? f : i?.label;
53
+ return p ? /* @__PURE__ */ n("div", {
54
+ className: e("font-medium", m),
55
+ children: p(a, o)
56
+ }) : a ? /* @__PURE__ */ n("div", {
57
+ className: e("font-medium", m),
58
+ children: a
59
+ }) : null;
60
+ }, [
61
+ f,
62
+ p,
63
+ o,
64
+ u,
65
+ m,
66
+ b,
67
+ y
68
+ ]);
69
+ if (!a || !o?.length) return null;
70
+ let S = o.length === 1 && c !== "dot";
71
+ return /* @__PURE__ */ r("div", {
72
+ className: e("grid min-w-32 items-start gap-1.5 rounded-lg border border-border/50 bg-background px-2.5 py-1.5 text-xs shadow-xl", s),
73
+ children: [S ? null : x, /* @__PURE__ */ n("div", {
74
+ className: "grid gap-1.5",
75
+ children: o.filter((e) => e.type !== "none").map((i, a) => {
76
+ let o = `${v ?? i.name ?? i.dataKey ?? "value"}`, s = g(b, i, o), l = _ ?? i.payload?.fill ?? i.color;
77
+ return /* @__PURE__ */ n("div", {
78
+ className: e("flex w-full flex-wrap items-stretch gap-2 [&>svg]:h-2.5 [&>svg]:w-2.5 [&>svg]:text-muted-foreground", c === "dot" && "items-center"),
79
+ children: h && i?.value !== void 0 && i.name ? h(i.value, i.name, i, a, i.payload) : /* @__PURE__ */ r(t, { children: [s?.icon ? /* @__PURE__ */ n(s.icon, {}) : !d && /* @__PURE__ */ n("div", {
80
+ className: e("shrink-0 rounded-[2px] border-(--color-border) bg-(--color-bg)", {
81
+ "h-2.5 w-2.5": c === "dot",
82
+ "w-1": c === "line",
83
+ "w-0 border-[1.5px] border-dashed bg-transparent": c === "dashed",
84
+ "my-0.5": S && c === "dashed"
85
+ }),
86
+ style: {
87
+ "--color-bg": l,
88
+ "--color-border": l
89
+ }
90
+ }), /* @__PURE__ */ r("div", {
91
+ className: e("flex flex-1 justify-between leading-none", S ? "items-end" : "items-center"),
92
+ children: [/* @__PURE__ */ r("div", {
93
+ className: "grid gap-1.5",
94
+ children: [S ? x : null, /* @__PURE__ */ n("span", {
95
+ className: "text-muted-foreground",
96
+ children: s?.label ?? i.name
97
+ })]
98
+ }), i.value != null && /* @__PURE__ */ n("span", {
99
+ className: "font-mono font-medium text-foreground tabular-nums",
100
+ children: typeof i.value == "number" ? i.value.toLocaleString() : String(i.value)
101
+ })]
102
+ })] })
103
+ }, a);
104
+ })
105
+ })]
106
+ });
107
+ }
108
+ var m = a.Legend;
109
+ function h({ className: t, hideIcon: i = !1, payload: a, verticalAlign: o = "bottom", nameKey: s }) {
110
+ let { config: c } = l();
111
+ return a?.length ? /* @__PURE__ */ n("div", {
112
+ className: e("flex items-center justify-center gap-4", o === "top" ? "pb-3" : "pt-3", t),
113
+ children: a.filter((e) => e.type !== "none").map((t, a) => {
114
+ let o = `${s ?? t.dataKey ?? "value"}`, l = g(c, t, o);
115
+ return /* @__PURE__ */ r("div", {
116
+ className: e("flex items-center gap-1.5 [&>svg]:h-3 [&>svg]:w-3 [&>svg]:text-muted-foreground"),
117
+ children: [l?.icon && !i ? /* @__PURE__ */ n(l.icon, {}) : /* @__PURE__ */ n("div", {
118
+ className: "h-2 w-2 shrink-0 rounded-[2px]",
119
+ style: { backgroundColor: t.color }
120
+ }), l?.label]
121
+ }, a);
122
+ })
123
+ }) : null;
124
+ }
125
+ function g(e, t, n) {
126
+ if (typeof t != "object" || !t) return;
127
+ let r = "payload" in t && typeof t.payload == "object" && t.payload !== null ? t.payload : void 0, i = n;
128
+ return n in t && typeof t[n] == "string" ? i = t[n] : r && n in r && typeof r[n] == "string" && (i = r[n]), i in e ? e[i] : e[n];
129
+ }
130
+ //#endregion
131
+ export { u as ChartContainer, m as ChartLegend, h as ChartLegendContent, d as ChartStyle, f as ChartTooltip, p as ChartTooltipContent };
132
+
133
+ //# sourceMappingURL=chart.es.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"chart.es.js","names":[],"sources":["../../../src/components/ui/chart.tsx"],"sourcesContent":["\"use client\"\n\nimport * as React from \"react\"\nimport * as RechartsPrimitive from \"recharts\"\nimport type { TooltipValueType } from \"recharts\"\n\nimport { cn } from \"../../lib/utils\"\n\n// Format: { THEME_NAME: CSS_SELECTOR }\nconst THEMES = { light: \"\", dark: \".dark\" } as const\n\nconst INITIAL_DIMENSION = { width: 320, height: 200 } as const\ntype TooltipNameType = number | string\n\nexport type ChartConfig = Record<\n string,\n {\n label?: React.ReactNode\n icon?: React.ComponentType\n } & (\n | { color?: string; theme?: never }\n | { color?: never; theme: Record<keyof typeof THEMES, string> }\n )\n>\n\ntype ChartContextProps = {\n config: ChartConfig\n}\n\nconst ChartContext = React.createContext<ChartContextProps | null>(null)\n\nfunction useChart() {\n const context = React.useContext(ChartContext)\n\n if (!context) {\n throw new Error(\"useChart must be used within a <ChartContainer />\")\n }\n\n return context\n}\n\nfunction ChartContainer({\n id,\n className,\n children,\n config,\n initialDimension = INITIAL_DIMENSION,\n ...props\n}: React.ComponentProps<\"div\"> & {\n config: ChartConfig\n children: React.ComponentProps<\n typeof RechartsPrimitive.ResponsiveContainer\n >[\"children\"]\n initialDimension?: {\n width: number\n height: number\n }\n}) {\n const uniqueId = React.useId()\n const chartId = `chart-${id ?? uniqueId.replace(/:/g, \"\")}`\n\n return (\n <ChartContext.Provider value={{ config }}>\n <div\n data-slot=\"chart\"\n data-chart={chartId}\n className={cn(\n \"flex aspect-video justify-center text-xs [&_.recharts-cartesian-axis-tick_text]:fill-muted-foreground [&_.recharts-cartesian-grid_line[stroke='#ccc']]:stroke-border/50 [&_.recharts-curve.recharts-tooltip-cursor]:stroke-border [&_.recharts-dot[stroke='#fff']]:stroke-transparent [&_.recharts-layer]:outline-hidden [&_.recharts-polar-grid_[stroke='#ccc']]:stroke-border [&_.recharts-radial-bar-background-sector]:fill-muted [&_.recharts-rectangle.recharts-tooltip-cursor]:fill-muted [&_.recharts-reference-line_[stroke='#ccc']]:stroke-border [&_.recharts-sector]:outline-hidden [&_.recharts-sector[stroke='#fff']]:stroke-transparent [&_.recharts-surface]:outline-hidden\",\n className\n )}\n {...props}\n >\n <ChartStyle id={chartId} config={config} />\n <RechartsPrimitive.ResponsiveContainer\n initialDimension={initialDimension}\n >\n {children}\n </RechartsPrimitive.ResponsiveContainer>\n </div>\n </ChartContext.Provider>\n )\n}\n\nconst ChartStyle = ({ id, config }: { id: string; config: ChartConfig }) => {\n const colorConfig = Object.entries(config).filter(\n ([, config]) => config.theme ?? config.color\n )\n\n if (!colorConfig.length) {\n return null\n }\n\n return (\n <style\n dangerouslySetInnerHTML={{\n __html: Object.entries(THEMES)\n .map(\n ([theme, prefix]) => `\n${prefix} [data-chart=${id}] {\n${colorConfig\n .map(([key, itemConfig]) => {\n const color =\n itemConfig.theme?.[theme as keyof typeof itemConfig.theme] ??\n itemConfig.color\n return color ? ` --color-${key}: ${color};` : null\n })\n .join(\"\\n\")}\n}\n`\n )\n .join(\"\\n\"),\n }}\n />\n )\n}\n\nconst ChartTooltip = RechartsPrimitive.Tooltip\n\nfunction ChartTooltipContent({\n active,\n payload,\n className,\n indicator = \"dot\",\n hideLabel = false,\n hideIndicator = false,\n label,\n labelFormatter,\n labelClassName,\n formatter,\n color,\n nameKey,\n labelKey,\n}: React.ComponentProps<typeof RechartsPrimitive.Tooltip> &\n React.ComponentProps<\"div\"> & {\n hideLabel?: boolean\n hideIndicator?: boolean\n indicator?: \"line\" | \"dot\" | \"dashed\"\n nameKey?: string\n labelKey?: string\n } & Omit<\n RechartsPrimitive.DefaultTooltipContentProps<\n TooltipValueType,\n TooltipNameType\n >,\n \"accessibilityLayer\"\n >) {\n const { config } = useChart()\n\n const tooltipLabel = React.useMemo(() => {\n if (hideLabel || !payload?.length) {\n return null\n }\n\n const [item] = payload\n const key = `${labelKey ?? item?.dataKey ?? item?.name ?? \"value\"}`\n const itemConfig = getPayloadConfigFromPayload(config, item, key)\n const value =\n !labelKey && typeof label === \"string\"\n ? (config[label]?.label ?? label)\n : itemConfig?.label\n\n if (labelFormatter) {\n return (\n <div className={cn(\"font-medium\", labelClassName)}>\n {labelFormatter(value, payload)}\n </div>\n )\n }\n\n if (!value) {\n return null\n }\n\n return <div className={cn(\"font-medium\", labelClassName)}>{value}</div>\n }, [\n label,\n labelFormatter,\n payload,\n hideLabel,\n labelClassName,\n config,\n labelKey,\n ])\n\n if (!active || !payload?.length) {\n return null\n }\n\n const nestLabel = payload.length === 1 && indicator !== \"dot\"\n\n return (\n <div\n className={cn(\n \"grid min-w-32 items-start gap-1.5 rounded-lg border border-border/50 bg-background px-2.5 py-1.5 text-xs shadow-xl\",\n className\n )}\n >\n {!nestLabel ? tooltipLabel : null}\n <div className=\"grid gap-1.5\">\n {payload\n .filter((item) => item.type !== \"none\")\n .map((item, index) => {\n const key = `${nameKey ?? item.name ?? item.dataKey ?? \"value\"}`\n const itemConfig = getPayloadConfigFromPayload(config, item, key)\n const indicatorColor = color ?? item.payload?.fill ?? item.color\n\n return (\n <div\n key={index}\n className={cn(\n \"flex w-full flex-wrap items-stretch gap-2 [&>svg]:h-2.5 [&>svg]:w-2.5 [&>svg]:text-muted-foreground\",\n indicator === \"dot\" && \"items-center\"\n )}\n >\n {formatter && item?.value !== undefined && item.name ? (\n formatter(item.value, item.name, item, index, item.payload)\n ) : (\n <>\n {itemConfig?.icon ? (\n <itemConfig.icon />\n ) : (\n !hideIndicator && (\n <div\n className={cn(\n \"shrink-0 rounded-[2px] border-(--color-border) bg-(--color-bg)\",\n {\n \"h-2.5 w-2.5\": indicator === \"dot\",\n \"w-1\": indicator === \"line\",\n \"w-0 border-[1.5px] border-dashed bg-transparent\":\n indicator === \"dashed\",\n \"my-0.5\": nestLabel && indicator === \"dashed\",\n }\n )}\n style={\n {\n \"--color-bg\": indicatorColor,\n \"--color-border\": indicatorColor,\n } as React.CSSProperties\n }\n />\n )\n )}\n <div\n className={cn(\n \"flex flex-1 justify-between leading-none\",\n nestLabel ? \"items-end\" : \"items-center\"\n )}\n >\n <div className=\"grid gap-1.5\">\n {nestLabel ? tooltipLabel : null}\n <span className=\"text-muted-foreground\">\n {itemConfig?.label ?? item.name}\n </span>\n </div>\n {item.value != null && (\n <span className=\"font-mono font-medium text-foreground tabular-nums\">\n {typeof item.value === \"number\"\n ? item.value.toLocaleString()\n : String(item.value)}\n </span>\n )}\n </div>\n </>\n )}\n </div>\n )\n })}\n </div>\n </div>\n )\n}\n\nconst ChartLegend = RechartsPrimitive.Legend\n\nfunction ChartLegendContent({\n className,\n hideIcon = false,\n payload,\n verticalAlign = \"bottom\",\n nameKey,\n}: React.ComponentProps<\"div\"> & {\n hideIcon?: boolean\n nameKey?: string\n} & RechartsPrimitive.DefaultLegendContentProps) {\n const { config } = useChart()\n\n if (!payload?.length) {\n return null\n }\n\n return (\n <div\n className={cn(\n \"flex items-center justify-center gap-4\",\n verticalAlign === \"top\" ? \"pb-3\" : \"pt-3\",\n className\n )}\n >\n {payload\n .filter((item) => item.type !== \"none\")\n .map((item, index) => {\n const key = `${nameKey ?? item.dataKey ?? \"value\"}`\n const itemConfig = getPayloadConfigFromPayload(config, item, key)\n\n return (\n <div\n key={index}\n className={cn(\n \"flex items-center gap-1.5 [&>svg]:h-3 [&>svg]:w-3 [&>svg]:text-muted-foreground\"\n )}\n >\n {itemConfig?.icon && !hideIcon ? (\n <itemConfig.icon />\n ) : (\n <div\n className=\"h-2 w-2 shrink-0 rounded-[2px]\"\n style={{\n backgroundColor: item.color,\n }}\n />\n )}\n {itemConfig?.label}\n </div>\n )\n })}\n </div>\n )\n}\n\nfunction getPayloadConfigFromPayload(\n config: ChartConfig,\n payload: unknown,\n key: string\n) {\n if (typeof payload !== \"object\" || payload === null) {\n return undefined\n }\n\n const payloadPayload =\n \"payload\" in payload &&\n typeof payload.payload === \"object\" &&\n payload.payload !== null\n ? payload.payload\n : undefined\n\n let configLabelKey: string = key\n\n if (\n key in payload &&\n typeof payload[key as keyof typeof payload] === \"string\"\n ) {\n configLabelKey = payload[key as keyof typeof payload] as string\n } else if (\n payloadPayload &&\n key in payloadPayload &&\n typeof payloadPayload[key as keyof typeof payloadPayload] === \"string\"\n ) {\n configLabelKey = payloadPayload[\n key as keyof typeof payloadPayload\n ] as string\n }\n\n return configLabelKey in config ? config[configLabelKey] : config[key]\n}\n\nexport {\n ChartContainer,\n ChartTooltip,\n ChartTooltipContent,\n ChartLegend,\n ChartLegendContent,\n ChartStyle,\n}\n"],"mappings":";;;;;;AASA,IAAM,IAAS;CAAE,OAAO;CAAI,MAAM;AAAQ,GAEpC,IAAoB;CAAE,OAAO;CAAK,QAAQ;AAAI,GAkB9C,IAAe,EAAM,cAAwC,IAAI;AAEvE,SAAS,IAAW;CAClB,IAAM,IAAU,EAAM,WAAW,CAAY;CAE7C,IAAI,CAAC,GACH,MAAU,MAAM,mDAAmD;CAGrE,OAAO;AACT;AAEA,SAAS,EAAe,EACtB,OACA,cACA,aACA,WACA,sBAAmB,GACnB,GAAG,KAUF;CACD,IAAM,IAAW,EAAM,MAAM,GACvB,IAAU,SAAS,KAAM,EAAS,QAAQ,MAAM,EAAE;CAExD,OACE,kBAAC,EAAa,UAAd;EAAuB,OAAO,EAAE,UAAO;YACrC,kBAAC,OAAD;GACE,aAAU;GACV,cAAY;GACZ,WAAW,EACT,+pBACA,CACF;GACA,GAAI;aAPN,CASE,kBAAC,GAAD;IAAY,IAAI;IAAiB;GAAS,CAAA,GAC1C,kBAAC,EAAkB,qBAAnB;IACoB;IAEjB;GACoC,CAAA,CACpC;;CACgB,CAAA;AAE3B;AAEA,IAAM,KAAc,EAAE,OAAI,gBAAkD;CAC1E,IAAM,IAAc,OAAO,QAAQ,CAAM,CAAC,CAAC,QACxC,GAAG,OAAY,EAAO,SAAS,EAAO,KACzC;CAMA,OAJK,E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ACA,MAAkB,QAAQ,SAAS,QACnC,CACF;YAEC,EACE,QAAQ,MAAS,EAAK,SAAS,MAAM,CAAC,CACtC,KAAK,GAAM,MAAU;GACpB,IAAM,IAAM,GAAG,KAAW,EAAK,WAAW,WACpC,IAAa,EAA4B,GAAQ,GAAM,CAAG;GAEhE,OACE,kBAAC,OAAD;IAEE,WAAW,EACT,iFACF;cAJF,CAMG,GAAY,QAAQ,CAAC,IACpB,kBAAC,EAAW,MAAZ,CAAkB,CAAA,IAElB,kBAAC,OAAD;KACE,WAAU;KACV,OAAO,EACL,iBAAiB,EAAK,MACxB;IACD,CAAA,GAEF,GAAY,KACV;MAhBE,CAgBF;EAET,CAAC;CACA,CAAA,IAtCE;AAwCX;AAEA,SAAS,EACP,GACA,GACA,GACA;CACA,IAAI,OAAO,KAAY,aAAY,GACjC;CAGF,IAAM,IACJ,aAAa,KACb,OAAO,EAAQ,WAAY,YAC3B,EAAQ,YAAY,OAChB,EAAQ,UACR,KAAA,GAEF,IAAyB;CAiB7B,OAdE,KAAO,KACP,OAAO,EAAQ,MAAiC,WAEhD,IAAiB,EAAQ,KAEzB,KACA,KAAO,KACP,OAAO,EAAe,MAAwC,aAE9D,IAAiB,EACf,KAIG,KAAkB,IAAS,EAAO,KAAkB,EAAO;AACpE"}
@@ -0,0 +1,2 @@
1
+ "use client";const e=require("../../node_modules/.bun/cnfast@0.0.8/node_modules/cnfast/dist/index.cjs.js");let t=require("lucide-react"),n=require("react/jsx-runtime"),r=require("@base-ui/react/checkbox");function i({className:i,...a}){return(0,n.jsx)(r.Checkbox.Root,{"data-slot":`checkbox`,className:e.cn(`peer relative flex size-4 shrink-0 items-center justify-center rounded-[4px] border border-input transition-colors outline-none group-has-disabled/field:opacity-50 after:absolute after:-inset-x-3 after:-inset-y-2 focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 aria-invalid:aria-checked:border-primary dark:bg-input/30 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 data-checked:border-primary data-checked:bg-primary data-checked:text-primary-foreground dark:data-checked:bg-primary`,i),...a,children:(0,n.jsx)(r.Checkbox.Indicator,{"data-slot":`checkbox-indicator`,className:`grid place-content-center text-current transition-none [&>svg]:size-3.5`,children:(0,n.jsx)(t.CheckIcon,{})})})}exports.Checkbox=i;
2
+ //# sourceMappingURL=checkbox.cjs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"checkbox.cjs.js","names":[],"sources":["../../../src/components/ui/checkbox.tsx"],"sourcesContent":["\"use client\"\n\nimport { Checkbox as CheckboxPrimitive } from \"@base-ui/react/checkbox\"\n\nimport { cn } from \"../../lib/utils\"\nimport { CheckIcon } from \"lucide-react\"\n\nfunction Checkbox({ className, ...props }: CheckboxPrimitive.Root.Props) {\n return (\n <CheckboxPrimitive.Root\n data-slot=\"checkbox\"\n className={cn(\n \"peer relative flex size-4 shrink-0 items-center justify-center rounded-[4px] border border-input transition-colors outline-none group-has-disabled/field:opacity-50 after:absolute after:-inset-x-3 after:-inset-y-2 focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 aria-invalid:aria-checked:border-primary dark:bg-input/30 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 data-checked:border-primary data-checked:bg-primary data-checked:text-primary-foreground dark:data-checked:bg-primary\",\n className\n )}\n {...props}\n >\n <CheckboxPrimitive.Indicator\n data-slot=\"checkbox-indicator\"\n className=\"grid place-content-center text-current transition-none [&>svg]:size-3.5\"\n >\n <CheckIcon\n />\n </CheckboxPrimitive.Indicator>\n </CheckboxPrimitive.Root>\n )\n}\n\nexport { Checkbox }\n"],"mappings":"6MAOA,SAAS,EAAS,CAAE,YAAW,GAAG,GAAuC,CACvE,OACE,EAAA,EAAA,IAAA,CAAC,EAAA,SAAkB,KAAnB,CACE,YAAU,WACV,UAAW,EAAA,GACT,oqBACA,CACF,EACA,GAAI,YAEJ,EAAA,EAAA,IAAA,CAAC,EAAA,SAAkB,UAAnB,CACE,YAAU,qBACV,UAAU,oFAEV,EAAA,EAAA,IAAA,CAAC,EAAA,UAAD,CACC,CAAA,CAC0B,CAAA,CACP,CAAA,CAE5B"}
@@ -1,3 +1,3 @@
1
- import { Checkbox as CheckboxPrimitive } from "@base-ui/react/checkbox";
1
+ import { Checkbox as CheckboxPrimitive } from '@base-ui/react/checkbox';
2
2
  declare function Checkbox({ className, ...props }: CheckboxPrimitive.Root.Props): import("react").JSX.Element;
3
3
  export { Checkbox };
@@ -0,0 +1,22 @@
1
+ "use client";
2
+ import { cn as e } from "../../node_modules/.bun/cnfast@0.0.8/node_modules/cnfast/dist/index.es.js";
3
+ import { CheckIcon as t } from "lucide-react";
4
+ import { jsx as n } from "react/jsx-runtime";
5
+ import { Checkbox as r } from "@base-ui/react/checkbox";
6
+ //#region src/components/ui/checkbox.tsx
7
+ function i({ className: i, ...a }) {
8
+ return /* @__PURE__ */ n(r.Root, {
9
+ "data-slot": "checkbox",
10
+ className: e("peer relative flex size-4 shrink-0 items-center justify-center rounded-[4px] border border-input transition-colors outline-none group-has-disabled/field:opacity-50 after:absolute after:-inset-x-3 after:-inset-y-2 focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 aria-invalid:aria-checked:border-primary dark:bg-input/30 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 data-checked:border-primary data-checked:bg-primary data-checked:text-primary-foreground dark:data-checked:bg-primary", i),
11
+ ...a,
12
+ children: /* @__PURE__ */ n(r.Indicator, {
13
+ "data-slot": "checkbox-indicator",
14
+ className: "grid place-content-center text-current transition-none [&>svg]:size-3.5",
15
+ children: /* @__PURE__ */ n(t, {})
16
+ })
17
+ });
18
+ }
19
+ //#endregion
20
+ export { i as Checkbox };
21
+
22
+ //# sourceMappingURL=checkbox.es.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"checkbox.es.js","names":[],"sources":["../../../src/components/ui/checkbox.tsx"],"sourcesContent":["\"use client\"\n\nimport { Checkbox as CheckboxPrimitive } from \"@base-ui/react/checkbox\"\n\nimport { cn } from \"../../lib/utils\"\nimport { CheckIcon } from \"lucide-react\"\n\nfunction Checkbox({ className, ...props }: CheckboxPrimitive.Root.Props) {\n return (\n <CheckboxPrimitive.Root\n data-slot=\"checkbox\"\n className={cn(\n \"peer relative flex size-4 shrink-0 items-center justify-center rounded-[4px] border border-input transition-colors outline-none group-has-disabled/field:opacity-50 after:absolute after:-inset-x-3 after:-inset-y-2 focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 aria-invalid:aria-checked:border-primary dark:bg-input/30 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 data-checked:border-primary data-checked:bg-primary data-checked:text-primary-foreground dark:data-checked:bg-primary\",\n className\n )}\n {...props}\n >\n <CheckboxPrimitive.Indicator\n data-slot=\"checkbox-indicator\"\n className=\"grid place-content-center text-current transition-none [&>svg]:size-3.5\"\n >\n <CheckIcon\n />\n </CheckboxPrimitive.Indicator>\n </CheckboxPrimitive.Root>\n )\n}\n\nexport { Checkbox }\n"],"mappings":";;;;;;AAOA,SAAS,EAAS,EAAE,cAAW,GAAG,KAAuC;CACvE,OACE,kBAAC,EAAkB,MAAnB;EACE,aAAU;EACV,WAAW,EACT,qqBACA,CACF;EACA,GAAI;YAEJ,kBAAC,EAAkB,WAAnB;GACE,aAAU;GACV,WAAU;aAEV,kBAAC,GAAD,CACC,CAAA;EAC0B,CAAA;CACP,CAAA;AAE5B"}
@@ -0,0 +1,2 @@
1
+ let e=require("react/jsx-runtime"),t=require("@base-ui/react/collapsible");function n({...n}){return(0,e.jsx)(t.Collapsible.Root,{"data-slot":`collapsible`,...n})}function r({...n}){return(0,e.jsx)(t.Collapsible.Trigger,{"data-slot":`collapsible-trigger`,...n})}function i({...n}){return(0,e.jsx)(t.Collapsible.Panel,{"data-slot":`collapsible-content`,...n})}exports.Collapsible=n,exports.CollapsibleContent=i,exports.CollapsibleTrigger=r;
2
+ //# sourceMappingURL=collapsible.cjs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"collapsible.cjs.js","names":[],"sources":["../../../src/components/ui/collapsible.tsx"],"sourcesContent":["import { Collapsible as CollapsiblePrimitive } from \"@base-ui/react/collapsible\"\n\nfunction Collapsible({ ...props }: CollapsiblePrimitive.Root.Props) {\n return <CollapsiblePrimitive.Root data-slot=\"collapsible\" {...props} />\n}\n\nfunction CollapsibleTrigger({ ...props }: CollapsiblePrimitive.Trigger.Props) {\n return (\n <CollapsiblePrimitive.Trigger data-slot=\"collapsible-trigger\" {...props} />\n )\n}\n\nfunction CollapsibleContent({ ...props }: CollapsiblePrimitive.Panel.Props) {\n return (\n <CollapsiblePrimitive.Panel data-slot=\"collapsible-content\" {...props} />\n )\n}\n\nexport { Collapsible, CollapsibleTrigger, CollapsibleContent }\n"],"mappings":"2EAEA,SAAS,EAAY,CAAE,GAAG,GAA0C,CAClE,OAAO,EAAA,EAAA,IAAA,CAAC,EAAA,YAAqB,KAAtB,CAA2B,YAAU,cAAc,GAAI,CAAQ,CAAA,CACxE,CAEA,SAAS,EAAmB,CAAE,GAAG,GAA6C,CAC5E,OACE,EAAA,EAAA,IAAA,CAAC,EAAA,YAAqB,QAAtB,CAA8B,YAAU,sBAAsB,GAAI,CAAQ,CAAA,CAE9E,CAEA,SAAS,EAAmB,CAAE,GAAG,GAA2C,CAC1E,OACE,EAAA,EAAA,IAAA,CAAC,EAAA,YAAqB,MAAtB,CAA4B,YAAU,sBAAsB,GAAI,CAAQ,CAAA,CAE5E"}
@@ -1,4 +1,4 @@
1
- import { Collapsible as CollapsiblePrimitive } from "@base-ui/react/collapsible";
1
+ import { Collapsible as CollapsiblePrimitive } from '@base-ui/react/collapsible';
2
2
  declare function Collapsible({ ...props }: CollapsiblePrimitive.Root.Props): import("react").JSX.Element;
3
3
  declare function CollapsibleTrigger({ ...props }: CollapsiblePrimitive.Trigger.Props): import("react").JSX.Element;
4
4
  declare function CollapsibleContent({ ...props }: CollapsiblePrimitive.Panel.Props): import("react").JSX.Element;
@@ -0,0 +1,25 @@
1
+ import { jsx as e } from "react/jsx-runtime";
2
+ import { Collapsible as t } from "@base-ui/react/collapsible";
3
+ //#region src/components/ui/collapsible.tsx
4
+ function n({ ...n }) {
5
+ return /* @__PURE__ */ e(t.Root, {
6
+ "data-slot": "collapsible",
7
+ ...n
8
+ });
9
+ }
10
+ function r({ ...n }) {
11
+ return /* @__PURE__ */ e(t.Trigger, {
12
+ "data-slot": "collapsible-trigger",
13
+ ...n
14
+ });
15
+ }
16
+ function i({ ...n }) {
17
+ return /* @__PURE__ */ e(t.Panel, {
18
+ "data-slot": "collapsible-content",
19
+ ...n
20
+ });
21
+ }
22
+ //#endregion
23
+ export { n as Collapsible, i as CollapsibleContent, r as CollapsibleTrigger };
24
+
25
+ //# sourceMappingURL=collapsible.es.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"collapsible.es.js","names":[],"sources":["../../../src/components/ui/collapsible.tsx"],"sourcesContent":["import { Collapsible as CollapsiblePrimitive } from \"@base-ui/react/collapsible\"\n\nfunction Collapsible({ ...props }: CollapsiblePrimitive.Root.Props) {\n return <CollapsiblePrimitive.Root data-slot=\"collapsible\" {...props} />\n}\n\nfunction CollapsibleTrigger({ ...props }: CollapsiblePrimitive.Trigger.Props) {\n return (\n <CollapsiblePrimitive.Trigger data-slot=\"collapsible-trigger\" {...props} />\n )\n}\n\nfunction CollapsibleContent({ ...props }: CollapsiblePrimitive.Panel.Props) {\n return (\n <CollapsiblePrimitive.Panel data-slot=\"collapsible-content\" {...props} />\n )\n}\n\nexport { Collapsible, CollapsibleTrigger, CollapsibleContent }\n"],"mappings":";;;AAEA,SAAS,EAAY,EAAE,GAAG,KAA0C;CAClE,OAAO,kBAAC,EAAqB,MAAtB;EAA2B,aAAU;EAAc,GAAI;CAAQ,CAAA;AACxE;AAEA,SAAS,EAAmB,EAAE,GAAG,KAA6C;CAC5E,OACE,kBAAC,EAAqB,SAAtB;EAA8B,aAAU;EAAsB,GAAI;CAAQ,CAAA;AAE9E;AAEA,SAAS,EAAmB,EAAE,GAAG,KAA2C;CAC1E,OACE,kBAAC,EAAqB,OAAtB;EAA4B,aAAU;EAAsB,GAAI;CAAQ,CAAA;AAE5E"}