labsense-ui-kit 1.2.75 → 1.2.76

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.
@@ -6098,7 +6098,7 @@ var Badge = function Badge(_ref8) {
6098
6098
  "$position": 'relative',
6099
6099
  onMouseEnter: tooltipText && icon ? handleMouseEnter : undefined,
6100
6100
  onMouseLeave: tooltipText && icon ? handleMouseLeave : undefined
6101
- }, tooltipText && icon && React.createElement(TooltipWrapper, null, image ? React.createElement("img", {
6101
+ }, (icon || image) && React.createElement(TooltipWrapper, null, image ? React.createElement("img", {
6102
6102
  src: image.src,
6103
6103
  alt: image.img_alt,
6104
6104
  width: image.width,
@@ -6110,7 +6110,7 @@ var Badge = function Badge(_ref8) {
6110
6110
  weight: icon.weight,
6111
6111
  color: icon.color || themeColors.vms.text.medium,
6112
6112
  cursor: 'pointer'
6113
- }), React.createElement(TooltipText, {
6113
+ }), tooltipText && React.createElement(TooltipText, {
6114
6114
  "$bgColor": tooltipCSS === null || tooltipCSS === void 0 ? void 0 : tooltipCSS.background,
6115
6115
  "$visible": showTooltip,
6116
6116
  "$color": tooltipCSS === null || tooltipCSS === void 0 ? void 0 : tooltipCSS.color,