labsense-ui-kit 1.2.76 → 1.2.77

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.
@@ -5985,7 +5985,7 @@ var Icon = function Icon(_ref2) {
5985
5985
  };
5986
5986
 
5987
5987
  var _templateObject$3, _templateObject2$3;
5988
- var TooltipWrapper = styled.div(_templateObject$3 || (_templateObject$3 = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n\n svg {\n cursor: pointer;\n }\n"])));
5988
+ var TooltipWrapper = styled.div(_templateObject$3 || (_templateObject$3 = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n"])));
5989
5989
  var TooltipText = styled.span(_templateObject2$3 || (_templateObject2$3 = _taggedTemplateLiteralLoose(["\n visibility: ", ";\n opacity: ", ";\n transition: opacity 0.2s ease-in-out;\n background-color: ", ";\n color: ", ";\n border: ", ";\n border-radius: 8px;\n padding: 8px 16px;\n font-size: ", ";\n font-weight: ", ";\n max-width: 300px;\n width: max-content;\n position: fixed;\n z-index: 999;\n pointer-events: none;\n"])), function (_ref) {
5990
5990
  var $visible = _ref.$visible;
5991
5991
  return $visible ? 'visible' : 'hidden';
@@ -6109,7 +6109,7 @@ var Badge = function Badge(_ref8) {
6109
6109
  size: icon.size,
6110
6110
  weight: icon.weight,
6111
6111
  color: icon.color || themeColors.vms.text.medium,
6112
- cursor: 'pointer'
6112
+ cursor: tooltipText ? 'pointer' : 'default'
6113
6113
  }), tooltipText && React.createElement(TooltipText, {
6114
6114
  "$bgColor": tooltipCSS === null || tooltipCSS === void 0 ? void 0 : tooltipCSS.background,
6115
6115
  "$visible": showTooltip,