@hhgtech/hhg-components 1.28.45 → 1.28.47
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/animation-1e5b6297.js +81 -0
- package/build/babyGrowth.js +24 -24
- package/build/cache.js +1 -1
- package/build/care.js +1 -1
- package/build/components.js +1 -1
- package/build/{constants-eed0df85.js → constants-0b9aa2f4.js} +1 -1
- package/build/{constants-715f497a.js → constants-ded45618.js} +2 -2
- package/build/constants.js +1 -1
- package/build/{core-053d2b2b.js → core-d774c80a.js} +1 -1
- package/build/dataTransform-770a8af7.js +1 -0
- package/build/ecom.js +1 -1
- package/build/esm/animation-4d5baff8.js +81 -0
- package/build/esm/babyGrowth.js +38 -38
- package/build/esm/cache.js +1 -1
- package/build/esm/care.js +1 -1
- package/build/esm/components.js +1 -1
- package/build/esm/{constants-474a60fc.js → constants-7f54318a.js} +2 -2
- package/build/esm/{constants-995212e1.js → constants-d7c4fed6.js} +1 -1
- package/build/esm/constants.js +1 -1
- package/build/esm/{core-a9271475.js → core-539e7939.js} +1 -1
- package/build/esm/dataTransform-82022f0b.js +1 -0
- package/build/esm/ecom.js +1 -1
- package/build/esm/footer.js +1 -1
- package/build/esm/gAssets.js +1 -1
- package/build/esm/getDynamicHealthTool-4d3d11ac.js +1 -0
- package/build/esm/{getSocialList-2b54a130.js → getSocialList-1766c602.js} +1 -1
- package/build/esm/hooks.js +1 -1
- package/build/esm/i18n.js +1 -1
- package/build/esm/i18nV2.js +1 -1
- package/build/esm/index-0fd0a8fb.js +2748 -0
- package/build/esm/{index-4cc27c0a.js → index-156081e2.js} +9 -9
- package/build/esm/{index-2eaf28c4.js → index-1d068cf5.js} +1 -1
- package/build/esm/{index-ab03b9dd.js → index-1fce73b8.js} +1 -1
- package/build/esm/index-2f6fbc5e.js +375 -0
- package/build/esm/index-30ecb1e3.js +1 -0
- package/build/esm/index-5581ff57.js +1 -0
- package/build/esm/index-679dd359.js +1430 -0
- package/build/esm/{index-fdc4fb0f.js → index-72664e72.js} +1 -1
- package/build/esm/{index-a2dcf4e9.js → index-7b4c9ffd.js} +1 -1
- package/build/esm/index-8e3a85f0.js +50 -0
- package/build/esm/{index-1cfc85b4.js → index-924d8b45.js} +3 -3
- package/build/esm/index-98f238b2.js +1 -0
- package/build/esm/{index-7678ada1.js → index-9b020630.js} +1 -1
- package/build/esm/index-ac89ac70.js +137 -0
- package/build/esm/index-b51813fe.js +1 -0
- package/build/esm/index-bd5220da.js +1 -0
- package/build/esm/index-c51596b2.js +1 -0
- package/build/esm/index-cff19603.js +177 -0
- package/build/esm/index-d53f330a.js +1 -0
- package/build/esm/{index-cd710e7d.js → index-f09be292.js} +1 -1
- package/build/esm/index-f5ac3469.js +1 -0
- package/build/esm/{index-a454d80b.js → index-fcb7c05d.js} +1 -1
- package/build/esm/index.js +1 -1
- package/build/esm/{index.styled-4098b19f.js → index.styled-222b6ef8.js} +1 -1
- package/build/esm/index.styles-f450b969.js +839 -0
- package/build/esm/lead.js +1 -1
- package/build/esm/mantine.js +1 -1
- package/build/esm/misc.js +1 -1
- package/build/esm/navigation.js +1 -1
- package/build/esm/onboardingV2.js +34 -34
- package/build/esm/pwg.js +5 -5
- package/build/esm/{routing-d3019505.js → routing-fa27835c.js} +1 -1
- package/build/esm/subot.js +124 -124
- package/build/esm/together.js +1 -1
- package/build/esm/{types-56ff87b5.js → types-1779ff39.js} +10 -10
- package/build/esm/types-de0e0789.js +3004 -0
- package/build/esm/types.js +1 -1
- package/build/esm/useCategory-dc56ef34.js +1 -0
- package/build/esm/useHealthToolCache-09b61354.js +1 -0
- package/build/esm/{usePlacesAutocomplete-80551f6b.js → usePlacesAutocomplete-c2dd02dd.js} +1 -1
- package/build/esm/useTranslations-49e0430f.js +1 -0
- package/build/esm/utils-1550f4c2.js +1 -0
- package/build/esm/utils-ab3bd9a9.js +7 -0
- package/build/esm/{utils-9dae9f7b.js → utils-bc76e7d8.js} +2 -2
- package/build/esm/{utils-6577ea25.js → utils-ce8e4c84.js} +1 -1
- package/build/esm/vaccination.js +40 -40
- package/build/footer.js +1 -1
- package/build/gAssets.js +1 -1
- package/build/getDynamicHealthTool-91d3a539.js +1 -0
- package/build/{getSocialList-b951173d.js → getSocialList-95d4b1ab.js} +1 -1
- package/build/hooks.js +1 -1
- package/build/i18n.js +1 -1
- package/build/i18nV2.js +1 -1
- package/build/index-031eda4d.js +50 -0
- package/build/{index-f85e80c5.js → index-04bf4b9a.js} +1 -1
- package/build/index-087d7573.js +1 -0
- package/build/{index-f1338b36.js → index-0a35e29e.js} +1 -1
- package/build/{index-5f2adc06.js → index-0e2baf55.js} +1 -1
- package/build/index-1c74e473.js +2748 -0
- package/build/{index-6e685d2b.js → index-20b8b28c.js} +1 -1
- package/build/index-22f6821f.js +177 -0
- package/build/{index-d14172a4.js → index-3183ed6e.js} +1 -1
- package/build/index-3c0d0730.js +375 -0
- package/build/index-4198e282.js +1 -0
- package/build/index-5e65f738.js +137 -0
- package/build/{index-b23382c3.js → index-84f168eb.js} +1 -1
- package/build/{index-72cfe602.js → index-8b4d8b74.js} +4 -4
- package/build/{index-718b4bad.js → index-8d147028.js} +3 -3
- package/build/{index-fe775c96.js → index-9f2fce62.js} +1 -1
- package/build/{index-b3478b6c.js → index-a1e30b09.js} +1 -1
- package/build/index-abe7bb48.js +1430 -0
- package/build/index-afd5d772.js +1 -0
- package/build/index-c53c2cf6.js +1 -0
- package/build/index-ebed7399.js +1 -0
- package/build/{index-cdf087ee.js → index-f56af2a1.js} +1 -1
- package/build/index-f80db37d.js +1 -0
- package/build/index.js +1 -1
- package/build/{index.styled-2bb5f5a2.js → index.styled-250b6af4.js} +1 -1
- package/build/index.styles-f2358064.js +839 -0
- package/build/lead.js +1 -1
- package/build/mantine.js +1 -1
- package/build/misc.js +1 -1
- package/build/navigation.js +1 -1
- package/build/onboardingV2.js +34 -34
- package/build/pwg.js +2 -2
- package/build/{routing-9c9a4f25.js → routing-ed60b4e3.js} +1 -1
- package/build/subot.js +123 -123
- package/build/together.js +1 -1
- package/build/types-2602cb14.js +3004 -0
- package/build/{types-adecb2ce.js → types-662fa8fb.js} +10 -10
- package/build/types.js +1 -1
- package/build/useCategory-f58f3f7e.js +1 -0
- package/build/useHealthToolCache-d78d2251.js +1 -0
- package/build/{usePlacesAutocomplete-39be4478.js → usePlacesAutocomplete-11729974.js} +1 -1
- package/build/{useTranslations-1ddacded.js → useTranslations-eef7f548.js} +1 -1
- package/build/{utils-a5d09d21.js → utils-5af37bc5.js} +1 -1
- package/build/{utils-871f6c88.js → utils-74e9f3ab.js} +1 -1
- package/build/utils-adde2380.js +1 -0
- package/build/utils-ec00b8cb.js +1 -0
- package/build/vaccination.js +33 -33
- package/package.json +3 -2
- package/build/dataTransform-d5d1a86d.js +0 -1
- package/build/esm/dataTransform-f4d63a0a.js +0 -1
- package/build/esm/getDynamicHealthTool-9b662a1a.js +0 -1
- package/build/esm/index-303e2009.js +0 -1
- package/build/esm/index-3c4ac2ae.js +0 -1
- package/build/esm/index-4bc5ecbb.js +0 -1
- package/build/esm/index-55d2faa0.js +0 -1
- package/build/esm/index-608b4a88.js +0 -177
- package/build/esm/index-6f066011.js +0 -1
- package/build/esm/index-95a46cf3.js +0 -1
- package/build/esm/index-993a5f79.js +0 -1
- package/build/esm/index-baaa911b.js +0 -1
- package/build/esm/index-be8e7751.js +0 -1
- package/build/esm/index-cc519ac7.js +0 -3122
- package/build/esm/index-d17ea22d.js +0 -1
- package/build/esm/index-d343bc50.js +0 -1
- package/build/esm/index-ff10bc28.js +0 -1
- package/build/esm/index.styled-156505c7.js +0 -1430
- package/build/esm/index.styled-3e11e657.js +0 -3140
- package/build/esm/index.styled-be084b87.js +0 -50
- package/build/esm/index.styles-caebb95e.js +0 -846
- package/build/esm/screenSizeContext-8e3cd726.js +0 -81
- package/build/esm/types-f3a821e7.js +0 -1
- package/build/esm/useCategory-e47c3929.js +0 -1
- package/build/esm/useHealthToolCache-4a39e9dc.js +0 -1
- package/build/esm/useRafState-8fe79e7a.js +0 -1
- package/build/esm/useTranslations-2b415154.js +0 -1
- package/build/getDynamicHealthTool-ecfb21b0.js +0 -1
- package/build/index-0988dfe4.js +0 -1
- package/build/index-0f3e6076.js +0 -1
- package/build/index-10d9fdff.js +0 -177
- package/build/index-24113bb4.js +0 -1
- package/build/index-3489608d.js +0 -1
- package/build/index-4bfad06d.js +0 -1
- package/build/index-7b85f299.js +0 -1
- package/build/index-901812ad.js +0 -3122
- package/build/index-c22d32f6.js +0 -1
- package/build/index-d74ab92f.js +0 -1
- package/build/index-db0da298.js +0 -1
- package/build/index-f4356d3b.js +0 -1
- package/build/index.styled-39310ce9.js +0 -50
- package/build/index.styled-3a1748a5.js +0 -3140
- package/build/index.styled-75539e3d.js +0 -1430
- package/build/index.styles-d3c65e64.js +0 -846
- package/build/screenSizeContext-83eeed99.js +0 -81
- package/build/types-582a67ed.js +0 -1
- package/build/useCategory-957ea2a8.js +0 -1
- package/build/useHealthToolCache-260b51e2.js +0 -1
- package/build/useRafState-8a41d548.js +0 -1
- /package/build/{BMI_BOYS.percentile.monthly-3ccdbf2f.js → BMI_BOYS.percentile.monthly-b574351a.js} +0 -0
- /package/build/{BMI_BOYS.percentile.weekly-003704d5.js → BMI_BOYS.percentile.weekly-ad058945.js} +0 -0
- /package/build/{BMI_BOYS.percentile.yearly-51f6c930.js → BMI_BOYS.percentile.yearly-8ada8234.js} +0 -0
- /package/build/{BMI_BOYS.zscore.monthly-05504085.js → BMI_BOYS.zscore.monthly-f16e149c.js} +0 -0
- /package/build/{BMI_BOYS.zscore.weekly-2a93a8db.js → BMI_BOYS.zscore.weekly-776e513d.js} +0 -0
- /package/build/{BMI_BOYS.zscore.yearly-37291e62.js → BMI_BOYS.zscore.yearly-3d6a4a73.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.monthly-97288e63.js → BMI_GIRLS.percentile.monthly-10009b9f.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.weekly-c701d6ff.js → BMI_GIRLS.percentile.weekly-6557eb44.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.yearly-edee3575.js → BMI_GIRLS.percentile.yearly-3f4acf36.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.monthly-0ac77300.js → BMI_GIRLS.zscore.monthly-6a304df3.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.weekly-f726c4f9.js → BMI_GIRLS.zscore.weekly-e0d6db84.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.yearly-c1af9dbd.js → BMI_GIRLS.zscore.yearly-a6ec380e.js} +0 -0
- /package/build/{ChevronDown-e26b6333.js → ChevronDown-a8966000.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-c1dbc6d4.js → HEAD CIRCUM_BOYS.percentile.monthly-71a87239.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-9c97d194.js → HEAD CIRCUM_BOYS.percentile.weekly-b862aacb.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-84f770fb.js → HEAD CIRCUM_BOYS.percentile.yearly-13eada26.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-8522b577.js → HEAD CIRCUM_BOYS.zscore.monthly-f9c4f89e.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-d05b4957.js → HEAD CIRCUM_BOYS.zscore.weekly-4e1a4178.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-d1d2d682.js → HEAD CIRCUM_BOYS.zscore.yearly-554a8878.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-bc7f8e45.js → HEAD CIRCUM_GIRLS.percentile.monthly-2910870c.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-e24f18fa.js → HEAD CIRCUM_GIRLS.percentile.weekly-0f14fedf.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-65fe9b8f.js → HEAD CIRCUM_GIRLS.percentile.yearly-596b0da0.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-cc51585e.js → HEAD CIRCUM_GIRLS.zscore.monthly-69ae9a0c.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-0cdef99a.js → HEAD CIRCUM_GIRLS.zscore.weekly-114e70a3.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-b4df0cb2.js → HEAD CIRCUM_GIRLS.zscore.yearly-b6747ec7.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.monthly-42701f3c.js → HEIGHT_BOYS.percentile.monthly-cb959489.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.weekly-dde65fbd.js → HEIGHT_BOYS.percentile.weekly-7955c34e.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.yearly-00d00cf7.js → HEIGHT_BOYS.percentile.yearly-b073f41f.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.monthly-9b22b188.js → HEIGHT_BOYS.zscore.monthly-1ae80a89.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.weekly-1e042b69.js → HEIGHT_BOYS.zscore.weekly-cd4bc068.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.yearly-0c232fd2.js → HEIGHT_BOYS.zscore.yearly-7eb6af8e.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.monthly-1dc63069.js → HEIGHT_GIRLS.percentile.monthly-d2959962.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.weekly-4b58bd05.js → HEIGHT_GIRLS.percentile.weekly-99981d42.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.yearly-9fc93f07.js → HEIGHT_GIRLS.percentile.yearly-d1d13641.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.monthly-35400da4.js → HEIGHT_GIRLS.zscore.monthly-d9a63188.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.weekly-dd1f44e2.js → HEIGHT_GIRLS.zscore.weekly-d58b3339.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.yearly-a69b75ca.js → HEIGHT_GIRLS.zscore.yearly-ae58b0a3.js} +0 -0
- /package/build/{Subot-695ffc58.js → Subot-511ff255.js} +0 -0
- /package/build/{Visible-72e550ed.js → Visible-338d5d3b.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.monthly-2dea455a.js → WEIGHT_BOYS.percentile.monthly-3687233c.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.weekly-184f141e.js → WEIGHT_BOYS.percentile.weekly-c0915786.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.yearly-c9e8aaf8.js → WEIGHT_BOYS.percentile.yearly-898b748c.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.monthly-c9f03466.js → WEIGHT_BOYS.zscore.monthly-e47a72be.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.weekly-413af608.js → WEIGHT_BOYS.zscore.weekly-23cc874f.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.yearly-fd8ddd34.js → WEIGHT_BOYS.zscore.yearly-2c523e95.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.monthly-b78e414e.js → WEIGHT_GIRLS.percentile.monthly-232c03ec.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.weekly-6979e7ca.js → WEIGHT_GIRLS.percentile.weekly-363f6163.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.yearly-be5d12e7.js → WEIGHT_GIRLS.percentile.yearly-09c2db7a.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.monthly-28299624.js → WEIGHT_GIRLS.zscore.monthly-996f2f01.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.weekly-8584439e.js → WEIGHT_GIRLS.zscore.weekly-1c937534.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.yearly-2e04a2a2.js → WEIGHT_GIRLS.zscore.yearly-ab136277.js} +0 -0
- /package/build/{cookieHelper-2e8bb9fa.js → cookieHelper-91788da6.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.monthly-486f83ee.js → BMI_BOYS.percentile.monthly-f3616831.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.weekly-fd3c15c3.js → BMI_BOYS.percentile.weekly-e94f9b0c.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.yearly-da6eb7ec.js → BMI_BOYS.percentile.yearly-8f7ac99b.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.monthly-62d445f2.js → BMI_BOYS.zscore.monthly-54be7428.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.weekly-f67c90eb.js → BMI_BOYS.zscore.weekly-6c12aa9f.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.yearly-b1a41fe8.js → BMI_BOYS.zscore.yearly-1c23b3d9.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.monthly-66a216cc.js → BMI_GIRLS.percentile.monthly-8a502893.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.weekly-b46429d6.js → BMI_GIRLS.percentile.weekly-fa839bec.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.yearly-6a6af348.js → BMI_GIRLS.percentile.yearly-a4566ca8.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.monthly-41bb8c08.js → BMI_GIRLS.zscore.monthly-aab4d85c.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.weekly-04eb8b89.js → BMI_GIRLS.zscore.weekly-f8488af5.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.yearly-099feda2.js → BMI_GIRLS.zscore.yearly-a4d7a630.js} +0 -0
- /package/build/esm/{ChevronDown-c2b4123b.js → ChevronDown-7443ba17.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-53d11c4f.js → HEAD CIRCUM_BOYS.percentile.monthly-dd491a3d.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-19dae757.js → HEAD CIRCUM_BOYS.percentile.weekly-9a4cc487.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-e744f2ee.js → HEAD CIRCUM_BOYS.percentile.yearly-5ff7c492.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-12b76190.js → HEAD CIRCUM_BOYS.zscore.monthly-921be2d2.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-a62a347c.js → HEAD CIRCUM_BOYS.zscore.weekly-f5d468d9.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-d1c96a90.js → HEAD CIRCUM_BOYS.zscore.yearly-5199b4a7.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-52e91c35.js → HEAD CIRCUM_GIRLS.percentile.monthly-8679c7bc.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-51fd4b94.js → HEAD CIRCUM_GIRLS.percentile.weekly-9e2dcb2b.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-fb3c718e.js → HEAD CIRCUM_GIRLS.percentile.yearly-c6203100.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-8d54ac23.js → HEAD CIRCUM_GIRLS.zscore.monthly-856a5b1e.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-17722148.js → HEAD CIRCUM_GIRLS.zscore.weekly-0783f118.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-0849bdb2.js → HEAD CIRCUM_GIRLS.zscore.yearly-a84257a0.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.monthly-9219856c.js → HEIGHT_BOYS.percentile.monthly-788fb5b4.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.weekly-f257a74f.js → HEIGHT_BOYS.percentile.weekly-f5190462.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.yearly-3ed1a065.js → HEIGHT_BOYS.percentile.yearly-afe4fd67.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.monthly-a58e6f2e.js → HEIGHT_BOYS.zscore.monthly-bb98f05e.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.weekly-af59d81d.js → HEIGHT_BOYS.zscore.weekly-dfb95358.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.yearly-d64544e6.js → HEIGHT_BOYS.zscore.yearly-055fefcb.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-58d712e2.js → HEIGHT_GIRLS.percentile.monthly-441d5eec.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-f5718378.js → HEIGHT_GIRLS.percentile.weekly-df673b20.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-306e09e7.js → HEIGHT_GIRLS.percentile.yearly-b8635e96.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-ad472813.js → HEIGHT_GIRLS.zscore.monthly-8350897b.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-e53d92d3.js → HEIGHT_GIRLS.zscore.weekly-820a7ef3.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-3e6e23aa.js → HEIGHT_GIRLS.zscore.yearly-b2f2d906.js} +0 -0
- /package/build/esm/{Subot-dc774172.js → Subot-3d309d90.js} +0 -0
- /package/build/esm/{Visible-302a3e45.js → Visible-45ab1e13.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.monthly-49a7ae53.js → WEIGHT_BOYS.percentile.monthly-566b72c0.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.weekly-63420203.js → WEIGHT_BOYS.percentile.weekly-ae3bef15.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.yearly-26609ac2.js → WEIGHT_BOYS.percentile.yearly-fd72f182.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.monthly-cb16306f.js → WEIGHT_BOYS.zscore.monthly-4ebeca1a.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.weekly-291be10f.js → WEIGHT_BOYS.zscore.weekly-1edeedcc.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.yearly-6a25a7fa.js → WEIGHT_BOYS.zscore.yearly-b42da93c.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-d11ea01c.js → WEIGHT_GIRLS.percentile.monthly-ab099390.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-93c36ba6.js → WEIGHT_GIRLS.percentile.weekly-e604f0e1.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-5fc6d885.js → WEIGHT_GIRLS.percentile.yearly-9575be98.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-0f6fd15b.js → WEIGHT_GIRLS.zscore.monthly-bddddbe3.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-ea9c19e1.js → WEIGHT_GIRLS.zscore.weekly-f255cbfc.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-9665443f.js → WEIGHT_GIRLS.zscore.yearly-a99d0fd7.js} +0 -0
- /package/build/esm/{cookieHelper-d6490b00.js → cookieHelper-0acd4fc8.js} +0 -0
- /package/build/esm/{index-379f6571.js → index-550480ee.js} +0 -0
- /package/build/esm/{index-a59b0ec0.js → index-5dc45c1c.js} +0 -0
- /package/build/esm/{index-d5fe6c4e.js → index-a6ddd645.js} +0 -0
- /package/build/esm/{isProduction-7b1509aa.js → isProduction-135c9280.js} +0 -0
- /package/build/esm/{localizeNumberFormat-b4e337ed.js → localizeNumberFormat-883148fd.js} +0 -0
- /package/build/esm/{normalizeLink-7bed1319.js → normalizeLink-75e03b67.js} +0 -0
- /package/build/esm/{number-eb39d16c.js → number-73b198fe.js} +0 -0
- /package/build/esm/{paths-2e45cb1b.js → paths-61361575.js} +0 -0
- /package/build/esm/{theme-adbee273.js → theme-0d3c8845.js} +0 -0
- /package/build/esm/{translationsContext-4623d384.js → translationsContext-ee7ec6eb.js} +0 -0
- /package/build/esm/{tslib.es6-693de4fd.js → tslib.es6-c43c14a5.js} +0 -0
- /package/build/esm/{types-054bf1d5.js → types-745b966e.js} +0 -0
- /package/build/esm/{useIsInit-7d5bf403.js → useIsInit-d5727c47.js} +0 -0
- /package/build/esm/{useOutsideClick-5c82f669.js → useOutsideClick-e4f22be5.js} +0 -0
- /package/build/esm/{useScrollbarSize-cfeb4651.js → useScrollbarSize-0d367255.js} +0 -0
- /package/build/{index-346123fd.js → index-52b005ff.js} +0 -0
- /package/build/{index-53fb3b00.js → index-983a543a.js} +0 -0
- /package/build/{index-408e11c4.js → index-f2e5a43e.js} +0 -0
- /package/build/{isProduction-87f95c7d.js → isProduction-8a3929cb.js} +0 -0
- /package/build/{localizeNumberFormat-e7196b4e.js → localizeNumberFormat-d00e3203.js} +0 -0
- /package/build/{normalizeLink-245ad49c.js → normalizeLink-e4d8df7b.js} +0 -0
- /package/build/{number-5c9d6f63.js → number-9930fc27.js} +0 -0
- /package/build/{paths-3287ee93.js → paths-ed97730a.js} +0 -0
- /package/build/{theme-785c6f0c.js → theme-0bb94193.js} +0 -0
- /package/build/{translationsContext-efee8d50.js → translationsContext-e09b4f33.js} +0 -0
- /package/build/{tslib.es6-ef1f81bf.js → tslib.es6-293338f5.js} +0 -0
- /package/build/{types-0321e2cc.js → types-140f0c7d.js} +0 -0
- /package/build/{useIsInit-311b057a.js → useIsInit-f9337a25.js} +0 -0
- /package/build/{useOutsideClick-7ddf4eaa.js → useOutsideClick-ac461ca7.js} +0 -0
- /package/build/{useScrollbarSize-6947aaa0.js → useScrollbarSize-9413af1b.js} +0 -0
|
@@ -0,0 +1,839 @@
|
|
|
1
|
+
import e,{css as o}from"styled-components";import{t as r}from"./theme-0d3c8845.js";import{M as a}from"./utils-1550f4c2.js";import{_ as t}from"./tslib.es6-c43c14a5.js";import i,{useState as n,forwardRef as s,createContext as l,useEffect as d,Fragment as p}from"react";import{createStyles as c,rem as g}from"@mantine/core";import{L as x}from"./constants-7f54318a.js";import{s as h,e as u,b,f as m,c as f,g as v,a as w,d as y}from"./animation-4d5baff8.js";import $ from"react-keyed-flatten-children";const k=e.div`
|
|
2
|
+
background-color: var(--background-color, transparent);
|
|
3
|
+
color: white;
|
|
4
|
+
cursor: pointer;
|
|
5
|
+
img {
|
|
6
|
+
--width: var(--width-prop, 40px);
|
|
7
|
+
--height: var(--height-prop, 40px);
|
|
8
|
+
width: var(--width);
|
|
9
|
+
height: var(--height);
|
|
10
|
+
}
|
|
11
|
+
&[data-has-max='true'] {
|
|
12
|
+
img {
|
|
13
|
+
max-width: var(--width);
|
|
14
|
+
max-height: var(--height);
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
&[data-avatar-type='square'] {
|
|
19
|
+
img {
|
|
20
|
+
--width: var(--width-prop, 72px);
|
|
21
|
+
--height: var(--height-prop, 72px);
|
|
22
|
+
border-radius: ${r.borderRadius};
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
&[data-avatar-type='rounded'] {
|
|
27
|
+
img {
|
|
28
|
+
border-radius: 50%;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
&[data-custom-size='true'] {
|
|
33
|
+
display: flex;
|
|
34
|
+
overflow: hidden;
|
|
35
|
+
overflow: hidden;
|
|
36
|
+
width: var(--size);
|
|
37
|
+
height: var(--size);
|
|
38
|
+
align-items: center;
|
|
39
|
+
justify-content: center;
|
|
40
|
+
background-size: cover;
|
|
41
|
+
font-size: calc(var(--size) / 2);
|
|
42
|
+
font-weight: bold;
|
|
43
|
+
&[data-avatar-type='square'] {
|
|
44
|
+
border-radius: ${r.borderRadius};
|
|
45
|
+
}
|
|
46
|
+
&[data-avatar-type='rounded'] {
|
|
47
|
+
border-radius: 50%;
|
|
48
|
+
img {
|
|
49
|
+
--width: 100%;
|
|
50
|
+
--height: 100%;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
img {
|
|
54
|
+
object-fit: cover;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
`,z=e.div`
|
|
58
|
+
position: relative;
|
|
59
|
+
|
|
60
|
+
> div {
|
|
61
|
+
width: max-content;
|
|
62
|
+
position: relative;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
span {
|
|
66
|
+
font-weight: ${r.sizes.fwBold};
|
|
67
|
+
display: flex;
|
|
68
|
+
justify-content: center;
|
|
69
|
+
align-items: center;
|
|
70
|
+
|
|
71
|
+
${e=>((e,o,a,t)=>{let i="";if("numeric"===e)switch(o){case"medium":i="\n height: 16px;\n font-size: 11px;\n padding: 1px 6px;\n ";case"large":i="\n height: 24px;\n font-size: 13px;\n padding: 1px 10px;\n "}let n,s="";a&&(s="\n position: absolute;\n top: 0;\n left: 75%;\n "),a&&(n=`\n left: 70%;\n\n ${"large"===o?"\n top: -7px;\n ":"medium"===o?"\n top: -2px;\n width: 16px;\n height: 16px;\n ":""}\n `);let l="";switch(t){case"primary":l=`\n background: ${r.colors.primary50};\n color: ${r.colors.primary600}; \n `;break;case"error":l=`\n background: ${r.colors.error};\n color: white;\n `}switch(e){case"dot":return`\n ${s}\n width: 8px;\n height: 8px;\n font-size: 0px;\n border-radius: 50%;\n ${l}\n `;case"numeric":return`\n ${s}\n width: max-content;\n border-radius: 32px;\n ${i}\n ${n}\n ${l}\n `}})(e.notificationType,e.notificationSize,e.hasIcon,e.notificationColor)}
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
${e=>e.hasIcon&&"\n svg {\n width: 40px;\n height: 40px;\n }\n "}
|
|
75
|
+
`,C=e.h4`
|
|
76
|
+
position: relative;
|
|
77
|
+
line-height: 18px;
|
|
78
|
+
|
|
79
|
+
&:after {
|
|
80
|
+
position: absolute;
|
|
81
|
+
top: 1px;
|
|
82
|
+
left: 0;
|
|
83
|
+
width: 4px;
|
|
84
|
+
height: 18px;
|
|
85
|
+
background-color: ${r.colors.primaryBase};
|
|
86
|
+
content: '';
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
&[data-size='lg'] {
|
|
90
|
+
font-size: 18px;
|
|
91
|
+
padding-left: 12px;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
&[data-size='sm'] {
|
|
95
|
+
font-size: 14px;
|
|
96
|
+
padding-left: 8px;
|
|
97
|
+
|
|
98
|
+
&::after {
|
|
99
|
+
width: 2px;
|
|
100
|
+
height: 15px;
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
&[data-type='bold'] {
|
|
105
|
+
font-weight: ${r.sizes.fwBold};
|
|
106
|
+
}
|
|
107
|
+
&[data-type='semiBold'] {
|
|
108
|
+
font-weight: ${r.sizes.fwSemiBold};
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
&[data-uppercase] {
|
|
112
|
+
text-transform: uppercase;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
${a.mbDown} {
|
|
116
|
+
&[data-size='lg'] {
|
|
117
|
+
font-size: 16px;
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
`,E=e.hr`
|
|
121
|
+
border-width: 1px;
|
|
122
|
+
border-color: ${r.colors.neutral200};
|
|
123
|
+
border-style: ${e=>e.dividerType};
|
|
124
|
+
`,j=e.div`
|
|
125
|
+
position: relative;
|
|
126
|
+
box-sizing: border-box;
|
|
127
|
+
border: 1px solid ${r.colors.gray200};
|
|
128
|
+
background: url('../../../public/bgSvg/arrow-down.svg') no-repeat;
|
|
129
|
+
background-position: right 16px center;
|
|
130
|
+
border-radius: ${r.borderRadius};
|
|
131
|
+
|
|
132
|
+
&[data-has-icons='true'] {
|
|
133
|
+
border: none;
|
|
134
|
+
background: ${r.colors.gray100};
|
|
135
|
+
|
|
136
|
+
img,
|
|
137
|
+
svg {
|
|
138
|
+
display: inline-block;
|
|
139
|
+
max-width: 16px;
|
|
140
|
+
margin-right: 6px;
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
span {
|
|
144
|
+
vertical-align: middle;
|
|
145
|
+
display: inline-block;
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
&:hover {
|
|
149
|
+
box-shadow: none;
|
|
150
|
+
}
|
|
151
|
+
> div {
|
|
152
|
+
position: relative;
|
|
153
|
+
width: 100%;
|
|
154
|
+
display: flex;
|
|
155
|
+
align-items: center;
|
|
156
|
+
box-sizing: border-box;
|
|
157
|
+
}
|
|
158
|
+
> div::after {
|
|
159
|
+
content: '';
|
|
160
|
+
right: 12px;
|
|
161
|
+
top: 50%;
|
|
162
|
+
background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%23595959' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A");
|
|
163
|
+
width: 10px;
|
|
164
|
+
height: 8px;
|
|
165
|
+
position: absolute;
|
|
166
|
+
background-repeat: no-repeat;
|
|
167
|
+
transform: translateY(-50%);
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
&:hover {
|
|
172
|
+
box-shadow: 0 0 2px 2px ${r.colors.primary200};
|
|
173
|
+
}
|
|
174
|
+
`,B=e.div`
|
|
175
|
+
padding: 12px 18px 12px 16px;
|
|
176
|
+
cursor: pointer;
|
|
177
|
+
&[data-dropdown-open] {
|
|
178
|
+
padding: 11px 15px 11px 15px;
|
|
179
|
+
border: 1px solid ${r.colors.primaryBase};
|
|
180
|
+
border-radius: ${r.borderRadius};
|
|
181
|
+
box-shadow: 0 0 2px 2px ${r.colors.primary200};
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
& > svg {
|
|
185
|
+
height: 16px;
|
|
186
|
+
width: 16px;
|
|
187
|
+
}
|
|
188
|
+
`,I=e.ul`
|
|
189
|
+
position: absolute;
|
|
190
|
+
top: 100%;
|
|
191
|
+
right: 0;
|
|
192
|
+
left: 0;
|
|
193
|
+
display: block;
|
|
194
|
+
margin-top: 4px;
|
|
195
|
+
background: ${r.colors.white};
|
|
196
|
+
border-radius: ${r.borderRadius};
|
|
197
|
+
box-shadow: -1px 1px 2px rgba(67, 70, 74, 0.0001),
|
|
198
|
+
-2px 2px 5px rgba(67, 86, 100, 0.123689);
|
|
199
|
+
cursor: pointer;
|
|
200
|
+
|
|
201
|
+
&[data-has-icons='true'] {
|
|
202
|
+
background: white;
|
|
203
|
+
box-shadow: none;
|
|
204
|
+
border: 1px solid ${r.colors.gray200};
|
|
205
|
+
filter: drop-shadow(0px 10px 16px rgba(0, 0, 0, 0.04));
|
|
206
|
+
}
|
|
207
|
+
`,R=e.li`
|
|
208
|
+
margin: 8px;
|
|
209
|
+
padding: 12px 18px 12px 16px;
|
|
210
|
+
border-radius: ${r.borderRadius};
|
|
211
|
+
display: flex;
|
|
212
|
+
&:hover,
|
|
213
|
+
:active {
|
|
214
|
+
background: ${r.colors.gray100};
|
|
215
|
+
}
|
|
216
|
+
`,N=e.div`
|
|
217
|
+
display: flex;
|
|
218
|
+
align-items: center;
|
|
219
|
+
margin-right: 8px;
|
|
220
|
+
|
|
221
|
+
& > svg {
|
|
222
|
+
height: 16px;
|
|
223
|
+
width: 16px;
|
|
224
|
+
}
|
|
225
|
+
`,S=e.div`
|
|
226
|
+
--columns: var(--grid-template-columns, repeat(var(--columns-count), 1fr));
|
|
227
|
+
--columns-desktop: var(
|
|
228
|
+
--grid-template-columns-desktop,
|
|
229
|
+
repeat(var(--columns-count-desktop), 1fr)
|
|
230
|
+
);
|
|
231
|
+
display: grid;
|
|
232
|
+
grid-template-columns: var(--columns);
|
|
233
|
+
grid-gap: var(--grid-gap);
|
|
234
|
+
align-items: var(--align-items);
|
|
235
|
+
|
|
236
|
+
${a.tdUp} {
|
|
237
|
+
grid-template-columns: var(--columns-desktop);
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
> * {
|
|
241
|
+
justify-self: var(--justify-children);
|
|
242
|
+
}
|
|
243
|
+
`;var L="xzO2I0N";const A=c((()=>({root:{}}))),O=e=>{var o,{as:r,tag:a,className:n,children:s,title:l,color:d,style:p,fontWeight:c,dataEventCategory:g,dataEventAction:x,dataEventLabel:h}=e,u=t(e,["as","tag","className","children","title","color","style","fontWeight","dataEventCategory","dataEventAction","dataEventLabel"]);const b=r||a,{theme:m}=A(void 0,{name:"Heading"});return i.createElement(b,Object.assign({title:l,style:Object.assign({"--custom-heading-color":d||("mb"===(null===(o=null==m?void 0:m.other)||void 0===o?void 0:o.template)?m.colors.gray[9]:m.colors.gray[8])},p),"data-tag":a,"data-font-weight":c||void 0,"data-event-category":g,"data-event-action":x,"data-event-label":h,className:`${L} ${n||""}`},u),s)},M=e.div`
|
|
244
|
+
display: flex;
|
|
245
|
+
align-items: center;
|
|
246
|
+
justify-content: space-between;
|
|
247
|
+
user-select: none;
|
|
248
|
+
li {
|
|
249
|
+
transition: all 0.3s ease;
|
|
250
|
+
}
|
|
251
|
+
[data-page-active] {
|
|
252
|
+
background: ${r.colors.primaryBase};
|
|
253
|
+
color: ${r.colors.white};
|
|
254
|
+
|
|
255
|
+
> a {
|
|
256
|
+
color: ${r.colors.white};
|
|
257
|
+
}
|
|
258
|
+
}
|
|
259
|
+
`,D=e.div`
|
|
260
|
+
display: flex;
|
|
261
|
+
width: 32px;
|
|
262
|
+
height: 32px;
|
|
263
|
+
box-sizing: border-box;
|
|
264
|
+
align-items: center;
|
|
265
|
+
justify-content: center;
|
|
266
|
+
border: 1px solid ${r.colors.gray200};
|
|
267
|
+
margin: 0 2px;
|
|
268
|
+
border-radius: 4px;
|
|
269
|
+
color: ${r.colors.gray800};
|
|
270
|
+
cursor: pointer;
|
|
271
|
+
font-size: 14px;
|
|
272
|
+
font-weight: ${r.sizes.fwBold};
|
|
273
|
+
|
|
274
|
+
&[data-last-page] {
|
|
275
|
+
border: none;
|
|
276
|
+
background-color: ${r.colors.gray100};
|
|
277
|
+
cursor: not-allowed;
|
|
278
|
+
pointer-events: none;
|
|
279
|
+
|
|
280
|
+
svg {
|
|
281
|
+
path {
|
|
282
|
+
stroke: ${r.colors.gray300};
|
|
283
|
+
}
|
|
284
|
+
}
|
|
285
|
+
}
|
|
286
|
+
`,K=e.li`
|
|
287
|
+
display: flex;
|
|
288
|
+
width: 32px;
|
|
289
|
+
height: 32px;
|
|
290
|
+
align-items: center;
|
|
291
|
+
justify-content: center;
|
|
292
|
+
margin: 0 2px;
|
|
293
|
+
border-radius: 4px;
|
|
294
|
+
color: ${r.colors.gray800};
|
|
295
|
+
cursor: pointer;
|
|
296
|
+
font-size: 14px;
|
|
297
|
+
font-weight: ${r.sizes.fwBold};
|
|
298
|
+
|
|
299
|
+
> a {
|
|
300
|
+
color: ${r.colors.gray800};
|
|
301
|
+
text-decoration: unset;
|
|
302
|
+
display: block;
|
|
303
|
+
width: 100%;
|
|
304
|
+
height: 100%;
|
|
305
|
+
line-height: 32px;
|
|
306
|
+
text-align: center;
|
|
307
|
+
}
|
|
308
|
+
`,P=e.div`
|
|
309
|
+
position: relative;
|
|
310
|
+
width: 100%;
|
|
311
|
+
|
|
312
|
+
&[data-has-error] {
|
|
313
|
+
input {
|
|
314
|
+
border-color: ${r.colors.red700};
|
|
315
|
+
}
|
|
316
|
+
}
|
|
317
|
+
|
|
318
|
+
input {
|
|
319
|
+
width: 100%;
|
|
320
|
+
padding: 12px 16px;
|
|
321
|
+
border: solid 1px ${r.colors.gray200};
|
|
322
|
+
border-radius: ${r.borderRadius};
|
|
323
|
+
|
|
324
|
+
&:active,
|
|
325
|
+
&:focus,
|
|
326
|
+
.focused & {
|
|
327
|
+
border-color: ${r.colors.primaryBase};
|
|
328
|
+
box-shadow: 0px 0px 2px 2px ${r.colors.primary200};
|
|
329
|
+
}
|
|
330
|
+
|
|
331
|
+
&:disabled {
|
|
332
|
+
background-color: ${r.colors.gray100};
|
|
333
|
+
cursor: not-allowed;
|
|
334
|
+
}
|
|
335
|
+
}
|
|
336
|
+
|
|
337
|
+
&[data-has-action-icon] {
|
|
338
|
+
input {
|
|
339
|
+
padding: 12px 48px 12px 16px;
|
|
340
|
+
}
|
|
341
|
+
}
|
|
342
|
+
&[data-has-display-icon] {
|
|
343
|
+
input {
|
|
344
|
+
padding: 12px 16px 12px 48px;
|
|
345
|
+
}
|
|
346
|
+
}
|
|
347
|
+
|
|
348
|
+
&[data-has-action-icon][data-has-display-icon] {
|
|
349
|
+
input {
|
|
350
|
+
padding: 12px 48px;
|
|
351
|
+
}
|
|
352
|
+
}
|
|
353
|
+
|
|
354
|
+
&[data-size='lg'] {
|
|
355
|
+
input {
|
|
356
|
+
font-size: 16px;
|
|
357
|
+
font-weight: ${r.sizes.fwRegular};
|
|
358
|
+
${a.mbDown} {
|
|
359
|
+
font-size: 22px;
|
|
360
|
+
line-height: 1.2;
|
|
361
|
+
}
|
|
362
|
+
|
|
363
|
+
${a.mbUp} {
|
|
364
|
+
font-size: 26px;
|
|
365
|
+
line-height: 1.2;
|
|
366
|
+
}
|
|
367
|
+
}
|
|
368
|
+
}
|
|
369
|
+
&[data-size='md'] {
|
|
370
|
+
input {
|
|
371
|
+
font-weight: ${r.sizes.fwRegular};
|
|
372
|
+
${a.mbDown} {
|
|
373
|
+
font-size: 14px;
|
|
374
|
+
line-height: 1.2;
|
|
375
|
+
}
|
|
376
|
+
|
|
377
|
+
${a.mbUp} {
|
|
378
|
+
font-size: 16px;
|
|
379
|
+
line-height: 1.2;
|
|
380
|
+
}
|
|
381
|
+
}
|
|
382
|
+
}
|
|
383
|
+
&[data-size='sm'] {
|
|
384
|
+
input {
|
|
385
|
+
font-weight: ${r.sizes.fwRegular};
|
|
386
|
+
${a.mbDown} {
|
|
387
|
+
font-size: 13px;
|
|
388
|
+
line-height: 1.5;
|
|
389
|
+
}
|
|
390
|
+
|
|
391
|
+
${a.mbUp} {
|
|
392
|
+
font-size: 13px;
|
|
393
|
+
line-height: 1.5;
|
|
394
|
+
}
|
|
395
|
+
}
|
|
396
|
+
}
|
|
397
|
+
`;e.label`
|
|
398
|
+
display: inline-block;
|
|
399
|
+
margin-bottom: 4px;
|
|
400
|
+
color: ${r.colors.gray600};
|
|
401
|
+
font-weight: ${r.sizes.fwBold};
|
|
402
|
+
`;const F=e.label`
|
|
403
|
+
color: ${r.colors.red700};
|
|
404
|
+
font-weight: ${r.sizes.fwRegular};
|
|
405
|
+
`,T=e.div`
|
|
406
|
+
position: absolute;
|
|
407
|
+
top: 50%;
|
|
408
|
+
right: 16px;
|
|
409
|
+
display: inline-flex;
|
|
410
|
+
cursor: pointer;
|
|
411
|
+
transform: translateY(-50%);
|
|
412
|
+
`,H=e.div`
|
|
413
|
+
position: absolute;
|
|
414
|
+
top: 50%;
|
|
415
|
+
left: 16px;
|
|
416
|
+
display: inline-flex;
|
|
417
|
+
cursor: default;
|
|
418
|
+
transform: translateY(-50%);
|
|
419
|
+
`,U=i.forwardRef(((e,o)=>{var{name:r,errorMessage:a,autoComplete:s="off",defaultValue:l,actionIcon:d,displayIcon:p,isDeleteAction:c,onActionClick:g,label:h,placeholder:u,className:b,onChange:m,onKeyPress:f,isDisabled:v,CustomInput:w,size:y,style:$,autoFocus:k,type:z="text",isNumerousKeyboard:C=!1,onFocus:E,enterKeyHint:j,nativeOnChange:B}=e,I=t(e,["name","errorMessage","autoComplete","defaultValue","actionIcon","displayIcon","isDeleteAction","onActionClick","label","placeholder","className","onChange","onKeyPress","isDisabled","CustomInput","size","style","autoFocus","type","isNumerousKeyboard","onFocus","enterKeyHint","nativeOnChange"]);const[R,N]=n(l);return i.createElement(P,{"data-size":y,className:b,"data-has-action-icon":!!d||void 0,"data-has-display-icon":!!p||void 0,"data-has-error":a&&a.length>0||void 0,style:$},h&&i.createElement(x,{size:"label2",htmlFor:r,className:"inputLabel"},h),i.createElement("div",{style:{position:"relative"}},w||i.createElement("input",Object.assign({id:r,name:r,placeholder:u,onChange:null!=B?B:e=>{return o=e.target.value,N(o),void m(o);var o},onKeyPress:f,type:z,"aria-label":z,disabled:v,value:R,autoComplete:s,ref:o,autoFocus:k,inputMode:C||"number"===z?"numeric":z,pattern:C?"[0-9]*":".*",onFocus:E,enterKeyHint:j},I)),p&&i.createElement(H,{className:"displayIcon"},p),d&&i.createElement(T,{className:"actionIcon",onClick:()=>{var e;c&&(N(""),null===(e=o.current)||void 0===e||e.focus()),g&&g()}},d)),a&&a.length>0&&i.createElement(F,{className:"errorLabel"},a))}));U.displayName="PureInput";const q=e.div`
|
|
420
|
+
--padding-horizontal: 8px;
|
|
421
|
+
--pading-vertical: 2px;
|
|
422
|
+
display: flex;
|
|
423
|
+
align-items: center;
|
|
424
|
+
justify-content: center;
|
|
425
|
+
padding: var(--pading-vertical) var(--padding-horizontal);
|
|
426
|
+
border-radius: 24px;
|
|
427
|
+
|
|
428
|
+
${e=>"sponsored"===e.tagType&&`\n --offset-size: 4px;\n display: flex;\n align-items: center;\n justify-content: center;\n box-sizing: content-box;\n position: relative;\n box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.08);\n border-radius: 0 4px 18px 0;\n height: 24px;\n width: 90px;\n border-left: var(--offset-size) solid ${r.colors.accentLight};\n padding: 0;\n margin-left: calc(var(--offset-size) * -1);\n\n p {\n font-weight: ${r.sizes.fwBold};\n color: var(\n --text-props-color,\n ${r.colors.secondaryDark}\n );\n font-size: 11px;\n margin-left: calc(var(--offset-size) * -1);\n }\n\n &::after {\n width: calc(var(--offset-size) * 2);\n height: var(--offset-size);\n background: ${r.colors.accentMain};\n position: absolute;\n left: calc(var(--offset-size) * -1);\n bottom: calc(var(--offset-size) * -1);\n clip-path: polygon(0 1%, 100% 0%, 100% 100%);\n content: '';\n }\n `}
|
|
429
|
+
|
|
430
|
+
${e=>e.isInline&&"\n display: inline-block;\n "}
|
|
431
|
+
|
|
432
|
+
${e=>e.tagHasMorePadding&&"\n &[data-has-more-padding] {\n padding: calc(var(--pading-vertical) + 5px) var(--padding-horizontal);\n }\n "}
|
|
433
|
+
|
|
434
|
+
p {
|
|
435
|
+
${e=>e.tagIsLight?"\n color: var(--text-props-color, #000);\n ":`\n color: var(--text-props-color, ${r.colors.white});\n `}
|
|
436
|
+
}
|
|
437
|
+
|
|
438
|
+
${e=>((e,o)=>{switch(e){case"yellow":return`\n background: ${o?r.colors.yellow50:r.colors.yellow600};\n p {\n color: var(\n --text-props-color,\n ${r.colors.gray800}\n );\n }\n `;case"standard":return`\n background: ${r.colors.white};\n border: 1px solid ${r.colors.gray200};\n \n p {\n color: var(\n --text-props-color,\n ${r.colors.gray800}\n );\n }\n \n &:hover {\n background: ${r.colors.gray100};\n }\n `;case"red":return`\n background: ${o?r.colors.red50:r.colors.red500};\n `;case"green":return`\n background: ${o?r.colors.green50:r.colors.green500};\n `;case"blue":return`\n background: ${o?r.colors.primary50:r.colors.primaryBase};\n `;case"teal":return`\n background: ${o?r.colors.teal100:r.colors.teal600};\n `;case"pink":return`\n background: ${o?r.colors.pink200:r.colors.pink800};\n `;case"violet":return`\n background: ${o?r.colors.violet100:r.colors.violet500};\n `;case"grey":return`\n background: ${o?r.colors.gray100:r.colors.gray600};\n `}})(e.tagType,e.tagIsLight)}
|
|
439
|
+
|
|
440
|
+
${e=>e.tagIsSquared&&"sponsored"!==e.tagType&&"\n border-radius: 4px;\n "}
|
|
441
|
+
|
|
442
|
+
${e=>e.tagIsALink&&"\n cursor: pointer;\n "}
|
|
443
|
+
|
|
444
|
+
&[data-is-selected],
|
|
445
|
+
&:active {
|
|
446
|
+
background: ${r.colors.primary50};
|
|
447
|
+
}
|
|
448
|
+
`,W=(e,o)=>s(((r,a)=>{var{className:n}=r,s=t(r,["className"]);return i.createElement(e,Object.assign({ref:a,className:`${o} ${n||""}`},s))})),V="24px",Y="hhgcomp-toggle-icon",G=W(e.span`
|
|
449
|
+
position: relative;
|
|
450
|
+
display: block;
|
|
451
|
+
width: 40px;
|
|
452
|
+
height: ${V};
|
|
453
|
+
background: #c3cbd4;
|
|
454
|
+
border-radius: 100px;
|
|
455
|
+
cursor: pointer;
|
|
456
|
+
|
|
457
|
+
&:after {
|
|
458
|
+
position: absolute;
|
|
459
|
+
top: 2px;
|
|
460
|
+
left: 2px;
|
|
461
|
+
width: 20px;
|
|
462
|
+
height: 20px;
|
|
463
|
+
background: #fff;
|
|
464
|
+
border-radius: 90px;
|
|
465
|
+
content: '';
|
|
466
|
+
transition: 0.3s;
|
|
467
|
+
}
|
|
468
|
+
`,Y),X=e.span`
|
|
469
|
+
padding-left: 15px;
|
|
470
|
+
`,_=e.div`
|
|
471
|
+
height: ${V};
|
|
472
|
+
|
|
473
|
+
input[type='checkbox'] {
|
|
474
|
+
width: 0;
|
|
475
|
+
height: 0;
|
|
476
|
+
visibility: hidden;
|
|
477
|
+
}
|
|
478
|
+
|
|
479
|
+
label {
|
|
480
|
+
cursor: pointer;
|
|
481
|
+
display: inline-flex;
|
|
482
|
+
color: ${r.colors.gray600};
|
|
483
|
+
}
|
|
484
|
+
|
|
485
|
+
input:checked + label .${Y} {
|
|
486
|
+
background: ${r.colors.primaryBase};
|
|
487
|
+
&:after {
|
|
488
|
+
left: calc(100% - 2px);
|
|
489
|
+
transform: translateX(-100%);
|
|
490
|
+
}
|
|
491
|
+
}
|
|
492
|
+
`,J=e.div`
|
|
493
|
+
textarea {
|
|
494
|
+
width: 100%;
|
|
495
|
+
height: var(--textarea-height, 116px);
|
|
496
|
+
padding: 1rem;
|
|
497
|
+
border: 1px solid ${r.colors.gray200};
|
|
498
|
+
border-radius: 6px;
|
|
499
|
+
color: ${r.colors.gray800};
|
|
500
|
+
font-size: 14px;
|
|
501
|
+
resize: none;
|
|
502
|
+
|
|
503
|
+
&:focus {
|
|
504
|
+
box-shadow: 0px 0px 2px 2px #91caff;
|
|
505
|
+
}
|
|
506
|
+
|
|
507
|
+
&::placeholder {
|
|
508
|
+
color: ${r.colors.gray500};
|
|
509
|
+
}
|
|
510
|
+
|
|
511
|
+
&:disabled {
|
|
512
|
+
background-color: ${r.colors.neutral50};
|
|
513
|
+
cursor: not-allowed;
|
|
514
|
+
}
|
|
515
|
+
}
|
|
516
|
+
`,Q=i.forwardRef((({height:e,placeholder:o,labelText:r,labelColor:a,id:t,name:n,onChange:s,value:l,className:d,onKeyPress:p,disabled:c=!1},g)=>i.createElement(J,{className:d,style:{"--textarea-height":e||"116px"}},r&&i.createElement(x,{size:"label2",style:{color:a||"#595959"},htmlFor:t},r),i.createElement("textarea",{name:n,ref:g,placeholder:o,id:t,onChange:e=>s&&s(e.target.value),onKeyPress:e=>p&&p(e),value:l,disabled:c})))),Z=e.div`
|
|
517
|
+
display: flex;
|
|
518
|
+
cursor: pointer;
|
|
519
|
+
|
|
520
|
+
&[data-theme='marryBaby'] {
|
|
521
|
+
input {
|
|
522
|
+
width: 20px;
|
|
523
|
+
height: 20px;
|
|
524
|
+
border: 1.3px solid ${r.mbColors.midGray};
|
|
525
|
+
border-radius: 9px;
|
|
526
|
+
|
|
527
|
+
cursor: inherit;
|
|
528
|
+
transition: border-color 0.4s, box-shadow 0.4s;
|
|
529
|
+
|
|
530
|
+
&:hover,
|
|
531
|
+
&:active {
|
|
532
|
+
border-color: ${r.mbColors.cobalt};
|
|
533
|
+
box-shadow: 0 0 2px 2px ${r.mbColors.cobalt};
|
|
534
|
+
}
|
|
535
|
+
|
|
536
|
+
&:focus-visible {
|
|
537
|
+
border: 2px solid ${r.mbColors.cobalt};
|
|
538
|
+
}
|
|
539
|
+
|
|
540
|
+
&:checked {
|
|
541
|
+
border: 0;
|
|
542
|
+
background: ${r.mbColors.cobalt}
|
|
543
|
+
url("data:image/svg+xml,%3Csvg width='9' height='7' viewBox='0 0 9 7' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1.5 4L3.45455 6L8 1' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A")
|
|
544
|
+
no-repeat center center;
|
|
545
|
+
}
|
|
546
|
+
}
|
|
547
|
+
|
|
548
|
+
label {
|
|
549
|
+
max-width: 15rem;
|
|
550
|
+
margin-left: 8px;
|
|
551
|
+
width: calc(100% - 24px);
|
|
552
|
+
cursor: inherit;
|
|
553
|
+
font-weight: 600;
|
|
554
|
+
font-size: 12px;
|
|
555
|
+
line-height: 20px;
|
|
556
|
+
letter-spacing: -0.2px;
|
|
557
|
+
color: ${r.mbColors.gray};
|
|
558
|
+
}
|
|
559
|
+
}
|
|
560
|
+
input {
|
|
561
|
+
width: 20px;
|
|
562
|
+
height: 20px;
|
|
563
|
+
border: solid 1px ${r.colors.gray500};
|
|
564
|
+
border-radius: 2px;
|
|
565
|
+
|
|
566
|
+
cursor: inherit;
|
|
567
|
+
transition: border-color 0.4s, box-shadow 0.4s;
|
|
568
|
+
|
|
569
|
+
&:hover,
|
|
570
|
+
&:active {
|
|
571
|
+
border-color: ${r.colors.primaryBase};
|
|
572
|
+
box-shadow: 0 0 2px 2px ${r.colors.primary200};
|
|
573
|
+
}
|
|
574
|
+
|
|
575
|
+
&:focus-visible {
|
|
576
|
+
border: 2px solid ${r.colors.primaryActive};
|
|
577
|
+
}
|
|
578
|
+
|
|
579
|
+
&:checked {
|
|
580
|
+
border: 0;
|
|
581
|
+
background: ${r.colors.primaryBase}
|
|
582
|
+
url("data:image/svg+xml,%3Csvg width='12' height='9' viewBox='0 0 12 9' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 1L4.125 8L1 4.81819' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A")
|
|
583
|
+
no-repeat center center;
|
|
584
|
+
}
|
|
585
|
+
}
|
|
586
|
+
|
|
587
|
+
label {
|
|
588
|
+
max-width: 15rem;
|
|
589
|
+
margin-left: 8px;
|
|
590
|
+
font-weight: ${r.sizes.fwRegular};
|
|
591
|
+
width: calc(100% - 24px);
|
|
592
|
+
cursor: inherit;
|
|
593
|
+
|
|
594
|
+
${a.mbDown} {
|
|
595
|
+
font-size: 14px;
|
|
596
|
+
line-height: 24px;
|
|
597
|
+
}
|
|
598
|
+
|
|
599
|
+
${a.mbUp} {
|
|
600
|
+
font-size: 16px;
|
|
601
|
+
line-height: 22px;
|
|
602
|
+
}
|
|
603
|
+
}
|
|
604
|
+
|
|
605
|
+
&[data-is-rectangle] > input {
|
|
606
|
+
position: relative;
|
|
607
|
+
width: unset;
|
|
608
|
+
height: unset;
|
|
609
|
+
padding: 5px 12px;
|
|
610
|
+
border: 1px solid ${r.colors.neutral100};
|
|
611
|
+
border-radius: 32px;
|
|
612
|
+
|
|
613
|
+
&::after {
|
|
614
|
+
color: ${r.colors.gray800};
|
|
615
|
+
content: attr(data-label-text);
|
|
616
|
+
font-size: 13px;
|
|
617
|
+
}
|
|
618
|
+
&:checked {
|
|
619
|
+
border-color: ${r.colors.primary50};
|
|
620
|
+
&::after {
|
|
621
|
+
color: ${r.colors.primaryBase};
|
|
622
|
+
}
|
|
623
|
+
}
|
|
624
|
+
&:checked {
|
|
625
|
+
background: ${r.colors.primary50};
|
|
626
|
+
}
|
|
627
|
+
}
|
|
628
|
+
|
|
629
|
+
&[data-disabled] {
|
|
630
|
+
color: ${r.colors.gray300};
|
|
631
|
+
cursor: not-allowed;
|
|
632
|
+
input {
|
|
633
|
+
border-color: ${r.colors.gray300};
|
|
634
|
+
&:hover {
|
|
635
|
+
border-color: ${r.colors.gray300};
|
|
636
|
+
box-shadow: none;
|
|
637
|
+
}
|
|
638
|
+
}
|
|
639
|
+
}
|
|
640
|
+
`,ee=e.div`
|
|
641
|
+
display: inline-flex;
|
|
642
|
+
|
|
643
|
+
gap: calc(var(--gap) * 1px);
|
|
644
|
+
> svg {
|
|
645
|
+
width: calc(var(--star-size) * 1px);
|
|
646
|
+
height: calc(var(--star-size) * 1px);
|
|
647
|
+
}
|
|
648
|
+
|
|
649
|
+
&[data-selectable='true'] {
|
|
650
|
+
> svg {
|
|
651
|
+
cursor: pointer;
|
|
652
|
+
}
|
|
653
|
+
}
|
|
654
|
+
`,oe="600ms",re=e.div`
|
|
655
|
+
position: fixed;
|
|
656
|
+
inset: 0;
|
|
657
|
+
z-index: ${r.zIndexes.drawer};
|
|
658
|
+
pointer-events: ${e=>e.open?"auto":"none"};
|
|
659
|
+
`,ae=e.div`
|
|
660
|
+
position: fixed;
|
|
661
|
+
z-index: 300;
|
|
662
|
+
background: #ffffff;
|
|
663
|
+
visibility: ${e=>e.open?"visible":"hidden"};
|
|
664
|
+
max-height: calc(100vh - 100px);
|
|
665
|
+
display: flex;
|
|
666
|
+
flex-direction: column;
|
|
667
|
+
.title {
|
|
668
|
+
display: flex;
|
|
669
|
+
align-items: center;
|
|
670
|
+
justify-content: space-between;
|
|
671
|
+
padding: 16px;
|
|
672
|
+
${e=>e.hasTitle?o`
|
|
673
|
+
border-bottom: 1px solid ${r.colors.neutral100};
|
|
674
|
+
`:null}
|
|
675
|
+
}
|
|
676
|
+
|
|
677
|
+
.close-button {
|
|
678
|
+
margin-left: auto;
|
|
679
|
+
}
|
|
680
|
+
|
|
681
|
+
${e=>((e,r)=>{switch(e){case"top":return o`
|
|
682
|
+
top: 0;
|
|
683
|
+
width: 100%;
|
|
684
|
+
border-radius: 0px 0px 6px 6px;
|
|
685
|
+
${r?o`
|
|
686
|
+
animation: ${w} ${oe} ease-in-out forwards;
|
|
687
|
+
`:null}
|
|
688
|
+
|
|
689
|
+
&.slideOut {
|
|
690
|
+
animation: ${y} ${oe} ease-in-out forwards;
|
|
691
|
+
}
|
|
692
|
+
`;case"right":return o`
|
|
693
|
+
right: 0;
|
|
694
|
+
height: 100%;
|
|
695
|
+
min-width: 300px;
|
|
696
|
+
border-radius: 6px 0px 0px 6px;
|
|
697
|
+
|
|
698
|
+
${r?o`
|
|
699
|
+
animation: ${f} ${oe} ease-in-out forwards;
|
|
700
|
+
`:null}
|
|
701
|
+
|
|
702
|
+
&.slideOut {
|
|
703
|
+
animation: ${v} ${oe} ease-in-out forwards;
|
|
704
|
+
}
|
|
705
|
+
`;case"bottom":return o`
|
|
706
|
+
bottom: 0;
|
|
707
|
+
width: 100%;
|
|
708
|
+
border-radius: 6px 6px 0px 0px;
|
|
709
|
+
${r?o`
|
|
710
|
+
animation: ${h} ${oe} ease-in-out forwards;
|
|
711
|
+
`:null}
|
|
712
|
+
|
|
713
|
+
&.slideOut {
|
|
714
|
+
animation: ${u} ${oe} ease-in-out forwards;
|
|
715
|
+
}
|
|
716
|
+
`;case"left":return o`
|
|
717
|
+
left: 0;
|
|
718
|
+
height: 100%;
|
|
719
|
+
min-width: 300px;
|
|
720
|
+
border-radius: 0px 6px 6px 0px;
|
|
721
|
+
|
|
722
|
+
${r?o`
|
|
723
|
+
animation: ${b} ${oe} ease-in-out forwards;
|
|
724
|
+
`:null}
|
|
725
|
+
|
|
726
|
+
&.slideOut {
|
|
727
|
+
animation: ${m} ${oe} ease-in-out forwards;
|
|
728
|
+
}
|
|
729
|
+
`;default:return o`
|
|
730
|
+
left: 0;
|
|
731
|
+
height: 100%;
|
|
732
|
+
min-width: 300px;
|
|
733
|
+
border-radius: 0px 6px 6px 0px;
|
|
734
|
+
|
|
735
|
+
${r?o`
|
|
736
|
+
animation: ${h} ${oe} ease-in-out forwards;
|
|
737
|
+
`:null}
|
|
738
|
+
|
|
739
|
+
&.slideOut {
|
|
740
|
+
animation: ${u} ${oe} ease-in-out forwards;
|
|
741
|
+
}
|
|
742
|
+
`}})(e.placement,e.open)}
|
|
743
|
+
`,te=e.div`
|
|
744
|
+
min-height: 200px;
|
|
745
|
+
padding: 16px;
|
|
746
|
+
overflow-y: auto;
|
|
747
|
+
`,ie=e.div`
|
|
748
|
+
position: fixed;
|
|
749
|
+
inset: 0;
|
|
750
|
+
display: flex;
|
|
751
|
+
align-items: center;
|
|
752
|
+
justify-content: center;
|
|
753
|
+
width: 100%;
|
|
754
|
+
height: 100%;
|
|
755
|
+
overflow-x: hidden;
|
|
756
|
+
overflow-y: auto;
|
|
757
|
+
outline: 0;
|
|
758
|
+
background-color: rgba(38, 38, 38, 0.3);
|
|
759
|
+
z-index: 1;
|
|
760
|
+
&[data-open='false'] {
|
|
761
|
+
visibility: hidden;
|
|
762
|
+
pointer-events: none;
|
|
763
|
+
}
|
|
764
|
+
&[data-open='true'] {
|
|
765
|
+
visibility: visible;
|
|
766
|
+
pointer-events: auto;
|
|
767
|
+
}
|
|
768
|
+
`,ne=e.div`
|
|
769
|
+
display: flex;
|
|
770
|
+
width: 100%;
|
|
771
|
+
|
|
772
|
+
&[data-direction='vertical'] {
|
|
773
|
+
flex-direction: column;
|
|
774
|
+
}
|
|
775
|
+
|
|
776
|
+
&[data-direction='horizontal'] {
|
|
777
|
+
flex-wrap: wrap;
|
|
778
|
+
}
|
|
779
|
+
`,se=e.div`
|
|
780
|
+
display: flex;
|
|
781
|
+
|
|
782
|
+
padding: 8px;
|
|
783
|
+
|
|
784
|
+
border-radius: ${r.borderRadius};
|
|
785
|
+
cursor: pointer;
|
|
786
|
+
|
|
787
|
+
& > div {
|
|
788
|
+
display: flex;
|
|
789
|
+
width: 100%;
|
|
790
|
+
height: 100%;
|
|
791
|
+
flex-direction: column;
|
|
792
|
+
align-items: center;
|
|
793
|
+
justify-content: flex-start;
|
|
794
|
+
}
|
|
795
|
+
|
|
796
|
+
&[data-is-mb='false'] {
|
|
797
|
+
&[data-selected='true'] {
|
|
798
|
+
border: 1px solid #2d87f3;
|
|
799
|
+
background: white;
|
|
800
|
+
}
|
|
801
|
+
&[data-selected='false'] {
|
|
802
|
+
border: 1px solid #f2f2f2;
|
|
803
|
+
box-shadow: 0px 5px 12px rgba(40, 74, 117, 0.08);
|
|
804
|
+
}
|
|
805
|
+
}
|
|
806
|
+
|
|
807
|
+
&[data-is-mb='true'] {
|
|
808
|
+
border-radius: 16px;
|
|
809
|
+
background: white;
|
|
810
|
+
padding: 16px auto;
|
|
811
|
+
|
|
812
|
+
&[data-selected='true'] {
|
|
813
|
+
border: 1px solid ${r.mbColors.mint};
|
|
814
|
+
box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.06);
|
|
815
|
+
}
|
|
816
|
+
&[data-selected='false'] {
|
|
817
|
+
border: none;
|
|
818
|
+
}
|
|
819
|
+
}
|
|
820
|
+
|
|
821
|
+
&[data-disabled='true'] {
|
|
822
|
+
cursor: auto;
|
|
823
|
+
}
|
|
824
|
+
|
|
825
|
+
.radio-group-item-heading {
|
|
826
|
+
margin-top: 8px;
|
|
827
|
+
//height: 48px;
|
|
828
|
+
text-align: center;
|
|
829
|
+
}
|
|
830
|
+
|
|
831
|
+
.gender-image {
|
|
832
|
+
width: 70px;
|
|
833
|
+
height: 70px;
|
|
834
|
+
&[data-is-mobile='true'] {
|
|
835
|
+
width: 40px;
|
|
836
|
+
height: 40px;
|
|
837
|
+
}
|
|
838
|
+
}
|
|
839
|
+
`;var le=c((e=>({root:{display:"inline-block",flexShrink:0,padding:"2px 0.5rem",marginLeft:"4px",borderRadius:e.radius.xs,fontSize:"12px",fontWeight:400,lineHeight:"18px",'&[data-label-type="admin"]':{background:e.primaryColor[0],color:e.primaryColor[9]},'&[data-label-type="local admin"]':{background:e.primaryColor[8]},'&[data-label-type="ambassador"]':{background:e.colors.green[4]},'&[data-label-type="expert"]':{background:e.colors.yellow[6]},'&[data-label-type="moderator"]':{background:e.colors.red[0],color:e.colors.red[8]},'&[data-label-type="sponsor"]':{background:e.colors.teal[4]},'&[data-label-type="guide"]':{background:e.colors.teal[4]},'&[data-label-type="influencer"]':{background:e.colors.teal[4]}}})));const de=l({currentStep:0,setCurrentStep:()=>!1,setMaxStep:()=>!1,nextStep:()=>!1,prevStep:()=>!1}),pe=({children:e,onStepChange:o})=>{const[r,a]=n(0),[t,s]=n(0),l=i.Children.count(e);d((()=>{s(l-1)}),[l]),d((()=>{null==o||o(r)}),[r]);return i.createElement(de.Provider,{value:{currentStep:r,setCurrentStep:a,setMaxStep:s,nextStep:()=>r+1<=t&&a(r+1),prevStep:()=>r-1>=0&&a(r-1)}},$(e).map(((e,o)=>{const a=o===r;return i.createElement(p,{key:o},i.isValidElement(e)?e.props.alwaysRender||a?i.cloneElement(e,{isActive:o===r,stepIndex:o}):null:a?e:null)})))};var ce=c((e=>({root:{},wrapper:{gap:g(8)},groupErr:{fontSize:g(14)},itemRoot:{flexGrow:1,width:"50%",'&[data-checked="true"]':{".mantine-Radio-label":{borderColor:e.fn.primaryColor()}}},itemLabelWrapper:{padding:0,width:"100%"},itemLabel:{position:"relative",padding:`${g(6)} ${g(16)}`,border:`1px solid ${e.colors.gray[2]}`,borderRadius:g(4),cursor:"pointer",'&[data-disabled="true"]':{background:e.colors.gray[1],color:`${e.colors.gray[4]} !important`,img:{opacity:.5}},img:{height:g(26)}},itemInner:{display:"none"}})));export{te as A,ne as B,se as C,O as H,U as P,pe as S,Q as T,de as a,k as b,z as c,C as d,j as e,B as f,W as g,I as h,R as i,N as j,S as k,M as l,D as m,K as n,q as o,_ as p,G as q,X as r,Z as s,ee as t,ce as u,E as v,le as w,ie as x,re as y,ae as z};
|