@eliseubatista99/react-scaffold-core 0.1.63 → 0.1.65

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.
@@ -9,5 +9,6 @@ export * from './loader';
9
9
  export * from './modal';
10
10
  export * from './pageLayout';
11
11
  export * from './svgImage';
12
+ export * from './textAreaField';
12
13
  export * from './toast';
13
14
  export * from './typography';
@@ -14,6 +14,7 @@ export interface InputFieldProps {
14
14
  onChange?: (value: string) => void;
15
15
  onFocus?: () => void;
16
16
  inputStyles?: CSSProperties;
17
- containerProps?: CSSProperties;
17
+ containerStyles?: CSSProperties;
18
+ styles?: CSSProperties;
18
19
  }
19
- export declare const InputField: ({ name, label, leftIcon, rightIcon, bottomMessage, placeHolder, autoComplete, value, initialValue, type, onChange, onFocus, inputStyles, containerProps, step, }: InputFieldProps) => import("react/jsx-runtime").JSX.Element;
20
+ export declare const InputField: ({ name, label, leftIcon, rightIcon, bottomMessage, placeHolder, autoComplete, value, initialValue, type, onChange, onFocus, inputStyles, containerStyles, styles, step, }: InputFieldProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,7 +1,7 @@
1
1
  import { StoryObj } from '@storybook/react-vite';
2
2
  declare const meta: {
3
3
  title: string;
4
- component: ({ name, label, leftIcon, rightIcon, bottomMessage, placeHolder, autoComplete, value, initialValue, type, onChange, onFocus, inputStyles, containerProps, step, }: import('../inputField').InputFieldProps) => import("react/jsx-runtime").JSX.Element;
4
+ component: ({ name, label, leftIcon, rightIcon, bottomMessage, placeHolder, autoComplete, value, initialValue, type, onChange, onFocus, inputStyles, containerStyles, styles, step, }: import('../inputField').InputFieldProps) => import("react/jsx-runtime").JSX.Element;
5
5
  parameters: {
6
6
  layout: string;
7
7
  };
@@ -0,0 +1 @@
1
+ export * from './textAreaField';
@@ -0,0 +1,21 @@
1
+ import { StoryObj } from '@storybook/react-vite';
2
+ declare const meta: {
3
+ title: string;
4
+ component: ({ name, label, leftIcon, rightIcon, bottomMessage, placeHolder, value, initialValue, onChange, onFocus, inputStyles, containerStyles, styles, }: import('../textAreaField').TextAreaFieldProps) => import("react/jsx-runtime").JSX.Element;
5
+ parameters: {
6
+ layout: string;
7
+ };
8
+ tags: string[];
9
+ args: {
10
+ name: string;
11
+ placeHolder: string;
12
+ onFocus: () => void;
13
+ };
14
+ };
15
+ export default meta;
16
+ type Story = StoryObj<typeof meta>;
17
+ export declare const Default: Story;
18
+ export declare const WithLabel: Story;
19
+ export declare const WithErrorMessage: Story;
20
+ export declare const CountrySearch: Story;
21
+ export declare const SearchInput: Story;
@@ -0,0 +1,17 @@
1
+ import { CSSProperties } from 'react';
2
+ export interface TextAreaFieldProps {
3
+ name: string;
4
+ label?: React.ReactNode;
5
+ leftIcon?: React.ReactNode;
6
+ rightIcon?: React.ReactNode;
7
+ bottomMessage?: React.ReactNode;
8
+ placeHolder?: string;
9
+ value?: string;
10
+ initialValue?: string;
11
+ onChange?: (value: string) => void;
12
+ onFocus?: () => void;
13
+ inputStyles?: CSSProperties;
14
+ containerStyles?: CSSProperties;
15
+ styles?: CSSProperties;
16
+ }
17
+ export declare const TextAreaField: ({ name, label, leftIcon, rightIcon, bottomMessage, placeHolder, value, initialValue, onChange, onFocus, inputStyles, containerStyles, styles, }: TextAreaFieldProps) => import("react/jsx-runtime").JSX.Element;