@furcrer/fullstack-components 0.1.0 → 1.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 (193) hide show
  1. package/README.md +2 -2
  2. package/dist/index.js +2015 -1088
  3. package/dist/styles.css +1 -1
  4. package/dist/types/components/containers/Grid/Grid.d.ts +1 -0
  5. package/dist/types/components/containers/Stack/Stack.d.ts +1 -0
  6. package/dist/types/components/data/CrudExample/CrudExample.d.ts +1 -0
  7. package/dist/types/components/data/ResourceTable/ResourceTable.d.ts +3 -2
  8. package/dist/types/components/data/ResultsCount/ResultsCount.d.ts +11 -0
  9. package/dist/types/components/data/ResultsCount/ResultsCount.fixture.d.ts +2 -0
  10. package/dist/types/components/data/ResultsCount/ResultsCount.variants.d.ts +11 -0
  11. package/dist/types/components/data/ResultsCount/index.d.ts +2 -0
  12. package/dist/types/components/forms/ColorInput/ColorInput.d.ts +6 -0
  13. package/dist/types/components/forms/DateInput/DateInput.d.ts +9 -0
  14. package/dist/types/components/forms/FileInput/FileInput.d.ts +6 -0
  15. package/dist/types/components/forms/MultiSelectFilter/MultiSelectFilter.d.ts +23 -0
  16. package/dist/types/components/forms/MultiSelectFilter/MultiSelectFilter.fixture.d.ts +2 -0
  17. package/dist/types/components/forms/MultiSelectFilter/MultiSelectFilter.variants.d.ts +9 -0
  18. package/dist/types/components/forms/MultiSelectFilter/index.d.ts +2 -0
  19. package/dist/types/components/forms/NumberInput/NumberInput.d.ts +8 -0
  20. package/dist/types/components/forms/PasswordInput/PasswordInput.d.ts +6 -0
  21. package/dist/types/components/forms/RadioGroup/RadioGroup.d.ts +8 -0
  22. package/dist/types/components/forms/SearchInput/SearchInput.d.ts +4 -0
  23. package/dist/types/components/forms/SelectFilter/SelectFilter.d.ts +19 -0
  24. package/dist/types/components/forms/SelectFilter/SelectFilter.fixture.d.ts +2 -0
  25. package/dist/types/components/forms/SelectFilter/SelectFilter.variants.d.ts +9 -0
  26. package/dist/types/components/forms/SelectFilter/index.d.ts +2 -0
  27. package/dist/types/components/forms/Slider/Slider.d.ts +10 -0
  28. package/dist/types/components/ohm/ActionBar/ActionBar.d.ts +17 -0
  29. package/dist/types/components/ohm/ActionBar/ActionBar.fixture.d.ts +2 -0
  30. package/dist/types/components/ohm/ActionBar/ActionBar.variants.d.ts +13 -0
  31. package/dist/types/components/ohm/ActionBar/index.d.ts +2 -0
  32. package/dist/types/components/ohm/DataField/DataField.d.ts +27 -0
  33. package/dist/types/components/ohm/DataField/DataField.fixture.d.ts +2 -0
  34. package/dist/types/components/ohm/DataField/DataField.variants.d.ts +5 -0
  35. package/dist/types/components/ohm/DataField/index.d.ts +2 -0
  36. package/dist/types/components/ohm/DocumentList/DocumentList.d.ts +21 -0
  37. package/dist/types/components/ohm/DocumentList/DocumentList.fixture.d.ts +2 -0
  38. package/dist/types/components/ohm/DocumentList/DocumentList.variants.d.ts +5 -0
  39. package/dist/types/components/ohm/DocumentList/index.d.ts +2 -0
  40. package/dist/types/components/ohm/EntityCard/EntityCard.d.ts +14 -0
  41. package/dist/types/components/ohm/EntityCard/EntityCard.fixture.d.ts +2 -0
  42. package/dist/types/components/ohm/EntityCard/EntityCard.variants.d.ts +7 -0
  43. package/dist/types/components/ohm/EntityCard/index.d.ts +2 -0
  44. package/dist/types/components/ohm/Main/Main.d.ts +8 -0
  45. package/dist/types/components/ohm/Main/Main.fixture.d.ts +3 -0
  46. package/dist/types/components/ohm/Main/Main.variants.d.ts +5 -0
  47. package/dist/types/components/ohm/Main/index.d.ts +2 -0
  48. package/dist/types/components/ohm/Navbar/Navbar.d.ts +115 -0
  49. package/dist/types/components/ohm/Navbar/Navbar.fixture.d.ts +2 -0
  50. package/dist/types/components/ohm/Navbar/Navbar.variants.d.ts +75 -0
  51. package/dist/types/components/ohm/Navbar/index.d.ts +2 -0
  52. package/dist/types/components/ohm/PageHeader/PageHeader.d.ts +11 -0
  53. package/dist/types/components/ohm/PageHeader/PageHeader.fixture.d.ts +2 -0
  54. package/dist/types/components/ohm/PageHeader/PageHeader.variants.d.ts +15 -0
  55. package/dist/types/components/ohm/PageHeader/index.d.ts +2 -0
  56. package/dist/types/components/ohm/PhotoGrid/PhotoGrid.d.ts +19 -0
  57. package/dist/types/components/ohm/PhotoGrid/PhotoGrid.fixture.d.ts +2 -0
  58. package/dist/types/components/ohm/PhotoGrid/PhotoGrid.variants.d.ts +5 -0
  59. package/dist/types/components/ohm/PhotoGrid/index.d.ts +2 -0
  60. package/dist/types/components/ohm/SearchFilterSection/SearchFilterSection.d.ts +20 -0
  61. package/dist/types/components/ohm/SearchFilterSection/SearchFilterSection.fixture.d.ts +1 -0
  62. package/dist/types/components/ohm/SearchFilterSection/SearchFilterSection.variants.d.ts +5 -0
  63. package/dist/types/components/ohm/SearchFilterSection/index.d.ts +2 -0
  64. package/dist/types/components/ohm/Table/Table.d.ts +5 -0
  65. package/dist/types/{data → components/ohm/Table}/Table.fixture.d.ts +1 -1
  66. package/dist/types/components/ohm/Table/Table.types.d.ts +43 -0
  67. package/dist/types/components/ohm/Table/Table.variants.d.ts +23 -0
  68. package/dist/types/components/ohm/Table/TableAction/TableAction.d.ts +6 -0
  69. package/dist/types/components/ohm/Table/TableAction/TableAction.fixture.d.ts +2 -0
  70. package/dist/types/components/ohm/Table/TableAction/TableAction.variants.d.ts +22 -0
  71. package/dist/types/components/ohm/Table/TableAction/index.d.ts +2 -0
  72. package/dist/types/components/ohm/Table/TableActions/TableActions.d.ts +11 -0
  73. package/dist/types/components/ohm/Table/TableActions/TableActions.fixture.d.ts +2 -0
  74. package/dist/types/components/ohm/Table/TableActions/TableActions.variants.d.ts +28 -0
  75. package/dist/types/components/ohm/Table/TableActions/index.d.ts +2 -0
  76. package/dist/types/components/ohm/Table/TableBody/TableBody.d.ts +6 -0
  77. package/dist/types/components/ohm/Table/TableBody/TableBody.fixture.d.ts +2 -0
  78. package/dist/types/components/ohm/Table/TableBody/TableBody.variants.d.ts +7 -0
  79. package/dist/types/components/ohm/Table/TableBody/index.d.ts +2 -0
  80. package/dist/types/components/ohm/Table/TableCell/TableCell.d.ts +7 -0
  81. package/dist/types/components/ohm/Table/TableCell/TableCell.fixture.d.ts +2 -0
  82. package/dist/types/components/ohm/Table/TableCell/TableCell.variants.d.ts +7 -0
  83. package/dist/types/components/ohm/Table/TableCell/index.d.ts +2 -0
  84. package/dist/types/components/ohm/Table/TableEmpty/TableEmpty.d.ts +6 -0
  85. package/dist/types/components/ohm/Table/TableEmpty/TableEmpty.fixture.d.ts +2 -0
  86. package/dist/types/components/ohm/Table/TableEmpty/TableEmpty.variants.d.ts +8 -0
  87. package/dist/types/components/ohm/Table/TableEmpty/index.d.ts +2 -0
  88. package/dist/types/components/ohm/Table/TableError/TableError.d.ts +6 -0
  89. package/dist/types/components/ohm/Table/TableError/TableError.fixture.d.ts +2 -0
  90. package/dist/types/components/ohm/Table/TableError/TableError.variants.d.ts +8 -0
  91. package/dist/types/components/ohm/Table/TableError/index.d.ts +2 -0
  92. package/dist/types/components/ohm/Table/TableExpand/TableExpand.d.ts +7 -0
  93. package/dist/types/components/ohm/Table/TableExpand/TableExpand.fixture.d.ts +2 -0
  94. package/dist/types/components/ohm/Table/TableExpand/TableExpand.variants.d.ts +7 -0
  95. package/dist/types/components/ohm/Table/TableExpand/index.d.ts +2 -0
  96. package/dist/types/components/ohm/Table/TableFooter/TableFooter.d.ts +6 -0
  97. package/dist/types/components/ohm/Table/TableFooter/TableFooter.fixture.d.ts +2 -0
  98. package/dist/types/components/ohm/Table/TableFooter/TableFooter.variants.d.ts +7 -0
  99. package/dist/types/components/ohm/Table/TableFooter/index.d.ts +2 -0
  100. package/dist/types/components/ohm/Table/TableHeader/TableHeader.d.ts +6 -0
  101. package/dist/types/components/ohm/Table/TableHeader/TableHeader.fixture.d.ts +2 -0
  102. package/dist/types/components/ohm/Table/TableHeader/TableHeader.variants.d.ts +7 -0
  103. package/dist/types/components/ohm/Table/TableHeader/index.d.ts +2 -0
  104. package/dist/types/components/ohm/Table/TableHeaderCell/TableHeaderCell.d.ts +2 -0
  105. package/dist/types/components/ohm/Table/TableHeaderCell/TableHeaderCell.fixture.d.ts +2 -0
  106. package/dist/types/components/ohm/Table/TableHeaderCell/TableHeaderCell.variants.d.ts +15 -0
  107. package/dist/types/components/ohm/Table/TableHeaderCell/index.d.ts +2 -0
  108. package/dist/types/components/ohm/Table/TableLoading/TableLoading.d.ts +5 -0
  109. package/dist/types/components/ohm/Table/TableLoading/TableLoading.fixture.d.ts +2 -0
  110. package/dist/types/components/ohm/Table/TableLoading/TableLoading.variants.d.ts +7 -0
  111. package/dist/types/components/ohm/Table/TableLoading/index.d.ts +2 -0
  112. package/dist/types/components/ohm/Table/TablePagination/TablePagination.d.ts +6 -0
  113. package/dist/types/components/ohm/Table/TablePagination/TablePagination.fixture.d.ts +2 -0
  114. package/dist/types/components/ohm/Table/TablePagination/TablePagination.variants.d.ts +8 -0
  115. package/dist/types/components/ohm/Table/TablePagination/index.d.ts +2 -0
  116. package/dist/types/components/ohm/Table/TableRow/TableRow.d.ts +8 -0
  117. package/dist/types/components/ohm/Table/TableRow/TableRow.fixture.d.ts +2 -0
  118. package/dist/types/components/ohm/Table/TableRow/TableRow.variants.d.ts +7 -0
  119. package/dist/types/components/ohm/Table/TableRow/index.d.ts +2 -0
  120. package/dist/types/components/ohm/Table/TableRowActions/TableRowActions.d.ts +6 -0
  121. package/dist/types/components/ohm/Table/TableRowActions/TableRowActions.fixture.d.ts +2 -0
  122. package/dist/types/components/ohm/Table/TableRowActions/TableRowActions.variants.d.ts +7 -0
  123. package/dist/types/components/ohm/Table/TableRowActions/index.d.ts +2 -0
  124. package/dist/types/components/ohm/Table/TableSelection/TableSelection.d.ts +7 -0
  125. package/dist/types/components/ohm/Table/TableSelection/TableSelection.fixture.d.ts +2 -0
  126. package/dist/types/components/ohm/Table/TableSelection/TableSelection.variants.d.ts +7 -0
  127. package/dist/types/components/ohm/Table/TableSelection/index.d.ts +2 -0
  128. package/dist/types/components/ohm/Table/TableSort/TableSort.d.ts +8 -0
  129. package/dist/types/components/ohm/Table/TableSort/TableSort.fixture.d.ts +2 -0
  130. package/dist/types/components/ohm/Table/TableSort/TableSort.variants.d.ts +8 -0
  131. package/dist/types/components/ohm/Table/TableSort/index.d.ts +2 -0
  132. package/dist/types/components/ohm/Table/TableStructure/TableStructure.d.ts +11 -0
  133. package/dist/types/components/ohm/Table/TableStructure/TableStructure.fixture.d.ts +2 -0
  134. package/dist/types/components/ohm/Table/TableStructure/TableStructure.variants.d.ts +14 -0
  135. package/dist/types/components/ohm/Table/TableStructure/index.d.ts +2 -0
  136. package/dist/types/components/ohm/Table/index.d.ts +21 -0
  137. package/dist/types/components/overlays/FilterMenu/FilterMenu.d.ts +17 -0
  138. package/dist/types/components/overlays/FilterMenu/FilterMenu.fixture.d.ts +2 -0
  139. package/dist/types/components/overlays/FilterMenu/FilterMenu.variants.d.ts +9 -0
  140. package/dist/types/components/overlays/FilterMenu/index.d.ts +2 -0
  141. package/dist/types/components/primitives/Accordion/Accordion.d.ts +1 -0
  142. package/dist/types/components/primitives/Alert/Alert.d.ts +1 -0
  143. package/dist/types/components/primitives/Avatar/Avatar.d.ts +1 -0
  144. package/dist/types/components/primitives/Button/Button.types.d.ts +2 -0
  145. package/dist/types/components/primitives/Button/Button.variants.d.ts +34 -0
  146. package/dist/types/components/primitives/Carousel/Carousel.d.ts +1 -0
  147. package/dist/types/components/primitives/Combobox/Combobox.d.ts +1 -0
  148. package/dist/types/components/primitives/CommandPalette/CommandPalette.d.ts +1 -0
  149. package/dist/types/components/primitives/ContextMenu/ContextMenu.d.ts +1 -0
  150. package/dist/types/components/primitives/DatePicker/DatePicker.d.ts +1 -0
  151. package/dist/types/components/primitives/Drawer/Drawer.d.ts +5 -0
  152. package/dist/types/components/primitives/DropdownMenu/DropdownMenu.d.ts +1 -0
  153. package/dist/types/components/primitives/FileUpload/FileUpload.d.ts +1 -0
  154. package/dist/types/components/primitives/FormField/FormField.variants.d.ts +19 -0
  155. package/dist/types/components/primitives/Heading/Heading.d.ts +3 -0
  156. package/dist/types/components/primitives/Link/Link.d.ts +1 -0
  157. package/dist/types/components/primitives/Menubar/Menubar.d.ts +1 -0
  158. package/dist/types/components/primitives/MultiSelect/MultiSelect.d.ts +1 -0
  159. package/dist/types/components/primitives/NavigationMenu/NavigationMenu.d.ts +1 -0
  160. package/dist/types/components/primitives/Pagination/Pagination.d.ts +4 -0
  161. package/dist/types/components/primitives/Popover/Popover.d.ts +4 -0
  162. package/dist/types/components/primitives/Progress/Progress.d.ts +4 -0
  163. package/dist/types/components/primitives/ResizablePanel/ResizablePanel.d.ts +1 -0
  164. package/dist/types/components/primitives/SearchBar/SearchBar.d.ts +1 -0
  165. package/dist/types/components/primitives/Separator/Separator.d.ts +1 -0
  166. package/dist/types/components/primitives/Sidebar/Sidebar.d.ts +1 -0
  167. package/dist/types/components/primitives/Skeleton/Skeleton.d.ts +1 -0
  168. package/dist/types/components/primitives/Spinner/Spinner.d.ts +1 -0
  169. package/dist/types/components/primitives/Stepper/Stepper.d.ts +1 -0
  170. package/dist/types/components/primitives/Tabs/Tabs.d.ts +1 -0
  171. package/dist/types/components/primitives/Text/Text.d.ts +1 -0
  172. package/dist/types/components/primitives/Toast/Toast.d.ts +1 -0
  173. package/dist/types/components/primitives/Tooltip/Tooltip.d.ts +2 -0
  174. package/dist/types/components/primitives/TreeView/TreeView.d.ts +1 -0
  175. package/dist/types/data/index.d.ts +0 -1
  176. package/dist/types/forms/FormActions.d.ts +2 -0
  177. package/dist/types/forms/FormField.d.ts +4 -0
  178. package/dist/types/forms/react-form.d.ts +6 -0
  179. package/dist/types/forms/react.d.ts +6 -1
  180. package/dist/types/generated/component-registry.d.ts +2913 -50
  181. package/dist/types/generated/public-exports.d.ts +92 -0
  182. package/dist/types/types/metadata.d.ts +23 -3
  183. package/package.json +3 -2
  184. package/dist/types/data/Table.d.ts +0 -13
  185. package/dist/types/data/resource-controller.test.d.ts +0 -1
  186. package/dist/types/theme/theme.test.d.ts +0 -1
  187. package/dist/types/tooling/discovery/discover.d.ts +0 -9
  188. package/dist/types/tooling/discovery/discover.test.d.ts +0 -1
  189. package/dist/types/tooling/discovery/generate-exports.d.ts +0 -6
  190. package/dist/types/tooling/discovery/generate-registry.d.ts +0 -6
  191. package/dist/types/tooling/discovery/generate-registry.test.d.ts +0 -1
  192. package/dist/types/tooling/discovery/generate.d.ts +0 -1
  193. package/dist/types/tooling/discovery/vite-plugin.d.ts +0 -8
