@vincentgraul/react-components 1.0.83 → 1.0.85

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.
@@ -1,10 +1,19 @@
1
+ import { ReactNode } from 'react';
1
2
  import { SelectOptionWithoutId, SelectOption } from './select.types';
2
3
  export type SelectProps = {
3
4
  options: SelectOptionWithoutId[];
4
5
  selectedValue?: string;
5
- icon?: string;
6
- iconSize?: number;
6
+ textSize?: number;
7
+ color?: string;
8
+ borderSize?: number;
9
+ separatorSize?: number;
10
+ borderStyle?: "solid" | "dashed" | "dotted" | "double";
11
+ backgroundColor?: string;
12
+ hoverBackgroundColor?: string;
13
+ hoverTextColor?: string;
14
+ icon?: ReactNode;
15
+ defaultIconSize?: number;
7
16
  onChange?: (option: SelectOption) => void;
8
17
  className?: string;
9
18
  };
10
- export declare const Select: ({ className, options: optionsProps, selectedValue, icon, iconSize, onChange, }: SelectProps) => import("react/jsx-runtime").JSX.Element | null;
19
+ export declare const Select: ({ className, options: optionsProps, textSize, color, selectedValue, borderSize, separatorSize, borderStyle, backgroundColor, hoverBackgroundColor, hoverTextColor, icon, defaultIconSize, onChange, }: SelectProps) => import("react/jsx-runtime").JSX.Element | null;
@@ -1,13 +1,13 @@
1
1
  import { ReactNode } from 'react';
2
2
  export type TextProps = {
3
3
  children: ReactNode;
4
- size?: number;
4
+ fontSize?: number;
5
5
  as?: "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "span" | "p";
6
- weight?: 400 | 500 | 600 | 700 | 800 | 900;
7
- align?: "left" | "center" | "right" | "justify";
6
+ fontWeight?: 400 | 500 | 600 | 700 | 800 | 900;
7
+ textAlign?: "left" | "center" | "right" | "justify";
8
8
  lineHeight?: number;
9
- style?: "normal" | "italic" | "oblique";
9
+ fontStyle?: "normal" | "italic" | "oblique";
10
10
  color?: string;
11
11
  className?: string;
12
12
  };
13
- export declare const Text: ({ className, children, size, as, weight, lineHeight, align, style, color, }: TextProps) => import("react/jsx-runtime").JSX.Element;
13
+ export declare const Text: ({ className, children, fontSize, as, fontWeight, lineHeight, textAlign, fontStyle, color, }: TextProps) => import("react/jsx-runtime").JSX.Element;
@@ -16,6 +16,8 @@ type FooterProps = {
16
16
  footerButton?: ElementType;
17
17
  footerButtonNextText?: string;
18
18
  footerButtonPreviousText?: string;
19
+ footerFinalizeButtonText?: string;
20
+ onFinalize?: () => void;
19
21
  footerJustifyContent?: "left" | "center" | "right";
20
22
  footerGap?: number;
21
23
  };
@@ -27,5 +29,5 @@ export type WizardProps = HeaderProps & FooterProps & {
27
29
  gap?: number;
28
30
  className?: string;
29
31
  };
30
- export declare const Wizard: ({ className, children, step: stepProps, renderHeader, renderFooter, titles, titleAs, titleSize, titleWeight, hasStepIndicator, stepIndicatorWeight, footerButton, footerGap, footerJustifyContent, footerButtonNextText, footerButtonPreviousText, gap, }: WizardProps) => import("react/jsx-runtime").JSX.Element;
32
+ export declare const Wizard: ({ className, children, step: stepProps, renderHeader, renderFooter, titles, titleAs, titleSize, titleWeight, hasStepIndicator, stepIndicatorWeight, footerButton, footerGap, footerJustifyContent, footerButtonNextText, footerButtonPreviousText, footerFinalizeButtonText, onFinalize, gap, }: WizardProps) => import("react/jsx-runtime").JSX.Element;
31
33
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vincentgraul/react-components",
3
- "version": "1.0.83",
3
+ "version": "1.0.85",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {