@hhgtech/hhg-components 1.29.255-beta-1 → 1.29.255-beta-2
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-0c637137.js} +1 -1
- package/build/{MobileBottomNavigationIcon-a9f285f8.js → MobileBottomNavigationIcon-8c1d1f23.js} +3 -3
- package/build/{Spinner-661cd614.js → Spinner-c67245b9.js} +1 -1
- package/build/{WhatsApp-339413d1.js → WhatsApp-f220845d.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-d95e8ef0.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-85345255.js} +1 -1
- package/build/{dataTransform-4a308e0b.js → dataTransform-73e5b86d.js} +1 -1
- package/build/ecom.js +4 -4
- package/build/{editor-a8b0af34.js → editor-0bfcc284.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-1aa6bef7.js} +1 -1
- package/build/esm/{MobileBottomNavigationIcon-33fd3156.js → MobileBottomNavigationIcon-31265297.js} +3 -3
- package/build/esm/{Spinner-e2ea892f.js → Spinner-99caf1a3.js} +1 -1
- package/build/esm/{WhatsApp-a666172c.js → WhatsApp-0701455e.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-ac7719f7.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-0911bca5.js} +1 -1
- package/build/esm/{dataTransform-9db75e68.js → dataTransform-c59d342b.js} +1 -1
- package/build/esm/ecom.js +4 -4
- package/build/esm/{editor-1909a687.js → editor-673f6dc2.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-5e5e2ecd.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 +14 -0
- package/build/esm/i18n-values/hi-IN.js +14 -0
- package/build/esm/i18n-values/id-ID.js +14 -0
- package/build/esm/i18n-values/km-KH.js +15 -1
- package/build/esm/i18n-values/ms-MY.js +14 -0
- package/build/esm/i18n-values/my-MM.js +14 -0
- package/build/esm/i18n-values/th-TH.js +14 -0
- package/build/esm/i18n-values/tl-PH.js +14 -0
- package/build/esm/i18n-values/vi-VN.js +16 -1
- package/build/esm/i18n-values/vi-VN_MB.js +16 -1
- package/build/esm/i18n-values/zh-TW.js +17 -2
- package/build/esm/i18n.js +2 -2
- package/build/esm/i18nV2.js +2 -2
- package/build/esm/{index-0f4fba5c.js → index-03094b6d.js} +1 -1
- package/build/esm/{index-c673db76.js → index-048e9fc6.js} +2 -2
- package/build/esm/{index-e78813d5.js → index-0bf9034f.js} +24 -24
- package/build/esm/{index-1898da73.js → index-0e42e7f3.js} +2 -2
- package/build/esm/{index-63354509.js → index-1022a217.js} +1 -1
- package/build/esm/{index-85fe2034.js → index-14a43c1d.js} +2 -2
- package/build/esm/{index-abc47616.js → index-18737196.js} +16 -16
- package/build/esm/{index-99134425.js → index-18c578fb.js} +13 -13
- package/build/esm/{index-fd84432b.js → index-19b74ca6.js} +2 -2
- package/build/esm/{index-1b795ea9.js → index-250256ec.js} +1 -1
- package/build/esm/{index-559a0e6c.js → index-2711c53b.js} +16 -16
- package/build/esm/{index-5d76c658.js → index-2beda035.js} +6 -6
- package/build/esm/{index-feb05153.js → index-2cd2e5d4.js} +16 -15
- package/build/esm/{index-6231daa6.js → index-2cff4351.js} +10 -10
- package/build/esm/{index-1e71f4d7.js → index-31cb2a58.js} +16 -16
- package/build/esm/{index-27b67e91.js → index-373da840.js} +17 -17
- package/build/esm/{index-31369166.js → index-39a7cce9.js} +6 -6
- package/build/esm/{index-1d13b259.js → index-3df8a021.js} +3 -3
- package/build/esm/{index-41e2e754.js → index-47ea38ea.js} +2 -2
- package/build/esm/{index-f68089de.js → index-49b2487e.js} +2 -2
- package/build/esm/{index-6577c177.js → index-526eee34.js} +213 -132
- package/build/esm/{index-5f0e8146.js → index-538a8bbc.js} +2 -2
- package/build/esm/{index-28ada555.js → index-57857dcb.js} +1 -1
- package/build/esm/{index-333f6856.js → index-5ac6a7f5.js} +7 -7
- package/build/esm/{index-e9050315.js → index-5d6dde44.js} +13 -13
- package/build/esm/{index-638cd733.js → index-67ee3e39.js} +3 -3
- package/build/esm/{index-33515e5d.js → index-68cf44c7.js} +3 -3
- package/build/esm/{index-386913a0.js → index-7104374d.js} +1 -1
- package/build/esm/{index-520d2095.js → index-7cec1d5a.js} +5 -5
- package/build/esm/{index-72976151.js → index-84f3fd36.js} +3 -3
- package/build/esm/{index-e7672482.js → index-8648e2f2.js} +21 -21
- package/build/esm/{index-e097a083.js → index-8c2aa9c0.js} +17 -17
- package/build/esm/{index-52d845a4.js → index-8dd5f040.js} +6 -6
- package/build/esm/{index-9f27b7f4.js → index-916851db.js} +15 -15
- package/build/esm/{index-01a221d1.js → index-94e45ed1.js} +15 -16
- package/build/esm/{index-64ceb47f.js → index-954ba898.js} +2 -2
- package/build/esm/{index-d5632995.js → index-97675e2b.js} +1 -1
- package/build/esm/{index-59e6c9c3.js → index-9b77086c.js} +2 -2
- package/build/esm/{index-f8e0219d.js → index-9e6b0348.js} +51 -45
- package/build/esm/{index-12fa6251.js → index-a5b04b14.js} +4 -4
- package/build/esm/{index-d7c755b0.js → index-a8aec5b0.js} +146 -146
- package/build/esm/{index-fa000615.js → index-adf47d6c.js} +13 -13
- package/build/esm/{index-de634c83.js → index-ae1334ac.js} +11 -12
- package/build/esm/{index-9208e3bb.js → index-aff85140.js} +30 -30
- package/build/esm/{index-c027fd0f.js → index-b0319878.js} +13 -13
- package/build/esm/{index-1238c5b2.js → index-b3c1a701.js} +1 -1
- package/build/esm/{index-5ec12ba9.js → index-b663100e.js} +1 -1
- package/build/esm/{index-7374342d.js → index-b89314d2.js} +18 -18
- package/build/esm/{index-de9892e3.js → index-cea5bebe.js} +2 -2
- package/build/esm/{index-e4c9d352.js → index-d2dd4e5d.js} +5 -5
- package/build/esm/{index-d10a5a55.js → index-dd1b47f2.js} +3 -3
- package/build/esm/index-de60e48f.js +1588 -0
- package/build/esm/{index-dc16bdc0.js → index-e050cf26.js} +3 -3
- package/build/esm/{index-63a7f6e0.js → index-e263fed6.js} +17 -17
- package/build/esm/{index-9f130a7f.js → index-e34d7b7e.js} +6 -6
- package/build/esm/{index-c244d627.js → index-eea25cf6.js} +1 -1
- package/build/esm/{index-a064e7e2.js → index-f14a5626.js} +3 -3
- package/build/esm/{index-980ec7b9.js → index-f389381b.js} +2 -2
- package/build/esm/{index-43894578.js → index-f3ee79b3.js} +2 -2
- package/build/esm/{index-485a662c.js → index-fc574477.js} +7 -7
- package/build/esm/index.css +1 -1
- package/build/esm/index.js +112 -112
- package/build/esm/index.styles-6c2014f4.js +35 -0
- package/build/esm/interfaces/types/index.d.ts +1 -1
- package/build/esm/{labelSorting-cf27ba75.js → labelSorting-08ca2f72.js} +4 -4
- package/build/esm/lead.js +24 -24
- package/build/esm/{logoIcon-ba7fdeb5.js → logoIcon-f6991e15.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-4ffa6d7b.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-6dea086a.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-0118bcd5.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-1b261723.js} +27 -27
- package/build/esm/{types-98c0eb4f.js → types-71d9e968.js} +2 -2
- package/build/esm/types.js +2 -2
- package/build/esm/{useCategory-1ad6f5bd.js → useCategory-b346b27d.js} +5 -5
- package/build/esm/{useHealthToolCache-c202d504.js → useHealthToolCache-74c385a1.js} +1 -1
- package/build/esm/{useMantineLocale-fbe0d85f.js → useMantineLocale-0dbd92de.js} +5 -5
- package/build/esm/{usePlacesAutocomplete-e46d35f4.js → usePlacesAutocomplete-7e52d1db.js} +1 -1
- package/build/esm/useScreenSize-53f42112.js +50 -0
- package/build/esm/useTogetherAuthRequiredAction.js +9 -9
- package/build/esm/{utils-ea08e466.js → utils-2e6dad62.js} +2 -2
- package/build/esm/{utils-a30adc88.js → utils-5f56b50b.js} +4 -4
- package/build/esm/{utils-03c20d75.js → utils-dac4279f.js} +2 -2
- package/build/esm/vaccination.js +21 -21
- package/build/{fixedBottomAdBlock-0d90f775.js → fixedBottomAdBlock-5f80b69e.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 +14 -0
- package/build/i18n-values/hi-IN.js +14 -0
- package/build/i18n-values/id-ID.js +14 -0
- package/build/i18n-values/km-KH.js +15 -1
- package/build/i18n-values/ms-MY.js +14 -0
- package/build/i18n-values/my-MM.js +14 -0
- package/build/i18n-values/th-TH.js +14 -0
- package/build/i18n-values/tl-PH.js +14 -0
- package/build/i18n-values/vi-VN.js +16 -1
- package/build/i18n-values/vi-VN_MB.js +16 -1
- package/build/i18n-values/zh-TW.js +17 -2
- package/build/i18n.js +1 -1
- package/build/i18nV2.js +1 -1
- package/build/{index-8875bd63.js → index-0fe71e41.js} +2 -2
- package/build/{index-99663cb3.js → index-111867d4.js} +17 -17
- package/build/{index-c05017fc.js → index-14075e73.js} +18 -18
- package/build/{index-e8085041.js → index-14ccc1cb.js} +2 -2
- package/build/{index-5c72b88a.js → index-160990b1.js} +5 -5
- package/build/index-194ce9bb.js +1602 -0
- package/build/{index-ebf999c6.js → index-2ed5e004.js} +3 -3
- package/build/{index-1c77f9c8.js → index-2ef7ee3d.js} +18 -17
- package/build/{index-b7f8ef88.js → index-322c7b5c.js} +12 -12
- package/build/{index-e5b8cfe3.js → index-37aacf75.js} +6 -6
- package/build/{index-600be142.js → index-3bdc4a3a.js} +30 -30
- package/build/{index-1193605d.js → index-440c4beb.js} +13 -13
- package/build/{index-fce1fbe0.js → index-4b1a4564.js} +3 -3
- package/build/{index-0fb405b1.js → index-54f69dfe.js} +3 -3
- package/build/{index-ff414a50.js → index-55eb8874.js} +1 -1
- package/build/{index-79d8be3f.js → index-5743ee78.js} +2 -2
- package/build/{index-359555bb.js → index-5766eab7.js} +63 -63
- package/build/{index-bbcb1695.js → index-5ca7e3cf.js} +1 -1
- package/build/{index-b6f472df.js → index-5f078e18.js} +50 -50
- package/build/{index-1e59ac18.js → index-6251d476.js} +2 -2
- package/build/{index-e7f40c6c.js → index-6605b019.js} +3 -3
- package/build/{index-7470b041.js → index-69940730.js} +5 -5
- package/build/{index-cbc3d699.js → index-6a5fa0c6.js} +2 -2
- package/build/{index-f5ceb6c4.js → index-6ce24cb6.js} +16 -16
- package/build/{index-0fbb70e6.js → index-72ee30dd.js} +147 -147
- package/build/{index-ab91b4aa.js → index-72f3e7d1.js} +16 -16
- package/build/{index-23482812.js → index-79fba52e.js} +2 -2
- package/build/{index-4775a6e3.js → index-7b478dd5.js} +4 -4
- package/build/{index-0a8fd916.js → index-7ec0f4cb.js} +2 -2
- package/build/{index-f6e67f1a.js → index-7faeaf7f.js} +1 -1
- package/build/{index-0c9daa95.js → index-807fd6f0.js} +1 -1
- package/build/{index-e26057ef.js → index-8ce00c47.js} +2 -2
- package/build/{index-cbf8013f.js → index-9148fd18.js} +1 -1
- package/build/{index-417c9098.js → index-92081bdb.js} +7 -7
- package/build/{index-1d2f7127.js → index-932a1f22.js} +1 -1
- package/build/{index-7964ea1e.js → index-95c0685c.js} +17 -17
- package/build/{index-e9cd2fc3.js → index-9a4053a2.js} +2 -2
- package/build/{index-2f965d34.js → index-9b89c641.js} +13 -13
- package/build/{index-f378d164.js → index-a0a8db36.js} +16 -16
- package/build/{index-a13ac487.js → index-a14c3067.js} +2 -2
- package/build/{index-40968de6.js → index-a507c427.js} +13 -13
- package/build/{index-4c1df74e.js → index-a82be18e.js} +50 -44
- package/build/{index-acce4797.js → index-a91d646d.js} +1 -1
- package/build/{index-1b6ff5d2.js → index-ad52ddd5.js} +3 -3
- package/build/{index-7fc1402c.js → index-b18202e6.js} +13 -13
- package/build/{index-6e7190c1.js → index-b7cb4d31.js} +45 -46
- package/build/{index-b79fefb7.js → index-bdacdac1.js} +10 -10
- package/build/{index-d9e2317d.js → index-c83c67dc.js} +2 -2
- package/build/{index-ead61105.js → index-c8ebbc07.js} +213 -132
- package/build/{index-c39f90c0.js → index-cab63cde.js} +1 -1
- package/build/{index-9cc8a110.js → index-d10cca36.js} +17 -17
- package/build/{index-ffe46049.js → index-d395078c.js} +3 -3
- package/build/{index-876b0554.js → index-de9feacd.js} +6 -6
- package/build/{index-9c30fb0f.js → index-dfed79c5.js} +15 -15
- package/build/{index-b7771139.js → index-e984be60.js} +3 -3
- package/build/{index-efc112b4.js → index-ea197777.js} +20 -20
- package/build/{index-ec5786d9.js → index-f54b7c33.js} +20 -21
- package/build/{index-94a2380e.js → index-f7daf644.js} +6 -6
- package/build/{index-92f73c98.js → index-fa6f4951.js} +2 -2
- package/build/{index-a36ae2dd.js → index-ff6f20f3.js} +2 -2
- package/build/index.css +1 -1
- package/build/index.js +157 -157
- package/build/index.styles-acab6f44.js +37 -0
- package/build/interfaces/types/index.d.ts +1 -1
- package/build/{labelSorting-e5b411c3.js → labelSorting-fa66470a.js} +4 -4
- package/build/lead.js +24 -24
- package/build/{logoIcon-4380c43d.js → logoIcon-8fd417b1.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-2ba663b9.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-4227a68d.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-59c20fd7.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-fdfcd067.js} +28 -28
- package/build/{types-82089964.js → types-bc7ec9c2.js} +2 -2
- package/build/types.js +2 -2
- package/build/{useCategory-5d620b0c.js → useCategory-b53fb697.js} +5 -5
- package/build/{useHealthToolCache-42764d8b.js → useHealthToolCache-3b1dce9d.js} +1 -1
- package/build/{useMantineLocale-df553a85.js → useMantineLocale-995feb60.js} +5 -5
- package/build/{usePlacesAutocomplete-c0d7e519.js → usePlacesAutocomplete-a9e7050d.js} +1 -1
- package/build/{index-94c7aa0a.js → useScreenSize-46168818.js} +30 -1
- package/build/useTogetherAuthRequiredAction.js +9 -9
- package/build/{utils-831595ab.js → utils-c999b93f.js} +2 -2
- package/build/{utils-73b2a15c.js → utils-f7de2ad1.js} +2 -2
- package/build/{utils-5abd04f3.js → utils-ff0f9884.js} +3 -3
- 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-96486615.js} +0 -0
- /package/build/{BMI_BOYS.percentile.weekly-ec6c69d3.js → BMI_BOYS.percentile.weekly-24fff206.js} +0 -0
- /package/build/{BMI_BOYS.percentile.yearly-46719ff5.js → BMI_BOYS.percentile.yearly-02e78ce5.js} +0 -0
- /package/build/{BMI_BOYS.zscore.monthly-482901d6.js → BMI_BOYS.zscore.monthly-1dd2cb96.js} +0 -0
- /package/build/{BMI_BOYS.zscore.weekly-225568de.js → BMI_BOYS.zscore.weekly-a97fe5cf.js} +0 -0
- /package/build/{BMI_BOYS.zscore.yearly-a252a912.js → BMI_BOYS.zscore.yearly-30cc554c.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.monthly-4d8b4eb2.js → BMI_GIRLS.percentile.monthly-06f82b93.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.weekly-af009b15.js → BMI_GIRLS.percentile.weekly-e254114a.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.yearly-542dbed5.js → BMI_GIRLS.percentile.yearly-5e1d8c9e.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.monthly-26d46964.js → BMI_GIRLS.zscore.monthly-f3e0d929.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.weekly-9257075f.js → BMI_GIRLS.zscore.weekly-60c368e6.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.yearly-68890e63.js → BMI_GIRLS.zscore.yearly-cdc82299.js} +0 -0
- /package/build/{ChevronDown-f564cb15.js → ChevronDown-022875d7.js} +0 -0
- /package/build/{Close-55b74750.js → Close-79bcab87.js} +0 -0
- /package/build/{Google-b46681e7.js → Google-ba628384.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-728d94f7.js → HEAD CIRCUM_BOYS.percentile.monthly-8698fad6.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-a38b311c.js → HEAD CIRCUM_BOYS.percentile.weekly-1150cd7a.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-35572fa8.js → HEAD CIRCUM_BOYS.percentile.yearly-8df65cb5.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-c0635989.js → HEAD CIRCUM_BOYS.zscore.monthly-d53b730d.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-6a3237d7.js → HEAD CIRCUM_BOYS.zscore.weekly-033cf4bc.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-eb40dca6.js → HEAD CIRCUM_BOYS.zscore.yearly-e6eae769.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-df1ef165.js → HEAD CIRCUM_GIRLS.percentile.monthly-5d94f68b.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-97861dd8.js → HEAD CIRCUM_GIRLS.percentile.weekly-6e7f0223.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-9a492044.js → HEAD CIRCUM_GIRLS.percentile.yearly-054b72dc.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-ce9baa14.js → HEAD CIRCUM_GIRLS.zscore.monthly-9d8429c7.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-1d352768.js → HEAD CIRCUM_GIRLS.zscore.weekly-7e3ea514.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-e18972a5.js → HEAD CIRCUM_GIRLS.zscore.yearly-48461fe3.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.monthly-945641ff.js → HEIGHT_BOYS.percentile.monthly-2cb436c0.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.weekly-2b2a0983.js → HEIGHT_BOYS.percentile.weekly-6ef2c367.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.yearly-f4ec49b8.js → HEIGHT_BOYS.percentile.yearly-7cf0ea70.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.monthly-d8f097fd.js → HEIGHT_BOYS.zscore.monthly-58cb193c.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.weekly-ca870d22.js → HEIGHT_BOYS.zscore.weekly-9ac9efd2.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.yearly-52355027.js → HEIGHT_BOYS.zscore.yearly-a6729429.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.monthly-9d423433.js → HEIGHT_GIRLS.percentile.monthly-b3447c6c.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.weekly-a455b76d.js → HEIGHT_GIRLS.percentile.weekly-fd826de7.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.yearly-059d0a18.js → HEIGHT_GIRLS.percentile.yearly-7ec2d946.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.monthly-3b7683a4.js → HEIGHT_GIRLS.zscore.monthly-0790ab55.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.weekly-b14b42d5.js → HEIGHT_GIRLS.zscore.weekly-5033417a.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.yearly-20c7e5c6.js → HEIGHT_GIRLS.zscore.yearly-e36df92d.js} +0 -0
- /package/build/{Locale-bcde8996.js → Locale-db2e77cb.js} +0 -0
- /package/build/{Visible-2bb88c95.js → Visible-0712a644.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.monthly-85c444cc.js → WEIGHT_BOYS.percentile.monthly-12e3b29e.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.weekly-a47b4ed2.js → WEIGHT_BOYS.percentile.weekly-8969f3da.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.yearly-374b1995.js → WEIGHT_BOYS.percentile.yearly-b24551f5.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.monthly-44e2f2e7.js → WEIGHT_BOYS.zscore.monthly-00d9048f.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.weekly-b08c0f41.js → WEIGHT_BOYS.zscore.weekly-f9a733d8.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.yearly-5921b3a0.js → WEIGHT_BOYS.zscore.yearly-a17a6972.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.monthly-984bf7ce.js → WEIGHT_GIRLS.percentile.monthly-7a1b818d.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.weekly-2cb8fb73.js → WEIGHT_GIRLS.percentile.weekly-a91284f5.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.yearly-6c98923d.js → WEIGHT_GIRLS.percentile.yearly-e0dd3ff4.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.monthly-ed2c531e.js → WEIGHT_GIRLS.zscore.monthly-1fbef692.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.weekly-f9ecb392.js → WEIGHT_GIRLS.zscore.weekly-2714f800.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.yearly-68ef941b.js → WEIGHT_GIRLS.zscore.yearly-121a13bc.js} +0 -0
- /package/build/{animation-ea977495.js → animation-465e46fc.js} +0 -0
- /package/build/{constants-e9691110.js → constants-1a9f28f9.js} +0 -0
- /package/build/{constants-01354d80.js → constants-89ab5c82.js} +0 -0
- /package/build/{constants-4d7147a1.js → constants-a60aa81b.js} +0 -0
- /package/build/{dataTransform-3d45068d.js → dataTransform-1c426dd8.js} +0 -0
- /package/build/{doctor-f1e2bd10.js → doctor-77e27a85.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.monthly-676746a9.js → BMI_BOYS.percentile.monthly-03a37354.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.weekly-4ed23841.js → BMI_BOYS.percentile.weekly-b148638d.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.yearly-98c98167.js → BMI_BOYS.percentile.yearly-4258de5f.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.monthly-47916b32.js → BMI_BOYS.zscore.monthly-17ced0cd.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.weekly-daaed956.js → BMI_BOYS.zscore.weekly-a3177e9e.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.yearly-eab0342a.js → BMI_BOYS.zscore.yearly-45d99ca8.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.monthly-dfb759bb.js → BMI_GIRLS.percentile.monthly-35910cc3.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.weekly-d29de620.js → BMI_GIRLS.percentile.weekly-eadcc9e7.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.yearly-25fa0330.js → BMI_GIRLS.percentile.yearly-ff67801a.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.monthly-fc206d4e.js → BMI_GIRLS.zscore.monthly-8501806e.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.weekly-98306141.js → BMI_GIRLS.zscore.weekly-cd41d258.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.yearly-e4d0a11b.js → BMI_GIRLS.zscore.yearly-b82d4953.js} +0 -0
- /package/build/esm/{ChevronDown-2dece328.js → ChevronDown-ea38600e.js} +0 -0
- /package/build/esm/{Close-414861c0.js → Close-5fd5e33d.js} +0 -0
- /package/build/esm/{Google-0a3ac5a5.js → Google-c68d3743.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-22e90b94.js → HEAD CIRCUM_BOYS.percentile.monthly-9908b4a3.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-138252c3.js → HEAD CIRCUM_BOYS.percentile.weekly-32ad1d11.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-45d0204c.js → HEAD CIRCUM_BOYS.percentile.yearly-9387e50f.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-b251ea89.js → HEAD CIRCUM_BOYS.zscore.monthly-09817ca6.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-c0993a4a.js → HEAD CIRCUM_BOYS.zscore.weekly-7705e415.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-ceac2f5f.js → HEAD CIRCUM_BOYS.zscore.yearly-f25f87d7.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-e4f09030.js → HEAD CIRCUM_GIRLS.percentile.monthly-4a0a8ef2.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-9d21592c.js → HEAD CIRCUM_GIRLS.percentile.weekly-2a27538d.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-3a37d7d1.js → HEAD CIRCUM_GIRLS.percentile.yearly-23062648.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-efff377c.js → HEAD CIRCUM_GIRLS.zscore.monthly-ddc6d259.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-21aa2b28.js → HEAD CIRCUM_GIRLS.zscore.weekly-22ab9c5c.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-99a4f0e8.js → HEAD CIRCUM_GIRLS.zscore.yearly-35247077.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.monthly-529d91e6.js → HEIGHT_BOYS.percentile.monthly-2716b2a1.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.weekly-d786c46b.js → HEIGHT_BOYS.percentile.weekly-c6d833cc.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.yearly-f2b98286.js → HEIGHT_BOYS.percentile.yearly-a144797f.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.monthly-9fd64cb2.js → HEIGHT_BOYS.zscore.monthly-ab73643f.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.weekly-f5fb170c.js → HEIGHT_BOYS.zscore.weekly-4ce0f6b4.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.yearly-75ff7389.js → HEIGHT_BOYS.zscore.yearly-c31fdc5d.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-20d7dc21.js → HEIGHT_GIRLS.percentile.monthly-5c09c93d.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-163bcbf7.js → HEIGHT_GIRLS.percentile.weekly-5ffb6a06.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-133e9b9b.js → HEIGHT_GIRLS.percentile.yearly-d0cac825.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-1f697249.js → HEIGHT_GIRLS.zscore.monthly-820293d6.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-64f7cfb0.js → HEIGHT_GIRLS.zscore.weekly-2524fc98.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-5d3a1f36.js → HEIGHT_GIRLS.zscore.yearly-f9697123.js} +0 -0
- /package/build/esm/{Locale-ca77b0a8.js → Locale-b39bbdfa.js} +0 -0
- /package/build/esm/{Visible-ba31ca23.js → Visible-0d299379.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.monthly-a42e34eb.js → WEIGHT_BOYS.percentile.monthly-444a123f.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.weekly-c519e3e5.js → WEIGHT_BOYS.percentile.weekly-e53892ce.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.yearly-58cd559f.js → WEIGHT_BOYS.percentile.yearly-3105f161.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.monthly-ed9e4281.js → WEIGHT_BOYS.zscore.monthly-aeafd342.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.weekly-bb18ed2b.js → WEIGHT_BOYS.zscore.weekly-95a47cc4.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.yearly-ce3809ed.js → WEIGHT_BOYS.zscore.yearly-201b35b6.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-cc6d74d0.js → WEIGHT_GIRLS.percentile.monthly-d06ab8da.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-faec125e.js → WEIGHT_GIRLS.percentile.weekly-1a6faa64.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-ee45c3d5.js → WEIGHT_GIRLS.percentile.yearly-bd42342b.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-328c309f.js → WEIGHT_GIRLS.zscore.monthly-1f4433a4.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-27ddd67a.js → WEIGHT_GIRLS.zscore.weekly-137661db.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-f351e8ae.js → WEIGHT_GIRLS.zscore.yearly-2001a1df.js} +0 -0
- /package/build/esm/{animation-26ededa5.js → animation-e2c25be8.js} +0 -0
- /package/build/esm/{constants-4c555a78.js → constants-257c3360.js} +0 -0
- /package/build/esm/{constants-63e3976e.js → constants-58ee65bd.js} +0 -0
- /package/build/esm/{constants-24c945ff.js → constants-80426928.js} +0 -0
- /package/build/esm/{dataTransform-9fb86241.js → dataTransform-06ec14e6.js} +0 -0
- /package/build/esm/{doctor-fa923c90.js → doctor-b571ef1e.js} +0 -0
- /package/build/esm/{index-7efb2ae6.js → index-071508db.js} +0 -0
- /package/build/esm/{index-b960d7d2.js → index-0b04ccf8.js} +0 -0
- /package/build/esm/{index-e15f4ebc.js → index-0b4c20b3.js} +0 -0
- /package/build/esm/{index-ef4ef49a.js → index-22a31b3a.js} +0 -0
- /package/build/esm/{index-56c187d2.js → index-45a0b05a.js} +0 -0
- /package/build/esm/{index-2f48ca28.js → index-a49af701.js} +0 -0
- /package/build/esm/{index-f2dcdbdd.js → index-b6d97b04.js} +0 -0
- /package/build/esm/{index-ae467e8a.js → index-e21b171d.js} +0 -0
- /package/build/esm/{index-5ae6e655.js → index-f1d5d03d.js} +0 -0
- /package/build/esm/{localizeNumberFormat-a97ed6c7.js → localizeNumberFormat-d59e39db.js} +0 -0
- /package/build/esm/{normalizeLink-4b5bf175.js → normalizeLink-400e3713.js} +0 -0
- /package/build/esm/{other-b2d9a044.js → other-aa9e63cc.js} +0 -0
- /package/build/esm/{paths-ddb6c4d8.js → paths-26d586dd.js} +0 -0
- /package/build/esm/{translationsContext-842b9deb.js → translationsContext-7754cd73.js} +0 -0
- /package/build/esm/{tslib.es6-1ac4ffe8.js → tslib.es6-ab8a2400.js} +0 -0
- /package/build/esm/{types-6790ba3a.js → types-74864a9a.js} +0 -0
- /package/build/esm/{useIsInit-5732296a.js → useIsInit-87a540e3.js} +0 -0
- /package/build/esm/{useOutsideClick-cbeba8ee.js → useOutsideClick-6c90ad72.js} +0 -0
- /package/build/esm/{useScrollbarSize-ac8256a4.js → useScrollbarSize-cc38ed47.js} +0 -0
- /package/build/esm/{useUniqueId-1ae14697.js → useUniqueId-32072130.js} +0 -0
- /package/build/esm/{utils-45fdcf7b.js → utils-8fca923c.js} +0 -0
- /package/build/{index-1d17957f.js → index-07d7e51d.js} +0 -0
- /package/build/{index-022ab6d3.js → index-456f4a70.js} +0 -0
- /package/build/{index-80b90ecc.js → index-47aef47f.js} +0 -0
- /package/build/{index-be7ea2d7.js → index-5d22b173.js} +0 -0
- /package/build/{index-5ba31c22.js → index-754d79ce.js} +0 -0
- /package/build/{index-bbaaa76f.js → index-855a4195.js} +0 -0
- /package/build/{index-2201ea63.js → index-b4639f39.js} +0 -0
- /package/build/{index-a194922e.js → index-c81a53e5.js} +0 -0
- /package/build/{index-315d9154.js → index-d09c6f4c.js} +0 -0
- /package/build/{localizeNumberFormat-7d547f95.js → localizeNumberFormat-c6a9317f.js} +0 -0
- /package/build/{normalizeLink-1d312a04.js → normalizeLink-584effeb.js} +0 -0
- /package/build/{other-f35b1b1a.js → other-3aca54dd.js} +0 -0
- /package/build/{paths-a0e2dcbf.js → paths-c5c8fd85.js} +0 -0
- /package/build/{translationsContext-d89d941c.js → translationsContext-0b6151a9.js} +0 -0
- /package/build/{tslib.es6-9e523431.js → tslib.es6-ba74242f.js} +0 -0
- /package/build/{types-908ee804.js → types-b8ae3d23.js} +0 -0
- /package/build/{useIsInit-1fbe61dd.js → useIsInit-b63be920.js} +0 -0
- /package/build/{useOutsideClick-42a8525c.js → useOutsideClick-da1bda34.js} +0 -0
- /package/build/{useScrollbarSize-5d9399f0.js → useScrollbarSize-2906ab77.js} +0 -0
- /package/build/{useUniqueId-12b2db9f.js → useUniqueId-d321f919.js} +0 -0
- /package/build/{utils-d865acbe.js → utils-79522a9e.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-ab8a2400.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-9b77086c.js';
|
|
4
|
+
import { H as Heading } from './index-f3ee79b3.js';
|
|
5
|
+
import { u as useTranslations } from './index-eea25cf6.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-a8aec5b0.js';
|
|
8
|
+
import { C as CommonGAssets } from './index-b6d97b04.js';
|
|
9
|
+
import { R as REPORT_REASON_MAP, D as DEFAULT_IMG } from './constants-58ee65bd.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-5f56b50b.js';
|
|
12
|
+
import { b as TreePopoverMenu, C as CardReactions, c as CardReactionType, a as LabelPin, T as TagTopic } from './treePopoverMenu-1b261723.js';
|
|
14
13
|
import styled from '@emotion/styled';
|
|
15
|
-
import { M as MediaQueries } from './utils-
|
|
14
|
+
import { M as MediaQueries } from './utils-8fca923c.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-c59d342b.js';
|
|
17
|
+
import { DISCOVER_PATHS, CARE_PATHS, PATHS } from './togetherApiPaths.js';
|
|
18
|
+
import { C as CardLink } from './index-7cec1d5a.js';
|
|
19
|
+
import { C as CardAuthor, L as Loading, c as ProfileDetailModal } from './index-94e45ed1.js';
|
|
20
|
+
import { a as ProfileDetail, P as PostContent } from './index-8648e2f2.js';
|
|
21
|
+
import { a as PostImagePreview } from './index-8dd5f040.js';
|
|
22
|
+
import { D as Divider } from './index-0b4c20b3.js';
|
|
23
|
+
import './index-048e9fc6.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-954ba898.js';
|
|
28
|
+
import { T as Text } from './index-0e42e7f3.js';
|
|
29
|
+
import { g as getCurrentBaseUrl } from './normalizeLink-400e3713.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,6 +1,6 @@
|
|
|
1
1
|
import React__default from 'react';
|
|
2
|
-
import { I as Icon } from './index-
|
|
3
|
-
import { u as useTranslations } from './index-
|
|
2
|
+
import { I as Icon } from './index-f14a5626.js';
|
|
3
|
+
import { u as useTranslations } from './index-eea25cf6.js';
|
|
4
4
|
|
|
5
5
|
var styles = {"loading":"tliWyii"};
|
|
6
6
|
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { _ as __rest, a as __awaiter } from './tslib.es6-
|
|
1
|
+
import { _ as __rest, a as __awaiter } from './tslib.es6-ab8a2400.js';
|
|
2
2
|
import React__default, { useState, useMemo, useCallback } from 'react';
|
|
3
|
-
import { u as useTranslations } from './index-
|
|
3
|
+
import { u as useTranslations } from './index-eea25cf6.js';
|
|
4
4
|
import { createStyles } from '@mantine/core';
|
|
5
|
-
import { P as PATHS } from './paths-
|
|
6
|
-
import { L as LOCALIZED_SLUGS } from './constants-
|
|
7
|
-
import { B as Button } from './index-
|
|
8
|
-
import './index-
|
|
9
|
-
import { c as callApi, g as getCarePath } from './utils-
|
|
5
|
+
import { P as PATHS } from './paths-26d586dd.js';
|
|
6
|
+
import { L as LOCALIZED_SLUGS } from './constants-257c3360.js';
|
|
7
|
+
import { B as Button } from './index-b3c1a701.js';
|
|
8
|
+
import './index-048e9fc6.js';
|
|
9
|
+
import { c as callApi, g as getCarePath } from './utils-5f56b50b.js';
|
|
10
10
|
import { domainLocales } from './constantsDomainLocales.js';
|
|
11
11
|
import { isProduction } from './constantsIsProduction.js';
|
|
12
12
|
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { _ as __rest } from './tslib.es6-
|
|
1
|
+
import { _ as __rest } from './tslib.es6-ab8a2400.js';
|
|
2
2
|
import React__default from 'react';
|
|
3
|
-
import './index-
|
|
3
|
+
import './index-ae1334ac.js';
|
|
4
4
|
import '@mantine/core';
|
|
5
5
|
import '@mantine/dates';
|
|
6
|
-
import './index-
|
|
7
|
-
import './index-
|
|
8
|
-
import './index-
|
|
9
|
-
import './useMantineLocale-
|
|
10
|
-
import { T as Text$1 } from './index-
|
|
11
|
-
import './index-
|
|
12
|
-
import './index.styles-
|
|
13
|
-
import './translationsContext-
|
|
6
|
+
import './index-048e9fc6.js';
|
|
7
|
+
import './index-97675e2b.js';
|
|
8
|
+
import './index-b6d97b04.js';
|
|
9
|
+
import './useMantineLocale-0dbd92de.js';
|
|
10
|
+
import { T as Text$1 } from './index-0e42e7f3.js';
|
|
11
|
+
import './index-b3c1a701.js';
|
|
12
|
+
import './index.styles-6c2014f4.js';
|
|
13
|
+
import './translationsContext-7754cd73.js';
|
|
14
14
|
import '@mantine/hooks';
|
|
15
|
-
import './utils-
|
|
16
|
-
import './other-
|
|
17
|
-
import './index-
|
|
15
|
+
import './utils-8fca923c.js';
|
|
16
|
+
import './other-aa9e63cc.js';
|
|
17
|
+
import './index-84f3fd36.js';
|
|
18
18
|
|
|
19
19
|
/**
|
|
20
20
|
* @deprecated Consider to use import { Text } from '@hhgtech/hhg-components/mantine'
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import React__default, { useState } from 'react';
|
|
2
|
-
import { F as Flag } from './index-
|
|
2
|
+
import { F as Flag } from './index-ae1334ac.js';
|
|
3
3
|
import styled from '@emotion/styled';
|
|
4
4
|
import { theme } from './miscTheme.js';
|
|
5
|
-
import { T as Text } from './index-
|
|
6
|
-
import { C as CommonGAssets } from './index-
|
|
5
|
+
import { T as Text } from './index-0e42e7f3.js';
|
|
6
|
+
import { C as CommonGAssets } from './index-b6d97b04.js';
|
|
7
7
|
|
|
8
8
|
const ALLOW_DOMAIN_URL = [
|
|
9
9
|
'hellobacsi.com',
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { _ as __rest } from './tslib.es6-
|
|
1
|
+
import { _ as __rest } from './tslib.es6-ab8a2400.js';
|
|
2
2
|
import React__default, { useMemo } from 'react';
|
|
3
3
|
import { Spoiler as Spoiler$1 } from '@mantine/core';
|
|
4
|
-
import { T as Text } from './index-
|
|
5
|
-
import { u as useTranslations } from './index-
|
|
4
|
+
import { T as Text } from './index-0e42e7f3.js';
|
|
5
|
+
import { u as useTranslations } from './index-eea25cf6.js';
|
|
6
6
|
import { theme } from './miscTheme.js';
|
|
7
7
|
|
|
8
8
|
const Spoiler = (_a) => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React__default from 'react';
|
|
2
2
|
import styled from '@emotion/styled';
|
|
3
|
-
import { M as MediaQueries } from './utils-
|
|
3
|
+
import { M as MediaQueries } from './utils-8fca923c.js';
|
|
4
4
|
import { theme } from './miscTheme.js';
|
|
5
5
|
|
|
6
6
|
const StyledPopup = styled.div `
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { a as __awaiter } from './tslib.es6-
|
|
1
|
+
import { a as __awaiter } from './tslib.es6-ab8a2400.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-f3ee79b3.js';
|
|
5
|
+
import { T as Text } from './index-0e42e7f3.js';
|
|
6
|
+
import { T as TogetherComponentGlobalContext, c as callApi, d as getApiPath } from './utils-5f56b50b.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-58ee65bd.js';
|
|
10
10
|
|
|
11
11
|
const StyledCardLink = styled.div `
|
|
12
12
|
.link-info-container {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { _ as __rest } from './tslib.es6-
|
|
1
|
+
import { _ as __rest } from './tslib.es6-ab8a2400.js';
|
|
2
2
|
import React__default, { useRef, useState, useEffect } from 'react';
|
|
3
3
|
import { ArrowLeft, ArrowRight } from '@hhgtech/icons/other';
|
|
4
4
|
import { createStyles, rem, Tabs as Tabs$1, ScrollArea } from '@mantine/core';
|
|
5
|
-
import { B as Button } from './index-
|
|
6
|
-
import { T as Text } from './index-
|
|
5
|
+
import { B as Button } from './index-b3c1a701.js';
|
|
6
|
+
import { T as Text } from './index-0e42e7f3.js';
|
|
7
7
|
|
|
8
8
|
var useStyles = createStyles((theme, params) => {
|
|
9
9
|
const { variant } = params;
|