@srimandir/pitru-paksh-common 2.0.34 → 2.0.36

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 (29) hide show
  1. package/dist/components/AddAncestorSheet/AddAncestorSheet.d.ts +13 -0
  2. package/dist/components/AddAncestorSheet/index.d.ts +2 -0
  3. package/dist/components/AncestorTab/AncestorTab.d.ts +15 -0
  4. package/dist/components/AncestorTab/index.d.ts +2 -0
  5. package/dist/components/AncestorTabRow/AncestorTabRow.d.ts +15 -0
  6. package/dist/components/AncestorTabRow/index.d.ts +2 -0
  7. package/dist/components/AvatarCardDialog/AvatarCardDialog.d.ts +17 -0
  8. package/dist/components/AvatarCardDialog/index.d.ts +2 -0
  9. package/dist/components/EventHeader/EventHeader.d.ts +35 -0
  10. package/dist/components/EventHeader/index.d.ts +2 -0
  11. package/dist/components/PujaDetailsForm/PujaDetailsForm.d.ts +1 -1
  12. package/dist/components/PujaDetailsForm/PujaDetailsForm.types.d.ts +0 -2
  13. package/dist/components/RitualProceedBar/RitualProceedBar.d.ts +35 -0
  14. package/dist/components/RitualProceedBar/index.d.ts +2 -0
  15. package/dist/components/TrustBadgesBar/TrustBadgesBar.d.ts +2 -14
  16. package/dist/constants/ancestor.constants.d.ts +57 -0
  17. package/dist/constants/deathTithi.constants.d.ts +8 -0
  18. package/dist/constants/index.d.ts +3 -0
  19. package/dist/constants/tithi.constants.d.ts +1 -0
  20. package/dist/index.d.ts +31 -15
  21. package/dist/pitru-paksh-common.d.ts +31 -15
  22. package/dist/pitru-paksh-common.js +1744 -1359
  23. package/dist/pitru-paksh-common.umd.cjs +8 -8
  24. package/dist/style.css +1 -1
  25. package/dist/types/ancestor.types.d.ts +6 -0
  26. package/dist/types/deathTithi.types.d.ts +1 -0
  27. package/dist/types/index.d.ts +2 -0
  28. package/dist/utils/date.utils.d.ts +6 -0
  29. package/package.json +1 -1
