@srimandir/pitru-paksh-ritual-recommendation 1.0.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.
Files changed (49) hide show
  1. package/dist/components/BenefitCard/BenefitCard.d.ts +3 -0
  2. package/dist/components/BenefitCard/index.d.ts +2 -0
  3. package/dist/components/DatesCard/DatesCard.d.ts +4 -0
  4. package/dist/components/DatesCard/index.d.ts +2 -0
  5. package/dist/components/FaqSection/FaqSection.d.ts +1 -0
  6. package/dist/components/FaqSection/index.d.ts +1 -0
  7. package/dist/components/Footer/FooterComplianceSection.d.ts +1 -0
  8. package/dist/components/Footer/FooterLegalSection.d.ts +1 -0
  9. package/dist/components/Footer/FooterSection.d.ts +1 -0
  10. package/dist/components/Footer/index.d.ts +1 -0
  11. package/dist/components/GuidanceSection/GuidanceSection.d.ts +1 -0
  12. package/dist/components/GuidanceSection/GuidanceStep.d.ts +3 -0
  13. package/dist/components/GuidanceSection/index.d.ts +1 -0
  14. package/dist/components/Hero/Hero.d.ts +5 -0
  15. package/dist/components/Hero/index.d.ts +2 -0
  16. package/dist/components/Landing/Landing.d.ts +8 -0
  17. package/dist/components/Landing/index.d.ts +2 -0
  18. package/dist/components/OnlinePujaSection/OnlinePujaSection.d.ts +1 -0
  19. package/dist/components/OnlinePujaSection/index.d.ts +1 -0
  20. package/dist/components/PromiseCard/PromiseCard.d.ts +3 -0
  21. package/dist/components/PromiseCard/index.d.ts +2 -0
  22. package/dist/components/ReviewsSection/ReviewsSection.d.ts +4 -0
  23. package/dist/components/ReviewsSection/index.d.ts +1 -0
  24. package/dist/components/RitualRow/RitualRow.d.ts +3 -0
  25. package/dist/components/RitualRow/index.d.ts +2 -0
  26. package/dist/components/RitualsSection/RitualsSection.d.ts +7 -0
  27. package/dist/components/RitualsSection/index.d.ts +2 -0
  28. package/dist/components/SectionHeading/SectionHeading.d.ts +7 -0
  29. package/dist/components/SectionHeading/index.d.ts +2 -0
  30. package/dist/components/SignificanceSection/SignificanceSection.d.ts +7 -0
  31. package/dist/components/SignificanceSection/index.d.ts +2 -0
  32. package/dist/components/TrustBar/TrustBar.d.ts +1 -0
  33. package/dist/components/TrustBar/index.d.ts +1 -0
  34. package/dist/components/WhyItMattersSection/WhyItMattersSection.d.ts +7 -0
  35. package/dist/components/WhyItMattersSection/index.d.ts +2 -0
  36. package/dist/constants/index.d.ts +1 -0
  37. package/dist/constants/landing.constants.d.ts +5 -0
  38. package/dist/dev/main.d.ts +0 -0
  39. package/dist/i18n/index.d.ts +10 -0
  40. package/dist/i18n/translations.d.ts +4 -0
  41. package/dist/i18n/translations.en.d.ts +88 -0
  42. package/dist/i18n/translations.hi.d.ts +88 -0
  43. package/dist/index.d.ts +4 -0
  44. package/dist/pitru-paksh-ritual-recommendation.js +1348 -0
  45. package/dist/pitru-paksh-ritual-recommendation.umd.cjs +14 -0
  46. package/dist/style.css +1 -0
  47. package/dist/types/index.d.ts +1 -0
  48. package/dist/types/pitruPaksh.types.d.ts +21 -0
  49. package/package.json +66 -0
