@srimandir/make-your-own-ritual 0.33.0 → 0.35.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.
- package/dist/components/ChadhavaSevaBottomSheet/ChadhavaSevaBottomSheet.d.ts +4 -0
- package/dist/components/LandingPage/LandingPage.d.ts +6 -2
- package/dist/components/RibbonTag/RibbonTag.d.ts +9 -0
- package/dist/components/RibbonTag/index.d.ts +2 -0
- package/dist/components/RitualCard/RitualCard.d.ts +2 -2
- package/dist/i18n/translations.en.d.ts +13 -1
- package/dist/i18n/translations.hi.d.ts +13 -1
- package/dist/i18n/translations.kn.d.ts +13 -1
- package/dist/i18n/translations.te.d.ts +13 -1
- package/dist/make-your-own-ritual.js +1720 -1547
- package/dist/make-your-own-ritual.js.map +1 -1
- package/dist/style.css +1 -1
- package/dist/types/index.d.ts +1 -1
- package/dist/types/landingPage.types.d.ts +5 -0
- package/dist/types/pitruPakshStore.types.d.ts +2 -0
- package/package.json +7 -7
|
@@ -5,5 +5,9 @@ export interface ChadhavaSevaBottomSheetProps {
|
|
|
5
5
|
imageUrl: string;
|
|
6
6
|
title: string;
|
|
7
7
|
description: string;
|
|
8
|
+
/** The individual resolved ancestor dates this add-on needs, e.g. "16/04/26 (Ekadashi), 18/04/26 (Trayodashi)" — same field the full `PujaDetailsCarouselHeader` sheet shows for a real ritual. Omitted when nothing's resolved yet. */
|
|
9
|
+
dateLabel?: string;
|
|
10
|
+
/** Omitted for most add-ons — donations/services aren't tied to a physical location the way a temple ritual is. */
|
|
11
|
+
locationLabel?: string;
|
|
8
12
|
}
|
|
9
13
|
export declare const ChadhavaSevaBottomSheet: React.FC<ChadhavaSevaBottomSheetProps>;
|
|
@@ -1,15 +1,19 @@
|
|
|
1
1
|
import { SupportedLocale } from '../../i18n';
|
|
2
|
-
import { LandingPageStore, LandingPageAction, PitruPakshRenderableRitual } from '../../types';
|
|
2
|
+
import { LandingPageStore, LandingPageAction, LandingPagePackage, PitruPakshRenderableRitual } from '../../types';
|
|
3
3
|
export interface LandingPageProps {
|
|
4
4
|
store: LandingPageStore;
|
|
5
5
|
mutate: (action: LandingPageAction) => void;
|
|
6
6
|
onProceed: (selectedRitualIds: string[]) => void;
|
|
7
7
|
onLocaleChange: (locale: SupportedLocale) => void;
|
|
8
|
+
/** "Who's performing the puja" packages — only `packages[0]`'s price backs the Mandap Vyavastha fee note, shown once a "ritual"-type puja is selected. */
|
|
9
|
+
packages?: LandingPagePackage[];
|
|
8
10
|
/** Fired when a card's "About this Chadhava/Seva" link is clicked, with that ritual's id. */
|
|
9
11
|
onAboutRitualClick?: (ritualId: string) => void;
|
|
10
12
|
/** Fired once, the first time a card scrolls into view, with its 1-based list position. */
|
|
11
13
|
onCardImpression?: (ritual: PitruPakshRenderableRitual, position: number) => void;
|
|
12
14
|
/** Fired when a card's checkbox is toggled, with its 1-based list position and the new selected state. */
|
|
13
15
|
onCardToggle?: (ritual: PitruPakshRenderableRitual, position: number, willBeSelected: boolean) => void;
|
|
16
|
+
/** Called when the top bar's back button is clicked. */
|
|
17
|
+
onBackClick?: () => void;
|
|
14
18
|
}
|
|
15
|
-
export declare function LandingPage({ store, mutate, onProceed, onLocaleChange, onAboutRitualClick, onCardImpression, onCardToggle, }: LandingPageProps): import("react").JSX.Element;
|
|
19
|
+
export declare function LandingPage({ store, mutate, onProceed, onLocaleChange, onAboutRitualClick, onCardImpression, onCardToggle, packages, onBackClick, }: LandingPageProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export interface RibbonTagProps {
|
|
2
|
+
label: string;
|
|
3
|
+
}
|
|
4
|
+
/**
|
|
5
|
+
* The "Recommended" / "As per Scriptures" corner ribbon used as a `SelectorCard`
|
|
6
|
+
* `tag`. Each instance gets its own gradient id via `useId` so multiple ribbons
|
|
7
|
+
* mounted at once don't collide on the same `<linearGradient>` id.
|
|
8
|
+
*/
|
|
9
|
+
export declare const RibbonTag: React.FC<RibbonTagProps>;
|
|
@@ -17,8 +17,8 @@ export interface RitualCardProps {
|
|
|
17
17
|
tagClassName?: string;
|
|
18
18
|
/** Text classes for the rating/booked strip (label text + separator dot). Defaults to `text-[#4b5513]`. */
|
|
19
19
|
tagTextClassName?: string;
|
|
20
|
-
/** e.g. "Starts from" */
|
|
21
|
-
priceLabel
|
|
20
|
+
/** e.g. "Starts from" — omitted for a chadava/seva, which has a fixed price rather than a "starting" one. */
|
|
21
|
+
priceLabel?: string;
|
|
22
22
|
/** e.g. "₹200" */
|
|
23
23
|
price: string;
|
|
24
24
|
/** e.g. "About Puja" */
|
|
@@ -25,7 +25,11 @@ export declare const en: {
|
|
|
25
25
|
ritualSelectAriaLabel: string;
|
|
26
26
|
ritualCountSingular: string;
|
|
27
27
|
ritualCountPlural: string;
|
|
28
|
+
mandapFeeLabel: string;
|
|
29
|
+
mandapFeeItemLabel: string;
|
|
28
30
|
ctaProceed: string;
|
|
31
|
+
formPhone: string;
|
|
32
|
+
formEmail: string;
|
|
29
33
|
makeYourOwnRitualCtaLabel: string;
|
|
30
34
|
makeYourOwnRitualHeroTitle: string;
|
|
31
35
|
makeYourOwnRitualHeroSubtitle: string;
|
|
@@ -46,7 +50,7 @@ export declare const en: {
|
|
|
46
50
|
selectAncestorsBackAriaLabel: string;
|
|
47
51
|
selectAncestorsProgressLabel: string;
|
|
48
52
|
selectAncestorsQuestion: string;
|
|
49
|
-
|
|
53
|
+
selectAncestorsCardHeading: string;
|
|
50
54
|
selectAncestorsAllAncestorsCaption: string;
|
|
51
55
|
selectAncestorsCtaNextRitual: string;
|
|
52
56
|
selectAncestorsCtaProceed: string;
|
|
@@ -81,6 +85,9 @@ export declare const en: {
|
|
|
81
85
|
deathTithiOption3ExpandedBody: string;
|
|
82
86
|
deathTithiCtaLabel: string;
|
|
83
87
|
deathTithiFinalCtaLabel: string;
|
|
88
|
+
deathTithiSarvPitruTag: string;
|
|
89
|
+
deathTithiSarvPitruTitle: string;
|
|
90
|
+
deathTithiSarvPitruDescription: string;
|
|
84
91
|
deathTithiPickerHeadingSuffix: string;
|
|
85
92
|
deathTithiPickerConfirmCta: string;
|
|
86
93
|
deathDatePickerConfirmCta: string;
|
|
@@ -114,10 +121,14 @@ export declare const en: {
|
|
|
114
121
|
selectRitualDaySheetHeading: string;
|
|
115
122
|
selectRitualDaySheetCardTitle: string;
|
|
116
123
|
selectRitualDaySheetCardDescription: string;
|
|
124
|
+
selectRitualDaySheetAllAncestorsCardTitle: string;
|
|
125
|
+
selectRitualDaySheetAllAncestorsCardDescription: string;
|
|
117
126
|
selectRitualDaySheetTag: string;
|
|
118
127
|
selectRitualDaySheetDeathAnniversaryTitle: string;
|
|
119
128
|
selectRitualDaySheetDeathAnniversaryDescription: string;
|
|
120
129
|
selectRitualDaySheetCta: string;
|
|
130
|
+
selectRitualDaySheetAmavasyaCta: string;
|
|
131
|
+
selectRitualDaySheetDeathTithiCta: string;
|
|
121
132
|
outcomeSummaryBadge: string;
|
|
122
133
|
outcomeSummaryHeading: string;
|
|
123
134
|
outcomeSummaryTrust1: string;
|
|
@@ -125,4 +136,5 @@ export declare const en: {
|
|
|
125
136
|
outcomeSummaryTrust3: string;
|
|
126
137
|
pujaVideoTestimonialsHeading: string;
|
|
127
138
|
pujaVideoTestimonialsSubtitle: string;
|
|
139
|
+
sankalpProceedToPaymentLabel: string;
|
|
128
140
|
};
|
|
@@ -25,7 +25,11 @@ export declare const hi: {
|
|
|
25
25
|
ritualSelectAriaLabel: string;
|
|
26
26
|
ritualCountSingular: string;
|
|
27
27
|
ritualCountPlural: string;
|
|
28
|
+
mandapFeeLabel: string;
|
|
29
|
+
mandapFeeItemLabel: string;
|
|
28
30
|
ctaProceed: string;
|
|
31
|
+
formPhone: string;
|
|
32
|
+
formEmail: string;
|
|
29
33
|
makeYourOwnRitualCtaLabel: string;
|
|
30
34
|
makeYourOwnRitualHeroTitle: string;
|
|
31
35
|
makeYourOwnRitualHeroSubtitle: string;
|
|
@@ -46,7 +50,7 @@ export declare const hi: {
|
|
|
46
50
|
selectAncestorsBackAriaLabel: string;
|
|
47
51
|
selectAncestorsProgressLabel: string;
|
|
48
52
|
selectAncestorsQuestion: string;
|
|
49
|
-
|
|
53
|
+
selectAncestorsCardHeading: string;
|
|
50
54
|
selectAncestorsAllAncestorsCaption: string;
|
|
51
55
|
selectAncestorsCtaNextRitual: string;
|
|
52
56
|
selectAncestorsCtaProceed: string;
|
|
@@ -81,6 +85,9 @@ export declare const hi: {
|
|
|
81
85
|
deathTithiOption3ExpandedBody: string;
|
|
82
86
|
deathTithiCtaLabel: string;
|
|
83
87
|
deathTithiFinalCtaLabel: string;
|
|
88
|
+
deathTithiSarvPitruTag: string;
|
|
89
|
+
deathTithiSarvPitruTitle: string;
|
|
90
|
+
deathTithiSarvPitruDescription: string;
|
|
84
91
|
deathTithiPickerHeadingSuffix: string;
|
|
85
92
|
deathTithiPickerConfirmCta: string;
|
|
86
93
|
deathDatePickerConfirmCta: string;
|
|
@@ -114,10 +121,14 @@ export declare const hi: {
|
|
|
114
121
|
selectRitualDaySheetHeading: string;
|
|
115
122
|
selectRitualDaySheetCardTitle: string;
|
|
116
123
|
selectRitualDaySheetCardDescription: string;
|
|
124
|
+
selectRitualDaySheetAllAncestorsCardTitle: string;
|
|
125
|
+
selectRitualDaySheetAllAncestorsCardDescription: string;
|
|
117
126
|
selectRitualDaySheetTag: string;
|
|
118
127
|
selectRitualDaySheetDeathAnniversaryTitle: string;
|
|
119
128
|
selectRitualDaySheetDeathAnniversaryDescription: string;
|
|
120
129
|
selectRitualDaySheetCta: string;
|
|
130
|
+
selectRitualDaySheetAmavasyaCta: string;
|
|
131
|
+
selectRitualDaySheetDeathTithiCta: string;
|
|
121
132
|
outcomeSummaryBadge: string;
|
|
122
133
|
outcomeSummaryHeading: string;
|
|
123
134
|
outcomeSummaryTrust1: string;
|
|
@@ -125,4 +136,5 @@ export declare const hi: {
|
|
|
125
136
|
outcomeSummaryTrust3: string;
|
|
126
137
|
pujaVideoTestimonialsHeading: string;
|
|
127
138
|
pujaVideoTestimonialsSubtitle: string;
|
|
139
|
+
sankalpProceedToPaymentLabel: string;
|
|
128
140
|
};
|
|
@@ -25,7 +25,11 @@ export declare const kn: {
|
|
|
25
25
|
ritualSelectAriaLabel: string;
|
|
26
26
|
ritualCountSingular: string;
|
|
27
27
|
ritualCountPlural: string;
|
|
28
|
+
mandapFeeLabel: string;
|
|
29
|
+
mandapFeeItemLabel: string;
|
|
28
30
|
ctaProceed: string;
|
|
31
|
+
formPhone: string;
|
|
32
|
+
formEmail: string;
|
|
29
33
|
makeYourOwnRitualCtaLabel: string;
|
|
30
34
|
makeYourOwnRitualHeroTitle: string;
|
|
31
35
|
makeYourOwnRitualHeroSubtitle: string;
|
|
@@ -46,7 +50,7 @@ export declare const kn: {
|
|
|
46
50
|
selectAncestorsBackAriaLabel: string;
|
|
47
51
|
selectAncestorsProgressLabel: string;
|
|
48
52
|
selectAncestorsQuestion: string;
|
|
49
|
-
|
|
53
|
+
selectAncestorsCardHeading: string;
|
|
50
54
|
selectAncestorsAllAncestorsCaption: string;
|
|
51
55
|
selectAncestorsCtaNextRitual: string;
|
|
52
56
|
selectAncestorsCtaProceed: string;
|
|
@@ -81,6 +85,9 @@ export declare const kn: {
|
|
|
81
85
|
deathTithiOption3ExpandedBody: string;
|
|
82
86
|
deathTithiCtaLabel: string;
|
|
83
87
|
deathTithiFinalCtaLabel: string;
|
|
88
|
+
deathTithiSarvPitruTag: string;
|
|
89
|
+
deathTithiSarvPitruTitle: string;
|
|
90
|
+
deathTithiSarvPitruDescription: string;
|
|
84
91
|
deathTithiPickerHeadingSuffix: string;
|
|
85
92
|
deathTithiPickerConfirmCta: string;
|
|
86
93
|
deathDatePickerConfirmCta: string;
|
|
@@ -114,10 +121,14 @@ export declare const kn: {
|
|
|
114
121
|
selectRitualDaySheetHeading: string;
|
|
115
122
|
selectRitualDaySheetCardTitle: string;
|
|
116
123
|
selectRitualDaySheetCardDescription: string;
|
|
124
|
+
selectRitualDaySheetAllAncestorsCardTitle: string;
|
|
125
|
+
selectRitualDaySheetAllAncestorsCardDescription: string;
|
|
117
126
|
selectRitualDaySheetTag: string;
|
|
118
127
|
selectRitualDaySheetDeathAnniversaryTitle: string;
|
|
119
128
|
selectRitualDaySheetDeathAnniversaryDescription: string;
|
|
120
129
|
selectRitualDaySheetCta: string;
|
|
130
|
+
selectRitualDaySheetAmavasyaCta: string;
|
|
131
|
+
selectRitualDaySheetDeathTithiCta: string;
|
|
121
132
|
outcomeSummaryBadge: string;
|
|
122
133
|
outcomeSummaryHeading: string;
|
|
123
134
|
outcomeSummaryTrust1: string;
|
|
@@ -125,4 +136,5 @@ export declare const kn: {
|
|
|
125
136
|
outcomeSummaryTrust3: string;
|
|
126
137
|
pujaVideoTestimonialsHeading: string;
|
|
127
138
|
pujaVideoTestimonialsSubtitle: string;
|
|
139
|
+
sankalpProceedToPaymentLabel: string;
|
|
128
140
|
};
|
|
@@ -25,7 +25,11 @@ export declare const te: {
|
|
|
25
25
|
ritualSelectAriaLabel: string;
|
|
26
26
|
ritualCountSingular: string;
|
|
27
27
|
ritualCountPlural: string;
|
|
28
|
+
mandapFeeLabel: string;
|
|
29
|
+
mandapFeeItemLabel: string;
|
|
28
30
|
ctaProceed: string;
|
|
31
|
+
formPhone: string;
|
|
32
|
+
formEmail: string;
|
|
29
33
|
makeYourOwnRitualCtaLabel: string;
|
|
30
34
|
makeYourOwnRitualHeroTitle: string;
|
|
31
35
|
makeYourOwnRitualHeroSubtitle: string;
|
|
@@ -46,7 +50,7 @@ export declare const te: {
|
|
|
46
50
|
selectAncestorsBackAriaLabel: string;
|
|
47
51
|
selectAncestorsProgressLabel: string;
|
|
48
52
|
selectAncestorsQuestion: string;
|
|
49
|
-
|
|
53
|
+
selectAncestorsCardHeading: string;
|
|
50
54
|
selectAncestorsAllAncestorsCaption: string;
|
|
51
55
|
selectAncestorsCtaNextRitual: string;
|
|
52
56
|
selectAncestorsCtaProceed: string;
|
|
@@ -81,6 +85,9 @@ export declare const te: {
|
|
|
81
85
|
deathTithiOption3ExpandedBody: string;
|
|
82
86
|
deathTithiCtaLabel: string;
|
|
83
87
|
deathTithiFinalCtaLabel: string;
|
|
88
|
+
deathTithiSarvPitruTag: string;
|
|
89
|
+
deathTithiSarvPitruTitle: string;
|
|
90
|
+
deathTithiSarvPitruDescription: string;
|
|
84
91
|
deathTithiPickerHeadingSuffix: string;
|
|
85
92
|
deathTithiPickerConfirmCta: string;
|
|
86
93
|
deathDatePickerConfirmCta: string;
|
|
@@ -114,10 +121,14 @@ export declare const te: {
|
|
|
114
121
|
selectRitualDaySheetHeading: string;
|
|
115
122
|
selectRitualDaySheetCardTitle: string;
|
|
116
123
|
selectRitualDaySheetCardDescription: string;
|
|
124
|
+
selectRitualDaySheetAllAncestorsCardTitle: string;
|
|
125
|
+
selectRitualDaySheetAllAncestorsCardDescription: string;
|
|
117
126
|
selectRitualDaySheetTag: string;
|
|
118
127
|
selectRitualDaySheetDeathAnniversaryTitle: string;
|
|
119
128
|
selectRitualDaySheetDeathAnniversaryDescription: string;
|
|
120
129
|
selectRitualDaySheetCta: string;
|
|
130
|
+
selectRitualDaySheetAmavasyaCta: string;
|
|
131
|
+
selectRitualDaySheetDeathTithiCta: string;
|
|
121
132
|
outcomeSummaryBadge: string;
|
|
122
133
|
outcomeSummaryHeading: string;
|
|
123
134
|
outcomeSummaryTrust1: string;
|
|
@@ -125,4 +136,5 @@ export declare const te: {
|
|
|
125
136
|
outcomeSummaryTrust3: string;
|
|
126
137
|
pujaVideoTestimonialsHeading: string;
|
|
127
138
|
pujaVideoTestimonialsSubtitle: string;
|
|
139
|
+
sankalpProceedToPaymentLabel: string;
|
|
128
140
|
};
|