@srimandir/make-your-own-ritual 0.2.0 → 0.2.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.
Files changed (42) hide show
  1. package/dist/components/ChadhavaSevaBottomSheet/ChadhavaSevaBottomSheet.d.ts +9 -0
  2. package/dist/components/ChadhavaSevaBottomSheet/index.d.ts +2 -0
  3. package/dist/components/DeathTithi/DeathTithi.d.ts +14 -0
  4. package/dist/components/DeathTithi/index.d.ts +2 -0
  5. package/dist/components/LandingPage/LandingPage.d.ts +11 -0
  6. package/dist/components/LandingPage/index.d.ts +2 -0
  7. package/dist/components/MandapArrangementCard/MandapArrangementCard.d.ts +22 -0
  8. package/dist/components/MandapArrangementCard/index.d.ts +2 -0
  9. package/dist/components/MyorOutcome/MyorOutcome.d.ts +41 -0
  10. package/dist/components/MyorOutcome/index.d.ts +2 -0
  11. package/dist/components/MyorRitualCard/MyorRitualCard.d.ts +14 -0
  12. package/dist/components/MyorRitualCard/index.d.ts +2 -0
  13. package/dist/components/MyorServiceOfferCard/MyorServiceOfferCard.d.ts +21 -0
  14. package/dist/components/MyorServiceOfferCard/index.d.ts +2 -0
  15. package/dist/components/PujaDetailsSheet/PujaDetailsSheet.d.ts +17 -0
  16. package/dist/components/PujaDetailsSheet/index.d.ts +4 -0
  17. package/dist/components/PujaProgressTabs/PujaProgressTabs.d.ts +14 -0
  18. package/dist/components/PujaProgressTabs/index.d.ts +2 -0
  19. package/dist/components/RitualCard/RitualCard.d.ts +37 -0
  20. package/dist/components/RitualCard/index.d.ts +2 -0
  21. package/dist/components/SelectAncestors/SelectAncestors.d.ts +18 -0
  22. package/dist/components/SelectAncestors/index.d.ts +2 -0
  23. package/dist/components/SelectRitualDaySheet/SelectRitualDaySheet.d.ts +11 -0
  24. package/dist/components/SelectRitualDaySheet/index.d.ts +2 -0
  25. package/dist/constants/index.d.ts +1 -0
  26. package/dist/constants/pujaSteps.constants.d.ts +3 -0
  27. package/dist/dev/main.d.ts +0 -1
  28. package/dist/i18n/index.d.ts +10 -0
  29. package/dist/i18n/translations.d.ts +4 -0
  30. package/dist/i18n/translations.en.d.ts +119 -0
  31. package/dist/i18n/translations.hi.d.ts +27 -0
  32. package/dist/index.d.ts +23 -0
  33. package/dist/make-your-own-ritual.js +2036 -429
  34. package/dist/make-your-own-ritual.js.map +1 -1
  35. package/dist/style.css +1 -1
  36. package/dist/types/index.d.ts +3 -0
  37. package/dist/types/landingPage.types.d.ts +13 -0
  38. package/dist/types/makeYourOwnRitual.types.d.ts +113 -0
  39. package/dist/types/pitruPakshStore.types.d.ts +74 -0
  40. package/dist/utils/index.d.ts +1 -0
  41. package/dist/utils/price.utils.d.ts +1 -0
  42. package/package.json +6 -5
