dfh-ui-library 1.2.47 → 1.2.49

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.
@@ -1,7 +1,7 @@
1
1
  import React from "react";
2
2
  import { TooltipProps } from "../../shared/models/components/base.model";
3
3
  /**
4
- * Primary UI component for user interaction
4
+ * Primary UI component for Tooltip
5
5
  */
6
6
  declare const Tooltip: React.FC<TooltipProps>;
7
7
  export default Tooltip;
@@ -1,5 +1,5 @@
1
1
  import { InputHTMLAttributes, SelectHTMLAttributes, TextareaHTMLAttributes } from "react";
2
- import { IAdditionalClassesProp, IChildrenProp, IIconTypeProp, AlignmentType, IOnClickEventProps, TyphoTypes, TyphoComponents, IconHoverColorTypes, MessageTypes, InputType, IconType, LableTypes } from "./common.model";
2
+ import { IAdditionalClassesProp, IChildrenProp, IIconTypeProp, AlignmentType, IOnClickEventProps, TyphoTypes, TyphoComponents, IconHoverColorTypes, MessageTypes, InputType, IconType, LableTypes, ToolTipProps } from "./common.model";
3
3
  export type VariantTypes = "large" | "small" | "extraSmall" | "largeOutlined" | "smallOutlined" | "extraSmallOutlined" | "default" | "defaultOutlined" | "primaryBlue" | "primaryWhite" | "primaryWhiteSelected" | "primaryWhiteNoBoader" | undefined;
4
4
  export interface IButtonProps extends IChildrenProp, IAdditionalClassesProp, IIconTypeProp, IOnClickEventProps {
5
5
  /**
@@ -143,6 +143,8 @@ export interface IHookFormsInputProps extends InputHTMLAttributes<HTMLInputEleme
143
143
  iconClassRight?: string;
144
144
  iconClassLeft?: string;
145
145
  iconOnClick?: (event: React.ChangeEvent<HTMLInputElement>) => void;
146
+ enableToolTip?: boolean;
147
+ tooltipProps?: ToolTipProps;
146
148
  }
147
149
  export interface ICheckboxProps {
148
150
  onChange?: (checked: boolean) => void;
@@ -186,7 +186,7 @@ export interface DialogBoxProps {
186
186
  export interface CustomFileInputProps {
187
187
  onFileChange: (file: File | null) => void;
188
188
  }
189
- interface ToolTipProps {
189
+ export interface ToolTipProps {
190
190
  tooltipIcon?: string;
191
191
  tooltipIconClasses?: string | undefined;
192
192
  tooltipHeading?: string;
@@ -232,4 +232,3 @@ export interface ButtonGroupProps {
232
232
  onSelect: (selectedOption: string) => void;
233
233
  label?: string;
234
234
  }
235
- export {};