@k3-universe/react-kit 0.0.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 (703) hide show
  1. package/.babelrc +12 -0
  2. package/.storybook/main.ts +22 -0
  3. package/.storybook/preview.ts +190 -0
  4. package/Dockerfile.storybook +43 -0
  5. package/README.md +7 -0
  6. package/components.json +20 -0
  7. package/dist/index.d.ts +1 -0
  8. package/dist/index.d.ts.map +1 -0
  9. package/dist/index.js +1 -0
  10. package/dist/kit/builder/data-table/components/DataTable.d.ts +34 -0
  11. package/dist/kit/builder/data-table/components/DataTable.d.ts.map +1 -0
  12. package/dist/kit/builder/data-table/components/DataTableColumnHeader.d.ts +8 -0
  13. package/dist/kit/builder/data-table/components/DataTableColumnHeader.d.ts.map +1 -0
  14. package/dist/kit/builder/data-table/components/DataTablePagination.d.ts +6 -0
  15. package/dist/kit/builder/data-table/components/DataTablePagination.d.ts.map +1 -0
  16. package/dist/kit/builder/data-table/components/DataTableViewOptions.d.ts +5 -0
  17. package/dist/kit/builder/data-table/components/DataTableViewOptions.d.ts.map +1 -0
  18. package/dist/kit/builder/data-table/index.d.ts +6 -0
  19. package/dist/kit/builder/data-table/index.d.ts.map +1 -0
  20. package/dist/kit/builder/data-table/types.d.ts +27 -0
  21. package/dist/kit/builder/data-table/types.d.ts.map +1 -0
  22. package/dist/kit/builder/data-table/utils/dotAccessor.d.ts +2 -0
  23. package/dist/kit/builder/data-table/utils/dotAccessor.d.ts.map +1 -0
  24. package/dist/kit/builder/dialog/index.d.ts +3 -0
  25. package/dist/kit/builder/dialog/index.d.ts.map +1 -0
  26. package/dist/kit/builder/dialog/provider.d.ts +26 -0
  27. package/dist/kit/builder/dialog/provider.d.ts.map +1 -0
  28. package/dist/kit/builder/form/components/FormActions.d.ts +20 -0
  29. package/dist/kit/builder/form/components/FormActions.d.ts.map +1 -0
  30. package/dist/kit/builder/form/components/FormBuilder.d.ts +97 -0
  31. package/dist/kit/builder/form/components/FormBuilder.d.ts.map +1 -0
  32. package/dist/kit/builder/form/components/FormField.d.ts +12 -0
  33. package/dist/kit/builder/form/components/FormField.d.ts.map +1 -0
  34. package/dist/kit/builder/form/components/FormSection.d.ts +15 -0
  35. package/dist/kit/builder/form/components/FormSection.d.ts.map +1 -0
  36. package/dist/kit/builder/form/components/index.d.ts +5 -0
  37. package/dist/kit/builder/form/components/index.d.ts.map +1 -0
  38. package/dist/kit/builder/form/index.d.ts +3 -0
  39. package/dist/kit/builder/form/index.d.ts.map +1 -0
  40. package/dist/kit/builder/form/utils/common-forms.d.ts +7 -0
  41. package/dist/kit/builder/form/utils/common-forms.d.ts.map +1 -0
  42. package/dist/kit/builder/form/utils/dependencies.d.ts +41 -0
  43. package/dist/kit/builder/form/utils/dependencies.d.ts.map +1 -0
  44. package/dist/kit/builder/form/utils/field-factories.d.ts +22 -0
  45. package/dist/kit/builder/form/utils/field-factories.d.ts.map +1 -0
  46. package/dist/kit/builder/form/utils/index.d.ts +15 -0
  47. package/dist/kit/builder/form/utils/index.d.ts.map +1 -0
  48. package/dist/kit/builder/form/utils/section-factories.d.ts +7 -0
  49. package/dist/kit/builder/form/utils/section-factories.d.ts.map +1 -0
  50. package/dist/kit/builder/form/utils/transformers.d.ts +6 -0
  51. package/dist/kit/builder/form/utils/transformers.d.ts.map +1 -0
  52. package/dist/kit/builder/form/utils/validations.d.ts +13 -0
  53. package/dist/kit/builder/form/utils/validations.d.ts.map +1 -0
  54. package/dist/kit/builder/form/utils/validators.d.ts +8 -0
  55. package/dist/kit/builder/form/utils/validators.d.ts.map +1 -0
  56. package/dist/kit/builder/page/Page.d.ts +48 -0
  57. package/dist/kit/builder/page/Page.d.ts.map +1 -0
  58. package/dist/kit/builder/page/index.d.ts +2 -0
  59. package/dist/kit/builder/page/index.d.ts.map +1 -0
  60. package/dist/kit/builder/section/SectionBuilder.d.ts +3 -0
  61. package/dist/kit/builder/section/SectionBuilder.d.ts.map +1 -0
  62. package/dist/kit/builder/section/index.d.ts +3 -0
  63. package/dist/kit/builder/section/index.d.ts.map +1 -0
  64. package/dist/kit/builder/section/types.d.ts +59 -0
  65. package/dist/kit/builder/section/types.d.ts.map +1 -0
  66. package/dist/kit/components/autocomplete/Autocomplete.d.ts +21 -0
  67. package/dist/kit/components/autocomplete/Autocomplete.d.ts.map +1 -0
  68. package/dist/kit/components/autocomplete/index.d.ts +3 -0
  69. package/dist/kit/components/autocomplete/index.d.ts.map +1 -0
  70. package/dist/kit/components/autocomplete/types.d.ts +19 -0
  71. package/dist/kit/components/autocomplete/types.d.ts.map +1 -0
  72. package/dist/kit/components/login/Login.d.ts +29 -0
  73. package/dist/kit/components/login/Login.d.ts.map +1 -0
  74. package/dist/kit/components/login/index.d.ts +2 -0
  75. package/dist/kit/components/login/index.d.ts.map +1 -0
  76. package/dist/kit/layouts/admin/components/AdminLayout.d.ts +17 -0
  77. package/dist/kit/layouts/admin/components/AdminLayout.d.ts.map +1 -0
  78. package/dist/kit/layouts/admin/components/ThemeToggle.d.ts +5 -0
  79. package/dist/kit/layouts/admin/components/ThemeToggle.d.ts.map +1 -0
  80. package/dist/kit/layouts/admin/hooks/menu.d.ts +12 -0
  81. package/dist/kit/layouts/admin/hooks/menu.d.ts.map +1 -0
  82. package/dist/kit/layouts/admin/providers/AdminMenuProvider.d.ts +7 -0
  83. package/dist/kit/layouts/admin/providers/AdminMenuProvider.d.ts.map +1 -0
  84. package/dist/kit/layouts/admin/types/index.d.ts +27 -0
  85. package/dist/kit/layouts/admin/types/index.d.ts.map +1 -0
  86. package/dist/kit/providers/ThemeProvider.d.ts +14 -0
  87. package/dist/kit/providers/ThemeProvider.d.ts.map +1 -0
  88. package/dist/shadcn/hooks/use-mobile.d.ts +2 -0
  89. package/dist/shadcn/hooks/use-mobile.d.ts.map +1 -0
  90. package/dist/shadcn/lib/utils.d.ts +3 -0
  91. package/dist/shadcn/lib/utils.d.ts.map +1 -0
  92. package/dist/shadcn/ui/accordion.d.ts +8 -0
  93. package/dist/shadcn/ui/accordion.d.ts.map +1 -0
  94. package/dist/shadcn/ui/alert-dialog.d.ts +15 -0
  95. package/dist/shadcn/ui/alert-dialog.d.ts.map +1 -0
  96. package/dist/shadcn/ui/alert.d.ts +10 -0
  97. package/dist/shadcn/ui/alert.d.ts.map +1 -0
  98. package/dist/shadcn/ui/aspect-ratio.d.ts +4 -0
  99. package/dist/shadcn/ui/aspect-ratio.d.ts.map +1 -0
  100. package/dist/shadcn/ui/avatar.d.ts +7 -0
  101. package/dist/shadcn/ui/avatar.d.ts.map +1 -0
  102. package/dist/shadcn/ui/badge.d.ts +10 -0
  103. package/dist/shadcn/ui/badge.d.ts.map +1 -0
  104. package/dist/shadcn/ui/breadcrumb.d.ts +12 -0
  105. package/dist/shadcn/ui/breadcrumb.d.ts.map +1 -0
  106. package/dist/shadcn/ui/button.d.ts +11 -0
  107. package/dist/shadcn/ui/button.d.ts.map +1 -0
  108. package/dist/shadcn/ui/calendar.d.ts +9 -0
  109. package/dist/shadcn/ui/calendar.d.ts.map +1 -0
  110. package/dist/shadcn/ui/card.d.ts +10 -0
  111. package/dist/shadcn/ui/card.d.ts.map +1 -0
  112. package/dist/shadcn/ui/carousel.d.ts +20 -0
  113. package/dist/shadcn/ui/carousel.d.ts.map +1 -0
  114. package/dist/shadcn/ui/chart.d.ts +41 -0
  115. package/dist/shadcn/ui/chart.d.ts.map +1 -0
  116. package/dist/shadcn/ui/checkbox.d.ts +5 -0
  117. package/dist/shadcn/ui/checkbox.d.ts.map +1 -0
  118. package/dist/shadcn/ui/collapsible.d.ts +6 -0
  119. package/dist/shadcn/ui/collapsible.d.ts.map +1 -0
  120. package/dist/shadcn/ui/command.d.ts +19 -0
  121. package/dist/shadcn/ui/command.d.ts.map +1 -0
  122. package/dist/shadcn/ui/context-menu.d.ts +26 -0
  123. package/dist/shadcn/ui/context-menu.d.ts.map +1 -0
  124. package/dist/shadcn/ui/dialog.d.ts +16 -0
  125. package/dist/shadcn/ui/dialog.d.ts.map +1 -0
  126. package/dist/shadcn/ui/drawer.d.ts +14 -0
  127. package/dist/shadcn/ui/drawer.d.ts.map +1 -0
  128. package/dist/shadcn/ui/dropdown-menu.d.ts +26 -0
  129. package/dist/shadcn/ui/dropdown-menu.d.ts.map +1 -0
  130. package/dist/shadcn/ui/form.d.ts +25 -0
  131. package/dist/shadcn/ui/form.d.ts.map +1 -0
  132. package/dist/shadcn/ui/hover-card.d.ts +7 -0
  133. package/dist/shadcn/ui/hover-card.d.ts.map +1 -0
  134. package/dist/shadcn/ui/input-otp.d.ts +12 -0
  135. package/dist/shadcn/ui/input-otp.d.ts.map +1 -0
  136. package/dist/shadcn/ui/input.d.ts +4 -0
  137. package/dist/shadcn/ui/input.d.ts.map +1 -0
  138. package/dist/shadcn/ui/label.d.ts +5 -0
  139. package/dist/shadcn/ui/label.d.ts.map +1 -0
  140. package/dist/shadcn/ui/menubar.d.ts +27 -0
  141. package/dist/shadcn/ui/menubar.d.ts.map +1 -0
  142. package/dist/shadcn/ui/navigation-menu.d.ts +15 -0
  143. package/dist/shadcn/ui/navigation-menu.d.ts.map +1 -0
  144. package/dist/shadcn/ui/pagination.d.ts +14 -0
  145. package/dist/shadcn/ui/pagination.d.ts.map +1 -0
  146. package/dist/shadcn/ui/popover.d.ts +8 -0
  147. package/dist/shadcn/ui/popover.d.ts.map +1 -0
  148. package/dist/shadcn/ui/progress.d.ts +5 -0
  149. package/dist/shadcn/ui/progress.d.ts.map +1 -0
  150. package/dist/shadcn/ui/radio-group.d.ts +6 -0
  151. package/dist/shadcn/ui/radio-group.d.ts.map +1 -0
  152. package/dist/shadcn/ui/resizable.d.ts +9 -0
  153. package/dist/shadcn/ui/resizable.d.ts.map +1 -0
  154. package/dist/shadcn/ui/scroll-area.d.ts +6 -0
  155. package/dist/shadcn/ui/scroll-area.d.ts.map +1 -0
  156. package/dist/shadcn/ui/select.d.ts +16 -0
  157. package/dist/shadcn/ui/select.d.ts.map +1 -0
  158. package/dist/shadcn/ui/separator.d.ts +5 -0
  159. package/dist/shadcn/ui/separator.d.ts.map +1 -0
  160. package/dist/shadcn/ui/sheet.d.ts +14 -0
  161. package/dist/shadcn/ui/sheet.d.ts.map +1 -0
  162. package/dist/shadcn/ui/sidebar.d.ts +70 -0
  163. package/dist/shadcn/ui/sidebar.d.ts.map +1 -0
  164. package/dist/shadcn/ui/skeleton.d.ts +3 -0
  165. package/dist/shadcn/ui/skeleton.d.ts.map +1 -0
  166. package/dist/shadcn/ui/slider.d.ts +5 -0
  167. package/dist/shadcn/ui/slider.d.ts.map +1 -0
  168. package/dist/shadcn/ui/sonner.d.ts +4 -0
  169. package/dist/shadcn/ui/sonner.d.ts.map +1 -0
  170. package/dist/shadcn/ui/switch.d.ts +5 -0
  171. package/dist/shadcn/ui/switch.d.ts.map +1 -0
  172. package/dist/shadcn/ui/table.d.ts +11 -0
  173. package/dist/shadcn/ui/table.d.ts.map +1 -0
  174. package/dist/shadcn/ui/tabs.d.ts +8 -0
  175. package/dist/shadcn/ui/tabs.d.ts.map +1 -0
  176. package/dist/shadcn/ui/textarea.d.ts +4 -0
  177. package/dist/shadcn/ui/textarea.d.ts.map +1 -0
  178. package/dist/shadcn/ui/toggle-group.d.ts +8 -0
  179. package/dist/shadcn/ui/toggle-group.d.ts.map +1 -0
  180. package/dist/shadcn/ui/toggle.d.ts +10 -0
  181. package/dist/shadcn/ui/toggle.d.ts.map +1 -0
  182. package/dist/shadcn/ui/tooltip.d.ts +8 -0
  183. package/dist/shadcn/ui/tooltip.d.ts.map +1 -0
  184. package/eslint.config.mjs +19 -0
  185. package/package.json +82 -0
  186. package/src/index.css +11 -0
  187. package/src/index.ts +0 -0
  188. package/src/kit/builder/data-table/components/DataTable.tsx +375 -0
  189. package/src/kit/builder/data-table/components/DataTableColumnHeader.tsx +63 -0
  190. package/src/kit/builder/data-table/components/DataTablePagination.tsx +86 -0
  191. package/src/kit/builder/data-table/components/DataTableViewOptions.tsx +42 -0
  192. package/src/kit/builder/data-table/index.ts +5 -0
  193. package/src/kit/builder/data-table/types.ts +29 -0
  194. package/src/kit/builder/data-table/utils/dotAccessor.ts +6 -0
  195. package/src/kit/builder/dialog/index.ts +2 -0
  196. package/src/kit/builder/dialog/provider.tsx +141 -0
  197. package/src/kit/builder/form/components/FormActions.tsx +78 -0
  198. package/src/kit/builder/form/components/FormBuilder.tsx +456 -0
  199. package/src/kit/builder/form/components/FormField.tsx +395 -0
  200. package/src/kit/builder/form/components/FormSection.tsx +88 -0
  201. package/src/kit/builder/form/components/index.ts +4 -0
  202. package/src/kit/builder/form/index.ts +2 -0
  203. package/src/kit/builder/form/utils/common-forms.ts +68 -0
  204. package/src/kit/builder/form/utils/dependencies.ts +56 -0
  205. package/src/kit/builder/form/utils/field-factories.ts +164 -0
  206. package/src/kit/builder/form/utils/index.ts +17 -0
  207. package/src/kit/builder/form/utils/section-factories.ts +35 -0
  208. package/src/kit/builder/form/utils/transformers.ts +100 -0
  209. package/src/kit/builder/form/utils/validations.ts +22 -0
  210. package/src/kit/builder/form/utils/validators.ts +20 -0
  211. package/src/kit/builder/page/Page.tsx +182 -0
  212. package/src/kit/builder/page/index.ts +1 -0
  213. package/src/kit/builder/section/SectionBuilder.tsx +213 -0
  214. package/src/kit/builder/section/index.ts +2 -0
  215. package/src/kit/builder/section/types.ts +66 -0
  216. package/src/kit/components/autocomplete/Autocomplete.tsx +247 -0
  217. package/src/kit/components/autocomplete/index.ts +2 -0
  218. package/src/kit/components/autocomplete/types.ts +24 -0
  219. package/src/kit/components/login/Login.tsx +119 -0
  220. package/src/kit/components/login/index.ts +1 -0
  221. package/src/kit/layouts/admin/components/AdminLayout.tsx +251 -0
  222. package/src/kit/layouts/admin/components/ThemeToggle.tsx +60 -0
  223. package/src/kit/layouts/admin/hooks/menu.ts +26 -0
  224. package/src/kit/layouts/admin/providers/AdminMenuProvider.tsx +58 -0
  225. package/src/kit/layouts/admin/types/index.ts +26 -0
  226. package/src/kit/providers/ThemeProvider.tsx +90 -0
  227. package/src/kit/themes/clean-slate.css +147 -0
  228. package/src/kit/themes/default.css +182 -0
  229. package/src/kit/themes/minimal-modern.css +147 -0
  230. package/src/kit/themes/spotify.css +147 -0
  231. package/src/shadcn/hooks/use-mobile.ts +19 -0
  232. package/src/shadcn/lib/utils.ts +6 -0
  233. package/src/shadcn/ui/accordion.tsx +66 -0
  234. package/src/shadcn/ui/alert-dialog.tsx +157 -0
  235. package/src/shadcn/ui/alert.tsx +66 -0
  236. package/src/shadcn/ui/aspect-ratio.tsx +11 -0
  237. package/src/shadcn/ui/avatar.tsx +53 -0
  238. package/src/shadcn/ui/badge.tsx +46 -0
  239. package/src/shadcn/ui/breadcrumb.tsx +108 -0
  240. package/src/shadcn/ui/button.tsx +59 -0
  241. package/src/shadcn/ui/calendar.tsx +213 -0
  242. package/src/shadcn/ui/card.tsx +92 -0
  243. package/src/shadcn/ui/carousel.tsx +240 -0
  244. package/src/shadcn/ui/chart.tsx +353 -0
  245. package/src/shadcn/ui/checkbox.tsx +32 -0
  246. package/src/shadcn/ui/collapsible.tsx +33 -0
  247. package/src/shadcn/ui/command.tsx +184 -0
  248. package/src/shadcn/ui/context-menu.tsx +252 -0
  249. package/src/shadcn/ui/dialog.tsx +143 -0
  250. package/src/shadcn/ui/drawer.tsx +135 -0
  251. package/src/shadcn/ui/dropdown-menu.tsx +257 -0
  252. package/src/shadcn/ui/form.tsx +167 -0
  253. package/src/shadcn/ui/hover-card.tsx +44 -0
  254. package/src/shadcn/ui/input-otp.tsx +77 -0
  255. package/src/shadcn/ui/input.tsx +21 -0
  256. package/src/shadcn/ui/label.tsx +24 -0
  257. package/src/shadcn/ui/menubar.tsx +276 -0
  258. package/src/shadcn/ui/navigation-menu.tsx +168 -0
  259. package/src/shadcn/ui/pagination.tsx +127 -0
  260. package/src/shadcn/ui/popover.tsx +48 -0
  261. package/src/shadcn/ui/progress.tsx +31 -0
  262. package/src/shadcn/ui/radio-group.tsx +45 -0
  263. package/src/shadcn/ui/resizable.tsx +56 -0
  264. package/src/shadcn/ui/scroll-area.tsx +58 -0
  265. package/src/shadcn/ui/select.tsx +185 -0
  266. package/src/shadcn/ui/separator.tsx +28 -0
  267. package/src/shadcn/ui/sheet.tsx +139 -0
  268. package/src/shadcn/ui/sidebar.tsx +726 -0
  269. package/src/shadcn/ui/skeleton.tsx +13 -0
  270. package/src/shadcn/ui/slider.tsx +63 -0
  271. package/src/shadcn/ui/sonner.tsx +25 -0
  272. package/src/shadcn/ui/switch.tsx +31 -0
  273. package/src/shadcn/ui/table.tsx +116 -0
  274. package/src/shadcn/ui/tabs.tsx +66 -0
  275. package/src/shadcn/ui/textarea.tsx +18 -0
  276. package/src/shadcn/ui/toggle-group.tsx +73 -0
  277. package/src/shadcn/ui/toggle.tsx +47 -0
  278. package/src/shadcn/ui/tooltip.tsx +61 -0
  279. package/src/stories/kit/builder/DataTable.Basic.stories.tsx +61 -0
  280. package/src/stories/kit/builder/DataTable.Filters.stories.tsx +76 -0
  281. package/src/stories/kit/builder/DataTable.Pagination.stories.tsx +72 -0
  282. package/src/stories/kit/builder/DataTable.SelectionAndActions.stories.tsx +63 -0
  283. package/src/stories/kit/builder/DataTable.Sorting.stories.tsx +56 -0
  284. package/src/stories/kit/builder/Dialog.stories.tsx +84 -0
  285. package/src/stories/kit/builder/Form.Basic.stories.tsx +45 -0
  286. package/src/stories/kit/builder/Form.Complex.stories.tsx +223 -0
  287. package/src/stories/kit/builder/Form.Dynamic.stories.tsx +214 -0
  288. package/src/stories/kit/builder/Form.Simple.stories.tsx +78 -0
  289. package/src/stories/kit/builder/Page.stories.tsx +89 -0
  290. package/src/stories/kit/builder/Section.stories.tsx +179 -0
  291. package/src/stories/kit/components/Autocomplete.stories.tsx +98 -0
  292. package/src/stories/kit/components/Login.stories.tsx +161 -0
  293. package/src/stories/kit/layouts/admin/AdminLayout.Basic.stories.tsx +93 -0
  294. package/src/stories/kit/layouts/admin/AdminLayout.Collapsible.stories.tsx +58 -0
  295. package/src/stories/kit/layouts/admin/AdminLayout.Complex.stories.tsx +166 -0
  296. package/src/stories/kit/layouts/admin/AdminLayout.CustomSidebarHeaderComponent.stories.tsx +64 -0
  297. package/src/stories/kit/layouts/admin/AdminLayout.CustomSidebarTitleAndIcon.stories.tsx +55 -0
  298. package/src/stories/kit/layouts/admin/AdminLayout.HeaderSlots.stories.tsx +63 -0
  299. package/src/stories/shadcn/ui/Accordion.stories.tsx +94 -0
  300. package/src/stories/shadcn/ui/Alert.stories.tsx +36 -0
  301. package/src/stories/shadcn/ui/AlertDialog.stories.tsx +71 -0
  302. package/src/stories/shadcn/ui/AspectRatio.stories.tsx +58 -0
  303. package/src/stories/shadcn/ui/Avatar.stories.tsx +26 -0
  304. package/src/stories/shadcn/ui/Badge.stories.tsx +28 -0
  305. package/src/stories/shadcn/ui/Breadcrumb.stories.tsx +47 -0
  306. package/src/stories/shadcn/ui/Button.stories.tsx +49 -0
  307. package/src/stories/shadcn/ui/Calendar.stories.tsx +28 -0
  308. package/src/stories/shadcn/ui/Card.stories.tsx +30 -0
  309. package/src/stories/shadcn/ui/Carousel.stories.tsx +37 -0
  310. package/src/stories/shadcn/ui/Chart.stories.tsx +72 -0
  311. package/src/stories/shadcn/ui/Checkbox.stories.tsx +56 -0
  312. package/src/stories/shadcn/ui/Collapsible.stories.tsx +33 -0
  313. package/src/stories/shadcn/ui/Command.stories.tsx +53 -0
  314. package/src/stories/shadcn/ui/ContextMenu.stories.tsx +59 -0
  315. package/src/stories/shadcn/ui/Dialog.stories.tsx +33 -0
  316. package/src/stories/shadcn/ui/Drawer.stories.tsx +46 -0
  317. package/src/stories/shadcn/ui/DropdownMenu.stories.tsx +65 -0
  318. package/src/stories/shadcn/ui/Form.stories.tsx +90 -0
  319. package/src/stories/shadcn/ui/HoverCard.stories.tsx +37 -0
  320. package/src/stories/shadcn/ui/Input.stories.tsx +39 -0
  321. package/src/stories/shadcn/ui/InputOtp.stories.tsx +32 -0
  322. package/src/stories/shadcn/ui/Label.stories.tsx +29 -0
  323. package/src/stories/shadcn/ui/Menubar.stories.tsx +73 -0
  324. package/src/stories/shadcn/ui/NavigationMenu.stories.tsx +53 -0
  325. package/src/stories/shadcn/ui/Pagination.stories.tsx +51 -0
  326. package/src/stories/shadcn/ui/Popover.stories.tsx +47 -0
  327. package/src/stories/shadcn/ui/Progress.stories.tsx +30 -0
  328. package/src/stories/shadcn/ui/RadioGroup.stories.tsx +31 -0
  329. package/src/stories/shadcn/ui/Resizable.stories.tsx +43 -0
  330. package/src/stories/shadcn/ui/ScrollArea.stories.tsx +32 -0
  331. package/src/stories/shadcn/ui/Select.stories.tsx +55 -0
  332. package/src/stories/shadcn/ui/Separator.stories.tsx +35 -0
  333. package/src/stories/shadcn/ui/Sheet.stories.tsx +47 -0
  334. package/src/stories/shadcn/ui/Sidebar.stories.tsx +120 -0
  335. package/src/stories/shadcn/ui/Skeleton.stories.tsx +23 -0
  336. package/src/stories/shadcn/ui/Slider.stories.tsx +21 -0
  337. package/src/stories/shadcn/ui/Sonner.stories.tsx +39 -0
  338. package/src/stories/shadcn/ui/Switch.stories.tsx +28 -0
  339. package/src/stories/shadcn/ui/Table.stories.tsx +315 -0
  340. package/src/stories/shadcn/ui/Tabs.stories.tsx +24 -0
  341. package/src/stories/shadcn/ui/Textarea.stories.tsx +40 -0
  342. package/src/stories/shadcn/ui/Toggle.stories.tsx +36 -0
  343. package/src/stories/shadcn/ui/ToggleGroup.stories.tsx +28 -0
  344. package/src/stories/shadcn/ui/Tooltip.stories.tsx +25 -0
  345. package/storybook-static/assets/Accordion.stories-N1auke5L.js +52 -0
  346. package/storybook-static/assets/AdminLayout-Cxd0-A_L.js +53 -0
  347. package/storybook-static/assets/AdminLayout.Basic.stories-C_I6rWuq.js +4 -0
  348. package/storybook-static/assets/AdminLayout.Collapsible.stories-CsU3DwTo.js +4 -0
  349. package/storybook-static/assets/AdminLayout.Complex.stories-BbY1Ue6d.js +29 -0
  350. package/storybook-static/assets/AdminLayout.CustomSidebarHeaderComponent.stories-LFVi-aIv.js +9 -0
  351. package/storybook-static/assets/AdminLayout.CustomSidebarTitleAndIcon.stories-BqP6UVc7.js +4 -0
  352. package/storybook-static/assets/AdminLayout.HeaderSlots.stories-BactzgkF.js +7 -0
  353. package/storybook-static/assets/Alert.stories-_FtuixdR.js +27 -0
  354. package/storybook-static/assets/AlertDialog.stories-6NY3BjwR.js +43 -0
  355. package/storybook-static/assets/AspectRatio.stories-DAT11y02.js +22 -0
  356. package/storybook-static/assets/Autocomplete-DngjqsCM.js +35 -0
  357. package/storybook-static/assets/Autocomplete.stories-BCaOrgTR.js +33 -0
  358. package/storybook-static/assets/Avatar.stories-DlzxSLJ-.js +12 -0
  359. package/storybook-static/assets/Badge.stories-DKHXsoV5.js +12 -0
  360. package/storybook-static/assets/Breadcrumb.stories-D8eUHpf7.js +25 -0
  361. package/storybook-static/assets/Button.stories-kvPdKxdw.js +26 -0
  362. package/storybook-static/assets/Calendar.stories-D-hUtQQI.js +3 -0
  363. package/storybook-static/assets/Card.stories-y8Z7NgrQ.js +15 -0
  364. package/storybook-static/assets/Carousel.stories-CFcHYKgp.js +15 -0
  365. package/storybook-static/assets/Chart.stories-BJwLNKfE.js +126 -0
  366. package/storybook-static/assets/Checkbox.stories-B22Fbwx1.js +12 -0
  367. package/storybook-static/assets/Collapsible.stories-BgcRp8Rk.js +18 -0
  368. package/storybook-static/assets/Combination-BT_gXe1L.js +41 -0
  369. package/storybook-static/assets/Command.stories-Dp4CtSQR.js +30 -0
  370. package/storybook-static/assets/ContextMenu.stories-DnVnIi-T.js +31 -0
  371. package/storybook-static/assets/DataTable.Basic.stories-DBF5VYq9.js +6 -0
  372. package/storybook-static/assets/DataTable.Filters.stories-CO0ipuGm.js +21 -0
  373. package/storybook-static/assets/DataTable.Pagination.stories-DNwCw64e.js +24 -0
  374. package/storybook-static/assets/DataTable.SelectionAndActions.stories-DGgdEbsf.js +26 -0
  375. package/storybook-static/assets/DataTable.Sorting.stories-CWpqloAB.js +6 -0
  376. package/storybook-static/assets/Dialog.stories-DQkYN8ht.js +18 -0
  377. package/storybook-static/assets/Dialog.stories-DXZINEgo.js +54 -0
  378. package/storybook-static/assets/Drawer.stories-DMH_vZgi.js +24 -0
  379. package/storybook-static/assets/DropdownMenu.stories-Dl8y-N7T.js +35 -0
  380. package/storybook-static/assets/Form.Basic.stories-CJugIYsx.js +45 -0
  381. package/storybook-static/assets/Form.Complex.stories-BPogRp6F.js +230 -0
  382. package/storybook-static/assets/Form.Dynamic.stories-Boway5AK.js +247 -0
  383. package/storybook-static/assets/Form.Simple.stories-_OXGXXpE.js +50 -0
  384. package/storybook-static/assets/Form.stories-BoHyR8ho.js +3 -0
  385. package/storybook-static/assets/FormBuilder-BGgeY8ik.js +5 -0
  386. package/storybook-static/assets/HoverCard.stories-1HM92M79.js +21 -0
  387. package/storybook-static/assets/Input.stories-sQ4EUlWt.js +16 -0
  388. package/storybook-static/assets/InputOtp.stories-Cpk_EmLx.js +42 -0
  389. package/storybook-static/assets/Label.stories-MjABHKSw.js +14 -0
  390. package/storybook-static/assets/Login.stories-BY4OYGk3.js +37 -0
  391. package/storybook-static/assets/Menubar.stories-B_60TWNE.js +44 -0
  392. package/storybook-static/assets/NavigationMenu.stories-DyuaBvvq.js +30 -0
  393. package/storybook-static/assets/Page.stories-DQKMxrPZ.js +91 -0
  394. package/storybook-static/assets/Pagination.stories-CBo7UrNd.js +29 -0
  395. package/storybook-static/assets/Popover.stories-D98_JrxN.js +15 -0
  396. package/storybook-static/assets/Progress.stories-Dejt5v3z.js +8 -0
  397. package/storybook-static/assets/RadioGroup.stories-Tz2LW6O6.js +16 -0
  398. package/storybook-static/assets/Resizable.stories-DhP2GKN7.js +25 -0
  399. package/storybook-static/assets/ScrollArea.stories-CF7-8wbM.js +12 -0
  400. package/storybook-static/assets/Section.stories-BpurjHIQ.js +196 -0
  401. package/storybook-static/assets/SectionBuilder-Bav4WrnT.js +1 -0
  402. package/storybook-static/assets/Select.stories-DJrU-mi0.js +17 -0
  403. package/storybook-static/assets/Separator.stories-BYH_o8QM.js +17 -0
  404. package/storybook-static/assets/Sheet.stories-BNJ7BIb-.js +24 -0
  405. package/storybook-static/assets/Sidebar.stories-BbjcJuOg.js +106 -0
  406. package/storybook-static/assets/Skeleton.stories-BQNIuIe5.js +9 -0
  407. package/storybook-static/assets/Slider.stories-CWOjKHKD.js +6 -0
  408. package/storybook-static/assets/Sonner.stories-CXSZs5yN.js +18 -0
  409. package/storybook-static/assets/Switch.stories-BUQjobWe.js +3 -0
  410. package/storybook-static/assets/Table.stories-DJcV7M9R.js +35 -0
  411. package/storybook-static/assets/Tabs.stories-ByeVrP18.js +10 -0
  412. package/storybook-static/assets/Textarea.stories-CKsDPHYc.js +17 -0
  413. package/storybook-static/assets/Toggle.stories-DutEzZ8k.js +3 -0
  414. package/storybook-static/assets/ToggleGroup.stories-C9fzJTh-.js +13 -0
  415. package/storybook-static/assets/Tooltip.stories-CngnJbP7.js +10 -0
  416. package/storybook-static/assets/accordion-bQe9Rep4.js +1 -0
  417. package/storybook-static/assets/alert-dialog-CypF_yaW.js +7 -0
  418. package/storybook-static/assets/avatar-CukM9hXu.js +1 -0
  419. package/storybook-static/assets/axe-W8QMjM0E.js +30 -0
  420. package/storybook-static/assets/button-BTWmFXop.js +1 -0
  421. package/storybook-static/assets/card-BJpPOzP8.js +1 -0
  422. package/storybook-static/assets/chart-column-Bzh5arua.js +6 -0
  423. package/storybook-static/assets/check-BgWXKGqi.js +6 -0
  424. package/storybook-static/assets/checkbox-QlugAqJY.js +1 -0
  425. package/storybook-static/assets/chevron-down-BqLjUn1_.js +6 -0
  426. package/storybook-static/assets/chevron-left-BR_0lKnE.js +6 -0
  427. package/storybook-static/assets/chevron-right-DpCIoMaJ.js +6 -0
  428. package/storybook-static/assets/circle-DVJTkDI7.js +6 -0
  429. package/storybook-static/assets/clean-slate-BR-XvZPt.css +1 -0
  430. package/storybook-static/assets/command-BERL33lL.js +6 -0
  431. package/storybook-static/assets/createLucideIcon-1ZwIAs_l.js +21 -0
  432. package/storybook-static/assets/default-M24vcGB8.css +1 -0
  433. package/storybook-static/assets/dependencies-ctrV69dx.js +1 -0
  434. package/storybook-static/assets/dialog-DM9YJ1JD.js +1 -0
  435. package/storybook-static/assets/dropdown-menu-TfFll7G9.js +1 -0
  436. package/storybook-static/assets/ellipsis-BSY8VuLI.js +6 -0
  437. package/storybook-static/assets/grip-vertical-Buja1rv9.js +6 -0
  438. package/storybook-static/assets/iframe-C9bogcIc.css +1 -0
  439. package/storybook-static/assets/iframe-G-6sM9Mt.js +1555 -0
  440. package/storybook-static/assets/index-1v1lhNFD.js +1 -0
  441. package/storybook-static/assets/index-7yNAGow7.js +1 -0
  442. package/storybook-static/assets/index-B-fXBfyD.js +1 -0
  443. package/storybook-static/assets/index-BDwnENHR.js +1 -0
  444. package/storybook-static/assets/index-BdQq_4o_.js +1 -0
  445. package/storybook-static/assets/index-Bq6UNRVc.js +1 -0
  446. package/storybook-static/assets/index-CAwQR9Pv.js +1 -0
  447. package/storybook-static/assets/index-CGrAONsN.js +1 -0
  448. package/storybook-static/assets/index-CLmN5G1a.js +1 -0
  449. package/storybook-static/assets/index-CMmbDm5O.js +1 -0
  450. package/storybook-static/assets/index-CZaD3imo.js +9 -0
  451. package/storybook-static/assets/index-CayhpKmv.js +1 -0
  452. package/storybook-static/assets/index-ClNNG_ys.js +1 -0
  453. package/storybook-static/assets/index-CzJf-yyP.js +5 -0
  454. package/storybook-static/assets/index-DNAxNqEO.js +1 -0
  455. package/storybook-static/assets/index-DW48STyt.js +1 -0
  456. package/storybook-static/assets/index-DhoByIgc.js +1 -0
  457. package/storybook-static/assets/index-DqWzLCH-.js +1 -0
  458. package/storybook-static/assets/index-DvM9azdj.js +1 -0
  459. package/storybook-static/assets/index-DySHPxMy.js +1 -0
  460. package/storybook-static/assets/index-HghBIZeg.js +1 -0
  461. package/storybook-static/assets/index-I343IfOC.js +1 -0
  462. package/storybook-static/assets/index-SxI7_jxe.js +9 -0
  463. package/storybook-static/assets/index-_crRFOM5.js +1 -0
  464. package/storybook-static/assets/index-d_S6mtzU.js +1 -0
  465. package/storybook-static/assets/index-ev1RjzGv.js +1 -0
  466. package/storybook-static/assets/index-lH-AZpAn.js +1 -0
  467. package/storybook-static/assets/input-11YRd9gD.js +1 -0
  468. package/storybook-static/assets/jsx-runtime-D_zvdyIk.js +9 -0
  469. package/storybook-static/assets/label-C5vJTTwH.js +1 -0
  470. package/storybook-static/assets/lodash-Q9aGJGMb.js +73 -0
  471. package/storybook-static/assets/matchers-7Z3WT2CE-T3xScrR7.js +14 -0
  472. package/storybook-static/assets/minimal-modern-BmvR5wyr.css +1 -0
  473. package/storybook-static/assets/popover-DW1K4QCO.js +1 -0
  474. package/storybook-static/assets/preload-helper-Dp1pzeXC.js +1 -0
  475. package/storybook-static/assets/radio-group-iPL-8jvw.js +1 -0
  476. package/storybook-static/assets/react-18-CK1-M7n3.js +25 -0
  477. package/storybook-static/assets/react-icons.esm-n2MUhK0n.js +1 -0
  478. package/storybook-static/assets/refresh-cw-FYEbhX1i.js +6 -0
  479. package/storybook-static/assets/schemas-S_Tg7JYp.js +18 -0
  480. package/storybook-static/assets/section-factories-CC6eFfbk.js +1 -0
  481. package/storybook-static/assets/select-DbLzULCJ.js +6 -0
  482. package/storybook-static/assets/separator-DoUX1TNx.js +1 -0
  483. package/storybook-static/assets/settings-2-CpOcGlDm.js +6 -0
  484. package/storybook-static/assets/sheet-n5VQ25jh.js +1 -0
  485. package/storybook-static/assets/shopping-cart-9kOJ1UDd.js +11 -0
  486. package/storybook-static/assets/sidebar-CvUiZOJe.js +6 -0
  487. package/storybook-static/assets/skeleton-CjDnQs43.js +1 -0
  488. package/storybook-static/assets/spotify-DpbeJq1r.css +1 -0
  489. package/storybook-static/assets/table-CP3vMqFn.js +1 -0
  490. package/storybook-static/assets/textarea-Dw2vruMl.js +1 -0
  491. package/storybook-static/assets/toggle-B-YKWMF8.js +16 -0
  492. package/storybook-static/assets/tooltip-CNONbPiI.js +1 -0
  493. package/storybook-static/assets/trash-2-Bt5LMclM.js +11 -0
  494. package/storybook-static/assets/utils-D-KgF5mV.js +1 -0
  495. package/storybook-static/assets/x-DG9mLFAg.js +6 -0
  496. package/storybook-static/favicon-wrapper.svg +46 -0
  497. package/storybook-static/favicon.svg +1 -0
  498. package/storybook-static/iframe.html +687 -0
  499. package/storybook-static/index.d.ts +1 -0
  500. package/storybook-static/index.d.ts.map +1 -0
  501. package/storybook-static/index.html +166 -0
  502. package/storybook-static/index.json +1 -0
  503. package/storybook-static/kit/builder/data-table/components/DataTable.d.ts +34 -0
  504. package/storybook-static/kit/builder/data-table/components/DataTable.d.ts.map +1 -0
  505. package/storybook-static/kit/builder/data-table/components/DataTableColumnHeader.d.ts +8 -0
  506. package/storybook-static/kit/builder/data-table/components/DataTableColumnHeader.d.ts.map +1 -0
  507. package/storybook-static/kit/builder/data-table/components/DataTablePagination.d.ts +6 -0
  508. package/storybook-static/kit/builder/data-table/components/DataTablePagination.d.ts.map +1 -0
  509. package/storybook-static/kit/builder/data-table/components/DataTableViewOptions.d.ts +5 -0
  510. package/storybook-static/kit/builder/data-table/components/DataTableViewOptions.d.ts.map +1 -0
  511. package/storybook-static/kit/builder/data-table/index.d.ts +6 -0
  512. package/storybook-static/kit/builder/data-table/index.d.ts.map +1 -0
  513. package/storybook-static/kit/builder/data-table/types.d.ts +27 -0
  514. package/storybook-static/kit/builder/data-table/types.d.ts.map +1 -0
  515. package/storybook-static/kit/builder/data-table/utils/dotAccessor.d.ts +2 -0
  516. package/storybook-static/kit/builder/data-table/utils/dotAccessor.d.ts.map +1 -0
  517. package/storybook-static/kit/builder/dialog/index.d.ts +3 -0
  518. package/storybook-static/kit/builder/dialog/index.d.ts.map +1 -0
  519. package/storybook-static/kit/builder/dialog/provider.d.ts +26 -0
  520. package/storybook-static/kit/builder/dialog/provider.d.ts.map +1 -0
  521. package/storybook-static/kit/builder/form/components/FormActions.d.ts +20 -0
  522. package/storybook-static/kit/builder/form/components/FormActions.d.ts.map +1 -0
  523. package/storybook-static/kit/builder/form/components/FormBuilder.d.ts +97 -0
  524. package/storybook-static/kit/builder/form/components/FormBuilder.d.ts.map +1 -0
  525. package/storybook-static/kit/builder/form/components/FormField.d.ts +12 -0
  526. package/storybook-static/kit/builder/form/components/FormField.d.ts.map +1 -0
  527. package/storybook-static/kit/builder/form/components/FormSection.d.ts +15 -0
  528. package/storybook-static/kit/builder/form/components/FormSection.d.ts.map +1 -0
  529. package/storybook-static/kit/builder/form/components/index.d.ts +5 -0
  530. package/storybook-static/kit/builder/form/components/index.d.ts.map +1 -0
  531. package/storybook-static/kit/builder/form/index.d.ts +3 -0
  532. package/storybook-static/kit/builder/form/index.d.ts.map +1 -0
  533. package/storybook-static/kit/builder/form/utils/common-forms.d.ts +7 -0
  534. package/storybook-static/kit/builder/form/utils/common-forms.d.ts.map +1 -0
  535. package/storybook-static/kit/builder/form/utils/dependencies.d.ts +41 -0
  536. package/storybook-static/kit/builder/form/utils/dependencies.d.ts.map +1 -0
  537. package/storybook-static/kit/builder/form/utils/field-factories.d.ts +22 -0
  538. package/storybook-static/kit/builder/form/utils/field-factories.d.ts.map +1 -0
  539. package/storybook-static/kit/builder/form/utils/index.d.ts +15 -0
  540. package/storybook-static/kit/builder/form/utils/index.d.ts.map +1 -0
  541. package/storybook-static/kit/builder/form/utils/section-factories.d.ts +7 -0
  542. package/storybook-static/kit/builder/form/utils/section-factories.d.ts.map +1 -0
  543. package/storybook-static/kit/builder/form/utils/transformers.d.ts +6 -0
  544. package/storybook-static/kit/builder/form/utils/transformers.d.ts.map +1 -0
  545. package/storybook-static/kit/builder/form/utils/validations.d.ts +13 -0
  546. package/storybook-static/kit/builder/form/utils/validations.d.ts.map +1 -0
  547. package/storybook-static/kit/builder/form/utils/validators.d.ts +8 -0
  548. package/storybook-static/kit/builder/form/utils/validators.d.ts.map +1 -0
  549. package/storybook-static/kit/builder/page/Page.d.ts +48 -0
  550. package/storybook-static/kit/builder/page/Page.d.ts.map +1 -0
  551. package/storybook-static/kit/builder/page/index.d.ts +2 -0
  552. package/storybook-static/kit/builder/page/index.d.ts.map +1 -0
  553. package/storybook-static/kit/builder/section/SectionBuilder.d.ts +3 -0
  554. package/storybook-static/kit/builder/section/SectionBuilder.d.ts.map +1 -0
  555. package/storybook-static/kit/builder/section/index.d.ts +3 -0
  556. package/storybook-static/kit/builder/section/index.d.ts.map +1 -0
  557. package/storybook-static/kit/builder/section/types.d.ts +59 -0
  558. package/storybook-static/kit/builder/section/types.d.ts.map +1 -0
  559. package/storybook-static/kit/components/autocomplete/Autocomplete.d.ts +21 -0
  560. package/storybook-static/kit/components/autocomplete/Autocomplete.d.ts.map +1 -0
  561. package/storybook-static/kit/components/autocomplete/index.d.ts +3 -0
  562. package/storybook-static/kit/components/autocomplete/index.d.ts.map +1 -0
  563. package/storybook-static/kit/components/autocomplete/types.d.ts +19 -0
  564. package/storybook-static/kit/components/autocomplete/types.d.ts.map +1 -0
  565. package/storybook-static/kit/components/login/Login.d.ts +29 -0
  566. package/storybook-static/kit/components/login/Login.d.ts.map +1 -0
  567. package/storybook-static/kit/components/login/index.d.ts +2 -0
  568. package/storybook-static/kit/components/login/index.d.ts.map +1 -0
  569. package/storybook-static/kit/layouts/admin/components/AdminLayout.d.ts +17 -0
  570. package/storybook-static/kit/layouts/admin/components/AdminLayout.d.ts.map +1 -0
  571. package/storybook-static/kit/layouts/admin/components/ThemeToggle.d.ts +5 -0
  572. package/storybook-static/kit/layouts/admin/components/ThemeToggle.d.ts.map +1 -0
  573. package/storybook-static/kit/layouts/admin/hooks/menu.d.ts +12 -0
  574. package/storybook-static/kit/layouts/admin/hooks/menu.d.ts.map +1 -0
  575. package/storybook-static/kit/layouts/admin/providers/AdminMenuProvider.d.ts +7 -0
  576. package/storybook-static/kit/layouts/admin/providers/AdminMenuProvider.d.ts.map +1 -0
  577. package/storybook-static/kit/layouts/admin/types/index.d.ts +27 -0
  578. package/storybook-static/kit/layouts/admin/types/index.d.ts.map +1 -0
  579. package/storybook-static/kit/providers/ThemeProvider.d.ts +14 -0
  580. package/storybook-static/kit/providers/ThemeProvider.d.ts.map +1 -0
  581. package/storybook-static/nunito-sans-bold-italic.woff2 +0 -0
  582. package/storybook-static/nunito-sans-bold.woff2 +0 -0
  583. package/storybook-static/nunito-sans-italic.woff2 +0 -0
  584. package/storybook-static/nunito-sans-regular.woff2 +0 -0
  585. package/storybook-static/project.json +1 -0
  586. package/storybook-static/sb-addons/a11y-5/manager-bundle.js +5 -0
  587. package/storybook-static/sb-addons/essentials-backgrounds-1/manager-bundle.js +3 -0
  588. package/storybook-static/sb-addons/essentials-measure-2/manager-bundle.js +3 -0
  589. package/storybook-static/sb-addons/essentials-outline-3/manager-bundle.js +3 -0
  590. package/storybook-static/sb-addons/interactions-4/manager-bundle.js +57 -0
  591. package/storybook-static/sb-addons/storybook-core-server-presets-0/common-manager-bundle.js +971 -0
  592. package/storybook-static/sb-addons/storysource-6/manager-bundle.js +3 -0
  593. package/storybook-static/sb-common-assets/favicon-wrapper.svg +46 -0
  594. package/storybook-static/sb-common-assets/favicon.svg +1 -0
  595. package/storybook-static/sb-common-assets/nunito-sans-bold-italic.woff2 +0 -0
  596. package/storybook-static/sb-common-assets/nunito-sans-bold.woff2 +0 -0
  597. package/storybook-static/sb-common-assets/nunito-sans-italic.woff2 +0 -0
  598. package/storybook-static/sb-common-assets/nunito-sans-regular.woff2 +0 -0
  599. package/storybook-static/sb-manager/globals-module-info.js +797 -0
  600. package/storybook-static/sb-manager/globals-runtime.js +69653 -0
  601. package/storybook-static/sb-manager/globals.js +34 -0
  602. package/storybook-static/sb-manager/runtime.js +13181 -0
  603. package/storybook-static/shadcn/hooks/use-mobile.d.ts +2 -0
  604. package/storybook-static/shadcn/hooks/use-mobile.d.ts.map +1 -0
  605. package/storybook-static/shadcn/lib/utils.d.ts +3 -0
  606. package/storybook-static/shadcn/lib/utils.d.ts.map +1 -0
  607. package/storybook-static/shadcn/ui/accordion.d.ts +8 -0
  608. package/storybook-static/shadcn/ui/accordion.d.ts.map +1 -0
  609. package/storybook-static/shadcn/ui/alert-dialog.d.ts +15 -0
  610. package/storybook-static/shadcn/ui/alert-dialog.d.ts.map +1 -0
  611. package/storybook-static/shadcn/ui/alert.d.ts +10 -0
  612. package/storybook-static/shadcn/ui/alert.d.ts.map +1 -0
  613. package/storybook-static/shadcn/ui/aspect-ratio.d.ts +4 -0
  614. package/storybook-static/shadcn/ui/aspect-ratio.d.ts.map +1 -0
  615. package/storybook-static/shadcn/ui/avatar.d.ts +7 -0
  616. package/storybook-static/shadcn/ui/avatar.d.ts.map +1 -0
  617. package/storybook-static/shadcn/ui/badge.d.ts +10 -0
  618. package/storybook-static/shadcn/ui/badge.d.ts.map +1 -0
  619. package/storybook-static/shadcn/ui/breadcrumb.d.ts +12 -0
  620. package/storybook-static/shadcn/ui/breadcrumb.d.ts.map +1 -0
  621. package/storybook-static/shadcn/ui/button.d.ts +11 -0
  622. package/storybook-static/shadcn/ui/button.d.ts.map +1 -0
  623. package/storybook-static/shadcn/ui/calendar.d.ts +9 -0
  624. package/storybook-static/shadcn/ui/calendar.d.ts.map +1 -0
  625. package/storybook-static/shadcn/ui/card.d.ts +10 -0
  626. package/storybook-static/shadcn/ui/card.d.ts.map +1 -0
  627. package/storybook-static/shadcn/ui/carousel.d.ts +20 -0
  628. package/storybook-static/shadcn/ui/carousel.d.ts.map +1 -0
  629. package/storybook-static/shadcn/ui/chart.d.ts +41 -0
  630. package/storybook-static/shadcn/ui/chart.d.ts.map +1 -0
  631. package/storybook-static/shadcn/ui/checkbox.d.ts +5 -0
  632. package/storybook-static/shadcn/ui/checkbox.d.ts.map +1 -0
  633. package/storybook-static/shadcn/ui/collapsible.d.ts +6 -0
  634. package/storybook-static/shadcn/ui/collapsible.d.ts.map +1 -0
  635. package/storybook-static/shadcn/ui/command.d.ts +19 -0
  636. package/storybook-static/shadcn/ui/command.d.ts.map +1 -0
  637. package/storybook-static/shadcn/ui/context-menu.d.ts +26 -0
  638. package/storybook-static/shadcn/ui/context-menu.d.ts.map +1 -0
  639. package/storybook-static/shadcn/ui/dialog.d.ts +16 -0
  640. package/storybook-static/shadcn/ui/dialog.d.ts.map +1 -0
  641. package/storybook-static/shadcn/ui/drawer.d.ts +14 -0
  642. package/storybook-static/shadcn/ui/drawer.d.ts.map +1 -0
  643. package/storybook-static/shadcn/ui/dropdown-menu.d.ts +26 -0
  644. package/storybook-static/shadcn/ui/dropdown-menu.d.ts.map +1 -0
  645. package/storybook-static/shadcn/ui/form.d.ts +25 -0
  646. package/storybook-static/shadcn/ui/form.d.ts.map +1 -0
  647. package/storybook-static/shadcn/ui/hover-card.d.ts +7 -0
  648. package/storybook-static/shadcn/ui/hover-card.d.ts.map +1 -0
  649. package/storybook-static/shadcn/ui/input-otp.d.ts +12 -0
  650. package/storybook-static/shadcn/ui/input-otp.d.ts.map +1 -0
  651. package/storybook-static/shadcn/ui/input.d.ts +4 -0
  652. package/storybook-static/shadcn/ui/input.d.ts.map +1 -0
  653. package/storybook-static/shadcn/ui/label.d.ts +5 -0
  654. package/storybook-static/shadcn/ui/label.d.ts.map +1 -0
  655. package/storybook-static/shadcn/ui/menubar.d.ts +27 -0
  656. package/storybook-static/shadcn/ui/menubar.d.ts.map +1 -0
  657. package/storybook-static/shadcn/ui/navigation-menu.d.ts +15 -0
  658. package/storybook-static/shadcn/ui/navigation-menu.d.ts.map +1 -0
  659. package/storybook-static/shadcn/ui/pagination.d.ts +14 -0
  660. package/storybook-static/shadcn/ui/pagination.d.ts.map +1 -0
  661. package/storybook-static/shadcn/ui/popover.d.ts +8 -0
  662. package/storybook-static/shadcn/ui/popover.d.ts.map +1 -0
  663. package/storybook-static/shadcn/ui/progress.d.ts +5 -0
  664. package/storybook-static/shadcn/ui/progress.d.ts.map +1 -0
  665. package/storybook-static/shadcn/ui/radio-group.d.ts +6 -0
  666. package/storybook-static/shadcn/ui/radio-group.d.ts.map +1 -0
  667. package/storybook-static/shadcn/ui/resizable.d.ts +9 -0
  668. package/storybook-static/shadcn/ui/resizable.d.ts.map +1 -0
  669. package/storybook-static/shadcn/ui/scroll-area.d.ts +6 -0
  670. package/storybook-static/shadcn/ui/scroll-area.d.ts.map +1 -0
  671. package/storybook-static/shadcn/ui/select.d.ts +16 -0
  672. package/storybook-static/shadcn/ui/select.d.ts.map +1 -0
  673. package/storybook-static/shadcn/ui/separator.d.ts +5 -0
  674. package/storybook-static/shadcn/ui/separator.d.ts.map +1 -0
  675. package/storybook-static/shadcn/ui/sheet.d.ts +14 -0
  676. package/storybook-static/shadcn/ui/sheet.d.ts.map +1 -0
  677. package/storybook-static/shadcn/ui/sidebar.d.ts +70 -0
  678. package/storybook-static/shadcn/ui/sidebar.d.ts.map +1 -0
  679. package/storybook-static/shadcn/ui/skeleton.d.ts +3 -0
  680. package/storybook-static/shadcn/ui/skeleton.d.ts.map +1 -0
  681. package/storybook-static/shadcn/ui/slider.d.ts +5 -0
  682. package/storybook-static/shadcn/ui/slider.d.ts.map +1 -0
  683. package/storybook-static/shadcn/ui/sonner.d.ts +4 -0
  684. package/storybook-static/shadcn/ui/sonner.d.ts.map +1 -0
  685. package/storybook-static/shadcn/ui/switch.d.ts +5 -0
  686. package/storybook-static/shadcn/ui/switch.d.ts.map +1 -0
  687. package/storybook-static/shadcn/ui/table.d.ts +11 -0
  688. package/storybook-static/shadcn/ui/table.d.ts.map +1 -0
  689. package/storybook-static/shadcn/ui/tabs.d.ts +8 -0
  690. package/storybook-static/shadcn/ui/tabs.d.ts.map +1 -0
  691. package/storybook-static/shadcn/ui/textarea.d.ts +4 -0
  692. package/storybook-static/shadcn/ui/textarea.d.ts.map +1 -0
  693. package/storybook-static/shadcn/ui/toggle-group.d.ts +8 -0
  694. package/storybook-static/shadcn/ui/toggle-group.d.ts.map +1 -0
  695. package/storybook-static/shadcn/ui/toggle.d.ts +10 -0
  696. package/storybook-static/shadcn/ui/toggle.d.ts.map +1 -0
  697. package/storybook-static/shadcn/ui/tooltip.d.ts +8 -0
  698. package/storybook-static/shadcn/ui/tooltip.d.ts.map +1 -0
  699. package/storybook-static/vite-inject-mocker-entry.js +18 -0
  700. package/tsconfig.json +24 -0
  701. package/tsconfig.lib.json +52 -0
  702. package/tsconfig.spec.json +38 -0
  703. package/vite.config.ts +63 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/kit/builder/form/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC;AAC9B,cAAc,aAAa,CAAC;AAC5B,cAAc,eAAe,CAAC"}
