@srimandir/make-your-own-ritual 0.52.0 → 0.53.1
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/MyorOutcome/MyorOutcome.d.ts +7 -3
- package/dist/i18n/translations.en.d.ts +0 -1
- package/dist/i18n/translations.hi.d.ts +0 -1
- package/dist/i18n/translations.kn.d.ts +0 -1
- package/dist/i18n/translations.te.d.ts +0 -1
- package/dist/make-your-own-ritual.js +1064 -1005
- package/dist/make-your-own-ritual.js.map +1 -1
- package/dist/style.css +1 -1
- package/dist/types/pitruPakshStore.types.d.ts +4 -0
- package/package.json +5 -5
|
@@ -12,7 +12,7 @@ export type MyorOutcomeRitualData = OutcomeRitualData & {
|
|
|
12
12
|
devoteesReviews?: DevoteeReviewData[];
|
|
13
13
|
learnMoreLabel?: string;
|
|
14
14
|
/** Drives which "learn more" sheet opens — a `ChadhavaSevaBottomSheet` for add-ons vs the full `PujaDetailsSheet` for a real ritual, same split the landing page makes. */
|
|
15
|
-
ritualType?:
|
|
15
|
+
ritualType?: "ritual" | "chadhava" | "seva";
|
|
16
16
|
};
|
|
17
17
|
export interface MyorOutcomeProps {
|
|
18
18
|
ritualCount: number;
|
|
@@ -44,9 +44,13 @@ export interface MyorOutcomeProps {
|
|
|
44
44
|
/** The "Learn more" detail sheet's own content was scrolled — raw values only, no debouncing here. Only fires for the full `PujaDetailsSheet` (a real ritual), not `ChadhavaSevaBottomSheet` (add-ons), which has no scrollable body of its own. */
|
|
45
45
|
onAboutPujaScroll?: (ritualIndex: number, info: PujaDetailsSheetScrollInfo) => void;
|
|
46
46
|
/** Fired when the bill-details sheet is closed — `'cart'` for the sticky CTA's whole-cart bill, a ritual index for that ritual's own. */
|
|
47
|
-
onBillDetailsDismiss?: (billDetailsFor:
|
|
47
|
+
onBillDetailsDismiss?: (billDetailsFor: "cart" | number) => void;
|
|
48
48
|
/** Reports each rendered ritual card's DOM node as it mounts/unmounts, keyed by `ritual.index` — stays dumb, e.g. for an `IntersectionObserver`-based impression tracker in the host app. */
|
|
49
49
|
onCardRef?: (ritualIndex: number, el: HTMLDivElement | null) => void;
|
|
50
|
+
/** Fired when the ancestor-edit sheet's own confirm-remove warning opens (tapping "Remove" on an active ancestor). Analytics-only, no UI effect. */
|
|
51
|
+
onAncestorRemoveWarningShown?: (ritualIndex: number, ancestorId: string) => void;
|
|
52
|
+
/** Fired when that confirm-remove warning is cancelled without removing. Confirming it is already observable via `onAncestorToggle`. Analytics-only, no UI effect. */
|
|
53
|
+
onAncestorRemoveWarningCancel?: (ritualIndex: number, ancestorId: string) => void;
|
|
50
54
|
currencySybmol: string;
|
|
51
55
|
}
|
|
52
56
|
/**
|
|
@@ -62,4 +66,4 @@ export interface MyorOutcomeProps {
|
|
|
62
66
|
* - A ritual's own `devoteesReviews` (per-temple, fetched on demand) takes
|
|
63
67
|
* precedence over showing nothing.
|
|
64
68
|
*/
|
|
65
|
-
export declare function MyorOutcome({ rituals, mandapArrangement, reviewMedia, onDevoteesReviewsSeeMoreClick, totalPrice, onPriceInfoClick, onProceedClick, skipPackageSelect, onBack, backButtonAriaLabel, onLocaleChange, onProceedCtaClick, onPackageSheetOpen, onPackageInteraction, onPackageSheetDismiss, onAboutPujaDismiss, onAboutPujaScroll, onBillDetailsDismiss, onCardRef, packageSelectOptions, }: MyorOutcomeProps & OutcomePackageSelectProps): import("react").JSX.Element;
|
|
69
|
+
export declare function MyorOutcome({ rituals, mandapArrangement, reviewMedia, onDevoteesReviewsSeeMoreClick, totalPrice, onPriceInfoClick, onProceedClick, skipPackageSelect, onBack, backButtonAriaLabel, onLocaleChange, onProceedCtaClick, onPackageSheetOpen, onPackageInteraction, onPackageSheetDismiss, onAboutPujaDismiss, onAboutPujaScroll, onBillDetailsDismiss, onCardRef, onAncestorRemoveWarningShown, onAncestorRemoveWarningCancel, packageSelectOptions, }: MyorOutcomeProps & OutcomePackageSelectProps): import("react").JSX.Element;
|
|
@@ -60,7 +60,6 @@ export declare const en: {
|
|
|
60
60
|
selectAncestorsCtaNextRitual: string;
|
|
61
61
|
selectAncestorsCtaProceed: string;
|
|
62
62
|
selectAncestorsAddMoreLabel: string;
|
|
63
|
-
selectAncestorsAndAddMoreLabel: string;
|
|
64
63
|
selectAncestorsOptionAll: string;
|
|
65
64
|
selectAncestorsOptionMother: string;
|
|
66
65
|
selectAncestorsOptionFather: string;
|
|
@@ -66,7 +66,6 @@ export declare const hi: {
|
|
|
66
66
|
selectAncestorsCtaNextRitual: string;
|
|
67
67
|
selectAncestorsCtaProceed: string;
|
|
68
68
|
selectAncestorsAddMoreLabel: string;
|
|
69
|
-
selectAncestorsAndAddMoreLabel: string;
|
|
70
69
|
selectAncestorsOptionAll: string;
|
|
71
70
|
selectAncestorsOptionMother: string;
|
|
72
71
|
selectAncestorsOptionFather: string;
|
|
@@ -66,7 +66,6 @@ export declare const kn: {
|
|
|
66
66
|
selectAncestorsCtaNextRitual: string;
|
|
67
67
|
selectAncestorsCtaProceed: string;
|
|
68
68
|
selectAncestorsAddMoreLabel: string;
|
|
69
|
-
selectAncestorsAndAddMoreLabel: string;
|
|
70
69
|
selectAncestorsOptionAll: string;
|
|
71
70
|
selectAncestorsOptionMother: string;
|
|
72
71
|
selectAncestorsOptionFather: string;
|
|
@@ -66,7 +66,6 @@ export declare const te: {
|
|
|
66
66
|
selectAncestorsCtaNextRitual: string;
|
|
67
67
|
selectAncestorsCtaProceed: string;
|
|
68
68
|
selectAncestorsAddMoreLabel: string;
|
|
69
|
-
selectAncestorsAndAddMoreLabel: string;
|
|
70
69
|
selectAncestorsOptionAll: string;
|
|
71
70
|
selectAncestorsOptionMother: string;
|
|
72
71
|
selectAncestorsOptionFather: string;
|