@srimandir/pitru-paksh-common 2.28.1 → 2.28.2

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.
@@ -23,7 +23,7 @@ export interface CheckoutBarProps extends React.HTMLAttributes<HTMLDivElement> {
23
23
  proceedIcon?: React.ReactNode;
24
24
  onProceed?: () => void;
25
25
  /** Extra props forwarded to the underlying `Button` (variant, size, disabled, loading, ...). */
26
- proceedButtonProps?: Omit<ButtonProps, 'children' | 'onClick'>;
26
+ proceedButtonProps?: Omit<ButtonProps, "children" | "onClick">;
27
27
  buttonWrapperClassName?: string;
28
28
  /**
29
29
  * Shrinks the amount/subtitle block to its content width and grows the
@@ -10,6 +10,8 @@ export interface QuantityStepperProps {
10
10
  min?: number;
11
11
  /** Optional ceiling; disables + once reached. */
12
12
  max?: number;
13
+ /** Disables -, e.g. while this is the last item a cart requires at least one of. */
14
+ decrementDisabled?: boolean;
13
15
  /** Label shown on the zero-state button. Defaults to "Add". */
14
16
  addLabel?: React.ReactNode;
15
17
  className?: string;