@srimandir/kundli-matching-generator 11.6.3 → 11.6.5
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/BabaTestimonialSection/BabaTestimonialSection.d.ts +1 -1
- package/dist/components/HeroSection/HeroSection.d.ts +4 -1
- package/dist/components/HeroSection/index.d.ts +1 -1
- package/dist/{criticalCss-CV32zSyq.js → criticalCss-CGaA5k68.js} +677 -650
- package/dist/criticalCss-CGaA5k68.js.map +1 -0
- package/dist/form-entry.js +1 -1
- package/dist/{image-BRii0_I_.js → image-Brnp1xDx.js} +2 -2
- package/dist/image-Brnp1xDx.js.map +1 -0
- package/dist/index.d.ts +1 -1
- package/dist/kundli-matching-generator.js +44 -42
- package/dist/page-entry.d.ts +1 -1
- package/dist/page-entry.js +16 -14
- package/package.json +1 -1
- package/dist/criticalCss-CV32zSyq.js.map +0 -1
- package/dist/image-BRii0_I_.js.map +0 -1
|
@@ -9,5 +9,5 @@ export interface BabaTestimonialSectionProps {
|
|
|
9
9
|
className?: string;
|
|
10
10
|
analytics?: KundliMatchingAnalytics;
|
|
11
11
|
}
|
|
12
|
-
export declare const BABA_IMAGE_URL = "https://srm-cdn.a4b.io/yoda/
|
|
12
|
+
export declare const BABA_IMAGE_URL = "https://srm-cdn.a4b.io/yoda/1791964339329.webp?w=312";
|
|
13
13
|
export declare const BabaTestimonialSection: React.FC<BabaTestimonialSectionProps>;
|
|
@@ -8,6 +8,8 @@ export declare const HERO_VARIANT_IMAGES: {
|
|
|
8
8
|
export type HeroVariant = keyof typeof HERO_VARIANT_IMAGES;
|
|
9
9
|
/** Hero image URL for a variant in the given surface locale (English for anything but `hi`). */
|
|
10
10
|
export declare const getHeroImageUrl: (variant: HeroVariant, locale?: string) => string;
|
|
11
|
+
export declare const getHeroImageSrcSet: (variant: HeroVariant, locale?: string) => string;
|
|
12
|
+
export declare const HERO_IMAGE_SIZES = "(max-width: 512px) 100vw, 512px";
|
|
11
13
|
/** Used when the variant param is missing, empty, or unknown. */
|
|
12
14
|
export declare const DEFAULT_HERO_VARIANT: HeroVariant;
|
|
13
15
|
/**
|
|
@@ -22,7 +24,8 @@ export declare const resolveHeroVariantWithSource: () => {
|
|
|
22
24
|
export declare const resolveHeroVariant: () => HeroVariant;
|
|
23
25
|
/**
|
|
24
26
|
* Default hero image URL - exported so host apps can preload it in document head (LCP):
|
|
25
|
-
* <link rel="preload" as="image" href={getHeroImageUrl(variant, locale)}
|
|
27
|
+
* <link rel="preload" as="image" href={getHeroImageUrl(variant, locale)}
|
|
28
|
+
* imageSrcSet={getHeroImageSrcSet(variant, locale)} imageSizes={HERO_IMAGE_SIZES} />
|
|
26
29
|
*/
|
|
27
30
|
export declare const HERO_IMAGE_URL: "https://srm-cdn.a4b.io/yoda/1790750877585.webp";
|
|
28
31
|
export interface HeroSectionProps {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { HeroSection, HERO_IMAGE_URL, HERO_VARIANT_IMAGES, getHeroImageUrl, DEFAULT_HERO_VARIANT, resolveHeroVariant, resolveHeroVariantWithSource, } from './HeroSection';
|
|
1
|
+
export { HeroSection, HERO_IMAGE_URL, HERO_VARIANT_IMAGES, getHeroImageUrl, getHeroImageSrcSet, HERO_IMAGE_SIZES, DEFAULT_HERO_VARIANT, resolveHeroVariant, resolveHeroVariantWithSource, } from './HeroSection';
|
|
2
2
|
export type { HeroSectionProps, HeroVariant } from './HeroSection';
|