@@ -0,0 +1,13 @@
1
+ export interface AddAncestorSheetProps {
2
+ isOpen: boolean;
3
+ onClose: () => void;
4
+ onSave: (names: string[]) => void;
5
+ title: string;
6
+ fieldLabel: string;
7
+ namePrefix: string;
8
+ namePlaceholder: string;
9
+ addMoreLabel: string;
10
+ saveCta: string;
11
+ maxNameLength?: number;
12
+ }
13
+ export declare function AddAncestorSheet({ isOpen, onClose, onSave, title, fieldLabel, namePrefix, namePlaceholder, addMoreLabel, saveCta, maxNameLength, }: AddAncestorSheetProps): import("react").JSX.Element;
@@ -0,0 +1,2 @@
1
+ export { AddAncestorSheet } from './AddAncestorSheet';
2
+ export type { AddAncestorSheetProps } from './AddAncestorSheet';
@@ -0,0 +1,15 @@
1
+ export type AncestorTabState = 'enabled' | 'disabled' | 'filled';
2
+ export interface AncestorTabProps {
3
+ label: string;
4
+ avatarUrl: string;
5
+ /**
6
+ * enabled = the ancestor currently being viewed (orange highlight).
7
+ * disabled = grayscale avatar treatment (not yet filled in and not currently viewed).
8
+ * filled = has saved data (edit badge).
9
+ * Purely visual — clickability is controlled by whether `onClick` is passed.
10
+ */
11
+ state: AncestorTabState;
12
+ /** Omit to make the tab inert (not yet reachable). */
13
+ onClick?: () => void;
14
+ }
15
+ export declare function AncestorTab({ label, avatarUrl, state, onClick }: AncestorTabProps): import("react").JSX.Element;
@@ -0,0 +1,2 @@
1
+ export { AncestorTab } from './AncestorTab';
2
+ export type { AncestorTabProps, AncestorTabState } from './AncestorTab';
@@ -0,0 +1,15 @@
1
+ export interface AncestorTabRowEntry {
2
+ key: string;
3
+ label: string;
4
+ }
5
+ export interface AncestorTabRowProps {
6
+ entries: AncestorTabRowEntry[];
7
+ /** Index of the ancestor currently being viewed (gets the 'enabled' tab state). */
8
+ viewedIndex: number;
9
+ isEntryFilled: (key: string) => boolean;
10
+ /** Clickability of a tab — tabs beyond the frontier are inert. */
11
+ isEntryReachable: (index: number) => boolean;
12
+ onSelect: (index: number) => void;
13
+ className?: string;
14
+ }
15
+ export declare function AncestorTabRow({ entries, viewedIndex, isEntryFilled, isEntryReachable, onSelect, className, }: AncestorTabRowProps): import("react").JSX.Element;
@@ -0,0 +1,2 @@
1
+ export { AncestorTabRow } from './AncestorTabRow';
2
+ export type { AncestorTabRowProps, AncestorTabRowEntry } from './AncestorTabRow';
@@ -0,0 +1,17 @@
1
+ import { ReactNode } from 'react';
2
+ export interface AvatarCardDialogProps {
3
+ isOpen: boolean;
4
+ /** Dismiss without confirming, e.g. backdrop tap. */
5
+ onClose: () => void;
6
+ avatarUrl: string;
7
+ /** Text shown above the card, e.g. "The most auspicious day for the Sarva Pitru Puja!". */
8
+ heading: string;
9
+ ctaLabel: string;
10
+ onCtaClick: () => void;
11
+ cardIcon: ReactNode;
12
+ cardTitle: ReactNode;
13
+ cardDescription: ReactNode;
14
+ cardTag: ReactNode;
15
+ cardTagClassName?: string;
16
+ }
17
+ export declare function AvatarCardDialog({ isOpen, onClose, avatarUrl, heading, ctaLabel, onCtaClick, cardIcon, cardTitle, cardDescription, cardTag, cardTagClassName, }: AvatarCardDialogProps): import("react").JSX.Element | null;
@@ -0,0 +1,2 @@
1
+ export { AvatarCardDialog } from './AvatarCardDialog';
2
+ export type { AvatarCardDialogProps } from './AvatarCardDialog';
@@ -0,0 +1,35 @@
1
+ export interface EventHeaderProps {
2
+ /** e.g. "Pitru Paksh Special" — rendered between the two star marks */
3
+ badgeLabel: string;
4
+ /** e.g. "27 September - 12 October, 2026" */
5
+ dateRangeLabel: string;
6
+ /** e.g. "Perform Puja Chadhava and Seva in memory of your ancestor" */
7
+ headline: string;
8
+ /** Width of the decorative mandala, in px (number) or any CSS size. Height auto-scales to preserve its native aspect ratio (1:1). Defaults to 225. */
9
+ mandalaWidth?: number | string;
10
+ /** Offset from the header's top edge, in px (number) or any CSS size — negative values push it further out of view. Defaults to -149 (shows just the bottom arc peeking above the logo). */
11
+ mandalaTop?: number | string;
12
+ /** Set to hide the mandala entirely. */
13
+ showMandala?: boolean;
14
+ /**
15
+ * Exact offset from the header's left edge, in px (number) or any CSS size — e.g. `-40` to bleed off the left side.
16
+ * Takes precedence over `mandalaRight` if both are set. Omit both to keep the mandala centered (the default).
17
+ */
18
+ mandalaLeft?: number | string;
19
+ /** Exact offset from the header's right edge, in px (number) or any CSS size. Ignored if `mandalaLeft` is also set. */
20
+ mandalaRight?: number | string;
21
+ className?: string;
22
+ }
23
+ /**
24
+ * Campaign header banner shown at the top of Pitru Paksha landing pages: a
25
+ * decorative mandala, Sri Mandir logo, an event badge, a date-range pill, and
26
+ * a bold headline, over a cream-to-white gradient.
27
+ *
28
+ * @example
29
+ * <EventHeader
30
+ * badgeLabel="Pitru Paksh Special"
31
+ * dateRangeLabel="27 September - 12 October, 2026"
32
+ * headline="Perform Puja Chadhava and Seva in memory of your ancestor"
33
+ * />
34
+ */
35
+ export declare function EventHeader({ badgeLabel, dateRangeLabel, headline, mandalaWidth, mandalaTop, showMandala, mandalaLeft, mandalaRight, className, }: EventHeaderProps): import("react").JSX.Element;
@@ -0,0 +1,2 @@
1
+ export { EventHeader } from './EventHeader';
2
+ export type { EventHeaderProps } from './EventHeader';
@@ -13,7 +13,7 @@ import { AncestorNameEntry, PujaDetailsFormProps, PujaDetailsFormValues } from '
13
13
  * always the fixed, translated copy (not overridable) since this form only
14
14
  * ever collects an Indian mobile number or an email.
15
15
  */
16
- export declare function PujaDetailsForm({ locale, values, onValuesChange, isGlobal, gotraOptions, isSarvaPitru, onBackClick, amount, ritualsCountLabel, onPriceInfoClick, showPriceInfoIcon, canProceed, proceedCtaLabel, proceedButtonProps, onProceedPayment, className, }: PujaDetailsFormProps): import("react").JSX.Element;
16
+ export declare function PujaDetailsForm({ locale, values, onValuesChange, isGlobal, gotraOptions, isSarvaPitru, onBackClick, amount, ritualsCountLabel, onPriceInfoClick, canProceed, proceedCtaLabel, proceedButtonProps, onProceedPayment, className, }: PujaDetailsFormProps): import("react").JSX.Element;
17
17
  /**
18
18
  * Convenience factory for a blank `PujaDetailsFormValues`, e.g. to seed local
19
19
  * component state. `kartaCount` sets how many Karta name fields render —
@@ -62,8 +62,6 @@ export interface PujaDetailsFormProps {
62
62
  /** Muted line under the amount in the sticky bottom bar, e.g. "2 Rituals". */
