@npm_leadtech/legal-lib-components 2.15.10 → 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.
@@ -1,5 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  import { type MenuPlacement } from './SearchSelect';
3
+ type DefaultValue = Record<string, string | null | undefined>;
3
4
  export interface SearchSelectProps {
4
5
  id?: string;
5
6
  name: string;
@@ -20,5 +21,7 @@ export interface SearchSelectProps {
20
21
  defaultMenuIsOpen?: boolean;
21
22
  tooltipBesideLabel?: React.ReactNode;
22
23
  width?: boolean;
24
+ defaultValue: DefaultValue;
23
25
  menuPlacement: MenuPlacement;
24
26
  }
27
+ export {};
@@ -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 {};
@@ -20,5 +20,6 @@ export interface TextInputProps {
20
20
  onClick?: (e: React.MouseEvent<HTMLInputElement>) => void;
21
21
  onBlur?: (e: React.FocusEvent<HTMLInputElement>) => void;
22
22
  onKeyDown?: (e: React.KeyboardEvent<HTMLInputElement>) => void;
23
+ onKeyUp?: (e: React.KeyboardEvent<HTMLInputElement>) => void;
23
24
  children?: React.ReactNode;
24
25
  }
package/dist/index.d.ts CHANGED
@@ -341,6 +341,7 @@ interface RichTextStrapiProps {
341
341
 
342
342
  declare const RichTextStrapi: FC<RichTextStrapiProps>;
343
343
 
344
+ type DefaultValue = Record<string, string | null | undefined>;
344
345
  interface SearchSelectProps {
345
346
  id?: string;
346
347
  name: string;
@@ -361,6 +362,7 @@ interface SearchSelectProps {
361
362
  defaultMenuIsOpen?: boolean;
362
363
  tooltipBesideLabel?: React.ReactNode;
363
364
  width?: boolean;
365
+ defaultValue: DefaultValue;
364
366
  menuPlacement: MenuPlacement;
365
367
  }
366
368
 
@@ -658,6 +660,7 @@ interface TextInputProps {
658
660
  onClick?: (e: React.MouseEvent<HTMLInputElement>) => void;
659
661
  onBlur?: (e: React.FocusEvent<HTMLInputElement>) => void;
660
662
  onKeyDown?: (e: React.KeyboardEvent<HTMLInputElement>) => void;
663
+ onKeyUp?: (e: React.KeyboardEvent<HTMLInputElement>) => void;
661
664
  children?: React.ReactNode;
662
665
  }
663
666
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@npm_leadtech/legal-lib-components",
3
- "version": "2.15.10",
3
+ "version": "2.15.11",
4
4
  "dependencies": {
5
5
  "@testing-library/jest-dom": "^5.16.5",
6
6
  "@tippyjs/react": "4.2.6",