@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.
Files changed (338) hide show
  1. package/build/babyGrowth.js +2 -2
  2. package/build/cache.js +1 -1
  3. package/build/care.js +1 -1
  4. package/build/components/atoms/icons/ArrowRightTail.d.ts +4 -0
  5. package/build/components/atoms/icons/index.d.ts +1 -0
  6. package/build/components/molecules/index.d.ts +2 -1
  7. package/build/components/molecules/premiumNewsletterBanner/bannerLayout.d.ts +11 -0
  8. package/build/components/molecules/premiumNewsletterBanner/bannerWithOption/index.d.ts +17 -0
  9. package/build/components/molecules/premiumNewsletterBanner/bannerWithOption/index.styles.d.ts +10 -0
  10. package/build/components/molecules/premiumNewsletterBanner/constants.d.ts +167 -0
  11. package/build/components/molecules/premiumNewsletterBanner/context.d.ts +13 -9
  12. package/build/components/molecules/premiumNewsletterBanner/handlerBanner.d.ts +3 -0
  13. package/build/components/molecules/premiumNewsletterBanner/index.d.ts +8 -1
  14. package/build/components/molecules/premiumNewsletterBanner/toolBanner.d.ts +11 -7
  15. package/build/components/molecules/premiumNewsletterBanner/types.d.ts +43 -0
  16. package/build/components/onboardingV2/index.d.ts +2 -2
  17. package/build/components/onboardingV2/onboardingForm/index.d.ts +2 -1
  18. package/build/components/onboardingV2/otpForm/phone.d.ts +2 -1
  19. package/build/components/ui/onboarding/index.d.ts +1 -1
  20. package/build/components.js +1 -1
  21. package/build/constants.js +1 -1
  22. package/build/{core-6777448c.js → core-c7a75018.js} +1 -1
  23. package/build/ecom.js +1 -1
  24. package/build/esm/babyGrowth.js +5 -5
  25. package/build/esm/cache.js +1 -1
  26. package/build/esm/care.js +1 -1
  27. package/build/esm/components/atoms/icons/ArrowRightTail.d.ts +4 -0
  28. package/build/esm/components/atoms/icons/index.d.ts +1 -0
  29. package/build/esm/components/molecules/index.d.ts +2 -1
  30. package/build/esm/components/molecules/premiumNewsletterBanner/bannerLayout.d.ts +11 -0
  31. package/build/esm/components/molecules/premiumNewsletterBanner/bannerWithOption/index.d.ts +17 -0
  32. package/build/esm/components/molecules/premiumNewsletterBanner/bannerWithOption/index.styles.d.ts +10 -0
  33. package/build/esm/components/molecules/premiumNewsletterBanner/constants.d.ts +167 -0
  34. package/build/esm/components/molecules/premiumNewsletterBanner/context.d.ts +13 -9
  35. package/build/esm/components/molecules/premiumNewsletterBanner/handlerBanner.d.ts +3 -0
  36. package/build/esm/components/molecules/premiumNewsletterBanner/index.d.ts +8 -1
  37. package/build/esm/components/molecules/premiumNewsletterBanner/toolBanner.d.ts +11 -7
  38. package/build/esm/components/molecules/premiumNewsletterBanner/types.d.ts +43 -0
  39. package/build/esm/components/onboardingV2/index.d.ts +2 -2
  40. package/build/esm/components/onboardingV2/onboardingForm/index.d.ts +2 -1
  41. package/build/esm/components/onboardingV2/otpForm/phone.d.ts +2 -1
  42. package/build/esm/components/ui/onboarding/index.d.ts +1 -1
  43. package/build/esm/components.js +1 -1
  44. package/build/esm/constants.js +1 -1
  45. package/build/esm/{core-7199dd40.js → core-4fa1377d.js} +1 -1
  46. package/build/esm/ecom.js +1 -1
  47. package/build/esm/fixedBottomAdBlock-bf030cc6.js +1 -0
  48. package/build/esm/footer.js +1 -1
  49. package/build/esm/gAssets.js +1 -1
  50. package/build/esm/getDynamicHealthTool-4a9008e6.js +1 -0
  51. package/build/esm/{getSocialList-8def722a.js → getSocialList-10b0890f.js} +1 -1
  52. package/build/esm/hooks.js +1 -1
  53. package/build/esm/i18n/translationKeys.d.ts +1 -1
  54. package/build/esm/i18n-values/en-PH.js +1 -1
  55. package/build/esm/i18n-values/hi-IN.js +1 -1
  56. package/build/esm/i18n-values/id-ID.js +1 -1
  57. package/build/esm/i18n-values/km-KH.js +1 -1
  58. package/build/esm/i18n-values/ms-MY.js +1 -1
  59. package/build/esm/i18n-values/my-MM.js +1 -1
  60. package/build/esm/i18n-values/th-TH.js +1 -1
  61. package/build/esm/i18n-values/tl-PH.js +1 -1
  62. package/build/esm/i18n-values/vi-VN.js +1 -1
  63. package/build/esm/i18n-values/vi-VN_MB.js +1 -1
  64. package/build/esm/i18n-values/zh-TW.js +1 -1
  65. package/build/esm/i18n.js +1 -1
  66. package/build/esm/i18nV2.js +1 -1
  67. package/build/esm/index-06d78c13.js +1 -0
  68. package/build/esm/{index-5ff2d3ca.js → index-079b076a.js} +1 -1
  69. package/build/esm/{index-d50c2330.js → index-1fcd21d6.js} +1 -1
  70. package/build/esm/{index-cf323724.js → index-207bfc46.js} +1 -1
  71. package/build/esm/{index-c0b4791d.js → index-3205cae2.js} +1 -1
  72. package/build/esm/index-40286727.js +1 -0
  73. package/build/esm/{index-8a43a259.js → index-487b5955.js} +1 -1
  74. package/build/esm/index-4fb56101.js +6897 -0
  75. package/build/esm/{index-4aa9bd18.js → index-7313938c.js} +1 -1
  76. package/build/esm/{index-28f63afa.js → index-88d1f21a.js} +1 -1
  77. package/build/esm/index-8bf9f4b7.js +113 -0
  78. package/build/esm/index-9dc72ef6.js +1 -0
  79. package/build/esm/{index-450899bd.js → index-a1ad59eb.js} +6 -6
  80. package/build/esm/{index-10eafdee.js → index-afc34144.js} +1 -1
  81. package/build/esm/{index-23e57e34.js → index-b0fb8848.js} +1 -1
  82. package/build/esm/index-bc29ba16.js +1 -0
  83. package/build/esm/{index-b91f88a9.js → index-c08468c8.js} +1 -1
  84. package/build/esm/index-d0c85d18.js +1 -0
  85. package/build/esm/{index-7fe906e6.js → index-dc038260.js} +1 -1
  86. package/build/esm/{index-44f86fa4.js → index-e34aff32.js} +1 -1
  87. package/build/esm/{index-46ca4767.js → index-f41ca02d.js} +1 -1
  88. package/build/esm/index.js +1 -1
  89. package/build/esm/{index.styled-3fd8255b.js → index.styled-455cec24.js} +1 -1
  90. package/build/esm/{index.styled-e2634b67.js → index.styled-68620508.js} +1 -1
  91. package/build/esm/{index.styled-5a7758ac.js → index.styled-8cac0670.js} +3 -3
  92. package/build/esm/{index.styles-8a242f95.js → index.styles-054791eb.js} +2 -2
  93. package/build/esm/interfaces/constants/index.d.ts +1 -0
  94. package/build/esm/interfaces/constants/riskScreener.d.ts +9 -0
  95. package/build/esm/lead.js +1 -1
  96. package/build/esm/mantine.js +1 -1
  97. package/build/esm/misc.js +1 -1
  98. package/build/esm/navigation.js +1 -1
  99. package/build/esm/{routing-01f1d0a2.js → normalizeLink-b09aeaef.js} +1 -1
  100. package/build/esm/onboarding.js +1 -1
  101. package/build/esm/onboardingV2.js +30 -30
  102. package/build/esm/{paths-72ad2c5a.js → paths-f06f4b77.js} +1 -1
  103. package/build/esm/pwg.js +3 -3
  104. package/build/esm/together.js +1 -1
  105. package/build/esm/{types-60538526.js → types-2168a8be.js} +18 -18
  106. package/build/esm/types-4341a1ad.js +1 -0
  107. package/build/esm/types.js +1 -1
  108. package/build/esm/{useCategory-7d8609bc.js → useCategory-93c085f5.js} +1 -1
  109. package/build/esm/useHealthToolCache-4d6f85a4.js +1 -0
  110. package/build/esm/{useRafState-957e3f4f.js → useRafState-82ac303c.js} +1 -1
  111. package/build/esm/{useTranslations-30aaa435.js → useTranslations-3e087ef1.js} +1 -1
  112. package/build/esm/{utils-de53cba3.js → utils-5d3141da.js} +1 -1
  113. package/build/esm/vaccination.js +5 -5
  114. package/build/fixedBottomAdBlock-868addc2.js +1 -0
  115. package/build/footer.js +1 -1
  116. package/build/gAssets.js +1 -1
  117. package/build/getDynamicHealthTool-f4f91c99.js +1 -0
  118. package/build/{getSocialList-a979b7f7.js → getSocialList-b6402502.js} +1 -1
  119. package/build/hooks.js +1 -1
  120. package/build/i18n/translationKeys.d.ts +1 -1
  121. package/build/i18n-values/en-PH.js +1 -1
  122. package/build/i18n-values/hi-IN.js +1 -1
  123. package/build/i18n-values/id-ID.js +1 -1
  124. package/build/i18n-values/km-KH.js +1 -1
  125. package/build/i18n-values/ms-MY.js +1 -1
  126. package/build/i18n-values/my-MM.js +1 -1
  127. package/build/i18n-values/th-TH.js +1 -1
  128. package/build/i18n-values/tl-PH.js +1 -1
  129. package/build/i18n-values/vi-VN.js +1 -1
  130. package/build/i18n-values/vi-VN_MB.js +1 -1
  131. package/build/i18n-values/zh-TW.js +1 -1
  132. package/build/i18n.js +1 -1
  133. package/build/i18nV2.js +1 -1
  134. package/build/{index-c133ec54.js → index-07e01103.js} +1 -1
  135. package/build/index-09f4655b.js +1 -0
  136. package/build/{index-37056abd.js → index-0e741262.js} +1 -1
  137. package/build/{index-d9ff9e9d.js → index-12645a3d.js} +1 -1
  138. package/build/{index-efe8b5e5.js → index-14681c4d.js} +1 -1
  139. package/build/{index-2fa72c33.js → index-20eabad1.js} +1 -1
  140. package/build/{index-e04e8fce.js → index-2ee389bd.js} +1 -1
  141. package/build/{index-beef7f31.js → index-488aa7af.js} +1 -1
  142. package/build/{index-9297b09d.js → index-53cc2e2c.js} +1 -1
  143. package/build/{index-a6bb5f04.js → index-578006ad.js} +1 -1
  144. package/build/index-7462232a.js +113 -0
  145. package/build/{index-4e5f40e8.js → index-753cbbd7.js} +1 -1
  146. package/build/{index-e4a7ec87.js → index-8fd2a2ec.js} +1 -1
  147. package/build/index-93ef21b1.js +1 -0
  148. package/build/{_topic-8311bc5c.js → index-a1283613.js} +419 -419
  149. package/build/index-a39b5b8a.js +1 -0
  150. package/build/{index-74437525.js → index-b9c7f584.js} +1 -1
  151. package/build/{index-4f70f571.js → index-e062aec1.js} +1 -1
  152. package/build/{index-a037afcb.js → index-e152635d.js} +1 -1
  153. package/build/{index-6aea0955.js → index-eba3089e.js} +1 -1
  154. package/build/{index-08f5063b.js → index-ef0a72ff.js} +1 -1
  155. package/build/index.js +1 -1
  156. package/build/{index.styled-796d2028.js → index.styled-03aeb5ef.js} +5 -5
  157. package/build/{index.styled-bbaf897e.js → index.styled-0604b625.js} +1 -1
  158. package/build/{index.styled-d5862b70.js → index.styled-06324a5c.js} +1 -1
  159. package/build/{index.styles-3a22482d.js → index.styles-f9cad0ed.js} +2 -2
  160. package/build/interfaces/constants/index.d.ts +1 -0
  161. package/build/interfaces/constants/riskScreener.d.ts +9 -0
  162. package/build/lead.js +1 -1
  163. package/build/mantine.js +1 -1
  164. package/build/misc.js +1 -1
  165. package/build/navigation.js +1 -1
  166. package/build/normalizeLink-daac000f.js +1 -0
  167. package/build/onboarding.js +1 -1
  168. package/build/onboardingV2.js +16 -16
  169. package/build/{paths-9cc0f16a.js → paths-8f4ffd24.js} +1 -1
  170. package/build/pwg.js +2 -2
  171. package/build/together.js +1 -1
  172. package/build/{types-9661d5dc.js → types-d450b397.js} +1 -1
  173. package/build/types-e0dcc9af.js +1 -0
  174. package/build/types.js +1 -1
  175. package/build/{useCategory-42261fa9.js → useCategory-e50d02d4.js} +1 -1
  176. package/build/useHealthToolCache-77cd8a15.js +1 -0
  177. package/build/{useRafState-42bef5db.js → useRafState-86f9a0f3.js} +1 -1
  178. package/build/{useTranslations-23124ee9.js → useTranslations-ec44216d.js} +1 -1
  179. package/build/utils-f426008b.js +1 -0
  180. package/build/vaccination.js +1 -1
  181. package/package.json +1 -1
  182. package/build/components/molecules/premiumNewsletterBanner/bannerWithOption.d.ts +0 -10
  183. package/build/esm/_topic-395d4a03.js +0 -6897
  184. package/build/esm/components/molecules/premiumNewsletterBanner/bannerWithOption.d.ts +0 -10
  185. package/build/esm/getDynamicHealthTool-ef95b800.js +0 -1
  186. package/build/esm/index-1a89e915.js +0 -1
  187. package/build/esm/index-5791bb5e.js +0 -113
  188. package/build/esm/index-78790272.js +0 -1
  189. package/build/esm/index-9a421306.js +0 -1
  190. package/build/esm/index-aaf1cab1.js +0 -1
  191. package/build/esm/index-bfa78c44.js +0 -1
  192. package/build/esm/index-df2f8e37.js +0 -1
  193. package/build/esm/normalizeLink-6cfea88f.js +0 -1
  194. package/build/esm/types-0e440a32.js +0 -1
  195. package/build/esm/useHealthToolCache-fe647031.js +0 -1
  196. package/build/getDynamicHealthTool-586c30e6.js +0 -1
  197. package/build/index-2bb0e0c9.js +0 -113
  198. package/build/index-36c9f0d1.js +0 -1
  199. package/build/index-66418518.js +0 -1
  200. package/build/index-9a32846d.js +0 -1
  201. package/build/index-d4ed5be5.js +0 -1
  202. package/build/normalizeLink-67428231.js +0 -1
  203. package/build/routing-e3573c96.js +0 -1
  204. package/build/types-98be8e9e.js +0 -1
  205. package/build/useHealthToolCache-5c729cfa.js +0 -1
  206. package/build/utils-e75d6abb.js +0 -1
  207. /package/build/{BMI_BOYS.percentile.monthly-9d1ba7da.js → BMI_BOYS.percentile.monthly-6474acf1.js} +0 -0
  208. /package/build/{BMI_BOYS.percentile.weekly-3f266cf3.js → BMI_BOYS.percentile.weekly-d1359d99.js} +0 -0
  209. /package/build/{BMI_BOYS.percentile.yearly-6b6c6244.js → BMI_BOYS.percentile.yearly-86df8b65.js} +0 -0
  210. /package/build/{BMI_BOYS.zscore.monthly-b9418db1.js → BMI_BOYS.zscore.monthly-753a10e8.js} +0 -0
  211. /package/build/{BMI_BOYS.zscore.weekly-61f71c62.js → BMI_BOYS.zscore.weekly-f052b3b6.js} +0 -0
  212. /package/build/{BMI_BOYS.zscore.yearly-8a960206.js → BMI_BOYS.zscore.yearly-b1fd06c9.js} +0 -0
  213. /package/build/{BMI_GIRLS.percentile.monthly-b0dc7872.js → BMI_GIRLS.percentile.monthly-9a5f26d6.js} +0 -0
  214. /package/build/{BMI_GIRLS.percentile.weekly-4b9ba4aa.js → BMI_GIRLS.percentile.weekly-31ad199d.js} +0 -0
  215. /package/build/{BMI_GIRLS.percentile.yearly-4b7e3683.js → BMI_GIRLS.percentile.yearly-79419770.js} +0 -0
  216. /package/build/{BMI_GIRLS.zscore.monthly-7f1d852c.js → BMI_GIRLS.zscore.monthly-d0d104d6.js} +0 -0
  217. /package/build/{BMI_GIRLS.zscore.weekly-a682d4ef.js → BMI_GIRLS.zscore.weekly-933c4ae5.js} +0 -0
  218. /package/build/{BMI_GIRLS.zscore.yearly-5de8191c.js → BMI_GIRLS.zscore.yearly-33455e67.js} +0 -0
  219. /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-4a66eebc.js → HEAD CIRCUM_BOYS.percentile.monthly-6eaa2256.js} +0 -0
  220. /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-f9c6cd92.js → HEAD CIRCUM_BOYS.percentile.weekly-899c1da1.js} +0 -0
  221. /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-783e5835.js → HEAD CIRCUM_BOYS.percentile.yearly-7daa91f5.js} +0 -0
  222. /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-a26e665d.js → HEAD CIRCUM_BOYS.zscore.monthly-d2d51c9c.js} +0 -0
  223. /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-f094b730.js → HEAD CIRCUM_BOYS.zscore.weekly-28335f4f.js} +0 -0
  224. /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-01341dde.js → HEAD CIRCUM_BOYS.zscore.yearly-5df395b7.js} +0 -0
  225. /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-6937f140.js → HEAD CIRCUM_GIRLS.percentile.monthly-7d4466f9.js} +0 -0
  226. /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-402f61b6.js → HEAD CIRCUM_GIRLS.percentile.weekly-3dd5083f.js} +0 -0
  227. /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-c18abd88.js → HEAD CIRCUM_GIRLS.percentile.yearly-0711f890.js} +0 -0
  228. /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-b7c2764f.js → HEAD CIRCUM_GIRLS.zscore.monthly-8ae1120d.js} +0 -0
  229. /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-9b88d3d8.js → HEAD CIRCUM_GIRLS.zscore.weekly-3f6446e8.js} +0 -0
  230. /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-b281bbc3.js → HEAD CIRCUM_GIRLS.zscore.yearly-187cd1e7.js} +0 -0
  231. /package/build/{HEIGHT_BOYS.percentile.monthly-ffd291ab.js → HEIGHT_BOYS.percentile.monthly-6a71dd8c.js} +0 -0
  232. /package/build/{HEIGHT_BOYS.percentile.weekly-c52febdc.js → HEIGHT_BOYS.percentile.weekly-ab26c647.js} +0 -0
  233. /package/build/{HEIGHT_BOYS.percentile.yearly-ba7ae630.js → HEIGHT_BOYS.percentile.yearly-b8d9f7ca.js} +0 -0
  234. /package/build/{HEIGHT_BOYS.zscore.monthly-e20208e7.js → HEIGHT_BOYS.zscore.monthly-2f50713f.js} +0 -0
  235. /package/build/{HEIGHT_BOYS.zscore.weekly-0f91e1b3.js → HEIGHT_BOYS.zscore.weekly-ab219f56.js} +0 -0
  236. /package/build/{HEIGHT_BOYS.zscore.yearly-8447f8b9.js → HEIGHT_BOYS.zscore.yearly-5c3fee13.js} +0 -0
  237. /package/build/{HEIGHT_GIRLS.percentile.monthly-816746e9.js → HEIGHT_GIRLS.percentile.monthly-b8e9cd11.js} +0 -0
  238. /package/build/{HEIGHT_GIRLS.percentile.weekly-b95c11be.js → HEIGHT_GIRLS.percentile.weekly-f5e06b9e.js} +0 -0
  239. /package/build/{HEIGHT_GIRLS.percentile.yearly-985166ef.js → HEIGHT_GIRLS.percentile.yearly-7cbff2d7.js} +0 -0
  240. /package/build/{HEIGHT_GIRLS.zscore.monthly-d3b5fa19.js → HEIGHT_GIRLS.zscore.monthly-7ccd7739.js} +0 -0
  241. /package/build/{HEIGHT_GIRLS.zscore.weekly-f468db5d.js → HEIGHT_GIRLS.zscore.weekly-09810d49.js} +0 -0
  242. /package/build/{HEIGHT_GIRLS.zscore.yearly-ea3908a9.js → HEIGHT_GIRLS.zscore.yearly-9324bb7e.js} +0 -0
  243. /package/build/{Onboarding-bd1701e2.js → Onboarding-09a0b8b8.js} +0 -0
  244. /package/build/{Visible-0336b939.js → Visible-f4da1058.js} +0 -0
  245. /package/build/{WEIGHT_BOYS.percentile.monthly-303e75e2.js → WEIGHT_BOYS.percentile.monthly-93492d7a.js} +0 -0
  246. /package/build/{WEIGHT_BOYS.percentile.weekly-4ee352cd.js → WEIGHT_BOYS.percentile.weekly-97297594.js} +0 -0
  247. /package/build/{WEIGHT_BOYS.percentile.yearly-51881010.js → WEIGHT_BOYS.percentile.yearly-6c493e93.js} +0 -0
  248. /package/build/{WEIGHT_BOYS.zscore.monthly-e4ec3492.js → WEIGHT_BOYS.zscore.monthly-db2d38e3.js} +0 -0
  249. /package/build/{WEIGHT_BOYS.zscore.weekly-1824bba4.js → WEIGHT_BOYS.zscore.weekly-2467da43.js} +0 -0
  250. /package/build/{WEIGHT_BOYS.zscore.yearly-583d0b6c.js → WEIGHT_BOYS.zscore.yearly-f861d638.js} +0 -0
  251. /package/build/{WEIGHT_GIRLS.percentile.monthly-fb2632bb.js → WEIGHT_GIRLS.percentile.monthly-8b45494e.js} +0 -0
  252. /package/build/{WEIGHT_GIRLS.percentile.weekly-7951e61a.js → WEIGHT_GIRLS.percentile.weekly-2144c3a8.js} +0 -0
  253. /package/build/{WEIGHT_GIRLS.percentile.yearly-c070044a.js → WEIGHT_GIRLS.percentile.yearly-2effedc3.js} +0 -0
  254. /package/build/{WEIGHT_GIRLS.zscore.monthly-9b3ede19.js → WEIGHT_GIRLS.zscore.monthly-8973c4f2.js} +0 -0
  255. /package/build/{WEIGHT_GIRLS.zscore.weekly-bbdc0386.js → WEIGHT_GIRLS.zscore.weekly-73d16170.js} +0 -0
  256. /package/build/{WEIGHT_GIRLS.zscore.yearly-4da42650.js → WEIGHT_GIRLS.zscore.yearly-e71c80ae.js} +0 -0
  257. /package/build/{constants-56c2d623.js → constants-26c603a9.js} +0 -0
  258. /package/build/{cookieHelper-43c69161.js → cookieHelper-f7f170bd.js} +0 -0
  259. /package/build/{dataTransform-ef45b5fa.js → dataTransform-6b83d29b.js} +0 -0
  260. /package/build/esm/{BMI_BOYS.percentile.monthly-4b700f4a.js → BMI_BOYS.percentile.monthly-f694b480.js} +0 -0
  261. /package/build/esm/{BMI_BOYS.percentile.weekly-20c2eefa.js → BMI_BOYS.percentile.weekly-a13f6584.js} +0 -0
  262. /package/build/esm/{BMI_BOYS.percentile.yearly-6883e3fa.js → BMI_BOYS.percentile.yearly-35a253c5.js} +0 -0
  263. /package/build/esm/{BMI_BOYS.zscore.monthly-b88c6169.js → BMI_BOYS.zscore.monthly-f1727824.js} +0 -0
  264. /package/build/esm/{BMI_BOYS.zscore.weekly-6aee76d6.js → BMI_BOYS.zscore.weekly-cbc0b3ed.js} +0 -0
  265. /package/build/esm/{BMI_BOYS.zscore.yearly-af704c7b.js → BMI_BOYS.zscore.yearly-bbe45b72.js} +0 -0
  266. /package/build/esm/{BMI_GIRLS.percentile.monthly-a99383b0.js → BMI_GIRLS.percentile.monthly-57992bbb.js} +0 -0
  267. /package/build/esm/{BMI_GIRLS.percentile.weekly-cf329c96.js → BMI_GIRLS.percentile.weekly-fabdfca2.js} +0 -0
  268. /package/build/esm/{BMI_GIRLS.percentile.yearly-bc1d8805.js → BMI_GIRLS.percentile.yearly-57d5d7de.js} +0 -0
  269. /package/build/esm/{BMI_GIRLS.zscore.monthly-24e0906d.js → BMI_GIRLS.zscore.monthly-967d3822.js} +0 -0
  270. /package/build/esm/{BMI_GIRLS.zscore.weekly-3c7534cb.js → BMI_GIRLS.zscore.weekly-f29ba0b5.js} +0 -0
  271. /package/build/esm/{BMI_GIRLS.zscore.yearly-e86dc9d6.js → BMI_GIRLS.zscore.yearly-b3e1f421.js} +0 -0
  272. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-26ade6d1.js → HEAD CIRCUM_BOYS.percentile.monthly-a2ab1762.js} +0 -0
  273. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-bcca6572.js → HEAD CIRCUM_BOYS.percentile.weekly-ad8891e1.js} +0 -0
  274. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-d3981988.js → HEAD CIRCUM_BOYS.percentile.yearly-da5c3247.js} +0 -0
  275. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-983a3346.js → HEAD CIRCUM_BOYS.zscore.monthly-37664fc1.js} +0 -0
  276. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-d6c9a013.js → HEAD CIRCUM_BOYS.zscore.weekly-43847232.js} +0 -0
  277. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-c8d65a4d.js → HEAD CIRCUM_BOYS.zscore.yearly-b8b548e2.js} +0 -0
  278. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-94badee7.js → HEAD CIRCUM_GIRLS.percentile.monthly-79b0ab3b.js} +0 -0
  279. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-aff2bcfd.js → HEAD CIRCUM_GIRLS.percentile.weekly-d760f0f6.js} +0 -0
  280. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-aa570380.js → HEAD CIRCUM_GIRLS.percentile.yearly-14c5089d.js} +0 -0
  281. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-309e7ffc.js → HEAD CIRCUM_GIRLS.zscore.monthly-de366fa2.js} +0 -0
  282. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-6686bbb8.js → HEAD CIRCUM_GIRLS.zscore.weekly-d2704b26.js} +0 -0
  283. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-bccdfc66.js → HEAD CIRCUM_GIRLS.zscore.yearly-483fc5c5.js} +0 -0
  284. /package/build/esm/{HEIGHT_BOYS.percentile.monthly-798b348f.js → HEIGHT_BOYS.percentile.monthly-3799366e.js} +0 -0
  285. /package/build/esm/{HEIGHT_BOYS.percentile.weekly-fdc8e3eb.js → HEIGHT_BOYS.percentile.weekly-3c818bda.js} +0 -0
  286. /package/build/esm/{HEIGHT_BOYS.percentile.yearly-61fce2ce.js → HEIGHT_BOYS.percentile.yearly-46d85627.js} +0 -0
  287. /package/build/esm/{HEIGHT_BOYS.zscore.monthly-9c122b80.js → HEIGHT_BOYS.zscore.monthly-c2d0a10d.js} +0 -0
  288. /package/build/esm/{HEIGHT_BOYS.zscore.weekly-44a84440.js → HEIGHT_BOYS.zscore.weekly-9a9dc3fa.js} +0 -0
  289. /package/build/esm/{HEIGHT_BOYS.zscore.yearly-a3bf010e.js → HEIGHT_BOYS.zscore.yearly-7c42e8c0.js} +0 -0
  290. /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-49060f92.js → HEIGHT_GIRLS.percentile.monthly-b4617cb6.js} +0 -0
  291. /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-6f27a8c5.js → HEIGHT_GIRLS.percentile.weekly-a57372b1.js} +0 -0
  292. /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-fd4e0e67.js → HEIGHT_GIRLS.percentile.yearly-42a759fb.js} +0 -0
  293. /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-1cc8e864.js → HEIGHT_GIRLS.zscore.monthly-77f9982b.js} +0 -0
  294. /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-1a065039.js → HEIGHT_GIRLS.zscore.weekly-8b36344b.js} +0 -0
  295. /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-0eef5ca0.js → HEIGHT_GIRLS.zscore.yearly-6f72e0e4.js} +0 -0
  296. /package/build/esm/{Onboarding-76dc8304.js → Onboarding-485d3188.js} +0 -0
  297. /package/build/esm/{Visible-bb7d4602.js → Visible-7f242e5b.js} +0 -0
  298. /package/build/esm/{WEIGHT_BOYS.percentile.monthly-6004c002.js → WEIGHT_BOYS.percentile.monthly-fd15d691.js} +0 -0
  299. /package/build/esm/{WEIGHT_BOYS.percentile.weekly-31a5de7c.js → WEIGHT_BOYS.percentile.weekly-47e3be0b.js} +0 -0
  300. /package/build/esm/{WEIGHT_BOYS.percentile.yearly-af22a345.js → WEIGHT_BOYS.percentile.yearly-d4819cc4.js} +0 -0
  301. /package/build/esm/{WEIGHT_BOYS.zscore.monthly-18342763.js → WEIGHT_BOYS.zscore.monthly-33e08b56.js} +0 -0
  302. /package/build/esm/{WEIGHT_BOYS.zscore.weekly-5f3e180c.js → WEIGHT_BOYS.zscore.weekly-85ad74c4.js} +0 -0
  303. /package/build/esm/{WEIGHT_BOYS.zscore.yearly-7a0a4df4.js → WEIGHT_BOYS.zscore.yearly-9e35b7db.js} +0 -0
  304. /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-5acc8efc.js → WEIGHT_GIRLS.percentile.monthly-de3c7336.js} +0 -0
  305. /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-bbe2d7e2.js → WEIGHT_GIRLS.percentile.weekly-c0e60d8a.js} +0 -0
  306. /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-6990e028.js → WEIGHT_GIRLS.percentile.yearly-b8d83e40.js} +0 -0
  307. /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-64bd4a57.js → WEIGHT_GIRLS.zscore.monthly-7621d4ed.js} +0 -0
  308. /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-08e06f6a.js → WEIGHT_GIRLS.zscore.weekly-6819de4d.js} +0 -0
  309. /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-4a64e6fa.js → WEIGHT_GIRLS.zscore.yearly-ff07da9d.js} +0 -0
  310. /package/build/esm/{constants-bb7e4df3.js → constants-0f67755b.js} +0 -0
  311. /package/build/esm/{cookieHelper-bb639635.js → cookieHelper-f207d4d4.js} +0 -0
  312. /package/build/esm/{dataTransform-b6476cb8.js → dataTransform-e317a055.js} +0 -0
  313. /package/build/esm/{index-d8eac6d8.js → index-5241ad7e.js} +0 -0
  314. /package/build/esm/{isProduction-cc02dbe1.js → isProduction-d1277896.js} +0 -0
  315. /package/build/esm/{localizeNumberFormat-0cc4b319.js → localizeNumberFormat-ca035a83.js} +0 -0
  316. /package/build/esm/{number-e4e40587.js → number-8eccff99.js} +0 -0
  317. /package/build/esm/{screenSizeContext-5c82841a.js → screenSizeContext-41ddf2d8.js} +0 -0
  318. /package/build/esm/{theme-de986140.js → theme-de7144fa.js} +0 -0
  319. /package/build/esm/{translationsContext-6ad83b5e.js → translationsContext-ecfcfef5.js} +0 -0
  320. /package/build/esm/{tslib.es6-5c131ae0.js → tslib.es6-d7ea3995.js} +0 -0
  321. /package/build/esm/{types-704a9e2a.js → types-e5a752c4.js} +0 -0
  322. /package/build/esm/{useIsInit-23476738.js → useIsInit-e69680cc.js} +0 -0
  323. /package/build/esm/{useOutsideClick-a507db78.js → useOutsideClick-0953f9a5.js} +0 -0
  324. /package/build/esm/{useScrollbarSize-240c7e05.js → useScrollbarSize-d202bf4e.js} +0 -0
  325. /package/build/esm/{useUniqueId-fa69a40e.js → useUniqueId-d57b41d6.js} +0 -0
  326. /package/build/{index-ab9d297e.js → index-4ed3a08f.js} +0 -0
  327. /package/build/{isProduction-911a33de.js → isProduction-847c662c.js} +0 -0
  328. /package/build/{localizeNumberFormat-0b70619f.js → localizeNumberFormat-33f385c8.js} +0 -0
  329. /package/build/{number-c0d99f18.js → number-fe2cebb7.js} +0 -0
  330. /package/build/{screenSizeContext-dca63fab.js → screenSizeContext-dc4a704c.js} +0 -0
  331. /package/build/{theme-c5ccafe7.js → theme-6dc2706a.js} +0 -0
  332. /package/build/{translationsContext-125f6a93.js → translationsContext-06042b8f.js} +0 -0
  333. /package/build/{tslib.es6-b485694c.js → tslib.es6-aff53c48.js} +0 -0
  334. /package/build/{types-e6692e7f.js → types-b6efde8f.js} +0 -0
  335. /package/build/{useIsInit-3a88f63a.js → useIsInit-c6da49b9.js} +0 -0
  336. /package/build/{useOutsideClick-e8092367.js → useOutsideClick-725582fb.js} +0 -0
  337. /package/build/{useScrollbarSize-ff1dd2fd.js → useScrollbarSize-8e27d707.js} +0 -0
  338. /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 };
