@srimandir/make-your-own-ritual 0.1.6 → 0.1.8
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/ChadhavaSevaBottomSheet/ChadhavaSevaBottomSheet.d.ts +9 -0
- package/dist/components/ChadhavaSevaBottomSheet/index.d.ts +2 -0
- package/dist/components/LandingPage/LandingPage.d.ts +3 -1
- package/dist/i18n/translations.en.d.ts +2 -0
- package/dist/i18n/translations.hi.d.ts +2 -0
- package/dist/index.d.ts +2 -0
- package/dist/make-your-own-ritual.js +805 -772
- package/dist/make-your-own-ritual.js.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +2 -2
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
export interface ChadhavaSevaBottomSheetProps {
|
|
3
|
+
isOpen: boolean;
|
|
4
|
+
onClose: () => void;
|
|
5
|
+
imageUrl: string;
|
|
6
|
+
title: string;
|
|
7
|
+
description: string;
|
|
8
|
+
}
|
|
9
|
+
export declare const ChadhavaSevaBottomSheet: React.FC<ChadhavaSevaBottomSheetProps>;
|
|
@@ -5,5 +5,7 @@ export interface LandingPageProps {
|
|
|
5
5
|
mutate: (action: LandingPageAction) => void;
|
|
6
6
|
onProceed: (selectedRitualIds: string[]) => void;
|
|
7
7
|
onLocaleChange: (locale: SupportedLocale) => void;
|
|
8
|
+
/** Fired when a card's "About this Chadhava/Seva" link is clicked, with that ritual's id. */
|
|
9
|
+
onAboutRitualClick?: (ritualId: string) => void;
|
|
8
10
|
}
|
|
9
|
-
export declare function LandingPage({ store, mutate, onProceed, onLocaleChange, }: LandingPageProps): import("react").JSX.Element;
|
|
11
|
+
export declare function LandingPage({ store, mutate, onProceed, onLocaleChange, onAboutRitualClick, }: LandingPageProps): import("react").JSX.Element;
|
|
@@ -18,6 +18,8 @@ export declare const en: {
|
|
|
18
18
|
ritualBooked: string;
|
|
19
19
|
ritualPriceLabel: string;
|
|
20
20
|
ritualAboutLink: string;
|
|
21
|
+
ritualAboutChadhava: string;
|
|
22
|
+
ritualAboutSeva: string;
|
|
21
23
|
ritualSelectAriaLabel: string;
|
|
22
24
|
ritualCountSingular: string;
|
|
23
25
|
ritualCountPlural: string;
|
|
@@ -18,6 +18,8 @@ export declare const hi: {
|
|
|
18
18
|
ritualBooked: string;
|
|
19
19
|
ritualPriceLabel: string;
|
|
20
20
|
ritualAboutLink: string;
|
|
21
|
+
ritualAboutChadhava: string;
|
|
22
|
+
ritualAboutSeva: string;
|
|
21
23
|
ritualSelectAriaLabel: string;
|
|
22
24
|
ritualCountSingular: string;
|
|
23
25
|
ritualCountPlural: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -11,3 +11,5 @@ export { MakeYourOwnRitualPage } from './components/MakeYourOwnRitualPage';
|
|
|
11
11
|
export type { MakeYourOwnRitualPageProps } from './components/MakeYourOwnRitualPage';
|
|
12
12
|
export { LandingPage } from './components/LandingPage';
|
|
13
13
|
export type { LandingPageProps } from './components/LandingPage';
|
|
14
|
+
export { ChadhavaSevaBottomSheet } from './components/ChadhavaSevaBottomSheet';
|
|
15
|
+
export type { ChadhavaSevaBottomSheetProps } from './components/ChadhavaSevaBottomSheet';
|