dfh-ui-library 1.2.29 → 1.2.30

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 @@
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";
package/dist/index.d.ts CHANGED
@@ -140,6 +140,23 @@ 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
+ inputValue?: string;
158
+ setInputValue?: (data: any) => void;
159
+ }
143
160
  type LableTypes = "default" | "black" | "smallSelect" | "blackSmall" | "formLabel" | "formLabelMedeum";
144
161
 
145
162
  interface IButtonProps extends IChildrenProp, IAdditionalClassesProp, IIconTypeProp, IOnClickEventProps {
@@ -589,6 +606,8 @@ interface HeadingProps {
589
606
  */
590
607
  declare const Heading: React$1.FC<HeadingProps>;
591
608
 
609
+ declare const DropdownMultiselect: React$1.FC<DropdownMultiselectProps>;
610
+
592
611
  interface UseSchemaProcessorProps {
593
612
  schema: ISchema[];
594
613
  externalSetComponents: (data: IComponent[]) => void;
@@ -597,4 +616,4 @@ declare const useSchemaProcessor: ({ schema, externalSetComponents, }: UseSchema
597
616
  componentsRtn: IComponent[] | undefined;
598
617
  };
599
618
 
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 };
619
+ 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 };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dfh-ui-library",
3
- "version": "1.2.29",
3
+ "version": "1.2.30",
4
4
  "description": "",
5
5
  "scripts": {
6
6
  "rollup": "rollup -c --bundleConfigAsCjs --environment NODE_ENV:production",