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;
|
package/dist/index.d.ts
CHANGED
@@ -254,6 +254,7 @@ interface PhoneNumberInputProps {
|
|
254
254
|
interface SsnInputProps {
|
255
255
|
value: string;
|
256
256
|
onChange: (value: string) => void;
|
257
|
+
onBlur?: (event: React.FocusEvent<HTMLInputElement>) => void;
|
257
258
|
placeholder?: string;
|
258
259
|
additionalClasses?: string | undefined;
|
259
260
|
error?: string;
|
@@ -1355,7 +1356,7 @@ declare const Label: React__default.FC<ILabelProps>;
|
|
1355
1356
|
*/
|
1356
1357
|
declare const Select: React__default.FC<ISelectProps>;
|
1357
1358
|
|
1358
|
-
interface Option {
|
1359
|
+
interface Option$1 {
|
1359
1360
|
value: string;
|
1360
1361
|
displayName: string;
|
1361
1362
|
}
|
@@ -1363,7 +1364,7 @@ interface SelectV2Props {
|
|
1363
1364
|
name?: string;
|
1364
1365
|
label?: string;
|
1365
1366
|
error?: string;
|
1366
|
-
options?: Option[];
|
1367
|
+
options?: Option$1[];
|
1367
1368
|
wrapperClass?: string;
|
1368
1369
|
defaultText?: string;
|
1369
1370
|
additionalClasses?: string;
|
@@ -1461,6 +1462,41 @@ interface ComboBoxProps {
|
|
1461
1462
|
}
|
1462
1463
|
declare const ComboBox: FC<ComboBoxProps>;
|
1463
1464
|
|
1465
|
+
interface Option {
|
1466
|
+
value: string;
|
1467
|
+
displayName: string;
|
1468
|
+
}
|
1469
|
+
interface ConboboxV2Props {
|
1470
|
+
name?: string;
|
1471
|
+
label?: string;
|
1472
|
+
error?: string;
|
1473
|
+
options?: Option[];
|
1474
|
+
wrapperClass?: string;
|
1475
|
+
defaultText?: string;
|
1476
|
+
additionalClasses?: string;
|
1477
|
+
labelType?: LABELTYPE;
|
1478
|
+
onChange?: (value: string | {
|
1479
|
+
value: string;
|
1480
|
+
displayName: string;
|
1481
|
+
}) => void;
|
1482
|
+
onInputChange?: (value: string) => void;
|
1483
|
+
onFocus?: () => void;
|
1484
|
+
labelClasses?: string;
|
1485
|
+
defaultValue?: string;
|
1486
|
+
iconClasses?: string;
|
1487
|
+
isIcon?: boolean;
|
1488
|
+
secondaryText?: string;
|
1489
|
+
isRequired?: boolean;
|
1490
|
+
disabled?: boolean;
|
1491
|
+
selectType?: 'medium' | 'small' | 'large' | 'regular';
|
1492
|
+
isAdditionalErrorInput?: boolean;
|
1493
|
+
additionalErrorClasses?: string;
|
1494
|
+
isBorderedError?: boolean;
|
1495
|
+
onOpen?: () => Promise<void>;
|
1496
|
+
isLoading?: boolean;
|
1497
|
+
}
|
1498
|
+
declare const ConboboxV2: React__default.FC<ConboboxV2Props>;
|
1499
|
+
|
1464
1500
|
interface IComponentProps {
|
1465
1501
|
schema: ISchema[];
|
1466
1502
|
children: ReactNode;
|
@@ -2039,5 +2075,5 @@ declare const themeConfigs: {
|
|
2039
2075
|
plugins: any[];
|
2040
2076
|
};
|
2041
2077
|
|
2042
|
-
export { BADGETYPE, Badge, BorderType, Breadcrumb, Button, ButtonGroup, ButtonGroupFormGen, ButtonGroupMultiSelect, ButtonGroupMultiSelectV2, ButtonGroupWithInputs, ButtonGroupWithInputsFormGen, ButtonGroupWithUpload, ButtonV2, Card, Checkbox as CheckBox, CheckBoxComponent, ClickedAction, ComboBox, DFHFormProvider as ComponentProvider, CustomFileInput, CustomDatePicker as DatePicker, DialogBox, DynamicDualInputTextGroupFormGen, FilterButtonGroup, Heading, HistoryDetails, Icon, IconInput, IconInputV2, ImageInput, ImagePreview, IndeterminateCheckbox, InfoCard, Input, InputDatePicker, InputDatePickerV2, InputValidation, InputsGroup, Label, ListRow, LoadingSpinner, Logo, Message, Modal, MultiSelectFormGen, NavBar, NoteEditor, NoteEditorV2, PanelCard, PhoneNumberInput, PhoneNumberInput2, PhoneNumberInput3, PreviousDataBadge, ProgressBar, RadioButton, RegularDropdown, Row, SearchDropdownWithButton, Select, SelectUserWithButton, SelectV2, SideBarListView, Signature, SortDropdown, Spinner, SsnInput, Stepper, Tab, TabButton, TabList, TabPanel, Table, TagSelect as TagDropdown, TagSelect, Textarea, Timeline, Todos, TodosV2, Tooltip, TooltipWithChildren, Typho, Typhography, TyphographyFormGen, UrgentChallenges, useSchemaProcessor as UseSchemaProcessor, VersionDateDropdown, themeConfigs, usePagination, useSorting };
|
2078
|
+
export { BADGETYPE, Badge, BorderType, Breadcrumb, Button, ButtonGroup, ButtonGroupFormGen, ButtonGroupMultiSelect, ButtonGroupMultiSelectV2, ButtonGroupWithInputs, ButtonGroupWithInputsFormGen, ButtonGroupWithUpload, ButtonV2, Card, Checkbox as CheckBox, CheckBoxComponent, ClickedAction, ComboBox, ConboboxV2 as ComboboxV2, DFHFormProvider as ComponentProvider, CustomFileInput, CustomDatePicker as DatePicker, DialogBox, DynamicDualInputTextGroupFormGen, FilterButtonGroup, Heading, HistoryDetails, Icon, IconInput, IconInputV2, ImageInput, ImagePreview, IndeterminateCheckbox, InfoCard, Input, InputDatePicker, InputDatePickerV2, InputValidation, InputsGroup, Label, ListRow, LoadingSpinner, Logo, Message, Modal, MultiSelectFormGen, NavBar, NoteEditor, NoteEditorV2, PanelCard, PhoneNumberInput, PhoneNumberInput2, PhoneNumberInput3, PreviousDataBadge, ProgressBar, RadioButton, RegularDropdown, Row, SearchDropdownWithButton, Select, SelectUserWithButton, SelectV2, SideBarListView, Signature, SortDropdown, Spinner, SsnInput, Stepper, Tab, TabButton, TabList, TabPanel, Table, TagSelect as TagDropdown, TagSelect, Textarea, Timeline, Todos, TodosV2, Tooltip, TooltipWithChildren, Typho, Typhography, TyphographyFormGen, UrgentChallenges, useSchemaProcessor as UseSchemaProcessor, VersionDateDropdown, themeConfigs, usePagination, useSorting };
|
2043
2079
|
export type { AccountPopoverMenuItem, BadgeColorVariant, BtnOptionDropdown, DropdownSearchProps, ISolutionvalues, InputType, ListMasterDataProps, LogoProps, MessageProps, NoteChildrenProps, NoteHistoryProps, NoteItemProps, NoteProps, OptionProps, TimelineEventProps, UrgentDataProps, VariantTypes };
|