labsense-ui-kit 1.4.21 → 1.4.22
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/index.js +7 -7
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +7 -7
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.modern.js
CHANGED
|
@@ -7462,22 +7462,22 @@ var TooltipContainer = styled.div(_templateObject$4 || (_templateObject$4 = _tag
|
|
|
7462
7462
|
return $background != null ? $background : theme.vms.accent.light_1;
|
|
7463
7463
|
}, function (_ref11) {
|
|
7464
7464
|
var $position = _ref11.$position,
|
|
7465
|
-
_ref11
|
|
7466
|
-
iconSize = _ref11
|
|
7465
|
+
_ref11$$iconSize = _ref11.$iconSize,
|
|
7466
|
+
$iconSize = _ref11$$iconSize === void 0 ? 12 : _ref11$$iconSize;
|
|
7467
7467
|
if ($position.startsWith('top')) {
|
|
7468
7468
|
if ($position.endsWith('Left')) {
|
|
7469
|
-
return css(_templateObject2$4 || (_templateObject2$4 = _taggedTemplateLiteralLoose(["\n top: 100%;\n left: ", "px;\n transform: rotate(180deg);\n "])), iconSize);
|
|
7469
|
+
return css(_templateObject2$4 || (_templateObject2$4 = _taggedTemplateLiteralLoose(["\n top: 100%;\n left: ", "px;\n transform: rotate(180deg);\n "])), $iconSize);
|
|
7470
7470
|
}
|
|
7471
7471
|
if ($position.endsWith('Right')) {
|
|
7472
|
-
return css(_templateObject3$1 || (_templateObject3$1 = _taggedTemplateLiteralLoose(["\n top: 100%;\n right: ", "px;\n transform: rotate(180deg);\n "])), iconSize);
|
|
7472
|
+
return css(_templateObject3$1 || (_templateObject3$1 = _taggedTemplateLiteralLoose(["\n top: 100%;\n right: ", "px;\n transform: rotate(180deg);\n "])), $iconSize);
|
|
7473
7473
|
}
|
|
7474
7474
|
return css(_templateObject4 || (_templateObject4 = _taggedTemplateLiteralLoose(["\n top: 100%;\n left: 50%;\n transform: translateX(-50%) rotate(180deg);\n "])));
|
|
7475
7475
|
}
|
|
7476
7476
|
if ($position.endsWith('Left')) {
|
|
7477
|
-
return css(_templateObject5 || (_templateObject5 = _taggedTemplateLiteralLoose(["\n bottom: 100%;\n left: ", "px;\n "])), iconSize);
|
|
7477
|
+
return css(_templateObject5 || (_templateObject5 = _taggedTemplateLiteralLoose(["\n bottom: 100%;\n left: ", "px;\n "])), $iconSize);
|
|
7478
7478
|
}
|
|
7479
7479
|
if ($position.endsWith('Right')) {
|
|
7480
|
-
return css(_templateObject6 || (_templateObject6 = _taggedTemplateLiteralLoose(["\n bottom: 100%;\n right: ", "px;\n "])), iconSize);
|
|
7480
|
+
return css(_templateObject6 || (_templateObject6 = _taggedTemplateLiteralLoose(["\n bottom: 100%;\n right: ", "px;\n "])), $iconSize);
|
|
7481
7481
|
}
|
|
7482
7482
|
return css(_templateObject7 || (_templateObject7 = _taggedTemplateLiteralLoose(["\n bottom: 100%;\n left: 50%;\n transform: translateX(-50%);\n "])));
|
|
7483
7483
|
});
|
|
@@ -7593,7 +7593,7 @@ var IconTooltip = function IconTooltip(_ref12) {
|
|
|
7593
7593
|
cursor: 'pointer',
|
|
7594
7594
|
onClick: iconOnClick
|
|
7595
7595
|
})), portalReady && ReactDOM.createPortal(React.createElement(TooltipContainer, {
|
|
7596
|
-
iconSize: icon === null || icon === void 0 ? void 0 : icon.size,
|
|
7596
|
+
"$iconSize": icon === null || icon === void 0 ? void 0 : icon.size,
|
|
7597
7597
|
"$minWidth": tooltipCSS.minWidth,
|
|
7598
7598
|
"$maxWidth": tooltipCSS.maxWidth,
|
|
7599
7599
|
"$background": tooltipCSS.background || themeColors.vms.accent.light_1,
|