@vincentgraul/react-components 1.0.44 → 1.0.46

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.
@@ -3,6 +3,7 @@ type Props = {
3
3
  options: SelectOptionWithoutId[];
4
4
  selectedValue?: string;
5
5
  onChange?: (option: SelectOption) => void;
6
+ className?: string;
6
7
  };
7
- export declare const Select: ({ options: optionsProps, selectedValue, onChange }: Props) => import("react/jsx-runtime").JSX.Element;
8
+ export declare const Select: ({ className, options: optionsProps, selectedValue, onChange }: Props) => import("react/jsx-runtime").JSX.Element;
8
9
  export {};
@@ -11,8 +11,9 @@ type Props<T> = {
11
11
  renderRecordsCell?: (cell: Primitive, key: string) => ReactNode;
12
12
  renderRecordsEmptyCell?: (key: string) => ReactNode;
13
13
  renderNoRecords?: () => ReactNode;
14
+ className?: string;
14
15
  };
15
- export declare const Table: <T>({ columns, records, renderHeader, renderFooter, renderColumnsRow, renderColumnsCell, renderRecordsRow, renderRecordsCell, renderRecordsEmptyCell, renderNoRecords, }: Props<T>) => import("react/jsx-runtime").JSX.Element;
16
+ export declare const Table: <T>({ className, columns, records, renderHeader, renderFooter, renderColumnsRow, renderColumnsCell, renderRecordsRow, renderRecordsCell, renderRecordsEmptyCell, renderNoRecords, }: Props<T>) => import("react/jsx-runtime").JSX.Element;
16
17
  export declare const Th: ({ children }: PropsWithChildren) => import("react/jsx-runtime").JSX.Element;
17
18
  export declare const Tr: ({ children }: PropsWithChildren) => import("react/jsx-runtime").JSX.Element;
18
19
  export declare const Td: ({ children }: PropsWithChildren) => import("react/jsx-runtime").JSX.Element;
@@ -5,6 +5,7 @@ type Props = {
5
5
  step?: number;
6
6
  renderHeader?: (props: StepProps) => ReactElement;
7
7
  renderFooter?: (props: StepProps) => ReactElement;
8
+ className?: string;
8
9
  };
9
- export declare const Wizard: (props: Props) => import("react/jsx-runtime").JSX.Element;
10
+ export declare const Wizard: ({ className, children, step: stepProps, renderHeader, renderFooter, }: Props) => import("react/jsx-runtime").JSX.Element;
10
11
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vincentgraul/react-components",
3
- "version": "1.0.44",
3
+ "version": "1.0.46",
4
4
  "main": "dist/react-components.mjs",
5
5
  "types": "dist/index.d.ts",
6
6
  "license": "GNU GPLV3",
@@ -54,6 +54,7 @@
54
54
  "@types/jest": "^29.5.14",
55
55
  "@typescript-eslint/eslint-plugin": "^8.12.2",
56
56
  "@typescript-eslint/parser": "^8.12.2",
57
+ "@vitejs/plugin-react": "^4.3.3",
57
58
  "eslint": "^9.13.0",
58
59
  "eslint-config-prettier": "^9.1.0",
59
60
  "eslint-plugin-prettier": "^5.2.1",