@@ -0,0 +1,3 @@
1
+ import { BenefitCardData } from '../../types';
2
+ export type BenefitCardProps = BenefitCardData;
3
+ export declare function BenefitCard({ icon: Icon, titleKey, descriptionKey }: BenefitCardProps): import("react").JSX.Element;
@@ -0,0 +1,2 @@
1
+ export { BenefitCard } from './BenefitCard';
2
+ export type { BenefitCardProps } from './BenefitCard';
@@ -0,0 +1,4 @@
1
+ export interface DatesCardProps {
2
+ date: string;
3
+ }
4
+ export declare function DatesCard({ date }: DatesCardProps): import("react").JSX.Element;
@@ -0,0 +1,2 @@
1
+ export { DatesCard } from './DatesCard';
2
+ export type { DatesCardProps } from './DatesCard';
@@ -0,0 +1 @@
1
+ export declare function FaqSection(): import("react").JSX.Element;
@@ -0,0 +1 @@
1
+ export { FaqSection } from './FaqSection';
@@ -0,0 +1 @@
1
+ export declare function FooterComplianceSection(): import("react").JSX.Element;
@@ -0,0 +1 @@
1
+ export declare function FooterLegalSection(): import("react").JSX.Element;
@@ -0,0 +1 @@
1
+ export declare function FooterSection(): import("react").JSX.Element;
@@ -0,0 +1 @@
1
+ export { FooterSection } from './FooterSection';
@@ -0,0 +1 @@
1
+ export declare function GuidanceSection(): import("react").JSX.Element;
@@ -0,0 +1,3 @@
1
+ import { GuidanceStepData } from '../../types';
2
+ export type GuidanceStepProps = GuidanceStepData;
3
+ export declare function GuidanceStep({ step, titleKey, descriptionKey, highlight }: GuidanceStepProps): import("react").JSX.Element;
@@ -0,0 +1 @@
1
+ export { GuidanceSection } from './GuidanceSection';
@@ -0,0 +1,5 @@
1
+ export interface HeroProps {
2
+ videoUrl: string;
3
+ ctaHref: string;
4
+ }
5
+ export declare function Hero({ videoUrl, ctaHref }: HeroProps): import("react").JSX.Element;
@@ -0,0 +1,2 @@
1
+ export { Hero } from './Hero';
2
+ export type { HeroProps } from './Hero';
@@ -0,0 +1,8 @@
1
+ import { SupportedLocale } from '../../i18n';
2
+ export interface LandingProps {
3
+ videoUrl: string;
4
+ ctaHref: string;
5
+ locale: SupportedLocale;
6
+ onLocaleChange: (locale: SupportedLocale) => void;
7
+ }
8
+ export declare function Landing({ videoUrl, ctaHref, locale, onLocaleChange, }: LandingProps): import("react").JSX.Element;
@@ -0,0 +1,2 @@
1
+ export { Landing } from './Landing';
2
+ export type { LandingProps } from './Landing';
@@ -0,0 +1 @@
1
+ export declare function OnlinePujaSection(): import("react").JSX.Element;
@@ -0,0 +1 @@
1
+ export { OnlinePujaSection } from './OnlinePujaSection';
@@ -0,0 +1,3 @@
1
+ import { PromiseCardData } from '../../types';
2
+ export type PromiseCardProps = PromiseCardData;
3
+ export declare function PromiseCard({ icon: Icon, textKey }: PromiseCardProps): import("react").JSX.Element;
@@ -0,0 +1,2 @@
1
+ export { PromiseCard } from './PromiseCard';
2
+ export type { PromiseCardProps } from './PromiseCard';
@@ -0,0 +1,4 @@
1
+ export interface ReviewsSectionProps {
2
+ videoUrl: string;
3
+ }
4
+ export declare function ReviewsSection({ videoUrl }: ReviewsSectionProps): import("react").JSX.Element;
@@ -0,0 +1 @@
1
+ export { ReviewsSection } from './ReviewsSection';
@@ -0,0 +1,3 @@
1
+ import { RitualItemData } from '../../types';
2
+ export type RitualRowProps = RitualItemData;
3
+ export declare function RitualRow({ image, titleKey, descriptionKey }: RitualRowProps): import("react").JSX.Element;
@@ -0,0 +1,2 @@
1
+ export { RitualRow } from './RitualRow';
2
+ export type { RitualRowProps } from './RitualRow';
@@ -0,0 +1,7 @@
1
+ import { RitualItemData } from '../../types';
2
+ export interface RitualsSectionProps {
3
+ eyebrow: string;
4
+ title: string;
5
+ items: RitualItemData[];
6
+ }
7
+ export declare function RitualsSection({ eyebrow, title, items }: RitualsSectionProps): import("react").JSX.Element;
@@ -0,0 +1,2 @@
1
+ export { RitualsSection } from './RitualsSection';
2
+ export type { RitualsSectionProps } from './RitualsSection';
@@ -0,0 +1,7 @@
1
+ export interface SectionHeadingProps {
2
+ eyebrow: string;
3
+ title: string;
4
+ /** Figma varies this per section: kashi-sunset-red-700 (#a02930) everywhere except Significance (#9e2a2b). */
5
+ titleColor?: string;
6
+ }
7
+ export declare function SectionHeading({ eyebrow, title, titleColor }: SectionHeadingProps): import("react").JSX.Element;
@@ -0,0 +1,2 @@
1
+ export { SectionHeading } from './SectionHeading';
2
+ export type { SectionHeadingProps } from './SectionHeading';
@@ -0,0 +1,7 @@
1
+ export interface SignificanceSectionProps {
2
+ eyebrow: string;
3
+ title: string;
4
+ description: string;
5
+ image: string;
6
+ }
7
+ export declare function SignificanceSection({ eyebrow, title, description, image }: SignificanceSectionProps): import("react").JSX.Element;
@@ -0,0 +1,2 @@
1
+ export { SignificanceSection } from './SignificanceSection';
2
+ export type { SignificanceSectionProps } from './SignificanceSection';
@@ -0,0 +1 @@
1
+ export declare function TrustBar(): import("react").JSX.Element;
@@ -0,0 +1 @@
1
+ export { TrustBar } from './TrustBar';
@@ -0,0 +1,7 @@
1
+ import { BenefitCardData } from '../../types';
2
+ export interface WhyItMattersSectionProps {
3
+ eyebrow: string;
4
+ title: string;
5
+ cards: BenefitCardData[];
6
+ }
7
+ export declare function WhyItMattersSection({ eyebrow, title, cards }: WhyItMattersSectionProps): import("react").JSX.Element;
@@ -0,0 +1,2 @@
1
+ export { WhyItMattersSection } from './WhyItMattersSection';
2
+ export type { WhyItMattersSectionProps } from './WhyItMattersSection';
@@ -0,0 +1 @@
1
+ export { LANDING_PROMISE_CARDS, LANDING_BENEFIT_CARDS, LANDING_RITUAL_ITEMS, LANDING_GUIDANCE_STEPS, } from './landing.constants';
@@ -0,0 +1,5 @@
1
+ import { BenefitCardData, GuidanceStepData, PromiseCardData, RitualItemData } from '../types';
2
+ export declare const LANDING_PROMISE_CARDS: PromiseCardData[];
3
+ export declare const LANDING_BENEFIT_CARDS: BenefitCardData[];
4
+ export declare const LANDING_RITUAL_ITEMS: RitualItemData[];
5
+ export declare const LANDING_GUIDANCE_STEPS: GuidanceStepData[];
File without changes
@@ -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,88 @@
1
+ export declare const en: {
2
+ trustPujasCompleted: string;
3
+ trustRating: string;
4
+ trustReviews: string;
5
+ landingHeroBadge: string;
6
+ landingHeroDates: string;
7
+ landingHeroHeading: string;
8
+ landingHeroCtaLabel: string;
9
+ landingPromise1Text: string;
10
+ landingPromise2Text: string;
11
+ landingPromise3Text: string;
12
+ landingSignificanceEyebrow: string;
13
+ landingSignificanceTitle: string;
14
+ landingSignificanceDescription: string;
15
+ landingWhyItMattersEyebrow: string;
16
+ landingWhyItMattersTitle: string;
17
+ landingBenefit1Title: string;
18
+ landingBenefit1Description: string;
19
+ landingBenefit2Title: string;
20
+ landingBenefit2Description: string;
21
+ landingBenefit3Title: string;
22
+ landingBenefit3Description: string;
23
+ landingRitualsEyebrow: string;
24
+ landingRitualsTitle: string;
25
+ landingRitual1Title: string;
26
+ landingRitual1Description: string;
27
+ landingRitual2Title: string;
28
+ landingRitual2Description: string;
29
+ landingRitual3Title: string;
30
+ landingRitual3Description: string;
31
+ landingRitual4Title: string;
32
+ landingRitual4Description: string;
33
+ landingGuidanceEyebrow: string;
34
+ landingGuidanceTitle: string;
35
+ landingGuidanceStep1Title: string;
36
+ landingGuidanceStep1Description: string;
37
+ landingGuidanceStep2Title: string;
38
+ landingGuidanceStep2Description: string;
39
+ landingGuidanceStep3Title: string;
40
+ landingGuidanceStep3Description: string;
41
+ landingGuidanceStep4Title: string;
42
+ landingGuidanceStep4Description: string;
43
+ landingOnlinePujaTitle: string;
44
+ landingOnlinePujaBodyPrefix: string;
45
+ landingOnlinePujaBodyPart1: string;
46
+ landingOnlinePujaBodyPart2: string;
47
+ landingOnlinePujaBodyPart3: string;
48
+ landingOnlinePujaBodyPart4: string;
49
+ landingOnlinePujaQuote: string;
50
+ landingReviewsVideoQuote: string;
51
+ landingReviewsVideoAuthorName: string;
52
+ landingReviewsVideoAuthorLocation: string;
53
+ landingReviewsHeadingHighlight: string;
54
+ landingReviewsHeadingRest: string;
55
+ landingReviewsRating: string;
56
+ landingReviewsTrustLine: string;
57
+ landingReviewsTestimonial1Quote: string;
58
+ landingReviewsTestimonial1AuthorName: string;
59
+ landingReviewsTestimonial1PujaLabel: string;
60
+ landingReviewsTestimonial2Quote: string;
61
+ landingReviewsTestimonial2AuthorName: string;
62
+ landingReviewsTestimonial2PujaLabel: string;
63
+ landingReviewsTestimonial3Quote: string;
64
+ landingReviewsTestimonial3AuthorName: string;
65
+ landingReviewsTestimonial3PujaLabel: string;
66
+ landingReviewsTestimonial4Quote: string;
67
+ landingReviewsTestimonial4AuthorName: string;
68
+ landingReviewsTestimonial4PujaLabel: string;
69
+ landingFaqTitle: string;
70
+ landingFaqQ1: string;
71
+ landingFaqA1: string;
72
+ landingFaqQ2: string;
73
+ landingFaqA2: string;
74
+ landingFaqQ3: string;
75
+ landingFaqA3: string;
76
+ landingFaqQ4: string;
77
+ landingFaqA4: string;
78
+ landingFaqQ5: string;
79
+ landingFaqA5: string;
80
+ landingFaqQ6: string;
81
+ landingFaqA6: string;
82
+ landingFooterAddressLabel: string;
83
+ landingFooterAddress: string;
84
+ landingFooterLegalPrivacyPolicy: string;
85
+ landingFooterLegalTerms: string;
86
+ landingFooterLegalCopyright: string;
87
+ landingTopBarBackButtonAriaLabel: string;
88
+ };
@@ -0,0 +1,88 @@
1
+ export declare const hi: {
2
+ trustPujasCompleted: string;
3
+ trustRating: string;
4
+ trustReviews: string;
5
+ landingHeroBadge: string;
6
+ landingHeroDates: string;
7
+ landingHeroHeading: string;
8
+ landingHeroCtaLabel: string;
9
+ landingPromise1Text: string;
10
+ landingPromise2Text: string;
11
+ landingPromise3Text: string;
12
+ landingSignificanceEyebrow: string;
13
+ landingSignificanceTitle: string;
14
+ landingSignificanceDescription: string;
15
+ landingWhyItMattersEyebrow: string;
16
+ landingWhyItMattersTitle: string;
17
+ landingBenefit1Title: string;
18
+ landingBenefit1Description: string;
19
+ landingBenefit2Title: string;
20
+ landingBenefit2Description: string;
21
+ landingBenefit3Title: string;
22
+ landingBenefit3Description: string;
23
+ landingRitualsEyebrow: string;
24
+ landingRitualsTitle: string;
25
+ landingRitual1Title: string;
26
+ landingRitual1Description: string;
27
+ landingRitual2Title: string;
28
+ landingRitual2Description: string;
29
+ landingRitual3Title: string;
30
+ landingRitual3Description: string;
31
+ landingRitual4Title: string;
32
+ landingRitual4Description: string;
33
+ landingGuidanceEyebrow: string;
34
+ landingGuidanceTitle: string;
35
+ landingGuidanceStep1Title: string;
36
+ landingGuidanceStep1Description: string;
37
+ landingGuidanceStep2Title: string;
38
+ landingGuidanceStep2Description: string;
39
+ landingGuidanceStep3Title: string;
40
+ landingGuidanceStep3Description: string;
41
+ landingGuidanceStep4Title: string;
42
+ landingGuidanceStep4Description: string;
43
+ landingOnlinePujaTitle: string;
44
+ landingOnlinePujaBodyPrefix: string;
45
+ landingOnlinePujaBodyPart1: string;
46
+ landingOnlinePujaBodyPart2: string;
47
+ landingOnlinePujaBodyPart3: string;
48
+ landingOnlinePujaBodyPart4: string;
49
+ landingOnlinePujaQuote: string;
50
+ landingReviewsVideoQuote: string;
51
+ landingReviewsVideoAuthorName: string;
52
+ landingReviewsVideoAuthorLocation: string;
53
+ landingReviewsHeadingHighlight: string;
54
+ landingReviewsHeadingRest: string;
55
+ landingReviewsRating: string;
56
+ landingReviewsTrustLine: string;
57
+ landingReviewsTestimonial1Quote: string;
58
+ landingReviewsTestimonial1AuthorName: string;
59
+ landingReviewsTestimonial1PujaLabel: string;
60
+ landingReviewsTestimonial2Quote: string;
61
+ landingReviewsTestimonial2AuthorName: string;
62
+ landingReviewsTestimonial2PujaLabel: string;
63
+ landingReviewsTestimonial3Quote: string;
64
+ landingReviewsTestimonial3AuthorName: string;
65
+ landingReviewsTestimonial3PujaLabel: string;
66
+ landingReviewsTestimonial4Quote: string;
67
+ landingReviewsTestimonial4AuthorName: string;
68
+ landingReviewsTestimonial4PujaLabel: string;
69
+ landingFaqTitle: string;
70
+ landingFaqQ1: string;
71
+ landingFaqA1: string;
72
+ landingFaqQ2: string;
73
+ landingFaqA2: string;
74
+ landingFaqQ3: string;
75
+ landingFaqA3: string;
76
+ landingFaqQ4: string;
77
+ landingFaqA4: string;
78
+ landingFaqQ5: string;
79
+ landingFaqA5: string;
80
+ landingFaqQ6: string;
81
+ landingFaqA6: string;
82
+ landingFooterAddressLabel: string;
83
+ landingFooterAddress: string;
84
+ landingFooterLegalPrivacyPolicy: string;
85
+ landingFooterLegalTerms: string;
86
+ landingFooterLegalCopyright: string;
87
+ landingTopBarBackButtonAriaLabel: string;
88
+ };
@@ -0,0 +1,4 @@
1
+ export { I18nProvider, useI18n } from './i18n';
2
+ export type { SupportedLocale } from './i18n';
3
+ export { Landing } from './components/Landing';
4
+ export type { LandingProps } from './components/Landing';