labsense-ui-kit 1.2.57 → 1.2.58

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.
@@ -5922,11 +5922,10 @@ var Badge = function Badge(_ref8) {
5922
5922
  "$justifyContent": 'center',
5923
5923
  "$width": 'fit-content',
5924
5924
  "$gap": '4px',
5925
- "$position": 'relative'
5926
- }, tooltipText && icon && React.createElement(TooltipWrapper, {
5927
- onMouseEnter: handleMouseEnter,
5928
- onMouseLeave: handleMouseLeave
5929
- }, React.createElement(Icon, {
5925
+ "$position": 'relative',
5926
+ onMouseEnter: tooltipText && icon ? handleMouseEnter : undefined,
5927
+ onMouseLeave: tooltipText && icon ? handleMouseLeave : undefined
5928
+ }, tooltipText && icon && React.createElement(TooltipWrapper, null, React.createElement(Icon, {
5930
5929
  icon: icon.icon,
5931
5930
  size: icon.size,
5932
5931
  weight: icon.weight,