@hhgtech/hhg-components 1.28.91 → 1.29.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/adapters.js +17 -16
- package/build/{animation-1f323e92.js → animation-85305514.js} +10 -10
- package/build/babyGrowth.js +80 -78
- package/build/cache.js +3 -3
- package/build/care/components/organisms/bookingSearchBar/index.styled.d.ts +39 -6
- package/build/care/components/organisms/bookingSearchBar/locationResults/index.styled.d.ts +21 -8
- package/build/care/components/organisms/bookingSearchBar/mobileFakeInput/index.d.ts +4 -1
- package/build/care/components/organisms/bookingSearchBar/mobileTopbar/index.styled.d.ts +25 -5
- package/build/care/components/organisms/bookingSearchBar/resultSection/index.styled.d.ts +34 -8
- package/build/care/components/organisms/bookingSearchBar/resultSectionItem/index.styled.d.ts +30 -7
- package/build/care/components/organisms/bookingSearchBar/searchInputs/index.styled.d.ts +24 -5
- package/build/care/components/organisms/bookingSearchBarV2/index.styled.d.ts +15 -4
- package/build/care/components/organisms/bookingSearchBarV2/searchInputs/index.styled.d.ts +9 -2
- package/build/care/components/organisms/bookingSearchBarV2/searchLocation/index.styled.d.ts +17 -6
- package/build/care/components/organisms/bookingSearchBarV2/searchResult/index.styled.d.ts +21 -5
- package/build/care/components/organisms/bookingSearchBarV2/searchResultSpecialties/index.styled.d.ts +15 -4
- package/build/care/components/organisms/bookingSearchBarV2/searchSpecialty/index.styled.d.ts +14 -4
- package/build/care/components/organisms/bookingSearchBarV2/searchTag/index.styled.d.ts +13 -3
- package/build/care/components/organisms/bookingSearchBarV2/tabSearch/index.styled.d.ts +7 -2
- package/build/care.js +19 -18
- package/build/components/atoms/avatar/index.styled.d.ts +5 -1
- package/build/components/atoms/backdrop/index.styled.d.ts +5 -1
- package/build/components/atoms/badge/index.styled.d.ts +5 -1
- package/build/components/atoms/borderHeading/index.styled.d.ts +5 -1
- package/build/components/atoms/btnChoice/index.styled.d.ts +5 -1
- package/build/components/atoms/checkbox/index.styled.d.ts +5 -1
- package/build/components/atoms/displayWrapper/index.styled.d.ts +6 -2
- package/build/components/atoms/divider/index.styled.d.ts +6 -2
- package/build/components/atoms/drawer/helpers.d.ts +1 -1
- package/build/components/atoms/drawer/index.styled.d.ts +15 -5
- package/build/components/atoms/dropdownMB/index.styled.d.ts +3 -2
- package/build/components/atoms/fileDropdown/index.styled.d.ts +21 -5
- package/build/components/atoms/grid/index.styled.d.ts +5 -1
- package/build/components/atoms/input/index.styled.d.ts +18 -5
- package/build/components/atoms/inputMB/index.styled.d.ts +26 -2
- package/build/components/atoms/logo/index.styled.d.ts +9 -2
- package/build/components/atoms/marryBabyText/index.styled.d.ts +8 -6
- package/build/components/atoms/menu/index.styled.d.ts +10 -3
- package/build/components/atoms/pagination/index.styled.d.ts +13 -3
- package/build/components/atoms/pill/index.styled.d.ts +9 -2
- package/build/components/atoms/pureInput/index.styled.d.ts +5 -1
- package/build/components/atoms/radioImageGroup/index.styled.d.ts +9 -2
- package/build/components/atoms/rateStars/index.styled.d.ts +5 -1
- package/build/components/atoms/tag/index.styled.d.ts +5 -1
- package/build/components/atoms/toggle/index.styled.d.ts +18 -5
- package/build/components/babyGrowth/babyGrowthChart/index.styled.d.ts +5 -1
- package/build/components/babyGrowth/babyGrowthChooseProfileDrawer/index.styled.d.ts +8 -2
- package/build/components/babyGrowth/babyGrowthChooseProfileDrawer/newBabyProfileRadio/index.styled.d.ts +5 -1
- package/build/components/babyGrowth/babyGrowthForm/index.styled.d.ts +19 -5
- package/build/components/babyGrowth/babyGrowthGender/index.styled.d.ts +7 -2
- package/build/components/babyGrowth/babyGrowthLegend/index.styled.d.ts +9 -2
- package/build/components/babyGrowth/babyGrowthProfileRadio/index.styled.d.ts +5 -1
- package/build/components/babyGrowth/babyGrowthRecord/index.styled.d.ts +5 -1
- package/build/components/babyGrowth/babyGrowthSwitch/index.styled.d.ts +5 -1
- package/build/components/babyGrowth/babyGrowthTooltip/index.styled.d.ts +5 -1
- package/build/components/babyGrowth/childCard/index.styled.d.ts +14 -3
- package/build/components/mantine/accordion/index.styled.d.ts +4 -3
- package/build/components/mantine/aspectRatio/index.styled.d.ts +5 -1
- package/build/components/mantine/breadcrumbs/index.styled.d.ts +5 -1
- package/build/components/mantine/slider/index.styled.d.ts +8 -3
- package/build/components/mantine/text/index.styled.d.ts +4 -1
- package/build/components/mantine/textArea/index.styled.d.ts +3 -1
- package/build/components/molecules/adBlock/index.styled.d.ts +17 -4
- package/build/components/molecules/bmiForm/index.styled.d.ts +22 -5
- package/build/components/molecules/bmrForm/index.styled.d.ts +19 -4
- package/build/components/molecules/categoryCard/index.styled.d.ts +5 -1
- package/build/components/molecules/checkboxGroup/index.styled.d.ts +5 -1
- package/build/components/molecules/cookieAcceptConfirm/index.styled.d.ts +25 -9
- package/build/components/molecules/datePicker/index.styled.d.ts +9 -2
- package/build/components/molecules/dateRangePicker/calendar/index.styled.d.ts +57 -13
- package/build/components/molecules/dateRangePicker/index.styled.d.ts +9 -2
- package/build/components/molecules/dropdown/index.styled.d.ts +27 -8
- package/build/components/molecules/dueDateCalculator/index.styled.d.ts +33 -6
- package/build/components/molecules/embeddedHeathToolCards/baby-growth/index.styled.d.ts +11 -4
- package/build/components/molecules/embeddedHeathToolCards/index.styled.d.ts +16 -5
- package/build/components/molecules/floatButtonGroup/index.styled.d.ts +33 -8
- package/build/components/molecules/iconText/index.styled.d.ts +5 -1
- package/build/components/molecules/languageSwitcher/index.styled.d.ts +5 -1
- package/build/components/molecules/languageSwitcher/tooltipSelection/index.styled.d.ts +21 -5
- package/build/components/molecules/mobileBottomNavigation/index.styled.d.ts +23 -7
- package/build/components/molecules/modal/index.styled.d.ts +18 -5
- package/build/components/molecules/pillCarousel/index.styled.d.ts +24 -3
- package/build/components/molecules/popup/index.styled.d.ts +9 -2
- package/build/components/molecules/progressBar/index.styled.d.ts +49 -12
- package/build/components/molecules/radioImageGroupForTool/index.styled.d.ts +9 -2
- package/build/components/molecules/scrollList/index.styled.d.ts +5 -1
- package/build/components/molecules/shareContainer/index.styled.d.ts +5 -1
- package/build/components/molecules/shareDrawer/index.styled.d.ts +5 -1
- package/build/components/molecules/starsRatingBox/index.styled.d.ts +17 -4
- package/build/components/molecules/statisticCard/index.styled.d.ts +17 -4
- package/build/components/molecules/surveyQuestionCard/index.styled.d.ts +17 -4
- package/build/components/molecules/tabs/index.styled.d.ts +17 -4
- package/build/components/molecules/thrForm/index.styled.d.ts +19 -4
- package/build/components/molecules/toolBannerCard/index.styled.d.ts +32 -10
- package/build/components/molecules/weightGainForm/index.styled.d.ts +25 -6
- package/build/components/navigationV2/components/molecules/Categories/index.styled.d.ts +29 -7
- package/build/components/navigationV2/components/molecules/Spotlights/index.styled.d.ts +13 -3
- package/build/components/navigationV2/components/molecules/menuCareList/Item/index.styled.d.ts +34 -9
- package/build/components/navigationV2/components/molecules/menuCareList/index.styled.d.ts +5 -1
- package/build/components/navigationV2/components/molecules/menuCategoriesList/Item/index.styled.d.ts +13 -3
- package/build/components/navigationV2/components/molecules/menuCategoriesList/index.styled.d.ts +5 -1
- package/build/components/navigationV2/components/molecules/menuCommunitiesList/Item/index.styled.d.ts +45 -11
- package/build/components/navigationV2/components/molecules/menuCommunitiesList/index.styled.d.ts +5 -1
- package/build/components/navigationV2/components/molecules/menuEcomList/Item/index.styled.d.ts +5 -1
- package/build/components/navigationV2/components/molecules/menuEcomList/index.styled.d.ts +5 -1
- package/build/components/navigationV2/components/molecules/menuHealthToolsList/Item/index.styled.d.ts +25 -6
- package/build/components/navigationV2/components/molecules/menuHealthToolsList/ItemMarryBaby/index.styled.d.ts +33 -8
- package/build/components/navigationV2/components/molecules/menuHealthToolsList/index.styled.d.ts +5 -1
- package/build/components/navigationV2/components/molecules/menuServiceList/index.styled.d.ts +13 -3
- package/build/components/navigationV2/components/molecules/navigationBar/index.styled.d.ts +29 -7
- package/build/components/navigationV2/components/molecules/spotlightNoData/index.styled.d.ts +21 -5
- package/build/components/navigationV2/index.styled.d.ts +5 -1
- package/build/components/onboardingV2/dynamicForm/index.styled.d.ts +4 -1
- package/build/components/onboardingV2/index.styled.d.ts +29 -7
- package/build/components/onboardingV2/onboardingForm/index.styled.d.ts +8 -1
- package/build/components/onboardingV2/onboardingUI/index.styled.d.ts +11 -3
- package/build/components/onboardingV2/otpForm/index.styled.d.ts +8 -1
- package/build/components/onboardingV2/similacForm/index.styled.d.ts +8 -1
- package/build/components/onboardingV2/thankyou/index.styled.d.ts +8 -1
- package/build/components/organisms/navigationLogoutPopup/index.styled.d.ts +9 -2
- package/build/components/organisms/navigationProfileButton/index.styled.d.ts +31 -9
- package/build/components/organisms/profileNavigation/index.styled.d.ts +21 -5
- package/build/components/pregnancyWeightGain/pregnancyWeightGainChart/components/index.styled.d.ts +13 -3
- package/build/components/pregnancyWeightGain/pregnancyWeightGainChart/index.styled.d.ts +5 -1
- package/build/components/ui/onboarding/index.styled.d.ts +11 -3
- package/build/components/vaccination/vaccineCard/index.styled.d.ts +9 -2
- package/build/components/vaccination/vaccineImmunization/index.styled.d.ts +9 -2
- package/build/components/vaccination/vaccineRecordsByAgeGroup/index.styled.d.ts +5 -1
- package/build/components/vaccination/vaccineTimelineBanner/index.styled.d.ts +5 -1
- package/build/components.js +59 -57
- package/build/{constants-0ce2b07b.js → constants-cf4986e3.js} +2 -2
- package/build/{constants-271d01dc.js → constants-e24320fc.js} +3 -3
- package/build/constants.js +3 -3
- package/build/{core-4dfc4b2f.js → core-754dccd2.js} +2 -2
- package/build/{dataTransform-08bdd9c5.js → dataTransform-17eef546.js} +1 -1
- package/build/ecom.js +6 -6
- package/build/esm/adapters.js +17 -16
- package/build/esm/{animation-c0776e40.js → animation-ed6b1e75.js} +1 -1
- package/build/esm/babyGrowth.js +81 -79
- package/build/esm/cache.js +3 -3
- package/build/esm/care/components/organisms/bookingSearchBar/index.styled.d.ts +39 -6
- package/build/esm/care/components/organisms/bookingSearchBar/locationResults/index.styled.d.ts +21 -8
- package/build/esm/care/components/organisms/bookingSearchBar/mobileFakeInput/index.d.ts +4 -1
- package/build/esm/care/components/organisms/bookingSearchBar/mobileTopbar/index.styled.d.ts +25 -5
- package/build/esm/care/components/organisms/bookingSearchBar/resultSection/index.styled.d.ts +34 -8
- package/build/esm/care/components/organisms/bookingSearchBar/resultSectionItem/index.styled.d.ts +30 -7
- package/build/esm/care/components/organisms/bookingSearchBar/searchInputs/index.styled.d.ts +24 -5
- package/build/esm/care/components/organisms/bookingSearchBarV2/index.styled.d.ts +15 -4
- package/build/esm/care/components/organisms/bookingSearchBarV2/searchInputs/index.styled.d.ts +9 -2
- package/build/esm/care/components/organisms/bookingSearchBarV2/searchLocation/index.styled.d.ts +17 -6
- package/build/esm/care/components/organisms/bookingSearchBarV2/searchResult/index.styled.d.ts +21 -5
- package/build/esm/care/components/organisms/bookingSearchBarV2/searchResultSpecialties/index.styled.d.ts +15 -4
- package/build/esm/care/components/organisms/bookingSearchBarV2/searchSpecialty/index.styled.d.ts +14 -4
- package/build/esm/care/components/organisms/bookingSearchBarV2/searchTag/index.styled.d.ts +13 -3
- package/build/esm/care/components/organisms/bookingSearchBarV2/tabSearch/index.styled.d.ts +7 -2
- package/build/esm/care.js +19 -18
- package/build/esm/components/atoms/avatar/index.styled.d.ts +5 -1
- package/build/esm/components/atoms/backdrop/index.styled.d.ts +5 -1
- package/build/esm/components/atoms/badge/index.styled.d.ts +5 -1
- package/build/esm/components/atoms/borderHeading/index.styled.d.ts +5 -1
- package/build/esm/components/atoms/btnChoice/index.styled.d.ts +5 -1
- package/build/esm/components/atoms/checkbox/index.styled.d.ts +5 -1
- package/build/esm/components/atoms/displayWrapper/index.styled.d.ts +6 -2
- package/build/esm/components/atoms/divider/index.styled.d.ts +6 -2
- package/build/esm/components/atoms/drawer/helpers.d.ts +1 -1
- package/build/esm/components/atoms/drawer/index.styled.d.ts +15 -5
- package/build/esm/components/atoms/dropdownMB/index.styled.d.ts +3 -2
- package/build/esm/components/atoms/fileDropdown/index.styled.d.ts +21 -5
- package/build/esm/components/atoms/grid/index.styled.d.ts +5 -1
- package/build/esm/components/atoms/input/index.styled.d.ts +18 -5
- package/build/esm/components/atoms/inputMB/index.styled.d.ts +26 -2
- package/build/esm/components/atoms/logo/index.styled.d.ts +9 -2
- package/build/esm/components/atoms/marryBabyText/index.styled.d.ts +8 -6
- package/build/esm/components/atoms/menu/index.styled.d.ts +10 -3
- package/build/esm/components/atoms/pagination/index.styled.d.ts +13 -3
- package/build/esm/components/atoms/pill/index.styled.d.ts +9 -2
- package/build/esm/components/atoms/pureInput/index.styled.d.ts +5 -1
- package/build/esm/components/atoms/radioImageGroup/index.styled.d.ts +9 -2
- package/build/esm/components/atoms/rateStars/index.styled.d.ts +5 -1
- package/build/esm/components/atoms/tag/index.styled.d.ts +5 -1
- package/build/esm/components/atoms/toggle/index.styled.d.ts +18 -5
- package/build/esm/components/babyGrowth/babyGrowthChart/index.styled.d.ts +5 -1
- package/build/esm/components/babyGrowth/babyGrowthChooseProfileDrawer/index.styled.d.ts +8 -2
- package/build/esm/components/babyGrowth/babyGrowthChooseProfileDrawer/newBabyProfileRadio/index.styled.d.ts +5 -1
- package/build/esm/components/babyGrowth/babyGrowthForm/index.styled.d.ts +19 -5
- package/build/esm/components/babyGrowth/babyGrowthGender/index.styled.d.ts +7 -2
- package/build/esm/components/babyGrowth/babyGrowthLegend/index.styled.d.ts +9 -2
- package/build/esm/components/babyGrowth/babyGrowthProfileRadio/index.styled.d.ts +5 -1
- package/build/esm/components/babyGrowth/babyGrowthRecord/index.styled.d.ts +5 -1
- package/build/esm/components/babyGrowth/babyGrowthSwitch/index.styled.d.ts +5 -1
- package/build/esm/components/babyGrowth/babyGrowthTooltip/index.styled.d.ts +5 -1
- package/build/esm/components/babyGrowth/childCard/index.styled.d.ts +14 -3
- package/build/esm/components/mantine/accordion/index.styled.d.ts +4 -3
- package/build/esm/components/mantine/aspectRatio/index.styled.d.ts +5 -1
- package/build/esm/components/mantine/breadcrumbs/index.styled.d.ts +5 -1
- package/build/esm/components/mantine/slider/index.styled.d.ts +8 -3
- package/build/esm/components/mantine/text/index.styled.d.ts +4 -1
- package/build/esm/components/mantine/textArea/index.styled.d.ts +3 -1
- package/build/esm/components/molecules/adBlock/index.styled.d.ts +17 -4
- package/build/esm/components/molecules/bmiForm/index.styled.d.ts +22 -5
- package/build/esm/components/molecules/bmrForm/index.styled.d.ts +19 -4
- package/build/esm/components/molecules/categoryCard/index.styled.d.ts +5 -1
- package/build/esm/components/molecules/checkboxGroup/index.styled.d.ts +5 -1
- package/build/esm/components/molecules/cookieAcceptConfirm/index.styled.d.ts +25 -9
- package/build/esm/components/molecules/datePicker/index.styled.d.ts +9 -2
- package/build/esm/components/molecules/dateRangePicker/calendar/index.styled.d.ts +57 -13
- package/build/esm/components/molecules/dateRangePicker/index.styled.d.ts +9 -2
- package/build/esm/components/molecules/dropdown/index.styled.d.ts +27 -8
- package/build/esm/components/molecules/dueDateCalculator/index.styled.d.ts +33 -6
- package/build/esm/components/molecules/embeddedHeathToolCards/baby-growth/index.styled.d.ts +11 -4
- package/build/esm/components/molecules/embeddedHeathToolCards/index.styled.d.ts +16 -5
- package/build/esm/components/molecules/floatButtonGroup/index.styled.d.ts +33 -8
- package/build/esm/components/molecules/iconText/index.styled.d.ts +5 -1
- package/build/esm/components/molecules/languageSwitcher/index.styled.d.ts +5 -1
- package/build/esm/components/molecules/languageSwitcher/tooltipSelection/index.styled.d.ts +21 -5
- package/build/esm/components/molecules/mobileBottomNavigation/index.styled.d.ts +23 -7
- package/build/esm/components/molecules/modal/index.styled.d.ts +18 -5
- package/build/esm/components/molecules/pillCarousel/index.styled.d.ts +24 -3
- package/build/esm/components/molecules/popup/index.styled.d.ts +9 -2
- package/build/esm/components/molecules/progressBar/index.styled.d.ts +49 -12
- package/build/esm/components/molecules/radioImageGroupForTool/index.styled.d.ts +9 -2
- package/build/esm/components/molecules/scrollList/index.styled.d.ts +5 -1
- package/build/esm/components/molecules/shareContainer/index.styled.d.ts +5 -1
- package/build/esm/components/molecules/shareDrawer/index.styled.d.ts +5 -1
- package/build/esm/components/molecules/starsRatingBox/index.styled.d.ts +17 -4
- package/build/esm/components/molecules/statisticCard/index.styled.d.ts +17 -4
- package/build/esm/components/molecules/surveyQuestionCard/index.styled.d.ts +17 -4
- package/build/esm/components/molecules/tabs/index.styled.d.ts +17 -4
- package/build/esm/components/molecules/thrForm/index.styled.d.ts +19 -4
- package/build/esm/components/molecules/toolBannerCard/index.styled.d.ts +32 -10
- package/build/esm/components/molecules/weightGainForm/index.styled.d.ts +25 -6
- package/build/esm/components/navigationV2/components/molecules/Categories/index.styled.d.ts +29 -7
- package/build/esm/components/navigationV2/components/molecules/Spotlights/index.styled.d.ts +13 -3
- package/build/esm/components/navigationV2/components/molecules/menuCareList/Item/index.styled.d.ts +34 -9
- package/build/esm/components/navigationV2/components/molecules/menuCareList/index.styled.d.ts +5 -1
- package/build/esm/components/navigationV2/components/molecules/menuCategoriesList/Item/index.styled.d.ts +13 -3
- package/build/esm/components/navigationV2/components/molecules/menuCategoriesList/index.styled.d.ts +5 -1
- package/build/esm/components/navigationV2/components/molecules/menuCommunitiesList/Item/index.styled.d.ts +45 -11
- package/build/esm/components/navigationV2/components/molecules/menuCommunitiesList/index.styled.d.ts +5 -1
- package/build/esm/components/navigationV2/components/molecules/menuEcomList/Item/index.styled.d.ts +5 -1
- package/build/esm/components/navigationV2/components/molecules/menuEcomList/index.styled.d.ts +5 -1
- package/build/esm/components/navigationV2/components/molecules/menuHealthToolsList/Item/index.styled.d.ts +25 -6
- package/build/esm/components/navigationV2/components/molecules/menuHealthToolsList/ItemMarryBaby/index.styled.d.ts +33 -8
- package/build/esm/components/navigationV2/components/molecules/menuHealthToolsList/index.styled.d.ts +5 -1
- package/build/esm/components/navigationV2/components/molecules/menuServiceList/index.styled.d.ts +13 -3
- package/build/esm/components/navigationV2/components/molecules/navigationBar/index.styled.d.ts +29 -7
- package/build/esm/components/navigationV2/components/molecules/spotlightNoData/index.styled.d.ts +21 -5
- package/build/esm/components/navigationV2/index.styled.d.ts +5 -1
- package/build/esm/components/onboardingV2/dynamicForm/index.styled.d.ts +4 -1
- package/build/esm/components/onboardingV2/index.styled.d.ts +29 -7
- package/build/esm/components/onboardingV2/onboardingForm/index.styled.d.ts +8 -1
- package/build/esm/components/onboardingV2/onboardingUI/index.styled.d.ts +11 -3
- package/build/esm/components/onboardingV2/otpForm/index.styled.d.ts +8 -1
- package/build/esm/components/onboardingV2/similacForm/index.styled.d.ts +8 -1
- package/build/esm/components/onboardingV2/thankyou/index.styled.d.ts +8 -1
- package/build/esm/components/organisms/navigationLogoutPopup/index.styled.d.ts +9 -2
- package/build/esm/components/organisms/navigationProfileButton/index.styled.d.ts +31 -9
- package/build/esm/components/organisms/profileNavigation/index.styled.d.ts +21 -5
- package/build/esm/components/pregnancyWeightGain/pregnancyWeightGainChart/components/index.styled.d.ts +13 -3
- package/build/esm/components/pregnancyWeightGain/pregnancyWeightGainChart/index.styled.d.ts +5 -1
- package/build/esm/components/ui/onboarding/index.styled.d.ts +11 -3
- package/build/esm/components/vaccination/vaccineCard/index.styled.d.ts +9 -2
- package/build/esm/components/vaccination/vaccineImmunization/index.styled.d.ts +9 -2
- package/build/esm/components/vaccination/vaccineRecordsByAgeGroup/index.styled.d.ts +5 -1
- package/build/esm/components/vaccination/vaccineTimelineBanner/index.styled.d.ts +5 -1
- package/build/esm/components.js +59 -57
- package/build/esm/{constants-3d0da5c8.js → constants-337a3c20.js} +2 -2
- package/build/esm/{constants-bde36016.js → constants-5458df08.js} +3 -3
- package/build/esm/constants.js +3 -3
- package/build/esm/{core-46053d28.js → core-f5be5afb.js} +2 -2
- package/build/esm/{dataTransform-5dcf6f98.js → dataTransform-95226f72.js} +1 -1
- package/build/esm/ecom.js +6 -6
- package/build/esm/footer.js +22 -21
- package/build/esm/gAssets.js +4 -4
- package/build/esm/{getDynamicHealthTool-0d956c55.js → getDynamicHealthTool-b5e4d048.js} +4 -4
- package/build/esm/{getSocialList-b061b92d.js → getSocialList-7653bb8f.js} +2 -2
- package/build/esm/hooks.js +17 -17
- package/build/esm/i18n.js +2 -2
- package/build/esm/i18nV2.js +2 -2
- package/build/esm/{index-2b596f75.js → index-079f9f99.js} +9 -9
- package/build/esm/{index-b06204d8.js → index-07fad580.js} +10 -9
- package/build/esm/{index-08431eb8.js → index-1687bb55.js} +2 -2
- package/build/esm/{index-01fe65ac.js → index-1ef35560.js} +107 -107
- package/build/esm/{index-0419dfd9.js → index-257a14b5.js} +2 -2
- package/build/esm/{index-d8548d2e.js → index-2edb2e27.js} +535 -608
- package/build/esm/{index-f6a859a9.js → index-35cdc027.js} +14 -13
- package/build/esm/{index-d4cd8b4e.js → index-36f504a7.js} +5 -5
- package/build/esm/{index-92e6ffd0.js → index-37726222.js} +4 -4
- package/build/esm/{index-078532eb.js → index-383f163a.js} +2 -2
- package/build/esm/{index-d931676e.js → index-4126e3e8.js} +5 -5
- package/build/esm/{index-90036085.js → index-461487da.js} +10 -12
- package/build/esm/{index-50656d19.js → index-4eeb1d75.js} +2 -2
- package/build/esm/{index-f2c9c44e.js → index-6e7245c3.js} +4 -4
- package/build/esm/{index-9f716e64.js → index-8cf272e7.js} +2 -2
- package/build/esm/{index-19e210ee.js → index-a976660f.js} +5 -5
- package/build/esm/{index-43394051.js → index-aff8a120.js} +11 -10
- package/build/esm/{index-e3f847ab.js → index-b5f84e24.js} +4 -102
- package/build/esm/{index-cf628b96.js → index-b9ab0f30.js} +128 -130
- package/build/esm/{index-f833b395.js → index-bc070b43.js} +3 -3
- package/build/esm/{index-2dbb70cc.js → index-cb59b5e6.js} +2 -2
- package/build/esm/{index-ae8cf7cb.js → index-dae36eed.js} +2 -2
- package/build/esm/{index-621ada25.js → index-e548ff7c.js} +4 -4
- package/build/esm/{index-6a83527e.js → index-edf2ebc8.js} +44 -45
- package/build/esm/{index-5d4d91c1.js → index-f7d9c75d.js} +2 -2
- package/build/esm/index.css +1 -1
- package/build/esm/index.js +67 -65
- package/build/esm/{index.styled-1e5e4c0d.js → index.styled-615cecea.js} +3 -3
- package/build/esm/{index.styles-8f85a751.js → index.styles-51d80c5c.js} +40 -36
- package/build/esm/lead.js +29 -27
- package/build/esm/mantine.js +30 -28
- package/build/esm/misc/animation.d.ts +9 -9
- package/build/esm/misc/defaultClassWrapper.d.ts +6 -4
- package/build/esm/misc.js +20 -18
- package/build/esm/navigation.js +37 -35
- package/build/esm/onboardingV2.js +33 -31
- package/build/esm/pwg.js +21 -20
- package/build/esm/{routing-1e4b619e.js → routing-7892a6d0.js} +2 -2
- package/build/esm/subot/components/markdown/index.styled.d.ts +5 -1
- package/build/esm/subot/components/otpInfoForm/index.styled.d.ts +9 -2
- package/build/esm/subot/components/userInfoForm/SelectItem.d.ts +4 -1
- package/build/esm/subot/components/userInfoForm/index.styled.d.ts +18 -3
- package/build/esm/subot/subotInlineRevamp/common/styles.d.ts +13 -2
- package/build/esm/subot/subotInlineRevamp/styled.d.ts +9 -2
- package/build/esm/subot/subotInlineRevamp/subotInlineAction/SubotInlineActionTextChoice/styles.d.ts +6 -2
- package/build/esm/subot/subotInlineRevamp/subotInlineAction/SubotInlinePollChoice/styles.d.ts +5 -1
- package/build/esm/subot/subotInlineRevamp/subotInlineAction/styles.d.ts +5 -1
- package/build/esm/subot/subotInlineRevamp/subotInlineDisclaimer/styles.d.ts +5 -1
- package/build/esm/subot/subotInlineRevamp/subotInlineFooter/styles.d.ts +5 -1
- package/build/esm/subot/subotInlineRevamp/subotInlineIntent/SubotInlineIntentBotButton/styles.d.ts +5 -1
- package/build/esm/subot/subotInlineRevamp/subotInlineIntent/SubotInlineIntentBotImage/styles.d.ts +5 -1
- package/build/esm/subot/subotInlineRevamp/subotInlineIntent/SubotInlineIntentBotRelatedArticle/styles.d.ts +5 -1
- package/build/esm/subot/subotInlineRevamp/subotInlineIntent/SubotInlineIntentBotSuggestedService/SubotInlineServiceDisclaimer/styles.d.ts +5 -1
- package/build/esm/subot/subotInlineRevamp/subotInlineIntent/SubotInlineIntentBotSuggestedService/styles.d.ts +5 -1
- package/build/esm/subot/subotInlineRevamp/subotInlineIntent/SubotInlineIntentBotText/styles.d.ts +5 -1
- package/build/esm/subot/subotInlineRevamp/subotInlineIntent/SubotInlineIntentBotTitle/styles.d.ts +5 -1
- package/build/esm/subot/subotInlineRevamp/subotInlineIntent/SubotInlineIntentSSO/styles.d.ts +5 -1
- package/build/esm/subot/subotInlineRevamp/subotInlineIntent/SubotInlineIntentUrl/styles.d.ts +10 -3
- package/build/esm/subot/subotInlineRevamp/subotInlineIntent/styles.d.ts +5 -1
- package/build/esm/subot/subotInlineRevamp/subotInlineNode/subotInlineNodeFinal/styles.d.ts +5 -1
- package/build/esm/subot/subotInlineRevamp/subotInlineNode/subotInlineNodeFinalStandard/styles.d.ts +13 -3
- package/build/esm/subot/subotInlineRevamp/subotInlineNode/subotInlineNodeFinalThankYou/styles.d.ts +5 -1
- package/build/esm/subot/subotInlineRevamp/subotInlineNode/subotInlineNodeForm/styles.d.ts +5 -1
- package/build/esm/subot/subotInlineRevamp/subotInlineNode/subotInlineNodeImage/styles.d.ts +5 -1
- package/build/esm/subot/subotInlineRevamp/subotInlineNode/subotInlineNodeMultiple/styles.d.ts +5 -1
- package/build/esm/subot/subotInlineRevamp/subotInlineNode/subotInlineNodePoll/styles.d.ts +5 -1
- package/build/esm/subot/subotInlineRevamp/subotInlineNode/subotInlineNodeSSO/styles.d.ts +5 -1
- package/build/esm/subot/subotInlineRevamp/subotInlineNode/subotInlineNodeStart/styles.d.ts +5 -1
- package/build/esm/subot/subotInlineRevamp/subotInlineNode/subotInlineNodeText/styles.d.ts +5 -1
- package/build/esm/subot.js +83 -82
- package/build/esm/together/components/atoms/cardLink/index.styled.d.ts +6 -2
- package/build/esm/together/components/atoms/labelSortPin/index.styled.d.ts +5 -1
- package/build/esm/together/components/atoms/loading/index.styled.d.ts +9 -2
- package/build/esm/together/components/atoms/notificationBar/index.styled.d.ts +18 -5
- package/build/esm/together/components/atoms/sensitiveMask/index.styled.d.ts +18 -4
- package/build/esm/together/components/atoms/userAvatar/index.styled.d.ts +6 -2
- package/build/esm/together/components/molecules/createNewPostContent/index.styled.d.ts +13 -3
- package/build/esm/together/components/molecules/createPostDescription/index.styled.d.ts +9 -2
- package/build/esm/together/components/molecules/createPostTitle/index.styled.d.ts +5 -1
- package/build/esm/together/components/molecules/inputCommentBar/index.styled.d.ts +5 -1
- package/build/esm/together/components/molecules/popupDanger/index.styled.d.ts +5 -1
- package/build/esm/together/components/molecules/popupDoctor/index.styled.d.ts +21 -5
- package/build/esm/together/components/molecules/popupExpert/index.styled.d.ts +21 -5
- package/build/esm/together/components/molecules/popupFrame/index.styled.d.ts +10 -3
- package/build/esm/together/components/molecules/popupFrame/popupShare.d.ts +4 -1
- package/build/esm/together/components/molecules/popupHospital/index.styled.d.ts +17 -4
- package/build/esm/together/components/molecules/postContent/index.styled.d.ts +6 -2
- package/build/esm/together/components/molecules/postImagePreview/index.styled.d.ts +16 -3
- package/build/esm/together/components/molecules/postImagePreview/postSingleImageViewPopup/index.styled.d.ts +21 -5
- package/build/esm/together/components/molecules/shareBox/index.styled.d.ts +14 -2
- package/build/esm/together/components/molecules/socialLinkPreview/index.styled.d.ts +6 -2
- package/build/esm/together/components/molecules/submitReportForm/index.styled.d.ts +5 -1
- package/build/esm/together/components/molecules/topicSelectList/index.styled.d.ts +5 -1
- package/build/esm/together/components/organisms/cardPost/index.styled.d.ts +5 -1
- package/build/esm/together/components/organisms/cardReply/index.styled.d.ts +15 -2
- package/build/esm/together/components/organisms/popoverMenu/index.styled.d.ts +9 -2
- package/build/esm/together/components/organisms/sourceList/index.styled.d.ts +21 -5
- package/build/esm/together/components/organisms/sourceList/recommentCategories/index.styled.d.ts +25 -6
- package/build/esm/together/components/organisms/sourceList/sourceItem/index.styled.d.ts +5 -1
- package/build/esm/together.js +37 -35
- package/build/esm/{types-44823c35.js → types-46adfe5c.js} +52 -52
- package/build/esm/{types-0cd6153b.js → types-b07f79cd.js} +30 -30
- package/build/esm/types.js +1 -1
- package/build/esm/{useCategory-7e171b59.js → useCategory-45ea1675.js} +5 -5
- package/build/esm/{useHealthToolCache-0bae40e5.js → useHealthToolCache-c9535fac.js} +2 -2
- package/build/esm/useMantineLocale-29b90721.js +80 -0
- package/build/esm/{usePlacesAutocomplete-cf392306.js → usePlacesAutocomplete-5e95318f.js} +1 -1
- package/build/esm/{useTranslations-f40da32c.js → useTranslations-eceb2845.js} +1 -1
- package/build/esm/{utils-c5cdb4b1.js → utils-2eeac181.js} +19 -7
- package/build/{utils-6404c93f.js → esm/utils-75630fc7.js} +101 -11
- package/build/esm/{utils-6a1e6566.js → utils-8419f647.js} +1 -1
- package/build/esm/{utils-ed6f1dcc.js → utils-fd352517.js} +5 -5
- package/build/esm/vaccination.js +27 -25
- package/build/footer.js +22 -21
- package/build/gAssets.js +4 -4
- package/build/{getDynamicHealthTool-c1ac1eec.js → getDynamicHealthTool-b15fd3e6.js} +4 -4
- package/build/{getSocialList-689884d2.js → getSocialList-9cf5438b.js} +2 -2
- package/build/hooks.js +17 -17
- package/build/i18n.js +1 -1
- package/build/i18nV2.js +1 -1
- package/build/{index-ea866031.js → index-025a81ec.js} +7 -7
- package/build/{index-8ee9ea5e.js → index-0fa5f024.js} +10 -12
- package/build/{index-9bd23d0b.js → index-1071810d.js} +2 -2
- package/build/{index-a1ebf9bd.js → index-14033fe4.js} +2 -2
- package/build/{index-bb676c6b.js → index-1dbbd36d.js} +14 -13
- package/build/{index-c63427df.js → index-291b75aa.js} +2 -2
- package/build/{index-730e3477.js → index-38b6d467.js} +4 -4
- package/build/index-3fce6344.js +57 -0
- package/build/{index-67b20ed4.js → index-41dd62e8.js} +5 -5
- package/build/{index-17ae2899.js → index-47c587bb.js} +2 -2
- package/build/{index-c94f10d9.js → index-54e27e70.js} +5 -5
- package/build/{index-9aef26c3.js → index-5c601f08.js} +551 -628
- package/build/{index-3fb3cc40.js → index-6216f560.js} +44 -45
- package/build/{index-95619121.js → index-627e5cc1.js} +2 -2
- package/build/{index-12d92ef8.js → index-6d5faff0.js} +3 -3
- package/build/{index-1f87c7f2.js → index-8102c009.js} +4 -4
- package/build/{index-8fcc860a.js → index-8cda87a7.js} +131 -133
- package/build/{index-daf585d3.js → index-90427e42.js} +2 -2
- package/build/{index-154f8e66.js → index-98954e2f.js} +11 -10
- package/build/{index-38356680.js → index-abd2cd3f.js} +108 -108
- package/build/{index-589173e9.js → index-bbaa4482.js} +4 -4
- package/build/{index-23e5cb6a.js → index-cd84fbf2.js} +2 -2
- package/build/{index-1840623c.js → index-cdd4f091.js} +2 -2
- package/build/{index-73fb1970.js → index-eb423771.js} +10 -9
- package/build/{index-34877eed.js → index-f9f8e897.js} +9 -9
- package/build/index.css +1 -1
- package/build/index.js +67 -65
- package/build/{index.styled-100a6f0e.js → index.styled-516fbbd9.js} +3 -3
- package/build/{index.styles-115951e8.js → index.styles-aaffaede.js} +50 -46
- package/build/lead.js +29 -27
- package/build/mantine.js +30 -29
- package/build/misc/animation.d.ts +9 -9
- package/build/misc/defaultClassWrapper.d.ts +6 -4
- package/build/misc.js +26 -24
- package/build/navigation.js +37 -35
- package/build/onboardingV2.js +32 -30
- package/build/pwg.js +21 -20
- package/build/{routing-bb97885f.js → routing-b4b3355b.js} +2 -2
- package/build/subot/components/markdown/index.styled.d.ts +5 -1
- package/build/subot/components/otpInfoForm/index.styled.d.ts +9 -2
- package/build/subot/components/userInfoForm/SelectItem.d.ts +4 -1
- package/build/subot/components/userInfoForm/index.styled.d.ts +18 -3
- package/build/subot/subotInlineRevamp/common/styles.d.ts +13 -2
- package/build/subot/subotInlineRevamp/styled.d.ts +9 -2
- package/build/subot/subotInlineRevamp/subotInlineAction/SubotInlineActionTextChoice/styles.d.ts +6 -2
- package/build/subot/subotInlineRevamp/subotInlineAction/SubotInlinePollChoice/styles.d.ts +5 -1
- package/build/subot/subotInlineRevamp/subotInlineAction/styles.d.ts +5 -1
- package/build/subot/subotInlineRevamp/subotInlineDisclaimer/styles.d.ts +5 -1
- package/build/subot/subotInlineRevamp/subotInlineFooter/styles.d.ts +5 -1
- package/build/subot/subotInlineRevamp/subotInlineIntent/SubotInlineIntentBotButton/styles.d.ts +5 -1
- package/build/subot/subotInlineRevamp/subotInlineIntent/SubotInlineIntentBotImage/styles.d.ts +5 -1
- package/build/subot/subotInlineRevamp/subotInlineIntent/SubotInlineIntentBotRelatedArticle/styles.d.ts +5 -1
- package/build/subot/subotInlineRevamp/subotInlineIntent/SubotInlineIntentBotSuggestedService/SubotInlineServiceDisclaimer/styles.d.ts +5 -1
- package/build/subot/subotInlineRevamp/subotInlineIntent/SubotInlineIntentBotSuggestedService/styles.d.ts +5 -1
- package/build/subot/subotInlineRevamp/subotInlineIntent/SubotInlineIntentBotText/styles.d.ts +5 -1
- package/build/subot/subotInlineRevamp/subotInlineIntent/SubotInlineIntentBotTitle/styles.d.ts +5 -1
- package/build/subot/subotInlineRevamp/subotInlineIntent/SubotInlineIntentSSO/styles.d.ts +5 -1
- package/build/subot/subotInlineRevamp/subotInlineIntent/SubotInlineIntentUrl/styles.d.ts +10 -3
- package/build/subot/subotInlineRevamp/subotInlineIntent/styles.d.ts +5 -1
- package/build/subot/subotInlineRevamp/subotInlineNode/subotInlineNodeFinal/styles.d.ts +5 -1
- package/build/subot/subotInlineRevamp/subotInlineNode/subotInlineNodeFinalStandard/styles.d.ts +13 -3
- package/build/subot/subotInlineRevamp/subotInlineNode/subotInlineNodeFinalThankYou/styles.d.ts +5 -1
- package/build/subot/subotInlineRevamp/subotInlineNode/subotInlineNodeForm/styles.d.ts +5 -1
- package/build/subot/subotInlineRevamp/subotInlineNode/subotInlineNodeImage/styles.d.ts +5 -1
- package/build/subot/subotInlineRevamp/subotInlineNode/subotInlineNodeMultiple/styles.d.ts +5 -1
- package/build/subot/subotInlineRevamp/subotInlineNode/subotInlineNodePoll/styles.d.ts +5 -1
- package/build/subot/subotInlineRevamp/subotInlineNode/subotInlineNodeSSO/styles.d.ts +5 -1
- package/build/subot/subotInlineRevamp/subotInlineNode/subotInlineNodeStart/styles.d.ts +5 -1
- package/build/subot/subotInlineRevamp/subotInlineNode/subotInlineNodeText/styles.d.ts +5 -1
- package/build/subot.js +83 -82
- package/build/together/components/atoms/cardLink/index.styled.d.ts +6 -2
- package/build/together/components/atoms/labelSortPin/index.styled.d.ts +5 -1
- package/build/together/components/atoms/loading/index.styled.d.ts +9 -2
- package/build/together/components/atoms/notificationBar/index.styled.d.ts +18 -5
- package/build/together/components/atoms/sensitiveMask/index.styled.d.ts +18 -4
- package/build/together/components/atoms/userAvatar/index.styled.d.ts +6 -2
- package/build/together/components/molecules/createNewPostContent/index.styled.d.ts +13 -3
- package/build/together/components/molecules/createPostDescription/index.styled.d.ts +9 -2
- package/build/together/components/molecules/createPostTitle/index.styled.d.ts +5 -1
- package/build/together/components/molecules/inputCommentBar/index.styled.d.ts +5 -1
- package/build/together/components/molecules/popupDanger/index.styled.d.ts +5 -1
- package/build/together/components/molecules/popupDoctor/index.styled.d.ts +21 -5
- package/build/together/components/molecules/popupExpert/index.styled.d.ts +21 -5
- package/build/together/components/molecules/popupFrame/index.styled.d.ts +10 -3
- package/build/together/components/molecules/popupFrame/popupShare.d.ts +4 -1
- package/build/together/components/molecules/popupHospital/index.styled.d.ts +17 -4
- package/build/together/components/molecules/postContent/index.styled.d.ts +6 -2
- package/build/together/components/molecules/postImagePreview/index.styled.d.ts +16 -3
- package/build/together/components/molecules/postImagePreview/postSingleImageViewPopup/index.styled.d.ts +21 -5
- package/build/together/components/molecules/shareBox/index.styled.d.ts +14 -2
- package/build/together/components/molecules/socialLinkPreview/index.styled.d.ts +6 -2
- package/build/together/components/molecules/submitReportForm/index.styled.d.ts +5 -1
- package/build/together/components/molecules/topicSelectList/index.styled.d.ts +5 -1
- package/build/together/components/organisms/cardPost/index.styled.d.ts +5 -1
- package/build/together/components/organisms/cardReply/index.styled.d.ts +15 -2
- package/build/together/components/organisms/popoverMenu/index.styled.d.ts +9 -2
- package/build/together/components/organisms/sourceList/index.styled.d.ts +21 -5
- package/build/together/components/organisms/sourceList/recommentCategories/index.styled.d.ts +25 -6
- package/build/together/components/organisms/sourceList/sourceItem/index.styled.d.ts +5 -1
- package/build/together.js +37 -35
- package/build/{types-ac8126ca.js → types-9aa148c1.js} +30 -30
- package/build/{types-80b8da9b.js → types-dd127d92.js} +53 -53
- package/build/types.js +1 -1
- package/build/{useCategory-e09ffc45.js → useCategory-7a7395b0.js} +5 -5
- package/build/{useHealthToolCache-a1016997.js → useHealthToolCache-ffee7df6.js} +2 -2
- package/build/useMantineLocale-0e980601.js +107 -0
- package/build/{usePlacesAutocomplete-77104ea0.js → usePlacesAutocomplete-3507ee83.js} +1 -1
- package/build/{useTranslations-fe55a872.js → useTranslations-7fe6e04f.js} +1 -1
- package/build/{utils-2565131e.js → utils-74d7cf7a.js} +18 -5
- package/build/{utils-b47071e1.js → utils-8689f497.js} +5 -5
- package/build/{utils-c72b610e.js → utils-acc65e18.js} +1 -1
- package/build/{esm/utils-8d2a0656.js → utils-f00bdea3.js} +114 -1
- package/build/vaccination.js +27 -25
- package/package.json +5 -7
- package/build/index-f788027e.js +0 -156
- /package/build/{BMI_BOYS.percentile.monthly-333f0df2.js → BMI_BOYS.percentile.monthly-e98c1256.js} +0 -0
- /package/build/{BMI_BOYS.percentile.weekly-b2130924.js → BMI_BOYS.percentile.weekly-3c01c23b.js} +0 -0
- /package/build/{BMI_BOYS.percentile.yearly-ab223a2b.js → BMI_BOYS.percentile.yearly-d790d020.js} +0 -0
- /package/build/{BMI_BOYS.zscore.monthly-80e6de8b.js → BMI_BOYS.zscore.monthly-46310fa2.js} +0 -0
- /package/build/{BMI_BOYS.zscore.weekly-559048b0.js → BMI_BOYS.zscore.weekly-adf748b2.js} +0 -0
- /package/build/{BMI_BOYS.zscore.yearly-67ee0b43.js → BMI_BOYS.zscore.yearly-630aeaee.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.monthly-78ad8109.js → BMI_GIRLS.percentile.monthly-5d318396.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.weekly-c44cf8f0.js → BMI_GIRLS.percentile.weekly-2fc51e7b.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.yearly-8fbe1fcd.js → BMI_GIRLS.percentile.yearly-8e761326.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.monthly-81af162d.js → BMI_GIRLS.zscore.monthly-a740a642.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.weekly-49be82b3.js → BMI_GIRLS.zscore.weekly-7148de9e.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.yearly-2e55fe8f.js → BMI_GIRLS.zscore.yearly-5d07d353.js} +0 -0
- /package/build/{ChevronDown-25087ec3.js → ChevronDown-ec71a5ac.js} +0 -0
- /package/build/{Close-ef04fa71.js → Close-4377df94.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-55d6fad5.js → HEAD CIRCUM_BOYS.percentile.monthly-2bdb664c.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-0b97b316.js → HEAD CIRCUM_BOYS.percentile.weekly-3ad984bb.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-1630cf0e.js → HEAD CIRCUM_BOYS.percentile.yearly-7e005fbe.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-ed7219ed.js → HEAD CIRCUM_BOYS.zscore.monthly-47d7fddd.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-0e0b8c68.js → HEAD CIRCUM_BOYS.zscore.weekly-08c216cf.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-ae9e4b9a.js → HEAD CIRCUM_BOYS.zscore.yearly-6408c6e8.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-f420a2f6.js → HEAD CIRCUM_GIRLS.percentile.monthly-58613560.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-f2087d52.js → HEAD CIRCUM_GIRLS.percentile.weekly-b8ce5aab.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-4a99fb4a.js → HEAD CIRCUM_GIRLS.percentile.yearly-97cfbe94.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-23f0c7c8.js → HEAD CIRCUM_GIRLS.zscore.monthly-c0b25c20.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-f628ebfe.js → HEAD CIRCUM_GIRLS.zscore.weekly-8f449b85.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-7dda3225.js → HEAD CIRCUM_GIRLS.zscore.yearly-e3326084.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.monthly-84fc1914.js → HEIGHT_BOYS.percentile.monthly-fb3c45bf.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.weekly-243d6b82.js → HEIGHT_BOYS.percentile.weekly-b8e13d3c.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.yearly-10aa4430.js → HEIGHT_BOYS.percentile.yearly-45f0c859.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.monthly-39bce2f3.js → HEIGHT_BOYS.zscore.monthly-533efb67.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.weekly-7adf79c9.js → HEIGHT_BOYS.zscore.weekly-e3a13517.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.yearly-a033a753.js → HEIGHT_BOYS.zscore.yearly-78db4027.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.monthly-024fcd5a.js → HEIGHT_GIRLS.percentile.monthly-78e7109f.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.weekly-9a513fcf.js → HEIGHT_GIRLS.percentile.weekly-170578f4.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.yearly-5528c27a.js → HEIGHT_GIRLS.percentile.yearly-ae3d6faa.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.monthly-753ec054.js → HEIGHT_GIRLS.zscore.monthly-1eeb08c0.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.weekly-04954bee.js → HEIGHT_GIRLS.zscore.weekly-b3f66e68.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.yearly-e6dcebe1.js → HEIGHT_GIRLS.zscore.yearly-b3a9287a.js} +0 -0
- /package/build/{Subot-0e90b908.js → Subot-4134f5c3.js} +0 -0
- /package/build/{Visible-bb89750d.js → Visible-105b0679.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.monthly-dcbbef4c.js → WEIGHT_BOYS.percentile.monthly-33d5a2cc.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.weekly-996e54ff.js → WEIGHT_BOYS.percentile.weekly-d5fae60e.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.yearly-7643d20c.js → WEIGHT_BOYS.percentile.yearly-cea5a554.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.monthly-12b18820.js → WEIGHT_BOYS.zscore.monthly-2fc3ad14.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.weekly-03789085.js → WEIGHT_BOYS.zscore.weekly-16b8498a.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.yearly-9e2aae79.js → WEIGHT_BOYS.zscore.yearly-d393d272.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.monthly-6f464141.js → WEIGHT_GIRLS.percentile.monthly-967a6b09.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.weekly-9ec5b007.js → WEIGHT_GIRLS.percentile.weekly-275d25de.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.yearly-f0350d05.js → WEIGHT_GIRLS.percentile.yearly-ba13521c.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.monthly-6fe7ab17.js → WEIGHT_GIRLS.zscore.monthly-265ae6a8.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.weekly-362f55ff.js → WEIGHT_GIRLS.zscore.weekly-697c5483.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.yearly-a97abd31.js → WEIGHT_GIRLS.zscore.yearly-f78d4de3.js} +0 -0
- /package/build/{cart-f0adcade.js → cart-bc63f008.js} +0 -0
- /package/build/{cookieHelper-a1a89728.js → cookieHelper-fb75b420.js} +0 -0
- /package/build/{doctor-3298cafe.js → doctor-6c60d1e3.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.monthly-ae9a4a72.js → BMI_BOYS.percentile.monthly-14ea54c2.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.weekly-95b03cc8.js → BMI_BOYS.percentile.weekly-9f5b8f8d.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.yearly-c51dc693.js → BMI_BOYS.percentile.yearly-27a43180.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.monthly-36409cfb.js → BMI_BOYS.zscore.monthly-d3520642.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.weekly-84c33951.js → BMI_BOYS.zscore.weekly-f5ee862a.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.yearly-1639a209.js → BMI_BOYS.zscore.yearly-0f77c56e.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.monthly-1849437a.js → BMI_GIRLS.percentile.monthly-a82e9ad7.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.weekly-c9fd24d3.js → BMI_GIRLS.percentile.weekly-223bb0df.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.yearly-7312be55.js → BMI_GIRLS.percentile.yearly-42800bd6.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.monthly-5f063223.js → BMI_GIRLS.zscore.monthly-b1a34be4.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.weekly-79a2e090.js → BMI_GIRLS.zscore.weekly-1569e06d.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.yearly-e9b1084e.js → BMI_GIRLS.zscore.yearly-fe72383b.js} +0 -0
- /package/build/esm/{ChevronDown-ef8e0384.js → ChevronDown-b42051a5.js} +0 -0
- /package/build/esm/{Close-b16fbe77.js → Close-d4c81450.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-bcfb2a2e.js → HEAD CIRCUM_BOYS.percentile.monthly-c31cba1a.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-b51ae016.js → HEAD CIRCUM_BOYS.percentile.weekly-5baa055d.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-9384ce1d.js → HEAD CIRCUM_BOYS.percentile.yearly-a16b45f3.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-b2377119.js → HEAD CIRCUM_BOYS.zscore.monthly-d3a2deeb.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-9ff11242.js → HEAD CIRCUM_BOYS.zscore.weekly-ed9591fb.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-4df82abc.js → HEAD CIRCUM_BOYS.zscore.yearly-2d38d613.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-4f91277a.js → HEAD CIRCUM_GIRLS.percentile.monthly-b5536cd7.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-df8c15e1.js → HEAD CIRCUM_GIRLS.percentile.weekly-9e5d362c.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-48f4a7e7.js → HEAD CIRCUM_GIRLS.percentile.yearly-9b9d043a.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-91e837b7.js → HEAD CIRCUM_GIRLS.zscore.monthly-d9c8a7bf.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-3914fe68.js → HEAD CIRCUM_GIRLS.zscore.weekly-b35b6fc6.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-b6908167.js → HEAD CIRCUM_GIRLS.zscore.yearly-6eddc28b.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.monthly-0873d1e6.js → HEIGHT_BOYS.percentile.monthly-e357bdd3.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.weekly-2e5d9da2.js → HEIGHT_BOYS.percentile.weekly-8d627da0.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.yearly-9e45a68f.js → HEIGHT_BOYS.percentile.yearly-ae04f876.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.monthly-d1a1daec.js → HEIGHT_BOYS.zscore.monthly-28d53202.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.weekly-0ec7f7d0.js → HEIGHT_BOYS.zscore.weekly-70e00272.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.yearly-ce2e1339.js → HEIGHT_BOYS.zscore.yearly-7d9e4095.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-94e37665.js → HEIGHT_GIRLS.percentile.monthly-87cdb5d1.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-bafc92ef.js → HEIGHT_GIRLS.percentile.weekly-c83a7265.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-9c428089.js → HEIGHT_GIRLS.percentile.yearly-b5bbb8e7.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-108aacf7.js → HEIGHT_GIRLS.zscore.monthly-a878cfbe.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-230eff0f.js → HEIGHT_GIRLS.zscore.weekly-5c97cc6e.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-e495ea21.js → HEIGHT_GIRLS.zscore.yearly-3266e9cf.js} +0 -0
- /package/build/esm/{Subot-77659a36.js → Subot-81261e12.js} +0 -0
- /package/build/esm/{Visible-2aef3f53.js → Visible-d66554bf.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.monthly-5f3bfa79.js → WEIGHT_BOYS.percentile.monthly-581b8a34.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.weekly-9d5f5d1b.js → WEIGHT_BOYS.percentile.weekly-776a618e.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.yearly-f7b5321c.js → WEIGHT_BOYS.percentile.yearly-02c811dc.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.monthly-7e3b1052.js → WEIGHT_BOYS.zscore.monthly-ba38310a.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.weekly-03771718.js → WEIGHT_BOYS.zscore.weekly-c1e6dfa4.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.yearly-8407efe1.js → WEIGHT_BOYS.zscore.yearly-39826978.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-c3d1b45c.js → WEIGHT_GIRLS.percentile.monthly-ecfaac92.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-39884ba3.js → WEIGHT_GIRLS.percentile.weekly-063c7c1f.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-f0275e30.js → WEIGHT_GIRLS.percentile.yearly-0c91bc7d.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-3dc2455b.js → WEIGHT_GIRLS.zscore.monthly-e7856297.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-7917ae68.js → WEIGHT_GIRLS.zscore.weekly-8443ff0a.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-8f0b4acb.js → WEIGHT_GIRLS.zscore.yearly-325bbb0e.js} +0 -0
- /package/build/esm/{cart-1ccc42ed.js → cart-823adcbd.js} +0 -0
- /package/build/esm/{cookieHelper-42ccc8ba.js → cookieHelper-778b8de6.js} +0 -0
- /package/build/esm/{doctor-10320985.js → doctor-f790b9f1.js} +0 -0
- /package/build/esm/{index-7a58f7a0.js → index-62a726be.js} +0 -0
- /package/build/esm/{index-e7bffddc.js → index-bd8f57c2.js} +0 -0
- /package/build/esm/{index-3356d63f.js → index-c3c7be25.js} +0 -0
- /package/build/esm/{isProduction-a01e577e.js → isProduction-0dd05199.js} +0 -0
- /package/build/esm/{localizeNumberFormat-a75b4cff.js → localizeNumberFormat-bc62973e.js} +0 -0
- /package/build/esm/{normalizeLink-d9c76838.js → normalizeLink-e599ba1f.js} +0 -0
- /package/build/esm/{number-61725c7a.js → number-fe945cbc.js} +0 -0
- /package/build/esm/{paths-f0d8d975.js → paths-cce96722.js} +0 -0
- /package/build/esm/{theme-bc0a16d6.js → theme-42cb371b.js} +0 -0
- /package/build/esm/{translationsContext-80d7ee69.js → translationsContext-d8f0f15b.js} +0 -0
- /package/build/esm/{tslib.es6-d03cb889.js → tslib.es6-6c353490.js} +0 -0
- /package/build/esm/{types-1eb3b0e7.js → types-e55fe348.js} +0 -0
- /package/build/esm/{useIsInit-c96375f4.js → useIsInit-0900e2d8.js} +0 -0
- /package/build/esm/{useOutsideClick-d9873825.js → useOutsideClick-b142b45a.js} +0 -0
- /package/build/esm/{useScrollbarSize-0f356554.js → useScrollbarSize-57dc7083.js} +0 -0
- /package/build/esm/{useUniqueId-c790dc3a.js → useUniqueId-53a01cbf.js} +0 -0
- /package/build/{index-e077413d.js → index-8c8e683e.js} +0 -0
- /package/build/{index-13d309d1.js → index-b663f389.js} +0 -0
- /package/build/{index-d058ca0c.js → index-f4b32c12.js} +0 -0
- /package/build/{isProduction-47f8d310.js → isProduction-0fbb2780.js} +0 -0
- /package/build/{localizeNumberFormat-887ce28b.js → localizeNumberFormat-7f752022.js} +0 -0
- /package/build/{normalizeLink-55f5e6d4.js → normalizeLink-dbf18e7c.js} +0 -0
- /package/build/{number-91fad483.js → number-bc8e7441.js} +0 -0
- /package/build/{paths-3456b236.js → paths-c6015929.js} +0 -0
- /package/build/{theme-8f20fc74.js → theme-222196ff.js} +0 -0
- /package/build/{translationsContext-a147c1d0.js → translationsContext-0195a7a2.js} +0 -0
- /package/build/{tslib.es6-29b65c9b.js → tslib.es6-a30e1f43.js} +0 -0
- /package/build/{types-9e90b08d.js → types-08ce3c52.js} +0 -0
- /package/build/{useIsInit-d0803828.js → useIsInit-76f56d73.js} +0 -0
- /package/build/{useOutsideClick-a31e602e.js → useOutsideClick-f039cfaa.js} +0 -0
- /package/build/{useScrollbarSize-923d487a.js → useScrollbarSize-dea95a20.js} +0 -0
- /package/build/{useUniqueId-2d25434a.js → useUniqueId-89244ce8.js} +0 -0
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var tslib_es6 = require('./tslib.es6-
|
|
3
|
+
var tslib_es6 = require('./tslib.es6-a30e1f43.js');
|
|
4
4
|
var React = require('react');
|
|
5
5
|
var other = require('@hhgtech/icons/other');
|
|
6
6
|
var core = require('@mantine/core');
|
|
7
7
|
var hooks = require('@mantine/hooks');
|
|
8
|
-
var index = require('./index-
|
|
9
|
-
var
|
|
10
|
-
var
|
|
11
|
-
var utils = require('./utils-6404c93f.js');
|
|
12
|
-
var styled = require('styled-components');
|
|
8
|
+
var index$1 = require('./index-cdd4f091.js');
|
|
9
|
+
var utils = require('./utils-f00bdea3.js');
|
|
10
|
+
var styled = require('@emotion/styled');
|
|
13
11
|
var carousel = require('@mantine/carousel');
|
|
14
|
-
var index$
|
|
15
|
-
var
|
|
16
|
-
var
|
|
12
|
+
var index$2 = require('./index-3fce6344.js');
|
|
13
|
+
var Subot = require('./Subot-4134f5c3.js');
|
|
14
|
+
var theme = require('./theme-222196ff.js');
|
|
15
|
+
var useMantineLocale = require('./useMantineLocale-0e980601.js');
|
|
16
|
+
var index = require('./index-1071810d.js');
|
|
17
17
|
var cn = require('classnames');
|
|
18
|
-
var useUniqueId = require('./useUniqueId-
|
|
18
|
+
var useUniqueId = require('./useUniqueId-89244ce8.js');
|
|
19
19
|
var core$1 = require('@hhgtech/icons/core');
|
|
20
20
|
|
|
21
21
|
function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }
|
|
@@ -39,192 +39,493 @@ function _interopNamespace(e) {
|
|
|
39
39
|
}
|
|
40
40
|
|
|
41
41
|
var React__namespace = /*#__PURE__*/_interopNamespace(React);
|
|
42
|
-
var dayjs__default = /*#__PURE__*/_interopDefault(dayjs);
|
|
43
42
|
var styled__default = /*#__PURE__*/_interopDefault(styled);
|
|
44
43
|
var cn__default = /*#__PURE__*/_interopDefault(cn);
|
|
45
44
|
|
|
46
|
-
const
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
};
|
|
55
|
-
const StyledImage = styled__default["default"].img `
|
|
56
|
-
&[data-has-placeholder='true'] {
|
|
57
|
-
background-position: center;
|
|
58
|
-
background-repeat: no-repeat;
|
|
59
|
-
background-size: cover;
|
|
60
|
-
}
|
|
61
|
-
`;
|
|
45
|
+
const GlobalButtonStyle = {
|
|
46
|
+
Button: {
|
|
47
|
+
defaultProps: {
|
|
48
|
+
variant: 'primary',
|
|
49
|
+
size: 'md',
|
|
50
|
+
},
|
|
51
|
+
},
|
|
52
|
+
};
|
|
62
53
|
|
|
63
54
|
const ANIMATION_DURATION = '100ms';
|
|
64
55
|
|
|
65
|
-
|
|
66
|
-
var _a
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
paddingRight: '10px',
|
|
90
|
-
'.mantine-Button-icon': {
|
|
91
|
-
margin: 0,
|
|
56
|
+
const GlobalInputStyle = (locale) => {
|
|
57
|
+
var _a;
|
|
58
|
+
return ({
|
|
59
|
+
InputWrapper: {
|
|
60
|
+
styles: {
|
|
61
|
+
label: {
|
|
62
|
+
display: 'inline-flex',
|
|
63
|
+
gap: 4,
|
|
64
|
+
marginBottom: '0.25rem',
|
|
65
|
+
fontWeight: 600,
|
|
66
|
+
fontSize: '14px',
|
|
67
|
+
lineHeight: '22px',
|
|
68
|
+
color: theme.theme.colors.gray600,
|
|
69
|
+
},
|
|
70
|
+
description: {
|
|
71
|
+
fontWeight: 400,
|
|
72
|
+
fontSize: '12px',
|
|
73
|
+
lineHeight: '18px',
|
|
74
|
+
color: theme.theme.colors.gray600,
|
|
75
|
+
marginBottom: '0.25rem',
|
|
76
|
+
},
|
|
77
|
+
error: {
|
|
78
|
+
marginTop: '0.25rem',
|
|
79
|
+
},
|
|
92
80
|
},
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
switch (variant) {
|
|
137
|
-
case 'primary': {
|
|
138
|
-
return Object.assign({ color: _theme.white, backgroundColor: hexColor }, (!skipHover && {
|
|
139
|
-
'&:hover': {
|
|
140
|
-
backgroundColor: hoverHexColor,
|
|
141
|
-
},
|
|
142
|
-
}));
|
|
143
|
-
}
|
|
144
|
-
case 'secondary':
|
|
145
|
-
return Object.assign({ color: hexColor, backgroundColor: 'transparent', border: `1px solid ${hexColor}` }, (!skipHover && {
|
|
146
|
-
'&:hover': {
|
|
147
|
-
backgroundColor: hexColor50,
|
|
148
|
-
border: `1px solid ${hexColor}`,
|
|
149
|
-
},
|
|
150
|
-
}));
|
|
151
|
-
case 'white':
|
|
152
|
-
return {
|
|
153
|
-
color: hexColor,
|
|
154
|
-
backgroundColor: 'transparent',
|
|
155
|
-
border: `1px solid transparent`,
|
|
156
|
-
'&:hover': {
|
|
157
|
-
backgroundColor: 'transparent',
|
|
158
|
-
borderColor: `transparent`,
|
|
159
|
-
},
|
|
160
|
-
};
|
|
161
|
-
case 'tertiary':
|
|
162
|
-
return {
|
|
163
|
-
color: _theme.colors.gray[8],
|
|
164
|
-
backgroundColor: _theme.white,
|
|
165
|
-
border: `1px solid ${_theme.colors.neutral[2]}`,
|
|
166
|
-
'&:hover': Object.assign({}, (!skipHover
|
|
167
|
-
? {
|
|
168
|
-
backgroundColor: _theme.colors.neutral[0],
|
|
169
|
-
border: `1px solid ${_theme.colors.neutral[0]}`,
|
|
170
|
-
}
|
|
171
|
-
: {
|
|
172
|
-
backgroundColor: _theme.white,
|
|
173
|
-
border: `1px solid ${_theme.colors.neutral[2]}`,
|
|
174
|
-
})),
|
|
175
|
-
};
|
|
176
|
-
case 'light': {
|
|
177
|
-
return {
|
|
178
|
-
color: hexColor,
|
|
179
|
-
backgroundColor: hexColor50,
|
|
180
|
-
border: `1px solid transparent`,
|
|
181
|
-
'&:hover': Object.assign({}, (!skipHover
|
|
182
|
-
? {
|
|
183
|
-
backgroundColor: _theme.white,
|
|
184
|
-
border: `1px solid ${hexColor50}`,
|
|
185
|
-
}
|
|
186
|
-
: {
|
|
187
|
-
backgroundColor: hexColor50,
|
|
188
|
-
border: `1px solid transparent`,
|
|
189
|
-
})),
|
|
190
|
-
};
|
|
191
|
-
}
|
|
192
|
-
case 'ghost':
|
|
193
|
-
return Object.assign({ color: hexColor, backgroundColor: 'transparent', border: `1px solid transparent` }, (!skipHover && {
|
|
194
|
-
'&:hover': {
|
|
195
|
-
backgroundColor: hexColor50,
|
|
196
|
-
border: `1px solid transparent`,
|
|
197
|
-
},
|
|
198
|
-
}));
|
|
199
|
-
}
|
|
200
|
-
})()), { '&[data-disabled]': {
|
|
201
|
-
backgroundColor: _theme.colors.gray[1],
|
|
202
|
-
color: _theme.colors.gray[4],
|
|
203
|
-
} }), (isError
|
|
204
|
-
? Object.assign({ color: _theme.colors.red[6], backgroundColor: _theme.white, border: `1px solid ${_theme.colors.red[6]}` }, (!skipHover && {
|
|
205
|
-
'&:hover': {
|
|
206
|
-
backgroundColor: _theme.colors.red[0],
|
|
207
|
-
border: `1px solid ${_theme.colors.red[6]}`,
|
|
81
|
+
},
|
|
82
|
+
NumberInput: {
|
|
83
|
+
defaultProps: {
|
|
84
|
+
decimalSeparator: (_a = index.ISO_FORMAT[locale]) === null || _a === void 0 ? void 0 : _a.separator,
|
|
85
|
+
},
|
|
86
|
+
},
|
|
87
|
+
Input: {
|
|
88
|
+
styles: (_theme, _, { size }) => ({
|
|
89
|
+
input: {
|
|
90
|
+
border: `1px solid ${theme.theme.colors.gray200}`,
|
|
91
|
+
transition: `all ${ANIMATION_DURATION} ease-in-out`,
|
|
92
|
+
['&:not(.mantine-Textarea-input)']: Object.assign({}, (() => {
|
|
93
|
+
switch (size) {
|
|
94
|
+
case 'lg':
|
|
95
|
+
return {
|
|
96
|
+
height: 48,
|
|
97
|
+
fontSize: 16,
|
|
98
|
+
minHeight: 'unset',
|
|
99
|
+
lineHeight: '24px',
|
|
100
|
+
};
|
|
101
|
+
case 'md':
|
|
102
|
+
return {
|
|
103
|
+
height: 40,
|
|
104
|
+
fontSize: 14,
|
|
105
|
+
lineHeight: '22px',
|
|
106
|
+
minHeight: 'unset',
|
|
107
|
+
};
|
|
108
|
+
case 'sm':
|
|
109
|
+
return {
|
|
110
|
+
height: 32,
|
|
111
|
+
fontSize: 14,
|
|
112
|
+
lineHeight: '22px',
|
|
113
|
+
minHeight: 'unset',
|
|
114
|
+
};
|
|
115
|
+
}
|
|
116
|
+
})()),
|
|
117
|
+
'&:hover': {
|
|
118
|
+
border: `1px solid ${_theme.primaryColor}`,
|
|
119
|
+
// boxShadow: `0 0 2px 2px ${theme.colors.primary200}`,
|
|
120
|
+
},
|
|
121
|
+
'&:focus': {
|
|
122
|
+
boxShadow: `0px 0px 0px 2px ${_theme.colors[_theme.primaryColor][2]}`,
|
|
123
|
+
},
|
|
208
124
|
},
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
backgroundColor: _theme.colors.green[0],
|
|
125
|
+
'&[data-invalid="true"]': {
|
|
126
|
+
border: `1px solid ${theme.theme.colors.red600}`,
|
|
127
|
+
color: '#000',
|
|
213
128
|
},
|
|
214
|
-
})
|
|
215
|
-
|
|
216
|
-
});
|
|
129
|
+
}),
|
|
130
|
+
},
|
|
131
|
+
});
|
|
132
|
+
};
|
|
217
133
|
|
|
218
|
-
const
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
134
|
+
const getGlobalRadioStyle = {
|
|
135
|
+
Radio: {
|
|
136
|
+
defaultProps: {
|
|
137
|
+
size: 'sm',
|
|
138
|
+
color: 'blue.6',
|
|
139
|
+
},
|
|
140
|
+
styles: {
|
|
141
|
+
radio: {
|
|
142
|
+
backgroundColor: 'transparent',
|
|
143
|
+
'&:checked': {
|
|
144
|
+
backgroundColor: 'transparent',
|
|
145
|
+
},
|
|
146
|
+
},
|
|
147
|
+
},
|
|
148
|
+
},
|
|
149
|
+
};
|
|
150
|
+
|
|
151
|
+
const themeColors = {
|
|
152
|
+
hb: [
|
|
153
|
+
'#e3f2ff',
|
|
154
|
+
'#bcdeff',
|
|
155
|
+
'#91caff',
|
|
156
|
+
'#65b5ff',
|
|
157
|
+
'#45a4ff',
|
|
158
|
+
'#2b94ff',
|
|
159
|
+
'#2d87f3',
|
|
160
|
+
'#2c74df',
|
|
161
|
+
'#2b62cd',
|
|
162
|
+
'#2743ad',
|
|
163
|
+
],
|
|
164
|
+
mb: [
|
|
165
|
+
'#FFE9F1',
|
|
166
|
+
'#F8CCDC',
|
|
167
|
+
'#F5B4CB',
|
|
168
|
+
'#F29CBA',
|
|
169
|
+
'#EE84AA',
|
|
170
|
+
'#EB6B99',
|
|
171
|
+
'#E85388',
|
|
172
|
+
'#D34C7C',
|
|
173
|
+
'#BE446F',
|
|
174
|
+
'#A93D63',
|
|
175
|
+
],
|
|
176
|
+
blue: [
|
|
177
|
+
'#e3f2ff',
|
|
178
|
+
'#bcdeff',
|
|
179
|
+
'#91caff',
|
|
180
|
+
'#65b5ff',
|
|
181
|
+
'#45a4ff',
|
|
182
|
+
'#2b94ff',
|
|
183
|
+
'#2d87f3',
|
|
184
|
+
'#2c74df',
|
|
185
|
+
'#2b62cd',
|
|
186
|
+
'#2743ad',
|
|
187
|
+
],
|
|
188
|
+
gray: [
|
|
189
|
+
'#fafafa',
|
|
190
|
+
'#f2f2f2',
|
|
191
|
+
'#d9d9d9',
|
|
192
|
+
'#bfbfbf',
|
|
193
|
+
'#8c8c8c',
|
|
194
|
+
'#737373',
|
|
195
|
+
'#595959',
|
|
196
|
+
'#404040',
|
|
197
|
+
'#262626',
|
|
198
|
+
'#1a1a1a',
|
|
199
|
+
],
|
|
200
|
+
delftGray: [
|
|
201
|
+
'#F3F3F3',
|
|
202
|
+
'#EAEAEC',
|
|
203
|
+
'#D9DAE2',
|
|
204
|
+
'#B9BAC8',
|
|
205
|
+
'#9898A9',
|
|
206
|
+
'#7C7C8F',
|
|
207
|
+
'#5A5A72',
|
|
208
|
+
'#3E3F58',
|
|
209
|
+
'#202135',
|
|
210
|
+
'#0C0C12',
|
|
211
|
+
],
|
|
212
|
+
neutral: [
|
|
213
|
+
'#f7f9fc',
|
|
214
|
+
'#e4e8ec',
|
|
215
|
+
'#d2d6dc',
|
|
216
|
+
'#bfc5cc',
|
|
217
|
+
'#adb3bc',
|
|
218
|
+
'#9aa2ac',
|
|
219
|
+
'#87909c',
|
|
220
|
+
'#757f8c',
|
|
221
|
+
'#626d7c',
|
|
222
|
+
'#545E6C',
|
|
223
|
+
],
|
|
224
|
+
green: [
|
|
225
|
+
'#e0f8ee',
|
|
226
|
+
'#b3eed5',
|
|
227
|
+
'#7ce2b9',
|
|
228
|
+
'#2ed69e',
|
|
229
|
+
'#00CB8A',
|
|
230
|
+
'#00C076',
|
|
231
|
+
'#00B16A',
|
|
232
|
+
'#009E5C',
|
|
233
|
+
'#008C50',
|
|
234
|
+
'#006C39',
|
|
235
|
+
],
|
|
236
|
+
pink: [
|
|
237
|
+
'#fff1f6',
|
|
238
|
+
'#fec7dc',
|
|
239
|
+
'#fec7dc',
|
|
240
|
+
'#fec2cf',
|
|
241
|
+
'#fe9dc2',
|
|
242
|
+
'#fd87b4',
|
|
243
|
+
'#fd72a7',
|
|
244
|
+
'#fc5d9a',
|
|
245
|
+
'#fc488d',
|
|
246
|
+
'#E92D74',
|
|
247
|
+
],
|
|
248
|
+
violet: [
|
|
249
|
+
'#F5EDFF',
|
|
250
|
+
'#E7D2F7',
|
|
251
|
+
'#D8B7F0',
|
|
252
|
+
'#CA9CE8',
|
|
253
|
+
'#BB82E1',
|
|
254
|
+
'#AD67D9',
|
|
255
|
+
'#9E4CD1',
|
|
256
|
+
'#9031CA',
|
|
257
|
+
'#8116C2',
|
|
258
|
+
'#63059D',
|
|
259
|
+
],
|
|
260
|
+
yellow: [
|
|
261
|
+
'#fff8e2',
|
|
262
|
+
'#ffecb6',
|
|
263
|
+
'#ffe187',
|
|
264
|
+
'#ffd658',
|
|
265
|
+
'#ffcb37',
|
|
266
|
+
'#ffc326',
|
|
267
|
+
'#ffb521',
|
|
268
|
+
'#fea21e',
|
|
269
|
+
'#fe921d',
|
|
270
|
+
'#fc7419',
|
|
271
|
+
],
|
|
272
|
+
teal: [
|
|
273
|
+
'#e0f7fc',
|
|
274
|
+
'#b1ebf8',
|
|
275
|
+
'#7ddff3',
|
|
276
|
+
'#44d1ec',
|
|
277
|
+
'#00c7e6',
|
|
278
|
+
'#00bee0',
|
|
279
|
+
'#00aecd',
|
|
280
|
+
'#0099b2',
|
|
281
|
+
'#008599',
|
|
282
|
+
'#00626c',
|
|
283
|
+
],
|
|
284
|
+
indigol: [
|
|
285
|
+
'#CEDDF0',
|
|
286
|
+
'#ACC5E6',
|
|
287
|
+
'#95B3DA',
|
|
288
|
+
'#85A6CF',
|
|
289
|
+
'#6D91BE',
|
|
290
|
+
'#5F85B5',
|
|
291
|
+
'#4C77AC',
|
|
292
|
+
'#35639C',
|
|
293
|
+
'#284A75',
|
|
294
|
+
'#1B3250',
|
|
295
|
+
],
|
|
296
|
+
red: [
|
|
297
|
+
'#fae9e8',
|
|
298
|
+
'#feccbf',
|
|
299
|
+
'#FEAA96',
|
|
300
|
+
'#f44d2c',
|
|
301
|
+
'#ff6f4d',
|
|
302
|
+
'#ff5331',
|
|
303
|
+
'#f44d2c',
|
|
304
|
+
'#e64728',
|
|
305
|
+
'#d84023',
|
|
306
|
+
'#bf331b',
|
|
307
|
+
],
|
|
308
|
+
redViolet: [
|
|
309
|
+
'#F3EAEB',
|
|
310
|
+
'#E8D5D7',
|
|
311
|
+
'#DDC1C4',
|
|
312
|
+
'#D1ACB0',
|
|
313
|
+
'#C5979C',
|
|
314
|
+
'#BA8288',
|
|
315
|
+
'#AF6D74',
|
|
316
|
+
'#A35961',
|
|
317
|
+
'#97444D',
|
|
318
|
+
'#8C2F39',
|
|
319
|
+
],
|
|
320
|
+
};
|
|
321
|
+
const getMantineThemeOverride = (locale, template = 'hb') => {
|
|
322
|
+
return {
|
|
323
|
+
defaultRadius: template === 'hb' ? 8 : 16,
|
|
324
|
+
cursorType: 'pointer',
|
|
325
|
+
colors: Object.assign(Object.assign(Object.assign({}, themeColors), theme.theme.colors), { toneYellow: '#fff9eb', toneGreen: '#f2fcf7', toneBlue: '#e0e9fb', tonePink: '#ffeaf1' }),
|
|
326
|
+
primaryColor: template,
|
|
327
|
+
primaryShade: 6,
|
|
328
|
+
fontFamily: (locale === Subot.LOCALE.Cambodia
|
|
329
|
+
? 'Battambang'
|
|
330
|
+
: locale === Subot.LOCALE.Thailand
|
|
331
|
+
? 'Noto Sans Thai'
|
|
332
|
+
: 'Inter') +
|
|
333
|
+
`, -apple-system, BlinkMacSystemFont, 'Segoe UI', Oxygen, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif`,
|
|
334
|
+
breakpoints: {
|
|
335
|
+
xs: core.em(utils.Breakpoints.BREAK_POINT_SMALL_MOBILE),
|
|
336
|
+
sm: core.em(utils.Breakpoints.BREAK_POINT_MOBILE),
|
|
337
|
+
md: core.em(utils.Breakpoints.BREAK_POINT_TABLET),
|
|
338
|
+
lg: core.em(utils.Breakpoints.BREAK_POINT_PC),
|
|
339
|
+
xl: core.em(utils.Breakpoints.BREAK_POINT_LGPC),
|
|
340
|
+
},
|
|
341
|
+
components: Object.assign(Object.assign(Object.assign(Object.assign({}, GlobalInputStyle(locale)), getGlobalRadioStyle), GlobalButtonStyle), useMantineLocale.GlobalHeadingStyle),
|
|
342
|
+
other: {
|
|
343
|
+
template,
|
|
344
|
+
defaultImage: index$1.CommonGAssets.getAssetPath(template === 'mb' ? 'default-image-mb.jpg' : 'default-image.jpg'),
|
|
345
|
+
},
|
|
346
|
+
};
|
|
347
|
+
};
|
|
348
|
+
|
|
349
|
+
const ImageWrap = (_a) => {
|
|
350
|
+
var { alt, backupSrc, src, placeholderSrc, style, ref } = _a, props = tslib_es6.__rest(_a, ["alt", "backupSrc", "src", "placeholderSrc", "style", "ref"]);
|
|
351
|
+
const [hasError, setHasError] = React.useState(false);
|
|
352
|
+
return (React__namespace["default"].createElement(StyledImage, Object.assign({ loading: "lazy", alt: alt, onError: () => !hasError && setHasError(true), src: hasError ? backupSrc || src : src || backupSrc, style: Object.assign(Object.assign({}, (placeholderSrc
|
|
353
|
+
? {
|
|
354
|
+
backgroundImage: `url(${placeholderSrc})`,
|
|
355
|
+
}
|
|
356
|
+
: {})), style), "data-has-placeholder": !!placeholderSrc, ref: ref }, props)));
|
|
357
|
+
};
|
|
358
|
+
const StyledImage = styled__default["default"].img `
|
|
359
|
+
&[data-has-placeholder='true'] {
|
|
360
|
+
background-position: center;
|
|
361
|
+
background-repeat: no-repeat;
|
|
362
|
+
background-size: cover;
|
|
363
|
+
}
|
|
364
|
+
`;
|
|
365
|
+
|
|
366
|
+
var useStyles$4 = core.createStyles((_theme, _params) => {
|
|
367
|
+
var _a, _b, _c, _d, _e, _f;
|
|
368
|
+
const { other } = _theme;
|
|
369
|
+
const { template } = other;
|
|
370
|
+
const { size, variant, skipHover, isError, isSuccess, color, children, theme: themeProp, } = _params;
|
|
371
|
+
const isMb = template === 'mb' || themeProp === 'marryBaby';
|
|
372
|
+
const finalColor = color || (themeProp && isMb ? 'mb' : _theme.primaryColor);
|
|
373
|
+
const isHexColor = finalColor.startsWith('#');
|
|
374
|
+
const hexColor50 = isHexColor
|
|
375
|
+
? _theme.fn.lighten(color, 0.9)
|
|
376
|
+
: ((_b = (_a = _theme.colors) === null || _a === void 0 ? void 0 : _a[finalColor]) === null || _b === void 0 ? void 0 : _b[0]) || '';
|
|
377
|
+
const hexColor = isHexColor
|
|
378
|
+
? finalColor
|
|
379
|
+
: (_d = (_c = _theme.colors) === null || _c === void 0 ? void 0 : _c[finalColor]) === null || _d === void 0 ? void 0 : _d[_theme.fn.primaryShade()];
|
|
380
|
+
const hoverHexColor = isHexColor
|
|
381
|
+
? _theme.fn.darken(color, 0.05)
|
|
382
|
+
: (_f = (_e = _theme.colors) === null || _e === void 0 ? void 0 : _e[finalColor]) === null || _f === void 0 ? void 0 : _f[_theme.fn.primaryShade() + 1];
|
|
383
|
+
return {
|
|
384
|
+
root: Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({ transition: `all ${ANIMATION_DURATION} ease-in-out`, '&[data-event-category] > *': {
|
|
385
|
+
pointerEvents: 'none',
|
|
386
|
+
}, '&:focus': {
|
|
387
|
+
outline: 'none',
|
|
388
|
+
} }, (!children && {
|
|
389
|
+
paddingLeft: '10px',
|
|
390
|
+
paddingRight: '10px',
|
|
391
|
+
'.mantine-Button-icon': {
|
|
392
|
+
margin: 0,
|
|
393
|
+
},
|
|
394
|
+
})), (() => {
|
|
395
|
+
switch (size) {
|
|
396
|
+
case 'xl':
|
|
397
|
+
return {
|
|
398
|
+
height: 56,
|
|
399
|
+
fontWeight: 600,
|
|
400
|
+
fontSize: isMb ? '14px' : '16px',
|
|
401
|
+
lineHeight: '24px',
|
|
402
|
+
};
|
|
403
|
+
case 'lg':
|
|
404
|
+
return {
|
|
405
|
+
height: 48,
|
|
406
|
+
fontWeight: 600,
|
|
407
|
+
fontSize: isMb ? '14px' : '16px',
|
|
408
|
+
lineHeight: '24px',
|
|
409
|
+
};
|
|
410
|
+
case 'md':
|
|
411
|
+
return {
|
|
412
|
+
height: 40,
|
|
413
|
+
fontWeight: 600,
|
|
414
|
+
fontSize: '14px',
|
|
415
|
+
lineHeight: '22px',
|
|
416
|
+
};
|
|
417
|
+
case 'sm':
|
|
418
|
+
return {
|
|
419
|
+
height: 32,
|
|
420
|
+
fontWeight: 600,
|
|
421
|
+
fontSize: isMb ? '12px' : '14px',
|
|
422
|
+
lineHeight: '22px',
|
|
423
|
+
paddingLeft: '16px',
|
|
424
|
+
paddingRight: '16px',
|
|
425
|
+
};
|
|
426
|
+
case 'xs':
|
|
427
|
+
return {
|
|
428
|
+
height: 24,
|
|
429
|
+
fontWeight: 600,
|
|
430
|
+
fontSize: '12px',
|
|
431
|
+
lineHeight: '18px',
|
|
432
|
+
paddingLeft: '8px',
|
|
433
|
+
paddingRight: '8px',
|
|
434
|
+
};
|
|
435
|
+
}
|
|
436
|
+
})()), (() => {
|
|
437
|
+
switch (variant) {
|
|
438
|
+
case 'primary': {
|
|
439
|
+
return Object.assign({ color: _theme.white, backgroundColor: hexColor }, (!skipHover && {
|
|
440
|
+
'&:hover': {
|
|
441
|
+
backgroundColor: hoverHexColor,
|
|
442
|
+
},
|
|
443
|
+
}));
|
|
444
|
+
}
|
|
445
|
+
case 'secondary':
|
|
446
|
+
return Object.assign({ color: hexColor, backgroundColor: 'transparent', border: `1px solid ${hexColor}` }, (!skipHover && {
|
|
447
|
+
'&:hover': {
|
|
448
|
+
backgroundColor: hexColor50,
|
|
449
|
+
border: `1px solid ${hexColor}`,
|
|
450
|
+
},
|
|
451
|
+
}));
|
|
452
|
+
case 'white':
|
|
453
|
+
return {
|
|
454
|
+
color: hexColor,
|
|
455
|
+
backgroundColor: 'transparent',
|
|
456
|
+
border: `1px solid transparent`,
|
|
457
|
+
'&:hover': {
|
|
458
|
+
backgroundColor: 'transparent',
|
|
459
|
+
borderColor: `transparent`,
|
|
460
|
+
},
|
|
461
|
+
};
|
|
462
|
+
case 'tertiary':
|
|
463
|
+
return {
|
|
464
|
+
color: _theme.colors.gray[8],
|
|
465
|
+
backgroundColor: _theme.white,
|
|
466
|
+
border: `1px solid ${_theme.colors.neutral[2]}`,
|
|
467
|
+
'&:hover': Object.assign({}, (!skipHover
|
|
468
|
+
? {
|
|
469
|
+
backgroundColor: _theme.colors.neutral[0],
|
|
470
|
+
border: `1px solid ${_theme.colors.neutral[0]}`,
|
|
471
|
+
}
|
|
472
|
+
: {
|
|
473
|
+
backgroundColor: _theme.white,
|
|
474
|
+
border: `1px solid ${_theme.colors.neutral[2]}`,
|
|
475
|
+
})),
|
|
476
|
+
};
|
|
477
|
+
case 'light': {
|
|
478
|
+
return {
|
|
479
|
+
color: hexColor,
|
|
480
|
+
backgroundColor: hexColor50,
|
|
481
|
+
border: `1px solid transparent`,
|
|
482
|
+
'&:hover': Object.assign({}, (!skipHover
|
|
483
|
+
? {
|
|
484
|
+
backgroundColor: _theme.white,
|
|
485
|
+
border: `1px solid ${hexColor50}`,
|
|
486
|
+
}
|
|
487
|
+
: {
|
|
488
|
+
backgroundColor: hexColor50,
|
|
489
|
+
border: `1px solid transparent`,
|
|
490
|
+
})),
|
|
491
|
+
};
|
|
492
|
+
}
|
|
493
|
+
case 'ghost':
|
|
494
|
+
return Object.assign({ color: hexColor, backgroundColor: 'transparent', border: `1px solid transparent` }, (!skipHover && {
|
|
495
|
+
'&:hover': {
|
|
496
|
+
backgroundColor: hexColor50,
|
|
497
|
+
border: `1px solid transparent`,
|
|
498
|
+
},
|
|
499
|
+
}));
|
|
500
|
+
}
|
|
501
|
+
})()), { '&[data-disabled]': {
|
|
502
|
+
backgroundColor: _theme.colors.gray[1],
|
|
503
|
+
color: _theme.colors.gray[4],
|
|
504
|
+
} }), (isError
|
|
505
|
+
? Object.assign({ color: _theme.colors.red[6], backgroundColor: _theme.white, border: `1px solid ${_theme.colors.red[6]}` }, (!skipHover && {
|
|
506
|
+
'&:hover': {
|
|
507
|
+
backgroundColor: _theme.colors.red[0],
|
|
508
|
+
border: `1px solid ${_theme.colors.red[6]}`,
|
|
509
|
+
},
|
|
510
|
+
})) : {})), (isSuccess
|
|
511
|
+
? Object.assign({ color: _theme.colors.green[8], backgroundColor: _theme.colors.green[0] }, (!skipHover && {
|
|
512
|
+
'&:hover': {
|
|
513
|
+
backgroundColor: _theme.colors.green[0],
|
|
514
|
+
},
|
|
515
|
+
})) : {})),
|
|
516
|
+
};
|
|
517
|
+
});
|
|
518
|
+
|
|
519
|
+
const MAPPED_VARIANT = {
|
|
520
|
+
primary: 'filled',
|
|
521
|
+
secondary: 'outline',
|
|
522
|
+
tertiary: 'default',
|
|
523
|
+
light: 'light',
|
|
524
|
+
ghost: 'subtle',
|
|
525
|
+
error: 'outline',
|
|
526
|
+
white: 'white',
|
|
527
|
+
success: 'subtle',
|
|
528
|
+
};
|
|
228
529
|
function filterObject(obj) {
|
|
229
530
|
const ret = {};
|
|
230
531
|
Object.keys(obj)
|
|
@@ -252,8 +553,8 @@ const Button = (props) => {
|
|
|
252
553
|
}, variant: MAPPED_VARIANT[variant], "data-variant": variant, "data-event-category": dataEventCategory, "data-event-action": dataEventAction, "data-event-label": dataEventLabel }, rest), children));
|
|
253
554
|
};
|
|
254
555
|
|
|
255
|
-
const CambodiaRoundIcon = (props) => (React__namespace["default"].createElement(ImageWrap, Object.assign({ alt: "round cambodia flag", src: index.CommonGAssets.getAssetPath('flags/cambodiaRound.png'), style: Object.assign({ borderRadius: '50%' }, props.style) }, props)));
|
|
256
|
-
const CambodiaSquareIcon = (props) => (React__namespace["default"].createElement(ImageWrap, Object.assign({ alt: "square cambodia flag", src: index.CommonGAssets.getAssetPath('flags/cambodiaSquare.png') }, props)));
|
|
556
|
+
const CambodiaRoundIcon = (props) => (React__namespace["default"].createElement(ImageWrap, Object.assign({ alt: "round cambodia flag", src: index$1.CommonGAssets.getAssetPath('flags/cambodiaRound.png'), style: Object.assign({ borderRadius: '50%' }, props.style) }, props)));
|
|
557
|
+
const CambodiaSquareIcon = (props) => (React__namespace["default"].createElement(ImageWrap, Object.assign({ alt: "square cambodia flag", src: index$1.CommonGAssets.getAssetPath('flags/cambodiaSquare.png') }, props)));
|
|
257
558
|
|
|
258
559
|
const EnglishRoundIcon = (props) => (React__namespace["default"].createElement("svg", Object.assign({ viewBox: "0 0 20 20", fill: "none", style: Object.assign({ borderRadius: '50%' }, props.style) }, props),
|
|
259
560
|
React__namespace["default"].createElement("g", null,
|
|
@@ -300,8 +601,8 @@ const EnglishSquareIcon = (props) => (React__namespace["default"].createElement(
|
|
|
300
601
|
React__namespace["default"].createElement("path", { d: "M9.32609 10.8334L1.08301 5.79537V7.06504L7.24826 10.8334H9.32609ZM24.0004 5.41675L15.1376 10.8334H17.2149L24.9163 6.12687V5.41675H24.0004ZM17.9191 15.1667L24.9163 19.4432V18.1735L19.9964 15.1667H17.9191ZM8.62192 15.1667L1.08301 19.7742V20.5834H1.83701L10.6992 15.1667H8.62192ZM1.08301 11.9167H24.9163V14.0834H1.08301V11.9167Z", fill: "#E53935" }),
|
|
301
602
|
React__namespace["default"].createElement("path", { d: "M11.917 5.41675H14.0837V20.5834H11.917V5.41675Z", fill: "#E53935" }))));
|
|
302
603
|
|
|
303
|
-
const IndiaRoundIcon = (props) => (React__namespace["default"].createElement(ImageWrap, Object.assign({ alt: "round india flag", src: index.CommonGAssets.getAssetPath('flags/indiaRound.png'), style: Object.assign({ borderRadius: '50%' }, props.style) }, props)));
|
|
304
|
-
const IndiaSquareIcon = (props) => (React__namespace["default"].createElement(ImageWrap, Object.assign({ alt: "square indian flag", src: index.CommonGAssets.getAssetPath('flags/indiaSquare.png') }, props)));
|
|
604
|
+
const IndiaRoundIcon = (props) => (React__namespace["default"].createElement(ImageWrap, Object.assign({ alt: "round india flag", src: index$1.CommonGAssets.getAssetPath('flags/indiaRound.png'), style: Object.assign({ borderRadius: '50%' }, props.style) }, props)));
|
|
605
|
+
const IndiaSquareIcon = (props) => (React__namespace["default"].createElement(ImageWrap, Object.assign({ alt: "square indian flag", src: index$1.CommonGAssets.getAssetPath('flags/indiaSquare.png') }, props)));
|
|
305
606
|
|
|
306
607
|
const IndonesiaRoundIcon = (_a) => {
|
|
307
608
|
var rest = tslib_es6.__rest(_a, []);
|
|
@@ -383,8 +684,8 @@ const MyanmarSquareIcon = (props) => (React__namespace["default"].createElement(
|
|
|
383
684
|
React__namespace["default"].createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M11.6667 7.4589L16.3104 7.41087L12.5218 9.79821L11.6667 7.4589Z", fill: "white" }),
|
|
384
685
|
React__namespace["default"].createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M13.2361 7.90629L14.7225 11.8171L10.9974 9.35207L13.2361 7.90629Z", fill: "white" })));
|
|
385
686
|
|
|
386
|
-
const PhilippinesRoundIcon = (props) => (React__namespace["default"].createElement(ImageWrap, Object.assign({ alt: "round philippines flag", src: index.CommonGAssets.getAssetPath('flags/philippineRound.png'), style: Object.assign({ borderRadius: '50%' }, props.style) }, props)));
|
|
387
|
-
const PhilippinesSquareIcon = (props) => (React__namespace["default"].createElement(ImageWrap, Object.assign({ alt: "square philippines flag", src: index.CommonGAssets.getAssetPath('flags/philippineSquare.png') }, props)));
|
|
687
|
+
const PhilippinesRoundIcon = (props) => (React__namespace["default"].createElement(ImageWrap, Object.assign({ alt: "round philippines flag", src: index$1.CommonGAssets.getAssetPath('flags/philippineRound.png'), style: Object.assign({ borderRadius: '50%' }, props.style) }, props)));
|
|
688
|
+
const PhilippinesSquareIcon = (props) => (React__namespace["default"].createElement(ImageWrap, Object.assign({ alt: "square philippines flag", src: index$1.CommonGAssets.getAssetPath('flags/philippineSquare.png') }, props)));
|
|
388
689
|
|
|
389
690
|
const TaiwanRoundIcon = (props) => (React__namespace["default"].createElement("svg", Object.assign({ viewBox: "0 0 20 20", fill: "none", style: Object.assign({ borderRadius: '50%' }, props.style) }, props),
|
|
390
691
|
React__namespace["default"].createElement("g", null,
|
|
@@ -563,7 +864,7 @@ const _AutoComplete = React.forwardRef((_a, ref) => {
|
|
|
563
864
|
const onClear = () => {
|
|
564
865
|
handleChange('');
|
|
565
866
|
};
|
|
566
|
-
return (React__namespace["default"].createElement(core.Autocomplete, Object.assign({ ref: ref, rightSection: React__namespace["default"].createElement(core.Image, { src: index.CommonGAssets.getAssetPath('chevron-down.svg'), fit: "none" }), size: "md", maxDropdownHeight: 300, onChange: (e) => handleChange(e), value: _value }, props, (clearable && (_value === null || _value === void 0 ? void 0 : _value.length) > 0
|
|
867
|
+
return (React__namespace["default"].createElement(core.Autocomplete, Object.assign({ ref: ref, rightSection: React__namespace["default"].createElement(core.Image, { src: index$1.CommonGAssets.getAssetPath('chevron-down.svg'), fit: "none" }), size: "md", maxDropdownHeight: 300, onChange: (e) => handleChange(e), value: _value }, props, (clearable && (_value === null || _value === void 0 ? void 0 : _value.length) > 0
|
|
567
868
|
? {
|
|
568
869
|
rightSection: (React__namespace["default"].createElement(core.ActionIcon, { onClick: onClear, sx: { cursor: 'pointer' } },
|
|
569
870
|
React__namespace["default"].createElement(_IconSelect, null))),
|
|
@@ -590,47 +891,6 @@ const _Select = React.forwardRef((_a, ref) => {
|
|
|
590
891
|
const _IconSelect = () => (React__namespace["default"].createElement("svg", { width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" },
|
|
591
892
|
React__namespace["default"].createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M1.6665 9.99996C1.6665 5.39163 5.3915 1.66663 9.99984 1.66663C14.6082 1.66663 18.3332 5.39163 18.3332 9.99996C18.3332 14.6083 14.6082 18.3333 9.99984 18.3333C5.3915 18.3333 1.6665 14.6083 1.6665 9.99996ZM12.4083 13.5831C12.7333 13.9081 13.2583 13.9081 13.5833 13.5831C13.9 13.2581 13.9 12.7247 13.5833 12.4081L11.175 9.99973L13.5833 7.5914C13.9083 7.2664 13.9083 6.7414 13.5833 6.4164C13.2583 6.0914 12.7333 6.0914 12.4083 6.4164L10 8.82473L7.59167 6.4164C7.26667 6.0914 6.74167 6.0914 6.41667 6.4164C6.26063 6.57209 6.17293 6.78347 6.17293 7.0039C6.17293 7.22433 6.26063 7.43571 6.41667 7.5914L8.825 9.99973L6.41667 12.4081C6.26063 12.5638 6.17293 12.7751 6.17293 12.9956C6.17293 13.216 6.26063 13.4274 6.41667 13.5831C6.74167 13.9081 7.26667 13.9081 7.59167 13.5831L10 11.1747L12.4083 13.5831Z", fill: "#8C8C8C" })));
|
|
592
893
|
|
|
593
|
-
// Available locale list https://cdn.jsdelivr.net/npm/dayjs@1/locale.json
|
|
594
|
-
const MAPPED_LOCALE = {
|
|
595
|
-
[Subot.LOCALE.Vietnam]: 'vi',
|
|
596
|
-
[Subot.LOCALE.Cambodia]: 'km',
|
|
597
|
-
[Subot.LOCALE.India]: 'hi',
|
|
598
|
-
[Subot.LOCALE.Indonesia]: 'id',
|
|
599
|
-
[Subot.LOCALE.Malaysia]: 'ms',
|
|
600
|
-
[Subot.LOCALE.Thailand]: 'th',
|
|
601
|
-
[Subot.LOCALE.Taiwan]: 'zh-tw',
|
|
602
|
-
[Subot.LOCALE.PhilippinesTagalog]: 'tl-ph',
|
|
603
|
-
[Subot.LOCALE.PhilippinesEnglish]: 'en',
|
|
604
|
-
[Subot.LOCALE.Myanmar]: 'my',
|
|
605
|
-
};
|
|
606
|
-
const LOCALE_LOADERS = {
|
|
607
|
-
[Subot.LOCALE.Vietnam]: () => Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require('dayjs/locale/vi.js')); }),
|
|
608
|
-
[Subot.LOCALE.Cambodia]: () => Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require('dayjs/locale/km.js')); }),
|
|
609
|
-
[Subot.LOCALE.India]: () => Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require('dayjs/locale/hi.js')); }),
|
|
610
|
-
[Subot.LOCALE.Indonesia]: () => Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require('dayjs/locale/id.js')); }),
|
|
611
|
-
[Subot.LOCALE.Malaysia]: () => Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require('dayjs/locale/ms.js')); }),
|
|
612
|
-
[Subot.LOCALE.Thailand]: () => Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require('dayjs/locale/th.js')); }),
|
|
613
|
-
[Subot.LOCALE.Taiwan]: () => Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require('dayjs/locale/zh-tw.js')); }),
|
|
614
|
-
[Subot.LOCALE.PhilippinesTagalog]: () => Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require('dayjs/locale/tl-ph.js')); }),
|
|
615
|
-
[Subot.LOCALE.PhilippinesEnglish]: () => Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require('dayjs/locale/en.js')); }),
|
|
616
|
-
[Subot.LOCALE.Myanmar]: () => Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require('dayjs/locale/my.js')); }),
|
|
617
|
-
};
|
|
618
|
-
const useMantineLocale = (locale) => {
|
|
619
|
-
const [isLoaded, setIsLoaded] = React.useState(false);
|
|
620
|
-
React.useEffect(() => {
|
|
621
|
-
(() => tslib_es6.__awaiter(void 0, void 0, void 0, function* () {
|
|
622
|
-
var _a;
|
|
623
|
-
setIsLoaded(false);
|
|
624
|
-
yield ((_a = LOCALE_LOADERS[locale]) === null || _a === void 0 ? void 0 : _a.call(LOCALE_LOADERS));
|
|
625
|
-
dayjs__default["default"].locale(MAPPED_LOCALE[locale]);
|
|
626
|
-
setIsLoaded(true);
|
|
627
|
-
}))();
|
|
628
|
-
}, [locale]);
|
|
629
|
-
return {
|
|
630
|
-
isLoaded,
|
|
631
|
-
};
|
|
632
|
-
};
|
|
633
|
-
|
|
634
894
|
const getIsMobile = () => {
|
|
635
895
|
return (typeof window !== 'undefined' &&
|
|
636
896
|
window.innerWidth < utils.Breakpoints.BREAK_POINT_MOBILE);
|
|
@@ -711,395 +971,61 @@ const StyledCarousel = styled__default["default"](Carousel) `
|
|
|
711
971
|
&:first-child {
|
|
712
972
|
padding-right: 24px;
|
|
713
973
|
background: linear-gradient(
|
|
714
|
-
90deg,
|
|
715
|
-
rgba(255, 255, 255, 1) 0%,
|
|
716
|
-
rgba(255, 255, 255, 1) 50%,
|
|
717
|
-
rgba(255, 255, 255, 0) 100%
|
|
718
|
-
);
|
|
719
|
-
}
|
|
720
|
-
&:last-child {
|
|
721
|
-
padding-left: 24px;
|
|
722
|
-
background: linear-gradient(
|
|
723
|
-
270deg,
|
|
724
|
-
rgba(255, 255, 255, 1) 0%,
|
|
725
|
-
rgba(255, 255, 255, 1) 50%,
|
|
726
|
-
rgba(255, 255, 255, 0) 100%
|
|
727
|
-
);
|
|
728
|
-
}
|
|
729
|
-
}
|
|
730
|
-
|
|
731
|
-
.mantine-Carousel-container {
|
|
732
|
-
align-items: center;
|
|
733
|
-
}
|
|
734
|
-
`;
|
|
735
|
-
|
|
736
|
-
var useStyles$3 = core.createStyles((_theme, _params) => {
|
|
737
|
-
return {
|
|
738
|
-
root: {
|
|
739
|
-
color: _params.color ||
|
|
740
|
-
(_theme.primaryColor === 'hb'
|
|
741
|
-
? _theme.colors.hb[6]
|
|
742
|
-
: _theme.fn.primaryColor()),
|
|
743
|
-
'&[data-event-category] > *': {
|
|
744
|
-
pointerEvents: 'none',
|
|
745
|
-
},
|
|
746
|
-
},
|
|
747
|
-
};
|
|
748
|
-
});
|
|
749
|
-
|
|
750
|
-
const Anchor = (_a) => {
|
|
751
|
-
var { color, styles, className } = _a, rest = tslib_es6.__rest(_a, ["color", "styles", "className"]);
|
|
752
|
-
const { classes, cx } = useStyles$3({ color }, { name: 'Anchor', styles });
|
|
753
|
-
return React__namespace["default"].createElement(index$1.Text, Object.assign({ as: "a", className: cx(classes.root, className) }, rest));
|
|
754
|
-
};
|
|
755
|
-
|
|
756
|
-
const BreadcrumbItem = (_a) => {
|
|
757
|
-
var { children } = _a, rest = tslib_es6.__rest(_a, ["children"]);
|
|
758
|
-
return (React__namespace["default"].createElement(Anchor, Object.assign({ size: "p4", color: 'gray.8' }, rest), children));
|
|
759
|
-
};
|
|
760
|
-
|
|
761
|
-
const AspectRatio = (props) => {
|
|
762
|
-
return (React__namespace["default"].createElement(core.AspectRatio, Object.assign({ sx: {
|
|
763
|
-
borderRadius: 4,
|
|
764
|
-
overflow: 'hidden',
|
|
765
|
-
'> img': {
|
|
766
|
-
objectFit: 'contain',
|
|
767
|
-
},
|
|
768
|
-
} }, props)));
|
|
769
|
-
};
|
|
770
|
-
|
|
771
|
-
const GlobalButtonStyle = {
|
|
772
|
-
Button: {
|
|
773
|
-
defaultProps: {
|
|
774
|
-
variant: 'primary',
|
|
775
|
-
size: 'md',
|
|
776
|
-
},
|
|
777
|
-
},
|
|
778
|
-
};
|
|
779
|
-
|
|
780
|
-
const headingStyles = [
|
|
781
|
-
{ size: '40px', lineHeight: '52px', letterSpacing: '-1.2px' },
|
|
782
|
-
{ size: '32px', lineHeight: '42px', letterSpacing: '-1px' },
|
|
783
|
-
{ size: '26px', lineHeight: '36px', letterSpacing: '-0.8px' },
|
|
784
|
-
{ size: '22px', lineHeight: '32px', letterSpacing: '-0.6px' },
|
|
785
|
-
{ size: '18px', lineHeight: '28px', letterSpacing: '-0.2px' },
|
|
786
|
-
{ size: '16px', lineHeight: '24px', letterSpacing: 0 },
|
|
787
|
-
];
|
|
788
|
-
const headingStylesMBDown = [
|
|
789
|
-
{ size: '26px', lineHeight: '34px', letterSpacing: '-0.9px' },
|
|
790
|
-
{ size: '24px', lineHeight: '32px', letterSpacing: '-0.8px' },
|
|
791
|
-
{ size: '20px', lineHeight: '26px', letterSpacing: '-0.7px' },
|
|
792
|
-
{ size: '18px', lineHeight: '26px', letterSpacing: '-0.6px' },
|
|
793
|
-
{ size: '16px', lineHeight: '24px', letterSpacing: '-0.2px' },
|
|
794
|
-
{ size: '14px', lineHeight: '22px', letterSpacing: '-0.2px' },
|
|
795
|
-
];
|
|
796
|
-
const getHeadingStyles = (mbDown = false) => Object.fromEntries((mbDown ? headingStylesMBDown : headingStyles).map((style, index) => [
|
|
797
|
-
`h${index + 1}`,
|
|
798
|
-
{
|
|
799
|
-
fontSize: style.size,
|
|
800
|
-
lineHeight: style.lineHeight,
|
|
801
|
-
letterSpacing: style.letterSpacing,
|
|
802
|
-
},
|
|
803
|
-
]));
|
|
804
|
-
const GlobalHeadingStyle = {
|
|
805
|
-
Title: {
|
|
806
|
-
styles: {
|
|
807
|
-
root: Object.assign(Object.assign({ fontWeight: index$1.OTHER_THEME_CONFIG.fontWeight.bold }, getHeadingStyles()), { [`&${utils.MediaQueries.mbDown}`]: Object.assign({}, getHeadingStyles(true)) }),
|
|
808
|
-
},
|
|
809
|
-
},
|
|
810
|
-
};
|
|
811
|
-
|
|
812
|
-
const GlobalInputStyle = (locale) => {
|
|
813
|
-
var _a;
|
|
814
|
-
return ({
|
|
815
|
-
InputWrapper: {
|
|
816
|
-
styles: {
|
|
817
|
-
label: {
|
|
818
|
-
display: 'inline-flex',
|
|
819
|
-
gap: 4,
|
|
820
|
-
marginBottom: '0.25rem',
|
|
821
|
-
fontWeight: 600,
|
|
822
|
-
fontSize: '14px',
|
|
823
|
-
lineHeight: '22px',
|
|
824
|
-
color: theme.theme.colors.gray600,
|
|
825
|
-
},
|
|
826
|
-
description: {
|
|
827
|
-
fontWeight: 400,
|
|
828
|
-
fontSize: '12px',
|
|
829
|
-
lineHeight: '18px',
|
|
830
|
-
color: theme.theme.colors.gray600,
|
|
831
|
-
marginBottom: '0.25rem',
|
|
832
|
-
},
|
|
833
|
-
error: {
|
|
834
|
-
marginTop: '0.25rem',
|
|
835
|
-
},
|
|
836
|
-
},
|
|
837
|
-
},
|
|
838
|
-
NumberInput: {
|
|
839
|
-
defaultProps: {
|
|
840
|
-
decimalSeparator: (_a = index$2.ISO_FORMAT[locale]) === null || _a === void 0 ? void 0 : _a.separator,
|
|
841
|
-
},
|
|
842
|
-
},
|
|
843
|
-
Input: {
|
|
844
|
-
styles: (_theme, _, { size }) => ({
|
|
845
|
-
input: {
|
|
846
|
-
border: `1px solid ${theme.theme.colors.gray200}`,
|
|
847
|
-
transition: `all ${ANIMATION_DURATION} ease-in-out`,
|
|
848
|
-
['&:not(.mantine-Textarea-input)']: Object.assign({}, (() => {
|
|
849
|
-
switch (size) {
|
|
850
|
-
case 'lg':
|
|
851
|
-
return {
|
|
852
|
-
height: 48,
|
|
853
|
-
fontSize: 16,
|
|
854
|
-
minHeight: 'unset',
|
|
855
|
-
lineHeight: '24px',
|
|
856
|
-
};
|
|
857
|
-
case 'md':
|
|
858
|
-
return {
|
|
859
|
-
height: 40,
|
|
860
|
-
fontSize: 14,
|
|
861
|
-
lineHeight: '22px',
|
|
862
|
-
minHeight: 'unset',
|
|
863
|
-
};
|
|
864
|
-
case 'sm':
|
|
865
|
-
return {
|
|
866
|
-
height: 32,
|
|
867
|
-
fontSize: 14,
|
|
868
|
-
lineHeight: '22px',
|
|
869
|
-
minHeight: 'unset',
|
|
870
|
-
};
|
|
871
|
-
}
|
|
872
|
-
})()),
|
|
873
|
-
'&:hover': {
|
|
874
|
-
border: `1px solid ${_theme.primaryColor}`,
|
|
875
|
-
// boxShadow: `0 0 2px 2px ${theme.colors.primary200}`,
|
|
876
|
-
},
|
|
877
|
-
'&:focus': {
|
|
878
|
-
boxShadow: `0px 0px 0px 2px ${_theme.colors[_theme.primaryColor][2]}`,
|
|
879
|
-
},
|
|
880
|
-
},
|
|
881
|
-
'&[data-invalid="true"]': {
|
|
882
|
-
border: `1px solid ${theme.theme.colors.red600}`,
|
|
883
|
-
color: '#000',
|
|
884
|
-
},
|
|
885
|
-
}),
|
|
886
|
-
},
|
|
887
|
-
});
|
|
888
|
-
};
|
|
974
|
+
90deg,
|
|
975
|
+
rgba(255, 255, 255, 1) 0%,
|
|
976
|
+
rgba(255, 255, 255, 1) 50%,
|
|
977
|
+
rgba(255, 255, 255, 0) 100%
|
|
978
|
+
);
|
|
979
|
+
}
|
|
980
|
+
&:last-child {
|
|
981
|
+
padding-left: 24px;
|
|
982
|
+
background: linear-gradient(
|
|
983
|
+
270deg,
|
|
984
|
+
rgba(255, 255, 255, 1) 0%,
|
|
985
|
+
rgba(255, 255, 255, 1) 50%,
|
|
986
|
+
rgba(255, 255, 255, 0) 100%
|
|
987
|
+
);
|
|
988
|
+
}
|
|
989
|
+
}
|
|
889
990
|
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
color: 'blue.6',
|
|
895
|
-
},
|
|
896
|
-
styles: {
|
|
897
|
-
radio: {
|
|
898
|
-
backgroundColor: 'transparent',
|
|
899
|
-
'&:checked': {
|
|
900
|
-
backgroundColor: 'transparent',
|
|
901
|
-
},
|
|
902
|
-
},
|
|
903
|
-
},
|
|
904
|
-
},
|
|
905
|
-
};
|
|
991
|
+
.mantine-Carousel-container {
|
|
992
|
+
align-items: center;
|
|
993
|
+
}
|
|
994
|
+
`;
|
|
906
995
|
|
|
907
|
-
|
|
908
|
-
hb: [
|
|
909
|
-
'#e3f2ff',
|
|
910
|
-
'#bcdeff',
|
|
911
|
-
'#91caff',
|
|
912
|
-
'#65b5ff',
|
|
913
|
-
'#45a4ff',
|
|
914
|
-
'#2b94ff',
|
|
915
|
-
'#2d87f3',
|
|
916
|
-
'#2c74df',
|
|
917
|
-
'#2b62cd',
|
|
918
|
-
'#2743ad',
|
|
919
|
-
],
|
|
920
|
-
mb: [
|
|
921
|
-
'#FFE9F1',
|
|
922
|
-
'#F8CCDC',
|
|
923
|
-
'#F5B4CB',
|
|
924
|
-
'#F29CBA',
|
|
925
|
-
'#EE84AA',
|
|
926
|
-
'#EB6B99',
|
|
927
|
-
'#E85388',
|
|
928
|
-
'#D34C7C',
|
|
929
|
-
'#BE446F',
|
|
930
|
-
'#A93D63',
|
|
931
|
-
],
|
|
932
|
-
blue: [
|
|
933
|
-
'#e3f2ff',
|
|
934
|
-
'#bcdeff',
|
|
935
|
-
'#91caff',
|
|
936
|
-
'#65b5ff',
|
|
937
|
-
'#45a4ff',
|
|
938
|
-
'#2b94ff',
|
|
939
|
-
'#2d87f3',
|
|
940
|
-
'#2c74df',
|
|
941
|
-
'#2b62cd',
|
|
942
|
-
'#2743ad',
|
|
943
|
-
],
|
|
944
|
-
gray: [
|
|
945
|
-
'#fafafa',
|
|
946
|
-
'#f2f2f2',
|
|
947
|
-
'#d9d9d9',
|
|
948
|
-
'#bfbfbf',
|
|
949
|
-
'#8c8c8c',
|
|
950
|
-
'#737373',
|
|
951
|
-
'#595959',
|
|
952
|
-
'#404040',
|
|
953
|
-
'#262626',
|
|
954
|
-
'#1a1a1a',
|
|
955
|
-
],
|
|
956
|
-
delftGray: [
|
|
957
|
-
'#F3F3F3',
|
|
958
|
-
'#EAEAEC',
|
|
959
|
-
'#D9DAE2',
|
|
960
|
-
'#B9BAC8',
|
|
961
|
-
'#9898A9',
|
|
962
|
-
'#7C7C8F',
|
|
963
|
-
'#5A5A72',
|
|
964
|
-
'#3E3F58',
|
|
965
|
-
'#202135',
|
|
966
|
-
'#0C0C12',
|
|
967
|
-
],
|
|
968
|
-
neutral: [
|
|
969
|
-
'#f7f9fc',
|
|
970
|
-
'#e4e8ec',
|
|
971
|
-
'#d2d6dc',
|
|
972
|
-
'#bfc5cc',
|
|
973
|
-
'#adb3bc',
|
|
974
|
-
'#9aa2ac',
|
|
975
|
-
'#87909c',
|
|
976
|
-
'#757f8c',
|
|
977
|
-
'#626d7c',
|
|
978
|
-
'#545E6C',
|
|
979
|
-
],
|
|
980
|
-
green: [
|
|
981
|
-
'#e0f8ee',
|
|
982
|
-
'#b3eed5',
|
|
983
|
-
'#7ce2b9',
|
|
984
|
-
'#2ed69e',
|
|
985
|
-
'#00CB8A',
|
|
986
|
-
'#00C076',
|
|
987
|
-
'#00B16A',
|
|
988
|
-
'#009E5C',
|
|
989
|
-
'#008C50',
|
|
990
|
-
'#006C39',
|
|
991
|
-
],
|
|
992
|
-
pink: [
|
|
993
|
-
'#fff1f6',
|
|
994
|
-
'#fec7dc',
|
|
995
|
-
'#fec7dc',
|
|
996
|
-
'#fec2cf',
|
|
997
|
-
'#fe9dc2',
|
|
998
|
-
'#fd87b4',
|
|
999
|
-
'#fd72a7',
|
|
1000
|
-
'#fc5d9a',
|
|
1001
|
-
'#fc488d',
|
|
1002
|
-
'#E92D74',
|
|
1003
|
-
],
|
|
1004
|
-
violet: [
|
|
1005
|
-
'#F5EDFF',
|
|
1006
|
-
'#E7D2F7',
|
|
1007
|
-
'#D8B7F0',
|
|
1008
|
-
'#CA9CE8',
|
|
1009
|
-
'#BB82E1',
|
|
1010
|
-
'#AD67D9',
|
|
1011
|
-
'#9E4CD1',
|
|
1012
|
-
'#9031CA',
|
|
1013
|
-
'#8116C2',
|
|
1014
|
-
'#63059D',
|
|
1015
|
-
],
|
|
1016
|
-
yellow: [
|
|
1017
|
-
'#fff8e2',
|
|
1018
|
-
'#ffecb6',
|
|
1019
|
-
'#ffe187',
|
|
1020
|
-
'#ffd658',
|
|
1021
|
-
'#ffcb37',
|
|
1022
|
-
'#ffc326',
|
|
1023
|
-
'#ffb521',
|
|
1024
|
-
'#fea21e',
|
|
1025
|
-
'#fe921d',
|
|
1026
|
-
'#fc7419',
|
|
1027
|
-
],
|
|
1028
|
-
teal: [
|
|
1029
|
-
'#e0f7fc',
|
|
1030
|
-
'#b1ebf8',
|
|
1031
|
-
'#7ddff3',
|
|
1032
|
-
'#44d1ec',
|
|
1033
|
-
'#00c7e6',
|
|
1034
|
-
'#00bee0',
|
|
1035
|
-
'#00aecd',
|
|
1036
|
-
'#0099b2',
|
|
1037
|
-
'#008599',
|
|
1038
|
-
'#00626c',
|
|
1039
|
-
],
|
|
1040
|
-
indigol: [
|
|
1041
|
-
'#CEDDF0',
|
|
1042
|
-
'#ACC5E6',
|
|
1043
|
-
'#95B3DA',
|
|
1044
|
-
'#85A6CF',
|
|
1045
|
-
'#6D91BE',
|
|
1046
|
-
'#5F85B5',
|
|
1047
|
-
'#4C77AC',
|
|
1048
|
-
'#35639C',
|
|
1049
|
-
'#284A75',
|
|
1050
|
-
'#1B3250',
|
|
1051
|
-
],
|
|
1052
|
-
red: [
|
|
1053
|
-
'#fae9e8',
|
|
1054
|
-
'#feccbf',
|
|
1055
|
-
'#FEAA96',
|
|
1056
|
-
'#f44d2c',
|
|
1057
|
-
'#ff6f4d',
|
|
1058
|
-
'#ff5331',
|
|
1059
|
-
'#f44d2c',
|
|
1060
|
-
'#e64728',
|
|
1061
|
-
'#d84023',
|
|
1062
|
-
'#bf331b',
|
|
1063
|
-
],
|
|
1064
|
-
redViolet: [
|
|
1065
|
-
'#F3EAEB',
|
|
1066
|
-
'#E8D5D7',
|
|
1067
|
-
'#DDC1C4',
|
|
1068
|
-
'#D1ACB0',
|
|
1069
|
-
'#C5979C',
|
|
1070
|
-
'#BA8288',
|
|
1071
|
-
'#AF6D74',
|
|
1072
|
-
'#A35961',
|
|
1073
|
-
'#97444D',
|
|
1074
|
-
'#8C2F39',
|
|
1075
|
-
],
|
|
1076
|
-
};
|
|
1077
|
-
const getMantineThemeOverride = (locale, template = 'hb') => {
|
|
996
|
+
var useStyles$3 = core.createStyles((_theme, _params) => {
|
|
1078
997
|
return {
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
? 'Noto Sans Thai'
|
|
1088
|
-
: 'Inter') +
|
|
1089
|
-
`, -apple-system, BlinkMacSystemFont, 'Segoe UI', Oxygen, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif`,
|
|
1090
|
-
breakpoints: {
|
|
1091
|
-
xs: core.em(utils.Breakpoints.BREAK_POINT_SMALL_MOBILE),
|
|
1092
|
-
sm: core.em(utils.Breakpoints.BREAK_POINT_MOBILE),
|
|
1093
|
-
md: core.em(utils.Breakpoints.BREAK_POINT_TABLET),
|
|
1094
|
-
lg: core.em(utils.Breakpoints.BREAK_POINT_PC),
|
|
1095
|
-
xl: core.em(utils.Breakpoints.BREAK_POINT_LGPC),
|
|
1096
|
-
},
|
|
1097
|
-
components: Object.assign(Object.assign(Object.assign(Object.assign({}, GlobalInputStyle(locale)), getGlobalRadioStyle), GlobalButtonStyle), GlobalHeadingStyle),
|
|
1098
|
-
other: {
|
|
1099
|
-
template,
|
|
1100
|
-
defaultImage: index.CommonGAssets.getAssetPath(template === 'mb' ? 'default-image-mb.jpg' : 'default-image.jpg'),
|
|
998
|
+
root: {
|
|
999
|
+
color: _params.color ||
|
|
1000
|
+
(_theme.primaryColor === 'hb'
|
|
1001
|
+
? _theme.colors.hb[6]
|
|
1002
|
+
: _theme.fn.primaryColor()),
|
|
1003
|
+
'&[data-event-category] > *': {
|
|
1004
|
+
pointerEvents: 'none',
|
|
1005
|
+
},
|
|
1101
1006
|
},
|
|
1102
1007
|
};
|
|
1008
|
+
});
|
|
1009
|
+
|
|
1010
|
+
const Anchor = (_a) => {
|
|
1011
|
+
var { color, styles, className } = _a, rest = tslib_es6.__rest(_a, ["color", "styles", "className"]);
|
|
1012
|
+
const { classes, cx } = useStyles$3({ color }, { name: 'Anchor', styles });
|
|
1013
|
+
return React__namespace["default"].createElement(index$2.Text, Object.assign({ as: "a", className: cx(classes.root, className) }, rest));
|
|
1014
|
+
};
|
|
1015
|
+
|
|
1016
|
+
const BreadcrumbItem = (_a) => {
|
|
1017
|
+
var { children } = _a, rest = tslib_es6.__rest(_a, ["children"]);
|
|
1018
|
+
return (React__namespace["default"].createElement(Anchor, Object.assign({ size: "p4", color: 'gray.8' }, rest), children));
|
|
1019
|
+
};
|
|
1020
|
+
|
|
1021
|
+
const AspectRatio = (props) => {
|
|
1022
|
+
return (React__namespace["default"].createElement(core.AspectRatio, Object.assign({ sx: {
|
|
1023
|
+
borderRadius: 4,
|
|
1024
|
+
overflow: 'hidden',
|
|
1025
|
+
'> img': {
|
|
1026
|
+
objectFit: 'contain',
|
|
1027
|
+
},
|
|
1028
|
+
} }, props)));
|
|
1103
1029
|
};
|
|
1104
1030
|
|
|
1105
1031
|
const _Breadcrumbs = (_a) => {
|
|
@@ -1212,13 +1138,13 @@ const StyledAccordion = styled__default["default"](core.Accordion) `
|
|
|
1212
1138
|
width: 16px;
|
|
1213
1139
|
height: 16px;
|
|
1214
1140
|
background-position: center;
|
|
1215
|
-
background-image: url(${(props) => props.closeChevron || index.CommonGAssets.getAssetPath('plus-icon.svg')});
|
|
1141
|
+
background-image: url(${(props) => props.closeChevron || index$1.CommonGAssets.getAssetPath('plus-icon.svg')});
|
|
1216
1142
|
}
|
|
1217
1143
|
}
|
|
1218
1144
|
&[data-active='true'] {
|
|
1219
1145
|
.mantine-Accordion-chevron {
|
|
1220
1146
|
> div {
|
|
1221
|
-
background-image: url(${(props) => props.openChevron || index.CommonGAssets.getAssetPath('minus-icon.svg')});
|
|
1147
|
+
background-image: url(${(props) => props.openChevron || index$1.CommonGAssets.getAssetPath('minus-icon.svg')});
|
|
1222
1148
|
}
|
|
1223
1149
|
}
|
|
1224
1150
|
}
|
|
@@ -1240,7 +1166,7 @@ Accordion.Control = core.Accordion.Control;
|
|
|
1240
1166
|
Accordion.Item = core.Accordion.Item;
|
|
1241
1167
|
Accordion.Panel = core.Accordion.Panel;
|
|
1242
1168
|
|
|
1243
|
-
const DEFAULT_AVATAR = index.CommonGAssets.getAssetPath('avatar.jpg');
|
|
1169
|
+
const DEFAULT_AVATAR = index$1.CommonGAssets.getAssetPath('avatar.jpg');
|
|
1244
1170
|
const Avatar = (_a) => {
|
|
1245
1171
|
var { withIndicator = false, indicatorConfig = null, size = 56, children, styles, placeholderText } = _a, // usually first letter of name
|
|
1246
1172
|
avatarProps = tslib_es6.__rest(_a, ["withIndicator", "indicatorConfig", "size", "children", "styles", "placeholderText"]);
|
|
@@ -1287,8 +1213,8 @@ const NumberInput = (_a) => {
|
|
|
1287
1213
|
}, removeTrailingZeros: true, value: value }, props)));
|
|
1288
1214
|
};
|
|
1289
1215
|
|
|
1290
|
-
const EyeVisible = index.CommonGAssets.getAssetPath('EyeVisible.svg');
|
|
1291
|
-
const EyeHidden = index.CommonGAssets.getAssetPath('EyeHidden.svg');
|
|
1216
|
+
const EyeVisible = index$1.CommonGAssets.getAssetPath('EyeVisible.svg');
|
|
1217
|
+
const EyeHidden = index$1.CommonGAssets.getAssetPath('EyeHidden.svg');
|
|
1292
1218
|
const PasswordInput = React.forwardRef((props, ref) => {
|
|
1293
1219
|
const { size = 'md', visibilityToggleIcon: visibilityToggleIconProps } = props, restProps = tslib_es6.__rest(props, ["size", "visibilityToggleIcon"]);
|
|
1294
1220
|
const visibilityToggleIcon = visibilityToggleIconProps ||
|
|
@@ -1700,7 +1626,7 @@ const OTPFowardRef = (props, ref) => {
|
|
|
1700
1626
|
};
|
|
1701
1627
|
const OTP = React.forwardRef(OTPFowardRef);
|
|
1702
1628
|
|
|
1703
|
-
const countriesDefault = Object.values(index
|
|
1629
|
+
const countriesDefault = Object.values(index.siteOptions).reduce((countries, { phoneCountry: phone }) => {
|
|
1704
1630
|
if (!countries.includes(phone)) {
|
|
1705
1631
|
countries.push(phone);
|
|
1706
1632
|
}
|
|
@@ -1872,7 +1798,7 @@ const _Tabs = (_a) => {
|
|
|
1872
1798
|
setDisableNext(((_a = viewport === null || viewport === void 0 ? void 0 : viewport.current) === null || _a === void 0 ? void 0 : _a.clientWidth) + scrollPosition.x ===
|
|
1873
1799
|
((_b = viewport === null || viewport === void 0 ? void 0 : viewport.current) === null || _b === void 0 ? void 0 : _b.scrollWidth));
|
|
1874
1800
|
}, [scrollPosition]);
|
|
1875
|
-
const TabTextComponent = ({ text, dataEventCategory, dataEventAction, dataEventLabel, }) => TabComponentDisplay ? (React__namespace["default"].createElement(TabComponentDisplay, null, text)) : (React__namespace["default"].createElement(index$
|
|
1801
|
+
const TabTextComponent = ({ text, dataEventCategory, dataEventAction, dataEventLabel, }) => TabComponentDisplay ? (React__namespace["default"].createElement(TabComponentDisplay, null, text)) : (React__namespace["default"].createElement(index$2.Text, { size: "s3", color: "inherit", weight: "semiBold", "data-event-category": dataEventCategory, "data-event-action": dataEventAction, "data-event-label": dataEventLabel }, text));
|
|
1876
1802
|
return (React__namespace["default"].createElement(core.Tabs, Object.assign({}, props, rest), children || (React__namespace["default"].createElement(React__namespace["default"].Fragment, null,
|
|
1877
1803
|
React__namespace["default"].createElement(core.ScrollArea, { className: cx(classes.scrollArea, `${!disablePrevious ? 'prev-bg' : ''} ${!disableNext ? 'next-bg' : ''}`), scrollbarSize: 0, viewportRef: viewport, onScrollPositionChange: onScrollPositionChange },
|
|
1878
1804
|
React__namespace["default"].createElement(core.Tabs.List, Object.assign({ className: classes.list, ref: listRef }, listProps), dataList.map((i, idx) => (React__namespace["default"].createElement(core.Tabs.Tab, Object.assign({ ref: (e) => (tabRef.current[idx] = e), className: classes.tab, key: String(i.value), value: String(i.value) }, tabProps),
|
|
@@ -1974,7 +1900,6 @@ exports.DEBOUNCED_TIME = DEBOUNCED_TIME;
|
|
|
1974
1900
|
exports.Flag = Flag;
|
|
1975
1901
|
exports.ImageWrap = ImageWrap;
|
|
1976
1902
|
exports.Input = Input;
|
|
1977
|
-
exports.MAPPED_LOCALE = MAPPED_LOCALE;
|
|
1978
1903
|
exports.NumberInput = NumberInput;
|
|
1979
1904
|
exports.OTP = OTP;
|
|
1980
1905
|
exports.Phone = Phone;
|
|
@@ -1986,9 +1911,7 @@ exports.StyledSliderWrapper = StyledSliderWrapper;
|
|
|
1986
1911
|
exports.StyledTextArea = StyledTextArea;
|
|
1987
1912
|
exports.Tabs = Tabs;
|
|
1988
1913
|
exports.emotionCache = emotionCache;
|
|
1989
|
-
exports.getHeadingStyles = getHeadingStyles;
|
|
1990
1914
|
exports.getMantineThemeOverride = getMantineThemeOverride;
|
|
1991
1915
|
exports.themeColors = themeColors;
|
|
1992
|
-
exports.useMantineLocale = useMantineLocale;
|
|
1993
1916
|
exports.useScreenSize = useScreenSize;
|
|
1994
1917
|
exports.useStyles = useStyles$2;
|