@npm_leadtech/legal-lib-components 2.15.10 → 2.15.12
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.
- package/dist/cjs/index.js +1 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/src/components/atoms/SearchSelect/SearchSelectProps.types.d.ts +3 -0
- package/dist/cjs/src/components/molecules/TextInput/Input.d.ts +1 -0
- package/dist/cjs/src/components/molecules/TextInput/TextInputProps.types.d.ts +1 -0
- package/dist/esm/index.js +3 -3
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/src/components/atoms/SearchSelect/SearchSelectProps.types.d.ts +3 -0
- package/dist/esm/src/components/molecules/TextInput/Input.d.ts +1 -0
- package/dist/esm/src/components/molecules/TextInput/TextInputProps.types.d.ts +1 -0
- package/dist/index.d.ts +3 -0
- package/package.json +1 -1
|
@@ -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
|
|