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.
package/dist/index.js CHANGED
@@ -5989,7 +5989,7 @@ var Icon = function Icon(_ref2) {
5989
5989
  };
5990
5990
 
5991
5991
  var _templateObject$3, _templateObject2$3;
5992
- var TooltipWrapper = styled__default.div(_templateObject$3 || (_templateObject$3 = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n\n svg {\n cursor: pointer;\n }\n"])));
5992
+ var TooltipWrapper = styled__default.div(_templateObject$3 || (_templateObject$3 = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n"])));
5993
5993
  var TooltipText = styled__default.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) {
5994
5994
  var $visible = _ref.$visible;
5995
5995
  return $visible ? 'visible' : 'hidden';
@@ -6113,7 +6113,7 @@ var Badge = function Badge(_ref8) {
6113
6113
  size: icon.size,
6114
6114
  weight: icon.weight,
6115
6115
  color: icon.color || themeColors.vms.text.medium,
6116
- cursor: 'pointer'
6116
+ cursor: tooltipText ? 'pointer' : 'default'
6117
6117
  }), tooltipText && React__default.createElement(TooltipText, {
6118
6118
  "$bgColor": tooltipCSS === null || tooltipCSS === void 0 ? void 0 : tooltipCSS.background,
6119
6119
  "$visible": showTooltip,