@@ -0,0 +1,6 @@
1
+ import type { ReactNode } from "react";
2
+ export interface TableHeaderProps {
3
+ children?: ReactNode;
4
+ className?: string;
5
+ }
6
+ export declare function TableHeader({ children, className }: TableHeaderProps): import("react").JSX.Element;
@@ -0,0 +1,2 @@
1
+ import type { ComponentPreviewProps } from "../../../../types/metadata.js";
2
+ export declare function TableHeaderFixture(_props: ComponentPreviewProps): import("react").JSX.Element;
@@ -0,0 +1,7 @@
1
+ export declare const TableHeaderVariants: readonly [{
2
+ readonly id: "default";
3
+ readonly name: "Default";
4
+ readonly props: {
5
+ readonly children: "Header";
6
+ };
7
+ }];
@@ -0,0 +1,2 @@
1
+ export { TableHeader } from "./TableHeader.js";
2
+ export type { TableHeaderProps } from "./TableHeader.js";
@@ -0,0 +1,2 @@
1
+ import type { TableHeaderCellProps } from "../Table.types.js";
2
+ export declare function TableHeaderCell({ children, sortable, sortDirection, onSort, scope, className }: TableHeaderCellProps): import("react").JSX.Element;
@@ -0,0 +1,2 @@
1
+ import type { ComponentPreviewProps } from "../../../../types/metadata.js";
2
+ export declare function TableHeaderCellFixture(_props: ComponentPreviewProps): import("react").JSX.Element;
@@ -0,0 +1,15 @@
1
+ export declare const TableHeaderCellVariants: readonly [{
2
+ readonly id: "default";
3
+ readonly name: "Default";
4
+ readonly props: {
5
+ readonly children: "Názov";
6
+ };
7
+ }, {
8
+ readonly id: "sortable";
9
+ readonly name: "Sortable";
10
+ readonly props: {
11
+ readonly children: "Názov";
12
+ readonly sortable: true;
13
+ readonly sortDirection: "asc";
14
+ };
15
+ }];
@@ -0,0 +1,2 @@
1
+ export { TableHeaderCell } from "./TableHeaderCell.js";
2
+ export type { TableHeaderCellProps } from "../Table.types.js";
@@ -0,0 +1,5 @@
1
+ export interface TableLoadingProps {
2
+ colSpan: number;
3
+ rows?: number;
4
+ }
5
+ export declare function TableLoading({ colSpan, rows }: TableLoadingProps): import("react").JSX.Element;
@@ -0,0 +1,2 @@
1
+ import type { ComponentPreviewProps } from "../../../../types/metadata.js";
2
+ export declare function TableLoadingFixture(_props: ComponentPreviewProps): import("react").JSX.Element;
@@ -0,0 +1,7 @@
1
+ export declare const TableLoadingVariants: readonly [{
2
+ readonly id: "default";
3
+ readonly name: "Default";
4
+ readonly props: {
5
+ readonly colSpan: 3;
6
+ };
7
+ }];
@@ -0,0 +1,2 @@
1
+ export { TableLoading } from "./TableLoading.js";
2
+ export type { TableLoadingProps } from "./TableLoading.js";
@@ -0,0 +1,6 @@
1
+ export interface TablePaginationProps {
2
+ page: number;
3
+ pageCount: number;
4
+ onPageChange?: (page: number) => void;
5
+ }
6
+ export declare function TablePagination({ page, pageCount, onPageChange }: TablePaginationProps): import("react").JSX.Element | null;
@@ -0,0 +1,2 @@
1
+ import type { ComponentPreviewProps } from "../../../../types/metadata.js";
2
+ export declare function TablePaginationFixture(_props: ComponentPreviewProps): import("react").JSX.Element;
@@ -0,0 +1,8 @@
1
+ export declare const TablePaginationVariants: readonly [{
2
+ readonly id: "default";
3
+ readonly name: "Default";
4
+ readonly props: {
5
+ readonly page: 2;
6
+ readonly pageCount: 5;
7
+ };
8
+ }];
@@ -0,0 +1,2 @@
1
+ export { TablePagination } from "./TablePagination.js";
2
+ export type { TablePaginationProps } from "./TablePagination.js";
@@ -0,0 +1,8 @@
1
+ import type { ReactNode } from "react";
2
+ export interface TableRowProps {
3
+ children?: ReactNode;
4
+ className?: string;
5
+ selected?: boolean;
6
+ onClick?: () => void;
7
+ }
8
+ export declare function TableRow({ children, className, selected, onClick }: TableRowProps): import("react").JSX.Element;
@@ -0,0 +1,2 @@
1
+ import type { ComponentPreviewProps } from "../../../../types/metadata.js";
2
+ export declare function TableRowFixture(_props: ComponentPreviewProps): import("react").JSX.Element;
@@ -0,0 +1,7 @@
1
+ export declare const TableRowVariants: readonly [{
2
+ readonly id: "default";
3
+ readonly name: "Default";
4
+ readonly props: {
5
+ readonly children: "Row";
6
+ };
7
+ }];
@@ -0,0 +1,2 @@
1
+ export { TableRow } from "./TableRow.js";
2
+ export type { TableRowProps } from "./TableRow.js";
@@ -0,0 +1,6 @@
1
+ import type { ReactNode } from "react";
2
+ export interface TableRowActionsProps {
3
+ children?: ReactNode;
4
+ className?: string;
5
+ }
6
+ export declare function TableRowActions({ children, className }: TableRowActionsProps): import("react").JSX.Element;
@@ -0,0 +1,2 @@
1
+ import type { ComponentPreviewProps } from "../../../../types/metadata.js";
2
+ export declare function TableRowActionsFixture(_props: ComponentPreviewProps): import("react").JSX.Element;
@@ -0,0 +1,7 @@
1
+ export declare const TableRowActionsVariants: readonly [{
2
+ readonly id: "default";
3
+ readonly name: "Default";
4
+ readonly props: {
5
+ readonly children: "Akcie";
6
+ };
7
+ }];
@@ -0,0 +1,2 @@
1
+ export { TableRowActions } from "./TableRowActions.js";
2
+ export type { TableRowActionsProps } from "./TableRowActions.js";
@@ -0,0 +1,7 @@
1
+ export interface TableSelectionProps {
2
+ checked?: boolean;
3
+ onChange?: (checked: boolean) => void;
4
+ disabled?: boolean;
5
+ "aria-label"?: string;
6
+ }
7
+ export declare function TableSelection({ checked, onChange, disabled, "aria-label": ariaLabel }: TableSelectionProps): import("react").JSX.Element;
@@ -0,0 +1,2 @@
1
+ import type { ComponentPreviewProps } from "../../../../types/metadata.js";
2
+ export declare function TableSelectionFixture(_props: ComponentPreviewProps): import("react").JSX.Element;
@@ -0,0 +1,7 @@
1
+ export declare const TableSelectionVariants: readonly [{
2
+ readonly id: "default";
3
+ readonly name: "Default";
4
+ readonly props: {
5
+ readonly checked: true;
6
+ };
7
+ }];
@@ -0,0 +1,2 @@
1
+ export { TableSelection } from "./TableSelection.js";
2
+ export type { TableSelectionProps } from "./TableSelection.js";
@@ -0,0 +1,8 @@
1
+ import type { ReactNode } from "react";
2
+ import type { TableSortDirection } from "../Table.types.js";
3
+ export interface TableSortProps {
4
+ direction?: TableSortDirection;
5
+ onClick?: () => void;
6
+ children?: ReactNode;
7
+ }
8
+ export declare function TableSort({ direction, onClick, children }: TableSortProps): import("react").JSX.Element;
@@ -0,0 +1,2 @@
1
+ import type { ComponentPreviewProps } from "../../../../types/metadata.js";
2
+ export declare function TableSortFixture(_props: ComponentPreviewProps): import("react").JSX.Element;
@@ -0,0 +1,8 @@
1
+ export declare const TableSortVariants: readonly [{
2
+ readonly id: "default";
3
+ readonly name: "Default";
4
+ readonly props: {
5
+ readonly children: "Názov";
6
+ readonly direction: "asc";
7
+ };
8
+ }];
@@ -0,0 +1,2 @@
1
+ export { TableSort } from "./TableSort.js";
2
+ export type { TableSortProps } from "./TableSort.js";
@@ -0,0 +1,11 @@
1
+ import type { ReactNode } from "react";
2
+ export interface TableStructureProps {
3
+ children?: ReactNode;
4
+ className?: string;
5
+ }
6
+ export interface TableCaptionProps {
7
+ children?: ReactNode;
8
+ className?: string;
9
+ }
10
+ export declare function TableStructure({ children, className }: TableStructureProps): import("react").JSX.Element;
11
+ export declare function TableCaption({ children, className }: TableCaptionProps): import("react").JSX.Element;
@@ -0,0 +1,2 @@
1
+ import type { ComponentPreviewProps } from "../../../../types/metadata.js";
2
+ export declare function TableStructureFixture(_props: ComponentPreviewProps): import("react").JSX.Element;
@@ -0,0 +1,14 @@
1
+ export declare const TableStructureVariants: readonly [{
2
+ readonly id: "default";
3
+ readonly name: "Default";
4
+ readonly props: {
5
+ readonly children: "Obsah";
6
+ };
7
+ }];
8
+ export declare const TableCaptionVariants: readonly [{
9
+ readonly id: "default";
10
+ readonly name: "Default";
11
+ readonly props: {
12
+ readonly children: "Tabuľka";
13
+ };
14
+ }];
@@ -0,0 +1,2 @@
1
+ export { TableStructure, TableCaption } from "./TableStructure.js";
2
+ export type { TableStructureProps, TableCaptionProps } from "./TableStructure.js";
@@ -0,0 +1,21 @@
1
+ export { Table } from "./Table.js";
2
+ export { TableAction } from "./TableAction/TableAction.js";
3
+ export type { TableActionProps } from "./TableAction/TableAction.js";
4
+ export { TableActions } from "./TableActions/TableActions.js";
5
+ export type { TableActionsProps, TableActionDefinition } from "./TableActions/TableActions.js";
6
+ export type { TableProps, TableColumn, TableSortState } from "./Table.js";
7
+ export { TableStructure, TableCaption } from "./TableStructure/TableStructure.js";
8
+ export { TableHeader } from "./TableHeader/TableHeader.js";
9
+ export { TableHeaderCell } from "./TableHeaderCell/TableHeaderCell.js";
10
+ export { TableBody } from "./TableBody/TableBody.js";
11
+ export { TableRow } from "./TableRow/TableRow.js";
12
+ export { TableCell } from "./TableCell/TableCell.js";
13
+ export { TableFooter } from "./TableFooter/TableFooter.js";
14
+ export { TableSort } from "./TableSort/TableSort.js";
15
+ export { TableSelection } from "./TableSelection/TableSelection.js";
16
+ export { TableRowActions } from "./TableRowActions/TableRowActions.js";
17
+ export { TableExpand } from "./TableExpand/TableExpand.js";
18
+ export { TablePagination } from "./TablePagination/TablePagination.js";
19
+ export { TableLoading } from "./TableLoading/TableLoading.js";
20
+ export { TableEmpty } from "./TableEmpty/TableEmpty.js";
21
+ export { TableError } from "./TableError/TableError.js";
@@ -0,0 +1,17 @@
1
+ import { type ReactNode } from "react";
2
+ export interface FilterMenuProps {
3
+ /** Content displayed by the trigger button. */
4
+ trigger: ReactNode;
5
+ /** Filter controls rendered inside the popup. */
6
+ children: ReactNode;
7
+ /** Controls whether the menu is open. */
8
+ open?: boolean;
9
+ /** Initial open state for uncontrolled usage. */
10
+ defaultOpen?: boolean;
11
+ /** Called when the menu open state changes. */
12
+ onOpenChange?: (open: boolean) => void;
13
+ /** Accessible label for the popup. */
14
+ ariaLabel?: string;
15
+ }
16
+ /** Generic popover menu for composing one or more filter controls. */
17
+ export declare function FilterMenu({ trigger, children, open, defaultOpen, onOpenChange, ariaLabel, }: FilterMenuProps): import("react").JSX.Element;
@@ -0,0 +1,2 @@
1
+ import type { ComponentPreviewProps } from "../../../types/metadata.js";
2
+ export declare function FilterMenuFixture(_props: ComponentPreviewProps): import("react").JSX.Element;
@@ -0,0 +1,9 @@
1
+ export declare const FilterMenuVariants: readonly [{
2
+ readonly id: "default";
3
+ readonly name: "Default";
4
+ readonly props: {};
5
+ }, {
6
+ readonly id: "filters";
7
+ readonly name: "With filters";
8
+ readonly props: {};
9
+ }];
@@ -0,0 +1,2 @@
1
+ export { FilterMenu } from "./FilterMenu.js";
2
+ export type { FilterMenuProps } from "./FilterMenu.js";
@@ -7,4 +7,5 @@ export interface AccordionItem {
7
7
  export interface AccordionProps {
8
8
  items: AccordionItem[];
9
9
  }
10
+ /** undefined */
10
11
  export declare function Accordion({ items }: AccordionProps): import("react").JSX.Element;
@@ -3,4 +3,5 @@ export interface AlertProps extends HTMLAttributes<HTMLDivElement> {
3
3
  children: ReactNode;
4
4
  variant?: "info" | "success" | "warning" | "danger";
5
5
  }
6
+ /** undefined */
6
7
  export declare function Alert({ children, variant, ...props }: AlertProps): import("react").JSX.Element;
@@ -5,4 +5,5 @@ export interface AvatarProps extends Omit<ImgHTMLAttributes<HTMLImageElement>, "
5
5
  fallback?: ReactNode;
6
6
  size?: "small" | "medium" | "large";
7
7
  }
