@srimandir/pitru-paksh-ritual-recommendation 2.2.3 → 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.
- package/dist/components/AncestorEditModal/AncestorEditModal.d.ts +1 -3
- package/dist/components/AncestorEditModal/RemoveWarningDialog.d.ts +2 -4
- package/dist/components/PujaDetailsSheet/PujaDetailsCarouselHeader.d.ts +2 -5
- package/dist/components/PujaDetailsSheet/index.d.ts +0 -2
- package/dist/i18n/translations.d.ts +1 -1
- package/dist/i18n/translations.en.d.ts +0 -2
- package/dist/i18n/translations.hi.d.ts +0 -2
- package/dist/i18n/translations.te.d.ts +0 -1
- package/dist/index.d.ts +1 -3
- package/dist/pitru-paksh-ritual-recommendation.js +1857 -9859
- package/dist/pitru-paksh-ritual-recommendation.umd.cjs +8 -9
- package/dist/style.css +1 -1
- package/dist/types/pitruPaksh.types.d.ts +0 -4
- package/dist/types/pujaL2.types.d.ts +1 -15
- package/dist/utils/mapPujaL2Response.d.ts +0 -2
- package/package.json +4 -4
- package/dist/components/PujaDetailsSheet/PujaAboutSection.d.ts +0 -5
- package/dist/components/RitualLoader/RitualLoader.d.ts +0 -8
- package/dist/components/RitualLoader/index.d.ts +0 -2
- package/dist/i18n/translations.kn.d.ts +0 -274
|
@@ -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,
|
|
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,
|
|
13
|
+
export declare function RemoveWarningDialog({ isOpen, avatarUrl, messagePrefix, highlightedNames, confirmLabel, cancelLabel, onConfirm, onCancel, }: RemoveWarningDialogProps): import("react").JSX.Element | null;
|
|
@@ -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
|
-
|
|
7
|
-
specificity?: string;
|
|
4
|
+
description: string;
|
|
8
5
|
dateLabel: string;
|
|
9
6
|
locationLabel: string;
|
|
10
7
|
}
|
|
11
|
-
export declare function PujaDetailsCarouselHeader({ images,
|
|
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';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const SUPPORTED_LOCALES: readonly ["en", "hi", "te"
|
|
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;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { I18nProvider, useI18n
|
|
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';
|