dfh-ui-library 1.13.78 → 1.13.79
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/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/index.d.ts +38 -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';
|
package/dist/index.d.ts
CHANGED
@@ -1355,7 +1355,7 @@ declare const Label: React__default.FC<ILabelProps>;
|
|
1355
1355
|
*/
|
1356
1356
|
declare const Select: React__default.FC<ISelectProps>;
|
1357
1357
|
|
1358
|
-
interface Option {
|
1358
|
+
interface Option$1 {
|
1359
1359
|
value: string;
|
1360
1360
|
displayName: string;
|
1361
1361
|
}
|
@@ -1363,7 +1363,7 @@ interface SelectV2Props {
|
|
1363
1363
|
name?: string;
|
1364
1364
|
label?: string;
|
1365
1365
|
error?: string;
|
1366
|
-
options?: Option[];
|
1366
|
+
options?: Option$1[];
|
1367
1367
|
wrapperClass?: string;
|
1368
1368
|
defaultText?: string;
|
1369
1369
|
additionalClasses?: string;
|
@@ -1461,6 +1461,41 @@ interface ComboBoxProps {
|
|
1461
1461
|
}
|
1462
1462
|
declare const ComboBox: FC<ComboBoxProps>;
|
1463
1463
|
|
1464
|
+
interface Option {
|
1465
|
+
value: string;
|
1466
|
+
displayName: string;
|
1467
|
+
}
|
1468
|
+
interface ConboboxV2Props {
|
1469
|
+
name?: string;
|
1470
|
+
label?: string;
|
1471
|
+
error?: string;
|
1472
|
+
options?: Option[];
|
1473
|
+
wrapperClass?: string;
|
1474
|
+
defaultText?: string;
|
1475
|
+
additionalClasses?: string;
|
1476
|
+
labelType?: LABELTYPE;
|
1477
|
+
onChange?: (value: string | {
|
1478
|
+
value: string;
|
1479
|
+
displayName: string;
|
1480
|
+
}) => void;
|
1481
|
+
onInputChange?: (value: string) => void;
|
1482
|
+
onFocus?: () => void;
|
1483
|
+
labelClasses?: string;
|
1484
|
+
defaultValue?: string;
|
1485
|
+
iconClasses?: string;
|
1486
|
+
isIcon?: boolean;
|
1487
|
+
secondaryText?: string;
|
1488
|
+
isRequired?: boolean;
|
1489
|
+
disabled?: boolean;
|
1490
|
+
selectType?: 'medium' | 'small' | 'large' | 'regular';
|
1491
|
+
isAdditionalErrorInput?: boolean;
|
1492
|
+
additionalErrorClasses?: string;
|
1493
|
+
isBorderedError?: boolean;
|
1494
|
+
onOpen?: () => Promise<void>;
|
1495
|
+
isLoading?: boolean;
|
1496
|
+
}
|
1497
|
+
declare const ConboboxV2: React__default.FC<ConboboxV2Props>;
|
1498
|
+
|
1464
1499
|
interface IComponentProps {
|
1465
1500
|
schema: ISchema[];
|
1466
1501
|
children: ReactNode;
|
@@ -2039,5 +2074,5 @@ declare const themeConfigs: {
|
|
2039
2074
|
plugins: any[];
|
2040
2075
|
};
|
2041
2076
|
|
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 };
|
2077
|
+
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
2078
|
export type { AccountPopoverMenuItem, BadgeColorVariant, BtnOptionDropdown, DropdownSearchProps, ISolutionvalues, InputType, ListMasterDataProps, LogoProps, MessageProps, NoteChildrenProps, NoteHistoryProps, NoteItemProps, NoteProps, OptionProps, TimelineEventProps, UrgentDataProps, VariantTypes };
|