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.
- package/dist/cjs/index.js +1 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/components/Tooltip/Tooltip.d.ts +1 -1
- package/dist/cjs/types/shared/models/components/base.model.d.ts +3 -1
- 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/Tooltip/Tooltip.d.ts +1 -1
- package/dist/esm/types/shared/models/components/base.model.d.ts +3 -1
- package/dist/esm/types/shared/models/components/common.model.d.ts +1 -2
- package/dist/index.d.ts +3 -1
- package/package.json +1 -1
|
@@ -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
|
|
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 {};
|