@hhgtech/hhg-components 1.23.14 → 1.23.16

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 (245) hide show
  1. package/build/{Vietnam-686b3190.js → Vietnam-58c011b5.js} +1 -1
  2. package/build/{Visible-e3d9031c.js → Visible-c3c21797.js} +1 -1
  3. package/build/babyGrowth.js +1 -1
  4. package/build/cache.js +1 -1
  5. package/build/care.js +1 -1
  6. package/build/components/organisms/onboardingModal/components/otpForm/index.d.ts +2 -1
  7. package/build/components/organisms/onboardingModal/index.d.ts +7 -6
  8. package/build/components.js +1 -1
  9. package/build/constants.js +1 -1
  10. package/build/core-d3d97031.js +1 -0
  11. package/build/{defaultClassWrapper-64d6ce33.js → defaultClassWrapper-1cbc5ec2.js} +1 -1
  12. package/build/ecom.js +1 -1
  13. package/build/esm/{Vietnam-a83a9070.js → Vietnam-5b86458c.js} +1 -1
  14. package/build/esm/{Visible-73109d92.js → Visible-bc89a0c7.js} +1 -1
  15. package/build/esm/babyGrowth.js +1 -1
  16. package/build/esm/cache.js +1 -1
  17. package/build/esm/care.js +1 -1
  18. package/build/esm/components.js +1 -1
  19. package/build/esm/constants.js +1 -1
  20. package/build/esm/core-831bf768.js +1 -0
  21. package/build/esm/defaultClassWrapper-f5fae450.js +1 -0
  22. package/build/esm/ecom.js +1 -1
  23. package/build/esm/footer.js +1 -1
  24. package/build/esm/gAssets.js +1 -1
  25. package/build/esm/{getDynamicHealthTool-acff236a.js → getDynamicHealthTool-2c54f0bb.js} +1 -1
  26. package/build/esm/{getSocialList-86da3dde.js → getSocialList-6a574bbb.js} +1 -1
  27. package/build/esm/hooks.js +1 -1
  28. package/build/esm/i18n.js +1 -1
  29. package/build/esm/{index-72c91f04.js → index-06216c88.js} +1 -1
  30. package/build/esm/{index-89503402.js → index-10c55e59.js} +1 -1
  31. package/build/esm/{index-f4ce663c.js → index-1280b5de.js} +1 -1
  32. package/build/esm/{index-24ddf206.js → index-3605f6a7.js} +1 -1
  33. package/build/esm/{index-fb109d64.js → index-363a319b.js} +1 -1
  34. package/build/esm/{index-9b5c69b0.js → index-415b03a0.js} +1 -1
  35. package/build/esm/{index-aac128e6.js → index-4c0d9335.js} +1 -1
  36. package/build/esm/{index-104142ee.js → index-4da48ffa.js} +1 -1
  37. package/build/esm/{index-e0283ab0.js → index-5ff0d8c7.js} +1 -1
  38. package/build/esm/{index-40b0db08.js → index-72196247.js} +1 -1
  39. package/build/esm/{index-71416a3e.js → index-77c3f032.js} +1 -1
  40. package/build/esm/{index-c9d7ee87.js → index-79da0afc.js} +1 -1
  41. package/build/esm/{index-7b248c3c.js → index-b5d4033a.js} +1 -1
  42. package/build/esm/index-b90b257c.js +1 -0
  43. package/build/esm/{index-ca480526.js → index-c5c2bdd2.js} +1 -1
  44. package/build/esm/{index-876baf28.js → index-d1aa7f4f.js} +1 -1
  45. package/build/esm/{index-32477a35.js → index-e4ba3a7a.js} +1 -1
  46. package/build/esm/index.css +1 -0
  47. package/build/esm/index.js +1 -1
  48. package/build/esm/{index.styled-42363bdf.js → index.styled-08911d1f.js} +1 -1
  49. package/build/esm/{index.styled-5dec7861.js → index.styled-27b27129.js} +1 -1
  50. package/build/esm/{index.styled-bbc46193.js → index.styled-5d71a9e8.js} +1 -1
  51. package/build/esm/index.styled-6d04577f.js +1 -0
  52. package/build/esm/lead.js +1 -1
  53. package/build/esm/mantine.js +1 -1
  54. package/build/esm/misc.js +1 -1
  55. package/build/esm/navigation.js +1 -1
  56. package/build/esm/onboarding.js +1 -1
  57. package/build/esm/pwg.js +1 -1
  58. package/build/esm/routing-faf9b9ac.js +1 -0
  59. package/build/esm/{screenSizeContext-bc26b657.js → screenSizeContext-95e8df56.js} +1 -1
  60. package/build/esm/together.js +1 -1
  61. package/build/esm/{translationsProvider-087c7176.js → translationsProvider-3cfc988c.js} +1 -1
  62. package/build/esm/{types-3f8d0890.js → types-72da0057.js} +1 -1
  63. package/build/esm/{types-bb5f46f3.js → types-faa5fa36.js} +1 -1
  64. package/build/esm/types.js +1 -1
  65. package/build/esm/{useFbDataLayer-a4d10738.js → useFbDataLayer-f8bb44d3.js} +1 -1
  66. package/build/esm/useHealthToolCache-74580a15.js +1 -0
  67. package/build/esm/{useTranslations-16fe2c86.js → useTranslations-70018531.js} +1 -1
  68. package/build/footer.js +1 -1
  69. package/build/gAssets.js +1 -1
  70. package/build/{getDynamicHealthTool-aca77707.js → getDynamicHealthTool-6a7f908f.js} +1 -1
  71. package/build/{getSocialList-397babb6.js → getSocialList-7cafc0ae.js} +1 -1
  72. package/build/hooks.js +1 -1
  73. package/build/i18n.js +1 -1
  74. package/build/{index-efdc03cc.js → index-04b1ea22.js} +1 -1
  75. package/build/{index-ecbdd9b6.js → index-0a18f9c8.js} +1 -1
  76. package/build/{index-e3486ece.js → index-1f9eca43.js} +1 -1
  77. package/build/{index-2aca153d.js → index-26806c1c.js} +1 -1
  78. package/build/{index-59b2c260.js → index-40d89a67.js} +1 -1
  79. package/build/{index-766f812b.js → index-41e720bb.js} +1 -1
  80. package/build/{index-bb8b02f4.js → index-4486a0a3.js} +1 -1
  81. package/build/{index-79f28462.js → index-46a35eb8.js} +1 -1
  82. package/build/{index-fcd29db9.js → index-5a461e9c.js} +1 -1
  83. package/build/{index-f2c4a46e.js → index-6953d914.js} +1 -1
  84. package/build/{index-859f6509.js → index-7c8bc87e.js} +1 -1
  85. package/build/{index-412a0f47.js → index-82b58365.js} +1 -1
  86. package/build/{index-eaf2d804.js → index-99f11d4e.js} +1 -1
  87. package/build/{index-43aaceb5.js → index-b847d74e.js} +1 -1
  88. package/build/{index-e45bd75c.js → index-bf157b49.js} +1 -1
  89. package/build/{index-2e46a9e2.js → index-c5139337.js} +1 -1
  90. package/build/{index-0af9ed7a.js → index-d191aa40.js} +1 -1
  91. package/build/index.css +2 -1
  92. package/build/index.js +1 -1
  93. package/build/{index.styled-7f668ae0.js → index.styled-60d84d61.js} +1 -1
  94. package/build/{index.styled-77a6fc28.js → index.styled-74509979.js} +1 -1
  95. package/build/{index.styled-8d514bc5.js → index.styled-815e2396.js} +1 -1
  96. package/build/index.styled-d2c31a53.js +1 -0
  97. package/build/lead.js +1 -1
  98. package/build/mantine.js +1 -1
  99. package/build/misc.js +1 -1
  100. package/build/navigation.js +1 -1
  101. package/build/onboarding.js +1 -1
  102. package/build/pwg.js +1 -1
  103. package/build/{routing-aa1dcf6e.js → routing-1d5bbba6.js} +1 -1
  104. package/build/{screenSizeContext-656b5956.js → screenSizeContext-08206003.js} +1 -1
  105. package/build/together.js +1 -1
  106. package/build/{translationsProvider-ee6710f2.js → translationsProvider-497c8c03.js} +1 -1
  107. package/build/{types-f9d80764.js → types-e65940d4.js} +1 -1
  108. package/build/{types-f9bd42ed.js → types-fbc71dd8.js} +1 -1
  109. package/build/types.js +1 -1
  110. package/build/{useFbDataLayer-1db30e15.js → useFbDataLayer-279adf0e.js} +1 -1
  111. package/build/{useHealthToolCache-fd8cb348.js → useHealthToolCache-fa5b862f.js} +1 -1
  112. package/build/{useTranslations-cd6f24e7.js → useTranslations-9152879d.js} +1 -1
  113. package/package.json +1 -1
  114. package/build/core-c18423d8.js +0 -1
  115. package/build/esm/core-41e19470.js +0 -1
  116. package/build/esm/defaultClassWrapper-9b6c72d3.js +0 -1
  117. package/build/esm/index-28386a3c.js +0 -1
  118. package/build/esm/index.styled-d557eac7.js +0 -1
  119. package/build/esm/routing-a28b533c.js +0 -1
  120. package/build/esm/useHealthToolCache-abc83f74.js +0 -1
  121. package/build/index.styled-058aa9ad.js +0 -1
  122. /package/build/{BMI_BOYS.percentile.monthly-af67bf60.js → BMI_BOYS.percentile.monthly-ea6ac806.js} +0 -0
  123. /package/build/{BMI_BOYS.percentile.weekly-1c3019fe.js → BMI_BOYS.percentile.weekly-a7943360.js} +0 -0
  124. /package/build/{BMI_BOYS.percentile.yearly-fd6d3ecf.js → BMI_BOYS.percentile.yearly-aa4970cc.js} +0 -0
  125. /package/build/{BMI_BOYS.zscore.monthly-fe375c8b.js → BMI_BOYS.zscore.monthly-13e2d65e.js} +0 -0
  126. /package/build/{BMI_BOYS.zscore.weekly-9150936e.js → BMI_BOYS.zscore.weekly-a0480fb9.js} +0 -0
  127. /package/build/{BMI_BOYS.zscore.yearly-fd3b7fdd.js → BMI_BOYS.zscore.yearly-8f90d283.js} +0 -0
  128. /package/build/{BMI_GIRLS.percentile.monthly-fd52bc94.js → BMI_GIRLS.percentile.monthly-bc4c0365.js} +0 -0
  129. /package/build/{BMI_GIRLS.percentile.weekly-c716a33a.js → BMI_GIRLS.percentile.weekly-4a8cc96c.js} +0 -0
  130. /package/build/{BMI_GIRLS.percentile.yearly-41cf536b.js → BMI_GIRLS.percentile.yearly-49c03da7.js} +0 -0
  131. /package/build/{BMI_GIRLS.zscore.monthly-aff3ca70.js → BMI_GIRLS.zscore.monthly-4be1e1ee.js} +0 -0
  132. /package/build/{BMI_GIRLS.zscore.weekly-8431fdca.js → BMI_GIRLS.zscore.weekly-816ba032.js} +0 -0
  133. /package/build/{BMI_GIRLS.zscore.yearly-0407a386.js → BMI_GIRLS.zscore.yearly-183064f9.js} +0 -0
  134. /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-c387dd10.js → HEAD CIRCUM_BOYS.percentile.monthly-dc1f2fc6.js} +0 -0
  135. /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-77499551.js → HEAD CIRCUM_BOYS.percentile.weekly-e5c136da.js} +0 -0
  136. /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-0ae8e431.js → HEAD CIRCUM_BOYS.percentile.yearly-8de3e2eb.js} +0 -0
  137. /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-28dadd72.js → HEAD CIRCUM_BOYS.zscore.monthly-fbbed315.js} +0 -0
  138. /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-c4121d04.js → HEAD CIRCUM_BOYS.zscore.weekly-ab822244.js} +0 -0
  139. /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-cda5b72f.js → HEAD CIRCUM_BOYS.zscore.yearly-153ce77c.js} +0 -0
  140. /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-f1061670.js → HEAD CIRCUM_GIRLS.percentile.monthly-242d8c58.js} +0 -0
  141. /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-ac035a30.js → HEAD CIRCUM_GIRLS.percentile.weekly-db1b1242.js} +0 -0
  142. /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-5c6fd0a5.js → HEAD CIRCUM_GIRLS.percentile.yearly-bde2d9e4.js} +0 -0
  143. /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-86ee8a00.js → HEAD CIRCUM_GIRLS.zscore.monthly-730f8a95.js} +0 -0
  144. /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-806d2551.js → HEAD CIRCUM_GIRLS.zscore.weekly-a2277a19.js} +0 -0
  145. /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-e89346ae.js → HEAD CIRCUM_GIRLS.zscore.yearly-899efa0a.js} +0 -0
  146. /package/build/{HEIGHT_BOYS.percentile.monthly-95726c92.js → HEIGHT_BOYS.percentile.monthly-734422ca.js} +0 -0
  147. /package/build/{HEIGHT_BOYS.percentile.weekly-6ddf03ba.js → HEIGHT_BOYS.percentile.weekly-30de26dd.js} +0 -0
  148. /package/build/{HEIGHT_BOYS.percentile.yearly-8c9f4147.js → HEIGHT_BOYS.percentile.yearly-45eb6a3b.js} +0 -0
  149. /package/build/{HEIGHT_BOYS.zscore.monthly-a4ebe428.js → HEIGHT_BOYS.zscore.monthly-97c8f58b.js} +0 -0
  150. /package/build/{HEIGHT_BOYS.zscore.weekly-4202c36c.js → HEIGHT_BOYS.zscore.weekly-5ec7d3c0.js} +0 -0
  151. /package/build/{HEIGHT_BOYS.zscore.yearly-4fdc9878.js → HEIGHT_BOYS.zscore.yearly-d9e36c0d.js} +0 -0
  152. /package/build/{HEIGHT_GIRLS.percentile.monthly-2f9e33aa.js → HEIGHT_GIRLS.percentile.monthly-8829614a.js} +0 -0
  153. /package/build/{HEIGHT_GIRLS.percentile.weekly-aee6b2da.js → HEIGHT_GIRLS.percentile.weekly-e2066dfa.js} +0 -0
  154. /package/build/{HEIGHT_GIRLS.percentile.yearly-6190b1cc.js → HEIGHT_GIRLS.percentile.yearly-790c869e.js} +0 -0
  155. /package/build/{HEIGHT_GIRLS.zscore.monthly-44c369c2.js → HEIGHT_GIRLS.zscore.monthly-7386c7e4.js} +0 -0
  156. /package/build/{HEIGHT_GIRLS.zscore.weekly-a1058583.js → HEIGHT_GIRLS.zscore.weekly-197075e5.js} +0 -0
  157. /package/build/{HEIGHT_GIRLS.zscore.yearly-32c08c4c.js → HEIGHT_GIRLS.zscore.yearly-1dce72bb.js} +0 -0
  158. /package/build/{Locale-f293cbf6.js → Locale-bd6e86b0.js} +0 -0
  159. /package/build/{WEIGHT_BOYS.percentile.monthly-f57ca352.js → WEIGHT_BOYS.percentile.monthly-f2f67317.js} +0 -0
  160. /package/build/{WEIGHT_BOYS.percentile.weekly-31444e9b.js → WEIGHT_BOYS.percentile.weekly-f01a2056.js} +0 -0
  161. /package/build/{WEIGHT_BOYS.percentile.yearly-9a752641.js → WEIGHT_BOYS.percentile.yearly-11b51bb4.js} +0 -0
  162. /package/build/{WEIGHT_BOYS.zscore.monthly-0de8c968.js → WEIGHT_BOYS.zscore.monthly-985bb57b.js} +0 -0
  163. /package/build/{WEIGHT_BOYS.zscore.weekly-0a88614d.js → WEIGHT_BOYS.zscore.weekly-a3fc8e39.js} +0 -0
  164. /package/build/{WEIGHT_BOYS.zscore.yearly-035d4523.js → WEIGHT_BOYS.zscore.yearly-48a8e83b.js} +0 -0
  165. /package/build/{WEIGHT_GIRLS.percentile.monthly-ed27dee6.js → WEIGHT_GIRLS.percentile.monthly-953baf7e.js} +0 -0
  166. /package/build/{WEIGHT_GIRLS.percentile.weekly-e3e79272.js → WEIGHT_GIRLS.percentile.weekly-720e223b.js} +0 -0
  167. /package/build/{WEIGHT_GIRLS.percentile.yearly-e36d70e4.js → WEIGHT_GIRLS.percentile.yearly-c36a0e56.js} +0 -0
  168. /package/build/{WEIGHT_GIRLS.zscore.monthly-c444d981.js → WEIGHT_GIRLS.zscore.monthly-67e6123b.js} +0 -0
  169. /package/build/{WEIGHT_GIRLS.zscore.weekly-e691571f.js → WEIGHT_GIRLS.zscore.weekly-fa8ed0e6.js} +0 -0
  170. /package/build/{WEIGHT_GIRLS.zscore.yearly-8806e237.js → WEIGHT_GIRLS.zscore.yearly-84619802.js} +0 -0
  171. /package/build/{constants-f6facb24.js → constants-d6088f68.js} +0 -0
  172. /package/build/{cookieHelper-c62ee6ad.js → cookieHelper-fa52f2f3.js} +0 -0
  173. /package/build/{dataTransform-5668a480.js → dataTransform-820ae5c3.js} +0 -0
  174. /package/build/esm/{BMI_BOYS.percentile.monthly-bebaba6a.js → BMI_BOYS.percentile.monthly-fc34f9a8.js} +0 -0
  175. /package/build/esm/{BMI_BOYS.percentile.weekly-413cf63f.js → BMI_BOYS.percentile.weekly-8dd464d1.js} +0 -0
  176. /package/build/esm/{BMI_BOYS.percentile.yearly-07f39b29.js → BMI_BOYS.percentile.yearly-db193e3a.js} +0 -0
  177. /package/build/esm/{BMI_BOYS.zscore.monthly-a9774d10.js → BMI_BOYS.zscore.monthly-6953b31f.js} +0 -0
  178. /package/build/esm/{BMI_BOYS.zscore.weekly-b51c9b9a.js → BMI_BOYS.zscore.weekly-6cf353c0.js} +0 -0
  179. /package/build/esm/{BMI_BOYS.zscore.yearly-1b20b4ac.js → BMI_BOYS.zscore.yearly-245eac27.js} +0 -0
  180. /package/build/esm/{BMI_GIRLS.percentile.monthly-81453ae8.js → BMI_GIRLS.percentile.monthly-95f6cdf2.js} +0 -0
  181. /package/build/esm/{BMI_GIRLS.percentile.weekly-1bbfff6c.js → BMI_GIRLS.percentile.weekly-37d80f76.js} +0 -0
  182. /package/build/esm/{BMI_GIRLS.percentile.yearly-c41e9ed0.js → BMI_GIRLS.percentile.yearly-8412eb07.js} +0 -0
  183. /package/build/esm/{BMI_GIRLS.zscore.monthly-8f07c1bf.js → BMI_GIRLS.zscore.monthly-40863cae.js} +0 -0
  184. /package/build/esm/{BMI_GIRLS.zscore.weekly-ad28e540.js → BMI_GIRLS.zscore.weekly-3c6f796b.js} +0 -0
  185. /package/build/esm/{BMI_GIRLS.zscore.yearly-699c15ee.js → BMI_GIRLS.zscore.yearly-6aa6ed68.js} +0 -0
  186. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-b1a7d0aa.js → HEAD CIRCUM_BOYS.percentile.monthly-aabd5511.js} +0 -0
  187. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-ed2abc52.js → HEAD CIRCUM_BOYS.percentile.weekly-f3d4719b.js} +0 -0
  188. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-1540396f.js → HEAD CIRCUM_BOYS.percentile.yearly-82588530.js} +0 -0
  189. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-31a28863.js → HEAD CIRCUM_BOYS.zscore.monthly-01a63b39.js} +0 -0
  190. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-8e7f29ef.js → HEAD CIRCUM_BOYS.zscore.weekly-292a0a06.js} +0 -0
  191. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-fd063c16.js → HEAD CIRCUM_BOYS.zscore.yearly-2d6d671c.js} +0 -0
  192. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-97e2ad8f.js → HEAD CIRCUM_GIRLS.percentile.monthly-d0cdb3f5.js} +0 -0
  193. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-49238aa3.js → HEAD CIRCUM_GIRLS.percentile.weekly-785603a0.js} +0 -0
  194. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-5a44931f.js → HEAD CIRCUM_GIRLS.percentile.yearly-0a90c425.js} +0 -0
  195. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-7d863cc7.js → HEAD CIRCUM_GIRLS.zscore.monthly-e45bd524.js} +0 -0
  196. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-3cb958f0.js → HEAD CIRCUM_GIRLS.zscore.weekly-89a2aff9.js} +0 -0
  197. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-364827ae.js → HEAD CIRCUM_GIRLS.zscore.yearly-10897151.js} +0 -0
  198. /package/build/esm/{HEIGHT_BOYS.percentile.monthly-3a82f1a6.js → HEIGHT_BOYS.percentile.monthly-fa18bcef.js} +0 -0
  199. /package/build/esm/{HEIGHT_BOYS.percentile.weekly-6a92ad98.js → HEIGHT_BOYS.percentile.weekly-858b1ba9.js} +0 -0
  200. /package/build/esm/{HEIGHT_BOYS.percentile.yearly-208ff6a8.js → HEIGHT_BOYS.percentile.yearly-d01331f4.js} +0 -0
  201. /package/build/esm/{HEIGHT_BOYS.zscore.monthly-bfb59ce5.js → HEIGHT_BOYS.zscore.monthly-7b420665.js} +0 -0
  202. /package/build/esm/{HEIGHT_BOYS.zscore.weekly-6dd1c96b.js → HEIGHT_BOYS.zscore.weekly-ab905fe3.js} +0 -0
  203. /package/build/esm/{HEIGHT_BOYS.zscore.yearly-e5ca18c9.js → HEIGHT_BOYS.zscore.yearly-ada041d1.js} +0 -0
  204. /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-ae7de195.js → HEIGHT_GIRLS.percentile.monthly-9972051c.js} +0 -0
  205. /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-a5c6794c.js → HEIGHT_GIRLS.percentile.weekly-a8efc716.js} +0 -0
  206. /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-feaf2a5f.js → HEIGHT_GIRLS.percentile.yearly-c902c6cc.js} +0 -0
  207. /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-34d45f63.js → HEIGHT_GIRLS.zscore.monthly-47e68bad.js} +0 -0
  208. /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-63682741.js → HEIGHT_GIRLS.zscore.weekly-5e015e69.js} +0 -0
  209. /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-236550eb.js → HEIGHT_GIRLS.zscore.yearly-b399043e.js} +0 -0
  210. /package/build/esm/{Locale-ff291ad4.js → Locale-7dc81f08.js} +0 -0
  211. /package/build/esm/{WEIGHT_BOYS.percentile.monthly-4e89600e.js → WEIGHT_BOYS.percentile.monthly-fb360ef4.js} +0 -0
  212. /package/build/esm/{WEIGHT_BOYS.percentile.weekly-8562cd54.js → WEIGHT_BOYS.percentile.weekly-1209f3c1.js} +0 -0
  213. /package/build/esm/{WEIGHT_BOYS.percentile.yearly-422927a5.js → WEIGHT_BOYS.percentile.yearly-29b579b8.js} +0 -0
  214. /package/build/esm/{WEIGHT_BOYS.zscore.monthly-0c337287.js → WEIGHT_BOYS.zscore.monthly-13bbc8d1.js} +0 -0
  215. /package/build/esm/{WEIGHT_BOYS.zscore.weekly-e085f114.js → WEIGHT_BOYS.zscore.weekly-5098d1c9.js} +0 -0
  216. /package/build/esm/{WEIGHT_BOYS.zscore.yearly-e55061df.js → WEIGHT_BOYS.zscore.yearly-f11c9162.js} +0 -0
  217. /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-7420ca5d.js → WEIGHT_GIRLS.percentile.monthly-865383d1.js} +0 -0
  218. /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-93266668.js → WEIGHT_GIRLS.percentile.weekly-35c10f3b.js} +0 -0
  219. /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-1eb9c7a1.js → WEIGHT_GIRLS.percentile.yearly-bc19710b.js} +0 -0
  220. /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-aaf1c4f9.js → WEIGHT_GIRLS.zscore.monthly-c88e8682.js} +0 -0
  221. /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-6a8956bd.js → WEIGHT_GIRLS.zscore.weekly-c14d2ecc.js} +0 -0
  222. /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-66ab5f7e.js → WEIGHT_GIRLS.zscore.yearly-010db60f.js} +0 -0
  223. /package/build/esm/{constants-eb499a0e.js → constants-84bfc878.js} +0 -0
  224. /package/build/esm/{cookieHelper-2d1cd75c.js → cookieHelper-a43edf59.js} +0 -0
  225. /package/build/esm/{dataTransform-a3e387af.js → dataTransform-b8ff3d5b.js} +0 -0
  226. /package/build/esm/{isProduction-828df1d0.js → isProduction-a1bfc584.js} +0 -0
  227. /package/build/esm/{lazyLoad-4f179e88.js → lazyLoad-ded2ce19.js} +0 -0
  228. /package/build/esm/{localizeNumberFormat-beb28fb0.js → localizeNumberFormat-671a9b69.js} +0 -0
  229. /package/build/esm/{theme-0f5af5c6.js → theme-2e439737.js} +0 -0
  230. /package/build/esm/{translationsContext-c92c9e4b.js → translationsContext-59e4e118.js} +0 -0
  231. /package/build/esm/{tslib.es6-8a4b7ccb.js → tslib.es6-a524ba6f.js} +0 -0
  232. /package/build/esm/{types-0f17b4dd.js → types-50c81af7.js} +0 -0
  233. /package/build/esm/{useOutsideClick-0981982e.js → useOutsideClick-8c0fc0d2.js} +0 -0
  234. /package/build/esm/{useScrollbarSize-e74a3450.js → useScrollbarSize-4d0616ac.js} +0 -0
  235. /package/build/esm/{utils-ac14bf5c.js → utils-5d2ce7ce.js} +0 -0
  236. /package/build/{isProduction-7b83726b.js → isProduction-c14904f6.js} +0 -0
  237. /package/build/{lazyLoad-a3e53b7e.js → lazyLoad-56ae0de6.js} +0 -0
  238. /package/build/{localizeNumberFormat-3cb3962d.js → localizeNumberFormat-4e5991af.js} +0 -0
  239. /package/build/{theme-a38f4960.js → theme-7bbcb113.js} +0 -0
  240. /package/build/{translationsContext-d2cb303a.js → translationsContext-a8bdba16.js} +0 -0
  241. /package/build/{tslib.es6-4522cb7e.js → tslib.es6-8876a79b.js} +0 -0
  242. /package/build/{types-08b020fd.js → types-b8e6098b.js} +0 -0
  243. /package/build/{useOutsideClick-10429280.js → useOutsideClick-0cb869c0.js} +0 -0
  244. /package/build/{useScrollbarSize-47a355dc.js → useScrollbarSize-42d45659.js} +0 -0
  245. /package/build/{utils-0a05b687.js → utils-53b5a60d.js} +0 -0
