@hhgtech/hhg-components 1.29.500 → 1.29.502
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/{InputDate-857c4598.js → InputDate-24a99f9a.js} +5 -5
- package/build/{LastPeriod-88d82546.js → LastPeriod-c71ff196.js} +1 -1
- package/build/{MobileBottomNavigationIcon-2269d2be.js → MobileBottomNavigationIcon-eb5343ef.js} +3 -3
- package/build/{Spinner-48cbfc22.js → Spinner-a5b40d0e.js} +1 -1
- package/build/{WhatsApp-4be101c5.js → WhatsApp-5dfbc0b3.js} +1 -1
- package/build/adapters.js +20 -20
- package/build/atoms.js +50 -50
- package/build/babyGrowth.js +86 -86
- package/build/cache.js +2 -2
- package/build/care.js +18 -18
- package/build/careBookingSearchBar.js +14 -14
- package/build/careBookingSearchBarV2.js +15 -15
- package/build/components/molecules/list/ListProvider.d.ts +1 -1
- package/build/components/molecules/list/type.d.ts +3 -0
- package/build/components/molecules/list/useList.d.ts +5 -2
- package/build/components/molecules/productDetail/generalInfo/GeneralInfo.d.ts +17 -2
- package/build/components/molecules/productDetail/generalInfo/index.styled.d.ts +31 -0
- package/build/components/molecules/productDetail/index.d.ts +1 -0
- package/build/components/molecules/productDetail/modalGallery/GalleryCarousel.d.ts +2 -0
- package/build/components/molecules/productDetail/modalGallery/GalleryThumbnails.d.ts +6 -0
- package/build/components/molecules/productDetail/modalGallery/GalleryTitle.d.ts +6 -0
- package/build/components/molecules/productDetail/modalGallery/ModalGalleryContent.d.ts +2 -0
- package/build/components/molecules/productDetail/modalGallery/ModalGalleryProvider.d.ts +3 -0
- package/build/components/molecules/productDetail/modalGallery/context.d.ts +4 -0
- package/build/components/molecules/productDetail/modalGallery/index.d.ts +7 -0
- package/build/components/molecules/productDetail/modalGallery/index.styled.d.ts +51 -0
- package/build/components/molecules/productDetail/modalGallery/type.d.ts +38 -0
- package/build/components/molecules/productDetail/modalGallery/useModalGallery.d.ts +9 -0
- package/build/components/molecules/voucherItem/index.d.ts +3 -3
- package/build/components.js +107 -104
- package/build/{constants-092a094b.js → constants-233b1095.js} +1 -1
- package/build/constants.js +3 -3
- package/build/constantsDomainLocales.js +1 -1
- package/build/constantsRiskScreener.js +2 -2
- package/build/constantsSite.js +2 -2
- package/build/{core-275b972a.js → core-e6b7944b.js} +1 -1
- package/build/{dataTransform-f6230995.js → dataTransform-8e38d11a.js} +1 -1
- package/build/ecom.js +5 -5
- package/build/{editor-71920f9a.js → editor-29eece07.js} +11 -11
- package/build/embeddedHeathToolCards_babyGrowth.js +25 -25
- package/build/embeddedHeathToolCards_babyPoop.js +22 -22
- package/build/embeddedHeathToolCards_babyVaccine.js +24 -24
- package/build/embeddedHeathToolCards_bmi_bmi.js +27 -27
- package/build/embeddedHeathToolCards_bmrBmr.js +27 -27
- package/build/embeddedHeathToolCards_dueDate_dueDate.js +24 -24
- package/build/embeddedHeathToolCards_ovulation_ovulation.js +24 -24
- package/build/embeddedHeathToolCards_pwg_pwg.js +28 -28
- package/build/embeddedHeathToolCards_targetHeartRate.js +29 -29
- package/build/esm/{InputDate-3bcac7da.js → InputDate-33b6828d.js} +5 -5
- package/build/esm/{LastPeriod-255c1963.js → LastPeriod-4275cbe2.js} +1 -1
- package/build/esm/{MobileBottomNavigationIcon-96fab749.js → MobileBottomNavigationIcon-4f219044.js} +3 -3
- package/build/esm/{Spinner-a128c345.js → Spinner-df12c273.js} +1 -1
- package/build/esm/{WhatsApp-b9580db9.js → WhatsApp-484971fb.js} +1 -1
- package/build/esm/adapters.js +20 -20
- package/build/esm/atoms.js +50 -50
- package/build/esm/babyGrowth.js +86 -86
- package/build/esm/cache.js +2 -2
- package/build/esm/care.js +18 -18
- package/build/esm/careBookingSearchBar.js +14 -14
- package/build/esm/careBookingSearchBarV2.js +15 -15
- package/build/esm/components/molecules/list/ListProvider.d.ts +1 -1
- package/build/esm/components/molecules/list/type.d.ts +3 -0
- package/build/esm/components/molecules/list/useList.d.ts +5 -2
- package/build/esm/components/molecules/productDetail/generalInfo/GeneralInfo.d.ts +17 -2
- package/build/esm/components/molecules/productDetail/generalInfo/index.styled.d.ts +31 -0
- package/build/esm/components/molecules/productDetail/index.d.ts +1 -0
- package/build/esm/components/molecules/productDetail/modalGallery/GalleryCarousel.d.ts +2 -0
- package/build/esm/components/molecules/productDetail/modalGallery/GalleryThumbnails.d.ts +6 -0
- package/build/esm/components/molecules/productDetail/modalGallery/GalleryTitle.d.ts +6 -0
- package/build/esm/components/molecules/productDetail/modalGallery/ModalGalleryContent.d.ts +2 -0
- package/build/esm/components/molecules/productDetail/modalGallery/ModalGalleryProvider.d.ts +3 -0
- package/build/esm/components/molecules/productDetail/modalGallery/context.d.ts +4 -0
- package/build/esm/components/molecules/productDetail/modalGallery/index.d.ts +7 -0
- package/build/esm/components/molecules/productDetail/modalGallery/index.styled.d.ts +51 -0
- package/build/esm/components/molecules/productDetail/modalGallery/type.d.ts +38 -0
- package/build/esm/components/molecules/productDetail/modalGallery/useModalGallery.d.ts +9 -0
- package/build/esm/components/molecules/voucherItem/index.d.ts +3 -3
- package/build/esm/components.js +104 -104
- package/build/esm/{constants-c921e4e9.js → constants-d0729f75.js} +1 -1
- package/build/esm/constants.js +3 -3
- package/build/esm/constantsDomainLocales.js +1 -1
- package/build/esm/constantsRiskScreener.js +2 -2
- package/build/esm/constantsSite.js +2 -2
- package/build/esm/{core-210535dc.js → core-db1dc444.js} +1 -1
- package/build/esm/{dataTransform-39c36fce.js → dataTransform-99c99d38.js} +1 -1
- package/build/esm/ecom.js +5 -5
- package/build/esm/{editor-770fd0ca.js → editor-e527ee39.js} +11 -11
- package/build/esm/embeddedHeathToolCards_babyGrowth.js +25 -25
- package/build/esm/embeddedHeathToolCards_babyPoop.js +22 -22
- package/build/esm/embeddedHeathToolCards_babyVaccine.js +24 -24
- package/build/esm/embeddedHeathToolCards_bmi_bmi.js +27 -27
- package/build/esm/embeddedHeathToolCards_bmrBmr.js +27 -27
- package/build/esm/embeddedHeathToolCards_dueDate_dueDate.js +24 -24
- package/build/esm/embeddedHeathToolCards_ovulation_ovulation.js +24 -24
- package/build/esm/embeddedHeathToolCards_pwg_pwg.js +28 -28
- package/build/esm/embeddedHeathToolCards_targetHeartRate.js +29 -29
- package/build/esm/footer.js +22 -22
- package/build/esm/gAssets.js +2 -2
- package/build/esm/{healthTools-57e9fcee.js → healthTools-8c6e8036.js} +1 -1
- package/build/esm/healthToolsCardWrapper.js +20 -20
- package/build/esm/healthToolsForm.js +35 -35
- package/build/esm/hooks.js +13 -13
- package/build/esm/i18n.js +2 -2
- package/build/esm/i18nV2.js +2 -2
- package/build/esm/{index-daf988fc.js → index-00bcff45.js} +2 -2
- package/build/esm/{index-7a75ed86.js → index-0117f220.js} +2 -2
- package/build/esm/{index-55340ddb.js → index-06df9de8.js} +3 -3
- package/build/esm/{index-e9e744cd.js → index-0b79fbca.js} +14 -14
- package/build/esm/{index-ee297f1b.js → index-12ea7d39.js} +1 -1
- package/build/esm/{index-3beb3a66.js → index-133ccc96.js} +2 -2
- package/build/esm/{index-32cfe072.js → index-13f14f3d.js} +5 -5
- package/build/esm/{index-60c34756.js → index-1abb3484.js} +1 -1
- package/build/esm/{index-b595549c.js → index-1b41dc8d.js} +32 -32
- package/build/esm/{index-c92587d5.js → index-1f316988.js} +3 -3
- package/build/esm/{index-30b5c155.js → index-27a5db66.js} +14 -14
- package/build/esm/{index-269b0fd2.js → index-2f0baed4.js} +3 -3
- package/build/esm/{index-1794d957.js → index-3c950bc2.js} +2 -2
- package/build/esm/{index-5a1286f9.js → index-3f291a82.js} +6 -6
- package/build/esm/{index-260bb615.js → index-430bb49b.js} +16 -16
- package/build/esm/{index-b7c4b6fd.js → index-4433d090.js} +1 -1
- package/build/esm/{index-c329de11.js → index-4677f7f3.js} +4 -4
- package/build/esm/{index-0e9cce24.js → index-4765007e.js} +22 -22
- package/build/esm/{index-6668f0bb.js → index-55ec231e.js} +2 -2
- package/build/esm/{index-01f1e3bc.js → index-596bfa7e.js} +520 -42
- package/build/esm/{index-bae79f7e.js → index-5f7b7621.js} +17 -17
- package/build/esm/{index-dd4b69dc.js → index-5fd8bcba.js} +3 -3
- package/build/esm/{index-a0bcbe6a.js → index-5ffb576e.js} +13 -13
- package/build/esm/{index-7d44c495.js → index-625367e5.js} +6 -6
- package/build/esm/{index-f17c1210.js → index-6a8d8164.js} +16 -16
- package/build/esm/{index-c789fbd6.js → index-71236b54.js} +1 -1
- package/build/esm/{index-77f9649d.js → index-71e62e31.js} +2 -2
- package/build/esm/{index-7aedbf1b.js → index-775acaac.js} +8 -8
- package/build/esm/{index-ad3d163c.js → index-7d6e650c.js} +25 -25
- package/build/esm/{index-26899a76.js → index-7eaf794c.js} +11 -11
- package/build/esm/{index-845a806a.js → index-80a2f314.js} +3 -3
- package/build/esm/{index-85e13974.js → index-81d15fe9.js} +3 -3
- package/build/esm/{index-8ce4b868.js → index-824949a2.js} +6 -6
- package/build/esm/{index-7fd14ad5.js → index-8e987236.js} +15 -16
- package/build/esm/{index-d1f910f8.js → index-91604e15.js} +2 -2
- package/build/esm/{index-2081a79a.js → index-92139358.js} +18 -18
- package/build/esm/{index-c99d7c3b.js → index-94e1adc2.js} +5 -5
- package/build/esm/{index-523c994c.js → index-97afcb44.js} +18 -18
- package/build/esm/{index-e4e50e2a.js → index-9a7dcfb0.js} +2 -2
- package/build/esm/{index-526f9b4c.js → index-a07bde3b.js} +21 -21
- package/build/esm/{index-aad9135a.js → index-a558813b.js} +2 -2
- package/build/esm/{index-d1f1934d.js → index-a8430432.js} +2 -2
- package/build/esm/{index-3b60db69.js → index-a859b70a.js} +32 -32
- package/build/esm/{index-abd28b8a.js → index-a8dd988b.js} +1 -1
- package/build/esm/{index-e6da1de2.js → index-ac825adf.js} +3 -3
- package/build/esm/{index-880a8911.js → index-af067d95.js} +1 -1
- package/build/esm/{index-fd7aa2f8.js → index-b3aaaafa.js} +9 -9
- package/build/esm/{index-93b22d82.js → index-b3ed73f6.js} +16 -16
- package/build/esm/{index-f4cfa393.js → index-b6e6f60c.js} +3 -3
- package/build/esm/{index-b21833b7.js → index-c208b0b2.js} +6 -6
- package/build/esm/{index-e351d8f0.js → index-c73db16a.js} +15 -15
- package/build/esm/{index-14a92066.js → index-c7f0c8c5.js} +9 -9
- package/build/esm/{index-99b321ef.js → index-c80af3fd.js} +2 -2
- package/build/esm/{index-bcbf14e8.js → index-cc11f5fa.js} +15 -15
- package/build/esm/{index-9b41fd2e.js → index-cd14a594.js} +19 -19
- package/build/esm/{index-78ddd518.js → index-d2863e9f.js} +10 -10
- package/build/esm/{index-d0cdd798.js → index-d2bbd25d.js} +2 -2
- package/build/esm/{index-64405ae9.js → index-d64841d6.js} +14 -14
- package/build/esm/{index-db34e5c4.js → index-d8e83a5f.js} +7 -7
- package/build/esm/{index-b64841a5.js → index-df4d2a16.js} +2 -2
- package/build/esm/{index-8e2cee8d.js → index-e286af71.js} +4 -4
- package/build/esm/{index-8a69c516.js → index-e2f3e1ed.js} +16 -16
- package/build/esm/{index-0cc8af30.js → index-e3f23a5c.js} +7 -7
- package/build/esm/{index-a110d74d.js → index-e722e0d2.js} +21 -21
- package/build/esm/{index-4d21425c.js → index-e963bc4a.js} +2 -2
- package/build/esm/{index-1efce269.js → index-eb766205.js} +2 -2
- package/build/esm/{index-a9b01bfd.js → index-ee0e07c2.js} +2 -2
- package/build/esm/{index-ada0ea4d.js → index-ef3c6c25.js} +1 -1
- package/build/esm/{index-b92a6dee.js → index-f9424820.js} +3 -3
- package/build/esm/{index-cb736573.js → index-fdf210d8.js} +13 -13
- package/build/esm/{index-9bb674d4.js → index-ff3703f7.js} +30 -30
- package/build/esm/{index-cf543620.js → index-ff8c9b46.js} +2 -2
- package/build/esm/index.js +124 -124
- package/build/esm/{labelSorting-61c62bfd.js → labelSorting-8e2b5f3f.js} +4 -4
- package/build/esm/lead.js +35 -35
- package/build/esm/{logoIcon-42ba190e.js → logoIcon-ea2650c8.js} +2 -2
- package/build/esm/mantine.js +27 -27
- package/build/esm/misc.js +19 -19
- package/build/esm/miscGetDynamicHealthTool.js +4 -4
- package/build/esm/miscGetSocialList.js +8 -8
- package/build/esm/miscScreenSizeContext.js +1 -1
- package/build/esm/mobileBottomNavigation.js +5 -5
- package/build/esm/mobileBottomNavigationIcon.js +5 -5
- package/build/esm/molecules.js +79 -78
- package/build/esm/moleculesArticleCard.js +6 -6
- package/build/esm/moleculesArticleCardV2.js +17 -17
- package/build/esm/navigation.js +47 -47
- package/build/esm/navigationLogoutPopup.js +11 -11
- package/build/esm/navigationProfileButton.js +27 -27
- package/build/esm/onboardingV2.js +30 -30
- package/build/esm/organisms.js +57 -57
- package/build/esm/{post-074bc746.js → post-f4aed128.js} +2 -2
- package/build/esm/profileNavigation.js +20 -20
- package/build/esm/progressBar.js +1 -1
- package/build/esm/pwg.js +23 -23
- package/build/esm/ssoV2.js +31 -31
- package/build/esm/{store-03a17277.js → store-50ce758c.js} +3 -3
- package/build/esm/subot.js +40 -40
- package/build/esm/surveyOrPremiumBanner.js +34 -34
- package/build/esm/surveyQuestionCard.js +11 -11
- package/build/esm/{surveyThankyouCard-f56cda32.js → surveyThankyouCard-6a3a9a3a.js} +5 -5
- package/build/esm/together.js +57 -57
- package/build/esm/togetherApiUtils.js +4 -4
- package/build/esm/togetherAtoms.js +31 -31
- package/build/esm/togetherComponentGlobalContext.js +4 -4
- package/build/esm/togetherMolecules.js +52 -52
- package/build/esm/togetherMoleculesCardAuthor.js +29 -29
- package/build/esm/togetherMoleculesPostImagePreview.js +11 -11
- package/build/esm/togetherMoleculesProfileDetail.js +40 -40
- package/build/esm/togetherOrganisms.js +51 -51
- package/build/esm/togetherRichTextEditor.js +18 -18
- package/build/esm/togetherShareBox.js +10 -10
- package/build/esm/{translationsProvider-9abe2ea5.js → translationsProvider-fddde696.js} +1 -1
- package/build/esm/{treePopoverMenu-7af326a6.js → treePopoverMenu-5d6df0e6.js} +19 -19
- package/build/esm/types.js +2 -2
- package/build/esm/{useHealthToolCache-fc75e31d.js → useHealthToolCache-34399ed5.js} +1 -1
- package/build/esm/{usePhoneValidator-7a3555ac.js → usePhoneValidator-68c747d8.js} +5 -5
- package/build/esm/{usePlacesAutocomplete-2eb6ff18.js → usePlacesAutocomplete-69bf204a.js} +1 -1
- package/build/esm/useTogetherAuthRequiredAction.js +10 -10
- package/build/esm/{utils-832ec2d2.js → utils-335aa685.js} +3 -3
- package/build/esm/{utils-4dbead70.js → utils-39689989.js} +2 -2
- package/build/esm/{utils-aac824de.js → utils-502f8e02.js} +5 -5
- package/build/esm/{utils-77edd60e.js → utils-fabe9e0c.js} +2 -2
- package/build/esm/vaccination.js +22 -22
- package/build/footer.js +22 -22
- package/build/gAssets.js +2 -2
- package/build/{healthTools-b108f22d.js → healthTools-b4041dc8.js} +1 -1
- package/build/healthToolsCardWrapper.js +20 -20
- package/build/healthToolsForm.js +35 -35
- package/build/hooks.js +13 -13
- package/build/i18n.js +2 -2
- package/build/i18nV2.js +1 -1
- package/build/{index-b6bf7a45.js → index-016ea64e.js} +15 -15
- package/build/{index-05a83b3f.js → index-051c6999.js} +7 -7
- package/build/{index-2fba47d1.js → index-058ed96b.js} +6 -6
- package/build/{index-5e5b1d78.js → index-0d400f26.js} +14 -14
- package/build/{index-c71b11a8.js → index-119cf473.js} +21 -21
- package/build/{index-8fd14974.js → index-150da8f5.js} +17 -17
- package/build/{index-c70e131d.js → index-1513f9a2.js} +10 -10
- package/build/{index-7223368d.js → index-163a2f57.js} +2 -2
- package/build/{index-341fc2a3.js → index-172429ae.js} +2 -2
- package/build/{index-689496bd.js → index-1fc79e99.js} +2 -2
- package/build/{index-f2f9228e.js → index-229cc73d.js} +32 -32
- package/build/{index-b07d38fb.js → index-2467948c.js} +5 -5
- package/build/{index-03e1d5fd.js → index-260b6596.js} +2 -2
- package/build/{index-fef96902.js → index-2f51eb3a.js} +3 -3
- package/build/{index-e8b6202b.js → index-30940204.js} +2 -2
- package/build/{index-79544fc5.js → index-34f300b2.js} +16 -16
- package/build/{index-3e3c4e5c.js → index-38daffc4.js} +2 -2
- package/build/{index-d236d045.js → index-3b068aa7.js} +521 -40
- package/build/{index-a24b8ff4.js → index-3b45d264.js} +1 -1
- package/build/{index-6b3023a4.js → index-3cbab1a9.js} +1 -1
- package/build/{index-05dd4e43.js → index-3f4e93c7.js} +3 -3
- package/build/{index-0cb74f84.js → index-400cb283.js} +4 -4
- package/build/{index-3440d3d6.js → index-44d40cf1.js} +2 -2
- package/build/{index-b37b7583.js → index-459b247e.js} +1 -1
- package/build/{index-8715b934.js → index-4a5cc22c.js} +19 -19
- package/build/{index-97074c90.js → index-4d88cf77.js} +3 -3
- package/build/{index-341effc4.js → index-54a3c8d1.js} +9 -9
- package/build/{index-c2e2679b.js → index-562deb96.js} +2 -2
- package/build/{index-789d20a1.js → index-574c3435.js} +15 -16
- package/build/{index-c8cf00a7.js → index-5ad95c92.js} +14 -14
- package/build/{index-248ff166.js → index-5f1ad61b.js} +8 -8
- package/build/{index-c14c419b.js → index-67e6647d.js} +2 -2
- package/build/{index-cbb9ecb9.js → index-7426b901.js} +3 -3
- package/build/{index-1d68a820.js → index-81160195.js} +1 -1
- package/build/{index-1af808e5.js → index-86b34a22.js} +22 -22
- package/build/{index-38f73ff6.js → index-8a322189.js} +2 -2
- package/build/{index-e857b364.js → index-8b1188d0.js} +25 -25
- package/build/{index-43eb9a8f.js → index-9055f682.js} +2 -2
- package/build/{index-34dc8100.js → index-93780d18.js} +11 -11
- package/build/{index-5ee8f08f.js → index-95e74842.js} +16 -16
- package/build/{index-043e6207.js → index-96c020bf.js} +4 -4
- package/build/{index-4fdf82be.js → index-98dc22c3.js} +2 -2
- package/build/{index-d0d1213a.js → index-a08dc65e.js} +18 -18
- package/build/{index-afe5b4d7.js → index-a1f69138.js} +6 -6
- package/build/{index-1240e733.js → index-b17ece1f.js} +13 -13
- package/build/{index-21631abb.js → index-b37a8849.js} +3 -3
- package/build/{index-65bc602a.js → index-b77191cd.js} +8 -8
- package/build/{index-684152f8.js → index-b94fd6dd.js} +16 -16
- package/build/{index-9223c638.js → index-b9ccb7e5.js} +7 -7
- package/build/{index-500a4407.js → index-bca41cbd.js} +15 -15
- package/build/{index-c8adef99.js → index-bd10cfaa.js} +3 -3
- package/build/{index-08a9bfca.js → index-be3038f7.js} +6 -6
- package/build/{index-8fc85234.js → index-c06f84db.js} +2 -2
- package/build/{index-e90bbe00.js → index-c58842fb.js} +14 -14
- package/build/{index-f845ec6e.js → index-c7fe0fd0.js} +32 -32
- package/build/{index-a426ea14.js → index-d1af31e8.js} +3 -3
- package/build/{index-51161bde.js → index-d2bb7dff.js} +2 -2
- package/build/{index-19d02253.js → index-d4a14d8d.js} +18 -18
- package/build/{index-945b70e4.js → index-da2004cd.js} +30 -30
- package/build/{index-6c650ac4.js → index-da67cbe4.js} +1 -1
- package/build/{index-8474f1a3.js → index-dac9f3e2.js} +2 -2
- package/build/{index-f9dfc14c.js → index-df1ae066.js} +1 -1
- package/build/{index-c5af29fd.js → index-e4dba2a9.js} +2 -2
- package/build/{index-93151a6e.js → index-e5b33a17.js} +3 -3
- package/build/{index-5c4d582b.js → index-eb253e02.js} +6 -6
- package/build/{index-bfd8f23b.js → index-eeb05b24.js} +3 -3
- package/build/{index-3c8a2741.js → index-efb10726.js} +16 -16
- package/build/{index-998449e8.js → index-f366e980.js} +5 -5
- package/build/{index-7dca6243.js → index-f610b138.js} +13 -13
- package/build/{index-b80f1b64.js → index-fe5bb03e.js} +21 -21
- package/build/{index-f848ee26.js → index-ff061d98.js} +1 -1
- package/build/{index-51229c6c.js → index-ffe45709.js} +2 -2
- package/build/index.js +127 -124
- package/build/{labelSorting-6ef8aae1.js → labelSorting-a7ae14f3.js} +4 -4
- package/build/lead.js +35 -35
- package/build/{logoIcon-6222068e.js → logoIcon-1159a28c.js} +2 -2
- package/build/mantine.js +25 -25
- package/build/misc.js +19 -19
- package/build/miscGetDynamicHealthTool.js +4 -4
- package/build/miscGetSocialList.js +8 -8
- package/build/miscScreenSizeContext.js +1 -1
- package/build/mobileBottomNavigation.js +5 -5
- package/build/mobileBottomNavigationIcon.js +5 -5
- package/build/molecules.js +82 -78
- package/build/moleculesArticleCard.js +6 -6
- package/build/moleculesArticleCardV2.js +17 -17
- package/build/navigation.js +47 -47
- package/build/navigationLogoutPopup.js +11 -11
- package/build/navigationProfileButton.js +27 -27
- package/build/onboardingV2.js +29 -29
- package/build/organisms.js +57 -57
- package/build/{post-2bab3150.js → post-f4ee9316.js} +2 -2
- package/build/profileNavigation.js +20 -20
- package/build/progressBar.js +1 -1
- package/build/pwg.js +23 -23
- package/build/ssoV2.js +29 -29
- package/build/{store-1c7baafb.js → store-76a3c37a.js} +3 -3
- package/build/subot.js +39 -39
- package/build/surveyOrPremiumBanner.js +34 -34
- package/build/surveyQuestionCard.js +11 -11
- package/build/{surveyThankyouCard-7ecf7251.js → surveyThankyouCard-18ce2793.js} +5 -5
- package/build/together.js +57 -57
- package/build/togetherApiUtils.js +4 -4
- package/build/togetherAtoms.js +31 -31
- package/build/togetherComponentGlobalContext.js +4 -4
- package/build/togetherMolecules.js +52 -52
- package/build/togetherMoleculesCardAuthor.js +29 -29
- package/build/togetherMoleculesPostImagePreview.js +11 -11
- package/build/togetherMoleculesProfileDetail.js +40 -40
- package/build/togetherOrganisms.js +51 -51
- package/build/togetherRichTextEditor.js +18 -18
- package/build/togetherShareBox.js +10 -10
- package/build/{translationsProvider-679e9496.js → translationsProvider-9e472305.js} +1 -1
- package/build/{treePopoverMenu-1031e15b.js → treePopoverMenu-bff7b046.js} +19 -19
- package/build/types.js +2 -2
- package/build/{useHealthToolCache-52ff01c1.js → useHealthToolCache-d9424c0e.js} +1 -1
- package/build/{usePhoneValidator-4e7cdd0f.js → usePhoneValidator-647faac5.js} +5 -5
- package/build/{usePlacesAutocomplete-107b82ca.js → usePlacesAutocomplete-00f93f92.js} +1 -1
- package/build/useTogetherAuthRequiredAction.js +10 -10
- package/build/{utils-95a57727.js → utils-345ca9e6.js} +3 -3
- package/build/{utils-2ea6b94b.js → utils-695f5fbe.js} +2 -2
- package/build/{utils-948a0765.js → utils-ddf746d0.js} +5 -5
- package/build/{utils-fb3e27dd.js → utils-e66756c5.js} +2 -2
- package/build/vaccination.js +22 -22
- package/package.json +1 -1
- /package/build/{BMI_BOYS.percentile.monthly-3659be4e.js → BMI_BOYS.percentile.monthly-4606a0fb.js} +0 -0
- /package/build/{BMI_BOYS.percentile.weekly-d297fb3d.js → BMI_BOYS.percentile.weekly-cac254ff.js} +0 -0
- /package/build/{BMI_BOYS.percentile.yearly-9b6c0bd2.js → BMI_BOYS.percentile.yearly-c1aa8a4b.js} +0 -0
- /package/build/{BMI_BOYS.zscore.monthly-24227903.js → BMI_BOYS.zscore.monthly-ebe25afb.js} +0 -0
- /package/build/{BMI_BOYS.zscore.weekly-73f92a39.js → BMI_BOYS.zscore.weekly-a36d5e89.js} +0 -0
- /package/build/{BMI_BOYS.zscore.yearly-2c2562d0.js → BMI_BOYS.zscore.yearly-cf3a1aac.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.monthly-c39c9ac1.js → BMI_GIRLS.percentile.monthly-fcc11575.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.weekly-874e7209.js → BMI_GIRLS.percentile.weekly-5bc8fbc5.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.yearly-8621dd79.js → BMI_GIRLS.percentile.yearly-2a3fbec6.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.monthly-a133a83d.js → BMI_GIRLS.zscore.monthly-13307f8f.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.weekly-4143a47a.js → BMI_GIRLS.zscore.weekly-9e3318ba.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.yearly-f60d08b1.js → BMI_GIRLS.zscore.yearly-0577db73.js} +0 -0
- /package/build/{ChevronDown-e42c76b2.js → ChevronDown-92be53f5.js} +0 -0
- /package/build/{Close-151ad795.js → Close-dda07159.js} +0 -0
- /package/build/{Google-de53aee8.js → Google-750e4e1d.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-8b4e1f59.js → HEAD CIRCUM_BOYS.percentile.monthly-42c3ed3e.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-a1ff258e.js → HEAD CIRCUM_BOYS.percentile.weekly-26573570.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-e394ebe7.js → HEAD CIRCUM_BOYS.percentile.yearly-dacba564.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-81af9c79.js → HEAD CIRCUM_BOYS.zscore.monthly-56e46044.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-378fef54.js → HEAD CIRCUM_BOYS.zscore.weekly-e3c4d90a.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-daab842f.js → HEAD CIRCUM_BOYS.zscore.yearly-c3ea276a.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-01a77dbc.js → HEAD CIRCUM_GIRLS.percentile.monthly-f803836a.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-936c6051.js → HEAD CIRCUM_GIRLS.percentile.weekly-3ceeb534.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-c9db0c0e.js → HEAD CIRCUM_GIRLS.percentile.yearly-a50d5e7d.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-20d71b2b.js → HEAD CIRCUM_GIRLS.zscore.monthly-5067e62b.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-dfcf612e.js → HEAD CIRCUM_GIRLS.zscore.weekly-af8bcdc6.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-ee3b7614.js → HEAD CIRCUM_GIRLS.zscore.yearly-ad9cb0a0.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.monthly-1d1a7eda.js → HEIGHT_BOYS.percentile.monthly-3e3d9172.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.weekly-28a5d3fa.js → HEIGHT_BOYS.percentile.weekly-c26cd20f.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.yearly-e588a4f2.js → HEIGHT_BOYS.percentile.yearly-b3834592.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.monthly-c3766b15.js → HEIGHT_BOYS.zscore.monthly-5340dc17.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.weekly-5ef5898e.js → HEIGHT_BOYS.zscore.weekly-f8d908a9.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.yearly-a80e8f78.js → HEIGHT_BOYS.zscore.yearly-a5d1c2c2.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.monthly-818c8e9c.js → HEIGHT_GIRLS.percentile.monthly-9924829a.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.weekly-ff262ca2.js → HEIGHT_GIRLS.percentile.weekly-51007ae5.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.yearly-11562d05.js → HEIGHT_GIRLS.percentile.yearly-6c9aa3e8.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.monthly-983091ff.js → HEIGHT_GIRLS.zscore.monthly-f52c29da.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.weekly-c079dfe1.js → HEIGHT_GIRLS.zscore.weekly-43542c93.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.yearly-7c9642fc.js → HEIGHT_GIRLS.zscore.yearly-8cfa0f3e.js} +0 -0
- /package/build/{Locale-a4854278.js → Locale-e922eed5.js} +0 -0
- /package/build/{Visible-8f0153e1.js → Visible-5cf10dcb.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.monthly-5d077a0e.js → WEIGHT_BOYS.percentile.monthly-4b5ae49c.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.weekly-c9cd0a05.js → WEIGHT_BOYS.percentile.weekly-04222e41.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.yearly-bb10806f.js → WEIGHT_BOYS.percentile.yearly-5c5413b3.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.monthly-b263c141.js → WEIGHT_BOYS.zscore.monthly-4a752452.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.weekly-17a98532.js → WEIGHT_BOYS.zscore.weekly-4ab9597d.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.yearly-9328deeb.js → WEIGHT_BOYS.zscore.yearly-5aaec031.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.monthly-12d5e0a2.js → WEIGHT_GIRLS.percentile.monthly-28a01d62.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.weekly-b1858139.js → WEIGHT_GIRLS.percentile.weekly-51a1437a.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.yearly-dd974cf3.js → WEIGHT_GIRLS.percentile.yearly-46e78880.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.monthly-b795d5ce.js → WEIGHT_GIRLS.zscore.monthly-67229a4b.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.weekly-bf517a99.js → WEIGHT_GIRLS.zscore.weekly-97986132.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.yearly-09dfa71b.js → WEIGHT_GIRLS.zscore.yearly-43d15c0a.js} +0 -0
- /package/build/{ageGenerate-e7469430.js → ageGenerate-71a016a4.js} +0 -0
- /package/build/{animation-1654973f.js → animation-a8d09153.js} +0 -0
- /package/build/{constants-63e847d3.js → constants-0536ca83.js} +0 -0
- /package/build/{constants-04b49430.js → constants-126cbe10.js} +0 -0
- /package/build/{constants-e2270644.js → constants-64413202.js} +0 -0
- /package/build/{context-60530f29.js → context-6bfe8434.js} +0 -0
- /package/build/{dataTransform-41b9e4ee.js → dataTransform-86baed90.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.monthly-48c09795.js → BMI_BOYS.percentile.monthly-91abfaec.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.weekly-e5882dd2.js → BMI_BOYS.percentile.weekly-79cafa88.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.yearly-14a0bd3e.js → BMI_BOYS.percentile.yearly-c966a9d4.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.monthly-b0466654.js → BMI_BOYS.zscore.monthly-3a14d574.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.weekly-9323135e.js → BMI_BOYS.zscore.weekly-f14d7dd9.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.yearly-7bf32f30.js → BMI_BOYS.zscore.yearly-1b997e15.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.monthly-32fe20bb.js → BMI_GIRLS.percentile.monthly-300d51ff.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.weekly-5cf1a405.js → BMI_GIRLS.percentile.weekly-55c938eb.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.yearly-50dccaad.js → BMI_GIRLS.percentile.yearly-122a90cd.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.monthly-787a9ffe.js → BMI_GIRLS.zscore.monthly-3d6cbc4d.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.weekly-20f11664.js → BMI_GIRLS.zscore.weekly-9410e1f8.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.yearly-1e4bebfc.js → BMI_GIRLS.zscore.yearly-6db44201.js} +0 -0
- /package/build/esm/{ChevronDown-ac5be73d.js → ChevronDown-9b054f3e.js} +0 -0
- /package/build/esm/{Close-824e6681.js → Close-9bf7ab38.js} +0 -0
- /package/build/esm/{Google-99d93a54.js → Google-6e465f9c.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-89f9b61d.js → HEAD CIRCUM_BOYS.percentile.monthly-0416cb32.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-46a0f886.js → HEAD CIRCUM_BOYS.percentile.weekly-60f96449.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-6d89af84.js → HEAD CIRCUM_BOYS.percentile.yearly-1a443d17.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-15c50cde.js → HEAD CIRCUM_BOYS.zscore.monthly-9198d2ca.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-96ed05d6.js → HEAD CIRCUM_BOYS.zscore.weekly-5bde1cf9.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-8e280ff9.js → HEAD CIRCUM_BOYS.zscore.yearly-b776de27.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-e32713b2.js → HEAD CIRCUM_GIRLS.percentile.monthly-3652f5ce.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-e4a68098.js → HEAD CIRCUM_GIRLS.percentile.weekly-e5cb4e5a.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-cff0a38d.js → HEAD CIRCUM_GIRLS.percentile.yearly-760fc7f7.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-d95293b7.js → HEAD CIRCUM_GIRLS.zscore.monthly-6e0c9f2f.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-152c71e7.js → HEAD CIRCUM_GIRLS.zscore.weekly-e0ab15eb.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-e59261f8.js → HEAD CIRCUM_GIRLS.zscore.yearly-5bee479e.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.monthly-0594a453.js → HEIGHT_BOYS.percentile.monthly-63a249df.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.weekly-8e824f64.js → HEIGHT_BOYS.percentile.weekly-4de13bf5.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.yearly-dc4b934b.js → HEIGHT_BOYS.percentile.yearly-9d4af3df.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.monthly-830cc0aa.js → HEIGHT_BOYS.zscore.monthly-767d395c.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.weekly-14ce9c4a.js → HEIGHT_BOYS.zscore.weekly-5435afd5.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.yearly-eb9a70bb.js → HEIGHT_BOYS.zscore.yearly-844d63f6.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-bb64f2b3.js → HEIGHT_GIRLS.percentile.monthly-79de34ad.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-f8b3e848.js → HEIGHT_GIRLS.percentile.weekly-f14ce9bc.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-36370bf6.js → HEIGHT_GIRLS.percentile.yearly-b7a4d01c.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-988aea4a.js → HEIGHT_GIRLS.zscore.monthly-6e28d6e1.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-127fe806.js → HEIGHT_GIRLS.zscore.weekly-5e5609af.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-a8540b8c.js → HEIGHT_GIRLS.zscore.yearly-5cc2379f.js} +0 -0
- /package/build/esm/{Locale-c0ccb529.js → Locale-4f54dec0.js} +0 -0
- /package/build/esm/{Visible-b7896590.js → Visible-01f3ae20.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.monthly-40fa039d.js → WEIGHT_BOYS.percentile.monthly-7401ed3c.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.weekly-c4b6b112.js → WEIGHT_BOYS.percentile.weekly-ff03e11d.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.yearly-33a35994.js → WEIGHT_BOYS.percentile.yearly-23b7f0a7.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.monthly-765a028f.js → WEIGHT_BOYS.zscore.monthly-0bc14a26.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.weekly-0bb5d316.js → WEIGHT_BOYS.zscore.weekly-356fd8d3.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.yearly-f1291ad0.js → WEIGHT_BOYS.zscore.yearly-af7c91fa.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-ab18ccfc.js → WEIGHT_GIRLS.percentile.monthly-b36ef34a.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-8f2a7cd7.js → WEIGHT_GIRLS.percentile.weekly-1bf4f158.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-ffc39958.js → WEIGHT_GIRLS.percentile.yearly-43108d17.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-e3267ce3.js → WEIGHT_GIRLS.zscore.monthly-60bc72f2.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-cb86d6c9.js → WEIGHT_GIRLS.zscore.weekly-b44a0082.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-933389b1.js → WEIGHT_GIRLS.zscore.yearly-bd5b20d7.js} +0 -0
- /package/build/esm/{ageGenerate-f786b0de.js → ageGenerate-7fd5d49f.js} +0 -0
- /package/build/esm/{animation-88bb70fe.js → animation-c706eaab.js} +0 -0
- /package/build/esm/{constants-b6e349c3.js → constants-7ec9629a.js} +0 -0
- /package/build/esm/{constants-4e5e59b6.js → constants-a34084bc.js} +0 -0
- /package/build/esm/{constants-37409c31.js → constants-c19aa9af.js} +0 -0
- /package/build/esm/{context-ccc8129d.js → context-a0db7e43.js} +0 -0
- /package/build/esm/{dataTransform-627d92c6.js → dataTransform-292f0381.js} +0 -0
- /package/build/esm/{index-c66a920c.js → index-0217a4ee.js} +0 -0
- /package/build/esm/{index-84620b42.js → index-2a0ee7a6.js} +0 -0
- /package/build/esm/{index-db8e8e7b.js → index-30eea3f6.js} +0 -0
- /package/build/esm/{index-d8f59b87.js → index-455d6c13.js} +0 -0
- /package/build/esm/{index-bb4ccebc.js → index-7b5503a7.js} +0 -0
- /package/build/esm/{index-9b31987c.js → index-8895cfb2.js} +0 -0
- /package/build/esm/{index-7963fa7d.js → index-952d2e64.js} +0 -0
- /package/build/esm/{index-1b2a663b.js → index-b3614ac9.js} +0 -0
- /package/build/esm/{index-a8abad6b.js → index-be88675d.js} +0 -0
- /package/build/esm/{index.styles-2575877c.js → index.styles-8c49d75c.js} +0 -0
- /package/build/esm/{localizeNumberFormat-5480968d.js → localizeNumberFormat-bb317bed.js} +0 -0
- /package/build/esm/{normalizeLink-8b659745.js → normalizeLink-2892a93f.js} +0 -0
- /package/build/esm/{number-eb9ba550.js → number-b31b4f94.js} +0 -0
- /package/build/esm/{paths-1a9f7c44.js → paths-d281505d.js} +0 -0
- /package/build/esm/{shared-a65f5c3c.js → shared-46a35efe.js} +0 -0
- /package/build/esm/{translationsContext-eaa23cd9.js → translationsContext-26059208.js} +0 -0
- /package/build/esm/{tslib.es6-b5ec78ee.js → tslib.es6-30239d68.js} +0 -0
- /package/build/esm/{types-ebfc69f4.js → types-3f62144c.js} +0 -0
- /package/build/esm/{types-51d0c587.js → types-87bed564.js} +0 -0
- /package/build/esm/{useIsInit-2d45731e.js → useIsInit-6efef225.js} +0 -0
- /package/build/esm/{useOutsideClick-795bffea.js → useOutsideClick-319c484f.js} +0 -0
- /package/build/esm/{useScrollbarSize-e9438c23.js → useScrollbarSize-f15c0b50.js} +0 -0
- /package/build/esm/{useUniqueId-b23018c5.js → useUniqueId-55d7a609.js} +0 -0
- /package/build/esm/{utils-966390d8.js → utils-a07c52f3.js} +0 -0
- /package/build/esm/{utils-c5a1f614.js → utils-d6658365.js} +0 -0
- /package/build/{index-93755791.js → index-29078700.js} +0 -0
- /package/build/{index-9cfb5787.js → index-32fb18bb.js} +0 -0
- /package/build/{index-4fdb3ded.js → index-4554fc25.js} +0 -0
- /package/build/{index-cd6cc91e.js → index-4a306e98.js} +0 -0
- /package/build/{index-ebaf2c19.js → index-730dffaa.js} +0 -0
- /package/build/{index-cc33fc35.js → index-787c2f81.js} +0 -0
- /package/build/{index-680a545b.js → index-795f05a1.js} +0 -0
- /package/build/{index-2171ad3c.js → index-a8f53615.js} +0 -0
- /package/build/{index-25007710.js → index-d10cca70.js} +0 -0
- /package/build/{index.styles-2fc37e7a.js → index.styles-9f250b36.js} +0 -0
- /package/build/{localizeNumberFormat-151dbf6d.js → localizeNumberFormat-121194dc.js} +0 -0
- /package/build/{normalizeLink-c4c5a609.js → normalizeLink-14dc8375.js} +0 -0
- /package/build/{number-fe162539.js → number-c5f14924.js} +0 -0
- /package/build/{paths-1db3c832.js → paths-7a5a9654.js} +0 -0
- /package/build/{shared-13556acc.js → shared-a9ab706c.js} +0 -0
- /package/build/{translationsContext-a5de37cf.js → translationsContext-bd9c3805.js} +0 -0
- /package/build/{tslib.es6-7c7d06ab.js → tslib.es6-33927d18.js} +0 -0
- /package/build/{types-75c5ac8a.js → types-7e907aaa.js} +0 -0
- /package/build/{types-301f2bef.js → types-d66e2c43.js} +0 -0
- /package/build/{useIsInit-dc168dd7.js → useIsInit-cf023b17.js} +0 -0
- /package/build/{useOutsideClick-d0f8fc88.js → useOutsideClick-0249ce83.js} +0 -0
- /package/build/{useScrollbarSize-f05846fb.js → useScrollbarSize-914fd5ab.js} +0 -0
- /package/build/{useUniqueId-9dcc1d25.js → useUniqueId-3531b14b.js} +0 -0
- /package/build/{utils-053ed913.js → utils-a5e4055f.js} +0 -0
- /package/build/{utils-65bcd44e.js → utils-ada9af76.js} +0 -0
|
@@ -1,54 +1,56 @@
|
|
|
1
|
-
import { _ as __rest, a as __awaiter } from './tslib.es6-
|
|
1
|
+
import { _ as __rest, a as __awaiter } from './tslib.es6-30239d68.js';
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import React__default, { useRef, useState, useEffect, useImperativeHandle, useMemo, Fragment, useCallback, forwardRef, memo, createContext, useContext } from 'react';
|
|
4
|
-
import { R as Radio } from './index-
|
|
5
|
-
import { Stack, Group, createStyles, getStylesRef, Box, Badge, rem, Divider, clsx, Button as Button$2, AspectRatio, Grid } from '@mantine/core';
|
|
4
|
+
import { R as Radio, a as Carousel } from './index-c7f0c8c5.js';
|
|
5
|
+
import { Stack, Group, createStyles, getStylesRef, Box, Badge, rem, Divider, clsx, Button as Button$2, AspectRatio, Modal, Grid } from '@mantine/core';
|
|
6
6
|
import '@mantine/dates';
|
|
7
|
-
import { L as LOCALE_SPECS, F as FAVICONS } from './index-
|
|
8
|
-
import './index-
|
|
9
|
-
import { C as CommonGAssets } from './index-
|
|
10
|
-
import './index-
|
|
11
|
-
import { T as Text } from './index-
|
|
12
|
-
import { B as Button$1 } from './index-
|
|
13
|
-
import './index-
|
|
14
|
-
import './index.styles-
|
|
15
|
-
import './translationsContext-
|
|
7
|
+
import { L as LOCALE_SPECS, F as FAVICONS, Z as ZINDEX_SSO } from './index-c80af3fd.js';
|
|
8
|
+
import './index-a8dd988b.js';
|
|
9
|
+
import { C as CommonGAssets } from './index-455d6c13.js';
|
|
10
|
+
import './index-775acaac.js';
|
|
11
|
+
import { T as Text } from './index-ee0e07c2.js';
|
|
12
|
+
import { B as Button$1 } from './index-80a2f314.js';
|
|
13
|
+
import './index-8895cfb2.js';
|
|
14
|
+
import './index.styles-8c49d75c.js';
|
|
15
|
+
import './translationsContext-26059208.js';
|
|
16
16
|
import '@mantine/hooks';
|
|
17
|
-
import { M as MediaQueries } from './utils-
|
|
18
|
-
import './index-
|
|
19
|
-
import { i as isInternalLink } from './index-
|
|
17
|
+
import { M as MediaQueries } from './utils-d6658365.js';
|
|
18
|
+
import './index-2f0baed4.js';
|
|
19
|
+
import { i as isInternalLink } from './index-d2863e9f.js';
|
|
20
20
|
import styled from '@emotion/styled';
|
|
21
21
|
import { theme } from './miscTheme.js';
|
|
22
|
-
import { C as Checkbox, a as PureInput, P as Pagination$1, b as SearchInput, I as ImageWrapV2 } from './index-
|
|
22
|
+
import { C as Checkbox, a as PureInput, P as Pagination$1, b as SearchInput, I as ImageWrapV2 } from './index-8e987236.js';
|
|
23
23
|
import { format, isBefore, startOfMonth, addMonths, subMonths, getDaysInMonth, isToday, isSameDay, isWithinInterval, isAfter, isPast } from 'date-fns';
|
|
24
24
|
import DayPickerInput from 'react-day-picker/DayPickerInput';
|
|
25
|
-
import { L as Logo } from './index-
|
|
25
|
+
import { L as Logo } from './index-625367e5.js';
|
|
26
26
|
import throttle from 'lodash/throttle';
|
|
27
27
|
import parse from 'html-react-parser';
|
|
28
28
|
import { domainLocales } from './constantsDomainLocales.js';
|
|
29
29
|
import { isProduction } from './constantsIsProduction.js';
|
|
30
|
-
import { a as useOutsideClick } from './useOutsideClick-
|
|
30
|
+
import { a as useOutsideClick } from './useOutsideClick-319c484f.js';
|
|
31
31
|
import enUS from 'date-fns/locale/en-US';
|
|
32
32
|
import id from 'date-fns/locale/id';
|
|
33
33
|
import vi from 'date-fns/locale/vi';
|
|
34
34
|
import zhTW from 'date-fns/locale/zh-TW';
|
|
35
|
-
import { B as Button } from './index-
|
|
36
|
-
import { u as useScreenSize, I as ImageWrap } from './index-
|
|
37
|
-
import { u as useTranslations } from './index-
|
|
35
|
+
import { B as Button } from './index-91604e15.js';
|
|
36
|
+
import { u as useScreenSize, I as ImageWrap } from './index-a8430432.js';
|
|
37
|
+
import { u as useTranslations } from './index-af067d95.js';
|
|
38
38
|
import classNames from 'classnames';
|
|
39
|
-
import { D as Dropdown } from './index-
|
|
39
|
+
import { D as Dropdown } from './index-952d2e64.js';
|
|
40
40
|
import { getSocialList } from './miscGetSocialList.js';
|
|
41
|
-
import { I as Input } from './index-
|
|
42
|
-
import { D as Drawer } from './index-
|
|
41
|
+
import { I as Input } from './index-a558813b.js';
|
|
42
|
+
import { D as Drawer } from './index-f9424820.js';
|
|
43
43
|
import { v4 } from 'uuid';
|
|
44
|
-
import { L as LOCALE } from './Locale-
|
|
44
|
+
import { L as LOCALE } from './Locale-4f54dec0.js';
|
|
45
45
|
import { ArrowRight } from '@hhgtech/icons/arrow';
|
|
46
46
|
import { MultiStar, Question } from '@hhgtech/icons/other';
|
|
47
47
|
import Lottie from 'lottie-light-react';
|
|
48
|
-
import { A as ArrowRightBlue } from './index-
|
|
49
|
-
import { L as Loading } from './index-
|
|
48
|
+
import { A as ArrowRightBlue } from './index-b6e6f60c.js';
|
|
49
|
+
import { L as Loading } from './index-55ec231e.js';
|
|
50
50
|
import get from 'lodash/get';
|
|
51
51
|
import debounce from 'lodash/debounce';
|
|
52
|
+
import { C as Close } from './Close-9bf7ab38.js';
|
|
53
|
+
import { useAnimationOffsetEffect } from '@mantine/carousel';
|
|
52
54
|
|
|
53
55
|
const StarFull = (_a) => {
|
|
54
56
|
var { color, stroke } = _a, props = __rest(_a, ["color", "stroke"]);
|
|
@@ -4867,10 +4869,10 @@ function Item({ render, }) {
|
|
|
4867
4869
|
|
|
4868
4870
|
const DEFAULT_PAGE_SIZE = 10;
|
|
4869
4871
|
const DEFAULT_DEBOUNCE = 300;
|
|
4870
|
-
function useList({ fetcher, pageSize = DEFAULT_PAGE_SIZE, defaultSearch = '', defaultFilters = {}, debounceSearch = DEFAULT_DEBOUNCE, defaultLoading, }) {
|
|
4871
|
-
const [items, setItems] = useState([]);
|
|
4872
|
-
const [total, setTotal] = useState(0);
|
|
4873
|
-
const [page, setPage] = useState(1);
|
|
4872
|
+
function useList({ fetcher, pageSize = DEFAULT_PAGE_SIZE, defaultSearch = '', defaultFilters = {}, debounceSearch = DEFAULT_DEBOUNCE, defaultLoading, defaultItems, defaultTotal, defaultPage, }) {
|
|
4873
|
+
const [items, setItems] = useState(defaultItems || []);
|
|
4874
|
+
const [total, setTotal] = useState(defaultTotal !== null && defaultTotal !== void 0 ? defaultTotal : 0);
|
|
4875
|
+
const [page, setPage] = useState(defaultPage !== null && defaultPage !== void 0 ? defaultPage : 1);
|
|
4874
4876
|
const [searchSession, setSearchSession] = useState('');
|
|
4875
4877
|
const [search, setSearch] = useState(defaultSearch);
|
|
4876
4878
|
const [loading, setLoading] = useState(defaultLoading);
|
|
@@ -4992,7 +4994,7 @@ function useList({ fetcher, pageSize = DEFAULT_PAGE_SIZE, defaultSearch = '', de
|
|
|
4992
4994
|
};
|
|
4993
4995
|
}
|
|
4994
4996
|
|
|
4995
|
-
function ListProvider({ fetcher, children, defaultFilters, defaultSearch, pageSize, debounceSearch, defaultLoading, }) {
|
|
4997
|
+
function ListProvider({ fetcher, children, defaultFilters, defaultSearch, pageSize, debounceSearch, defaultLoading, defaultItems, defaultTotal, defaultPage, }) {
|
|
4996
4998
|
const listState = useList({
|
|
4997
4999
|
fetcher,
|
|
4998
5000
|
defaultFilters,
|
|
@@ -5000,6 +5002,9 @@ function ListProvider({ fetcher, children, defaultFilters, defaultSearch, pageSi
|
|
|
5000
5002
|
pageSize,
|
|
5001
5003
|
debounceSearch,
|
|
5002
5004
|
defaultLoading,
|
|
5005
|
+
defaultItems,
|
|
5006
|
+
defaultTotal,
|
|
5007
|
+
defaultPage,
|
|
5003
5008
|
});
|
|
5004
5009
|
const value = useMemo(() => (Object.assign({}, listState)), [
|
|
5005
5010
|
listState.items,
|
|
@@ -5301,7 +5306,7 @@ function CardListItem({ title, href, description, logo, defaultImage, LinkCompon
|
|
|
5301
5306
|
React__default.createElement(Text, { size: isMobile ? 'p2' : 'title2', color: 'gray700', weight: "regular", lineClamp: 2, as: as }, description))) : (description),
|
|
5302
5307
|
contentInfo),
|
|
5303
5308
|
React__default.createElement(LinkComponent, { href: href },
|
|
5304
|
-
React__default.createElement(AspectRatio, { ratio: 1,
|
|
5309
|
+
React__default.createElement(AspectRatio, { ratio: 1, className: "logo" },
|
|
5305
5310
|
React__default.createElement(StyledImageWrap, { src: logo || defaultImage, width: isMobile ? 84 : 148, height: isMobile ? 84 : 148, alt: altText || title, backupSrc: defaultImage }))),
|
|
5306
5311
|
children));
|
|
5307
5312
|
}
|
|
@@ -5399,14 +5404,119 @@ const ProductContent = styled.div `
|
|
|
5399
5404
|
flex-direction: column;
|
|
5400
5405
|
gap: 8px;
|
|
5401
5406
|
}
|
|
5407
|
+
`;
|
|
5408
|
+
const ImageCarouselContainer = styled.div `
|
|
5409
|
+
margin-top: 0.75rem;
|
|
5410
|
+
width: 100%;
|
|
5411
|
+
|
|
5412
|
+
${MediaQueries.mbUp} {
|
|
5413
|
+
margin-top: 12px;
|
|
5414
|
+
}
|
|
5415
|
+
`;
|
|
5416
|
+
const StyledImageCarousel = styled(Carousel) `
|
|
5417
|
+
height: 100%;
|
|
5418
|
+
flex: 1;
|
|
5419
|
+
|
|
5420
|
+
.mantine-Carousel-controls {
|
|
5421
|
+
padding-left: 4px;
|
|
5422
|
+
padding-right: 4px;
|
|
5423
|
+
}
|
|
5424
|
+
|
|
5425
|
+
.mantine-Carousel-control {
|
|
5426
|
+
background-color: #fff;
|
|
5427
|
+
border: none;
|
|
5428
|
+
box-shadow: none;
|
|
5429
|
+
padding: 0;
|
|
5430
|
+
align-items: center;
|
|
5431
|
+
justify-content: center;
|
|
5432
|
+
opacity: 1;
|
|
5433
|
+
width: auto;
|
|
5434
|
+
|
|
5435
|
+
&:hover {
|
|
5436
|
+
background-color: #fff;
|
|
5437
|
+
}
|
|
5438
|
+
|
|
5439
|
+
&:active {
|
|
5440
|
+
background-color: #fff;
|
|
5441
|
+
}
|
|
5442
|
+
|
|
5443
|
+
&[data-inactive] {
|
|
5444
|
+
opacity: 0.5;
|
|
5445
|
+
cursor: default;
|
|
5446
|
+
}
|
|
5447
|
+
}
|
|
5448
|
+
|
|
5449
|
+
.mantine-Carousel-indicators {
|
|
5450
|
+
gap: 0.375rem;
|
|
5451
|
+
bottom: 0.5rem;
|
|
5452
|
+
}
|
|
5453
|
+
|
|
5454
|
+
.mantine-Carousel-indicator {
|
|
5455
|
+
width: 5px;
|
|
5456
|
+
height: 5px;
|
|
5457
|
+
border-radius: 50%;
|
|
5458
|
+
background-color: ${theme.colors.gray200};
|
|
5459
|
+
opacity: 1;
|
|
5460
|
+
|
|
5461
|
+
&[data-active] {
|
|
5462
|
+
background-color: ${theme.colors.black};
|
|
5463
|
+
}
|
|
5464
|
+
}
|
|
5465
|
+
`;
|
|
5466
|
+
const CarouselImageItemWrapper = styled.div `
|
|
5467
|
+
width: 76px;
|
|
5468
|
+
height: 76px;
|
|
5469
|
+
border-radius: 0.5rem;
|
|
5470
|
+
cursor: pointer;
|
|
5471
|
+
|
|
5472
|
+
border: 1px solid ${theme.colors.gray300};
|
|
5473
|
+
transition: border-color 0.15s ease;
|
|
5474
|
+
overflow: hidden;
|
|
5475
|
+
|
|
5476
|
+
&:hover {
|
|
5477
|
+
border-color: ${theme.colors.primaryBase};
|
|
5478
|
+
}
|
|
5479
|
+
`;
|
|
5480
|
+
const CarouselImageItemWrapperMobile = styled.div `
|
|
5481
|
+
width: 100%;
|
|
5482
|
+
aspect-ratio: 375/190;
|
|
5483
|
+
border-radius: 0;
|
|
5484
|
+
cursor: pointer;
|
|
5485
|
+
transition: border-color 0.15s ease;
|
|
5486
|
+
overflow: hidden;
|
|
5487
|
+
`;
|
|
5488
|
+
const CarouselImageItem = styled(ImageWrapV2) `
|
|
5489
|
+
background-color: ${theme.colors.neutral50};
|
|
5490
|
+
width: 100%;
|
|
5491
|
+
height: 100%;
|
|
5492
|
+
object-fit: cover;
|
|
5493
|
+
object-position: center;
|
|
5402
5494
|
`;
|
|
5403
5495
|
|
|
5404
|
-
function GeneralInfo({ generalInfo, backupSrc, className, contentClassName, bannerProps = {}, imagesSelect, children, isMobile = false, }) {
|
|
5496
|
+
function GeneralInfo({ generalInfo, backupSrc, className, contentClassName, bannerProps = {}, imagesSelect, children, isMobile: isMobileProp = false, imageCarousel = [], carouselSlotProps, onCarouselImageClick, }) {
|
|
5497
|
+
const { isMobile: isMobileFromHook } = useScreenSize();
|
|
5498
|
+
// Use isMobile prop first, fallback to breakpoint detection (secondary priority)
|
|
5499
|
+
const isMobile = isMobileProp !== null && isMobileProp !== void 0 ? isMobileProp : isMobileFromHook;
|
|
5500
|
+
const showCarousel = imageCarousel.length > 1;
|
|
5501
|
+
const showCarouselControls = imageCarousel.length > 4 && !isMobile;
|
|
5502
|
+
const showCarouselIndicators = imageCarousel.length > 1 && isMobile;
|
|
5503
|
+
const { imageCarousel: imageCarouselSlotProps, slide: carouselSlideSlotProps, imageItemWrapper: carouselImageItemWrapperSlotProps, imageItem: carouselImageItemSlotProps, } = carouselSlotProps !== null && carouselSlotProps !== void 0 ? carouselSlotProps : {};
|
|
5405
5504
|
return (React__default.createElement(GeneralInfoContainer, { className: className },
|
|
5406
|
-
React__default.createElement("div", { id: "product-image-section" }, imagesSelect ? (imagesSelect) : (React__default.createElement(
|
|
5407
|
-
|
|
5408
|
-
|
|
5409
|
-
|
|
5505
|
+
React__default.createElement("div", { id: "product-image-section" }, imagesSelect ? (imagesSelect) : (React__default.createElement(React__default.Fragment, null, isMobile ? (React__default.createElement(StyledImageCarousel, Object.assign({ slidesToShow: 1, align: "start", withControls: false, withIndicators: showCarouselIndicators, dragFree: false, slideSize: "100%", slideGap: 0, draggable: showCarouselIndicators }, imageCarouselSlotProps), imageCarousel.map((imageUrl, index) => (React__default.createElement(Carousel.Slide, Object.assign({ key: index }, carouselSlideSlotProps),
|
|
5506
|
+
React__default.createElement(CarouselImageItemWrapperMobile, { onClick: () => onCarouselImageClick === null || onCarouselImageClick === void 0 ? void 0 : onCarouselImageClick(index) },
|
|
5507
|
+
React__default.createElement(CarouselImageItem, Object.assign({}, carouselImageItemSlotProps, { src: imageUrl, alt: `${generalInfo.altText || 'product'} - ${index + 1}`, backupSrc: backupSrc, isMobile: isMobile })))))))) : (React__default.createElement(React__default.Fragment, null,
|
|
5508
|
+
React__default.createElement(ProductImage, Object.assign({ backupSrc: backupSrc, src: generalInfo.banner || generalInfo.logo, alt: generalInfo.altText ||
|
|
5509
|
+
(typeof generalInfo.name === 'string'
|
|
5510
|
+
? generalInfo.name
|
|
5511
|
+
: 'product') }, bannerProps)),
|
|
5512
|
+
showCarousel && (React__default.createElement(ImageCarouselContainer, null,
|
|
5513
|
+
React__default.createElement(StyledImageCarousel, Object.assign({ slidesToShow: 4, align: "start", withControls: showCarouselControls, withIndicators: false, dragFree: true, controlSize: 24, slideSize: 76, slideGap: 10 }, imageCarouselSlotProps), imageCarousel.map((imageUrl, index) => (React__default.createElement(Carousel.Slide, Object.assign({ key: index }, carouselSlideSlotProps),
|
|
5514
|
+
React__default.createElement(CarouselImageItemWrapper, Object.assign({}, carouselImageItemWrapperSlotProps, { onClick: (event) => {
|
|
5515
|
+
var _a;
|
|
5516
|
+
(_a = carouselImageItemWrapperSlotProps === null || carouselImageItemWrapperSlotProps === void 0 ? void 0 : carouselImageItemWrapperSlotProps.onClick) === null || _a === void 0 ? void 0 : _a.call(carouselImageItemWrapperSlotProps, event);
|
|
5517
|
+
onCarouselImageClick === null || onCarouselImageClick === void 0 ? void 0 : onCarouselImageClick(index);
|
|
5518
|
+
} }),
|
|
5519
|
+
React__default.createElement(CarouselImageItem, Object.assign({}, carouselImageItemSlotProps, { src: imageUrl, alt: `${generalInfo.altText || 'product'} - ${index + 1}`, backupSrc: backupSrc, isMobile: isMobile })))))))))))))),
|
|
5410
5520
|
React__default.createElement(ProductContent, { className: contentClassName },
|
|
5411
5521
|
React__default.createElement("div", { className: "product-info" },
|
|
5412
5522
|
typeof generalInfo.name === 'string' ? (React__default.createElement(Text, { size: "h3", fw: 600, color: "gray1000", as: "h1" }, generalInfo.name)) : (generalInfo.name), generalInfo === null || generalInfo === void 0 ? void 0 :
|
|
@@ -5418,6 +5528,374 @@ GeneralInfo.Container = GeneralInfoContainer;
|
|
|
5418
5528
|
GeneralInfo.Image = ProductImage;
|
|
5419
5529
|
GeneralInfo.Content = ProductContent;
|
|
5420
5530
|
|
|
5531
|
+
const GalleryLayout = styled.div `
|
|
5532
|
+
max-width: 1128px;
|
|
5533
|
+
display: flex;
|
|
5534
|
+
flex-direction: column;
|
|
5535
|
+
gap: 0;
|
|
5536
|
+
height: 100%;
|
|
5537
|
+
|
|
5538
|
+
${MediaQueries.mbUp} {
|
|
5539
|
+
flex-direction: row;
|
|
5540
|
+
/* height: auto; */
|
|
5541
|
+
height: 100%;
|
|
5542
|
+
}
|
|
5543
|
+
`;
|
|
5544
|
+
const GalleryMain = styled.div `
|
|
5545
|
+
min-width: 0;
|
|
5546
|
+
height: calc(100% - 108px);
|
|
5547
|
+
width: 100%;
|
|
5548
|
+
${MediaQueries.mbUp} {
|
|
5549
|
+
height: auto;
|
|
5550
|
+
max-height: calc(100dvh - 10dvh);
|
|
5551
|
+
}
|
|
5552
|
+
`;
|
|
5553
|
+
const GallerySidebar = styled.div `
|
|
5554
|
+
width: 100%;
|
|
5555
|
+
flex-shrink: 0;
|
|
5556
|
+
display: flex;
|
|
5557
|
+
flex-direction: column;
|
|
5558
|
+
gap: 1.5rem;
|
|
5559
|
+
width: 412px;
|
|
5560
|
+
padding: 64px 36px 24px 40px;
|
|
5561
|
+
`;
|
|
5562
|
+
const ThumbnailsGrid = styled.div `
|
|
5563
|
+
flex-shrink: 0;
|
|
5564
|
+
display: flex;
|
|
5565
|
+
flex-direction: row;
|
|
5566
|
+
gap: 0.5rem;
|
|
5567
|
+
overflow-x: auto;
|
|
5568
|
+
overflow-y: hidden;
|
|
5569
|
+
scroll-snap-type: x mandatory;
|
|
5570
|
+
-webkit-overflow-scrolling: touch;
|
|
5571
|
+
padding: 16px;
|
|
5572
|
+
|
|
5573
|
+
scroll-padding: 0px 16px;
|
|
5574
|
+
|
|
5575
|
+
&::-webkit-scrollbar {
|
|
5576
|
+
display: none;
|
|
5577
|
+
}
|
|
5578
|
+
|
|
5579
|
+
scrollbar-width: none;
|
|
5580
|
+
|
|
5581
|
+
${MediaQueries.mbUp} {
|
|
5582
|
+
display: grid;
|
|
5583
|
+
grid-template-columns: repeat(4, 1fr);
|
|
5584
|
+
gap: 1rem;
|
|
5585
|
+
overflow: visible;
|
|
5586
|
+
scroll-snap-type: none;
|
|
5587
|
+
padding: 0;
|
|
5588
|
+
}
|
|
5589
|
+
`;
|
|
5590
|
+
const ThumbnailButton = styled.button `
|
|
5591
|
+
border-radius: 0.5rem;
|
|
5592
|
+
padding: 0;
|
|
5593
|
+
background-color: transparent;
|
|
5594
|
+
width: 72px;
|
|
5595
|
+
height: 72px;
|
|
5596
|
+
flex-shrink: 0;
|
|
5597
|
+
overflow: hidden;
|
|
5598
|
+
cursor: pointer;
|
|
5599
|
+
|
|
5600
|
+
scroll-snap-align: start;
|
|
5601
|
+
|
|
5602
|
+
${MediaQueries.mbUp} {
|
|
5603
|
+
scroll-snap-align: unset;
|
|
5604
|
+
}
|
|
5605
|
+
|
|
5606
|
+
&[data-active='true'] {
|
|
5607
|
+
outline: 2px solid ${theme.colors.primaryBase};
|
|
5608
|
+
outline-offset: -2px;
|
|
5609
|
+
}
|
|
5610
|
+
|
|
5611
|
+
&:hover {
|
|
5612
|
+
outline: 2px solid ${theme.colors.primaryBase};
|
|
5613
|
+
outline-offset: -2px;
|
|
5614
|
+
}
|
|
5615
|
+
`;
|
|
5616
|
+
const LargeImageWrapper = styled.div `
|
|
5617
|
+
width: 100%;
|
|
5618
|
+
height: 100%;
|
|
5619
|
+
overflow: hidden;
|
|
5620
|
+
background-color: ${theme.colors.neutral50};
|
|
5621
|
+
display: flex;
|
|
5622
|
+
align-items: center;
|
|
5623
|
+
justify-content: center;
|
|
5624
|
+
|
|
5625
|
+
${MediaQueries.mbUp} {
|
|
5626
|
+
height: 100%;
|
|
5627
|
+
aspect-ratio: 716 / 720;
|
|
5628
|
+
}
|
|
5629
|
+
`;
|
|
5630
|
+
const MainGalleryImage = styled(ImageWrapV2) `
|
|
5631
|
+
background-color: ${theme.colors.neutral50};
|
|
5632
|
+
width: 100%;
|
|
5633
|
+
height: 100%;
|
|
5634
|
+
object-fit: contain;
|
|
5635
|
+
object-position: center;
|
|
5636
|
+
`;
|
|
5637
|
+
const EmptyState = styled.div `
|
|
5638
|
+
display: flex;
|
|
5639
|
+
flex-direction: column;
|
|
5640
|
+
gap: 0.5rem;
|
|
5641
|
+
align-items: center;
|
|
5642
|
+
justify-content: center;
|
|
5643
|
+
min-height: 240px;
|
|
5644
|
+
text-align: center;
|
|
5645
|
+
`;
|
|
5646
|
+
const StyledModal = styled(Modal) `
|
|
5647
|
+
.mantine-Modal-header {
|
|
5648
|
+
padding: 12px 16px;
|
|
5649
|
+
border-bottom: 1px solid #0000001a;
|
|
5650
|
+
}
|
|
5651
|
+
|
|
5652
|
+
.mantine-Modal-close {
|
|
5653
|
+
width: 24px;
|
|
5654
|
+
height: 24px;
|
|
5655
|
+
& > svg {
|
|
5656
|
+
width: auto !important;
|
|
5657
|
+
height: auto !important;
|
|
5658
|
+
}
|
|
5659
|
+
}
|
|
5660
|
+
.mantine-Modal-title {
|
|
5661
|
+
font-weight: 600;
|
|
5662
|
+
font-size: 15px;
|
|
5663
|
+
line-height: 24px;
|
|
5664
|
+
letter-spacing: -0.3px;
|
|
5665
|
+
}
|
|
5666
|
+
.mantine-Modal-inner {
|
|
5667
|
+
left: 0;
|
|
5668
|
+
}
|
|
5669
|
+
|
|
5670
|
+
.mantine-Modal-content {
|
|
5671
|
+
${MediaQueries.mbDown} {
|
|
5672
|
+
display: grid;
|
|
5673
|
+
grid-template-rows: 48px calc(100% - 48px);
|
|
5674
|
+
grid-template-columns: 100%;
|
|
5675
|
+
height: 100dvh;
|
|
5676
|
+
}
|
|
5677
|
+
|
|
5678
|
+
${MediaQueries.mbUp} {
|
|
5679
|
+
border-radius: 12px;
|
|
5680
|
+
}
|
|
5681
|
+
}
|
|
5682
|
+
|
|
5683
|
+
.mantine-Modal-body {
|
|
5684
|
+
height: 100%;
|
|
5685
|
+
max-height: 100%;
|
|
5686
|
+
padding: 0;
|
|
5687
|
+
}
|
|
5688
|
+
|
|
5689
|
+
.closeModal {
|
|
5690
|
+
position: absolute;
|
|
5691
|
+
right: 16px;
|
|
5692
|
+
top: 16px;
|
|
5693
|
+
cursor: pointer;
|
|
5694
|
+
}
|
|
5695
|
+
`;
|
|
5696
|
+
const StyledCarousel = styled(Carousel) `
|
|
5697
|
+
height: 100%;
|
|
5698
|
+
|
|
5699
|
+
.mantine-Carousel-controls {
|
|
5700
|
+
padding-left: 1rem;
|
|
5701
|
+
padding-right: 1rem;
|
|
5702
|
+
}
|
|
5703
|
+
|
|
5704
|
+
.mantine-Carousel-control {
|
|
5705
|
+
background-color: #fff;
|
|
5706
|
+
border: none;
|
|
5707
|
+
box-shadow: none;
|
|
5708
|
+
padding: 0;
|
|
5709
|
+
align-items: center;
|
|
5710
|
+
justify-content: center;
|
|
5711
|
+
opacity: 1;
|
|
5712
|
+
width: auto;
|
|
5713
|
+
|
|
5714
|
+
&:hover {
|
|
5715
|
+
background-color: #fff;
|
|
5716
|
+
}
|
|
5717
|
+
|
|
5718
|
+
&:active {
|
|
5719
|
+
background-color: #fff;
|
|
5720
|
+
}
|
|
5721
|
+
|
|
5722
|
+
&[data-inactive] {
|
|
5723
|
+
opacity: 0.5;
|
|
5724
|
+
cursor: default;
|
|
5725
|
+
}
|
|
5726
|
+
}
|
|
5727
|
+
|
|
5728
|
+
.mantine-Carousel-indicators {
|
|
5729
|
+
gap: 0.375rem;
|
|
5730
|
+
bottom: 0.5rem;
|
|
5731
|
+
}
|
|
5732
|
+
|
|
5733
|
+
.mantine-Carousel-indicator {
|
|
5734
|
+
width: 5px;
|
|
5735
|
+
height: 5px;
|
|
5736
|
+
border-radius: 50%;
|
|
5737
|
+
background-color: ${theme.colors.gray200};
|
|
5738
|
+
opacity: 1;
|
|
5739
|
+
|
|
5740
|
+
&[data-active] {
|
|
5741
|
+
background-color: ${theme.colors.black};
|
|
5742
|
+
}
|
|
5743
|
+
}
|
|
5744
|
+
`;
|
|
5745
|
+
|
|
5746
|
+
const ModalGalleryContext = createContext(null);
|
|
5747
|
+
function useModalGalleryContext() {
|
|
5748
|
+
const ctx = useContext(ModalGalleryContext);
|
|
5749
|
+
if (!ctx)
|
|
5750
|
+
throw new Error('useModalGalleryContext must be used within ModalGalleryProvider');
|
|
5751
|
+
return ctx;
|
|
5752
|
+
}
|
|
5753
|
+
|
|
5754
|
+
const TRANSITION_DURATION$1 = 200;
|
|
5755
|
+
function GalleryCarousel() {
|
|
5756
|
+
const { galleryImages, altPrefix, backupSrc, isMobile, setActiveIndex, setEmbla, embla, initialSlide, } = useModalGalleryContext();
|
|
5757
|
+
useAnimationOffsetEffect(embla, TRANSITION_DURATION$1);
|
|
5758
|
+
const handleEmblaReady = (emblaApi) => {
|
|
5759
|
+
setEmbla(emblaApi);
|
|
5760
|
+
};
|
|
5761
|
+
const handleSlideChange = (index) => {
|
|
5762
|
+
setActiveIndex(index);
|
|
5763
|
+
};
|
|
5764
|
+
return (React__default.createElement(StyledCarousel, { align: "center", slideSize: "100%", withControls: galleryImages.length > 1 && !isMobile, withIndicators: false, dragFree: false, slideGap: 0, draggable: galleryImages.length > 1 && isMobile, getEmblaApi: handleEmblaReady, onSlideChange: handleSlideChange, loop: false, height: "100%", controlSize: 32, initialSlide: initialSlide }, galleryImages.map((imageUrl, index) => (React__default.createElement(Carousel.Slide, { key: `${imageUrl}-${index}` },
|
|
5765
|
+
React__default.createElement(LargeImageWrapper, null,
|
|
5766
|
+
React__default.createElement(MainGalleryImage, { src: imageUrl, alt: `${altPrefix} - ${index + 1}`, backupSrc: backupSrc })))))));
|
|
5767
|
+
}
|
|
5768
|
+
|
|
5769
|
+
function GalleryThumbnails({ isMobile }) {
|
|
5770
|
+
const { galleryImages, altPrefix, backupSrc, activeIndex, handleThumbnailClick, } = useModalGalleryContext();
|
|
5771
|
+
const itemRefs = useRef([]);
|
|
5772
|
+
useEffect(() => {
|
|
5773
|
+
const activeItem = itemRefs.current[activeIndex];
|
|
5774
|
+
if (activeItem && isMobile) {
|
|
5775
|
+
activeItem.scrollIntoView({
|
|
5776
|
+
behavior: 'smooth',
|
|
5777
|
+
block: 'nearest',
|
|
5778
|
+
inline: 'center',
|
|
5779
|
+
});
|
|
5780
|
+
}
|
|
5781
|
+
}, [activeIndex, isMobile]);
|
|
5782
|
+
return (React__default.createElement(ThumbnailsGrid, null, galleryImages.map((imageUrl, index) => (React__default.createElement(ThumbnailButton, { key: `${imageUrl}-${index}`, type: "button", "data-active": activeIndex === index, onClick: () => handleThumbnailClick(index), ref: (el) => (itemRefs.current[index] = el) },
|
|
5783
|
+
React__default.createElement(CarouselImageItem, { src: imageUrl, alt: `${altPrefix} thumbnail - ${index + 1}`, backupSrc: backupSrc, width: 72 }))))));
|
|
5784
|
+
}
|
|
5785
|
+
|
|
5786
|
+
function GalleryTitle({ isMobile }) {
|
|
5787
|
+
const { generalInfo } = useModalGalleryContext();
|
|
5788
|
+
// Mobile title is handled by Modal title prop
|
|
5789
|
+
if (isMobile) {
|
|
5790
|
+
return null;
|
|
5791
|
+
}
|
|
5792
|
+
if (typeof generalInfo.name === 'string') {
|
|
5793
|
+
return (React__default.createElement(Text, { size: "h5", fw: 600, color: "gray1000", as: "h2" }, generalInfo.name));
|
|
5794
|
+
}
|
|
5795
|
+
return React__default.createElement(React__default.Fragment, null, generalInfo.name);
|
|
5796
|
+
}
|
|
5797
|
+
|
|
5798
|
+
function ModalGalleryContent() {
|
|
5799
|
+
const { galleryImages, isMobile } = useModalGalleryContext();
|
|
5800
|
+
const hasImages = galleryImages.length > 0;
|
|
5801
|
+
if (!hasImages) {
|
|
5802
|
+
return (React__default.createElement(EmptyState, null,
|
|
5803
|
+
React__default.createElement(GalleryTitle, { isMobile: isMobile }),
|
|
5804
|
+
React__default.createElement(Text, { size: "p2", color: "gray600" }, "No images available.")));
|
|
5805
|
+
}
|
|
5806
|
+
return (React__default.createElement(GalleryLayout, null,
|
|
5807
|
+
React__default.createElement(GalleryMain, null,
|
|
5808
|
+
React__default.createElement(GalleryCarousel, null)),
|
|
5809
|
+
!isMobile && (React__default.createElement(GallerySidebar, null,
|
|
5810
|
+
React__default.createElement(GalleryTitle, { isMobile: isMobile }),
|
|
5811
|
+
React__default.createElement(GalleryThumbnails, { isMobile: isMobile }))),
|
|
5812
|
+
isMobile && React__default.createElement(GalleryThumbnails, { isMobile: isMobile })));
|
|
5813
|
+
}
|
|
5814
|
+
|
|
5815
|
+
const clampIndex = (index, length) => {
|
|
5816
|
+
if (!length || typeof index !== 'number')
|
|
5817
|
+
return 0;
|
|
5818
|
+
if (index < 0)
|
|
5819
|
+
return 0;
|
|
5820
|
+
if (index >= length)
|
|
5821
|
+
return length - 1;
|
|
5822
|
+
return index;
|
|
5823
|
+
};
|
|
5824
|
+
function useModalGallery({ generalInfo, imageCarousel = [], backupSrc, isMobile = false, initialSlide = 0, }) {
|
|
5825
|
+
const galleryImages = useMemo(() => {
|
|
5826
|
+
if (imageCarousel === null || imageCarousel === void 0 ? void 0 : imageCarousel.length)
|
|
5827
|
+
return imageCarousel;
|
|
5828
|
+
const fallbackImages = [generalInfo.banner, generalInfo.logo].filter((src) => Boolean(src));
|
|
5829
|
+
return fallbackImages;
|
|
5830
|
+
}, [generalInfo.banner, generalInfo.logo, imageCarousel]);
|
|
5831
|
+
const [activeIndex, setActiveIndex] = useState(() => clampIndex(initialSlide, galleryImages.length));
|
|
5832
|
+
const [embla, setEmbla] = useState(null);
|
|
5833
|
+
useEffect(() => {
|
|
5834
|
+
setActiveIndex(clampIndex(initialSlide, galleryImages.length));
|
|
5835
|
+
}, [galleryImages.length, initialSlide]);
|
|
5836
|
+
useEffect(() => {
|
|
5837
|
+
if (!embla || !galleryImages.length)
|
|
5838
|
+
return;
|
|
5839
|
+
const current = embla.selectedScrollSnap();
|
|
5840
|
+
if (current !== activeIndex) {
|
|
5841
|
+
embla.scrollTo(activeIndex);
|
|
5842
|
+
}
|
|
5843
|
+
}, [activeIndex, embla, galleryImages.length]);
|
|
5844
|
+
const altPrefix = generalInfo.altText ||
|
|
5845
|
+
(typeof generalInfo.name === 'string' ? generalInfo.name : 'product image');
|
|
5846
|
+
const handleThumbnailClick = useCallback((index) => {
|
|
5847
|
+
setActiveIndex(index);
|
|
5848
|
+
embla === null || embla === void 0 ? void 0 : embla.scrollTo(index);
|
|
5849
|
+
}, [embla]);
|
|
5850
|
+
return {
|
|
5851
|
+
generalInfo,
|
|
5852
|
+
imageCarousel,
|
|
5853
|
+
backupSrc,
|
|
5854
|
+
isMobile,
|
|
5855
|
+
activeIndex,
|
|
5856
|
+
embla,
|
|
5857
|
+
altPrefix,
|
|
5858
|
+
galleryImages,
|
|
5859
|
+
setActiveIndex,
|
|
5860
|
+
setEmbla,
|
|
5861
|
+
handleThumbnailClick,
|
|
5862
|
+
};
|
|
5863
|
+
}
|
|
5864
|
+
|
|
5865
|
+
function ModalGalleryProvider({ generalInfo, imageCarousel = [], backupSrc, isMobile = false, initialSlide = 0, children, }) {
|
|
5866
|
+
const galleryState = useModalGallery({
|
|
5867
|
+
generalInfo,
|
|
5868
|
+
imageCarousel,
|
|
5869
|
+
backupSrc,
|
|
5870
|
+
isMobile,
|
|
5871
|
+
initialSlide,
|
|
5872
|
+
});
|
|
5873
|
+
const value = useMemo(() => (Object.assign(Object.assign({}, galleryState), { initialSlide })), [
|
|
5874
|
+
galleryState.generalInfo,
|
|
5875
|
+
galleryState.imageCarousel,
|
|
5876
|
+
galleryState.backupSrc,
|
|
5877
|
+
galleryState.isMobile,
|
|
5878
|
+
galleryState.activeIndex,
|
|
5879
|
+
galleryState.embla,
|
|
5880
|
+
galleryState.altPrefix,
|
|
5881
|
+
galleryState.galleryImages,
|
|
5882
|
+
galleryState.handleThumbnailClick,
|
|
5883
|
+
]);
|
|
5884
|
+
return (React__default.createElement(ModalGalleryContext.Provider, { value: value }, children));
|
|
5885
|
+
}
|
|
5886
|
+
|
|
5887
|
+
const TRANSITION_DURATION = 200;
|
|
5888
|
+
function ModalGallery({ generalInfo, imageCarousel = [], backupSrc, isMobile = false, initialSlide = 0, isOpen = false, onOpenChange, modalProps = {}, title = 'Product gallery', }) {
|
|
5889
|
+
const handleClose = () => {
|
|
5890
|
+
onOpenChange === null || onOpenChange === void 0 ? void 0 : onOpenChange(false);
|
|
5891
|
+
};
|
|
5892
|
+
const modalTitle = isMobile ? title : undefined;
|
|
5893
|
+
return (React__default.createElement(StyledModal, Object.assign({ opened: isOpen, onClose: handleClose, zIndex: ZINDEX_SSO, withCloseButton: isMobile, centered: true, size: "auto", fullScreen: isMobile, title: modalTitle, autoFocus: false }, modalProps, { transitionProps: Object.assign({ duration: TRANSITION_DURATION }, modalProps.transitionProps) }),
|
|
5894
|
+
!isMobile && (React__default.createElement(Close, { onClick: handleClose, className: "closeModal", width: 24, height: 24, fill: "#212121" })),
|
|
5895
|
+
React__default.createElement(ModalGalleryProvider, { generalInfo: generalInfo, imageCarousel: imageCarousel, backupSrc: backupSrc, initialSlide: initialSlide, isMobile: isMobile },
|
|
5896
|
+
React__default.createElement(ModalGalleryContent, null))));
|
|
5897
|
+
}
|
|
5898
|
+
|
|
5421
5899
|
const StyledContainer$2 = styled.div `
|
|
5422
5900
|
border-radius: 12px;
|
|
5423
5901
|
padding: 0.875rem 0.75rem;
|
|
@@ -5455,7 +5933,7 @@ const Center = styled.div `
|
|
|
5455
5933
|
`;
|
|
5456
5934
|
|
|
5457
5935
|
const VoucherItem = ({ image, title, description, onClick, className, dataTracking = {}, }) => {
|
|
5458
|
-
return (React__default.createElement(StyledContainer$2, Object.assign({}, dataTracking, { className: className, onClick: onClick }),
|
|
5936
|
+
return (React__default.createElement(StyledContainer$2, Object.assign({}, dataTracking, { className: classNames('voucher-item', className), onClick: onClick }),
|
|
5459
5937
|
React__default.createElement(Grid, { gutter: "8px" },
|
|
5460
5938
|
React__default.createElement(Grid.Col, { span: "content" },
|
|
5461
5939
|
React__default.createElement(Center, null,
|
|
@@ -5467,8 +5945,8 @@ const VoucherItem = ({ image, title, description, onClick, className, dataTracki
|
|
|
5467
5945
|
} }))),
|
|
5468
5946
|
React__default.createElement(Grid.Col, { span: "auto" },
|
|
5469
5947
|
React__default.createElement(StyledFlex, null,
|
|
5470
|
-
React__default.createElement(StyledTitle, { size: "p3", weight: "halfBold", color: "#111111" }, title),
|
|
5471
|
-
React__default.createElement(StyledDescription, { size: "c2", weight: "halfBold" }, description))))));
|
|
5948
|
+
typeof title === 'string' ? (React__default.createElement(StyledTitle, { size: "p3", weight: "halfBold", color: "#111111" }, title)) : (title),
|
|
5949
|
+
typeof description === 'string' ? (React__default.createElement(StyledDescription, { size: "c2", weight: "halfBold" }, description)) : (description))))));
|
|
5472
5950
|
};
|
|
5473
5951
|
|
|
5474
5952
|
const StyledContainer$1 = styled.div `
|
|
@@ -5624,4 +6102,4 @@ const AnsweredByDoctor = (props) => {
|
|
|
5624
6102
|
React__default.createElement(Text, { size: "p3", weight: "semiBold", color: theme.colors.gray800 }, doctorName))));
|
|
5625
6103
|
};
|
|
5626
6104
|
|
|
5627
|
-
export { AdBlock as A, Breadcrumbs as B, CategoryCard as C, DatePicker as D, FloatButtonGroup as F, GeneralInfo as G, HPVScreener as H, IconText as I, List as L,
|
|
6105
|
+
export { AdBlock as A, Breadcrumbs as B, CategoryCard as C, DatePicker as D, FloatButtonGroup as F, GeneralInfo as G, HPVScreener as H, IconText as I, List as L, ModalGallery as M, QuickFilter as Q, RadioGroup as R, ScrollList as S, Tabs as T, VoucherItem as V, WidgetChatbotAi as W, CheckboxGroup as a, StatisticCard as b, index as c, DoctorInfo as d, CookieAcceptConfirm as e, SeoHead as f, DateRangePicker as g, ShareContainer as h, index$1 as i, ShareDrawer as j, FixedBottomAdBlock as k, SummaryInfo as l, ListContext as m, useList as n, QuickFilterWrapLine as o, CardListItem as p, useModalGalleryContext as q, ModalGalleryProvider as r, CertificateItem as s, RatingStars as t, useListContext as u, RatingStarsInput as v, MAX_RATING as w, AnsweredByDoctor as x, StarFull as y, StarHalf as z };
|