@srimandir/pitru-paksh-ritual-recommendation 2.1.3 → 2.2.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.
@@ -6,11 +6,5 @@ export interface CauseOfDeathProps {
6
6
  audioSrc?: string;
7
7
  onBackClick?: () => void;
8
8
  onProceed?: () => void;
9
- /** The "why untimely/accidental death matters" info sheet just opened. */
10
- onInfoSheetOpen?: () => void;
11
- /** Info sheet closed via its own CTA ("Got it"), not a backdrop/X dismiss. */
12
- onInfoSheetProceed?: () => void;
13
- /** Info sheet closed without its CTA (backdrop/X). */
14
- onInfoSheetDismiss?: () => void;
15
9
  }
16
- export declare function CauseOfDeath({ store, mutate, avatarUrl, audioSrc, onBackClick, onProceed, onInfoSheetOpen, onInfoSheetProceed, onInfoSheetDismiss, }: CauseOfDeathProps): import("react").JSX.Element;
10
+ export declare function CauseOfDeath({ store, mutate, avatarUrl, audioSrc, onBackClick, onProceed }: CauseOfDeathProps): import("react").JSX.Element;
@@ -10,22 +10,5 @@ export interface DeathTithiProps {
10
10
  onResolveTithiForDate?: (date: string, ancestorKey: string) => Promise<TithiPreview | undefined>;
11
11
  /** Checks whether a directly-picked tithi is still bookable. Never rejects — a failure resolves to undefined. */
12
12
  onValidateTithi?: (tithiKey: string, ancestorKey: string) => Promise<TithiValidity | undefined>;
13
- /** The tithi wheel closed without a value being confirmed. */
14
- onTithiPickerDismiss?: () => void;
15
- /** The date calendar closed without a value being confirmed. */
16
- onDatePickerDismiss?: () => void;
17
- /**
18
- * The tithi wheel was reopened via its already-selected value's editable
19
- * field (not the initial pick, which the caller already sees through its
20
- * own `mutate` call) — the only path this component doesn't otherwise
21
- * expose an open signal for.
22
- */
23
- onTithiPickerReopen?: () => void;
24
- /** Same as `onTithiPickerReopen`, for the date calendar's editable field. */
25
- onDatePickerReopen?: () => void;
26
- /** The Amavasya-fallback dialog's own CTA was tapped (not a backdrop dismiss). `source` is which flow triggered the fallback — a picked tithi that's closed, or a picked date that resolved to one. */
27
- onFallbackPopupProceed?: (source: 'date' | 'tithi') => void;
28
- /** The Amavasya-fallback dialog was dismissed via its backdrop, not its CTA. */
29
- onFallbackPopupDismiss?: (source: 'date' | 'tithi') => void;
30
13
  }
31
- export declare function DeathTithi({ store, mutate, avatarUrl, audioSrc, onBackClick, onProceed, onResolveTithiForDate, onValidateTithi, onTithiPickerDismiss, onDatePickerDismiss, onTithiPickerReopen, onDatePickerReopen, onFallbackPopupProceed, onFallbackPopupDismiss, }: DeathTithiProps): import("react").JSX.Element;
14
+ export declare function DeathTithi({ store, mutate, avatarUrl, audioSrc, onBackClick, onProceed, onResolveTithiForDate, onValidateTithi, }: DeathTithiProps): import("react").JSX.Element;
@@ -4,13 +4,5 @@ export interface LandingProps {
4
4
  onCtaClick: () => void;
5
5
  locale: SupportedLocale;
6
6
  onLocaleChange: (locale: SupportedLocale) => void;
7
- /**
8
- * Reports each content section's DOM node as it mounts/unmounts, in render
9
- * order (`position` is its 0-based index among the sections this fires
10
- * for — chrome like Hero/TopBar/FooterSection is excluded). No visibility
11
- * tracking happens here — this component stays dumb; observing these
12
- * nodes (e.g. via `IntersectionObserver`) is the caller's job.
13
- */
14
- onSectionRef?: (sectionName: string, position: number, el: HTMLDivElement | null) => void;
15
7
  }
