@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
  }