@hhgtech/hhg-components 1.29.82 → 1.29.83
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/LastPeriod-79a8acbe.js +29 -0
- package/build/Locale-0b86b849.js +15 -0
- package/build/{WhatsApp-46f4f408.js → WhatsApp-19ca0437.js} +1 -1
- package/build/adapters.js +22 -17
- package/build/atoms.js +51 -45
- package/build/babyGrowth.js +169 -162
- package/build/cache.js +3 -3
- package/build/care.js +22 -17
- package/build/components.js +136 -109
- package/build/{constants-223c01fc.js → constants-79d3ff1b.js} +4 -4
- package/build/constants-e85d7085.js +18 -0
- package/build/constants.js +17 -13
- package/build/constantsDomainLocales.js +34 -0
- package/build/{isProduction-20cd663d.js → constantsIsProduction.js} +2 -0
- package/build/constantsRiskScreener.js +21 -0
- package/build/constantsSite.js +134 -0
- package/build/{core-9d69a722.js → core-9f7c0442.js} +4 -4
- package/build/dataTransform-1e0514ef.js +13 -0
- package/build/{dataTransform-e39297c1.js → dataTransform-265f1b67.js} +1 -106
- package/build/ecom.js +10 -6
- package/build/embeddedHeathToolCards_babyGrowth.js +64 -0
- package/build/embeddedHeathToolCards_babyPoop.js +57 -0
- package/build/embeddedHeathToolCards_babyVaccine.js +64 -0
- package/build/embeddedHeathToolCards_bmi_bmi.js +70 -0
- package/build/embeddedHeathToolCards_bmrBmr.js +70 -0
- package/build/embeddedHeathToolCards_dueDate_dueDate.js +65 -0
- package/build/embeddedHeathToolCards_helpers.js +11 -0
- package/build/embeddedHeathToolCards_ovulation_ovulation.js +64 -0
- package/build/embeddedHeathToolCards_pwg_pwg.js +70 -0
- package/build/embeddedHeathToolCards_targetHeartRate.js +73 -0
- package/build/esm/LastPeriod-62287ef2.js +23 -0
- package/build/esm/Locale-c6a90240.js +15 -0
- package/build/esm/{WhatsApp-c599b715.js → WhatsApp-2e6d1d02.js} +1 -1
- package/build/esm/adapters.js +22 -17
- package/build/esm/atoms.js +51 -45
- package/build/esm/babyGrowth.js +87 -81
- package/build/esm/cache.js +3 -3
- package/build/esm/care.js +22 -17
- package/build/esm/components.js +104 -77
- package/build/esm/constants-a5d70cf5.js +16 -0
- package/build/esm/{constants-bb470362.js → constants-e930bc7b.js} +2 -2
- package/build/esm/constants.js +7 -3
- package/build/esm/constantsDomainLocales.js +29 -0
- package/build/esm/{isProduction-1937d355.js → constantsIsProduction.js} +1 -1
- package/build/esm/constantsRiskScreener.js +17 -0
- package/build/esm/constantsSite.js +129 -0
- package/build/esm/{core-80bfe8b7.js → core-36290fcb.js} +2 -2
- package/build/esm/dataTransform-14587328.js +11 -0
- package/build/esm/{dataTransform-623716c3.js → dataTransform-8852461c.js} +2 -101
- package/build/esm/ecom.js +9 -5
- package/build/esm/embeddedHeathToolCards_babyGrowth.js +56 -0
- package/build/esm/embeddedHeathToolCards_babyPoop.js +49 -0
- package/build/esm/embeddedHeathToolCards_babyVaccine.js +56 -0
- package/build/esm/embeddedHeathToolCards_bmi_bmi.js +62 -0
- package/build/esm/embeddedHeathToolCards_bmrBmr.js +62 -0
- package/build/esm/embeddedHeathToolCards_dueDate_dueDate.js +57 -0
- package/build/esm/embeddedHeathToolCards_helpers.js +7 -0
- package/build/esm/embeddedHeathToolCards_ovulation_ovulation.js +56 -0
- package/build/esm/embeddedHeathToolCards_pwg_pwg.js +62 -0
- package/build/esm/embeddedHeathToolCards_targetHeartRate.js +65 -0
- package/build/esm/{fixedBottomAdBlock-60a5d48f.js → fixedBottomAdBlock-26b94f6b.js} +35 -410
- package/build/esm/footer.js +23 -18
- package/build/esm/gAssets.js +4 -5
- package/build/esm/healthToolsCardWrapper.js +33 -0
- package/build/esm/healthToolsForm.js +39 -25
- package/build/esm/hooks.js +21 -17
- package/build/esm/i18n.js +2 -2
- package/build/esm/i18nV2.js +2 -2
- package/build/esm/{index-29908d2c.js → index-03050142.js} +1 -1
- package/build/esm/{index-9b3a8b6d.js → index-03d7200e.js} +12 -10
- package/build/esm/index-21524e86.js +249 -0
- package/build/esm/{index-f660abb7.js → index-288b564e.js} +3 -3
- package/build/esm/index-3060c2dc.js +174 -0
- package/build/esm/{index-10ab6596.js → index-3288f45c.js} +8 -7
- package/build/esm/{index-0ee66974.js → index-343e5b65.js} +2 -2
- package/build/esm/{index-7a1ea734.js → index-345e507e.js} +3 -3
- package/build/esm/{index-189d7601.js → index-38ced379.js} +3 -15
- package/build/esm/{index-6210f454.js → index-39aa0c9f.js} +9 -168
- package/build/esm/{index-0b745f46.js → index-39f24b49.js} +20 -18
- package/build/esm/{index-8eb04f36.js → index-3e2f70fe.js} +11 -11
- package/build/esm/{index-cfedca38.js → index-3e3904ec.js} +2 -2
- package/build/esm/{index-01b5d2e9.js → index-40b6555d.js} +4 -4
- package/build/esm/{index-9f99909b.js → index-41a809d7.js} +3 -3
- package/build/esm/{index-cdc50618.js → index-4d06fffe.js} +1 -1
- package/build/esm/{index-8fcf671c.js → index-506563f6.js} +8 -8
- package/build/esm/{index-bcedec73.js → index-5369d2e2.js} +15 -13
- package/build/esm/index-6125d991.js +370 -0
- package/build/esm/index-64dff9b0.js +233 -0
- package/build/esm/{index-fa67d66e.js → index-6dd92895.js} +21 -19
- package/build/esm/{index-c2584051.js → index-7720a710.js} +4 -4
- package/build/esm/{index-5723381f.js → index-7a1552e9.js} +2 -2
- package/build/esm/index-7c678785.js +259 -0
- package/build/esm/{index-0ca9b175.js → index-88c06a7e.js} +2 -2
- package/build/esm/{index-13d8dd4b.js → index-90d58b18.js} +7 -6
- package/build/esm/{index-7c384ae6.js → index-96a5f239.js} +6 -5
- package/build/esm/index-9a8df805.js +147 -0
- package/build/esm/{index-c013ba1b.js → index-9aee96f2.js} +5 -4
- package/build/esm/index-a1658f07.js +60 -0
- package/build/esm/{constants-fa475b0f.js → index-a1d2c38b.js} +6 -21
- package/build/esm/{index-219e3a35.js → index-a51336b9.js} +11 -11
- package/build/esm/{index-07f3f47e.js → index-a57a5338.js} +2 -2
- package/build/esm/{index-ea63e0d2.js → index-a7f10a58.js} +4 -4
- package/build/esm/{index-f4b938f2.js → index-b123bf27.js} +1 -1
- package/build/esm/{index-01405723.js → index-b1e1f9b4.js} +13 -12
- package/build/esm/{index-f22f6e6e.js → index-b2ea5cc7.js} +9 -8
- package/build/esm/{index-e0b0d6a2.js → index-b5019321.js} +7 -7
- package/build/esm/{index-9471fca1.js → index-b9c4dfcb.js} +2 -2
- package/build/esm/{index-acf8b60e.js → index-bb53d99f.js} +2 -2
- package/build/esm/{index-1d3c6ce7.js → index-bdc3bd61.js} +1 -1
- package/build/esm/{index-02d3f05b.js → index-c41ef517.js} +23 -19
- package/build/esm/{index-0cd3523c.js → index-d462b2bd.js} +35 -31
- package/build/esm/{index-21256394.js → index-d5bcc5cc.js} +1 -1
- package/build/esm/{index-d6a5f5cf.js → index-d9555b0b.js} +17 -260
- package/build/esm/{index-2dc7803d.js → index-e0f8a206.js} +6 -5
- package/build/esm/{index-c430773c.js → index-e6b9c7d8.js} +29 -25
- package/build/esm/index-e9d85fda.js +91 -0
- package/build/esm/{index-046778af.js → index-f0184ea4.js} +2 -2
- package/build/esm/{index-049e0270.js → index-f1025cea.js} +3 -3
- package/build/esm/index-f3903d13.js +101 -0
- package/build/esm/{index-9b9c1499.js → index-f93799fc.js} +2 -2
- package/build/esm/{index-1c9b481b.js → index-fa83ce20.js} +2 -2
- package/build/esm/index-fb8f8203.js +140 -0
- package/build/esm/index.js +118 -90
- package/build/esm/interfaces/constants/domainLocales.d.ts +25 -0
- package/build/esm/interfaces/constants/index.d.ts +1 -25
- package/build/esm/{labelSorting-7351409a.js → labelSorting-e7fa8826.js} +4 -4
- package/build/esm/lead.js +26 -21
- package/build/esm/{logoIcon-3a581efb.js → logoIcon-b0ce60d0.js} +2 -2
- package/build/esm/mantine.js +28 -23
- package/build/esm/misc.js +27 -21
- package/build/esm/{cookieHelper-6c3b4790.js → miscCookieHelper.js} +1 -1
- package/build/esm/{defaultClassWrapper-00903c00.js → miscDefaultClassWrapper.js} +1 -1
- package/build/esm/{getDynamicHealthTool-82855adc.js → miscGetDynamicHealthTool.js} +13 -5
- package/build/esm/{getSocialList-7d2cf48d.js → miscGetSocialList.js} +16 -6
- package/build/esm/{dataTransform-55f67eed.js → miscScreenSizeContext.js} +2 -12
- package/build/esm/{theme-7dadf4a1.js → miscTheme.js} +1 -1
- package/build/esm/molecules.js +84 -57
- package/build/esm/navigation.js +44 -37
- package/build/esm/onboardingV2.js +30 -25
- package/build/esm/organisms.js +48 -41
- package/build/esm/other-9b439f19.js +102 -0
- package/build/esm/pwg.js +25 -20
- package/build/esm/{routing-9e330438.js → routing-f2e46f96.js} +3 -2
- package/build/esm/subot.js +35 -29
- package/build/esm/surveyOrPremiumBanner.js +34 -28
- package/build/esm/surveyQuestionCard.js +11 -10
- package/build/esm/{surveyThankyouCard-ec204631.js → surveyThankyouCard-9d482ef8.js} +6 -6
- package/build/esm/together/togetherComponentGlobalContext.d.ts +1 -2
- package/build/esm/together.js +50 -43
- package/build/esm/togetherApiPaths.js +165 -0
- package/build/esm/togetherApiUtils.js +10 -0
- package/build/esm/togetherAtoms.js +34 -28
- package/build/esm/togetherComponentGlobalContext.js +7 -9
- package/build/esm/togetherMolecules.js +41 -34
- package/build/esm/togetherOrganisms.js +45 -38
- package/build/esm/{treePopoverMenu-cb214db6.js → treePopoverMenu-890070aa.js} +18 -16
- package/build/esm/{types-ffcf5fb4.js → types-e21a244d.js} +14 -13
- package/build/esm/types.js +2 -1
- package/build/esm/{useCategory-553bee0b.js → useCategory-45ce6ea8.js} +6 -5
- package/build/esm/{useHealthToolCache-6ce1724e.js → useHealthToolCache-fe7dc697.js} +2 -2
- package/build/esm/{useMantineLocale-453f8013.js → useMantineLocale-faa72172.js} +5 -3
- package/build/esm/{usePlacesAutocomplete-8925d4fb.js → usePlacesAutocomplete-81624098.js} +1 -1
- package/build/esm/useTogetherAuthRequiredAction.js +7 -9
- package/build/esm/{useTranslations-b970f667.js → useTranslations-ba901edf.js} +1 -1
- package/build/{utils-15a9772e.js → esm/utils-40533779.js} +1 -114
- package/build/esm/{utils-3b29eb79.js → utils-c730ad5d.js} +16 -163
- package/build/esm/{utils-6d45bdd1.js → utils-dbc80293.js} +2 -1
- package/build/esm/vaccination.js +23 -18
- package/build/{fixedBottomAdBlock-0129a006.js → fixedBottomAdBlock-026650fb.js} +155 -540
- package/build/footer.js +23 -18
- package/build/gAssets.js +4 -5
- package/build/healthToolsCardWrapper.js +41 -0
- package/build/healthToolsForm.js +45 -31
- package/build/hooks.js +21 -17
- package/build/i18n.js +1 -1
- package/build/i18nV2.js +1 -1
- package/build/{index-1fdf2f01.js → index-036fe55d.js} +4 -4
- package/build/{index-466a2c32.js → index-03da3dbb.js} +48 -46
- package/build/{index-a2664204.js → index-1950777d.js} +7 -7
- package/build/index-1fe1ec7e.js +180 -0
- package/build/{index-405faafa.js → index-251187e5.js} +2 -2
- package/build/{index-ca616373.js → index-2ce6cc83.js} +2 -2
- package/build/{index-a8680a58.js → index-3129e975.js} +6 -6
- package/build/{index-f222ee45.js → index-323d2766.js} +2 -2
- package/build/{index-d9919cd2.js → index-325d93fc.js} +119 -115
- package/build/{index-7ecc69af.js → index-34b1babf.js} +19 -18
- package/build/{index-53e14542.js → index-385f27fb.js} +4 -4
- package/build/index-3db01ab3.js +146 -0
- package/build/{index-4357a324.js → index-48ef94cb.js} +11 -11
- package/build/{index-765ed75d.js → index-4b98362e.js} +6 -6
- package/build/index-4c18e4ba.js +97 -0
- package/build/{index-4bc690c9.js → index-4ef9be86.js} +9 -9
- package/build/index-5fdde636.js +256 -0
- package/build/{index-e3bbd009.js → index-617bff8c.js} +33 -197
- package/build/{index-2fd9063e.js → index-66e789cf.js} +4 -4
- package/build/index-6b23104e.js +108 -0
- package/build/{index-71843eb4.js → index-6bcde89a.js} +5 -5
- package/build/{index-7953fb8e.js → index-6daafc7b.js} +12 -12
- package/build/{index-64d8db08.js → index-6e7aede8.js} +5 -5
- package/build/index-6e85bdbb.js +239 -0
- package/build/{index-16ed0d98.js → index-70a7d73e.js} +12 -11
- package/build/{index-fd3e1d16.js → index-72b989a7.js} +3 -3
- package/build/index-72e5dba6.js +153 -0
- package/build/{constants-f182fc32.js → index-769ecf0d.js} +8 -24
- package/build/{index-9e8877c0.js → index-7b98097c.js} +2 -2
- package/build/{index-b66ae554.js → index-7e89d856.js} +18 -17
- package/build/{index-4b7d4b5b.js → index-7efbe5e3.js} +9 -9
- package/build/{index-3eb666e6.js → index-8cb3f562.js} +1 -1
- package/build/{index-a9bdf889.js → index-92a816de.js} +25 -24
- package/build/{index-206afefb.js → index-99ddd1a4.js} +6 -5
- package/build/{index-ec34e358.js → index-a0659d79.js} +14 -14
- package/build/{index-a9bbb5aa.js → index-a8c1c011.js} +11 -11
- package/build/index-aef8a50c.js +267 -0
- package/build/{index-130e0f35.js → index-b76dcc89.js} +68 -64
- package/build/{index-dd074159.js → index-b99e7941.js} +1 -1
- package/build/{index-077bf48f.js → index-bd0008c0.js} +52 -50
- package/build/{index-10760994.js → index-bd37f7ea.js} +9 -9
- package/build/index-be727078.js +66 -0
- package/build/{index-a6a9855f.js → index-cb1c7190.js} +11 -11
- package/build/{index-1e1d8eb1.js → index-cb4ea8c9.js} +26 -24
- package/build/index-d71aec74.js +377 -0
- package/build/{index-1f3fc2e3.js → index-d91f52cc.js} +3 -15
- package/build/{index-33432b02.js → index-db6d4daf.js} +33 -33
- package/build/{index-dff7ee1b.js → index-df9447b3.js} +41 -39
- package/build/{index-4cdcdbbe.js → index-e239d386.js} +13 -12
- package/build/{index-54aeefca.js → index-eddf350b.js} +2 -2
- package/build/{index-0b727664.js → index-eeb7220e.js} +8 -7
- package/build/{index-2afbeb3d.js → index-f5956cd0.js} +137 -133
- package/build/index-fbfa2310.js +320 -0
- package/build/{index-6aeb5ff5.js → index-fe74a1a3.js} +59 -59
- package/build/index.js +195 -167
- package/build/interfaces/constants/domainLocales.d.ts +25 -0
- package/build/interfaces/constants/index.d.ts +1 -25
- package/build/{labelSorting-f86081b7.js → labelSorting-1905fd49.js} +4 -4
- package/build/lead.js +43 -38
- package/build/{logoIcon-21a16853.js → logoIcon-d9adf505.js} +2 -2
- package/build/mantine.js +28 -23
- package/build/misc.js +39 -33
- package/build/{cookieHelper-86ae022e.js → miscCookieHelper.js} +2 -0
- package/build/{defaultClassWrapper-b7719693.js → miscDefaultClassWrapper.js} +2 -0
- package/build/{getDynamicHealthTool-f08b5fab.js → miscGetDynamicHealthTool.js} +14 -4
- package/build/{getSocialList-8cc32f7c.js → miscGetSocialList.js} +46 -34
- package/build/{dataTransform-ded2692d.js → miscScreenSizeContext.js} +3 -12
- package/build/{theme-be20929b.js → miscTheme.js} +2 -0
- package/build/molecules.js +106 -79
- package/build/navigation.js +44 -37
- package/build/onboardingV2.js +40 -35
- package/build/organisms.js +48 -41
- package/build/other-0edcc417.js +104 -0
- package/build/pwg.js +60 -55
- package/build/{routing-d6c9099a.js → routing-54391665.js} +10 -9
- package/build/subot.js +104 -98
- package/build/surveyOrPremiumBanner.js +34 -28
- package/build/surveyQuestionCard.js +11 -10
- package/build/{surveyThankyouCard-5b23b8f6.js → surveyThankyouCard-c7e94445.js} +25 -25
- package/build/together/togetherComponentGlobalContext.d.ts +1 -2
- package/build/together.js +50 -43
- package/build/togetherApiPaths.js +173 -0
- package/build/togetherApiUtils.js +40 -0
- package/build/togetherAtoms.js +34 -28
- package/build/togetherComponentGlobalContext.js +7 -9
- package/build/togetherMolecules.js +41 -34
- package/build/togetherOrganisms.js +45 -38
- package/build/{treePopoverMenu-c0cb395f.js → treePopoverMenu-dbb4b61e.js} +28 -26
- package/build/{types-8d9c5f21.js → types-ce7323a0.js} +88 -87
- package/build/types.js +6 -5
- package/build/{useCategory-b695fd3a.js → useCategory-04ea2a70.js} +18 -17
- package/build/{useHealthToolCache-048807ea.js → useHealthToolCache-9d59f009.js} +4 -4
- package/build/{useMantineLocale-0d63dfea.js → useMantineLocale-f9195d27.js} +26 -24
- package/build/{usePlacesAutocomplete-9520e525.js → usePlacesAutocomplete-8360abe0.js} +1 -1
- package/build/useTogetherAuthRequiredAction.js +8 -10
- package/build/{useTranslations-685f989b.js → useTranslations-80687df4.js} +1 -1
- package/build/{utils-1a00c0f8.js → utils-4849ab04.js} +11 -10
- package/build/{esm/utils-d7bbdb52.js → utils-928b4701.js} +11 -101
- package/build/{utils-169c6a7d.js → utils-e4d5701e.js} +26 -172
- package/build/vaccination.js +72 -67
- package/package.json +1 -1
- package/build/esm/index-ac2a8f95.js +0 -1114
- package/build/index-00a78d81.js +0 -565
- package/build/index-60f6d762.js +0 -1127
- /package/build/{BMI_BOYS.percentile.monthly-1aa95e30.js → BMI_BOYS.percentile.monthly-5ba0659a.js} +0 -0
- /package/build/{BMI_BOYS.percentile.weekly-61d78e1c.js → BMI_BOYS.percentile.weekly-879f7a42.js} +0 -0
- /package/build/{BMI_BOYS.percentile.yearly-f80e040e.js → BMI_BOYS.percentile.yearly-e4c37a27.js} +0 -0
- /package/build/{BMI_BOYS.zscore.monthly-a6c7c8ff.js → BMI_BOYS.zscore.monthly-fa3d3237.js} +0 -0
- /package/build/{BMI_BOYS.zscore.weekly-742f7028.js → BMI_BOYS.zscore.weekly-71226efa.js} +0 -0
- /package/build/{BMI_BOYS.zscore.yearly-c19cccd5.js → BMI_BOYS.zscore.yearly-92a2f05e.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.monthly-089d3981.js → BMI_GIRLS.percentile.monthly-cd39f35d.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.weekly-0cc52cda.js → BMI_GIRLS.percentile.weekly-5cb19fda.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.yearly-10bc603f.js → BMI_GIRLS.percentile.yearly-b80f3d32.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.monthly-c3fe57f3.js → BMI_GIRLS.zscore.monthly-89248182.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.weekly-b83a54db.js → BMI_GIRLS.zscore.weekly-609c3c1f.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.yearly-5f13cda2.js → BMI_GIRLS.zscore.yearly-f4587218.js} +0 -0
- /package/build/{ChevronDown-2fd86d66.js → ChevronDown-dfb97861.js} +0 -0
- /package/build/{Close-711196b0.js → Close-6296f986.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-03b8d7fb.js → HEAD CIRCUM_BOYS.percentile.monthly-a7e17d51.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-9ebd3eb6.js → HEAD CIRCUM_BOYS.percentile.weekly-688e7e30.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-8e97b738.js → HEAD CIRCUM_BOYS.percentile.yearly-5e1b6296.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-e7892261.js → HEAD CIRCUM_BOYS.zscore.monthly-e66bc7d4.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-47c5af84.js → HEAD CIRCUM_BOYS.zscore.weekly-f1221399.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-9a1bc325.js → HEAD CIRCUM_BOYS.zscore.yearly-c3dea838.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-d84491d7.js → HEAD CIRCUM_GIRLS.percentile.monthly-df5b45d4.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-a6f38c3e.js → HEAD CIRCUM_GIRLS.percentile.weekly-6c4e803a.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-5771d277.js → HEAD CIRCUM_GIRLS.percentile.yearly-05ac380c.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-e3633bcc.js → HEAD CIRCUM_GIRLS.zscore.monthly-8418b138.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-23b0ab1a.js → HEAD CIRCUM_GIRLS.zscore.weekly-02c9e21d.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-20f29cf1.js → HEAD CIRCUM_GIRLS.zscore.yearly-656652b6.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.monthly-57cc12ee.js → HEIGHT_BOYS.percentile.monthly-9b3ca406.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.weekly-c788506a.js → HEIGHT_BOYS.percentile.weekly-add16dbe.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.yearly-ac56c1f2.js → HEIGHT_BOYS.percentile.yearly-a338c8a8.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.monthly-1bb78253.js → HEIGHT_BOYS.zscore.monthly-7caebf2d.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.weekly-22737c43.js → HEIGHT_BOYS.zscore.weekly-5962317e.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.yearly-90f6cd0a.js → HEIGHT_BOYS.zscore.yearly-b1576fab.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.monthly-019f80d2.js → HEIGHT_GIRLS.percentile.monthly-937209f6.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.weekly-ceed9817.js → HEIGHT_GIRLS.percentile.weekly-c571a906.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.yearly-3e5192ac.js → HEIGHT_GIRLS.percentile.yearly-e78281ec.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.monthly-f8fca0b6.js → HEIGHT_GIRLS.zscore.monthly-e5212600.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.weekly-827b17e8.js → HEIGHT_GIRLS.zscore.weekly-3c269af1.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.yearly-3cdb483d.js → HEIGHT_GIRLS.zscore.yearly-449bc93d.js} +0 -0
- /package/build/{Visible-515a4eec.js → Visible-16859c31.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.monthly-2ecbd498.js → WEIGHT_BOYS.percentile.monthly-85da0f0a.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.weekly-75c9c25c.js → WEIGHT_BOYS.percentile.weekly-9229beac.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.yearly-03e7cea6.js → WEIGHT_BOYS.percentile.yearly-e8a3c476.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.monthly-2ff9fb56.js → WEIGHT_BOYS.zscore.monthly-20bef361.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.weekly-e9f7fe2d.js → WEIGHT_BOYS.zscore.weekly-0ec853d0.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.yearly-4a96f34f.js → WEIGHT_BOYS.zscore.yearly-fccc526c.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.monthly-5bf09e30.js → WEIGHT_GIRLS.percentile.monthly-e7c89bed.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.weekly-f737ae23.js → WEIGHT_GIRLS.percentile.weekly-2510046f.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.yearly-56ebc8eb.js → WEIGHT_GIRLS.percentile.yearly-5046e02b.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.monthly-4697d3b5.js → WEIGHT_GIRLS.zscore.monthly-e6077126.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.weekly-3633820e.js → WEIGHT_GIRLS.zscore.weekly-1a145215.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.yearly-a9a04790.js → WEIGHT_GIRLS.zscore.yearly-31e42fc2.js} +0 -0
- /package/build/{animation-85d012ee.js → animation-f64d3491.js} +0 -0
- /package/build/{cart-8877bd63.js → cart-1cbf9c06.js} +0 -0
- /package/build/{constants-a78fa8b3.js → constants-1953275e.js} +0 -0
- /package/build/{constants-8743b014.js → constants-2aeb65f2.js} +0 -0
- /package/build/{doctor-2c14fed1.js → doctor-10ee1543.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.monthly-42ff2c64.js → BMI_BOYS.percentile.monthly-44bf9bca.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.weekly-b4a6c521.js → BMI_BOYS.percentile.weekly-14f8edd2.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.yearly-d3bc1a77.js → BMI_BOYS.percentile.yearly-609a4150.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.monthly-c4506dfa.js → BMI_BOYS.zscore.monthly-5f7b2488.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.weekly-ddf3b3f9.js → BMI_BOYS.zscore.weekly-79b9ae06.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.yearly-e0e3139e.js → BMI_BOYS.zscore.yearly-08133388.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.monthly-96686bcc.js → BMI_GIRLS.percentile.monthly-20e00636.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.weekly-c3106a65.js → BMI_GIRLS.percentile.weekly-033dda0b.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.yearly-b38c1f1f.js → BMI_GIRLS.percentile.yearly-d66fbb80.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.monthly-f8a7836f.js → BMI_GIRLS.zscore.monthly-fec8e639.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.weekly-4c1fc771.js → BMI_GIRLS.zscore.weekly-7cd36dc2.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.yearly-dce5e66a.js → BMI_GIRLS.zscore.yearly-9729495b.js} +0 -0
- /package/build/esm/{ChevronDown-31ea3e19.js → ChevronDown-b58f1e76.js} +0 -0
- /package/build/esm/{Close-40d598bc.js → Close-0390b2a2.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-34e3fa1c.js → HEAD CIRCUM_BOYS.percentile.monthly-6aa62326.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-d3f3568f.js → HEAD CIRCUM_BOYS.percentile.weekly-dccbec56.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-dfae3ad2.js → HEAD CIRCUM_BOYS.percentile.yearly-153e0846.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-95840c2f.js → HEAD CIRCUM_BOYS.zscore.monthly-3fe46c5e.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-8b198c1c.js → HEAD CIRCUM_BOYS.zscore.weekly-81fa76e0.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-b7d639ad.js → HEAD CIRCUM_BOYS.zscore.yearly-a5955c3a.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-47caa070.js → HEAD CIRCUM_GIRLS.percentile.monthly-16afd7d8.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-bae46665.js → HEAD CIRCUM_GIRLS.percentile.weekly-b0258df8.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-81989cdd.js → HEAD CIRCUM_GIRLS.percentile.yearly-fbe848aa.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-f2f7d985.js → HEAD CIRCUM_GIRLS.zscore.monthly-7cb222f7.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-e287ddb7.js → HEAD CIRCUM_GIRLS.zscore.weekly-786f37d5.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-8790b62a.js → HEAD CIRCUM_GIRLS.zscore.yearly-546970dc.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.monthly-5d2b6466.js → HEIGHT_BOYS.percentile.monthly-3fe8dd70.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.weekly-a38ad13e.js → HEIGHT_BOYS.percentile.weekly-8ff515f0.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.yearly-e4841712.js → HEIGHT_BOYS.percentile.yearly-2ed73e3c.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.monthly-d8e722f8.js → HEIGHT_BOYS.zscore.monthly-f18a337e.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.weekly-a92ea3ca.js → HEIGHT_BOYS.zscore.weekly-d06e0e09.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.yearly-3af1adce.js → HEIGHT_BOYS.zscore.yearly-e500b2d1.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-c5203801.js → HEIGHT_GIRLS.percentile.monthly-2eb2700e.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-4c25d07f.js → HEIGHT_GIRLS.percentile.weekly-2f205b6e.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-f91e2e27.js → HEIGHT_GIRLS.percentile.yearly-0d54472f.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-b2a60aca.js → HEIGHT_GIRLS.zscore.monthly-d1846835.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-0a98c520.js → HEIGHT_GIRLS.zscore.weekly-b9036bc9.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-8070d58f.js → HEIGHT_GIRLS.zscore.yearly-8dcf6e2d.js} +0 -0
- /package/build/esm/{Visible-e3e4fb6f.js → Visible-76b05e8e.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.monthly-b262b97d.js → WEIGHT_BOYS.percentile.monthly-85f7b978.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.weekly-7e817f9f.js → WEIGHT_BOYS.percentile.weekly-7c206abd.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.yearly-b7f1786a.js → WEIGHT_BOYS.percentile.yearly-52c0957d.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.monthly-014af835.js → WEIGHT_BOYS.zscore.monthly-f48a971e.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.weekly-4577f724.js → WEIGHT_BOYS.zscore.weekly-6355c54f.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.yearly-08fd3f13.js → WEIGHT_BOYS.zscore.yearly-bdb0459b.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-a6e1aa0d.js → WEIGHT_GIRLS.percentile.monthly-a3b768e9.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-4c0b6f94.js → WEIGHT_GIRLS.percentile.weekly-715f5009.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-bf689a3a.js → WEIGHT_GIRLS.percentile.yearly-c3a04a7d.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-f82fc3c8.js → WEIGHT_GIRLS.zscore.monthly-ea7be69d.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-854ce987.js → WEIGHT_GIRLS.zscore.weekly-8b92b792.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-2a3b869a.js → WEIGHT_GIRLS.zscore.yearly-8a06cbf9.js} +0 -0
- /package/build/esm/{animation-85d9a0ed.js → animation-b6d252e4.js} +0 -0
- /package/build/esm/{cart-1ac23ce7.js → cart-043dfe5c.js} +0 -0
- /package/build/esm/{constants-a5827634.js → constants-697503a2.js} +0 -0
- /package/build/esm/{constants-f6b2e49d.js → constants-b3779c5e.js} +0 -0
- /package/build/esm/{doctor-e0c2476d.js → doctor-9f166022.js} +0 -0
- /package/build/esm/{index-8684181f.js → index-36764891.js} +0 -0
- /package/build/esm/{index-ad1c7c38.js → index-44870130.js} +0 -0
- /package/build/esm/{index-266a32ff.js → index-77dc8ed1.js} +0 -0
- /package/build/esm/{index-21bca818.js → index-ee5dec8f.js} +0 -0
- /package/build/esm/{localizeNumberFormat-1f000110.js → localizeNumberFormat-4dd1fd7a.js} +0 -0
- /package/build/esm/{normalizeLink-7a93ebb9.js → normalizeLink-243e6342.js} +0 -0
- /package/build/esm/{number-1d1ba14a.js → number-129aedb0.js} +0 -0
- /package/build/esm/{paths-b83be1a0.js → paths-67ad72a7.js} +0 -0
- /package/build/esm/{translationsContext-42a1fa63.js → translationsContext-68168ff3.js} +0 -0
- /package/build/esm/{tslib.es6-06ba3978.js → tslib.es6-2d738692.js} +0 -0
- /package/build/esm/{types-721e7a66.js → types-7d3a4df2.js} +0 -0
- /package/build/esm/{useIsInit-f4dec279.js → useIsInit-6be72906.js} +0 -0
- /package/build/esm/{useOutsideClick-210c1134.js → useOutsideClick-fd3849ea.js} +0 -0
- /package/build/esm/{useScrollbarSize-909ae7ec.js → useScrollbarSize-77534d1d.js} +0 -0
- /package/build/esm/{useUniqueId-5885911d.js → useUniqueId-e84c90ce.js} +0 -0
- /package/build/{index-2de1eb4a.js → index-0168f1a0.js} +0 -0
- /package/build/{index-82c85f9d.js → index-053ed018.js} +0 -0
- /package/build/{index-bc9e8eae.js → index-90e7e427.js} +0 -0
- /package/build/{index-6fdcd09d.js → index-a73d7cb3.js} +0 -0
- /package/build/{localizeNumberFormat-7ff6bd3a.js → localizeNumberFormat-8ab6a41e.js} +0 -0
- /package/build/{normalizeLink-d307f624.js → normalizeLink-07c90859.js} +0 -0
- /package/build/{number-dddf656c.js → number-5605662c.js} +0 -0
- /package/build/{paths-7da79c64.js → paths-6b0114f1.js} +0 -0
- /package/build/{translationsContext-00fdb62e.js → translationsContext-ade0df93.js} +0 -0
- /package/build/{tslib.es6-bd3f8718.js → tslib.es6-d6fa4ee6.js} +0 -0
- /package/build/{types-b25ffde0.js → types-87a48532.js} +0 -0
- /package/build/{useIsInit-e06b96f5.js → useIsInit-08580a12.js} +0 -0
- /package/build/{useOutsideClick-d95a32b6.js → useOutsideClick-960bf73b.js} +0 -0
- /package/build/{useScrollbarSize-1499b1c3.js → useScrollbarSize-49049c18.js} +0 -0
- /package/build/{useUniqueId-1af8848e.js → useUniqueId-3c52a5c5.js} +0 -0
|
@@ -1,27 +1,28 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var tslib_es6 = require('./tslib.es6-
|
|
3
|
+
var tslib_es6 = require('./tslib.es6-d6fa4ee6.js');
|
|
4
4
|
var React = require('react');
|
|
5
5
|
var react = require('@emotion/react');
|
|
6
|
-
var useTranslations = require('./useTranslations-
|
|
6
|
+
var useTranslations = require('./useTranslations-80687df4.js');
|
|
7
7
|
var debounce = require('lodash/debounce');
|
|
8
|
-
var constants = require('./constants-
|
|
8
|
+
var constants = require('./constants-2aeb65f2.js');
|
|
9
9
|
var styled = require('@emotion/styled');
|
|
10
|
-
var index$1 = require('./index-
|
|
11
|
-
var index$2 = require('./index-
|
|
12
|
-
var
|
|
10
|
+
var index$1 = require('./index-6daafc7b.js');
|
|
11
|
+
var index$2 = require('./index-036fe55d.js');
|
|
12
|
+
var miscTheme = require('./miscTheme.js');
|
|
13
13
|
var shuffle = require('lodash/shuffle');
|
|
14
|
-
var useOutsideClick = require('./useOutsideClick-
|
|
15
|
-
var utils = require('./utils-
|
|
14
|
+
var useOutsideClick = require('./useOutsideClick-960bf73b.js');
|
|
15
|
+
var utils = require('./utils-928b4701.js');
|
|
16
16
|
var Skeleton = require('react-loading-skeleton');
|
|
17
|
-
var paths = require('./paths-
|
|
17
|
+
var paths = require('./paths-6b0114f1.js');
|
|
18
18
|
var core = require('@mantine/core');
|
|
19
|
-
var index = require('./index-
|
|
20
|
-
var
|
|
21
|
-
var index$3 = require('./index-
|
|
19
|
+
var index = require('./index-617bff8c.js');
|
|
20
|
+
var miscCookieHelper = require('./miscCookieHelper.js');
|
|
21
|
+
var index$3 = require('./index-a73d7cb3.js');
|
|
22
22
|
var core$1 = require('@hhgtech/icons/core');
|
|
23
|
-
var ChevronDown = require('./ChevronDown-
|
|
23
|
+
var ChevronDown = require('./ChevronDown-dfb97861.js');
|
|
24
24
|
var formatString = require('string-format');
|
|
25
|
+
var constantsDomainLocales = require('./constantsDomainLocales.js');
|
|
25
26
|
|
|
26
27
|
function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }
|
|
27
28
|
|
|
@@ -37,7 +38,7 @@ function useGeolocation() {
|
|
|
37
38
|
if (typeof window === 'undefined') {
|
|
38
39
|
return 'unset';
|
|
39
40
|
}
|
|
40
|
-
if (
|
|
41
|
+
if (miscCookieHelper.getCookie(index.USER_GEOLOCATION_COORDINATES_COOKIE)) {
|
|
41
42
|
return 'granted';
|
|
42
43
|
}
|
|
43
44
|
const blocked = !location.protocol.includes('https') && location.hostname !== 'localhost';
|
|
@@ -50,7 +51,7 @@ function useGeolocation() {
|
|
|
50
51
|
if (typeof window === 'undefined') {
|
|
51
52
|
return null;
|
|
52
53
|
}
|
|
53
|
-
const cookie =
|
|
54
|
+
const cookie = miscCookieHelper.getCookie(index.USER_GEOLOCATION_COORDINATES_COOKIE);
|
|
54
55
|
if (cookie) {
|
|
55
56
|
try {
|
|
56
57
|
return JSON.parse(cookie);
|
|
@@ -69,13 +70,13 @@ function useGeolocation() {
|
|
|
69
70
|
lat: `${Math.round(position.coords.latitude * 10000000) / 10000000}`,
|
|
70
71
|
lng: `${Math.round(position.coords.longitude * 10000000) / 10000000}`,
|
|
71
72
|
};
|
|
72
|
-
|
|
73
|
+
miscCookieHelper.setCookie(index.USER_GEOLOCATION_COORDINATES_COOKIE, JSON.stringify(gps), {
|
|
73
74
|
minutes: 15,
|
|
74
75
|
});
|
|
75
76
|
setCoordinates(gps);
|
|
76
77
|
setPermission('granted');
|
|
77
78
|
}, () => {
|
|
78
|
-
|
|
79
|
+
miscCookieHelper.deleteCookie(index.USER_GEOLOCATION_COORDINATES_COOKIE);
|
|
79
80
|
setPermission('denied');
|
|
80
81
|
});
|
|
81
82
|
}
|
|
@@ -161,7 +162,7 @@ const StyledLiSkeleton$1 = styled__default["default"].li `
|
|
|
161
162
|
right: 18px;
|
|
162
163
|
top: 0;
|
|
163
164
|
height: 1px;
|
|
164
|
-
background-color: ${
|
|
165
|
+
background-color: ${miscTheme.theme.colors.neutral100};
|
|
165
166
|
}
|
|
166
167
|
`;
|
|
167
168
|
const LiSkeleton = ({ count, className }) => {
|
|
@@ -179,7 +180,7 @@ const StyledLocationResultsWrapper = styled__default["default"].div `
|
|
|
179
180
|
box-shadow: 0px 24px 32px rgba(0, 0, 0, 0.04),
|
|
180
181
|
0px 16px 24px rgba(0, 0, 0, 0.04), 0px 4px 8px rgba(0, 0, 0, 0.04),
|
|
181
182
|
0px 0px 1px rgba(0, 0, 0, 0.04);
|
|
182
|
-
border-radius: ${
|
|
183
|
+
border-radius: ${miscTheme.theme.borderRadius};
|
|
183
184
|
background-color: white;
|
|
184
185
|
z-index: 30;
|
|
185
186
|
|
|
@@ -225,11 +226,11 @@ const StyledLocationItem$1 = styled__default["default"].li `
|
|
|
225
226
|
right: 18px;
|
|
226
227
|
top: 0;
|
|
227
228
|
height: 1px;
|
|
228
|
-
background-color: ${
|
|
229
|
+
background-color: ${miscTheme.theme.colors.neutral100};
|
|
229
230
|
}
|
|
230
231
|
|
|
231
232
|
&:not([data-is-denied='true']):hover {
|
|
232
|
-
background-color: ${
|
|
233
|
+
background-color: ${miscTheme.theme.colors.neutral50};
|
|
233
234
|
}
|
|
234
235
|
|
|
235
236
|
&:last-child:hover {
|
|
@@ -274,7 +275,7 @@ const LocationResults = ({ cities, isLoading, onLocationClick, selectedLocation,
|
|
|
274
275
|
});
|
|
275
276
|
}
|
|
276
277
|
} },
|
|
277
|
-
React__default["default"].createElement(StyledPinIcon$1, { color:
|
|
278
|
+
React__default["default"].createElement(StyledPinIcon$1, { color: miscTheme.theme.colors.neutral400 }),
|
|
278
279
|
React__default["default"].createElement(index$2.Text, { size: "md" }, t('booking.searchBar.allLocations'))),
|
|
279
280
|
cities.map((city) => (React__default["default"].createElement(StyledLocationItem$1, { key: city.id, onClick: (evt) => {
|
|
280
281
|
evt.nativeEvent.stopImmediatePropagation();
|
|
@@ -282,7 +283,7 @@ const LocationResults = ({ cities, isLoading, onLocationClick, selectedLocation,
|
|
|
282
283
|
onLocationClick(city);
|
|
283
284
|
}
|
|
284
285
|
}, role: "button", tabIndex: 0, "aria-label": `Select ${city.name} as location`, isSelected: (selectedLocation === null || selectedLocation === void 0 ? void 0 : selectedLocation.id) === city.id },
|
|
285
|
-
React__default["default"].createElement(StyledPinIcon$1, { color:
|
|
286
|
+
React__default["default"].createElement(StyledPinIcon$1, { color: miscTheme.theme.colors.neutral400 }),
|
|
286
287
|
React__default["default"].createElement(index$2.Text, { size: "md" }, city.name))))));
|
|
287
288
|
};
|
|
288
289
|
return (React__default["default"].createElement(StyledLocationResultsWrapper, { "data-testid": "location-search-results" },
|
|
@@ -697,7 +698,7 @@ function MobileFakeInput({ focused, value = '', onClick, trackingAttributes, inp
|
|
|
697
698
|
}
|
|
698
699
|
}, [trackingAttributes]);
|
|
699
700
|
return (React__default["default"].createElement(StyledFakeInputSearchMobile, Object.assign({ onClick: () => onClick && onClick(), ref: wrapperRef }, gaAttributes),
|
|
700
|
-
React__default["default"].createElement(StyledInput, { inputClassName: focused === 'location' ? 'focused' : undefined, name: "booking-search-placeholder", displayIcon: React__default["default"].createElement(MagnifierIcon, { color:
|
|
701
|
+
React__default["default"].createElement(StyledInput, { inputClassName: focused === 'location' ? 'focused' : undefined, name: "booking-search-placeholder", displayIcon: React__default["default"].createElement(MagnifierIcon, { color: miscTheme.theme.colors.gray400 }), placeholder: t('booking.searchBar.searchInput.placeholder'), value: value, size: "md" })));
|
|
701
702
|
}
|
|
702
703
|
|
|
703
704
|
const StyledTopBar = styled__default["default"].header `
|
|
@@ -730,13 +731,13 @@ const StyledTopbarHeading = styled__default["default"].div `
|
|
|
730
731
|
margin-left: 24px;
|
|
731
732
|
`;
|
|
732
733
|
const StyledTopbarHeadingText = styled__default["default"](index$2.Text) `
|
|
733
|
-
color: ${
|
|
734
|
+
color: ${miscTheme.theme.colors.secondaryDark};
|
|
734
735
|
text-align: start;
|
|
735
736
|
`;
|
|
736
737
|
|
|
737
738
|
const MobileTopBar = ({ className, onLeftClick, headingText, onRightClick, iconLeft, textRight, }) => {
|
|
738
739
|
return (React__default["default"].createElement(StyledTopBar, { className: className },
|
|
739
|
-
React__default["default"].createElement(StyledTopBarIcon, { onClick: onLeftClick }, iconLeft || React__default["default"].createElement(CloseIcon, { color:
|
|
740
|
+
React__default["default"].createElement(StyledTopBarIcon, { onClick: onLeftClick }, iconLeft || React__default["default"].createElement(CloseIcon, { color: miscTheme.theme.colors.gray800 })),
|
|
740
741
|
React__default["default"].createElement(StyledTopbarHeading, null,
|
|
741
742
|
React__default["default"].createElement(StyledTopbarHeadingText, { size: "md", weight: "bold" }, headingText)),
|
|
742
743
|
React__default["default"].createElement(StyledTopBarHeaderRight, { onClick: onRightClick }, textRight && React__default["default"].createElement("p", null, textRight))));
|
|
@@ -921,7 +922,7 @@ const StyledSearchBarInputsWrapper = styled__default["default"].div `
|
|
|
921
922
|
${utils.MediaQueries.mbDown} {
|
|
922
923
|
flex-direction: column;
|
|
923
924
|
padding: 14px;
|
|
924
|
-
background-color: ${
|
|
925
|
+
background-color: ${miscTheme.theme.colors.primary50};
|
|
925
926
|
|
|
926
927
|
input {
|
|
927
928
|
filter: drop-shadow(0px 4px 8px rgba(0, 0, 0, 0.04))
|
|
@@ -955,7 +956,7 @@ const SearchIcon = () => (React__default["default"].createElement("svg", { width
|
|
|
955
956
|
const StyledSearchIcon = styled__default["default"].button `
|
|
956
957
|
min-height: 100%;
|
|
957
958
|
border-radius: 6px;
|
|
958
|
-
background-color: ${
|
|
959
|
+
background-color: ${miscTheme.theme.colors.primaryBase};
|
|
959
960
|
display: flex;
|
|
960
961
|
justify-content: center;
|
|
961
962
|
align-items: center;
|
|
@@ -973,11 +974,11 @@ const StyledSearchIcon = styled__default["default"].button `
|
|
|
973
974
|
}
|
|
974
975
|
|
|
975
976
|
&:hover {
|
|
976
|
-
background-color: ${
|
|
977
|
+
background-color: ${miscTheme.theme.colors.primaryHover};
|
|
977
978
|
}
|
|
978
979
|
|
|
979
980
|
&:active {
|
|
980
|
-
background-color: ${
|
|
981
|
+
background-color: ${miscTheme.theme.colors.primaryActive};
|
|
981
982
|
}
|
|
982
983
|
|
|
983
984
|
&:focus-visible {
|
|
@@ -985,7 +986,7 @@ const StyledSearchIcon = styled__default["default"].button `
|
|
|
985
986
|
}
|
|
986
987
|
`;
|
|
987
988
|
const StyledText$1 = styled__default["default"](index$2.Text) `
|
|
988
|
-
font-weight: ${
|
|
989
|
+
font-weight: ${miscTheme.theme.sizes.fwSemiBold};
|
|
989
990
|
`;
|
|
990
991
|
const SearchButton = ({ onClick }) => {
|
|
991
992
|
const { t } = useTranslations.useTranslations();
|
|
@@ -1028,10 +1029,10 @@ function SearchInputs$1({ isMobile, state, dispatch, debouncedFetchCitiesByKeywo
|
|
|
1028
1029
|
const searchInputPinIconColor = React.useMemo(() => {
|
|
1029
1030
|
if (geoLocationPermission === 'granted' &&
|
|
1030
1031
|
(selectedLocation === null || selectedLocation === void 0 ? void 0 : selectedLocation.id) === constants.ID_OPTION_CURRENT_LOCATION) {
|
|
1031
|
-
return
|
|
1032
|
+
return miscTheme.theme.colors.primaryBase;
|
|
1032
1033
|
}
|
|
1033
1034
|
else {
|
|
1034
|
-
return
|
|
1035
|
+
return miscTheme.theme.colors.gray400;
|
|
1035
1036
|
}
|
|
1036
1037
|
}, [geoLocationPermission, selectedLocation]);
|
|
1037
1038
|
const handleSearchInputChange = React.useCallback(function handleSearchInputChange(value) {
|
|
@@ -1068,11 +1069,11 @@ function SearchInputs$1({ isMobile, state, dispatch, debouncedFetchCitiesByKeywo
|
|
|
1068
1069
|
};
|
|
1069
1070
|
return (React__default["default"].createElement(StyledSearchBarInputsWrapper, null,
|
|
1070
1071
|
React__default["default"].createElement(StyledInputLocationWrapper, { ref: inputLocationWrapperRef },
|
|
1071
|
-
React__default["default"].createElement(StyledInput, { inputClassName: focused === 'location' ? 'focused' : undefined, placeholder: t('booking.searchBar.locationPlaceholder'), autoComplete: "off", name: "search-location", displayIcon: React__default["default"].createElement(PinIcon, { className: "location-pin-icon", color: searchInputPinIconColor }), actionIcon: React__default["default"].createElement(StyledClearIcon, { color:
|
|
1072
|
+
React__default["default"].createElement(StyledInput, { inputClassName: focused === 'location' ? 'focused' : undefined, placeholder: t('booking.searchBar.locationPlaceholder'), autoComplete: "off", name: "search-location", displayIcon: React__default["default"].createElement(PinIcon, { className: "location-pin-icon", color: searchInputPinIconColor }), actionIcon: React__default["default"].createElement(StyledClearIcon, { color: miscTheme.theme.colors.gray300, className: searchLocationKeywords !== '' ? 'shown' : '' }), onActionClick: handleLocationInputClear, value: searchLocationKeywords, onChange: handleSearchLocationInputChange, onFocus: () => dispatch({ type: ActionTypes$1.FocusInputLocation }), size: "md", trackingAttributes: locationTrackingAttributes }),
|
|
1072
1073
|
!isMobile && renderLocationResults()),
|
|
1073
1074
|
React__default["default"].createElement(StyledInputSearchWrapper, { ref: inputSearchWrapperRef },
|
|
1074
1075
|
React__default["default"].createElement(StyledInput, { placeholder: inputSearchPlaceholder ||
|
|
1075
|
-
t('booking.searchBar.searchInput.placeholder'), autoComplete: "off", name: "search-results", actionIcon: React__default["default"].createElement(StyledClearIcon, { color:
|
|
1076
|
+
t('booking.searchBar.searchInput.placeholder'), autoComplete: "off", name: "search-results", actionIcon: React__default["default"].createElement(StyledClearIcon, { color: miscTheme.theme.colors.gray300, className: searchKeywords !== '' ? 'shown' : '' }), onActionClick: handleSearchInputClear, value: searchKeywords, onChange: handleSearchInputChange, onFocus: () => dispatch({ type: ActionTypes$1.FocusInputSearch }), inputClassName: focused === 'search' ? 'focused' : undefined, size: "md", trackingAttributes: trackingAttributes, onKeyPress: handleKeyPress, enterKeyHint: state.autoCompleteDisabled ? 'search' : undefined }),
|
|
1076
1077
|
!isMobile && renderSearchResults()),
|
|
1077
1078
|
state.autoCompleteDisabled && !state.isMobile && (React__default["default"].createElement(SearchButton, { onClick: () => {
|
|
1078
1079
|
onSearch({
|
|
@@ -1095,7 +1096,7 @@ const StyledTypeHeader = styled__default["default"].header `
|
|
|
1095
1096
|
display: flex;
|
|
1096
1097
|
justify-content: space-between;
|
|
1097
1098
|
padding: 12px 24px;
|
|
1098
|
-
background-color: ${
|
|
1099
|
+
background-color: ${miscTheme.theme.colors.neutral50};
|
|
1099
1100
|
box-shadow: inset 0px 1px 0px #e4e8ec;
|
|
1100
1101
|
`;
|
|
1101
1102
|
const StyledInfoWrapper = styled__default["default"].div `
|
|
@@ -1106,9 +1107,9 @@ const StyledInfoWrapper = styled__default["default"].div `
|
|
|
1106
1107
|
grid-template-columns: 16px 1fr;
|
|
1107
1108
|
`;
|
|
1108
1109
|
const StyledTypeName = styled__default["default"].p `
|
|
1109
|
-
color: ${
|
|
1110
|
+
color: ${miscTheme.theme.colors.neutral800};
|
|
1110
1111
|
font-size: 14px;
|
|
1111
|
-
font-weight: ${
|
|
1112
|
+
font-weight: ${miscTheme.theme.sizes.fwSemiBold};
|
|
1112
1113
|
letter-spacing: -0.2px;
|
|
1113
1114
|
line-height: 22px;
|
|
1114
1115
|
`;
|
|
@@ -1203,7 +1204,7 @@ const StyledRoundedIconWrapper = styled__default["default"].div `
|
|
|
1203
1204
|
}
|
|
1204
1205
|
|
|
1205
1206
|
&:focus-visible {
|
|
1206
|
-
outline: 1px solid ${
|
|
1207
|
+
outline: 1px solid ${miscTheme.theme.colors.gray600};
|
|
1207
1208
|
}
|
|
1208
1209
|
`;
|
|
1209
1210
|
const StyledText = styled__default["default"](index$2.Text) `
|
|
@@ -1248,7 +1249,7 @@ const ResultSectionItem = ({ type, item, imageUrl, className, onClickItem, }) =>
|
|
|
1248
1249
|
return (React__default["default"].createElement(StyledResult, { onClick: () => onClickItem && onClickItem(item), onKeyDown: onKeyDown, tabIndex: 0, role: "button", className: className },
|
|
1249
1250
|
React__default["default"].createElement(StyledPictureWrapper, null, type === 'hospitals' ? (React__default["default"].createElement(StyledLocationPin, { width: "12", height: "16", viewBox: "0 0 12 16" },
|
|
1250
1251
|
React__default["default"].createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M0.75 5.94873C0.75 3.04623 3.0975 0.69873 6 0.69873C8.9025 0.69873 11.25 3.04623 11.25 5.94873C11.25 9.07623 7.935 13.3887 6.5775 15.0312C6.2775 15.3912 5.73 15.3912 5.43 15.0312C4.065 13.3887 0.75 9.07623 0.75 5.94873ZM4.125 5.94873C4.125 6.98373 4.965 7.82373 6 7.82373C7.035 7.82373 7.875 6.98373 7.875 5.94873C7.875 4.91373 7.035 4.07373 6 4.07373C4.965 4.07373 4.125 4.91373 4.125 5.94873Z", fill: "#9AA2AC" }))) : (React__default["default"].createElement(StyledRoundedIconWrapper, { type: type }, imageUrl ? (React__default["default"].createElement("img", { src: imageUrl, width: 32, height: type === 'services' ? 32 : 24, loading: "lazy" })) : (defaultThumbnail)))),
|
|
1251
|
-
React__default["default"].createElement(StyledText, { color:
|
|
1252
|
+
React__default["default"].createElement(StyledText, { color: miscTheme.theme.colors.gray800, size: "p3" }, item.name)));
|
|
1252
1253
|
};
|
|
1253
1254
|
|
|
1254
1255
|
const ResultSection = ({ type, data, state, dispatch, itemsToShow, itemsToShowDesktop, isMobile, isLoading, keyword, isNavResultItem, }) => {
|
|
@@ -1335,7 +1336,7 @@ const ResultSection = ({ type, data, state, dispatch, itemsToShow, itemsToShowDe
|
|
|
1335
1336
|
React__default["default"].createElement(StyledTypeName, null, typeInformation[type].name)),
|
|
1336
1337
|
(keyword.trim().length <= SEARCH_KEYWORD_MIN_LENGTH$1[locale] ||
|
|
1337
1338
|
isMalay) && (React__default["default"].createElement(StyledSeeMoreButton, { onClick: onSeeAllClick },
|
|
1338
|
-
React__default["default"].createElement(index$2.Text, { size: "p3", color:
|
|
1339
|
+
React__default["default"].createElement(index$2.Text, { size: "p3", color: miscTheme.theme.colors.primaryBase }, t('booking.searchPopup.seeAll'))))),
|
|
1339
1340
|
(isLoading || (data && data.length > 0)) && (React__default["default"].createElement(StyledResultsContainer, null,
|
|
1340
1341
|
React__default["default"].createElement(StyledItemsWrapper, null,
|
|
1341
1342
|
isLoading &&
|
|
@@ -1357,18 +1358,18 @@ const ResultSection = ({ type, data, state, dispatch, itemsToShow, itemsToShowDe
|
|
|
1357
1358
|
type === 'specialties' &&
|
|
1358
1359
|
showItemCount < data.length &&
|
|
1359
1360
|
!isLoading && (React__default["default"].createElement("button", { onClick: () => setSeeMoreOpen(!seeMoreOpen) },
|
|
1360
|
-
React__default["default"].createElement(StyledSeeMore, { size: "p3", color:
|
|
1361
|
+
React__default["default"].createElement(StyledSeeMore, { size: "p3", color: miscTheme.theme.colors.primaryBase }, seeMoreOpen
|
|
1361
1362
|
? t('booking.searchPopup.seeLessSpecialties')
|
|
1362
1363
|
: t('booking.searchPopup.seeMoreSpecialties')))),
|
|
1363
1364
|
type !== 'specialties' &&
|
|
1364
1365
|
(showItemCount < data.length || isMalay) &&
|
|
1365
1366
|
!isLoading &&
|
|
1366
1367
|
keyword.trim().length > SEARCH_KEYWORD_MIN_LENGTH$1[locale] && (React__default["default"].createElement("button", { onClick: onClickSearchByKeyword },
|
|
1367
|
-
React__default["default"].createElement(StyledSeeMore, { size: "p3", color:
|
|
1368
|
+
React__default["default"].createElement(StyledSeeMore, { size: "p3", color: miscTheme.theme.colors.primaryBase }, t(`booking.searchPopup.searchIn.${type}`, {
|
|
1368
1369
|
name: keyword,
|
|
1369
1370
|
})))))),
|
|
1370
1371
|
!isLoading && (data === null || data === void 0 ? void 0 : data.length) === 0 && (React__default["default"].createElement(StyledResultsContainer, null,
|
|
1371
|
-
React__default["default"].createElement(index$2.Text, { size: "sm", color:
|
|
1372
|
+
React__default["default"].createElement(index$2.Text, { size: "sm", color: miscTheme.theme.colors.gray400 }, t('booking.searchBar.noResults'))))));
|
|
1372
1373
|
};
|
|
1373
1374
|
|
|
1374
1375
|
const StyledSection = styled__default["default"].section `
|
|
@@ -1395,7 +1396,7 @@ const SearchResults = ({ data, state, dispatch, isMobile, isLoading, keyword, hi
|
|
|
1395
1396
|
};
|
|
1396
1397
|
|
|
1397
1398
|
const getApiPath = (path, params, locale) => {
|
|
1398
|
-
return formatString__default["default"](path, Object.assign(Object.assign({}, params), { domain:
|
|
1399
|
+
return formatString__default["default"](path, Object.assign(Object.assign({}, params), { domain: constantsDomainLocales.domainLocales[locale || 'en-PH'] }));
|
|
1399
1400
|
};
|
|
1400
1401
|
|
|
1401
1402
|
function useSearchBarApi$1({ dispatch, careApiDomain, locale = 'vi-VN', }) {
|
|
@@ -1780,7 +1781,7 @@ const BookingSearchBar = ({ isMobile, careApiDomain, geoLocationPermission: geoL
|
|
|
1780
1781
|
|
|
1781
1782
|
const StyledSearchBarWrapper = styled__default["default"].div ``;
|
|
1782
1783
|
const StyleWrapperContainer = styled__default["default"].div `
|
|
1783
|
-
background-color: ${
|
|
1784
|
+
background-color: ${miscTheme.theme.colors.neutral50};
|
|
1784
1785
|
padding-bottom: 1px;
|
|
1785
1786
|
${utils.MediaQueries.mbDown} {
|
|
1786
1787
|
padding: 0 16px 10px;
|
|
@@ -1796,7 +1797,7 @@ const StyleSearchInputContainer = styled__default["default"](index$3.Container)
|
|
|
1796
1797
|
const StyleSearchContent = styled__default["default"].div `
|
|
1797
1798
|
padding: 24px 56px;
|
|
1798
1799
|
border-radius: 16px;
|
|
1799
|
-
background-color: ${
|
|
1800
|
+
background-color: ${miscTheme.theme.colors.white};
|
|
1800
1801
|
box-shadow: 0px 0px 1px 0px rgba(0, 0, 0, 0.04),
|
|
1801
1802
|
0px 0px 2px 0px rgba(0, 0, 0, 0.06), 0px 4px 8px 0px rgba(0, 0, 0, 0.04);
|
|
1802
1803
|
|
|
@@ -2045,7 +2046,7 @@ const StyleResultWrapper$2 = styled__default["default"].div `
|
|
|
2045
2046
|
top: calc(100% + 2px);
|
|
2046
2047
|
width: 100%;
|
|
2047
2048
|
border-radius: 4px;
|
|
2048
|
-
background: ${
|
|
2049
|
+
background: ${miscTheme.theme.colors.white};
|
|
2049
2050
|
box-shadow: 0px 8px 40px 0px rgba(0, 0, 0, 0.1);
|
|
2050
2051
|
z-index: 10;
|
|
2051
2052
|
|
|
@@ -2064,14 +2065,14 @@ const StyleResultHeader = styled__default["default"].div `
|
|
|
2064
2065
|
background: #f7f9fc;
|
|
2065
2066
|
|
|
2066
2067
|
.title {
|
|
2067
|
-
color: ${
|
|
2068
|
+
color: ${miscTheme.theme.colors.gray800};
|
|
2068
2069
|
font-size: 14px;
|
|
2069
2070
|
font-weight: 600;
|
|
2070
2071
|
line-height: 22px;
|
|
2071
2072
|
}
|
|
2072
2073
|
|
|
2073
2074
|
.btn-see-all {
|
|
2074
|
-
color: ${
|
|
2075
|
+
color: ${miscTheme.theme.colors.blue600};
|
|
2075
2076
|
font-size: 14px;
|
|
2076
2077
|
line-height: 22px;
|
|
2077
2078
|
cursor: pointer;
|
|
@@ -2089,7 +2090,7 @@ const StyleResultItem = styled__default["default"].div `
|
|
|
2089
2090
|
cursor: pointer;
|
|
2090
2091
|
|
|
2091
2092
|
&:hover {
|
|
2092
|
-
background-color: ${
|
|
2093
|
+
background-color: ${miscTheme.theme.colors.blue50};
|
|
2093
2094
|
}
|
|
2094
2095
|
.image-item {
|
|
2095
2096
|
flex: 0 0 48px;
|
|
@@ -2108,16 +2109,16 @@ const StyleResultItem = styled__default["default"].div `
|
|
|
2108
2109
|
overflow: hidden;
|
|
2109
2110
|
padding: 12px 0;
|
|
2110
2111
|
flex: 1;
|
|
2111
|
-
border-bottom: 1px solid ${
|
|
2112
|
+
border-bottom: 1px solid ${miscTheme.theme.colors.neutral100};
|
|
2112
2113
|
.title {
|
|
2113
|
-
color: ${
|
|
2114
|
+
color: ${miscTheme.theme.colors.gray800};
|
|
2114
2115
|
font-size: 16px;
|
|
2115
2116
|
font-weight: 600;
|
|
2116
2117
|
line-height: 24px;
|
|
2117
2118
|
}
|
|
2118
2119
|
.description {
|
|
2119
2120
|
overflow: hidden;
|
|
2120
|
-
color: ${
|
|
2121
|
+
color: ${miscTheme.theme.colors.gray600};
|
|
2121
2122
|
text-overflow: ellipsis;
|
|
2122
2123
|
white-space: nowrap;
|
|
2123
2124
|
font-size: 12px;
|
|
@@ -2150,7 +2151,7 @@ styled__default["default"].div `
|
|
|
2150
2151
|
padding: 0 16px 16px;
|
|
2151
2152
|
|
|
2152
2153
|
.search-detail-btn {
|
|
2153
|
-
color: ${
|
|
2154
|
+
color: ${miscTheme.theme.colors.blue600};
|
|
2154
2155
|
font-size: 14px;
|
|
2155
2156
|
line-height: 22px;
|
|
2156
2157
|
cursor: pointer;
|
|
@@ -2239,7 +2240,7 @@ const SearchResult = ({ state, type, results, location, isLoading, typeInformati
|
|
|
2239
2240
|
typeInformation[type].icon,
|
|
2240
2241
|
React__default["default"].createElement("div", { className: "sub-description" }, subDescription)))));
|
|
2241
2242
|
}))),
|
|
2242
|
-
!isLoading && (results === null || results === void 0 ? void 0 : results.length) === 0 && (React__default["default"].createElement(index$2.Text, { size: "sm", color:
|
|
2243
|
+
!isLoading && (results === null || results === void 0 ? void 0 : results.length) === 0 && (React__default["default"].createElement(index$2.Text, { size: "sm", color: miscTheme.theme.colors.gray400 }, t('booking.searchBar.noResults'))))));
|
|
2243
2244
|
};
|
|
2244
2245
|
|
|
2245
2246
|
const StyleSearchSpecialtyWrapper = styled__default["default"].div `
|
|
@@ -2257,7 +2258,7 @@ const StyleResultWrapper$1 = styled__default["default"].div `
|
|
|
2257
2258
|
top: calc(100% + 2px);
|
|
2258
2259
|
width: calc(100% + 100px);
|
|
2259
2260
|
border-radius: 4px;
|
|
2260
|
-
background: ${
|
|
2261
|
+
background: ${miscTheme.theme.colors.white};
|
|
2261
2262
|
box-shadow: 0px 8px 40px 0px rgba(0, 0, 0, 0.1);
|
|
2262
2263
|
z-index: 10;
|
|
2263
2264
|
max-height: 300px;
|
|
@@ -2311,11 +2312,11 @@ const StyledSpecialtyItem = styled__default["default"].li `
|
|
|
2311
2312
|
right: 18px;
|
|
2312
2313
|
top: 0;
|
|
2313
2314
|
height: 1px;
|
|
2314
|
-
background-color: ${
|
|
2315
|
+
background-color: ${miscTheme.theme.colors.neutral100};
|
|
2315
2316
|
}
|
|
2316
2317
|
|
|
2317
2318
|
&:not([data-is-denied='true']):hover {
|
|
2318
|
-
background-color: ${
|
|
2319
|
+
background-color: ${miscTheme.theme.colors.neutral50};
|
|
2319
2320
|
}
|
|
2320
2321
|
|
|
2321
2322
|
&:last-child:hover {
|
|
@@ -2559,7 +2560,7 @@ const StyleResultWrapper = styled__default["default"].div `
|
|
|
2559
2560
|
top: calc(100% + 2px);
|
|
2560
2561
|
width: 100%;
|
|
2561
2562
|
border-radius: 4px;
|
|
2562
|
-
background: ${
|
|
2563
|
+
background: ${miscTheme.theme.colors.white};
|
|
2563
2564
|
box-shadow: 0px 8px 40px 0px rgba(0, 0, 0, 0.1);
|
|
2564
2565
|
z-index: 10;
|
|
2565
2566
|
|
|
@@ -2595,11 +2596,11 @@ const StyledLocationItem = styled__default["default"].li `
|
|
|
2595
2596
|
right: 18px;
|
|
2596
2597
|
top: 0;
|
|
2597
2598
|
height: 1px;
|
|
2598
|
-
background-color: ${
|
|
2599
|
+
background-color: ${miscTheme.theme.colors.neutral100};
|
|
2599
2600
|
}
|
|
2600
2601
|
|
|
2601
2602
|
&:not([data-is-denied='true']):hover {
|
|
2602
|
-
background-color: ${
|
|
2603
|
+
background-color: ${miscTheme.theme.colors.neutral50};
|
|
2603
2604
|
}
|
|
2604
2605
|
|
|
2605
2606
|
&:last-child:hover {
|
|
@@ -2666,7 +2667,7 @@ const SearchLocation = ({ state, isMobile, debouncedFetchCitiesByKeyword, select
|
|
|
2666
2667
|
});
|
|
2667
2668
|
}
|
|
2668
2669
|
} },
|
|
2669
|
-
React__default["default"].createElement(StyledPinIcon, { color:
|
|
2670
|
+
React__default["default"].createElement(StyledPinIcon, { color: miscTheme.theme.colors.neutral400 }),
|
|
2670
2671
|
React__default["default"].createElement(index$2.Text, { size: "md" }, t('booking.searchBar.allLocations'))),
|
|
2671
2672
|
state.cities.map((city) => (React__default["default"].createElement(StyledLocationItem, { key: city.id, onClick: (evt) => {
|
|
2672
2673
|
evt.nativeEvent.stopImmediatePropagation();
|
|
@@ -2674,7 +2675,7 @@ const SearchLocation = ({ state, isMobile, debouncedFetchCitiesByKeyword, select
|
|
|
2674
2675
|
onLocationClick(city);
|
|
2675
2676
|
}
|
|
2676
2677
|
}, role: "button", tabIndex: 0, "aria-label": `Select ${city.name} as location`, isSelected: (selectedLocation === null || selectedLocation === void 0 ? void 0 : selectedLocation.id) === city.id },
|
|
2677
|
-
React__default["default"].createElement(StyledPinIcon, { color:
|
|
2678
|
+
React__default["default"].createElement(StyledPinIcon, { color: miscTheme.theme.colors.neutral400 }),
|
|
2678
2679
|
React__default["default"].createElement(index$2.Text, { size: "md" }, city.name))))))));
|
|
2679
2680
|
};
|
|
2680
2681
|
|
|
@@ -2691,15 +2692,15 @@ const StyleSpecialtyItem = styled__default["default"].div `
|
|
|
2691
2692
|
display: flex;
|
|
2692
2693
|
align-items: center;
|
|
2693
2694
|
border-radius: 8px;
|
|
2694
|
-
border: 1px solid ${
|
|
2695
|
-
background: ${
|
|
2695
|
+
border: 1px solid ${miscTheme.theme.colors.neutral100};
|
|
2696
|
+
background: ${miscTheme.theme.colors.white};
|
|
2696
2697
|
padding: 8px 12px 8px 8px;
|
|
2697
2698
|
flex: 0 0 calc(33.3% - 13px);
|
|
2698
2699
|
gap: 12px;
|
|
2699
2700
|
cursor: pointer;
|
|
2700
2701
|
|
|
2701
2702
|
&:hover {
|
|
2702
|
-
background: ${
|
|
2703
|
+
background: ${miscTheme.theme.colors.blue50};
|
|
2703
2704
|
}
|
|
2704
2705
|
|
|
2705
2706
|
${utils.MediaQueries.tdDown} {
|
|
@@ -2726,7 +2727,7 @@ const StyleSpecialtyItem = styled__default["default"].div `
|
|
|
2726
2727
|
.infor {
|
|
2727
2728
|
flex: 1;
|
|
2728
2729
|
.title {
|
|
2729
|
-
color: ${
|
|
2730
|
+
color: ${miscTheme.theme.colors.gray800};
|
|
2730
2731
|
font-size: 14px;
|
|
2731
2732
|
font-style: normal;
|
|
2732
2733
|
font-weight: 400;
|
|
@@ -2734,7 +2735,7 @@ const StyleSpecialtyItem = styled__default["default"].div `
|
|
|
2734
2735
|
}
|
|
2735
2736
|
|
|
2736
2737
|
.description {
|
|
2737
|
-
color: ${
|
|
2738
|
+
color: ${miscTheme.theme.colors.gray600};
|
|
2738
2739
|
font-size: 12px;
|
|
2739
2740
|
font-weight: 400;
|
|
2740
2741
|
line-height: 18px;
|
|
@@ -2750,11 +2751,11 @@ const StyleShowMore = styled__default["default"].div `
|
|
|
2750
2751
|
margin-top: 24px;
|
|
2751
2752
|
.show-more {
|
|
2752
2753
|
border-radius: 4px;
|
|
2753
|
-
border: 1px solid ${
|
|
2754
|
+
border: 1px solid ${miscTheme.theme.colors.neutral200};
|
|
2754
2755
|
padding: 12px 16px;
|
|
2755
2756
|
cursor: pointer;
|
|
2756
2757
|
display: inline-block;
|
|
2757
|
-
color: ${
|
|
2758
|
+
color: ${miscTheme.theme.colors.gray800};
|
|
2758
2759
|
font-size: 16px;
|
|
2759
2760
|
font-weight: 600;
|
|
2760
2761
|
line-height: 24px;
|
|
@@ -2803,7 +2804,7 @@ const SearchResultSpecialties = ({ state, isMobile, specialties, isLoading, disp
|
|
|
2803
2804
|
React__default["default"].createElement("div", { className: "infor" },
|
|
2804
2805
|
React__default["default"].createElement("div", { className: "title" }, specialty.name))));
|
|
2805
2806
|
}))),
|
|
2806
|
-
specialties.length === 0 && !isLoading && (React__default["default"].createElement(index$2.Text, { size: "sm", color:
|
|
2807
|
+
specialties.length === 0 && !isLoading && (React__default["default"].createElement(index$2.Text, { size: "sm", color: miscTheme.theme.colors.gray400 }, t('booking.searchBar.noResults'))),
|
|
2807
2808
|
isLoading &&
|
|
2808
2809
|
Array(6)
|
|
2809
2810
|
.fill(undefined)
|
|
@@ -2824,46 +2825,46 @@ const StyleSearchTagWrapper = styled__default["default"].div `
|
|
|
2824
2825
|
flex-wrap: wrap;
|
|
2825
2826
|
`;
|
|
2826
2827
|
const StyleTagItem = styled__default["default"].div `
|
|
2827
|
-
color: ${
|
|
2828
|
+
color: ${miscTheme.theme.colors.gray600};
|
|
2828
2829
|
font-size: 14px;
|
|
2829
2830
|
font-weight: 600;
|
|
2830
2831
|
line-height: 22px;
|
|
2831
2832
|
padding: 4px 12px;
|
|
2832
|
-
background: ${
|
|
2833
|
+
background: ${miscTheme.theme.colors.white};
|
|
2833
2834
|
border-radius: 32px;
|
|
2834
2835
|
cursor: pointer;
|
|
2835
|
-
border: 1px solid ${
|
|
2836
|
+
border: 1px solid ${miscTheme.theme.colors.white};
|
|
2836
2837
|
margin-bottom: 5px;
|
|
2837
|
-
border-color: ${
|
|
2838
|
+
border-color: ${miscTheme.theme.colors.neutral100};
|
|
2838
2839
|
background: #f7f9fc;
|
|
2839
2840
|
|
|
2840
2841
|
&.view-all {
|
|
2841
2842
|
border-radius: 32px;
|
|
2842
|
-
border-color: ${
|
|
2843
|
-
background: ${
|
|
2844
|
-
color: ${
|
|
2843
|
+
border-color: ${miscTheme.theme.colors.blue50};
|
|
2844
|
+
background: ${miscTheme.theme.colors.blue50};
|
|
2845
|
+
color: ${miscTheme.theme.colors.blue600};
|
|
2845
2846
|
|
|
2846
2847
|
&:hover {
|
|
2847
|
-
border-color: ${
|
|
2848
|
-
background: ${
|
|
2849
|
-
color: ${
|
|
2848
|
+
border-color: ${miscTheme.theme.colors.blue50};
|
|
2849
|
+
background: ${miscTheme.theme.colors.blue50};
|
|
2850
|
+
color: ${miscTheme.theme.colors.blue600};
|
|
2850
2851
|
}
|
|
2851
2852
|
}
|
|
2852
2853
|
|
|
2853
2854
|
&:hover {
|
|
2854
|
-
border-color: ${
|
|
2855
|
+
border-color: ${miscTheme.theme.colors.neutral100};
|
|
2855
2856
|
background: #f7f9fc;
|
|
2856
2857
|
}
|
|
2857
2858
|
`;
|
|
2858
2859
|
const StyleTagLabel = styled__default["default"].div `
|
|
2859
|
-
color: ${
|
|
2860
|
+
color: ${miscTheme.theme.colors.gray600};
|
|
2860
2861
|
font-size: 14px;
|
|
2861
2862
|
font-weight: 600;
|
|
2862
2863
|
line-height: 22px;
|
|
2863
2864
|
padding: 4px 0;
|
|
2864
|
-
background: ${
|
|
2865
|
+
background: ${miscTheme.theme.colors.white};
|
|
2865
2866
|
border-radius: 32px;
|
|
2866
|
-
border: 1px solid ${
|
|
2867
|
+
border: 1px solid ${miscTheme.theme.colors.white};
|
|
2867
2868
|
margin-bottom: 5px;
|
|
2868
2869
|
margin-right: 7px;
|
|
2869
2870
|
`;
|
|
@@ -2894,7 +2895,7 @@ const SearchTag = ({ state, type, typeInformation, dispatch }) => {
|
|
|
2894
2895
|
const StyledTabWrapper = styled__default["default"].div `
|
|
2895
2896
|
background: rgba(255, 255, 255, 0.64);
|
|
2896
2897
|
backdrop-filter: blur(12px);
|
|
2897
|
-
border-bottom: 1px solid ${
|
|
2898
|
+
border-bottom: 1px solid ${miscTheme.theme.colors.neutral100};
|
|
2898
2899
|
`;
|
|
2899
2900
|
const StyleTabContainer = styled__default["default"](index$3.Container) `
|
|
2900
2901
|
padding: 0 16px;
|
package/build/types.js
CHANGED
|
@@ -2,7 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var index = require('./index-
|
|
5
|
+
var index = require('./index-d91f52cc.js');
|
|
6
|
+
var Locale = require('./Locale-0b86b849.js');
|
|
6
7
|
|
|
7
8
|
|
|
8
9
|
|
|
@@ -24,10 +25,6 @@ Object.defineProperty(exports, 'Gender', {
|
|
|
24
25
|
enumerable: true,
|
|
25
26
|
get: function () { return index.Gender; }
|
|
26
27
|
});
|
|
27
|
-
Object.defineProperty(exports, 'LOCALE', {
|
|
28
|
-
enumerable: true,
|
|
29
|
-
get: function () { return index.LOCALE; }
|
|
30
|
-
});
|
|
31
28
|
Object.defineProperty(exports, 'NodeActionType', {
|
|
32
29
|
enumerable: true,
|
|
33
30
|
get: function () { return index.NodeActionType; }
|
|
@@ -58,3 +55,7 @@ Object.defineProperty(exports, 'SocialType', {
|
|
|
58
55
|
get: function () { return index.SocialType; }
|
|
59
56
|
});
|
|
60
57
|
exports.SubotType = index.SubotType;
|
|
58
|
+
Object.defineProperty(exports, 'LOCALE', {
|
|
59
|
+
enumerable: true,
|
|
60
|
+
get: function () { return Locale.LOCALE; }
|
|
61
|
+
});
|