@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.
@@ -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 Lawdistrictpro: Story;
8
+ export declare const Lawsdistrict: Story;
9
9
  export declare const Lawdistricts: Story;
10
- export declare const Thedistrictlaw: Story;
10
+ export declare const Lawdistrictinfo: Story;
11
11
  export declare const Uslawdistrict: Story;
12
- export declare const Uslawdistricts: Story;
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 {};
@@ -12,7 +12,7 @@ export interface TextInputProps {
12
12
  notes?: string;
13
13
  maxLength?: any;
14
14
  value?: any;
15
- type?: 'password' | 'text' | 'number';
15
+ type?: 'password' | 'text' | 'number' | 'tel';
16
16
  validate?: boolean;
17
17
  isValidGroup?: boolean;
18
18
  disabled?: boolean;
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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@npm_leadtech/legal-lib-components",
3
- "version": "2.15.2",
3
+ "version": "2.15.5",
4
4
  "dependencies": {
5
5
  "@testing-library/jest-dom": "^5.16.5",
6
6
  "@tippyjs/react": "4.2.6",