@srimandir/pitru-paksh-ritual-recommendation 2.35.2 → 2.35.4

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.
@@ -1,9 +1,12 @@
1
+ import { PickedDate } from '../../../../pitru-paksh-common/dist/pitru-paksh-common.js';
1
2
  import { RitualRecommendationAction, RitualRecommendationState, TithiPreview, TithiValidity } from '../../types';
2
3
  export interface DeathTithiProps {
3
4
  store: Pick<RitualRecommendationState, 'selectedAncestors' | 'deathTithiMethodByAncestor' | 'deathTithiValueByAncestor' | 'deathDateByAncestor' | 'tithiValidityByAncestor' | 'tithiPreviewByAncestor' | 'currentDeathTithiAncestorIndex'>;
4
5
  mutate: (action: RitualRecommendationAction) => void;
5
6
  avatarUrl: string;
6
7
  audioSrc?: string;
8
+ /** Latest death date selectable in the date picker calendar. Omit for no upper bound. */
9
+ maxDeathDate?: PickedDate;
7
10
  onBackClick?: () => void;
8
11
  onProceed?: () => void;
9
12
  /** Resolves the tithi a picked death date falls on. Persisted via SET_TITHI_PREVIEW; not rendered by this component. */
@@ -28,4 +31,4 @@ export interface DeathTithiProps {
28
31
  /** The Amavasya-fallback dialog was dismissed via its backdrop, not its CTA. */
29
32
  onFallbackPopupDismiss?: (source: 'date' | 'tithi') => void;
30
33
  }
31
- export declare function DeathTithi({ store, mutate, avatarUrl, audioSrc, onBackClick, onProceed, onResolveTithiForDate, onValidateTithi, onTithiPickerDismiss, onDatePickerDismiss, onTithiPickerReopen, onDatePickerReopen, onFallbackPopupProceed, onFallbackPopupDismiss, }: DeathTithiProps): import("react").JSX.Element;
34
+ export declare function DeathTithi({ store, mutate, avatarUrl, audioSrc, maxDeathDate, onBackClick, onProceed, onResolveTithiForDate, onValidateTithi, onTithiPickerDismiss, onDatePickerDismiss, onTithiPickerReopen, onDatePickerReopen, onFallbackPopupProceed, onFallbackPopupDismiss, }: DeathTithiProps): import("react").JSX.Element;
@@ -1,6 +1,9 @@
1
1
  import { SupportedLocale } from '../../i18n';
2
2
  export interface LandingProps {
3
- videoUrl: string;
3
+ /** Video played in the Hero section, above the fold. */
4
+ heroVideoUrl: string;
5
+ /** Video played in the Reviews section's testimonial video card. */
6
+ reviewsSectionVideoUrl: string;
4
7
  onCtaClick: () => void;
5
8
  locale: SupportedLocale;
6
9
  onLocaleChange: (locale: SupportedLocale) => void;
@@ -15,4 +18,4 @@ export interface LandingProps {
15
18
  */
16
19
  onSectionRef?: (sectionName: string, position: number, el: HTMLDivElement | null) => void;
17
20
  }
18
- export declare function Landing({ videoUrl, onCtaClick, locale, onLocaleChange, onBackClick, onSectionRef, }: LandingProps): import("react").JSX.Element;
21
+ export declare function Landing({ heroVideoUrl, reviewsSectionVideoUrl, onCtaClick, locale, onLocaleChange, onBackClick, onSectionRef, }: LandingProps): import("react").JSX.Element;