8
+ /** undefined */
8
9
  export declare function Avatar({ src, alt, fallback, ...props }: AvatarProps): import("react").JSX.Element;
@@ -10,6 +10,8 @@ export interface ButtonProps {
10
10
  disabled?: boolean;
11
11
  /** Shows the loading state. */
12
12
  loading?: boolean;
13
+ /** HTML button action type. */
14
+ type?: "button" | "submit" | "reset";
13
15
  /** Called when the button is activated. */
14
16
  onClick?: MouseEventHandler<HTMLButtonElement>;
15
17
  }
@@ -0,0 +1,34 @@
1
+ export declare const ButtonVariants: ({
2
+ id: string;
3
+ name: string;
4
+ description: string;
5
+ props: {
6
+ children: string;
7
+ type: string;
8
+ disabled: boolean;
9
+ loading?: undefined;
10
+ variant?: undefined;
11
+ };
12
+ } | {
13
+ id: string;
14
+ name: string;
15
+ description: string;
16
+ props: {
17
+ children: string;
18
+ type: string;
19
+ loading: boolean;
20
+ disabled?: undefined;
21
+ variant?: undefined;
22
+ };
23
+ } | {
24
+ id: string;
25
+ name: string;
26
+ description: string;
27
+ props: {
28
+ children: string;
29
+ variant: string;
30
+ type?: undefined;
31
+ disabled?: undefined;
32
+ loading?: undefined;
33
+ };
34
+ })[];
@@ -4,4 +4,5 @@ export interface CarouselProps {
4
4
  initialIndex?: number;
5
5
  onIndexChange?: (index: number) => void;
6
6
  }
