@srimandir/pitru-paksh-common 2.0.19 → 2.0.24
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/CheckoutBar/CheckoutBar.translations.d.ts +1 -1
- 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/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.translations.d.ts +1 -1
- 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/index.d.ts +12 -0
- package/dist/pitru-paksh-common.d.ts +12 -0
- package/dist/pitru-paksh-common.js +1910 -1348
- package/dist/pitru-paksh-common.umd.cjs +8 -8
- package/dist/style.css +1 -1
- package/package.json +3 -3
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* re-computing/re-translating it. Pass `proceedLabel` explicitly to override
|
|
6
6
|
* it for a one-off usage.
|
|
7
7
|
*/
|
|
8
|
-
export type CheckoutBarLocale = 'en' | 'hi';
|
|
8
|
+
export type CheckoutBarLocale = 'en' | 'hi' | 'te';
|
|
9
9
|
export interface CheckoutBarDefaultCopy {
|
|
10
10
|
proceedLabel: string;
|
|
11
11
|
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ConfirmPujaDetailsModalProps } from './ConfirmPujaDetailsModal.types';
|
|
2
|
+
/**
|
|
3
|
+
* "Check the details to book your puja procedure" confirmation sheet shown
|
|
4
|
+
* after `PujaDetailsForm` is filled in and the devotee taps the checkout
|
|
5
|
+
* bar's CTA: a read-only summary of the ancestors, Karta (performer) names,
|
|
6
|
+
* Gotra and WhatsApp number/email, plus "Edit Details" (back to the form)
|
|
7
|
+
* and a "Pay" CTA that hands off to the payment flow via `onProceedPayment`.
|
|
8
|
+
*
|
|
9
|
+
* All labels default to locale-specific copy (`locale`, `'en'`/`'hi'`/`'te'`).
|
|
10
|
+
*/
|
|
11
|
+
export declare function ConfirmPujaDetailsModal({ isOpen, onClose, locale, ancestors, kartaNames, gotra, whatsappNumber, amount, onEditDetailsClick, onProceedPayment, className, }: ConfirmPujaDetailsModalProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Default copy for `ConfirmPujaDetailsModal`, keyed by locale. This "check
|
|
3
|
+
* the details to book your puja" confirmation sheet 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.
|
|
7
|
+
*/
|
|
8
|
+
export type ConfirmPujaDetailsModalLocale = 'en' | 'hi' | 'te';
|
|
9
|
+
export interface ConfirmPujaDetailsModalDefaultCopy {
|
|
10
|
+
heading: string;
|
|
11
|
+
subtext: string;
|
|
12
|
+
ancestorsLabel: string;
|
|
13
|
+
performerLabel: string;
|
|
14
|
+
gotraLabel: string;
|
|
15
|
+
whatsappLabel: string;
|
|
16
|
+
editDetailsLabel: string;
|
|
17
|
+
/** e.g. "Pay {amount}" — `{amount}` is replaced with the `amount` prop (already formatted, e.g. "₹1648/-"). Word order varies by locale. */
|
|
18
|
+
payButtonTemplate: string;
|
|
19
|
+
}
|
|
20
|
+
export declare const CONFIRM_PUJA_DETAILS_MODAL_DEFAULT_COPY: Record<ConfirmPujaDetailsModalLocale, ConfirmPujaDetailsModalDefaultCopy>;
|
|
21
|
+
/** Resolves the default copy for `locale`, falling back to `'en'` when unsupported. */
|
|
22
|
+
export declare const getConfirmPujaDetailsModalDefaultCopy: (locale?: string) => ConfirmPujaDetailsModalDefaultCopy;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { AncestorNameEntry } from '../PujaDetailsForm';
|
|
2
|
+
import { ConfirmPujaDetailsModalLocale } from './ConfirmPujaDetailsModal.translations';
|
|
3
|
+
export interface ConfirmPujaDetailsModalProps {
|
|
4
|
+
isOpen: boolean;
|
|
5
|
+
/** Called by the close (X) button, backdrop tap and Escape. */
|
|
6
|
+
onClose: () => void;
|
|
7
|
+
/**
|
|
8
|
+
* Locale used to resolve all the labels below. Defaults to `'en'`.
|
|
9
|
+
*/
|
|
10
|
+
locale?: ConfirmPujaDetailsModalLocale;
|
|
11
|
+
/** Ancestors this puja is for — reuses `PujaDetailsForm`'s shape (`label` = relation, e.g. "Grandfather"; `value` = name), so the same data filled in there can be passed straight through. Each renders as a "{value} ({label})" pill. */
|
|
12
|
+
ancestors: AncestorNameEntry[];
|
|
13
|
+
/** Karta (performer) names, in order — each renders as a "{n}. {name}" pill. */
|
|
14
|
+
kartaNames: string[];
|
|
15
|
+
gotra: string;
|
|
16
|
+
/** 10-digit Indian mobile number, or the email when the devotee filled that in instead (see `PujaDetailsForm`'s `isGlobal`). */
|
|
17
|
+
whatsappNumber: string;
|
|
18
|
+
/** Final amount shown on the Pay button, e.g. "₹1648/-". */
|
|
19
|
+
amount: string;
|
|
20
|
+
/** Fired when "Edit Details" is clicked — typically closes the modal and returns to `PujaDetailsForm`. */
|
|
21
|
+
onEditDetailsClick?: () => void;
|
|
22
|
+
/** Fired when the Pay button is clicked, to hand off to the payment flow. */
|
|
23
|
+
onProceedPayment: () => void;
|
|
24
|
+
className?: string;
|
|
25
|
+
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export { ConfirmPujaDetailsModal } from './ConfirmPujaDetailsModal';
|
|
2
|
+
export type { ConfirmPujaDetailsModalProps } from './ConfirmPujaDetailsModal.types';
|
|
3
|
+
export { CONFIRM_PUJA_DETAILS_MODAL_DEFAULT_COPY, getConfirmPujaDetailsModalDefaultCopy, } from './ConfirmPujaDetailsModal.translations';
|
|
4
|
+
export type { ConfirmPujaDetailsModalLocale, ConfirmPujaDetailsModalDefaultCopy, } from './ConfirmPujaDetailsModal.translations';
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { GotraInfoModalProps } from './GotraInfoModal.types';
|
|
2
|
+
/**
|
|
3
|
+
* "I do not know my Lineage (Gotra), what should I do?" info sheet opened
|
|
4
|
+
* from the info icon next to `PujaDetailsForm`'s Gotra field: explains the
|
|
5
|
+
* Kashyap-Gotra fallback per scripture, with a single "Okay" CTA to dismiss.
|
|
6
|
+
*
|
|
7
|
+
* All copy defaults to locale-specific text (`locale`, `'en'`/`'hi'`/`'te'`).
|
|
8
|
+
*/
|
|
9
|
+
export declare function GotraInfoModal({ isOpen, onClose, locale, className }: GotraInfoModalProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Default copy for `GotraInfoModal`, keyed by locale. Explains what to do
|
|
3
|
+
* when a devotee doesn't know their Gotra (lineage) — opened from the
|
|
4
|
+
* Gotra field's info icon in `PujaDetailsForm`.
|
|
5
|
+
*/
|
|
6
|
+
export type GotraInfoModalLocale = 'en' | 'hi' | 'te';
|
|
7
|
+
export interface GotraInfoModalDefaultCopy {
|
|
8
|
+
heading: string;
|
|
9
|
+
body: string;
|
|
10
|
+
okayLabel: string;
|
|
11
|
+
closeButtonAriaLabel: string;
|
|
12
|
+
}
|
|
13
|
+
export declare const GOTRA_INFO_MODAL_DEFAULT_COPY: Record<GotraInfoModalLocale, GotraInfoModalDefaultCopy>;
|
|
14
|
+
/** Resolves the default copy for `locale`, falling back to `'en'` when unsupported. */
|
|
15
|
+
export declare const getGotraInfoModalDefaultCopy: (locale?: string) => GotraInfoModalDefaultCopy;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { GotraInfoModalLocale } from './GotraInfoModal.translations';
|
|
2
|
+
export interface GotraInfoModalProps {
|
|
3
|
+
isOpen: boolean;
|
|
4
|
+
/** Called by the close (X) button, backdrop tap, Escape and the "Okay" button. */
|
|
5
|
+
onClose: () => void;
|
|
6
|
+
/**
|
|
7
|
+
* Locale used to resolve the heading/body/button copy below. Defaults to
|
|
8
|
+
* `'en'`.
|
|
9
|
+
*/
|
|
10
|
+
locale?: GotraInfoModalLocale;
|
|
11
|
+
className?: string;
|
|
12
|
+
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export { GotraInfoModal } from './GotraInfoModal';
|
|
2
|
+
export type { GotraInfoModalProps } from './GotraInfoModal.types';
|
|
3
|
+
export { GOTRA_INFO_MODAL_DEFAULT_COPY, getGotraInfoModalDefaultCopy, } from './GotraInfoModal.translations';
|
|
4
|
+
export type { GotraInfoModalLocale, GotraInfoModalDefaultCopy } from './GotraInfoModal.translations';
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* `title`/`description`/`benefits`/`trustBadges` explicitly to override any
|
|
8
8
|
* of it for a one-off usage.
|
|
9
9
|
*/
|
|
10
|
-
export type PackageSelectLocale = 'en' | 'hi';
|
|
10
|
+
export type PackageSelectLocale = 'en' | 'hi' | 'te';
|
|
11
11
|
export interface PackageSelectDefaultCopy {
|
|
12
12
|
title: string;
|
|
13
13
|
description: string;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/** Max length enforced on every free-text name field (Karta, ancestor, Gotra). */
|
|
2
|
+
export declare const MAX_NAME_LENGTH = 40;
|
|
3
|
+
/** This form only ever collects an Indian mobile number — there's no country selector. */
|
|
4
|
+
export declare const INDIA_COUNTRY_CODE = "+91";
|
|
5
|
+
/** Basic email shape check used for the `isGlobal` email field's error state. */
|
|
6
|
+
export declare const EMAIL_PATTERN: RegExp;
|
|
@@ -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';
|
package/dist/index.d.ts
CHANGED
|
@@ -56,6 +56,18 @@ export { L2Card } from './components/L2Card';
|
|
|
56
56
|
export type { L2CardProps, L2CardImageProps } from './components/L2Card';
|
|
57
57
|
export { OutcomeButton, PlusIcon, CheckIcon } from './components/OutcomeButton';
|
|
58
58
|
export type { OutcomeButtonProps, OutcomeButtonVariant, IconProps } from './components/OutcomeButton';
|
|
59
|
+
export { PujaDetailsForm, createEmptyPujaDetailsFormValues } from './components/PujaDetailsForm';
|
|
60
|
+
export type { PujaDetailsFormProps, PujaDetailsFormValues, AncestorNameEntry, } from './components/PujaDetailsForm';
|
|
61
|
+
export { PUJA_DETAILS_FORM_DEFAULT_COPY, getPujaDetailsFormDefaultCopy, getKartaOrdinalLabel, } from './components/PujaDetailsForm';
|
|
62
|
+
export type { PujaDetailsFormLocale, PujaDetailsFormDefaultCopy, } from './components/PujaDetailsForm';
|
|
63
|
+
export { ConfirmPujaDetailsModal } from './components/ConfirmPujaDetailsModal';
|
|
64
|
+
export type { ConfirmPujaDetailsModalProps } from './components/ConfirmPujaDetailsModal';
|
|
65
|
+
export { CONFIRM_PUJA_DETAILS_MODAL_DEFAULT_COPY, getConfirmPujaDetailsModalDefaultCopy, } from './components/ConfirmPujaDetailsModal';
|
|
66
|
+
export type { ConfirmPujaDetailsModalLocale, ConfirmPujaDetailsModalDefaultCopy, } from './components/ConfirmPujaDetailsModal';
|
|
67
|
+
export { GotraInfoModal } from './components/GotraInfoModal';
|
|
68
|
+
export type { GotraInfoModalProps } from './components/GotraInfoModal';
|
|
69
|
+
export { GOTRA_INFO_MODAL_DEFAULT_COPY, getGotraInfoModalDefaultCopy, } from './components/GotraInfoModal';
|
|
70
|
+
export type { GotraInfoModalLocale, GotraInfoModalDefaultCopy, } from './components/GotraInfoModal';
|
|
59
71
|
export { OutcomeSummary } from './components/OutcomeSummary';
|
|
60
72
|
export type { OutcomeSummaryProps, OutcomeTrustItem, OutcomeTrustIconVariant } from './components/OutcomeSummary';
|
|
61
73
|
export { SarvaPitruCard } from './components/SarvaPitruCard';
|
|
@@ -56,6 +56,18 @@ export { L2Card } from './components/L2Card';
|
|
|
56
56
|
export type { L2CardProps, L2CardImageProps } from './components/L2Card';
|
|
57
57
|
export { OutcomeButton, PlusIcon, CheckIcon } from './components/OutcomeButton';
|
|
58
58
|
export type { OutcomeButtonProps, OutcomeButtonVariant, IconProps } from './components/OutcomeButton';
|
|
59
|
+
export { PujaDetailsForm, createEmptyPujaDetailsFormValues } from './components/PujaDetailsForm';
|
|
60
|
+
export type { PujaDetailsFormProps, PujaDetailsFormValues, AncestorNameEntry, } from './components/PujaDetailsForm';
|
|
61
|
+
export { PUJA_DETAILS_FORM_DEFAULT_COPY, getPujaDetailsFormDefaultCopy, getKartaOrdinalLabel, } from './components/PujaDetailsForm';
|
|
62
|
+
export type { PujaDetailsFormLocale, PujaDetailsFormDefaultCopy, } from './components/PujaDetailsForm';
|
|
63
|
+
export { ConfirmPujaDetailsModal } from './components/ConfirmPujaDetailsModal';
|
|
64
|
+
export type { ConfirmPujaDetailsModalProps } from './components/ConfirmPujaDetailsModal';
|
|
65
|
+
export { CONFIRM_PUJA_DETAILS_MODAL_DEFAULT_COPY, getConfirmPujaDetailsModalDefaultCopy, } from './components/ConfirmPujaDetailsModal';
|
|
66
|
+
export type { ConfirmPujaDetailsModalLocale, ConfirmPujaDetailsModalDefaultCopy, } from './components/ConfirmPujaDetailsModal';
|
|
67
|
+
export { GotraInfoModal } from './components/GotraInfoModal';
|
|
68
|
+
export type { GotraInfoModalProps } from './components/GotraInfoModal';
|
|
69
|
+
export { GOTRA_INFO_MODAL_DEFAULT_COPY, getGotraInfoModalDefaultCopy, } from './components/GotraInfoModal';
|
|
70
|
+
export type { GotraInfoModalLocale, GotraInfoModalDefaultCopy, } from './components/GotraInfoModal';
|
|
59
71
|
export { OutcomeSummary } from './components/OutcomeSummary';
|
|
60
72
|
export type { OutcomeSummaryProps, OutcomeTrustItem, OutcomeTrustIconVariant } from './components/OutcomeSummary';
|
|
61
73
|
export { SarvaPitruCard } from './components/SarvaPitruCard';
|