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.
@@ -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;
@@ -1,2 +1,3 @@
1
1
  import ComboBox from './Combobox';
2
2
  export default ComboBox;
3
+ export { default as ComboboxV2 } from './ComboboxV2';
@@ -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;