@hhgtech/hhg-components 1.27.106 → 1.27.108
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/build/babyGrowth.js +2 -2
- package/build/cache.js +1 -1
- package/build/care.js +1 -1
- package/build/components/atoms/icons/ArrowRightTail.d.ts +4 -0
- package/build/components/atoms/icons/index.d.ts +1 -0
- package/build/components/molecules/index.d.ts +2 -1
- package/build/components/molecules/premiumNewsletterBanner/bannerLayout.d.ts +11 -0
- package/build/components/molecules/premiumNewsletterBanner/bannerWithOption/index.d.ts +17 -0
- package/build/components/molecules/premiumNewsletterBanner/bannerWithOption/index.styles.d.ts +10 -0
- package/build/components/molecules/premiumNewsletterBanner/constants.d.ts +167 -0
- package/build/components/molecules/premiumNewsletterBanner/context.d.ts +13 -9
- package/build/components/molecules/premiumNewsletterBanner/handlerBanner.d.ts +3 -0
- package/build/components/molecules/premiumNewsletterBanner/index.d.ts +8 -1
- package/build/components/molecules/premiumNewsletterBanner/toolBanner.d.ts +11 -7
- package/build/components/molecules/premiumNewsletterBanner/types.d.ts +43 -0
- package/build/components/onboardingV2/index.d.ts +2 -2
- package/build/components/onboardingV2/onboardingForm/index.d.ts +2 -1
- package/build/components/onboardingV2/otpForm/phone.d.ts +2 -1
- package/build/components/ui/onboarding/index.d.ts +1 -1
- package/build/components.js +1 -1
- package/build/constants.js +1 -1
- package/build/{core-6777448c.js → core-c7a75018.js} +1 -1
- package/build/ecom.js +1 -1
- package/build/esm/babyGrowth.js +5 -5
- package/build/esm/cache.js +1 -1
- package/build/esm/care.js +1 -1
- package/build/esm/components/atoms/icons/ArrowRightTail.d.ts +4 -0
- package/build/esm/components/atoms/icons/index.d.ts +1 -0
- package/build/esm/components/molecules/index.d.ts +2 -1
- package/build/esm/components/molecules/premiumNewsletterBanner/bannerLayout.d.ts +11 -0
- package/build/esm/components/molecules/premiumNewsletterBanner/bannerWithOption/index.d.ts +17 -0
- package/build/esm/components/molecules/premiumNewsletterBanner/bannerWithOption/index.styles.d.ts +10 -0
- package/build/esm/components/molecules/premiumNewsletterBanner/constants.d.ts +167 -0
- package/build/esm/components/molecules/premiumNewsletterBanner/context.d.ts +13 -9
- package/build/esm/components/molecules/premiumNewsletterBanner/handlerBanner.d.ts +3 -0
- package/build/esm/components/molecules/premiumNewsletterBanner/index.d.ts +8 -1
- package/build/esm/components/molecules/premiumNewsletterBanner/toolBanner.d.ts +11 -7
- package/build/esm/components/molecules/premiumNewsletterBanner/types.d.ts +43 -0
- package/build/esm/components/onboardingV2/index.d.ts +2 -2
- package/build/esm/components/onboardingV2/onboardingForm/index.d.ts +2 -1
- package/build/esm/components/onboardingV2/otpForm/phone.d.ts +2 -1
- package/build/esm/components/ui/onboarding/index.d.ts +1 -1
- package/build/esm/components.js +1 -1
- package/build/esm/constants.js +1 -1
- package/build/esm/{core-7199dd40.js → core-4fa1377d.js} +1 -1
- package/build/esm/ecom.js +1 -1
- package/build/esm/fixedBottomAdBlock-bf030cc6.js +1 -0
- package/build/esm/footer.js +1 -1
- package/build/esm/gAssets.js +1 -1
- package/build/esm/getDynamicHealthTool-4a9008e6.js +1 -0
- package/build/esm/{getSocialList-8def722a.js → getSocialList-10b0890f.js} +1 -1
- package/build/esm/hooks.js +1 -1
- package/build/esm/i18n/translationKeys.d.ts +1 -1
- package/build/esm/i18n-values/en-PH.js +1 -1
- package/build/esm/i18n-values/hi-IN.js +1 -1
- package/build/esm/i18n-values/id-ID.js +1 -1
- package/build/esm/i18n-values/km-KH.js +1 -1
- package/build/esm/i18n-values/ms-MY.js +1 -1
- package/build/esm/i18n-values/my-MM.js +1 -1
- package/build/esm/i18n-values/th-TH.js +1 -1
- package/build/esm/i18n-values/tl-PH.js +1 -1
- package/build/esm/i18n-values/vi-VN.js +1 -1
- package/build/esm/i18n-values/vi-VN_MB.js +1 -1
- package/build/esm/i18n-values/zh-TW.js +1 -1
- package/build/esm/i18n.js +1 -1
- package/build/esm/i18nV2.js +1 -1
- package/build/esm/index-06d78c13.js +1 -0
- package/build/esm/{index-5ff2d3ca.js → index-079b076a.js} +1 -1
- package/build/esm/{index-d50c2330.js → index-1fcd21d6.js} +1 -1
- package/build/esm/{index-cf323724.js → index-207bfc46.js} +1 -1
- package/build/esm/{index-c0b4791d.js → index-3205cae2.js} +1 -1
- package/build/esm/index-40286727.js +1 -0
- package/build/esm/{index-8a43a259.js → index-487b5955.js} +1 -1
- package/build/esm/index-4fb56101.js +6897 -0
- package/build/esm/{index-4aa9bd18.js → index-7313938c.js} +1 -1
- package/build/esm/{index-28f63afa.js → index-88d1f21a.js} +1 -1
- package/build/esm/index-8bf9f4b7.js +113 -0
- package/build/esm/index-9dc72ef6.js +1 -0
- package/build/esm/{index-450899bd.js → index-a1ad59eb.js} +6 -6
- package/build/esm/{index-10eafdee.js → index-afc34144.js} +1 -1
- package/build/esm/{index-23e57e34.js → index-b0fb8848.js} +1 -1
- package/build/esm/index-bc29ba16.js +1 -0
- package/build/esm/{index-b91f88a9.js → index-c08468c8.js} +1 -1
- package/build/esm/index-d0c85d18.js +1 -0
- package/build/esm/{index-7fe906e6.js → index-dc038260.js} +1 -1
- package/build/esm/{index-44f86fa4.js → index-e34aff32.js} +1 -1
- package/build/esm/{index-46ca4767.js → index-f41ca02d.js} +1 -1
- package/build/esm/index.js +1 -1
- package/build/esm/{index.styled-3fd8255b.js → index.styled-455cec24.js} +1 -1
- package/build/esm/{index.styled-e2634b67.js → index.styled-68620508.js} +1 -1
- package/build/esm/{index.styled-5a7758ac.js → index.styled-8cac0670.js} +3 -3
- package/build/esm/{index.styles-8a242f95.js → index.styles-054791eb.js} +2 -2
- package/build/esm/interfaces/constants/index.d.ts +1 -0
- package/build/esm/interfaces/constants/riskScreener.d.ts +9 -0
- package/build/esm/lead.js +1 -1
- package/build/esm/mantine.js +1 -1
- package/build/esm/misc.js +1 -1
- package/build/esm/navigation.js +1 -1
- package/build/esm/{routing-01f1d0a2.js → normalizeLink-b09aeaef.js} +1 -1
- package/build/esm/onboarding.js +1 -1
- package/build/esm/onboardingV2.js +30 -30
- package/build/esm/{paths-72ad2c5a.js → paths-f06f4b77.js} +1 -1
- package/build/esm/pwg.js +3 -3
- package/build/esm/together.js +1 -1
- package/build/esm/{types-60538526.js → types-2168a8be.js} +18 -18
- package/build/esm/types-4341a1ad.js +1 -0
- package/build/esm/types.js +1 -1
- package/build/esm/{useCategory-7d8609bc.js → useCategory-93c085f5.js} +1 -1
- package/build/esm/useHealthToolCache-4d6f85a4.js +1 -0
- package/build/esm/{useRafState-957e3f4f.js → useRafState-82ac303c.js} +1 -1
- package/build/esm/{useTranslations-30aaa435.js → useTranslations-3e087ef1.js} +1 -1
- package/build/esm/{utils-de53cba3.js → utils-5d3141da.js} +1 -1
- package/build/esm/vaccination.js +5 -5
- package/build/fixedBottomAdBlock-868addc2.js +1 -0
- package/build/footer.js +1 -1
- package/build/gAssets.js +1 -1
- package/build/getDynamicHealthTool-f4f91c99.js +1 -0
- package/build/{getSocialList-a979b7f7.js → getSocialList-b6402502.js} +1 -1
- package/build/hooks.js +1 -1
- package/build/i18n/translationKeys.d.ts +1 -1
- package/build/i18n-values/en-PH.js +1 -1
- package/build/i18n-values/hi-IN.js +1 -1
- package/build/i18n-values/id-ID.js +1 -1
- package/build/i18n-values/km-KH.js +1 -1
- package/build/i18n-values/ms-MY.js +1 -1
- package/build/i18n-values/my-MM.js +1 -1
- package/build/i18n-values/th-TH.js +1 -1
- package/build/i18n-values/tl-PH.js +1 -1
- package/build/i18n-values/vi-VN.js +1 -1
- package/build/i18n-values/vi-VN_MB.js +1 -1
- package/build/i18n-values/zh-TW.js +1 -1
- package/build/i18n.js +1 -1
- package/build/i18nV2.js +1 -1
- package/build/{index-c133ec54.js → index-07e01103.js} +1 -1
- package/build/index-09f4655b.js +1 -0
- package/build/{index-37056abd.js → index-0e741262.js} +1 -1
- package/build/{index-d9ff9e9d.js → index-12645a3d.js} +1 -1
- package/build/{index-efe8b5e5.js → index-14681c4d.js} +1 -1
- package/build/{index-2fa72c33.js → index-20eabad1.js} +1 -1
- package/build/{index-e04e8fce.js → index-2ee389bd.js} +1 -1
- package/build/{index-beef7f31.js → index-488aa7af.js} +1 -1
- package/build/{index-9297b09d.js → index-53cc2e2c.js} +1 -1
- package/build/{index-a6bb5f04.js → index-578006ad.js} +1 -1
- package/build/index-7462232a.js +113 -0
- package/build/{index-4e5f40e8.js → index-753cbbd7.js} +1 -1
- package/build/{index-e4a7ec87.js → index-8fd2a2ec.js} +1 -1
- package/build/index-93ef21b1.js +1 -0
- package/build/{_topic-8311bc5c.js → index-a1283613.js} +419 -419
- package/build/index-a39b5b8a.js +1 -0
- package/build/{index-74437525.js → index-b9c7f584.js} +1 -1
- package/build/{index-4f70f571.js → index-e062aec1.js} +1 -1
- package/build/{index-a037afcb.js → index-e152635d.js} +1 -1
- package/build/{index-6aea0955.js → index-eba3089e.js} +1 -1
- package/build/{index-08f5063b.js → index-ef0a72ff.js} +1 -1
- package/build/index.js +1 -1
- package/build/{index.styled-796d2028.js → index.styled-03aeb5ef.js} +5 -5
- package/build/{index.styled-bbaf897e.js → index.styled-0604b625.js} +1 -1
- package/build/{index.styled-d5862b70.js → index.styled-06324a5c.js} +1 -1
- package/build/{index.styles-3a22482d.js → index.styles-f9cad0ed.js} +2 -2
- package/build/interfaces/constants/index.d.ts +1 -0
- package/build/interfaces/constants/riskScreener.d.ts +9 -0
- package/build/lead.js +1 -1
- package/build/mantine.js +1 -1
- package/build/misc.js +1 -1
- package/build/navigation.js +1 -1
- package/build/normalizeLink-daac000f.js +1 -0
- package/build/onboarding.js +1 -1
- package/build/onboardingV2.js +16 -16
- package/build/{paths-9cc0f16a.js → paths-8f4ffd24.js} +1 -1
- package/build/pwg.js +2 -2
- package/build/together.js +1 -1
- package/build/{types-9661d5dc.js → types-d450b397.js} +1 -1
- package/build/types-e0dcc9af.js +1 -0
- package/build/types.js +1 -1
- package/build/{useCategory-42261fa9.js → useCategory-e50d02d4.js} +1 -1
- package/build/useHealthToolCache-77cd8a15.js +1 -0
- package/build/{useRafState-42bef5db.js → useRafState-86f9a0f3.js} +1 -1
- package/build/{useTranslations-23124ee9.js → useTranslations-ec44216d.js} +1 -1
- package/build/utils-f426008b.js +1 -0
- package/build/vaccination.js +1 -1
- package/package.json +1 -1
- package/build/components/molecules/premiumNewsletterBanner/bannerWithOption.d.ts +0 -10
- package/build/esm/_topic-395d4a03.js +0 -6897
- package/build/esm/components/molecules/premiumNewsletterBanner/bannerWithOption.d.ts +0 -10
- package/build/esm/getDynamicHealthTool-ef95b800.js +0 -1
- package/build/esm/index-1a89e915.js +0 -1
- package/build/esm/index-5791bb5e.js +0 -113
- package/build/esm/index-78790272.js +0 -1
- package/build/esm/index-9a421306.js +0 -1
- package/build/esm/index-aaf1cab1.js +0 -1
- package/build/esm/index-bfa78c44.js +0 -1
- package/build/esm/index-df2f8e37.js +0 -1
- package/build/esm/normalizeLink-6cfea88f.js +0 -1
- package/build/esm/types-0e440a32.js +0 -1
- package/build/esm/useHealthToolCache-fe647031.js +0 -1
- package/build/getDynamicHealthTool-586c30e6.js +0 -1
- package/build/index-2bb0e0c9.js +0 -113
- package/build/index-36c9f0d1.js +0 -1
- package/build/index-66418518.js +0 -1
- package/build/index-9a32846d.js +0 -1
- package/build/index-d4ed5be5.js +0 -1
- package/build/normalizeLink-67428231.js +0 -1
- package/build/routing-e3573c96.js +0 -1
- package/build/types-98be8e9e.js +0 -1
- package/build/useHealthToolCache-5c729cfa.js +0 -1
- package/build/utils-e75d6abb.js +0 -1
- /package/build/{BMI_BOYS.percentile.monthly-9d1ba7da.js → BMI_BOYS.percentile.monthly-6474acf1.js} +0 -0
- /package/build/{BMI_BOYS.percentile.weekly-3f266cf3.js → BMI_BOYS.percentile.weekly-d1359d99.js} +0 -0
- /package/build/{BMI_BOYS.percentile.yearly-6b6c6244.js → BMI_BOYS.percentile.yearly-86df8b65.js} +0 -0
- /package/build/{BMI_BOYS.zscore.monthly-b9418db1.js → BMI_BOYS.zscore.monthly-753a10e8.js} +0 -0
- /package/build/{BMI_BOYS.zscore.weekly-61f71c62.js → BMI_BOYS.zscore.weekly-f052b3b6.js} +0 -0
- /package/build/{BMI_BOYS.zscore.yearly-8a960206.js → BMI_BOYS.zscore.yearly-b1fd06c9.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.monthly-b0dc7872.js → BMI_GIRLS.percentile.monthly-9a5f26d6.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.weekly-4b9ba4aa.js → BMI_GIRLS.percentile.weekly-31ad199d.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.yearly-4b7e3683.js → BMI_GIRLS.percentile.yearly-79419770.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.monthly-7f1d852c.js → BMI_GIRLS.zscore.monthly-d0d104d6.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.weekly-a682d4ef.js → BMI_GIRLS.zscore.weekly-933c4ae5.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.yearly-5de8191c.js → BMI_GIRLS.zscore.yearly-33455e67.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-4a66eebc.js → HEAD CIRCUM_BOYS.percentile.monthly-6eaa2256.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-f9c6cd92.js → HEAD CIRCUM_BOYS.percentile.weekly-899c1da1.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-783e5835.js → HEAD CIRCUM_BOYS.percentile.yearly-7daa91f5.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-a26e665d.js → HEAD CIRCUM_BOYS.zscore.monthly-d2d51c9c.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-f094b730.js → HEAD CIRCUM_BOYS.zscore.weekly-28335f4f.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-01341dde.js → HEAD CIRCUM_BOYS.zscore.yearly-5df395b7.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-6937f140.js → HEAD CIRCUM_GIRLS.percentile.monthly-7d4466f9.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-402f61b6.js → HEAD CIRCUM_GIRLS.percentile.weekly-3dd5083f.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-c18abd88.js → HEAD CIRCUM_GIRLS.percentile.yearly-0711f890.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-b7c2764f.js → HEAD CIRCUM_GIRLS.zscore.monthly-8ae1120d.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-9b88d3d8.js → HEAD CIRCUM_GIRLS.zscore.weekly-3f6446e8.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-b281bbc3.js → HEAD CIRCUM_GIRLS.zscore.yearly-187cd1e7.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.monthly-ffd291ab.js → HEIGHT_BOYS.percentile.monthly-6a71dd8c.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.weekly-c52febdc.js → HEIGHT_BOYS.percentile.weekly-ab26c647.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.yearly-ba7ae630.js → HEIGHT_BOYS.percentile.yearly-b8d9f7ca.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.monthly-e20208e7.js → HEIGHT_BOYS.zscore.monthly-2f50713f.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.weekly-0f91e1b3.js → HEIGHT_BOYS.zscore.weekly-ab219f56.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.yearly-8447f8b9.js → HEIGHT_BOYS.zscore.yearly-5c3fee13.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.monthly-816746e9.js → HEIGHT_GIRLS.percentile.monthly-b8e9cd11.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.weekly-b95c11be.js → HEIGHT_GIRLS.percentile.weekly-f5e06b9e.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.yearly-985166ef.js → HEIGHT_GIRLS.percentile.yearly-7cbff2d7.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.monthly-d3b5fa19.js → HEIGHT_GIRLS.zscore.monthly-7ccd7739.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.weekly-f468db5d.js → HEIGHT_GIRLS.zscore.weekly-09810d49.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.yearly-ea3908a9.js → HEIGHT_GIRLS.zscore.yearly-9324bb7e.js} +0 -0
- /package/build/{Onboarding-bd1701e2.js → Onboarding-09a0b8b8.js} +0 -0
- /package/build/{Visible-0336b939.js → Visible-f4da1058.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.monthly-303e75e2.js → WEIGHT_BOYS.percentile.monthly-93492d7a.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.weekly-4ee352cd.js → WEIGHT_BOYS.percentile.weekly-97297594.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.yearly-51881010.js → WEIGHT_BOYS.percentile.yearly-6c493e93.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.monthly-e4ec3492.js → WEIGHT_BOYS.zscore.monthly-db2d38e3.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.weekly-1824bba4.js → WEIGHT_BOYS.zscore.weekly-2467da43.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.yearly-583d0b6c.js → WEIGHT_BOYS.zscore.yearly-f861d638.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.monthly-fb2632bb.js → WEIGHT_GIRLS.percentile.monthly-8b45494e.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.weekly-7951e61a.js → WEIGHT_GIRLS.percentile.weekly-2144c3a8.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.yearly-c070044a.js → WEIGHT_GIRLS.percentile.yearly-2effedc3.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.monthly-9b3ede19.js → WEIGHT_GIRLS.zscore.monthly-8973c4f2.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.weekly-bbdc0386.js → WEIGHT_GIRLS.zscore.weekly-73d16170.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.yearly-4da42650.js → WEIGHT_GIRLS.zscore.yearly-e71c80ae.js} +0 -0
- /package/build/{constants-56c2d623.js → constants-26c603a9.js} +0 -0
- /package/build/{cookieHelper-43c69161.js → cookieHelper-f7f170bd.js} +0 -0
- /package/build/{dataTransform-ef45b5fa.js → dataTransform-6b83d29b.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.monthly-4b700f4a.js → BMI_BOYS.percentile.monthly-f694b480.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.weekly-20c2eefa.js → BMI_BOYS.percentile.weekly-a13f6584.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.yearly-6883e3fa.js → BMI_BOYS.percentile.yearly-35a253c5.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.monthly-b88c6169.js → BMI_BOYS.zscore.monthly-f1727824.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.weekly-6aee76d6.js → BMI_BOYS.zscore.weekly-cbc0b3ed.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.yearly-af704c7b.js → BMI_BOYS.zscore.yearly-bbe45b72.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.monthly-a99383b0.js → BMI_GIRLS.percentile.monthly-57992bbb.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.weekly-cf329c96.js → BMI_GIRLS.percentile.weekly-fabdfca2.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.yearly-bc1d8805.js → BMI_GIRLS.percentile.yearly-57d5d7de.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.monthly-24e0906d.js → BMI_GIRLS.zscore.monthly-967d3822.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.weekly-3c7534cb.js → BMI_GIRLS.zscore.weekly-f29ba0b5.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.yearly-e86dc9d6.js → BMI_GIRLS.zscore.yearly-b3e1f421.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-26ade6d1.js → HEAD CIRCUM_BOYS.percentile.monthly-a2ab1762.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-bcca6572.js → HEAD CIRCUM_BOYS.percentile.weekly-ad8891e1.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-d3981988.js → HEAD CIRCUM_BOYS.percentile.yearly-da5c3247.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-983a3346.js → HEAD CIRCUM_BOYS.zscore.monthly-37664fc1.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-d6c9a013.js → HEAD CIRCUM_BOYS.zscore.weekly-43847232.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-c8d65a4d.js → HEAD CIRCUM_BOYS.zscore.yearly-b8b548e2.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-94badee7.js → HEAD CIRCUM_GIRLS.percentile.monthly-79b0ab3b.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-aff2bcfd.js → HEAD CIRCUM_GIRLS.percentile.weekly-d760f0f6.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-aa570380.js → HEAD CIRCUM_GIRLS.percentile.yearly-14c5089d.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-309e7ffc.js → HEAD CIRCUM_GIRLS.zscore.monthly-de366fa2.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-6686bbb8.js → HEAD CIRCUM_GIRLS.zscore.weekly-d2704b26.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-bccdfc66.js → HEAD CIRCUM_GIRLS.zscore.yearly-483fc5c5.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.monthly-798b348f.js → HEIGHT_BOYS.percentile.monthly-3799366e.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.weekly-fdc8e3eb.js → HEIGHT_BOYS.percentile.weekly-3c818bda.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.yearly-61fce2ce.js → HEIGHT_BOYS.percentile.yearly-46d85627.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.monthly-9c122b80.js → HEIGHT_BOYS.zscore.monthly-c2d0a10d.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.weekly-44a84440.js → HEIGHT_BOYS.zscore.weekly-9a9dc3fa.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.yearly-a3bf010e.js → HEIGHT_BOYS.zscore.yearly-7c42e8c0.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-49060f92.js → HEIGHT_GIRLS.percentile.monthly-b4617cb6.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-6f27a8c5.js → HEIGHT_GIRLS.percentile.weekly-a57372b1.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-fd4e0e67.js → HEIGHT_GIRLS.percentile.yearly-42a759fb.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-1cc8e864.js → HEIGHT_GIRLS.zscore.monthly-77f9982b.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-1a065039.js → HEIGHT_GIRLS.zscore.weekly-8b36344b.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-0eef5ca0.js → HEIGHT_GIRLS.zscore.yearly-6f72e0e4.js} +0 -0
- /package/build/esm/{Onboarding-76dc8304.js → Onboarding-485d3188.js} +0 -0
- /package/build/esm/{Visible-bb7d4602.js → Visible-7f242e5b.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.monthly-6004c002.js → WEIGHT_BOYS.percentile.monthly-fd15d691.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.weekly-31a5de7c.js → WEIGHT_BOYS.percentile.weekly-47e3be0b.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.yearly-af22a345.js → WEIGHT_BOYS.percentile.yearly-d4819cc4.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.monthly-18342763.js → WEIGHT_BOYS.zscore.monthly-33e08b56.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.weekly-5f3e180c.js → WEIGHT_BOYS.zscore.weekly-85ad74c4.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.yearly-7a0a4df4.js → WEIGHT_BOYS.zscore.yearly-9e35b7db.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-5acc8efc.js → WEIGHT_GIRLS.percentile.monthly-de3c7336.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-bbe2d7e2.js → WEIGHT_GIRLS.percentile.weekly-c0e60d8a.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-6990e028.js → WEIGHT_GIRLS.percentile.yearly-b8d83e40.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-64bd4a57.js → WEIGHT_GIRLS.zscore.monthly-7621d4ed.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-08e06f6a.js → WEIGHT_GIRLS.zscore.weekly-6819de4d.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-4a64e6fa.js → WEIGHT_GIRLS.zscore.yearly-ff07da9d.js} +0 -0
- /package/build/esm/{constants-bb7e4df3.js → constants-0f67755b.js} +0 -0
- /package/build/esm/{cookieHelper-bb639635.js → cookieHelper-f207d4d4.js} +0 -0
- /package/build/esm/{dataTransform-b6476cb8.js → dataTransform-e317a055.js} +0 -0
- /package/build/esm/{index-d8eac6d8.js → index-5241ad7e.js} +0 -0
- /package/build/esm/{isProduction-cc02dbe1.js → isProduction-d1277896.js} +0 -0
- /package/build/esm/{localizeNumberFormat-0cc4b319.js → localizeNumberFormat-ca035a83.js} +0 -0
- /package/build/esm/{number-e4e40587.js → number-8eccff99.js} +0 -0
- /package/build/esm/{screenSizeContext-5c82841a.js → screenSizeContext-41ddf2d8.js} +0 -0
- /package/build/esm/{theme-de986140.js → theme-de7144fa.js} +0 -0
- /package/build/esm/{translationsContext-6ad83b5e.js → translationsContext-ecfcfef5.js} +0 -0
- /package/build/esm/{tslib.es6-5c131ae0.js → tslib.es6-d7ea3995.js} +0 -0
- /package/build/esm/{types-704a9e2a.js → types-e5a752c4.js} +0 -0
- /package/build/esm/{useIsInit-23476738.js → useIsInit-e69680cc.js} +0 -0
- /package/build/esm/{useOutsideClick-a507db78.js → useOutsideClick-0953f9a5.js} +0 -0
- /package/build/esm/{useScrollbarSize-240c7e05.js → useScrollbarSize-d202bf4e.js} +0 -0
- /package/build/esm/{useUniqueId-fa69a40e.js → useUniqueId-d57b41d6.js} +0 -0
- /package/build/{index-ab9d297e.js → index-4ed3a08f.js} +0 -0
- /package/build/{isProduction-911a33de.js → isProduction-847c662c.js} +0 -0
- /package/build/{localizeNumberFormat-0b70619f.js → localizeNumberFormat-33f385c8.js} +0 -0
- /package/build/{number-c0d99f18.js → number-fe2cebb7.js} +0 -0
- /package/build/{screenSizeContext-dca63fab.js → screenSizeContext-dc4a704c.js} +0 -0
- /package/build/{theme-c5ccafe7.js → theme-6dc2706a.js} +0 -0
- /package/build/{translationsContext-125f6a93.js → translationsContext-06042b8f.js} +0 -0
- /package/build/{tslib.es6-b485694c.js → tslib.es6-aff53c48.js} +0 -0
- /package/build/{types-e6692e7f.js → types-b6efde8f.js} +0 -0
- /package/build/{useIsInit-3a88f63a.js → useIsInit-c6da49b9.js} +0 -0
- /package/build/{useOutsideClick-e8092367.js → useOutsideClick-725582fb.js} +0 -0
- /package/build/{useScrollbarSize-ff1dd2fd.js → useScrollbarSize-8e27d707.js} +0 -0
- /package/build/{useUniqueId-8ea6c9e7.js → useUniqueId-8a0a6118.js} +0 -0
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { DefaultProps, Selectors } from '@mantine/core';
|
|
3
|
+
import { ButtonProps } from "../../../mantine";
|
|
4
|
+
import useStyles from './index.styles';
|
|
5
|
+
import { Props as BannerLayoutProps } from '../bannerLayout';
|
|
6
|
+
import { OptionBannerStyleType, OptionBannerType } from '../types';
|
|
7
|
+
export interface Props extends DefaultProps<Selectors<typeof useStyles> & BannerLayoutProps> {
|
|
8
|
+
heading: string;
|
|
9
|
+
description: string;
|
|
10
|
+
items?: Array<OptionBannerType>;
|
|
11
|
+
submitHandler?: any;
|
|
12
|
+
styleType?: OptionBannerStyleType;
|
|
13
|
+
buttonProps?: ButtonProps;
|
|
14
|
+
value?: string;
|
|
15
|
+
}
|
|
16
|
+
declare const BannerWithOptions: (props: Props) => React.JSX.Element;
|
|
17
|
+
export { BannerWithOptions };
|
package/build/esm/components/molecules/premiumNewsletterBanner/bannerWithOption/index.styles.d.ts
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
declare const _default: (params: void, options?: import("@mantine/core").UseStylesOptions<string>) => {
|
|
2
|
+
classes: {
|
|
3
|
+
root: string;
|
|
4
|
+
wrapper: string;
|
|
5
|
+
button: string;
|
|
6
|
+
};
|
|
7
|
+
cx: (...args: any) => string;
|
|
8
|
+
theme: import("@mantine/core").MantineTheme;
|
|
9
|
+
};
|
|
10
|
+
export default _default;
|
|
@@ -0,0 +1,167 @@
|
|
|
1
|
+
import { MantineTheme } from '@mantine/core';
|
|
2
|
+
import { UseTranslationsReturn } from "../../../hooks";
|
|
3
|
+
import { RISK_SCREENER_NAME } from "../../../interfaces/constants";
|
|
4
|
+
import { LocaleType } from "../../../interfaces/types";
|
|
5
|
+
import { BannerAction, OptionBannerStyleType } from './types';
|
|
6
|
+
export declare const FLOW: (t: UseTranslationsReturn<LocaleType>['t']) => {
|
|
7
|
+
pregnant: {
|
|
8
|
+
action: BannerAction;
|
|
9
|
+
props: {
|
|
10
|
+
heading: string;
|
|
11
|
+
description: string;
|
|
12
|
+
styleType: OptionBannerStyleType;
|
|
13
|
+
thumbnail: {
|
|
14
|
+
desktop: string;
|
|
15
|
+
mobile: string;
|
|
16
|
+
};
|
|
17
|
+
buttonProps: {
|
|
18
|
+
variant: string;
|
|
19
|
+
styles: (theme: MantineTheme) => {
|
|
20
|
+
[x: string]: string | {
|
|
21
|
+
minWidth: string;
|
|
22
|
+
};
|
|
23
|
+
minWidth: string;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
items: {
|
|
27
|
+
label: string;
|
|
28
|
+
value: string;
|
|
29
|
+
}[];
|
|
30
|
+
};
|
|
31
|
+
submitHandler: {
|
|
32
|
+
yes: {
|
|
33
|
+
action: BannerAction;
|
|
34
|
+
props: {
|
|
35
|
+
value: import("../../../interfaces/healthTools").HEALTH_TOOL_NAME;
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
no: {
|
|
39
|
+
action: BannerAction;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
parenting: {
|
|
44
|
+
action: BannerAction;
|
|
45
|
+
props: {
|
|
46
|
+
heading: string;
|
|
47
|
+
description: string;
|
|
48
|
+
thumbnail: {
|
|
49
|
+
desktop: string;
|
|
50
|
+
mobile: string;
|
|
51
|
+
};
|
|
52
|
+
hideDescOnMobile: boolean;
|
|
53
|
+
styleType: OptionBannerStyleType;
|
|
54
|
+
items: {
|
|
55
|
+
label: string;
|
|
56
|
+
value: string;
|
|
57
|
+
}[];
|
|
58
|
+
};
|
|
59
|
+
submitHandler: {
|
|
60
|
+
todders: {
|
|
61
|
+
action: BannerAction;
|
|
62
|
+
props: {
|
|
63
|
+
value: import("../../../interfaces/healthTools").HEALTH_TOOL_NAME;
|
|
64
|
+
};
|
|
65
|
+
};
|
|
66
|
+
teenager: {
|
|
67
|
+
action: BannerAction;
|
|
68
|
+
props: {
|
|
69
|
+
styleType: OptionBannerStyleType;
|
|
70
|
+
heading: string;
|
|
71
|
+
thumbnail: {
|
|
72
|
+
desktop: string;
|
|
73
|
+
mobile: string;
|
|
74
|
+
};
|
|
75
|
+
buttonProps: {
|
|
76
|
+
variant: string;
|
|
77
|
+
};
|
|
78
|
+
items: {
|
|
79
|
+
label: string;
|
|
80
|
+
value: string;
|
|
81
|
+
}[];
|
|
82
|
+
};
|
|
83
|
+
};
|
|
84
|
+
'teenager.boy': {
|
|
85
|
+
action: BannerAction;
|
|
86
|
+
};
|
|
87
|
+
'teenager.girl': {
|
|
88
|
+
action: BannerAction;
|
|
89
|
+
activeTool: RISK_SCREENER_NAME;
|
|
90
|
+
props: {
|
|
91
|
+
value: RISK_SCREENER_NAME;
|
|
92
|
+
};
|
|
93
|
+
};
|
|
94
|
+
'todders|teenager': {
|
|
95
|
+
action: BannerAction;
|
|
96
|
+
props: {
|
|
97
|
+
styleType: OptionBannerStyleType;
|
|
98
|
+
heading: string;
|
|
99
|
+
description: string;
|
|
100
|
+
thumbnail: {
|
|
101
|
+
desktop: string;
|
|
102
|
+
mobile: string;
|
|
103
|
+
};
|
|
104
|
+
hideDescOnMobile: boolean;
|
|
105
|
+
buttonProps: {
|
|
106
|
+
variant: string;
|
|
107
|
+
};
|
|
108
|
+
styles: (theme: MantineTheme) => {
|
|
109
|
+
wrapper: {
|
|
110
|
+
[x: string]: {
|
|
111
|
+
flexDirection: string;
|
|
112
|
+
};
|
|
113
|
+
};
|
|
114
|
+
};
|
|
115
|
+
items: ({
|
|
116
|
+
label: string;
|
|
117
|
+
activeTool: import("../../../interfaces/healthTools").HEALTH_TOOL_NAME;
|
|
118
|
+
isLink: boolean;
|
|
119
|
+
value?: undefined;
|
|
120
|
+
} | {
|
|
121
|
+
label: string;
|
|
122
|
+
value: string;
|
|
123
|
+
activeTool?: undefined;
|
|
124
|
+
isLink?: undefined;
|
|
125
|
+
})[];
|
|
126
|
+
};
|
|
127
|
+
};
|
|
128
|
+
'todders|teenager.showPN': {
|
|
129
|
+
action: BannerAction;
|
|
130
|
+
};
|
|
131
|
+
};
|
|
132
|
+
};
|
|
133
|
+
};
|
|
134
|
+
export declare const TOOL_BANNERS_PROPS: (t: UseTranslationsReturn<LocaleType>['t']) => {
|
|
135
|
+
[x: string]: {
|
|
136
|
+
heading: string;
|
|
137
|
+
description: string;
|
|
138
|
+
btnLabel: string;
|
|
139
|
+
value: import("../../../interfaces/healthTools").HEALTH_TOOL_NAME;
|
|
140
|
+
thumbnail?: undefined;
|
|
141
|
+
isRiskScreener?: undefined;
|
|
142
|
+
hideDescOnMobile?: undefined;
|
|
143
|
+
} | {
|
|
144
|
+
heading: string;
|
|
145
|
+
description: string;
|
|
146
|
+
thumbnail: {
|
|
147
|
+
desktop: string;
|
|
148
|
+
mobile: string;
|
|
149
|
+
};
|
|
150
|
+
isRiskScreener: boolean;
|
|
151
|
+
btnLabel: string;
|
|
152
|
+
value: RISK_SCREENER_NAME;
|
|
153
|
+
hideDescOnMobile: boolean;
|
|
154
|
+
};
|
|
155
|
+
hpv: {
|
|
156
|
+
heading: string;
|
|
157
|
+
description: string;
|
|
158
|
+
thumbnail: {
|
|
159
|
+
desktop: string;
|
|
160
|
+
mobile: string;
|
|
161
|
+
};
|
|
162
|
+
isRiskScreener: boolean;
|
|
163
|
+
btnLabel: string;
|
|
164
|
+
value: RISK_SCREENER_NAME;
|
|
165
|
+
hideDescOnMobile: boolean;
|
|
166
|
+
};
|
|
167
|
+
};
|
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
import { Dispatch, SetStateAction } from 'react';
|
|
2
|
+
import { BannerAction, BannerStateData, SubcribeHealthStatusType } from './types';
|
|
2
3
|
import { AcquisitionInfo } from '../premiumNewsletterModal/context';
|
|
3
|
-
export type BannerState =
|
|
4
|
+
export type BannerState = BannerAction.ShowTool | BannerAction.ShowOptionBanner | null;
|
|
4
5
|
export type PremiumNewsletterBannerContextType = {
|
|
5
6
|
type: string;
|
|
7
|
+
settings?: any;
|
|
8
|
+
submitHandler?: any;
|
|
6
9
|
acquisitionInfo: AcquisitionInfo;
|
|
7
10
|
categoryIds?: Array<string | number>;
|
|
8
11
|
isMobile?: boolean;
|
|
@@ -11,13 +14,14 @@ export type PremiumNewsletterBannerContextType = {
|
|
|
11
14
|
isABTestingType?: boolean;
|
|
12
15
|
isPremiumBanner?: boolean;
|
|
13
16
|
currentUrl?: string;
|
|
14
|
-
subcribeHealthStatus?:
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
onChange?: (state
|
|
17
|
+
subcribeHealthStatus?: SubcribeHealthStatusType;
|
|
18
|
+
articleId?: number;
|
|
19
|
+
state?: BannerStateData;
|
|
20
|
+
setState?: Dispatch<SetStateAction<BannerStateData>>;
|
|
21
|
+
source?: 'discover' | 'together';
|
|
22
|
+
showPNModal?: boolean;
|
|
23
|
+
setShowPNModal?: Dispatch<SetStateAction<boolean>>;
|
|
24
|
+
onChange?: (state: BannerStateData) => void;
|
|
25
|
+
handleClickOption?: (v: string) => void;
|
|
22
26
|
};
|
|
23
27
|
export declare const PremiumNewsletterBannerContext: import("react").Context<PremiumNewsletterBannerContextType>;
|
|
@@ -1,7 +1,14 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { ContainerProps } from '@mantine/core';
|
|
3
3
|
import { PremiumNewsletterBannerContextType } from './context';
|
|
4
|
+
import { BannerCategory } from './types';
|
|
4
5
|
export type Props = {
|
|
5
6
|
setShouldAcquisitionModalOpen?: () => void;
|
|
6
7
|
} & Omit<PremiumNewsletterBannerContextType, 'acquisitionInfo' | 'isLoggedIn'> & ContainerProps;
|
|
7
|
-
export declare const
|
|
8
|
+
export declare const MAPPING_CATEGORY_PREMIUM_TYPE: {
|
|
9
|
+
[key in string]: BannerCategory;
|
|
10
|
+
};
|
|
11
|
+
export declare const MAPPING_CATEGORY_PREMIUM_API_TYPE: {
|
|
12
|
+
[key in BannerCategory]: string;
|
|
13
|
+
};
|
|
14
|
+
export declare const PremiumNewsletterBanner: ({ type: typeProp, articleId, categoryIds, isMarketing, isABTestingType, isPremiumBanner, currentUrl, isMobile, subcribeHealthStatus, setShouldAcquisitionModalOpen, onChange, source, state: stateProp, ...rest }: Props) => React.JSX.Element;
|
|
@@ -1,10 +1,14 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
2
|
+
import { HEALTH_TOOL_NAME } from "../../../interfaces/healthTools";
|
|
3
|
+
import { ThumbnailType } from './types';
|
|
4
|
+
export type Props = {
|
|
5
|
+
value: HEALTH_TOOL_NAME;
|
|
6
|
+
isRiskScreener?: boolean;
|
|
7
|
+
heading?: string;
|
|
8
|
+
description?: string;
|
|
9
|
+
thumbnail?: string | ThumbnailType;
|
|
10
|
+
btnLabel?: string;
|
|
11
|
+
hideDescOnMobile?: boolean;
|
|
8
12
|
};
|
|
9
|
-
declare const ToolBanner: (
|
|
13
|
+
declare const ToolBanner: (props: Props) => React.JSX.Element;
|
|
10
14
|
export { ToolBanner };
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { RISK_SCREENER_NAME } from "../../../interfaces/constants";
|
|
2
|
+
import { HEALTH_TOOL_NAME } from "../../../interfaces/healthTools";
|
|
3
|
+
import { Props as BannerWithOptionsProps } from './bannerWithOption';
|
|
4
|
+
import { Props as ToolBannerProps } from './toolBanner';
|
|
5
|
+
export declare enum BannerCategory {
|
|
6
|
+
Pregnant = "pregnant",
|
|
7
|
+
Parenting = "parenting"
|
|
8
|
+
}
|
|
9
|
+
export declare enum BannerType {
|
|
10
|
+
Option = "option"
|
|
11
|
+
}
|
|
12
|
+
export declare enum OptionBannerStyleType {
|
|
13
|
+
Button = "button",
|
|
14
|
+
Checkbox = "checkbox"
|
|
15
|
+
}
|
|
16
|
+
export type BannerStateData = {
|
|
17
|
+
action?: BannerAction;
|
|
18
|
+
props?: ToolBannerProps | BannerWithOptionsProps;
|
|
19
|
+
};
|
|
20
|
+
export declare enum BannerAction {
|
|
21
|
+
ShowTool = "showTool",
|
|
22
|
+
ShowPremiumModal = "showPremiumModal",
|
|
23
|
+
ShowOptionBanner = "showOptionBanner",
|
|
24
|
+
Hide = "hide"
|
|
25
|
+
}
|
|
26
|
+
export type OptionBannerType = {
|
|
27
|
+
label: string;
|
|
28
|
+
action: BannerAction;
|
|
29
|
+
value: string;
|
|
30
|
+
activeTool?: HEALTH_TOOL_NAME | RISK_SCREENER_NAME;
|
|
31
|
+
isLink?: boolean;
|
|
32
|
+
isRiskScreener: boolean;
|
|
33
|
+
props?: ToolBannerProps | BannerWithOptionsProps;
|
|
34
|
+
};
|
|
35
|
+
export type ThumbnailType = {
|
|
36
|
+
desktop: string;
|
|
37
|
+
mobile: string;
|
|
38
|
+
};
|
|
39
|
+
export type SubcribeHealthStatusType = {
|
|
40
|
+
value: string;
|
|
41
|
+
article: number;
|
|
42
|
+
source: 'discover' | 'together';
|
|
43
|
+
} | null;
|
|
@@ -18,10 +18,10 @@ export type { DynamicInputOrderProps } from './dynamicForm';
|
|
|
18
18
|
export declare const Onboarding: {
|
|
19
19
|
Provider: ({ children, siteType, setSharedData: _setSharedData, }: import("./provider").Props) => import("react").JSX.Element;
|
|
20
20
|
Modal: ({ children, withSimilac, banner, withPortal, ...rest }: import("./modal").OnboardingModalProps) => import("react").JSX.Element;
|
|
21
|
-
Form: ({ onClose, onSubmit: _onSubmit, canSkip, customFormTexts, isActive, submitProps, submitLabel, skipProps, }: import("./onboardingForm").OnboardingFormProps) => import("react").JSX.Element;
|
|
21
|
+
Form: ({ onClose, onSubmit: _onSubmit, canSkip, customFormTexts, isActive, submitProps, submitLabel, skipProps, isWhatsApp, }: import("./onboardingForm").OnboardingFormProps) => import("react").JSX.Element;
|
|
22
22
|
OtpForm: {
|
|
23
23
|
Email: ({ onSubmit: _onSubmit, email: emailProp, onResendCode, otpError, onClose, loading, canSkip: canSkipInit, }: import("./otpForm/email").EmailOtpFormProps) => import("react").JSX.Element;
|
|
24
|
-
Phone: ({ onSubmit: _onSubmit, phone: phoneProp, onResendCode, otpError, onClose, loading, canSkip: canSkipInit, }: import("./otpForm/phone").PhoneOtpFormProps) => import("react").JSX.Element;
|
|
24
|
+
Phone: ({ onSubmit: _onSubmit, phone: phoneProp, onResendCode, otpError, onClose, loading, canSkip: canSkipInit, isWhatsApp, }: import("./otpForm/phone").PhoneOtpFormProps) => import("react").JSX.Element;
|
|
25
25
|
};
|
|
26
26
|
PersonalInfoForm: ({ onClose, onSubmit, canSkip, loading, errorMessage, initialData, }: import("./personalInfoForm").PersonalInfoFormProps) => import("react").JSX.Element;
|
|
27
27
|
ResultScreen: ({ onClose, ...rest }: import("./resultScreen").Props) => import("react").JSX.Element;
|
|
@@ -14,5 +14,6 @@ export type OnboardingFormProps = {
|
|
|
14
14
|
submitLabel?: string;
|
|
15
15
|
submitProps?: ButtonProps;
|
|
16
16
|
skipProps?: ButtonProps;
|
|
17
|
+
isWhatsApp?: boolean;
|
|
17
18
|
} & Partial<OnboardingItemShareProps>;
|
|
18
|
-
export declare const DefaultOnboardingForm: ({ onClose, onSubmit: _onSubmit, canSkip, customFormTexts, isActive, submitProps, submitLabel, skipProps, }: OnboardingFormProps) => React.JSX.Element;
|
|
19
|
+
export declare const DefaultOnboardingForm: ({ onClose, onSubmit: _onSubmit, canSkip, customFormTexts, isActive, submitProps, submitLabel, skipProps, isWhatsApp, }: OnboardingFormProps) => React.JSX.Element;
|
|
@@ -7,5 +7,6 @@ export type PhoneOtpFormProps = {
|
|
|
7
7
|
onClose(): void;
|
|
8
8
|
loading?: boolean;
|
|
9
9
|
canSkip?: boolean;
|
|
10
|
+
isWhatsApp?: boolean;
|
|
10
11
|
};
|
|
11
|
-
export declare const PhoneOtpForm: ({ onSubmit: _onSubmit, phone: phoneProp, onResendCode, otpError, onClose, loading, canSkip: canSkipInit, }: PhoneOtpFormProps) => React.JSX.Element;
|
|
12
|
+
export declare const PhoneOtpForm: ({ onSubmit: _onSubmit, phone: phoneProp, onResendCode, otpError, onClose, loading, canSkip: canSkipInit, isWhatsApp, }: PhoneOtpFormProps) => React.JSX.Element;
|
package/build/esm/components.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{A as Alert,d as ArticleCard,e as ArticleCardV2,q as BMICardEmbed,u as BMRCardEmbed,r as BabyGrowthCardEmbed,s as BabyPoopEmbed,B as Badge,a as BorderHeading,x as Breadcrumbs,f as CategoryCard,C as Checkbox,g as CheckboxGroup,o as CookieAcceptConfirm,w as DateRangePicker,D as DueDateCardEmbed,F as FileDropdown,E as FixedBottomAdBlock,n as FloatButtonGroup,c as GenderOptionControl,G as Grid,I as IconText,O as OvulationCardEmbed,v as PWGCardEmbed,P as Pagination,
|
|
1
|
+
export{A as Alert,d as ArticleCard,e as ArticleCardV2,q as BMICardEmbed,u as BMRCardEmbed,r as BabyGrowthCardEmbed,s as BabyPoopEmbed,B as Badge,a as BorderHeading,x as Breadcrumbs,f as CategoryCard,C as Checkbox,g as CheckboxGroup,o as CookieAcceptConfirm,w as DateRangePicker,D as DueDateCardEmbed,F as FileDropdown,E as FixedBottomAdBlock,n as FloatButtonGroup,c as GenderOptionControl,G as Grid,I as IconText,O as OvulationCardEmbed,v as PWGCardEmbed,P as Pagination,h as ProgressBar,R as RateStars,S as ScrollList,p as SeoHead,y as ShareContainer,z as ShareDrawer,i as SideMenu,j as StatisticCard,m as SurveyThankyouCard,t as THRCardEmbed,k as Table,l as Tabs,T as Tag,b as Toggle}from"./fixedBottomAdBlock-bf030cc6.js";export{A as Avatar,L as LanguageSwitcher,d as NavigationLogoutPopup,e as NavigationProfileButton,N as NavigationV2,P as ProfilePopup,U as UserProfileNavigation,b as UserProfileNavigationHeader,c as UserProfileNavigationStats,g as getNavMenuContent,a as getNavMenuContentWithCache}from"./index-d0c85d18.js";export{B as Button}from"./index-1fcd21d6.js";export{B as BtnChoice,D as Divider}from"./index-079b076a.js";export{F as Flag,H as Heading,L as LogoIcon,P as PureInput,S as StepRenderer,b as StepRendererContext,T as TextArea,a as TextDivider}from"./index.styles-054791eb.js";export{I as Input}from"./index-3205cae2.js";export{C as Container,I as Icon,L as Label}from"./index-8bf9f4b7.js";export{L as Logo}from"./index-9dc72ef6.js";export{e as AdBlock,A as AuthorBadge,B as BookingBtn,D as DatePicker,c as DoctorInfo,a as Dropdown,g as MAPPING_CATEGORY_PREMIUM_API_TYPE,f as MAPPING_CATEGORY_PREMIUM_TYPE,M as MobileBottomNavigation,d as MobileBottomNavigationIcon,P as PremiumNewsletterBanner,R as Radio,b as RadioGroup,S as SurveyQuestionCard,T as ToolsBannerCard}from"./index-4fb56101.js";export{T as Text}from"./index-e34aff32.js";export{D as Drawer,R as RadioImageGroup}from"./index-a1ad59eb.js";export{C as CustomReferenceDot,I as ImageWrap}from"./index-88d1f21a.js";export{P as Popup}from"./index.styled-455cec24.js";export{M as Modal}from"./index-b0fb8848.js";export{P as PillCarousel}from"./index-afc34144.js";export{A as AddressInput}from"./index-06d78c13.js";export{Footer}from"./footer.js";import"react";import"./screenSizeContext-41ddf2d8.js";import"styled-components";import"lodash/throttle";import"./useUniqueId-d57b41d6.js";import"./gAssets.js";import"./index-40286727.js";import"date-fns/locale";import"./Onboarding-485d3188.js";import"./isProduction-d1277896.js";import"./theme-de7144fa.js";import"./tslib.es6-d7ea3995.js";import"@mantine/core";import"innertext";import"@mantine/dates";import"dayjs";import"./translationsContext-ecfcfef5.js";import"string-format";import"@mantine/hooks";import"./useTranslations-3e087ef1.js";import"date-fns";import"lodash/debounce";import"./useCategory-93c085f5.js";import"./types-e5a752c4.js";import"./index-c08468c8.js";import"./index-7313938c.js";import"react-hook-form";import"./useHealthToolCache-4d6f85a4.js";import"./getDynamicHealthTool-4a9008e6.js";import"./core-4fa1377d.js";import"./normalizeLink-b09aeaef.js";import"./useOutsideClick-0953f9a5.js";import"date-fns/locale/en-US";import"date-fns/locale/id";import"date-fns/locale/vi";import"date-fns/locale/zh-TW";import"./getSocialList-10b0890f.js";import"uuid";import"./cookieHelper-f207d4d4.js";import"./constants-0f67755b.js";import"./index-bc29ba16.js";import"./useIsInit-e69680cc.js";import"react-keyed-flatten-children";import"@mantine/carousel";import"slugify";import"./number-8eccff99.js";import"react-day-picker/DayPickerInput";import"react-dom";import"@hookform/resolvers/yup";import"./index.styled-68620508.js";import"./utils-5d3141da.js";import"dayjs/plugin/relativeTime";import"./paths-f06f4b77.js";import"./index-f41ca02d.js";import"react-contenteditable";import"@mantine/form";import"js-cookie";import"lodash/flatten";import"lodash/uniqBy";import"./useScrollbarSize-d202bf4e.js";
|
package/build/esm/constants.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import"date-fns/locale";import"./Onboarding-
|
|
1
|
+
import"date-fns/locale";import"./Onboarding-485d3188.js";export{B as BEARER_TOKEN_COOKIE,b as CARE_BOOKING_LOCALES,C as CARE_LOCALES,c as CDN_ADDRESS,D as DATE_FNS_LOCALE,E as ECOM_LOCALES,F as FAVICONS,G as GA_TOKEN_COOKIE,I as ISO_FORMAT,L as LOCALE_SPECS,Q as QUERY_HEALTH_TOOL,R as RISK_SCREENER_NAME,a as RISK_SCREENER_SLUG,S as STATIC_PAGES,T as TOGETHER_LOCALES,U as UP_BASEPATH,e as USER_GEOLOCATION_COORDINATES_COOKIE,d as domainLocales,f as siteHost,s as siteOptions}from"./index-40286727.js";export{i as isProduction}from"./isProduction-d1277896.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as t}from"./tslib.es6-
|
|
1
|
+
import{a as t}from"./tslib.es6-d7ea3995.js";import{i as e}from"./isProduction-d1277896.js";const a={},i=t=>{if("undefined"!=typeof window){let a;try{a=JSON.parse(localStorage.getItem((e?"":"staging_")+"hhg-cache-"+t)||"{}")}catch(t){}return a||{}}return a[t]},o=(t,i)=>{try{"undefined"!=typeof window?localStorage.setItem((e?"":"staging_")+"hhg-cache-"+t,JSON.stringify({data:i,time:Date.now()})):a[t]={data:i,time:Date.now()}}catch(t){}},n=(e,a,n,r=9e5)=>t(void 0,void 0,void 0,(function*(){const t=i(e);if(t&&t.data&&t.time&&Date.now()-t.time<r)return t.data;if(a){const t=yield a();return n&&!n(t)||o(e,t),t}return null}));export{i as a,n as g,o as s};
|