7
+ /** undefined */
7
8
  export declare function Carousel({ items, initialIndex, onIndexChange }: CarouselProps): import("react").JSX.Element | null;
@@ -11,4 +11,5 @@ export interface ComboboxProps {
11
11
  placeholder?: string;
12
12
  onValueChange?: (value: string) => void;
13
13
  }
14
+ /** undefined */
14
15
  export declare function Combobox({ options, value, defaultValue, placeholder, onValueChange }: ComboboxProps): import("react").JSX.Element;
@@ -11,4 +11,5 @@ export interface CommandPaletteProps {
11
11
  open?: boolean;
12
12
  placeholder?: string;
13
13
  }
14
+ /** Command palette dialog with a searchable list of actions. */
14
15
  export declare function CommandPalette({ items, open, placeholder }: CommandPaletteProps): import("react").JSX.Element | null;
@@ -8,4 +8,5 @@ export interface ContextMenuProps {
8
8
  children: ReactNode;
9
9
  items: ContextMenuItem[];
10
10
  }
11
+ /** undefined */
11
12
  export declare function ContextMenu({ children, items }: ContextMenuProps): import("react").JSX.Element;
@@ -5,4 +5,5 @@ export interface DatePickerProps {
5
5
  max?: string;
6
6
  onValueChange?: (value: string) => void;
7
7
  }
