labsense-ui-kit 1.1.55 → 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/Themes/index.d.ts +1 -0
- package/dist/index.js +3 -14
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +3 -14
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.modern.js
CHANGED
|
@@ -28,6 +28,7 @@ var light = {
|
|
|
28
28
|
light_2: '#F5F8FA',
|
|
29
29
|
light_3: '#F0F3F5',
|
|
30
30
|
light_4: '#ECF0F4',
|
|
31
|
+
light_5: '#F0F0F3',
|
|
31
32
|
softBlue: '#D4EEFF',
|
|
32
33
|
extraSoftBlue: '#E4F4FF',
|
|
33
34
|
boldTransparent: '#5E5E5E80',
|
|
@@ -97,6 +98,7 @@ var dark = {
|
|
|
97
98
|
light_2: '#1F2327',
|
|
98
99
|
light_3: '#F0F3F5',
|
|
99
100
|
light_4: '#ECF0F4',
|
|
101
|
+
light_5: '#F0F0F3',
|
|
100
102
|
softBlue: '#2C3E50',
|
|
101
103
|
extraSoftBlue: '#34495E',
|
|
102
104
|
boldTransparent: '#D3D3D380',
|
|
@@ -3642,9 +3644,6 @@ var IconTooltip = function IconTooltip(_ref7) {
|
|
|
3642
3644
|
} : _ref7$icon,
|
|
3643
3645
|
infoIcon = _ref7.infoIcon,
|
|
3644
3646
|
infoText = _ref7.infoText,
|
|
3645
|
-
infoText2 = _ref7.infoText2,
|
|
3646
|
-
infoText3 = _ref7.infoText3,
|
|
3647
|
-
infoText4 = _ref7.infoText4,
|
|
3648
3647
|
_ref7$tooltipCSS = _ref7.tooltipCSS,
|
|
3649
3648
|
tooltipCSS = _ref7$tooltipCSS === void 0 ? {
|
|
3650
3649
|
background: colorVariables.accent.light_1,
|
|
@@ -3656,7 +3655,6 @@ var IconTooltip = function IconTooltip(_ref7) {
|
|
|
3656
3655
|
fontSize: '12px',
|
|
3657
3656
|
fontWeight: '400'
|
|
3658
3657
|
} : _ref7$tooltipCSS;
|
|
3659
|
-
var texts = [infoText, infoText2, infoText3, infoText4].filter(Boolean);
|
|
3660
3658
|
return React.createElement(TooltipWrapper$1, null, React.createElement(Icon, Object.assign({}, icon, {
|
|
3661
3659
|
onClick: function onClick() {}
|
|
3662
3660
|
})), React.createElement(TooltipContainer, {
|
|
@@ -3666,16 +3664,7 @@ var IconTooltip = function IconTooltip(_ref7) {
|
|
|
3666
3664
|
"$background": tooltipCSS.background,
|
|
3667
3665
|
"$gap": tooltipCSS.gap,
|
|
3668
3666
|
"$iconSize": icon.size || 17
|
|
3669
|
-
}, infoIcon && React.createElement(Icon, Object.assign({}, infoIcon)),
|
|
3670
|
-
"$flexDirection": 'column'
|
|
3671
|
-
}, texts.map(function (text, i) {
|
|
3672
|
-
return React.createElement(Span, {
|
|
3673
|
-
key: i,
|
|
3674
|
-
"$color": tooltipCSS.color,
|
|
3675
|
-
"$fontSize": tooltipCSS.fontSize,
|
|
3676
|
-
"$fontWeight": tooltipCSS.fontWeight
|
|
3677
|
-
}, text, i < texts.length - 1 && React.createElement("br", null));
|
|
3678
|
-
}))));
|
|
3667
|
+
}, infoIcon && React.createElement(Icon, Object.assign({}, infoIcon)), infoText));
|
|
3679
3668
|
};
|
|
3680
3669
|
|
|
3681
3670
|
var _templateObject$4;
|