@tulip-systems/core 0.5.16 → 0.6.1

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 (936) hide show
  1. package/dist/auth/server.d.mts +1 -1
  2. package/dist/auth/server.mjs +1 -1
  3. package/dist/commands/client.d.mts +2 -1
  4. package/dist/commands/client.mjs +2 -1
  5. package/dist/components/client.d.mts +1 -1
  6. package/dist/components/client.mjs +1 -1
  7. package/dist/components/common/icons.d.mts +52 -52
  8. package/dist/components/common/icons.d.mts.map +1 -1
  9. package/dist/components/common/icons.mjs.map +1 -1
  10. package/dist/components/common/status.d.mts +3 -3
  11. package/dist/components/common/status.d.mts.map +1 -1
  12. package/dist/components/common/status.mjs.map +1 -1
  13. package/dist/components/editor/components/content.client.d.mts +2 -2
  14. package/dist/components/editor/components/content.client.d.mts.map +1 -1
  15. package/dist/components/editor/components/content.client.mjs.map +1 -1
  16. package/dist/components/editor/components/editor.client.d.mts +6 -6
  17. package/dist/components/editor/components/editor.client.d.mts.map +1 -1
  18. package/dist/components/editor/components/editor.client.mjs +2 -2
  19. package/dist/components/editor/components/editor.client.mjs.map +1 -1
  20. package/dist/components/editor/components/menu-nodes.client.mjs +3 -3
  21. package/dist/components/editor/components/menu-nodes.client.mjs.map +1 -1
  22. package/dist/components/editor/components/menu.client.d.mts +3 -3
  23. package/dist/components/editor/components/menu.client.d.mts.map +1 -1
  24. package/dist/components/editor/components/menu.client.mjs.map +1 -1
  25. package/dist/components/editor/extensions/file-handler/extension.d.mts.map +1 -1
  26. package/dist/components/editor/extensions/file-handler/extension.mjs.map +1 -1
  27. package/dist/components/editor/extensions/file-handler/strategy.d.mts.map +1 -1
  28. package/dist/components/editor/extensions/file-handler/strategy.mjs.map +1 -1
  29. package/dist/components/editor/extensions/file-handler/utils.mjs.map +1 -1
  30. package/dist/components/editor/extensions/image/extension.d.mts.map +1 -1
  31. package/dist/components/editor/extensions/image/extension.mjs.map +1 -1
  32. package/dist/components/editor/extensions/skeleton/renderer.mjs +1 -1
  33. package/dist/components/editor/extensions/skeleton/renderer.mjs.map +1 -1
  34. package/dist/components/editor/lib/constants.d.mts +27 -27
  35. package/dist/components/editor/lib/constants.d.mts.map +1 -1
  36. package/dist/components/editor/lib/extensions.d.mts +0 -1
  37. package/dist/components/editor/lib/extensions.d.mts.map +1 -1
  38. package/dist/components/editor/lib/extensions.mjs +6 -8
  39. package/dist/components/editor/lib/extensions.mjs.map +1 -1
  40. package/dist/components/editor/lib/helpers.d.mts +0 -1
  41. package/dist/components/editor/lib/helpers.d.mts.map +1 -1
  42. package/dist/components/editor/lib/helpers.mjs.map +1 -1
  43. package/dist/components/editor/lib/types.d.mts +0 -1
  44. package/dist/components/editor/lib/types.d.mts.map +1 -1
  45. package/dist/components/editor/lib/variants.mjs.map +1 -1
  46. package/dist/components/emails/forget-password-email.mjs +1 -2
  47. package/dist/components/emails/forget-password-email.mjs.map +1 -1
  48. package/dist/components/header/back-button.client.d.mts +2 -2
  49. package/dist/components/header/back-button.client.d.mts.map +1 -1
  50. package/dist/components/header/back-button.client.mjs.map +1 -1
  51. package/dist/components/header/bottom-bar.client.d.mts +3 -3
  52. package/dist/components/header/bottom-bar.client.d.mts.map +1 -1
  53. package/dist/components/header/bottom-bar.client.mjs.map +1 -1
  54. package/dist/components/header/breadcrumbs.client.d.mts +7 -7
  55. package/dist/components/header/breadcrumbs.client.d.mts.map +1 -1
  56. package/dist/components/header/breadcrumbs.client.mjs.map +1 -1
  57. package/dist/components/header/header.client.d.mts +2 -2
  58. package/dist/components/header/header.client.d.mts.map +1 -1
  59. package/dist/components/header/header.client.mjs.map +1 -1
  60. package/dist/components/header/indicator.client.mjs.map +1 -1
  61. package/dist/components/header/mobile-nav-switcher.client.d.mts +2 -2
  62. package/dist/components/header/mobile-nav-switcher.client.d.mts.map +1 -1
  63. package/dist/components/header/top-bar.client.d.mts +4 -4
  64. package/dist/components/header/top-bar.client.d.mts.map +1 -1
  65. package/dist/components/header/top-bar.client.mjs.map +1 -1
  66. package/dist/components/layouts/admin-content.client.d.mts +2 -2
  67. package/dist/components/layouts/admin-content.client.d.mts.map +1 -1
  68. package/dist/components/layouts/admin-content.client.mjs.map +1 -1
  69. package/dist/components/layouts/admin-error-pages.d.mts +4 -4
  70. package/dist/components/layouts/admin-error-pages.d.mts.map +1 -1
  71. package/dist/components/layouts/admin-error-pages.mjs.map +1 -1
  72. package/dist/components/layouts/admin-layout.d.mts +2 -2
  73. package/dist/components/layouts/admin-layout.d.mts.map +1 -1
  74. package/dist/components/layouts/admin-layout.mjs.map +1 -1
  75. package/dist/components/layouts/admin-loading.d.mts +2 -2
  76. package/dist/components/layouts/admin-loading.d.mts.map +1 -1
  77. package/dist/components/layouts/admin-loading.mjs.map +1 -1
  78. package/dist/components/layouts/empty-page.d.mts +4 -4
  79. package/dist/components/layouts/empty-page.d.mts.map +1 -1
  80. package/dist/components/layouts/empty-page.mjs.map +1 -1
  81. package/dist/components/layouts/error-page.d.mts +9 -9
  82. package/dist/components/layouts/error-page.d.mts.map +1 -1
  83. package/dist/components/layouts/error-page.mjs.map +1 -1
  84. package/dist/components/layouts/error-sections.d.mts +5 -5
  85. package/dist/components/layouts/error-sections.d.mts.map +1 -1
  86. package/dist/components/layouts/error-sections.mjs.map +1 -1
  87. package/dist/components/layouts/list-layout.d.mts +2 -2
  88. package/dist/components/layouts/list-layout.d.mts.map +1 -1
  89. package/dist/components/layouts/list-layout.mjs.map +1 -1
  90. package/dist/components/layouts/providers.client.d.mts +2 -2
  91. package/dist/components/layouts/providers.client.d.mts.map +1 -1
  92. package/dist/components/layouts/providers.client.mjs +1 -1
  93. package/dist/components/layouts/providers.client.mjs.map +1 -1
  94. package/dist/components/layouts/root-error-pages.d.mts +2 -2
  95. package/dist/components/layouts/root-error-pages.d.mts.map +1 -1
  96. package/dist/components/layouts/root-layout.server.d.mts +2 -2
  97. package/dist/components/layouts/root-layout.server.d.mts.map +1 -1
  98. package/dist/components/layouts/root-layout.server.mjs.map +1 -1
  99. package/dist/components/layouts/root-loading.d.mts +2 -2
  100. package/dist/components/layouts/root-loading.d.mts.map +1 -1
  101. package/dist/components/layouts/tab-layout.d.mts +2 -2
  102. package/dist/components/layouts/tab-layout.d.mts.map +1 -1
  103. package/dist/components/layouts/tab-layout.mjs +3 -3
  104. package/dist/components/layouts/tab-layout.mjs.map +1 -1
  105. package/dist/components/lists/data-list.d.mts +5 -5
  106. package/dist/components/lists/data-list.d.mts.map +1 -1
  107. package/dist/components/lists/data-list.mjs.map +1 -1
  108. package/dist/components/lists/data-stack.d.mts +8 -8
  109. package/dist/components/lists/data-stack.d.mts.map +1 -1
  110. package/dist/components/lists/data-stack.mjs.map +1 -1
  111. package/dist/components/navigation/admin-sidebar-header.client.mjs.map +1 -1
  112. package/dist/components/navigation/admin-sidebar-paths.client.d.mts +10 -10
  113. package/dist/components/navigation/admin-sidebar-paths.client.d.mts.map +1 -1
  114. package/dist/components/navigation/admin-sidebar-paths.client.mjs.map +1 -1
  115. package/dist/components/navigation/admin-sidebar-skeleton.mjs.map +1 -1
  116. package/dist/components/ui/accordion.d.mts +5 -5
  117. package/dist/components/ui/accordion.d.mts.map +1 -1
  118. package/dist/components/ui/accordion.mjs +0 -1
  119. package/dist/components/ui/accordion.mjs.map +1 -1
  120. package/dist/components/ui/alert-dialog.d.mts +12 -12
  121. package/dist/components/ui/alert-dialog.d.mts.map +1 -1
  122. package/dist/components/ui/alert-dialog.mjs +0 -1
  123. package/dist/components/ui/alert-dialog.mjs.map +1 -1
  124. package/dist/components/ui/alert.d.mts +4 -4
  125. package/dist/components/ui/alert.d.mts.map +1 -1
  126. package/dist/components/ui/alert.mjs +0 -1
  127. package/dist/components/ui/alert.mjs.map +1 -1
  128. package/dist/components/ui/aspect-ratio.d.mts +2 -2
  129. package/dist/components/ui/aspect-ratio.d.mts.map +1 -1
  130. package/dist/components/ui/avatar.client.d.mts +4 -4
  131. package/dist/components/ui/avatar.client.d.mts.map +1 -1
  132. package/dist/components/ui/avatar.client.mjs +0 -1
  133. package/dist/components/ui/avatar.client.mjs.map +1 -1
  134. package/dist/components/ui/badge.d.mts +3 -3
  135. package/dist/components/ui/badge.d.mts.map +1 -1
  136. package/dist/components/ui/badge.mjs +0 -1
  137. package/dist/components/ui/badge.mjs.map +1 -1
  138. package/dist/components/ui/breadcrumb.d.mts +8 -8
  139. package/dist/components/ui/breadcrumb.d.mts.map +1 -1
  140. package/dist/components/ui/breadcrumb.mjs +1 -2
  141. package/dist/components/ui/breadcrumb.mjs.map +1 -1
  142. package/dist/components/ui/button.d.mts +5 -5
  143. package/dist/components/ui/button.d.mts.map +1 -1
  144. package/dist/components/ui/button.mjs +0 -1
  145. package/dist/components/ui/button.mjs.map +1 -1
  146. package/dist/components/ui/calendar.d.mts +3 -3
  147. package/dist/components/ui/calendar.d.mts.map +1 -1
  148. package/dist/components/ui/calendar.mjs +12 -12
  149. package/dist/components/ui/calendar.mjs.map +1 -1
  150. package/dist/components/ui/card.d.mts +7 -7
  151. package/dist/components/ui/card.d.mts.map +1 -1
  152. package/dist/components/ui/card.mjs +0 -1
  153. package/dist/components/ui/card.mjs.map +1 -1
  154. package/dist/components/ui/carousel.d.mts +6 -6
  155. package/dist/components/ui/carousel.d.mts.map +1 -1
  156. package/dist/components/ui/carousel.mjs +4 -4
  157. package/dist/components/ui/carousel.mjs.map +1 -1
  158. package/dist/components/ui/chart.client.d.mts +5 -5
  159. package/dist/components/ui/chart.client.d.mts.map +1 -1
  160. package/dist/components/ui/chart.client.mjs +6 -6
  161. package/dist/components/ui/chart.client.mjs.map +1 -1
  162. package/dist/components/ui/checkbox.d.mts +2 -2
  163. package/dist/components/ui/checkbox.d.mts.map +1 -1
  164. package/dist/components/ui/checkbox.mjs +0 -1
  165. package/dist/components/ui/checkbox.mjs.map +1 -1
  166. package/dist/components/ui/collapsible.client.d.mts +4 -4
  167. package/dist/components/ui/collapsible.client.d.mts.map +1 -1
  168. package/dist/components/ui/color-picker.client.d.mts +2 -2
  169. package/dist/components/ui/color-picker.client.d.mts.map +1 -1
  170. package/dist/components/ui/color-picker.client.mjs +6 -5
  171. package/dist/components/ui/color-picker.client.mjs.map +1 -1
  172. package/dist/components/ui/combobox-dropdown.client.d.mts +2 -3
  173. package/dist/components/ui/combobox-dropdown.client.d.mts.map +1 -1
  174. package/dist/components/ui/combobox-dropdown.client.mjs +3 -3
  175. package/dist/components/ui/combobox-dropdown.client.mjs.map +1 -1
  176. package/dist/components/ui/combobox.client.d.mts +2 -2
  177. package/dist/components/ui/combobox.client.d.mts.map +1 -1
  178. package/dist/components/ui/combobox.client.mjs +2 -2
  179. package/dist/components/ui/combobox.client.mjs.map +1 -1
  180. package/dist/components/ui/command.d.mts +10 -10
  181. package/dist/components/ui/command.d.mts.map +1 -1
  182. package/dist/components/ui/command.mjs +0 -1
  183. package/dist/components/ui/command.mjs.map +1 -1
  184. package/dist/components/ui/context-menu.d.mts +16 -16
  185. package/dist/components/ui/context-menu.d.mts.map +1 -1
  186. package/dist/components/ui/context-menu.mjs +0 -1
  187. package/dist/components/ui/context-menu.mjs.map +1 -1
  188. package/dist/components/ui/date-picker.client.d.mts +2 -2
  189. package/dist/components/ui/date-picker.client.d.mts.map +1 -1
  190. package/dist/components/ui/date-picker.client.mjs +3 -3
  191. package/dist/components/ui/date-picker.client.mjs.map +1 -1
  192. package/dist/components/ui/dialog.client.d.mts +11 -11
  193. package/dist/components/ui/dialog.client.d.mts.map +1 -1
  194. package/dist/components/ui/dialog.client.mjs +0 -1
  195. package/dist/components/ui/dialog.client.mjs.map +1 -1
  196. package/dist/components/ui/drawer.client.d.mts +11 -11
  197. package/dist/components/ui/drawer.client.d.mts.map +1 -1
  198. package/dist/components/ui/drawer.client.mjs +0 -1
  199. package/dist/components/ui/drawer.client.mjs.map +1 -1
  200. package/dist/components/ui/dropdown-menu.d.mts +16 -16
  201. package/dist/components/ui/dropdown-menu.d.mts.map +1 -1
  202. package/dist/components/ui/dropdown-menu.mjs +0 -1
  203. package/dist/components/ui/dropdown-menu.mjs.map +1 -1
  204. package/dist/components/ui/form.client.d.mts +7 -7
  205. package/dist/components/ui/form.client.d.mts.map +1 -1
  206. package/dist/components/ui/form.client.mjs.map +1 -1
  207. package/dist/components/ui/hover-card.client.d.mts +4 -4
  208. package/dist/components/ui/hover-card.client.d.mts.map +1 -1
  209. package/dist/components/ui/hover-card.client.mjs +0 -1
  210. package/dist/components/ui/hover-card.client.mjs.map +1 -1
  211. package/dist/components/ui/input-date-time.d.mts +6 -6
  212. package/dist/components/ui/input-date-time.d.mts.map +1 -1
  213. package/dist/components/ui/input-date-time.mjs +4 -6
  214. package/dist/components/ui/input-date-time.mjs.map +1 -1
  215. package/dist/components/ui/input-date.d.mts +2 -2
  216. package/dist/components/ui/input-date.d.mts.map +1 -1
  217. package/dist/components/ui/input-recipient.d.mts +2 -2
  218. package/dist/components/ui/input-recipient.d.mts.map +1 -1
  219. package/dist/components/ui/input-recipient.mjs +2 -2
  220. package/dist/components/ui/input-recipient.mjs.map +1 -1
  221. package/dist/components/ui/input-time.d.mts +2 -2
  222. package/dist/components/ui/input-time.d.mts.map +1 -1
  223. package/dist/components/ui/input.d.mts +2 -2
  224. package/dist/components/ui/input.d.mts.map +1 -1
  225. package/dist/components/ui/input.mjs +0 -1
  226. package/dist/components/ui/input.mjs.map +1 -1
  227. package/dist/components/ui/label.d.mts +2 -2
  228. package/dist/components/ui/label.d.mts.map +1 -1
  229. package/dist/components/ui/label.mjs +0 -1
  230. package/dist/components/ui/label.mjs.map +1 -1
  231. package/dist/components/ui/navigation-menu.d.mts +11 -11
  232. package/dist/components/ui/navigation-menu.d.mts.map +1 -1
  233. package/dist/components/ui/navigation-menu.mjs +0 -1
  234. package/dist/components/ui/navigation-menu.mjs.map +1 -1
  235. package/dist/components/ui/pagination.d.mts +8 -8
  236. package/dist/components/ui/pagination.d.mts.map +1 -1
  237. package/dist/components/ui/pagination.mjs +0 -1
  238. package/dist/components/ui/pagination.mjs.map +1 -1
  239. package/dist/components/ui/popover.d.mts +5 -5
  240. package/dist/components/ui/popover.d.mts.map +1 -1
  241. package/dist/components/ui/popover.mjs +0 -1
  242. package/dist/components/ui/popover.mjs.map +1 -1
  243. package/dist/components/ui/progress.client.d.mts +2 -2
  244. package/dist/components/ui/progress.client.d.mts.map +1 -1
  245. package/dist/components/ui/progress.client.mjs +0 -1
  246. package/dist/components/ui/progress.client.mjs.map +1 -1
  247. package/dist/components/ui/radio-group.d.mts +3 -3
  248. package/dist/components/ui/radio-group.d.mts.map +1 -1
  249. package/dist/components/ui/radio-group.mjs +0 -1
  250. package/dist/components/ui/radio-group.mjs.map +1 -1
  251. package/dist/components/ui/resizable.client.d.mts +4 -4
  252. package/dist/components/ui/resizable.client.d.mts.map +1 -1
  253. package/dist/components/ui/resizable.client.mjs +0 -1
  254. package/dist/components/ui/resizable.client.mjs.map +1 -1
  255. package/dist/components/ui/scroll-area.d.mts +3 -3
  256. package/dist/components/ui/scroll-area.d.mts.map +1 -1
  257. package/dist/components/ui/scroll-area.mjs +0 -1
  258. package/dist/components/ui/scroll-area.mjs.map +1 -1
  259. package/dist/components/ui/select.client.d.mts +11 -11
  260. package/dist/components/ui/select.client.d.mts.map +1 -1
  261. package/dist/components/ui/select.client.mjs +0 -1
  262. package/dist/components/ui/select.client.mjs.map +1 -1
  263. package/dist/components/ui/separator.d.mts +2 -2
  264. package/dist/components/ui/separator.d.mts.map +1 -1
  265. package/dist/components/ui/separator.mjs +0 -1
  266. package/dist/components/ui/separator.mjs.map +1 -1
  267. package/dist/components/ui/sheet.client.d.mts +9 -9
  268. package/dist/components/ui/sheet.client.d.mts.map +1 -1
  269. package/dist/components/ui/sheet.client.mjs +0 -1
  270. package/dist/components/ui/sheet.client.mjs.map +1 -1
  271. package/dist/components/ui/sidebar.client.d.mts +26 -26
  272. package/dist/components/ui/sidebar.client.d.mts.map +1 -1
  273. package/dist/components/ui/sidebar.client.mjs +2 -2
  274. package/dist/components/ui/sidebar.client.mjs.map +1 -1
  275. package/dist/components/ui/skeleton.d.mts +2 -2
  276. package/dist/components/ui/skeleton.d.mts.map +1 -1
  277. package/dist/components/ui/slider.d.mts +2 -2
  278. package/dist/components/ui/slider.d.mts.map +1 -1
  279. package/dist/components/ui/sonner.client.d.mts +2 -2
  280. package/dist/components/ui/sonner.client.d.mts.map +1 -1
  281. package/dist/components/ui/sonner.client.mjs.map +1 -1
  282. package/dist/components/ui/switch.d.mts +2 -2
  283. package/dist/components/ui/switch.d.mts.map +1 -1
  284. package/dist/components/ui/switch.mjs +0 -1
  285. package/dist/components/ui/switch.mjs.map +1 -1
  286. package/dist/components/ui/tabs.d.mts +5 -5
  287. package/dist/components/ui/tabs.d.mts.map +1 -1
  288. package/dist/components/ui/tabs.mjs +0 -1
  289. package/dist/components/ui/tabs.mjs.map +1 -1
  290. package/dist/components/ui/textarea.d.mts +2 -2
  291. package/dist/components/ui/textarea.d.mts.map +1 -1
  292. package/dist/components/ui/textarea.mjs +0 -1
  293. package/dist/components/ui/textarea.mjs.map +1 -1
  294. package/dist/components/ui/toggle-group.client.d.mts +3 -3
  295. package/dist/components/ui/toggle-group.client.d.mts.map +1 -1
  296. package/dist/components/ui/toggle-group.client.mjs.map +1 -1
  297. package/dist/components/ui/toggle.d.mts +4 -4
  298. package/dist/components/ui/toggle.d.mts.map +1 -1
  299. package/dist/components/ui/toggle.mjs +0 -1
  300. package/dist/components/ui/toggle.mjs.map +1 -1
  301. package/dist/components/ui/tooltip.client.d.mts +5 -5
  302. package/dist/components/ui/tooltip.client.d.mts.map +1 -1
  303. package/dist/components/ui/tooltip.client.mjs +0 -1
  304. package/dist/components/ui/tooltip.client.mjs.map +1 -1
  305. package/dist/components.d.mts +1 -1
  306. package/dist/components.mjs +1 -1
  307. package/dist/data-tables/client.d.mts +4 -4
  308. package/dist/data-tables/client.mjs +4 -4
  309. package/dist/inline-edit/client.d.mts +4 -4
  310. package/dist/inline-edit/client.mjs +2 -2
  311. package/dist/lib/config/constants.d.mts.map +1 -1
  312. package/dist/lib/config/constants.mjs.map +1 -1
  313. package/dist/lib/hooks/use-action.d.mts +0 -1
  314. package/dist/lib/hooks/use-action.d.mts.map +1 -1
  315. package/dist/lib/hooks/use-action.mjs.map +1 -1
  316. package/dist/lib/hooks/use-indicator.d.mts +2 -2
  317. package/dist/lib/hooks/use-indicator.d.mts.map +1 -1
  318. package/dist/lib/hooks/use-indicator.mjs +14 -11
  319. package/dist/lib/hooks/use-indicator.mjs.map +1 -1
  320. package/dist/lib/hooks/use-mobile.client.d.mts.map +1 -1
  321. package/dist/lib/types/config.d.mts.map +1 -1
  322. package/dist/lib/utils/array-move.d.mts.map +1 -1
  323. package/dist/lib/utils/cn.d.mts.map +1 -1
  324. package/dist/lib/utils/cn.mjs.map +1 -1
  325. package/dist/lib/utils/fonts.d.mts.map +1 -1
  326. package/dist/lib/utils/format.d.mts.map +1 -1
  327. package/dist/lib/utils/manifest.d.mts.map +1 -1
  328. package/dist/lib/utils/manifest.mjs.map +1 -1
  329. package/dist/lib/utils/url.d.mts.map +1 -1
  330. package/dist/lib/utils/url.mjs +1 -1
  331. package/dist/lib/utils/url.mjs.map +1 -1
  332. package/dist/modules/auth/components/allowed.client.d.mts +2 -2
  333. package/dist/modules/auth/components/allowed.client.d.mts.map +1 -1
  334. package/dist/modules/auth/components/allowed.client.mjs.map +1 -1
  335. package/dist/modules/auth/components/auth-layout.server.d.mts +2 -2
  336. package/dist/modules/auth/components/auth-layout.server.d.mts.map +1 -1
  337. package/dist/modules/auth/components/auth-layout.server.mjs +1 -1
  338. package/dist/modules/auth/components/auth-layout.server.mjs.map +1 -1
  339. package/dist/modules/auth/components/auth-loading.d.mts +2 -2
  340. package/dist/modules/auth/components/auth-loading.d.mts.map +1 -1
  341. package/dist/modules/auth/components/create-first-user-page.client.d.mts +2 -2
  342. package/dist/modules/auth/components/create-first-user-page.client.d.mts.map +1 -1
  343. package/dist/modules/auth/components/create-first-user-page.client.mjs +1 -1
  344. package/dist/modules/auth/components/create-first-user-page.client.mjs.map +1 -1
  345. package/dist/modules/auth/components/forget-password-page.client.d.mts +2 -2
  346. package/dist/modules/auth/components/forget-password-page.client.d.mts.map +1 -1
  347. package/dist/modules/auth/components/forget-password-page.client.mjs +2 -2
  348. package/dist/modules/auth/components/forget-password-page.client.mjs.map +1 -1
  349. package/dist/modules/auth/components/guard-first-user.server.d.mts +2 -2
  350. package/dist/modules/auth/components/guard-first-user.server.d.mts.map +1 -1
  351. package/dist/modules/auth/components/guard-first-user.server.mjs.map +1 -1
  352. package/dist/modules/auth/components/guard.server.d.mts +2 -2
  353. package/dist/modules/auth/components/guard.server.d.mts.map +1 -1
  354. package/dist/modules/auth/components/guard.server.mjs.map +1 -1
  355. package/dist/modules/auth/components/login-page.client.d.mts +2 -2
  356. package/dist/modules/auth/components/login-page.client.d.mts.map +1 -1
  357. package/dist/modules/auth/components/login-page.client.mjs +1 -1
  358. package/dist/modules/auth/components/login-page.client.mjs.map +1 -1
  359. package/dist/modules/auth/components/reset-password-page.client.d.mts +2 -2
  360. package/dist/modules/auth/components/reset-password-page.client.d.mts.map +1 -1
  361. package/dist/modules/auth/components/reset-password-page.client.mjs +2 -2
  362. package/dist/modules/auth/components/reset-password-page.client.mjs.map +1 -1
  363. package/dist/modules/auth/components/update-password-command.d.mts +2 -2
  364. package/dist/modules/auth/components/update-password-command.d.mts.map +1 -1
  365. package/dist/modules/auth/components/update-password-command.mjs +0 -1
  366. package/dist/modules/auth/components/update-password-command.mjs.map +1 -1
  367. package/dist/modules/auth/db/schema.d.mts +73 -73
  368. package/dist/modules/auth/db/schema.d.mts.map +1 -1
  369. package/dist/modules/auth/db/schema.mjs +1 -1
  370. package/dist/modules/auth/db/schema.mjs.map +1 -1
  371. package/dist/modules/auth/handler/create-client.client.d.mts +159 -159
  372. package/dist/modules/auth/handler/create-client.client.d.mts.map +1 -1
  373. package/dist/modules/auth/handler/create-client.client.mjs.map +1 -1
  374. package/dist/modules/auth/handler/init.d.mts +98 -98
  375. package/dist/modules/auth/handler/init.d.mts.map +1 -1
  376. package/dist/modules/auth/handler/init.mjs +2 -2
  377. package/dist/modules/auth/handler/init.mjs.map +1 -1
  378. package/dist/modules/auth/handler/proxy.server.d.mts +0 -1
  379. package/dist/modules/auth/handler/proxy.server.d.mts.map +1 -1
  380. package/dist/modules/auth/handler/proxy.server.mjs +0 -1
  381. package/dist/modules/auth/handler/proxy.server.mjs.map +1 -1
  382. package/dist/modules/auth/handler/route.server.d.mts +0 -1
  383. package/dist/modules/auth/handler/route.server.d.mts.map +1 -1
  384. package/dist/modules/auth/handler/route.server.mjs.map +1 -1
  385. package/dist/modules/auth/hooks/use-auth-client.d.mts +4 -4
  386. package/dist/modules/auth/hooks/use-auth-client.d.mts.map +1 -1
  387. package/dist/modules/auth/hooks/use-auth-client.mjs.map +1 -1
  388. package/dist/modules/auth/hooks/use-permission.d.mts.map +1 -1
  389. package/dist/modules/auth/hooks/use-permission.mjs +2 -2
  390. package/dist/modules/auth/hooks/use-permission.mjs.map +1 -1
  391. package/dist/modules/auth/hooks/use-session.d.mts +2 -2
  392. package/dist/modules/auth/hooks/use-session.d.mts.map +1 -1
  393. package/dist/modules/auth/hooks/use-session.mjs.map +1 -1
  394. package/dist/modules/auth/lib/helpers.server.d.mts.map +1 -1
  395. package/dist/modules/auth/lib/helpers.server.mjs +2 -2
  396. package/dist/modules/auth/lib/helpers.server.mjs.map +1 -1
  397. package/dist/modules/auth/lib/permissions.d.mts.map +1 -1
  398. package/dist/modules/auth/lib/validators.d.mts +2 -3
  399. package/dist/modules/auth/lib/validators.d.mts.map +1 -1
  400. package/dist/modules/commands/components/alert-dialog-command.client.d.mts +10 -10
  401. package/dist/modules/commands/components/alert-dialog-command.client.d.mts.map +1 -1
  402. package/dist/modules/commands/components/alert-dialog-command.client.mjs.map +1 -1
  403. package/dist/modules/commands/components/click-command.client.d.mts +2 -2
  404. package/dist/modules/commands/components/click-command.client.d.mts.map +1 -1
  405. package/dist/modules/commands/components/click-command.client.mjs +0 -1
  406. package/dist/modules/commands/components/click-command.client.mjs.map +1 -1
  407. package/dist/modules/commands/components/command-trigger.client.d.mts +6 -6
  408. package/dist/modules/commands/components/command-trigger.client.d.mts.map +1 -1
  409. package/dist/modules/commands/components/command-trigger.client.mjs.map +1 -1
  410. package/dist/modules/commands/components/dialog-command.client.d.mts +8 -8
  411. package/dist/modules/commands/components/dialog-command.client.d.mts.map +1 -1
  412. package/dist/modules/commands/components/dialog-command.client.mjs.map +1 -1
  413. package/dist/modules/commands/components/dropdown-command.client.d.mts +5 -5
  414. package/dist/modules/commands/components/dropdown-command.client.d.mts.map +1 -1
  415. package/dist/modules/commands/components/dropdown-command.client.mjs.map +1 -1
  416. package/dist/modules/commands/components/empty-command.client.d.mts +2 -2
  417. package/dist/modules/commands/components/empty-command.client.d.mts.map +1 -1
  418. package/dist/modules/commands/components/empty-command.client.mjs +0 -1
  419. package/dist/modules/commands/components/empty-command.client.mjs.map +1 -1
  420. package/dist/modules/commands/components/form-dialog-command.client.d.mts +11 -11
  421. package/dist/modules/commands/components/form-dialog-command.client.d.mts.map +1 -1
  422. package/dist/modules/commands/components/form-dialog-command.client.mjs.map +1 -1
  423. package/dist/modules/commands/components/render-command.mjs.map +1 -1
  424. package/dist/modules/commands/hooks/context.client.mjs.map +1 -1
  425. package/dist/modules/commands/hooks/use-command-menu.client.d.mts +8 -1
  426. package/dist/modules/commands/hooks/use-command-menu.client.d.mts.map +1 -1
  427. package/dist/modules/commands/hooks/use-command-menu.client.mjs +1 -1
  428. package/dist/modules/commands/hooks/use-command-menu.client.mjs.map +1 -1
  429. package/dist/modules/commands/hooks/use-command-mutation.client.d.mts +2 -2
  430. package/dist/modules/commands/hooks/use-command-mutation.client.d.mts.map +1 -1
  431. package/dist/modules/commands/hooks/use-command-mutation.client.mjs.map +1 -1
  432. package/dist/modules/commands/lib/definitions.d.mts +0 -1
  433. package/dist/modules/commands/lib/definitions.d.mts.map +1 -1
  434. package/dist/modules/commands/lib/factory.d.mts.map +1 -1
  435. package/dist/modules/commands/menus/context-menu.client.d.mts +2 -2
  436. package/dist/modules/commands/menus/context-menu.client.d.mts.map +1 -1
  437. package/dist/modules/commands/menus/context-menu.client.mjs +5 -5
  438. package/dist/modules/commands/menus/context-menu.client.mjs.map +1 -1
  439. package/dist/modules/commands/menus/dropdown-menu.client.d.mts +3 -3
  440. package/dist/modules/commands/menus/dropdown-menu.client.d.mts.map +1 -1
  441. package/dist/modules/commands/menus/dropdown-menu.client.mjs.map +1 -1
  442. package/dist/modules/commands/menus/floating-menu.client.d.mts +19 -0
  443. package/dist/modules/commands/menus/floating-menu.client.d.mts.map +1 -0
  444. package/dist/modules/commands/menus/{data-table-menu.client.mjs → floating-menu.client.mjs} +10 -10
  445. package/dist/modules/commands/menus/floating-menu.client.mjs.map +1 -0
  446. package/dist/modules/commands/menus/inline-menu.client.d.mts +3 -3
  447. package/dist/modules/commands/menus/inline-menu.client.d.mts.map +1 -1
  448. package/dist/modules/commands/menus/inline-menu.client.mjs +0 -1
  449. package/dist/modules/commands/menus/inline-menu.client.mjs.map +1 -1
  450. package/dist/modules/commands/menus/responsive-menu.client.d.mts +3 -3
  451. package/dist/modules/commands/menus/responsive-menu.client.d.mts.map +1 -1
  452. package/dist/modules/commands/menus/responsive-menu.client.mjs.map +1 -1
  453. package/dist/modules/commands/utils/archive-command.client.d.mts +3 -3
  454. package/dist/modules/commands/utils/archive-command.client.d.mts.map +1 -1
  455. package/dist/modules/commands/utils/archive-command.client.mjs.map +1 -1
  456. package/dist/modules/commands/utils/delete-command.client.d.mts +3 -3
  457. package/dist/modules/commands/utils/delete-command.client.d.mts.map +1 -1
  458. package/dist/modules/commands/utils/delete-command.client.mjs.map +1 -1
  459. package/dist/modules/config/db/helpers.d.mts +5 -5
  460. package/dist/modules/config/db/helpers.d.mts.map +1 -1
  461. package/dist/modules/config/db/helpers.mjs.map +1 -1
  462. package/dist/modules/config/db/init.d.mts.map +1 -1
  463. package/dist/modules/config/db/init.mjs.map +1 -1
  464. package/dist/modules/config/db/types.d.mts.map +1 -1
  465. package/dist/modules/config/lib/config.d.mts.map +1 -1
  466. package/dist/modules/config/lib/context.d.mts.map +1 -1
  467. package/dist/modules/config/lib/context.mjs.map +1 -1
  468. package/dist/modules/config/paths/helpers.d.mts +0 -1
  469. package/dist/modules/config/paths/helpers.d.mts.map +1 -1
  470. package/dist/modules/config/paths/helpers.mjs.map +1 -1
  471. package/dist/modules/config/paths/types.d.mts +0 -1
  472. package/dist/modules/config/paths/types.d.mts.map +1 -1
  473. package/dist/modules/config/providers/email.d.mts.map +1 -1
  474. package/dist/modules/data-tables/components/cell/common.client.d.mts +5 -5
  475. package/dist/modules/data-tables/components/cell/common.client.d.mts.map +1 -1
  476. package/dist/modules/data-tables/components/cell/common.client.mjs.map +1 -1
  477. package/dist/modules/data-tables/components/cell/index.client.d.mts.map +1 -1
  478. package/dist/modules/data-tables/components/cell/select.client.d.mts.map +1 -1
  479. package/dist/modules/data-tables/components/column-header.d.mts +2 -2
  480. package/dist/modules/data-tables/components/column-header.d.mts.map +1 -1
  481. package/dist/modules/data-tables/components/column-header.mjs.map +1 -1
  482. package/dist/modules/data-tables/components/filters/combobox.client.d.mts +2 -2
  483. package/dist/modules/data-tables/components/filters/combobox.client.d.mts.map +1 -1
  484. package/dist/modules/data-tables/components/filters/combobox.client.mjs.map +1 -1
  485. package/dist/modules/data-tables/components/filters/slider.client.d.mts +2 -2
  486. package/dist/modules/data-tables/components/filters/slider.client.d.mts.map +1 -1
  487. package/dist/modules/data-tables/components/filters/slider.client.mjs +1 -1
  488. package/dist/modules/data-tables/components/filters/slider.client.mjs.map +1 -1
  489. package/dist/modules/data-tables/components/footer.mjs.map +1 -1
  490. package/dist/modules/data-tables/components/header.d.mts +4 -4
  491. package/dist/modules/data-tables/components/header.d.mts.map +1 -1
  492. package/dist/modules/data-tables/components/header.mjs.map +1 -1
  493. package/dist/modules/data-tables/components/layout.d.mts +2 -2
  494. package/dist/modules/data-tables/components/layout.d.mts.map +1 -1
  495. package/dist/modules/data-tables/components/layout.mjs.map +1 -1
  496. package/dist/modules/data-tables/components/search-input.client.d.mts +2 -2
  497. package/dist/modules/data-tables/components/search-input.client.d.mts.map +1 -1
  498. package/dist/modules/data-tables/components/skeleton.d.mts +2 -2
  499. package/dist/modules/data-tables/components/skeleton.d.mts.map +1 -1
  500. package/dist/modules/data-tables/components/skeleton.mjs +4 -4
  501. package/dist/modules/data-tables/components/skeleton.mjs.map +1 -1
  502. package/dist/modules/data-tables/components/table.d.mts +7 -7
  503. package/dist/modules/data-tables/components/table.d.mts.map +1 -1
  504. package/dist/modules/data-tables/components/table.mjs +0 -1
  505. package/dist/modules/data-tables/components/table.mjs.map +1 -1
  506. package/dist/modules/data-tables/components/toolbar.d.mts +3 -3
  507. package/dist/modules/data-tables/components/toolbar.d.mts.map +1 -1
  508. package/dist/modules/data-tables/components/toolbar.mjs.map +1 -1
  509. package/dist/modules/data-tables/hooks/use-context.client.d.mts +2 -2
  510. package/dist/modules/data-tables/hooks/use-context.client.d.mts.map +1 -1
  511. package/dist/modules/data-tables/hooks/use-context.client.mjs.map +1 -1
  512. package/dist/modules/data-tables/hooks/use-selection.client.mjs.map +1 -1
  513. package/dist/modules/data-tables/hooks/use-table.client.d.mts.map +1 -1
  514. package/dist/modules/data-tables/hooks/use-table.client.mjs.map +1 -1
  515. package/dist/modules/data-tables/lib/converters/cursor.d.mts +0 -1
  516. package/dist/modules/data-tables/lib/converters/cursor.d.mts.map +1 -1
  517. package/dist/modules/data-tables/lib/converters/cursor.mjs.map +1 -1
  518. package/dist/modules/data-tables/lib/converters/dto.d.mts +0 -1
  519. package/dist/modules/data-tables/lib/converters/dto.d.mts.map +1 -1
  520. package/dist/modules/data-tables/lib/converters/dto.mjs.map +1 -1
  521. package/dist/modules/data-tables/lib/converters/filter.d.mts.map +1 -1
  522. package/dist/modules/data-tables/lib/converters/search.d.mts +1 -1
  523. package/dist/modules/data-tables/lib/converters/search.d.mts.map +1 -1
  524. package/dist/modules/data-tables/lib/converters/search.mjs.map +1 -1
  525. package/dist/modules/data-tables/lib/converters/sorting.d.mts +1 -1
  526. package/dist/modules/data-tables/lib/converters/sorting.d.mts.map +1 -1
  527. package/dist/modules/data-tables/lib/converters/sorting.mjs.map +1 -1
  528. package/dist/modules/data-tables/lib/filters/config.d.mts.map +1 -1
  529. package/dist/modules/data-tables/lib/filters/config.mjs.map +1 -1
  530. package/dist/modules/data-tables/lib/filters/helpers.d.mts.map +1 -1
  531. package/dist/modules/data-tables/lib/filters/helpers.mjs +4 -4
  532. package/dist/modules/data-tables/lib/filters/helpers.mjs.map +1 -1
  533. package/dist/modules/data-tables/lib/filters/parsers.d.mts.map +1 -1
  534. package/dist/modules/data-tables/lib/filters/parsers.mjs.map +1 -1
  535. package/dist/modules/data-tables/lib/filters/resolvers.d.mts.map +1 -1
  536. package/dist/modules/data-tables/lib/filters/resolvers.mjs +1 -1
  537. package/dist/modules/data-tables/lib/filters/resolvers.mjs.map +1 -1
  538. package/dist/modules/data-tables/lib/helpers/create-column.mjs.map +1 -1
  539. package/dist/modules/data-tables/lib/search-params.d.mts +6 -6
  540. package/dist/modules/data-tables/lib/search-params.d.mts.map +1 -1
  541. package/dist/modules/data-tables/lib/types.d.mts +0 -1
  542. package/dist/modules/data-tables/lib/types.d.mts.map +1 -1
  543. package/dist/modules/data-tables/lib/validators.d.mts +0 -1
  544. package/dist/modules/data-tables/lib/validators.d.mts.map +1 -1
  545. package/dist/modules/data-tables/server/get-data.server.d.mts +1 -1
  546. package/dist/modules/data-tables/server/get-data.server.d.mts.map +1 -1
  547. package/dist/modules/data-tables/server/get-data.server.mjs.map +1 -1
  548. package/dist/modules/data-tables/strategies/helpers/sorting.mjs.map +1 -1
  549. package/dist/modules/data-tables/strategies/infinite/components.mjs +1 -1
  550. package/dist/modules/data-tables/strategies/infinite/components.mjs.map +1 -1
  551. package/dist/modules/data-tables/strategies/infinite/strategy.d.mts.map +1 -1
  552. package/dist/modules/data-tables/strategies/infinite/strategy.mjs.map +1 -1
  553. package/dist/modules/data-tables/strategies/pagination/components.mjs.map +1 -1
  554. package/dist/modules/data-tables/strategies/pagination/strategy.d.mts.map +1 -1
  555. package/dist/modules/data-tables/strategies/pagination/strategy.mjs.map +1 -1
  556. package/dist/modules/data-tables/tables/data-table/components/body.mjs.map +1 -1
  557. package/dist/modules/data-tables/tables/data-table/components/header.mjs.map +1 -1
  558. package/dist/modules/data-tables/tables/data-table/components/row.mjs +0 -1
  559. package/dist/modules/data-tables/tables/data-table/components/row.mjs.map +1 -1
  560. package/dist/modules/data-tables/tables/data-table/components/table.d.mts +2 -2
  561. package/dist/modules/data-tables/tables/data-table/components/table.d.mts.map +1 -1
  562. package/dist/modules/data-tables/tables/data-table/components/table.mjs +8 -2
  563. package/dist/modules/data-tables/tables/data-table/components/table.mjs.map +1 -1
  564. package/dist/modules/data-tables/tables/inline-table/components/body.mjs.map +1 -1
  565. package/dist/modules/data-tables/tables/inline-table/components/cells/common.d.mts +2 -2
  566. package/dist/modules/data-tables/tables/inline-table/components/cells/common.d.mts.map +1 -1
  567. package/dist/modules/data-tables/tables/inline-table/components/cells/common.mjs +0 -1
  568. package/dist/modules/data-tables/tables/inline-table/components/cells/common.mjs.map +1 -1
  569. package/dist/modules/data-tables/tables/inline-table/components/cells/drag-handle.client.d.mts +2 -2
  570. package/dist/modules/data-tables/tables/inline-table/components/cells/drag-handle.client.d.mts.map +1 -1
  571. package/dist/modules/data-tables/tables/inline-table/components/cells/drag-handle.client.mjs.map +1 -1
  572. package/dist/modules/data-tables/tables/inline-table/components/cells/read-only.d.mts +2 -2
  573. package/dist/modules/data-tables/tables/inline-table/components/cells/read-only.d.mts.map +1 -1
  574. package/dist/modules/data-tables/tables/inline-table/components/cells/read-only.mjs +0 -1
  575. package/dist/modules/data-tables/tables/inline-table/components/cells/read-only.mjs.map +1 -1
  576. package/dist/modules/data-tables/tables/inline-table/components/header.mjs.map +1 -1
  577. package/dist/modules/data-tables/tables/inline-table/components/row.client.mjs +0 -1
  578. package/dist/modules/data-tables/tables/inline-table/components/row.client.mjs.map +1 -1
  579. package/dist/modules/data-tables/tables/inline-table/components/table.d.mts +2 -2
  580. package/dist/modules/data-tables/tables/inline-table/components/table.d.mts.map +1 -1
  581. package/dist/modules/data-tables/tables/inline-table/components/table.mjs +8 -2
  582. package/dist/modules/data-tables/tables/inline-table/components/table.mjs.map +1 -1
  583. package/dist/modules/data-tables/tables/inline-table/hooks/context.client.d.mts +2 -2
  584. package/dist/modules/data-tables/tables/inline-table/hooks/context.client.d.mts.map +1 -1
  585. package/dist/modules/data-tables/tables/inline-table/hooks/context.client.mjs.map +1 -1
  586. package/dist/modules/inline-edit/components/combobox-dropdown.client.d.mts +2 -2
  587. package/dist/modules/inline-edit/components/combobox-dropdown.client.d.mts.map +1 -1
  588. package/dist/modules/inline-edit/components/combobox-dropdown.client.mjs +5 -1
  589. package/dist/modules/inline-edit/components/combobox-dropdown.client.mjs.map +1 -1
  590. package/dist/modules/inline-edit/components/combobox.client.d.mts +2 -2
  591. package/dist/modules/inline-edit/components/combobox.client.d.mts.map +1 -1
  592. package/dist/modules/inline-edit/components/combobox.client.mjs +8 -4
  593. package/dist/modules/inline-edit/components/combobox.client.mjs.map +1 -1
  594. package/dist/modules/inline-edit/components/date-input.client.d.mts +2 -2
  595. package/dist/modules/inline-edit/components/date-input.client.d.mts.map +1 -1
  596. package/dist/modules/inline-edit/components/date-input.client.mjs +5 -1
  597. package/dist/modules/inline-edit/components/date-input.client.mjs.map +1 -1
  598. package/dist/modules/inline-edit/components/date-picker.client.d.mts +2 -2
  599. package/dist/modules/inline-edit/components/date-picker.client.d.mts.map +1 -1
  600. package/dist/modules/inline-edit/components/date-picker.client.mjs +8 -4
  601. package/dist/modules/inline-edit/components/date-picker.client.mjs.map +1 -1
  602. package/dist/modules/inline-edit/components/date-time.client.d.mts +2 -2
  603. package/dist/modules/inline-edit/components/date-time.client.d.mts.map +1 -1
  604. package/dist/modules/inline-edit/components/date-time.client.mjs +6 -1
  605. package/dist/modules/inline-edit/components/date-time.client.mjs.map +1 -1
  606. package/dist/modules/inline-edit/components/editor.client.d.mts +2 -2
  607. package/dist/modules/inline-edit/components/editor.client.d.mts.map +1 -1
  608. package/dist/modules/inline-edit/components/editor.client.mjs +7 -3
  609. package/dist/modules/inline-edit/components/editor.client.mjs.map +1 -1
  610. package/dist/modules/inline-edit/components/input-recipient.client.d.mts +2 -2
  611. package/dist/modules/inline-edit/components/input-recipient.client.d.mts.map +1 -1
  612. package/dist/modules/inline-edit/components/input-recipient.client.mjs +5 -1
  613. package/dist/modules/inline-edit/components/input-recipient.client.mjs.map +1 -1
  614. package/dist/modules/inline-edit/components/input-toggle.client.d.mts +2 -2
  615. package/dist/modules/inline-edit/components/input-toggle.client.d.mts.map +1 -1
  616. package/dist/modules/inline-edit/components/input-toggle.client.mjs +5 -1
  617. package/dist/modules/inline-edit/components/input-toggle.client.mjs.map +1 -1
  618. package/dist/modules/inline-edit/components/input.client.d.mts +4 -4
  619. package/dist/modules/inline-edit/components/input.client.d.mts.map +1 -1
  620. package/dist/modules/inline-edit/components/input.client.mjs +16 -4
  621. package/dist/modules/inline-edit/components/input.client.mjs.map +1 -1
  622. package/dist/modules/inline-edit/components/select.client.d.mts +6 -6
  623. package/dist/modules/inline-edit/components/select.client.d.mts.map +1 -1
  624. package/dist/modules/inline-edit/components/select.client.mjs +8 -4
  625. package/dist/modules/inline-edit/components/select.client.mjs.map +1 -1
  626. package/dist/modules/inline-edit/components/switch.client.d.mts +2 -2
  627. package/dist/modules/inline-edit/components/switch.client.d.mts.map +1 -1
  628. package/dist/modules/inline-edit/components/switch.client.mjs +5 -1
  629. package/dist/modules/inline-edit/components/switch.client.mjs.map +1 -1
  630. package/dist/modules/inline-edit/components/toggle.client.d.mts +2 -2
  631. package/dist/modules/inline-edit/components/toggle.client.d.mts.map +1 -1
  632. package/dist/modules/inline-edit/components/toggle.client.mjs +8 -4
  633. package/dist/modules/inline-edit/components/toggle.client.mjs.map +1 -1
  634. package/dist/modules/inline-edit/hooks/context.client.d.mts +2 -2
  635. package/dist/modules/inline-edit/hooks/context.client.d.mts.map +1 -1
  636. package/dist/modules/inline-edit/hooks/context.client.mjs +1 -1
  637. package/dist/modules/inline-edit/hooks/context.client.mjs.map +1 -1
  638. package/dist/modules/inline-edit/hooks/use-inline.client.d.mts +22 -7
  639. package/dist/modules/inline-edit/hooks/use-inline.client.d.mts.map +1 -1
  640. package/dist/modules/inline-edit/hooks/use-inline.client.mjs +12 -9
  641. package/dist/modules/inline-edit/hooks/use-inline.client.mjs.map +1 -1
  642. package/dist/modules/inline-edit/lib/validators.d.mts +0 -1
  643. package/dist/modules/inline-edit/lib/validators.d.mts.map +1 -1
  644. package/dist/modules/inline-edit/lib/validators.mjs.map +1 -1
  645. package/dist/modules/inline-edit/lib/variants.d.mts +3 -3
  646. package/dist/modules/inline-edit/lib/variants.d.mts.map +1 -1
  647. package/dist/modules/inline-edit/lib/variants.mjs.map +1 -1
  648. package/dist/modules/router/handler/caller.client.d.mts +0 -1
  649. package/dist/modules/router/handler/caller.client.d.mts.map +1 -1
  650. package/dist/modules/router/handler/caller.client.mjs.map +1 -1
  651. package/dist/modules/router/handler/caller.server.d.mts.map +1 -1
  652. package/dist/modules/router/handler/context.server.d.mts.map +1 -1
  653. package/dist/modules/router/handler/context.server.mjs.map +1 -1
  654. package/dist/modules/router/handler/init.server.d.mts +6 -6
  655. package/dist/modules/router/handler/init.server.d.mts.map +1 -1
  656. package/dist/modules/router/handler/init.server.mjs.map +1 -1
  657. package/dist/modules/router/handler/register.server.d.mts.map +1 -1
  658. package/dist/modules/router/handler/register.server.mjs.map +1 -1
  659. package/dist/modules/router/handler/route.server.d.mts +0 -1
  660. package/dist/modules/router/handler/route.server.d.mts.map +1 -1
  661. package/dist/modules/router/handler/route.server.mjs.map +1 -1
  662. package/dist/modules/router/lib/query-client.d.mts +0 -1
  663. package/dist/modules/router/lib/query-client.d.mts.map +1 -1
  664. package/dist/modules/router/lib/query-client.mjs.map +1 -1
  665. package/dist/modules/router/lib/query-client.server.d.mts.map +1 -1
  666. package/dist/modules/router/lib/validators.d.mts +0 -1
  667. package/dist/modules/router/lib/validators.d.mts.map +1 -1
  668. package/dist/modules/storage/components/dropzone-context.client.d.mts +2 -2
  669. package/dist/modules/storage/components/dropzone-context.client.d.mts.map +1 -1
  670. package/dist/modules/storage/components/dropzone-context.client.mjs.map +1 -1
  671. package/dist/modules/storage/components/dropzone.client.d.mts +3 -3
  672. package/dist/modules/storage/components/dropzone.client.d.mts.map +1 -1
  673. package/dist/modules/storage/components/dropzone.client.mjs.map +1 -1
  674. package/dist/modules/storage/components/image-grid.client.d.mts +3 -3
  675. package/dist/modules/storage/components/image-grid.client.d.mts.map +1 -1
  676. package/dist/modules/storage/components/image-grid.client.mjs +2 -0
  677. package/dist/modules/storage/components/image-grid.client.mjs.map +1 -1
  678. package/dist/modules/storage/components/upload-zone-context.client.d.mts +1 -1
  679. package/dist/modules/storage/components/upload-zone-context.client.d.mts.map +1 -1
  680. package/dist/modules/storage/components/upload-zone-context.client.mjs.map +1 -1
  681. package/dist/modules/storage/components/upload-zone.client.d.mts +4 -3
  682. package/dist/modules/storage/components/upload-zone.client.d.mts.map +1 -1
  683. package/dist/modules/storage/components/upload-zone.client.mjs +9 -7
  684. package/dist/modules/storage/components/upload-zone.client.mjs.map +1 -1
  685. package/dist/modules/storage/config/filters.d.mts.map +1 -1
  686. package/dist/modules/storage/config/filters.mjs.map +1 -1
  687. package/dist/modules/storage/lib/constants.d.mts.map +1 -1
  688. package/dist/modules/storage/lib/create-client.server.d.mts.map +1 -1
  689. package/dist/modules/storage/lib/create-client.server.mjs.map +1 -1
  690. package/dist/modules/storage/lib/create-upload.client.d.mts.map +1 -1
  691. package/dist/modules/storage/lib/create-upload.client.mjs.map +1 -1
  692. package/dist/modules/storage/lib/helpers.d.mts +0 -1
  693. package/dist/modules/storage/lib/helpers.d.mts.map +1 -1
  694. package/dist/modules/storage/lib/helpers.mjs.map +1 -1
  695. package/dist/modules/storage/lib/proxy.server.d.mts.map +1 -1
  696. package/dist/modules/storage/lib/proxy.server.mjs.map +1 -1
  697. package/dist/modules/storage/lib/router.server.d.mts +27 -27
  698. package/dist/modules/storage/lib/router.server.d.mts.map +1 -1
  699. package/dist/modules/storage/lib/router.server.mjs.map +1 -1
  700. package/dist/modules/storage/lib/schema.d.mts +92 -92
  701. package/dist/modules/storage/lib/schema.d.mts.map +1 -1
  702. package/dist/modules/storage/lib/schema.mjs +1 -1
  703. package/dist/modules/storage/lib/schema.mjs.map +1 -1
  704. package/dist/modules/storage/lib/service.server.d.mts +18 -18
  705. package/dist/modules/storage/lib/service.server.d.mts.map +1 -1
  706. package/dist/modules/storage/lib/service.server.mjs.map +1 -1
  707. package/dist/modules/storage/lib/validators.d.mts +92 -92
  708. package/dist/modules/storage/lib/validators.d.mts.map +1 -1
  709. package/dist/modules/storage/lib/validators.mjs.map +1 -1
  710. package/dist/storage/client.d.mts +1 -1
  711. package/package.json +89 -92
  712. package/src/components/common/icons.tsx +2 -2
  713. package/src/components/common/status.tsx +1 -1
  714. package/src/components/editor/components/content.client.tsx +1 -1
  715. package/src/components/editor/components/editor.client.tsx +6 -6
  716. package/src/components/editor/components/menu-nodes.client.tsx +11 -11
  717. package/src/components/editor/components/menu.client.tsx +5 -5
  718. package/src/components/editor/components/spinner.tsx +2 -8
  719. package/src/components/editor/extensions/file-handler/extension.ts +1 -1
  720. package/src/components/editor/extensions/file-handler/strategy.ts +4 -4
  721. package/src/components/editor/extensions/file-handler/utils.ts +4 -2
  722. package/src/components/editor/extensions/image/extension.ts +4 -1
  723. package/src/components/editor/extensions/skeleton/renderer.tsx +4 -3
  724. package/src/components/editor/lib/extensions.ts +23 -26
  725. package/src/components/editor/lib/helpers.ts +1 -1
  726. package/src/components/editor/lib/utils.ts +1 -33
  727. package/src/components/editor/lib/variants.ts +1 -1
  728. package/src/components/emails/forget-password-email.tsx +1 -1
  729. package/src/components/entry.client.ts +1 -1
  730. package/src/components/entry.ts +1 -1
  731. package/src/components/header/back-button.client.tsx +1 -1
  732. package/src/components/header/bottom-bar.client.tsx +3 -3
  733. package/src/components/header/breadcrumbs.client.tsx +2 -2
  734. package/src/components/header/header.client.tsx +1 -1
  735. package/src/components/header/indicator.client.tsx +2 -2
  736. package/src/components/header/top-bar.client.tsx +3 -3
  737. package/src/components/layouts/admin-content.client.tsx +1 -1
  738. package/src/components/layouts/admin-error-pages.tsx +1 -1
  739. package/src/components/layouts/admin-layout.tsx +1 -1
  740. package/src/components/layouts/admin-loading.tsx +1 -1
  741. package/src/components/layouts/empty-page.tsx +1 -1
  742. package/src/components/layouts/error-page.tsx +2 -2
  743. package/src/components/layouts/error-sections.tsx +1 -1
  744. package/src/components/layouts/list-layout.tsx +1 -1
  745. package/src/components/layouts/providers.client.tsx +4 -4
  746. package/src/components/layouts/root-layout.server.tsx +3 -3
  747. package/src/components/layouts/tab-layout.tsx +3 -3
  748. package/src/components/lists/data-list.tsx +1 -1
  749. package/src/components/lists/data-stack.tsx +1 -1
  750. package/src/components/navigation/admin-sidebar-header.client.tsx +13 -13
  751. package/src/components/navigation/admin-sidebar-paths.client.tsx +6 -6
  752. package/src/components/navigation/admin-sidebar-skeleton.tsx +1 -1
  753. package/src/components/navigation/admin-sidebar.client.tsx +6 -5
  754. package/src/components/ui/accordion.tsx +1 -2
  755. package/src/components/ui/alert-dialog.tsx +1 -1
  756. package/src/components/ui/alert.tsx +1 -1
  757. package/src/components/ui/avatar.client.tsx +1 -1
  758. package/src/components/ui/badge.tsx +1 -1
  759. package/src/components/ui/breadcrumb.tsx +4 -2
  760. package/src/components/ui/button.tsx +1 -1
  761. package/src/components/ui/calendar.tsx +2 -3
  762. package/src/components/ui/card.tsx +1 -1
  763. package/src/components/ui/carousel.tsx +2 -0
  764. package/src/components/ui/chart.client.tsx +12 -10
  765. package/src/components/ui/checkbox.tsx +1 -1
  766. package/src/components/ui/color-picker.client.tsx +4 -3
  767. package/src/components/ui/combobox-dropdown.client.tsx +2 -4
  768. package/src/components/ui/combobox.client.tsx +2 -2
  769. package/src/components/ui/command.tsx +1 -1
  770. package/src/components/ui/context-menu.tsx +1 -1
  771. package/src/components/ui/date-picker.client.tsx +2 -2
  772. package/src/components/ui/dialog.client.tsx +1 -1
  773. package/src/components/ui/drawer.client.tsx +1 -1
  774. package/src/components/ui/dropdown-menu.tsx +1 -1
  775. package/src/components/ui/form.client.tsx +4 -4
  776. package/src/components/ui/hover-card.client.tsx +1 -1
  777. package/src/components/ui/input-date-time.tsx +13 -11
  778. package/src/components/ui/input-recipient.tsx +6 -3
  779. package/src/components/ui/input.tsx +1 -1
  780. package/src/components/ui/label.tsx +1 -1
  781. package/src/components/ui/navigation-menu.tsx +1 -1
  782. package/src/components/ui/pagination.tsx +4 -2
  783. package/src/components/ui/popover.tsx +1 -1
  784. package/src/components/ui/progress.client.tsx +1 -1
  785. package/src/components/ui/radio-group.tsx +1 -1
  786. package/src/components/ui/resizable.client.tsx +1 -1
  787. package/src/components/ui/scroll-area.tsx +1 -1
  788. package/src/components/ui/select.client.tsx +1 -1
  789. package/src/components/ui/separator.tsx +1 -1
  790. package/src/components/ui/sheet.client.tsx +1 -1
  791. package/src/components/ui/sidebar.client.tsx +5 -2
  792. package/src/components/ui/sonner.client.tsx +1 -1
  793. package/src/components/ui/switch.tsx +1 -1
  794. package/src/components/ui/tabs.tsx +1 -1
  795. package/src/components/ui/textarea.tsx +1 -1
  796. package/src/components/ui/toggle-group.client.tsx +1 -1
  797. package/src/components/ui/toggle.tsx +1 -1
  798. package/src/components/ui/tooltip.client.tsx +1 -1
  799. package/src/lib/config/constants.ts +1 -1
  800. package/src/lib/hooks/use-action.ts +3 -3
  801. package/src/lib/hooks/use-indicator.tsx +17 -8
  802. package/src/lib/types/config.ts +1 -1
  803. package/src/lib/utils/cn.ts +1 -1
  804. package/src/lib/utils/manifest.ts +3 -2
  805. package/src/lib/utils/time-picker.ts +2 -2
  806. package/src/lib/utils/url.ts +1 -1
  807. package/src/modules/auth/components/allowed.client.tsx +2 -2
  808. package/src/modules/auth/components/auth-layout.server.tsx +2 -2
  809. package/src/modules/auth/components/create-first-user-page.client.tsx +10 -11
  810. package/src/modules/auth/components/forget-password-page.client.tsx +5 -5
  811. package/src/modules/auth/components/guard-first-user.server.tsx +2 -5
  812. package/src/modules/auth/components/guard.server.tsx +3 -3
  813. package/src/modules/auth/components/login-page.client.tsx +5 -5
  814. package/src/modules/auth/components/reset-password-page.client.tsx +7 -7
  815. package/src/modules/auth/components/update-password-command.tsx +5 -5
  816. package/src/modules/auth/db/schema.ts +2 -2
  817. package/src/modules/auth/entry.server.ts +1 -1
  818. package/src/modules/auth/handler/create-client.client.ts +3 -3
  819. package/src/modules/auth/handler/init.ts +6 -6
  820. package/src/modules/auth/handler/proxy.server.ts +1 -2
  821. package/src/modules/auth/handler/route.server.ts +2 -2
  822. package/src/modules/auth/hooks/use-auth-client.tsx +3 -3
  823. package/src/modules/auth/hooks/use-permission.ts +1 -1
  824. package/src/modules/auth/hooks/use-session.ts +1 -2
  825. package/src/modules/auth/lib/helpers.server.ts +4 -4
  826. package/src/modules/commands/components/alert-dialog-command.client.tsx +8 -8
  827. package/src/modules/commands/components/click-command.client.tsx +3 -3
  828. package/src/modules/commands/components/command-trigger.client.tsx +1 -1
  829. package/src/modules/commands/components/dialog-command.client.tsx +3 -3
  830. package/src/modules/commands/components/dropdown-command.client.tsx +2 -2
  831. package/src/modules/commands/components/empty-command.client.tsx +1 -1
  832. package/src/modules/commands/components/form-dialog-command.client.tsx +5 -5
  833. package/src/modules/commands/components/render-command.tsx +2 -2
  834. package/src/modules/commands/entry.client.ts +16 -0
  835. package/src/modules/commands/hooks/context.client.tsx +1 -1
  836. package/src/modules/commands/hooks/use-command-menu.client.tsx +6 -4
  837. package/src/modules/commands/hooks/use-command-mutation.client.tsx +1 -1
  838. package/src/modules/commands/menus/context-menu.client.tsx +20 -19
  839. package/src/modules/commands/menus/dropdown-menu.client.tsx +6 -3
  840. package/src/modules/commands/menus/floating-menu.client.tsx +54 -0
  841. package/src/modules/commands/menus/inline-menu.client.tsx +6 -2
  842. package/src/modules/commands/menus/responsive-menu.client.tsx +1 -1
  843. package/src/modules/commands/utils/archive-command.client.tsx +1 -1
  844. package/src/modules/commands/utils/delete-command.client.tsx +1 -1
  845. package/src/modules/config/db/helpers.ts +1 -1
  846. package/src/modules/config/db/init.ts +2 -2
  847. package/src/modules/config/lib/context.ts +5 -5
  848. package/src/modules/config/paths/helpers.ts +1 -1
  849. package/src/modules/config/paths/types.ts +4 -5
  850. package/src/modules/data-tables/components/cell/common.client.tsx +1 -1
  851. package/src/modules/data-tables/components/column-header.tsx +2 -2
  852. package/src/modules/data-tables/components/filters/combobox.client.tsx +3 -3
  853. package/src/modules/data-tables/components/filters/slider.client.tsx +5 -5
  854. package/src/modules/data-tables/components/footer.tsx +2 -2
  855. package/src/modules/data-tables/components/header.tsx +2 -2
  856. package/src/modules/data-tables/components/layout.tsx +1 -1
  857. package/src/modules/data-tables/components/skeleton.tsx +22 -29
  858. package/src/modules/data-tables/components/table.tsx +1 -1
  859. package/src/modules/data-tables/components/toolbar.tsx +1 -1
  860. package/src/modules/data-tables/entry.client.ts +9 -13
  861. package/src/modules/data-tables/hooks/use-context.client.tsx +6 -6
  862. package/src/modules/data-tables/hooks/use-selection.client.ts +1 -1
  863. package/src/modules/data-tables/hooks/use-table.client.ts +1 -1
  864. package/src/modules/data-tables/lib/converters/cursor.ts +1 -1
  865. package/src/modules/data-tables/lib/converters/dto.ts +1 -1
  866. package/src/modules/data-tables/lib/converters/search.ts +2 -2
  867. package/src/modules/data-tables/lib/converters/sorting.ts +2 -2
  868. package/src/modules/data-tables/lib/filters/config.ts +2 -2
  869. package/src/modules/data-tables/lib/filters/helpers.ts +4 -4
  870. package/src/modules/data-tables/lib/filters/parsers.ts +2 -2
  871. package/src/modules/data-tables/lib/filters/resolvers.ts +2 -2
  872. package/src/modules/data-tables/lib/helpers/create-column.ts +1 -1
  873. package/src/modules/data-tables/lib/types.ts +6 -5
  874. package/src/modules/data-tables/server/get-data.server.ts +8 -8
  875. package/src/modules/data-tables/strategies/helpers/sorting.ts +7 -3
  876. package/src/modules/data-tables/strategies/infinite/components.tsx +4 -4
  877. package/src/modules/data-tables/strategies/infinite/strategy.ts +2 -2
  878. package/src/modules/data-tables/strategies/pagination/components.tsx +2 -2
  879. package/src/modules/data-tables/strategies/pagination/strategy.ts +2 -2
  880. package/src/modules/data-tables/tables/data-table/components/body.tsx +3 -3
  881. package/src/modules/data-tables/tables/data-table/components/header.tsx +1 -1
  882. package/src/modules/data-tables/tables/data-table/components/row.tsx +3 -3
  883. package/src/modules/data-tables/tables/data-table/components/table.tsx +13 -4
  884. package/src/modules/data-tables/tables/inline-table/components/body.tsx +5 -5
  885. package/src/modules/data-tables/tables/inline-table/components/cells/common.tsx +1 -1
  886. package/src/modules/data-tables/tables/inline-table/components/cells/drag-handle.client.tsx +9 -5
  887. package/src/modules/data-tables/tables/inline-table/components/cells/read-only.tsx +1 -1
  888. package/src/modules/data-tables/tables/inline-table/components/header.tsx +1 -1
  889. package/src/modules/data-tables/tables/inline-table/components/row.client.tsx +5 -5
  890. package/src/modules/data-tables/tables/inline-table/components/table.tsx +14 -5
  891. package/src/modules/data-tables/tables/inline-table/hooks/context.client.tsx +2 -2
  892. package/src/modules/inline-edit/components/combobox-dropdown.client.tsx +6 -2
  893. package/src/modules/inline-edit/components/combobox.client.tsx +6 -2
  894. package/src/modules/inline-edit/components/date-input.client.tsx +8 -4
  895. package/src/modules/inline-edit/components/date-picker.client.tsx +7 -3
  896. package/src/modules/inline-edit/components/date-time.client.tsx +20 -4
  897. package/src/modules/inline-edit/components/editor.client.tsx +7 -3
  898. package/src/modules/inline-edit/components/input-recipient.client.tsx +7 -3
  899. package/src/modules/inline-edit/components/input-toggle.client.tsx +7 -3
  900. package/src/modules/inline-edit/components/input.client.tsx +15 -3
  901. package/src/modules/inline-edit/components/select.client.tsx +12 -8
  902. package/src/modules/inline-edit/components/switch.client.tsx +5 -1
  903. package/src/modules/inline-edit/components/toggle.client.tsx +5 -1
  904. package/src/modules/inline-edit/entry.client.ts +3 -2
  905. package/src/modules/inline-edit/hooks/context.client.tsx +3 -2
  906. package/src/modules/inline-edit/hooks/use-inline.client.tsx +42 -18
  907. package/src/modules/inline-edit/lib/parsers.ts +9 -0
  908. package/src/modules/inline-edit/lib/validators.ts +1 -1
  909. package/src/modules/inline-edit/lib/variants.ts +1 -1
  910. package/src/modules/router/handler/caller.client.tsx +2 -2
  911. package/src/modules/router/handler/context.server.ts +4 -4
  912. package/src/modules/router/handler/init.server.ts +3 -3
  913. package/src/modules/router/handler/register.server.ts +3 -3
  914. package/src/modules/router/handler/route.server.ts +3 -3
  915. package/src/modules/router/lib/query-client.ts +0 -1
  916. package/src/modules/storage/components/dropzone-context.client.tsx +1 -1
  917. package/src/modules/storage/components/dropzone.client.tsx +3 -3
  918. package/src/modules/storage/components/image-grid.client.tsx +23 -19
  919. package/src/modules/storage/components/upload-button.client.tsx +2 -2
  920. package/src/modules/storage/components/upload-zone-context.client.tsx +3 -2
  921. package/src/modules/storage/components/upload-zone.client.tsx +13 -7
  922. package/src/modules/storage/config/filters.ts +1 -1
  923. package/src/modules/storage/entry.client.ts +3 -2
  924. package/src/modules/storage/lib/create-client.server.ts +2 -2
  925. package/src/modules/storage/lib/create-upload.client.ts +2 -2
  926. package/src/modules/storage/lib/helpers.ts +3 -3
  927. package/src/modules/storage/lib/proxy.server.ts +4 -4
  928. package/src/modules/storage/lib/router.server.ts +5 -5
  929. package/src/modules/storage/lib/schema.ts +2 -2
  930. package/src/modules/storage/lib/service.server.ts +21 -21
  931. package/src/modules/storage/lib/validators.ts +3 -3
  932. package/src/styles.css +1 -1
  933. package/dist/modules/commands/menus/data-table-menu.client.mjs.map +0 -1
  934. package/src/modules/auth/lib/utils.ts +0 -17
  935. package/src/modules/commands/menus/data-table-menu.client.tsx +0 -46
  936. package/src/modules/config/db/create-client.ts +0 -40
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime296 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime0 from "react/jsx-runtime";
2
2
  import * as React$1 from "react";
