@srimandir/pitru-paksh-common 2.0.26 → 2.0.27
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/BillDetails/BillDetails.d.ts +6 -2
- package/dist/components/BillDetails/BillDetails.translations.d.ts +9 -0
- package/dist/components/BookingSummaryBanner/BookingSummaryBanner.d.ts +25 -4
- package/dist/components/BookingSummaryBanner/BookingSummaryBanner.translations.d.ts +18 -0
- package/dist/components/BookingSummaryBanner/index.d.ts +3 -1
- package/dist/components/CartReviewItem/CartReviewItem.d.ts +27 -4
- package/dist/components/CartReviewItem/index.d.ts +2 -2
- package/dist/components/CartView/CartView.d.ts +50 -21
- package/dist/components/CartView/CartView.translations.d.ts +24 -0
- package/dist/components/CartView/index.d.ts +1 -1
- package/dist/components/CheckoutBar/CheckoutBar.d.ts +11 -1
- package/dist/components/CheckoutBar/CheckoutBar.translations.d.ts +14 -0
- package/dist/components/CheckoutBar/index.d.ts +2 -0
- package/dist/components/ConfinedBottomSheet/ConfinedBottomSheet.d.ts +20 -0
- package/dist/components/ConfinedBottomSheet/index.d.ts +1 -0
- package/dist/components/ConfirmPujaDetailsModal/ConfirmPujaDetailsModal.d.ts +11 -0
- package/dist/components/ConfirmPujaDetailsModal/ConfirmPujaDetailsModal.translations.d.ts +22 -0
- package/dist/components/ConfirmPujaDetailsModal/ConfirmPujaDetailsModal.types.d.ts +25 -0
- package/dist/components/ConfirmPujaDetailsModal/index.d.ts +4 -0
- package/dist/components/EmailSheet/EmailSheet.d.ts +18 -0
- package/dist/components/EmailSheet/index.d.ts +2 -0
- package/dist/components/GotraInfoModal/GotraInfoModal.d.ts +9 -0
- package/dist/components/GotraInfoModal/GotraInfoModal.translations.d.ts +15 -0
- package/dist/components/GotraInfoModal/GotraInfoModal.types.d.ts +12 -0
- package/dist/components/GotraInfoModal/index.d.ts +4 -0
- package/dist/components/PackageSelect/PackageSelect.d.ts +17 -5
- package/dist/components/PackageSelect/PackageSelect.translations.d.ts +23 -0
- package/dist/components/PackageSelect/index.d.ts +2 -0
- package/dist/components/PujaDetailsForm/PujaDetailsForm.constants.d.ts +6 -0
- package/dist/components/PujaDetailsForm/PujaDetailsForm.d.ts +25 -0
- package/dist/components/PujaDetailsForm/PujaDetailsForm.translations.d.ts +49 -0
- package/dist/components/PujaDetailsForm/PujaDetailsForm.types.d.ts +77 -0
- package/dist/components/PujaDetailsForm/index.d.ts +4 -0
- package/dist/components/SarvaPitruCard/SarvaPitruCard.d.ts +33 -0
- package/dist/components/SarvaPitruCard/SarvaPitruCard.translations.d.ts +19 -0
- package/dist/components/SarvaPitruCard/index.d.ts +4 -0
- package/dist/components/ServiceOfferCard/ServiceOfferCard.d.ts +1 -1
- package/dist/index.d.ts +29 -8
- package/dist/pitru-paksh-common.d.ts +80 -0
- package/dist/pitru-paksh-common.js +2160 -1447
- package/dist/pitru-paksh-common.umd.cjs +8 -8
- package/dist/style.css +1 -1
- package/package.json +5 -5
- package/dist/components/EventHeader/EventHeader.d.ts +0 -35
- package/dist/components/EventHeader/index.d.ts +0 -2
- package/dist/components/RitualProceedBar/RitualProceedBar.d.ts +0 -35
- package/dist/components/RitualProceedBar/index.d.ts +0 -2
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { AncestorNameEntry, PujaDetailsFormProps, PujaDetailsFormValues } from './PujaDetailsForm.types';
|
|
2
|
+
/**
|
|
3
|
+
* Complete "fill in Karta, Gotra, WhatsApp number and ancestor details"
|
|
4
|
+
* screen used across Pitru Paksha flows: a WhatsApp number field (or email,
|
|
5
|
+
* see `isGlobal`), up to N Karta (performer) names, the Karta's Gotra (with
|
|
6
|
+
* an "unknown Gotra" fallback), and the ancestors' + their parents' names —
|
|
7
|
+
* each rendered with the "Late" prefix. Ends with a sticky `CheckoutBar`
|
|
8
|
+
* footer.
|
|
9
|
+
*
|
|
10
|
+
* Most section headings/field labels default to locale-specific copy
|
|
11
|
+
* (`locale`, `'en'`/`'hi'`/`'te'`) and can be overridden per-prop for a
|
|
12
|
+
* one-off usage. The WhatsApp/email field copy and the "Late" prefix are
|
|
13
|
+
* always the fixed, translated copy (not overridable) since this form only
|
|
14
|
+
* ever collects an Indian mobile number or an email.
|
|
15
|
+
*/
|
|
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
|
+
/**
|
|
18
|
+
* Convenience factory for a blank `PujaDetailsFormValues`, e.g. to seed local
|
|
19
|
+
* component state. `kartaCount` sets how many Karta name fields render —
|
|
20
|
+
* pass whatever number of performers the devotee selected upstream (e.g. via
|
|
21
|
+
* `PackageSelect`). Defaults to `3`. `ancestors` seeds the ancestor name
|
|
22
|
+
* fields — pass the relation `label`s (and any pre-filled `value`s) carried
|
|
23
|
+
* over from the earlier ancestor-selection step; defaults to an empty list.
|
|
24
|
+
*/
|
|
25
|
+
export declare function createEmptyPujaDetailsFormValues(kartaCount?: number, ancestors?: AncestorNameEntry[]): PujaDetailsFormValues;
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Default copy for `PujaDetailsForm`, keyed by locale. This "fill in Karta,
|
|
3
|
+
* Gotra, WhatsApp number and ancestor details" screen shows the same labels
|
|
4
|
+
* everywhere it's used across Pitru Paksha flows, so the copy (and its
|
|
5
|
+
* translation) lives here once instead of every consuming page
|
|
6
|
+
* re-computing/re-translating it. Pass any of the corresponding
|
|
7
|
+
* `PujaDetailsFormProps` explicitly to override a piece of it for a one-off
|
|
8
|
+
* usage.
|
|
9
|
+
*/
|
|
10
|
+
export type PujaDetailsFormLocale = 'en' | 'hi' | 'te';
|
|
11
|
+
export interface PujaDetailsFormDefaultCopy {
|
|
12
|
+
topBarTitle: string;
|
|
13
|
+
backButtonAriaLabel: string;
|
|
14
|
+
whatsappNumberLabel: string;
|
|
15
|
+
whatsappNumberPlaceholder: string;
|
|
16
|
+
whatsappNumberHelperText: string;
|
|
17
|
+
emailLabel: string;
|
|
18
|
+
emailPlaceholder: string;
|
|
19
|
+
emailHelperText: string;
|
|
20
|
+
kartaNameSectionTitle: string;
|
|
21
|
+
/** e.g. "Karta's name" — combined with a per-position ordinal (see `getKartaOrdinalLabel`) and, for every position after the first, `kartaNameOptionalSuffix`. */
|
|
22
|
+
kartaNameLabel: string;
|
|
23
|
+
/** e.g. "(optional)" — appended after `kartaNameLabel` for every Karta name field after the first (which is always required). */
|
|
24
|
+
kartaNameOptionalSuffix: string;
|
|
25
|
+
kartaNamePlaceholder: string;
|
|
26
|
+
gotraFieldLabel: string;
|
|
27
|
+
gotraFieldPlaceholder: string;
|
|
28
|
+
gotraUnknownCheckboxLabel: string;
|
|
29
|
+
gotraUnknownHelperText: string;
|
|
30
|
+
ancestorNameSectionTitle: string;
|
|
31
|
+
ancestorNameSectionSubtitle: string;
|
|
32
|
+
/** e.g. "name" — appended after an ancestor's relation `label` (from the ancestor-selection step) to build that field's label, e.g. "Grandfather (Maternal) name". */
|
|
33
|
+
ancestorNameFieldSuffix: string;
|
|
34
|
+
/** Subtitle shown under the ancestor section's heading when `isSarvaPitru` is set, instead of `ancestorNameSectionSubtitle`. */
|
|
35
|
+
sarvaPitruSectionSubtitle: string;
|
|
36
|
+
/** Read-only field value shown when `isSarvaPitru` is set, e.g. "For all ancestors" — replaces the editable ancestor name fields entirely. */
|
|
37
|
+
sarvaPitruFieldValue: string;
|
|
38
|
+
/** Helper text shown under the `sarvaPitruFieldValue` field. */
|
|
39
|
+
sarvaPitruHelperText: string;
|
|
40
|
+
latePrefixLabel: string;
|
|
41
|
+
proceedCtaLabel: string;
|
|
42
|
+
/** Displayed as the Gotra in `ConfirmPujaDetailsModal` when `isGotraUnknown` is set, per `gotraUnknownHelperText`. */
|
|
43
|
+
kashyapGotraLabel: string;
|
|
44
|
+
}
|
|
45
|
+
export declare const PUJA_DETAILS_FORM_DEFAULT_COPY: Record<PujaDetailsFormLocale, PujaDetailsFormDefaultCopy>;
|
|
46
|
+
/** Resolves the default copy for `locale`, falling back to `'en'` when unsupported. */
|
|
47
|
+
export declare const getPujaDetailsFormDefaultCopy: (locale?: string) => PujaDetailsFormDefaultCopy;
|
|
48
|
+
/** Resolves the ordinal word/numeral for a 1-based Karta field `position`, falling back to `'en'` when `locale` is unsupported. */
|
|
49
|
+
export declare const getKartaOrdinalLabel: (position: number, locale?: string) => string;
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import { CheckoutBarProps } from '../CheckoutBar';
|
|
2
|
+
import { PujaDetailsFormLocale } from './PujaDetailsForm.translations';
|
|
3
|
+
/** A single ancestor whose name is read in the sankalp. */
|
|
4
|
+
export interface AncestorNameEntry {
|
|
5
|
+
id: string;
|
|
6
|
+
/**
|
|
7
|
+
* Relation label chosen in the earlier ancestor-selection step, e.g.
|
|
8
|
+
* "Grandfather (Maternal)", "Mother", "Father". Combined with a translated
|
|
9
|
+
* "name" suffix to build this field's label (e.g. "Grandfather (Maternal)
|
|
10
|
+
* name") — not editable here.
|
|
11
|
+
*/
|
|
12
|
+
label: string;
|
|
13
|
+
/**
|
|
14
|
+
* The ancestor's name. May arrive pre-filled from the ancestor-selection
|
|
15
|
+
* step, or empty for the devotee to fill in here — editable either way.
|
|
16
|
+
*/
|
|
17
|
+
value: string;
|
|
18
|
+
}
|
|
19
|
+
export interface PujaDetailsFormValues {
|
|
20
|
+
/** 10-digit Indian mobile number, collected when `isGlobal` is false. */
|
|
21
|
+
whatsappNumber: string;
|
|
22
|
+
/** Collected instead of `whatsappNumber` when `isGlobal` is true. */
|
|
23
|
+
email: string;
|
|
24
|
+
/** Karta (performer) names — the 1st is required, every position after it is optional. Render as many fields as the parent needs (e.g. based on a "number of Kartas" selection elsewhere). */
|
|
25
|
+
kartaNames: string[];
|
|
26
|
+
gotra: string;
|
|
27
|
+
isGotraUnknown: boolean;
|
|
28
|
+
/** Ancestors this puja is being performed for; each renders as an editable "Late <name>" field labeled from `label`. */
|
|
29
|
+
ancestors: AncestorNameEntry[];
|
|
30
|
+
}
|
|
31
|
+
export interface PujaDetailsFormProps {
|
|
32
|
+
/**
|
|
33
|
+
* Locale used to resolve all the default labels/placeholders below when
|
|
34
|
+
* they aren't passed explicitly. Defaults to `'en'`.
|
|
35
|
+
*/
|
|
36
|
+
locale?: PujaDetailsFormLocale;
|
|
37
|
+
values: PujaDetailsFormValues;
|
|
38
|
+
onValuesChange: (values: PujaDetailsFormValues) => void;
|
|
39
|
+
/**
|
|
40
|
+
* Passed in from the parent based on the devotee's location. When `true`,
|
|
41
|
+
* an email field is shown instead of the India-only mobile number field
|
|
42
|
+
* (there's no country selector — non-Indian numbers aren't supported).
|
|
43
|
+
* Defaults to `false`.
|
|
44
|
+
*/
|
|
45
|
+
isGlobal?: boolean;
|
|
46
|
+
/**
|
|
47
|
+
* Gotra suggestions shown in the Gotra field's dropdown (e.g. fetched from
|
|
48
|
+
* the backend by the parent). The field stays a free-text input — the
|
|
49
|
+
* devotee can pick one of these or type a Gotra that isn't listed.
|
|
50
|
+
* Defaults to an empty list (dropdown hidden).
|
|
51
|
+
*/
|
|
52
|
+
gotraOptions?: string[];
|
|
53
|
+
/**
|
|
54
|
+
* When `true`, this puja is for all ancestors ("Sarva Pitru") — the
|
|
55
|
+
* editable ancestor name fields are hidden entirely and replaced with a
|
|
56
|
+
* single read-only "For all ancestors" field. Defaults to `false`.
|
|
57
|
+
*/
|
|
58
|
+
isSarvaPitru?: boolean;
|
|
59
|
+
onBackClick?: () => void;
|
|
60
|
+
/** Final amount shown in the sticky bottom bar, e.g. "₹1648.0/-". */
|
|
61
|
+
amount: string;
|
|
62
|
+
/** Muted line under the amount in the sticky bottom bar, e.g. "2 Rituals". */
|
|
63
|
+
ritualsCountLabel?: string;
|
|
64
|
+
onPriceInfoClick?: () => void;
|
|
65
|
+
/** Overrides the computed required-fields check for enabling the CTA. */
|
|
66
|
+
canProceed?: boolean;
|
|
67
|
+
/** Defaults to locale-specific copy. */
|
|
68
|
+
proceedCtaLabel?: string;
|
|
69
|
+
proceedButtonProps?: CheckoutBarProps['proceedButtonProps'];
|
|
70
|
+
/**
|
|
71
|
+
* Fired when the `ConfirmPujaDetailsModal`'s Pay button is clicked (opened
|
|
72
|
+
* automatically when the checkout bar's CTA is tapped) — hand off to the
|
|
73
|
+
* payment flow here.
|
|
74
|
+
*/
|
|
75
|
+
onProceedPayment: () => void;
|
|
76
|
+
className?: string;
|
|
77
|
+
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export { PujaDetailsForm, createEmptyPujaDetailsFormValues } from './PujaDetailsForm';
|
|
2
|
+
export type { PujaDetailsFormProps, PujaDetailsFormValues, AncestorNameEntry } from './PujaDetailsForm.types';
|
|
3
|
+
export { PUJA_DETAILS_FORM_DEFAULT_COPY, getPujaDetailsFormDefaultCopy, getKartaOrdinalLabel, } from './PujaDetailsForm.translations';
|
|
4
|
+
export type { PujaDetailsFormLocale, PujaDetailsFormDefaultCopy } from './PujaDetailsForm.translations';
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { SarvaPitruCardLocale } from './SarvaPitruCard.translations';
|
|
3
|
+
export interface SarvaPitruCardProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'title'> {
|
|
4
|
+
/**
|
|
5
|
+
* Locale used to resolve the default `title`/`subtitle`/`value`/
|
|
6
|
+
* `helperText` copy below when they aren't passed explicitly. Defaults to
|
|
7
|
+
* `'en'`.
|
|
8
|
+
*/
|
|
9
|
+
locale?: SarvaPitruCardLocale;
|
|
10
|
+
/** Heading, e.g. "Who is this puja for?". Defaults to locale-specific copy. */
|
|
11
|
+
title?: React.ReactNode;
|
|
12
|
+
/** Secondary text shown under the heading, e.g. "Your ancestors". Defaults to locale-specific copy. */
|
|
13
|
+
subtitle?: React.ReactNode;
|
|
14
|
+
/** The fixed value shown inside the display box, e.g. "For all ancestors". Defaults to locale-specific copy. */
|
|
15
|
+
value?: React.ReactNode;
|
|
16
|
+
/** Caption shown below the display box, e.g. explaining who recites it. Defaults to locale-specific copy. */
|
|
17
|
+
helperText?: React.ReactNode;
|
|
18
|
+
/** Leading icon, rendered inside a tinted circular badge. Defaults to a three-people icon. */
|
|
19
|
+
icon?: React.ReactNode;
|
|
20
|
+
className?: string;
|
|
21
|
+
headerClassName?: string;
|
|
22
|
+
valueBoxClassName?: string;
|
|
23
|
+
helperTextClassName?: string;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Static "who is this puja for?" card used for the Sarva Pitru (all
|
|
27
|
+
* ancestors, collectively) variant of the Pitru Paksha flows: an icon +
|
|
28
|
+
* heading + subtitle, a display box showing the fixed "For all ancestors"
|
|
29
|
+
* value, and a helper caption. Unlike `SelectorCard`, this isn't an
|
|
30
|
+
* interactive/selectable control — the value is always the same for this
|
|
31
|
+
* variant, so there's no `onChange`/editable affordance.
|
|
32
|
+
*/
|
|
33
|
+
export declare const SarvaPitruCard: React.ForwardRefExoticComponent<SarvaPitruCardProps & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Default copy for `SarvaPitruCard` — the "who is this puja for?" card shown
|
|
3
|
+
* for the Sarva Pitru (all ancestors, collectively) variant of the flow,
|
|
4
|
+
* keyed by locale. Unlike the per-ancestor naming screens, this card always
|
|
5
|
+
* shows the same fixed "For all ancestors" value, so its copy (title,
|
|
6
|
+
* subtitle, value and helper text) is translated and hardcoded here once
|
|
7
|
+
* instead of being duplicated by every consuming page. Pass any of
|
|
8
|
+
* `title`/`subtitle`/`value`/`helperText` explicitly to override the default.
|
|
9
|
+
*/
|
|
10
|
+
export type SarvaPitruCardLocale = 'en' | 'hi';
|
|
11
|
+
export interface SarvaPitruCardDefaultCopy {
|
|
12
|
+
title: string;
|
|
13
|
+
subtitle: string;
|
|
14
|
+
value: string;
|
|
15
|
+
helperText: string;
|
|
16
|
+
}
|
|
17
|
+
export declare const SARVA_PITRU_CARD_DEFAULT_COPY: Record<SarvaPitruCardLocale, SarvaPitruCardDefaultCopy>;
|
|
18
|
+
/** Resolves the default copy for `locale`, falling back to `'en'` when unsupported. */
|
|
19
|
+
export declare const getSarvaPitruCardDefaultCopy: (locale?: string) => SarvaPitruCardDefaultCopy;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export { SarvaPitruCard } from './SarvaPitruCard';
|
|
2
|
+
export type { SarvaPitruCardProps } from './SarvaPitruCard';
|
|
3
|
+
export { SARVA_PITRU_CARD_DEFAULT_COPY, getSarvaPitruCardDefaultCopy, } from './SarvaPitruCard.translations';
|
|
4
|
+
export type { SarvaPitruCardLocale, SarvaPitruCardDefaultCopy } from './SarvaPitruCard.translations';
|
|
@@ -25,7 +25,7 @@ export interface ServiceOfferCardProps extends Omit<React.HTMLAttributes<HTMLDiv
|
|
|
25
25
|
action?: React.ReactNode;
|
|
26
26
|
}
|
|
27
27
|
/**
|
|
28
|
-
*
|
|
28
|
+
* Add-on card used on "review your booking" screens: an image with a
|
|
29
29
|
* floating quantity control, title + description, and a price (with
|
|
30
30
|
* optional struck-through original), plus an optional flush corner banner
|
|
31
31
|
* (`tag`) like "Contribute to cow service".
|
package/dist/index.d.ts
CHANGED
|
@@ -1,9 +1,6 @@
|
|
|
1
1
|
export { Button, buttonVariants } from './components/Button';
|
|
2
2
|
export type { ButtonProps } from './components/Button';
|
|
3
|
-
export {
|
|
4
|
-
export type { EventHeaderProps } from './components/EventHeader';
|
|
5
|
-
export { RitualProceedBar } from './components/RitualProceedBar';
|
|
6
|
-
export type { RitualProceedBarProps } from './components/RitualProceedBar';
|
|
3
|
+
export { ConfinedBottomSheet } from './components/ConfinedBottomSheet';
|
|
7
4
|
export { TestimonialCard } from './components/TestimonialCard';
|
|
8
5
|
export type { TestimonialCardProps } from './components/TestimonialCard';
|
|
9
6
|
export { FAQSection } from './components/FAQSection';
|
|
@@ -26,22 +23,28 @@ export { SelectorCard, SelectorCardEditableField, SelectorCardInfoRow, SelectorC
|
|
|
26
23
|
export type { SelectorCardProps, SelectorCardEditableFieldProps, SelectorCardInfoRowProps, SelectorCardNoteProps, SelectorCardPriceBadgeProps, } from './components/SelectorCard';
|
|
27
24
|
export { QuantityStepper } from './components/QuantityStepper';
|
|
28
25
|
export type { QuantityStepperProps } from './components/QuantityStepper';
|
|
29
|
-
export { CartReviewItem, CartReviewChangeButton, CartReviewAddedBadge } from './components/CartReviewItem';
|
|
30
|
-
export type { CartReviewItemProps, CartReviewChangeButtonProps, CartReviewAddedBadgeProps, } from './components/CartReviewItem';
|
|
26
|
+
export { CartReviewItem, CartReviewMandapItem, CartReviewChangeButton, CartReviewAddedBadge } from './components/CartReviewItem';
|
|
27
|
+
export type { CartReviewItemProps, CartReviewMandapItemProps, CartReviewChangeButtonProps, CartReviewAddedBadgeProps, } from './components/CartReviewItem';
|
|
31
28
|
export { ServiceOfferCard } from './components/ServiceOfferCard';
|
|
32
29
|
export type { ServiceOfferCardProps } from './components/ServiceOfferCard';
|
|
33
30
|
export { PackageSelect } from './components/PackageSelect';
|
|
34
31
|
export type { PackageSelectProps, PackageSelectOption } from './components/PackageSelect';
|
|
32
|
+
export { PACKAGE_SELECT_DEFAULT_COPY, getPackageSelectDefaultCopy, } from './components/PackageSelect';
|
|
33
|
+
export type { PackageSelectLocale, PackageSelectDefaultCopy } from './components/PackageSelect';
|
|
35
34
|
export { TrustBadgesBar } from './components/TrustBadgesBar';
|
|
36
35
|
export type { TrustBadgesBarProps, TrustBadge } from './components/TrustBadgesBar';
|
|
37
36
|
export { CheckoutBar } from './components/CheckoutBar';
|
|
38
37
|
export type { CheckoutBarProps } from './components/CheckoutBar';
|
|
38
|
+
export { CHECKOUT_BAR_DEFAULT_COPY, getCheckoutBarDefaultCopy } from './components/CheckoutBar';
|
|
39
|
+
export type { CheckoutBarLocale, CheckoutBarDefaultCopy } from './components/CheckoutBar';
|
|
39
40
|
export { BookingSummaryBanner } from './components/BookingSummaryBanner';
|
|
40
|
-
export type { BookingSummaryBannerProps } from './components/BookingSummaryBanner';
|
|
41
|
+
export type { BookingSummaryBannerProps, BookingSummaryBannerStats } from './components/BookingSummaryBanner';
|
|
42
|
+
export { BOOKING_SUMMARY_BANNER_DEFAULT_COPY, getBookingSummaryBannerDefaultCopy, } from './components/BookingSummaryBanner';
|
|
43
|
+
export type { BookingSummaryBannerLocale, BookingSummaryBannerDefaultCopy, } from './components/BookingSummaryBanner';
|
|
41
44
|
export { BillDetails } from './components/BillDetails';
|
|
42
45
|
export type { BillDetailsProps, BillDetailsRow } from './components/BillDetails';
|
|
43
46
|
export { CartView } from './components/CartView';
|
|
44
|
-
export type { CartViewProps,
|
|
47
|
+
export type { CartViewProps, CartViewAddon, CartViewItem } from './components/CartView';
|
|
45
48
|
export { TextField } from './components/TextField';
|
|
46
49
|
export type { TextFieldProps } from './components/TextField';
|
|
47
50
|
export { TithiPickerSheet } from './components/TithiPickerSheet';
|
|
@@ -50,10 +53,28 @@ export { DatePickerSheet } from './components/DatePickerSheet';
|
|
|
50
53
|
export type { DatePickerSheetProps, PickedDate } from './components/DatePickerSheet';
|
|
51
54
|
export { PhoneNumberSheet } from './components/PhoneNumberSheet';
|
|
52
55
|
export type { PhoneNumberSheetProps } from './components/PhoneNumberSheet';
|
|
56
|
+
export { EmailSheet } from './components/EmailSheet';
|
|
57
|
+
export type { EmailSheetProps } from './components/EmailSheet';
|
|
53
58
|
export { L2Card } from './components/L2Card';
|
|
54
59
|
export type { L2CardProps, L2CardImageProps } from './components/L2Card';
|
|
55
60
|
export { OutcomeButton, PlusIcon, CheckIcon } from './components/OutcomeButton';
|
|
56
61
|
export type { OutcomeButtonProps, OutcomeButtonVariant, IconProps } from './components/OutcomeButton';
|
|
62
|
+
export { PujaDetailsForm, createEmptyPujaDetailsFormValues } from './components/PujaDetailsForm';
|
|
63
|
+
export type { PujaDetailsFormProps, PujaDetailsFormValues, AncestorNameEntry, } from './components/PujaDetailsForm';
|
|
64
|
+
export { PUJA_DETAILS_FORM_DEFAULT_COPY, getPujaDetailsFormDefaultCopy, getKartaOrdinalLabel, } from './components/PujaDetailsForm';
|
|
65
|
+
export type { PujaDetailsFormLocale, PujaDetailsFormDefaultCopy, } from './components/PujaDetailsForm';
|
|
66
|
+
export { ConfirmPujaDetailsModal } from './components/ConfirmPujaDetailsModal';
|
|
67
|
+
export type { ConfirmPujaDetailsModalProps } from './components/ConfirmPujaDetailsModal';
|
|
68
|
+
export { CONFIRM_PUJA_DETAILS_MODAL_DEFAULT_COPY, getConfirmPujaDetailsModalDefaultCopy, } from './components/ConfirmPujaDetailsModal';
|
|
69
|
+
export type { ConfirmPujaDetailsModalLocale, ConfirmPujaDetailsModalDefaultCopy, } from './components/ConfirmPujaDetailsModal';
|
|
70
|
+
export { GotraInfoModal } from './components/GotraInfoModal';
|
|
71
|
+
export type { GotraInfoModalProps } from './components/GotraInfoModal';
|
|
72
|
+
export { GOTRA_INFO_MODAL_DEFAULT_COPY, getGotraInfoModalDefaultCopy, } from './components/GotraInfoModal';
|
|
73
|
+
export type { GotraInfoModalLocale, GotraInfoModalDefaultCopy, } from './components/GotraInfoModal';
|
|
57
74
|
export { OutcomeSummary } from './components/OutcomeSummary';
|
|
58
75
|
export type { OutcomeSummaryProps, OutcomeTrustItem, OutcomeTrustIconVariant } from './components/OutcomeSummary';
|
|
76
|
+
export { SarvaPitruCard } from './components/SarvaPitruCard';
|
|
77
|
+
export type { SarvaPitruCardProps } from './components/SarvaPitruCard';
|
|
78
|
+
export { SARVA_PITRU_CARD_DEFAULT_COPY, getSarvaPitruCardDefaultCopy, } from './components/SarvaPitruCard';
|
|
79
|
+
export type { SarvaPitruCardLocale, SarvaPitruCardDefaultCopy } from './components/SarvaPitruCard';
|
|
59
80
|
export { cn } from '../../common/dist/common.js';
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
export { Button, buttonVariants } from './components/Button';
|
|
2
|
+
export type { ButtonProps } from './components/Button';
|
|
3
|
+
export { ConfinedBottomSheet } from './components/ConfinedBottomSheet';
|
|
4
|
+
export { TestimonialCard } from './components/TestimonialCard';
|
|
5
|
+
export type { TestimonialCardProps } from './components/TestimonialCard';
|
|
6
|
+
export { FAQSection } from './components/FAQSection';
|
|
7
|
+
export type { FAQSectionProps, FAQItem } from './components/FAQSection';
|
|
8
|
+
export { VideoPlayer } from './components/VideoPlayer';
|
|
9
|
+
export type { VideoPlayerProps } from './components/VideoPlayer';
|
|
10
|
+
export { LanguageSwitcher } from './components/LanguageSwitcher';
|
|
11
|
+
export type { LanguageSwitcherProps, LanguageOption } from './components/LanguageSwitcher';
|
|
12
|
+
export { TopBar } from './components/TopBar';
|
|
13
|
+
export type { TopBarProps } from './components/TopBar';
|
|
14
|
+
export { Chip } from './components/Chip';
|
|
15
|
+
export type { ChipProps } from './components/Chip';
|
|
16
|
+
export { StepProgressHeader } from './components/StepProgressHeader';
|
|
17
|
+
export type { StepProgressHeaderProps } from './components/StepProgressHeader';
|
|
18
|
+
export { AudioQuestionCard } from './components/AudioQuestionCard';
|
|
19
|
+
export type { AudioQuestionCardProps } from './components/AudioQuestionCard';
|
|
20
|
+
export { IconBadge } from './components/IconBadge';
|
|
21
|
+
export type { IconBadgeProps } from './components/IconBadge';
|
|
22
|
+
export { SelectorCard, SelectorCardEditableField, SelectorCardInfoRow, SelectorCardNote, SelectorCardPriceBadge, } from './components/SelectorCard';
|
|
23
|
+
export type { SelectorCardProps, SelectorCardEditableFieldProps, SelectorCardInfoRowProps, SelectorCardNoteProps, SelectorCardPriceBadgeProps, } from './components/SelectorCard';
|
|
24
|
+
export { QuantityStepper } from './components/QuantityStepper';
|
|
25
|
+
export type { QuantityStepperProps } from './components/QuantityStepper';
|
|
26
|
+
export { CartReviewItem, CartReviewMandapItem, CartReviewChangeButton, CartReviewAddedBadge } from './components/CartReviewItem';
|
|
27
|
+
export type { CartReviewItemProps, CartReviewMandapItemProps, CartReviewChangeButtonProps, CartReviewAddedBadgeProps, } from './components/CartReviewItem';
|
|
28
|
+
export { ServiceOfferCard } from './components/ServiceOfferCard';
|
|
29
|
+
export type { ServiceOfferCardProps } from './components/ServiceOfferCard';
|
|
30
|
+
export { PackageSelect } from './components/PackageSelect';
|
|
31
|
+
export type { PackageSelectProps, PackageSelectOption } from './components/PackageSelect';
|
|
32
|
+
export { PACKAGE_SELECT_DEFAULT_COPY, getPackageSelectDefaultCopy, } from './components/PackageSelect';
|
|
33
|
+
export type { PackageSelectLocale, PackageSelectDefaultCopy } from './components/PackageSelect';
|
|
34
|
+
export { TrustBadgesBar } from './components/TrustBadgesBar';
|
|
35
|
+
export type { TrustBadgesBarProps, TrustBadge } from './components/TrustBadgesBar';
|
|
36
|
+
export { CheckoutBar } from './components/CheckoutBar';
|
|
37
|
+
export type { CheckoutBarProps } from './components/CheckoutBar';
|
|
38
|
+
export { CHECKOUT_BAR_DEFAULT_COPY, getCheckoutBarDefaultCopy } from './components/CheckoutBar';
|
|
39
|
+
export type { CheckoutBarLocale, CheckoutBarDefaultCopy } from './components/CheckoutBar';
|
|
40
|
+
export { BookingSummaryBanner } from './components/BookingSummaryBanner';
|
|
41
|
+
export type { BookingSummaryBannerProps, BookingSummaryBannerStats } from './components/BookingSummaryBanner';
|
|
42
|
+
export { BOOKING_SUMMARY_BANNER_DEFAULT_COPY, getBookingSummaryBannerDefaultCopy, } from './components/BookingSummaryBanner';
|
|
43
|
+
export type { BookingSummaryBannerLocale, BookingSummaryBannerDefaultCopy, } from './components/BookingSummaryBanner';
|
|
44
|
+
export { BillDetails } from './components/BillDetails';
|
|
45
|
+
export type { BillDetailsProps, BillDetailsRow } from './components/BillDetails';
|
|
46
|
+
export { CartView } from './components/CartView';
|
|
47
|
+
export type { CartViewProps, CartViewAddon, CartViewItem } from './components/CartView';
|
|
48
|
+
export { TextField } from './components/TextField';
|
|
49
|
+
export type { TextFieldProps } from './components/TextField';
|
|
50
|
+
export { TithiPickerSheet } from './components/TithiPickerSheet';
|
|
51
|
+
export type { TithiPickerSheetProps } from './components/TithiPickerSheet';
|
|
52
|
+
export { DatePickerSheet } from './components/DatePickerSheet';
|
|
53
|
+
export type { DatePickerSheetProps, PickedDate } from './components/DatePickerSheet';
|
|
54
|
+
export { PhoneNumberSheet } from './components/PhoneNumberSheet';
|
|
55
|
+
export type { PhoneNumberSheetProps } from './components/PhoneNumberSheet';
|
|
56
|
+
export { EmailSheet } from './components/EmailSheet';
|
|
57
|
+
export type { EmailSheetProps } from './components/EmailSheet';
|
|
58
|
+
export { L2Card } from './components/L2Card';
|
|
59
|
+
export type { L2CardProps, L2CardImageProps } from './components/L2Card';
|
|
60
|
+
export { OutcomeButton, PlusIcon, CheckIcon } from './components/OutcomeButton';
|
|
61
|
+
export type { OutcomeButtonProps, OutcomeButtonVariant, IconProps } from './components/OutcomeButton';
|
|
62
|
+
export { PujaDetailsForm, createEmptyPujaDetailsFormValues } from './components/PujaDetailsForm';
|
|
63
|
+
export type { PujaDetailsFormProps, PujaDetailsFormValues, AncestorNameEntry, } from './components/PujaDetailsForm';
|
|
64
|
+
export { PUJA_DETAILS_FORM_DEFAULT_COPY, getPujaDetailsFormDefaultCopy, getKartaOrdinalLabel, } from './components/PujaDetailsForm';
|
|
65
|
+
export type { PujaDetailsFormLocale, PujaDetailsFormDefaultCopy, } from './components/PujaDetailsForm';
|
|
66
|
+
export { ConfirmPujaDetailsModal } from './components/ConfirmPujaDetailsModal';
|
|
67
|
+
export type { ConfirmPujaDetailsModalProps } from './components/ConfirmPujaDetailsModal';
|
|
68
|
+
export { CONFIRM_PUJA_DETAILS_MODAL_DEFAULT_COPY, getConfirmPujaDetailsModalDefaultCopy, } from './components/ConfirmPujaDetailsModal';
|
|
69
|
+
export type { ConfirmPujaDetailsModalLocale, ConfirmPujaDetailsModalDefaultCopy, } from './components/ConfirmPujaDetailsModal';
|
|
70
|
+
export { GotraInfoModal } from './components/GotraInfoModal';
|
|
71
|
+
export type { GotraInfoModalProps } from './components/GotraInfoModal';
|
|
72
|
+
export { GOTRA_INFO_MODAL_DEFAULT_COPY, getGotraInfoModalDefaultCopy, } from './components/GotraInfoModal';
|
|
73
|
+
export type { GotraInfoModalLocale, GotraInfoModalDefaultCopy, } from './components/GotraInfoModal';
|
|
74
|
+
export { OutcomeSummary } from './components/OutcomeSummary';
|
|
75
|
+
export type { OutcomeSummaryProps, OutcomeTrustItem, OutcomeTrustIconVariant } from './components/OutcomeSummary';
|
|
76
|
+
export { SarvaPitruCard } from './components/SarvaPitruCard';
|
|
77
|
+
export type { SarvaPitruCardProps } from './components/SarvaPitruCard';
|
|
78
|
+
export { SARVA_PITRU_CARD_DEFAULT_COPY, getSarvaPitruCardDefaultCopy, } from './components/SarvaPitruCard';
|
|
79
|
+
export type { SarvaPitruCardLocale, SarvaPitruCardDefaultCopy } from './components/SarvaPitruCard';
|
|
80
|
+
export { cn } from '../../common/dist/common.js';
|