@furcrer/fullstack-components 0.1.0

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 (249) hide show
  1. package/README.md +328 -0
  2. package/dist/index.js +2067 -0
  3. package/dist/styles.css +1 -0
  4. package/dist/types/components/containers/Grid/Grid.d.ts +7 -0
  5. package/dist/types/components/containers/Grid/Grid.fixture.d.ts +2 -0
  6. package/dist/types/components/containers/Grid/index.d.ts +2 -0
  7. package/dist/types/components/containers/Stack/Stack.d.ts +7 -0
  8. package/dist/types/components/containers/Stack/Stack.fixture.d.ts +2 -0
  9. package/dist/types/components/containers/Stack/index.d.ts +2 -0
  10. package/dist/types/components/data/CrudExample/CrudExample.d.ts +4 -0
  11. package/dist/types/components/data/CrudExample/CrudExample.preview.d.ts +2 -0
  12. package/dist/types/components/data/CrudExample/index.d.ts +2 -0
  13. package/dist/types/components/data/ResourceTable/ResourceTable.d.ts +12 -0
  14. package/dist/types/components/data/ResourceTable/ResourceTable.preview.d.ts +2 -0
  15. package/dist/types/components/data/ResourceTable/index.d.ts +2 -0
  16. package/dist/types/components/forms/ColorInput/ColorInput.d.ts +5 -0
  17. package/dist/types/components/forms/ColorInput/ColorInput.fixture.d.ts +2 -0
  18. package/dist/types/components/forms/ColorInput/index.d.ts +2 -0
  19. package/dist/types/components/forms/DateInput/DateInput.d.ts +5 -0
  20. package/dist/types/components/forms/DateInput/DateInput.fixture.d.ts +2 -0
  21. package/dist/types/components/forms/DateInput/index.d.ts +2 -0
  22. package/dist/types/components/forms/FileInput/FileInput.d.ts +4 -0
  23. package/dist/types/components/forms/FileInput/FileInput.fixture.d.ts +2 -0
  24. package/dist/types/components/forms/FileInput/index.d.ts +2 -0
  25. package/dist/types/components/forms/NumberInput/NumberInput.d.ts +4 -0
  26. package/dist/types/components/forms/NumberInput/NumberInput.fixture.d.ts +2 -0
  27. package/dist/types/components/forms/NumberInput/index.d.ts +2 -0
  28. package/dist/types/components/forms/PasswordInput/PasswordInput.d.ts +4 -0
  29. package/dist/types/components/forms/PasswordInput/PasswordInput.fixture.d.ts +2 -0
  30. package/dist/types/components/forms/PasswordInput/index.d.ts +2 -0
  31. package/dist/types/components/forms/RadioGroup/RadioGroup.d.ts +13 -0
  32. package/dist/types/components/forms/RadioGroup/RadioGroup.fixture.d.ts +2 -0
  33. package/dist/types/components/forms/RadioGroup/index.d.ts +2 -0
  34. package/dist/types/components/forms/SearchInput/SearchInput.d.ts +4 -0
  35. package/dist/types/components/forms/SearchInput/SearchInput.fixture.d.ts +2 -0
  36. package/dist/types/components/forms/SearchInput/index.d.ts +2 -0
  37. package/dist/types/components/forms/Slider/Slider.d.ts +5 -0
  38. package/dist/types/components/forms/Slider/Slider.fixture.d.ts +2 -0
  39. package/dist/types/components/forms/Slider/index.d.ts +2 -0
  40. package/dist/types/components/primitives/Accordion/Accordion.d.ts +10 -0
  41. package/dist/types/components/primitives/Accordion/Accordion.fixture.d.ts +2 -0
  42. package/dist/types/components/primitives/Accordion/index.d.ts +2 -0
  43. package/dist/types/components/primitives/Alert/Alert.d.ts +6 -0
  44. package/dist/types/components/primitives/Alert/Alert.fixture.d.ts +2 -0
  45. package/dist/types/components/primitives/Alert/index.d.ts +2 -0
  46. package/dist/types/components/primitives/Avatar/Avatar.d.ts +8 -0
  47. package/dist/types/components/primitives/Avatar/Avatar.fixture.d.ts +2 -0
  48. package/dist/types/components/primitives/Avatar/index.d.ts +2 -0
  49. package/dist/types/components/primitives/Badge/Badge.d.ts +3 -0
  50. package/dist/types/components/primitives/Badge/Badge.fixture.d.ts +3 -0
  51. package/dist/types/components/primitives/Badge/Badge.types.d.ts +9 -0
  52. package/dist/types/components/primitives/Badge/index.d.ts +2 -0
  53. package/dist/types/components/primitives/Button/Button.d.ts +6 -0
  54. package/dist/types/components/primitives/Button/Button.fixture.d.ts +3 -0
  55. package/dist/types/components/primitives/Button/Button.types.d.ts +15 -0
  56. package/dist/types/components/primitives/Button/index.d.ts +2 -0
  57. package/dist/types/components/primitives/Card/Card.d.ts +3 -0
  58. package/dist/types/components/primitives/Card/Card.fixture.d.ts +3 -0
  59. package/dist/types/components/primitives/Card/Card.types.d.ts +9 -0
  60. package/dist/types/components/primitives/Card/index.d.ts +2 -0
  61. package/dist/types/components/primitives/Carousel/Carousel.d.ts +7 -0
  62. package/dist/types/components/primitives/Carousel/Carousel.fixture.d.ts +2 -0
  63. package/dist/types/components/primitives/Carousel/index.d.ts +2 -0
  64. package/dist/types/components/primitives/Checkbox/Checkbox.d.ts +3 -0
  65. package/dist/types/components/primitives/Checkbox/Checkbox.fixture.d.ts +3 -0
  66. package/dist/types/components/primitives/Checkbox/Checkbox.types.d.ts +5 -0
  67. package/dist/types/components/primitives/Checkbox/index.d.ts +2 -0
  68. package/dist/types/components/primitives/Combobox/Combobox.d.ts +14 -0
  69. package/dist/types/components/primitives/Combobox/Combobox.fixture.d.ts +2 -0
  70. package/dist/types/components/primitives/Combobox/index.d.ts +2 -0
  71. package/dist/types/components/primitives/CommandPalette/CommandPalette.d.ts +14 -0
  72. package/dist/types/components/primitives/CommandPalette/CommandPalette.fixture.d.ts +2 -0
  73. package/dist/types/components/primitives/CommandPalette/index.d.ts +2 -0
  74. package/dist/types/components/primitives/ContextMenu/ContextMenu.d.ts +11 -0
  75. package/dist/types/components/primitives/ContextMenu/ContextMenu.fixture.d.ts +2 -0
  76. package/dist/types/components/primitives/ContextMenu/index.d.ts +2 -0
  77. package/dist/types/components/primitives/DatePicker/DatePicker.d.ts +8 -0
  78. package/dist/types/components/primitives/DatePicker/DatePicker.fixture.d.ts +2 -0
  79. package/dist/types/components/primitives/DatePicker/index.d.ts +2 -0
  80. package/dist/types/components/primitives/Drawer/Drawer.d.ts +9 -0
  81. package/dist/types/components/primitives/Drawer/Drawer.fixture.d.ts +2 -0
  82. package/dist/types/components/primitives/Drawer/index.d.ts +2 -0
  83. package/dist/types/components/primitives/DropdownMenu/DropdownMenu.d.ts +11 -0
  84. package/dist/types/components/primitives/DropdownMenu/DropdownMenu.fixture.d.ts +2 -0
  85. package/dist/types/components/primitives/DropdownMenu/index.d.ts +2 -0
  86. package/dist/types/components/primitives/EmptyState/EmptyState.d.ts +3 -0
  87. package/dist/types/components/primitives/EmptyState/EmptyState.fixture.d.ts +3 -0
  88. package/dist/types/components/primitives/EmptyState/EmptyState.types.d.ts +9 -0
  89. package/dist/types/components/primitives/EmptyState/index.d.ts +2 -0
  90. package/dist/types/components/primitives/ErrorState/ErrorState.d.ts +3 -0
  91. package/dist/types/components/primitives/ErrorState/ErrorState.fixture.d.ts +3 -0
  92. package/dist/types/components/primitives/ErrorState/ErrorState.types.d.ts +9 -0
  93. package/dist/types/components/primitives/ErrorState/index.d.ts +2 -0
  94. package/dist/types/components/primitives/FileUpload/FileUpload.d.ts +8 -0
  95. package/dist/types/components/primitives/FileUpload/FileUpload.fixture.d.ts +2 -0
  96. package/dist/types/components/primitives/FileUpload/index.d.ts +2 -0
  97. package/dist/types/components/primitives/FormField/FormField.d.ts +3 -0
  98. package/dist/types/components/primitives/FormField/FormField.fixture.d.ts +3 -0
  99. package/dist/types/components/primitives/FormField/FormField.types.d.ts +11 -0
  100. package/dist/types/components/primitives/FormField/index.d.ts +2 -0
  101. package/dist/types/components/primitives/Heading/Heading.d.ts +6 -0
  102. package/dist/types/components/primitives/Heading/Heading.fixture.d.ts +2 -0
  103. package/dist/types/components/primitives/Heading/index.d.ts +2 -0
  104. package/dist/types/components/primitives/IconButton/IconButton.d.ts +3 -0
  105. package/dist/types/components/primitives/IconButton/IconButton.fixture.d.ts +3 -0
  106. package/dist/types/components/primitives/IconButton/IconButton.types.d.ts +13 -0
  107. package/dist/types/components/primitives/IconButton/index.d.ts +2 -0
  108. package/dist/types/components/primitives/Input/Input.d.ts +3 -0
  109. package/dist/types/components/primitives/Input/Input.fixture.d.ts +3 -0
  110. package/dist/types/components/primitives/Input/Input.types.d.ts +5 -0
  111. package/dist/types/components/primitives/Input/index.d.ts +2 -0
  112. package/dist/types/components/primitives/Label/Label.d.ts +3 -0
  113. package/dist/types/components/primitives/Label/Label.fixture.d.ts +3 -0
  114. package/dist/types/components/primitives/Label/Label.types.d.ts +7 -0
  115. package/dist/types/components/primitives/Label/index.d.ts +2 -0
  116. package/dist/types/components/primitives/Link/Link.d.ts +5 -0
  117. package/dist/types/components/primitives/Link/Link.fixture.d.ts +2 -0
  118. package/dist/types/components/primitives/Link/index.d.ts +2 -0
  119. package/dist/types/components/primitives/LoadingState/LoadingState.d.ts +3 -0
  120. package/dist/types/components/primitives/LoadingState/LoadingState.fixture.d.ts +3 -0
  121. package/dist/types/components/primitives/LoadingState/LoadingState.types.d.ts +7 -0
  122. package/dist/types/components/primitives/LoadingState/index.d.ts +2 -0
  123. package/dist/types/components/primitives/Menubar/Menubar.d.ts +9 -0
  124. package/dist/types/components/primitives/Menubar/Menubar.fixture.d.ts +2 -0
  125. package/dist/types/components/primitives/Menubar/index.d.ts +2 -0
  126. package/dist/types/components/primitives/Modal/Modal.d.ts +3 -0
  127. package/dist/types/components/primitives/Modal/Modal.fixture.d.ts +3 -0
  128. package/dist/types/components/primitives/Modal/Modal.types.d.ts +13 -0
  129. package/dist/types/components/primitives/Modal/index.d.ts +2 -0
  130. package/dist/types/components/primitives/MultiSelect/MultiSelect.d.ts +13 -0
  131. package/dist/types/components/primitives/MultiSelect/MultiSelect.fixture.d.ts +2 -0
  132. package/dist/types/components/primitives/MultiSelect/index.d.ts +2 -0
  133. package/dist/types/components/primitives/NavigationMenu/NavigationMenu.d.ts +10 -0
  134. package/dist/types/components/primitives/NavigationMenu/NavigationMenu.fixture.d.ts +2 -0
  135. package/dist/types/components/primitives/NavigationMenu/index.d.ts +2 -0
  136. package/dist/types/components/primitives/Pagination/Pagination.d.ts +7 -0
  137. package/dist/types/components/primitives/Pagination/Pagination.fixture.d.ts +2 -0
  138. package/dist/types/components/primitives/Pagination/index.d.ts +2 -0
  139. package/dist/types/components/primitives/Popover/Popover.d.ts +8 -0
  140. package/dist/types/components/primitives/Popover/Popover.fixture.d.ts +2 -0
  141. package/dist/types/components/primitives/Popover/index.d.ts +2 -0
  142. package/dist/types/components/primitives/Progress/Progress.d.ts +7 -0
  143. package/dist/types/components/primitives/Progress/Progress.fixture.d.ts +2 -0
  144. package/dist/types/components/primitives/Progress/index.d.ts +2 -0
  145. package/dist/types/components/primitives/Radio/Radio.d.ts +3 -0
  146. package/dist/types/components/primitives/Radio/Radio.fixture.d.ts +3 -0
  147. package/dist/types/components/primitives/Radio/Radio.types.d.ts +5 -0
  148. package/dist/types/components/primitives/Radio/index.d.ts +2 -0
  149. package/dist/types/components/primitives/ResizablePanel/ResizablePanel.d.ts +8 -0
  150. package/dist/types/components/primitives/ResizablePanel/ResizablePanel.fixture.d.ts +2 -0
  151. package/dist/types/components/primitives/ResizablePanel/index.d.ts +2 -0
  152. package/dist/types/components/primitives/SearchBar/SearchBar.d.ts +5 -0
  153. package/dist/types/components/primitives/SearchBar/SearchBar.fixture.d.ts +2 -0
  154. package/dist/types/components/primitives/SearchBar/index.d.ts +2 -0
  155. package/dist/types/components/primitives/Select/Select.d.ts +3 -0
  156. package/dist/types/components/primitives/Select/Select.fixture.d.ts +3 -0
  157. package/dist/types/components/primitives/Select/Select.types.d.ts +15 -0
  158. package/dist/types/components/primitives/Select/index.d.ts +2 -0
  159. package/dist/types/components/primitives/Separator/Separator.d.ts +5 -0
  160. package/dist/types/components/primitives/Separator/Separator.fixture.d.ts +2 -0
  161. package/dist/types/components/primitives/Separator/index.d.ts +2 -0
  162. package/dist/types/components/primitives/Sidebar/Sidebar.d.ts +7 -0
  163. package/dist/types/components/primitives/Sidebar/Sidebar.fixture.d.ts +2 -0
  164. package/dist/types/components/primitives/Sidebar/index.d.ts +2 -0
  165. package/dist/types/components/primitives/Skeleton/Skeleton.d.ts +7 -0
  166. package/dist/types/components/primitives/Skeleton/Skeleton.fixture.d.ts +2 -0
  167. package/dist/types/components/primitives/Skeleton/index.d.ts +2 -0
  168. package/dist/types/components/primitives/Spinner/Spinner.d.ts +6 -0
  169. package/dist/types/components/primitives/Spinner/Spinner.fixture.d.ts +2 -0
  170. package/dist/types/components/primitives/Spinner/index.d.ts +2 -0
  171. package/dist/types/components/primitives/StatCard/StatCard.d.ts +3 -0
  172. package/dist/types/components/primitives/StatCard/StatCard.fixture.d.ts +3 -0
  173. package/dist/types/components/primitives/StatCard/StatCard.preview.d.ts +3 -0
  174. package/dist/types/components/primitives/StatCard/StatCard.types.d.ts +13 -0
  175. package/dist/types/components/primitives/StatCard/index.d.ts +2 -0
  176. package/dist/types/components/primitives/Stepper/Stepper.d.ts +13 -0
  177. package/dist/types/components/primitives/Stepper/Stepper.fixture.d.ts +2 -0
  178. package/dist/types/components/primitives/Stepper/index.d.ts +2 -0
  179. package/dist/types/components/primitives/Switch/Switch.d.ts +3 -0
  180. package/dist/types/components/primitives/Switch/Switch.fixture.d.ts +3 -0
  181. package/dist/types/components/primitives/Switch/Switch.types.d.ts +5 -0
  182. package/dist/types/components/primitives/Switch/index.d.ts +2 -0
  183. package/dist/types/components/primitives/Tabs/Tabs.d.ts +14 -0
  184. package/dist/types/components/primitives/Tabs/Tabs.fixture.d.ts +2 -0
  185. package/dist/types/components/primitives/Tabs/index.d.ts +2 -0
  186. package/dist/types/components/primitives/Text/Text.d.ts +6 -0
  187. package/dist/types/components/primitives/Text/Text.fixture.d.ts +2 -0
  188. package/dist/types/components/primitives/Text/index.d.ts +2 -0
  189. package/dist/types/components/primitives/Textarea/Textarea.d.ts +3 -0
  190. package/dist/types/components/primitives/Textarea/Textarea.fixture.d.ts +3 -0
  191. package/dist/types/components/primitives/Textarea/Textarea.types.d.ts +7 -0
  192. package/dist/types/components/primitives/Textarea/index.d.ts +2 -0
  193. package/dist/types/components/primitives/Toast/Toast.d.ts +8 -0
  194. package/dist/types/components/primitives/Toast/Toast.fixture.d.ts +2 -0
  195. package/dist/types/components/primitives/Toast/index.d.ts +2 -0
  196. package/dist/types/components/primitives/Tooltip/Tooltip.d.ts +6 -0
  197. package/dist/types/components/primitives/Tooltip/Tooltip.fixture.d.ts +2 -0
  198. package/dist/types/components/primitives/Tooltip/index.d.ts +2 -0
  199. package/dist/types/components/primitives/TreeView/TreeView.d.ts +12 -0
  200. package/dist/types/components/primitives/TreeView/TreeView.fixture.d.ts +2 -0
  201. package/dist/types/components/primitives/TreeView/index.d.ts +2 -0
  202. package/dist/types/data/Table.d.ts +13 -0
  203. package/dist/types/data/Table.fixture.d.ts +2 -0
  204. package/dist/types/data/api.d.ts +25 -0
  205. package/dist/types/data/crud.d.ts +20 -0
  206. package/dist/types/data/index.d.ts +9 -0
  207. package/dist/types/data/react-crud.d.ts +6 -0
  208. package/dist/types/data/react-table.d.ts +6 -0
  209. package/dist/types/data/resource-controller.d.ts +28 -0
  210. package/dist/types/data/resource-controller.test.d.ts +1 -0
  211. package/dist/types/data/resource.d.ts +2 -0
  212. package/dist/types/data/table-controller.d.ts +28 -0
  213. package/dist/types/data/types.d.ts +36 -0
  214. package/dist/types/forms/FormActions.d.ts +4 -0
  215. package/dist/types/forms/FormActions.fixture.d.ts +3 -0
  216. package/dist/types/forms/FormField.d.ts +8 -0
  217. package/dist/types/forms/FormField.fixture.d.ts +2 -0
  218. package/dist/types/forms/adapters.d.ts +19 -0
  219. package/dist/types/forms/adapters.fixture.d.ts +2 -0
  220. package/dist/types/forms/field.d.ts +16 -0
  221. package/dist/types/forms/form-store.d.ts +8 -0
  222. package/dist/types/forms/index.d.ts +10 -0
  223. package/dist/types/forms/react-field.d.ts +7 -0
  224. package/dist/types/forms/react-form.d.ts +10 -0
  225. package/dist/types/forms/react-form.fixture.d.ts +2 -0
  226. package/dist/types/forms/react.d.ts +16 -0
  227. package/dist/types/forms/react.fixture.d.ts +2 -0
  228. package/dist/types/forms/resource-form.d.ts +13 -0
  229. package/dist/types/forms/types.d.ts +25 -0
  230. package/dist/types/generated/component-registry.d.ts +2238 -0
  231. package/dist/types/generated/public-exports.d.ts +123 -0
  232. package/dist/types/index.d.ts +17 -0
  233. package/dist/types/theme/index.d.ts +4 -0
  234. package/dist/types/theme/provider.d.ts +20 -0
  235. package/dist/types/theme/theme.d.ts +47 -0
  236. package/dist/types/theme/theme.test.d.ts +1 -0
  237. package/dist/types/tokens/index.d.ts +1 -0
  238. package/dist/types/tokens/tokens.d.ts +55 -0
  239. package/dist/types/tooling/discovery/discover.d.ts +9 -0
  240. package/dist/types/tooling/discovery/discover.test.d.ts +1 -0
  241. package/dist/types/tooling/discovery/generate-exports.d.ts +6 -0
  242. package/dist/types/tooling/discovery/generate-registry.d.ts +6 -0
  243. package/dist/types/tooling/discovery/generate-registry.test.d.ts +1 -0
  244. package/dist/types/tooling/discovery/generate.d.ts +1 -0
  245. package/dist/types/tooling/discovery/vite-plugin.d.ts +8 -0
  246. package/dist/types/types/component.d.ts +12 -0
  247. package/dist/types/types/index.d.ts +2 -0
  248. package/dist/types/types/metadata.d.ts +48 -0
  249. package/package.json +56 -0