3
3
  import * as AvatarPrimitive from "@radix-ui/react-avatar";
4
4
 
@@ -6,15 +6,15 @@ import * as AvatarPrimitive from "@radix-ui/react-avatar";
6
6
  declare function Avatar({
7
7
  className,
8
8
  ...props
9
- }: React$1.ComponentProps<typeof AvatarPrimitive.Root>): react_jsx_runtime296.JSX.Element;
9
+ }: React$1.ComponentProps<typeof AvatarPrimitive.Root>): react_jsx_runtime0.JSX.Element;
10
10
  declare function AvatarImage({
11
11
  className,
12
12
  ...props
13
- }: React$1.ComponentProps<typeof AvatarPrimitive.Image>): react_jsx_runtime296.JSX.Element;
13
+ }: React$1.ComponentProps<typeof AvatarPrimitive.Image>): react_jsx_runtime0.JSX.Element;
14
14
  declare function AvatarFallback({
15
15
  className,
16
16
  ...props
17
- }: React$1.ComponentProps<typeof AvatarPrimitive.Fallback>): react_jsx_runtime296.JSX.Element;
17
+ }: React$1.ComponentProps<typeof AvatarPrimitive.Fallback>): react_jsx_runtime0.JSX.Element;
18
18
  //#endregion
19
19
  export { Avatar, AvatarFallback, AvatarImage };
