@srimandir/pitru-paksh-ritual-recommendation 2.2.4 → 2.3.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.
@@ -18,9 +18,7 @@ export interface AncestorEditModalProps {
18
18
  addAgainLabel: string;
19
19
  removeLabel: string;
20
20
  removeWarningMessagePrefix: string;
21
- /** e.g. "?" for English; languages whose verb phrase follows the name put it here instead */
22
- removeWarningMessageSuffix?: string;
23
21
  removeWarningConfirmLabel: string;
24
22
  removeWarningCancelLabel: string;
25
23
  }
26
- export declare function AncestorEditModal({ isOpen, onClose, avatarUrl, question, ancestors, onToggle, confirmLabel, onConfirmClick, addAgainLabel, removeLabel, removeWarningMessagePrefix, removeWarningMessageSuffix, removeWarningConfirmLabel, removeWarningCancelLabel, }: AncestorEditModalProps): import("react").JSX.Element | null;
24
+ export declare function AncestorEditModal({ isOpen, onClose, avatarUrl, question, ancestors, onToggle, confirmLabel, onConfirmClick, addAgainLabel, removeLabel, removeWarningMessagePrefix, removeWarningConfirmLabel, removeWarningCancelLabel, }: AncestorEditModalProps): import("react").JSX.Element | null;
@@ -3,13 +3,11 @@ export interface RemoveWarningDialogProps {
3
3
  avatarUrl?: string;
4
4
  /** e.g. "Are you sure you want to remove the suggested rituals for your " */
5
5
  messagePrefix: string;
6
- /** e.g. "Grandfather (paternal) and Grandmother (paternal)" — rendered highlighted */
6
+ /** e.g. "Grandfather (paternal) and Grandmother (paternal)?" — rendered highlighted */
7
7
  highlightedNames: string;
8
- /** e.g. "?" — plain text rendered after the highlighted names, for languages whose verb phrase follows the name */
9
- messageSuffix?: string;
10
8
  confirmLabel: string;
11
9
  cancelLabel: string;
12
10
  onConfirm: () => void;
13
11
  onCancel: () => void;
14
12
  }
15
- export declare function RemoveWarningDialog({ isOpen, avatarUrl, messagePrefix, highlightedNames, messageSuffix, confirmLabel, cancelLabel, onConfirm, onCancel, }: RemoveWarningDialogProps): import("react").JSX.Element | null;
13
+ export declare function RemoveWarningDialog({ isOpen, avatarUrl, messagePrefix, highlightedNames, confirmLabel, cancelLabel, onConfirm, onCancel, }: RemoveWarningDialogProps): import("react").JSX.Element | null;
@@ -5,8 +5,6 @@ export interface BillDetailsItem {
5
5
  subtitle: string;
6
6
  /** e.g. "(2x₹100)" — omitted when there's no per-unit breakdown to show */
7
7
  quantityLabel?: string;
8
- /** e.g. "₹851" — struck through before `lineTotal`; omitted when there's no discount to show */
9
- originalLineTotal?: string;
10
8
  /** e.g. "₹200.0/-" */
11
9
  lineTotal: string;
12
10
  }
@@ -1,6 +1,5 @@
1
1
  export interface HeroProps {
2
2
  videoUrl: string;
3
3
  onCtaClick: () => void;
4
- onCtaVisibilityChange?: (visible: boolean) => void;
5
4
  }
6
- export declare function Hero({ videoUrl, onCtaClick, onCtaVisibilityChange }: HeroProps): import("react").JSX.Element;
5
+ export declare function Hero({ videoUrl, onCtaClick }: HeroProps): import("react").JSX.Element;
@@ -1,11 +1,8 @@
1
1
  export interface PujaDetailsCarouselHeaderProps {
2
2
  images: string[];
3
- /** Short purpose tag shown above the title, e.g. "पितृ शांति" */
4
- useCase?: string;
5
3
  title: string;
6
- /** Fuller puja name shown as a subtitle below the title, e.g. "पितृ तीर्थ महापूजा" */
7
- specificity?: string;
4
+ description: string;
8
5
  dateLabel: string;
9
6
  locationLabel: string;
10
7
  }
11
- export declare function PujaDetailsCarouselHeader({ images, useCase, title, specificity, dateLabel, locationLabel, }: PujaDetailsCarouselHeaderProps): import("react").JSX.Element;
8
+ export declare function PujaDetailsCarouselHeader({ images, title, description, dateLabel, locationLabel, }: PujaDetailsCarouselHeaderProps): import("react").JSX.Element;
@@ -4,8 +4,6 @@ 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';
9
7
  export { TempleSignificanceSection } from './TempleSignificanceSection';
10
8
  export type { TempleSignificanceSectionProps } from './TempleSignificanceSection';
11
9
  export { SheetVideoTestimonials } from './SheetVideoTestimonials';
