@hhgtech/hhg-components 1.22.24 → 1.22.25-beta-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/{BMI_BOYS.percentile.monthly-e1af0e66.js → BMI_BOYS.percentile.monthly-a14668b0.js} +0 -0
- package/build/{BMI_BOYS.percentile.weekly-75bff607.js → BMI_BOYS.percentile.weekly-048517e2.js} +0 -0
- package/build/{BMI_BOYS.percentile.yearly-a1a3d0ef.js → BMI_BOYS.percentile.yearly-3b22645b.js} +0 -0
- package/build/{BMI_BOYS.zscore.monthly-a175df2d.js → BMI_BOYS.zscore.monthly-2a4c1316.js} +0 -0
- package/build/{BMI_BOYS.zscore.weekly-aba5d53b.js → BMI_BOYS.zscore.weekly-97af1527.js} +0 -0
- package/build/{BMI_BOYS.zscore.yearly-aafb7ce1.js → BMI_BOYS.zscore.yearly-514f1b4a.js} +0 -0
- package/build/{BMI_GIRLS.percentile.monthly-4c519db6.js → BMI_GIRLS.percentile.monthly-3531c7d0.js} +0 -0
- package/build/{BMI_GIRLS.percentile.weekly-aa3da5c1.js → BMI_GIRLS.percentile.weekly-b3bf5793.js} +0 -0
- package/build/{BMI_GIRLS.percentile.yearly-8561e48e.js → BMI_GIRLS.percentile.yearly-fa44e785.js} +0 -0
- package/build/{BMI_GIRLS.zscore.monthly-849cbbe5.js → BMI_GIRLS.zscore.monthly-8bd72df9.js} +0 -0
- package/build/{BMI_GIRLS.zscore.weekly-56e2c916.js → BMI_GIRLS.zscore.weekly-b827cd51.js} +0 -0
- package/build/{BMI_GIRLS.zscore.yearly-eb9d49d1.js → BMI_GIRLS.zscore.yearly-76611d01.js} +0 -0
- package/build/{HEAD CIRCUM_BOYS.percentile.monthly-790479be.js → HEAD CIRCUM_BOYS.percentile.monthly-056c3649.js} +0 -0
- package/build/{HEAD CIRCUM_BOYS.percentile.weekly-923d3626.js → HEAD CIRCUM_BOYS.percentile.weekly-dd23a438.js} +0 -0
- package/build/{HEAD CIRCUM_BOYS.percentile.yearly-b5aaa103.js → HEAD CIRCUM_BOYS.percentile.yearly-027fc3a5.js} +0 -0
- package/build/{HEAD CIRCUM_BOYS.zscore.monthly-bc73088f.js → HEAD CIRCUM_BOYS.zscore.monthly-f3af4ae2.js} +0 -0
- package/build/{HEAD CIRCUM_BOYS.zscore.weekly-f472daa8.js → HEAD CIRCUM_BOYS.zscore.weekly-cd529570.js} +0 -0
- package/build/{HEAD CIRCUM_BOYS.zscore.yearly-d7a7b9df.js → HEAD CIRCUM_BOYS.zscore.yearly-a9852e31.js} +0 -0
- package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-24290dfb.js → HEAD CIRCUM_GIRLS.percentile.monthly-0bba739d.js} +0 -0
- package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-0020f6e2.js → HEAD CIRCUM_GIRLS.percentile.weekly-5f1d9144.js} +0 -0
- package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-22dd615a.js → HEAD CIRCUM_GIRLS.percentile.yearly-6b6ec1ca.js} +0 -0
- package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-96a0f069.js → HEAD CIRCUM_GIRLS.zscore.monthly-e433d193.js} +0 -0
- package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-a0fa670d.js → HEAD CIRCUM_GIRLS.zscore.weekly-0846dcc5.js} +0 -0
- package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-02cf35f7.js → HEAD CIRCUM_GIRLS.zscore.yearly-4cc1d81d.js} +0 -0
- package/build/{HEIGHT_BOYS.percentile.monthly-e61c2896.js → HEIGHT_BOYS.percentile.monthly-dec78a7b.js} +0 -0
- package/build/{HEIGHT_BOYS.percentile.weekly-71fb3532.js → HEIGHT_BOYS.percentile.weekly-607f3d86.js} +0 -0
- package/build/{HEIGHT_BOYS.percentile.yearly-5156c057.js → HEIGHT_BOYS.percentile.yearly-21974e46.js} +0 -0
- package/build/{HEIGHT_BOYS.zscore.monthly-910c2bd0.js → HEIGHT_BOYS.zscore.monthly-599ef473.js} +0 -0
- package/build/{HEIGHT_BOYS.zscore.weekly-70c18763.js → HEIGHT_BOYS.zscore.weekly-b95cab1a.js} +0 -0
- package/build/{HEIGHT_BOYS.zscore.yearly-bd97678c.js → HEIGHT_BOYS.zscore.yearly-56dfc953.js} +0 -0
- package/build/{HEIGHT_GIRLS.percentile.monthly-a7bf2e5d.js → HEIGHT_GIRLS.percentile.monthly-5d3e9b4c.js} +0 -0
- package/build/{HEIGHT_GIRLS.percentile.weekly-b2628828.js → HEIGHT_GIRLS.percentile.weekly-3a0f1199.js} +0 -0
- package/build/{HEIGHT_GIRLS.percentile.yearly-e00c3ffd.js → HEIGHT_GIRLS.percentile.yearly-7a48b174.js} +0 -0
- package/build/{HEIGHT_GIRLS.zscore.monthly-3542327e.js → HEIGHT_GIRLS.zscore.monthly-8cc772a1.js} +0 -0
- package/build/{HEIGHT_GIRLS.zscore.weekly-7ed52595.js → HEIGHT_GIRLS.zscore.weekly-7fac890f.js} +0 -0
- package/build/{HEIGHT_GIRLS.zscore.yearly-4bbd497c.js → HEIGHT_GIRLS.zscore.yearly-3b7d3c30.js} +0 -0
- package/build/{Locale-11b51016.js → Locale-776bc4e9.js} +0 -0
- package/build/{WEIGHT_BOYS.percentile.monthly-9966bfb1.js → WEIGHT_BOYS.percentile.monthly-83c2c968.js} +0 -0
- package/build/{WEIGHT_BOYS.percentile.weekly-8b301e27.js → WEIGHT_BOYS.percentile.weekly-29562a75.js} +0 -0
- package/build/{WEIGHT_BOYS.percentile.yearly-c10eda77.js → WEIGHT_BOYS.percentile.yearly-1ecb9079.js} +0 -0
- package/build/{WEIGHT_BOYS.zscore.monthly-897fca0b.js → WEIGHT_BOYS.zscore.monthly-956223f5.js} +0 -0
- package/build/{WEIGHT_BOYS.zscore.weekly-0b1faf98.js → WEIGHT_BOYS.zscore.weekly-8ad3a58b.js} +0 -0
- package/build/{WEIGHT_BOYS.zscore.yearly-80018532.js → WEIGHT_BOYS.zscore.yearly-ed966b9c.js} +0 -0
- package/build/{WEIGHT_GIRLS.percentile.monthly-822f3f97.js → WEIGHT_GIRLS.percentile.monthly-fee4cb69.js} +0 -0
- package/build/{WEIGHT_GIRLS.percentile.weekly-63c6a2a3.js → WEIGHT_GIRLS.percentile.weekly-e34a5a2d.js} +0 -0
- package/build/{WEIGHT_GIRLS.percentile.yearly-8f44f763.js → WEIGHT_GIRLS.percentile.yearly-c39af9cb.js} +0 -0
- package/build/{WEIGHT_GIRLS.zscore.monthly-86b583c7.js → WEIGHT_GIRLS.zscore.monthly-ca292386.js} +0 -0
- package/build/{WEIGHT_GIRLS.zscore.weekly-29d8f232.js → WEIGHT_GIRLS.zscore.weekly-2c011e5a.js} +0 -0
- package/build/{WEIGHT_GIRLS.zscore.yearly-07eeb8b5.js → WEIGHT_GIRLS.zscore.yearly-9d50b55b.js} +0 -0
- package/build/babyGrowth.js +1 -1
- package/build/cache.js +1 -1
- package/build/care/components/organisms/bookingSearchBar/mobileTopbar/index.styled.d.ts +1 -1
- package/build/care/components/organisms/bookingSearchBar/resultSection/index.styled.d.ts +1 -1
- package/build/care/components/organisms/bookingSearchBar/resultSectionItem/index.styled.d.ts +1 -1
- package/build/care.js +1 -1
- package/build/components/atoms/icons/Current.d.ts +4 -0
- package/build/components/atoms/icons/Missed.d.ts +4 -0
- package/build/components/atoms/icons/ToggleOff.d.ts +4 -0
- package/build/components/atoms/icons/ToggleOn.d.ts +4 -0
- package/build/components/atoms/icons/Upcoming.d.ts +4 -0
- package/build/components/atoms/icons/Vaccinated.d.ts +4 -0
- package/build/components/atoms/icons/index.d.ts +6 -0
- package/build/components/atoms/text/index.d.ts +1 -2
- package/build/components/molecules/babyVaccineCard/index.d.ts +13 -0
- package/build/components/molecules/babyVaccineCard/index.styled.d.ts +4 -0
- package/build/components/molecules/babyVaccineDetailPopup/index.d.ts +15 -0
- package/build/components/molecules/babyVaccineDetailPopup/index.styled.d.ts +4 -0
- package/build/components/molecules/babyVaccineImmunization/index.d.ts +12 -0
- package/build/components/molecules/babyVaccineImmunization/index.styled.d.ts +7 -0
- package/build/components/molecules/babyVaccineRecordsByAgeGroup/index.d.ts +14 -0
- package/build/components/molecules/babyVaccineRecordsByAgeGroup/index.styled.d.ts +6 -0
- package/build/components/molecules/babyVaccineTimelineBanner/index.d.ts +12 -0
- package/build/components/molecules/babyVaccineTimelineBanner/index.styled.d.ts +1 -0
- package/build/components/molecules/index.d.ts +11 -1
- package/build/components.js +1 -1
- package/build/{constants-ca5ea110.js → constants-52b5ac28.js} +0 -0
- package/build/constants.js +1 -1
- package/build/{cookieHelper-3553173d.js → cookieHelper-4ff03ad5.js} +0 -0
- package/build/{core-27ea44f3.js → core-ead66b98.js} +1 -1
- package/build/{dataTransform-a27830ef.js → dataTransform-2b63cd7b.js} +0 -0
- package/build/{defaultClassWrapper-0eac7dff.js → defaultClassWrapper-52e0eb16.js} +1 -1
- package/build/ecom.js +1 -1
- package/build/esm/{BMI_BOYS.percentile.monthly-f524741d.js → BMI_BOYS.percentile.monthly-83f27018.js} +0 -0
- package/build/esm/{BMI_BOYS.percentile.weekly-3e59e311.js → BMI_BOYS.percentile.weekly-d9bd77fd.js} +0 -0
- package/build/esm/{BMI_BOYS.percentile.yearly-6d8de73b.js → BMI_BOYS.percentile.yearly-69c4c5f1.js} +0 -0
- package/build/esm/{BMI_BOYS.zscore.monthly-a1e3c494.js → BMI_BOYS.zscore.monthly-e3d51b58.js} +0 -0
- package/build/esm/{BMI_BOYS.zscore.weekly-71fe0115.js → BMI_BOYS.zscore.weekly-632ac174.js} +0 -0
- package/build/esm/{BMI_BOYS.zscore.yearly-09f20a36.js → BMI_BOYS.zscore.yearly-b2003f99.js} +0 -0
- package/build/esm/{BMI_GIRLS.percentile.monthly-001ea609.js → BMI_GIRLS.percentile.monthly-c9a59ad3.js} +0 -0
- package/build/esm/{BMI_GIRLS.percentile.weekly-e48d680c.js → BMI_GIRLS.percentile.weekly-cf35ff10.js} +0 -0
- package/build/esm/{BMI_GIRLS.percentile.yearly-7df5fcbe.js → BMI_GIRLS.percentile.yearly-04b86d10.js} +0 -0
- package/build/esm/{BMI_GIRLS.zscore.monthly-5802a837.js → BMI_GIRLS.zscore.monthly-7f480d3e.js} +0 -0
- package/build/esm/{BMI_GIRLS.zscore.weekly-82f7aa14.js → BMI_GIRLS.zscore.weekly-0d3369d7.js} +0 -0
- package/build/esm/{BMI_GIRLS.zscore.yearly-347ac14e.js → BMI_GIRLS.zscore.yearly-7718cfa9.js} +0 -0
- package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-dbb676b7.js → HEAD CIRCUM_BOYS.percentile.monthly-a2232ea1.js} +0 -0
- package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-92a20a1c.js → HEAD CIRCUM_BOYS.percentile.weekly-6f3ad339.js} +0 -0
- package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-284ffe85.js → HEAD CIRCUM_BOYS.percentile.yearly-855d335b.js} +0 -0
- package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-0518141a.js → HEAD CIRCUM_BOYS.zscore.monthly-b10d389c.js} +0 -0
- package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-58c98bc3.js → HEAD CIRCUM_BOYS.zscore.weekly-693023be.js} +0 -0
- package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-0ab91f53.js → HEAD CIRCUM_BOYS.zscore.yearly-0b0149fb.js} +0 -0
- package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-47ca419d.js → HEAD CIRCUM_GIRLS.percentile.monthly-eaa0beb9.js} +0 -0
- package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-0a80b339.js → HEAD CIRCUM_GIRLS.percentile.weekly-cadd6085.js} +0 -0
- package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-2a9af33c.js → HEAD CIRCUM_GIRLS.percentile.yearly-20f8166e.js} +0 -0
- package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-502454c8.js → HEAD CIRCUM_GIRLS.zscore.monthly-64f8bd49.js} +0 -0
- package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-81f96658.js → HEAD CIRCUM_GIRLS.zscore.weekly-28986bd6.js} +0 -0
- package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-d96c5d22.js → HEAD CIRCUM_GIRLS.zscore.yearly-e0087206.js} +0 -0
- package/build/esm/{HEIGHT_BOYS.percentile.monthly-46c82cfc.js → HEIGHT_BOYS.percentile.monthly-4116ce89.js} +0 -0
- package/build/esm/{HEIGHT_BOYS.percentile.weekly-452b6591.js → HEIGHT_BOYS.percentile.weekly-6915fa37.js} +0 -0
- package/build/esm/{HEIGHT_BOYS.percentile.yearly-b69ee2b1.js → HEIGHT_BOYS.percentile.yearly-7a762593.js} +0 -0
- package/build/esm/{HEIGHT_BOYS.zscore.monthly-9fd9d0b9.js → HEIGHT_BOYS.zscore.monthly-1c8306d5.js} +0 -0
- package/build/esm/{HEIGHT_BOYS.zscore.weekly-935edd5c.js → HEIGHT_BOYS.zscore.weekly-a35ec54b.js} +0 -0
- package/build/esm/{HEIGHT_BOYS.zscore.yearly-1feaa056.js → HEIGHT_BOYS.zscore.yearly-52fb626f.js} +0 -0
- package/build/esm/{HEIGHT_GIRLS.percentile.monthly-2954319e.js → HEIGHT_GIRLS.percentile.monthly-7b86ddbd.js} +0 -0
- package/build/esm/{HEIGHT_GIRLS.percentile.weekly-575d53c8.js → HEIGHT_GIRLS.percentile.weekly-369cdc5e.js} +0 -0
- package/build/esm/{HEIGHT_GIRLS.percentile.yearly-37b9afa9.js → HEIGHT_GIRLS.percentile.yearly-dc96d68d.js} +0 -0
- package/build/esm/{HEIGHT_GIRLS.zscore.monthly-eb51992f.js → HEIGHT_GIRLS.zscore.monthly-908e4600.js} +0 -0
- package/build/esm/{HEIGHT_GIRLS.zscore.weekly-7292924a.js → HEIGHT_GIRLS.zscore.weekly-1d4eaa9c.js} +0 -0
- package/build/esm/{HEIGHT_GIRLS.zscore.yearly-60c98917.js → HEIGHT_GIRLS.zscore.yearly-c0a53271.js} +0 -0
- package/build/esm/{Locale-69030fff.js → Locale-58f7939b.js} +0 -0
- package/build/esm/{WEIGHT_BOYS.percentile.monthly-9e94fae6.js → WEIGHT_BOYS.percentile.monthly-ba973f7f.js} +0 -0
- package/build/esm/{WEIGHT_BOYS.percentile.weekly-a43c4530.js → WEIGHT_BOYS.percentile.weekly-6d3dd4d8.js} +0 -0
- package/build/esm/{WEIGHT_BOYS.percentile.yearly-23512fa8.js → WEIGHT_BOYS.percentile.yearly-f1c0bf95.js} +0 -0
- package/build/esm/{WEIGHT_BOYS.zscore.monthly-c1471d63.js → WEIGHT_BOYS.zscore.monthly-81b747e1.js} +0 -0
- package/build/esm/{WEIGHT_BOYS.zscore.weekly-7419ed62.js → WEIGHT_BOYS.zscore.weekly-580aaa8f.js} +0 -0
- package/build/esm/{WEIGHT_BOYS.zscore.yearly-c9e3c050.js → WEIGHT_BOYS.zscore.yearly-e1512330.js} +0 -0
- package/build/esm/{WEIGHT_GIRLS.percentile.monthly-e5e8908b.js → WEIGHT_GIRLS.percentile.monthly-36039731.js} +0 -0
- package/build/esm/{WEIGHT_GIRLS.percentile.weekly-3942d908.js → WEIGHT_GIRLS.percentile.weekly-42f249fb.js} +0 -0
- package/build/esm/{WEIGHT_GIRLS.percentile.yearly-18fa4dc9.js → WEIGHT_GIRLS.percentile.yearly-e5ce6d0c.js} +0 -0
- package/build/esm/{WEIGHT_GIRLS.zscore.monthly-9d865314.js → WEIGHT_GIRLS.zscore.monthly-d2d23098.js} +0 -0
- package/build/esm/{WEIGHT_GIRLS.zscore.weekly-c824c3a7.js → WEIGHT_GIRLS.zscore.weekly-246d868f.js} +0 -0
- package/build/esm/{WEIGHT_GIRLS.zscore.yearly-0409e36d.js → WEIGHT_GIRLS.zscore.yearly-62989019.js} +0 -0
- package/build/esm/babyGrowth.js +1 -1
- 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-a0a981fa.js → constants-7ffe78e3.js} +0 -0
- package/build/esm/constants.js +1 -1
- package/build/esm/{cookieHelper-8c12973e.js → cookieHelper-dbcd1be9.js} +0 -0
- package/build/esm/core-cc1a1f04.js +1 -0
- package/build/esm/{dataTransform-28541f72.js → dataTransform-6adc887b.js} +0 -0
- package/build/esm/defaultClassWrapper-75d6af04.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-8e66f8a7.js → getDynamicHealthTool-5605ab74.js} +1 -1
- package/build/esm/{getSocialList-6e11d024.js → getSocialList-8e6d73b2.js} +1 -1
- package/build/esm/hooks.js +1 -1
- package/build/esm/i18n.js +1 -1
- package/build/esm/index-01dd6782.js +1 -0
- package/build/esm/{index-bbc3936f.js → index-02ee78ea.js} +1 -1
- package/build/esm/{index-bfb83ce8.js → index-184b37a9.js} +1 -1
- package/build/esm/{index-71a7683a.js → index-2888af2e.js} +1 -1
- package/build/esm/{index-6b0eef49.js → index-28ef619b.js} +1 -1
- package/build/esm/{index-5066858f.js → index-298d9434.js} +1 -1
- package/build/esm/{index-a0d0d5fa.js → index-29f803f4.js} +1 -1
- package/build/esm/{index-c2f532a6.js → index-3a33c616.js} +1 -1
- package/build/esm/{index-77b3fdc2.js → index-47d4f18e.js} +1 -1
- package/build/esm/index-4bbbaea5.js +1 -0
- package/build/esm/{index-d20231b7.js → index-6d3548ca.js} +1 -1
- package/build/esm/{index-d37a2be4.js → index-771ac4dc.js} +1 -1
- package/build/esm/{index-62c22dbe.js → index-a3ecf9cd.js} +1 -1
- package/build/esm/index-b0984c5a.js +1 -0
- package/build/esm/{index-20a09f62.js → index-b18a428b.js} +1 -1
- package/build/esm/{index-e675632b.js → index-b690422d.js} +1 -1
- package/build/esm/{index-a1a50ff8.js → index-bc85b916.js} +1 -1
- package/build/esm/{index-a8d73207.js → index-bedd8d7a.js} +1 -1
- package/build/esm/index-cdd06a85.js +1 -0
- package/build/esm/{index-550f04ea.js → index-eb94757b.js} +1 -1
- package/build/esm/index.css +4 -0
- package/build/esm/index.js +1 -1
- package/build/esm/{index.styled-ed780131.js → index.styled-29a569c8.js} +1 -1
- package/build/esm/{isProduction-6fc0946c.js → isProduction-8aab4a68.js} +0 -0
- package/build/esm/{lazyLoad-59e8ff6d.js → lazyLoad-226bab02.js} +0 -0
- package/build/esm/lead.js +1 -1
- package/build/esm/{localizeNumberFormat-ec8c08da.js → localizeNumberFormat-5393808f.js} +0 -0
- package/build/esm/mantine.js +1 -1
- package/build/esm/misc.js +1 -1
- package/build/esm/navigation.js +1 -1
- package/build/esm/pwg.js +1 -1
- package/build/esm/routing-1363075f.js +1 -0
- package/build/esm/{screenSizeContext-ff96a3d1.js → screenSizeContext-12fdf560.js} +1 -1
- package/build/esm/{theme-13d11d67.js → theme-6da141e6.js} +0 -0
- package/build/esm/together.js +1 -1
- package/build/esm/translationsContext-cd1382a3.js +1 -0
- package/build/esm/translationsProvider-0885356c.js +1 -0
- package/build/esm/{tslib.es6-2fa94e2c.js → tslib.es6-7aba9df9.js} +0 -0
- package/build/esm/{types-f21fa40d.js → types-c3e067a2.js} +1 -1
- package/build/esm/types-d153e1d0.js +1 -0
- package/build/esm/{types-f57c9932.js → types-ecd935b3.js} +0 -0
- package/build/esm/types.js +1 -1
- package/build/esm/{useFbDataLayer-f97c847d.js → useFbDataLayer-e048945b.js} +1 -1
- package/build/esm/useHealthToolCache-43a6405a.js +1 -0
- package/build/esm/{useOutsideClick-6004483a.js → useOutsideClick-3cfb5802.js} +0 -0
- package/build/esm/{useScrollbarSize-99db33e1.js → useScrollbarSize-d96ee799.js} +0 -0
- package/build/esm/{useTranslations-b3eb31ef.js → useTranslations-4993ce33.js} +1 -1
- package/build/esm/{utils-40d4438f.js → utils-3cf7f71d.js} +0 -0
- package/build/footer.js +1 -1
- package/build/gAssets.js +1 -1
- package/build/{getDynamicHealthTool-5794ef69.js → getDynamicHealthTool-ee83c3d9.js} +1 -1
- package/build/{getSocialList-7fd6363b.js → getSocialList-707de645.js} +1 -1
- package/build/hooks.js +1 -1
- package/build/i18n.js +1 -1
- package/build/{index-ad7a9909.js → index-1662325d.js} +1 -1
- package/build/{index-cbc786e1.js → index-1959828b.js} +1 -1
- package/build/{index-4f2fe9a1.js → index-1dbe00f4.js} +1 -1
- package/build/{index-10ede9ab.js → index-2024afb0.js} +1 -1
- package/build/{index-76dc603c.js → index-26c449d3.js} +1 -1
- package/build/{index-8ddc0bb9.js → index-3548be0c.js} +1 -1
- package/build/index-66d94ff5.js +1 -0
- package/build/{index-6193a08c.js → index-6b1ac1e5.js} +1 -1
- package/build/{index-9b944f11.js → index-89ad1d43.js} +1 -1
- package/build/index-9e1ec923.js +1 -0
- package/build/{index-186b627d.js → index-b040a44b.js} +1 -1
- package/build/{index-57503957.js → index-b4b5b785.js} +1 -1
- package/build/{index-2657dba3.js → index-b9c78870.js} +1 -1
- package/build/{index-d632029d.js → index-bdeadfd9.js} +1 -1
- package/build/{index-f13a976e.js → index-d0beee16.js} +1 -1
- package/build/{index-9f3366ff.js → index-d5556aa5.js} +1 -1
- package/build/{index-7d3b086d.js → index-eb7ca7e3.js} +1 -1
- package/build/{index-b63d6868.js → index-f72bbc7b.js} +1 -1
- package/build/index-f9ffec91.js +1 -0
- package/build/{index-5830eec7.js → index-fcc1501b.js} +1 -1
- package/build/index.css +4 -0
- package/build/index.js +1 -1
- package/build/{index.styled-5df734b4.js → index.styled-a65bf1c0.js} +1 -1
- package/build/interfaces/types/BabyGrowth.d.ts +32 -8
- package/build/{isProduction-32e6a55a.js → isProduction-bd5bb82a.js} +0 -0
- package/build/{lazyLoad-f5c59bb0.js → lazyLoad-0bebf350.js} +0 -0
- package/build/lead.js +1 -1
- package/build/{localizeNumberFormat-155e5aec.js → localizeNumberFormat-d556e726.js} +0 -0
- package/build/mantine.js +1 -1
- package/build/misc.js +1 -1
- package/build/navigation.js +1 -1
- package/build/pwg.js +1 -1
- package/build/routing-5e3fc22d.js +1 -0
- package/build/{screenSizeContext-00584173.js → screenSizeContext-1f66207a.js} +1 -1
- package/build/{theme-b4bf0ca3.js → theme-b257f481.js} +0 -0
- package/build/theme.scss +217 -0
- package/build/together/components/atoms/cardReactions/index.styled.d.ts +1 -1
- package/build/together.js +1 -1
- package/build/translationsContext-bc41b1f2.js +1 -0
- package/build/translationsProvider-98d6d5ef.js +1 -0
- package/build/{tslib.es6-e6f346c4.js → tslib.es6-e913d68b.js} +0 -0
- package/build/types-0d21d7a1.js +1 -0
- package/build/{types-2b3bdf79.js → types-43608c11.js} +0 -0
- package/build/{types-3b6a052c.js → types-b897af96.js} +1 -1
- package/build/types.js +1 -1
- package/build/{useFbDataLayer-dbcf5c0c.js → useFbDataLayer-b7f5d15e.js} +1 -1
- package/build/{useHealthToolCache-99b7a2a8.js → useHealthToolCache-c36f4709.js} +1 -1
- package/build/{useOutsideClick-528bfd6c.js → useOutsideClick-b0f3338f.js} +0 -0
- package/build/{useScrollbarSize-586f6706.js → useScrollbarSize-744cf777.js} +0 -0
- package/build/useTranslations-ba97f77e.js +1 -0
- package/build/{utils-43f2c752.js → utils-19642742.js} +0 -0
- package/package.json +30 -9
- package/build/components/atoms/heading/index.styled.d.ts +0 -7
- package/build/components/atoms/text/index.styled.d.ts +0 -1
- package/build/components/organisms/footer/discoverFooter/index.styled.d.ts +0 -2
- package/build/components/organisms/footer/maryBabyFooter/index.styled.d.ts +0 -7
- package/build/esm/core-8c1d445f.js +0 -1
- package/build/esm/defaultClassWrapper-27a74473.js +0 -1
- package/build/esm/index-06b0427f.js +0 -1
- package/build/esm/index-a0e2043c.js +0 -1
- package/build/esm/index-aca74507.js +0 -1
- package/build/esm/index-f6682634.js +0 -1
- package/build/esm/routing-f5958830.js +0 -1
- package/build/esm/translationsContext-e7808c8f.js +0 -1
- package/build/esm/translationsProvider-c27099c7.js +0 -1
- package/build/esm/types-6900037f.js +0 -1
- package/build/esm/useHealthToolCache-cfd4900b.js +0 -1
- package/build/index-4338f5f7.js +0 -1
- package/build/index-bcf92e8b.js +0 -1
- package/build/index-f50d4c63.js +0 -1
- package/build/routing-99cb7fb3.js +0 -1
- package/build/translationsContext-9e231a88.js +0 -1
- package/build/translationsProvider-e8f5d92d.js +0 -1
- package/build/types-78c6144e.js +0 -1
- package/build/useTranslations-00120db0.js +0 -1
package/build/types.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./Locale-
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./Locale-776bc4e9.js");Object.defineProperty(exports,"BabyGrowthChartDuration",{enumerable:!0,get:function(){return e.BabyGrowthChartDuration}}),Object.defineProperty(exports,"BabyGrowthChartType",{enumerable:!0,get:function(){return e.BabyGrowthChartType}}),Object.defineProperty(exports,"BabyGrowthResultTab",{enumerable:!0,get:function(){return e.BabyGrowthResultTab}}),Object.defineProperty(exports,"Gender",{enumerable:!0,get:function(){return e.Gender}}),Object.defineProperty(exports,"LOCALE",{enumerable:!0,get:function(){return e.LOCALE}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("./tslib.es6-
|
|
1
|
+
"use strict";var e=require("./tslib.es6-e913d68b.js"),t=require("react"),n=require("./cookieHelper-4ff03ad5.js");function r(e){var t=(new TextEncoder).encode(e.trim().toLowerCase());return crypto.subtle.digest("SHA-256",t).then((function(e){return Array.from(new Uint8Array(e)).map((function(e){return e.toString(16).padStart(2,"0")})).join("")}))}exports.useFbDataLayer=function(i){t.useEffect((function(){return(null==i?void 0:i.id)&&e.__awaiter(void 0,void 0,void 0,(function(){var t,a,o,u,c,l,s,d,f,p,g,_;return e.__generator(this,(function(e){switch(e.label){case 0:return[4,fetch("https://api.ipify.org").then((function(e){return e.text()}))];case 1:return(t=e.sent())?[3,3]:[4,fetch("https://icanhazip.com").then((function(e){return e.text()}))];case 2:t=e.sent(),e.label=3;case 3:return[4,Promise.all([i.email?r(i.email):null,i.phone?r(i.phone):null,i.birthday?i.birthday.split("-").join(""):null,i.gender?"m":"f",i.city_name?r(i.city_name).then((function(e){return e.replace(/\s/g,"")})):null,i.name?r(i.name):null])];case 4:return a=e.sent(),o=a[0],u=a[1],c=a[2],l=a[3],s=a[4],d=a[5],f={fbc:n.getCookie("_fbc")||"",fbp:n.getCookie("_fbp")||"",client_ip_address:(null==t?void 0:t.replace("\n",""))||"",client_user_agent:navigator.userAgent||""},p={user_id:i.id,client_ip_address:(null==t?void 0:t.replace("\n",""))||"",client_user_agent:navigator.userAgent||""},d&&(p.fn=d),o&&(f.em=o,p.em=o),u&&(f.ph=u,p.ph=u),c&&(f.db=c,p.db=c),l&&(f.ge=l,p.ge=l),s&&(f.ct=s,p.ct=s),null===(_=null===(g=window.localStorage)||void 0===g?void 0:g.setItem)||void 0===_||_.call(g,"fbDataLayer_userInfo",JSON.stringify(p)),[2]}}))})),function(){}}),[i])};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("./tslib.es6-
|
|
1
|
+
"use strict";var e=require("./tslib.es6-e913d68b.js"),t=require("react"),r=require("./getDynamicHealthTool-ee83c3d9.js");exports.useHealthToolsCache=function(a){var i=t.useState([]),n=i[0],o=i[1];t.useEffect((function(){e.__awaiter(void 0,void 0,void 0,(function(){var t;return e.__generator(this,(function(e){switch(e.label){case 0:return[4,r.getDynamicHealthToolWithCache(a)];case 1:return t=e.sent(),o(t),[2]}}))}))}),[r.getDynamicHealthToolWithCache,a]);var l=t.useCallback((function(e){var t;return(null===(t=n.find((function(t){return t.template===e})))||void 0===t?void 0:t.link)||""}),[n]);return{allTools:n,getHealthToolLink:l}};
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var e=require("react"),t=require("./translationsContext-bc41b1f2.js");function n(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var a=n(require("string-format"));exports.useTranslations=function(){var n=e.useContext(t.TranslationsContext)||{locale:"en-PH"},r=n.values,o=n.locale;return e.useMemo((function(){return{t:function(e,n){return r?r[e]?n?a.default(r[e]||e,n):r[e]||e:(console.warn("[useTranslations] Missing translation for key ".concat(e," and locale ").concat(o)),n?a.default(t.defaultTranslations[e]||e,n):t.defaultTranslations[e]||e):(console.error("[useTranslations] t method called before translation values are loaded"),e)},locale:o}}),[r,o])};
|
|
File without changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hhgtech/hhg-components",
|
|
3
|
-
"version": "1.22.
|
|
3
|
+
"version": "1.22.25-beta-1",
|
|
4
4
|
"main": "build/index.js",
|
|
5
5
|
"module": "build/esm/index.js",
|
|
6
6
|
"files": [
|
|
@@ -88,14 +88,17 @@
|
|
|
88
88
|
"@rollup/plugin-image": "^2.1.1",
|
|
89
89
|
"@rollup/plugin-json": "^4.1.0",
|
|
90
90
|
"@rollup/plugin-node-resolve": "^11.0.0",
|
|
91
|
-
"@storybook/addon-actions": "^6.
|
|
92
|
-
"@storybook/addon-docs": "6.
|
|
93
|
-
"@storybook/addon-essentials": "^6.
|
|
94
|
-
"@storybook/addon-links": "^6.
|
|
95
|
-
"@storybook/addon-viewport": "^6.
|
|
96
|
-
"@storybook/
|
|
97
|
-
"@storybook/
|
|
91
|
+
"@storybook/addon-actions": "^6.5.16",
|
|
92
|
+
"@storybook/addon-docs": "6.5.16",
|
|
93
|
+
"@storybook/addon-essentials": "^6.5.16",
|
|
94
|
+
"@storybook/addon-links": "^6.5.16",
|
|
95
|
+
"@storybook/addon-viewport": "^6.5.16",
|
|
96
|
+
"@storybook/builder-webpack5": "^6.5.16",
|
|
97
|
+
"@storybook/manager-webpack5": "^6.5.16",
|
|
98
|
+
"@storybook/react": "^6.5.16",
|
|
99
|
+
"@storybook/storybook-deployer": "^2.8.16",
|
|
98
100
|
"@svgr/rollup": "5.5.0",
|
|
101
|
+
"@testing-library/dom": "^8.20.0",
|
|
99
102
|
"@testing-library/jest-dom": "^5.11.6",
|
|
100
103
|
"@testing-library/react": "^11.2.2",
|
|
101
104
|
"@testing-library/user-event": "^14.1.1",
|
|
@@ -108,10 +111,12 @@
|
|
|
108
111
|
"@types/styled-components": "5.1.9",
|
|
109
112
|
"@typescript-eslint/eslint-plugin": "^4.11.0",
|
|
110
113
|
"@typescript-eslint/parser": "^4.11.0",
|
|
114
|
+
"autoprefixer": "^10.4.13",
|
|
111
115
|
"axios": "^1.3.2",
|
|
112
116
|
"babel-loader": "^8.2.2",
|
|
113
117
|
"babel-preset-react-app": "^10.0.0",
|
|
114
118
|
"chalk": "^4.1.2",
|
|
119
|
+
"cssnano": "^5.1.15",
|
|
115
120
|
"cz-conventional-changelog": "^3.3.0",
|
|
116
121
|
"date-fns": "^2.16.1",
|
|
117
122
|
"eslint": "^7.16.0",
|
|
@@ -119,6 +124,7 @@
|
|
|
119
124
|
"eslint-plugin-import": "^2.22.1",
|
|
120
125
|
"eslint-plugin-prettier": "^3.1.4",
|
|
121
126
|
"eslint-plugin-react": "^7.21.5",
|
|
127
|
+
"eslint-plugin-storybook": "^0.6.10",
|
|
122
128
|
"fetch-mock": "^9.11.0",
|
|
123
129
|
"figlet": "^1.5.0",
|
|
124
130
|
"html-react-parser": "^1.2.7",
|
|
@@ -131,6 +137,7 @@
|
|
|
131
137
|
"ora": "^6.1.2",
|
|
132
138
|
"plop": "^3.1.1",
|
|
133
139
|
"postcss": "^8.4.14",
|
|
140
|
+
"postcss-import": "^15.1.0",
|
|
134
141
|
"prettier": "^2.6.2",
|
|
135
142
|
"pretty-quick": "^3.1.0",
|
|
136
143
|
"react": "^17.0.1",
|
|
@@ -142,9 +149,11 @@
|
|
|
142
149
|
"rollup": "^2.34.2",
|
|
143
150
|
"rollup-plugin-copy": "^3.3.0",
|
|
144
151
|
"rollup-plugin-peer-deps-external": "^2.2.4",
|
|
145
|
-
"rollup-plugin-postcss": "^4.0.
|
|
152
|
+
"rollup-plugin-postcss": "^4.0.2",
|
|
146
153
|
"rollup-plugin-terser": "^7.0.2",
|
|
147
154
|
"rollup-plugin-typescript2": "^0.29.0",
|
|
155
|
+
"sass": "^1.58.1",
|
|
156
|
+
"sass-loader": "^13.2.0",
|
|
148
157
|
"styled-components": "5.3.6",
|
|
149
158
|
"stylelint": "^13.7.2",
|
|
150
159
|
"stylelint-config-idiomatic-order": "^8.1.0",
|
|
@@ -154,6 +163,7 @@
|
|
|
154
163
|
"ts-jest": "^26.4.4",
|
|
155
164
|
"tslib": "^2.3.1",
|
|
156
165
|
"typescript": "^4.4.3",
|
|
166
|
+
"webpack": "^5.75.0",
|
|
157
167
|
"xlsx": "^0.18.5"
|
|
158
168
|
},
|
|
159
169
|
"dependencies": {
|
|
@@ -167,6 +177,7 @@
|
|
|
167
177
|
"@mantine/next": "^5.8.4",
|
|
168
178
|
"browser-image-compression": "^2.0.0",
|
|
169
179
|
"dayjs": "1.11.6",
|
|
180
|
+
"embla-carousel": "^7.0.9",
|
|
170
181
|
"embla-carousel-react": "7.0.5",
|
|
171
182
|
"embla-carousel-wheel-gestures": "^3.0.0",
|
|
172
183
|
"innertext": "^1.0.3",
|
|
@@ -232,6 +243,13 @@
|
|
|
232
243
|
"import": "./build/esm/index.js",
|
|
233
244
|
"require": "./build/index.js"
|
|
234
245
|
},
|
|
246
|
+
"./style.css": {
|
|
247
|
+
"import": "./build/esm/index.css",
|
|
248
|
+
"require": "./build/index.css"
|
|
249
|
+
},
|
|
250
|
+
"./theme.scss": {
|
|
251
|
+
"sass": "./build/theme.scss"
|
|
252
|
+
},
|
|
235
253
|
"./*": {
|
|
236
254
|
"import": "./build/esm/*.js",
|
|
237
255
|
"require": "./build/*.js"
|
|
@@ -241,5 +259,8 @@
|
|
|
241
259
|
"commitizen": {
|
|
242
260
|
"path": "./node_modules/cz-conventional-changelog"
|
|
243
261
|
}
|
|
262
|
+
},
|
|
263
|
+
"resolutions": {
|
|
264
|
+
"@storybook/react/webpack": "^5"
|
|
244
265
|
}
|
|
245
266
|
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const StyledText: import("styled-components").StyledComponent<"p", any, {}, never>;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
export declare const StyledFooterContainer: import("styled-components").StyledComponent<"footer", any, {}, never>;
|
|
2
|
-
export declare const StyledMenuContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
3
|
-
export declare const StyledWrapMenuItem: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
4
|
-
export declare const StyledWrapItems: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
5
|
-
export declare const StyledWrapInfo: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
6
|
-
export declare const StyledWrapCopyRight: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
7
|
-
export declare const StyledContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{d as t,e}from"./tslib.es6-2fa94e2c.js";import{i as a}from"./isProduction-6fc0946c.js";var n={},i=function(t){if("undefined"!=typeof window){var e=void 0;try{e=JSON.parse(localStorage.getItem((a?"":"staging_")+"hhg-cache-"+t)||"{}")}catch(t){}return e||{}}return n[t]},r=function(t,e){try{"undefined"!=typeof window?localStorage.setItem((a?"":"staging_")+"hhg-cache-"+t,JSON.stringify({data:e,time:Date.now()})):n[t]={data:e,time:Date.now()}}catch(t){}},o=function(a,n,o,c){return void 0===c&&(c=9e5),t(void 0,void 0,void 0,(function(){var t,s;return e(this,(function(e){switch(e.label){case 0:return(t=i(a))&&t.data&&t.time&&Date.now()-t.time<c?[2,t.data]:[3,1];case 1:return n?[4,n()]:[3,3];case 2:return s=e.sent(),o&&!o(s)||r(a,s),[2,s];case 3:return[2,null]}}))}))};export{i as a,o as g,r as s};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{c as a,_ as e}from"./tslib.es6-2fa94e2c.js";import r,{forwardRef as c}from"react";var t=function(t,s){return c((function(c,n){var o=c.className,m=a(c,["className"]);return r.createElement(t,e({ref:n,className:"".concat(s," ").concat(o||"")},m))}))};export{t as g};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{_ as e,c as a}from"./tslib.es6-2fa94e2c.js";import t,{useState as r,useEffect as n,forwardRef as o}from"react";import{createEmotionCache as i,FileInput as s,NumberInput as m,PasswordInput as l,TextInput as Y}from"@mantine/core";import{useDebouncedValue as u}from"@mantine/hooks";import{L as c}from"./Locale-69030fff.js";import{CommonGAssets as p}from"./gAssets.js";var d,g=300,f=i({key:"mantine",prepend:!1}),M=((d={})[c.Vietnam]={dateFormat:"DD/MM/YYYY",separator:","},d[c.Cambodia]={dateFormat:"DD/MM/YYYY",separator:"."},d[c.India]={dateFormat:"DD/MM/YYYY",separator:"."},d[c.Indonesia]={dateFormat:"DD/MM/YYYY",separator:","},d[c.Malaysia]={dateFormat:"DD/MM/YYYY",separator:"."},d[c.Thailand]={dateFormat:"DD/MM/YYYY",separator:"."},d[c.Taiwan]={dateFormat:"YYYY/MM/DD",separator:","},d[c.PhilippinesTagalog]={dateFormat:"MM/DD/YYYY",separator:"."},d[c.PhilippinesEnglish]={dateFormat:"MM/DD/YYYY",separator:"."},d[c.Myanmar]={dateFormat:"DD/MM/YYYY",separator:","},d),v=p.getAssetPath("EyeVisible.svg"),D=p.getAssetPath("EyeHidden.svg"),h=o((function(r,n){var o=r.size,i=void 0===o?"md":o,s=r.visibilityToggleIcon,m=r.styles,Y=a(r,["size","visibilityToggleIcon","styles"]),u=s||function(e){var a=e.reveal,r=e.size;return a?t.createElement("img",{src:v,width:r}):t.createElement("img",{src:D,width:r})};return t.createElement(l,e({ref:n,size:i,visibilityToggleIcon:u,styles:e({rightSection:{pointerEvents:"initial"}},m)},Y))})),y=function(o){var i=o.value,s=o.onChange,m=a(o,["value","onChange"]),l=r(i||""),c=l[0],p=l[1],d=u(c,300)[0];return n((function(){null==s||s(d)}),[d]),n((function(){p(i)}),[i]),t.createElement(Y,e({size:"md",onChange:function(e){return p(e.currentTarget.value)},value:c},m))};y.File=function(a){return t.createElement(s,e({size:"md"},a))},y.Password=h,y.Number=function(o){var i=o.value,s=o.onChange,l=a(o,["value","onChange"]),Y=r(i||0),c=Y[0],p=Y[1],d=u(c,300)[0];return n((function(){null==s||s(d)}),[d]),n((function(){p(i)}),[i]),t.createElement(m,e({size:"md",stepHoldDelay:500,stepHoldInterval:function(e){return Math.max(1e3/Math.pow(e,2),25)},onChange:p,hideControls:!0,min:0,formatter:function(e){return 0===Number(e)?"":e||""},removeTrailingZeros:!0,value:c},l))};export{g as D,y as I,M as a,f as e};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{b as n,c as e,_ as t}from"./tslib.es6-2fa94e2c.js";import a from"react";import{t as i}from"./theme-13d11d67.js";import{M as p}from"./utils-40d4438f.js";import o from"styled-components";var s,l="\n &[data-size='lg'], &[data-size='md'] {\n font-size: 16px;\n line-height: 28px;\n ".concat(p.tdUp," {\n font-size: 18px;\n line-height: 32px;\n letter-spacing: -0.2px;\n }\n }\n &[data-size='base'] {\n font-size: 16px;\n line-height: 24px;\n ").concat(p.tdUp," {\n font-size: 16px;\n line-height: 24px;\n }\n }\n &[data-size='sm'] {\n font-size: 14px;\n line-height: 22px;\n letter-spacing: -0.2px;\n ").concat(p.tdUp," {\n font-size: 16px;\n line-height: 24px;\n }\n }\n &[data-size='p4'],\n &[data-size='xs'] {\n font-size: 12px;\n line-height: 18px;\n ").concat(p.tdUp," {\n font-size: 14px;\n line-height: 24px;\n }\n }\n &[data-size='s1'] {\n font-size: 18px;\n line-height: 28px;\n letter-spacing: -0.6px;\n ").concat(p.tdUp," {\n font-size: 22px;\n line-height: 32px;\n letter-spacing: -0.6px;\n }\n }\n &[data-size='s2'] {\n font-size: 16px;\n line-height: 24px;\n letter-spacing: -0.2px;\n ").concat(p.tdUp," {\n font-size: 18px;\n line-height: 28px;\n letter-spacing: -0.2px;\n }\n }\n &[data-size='s3'] {\n font-size: 14px;\n line-height: 22px;\n ").concat(p.tdUp," {\n font-size: 16px;\n line-height: 24px;\n }\n }\n &[data-size='s4'] {\n font-size: 12px;\n line-height: 18px;\n ").concat(p.tdUp," {\n font-size: 14px;\n line-height: 22px;\n }\n }\n &[data-size='s5'] {\n font-size: 10px;\n line-height: 16px;\n ").concat(p.tdUp," {\n font-size: 12px;\n line-height: 18px;\n }\n }\n &[data-size='p1'] {\n font-size: 18px;\n line-height: 28px;\n ").concat(p.tdUp," {\n font-size: 18px;\n line-height: 28px;\n letter-spacing: -0.2px;\n }\n }\n &[data-size='p2'] {\n font-size: 16px;\n line-height: 24px;\n ").concat(p.tdUp," {\n font-size: 16px;\n line-height: 26px;\n }\n }\n &[data-size='p3'] {\n font-size: 14px;\n line-height: 18px;\n ").concat(p.tdUp," {\n font-size: 14px;\n line-height: 24px;\n }\n }\n &[data-size='c1'] {\n font-size: 14px;\n line-height: 24px;\n ").concat(p.tdUp," {\n font-size: 16px;\n line-height: 26px;\n }\n }\n &[data-size='c2'] {\n font-size: 12px;\n line-height: 18px;\n ").concat(p.tdUp," {\n font-size: 14px;\n line-height: 24px;\n }\n }\n &[data-size='n1'] {\n font-size: 12px;\n line-height: 18px;\n ").concat(p.tdUp," {\n font-size: 12px;\n line-height: 18px;\n }\n }\n &[data-size='label1'] {\n font-size: 14px;\n line-height: 22px;\n }\n &[data-size='label2'] {\n font-size: 12px;\n line-height: 18px;\n }\n"),r="\n font-weight: ".concat(i.sizes.fwRegular,";\n &[data-type='bold'], &[data-type='caption'] {\n font-weight: ").concat(i.sizes.fwBold,";\n }\n &[data-type='semiBold'] {\n font-weight: ").concat(i.sizes.fwSemiBold,";\n }\n"),c=o.p(s||(s=n(["\n --text-color: var(--custom-color, ",");\n\n color: var(--text-color);\n letter-spacing: 0px;\n ","\n ","\n ","\n"],["\n --text-color: var(--custom-color, ",");\n\n color: var(--text-color);\n letter-spacing: 0px;\n ","\n ","\n ","\n"])),i.defaultColor||i.colors.gray800,l,r,"\n &[data-word-wrap='break-all'] {\n word-break: break-all;\n }\n &[data-word-wrap='break-word'] {\n word-break: break-word;\n }\n &[data-is-uppercase], &[data-type='caption'] {\n text-transform: uppercase;\n }\n"),d=function(n){var i=n.size,p=void 0===i?"base":i,o=n.type,s=void 0===o?"regular":o,l=n.title,r=n.className,d=n.style,x=n.children,h=n.color,z=n.dataEventCategory,g=n.dataEventAction,f=n.dataEventLabel,m=n.as,w=n.wordWrap,y=n.isUppercase,v=n.dangerouslySetInnerHTML,U=e(n,["size","type","title","className","style","children","color","dataEventCategory","dataEventAction","dataEventLabel","as","wordWrap","isUppercase","dangerouslySetInnerHTML"]),b={"--custom-color":h};return a.createElement(c,t({title:l,"data-size":p,"data-type":s,style:t(t({},d),b),className:r,"data-event-category":z,"data-event-action":g,"data-event-label":f,"data-word-wrap":w,"data-is-uppercase":y,as:m,dangerouslySetInnerHTML:v},U),x)};export{d as T};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{b as n,c as t,_ as e}from"./tslib.es6-2fa94e2c.js";import a from"styled-components";import i from"react";import{t as r}from"./theme-13d11d67.js";import{M as o}from"./utils-40d4438f.js";var d,h,s=a.div(d||(d=n(["\n background-color: var(--background-color, transparent);\n color: white;\n cursor: pointer;\n img {\n --width: var(--width-prop, 40px);\n --height: var(--height-prop, 40px);\n width: var(--width);\n height: var(--height);\n }\n &[data-has-max='true'] {\n img {\n max-width: var(--width);\n max-height: var(--height);\n }\n }\n\n &[data-avatar-type='square'] {\n img {\n --width: var(--width-prop, 72px);\n --height: var(--height-prop, 72px);\n border-radius: 6px;\n }\n }\n\n &[data-avatar-type='rounded'] {\n img {\n border-radius: 50%;\n }\n }\n\n &[data-is-amp='true'] {\n display: flex;\n overflow: hidden;\n overflow: hidden;\n width: 40px;\n height: 40px;\n align-items: center;\n justify-content: center;\n background-size: cover;\n font-size: 20px;\n font-weight: bold;\n &[data-avatar-type='square'] {\n border-radius: 6px;\n }\n &[data-avatar-type='rounded'] {\n border-radius: 50%;\n img {\n --width: 100%;\n --height: 100%;\n }\n }\n img {\n object-fit: cover;\n }\n }\n\n &[data-custom-size='true'] {\n display: flex;\n overflow: hidden;\n overflow: hidden;\n width: var(--size);\n height: var(--size);\n align-items: center;\n justify-content: center;\n background-size: cover;\n font-size: calc(var(--size) / 2);\n font-weight: bold;\n &[data-avatar-type='square'] {\n border-radius: 6px;\n }\n &[data-avatar-type='rounded'] {\n border-radius: 50%;\n img {\n --width: 100%;\n --height: 100%;\n }\n }\n img {\n object-fit: cover;\n }\n }\n"],["\n background-color: var(--background-color, transparent);\n color: white;\n cursor: pointer;\n img {\n --width: var(--width-prop, 40px);\n --height: var(--height-prop, 40px);\n width: var(--width);\n height: var(--height);\n }\n &[data-has-max='true'] {\n img {\n max-width: var(--width);\n max-height: var(--height);\n }\n }\n\n &[data-avatar-type='square'] {\n img {\n --width: var(--width-prop, 72px);\n --height: var(--height-prop, 72px);\n border-radius: 6px;\n }\n }\n\n &[data-avatar-type='rounded'] {\n img {\n border-radius: 50%;\n }\n }\n\n &[data-is-amp='true'] {\n display: flex;\n overflow: hidden;\n overflow: hidden;\n width: 40px;\n height: 40px;\n align-items: center;\n justify-content: center;\n background-size: cover;\n font-size: 20px;\n font-weight: bold;\n &[data-avatar-type='square'] {\n border-radius: 6px;\n }\n &[data-avatar-type='rounded'] {\n border-radius: 50%;\n img {\n --width: 100%;\n --height: 100%;\n }\n }\n img {\n object-fit: cover;\n }\n }\n\n &[data-custom-size='true'] {\n display: flex;\n overflow: hidden;\n overflow: hidden;\n width: var(--size);\n height: var(--size);\n align-items: center;\n justify-content: center;\n background-size: cover;\n font-size: calc(var(--size) / 2);\n font-weight: bold;\n &[data-avatar-type='square'] {\n border-radius: 6px;\n }\n &[data-avatar-type='rounded'] {\n border-radius: 50%;\n img {\n --width: 100%;\n --height: 100%;\n }\n }\n img {\n object-fit: cover;\n }\n }\n"]))),p=a.div(h||(h=n(["\n color: ",";\n ","\n ","\n\n /* Base headings sizes and properties */\n &[data-tag] {\n color: var(--custom-heading-color, #262626);\n }\n"],["\n color: ",";\n ","\n ","\n\n /* Base headings sizes and properties */\n &[data-tag] {\n color: var(--custom-heading-color, #262626);\n }\n"])),(function(n){return n.theme.colors.gray800}),(function(n){return function(n){switch(n){case"h1":return"\n font-size: 26px;\n letter-spacing: -0.9px;\n line-height: 34px;\n ".concat(o.tdUp," {\n font-size: 40px;\n line-height: 52px;\n letter-spacing: -1.2px;\n }\n ");case"h2":return"\n font-size: 24px;\n letter-spacing: -0.8px;\n line-height: 32px;\n ".concat(o.tdUp," {\n font-size: 32px;\n line-height: 42px;\n letter-spacing: -1px;\n }\n ");case"h3":return"\n font-size: 20px;\n letter-spacing: -0.7px;\n line-height: 26px;\n ".concat(o.tdUp," {\n font-size: 26px;\n line-height: 36px;\n letter-spacing: -0.8px;\n }\n ");case"h4":return"\n font-size: 18px;\n letter-spacing: -0.6px;\n line-height: 26px;\n ".concat(o.tdUp," {\n font-size: 22px;\n line-height: 32px;\n letter-spacing: -0.6px;\n }\n ");case"h5":return"\n font-size: 16px;\n letter-spacing: -0.2px;\n line-height: 24px;\n ".concat(o.tdUp," {\n font-size: 18px;\n line-height: 28px;\n letter-spacing: -0.2px;\n }\n ");case"h6":return"\n font-size: 14px;\n line-height: 22px;\n ".concat(o.tdUp," {\n font-size: 16px;\n line-height: 24px;\n letter-spacing: 0;\n }\n ")}}(n.headingTag)}),(function(n){return function(n){switch(n){case"bold":return"\n font-weight: ".concat(r.sizes.fwBold,";\n ");case"semibold":return"\n font-weight: ".concat(r.sizes.fwSemiBold,";\n ");default:return"\n font-weight: ".concat(r.sizes.fwBold,";\n ")}}(n.headingFontWeight)})),c=function(n){var a,r=n.as,o=n.tag,d=n.className,h=n.children,s=n.title,c=n.color,g=n.style,l=n.fontWeight,u=n.dataEventCategory,v=n.dataEventAction,x=n.dataEventLabel,f=t(n,["as","tag","className","children","title","color","style","fontWeight","dataEventCategory","dataEventAction","dataEventLabel"]),m=r||o;return i.createElement(p,e({title:s,style:e(e({},c?(a={},a["--custom-heading-color"]=c,a):void 0),g),"data-tag":o,"data-font-weight":l||void 0,"data-event-category":u,"data-event-action":v,"data-event-label":x,as:m,className:d,headingFontWeight:l,headingTag:o},f),h)};export{c as H,s as S};
|