20
20
  //# sourceMappingURL=avatar.client.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"avatar.client.d.mts","names":[],"sources":["../../../src/components/ui/avatar.client.tsx"],"sourcesContent":[],"mappings":";;;;;iBAOS,MAAA;;;GAAgC,OAAA,CAAM,sBAAsB,eAAA,CAAgB,QAAK,oBAAA,CAAA,GAAA,CAAA;iBAUjF,WAAA;;;GAAqC,OAAA,CAAM,sBAAsB,eAAA,CAAgB,SAAM,oBAAA,CAAA,GAAA,CAAA;iBAUvF,cAAA;;;GAGN,OAAA,CAAM,sBAAsB,eAAA,CAAgB,YAAS,oBAAA,CAAA,GAAA,CAAA"}
1
+ {"version":3,"file":"avatar.client.d.mts","names":[],"sources":["../../../src/components/ui/avatar.client.tsx"],"mappings":";;;;;iBAOS,MAAA,CAAA;EAAS,SAAA;EAAA,GAAc;AAAA,GAAS,OAAA,CAAM,cAAA,QAAsB,eAAA,CAAgB,IAAA,IAAK,kBAAA,CAAA,GAAA,CAAA,OAAA;AAAA,iBAUjF,WAAA,CAAA;EAAc,SAAA;EAAA,GAAc;AAAA,GAAS,OAAA,CAAM,cAAA,QAAsB,eAAA,CAAgB,KAAA,IAAM,kBAAA,CAAA,GAAA,CAAA,OAAA;AAAA,iBAUvF,cAAA,CAAA;EACP,SAAA;EAAA,GACG;AAAA,GACF,OAAA,CAAM,cAAA,QAAsB,eAAA,CAAgB,QAAA,IAAS,kBAAA,CAAA,GAAA,CAAA,OAAA"}
@@ -2,7 +2,6 @@
2
2
 
