@hhgtech/hhg-components 1.29.361 → 1.29.362-beta-1
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-00e481da.js +374 -0
- package/build/{LastPeriod-0343f7fc.js → LastPeriod-e95be4ee.js} +1 -1
- package/build/{MobileBottomNavigationIcon-925c3b0d.js → MobileBottomNavigationIcon-6e426a4b.js} +3 -3
- package/build/{Spinner-7bd6c35a.js → Spinner-b6b94973.js} +1 -1
- package/build/{WhatsApp-3c960a24.js → WhatsApp-cf7f7a1e.js} +1 -1
- package/build/adapters.js +19 -19
- package/build/atoms.js +49 -47
- package/build/babyGrowth.js +83 -83
- package/build/cache.js +2 -2
- package/build/care.js +17 -17
- package/build/careBookingSearchBar.js +14 -14
- package/build/careBookingSearchBarV2.js +15 -15
- package/build/components/atoms/index.d.ts +1 -0
- package/build/components/atoms/inputDate/InputDate.d.ts +25 -0
- package/build/components/atoms/inputDate/InputDate.helpers.d.ts +13 -0
- package/build/components/atoms/inputDate/InputDate.styled.d.ts +5 -0
- package/build/components/atoms/inputDate/index.d.ts +1 -0
- package/build/components/mantine/phoneInput/PhoneInput.d.ts +15 -0
- package/build/components/mantine/phoneInput/index.d.ts +1 -0
- package/build/components.js +122 -121
- package/build/{constants-652c014e.js → constants-e43c8e2d.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-a8bc1a58.js → core-cb77e76d.js} +1 -1
- package/build/{dataTransform-16c7d725.js → dataTransform-90c4d7aa.js} +1 -1
- package/build/ecom.js +4 -4
- package/build/{editor-41482f4f.js → editor-c2575446.js} +11 -11
- package/build/embeddedHeathToolCards_babyGrowth.js +23 -23
- package/build/embeddedHeathToolCards_babyPoop.js +19 -19
- package/build/embeddedHeathToolCards_babyVaccine.js +22 -22
- package/build/embeddedHeathToolCards_bmi_bmi.js +25 -25
- package/build/embeddedHeathToolCards_bmrBmr.js +25 -25
- package/build/embeddedHeathToolCards_dueDate_dueDate.js +22 -22
- package/build/embeddedHeathToolCards_ovulation_ovulation.js +22 -22
- package/build/embeddedHeathToolCards_pwg_pwg.js +26 -26
- package/build/embeddedHeathToolCards_targetHeartRate.js +27 -27
- package/build/esm/InputDate-040428c9.js +365 -0
- package/build/esm/{LastPeriod-3cf4f693.js → LastPeriod-df36beeb.js} +1 -1
- package/build/esm/{MobileBottomNavigationIcon-76493605.js → MobileBottomNavigationIcon-6829f0ab.js} +3 -3
- package/build/esm/{Spinner-96ba8cab.js → Spinner-5c8000be.js} +1 -1
- package/build/esm/{WhatsApp-68632cb6.js → WhatsApp-02c923b1.js} +1 -1
- package/build/esm/adapters.js +19 -19
- package/build/esm/atoms.js +48 -47
- package/build/esm/babyGrowth.js +83 -83
- package/build/esm/cache.js +2 -2
- package/build/esm/care.js +17 -17
- package/build/esm/careBookingSearchBar.js +14 -14
- package/build/esm/careBookingSearchBarV2.js +15 -15
- package/build/esm/components/atoms/index.d.ts +1 -0
- package/build/esm/components/atoms/inputDate/InputDate.d.ts +25 -0
- package/build/esm/components/atoms/inputDate/InputDate.helpers.d.ts +13 -0
- package/build/esm/components/atoms/inputDate/InputDate.styled.d.ts +5 -0
- package/build/esm/components/atoms/inputDate/index.d.ts +1 -0
- package/build/esm/components/mantine/phoneInput/PhoneInput.d.ts +15 -0
- package/build/esm/components/mantine/phoneInput/index.d.ts +1 -0
- package/build/esm/components.js +98 -98
- package/build/esm/{constants-67a53542.js → constants-ad1afa5e.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-0565b874.js → core-66802180.js} +1 -1
- package/build/esm/{dataTransform-55e8f570.js → dataTransform-d7e0546b.js} +1 -1
- package/build/esm/ecom.js +4 -4
- package/build/esm/{editor-d198341c.js → editor-d3c80407.js} +11 -11
- package/build/esm/embeddedHeathToolCards_babyGrowth.js +23 -23
- package/build/esm/embeddedHeathToolCards_babyPoop.js +19 -19
- package/build/esm/embeddedHeathToolCards_babyVaccine.js +22 -22
- package/build/esm/embeddedHeathToolCards_bmi_bmi.js +25 -25
- package/build/esm/embeddedHeathToolCards_bmrBmr.js +25 -25
- package/build/esm/embeddedHeathToolCards_dueDate_dueDate.js +22 -22
- package/build/esm/embeddedHeathToolCards_ovulation_ovulation.js +22 -22
- package/build/esm/embeddedHeathToolCards_pwg_pwg.js +26 -26
- package/build/esm/embeddedHeathToolCards_targetHeartRate.js +27 -27
- package/build/esm/footer.js +21 -21
- package/build/esm/gAssets.js +2 -2
- package/build/esm/{healthTools-362411e3.js → healthTools-02441175.js} +1 -1
- package/build/esm/healthToolsCardWrapper.js +18 -18
- package/build/esm/healthToolsForm.js +33 -33
- package/build/esm/hooks.js +13 -13
- package/build/esm/i18n-values/id-ID.js +3 -3
- package/build/esm/i18n-values/km-KH.js +4 -4
- package/build/esm/i18n-values/ms-MY.js +3 -3
- package/build/esm/i18n-values/my-MM.js +4 -4
- package/build/esm/i18n-values/th-TH.js +4 -4
- package/build/esm/i18n-values/tl-PH.js +3 -3
- package/build/esm/i18n-values/zh-TW.js +4 -4
- package/build/esm/i18n.js +2 -2
- package/build/esm/i18nV2.js +2 -2
- package/build/esm/{index-cba75f1e.js → index-029431b7.js} +16 -16
- package/build/esm/{index-128eb47a.js → index-03dece4d.js} +15 -15
- package/build/esm/{index-3d51b2f8.js → index-05d2156f.js} +18 -18
- package/build/esm/{index-c4b343f5.js → index-0a0dcba2.js} +21 -21
- package/build/esm/{index-68df179a.js → index-0ac41a38.js} +9 -3
- package/build/esm/{index-cb13d6e7.js → index-0b06b9b8.js} +1 -1
- package/build/esm/{index-da3f54f7.js → index-11c98d09.js} +3 -3
- package/build/esm/{index-2a527344.js → index-1dd86d2d.js} +1 -1
- package/build/esm/{index-f4515e36.js → index-1dfeb0eb.js} +3 -3
- package/build/esm/{index-1b95110c.js → index-1fd0ebe0.js} +2 -2
- package/build/esm/{index-8ae2f88e.js → index-24dfb77a.js} +5 -5
- package/build/esm/{index-3f9d0ba7.js → index-283fc5df.js} +2 -2
- package/build/esm/{index-7d4d62ab.js → index-2aea6709.js} +1 -1
- package/build/esm/{index-499a1f40.js → index-2b457f4f.js} +3 -3
- package/build/esm/{index-8c82e15e.js → index-2e5ca31d.js} +6 -6
- package/build/esm/{index-c3774225.js → index-30e4a0f8.js} +10 -10
- package/build/esm/{index-bc710053.js → index-345213a0.js} +6 -6
- package/build/esm/{index-1e81fcab.js → index-3735050f.js} +3 -3
- package/build/esm/{index-4b7f9d72.js → index-38eecd4a.js} +2 -2
- package/build/esm/{index-13a5f6e1.js → index-3eb55d3d.js} +7 -7
- package/build/esm/{index-4e99aa5a.js → index-40818d65.js} +17 -17
- package/build/esm/{index-592013d2.js → index-50f76888.js} +1 -1
- package/build/esm/{index-d31f37cf.js → index-593f9fa4.js} +2 -2
- package/build/esm/{index-607ccbda.js → index-5b49432e.js} +1 -1
- package/build/esm/{index-2b2ebc80.js → index-5c889d6a.js} +3 -3
- package/build/esm/{index-f58d1299.js → index-5cf72274.js} +4 -4
- package/build/esm/{index-b662b352.js → index-5e93a31a.js} +2 -2
- package/build/esm/{index-230e765d.js → index-6257cb48.js} +625 -27
- package/build/esm/{index-4497abdd.js → index-643c8184.js} +13 -13
- package/build/esm/{index-e7631b76.js → index-65c129cb.js} +2 -2
- package/build/esm/{index-2d430cec.js → index-68bf5aa5.js} +17 -17
- package/build/esm/{index-fb3d48ed.js → index-6ca55b2c.js} +16 -16
- package/build/esm/{index-64d57a17.js → index-6cb27e94.js} +32 -32
- package/build/esm/{index-c4640b20.js → index-6efc79bd.js} +2 -2
- package/build/esm/{index-1177eb14.js → index-707e3d59.js} +32 -32
- package/build/esm/{index-0bd5655b.js → index-79678ecc.js} +2 -2
- package/build/esm/{index-1aa0ac8b.js → index-7e1915f2.js} +10 -10
- package/build/esm/{index-21f49df0.js → index-83b47c93.js} +1 -1
- package/build/esm/{index-f058690f.js → index-8a737381.js} +17 -17
- package/build/esm/{index-8e69b183.js → index-8ce0fc1d.js} +1 -1
- package/build/esm/{index-c57db015.js → index-92b96bb7.js} +7 -7
- package/build/esm/{index-478f7d90.js → index-955ce24c.js} +1 -1
- package/build/esm/{index-33088cf6.js → index-95d1141e.js} +16 -16
- package/build/esm/{index-04828fa0.js → index-9f98070a.js} +25 -25
- package/build/esm/{index-ff486557.js → index-9ff80dbc.js} +13 -13
- package/build/esm/{index-ce02c891.js → index-a11ec572.js} +5 -5
- package/build/esm/{index-475d6bd2.js → index-a1ba5ad3.js} +13 -13
- package/build/esm/{index-88bde2a7.js → index-a8b08163.js} +2 -2
- package/build/esm/{index-d4433859.js → index-a9f6faf5.js} +6 -6
- package/build/esm/{index-2c5de049.js → index-b25a697e.js} +22 -22
- package/build/esm/{index-1bb99493.js → index-b3509e2d.js} +2 -2
- package/build/esm/{index-95664037.js → index-cba59629.js} +2 -2
- package/build/esm/{index-e96aa5ad.js → index-cbd2dcc5.js} +31 -31
- package/build/esm/{index-057e4881.js → index-d0ac2540.js} +2 -2
- package/build/esm/{index-ad3dbb96.js → index-d235fd62.js} +6 -6
- package/build/esm/{index-95440f30.js → index-d331501e.js} +16 -16
- package/build/esm/{index-15d0874c.js → index-d7fce913.js} +2 -2
- package/build/esm/{index-d0ada2a7.js → index-db007032.js} +13 -13
- package/build/esm/{index-80d4b01f.js → index-e3e11dda.js} +16 -16
- package/build/esm/{index-81097236.js → index-e5c566b6.js} +11 -11
- package/build/esm/{index-f042164f.js → index-ef595448.js} +3 -3
- package/build/esm/{index-f8cefaa8.js → index-f6e4ce9c.js} +18 -18
- package/build/esm/{index-5b29ac68.js → index-fa06019a.js} +2 -2
- package/build/esm/{index-b509ff92.js → index-fb4d35e8.js} +6 -6
- package/build/esm/index.js +119 -119
- package/build/esm/interfaces/types/index.d.ts +14 -0
- package/build/esm/{labelSorting-396ffb2f.js → labelSorting-ccdd5754.js} +4 -4
- package/build/esm/lead/LeadGenForm/LeadGenForm.d.ts +41 -0
- package/build/esm/lead/LeadGenForm/LeadGenForm.styled.d.ts +5 -0
- package/build/esm/lead/LeadGenForm/LeadGenThankYou.d.ts +20 -0
- package/build/esm/lead/LeadGenForm/index.d.ts +1 -0
- package/build/esm/lead/LeadGenForm/textField/index.d.ts +13 -0
- package/build/esm/lead/LeadGenForm/textField/index.styled.d.ts +11 -0
- package/build/esm/lead/LeadGenSubscriptionBox/LeadGenSubscriptionBoxContainer.d.ts +25 -0
- package/build/esm/lead/LeadGenSubscriptionBox/LeadGenSubscriptionBoxContext.d.ts +25 -0
- package/build/esm/lead/LeadGenSubscriptionBox/LeadGenSubscriptionBoxWrapper.d.ts +30 -0
- package/build/esm/lead/LeadGenSubscriptionBox/index.d.ts +1 -0
- package/build/esm/lead/helpers.d.ts +51 -1
- package/build/esm/lead/index.d.ts +2 -1
- package/build/esm/lead/services/index.d.ts +14 -0
- package/build/esm/lead.js +1295 -372
- package/build/esm/{logoIcon-6616b938.js → logoIcon-315441fc.js} +2 -2
- package/build/esm/mantine.js +25 -25
- package/build/esm/misc.js +17 -17
- 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 +75 -76
- package/build/esm/moleculesArticleCard.js +6 -6
- package/build/esm/moleculesArticleCardV2.js +16 -16
- package/build/esm/navigation.js +45 -45
- package/build/esm/navigationLogoutPopup.js +9 -9
- package/build/esm/navigationProfileButton.js +23 -23
- package/build/esm/onboardingV2.js +29 -29
- package/build/esm/organisms.js +49 -49
- package/build/esm/{post-fc479ef3.js → post-8bb49a1e.js} +2 -2
- package/build/esm/profileNavigation.js +19 -19
- package/build/esm/progressBar.js +1 -1
- package/build/esm/pwg.js +22 -22
- package/build/esm/ssoV2/api/featureFlag.d.ts +2 -1
- package/build/esm/ssoV2.js +51 -39
- package/build/esm/{store-9f4d56db.js → store-3796a6cc.js} +4 -4
- package/build/esm/subot.js +306 -281
- package/build/esm/surveyOrPremiumBanner.js +32 -32
- package/build/esm/surveyQuestionCard.js +10 -10
- package/build/esm/{surveyThankyouCard-b52b307e.js → surveyThankyouCard-b855a0c0.js} +5 -5
- package/build/esm/together.js +55 -55
- package/build/esm/togetherApiUtils.js +4 -4
- package/build/esm/togetherAtoms.js +30 -30
- package/build/esm/togetherComponentGlobalContext.js +4 -4
- package/build/esm/togetherMolecules.js +50 -50
- package/build/esm/togetherMoleculesCardAuthor.js +28 -28
- package/build/esm/togetherMoleculesPostImagePreview.js +11 -11
- package/build/esm/togetherMoleculesProfileDetail.js +38 -38
- package/build/esm/togetherOrganisms.js +49 -49
- package/build/esm/togetherRichTextEditor.js +17 -17
- package/build/esm/togetherShareBox.js +10 -10
- package/build/esm/{treePopoverMenu-70cb9bb4.js → treePopoverMenu-4b7e3643.js} +19 -19
- package/build/esm/{types-60b800da.js → types-c25be8f3.js} +2 -2
- package/build/esm/types.js +2 -2
- package/build/esm/{useCategory-2fe8d914.js → useCategory-08d3e5dc.js} +5 -5
- package/build/esm/{useHealthToolCache-50bef818.js → useHealthToolCache-66de9a1d.js} +1 -1
- package/build/esm/{useMantineLocale-921259d6.js → useMantineLocale-5c5f128a.js} +6 -6
- package/build/esm/{usePlacesAutocomplete-ac7f16b4.js → usePlacesAutocomplete-520958cf.js} +1 -1
- package/build/esm/{useScreenSize-f3cae5ca.js → useScreenSize-c22db377.js} +2 -2
- package/build/esm/useTogetherAuthRequiredAction.js +9 -9
- package/build/esm/{utils-feb3b992.js → utils-47919517.js} +2 -2
- package/build/esm/{utils-6133a65e.js → utils-8321759e.js} +4 -4
- package/build/esm/{utils-b544b20b.js → utils-92509739.js} +3 -3
- package/build/esm/{utils-f3410716.js → utils-a5313f5b.js} +2 -2
- package/build/esm/vaccination.js +21 -21
- package/build/footer.js +21 -21
- package/build/gAssets.js +2 -2
- package/build/{healthTools-218a35dc.js → healthTools-c3b23fd8.js} +1 -1
- package/build/healthToolsCardWrapper.js +18 -18
- package/build/healthToolsForm.js +33 -33
- package/build/hooks.js +13 -13
- package/build/i18n-values/id-ID.js +3 -3
- package/build/i18n-values/km-KH.js +4 -4
- package/build/i18n-values/ms-MY.js +3 -3
- package/build/i18n-values/my-MM.js +4 -4
- package/build/i18n-values/th-TH.js +4 -4
- package/build/i18n-values/tl-PH.js +3 -3
- package/build/i18n-values/zh-TW.js +4 -4
- package/build/i18n.js +1 -1
- package/build/i18nV2.js +1 -1
- package/build/{index-b345223d.js → index-086326ff.js} +32 -32
- package/build/{index-961e7ee8.js → index-0f0a3029.js} +15 -15
- package/build/{index-14f9169e.js → index-141d7e58.js} +2 -2
- package/build/{index-6cc871c9.js → index-1a716f1c.js} +5 -5
- package/build/{index-5133a8dd.js → index-1a7aee68.js} +6 -6
- package/build/{index-9986db2c.js → index-1e6403e6.js} +6 -6
- package/build/{index-163c96d5.js → index-1fc7a7a7.js} +31 -31
- package/build/{index-96e052eb.js → index-25c2b20a.js} +13 -13
- package/build/{index-eac09680.js → index-27caaa48.js} +2 -2
- package/build/{index-6fb88de3.js → index-2b151832.js} +6 -6
- package/build/{index-7230a09a.js → index-2b818414.js} +2 -2
- package/build/{index-9aa2e0dc.js → index-2c5033a1.js} +6 -6
- package/build/{index-4f5430c4.js → index-2eb6c2a1.js} +13 -13
- package/build/{index-634558df.js → index-2f66a4d4.js} +3 -3
- package/build/{index-62ff575b.js → index-343675ba.js} +17 -17
- package/build/{index-698cec71.js → index-39f7dfff.js} +10 -10
- package/build/{index-145f9be6.js → index-3ae0851a.js} +2 -2
- package/build/{index-188279e8.js → index-3ec90947.js} +22 -22
- package/build/{index-9c721c28.js → index-3f118216.js} +6 -6
- package/build/{index-1122d17c.js → index-3f43824f.js} +3 -3
- package/build/{index-6b55279a.js → index-4606ce7e.js} +2 -2
- package/build/{index-5fe6fe35.js → index-48fa0591.js} +2 -2
- package/build/{index-d02ead41.js → index-4fb04b41.js} +7 -7
- package/build/{index-dcd84c5f.js → index-543455f9.js} +21 -21
- package/build/{index-1cc5a94d.js → index-58d9ae41.js} +17 -17
- package/build/{index-8639ea28.js → index-5a47893a.js} +16 -16
- package/build/{index-b4f11316.js → index-5b655c7f.js} +2 -2
- package/build/{index-96c99b22.js → index-63029a0c.js} +10 -10
- package/build/{index-db91c68b.js → index-655588c8.js} +1 -1
- package/build/{index-ad1c4df2.js → index-701a2560.js} +25 -25
- package/build/{index-2606e965.js → index-73781807.js} +11 -11
- package/build/{index-1224b5ae.js → index-7717bc49.js} +3 -3
- package/build/{index-59d6a0ff.js → index-7a026216.js} +18 -18
- package/build/{index-6def6d97.js → index-7d82096a.js} +1 -1
- package/build/{index-5a0fac03.js → index-80512cfa.js} +3 -3
- package/build/{index-f5db5fd8.js → index-a221a693.js} +1 -1
- package/build/{index-9c4a1855.js → index-a5fcc3b9.js} +1 -1
- package/build/{index-0c679c0b.js → index-a65d51cd.js} +1 -1
- package/build/{index-1b9b42da.js → index-acf3bec6.js} +9 -2
- package/build/{index-15429239.js → index-b1186b7b.js} +2 -2
- package/build/{index-e84adbfd.js → index-b137a0ca.js} +32 -32
- package/build/{index-3001d3fe.js → index-b214fbb4.js} +2 -2
- package/build/{index-c0bfad65.js → index-b8193c87.js} +2 -2
- package/build/{index-d5d39264.js → index-ba0c6a85.js} +4 -4
- package/build/{index-f2101397.js → index-bca1af33.js} +16 -16
- package/build/{index-06ed88b5.js → index-bd2413f5.js} +2 -2
- package/build/{index-0f5de5ae.js → index-bfa093fa.js} +1 -1
- package/build/{index-3e16c033.js → index-c0976a6f.js} +18 -18
- package/build/{index-35cc432a.js → index-c19b0a06.js} +16 -16
- package/build/{index-719d80d5.js → index-c1b55b16.js} +3 -3
- package/build/{index-71612045.js → index-c6229cc4.js} +17 -17
- package/build/{index-2f40200a.js → index-d8a7d2a2.js} +3 -3
- package/build/{index-923622b3.js → index-db67bcb3.js} +13 -13
- package/build/{index-65132afa.js → index-db862101.js} +1 -1
- package/build/{index-79821f7a.js → index-dd624fab.js} +2 -2
- package/build/{index-f872862d.js → index-dda32e8e.js} +1 -1
- package/build/{index-9977674c.js → index-ded2d34e.js} +2 -2
- package/build/{index-e431673b.js → index-e2e22f3b.js} +5 -5
- package/build/{index-e56ec41a.js → index-e759c2ec.js} +2 -2
- package/build/{index-d8b3d33a.js → index-f3d3877d.js} +625 -25
- package/build/{index-d0928213.js → index-f5725465.js} +16 -16
- package/build/{index-99100f43.js → index-f912ece3.js} +13 -13
- package/build/{index-087550cd.js → index-fa55d550.js} +7 -7
- package/build/{index-22ed3ded.js → index-ffc1bc35.js} +16 -16
- package/build/index.js +165 -164
- package/build/interfaces/types/index.d.ts +14 -0
- package/build/{labelSorting-01953a48.js → labelSorting-675ce5ea.js} +4 -4
- package/build/lead/LeadGenForm/LeadGenForm.d.ts +41 -0
- package/build/lead/LeadGenForm/LeadGenForm.styled.d.ts +5 -0
- package/build/lead/LeadGenForm/LeadGenThankYou.d.ts +20 -0
- package/build/lead/LeadGenForm/index.d.ts +1 -0
- package/build/lead/LeadGenForm/textField/index.d.ts +13 -0
- package/build/lead/LeadGenForm/textField/index.styled.d.ts +11 -0
- package/build/lead/LeadGenSubscriptionBox/LeadGenSubscriptionBoxContainer.d.ts +25 -0
- package/build/lead/LeadGenSubscriptionBox/LeadGenSubscriptionBoxContext.d.ts +25 -0
- package/build/lead/LeadGenSubscriptionBox/LeadGenSubscriptionBoxWrapper.d.ts +30 -0
- package/build/lead/LeadGenSubscriptionBox/index.d.ts +1 -0
- package/build/lead/helpers.d.ts +51 -1
- package/build/lead/index.d.ts +2 -1
- package/build/lead/services/index.d.ts +14 -0
- package/build/lead.js +1296 -372
- package/build/{logoIcon-c39eb8e1.js → logoIcon-a23c60c4.js} +2 -2
- package/build/mantine.js +22 -22
- package/build/misc.js +17 -17
- 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 +91 -92
- package/build/moleculesArticleCard.js +6 -6
- package/build/moleculesArticleCardV2.js +16 -16
- package/build/navigation.js +45 -45
- package/build/navigationLogoutPopup.js +9 -9
- package/build/navigationProfileButton.js +23 -23
- package/build/onboardingV2.js +28 -28
- package/build/organisms.js +49 -49
- package/build/{post-dbf6629a.js → post-7b5392ab.js} +2 -2
- package/build/profileNavigation.js +19 -19
- package/build/progressBar.js +1 -1
- package/build/pwg.js +22 -22
- package/build/ssoV2/api/featureFlag.d.ts +2 -1
- package/build/ssoV2.js +49 -37
- package/build/{store-dd66327a.js → store-af9cd962.js} +4 -4
- package/build/subot.js +310 -285
- package/build/surveyOrPremiumBanner.js +32 -32
- package/build/surveyQuestionCard.js +10 -10
- package/build/{surveyThankyouCard-7b567cd7.js → surveyThankyouCard-b34e262b.js} +5 -5
- package/build/together.js +55 -55
- package/build/togetherApiUtils.js +4 -4
- package/build/togetherAtoms.js +30 -30
- package/build/togetherComponentGlobalContext.js +4 -4
- package/build/togetherMolecules.js +50 -50
- package/build/togetherMoleculesCardAuthor.js +28 -28
- package/build/togetherMoleculesPostImagePreview.js +11 -11
- package/build/togetherMoleculesProfileDetail.js +38 -38
- package/build/togetherOrganisms.js +49 -49
- package/build/togetherRichTextEditor.js +17 -17
- package/build/togetherShareBox.js +10 -10
- package/build/{treePopoverMenu-26d2fbdb.js → treePopoverMenu-e49cfa82.js} +19 -19
- package/build/{types-e2e6d111.js → types-8976c619.js} +2 -2
- package/build/types.js +3 -2
- package/build/{useCategory-06840f82.js → useCategory-3c2f2c92.js} +5 -5
- package/build/{useHealthToolCache-3bf91c4c.js → useHealthToolCache-68468f90.js} +1 -1
- package/build/{useMantineLocale-2114adc5.js → useMantineLocale-ffa280ba.js} +6 -6
- package/build/{usePlacesAutocomplete-1cba30f3.js → usePlacesAutocomplete-dddca30a.js} +1 -1
- package/build/{useScreenSize-8cf53ce7.js → useScreenSize-eed02238.js} +2 -2
- package/build/useTogetherAuthRequiredAction.js +9 -9
- package/build/{utils-2550e6ef.js → utils-4a346b3a.js} +2 -2
- package/build/{utils-441f1d86.js → utils-b8ed3c5a.js} +2 -2
- package/build/{utils-cf190a58.js → utils-d5032d36.js} +3 -3
- package/build/{utils-6cbf1a6f.js → utils-f18ec134.js} +4 -4
- package/build/vaccination.js +21 -21
- package/package.json +3 -3
- package/build/esm/index-b2cee507.js +0 -604
- package/build/index-573cbda9.js +0 -612
- /package/build/{BMI_BOYS.percentile.monthly-d83c828b.js → BMI_BOYS.percentile.monthly-1155c091.js} +0 -0
- /package/build/{BMI_BOYS.percentile.weekly-5712c249.js → BMI_BOYS.percentile.weekly-fcadae85.js} +0 -0
- /package/build/{BMI_BOYS.percentile.yearly-528c4f00.js → BMI_BOYS.percentile.yearly-42ea45a0.js} +0 -0
- /package/build/{BMI_BOYS.zscore.monthly-3c8ff1a3.js → BMI_BOYS.zscore.monthly-2acc25ae.js} +0 -0
- /package/build/{BMI_BOYS.zscore.weekly-d4289a56.js → BMI_BOYS.zscore.weekly-608fdd91.js} +0 -0
- /package/build/{BMI_BOYS.zscore.yearly-f17c45e2.js → BMI_BOYS.zscore.yearly-9520a23c.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.monthly-fe4e2320.js → BMI_GIRLS.percentile.monthly-df51665a.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.weekly-4878dcbf.js → BMI_GIRLS.percentile.weekly-32dcc272.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.yearly-89ac0b92.js → BMI_GIRLS.percentile.yearly-4454e34e.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.monthly-e2eabcea.js → BMI_GIRLS.zscore.monthly-ea59934b.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.weekly-b25ed8de.js → BMI_GIRLS.zscore.weekly-c3d6c329.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.yearly-4e15f477.js → BMI_GIRLS.zscore.yearly-f5259a37.js} +0 -0
- /package/build/{ChevronDown-3c6e14b0.js → ChevronDown-0659ee14.js} +0 -0
- /package/build/{Close-f693cc9f.js → Close-8dbb00c8.js} +0 -0
- /package/build/{Google-eb637b90.js → Google-59974dbe.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-d33fc0f0.js → HEAD CIRCUM_BOYS.percentile.monthly-eb6c2011.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-c92d73c2.js → HEAD CIRCUM_BOYS.percentile.weekly-3fb0776b.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-7a95f65f.js → HEAD CIRCUM_BOYS.percentile.yearly-3708c532.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-83d545b8.js → HEAD CIRCUM_BOYS.zscore.monthly-6300c2a9.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-2fb1d6ab.js → HEAD CIRCUM_BOYS.zscore.weekly-21508e12.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-a0d71256.js → HEAD CIRCUM_BOYS.zscore.yearly-f09afbd9.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-8853aad2.js → HEAD CIRCUM_GIRLS.percentile.monthly-0dc281cf.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-b34ef316.js → HEAD CIRCUM_GIRLS.percentile.weekly-f2ebe020.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-b4ff6c75.js → HEAD CIRCUM_GIRLS.percentile.yearly-daa38778.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-6321ee38.js → HEAD CIRCUM_GIRLS.zscore.monthly-21d3a7fa.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-17748712.js → HEAD CIRCUM_GIRLS.zscore.weekly-adbd0cf8.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-09ae6e3a.js → HEAD CIRCUM_GIRLS.zscore.yearly-809a7b09.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.monthly-22b3d949.js → HEIGHT_BOYS.percentile.monthly-0c93c9f8.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.weekly-6c80b23e.js → HEIGHT_BOYS.percentile.weekly-577c1afc.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.yearly-fa152acc.js → HEIGHT_BOYS.percentile.yearly-7c875edb.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.monthly-788f8c7e.js → HEIGHT_BOYS.zscore.monthly-a6dc918c.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.weekly-31f14aad.js → HEIGHT_BOYS.zscore.weekly-c6b930cc.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.yearly-2fd9ba60.js → HEIGHT_BOYS.zscore.yearly-155acf72.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.monthly-d686e30c.js → HEIGHT_GIRLS.percentile.monthly-c3ccc878.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.weekly-9b18a0f2.js → HEIGHT_GIRLS.percentile.weekly-8e495e67.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.yearly-b2a7062b.js → HEIGHT_GIRLS.percentile.yearly-734e865d.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.monthly-684a9561.js → HEIGHT_GIRLS.zscore.monthly-abd2fabe.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.weekly-32377636.js → HEIGHT_GIRLS.zscore.weekly-b7e28062.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.yearly-37714834.js → HEIGHT_GIRLS.zscore.yearly-aa1353bb.js} +0 -0
- /package/build/{Locale-bbd9f39e.js → Locale-a51a3755.js} +0 -0
- /package/build/{Visible-c59d8dab.js → Visible-85af778a.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.monthly-4643d745.js → WEIGHT_BOYS.percentile.monthly-1eb491bf.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.weekly-ba8ac0cb.js → WEIGHT_BOYS.percentile.weekly-59a0c563.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.yearly-96c501b6.js → WEIGHT_BOYS.percentile.yearly-be1b72e7.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.monthly-5d852cd2.js → WEIGHT_BOYS.zscore.monthly-e1157fd0.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.weekly-b34698cf.js → WEIGHT_BOYS.zscore.weekly-dad9cff4.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.yearly-9ccc7e7b.js → WEIGHT_BOYS.zscore.yearly-d1a0fb94.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.monthly-0ca4429c.js → WEIGHT_GIRLS.percentile.monthly-33431975.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.weekly-d0434a98.js → WEIGHT_GIRLS.percentile.weekly-664b14fa.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.yearly-280d0a0c.js → WEIGHT_GIRLS.percentile.yearly-092d21c1.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.monthly-a40ed4a3.js → WEIGHT_GIRLS.zscore.monthly-de0a2e54.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.weekly-e3e331fa.js → WEIGHT_GIRLS.zscore.weekly-ca8fdbab.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.yearly-35d9ebec.js → WEIGHT_GIRLS.zscore.yearly-73d8f956.js} +0 -0
- /package/build/{animation-3949e444.js → animation-9c6371e7.js} +0 -0
- /package/build/{constants-5013fb7a.js → constants-839f3d9c.js} +0 -0
- /package/build/{constants-547046fb.js → constants-8ee25e20.js} +0 -0
- /package/build/{constants-0148aad4.js → constants-9bc871e3.js} +0 -0
- /package/build/{dataTransform-d84e197c.js → dataTransform-9a3deeb6.js} +0 -0
- /package/build/{doctor-f961435d.js → doctor-6c5f440a.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.monthly-71888f5e.js → BMI_BOYS.percentile.monthly-fc26ee13.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.weekly-6d5666ff.js → BMI_BOYS.percentile.weekly-079d1006.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.yearly-d01dc4f6.js → BMI_BOYS.percentile.yearly-7f7a34fd.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.monthly-d1fbd616.js → BMI_BOYS.zscore.monthly-b50164e6.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.weekly-0375f4cd.js → BMI_BOYS.zscore.weekly-9da5a07f.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.yearly-8119d63b.js → BMI_BOYS.zscore.yearly-f0b400ef.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.monthly-38943c36.js → BMI_GIRLS.percentile.monthly-17582a02.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.weekly-c3c5d285.js → BMI_GIRLS.percentile.weekly-a2eeb256.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.yearly-7d9277fd.js → BMI_GIRLS.percentile.yearly-4424f1e6.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.monthly-ff480ca7.js → BMI_GIRLS.zscore.monthly-6a9db821.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.weekly-86c3db3e.js → BMI_GIRLS.zscore.weekly-600ae4cd.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.yearly-ccee74c6.js → BMI_GIRLS.zscore.yearly-6dca0190.js} +0 -0
- /package/build/esm/{ChevronDown-7b9b567f.js → ChevronDown-bab07fdd.js} +0 -0
- /package/build/esm/{Close-33544ec7.js → Close-b45376cb.js} +0 -0
- /package/build/esm/{Google-0988bb5f.js → Google-22d9f237.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-e100a02f.js → HEAD CIRCUM_BOYS.percentile.monthly-ceba9ab6.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-b502fe8c.js → HEAD CIRCUM_BOYS.percentile.weekly-ebbbb5e1.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-2473f9ed.js → HEAD CIRCUM_BOYS.percentile.yearly-96bf49aa.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-daab2fe2.js → HEAD CIRCUM_BOYS.zscore.monthly-e0f15509.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-a57acb63.js → HEAD CIRCUM_BOYS.zscore.weekly-c7e36811.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-2bc751fb.js → HEAD CIRCUM_BOYS.zscore.yearly-8c04e720.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-30ed33ee.js → HEAD CIRCUM_GIRLS.percentile.monthly-6a80f42b.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-76165ef7.js → HEAD CIRCUM_GIRLS.percentile.weekly-17067eb9.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-1dbb5731.js → HEAD CIRCUM_GIRLS.percentile.yearly-fa2fde49.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-179b45b0.js → HEAD CIRCUM_GIRLS.zscore.monthly-73a54c46.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-824a1542.js → HEAD CIRCUM_GIRLS.zscore.weekly-41f71b4a.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-20dd7416.js → HEAD CIRCUM_GIRLS.zscore.yearly-39288640.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.monthly-e6a6c894.js → HEIGHT_BOYS.percentile.monthly-30c98eaf.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.weekly-1c6dc135.js → HEIGHT_BOYS.percentile.weekly-de58f407.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.yearly-1098b3ce.js → HEIGHT_BOYS.percentile.yearly-280b4041.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.monthly-e56ce8ca.js → HEIGHT_BOYS.zscore.monthly-2f538069.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.weekly-9f5093d9.js → HEIGHT_BOYS.zscore.weekly-a8321d4f.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.yearly-9314c992.js → HEIGHT_BOYS.zscore.yearly-2fb8b6f0.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-86f7ba70.js → HEIGHT_GIRLS.percentile.monthly-13d9a5c8.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-a4190b3a.js → HEIGHT_GIRLS.percentile.weekly-259a9dcd.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-dd90b78c.js → HEIGHT_GIRLS.percentile.yearly-781a7d4b.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-03dcd04c.js → HEIGHT_GIRLS.zscore.monthly-6bb83bd3.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-70c35d73.js → HEIGHT_GIRLS.zscore.weekly-8645af6e.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-a924f196.js → HEIGHT_GIRLS.zscore.yearly-e625e7e1.js} +0 -0
- /package/build/esm/{Locale-e3d80799.js → Locale-40d804d5.js} +0 -0
- /package/build/esm/{Visible-46ee87b5.js → Visible-bc425382.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.monthly-38addb24.js → WEIGHT_BOYS.percentile.monthly-fabb39ab.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.weekly-7455df0c.js → WEIGHT_BOYS.percentile.weekly-433a33d0.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.yearly-080c96db.js → WEIGHT_BOYS.percentile.yearly-1b095bee.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.monthly-2bfbd5fe.js → WEIGHT_BOYS.zscore.monthly-c6fa83dc.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.weekly-6a6bcc55.js → WEIGHT_BOYS.zscore.weekly-844ce5cf.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.yearly-eee3c72a.js → WEIGHT_BOYS.zscore.yearly-7da98425.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-7f552d45.js → WEIGHT_GIRLS.percentile.monthly-bdb76c99.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-d489658c.js → WEIGHT_GIRLS.percentile.weekly-4d44fce0.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-55de3f8c.js → WEIGHT_GIRLS.percentile.yearly-8cd4f480.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-4866a40f.js → WEIGHT_GIRLS.zscore.monthly-c63768c0.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-a516076f.js → WEIGHT_GIRLS.zscore.weekly-4d84245f.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-23364a40.js → WEIGHT_GIRLS.zscore.yearly-ee6e6d66.js} +0 -0
- /package/build/esm/{animation-cdc3b9e2.js → animation-7e1acff7.js} +0 -0
- /package/build/esm/{constants-c3ebcf04.js → constants-6d27beed.js} +0 -0
- /package/build/esm/{constants-b5162987.js → constants-8e1e99ac.js} +0 -0
- /package/build/esm/{constants-487af9a7.js → constants-f3203125.js} +0 -0
- /package/build/esm/{dataTransform-4277e194.js → dataTransform-9eddcff5.js} +0 -0
- /package/build/esm/{doctor-36dd281d.js → doctor-ee112ab0.js} +0 -0
- /package/build/esm/{index-db0c0a03.js → index-3ccd0526.js} +0 -0
- /package/build/esm/{index-2a7c39fd.js → index-46c45362.js} +0 -0
- /package/build/esm/{index-c889b9a1.js → index-646867c6.js} +0 -0
- /package/build/esm/{index-92ab9005.js → index-72377c79.js} +0 -0
- /package/build/esm/{index-3e1cfac7.js → index-84544848.js} +0 -0
- /package/build/esm/{index-3a41f28a.js → index-85b04310.js} +0 -0
- /package/build/esm/{index-af3d6891.js → index-e27ef9db.js} +0 -0
- /package/build/esm/{index-256332cd.js → index-edf50183.js} +0 -0
- /package/build/esm/{index.styles-612b88c3.js → index.styles-b86ddc12.js} +0 -0
- /package/build/esm/{localizeNumberFormat-6d21d26e.js → localizeNumberFormat-572c0acc.js} +0 -0
- /package/build/esm/{normalizeLink-0fcb0a30.js → normalizeLink-262f4040.js} +0 -0
- /package/build/esm/{number-8b731ca0.js → number-47eb7a28.js} +0 -0
- /package/build/esm/{other-28b72baa.js → other-1284fe94.js} +0 -0
- /package/build/esm/{paths-c2be4081.js → paths-10e75ad0.js} +0 -0
- /package/build/esm/{translationsContext-1053b855.js → translationsContext-a3c2604e.js} +0 -0
- /package/build/esm/{tslib.es6-cf8bdaac.js → tslib.es6-fa3837bb.js} +0 -0
- /package/build/esm/{types-87d39c14.js → types-c4d0eab6.js} +0 -0
- /package/build/esm/{useIsInit-05b253f1.js → useIsInit-c4451fa7.js} +0 -0
- /package/build/esm/{useOutsideClick-66e40b60.js → useOutsideClick-c21703f6.js} +0 -0
- /package/build/esm/{useScrollbarSize-b10ed395.js → useScrollbarSize-a90be108.js} +0 -0
- /package/build/esm/{useUniqueId-0e02bf45.js → useUniqueId-0656a523.js} +0 -0
- /package/build/esm/{utils-504d3f05.js → utils-0b25052a.js} +0 -0
- /package/build/{index-cf900508.js → index-0d1ea73a.js} +0 -0
- /package/build/{index-bd496d8c.js → index-3b2b4930.js} +0 -0
- /package/build/{index-fb535be1.js → index-51db49dd.js} +0 -0
- /package/build/{index-cd3fb76b.js → index-6e4ecf3d.js} +0 -0
- /package/build/{index-82f545d4.js → index-811d5a73.js} +0 -0
- /package/build/{index-39346954.js → index-8cc6d6c8.js} +0 -0
- /package/build/{index-8b67cf13.js → index-99c080c9.js} +0 -0
- /package/build/{index-923f26b6.js → index-ea9dca87.js} +0 -0
- /package/build/{index.styles-e5ced70d.js → index.styles-38cb8a08.js} +0 -0
- /package/build/{localizeNumberFormat-9f426dee.js → localizeNumberFormat-17991c69.js} +0 -0
- /package/build/{normalizeLink-33d996e8.js → normalizeLink-8cc4df4e.js} +0 -0
- /package/build/{number-94ed4ba9.js → number-c936a75e.js} +0 -0
- /package/build/{other-27ab7df9.js → other-d3346c6c.js} +0 -0
- /package/build/{paths-85dc5bbe.js → paths-8ea03547.js} +0 -0
- /package/build/{translationsContext-1c7e3b11.js → translationsContext-1a7eb292.js} +0 -0
- /package/build/{tslib.es6-46c06add.js → tslib.es6-5c9e59ac.js} +0 -0
- /package/build/{types-db73911f.js → types-1be1e355.js} +0 -0
- /package/build/{useIsInit-7bc542dc.js → useIsInit-647e5f79.js} +0 -0
- /package/build/{useOutsideClick-2fb8d081.js → useOutsideClick-c80c20cf.js} +0 -0
- /package/build/{useScrollbarSize-1ccf571e.js → useScrollbarSize-9133af4a.js} +0 -0
- /package/build/{useUniqueId-02c73cab.js → useUniqueId-a0d35c47.js} +0 -0
- /package/build/{utils-06faab5a.js → utils-466590c8.js} +0 -0
|
@@ -1,44 +1,45 @@
|
|
|
1
|
-
import { _ as __rest, a as __awaiter } from './tslib.es6-
|
|
2
|
-
import React__default, {
|
|
3
|
-
import { R as Radio } from './index-
|
|
1
|
+
import { _ as __rest, a as __awaiter } from './tslib.es6-fa3837bb.js';
|
|
2
|
+
import React__default, { useRef, useState, useEffect, useImperativeHandle, useMemo, Fragment, useCallback, forwardRef, memo } from 'react';
|
|
3
|
+
import { R as Radio } from './index-e5c566b6.js';
|
|
4
4
|
import { Stack, Group, createStyles, getStylesRef, Box } from '@mantine/core';
|
|
5
5
|
import '@mantine/dates';
|
|
6
|
-
import { L as LOCALE_SPECS, F as FAVICONS } from './index-
|
|
7
|
-
import './index-
|
|
8
|
-
import { C as CommonGAssets } from './index-
|
|
9
|
-
import './useMantineLocale-
|
|
10
|
-
import { T as Text } from './index-
|
|
11
|
-
import { B as Button$1 } from './index-
|
|
12
|
-
import './index.styles-
|
|
13
|
-
import './translationsContext-
|
|
6
|
+
import { L as LOCALE_SPECS, F as FAVICONS } from './index-d0ac2540.js';
|
|
7
|
+
import './index-0ac41a38.js';
|
|
8
|
+
import { C as CommonGAssets } from './index-72377c79.js';
|
|
9
|
+
import './useMantineLocale-5c5f128a.js';
|
|
10
|
+
import { T as Text } from './index-1fd0ebe0.js';
|
|
11
|
+
import { B as Button$1 } from './index-2aea6709.js';
|
|
12
|
+
import './index.styles-b86ddc12.js';
|
|
13
|
+
import './translationsContext-a3c2604e.js';
|
|
14
14
|
import '@mantine/hooks';
|
|
15
|
-
import { M as MediaQueries } from './utils-
|
|
16
|
-
import './other-
|
|
17
|
-
import './index-
|
|
18
|
-
import { i as isInternalLink } from './index-
|
|
15
|
+
import { M as MediaQueries } from './utils-0b25052a.js';
|
|
16
|
+
import './other-1284fe94.js';
|
|
17
|
+
import './index-5c889d6a.js';
|
|
18
|
+
import { i as isInternalLink } from './index-7e1915f2.js';
|
|
19
19
|
import styled from '@emotion/styled';
|
|
20
20
|
import { theme } from './miscTheme.js';
|
|
21
|
-
import { C as Checkbox, P as PureInput } from './index-
|
|
22
|
-
import {
|
|
21
|
+
import { C as Checkbox, P as PureInput } from './index-11c98d09.js';
|
|
22
|
+
import { format, isBefore, startOfMonth, addMonths, subMonths, getDaysInMonth, isToday, isSameDay, isWithinInterval, isAfter, isPast } from 'date-fns';
|
|
23
|
+
import DayPickerInput from 'react-day-picker/DayPickerInput';
|
|
24
|
+
import { L as Logo } from './index-d235fd62.js';
|
|
23
25
|
import throttle from 'lodash/throttle';
|
|
24
26
|
import parse from 'html-react-parser';
|
|
25
27
|
import { domainLocales } from './constantsDomainLocales.js';
|
|
26
28
|
import { isProduction } from './constantsIsProduction.js';
|
|
27
|
-
import {
|
|
28
|
-
import { a as useOutsideClick } from './useOutsideClick-66e40b60.js';
|
|
29
|
+
import { a as useOutsideClick } from './useOutsideClick-c21703f6.js';
|
|
29
30
|
import enUS from 'date-fns/locale/en-US';
|
|
30
31
|
import id from 'date-fns/locale/id';
|
|
31
32
|
import vi from 'date-fns/locale/vi';
|
|
32
33
|
import zhTW from 'date-fns/locale/zh-TW';
|
|
33
|
-
import { B as Button } from './index-
|
|
34
|
-
import { u as useScreenSize } from './useScreenSize-
|
|
35
|
-
import { u as useTranslations } from './index-
|
|
36
|
-
import { D as Dropdown } from './index-
|
|
34
|
+
import { B as Button } from './index-65c129cb.js';
|
|
35
|
+
import { u as useScreenSize } from './useScreenSize-c22db377.js';
|
|
36
|
+
import { u as useTranslations } from './index-8ce0fc1d.js';
|
|
37
|
+
import { D as Dropdown } from './index-46c45362.js';
|
|
37
38
|
import { getSocialList } from './miscGetSocialList.js';
|
|
38
|
-
import { I as Input } from './index-
|
|
39
|
-
import { D as Drawer } from './index-
|
|
39
|
+
import { I as Input } from './index-38eecd4a.js';
|
|
40
|
+
import { D as Drawer } from './index-3735050f.js';
|
|
40
41
|
import { v4 } from 'uuid';
|
|
41
|
-
import { L as LOCALE } from './Locale-
|
|
42
|
+
import { L as LOCALE } from './Locale-40d804d5.js';
|
|
42
43
|
import { ArrowRight } from '@hhgtech/icons/arrow';
|
|
43
44
|
import { MultiStar, Question } from '@hhgtech/icons/other';
|
|
44
45
|
import Lottie from 'lottie-light-react';
|
|
@@ -138,6 +139,603 @@ const CheckboxGroup = ({ name, values = [], onChanges, options = [], className,
|
|
|
138
139
|
return (React__default.createElement(StyledCheckboxGroup, { className: className, "data-type": type, "data-is-rectangle": isRectangle || undefined }, options.map((option, index) => (React__default.createElement(Checkbox, { label: option.label, name: name, key: `${index}-${option.value}`, checked: values.includes(option.value), value: option.value, isDisabled: isDisabled || option.disabled, onChange: !isDisabled && onChange, isRectangle: isRectangle })))));
|
|
139
140
|
};
|
|
140
141
|
|
|
142
|
+
const MONTHS_TRANSLATION = {
|
|
143
|
+
'vi-VN': [
|
|
144
|
+
'Tháng 1',
|
|
145
|
+
'Tháng 2',
|
|
146
|
+
'Tháng 3',
|
|
147
|
+
'Tháng 4',
|
|
148
|
+
'Tháng 5',
|
|
149
|
+
'Tháng 6',
|
|
150
|
+
'Tháng 7',
|
|
151
|
+
'Tháng 8',
|
|
152
|
+
'Tháng 9',
|
|
153
|
+
'Tháng 10',
|
|
154
|
+
'Tháng 11',
|
|
155
|
+
'Tháng 12',
|
|
156
|
+
],
|
|
157
|
+
'id-ID': [
|
|
158
|
+
'Januari',
|
|
159
|
+
'Februari',
|
|
160
|
+
'Maret',
|
|
161
|
+
'April',
|
|
162
|
+
'Mei',
|
|
163
|
+
'Juni',
|
|
164
|
+
'Juli',
|
|
165
|
+
'Agustus',
|
|
166
|
+
'September',
|
|
167
|
+
'Oktober',
|
|
168
|
+
'November',
|
|
169
|
+
'Desember',
|
|
170
|
+
],
|
|
171
|
+
'ms-MY': [
|
|
172
|
+
'Januari',
|
|
173
|
+
'Februari',
|
|
174
|
+
'Mac',
|
|
175
|
+
'April',
|
|
176
|
+
'Mei',
|
|
177
|
+
'Jun',
|
|
178
|
+
'Julai',
|
|
179
|
+
'Ogos',
|
|
180
|
+
'September',
|
|
181
|
+
'Oktober',
|
|
182
|
+
'November',
|
|
183
|
+
'Disember',
|
|
184
|
+
],
|
|
185
|
+
'km-KH': [
|
|
186
|
+
'មករា',
|
|
187
|
+
'ខែកុម្ភៈ',
|
|
188
|
+
'មីនា',
|
|
189
|
+
'ខែមេសា',
|
|
190
|
+
'ឧសភា',
|
|
191
|
+
'មិថុនា',
|
|
192
|
+
'ខែកក្កដា',
|
|
193
|
+
'សីហា',
|
|
194
|
+
'ខែកញ្ញា',
|
|
195
|
+
'តុលា',
|
|
196
|
+
'វិច្ឆិកា',
|
|
197
|
+
'ធ្នូ',
|
|
198
|
+
],
|
|
199
|
+
'en-PH': [
|
|
200
|
+
'January',
|
|
201
|
+
'February',
|
|
202
|
+
'March',
|
|
203
|
+
'April',
|
|
204
|
+
'May',
|
|
205
|
+
'June',
|
|
206
|
+
'July',
|
|
207
|
+
'August',
|
|
208
|
+
'September',
|
|
209
|
+
'October',
|
|
210
|
+
'November',
|
|
211
|
+
'December',
|
|
212
|
+
],
|
|
213
|
+
'th-TH': [
|
|
214
|
+
'มกราคม',
|
|
215
|
+
'กุมภาพันธ์',
|
|
216
|
+
'มีนาคม',
|
|
217
|
+
'เมษายน',
|
|
218
|
+
'อาจ',
|
|
219
|
+
'มิถุนายน',
|
|
220
|
+
'กรกฎาคม',
|
|
221
|
+
'สิงหาคม',
|
|
222
|
+
'กันยายน',
|
|
223
|
+
'ตุลาคม',
|
|
224
|
+
'พฤศจิกายน',
|
|
225
|
+
'ธันวาคม',
|
|
226
|
+
],
|
|
227
|
+
'my-MM': [
|
|
228
|
+
'ဇန်နဝါရီလ',
|
|
229
|
+
'ဖေဖော်ဝါရီလ',
|
|
230
|
+
'မတ်လ',
|
|
231
|
+
'ပြီလ',
|
|
232
|
+
'မေလ',
|
|
233
|
+
'ဇွန',
|
|
234
|
+
'ဇူလိုင်လ',
|
|
235
|
+
'သြဂုတ်လ',
|
|
236
|
+
'စက်တင်ဘာ',
|
|
237
|
+
'အောက်တိုဘာ',
|
|
238
|
+
'နိုဝင်ဘာ',
|
|
239
|
+
'ဒီဇင်ဘာ',
|
|
240
|
+
],
|
|
241
|
+
'zh-TW': [
|
|
242
|
+
'一月',
|
|
243
|
+
'二月',
|
|
244
|
+
'三月',
|
|
245
|
+
'四月',
|
|
246
|
+
'五月',
|
|
247
|
+
'六月',
|
|
248
|
+
'七月',
|
|
249
|
+
'八月',
|
|
250
|
+
'九月',
|
|
251
|
+
'十月',
|
|
252
|
+
'十一月',
|
|
253
|
+
'十二月',
|
|
254
|
+
],
|
|
255
|
+
'hi-IN': [
|
|
256
|
+
'जनवरी',
|
|
257
|
+
'फ़रवरी',
|
|
258
|
+
'जुलूस',
|
|
259
|
+
'अप्रैल',
|
|
260
|
+
'मई',
|
|
261
|
+
'जून',
|
|
262
|
+
'जुलाई',
|
|
263
|
+
'अगस्त',
|
|
264
|
+
'सितंबर',
|
|
265
|
+
'अक्टूबर',
|
|
266
|
+
'नवंबर',
|
|
267
|
+
'दिसंबर',
|
|
268
|
+
],
|
|
269
|
+
};
|
|
270
|
+
|
|
271
|
+
const StyledPickerContainer = styled.div `
|
|
272
|
+
.pickerContainer {
|
|
273
|
+
position: relative;
|
|
274
|
+
padding-top: 0;
|
|
275
|
+
& > div > svg {
|
|
276
|
+
position: absolute;
|
|
277
|
+
top: 36px;
|
|
278
|
+
right: 16px;
|
|
279
|
+
cursor: pointer;
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
& > :not(:first-child) {
|
|
283
|
+
position: absolute;
|
|
284
|
+
z-index: 2;
|
|
285
|
+
width: 100%;
|
|
286
|
+
}
|
|
287
|
+
}
|
|
288
|
+
|
|
289
|
+
&[data-is-static] .pickerOverlayWrapper {
|
|
290
|
+
position: static;
|
|
291
|
+
max-width: 250px;
|
|
292
|
+
aspect-ratio: 1 / 1;
|
|
293
|
+
|
|
294
|
+
> .pickerOverlay {
|
|
295
|
+
padding: 1rem;
|
|
296
|
+
}
|
|
297
|
+
}
|
|
298
|
+
|
|
299
|
+
.pickerOverlayWrapper {
|
|
300
|
+
min-width: 320px;
|
|
301
|
+
}
|
|
302
|
+
|
|
303
|
+
&[data-align-right='true'] {
|
|
304
|
+
.pickerOverlayWrapper {
|
|
305
|
+
right: 0;
|
|
306
|
+
}
|
|
307
|
+
}
|
|
308
|
+
|
|
309
|
+
.pickerOverlay {
|
|
310
|
+
margin-top: 6px;
|
|
311
|
+
background: white;
|
|
312
|
+
border-radius: ${theme.borderRadius};
|
|
313
|
+
box-shadow: 0px 6px 12px rgba(67, 86, 100, 0.2);
|
|
314
|
+
}
|
|
315
|
+
|
|
316
|
+
.picker {
|
|
317
|
+
width: 100%;
|
|
318
|
+
}
|
|
319
|
+
|
|
320
|
+
.react-datepicker-popper {
|
|
321
|
+
.react-datepicker {
|
|
322
|
+
display: flex;
|
|
323
|
+
width: 340px;
|
|
324
|
+
height: 305px;
|
|
325
|
+
align-items: center;
|
|
326
|
+
justify-content: center;
|
|
327
|
+
border: none;
|
|
328
|
+
box-shadow: (-1px 1px 2px rgba(67, 70, 74, 0.0001)),
|
|
329
|
+
(-2px 2px 5px rgba(67, 86, 100, 0.123689));
|
|
330
|
+
}
|
|
331
|
+
|
|
332
|
+
.svg {
|
|
333
|
+
cursor: pointer;
|
|
334
|
+
stroke: ${theme.colors.gray800};
|
|
335
|
+
}
|
|
336
|
+
.react-datepicker__day {
|
|
337
|
+
width: 40px;
|
|
338
|
+
}
|
|
339
|
+
|
|
340
|
+
.react-datepicker__header {
|
|
341
|
+
border-bottom: 0;
|
|
342
|
+
background-color: white;
|
|
343
|
+
}
|
|
344
|
+
|
|
345
|
+
.react-datepicker__day--outside-month {
|
|
346
|
+
color: #e9e9e9;
|
|
347
|
+
}
|
|
348
|
+
|
|
349
|
+
.react-datepicker__day {
|
|
350
|
+
font-weight: ${theme.sizes.fwBold};
|
|
351
|
+
}
|
|
352
|
+
|
|
353
|
+
.react-datepicker__day--selected,
|
|
354
|
+
.react-datepicker__day--today,
|
|
355
|
+
.react-datepicker__day--selected:hover,
|
|
356
|
+
.react-datepicker__day--keyboard-selected {
|
|
357
|
+
width: 32px;
|
|
358
|
+
height: 30px;
|
|
359
|
+
margin: 4px;
|
|
360
|
+
margin-bottom: -2px;
|
|
361
|
+
background: ${theme.colors.primaryBase};
|
|
362
|
+
border-radius: 50%;
|
|
363
|
+
}
|
|
364
|
+
|
|
365
|
+
.react-datepicker__day-name {
|
|
366
|
+
width: 40px;
|
|
367
|
+
}
|
|
368
|
+
|
|
369
|
+
.react-datepicker__triangle {
|
|
370
|
+
display: none;
|
|
371
|
+
}
|
|
372
|
+
|
|
373
|
+
.react-datepicker__header.react-datepicker__header--custom {
|
|
374
|
+
svg {
|
|
375
|
+
stroke: #262626;
|
|
376
|
+
}
|
|
377
|
+
select {
|
|
378
|
+
background: ${theme.colors.neutral100};
|
|
379
|
+
text-align: center;
|
|
380
|
+
&:not(:last-child) {
|
|
381
|
+
padding: 8px 10px;
|
|
382
|
+
margin-right: 15px;
|
|
383
|
+
border-radius: ${theme.borderRadius};
|
|
384
|
+
}
|
|
385
|
+
}
|
|
386
|
+
}
|
|
387
|
+
}
|
|
388
|
+
|
|
389
|
+
/* DayPicker styles */
|
|
390
|
+
|
|
391
|
+
.DayPicker {
|
|
392
|
+
display: inline-block;
|
|
393
|
+
font-size: 1rem;
|
|
394
|
+
}
|
|
395
|
+
|
|
396
|
+
.DayPicker-wrapper {
|
|
397
|
+
position: relative;
|
|
398
|
+
|
|
399
|
+
flex-direction: row;
|
|
400
|
+
padding-bottom: 1em;
|
|
401
|
+
|
|
402
|
+
-webkit-user-select: none;
|
|
403
|
+
|
|
404
|
+
-moz-user-select: none;
|
|
405
|
+
|
|
406
|
+
-ms-user-select: none;
|
|
407
|
+
|
|
408
|
+
user-select: none;
|
|
409
|
+
}
|
|
410
|
+
|
|
411
|
+
.DayPicker-Months {
|
|
412
|
+
display: flex;
|
|
413
|
+
flex-wrap: wrap;
|
|
414
|
+
justify-content: center;
|
|
415
|
+
}
|
|
416
|
+
|
|
417
|
+
.DayPicker-Month {
|
|
418
|
+
display: table;
|
|
419
|
+
margin: 0 16px;
|
|
420
|
+
margin-top: 16px;
|
|
421
|
+
border-collapse: collapse;
|
|
422
|
+
border-spacing: 0;
|
|
423
|
+
|
|
424
|
+
-webkit-user-select: none;
|
|
425
|
+
|
|
426
|
+
-moz-user-select: none;
|
|
427
|
+
|
|
428
|
+
-ms-user-select: none;
|
|
429
|
+
|
|
430
|
+
user-select: none;
|
|
431
|
+
}
|
|
432
|
+
|
|
433
|
+
.DayPicker-NavBar {
|
|
434
|
+
position: absolute;
|
|
435
|
+
top: 16px;
|
|
436
|
+
left: 0;
|
|
437
|
+
display: flex;
|
|
438
|
+
width: 100%;
|
|
439
|
+
height: 0;
|
|
440
|
+
align-items: center;
|
|
441
|
+
justify-content: space-between;
|
|
442
|
+
padding: 0 20px;
|
|
443
|
+
}
|
|
444
|
+
|
|
445
|
+
.DayPicker-NavButton {
|
|
446
|
+
width: 24px;
|
|
447
|
+
height: 24px;
|
|
448
|
+
margin-bottom: -47px;
|
|
449
|
+
background-position: center;
|
|
450
|
+
background-repeat: no-repeat;
|
|
451
|
+
background-size: 16px 16px;
|
|
452
|
+
color: #8b9898;
|
|
453
|
+
cursor: pointer;
|
|
454
|
+
}
|
|
455
|
+
|
|
456
|
+
.DayPicker-NavButton:hover {
|
|
457
|
+
opacity: 0.8;
|
|
458
|
+
}
|
|
459
|
+
|
|
460
|
+
.DayPicker-NavButton--prev {
|
|
461
|
+
//left: 2px;
|
|
462
|
+
background-image: url("data:image/svg+xml,%3Csvg width='6' height='10' viewBox='0 0 6 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 9L1 5L5 1' stroke='%23262626' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A");
|
|
463
|
+
}
|
|
464
|
+
|
|
465
|
+
.DayPicker-NavButton--next {
|
|
466
|
+
//right: 2px;
|
|
467
|
+
background-image: url("data:image/svg+xml,%3Csvg width='6' height='10' viewBox='0 0 6 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L1 9' stroke='%23262626' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A");
|
|
468
|
+
}
|
|
469
|
+
|
|
470
|
+
.DayPicker-NavButton--interactionDisabled {
|
|
471
|
+
display: none;
|
|
472
|
+
}
|
|
473
|
+
|
|
474
|
+
.DayPicker-Caption {
|
|
475
|
+
display: table-caption;
|
|
476
|
+
width: 100%;
|
|
477
|
+
height: 46px;
|
|
478
|
+
padding: 0 32px;
|
|
479
|
+
}
|
|
480
|
+
|
|
481
|
+
.DayPicker-Caption select {
|
|
482
|
+
font-size: 16px;
|
|
483
|
+
font-weight: 600;
|
|
484
|
+
line-height: 24px;
|
|
485
|
+
text-align: left;
|
|
486
|
+
}
|
|
487
|
+
|
|
488
|
+
.DayPicker-Weekdays {
|
|
489
|
+
display: table-header-group;
|
|
490
|
+
margin-top: 1em;
|
|
491
|
+
}
|
|
492
|
+
|
|
493
|
+
.DayPicker-WeekdaysRow {
|
|
494
|
+
display: table-row;
|
|
495
|
+
}
|
|
496
|
+
|
|
497
|
+
.DayPicker-Weekday {
|
|
498
|
+
display: table-cell;
|
|
499
|
+
padding: 0.5em;
|
|
500
|
+
color: #8b9898;
|
|
501
|
+
font-size: 0.875em;
|
|
502
|
+
text-align: center;
|
|
503
|
+
}
|
|
504
|
+
|
|
505
|
+
.DayPicker-Weekday abbr[title] {
|
|
506
|
+
border-bottom: none;
|
|
507
|
+
text-decoration: none;
|
|
508
|
+
}
|
|
509
|
+
|
|
510
|
+
.DayPicker-Body {
|
|
511
|
+
display: table-row-group;
|
|
512
|
+
}
|
|
513
|
+
|
|
514
|
+
.DayPicker-Week {
|
|
515
|
+
display: table-row;
|
|
516
|
+
}
|
|
517
|
+
|
|
518
|
+
.DayPicker-Day {
|
|
519
|
+
display: table-cell;
|
|
520
|
+
|
|
521
|
+
width: 40px;
|
|
522
|
+
height: 40px;
|
|
523
|
+
border-radius: 50%;
|
|
524
|
+
cursor: pointer;
|
|
525
|
+
text-align: center;
|
|
526
|
+
vertical-align: middle;
|
|
527
|
+
}
|
|
528
|
+
|
|
529
|
+
.DayPicker-WeekNumber {
|
|
530
|
+
display: table-cell;
|
|
531
|
+
min-width: 1em;
|
|
532
|
+
padding: 0.5em;
|
|
533
|
+
border-right: 1px solid #eaecec;
|
|
534
|
+
color: #8b9898;
|
|
535
|
+
cursor: pointer;
|
|
536
|
+
font-size: 0.75em;
|
|
537
|
+
text-align: right;
|
|
538
|
+
vertical-align: middle;
|
|
539
|
+
}
|
|
540
|
+
|
|
541
|
+
.DayPicker--interactionDisabled .DayPicker-Day {
|
|
542
|
+
cursor: default;
|
|
543
|
+
}
|
|
544
|
+
|
|
545
|
+
.DayPicker-Footer {
|
|
546
|
+
padding-top: 0.5em;
|
|
547
|
+
}
|
|
548
|
+
|
|
549
|
+
.DayPicker-TodayButton {
|
|
550
|
+
border: none;
|
|
551
|
+
background-color: transparent;
|
|
552
|
+
background-image: none;
|
|
553
|
+
box-shadow: none;
|
|
554
|
+
color: #4a90e2;
|
|
555
|
+
cursor: pointer;
|
|
556
|
+
font-size: 0.875em;
|
|
557
|
+
}
|
|
558
|
+
|
|
559
|
+
/* Default modifiers */
|
|
560
|
+
|
|
561
|
+
.DayPicker-Day--today {
|
|
562
|
+
color: #d0021b;
|
|
563
|
+
font-weight: 700;
|
|
564
|
+
}
|
|
565
|
+
|
|
566
|
+
.DayPicker-Day--outside {
|
|
567
|
+
color: #8b9898;
|
|
568
|
+
cursor: default;
|
|
569
|
+
}
|
|
570
|
+
|
|
571
|
+
.DayPicker-Day--disabled {
|
|
572
|
+
color: #dce0e0;
|
|
573
|
+
cursor: default;
|
|
574
|
+
/* background-color: #eff1f1; */
|
|
575
|
+
}
|
|
576
|
+
|
|
577
|
+
/* Example modifiers */
|
|
578
|
+
|
|
579
|
+
.DayPicker-Day--sunday {
|
|
580
|
+
background-color: #f7f8f8;
|
|
581
|
+
}
|
|
582
|
+
|
|
583
|
+
.DayPicker-Day--sunday:not(.DayPicker-Day--today) {
|
|
584
|
+
color: #dce0e0;
|
|
585
|
+
}
|
|
586
|
+
|
|
587
|
+
.DayPicker-Day--selected:not(.DayPicker-Day--disabled):not(
|
|
588
|
+
.DayPicker-Day--outside
|
|
589
|
+
) {
|
|
590
|
+
position: relative;
|
|
591
|
+
|
|
592
|
+
background-color: ${theme.colors.primaryBase};
|
|
593
|
+
color: #f0f8ff;
|
|
594
|
+
font-weight: ${theme.sizes.fwBold};
|
|
595
|
+
}
|
|
596
|
+
|
|
597
|
+
.DayPicker-Day--selected:not(.DayPicker-Day--disabled):not(
|
|
598
|
+
.DayPicker-Day--outside
|
|
599
|
+
):hover {
|
|
600
|
+
background-color: #51a0fa;
|
|
601
|
+
}
|
|
602
|
+
|
|
603
|
+
.DayPicker:not(.DayPicker--interactionDisabled)
|
|
604
|
+
.DayPicker-Day:not(.DayPicker-Day--disabled):not(
|
|
605
|
+
.DayPicker-Day--selected
|
|
606
|
+
):not(.DayPicker-Day--outside):hover {
|
|
607
|
+
background-color: #f0f8ff;
|
|
608
|
+
}
|
|
609
|
+
|
|
610
|
+
/* DayPickerInput */
|
|
611
|
+
|
|
612
|
+
.DayPickerInput {
|
|
613
|
+
display: inline-block;
|
|
614
|
+
}
|
|
615
|
+
|
|
616
|
+
.DayPickerInput-OverlayWrapper {
|
|
617
|
+
position: relative;
|
|
618
|
+
}
|
|
619
|
+
|
|
620
|
+
.DayPickerInput-Overlay {
|
|
621
|
+
position: absolute;
|
|
622
|
+
z-index: 1;
|
|
623
|
+
left: 0;
|
|
624
|
+
|
|
625
|
+
background: white;
|
|
626
|
+
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
|
|
627
|
+
}
|
|
628
|
+
`;
|
|
629
|
+
const StyledCaptionWrapper = styled.form `
|
|
630
|
+
display: flex;
|
|
631
|
+
width: 100%;
|
|
632
|
+
|
|
633
|
+
height: 46px;
|
|
634
|
+
align-items: center;
|
|
635
|
+
justify-content: space-between;
|
|
636
|
+
& > :first-child {
|
|
637
|
+
margin-right: 10px;
|
|
638
|
+
}
|
|
639
|
+
|
|
640
|
+
& * {
|
|
641
|
+
height: 46px;
|
|
642
|
+
padding: 10px 10px;
|
|
643
|
+
background: ${theme.colors.neutral100};
|
|
644
|
+
border-radius: ${theme.borderRadius};
|
|
645
|
+
}
|
|
646
|
+
`;
|
|
647
|
+
|
|
648
|
+
/**
|
|
649
|
+
* @deprecated Consider to use at '@hhgtech/hhg-components/mantine'
|
|
650
|
+
*/
|
|
651
|
+
const DatePicker = ({ alignRight = true, placeholder, displayDateFormat, onChange, customInput: CustomInput, pickedDate, className, isStatic, disabledDays, modifiers, UnHideOnClickOutside, initialMonth, locale = 'en-PH', }) => {
|
|
652
|
+
const isDatePickerShown = useRef(false);
|
|
653
|
+
const dateFormatter = format;
|
|
654
|
+
const [month, setMonth] = useState(initialMonth || new Date());
|
|
655
|
+
const datePickerContainer = useRef(null);
|
|
656
|
+
const datePicker = useRef(null);
|
|
657
|
+
const defaultDateFormatString = 'yyyy-MM-dd';
|
|
658
|
+
const monthLabels = MONTHS_TRANSLATION[locale];
|
|
659
|
+
const handleDaysSelect = (day) => {
|
|
660
|
+
datePicker.current && !isStatic && datePicker.current.hideDayPicker();
|
|
661
|
+
onChange && onChange(day);
|
|
662
|
+
};
|
|
663
|
+
const handleDayChanged = (selectedDay) => {
|
|
664
|
+
handleDaysSelect(selectedDay);
|
|
665
|
+
};
|
|
666
|
+
const formatPickerDate = (date, format) => {
|
|
667
|
+
return dateFormatter(date, format);
|
|
668
|
+
};
|
|
669
|
+
const handleDateClick = (e) => {
|
|
670
|
+
if (UnHideOnClickOutside)
|
|
671
|
+
return;
|
|
672
|
+
if (!datePickerContainer.current ||
|
|
673
|
+
!datePickerContainer.current.contains(e.target)) {
|
|
674
|
+
datePicker.current && datePicker.current.hideDayPicker();
|
|
675
|
+
}
|
|
676
|
+
};
|
|
677
|
+
// customise the drop downs for Month and year
|
|
678
|
+
const currentYear = new Date().getFullYear();
|
|
679
|
+
const fromMonth = new Date(currentYear - 150, 0);
|
|
680
|
+
const toMonth = new Date(currentYear + 1, 0);
|
|
681
|
+
const YearMonthForm = ({ date,
|
|
682
|
+
// localeUtils,
|
|
683
|
+
onChange, monthLabels, }) => {
|
|
684
|
+
// const months = localeUtils.getMonths()
|
|
685
|
+
const years = [];
|
|
686
|
+
for (let i = toMonth.getFullYear(); i >= fromMonth.getFullYear(); i -= 1) {
|
|
687
|
+
years.push(i);
|
|
688
|
+
}
|
|
689
|
+
const handleChange = function handleChange(e) {
|
|
690
|
+
const { year, month } = e.target.form;
|
|
691
|
+
onChange(new Date(year.value, month.value));
|
|
692
|
+
};
|
|
693
|
+
return (React__default.createElement("div", { className: "DayPicker-Caption" },
|
|
694
|
+
React__default.createElement(StyledCaptionWrapper, null,
|
|
695
|
+
React__default.createElement("select", { name: "month", onChange: handleChange, value: date.getMonth() }, monthLabels.map((month, i) => (React__default.createElement("option", { key: month, value: i }, month)))),
|
|
696
|
+
React__default.createElement("select", { name: "year", onChange: handleChange, value: date.getFullYear() }, years.map((year) => (React__default.createElement("option", { key: year, value: year }, year)))))));
|
|
697
|
+
};
|
|
698
|
+
const CaptionElement = ({ date, localeUtils, }) => {
|
|
699
|
+
const defaultMonthLabels = localeUtils === null || localeUtils === void 0 ? void 0 : localeUtils.getMonths();
|
|
700
|
+
return (React__default.createElement(YearMonthForm, { date: date,
|
|
701
|
+
// localeUtils={localeUtils}
|
|
702
|
+
monthLabels: monthLabels || defaultMonthLabels, onChange: setMonth }));
|
|
703
|
+
};
|
|
704
|
+
useEffect(() => {
|
|
705
|
+
document.addEventListener('mousedown', handleDateClick, {
|
|
706
|
+
passive: true,
|
|
707
|
+
});
|
|
708
|
+
return () => {
|
|
709
|
+
document.removeEventListener('mousedown', handleDateClick, false);
|
|
710
|
+
};
|
|
711
|
+
}, []);
|
|
712
|
+
return (React__default.createElement(StyledPickerContainer, { className: className, "data-align-right": alignRight, ref: datePickerContainer, "data-is-static": isStatic || undefined },
|
|
713
|
+
React__default.createElement(DayPickerInput, { ref: datePicker, inputProps: {
|
|
714
|
+
readOnly: true,
|
|
715
|
+
}, keepFocus: false, classNames: {
|
|
716
|
+
container: 'pickerContainer',
|
|
717
|
+
overlayWrapper: 'pickerOverlayWrapper',
|
|
718
|
+
overlay: 'pickerOverlay',
|
|
719
|
+
}, component: CustomInput &&
|
|
720
|
+
React__default.forwardRef(
|
|
721
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
722
|
+
(props, _ref) => (React__default.createElement(CustomInput, Object.assign({}, props)))), onDayPickerHide: () => {
|
|
723
|
+
isDatePickerShown.current = false;
|
|
724
|
+
}, onDayPickerShow: () => {
|
|
725
|
+
isDatePickerShown.current = true;
|
|
726
|
+
}, dayPickerProps: {
|
|
727
|
+
month: month,
|
|
728
|
+
className: 'picker',
|
|
729
|
+
selectedDays: pickedDate,
|
|
730
|
+
canChangeMonth: true,
|
|
731
|
+
enableOutsideDaysClick: isStatic ? false : true,
|
|
732
|
+
firstDayOfWeek: 1,
|
|
733
|
+
captionElement: CaptionElement,
|
|
734
|
+
disabledDays: disabledDays || undefined,
|
|
735
|
+
modifiers: modifiers,
|
|
736
|
+
}, format: displayDateFormat || defaultDateFormatString, formatDate: formatPickerDate, hideOnDayClick: isStatic ? false : true, placeholder: placeholder || '', onDayChange: handleDayChanged, showOverlay: isStatic })));
|
|
737
|
+
};
|
|
738
|
+
|
|
141
739
|
const StyledIconText = styled.div `
|
|
142
740
|
display: flex;
|
|
143
741
|
align-items: center;
|
|
@@ -4036,4 +4634,4 @@ const WidgetChatbotAi = ({}) => {
|
|
|
4036
4634
|
React__default.createElement(Button$1, { className: "submitBtn", type: "submit", variant: value ? 'primary' : 'ghost', leftIcon: React__default.createElement(ArrowRight, { size: 16, color: value ? '#fff' : '#595959' }) }))))));
|
|
4037
4635
|
};
|
|
4038
4636
|
|
|
4039
|
-
export { AdBlock as A, Breadcrumbs as B, CategoryCard as C,
|
|
4637
|
+
export { AdBlock as A, Breadcrumbs as B, CategoryCard as C, DatePicker as D, FloatButtonGroup as F, IconText as I, RadioGroup as R, ScrollList as S, Tabs as T, 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 };
|