@muraldevkit/ui-toolkit 4.54.0 → 4.55.1-dev-nYXo.1
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/components/avatar/MrlAvatar/MrlAvatar.d.ts +3 -3
- package/dist/components/tooltip/MrlTooltip/MrlTooltip.d.ts +2 -0
- package/dist/components/tooltip/MrlTooltipContent/MrlTooltipContent.d.ts +2 -0
- package/dist/index.js +1 -1
- package/dist/styles/MrlKeystroke/module.scss +1 -1
- package/dist/styles/MrlTooltipContent/global.scss +5 -0
- package/dist/styles.css +2 -2
- package/package.json +3 -3
|
@@ -22,9 +22,9 @@ declare const avatarValues: {
|
|
|
22
22
|
};
|
|
23
23
|
export declare const defaultAvatarValues: avatarDefaults;
|
|
24
24
|
/**
|
|
25
|
-
* Renders an avatar component
|
|
26
|
-
* @param {MrlAvatarPropTypes} props the props for your MrlAvatar
|
|
27
|
-
* @returns {React.ReactElement} an avatar containing the props you pass
|
|
25
|
+
* Renders an avatar component.
|
|
26
|
+
* @param {MrlAvatarPropTypes} props the props for your MrlAvatar.
|
|
27
|
+
* @returns {React.ReactElement} an avatar containing the props you pass.
|
|
28
28
|
*/
|
|
29
29
|
export declare const MrlAvatar: ({ alt, avatarColor, dataQa, kind, image, name, showBorder, size, ...rest }: MrlAvatarPropTypes) => React.ReactElement;
|
|
30
30
|
export {};
|
|
@@ -39,6 +39,8 @@ interface MrlTooltipProps {
|
|
|
39
39
|
tooltipClass?: string;
|
|
40
40
|
/** A class to be applied ot the tooltip content */
|
|
41
41
|
tooltipContentClass?: string;
|
|
42
|
+
/** A custom render function to render the tooltip content */
|
|
43
|
+
customRender?: (text?: string) => React.ReactNode;
|
|
42
44
|
}
|
|
43
45
|
/**
|
|
44
46
|
* MrlTooltip Component
|
|
@@ -28,6 +28,8 @@ interface MrlTooltipContentProps {
|
|
|
28
28
|
text: string;
|
|
29
29
|
/** A class to be applied ot the tooltip content */
|
|
30
30
|
tooltipContentClass?: string;
|
|
31
|
+
/** A custom render function to render the tooltip content */
|
|
32
|
+
customRender?: (text?: string) => React.ReactNode;
|
|
31
33
|
}
|
|
32
34
|
/**
|
|
33
35
|
* MrlTooltipContent Component
|