labsense-ui-kit 1.3.69 → 1.3.70

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
@@ -7279,12 +7279,13 @@ var ButtonComponent = function ButtonComponent(_ref21) {
7279
7279
  icon: icon,
7280
7280
  weight: iconWeight,
7281
7281
  size: iconSize ? iconSize : size === 'small' ? 6 : size === 'medium' ? 8 : 10,
7282
- onClick: function onClick(e) {
7282
+ onClick: !disabled ? undefined : function (e) {
7283
7283
  if (iconClick) {
7284
7284
  e.stopPropagation();
7285
7285
  iconClick === null || iconClick === void 0 ? void 0 : iconClick();
7286
7286
  }
7287
7287
  },
7288
+ cursor: disabled ? 'not-allowed' : iconClick ? 'pointer' : 'default',
7288
7289
  color: getIconColor()
7289
7290
  }), text && React__default.createElement(ButtonText, {
7290
7291
  "$size": size,