dfh-ui-library 1.2.29 → 1.2.31
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/TagDropdown/index.d.ts +1 -0
- package/dist/cjs/types/components/index.d.ts +1 -0
- package/dist/cjs/types/shared/models/components/common.model.d.ts +1 -2
- package/dist/esm/index.js +1 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/components/TagDropdown/index.d.ts +1 -0
- package/dist/esm/types/components/index.d.ts +1 -0
- package/dist/esm/types/shared/models/components/common.model.d.ts +1 -2
- package/dist/index.d.ts +19 -1
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./TagDropdown";
|
|
@@ -18,3 +18,4 @@ export { default as DialogBox } from "../components/core/DialogBox";
|
|
|
18
18
|
export { default as Modal } from "../components/Modal";
|
|
19
19
|
export { default as CustomFileInput } from "./CustomFileInput";
|
|
20
20
|
export { Heading } from "./core/Heading";
|
|
21
|
+
export { default as TagDropdown } from "./TagDropdown";
|
|
@@ -194,8 +194,7 @@ export interface DropdownMultiselectProps {
|
|
|
194
194
|
labelType?: LableTypes;
|
|
195
195
|
enableToolTip?: boolean;
|
|
196
196
|
tooltipProps?: ToolTipProps;
|
|
197
|
-
|
|
198
|
-
setInputValue?: (data: any) => void;
|
|
197
|
+
onSelectedValuesChange: (selectedValues: string[]) => void;
|
|
199
198
|
}
|
|
200
199
|
export type LableTypes = "default" | "black" | "smallSelect" | "blackSmall" | "formLabel" | "formLabelMedeum";
|
|
201
200
|
export {};
|
package/dist/index.d.ts
CHANGED
|
@@ -140,6 +140,22 @@ interface DialogBoxProps {
|
|
|
140
140
|
interface CustomFileInputProps {
|
|
141
141
|
onFileChange: (file: File | null) => void;
|
|
142
142
|
}
|
|
143
|
+
interface ToolTipProps {
|
|
144
|
+
tooltipIcon?: string;
|
|
145
|
+
tooltipIconClasses?: string | undefined;
|
|
146
|
+
tooltipHeading?: string;
|
|
147
|
+
tooltipContent?: React.ReactNode;
|
|
148
|
+
tooltipClick?: (e: React.ChangeEvent<HTMLSelectElement>) => void;
|
|
149
|
+
showTooltip?: boolean;
|
|
150
|
+
}
|
|
151
|
+
interface DropdownMultiselectProps {
|
|
152
|
+
options: string[];
|
|
153
|
+
label?: string;
|
|
154
|
+
labelType?: LableTypes;
|
|
155
|
+
enableToolTip?: boolean;
|
|
156
|
+
tooltipProps?: ToolTipProps;
|
|
157
|
+
onSelectedValuesChange: (selectedValues: string[]) => void;
|
|
158
|
+
}
|
|
143
159
|
type LableTypes = "default" | "black" | "smallSelect" | "blackSmall" | "formLabel" | "formLabelMedeum";
|
|
144
160
|
|
|
145
161
|
interface IButtonProps extends IChildrenProp, IAdditionalClassesProp, IIconTypeProp, IOnClickEventProps {
|
|
@@ -589,6 +605,8 @@ interface HeadingProps {
|
|
|
589
605
|
*/
|
|
590
606
|
declare const Heading: React$1.FC<HeadingProps>;
|
|
591
607
|
|
|
608
|
+
declare const DropdownMultiselect: React$1.FC<DropdownMultiselectProps>;
|
|
609
|
+
|
|
592
610
|
interface UseSchemaProcessorProps {
|
|
593
611
|
schema: ISchema[];
|
|
594
612
|
externalSetComponents: (data: IComponent[]) => void;
|
|
@@ -597,4 +615,4 @@ declare const useSchemaProcessor: ({ schema, externalSetComponents, }: UseSchema
|
|
|
597
615
|
componentsRtn: IComponent[] | undefined;
|
|
598
616
|
};
|
|
599
617
|
|
|
600
|
-
export { Breadcrumb, Button, Card, Checkbox as CheckBox, DFHFormProvider as ComponentProvider, CustomFileInput, CustomDatePicker as DatePicker, DialogBox, Heading, IconInput, ImagePreview, Input, type InputType, InputValidation, Label, LoadingSpinner, Logo, type LogoProps, Message, type MessageProps, Modal, NavBar, PhoneNumberInput, RadioButton, Row, Select, Textarea, Tooltip, Typhography, useSchemaProcessor as UseSchemaProcessor };
|
|
618
|
+
export { Breadcrumb, Button, Card, Checkbox as CheckBox, DFHFormProvider as ComponentProvider, CustomFileInput, CustomDatePicker as DatePicker, DialogBox, Heading, IconInput, ImagePreview, Input, type InputType, InputValidation, Label, LoadingSpinner, Logo, type LogoProps, Message, type MessageProps, Modal, NavBar, PhoneNumberInput, RadioButton, Row, Select, DropdownMultiselect as TagDropdown, Textarea, Tooltip, Typhography, useSchemaProcessor as UseSchemaProcessor };
|