@@ -0,0 +1,2 @@
1
+ import type { ComponentPreviewProps } from "../../../types/metadata.js";
2
+ export declare function FileUploadFixture({ props }: ComponentPreviewProps): import("react").JSX.Element;
@@ -0,0 +1,2 @@
1
+ export { FileUpload } from "./FileUpload.js";
2
+ export type { FileUploadProps } from "./FileUpload.js";
@@ -0,0 +1,3 @@
1
+ import type { FormFieldProps } from "./FormField.types.js";
2
+ /** Accessible labeled input field with description and validation messaging. */
3
+ export declare function FormField({ label, description, error, size, id, required, className, ...props }: FormFieldProps): import("react").JSX.Element;
@@ -0,0 +1,3 @@
1
+ import type { ComponentPreviewProps } from "../../../types/metadata.js";
2
+ /** Playground fixture for the FormField primitive. */
3
+ export declare function FormFieldFixture({ props, onEvent }: ComponentPreviewProps): import("react").JSX.Element;
@@ -0,0 +1,11 @@
1
+ import type { InputHTMLAttributes, ReactNode } from "react";
2
+ export interface FormFieldProps extends Omit<InputHTMLAttributes<HTMLInputElement>, "size"> {
3
+ /** Label displayed above the field. */
4
+ label: string;
5
+ /** Optional supporting text displayed below the field. */
6
+ description?: ReactNode;
7
+ /** Validation message displayed below the field. */
8
+ error?: ReactNode;
9
+ /** Visual size of the field. */
10
+ size?: "small" | "medium" | "large";
11
+ }
@@ -0,0 +1,2 @@
1
+ export { FormField } from "./FormField.js";
2
+ export type { FormFieldProps } from "./FormField.types.js";
@@ -0,0 +1,6 @@
1
+ import type { HTMLAttributes, ReactNode } from "react";
2
+ export interface HeadingProps extends HTMLAttributes<HTMLHeadingElement> {
3
+ children: ReactNode;
4
+ level?: 1 | 2 | 3 | 4 | 5 | 6;
5
+ }
6
+ export declare function Heading({ children, level, ...props }: HeadingProps): import("react").JSX.Element;
@@ -0,0 +1,2 @@
1
+ import type { ComponentPreviewProps } from "../../../types/metadata.js";
2
+ export declare function HeadingFixture({ props }: ComponentPreviewProps): import("react").JSX.Element;
@@ -0,0 +1,2 @@
1
+ export { Heading } from "./Heading.js";
2
+ export type { HeadingProps } from "./Heading.js";
@@ -0,0 +1,3 @@
1
+ import type { IconButtonProps } from "./IconButton.types.js";
2
+ /** Compact button primitive for icon-only actions. */
3
+ export declare function IconButton({ icon, label, variant, size, loading, disabled, type, ...props }: IconButtonProps): import("react").JSX.Element;
@@ -0,0 +1,3 @@
1
+ import type { ComponentPreviewProps } from "../../../types/metadata.js";
2
+ /** Playground fixture for the IconButton primitive. */
3
+ export declare function IconButtonFixture({ props, onEvent }: ComponentPreviewProps): import("react").JSX.Element;
@@ -0,0 +1,13 @@
1
+ import type { ButtonHTMLAttributes, ReactNode } from "react";
2
+ export interface IconButtonProps extends Omit<ButtonHTMLAttributes<HTMLButtonElement>, "children"> {
3
+ /** Icon rendered inside the button. */
4
+ icon: ReactNode;
5
+ /** Accessible label describing the action. */
6
+ label: string;
7
+ /** Visual style of the button. */
8
+ variant?: "primary" | "secondary" | "ghost";
9
+ /** Controls the button size. */
10
+ size?: "small" | "medium" | "large";
11
+ /** Shows the loading state. */
12
+ loading?: boolean;
13
+ }
@@ -0,0 +1,2 @@
1
+ export { IconButton } from "./IconButton.js";
2
+ export type { IconButtonProps } from "./IconButton.types.js";
@@ -0,0 +1,3 @@
1
+ import type { InputProps } from "./Input.types.js";
2
+ /** Text input primitive for forms and editable values. */
3
+ export declare function Input({ size, disabled, className, ...props }: InputProps): import("react").JSX.Element;
@@ -0,0 +1,3 @@
1
+ import type { ComponentPreviewProps } from "../../../types/metadata.js";
2
+ /** Playground fixture for the Input primitive. */
3
+ export declare function InputFixture({ props, onEvent }: ComponentPreviewProps): import("react").JSX.Element;
@@ -0,0 +1,5 @@
1
+ import type { InputHTMLAttributes } from "react";
2
+ export type InputProps = Omit<InputHTMLAttributes<HTMLInputElement>, "size" | "children"> & {
3
+ /** Visual size of the input. */
4
+ size?: "small" | "medium" | "large";
5
+ };
@@ -0,0 +1,2 @@
1
+ export { Input } from "./Input.js";
2
+ export type { InputProps } from "./Input.types.js";
@@ -0,0 +1,3 @@
1
+ import type { LabelProps } from "./Label.types.js";
2
+ /** Accessible label primitive for form controls. */
3
+ export declare function Label({ children, required, "aria-label": ariaLabel, ...props }: LabelProps): import("react").JSX.Element;
@@ -0,0 +1,3 @@
1
+ import type { ComponentPreviewProps } from "../../../types/metadata.js";
2
+ /** Playground fixture for the Label primitive. */
3
+ export declare function LabelFixture({ props }: ComponentPreviewProps): import("react").JSX.Element;
@@ -0,0 +1,7 @@
1
+ import type { LabelHTMLAttributes, ReactNode } from "react";
2
+ export interface LabelProps extends LabelHTMLAttributes<HTMLLabelElement> {
3
+ /** Text or content displayed as the field label. */
4
+ children: ReactNode;
5
+ /** Marks the associated field as required. */
6
+ required?: boolean;
7
+ }
@@ -0,0 +1,2 @@
1
+ export { Label } from "./Label.js";
2
+ export type { LabelProps } from "./Label.types.js";
@@ -0,0 +1,5 @@
1
+ import type { AnchorHTMLAttributes, ReactNode } from "react";
2
+ export interface LinkProps extends AnchorHTMLAttributes<HTMLAnchorElement> {
3
+ children: ReactNode;
4
+ }
5
+ export declare function Link({ children, ...props }: LinkProps): import("react").JSX.Element;
@@ -0,0 +1,2 @@
1
+ import type { ComponentPreviewProps } from "../../../types/metadata.js";
2
+ export declare function LinkFixture({ props }: ComponentPreviewProps): import("react").JSX.Element;
@@ -0,0 +1,2 @@
1
+ export { Link } from "./Link.js";
2
+ export type { LinkProps } from "./Link.js";
@@ -0,0 +1,3 @@
1
+ import type { LoadingStateProps } from "./LoadingState.types.js";
2
+ /** Accessible presentation for content that is currently loading. */
3
+ export declare function LoadingState({ label, "aria-label": ariaLabel, ...props }: LoadingStateProps): import("react").JSX.Element;
@@ -0,0 +1,3 @@
1
+ import type { ComponentPreviewProps } from "../../../types/metadata.js";
2
+ /** Playground fixture for the LoadingState primitive. */
3
+ export declare function LoadingStateFixture({ props }: ComponentPreviewProps): import("react").JSX.Element;
@@ -0,0 +1,7 @@
1
+ import type { HTMLAttributes, ReactNode } from "react";
2
+ export interface LoadingStateProps extends Omit<HTMLAttributes<HTMLDivElement>, "aria-label"> {
3
+ /** Accessible status text announced while content is loading. */
4
+ label?: ReactNode;
5
+ /** Accessible name for the loading region. */
6
+ "aria-label"?: string;
7
+ }
@@ -0,0 +1,2 @@
1
+ export { LoadingState } from "./LoadingState.js";
2
+ export type { LoadingStateProps } from "./LoadingState.types.js";
@@ -0,0 +1,9 @@
1
+ import type { ReactNode } from "react";
2
+ export interface MenubarItem {
3
+ label: ReactNode;
4
+ items?: ReactNode[];
5
+ }
6
+ export interface MenubarProps {
7
+ items: MenubarItem[];
8
+ }
9
+ export declare function Menubar({ items }: MenubarProps): import("react").JSX.Element;
@@ -0,0 +1,2 @@
1
+ import type { ComponentPreviewProps } from "../../../types/metadata.js";
2
+ export declare function MenubarFixture({ props }: ComponentPreviewProps): import("react").JSX.Element;
@@ -0,0 +1,2 @@
1
+ export { Menubar } from "./Menubar.js";
2
+ export type { MenubarProps } from "./Menubar.js";
@@ -0,0 +1,3 @@
1
+ import type { ModalProps } from "./Modal.types.js";
2
+ /** Accessible modal dialog with Escape handling, focus trapping and focus restoration. */
3
+ export declare function Modal({ open, title, children, onClose, dismissible, ...props }: ModalProps): import("react").JSX.Element | null;
@@ -0,0 +1,3 @@
1
+ import type { ComponentPreviewProps } from "../../../types/metadata.js";
2
+ /** Playground fixture for the Modal primitive. */
3
+ export declare function ModalFixture({ props, onEvent }: ComponentPreviewProps): import("react").JSX.Element;
@@ -0,0 +1,13 @@
1
+ import type { HTMLAttributes, ReactNode } from "react";
2
+ export interface ModalProps extends Omit<HTMLAttributes<HTMLDivElement>, "title"> {
3
+ /** Controls whether the modal is open. */
4
+ open: boolean;
5
+ /** Accessible name for the modal dialog. */
6
+ title: string;
7
+ /** Content rendered inside the modal. */
8
+ children: ReactNode;
9
+ /** Called when the modal requests to close. */
10
+ onClose?: () => void;
11
+ /** Prevents closing through the Escape key and backdrop interaction. */
12
+ dismissible?: boolean;
13
+ }
@@ -0,0 +1,2 @@
1
+ export { Modal } from "./Modal.js";
2
+ export type { ModalProps } from "./Modal.types.js";
@@ -0,0 +1,13 @@
1
+ import { type ReactNode } from "react";
2
+ export interface MultiSelectOption {
3
+ value: string;
4
+ label: ReactNode;
5
+ disabled?: boolean;
6
+ }
7
+ export interface MultiSelectProps {
8
+ options: MultiSelectOption[];
9
+ value?: string[];
10
+ defaultValue?: string[];
11
+ onValueChange?: (value: string[]) => void;
12
+ }
13
+ export declare function MultiSelect({ options, value, defaultValue, onValueChange }: MultiSelectProps): import("react").JSX.Element;
@@ -0,0 +1,2 @@
1
+ import type { ComponentPreviewProps } from "../../../types/metadata.js";
2
+ export declare function MultiSelectFixture({ props }: ComponentPreviewProps): import("react").JSX.Element;
@@ -0,0 +1,2 @@
1
+ export { MultiSelect } from "./MultiSelect.js";
2
+ export type { MultiSelectProps } from "./MultiSelect.js";
@@ -0,0 +1,10 @@
1
+ import type { ReactNode } from "react";
2
+ export interface NavigationItem {
3
+ label: ReactNode;
4
+ href?: string;
5
+ children?: NavigationItem[];
6
+ }
7
+ export interface NavigationMenuProps {
8
+ items: NavigationItem[];
9
+ }
10
+ export declare function NavigationMenu({ items }: NavigationMenuProps): import("react").JSX.Element;
@@ -0,0 +1,2 @@
1
+ import type { ComponentPreviewProps } from "../../../types/metadata.js";
2
+ export declare function NavigationMenuFixture({ props }: ComponentPreviewProps): import("react").JSX.Element;
@@ -0,0 +1,2 @@
1
+ export { NavigationMenu } from "./NavigationMenu.js";
2
+ export type { NavigationMenuProps } from "./NavigationMenu.js";
@@ -0,0 +1,7 @@
1
+ import type { HTMLAttributes } from "react";
2
+ export interface PaginationProps extends HTMLAttributes<HTMLElement> {
3
+ page: number;
4
+ pageCount: number;
5
+ onPageChange?: (page: number) => void;
6
+ }
7
+ export declare function Pagination({ page, pageCount, onPageChange, ...props }: PaginationProps): import("react").JSX.Element;
@@ -0,0 +1,2 @@
1
+ import type { ComponentPreviewProps } from "../../../types/metadata.js";
2
+ export declare function PaginationFixture({ props }: ComponentPreviewProps): import("react").JSX.Element;
@@ -0,0 +1,2 @@
1
+ export { Pagination } from "./Pagination.js";
2
+ export type { PaginationProps } from "./Pagination.js";
@@ -0,0 +1,8 @@
1
+ import { type ReactNode } from "react";
2
+ export interface PopoverProps {
3
+ trigger: ReactNode;
4
+ children: ReactNode;
5
+ open?: boolean;
6
+ onOpenChange?: (open: boolean) => void;
7
+ }
8
+ export declare function Popover({ trigger, children, open, onOpenChange }: PopoverProps): import("react").JSX.Element;
@@ -0,0 +1,2 @@
1
+ import type { ComponentPreviewProps } from "../../../types/metadata.js";
2
+ export declare function PopoverFixture({ props }: ComponentPreviewProps): import("react").JSX.Element;
@@ -0,0 +1,2 @@
1
+ export { Popover } from "./Popover.js";
2
+ export type { PopoverProps } from "./Popover.js";
@@ -0,0 +1,7 @@
1
+ import type { HTMLAttributes } from "react";
2
+ export interface ProgressProps extends Omit<HTMLAttributes<HTMLDivElement>, "children"> {
3
+ value?: number;
4
+ max?: number;
5
+ label?: string;
6
+ }
7
+ export declare function Progress({ value, max, label, ...props }: ProgressProps): import("react").JSX.Element;
@@ -0,0 +1,2 @@
1
+ import type { ComponentPreviewProps } from "../../../types/metadata.js";
2
+ export declare function ProgressFixture({ props }: ComponentPreviewProps): import("react").JSX.Element;
@@ -0,0 +1,2 @@
1
+ export { Progress } from "./Progress.js";
2
+ export type { ProgressProps } from "./Progress.js";
@@ -0,0 +1,3 @@
1
+ import type { RadioProps } from "./Radio.types.js";
2
+ /** Native radio primitive for mutually exclusive form choices. */
3
+ export declare function Radio({ size, disabled, ...props }: RadioProps): import("react").JSX.Element;
@@ -0,0 +1,3 @@
1
+ import type { ComponentPreviewProps } from "../../../types/metadata.js";
2
+ /** Playground fixture for the Radio primitive. */
3
+ export declare function RadioFixture({ props, onEvent }: ComponentPreviewProps): import("react").JSX.Element;
@@ -0,0 +1,5 @@
1
+ import type { InputHTMLAttributes } from "react";
2
+ export type RadioProps = Omit<InputHTMLAttributes<HTMLInputElement>, "type" | "size" | "children"> & {
3
+ /** Visual size of the radio control. */
4
+ size?: "small" | "medium" | "large";
5
+ };
@@ -0,0 +1,2 @@
1
+ export { Radio } from "./Radio.js";
2
+ export type { RadioProps } from "./Radio.types.js";
@@ -0,0 +1,8 @@
1
+ import { type ReactNode } from "react";
2
+ export interface ResizablePanelProps {
3
+ children: ReactNode;
4
+ initialSize?: number;
5
+ minSize?: number;
6
+ maxSize?: number;
7
+ }
8
+ export declare function ResizablePanel({ children, initialSize, minSize, maxSize }: ResizablePanelProps): import("react").JSX.Element;
@@ -0,0 +1,2 @@
1
+ import type { ComponentPreviewProps } from "../../../types/metadata.js";
2
+ export declare function ResizablePanelFixture({ props }: ComponentPreviewProps): import("react").JSX.Element;
@@ -0,0 +1,2 @@
1
+ export { ResizablePanel } from "./ResizablePanel.js";
2
+ export type { ResizablePanelProps } from "./ResizablePanel.js";
@@ -0,0 +1,5 @@
1
+ import type { InputHTMLAttributes } from "react";
2
+ export interface SearchBarProps extends InputHTMLAttributes<HTMLInputElement> {
3
+ onClear?: () => void;
4
+ }
5
+ export declare function SearchBar({ onClear, ...props }: SearchBarProps): import("react").JSX.Element;
@@ -0,0 +1,2 @@
1
+ import type { ComponentPreviewProps } from "../../../types/metadata.js";
2
+ export declare function SearchBarFixture({ props }: ComponentPreviewProps): import("react").JSX.Element;
@@ -0,0 +1,2 @@
1
+ export { SearchBar } from "./SearchBar.js";
2
+ export type { SearchBarProps } from "./SearchBar.js";
@@ -0,0 +1,3 @@
1
+ import type { SelectProps } from "./Select.types.js";
2
+ /** Native select primitive for forms and editable choices. */
3
+ export declare function Select({ size, options, disabled, ...props }: SelectProps): import("react").JSX.Element;
@@ -0,0 +1,3 @@
1
+ import type { ComponentPreviewProps } from "../../../types/metadata.js";
2
+ /** Playground fixture for the Select primitive. */
3
+ export declare function SelectFixture({ props, onEvent }: ComponentPreviewProps): import("react").JSX.Element;
@@ -0,0 +1,15 @@
1
+ import type { SelectHTMLAttributes } from "react";
2
+ export interface SelectOption {
3
+ /** Value submitted by the select. */
4
+ value: string;
5
+ /** Text displayed for the option. */
6
+ label: string;
7
+ /** Prevents this option from being selected. */
8
+ disabled?: boolean;
9
+ }
10
+ export type SelectProps = Omit<SelectHTMLAttributes<HTMLSelectElement>, "size" | "children"> & {
11
+ /** Visual size of the select. */
12
+ size?: "small" | "medium" | "large";
13
+ /** Options rendered by the select. */
14
+ options?: SelectOption[];
15
+ };
@@ -0,0 +1,2 @@
1
+ export { Select } from "./Select.js";
2
+ export type { SelectOption, SelectProps } from "./Select.types.js";
@@ -0,0 +1,5 @@
1
+ import type { HTMLAttributes } from "react";
2
+ export interface SeparatorProps extends HTMLAttributes<HTMLHRElement> {
3
+ orientation?: "horizontal" | "vertical";
4
+ }
5
+ export declare function Separator({ orientation, ...props }: SeparatorProps): import("react").JSX.Element;
@@ -0,0 +1,2 @@
1
+ import type { ComponentPreviewProps } from "../../../types/metadata.js";
2
+ export declare function SeparatorFixture({ props }: ComponentPreviewProps): import("react").JSX.Element;
@@ -0,0 +1,2 @@
1
+ export { Separator } from "./Separator.js";
2
+ export type { SeparatorProps } from "./Separator.js";
@@ -0,0 +1,7 @@
1
+ import type { ReactNode } from "react";
2
+ export interface SidebarProps {
3
+ children: ReactNode;
4
+ open?: boolean;
5
+ width?: string;
6
+ }
7
+ export declare function Sidebar({ children, open, width }: SidebarProps): import("react").JSX.Element;
@@ -0,0 +1,2 @@
1
+ import type { ComponentPreviewProps } from "../../../types/metadata.js";
2
+ export declare function SidebarFixture({ props }: ComponentPreviewProps): import("react").JSX.Element;
@@ -0,0 +1,2 @@
1
+ export { Sidebar } from "./Sidebar.js";
2
+ export type { SidebarProps } from "./Sidebar.js";
@@ -0,0 +1,7 @@
1
+ import type { HTMLAttributes } from "react";
2
+ export interface SkeletonProps extends HTMLAttributes<HTMLDivElement> {
3
+ width?: string | number;
4
+ height?: string | number;
5
+ variant?: "text" | "rect" | "circle";
6
+ }
7
+ export declare function Skeleton({ width, height, variant, style, ...props }: SkeletonProps): import("react").JSX.Element;
@@ -0,0 +1,2 @@
1
+ import type { ComponentPreviewProps } from "../../../types/metadata.js";
2
+ export declare function SkeletonFixture({ props }: ComponentPreviewProps): import("react").JSX.Element;
@@ -0,0 +1,2 @@
1
+ export { Skeleton } from "./Skeleton.js";
2
+ export type { SkeletonProps } from "./Skeleton.js";
@@ -0,0 +1,6 @@
1
+ import type { HTMLAttributes } from "react";
2
+ export interface SpinnerProps extends HTMLAttributes<HTMLSpanElement> {
3
+ label?: string;
4
+ size?: "small" | "medium" | "large";
5
+ }
6
+ export declare function Spinner({ label, ...props }: SpinnerProps): import("react").JSX.Element;
@@ -0,0 +1,2 @@
1
+ import type { ComponentPreviewProps } from "../../../types/metadata.js";
2
+ export declare function SpinnerFixture({ props }: ComponentPreviewProps): import("react").JSX.Element;
@@ -0,0 +1,2 @@
1
+ export { Spinner } from "./Spinner.js";
2
+ export type { SpinnerProps } from "./Spinner.js";
@@ -0,0 +1,3 @@
1
+ import type { StatCardProps } from "./StatCard.types.js";
2
+ /** Compact surface for displaying a label, primary value, and optional trend context. */
3
+ export declare function StatCard({ label, value, description, trend, trendValue, className, ...props }: StatCardProps): import("react").JSX.Element;
@@ -0,0 +1,3 @@
1
+ import type { ComponentPreviewProps } from "../../../types/metadata.js";
2
+ /** Playground fixture for the StatCard primitive. */
3
+ export declare function StatCardFixture({ props }: ComponentPreviewProps): import("react").JSX.Element;
@@ -0,0 +1,3 @@
1
+ import type { ComponentPreviewProps } from "../../../types/metadata.js";
2
+ /** Curated playground preview for the StatCard primitive. */
3
+ export declare function StatCardPreview({ props }: ComponentPreviewProps): import("react").JSX.Element;
@@ -0,0 +1,13 @@
1
+ import type { HTMLAttributes } from "react";
2
+ export interface StatCardProps extends HTMLAttributes<HTMLDivElement> {
3
+ /** Short label describing the statistic. */
4
+ label: string;
5
+ /** Primary value displayed by the card. */
6
+ value: string | number;
7
+ /** Optional supporting context below the primary value. */
8
+ description?: string;
9
+ /** Semantic direction of the statistic trend. */
10
+ trend?: "up" | "down" | "neutral";
11
+ /** Optional human-readable trend value, such as "+12.4%". */
12
+ trendValue?: string;
13
+ }
@@ -0,0 +1,2 @@
1
+ export { StatCard } from "./StatCard.js";
2
+ export type { StatCardProps } from "./StatCard.types.js";
@@ -0,0 +1,13 @@
1
+ import type { ReactNode } from "react";
2
+ export interface Step {
3
+ id: string;
4
+ label: ReactNode;
5
+ description?: ReactNode;
6
+ disabled?: boolean;
7
+ }
8
+ export interface StepperProps {
9
+ steps: Step[];
10
+ current: number;
11
+ orientation?: "horizontal" | "vertical";
12
+ }
13
+ export declare function Stepper({ steps, current, orientation }: StepperProps): import("react").JSX.Element;
@@ -0,0 +1,2 @@
1
+ import type { ComponentPreviewProps } from "../../../types/metadata.js";
2
+ export declare function StepperFixture({ props }: ComponentPreviewProps): import("react").JSX.Element;
@@ -0,0 +1,2 @@
1
+ export { Stepper } from "./Stepper.js";
2
+ export type { StepperProps } from "./Stepper.js";
@@ -0,0 +1,3 @@
1
+ import type { SwitchProps } from "./Switch.types.js";
2
+ /** Native checkbox-backed switch primitive for boolean form values. */
3
+ export declare function Switch({ size, disabled, ...props }: SwitchProps): import("react").JSX.Element;
@@ -0,0 +1,3 @@
1
+ import type { ComponentPreviewProps } from "../../../types/metadata.js";
2
+ /** Playground fixture for the Switch primitive. */
3
+ export declare function SwitchFixture({ props, onEvent }: ComponentPreviewProps): import("react").JSX.Element;
@@ -0,0 +1,5 @@
1
+ import type { InputHTMLAttributes } from "react";
2
+ export type SwitchProps = Omit<InputHTMLAttributes<HTMLInputElement>, "type" | "size" | "children"> & {
3
+ /** Visual size of the switch. */
4
+ size?: "small" | "medium" | "large";
5
+ };
@@ -0,0 +1,2 @@
1
+ export { Switch } from "./Switch.js";
2
+ export type { SwitchProps } from "./Switch.types.js";
@@ -0,0 +1,14 @@
1
+ import type { ReactNode } from "react";
2
+ export interface TabItem {
3
+ id: string;
4
+ label: ReactNode;
5
+ content?: ReactNode;
6
+ disabled?: boolean;
7
+ }
8
+ export interface TabsProps {
9
+ items: TabItem[];
10
+ value?: string;
11
+ defaultValue?: string;
12
+ onValueChange?: (value: string) => void;
13
+ }
14
+ export declare function Tabs({ items, value, defaultValue, onValueChange }: TabsProps): import("react").JSX.Element;
@@ -0,0 +1,2 @@
1
+ import type { ComponentPreviewProps } from "../../../types/metadata.js";
2
+ export declare function TabsFixture({ props }: ComponentPreviewProps): import("react").JSX.Element;
@@ -0,0 +1,2 @@
1
+ export { Tabs } from "./Tabs.js";
2
+ export type { TabsProps } from "./Tabs.js";
@@ -0,0 +1,6 @@
1
+ import type { HTMLAttributes, ReactNode } from "react";
2
+ export interface TextProps extends HTMLAttributes<HTMLParagraphElement> {
3
+ children: ReactNode;
4
+ as?: "p" | "span" | "div";
5
+ }
6
+ export declare function Text({ children, as, ...props }: TextProps): import("react").JSX.Element;
@@ -0,0 +1,2 @@
1
+ import type { ComponentPreviewProps } from "../../../types/metadata.js";
2
+ export declare function TextFixture({ props }: ComponentPreviewProps): import("react").JSX.Element;
@@ -0,0 +1,2 @@
1
+ export { Text } from "./Text.js";
2
+ export type { TextProps } from "./Text.js";