dfh-ui-library 1.13.67 → 1.13.68
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/types/components/FormElements/Select/SelectV2.d.ts +7 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/components/FormElements/Select/SelectV2.d.ts +7 -1
- package/dist/index.d.ts +7 -1
- package/package.json +1 -1
@@ -13,8 +13,12 @@ interface SelectV2Props {
|
|
13
13
|
defaultText?: string;
|
14
14
|
additionalClasses?: string;
|
15
15
|
labelType?: LABELTYPE;
|
16
|
-
onChange?: (value: string
|
16
|
+
onChange?: (value: string | {
|
17
|
+
value: string;
|
18
|
+
displayName: string;
|
19
|
+
}) => void;
|
17
20
|
onInputChange?: (value: string) => void;
|
21
|
+
onFocus?: () => void;
|
18
22
|
labelClasses?: string;
|
19
23
|
value?: string;
|
20
24
|
defaultValue?: string;
|
@@ -27,6 +31,8 @@ interface SelectV2Props {
|
|
27
31
|
isAdditionalErrorInput?: boolean;
|
28
32
|
additionalErrorClasses?: string;
|
29
33
|
isBorderedError?: boolean;
|
34
|
+
onOpen?: () => Promise<void>;
|
35
|
+
isLoading?: boolean;
|
30
36
|
}
|
31
37
|
declare const SelectV2: React.FC<SelectV2Props>;
|
32
38
|
export default SelectV2;
|
package/dist/index.d.ts
CHANGED
@@ -1364,8 +1364,12 @@ interface SelectV2Props {
|
|
1364
1364
|
defaultText?: string;
|
1365
1365
|
additionalClasses?: string;
|
1366
1366
|
labelType?: LABELTYPE;
|
1367
|
-
onChange?: (value: string
|
1367
|
+
onChange?: (value: string | {
|
1368
|
+
value: string;
|
1369
|
+
displayName: string;
|
1370
|
+
}) => void;
|
1368
1371
|
onInputChange?: (value: string) => void;
|
1372
|
+
onFocus?: () => void;
|
1369
1373
|
labelClasses?: string;
|
1370
1374
|
value?: string;
|
1371
1375
|
defaultValue?: string;
|
@@ -1378,6 +1382,8 @@ interface SelectV2Props {
|
|
1378
1382
|
isAdditionalErrorInput?: boolean;
|
1379
1383
|
additionalErrorClasses?: string;
|
1380
1384
|
isBorderedError?: boolean;
|
1385
|
+
onOpen?: () => Promise<void>;
|
1386
|
+
isLoading?: boolean;
|
1381
1387
|
}
|
1382
1388
|
declare const SelectV2: React__default.FC<SelectV2Props>;
|
1383
1389
|
|