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.modern.js
CHANGED
|
@@ -6119,7 +6119,7 @@ var Badge = function Badge(_ref8) {
|
|
|
6119
6119
|
"$position": 'relative',
|
|
6120
6120
|
onMouseEnter: tooltipText ? handleMouseEnter : undefined,
|
|
6121
6121
|
onMouseLeave: tooltipText ? handleMouseLeave : undefined
|
|
6122
|
-
}, (icon || image || tooltipText) && React.createElement(TooltipWrapper, null, image ? React.createElement("img", {
|
|
6122
|
+
}, (icon || image || tooltipText) && (icon || image) && React.createElement(TooltipWrapper, null, image ? React.createElement("img", {
|
|
6123
6123
|
src: image.src,
|
|
6124
6124
|
alt: image.img_alt,
|
|
6125
6125
|
width: image.width,
|
|
@@ -6131,7 +6131,7 @@ var Badge = function Badge(_ref8) {
|
|
|
6131
6131
|
weight: icon.weight,
|
|
6132
6132
|
color: icon.color || themeColors.vms.text.medium,
|
|
6133
6133
|
cursor: tooltipText ? 'pointer' : 'default'
|
|
6134
|
-
}), tooltipText && React.createElement(TooltipText, {
|
|
6134
|
+
})), tooltipText && React.createElement(TooltipText, {
|
|
6135
6135
|
"$bgColor": tooltipCSS === null || tooltipCSS === void 0 ? void 0 : tooltipCSS.background,
|
|
6136
6136
|
"$visible": showTooltip,
|
|
6137
6137
|
"$color": tooltipCSS === null || tooltipCSS === void 0 ? void 0 : tooltipCSS.color,
|
|
@@ -6139,7 +6139,7 @@ var Badge = function Badge(_ref8) {
|
|
|
6139
6139
|
"$fontSize": tooltipCSS === null || tooltipCSS === void 0 ? void 0 : tooltipCSS.fontSize,
|
|
6140
6140
|
"$fontWeight": tooltipCSS === null || tooltipCSS === void 0 ? void 0 : tooltipCSS.fontWeight,
|
|
6141
6141
|
style: tooltipStyle
|
|
6142
|
-
}, tooltipText)
|
|
6142
|
+
}, tooltipText), React.createElement(Span, {
|
|
6143
6143
|
"$fontSize": fontSize,
|
|
6144
6144
|
"$fontWeight": '500',
|
|
6145
6145
|
"$color": textColor,
|