@hhgtech/hhg-components 1.29.255-beta-1 → 1.29.255-beta-3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/{LastPeriod-a49e09ac.js → LastPeriod-e978edf6.js} +1 -1
- package/build/{MobileBottomNavigationIcon-a9f285f8.js → MobileBottomNavigationIcon-f5f8912a.js} +3 -3
- package/build/{Spinner-661cd614.js → Spinner-261ca12b.js} +1 -1
- package/build/{WhatsApp-339413d1.js → WhatsApp-1e25de7e.js} +1 -1
- package/build/adapters.js +19 -19
- package/build/atoms.js +49 -49
- 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.js +114 -114
- package/build/{constants-6e3dc4eb.js → constants-9221f489.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-501219e2.js → core-2eca7a56.js} +1 -1
- package/build/{dataTransform-4a308e0b.js → dataTransform-92d8add2.js} +1 -1
- package/build/ecom.js +4 -4
- package/build/{editor-a8b0af34.js → editor-4a8f53ef.js} +30 -19
- 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/{LastPeriod-56e551d6.js → LastPeriod-079996eb.js} +1 -1
- package/build/esm/{MobileBottomNavigationIcon-33fd3156.js → MobileBottomNavigationIcon-7c987843.js} +3 -3
- package/build/esm/{Spinner-e2ea892f.js → Spinner-3aebab92.js} +1 -1
- package/build/esm/{WhatsApp-a666172c.js → WhatsApp-f98c35ac.js} +1 -1
- package/build/esm/adapters.js +19 -19
- package/build/esm/atoms.js +46 -46
- 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.js +90 -90
- package/build/esm/{constants-dfbb02bb.js → constants-9bf6d063.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-4744f6f3.js → core-56a5f8a1.js} +1 -1
- package/build/esm/{dataTransform-9db75e68.js → dataTransform-04bb1b6b.js} +1 -1
- package/build/esm/ecom.js +4 -4
- package/build/esm/{editor-1909a687.js → editor-10538ef7.js} +30 -19
- 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/{fixedBottomAdBlock-ed7ed4e2.js → fixedBottomAdBlock-9aec1c7f.js} +24 -23
- package/build/esm/footer.js +21 -21
- package/build/esm/gAssets.js +2 -2
- package/build/esm/healthToolsCardWrapper.js +18 -18
- package/build/esm/healthToolsForm.js +33 -33
- package/build/esm/hooks/usePreview.d.ts +16 -0
- package/build/esm/hooks.js +13 -13
- package/build/esm/i18n/translationKeys.d.ts +1 -1
- package/build/esm/i18n-values/en-PH.js +19 -0
- package/build/esm/i18n-values/hi-IN.js +19 -0
- package/build/esm/i18n-values/id-ID.js +19 -0
- package/build/esm/i18n-values/km-KH.js +20 -1
- package/build/esm/i18n-values/ms-MY.js +19 -0
- package/build/esm/i18n-values/my-MM.js +19 -0
- package/build/esm/i18n-values/th-TH.js +19 -0
- package/build/esm/i18n-values/tl-PH.js +19 -0
- package/build/esm/i18n-values/vi-VN.js +21 -1
- package/build/esm/i18n-values/vi-VN_MB.js +21 -1
- package/build/esm/i18n-values/zh-TW.js +22 -2
- package/build/esm/i18n.js +2 -2
- package/build/esm/i18nV2.js +2 -2
- package/build/esm/{index-c673db76.js → index-057f2d1e.js} +2 -2
- package/build/esm/{index-1238c5b2.js → index-0756189f.js} +1 -1
- package/build/esm/{index-9f130a7f.js → index-08173da2.js} +6 -6
- package/build/esm/{index-559a0e6c.js → index-0ad66e2a.js} +16 -16
- package/build/esm/{index-e097a083.js → index-0ca935e6.js} +17 -17
- package/build/esm/{index-f68089de.js → index-0d6026dd.js} +2 -2
- package/build/esm/{index-01a221d1.js → index-1279323a.js} +15 -16
- package/build/esm/{index-e9050315.js → index-14226fb8.js} +13 -13
- package/build/esm/{index-1e71f4d7.js → index-14c2df62.js} +16 -16
- package/build/esm/{index-dc16bdc0.js → index-1641f810.js} +3 -3
- package/build/esm/index-1aa56c6c.js +1588 -0
- package/build/esm/{index-e7672482.js → index-233a4b0d.js} +21 -21
- package/build/esm/{index-abc47616.js → index-296a5f9a.js} +16 -16
- package/build/esm/{index-5d76c658.js → index-2e250193.js} +23 -6
- package/build/esm/{index-333f6856.js → index-364b0558.js} +7 -7
- package/build/esm/{index-85fe2034.js → index-38d50b59.js} +2 -2
- package/build/esm/{index-fa000615.js → index-3d881675.js} +13 -13
- package/build/esm/{index-fd84432b.js → index-3f9bbff5.js} +2 -2
- package/build/esm/{index-6231daa6.js → index-4586a7e6.js} +10 -10
- package/build/esm/{index-27b67e91.js → index-4d27d4d5.js} +17 -17
- package/build/esm/{index-43894578.js → index-55d2ff10.js} +2 -2
- package/build/esm/{index-feb05153.js → index-65bf5308.js} +16 -15
- package/build/esm/{index-33515e5d.js → index-65eb86b8.js} +3 -3
- package/build/esm/{index-e78813d5.js → index-6c4793d3.js} +24 -24
- package/build/esm/{index-9f27b7f4.js → index-6cd3f5e8.js} +15 -15
- package/build/esm/{index-1898da73.js → index-6d78a8a7.js} +2 -2
- package/build/esm/{index-0f4fba5c.js → index-78b3180a.js} +1 -1
- package/build/esm/{index-72976151.js → index-78b6be16.js} +3 -3
- package/build/esm/{index-1b795ea9.js → index-7e8aa571.js} +1 -1
- package/build/esm/{index-f8e0219d.js → index-7eb25449.js} +51 -45
- package/build/esm/{index-638cd733.js → index-819907ad.js} +3 -3
- package/build/esm/{index-63354509.js → index-85fddfd7.js} +1 -1
- package/build/esm/{index-c244d627.js → index-8ca04504.js} +1 -1
- package/build/esm/{index-c027fd0f.js → index-8f2e9737.js} +13 -13
- package/build/esm/{index-980ec7b9.js → index-8f716c39.js} +2 -2
- package/build/esm/{index-12fa6251.js → index-9711efd0.js} +4 -4
- package/build/esm/{index-5f0e8146.js → index-98c3fc54.js} +2 -2
- package/build/esm/{index-31369166.js → index-9927839b.js} +6 -6
- package/build/esm/{index-1d13b259.js → index-a2d9e627.js} +3 -3
- package/build/esm/{index-de634c83.js → index-a595566d.js} +11 -12
- package/build/esm/{index-d7c755b0.js → index-a60a7164.js} +146 -146
- package/build/esm/{index-d5632995.js → index-afea9eed.js} +1 -1
- package/build/esm/{index-386913a0.js → index-b0bd9cb3.js} +1 -1
- package/build/esm/{index-52d845a4.js → index-b6896227.js} +6 -6
- package/build/esm/{index-a064e7e2.js → index-c196772c.js} +3 -3
- package/build/esm/{index-28ada555.js → index-cae39c98.js} +1 -1
- package/build/esm/{index-de9892e3.js → index-cec1bbdc.js} +2 -2
- package/build/esm/{index-63a7f6e0.js → index-cf637bb0.js} +17 -17
- package/build/esm/{index-9208e3bb.js → index-cff54956.js} +30 -30
- package/build/esm/{index-64ceb47f.js → index-d63e0760.js} +2 -2
- package/build/esm/{index-99134425.js → index-d6986ca4.js} +13 -13
- package/build/esm/{index-e4c9d352.js → index-d9364bb7.js} +5 -5
- package/build/esm/{index-7374342d.js → index-dd765da5.js} +18 -18
- package/build/esm/{index-6577c177.js → index-e466cbf4.js} +213 -132
- package/build/esm/{index-d10a5a55.js → index-e57c93fa.js} +3 -3
- package/build/esm/{index-41e2e754.js → index-e5c5350b.js} +2 -2
- package/build/esm/{index-485a662c.js → index-e92c278a.js} +7 -7
- package/build/esm/{index-5ec12ba9.js → index-f0fa0bcd.js} +1 -1
- package/build/esm/{index-520d2095.js → index-f7477ebe.js} +5 -5
- package/build/esm/{index-59e6c9c3.js → index-f993926f.js} +2 -2
- package/build/esm/index.css +1 -1
- package/build/esm/index.js +112 -112
- package/build/esm/index.styles-eab929da.js +35 -0
- package/build/esm/interfaces/types/index.d.ts +1 -1
- package/build/esm/{labelSorting-cf27ba75.js → labelSorting-acef7ac3.js} +4 -4
- package/build/esm/lead.js +24 -24
- package/build/esm/{logoIcon-ba7fdeb5.js → logoIcon-5aa1e54b.js} +2 -2
- package/build/esm/mantine.js +25 -25
- package/build/esm/misc.js +16 -16
- 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 +69 -69
- package/build/esm/moleculesArticleCard.js +6 -6
- package/build/esm/moleculesArticleCardV2.js +16 -16
- package/build/esm/navigation.js +40 -40
- 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 +44 -44
- package/build/esm/{post-6b45ad4f.js → post-e0ff144e.js} +3 -3
- 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.js +26 -26
- package/build/esm/{store-7c55f360.js → store-f24285e6.js} +3 -3
- package/build/esm/subot.js +33 -33
- package/build/esm/surveyOrPremiumBanner.js +31 -31
- package/build/esm/surveyQuestionCard.js +10 -10
- package/build/esm/{surveyThankyouCard-bade79b4.js → surveyThankyouCard-270b1fef.js} +5 -5
- package/build/esm/together/assets/icons/Ask.d.ts +7 -0
- package/build/esm/together/components/atoms/cardReactions/index.d.ts +2 -1
- package/build/esm/together/components/molecules/createNewPostContent/index.d.ts +6 -2
- package/build/esm/together/components/molecules/createNewPostContent/index.styled.d.ts +4 -0
- package/build/esm/together/components/molecules/createNewPostContent/type.d.ts +4 -0
- package/build/esm/together/components/molecules/createPostCommunity/index.d.ts +25 -0
- package/build/esm/together/components/molecules/createPostCommunity/index.styled.d.ts +9 -0
- package/build/esm/together/components/molecules/createPostCommunity/index.styles.d.ts +12 -0
- package/build/esm/together/components/molecules/createPostDescription/index.d.ts +2 -1
- package/build/esm/together/components/molecules/createPostPhotos/index.d.ts +7 -0
- package/build/esm/together/components/molecules/createPostVideo/index.d.ts +8 -0
- package/build/esm/together/components/molecules/createPostVideo/socialLinkPopup/index.d.ts +12 -0
- package/build/esm/together/components/molecules/createPostVideo/socialLinkPopup/index.styled.d.ts +15 -0
- package/build/esm/together/components/molecules/postPhotosReview/index.d.ts +8 -0
- package/build/esm/together/components/molecules/postPhotosReview/index.styled.d.ts +5 -0
- package/build/esm/together/components/molecules/postPhotosReview/index.styles.d.ts +12 -0
- package/build/esm/together/components/molecules/postVideoReview/index.d.ts +10 -0
- package/build/esm/together/components/molecules/postVideoReview/index.styled.d.ts +5 -0
- package/build/esm/together/components/molecules/postVideoReview/index.styles.d.ts +12 -0
- package/build/esm/together/components/organisms/cardPost/cardPostPopover.d.ts +1 -1
- package/build/esm/together/components/organisms/cardPost/index.d.ts +2 -1
- package/build/esm/together.js +53 -52
- 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 +48 -47
- package/build/esm/togetherMoleculesCardAuthor.js +27 -27
- package/build/esm/togetherMoleculesPostImagePreview.js +11 -11
- package/build/esm/togetherMoleculesProfileDetail.js +37 -37
- package/build/esm/togetherOrganisms.js +47 -47
- package/build/esm/togetherRichTextEditor.js +17 -17
- package/build/esm/togetherShareBox.js +15 -12
- package/build/esm/{treePopoverMenu-f50ac599.js → treePopoverMenu-55dd0cf6.js} +27 -27
- package/build/esm/{types-98c0eb4f.js → types-3173cc94.js} +2 -2
- package/build/esm/types.js +2 -2
- package/build/esm/{useCategory-1ad6f5bd.js → useCategory-e8f7ddf8.js} +5 -5
- package/build/esm/{useHealthToolCache-c202d504.js → useHealthToolCache-2cba8952.js} +1 -1
- package/build/esm/{useMantineLocale-fbe0d85f.js → useMantineLocale-897de7b5.js} +5 -5
- package/build/esm/{usePlacesAutocomplete-e46d35f4.js → usePlacesAutocomplete-b1a4d70d.js} +1 -1
- package/build/esm/useScreenSize-72a6e414.js +50 -0
- package/build/esm/useTogetherAuthRequiredAction.js +9 -9
- package/build/esm/{utils-ea08e466.js → utils-226da7e7.js} +2 -2
- package/build/esm/{utils-03c20d75.js → utils-63a40dac.js} +2 -2
- package/build/esm/{utils-a30adc88.js → utils-d7a79b14.js} +4 -4
- package/build/esm/vaccination.js +21 -21
- package/build/{fixedBottomAdBlock-0d90f775.js → fixedBottomAdBlock-77d47ed1.js} +25 -24
- package/build/footer.js +21 -21
- package/build/gAssets.js +2 -2
- package/build/healthToolsCardWrapper.js +18 -18
- package/build/healthToolsForm.js +33 -33
- package/build/hooks/usePreview.d.ts +16 -0
- package/build/hooks.js +13 -13
- package/build/i18n/translationKeys.d.ts +1 -1
- package/build/i18n-values/en-PH.js +19 -0
- package/build/i18n-values/hi-IN.js +19 -0
- package/build/i18n-values/id-ID.js +19 -0
- package/build/i18n-values/km-KH.js +20 -1
- package/build/i18n-values/ms-MY.js +19 -0
- package/build/i18n-values/my-MM.js +19 -0
- package/build/i18n-values/th-TH.js +19 -0
- package/build/i18n-values/tl-PH.js +19 -0
- package/build/i18n-values/vi-VN.js +21 -1
- package/build/i18n-values/vi-VN_MB.js +21 -1
- package/build/i18n-values/zh-TW.js +22 -2
- package/build/i18n.js +1 -1
- package/build/i18nV2.js +1 -1
- package/build/{index-1e59ac18.js → index-024879f9.js} +2 -2
- package/build/{index-0a8fd916.js → index-06890150.js} +2 -2
- package/build/{index-e26057ef.js → index-0af1a89b.js} +2 -2
- package/build/{index-c39f90c0.js → index-1186fa5d.js} +1 -1
- package/build/{index-600be142.js → index-120a5070.js} +30 -30
- package/build/{index-94a2380e.js → index-123951cf.js} +23 -6
- package/build/{index-40968de6.js → index-1701cefe.js} +13 -13
- package/build/{index-a36ae2dd.js → index-176bf9ce.js} +2 -2
- package/build/{index-8875bd63.js → index-211f83c7.js} +2 -2
- package/build/{index-1b6ff5d2.js → index-2473a275.js} +3 -3
- package/build/{index-9c30fb0f.js → index-257127f0.js} +15 -15
- package/build/{index-cbf8013f.js → index-2987ce11.js} +1 -1
- package/build/{index-b7771139.js → index-2aae5e03.js} +3 -3
- package/build/{index-1193605d.js → index-2b1586aa.js} +13 -13
- package/build/{index-d9e2317d.js → index-2c4a10c7.js} +2 -2
- package/build/{index-359555bb.js → index-2f425921.js} +63 -63
- package/build/{index-e7f40c6c.js → index-3048d656.js} +3 -3
- package/build/{index-fce1fbe0.js → index-35d69f6d.js} +3 -3
- package/build/{index-876b0554.js → index-36fb2a30.js} +6 -6
- package/build/{index-c05017fc.js → index-37948e56.js} +18 -18
- package/build/index-3e80af41.js +1602 -0
- package/build/{index-ab91b4aa.js → index-41fe3c8c.js} +16 -16
- package/build/{index-417c9098.js → index-436b0626.js} +7 -7
- package/build/{index-0fbb70e6.js → index-4757077a.js} +147 -147
- package/build/{index-e8085041.js → index-4e3b8553.js} +2 -2
- package/build/{index-1d2f7127.js → index-4e4b2fec.js} +1 -1
- package/build/{index-0fb405b1.js → index-51f51570.js} +3 -3
- package/build/{index-b7f8ef88.js → index-52d4c791.js} +12 -12
- package/build/{index-bbcb1695.js → index-587c0854.js} +1 -1
- package/build/{index-99663cb3.js → index-5b9089ad.js} +17 -17
- package/build/{index-b79fefb7.js → index-642504fb.js} +10 -10
- package/build/{index-ead61105.js → index-704aca93.js} +213 -132
- package/build/{index-cbc3d699.js → index-7a2f707e.js} +2 -2
- package/build/{index-7fc1402c.js → index-8080f047.js} +13 -13
- package/build/{index-79d8be3f.js → index-808cfcbf.js} +2 -2
- package/build/{index-92f73c98.js → index-83dfec88.js} +2 -2
- package/build/{index-9cc8a110.js → index-84ea2727.js} +17 -17
- package/build/{index-2f965d34.js → index-88c46691.js} +13 -13
- package/build/{index-23482812.js → index-8c1c9ab3.js} +2 -2
- package/build/{index-ffe46049.js → index-97b39f68.js} +3 -3
- package/build/{index-0c9daa95.js → index-99784eb3.js} +1 -1
- package/build/{index-5c72b88a.js → index-9b459b73.js} +5 -5
- package/build/{index-7470b041.js → index-a3488c7c.js} +5 -5
- package/build/{index-ebf999c6.js → index-a9a1f171.js} +3 -3
- package/build/{index-4c1df74e.js → index-b0e50283.js} +50 -44
- package/build/{index-f6e67f1a.js → index-b13987b2.js} +1 -1
- package/build/{index-ec5786d9.js → index-b4452e14.js} +20 -21
- package/build/{index-e9cd2fc3.js → index-b4d5f71d.js} +2 -2
- package/build/{index-6e7190c1.js → index-b54c0584.js} +45 -46
- package/build/{index-a13ac487.js → index-ba506126.js} +2 -2
- package/build/{index-4775a6e3.js → index-bbbcd8fd.js} +4 -4
- package/build/{index-f5ceb6c4.js → index-be099908.js} +16 -16
- package/build/{index-efc112b4.js → index-cb3cbc02.js} +20 -20
- package/build/{index-b6f472df.js → index-cf80bf25.js} +50 -50
- package/build/{index-f378d164.js → index-d43aeb0f.js} +16 -16
- package/build/{index-ff414a50.js → index-d941c26d.js} +1 -1
- package/build/{index-e5b8cfe3.js → index-e6ebebfe.js} +6 -6
- package/build/{index-acce4797.js → index-eda91895.js} +1 -1
- package/build/{index-7964ea1e.js → index-f2d7d476.js} +17 -17
- package/build/{index-1c77f9c8.js → index-fc5e0fbe.js} +18 -17
- package/build/index.css +1 -1
- package/build/index.js +157 -157
- package/build/index.styles-d7aa47c6.js +37 -0
- package/build/interfaces/types/index.d.ts +1 -1
- package/build/{labelSorting-e5b411c3.js → labelSorting-7d1252e2.js} +4 -4
- package/build/lead.js +24 -24
- package/build/{logoIcon-4380c43d.js → logoIcon-6e1dee46.js} +3 -3
- package/build/mantine.js +22 -22
- package/build/misc.js +16 -16
- 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 +69 -69
- package/build/moleculesArticleCard.js +6 -6
- package/build/moleculesArticleCardV2.js +18 -18
- package/build/navigation.js +40 -40
- package/build/navigationLogoutPopup.js +9 -9
- package/build/navigationProfileButton.js +23 -23
- package/build/onboardingV2.js +31 -31
- package/build/organisms.js +44 -44
- package/build/{post-5377dd29.js → post-32e0928d.js} +2 -2
- package/build/profileNavigation.js +19 -19
- package/build/progressBar.js +1 -1
- package/build/pwg.js +22 -22
- package/build/ssoV2.js +25 -25
- package/build/{store-19323e07.js → store-49419a3e.js} +3 -3
- package/build/subot.js +32 -32
- package/build/surveyOrPremiumBanner.js +31 -31
- package/build/surveyQuestionCard.js +10 -10
- package/build/{surveyThankyouCard-bdfceda3.js → surveyThankyouCard-e3b96ecc.js} +5 -5
- package/build/together/assets/icons/Ask.d.ts +7 -0
- package/build/together/components/atoms/cardReactions/index.d.ts +2 -1
- package/build/together/components/molecules/createNewPostContent/index.d.ts +6 -2
- package/build/together/components/molecules/createNewPostContent/index.styled.d.ts +4 -0
- package/build/together/components/molecules/createNewPostContent/type.d.ts +4 -0
- package/build/together/components/molecules/createPostCommunity/index.d.ts +25 -0
- package/build/together/components/molecules/createPostCommunity/index.styled.d.ts +9 -0
- package/build/together/components/molecules/createPostCommunity/index.styles.d.ts +12 -0
- package/build/together/components/molecules/createPostDescription/index.d.ts +2 -1
- package/build/together/components/molecules/createPostPhotos/index.d.ts +7 -0
- package/build/together/components/molecules/createPostVideo/index.d.ts +8 -0
- package/build/together/components/molecules/createPostVideo/socialLinkPopup/index.d.ts +12 -0
- package/build/together/components/molecules/createPostVideo/socialLinkPopup/index.styled.d.ts +15 -0
- package/build/together/components/molecules/postPhotosReview/index.d.ts +8 -0
- package/build/together/components/molecules/postPhotosReview/index.styled.d.ts +5 -0
- package/build/together/components/molecules/postPhotosReview/index.styles.d.ts +12 -0
- package/build/together/components/molecules/postVideoReview/index.d.ts +10 -0
- package/build/together/components/molecules/postVideoReview/index.styled.d.ts +5 -0
- package/build/together/components/molecules/postVideoReview/index.styles.d.ts +12 -0
- package/build/together/components/organisms/cardPost/cardPostPopover.d.ts +1 -1
- package/build/together/components/organisms/cardPost/index.d.ts +2 -1
- package/build/together.js +53 -52
- package/build/togetherApiUtils.js +4 -4
- package/build/togetherAtoms.js +30 -30
- package/build/togetherComponentGlobalContext.js +4 -4
- package/build/togetherMolecules.js +48 -47
- package/build/togetherMoleculesCardAuthor.js +27 -27
- package/build/togetherMoleculesPostImagePreview.js +11 -11
- package/build/togetherMoleculesProfileDetail.js +37 -37
- package/build/togetherOrganisms.js +47 -47
- package/build/togetherRichTextEditor.js +17 -17
- package/build/togetherShareBox.js +19 -16
- package/build/{treePopoverMenu-90e6c497.js → treePopoverMenu-d7d7606d.js} +28 -28
- package/build/{types-82089964.js → types-9019cbf8.js} +2 -2
- package/build/types.js +2 -2
- package/build/{useCategory-5d620b0c.js → useCategory-730ad168.js} +5 -5
- package/build/{useHealthToolCache-42764d8b.js → useHealthToolCache-40f11368.js} +1 -1
- package/build/{useMantineLocale-df553a85.js → useMantineLocale-07f0e967.js} +5 -5
- package/build/{usePlacesAutocomplete-c0d7e519.js → usePlacesAutocomplete-925da3d8.js} +1 -1
- package/build/{index-94c7aa0a.js → useScreenSize-377d423a.js} +30 -1
- package/build/useTogetherAuthRequiredAction.js +9 -9
- package/build/{utils-5abd04f3.js → utils-00bc3b27.js} +3 -3
- package/build/{utils-73b2a15c.js → utils-047b33e2.js} +2 -2
- package/build/{utils-831595ab.js → utils-2e2fb97e.js} +2 -2
- package/build/vaccination.js +25 -25
- package/package.json +1 -1
- package/build/esm/index-e09202bf.js +0 -22
- package/build/esm/index-e4d7c08b.js +0 -913
- package/build/esm/index.styles-c8f0bcdf.js +0 -64
- package/build/index-afe2faf7.js +0 -927
- package/build/index.styles-07513b4a.js +0 -67
- /package/build/{BMI_BOYS.percentile.monthly-b194da14.js → BMI_BOYS.percentile.monthly-90c63d14.js} +0 -0
- /package/build/{BMI_BOYS.percentile.weekly-ec6c69d3.js → BMI_BOYS.percentile.weekly-e07825ff.js} +0 -0
- /package/build/{BMI_BOYS.percentile.yearly-46719ff5.js → BMI_BOYS.percentile.yearly-ecfb4811.js} +0 -0
- /package/build/{BMI_BOYS.zscore.monthly-482901d6.js → BMI_BOYS.zscore.monthly-cc7c89e1.js} +0 -0
- /package/build/{BMI_BOYS.zscore.weekly-225568de.js → BMI_BOYS.zscore.weekly-6dd1da70.js} +0 -0
- /package/build/{BMI_BOYS.zscore.yearly-a252a912.js → BMI_BOYS.zscore.yearly-254f7b56.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.monthly-4d8b4eb2.js → BMI_GIRLS.percentile.monthly-ba7eab70.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.weekly-af009b15.js → BMI_GIRLS.percentile.weekly-de9e1b2a.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.yearly-542dbed5.js → BMI_GIRLS.percentile.yearly-59c82a18.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.monthly-26d46964.js → BMI_GIRLS.zscore.monthly-0c152106.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.weekly-9257075f.js → BMI_GIRLS.zscore.weekly-dac29565.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.yearly-68890e63.js → BMI_GIRLS.zscore.yearly-28f3b883.js} +0 -0
- /package/build/{ChevronDown-f564cb15.js → ChevronDown-7faa448b.js} +0 -0
- /package/build/{Close-55b74750.js → Close-2d5f227e.js} +0 -0
- /package/build/{Google-b46681e7.js → Google-749907f2.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-728d94f7.js → HEAD CIRCUM_BOYS.percentile.monthly-b6fc017c.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-a38b311c.js → HEAD CIRCUM_BOYS.percentile.weekly-786cca3b.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-35572fa8.js → HEAD CIRCUM_BOYS.percentile.yearly-84c22b3d.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-c0635989.js → HEAD CIRCUM_BOYS.zscore.monthly-2d11ed07.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-6a3237d7.js → HEAD CIRCUM_BOYS.zscore.weekly-54d2199b.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-eb40dca6.js → HEAD CIRCUM_BOYS.zscore.yearly-73601e98.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-df1ef165.js → HEAD CIRCUM_GIRLS.percentile.monthly-8a06ec52.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-97861dd8.js → HEAD CIRCUM_GIRLS.percentile.weekly-abec48a9.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-9a492044.js → HEAD CIRCUM_GIRLS.percentile.yearly-d31d9558.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-ce9baa14.js → HEAD CIRCUM_GIRLS.zscore.monthly-f7e55982.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-1d352768.js → HEAD CIRCUM_GIRLS.zscore.weekly-d7518680.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-e18972a5.js → HEAD CIRCUM_GIRLS.zscore.yearly-ad98b487.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.monthly-945641ff.js → HEIGHT_BOYS.percentile.monthly-f759334e.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.weekly-2b2a0983.js → HEIGHT_BOYS.percentile.weekly-acb7807a.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.yearly-f4ec49b8.js → HEIGHT_BOYS.percentile.yearly-345c714c.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.monthly-d8f097fd.js → HEIGHT_BOYS.zscore.monthly-e9127ee2.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.weekly-ca870d22.js → HEIGHT_BOYS.zscore.weekly-b3e40201.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.yearly-52355027.js → HEIGHT_BOYS.zscore.yearly-3bdfcd03.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.monthly-9d423433.js → HEIGHT_GIRLS.percentile.monthly-b5c12e56.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.weekly-a455b76d.js → HEIGHT_GIRLS.percentile.weekly-6efa19c7.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.yearly-059d0a18.js → HEIGHT_GIRLS.percentile.yearly-efb45d46.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.monthly-3b7683a4.js → HEIGHT_GIRLS.zscore.monthly-ea34114e.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.weekly-b14b42d5.js → HEIGHT_GIRLS.zscore.weekly-741873c2.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.yearly-20c7e5c6.js → HEIGHT_GIRLS.zscore.yearly-4954cc77.js} +0 -0
- /package/build/{Locale-bcde8996.js → Locale-7bb0fc27.js} +0 -0
- /package/build/{Visible-2bb88c95.js → Visible-0f5c8717.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.monthly-85c444cc.js → WEIGHT_BOYS.percentile.monthly-c692a394.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.weekly-a47b4ed2.js → WEIGHT_BOYS.percentile.weekly-c5810888.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.yearly-374b1995.js → WEIGHT_BOYS.percentile.yearly-42f18fc2.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.monthly-44e2f2e7.js → WEIGHT_BOYS.zscore.monthly-416af87d.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.weekly-b08c0f41.js → WEIGHT_BOYS.zscore.weekly-2b0e2165.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.yearly-5921b3a0.js → WEIGHT_BOYS.zscore.yearly-9d382ca9.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.monthly-984bf7ce.js → WEIGHT_GIRLS.percentile.monthly-466d3860.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.weekly-2cb8fb73.js → WEIGHT_GIRLS.percentile.weekly-833a1be5.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.yearly-6c98923d.js → WEIGHT_GIRLS.percentile.yearly-f789982a.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.monthly-ed2c531e.js → WEIGHT_GIRLS.zscore.monthly-7d0c15e0.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.weekly-f9ecb392.js → WEIGHT_GIRLS.zscore.weekly-9f1069f7.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.yearly-68ef941b.js → WEIGHT_GIRLS.zscore.yearly-73ae1d15.js} +0 -0
- /package/build/{animation-ea977495.js → animation-6f3b7847.js} +0 -0
- /package/build/{constants-e9691110.js → constants-2d91b0e1.js} +0 -0
- /package/build/{constants-4d7147a1.js → constants-9781ee0c.js} +0 -0
- /package/build/{constants-01354d80.js → constants-e9c423db.js} +0 -0
- /package/build/{dataTransform-3d45068d.js → dataTransform-0a3530e2.js} +0 -0
- /package/build/{doctor-f1e2bd10.js → doctor-a5ab1034.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.monthly-676746a9.js → BMI_BOYS.percentile.monthly-412abb5f.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.weekly-4ed23841.js → BMI_BOYS.percentile.weekly-f4e955d0.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.yearly-98c98167.js → BMI_BOYS.percentile.yearly-001dd466.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.monthly-47916b32.js → BMI_BOYS.zscore.monthly-59f049ab.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.weekly-daaed956.js → BMI_BOYS.zscore.weekly-aac900c4.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.yearly-eab0342a.js → BMI_BOYS.zscore.yearly-6dca440a.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.monthly-dfb759bb.js → BMI_GIRLS.percentile.monthly-bebf51b4.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.weekly-d29de620.js → BMI_GIRLS.percentile.weekly-2a2b4eb7.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.yearly-25fa0330.js → BMI_GIRLS.percentile.yearly-24ebd799.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.monthly-fc206d4e.js → BMI_GIRLS.zscore.monthly-eecb1682.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.weekly-98306141.js → BMI_GIRLS.zscore.weekly-2e1488eb.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.yearly-e4d0a11b.js → BMI_GIRLS.zscore.yearly-b75ac0b9.js} +0 -0
- /package/build/esm/{ChevronDown-2dece328.js → ChevronDown-ab409ca4.js} +0 -0
- /package/build/esm/{Close-414861c0.js → Close-255717e5.js} +0 -0
- /package/build/esm/{Google-0a3ac5a5.js → Google-e4d9094f.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-22e90b94.js → HEAD CIRCUM_BOYS.percentile.monthly-6037f594.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-138252c3.js → HEAD CIRCUM_BOYS.percentile.weekly-d737c37e.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-45d0204c.js → HEAD CIRCUM_BOYS.percentile.yearly-31efd59d.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-b251ea89.js → HEAD CIRCUM_BOYS.zscore.monthly-a8f7ddd6.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-c0993a4a.js → HEAD CIRCUM_BOYS.zscore.weekly-d24e81d8.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-ceac2f5f.js → HEAD CIRCUM_BOYS.zscore.yearly-1d62e084.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-e4f09030.js → HEAD CIRCUM_GIRLS.percentile.monthly-1a981973.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-9d21592c.js → HEAD CIRCUM_GIRLS.percentile.weekly-84bba439.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-3a37d7d1.js → HEAD CIRCUM_GIRLS.percentile.yearly-1b9b6720.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-efff377c.js → HEAD CIRCUM_GIRLS.zscore.monthly-ffcc7685.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-21aa2b28.js → HEAD CIRCUM_GIRLS.zscore.weekly-f337d25b.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-99a4f0e8.js → HEAD CIRCUM_GIRLS.zscore.yearly-38c72ae9.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.monthly-529d91e6.js → HEIGHT_BOYS.percentile.monthly-da590313.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.weekly-d786c46b.js → HEIGHT_BOYS.percentile.weekly-1a1ffe4b.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.yearly-f2b98286.js → HEIGHT_BOYS.percentile.yearly-914f3a91.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.monthly-9fd64cb2.js → HEIGHT_BOYS.zscore.monthly-09a91a77.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.weekly-f5fb170c.js → HEIGHT_BOYS.zscore.weekly-24952bd6.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.yearly-75ff7389.js → HEIGHT_BOYS.zscore.yearly-533c9933.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-20d7dc21.js → HEIGHT_GIRLS.percentile.monthly-20adde21.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-163bcbf7.js → HEIGHT_GIRLS.percentile.weekly-5c089a72.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-133e9b9b.js → HEIGHT_GIRLS.percentile.yearly-0337efde.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-1f697249.js → HEIGHT_GIRLS.zscore.monthly-31da8973.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-64f7cfb0.js → HEIGHT_GIRLS.zscore.weekly-e925388a.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-5d3a1f36.js → HEIGHT_GIRLS.zscore.yearly-1d982762.js} +0 -0
- /package/build/esm/{Locale-ca77b0a8.js → Locale-e3bf3674.js} +0 -0
- /package/build/esm/{Visible-ba31ca23.js → Visible-9cdd11c7.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.monthly-a42e34eb.js → WEIGHT_BOYS.percentile.monthly-675875d5.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.weekly-c519e3e5.js → WEIGHT_BOYS.percentile.weekly-4380822d.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.yearly-58cd559f.js → WEIGHT_BOYS.percentile.yearly-5f03ab81.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.monthly-ed9e4281.js → WEIGHT_BOYS.zscore.monthly-7d53891c.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.weekly-bb18ed2b.js → WEIGHT_BOYS.zscore.weekly-2b996595.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.yearly-ce3809ed.js → WEIGHT_BOYS.zscore.yearly-9938a7b4.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-cc6d74d0.js → WEIGHT_GIRLS.percentile.monthly-ced675a4.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-faec125e.js → WEIGHT_GIRLS.percentile.weekly-a7f88686.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-ee45c3d5.js → WEIGHT_GIRLS.percentile.yearly-dd257495.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-328c309f.js → WEIGHT_GIRLS.zscore.monthly-22f9f972.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-27ddd67a.js → WEIGHT_GIRLS.zscore.weekly-c21c9fbb.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-f351e8ae.js → WEIGHT_GIRLS.zscore.yearly-58662d5a.js} +0 -0
- /package/build/esm/{animation-26ededa5.js → animation-b5fb6e1a.js} +0 -0
- /package/build/esm/{constants-24c945ff.js → constants-5ba4a06d.js} +0 -0
- /package/build/esm/{constants-63e3976e.js → constants-5d7dd1df.js} +0 -0
- /package/build/esm/{constants-4c555a78.js → constants-78902e5d.js} +0 -0
- /package/build/esm/{dataTransform-9fb86241.js → dataTransform-76f664d7.js} +0 -0
- /package/build/esm/{doctor-fa923c90.js → doctor-69b1c79d.js} +0 -0
- /package/build/esm/{index-f2dcdbdd.js → index-1127f8ba.js} +0 -0
- /package/build/esm/{index-7efb2ae6.js → index-4e256236.js} +0 -0
- /package/build/esm/{index-56c187d2.js → index-51f857f3.js} +0 -0
- /package/build/esm/{index-ae467e8a.js → index-8bc6741b.js} +0 -0
- /package/build/esm/{index-e15f4ebc.js → index-935a1f87.js} +0 -0
- /package/build/esm/{index-5ae6e655.js → index-c512146f.js} +0 -0
- /package/build/esm/{index-b960d7d2.js → index-cec2beab.js} +0 -0
- /package/build/esm/{index-ef4ef49a.js → index-cf5fc080.js} +0 -0
- /package/build/esm/{index-2f48ca28.js → index-f2dba474.js} +0 -0
- /package/build/esm/{localizeNumberFormat-a97ed6c7.js → localizeNumberFormat-ebf106eb.js} +0 -0
- /package/build/esm/{normalizeLink-4b5bf175.js → normalizeLink-5aca6bda.js} +0 -0
- /package/build/esm/{other-b2d9a044.js → other-6a7e1e43.js} +0 -0
- /package/build/esm/{paths-ddb6c4d8.js → paths-ced0fa9d.js} +0 -0
- /package/build/esm/{translationsContext-842b9deb.js → translationsContext-b0754e46.js} +0 -0
- /package/build/esm/{tslib.es6-1ac4ffe8.js → tslib.es6-a8899474.js} +0 -0
- /package/build/esm/{types-6790ba3a.js → types-54f52760.js} +0 -0
- /package/build/esm/{useIsInit-5732296a.js → useIsInit-65199c88.js} +0 -0
- /package/build/esm/{useOutsideClick-cbeba8ee.js → useOutsideClick-ab916fd7.js} +0 -0
- /package/build/esm/{useScrollbarSize-ac8256a4.js → useScrollbarSize-6c8a0342.js} +0 -0
- /package/build/esm/{useUniqueId-1ae14697.js → useUniqueId-f3f12863.js} +0 -0
- /package/build/esm/{utils-45fdcf7b.js → utils-bc4ce115.js} +0 -0
- /package/build/{index-80b90ecc.js → index-1bf23cbd.js} +0 -0
- /package/build/{index-315d9154.js → index-21ca1caf.js} +0 -0
- /package/build/{index-bbaaa76f.js → index-2e07a2d4.js} +0 -0
- /package/build/{index-1d17957f.js → index-36eaf39f.js} +0 -0
- /package/build/{index-be7ea2d7.js → index-501d871a.js} +0 -0
- /package/build/{index-5ba31c22.js → index-5dbab2ac.js} +0 -0
- /package/build/{index-a194922e.js → index-79f3a881.js} +0 -0
- /package/build/{index-022ab6d3.js → index-88fdd18c.js} +0 -0
- /package/build/{index-2201ea63.js → index-c67997e3.js} +0 -0
- /package/build/{localizeNumberFormat-7d547f95.js → localizeNumberFormat-e3fbff3c.js} +0 -0
- /package/build/{normalizeLink-1d312a04.js → normalizeLink-6b538145.js} +0 -0
- /package/build/{other-f35b1b1a.js → other-c659c2a9.js} +0 -0
- /package/build/{paths-a0e2dcbf.js → paths-181d46e2.js} +0 -0
- /package/build/{translationsContext-d89d941c.js → translationsContext-f85183a8.js} +0 -0
- /package/build/{tslib.es6-9e523431.js → tslib.es6-a80079d2.js} +0 -0
- /package/build/{types-908ee804.js → types-ca3505ea.js} +0 -0
- /package/build/{useIsInit-1fbe61dd.js → useIsInit-f20269ea.js} +0 -0
- /package/build/{useOutsideClick-42a8525c.js → useOutsideClick-32d65391.js} +0 -0
- /package/build/{useScrollbarSize-5d9399f0.js → useScrollbarSize-8efcf2fd.js} +0 -0
- /package/build/{useUniqueId-12b2db9f.js → useUniqueId-b4cc4b18.js} +0 -0
- /package/build/{utils-d865acbe.js → utils-8980d405.js} +0 -0
|
@@ -1,59 +1,57 @@
|
|
|
1
|
-
import { a as __awaiter, _ as __rest } from './tslib.es6-
|
|
1
|
+
import { a as __awaiter, _ as __rest } from './tslib.es6-a8899474.js';
|
|
2
2
|
import React__default, { useContext, useState, useEffect, useMemo } from 'react';
|
|
3
|
-
import { B as Button } from './index-
|
|
4
|
-
import { H as Heading } from './index-
|
|
5
|
-
import { u as useTranslations } from './index-
|
|
3
|
+
import { B as Button } from './index-f993926f.js';
|
|
4
|
+
import { H as Heading } from './index-55d2ff10.js';
|
|
5
|
+
import { u as useTranslations } from './index-8ca04504.js';
|
|
6
6
|
import innertext from 'innertext';
|
|
7
|
-
import { S as SharePopup, P as PopupDanger, i as deletePost, j as IconAlertCircle, b as SubmitReportForm, k as deleteComment, l as decodeCommentBody, m as likeUnlikeComment, I as InputCommentBar, c as SocialLinkPreview, n as likeUnlikePost, g as getDefaultFailNoti } from './index-
|
|
8
|
-
import { C as CommonGAssets } from './index-
|
|
9
|
-
import { R as REPORT_REASON_MAP, D as DEFAULT_IMG } from './constants-
|
|
10
|
-
import { PATHS, DISCOVER_PATHS, CARE_PATHS } from './togetherApiPaths.js';
|
|
11
|
-
import { T as TogetherComponentGlobalContext, b as callApiWithAuth, d as getApiPath, c as callApi, p as getMarryBabyApiPath, o as getDiscoverApiPath, g as getCarePath, k as getCurrentBaseUrl$1, q as callApiWithOptionalAuth, l as domainLocales$1 } from './utils-a30adc88.js';
|
|
7
|
+
import { S as SharePopup, P as PopupDanger, i as deletePost, j as IconAlertCircle, b as SubmitReportForm, k as deleteComment, l as decodeCommentBody, m as likeUnlikeComment, I as InputCommentBar, c as SocialLinkPreview, n as likeUnlikePost, g as getDefaultFailNoti } from './index-a60a7164.js';
|
|
8
|
+
import { C as CommonGAssets } from './index-1127f8ba.js';
|
|
9
|
+
import { R as REPORT_REASON_MAP, D as DEFAULT_IMG } from './constants-5d7dd1df.js';
|
|
12
10
|
import { useTogetherAuthRequiredAction, TogetherAuthConfigContextProvider } from './useTogetherAuthRequiredAction.js';
|
|
13
|
-
import {
|
|
11
|
+
import { T as TogetherComponentGlobalContext, c as callApi, q as getMarryBabyApiPath, o as getDiscoverApiPath, g as getCarePath, k as getCurrentBaseUrl$1, b as callApiWithAuth, d as getApiPath, r as callApiWithOptionalAuth, l as domainLocales$1 } from './utils-d7a79b14.js';
|
|
12
|
+
import { b as TreePopoverMenu, C as CardReactions, c as CardReactionType, a as LabelPin, T as TagTopic } from './treePopoverMenu-55dd0cf6.js';
|
|
14
13
|
import styled from '@emotion/styled';
|
|
15
|
-
import { M as MediaQueries } from './utils-
|
|
14
|
+
import { M as MediaQueries } from './utils-bc4ce115.js';
|
|
16
15
|
import { theme } from './miscTheme.js';
|
|
17
|
-
import { g as formatArticle, h as formatCategory, e as formatComment } from './dataTransform-
|
|
18
|
-
import {
|
|
19
|
-
import { C as
|
|
20
|
-
import {
|
|
21
|
-
import { a as
|
|
22
|
-
import {
|
|
23
|
-
import './index-
|
|
16
|
+
import { g as formatArticle, h as formatCategory, e as formatComment } from './dataTransform-04bb1b6b.js';
|
|
17
|
+
import { DISCOVER_PATHS, CARE_PATHS, PATHS } from './togetherApiPaths.js';
|
|
18
|
+
import { C as CardLink } from './index-f7477ebe.js';
|
|
19
|
+
import { C as CardAuthor, L as Loading, c as ProfileDetailModal } from './index-1279323a.js';
|
|
20
|
+
import { a as ProfileDetail, P as PostContent } from './index-233a4b0d.js';
|
|
21
|
+
import { a as PostImagePreview } from './index-b6896227.js';
|
|
22
|
+
import { D as Divider } from './index-935a1f87.js';
|
|
23
|
+
import './index-057f2d1e.js';
|
|
24
24
|
import { Plus } from '@hhgtech/icons/core';
|
|
25
25
|
import { ArrowRight, ArrowDown, Trash, Endorse } from '@hhgtech/icons/other';
|
|
26
26
|
import { Accordion } from '@mantine/core';
|
|
27
|
-
import { I as Input } from './index-
|
|
28
|
-
import { T as Text } from './index-
|
|
29
|
-
import { g as getCurrentBaseUrl } from './normalizeLink-
|
|
27
|
+
import { I as Input } from './index-d63e0760.js';
|
|
28
|
+
import { T as Text } from './index-6d78a8a7.js';
|
|
29
|
+
import { g as getCurrentBaseUrl } from './normalizeLink-5aca6bda.js';
|
|
30
30
|
import { domainLocales } from './constantsDomainLocales.js';
|
|
31
31
|
|
|
32
|
-
var img$
|
|
33
|
-
var MBMoreSolid = img$
|
|
32
|
+
var img$7 = "data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none'%3e%3cpath fill='%233E3F58' d='M5 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2M19 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2M12 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2'/%3e%3c/svg%3e";
|
|
33
|
+
var MBMoreSolid = img$7;
|
|
34
34
|
|
|
35
|
-
var img$
|
|
36
|
-
var
|
|
35
|
+
var img$6 = "data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='3' height='13' fill='none'%3e%3ccircle cx='1.583' cy='6.417' r='1.25' fill='%23595959' transform='rotate(90 1.583 6.417)'/%3e%3ccircle cx='1.583' cy='1.417' r='1.25' fill='%23595959' transform='rotate(90 1.583 1.417)'/%3e%3ccircle cx='1.583' cy='11.417' r='1.25' fill='%23595959' transform='rotate(90 1.583 11.417)'/%3e%3c/svg%3e";
|
|
36
|
+
var IconKebab = img$6;
|
|
37
37
|
|
|
38
|
-
var img$
|
|
39
|
-
var
|
|
38
|
+
var img$5 = "data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none'%3e%3cpath stroke='%23595959' stroke-linecap='round' stroke-linejoin='round' d='M7.17 3.236H2.995a1.193 1.193 0 0 0-1.193 1.192v8.35a1.193 1.193 0 0 0 1.193 1.192h8.35a1.193 1.193 0 0 0 1.192-1.192V8.603'/%3e%3cpath stroke='%23595959' stroke-linecap='round' stroke-linejoin='round' d='M11.643 2.341a1.265 1.265 0 0 1 1.789 1.79L7.766 9.795l-2.385.596.596-2.385z'/%3e%3c/svg%3e";
|
|
39
|
+
var IconTabEdit = img$5;
|
|
40
40
|
|
|
41
|
-
var img$
|
|
42
|
-
var
|
|
43
|
-
|
|
44
|
-
var img$4 = "data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none'%3e%3cpath stroke='%23595959' stroke-linecap='round' stroke-linejoin='round' d='M12 5.333a2 2 0 1 0 0-4 2 2 0 0 0 0 4M4 10a2 2 0 1 0 0-4 2 2 0 0 0 0 4M12 14.667a2 2 0 1 0 0-4 2 2 0 0 0 0 4M5.727 9.007l4.553 2.653M10.273 4.34 5.727 6.993'/%3e%3c/svg%3e";
|
|
45
|
-
var IconShareOnMedia = img$4;
|
|
46
|
-
|
|
47
|
-
var img$3 = "data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none'%3e%3cpath stroke='%23595959' stroke-linecap='round' stroke-linejoin='round' d='M7.17 3.236H2.995a1.193 1.193 0 0 0-1.193 1.192v8.35a1.193 1.193 0 0 0 1.193 1.192h8.35a1.193 1.193 0 0 0 1.192-1.192V8.603'/%3e%3cpath stroke='%23595959' stroke-linecap='round' stroke-linejoin='round' d='M11.643 2.341a1.265 1.265 0 0 1 1.789 1.79L7.766 9.795l-2.385.596.596-2.385z'/%3e%3c/svg%3e";
|
|
48
|
-
var IconTabEdit = img$3;
|
|
49
|
-
|
|
50
|
-
var img$2 = "data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none'%3e%3cpath stroke='%23737373' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.75' d='M2 4h12'/%3e%3cpath stroke='%23737373' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M5.333 4V2.667a1.333 1.333 0 0 1 1.334-1.334h2.666a1.334 1.334 0 0 1 1.334 1.334V4m2 0v9.333a1.334 1.334 0 0 1-1.334 1.334H4.667a1.334 1.334 0 0 1-1.334-1.334V4zM6.667 7.333v4M9.333 7.333v4'/%3e%3c/svg%3e";
|
|
51
|
-
var IconTrashBin = img$2;
|
|
41
|
+
var img$4 = "data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none'%3e%3cpath stroke='%23737373' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.75' d='M2 4h12'/%3e%3cpath stroke='%23737373' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M5.333 4V2.667a1.333 1.333 0 0 1 1.334-1.334h2.666a1.334 1.334 0 0 1 1.334 1.334V4m2 0v9.333a1.334 1.334 0 0 1-1.334 1.334H4.667a1.334 1.334 0 0 1-1.334-1.334V4zM6.667 7.333v4M9.333 7.333v4'/%3e%3c/svg%3e";
|
|
42
|
+
var IconTrashBin = img$4;
|
|
52
43
|
|
|
53
44
|
// import IconBellOff from '../../../assets/svg/icon-bell-off.svg'
|
|
54
45
|
// import IconBellOn from '../../../assets/svg/icon-bell-on.svg'
|
|
55
|
-
const CardPostPopoverMore = ({ authorEmail, onDeletePost, shareUrl, post, className = '', popoverClassName = '',
|
|
56
|
-
|
|
46
|
+
const CardPostPopoverMore = ({ authorEmail, onDeletePost, shareUrl, post, className = '', popoverClassName = '',
|
|
47
|
+
// onBookmark,
|
|
48
|
+
// onRemoveBookmark,
|
|
49
|
+
onEditPost, }) => {
|
|
50
|
+
const { data: { locale, userInfo,
|
|
51
|
+
// togetherUserId,
|
|
52
|
+
env: { isMarryBaby }, },
|
|
53
|
+
// action: { pushNotifications },
|
|
54
|
+
} = useContext(TogetherComponentGlobalContext);
|
|
57
55
|
const { t } = useTranslations();
|
|
58
56
|
// const [localHasNoti, setLocalHasNoti] = useState(false)
|
|
59
57
|
const [loading, setLoading] = useState(false);
|
|
@@ -88,11 +86,11 @@ const CardPostPopoverMore = ({ authorEmail, onDeletePost, shareUrl, post, classN
|
|
|
88
86
|
isShowheader: false,
|
|
89
87
|
type: 'list',
|
|
90
88
|
list: [
|
|
91
|
-
{
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
},
|
|
89
|
+
// {
|
|
90
|
+
// icon: IconShareOnMedia,
|
|
91
|
+
// label: t('morePopover.share'),
|
|
92
|
+
// onClick: () => setIsOpenSharePopup(true),
|
|
93
|
+
// },
|
|
96
94
|
{
|
|
97
95
|
icon: IconTabEdit,
|
|
98
96
|
label: t('actionPopover.edit'),
|
|
@@ -111,76 +109,80 @@ const CardPostPopoverMore = ({ authorEmail, onDeletePost, shareUrl, post, classN
|
|
|
111
109
|
isShowheader: false,
|
|
112
110
|
type: 'list',
|
|
113
111
|
list: [
|
|
114
|
-
{
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
},
|
|
119
|
-
{
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
}
|
|
112
|
+
// {
|
|
113
|
+
// icon: IconShareOnMedia,
|
|
114
|
+
// label: t('morePopover.share'),
|
|
115
|
+
// onClick: () => setIsOpenSharePopup(true),
|
|
116
|
+
// },
|
|
117
|
+
// {
|
|
118
|
+
// icon: !!post?.bookmarked ? IconBookmarkFill : IconBookmark,
|
|
119
|
+
// label: !!post?.bookmarked
|
|
120
|
+
// ? t('morePopover.unsavePost')
|
|
121
|
+
// : t('morePopover.savePost'),
|
|
122
|
+
// onClick: () => {
|
|
123
|
+
// authActionWrapper(async () => {
|
|
124
|
+
// if (!userInfo?.id || !post?.id) return
|
|
125
|
+
// if (post?.bookmarked) {
|
|
126
|
+
// const res = await callApiWithAuth(
|
|
127
|
+
// getApiPath(PATHS.BOOKMARK.DELETE, {
|
|
128
|
+
// _locale: locale,
|
|
129
|
+
// }),
|
|
130
|
+
// 'DELETE',
|
|
131
|
+
// {
|
|
132
|
+
// data: {
|
|
133
|
+
// post_id: String(post.id),
|
|
134
|
+
// },
|
|
135
|
+
// },
|
|
136
|
+
// )
|
|
137
|
+
// if (res?.status === 1) {
|
|
138
|
+
// pushNotifications({
|
|
139
|
+
// title: '',
|
|
140
|
+
// message: 'Removed saved post',
|
|
141
|
+
// type: 'success',
|
|
142
|
+
// displayIcon: IconBookmark,
|
|
143
|
+
// })
|
|
144
|
+
// onRemoveBookmark && onRemoveBookmark()
|
|
145
|
+
// } else {
|
|
146
|
+
// pushNotifications({
|
|
147
|
+
// title: '',
|
|
148
|
+
// message: 'Remove failed',
|
|
149
|
+
// type: 'danger',
|
|
150
|
+
// displayIcon: IconBookmark,
|
|
151
|
+
// })
|
|
152
|
+
// }
|
|
153
|
+
// } else {
|
|
154
|
+
// const res = await callApiWithAuth(
|
|
155
|
+
// getApiPath(PATHS.BOOKMARK.CREATE, {
|
|
156
|
+
// _locale: locale,
|
|
157
|
+
// }),
|
|
158
|
+
// 'POST',
|
|
159
|
+
// {
|
|
160
|
+
// data: {
|
|
161
|
+
// user_id: togetherUserId || userInfo.id,
|
|
162
|
+
// post_id: post.id,
|
|
163
|
+
// },
|
|
164
|
+
// },
|
|
165
|
+
// )
|
|
166
|
+
// if (res?.status === 1) {
|
|
167
|
+
// pushNotifications({
|
|
168
|
+
// title: '',
|
|
169
|
+
// message: 'Post saved',
|
|
170
|
+
// type: 'success',
|
|
171
|
+
// displayIcon: IconBookmarkFill,
|
|
172
|
+
// })
|
|
173
|
+
// onBookmark && onBookmark()
|
|
174
|
+
// } else {
|
|
175
|
+
// pushNotifications({
|
|
176
|
+
// title: '',
|
|
177
|
+
// message: 'Post saved failed',
|
|
178
|
+
// type: 'danger',
|
|
179
|
+
// displayIcon: IconBookmark,
|
|
180
|
+
// })
|
|
181
|
+
// }
|
|
182
|
+
// }
|
|
183
|
+
// })
|
|
184
|
+
// },
|
|
185
|
+
// },
|
|
184
186
|
// {
|
|
185
187
|
// icon: togetherBasePath + '/svg/icon-bell-on.svg',
|
|
186
188
|
// label: !localHasNoti
|
|
@@ -417,6 +419,12 @@ const StyledCardPost$1 = styled.div `
|
|
|
417
419
|
}
|
|
418
420
|
`;
|
|
419
421
|
|
|
422
|
+
var img$3 = "data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23595959'%3e%3cpath stroke='%23595959' stroke-linecap='round' stroke-linejoin='round' d='M12 13.333 8 10.37l-4 2.963V3.852c0-.314.12-.616.335-.838.214-.222.505-.347.808-.347h5.714c.303 0 .594.125.808.347s.335.524.335.838z'/%3e%3c/svg%3e";
|
|
423
|
+
var IconBookmarkFill = img$3;
|
|
424
|
+
|
|
425
|
+
var img$2 = "data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none'%3e%3cpath stroke='%23595959' stroke-linecap='round' stroke-linejoin='round' d='M12 13.333 8 10.37l-4 2.963V3.852c0-.314.12-.616.335-.838.214-.222.505-.347.808-.347h5.714c.303 0 .594.125.808.347s.335.524.335.838z'/%3e%3c/svg%3e";
|
|
426
|
+
var IconBookmark = img$2;
|
|
427
|
+
|
|
420
428
|
var img$1 = "data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='16' height='17' fill='none'%3e%3cg stroke='%23737373' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' clip-path='url(%23a)'%3e%3cpath d='M2 4.008h12m-8.667 0V2.675a1.333 1.333 0 0 1 1.334-1.333h2.666a1.333 1.333 0 0 1 1.334 1.333v1.333m2 0v9.334a1.333 1.333 0 0 1-1.334 1.333H4.667a1.333 1.333 0 0 1-1.334-1.333V4.008zm-6 3.334v4m2.666-4v4'/%3e%3c/g%3e%3cdefs%3e%3cclipPath id='a'%3e%3cpath fill='white' d='M0 .008h16v16H0z'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e";
|
|
421
429
|
var IconDelete = img$1;
|
|
422
430
|
|
|
@@ -1184,12 +1192,13 @@ const getMostEngagingComment = (postId, locale) => __awaiter(void 0, void 0, voi
|
|
|
1184
1192
|
}), 'GET');
|
|
1185
1193
|
return (_c = (_b = (_a = commentsRes === null || commentsRes === void 0 ? void 0 : commentsRes.data) === null || _a === void 0 ? void 0 : _a.comments) === null || _b === void 0 ? void 0 : _b.map(formatComment)) === null || _c === void 0 ? void 0 : _c[0];
|
|
1186
1194
|
});
|
|
1187
|
-
const CardPost = ({ className, style, hideViewMoreComment, showMostEngaging, onCommentClick, onCommentCountClick, onMostEngagingCommentClick, onPostCommentSuccess: onPostCommentSuccessProp, disableCardLink, disableShortenContent, onDeletePost, onEditPost, post: postProp, mostEngagingComment: mostEngagingCommentProp, onDeleteComment: onDeleteCommentProp, showInputComment: propsShowInputComment, InlineCommentsComponent, hasQuickBookingEnable, handleMakeAppointment, cardAuthorProps, }) => {
|
|
1195
|
+
const CardPost = ({ className, style, hideViewMoreComment, showMostEngaging, onCommentClick, onCommentCountClick, onMostEngagingCommentClick, onPostCommentSuccess: onPostCommentSuccessProp, disableCardLink, disableShortenContent, onDeletePost, onEditPost, post: postProp, mostEngagingComment: mostEngagingCommentProp, onDeleteComment: onDeleteCommentProp, showInputComment: propsShowInputComment, InlineCommentsComponent, hasQuickBookingEnable, handleMakeAppointment, cardAuthorProps, verticalReactions = false, }) => {
|
|
1188
1196
|
const [post, setPost] = useState(postProp);
|
|
1189
1197
|
const [isOpenSharePopup, setIsOpenSharePopup] = useState(false);
|
|
1190
1198
|
const [mostEngagingComment, setMostEngagingComment] = useState(mostEngagingCommentProp);
|
|
1191
1199
|
const { community, topics, author, slug, isPin, liked, photos, mentions, title, description, previewUrl, likesCount, commentsCount, id, commented, } = post;
|
|
1192
|
-
const { data: { locale, env: { isMarryBaby, togetherBasePath }, }, action: { pushNotifications }, } = useContext(TogetherComponentGlobalContext);
|
|
1200
|
+
const { data: { locale, togetherUserId, userInfo, env: { isMarryBaby, togetherBasePath }, }, action: { pushNotifications }, } = useContext(TogetherComponentGlobalContext);
|
|
1201
|
+
const isLoggedIn = Boolean(userInfo === null || userInfo === void 0 ? void 0 : userInfo.id);
|
|
1193
1202
|
const { t } = useTranslations();
|
|
1194
1203
|
const [showInputComment, setShowInputComment] = useState(propsShowInputComment);
|
|
1195
1204
|
const postRelativeHref = `${togetherBasePath}/${(community === null || community === void 0 ? void 0 : community.slug) || '_'}/${slug || ''}`;
|
|
@@ -1300,7 +1309,7 @@ const CardPost = ({ className, style, hideViewMoreComment, showMostEngaging, onC
|
|
|
1300
1309
|
React__default.createElement(PostImagePreview, { images: photos, authorName: author === null || author === void 0 ? void 0 : author.name }))) : null),
|
|
1301
1310
|
React__default.createElement("div", { key: "link-preview" }, !(post === null || post === void 0 ? void 0 : post.introUrl) && !(photos === null || photos === void 0 ? void 0 : photos.length) && (previewUrl === null || previewUrl === void 0 ? void 0 : previewUrl.url) ? (React__default.createElement("div", { className: "link-preview-wrapper" },
|
|
1302
1311
|
React__default.createElement(CardLink, { title: previewUrl.title, url: previewUrl.url, image: previewUrl.image }))) : null),
|
|
1303
|
-
React__default.createElement(CardReactions, { isMarryBaby: isMarryBaby, type: CardReactionType.post, loveCount: likesCount, replyCount: commentsCount, className: `post-reaction ${(photos === null || photos === void 0 ? void 0 : photos.length) || (previewUrl === null || previewUrl === void 0 ? void 0 : previewUrl.url) ? 'hide-top-border' : ''}`, liked: isLikeLoading ? !liked : liked, isReplied: commented, onCommentClick: () => authActionWrapper(() => {
|
|
1312
|
+
React__default.createElement(CardReactions, { isMarryBaby: isMarryBaby, type: CardReactionType.post, loveCount: likesCount, replyCount: commentsCount, className: `post-reaction ${(photos === null || photos === void 0 ? void 0 : photos.length) || (previewUrl === null || previewUrl === void 0 ? void 0 : previewUrl.url) ? 'hide-top-border' : ''}`, liked: isLikeLoading ? !liked : liked, isReplied: commented, isSaved: (post === null || post === void 0 ? void 0 : post.bookmarked) || false, onCommentClick: () => authActionWrapper(() => {
|
|
1304
1313
|
onCommentClick ? onCommentClick() : setShowInputComment((v) => !v);
|
|
1305
1314
|
}), onCommentCountClick: () => {
|
|
1306
1315
|
authActionWrapper(() => {
|
|
@@ -1313,26 +1322,98 @@ const CardPost = ({ className, style, hideViewMoreComment, showMostEngaging, onC
|
|
|
1313
1322
|
}, onShareClick: () => {
|
|
1314
1323
|
setIsOpenSharePopup(true);
|
|
1315
1324
|
}, onLikeClick: () => __awaiter(void 0, void 0, void 0, function* () {
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
|
|
1323
|
-
|
|
1324
|
-
|
|
1325
|
+
authActionWrapper(() => __awaiter(void 0, void 0, void 0, function* () {
|
|
1326
|
+
if (!id || isLikeLoading)
|
|
1327
|
+
return;
|
|
1328
|
+
setIsLikeLoading(true);
|
|
1329
|
+
try {
|
|
1330
|
+
const res = yield likeUnlikePost({
|
|
1331
|
+
id,
|
|
1332
|
+
locale,
|
|
1333
|
+
});
|
|
1334
|
+
if ((res === null || res === void 0 ? void 0 : res.status) !== 1) {
|
|
1335
|
+
pushNotifications(getDefaultFailNoti(t));
|
|
1336
|
+
}
|
|
1337
|
+
else {
|
|
1338
|
+
setPost((p) => (Object.assign(Object.assign({}, p), { likesCount: (p.likesCount || 0) + (!p.liked ? 1 : -1), liked: !p.liked })));
|
|
1339
|
+
}
|
|
1340
|
+
}
|
|
1341
|
+
catch (_a) {
|
|
1325
1342
|
pushNotifications(getDefaultFailNoti(t));
|
|
1326
1343
|
}
|
|
1344
|
+
setIsLikeLoading(false);
|
|
1345
|
+
}));
|
|
1346
|
+
}), onSaveClick: () => {
|
|
1347
|
+
authActionWrapper(() => __awaiter(void 0, void 0, void 0, function* () {
|
|
1348
|
+
if (!(userInfo === null || userInfo === void 0 ? void 0 : userInfo.id) || !(post === null || post === void 0 ? void 0 : post.id))
|
|
1349
|
+
return;
|
|
1350
|
+
if (post === null || post === void 0 ? void 0 : post.bookmarked) {
|
|
1351
|
+
const res = yield callApiWithAuth(getApiPath(PATHS.BOOKMARK.DELETE, {
|
|
1352
|
+
_locale: locale,
|
|
1353
|
+
}), 'DELETE', {
|
|
1354
|
+
headers: {
|
|
1355
|
+
'Content-Type': 'application/json',
|
|
1356
|
+
},
|
|
1357
|
+
data: {
|
|
1358
|
+
post_id: String(post.id),
|
|
1359
|
+
},
|
|
1360
|
+
});
|
|
1361
|
+
if ((res === null || res === void 0 ? void 0 : res.status) === 1) {
|
|
1362
|
+
pushNotifications({
|
|
1363
|
+
title: '',
|
|
1364
|
+
message: 'Removed saved post',
|
|
1365
|
+
type: 'success',
|
|
1366
|
+
displayIcon: IconBookmark,
|
|
1367
|
+
});
|
|
1368
|
+
}
|
|
1369
|
+
else {
|
|
1370
|
+
pushNotifications({
|
|
1371
|
+
title: '',
|
|
1372
|
+
message: 'Remove failed',
|
|
1373
|
+
type: 'danger',
|
|
1374
|
+
displayIcon: IconBookmark,
|
|
1375
|
+
});
|
|
1376
|
+
}
|
|
1377
|
+
}
|
|
1327
1378
|
else {
|
|
1328
|
-
|
|
1379
|
+
const res = yield callApiWithAuth(getApiPath(PATHS.BOOKMARK.CREATE, {
|
|
1380
|
+
_locale: locale,
|
|
1381
|
+
}), 'POST', {
|
|
1382
|
+
headers: {
|
|
1383
|
+
'Content-Type': 'application/json',
|
|
1384
|
+
},
|
|
1385
|
+
data: {
|
|
1386
|
+
user_id: togetherUserId || userInfo.id,
|
|
1387
|
+
post_id: post.id,
|
|
1388
|
+
},
|
|
1389
|
+
});
|
|
1390
|
+
if ((res === null || res === void 0 ? void 0 : res.status) === 1) {
|
|
1391
|
+
pushNotifications({
|
|
1392
|
+
title: '',
|
|
1393
|
+
message: 'Post saved',
|
|
1394
|
+
type: 'success',
|
|
1395
|
+
displayIcon: IconBookmarkFill,
|
|
1396
|
+
});
|
|
1397
|
+
}
|
|
1398
|
+
else {
|
|
1399
|
+
pushNotifications({
|
|
1400
|
+
title: '',
|
|
1401
|
+
message: 'Post saved failed',
|
|
1402
|
+
type: 'danger',
|
|
1403
|
+
displayIcon: IconBookmark,
|
|
1404
|
+
});
|
|
1405
|
+
}
|
|
1329
1406
|
}
|
|
1407
|
+
}));
|
|
1408
|
+
}, onGoToUrl: (params) => {
|
|
1409
|
+
const urlDetailPost = params ? `${postHref}${params}` : postHref;
|
|
1410
|
+
if (!isLoggedIn) {
|
|
1411
|
+
authActionWrapper(() => (window.location.href = urlDetailPost));
|
|
1330
1412
|
}
|
|
1331
|
-
|
|
1332
|
-
|
|
1413
|
+
else {
|
|
1414
|
+
window.location.href = urlDetailPost;
|
|
1333
1415
|
}
|
|
1334
|
-
|
|
1335
|
-
}), showingMostEngaging: !!(showMostEngaging && (mostEngagingComment === null || mostEngagingComment === void 0 ? void 0 : mostEngagingComment.id)) }),
|
|
1416
|
+
}, showingMostEngaging: !!(showMostEngaging && (mostEngagingComment === null || mostEngagingComment === void 0 ? void 0 : mostEngagingComment.id)), isVertical: verticalReactions }),
|
|
1336
1417
|
showInputComment && (React__default.createElement(InputCommentBar, { isMainCmt: !propsShowInputComment, onClose: () => setShowInputComment(false), onPostSuccess: onPostCommentSuccess, post: post })),
|
|
1337
1418
|
showMostEngaging && (mostEngagingComment === null || mostEngagingComment === void 0 ? void 0 : mostEngagingComment.id) ? (React__default.createElement("div", { className: "most-engaging-wrapper", onClick: (e) => {
|
|
1338
1419
|
if (onMostEngagingCommentClick) {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import React__default, { useRef, useEffect } from 'react';
|
|
2
2
|
import { Portal } from '@mantine/core';
|
|
3
|
-
import { t as toggleNoScroll } from './utils-
|
|
3
|
+
import { t as toggleNoScroll } from './utils-bc4ce115.js';
|
|
4
4
|
import { css } from '@emotion/react';
|
|
5
5
|
import styled from '@emotion/styled';
|
|
6
6
|
import { theme } from './miscTheme.js';
|
|
7
|
-
import { s as slideInUp, e as slideOutDown, b as slideInLeft, f as slideOutLeft, c as slideInRight, g as slideOutRight, a as slideInDown, d as slideOutUp } from './animation-
|
|
8
|
-
import { T as Text } from './index-
|
|
7
|
+
import { s as slideInUp, e as slideOutDown, b as slideInLeft, f as slideOutLeft, c as slideInRight, g as slideOutRight, a as slideInDown, d as slideOutUp } from './animation-b5fb6e1a.js';
|
|
8
|
+
import { T as Text } from './index-6d78a8a7.js';
|
|
9
9
|
|
|
10
10
|
const DURATION = '600ms';
|
|
11
11
|
const generateStyleBasedOnPlacement = (placement, open) => {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React__default, { useState } from 'react';
|
|
2
2
|
import { theme } from './miscTheme.js';
|
|
3
3
|
import styled from '@emotion/styled';
|
|
4
|
-
import { M as MarryBabyText } from './index-
|
|
5
|
-
import { T as Text } from './index-
|
|
4
|
+
import { M as MarryBabyText } from './index-7e8aa571.js';
|
|
5
|
+
import { T as Text } from './index-14226fb8.js';
|
|
6
6
|
|
|
7
7
|
const StyledRadioImageGroup = styled.div `
|
|
8
8
|
display: flex;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { _ as __rest } from './tslib.es6-
|
|
1
|
+
import { _ as __rest } from './tslib.es6-a8899474.js';
|
|
2
2
|
import React__default, { useMemo, useState, useEffect } from 'react';
|
|
3
|
-
import './index-
|
|
3
|
+
import './index-afea9eed.js';
|
|
4
4
|
import styled from '@emotion/styled';
|
|
5
|
-
import { C as CommonGAssets } from './index-
|
|
5
|
+
import { C as CommonGAssets } from './index-1127f8ba.js';
|
|
6
6
|
import { theme } from './miscTheme.js';
|
|
7
|
-
import { I as ImageWrap } from './
|
|
8
|
-
import { T as Text } from './index-
|
|
9
|
-
import { L as LOCALE } from './Locale-
|
|
10
|
-
import { c as CentralCarousel } from './index-
|
|
7
|
+
import { I as ImageWrap } from './useScreenSize-72a6e414.js';
|
|
8
|
+
import { T as Text } from './index-14226fb8.js';
|
|
9
|
+
import { L as LOCALE } from './Locale-e3bf3674.js';
|
|
10
|
+
import { c as CentralCarousel } from './index-a595566d.js';
|
|
11
11
|
|
|
12
12
|
const StyledIconContainer = styled.div `
|
|
13
13
|
display: inline-flex;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { a as __awaiter } from './tslib.es6-
|
|
1
|
+
import { a as __awaiter } from './tslib.es6-a8899474.js';
|
|
2
2
|
import React__default, { useContext, useState, useRef, useEffect } from 'react';
|
|
3
3
|
import { useMantineTheme } from '@mantine/core';
|
|
4
|
-
import { H as Heading } from './index-
|
|
5
|
-
import { T as Text } from './index-
|
|
6
|
-
import { T as TogetherComponentGlobalContext, c as callApi, d as getApiPath } from './utils-
|
|
4
|
+
import { H as Heading } from './index-55d2ff10.js';
|
|
5
|
+
import { T as Text } from './index-6d78a8a7.js';
|
|
6
|
+
import { T as TogetherComponentGlobalContext, c as callApi, d as getApiPath } from './utils-d7a79b14.js';
|
|
7
7
|
import styled from '@emotion/styled';
|
|
8
8
|
import { PATHS } from './togetherApiPaths.js';
|
|
9
|
-
import { D as DEFAULT_IMG } from './constants-
|
|
9
|
+
import { D as DEFAULT_IMG } from './constants-5d7dd1df.js';
|
|
10
10
|
|
|
11
11
|
const StyledCardLink = styled.div `
|
|
12
12
|
.link-info-container {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { _ as __rest } from './tslib.es6-
|
|
1
|
+
import { _ as __rest } from './tslib.es6-a8899474.js';
|
|
2
2
|
import React__default from 'react';
|
|
3
|
-
import { B as Button$1 } from './index-
|
|
3
|
+
import { B as Button$1 } from './index-0756189f.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* @deprecated Consider to use at '@hhgtech/hhg-components/mantine'
|