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.
package/dist/index.js CHANGED
@@ -6102,7 +6102,7 @@ var Badge = function Badge(_ref8) {
6102
6102
  "$position": 'relative',
6103
6103
  onMouseEnter: tooltipText && icon ? handleMouseEnter : undefined,
6104
6104
  onMouseLeave: tooltipText && icon ? handleMouseLeave : undefined
6105
- }, tooltipText && icon && React__default.createElement(TooltipWrapper, null, image ? React__default.createElement("img", {
6105
+ }, (icon || image) && React__default.createElement(TooltipWrapper, null, image ? React__default.createElement("img", {
6106
6106
  src: image.src,
6107
6107
  alt: image.img_alt,
6108
6108
  width: image.width,
@@ -6114,7 +6114,7 @@ var Badge = function Badge(_ref8) {
6114
6114
  weight: icon.weight,
6115
6115
  color: icon.color || themeColors.vms.text.medium,
6116
6116
  cursor: 'pointer'
6117
- }), React__default.createElement(TooltipText, {
6117
+ }), tooltipText && React__default.createElement(TooltipText, {
6118
6118
  "$bgColor": tooltipCSS === null || tooltipCSS === void 0 ? void 0 : tooltipCSS.background,
6119
6119
  "$visible": showTooltip,
6120
6120
  "$color": tooltipCSS === null || tooltipCSS === void 0 ? void 0 : tooltipCSS.color,