labsense-ui-kit 1.3.70 → 1.3.72

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