3
3
  import { cn } from "../../lib/utils/cn.mjs";
4
4
  import { jsx } from "react/jsx-runtime";
5
- import "react";
6
5
  import * as AvatarPrimitive from "@radix-ui/react-avatar";
7
6
 
8
7
  //#region src/components/ui/avatar.client.tsx
@@ -1 +1 @@
1
- {"version":3,"file":"avatar.client.mjs","names":[],"sources":["../../../src/components/ui/avatar.client.tsx"],"sourcesContent":["\"use client\";\n\nimport * as AvatarPrimitive from \"@radix-ui/react-avatar\";\nimport * as React from \"react\";\n\nimport { cn } from \"@/lib/utils/cn\";\n\nfunction Avatar({ className, ...props }: React.ComponentProps<typeof AvatarPrimitive.Root>) {\n return (\n <AvatarPrimitive.Root\n data-slot=\"avatar\"\n className={cn(\"relative flex size-8 shrink-0 overflow-hidden rounded-full\", className)}\n {...props}\n />\n );\n}\n\nfunction AvatarImage({ className, ...props }: React.ComponentProps<typeof AvatarPrimitive.Image>) {\n return (\n <AvatarPrimitive.Image\n data-slot=\"avatar-image\"\n className={cn(\"aspect-square size-full\", className)}\n {...props}\n />\n );\n}\n\nfunction AvatarFallback({\n className,\n ...props\n}: React.ComponentProps<typeof AvatarPrimitive.Fallback>) {\n return (\n <AvatarPrimitive.Fallback\n data-slot=\"avatar-fallback\"\n className={cn(\"bg-muted flex size-full items-center justify-center rounded-full\", className)}\n {...props}\n />\n );\n}\n\nexport { Avatar, AvatarFallback, AvatarImage };\n"],"mappings":";;;;;;;;AAOA,SAAS,OAAO,EAAE,WAAW,GAAG,SAA4D;AAC1F,QACE,oBAAC,gBAAgB;EACf,aAAU;EACV,WAAW,GAAG,8DAA8D,UAAU;EACtF,GAAI;GACJ;;AAIN,SAAS,YAAY,EAAE,WAAW,GAAG,SAA6D;AAChG,QACE,oBAAC,gBAAgB;EACf,aAAU;EACV,WAAW,GAAG,2BAA2B,UAAU;EACnD,GAAI;GACJ;;AAIN,SAAS,eAAe,EACtB,WACA,GAAG,SACqD;AACxD,QACE,oBAAC,gBAAgB;EACf,aAAU;EACV,WAAW,GAAG,oEAAoE,UAAU;EAC5F,GAAI;GACJ"}
1
+ {"version":3,"file":"avatar.client.mjs","names":[],"sources":["../../../src/components/ui/avatar.client.tsx"],"sourcesContent":["\"use client\";\n\nimport * as AvatarPrimitive from \"@radix-ui/react-avatar\";\nimport type * as React from \"react\";\n\nimport { cn } from \"@/lib/utils/cn\";\n\nfunction Avatar({ className, ...props }: React.ComponentProps<typeof AvatarPrimitive.Root>) {\n return (\n <AvatarPrimitive.Root\n data-slot=\"avatar\"\n className={cn(\"relative flex size-8 shrink-0 overflow-hidden rounded-full\", className)}\n {...props}\n />\n );\n}\n\nfunction AvatarImage({ className, ...props }: React.ComponentProps<typeof AvatarPrimitive.Image>) {\n return (\n <AvatarPrimitive.Image\n data-slot=\"avatar-image\"\n className={cn(\"aspect-square size-full\", className)}\n {...props}\n />\n );\n}\n\nfunction AvatarFallback({\n className,\n ...props\n}: React.ComponentProps<typeof AvatarPrimitive.Fallback>) {\n return (\n <AvatarPrimitive.Fallback\n data-slot=\"avatar-fallback\"\n className={cn(\"bg-muted flex size-full items-center justify-center rounded-full\", className)}\n {...props}\n />\n );\n}\n\nexport { Avatar, AvatarFallback, AvatarImage };\n"],"mappings":";;;;;;;AAOA,SAAS,OAAO,EAAE,WAAW,GAAG,SAA4D;AAC1F,QACE,oBAAC,gBAAgB;EACf,aAAU;EACV,WAAW,GAAG,8DAA8D,UAAU;EACtF,GAAI;GACJ;;AAIN,SAAS,YAAY,EAAE,WAAW,GAAG,SAA6D;AAChG,QACE,oBAAC,gBAAgB;EACf,aAAU;EACV,WAAW,GAAG,2BAA2B,UAAU;EACnD,GAAI;GACJ;;AAIN,SAAS,eAAe,EACtB,WACA,GAAG,SACqD;AACxD,QACE,oBAAC,gBAAgB;EACf,aAAU;EACV,WAAW,GAAG,oEAAoE,UAAU;EAC5F,GAAI;GACJ"}
@@ -1,11 +1,11 @@
1
- import * as react_jsx_runtime163 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime0 from "react/jsx-runtime";
2
2
  import { VariantProps } from "class-variance-authority";
