kundli-generator 1.1.1 → 1.1.2
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/KundliPage/KundliContext.d.ts +2 -0
- package/dist/components/KundliPage/KundliPage.d.ts +2 -0
- package/dist/kundli-generator.js +312 -299
- package/dist/kundli-generator.js.map +1 -1
- package/dist/kundli-generator.umd.cjs +8 -8
- package/dist/kundli-generator.umd.cjs.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -24,6 +24,8 @@ export interface KundliContextConfig {
|
|
|
24
24
|
discountedPriceLabel?: string;
|
|
25
25
|
discountPillLabel?: string;
|
|
26
26
|
analytics?: KundliAnalytics;
|
|
27
|
+
/** Notify parent when user changes language (e.g. to keep form view in sync when switching from landing) */
|
|
28
|
+
onLocaleChange?: (locale: SupportedLocale) => void;
|
|
27
29
|
}
|
|
28
30
|
export interface KundliContextValue {
|
|
29
31
|
view: KundliView;
|
|
@@ -38,5 +38,7 @@ export interface KundliPageProps {
|
|
|
38
38
|
discountPillLabel?: string;
|
|
39
39
|
/** Optional analytics implementation for Mixpanel/tracking events */
|
|
40
40
|
analytics?: KundliAnalytics;
|
|
41
|
+
/** Notify when user changes language (e.g. to keep form view in sync when switching from landing) */
|
|
42
|
+
onLocaleChange?: (locale: SupportedLocale) => void;
|
|
41
43
|
}
|
|
42
44
|
export declare const KundliPage: React.FC<KundliPageProps>;
|