@zenpatient-org/healthspan-marketing-ui 0.1.20 → 0.1.22
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/README.md +18 -16
- package/dist/_virtual/Popover.cjs.js +1 -0
- package/dist/_virtual/Popover.es.js +5 -0
- package/dist/_virtual/Popover.es2.js +4 -0
- package/dist/_virtual/{jsx-runtime.cjs2.js → PopoverPortal.cjs.js} +1 -1
- package/dist/_virtual/PopoverPortal.es.js +4 -0
- package/dist/_virtual/useArrowContainer.cjs.js +1 -0
- package/dist/_virtual/useArrowContainer.es.js +4 -0
- package/dist/_virtual/useElementRef.cjs.js +1 -0
- package/dist/_virtual/useHandlePrevValues.cjs.js +1 -0
- package/dist/_virtual/useHandlePrevValues.es.js +4 -0
- package/dist/_virtual/useMemoizedArray.cjs.js +1 -0
- package/dist/_virtual/useMemoizedArray.es.js +4 -0
- package/dist/_virtual/usePopover.cjs.js +1 -0
- package/dist/_virtual/usePopover.es.js +4 -0
- package/dist/_virtual/util.cjs.js +1 -0
- package/dist/_virtual/util.es.js +4 -0
- package/dist/components/Benefit/Benefit.cjs.js +1 -0
- package/dist/components/Benefit/Benefit.es.js +13 -0
- package/dist/components/Benefit/benefit.module.css.cjs.js +1 -0
- package/dist/components/Benefit/benefit.module.css.es.js +9 -0
- package/dist/components/Button/Button.cjs.js +1 -1
- package/dist/components/Button/Button.es.js +13 -13
- package/dist/components/Callback/Callback.cjs.js +1 -1
- package/dist/components/Callback/Callback.es.js +34 -35
- package/dist/components/ComplexTooltip/ComplexTooltip.cjs.js +1 -0
- package/dist/components/ComplexTooltip/ComplexTooltip.d.ts +5 -13
- package/dist/components/ComplexTooltip/ComplexTooltip.es.js +60 -0
- package/dist/components/ComplexTooltip/components/ComplexTooltipContent/ComplexTooltipContent.cjs.js +1 -0
- package/dist/components/ComplexTooltip/components/ComplexTooltipContent/ComplexTooltipContent.d.ts +10 -0
- package/dist/components/ComplexTooltip/components/ComplexTooltipContent/ComplexTooltipContent.es.js +50 -0
- package/dist/components/ComplexTooltip/components/ComplexTooltipContent/complexTooltipContent.module.css.cjs.js +1 -0
- package/dist/components/ComplexTooltip/components/ComplexTooltipContent/complexTooltipContent.module.css.es.js +15 -0
- package/dist/components/ComplexTooltip/components/ComplexTooltipContent/index.d.ts +1 -0
- package/dist/components/ComplexTooltip/index.d.ts +1 -0
- package/dist/components/ComplexTooltip/types.d.ts +13 -0
- package/dist/components/ContentTabs/ContentTabs.cjs.js +1 -1
- package/dist/components/ContentTabs/ContentTabs.es.js +19 -19
- package/dist/components/Cursor/Cursor.cjs.js +1 -0
- package/dist/components/Cursor/Cursor.es.js +9 -0
- package/dist/components/Cursor/components/ClientCursor.cjs.js +1 -0
- package/dist/components/Cursor/components/ClientCursor.es.js +42 -0
- package/dist/components/Cursor/components/ServerCursor.cjs.js +1 -0
- package/dist/components/Cursor/components/ServerCursor.es.js +4 -0
- package/dist/components/Cursor/cursor.module.css.cjs.js +1 -0
- package/dist/components/Cursor/cursor.module.css.es.js +11 -0
- package/dist/components/FilterMenu/FilterMenu.cjs.js +1 -1
- package/dist/components/FilterMenu/FilterMenu.es.js +18 -17
- package/dist/components/HighlightedTitle/HighlightedTitle.cjs.js +1 -1
- package/dist/components/HighlightedTitle/HighlightedTitle.d.ts +1 -1
- package/dist/components/HighlightedTitle/HighlightedTitle.es.js +22 -33
- package/dist/components/Icon/Icon.cjs.js +1 -1
- package/dist/components/Icon/Icon.es.js +7 -16
- package/dist/components/Icon/iconsMap.cjs.js +1 -0
- package/dist/components/Icon/iconsMap.d.ts +4 -0
- package/dist/components/Icon/iconsMap.es.js +110 -0
- package/dist/components/IconButton/IconButton.cjs.js +1 -1
- package/dist/components/IconButton/IconButton.es.js +12 -13
- package/dist/components/InfiniteScroll/InfiniteScroll.cjs.js +1 -1
- package/dist/components/InfiniteScroll/InfiniteScroll.es.js +34 -33
- package/dist/components/Label/Label.cjs.js +1 -1
- package/dist/components/Label/Label.es.js +8 -8
- package/dist/components/ProductGallery/ProductGallery.cjs.js +1 -1
- package/dist/components/ProductGallery/ProductGallery.es.js +46 -45
- package/dist/components/ProductGalleryCard/ProductGalleryCard.cjs.js +1 -1
- package/dist/components/ProductGalleryCard/ProductGalleryCard.d.ts +5 -1
- package/dist/components/ProductGalleryCard/ProductGalleryCard.es.js +16 -15
- package/dist/components/ProductGalleryCard/productGalleryCard.module.css.cjs.js +1 -1
- package/dist/components/ProductGalleryCard/productGalleryCard.module.css.es.js +14 -12
- package/dist/components/ProductListing/ProductListing.cjs.js +1 -0
- package/dist/components/ProductListing/ProductListing.es.js +30 -0
- package/dist/components/ProductListing/productListing.module.css.cjs.js +1 -0
- package/dist/components/ProductListing/productListing.module.css.es.js +29 -0
- package/dist/components/ProductPairs/ProductPairs.cjs.js +1 -0
- package/dist/components/ProductPairs/ProductPairs.d.ts +7 -0
- package/dist/components/ProductPairs/ProductPairs.es.js +55 -0
- package/dist/components/ProductPairs/index.d.ts +1 -0
- package/dist/components/ProductPairs/productPairs.module.css.cjs.js +1 -0
- package/dist/components/ProductPairs/productPairs.module.css.es.js +17 -0
- package/dist/components/ProgramCard/ProgramCard.cjs.js +1 -0
- package/dist/components/ProgramCard/ProgramCard.es.js +48 -0
- package/dist/components/ProgramCard/assets/program_card_bg.png.cjs.js +1 -0
- package/dist/components/ProgramCard/assets/program_card_bg.png.es.js +4 -0
- package/dist/components/ProgramCard/programCard.module.css.cjs.js +1 -0
- package/dist/components/ProgramCard/programCard.module.css.es.js +7 -0
- package/dist/components/ProgressButton/ProgressButton.cjs.js +1 -1
- package/dist/components/ProgressButton/ProgressButton.es.js +18 -19
- package/dist/components/StepsCarousel/StepsCarousel.cjs.js +1 -0
- package/dist/components/StepsCarousel/StepsCarousel.d.ts +13 -0
- package/dist/components/StepsCarousel/StepsCarousel.es.js +92 -0
- package/dist/components/StepsCarousel/index.d.ts +1 -0
- package/dist/components/StepsCarousel/stepsCarousel.module.css.cjs.js +1 -0
- package/dist/components/StepsCarousel/stepsCarousel.module.css.es.js +31 -0
- package/dist/components/StudyGridCard/StudyGridCard.cjs.js +1 -0
- package/dist/components/StudyGridCard/StudyGridCard.es.js +61 -0
- package/dist/components/StudyGridCard/studyGridCard.module.css.cjs.js +1 -0
- package/dist/components/StudyGridCard/studyGridCard.module.css.es.js +19 -0
- package/dist/components/Tabs/Tabs.cjs.js +1 -1
- package/dist/components/Tabs/Tabs.es.js +20 -20
- package/dist/components/Tabs/TabsWithFade.cjs.js +1 -1
- package/dist/components/Tabs/TabsWithFade.es.js +16 -15
- package/dist/components/Tag/Tag.cjs.js +1 -1
- package/dist/components/Tag/Tag.es.js +15 -15
- package/dist/components/TextButton/TextButton.cjs.js +1 -1
- package/dist/components/TextButton/TextButton.es.js +18 -18
- package/dist/components/TypeBadge/TypeBadge.cjs.js +1 -1
- package/dist/components/TypeBadge/TypeBadge.es.js +4 -4
- package/dist/components/Typography/Typography.cjs.js +1 -1
- package/dist/components/Typography/Typography.es.js +9 -9
- package/dist/components/index.d.ts +0 -26
- package/dist/healthspan-marketing-ui.css +1 -1
- package/dist/index.cjs.js +1 -1
- package/dist/index.d.ts +0 -3
- package/dist/index.es.js +2 -55
- package/dist/modules/Benefits/Benefits.cjs.js +1 -0
- package/dist/modules/Benefits/Benefits.d.ts +14 -0
- package/dist/modules/Benefits/Benefits.es.js +53 -0
- package/dist/modules/Benefits/benefits.module.css.cjs.js +1 -0
- package/dist/modules/Benefits/benefits.module.css.es.js +25 -0
- package/dist/modules/Benefits/components/BenefitItem/BenefitItem.cjs.js +1 -0
- package/dist/modules/Benefits/components/BenefitItem/BenefitItem.d.ts +7 -0
- package/dist/modules/Benefits/components/BenefitItem/BenefitItem.es.js +37 -0
- package/dist/modules/Benefits/components/BenefitItem/benefitItem.module.css.cjs.js +1 -0
- package/dist/modules/Benefits/components/BenefitItem/benefitItem.module.css.es.js +11 -0
- package/dist/modules/Benefits/components/BenefitItem/index.d.ts +1 -0
- package/dist/modules/Benefits/components/BenefitTag/BenefitTag.cjs.js +1 -0
- package/dist/modules/Benefits/components/BenefitTag/BenefitTag.d.ts +6 -0
- package/dist/modules/Benefits/components/BenefitTag/BenefitTag.es.js +17 -0
- package/dist/modules/Benefits/components/BenefitTag/benefitTag.module.css.cjs.js +1 -0
- package/dist/modules/Benefits/components/BenefitTag/benefitTag.module.css.es.js +9 -0
- package/dist/modules/Benefits/components/BenefitTag/index.d.ts +1 -0
- package/dist/modules/Benefits/components/index.d.ts +2 -0
- package/dist/modules/Benefits/index.d.ts +1 -0
- package/dist/modules/Callback/Callback.cjs.js +1 -0
- package/dist/modules/Callback/Callback.d.ts +1 -1
- package/dist/modules/Callback/Callback.es.js +36 -0
- package/dist/modules/Callback/callback.module.css.cjs.js +1 -0
- package/dist/modules/Callback/callback.module.css.es.js +13 -0
- package/dist/modules/Comparison/Comparison.cjs.js +1 -0
- package/dist/modules/Comparison/Comparison.es.js +86 -0
- package/dist/modules/Comparison/assets/company-logo.svg.cjs.js +1 -0
- package/dist/modules/Comparison/assets/company-logo.svg.es.js +5 -0
- package/dist/modules/Comparison/comparison.module.css.cjs.js +1 -0
- package/dist/modules/Comparison/comparison.module.css.es.js +39 -0
- package/dist/modules/Comparison/components/ComparisonMobileView/ComparisonMobileView.cjs.js +1 -0
- package/dist/modules/Comparison/components/ComparisonMobileView/ComparisonMobileView.es.js +42 -0
- package/dist/modules/Comparison/components/ComparisonMobileView/comparisonMobileView.module.css.cjs.js +1 -0
- package/dist/modules/Comparison/components/ComparisonMobileView/comparisonMobileView.module.css.es.js +27 -0
- package/dist/modules/Comparison/utils.cjs.js +1 -0
- package/dist/modules/Comparison/utils.es.js +4 -0
- package/dist/modules/FeaturedIn/FeaturedIn.cjs.js +1 -0
- package/dist/modules/FeaturedIn/FeaturedIn.es.js +54 -0
- package/dist/modules/FeaturedIn/featuredIn.module.css.cjs.js +1 -0
- package/dist/modules/FeaturedIn/featuredIn.module.css.es.js +37 -0
- package/dist/modules/FeaturesGallery/FeaturesGallery.cjs.js +1 -0
- package/dist/modules/FeaturesGallery/FeaturesGallery.es.js +22 -0
- package/dist/modules/FeaturesGallery/components/FeatureGrid/FeatureGrid.cjs.js +1 -0
- package/dist/modules/FeaturesGallery/components/FeatureGrid/FeatureGrid.es.js +29 -0
- package/dist/modules/FeaturesGallery/components/FeatureGrid/FeatureGrid.module.css.cjs.js +1 -0
- package/dist/modules/FeaturesGallery/components/FeatureGrid/FeatureGrid.module.css.es.js +21 -0
- package/dist/modules/FeaturesGallery/featuresGallery.module.css.cjs.js +1 -0
- package/dist/modules/FeaturesGallery/featuresGallery.module.css.es.js +21 -0
- package/dist/modules/FollowTheScience/FollowTheScience.cjs.js +1 -0
- package/dist/modules/FollowTheScience/FollowTheScience.es.js +73 -0
- package/dist/modules/FollowTheScience/followTheScience.module.css.cjs.js +1 -0
- package/dist/modules/FollowTheScience/followTheScience.module.css.es.js +15 -0
- package/dist/modules/HowItWorks/HowItWorks.cjs.js +1 -0
- package/dist/modules/HowItWorks/HowItWorks.es.js +16 -0
- package/dist/modules/HowItWorks/components/Content/Content.cjs.js +1 -0
- package/dist/modules/HowItWorks/components/Content/Content.es.js +65 -0
- package/dist/modules/HowItWorks/components/Content/content.module.css.cjs.js +1 -0
- package/dist/modules/HowItWorks/components/Content/content.module.css.es.js +21 -0
- package/dist/modules/HowItWorks/howItWorks.module.css.cjs.js +1 -0
- package/dist/modules/HowItWorks/howItWorks.module.css.es.js +13 -0
- package/dist/modules/OptimalHealth/OptimalHealth.cjs.js +1 -0
- package/dist/modules/OptimalHealth/OptimalHealth.es.js +19 -0
- package/dist/modules/OptimalHealth/components/ClockImages/ClockImages.cjs.js +1 -0
- package/dist/modules/OptimalHealth/components/ClockImages/ClockImages.es.js +37 -0
- package/dist/modules/OptimalHealth/components/ClockImages/clockImages.module.css.cjs.js +1 -0
- package/dist/modules/OptimalHealth/components/ClockImages/clockImages.module.css.es.js +15 -0
- package/dist/modules/OptimalHealth/components/ClockImages/hooks.cjs.js +1 -0
- package/dist/modules/OptimalHealth/components/ClockImages/hooks.es.js +13 -0
- package/dist/modules/OptimalHealth/optimalHealth.module.css.cjs.js +1 -0
- package/dist/modules/OptimalHealth/optimalHealth.module.css.es.js +19 -0
- package/dist/modules/OurProcess/OurProcess.cjs.js +1 -0
- package/dist/modules/OurProcess/OurProcess.d.ts +2 -2
- package/dist/modules/OurProcess/OurProcess.es.js +15 -0
- package/dist/modules/OurProcess/ourProcess.module.css.cjs.js +1 -0
- package/dist/modules/OurProcess/ourProcess.module.css.es.js +11 -0
- package/dist/modules/PairedProducts/PairedProducts.cjs.js +1 -0
- package/dist/modules/PairedProducts/PairedProducts.d.ts +12 -0
- package/dist/modules/PairedProducts/PairedProducts.es.js +17 -0
- package/dist/modules/PairedProducts/index.d.ts +1 -0
- package/dist/modules/PairedProducts/pairedProducts.module.css.cjs.js +1 -0
- package/dist/modules/PairedProducts/pairedProducts.module.css.es.js +17 -0
- package/dist/modules/ProductsDisplay/ProductsDisplay.cjs.js +1 -1
- package/dist/modules/ProductsDisplay/ProductsDisplay.d.ts +1 -1
- package/dist/modules/ProductsDisplay/ProductsDisplay.es.js +17 -22
- package/dist/modules/ProductsDisplay/components/ProductsDisplayTabs/ProductsDisplayTabs.cjs.js +1 -1
- package/dist/modules/ProductsDisplay/components/ProductsDisplayTabs/ProductsDisplayTabs.d.ts +1 -1
- package/dist/modules/ProductsDisplay/components/ProductsDisplayTabs/ProductsDisplayTabs.es.js +9 -19
- package/dist/modules/ProductsDisplay/types.d.ts +2 -2
- package/dist/modules/ProductsDisplay/useProductsData.cjs.js +1 -1
- package/dist/modules/ProductsDisplay/useProductsData.d.ts +2 -1
- package/dist/modules/ProductsDisplay/useProductsData.es.js +8 -7
- package/dist/modules/Studies/Studies.cjs.js +1 -0
- package/dist/modules/Studies/Studies.es.js +26 -0
- package/dist/modules/Studies/studies.module.css.cjs.js +1 -0
- package/dist/modules/Studies/studies.module.css.es.js +15 -0
- package/dist/modules/TargetedPrograms/TargetedPrograms.cjs.js +1 -0
- package/dist/modules/TargetedPrograms/TargetedPrograms.es.js +67 -0
- package/dist/modules/TargetedPrograms/targetedPrograms.module.css.cjs.js +1 -0
- package/dist/modules/TargetedPrograms/targetedPrograms.module.css.es.js +15 -0
- package/dist/modules/TotalCare/TotalCare.cjs.js +1 -1
- package/dist/modules/TotalCare/TotalCare.d.ts +1 -1
- package/dist/modules/TotalCare/TotalCare.es.js +18 -27
- package/dist/modules/TypesOfTests/TypesOfTests.cjs.js +1 -0
- package/dist/modules/TypesOfTests/TypesOfTests.d.ts +10 -0
- package/dist/modules/TypesOfTests/TypesOfTests.es.js +67 -0
- package/dist/modules/TypesOfTests/index.d.ts +1 -0
- package/dist/modules/TypesOfTests/types.d.ts +4 -0
- package/dist/modules/TypesOfTests/typesOfTests.module.css.cjs.js +1 -0
- package/dist/modules/TypesOfTests/typesOfTests.module.css.es.js +29 -0
- package/dist/modules/YourProtocol/YourProtocol.cjs.js +1 -1
- package/dist/modules/YourProtocol/YourProtocol.es.js +19 -30
- package/dist/modules/YourProtocol/components/ProtocolTags/ProtocolTags.cjs.js +1 -1
- package/dist/modules/YourProtocol/components/ProtocolTags/ProtocolTags.es.js +19 -27
- package/dist/modules/index.d.ts +0 -3
- package/dist/node_modules/react-tiny-popover/dist/ArrowContainer.cjs.js +1 -0
- package/dist/node_modules/react-tiny-popover/dist/ArrowContainer.es.js +37 -0
- package/dist/node_modules/react-tiny-popover/dist/Popover.cjs.js +1 -0
- package/dist/node_modules/react-tiny-popover/dist/Popover.es.js +147 -0
- package/dist/node_modules/react-tiny-popover/dist/PopoverPortal.cjs.js +1 -0
- package/dist/node_modules/react-tiny-popover/dist/PopoverPortal.es.js +20 -0
- package/dist/node_modules/react-tiny-popover/dist/useArrowContainer.cjs.js +1 -0
- package/dist/node_modules/react-tiny-popover/dist/useArrowContainer.es.js +86 -0
- package/dist/node_modules/react-tiny-popover/dist/useElementRef.cjs.js +1 -0
- package/dist/node_modules/react-tiny-popover/dist/useElementRef.es.js +22 -0
- package/dist/node_modules/react-tiny-popover/dist/useHandlePrevValues.cjs.js +1 -0
- package/dist/node_modules/react-tiny-popover/dist/useHandlePrevValues.es.js +34 -0
- package/dist/node_modules/react-tiny-popover/dist/useMemoizedArray.cjs.js +1 -0
- package/dist/node_modules/react-tiny-popover/dist/useMemoizedArray.es.js +24 -0
- package/dist/node_modules/react-tiny-popover/dist/usePopover.cjs.js +1 -0
- package/dist/node_modules/react-tiny-popover/dist/usePopover.es.js +140 -0
- package/dist/node_modules/react-tiny-popover/dist/util.cjs.js +1 -0
- package/dist/node_modules/react-tiny-popover/dist/util.es.js +81 -0
- package/dist/utils/index.d.ts +0 -4
- package/dist/utils/isHsIcon/isHsIcon.cjs.js +1 -0
- package/dist/utils/{isHsIcon.es.js → isHsIcon/isHsIcon.es.js} +1 -1
- package/dist/utils/useIsMobile.cjs.js +1 -0
- package/dist/utils/useIsMobile.d.ts +1 -0
- package/dist/utils/useIsMobile.es.js +12 -0
- package/package.json +210 -4
- package/dist/_virtual/dynamic-import-helper.cjs.js +0 -1
- package/dist/_virtual/dynamic-import-helper.es.js +0 -16
- package/dist/_virtual/jsx-runtime.cjs.js +0 -1
- package/dist/_virtual/jsx-runtime.es.js +0 -5
- package/dist/_virtual/jsx-runtime.es2.js +0 -4
- package/dist/icons/map/pin-drop.svg.cjs.js +0 -1
- package/dist/icons/map/pin-drop.svg.es.js +0 -5
- package/dist/modules/OurProcess/components/StepCards/StepCards.d.ts +0 -9
- package/dist/modules/OurProcess/components/StepCards/index.d.ts +0 -1
- package/dist/modules/OurProcess/types.d.ts +0 -5
- package/dist/node_modules/react/cjs/react-jsx-runtime.development.cjs.js +0 -22
- package/dist/node_modules/react/cjs/react-jsx-runtime.development.es.js +0 -604
- package/dist/node_modules/react/cjs/react-jsx-runtime.production.min.cjs.js +0 -9
- package/dist/node_modules/react/cjs/react-jsx-runtime.production.min.es.js +0 -28
- package/dist/node_modules/react/jsx-runtime.cjs.js +0 -1
- package/dist/node_modules/react/jsx-runtime.es.js +0 -10
- package/dist/utils/isHsIcon.cjs.js +0 -1
- package/dist/utils.cjs.js +0 -1
- package/dist/utils.es.js +0 -10
- /package/dist/_virtual/{react-jsx-runtime.development.cjs.js → ArrowContainer.cjs.js} +0 -0
- /package/dist/_virtual/{react-jsx-runtime.production.min.es.js → ArrowContainer.es.js} +0 -0
- /package/dist/_virtual/{react-jsx-runtime.production.min.cjs.js → Popover.cjs2.js} +0 -0
- /package/dist/_virtual/{react-jsx-runtime.development.es.js → useElementRef.es.js} +0 -0
- /package/dist/{utils → lib}/useSwiper.d.ts +0 -0
- /package/dist/utils/{cn.cjs.js → cn/cn.cjs.js} +0 -0
- /package/dist/utils/{cn.es.js → cn/cn.es.js} +0 -0
- /package/dist/utils/{formatUnits.cjs.js → formatUnits/formatUnits.cjs.js} +0 -0
- /package/dist/utils/{formatUnits.es.js → formatUnits/formatUnits.es.js} +0 -0
- /package/dist/utils/{useSwiper.cjs.js → useSwiper/useSwiper.cjs.js} +0 -0
- /package/dist/utils/{useSwiper.es.js → useSwiper/useSwiper.es.js} +0 -0
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
const o = "optimalHealth-module__root___l-DfB", t = "optimalHealth-module__container___Nc-Cv", _ = "optimalHealth-module__content___5ntd8", e = "optimalHealth-module__description___3MlIW", l = "optimalHealth-module__actions___IWhyr", n = "optimalHealth-module__mobile___8lH1x", a = "optimalHealth-module__desktop___Nh1ZJ", i = {
|
|
2
|
+
root: o,
|
|
3
|
+
container: t,
|
|
4
|
+
content: _,
|
|
5
|
+
description: e,
|
|
6
|
+
actions: l,
|
|
7
|
+
mobile: n,
|
|
8
|
+
desktop: a
|
|
9
|
+
};
|
|
10
|
+
export {
|
|
11
|
+
l as actions,
|
|
12
|
+
t as container,
|
|
13
|
+
_ as content,
|
|
14
|
+
i as default,
|
|
15
|
+
e as description,
|
|
16
|
+
a as desktop,
|
|
17
|
+
n as mobile,
|
|
18
|
+
o as root
|
|
19
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),l=require("../../components/StepsCarousel/StepsCarousel.cjs.js"),o=require("../../components/Button/Button.cjs.js"),a=require("../../components/HighlightedTitle/HighlightedTitle.cjs.js"),s=require("./ourProcess.module.css.cjs.js"),d=({title:i,label:n,colorScheme:t,howItWorks:r,steps:u})=>e.jsx("section",{className:s.default.root,"data-scheme":t,children:e.jsxs("div",{className:s.default.container,children:[e.jsxs("div",{className:s.default.header,children:[e.jsx(a.HighlightedTitle,{title:i,label:n,colorScheme:t}),r&&e.jsx("div",{children:e.jsx(o.Button,{as:"a",variant:t==="light"?"muted":"muted-invert",size:"lg",href:r,children:"How it works"})})]}),e.jsx(l.StepsCarousel,{steps:u,colorScheme:t})]})});exports.OurProcess=d;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
|
+
import { TStepsCarouselView } from '../../components/StepsCarousel';
|
|
2
3
|
import { TColorScheme } from '../../types/common';
|
|
3
|
-
import { TOurProcessStep } from './types';
|
|
4
4
|
|
|
5
5
|
export type OurProcessProps = {
|
|
6
6
|
title: ReactNode;
|
|
7
7
|
label: string;
|
|
8
8
|
colorScheme: TColorScheme;
|
|
9
|
-
steps:
|
|
9
|
+
steps: TStepsCarouselView;
|
|
10
10
|
howItWorks?: string;
|
|
11
11
|
};
|
|
12
12
|
export declare const OurProcess: ({ title, label, colorScheme, howItWorks, steps }: OurProcessProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { jsx as r, jsxs as s } from "react/jsx-runtime";
|
|
2
|
+
import { StepsCarousel as n } from "../../components/StepsCarousel/StepsCarousel.es.js";
|
|
3
|
+
import { Button as o } from "../../components/Button/Button.es.js";
|
|
4
|
+
import { HighlightedTitle as l } from "../../components/HighlightedTitle/HighlightedTitle.es.js";
|
|
5
|
+
import t from "./ourProcess.module.css.es.js";
|
|
6
|
+
const v = ({ title: a, label: d, colorScheme: i, howItWorks: e, steps: m }) => /* @__PURE__ */ r("section", { className: t.root, "data-scheme": i, children: /* @__PURE__ */ s("div", { className: t.container, children: [
|
|
7
|
+
/* @__PURE__ */ s("div", { className: t.header, children: [
|
|
8
|
+
/* @__PURE__ */ r(l, { title: a, label: d, colorScheme: i }),
|
|
9
|
+
e && /* @__PURE__ */ r("div", { children: /* @__PURE__ */ r(o, { as: "a", variant: i === "light" ? "muted" : "muted-invert", size: "lg", href: e, children: "How it works" }) })
|
|
10
|
+
] }),
|
|
11
|
+
/* @__PURE__ */ r(n, { steps: m, colorScheme: i })
|
|
12
|
+
] }) });
|
|
13
|
+
export {
|
|
14
|
+
v as OurProcess
|
|
15
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="ourProcess-module__root___vll0d",o="ourProcess-module__container___dvOpP",r="ourProcess-module__header___-JviP",t={root:e,container:o,header:r};exports.container=o;exports.default=t;exports.header=r;exports.root=e;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),s=require("../../components/Button/Button.cjs.js"),c=require("../../components/Typography/Typography.cjs.js"),n=require("../../components/ProductPairs/ProductPairs.cjs.js"),t=require("../../utils/cn/cn.cjs.js"),r=require("./pairedProducts.module.css.cjs.js"),o=({label:d,button:a,productCards:i})=>e.jsx("section",{className:r.default.root,children:e.jsxs("div",{className:r.default.container,children:[e.jsxs("div",{className:r.default.header,children:[e.jsx(c.Typography,{as:"h2",defaultVariant:"displaySm",mobileVariant:"headingLg",children:d}),e.jsx("div",{className:t.cn(r.default.buttonWrap,r.default.mobile),children:e.jsx(s.Button,{as:"a",href:a.href,variant:"muted",size:"sm",children:a.label})}),e.jsx("div",{className:t.cn(r.default.buttonWrap,r.default.desktop),children:e.jsx(s.Button,{as:"a",href:a.href,variant:"muted",size:"lg",children:a.label})})]}),e.jsx("div",{className:r.default.productCards,children:e.jsx(n.ProductPairs,{productCards:i})})]})});exports.PairedProducts=o;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { TProductGalleryCardView } from '../../components/ProductGalleryCard';
|
|
2
|
+
|
|
3
|
+
type PairedProductsProps = {
|
|
4
|
+
label: string;
|
|
5
|
+
button: {
|
|
6
|
+
label: string;
|
|
7
|
+
href: string;
|
|
8
|
+
};
|
|
9
|
+
productCards: Array<TProductGalleryCardView>;
|
|
10
|
+
};
|
|
11
|
+
export declare const PairedProducts: ({ label, button, productCards }: PairedProductsProps) => import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
export {};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { jsx as r, jsxs as i } from "react/jsx-runtime";
|
|
2
|
+
import { Button as s } from "../../components/Button/Button.es.js";
|
|
3
|
+
import { Typography as m } from "../../components/Typography/Typography.es.js";
|
|
4
|
+
import { ProductPairs as t } from "../../components/ProductPairs/ProductPairs.es.js";
|
|
5
|
+
import { cn as d } from "../../utils/cn/cn.es.js";
|
|
6
|
+
import a from "./pairedProducts.module.css.es.js";
|
|
7
|
+
const v = ({ label: l, button: e, productCards: o }) => /* @__PURE__ */ r("section", { className: a.root, children: /* @__PURE__ */ i("div", { className: a.container, children: [
|
|
8
|
+
/* @__PURE__ */ i("div", { className: a.header, children: [
|
|
9
|
+
/* @__PURE__ */ r(m, { as: "h2", defaultVariant: "displaySm", mobileVariant: "headingLg", children: l }),
|
|
10
|
+
/* @__PURE__ */ r("div", { className: d(a.buttonWrap, a.mobile), children: /* @__PURE__ */ r(s, { as: "a", href: e.href, variant: "muted", size: "sm", children: e.label }) }),
|
|
11
|
+
/* @__PURE__ */ r("div", { className: d(a.buttonWrap, a.desktop), children: /* @__PURE__ */ r(s, { as: "a", href: e.href, variant: "muted", size: "lg", children: e.label }) })
|
|
12
|
+
] }),
|
|
13
|
+
/* @__PURE__ */ r("div", { className: a.productCards, children: /* @__PURE__ */ r(t, { productCards: o }) })
|
|
14
|
+
] }) });
|
|
15
|
+
export {
|
|
16
|
+
v as PairedProducts
|
|
17
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { PairedProducts } from './PairedProducts';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const o="pairedProducts-module__root___CGPcB",e="pairedProducts-module__container___UOwaf",d="pairedProducts-module__header___cGhYK",t="pairedProducts-module__productCards___wKcam",r="pairedProducts-module__mobile___e1DYf",_="pairedProducts-module__desktop___mq5Bl",s={root:o,container:e,header:d,productCards:t,mobile:r,desktop:_};exports.container=e;exports.default=s;exports.desktop=_;exports.header=d;exports.mobile=r;exports.productCards=t;exports.root=o;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
const o = "pairedProducts-module__root___CGPcB", d = "pairedProducts-module__container___UOwaf", e = "pairedProducts-module__header___cGhYK", _ = "pairedProducts-module__productCards___wKcam", r = "pairedProducts-module__mobile___e1DYf", t = "pairedProducts-module__desktop___mq5Bl", c = {
|
|
2
|
+
root: o,
|
|
3
|
+
container: d,
|
|
4
|
+
header: e,
|
|
5
|
+
productCards: _,
|
|
6
|
+
mobile: r,
|
|
7
|
+
desktop: t
|
|
8
|
+
};
|
|
9
|
+
export {
|
|
10
|
+
d as container,
|
|
11
|
+
c as default,
|
|
12
|
+
t as desktop,
|
|
13
|
+
e as header,
|
|
14
|
+
r as mobile,
|
|
15
|
+
_ as productCards,
|
|
16
|
+
o as root
|
|
17
|
+
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("
|
|
1
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),c=require("react"),T=require("../../components/ProductGallery/ProductGallery.cjs.js"),g=require("../../components/ProductGalleryCard/ProductGalleryCard.cjs.js"),i=require("../../components/Typography/Typography.cjs.js"),q=require("./components/ProductsDisplayTabs/ProductsDisplayTabs.cjs.js"),s=require("./productsDisplay.module.css.cjs.js"),j=require("./useProductsData.cjs.js"),x=({labelText:d,productDisplays:u})=>{var l;const{isTabbed:t,title:n,description:y,tabs:a,slidesByTabs:o}=j.useProductsData({productDisplays:u}),[r,p]=c.useState(((l=a[0])==null?void 0:l.value)??""),b=c.useMemo(()=>(o[r]??[]).map((m,P)=>e.jsx(g.ProductGalleryCard,{...m},P)),[r,o]),h=t?e.jsx(q.ProductsDisplayTabs,{label:d,tabs:a,activeTab:r,onTabChange:p}):e.jsxs("div",{className:s.default.header,children:[e.jsx(i.Typography,{className:s.default.headerTitle,defaultVariant:"displayMd",mobileVariant:"headingLg",children:n}),e.jsx(i.Typography,{defaultVariant:"bodyLg",mobileVariant:"bodySm",children:y})]});return e.jsx("div",{className:s.default.root,children:e.jsx(T.ProductGallery,{header:h,slides:b,isTabbed:t})})};exports.ProductsDisplay=x;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { TProductsDisplay } from './types';
|
|
2
2
|
|
|
3
|
-
export declare const ProductsDisplay: ({
|
|
3
|
+
export declare const ProductsDisplay: ({ labelText, productDisplays }: TProductsDisplay) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,27 +1,22 @@
|
|
|
1
|
-
|
|
2
|
-
import {
|
|
3
|
-
import "
|
|
4
|
-
import "../../components/
|
|
5
|
-
import "../../components/
|
|
6
|
-
import "../../components/
|
|
7
|
-
import "
|
|
8
|
-
import
|
|
9
|
-
import {
|
|
10
|
-
|
|
11
|
-
import { ProductGallery as T } from "../../components/ProductGallery/ProductGallery.es.js";
|
|
12
|
-
import { ProductsDisplayTabs as g } from "./components/ProductsDisplayTabs/ProductsDisplayTabs.es.js";
|
|
13
|
-
import s from "./productsDisplay.module.css.es.js";
|
|
14
|
-
import { useProductsData as v } from "./useProductsData.es.js";
|
|
15
|
-
const w = ({ label_text: l, productDisplays: d }) => {
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx as t, jsxs as h } from "react/jsx-runtime";
|
|
3
|
+
import { useState as T, useMemo as g } from "react";
|
|
4
|
+
import { ProductGallery as v } from "../../components/ProductGallery/ProductGallery.es.js";
|
|
5
|
+
import { ProductGalleryCard as P } from "../../components/ProductGalleryCard/ProductGalleryCard.es.js";
|
|
6
|
+
import { Typography as l } from "../../components/Typography/Typography.es.js";
|
|
7
|
+
import { ProductsDisplayTabs as V } from "./components/ProductsDisplayTabs/ProductsDisplayTabs.es.js";
|
|
8
|
+
import r from "./productsDisplay.module.css.es.js";
|
|
9
|
+
import { useProductsData as x } from "./useProductsData.es.js";
|
|
10
|
+
const B = ({ labelText: d, productDisplays: m }) => {
|
|
16
11
|
var i;
|
|
17
|
-
const { isTabbed:
|
|
18
|
-
productDisplays:
|
|
19
|
-
}), [
|
|
20
|
-
/* @__PURE__ */ t
|
|
21
|
-
/* @__PURE__ */ t
|
|
12
|
+
const { isTabbed: a, title: c, description: n, tabs: s, slidesByTabs: o } = x({
|
|
13
|
+
productDisplays: m
|
|
14
|
+
}), [e, p] = T(((i = s[0]) == null ? void 0 : i.value) ?? ""), u = g(() => (o[e] ?? []).map((y, f) => /* @__PURE__ */ t(P, { ...y }, f)), [e, o]), b = a ? /* @__PURE__ */ t(V, { label: d, tabs: s, activeTab: e, onTabChange: p }) : /* @__PURE__ */ h("div", { className: r.header, children: [
|
|
15
|
+
/* @__PURE__ */ t(l, { className: r.headerTitle, defaultVariant: "displayMd", mobileVariant: "headingLg", children: c }),
|
|
16
|
+
/* @__PURE__ */ t(l, { defaultVariant: "bodyLg", mobileVariant: "bodySm", children: n })
|
|
22
17
|
] });
|
|
23
|
-
return /* @__PURE__ */ t
|
|
18
|
+
return /* @__PURE__ */ t("div", { className: r.root, children: /* @__PURE__ */ t(v, { header: b, slides: u, isTabbed: a }) });
|
|
24
19
|
};
|
|
25
20
|
export {
|
|
26
|
-
|
|
21
|
+
B as ProductsDisplay
|
|
27
22
|
};
|
package/dist/modules/ProductsDisplay/components/ProductsDisplayTabs/ProductsDisplayTabs.cjs.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime");require("../../../../components/Tabs/Tabs.cjs.js");const o=require("../../../../components/Tabs/TabsWithFade.cjs.js"),l=require("../../../../components/Typography/Typography.cjs.js"),r=require("./productsDisplayTabs.module.css.cjs.js");function u({label:a,tabs:s,activeTab:t,onTabChange:i}){return e.jsxs("div",{className:r.default.header,children:[!!a&&e.jsx(l.Typography,{as:"p",defaultVariant:"labelMd",mobileVariant:"labelSm",emphasis:!0,className:r.default.label,children:a}),e.jsx(o.TabsWithFade,{activeTab:t,tabs:s,onTabChange:i})]})}exports.ProductsDisplayTabs=u;
|
package/dist/modules/ProductsDisplay/components/ProductsDisplayTabs/ProductsDisplayTabs.es.js
CHANGED
|
@@ -1,24 +1,14 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "../../../../components/Button/Button.es.js";
|
|
3
|
-
import "../../../../components/Label/Label.es.js";
|
|
4
|
-
import "../../../../components/Tag/Tag.es.js";
|
|
1
|
+
import { jsxs as t, jsx as r } from "react/jsx-runtime";
|
|
5
2
|
import "../../../../components/Tabs/Tabs.es.js";
|
|
6
|
-
import { TabsWithFade as
|
|
7
|
-
import "
|
|
8
|
-
import "
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
/*
|
|
13
|
-
/* empty css */
|
|
14
|
-
/* empty css */
|
|
15
|
-
import t from "./productsDisplayTabs.module.css.es.js";
|
|
16
|
-
function g({ label: o, tabs: i, activeTab: m, onTabChange: p }) {
|
|
17
|
-
return /* @__PURE__ */ r.jsxs("div", { className: t.header, children: [
|
|
18
|
-
!!o && /* @__PURE__ */ r.jsx(s, { as: "p", defaultVariant: "labelMd", mobileVariant: "labelSm", emphasis: !0, className: t.label, children: o }),
|
|
19
|
-
/* @__PURE__ */ r.jsx(a, { activeTab: m, tabs: i, onTabChange: p })
|
|
3
|
+
import { TabsWithFade as m } from "../../../../components/Tabs/TabsWithFade.es.js";
|
|
4
|
+
import { Typography as l } from "../../../../components/Typography/Typography.es.js";
|
|
5
|
+
import e from "./productsDisplayTabs.module.css.es.js";
|
|
6
|
+
function h({ label: a, tabs: o, activeTab: s, onTabChange: i }) {
|
|
7
|
+
return /* @__PURE__ */ t("div", { className: e.header, children: [
|
|
8
|
+
!!a && /* @__PURE__ */ r(l, { as: "p", defaultVariant: "labelMd", mobileVariant: "labelSm", emphasis: !0, className: e.label, children: a }),
|
|
9
|
+
/* @__PURE__ */ r(m, { activeTab: s, tabs: o, onTabChange: i })
|
|
20
10
|
] });
|
|
21
11
|
}
|
|
22
12
|
export {
|
|
23
|
-
|
|
13
|
+
h as ProductsDisplayTabs
|
|
24
14
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TProductGalleryCardView } from '../../components';
|
|
1
|
+
import { TProductGalleryCardView } from '../../components/ProductGalleryCard';
|
|
2
2
|
|
|
3
3
|
export type TProductsDisplayView = {
|
|
4
4
|
title: string;
|
|
@@ -6,6 +6,6 @@ export type TProductsDisplayView = {
|
|
|
6
6
|
productCards: Array<TProductGalleryCardView>;
|
|
7
7
|
};
|
|
8
8
|
export type TProductsDisplay = {
|
|
9
|
-
|
|
9
|
+
labelText?: string;
|
|
10
10
|
productDisplays: Array<TProductsDisplayView>;
|
|
11
11
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const b=({productDisplays:t})=>{const
|
|
1
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const b=({productDisplays:t})=>{const l=t.length>1,n=t[0],a=n.title,r=n.description??"",o=t.map(e=>({value:e.title.replace(" ","_").toLocaleLowerCase(),label:e.title})),d=o.reduce((e,c)=>{const s=t.find(u=>u.title===c.label),i=s==null?void 0:s.productCards;return i&&(e[c.value]=i),e},{});return{isTabbed:l,title:a,description:r,tabs:o,slidesByTabs:d}};exports.useProductsData=b;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { TProductGalleryCardView
|
|
1
|
+
import { TProductGalleryCardView } from '../../components/ProductGalleryCard';
|
|
2
|
+
import { Tab } from '../../components/Tabs';
|
|
2
3
|
import { TProductsDisplayView } from './types';
|
|
3
4
|
|
|
4
5
|
type UseProductsReceiveProps = {
|
|
@@ -1,19 +1,20 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
"use client";
|
|
2
|
+
const u = ({ productDisplays: t }) => {
|
|
3
|
+
const l = t.length > 1, s = t[0], a = s.title, r = s.description ?? "", c = t.map((e) => ({
|
|
3
4
|
value: e.title.replace(" ", "_").toLocaleLowerCase(),
|
|
4
5
|
label: e.title
|
|
5
|
-
})), d =
|
|
6
|
-
const n = t.find((b) => b.title ===
|
|
7
|
-
return
|
|
6
|
+
})), d = c.reduce((e, i) => {
|
|
7
|
+
const n = t.find((b) => b.title === i.label), o = n == null ? void 0 : n.productCards;
|
|
8
|
+
return o && (e[i.value] = o), e;
|
|
8
9
|
}, {});
|
|
9
10
|
return {
|
|
10
11
|
isTabbed: l,
|
|
11
12
|
title: a,
|
|
12
13
|
description: r,
|
|
13
|
-
tabs:
|
|
14
|
+
tabs: c,
|
|
14
15
|
slidesByTabs: d
|
|
15
16
|
};
|
|
16
17
|
};
|
|
17
18
|
export {
|
|
18
|
-
|
|
19
|
+
u as useProductsData
|
|
19
20
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),u=require("../../components/Button/Button.cjs.js"),a=require("../../components/HighlightedTitle/HighlightedTitle.cjs.js"),c=require("../../components/StudyGridCard/StudyGridCard.cjs.js"),h=require("../../components/Typography/Typography.cjs.js"),i=require("./studies.module.css.cjs.js");function p({title:d,description:n,articles:l}){const o=l.reduce((t,r)=>{const s=t[t.length-1];return s.length<2?s.push(r):t.push([r]),t},[[]]);return e.jsxs("div",{className:i.default.container,children:[e.jsxs("div",{className:i.default.header,children:[e.jsx(a.HighlightedTitle,{title:d}),e.jsx(h.Typography,{as:"p",defaultVariant:"bodyLg",className:i.default.description,children:n}),e.jsx("div",{children:e.jsx(u.Button,{variant:"muted",size:"lg",children:"view all studies"})})]}),e.jsx("div",{className:i.default.articles,children:o.map((t,r)=>e.jsx("div",{className:i.default.row,children:t.map(s=>e.jsx(c.StudyGridCard,{...s},s.title))},r))})]})}exports.Studies=p;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { jsxs as d, jsx as r } from "react/jsx-runtime";
|
|
2
|
+
import { Button as a } from "../../components/Button/Button.es.js";
|
|
3
|
+
import { HighlightedTitle as h } from "../../components/HighlightedTitle/HighlightedTitle.es.js";
|
|
4
|
+
import { StudyGridCard as p } from "../../components/StudyGridCard/StudyGridCard.es.js";
|
|
5
|
+
import { Typography as u } from "../../components/Typography/Typography.es.js";
|
|
6
|
+
import t from "./studies.module.css.es.js";
|
|
7
|
+
function w({ title: o, description: l, articles: n }) {
|
|
8
|
+
const m = n.reduce(
|
|
9
|
+
(e, s) => {
|
|
10
|
+
const i = e[e.length - 1];
|
|
11
|
+
return i.length < 2 ? i.push(s) : e.push([s]), e;
|
|
12
|
+
},
|
|
13
|
+
[[]]
|
|
14
|
+
);
|
|
15
|
+
return /* @__PURE__ */ d("div", { className: t.container, children: [
|
|
16
|
+
/* @__PURE__ */ d("div", { className: t.header, children: [
|
|
17
|
+
/* @__PURE__ */ r(h, { title: o }),
|
|
18
|
+
/* @__PURE__ */ r(u, { as: "p", defaultVariant: "bodyLg", className: t.description, children: l }),
|
|
19
|
+
/* @__PURE__ */ r("div", { children: /* @__PURE__ */ r(a, { variant: "muted", size: "lg", children: "view all studies" }) })
|
|
20
|
+
] }),
|
|
21
|
+
/* @__PURE__ */ r("div", { className: t.articles, children: m.map((e, s) => /* @__PURE__ */ r("div", { className: t.row, children: e.map((i) => /* @__PURE__ */ r(p, { ...i }, i.title)) }, s)) })
|
|
22
|
+
] });
|
|
23
|
+
}
|
|
24
|
+
export {
|
|
25
|
+
w as Studies
|
|
26
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="studies-module__container___oLKXc",t="studies-module__header___FA3V2",s="studies-module__description___-3MIr",o="studies-module__articles___tUcYS",_="studies-module__row___yHNIP",r={container:e,header:t,description:s,articles:o,row:_};exports.articles=o;exports.container=e;exports.default=r;exports.description=s;exports.header=t;exports.row=_;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
const e = "studies-module__container___oLKXc", s = "studies-module__header___FA3V2", _ = "studies-module__description___-3MIr", t = "studies-module__articles___tUcYS", o = "studies-module__row___yHNIP", c = {
|
|
2
|
+
container: e,
|
|
3
|
+
header: s,
|
|
4
|
+
description: _,
|
|
5
|
+
articles: t,
|
|
6
|
+
row: o
|
|
7
|
+
};
|
|
8
|
+
export {
|
|
9
|
+
t as articles,
|
|
10
|
+
e as container,
|
|
11
|
+
c as default,
|
|
12
|
+
_ as description,
|
|
13
|
+
s as header,
|
|
14
|
+
o as row
|
|
15
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime");;/* empty css */;/* empty css */;/* empty css */const m=require("react"),S=require("../../node_modules/swiper/modules/navigation.cjs.js"),t=require("../../node_modules/swiper/swiper-react.cjs.js"),f=require("../../components/Cursor/Cursor.cjs.js"),q=require("../../components/ProgramCard/ProgramCard.cjs.js"),n=require("../../components/ProgressButton/ProgressButton.cjs.js"),C=require("../../components/Typography/Typography.cjs.js"),P=require("../../utils/useSwiper/useSwiper.cjs.js"),r=require("./targetedPrograms.module.css.cjs.js"),j=[S.default];function w({title:a,cards:l}){const{setIsEnd:c,handleSlideChange:d,handlePrevClick:s,handleNextClick:i,onSwiperInit:u,handleSwiperResize:p}=P.useSwiper();return e.jsxs("div",{className:r.default.container,children:[e.jsxs("div",{className:r.default.heading,children:[e.jsx(C.Typography,{as:"h2",defaultVariant:"displayMd",mobileVariant:"headingXl",children:a}),e.jsx("div",{className:r.default.progressButtons,"data-device":"desktop",children:e.jsx(n.ProgressButton,{left:{onClick:s},right:{onClick:i}})})]}),e.jsx("div",{className:r.default.carouselArea,children:e.jsx(t.Swiper,{onSwiper:u,onResize:p,onSlideChange:d,onReachEnd:()=>c(!0),modules:j,spaceBetween:16,slidesPerView:"auto",className:r.default.swiper,loop:!0,slidesOffsetBefore:8,children:l.map((o,g)=>{const h=o.type!=="coming_soon"?f.Cursor:m.Fragment;return e.jsx(t.SwiperSlide,{className:r.default.swiperSlide,children:e.jsx(h,{label:"Learn More",colorScheme:"light",children:e.jsx(q.ProgramCard,{...o})})},g)})})}),e.jsx("div",{className:r.default.progressButtons,"data-device":"mobile",children:e.jsx(n.ProgressButton,{left:{onClick:s},right:{onClick:i}})})]})}exports.TargetedPrograms=w;
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsxs as t, jsx as e } from "react/jsx-runtime";
|
|
3
|
+
/* empty css */
|
|
4
|
+
/* empty css */
|
|
5
|
+
/* empty css */
|
|
6
|
+
import { Fragment as g } from "react";
|
|
7
|
+
import u from "../../node_modules/swiper/modules/navigation.es.js";
|
|
8
|
+
import { Swiper as S, SwiperSlide as w } from "../../node_modules/swiper/swiper-react.es.js";
|
|
9
|
+
import { Cursor as C } from "../../components/Cursor/Cursor.es.js";
|
|
10
|
+
import { ProgramCard as v } from "../../components/ProgramCard/ProgramCard.es.js";
|
|
11
|
+
import { ProgressButton as a } from "../../components/ProgressButton/ProgressButton.es.js";
|
|
12
|
+
import { Typography as N } from "../../components/Typography/Typography.es.js";
|
|
13
|
+
import { useSwiper as k } from "../../utils/useSwiper/useSwiper.es.js";
|
|
14
|
+
import r from "./targetedPrograms.module.css.es.js";
|
|
15
|
+
const P = [u];
|
|
16
|
+
function T({ title: n, cards: l }) {
|
|
17
|
+
const { setIsEnd: m, handleSlideChange: d, handlePrevClick: i, handleNextClick: o, onSwiperInit: c, handleSwiperResize: p } = k();
|
|
18
|
+
return /* @__PURE__ */ t("div", { className: r.container, children: [
|
|
19
|
+
/* @__PURE__ */ t("div", { className: r.heading, children: [
|
|
20
|
+
/* @__PURE__ */ e(N, { as: "h2", defaultVariant: "displayMd", mobileVariant: "headingXl", children: n }),
|
|
21
|
+
/* @__PURE__ */ e("div", { className: r.progressButtons, "data-device": "desktop", children: /* @__PURE__ */ e(
|
|
22
|
+
a,
|
|
23
|
+
{
|
|
24
|
+
left: {
|
|
25
|
+
onClick: i
|
|
26
|
+
},
|
|
27
|
+
right: {
|
|
28
|
+
onClick: o
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
) })
|
|
32
|
+
] }),
|
|
33
|
+
/* @__PURE__ */ e("div", { className: r.carouselArea, children: /* @__PURE__ */ e(
|
|
34
|
+
S,
|
|
35
|
+
{
|
|
36
|
+
onSwiper: c,
|
|
37
|
+
onResize: p,
|
|
38
|
+
onSlideChange: d,
|
|
39
|
+
onReachEnd: () => m(!0),
|
|
40
|
+
modules: P,
|
|
41
|
+
spaceBetween: 16,
|
|
42
|
+
slidesPerView: "auto",
|
|
43
|
+
className: r.swiper,
|
|
44
|
+
loop: !0,
|
|
45
|
+
slidesOffsetBefore: 8,
|
|
46
|
+
children: l.map((s, h) => {
|
|
47
|
+
const f = s.type !== "coming_soon" ? C : g;
|
|
48
|
+
return /* @__PURE__ */ e(w, { className: r.swiperSlide, children: /* @__PURE__ */ e(f, { label: "Learn More", colorScheme: "light", children: /* @__PURE__ */ e(v, { ...s }) }) }, h);
|
|
49
|
+
})
|
|
50
|
+
}
|
|
51
|
+
) }),
|
|
52
|
+
/* @__PURE__ */ e("div", { className: r.progressButtons, "data-device": "mobile", children: /* @__PURE__ */ e(
|
|
53
|
+
a,
|
|
54
|
+
{
|
|
55
|
+
left: {
|
|
56
|
+
onClick: i
|
|
57
|
+
},
|
|
58
|
+
right: {
|
|
59
|
+
onClick: o
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
) })
|
|
63
|
+
] });
|
|
64
|
+
}
|
|
65
|
+
export {
|
|
66
|
+
T as TargetedPrograms
|
|
67
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="targetedPrograms-module__container___NQcj6",r="targetedPrograms-module__heading___tO73m",t="targetedPrograms-module__swiper___9sFIf",s="targetedPrograms-module__swiperSlide___ULZt5",o="targetedPrograms-module__progressButtons___XhApN",_={container:e,heading:r,swiper:t,swiperSlide:s,progressButtons:o};exports.container=e;exports.default=_;exports.heading=r;exports.progressButtons=o;exports.swiper=t;exports.swiperSlide=s;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
const e = "targetedPrograms-module__container___NQcj6", r = "targetedPrograms-module__heading___tO73m", s = "targetedPrograms-module__swiper___9sFIf", t = "targetedPrograms-module__swiperSlide___ULZt5", o = "targetedPrograms-module__progressButtons___XhApN", _ = {
|
|
2
|
+
container: e,
|
|
3
|
+
heading: r,
|
|
4
|
+
swiper: s,
|
|
5
|
+
swiperSlide: t,
|
|
6
|
+
progressButtons: o
|
|
7
|
+
};
|
|
8
|
+
export {
|
|
9
|
+
e as container,
|
|
10
|
+
_ as default,
|
|
11
|
+
r as heading,
|
|
12
|
+
o as progressButtons,
|
|
13
|
+
s as swiper,
|
|
14
|
+
t as swiperSlide
|
|
15
|
+
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("
|
|
1
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),o=require("react"),n=require("../../components/ContentTabs/ContentTabs.cjs.js"),d=require("../../components/HighlightedTitle/HighlightedTitle.cjs.js"),t=require("./totalCare.module.css.cjs.js"),u=({title:l,label:c,contentTabs:a,colorScheme:i})=>{const[s,r]=o.useState(a.tabs[0]);return e.jsx("section",{className:t.default.root,"data-scheme":i,children:e.jsxs("div",{className:t.default.container,children:[e.jsx(d.HighlightedTitle,{title:l,label:c,className:t.default.header,colorScheme:i}),e.jsxs("div",{className:t.default.content,children:[e.jsx("div",{className:t.default.tags,children:e.jsx(n.ContentTabs,{activeTab:s,tabs:a.tabs,colorScheme:a.colorScheme,onTabClick:r})}),s.image&&e.jsx("div",{className:t.default.imageWrap,children:e.jsx("img",{src:s.image,alt:"Total Care",className:t.default.image})})]})]})})};exports.TotalCare=u;
|
|
@@ -1,36 +1,27 @@
|
|
|
1
|
-
|
|
2
|
-
import {
|
|
3
|
-
import "
|
|
4
|
-
import "../../components/
|
|
5
|
-
import "../../components/
|
|
6
|
-
import "
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
/*
|
|
13
|
-
|
|
14
|
-
/* empty css */
|
|
15
|
-
import s from "./totalCare.module.css.es.js";
|
|
16
|
-
const y = ({ title: r, label: m, contentTabs: i, colorScheme: e }) => {
|
|
17
|
-
const [a, o] = c(i.tabs[0]);
|
|
18
|
-
return /* @__PURE__ */ t.jsx("section", { className: s.root, "data-scheme": e, children: /* @__PURE__ */ t.jsxs("div", { className: s.container, children: [
|
|
19
|
-
/* @__PURE__ */ t.jsx(p, { title: r, label: m, className: s.header, colorScheme: e }),
|
|
20
|
-
/* @__PURE__ */ t.jsxs("div", { className: s.content, children: [
|
|
21
|
-
/* @__PURE__ */ t.jsx("div", { className: s.tags, children: /* @__PURE__ */ t.jsx(
|
|
22
|
-
l,
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx as a, jsxs as r } from "react/jsx-runtime";
|
|
3
|
+
import { useState as l } from "react";
|
|
4
|
+
import { ContentTabs as n } from "../../components/ContentTabs/ContentTabs.es.js";
|
|
5
|
+
import { HighlightedTitle as d } from "../../components/HighlightedTitle/HighlightedTitle.es.js";
|
|
6
|
+
import e from "./totalCare.module.css.es.js";
|
|
7
|
+
const b = ({ title: m, label: c, contentTabs: s, colorScheme: i }) => {
|
|
8
|
+
const [t, o] = l(s.tabs[0]);
|
|
9
|
+
return /* @__PURE__ */ a("section", { className: e.root, "data-scheme": i, children: /* @__PURE__ */ r("div", { className: e.container, children: [
|
|
10
|
+
/* @__PURE__ */ a(d, { title: m, label: c, className: e.header, colorScheme: i }),
|
|
11
|
+
/* @__PURE__ */ r("div", { className: e.content, children: [
|
|
12
|
+
/* @__PURE__ */ a("div", { className: e.tags, children: /* @__PURE__ */ a(
|
|
13
|
+
n,
|
|
23
14
|
{
|
|
24
|
-
activeTab:
|
|
25
|
-
tabs:
|
|
26
|
-
colorScheme:
|
|
15
|
+
activeTab: t,
|
|
16
|
+
tabs: s.tabs,
|
|
17
|
+
colorScheme: s.colorScheme,
|
|
27
18
|
onTabClick: o
|
|
28
19
|
}
|
|
29
20
|
) }),
|
|
30
|
-
|
|
21
|
+
t.image && /* @__PURE__ */ a("div", { className: e.imageWrap, children: /* @__PURE__ */ a("img", { src: t.image, alt: "Total Care", className: e.image }) })
|
|
31
22
|
] })
|
|
32
23
|
] }) });
|
|
33
24
|
};
|
|
34
25
|
export {
|
|
35
|
-
|
|
26
|
+
b as TotalCare
|
|
36
27
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),h=require("react"),y=require("../../components/ComplexTooltip/ComplexTooltip.cjs.js"),v=require("../../components/ComplexTooltip/components/ComplexTooltipContent/ComplexTooltipContent.cjs.js"),m=require("../../components/Button/Button.cjs.js"),f=require("../../components/Typography/Typography.cjs.js"),i=require("../../utils/cn/cn.cjs.js"),t=require("./typesOfTests.module.css.cjs.js"),r=25,C=({title:x,items:l,colorScheme:n,buttonLabel:c})=>{const[o,g]=h.useState(!1),[a,u]=h.useState(null),p=()=>g(s=>!s),T=()=>{u(null)};return e.jsxs("section",{className:t.default.root,"data-scheme":n,children:[a!==null&&e.jsx("div",{className:i.cn(t.default.popover,t.default.mobile),children:e.jsx(v.ComplexTooltipContent,{title:l[a].title,description:l[a].description,onClose:T,style:n,className:t.default.popoverContent})}),e.jsxs("div",{className:t.default.container,children:[e.jsx("div",{className:t.default.header,children:e.jsxs(f.Typography,{as:"h2",defaultVariant:"displayMd",mobileVariant:"headingLg",children:["(",x,")"]})}),e.jsx("div",{className:i.cn(t.default.content,!o&&l.length>r&&t.default.contentBlurred),children:(o?l:l.slice(0,r)).map((s,d)=>e.jsx("div",{className:i.cn(t.default.item,a===d&&t.default.selectedItem),onClick:()=>u(j=>j===d?null:d),children:e.jsx(y.ComplexTooltip,{title:s.title,description:s.description,style:"light",trigger:"hover",isBlurred:n==="dark",children:e.jsx(f.Typography,{as:"p",defaultVariant:"headingLg",mobileVariant:"headingXxs",children:s.title})})},s.title))}),l.length>r&&e.jsxs(e.Fragment,{children:[e.jsx("div",{className:i.cn(t.default.actions,t.default.desktop),children:e.jsxs(m.Button,{variant:n==="light"?"muted":"muted-invert",size:"lg",onClick:p,children:[o?"Hide":"View All"," ",c]})}),e.jsx("div",{className:i.cn(t.default.actions,t.default.mobile),children:e.jsxs(m.Button,{variant:n==="light"?"muted":"muted-invert",size:"md",onClick:p,children:[o?"Hide":"View All"," ",c]})})]})]})]})};exports.TypesOfTests=C;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { TColorScheme } from '../../types/common';
|
|
2
|
+
import { TTypesOfTestsItem } from './types';
|
|
3
|
+
|
|
4
|
+
export type TypesOfTestsProps = {
|
|
5
|
+
title: string;
|
|
6
|
+
items: Array<TTypesOfTestsItem>;
|
|
7
|
+
buttonLabel: string;
|
|
8
|
+
colorScheme: TColorScheme;
|
|
9
|
+
};
|
|
10
|
+
export declare const TypesOfTests: ({ title, items, colorScheme, buttonLabel }: TypesOfTestsProps) => import("react/jsx-runtime").JSX.Element;
|