16
- export declare function Landing({ videoUrl, onCtaClick, locale, onLocaleChange, onSectionRef, }: LandingProps): import("react").JSX.Element;
8
+ export declare function Landing({ videoUrl, onCtaClick, locale, onLocaleChange, }: LandingProps): import("react").JSX.Element;
@@ -1,5 +1,4 @@
1
1
  import { DevoteeReviewData, DevoteeReviewMedia } from '../PujaDetailsSheet';
2
- import { PackageSelectOption } from '../../../../pitru-paksh-common/dist/pitru-paksh-common.js';
3
2
  import { RitualRecommendationData, MandapArrangementData, PackageSelectSheetProps } from '../../types';
4
3
  export interface OutcomeProps {
5
4
  ritualCount: number;
@@ -13,24 +12,5 @@ export interface OutcomeProps {
13
12
  totalPrice: string;
14
13
  onPriceInfoClick?: () => void;
15
14
  onProceedClick?: (id: string) => void;
16
- /**
17
- * Reports each rendered ritual card's DOM node as it mounts/unmounts
18
- * (added/removed rituals included). No visibility tracking happens
19
- * here — this component stays dumb; observing these nodes (e.g. via
20
- * `IntersectionObserver`) is the caller's job.
21
- */
22
- onCardRef?: (index: number, el: HTMLDivElement | null) => void;
23
- /** The sticky CTA opened the "who is performing the puja" package sheet. */
24
- onPackageSheetOpen?: () => void;
25
- /** A different package option was highlighted in the package sheet. */
26
- onPackageInteraction?: (packageId: PackageSelectOption["id"]) => void;
27
- /** The package sheet closed via its backdrop/drag-down, not its own Proceed. */
28
- onPackageSheetDismiss?: () => void;
29
- /** The "Learn more" detail sheet's own CTA ("Got it") was tapped, not a backdrop/X dismiss. `ritualIndex` is whichever ritual it was open for. */
30
- onAboutPujaProceed?: (ritualIndex: number) => void;
31
- /** The "Learn more" detail sheet closed via backdrop/X, not its own CTA. */
32
- onAboutPujaDismiss?: (ritualIndex: number) => void;
33
- /** The ancestor-edit modal closed via its backdrop, not its own Confirm button. */
34
- onPitruListDismiss?: (ritualIndex: number) => void;
35
15
  }
36
- export declare function Outcome({ ritualCount, rituals, mandapArrangement, devoteesReviews, reviewMedia, onDevoteesReviewsSeeMoreClick, totalPrice, onPriceInfoClick, onProceedClick, onCardRef, onPackageSheetOpen, onPackageInteraction, onPackageSheetDismiss, onAboutPujaProceed, onAboutPujaDismiss, onPitruListDismiss, packageSelectOptions, }: OutcomeProps & PackageSelectSheetProps): import("react").JSX.Element;
16
+ export declare function Outcome({ ritualCount, rituals, mandapArrangement, devoteesReviews, reviewMedia, onDevoteesReviewsSeeMoreClick, totalPrice, onPriceInfoClick, onProceedClick, packageSelectOptions, }: OutcomeProps & PackageSelectSheetProps): import("react").JSX.Element;
@@ -0,0 +1,5 @@
1
+ export interface PujaAboutSectionProps {
2
+ heading: string;
3
+ description?: string;
4
+ }
5
+ export declare function PujaAboutSection({ heading, description }: PujaAboutSectionProps): import("react").JSX.Element | null;
@@ -1,8 +1,11 @@
1
1
  export interface PujaDetailsCarouselHeaderProps {
2
2
  images: string[];
3
+ /** Short purpose tag shown above the title, e.g. "पितृ शांति" */
4
+ useCase?: string;
3
5
  title: string;
4
- description: string;
6
+ /** Fuller puja name shown as a subtitle below the title, e.g. "पितृ तीर्थ महापूजा" */
7
+ specificity?: string;
5
8
  dateLabel: string;
6
9
  locationLabel: string;
7
10
  }
8
- export declare function PujaDetailsCarouselHeader({ images, title, description, dateLabel, locationLabel, }: PujaDetailsCarouselHeaderProps): import("react").JSX.Element;
11
+ export declare function PujaDetailsCarouselHeader({ images, useCase, title, specificity, dateLabel, locationLabel, }: PujaDetailsCarouselHeaderProps): import("react").JSX.Element;
@@ -4,6 +4,8 @@ export { PujaDetailsCarouselHeader } from './PujaDetailsCarouselHeader';
4
4
  export type { PujaDetailsCarouselHeaderProps } from './PujaDetailsCarouselHeader';
5
5
  export { PujaBenefitsSection } from './PujaBenefitsSection';
6
6
  export type { PujaBenefitsSectionProps, PujaBenefitData } from './PujaBenefitsSection';
7
+ export { PujaAboutSection } from './PujaAboutSection';
8
+ export type { PujaAboutSectionProps } from './PujaAboutSection';
7
9
  export { TempleSignificanceSection } from './TempleSignificanceSection';
8
10
  export type { TempleSignificanceSectionProps } from './TempleSignificanceSection';
9
11
  export { SheetVideoTestimonials } from './SheetVideoTestimonials';
@@ -6,14 +6,5 @@ export interface SelectAncestorsProps {
6
6
  audioSrc?: string;
7
7
  onBackClick?: () => void;
8
8
  onProceed?: () => void;
9
- /** The "Add more" bottom sheet just opened. */
10
- onAddAncestorSheetOpen?: () => void;
11
- /**
12
- * The "Add more" bottom sheet closed — fires on every close, including
13
- * right after a successful save (`AddAncestorSheet.handleSave` calls its
14
- * own `onClose` after `onSave`). This component stays dumb; telling a
15
- * save-close apart from a real dismiss is the caller's job.
16
- */
17
- onAddAncestorSheetDismiss?: () => void;
18
9
  }
19
- export declare function SelectAncestors({ store, mutate, avatarUrl, audioSrc, onBackClick, onProceed, onAddAncestorSheetOpen, onAddAncestorSheetDismiss, }: SelectAncestorsProps): import("react").JSX.Element;
10
+ export declare function SelectAncestors({ store, mutate, avatarUrl, audioSrc, onBackClick, onProceed, }: SelectAncestorsProps): import("react").JSX.Element;
@@ -247,6 +247,7 @@ export declare const en: {
247
247
  reviewsVideoProofChipSubtitle: string;
248
248
  reviewsReadAllLabel: string;
249
249
  pujaBenefitsHeading: string;
250
+ pujaAboutHeading: string;
250
251
  templeSignificanceReadMoreLabel: string;
251
252
  templeSignificanceReadLessLabel: string;
252
253
  pujaVideoTestimonialsHeading: string;
@@ -243,6 +243,7 @@ export declare const hi: {
243
243
  reviewsVideoProofChipSubtitle: string;
244
244
  reviewsReadAllLabel: string;
245
245
  pujaBenefitsHeading: string;
246
+ pujaAboutHeading: string;
246
247
  templeSignificanceReadMoreLabel: string;
247
248
  templeSignificanceReadLessLabel: string;
248
249
  pujaVideoTestimonialsHeading: string;
@@ -270,4 +270,5 @@ export declare const kn: {
270
270
  ancestorRemoveWarningSuffix: string;
271
271
  ancestorRemoveWarningConfirmLabel: string;
272
272
  ancestorRemoveWarningCancelLabel: string;
273
+ pujaAboutHeading: string;
273
274
  };
@@ -261,4 +261,5 @@ export declare const te: {
261
261
  confirmPujaDetailsGotraLabel: string;
262
262
  confirmPujaDetailsWhatsappLabel: string;
263
263
  confirmPujaDetailsEditLabel: string;
264
+ pujaAboutHeading: string;
264
265
  };