63
63
  ritualsCountLabel?: string;
64
64
  onPriceInfoClick?: () => void;
65
- /** Shows/hides the info icon next to the amount in the sticky bottom bar. Defaults to `true`. */
66
- showPriceInfoIcon?: boolean;
67
65
  /** Overrides the computed required-fields check for enabling the CTA. */
68
66
  canProceed?: boolean;
69
67
  /** Defaults to locale-specific copy. */
@@ -0,0 +1,35 @@
1
+ import { ReactNode } from 'react';
2
+ import { ButtonProps } from '../Button';
3
+ export interface RitualProceedBarProps {
4
+ /** e.g. "₹1002/-" — when omitted, the bar renders a single full-width proceed button (nothing selected yet). */
5
+ amount?: ReactNode;
6
+ amountClassName?: string;
7
+ /** e.g. "2 Rituals" — shown under the amount. */
8
+ subtitle?: ReactNode;
9
+ subtitleClassName?: string;
10
+ /** Info icon next to the amount — click to reveal a bill breakdown, etc. Pass `onInfoClick` to make it interactive. */
11
+ showInfoIcon?: boolean;
12
+ onInfoClick?: () => void;
13
+ /** CTA label, e.g. "Continue". */
14
+ proceedLabel?: ReactNode;
15
+ /** Trailing icon on the CTA. Defaults to an arrow. Pass `null` to hide it. */
16
+ proceedIcon?: ReactNode;
17
+ onProceed?: () => void;
18
+ /** Renders a flat, muted button. Defaults to `amount == null` (nothing to proceed with yet). */
19
+ disabled?: boolean;
20
+ /** Extra props forwarded to the underlying `Button` (size, loading, ...). */
21
+ proceedButtonProps?: Omit<ButtonProps, 'children' | 'onClick' | 'disabled' | 'variant'>;
22
+ className?: string;
23
+ }
24
+ /**
25
+ * Sticky bottom bar for a ritual-selection flow, over a cream-to-pink
26
+ * gradient. Two states, switched by whether `amount` is passed:
27
+ * - No `amount`: a single full-width, muted proceed button (nothing picked yet).
28
+ * - With `amount`: the total + an optional "N Rituals" subtitle on the left,
29
+ * and a green "Continue" button on the right.
30
+ *
31
+ * @example
32
+ * <RitualProceedBar amount="₹1002/-" subtitle="2 Rituals" proceedLabel="Continue" onProceed={...} />
33
+ * <RitualProceedBar proceedLabel="Continue" onProceed={...} /> // nothing selected yet
34
+ */
35
+ export declare function RitualProceedBar({ amount, amountClassName, subtitle, subtitleClassName, showInfoIcon, onInfoClick, proceedLabel, proceedIcon, onProceed, disabled, proceedButtonProps, className, }: RitualProceedBarProps): import("react").JSX.Element;
@@ -0,0 +1,2 @@
1
+ export { RitualProceedBar } from './RitualProceedBar';
2
+ export type { RitualProceedBarProps } from './RitualProceedBar';
@@ -15,25 +15,13 @@ export interface TrustBadgesBarProps extends React.HTMLAttributes<HTMLDivElement
15
15
  */
16
16
  badges?: TrustBadge[];
17
17
  badgeClassName?: string;
18
- /** Continuously auto-scrolls the badges in an infinite loop instead of a static (manually scrollable) row. Defaults to `true`. */
19
- marquee?: boolean;
20
- /** Seconds for one full marquee loop — lower is faster. Only used when `marquee` is `true`. Defaults to `14`. */
21
- marqueeDurationSeconds?: number;
22
18
  }
23
19
  /**
24
- * Strip of trust badges (icon + label) shown above the checkout bar, e.g.
25
- * "100% Money Back Guarantee | No Hidden Cost | ...". Loops in a continuous
26
- * horizontal marquee by default — pass `marquee={false}` for a static,
27
- * manually scrollable row instead.
28
- *
29
- * The marquee renders `badges` twice back-to-back and animates the track
30
- * leftward by exactly one copy's width (`-50%`), so the moment the first
31
- * copy scrolls fully off-screen the second is in the exact same position it
32
- * started in — the loop point is invisible. Respects `prefers-reduced-motion`.
20
+ * Horizontally scrollable strip of trust badges (icon + label) shown above
21
+ * the checkout bar, e.g. "100% Money Back Guarantee | No Hidden Cost | ...".
33
22
  *
34
23
  * @example
35
24
  * <TrustBadgesBar />
36
- * <TrustBadgesBar marquee={false} />
37
25
  * <TrustBadgesBar badges={[{ id: 'verified', icon: <FiCheckCircle />, label: 'Verified Pandits' }]} />
38
26
  */