package/build/types.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./Locale-f293cbf6.js");Object.defineProperty(exports,"BabyGrowthChartDuration",{enumerable:!0,get:function(){return e.BabyGrowthChartDuration}}),Object.defineProperty(exports,"BabyGrowthChartType",{enumerable:!0,get:function(){return e.BabyGrowthChartType}}),Object.defineProperty(exports,"BabyGrowthResultTab",{enumerable:!0,get:function(){return e.BabyGrowthResultTab}}),Object.defineProperty(exports,"Gender",{enumerable:!0,get:function(){return e.Gender}}),Object.defineProperty(exports,"LOCALE",{enumerable:!0,get:function(){return e.LOCALE}});
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./Locale-bd6e86b0.js");Object.defineProperty(exports,"BabyGrowthChartDuration",{enumerable:!0,get:function(){return e.BabyGrowthChartDuration}}),Object.defineProperty(exports,"BabyGrowthChartType",{enumerable:!0,get:function(){return e.BabyGrowthChartType}}),Object.defineProperty(exports,"BabyGrowthResultTab",{enumerable:!0,get:function(){return e.BabyGrowthResultTab}}),Object.defineProperty(exports,"Gender",{enumerable:!0,get:function(){return e.Gender}}),Object.defineProperty(exports,"LOCALE",{enumerable:!0,get:function(){return e.LOCALE}});
@@ -1 +1 @@
1
- "use strict";var e=require("./tslib.es6-4522cb7e.js"),t=require("react"),n=require("./cookieHelper-c62ee6ad.js");function r(e){var t=(new TextEncoder).encode(e.trim().toLowerCase());return crypto.subtle.digest("SHA-256",t).then((function(e){return Array.from(new Uint8Array(e)).map((function(e){return e.toString(16).padStart(2,"0")})).join("")}))}exports.useFbDataLayer=function(i){var a=t.useRef("");t.useEffect((function(){return e.__awaiter(void 0,void 0,void 0,(function(){var t,o,l,c,u,s,d,f,p,b,g,h,v,m,_;return e.__generator(this,(function(e){switch(e.label){case 0:return a.current?[3,4]:[4,fetch("https://api.ipify.org").then((function(e){return e.text()}))];case 1:return(t=e.sent())?[3,3]:[4,fetch("https://icanhazip.com").then((function(e){return e.text()}))];case 2:t=e.sent(),e.label=3;case 3:a.current=t,e.label=4;case 4:return null===(h=null===(g=window.localStorage)||void 0===g?void 0:g.setItem)||void 0===h||h.call(g,"fbClientIp",JSON.stringify({client_ip_address:(null===(v=a.current)||void 0===v?void 0:v.replace("\n",""))||"",client_user_agent:navigator.userAgent||""})),(null==i?void 0:i.id)?[4,Promise.all([i.email?r(i.email):null,i.phone?r(i.phone):null,i.birthday?r(i.birthday.split("-").join("")):null,i.gender?"m":"f",i.city_name?r(i.city_name).then((function(e){return e.replace(/\s/g,"")})):null,i.name?r(i.name):null])]:[3,6];case 5:o=e.sent(),l=o[0],c=o[1],u=o[2],s=o[3],d=o[4],f=o[5],p={fbc:n.getCookie("_fbc")||"",fbp:n.getCookie("_fbp")||""},b={user_id:i.id},f&&(b.fn=f),l&&(p.em=l,b.em=l),c&&(p.ph=c,b.ph=c),u&&(p.db=u,b.db=u),s&&(p.ge=s,b.ge=s),d&&(p.ct=d,b.ct=d),null===(_=null===(m=window.localStorage)||void 0===m?void 0:m.setItem)||void 0===_||_.call(m,"fbDataLayer_userInfo",JSON.stringify(b)),e.label=6;case 6:return[2]}}))})),function(){}}),[i])};
1
+ "use strict";var e=require("./tslib.es6-8876a79b.js"),t=require("react"),n=require("./cookieHelper-fa52f2f3.js");function r(e){var t=(new TextEncoder).encode(e.trim().toLowerCase());return crypto.subtle.digest("SHA-256",t).then((function(e){return Array.from(new Uint8Array(e)).map((function(e){return e.toString(16).padStart(2,"0")})).join("")}))}exports.useFbDataLayer=function(i){var a=t.useRef("");t.useEffect((function(){return e.__awaiter(void 0,void 0,void 0,(function(){var t,o,l,u,c,s,f,d,p,b,g,h,v,m,_;return e.__generator(this,(function(e){switch(e.label){case 0:return a.current?[3,4]:[4,fetch("https://api.ipify.org").then((function(e){return e.text()}))];case 1:return(t=e.sent())?[3,3]:[4,fetch("https://icanhazip.com").then((function(e){return e.text()}))];case 2:t=e.sent(),e.label=3;case 3:a.current=t,e.label=4;case 4:return null===(h=null===(g=window.localStorage)||void 0===g?void 0:g.setItem)||void 0===h||h.call(g,"fbClientIp",JSON.stringify({client_ip_address:(null===(v=a.current)||void 0===v?void 0:v.replace("\n",""))||"",client_user_agent:navigator.userAgent||""})),(null==i?void 0:i.id)?[4,Promise.all([i.email?r(i.email):null,i.phone?r(i.phone):null,i.birthday?r(i.birthday.split("-").join("")):null,i.gender?"m":"f",i.city_name?r(i.city_name).then((function(e){return e.replace(/\s/g,"")})):null,i.name?r(i.name):null])]:[3,6];case 5:o=e.sent(),l=o[0],u=o[1],c=o[2],s=o[3],f=o[4],d=o[5],p={fbc:n.getCookie("_fbc")||"",fbp:n.getCookie("_fbp")||""},b={user_id:i.id},d&&(b.fn=d),l&&(p.em=l,b.em=l),u&&(p.ph=u,b.ph=u),c&&(p.db=c,b.db=c),s&&(p.ge=s,b.ge=s),f&&(p.ct=f,b.ct=f),null===(_=null===(m=window.localStorage)||void 0===m?void 0:m.setItem)||void 0===_||_.call(m,"fbDataLayer_userInfo",JSON.stringify(b)),e.label=6;case 6:return[2]}}))})),function(){}}),[i])};
@@ -1 +1 @@
1
- "use strict";var e=require("./tslib.es6-4522cb7e.js"),t=require("react"),a=require("./getDynamicHealthTool-aca77707.js");exports.useHealthToolsCache=function(r){var i=t.useState([]),n=i[0],o=i[1];t.useEffect((function(){e.__awaiter(void 0,void 0,void 0,(function(){var t;return e.__generator(this,(function(e){switch(e.label){case 0:return[4,a.getDynamicHealthToolWithCache(r)];case 1:return t=e.sent(),o(t),[2]}}))}))}),[a.getDynamicHealthToolWithCache,r]);var l=t.useCallback((function(e){var t;return(null===(t=n.find((function(t){return t.template===e})))||void 0===t?void 0:t.link)||""}),[n]);return{allTools:n,getHealthToolLink:l}};
1
+ "use strict";var e=require("./tslib.es6-8876a79b.js"),t=require("react"),a=require("./getDynamicHealthTool-6a7f908f.js");exports.useHealthToolsCache=function(r){var i=t.useState([]),n=i[0],o=i[1];t.useEffect((function(){e.__awaiter(void 0,void 0,void 0,(function(){var t;return e.__generator(this,(function(e){switch(e.label){case 0:return[4,a.getDynamicHealthToolWithCache(r)];case 1:return t=e.sent(),o(t),[2]}}))}))}),[a.getDynamicHealthToolWithCache,r]);var l=t.useCallback((function(e){var t;return(null===(t=n.find((function(t){return t.template===e})))||void 0===t?void 0:t.link)||""}),[n]);return{allTools:n,getHealthToolLink:l}};
@@ -1 +1 @@
1
- "use strict";var e=require("react"),t=require("./translationsContext-d2cb303a.js");function a(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var n=a(require("string-format"));exports.useTranslations=function(){var a=e.useContext(t.TranslationsContext)||{locale:"en-PH"},r=a.values,o=a.locale;return e.useMemo((function(){return{t:function(e,a){return r?r[e]?a?n.default(r[e]||e,a):r[e]||e:(console.warn("[useTranslations] Missing translation for key ".concat(e," and locale ").concat(o)),a?n.default(t.defaultTranslations[e]||e,a):t.defaultTranslations[e]||e):(console.error("[useTranslations] t method called before translation values are loaded"),e)},locale:o}}),[r,o])};
1
+ "use strict";var e=require("react"),t=require("./translationsContext-a8bdba16.js");function a(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var n=a(require("string-format"));exports.useTranslations=function(){var a=e.useContext(t.TranslationsContext)||{locale:"en-PH"},r=a.values,o=a.locale;return e.useMemo((function(){return{t:function(e,a){return r?r[e]?a?n.default(r[e]||e,a):r[e]||e:(console.warn("[useTranslations] Missing translation for key ".concat(e," and locale ").concat(o)),a?n.default(t.defaultTranslations[e]||e,a):t.defaultTranslations[e]||e):(console.error("[useTranslations] t method called before translation values are loaded"),e)},locale:o}}),[r,o])};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hhgtech/hhg-components",
3
- "version": "1.23.14",
3
+ "version": "1.23.16",
4
4
  "main": "build/index.js",
5
5
  "module": "build/esm/index.js",
6
6
  "files": [
@@ -1 +0,0 @@
1
- "use strict";var t=require("./tslib.es6-4522cb7e.js"),e=require("./isProduction-7b83726b.js"),r={},a=function(t){if("undefined"!=typeof window){var a=void 0;try{a=JSON.parse(localStorage.getItem((e.isProduction?"":"staging_")+"hhg-cache-"+t)||"{}")}catch(t){}return a||{}}return r[t]},i=function(t,a){try{"undefined"!=typeof window?localStorage.setItem((e.isProduction?"":"staging_")+"hhg-cache-"+t,JSON.stringify({data:a,time:Date.now()})):r[t]={data:a,time:Date.now()}}catch(t){}};exports.getCachedItem=a,exports.getDataWithCache=function(e,r,n,o){return void 0===o&&(o=9e5),t.__awaiter(void 0,void 0,void 0,(function(){var c,s;return t.__generator(this,(function(t){switch(t.label){case 0:return(c=a(e))&&c.data&&c.time&&Date.now()-c.time<o?[2,c.data]:[3,1];case 1:return r?[4,r()]:[3,3];case 2:return s=t.sent(),n&&!n(s)||i(e,s),[2,s];case 3:return[2,null]}}))}))},exports.setCachedItem=i;
@@ -1 +0,0 @@
1
- import{d as t,e}from"./tslib.es6-8a4b7ccb.js";import{i as a}from"./isProduction-828df1d0.js";var n={},i=function(t){if("undefined"!=typeof window){var e=void 0;try{e=JSON.parse(localStorage.getItem((a?"":"staging_")+"hhg-cache-"+t)||"{}")}catch(t){}return e||{}}return n[t]},r=function(t,e){try{"undefined"!=typeof window?localStorage.setItem((a?"":"staging_")+"hhg-cache-"+t,JSON.stringify({data:e,time:Date.now()})):n[t]={data:e,time:Date.now()}}catch(t){}},o=function(a,n,o,s){return void 0===s&&(s=9e5),t(void 0,void 0,void 0,(function(){var t,c;return e(this,(function(e){switch(e.label){case 0:return(t=i(a))&&t.data&&t.time&&Date.now()-t.time<s?[2,t.data]:[3,1];case 1:return n?[4,n()]:[3,3];case 2:return c=e.sent(),o&&!o(c)||r(a,c),[2,c];case 3:return[2,null]}}))}))};export{i as a,o as g,r as s};
@@ -1 +0,0 @@
1
- import{c as a,_ as c}from"./tslib.es6-8a4b7ccb.js";import r,{forwardRef as e}from"react";var t=function(t,s){return e((function(e,n){var o=e.className,m=a(e,["className"]);return r.createElement(t,c({ref:n,className:"".concat(s," ").concat(o||"")},m))}))};export{t as g};
@@ -1 +0,0 @@
1
- import{c as e,_ as t}from"./tslib.es6-8a4b7ccb.js";import r from"react";import{e as a,f as o}from"./index.styled-bbc46193.js";var l=function(o){var l=o.type,s=o.color,c=o.style,y=e(o,["type","color","style"]);return r.createElement(a,t({type:l,"data-type":{h1:"headline-1",h2:"headline-2",h3:"headline-3",h4:"headline-4"}[l],style:t(t({},s&&{"--text-color":s}),c)},y))},s=function(a){var l=a.type,s=a.color,c=a.style,y=e(a,["type","color","style"]);return r.createElement(o,t({"data-type":l,style:t(t({},c),s&&{"--text-color":s})},y))};export{s as M,l as a};
@@ -1 +0,0 @@
1
- import{b as n}from"./tslib.es6-8a4b7ccb.js";import t from"react";import e from"styled-components";import{M as i}from"./utils-ac14bf5c.js";var o,a=e.label(o||(o=n(["\n &[data-size='label1'] {\n font-size: 14px;\n line-height: 22px;\n }\n &[data-size='label2'] {\n font-size: 13px;\n line-height: 19px;\n }\n"],["\n &[data-size='label1'] {\n font-size: 14px;\n line-height: 22px;\n }\n &[data-size='label2'] {\n font-size: 13px;\n line-height: 19px;\n }\n"]))),r=function(n){var e=n.children,i=n.className,o=n.style,r=n.htmlFor,s=n.size;return t.createElement(a,{"data-size":s,className:i,style:o,htmlFor:r},e)},s=e.div(p||(p=n(["\n position: relative;\n width: 100%;\n\n &[data-has-error] {\n input {\n border-color: ",";\n }\n }\n\n input {\n width: 100%;\n padding: 12px 16px;\n border: solid 1px ",";\n border-radius: 6px;\n\n &:active,\n &:focus,\n &.focused {\n border-color: ",";\n box-shadow: 0px 0px 2px 2px ",";\n }\n\n &:disabled {\n background-color: ",";\n cursor: not-allowed;\n }\n }\n\n &[data-has-action-icon] {\n input {\n padding: 12px 48px 12px 16px;\n }\n }\n &[data-has-display-icon] {\n input {\n padding: 12px 16px 12px 48px;\n }\n }\n\n &[data-has-action-icon][data-has-display-icon] {\n input {\n padding: 12px 48px;\n }\n }\n\n &[data-size='lg'] {\n input {\n font-size: 16px;\n font-weight: ",";\n "," {\n font-size: 22px;\n line-height: 1.2;\n }\n\n "," {\n font-size: 26px;\n line-height: 1.2;\n }\n }\n }\n &[data-size='md'] {\n input {\n font-weight: ",";\n line-height: 22px;\n "," {\n font-size: 14px;\n line-height: 1.2;\n }\n\n "," {\n font-size: 16px;\n line-height: 1.2;\n }\n }\n }\n &[data-size='sm'] {\n input {\n font-weight: ",";\n line-height: 20px;\n "," {\n font-size: 13px;\n line-height: 1.5;\n }\n\n "," {\n font-size: 13px;\n line-height: 1.5;\n }\n }\n }\n"],["\n position: relative;\n width: 100%;\n\n &[data-has-error] {\n input {\n border-color: ",";\n }\n }\n\n input {\n width: 100%;\n padding: 12px 16px;\n border: solid 1px ",";\n border-radius: 6px;\n\n &:active,\n &:focus,\n &.focused {\n border-color: ",";\n box-shadow: 0px 0px 2px 2px ",";\n }\n\n &:disabled {\n background-color: ",";\n cursor: not-allowed;\n }\n }\n\n &[data-has-action-icon] {\n input {\n padding: 12px 48px 12px 16px;\n }\n }\n &[data-has-display-icon] {\n input {\n padding: 12px 16px 12px 48px;\n }\n }\n\n &[data-has-action-icon][data-has-display-icon] {\n input {\n padding: 12px 48px;\n }\n }\n\n &[data-size='lg'] {\n input {\n font-size: 16px;\n font-weight: ",";\n "," {\n font-size: 22px;\n line-height: 1.2;\n }\n\n "," {\n font-size: 26px;\n line-height: 1.2;\n }\n }\n }\n &[data-size='md'] {\n input {\n font-weight: ",";\n line-height: 22px;\n "," {\n font-size: 14px;\n line-height: 1.2;\n }\n\n "," {\n font-size: 16px;\n line-height: 1.2;\n }\n }\n }\n &[data-size='sm'] {\n input {\n font-weight: ",";\n line-height: 20px;\n "," {\n font-size: 13px;\n line-height: 1.5;\n }\n\n "," {\n font-size: 13px;\n line-height: 1.5;\n }\n }\n }\n"])),(function(n){return n.theme.colors.red700}),(function(n){return n.theme.colors.gray200}),(function(n){return n.theme.colors.primaryBase}),(function(n){return n.theme.colors.blue200}),(function(n){return n.theme.colors.gray100}),(function(n){return n.theme.sizes.fwRegular}),i.mbDown,i.mbUp,(function(n){return n.theme.sizes.fwRegular}),i.mbDown,i.mbUp,(function(n){return n.theme.sizes.fwRegular}),i.mbDown,i.mbUp);e.label(l||(l=n(["\n display: inline-block;\n margin-bottom: 4px;\n color: ",";\n font-weight: ",";\n"],["\n display: inline-block;\n margin-bottom: 4px;\n color: ",";\n font-weight: ",";\n"])),(function(n){return n.theme.colors.gray600}),(function(n){return n.theme.sizes.fwBold}));var p,l,d,h,x,c=e.label(d||(d=n(["\n color: ",";\n font-weight: ",";\n"],["\n color: ",";\n font-weight: ",";\n"])),(function(n){return n.theme.colors.red700}),(function(n){return n.theme.sizes.fwRegular})),u=e.div(h||(h=n(["\n position: absolute;\n top: 50%;\n right: 16px;\n cursor: pointer;\n transform: translateY(-50%);\n"],["\n position: absolute;\n top: 50%;\n right: 16px;\n cursor: pointer;\n transform: translateY(-50%);\n"]))),f=e.div(x||(x=n(["\n position: absolute;\n top: 50%;\n left: 16px;\n display: inline-flex;\n cursor: default;\n transform: translateY(-50%);\n"],["\n position: absolute;\n top: 50%;\n left: 16px;\n display: inline-flex;\n cursor: default;\n transform: translateY(-50%);\n"])));export{r as L,s as S,f as a,u as b,c};
@@ -1 +0,0 @@
1
- import{d as t}from"./index-89503402.js";import{i as o}from"./isProduction-828df1d0.js";var c=function(c,n){var a="development"===process.env.NEXT_PUBLIC_DEPLOY_ENV;return a?"http://localhost:3000":"https://".concat(!a&&!o?n?"fe.":"discover.":n?"www.":"").concat(t[n?"vi-VN_MB":c])},n=function(c,n){return"https://".concat(o?"id.":"staging-id.").concat(t[n?"vi-VN_MB":c])},a=function(){return"https://".concat(o?"together.":"staging-together.","hellohealthgroup.com")},e=function(c){return"https://".concat(o?"wp.":"staging.").concat(t[c])},r=function(){return"https://".concat(o?"health-care.":"service-health-care.","hellohealthgroup.com")};export{n as a,a as b,e as c,r as d,c as g};
@@ -1 +0,0 @@
1
- import{d as t,e as r}from"./tslib.es6-8a4b7ccb.js";import{useState as n,useEffect as o,useCallback as a}from"react";import{a as i}from"./getDynamicHealthTool-acff236a.js";var e=function(e){var c=n([]),l=c[0],s=c[1];o((function(){t(void 0,void 0,void 0,(function(){var t;return r(this,(function(r){switch(r.label){case 0:return[4,i(e)];case 1:return t=r.sent(),s(t),[2]}}))}))}),[i,e]);var u=a((function(t){var r;return(null===(r=l.find((function(r){return r.template===t})))||void 0===r?void 0:r.link)||""}),[l]);return{allTools:l,getHealthToolLink:u}};export{e as u};
@@ -1 +0,0 @@
1
- "use strict";var n=require("./tslib.es6-4522cb7e.js"),e=require("react"),t=require("styled-components"),i=require("./utils-0a05b687.js");function o(n){return n&&"object"==typeof n&&"default"in n?n:{default:n}}var a,r=o(e),p=o(t),s=p.default.label(a||(a=n.__makeTemplateObject(["\n &[data-size='label1'] {\n font-size: 14px;\n line-height: 22px;\n }\n &[data-size='label2'] {\n font-size: 13px;\n line-height: 19px;\n }\n"],["\n &[data-size='label1'] {\n font-size: 14px;\n line-height: 22px;\n }\n &[data-size='label2'] {\n font-size: 13px;\n line-height: 19px;\n }\n"]))),l=p.default.div(d||(d=n.__makeTemplateObject(["\n position: relative;\n width: 100%;\n\n &[data-has-error] {\n input {\n border-color: ",";\n }\n }\n\n input {\n width: 100%;\n padding: 12px 16px;\n border: solid 1px ",";\n border-radius: 6px;\n\n &:active,\n &:focus,\n &.focused {\n border-color: ",";\n box-shadow: 0px 0px 2px 2px ",";\n }\n\n &:disabled {\n background-color: ",";\n cursor: not-allowed;\n }\n }\n\n &[data-has-action-icon] {\n input {\n padding: 12px 48px 12px 16px;\n }\n }\n &[data-has-display-icon] {\n input {\n padding: 12px 16px 12px 48px;\n }\n }\n\n &[data-has-action-icon][data-has-display-icon] {\n input {\n padding: 12px 48px;\n }\n }\n\n &[data-size='lg'] {\n input {\n font-size: 16px;\n font-weight: ",";\n "," {\n font-size: 22px;\n line-height: 1.2;\n }\n\n "," {\n font-size: 26px;\n line-height: 1.2;\n }\n }\n }\n &[data-size='md'] {\n input {\n font-weight: ",";\n line-height: 22px;\n "," {\n font-size: 14px;\n line-height: 1.2;\n }\n\n "," {\n font-size: 16px;\n line-height: 1.2;\n }\n }\n }\n &[data-size='sm'] {\n input {\n font-weight: ",";\n line-height: 20px;\n "," {\n font-size: 13px;\n line-height: 1.5;\n }\n\n "," {\n font-size: 13px;\n line-height: 1.5;\n }\n }\n }\n"],["\n position: relative;\n width: 100%;\n\n &[data-has-error] {\n input {\n border-color: ",";\n }\n }\n\n input {\n width: 100%;\n padding: 12px 16px;\n border: solid 1px ",";\n border-radius: 6px;\n\n &:active,\n &:focus,\n &.focused {\n border-color: ",";\n box-shadow: 0px 0px 2px 2px ",";\n }\n\n &:disabled {\n background-color: ",";\n cursor: not-allowed;\n }\n }\n\n &[data-has-action-icon] {\n input {\n padding: 12px 48px 12px 16px;\n }\n }\n &[data-has-display-icon] {\n input {\n padding: 12px 16px 12px 48px;\n }\n }\n\n &[data-has-action-icon][data-has-display-icon] {\n input {\n padding: 12px 48px;\n }\n }\n\n &[data-size='lg'] {\n input {\n font-size: 16px;\n font-weight: ",";\n "," {\n font-size: 22px;\n line-height: 1.2;\n }\n\n "," {\n font-size: 26px;\n line-height: 1.2;\n }\n }\n }\n &[data-size='md'] {\n input {\n font-weight: ",";\n line-height: 22px;\n "," {\n font-size: 14px;\n line-height: 1.2;\n }\n\n "," {\n font-size: 16px;\n line-height: 1.2;\n }\n }\n }\n &[data-size='sm'] {\n input {\n font-weight: ",";\n line-height: 20px;\n "," {\n font-size: 13px;\n line-height: 1.5;\n }\n\n "," {\n font-size: 13px;\n line-height: 1.5;\n }\n }\n }\n"])),(function(n){return n.theme.colors.red700}),(function(n){return n.theme.colors.gray200}),(function(n){return n.theme.colors.primaryBase}),(function(n){return n.theme.colors.blue200}),(function(n){return n.theme.colors.gray100}),(function(n){return n.theme.sizes.fwRegular}),i.MediaQueries.mbDown,i.MediaQueries.mbUp,(function(n){return n.theme.sizes.fwRegular}),i.MediaQueries.mbDown,i.MediaQueries.mbUp,(function(n){return n.theme.sizes.fwRegular}),i.MediaQueries.mbDown,i.MediaQueries.mbUp);p.default.label(u||(u=n.__makeTemplateObject(["\n display: inline-block;\n margin-bottom: 4px;\n color: ",";\n font-weight: ",";\n"],["\n display: inline-block;\n margin-bottom: 4px;\n color: ",";\n font-weight: ",";\n"])),(function(n){return n.theme.colors.gray600}),(function(n){return n.theme.sizes.fwBold}));var d,u,h,c,x,f=p.default.label(h||(h=n.__makeTemplateObject(["\n color: ",";\n font-weight: ",";\n"],["\n color: ",";\n font-weight: ",";\n"])),(function(n){return n.theme.colors.red700}),(function(n){return n.theme.sizes.fwRegular})),g=p.default.div(c||(c=n.__makeTemplateObject(["\n position: absolute;\n top: 50%;\n right: 16px;\n cursor: pointer;\n transform: translateY(-50%);\n"],["\n position: absolute;\n top: 50%;\n right: 16px;\n cursor: pointer;\n transform: translateY(-50%);\n"]))),m=p.default.div(x||(x=n.__makeTemplateObject(["\n position: absolute;\n top: 50%;\n left: 16px;\n display: inline-flex;\n cursor: default;\n transform: translateY(-50%);\n"],["\n position: absolute;\n top: 50%;\n left: 16px;\n display: inline-flex;\n cursor: default;\n transform: translateY(-50%);\n"])));exports.Label=function(n){var e=n.children,t=n.className,i=n.style,o=n.htmlFor,a=n.size;return r.default.createElement(s,{"data-size":a,className:t,style:i,htmlFor:o},e)},exports.StyledActionIcon=g,exports.StyledDisplayIcon=m,exports.StyledErrorLabel=f,exports.StyledInput=l;
File without changes
File without changes
File without changes