@hhgtech/hhg-components 1.25.40 → 1.25.42
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/__mocks__/pillData.d.ts +201 -0
- package/build/babyGrowth.js +37 -37
- package/build/cache.js +1 -1
- package/build/care/components/atoms/icons/index.d.ts +9 -9
- package/build/care/components/organisms/bookingSearchBar/index.d.ts +2 -2
- package/build/care/components/organisms/bookingSearchBar/index.styled.d.ts +1 -1
- package/build/care/components/organisms/bookingSearchBar/locationResults/index.d.ts +2 -2
- package/build/care/components/organisms/bookingSearchBar/locationResults/index.styled.d.ts +2 -2
- package/build/care/components/organisms/bookingSearchBar/locationResults/liSkeleton.d.ts +2 -2
- package/build/care/components/organisms/bookingSearchBar/mobileFakeInput/index.d.ts +2 -2
- package/build/care/components/organisms/bookingSearchBar/mobileTopbar/index.d.ts +2 -2
- package/build/care/components/organisms/bookingSearchBar/mobileTopbar/index.styled.d.ts +1 -1
- package/build/care/components/organisms/bookingSearchBar/resultSection/icons.d.ts +5 -5
- package/build/care/components/organisms/bookingSearchBar/resultSection/index.d.ts +2 -2
- package/build/care/components/organisms/bookingSearchBar/resultSection/index.styled.d.ts +1 -1
- package/build/care/components/organisms/bookingSearchBar/resultSectionItem/index.d.ts +2 -2
- package/build/care/components/organisms/bookingSearchBar/resultSectionItem/index.styled.d.ts +1 -1
- package/build/care/components/organisms/bookingSearchBar/searchInputs/index.d.ts +1 -1
- package/build/care/components/organisms/bookingSearchBar/searchInputs/index.styled.d.ts +1 -1
- package/build/care/components/organisms/bookingSearchBar/searchResults/index.d.ts +2 -2
- package/build/care/components/organisms/bookingSearchBar/searchSubmitIcon/index.d.ts +2 -2
- package/build/care.js +1 -1
- package/build/components/atoms/alert/index.d.ts +2 -2
- package/build/components/atoms/authorBadge/index.d.ts +2 -2
- package/build/components/atoms/avatar/index.d.ts +2 -2
- package/build/components/atoms/badge/index.d.ts +2 -2
- package/build/components/atoms/borderHeading/index.d.ts +1 -1
- package/build/components/atoms/btnChoice/index.d.ts +2 -2
- package/build/components/atoms/button/index.d.ts +1 -1
- package/build/components/atoms/checkbox/index.d.ts +2 -2
- package/build/components/atoms/container/index.d.ts +2 -1
- package/build/components/atoms/displayWrapper/index.d.ts +2 -2
- package/build/components/atoms/divider/index.d.ts +2 -2
- package/build/components/atoms/dropdownMB/index.styled.d.ts +1 -1
- package/build/components/atoms/fileDropdown/index.d.ts +2 -2
- package/build/components/atoms/flag/icons/cambodia.d.ts +3 -3
- package/build/components/atoms/flag/icons/english.d.ts +3 -3
- package/build/components/atoms/flag/icons/india.d.ts +3 -3
- package/build/components/atoms/flag/icons/indonesia.d.ts +3 -3
- package/build/components/atoms/flag/icons/malaysia.d.ts +3 -3
- package/build/components/atoms/flag/icons/myanmar.d.ts +3 -3
- package/build/components/atoms/flag/icons/philippines.d.ts +3 -3
- package/build/components/atoms/flag/icons/taiwan.d.ts +3 -3
- package/build/components/atoms/flag/icons/thailand.d.ts +3 -3
- package/build/components/atoms/flag/icons/vietnam.d.ts +3 -3
- package/build/components/atoms/flag/index.d.ts +2 -2
- package/build/components/atoms/grid/index.d.ts +2 -2
- package/build/components/atoms/heading/index.d.ts +2 -2
- package/build/components/atoms/imageWithHandler/index.d.ts +2 -2
- package/build/components/atoms/input/index.d.ts +1 -1
- package/build/components/atoms/inputMB/index.styled.d.ts +1 -1
- package/build/components/atoms/label/index.d.ts +2 -2
- package/build/components/atoms/logo/index.d.ts +2 -2
- package/build/components/atoms/logo/logoIcon.d.ts +1 -1
- package/build/components/atoms/marryBabyText/index.d.ts +2 -2
- package/build/components/atoms/newBabyProfileRadio/index.d.ts +2 -2
- package/build/components/atoms/pagination/index.d.ts +2 -2
- package/build/components/atoms/pill/index.d.ts +2 -2
- package/build/components/atoms/progress/index.d.ts +2 -2
- package/build/components/atoms/radio/index.d.ts +2 -2
- package/build/components/atoms/radioImageGroup/index.d.ts +2 -1
- package/build/components/atoms/rateStars/StarEmptyIcon.d.ts +1 -1
- package/build/components/atoms/rateStars/StarFullIcon.d.ts +1 -1
- package/build/components/atoms/rateStars/StarHalfIcon.d.ts +1 -1
- package/build/components/atoms/rateStars/index.d.ts +2 -2
- package/build/components/atoms/shadow/index.d.ts +2 -2
- package/build/components/atoms/tag/index.d.ts +2 -2
- package/build/components/atoms/text/index.d.ts +2 -2
- package/build/components/atoms/textDivider/index.d.ts +2 -1
- package/build/components/atoms/toggle/index.d.ts +2 -2
- package/build/components/atoms/underlinedLink/index.d.ts +2 -2
- package/build/components/atoms/uploader/index.d.ts +2 -2
- package/build/components/babyGrowth/babyGrowthChart/index.d.ts +2 -2
- package/build/components/babyGrowth/babyGrowthChooseProfileDrawer/index.d.ts +1 -1
- package/build/components/babyGrowth/babyGrowthChooseProfileDrawer/index.styled.d.ts +1 -1
- package/build/components/babyGrowth/babyGrowthForm/index.d.ts +2 -2
- package/build/components/babyGrowth/babyGrowthForm/index.styled.d.ts +2 -2
- package/build/components/babyGrowth/babyGrowthGender/index.styled.d.ts +1 -1
- package/build/components/babyGrowth/babyGrowthLegend/index.d.ts +2 -2
- package/build/components/babyGrowth/babyGrowthSwitch/index.d.ts +2 -2
- package/build/components/babyGrowth/babyGrowthTooltip/index.d.ts +2 -2
- package/build/components/babyGrowth/childCard/index.d.ts +2 -2
- package/build/components/mantine/accordion/index.d.ts +1 -1
- package/build/components/mantine/anchor/index.d.ts +5 -8
- package/build/components/mantine/aspectRatio/index.d.ts +2 -2
- package/build/components/mantine/avatar/index.d.ts +2 -2
- package/build/components/mantine/badge/index.d.ts +2 -2
- package/build/components/mantine/button/index.d.ts +2 -2
- package/build/components/mantine/datepicker/range.d.ts +2 -2
- package/build/components/mantine/indicator/index.d.ts +2 -2
- package/build/components/mantine/input/file.d.ts +2 -2
- package/build/components/mantine/input/number.d.ts +2 -2
- package/build/components/mantine/loadingOverlay/index.d.ts +2 -2
- package/build/components/mantine/modal/index.d.ts +2 -2
- package/build/components/mantine/otp/index.d.ts +1 -1
- package/build/components/mantine/phone/index.d.ts +1 -1
- package/build/components/mantine/provider/index.d.ts +1 -1
- package/build/components/mantine/result/index.d.ts +1 -1
- package/build/components/mantine/select/index.d.ts +2 -2
- package/build/components/mantine/slider/index.d.ts +2 -2
- package/build/components/mantine/spoiler/index.d.ts +1 -1
- package/build/components/mantine/tabs/index.d.ts +1 -1
- package/build/components/mantine/text/index.d.ts +4 -4
- package/build/components/mantine/textArea/index.d.ts +2 -2
- package/build/components/mantine/theme/tabs.d.ts +1 -0
- package/build/components/molecules/__deprecated_breadcrumbs/index.d.ts +34 -0
- package/build/components/molecules/articleCard/cardAuthor.d.ts +1 -1
- package/build/components/molecules/articleCard/cardExpert.d.ts +1 -1
- package/build/components/molecules/articleCard/icons/affiliate.d.ts +1 -1
- package/build/components/molecules/articleCard/icons/bookmarked.d.ts +1 -1
- package/build/components/molecules/articleCard/icons/unbookmarked.d.ts +1 -1
- package/build/components/molecules/articleCard/index.d.ts +1 -1
- package/build/components/molecules/bmiForm/index.d.ts +2 -2
- package/build/components/molecules/bmiForm/index.styled.d.ts +1 -1
- package/build/components/molecules/bmrForm/index.d.ts +2 -2
- package/build/components/molecules/bmrForm/index.styled.d.ts +1 -1
- package/build/components/molecules/breadcrumbs/index.d.ts +7 -27
- package/build/components/molecules/breadcrumbs/index.styled.d.ts +1 -0
- package/build/components/molecules/breadcrumbs/item.d.ts +7 -0
- package/build/components/molecules/carousel/index.d.ts +2 -2
- package/build/components/molecules/categoryCard/index.d.ts +2 -2
- package/build/components/molecules/checkboxGroup/index.d.ts +2 -2
- package/build/components/molecules/cookieAcceptConfirm/index.d.ts +2 -2
- package/build/components/molecules/datePicker/index.d.ts +1 -1
- package/build/components/molecules/dateRangePicker/calendar/index.d.ts +2 -2
- package/build/components/molecules/dateRangePicker/index.d.ts +2 -2
- package/build/components/molecules/doctorInfo/index.d.ts +2 -2
- package/build/components/molecules/dropdown/index.d.ts +2 -2
- package/build/components/molecules/dropdownSearch/index.d.ts +2 -2
- package/build/components/molecules/dueDateCalculator/dueDateFormConception.d.ts +2 -2
- package/build/components/molecules/dueDateCalculator/dueDateFormIVF.d.ts +2 -2
- package/build/components/molecules/dueDateCalculator/dueDateFormLastPeriod.d.ts +2 -2
- package/build/components/molecules/dueDateCalculator/index.d.ts +2 -2
- package/build/components/molecules/embeddedHeathToolCards/baby-growth/index.d.ts +2 -2
- package/build/components/molecules/embeddedHeathToolCards/baby-growth/index.styled.d.ts +2 -2
- package/build/components/molecules/embeddedHeathToolCards/baby-poop/index.d.ts +2 -2
- package/build/components/molecules/embeddedHeathToolCards/bmi/bmi.d.ts +2 -2
- package/build/components/molecules/embeddedHeathToolCards/bmr/bmr.d.ts +2 -2
- package/build/components/molecules/embeddedHeathToolCards/due-date/dueDate.d.ts +2 -2
- package/build/components/molecules/embeddedHeathToolCards/ovulation/ovulation.d.ts +2 -2
- package/build/components/molecules/embeddedHeathToolCards/pwg/pwg.d.ts +2 -2
- package/build/components/molecules/embeddedHeathToolCards/target-heart-rate/index.d.ts +2 -2
- package/build/components/molecules/floatButtonGroup/index.d.ts +2 -2
- package/build/components/molecules/iconText/index.d.ts +2 -2
- package/build/components/molecules/index.d.ts +2 -1
- package/build/components/molecules/languageSwitcher/index.d.ts +3 -3
- package/build/components/molecules/languageSwitcher/tooltipSelection/index.d.ts +2 -2
- package/build/components/molecules/mobileBottomNavigation/MobileBottomNavigationIcon.d.ts +1 -1
- package/build/components/molecules/modal/index.d.ts +1 -1
- package/build/components/molecules/ovulationCalculator/index.d.ts +2 -2
- package/build/components/molecules/ovulationCalculator/ovulationForm.d.ts +2 -2
- package/build/components/molecules/pillCarousel/index.d.ts +2 -2
- package/build/components/molecules/pillCarousel/index.styled.d.ts +1 -1
- package/build/components/molecules/popup/index.d.ts +2 -2
- package/build/components/molecules/progressBar/index.d.ts +2 -2
- package/build/components/molecules/radioImageGroupForTool/index.d.ts +2 -2
- package/build/components/molecules/scrollList/index.d.ts +2 -2
- package/build/components/molecules/seoHead/index.d.ts +1 -1
- package/build/components/molecules/sidemenu/menuLink.d.ts +2 -2
- package/build/components/molecules/sidemenu/sideHeader.d.ts +2 -2
- package/build/components/molecules/sidemenu/sideMenu.d.ts +2 -2
- package/build/components/molecules/sidemenu/test.d.ts +2 -2
- package/build/components/molecules/sidemenu/userInfo.d.ts +2 -2
- package/build/components/molecules/starsRatingBox/index.d.ts +2 -2
- package/build/components/molecules/statisticCard/index.d.ts +2 -2
- package/build/components/molecules/surveyQuestionCard/surveyQuestionCard.d.ts +2 -2
- package/build/components/molecules/surveyQuestionCard/surveyQuestionContent.d.ts +2 -2
- package/build/components/molecules/surveyQuestionCard/surveyRadio.d.ts +2 -2
- package/build/components/molecules/surveyQuestionCard/surveyThankyouCard.d.ts +2 -2
- package/build/components/molecules/table/table.d.ts +2 -2
- package/build/components/molecules/table/tableBody.d.ts +2 -2
- package/build/components/molecules/table/tableCell.d.ts +2 -2
- package/build/components/molecules/table/tableHead.d.ts +2 -2
- package/build/components/molecules/table/tableRow.d.ts +2 -2
- package/build/components/molecules/tabs/index.d.ts +3 -3
- package/build/components/molecules/thrForm/index.d.ts +2 -2
- package/build/components/molecules/thrForm/index.styled.d.ts +1 -1
- package/build/components/molecules/toolBannerCard/index.d.ts +2 -2
- package/build/components/molecules/weightGainForm/index.d.ts +2 -2
- package/build/components/onboarding/dynamicForm/index.d.ts +2 -2
- package/build/components/onboarding/onboardingForm/index.d.ts +2 -2
- package/build/components/onboarding/onboardingForm/index.styled.d.ts +1 -1
- package/build/components/onboarding/onboardingModal/index.d.ts +2 -2
- package/build/components/onboarding/otpForm/index.d.ts +2 -2
- package/build/components/onboarding/otpForm/index.styled.d.ts +1 -1
- package/build/components/onboarding/personalInfoForm/index.d.ts +2 -2
- package/build/components/onboarding/updatePassword/index.d.ts +2 -2
- package/build/components/organisms/footer/discoverFooter/index.d.ts +2 -2
- package/build/components/organisms/footer/index.d.ts +2 -2
- package/build/components/organisms/footer/maryBabyFooter/index.d.ts +2 -2
- package/build/components/organisms/heroBannerHealthTool/healthToolBanner/index.d.ts +2 -2
- package/build/components/organisms/heroBannerHealthTool/index.d.ts +2 -1
- package/build/components/organisms/navigationLogoutPopup/index.d.ts +2 -2
- package/build/components/organisms/navigationProfileButton/index.d.ts +1 -1
- package/build/components/organisms/navigationProfileButton/popupWrapper.d.ts +2 -2
- package/build/components/organisms/navigationProfileButton/profilePopup.d.ts +2 -2
- package/build/components/organisms/navigationV2/components/atoms/ClosePopupIcon.d.ts +2 -2
- package/build/components/organisms/navigationV2/components/atoms/HamburgerIcon.d.ts +2 -2
- package/build/components/organisms/navigationV2/components/atoms/ItemNav/index.d.ts +2 -2
- package/build/components/organisms/navigationV2/components/atoms/PopupWrapper/btnClosePopup.d.ts +2 -2
- package/build/components/organisms/navigationV2/components/atoms/PopupWrapper/index.d.ts +2 -2
- package/build/components/organisms/navigationV2/components/atoms/SearchIcon.d.ts +1 -1
- package/build/components/organisms/navigationV2/components/atoms/searchInput/index.d.ts +2 -2
- package/build/components/organisms/navigationV2/components/molecules/Categories/index.d.ts +2 -2
- package/build/components/organisms/navigationV2/components/molecules/Spotlights/index.d.ts +2 -2
- package/build/components/organisms/navigationV2/components/molecules/menuCareList/Item/index.d.ts +2 -2
- package/build/components/organisms/navigationV2/components/molecules/menuCareList/careSpotlights.d.ts +2 -2
- package/build/components/organisms/navigationV2/components/molecules/menuCareList/index.d.ts +2 -2
- package/build/components/organisms/navigationV2/components/molecules/menuCategoriesList/Item/index.d.ts +2 -2
- package/build/components/organisms/navigationV2/components/molecules/menuCategoriesList/categorySpotlights.d.ts +2 -2
- package/build/components/organisms/navigationV2/components/molecules/menuCategoriesList/index.d.ts +2 -2
- package/build/components/organisms/navigationV2/components/molecules/menuCommunitiesList/Item/index.d.ts +2 -2
- package/build/components/organisms/navigationV2/components/molecules/menuCommunitiesList/communitySpotlights.d.ts +2 -2
- package/build/components/organisms/navigationV2/components/molecules/menuCommunitiesList/index.d.ts +2 -2
- package/build/components/organisms/navigationV2/components/molecules/menuHealthToolsList/Item/index.d.ts +2 -2
- package/build/components/organisms/navigationV2/components/molecules/menuHealthToolsList/ItemMarryBaby/index.d.ts +2 -2
- package/build/components/organisms/navigationV2/components/molecules/menuHealthToolsList/index.d.ts +2 -2
- package/build/components/organisms/navigationV2/components/molecules/menuHealthToolsList/toolSpotlights.d.ts +2 -2
- package/build/components/organisms/navigationV2/components/molecules/menuServiceList/index.d.ts +2 -2
- package/build/components/organisms/navigationV2/components/molecules/navigationBar/bookingButton/index.d.ts +1 -1
- package/build/components/organisms/navigationV2/components/molecules/navigationBar/hamburgerMenu/index.d.ts +2 -2
- package/build/components/organisms/navigationV2/components/molecules/navigationBar/index.d.ts +2 -2
- package/build/components/organisms/navigationV2/components/molecules/spotlightNoData/index.d.ts +2 -2
- package/build/components/organisms/navigationV2/index.d.ts +1 -1
- package/build/components/organisms/navigationV2/navigationContext.d.ts +1 -1
- package/build/components/organisms/userProfileNavigation/index.d.ts +2 -2
- package/build/components/organisms/userProfileNavigation/navHeader/index.d.ts +2 -2
- package/build/components/organisms/userProfileNavigation/navMenu/index.d.ts +2 -2
- package/build/components/organisms/userProfileNavigation/navigationCard/index.d.ts +2 -2
- package/build/components/organisms/userProfileNavigation/userStats/index.d.ts +2 -2
- package/build/components/pregnancyWeightGain/pregnancyWeightGainChart/components/chart.d.ts +1 -1
- package/build/components/pregnancyWeightGain/pregnancyWeightGainChart/components/chartLegend.d.ts +2 -2
- package/build/components/pregnancyWeightGain/pregnancyWeightGainChart/components/customizedAxisTick.d.ts +2 -2
- package/build/components/pregnancyWeightGain/pregnancyWeightGainChart/components/customizedTooltipLabel.d.ts +2 -2
- package/build/components/pregnancyWeightGain/pregnancyWeightGainChart/index.d.ts +2 -2
- package/build/components/ui/cardArticle/element/index.d.ts +3 -3
- package/build/components/ui/cardArticle/index.d.ts +4 -4
- package/build/components/ui/cardAuthor/element/index.d.ts +8 -8
- package/build/components/ui/cardAuthor/index.d.ts +8 -8
- package/build/components/ui/loading/index.d.ts +2 -2
- package/build/components/ui/onboarding/index.d.ts +1 -1
- package/build/components/ui/thumbnail/index.d.ts +1 -1
- package/build/components/vaccination/shared/badge.d.ts +2 -2
- package/build/components/vaccination/shared/cardIcon.d.ts +2 -2
- package/build/components/vaccination/shared/dose.d.ts +2 -2
- package/build/components/vaccination/vaccinationFilter/index.d.ts +2 -2
- package/build/components/vaccination/vaccineCard/index.d.ts +3 -3
- package/build/components/vaccination/vaccineCard/modal.d.ts +2 -2
- package/build/components/vaccination/vaccineCard/status.d.ts +2 -2
- package/build/components/vaccination/vaccineCard/timeline.d.ts +2 -2
- package/build/components/vaccination/vaccineDetailPopup/confirmModal.d.ts +2 -2
- package/build/components/vaccination/vaccineDetailPopup/detail.d.ts +2 -2
- package/build/components/vaccination/vaccineDetailPopup/form.d.ts +2 -2
- package/build/components/vaccination/vaccineDetailPopup/icon.d.ts +2 -2
- package/build/components/vaccination/vaccineDetailPopup/index.d.ts +2 -2
- package/build/components/vaccination/vaccineImmunization/header.d.ts +2 -2
- package/build/components/vaccination/vaccineImmunization/index.d.ts +2 -2
- package/build/components/vaccination/vaccineImmunization/warning.d.ts +2 -2
- package/build/components/vaccination/vaccineRecordsByAgeGroup/index.d.ts +3 -4
- package/build/components/vaccination/vaccineRecordsByAgeGroup/records.d.ts +2 -2
- package/build/components/vaccination/vaccineRecordsByAgeGroup/scheduleTimeline.d.ts +2 -2
- package/build/components/vaccination/vaccineTimelineBanner/index.d.ts +2 -2
- package/build/components.js +1 -1
- package/build/constants.js +1 -1
- package/build/{core-6f134e7a.js → core-0ca3587c.js} +1 -1
- package/build/{dataTransform-24d3fdd4.js → dataTransform-0c7ac88e.js} +1 -1
- package/build/{dataTransform-6e9ff11f.js → dataTransform-ec478b26.js} +1 -1
- package/build/ecom/dataFormatter/lib/dataTypes.d.ts +1 -1
- package/build/ecom.js +1 -1
- package/build/esm/babyGrowth.js +33 -33
- package/build/esm/cache.js +1 -1
- package/build/esm/care.js +1 -1
- package/build/esm/components.js +1 -1
- package/build/esm/constants.js +1 -1
- package/build/esm/{core-5256a383.js → core-79d5845c.js} +1 -1
- package/build/esm/{dataTransform-982b9d55.js → dataTransform-7b91f922.js} +1 -1
- package/build/esm/{dataTransform-0ca0b129.js → dataTransform-f6f3c1c7.js} +1 -1
- package/build/esm/ecom.js +1 -1
- package/build/esm/footer.js +1 -1
- package/build/esm/gAssets.js +1 -1
- package/build/esm/getDynamicHealthTool-fbc9b9a3.js +1 -0
- package/build/esm/{getSocialList-42d5ef8a.js → getSocialList-eafa493d.js} +1 -1
- package/build/esm/hooks.js +1 -1
- package/build/esm/i18n.js +1 -1
- package/build/esm/index-0f11f09c.js +1 -0
- package/build/esm/{index-a1016f79.js → index-1c388316.js} +4 -4
- package/build/esm/index-20c75588.js +1 -0
- package/build/esm/{index-19201ad9.js → index-24f482cb.js} +1 -1
- package/build/esm/index-2cbc0c3f.js +1 -0
- package/build/esm/{index-6314712f.js → index-3218f985.js} +1 -1
- package/build/esm/index-37d26ed8.js +1 -0
- package/build/esm/{index-737c7092.js → index-5f4d7583.js} +1 -1
- package/build/esm/index-6abc97bd.js +1 -0
- package/build/esm/{index-fcadb1e5.js → index-6b79ca19.js} +2 -2
- package/build/esm/index-74a6a587.js +1 -0
- package/build/esm/{index-e8096240.js → index-78d1e5f0.js} +1 -1
- package/build/esm/{index.styled-a132cfd4.js → index-7bc42423.js} +12 -12
- package/build/esm/index-967931f8.js +1 -0
- package/build/esm/index-a5a8437a.js +1 -0
- package/build/esm/index-aa63aa94.js +1 -0
- package/build/esm/{index-285d7c1a.js → index-aef550e4.js} +1 -1
- package/build/esm/{index-0332e9fb.js → index-b25e070d.js} +1 -1
- package/build/esm/index-b3d0bfbe.js +1 -0
- package/build/esm/{index-385e6123.js → index-b7f6f393.js} +1 -1
- package/build/esm/{index-67951e55.js → index-b8aba04a.js} +1 -1
- package/build/esm/index-c1b40419.js +1 -0
- package/build/esm/{index-a91a8a82.js → index-c6afe51f.js} +1 -1
- package/build/esm/{index-e7b21581.js → index-dbb4881a.js} +1 -1
- package/build/esm/{index-30b608e8.js → index-f436d992.js} +1 -1
- package/build/esm/{index-d39d3c76.js → index-f4a4de1d.js} +1 -1
- package/build/esm/index.css +1 -1
- package/build/esm/index.js +1 -1
- package/build/esm/{index.styled-c00e45ec.js → index.styled-17c608d4.js} +1 -1
- package/build/esm/{index.styled-d7b00b13.js → index.styled-1a276833.js} +1031 -1032
- package/build/esm/{index.styled-bde6035b.js → index.styled-475ad2e4.js} +6 -6
- package/build/esm/index.styled-6eb6db84.js +1249 -0
- package/build/esm/index.styled-d20eb488.js +3995 -0
- package/build/esm/lead.js +1 -1
- package/build/esm/mantine.js +1 -1
- package/build/esm/misc.js +1 -1
- package/build/esm/navigation.js +1 -1
- package/build/esm/onboarding.js +1 -1
- package/build/esm/pwg.js +4 -4
- package/build/esm/{routing-76af9e69.js → routing-89c40e2d.js} +1 -1
- package/build/esm/{screenSizeContext-1ce850a1.js → screenSizeContext-2e8c4f16.js} +3 -3
- package/build/esm/together.js +1 -1
- package/build/esm/{translationsProvider-001a4f8b.js → translationsProvider-88fb9fb5.js} +1 -1
- package/build/esm/{types-b9f76f82.js → types-81990047.js} +104 -104
- package/build/esm/types-bb892161.js +3078 -0
- package/build/esm/types.js +1 -1
- package/build/esm/useHealthToolCache-c976303f.js +1 -0
- package/build/esm/{useRafState-3b377be0.js → useRafState-8e8c440f.js} +1 -1
- package/build/esm/{useScreenSize-207c6c59.js → useScreenSize-bbef37ac.js} +1 -1
- package/build/esm/{useTranslations-9944ea07.js → useTranslations-d8cfbc93.js} +1 -1
- package/build/esm/utils-672e9f85.js +166 -0
- package/build/esm/vaccination.js +4 -4
- package/build/footer.js +1 -1
- package/build/gAssets.js +1 -1
- package/build/{getDynamicHealthTool-4f86fb15.js → getDynamicHealthTool-182922db.js} +1 -1
- package/build/{getSocialList-5eb11d68.js → getSocialList-3ab7bb4e.js} +1 -1
- package/build/hooks.js +1 -1
- package/build/i18n/translationsProvider.d.ts +2 -2
- package/build/i18n.js +1 -1
- package/build/icons/Cambodia.d.ts +2 -1
- package/build/icons/CaretDown.d.ts +2 -1
- package/build/icons/CheckCircle.d.ts +2 -1
- package/build/icons/ChevronDown.d.ts +2 -1
- package/build/icons/ChevronLeft.d.ts +2 -1
- package/build/icons/ChevronRight.d.ts +2 -1
- package/build/icons/ChevronUp.d.ts +2 -1
- package/build/icons/Circle.d.ts +2 -1
- package/build/icons/Close.d.ts +2 -1
- package/build/icons/EmailCheck.d.ts +2 -1
- package/build/icons/EmailFail.d.ts +2 -1
- package/build/icons/Facebook.d.ts +2 -1
- package/build/icons/Google.d.ts +2 -1
- package/build/icons/InVisible.d.ts +2 -1
- package/build/icons/India.d.ts +2 -1
- package/build/icons/Indonesia.d.ts +2 -1
- package/build/icons/Malaysia.d.ts +2 -1
- package/build/icons/Myanmar.d.ts +2 -1
- package/build/icons/Phillipines.d.ts +2 -1
- package/build/icons/Spinning.d.ts +2 -1
- package/build/icons/Taiwan.d.ts +2 -1
- package/build/icons/Thailand.d.ts +2 -1
- package/build/icons/Vietnam.d.ts +2 -1
- package/build/icons/Visible.d.ts +2 -1
- package/build/icons/index.d.ts +4 -4
- package/build/{index-137894cf.js → index-13f5e80f.js} +1 -1
- package/build/index-19ca5380.js +1 -0
- package/build/index-246fb6b5.js +1 -0
- package/build/index-25fca616.js +1 -0
- package/build/index-3746c242.js +1 -0
- package/build/{index-f63a1760.js → index-3d433cce.js} +1 -1
- package/build/index-486a977a.js +1 -0
- package/build/index-590ac015.js +1 -0
- package/build/index-62772b63.js +1 -0
- package/build/index-7e476c45.js +1 -0
- package/build/{index-3fabbfe2.js → index-864331fa.js} +1 -1
- package/build/{index-e93b56af.js → index-8716aefd.js} +1 -1
- package/build/index-8ca92401.js +1 -0
- package/build/{index.styled-121d73f3.js → index-92ac398a.js} +12 -12
- package/build/{index-7840af7f.js → index-a428fdf0.js} +1 -1
- package/build/{index-8ef04a84.js → index-a97e86f3.js} +1 -1
- package/build/{index-9ceaf4a1.js → index-aa60f164.js} +1 -1
- package/build/{index-30cdfaa7.js → index-b6919199.js} +1 -1
- package/build/{index-c945bdda.js → index-b9f45e55.js} +1 -1
- package/build/{index-9ade2fa7.js → index-bbd80a79.js} +1 -1
- package/build/{index-19fbc39f.js → index-be800c5d.js} +1 -1
- package/build/{index-34a57dc0.js → index-c6baf477.js} +4 -4
- package/build/{index-c97f3216.js → index-d9c26fc8.js} +1 -1
- package/build/{index-3a907da6.js → index-da404c5e.js} +1 -1
- package/build/index-ddf1e0c1.js +1 -0
- package/build/{index-b9df7cc2.js → index-de6a4cba.js} +1 -1
- package/build/index.css +1 -1
- package/build/index.js +1 -1
- package/build/index.styled-2a83faa1.js +3995 -0
- package/build/{index.styled-31b84d11.js → index.styled-5cda8579.js} +653 -654
- package/build/{index.styled-906e0b96.js → index.styled-a1f5e0c2.js} +6 -6
- package/build/{index.styled-f785924a.js → index.styled-cdad5008.js} +1 -1
- package/build/index.styled-de0cfc3a.js +1249 -0
- package/build/lead/index.d.ts +2 -2
- package/build/lead/layouts/centerTab.d.ts +2 -2
- package/build/lead/layouts/closeButton.d.ts +2 -2
- package/build/lead/layouts/floating.d.ts +2 -2
- package/build/lead/layouts/lightbox/fields/index.d.ts +2 -2
- package/build/lead/layouts/lightbox/fields/locationBlock.d.ts +2 -2
- package/build/lead/layouts/lightbox/fields/subtitleBlock.d.ts +2 -2
- package/build/lead/layouts/lightbox/fields/titleBlock.d.ts +2 -2
- package/build/lead/layouts/lightbox/index.d.ts +2 -2
- package/build/lead/layouts/lightbox/otpBlock.d.ts +2 -2
- package/build/lead/layouts/sidebar.d.ts +2 -2
- package/build/lead/layouts/skin.d.ts +2 -2
- package/build/lead/layouts/tab.d.ts +2 -2
- package/build/lead/newLeadPopup.d.ts +2 -2
- package/build/lead/thankyou.d.ts +2 -2
- package/build/lead.js +1 -1
- package/build/mantine.js +1 -1
- package/build/misc/mockTheme.d.ts +1 -1
- package/build/misc/screenSizeContext.d.ts +1 -1
- package/build/misc.js +1 -1
- package/build/navigation.js +1 -1
- package/build/onboarding.js +1 -1
- package/build/pwg.js +4 -4
- package/build/{routing-77d2423b.js → routing-2b5d97b7.js} +1 -1
- package/build/{screenSizeContext-b15feb85.js → screenSizeContext-5ddeca2d.js} +1 -1
- package/build/test/testTranslationProvider.d.ts +2 -2
- package/build/together/components/atoms/cardLink/index.d.ts +2 -2
- package/build/together/components/atoms/cardReactions/element/index.d.ts +4 -4
- package/build/together/components/atoms/cardReactions/index.d.ts +5 -5
- package/build/together/components/atoms/labelSortPin/index.d.ts +2 -2
- package/build/together/components/atoms/labelSortPin/labelPin.d.ts +2 -2
- package/build/together/components/atoms/labelSortPin/labelSorting.d.ts +1 -1
- package/build/together/components/atoms/loading/index.d.ts +2 -2
- package/build/together/components/atoms/loading/loadingCard.d.ts +2 -2
- package/build/together/components/atoms/notificationBar/index.d.ts +1 -1
- package/build/together/components/atoms/sensitiveMask/index.d.ts +2 -2
- package/build/together/components/atoms/tagTopic/index.d.ts +2 -2
- package/build/together/components/atoms/userAvatar/index.d.ts +2 -2
- package/build/together/components/molecules/cardAuthor/index.d.ts +8 -8
- package/build/together/components/molecules/createNewPostContent/index.d.ts +2 -2
- package/build/together/components/molecules/createPostDescription/editor.d.ts +2 -2
- package/build/together/components/molecules/createPostDescription/index.d.ts +2 -2
- package/build/together/components/molecules/createPostTitle/index.d.ts +2 -2
- package/build/together/components/molecules/inputCommentBar/index.d.ts +2 -2
- package/build/together/components/molecules/inputCommentBar/mainInputTriggerContext.d.ts +1 -1
- package/build/together/components/molecules/popupDoctor/index.d.ts +2 -2
- package/build/together/components/molecules/popupExpert/index.d.ts +2 -2
- package/build/together/components/molecules/popupFrame/index.d.ts +2 -2
- package/build/together/components/molecules/popupFrame/popupShare.d.ts +2 -2
- package/build/together/components/molecules/popupHospital/index.d.ts +2 -2
- package/build/together/components/molecules/postContent/index.d.ts +2 -2
- package/build/together/components/molecules/postImagePreview/imagePreviewPopup.d.ts +2 -2
- package/build/together/components/molecules/postImagePreview/index.d.ts +2 -2
- package/build/together/components/molecules/postImagePreview/index.styled.d.ts +1 -1
- package/build/together/components/molecules/postImagePreview/postSingleImageViewPopup/index.d.ts +2 -2
- package/build/together/components/molecules/profileDetail/about/articleCard/index.d.ts +2 -2
- package/build/together/components/molecules/profileDetail/about/index.d.ts +2 -2
- package/build/together/components/molecules/profileDetail/answering/index.d.ts +2 -2
- package/build/together/components/molecules/profileDetail/answering/postCard/index.d.ts +2 -2
- package/build/together/components/molecules/profileDetail/care/index.d.ts +2 -2
- package/build/together/components/molecules/profileDetail/care/questionCard/index.d.ts +2 -2
- package/build/together/components/molecules/profileDetail/context.d.ts +1 -1
- package/build/together/components/molecules/profileDetail/emptyMessage/index.d.ts +2 -2
- package/build/together/components/molecules/profileDetail/index.d.ts +2 -2
- package/build/together/components/molecules/profileDetail/posts/index.d.ts +2 -2
- package/build/together/components/molecules/profileDetail/posts/postCard/index.d.ts +2 -2
- package/build/together/components/molecules/profileDetailModal/index.d.ts +2 -2
- package/build/together/components/molecules/shareBox/index.d.ts +2 -2
- package/build/together/components/molecules/skipQuestionOfExpertBtn/index.d.ts +2 -2
- package/build/together/components/molecules/socialLinkPreview/index.d.ts +2 -2
- package/build/together/components/molecules/submitReportForm/index.d.ts +2 -2
- package/build/together/components/molecules/topicSelectList/index.d.ts +2 -2
- package/build/together/components/organisms/cardPost/cardPostPopover.d.ts +2 -2
- package/build/together/components/organisms/cardPost/index.d.ts +2 -2
- package/build/together/components/organisms/cardReply/cardReplyPopover.d.ts +2 -2
- package/build/together/components/organisms/cardReply/index.d.ts +2 -2
- package/build/together/components/organisms/cardReply/index.styled.d.ts +1 -1
- package/build/together/components/organisms/cardReply/verifiedTag/index.d.ts +2 -2
- package/build/together/components/organisms/popoverMenu/index.d.ts +2 -2
- package/build/together/components/organisms/popoverMenu/treePopoverMenu.d.ts +3 -3
- package/build/together/components/organisms/sourceList/index.d.ts +2 -2
- package/build/together/components/organisms/sourceList/recommentCategories/index.d.ts +2 -2
- package/build/together/components/organisms/sourceList/sourceItem/index.d.ts +2 -2
- package/build/together/hooks/useTogetherAuthRequiredAction.d.ts +1 -1
- package/build/together/togetherComponentGlobalContext.d.ts +1 -1
- package/build/together.js +1 -1
- package/build/{translationsProvider-30eded82.js → translationsProvider-71fd1c68.js} +1 -1
- package/build/types-5e96530d.js +3078 -0
- package/build/{types-baf33d25.js → types-8ba1d77c.js} +89 -89
- package/build/types.js +1 -1
- package/build/{useHealthToolCache-d3dcf17a.js → useHealthToolCache-e8f6d71a.js} +1 -1
- package/build/{useRafState-70652ea2.js → useRafState-a9461843.js} +1 -1
- package/build/{useScreenSize-57e7e942.js → useScreenSize-aa32347f.js} +1 -1
- package/build/{useTranslations-19d05a27.js → useTranslations-e1f00e49.js} +1 -1
- package/build/utils-1fd82192.js +166 -0
- package/build/vaccination.js +12 -12
- package/package.json +4 -4
- package/build/esm/getDynamicHealthTool-fac910f0.js +0 -1
- package/build/esm/index-0a675e15.js +0 -1
- package/build/esm/index-180eedfa.js +0 -1
- package/build/esm/index-1a6a4029.js +0 -1
- package/build/esm/index-39aec1ec.js +0 -1
- package/build/esm/index-47b2afe0.js +0 -1
- package/build/esm/index-7068cbae.js +0 -1
- package/build/esm/index-89c73e9d.js +0 -1
- package/build/esm/index-976a5a4f.js +0 -1
- package/build/esm/index-a2dc9aab.js +0 -1
- package/build/esm/index-be181892.js +0 -1
- package/build/esm/index-e5f9ec18.js +0 -1
- package/build/esm/index.styled-2a2c4eff.js +0 -3995
- package/build/esm/index.styled-588c967b.js +0 -166
- package/build/esm/index.styled-f5a3e9e0.js +0 -1249
- package/build/esm/types-42472308.js +0 -3078
- package/build/esm/useHealthToolCache-c717e64e.js +0 -1
- package/build/index-0ffe250c.js +0 -1
- package/build/index-1e8f491f.js +0 -1
- package/build/index-41d5f491.js +0 -1
- package/build/index-4503b8a0.js +0 -1
- package/build/index-45687b11.js +0 -1
- package/build/index-a518b68e.js +0 -1
- package/build/index-ca6e36bc.js +0 -1
- package/build/index-ec29d439.js +0 -1
- package/build/index-f0f5a3f8.js +0 -1
- package/build/index-fa1c7976.js +0 -1
- package/build/index.styled-420c6f71.js +0 -1249
- package/build/index.styled-7adc9e6f.js +0 -3995
- package/build/index.styled-a02c919b.js +0 -166
- package/build/types-4a1bec41.js +0 -3078
- /package/build/{BMI_BOYS.percentile.monthly-32be3a23.js → BMI_BOYS.percentile.monthly-cc21da4a.js} +0 -0
- /package/build/{BMI_BOYS.percentile.weekly-12220234.js → BMI_BOYS.percentile.weekly-cab9116d.js} +0 -0
- /package/build/{BMI_BOYS.percentile.yearly-076669a1.js → BMI_BOYS.percentile.yearly-325f2911.js} +0 -0
- /package/build/{BMI_BOYS.zscore.monthly-f2131a61.js → BMI_BOYS.zscore.monthly-4417c309.js} +0 -0
- /package/build/{BMI_BOYS.zscore.weekly-4e09aefa.js → BMI_BOYS.zscore.weekly-e084fa1b.js} +0 -0
- /package/build/{BMI_BOYS.zscore.yearly-3e7efc96.js → BMI_BOYS.zscore.yearly-4fb1a35a.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.monthly-86d0eb7b.js → BMI_GIRLS.percentile.monthly-0b8b2a54.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.weekly-ec26a1aa.js → BMI_GIRLS.percentile.weekly-7984d251.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.yearly-80fc7bfb.js → BMI_GIRLS.percentile.yearly-f3290cd2.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.monthly-ae43c72f.js → BMI_GIRLS.zscore.monthly-adca778f.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.weekly-dbd1c3a1.js → BMI_GIRLS.zscore.weekly-70b2b83a.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.yearly-cc65bc93.js → BMI_GIRLS.zscore.yearly-4d2a7fcf.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-3714ec0c.js → HEAD CIRCUM_BOYS.percentile.monthly-0d1ea98f.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-256072df.js → HEAD CIRCUM_BOYS.percentile.weekly-bdb2506b.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-f09d3820.js → HEAD CIRCUM_BOYS.percentile.yearly-f304cefe.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-a842c62b.js → HEAD CIRCUM_BOYS.zscore.monthly-437e32fc.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-88b28942.js → HEAD CIRCUM_BOYS.zscore.weekly-efdf410b.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-b715b464.js → HEAD CIRCUM_BOYS.zscore.yearly-392efdc4.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-1d71da8b.js → HEAD CIRCUM_GIRLS.percentile.monthly-1d3baba4.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-a399fc8f.js → HEAD CIRCUM_GIRLS.percentile.weekly-4b33dc9c.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-78b8a9c6.js → HEAD CIRCUM_GIRLS.percentile.yearly-8beeb43c.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-93d8a70d.js → HEAD CIRCUM_GIRLS.zscore.monthly-0a5f55e0.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-cb338d24.js → HEAD CIRCUM_GIRLS.zscore.weekly-3248887b.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-c2464b09.js → HEAD CIRCUM_GIRLS.zscore.yearly-e0d2e330.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.monthly-da89077a.js → HEIGHT_BOYS.percentile.monthly-de247faa.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.weekly-e9fa02cb.js → HEIGHT_BOYS.percentile.weekly-79c47dc0.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.yearly-9f613642.js → HEIGHT_BOYS.percentile.yearly-593b944a.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.monthly-e850de92.js → HEIGHT_BOYS.zscore.monthly-364d2a46.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.weekly-585ae860.js → HEIGHT_BOYS.zscore.weekly-903c43de.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.yearly-1ac6e64c.js → HEIGHT_BOYS.zscore.yearly-16b97a66.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.monthly-fb3769ef.js → HEIGHT_GIRLS.percentile.monthly-a08a0033.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.weekly-fafda017.js → HEIGHT_GIRLS.percentile.weekly-41d24e9c.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.yearly-b5f753f6.js → HEIGHT_GIRLS.percentile.yearly-30e24eef.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.monthly-727008e0.js → HEIGHT_GIRLS.zscore.monthly-4973f37f.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.weekly-d838b0c3.js → HEIGHT_GIRLS.zscore.weekly-d849848c.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.yearly-313d15da.js → HEIGHT_GIRLS.zscore.yearly-fff74d92.js} +0 -0
- /package/build/{Onboarding-8d363051.js → Onboarding-d3651df7.js} +0 -0
- /package/build/{Visible-2fc8f4c2.js → Visible-e1a64d77.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.monthly-e2c8b783.js → WEIGHT_BOYS.percentile.monthly-781fbdbb.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.weekly-2b4637ae.js → WEIGHT_BOYS.percentile.weekly-ae0d78e7.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.yearly-13dfee02.js → WEIGHT_BOYS.percentile.yearly-189b8ae5.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.monthly-1d11b650.js → WEIGHT_BOYS.zscore.monthly-b878b977.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.weekly-4b76f171.js → WEIGHT_BOYS.zscore.weekly-50f9961d.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.yearly-c2d2f22c.js → WEIGHT_BOYS.zscore.yearly-8fd46d1e.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.monthly-aef93721.js → WEIGHT_GIRLS.percentile.monthly-0572cf3c.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.weekly-b122299b.js → WEIGHT_GIRLS.percentile.weekly-c95dda7c.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.yearly-310f26f4.js → WEIGHT_GIRLS.percentile.yearly-165e5f43.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.monthly-3d7198c4.js → WEIGHT_GIRLS.zscore.monthly-bd283f66.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.weekly-ea7bc719.js → WEIGHT_GIRLS.zscore.weekly-71a2c84b.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.yearly-03a69c54.js → WEIGHT_GIRLS.zscore.yearly-fffba4aa.js} +0 -0
- /package/build/components/molecules/{breadcrumbs → __deprecated_breadcrumbs}/index.test.d.ts +0 -0
- /package/build/{constants-606a0013.js → constants-5e247592.js} +0 -0
- /package/build/{cookieHelper-b2667594.js → cookieHelper-3f2b551f.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.monthly-dcb0bd73.js → BMI_BOYS.percentile.monthly-c234eca0.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.weekly-c95e6c4d.js → BMI_BOYS.percentile.weekly-b6563ebb.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.yearly-bbd9662f.js → BMI_BOYS.percentile.yearly-df6db838.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.monthly-ba1e2b29.js → BMI_BOYS.zscore.monthly-6fa25427.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.weekly-80499522.js → BMI_BOYS.zscore.weekly-0d53caaa.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.yearly-14b7b7e2.js → BMI_BOYS.zscore.yearly-2f8bfde1.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.monthly-c26c77fa.js → BMI_GIRLS.percentile.monthly-154334b1.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.weekly-2e76ec28.js → BMI_GIRLS.percentile.weekly-1d4c0738.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.yearly-5da0e3e1.js → BMI_GIRLS.percentile.yearly-98185289.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.monthly-a3087ca1.js → BMI_GIRLS.zscore.monthly-e010cea8.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.weekly-ce577050.js → BMI_GIRLS.zscore.weekly-3b51684b.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.yearly-9a23543b.js → BMI_GIRLS.zscore.yearly-51e90d5c.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-7fd9c289.js → HEAD CIRCUM_BOYS.percentile.monthly-f36d0465.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-7f9d66b1.js → HEAD CIRCUM_BOYS.percentile.weekly-e154dde9.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-7a8c5e08.js → HEAD CIRCUM_BOYS.percentile.yearly-0cb69834.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-333371ba.js → HEAD CIRCUM_BOYS.zscore.monthly-a009cd46.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-5264d210.js → HEAD CIRCUM_BOYS.zscore.weekly-63f8d0e9.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-71b3936f.js → HEAD CIRCUM_BOYS.zscore.yearly-e0ba4d3a.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-942d386c.js → HEAD CIRCUM_GIRLS.percentile.monthly-26391058.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-7a149e14.js → HEAD CIRCUM_GIRLS.percentile.weekly-4cfd45fa.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-a28b4d2d.js → HEAD CIRCUM_GIRLS.percentile.yearly-272ddd57.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-d5bc5ee3.js → HEAD CIRCUM_GIRLS.zscore.monthly-98192dd8.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-693684eb.js → HEAD CIRCUM_GIRLS.zscore.weekly-6231b935.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-35b00260.js → HEAD CIRCUM_GIRLS.zscore.yearly-70027478.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.monthly-f7ad9c3e.js → HEIGHT_BOYS.percentile.monthly-b03b60ce.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.weekly-8fcf287d.js → HEIGHT_BOYS.percentile.weekly-5a2a3a14.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.yearly-1001f097.js → HEIGHT_BOYS.percentile.yearly-d227951f.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.monthly-6c3b613f.js → HEIGHT_BOYS.zscore.monthly-9ce55af5.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.weekly-ad61e4f8.js → HEIGHT_BOYS.zscore.weekly-471ddfcf.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.yearly-0cf9abb3.js → HEIGHT_BOYS.zscore.yearly-6c6e3341.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-cf0aaa04.js → HEIGHT_GIRLS.percentile.monthly-9f957a28.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-31a51ebd.js → HEIGHT_GIRLS.percentile.weekly-4c7ecf30.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-aeaf37a3.js → HEIGHT_GIRLS.percentile.yearly-f53e6122.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-f0f59a83.js → HEIGHT_GIRLS.zscore.monthly-28b34b76.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-fe6a5bd3.js → HEIGHT_GIRLS.zscore.weekly-b7d8e36c.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-ba6b64b0.js → HEIGHT_GIRLS.zscore.yearly-9a0c293f.js} +0 -0
- /package/build/esm/{Onboarding-db0aad29.js → Onboarding-e9addf1e.js} +0 -0
- /package/build/esm/{Visible-7732053a.js → Visible-59e486b9.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.monthly-4d5e7458.js → WEIGHT_BOYS.percentile.monthly-ad918c98.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.weekly-18b6c7bb.js → WEIGHT_BOYS.percentile.weekly-d89f3a29.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.yearly-7f2ab972.js → WEIGHT_BOYS.percentile.yearly-5620d6e6.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.monthly-70bd6d3e.js → WEIGHT_BOYS.zscore.monthly-7e616ce6.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.weekly-edd20b79.js → WEIGHT_BOYS.zscore.weekly-fa6122d2.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.yearly-834cb0b3.js → WEIGHT_BOYS.zscore.yearly-817f6406.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-0eaea462.js → WEIGHT_GIRLS.percentile.monthly-a6c1e952.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-c77d9505.js → WEIGHT_GIRLS.percentile.weekly-a77f6965.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-cde76613.js → WEIGHT_GIRLS.percentile.yearly-bcdd918f.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-e0a8c880.js → WEIGHT_GIRLS.zscore.monthly-78a30cdd.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-e8d15835.js → WEIGHT_GIRLS.zscore.weekly-d11485dc.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-82ed3c48.js → WEIGHT_GIRLS.zscore.yearly-54082e01.js} +0 -0
- /package/build/esm/{constants-21e8c9d5.js → constants-2ab6e604.js} +0 -0
- /package/build/esm/{cookieHelper-a2c54e85.js → cookieHelper-b97400df.js} +0 -0
- /package/build/esm/{index-7b166303.js → index-ece5ee58.js} +0 -0
- /package/build/esm/{isProduction-ea895154.js → isProduction-aba46914.js} +0 -0
- /package/build/esm/{localizeNumberFormat-6deef77b.js → localizeNumberFormat-25d6c939.js} +0 -0
- /package/build/esm/{normalizeLink-7b85244a.js → normalizeLink-022b3387.js} +0 -0
- /package/build/esm/{theme-dba1b74c.js → theme-767314d5.js} +0 -0
- /package/build/esm/{translationsContext-48c78d43.js → translationsContext-f1f9a65f.js} +0 -0
- /package/build/esm/{tslib.es6-7d4256e2.js → tslib.es6-f8281476.js} +0 -0
- /package/build/esm/{types-eb022593.js → types-4a76261a.js} +0 -0
- /package/build/esm/{useIsInit-b5ea5aaa.js → useIsInit-0c9746dc.js} +0 -0
- /package/build/esm/{useOutsideClick-717ef9fc.js → useOutsideClick-be2ddaeb.js} +0 -0
- /package/build/esm/{useScrollbarSize-fff02bb1.js → useScrollbarSize-eef07cc6.js} +0 -0
- /package/build/esm/{useUniqueId-3c9e5754.js → useUniqueId-445c4e5a.js} +0 -0
- /package/build/esm/{utils-1c546527.js → utils-528b09d1.js} +0 -0
- /package/build/{index-771c1b27.js → index-dfb6e4ea.js} +0 -0
- /package/build/{isProduction-bbff0073.js → isProduction-668ab2b8.js} +0 -0
- /package/build/{localizeNumberFormat-b8e4cfe3.js → localizeNumberFormat-c627070d.js} +0 -0
- /package/build/{normalizeLink-7b336aa7.js → normalizeLink-7c1751de.js} +0 -0
- /package/build/{theme-b65701ae.js → theme-21cb6933.js} +0 -0
- /package/build/{translationsContext-9196f7b1.js → translationsContext-6d1cbb1b.js} +0 -0
- /package/build/{tslib.es6-c18725ef.js → tslib.es6-b99f8b94.js} +0 -0
- /package/build/{types-3d0f9add.js → types-14fcaa8e.js} +0 -0
- /package/build/{useIsInit-ed80722c.js → useIsInit-77d1386e.js} +0 -0
- /package/build/{useOutsideClick-8a19f6ab.js → useOutsideClick-26af72dc.js} +0 -0
- /package/build/{useScrollbarSize-726d97ad.js → useScrollbarSize-4bdc3fc9.js} +0 -0
- /package/build/{useUniqueId-bde3b8b5.js → useUniqueId-abc7e881.js} +0 -0
- /package/build/{utils-80d2aa8d.js → utils-d0bf39f0.js} +0 -0
package/build/onboarding.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./tslib.es6-
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./tslib.es6-b99f8b94.js"),t=require("react"),o=require("@mantine/core"),n=require("@mantine/hooks");require("./index.styled-de0cfc3a.js");var r=require("./index-3d433cce.js");require("./gAssets.js"),require("./index-92ac398a.js"),require("./index-de6a4cba.js"),require("./utils-d0bf39f0.js");var a=require("./theme-21cb6933.js");require("./index.styled-cdad5008.js");var i=require("./useTranslations-e1f00e49.js");require("./index-dfb6e4ea.js"),require("./index-c6baf477.js");var l=require("./index-8ca92401.js");require("dayjs"),require("./screenSizeContext-5ddeca2d.js"),require("styled-components");var s=require("./index-864331fa.js");require("./isProduction-668ab2b8.js");var d=require("./Onboarding-d3651df7.js");require("./index-b6919199.js");var u=require("./utils-1fd82192.js");require("lodash/debounce");var c=require("@mantine/form"),m=require("lodash/throttle"),b=require("./index-8716aefd.js"),f=require("date-fns");function p(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}require("./translationsContext-6d1cbb1b.js"),require("string-format"),require("@mantine/dates"),require("@mantine/carousel"),require("./Visible-e1a64d77.js"),require("yup");var g=p(t),E=p(m);const y=({onSubmit:o,phone:l,email:s,onResendCode:d,otpError:m,onClose:f,loading:p,onBack:y,canSkip:S,outOfEdit:h})=>{const{siteType:v,isMarryBaby:O}=t.useContext(u.OnboardingContext),[C,P]=t.useState(30),x=n.useInterval((()=>P((e=>e-1))),1e3),[q,j]=n.useCounter(0,{min:0,max:3}),k=t.useRef(!0),{t:B}=i.useTranslations();t.useEffect((()=>(x.start(),x.stop)),[]),t.useEffect((()=>{0===C&&(x.stop(),k.current=!1)}),[C]);const w=u.useForm({initialValues:{otp:""},validate:c.yupResolver(u.otpSchema(B))});t.useEffect((()=>{m&&w.setFieldError("otp",m)}),[m]);const F=t.useMemo((()=>E.default((()=>{k.current||(j.increment(),P(30),null==d||d(l||s),x.start(),k.current=!0)}),1e3,{trailing:!1})),[l,s,d,x]);return g.default.createElement(u.StyledOtpForm,{heading:B("onboarding.otpForm.heading"),description:g.default.createElement(g.default.Fragment,null,g.default.createElement("span",{dangerouslySetInnerHTML:{__html:l?B("onboarding.otpForm.description",{phone:`<b style="color:${a.theme.colors.gray800}">${l.slice(0,-3).replace(/./g,"x").concat(l.slice(-3))}</b>`}):B("onboarding.otpForm.descriptionEmail",{email:`<b style="color:${a.theme.colors.gray800}">${u.hiddenEmailChar(s)}</b>`})}}),!h&&g.default.createElement("svg",{onClick:()=>{null==y||y()},width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"otp-description-edit-icon"},g.default.createElement("path",{d:"M12.7812 1.33337C12.2987 1.33337 11.8162 1.51712 11.4479 1.88546L10.6667 2.66671L13.3333 5.33337L14.1146 4.55212C14.8506 3.81612 14.8506 2.62212 14.1146 1.88546C13.7463 1.51712 13.2638 1.33337 12.7812 1.33337ZM9.66667 3.66671L2 11.3334V14H4.66667L12.3333 6.33337L9.66667 3.66671Z",fill:"#ADB3BC"})))},g.default.createElement(u.FormProvider,{form:w},g.default.createElement("form",{onSubmit:w.onSubmit((t=>e.__awaiter(void 0,void 0,void 0,(function*(){j.increment(),o(t.otp)}))),(e=>{console.log(e)}))},g.default.createElement(u.DynamicForm,{inputOrder:["otp"]}),g.default.createElement("div",{className:"resend"},g.default.createElement(b.Text,{size:"p4",color:a.theme.colors.gray400},B("onboarding.otpForm.notReceiveOTP")),g.default.createElement(b.Text,{as:"a",size:"p4",color:O?a.theme.mbColors.pink:a.theme.colors.primaryBase,onClick:F},B("onboarding.otpForm.resendCode",{seconds:C}))),g.default.createElement(r.Button,{theme:v,color:"primary",isBlock:!0,size:"lg",type:"submit",isLoading:p,disabled:p,"data-event-category":"Sign Up","data-event-action":"Confirm Phone Number","data-event-label":"undefined"!=typeof window?window.location.href:"",className:"pointer-event-child-none"},B("onboarding.button.continue")),S&&q>=3&&g.default.createElement(r.Button,{theme:v,color:"ghost",isBlock:!0,size:"lg",onClick:f,type:"button"},B("onboarding.button.skip")))))},S=({onClose:e,onSubmit:o,canSkip:n,loading:a,errorMessage:l,initialData:d})=>{const{t:m,locale:b}=i.useTranslations(),{siteType:p,isMarryBaby:E}=t.useContext(u.OnboardingContext),y=u.useForm({validate:c.yupResolver(u.onboardingEmailSchema(m))});return t.useEffect((()=>{y.setValues(Object.assign(Object.assign({gender:"0"},d),(null==d?void 0:d.birthday)&&{birthday:new Date(d.birthday)}))}),[d]),t.useEffect((()=>{l&&y.setFieldError("email",l)}),[l]),g.default.createElement(u.Onboarding,{heading:m("onboarding.formEmail.heading"),description:m("onboarding.formEmail.description",{site:E?"Marry Baby":s.LOCALE_SPECS[b].SITE_NAME_FORMATTED})},g.default.createElement(u.FormProvider,{form:y},g.default.createElement("form",{className:"form",onSubmit:y.onSubmit((e=>{o(Object.assign(Object.assign({},e),{birthday:e.birthday&&f.format(e.birthday,"yyyy-MM-dd")}))}),(e=>{console.log({fieldErrors:e})}))},g.default.createElement(u.DynamicForm,{inputOrder:["full_name","email","dob","gender"]}),g.default.createElement(r.Button,{color:"primary",isBlock:!0,size:"lg",type:"submit",theme:p,isLoading:a,disabled:a},m("onboarding.button.continue")),n&&g.default.createElement(r.Button,{theme:p,color:"ghost",isBlock:!0,size:"lg",onClick:e},m("onboarding.button.skip")))))},h=({onClose:e,onSubmit:t,canSkip:n,errorMessage:a,loading:l})=>{const{t:s}=i.useTranslations(),d=u.useForm({initialValues:{password:"",confirmPassword:""},validate:c.yupResolver(u.onboardingUpdatePasswordSchema(s))});return g.default.createElement(u.Onboarding,{heading:s("onboarding.updatePassword.heading"),description:s("onboarding.updatePassword.description")},g.default.createElement(u.FormProvider,{form:d},g.default.createElement("form",{className:"form",onSubmit:d.onSubmit((e=>t((null==e?void 0:e.password)||"")),(e=>{console.log({fieldErrors:e})}))},g.default.createElement(u.DynamicForm,{inputOrder:["password","confirm_password"]}),g.default.createElement(r.Button,{color:"primary",isBlock:!0,size:"lg",type:"submit",isLoading:l,disabled:l},s("onboarding.button.continue")),n&&g.default.createElement(r.Button,{color:"ghost",isBlock:!0,size:"lg",onClick:e},s("onboarding.button.skip")),a&&g.default.createElement(o.Input.Error,{className:"form-error"},a))))};Object.defineProperty(exports,"OnboardingStep",{enumerable:!0,get:function(){return d.OnboardingStep}}),exports.MAPPED_LOCALE=u.MAPPED_LOCALE,exports.OnboardingForm=u.OnboardingForm,exports.OnboardingModal=s=>{var{banner:c,canSkip:m,createPassError:b,createPassLoading:f,customFormTexts:p,emailLoading:E,flow:v=[d.OnboardingStep.Phone,d.OnboardingStep.OTP],initialData:O,onClose:C,onCreatePassByEmail:P,onOtpSubmit:x,onPersonalInfoSubmit:q,onPhoneSubmit:j,onResendCode:k,otpError:B,otpLoading:w,personalInfoError:F,resultScreenProps:T,siteType:_,step:L}=s,M=e.__rest(s,["banner","canSkip","createPassError","createPassLoading","customFormTexts","emailLoading","flow","initialData","onClose","onCreatePassByEmail","onOtpSubmit","onPersonalInfoSubmit","onPhoneSubmit","onResendCode","otpError","otpLoading","personalInfoError","resultScreenProps","siteType","step"]);const{t:I}=i.useTranslations(),[z,D]=t.useState(L||v[0]),[R,A]=t.useState(""),[N,V]=t.useState(""),[$,U]=n.useCounter(0,{min:0,max:2}),H=t.useCallback((()=>{const e=v.indexOf(z)+1;e<=v.length-1&&D(v[e])}),[z]),Z=t.useCallback((()=>{const e=v.indexOf(z)-1;e>=0&&D(v[e])}),[z]),G=t=>e.__awaiter(void 0,void 0,void 0,(function*(){try{!(yield x(t))&&H()}catch(e){console.error(e)}})),J=()=>{$>=2||(U.increment(),Z())},K="marryBaby"===_;return g.default.createElement(u.OnboardingContext.Provider,{value:{siteType:_,isMarryBaby:K}},g.default.createElement(u.StyledOnboardingModal,Object.assign({},M),v.length>0?g.default.createElement(u.StyledContainer,null,g.default.createElement(u.StyledContent,{"data-has-banner":"object"==typeof c},z===d.OnboardingStep.Phone&&g.default.createElement(u.OnboardingForm,{onClose:C,canSkip:m,onSubmit:t=>e.__awaiter(void 0,void 0,void 0,(function*(){try{A(t),yield null==j?void 0:j(t),H()}catch(e){console.error(e)}})),customFormTexts:p.onboarding}),z===d.OnboardingStep.OTP&&g.default.createElement(y,{onClose:C,onSubmit:G,phone:R,onResendCode:k,otpError:B,loading:w,canSkip:m,onBack:J,outOfEdit:$>=2}),z===d.OnboardingStep.OTPEmail&&g.default.createElement(y,{onClose:C,onSubmit:G,onResendCode:k,otpError:B,loading:w,canSkip:m,onBack:J,outOfEdit:$>=2,email:N}),z===d.OnboardingStep.PersonalInfo&&g.default.createElement(S,{initialData:null==O?void 0:O[d.OnboardingStep.PersonalInfo],onClose:C,canSkip:m,onSubmit:t=>e.__awaiter(void 0,void 0,void 0,(function*(){try{V((null==t?void 0:t.email)||"");!(yield null==q?void 0:q(t))&&H()}catch(e){console.error(e)}})),errorMessage:F,loading:E}),z===d.OnboardingStep.UpdatePassword&&g.default.createElement(h,{onClose:C,canSkip:m,onSubmit:t=>e.__awaiter(void 0,void 0,void 0,(function*(){try{yield null==P?void 0:P(t),!b&&H()}catch(e){console.error(e)}})),errorMessage:b,loading:f}),z===d.OnboardingStep.Result&&g.default.createElement(u.Onboarding,Object.assign({},T),g.default.createElement(r.Button,{theme:_,size:"lg",onClick:C,className:"form-button"},I("onboarding.button.continue")))),"object"==typeof c&&g.default.createElement(u.StyledBannerCol,null,g.default.createElement(u.StyledBannerInner,{"data-is-marry-baby":K},g.default.createElement(u.StyledIntro,null,(null==c?void 0:c.heading)&&g.default.createElement(o.Title,{order:1,mb:24},null==c?void 0:c.heading),(null==c?void 0:c.description)&&g.default.createElement(l.Text,{size:"p1",color:a.theme.colors.gray800},I("onboarding.welcomeScreen.content"))),(null==c?void 0:c.imgSrc)&&g.default.createElement("div",null,g.default.createElement(u.StyledBannerImg,{src:null==c?void 0:c.imgSrc,loading:"lazy"}))))):"Incorrect flow"))},exports.OtpForm=y;
|
package/build/pwg.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react"),t=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react"),t=require("./index-a97e86f3.js"),a=require("./index-8716aefd.js"),r=require("./index-be800c5d.js"),l=require("./useTranslations-e1f00e49.js"),n=require("./theme-21cb6933.js"),o=require("recharts"),i=require("./index-dfb6e4ea.js"),s=require("./useOutsideClick-26af72dc.js"),c=require("styled-components"),d=require("./tslib.es6-b99f8b94.js");function u(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}require("./index.styled-cdad5008.js"),require("./Onboarding-d3651df7.js"),require("./index.styled-a1f5e0c2.js"),require("./gAssets.js"),require("./index-864331fa.js"),require("./isProduction-668ab2b8.js"),require("./index-b6919199.js"),require("@mantine/carousel"),require("@mantine/core"),require("@mantine/hooks"),require("./translationsContext-6d1cbb1b.js"),require("string-format");var m=u(e),f=u(c);const p=e=>{const{x:t,y:a,payload:r,activeWeek:l}=e;return l===r.value?m.default.createElement("g",{transform:`translate(${t},${a})`},m.default.createElement("circle",{r:12,fill:"marryBaby"===e.siteType?n.theme.mbColors.pink:n.theme.colors.primaryBase}),m.default.createElement("text",{textAnchor:"middle",alignmentBaseline:"central",fill:n.theme.colors.white,fontFamily:"Inter",fontWeight:"600",fontSize:"12px"},r.value)):m.default.createElement("g",{transform:`translate(${t},${a})`},m.default.createElement("text",{textAnchor:"middle",alignmentBaseline:"central",fill:n.theme.colors.gray600,fontFamily:"Inter",fontWeight:"400",fontSize:"12px"},r.value))},g=f.default.div`
|
|
2
2
|
/* position: absolute; */
|
|
3
3
|
display: flex;
|
|
4
4
|
flex-direction: column;
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
border-radius: 2px;
|
|
33
33
|
background: #ffffff;
|
|
34
34
|
}
|
|
35
|
-
`,
|
|
35
|
+
`,h=f.default.div`
|
|
36
36
|
position: relative;
|
|
37
37
|
width: 100%;
|
|
38
38
|
.custom-chart-label {
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
display: flex;
|
|
46
46
|
justify-content: space-between;
|
|
47
47
|
}
|
|
48
|
-
`,
|
|
48
|
+
`,y=f.default.div`
|
|
49
49
|
display: flex;
|
|
50
50
|
gap: 40px;
|
|
51
51
|
justify-content: center;
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
align-items: center;
|
|
56
56
|
gap: 4px;
|
|
57
57
|
}
|
|
58
|
-
`,
|
|
58
|
+
`,b=[{name:"overweight",backgroundColor:n.theme.colors.yellow50,color:n.theme.colors.yellow900},{name:"underweight",backgroundColor:n.theme.colors.yellow50,color:n.theme.colors.yellow900},{name:"healthy",backgroundColor:n.theme.colors.green50,color:n.theme.colors.green900}],x=t=>{var r,l,o,i,s;const{payload:c,active:d}=t,u=null===(r=null==c?void 0:c[0])||void 0===r?void 0:r.payload;if(!u||!u.toolTipLabel||!d)return null;const{backgroundColor:f,color:p}=e.useMemo((()=>b.find((e=>e.name===u.status))),[null==u?void 0:u.status]);return m.default.createElement(g,null,m.default.createElement("div",null,null===(l=u.toolTipLabel)||void 0===l?void 0:l[0]," ",null===(o=u.toolTipLabel)||void 0===o?void 0:o[1]),m.default.createElement("div",null,(null===(i=u.toolTipLabel)||void 0===i?void 0:i[2])&&m.default.createElement(a.Text,{as:"span",size:"s3",color:n.theme.colors.gray800,type:"semiBold"},null===(s=u.toolTipLabel)||void 0===s?void 0:s[2]),m.default.createElement("div",{className:"risk",style:{backgroundColor:f}},m.default.createElement(a.Text,{size:"n1",color:p},u.translatedStatus))))},E=({weightByWeek:e,weightBefore:t,toolTipLabel:a,status:r,activeWeek:l,t:n})=>{const o=n(`bmi.result.${r}`);return e.map((e=>Object.assign({name:e.week,min:t+e.min,difference:e.max-e.min,max:t+e.max},e.week===l?{toolTipLabel:a,translatedStatus:o,status:r}:{})))},k=({weightBefore:r,weightByWeek:c,activeWeek:d,currentWeight:u,toolTipLabel:f=[],status:g,withLine:y=!1,siteType:b})=>{const{t:k}=l.useTranslations(),v="marryBaby"===b,w=e.useMemo((()=>E({weightByWeek:c,weightBefore:r,toolTipLabel:f,status:g,activeWeek:d,t:k})),[c,r,f,g,d]),[T,C]=e.useState(!1),j=e.useRef(null);return s.useOutsideClick(j,(()=>C(!1))),m.default.createElement(h,null,v?m.default.createElement(t.MarryBabyText,{type:"bodytext-3",color:n.theme.mbColors.dark}," ",k("babyGrowth.weight")," ",k("pregnancyWeightGain.weightInput.desc")):m.default.createElement(a.Text,{size:"n1",color:n.theme.colors.gray500},k("babyGrowth.weight")," ",k("pregnancyWeightGain.weightInput.desc")),Array.isArray(w)&&w.length>0&&m.default.createElement(h,null,m.default.createElement(o.ResponsiveContainer,{height:388,className:"chart"},m.default.createElement(o.AreaChart,{data:w,margin:{top:16,right:0,left:0}},m.default.createElement(o.CartesianGrid,{stroke:n.theme.colors.neutral100}),m.default.createElement(o.Tooltip,{trigger:"click",content:e=>m.default.createElement(x,Object.assign({active:!y&&T&&void 0!==d&&void 0!==u},e))}),m.default.createElement(o.XAxis,{type:"number",scale:"linear",ticks:Array.from({length:40},((e,t)=>t+1)),dataKey:"name",tickLine:!1,tickMargin:12,tick:e=>m.default.createElement(p,Object.assign({},e,{activeWeek:d,siteType:b})),domain:["dataMin","dataMax"],interval:"preserveStartEnd",tickCount:1,allowDecimals:!1}),m.default.createElement(o.YAxis,{domain:[e=>Math.max(e,r-10||e),e=>Math.max(e,r+20||e)],type:"number",scale:"auto",interval:"preserveStartEnd",tickLine:!1,tickMargin:7,width:45,tickCount:10,allowDecimals:!0,tickFormatter:e=>String(Math.round(100*(e+Number.EPSILON))/100),tick:{fontFamily:"Inter",fontWeight:400,fontSize:12,color:n.theme.colors.gray600}}),m.default.createElement(o.Area,{connectNulls:!0,type:"monotone",dataKey:"min",stackId:"1",stroke:"transparent",fill:"transparent"}),m.default.createElement(o.Area,{connectNulls:!0,type:"monotone",dataKey:"difference",stackId:"1",stroke:"transparent",fill:v?n.theme.mbColors.tonePink:n.theme.colors.primary100}),void 0!==d&&void 0!==u&&m.default.createElement(o.ReferenceDot,{onClick:()=>C(!0),x:0===d?1:d,y:u,r:4,shape:m.default.createElement(i.CustomReferenceDot,{ref:j,r:4}),fill:v?n.theme.mbColors.pink:n.theme.colors.primaryBase,stroke:v?n.theme.mbColors.pink:n.theme.colors.primaryBase}))),m.default.createElement("div",{className:"custom-chart-label"},m.default.createElement("i",null),v?m.default.createElement(t.MarryBabyText,{type:"bodytext-3",color:n.theme.mbColors.dark},k("pregnancy.week")):m.default.createElement(a.Text,{size:"n1",color:n.theme.colors.gray500},k("pregnancy.week")))))},v=e=>{var{color:t}=e,a=d.__rest(e,["color"]);return m.default.createElement("svg",Object.assign({width:"8",height:"8",viewBox:"0 0 8 8",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a),m.default.createElement("circle",{cx:"4",cy:"4",r:"4",fill:t||n.theme.colors.primaryBase}))},w=({idealWeight:e,siteType:r})=>{const{t:o}=l.useTranslations(),i="marryBaby"===r;return m.default.createElement(y,null,m.default.createElement("div",null,i?m.default.createElement(m.default.Fragment,null,m.default.createElement(v,{color:n.theme.mbColors.lightPink}),m.default.createElement(t.MarryBabyText,{type:"bodytext-3",color:n.theme.mbColors.dark},o("pregnancyTool.weightSuggested")," ",m.default.createElement(a.Text,{size:"n1",color:n.theme.colors.gray800,type:"bold",as:"span"},e))):m.default.createElement(m.default.Fragment,null,m.default.createElement(v,{color:n.theme.colors.primary100}),m.default.createElement(a.Text,{size:"n1",color:n.theme.colors.gray600},m.default.createElement(a.Text,{size:"n1",as:"span"},o("pregnancyTool.weightSuggested")," "),m.default.createElement(a.Text,{size:"n1",color:n.theme.colors.gray800,type:"bold",as:"span"},e)))),m.default.createElement("div",null,i?m.default.createElement(m.default.Fragment,null,m.default.createElement(v,{color:n.theme.mbColors.pink}),m.default.createElement(t.MarryBabyText,{type:"bodytext-3",color:n.theme.mbColors.dark},o("pwg.placeholder.weight"))):m.default.createElement(m.default.Fragment,null,m.default.createElement(v,null),m.default.createElement(a.Text,{size:"n1",color:n.theme.colors.gray600},o("pwg.placeholder.weight")))))},T=f.default.div`
|
|
59
59
|
display: flex;
|
|
60
60
|
flex-direction: column;
|
|
61
61
|
align-items: center;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("./index-
|
|
1
|
+
"use strict";var e=require("./index-864331fa.js"),o=require("./isProduction-668ab2b8.js");exports.getCareApiDomain=()=>process.env.UNIFY_CARE_API||`https://${o.isProduction?"health-care.":"service-health-care."}hellohealthgroup.com`,exports.getCurrentBaseUrl=(t,r)=>{if("undefined"!=typeof window)return window.location.origin;const s="development"===process.env.NEXT_PUBLIC_DEPLOY_ENV,i=!s&&!o.isProduction;return s?"http://localhost:3000":`https://${i?r?"fe.":"discover.":r?"www.":""}${e.domainLocales[r?"vi-VN_MB":t]}`},exports.getCurrentSsoUrl=(t,r)=>process.env.UNIFY_SSO_API||`https://${o.isProduction?"id.":"staging-id."}${e.domainLocales[r?"vi-VN_MB":t]}`,exports.getDiscoverApiDomain=t=>process.env.UNIFY_DISCOVER_API||`https://${o.isProduction?"wp.":"staging."}${e.domainLocales[t]}`,exports.getTogetherApiDomain=()=>process.env.UNIFY_TOGETHER_API||`https://${o.isProduction?"together.":"staging-together."}hellohealthgroup.com`;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var t=require("styled-components"),e=require("react"),r=require("lodash/throttle"),s=require("./utils-
|
|
1
|
+
"use strict";var t=require("styled-components"),e=require("react"),r=require("lodash/throttle"),s=require("./utils-d0bf39f0.js");function i(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var n=i(e),o=i(r);const a=t.keyframes`
|
|
2
2
|
from {
|
|
3
3
|
transform: translate3d(0, 100%, 0);
|
|
4
4
|
visibility: visible;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CSSProperties } from 'react';
|
|
1
|
+
import React, { CSSProperties } from 'react';
|
|
2
2
|
export type Props = {
|
|
3
3
|
title?: string;
|
|
4
4
|
url: string;
|
|
@@ -8,5 +8,5 @@ export type Props = {
|
|
|
8
8
|
noRefetch?: boolean;
|
|
9
9
|
style?: CSSProperties;
|
|
10
10
|
};
|
|
11
|
-
declare const CardLink: ({ title, url, image, logo, className, style, noRefetch, }: Props) => JSX.Element;
|
|
11
|
+
declare const CardLink: ({ title, url, image, logo, className, style, noRefetch, }: Props) => React.JSX.Element;
|
|
12
12
|
export { CardLink };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { HTMLAttributes, ReactNode } from 'react';
|
|
1
|
+
import React, { HTMLAttributes, ReactNode } from 'react';
|
|
2
2
|
export type Props = {
|
|
3
3
|
children?: ReactNode;
|
|
4
4
|
} & HTMLAttributes<HTMLDivElement>;
|
|
5
|
-
declare const LikeWrapper: ({ children, className }: Props) => JSX.Element;
|
|
6
|
-
declare const ShareWrapper: ({ children, className }: Props) => JSX.Element;
|
|
7
|
-
declare const CommentWrapper: ({ children, className }: Props) => JSX.Element;
|
|
5
|
+
declare const LikeWrapper: ({ children, className }: Props) => React.JSX.Element;
|
|
6
|
+
declare const ShareWrapper: ({ children, className }: Props) => React.JSX.Element;
|
|
7
|
+
declare const CommentWrapper: ({ children, className }: Props) => React.JSX.Element;
|
|
8
8
|
export { LikeWrapper, ShareWrapper, CommentWrapper };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CSSProperties, ReactNode } from 'react';
|
|
1
|
+
import React, { CSSProperties, ReactNode } from 'react';
|
|
2
2
|
export declare enum CardReactionType {
|
|
3
3
|
post = 1,
|
|
4
4
|
reply = 2
|
|
@@ -26,9 +26,9 @@ export type Props = {
|
|
|
26
26
|
children?: ReactNode;
|
|
27
27
|
};
|
|
28
28
|
declare const CardReactions: {
|
|
29
|
-
({ type, loveCount, replyCount, replyPadding, liked, isReplied, onCommentClick, onLikeClick,
|
|
30
|
-
LikeWrapper: ({ children, className }: import("./element").Props) => JSX.Element;
|
|
31
|
-
ShareWrapper: ({ children, className }: import("./element").Props) => JSX.Element;
|
|
32
|
-
CommentWrapper: ({ children, className }: import("./element").Props) => JSX.Element;
|
|
29
|
+
({ type, loveCount, replyCount, replyPadding, liked, isReplied, onCommentClick, onLikeClick, onShareClick, className, style, hideCommentIcon, showingMostEngaging, isMarryBaby: isMarryBabyInit, hasShare, hasCountLike, trackingCategory, trackingLabel, children, ...rest }: Props): React.JSX.Element;
|
|
30
|
+
LikeWrapper: ({ children, className }: import("./element").Props) => React.JSX.Element;
|
|
31
|
+
ShareWrapper: ({ children, className }: import("./element").Props) => React.JSX.Element;
|
|
32
|
+
CommentWrapper: ({ children, className }: import("./element").Props) => React.JSX.Element;
|
|
33
33
|
};
|
|
34
34
|
export { CardReactions };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CSSProperties, ReactNode } from 'react';
|
|
1
|
+
import React, { CSSProperties, ReactNode } from 'react';
|
|
2
2
|
export type Props = {
|
|
3
3
|
label: ReactNode;
|
|
4
4
|
rightLabel?: ReactNode;
|
|
@@ -7,5 +7,5 @@ export type Props = {
|
|
|
7
7
|
className?: string;
|
|
8
8
|
style?: CSSProperties;
|
|
9
9
|
};
|
|
10
|
-
declare const LabelSortPin: ({ label, rightLabel, onClick, color, className, style, }: Props) => JSX.Element;
|
|
10
|
+
declare const LabelSortPin: ({ label, rightLabel, onClick, color, className, style, }: Props) => React.JSX.Element;
|
|
11
11
|
export { LabelSortPin };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { CSSProperties } from 'react';
|
|
1
|
+
import React, { CSSProperties } from 'react';
|
|
2
2
|
export type Props = {
|
|
3
3
|
onClick?: () => void;
|
|
4
4
|
color?: 'gray' | 'white';
|
|
5
5
|
className?: string;
|
|
6
6
|
style?: CSSProperties;
|
|
7
7
|
};
|
|
8
|
-
declare const LabelPin: ({ onClick, color, className, style }: Props) => JSX.Element;
|
|
8
|
+
declare const LabelPin: ({ onClick, color, className, style }: Props) => React.JSX.Element;
|
|
9
9
|
export { LabelPin };
|
|
@@ -18,7 +18,7 @@ export type Props = {
|
|
|
18
18
|
value?: LabelSortingValue;
|
|
19
19
|
choices?: ChoiceItem[];
|
|
20
20
|
};
|
|
21
|
-
export declare const LabelSorting: ({ onChange, className, style, leftLabel, rightLabel, color, value, choices, }: Props) => JSX.Element;
|
|
21
|
+
export declare const LabelSorting: ({ onChange, className, style, leftLabel, rightLabel, color, value, choices, }: Props) => React.JSX.Element;
|
|
22
22
|
export declare const useSortChoices: (choices: ChoiceItem[]) => {
|
|
23
23
|
setSortChoiceValue: React.Dispatch<React.SetStateAction<LabelSortingValue>>;
|
|
24
24
|
selectedSortChoice: ChoiceItem;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
export type Props = {
|
|
3
3
|
size?: 'lg' | 'md' | 'sm';
|
|
4
4
|
className?: string;
|
|
5
5
|
};
|
|
6
|
-
declare const Loading: ({ className, size }: Props) => JSX.Element;
|
|
6
|
+
declare const Loading: ({ className, size }: Props) => React.JSX.Element;
|
|
7
7
|
export { Loading };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { CSSProperties } from 'react';
|
|
1
|
+
import React, { CSSProperties } from 'react';
|
|
2
2
|
export type Props = {
|
|
3
3
|
className?: string;
|
|
4
4
|
style?: CSSProperties;
|
|
5
5
|
};
|
|
6
|
-
declare const LoadingCard: ({ className, style }: Props) => JSX.Element;
|
|
6
|
+
declare const LoadingCard: ({ className, style }: Props) => React.JSX.Element;
|
|
7
7
|
export { LoadingCard };
|
|
@@ -5,5 +5,5 @@ export type Props = {
|
|
|
5
5
|
bgColor?: string;
|
|
6
6
|
highlightColor?: string;
|
|
7
7
|
};
|
|
8
|
-
declare const NotificationBar: ({ icon, bgColor, highlightColor, message, ...rest }: Props) => JSX.Element;
|
|
8
|
+
declare const NotificationBar: ({ icon, bgColor, highlightColor, message, ...rest }: Props) => React.JSX.Element;
|
|
9
9
|
export { NotificationBar };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
export type Props = {
|
|
3
3
|
image: string;
|
|
4
4
|
isLineDrop?: boolean;
|
|
@@ -8,5 +8,5 @@ export type Props = {
|
|
|
8
8
|
hideTitle?: boolean;
|
|
9
9
|
hideButton?: boolean;
|
|
10
10
|
};
|
|
11
|
-
declare const SensitiveMask: ({ image, showIcon }: Props) => JSX.Element;
|
|
11
|
+
declare const SensitiveMask: ({ image, showIcon }: Props) => React.JSX.Element;
|
|
12
12
|
export { SensitiveMask };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CSSProperties } from 'react';
|
|
1
|
+
import React, { CSSProperties } from 'react';
|
|
2
2
|
import { DefaultProps, Selectors } from '@mantine/core';
|
|
3
3
|
import { Topic } from '../../../interfaces/types';
|
|
4
4
|
type MyComponentStylesNames = Selectors<typeof useStyles>;
|
|
@@ -15,5 +15,5 @@ declare const useStyles: (params: void, options?: import("@mantine/core").UseSty
|
|
|
15
15
|
cx: (...args: any) => string;
|
|
16
16
|
theme: import("@mantine/core").MantineTheme;
|
|
17
17
|
};
|
|
18
|
-
declare const TagTopic: ({ topics, onClick, className, style, trackingCategory, locale, classNames, styles, unstyled, ...rest }: TagTopicProps) => JSX.Element;
|
|
18
|
+
declare const TagTopic: ({ topics, onClick, className, style, trackingCategory, locale, classNames, styles, unstyled, ...rest }: TagTopicProps) => React.JSX.Element;
|
|
19
19
|
export { TagTopic };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CSSProperties, HTMLAttributes } from 'react';
|
|
1
|
+
import React, { CSSProperties, HTMLAttributes } from 'react';
|
|
2
2
|
export type Props = {
|
|
3
3
|
size?: number;
|
|
4
4
|
style?: CSSProperties;
|
|
@@ -7,5 +7,5 @@ export type Props = {
|
|
|
7
7
|
username?: string;
|
|
8
8
|
isMarryBaby?: boolean;
|
|
9
9
|
} & HTMLAttributes<HTMLDivElement>;
|
|
10
|
-
declare const UserAvatar: ({ className, isMarryBaby: isMarryBabyProp, style, avatar, username, size, ...rest }: Props) => JSX.Element;
|
|
10
|
+
declare const UserAvatar: ({ className, isMarryBaby: isMarryBabyProp, style, avatar, username, size, ...rest }: Props) => React.JSX.Element;
|
|
11
11
|
export { UserAvatar };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { HTMLAttributes, ReactNode } from 'react';
|
|
1
|
+
import React, { HTMLAttributes, ReactNode } from 'react';
|
|
2
2
|
import { DefaultProps, Selectors } from '@mantine/core';
|
|
3
3
|
import { DataTrackingType, SiteType } from "../../../../interfaces/types";
|
|
4
|
+
import useStyles from './index.styles';
|
|
4
5
|
import { Community, Role } from '../../../interfaces/types';
|
|
5
6
|
import { Props as UserAvatarProps } from '../../atoms/userAvatar';
|
|
6
7
|
import type { ProfileDetailProps } from '../profileDetail';
|
|
7
|
-
import useStyles from './index.styles';
|
|
8
8
|
type MyComponentStylesNames = Selectors<typeof useStyles>;
|
|
9
9
|
export interface Props extends DefaultProps<MyComponentStylesNames, HTMLAttributes<HTMLDivElement>> {
|
|
10
10
|
userId?: number | string;
|
|
@@ -51,13 +51,13 @@ export type CardAuthorContextProps = {
|
|
|
51
51
|
currentUrl: string;
|
|
52
52
|
};
|
|
53
53
|
declare const CardAuthor: {
|
|
54
|
-
(props: Props): JSX.Element;
|
|
54
|
+
(props: Props): React.JSX.Element;
|
|
55
55
|
BookingBtn: ({ siteType }: {
|
|
56
56
|
siteType?: SiteType;
|
|
57
|
-
}) => JSX.Element;
|
|
58
|
-
MainText: ({ children, className }: import("../../../../components/ui/cardAuthor/element").Props) => JSX.Element;
|
|
59
|
-
SubText: ({ children, className }: import("../../../../components/ui/cardAuthor/element").Props) => JSX.Element;
|
|
60
|
-
SubTextRow: ({ children, className }: import("../../../../components/ui/cardAuthor/element").Props) => JSX.Element;
|
|
61
|
-
SubDivider: ({ className }: import("../../../../components/ui/cardAuthor/element").Props) => JSX.Element;
|
|
57
|
+
}) => React.JSX.Element;
|
|
58
|
+
MainText: ({ children, className }: import("../../../../components/ui/cardAuthor/element").Props) => React.JSX.Element;
|
|
59
|
+
SubText: ({ children, className }: import("../../../../components/ui/cardAuthor/element").Props) => React.JSX.Element;
|
|
60
|
+
SubTextRow: ({ children, className }: import("../../../../components/ui/cardAuthor/element").Props) => React.JSX.Element;
|
|
61
|
+
SubDivider: ({ className }: import("../../../../components/ui/cardAuthor/element").Props) => React.JSX.Element;
|
|
62
62
|
};
|
|
63
63
|
export { CardAuthor };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CSSProperties } from 'react';
|
|
1
|
+
import React, { CSSProperties } from 'react';
|
|
2
2
|
import { Community, Post, Topic } from '../../../interfaces/types';
|
|
3
3
|
export type Props = {
|
|
4
4
|
className?: string;
|
|
@@ -18,4 +18,4 @@ export type Props = {
|
|
|
18
18
|
selectAskDoctor?: boolean;
|
|
19
19
|
showAskDoctorOptions?: boolean;
|
|
20
20
|
};
|
|
21
|
-
export declare const CreateNewPostContent: ({ className, style, onPostCreatedEdited, onClose, communities, forceSelectCommunity, forceSelectTopics, articleId, optionalTopic, editPostData, defaultCommunity, defaultTopics, noFetchTopic, hideTopicList, selectAskDoctor, showAskDoctorOptions, }: Props) => JSX.Element;
|
|
21
|
+
export declare const CreateNewPostContent: ({ className, style, onPostCreatedEdited, onClose, communities, forceSelectCommunity, forceSelectTopics, articleId, optionalTopic, editPostData, defaultCommunity, defaultTopics, noFetchTopic, hideTopicList, selectAskDoctor, showAskDoctorOptions, }: Props) => React.JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CSSProperties } from 'react';
|
|
1
|
+
import React, { CSSProperties } from 'react';
|
|
2
2
|
export type Props = {
|
|
3
3
|
html?: string;
|
|
4
4
|
onChange?: (s: string) => void;
|
|
@@ -16,5 +16,5 @@ export type Props = {
|
|
|
16
16
|
setEditorRef?: (editor: HTMLElement) => void;
|
|
17
17
|
isReplying?: boolean;
|
|
18
18
|
};
|
|
19
|
-
export declare const RichTextEditor: ({ html, onChange, className, style, onImagePickerClick, bannedWords, onInvalidUrlsChange, onPreviewUrlChange, setEditorRef, isReplying, }: Props) => JSX.Element;
|
|
19
|
+
export declare const RichTextEditor: ({ html, onChange, className, style, onImagePickerClick, bannedWords, onInvalidUrlsChange, onPreviewUrlChange, setEditorRef, isReplying, }: Props) => React.JSX.Element;
|
|
20
20
|
export default RichTextEditor;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CSSProperties } from 'react';
|
|
1
|
+
import React, { CSSProperties } from 'react';
|
|
2
2
|
export type Props = {
|
|
3
3
|
className?: string;
|
|
4
4
|
style?: CSSProperties;
|
|
@@ -16,4 +16,4 @@ export type Props = {
|
|
|
16
16
|
onImageFilesChange?: (v: (File | string)[]) => void;
|
|
17
17
|
isReplying?: boolean;
|
|
18
18
|
};
|
|
19
|
-
export declare const CreatePostDescription: ({ className, style, bannedWords, value, onChange, onPreviewUrlChange, onInvalidUrlsChange, onImageFilesChange, imageFiles: imageFilesProp, isReplying, }: Props) => JSX.Element;
|
|
19
|
+
export declare const CreatePostDescription: ({ className, style, bannedWords, value, onChange, onPreviewUrlChange, onInvalidUrlsChange, onImageFilesChange, imageFiles: imageFilesProp, isReplying, }: Props) => React.JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CSSProperties } from 'react';
|
|
1
|
+
import React, { CSSProperties } from 'react';
|
|
2
2
|
export type Props = {
|
|
3
3
|
className?: string;
|
|
4
4
|
style?: CSSProperties;
|
|
@@ -6,4 +6,4 @@ export type Props = {
|
|
|
6
6
|
value?: string;
|
|
7
7
|
onChange?: (v: string) => void;
|
|
8
8
|
};
|
|
9
|
-
export declare const CreatePostTitle: ({ className, style, bannedWords, value, onChange, }: Props) => JSX.Element;
|
|
9
|
+
export declare const CreatePostTitle: ({ className, style, bannedWords, value, onChange, }: Props) => React.JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CSSProperties } from 'react';
|
|
1
|
+
import React, { CSSProperties } from 'react';
|
|
2
2
|
import { Comment, Post, UserInfo } from '../../../interfaces/types';
|
|
3
3
|
export type Props = {
|
|
4
4
|
className?: string;
|
|
@@ -15,5 +15,5 @@ export type Props = {
|
|
|
15
15
|
isReply?: boolean;
|
|
16
16
|
isMarryBaby?: boolean;
|
|
17
17
|
};
|
|
18
|
-
declare const InputCommentBar: ({ isReply, className, onClose, replyToName, style, replyingId, replyingUser, onPostSuccess,
|
|
18
|
+
declare const InputCommentBar: ({ isReply, className, onClose, replyToName, style, replyingId, replyingUser, onPostSuccess, post, isMarryBaby: isMarryBabyProp, }: Props) => React.JSX.Element;
|
|
19
19
|
export { InputCommentBar };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import { LocaleType } from "../../../../interfaces/types";
|
|
3
3
|
import { DoctorInfo } from "../../../interfaces/types";
|
|
4
4
|
export type Props = {
|
|
@@ -12,5 +12,5 @@ export type Props = {
|
|
|
12
12
|
avatarFallback?: string;
|
|
13
13
|
trackingCategory?: string;
|
|
14
14
|
};
|
|
15
|
-
declare const PopupDoctor: ({ isOpen, onClose, enableAnimation, doctorId, locale, isMobile, overwriteProfileProps, avatarFallback, trackingCategory, }: Props) => JSX.Element;
|
|
15
|
+
declare const PopupDoctor: ({ isOpen, onClose, enableAnimation, doctorId, locale, isMobile, overwriteProfileProps, avatarFallback, trackingCategory, }: Props) => React.JSX.Element;
|
|
16
16
|
export { PopupDoctor };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
export type Experience = {
|
|
3
3
|
title: string;
|
|
4
4
|
organization: string;
|
|
@@ -25,5 +25,5 @@ export type Props = {
|
|
|
25
25
|
overwriteProfileProps?: ExpertInfo;
|
|
26
26
|
avatarFallback?: string;
|
|
27
27
|
};
|
|
28
|
-
declare const PopupExpert: ({ trackingCategory, locale, isOpen, onClose, enableAnimation, expertId, overwriteProfileProps, avatarFallback, }: Props) => JSX.Element;
|
|
28
|
+
declare const PopupExpert: ({ trackingCategory, locale, isOpen, onClose, enableAnimation, expertId, overwriteProfileProps, avatarFallback, }: Props) => React.JSX.Element;
|
|
29
29
|
export { PopupExpert };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CSSProperties, ReactNode } from 'react';
|
|
1
|
+
import React, { CSSProperties, ReactNode } from 'react';
|
|
2
2
|
export type Props = {
|
|
3
3
|
className?: string;
|
|
4
4
|
style?: CSSProperties;
|
|
@@ -9,4 +9,4 @@ export type Props = {
|
|
|
9
9
|
hasFullscreen?: boolean;
|
|
10
10
|
onClose?: () => void;
|
|
11
11
|
};
|
|
12
|
-
export declare const PopupFrame: ({ className, style, closeIcon, heading, children, isOpen, hasFullscreen, onClose, }: Props) => JSX.Element;
|
|
12
|
+
export declare const PopupFrame: ({ className, style, closeIcon, heading, children, isOpen, hasFullscreen, onClose, }: Props) => React.JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CSSProperties } from 'react';
|
|
1
|
+
import React, { CSSProperties } from 'react';
|
|
2
2
|
export type Props = {
|
|
3
3
|
trackingCategory?: string;
|
|
4
4
|
className?: string;
|
|
@@ -8,5 +8,5 @@ export type Props = {
|
|
|
8
8
|
text?: string;
|
|
9
9
|
onClose?: () => void;
|
|
10
10
|
};
|
|
11
|
-
export declare const SharePopup: ({ trackingCategory, className, style, url, avatar, text, onClose, }: Props) => JSX.Element;
|
|
11
|
+
export declare const SharePopup: ({ trackingCategory, className, style, url, avatar, text, onClose, }: Props) => React.JSX.Element;
|
|
12
12
|
export declare const StyledSharePopup: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import { LocaleType } from "../../../../interfaces/types";
|
|
3
3
|
export type Specialy = {
|
|
4
4
|
id: string;
|
|
@@ -29,5 +29,5 @@ export type Props = {
|
|
|
29
29
|
avatarFallback?: string;
|
|
30
30
|
trackingCategory?: string;
|
|
31
31
|
};
|
|
32
|
-
declare const PopupHospital: ({ isOpen, onClose, enableAnimation, hospitalId, locale, isMobile, overwriteProfileProps, avatarFallback, trackingCategory, }: Props) => JSX.Element;
|
|
32
|
+
declare const PopupHospital: ({ isOpen, onClose, enableAnimation, hospitalId, locale, isMobile, overwriteProfileProps, avatarFallback, trackingCategory, }: Props) => React.JSX.Element;
|
|
33
33
|
export { PopupHospital };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { HTMLAttributes, MouseEventHandler } from 'react';
|
|
1
|
+
import React, { HTMLAttributes, MouseEventHandler } from 'react';
|
|
2
2
|
import { DefaultProps, Selectors } from '@mantine/core';
|
|
3
3
|
import { UserInfo } from 'together/interfaces/types';
|
|
4
4
|
import useStyles from './index.styles';
|
|
@@ -18,5 +18,5 @@ export interface Props extends DefaultProps<MyComponentStylesNames, HTMLAttribut
|
|
|
18
18
|
hideShowAllBtn?: boolean;
|
|
19
19
|
onClick?: MouseEventHandler<HTMLDivElement>;
|
|
20
20
|
}
|
|
21
|
-
export declare const PostContent: ({ trackingCategory, url, className, style, replyingTo, mentionedUser, description: rawDescription, disableShortenContent, mentions, maxChars, hideShowAllBtn, styles, ...rest }: Props) => JSX.Element;
|
|
21
|
+
export declare const PostContent: ({ trackingCategory, url, className, style, replyingTo, mentionedUser, description: rawDescription, disableShortenContent, mentions, maxChars, hideShowAllBtn, styles, ...rest }: Props) => React.JSX.Element;
|
|
22
22
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CSSProperties } from 'react';
|
|
1
|
+
import React, { CSSProperties } from 'react';
|
|
2
2
|
export type Props = {
|
|
3
3
|
className?: string;
|
|
4
4
|
style?: CSSProperties;
|
|
@@ -7,4 +7,4 @@ export type Props = {
|
|
|
7
7
|
onClose?: () => void;
|
|
8
8
|
onOpenSingleView?: (index: number) => void;
|
|
9
9
|
};
|
|
10
|
-
export declare const ImagePreviewPopup: ({ className, style, authorName, images, onClose, onOpenSingleView, }: Props) => JSX.Element;
|
|
10
|
+
export declare const ImagePreviewPopup: ({ className, style, authorName, images, onClose, onOpenSingleView, }: Props) => React.JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CSSProperties } from 'react';
|
|
1
|
+
import React, { CSSProperties } from 'react';
|
|
2
2
|
export type Props = {
|
|
3
3
|
images?: string[];
|
|
4
4
|
authorName?: string;
|
|
@@ -7,5 +7,5 @@ export type Props = {
|
|
|
7
7
|
isSensitive?: boolean;
|
|
8
8
|
isMobile?: boolean;
|
|
9
9
|
};
|
|
10
|
-
declare const PostImagePreview: ({ className, images, style, authorName, isSensitive, }: Props) => JSX.Element;
|
|
10
|
+
declare const PostImagePreview: ({ className, images, style, authorName, isSensitive, }: Props) => React.JSX.Element;
|
|
11
11
|
export { PostImagePreview };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
export declare const StyledPostImagePreview: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
3
3
|
export declare const StyledImagePreviewPopup: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
4
|
-
export declare const StyledNotificationBar: import("styled-components").StyledComponent<({ icon, bgColor, highlightColor, message, ...rest }: import("../../atoms/notificationBar").Props) => JSX.Element, any, {}, never>;
|
|
4
|
+
export declare const StyledNotificationBar: import("styled-components").StyledComponent<({ icon, bgColor, highlightColor, message, ...rest }: import("../../atoms/notificationBar").Props) => import("react").JSX.Element, any, {}, never>;
|
package/build/together/components/molecules/postImagePreview/postSingleImageViewPopup/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
export type Props = {
|
|
3
3
|
images: string[];
|
|
4
4
|
initialViewIndex: number;
|
|
5
5
|
onClose?: () => void;
|
|
6
6
|
};
|
|
7
|
-
export declare const PostSingleImageViewPopup: ({ initialViewIndex, images, onClose, }: Props) => JSX.Element;
|
|
7
|
+
export declare const PostSingleImageViewPopup: ({ initialViewIndex, images, onClose, }: Props) => React.JSX.Element;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { HTMLAttributes } from 'react';
|
|
1
|
+
import React, { HTMLAttributes } from 'react';
|
|
2
2
|
import { Article } from "../../../../../interfaces/types";
|
|
3
3
|
export type Props = {
|
|
4
4
|
isReview?: boolean;
|
|
5
5
|
} & Article & HTMLAttributes<HTMLDivElement>;
|
|
6
|
-
declare const ArticleCard: ({ featureImage, postTitle, author, categories, isReview, className, }: any) => JSX.Element;
|
|
6
|
+
declare const ArticleCard: ({ featureImage, postTitle, author, categories, isReview, className, }: any) => React.JSX.Element;
|
|
7
7
|
export { ArticleCard };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { HTMLAttributes } from 'react';
|
|
1
|
+
import React, { HTMLAttributes } from 'react';
|
|
2
2
|
import { TabData } from '../types';
|
|
3
3
|
export type Props = {
|
|
4
4
|
info: TabData;
|
|
5
5
|
} & HTMLAttributes<HTMLDivElement>;
|
|
6
|
-
declare const About: ({ className }: Props) => JSX.Element;
|
|
6
|
+
declare const About: ({ className }: Props) => React.JSX.Element;
|
|
7
7
|
export { About };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CSSProperties } from 'react';
|
|
1
|
+
import React, { CSSProperties } from 'react';
|
|
2
2
|
export type Props = {
|
|
3
3
|
id?: string | number;
|
|
4
4
|
className?: string;
|
|
@@ -7,5 +7,5 @@ export type Props = {
|
|
|
7
7
|
value?: string;
|
|
8
8
|
onChange?: (v: string) => void;
|
|
9
9
|
};
|
|
10
|
-
declare const Answering: ({ id }: Props) => JSX.Element;
|
|
10
|
+
declare const Answering: ({ id }: Props) => React.JSX.Element;
|
|
11
11
|
export { Answering };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CSSProperties, HTMLAttributes } from 'react';
|
|
1
|
+
import React, { CSSProperties, HTMLAttributes } from 'react';
|
|
2
2
|
import { Post } from "../../../../../interfaces/types";
|
|
3
3
|
export type Props = {
|
|
4
4
|
post?: Post;
|
|
@@ -9,5 +9,5 @@ export type Props = {
|
|
|
9
9
|
value?: string;
|
|
10
10
|
onChange?: (v: string) => void;
|
|
11
11
|
} & HTMLAttributes<HTMLDivElement>;
|
|
12
|
-
declare const PostCard: ({ post, className }: Props) => JSX.Element;
|
|
12
|
+
declare const PostCard: ({ post, className }: Props) => React.JSX.Element;
|
|
13
13
|
export { PostCard };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
declare const Care: () => JSX.Element;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
declare const Care: () => React.JSX.Element;
|
|
3
3
|
export { Care };
|