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.js
CHANGED
|
@@ -7467,22 +7467,22 @@ var TooltipContainer = styled__default.div(_templateObject$4 || (_templateObject
|
|
|
7467
7467
|
return $background != null ? $background : theme.vms.accent.light_1;
|
|
7468
7468
|
}, function (_ref11) {
|
|
7469
7469
|
var $position = _ref11.$position,
|
|
7470
|
-
_ref11
|
|
7471
|
-
iconSize = _ref11
|
|
7470
|
+
_ref11$$iconSize = _ref11.$iconSize,
|
|
7471
|
+
$iconSize = _ref11$$iconSize === void 0 ? 12 : _ref11$$iconSize;
|
|
7472
7472
|
if ($position.startsWith('top')) {
|
|
7473
7473
|
if ($position.endsWith('Left')) {
|
|
7474
|
-
return styled.css(_templateObject2$4 || (_templateObject2$4 = _taggedTemplateLiteralLoose(["\n top: 100%;\n left: ", "px;\n transform: rotate(180deg);\n "])), iconSize);
|
|
7474
|
+
return styled.css(_templateObject2$4 || (_templateObject2$4 = _taggedTemplateLiteralLoose(["\n top: 100%;\n left: ", "px;\n transform: rotate(180deg);\n "])), $iconSize);
|
|
7475
7475
|
}
|
|
7476
7476
|
if ($position.endsWith('Right')) {
|
|
7477
|
-
return styled.css(_templateObject3$1 || (_templateObject3$1 = _taggedTemplateLiteralLoose(["\n top: 100%;\n right: ", "px;\n transform: rotate(180deg);\n "])), iconSize);
|
|
7477
|
+
return styled.css(_templateObject3$1 || (_templateObject3$1 = _taggedTemplateLiteralLoose(["\n top: 100%;\n right: ", "px;\n transform: rotate(180deg);\n "])), $iconSize);
|
|
7478
7478
|
}
|
|
7479
7479
|
return styled.css(_templateObject4 || (_templateObject4 = _taggedTemplateLiteralLoose(["\n top: 100%;\n left: 50%;\n transform: translateX(-50%) rotate(180deg);\n "])));
|
|
7480
7480
|
}
|
|
7481
7481
|
if ($position.endsWith('Left')) {
|
|
7482
|
-
return styled.css(_templateObject5 || (_templateObject5 = _taggedTemplateLiteralLoose(["\n bottom: 100%;\n left: ", "px;\n "])), iconSize);
|
|
7482
|
+
return styled.css(_templateObject5 || (_templateObject5 = _taggedTemplateLiteralLoose(["\n bottom: 100%;\n left: ", "px;\n "])), $iconSize);
|
|
7483
7483
|
}
|
|
7484
7484
|
if ($position.endsWith('Right')) {
|
|
7485
|
-
return styled.css(_templateObject6 || (_templateObject6 = _taggedTemplateLiteralLoose(["\n bottom: 100%;\n right: ", "px;\n "])), iconSize);
|
|
7485
|
+
return styled.css(_templateObject6 || (_templateObject6 = _taggedTemplateLiteralLoose(["\n bottom: 100%;\n right: ", "px;\n "])), $iconSize);
|
|
7486
7486
|
}
|
|
7487
7487
|
return styled.css(_templateObject7 || (_templateObject7 = _taggedTemplateLiteralLoose(["\n bottom: 100%;\n left: 50%;\n transform: translateX(-50%);\n "])));
|
|
7488
7488
|
});
|
|
@@ -7598,7 +7598,7 @@ var IconTooltip = function IconTooltip(_ref12) {
|
|
|
7598
7598
|
cursor: 'pointer',
|
|
7599
7599
|
onClick: iconOnClick
|
|
7600
7600
|
})), portalReady && ReactDOM__default.createPortal(React__default.createElement(TooltipContainer, {
|
|
7601
|
-
iconSize: icon === null || icon === void 0 ? void 0 : icon.size,
|
|
7601
|
+
"$iconSize": icon === null || icon === void 0 ? void 0 : icon.size,
|
|
7602
7602
|
"$minWidth": tooltipCSS.minWidth,
|
|
7603
7603
|
"$maxWidth": tooltipCSS.maxWidth,
|
|
7604
7604
|
"$background": tooltipCSS.background || themeColors.vms.accent.light_1,
|