@@ -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 = 'hide' | 'showTool';
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
- pregnant: number;
16
- pregnant_article: number;
17
- } | null;
18
- pregnantArticleId?: number;
19
- state?: BannerState;
20
- setState?: Dispatch<SetStateAction<BannerState>>;
21
- onChange?: (state?: BannerState) => void;
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>;
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ declare const HandlerBanner: () => React.JSX.Element;
3
+ export { HandlerBanner };
@@ -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 PremiumNewsletterBanner: ({ type, pregnantArticleId, categoryIds, isMarketing, isABTestingType, isPremiumBanner, currentUrl, isMobile, subcribeHealthStatus, setShouldAcquisitionModalOpen, state: stateProps, onChange, ...rest }: Props) => React.JSX.Element;
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
- type Props = {
3
- heading: string;
4
- description: string;
5
- thumbnail: string;
6
- btnLabel: string;
7
- btnLink: string;
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: ({ heading, description, thumbnail, btnLabel, btnLink, }: Props) => React.JSX.Element;
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;
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import { ContainerProps } from '@mantine/core';
3
3
  export type OnboardingProps = {
4
- heading?: string;
4
+ heading?: string | React.ReactNode;
5
5
  description?: React.ReactNode;
6
6
  imgSrc?: string;
7
7
  hiddenLogo?: boolean;
@@ -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,H as PremiumNewsletterBanner,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"./index-9a421306.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-78790272.js";export{B as Button}from"./index-d50c2330.js";export{B as BtnChoice,D as Divider}from"./index-5ff2d3ca.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-8a242f95.js";export{I as Input}from"./index-c0b4791d.js";export{C as Container,I as Icon,L as Label}from"./index-5791bb5e.js";export{L as Logo}from"./index-df2f8e37.js";export{e as AdBlock,A as AuthorBadge,B as BookingBtn,D as DatePicker,c as DoctorInfo,a as Dropdown,M as MobileBottomNavigation,d as MobileBottomNavigationIcon,R as Radio,b as RadioGroup,S as SurveyQuestionCard,T as ToolsBannerCard}from"./_topic-395d4a03.js";export{T as Text}from"./index-44f86fa4.js";export{D as Drawer,R as RadioImageGroup}from"./index-450899bd.js";export{C as CustomReferenceDot,I as ImageWrap}from"./index-28f63afa.js";export{P as Popup}from"./index.styled-3fd8255b.js";export{M as Modal}from"./index-23e57e34.js";export{P as PillCarousel}from"./index-10eafdee.js";export{A as AddressInput}from"./index-1a89e915.js";export{Footer}from"./footer.js";import"react";import"./screenSizeContext-5c82841a.js";import"styled-components";import"lodash/throttle";import"./useUniqueId-fa69a40e.js";import"./gAssets.js";import"./index-bfa78c44.js";import"date-fns/locale";import"./Onboarding-76dc8304.js";import"./isProduction-cc02dbe1.js";import"./theme-de986140.js";import"./tslib.es6-5c131ae0.js";import"@mantine/core";import"innertext";import"@mantine/dates";import"dayjs";import"./translationsContext-6ad83b5e.js";import"string-format";import"@mantine/hooks";import"./useTranslations-30aaa435.js";import"date-fns";import"lodash/debounce";import"./useCategory-7d8609bc.js";import"./types-704a9e2a.js";import"./index-b91f88a9.js";import"./index-4aa9bd18.js";import"react-hook-form";import"./useHealthToolCache-fe647031.js";import"./getDynamicHealthTool-ef95b800.js";import"./core-7199dd40.js";import"./normalizeLink-6cfea88f.js";import"./routing-01f1d0a2.js";import"./useOutsideClick-a507db78.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-8def722a.js";import"uuid";import"react-contenteditable";import"react-dom";import"react-day-picker/DayPickerInput";import"./index.styled-e2634b67.js";import"./utils-de53cba3.js";import"./index-46ca4767.js";import"js-cookie";import"@mantine/form";import"lodash/flatten";import"lodash/uniqBy";import"./cookieHelper-bb639635.js";import"./constants-bb7e4df3.js";import"./index-aaf1cab1.js";import"./useIsInit-23476738.js";import"react-keyed-flatten-children";import"@mantine/carousel";import"slugify";import"@hookform/resolvers/yup";import"./number-e4e40587.js";import"dayjs/plugin/relativeTime";import"./paths-72ad2c5a.js";import"./useScrollbarSize-240c7e05.js";
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";
@@ -1 +1 @@
1
- import"date-fns/locale";import"./Onboarding-76dc8304.js";export{B as BEARER_TOKEN_COOKIE,a as CARE_BOOKING_LOCALES,C as CARE_LOCALES,b 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,S as STATIC_PAGES,T as TOGETHER_LOCALES,U as UP_BASEPATH,c as USER_GEOLOCATION_COORDINATES_COOKIE,d as domainLocales,e as siteHost,s as siteOptions}from"./index-bfa78c44.js";export{i as isProduction}from"./isProduction-cc02dbe1.js";
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-5c131ae0.js";import{i as e}from"./isProduction-cc02dbe1.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};
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};