@@ -0,0 +1,9 @@
1
+ import { default as React } from 'react';
2
+ export interface ChadhavaSevaBottomSheetProps {
3
+ isOpen: boolean;
4
+ onClose: () => void;
5
+ imageUrl: string;
6
+ title: string;
7
+ description: string;
8
+ }
9
+ export declare const ChadhavaSevaBottomSheet: React.FC<ChadhavaSevaBottomSheetProps>;
@@ -0,0 +1,2 @@
1
+ export { ChadhavaSevaBottomSheet } from './ChadhavaSevaBottomSheet';
2
+ export type { ChadhavaSevaBottomSheetProps } from './ChadhavaSevaBottomSheet';
@@ -0,0 +1,14 @@
1
+ import { MakeYourOwnRitualDataState, RitualDataAction, TithiPreview, TithiValidity } from '../../types';
2
+ export interface DeathTithiProps {
3
+ store: MakeYourOwnRitualDataState;
4
+ mutate: (action: RitualDataAction) => void;
5
+ avatarUrl: string;
6
+ audioSrc?: string;
7
+ onBackClick?: () => void;
8
+ onProceed?: () => void;
9
+ /** Resolves the tithi a picked death date falls on. Persisted via SET_TITHI_PREVIEW; not rendered by this component. */
10
+ onResolveTithiForDate?: (date: string, ancestorKey: string) => Promise<TithiPreview | undefined>;
11
+ /** Checks whether a directly-picked tithi is still bookable. Never rejects — a failure resolves to undefined. */
12
+ onValidateTithi?: (tithiKey: string, ancestorKey: string) => Promise<TithiValidity | undefined>;
13
+ }
14
+ export declare function DeathTithi({ store, mutate, avatarUrl, audioSrc, onBackClick, onProceed, onResolveTithiForDate, onValidateTithi, }: DeathTithiProps): import("react").JSX.Element;
@@ -0,0 +1,2 @@
1
+ export { DeathTithi } from './DeathTithi';
2
+ export type { DeathTithiProps } from './DeathTithi';
@@ -0,0 +1,11 @@
1
+ import { SupportedLocale } from '../../i18n';
2
+ import { LandingPageStore, LandingPageAction } from '../../types';
3
+ export interface LandingPageProps {
4
+ store: LandingPageStore;
5
+ mutate: (action: LandingPageAction) => void;
6
+ onProceed: (selectedRitualIds: string[]) => void;
7
+ onLocaleChange: (locale: SupportedLocale) => void;
8
+ /** Fired when a card's "About this Chadhava/Seva" link is clicked, with that ritual's id. */
9
+ onAboutRitualClick?: (ritualId: string) => void;
10
+ }
11
+ export declare function LandingPage({ store, mutate, onProceed, onLocaleChange, onAboutRitualClick, }: LandingPageProps): import("react").JSX.Element;
@@ -0,0 +1,2 @@
1
+ export { LandingPage } from './LandingPage';
2
+ export type { LandingPageProps } from './LandingPage';
@@ -0,0 +1,22 @@
1
+ export interface MandapArrangementCardProps {
2
+ imageUrl: string;
3
+ imageAlt: string;
4
+ title: string;
5
+ description: string;
6
+ /** Strikethrough original price, e.g. "₹851" */
7
+ originalPrice?: string;
8
+ /** e.g. "₹651" */
9
+ price: string;
10
+ isAdded: boolean;
11
+ onCtaClick?: () => void;
12
+ /** Grays out and disables the add/remove CTA, e.g. once mandatory */
13
+ disabled?: boolean;
14
+ }
15
+ /**
16
+ * MYOR's own clone of ritual-recommendations' `MandapArrangementCard` —
17
+ * kept separate rather than modifying the shared one so ritual-recommendations'
18
+ * own outcome page is untouched. Only real difference: `disabled` renders a
19
+ * genuinely grey CTA (mandap is always mandatory once shown in MYOR) instead
20
+ * of the `secondary` variant's faded-green look.
21
+ */
22
+ export declare function MandapArrangementCard({ imageUrl, imageAlt, title, description, originalPrice, price, isAdded, onCtaClick, disabled, }: MandapArrangementCardProps): import("react").JSX.Element;
@@ -0,0 +1,2 @@
1
+ export { MandapArrangementCard } from './MandapArrangementCard';
2
+ export type { MandapArrangementCardProps } from './MandapArrangementCard';
@@ -0,0 +1,41 @@
1
+ import { RitualRecommendationData, MandapArrangementData, PackageSelectSheetProps, DevoteeReviewData, DevoteeReviewMedia } from '../../../../pitru-paksh-ritual-recommendation/dist/pitru-paksh-ritual-recommendation.js';
2
+ /**
3
+ * `RitualRecommendationData` plus MYOR's own per-ritual "Learn more" reviews
4
+ * (fetched on demand per temple, unlike ritual-recommendations' one fixed
5
+ * list for every ritual) — a local extension instead of widening the shared
6
+ * type, so ritual-recommendations' own type is untouched.
7
+ */
8
+ export type MyorOutcomeRitualData = RitualRecommendationData & {
9
+ devoteesReviews?: DevoteeReviewData[];
10
+ learnMoreLabel?: string;
11
+ };
12
+ export interface MyorOutcomeProps {
13
+ ritualCount: number;
14
+ rituals: MyorOutcomeRitualData[];
15
+ mandapArrangement?: MandapArrangementData;
16
+ /** Video/screenshot reviews shown in a carousel above the text reviews, in every ritual's detail sheet */
17
+ reviewMedia?: DevoteeReviewMedia[];
18
+ onDevoteesReviewsSeeMoreClick?: () => void;
19
+ totalPrice: string;
20
+ onPriceInfoClick?: () => void;
21
+ onProceedClick?: (id: string) => void;
22
+ /** Skips the "who is performing the puja" package sheet — the sticky CTA's Proceed proceeds straight through with `packageSelectOptions[0]`, e.g. for a chadava/seva-only selection that has nothing to pick a performer package for. */
23
+ skipPackageSelect?: boolean;
24
+ /** Floating back button over the hero banner — omit to hide it, e.g. for a flow with no previous page to return to. */
25
+ onBack?: () => void;
26
+ backButtonAriaLabel?: string;
27
+ }
28
+ /**
29
+ * MYOR's own outcome page — a clone of ritual-recommendations' `Outcome`
30
+ * (kept separate rather than modifying the shared one, which
31
+ * ritual-recommendations' live results page also depends on) with MYOR's
32
+ * own additions baked in directly instead of as opt-in props:
33
+ * - Always renders `MyorRitualCard`, never the default ritual card.
34
+ * - Unadding a ritual that has ancestors on it always opens the
35
+ * ancestor-edit sheet instead of removing it immediately — the actual
36
+ * removal happens once every ancestor's toggled off there (see
37
+ * `AncestorEditModal`'s `onToggle`).
38
+ * - A ritual's own `devoteesReviews` (per-temple, fetched on demand) takes
39
+ * precedence over showing nothing.
40
+ */
41
+ export declare function MyorOutcome({ ritualCount, rituals, mandapArrangement, reviewMedia, onDevoteesReviewsSeeMoreClick, totalPrice, onPriceInfoClick, onProceedClick, skipPackageSelect, onBack, backButtonAriaLabel, packageSelectOptions, }: MyorOutcomeProps & PackageSelectSheetProps): import("react").JSX.Element;
@@ -0,0 +1,2 @@
1
+ export { MyorOutcome } from './MyorOutcome';
2
+ export type { MyorOutcomeProps, MyorOutcomeRitualData } from './MyorOutcome';
@@ -0,0 +1,14 @@
1
+ import { RitualRecommendationData } from '../../../../pitru-paksh-ritual-recommendation/dist/pitru-paksh-ritual-recommendation.js';
2
+ export type MyorRitualCardProps = RitualRecommendationData & {
3
+ learnMoreLabel?: string;
4
+ };
5
+ /**
6
+ * MYOR's own outcome-page ritual card — visually distinct from
7
+ * `RitualRecommendationCard`/`L2Card` (side-by-side thumbnail + text instead
8
+ * of a full-width banner image, always-expanded with no collapse chevron,
9
+ * and a full-bleed flat stats bar placed after the date/location rows
10
+ * instead of overlapping the image) per the MYOR L2 Figma spec. Kept as a
11
+ * separate component rather than reworking `L2Card`, so
12
+ * ritual-recommendations' own card is untouched.
13
+ */
14
+ export declare function MyorRitualCard({ index, ancestorsLabel, onEditClick, imageUrl, imageAlt, ratingLabel, bookedLabel, title, description, learnMoreLabel, onLearnMoreClick, learnMoreHref, dateLabel, locationLabel, price, isAdded, onCtaClick, onPriceInfoClick, }: MyorRitualCardProps): import("react").JSX.Element;
@@ -0,0 +1,2 @@
1
+ export { MyorRitualCard } from './MyorRitualCard';
2
+ export type { MyorRitualCardProps } from './MyorRitualCard';
@@ -0,0 +1,21 @@
1
+ import { default as React } from 'react';
2
+ export interface MyorServiceOfferCardProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'title'> {
3
+ /** Illustration/photo shown top-right, e.g. the ritual/service photo. */
4
+ image: string;
5
+ imageAlt?: string;
6
+ /** Service name, e.g. "Offer tarpan donation for the peace of your ancestors". */
7
+ title: React.ReactNode;
8
+ /** Helper copy under the title, typically ending in a read-more affordance. */
9
+ description?: React.ReactNode;
10
+ /** Current price, e.g. "₹199". */
11
+ price: React.ReactNode;
12
+ /** Original price shown struck-through before `price`, e.g. "₹250". */
13
+ originalPrice?: React.ReactNode;
14
+ /** Flush corner banner rendered above the content. */
15
+ tag?: React.ReactNode;
16
+ tagClassName?: string;
17
+ /** Control anchored over the bottom edge of the image. */
18
+ action?: React.ReactNode;
19
+ }
20
+ /** Add-on card used on MYOR booking review screens. */
21
+ export declare const MyorServiceOfferCard: React.FC<MyorServiceOfferCardProps>;
@@ -0,0 +1,2 @@
1
+ export { MyorServiceOfferCard } from './MyorServiceOfferCard';
2
+ export type { MyorServiceOfferCardProps } from './MyorServiceOfferCard';
@@ -0,0 +1,17 @@
1
+ import { ReactNode } from 'react';
2
+ export interface PujaDetailsSheetProps {
3
+ isOpen: boolean;
4
+ onClose: () => void;
5
+ closeButtonAriaLabel?: string;
6
+ dragHandleAriaLabel?: string;
7
+ /** Pinned below the scrollable content, e.g. a CTA button */
8
+ footer?: ReactNode;
9
+ children: ReactNode;
10
+ }
11
+ /**
12
+ * MYOR's own clone of ritual-recommendations' `PujaDetailsSheet` — kept
13
+ * separate rather than modifying the shared one so ritual-recommendations'
14
+ * own sheet is untouched. Only real difference: `overflow-x-hidden` on the
15
+ * scrollable body (see below).
16
+ */
17
+ export declare function PujaDetailsSheet({ isOpen, onClose, closeButtonAriaLabel, dragHandleAriaLabel, footer, children, }: PujaDetailsSheetProps): import("react").JSX.Element | null;
@@ -0,0 +1,4 @@
1
+ export { PujaDetailsSheet } from './PujaDetailsSheet';
2
+ export type { PujaDetailsSheetProps } from './PujaDetailsSheet';
3
+ export { PujaDetailsCarouselHeader, PujaBenefitsSection, TempleSignificanceSection, DevoteesReviews, } from '../../../../pitru-paksh-ritual-recommendation/dist/pitru-paksh-ritual-recommendation.js';
4
+ export type { PujaDetailsCarouselHeaderProps, PujaBenefitsSectionProps, PujaBenefitData, TempleSignificanceSectionProps, DevoteesReviewsProps, DevoteeReviewData, DevoteeReviewMedia, } from '../../../../pitru-paksh-ritual-recommendation/dist/pitru-paksh-ritual-recommendation.js';
@@ -0,0 +1,14 @@
1
+ import { default as React } from 'react';
2
+ export type PujaTabStatus = 'completed' | 'active' | 'pending';
3
+ export interface PujaTabItem {
4
+ id: string;
5
+ label: string;
6
+ status: PujaTabStatus;
7
+ }
8
+ export interface PujaProgressTabsProps {
9
+ items: PujaTabItem[];
10
+ /** Called when a `completed` or `active` tab is clicked. `pending` tabs are never clickable. */
11
+ onTabClick?: (id: string) => void;
12
+ className?: string;
13
+ }
14
+ export declare const PujaProgressTabs: React.FC<PujaProgressTabsProps>;
@@ -0,0 +1,2 @@
1
+ export { PujaProgressTabs } from './PujaProgressTabs';
2
+ export type { PujaProgressTabsProps, PujaTabItem, PujaTabStatus } from './PujaProgressTabs';
@@ -0,0 +1,37 @@
1
+ export interface RitualCardProps {
2
+ imageUrl: string;
3
+ imageAlt?: string;
4
+ title: string;
5
+ /** Text classes for the title. Defaults to `text-base font-bold text-[#374151]`. */
6
+ titleClassName?: string;
7
+ description: string;
8
+ /** Text classes for the description. Defaults to `text-xs font-medium text-[#6b7280] opacity-90`. */
9
+ descriptionClassName?: string;
10
+ /** e.g. "Koti Tirtha (Gokarna)" */
11
+ locationLabel?: string;
12
+ /** e.g. "4.9 ★ Pooja Rating" */
13
+ ratingLabel?: string;
14
+ /** e.g. "Booked by 2k devotees" */
15
+ bookedLabel?: string;
16
+ /** Background classes for the rating/booked strip. Defaults to `bg-[#f3f5e9]`. */
17
+ tagClassName?: string;
18
+ /** Text classes for the rating/booked strip (label text + separator dot). Defaults to `text-[#4b5513]`. */
19
+ tagTextClassName?: string;
20
+ /** e.g. "Starts from" */
21
+ priceLabel: string;
22
+ /** e.g. "₹200" */
23
+ price: string;
24
+ /** e.g. "About Puja" */
25
+ linkLabel: string;
26
+ onLinkClick?: () => void;
27
+ selected: boolean;
28
+ onToggle: () => void;
29
+ selectAriaLabel?: string;
30
+ className?: string;
31
+ }
32
+ /**
33
+ * Selectable ritual card for the "Make Your Own Ritual" picker: a thumbnail,
34
+ * title/description, a checkbox toggle, an optional location + rating/booked
35
+ * stats row, and a price row with an "About" link.
36
+ */
37
+ export declare function RitualCard({ imageUrl, imageAlt, title, titleClassName, description, descriptionClassName, locationLabel, ratingLabel, bookedLabel, tagClassName, tagTextClassName, priceLabel, price, linkLabel, onLinkClick, selected, onToggle, selectAriaLabel, className, }: RitualCardProps): import("react").JSX.Element;
@@ -0,0 +1,2 @@
1
+ export { RitualCard } from './RitualCard';
2
+ export type { RitualCardProps } from './RitualCard';
@@ -0,0 +1,18 @@
1
+ import { default as React } from 'react';
2
+ import { MakeYourOwnRitualDataState, RitualDataAction } from '../../types';
3
+ import { RitualDayOption } from '../SelectRitualDaySheet';
4
+ export interface SelectAncestorsProps {
5
+ store: MakeYourOwnRitualDataState;
6
+ mutate: (action: RitualDataAction) => void;
7
+ avatarUrl: string;
8
+ audioSrc?: string;
9
+ /** Fires only when going back from the first puja step (Pitru Shanti). */
10
+ onBackClick?: () => void;
11
+ /**
12
+ * Fires once the ritual-day choice is confirmed. `'amavasya'` needs no
13
+ * death-tithi step — only `'death-anniversary'` does; branch on it to
14
+ * decide whether to show `DeathTithi` next.
15
+ */
16
+ onProceed?: (ritualDay: RitualDayOption) => void;
17
+ }
18
+ export declare const SelectAncestors: React.FC<SelectAncestorsProps>;
@@ -0,0 +1,2 @@
1
+ export { SelectAncestors } from './SelectAncestors';
2
+ export type { SelectAncestorsProps } from './SelectAncestors';
@@ -0,0 +1,11 @@
1
+ import { default as React } from 'react';
2
+ export type RitualDayOption = 'amavasya' | 'death-anniversary';
3
+ export interface SelectRitualDaySheetProps {
4
+ isOpen: boolean;
5
+ onClose: () => void;
6
+ /** Fires with the option active when the CTA is pressed — 'amavasya' needs no death-tithi step; only 'death-anniversary' does. */
7
+ onCtaClick: (option: RitualDayOption) => void;
8
+ /** True when every ancestor's tithi is unknown (all pujas selected "All Ancestors") — Amavasya is then the only sensible day, so skip the choice. Otherwise both options are offered. */
9
+ amavasyaOnly: boolean;
10
+ }
11
+ export declare const SelectRitualDaySheet: React.FC<SelectRitualDaySheetProps>;
@@ -0,0 +1,2 @@
1
+ export { SelectRitualDaySheet } from './SelectRitualDaySheet';
2
+ export type { SelectRitualDaySheetProps, RitualDayOption } from './SelectRitualDaySheet';
@@ -0,0 +1 @@
1
+ export { buildPujaTabs } from './pujaSteps.constants';
@@ -0,0 +1,3 @@
1
+ import { SelectedItem, PujaId } from '../types';
2
+ import { PujaTabItem } from '../components/PujaProgressTabs';
3
+ export declare function buildPujaTabs(selectedRitual: SelectedItem[], currentPujaId: PujaId): PujaTabItem[];
@@ -1 +0,0 @@
1
- export {};
@@ -0,0 +1,10 @@
1
+ import { FC, ReactNode } from 'react';
2
+ import { I18nContextValue } from '../../../common/dist/common.js';
3
+ import { SupportedLocale } from './translations';
4
+ export declare const I18nProvider: FC<{
5
+ locale: SupportedLocale;
6
+ children: ReactNode;
7
+ }>;
8
+ export declare function useI18n(): I18nContextValue<SupportedLocale> | null;
9
+ export { translations, SUPPORTED_LOCALES, LOCALE_LABELS } from './translations';
10
+ export type { SupportedLocale } from './translations';
@@ -0,0 +1,4 @@
1
+ export declare const SUPPORTED_LOCALES: readonly ["en", "hi"];
2
+ export type SupportedLocale = (typeof SUPPORTED_LOCALES)[number];
3
+ export declare const LOCALE_LABELS: Record<SupportedLocale, string>;
4
+ export declare const translations: Record<SupportedLocale, Record<string, string>>;
@@ -0,0 +1,119 @@
1
+ /**
2
+ * English translations for Make Your Own Ritual
3
+ */
4
+ export declare const en: {
5
+ headerBadge: string;
6
+ headerDateRange: string;
7
+ headerHeadline: string;
8
+ chooseMultipleNote: string;
9
+ nextStepInfoNote: string;
10
+ ritualPindDaanTitle: string;
11
+ ritualPindDaanDesc: string;
12
+ ritualTarpanTitle: string;
13
+ ritualTarpanDesc: string;
14
+ ritualShraddhaTitle: string;
15
+ ritualShraddhaDesc: string;
16
+ ritualLocationKotiTirtha: string;
17
+ ritualRating: string;
18
+ ritualBooked: string;
19
+ ritualPriceLabel: string;
20
+ ritualAboutLink: string;
21
+ ritualAboutChadhava: string;
22
+ ritualAboutSeva: string;
23
+ ritualSelectAriaLabel: string;
24
+ ritualCountSingular: string;
25
+ ritualCountPlural: string;
26
+ ctaProceed: string;
27
+ makeYourOwnRitualCtaLabel: string;
28
+ makeYourOwnRitualHeroTitle: string;
29
+ makeYourOwnRitualHeroSubtitle: string;
30
+ makeYourOwnRitualIntroTitle: string;
31
+ makeYourOwnRitualIntroBody: string;
32
+ makeYourOwnRitualChoicesTitle: string;
33
+ makeYourOwnRitualChoiceDeity: string;
34
+ makeYourOwnRitualChoiceTemple: string;
35
+ makeYourOwnRitualChoiceSankalp: string;
36
+ makeYourOwnRitualChoiceOfferings: string;
37
+ makeYourOwnRitualStepsTitle: string;
38
+ makeYourOwnRitualStep1Title: string;
39
+ makeYourOwnRitualStep1Text: string;
40
+ makeYourOwnRitualStep2Title: string;
41
+ makeYourOwnRitualStep2Text: string;
42
+ makeYourOwnRitualStep3Title: string;
43
+ makeYourOwnRitualStep3Text: string;
44
+ selectAncestorsBackAriaLabel: string;
45
+ selectAncestorsProgressLabel: string;
46
+ selectAncestorsQuestion: string;
47
+ selectAncestorsCardHeadingPrefix: string;
48
+ selectAncestorsAllAncestorsCaption: string;
49
+ selectAncestorsCtaNextRitual: string;
50
+ selectAncestorsCtaProceed: string;
51
+ selectAncestorsAddMoreLabel: string;
52
+ selectAncestorsAndAddMoreLabel: string;
53
+ selectAncestorsOptionAll: string;
54
+ selectAncestorsOptionMother: string;
55
+ selectAncestorsOptionFather: string;
56
+ selectAncestorsOptionWife: string;
57
+ selectAncestorsOptionHusband: string;
58
+ selectAncestorsOptionGrandfatherPaternal: string;
59
+ selectAncestorsOptionGrandmotherPaternal: string;
60
+ selectAncestorsOptionGrandfatherMaternal: string;
61
+ selectAncestorsOptionGrandmotherMaternal: string;
62
+ selectAncestorsOptionGreatGrandfatherPaternal: string;
63
+ selectAncestorsOptionGreatGrandmotherPaternal: string;
64
+ selectAncestorsOptionGreatGrandfatherMaternal: string;
65
+ selectAncestorsOptionGreatGrandmotherMaternal: string;
66
+ deathTithiProgressLabel: string;
67
+ deathTithiQuestionPrefix: string;
68
+ deathTithiQuestionHighlight: string;
69
+ deathTithiQuestionSuffix: string;
70
+ deathTithiSubtextPrefix: string;
71
+ deathTithiSubtextHighlight: string;
72
+ deathTithiOption1Title: string;
73
+ deathTithiOption1Subtext: string;
74
+ deathTithiOption2Title: string;
75
+ deathTithiOption2Subtext: string;
76
+ deathTithiOption3Title: string;
77
+ deathTithiOption3Subtext: string;
78
+ deathTithiOption3ExpandedTitle: string;
79
+ deathTithiOption3ExpandedBody: string;
80
+ deathTithiCtaLabel: string;
81
+ deathTithiFinalCtaLabel: string;
82
+ deathTithiPickerHeadingSuffix: string;
83
+ deathTithiPickerConfirmCta: string;
84
+ deathDatePickerConfirmCta: string;
85
+ deathDatePickerTimezoneLabel: string;
86
+ tithiNamePratipada: string;
87
+ tithiNameDvitiya: string;
88
+ tithiNameTritiya: string;
89
+ tithiNameChaturthi: string;
90
+ tithiNamePanchami: string;
91
+ tithiNameShashthi: string;
92
+ tithiNameSaptami: string;
93
+ tithiNameAshtami: string;
94
+ tithiNameNavami: string;
95
+ tithiNameDashami: string;
96
+ tithiNameEkadashi: string;
97
+ tithiNameDvadashi: string;
98
+ tithiNameTrayodashi: string;
99
+ tithiNameChaturdashi: string;
100
+ tithiNameAmavasya: string;
101
+ amavasyaFallbackTithiPassedHeader: string;
102
+ amavasyaFallbackCardTitle: string;
103
+ amavasyaFallbackCardBadge: string;
104
+ amavasyaFallbackCardBodyDatePassed: string;
105
+ amavasyaFallbackCta: string;
106
+ addAncestorModalTitle: string;
107
+ addAncestorModalFieldLabel: string;
108
+ addAncestorModalNamePrefix: string;
109
+ addAncestorModalNamePlaceholder: string;
110
+ addAncestorModalAddMore: string;
111
+ addAncestorModalSaveCta: string;
112
+ selectRitualDaySheetHeading: string;
113
+ selectRitualDaySheetCardTitle: string;
114
+ selectRitualDaySheetCardDescription: string;
115
+ selectRitualDaySheetTag: string;
116
+ selectRitualDaySheetDeathAnniversaryTitle: string;
117
+ selectRitualDaySheetDeathAnniversaryDescription: string;
118
+ selectRitualDaySheetCta: string;
119
+ };
@@ -0,0 +1,27 @@
1
+ /**
2
+ * Hindi translations for Make Your Own Ritual
3
+ */
4
+ export declare const hi: {
5
+ headerBadge: string;
6
+ headerDateRange: string;
7
+ headerHeadline: string;
8
+ chooseMultipleNote: string;
9
+ nextStepInfoNote: string;
10
+ ritualPindDaanTitle: string;
11
+ ritualPindDaanDesc: string;
12
+ ritualTarpanTitle: string;
13
+ ritualTarpanDesc: string;
14
+ ritualShraddhaTitle: string;
15
+ ritualShraddhaDesc: string;
16
+ ritualLocationKotiTirtha: string;
17
+ ritualRating: string;
18
+ ritualBooked: string;
19
+ ritualPriceLabel: string;
20
+ ritualAboutLink: string;
21
+ ritualAboutChadhava: string;
22
+ ritualAboutSeva: string;
23
+ ritualSelectAriaLabel: string;
24
+ ritualCountSingular: string;
25
+ ritualCountPlural: string;
26
+ ctaProceed: string;
27
+ };
package/dist/index.d.ts CHANGED
@@ -1,2 +1,25 @@
1
+ export { I18nProvider, useI18n } from './i18n';
2
+ export type { SupportedLocale } from './i18n';
3
+ export { SelectAncestors } from './components/SelectAncestors';
4
+ export type { SelectAncestorsProps } from './components/SelectAncestors';
5
+ export type { RitualDayOption } from './components/SelectRitualDaySheet';
6
+ export { DeathTithi } from './components/DeathTithi';
7
+ export type { DeathTithiProps } from './components/DeathTithi';
8
+ export { ALL_ANCESTORS_ID, ANCESTOR_OPTIONS } from '../../pitru-paksh-common/dist/pitru-paksh-common.js';
9
+ export type { RitualDataAction, PhoneNumberData, PujaId, SelectedItem, AncestorSelection, TithiPreview, TithiValidity, DeathTithiSelection, MakeYourOwnRitualDataState, SetSelectedRitualsAction, LandingPageAction, LandingPageStore, PitruPakshStoreTemple, PitruPakshStoreAddOn, PitruPakshOrderedRitual, PitruPakshStoreData, PitruPakshRenderableRitual, RitualType, } from './types';
1
10
  export { MakeYourOwnRitualPage } from './components/MakeYourOwnRitualPage';