39
27
  export declare const TrustBadgesBar: React.FC<TrustBadgesBarProps>;
@@ -0,0 +1,57 @@
1
+ export declare const ALL_ANCESTORS_ID = "all";
2
+ export declare const ANCESTOR_OPTIONS: [{
3
+ readonly id: "all";
4
+ readonly labelKey: "selectAncestorsOptionAll";
5
+ }, {
6
+ readonly id: "mother";
7
+ readonly labelKey: "selectAncestorsOptionMother";
8
+ readonly gender: "female";
9
+ }, {
10
+ readonly id: "father";
11
+ readonly labelKey: "selectAncestorsOptionFather";
12
+ readonly gender: "male";
13
+ }, {
14
+ readonly id: "wife";
15
+ readonly labelKey: "selectAncestorsOptionWife";
16
+ readonly gender: "female";
17
+ }, {
18
+ readonly id: "husband";
19
+ readonly labelKey: "selectAncestorsOptionHusband";
20
+ readonly gender: "male";
21
+ }, {
22
+ readonly id: "grandfatherPaternal";
23
+ readonly labelKey: "selectAncestorsOptionGrandfatherPaternal";
24
+ readonly gender: "male";
25
+ }, {
26
+ readonly id: "grandmotherPaternal";
27
+ readonly labelKey: "selectAncestorsOptionGrandmotherPaternal";
28
+ readonly gender: "female";
29
+ }, {
30
+ readonly id: "grandfatherMaternal";
31
+ readonly labelKey: "selectAncestorsOptionGrandfatherMaternal";
32
+ readonly gender: "male";
33
+ }, {
34
+ readonly id: "grandmotherMaternal";
35
+ readonly labelKey: "selectAncestorsOptionGrandmotherMaternal";
36
+ readonly gender: "female";
37
+ }, {
38
+ readonly id: "greatGrandfatherPaternal";
39
+ readonly labelKey: "selectAncestorsOptionGreatGrandfatherPaternal";
40
+ readonly gender: "male";
41
+ }, {
42
+ readonly id: "greatGrandmotherPaternal";
43
+ readonly labelKey: "selectAncestorsOptionGreatGrandmotherPaternal";
44
+ readonly gender: "female";
45
+ }, {
46
+ readonly id: "greatGrandfatherMaternal";
47
+ readonly labelKey: "selectAncestorsOptionGreatGrandfatherMaternal";
48
+ readonly gender: "male";
49
+ }, {
50
+ readonly id: "greatGrandmotherMaternal";
51
+ readonly labelKey: "selectAncestorsOptionGreatGrandmotherMaternal";
52
+ readonly gender: "female";
53
+ }];
54
+ export declare const MALE_ANCESTOR_AVATAR_URL = "https://srm-cdn.a4b.io/yoda/1788334548628.webp";
55
+ export declare const FEMALE_ANCESTOR_AVATAR_URL = "https://srm-cdn.a4b.io/yoda/1788334564281.webp";
56
+ /** Custom (free-text) ancestor names carry no gender, so they default to the male avatar. */
57
+ export declare function getAncestorAvatarUrl(ancestorKey: string): string;
@@ -0,0 +1,8 @@
1
+ import { IconType } from 'react-icons';
2
+ import { DeathTithiMethod } from '../types';
3
+ export declare const DEATH_TITHI_OPTIONS: {
4
+ value: DeathTithiMethod;
5
+ Icon: IconType;
6
+ titleKey: string;
7
+ subtextKey: string;
8
+ }[];
@@ -0,0 +1,3 @@
1
+ export { ALL_ANCESTORS_ID, ANCESTOR_OPTIONS, MALE_ANCESTOR_AVATAR_URL, FEMALE_ANCESTOR_AVATAR_URL, getAncestorAvatarUrl, } from './ancestor.constants';
2
+ export { DEATH_TITHI_OPTIONS } from './deathTithi.constants';
3
+ export { TITHI_NAME_KEYS } from './tithi.constants';
@@ -0,0 +1 @@
1
+ export declare const TITHI_NAME_KEYS: string[];
package/dist/index.d.ts CHANGED
@@ -1,5 +1,9 @@
1
1
  export { Button, buttonVariants } from './components/Button';
2
2
  export type { ButtonProps } from './components/Button';
3
+ export { EventHeader } from './components/EventHeader';
4
+ export type { EventHeaderProps } from './components/EventHeader';
5
+ export { RitualProceedBar } from './components/RitualProceedBar';
6
+ export type { RitualProceedBarProps } from './components/RitualProceedBar';
3
7
  export { ConfinedBottomSheet } from './components/ConfinedBottomSheet';
