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