2
11
  export type { MakeYourOwnRitualPageProps } from './components/MakeYourOwnRitualPage';
12
+ export { LandingPage } from './components/LandingPage';
13
+ export type { LandingPageProps } from './components/LandingPage';
14
+ export { ChadhavaSevaBottomSheet } from './components/ChadhavaSevaBottomSheet';
15
+ export type { ChadhavaSevaBottomSheetProps } from './components/ChadhavaSevaBottomSheet';
16
+ export { MyorRitualCard } from './components/MyorRitualCard';
17
+ export type { MyorRitualCardProps } from './components/MyorRitualCard';
18
+ export { MyorServiceOfferCard } from './components/MyorServiceOfferCard';
19
+ export type { MyorServiceOfferCardProps } from './components/MyorServiceOfferCard';
20
+ export { MandapArrangementCard } from './components/MandapArrangementCard';
21
+ export type { MandapArrangementCardProps } from './components/MandapArrangementCard';
22
+ export { MyorOutcome } from './components/MyorOutcome';
23
+ export type { MyorOutcomeProps, MyorOutcomeRitualData } from './components/MyorOutcome';
24
+ export { PujaDetailsSheet, PujaDetailsCarouselHeader, PujaBenefitsSection, TempleSignificanceSection, DevoteesReviews, } from './components/PujaDetailsSheet';
25
+ export type { PujaDetailsSheetProps, PujaDetailsCarouselHeaderProps, PujaBenefitsSectionProps, PujaBenefitData, TempleSignificanceSectionProps, DevoteesReviewsProps, DevoteeReviewData, DevoteeReviewMedia, } from './components/PujaDetailsSheet';