@@ -0,0 +1,3 @@
1
+ export * from './components';
2
+ export * from './utils';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/kit/builder/form/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,SAAS,CAAC"}
@@ -0,0 +1,7 @@
1
+ import { FormBuilderSectionConfig } from '../components/FormBuilder';
2
+ export declare const commonForms: {
3
+ userRegistration: () => FormBuilderSectionConfig[];
4
+ contact: () => FormBuilderSectionConfig[];
5
+ address: () => FormBuilderSectionConfig[];
6
+ };
7
+ //# sourceMappingURL=common-forms.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"common-forms.d.ts","sourceRoot":"","sources":["../../../../../src/kit/builder/form/utils/common-forms.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,2BAA2B,CAAC;AAMrE,eAAO,MAAM,WAAW;4BAEA,wBAAwB,EAAE;mBAwBnC,wBAAwB,EAAE;mBAa1B,wBAAwB,EAAE;CAsBxC,CAAC"}
@@ -0,0 +1,41 @@
1
+ export declare const createDependency: {
2
+ showWhen: (field: string, condition: (value: any) => boolean) => {
3
+ field: string;
4
+ condition: (value: any) => boolean;
5
+ action: "show";
6
+ };
7
+ hideWhen: (field: string, condition: (value: any) => boolean) => {
8
+ field: string;
9
+ condition: (value: any) => boolean;
10
+ action: "hide";
11
+ };
12
+ enableWhen: (field: string, condition: (value: any) => boolean) => {
13
+ field: string;
14
+ condition: (value: any) => boolean;
15
+ action: "enable";
16
+ };
17
+ disableWhen: (field: string, condition: (value: any) => boolean) => {
18
+ field: string;
19
+ condition: (value: any) => boolean;
20
+ action: "disable";
21
+ };
22
+ setValueWhen: (field: string, condition: (value: any) => boolean, value: any) => {
23
+ field: string;
24
+ condition: (value: any) => boolean;
25
+ action: "setValue";
26
+ value: any;
27
+ };
28
+ };
29
+ export declare const conditions: {
30
+ equals: (value: any) => (fieldValue: any) => boolean;
31
+ notEquals: (value: any) => (fieldValue: any) => boolean;
32
+ includes: (value: any) => (fieldValue: any) => boolean;
33
+ notIncludes: (value: any) => (fieldValue: any) => boolean;
34
+ isEmpty: () => (fieldValue: any) => boolean;
35
+ isNotEmpty: () => (fieldValue: any) => any;
36
+ greaterThan: (value: number) => (fieldValue: any) => boolean;
37
+ lessThan: (value: number) => (fieldValue: any) => boolean;
38
+ isTrue: () => (fieldValue: any) => boolean;
39
+ isFalse: () => (fieldValue: any) => boolean;
40
+ };
41
+ //# sourceMappingURL=dependencies.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dependencies.d.ts","sourceRoot":"","sources":["../../../../../src/kit/builder/form/utils/dependencies.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,gBAAgB;sBACT,MAAM,aAAa,CAAC,KAAK,EAAE,GAAG,KAAK,OAAO;;2BAAf,GAAG,KAAK,OAAO;;;sBAM1C,MAAM,aAAa,CAAC,KAAK,EAAE,GAAG,KAAK,OAAO;;2BAAf,GAAG,KAAK,OAAO;;;wBAMxC,MAAM,aAAa,CAAC,KAAK,EAAE,GAAG,KAAK,OAAO;;2BAAf,GAAG,KAAK,OAAO;;;yBAMzC,MAAM,aAAa,CAAC,KAAK,EAAE,GAAG,KAAK,OAAO;;2BAAf,GAAG,KAAK,OAAO;;;0BAOtD,MAAM,aACF,CAAC,KAAK,EAAE,GAAG,KAAK,OAAO,SAC3B,GAAG;;2BADS,GAAG,KAAK,OAAO;;;;CAQrC,CAAC;AAGF,eAAO,MAAM,UAAU;oBACL,GAAG,MAAM,YAAY,GAAG;uBACrB,GAAG,MAAM,YAAY,GAAG;sBACzB,GAAG,MAAM,YAAY,GAAG;yBAErB,GAAG,MAAM,YAAY,GAAG;oBAE7B,YAAY,GAAG;uBAEZ,YAAY,GAAG;yBAEb,MAAM,MAAM,YAAY,GAAG;sBAE9B,MAAM,MAAM,YAAY,GAAG;mBAC9B,YAAY,GAAG;oBACd,YAAY,GAAG;CAChC,CAAC"}
@@ -0,0 +1,22 @@
1
+ import { FormBuilderFieldConfig } from '../components/FormBuilder';
2
+ export declare const createField: {
3
+ text: (name: string, label: string, options?: Partial<FormBuilderFieldConfig>) => FormBuilderFieldConfig;
4
+ email: (name: string, label: string, options?: Partial<FormBuilderFieldConfig>) => FormBuilderFieldConfig;
5
+ password: (name: string, label: string, options?: Partial<FormBuilderFieldConfig>) => FormBuilderFieldConfig;
6
+ number: (name: string, label: string, options?: Partial<FormBuilderFieldConfig>) => FormBuilderFieldConfig;
7
+ textarea: (name: string, label: string, options?: Partial<FormBuilderFieldConfig>) => FormBuilderFieldConfig;
8
+ select: (name: string, label: string, options: {
9
+ label: string;
10
+ value: string | number | null;
11
+ }[], fieldOptions?: Partial<FormBuilderFieldConfig>) => FormBuilderFieldConfig;
12
+ checkbox: (name: string, label: string, options?: Partial<FormBuilderFieldConfig>) => FormBuilderFieldConfig;
13
+ radio: (name: string, label: string, options: {
14
+ label: string;
15
+ value: string | number;
16
+ }[], fieldOptions?: Partial<FormBuilderFieldConfig>) => FormBuilderFieldConfig;
17
+ date: (name: string, label: string, options?: Partial<FormBuilderFieldConfig>) => FormBuilderFieldConfig;
18
+ file: (name: string, label: string, options?: Partial<FormBuilderFieldConfig>) => FormBuilderFieldConfig;
19
+ object: (name: string, label: string, fields: FormBuilderFieldConfig[], options?: Partial<FormBuilderFieldConfig>) => FormBuilderFieldConfig;
20
+ array: (name: string, label: string, fields: FormBuilderFieldConfig[], options?: Partial<FormBuilderFieldConfig>) => FormBuilderFieldConfig;
21
+ };
22
+ //# sourceMappingURL=field-factories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"field-factories.d.ts","sourceRoot":"","sources":["../../../../../src/kit/builder/form/utils/field-factories.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,2BAA2B,CAAC;AAInE,eAAO,MAAM,WAAW;iBAEd,MAAM,SACL,MAAM,YACJ,OAAO,CAAC,sBAAsB,CAAC,KACvC,sBAAsB;kBASjB,MAAM,SACL,MAAM,YACJ,OAAO,CAAC,sBAAsB,CAAC,KACvC,sBAAsB;qBAUjB,MAAM,SACL,MAAM,YACJ,OAAO,CAAC,sBAAsB,CAAC,KACvC,sBAAsB;mBAUjB,MAAM,SACL,MAAM,YACJ,OAAO,CAAC,sBAAsB,CAAC,KACvC,sBAAsB;qBASjB,MAAM,SACL,MAAM,YACJ,OAAO,CAAC,sBAAsB,CAAC,KACvC,sBAAsB;mBAUjB,MAAM,SACL,MAAM,WACJ;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAAA;KAAE,EAAE,iBAC7C,OAAO,CAAC,sBAAsB,CAAC,KAC5C,sBAAsB;qBAUjB,MAAM,SACL,MAAM,YACJ,OAAO,CAAC,sBAAsB,CAAC,KACvC,sBAAsB;kBAUjB,MAAM,SACL,MAAM,WACJ;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,EAAE,iBACtC,OAAO,CAAC,sBAAsB,CAAC,KAC5C,sBAAsB;iBAUjB,MAAM,SACL,MAAM,YACJ,OAAO,CAAC,sBAAsB,CAAC,KACvC,sBAAsB;iBASjB,MAAM,SACL,MAAM,YACJ,OAAO,CAAC,sBAAsB,CAAC,KACvC,sBAAsB;mBASjB,MAAM,SACL,MAAM,UACL,sBAAsB,EAAE,YACvB,OAAO,CAAC,sBAAsB,CAAC,KACvC,sBAAsB;kBAWjB,MAAM,SACL,MAAM,UACL,sBAAsB,EAAE,YACvB,OAAO,CAAC,sBAAsB,CAAC,KACvC,sBAAsB;CAU1B,CAAC"}
@@ -0,0 +1,15 @@
1
+ export { commonValidations } from './validations';
2
+ export { createField } from './field-factories';
3
+ export { createSection } from './section-factories';
4
+ export { createDependency, conditions } from './dependencies';
5
+ export { transformers } from './transformers';
6
+ export { validators } from './validators';
7
+ export { commonForms } from './common-forms';
8
+ export * from './validations';
9
+ export * from './field-factories';
10
+ export * from './section-factories';
11
+ export * from './dependencies';
12
+ export * from './transformers';
13
+ export * from './validators';
14
+ export * from './common-forms';
15
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/kit/builder/form/utils/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAC;AAClD,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAChD,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACpD,OAAO,EAAE,gBAAgB,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAC9D,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAG7C,cAAc,eAAe,CAAC;AAC9B,cAAc,mBAAmB,CAAC;AAClC,cAAc,qBAAqB,CAAC;AACpC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,cAAc,CAAC;AAC7B,cAAc,gBAAgB,CAAC"}
@@ -0,0 +1,7 @@
1
+ import { FormBuilderFieldConfig, FormBuilderSectionConfig } from '../components/FormBuilder';
2
+ export declare const createSection: {
3
+ card: (title: string, fields: FormBuilderFieldConfig[], options?: Partial<FormBuilderSectionConfig>) => FormBuilderSectionConfig;
4
+ separator: (title: string, fields: FormBuilderFieldConfig[], options?: Partial<FormBuilderSectionConfig>) => FormBuilderSectionConfig;
5
+ plain: (fields: FormBuilderFieldConfig[], options?: Partial<FormBuilderSectionConfig>) => FormBuilderSectionConfig;
6
+ };
7
+ //# sourceMappingURL=section-factories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"section-factories.d.ts","sourceRoot":"","sources":["../../../../../src/kit/builder/form/utils/section-factories.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,wBAAwB,EAAE,MAAM,2BAA2B,CAAC;AAG7F,eAAO,MAAM,aAAa;kBAEf,MAAM,UACL,sBAAsB,EAAE,YACvB,OAAO,CAAC,wBAAwB,CAAC,KACzC,wBAAwB;uBAQlB,MAAM,UACL,sBAAsB,EAAE,YACvB,OAAO,CAAC,wBAAwB,CAAC,KACzC,wBAAwB;oBAQjB,sBAAsB,EAAE,YACvB,OAAO,CAAC,wBAAwB,CAAC,KACzC,wBAAwB;CAK5B,CAAC"}
@@ -0,0 +1,6 @@
1
+ export declare const transformers: {
2
+ cleanEmptyStrings: (data: Record<string, any>) => Record<string, any>;
3
+ parseNumbers: (data: Record<string, any>, numberFields: string[]) => Record<string, any>;
4
+ formatDates: (data: Record<string, any>, dateFields: string[]) => Record<string, any>;
5
+ };
6
+ //# sourceMappingURL=transformers.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"transformers.d.ts","sourceRoot":"","sources":["../../../../../src/kit/builder/form/utils/transformers.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,YAAY;8BAEG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,KAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC;yBA2B3D,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,gBACX,MAAM,EAAE,KACrB,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC;wBAqCd,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,cACb,MAAM,EAAE,KACnB,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC;CA4BvB,CAAC"}
@@ -0,0 +1,13 @@
1
+ import { z } from 'zod';
2
+ export declare const commonValidations: {
3
+ email: z.ZodString;
4
+ phone: z.ZodString;
5
+ url: z.ZodString;
6
+ password: z.ZodString;
7
+ strongPassword: z.ZodString;
8
+ required: z.ZodString;
9
+ optionalString: z.ZodOptional<z.ZodString>;
10
+ positiveNumber: z.ZodNumber;
11
+ nonNegativeNumber: z.ZodNumber;
12
+ };
13
+ //# sourceMappingURL=validations.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"validations.d.ts","sourceRoot":"","sources":["../../../../../src/kit/builder/form/utils/validations.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,iBAAiB;;;;;;;;;;CAkB7B,CAAC"}
@@ -0,0 +1,8 @@
1
+ import { z } from 'zod';
2
+ export declare const validators: {
3
+ when: (condition: (data: any) => boolean, schema: z.ZodType<any>) => z.ZodPipe<z.ZodAny, z.ZodType<any, unknown, z.core.$ZodTypeInternals<any, unknown>>>;
4
+ matchField: (fieldName: string, targetField: string) => (data: Record<string, any>) => boolean;
5
+ minItems: (min: number, message?: string) => z.ZodArray<z.ZodAny>;
6
+ maxItems: (max: number, message?: string) => z.ZodArray<z.ZodAny>;
7
+ };
8
+ //# sourceMappingURL=validators.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"validators.d.ts","sourceRoot":"","sources":["../../../../../src/kit/builder/form/utils/validators.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,UAAU;sBAEH,CAAC,IAAI,EAAE,GAAG,KAAK,OAAO,UAAU,CAAC,CAAC,OAAO,CAAC,GAAG,CAAC;4BAKlD,MAAM,eAAe,MAAM,MAAM,MAAM,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC;oBAIxD,MAAM,YAAY,MAAM;oBAGxB,MAAM,YAAY,MAAM;CAEzC,CAAC"}
@@ -0,0 +1,48 @@
1
+ import { default as React } from 'react';
2
+ import { Button } from '../../../shadcn/ui/button';
3
+ export type PageContainerWidth = 'full' | 'sm' | 'md' | 'lg' | 'xl';
4
+ export type PageButtonAction = {
5
+ type: 'button';
6
+ key?: string;
7
+ label: React.ReactNode;
8
+ onClick?: () => void;
9
+ variant?: React.ComponentProps<typeof Button>['variant'];
10
+ size?: React.ComponentProps<typeof Button>['size'];
11
+ leftIcon?: React.ReactNode;
12
+ rightIcon?: React.ReactNode;
13
+ disabled?: boolean;
14
+ className?: string;
15
+ };
16
+ export type PageDropdownActionItem = {
17
+ key?: string;
18
+ label: React.ReactNode;
19
+ onSelect?: () => void;
20
+ destructive?: boolean;
21
+ leftIcon?: React.ReactNode;
22
+ rightIcon?: React.ReactNode;
23
+ };
24
+ export type PageDropdownAction = {
25
+ type: 'dropdown';
26
+ key?: string;
27
+ trigger: Omit<PageButtonAction, 'type'>;
28
+ items: (PageDropdownActionItem | {
29
+ type: 'separator';
30
+ key?: string;
31
+ })[];
32
+ };
33
+ export type PageAction = PageButtonAction | PageDropdownAction;
34
+ export type PageProps = {
35
+ title: React.ReactNode;
36
+ subtitle?: React.ReactNode;
37
+ actions?: PageAction[];
38
+ containerWidth?: PageContainerWidth;
39
+ className?: string;
40
+ headerClassName?: string;
41
+ contentClassName?: string;
42
+ footerLeft?: React.ReactNode;
43
+ footerRight?: React.ReactNode;
44
+ children?: React.ReactNode;
45
+ };
46
+ export declare function Page({ title, subtitle, actions, containerWidth, className, headerClassName, contentClassName, footerLeft, footerRight, children, }: PageProps): import("react/jsx-runtime").JSX.Element;
47
+ export default Page;
48
+ //# sourceMappingURL=Page.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Page.d.ts","sourceRoot":"","sources":["../../../../src/kit/builder/page/Page.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,MAAM,EAAkB,MAAM,2BAA2B,CAAC;AAUnE,MAAM,MAAM,kBAAkB,GAAG,MAAM,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAEpE,MAAM,MAAM,gBAAgB,GAAG;IAC7B,IAAI,EAAE,QAAQ,CAAC;IACf,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,OAAO,CAAC,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,MAAM,CAAC,CAAC,SAAS,CAAC,CAAC;IACzD,IAAI,CAAC,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,MAAM,CAAC,CAAC,MAAM,CAAC,CAAC;IACnD,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,SAAS,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC5B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,MAAM,MAAM,sBAAsB,GAAG;IACnC,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,SAAS,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC7B,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG;IAC/B,IAAI,EAAE,UAAU,CAAC;IACjB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,IAAI,CAAC,gBAAgB,EAAE,MAAM,CAAC,CAAC;IACxC,KAAK,EAAE,CAAC,sBAAsB,GAAG;QAAE,IAAI,EAAE,WAAW,CAAC;QAAC,GAAG,CAAC,EAAE,MAAM,CAAC;KAAE,CAAC,EAAE,CAAC;CAC1E,CAAC;AAEF,MAAM,MAAM,UAAU,GAAG,gBAAgB,GAAG,kBAAkB,CAAC;AAE/D,MAAM,MAAM,SAAS,GAAG;IACtB,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,OAAO,CAAC,EAAE,UAAU,EAAE,CAAC;IACvB,cAAc,CAAC,EAAE,kBAAkB,CAAC;IACpC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,UAAU,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC7B,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC9B,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B,CAAC;AA4EF,wBAAgB,IAAI,CAAC,EACnB,KAAK,EACL,QAAQ,EACR,OAAO,EACP,cAAqB,EACrB,SAAS,EACT,eAAe,EACf,gBAAgB,EAChB,UAAU,EACV,WAAW,EACX,QAAQ,GACT,EAAE,SAAS,2CAqCX;AAED,eAAe,IAAI,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from './Page';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/kit/builder/page/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAA"}
@@ -0,0 +1,3 @@
1
+ import { SectionBuilderProps } from './types';
2
+ export default function SectionBuilder({ sections, className, renderLeaf }: SectionBuilderProps): import("react/jsx-runtime").JSX.Element;
3
+ //# sourceMappingURL=SectionBuilder.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SectionBuilder.d.ts","sourceRoot":"","sources":["../../../../src/kit/builder/section/SectionBuilder.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,mBAAmB,EAA4B,MAAM,SAAS,CAAC;AAyM7E,MAAM,CAAC,OAAO,UAAU,cAAc,CAAC,EAAE,QAAQ,EAAE,SAAS,EAAE,UAAU,EAAE,EAAE,mBAAmB,2CAQ9F"}
@@ -0,0 +1,3 @@
1
+ export { default as SectionBuilder } from './SectionBuilder';
2
+ export * from './types';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/kit/builder/section/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAC7D,cAAc,SAAS,CAAC"}
@@ -0,0 +1,59 @@
1
+ import { default as React } from 'react';
2
+ export type SectionLayout = 'grid' | 'flex';
3
+ export interface SectionGridOptions {
4
+ cols?: number;
5
+ smCols?: number;
6
+ mdCols?: number;
7
+ lgCols?: number;
8
+ xlCols?: number;
9
+ gap?: string;
10
+ }
11
+ export interface SectionFlexOptions {
12
+ direction?: 'row' | 'col';
13
+ wrap?: boolean;
14
+ gap?: string;
15
+ align?: 'start' | 'center' | 'end' | 'stretch';
16
+ justify?: 'start' | 'center' | 'between' | 'end';
17
+ }
18
+ export interface SectionBase {
19
+ id: string;
20
+ title?: string;
21
+ subtitle?: string;
22
+ variant?: 'card' | 'separator' | 'plain';
23
+ className?: string;
24
+ headerClassName?: string;
25
+ contentClassName?: string;
26
+ hidden?: boolean;
27
+ }
28
+ export interface SectionLeaf {
29
+ key: string;
30
+ content: React.ReactNode;
31
+ className?: string;
32
+ label?: React.ReactNode;
33
+ labelLayout?: 'inline' | 'stacked';
34
+ labelClassName?: string;
35
+ valueClassName?: string;
36
+ inlineLabelWidthClass?: string;
37
+ description?: React.ReactNode;
38
+ span?: {
39
+ base?: number;
40
+ sm?: number;
41
+ md?: number;
42
+ lg?: number;
43
+ xl?: number;
44
+ };
45
+ hidden?: boolean;
46
+ renderKey?: string | number;
47
+ }
48
+ export interface SectionNode extends SectionBase {
49
+ layout?: SectionLayout;
50
+ grid?: SectionGridOptions;
51
+ flex?: SectionFlexOptions;
52
+ children?: Array<SectionNode | SectionLeaf>;
53
+ }
54
+ export interface SectionBuilderProps {
55
+ sections: SectionNode[];
56
+ renderLeaf?: (leaf: SectionLeaf) => React.ReactNode;
57
+ className?: string;
58
+ }
59
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/kit/builder/section/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,MAAM,MAAM,aAAa,GAAG,MAAM,GAAG,MAAM,CAAC;AAE5C,MAAM,WAAW,kBAAkB;IACjC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,GAAG,CAAC,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,kBAAkB;IACjC,SAAS,CAAC,EAAE,KAAK,GAAG,KAAK,CAAC;IAC1B,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,KAAK,GAAG,SAAS,CAAC;IAC/C,OAAO,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,SAAS,GAAG,KAAK,CAAC;CAClD;AAED,MAAM,WAAW,WAAW;IAC1B,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,OAAO,CAAC,EAAE,MAAM,GAAG,WAAW,GAAG,OAAO,CAAC;IACzC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB;AAED,MAAM,WAAW,WAAW;IAC1B,GAAG,EAAE,MAAM,CAAC;IACZ,OAAO,EAAE,KAAK,CAAC,SAAS,CAAC;IACzB,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB,KAAK,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACxB,WAAW,CAAC,EAAE,QAAQ,GAAG,SAAS,CAAC;IACnC,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC9B,IAAI,CAAC,EAAE;QACL,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,EAAE,CAAC,EAAE,MAAM,CAAC;QACZ,EAAE,CAAC,EAAE,MAAM,CAAC;QACZ,EAAE,CAAC,EAAE,MAAM,CAAC;QACZ,EAAE,CAAC,EAAE,MAAM,CAAC;KACb,CAAC;IACF,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;CAC7B;AAED,MAAM,WAAW,WAAY,SAAQ,WAAW;IAC9C,MAAM,CAAC,EAAE,aAAa,CAAC;IACvB,IAAI,CAAC,EAAE,kBAAkB,CAAC;IAC1B,IAAI,CAAC,EAAE,kBAAkB,CAAC;IAC1B,QAAQ,CAAC,EAAE,KAAK,CAAC,WAAW,GAAG,WAAW,CAAC,CAAC;CAC7C;AAED,MAAM,WAAW,mBAAmB;IAClC,QAAQ,EAAE,WAAW,EAAE,CAAC;IACxB,UAAU,CAAC,EAAE,CAAC,IAAI,EAAE,WAAW,KAAK,KAAK,CAAC,SAAS,CAAC;IACpD,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB"}
@@ -0,0 +1,21 @@
1
+ import { default as React } from 'react';
2
+ import { AutocompleteFetcher, AutocompleteMode, AutocompleteOption } from './types';
3
+ export type AutocompleteProps = {
4
+ mode: AutocompleteMode;
5
+ options?: AutocompleteOption[];
6
+ fetcher?: AutocompleteFetcher;
7
+ pageSize?: number;
8
+ value?: string | number | null;
9
+ onChange?: (value: string | number | null, option: AutocompleteOption | null) => void;
10
+ placeholder?: string;
11
+ disabled?: boolean;
12
+ className?: string;
13
+ emptyText?: string;
14
+ renderOption?: (option: AutocompleteOption, selected: boolean) => React.ReactNode;
15
+ searchPlaceholder?: string;
16
+ /** Controls initial open state; component is uncontrolled otherwise */
17
+ defaultOpen?: boolean;
18
+ };
19
+ export declare function Autocomplete({ mode, options, fetcher, pageSize, value: controlledValue, onChange, placeholder, disabled, className, emptyText, renderOption, searchPlaceholder, defaultOpen, }: AutocompleteProps): import("react/jsx-runtime").JSX.Element;
20
+ export default Autocomplete;
21
+ //# sourceMappingURL=Autocomplete.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Autocomplete.d.ts","sourceRoot":"","sources":["../../../../src/kit/components/autocomplete/Autocomplete.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4D,MAAM,OAAO,CAAC;AAcjF,OAAO,KAAK,EACV,mBAAmB,EACnB,gBAAgB,EAChB,kBAAkB,EAEnB,MAAM,SAAS,CAAC;AAGjB,MAAM,MAAM,iBAAiB,GAAG;IAC9B,IAAI,EAAE,gBAAgB,CAAA;IACtB,OAAO,CAAC,EAAE,kBAAkB,EAAE,CAAA;IAC9B,OAAO,CAAC,EAAE,mBAAmB,CAAA;IAC7B,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAAA;IAC9B,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,EAAE,MAAM,EAAE,kBAAkB,GAAG,IAAI,KAAK,IAAI,CAAA;IACrF,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,YAAY,CAAC,EAAE,CAAC,MAAM,EAAE,kBAAkB,EAAE,QAAQ,EAAE,OAAO,KAAK,KAAK,CAAC,SAAS,CAAA;IACjF,iBAAiB,CAAC,EAAE,MAAM,CAAA;IAC1B,uEAAuE;IACvE,WAAW,CAAC,EAAE,OAAO,CAAA;CACtB,CAAA;AAMD,wBAAgB,YAAY,CAAC,EAC3B,IAAI,EACJ,OAAuB,EACvB,OAAO,EACP,QAA4B,EAC5B,KAAK,EAAE,eAAe,EACtB,QAAQ,EACR,WAAyB,EACzB,QAAQ,EACR,SAAS,EACT,SAA8B,EAC9B,YAAY,EACZ,iBAA+B,EAC/B,WAAW,GACZ,EAAE,iBAAiB,2CA2LnB;AAED,eAAe,YAAY,CAAC"}
@@ -0,0 +1,3 @@
1
+ export * from './types';
2
+ export { default as Autocomplete } from './Autocomplete';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/kit/components/autocomplete/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,gBAAgB,CAAC"}
@@ -0,0 +1,19 @@
1
+ export type AutocompleteOption = {
2
+ value: string | number;
3
+ label: string;
4
+ };
5
+ export type AutocompleteFetchParams = {
6
+ search: string;
7
+ cursor?: string | number | null;
8
+ page?: number;
9
+ pageSize: number;
10
+ };
11
+ export type AutocompleteFetchResult = {
12
+ items: AutocompleteOption[];
13
+ nextCursor?: string | number | null;
14
+ hasMore: boolean;
15
+ total?: number;
16
+ };
17
+ export type AutocompleteFetcher = (params: AutocompleteFetchParams) => Promise<AutocompleteFetchResult>;
18
+ export type AutocompleteMode = 'client' | 'server';
19
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/kit/components/autocomplete/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,kBAAkB,GAAG;IAC/B,KAAK,EAAE,MAAM,GAAG,MAAM,CAAA;IACtB,KAAK,EAAE,MAAM,CAAA;CACd,CAAA;AAED,MAAM,MAAM,uBAAuB,GAAG;IACpC,MAAM,EAAE,MAAM,CAAA;IACd,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAAA;IAC/B,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,QAAQ,EAAE,MAAM,CAAA;CACjB,CAAA;AAED,MAAM,MAAM,uBAAuB,GAAG;IACpC,KAAK,EAAE,kBAAkB,EAAE,CAAA;IAC3B,UAAU,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAAA;IACnC,OAAO,EAAE,OAAO,CAAA;IAChB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf,CAAA;AAED,MAAM,MAAM,mBAAmB,GAAG,CAChC,MAAM,EAAE,uBAAuB,KAC5B,OAAO,CAAC,uBAAuB,CAAC,CAAA;AAErC,MAAM,MAAM,gBAAgB,GAAG,QAAQ,GAAG,QAAQ,CAAA"}
@@ -0,0 +1,29 @@
1
+ import * as React from 'react';
2
+ export type LoginProps = {
3
+ appTitle?: string;
4
+ subtitle?: string;
5
+ signupLabel?: string;
6
+ signupLinkLabel?: string;
7
+ signupHref?: string;
8
+ forgotPasswordLabel?: string;
9
+ forgotPasswordLinkLabel?: string;
10
+ forgotPasswordHref?: string;
11
+ rightImageSrc?: string;
12
+ rightImageAlt?: string;
13
+ className?: string;
14
+ continueWith?: React.ReactNode;
15
+ children?: React.ReactNode;
16
+ };
17
+ /**
18
+ * Login layout container.
19
+ *
20
+ * Responsibilities:
21
+ * - Provides a two-column layout (form + optional right-side image)
22
+ * - Renders an app title and optional subtitle above the form
23
+ * - Renders optional separator and custom `continueWith` content (e.g., social buttons)
24
+ * - Renders a footer with configurable signup CTA
25
+ * - Leaves the actual form implementation to children, so you can use FormBuilder or any custom form
26
+ */
27
+ export declare function Login({ appTitle, subtitle, signupLabel, signupLinkLabel, signupHref, forgotPasswordLabel, forgotPasswordLinkLabel, forgotPasswordHref, rightImageSrc, rightImageAlt, className, continueWith, children, }: LoginProps): import("react/jsx-runtime").JSX.Element;
28
+ export default Login;
29
+ //# sourceMappingURL=Login.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Login.d.ts","sourceRoot":"","sources":["../../../../src/kit/components/login/Login.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,MAAM,MAAM,UAAU,GAAG;IAEvB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,uBAAuB,CAAC,EAAE,MAAM,CAAC;IACjC,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAE5B,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,aAAa,CAAC,EAAE,MAAM,CAAC;IAEvB,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB,YAAY,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAE/B,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B,CAAC;AAEF;;;;;;;;;GASG;AACH,wBAAgB,KAAK,CAAC,EACpB,QAAqB,EACrB,QAAQ,EACR,WAAsC,EACtC,eAA2B,EAC3B,UAAgB,EAChB,mBAA6C,EAC7C,uBAAsC,EACtC,kBAAkB,EAClB,aAAa,EACb,aAA6B,EAC7B,SAAS,EACT,YAAY,EACZ,QAAQ,GACT,EAAE,UAAU,2CAkEZ;AAED,eAAe,KAAK,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from './Login';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/kit/components/login/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC"}
@@ -0,0 +1,17 @@
1
+ type AdminLayoutProps = {
2
+ children?: React.ReactNode;
3
+ defaultItemIcon?: React.ComponentType<{
4
+ className?: string;
5
+ }>;
6
+ sidebarCollapsible?: boolean;
7
+ sidebarHeader?: React.ReactNode;
8
+ sidebarHeaderTitle?: React.ReactNode;
9
+ sidebarHeaderIcon?: React.ComponentType<{
10
+ className?: string;
11
+ }>;
12
+ headerAfterTrigger?: React.ReactNode;
13
+ headerAfterTheme?: React.ReactNode;
14
+ };
15
+ export default function AdminLayout({ children, defaultItemIcon, sidebarCollapsible, sidebarHeader, sidebarHeaderTitle, sidebarHeaderIcon, headerAfterTrigger, headerAfterTheme, }: AdminLayoutProps): import("react/jsx-runtime").JSX.Element;
16
+ export {};
17
+ //# sourceMappingURL=AdminLayout.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AdminLayout.d.ts","sourceRoot":"","sources":["../../../../../src/kit/layouts/admin/components/AdminLayout.tsx"],"names":[],"mappings":"AA+BA,KAAK,gBAAgB,GAAG;IACtB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,eAAe,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;QAAE,SAAS,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IAE9D,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAE7B,aAAa,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAChC,kBAAkB,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACrC,iBAAiB,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;QAAE,SAAS,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IAEhE,kBAAkB,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACrC,gBAAgB,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CACpC,CAAC;AAoLF,MAAM,CAAC,OAAO,UAAU,WAAW,CAAC,EAClC,QAAQ,EACR,eAAe,EACf,kBAAkB,EAClB,aAAa,EACb,kBAAkB,EAClB,iBAAiB,EACjB,kBAAkB,EAClB,gBAAgB,GACjB,EAAE,gBAAgB,2CAkBlB"}
@@ -0,0 +1,5 @@
1
+ export type ThemeToggleProps = {
2
+ className?: string;
3
+ };
4
+ export default function ThemeToggle({ className }: ThemeToggleProps): import("react/jsx-runtime").JSX.Element;
5
+ //# sourceMappingURL=ThemeToggle.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ThemeToggle.d.ts","sourceRoot":"","sources":["../../../../../src/kit/layouts/admin/components/ThemeToggle.tsx"],"names":[],"mappings":"AAaA,MAAM,MAAM,gBAAgB,GAAG;IAC7B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,MAAM,CAAC,OAAO,UAAU,WAAW,CAAC,EAAE,SAAS,EAAE,EAAE,gBAAgB,2CA0ClE"}
@@ -0,0 +1,12 @@
1
+ import { default as React } from 'react';
2
+ import { AdminMenuContextValue, AdminMenuGroup } from '../types';
3
+ export declare const AdminMenuContext: React.Context<AdminMenuContextValue | null>;
4
+ export declare function useAdminSidebarMenu(): AdminMenuContextValue;
5
+ export declare function useAdminSidebarMenuRegistration(): {
6
+ registerGroup: (group: Omit<AdminMenuGroup, "items"> & {
7
+ items?: import('../types').AdminMenuItem[];
8
+ }) => void;
9
+ registerItem: (groupId: string, item: import('../types').AdminMenuItem) => void;
10
+ clear: () => void;
11
+ };
12
+ //# sourceMappingURL=menu.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"menu.d.ts","sourceRoot":"","sources":["../../../../../src/kit/layouts/admin/hooks/menu.ts"],"names":[],"mappings":"AAAA,OAAO,KAAoC,MAAM,OAAO,CAAC;AACzD,OAAO,EAAE,qBAAqB,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAEjE,eAAO,MAAM,gBAAgB,6CAAoD,CAAC;AAElF,wBAAgB,mBAAmB,0BAelC;AAED,wBAAgB,+BAA+B;;aATzC,CAAL;;;;EAYA"}
@@ -0,0 +1,7 @@
1
+ import { AdminMenuGroup } from '../types';
2
+ export type AdminMenuProviderProps = {
3
+ initialGroups?: AdminMenuGroup[];
4
+ children: React.ReactNode;
5
+ };
6
+ export declare function AdminMenuProvider({ initialGroups, children }: AdminMenuProviderProps): import("react/jsx-runtime").JSX.Element;
7
+ //# sourceMappingURL=AdminMenuProvider.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AdminMenuProvider.d.ts","sourceRoot":"","sources":["../../../../../src/kit/layouts/admin/providers/AdminMenuProvider.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAyB,MAAM,UAAU,CAAC;AAGjE,MAAM,MAAM,sBAAsB,GAAG;IACnC,aAAa,CAAC,EAAE,cAAc,EAAE,CAAC;IACjC,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B,CAAC;AAEF,wBAAgB,iBAAiB,CAAC,EAAE,aAAkB,EAAE,QAAQ,EAAE,EAAE,sBAAsB,2CAgDzF"}
@@ -0,0 +1,27 @@
1
+ export type AdminMenuItem = {
2
+ id: string;
3
+ title: string;
4
+ url?: string;
5
+ icon?: React.ComponentType<{
6
+ className?: string;
7
+ }>;
8
+ badge?: string | number;
9
+ onClick?: () => void;
10
+ disabled?: boolean;
11
+ children?: AdminMenuItem[];
12
+ };
13
+ export type AdminMenuGroup = {
14
+ id: string;
15
+ label: string;
16
+ items: AdminMenuItem[];
17
+ };
18
+ export type AdminMenuContextValue = {
19
+ groups: AdminMenuGroup[];
20
+ setGroups: React.Dispatch<React.SetStateAction<AdminMenuGroup[]>>;
21
+ registerGroup: (group: Omit<AdminMenuGroup, 'items'> & {
22
+ items?: AdminMenuItem[];
23
+ }) => void;
24
+ registerItem: (groupId: string, item: AdminMenuItem) => void;
25
+ clear: () => void;
26
+ };
27
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/kit/layouts/admin/types/index.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,aAAa,GAAG;IAC1B,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;QAAE,SAAS,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IACnD,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,aAAa,EAAE,CAAC;CAC5B,CAAC;AAEF,MAAM,MAAM,cAAc,GAAG;IAC3B,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,aAAa,EAAE,CAAC;CACxB,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAAG;IAClC,MAAM,EAAE,cAAc,EAAE,CAAC;IACzB,SAAS,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,cAAc,EAAE,CAAC,CAAC,CAAC;IAClE,aAAa,EAAE,CACb,KAAK,EAAE,IAAI,CAAC,cAAc,EAAE,OAAO,CAAC,GAAG;QAAE,KAAK,CAAC,EAAE,aAAa,EAAE,CAAA;KAAE,KAC/D,IAAI,CAAC;IACV,YAAY,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,aAAa,KAAK,IAAI,CAAC;IAC7D,KAAK,EAAE,MAAM,IAAI,CAAC;CACnB,CAAC"}
@@ -0,0 +1,14 @@
1
+ type Theme = 'dark' | 'light' | 'system';
2
+ type ThemeProviderProps = {
3
+ children: React.ReactNode;
4
+ defaultTheme?: Theme;
5
+ storageKey?: string;
6
+ };
7
+ type ThemeProviderState = {
8
+ theme: Theme;
9
+ setTheme: (theme: Theme) => void;
10
+ };
11
+ export declare function ThemeProvider({ children, defaultTheme, storageKey, ...props }: ThemeProviderProps): import("react/jsx-runtime").JSX.Element;
12
+ export declare const useTheme: () => ThemeProviderState;
13
+ export {};
14
+ //# sourceMappingURL=ThemeProvider.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ThemeProvider.d.ts","sourceRoot":"","sources":["../../../src/kit/providers/ThemeProvider.tsx"],"names":[],"mappings":"AAEA,KAAK,KAAK,GAAG,MAAM,GAAG,OAAO,GAAG,QAAQ,CAAC;AAEzC,KAAK,kBAAkB,GAAG;IACxB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,YAAY,CAAC,EAAE,KAAK,CAAC;IACrB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB,CAAC;AAEF,KAAK,kBAAkB,GAAG;IACxB,KAAK,EAAE,KAAK,CAAC;IACb,QAAQ,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAC;CAClC,CAAC;AASF,wBAAgB,aAAa,CAAC,EAC5B,QAAQ,EACR,YAAuB,EACvB,UAA4B,EAC5B,GAAG,KAAK,EACT,EAAE,kBAAkB,2CAqDpB;AAED,eAAO,MAAM,QAAQ,0BAOpB,CAAC"}
@@ -0,0 +1 @@
1
+ {"generatedAt":1755662139241,"userSince":1755301452998,"hasCustomBabel":false,"hasCustomWebpack":false,"hasStaticDirs":false,"hasStorybookEslint":false,"refCount":0,"testPackages":{},"hasRouterPackage":true,"monorepo":"Nx","packageManager":{"type":"pnpm","agent":"pnpm","nodeLinker":"undefined"},"preview":{"usesGlobals":true},"framework":{"name":"@storybook/react-vite","options":{"builder":{"viteConfigPath":"/Users/apple/Development/k3mart/libraries/k3mart-ui/libs/react-kit/vite.config.ts"}}},"builder":"@storybook/builder-vite","renderer":"@storybook/react","portableStoriesFileCount":0,"applicationFileCount":0,"storybookVersion":"9.1.2","storybookVersionSpecifier":"9.1.2","language":"javascript","storybookPackages":{},"addons":{"@storybook/addon-essentials":{"version":"9.0.0-alpha.12"},"@storybook/addon-interactions":{"version":"9.0.0-alpha.10"},"@storybook/addon-a11y":{"version":"9.1.2"},"@storybook/addon-storysource":{"version":"9.0.0-alpha.14"}}}