@srimandir/make-your-own-ritual 0.30.1 → 0.30.3
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/LandingPage/LandingPage.d.ts +6 -2
- package/dist/i18n/translations.en.d.ts +9 -1
- package/dist/i18n/translations.hi.d.ts +9 -1
- package/dist/i18n/translations.kn.d.ts +9 -1
- package/dist/i18n/translations.te.d.ts +9 -1
- package/dist/make-your-own-ritual.js +1548 -1449
- 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/package.json +5 -5
|
@@ -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;
|
|
@@ -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;
|
|
@@ -114,10 +118,14 @@ export declare const en: {
|
|
|
114
118
|
selectRitualDaySheetHeading: string;
|
|
115
119
|
selectRitualDaySheetCardTitle: string;
|
|
116
120
|
selectRitualDaySheetCardDescription: string;
|
|
121
|
+
selectRitualDaySheetAllAncestorsCardTitle: string;
|
|
122
|
+
selectRitualDaySheetAllAncestorsCardDescription: string;
|
|
117
123
|
selectRitualDaySheetTag: string;
|
|
118
124
|
selectRitualDaySheetDeathAnniversaryTitle: string;
|
|
119
125
|
selectRitualDaySheetDeathAnniversaryDescription: string;
|
|
120
126
|
selectRitualDaySheetCta: string;
|
|
127
|
+
selectRitualDaySheetAmavasyaCta: string;
|
|
128
|
+
selectRitualDaySheetDeathTithiCta: string;
|
|
121
129
|
outcomeSummaryBadge: string;
|
|
122
130
|
outcomeSummaryHeading: string;
|
|
123
131
|
outcomeSummaryTrust1: string;
|
|
@@ -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;
|
|
@@ -114,10 +118,14 @@ export declare const hi: {
|
|
|
114
118
|
selectRitualDaySheetHeading: string;
|
|
115
119
|
selectRitualDaySheetCardTitle: string;
|
|
116
120
|
selectRitualDaySheetCardDescription: string;
|
|
121
|
+
selectRitualDaySheetAllAncestorsCardTitle: string;
|
|
122
|
+
selectRitualDaySheetAllAncestorsCardDescription: string;
|
|
117
123
|
selectRitualDaySheetTag: string;
|
|
118
124
|
selectRitualDaySheetDeathAnniversaryTitle: string;
|
|
119
125
|
selectRitualDaySheetDeathAnniversaryDescription: string;
|
|
120
126
|
selectRitualDaySheetCta: string;
|
|
127
|
+
selectRitualDaySheetAmavasyaCta: string;
|
|
128
|
+
selectRitualDaySheetDeathTithiCta: string;
|
|
121
129
|
outcomeSummaryBadge: string;
|
|
122
130
|
outcomeSummaryHeading: string;
|
|
123
131
|
outcomeSummaryTrust1: string;
|
|
@@ -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;
|
|
@@ -114,10 +118,14 @@ export declare const kn: {
|
|
|
114
118
|
selectRitualDaySheetHeading: string;
|
|
115
119
|
selectRitualDaySheetCardTitle: string;
|
|
116
120
|
selectRitualDaySheetCardDescription: string;
|
|
121
|
+
selectRitualDaySheetAllAncestorsCardTitle: string;
|
|
122
|
+
selectRitualDaySheetAllAncestorsCardDescription: string;
|
|
117
123
|
selectRitualDaySheetTag: string;
|
|
118
124
|
selectRitualDaySheetDeathAnniversaryTitle: string;
|
|
119
125
|
selectRitualDaySheetDeathAnniversaryDescription: string;
|
|
120
126
|
selectRitualDaySheetCta: string;
|
|
127
|
+
selectRitualDaySheetAmavasyaCta: string;
|
|
128
|
+
selectRitualDaySheetDeathTithiCta: string;
|
|
121
129
|
outcomeSummaryBadge: string;
|
|
122
130
|
outcomeSummaryHeading: string;
|
|
123
131
|
outcomeSummaryTrust1: string;
|
|
@@ -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;
|
|
@@ -114,10 +118,14 @@ export declare const te: {
|
|
|
114
118
|
selectRitualDaySheetHeading: string;
|
|
115
119
|
selectRitualDaySheetCardTitle: string;
|
|
116
120
|
selectRitualDaySheetCardDescription: string;
|
|
121
|
+
selectRitualDaySheetAllAncestorsCardTitle: string;
|
|
122
|
+
selectRitualDaySheetAllAncestorsCardDescription: string;
|
|
117
123
|
selectRitualDaySheetTag: string;
|
|
118
124
|
selectRitualDaySheetDeathAnniversaryTitle: string;
|
|
119
125
|
selectRitualDaySheetDeathAnniversaryDescription: string;
|
|
120
126
|
selectRitualDaySheetCta: string;
|
|
127
|
+
selectRitualDaySheetAmavasyaCta: string;
|
|
128
|
+
selectRitualDaySheetDeathTithiCta: string;
|
|
121
129
|
outcomeSummaryBadge: string;
|
|
122
130
|
outcomeSummaryHeading: string;
|
|
123
131
|
outcomeSummaryTrust1: string;
|