@jameskabz/nextcraft-ui 0.6.4 → 0.6.5

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 (332) hide show
  1. package/dist/components/craft-alert.cjs +69 -0
  2. package/dist/components/craft-alert.cjs.map +1 -0
  3. package/dist/components/craft-alert.d.cts +16 -0
  4. package/dist/components/craft-alert.d.ts +16 -0
  5. package/dist/components/craft-alert.js +45 -0
  6. package/dist/components/craft-alert.js.map +1 -0
  7. package/dist/components/craft-badge.cjs +54 -0
  8. package/dist/components/craft-badge.cjs.map +1 -0
  9. package/dist/components/craft-badge.d.cts +12 -0
  10. package/dist/components/craft-badge.d.ts +12 -0
  11. package/dist/components/craft-badge.js +30 -0
  12. package/dist/components/craft-badge.js.map +1 -0
  13. package/dist/components/craft-button.cjs +66 -0
  14. package/dist/components/craft-button.cjs.map +1 -0
  15. package/dist/components/craft-button.d.cts +15 -0
  16. package/dist/components/craft-button.d.ts +15 -0
  17. package/dist/components/craft-button.js +42 -0
  18. package/dist/components/craft-button.js.map +1 -0
  19. package/dist/components/craft-card.cjs +63 -0
  20. package/dist/components/craft-card.cjs.map +1 -0
  21. package/dist/components/craft-card.d.cts +13 -0
  22. package/dist/components/craft-card.d.ts +13 -0
  23. package/dist/components/craft-card.js +39 -0
  24. package/dist/components/craft-card.js.map +1 -0
  25. package/dist/components/craft-checkbox.cjs +103 -0
  26. package/dist/components/craft-checkbox.cjs.map +1 -0
  27. package/dist/components/craft-checkbox.d.cts +16 -0
  28. package/dist/components/craft-checkbox.d.ts +16 -0
  29. package/dist/components/craft-checkbox.js +69 -0
  30. package/dist/components/craft-checkbox.js.map +1 -0
  31. package/dist/components/craft-command-palette.cjs +134 -0
  32. package/dist/components/craft-command-palette.cjs.map +1 -0
  33. package/dist/components/craft-command-palette.d.cts +28 -0
  34. package/dist/components/craft-command-palette.d.ts +28 -0
  35. package/dist/components/craft-command-palette.js +100 -0
  36. package/dist/components/craft-command-palette.js.map +1 -0
  37. package/dist/components/craft-confirm-dialog.cjs +114 -0
  38. package/dist/components/craft-confirm-dialog.cjs.map +1 -0
  39. package/dist/components/craft-confirm-dialog.d.cts +21 -0
  40. package/dist/components/craft-confirm-dialog.d.ts +21 -0
  41. package/dist/components/craft-confirm-dialog.js +80 -0
  42. package/dist/components/craft-confirm-dialog.js.map +1 -0
  43. package/dist/components/craft-create-edit-drawer.cjs +112 -0
  44. package/dist/components/craft-create-edit-drawer.cjs.map +1 -0
  45. package/dist/components/craft-create-edit-drawer.d.cts +28 -0
  46. package/dist/components/craft-create-edit-drawer.d.ts +28 -0
  47. package/dist/components/craft-create-edit-drawer.js +78 -0
  48. package/dist/components/craft-create-edit-drawer.js.map +1 -0
  49. package/dist/components/craft-currency-input.cjs +68 -0
  50. package/dist/components/craft-currency-input.cjs.map +1 -0
  51. package/dist/components/craft-currency-input.d.cts +14 -0
  52. package/dist/components/craft-currency-input.d.ts +14 -0
  53. package/dist/components/craft-currency-input.js +34 -0
  54. package/dist/components/craft-currency-input.js.map +1 -0
  55. package/dist/components/craft-data-table.cjs +407 -0
  56. package/dist/components/craft-data-table.cjs.map +1 -0
  57. package/dist/components/craft-data-table.d.cts +58 -0
  58. package/dist/components/craft-data-table.d.ts +58 -0
  59. package/dist/components/craft-data-table.js +373 -0
  60. package/dist/components/craft-data-table.js.map +1 -0
  61. package/dist/components/craft-date-picker.cjs +226 -0
  62. package/dist/components/craft-date-picker.cjs.map +1 -0
  63. package/dist/components/craft-date-picker.d.cts +17 -0
  64. package/dist/components/craft-date-picker.d.ts +17 -0
  65. package/dist/components/craft-date-picker.js +192 -0
  66. package/dist/components/craft-date-picker.js.map +1 -0
  67. package/dist/components/craft-drawer.cjs +126 -0
  68. package/dist/components/craft-drawer.cjs.map +1 -0
  69. package/dist/components/craft-drawer.d.cts +19 -0
  70. package/dist/components/craft-drawer.d.ts +19 -0
  71. package/dist/components/craft-drawer.js +92 -0
  72. package/dist/components/craft-drawer.js.map +1 -0
  73. package/dist/components/craft-dropdown-menu.cjs +127 -0
  74. package/dist/components/craft-dropdown-menu.cjs.map +1 -0
  75. package/dist/components/craft-dropdown-menu.d.cts +28 -0
  76. package/dist/components/craft-dropdown-menu.d.ts +28 -0
  77. package/dist/components/craft-dropdown-menu.js +93 -0
  78. package/dist/components/craft-dropdown-menu.js.map +1 -0
  79. package/dist/components/craft-empty-state.cjs +58 -0
  80. package/dist/components/craft-empty-state.cjs.map +1 -0
  81. package/dist/components/craft-empty-state.d.cts +14 -0
  82. package/dist/components/craft-empty-state.d.ts +14 -0
  83. package/dist/components/craft-empty-state.js +34 -0
  84. package/dist/components/craft-empty-state.js.map +1 -0
  85. package/dist/components/craft-error-state.cjs +60 -0
  86. package/dist/components/craft-error-state.cjs.map +1 -0
  87. package/dist/components/craft-error-state.d.cts +15 -0
  88. package/dist/components/craft-error-state.d.ts +15 -0
  89. package/dist/components/craft-error-state.js +36 -0
  90. package/dist/components/craft-error-state.js.map +1 -0
  91. package/dist/components/craft-filter-bar.cjs +76 -0
  92. package/dist/components/craft-filter-bar.cjs.map +1 -0
  93. package/dist/components/craft-filter-bar.d.cts +18 -0
  94. package/dist/components/craft-filter-bar.d.ts +18 -0
  95. package/dist/components/craft-filter-bar.js +52 -0
  96. package/dist/components/craft-filter-bar.js.map +1 -0
  97. package/dist/components/craft-form-builder.cjs +330 -0
  98. package/dist/components/craft-form-builder.cjs.map +1 -0
  99. package/dist/components/craft-form-builder.d.cts +57 -0
  100. package/dist/components/craft-form-builder.d.ts +57 -0
  101. package/dist/components/craft-form-builder.js +301 -0
  102. package/dist/components/craft-form-builder.js.map +1 -0
  103. package/dist/components/craft-form-field.cjs +301 -0
  104. package/dist/components/craft-form-field.cjs.map +1 -0
  105. package/dist/components/craft-form-field.d.cts +30 -0
  106. package/dist/components/craft-form-field.d.ts +30 -0
  107. package/dist/components/craft-form-field.js +280 -0
  108. package/dist/components/craft-form-field.js.map +1 -0
  109. package/dist/components/craft-form.cjs +114 -0
  110. package/dist/components/craft-form.cjs.map +1 -0
  111. package/dist/components/craft-form.d.cts +27 -0
  112. package/dist/components/craft-form.d.ts +27 -0
  113. package/dist/components/craft-form.js +80 -0
  114. package/dist/components/craft-form.js.map +1 -0
  115. package/dist/components/craft-icon.cjs +102 -0
  116. package/dist/components/craft-icon.cjs.map +1 -0
  117. package/dist/components/craft-icon.d.cts +19 -0
  118. package/dist/components/craft-icon.d.ts +19 -0
  119. package/dist/components/craft-icon.js +67 -0
  120. package/dist/components/craft-icon.js.map +1 -0
  121. package/dist/components/craft-input.cjs +78 -0
  122. package/dist/components/craft-input.cjs.map +1 -0
  123. package/dist/components/craft-input.d.cts +19 -0
  124. package/dist/components/craft-input.d.ts +19 -0
  125. package/dist/components/craft-input.js +44 -0
  126. package/dist/components/craft-input.js.map +1 -0
  127. package/dist/components/craft-link.cjs +70 -0
  128. package/dist/components/craft-link.cjs.map +1 -0
  129. package/dist/components/craft-link.d.cts +14 -0
  130. package/dist/components/craft-link.d.ts +14 -0
  131. package/dist/components/craft-link.js +36 -0
  132. package/dist/components/craft-link.js.map +1 -0
  133. package/dist/components/craft-loading-state.cjs +64 -0
  134. package/dist/components/craft-loading-state.cjs.map +1 -0
  135. package/dist/components/craft-loading-state.d.cts +13 -0
  136. package/dist/components/craft-loading-state.d.ts +13 -0
  137. package/dist/components/craft-loading-state.js +40 -0
  138. package/dist/components/craft-loading-state.js.map +1 -0
  139. package/dist/components/craft-modal.cjs +174 -0
  140. package/dist/components/craft-modal.cjs.map +1 -0
  141. package/dist/components/craft-modal.d.cts +19 -0
  142. package/dist/components/craft-modal.d.ts +19 -0
  143. package/dist/components/craft-modal.js +140 -0
  144. package/dist/components/craft-modal.js.map +1 -0
  145. package/dist/components/craft-number-input.cjs +63 -0
  146. package/dist/components/craft-number-input.cjs.map +1 -0
  147. package/dist/components/craft-number-input.d.cts +12 -0
  148. package/dist/components/craft-number-input.d.ts +12 -0
  149. package/dist/components/craft-number-input.js +29 -0
  150. package/dist/components/craft-number-input.js.map +1 -0
  151. package/dist/components/craft-pagination.cjs +130 -0
  152. package/dist/components/craft-pagination.cjs.map +1 -0
  153. package/dist/components/craft-pagination.d.cts +19 -0
  154. package/dist/components/craft-pagination.d.ts +19 -0
  155. package/dist/components/craft-pagination.js +106 -0
  156. package/dist/components/craft-pagination.js.map +1 -0
  157. package/dist/components/craft-popover.cjs +123 -0
  158. package/dist/components/craft-popover.cjs.map +1 -0
  159. package/dist/components/craft-popover.d.cts +20 -0
  160. package/dist/components/craft-popover.d.ts +20 -0
  161. package/dist/components/craft-popover.js +89 -0
  162. package/dist/components/craft-popover.js.map +1 -0
  163. package/dist/components/craft-select.cjs +84 -0
  164. package/dist/components/craft-select.cjs.map +1 -0
  165. package/dist/components/craft-select.d.cts +12 -0
  166. package/dist/components/craft-select.d.ts +12 -0
  167. package/dist/components/craft-select.js +50 -0
  168. package/dist/components/craft-select.js.map +1 -0
  169. package/dist/components/craft-skeleton.cjs +45 -0
  170. package/dist/components/craft-skeleton.cjs.map +1 -0
  171. package/dist/components/craft-skeleton.d.cts +10 -0
  172. package/dist/components/craft-skeleton.d.ts +10 -0
  173. package/dist/components/craft-skeleton.js +21 -0
  174. package/dist/components/craft-skeleton.js.map +1 -0
  175. package/dist/components/craft-stat-card.cjs +67 -0
  176. package/dist/components/craft-stat-card.cjs.map +1 -0
  177. package/dist/components/craft-stat-card.d.cts +17 -0
  178. package/dist/components/craft-stat-card.d.ts +17 -0
  179. package/dist/components/craft-stat-card.js +43 -0
  180. package/dist/components/craft-stat-card.js.map +1 -0
  181. package/dist/components/craft-submit-button.cjs +71 -0
  182. package/dist/components/craft-submit-button.cjs.map +1 -0
  183. package/dist/components/craft-submit-button.d.cts +13 -0
  184. package/dist/components/craft-submit-button.d.ts +13 -0
  185. package/dist/components/craft-submit-button.js +47 -0
  186. package/dist/components/craft-submit-button.js.map +1 -0
  187. package/dist/components/craft-switch.cjs +82 -0
  188. package/dist/components/craft-switch.cjs.map +1 -0
  189. package/dist/components/craft-switch.d.cts +14 -0
  190. package/dist/components/craft-switch.d.ts +14 -0
  191. package/dist/components/craft-switch.js +48 -0
  192. package/dist/components/craft-switch.js.map +1 -0
  193. package/dist/components/craft-table-toolbar.cjs +79 -0
  194. package/dist/components/craft-table-toolbar.cjs.map +1 -0
  195. package/dist/components/craft-table-toolbar.d.cts +19 -0
  196. package/dist/components/craft-table-toolbar.d.ts +19 -0
  197. package/dist/components/craft-table-toolbar.js +55 -0
  198. package/dist/components/craft-table-toolbar.js.map +1 -0
  199. package/dist/components/craft-tabs.cjs +105 -0
  200. package/dist/components/craft-tabs.cjs.map +1 -0
  201. package/dist/components/craft-tabs.d.cts +19 -0
  202. package/dist/components/craft-tabs.d.ts +19 -0
  203. package/dist/components/craft-tabs.js +71 -0
  204. package/dist/components/craft-tabs.js.map +1 -0
  205. package/dist/components/craft-textarea.cjs +69 -0
  206. package/dist/components/craft-textarea.cjs.map +1 -0
  207. package/dist/components/craft-textarea.d.cts +12 -0
  208. package/dist/components/craft-textarea.d.ts +12 -0
  209. package/dist/components/craft-textarea.js +35 -0
  210. package/dist/components/craft-textarea.js.map +1 -0
  211. package/dist/components/craft-toast.cjs +98 -0
  212. package/dist/components/craft-toast.cjs.map +1 -0
  213. package/dist/components/craft-toast.d.cts +24 -0
  214. package/dist/components/craft-toast.d.ts +24 -0
  215. package/dist/components/craft-toast.js +63 -0
  216. package/dist/components/craft-toast.js.map +1 -0
  217. package/dist/components/craft-tooltip.cjs +75 -0
  218. package/dist/components/craft-tooltip.cjs.map +1 -0
  219. package/dist/components/craft-tooltip.d.cts +13 -0
  220. package/dist/components/craft-tooltip.d.ts +13 -0
  221. package/dist/components/craft-tooltip.js +41 -0
  222. package/dist/components/craft-tooltip.js.map +1 -0
  223. package/dist/components/forms/types.cjs +17 -0
  224. package/dist/components/forms/types.cjs.map +1 -0
  225. package/dist/components/forms/types.d.cts +7 -0
  226. package/dist/components/forms/types.d.ts +7 -0
  227. package/dist/components/forms/types.js +1 -0
  228. package/dist/components/forms/types.js.map +1 -0
  229. package/dist/components/glass-card.cjs +64 -0
  230. package/dist/components/glass-card.cjs.map +1 -0
  231. package/dist/components/glass-card.d.cts +12 -0
  232. package/dist/components/glass-card.d.ts +12 -0
  233. package/dist/components/glass-card.js +40 -0
  234. package/dist/components/glass-card.js.map +1 -0
  235. package/dist/components/layout/app-shell.cjs +49 -0
  236. package/dist/components/layout/app-shell.cjs.map +1 -0
  237. package/dist/components/layout/app-shell.d.cts +10 -0
  238. package/dist/components/layout/app-shell.d.ts +10 -0
  239. package/dist/components/layout/app-shell.js +25 -0
  240. package/dist/components/layout/app-shell.js.map +1 -0
  241. package/dist/components/layout/app-template.cjs +104 -0
  242. package/dist/components/layout/app-template.cjs.map +1 -0
  243. package/dist/components/layout/app-template.d.cts +19 -0
  244. package/dist/components/layout/app-template.d.ts +19 -0
  245. package/dist/components/layout/app-template.js +70 -0
  246. package/dist/components/layout/app-template.js.map +1 -0
  247. package/dist/components/layout/auth-layout.cjs +65 -0
  248. package/dist/components/layout/auth-layout.cjs.map +1 -0
  249. package/dist/components/layout/auth-layout.d.cts +12 -0
  250. package/dist/components/layout/auth-layout.d.ts +12 -0
  251. package/dist/components/layout/auth-layout.js +41 -0
  252. package/dist/components/layout/auth-layout.js.map +1 -0
  253. package/dist/components/layout/breadcrumbs.cjs +39 -0
  254. package/dist/components/layout/breadcrumbs.cjs.map +1 -0
  255. package/dist/components/layout/breadcrumbs.d.cts +13 -0
  256. package/dist/components/layout/breadcrumbs.d.ts +13 -0
  257. package/dist/components/layout/breadcrumbs.js +15 -0
  258. package/dist/components/layout/breadcrumbs.js.map +1 -0
  259. package/dist/components/layout/container.cjs +45 -0
  260. package/dist/components/layout/container.cjs.map +1 -0
  261. package/dist/components/layout/container.d.cts +9 -0
  262. package/dist/components/layout/container.d.ts +9 -0
  263. package/dist/components/layout/container.js +21 -0
  264. package/dist/components/layout/container.js.map +1 -0
  265. package/dist/components/layout/grid.cjs +47 -0
  266. package/dist/components/layout/grid.cjs.map +1 -0
  267. package/dist/components/layout/grid.d.cts +10 -0
  268. package/dist/components/layout/grid.d.ts +10 -0
  269. package/dist/components/layout/grid.js +23 -0
  270. package/dist/components/layout/grid.js.map +1 -0
  271. package/dist/components/layout/layout-config.cjs +78 -0
  272. package/dist/components/layout/layout-config.cjs.map +1 -0
  273. package/dist/components/layout/layout-config.d.cts +92 -0
  274. package/dist/components/layout/layout-config.d.ts +92 -0
  275. package/dist/components/layout/layout-config.js +54 -0
  276. package/dist/components/layout/layout-config.js.map +1 -0
  277. package/dist/components/layout/page-header.cjs +52 -0
  278. package/dist/components/layout/page-header.cjs.map +1 -0
  279. package/dist/components/layout/page-header.d.cts +11 -0
  280. package/dist/components/layout/page-header.d.ts +11 -0
  281. package/dist/components/layout/page-header.js +28 -0
  282. package/dist/components/layout/page-header.js.map +1 -0
  283. package/dist/components/layout/sidebar.cjs +64 -0
  284. package/dist/components/layout/sidebar.cjs.map +1 -0
  285. package/dist/components/layout/sidebar.d.cts +17 -0
  286. package/dist/components/layout/sidebar.d.ts +17 -0
  287. package/dist/components/layout/sidebar.js +40 -0
  288. package/dist/components/layout/sidebar.js.map +1 -0
  289. package/dist/components/layout/top-nav.cjs +49 -0
  290. package/dist/components/layout/top-nav.cjs.map +1 -0
  291. package/dist/components/layout/top-nav.d.cts +11 -0
  292. package/dist/components/layout/top-nav.d.ts +11 -0
  293. package/dist/components/layout/top-nav.js +25 -0
  294. package/dist/components/layout/top-nav.js.map +1 -0
  295. package/dist/components/layout/types.cjs +29 -0
  296. package/dist/components/layout/types.cjs.map +1 -0
  297. package/dist/components/layout/types.d.cts +12 -0
  298. package/dist/components/layout/types.d.ts +12 -0
  299. package/dist/components/layout/types.js +5 -0
  300. package/dist/components/layout/types.js.map +1 -0
  301. package/dist/components/table/types.cjs +17 -0
  302. package/dist/components/table/types.cjs.map +1 -0
  303. package/dist/components/table/types.d.cts +7 -0
  304. package/dist/components/table/types.d.ts +7 -0
  305. package/dist/components/table/types.js +1 -0
  306. package/dist/components/table/types.js.map +1 -0
  307. package/dist/components/theme-switcher.cjs +72 -0
  308. package/dist/components/theme-switcher.cjs.map +1 -0
  309. package/dist/components/theme-switcher.d.cts +9 -0
  310. package/dist/components/theme-switcher.d.ts +9 -0
  311. package/dist/components/theme-switcher.js +48 -0
  312. package/dist/components/theme-switcher.js.map +1 -0
  313. package/dist/craft/components.d.cts +36 -369
  314. package/dist/craft/components.d.ts +36 -369
  315. package/dist/craft/forms.d.cts +7 -101
  316. package/dist/craft/forms.d.ts +7 -101
  317. package/dist/craft/layout.d.cts +12 -170
  318. package/dist/craft/layout.d.ts +12 -170
  319. package/dist/craft/table.d.cts +7 -99
  320. package/dist/craft/table.d.ts +7 -99
  321. package/dist/craft/theme.d.cts +3 -9
  322. package/dist/craft/theme.d.ts +3 -9
  323. package/dist/index.d.cts +50 -6
  324. package/dist/index.d.ts +50 -6
  325. package/dist/styles.css +31 -0
  326. package/dist/utils/cn.cjs +31 -0
  327. package/dist/utils/cn.cjs.map +1 -0
  328. package/dist/utils/cn.d.cts +3 -0
  329. package/dist/utils/cn.d.ts +3 -0
  330. package/dist/utils/cn.js +7 -0
  331. package/dist/utils/cn.js.map +1 -0
  332. package/package.json +1 -1