3
3
  import * as React$1 from "react";
4
4
  import * as class_variance_authority_types0 from "class-variance-authority/types";
5
5
 
6
6
  //#region src/components/ui/badge.d.ts
7
7
  declare const badgeVariants: (props?: ({
8
- variant?: "default" | "destructive" | "secondary" | "outline" | null | undefined;
8
+ variant?: "default" | "outline" | "destructive" | "secondary" | null | undefined;
9
9
  } & class_variance_authority_types0.ClassProp) | undefined) => string;
10
10
  declare function Badge({
11
11
  className,
@@ -14,7 +14,7 @@ declare function Badge({
14
14
  ...props
15
15
  }: React$1.ComponentProps<"span"> & VariantProps<typeof badgeVariants> & {
16
16
  asChild?: boolean;
17
- }): react_jsx_runtime163.JSX.Element;
17
+ }): react_jsx_runtime0.JSX.Element;
18
18
  //#endregion
19
19
  export { Badge, badgeVariants };
20
20
  //# sourceMappingURL=badge.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"badge.d.mts","names":[],"sources":["../../../src/components/ui/badge.tsx"],"sourcesContent":[],"mappings":";;;;;;cAMM;;IAiBL,+BAAA,CAAA;iBAEQ,KAAA;;;;;GAKN,OAAA,CAAM,yBAAyB,oBAAoB;EAxBhD,OAAA,CAAA,EAAA,OAiBL;IAO2F,oBAAA,CAAA,GAAA,CAAA,OAL9E"}
1
+ {"version":3,"file":"badge.d.mts","names":[],"sources":["../../../src/components/ui/badge.tsx"],"mappings":";;;;;;cAMM,aAAA,GAAa,KAAA;;IAiBlB,+BAAA,CAAA,SAAA;AAAA,iBAEQ,KAAA,CAAA;EACP,SAAA;EACA,OAAA;EACA,OAAA;EAAA,GACG;AAAA,GACF,OAAA,CAAM,cAAA,WAAyB,YAAA,QAAoB,aAAA;EAAmB,OAAA;AAAA,IAAmB,kBAAA,CAAA,GAAA,CAAA,OAAA"}
@@ -2,7 +2,6 @@ import { cn } from "../../lib/utils/cn.mjs";
2
2
  import { jsx } from "react/jsx-runtime";
3
3
  import { Slot } from "@radix-ui/react-slot";
4
4
  import { cva } from "class-variance-authority";
5
- import "react";
6
5
 
7
6
  //#region src/components/ui/badge.tsx
8
7
  const badgeVariants = cva("inline-flex items-center justify-center rounded-md border px-2 py-0.5 text-xs font-medium w-fit whitespace-nowrap shrink-0 [&>svg]:size-3 gap-1 [&>svg]:pointer-events-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive transition-[color,box-shadow] overflow-hidden", {
@@ -1 +1 @@
1
- {"version":3,"file":"badge.mjs","names":[],"sources":["../../../src/components/ui/badge.tsx"],"sourcesContent":["import { Slot } from \"@radix-ui/react-slot\";\nimport { cva, type VariantProps } from \"class-variance-authority\";\nimport * as React from \"react\";\n\nimport { cn } from \"@/lib/utils/cn\";\n\nconst badgeVariants = cva(\n \"inline-flex items-center justify-center rounded-md border px-2 py-0.5 text-xs font-medium w-fit whitespace-nowrap shrink-0 [&>svg]:size-3 gap-1 [&>svg]:pointer-events-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive transition-[color,box-shadow] overflow-hidden\",\n {\n variants: {\n variant: {\n default: \"border-transparent bg-primary text-primary-foreground [a&]:hover:bg-primary/90\",\n secondary:\n \"border-transparent bg-secondary text-secondary-foreground [a&]:hover:bg-secondary/90\",\n destructive:\n \"border-transparent bg-destructive text-white [a&]:hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40\",\n outline: \"text-foreground [a&]:hover:bg-accent [a&]:hover:text-accent-foreground\",\n },\n },\n defaultVariants: {\n variant: \"default\",\n },\n },\n);\n\nfunction Badge({\n className,\n variant,\n asChild = false,\n ...props\n}: React.ComponentProps<\"span\"> & VariantProps<typeof badgeVariants> & { asChild?: boolean }) {\n const Comp = asChild ? Slot : \"span\";\n\n return (\n <Comp data-slot=\"badge\" className={cn(badgeVariants({ variant }), className)} {...props} />\n );\n}\n\nexport { Badge, badgeVariants };\n"],"mappings":";;;;;;;AAMA,MAAM,gBAAgB,IACpB,kZACA;CACE,UAAU,EACR,SAAS;EACP,SAAS;EACT,WACE;EACF,aACE;EACF,SAAS;EACV,EACF;CACD,iBAAiB,EACf,SAAS,WACV;CACF,CACF;AAED,SAAS,MAAM,EACb,WACA,SACA,UAAU,OACV,GAAG,SACyF;AAG5F,QACE,oBAHW,UAAU,OAAO;EAGtB,aAAU;EAAQ,WAAW,GAAG,cAAc,EAAE,SAAS,CAAC,EAAE,UAAU;EAAE,GAAI;GAAS"}
1
+ {"version":3,"file":"badge.mjs","names":[],"sources":["../../../src/components/ui/badge.tsx"],"sourcesContent":["import { Slot } from \"@radix-ui/react-slot\";\nimport { cva, type VariantProps } from \"class-variance-authority\";\nimport type * as React from \"react\";\n\nimport { cn } from \"@/lib/utils/cn\";\n\nconst badgeVariants = cva(\n \"inline-flex items-center justify-center rounded-md border px-2 py-0.5 text-xs font-medium w-fit whitespace-nowrap shrink-0 [&>svg]:size-3 gap-1 [&>svg]:pointer-events-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive transition-[color,box-shadow] overflow-hidden\",\n {\n variants: {\n variant: {\n default: \"border-transparent bg-primary text-primary-foreground [a&]:hover:bg-primary/90\",\n secondary:\n \"border-transparent bg-secondary text-secondary-foreground [a&]:hover:bg-secondary/90\",\n destructive:\n \"border-transparent bg-destructive text-white [a&]:hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40\",\n outline: \"text-foreground [a&]:hover:bg-accent [a&]:hover:text-accent-foreground\",\n },\n },\n defaultVariants: {\n variant: \"default\",\n },\n },\n);\n\nfunction Badge({\n className,\n variant,\n asChild = false,\n ...props\n}: React.ComponentProps<\"span\"> & VariantProps<typeof badgeVariants> & { asChild?: boolean }) {\n const Comp = asChild ? Slot : \"span\";\n\n return (\n <Comp data-slot=\"badge\" className={cn(badgeVariants({ variant }), className)} {...props} />\n );\n}\n\nexport { Badge, badgeVariants };\n"],"mappings":";;;;;;AAMA,MAAM,gBAAgB,IACpB,kZACA;CACE,UAAU,EACR,SAAS;EACP,SAAS;EACT,WACE;EACF,aACE;EACF,SAAS;EACV,EACF;CACD,iBAAiB,EACf,SAAS,WACV;CACF,CACF;AAED,SAAS,MAAM,EACb,WACA,SACA,UAAU,OACV,GAAG,SACyF;AAG5F,QACE,oBAHW,UAAU,OAAO;EAGtB,aAAU;EAAQ,WAAW,GAAG,cAAc,EAAE,SAAS,CAAC,EAAE,UAAU;EAAE,GAAI;GAAS"}
@@ -1,36 +1,36 @@
1
- import * as react_jsx_runtime164 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime0 from "react/jsx-runtime";
2
2
  import * as React$1 from "react";
3
3
 
4
4
  //#region src/components/ui/breadcrumb.d.ts
5
- declare function Breadcrumb(props: React$1.ComponentProps<"nav">): react_jsx_runtime164.JSX.Element;
5
+ declare function Breadcrumb(props: React$1.ComponentProps<"nav">): react_jsx_runtime0.JSX.Element;
6
6
  declare function BreadcrumbList({
7
7
  className,
8
8
  ...props
9
- }: React$1.ComponentProps<"ol">): react_jsx_runtime164.JSX.Element;
9
+ }: React$1.ComponentProps<"ol">): react_jsx_runtime0.JSX.Element;
10
10
  declare function BreadcrumbItem({
11
11
  className,
12
12
  ...props
13
- }: React$1.ComponentProps<"li">): react_jsx_runtime164.JSX.Element;
13
+ }: React$1.ComponentProps<"li">): react_jsx_runtime0.JSX.Element;
14
14
  declare function BreadcrumbLink({
15
15
  asChild,
16
16
  className,
17
17
  ...props
18
18
  }: React$1.ComponentProps<"a"> & {
19
19
  asChild?: boolean;
20
- }): react_jsx_runtime164.JSX.Element;
20
+ }): react_jsx_runtime0.JSX.Element;
21
21
  declare function BreadcrumbPage({
22
22
  className,
23
23
  ...props
24
- }: React$1.ComponentProps<"span">): react_jsx_runtime164.JSX.Element;
24
+ }: React$1.ComponentProps<"span">): react_jsx_runtime0.JSX.Element;
25
25
  declare function BreadcrumbSeparator({
26
26
  children,
27
27
  className,
28
28
  ...props
29
- }: React$1.ComponentProps<"li">): react_jsx_runtime164.JSX.Element;
29
+ }: React$1.ComponentProps<"li">): react_jsx_runtime0.JSX.Element;
30
30
  declare function BreadcrumbEllipsis({
31
31
  className,
32
32
  ...props
33
- }: React$1.ComponentProps<"span">): react_jsx_runtime164.JSX.Element;
33
+ }: React$1.ComponentProps<"span">): react_jsx_runtime0.JSX.Element;
34
34
  //#endregion
35
35
  export { Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator };
36
36
  //# sourceMappingURL=breadcrumb.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"breadcrumb.d.mts","names":[],"sources":["../../../src/components/ui/breadcrumb.tsx"],"sourcesContent":[],"mappings":";;;;iBAMS,UAAA,QAAkB,OAAA,CAAM,wBAAqB,oBAAA,CAAA,GAAA,CAAA;iBAI7C,cAAA;;;GAAwC,OAAA,CAAM,uBAAoB,oBAAA,CAAA,GAAA,CAAA;iBAalE,cAAA;;;GAAwC,OAAA,CAAM,uBAAoB,oBAAA,CAAA,GAAA,CAAA;AArB5C,iBA+BtB,cAAA,CA3BkB;EAAA,OAAM;EAAA,SAAA;EAAqB,GAAA;CAAA,EA+BnD,OAAA,CAAM,cA/B6C,CAAA,GAAA,CAAA,GAAA;EAI7C,OAAA,CAAA,EAAA,OAAc;CAAG,CAAA,EA6BzB,oBAAA,CAAA,GAAA,CAAA,OA7ByB;iBAyCjB,cAAA,CAzC8C;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAyCN,OAAA,CAAM,cAzCA,CAAA,MAAA,CAAA,CAAA,EAyCsB,oBAAA,CAAA,GAAA,CAAA,OAzCtB;iBAsD9C,mBAAA,CAtDkE;EAAA,QAAA;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAsDX,OAAA,CAAM,cAtDK,CAAA,IAAA,CAAA,CAAA,EAsDe,oBAAA,CAAA,GAAA,CAAA,OAtDf;iBAoElE,kBAAA,CApEkE;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAoEtB,OAAA,CAAM,cApEgB,CAAA,MAAA,CAAA,CAAA,EAoEM,oBAAA,CAAA,GAAA,CAAA,OApEN"}
1
+ {"version":3,"file":"breadcrumb.d.mts","names":[],"sources":["../../../src/components/ui/breadcrumb.tsx"],"mappings":";;;;iBAMS,UAAA,CAAW,KAAA,EAAO,OAAA,CAAM,cAAA,UAAqB,kBAAA,CAAA,GAAA,CAAA,OAAA;AAAA,iBAI7C,cAAA,CAAA;EAAiB,SAAA;EAAA,GAAc;AAAA,GAAS,OAAA,CAAM,cAAA,SAAoB,kBAAA,CAAA,GAAA,CAAA,OAAA;AAAA,iBAalE,cAAA,CAAA;EAAiB,SAAA;EAAA,GAAc;AAAA,GAAS,OAAA,CAAM,cAAA,SAAoB,kBAAA,CAAA,GAAA,CAAA,OAAA;AAAA,iBAUlE,cAAA,CAAA;EACP,OAAA;EACA,SAAA;EAAA,GACG;AAAA,GACF,OAAA,CAAM,cAAA;EACP,OAAA;AAAA,IACD,kBAAA,CAAA,GAAA,CAAA,OAAA;AAAA,iBAYQ,cAAA,CAAA;EAAiB,SAAA;EAAA,GAAc;AAAA,GAAS,OAAA,CAAM,cAAA,WAAsB,kBAAA,CAAA,GAAA,CAAA,OAAA;AAAA,iBAepE,mBAAA,CAAA;EAAsB,QAAA;EAAU,SAAA;EAAA,GAAc;AAAA,GAAS,OAAA,CAAM,cAAA,SAAoB,kBAAA,CAAA,GAAA,CAAA,OAAA;AAAA,iBAcjF,kBAAA,CAAA;EAAqB,SAAA;EAAA,GAAc;AAAA,GAAS,OAAA,CAAM,cAAA,WAAsB,kBAAA,CAAA,GAAA,CAAA,OAAA"}
@@ -2,7 +2,6 @@ import { cn } from "../../lib/utils/cn.mjs";
2
2
  import { ChevronRight, MoreHorizontal } from "lucide-react";
3
3
  import { jsx, jsxs } from "react/jsx-runtime";
4
4
  import { Slot } from "@radix-ui/react-slot";
5
- import "react";
6
5
 
7
6
  //#region src/components/ui/breadcrumb.tsx
