@srimandir/pitru-paksh-common 2.62.0 → 2.62.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.
- package/dist/components/AncestorTab/AncestorTab.d.ts +1 -1
- package/dist/components/OutcomeAncestorEditModal/OutcomeAncestorEditModal.d.ts +5 -1
- package/dist/components/ServiceOfferCard/ServiceOfferCard.d.ts +8 -0
- package/dist/pitru-paksh-common.js +1419 -1403
- package/dist/pitru-paksh-common.umd.cjs +8 -8
- package/package.json +4 -3
|
@@ -12,4 +12,4 @@ export interface AncestorTabProps {
|
|
|
12
12
|
/** Omit to make the tab inert (not yet reachable). */
|
|
13
13
|
onClick?: () => void;
|
|
14
14
|
}
|
|
15
|
-
export declare
|
|
15
|
+
export declare const AncestorTab: import('react').ForwardRefExoticComponent<AncestorTabProps & import('react').RefAttributes<HTMLButtonElement>>;
|
|
@@ -19,5 +19,9 @@ export interface OutcomeAncestorEditModalProps {
|
|
|
19
19
|
removeWarningMessageSuffix?: string;
|
|
20
20
|
removeWarningConfirmLabel: string;
|
|
21
21
|
removeWarningCancelLabel: string;
|
|
22
|
+
/** Fired when the remove-warning dialog opens (the "Remove" link tap on an active ancestor) — for analytics; no UI effect. */
|
|
23
|
+
onRemoveWarningShown?: (ancestor: OutcomeAncestorPujaItem) => void;
|
|
24
|
+
/** Fired when the remove-warning dialog is cancelled without removing — for analytics; no UI effect. Confirming it is already observable via `onToggle`. */
|
|
25
|
+
onRemoveWarningCancel?: (ancestor: OutcomeAncestorPujaItem) => void;
|
|
22
26
|
}
|
|
23
|
-
export declare function OutcomeAncestorEditModal({ isOpen, onClose, avatarUrl, question, ancestors, onToggle, confirmLabel, onConfirmClick, addAgainLabel, removeLabel, removeWarningMessagePrefix, removeWarningMessageSuffix, removeWarningConfirmLabel, removeWarningCancelLabel, }: OutcomeAncestorEditModalProps): import("react").JSX.Element | null;
|
|
27
|
+
export declare function OutcomeAncestorEditModal({ isOpen, onClose, avatarUrl, question, ancestors, onToggle, confirmLabel, onConfirmClick, addAgainLabel, removeLabel, removeWarningMessagePrefix, removeWarningMessageSuffix, removeWarningConfirmLabel, removeWarningCancelLabel, onRemoveWarningShown, onRemoveWarningCancel, }: OutcomeAncestorEditModalProps): import("react").JSX.Element | null;
|
|
@@ -84,6 +84,14 @@ export interface ServiceOfferCardProps extends Omit<React.HTMLAttributes<HTMLDiv
|
|
|
84
84
|
* that's this card's only "read more" affordance in that case.
|
|
85
85
|
*/
|
|
86
86
|
onReadMoreClick?: (isExpanded: boolean) => void;
|
|
87
|
+
/**
|
|
88
|
+
* Fired whenever the `ServiceOfferSheet` (`sheetPrice` set) opens or
|
|
89
|
+
* closes — `true` on every open (card-body tap, image tap, or the "Read
|
|
90
|
+
* more" toggle), `false` on close (backdrop tap or its close button).
|
|
91
|
+
* Unlike `onReadMoreClick`, this fires for every path that opens the
|
|
92
|
+
* sheet, not just the toggle, and is the only way to observe it closing.
|
|
93
|
+
*/
|
|
94
|
+
onSheetOpenChange?: (isOpen: boolean) => void;
|
|
87
95
|
}
|
|
88
96
|
/**
|
|
89
97
|
* Add-on card used on "review your booking" screens: an image with a
|