Skip to content

Commit bfd0e1e

Browse files
authored
Create a new dist version 2.2.3 (#330)
Collecting: - Fix [UI] Warning icon overlay on input text (#328) - Impl [NPM] Upgrade webpack package in DRC (#326)
1 parent 91daf5e commit bfd0e1e

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

commit_message

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11

22

3-
Create a new dist version 2.2.2
3+
Create a new dist version 2.2.3
44

55
Collecting:
6-
- Tests [UI] Add GitHub Action Workflow for "dashboard-react-controls" Repository (#317)
7-
- Fix [UI] UI small fixes (#321)
8-
- Fix [Tests] Add Branch Patterns for CI workflow pull_request Triggers in GitHub Action (#323)
6+
- Fix [UI] Warning icon overlay on input text (#328)
7+
- Impl [NPM] Upgrade webpack package in DRC (#326)

dist/components/Tooltip/Tooltip.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,12 +60,13 @@ const Tooltip = _ref => {
6060
}, [hidden]);
6161
const handleMouseEnter = (0, _react.useCallback)(event => {
6262
if (!show) {
63+
var _child$childNodes, _child$childNodes2;
6364
const [child] = parentRef.current.childNodes;
64-
let show = !hidden && (textShow ? true : !child ? false : child.nodeType !== Node.TEXT_NODE || (
65+
let show = !hidden && (textShow ? true : !child ? false : child.nodeType !== Node.TEXT_NODE && ((_child$childNodes = child.childNodes) === null || _child$childNodes === void 0 || (_child$childNodes = _child$childNodes[0]) === null || _child$childNodes === void 0 ? void 0 : _child$childNodes.nodeType) !== Node.TEXT_NODE || (
6566
/*
6667
If the child node is a text node and the text of the child node inside the container is greater than the width of the container, then show tooltip.
6768
*/
68-
child.nodeType === Node.TEXT_NODE && parentRef.current.scrollWidth > parentRef.current.offsetWidth));
69+
(child.nodeType === Node.TEXT_NODE || ((_child$childNodes2 = child.childNodes) === null || _child$childNodes2 === void 0 || (_child$childNodes2 = _child$childNodes2[0]) === null || _child$childNodes2 === void 0 ? void 0 : _child$childNodes2.nodeType) === Node.TEXT_NODE) && parentRef.current.scrollWidth > parentRef.current.offsetWidth));
6970
setShow(show);
7071
setTimeout(() => {
7172
if (show) {

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "iguazio.dashboard-react-controls",
3-
"version": "2.2.2",
3+
"version": "2.2.3",
44
"description": "Collection of resources (such as CSS styles, fonts and images) and ReactJS 17.x components to share among different Iguazio React repos.",
55
"main": "dist/index.js",
66
"module": "dist/index.js",

0 commit comments

Comments
 (0)