8
+ /** undefined */
8
9
  export declare function DatePicker({ value, defaultValue, min, max, onValueChange }: DatePickerProps): import("react").JSX.Element;
@@ -1,9 +1,14 @@
1
1
  import type { ReactNode } from "react";
2
2
  export interface DrawerProps {
3
+ /** Whether the drawer is visible. */
3
4
  open: boolean;
5
+ /** Drawer content. */
4
6
  children: ReactNode;
7
+ /** Accessible drawer heading. */
5
8
  title?: ReactNode;
9
+ /** Called when the drawer requests closing. */
6
10
  onClose?: () => void;
11
+ /** Drawer placement. */
7
12
  side?: "left" | "right";
8
13
  }
9
14
  export declare function Drawer({ open, children, title, onClose, side }: DrawerProps): import("react").JSX.Element | null;
@@ -8,4 +8,5 @@ export interface DropdownMenuProps {
8
8
  label: ReactNode;
9
9
  items: DropdownMenuItem[];
10
10
  }
11
+ /** undefined */
11
12
  export declare function DropdownMenu({ label, items }: DropdownMenuProps): import("react").JSX.Element;
@@ -5,4 +5,5 @@ export interface FileUploadProps {
5
5
  children?: ReactNode;
6
6
  onFilesChange?: (files: File[]) => void;
7
7
  }