@@ -1,170 +1,12 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import * as React from 'react';
3
-
4
- type AppShellProps = React.HTMLAttributes<HTMLDivElement> & {
5
- sidebar?: React.ReactNode;
6
- topNav?: React.ReactNode;
7
- };
8
- declare function AppShell({ className, sidebar, topNav, children, ...props }: AppShellProps): react_jsx_runtime.JSX.Element;
9
-
10
- type LayoutIconName = string;
11
- type LayoutBreadcrumbItem = {
12
- label: string;
13
- href?: string;
14
- };
15
- type LayoutSidebarItem = {
16
- label: string;
17
- href?: string;
18
- icon?: LayoutIconName;
19
- active?: boolean;
20
- };
21
- type LayoutConfig = {
22
- sidebar?: {
23
- title?: string;
24
- items: LayoutSidebarItem[];
25
- footerText?: string;
26
- };
27
- header?: {
28
- title?: string;
29
- breadcrumb?: LayoutBreadcrumbItem[];
30
- };
31
- };
32
- declare const layoutConfigSchema: {
33
- readonly $schema: "https://json-schema.org/draft/2020-12/schema";
34
- readonly title: "Nextcraft UI Layout Config";
35
- readonly type: "object";
36
- readonly additionalProperties: false;
37
- readonly properties: {
38
- readonly sidebar: {
39
- readonly type: "object";
40
- readonly additionalProperties: false;
41
- readonly properties: {
42
- readonly title: {
43
- readonly type: "string";
44
- };
45
- readonly footerText: {
46
- readonly type: "string";
47
- };
48
- readonly items: {
49
- readonly type: "array";
50
- readonly items: {
51
- readonly type: "object";
52
- readonly additionalProperties: false;
53
- readonly properties: {
54
- readonly label: {
55
- readonly type: "string";
56
- };
57
- readonly href: {
58
- readonly type: "string";
59
- };
60
- readonly icon: {
61
- readonly type: "string";
62
- };
63
- readonly active: {
64
- readonly type: "boolean";
65
- };
66
- };
67
- readonly required: readonly ["label"];
68
- };
69
- };
70
- };
71
- readonly required: readonly ["items"];
72
- };
73
- readonly header: {
74
- readonly type: "object";
75
- readonly additionalProperties: false;
76
- readonly properties: {
77
- readonly title: {
78
- readonly type: "string";
79
- };
80
- readonly breadcrumb: {
81
- readonly type: "array";
82
- readonly items: {
83
- readonly type: "object";
84
- readonly additionalProperties: false;
85
- readonly properties: {
86
- readonly label: {
87
- readonly type: "string";
88
- };
89
- readonly href: {
90
- readonly type: "string";
91
- };
92
- };
93
- readonly required: readonly ["label"];
94
- };
95
- };
96
- };
97
- };
98
- };
99
- };
100
-
101
- type AppTemplateProps = {
102
- config: LayoutConfig;
103
- headerActions?: React.ReactNode;
104
- headerBreadcrumb?: React.ReactNode;
105
- sidebarFooter?: React.ReactNode;
106
- resolveIcon?: (name: string) => React.ReactNode;
107
- icons?: Record<string, React.ReactNode>;
108
- activePath?: string;
109
- getActivePath?: () => string | undefined;
110
- lucideFallback?: boolean;
111
- children: React.ReactNode;
112
- };
113
- declare function AppTemplate({ config, headerActions, headerBreadcrumb, sidebarFooter, resolveIcon, icons, activePath, getActivePath, lucideFallback, children, }: AppTemplateProps): react_jsx_runtime.JSX.Element;
114
-
115
- type SidebarItem = {
116
- label: React.ReactNode;
117
- href?: string;
118
- icon?: React.ReactNode;
119
- active?: boolean;
120
- };
121
- type SidebarProps = React.HTMLAttributes<HTMLElement> & {
122
- title?: React.ReactNode;
123
- items: SidebarItem[];
124
- footer?: React.ReactNode;
125
- };
126
- declare function Sidebar({ className, title, items, footer, ...props }: SidebarProps): react_jsx_runtime.JSX.Element;
127
-
128
- type TopNavProps = React.HTMLAttributes<HTMLElement> & {
129
- title?: React.ReactNode;
130
- actions?: React.ReactNode;
131
- breadcrumb?: React.ReactNode;
132
- };
133
- declare function TopNav({ className, title, actions, breadcrumb, ...props }: TopNavProps): react_jsx_runtime.JSX.Element;
134
-
135
- type PageHeaderProps = React.HTMLAttributes<HTMLDivElement> & {
136
- title: React.ReactNode;
137
- description?: React.ReactNode;
138
- actions?: React.ReactNode;
139
- };
140
- declare function PageHeader({ className, title, description, actions, ...props }: PageHeaderProps): react_jsx_runtime.JSX.Element;
141
-
142
- type BreadcrumbItem = {
143
- label: React.ReactNode;
144
- href?: string;
145
- };
146
- type BreadcrumbsProps = React.HTMLAttributes<HTMLElement> & {
147
- items: BreadcrumbItem[];
148
- };
149
- declare function Breadcrumbs({ className, items, ...props }: BreadcrumbsProps): react_jsx_runtime.JSX.Element;
150
-
151
- type AuthLayoutProps = React.HTMLAttributes<HTMLDivElement> & {
152
- title?: React.ReactNode;
153
- description?: React.ReactNode;
154
- footer?: React.ReactNode;
155
- graphic?: React.ReactNode;
156
- };
157
- declare function AuthLayout({ className, title, description, footer, graphic, children, ...props }: AuthLayoutProps): react_jsx_runtime.JSX.Element;
158
-
159
- type ContainerProps = React.HTMLAttributes<HTMLDivElement> & {
160
- size?: "sm" | "md" | "lg" | "xl";
161
- };
162
- declare function Container({ className, size, ...props }: ContainerProps): react_jsx_runtime.JSX.Element;
163
-
164
- type GridProps = React.HTMLAttributes<HTMLDivElement> & {
165
- columns?: 1 | 2 | 3 | 4 | 5 | 6;
166
- gap?: "sm" | "md" | "lg" | "xl";
167
- };
168
- declare function Grid({ className, columns, gap, ...props }: GridProps): react_jsx_runtime.JSX.Element;
169
-
170
- export { AppShell, type AppShellProps, AppTemplate, type AppTemplateProps, AuthLayout, type AuthLayoutProps, type BreadcrumbItem, Breadcrumbs, type BreadcrumbsProps, Container, type ContainerProps, Grid, type GridProps, type LayoutBreadcrumbItem, type LayoutConfig, type LayoutIconName, type LayoutSidebarItem, PageHeader, type PageHeaderProps, Sidebar, type SidebarItem, type SidebarProps, TopNav, type TopNavProps, layoutConfigSchema };
1
+ export { AppShell, AppShellProps } from '../components/layout/app-shell.cjs';
2
+ export { AppTemplate, AppTemplateProps } from '../components/layout/app-template.cjs';
3
+ export { Sidebar, SidebarItem, SidebarProps } from '../components/layout/sidebar.cjs';
4
+ export { TopNav, TopNavProps } from '../components/layout/top-nav.cjs';
5
+ export { PageHeader, PageHeaderProps } from '../components/layout/page-header.cjs';
6
+ export { BreadcrumbItem, Breadcrumbs, BreadcrumbsProps } from '../components/layout/breadcrumbs.cjs';
7
+ export { AuthLayout, AuthLayoutProps } from '../components/layout/auth-layout.cjs';
8
+ export { Container, ContainerProps } from '../components/layout/container.cjs';
9
+ export { Grid, GridProps } from '../components/layout/grid.cjs';
10
+ export { LayoutBreadcrumbItem, LayoutConfig, LayoutIconName, LayoutSidebarItem, layoutConfigSchema } from '../components/layout/layout-config.cjs';
11
+ import 'react/jsx-runtime';
12
+ import 'react';
@@ -1,170 +1,12 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import * as React from 'react';
3
-
4
- type AppShellProps = React.HTMLAttributes<HTMLDivElement> & {
5
- sidebar?: React.ReactNode;
6
- topNav?: React.ReactNode;
7
- };
8
- declare function AppShell({ className, sidebar, topNav, children, ...props }: AppShellProps): react_jsx_runtime.JSX.Element;
9
-
10
- type LayoutIconName = string;
11
- type LayoutBreadcrumbItem = {
12
- label: string;
13
- href?: string;
14
- };
15
- type LayoutSidebarItem = {
16
- label: string;
17
- href?: string;
18
- icon?: LayoutIconName;
19
- active?: boolean;
20
- };
21
- type LayoutConfig = {
22
- sidebar?: {
23
- title?: string;
24
- items: LayoutSidebarItem[];
25
- footerText?: string;
26
- };
27
- header?: {
28
- title?: string;
29
- breadcrumb?: LayoutBreadcrumbItem[];
30
- };
31
- };
32
- declare const layoutConfigSchema: {
33
- readonly $schema: "https://json-schema.org/draft/2020-12/schema";
34
- readonly title: "Nextcraft UI Layout Config";
35
- readonly type: "object";
36
- readonly additionalProperties: false;
37
- readonly properties: {
38
- readonly sidebar: {
39
- readonly type: "object";
40
- readonly additionalProperties: false;
41
- readonly properties: {
42
- readonly title: {
43
- readonly type: "string";
44
- };
45
- readonly footerText: {
46
- readonly type: "string";
47
- };
48
- readonly items: {
49
- readonly type: "array";
50
- readonly items: {
51
- readonly type: "object";
52
- readonly additionalProperties: false;
53
- readonly properties: {
54
- readonly label: {
55
- readonly type: "string";
56
- };
57
- readonly href: {
58
- readonly type: "string";
59
- };
60
- readonly icon: {
61
- readonly type: "string";
62
- };
63
- readonly active: {
64
- readonly type: "boolean";
65
- };
66
- };
67
- readonly required: readonly ["label"];
68
- };
69
- };
70
- };
71
- readonly required: readonly ["items"];
72
- };
73
- readonly header: {
74
- readonly type: "object";
75
- readonly additionalProperties: false;
76
- readonly properties: {
77
- readonly title: {
78
- readonly type: "string";
79
- };
80
- readonly breadcrumb: {
81
- readonly type: "array";
82
- readonly items: {
83
- readonly type: "object";
84
- readonly additionalProperties: false;
85
- readonly properties: {
86
- readonly label: {
87
- readonly type: "string";
88
- };
89
- readonly href: {
90
- readonly type: "string";
91
- };
92
- };
93
- readonly required: readonly ["label"];
94
- };
95
- };
96
- };
97
- };
98
- };
99
- };
100
-
101
- type AppTemplateProps = {
102
- config: LayoutConfig;
103
- headerActions?: React.ReactNode;
104
- headerBreadcrumb?: React.ReactNode;
105
- sidebarFooter?: React.ReactNode;
106
- resolveIcon?: (name: string) => React.ReactNode;
107
- icons?: Record<string, React.ReactNode>;
108
- activePath?: string;
109
- getActivePath?: () => string | undefined;
110
- lucideFallback?: boolean;
111
- children: React.ReactNode;
112
- };
113
- declare function AppTemplate({ config, headerActions, headerBreadcrumb, sidebarFooter, resolveIcon, icons, activePath, getActivePath, lucideFallback, children, }: AppTemplateProps): react_jsx_runtime.JSX.Element;
114
-
115
- type SidebarItem = {
116
- label: React.ReactNode;
117
- href?: string;
118
- icon?: React.ReactNode;
119
- active?: boolean;
120
- };
121
- type SidebarProps = React.HTMLAttributes<HTMLElement> & {
122
- title?: React.ReactNode;
123
- items: SidebarItem[];
124
- footer?: React.ReactNode;
125
- };
126
- declare function Sidebar({ className, title, items, footer, ...props }: SidebarProps): react_jsx_runtime.JSX.Element;
127
-
128
- type TopNavProps = React.HTMLAttributes<HTMLElement> & {
129
- title?: React.ReactNode;
130
- actions?: React.ReactNode;
131
- breadcrumb?: React.ReactNode;
132
- };
133
- declare function TopNav({ className, title, actions, breadcrumb, ...props }: TopNavProps): react_jsx_runtime.JSX.Element;
134
-
135
- type PageHeaderProps = React.HTMLAttributes<HTMLDivElement> & {
136
- title: React.ReactNode;
137
- description?: React.ReactNode;
138
- actions?: React.ReactNode;
139
- };
140
- declare function PageHeader({ className, title, description, actions, ...props }: PageHeaderProps): react_jsx_runtime.JSX.Element;
141
-
142
- type BreadcrumbItem = {
143
- label: React.ReactNode;
144
- href?: string;
145
- };
146
- type BreadcrumbsProps = React.HTMLAttributes<HTMLElement> & {
147
- items: BreadcrumbItem[];
148
- };
149
- declare function Breadcrumbs({ className, items, ...props }: BreadcrumbsProps): react_jsx_runtime.JSX.Element;
150
-
151
- type AuthLayoutProps = React.HTMLAttributes<HTMLDivElement> & {
152
- title?: React.ReactNode;
153
- description?: React.ReactNode;
154
- footer?: React.ReactNode;
155
- graphic?: React.ReactNode;
156
- };
157
- declare function AuthLayout({ className, title, description, footer, graphic, children, ...props }: AuthLayoutProps): react_jsx_runtime.JSX.Element;
158
-
159
- type ContainerProps = React.HTMLAttributes<HTMLDivElement> & {
160
- size?: "sm" | "md" | "lg" | "xl";
161
- };
162
- declare function Container({ className, size, ...props }: ContainerProps): react_jsx_runtime.JSX.Element;
163
-
164
- type GridProps = React.HTMLAttributes<HTMLDivElement> & {
165
- columns?: 1 | 2 | 3 | 4 | 5 | 6;
166
- gap?: "sm" | "md" | "lg" | "xl";
167
- };
168
- declare function Grid({ className, columns, gap, ...props }: GridProps): react_jsx_runtime.JSX.Element;
169
-
170
- export { AppShell, type AppShellProps, AppTemplate, type AppTemplateProps, AuthLayout, type AuthLayoutProps, type BreadcrumbItem, Breadcrumbs, type BreadcrumbsProps, Container, type ContainerProps, Grid, type GridProps, type LayoutBreadcrumbItem, type LayoutConfig, type LayoutIconName, type LayoutSidebarItem, PageHeader, type PageHeaderProps, Sidebar, type SidebarItem, type SidebarProps, TopNav, type TopNavProps, layoutConfigSchema };
1
+ export { AppShell, AppShellProps } from '../components/layout/app-shell.js';
2
+ export { AppTemplate, AppTemplateProps } from '../components/layout/app-template.js';
3
+ export { Sidebar, SidebarItem, SidebarProps } from '../components/layout/sidebar.js';
4
+ export { TopNav, TopNavProps } from '../components/layout/top-nav.js';
5
+ export { PageHeader, PageHeaderProps } from '../components/layout/page-header.js';
6
+ export { BreadcrumbItem, Breadcrumbs, BreadcrumbsProps } from '../components/layout/breadcrumbs.js';
7
+ export { AuthLayout, AuthLayoutProps } from '../components/layout/auth-layout.js';
8
+ export { Container, ContainerProps } from '../components/layout/container.js';
9
+ export { Grid, GridProps } from '../components/layout/grid.js';
10
+ export { LayoutBreadcrumbItem, LayoutConfig, LayoutIconName, LayoutSidebarItem, layoutConfigSchema } from '../components/layout/layout-config.js';
11
+ import 'react/jsx-runtime';
12
+ import 'react';
@@ -1,99 +1,7 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import * as React from 'react';
3
- import { a as ThemeName } from '../theme-context-EVI9PfKv.cjs';
4
-
5
- type CraftFilterBarProps = {
6
- title?: React.ReactNode;
7
- description?: React.ReactNode;
8
- searchValue?: string;
9
- onSearchChange?: (value: string) => void;
10
- searchPlaceholder?: string;
11
- actions?: React.ReactNode;
12
- filters?: React.ReactNode;
13
- tone?: ThemeName;
14
- className?: string;
15
- };
16
- declare function CraftFilterBar({ title, description, searchValue, onSearchChange, searchPlaceholder, actions, filters, tone, className, }: CraftFilterBarProps): react_jsx_runtime.JSX.Element;
17
-
18
- type CraftTableToolbarProps = {
19
- title?: React.ReactNode;
20
- description?: React.ReactNode;
21
- searchValue?: string;
22
- onSearchChange?: (value: string) => void;
23
- searchPlaceholder?: string;
24
- actions?: React.ReactNode;
25
- filters?: React.ReactNode;
26
- bulkActions?: React.ReactNode;
27
- tone?: ThemeName;
28
- className?: string;
29
- };
30
- declare function CraftTableToolbar({ title, description, searchValue, onSearchChange, searchPlaceholder, actions, filters, bulkActions, tone, className, }: CraftTableToolbarProps): react_jsx_runtime.JSX.Element;
31
-
32
- type CraftDataTableColumn<T> = {
33
- id: string;
34
- header: React.ReactNode;
35
- accessor?: keyof T | ((row: T) => unknown);
36
- cell?: (row: T) => React.ReactNode;
37
- sortable?: boolean;
38
- filterable?: boolean;
39
- width?: string | number;
40
- align?: "left" | "center" | "right";
41
- hidden?: boolean;
42
- headerClassName?: string;
43
- cellClassName?: string;
44
- };
45
- type CraftDataTableSort = {
46
- id: string;
47
- desc?: boolean;
48
- };
49
- type CraftDataTableProps<T> = {
50
- data: T[];
51
- columns: CraftDataTableColumn<T>[];
52
- tone?: ThemeName;
53
- className?: string;
54
- loading?: boolean;
55
- emptyState?: React.ReactNode;
56
- toolbar?: React.ReactNode;
57
- enableSorting?: boolean;
58
- enableFiltering?: boolean;
59
- enableColumnVisibility?: boolean;
60
- enableRowSelection?: boolean;
61
- enablePagination?: boolean;
62
- showGlobalFilter?: boolean;
63
- manualSorting?: boolean;
64
- manualFiltering?: boolean;
65
- manualPagination?: boolean;
66
- sortBy?: CraftDataTableSort | null;
67
- onSortChange?: (sort: CraftDataTableSort | null) => void;
68
- filters?: Record<string, string>;
69
- onFiltersChange?: (filters: Record<string, string>) => void;
70
- globalFilter?: string;
71
- onGlobalFilterChange?: (value: string) => void;
72
- columnVisibility?: Record<string, boolean>;
73
- onColumnVisibilityChange?: (visibility: Record<string, boolean>) => void;
74
- selectedRowIds?: Record<string, boolean>;
75
- onRowSelectionChange?: (selection: Record<string, boolean>) => void;
76
- getRowId?: (row: T, index: number) => string;
77
- pageIndex?: number;
78
- pageSize?: number;
79
- pageCount?: number;
80
- onPageChange?: (pageIndex: number) => void;
81
- onPageSizeChange?: (size: number) => void;
82
- };
83
- declare function CraftDataTable<T>({ data, columns, tone, className, loading, emptyState, toolbar, enableSorting, enableFiltering, enableColumnVisibility, enableRowSelection, enablePagination, showGlobalFilter, manualSorting, manualFiltering, manualPagination, sortBy, onSortChange, filters, onFiltersChange, globalFilter, onGlobalFilterChange, columnVisibility, onColumnVisibilityChange, selectedRowIds, onRowSelectionChange, getRowId, pageIndex, pageSize, pageCount, onPageChange, onPageSizeChange, }: CraftDataTableProps<T>): react_jsx_runtime.JSX.Element;
84
-
85
- type CraftPaginationProps = {
86
- pageIndex: number;
87
- pageCount: number;
88
- onPageChange: (page: number) => void;
89
- canPrevious?: boolean;
90
- canNext?: boolean;
91
- pageSize?: number;
92
- pageSizeOptions?: number[];
93
- onPageSizeChange?: (size: number) => void;
94
- tone?: ThemeName;
95
- className?: string;
96
- };
97
- declare function CraftPagination({ pageIndex, pageCount, onPageChange, canPrevious, canNext, pageSize, pageSizeOptions, onPageSizeChange, tone, className, }: CraftPaginationProps): react_jsx_runtime.JSX.Element;
98
-
99
- export { CraftDataTable, type CraftDataTableColumn, type CraftDataTableProps, type CraftDataTableSort, CraftFilterBar, type CraftFilterBarProps, CraftPagination, type CraftPaginationProps, CraftTableToolbar, type CraftTableToolbarProps };
1
+ export { CraftDataTable, CraftDataTableColumn, CraftDataTableProps, CraftDataTableSort } from '../components/craft-data-table.cjs';
2
+ export { CraftPagination, CraftPaginationProps } from '../components/craft-pagination.cjs';
3
+ export { CraftFilterBar, CraftFilterBarProps } from '../components/craft-filter-bar.cjs';
4
+ export { CraftTableToolbar, CraftTableToolbarProps } from '../components/craft-table-toolbar.cjs';
5
+ import 'react/jsx-runtime';
6
+ import 'react';
7
+ import '../theme-context-EVI9PfKv.cjs';
@@ -1,99 +1,7 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import * as React from 'react';
3
- import { a as ThemeName } from '../theme-context-EVI9PfKv.js';
4
-
5
- type CraftFilterBarProps = {
6
- title?: React.ReactNode;
7
- description?: React.ReactNode;
8
- searchValue?: string;
9
- onSearchChange?: (value: string) => void;
10
- searchPlaceholder?: string;
11
- actions?: React.ReactNode;
12
- filters?: React.ReactNode;
13
- tone?: ThemeName;
14
- className?: string;
15
- };
16
- declare function CraftFilterBar({ title, description, searchValue, onSearchChange, searchPlaceholder, actions, filters, tone, className, }: CraftFilterBarProps): react_jsx_runtime.JSX.Element;
17
-
18
- type CraftTableToolbarProps = {
19
- title?: React.ReactNode;
20
- description?: React.ReactNode;
21
- searchValue?: string;
22
- onSearchChange?: (value: string) => void;
23
- searchPlaceholder?: string;
24
- actions?: React.ReactNode;
25
- filters?: React.ReactNode;
26
- bulkActions?: React.ReactNode;
27
- tone?: ThemeName;
28
- className?: string;
29
- };
30
- declare function CraftTableToolbar({ title, description, searchValue, onSearchChange, searchPlaceholder, actions, filters, bulkActions, tone, className, }: CraftTableToolbarProps): react_jsx_runtime.JSX.Element;
31
-
32
- type CraftDataTableColumn<T> = {
33
- id: string;
34
- header: React.ReactNode;
35
- accessor?: keyof T | ((row: T) => unknown);
36
- cell?: (row: T) => React.ReactNode;
37
- sortable?: boolean;
38
- filterable?: boolean;
39
- width?: string | number;
40
- align?: "left" | "center" | "right";
41
- hidden?: boolean;
42
- headerClassName?: string;
43
- cellClassName?: string;
44
- };
45
- type CraftDataTableSort = {
46
- id: string;
47
- desc?: boolean;
48
- };
49
- type CraftDataTableProps<T> = {
50
- data: T[];
51
- columns: CraftDataTableColumn<T>[];
52
- tone?: ThemeName;
53
- className?: string;
54
- loading?: boolean;
55
- emptyState?: React.ReactNode;
56
- toolbar?: React.ReactNode;
57
- enableSorting?: boolean;
58
- enableFiltering?: boolean;
59
- enableColumnVisibility?: boolean;
60
- enableRowSelection?: boolean;
61
- enablePagination?: boolean;
62
- showGlobalFilter?: boolean;
63
- manualSorting?: boolean;
64
- manualFiltering?: boolean;
65
- manualPagination?: boolean;
66
- sortBy?: CraftDataTableSort | null;
67
- onSortChange?: (sort: CraftDataTableSort | null) => void;
68
- filters?: Record<string, string>;
69
- onFiltersChange?: (filters: Record<string, string>) => void;
70
- globalFilter?: string;
71
- onGlobalFilterChange?: (value: string) => void;
72
- columnVisibility?: Record<string, boolean>;
73
- onColumnVisibilityChange?: (visibility: Record<string, boolean>) => void;
74
- selectedRowIds?: Record<string, boolean>;
75
- onRowSelectionChange?: (selection: Record<string, boolean>) => void;
76
- getRowId?: (row: T, index: number) => string;
77
- pageIndex?: number;
78
- pageSize?: number;
79
- pageCount?: number;
80
- onPageChange?: (pageIndex: number) => void;
81
- onPageSizeChange?: (size: number) => void;
82
- };
83
- declare function CraftDataTable<T>({ data, columns, tone, className, loading, emptyState, toolbar, enableSorting, enableFiltering, enableColumnVisibility, enableRowSelection, enablePagination, showGlobalFilter, manualSorting, manualFiltering, manualPagination, sortBy, onSortChange, filters, onFiltersChange, globalFilter, onGlobalFilterChange, columnVisibility, onColumnVisibilityChange, selectedRowIds, onRowSelectionChange, getRowId, pageIndex, pageSize, pageCount, onPageChange, onPageSizeChange, }: CraftDataTableProps<T>): react_jsx_runtime.JSX.Element;
84
-
85
- type CraftPaginationProps = {
86
- pageIndex: number;
87
- pageCount: number;
88
- onPageChange: (page: number) => void;
89
- canPrevious?: boolean;
90
- canNext?: boolean;
91
- pageSize?: number;
92
- pageSizeOptions?: number[];
93
- onPageSizeChange?: (size: number) => void;
94
- tone?: ThemeName;
95
- className?: string;
96
- };
97
- declare function CraftPagination({ pageIndex, pageCount, onPageChange, canPrevious, canNext, pageSize, pageSizeOptions, onPageSizeChange, tone, className, }: CraftPaginationProps): react_jsx_runtime.JSX.Element;
98
-
99
- export { CraftDataTable, type CraftDataTableColumn, type CraftDataTableProps, type CraftDataTableSort, CraftFilterBar, type CraftFilterBarProps, CraftPagination, type CraftPaginationProps, CraftTableToolbar, type CraftTableToolbarProps };
1
+ export { CraftDataTable, CraftDataTableColumn, CraftDataTableProps, CraftDataTableSort } from '../components/craft-data-table.js';
2
+ export { CraftPagination, CraftPaginationProps } from '../components/craft-pagination.js';
3
+ export { CraftFilterBar, CraftFilterBarProps } from '../components/craft-filter-bar.js';
4
+ export { CraftTableToolbar, CraftTableToolbarProps } from '../components/craft-table-toolbar.js';
5
+ import 'react/jsx-runtime';
6
+ import 'react';
7
+ import '../theme-context-EVI9PfKv.js';
@@ -1,10 +1,4 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import * as React from 'react';
1
+ export { ThemeSwitcher, ThemeSwitcherProps } from '../components/theme-switcher.cjs';
3
2
  export { T as ThemeMode, a as ThemeName, b as ThemeProvider, u as useTheme } from '../theme-context-EVI9PfKv.cjs';
4
-
5
- type ThemeSwitcherProps = React.HTMLAttributes<HTMLDivElement> & {
6
- showLabels?: boolean;
7
- };
8
- declare function ThemeSwitcher({ className, showLabels, ...props }: ThemeSwitcherProps): react_jsx_runtime.JSX.Element;
9
-
10
- export { ThemeSwitcher, type ThemeSwitcherProps };
3
+ import 'react/jsx-runtime';
4
+ import 'react';
@@ -1,10 +1,4 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import * as React from 'react';
1
+ export { ThemeSwitcher, ThemeSwitcherProps } from '../components/theme-switcher.js';
3
2
  export { T as ThemeMode, a as ThemeName, b as ThemeProvider, u as useTheme } from '../theme-context-EVI9PfKv.js';
4
-
5
- type ThemeSwitcherProps = React.HTMLAttributes<HTMLDivElement> & {
6
- showLabels?: boolean;
7
- };
8
- declare function ThemeSwitcher({ className, showLabels, ...props }: ThemeSwitcherProps): react_jsx_runtime.JSX.Element;
9
-
10
- export { ThemeSwitcher, type ThemeSwitcherProps };
3
+ import 'react/jsx-runtime';
4
+ import 'react';