@npm_leadtech/legal-lib-components 2.15.8 → 2.15.11

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.
@@ -12,6 +12,7 @@ interface InputProps {
12
12
  onClick: (e: React.MouseEvent<HTMLInputElement>) => void;
13
13
  onBlur: (e: React.FocusEvent<HTMLInputElement>) => void;
14
14
  onKeyDown: (e: React.KeyboardEvent<HTMLInputElement>) => void;
15
+ onKeyUp: (e: React.KeyboardEvent<HTMLInputElement>) => void;
15
16
  }
16
17
  export declare const Input: React.ForwardRefExoticComponent<InputProps & React.RefAttributes<HTMLInputElement>>;
17
18
  export {};
@@ -19,5 +19,7 @@ export interface TextInputProps {
19
19
  onChange: (e: React.ChangeEvent<HTMLInputElement>) => void;
20
20
  onClick?: (e: React.MouseEvent<HTMLInputElement>) => void;
21
21
  onBlur?: (e: React.FocusEvent<HTMLInputElement>) => void;
22
+ onKeyDown?: (e: React.KeyboardEvent<HTMLInputElement>) => void;
23
+ onKeyUp?: (e: React.KeyboardEvent<HTMLInputElement>) => void;
22
24
  children?: React.ReactNode;
23
25
  }
package/dist/index.d.ts CHANGED
@@ -659,6 +659,8 @@ interface TextInputProps {
659
659
  onChange: (e: React.ChangeEvent<HTMLInputElement>) => void;
660
660
  onClick?: (e: React.MouseEvent<HTMLInputElement>) => void;
661
661
  onBlur?: (e: React.FocusEvent<HTMLInputElement>) => void;
662
+ onKeyDown?: (e: React.KeyboardEvent<HTMLInputElement>) => void;
663
+ onKeyUp?: (e: React.KeyboardEvent<HTMLInputElement>) => void;
662
664
  children?: React.ReactNode;
663
665
  }
664
666
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@npm_leadtech/legal-lib-components",
3
- "version": "2.15.8",
3
+ "version": "2.15.11",
4
4
  "dependencies": {
5
5
  "@testing-library/jest-dom": "^5.16.5",
6
6
  "@tippyjs/react": "4.2.6",