From 4bf9dade25f89649386ac4f0018cc767792c8640 Mon Sep 17 00:00:00 2001 From: VinuGanesan Date: Mon, 4 Jul 2022 17:30:26 +0530 Subject: [PATCH 1/2] Field tooltip title with link fixed --- src/components/Shared/InputLabelHelp.js | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/src/components/Shared/InputLabelHelp.js b/src/components/Shared/InputLabelHelp.js index cc869d4a1..cdb9e45f7 100644 --- a/src/components/Shared/InputLabelHelp.js +++ b/src/components/Shared/InputLabelHelp.js @@ -22,6 +22,11 @@ const useStyles = makeStyles(theme => ({ linkHelpLabel: { paddingLeft: theme.spacing(0.5), }, + tooltipPopper: { + '& a': { + color: theme.palette.common.white, + }, + }, })) export default function InputLabelHelp({ @@ -38,7 +43,12 @@ export default function InputLabelHelp({ {inputLabel} {type === 'tooltip' ? ( - + } + placement={tooltipPlacement} + classes={{ popper: classes.tooltipPopper }} + > {icon ? icon : } {label ? ( From 12147ebb438a6fbaeb540ce3cf67a05b03c907dc Mon Sep 17 00:00:00 2001 From: "vinu.ganesan" Date: Mon, 8 Aug 2022 20:08:38 +0530 Subject: [PATCH 2/2] Package version updated --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index d2cecae34..6270a5709 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@unicef/material-ui", - "version": "0.11.0", + "version": "0.11.1", "description": "UNICEF theme and components of material-ui for react", "main": "index.js", "files": [