8
7
  function Breadcrumb(props) {
@@ -15,7 +14,7 @@ function Breadcrumb(props) {
15
14
  function BreadcrumbList({ className, ...props }) {
16
15
  return /* @__PURE__ */ jsx("ol", {
17
16
  "data-slot": "breadcrumb-list",
18
- className: cn("text-muted-foreground flex flex-wrap items-center gap-1 break-words text-sm", className),
17
+ className: cn("text-muted-foreground flex flex-wrap items-center gap-1 wrap-break-word text-sm", className),
19
18
  ...props
20
19
  });
21
20
  }
@@ -1 +1 @@
1
- {"version":3,"file":"breadcrumb.mjs","names":[],"sources":["../../../src/components/ui/breadcrumb.tsx"],"sourcesContent":["import { Slot } from \"@radix-ui/react-slot\";\nimport { ChevronRight, MoreHorizontal } from \"lucide-react\";\nimport * as React from \"react\";\n\nimport { cn } from \"@/lib/utils/cn\";\n\nfunction Breadcrumb(props: React.ComponentProps<\"nav\">) {\n return <nav aria-label=\"breadcrumb\" data-slot=\"breadcrumb\" {...props} />;\n}\n\nfunction BreadcrumbList({ className, ...props }: React.ComponentProps<\"ol\">) {\n return (\n <ol\n data-slot=\"breadcrumb-list\"\n className={cn(\n \"text-muted-foreground flex flex-wrap items-center gap-1 break-words text-sm\",\n className,\n )}\n {...props}\n />\n );\n}\n\nfunction BreadcrumbItem({ className, ...props }: React.ComponentProps<\"li\">) {\n return (\n <li\n data-slot=\"breadcrumb-item\"\n className={cn(\"inline-flex items-center gap-1.5 rounded-md p-2\", className)}\n {...props}\n />\n );\n}\n\nfunction BreadcrumbLink({\n asChild,\n className,\n ...props\n}: React.ComponentProps<\"a\"> & {\n asChild?: boolean;\n}) {\n const Comp = asChild ? Slot : \"a\";\n\n return (\n <Comp\n data-slot=\"breadcrumb-link\"\n className={cn(\"hover:text-foreground transition-colors\", className)}\n {...props}\n />\n );\n}\n\nfunction BreadcrumbPage({ className, ...props }: React.ComponentProps<\"span\">) {\n return (\n <span\n data-slot=\"breadcrumb-page\"\n role=\"link\"\n aria-disabled=\"true\"\n aria-current=\"page\"\n className={cn(\"text-foreground font-normal\", className)}\n {...props}\n />\n );\n}\n\nfunction BreadcrumbSeparator({ children, className, ...props }: React.ComponentProps<\"li\">) {\n return (\n <li\n data-slot=\"breadcrumb-separator\"\n role=\"presentation\"\n aria-hidden=\"true\"\n className={cn(\"[&>svg]:size-3.5\", className)}\n {...props}\n >\n {children ?? <ChevronRight />}\n </li>\n );\n}\n\nfunction BreadcrumbEllipsis({ className, ...props }: React.ComponentProps<\"span\">) {\n return (\n <span\n data-slot=\"breadcrumb-ellipsis\"\n role=\"presentation\"\n aria-hidden=\"true\"\n className={cn(\"flex size-9 items-center justify-center\", className)}\n {...props}\n >\n <MoreHorizontal className=\"size-4\" />\n <span className=\"sr-only\">More</span>\n </span>\n );\n}\n\nexport {\n Breadcrumb,\n BreadcrumbEllipsis,\n BreadcrumbItem,\n BreadcrumbLink,\n BreadcrumbList,\n BreadcrumbPage,\n BreadcrumbSeparator,\n};\n"],"mappings":";;;;;;;AAMA,SAAS,WAAW,OAAoC;AACtD,QAAO,oBAAC;EAAI,cAAW;EAAa,aAAU;EAAa,GAAI;GAAS;;AAG1E,SAAS,eAAe,EAAE,WAAW,GAAG,SAAqC;AAC3E,QACE,oBAAC;EACC,aAAU;EACV,WAAW,GACT,+EACA,UACD;EACD,GAAI;GACJ;;AAIN,SAAS,eAAe,EAAE,WAAW,GAAG,SAAqC;AAC3E,QACE,oBAAC;EACC,aAAU;EACV,WAAW,GAAG,mDAAmD,UAAU;EAC3E,GAAI;GACJ;;AAIN,SAAS,eAAe,EACtB,SACA,WACA,GAAG,SAGF;AAGD,QACE,oBAHW,UAAU,OAAO;EAI1B,aAAU;EACV,WAAW,GAAG,2CAA2C,UAAU;EACnE,GAAI;GACJ;;AAIN,SAAS,eAAe,EAAE,WAAW,GAAG,SAAuC;AAC7E,QACE,oBAAC;EACC,aAAU;EACV,MAAK;EACL,iBAAc;EACd,gBAAa;EACb,WAAW,GAAG,+BAA+B,UAAU;EACvD,GAAI;GACJ;;AAIN,SAAS,oBAAoB,EAAE,UAAU,WAAW,GAAG,SAAqC;AAC1F,QACE,oBAAC;EACC,aAAU;EACV,MAAK;EACL,eAAY;EACZ,WAAW,GAAG,oBAAoB,UAAU;EAC5C,GAAI;YAEH,YAAY,oBAAC,iBAAe;GAC1B;;AAIT,SAAS,mBAAmB,EAAE,WAAW,GAAG,SAAuC;AACjF,QACE,qBAAC;EACC,aAAU;EACV,MAAK;EACL,eAAY;EACZ,WAAW,GAAG,2CAA2C,UAAU;EACnE,GAAI;aAEJ,oBAAC,kBAAe,WAAU,WAAW,EACrC,oBAAC;GAAK,WAAU;aAAU;IAAW;GAChC"}
1
+ {"version":3,"file":"breadcrumb.mjs","names":[],"sources":["../../../src/components/ui/breadcrumb.tsx"],"sourcesContent":["import { Slot } from \"@radix-ui/react-slot\";\nimport { ChevronRight, MoreHorizontal } from \"lucide-react\";\nimport type * as React from \"react\";\n\nimport { cn } from \"@/lib/utils/cn\";\n\nfunction Breadcrumb(props: React.ComponentProps<\"nav\">) {\n return <nav aria-label=\"breadcrumb\" data-slot=\"breadcrumb\" {...props} />;\n}\n\nfunction BreadcrumbList({ className, ...props }: React.ComponentProps<\"ol\">) {\n return (\n <ol\n data-slot=\"breadcrumb-list\"\n className={cn(\n \"text-muted-foreground flex flex-wrap items-center gap-1 wrap-break-word text-sm\",\n className,\n )}\n {...props}\n />\n );\n}\n\nfunction BreadcrumbItem({ className, ...props }: React.ComponentProps<\"li\">) {\n return (\n <li\n data-slot=\"breadcrumb-item\"\n className={cn(\"inline-flex items-center gap-1.5 rounded-md p-2\", className)}\n {...props}\n />\n );\n}\n\nfunction BreadcrumbLink({\n asChild,\n className,\n ...props\n}: React.ComponentProps<\"a\"> & {\n asChild?: boolean;\n}) {\n const Comp = asChild ? Slot : \"a\";\n\n return (\n <Comp\n data-slot=\"breadcrumb-link\"\n className={cn(\"hover:text-foreground transition-colors\", className)}\n {...props}\n />\n );\n}\n\nfunction BreadcrumbPage({ className, ...props }: React.ComponentProps<\"span\">) {\n return (\n // biome-ignore lint/a11y/useFocusableInteractive: BreadcrumbPage is not meant to be interactive, it's just a label for the current page in the breadcrumb.\n // biome-ignore lint/a11y/useSemanticElements: BreadcrumbPage is not meant to be interactive, it's just a label for the current page in the breadcrumb.\n <span\n data-slot=\"breadcrumb-page\"\n role=\"link\"\n aria-disabled=\"true\"\n aria-current=\"page\"\n className={cn(\"text-foreground font-normal\", className)}\n {...props}\n />\n );\n}\n\nfunction BreadcrumbSeparator({ children, className, ...props }: React.ComponentProps<\"li\">) {\n return (\n <li\n data-slot=\"breadcrumb-separator\"\n role=\"presentation\"\n aria-hidden=\"true\"\n className={cn(\"[&>svg]:size-3.5\", className)}\n {...props}\n >\n {children ?? <ChevronRight />}\n </li>\n );\n}\n\nfunction BreadcrumbEllipsis({ className, ...props }: React.ComponentProps<\"span\">) {\n return (\n <span\n data-slot=\"breadcrumb-ellipsis\"\n role=\"presentation\"\n aria-hidden=\"true\"\n className={cn(\"flex size-9 items-center justify-center\", className)}\n {...props}\n >\n <MoreHorizontal className=\"size-4\" />\n <span className=\"sr-only\">More</span>\n </span>\n );\n}\n\nexport {\n Breadcrumb,\n BreadcrumbEllipsis,\n BreadcrumbItem,\n BreadcrumbLink,\n BreadcrumbList,\n BreadcrumbPage,\n BreadcrumbSeparator,\n};\n"],"mappings":";;;;;;AAMA,SAAS,WAAW,OAAoC;AACtD,QAAO,oBAAC;EAAI,cAAW;EAAa,aAAU;EAAa,GAAI;GAAS;;AAG1E,SAAS,eAAe,EAAE,WAAW,GAAG,SAAqC;AAC3E,QACE,oBAAC;EACC,aAAU;EACV,WAAW,GACT,mFACA,UACD;EACD,GAAI;GACJ;;AAIN,SAAS,eAAe,EAAE,WAAW,GAAG,SAAqC;AAC3E,QACE,oBAAC;EACC,aAAU;EACV,WAAW,GAAG,mDAAmD,UAAU;EAC3E,GAAI;GACJ;;AAIN,SAAS,eAAe,EACtB,SACA,WACA,GAAG,SAGF;AAGD,QACE,oBAHW,UAAU,OAAO;EAI1B,aAAU;EACV,WAAW,GAAG,2CAA2C,UAAU;EACnE,GAAI;GACJ;;AAIN,SAAS,eAAe,EAAE,WAAW,GAAG,SAAuC;AAC7E,QAGE,oBAAC;EACC,aAAU;EACV,MAAK;EACL,iBAAc;EACd,gBAAa;EACb,WAAW,GAAG,+BAA+B,UAAU;EACvD,GAAI;GACJ;;AAIN,SAAS,oBAAoB,EAAE,UAAU,WAAW,GAAG,SAAqC;AAC1F,QACE,oBAAC;EACC,aAAU;EACV,MAAK;EACL,eAAY;EACZ,WAAW,GAAG,oBAAoB,UAAU;EAC5C,GAAI;YAEH,YAAY,oBAAC,iBAAe;GAC1B;;AAIT,SAAS,mBAAmB,EAAE,WAAW,GAAG,SAAuC;AACjF,QACE,qBAAC;EACC,aAAU;EACV,MAAK;EACL,eAAY;EACZ,WAAW,GAAG,2CAA2C,UAAU;EACnE,GAAI;aAEJ,oBAAC,kBAAe,WAAU,WAAW,EACrC,oBAAC;GAAK,WAAU;aAAU;IAAW;GAChC"}
@@ -1,13 +1,13 @@
1
- import * as react_jsx_runtime171 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime0 from "react/jsx-runtime";
2
2
  import { VariantProps } from "class-variance-authority";
3
3
  import * as React$1 from "react";
4
- import * as class_variance_authority_types1 from "class-variance-authority/types";
4
+ import * as class_variance_authority_types0 from "class-variance-authority/types";
5
5
 
6
6
  //#region src/components/ui/button.d.ts
7
7
  declare const buttonVariants: (props?: ({
8
- variant?: "link" | "default" | "destructive" | "secondary" | "outline" | "ghost" | null | undefined;
8
+ variant?: "default" | "link" | "outline" | "destructive" | "secondary" | "ghost" | null | undefined;
9
9
  size?: "default" | "sm" | "lg" | "icon" | null | undefined;
10
- } & class_variance_authority_types1.ClassProp) | undefined) => string;
10
+ } & class_variance_authority_types0.ClassProp) | undefined) => string;
11
11
  declare function Button({
12
12
  className,
13
13
  variant,
@@ -16,7 +16,7 @@ declare function Button({
16
16
  ...props
17
17
  }: React$1.ComponentProps<"button"> & VariantProps<typeof buttonVariants> & {
18
18
  asChild?: boolean;
19
- }): react_jsx_runtime171.JSX.Element;
19
+ }): react_jsx_runtime0.JSX.Element;
20
20
  //#endregion
21
21
  export { Button, buttonVariants };
22
22
  //# sourceMappingURL=button.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"button.d.mts","names":[],"sources":["../../../src/components/ui/button.tsx"],"sourcesContent":[],"mappings":";;;;;;cAMM;;;IA0BL,+BAAA,CAAA;AA9B8B,iBAgCtB,MAAA,CAFR;EAAA,SAAA;EAAA,OAAA;EAAA,IAAA;EAAA,OAAA;EAAA,GAAA;CAAA,EAQE,OAAA,CAAM,cARR,CAAA,QAAA,CAAA,GASC,YATD,CAAA,OASqB,cATrB,CAAA,GAAA;EAEQ,OAAA,CAAA,EAAM,OAAA;CACb,CAAA,EAQC,oBAAA,CAAA,GAAA,CAAA,OARD"}
1
+ {"version":3,"file":"button.d.mts","names":[],"sources":["../../../src/components/ui/button.tsx"],"mappings":";;;;;;cAMM,cAAA,GAAc,KAAA;;;IA0BnB,+BAAA,CAAA,SAAA;AAAA,iBAEQ,MAAA,CAAA;EACP,SAAA;EACA,OAAA;EACA,IAAA;EACA,OAAA;EAAA,GACG;AAAA,GACF,OAAA,CAAM,cAAA,aACP,YAAA,QAAoB,cAAA;EAClB,OAAA;AAAA,IACD,kBAAA,CAAA,GAAA,CAAA,OAAA"}
@@ -2,7 +2,6 @@ import { cn } from "../../lib/utils/cn.mjs";
2
2
  import { jsx } from "react/jsx-runtime";
3
3
  import { Slot } from "@radix-ui/react-slot";
4
4
  import { cva } from "class-variance-authority";
5
- import "react";
6
5
 
7
6
  //#region src/components/ui/button.tsx
8
7
  const buttonVariants = cva("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-[color,box-shadow] disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive", {
@@ -1 +1 @@
1
- {"version":3,"file":"button.mjs","names":[],"sources":["../../../src/components/ui/button.tsx"],"sourcesContent":["import { Slot } from \"@radix-ui/react-slot\";\nimport { cva, type VariantProps } from \"class-variance-authority\";\nimport * as React from \"react\";\n\nimport { cn } from \"@/lib/utils/cn\";\n\nconst buttonVariants = cva(\n \"inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-[color,box-shadow] disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive\",\n {\n variants: {\n variant: {\n default: \"bg-primary text-primary-foreground shadow-xs hover:bg-primary/90\",\n destructive:\n \"bg-destructive text-white shadow-xs hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40\",\n outline:\n \"border border-input bg-background shadow-xs hover:bg-accent hover:text-accent-foreground\",\n secondary: \"bg-secondary text-secondary-foreground shadow-xs hover:bg-secondary/80\",\n ghost: \"hover:bg-accent hover:text-accent-foreground\",\n link: \"text-primary underline-offset-4 hover:underline\",\n },\n size: {\n default: \"h-9 px-4 py-2 has-[>svg]:px-3\",\n sm: \"h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5\",\n lg: \"h-10 rounded-md px-6 has-[>svg]:px-4\",\n icon: \"size-9\",\n },\n },\n defaultVariants: {\n variant: \"default\",\n size: \"default\",\n },\n },\n);\n\nfunction Button({\n className,\n variant,\n size,\n asChild = false,\n ...props\n}: React.ComponentProps<\"button\"> &\n VariantProps<typeof buttonVariants> & {\n asChild?: boolean;\n }) {\n const Comp = asChild ? Slot : \"button\";\n\n return (\n <Comp\n data-slot=\"button\"\n className={cn(buttonVariants({ variant, size, className }))}\n {...props}\n />\n );\n}\n\nexport { Button, buttonVariants };\n"],"mappings":";;;;;;;AAMA,MAAM,iBAAiB,IACrB,8cACA;CACE,UAAU;EACR,SAAS;GACP,SAAS;GACT,aACE;GACF,SACE;GACF,WAAW;GACX,OAAO;GACP,MAAM;GACP;EACD,MAAM;GACJ,SAAS;GACT,IAAI;GACJ,IAAI;GACJ,MAAM;GACP;EACF;CACD,iBAAiB;EACf,SAAS;EACT,MAAM;EACP;CACF,CACF;AAED,SAAS,OAAO,EACd,WACA,SACA,MACA,UAAU,OACV,GAAG,SAIA;AAGH,QACE,oBAHW,UAAU,OAAO;EAI1B,aAAU;EACV,WAAW,GAAG,eAAe;GAAE;GAAS;GAAM;GAAW,CAAC,CAAC;EAC3D,GAAI;GACJ"}
1
+ {"version":3,"file":"button.mjs","names":[],"sources":["../../../src/components/ui/button.tsx"],"sourcesContent":["import { Slot } from \"@radix-ui/react-slot\";\nimport { cva, type VariantProps } from \"class-variance-authority\";\nimport type * as React from \"react\";\n\nimport { cn } from \"@/lib/utils/cn\";\n\nconst buttonVariants = cva(\n \"inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-[color,box-shadow] disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive\",\n {\n variants: {\n variant: {\n default: \"bg-primary text-primary-foreground shadow-xs hover:bg-primary/90\",\n destructive:\n \"bg-destructive text-white shadow-xs hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40\",\n outline:\n \"border border-input bg-background shadow-xs hover:bg-accent hover:text-accent-foreground\",\n secondary: \"bg-secondary text-secondary-foreground shadow-xs hover:bg-secondary/80\",\n ghost: \"hover:bg-accent hover:text-accent-foreground\",\n link: \"text-primary underline-offset-4 hover:underline\",\n },\n size: {\n default: \"h-9 px-4 py-2 has-[>svg]:px-3\",\n sm: \"h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5\",\n lg: \"h-10 rounded-md px-6 has-[>svg]:px-4\",\n icon: \"size-9\",\n },\n },\n defaultVariants: {\n variant: \"default\",\n size: \"default\",\n },\n },\n);\n\nfunction Button({\n className,\n variant,\n size,\n asChild = false,\n ...props\n}: React.ComponentProps<\"button\"> &\n VariantProps<typeof buttonVariants> & {\n asChild?: boolean;\n }) {\n const Comp = asChild ? Slot : \"button\";\n\n return (\n <Comp\n data-slot=\"button\"\n className={cn(buttonVariants({ variant, size, className }))}\n {...props}\n />\n );\n}\n\nexport { Button, buttonVariants };\n"],"mappings":";;;;;;AAMA,MAAM,iBAAiB,IACrB,8cACA;CACE,UAAU;EACR,SAAS;GACP,SAAS;GACT,aACE;GACF,SACE;GACF,WAAW;GACX,OAAO;GACP,MAAM;GACP;EACD,MAAM;GACJ,SAAS;GACT,IAAI;GACJ,IAAI;GACJ,MAAM;GACP;EACF;CACD,iBAAiB;EACf,SAAS;EACT,MAAM;EACP;CACF,CACF;AAED,SAAS,OAAO,EACd,WACA,SACA,MACA,UAAU,OACV,GAAG,SAIA;AAGH,QACE,oBAHW,UAAU,OAAO;EAI1B,aAAU;EACV,WAAW,GAAG,eAAe;GAAE;GAAS;GAAM;GAAW,CAAC,CAAC;EAC3D,GAAI;GACJ"}
@@ -1,5 +1,5 @@
1
1
  import { Button } from "./button.mjs";
2
- import * as react_jsx_runtime172 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime0 from "react/jsx-runtime";
3
3
  import * as React$1 from "react";
4
4
  import { DayButton, DayPicker } from "react-day-picker";
5
5
 
@@ -16,13 +16,13 @@ declare function Calendar({
16
16
  ...props
17
17
  }: React$1.ComponentProps<typeof DayPicker> & {
18
18
  buttonVariant?: React$1.ComponentProps<typeof Button>["variant"];
19
- }): react_jsx_runtime172.JSX.Element;
19
+ }): react_jsx_runtime0.JSX.Element;
20
20
  declare function CalendarDayButton({
21
21
  className,
22
22
  day,
23
23
  modifiers,
24
24
  ...props
25
- }: React$1.ComponentProps<typeof DayButton>): react_jsx_runtime172.JSX.Element;
25
+ }: React$1.ComponentProps<typeof DayButton>): react_jsx_runtime0.JSX.Element;
26
26
  //#endregion
27
27
  export { Calendar, CalendarDayButton };
28
28
  //# sourceMappingURL=calendar.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"calendar.d.mts","names":[],"sources":["../../../src/components/ui/calendar.tsx"],"sourcesContent":[],"mappings":";;;;;;iBAUS,QAAA;;;;;;;;;;GAUN,OAAA,CAAM,sBAAsB;kBACb,OAAA,CAAM,sBAAsB;IAC7C,oBAAA,CAAA,GAAA,CAAA;AAhB+D,iBA0IvD,iBAAA,CAtIQ;EAAA,SAAA;EAAA,GAAA;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EA2Id,OAAA,CAAM,cA3IQ,CAAA,OA2Ic,SA3Id,CAAA,CAAA,EA2IwB,oBAAA,CAAA,GAAA,CAAA,OA3IxB"}