8
+ /** undefined */
8
9
  export declare function FileUpload({ accept, multiple, children, onFilesChange }: FileUploadProps): import("react").JSX.Element;
@@ -0,0 +1,19 @@
1
+ export declare const FormFieldVariants: ({
2
+ id: string;
3
+ name: string;
4
+ description: string;
5
+ props: {
6
+ label: string;
7
+ description: string;
8
+ error?: undefined;
9
+ };
10
+ } | {
11
+ id: string;
12
+ name: string;
13
+ description: string;
14
+ props: {
15
+ label: string;
16
+ error: string;
17
+ description?: undefined;
18
+ };
19
+ })[];
@@ -1,6 +1,9 @@
1
1
  import type { HTMLAttributes, ReactNode } from "react";
2
+ /** Semantic heading with a configurable heading level. */
2
3
  export interface HeadingProps extends HTMLAttributes<HTMLHeadingElement> {
4
+ /** Heading content. */
3
5
  children: ReactNode;
6
+ /** Semantic heading level. */
4
7
  level?: 1 | 2 | 3 | 4 | 5 | 6;
5
8
  }
6
9
  export declare function Heading({ children, level, ...props }: HeadingProps): import("react").JSX.Element;
@@ -2,4 +2,5 @@ import type { AnchorHTMLAttributes, ReactNode } from "react";
2
2
  export interface LinkProps extends AnchorHTMLAttributes<HTMLAnchorElement> {
3
3
  children: ReactNode;
4
4
  }
