@srimandir/pitru-paksh-common 2.32.0 → 2.34.0

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.
@@ -53,14 +53,6 @@ export interface CartViewProps extends Omit<React.HTMLAttributes<HTMLDivElement>
53
53
  itemsClassName?: string;
54
54
  /** className applied to every item; per-item `className` (via the item object) wins/merges on top. */
55
55
  itemClassName?: string;
56
- /**
57
- * Reports each rendered item row's DOM node as it mounts/unmounts, keyed
58
- * by the item's own `id`. No visibility tracking happens here — this
59
- * component stays dumb; observing these nodes (e.g. via
60
- * `IntersectionObserver`) is the caller's job, same division as
61
- * `Outcome`'s own `onCardRef`.
62
- */
63
- onItemRef?: (id: CartViewItem['id'], el: HTMLDivElement | null) => void;
64
56
  /** Add-on `ServiceOfferCard`s (tarpan, cow service, public service, ...). Omit/empty to hide the section. */
65
57
  addons?: CartViewAddon[];
66
58
  addonsSectionClassName?: string;
@@ -72,8 +64,6 @@ export interface CartViewProps extends Omit<React.HTMLAttributes<HTMLDivElement>
72
64
  addonClassName?: string;
73
65
  /** Optional card implementation for add-ons. Defaults to `ServiceOfferCard`. */
74
66
  addonComponent?: React.ComponentType<ServiceOfferCardProps>;
75
- /** Same as `onItemRef`, for add-on cards. */
76
- onAddonRef?: (id: CartViewAddon['id'], el: HTMLDivElement | null) => void;
77
67
  /** Price breakdown. Omit to hide it. All `BillDetails` props are available. */
78
68
  billDetails?: BillDetailsProps;
79
69
  /** FAQ accordion. Omit to hide it. All `FAQSection` props are available. */
@@ -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
@@ -13,7 +13,7 @@ import { AncestorNameEntry, PujaDetailsFormProps, PujaDetailsFormValues } from '
13
13
  * always the fixed, translated copy (not overridable) since this form only
14
14
  * ever collects an Indian mobile number or an email.
15
15
  */
16
- export declare function PujaDetailsForm({ locale, values, onValuesChange, isGlobal, gotraOptions, isSarvaPitru, onBackClick, amount, ritualsCountLabel, onPriceInfoClick, showPriceInfoIcon, canProceed, copy: copyOverride, proceedCtaLabel, proceedButtonProps, onProceedPayment, onConfirmModalOpen, onConfirmEditDetailsClick, onConfirmModalDismiss, className, }: PujaDetailsFormProps): import("react").JSX.Element;
16
+ export declare function PujaDetailsForm({ locale, values, onValuesChange, isGlobal, gotraOptions, isSarvaPitru, onBackClick, amount, ritualsCountLabel, onPriceInfoClick, showPriceInfoIcon, canProceed, copy: copyOverride, proceedCtaLabel, proceedButtonProps, onProceedPayment, className, }: PujaDetailsFormProps): import("react").JSX.Element;
17
17
  /**
18
18
  * Convenience factory for a blank `PujaDetailsFormValues`, e.g. to seed local
19
19
  * component state. `kartaCount` sets how many Karta name fields render —
@@ -86,11 +86,5 @@ export interface PujaDetailsFormProps {
86
86
  * payment flow here.
87
87
  */
88
88
  onProceedPayment: () => void;
89
- /** The `ConfirmPujaDetailsModal` opened — the checkout bar's CTA was tapped. */
90
- onConfirmModalOpen?: () => void;
91
- /** The `ConfirmPujaDetailsModal`'s "Edit Details" was clicked (returns to this form). */
92
- onConfirmEditDetailsClick?: () => void;
93
- /** The `ConfirmPujaDetailsModal` closed via backdrop/X/Escape — not its own Edit Details or Pay. */
94
- onConfirmModalDismiss?: () => void;
95
89
  className?: string;
96
90
  }