labsense-ui-kit 1.1.56 → 1.1.57
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/Badge/IconTooltip.d.ts +1 -4
- package/dist/index.js +1 -14
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +1 -14
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.modern.js
CHANGED
|
@@ -3644,9 +3644,6 @@ var IconTooltip = function IconTooltip(_ref7) {
|
|
|
3644
3644
|
} : _ref7$icon,
|
|
3645
3645
|
infoIcon = _ref7.infoIcon,
|
|
3646
3646
|
infoText = _ref7.infoText,
|
|
3647
|
-
infoText2 = _ref7.infoText2,
|
|
3648
|
-
infoText3 = _ref7.infoText3,
|
|
3649
|
-
infoText4 = _ref7.infoText4,
|
|
3650
3647
|
_ref7$tooltipCSS = _ref7.tooltipCSS,
|
|
3651
3648
|
tooltipCSS = _ref7$tooltipCSS === void 0 ? {
|
|
3652
3649
|
background: colorVariables.accent.light_1,
|
|
@@ -3658,7 +3655,6 @@ var IconTooltip = function IconTooltip(_ref7) {
|
|
|
3658
3655
|
fontSize: '12px',
|
|
3659
3656
|
fontWeight: '400'
|
|
3660
3657
|
} : _ref7$tooltipCSS;
|
|
3661
|
-
var texts = [infoText, infoText2, infoText3, infoText4].filter(Boolean);
|
|
3662
3658
|
return React.createElement(TooltipWrapper$1, null, React.createElement(Icon, Object.assign({}, icon, {
|
|
3663
3659
|
onClick: function onClick() {}
|
|
3664
3660
|
})), React.createElement(TooltipContainer, {
|
|
@@ -3668,16 +3664,7 @@ var IconTooltip = function IconTooltip(_ref7) {
|
|
|
3668
3664
|
"$background": tooltipCSS.background,
|
|
3669
3665
|
"$gap": tooltipCSS.gap,
|
|
3670
3666
|
"$iconSize": icon.size || 17
|
|
3671
|
-
}, infoIcon && React.createElement(Icon, Object.assign({}, infoIcon)),
|
|
3672
|
-
"$flexDirection": 'column'
|
|
3673
|
-
}, texts.map(function (text, i) {
|
|
3674
|
-
return React.createElement(Span, {
|
|
3675
|
-
key: i,
|
|
3676
|
-
"$color": tooltipCSS.color,
|
|
3677
|
-
"$fontSize": tooltipCSS.fontSize,
|
|
3678
|
-
"$fontWeight": tooltipCSS.fontWeight
|
|
3679
|
-
}, text, i < texts.length - 1 && React.createElement("br", null));
|
|
3680
|
-
}))));
|
|
3667
|
+
}, infoIcon && React.createElement(Icon, Object.assign({}, infoIcon)), infoText));
|
|
3681
3668
|
};
|
|
3682
3669
|
|
|
3683
3670
|
var _templateObject$4;
|