@npm_leadtech/legal-lib-components 2.15.6 → 2.15.8

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.
@@ -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
@@ -652,7 +652,7 @@ interface TextInputProps {
652
652
  notes?: string;
653
653
  maxLength?: any;
654
654
  value?: any;
655
- type?: 'password' | 'text' | 'number';
655
+ type?: 'password' | 'text' | 'number' | 'tel';
656
656
  validate?: boolean;
657
657
  isValidGroup?: boolean;
658
658
  disabled?: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@npm_leadtech/legal-lib-components",
3
- "version": "2.15.6",
3
+ "version": "2.15.8",
4
4
  "dependencies": {
5
5
  "@testing-library/jest-dom": "^5.16.5",
6
6
  "@tippyjs/react": "4.2.6",