@srimandir/old-dosha-calculator 1.0.49 → 1.0.51
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/SriMandirPujaCarousel.d.ts +3 -1
- package/dist/components/SriMandirPujaVerticalCard.d.ts +4 -1
- package/dist/components/ui/button.d.ts +1 -1
- package/dist/lib/analytics.d.ts +5 -0
- package/dist/old-dosha-calculator.js +3432 -3414
- package/dist/old-dosha-calculator.js.map +1 -1
- package/dist/old-dosha-calculator.umd.cjs +92 -31
- package/dist/old-dosha-calculator.umd.cjs.map +1 -1
- package/dist/style.css +1 -1
- package/dist/types/image.d.ts +18 -0
- package/package.json +3 -3
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import { SriMandirPuja } from '../lib/sriMandirPujaHelpers';
|
|
2
|
-
|
|
2
|
+
import { DoshaAnalytics } from '../lib/analytics';
|
|
3
|
+
export declare const SriMandirPujaCarousel: ({ pujas, language, analytics, }: {
|
|
3
4
|
pujas: SriMandirPuja[];
|
|
4
5
|
doshaType?: string;
|
|
5
6
|
formData?: any;
|
|
6
7
|
variant?: string;
|
|
7
8
|
language?: string;
|
|
9
|
+
analytics?: DoshaAnalytics;
|
|
8
10
|
}) => import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { SriMandirPuja } from '../lib/sriMandirPujaHelpers';
|
|
2
|
+
import { DoshaAnalytics } from '../lib/analytics';
|
|
2
3
|
export interface SriMandirPujaVerticalCardProps {
|
|
3
4
|
puja: SriMandirPuja;
|
|
4
5
|
doshaType: string;
|
|
@@ -6,5 +7,7 @@ export interface SriMandirPujaVerticalCardProps {
|
|
|
6
7
|
language: string;
|
|
7
8
|
onBookClick?: () => void | Promise<void>;
|
|
8
9
|
variant?: string;
|
|
10
|
+
/** Optional analytics callback */
|
|
11
|
+
analytics?: DoshaAnalytics;
|
|
9
12
|
}
|
|
10
|
-
export declare function SriMandirPujaVerticalCard({ puja, doshaType, language, onBookClick, }: SriMandirPujaVerticalCardProps): import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
export declare function SriMandirPujaVerticalCard({ puja, doshaType, language, onBookClick, analytics, }: SriMandirPujaVerticalCardProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { VariantProps } from 'class-variance-authority';
|
|
2
2
|
import * as React from "react";
|
|
3
3
|
declare const buttonVariants: (props?: ({
|
|
4
|
-
variant?: "
|
|
4
|
+
variant?: "link" | "default" | "destructive" | "outline" | "secondary" | "ghost" | null | undefined;
|
|
5
5
|
size?: "default" | "sm" | "lg" | "icon" | null | undefined;
|
|
6
6
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
7
7
|
export interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
|
package/dist/lib/analytics.d.ts
CHANGED
|
@@ -30,5 +30,10 @@ export interface DoshaAnalytics {
|
|
|
30
30
|
trackFaqQuestionClicked?(questionText: string, is_old_dosha?: boolean): void;
|
|
31
31
|
trackLanguageClicked?(selectedLanguage: string, is_old_dosha?: boolean): void;
|
|
32
32
|
trackLanguageChanged?(lang: string, is_old_dosha?: boolean): void;
|
|
33
|
+
trackDoshaCalculatorResultBookCtaClicked?(params: {
|
|
34
|
+
position: string;
|
|
35
|
+
url: string;
|
|
36
|
+
isOldDosha?: boolean;
|
|
37
|
+
}): void;
|
|
33
38
|
}
|
|
34
39
|
export declare const trackEvent: (eventName: string, properties?: any) => void;
|