labsense-ui-kit 1.3.70 → 1.3.71

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.
@@ -7270,12 +7270,12 @@ var ButtonComponent = function ButtonComponent(_ref21) {
7270
7270
  }, React.createElement(Container$1, {
7271
7271
  "$iconPosition": iconPos,
7272
7272
  gap: gap,
7273
- cursor: !disabled && typeof onClick === 'function' ? 'pointer' : 'default'
7273
+ cursor: disabled ? 'not-allowed' : iconClick ? 'pointer' : 'default'
7274
7274
  }, icon && React.createElement(Icon, {
7275
7275
  icon: icon,
7276
7276
  weight: iconWeight,
7277
7277
  size: iconSize ? iconSize : size === 'small' ? 6 : size === 'medium' ? 8 : 10,
7278
- onClick: !disabled ? undefined : function (e) {
7278
+ onClick: function onClick(e) {
7279
7279
  if (iconClick) {
7280
7280
  e.stopPropagation();
7281
7281
  iconClick === null || iconClick === void 0 ? void 0 : iconClick();