4
8
  export { TestimonialCard } from './components/TestimonialCard';
5
9
  export type { TestimonialCardProps } from './components/TestimonialCard';
@@ -8,7 +12,7 @@ export type { FAQSectionProps, FAQItem } from './components/FAQSection';
8
12
  export { VideoPlayer } from './components/VideoPlayer';
9
13
  export type { VideoPlayerProps } from './components/VideoPlayer';
10
14
  export { LanguageSwitcher } from './components/LanguageSwitcher';
11
- export type { LanguageSwitcherProps, LanguageOption } from './components/LanguageSwitcher';
15
+ export type { LanguageSwitcherProps, LanguageOption, } from './components/LanguageSwitcher';
12
16
  export { TopBar } from './components/TopBar';
13
17
  export type { TopBarProps } from './components/TopBar';
14
18
  export { Chip } from './components/Chip';
@@ -23,34 +27,34 @@ export { SelectorCard, SelectorCardEditableField, SelectorCardInfoRow, SelectorC
23
27
  export type { SelectorCardProps, SelectorCardEditableFieldProps, SelectorCardInfoRowProps, SelectorCardNoteProps, SelectorCardPriceBadgeProps, } from './components/SelectorCard';
24
28
  export { QuantityStepper } from './components/QuantityStepper';
25
29
  export type { QuantityStepperProps } from './components/QuantityStepper';
26
- export { CartReviewItem, CartReviewMandapItem, CartReviewChangeButton, CartReviewAddedBadge } from './components/CartReviewItem';
30
+ export { CartReviewItem, CartReviewMandapItem, CartReviewChangeButton, CartReviewAddedBadge, } from './components/CartReviewItem';
27
31
  export type { CartReviewItemProps, CartReviewMandapItemProps, CartReviewChangeButtonProps, CartReviewAddedBadgeProps, } from './components/CartReviewItem';
28
32
  export { ServiceOfferCard } from './components/ServiceOfferCard';
29
33
  export type { ServiceOfferCardProps } from './components/ServiceOfferCard';
30
34
  export { PackageSelect } from './components/PackageSelect';
31
- export type { PackageSelectProps, PackageSelectOption } from './components/PackageSelect';
35
+ export type { PackageSelectProps, PackageSelectOption, } from './components/PackageSelect';
32
36
  export { PACKAGE_SELECT_DEFAULT_COPY, getPackageSelectDefaultCopy, } from './components/PackageSelect';
33
- export type { PackageSelectLocale, PackageSelectDefaultCopy } from './components/PackageSelect';
37
+ export type { PackageSelectLocale, PackageSelectDefaultCopy, } from './components/PackageSelect';
34
38
  export { TrustBadgesBar } from './components/TrustBadgesBar';
35
- export type { TrustBadgesBarProps, TrustBadge } from './components/TrustBadgesBar';
39
+ export type { TrustBadgesBarProps, TrustBadge, } from './components/TrustBadgesBar';
36
40
  export { CheckoutBar } from './components/CheckoutBar';
37
41
  export type { CheckoutBarProps } from './components/CheckoutBar';
38
- export { CHECKOUT_BAR_DEFAULT_COPY, getCheckoutBarDefaultCopy } from './components/CheckoutBar';
39
- export type { CheckoutBarLocale, CheckoutBarDefaultCopy } from './components/CheckoutBar';
42
+ export { CHECKOUT_BAR_DEFAULT_COPY, getCheckoutBarDefaultCopy, } from './components/CheckoutBar';
43
+ export type { CheckoutBarLocale, CheckoutBarDefaultCopy, } from './components/CheckoutBar';
40
44
  export { BookingSummaryBanner } from './components/BookingSummaryBanner';
41
- export type { BookingSummaryBannerProps, BookingSummaryBannerStats } from './components/BookingSummaryBanner';
45
+ export type { BookingSummaryBannerProps, BookingSummaryBannerStats, } from './components/BookingSummaryBanner';
42
46
  export { BOOKING_SUMMARY_BANNER_DEFAULT_COPY, getBookingSummaryBannerDefaultCopy, } from './components/BookingSummaryBanner';
43
47
  export type { BookingSummaryBannerLocale, BookingSummaryBannerDefaultCopy, } from './components/BookingSummaryBanner';
44
48
  export { BillDetails } from './components/BillDetails';
45
- export type { BillDetailsProps, BillDetailsRow } from './components/BillDetails';
49
+ export type { BillDetailsProps, BillDetailsRow, } from './components/BillDetails';
46
50
  export { CartView } from './components/CartView';
47
- export type { CartViewProps, CartViewAddon, CartViewItem } from './components/CartView';
51
+ export type { CartViewProps, CartViewAddon, CartViewItem, } from './components/CartView';
48
52
  export { TextField } from './components/TextField';
49
53
  export type { TextFieldProps } from './components/TextField';
50
54
  export { TithiPickerSheet } from './components/TithiPickerSheet';
51
55
  export type { TithiPickerSheetProps } from './components/TithiPickerSheet';
52
56
  export { DatePickerSheet } from './components/DatePickerSheet';
53
- export type { DatePickerSheetProps, PickedDate } from './components/DatePickerSheet';
57
+ export type { DatePickerSheetProps, PickedDate, } from './components/DatePickerSheet';
54
58
  export { PhoneNumberSheet } from './components/PhoneNumberSheet';
55
59
  export type { PhoneNumberSheetProps } from './components/PhoneNumberSheet';
56
60
  export { EmailSheet } from './components/EmailSheet';
@@ -58,8 +62,8 @@ export type { EmailSheetProps } from './components/EmailSheet';
58
62
  export { L2Card } from './components/L2Card';
59
63
  export type { L2CardProps, L2CardImageProps } from './components/L2Card';
60
64
  export { OutcomeButton, PlusIcon, CheckIcon } from './components/OutcomeButton';
61
- export type { OutcomeButtonProps, OutcomeButtonVariant, IconProps } from './components/OutcomeButton';
62
- export { PujaDetailsForm, createEmptyPujaDetailsFormValues } from './components/PujaDetailsForm';
65
+ export type { OutcomeButtonProps, OutcomeButtonVariant, IconProps, } from './components/OutcomeButton';
66
+ export { PujaDetailsForm, createEmptyPujaDetailsFormValues, } from './components/PujaDetailsForm';
63
67
  export type { PujaDetailsFormProps, PujaDetailsFormValues, AncestorNameEntry, } from './components/PujaDetailsForm';
64
68
  export { PUJA_DETAILS_FORM_DEFAULT_COPY, getPujaDetailsFormDefaultCopy, getKartaOrdinalLabel, } from './components/PujaDetailsForm';
65
69
  export type { PujaDetailsFormLocale, PujaDetailsFormDefaultCopy, } from './components/PujaDetailsForm';
@@ -72,9 +76,21 @@ export type { GotraInfoModalProps } from './components/GotraInfoModal';
72
76
  export { GOTRA_INFO_MODAL_DEFAULT_COPY, getGotraInfoModalDefaultCopy, } from './components/GotraInfoModal';
73
77
  export type { GotraInfoModalLocale, GotraInfoModalDefaultCopy, } from './components/GotraInfoModal';
74
78
  export { OutcomeSummary } from './components/OutcomeSummary';
75
- export type { OutcomeSummaryProps, OutcomeTrustItem, OutcomeTrustIconVariant } from './components/OutcomeSummary';
79
+ export type { OutcomeSummaryProps, OutcomeTrustItem, OutcomeTrustIconVariant, } from './components/OutcomeSummary';
80
+ export { AddAncestorSheet } from './components/AddAncestorSheet';
81
+ export type { AddAncestorSheetProps } from './components/AddAncestorSheet';
82
+ export { AncestorTab } from './components/AncestorTab';
83
+ export type { AncestorTabProps, AncestorTabState, } from './components/AncestorTab';
84
+ export { AncestorTabRow } from './components/AncestorTabRow';
85
+ export type { AncestorTabRowProps, AncestorTabRowEntry, } from './components/AncestorTabRow';
86
+ export { AvatarCardDialog } from './components/AvatarCardDialog';
87
+ export type { AvatarCardDialogProps } from './components/AvatarCardDialog';
88
+ export { parseIsoDate, formatIsoDate, getMonthLabels, formatDisplayDate, } from './utils/date.utils';
76
89
  export { SarvaPitruCard } from './components/SarvaPitruCard';
77
90
  export type { SarvaPitruCardProps } from './components/SarvaPitruCard';
78
91
  export { SARVA_PITRU_CARD_DEFAULT_COPY, getSarvaPitruCardDefaultCopy, } from './components/SarvaPitruCard';
79
- export type { SarvaPitruCardLocale, SarvaPitruCardDefaultCopy } from './components/SarvaPitruCard';
92
+ export type { SarvaPitruCardLocale, SarvaPitruCardDefaultCopy, } from './components/SarvaPitruCard';
80
93
  export { cn } from '../../common/dist/common.js';
94
+ export { ALL_ANCESTORS_ID, ANCESTOR_OPTIONS, MALE_ANCESTOR_AVATAR_URL, FEMALE_ANCESTOR_AVATAR_URL, getAncestorAvatarUrl, } from './constants';
95
+ export { DEATH_TITHI_OPTIONS, TITHI_NAME_KEYS } from './constants';
96
+ export type { AncestorOptionData, DeathTithiMethod } from './types';
@@ -1,5 +1,9 @@
1
1
  export { Button, buttonVariants } from './components/Button';
2
2
  export type { ButtonProps } from './components/Button';
3
+ export { EventHeader } from './components/EventHeader';
4
+ export type { EventHeaderProps } from './components/EventHeader';
5
+ export { RitualProceedBar } from './components/RitualProceedBar';
6
+ export type { RitualProceedBarProps } from './components/RitualProceedBar';
3
7
  export { ConfinedBottomSheet } from './components/ConfinedBottomSheet';
4
8
  export { TestimonialCard } from './components/TestimonialCard';
5
9
  export type { TestimonialCardProps } from './components/TestimonialCard';
@@ -8,7 +12,7 @@ export type { FAQSectionProps, FAQItem } from './components/FAQSection';
8
12
  export { VideoPlayer } from './components/VideoPlayer';
9
13
  export type { VideoPlayerProps } from './components/VideoPlayer';
10
14
  export { LanguageSwitcher } from './components/LanguageSwitcher';
11
- export type { LanguageSwitcherProps, LanguageOption } from './components/LanguageSwitcher';
15
+ export type { LanguageSwitcherProps, LanguageOption, } from './components/LanguageSwitcher';
12
16
  export { TopBar } from './components/TopBar';
13
17
  export type { TopBarProps } from './components/TopBar';
14
18
  export { Chip } from './components/Chip';
@@ -23,34 +27,34 @@ export { SelectorCard, SelectorCardEditableField, SelectorCardInfoRow, SelectorC
23
27
  export type { SelectorCardProps, SelectorCardEditableFieldProps, SelectorCardInfoRowProps, SelectorCardNoteProps, SelectorCardPriceBadgeProps, } from './components/SelectorCard';
24
28
  export { QuantityStepper } from './components/QuantityStepper';
25
29
  export type { QuantityStepperProps } from './components/QuantityStepper';
26
- export { CartReviewItem, CartReviewMandapItem, CartReviewChangeButton, CartReviewAddedBadge } from './components/CartReviewItem';
30
+ export { CartReviewItem, CartReviewMandapItem, CartReviewChangeButton, CartReviewAddedBadge, } from './components/CartReviewItem';
27
31
  export type { CartReviewItemProps, CartReviewMandapItemProps, CartReviewChangeButtonProps, CartReviewAddedBadgeProps, } from './components/CartReviewItem';
28
32
  export { ServiceOfferCard } from './components/ServiceOfferCard';
29
33
  export type { ServiceOfferCardProps } from './components/ServiceOfferCard';
30
34
  export { PackageSelect } from './components/PackageSelect';
31
- export type { PackageSelectProps, PackageSelectOption } from './components/PackageSelect';
35
+ export type { PackageSelectProps, PackageSelectOption, } from './components/PackageSelect';
32
36
  export { PACKAGE_SELECT_DEFAULT_COPY, getPackageSelectDefaultCopy, } from './components/PackageSelect';
33
- export type { PackageSelectLocale, PackageSelectDefaultCopy } from './components/PackageSelect';
37
+ export type { PackageSelectLocale, PackageSelectDefaultCopy, } from './components/PackageSelect';
34
38
  export { TrustBadgesBar } from './components/TrustBadgesBar';
35
- export type { TrustBadgesBarProps, TrustBadge } from './components/TrustBadgesBar';
39
+ export type { TrustBadgesBarProps, TrustBadge, } from './components/TrustBadgesBar';
36
40
  export { CheckoutBar } from './components/CheckoutBar';
37
41
  export type { CheckoutBarProps } from './components/CheckoutBar';
38
- export { CHECKOUT_BAR_DEFAULT_COPY, getCheckoutBarDefaultCopy } from './components/CheckoutBar';
39
- export type { CheckoutBarLocale, CheckoutBarDefaultCopy } from './components/CheckoutBar';
42
+ export { CHECKOUT_BAR_DEFAULT_COPY, getCheckoutBarDefaultCopy, } from './components/CheckoutBar';
43
+ export type { CheckoutBarLocale, CheckoutBarDefaultCopy, } from './components/CheckoutBar';
40
44
  export { BookingSummaryBanner } from './components/BookingSummaryBanner';
41
- export type { BookingSummaryBannerProps, BookingSummaryBannerStats } from './components/BookingSummaryBanner';
45
+ export type { BookingSummaryBannerProps, BookingSummaryBannerStats, } from './components/BookingSummaryBanner';
42
46
  export { BOOKING_SUMMARY_BANNER_DEFAULT_COPY, getBookingSummaryBannerDefaultCopy, } from './components/BookingSummaryBanner';
43
47
  export type { BookingSummaryBannerLocale, BookingSummaryBannerDefaultCopy, } from './components/BookingSummaryBanner';
44
48
  export { BillDetails } from './components/BillDetails';
45
- export type { BillDetailsProps, BillDetailsRow } from './components/BillDetails';
49
+ export type { BillDetailsProps, BillDetailsRow, } from './components/BillDetails';
46
50
  export { CartView } from './components/CartView';
47
- export type { CartViewProps, CartViewAddon, CartViewItem } from './components/CartView';
51
+ export type { CartViewProps, CartViewAddon, CartViewItem, } from './components/CartView';
48
52
  export { TextField } from './components/TextField';
49
53
  export type { TextFieldProps } from './components/TextField';
50
54
  export { TithiPickerSheet } from './components/TithiPickerSheet';
51
55
  export type { TithiPickerSheetProps } from './components/TithiPickerSheet';
52
56
  export { DatePickerSheet } from './components/DatePickerSheet';
53
- export type { DatePickerSheetProps, PickedDate } from './components/DatePickerSheet';
57
+ export type { DatePickerSheetProps, PickedDate, } from './components/DatePickerSheet';
54
58
  export { PhoneNumberSheet } from './components/PhoneNumberSheet';
55
59
  export type { PhoneNumberSheetProps } from './components/PhoneNumberSheet';
56
60
  export { EmailSheet } from './components/EmailSheet';
@@ -58,8 +62,8 @@ export type { EmailSheetProps } from './components/EmailSheet';
58
62
  export { L2Card } from './components/L2Card';
59
63
  export type { L2CardProps, L2CardImageProps } from './components/L2Card';
60
64
  export { OutcomeButton, PlusIcon, CheckIcon } from './components/OutcomeButton';
61
- export type { OutcomeButtonProps, OutcomeButtonVariant, IconProps } from './components/OutcomeButton';
62
- export { PujaDetailsForm, createEmptyPujaDetailsFormValues } from './components/PujaDetailsForm';
65
+ export type { OutcomeButtonProps, OutcomeButtonVariant, IconProps, } from './components/OutcomeButton';
66
+ export { PujaDetailsForm, createEmptyPujaDetailsFormValues, } from './components/PujaDetailsForm';
63
67
  export type { PujaDetailsFormProps, PujaDetailsFormValues, AncestorNameEntry, } from './components/PujaDetailsForm';
64
68
  export { PUJA_DETAILS_FORM_DEFAULT_COPY, getPujaDetailsFormDefaultCopy, getKartaOrdinalLabel, } from './components/PujaDetailsForm';
65
69
  export type { PujaDetailsFormLocale, PujaDetailsFormDefaultCopy, } from './components/PujaDetailsForm';
@@ -72,9 +76,21 @@ export type { GotraInfoModalProps } from './components/GotraInfoModal';
72
76
  export { GOTRA_INFO_MODAL_DEFAULT_COPY, getGotraInfoModalDefaultCopy, } from './components/GotraInfoModal';
73
77
  export type { GotraInfoModalLocale, GotraInfoModalDefaultCopy, } from './components/GotraInfoModal';
74
78
  export { OutcomeSummary } from './components/OutcomeSummary';
75
- export type { OutcomeSummaryProps, OutcomeTrustItem, OutcomeTrustIconVariant } from './components/OutcomeSummary';
79
+ export type { OutcomeSummaryProps, OutcomeTrustItem, OutcomeTrustIconVariant, } from './components/OutcomeSummary';
80
+ export { AddAncestorSheet } from './components/AddAncestorSheet';
81
+ export type { AddAncestorSheetProps } from './components/AddAncestorSheet';
82
+ export { AncestorTab } from './components/AncestorTab';
83
+ export type { AncestorTabProps, AncestorTabState, } from './components/AncestorTab';
84
+ export { AncestorTabRow } from './components/AncestorTabRow';
85
+ export type { AncestorTabRowProps, AncestorTabRowEntry, } from './components/AncestorTabRow';
86
+ export { AvatarCardDialog } from './components/AvatarCardDialog';
87
+ export type { AvatarCardDialogProps } from './components/AvatarCardDialog';
88
+ export { parseIsoDate, formatIsoDate, getMonthLabels, formatDisplayDate, } from './utils/date.utils';
76
89
  export { SarvaPitruCard } from './components/SarvaPitruCard';
77
90
  export type { SarvaPitruCardProps } from './components/SarvaPitruCard';
78
91
  export { SARVA_PITRU_CARD_DEFAULT_COPY, getSarvaPitruCardDefaultCopy, } from './components/SarvaPitruCard';
79
- export type { SarvaPitruCardLocale, SarvaPitruCardDefaultCopy } from './components/SarvaPitruCard';
92
+ export type { SarvaPitruCardLocale, SarvaPitruCardDefaultCopy, } from './components/SarvaPitruCard';
80
93
  export { cn } from '../../common/dist/common.js';
94
+ export { ALL_ANCESTORS_ID, ANCESTOR_OPTIONS, MALE_ANCESTOR_AVATAR_URL, FEMALE_ANCESTOR_AVATAR_URL, getAncestorAvatarUrl, } from './constants';
95
+ export { DEATH_TITHI_OPTIONS, TITHI_NAME_KEYS } from './constants';
96
+ export type { AncestorOptionData, DeathTithiMethod } from './types';