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.
@@ -13,8 +13,12 @@ interface SelectV2Props {
13
13
  defaultText?: string;
14
14
  additionalClasses?: string;
15
15
  labelType?: LABELTYPE;
16
- onChange?: (value: string) => void;
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) => void;
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
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dfh-ui-library",
3
- "version": "1.13.67",
3
+ "version": "1.13.68",
4
4
  "description": "",
5
5
  "scripts": {
6
6
  "build": "rollup -c --bundleConfigAsCjs --environment NODE_ENV:production",