1
+ {"version":3,"file":"calendar.d.mts","names":[],"sources":["../../../src/components/ui/calendar.tsx"],"mappings":";;;;;;iBASS,QAAA,CAAA;EACP,SAAA;EACA,UAAA;EACA,eAAA;EACA,aAAA;EACA,aAAA;EACA,MAAA;EACA,UAAA;EACA,UAAA;EAAA,GACG;AAAA,GACF,OAAA,CAAM,cAAA,QAAsB,SAAA;EAC7B,aAAA,GAAgB,OAAA,CAAM,cAAA,QAAsB,MAAA;AAAA,IAC7C,kBAAA,CAAA,GAAA,CAAA,OAAA;AAAA,iBA0HQ,iBAAA,CAAA;EACP,SAAA;EACA,GAAA;EACA,SAAA;EAAA,GACG;AAAA,GACF,OAAA,CAAM,cAAA,QAAsB,SAAA,IAAU,kBAAA,CAAA,GAAA,CAAA,OAAA"}
@@ -49,32 +49,32 @@ function Calendar$1({ className, classNames, showOutsideDays = true, captionLayo
49
49
  ...classNames
50
50
  },
51
51
  components: {
52
- Root: ({ className: className$1, rootRef, ...props$1 }) => {
52
+ Root: ({ className, rootRef, ...props }) => {
53
53
  return /* @__PURE__ */ jsx("div", {
54
54
  "data-slot": "calendar",
55
55
  ref: rootRef,
56
- className: cn(className$1),
57
- ...props$1
56
+ className: cn(className),
57
+ ...props
58
58
  });
59
59
  },
60
- Chevron: ({ className: className$1, orientation, ...props$1 }) => {
60
+ Chevron: ({ className, orientation, ...props }) => {
61
61
  if (orientation === "left") return /* @__PURE__ */ jsx(ChevronLeftIcon, {
62
- className: cn("size-4", className$1),
63
- ...props$1
62
+ className: cn("size-4", className),
63
+ ...props
64
64
  });
65
65
  if (orientation === "right") return /* @__PURE__ */ jsx(ChevronRightIcon, {
66
- className: cn("size-4", className$1),
67
- ...props$1
66
+ className: cn("size-4", className),
67
+ ...props
68
68
  });
69
69
  return /* @__PURE__ */ jsx(ChevronDownIcon, {
70
- className: cn("size-4", className$1),
71
- ...props$1
70
+ className: cn("size-4", className),
71
+ ...props
72
72
  });
73
73
  },
74
74
  DayButton: CalendarDayButton,
75
- WeekNumber: ({ children, ...props$1 }) => {
75
+ WeekNumber: ({ children, ...props }) => {
76
76
  return /* @__PURE__ */ jsx("td", {
77
- ...props$1,
77
+ ...props,
78
78
  children: /* @__PURE__ */ jsx("div", {
79
79
  className: "size-(--cell-size) flex items-center justify-center text-center",
80
80
  children
@@ -1 +1 @@
1
- {"version":3,"file":"calendar.mjs","names":["Calendar","props","className","React"],"sources":["../../../src/components/ui/calendar.tsx"],"sourcesContent":["\"use client\";\n\nimport { ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon } from \"lucide-react\";\nimport * as React from \"react\";\nimport { DayPicker, getDefaultClassNames, type DayButton } from \"react-day-picker\";\n\nimport { Button, buttonVariants } from \"@/components/ui/button\";\nimport { cn } from \"@/lib/utils/cn\";\nimport { nlBE } from \"react-day-picker/locale\";\n\nfunction Calendar({\n className,\n classNames,\n showOutsideDays = true,\n captionLayout = \"label\",\n buttonVariant = \"ghost\",\n locale = nlBE,\n formatters,\n components,\n ...props\n}: React.ComponentProps<typeof DayPicker> & {\n buttonVariant?: React.ComponentProps<typeof Button>[\"variant\"];\n}) {\n const defaultClassNames = getDefaultClassNames();\n\n return (\n <DayPicker\n showOutsideDays={showOutsideDays}\n className={cn(\n \"bg-background group/calendar in-data-[slot=card-content]:bg-transparent in-data-[slot=popover-content]:bg-transparent p-3 [--cell-size:--spacing(8)]\",\n String.raw`rtl:**:[.rdp-button\\_next>svg]:rotate-180`,\n String.raw`rtl:**:[.rdp-button\\_previous>svg]:rotate-180`,\n className,\n )}\n captionLayout={captionLayout}\n formatters={{\n formatMonthDropdown: (date) => date.toLocaleString(\"default\", { month: \"short\" }),\n ...formatters,\n }}\n locale={locale}\n classNames={{\n root: cn(\"w-fit\", defaultClassNames.root),\n months: cn(\"flex gap-4 flex-col md:flex-row relative\", defaultClassNames.months),\n month: cn(\"flex flex-col w-full gap-4\", defaultClassNames.month),\n nav: cn(\n \"flex items-center gap-1 w-full absolute top-0 inset-x-0 justify-between\",\n defaultClassNames.nav,\n ),\n button_previous: cn(\n buttonVariants({ variant: buttonVariant }),\n \"size-(--cell-size) aria-disabled:opacity-50 p-0 select-none\",\n defaultClassNames.button_previous,\n ),\n button_next: cn(\n buttonVariants({ variant: buttonVariant }),\n \"size-(--cell-size) aria-disabled:opacity-50 p-0 select-none\",\n defaultClassNames.button_next,\n ),\n month_caption: cn(\n \"flex items-center justify-center h-(--cell-size) w-full px-(--cell-size)\",\n defaultClassNames.month_caption,\n ),\n dropdowns: cn(\n \"w-full flex items-center text-sm font-medium justify-center h-(--cell-size) gap-1.5\",\n defaultClassNames.dropdowns,\n ),\n dropdown_root: cn(\n \"relative has-focus:border-ring border border-input shadow-xs has-focus:ring-ring/50 has-focus:ring-[3px] rounded-md\",\n defaultClassNames.dropdown_root,\n ),\n dropdown: cn(\"absolute bg-popover inset-0 opacity-0\", defaultClassNames.dropdown),\n caption_label: cn(\n \"select-none font-medium\",\n captionLayout === \"label\"\n ? \"text-sm\"\n : \"rounded-md pl-2 pr-1 flex items-center gap-1 text-sm h-8 [&>svg]:text-muted-foreground [&>svg]:size-3.5\",\n defaultClassNames.caption_label,\n ),\n table: \"w-full border-collapse\",\n weekdays: cn(\"flex\", defaultClassNames.weekdays),\n weekday: cn(\n \"text-muted-foreground rounded-md flex-1 font-normal text-[0.8rem] select-none\",\n defaultClassNames.weekday,\n ),\n week: cn(\"flex w-full mt-2\", defaultClassNames.week),\n week_number_header: cn(\"select-none w-(--cell-size)\", defaultClassNames.week_number_header),\n week_number: cn(\n \"text-[0.8rem] select-none text-muted-foreground\",\n defaultClassNames.week_number,\n ),\n day: cn(\n \"relative w-full h-full p-0 text-center [&:last-child[data-selected=true]_button]:rounded-r-md group/day aspect-square select-none\",\n props.showWeekNumber\n ? \"[&:nth-child(2)[data-selected=true]_button]:rounded-l-md\"\n : \"[&:first-child[data-selected=true]_button]:rounded-l-md\",\n defaultClassNames.day,\n ),\n range_start: cn(\"rounded-l-md bg-accent\", defaultClassNames.range_start),\n range_middle: cn(\"rounded-none\", defaultClassNames.range_middle),\n range_end: cn(\"rounded-r-md bg-accent\", defaultClassNames.range_end),\n today: cn(\n \"bg-accent text-accent-foreground rounded-md data-[selected=true]:rounded-none\",\n defaultClassNames.today,\n ),\n outside: cn(\n \"text-muted-foreground aria-selected:text-muted-foreground\",\n defaultClassNames.outside,\n ),\n disabled: cn(\"text-muted-foreground opacity-50\", defaultClassNames.disabled),\n hidden: cn(\"invisible\", defaultClassNames.hidden),\n ...classNames,\n }}\n components={{\n Root: ({ className, rootRef, ...props }) => {\n return <div data-slot=\"calendar\" ref={rootRef} className={cn(className)} {...props} />;\n },\n Chevron: ({ className, orientation, ...props }) => {\n if (orientation === \"left\") {\n return <ChevronLeftIcon className={cn(\"size-4\", className)} {...props} />;\n }\n\n if (orientation === \"right\") {\n return <ChevronRightIcon className={cn(\"size-4\", className)} {...props} />;\n }\n\n return <ChevronDownIcon className={cn(\"size-4\", className)} {...props} />;\n },\n DayButton: CalendarDayButton,\n WeekNumber: ({ children, ...props }) => {\n return (\n <td {...props}>\n <div className=\"size-(--cell-size) flex items-center justify-center text-center\">\n {children}\n </div>\n </td>\n );\n },\n ...components,\n }}\n {...props}\n />\n );\n}\n\nfunction CalendarDayButton({\n className,\n day,\n modifiers,\n ...props\n}: React.ComponentProps<typeof DayButton>) {\n const defaultClassNames = getDefaultClassNames();\n\n const ref = React.useRef<HTMLButtonElement>(null);\n React.useEffect(() => {\n if (modifiers.focused) ref.current?.focus();\n }, [modifiers.focused]);\n\n return (\n <Button\n ref={ref}\n variant=\"ghost\"\n size=\"icon\"\n data-day={day.date.toLocaleDateString()}\n data-selected-single={\n modifiers.selected &&\n !modifiers.range_start &&\n !modifiers.range_end &&\n !modifiers.range_middle\n }\n data-range-start={modifiers.range_start}\n data-range-end={modifiers.range_end}\n data-range-middle={modifiers.range_middle}\n className={cn(\n \"data-[selected-single=true]:bg-primary data-[selected-single=true]:text-primary-foreground data-[range-middle=true]:bg-accent data-[range-middle=true]:text-accent-foreground data-[range-start=true]:bg-primary data-[range-start=true]:text-primary-foreground data-[range-end=true]:bg-primary data-[range-end=true]:text-primary-foreground group-data-[focused=true]/day:border-ring group-data-[focused=true]/day:ring-ring/50 dark:hover:text-accent-foreground min-w-(--cell-size) flex aspect-square size-auto w-full flex-col gap-1 font-normal leading-none data-[range-end=true]:rounded-md data-[range-middle=true]:rounded-none data-[range-start=true]:rounded-md data-[range-end=true]:rounded-r-md data-[range-start=true]:rounded-l-md group-data-[focused=true]/day:relative group-data-[focused=true]/day:z-10 group-data-[focused=true]/day:ring-[3px] [&>span]:text-xs [&>span]:opacity-70\",\n defaultClassNames.day,\n className,\n )}\n {...props}\n />\n );\n}\n\nexport { Calendar, CalendarDayButton };\n"],"mappings":"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"}
1
+ {"version":3,"file":"calendar.mjs","names":["Calendar","React"],"sources":["../../../src/components/ui/calendar.tsx"],"sourcesContent":["\"use client\";\n\nimport { ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon } from \"lucide-react\";\nimport * as React from \"react\";\nimport { type DayButton, DayPicker, getDefaultClassNames } from \"react-day-picker\";\nimport { nlBE } from \"react-day-picker/locale\";\nimport { Button, buttonVariants } from \"@/components/ui/button\";\nimport { cn } from \"@/lib/utils/cn\";\n\nfunction Calendar({\n className,\n classNames,\n showOutsideDays = true,\n captionLayout = \"label\",\n buttonVariant = \"ghost\",\n locale = nlBE,\n formatters,\n components,\n ...props\n}: React.ComponentProps<typeof DayPicker> & {\n buttonVariant?: React.ComponentProps<typeof Button>[\"variant\"];\n}) {\n const defaultClassNames = getDefaultClassNames();\n\n return (\n <DayPicker\n showOutsideDays={showOutsideDays}\n className={cn(\n \"bg-background group/calendar in-data-[slot=card-content]:bg-transparent in-data-[slot=popover-content]:bg-transparent p-3 [--cell-size:--spacing(8)]\",\n String.raw`rtl:**:[.rdp-button\\_next>svg]:rotate-180`,\n String.raw`rtl:**:[.rdp-button\\_previous>svg]:rotate-180`,\n className,\n )}\n captionLayout={captionLayout}\n formatters={{\n formatMonthDropdown: (date) => date.toLocaleString(\"default\", { month: \"short\" }),\n ...formatters,\n }}\n locale={locale}\n classNames={{\n root: cn(\"w-fit\", defaultClassNames.root),\n months: cn(\"flex gap-4 flex-col md:flex-row relative\", defaultClassNames.months),\n month: cn(\"flex flex-col w-full gap-4\", defaultClassNames.month),\n nav: cn(\n \"flex items-center gap-1 w-full absolute top-0 inset-x-0 justify-between\",\n defaultClassNames.nav,\n ),\n button_previous: cn(\n buttonVariants({ variant: buttonVariant }),\n \"size-(--cell-size) aria-disabled:opacity-50 p-0 select-none\",\n defaultClassNames.button_previous,\n ),\n button_next: cn(\n buttonVariants({ variant: buttonVariant }),\n \"size-(--cell-size) aria-disabled:opacity-50 p-0 select-none\",\n defaultClassNames.button_next,\n ),\n month_caption: cn(\n \"flex items-center justify-center h-(--cell-size) w-full px-(--cell-size)\",\n defaultClassNames.month_caption,\n ),\n dropdowns: cn(\n \"w-full flex items-center text-sm font-medium justify-center h-(--cell-size) gap-1.5\",\n defaultClassNames.dropdowns,\n ),\n dropdown_root: cn(\n \"relative has-focus:border-ring border border-input shadow-xs has-focus:ring-ring/50 has-focus:ring-[3px] rounded-md\",\n defaultClassNames.dropdown_root,\n ),\n dropdown: cn(\"absolute bg-popover inset-0 opacity-0\", defaultClassNames.dropdown),\n caption_label: cn(\n \"select-none font-medium\",\n captionLayout === \"label\"\n ? \"text-sm\"\n : \"rounded-md pl-2 pr-1 flex items-center gap-1 text-sm h-8 [&>svg]:text-muted-foreground [&>svg]:size-3.5\",\n defaultClassNames.caption_label,\n ),\n table: \"w-full border-collapse\",\n weekdays: cn(\"flex\", defaultClassNames.weekdays),\n weekday: cn(\n \"text-muted-foreground rounded-md flex-1 font-normal text-[0.8rem] select-none\",\n defaultClassNames.weekday,\n ),\n week: cn(\"flex w-full mt-2\", defaultClassNames.week),\n week_number_header: cn(\"select-none w-(--cell-size)\", defaultClassNames.week_number_header),\n week_number: cn(\n \"text-[0.8rem] select-none text-muted-foreground\",\n defaultClassNames.week_number,\n ),\n day: cn(\n \"relative w-full h-full p-0 text-center [&:last-child[data-selected=true]_button]:rounded-r-md group/day aspect-square select-none\",\n props.showWeekNumber\n ? \"[&:nth-child(2)[data-selected=true]_button]:rounded-l-md\"\n : \"[&:first-child[data-selected=true]_button]:rounded-l-md\",\n defaultClassNames.day,\n ),\n range_start: cn(\"rounded-l-md bg-accent\", defaultClassNames.range_start),\n range_middle: cn(\"rounded-none\", defaultClassNames.range_middle),\n range_end: cn(\"rounded-r-md bg-accent\", defaultClassNames.range_end),\n today: cn(\n \"bg-accent text-accent-foreground rounded-md data-[selected=true]:rounded-none\",\n defaultClassNames.today,\n ),\n outside: cn(\n \"text-muted-foreground aria-selected:text-muted-foreground\",\n defaultClassNames.outside,\n ),\n disabled: cn(\"text-muted-foreground opacity-50\", defaultClassNames.disabled),\n hidden: cn(\"invisible\", defaultClassNames.hidden),\n ...classNames,\n }}\n components={{\n Root: ({ className, rootRef, ...props }) => {\n return <div data-slot=\"calendar\" ref={rootRef} className={cn(className)} {...props} />;\n },\n Chevron: ({ className, orientation, ...props }) => {\n if (orientation === \"left\") {\n return <ChevronLeftIcon className={cn(\"size-4\", className)} {...props} />;\n }\n\n if (orientation === \"right\") {\n return <ChevronRightIcon className={cn(\"size-4\", className)} {...props} />;\n }\n\n return <ChevronDownIcon className={cn(\"size-4\", className)} {...props} />;\n },\n DayButton: CalendarDayButton,\n WeekNumber: ({ children, ...props }) => {\n return (\n <td {...props}>\n <div className=\"size-(--cell-size) flex items-center justify-center text-center\">\n {children}\n </div>\n </td>\n );\n },\n ...components,\n }}\n {...props}\n />\n );\n}\n\nfunction CalendarDayButton({\n className,\n day,\n modifiers,\n ...props\n}: React.ComponentProps<typeof DayButton>) {\n const defaultClassNames = getDefaultClassNames();\n\n const ref = React.useRef<HTMLButtonElement>(null);\n React.useEffect(() => {\n if (modifiers.focused) ref.current?.focus();\n }, [modifiers.focused]);\n\n return (\n <Button\n ref={ref}\n variant=\"ghost\"\n size=\"icon\"\n data-day={day.date.toLocaleDateString()}\n data-selected-single={\n modifiers.selected &&\n !modifiers.range_start &&\n !modifiers.range_end &&\n !modifiers.range_middle\n }\n data-range-start={modifiers.range_start}\n data-range-end={modifiers.range_end}\n data-range-middle={modifiers.range_middle}\n className={cn(\n \"data-[selected-single=true]:bg-primary data-[selected-single=true]:text-primary-foreground data-[range-middle=true]:bg-accent data-[range-middle=true]:text-accent-foreground data-[range-start=true]:bg-primary data-[range-start=true]:text-primary-foreground data-[range-end=true]:bg-primary data-[range-end=true]:text-primary-foreground group-data-[focused=true]/day:border-ring group-data-[focused=true]/day:ring-ring/50 dark:hover:text-accent-foreground min-w-(--cell-size) flex aspect-square size-auto w-full flex-col gap-1 font-normal leading-none data-[range-end=true]:rounded-md data-[range-middle=true]:rounded-none data-[range-start=true]:rounded-md data-[range-end=true]:rounded-r-md data-[range-start=true]:rounded-l-md group-data-[focused=true]/day:relative group-data-[focused=true]/day:z-10 group-data-[focused=true]/day:ring-[3px] [&>span]:text-xs [&>span]:opacity-70\",\n defaultClassNames.day,\n className,\n )}\n {...props}\n />\n );\n}\n\nexport { Calendar, CalendarDayButton };\n"],"mappings":"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"}
@@ -1,31 +1,31 @@
1
- import * as react_jsx_runtime174 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime0 from "react/jsx-runtime";
2
2
  import * as React$1 from "react";
3
3
 
4
4
  //#region src/components/ui/card.d.ts
5
5
  declare function Card({
6
6
  className,
7
7
  ...props
8
- }: React$1.ComponentProps<"div">): react_jsx_runtime174.JSX.Element;
8
+ }: React$1.ComponentProps<"div">): react_jsx_runtime0.JSX.Element;
9
9
  declare function CardHeader({
10
10
  className,
11
11
  ...props
12
- }: React$1.ComponentProps<"div">): react_jsx_runtime174.JSX.Element;
12
+ }: React$1.ComponentProps<"div">): react_jsx_runtime0.JSX.Element;
13
13
  declare function CardTitle({
14
14
  className,
15
15
  ...props
16
- }: React$1.ComponentProps<"div">): react_jsx_runtime174.JSX.Element;
16
+ }: React$1.ComponentProps<"div">): react_jsx_runtime0.JSX.Element;
17
17
  declare function CardDescription({
18
18
  className,
19
19
  ...props
20
- }: React$1.ComponentProps<"div">): react_jsx_runtime174.JSX.Element;
20
+ }: React$1.ComponentProps<"div">): react_jsx_runtime0.JSX.Element;
21
21
  declare function CardContent({
22
22
  className,
23
23
  ...props
24
- }: React$1.ComponentProps<"div">): react_jsx_runtime174.JSX.Element;
24
+ }: React$1.ComponentProps<"div">): react_jsx_runtime0.JSX.Element;
25
25
  declare function CardFooter({
26
26
  className,
27
27
  ...props
28
- }: React$1.ComponentProps<"div">): react_jsx_runtime174.JSX.Element;
28
+ }: React$1.ComponentProps<"div">): react_jsx_runtime0.JSX.Element;
29
29
  //#endregion
30
30
  export { Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle };
