@npm_leadtech/legal-lib-components 2.15.2 → 2.15.5
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.
- package/dist/cjs/index.js +3 -3
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/src/components/atoms/Logo/__stories__/Logo.stories.d.ts +3 -3
- package/dist/cjs/src/components/molecules/TextInput/Input.d.ts +3 -1
- package/dist/cjs/src/components/molecules/TextInput/TextInputProps.types.d.ts +1 -1
- package/dist/esm/index.js +3 -3
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/src/components/atoms/Logo/__stories__/Logo.stories.d.ts +3 -3
- package/dist/esm/src/components/molecules/TextInput/Input.d.ts +3 -1
- package/dist/esm/src/components/molecules/TextInput/TextInputProps.types.d.ts +1 -1
- package/dist/index.d.ts +1 -1
- package/package.json +1 -1
|
@@ -5,8 +5,8 @@ export default meta;
|
|
|
5
5
|
type Story = StoryObj<typeof Logo>;
|
|
6
6
|
export declare const Default: Story;
|
|
7
7
|
export declare const Districtlaws: Story;
|
|
8
|
-
export declare const
|
|
8
|
+
export declare const Lawsdistrict: Story;
|
|
9
9
|
export declare const Lawdistricts: Story;
|
|
10
|
-
export declare const
|
|
10
|
+
export declare const Lawdistrictinfo: Story;
|
|
11
11
|
export declare const Uslawdistrict: Story;
|
|
12
|
-
export declare const
|
|
12
|
+
export declare const Lawdistrictonline: Story;
|
|
@@ -4,12 +4,14 @@ interface InputProps {
|
|
|
4
4
|
placeholder: string;
|
|
5
5
|
maxLength: number;
|
|
6
6
|
value: any;
|
|
7
|
-
type: 'password' | 'text' | 'number';
|
|
7
|
+
type: 'password' | 'text' | 'number' | 'tel';
|
|
8
8
|
disabled: boolean;
|
|
9
9
|
className: string;
|
|
10
|
+
validation: string;
|
|
10
11
|
onChange: (e: React.ChangeEvent<HTMLInputElement>) => void;
|
|
11
12
|
onClick: (e: React.MouseEvent<HTMLInputElement>) => void;
|
|
12
13
|
onBlur: (e: React.FocusEvent<HTMLInputElement>) => void;
|
|
14
|
+
onKeyDown: (e: React.KeyboardEvent<HTMLInputElement>) => void;
|
|
13
15
|
}
|
|
14
16
|
export declare const Input: React.ForwardRefExoticComponent<InputProps & React.RefAttributes<HTMLInputElement>>;
|
|
15
17
|
export {};
|
package/dist/index.d.ts
CHANGED
|
@@ -650,7 +650,7 @@ interface TextInputProps {
|
|
|
650
650
|
notes?: string;
|
|
651
651
|
maxLength?: any;
|
|
652
652
|
value?: any;
|
|
653
|
-
type?: 'password' | 'text' | 'number';
|
|
653
|
+
type?: 'password' | 'text' | 'number' | 'tel';
|
|
654
654
|
validate?: boolean;
|
|
655
655
|
isValidGroup?: boolean;
|
|
656
656
|
disabled?: boolean;
|