labsense-ui-kit 1.3.7 → 1.3.8
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 +3 -3
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +3 -3
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -6123,7 +6123,7 @@ var Badge = function Badge(_ref8) {
|
|
|
6123
6123
|
"$position": 'relative',
|
|
6124
6124
|
onMouseEnter: tooltipText ? handleMouseEnter : undefined,
|
|
6125
6125
|
onMouseLeave: tooltipText ? handleMouseLeave : undefined
|
|
6126
|
-
}, (icon || image || tooltipText) && React__default.createElement(TooltipWrapper, null, image ? React__default.createElement("img", {
|
|
6126
|
+
}, (icon || image || tooltipText) && (icon || image) && React__default.createElement(TooltipWrapper, null, image ? React__default.createElement("img", {
|
|
6127
6127
|
src: image.src,
|
|
6128
6128
|
alt: image.img_alt,
|
|
6129
6129
|
width: image.width,
|
|
@@ -6135,7 +6135,7 @@ var Badge = function Badge(_ref8) {
|
|
|
6135
6135
|
weight: icon.weight,
|
|
6136
6136
|
color: icon.color || themeColors.vms.text.medium,
|
|
6137
6137
|
cursor: tooltipText ? 'pointer' : 'default'
|
|
6138
|
-
}), tooltipText && React__default.createElement(TooltipText, {
|
|
6138
|
+
})), tooltipText && React__default.createElement(TooltipText, {
|
|
6139
6139
|
"$bgColor": tooltipCSS === null || tooltipCSS === void 0 ? void 0 : tooltipCSS.background,
|
|
6140
6140
|
"$visible": showTooltip,
|
|
6141
6141
|
"$color": tooltipCSS === null || tooltipCSS === void 0 ? void 0 : tooltipCSS.color,
|
|
@@ -6143,7 +6143,7 @@ var Badge = function Badge(_ref8) {
|
|
|
6143
6143
|
"$fontSize": tooltipCSS === null || tooltipCSS === void 0 ? void 0 : tooltipCSS.fontSize,
|
|
6144
6144
|
"$fontWeight": tooltipCSS === null || tooltipCSS === void 0 ? void 0 : tooltipCSS.fontWeight,
|
|
6145
6145
|
style: tooltipStyle
|
|
6146
|
-
}, tooltipText)
|
|
6146
|
+
}, tooltipText), React__default.createElement(Span, {
|
|
6147
6147
|
"$fontSize": fontSize,
|
|
6148
6148
|
"$fontWeight": '500',
|
|
6149
6149
|
"$color": textColor,
|