5
+ /** Link wrapper preserving native anchor behavior. */
5
6
  export declare function Link({ children, ...props }: LinkProps): import("react").JSX.Element;
@@ -6,4 +6,5 @@ export interface MenubarItem {
6
6
  export interface MenubarProps {
7
7
  items: MenubarItem[];
8
8
  }
9
+ /** Accessible menu bar containing top-level menu items. */
9
10
  export declare function Menubar({ items }: MenubarProps): import("react").JSX.Element;
@@ -10,4 +10,5 @@ export interface MultiSelectProps {
10
10
  defaultValue?: string[];
11
11
  onValueChange?: (value: string[]) => void;
12
12
  }
13
+ /** Checkbox-based multi-selection control. */
13
14
  export declare function MultiSelect({ options, value, defaultValue, onValueChange }: MultiSelectProps): import("react").JSX.Element;
@@ -7,4 +7,5 @@ export interface NavigationItem {
7
7
  export interface NavigationMenuProps {
8
8
  items: NavigationItem[];
9
9
  }
10
+ /** Nested navigation menu with optional links and children. */
10
11
  export declare function NavigationMenu({ items }: NavigationMenuProps): import("react").JSX.Element;
@@ -1,7 +1,11 @@
1
1
  import type { HTMLAttributes } from "react";
2
+ /** Pagination controls for navigating a finite set of pages. */
2
3
  export interface PaginationProps extends HTMLAttributes<HTMLElement> {
4
+ /** Current 1-based page number. */
3
5
  page: number;
6
+ /** Total number of available pages. */
4
7
  pageCount: number;
8
+ /** Called when the user requests another page. */
5
9
  onPageChange?: (page: number) => void;
6
10
  }
7
11
  export declare function Pagination({ page, pageCount, onPageChange, ...props }: PaginationProps): import("react").JSX.Element;
@@ -1,8 +1,12 @@
1
1
  import { type ReactNode } from "react";
2
2
  export interface PopoverProps {
3
+ /** Element that toggles the popover. */
3
4
  trigger: ReactNode;
5
+ /** Popover content. */
4
6
  children: ReactNode;
7
+ /** Controlled open state. */
5
8
  open?: boolean;
9
+ /** Called when open state changes. */
6
10
  onOpenChange?: (open: boolean) => void;
7
11
  }
8
12
  export declare function Popover({ trigger, children, open, onOpenChange }: PopoverProps): import("react").JSX.Element;
@@ -1,7 +1,11 @@
1
1
  import type { HTMLAttributes } from "react";
2
+ /** Progress indicator exposing the current numeric completion value. */
2
3
  export interface ProgressProps extends Omit<HTMLAttributes<HTMLDivElement>, "children"> {
4
+ /** Current progress value. */
3
5
  value?: number;
6
+ /** Maximum progress value. */
4
7
  max?: number;
8
+ /** Accessible label for the progress indicator. */
5
9
  label?: string;
6
10
  }
7
11
  export declare function Progress({ value, max, label, ...props }: ProgressProps): import("react").JSX.Element;
@@ -5,4 +5,5 @@ export interface ResizablePanelProps {
5
5
  minSize?: number;
6
6
  maxSize?: number;
7
7
  }
8
+ /** Resizable panel controlled by minimum, maximum and initial size. */
8
9
  export declare function ResizablePanel({ children, initialSize, minSize, maxSize }: ResizablePanelProps): import("react").JSX.Element;
@@ -2,4 +2,5 @@ import type { InputHTMLAttributes } from "react";
2
2
  export interface SearchBarProps extends InputHTMLAttributes<HTMLInputElement> {
3
3
  onClear?: () => void;
4
4
  }
5
+ /** Search input with an optional clear action. */
5
6
  export declare function SearchBar({ onClear, ...props }: SearchBarProps): import("react").JSX.Element;
@@ -2,4 +2,5 @@ import type { HTMLAttributes } from "react";
2
2
  export interface SeparatorProps extends HTMLAttributes<HTMLHRElement> {
3
3
  orientation?: "horizontal" | "vertical";
4
4
  }
5
+ /** Visual separator supporting horizontal and vertical orientation. */
5
6
  export declare function Separator({ orientation, ...props }: SeparatorProps): import("react").JSX.Element;
@@ -4,4 +4,5 @@ export interface SidebarProps {
4
4
  open?: boolean;
5
5
  width?: string;
6
6
  }
7
+ /** Sidebar container that can be shown or hidden with configurable width. */
7
8
  export declare function Sidebar({ children, open, width }: SidebarProps): import("react").JSX.Element;
@@ -4,4 +4,5 @@ export interface SkeletonProps extends HTMLAttributes<HTMLDivElement> {
4
4
  height?: string | number;
5
5
  variant?: "text" | "rect" | "circle";
6
6
  }
7
+ /** Placeholder skeleton for loading layouts. */
7
8
  export declare function Skeleton({ width, height, variant, style, ...props }: SkeletonProps): import("react").JSX.Element;
@@ -3,4 +3,5 @@ export interface SpinnerProps extends HTMLAttributes<HTMLSpanElement> {
3
3
  label?: string;
4
4
  size?: "small" | "medium" | "large";
5
5
  }
6
+ /** Compact loading spinner with an accessible status label. */
6
7
  export declare function Spinner({ label, ...props }: SpinnerProps): import("react").JSX.Element;
@@ -10,4 +10,5 @@ export interface StepperProps {
10
10
  current: number;
11
11
  orientation?: "horizontal" | "vertical";
12
12
  }
13
+ /** Step navigation indicator for linear multi-step workflows. */
13
14
  export declare function Stepper({ steps, current, orientation }: StepperProps): import("react").JSX.Element;
@@ -11,4 +11,5 @@ export interface TabsProps {
11
11
  defaultValue?: string;
12
12
  onValueChange?: (value: string) => void;
13
13
  }
14
+ /** Tabbed interface that displays the content of the active tab. */
14
15
  export declare function Tabs({ items, value, defaultValue, onValueChange }: TabsProps): import("react").JSX.Element;
@@ -3,4 +3,5 @@ export interface TextProps extends HTMLAttributes<HTMLParagraphElement> {
3
3
  children: ReactNode;
4
4
  as?: "p" | "span" | "div";
5
5
  }
6
+ /** Text primitive that can render as a paragraph, span or div. */
6
7
  export declare function Text({ children, as, ...props }: TextProps): import("react").JSX.Element;