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.
@@ -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
- inputValue?: string;
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 };
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.31",
4
4
  "description": "",
5
5
  "scripts": {
6
6
  "rollup": "rollup -c --bundleConfigAsCjs --environment NODE_ENV:production",