mn-angular-lib 1.0.65 → 1.0.66

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.
@@ -671,6 +671,9 @@ const mnInputFieldVariants = tv({
671
671
  hover: {
672
672
  true: 'hover:cursor-pointer hover:bg-base-200 transition-colors duration-300 ease-in-out',
673
673
  },
674
+ disabled: {
675
+ true: 'opacity-50 cursor-not-allowed',
676
+ },
674
677
  },
675
678
  defaultVariants: {
676
679
  size: 'md',
@@ -1573,7 +1576,8 @@ class MnInputField {
1573
1576
  borderRadius: this.props.borderRadius,
1574
1577
  shadow: this.props.shadow,
1575
1578
  fullWidth: this.props.fullWidth,
1576
- hover: this.props.hover,
1579
+ hover: this.isDisabled ? false : this.props.hover,
1580
+ disabled: this.isDisabled,
1577
1581
  });
1578
1582
  }
1579
1583
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: MnInputField, deps: [], target: i0.ɵɵFactoryTarget.Component });