@@ -0,0 +1,9 @@
1
+ import { PackageSelectSheetOption } from '../components/Outcome';
2
+ import { RitualRecommendationData, MandapArrangementData } from '../types';
3
+ import { ReviewData } from '../components/ReviewsAndRatings';
4
+ import { DevoteeReviewData } from '../components/PujaDetailsSheet';
5
+ export declare const SAMPLE_RITUALS: RitualRecommendationData[];
6
+ export declare const SAMPLE_MANDAP_ARRANGEMENT: MandapArrangementData;
7
+ export declare const SAMPLE_REVIEWS: ReviewData[];
8
+ export declare const SAMPLE_DEVOTEES_REVIEWS: DevoteeReviewData[];
9
+ export declare const SAMPLE_PACKAGE_SELECT_OPTIONS: PackageSelectSheetOption[];
@@ -1,4 +1,4 @@
1
- export declare const SUPPORTED_LOCALES: readonly ["en", "hi", "te", "kn"];
1
+ export declare const SUPPORTED_LOCALES: readonly ["en", "hi", "te"];
2
2
  export type SupportedLocale = (typeof SUPPORTED_LOCALES)[number];
3
3
  export declare const LOCALE_LABELS: Record<SupportedLocale, string>;
4
4
  export declare const translations: Record<SupportedLocale, Record<string, string>>;
@@ -247,7 +247,6 @@ export declare const en: {
247
247
  reviewsVideoProofChipSubtitle: string;
248
248
  reviewsReadAllLabel: string;
249
249
  pujaBenefitsHeading: string;
250
- pujaAboutHeading: string;
251
250
  templeSignificanceReadMoreLabel: string;
252
251
  templeSignificanceReadLessLabel: string;
253
252
  pujaVideoTestimonialsHeading: string;
@@ -261,7 +260,6 @@ export declare const en: {
261
260
  ancestorEditRemoveLabel: string;
262
261
  ancestorEditConfirmLabel: string;
263
262
  ancestorRemoveWarningPrefix: string;
264
- ancestorRemoveWarningSuffix: string;
265
263
  ancestorRemoveWarningConfirmLabel: string;
266
264
  ancestorRemoveWarningCancelLabel: string;
267
265
  billDetailsHeading: string;
@@ -243,7 +243,6 @@ export declare const hi: {
243
243
  reviewsVideoProofChipSubtitle: string;
244
244
  reviewsReadAllLabel: string;
245
245
  pujaBenefitsHeading: string;
246
- pujaAboutHeading: string;
247
246
  templeSignificanceReadMoreLabel: string;
248
247
  templeSignificanceReadLessLabel: string;
249
248
  pujaVideoTestimonialsHeading: string;
@@ -257,7 +256,6 @@ export declare const hi: {
257
256
  ancestorEditRemoveLabel: string;
258
257
  ancestorEditConfirmLabel: string;
259
258
  ancestorRemoveWarningPrefix: string;
260
- ancestorRemoveWarningSuffix: string;
261
259
  ancestorRemoveWarningConfirmLabel: string;
262
260
  ancestorRemoveWarningCancelLabel: string;
263
261
  billDetailsHeading: string;
@@ -261,5 +261,4 @@ export declare const te: {
261
261
  confirmPujaDetailsGotraLabel: string;
262
262
  confirmPujaDetailsWhatsappLabel: string;
263
263
  confirmPujaDetailsEditLabel: string;
264
- pujaAboutHeading: string;
265
264
  };
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- export { I18nProvider, useI18n, SUPPORTED_LOCALES } from './i18n';
1
+ export { I18nProvider, useI18n } from './i18n';
2
2
  export type { SupportedLocale } from './i18n';
3
3
  export { Landing } from './components/Landing';
4
4
  export type { LandingProps } from './components/Landing';
@@ -14,8 +14,6 @@ export { DeathTithi } from './components/DeathTithi';
14
14
  export type { DeathTithiProps } from './components/DeathTithi';
15
15
  export { LoadingScreen } from './components/LoadingScreen';
16
16
  export type { LoadingScreenProps } from './components/LoadingScreen';
17
- export { RitualLoader } from './components/RitualLoader';
18
- export type { RitualLoaderProps } from './components/RitualLoader';
19
17
  export type { RitualRecommendationData, MandapArrangementData, OutcomeTrustIconVariant, OutcomeTrustItemData, CauseOfDeathValue, DeathTithiMethod, PhoneNumberData, TithiPreview, TithiValidity, RitualRecommendationAction, RitualRecommendationState, PackageSelectSheetOption, PackageSelectSheetProps, AncestorOptionData, } from './types';
20
18
  export type { ReviewData } from './components/ReviewsAndRatings';
21
19
  export type { DevoteeReviewData, DevoteeReviewMedia } from './components/PujaDetailsSheet';