dfh-ui-library 1.13.53 → 1.13.55
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/FormElements/Select/index.d.ts +2 -0
- package/dist/cjs/types/components/FormElements/index.d.ts +1 -1
- package/dist/cjs/types/components/index.d.ts +1 -1
- package/dist/cjs/types/shared/models/components/base.model.d.ts +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/components/FormElements/Select/index.d.ts +2 -0
- package/dist/esm/types/components/FormElements/index.d.ts +1 -1
- package/dist/esm/types/components/index.d.ts +1 -1
- package/dist/esm/types/shared/models/components/base.model.d.ts +1 -1
- package/dist/index.d.ts +29 -2
- package/package.json +1 -1
@@ -2,7 +2,7 @@ export { default as CheckBox } from './CheckBox';
|
|
2
2
|
export { default as InputValidation } from './InputValidation';
|
3
3
|
export { default as Input } from './Input';
|
4
4
|
export { default as Label } from './Label';
|
5
|
-
export
|
5
|
+
export * from './Select';
|
6
6
|
export { default as RadioButton } from './RadioButton';
|
7
7
|
export { Textarea, TextareaWithCount, TextareaWithCountV2 } from './Textarea';
|
8
8
|
export { default as IconInput } from './IconInput';
|
@@ -3,7 +3,7 @@ export { default as Button } from './Button';
|
|
3
3
|
export { default as ButtonV2 } from './Button/ButtonV2';
|
4
4
|
export { default as Typhography } from './Typhography';
|
5
5
|
export { default as TyphographyFormGen } from './TyphographyFormGen';
|
6
|
-
export { Input, Select, CheckBox, Label, InputValidation, Textarea, RadioButton, IconInput, ImageInput, } from './FormElements';
|
6
|
+
export { Input, Select, SelectV2, CheckBox, Label, InputValidation, Textarea, RadioButton, IconInput, ImageInput, } from './FormElements';
|
7
7
|
export { default as Card } from './Card';
|
8
8
|
export { default as ComboBox } from './ComboBox';
|
9
9
|
export { default as ComponentProvider } from './ComponentProvider';
|
@@ -107,7 +107,7 @@ export interface IHookFormsInputProps extends InputHTMLAttributes<HTMLInputEleme
|
|
107
107
|
*/
|
108
108
|
labelName?: string;
|
109
109
|
isCrossIcon?: boolean;
|
110
|
-
isCrossIconHandler?: () => void;
|
110
|
+
isCrossIconHandler?: (e: React.MouseEvent<HTMLDivElement, MouseEvent>) => void;
|
111
111
|
/**
|
112
112
|
* Set the Label Type
|
113
113
|
*/
|
package/dist/index.d.ts
CHANGED
@@ -944,7 +944,7 @@ interface IHookFormsInputProps extends InputHTMLAttributes<HTMLInputElement> {
|
|
944
944
|
*/
|
945
945
|
labelName?: string;
|
946
946
|
isCrossIcon?: boolean;
|
947
|
-
isCrossIconHandler?: () => void;
|
947
|
+
isCrossIconHandler?: (e: React__default.MouseEvent<HTMLDivElement, MouseEvent>) => void;
|
948
948
|
/**
|
949
949
|
* Set the Label Type
|
950
950
|
*/
|
@@ -1349,6 +1349,33 @@ declare const Label: React__default.FC<ILabelProps>;
|
|
1349
1349
|
*/
|
1350
1350
|
declare const Select: React__default.FC<ISelectProps>;
|
1351
1351
|
|
1352
|
+
interface Option {
|
1353
|
+
value: string;
|
1354
|
+
displayName: string;
|
1355
|
+
}
|
1356
|
+
interface SelectV2Props {
|
1357
|
+
name?: string;
|
1358
|
+
label?: string;
|
1359
|
+
error?: string;
|
1360
|
+
options?: Option[];
|
1361
|
+
wrapperClass?: string;
|
1362
|
+
defaultText?: string;
|
1363
|
+
additionalClasses?: string;
|
1364
|
+
labelType?: LABELTYPE;
|
1365
|
+
onChange?: (value: string) => void;
|
1366
|
+
onInputChange?: (value: string) => void;
|
1367
|
+
labelClasses?: string;
|
1368
|
+
value?: string;
|
1369
|
+
defaultValue?: string;
|
1370
|
+
iconClasses?: string;
|
1371
|
+
isIcon?: boolean;
|
1372
|
+
secondaryText?: string;
|
1373
|
+
isRequired?: boolean;
|
1374
|
+
disabled?: boolean;
|
1375
|
+
selectType?: "medium" | "small" | "large";
|
1376
|
+
}
|
1377
|
+
declare const SelectV2: React__default.FC<SelectV2Props>;
|
1378
|
+
|
1352
1379
|
/**
|
1353
1380
|
* Primary UI component for user interaction
|
1354
1381
|
*/
|
@@ -1970,5 +1997,5 @@ declare const themeConfigs: {
|
|
1970
1997
|
plugins: any[];
|
1971
1998
|
};
|
1972
1999
|
|
1973
|
-
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, 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, SideBarListView, Signature, SortDropdown, Spinner, SsnInput, Stepper, Tab, TabButton, TabList, TabPanel, Table, TagSelect as TagDropdown, TagSelect, Textarea, Timeline, Todos, Tooltip, TooltipWithChildren, Typho, Typhography, TyphographyFormGen, UrgentChallenges, useSchemaProcessor as UseSchemaProcessor, VersionDateDropdown, themeConfigs, usePagination, useSorting };
|
2000
|
+
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, 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, Tooltip, TooltipWithChildren, Typho, Typhography, TyphographyFormGen, UrgentChallenges, useSchemaProcessor as UseSchemaProcessor, VersionDateDropdown, themeConfigs, usePagination, useSorting };
|
1974
2001
|
export type { AccountPopoverMenuItem, BadgeColorVariant, BtnOptionDropdown, DropdownSearchProps, ISolutionvalues, InputType, ListMasterDataProps, LogoProps, MessageProps, NoteChildrenProps, NoteHistoryProps, NoteItemProps, NoteProps, OptionProps, TimelineEventProps, UrgentDataProps, VariantTypes };
|