31
31
  //# sourceMappingURL=card.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"card.d.mts","names":[],"sources":["../../../src/components/ui/card.tsx"],"sourcesContent":[],"mappings":";;;;iBAIS,IAAA;;;GAA8B,OAAA,CAAM,wBAAqB,oBAAA,CAAA,GAAA,CAAA;iBAazD,UAAA;;;GAAoC,OAAA,CAAM,wBAAqB,oBAAA,CAAA,GAAA,CAAA;iBAU/D,SAAA;;;GAAmC,OAAA,CAAM,wBAAqB,oBAAA,CAAA,GAAA,CAAA;AA3BxC,iBAqCtB,eAAA,CAjCI;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAiCqC,OAAA,CAAM,cAjC3C,CAAA,KAAA,CAAA,CAAA,EAiCgE,oBAAA,CAAA,GAAA,CAAA,OAjChE;iBA2CJ,WAAA,CA3CO;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EA2C8B,OAAA,CAAM,cA3CpC,CAAA,KAAA,CAAA,CAAA,EA2CyD,oBAAA,CAAA,GAAA,CAAA,OA3CzD;iBA+CP,UAAA,CA/CoC;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EA+CA,OAAA,CAAM,cA/CN,CAAA,KAAA,CAAA,CAAA,EA+C2B,oBAAA,CAAA,GAAA,CAAA,OA/C3B"}
1
+ {"version":3,"file":"card.d.mts","names":[],"sources":["../../../src/components/ui/card.tsx"],"mappings":";;;;iBAIS,IAAA,CAAA;EAAO,SAAA;EAAA,GAAc;AAAA,GAAS,OAAA,CAAM,cAAA,UAAqB,kBAAA,CAAA,GAAA,CAAA,OAAA;AAAA,iBAazD,UAAA,CAAA;EAAa,SAAA;EAAA,GAAc;AAAA,GAAS,OAAA,CAAM,cAAA,UAAqB,kBAAA,CAAA,GAAA,CAAA,OAAA;AAAA,iBAU/D,SAAA,CAAA;EAAY,SAAA;EAAA,GAAc;AAAA,GAAS,OAAA,CAAM,cAAA,UAAqB,kBAAA,CAAA,GAAA,CAAA,OAAA;AAAA,iBAU9D,eAAA,CAAA;EAAkB,SAAA;EAAA,GAAc;AAAA,GAAS,OAAA,CAAM,cAAA,UAAqB,kBAAA,CAAA,GAAA,CAAA,OAAA;AAAA,iBAUpE,WAAA,CAAA;EAAc,SAAA;EAAA,GAAc;AAAA,GAAS,OAAA,CAAM,cAAA,UAAqB,kBAAA,CAAA,GAAA,CAAA,OAAA;AAAA,iBAIhE,UAAA,CAAA;EAAa,SAAA;EAAA,GAAc;AAAA,GAAS,OAAA,CAAM,cAAA,UAAqB,kBAAA,CAAA,GAAA,CAAA,OAAA"}
@@ -1,6 +1,5 @@
1
1
  import { cn } from "../../lib/utils/cn.mjs";
2
2
  import { jsx } from "react/jsx-runtime";
3
- import "react";
4
3
 
5
4
  //#region src/components/ui/card.tsx
6
5
  function Card({ className, ...props }) {
@@ -1 +1 @@
1
- {"version":3,"file":"card.mjs","names":[],"sources":["../../../src/components/ui/card.tsx"],"sourcesContent":["import * as React from \"react\";\n\nimport { cn } from \"@/lib/utils/cn\";\n\nfunction Card({ className, ...props }: React.ComponentProps<\"div\">) {\n return (\n <div\n data-slot=\"card\"\n className={cn(\n \"bg-card text-card-foreground flex flex-col gap-6 rounded-xl border py-6 shadow-sm\",\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(\"flex flex-col gap-1.5 px-6\", className)}\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(\"font-semibold leading-none\", className)}\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-muted-foreground text-sm\", className)}\n {...props}\n />\n );\n}\n\nfunction CardContent({ className, ...props }: React.ComponentProps<\"div\">) {\n return <div data-slot=\"card-content\" className={cn(\"px-6\", className)} {...props} />;\n}\n\nfunction CardFooter({ className, ...props }: React.ComponentProps<\"div\">) {\n return (\n <div data-slot=\"card-footer\" className={cn(\"flex items-center px-6\", className)} {...props} />\n );\n}\n\nexport { Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle };\n"],"mappings":";;;;;AAIA,SAAS,KAAK,EAAE,WAAW,GAAG,SAAsC;AAClE,QACE,oBAAC;EACC,aAAU;EACV,WAAW,GACT,qFACA,UACD;EACD,GAAI;GACJ;;AAIN,SAAS,WAAW,EAAE,WAAW,GAAG,SAAsC;AACxE,QACE,oBAAC;EACC,aAAU;EACV,WAAW,GAAG,8BAA8B,UAAU;EACtD,GAAI;GACJ;;AAIN,SAAS,UAAU,EAAE,WAAW,GAAG,SAAsC;AACvE,QACE,oBAAC;EACC,aAAU;EACV,WAAW,GAAG,8BAA8B,UAAU;EACtD,GAAI;GACJ;;AAIN,SAAS,gBAAgB,EAAE,WAAW,GAAG,SAAsC;AAC7E,QACE,oBAAC;EACC,aAAU;EACV,WAAW,GAAG,iCAAiC,UAAU;EACzD,GAAI;GACJ;;AAIN,SAAS,YAAY,EAAE,WAAW,GAAG,SAAsC;AACzE,QAAO,oBAAC;EAAI,aAAU;EAAe,WAAW,GAAG,QAAQ,UAAU;EAAE,GAAI;GAAS;;AAGtF,SAAS,WAAW,EAAE,WAAW,GAAG,SAAsC;AACxE,QACE,oBAAC;EAAI,aAAU;EAAc,WAAW,GAAG,0BAA0B,UAAU;EAAE,GAAI;GAAS"}
1
+ {"version":3,"file":"card.mjs","names":[],"sources":["../../../src/components/ui/card.tsx"],"sourcesContent":["import type * as React from \"react\";\n\nimport { cn } from \"@/lib/utils/cn\";\n\nfunction Card({ className, ...props }: React.ComponentProps<\"div\">) {\n return (\n <div\n data-slot=\"card\"\n className={cn(\n \"bg-card text-card-foreground flex flex-col gap-6 rounded-xl border py-6 shadow-sm\",\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(\"flex flex-col gap-1.5 px-6\", className)}\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(\"font-semibold leading-none\", className)}\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-muted-foreground text-sm\", className)}\n {...props}\n />\n );\n}\n\nfunction CardContent({ className, ...props }: React.ComponentProps<\"div\">) {\n return <div data-slot=\"card-content\" className={cn(\"px-6\", className)} {...props} />;\n}\n\nfunction CardFooter({ className, ...props }: React.ComponentProps<\"div\">) {\n return (\n <div data-slot=\"card-footer\" className={cn(\"flex items-center px-6\", className)} {...props} />\n );\n}\n\nexport { Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle };\n"],"mappings":";;;;AAIA,SAAS,KAAK,EAAE,WAAW,GAAG,SAAsC;AAClE,QACE,oBAAC;EACC,aAAU;EACV,WAAW,GACT,qFACA,UACD;EACD,GAAI;GACJ;;AAIN,SAAS,WAAW,EAAE,WAAW,GAAG,SAAsC;AACxE,QACE,oBAAC;EACC,aAAU;EACV,WAAW,GAAG,8BAA8B,UAAU;EACtD,GAAI;GACJ;;AAIN,SAAS,UAAU,EAAE,WAAW,GAAG,SAAsC;AACvE,QACE,oBAAC;EACC,aAAU;EACV,WAAW,GAAG,8BAA8B,UAAU;EACtD,GAAI;GACJ;;AAIN,SAAS,gBAAgB,EAAE,WAAW,GAAG,SAAsC;AAC7E,QACE,oBAAC;EACC,aAAU;EACV,WAAW,GAAG,iCAAiC,UAAU;EACzD,GAAI;GACJ;;AAIN,SAAS,YAAY,EAAE,WAAW,GAAG,SAAsC;AACzE,QAAO,oBAAC;EAAI,aAAU;EAAe,WAAW,GAAG,QAAQ,UAAU;EAAE,GAAI;GAAS;;AAGtF,SAAS,WAAW,EAAE,WAAW,GAAG,SAAsC;AACxE,QACE,oBAAC;EAAI,aAAU;EAAc,WAAW,GAAG,0BAA0B,UAAU;EAAE,GAAI;GAAS"}
@@ -1,5 +1,5 @@
1
1
  import { Button } from "./button.mjs";
2
- import * as react_jsx_runtime180 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime0 from "react/jsx-runtime";
3
3
  import * as React$1 from "react";
4
4
  import useEmblaCarousel, { UseEmblaCarouselType } from "embla-carousel-react";
5
5
 
@@ -22,27 +22,27 @@ declare function Carousel({
22
22
  className,
23
23
  children,
24
24
  ...props
25
- }: React$1.ComponentProps<"div"> & CarouselProps): react_jsx_runtime180.JSX.Element;
25
+ }: React$1.ComponentProps<"div"> & CarouselProps): react_jsx_runtime0.JSX.Element;
26
26
  declare function CarouselContent({
27
27
  className,
28
28
  ...props
29
- }: React$1.ComponentProps<"div">): react_jsx_runtime180.JSX.Element;
29
+ }: React$1.ComponentProps<"div">): react_jsx_runtime0.JSX.Element;
30
30
  declare function CarouselItem({
31
31
  className,
32
32
  ...props
33
- }: React$1.ComponentProps<"div">): react_jsx_runtime180.JSX.Element;
33
+ }: React$1.ComponentProps<"div">): react_jsx_runtime0.JSX.Element;
34
34
  declare function CarouselPrevious({
35
35
  className,
36
36
  variant,
37
37
  size,
38
38
  ...props
39
- }: React$1.ComponentProps<typeof Button>): react_jsx_runtime180.JSX.Element;
39
+ }: React$1.ComponentProps<typeof Button>): react_jsx_runtime0.JSX.Element;
40
40
  declare function CarouselNext({
41
41
  className,
42
42
  variant,
43
43
  size,
44
44
  ...props
45
- }: React$1.ComponentProps<typeof Button>): react_jsx_runtime180.JSX.Element;
45
+ }: React$1.ComponentProps<typeof Button>): react_jsx_runtime0.JSX.Element;
46
46
  //#endregion
47
47
  export { Carousel, type CarouselApi, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious };
48
48
  //# sourceMappingURL=carousel.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"carousel.d.mts","names":[],"sources":["../../../src/components/ui/carousel.tsx"],"sourcesContent":[],"mappings":";;;;;;KASK,WAAA,GAAc;KACd,qBAAA,GAAwB,kBAAkB;KAC1C,eAAA,GAAkB;AALyB,KAM3C,cAAA,GAAiB,qBAHH,CAAA,CAAA,CAAA;AAAoB,KAKlC,aAAA,GAJA;EACA,IAAA,CAAA,EAII,eAJW;EACf,OAAA,CAAA,EAIO,cAJO;EAEd,WAAA,CAAA,EAAA,YAAa,GAAA,UAAA;EACT,MAAA,CAAA,EAAA,CAAA,GAAA,EAGQ,WAHR,EAAA,GAAA,IAAA;CACG;iBA0BH,QAAA,CAxBQ;EAAA,WAAA;EAAA,IAAA;EAAA,MAAA;EAAA,OAAA;EAAA,SAAA;EAAA,QAAA;EAAA,GAAA;AAAA,CAAA,EAgCd,OAAA,CAAM,cAhCQ,CAAA,KAAA,CAAA,GAgCgB,aAhChB,CAAA,EAgC6B,oBAAA,CAAA,GAAA,CAAA,OAhC7B;iBAiHR,eAAA,CAjHmB;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAiHsB,OAAA,CAAM,cAjH5B,CAAA,KAAA,CAAA,CAAA,EAiHiD,oBAAA,CAAA,GAAA,CAAA,OAjHjD;AAAA,iBA8HnB,YAAA,CAtGQ;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAsG8B,OAAA,CAAM,cAtGpC,CAAA,KAAA,CAAA,CAAA,EAsGyD,oBAAA,CAAA,GAAA,CAAA,OAtGzD;iBAwHR,gBAAA,CAvHP;EAAA,SAAA;EAAA,OAAA;EAAA,IAAA;EAAA,GAAA;AAAA,CAAA,EA4HC,OAAA,CAAM,cA5HP,CAAA,OA4H6B,MA5H7B,CAAA,CAAA,EA4HoC,oBAAA,CAAA,GAAA,CAAA,OA5HpC;iBAqJO,YAAA,CApJP;EAAA,SAAA;EAAA,OAAA;EAAA,IAAA;EAAA,GAAA;AAAA,CAAA,EAyJC,OAAA,CAAM,cAzJP,CAAA,OAyJ6B,MAzJ7B,CAAA,CAAA,EAyJoC,oBAAA,CAAA,GAAA,CAAA,OAzJpC"}
1
+ {"version":3,"file":"carousel.d.mts","names":[],"sources":["../../../src/components/ui/carousel.tsx"],"mappings":";;;;;;KASK,WAAA,GAAc,oBAAA;AAAA,KACd,qBAAA,GAAwB,UAAA,QAAkB,gBAAA;AAAA,KAC1C,eAAA,GAAkB,qBAAA;AAAA,KAClB,cAAA,GAAiB,qBAAA;AAAA,KAEjB,aAAA;EACH,IAAA,GAAO,eAAA;EACP,OAAA,GAAU,cAAA;EACV,WAAA;EACA,MAAA,IAAU,GAAA,EAAK,WAAA;AAAA;AAAA,iBAwBR,QAAA,CAAA;EACP,WAAA;EACA,IAAA;EACA,MAAA;EACA,OAAA;EACA,SAAA;EACA,QAAA;EAAA,GACG;AAAA,GACF,OAAA,CAAM,cAAA,UAAwB,aAAA,GAAa,kBAAA,CAAA,GAAA,CAAA,OAAA;AAAA,iBAkFrC,eAAA,CAAA;EAAkB,SAAA;EAAA,GAAc;AAAA,GAAS,OAAA,CAAM,cAAA,UAAqB,kBAAA,CAAA,GAAA,CAAA,OAAA;AAAA,iBAapE,YAAA,CAAA;EAAe,SAAA;EAAA,GAAc;AAAA,GAAS,OAAA,CAAM,cAAA,UAAqB,kBAAA,CAAA,GAAA,CAAA,OAAA;AAAA,iBAmBjE,gBAAA,CAAA;EACP,SAAA;EACA,OAAA;EACA,IAAA;EAAA,GACG;AAAA,GACF,OAAA,CAAM,cAAA,QAAsB,MAAA,IAAO,kBAAA,CAAA,GAAA,CAAA,OAAA;AAAA,iBAyB7B,YAAA,CAAA;EACP,SAAA;EACA,OAAA;EACA,IAAA;EAAA,GACG;AAAA,GACF,OAAA,CAAM,cAAA,QAAsB,MAAA,IAAO,kBAAA,CAAA,GAAA,CAAA,OAAA"}
@@ -21,10 +21,10 @@ function Carousel({ orientation = "horizontal", opts, setApi, plugins, className
21
21
  }, plugins);
22
22
  const [canScrollPrev, setCanScrollPrev] = React$1.useState(false);
23
23
  const [canScrollNext, setCanScrollNext] = React$1.useState(false);
24
- const onSelect = React$1.useCallback((api$1) => {
25
- if (!api$1) return;
26
- setCanScrollPrev(api$1.canScrollPrev());
27
- setCanScrollNext(api$1.canScrollNext());
24
+ const onSelect = React$1.useCallback((api) => {
25
+ if (!api) return;
26
+ setCanScrollPrev(api.canScrollPrev());
27
+ setCanScrollNext(api.canScrollNext());
28
28
  }, []);
29
29
  const scrollPrev = React$1.useCallback(() => {
30
30
  api?.scrollPrev();
@@ -1 +1 @@
1
- {"version":3,"file":"carousel.mjs","names":["React","api"],"sources":["../../../src/components/ui/carousel.tsx"],"sourcesContent":["\"use client\";\n\nimport useEmblaCarousel, { type UseEmblaCarouselType } from \"embla-carousel-react\";\nimport { ArrowLeft, ArrowRight } from \"lucide-react\";\nimport * as React from \"react\";\n\nimport { Button } from \"@/components/ui/button\";\nimport { cn } from \"@/lib/utils/cn\";\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: 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 ref={carouselRef} className=\"overflow-hidden\" data-slot=\"carousel-content\">\n <div\n className={cn(\"flex\", orientation === \"horizontal\" ? \"-ml-4\" : \"-mt-4 flex-col\", className)}\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\",\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 size-8 rounded-full\",\n orientation === \"horizontal\"\n ? \"-left-12 top-1/2 -translate-y-1/2\"\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 <ArrowLeft />\n <span className=\"sr-only\">Previous slide</span>\n </Button>\n );\n}\n\nfunction CarouselNext({\n className,\n variant = \"outline\",\n size = \"icon\",\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 size-8 rounded-full\",\n orientation === \"horizontal\"\n ? \"-right-12 top-1/2 -translate-y-1/2\"\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 <ArrowRight />\n <span className=\"sr-only\">Next slide</span>\n </Button>\n );\n}\n\nexport {\n Carousel,\n CarouselContent,\n CarouselItem,\n CarouselNext,\n CarouselPrevious,\n type CarouselApi,\n};\n"],"mappings":"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"}
1
+ {"version":3,"file":"carousel.mjs","names":["React"],"sources":["../../../src/components/ui/carousel.tsx"],"sourcesContent":["\"use client\";\n\nimport useEmblaCarousel, { type UseEmblaCarouselType } from \"embla-carousel-react\";\nimport { ArrowLeft, ArrowRight } from \"lucide-react\";\nimport * as React from \"react\";\n\nimport { Button } from \"@/components/ui/button\";\nimport { cn } from \"@/lib/utils/cn\";\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: orientation || (opts?.axis === \"y\" ? \"vertical\" : \"horizontal\"),\n scrollPrev,\n scrollNext,\n canScrollPrev,\n canScrollNext,\n }}\n >\n {/** biome-ignore lint/a11y/useSemanticElements: This is needed */}\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 ref={carouselRef} className=\"overflow-hidden\" data-slot=\"carousel-content\">\n <div\n className={cn(\"flex\", orientation === \"horizontal\" ? \"-ml-4\" : \"-mt-4 flex-col\", className)}\n {...props}\n />\n </div>\n );\n}\n\nfunction CarouselItem({ className, ...props }: React.ComponentProps<\"div\">) {\n const { orientation } = useCarousel();\n\n return (\n // biome-ignore lint/a11y/useSemanticElements: We use divs here to allow for more flexible styling of the carousel items\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\",\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 size-8 rounded-full\",\n orientation === \"horizontal\"\n ? \"-left-12 top-1/2 -translate-y-1/2\"\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 <ArrowLeft />\n <span className=\"sr-only\">Previous slide</span>\n </Button>\n );\n}\n\nfunction CarouselNext({\n className,\n variant = \"outline\",\n size = \"icon\",\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 size-8 rounded-full\",\n orientation === \"horizontal\"\n ? \"-right-12 top-1/2 -translate-y-1/2\"\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 <ArrowRight />\n <span className=\"sr-only\">Next slide</span>\n </Button>\n );\n}\n\nexport {\n Carousel,\n CarouselContent,\n CarouselItem,\n CarouselNext,\n CarouselPrevious,\n type CarouselApi,\n};\n"],"mappings":"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"}