labsense-ui-kit 1.4.3 → 1.4.4

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.
@@ -9,6 +9,7 @@ interface ITooltipProps {
9
9
  height: string;
10
10
  };
11
11
  infoIcon?: IconProps;
12
+ iconOnClick?: () => void;
12
13
  infoText: React.ReactNode;
13
14
  tooltipCSS?: {
14
15
  background?: string;
package/dist/index.js CHANGED
@@ -7275,6 +7275,7 @@ var IconTooltip = function IconTooltip(_ref11) {
7275
7275
  image = _ref11.image,
7276
7276
  infoIcon = _ref11.infoIcon,
7277
7277
  infoText = _ref11.infoText,
7278
+ iconOnClick = _ref11.iconOnClick,
7278
7279
  _ref11$tooltipCSS = _ref11.tooltipCSS,
7279
7280
  tooltipCSS = _ref11$tooltipCSS === void 0 ? {
7280
7281
  gap: '4px',
@@ -7290,7 +7291,8 @@ var IconTooltip = function IconTooltip(_ref11) {
7290
7291
  height: image.height,
7291
7292
  draggable: false
7292
7293
  }) : React__default.createElement(Icon, Object.assign({}, icon, {
7293
- cursor: 'pointer'
7294
+ cursor: 'pointer',
7295
+ onClick: iconOnClick
7294
7296
  })), React__default.createElement(TooltipContainer, {
7295
7297
  "$tooltipPosition": (_tooltipCSS$position = tooltipCSS.position) != null ? _tooltipCSS$position : 'bottomCenter',
7296
7298
  "$minWidth": tooltipCSS.minWidth,