dfh-ui-library 1.13.78 → 1.13.80
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/ComboBox/ComboboxV2.d.ts +37 -0
- package/dist/cjs/types/components/ComboBox/index.d.ts +1 -0
- package/dist/cjs/types/components/index.d.ts +1 -1
- package/dist/cjs/types/shared/models/components/common.model.d.ts +1 -0
- package/dist/esm/index.js +1 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/components/ComboBox/ComboboxV2.d.ts +37 -0
- package/dist/esm/types/components/ComboBox/index.d.ts +1 -0
- package/dist/esm/types/components/index.d.ts +1 -1
- package/dist/esm/types/shared/models/components/common.model.d.ts +1 -0
- package/dist/index.d.ts +39 -3
- package/package.json +1 -1
@@ -0,0 +1,37 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
import { LABELTYPE } from '../../shared/models/components/base.model';
|
3
|
+
interface Option {
|
4
|
+
value: string;
|
5
|
+
displayName: string;
|
6
|
+
}
|
7
|
+
interface ConboboxV2Props {
|
8
|
+
name?: string;
|
9
|
+
label?: string;
|
10
|
+
error?: string;
|
11
|
+
options?: Option[];
|
12
|
+
wrapperClass?: string;
|
13
|
+
defaultText?: string;
|
14
|
+
additionalClasses?: string;
|
15
|
+
labelType?: LABELTYPE;
|
16
|
+
onChange?: (value: string | {
|
17
|
+
value: string;
|
18
|
+
displayName: string;
|
19
|
+
}) => void;
|
20
|
+
onInputChange?: (value: string) => void;
|
21
|
+
onFocus?: () => void;
|
22
|
+
labelClasses?: string;
|
23
|
+
defaultValue?: string;
|
24
|
+
iconClasses?: string;
|
25
|
+
isIcon?: boolean;
|
26
|
+
secondaryText?: string;
|
27
|
+
isRequired?: boolean;
|
28
|
+
disabled?: boolean;
|
29
|
+
selectType?: 'medium' | 'small' | 'large' | 'regular';
|
30
|
+
isAdditionalErrorInput?: boolean;
|
31
|
+
additionalErrorClasses?: string;
|
32
|
+
isBorderedError?: boolean;
|
33
|
+
onOpen?: () => Promise<void>;
|
34
|
+
isLoading?: boolean;
|
35
|
+
}
|
36
|
+
declare const ConboboxV2: React.FC<ConboboxV2Props>;
|
37
|
+
export default ConboboxV2;
|
@@ -5,7 +5,7 @@ export { default as Typhography } from './Typhography';
|
|
5
5
|
export { default as TyphographyFormGen } from './TyphographyFormGen';
|
6
6
|
export { Input, Select, SelectV2, CheckBox, Label, InputValidation, Textarea, RadioButton, IconInput, ImageInput, IconInputV2, } from './FormElements';
|
7
7
|
export { default as Card } from './Card';
|
8
|
-
export { default as ComboBox } from './ComboBox';
|
8
|
+
export { default as ComboBox, ComboboxV2 } from './ComboBox';
|
9
9
|
export { default as ComponentProvider } from './ComponentProvider';
|
10
10
|
export { default as Logo } from './Logo';
|
11
11
|
export { default as LoadingSpinner } from './LoadingSpinner';
|
@@ -276,6 +276,7 @@ export interface PhoneNumberInputProps {
|
|
276
276
|
export interface SsnInputProps {
|
277
277
|
value: string;
|
278
278
|
onChange: (value: string) => void;
|
279
|
+
onBlur?: (event: React.FocusEvent<HTMLInputElement>) => void;
|
279
280
|
placeholder?: string;
|
280
281
|
additionalClasses?: string | undefined;
|
281
282
|
error?: string;
|