@zenpatient-org/healthspan-marketing-ui 0.1.20 → 0.1.21
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.es.js +70 -0
- package/dist/components/ComplexTooltip/complexTooltip.module.css.cjs.js +1 -0
- package/dist/components/ComplexTooltip/complexTooltip.module.css.es.js +17 -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.es.js +15 -15
- 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/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 +72 -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/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/ProductsDisplay/ProductsDisplay.cjs.js +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 +1 -1
- 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/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/package.json +205 -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
package/dist/index.cjs.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});;/* empty css */;/* empty css */;/* empty css */;/* empty css */;/* empty css */const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});;/* empty css */;/* empty css */;/* empty css */;/* empty css */;/* empty css */const e=require("./styles/typography.module.css.cjs.js");exports.typography=e.default;
|
package/dist/index.d.ts
CHANGED
package/dist/index.es.js
CHANGED
|
@@ -3,60 +3,7 @@
|
|
|
3
3
|
/* empty css */
|
|
4
4
|
/* empty css */
|
|
5
5
|
/* empty css */
|
|
6
|
-
import { default as
|
|
7
|
-
import { Button as i } from "./components/Button/Button.es.js";
|
|
8
|
-
import { Label as n } from "./components/Label/Label.es.js";
|
|
9
|
-
import { Tag as c } from "./components/Tag/Tag.es.js";
|
|
10
|
-
import { Tabs as T } from "./components/Tabs/Tabs.es.js";
|
|
11
|
-
import { TabsWithFade as y } from "./components/Tabs/TabsWithFade.es.js";
|
|
12
|
-
import { ETypeBadge as B, TypeBadge as b } from "./components/TypeBadge/TypeBadge.es.js";
|
|
13
|
-
import { ContentTabs as I } from "./components/ContentTabs/ContentTabs.es.js";
|
|
14
|
-
import { Icon as C } from "./components/Icon/Icon.es.js";
|
|
15
|
-
import { EIconName as F } from "./components/Icon/constants.es.js";
|
|
16
|
-
import { ProductGalleryCard as H } from "./components/ProductGalleryCard/ProductGalleryCard.es.js";
|
|
17
|
-
import { HighlightedTitle as k } from "./components/HighlightedTitle/HighlightedTitle.es.js";
|
|
18
|
-
import { Callback as D } from "./components/Callback/Callback.es.js";
|
|
19
|
-
import { IconButton as M } from "./components/IconButton/IconButton.es.js";
|
|
20
|
-
import { FilterMenu as U } from "./components/FilterMenu/FilterMenu.es.js";
|
|
21
|
-
import { InfiniteScroll as Y } from "./components/InfiniteScroll/InfiniteScroll.es.js";
|
|
22
|
-
import { ProductGallery as q } from "./components/ProductGallery/ProductGallery.es.js";
|
|
23
|
-
import { ProgressButton as z } from "./components/ProgressButton/ProgressButton.es.js";
|
|
24
|
-
import { TextButton as J } from "./components/TextButton/TextButton.es.js";
|
|
25
|
-
import { Typography as O } from "./components/Typography/Typography.es.js";
|
|
26
|
-
import { YourProtocol as R } from "./modules/YourProtocol/YourProtocol.es.js";
|
|
27
|
-
import { TotalCare as X } from "./modules/TotalCare/TotalCare.es.js";
|
|
28
|
-
import { ProductsDisplay as _ } from "./modules/ProductsDisplay/ProductsDisplay.es.js";
|
|
29
|
-
import { cn as oo } from "./utils/cn.es.js";
|
|
30
|
-
import { isHsIcon as to } from "./utils/isHsIcon.es.js";
|
|
31
|
-
import { formatUnits as po } from "./utils/formatUnits.es.js";
|
|
32
|
-
import { useSwiper as fo } from "./utils/useSwiper.es.js";
|
|
6
|
+
import { default as e } from "./styles/typography.module.css.es.js";
|
|
33
7
|
export {
|
|
34
|
-
|
|
35
|
-
D as Callback,
|
|
36
|
-
I as ContentTabs,
|
|
37
|
-
F as EIconName,
|
|
38
|
-
B as ETypeBadge,
|
|
39
|
-
U as FilterMenu,
|
|
40
|
-
k as HighlightedTitle,
|
|
41
|
-
C as Icon,
|
|
42
|
-
M as IconButton,
|
|
43
|
-
Y as InfiniteScroll,
|
|
44
|
-
n as Label,
|
|
45
|
-
q as ProductGallery,
|
|
46
|
-
H as ProductGalleryCard,
|
|
47
|
-
_ as ProductsDisplay,
|
|
48
|
-
z as ProgressButton,
|
|
49
|
-
T as Tabs,
|
|
50
|
-
y as TabsWithFade,
|
|
51
|
-
c as Tag,
|
|
52
|
-
J as TextButton,
|
|
53
|
-
X as TotalCare,
|
|
54
|
-
b as TypeBadge,
|
|
55
|
-
O as Typography,
|
|
56
|
-
R as YourProtocol,
|
|
57
|
-
oo as cn,
|
|
58
|
-
po as formatUnits,
|
|
59
|
-
to as isHsIcon,
|
|
60
|
-
x as typography,
|
|
61
|
-
fo as useSwiper
|
|
8
|
+
e as typography
|
|
62
9
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),a=require("../../components/Callback/Callback.cjs.js"),s=require("../../components/Icon/Icon.cjs.js"),n=require("../../components/Icon/constants.cjs.js"),r=require("../../components/Typography/Typography.cjs.js"),c=require("./callback.module.css.cjs.js"),l=[{icon:n.EIconName.HEART,description:"No hidden fees"},{icon:n.EIconName.PROTOCOLS,description:"Personalized Protocols"},{icon:n.EIconName.PACKAGE,description:"Free Shipping"},{icon:n.EIconName.MESSAGE,description:"Doctor & Clinical Team"}];function t({callback:i}){return e.jsx("div",{className:c.default.container,children:e.jsxs("div",{className:c.default.content,children:[e.jsx(a.Callback,{...i}),e.jsx("div",{className:c.default.icons,children:l.map(o=>e.jsxs("div",{className:c.default.icon,children:[e.jsx(s.Icon,{name:o.icon}),e.jsx(r.Typography,{defaultVariant:"labelXl",children:o.description})]},o.description))})]})})}exports.CallbackModule=t;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { jsx as i, jsxs as r } from "react/jsx-runtime";
|
|
2
|
+
import { Callback as a } from "../../components/Callback/Callback.es.js";
|
|
3
|
+
import { Icon as s } from "../../components/Icon/Icon.es.js";
|
|
4
|
+
import { EIconName as o } from "../../components/Icon/constants.es.js";
|
|
5
|
+
import { Typography as l } from "../../components/Typography/Typography.es.js";
|
|
6
|
+
import n from "./callback.module.css.es.js";
|
|
7
|
+
const t = [
|
|
8
|
+
{
|
|
9
|
+
icon: o.HEART,
|
|
10
|
+
description: "No hidden fees"
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
icon: o.PROTOCOLS,
|
|
14
|
+
description: "Personalized Protocols"
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
icon: o.PACKAGE,
|
|
18
|
+
description: "Free Shipping"
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
icon: o.MESSAGE,
|
|
22
|
+
description: "Doctor & Clinical Team"
|
|
23
|
+
}
|
|
24
|
+
];
|
|
25
|
+
function N({ callback: e }) {
|
|
26
|
+
return /* @__PURE__ */ i("div", { className: n.container, children: /* @__PURE__ */ r("div", { className: n.content, children: [
|
|
27
|
+
/* @__PURE__ */ i(a, { ...e }),
|
|
28
|
+
/* @__PURE__ */ i("div", { className: n.icons, children: t.map((c) => /* @__PURE__ */ r("div", { className: n.icon, children: [
|
|
29
|
+
/* @__PURE__ */ i(s, { name: c.icon }),
|
|
30
|
+
/* @__PURE__ */ i(l, { defaultVariant: "labelXl", children: c.description })
|
|
31
|
+
] }, c.description)) })
|
|
32
|
+
] }) });
|
|
33
|
+
}
|
|
34
|
+
export {
|
|
35
|
+
N as CallbackModule
|
|
36
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const n="callback-module__container___DtDyZ",c="callback-module__content___f04-o",o="callback-module__icons___bhRnM",t="callback-module__icon___Q2van",e={container:n,content:c,icons:o,icon:t};exports.container=n;exports.content=c;exports.default=e;exports.icon=t;exports.icons=o;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
const c = "callback-module__container___DtDyZ", n = "callback-module__content___f04-o", o = "callback-module__icons___bhRnM", _ = "callback-module__icon___Q2van", t = {
|
|
2
|
+
container: c,
|
|
3
|
+
content: n,
|
|
4
|
+
icons: o,
|
|
5
|
+
icon: _
|
|
6
|
+
};
|
|
7
|
+
export {
|
|
8
|
+
c as container,
|
|
9
|
+
n as content,
|
|
10
|
+
t as default,
|
|
11
|
+
_ as icon,
|
|
12
|
+
o as icons
|
|
13
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("react/jsx-runtime"),h=require("../../components/Icon/Icon.cjs.js"),u=require("../../components/Icon/constants.cjs.js"),p=require("../../components/HighlightedTitle/HighlightedTitle.cjs.js"),d=require("../../components/Typography/Typography.cjs.js"),s=require("../../utils/cn/cn.cjs.js"),f=require("./assets/company-logo.svg.cjs.js"),g=require("./components/ComparisonMobileView/ComparisonMobileView.cjs.js"),e=require("./comparison.module.css.cjs.js"),o=require("./utils.cjs.js"),y=({title:m,description:r,comparison:i})=>a.jsxs("div",{className:e.default.root,children:[a.jsxs("div",{className:e.default.header,children:[a.jsx(p.HighlightedTitle,{title:m,defaultVariant:"displayMd",mobileVariant:"headingXl"}),r&&a.jsx(d.Typography,{as:"p",defaultVariant:"bodyLg",mobileVariant:"bodySm",className:e.default.description,children:r})]}),a.jsxs("div",{className:e.default.table,style:{gridTemplateColumns:`minmax(220px, 1fr) repeat(${i.headers.length}, minmax(220px, 270px))`},children:[a.jsx("div",{className:s.cn(e.default.emptyCell,e.default.stickyCell)}),a.jsx("div",{className:s.cn(e.default.otherEmptyCells)}),a.jsx(d.Typography,{defaultVariant:"bodyXl",as:"div",className:s.cn(e.default.cell,e.default.cellFeature,e.default.stickyCell),weight:"medium",children:"Features"}),i.headers.map(l=>a.jsx(d.Typography,{as:"div",defaultVariant:i.headers.length>2?"bodyXl":"headingLg",className:s.cn(e.default.cell,o.isHealthspan(l)?e.default.cellHighlighted:""),weight:i.headers.length>2?"medium":"regular",children:o.isHealthspan(l)?a.jsx(f.default,{className:e.default.companyLogo}):l},l)),i.rows.map((l,c)=>a.jsxs(a.Fragment,{children:[a.jsx("div",{className:s.cn(e.default.cell,e.default.cellFeature,e.default.stickyCell),children:a.jsxs("div",{className:e.default.featureContent,children:[a.jsx(d.Typography,{defaultVariant:"bodyXl",weight:"medium",children:l.feature}),l.description&&a.jsx(d.Typography,{defaultVariant:"bodyXl",className:e.default.featureDescription,children:l.description})]})},`feature-${c}`),i.headers.map((j,n)=>{const t=l.values[n];return a.jsxs("div",{className:s.cn(e.default.cell,n?"":e.default.cellHighlighted),children:[(t==null?void 0:t.type)==="boolean"&&a.jsx("div",{className:s.cn(e.default.booleanValue,!n&&t.value?e.default.booleanValueHighlighted:""),children:a.jsx(h.Icon,{name:t.value?u.EIconName.CHECK:u.EIconName.CLOSE})}),(t==null?void 0:t.type)==="string"&&a.jsx(d.Typography,{defaultVariant:"bodyXl",weight:"medium",className:e.default.stringValue,children:t.value})]},`value-${c}-${n}`)})]})),a.jsx("div",{className:s.cn(e.default.emptyCell,e.default.stickyCell)}),a.jsx("div",{className:s.cn(e.default.otherEmptyCells)}),a.jsx("div",{className:e.default.gradientBackground})]}),a.jsx(g.ComparisonMobileView,{comparison:i,className:e.default.mobileTable})]});exports.Comparison=y;
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import { jsxs as s, jsx as a, Fragment as g } from "react/jsx-runtime";
|
|
2
|
+
import { Icon as u } from "../../components/Icon/Icon.es.js";
|
|
3
|
+
import { EIconName as c } from "../../components/Icon/constants.es.js";
|
|
4
|
+
import { HighlightedTitle as y } from "../../components/HighlightedTitle/HighlightedTitle.es.js";
|
|
5
|
+
import { Typography as m } from "../../components/Typography/Typography.es.js";
|
|
6
|
+
import { cn as t } from "../../utils/cn/cn.es.js";
|
|
7
|
+
import f from "./assets/company-logo.svg.es.js";
|
|
8
|
+
import { ComparisonMobileView as N } from "./components/ComparisonMobileView/ComparisonMobileView.es.js";
|
|
9
|
+
import e from "./comparison.module.css.es.js";
|
|
10
|
+
import { isHealthspan as h } from "./utils.es.js";
|
|
11
|
+
const T = ({ title: p, description: o, comparison: r }) => /* @__PURE__ */ s("div", { className: e.root, children: [
|
|
12
|
+
/* @__PURE__ */ s("div", { className: e.header, children: [
|
|
13
|
+
/* @__PURE__ */ a(y, { title: p, defaultVariant: "displayMd", mobileVariant: "headingXl" }),
|
|
14
|
+
o && /* @__PURE__ */ a(m, { as: "p", defaultVariant: "bodyLg", mobileVariant: "bodySm", className: e.description, children: o })
|
|
15
|
+
] }),
|
|
16
|
+
/* @__PURE__ */ s(
|
|
17
|
+
"div",
|
|
18
|
+
{
|
|
19
|
+
className: e.table,
|
|
20
|
+
style: {
|
|
21
|
+
gridTemplateColumns: `minmax(220px, 1fr) repeat(${r.headers.length}, minmax(220px, 270px))`
|
|
22
|
+
},
|
|
23
|
+
children: [
|
|
24
|
+
/* @__PURE__ */ a("div", { className: t(e.emptyCell, e.stickyCell) }),
|
|
25
|
+
/* @__PURE__ */ a("div", { className: t(e.otherEmptyCells) }),
|
|
26
|
+
/* @__PURE__ */ a(
|
|
27
|
+
m,
|
|
28
|
+
{
|
|
29
|
+
defaultVariant: "bodyXl",
|
|
30
|
+
as: "div",
|
|
31
|
+
className: t(e.cell, e.cellFeature, e.stickyCell),
|
|
32
|
+
weight: "medium",
|
|
33
|
+
children: "Features"
|
|
34
|
+
}
|
|
35
|
+
),
|
|
36
|
+
r.headers.map((l) => /* @__PURE__ */ a(
|
|
37
|
+
m,
|
|
38
|
+
{
|
|
39
|
+
as: "div",
|
|
40
|
+
defaultVariant: r.headers.length > 2 ? "bodyXl" : "headingLg",
|
|
41
|
+
className: t(e.cell, h(l) ? e.cellHighlighted : ""),
|
|
42
|
+
weight: r.headers.length > 2 ? "medium" : "regular",
|
|
43
|
+
children: h(l) ? /* @__PURE__ */ a(f, { className: e.companyLogo }) : l
|
|
44
|
+
},
|
|
45
|
+
l
|
|
46
|
+
)),
|
|
47
|
+
r.rows.map((l, n) => /* @__PURE__ */ s(g, { children: [
|
|
48
|
+
/* @__PURE__ */ a("div", { className: t(e.cell, e.cellFeature, e.stickyCell), children: /* @__PURE__ */ s("div", { className: e.featureContent, children: [
|
|
49
|
+
/* @__PURE__ */ a(m, { defaultVariant: "bodyXl", weight: "medium", children: l.feature }),
|
|
50
|
+
l.description && /* @__PURE__ */ a(m, { defaultVariant: "bodyXl", className: e.featureDescription, children: l.description })
|
|
51
|
+
] }) }, `feature-${n}`),
|
|
52
|
+
r.headers.map((v, d) => {
|
|
53
|
+
const i = l.values[d];
|
|
54
|
+
return /* @__PURE__ */ s(
|
|
55
|
+
"div",
|
|
56
|
+
{
|
|
57
|
+
className: t(e.cell, d ? "" : e.cellHighlighted),
|
|
58
|
+
children: [
|
|
59
|
+
(i == null ? void 0 : i.type) === "boolean" && /* @__PURE__ */ a(
|
|
60
|
+
"div",
|
|
61
|
+
{
|
|
62
|
+
className: t(
|
|
63
|
+
e.booleanValue,
|
|
64
|
+
!d && i.value ? e.booleanValueHighlighted : ""
|
|
65
|
+
),
|
|
66
|
+
children: /* @__PURE__ */ a(u, { name: i.value ? c.CHECK : c.CLOSE })
|
|
67
|
+
}
|
|
68
|
+
),
|
|
69
|
+
(i == null ? void 0 : i.type) === "string" && /* @__PURE__ */ a(m, { defaultVariant: "bodyXl", weight: "medium", className: e.stringValue, children: i.value })
|
|
70
|
+
]
|
|
71
|
+
},
|
|
72
|
+
`value-${n}-${d}`
|
|
73
|
+
);
|
|
74
|
+
})
|
|
75
|
+
] })),
|
|
76
|
+
/* @__PURE__ */ a("div", { className: t(e.emptyCell, e.stickyCell) }),
|
|
77
|
+
/* @__PURE__ */ a("div", { className: t(e.otherEmptyCells) }),
|
|
78
|
+
/* @__PURE__ */ a("div", { className: e.gradientBackground })
|
|
79
|
+
]
|
|
80
|
+
}
|
|
81
|
+
),
|
|
82
|
+
/* @__PURE__ */ a(N, { comparison: r, className: e.mobileTable })
|
|
83
|
+
] });
|
|
84
|
+
export {
|
|
85
|
+
T as Comparison
|
|
86
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const o=require("react");function r(C){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(C){for(const e in C)if(e!=="default"){const V=Object.getOwnPropertyDescriptor(C,e);Object.defineProperty(t,e,V.get?V:{enumerable:!0,get:()=>C[e]})}}return t.default=C,Object.freeze(t)}const n=r(o),H=C=>n.createElement("svg",{width:160,height:32,viewBox:"0 0 160 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",...C},n.createElement("path",{d:"M51.056 6.4704C50.1504 6.4704 49.3088 6.7456 48.288 7.3888C49.7216 7.8944 50.2624 9.1328 50.2624 11.6256V11.7376L45.4848 14.4064C41.6608 16.5568 39.888 18.1056 39.888 20.9536C39.888 23.3888 42.0736 25.0336 44.4128 25.0336C46.752 25.0336 48.8736 23.7088 50.2656 20.8256V24.7616H54.0608V10.6144C54.0608 7.7984 53.0496 6.4704 51.056 6.4704ZM50.2656 20.7584C48.8096 22.1632 47.6224 22.5664 46.2496 22.5664C44.9536 22.5664 43.5936 21.5552 43.5936 19.9744C43.5936 17.728 44.5088 16.272 47.5776 14.5024L50.2656 12.9472V20.7584ZM73.6512 21.888L73.6832 21.92C72.3072 24.2016 70.9344 25.0336 68.8096 25.0336C66.528 25.0336 64.9856 23.5072 64.9856 20.6656V0H68.8064V6.7392H73.1744V8.1056H68.8064V20.1216C68.8064 21.9008 69.9936 22.8608 71.3056 22.8608C72.0864 22.8608 72.9344 22.544 73.6512 21.888ZM25.52 13.3792C25.4432 13.9488 25.4048 14.528 25.4048 15.0976C25.4048 19.6256 28.496 22.1344 32.3072 22.1344C34.7136 22.1344 36.4928 21.072 37.7728 19.3536L37.8368 19.3856C37.1168 22.1024 34.496 25.0368 30.56 25.0368C25.44 25.0368 21.568 21.2064 21.568 15.9264C21.568 10.6464 24.5984 7.504 28.72 7.504H28.9088C27.2576 8.4928 26.2656 10.1952 25.7792 12.0928H33.968C33.6544 9.2512 31.6896 7.7216 28.9088 7.504C29.8464 6.9408 30.9888 6.4672 32.3328 6.4672C35.5168 6.4672 37.8688 9.3184 37.9328 13.3792H25.52ZM14.4704 0H18.5664V24.7616H14.4704V13.3824H4.096V24.7616H0V0H4.096V12.016H14.4704V0ZM48.288 7.3888L41.7888 11.5296V8.272C42.992 7.5424 44.5696 7.1008 46.1504 7.1008C47.0208 7.1008 47.7216 7.1904 48.288 7.3888ZM57.6096 0H61.4336V24.7616H57.6096V0ZM138.976 6.4704C138.07 6.4704 137.229 6.7456 136.208 7.3888C137.642 7.8944 138.182 9.1328 138.182 11.6256V11.7376L133.405 14.4064C129.581 16.5568 127.808 18.1056 127.808 20.9536C127.808 23.3888 129.994 25.0336 132.333 25.0336C134.672 25.0336 136.794 23.7088 138.186 20.8256V24.7616H141.981V10.6144C141.981 7.7984 140.97 6.4704 138.976 6.4704ZM138.186 20.7584C136.73 22.1632 135.542 22.5664 134.17 22.5664C132.874 22.5664 131.514 21.5552 131.514 19.9744C131.514 17.728 132.429 16.272 135.498 14.5024L138.186 12.9472V20.7584ZM136.208 7.3888L129.709 11.5296V8.272C130.912 7.5424 132.49 7.1008 134.07 7.1008C134.941 7.1008 135.642 7.1904 136.208 7.3888ZM160 10.8352V24.7616H156.176V11.3824C156.176 9.5104 155.395 8.432 153.834 8.432C152.896 8.432 151.35 8.6816 149.35 9.744V24.7584H145.526V6.7392H149.35V9.68C151.568 7.152 153.994 6.4672 155.904 6.4672C158.589 6.4672 160 8.0544 160 10.8352ZM119.162 6.4672C116.726 6.4672 114.24 7.4048 112.493 9.6832V6.7392H108.669V32H112.493V24.7232C113.056 24.88 113.728 25.0336 114.355 25.0336C116.01 25.0336 117.478 24.5952 118.696 23.7872C121.819 24.6256 126.144 20.5584 126.144 14.6592C126.144 9.9744 123.411 6.4672 119.162 6.4672ZM118.696 23.7856L112.496 21.9936V9.7152C113.651 9.0272 115.011 8.4672 116.323 8.4672C120.038 8.4672 122.323 11.1232 122.323 16.0256C122.323 19.4624 120.976 22.288 118.696 23.7856ZM93.6512 21.2128L99.888 24.5152C99.0432 24.8256 97.9904 25.0336 96.928 25.0336C95.8656 25.0336 94.6816 24.8256 93.6512 24.4192V21.2128ZM90.3776 10.5632V24.7616H86.5536V11.3824C86.5536 9.5104 85.7728 8.432 84.2112 8.432C83.2736 8.432 81.728 8.6816 79.728 9.744V24.7616H75.904V0H79.728V9.68C81.9456 7.152 84.3712 6.4672 86.2816 6.4672C88.9664 6.4672 90.3776 7.7824 90.3776 10.5632ZM105.824 20.4224C105.824 23.1712 103.872 25.0336 101.654 25.0336C101.155 25.0336 100.33 24.7648 99.8912 24.5152C101.328 23.952 102.326 22.9824 102.326 21.7344C102.326 20.3936 101.67 19.456 97.984 16.5824C94.4544 13.8336 93.7056 12.672 93.7056 10.9536C93.7056 8.2336 96.3296 6.3616 98.9216 7.392C97.8912 7.8912 97.2032 8.672 97.2032 9.7024C97.2032 10.8256 97.984 11.856 101.325 14.3552C104.698 16.8544 105.824 18.2048 105.824 20.4224ZM105.12 10.288L98.9216 7.392C99.9808 6.8928 101.258 6.4672 102.662 6.4672C103.536 6.4672 104.621 6.7392 105.12 7.0176V10.288Z",fill:"#FEF38E"}));exports.default=H;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as C from "react";
|
|
2
|
+
const H = (V) => /* @__PURE__ */ C.createElement("svg", { width: 160, height: 32, viewBox: "0 0 160 32", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...V }, /* @__PURE__ */ C.createElement("path", { d: "M51.056 6.4704C50.1504 6.4704 49.3088 6.7456 48.288 7.3888C49.7216 7.8944 50.2624 9.1328 50.2624 11.6256V11.7376L45.4848 14.4064C41.6608 16.5568 39.888 18.1056 39.888 20.9536C39.888 23.3888 42.0736 25.0336 44.4128 25.0336C46.752 25.0336 48.8736 23.7088 50.2656 20.8256V24.7616H54.0608V10.6144C54.0608 7.7984 53.0496 6.4704 51.056 6.4704ZM50.2656 20.7584C48.8096 22.1632 47.6224 22.5664 46.2496 22.5664C44.9536 22.5664 43.5936 21.5552 43.5936 19.9744C43.5936 17.728 44.5088 16.272 47.5776 14.5024L50.2656 12.9472V20.7584ZM73.6512 21.888L73.6832 21.92C72.3072 24.2016 70.9344 25.0336 68.8096 25.0336C66.528 25.0336 64.9856 23.5072 64.9856 20.6656V0H68.8064V6.7392H73.1744V8.1056H68.8064V20.1216C68.8064 21.9008 69.9936 22.8608 71.3056 22.8608C72.0864 22.8608 72.9344 22.544 73.6512 21.888ZM25.52 13.3792C25.4432 13.9488 25.4048 14.528 25.4048 15.0976C25.4048 19.6256 28.496 22.1344 32.3072 22.1344C34.7136 22.1344 36.4928 21.072 37.7728 19.3536L37.8368 19.3856C37.1168 22.1024 34.496 25.0368 30.56 25.0368C25.44 25.0368 21.568 21.2064 21.568 15.9264C21.568 10.6464 24.5984 7.504 28.72 7.504H28.9088C27.2576 8.4928 26.2656 10.1952 25.7792 12.0928H33.968C33.6544 9.2512 31.6896 7.7216 28.9088 7.504C29.8464 6.9408 30.9888 6.4672 32.3328 6.4672C35.5168 6.4672 37.8688 9.3184 37.9328 13.3792H25.52ZM14.4704 0H18.5664V24.7616H14.4704V13.3824H4.096V24.7616H0V0H4.096V12.016H14.4704V0ZM48.288 7.3888L41.7888 11.5296V8.272C42.992 7.5424 44.5696 7.1008 46.1504 7.1008C47.0208 7.1008 47.7216 7.1904 48.288 7.3888ZM57.6096 0H61.4336V24.7616H57.6096V0ZM138.976 6.4704C138.07 6.4704 137.229 6.7456 136.208 7.3888C137.642 7.8944 138.182 9.1328 138.182 11.6256V11.7376L133.405 14.4064C129.581 16.5568 127.808 18.1056 127.808 20.9536C127.808 23.3888 129.994 25.0336 132.333 25.0336C134.672 25.0336 136.794 23.7088 138.186 20.8256V24.7616H141.981V10.6144C141.981 7.7984 140.97 6.4704 138.976 6.4704ZM138.186 20.7584C136.73 22.1632 135.542 22.5664 134.17 22.5664C132.874 22.5664 131.514 21.5552 131.514 19.9744C131.514 17.728 132.429 16.272 135.498 14.5024L138.186 12.9472V20.7584ZM136.208 7.3888L129.709 11.5296V8.272C130.912 7.5424 132.49 7.1008 134.07 7.1008C134.941 7.1008 135.642 7.1904 136.208 7.3888ZM160 10.8352V24.7616H156.176V11.3824C156.176 9.5104 155.395 8.432 153.834 8.432C152.896 8.432 151.35 8.6816 149.35 9.744V24.7584H145.526V6.7392H149.35V9.68C151.568 7.152 153.994 6.4672 155.904 6.4672C158.589 6.4672 160 8.0544 160 10.8352ZM119.162 6.4672C116.726 6.4672 114.24 7.4048 112.493 9.6832V6.7392H108.669V32H112.493V24.7232C113.056 24.88 113.728 25.0336 114.355 25.0336C116.01 25.0336 117.478 24.5952 118.696 23.7872C121.819 24.6256 126.144 20.5584 126.144 14.6592C126.144 9.9744 123.411 6.4672 119.162 6.4672ZM118.696 23.7856L112.496 21.9936V9.7152C113.651 9.0272 115.011 8.4672 116.323 8.4672C120.038 8.4672 122.323 11.1232 122.323 16.0256C122.323 19.4624 120.976 22.288 118.696 23.7856ZM93.6512 21.2128L99.888 24.5152C99.0432 24.8256 97.9904 25.0336 96.928 25.0336C95.8656 25.0336 94.6816 24.8256 93.6512 24.4192V21.2128ZM90.3776 10.5632V24.7616H86.5536V11.3824C86.5536 9.5104 85.7728 8.432 84.2112 8.432C83.2736 8.432 81.728 8.6816 79.728 9.744V24.7616H75.904V0H79.728V9.68C81.9456 7.152 84.3712 6.4672 86.2816 6.4672C88.9664 6.4672 90.3776 7.7824 90.3776 10.5632ZM105.824 20.4224C105.824 23.1712 103.872 25.0336 101.654 25.0336C101.155 25.0336 100.33 24.7648 99.8912 24.5152C101.328 23.952 102.326 22.9824 102.326 21.7344C102.326 20.3936 101.67 19.456 97.984 16.5824C94.4544 13.8336 93.7056 12.672 93.7056 10.9536C93.7056 8.2336 96.3296 6.3616 98.9216 7.392C97.8912 7.8912 97.2032 8.672 97.2032 9.7024C97.2032 10.8256 97.984 11.856 101.325 14.3552C104.698 16.8544 105.824 18.2048 105.824 20.4224ZM105.12 10.288L98.9216 7.392C99.9808 6.8928 101.258 6.4672 102.662 6.4672C103.536 6.4672 104.621 6.7392 105.12 7.0176V10.288Z", fill: "#FEF38E" }));
|
|
3
|
+
export {
|
|
4
|
+
H as default
|
|
5
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="comparison-module__root___oxRMS",o="comparison-module__header___8n5Em",l="comparison-module__description___F7mAT",t="comparison-module__table___xo0kv",_="comparison-module__emptyCell___Z-HpK",a="comparison-module__otherEmptyCells___Lso-e",n="comparison-module__cell___9EubB",i="comparison-module__cellFeature___lLq8H",r="comparison-module__featureContent___Mrbek",c="comparison-module__featureDescription___8YGHq",s="comparison-module__cellHighlighted___P14Jz",u="comparison-module__booleanValue___-wG65",m="comparison-module__stringValue___-YalT",d="comparison-module__booleanValueHighlighted___NmSLw",p="comparison-module__gradientBackground___LjwhY",g="comparison-module__stickyCell___zXlQv",h="comparison-module__mobileTable___hxH2j",b={root:e,header:o,description:l,table:t,emptyCell:_,otherEmptyCells:a,cell:n,cellFeature:i,featureContent:r,featureDescription:c,cellHighlighted:s,booleanValue:u,stringValue:m,booleanValueHighlighted:d,gradientBackground:p,stickyCell:g,mobileTable:h};exports.booleanValue=u;exports.booleanValueHighlighted=d;exports.cell=n;exports.cellFeature=i;exports.cellHighlighted=s;exports.default=b;exports.description=l;exports.emptyCell=_;exports.featureContent=r;exports.featureDescription=c;exports.gradientBackground=p;exports.header=o;exports.mobileTable=h;exports.otherEmptyCells=a;exports.root=e;exports.stickyCell=g;exports.stringValue=m;exports.table=t;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
const e = "comparison-module__root___oxRMS", o = "comparison-module__header___8n5Em", l = "comparison-module__description___F7mAT", _ = "comparison-module__table___xo0kv", t = "comparison-module__emptyCell___Z-HpK", n = "comparison-module__otherEmptyCells___Lso-e", a = "comparison-module__cell___9EubB", c = "comparison-module__cellFeature___lLq8H", s = "comparison-module__featureContent___Mrbek", i = "comparison-module__featureDescription___8YGHq", r = "comparison-module__cellHighlighted___P14Jz", m = "comparison-module__booleanValue___-wG65", u = "comparison-module__stringValue___-YalT", d = "comparison-module__booleanValueHighlighted___NmSLw", p = "comparison-module__gradientBackground___LjwhY", g = "comparison-module__stickyCell___zXlQv", h = "comparison-module__mobileTable___hxH2j", b = {
|
|
2
|
+
root: e,
|
|
3
|
+
header: o,
|
|
4
|
+
description: l,
|
|
5
|
+
table: _,
|
|
6
|
+
emptyCell: t,
|
|
7
|
+
otherEmptyCells: n,
|
|
8
|
+
cell: a,
|
|
9
|
+
cellFeature: c,
|
|
10
|
+
featureContent: s,
|
|
11
|
+
featureDescription: i,
|
|
12
|
+
cellHighlighted: r,
|
|
13
|
+
booleanValue: m,
|
|
14
|
+
stringValue: u,
|
|
15
|
+
booleanValueHighlighted: d,
|
|
16
|
+
gradientBackground: p,
|
|
17
|
+
stickyCell: g,
|
|
18
|
+
mobileTable: h
|
|
19
|
+
};
|
|
20
|
+
export {
|
|
21
|
+
m as booleanValue,
|
|
22
|
+
d as booleanValueHighlighted,
|
|
23
|
+
a as cell,
|
|
24
|
+
c as cellFeature,
|
|
25
|
+
r as cellHighlighted,
|
|
26
|
+
b as default,
|
|
27
|
+
l as description,
|
|
28
|
+
t as emptyCell,
|
|
29
|
+
s as featureContent,
|
|
30
|
+
i as featureDescription,
|
|
31
|
+
p as gradientBackground,
|
|
32
|
+
o as header,
|
|
33
|
+
h as mobileTable,
|
|
34
|
+
n as otherEmptyCells,
|
|
35
|
+
e as root,
|
|
36
|
+
g as stickyCell,
|
|
37
|
+
u as stringValue,
|
|
38
|
+
_ as table
|
|
39
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),h=require("react"),r=require("../../../../components/Icon/constants.cjs.js"),f=require("../../../../components/FilterMenu/FilterMenu.cjs.js"),m=require("../../../../components/Icon/Icon.cjs.js"),c=require("../../../../components/Typography/Typography.cjs.js"),i=require("../../../../utils/cn/cn.cjs.js"),v=require("../../assets/company-logo.svg.cjs.js"),l=require("./comparisonMobileView.module.css.cjs.js"),d=s=>s?s.type==="string"?e.jsx(c.Typography,{defaultVariant:"bodyMd",as:"div",children:s.value}):e.jsx("div",{className:i.cn(l.default.iconCell,s.value?l.default.iconCellHighlighted:""),children:e.jsx(m.Icon,{name:s.value?r.EIconName.CHECK:r.EIconName.CLOSE,className:l.default.icon})}):null,p=s=>s.slice(1).map((t,a)=>({values:[{value:a+1,label:t}]})),g=({comparison:s,className:t})=>{const[a,o]=h.useState(1);return e.jsxs("div",{className:i.cn(l.default.root,t),children:[s.headers.length>2&&e.jsx("div",{children:e.jsx(f.FilterMenu,{options:p(s.headers),label:"Select comparison",selectedValue:a,onSelect:o})}),e.jsxs("div",{className:l.default.table,children:[e.jsxs("div",{className:l.default.headers,children:[e.jsx("div",{className:i.cn(l.default.cell,l.default.cellHighlighted),children:e.jsx(v.default,{className:l.default.companyLogo})}),e.jsx(c.Typography,{as:"div",defaultVariant:"bodyXl",className:l.default.cell,children:s.headers[a]})]}),s.rows.map((n,u)=>e.jsxs("div",{className:l.default.feature,children:[e.jsx(c.Typography,{defaultVariant:"bodyLg",as:"div",weight:"medium",children:n.feature}),e.jsxs("div",{className:l.default.row,children:[e.jsx("div",{className:l.default.cell,children:d(n.values[0])}),e.jsx("div",{className:l.default.cell,children:d(n.values[a])})]})]},`feature-${u}`))]})]})};exports.ComparisonMobileView=g;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsxs as r, jsx as a } from "react/jsx-runtime";
|
|
3
|
+
import { useState as v } from "react";
|
|
4
|
+
import { EIconName as n } from "../../../../components/Icon/constants.es.js";
|
|
5
|
+
import { FilterMenu as u } from "../../../../components/FilterMenu/FilterMenu.es.js";
|
|
6
|
+
import { Icon as f } from "../../../../components/Icon/Icon.es.js";
|
|
7
|
+
import { Typography as d } from "../../../../components/Typography/Typography.es.js";
|
|
8
|
+
import { cn as c } from "../../../../utils/cn/cn.es.js";
|
|
9
|
+
import p from "../../assets/company-logo.svg.es.js";
|
|
10
|
+
import e from "./comparisonMobileView.module.css.es.js";
|
|
11
|
+
const o = (l) => l ? l.type === "string" ? /* @__PURE__ */ a(d, { defaultVariant: "bodyMd", as: "div", children: l.value }) : /* @__PURE__ */ a("div", { className: c(e.iconCell, l.value ? e.iconCellHighlighted : ""), children: /* @__PURE__ */ a(f, { name: l.value ? n.CHECK : n.CLOSE, className: e.icon }) }) : null, g = (l) => l.slice(1).map((t, i) => ({
|
|
12
|
+
values: [{ value: i + 1, label: t }]
|
|
13
|
+
})), H = ({ comparison: l, className: t }) => {
|
|
14
|
+
const [i, m] = v(1);
|
|
15
|
+
return /* @__PURE__ */ r("div", { className: c(e.root, t), children: [
|
|
16
|
+
l.headers.length > 2 && /* @__PURE__ */ a("div", { children: /* @__PURE__ */ a(
|
|
17
|
+
u,
|
|
18
|
+
{
|
|
19
|
+
options: g(l.headers),
|
|
20
|
+
label: "Select comparison",
|
|
21
|
+
selectedValue: i,
|
|
22
|
+
onSelect: m
|
|
23
|
+
}
|
|
24
|
+
) }),
|
|
25
|
+
/* @__PURE__ */ r("div", { className: e.table, children: [
|
|
26
|
+
/* @__PURE__ */ r("div", { className: e.headers, children: [
|
|
27
|
+
/* @__PURE__ */ a("div", { className: c(e.cell, e.cellHighlighted), children: /* @__PURE__ */ a(p, { className: e.companyLogo }) }),
|
|
28
|
+
/* @__PURE__ */ a(d, { as: "div", defaultVariant: "bodyXl", className: e.cell, children: l.headers[i] })
|
|
29
|
+
] }),
|
|
30
|
+
l.rows.map((s, h) => /* @__PURE__ */ r("div", { className: e.feature, children: [
|
|
31
|
+
/* @__PURE__ */ a(d, { defaultVariant: "bodyLg", as: "div", weight: "medium", children: s.feature }),
|
|
32
|
+
/* @__PURE__ */ r("div", { className: e.row, children: [
|
|
33
|
+
/* @__PURE__ */ a("div", { className: e.cell, children: o(s.values[0]) }),
|
|
34
|
+
/* @__PURE__ */ a("div", { className: e.cell, children: o(s.values[i]) })
|
|
35
|
+
] })
|
|
36
|
+
] }, `feature-${h}`))
|
|
37
|
+
] })
|
|
38
|
+
] });
|
|
39
|
+
};
|
|
40
|
+
export {
|
|
41
|
+
H as ComparisonMobileView
|
|
42
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const o="comparisonMobileView-module__root___sSosN",e="comparisonMobileView-module__table___2J5UL",l="comparisonMobileView-module__headers___8E-5n",i="comparisonMobileView-module__feature___ErASb",_="comparisonMobileView-module__row___0rP2u",c="comparisonMobileView-module__cell___c-kqb",n="comparisonMobileView-module__cellHighlighted___dS4jy",t="comparisonMobileView-module__companyLogo___FOuDV",s="comparisonMobileView-module__iconCell___Agxvq",r="comparisonMobileView-module__iconCellHighlighted___xVD1a",a="comparisonMobileView-module__icon___hLpTA",d={root:o,table:e,headers:l,feature:i,row:_,cell:c,cellHighlighted:n,companyLogo:t,iconCell:s,iconCellHighlighted:r,icon:a};exports.cell=c;exports.cellHighlighted=n;exports.companyLogo=t;exports.default=d;exports.feature=i;exports.headers=l;exports.icon=a;exports.iconCell=s;exports.iconCellHighlighted=r;exports.root=o;exports.row=_;exports.table=e;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
const o = "comparisonMobileView-module__root___sSosN", e = "comparisonMobileView-module__table___2J5UL", l = "comparisonMobileView-module__headers___8E-5n", _ = "comparisonMobileView-module__feature___ErASb", i = "comparisonMobileView-module__row___0rP2u", c = "comparisonMobileView-module__cell___c-kqb", n = "comparisonMobileView-module__cellHighlighted___dS4jy", s = "comparisonMobileView-module__companyLogo___FOuDV", t = "comparisonMobileView-module__iconCell___Agxvq", a = "comparisonMobileView-module__iconCellHighlighted___xVD1a", r = "comparisonMobileView-module__icon___hLpTA", m = {
|
|
2
|
+
root: o,
|
|
3
|
+
table: e,
|
|
4
|
+
headers: l,
|
|
5
|
+
feature: _,
|
|
6
|
+
row: i,
|
|
7
|
+
cell: c,
|
|
8
|
+
cellHighlighted: n,
|
|
9
|
+
companyLogo: s,
|
|
10
|
+
iconCell: t,
|
|
11
|
+
iconCellHighlighted: a,
|
|
12
|
+
icon: r
|
|
13
|
+
};
|
|
14
|
+
export {
|
|
15
|
+
c as cell,
|
|
16
|
+
n as cellHighlighted,
|
|
17
|
+
s as companyLogo,
|
|
18
|
+
m as default,
|
|
19
|
+
_ as feature,
|
|
20
|
+
l as headers,
|
|
21
|
+
r as icon,
|
|
22
|
+
t as iconCell,
|
|
23
|
+
a as iconCellHighlighted,
|
|
24
|
+
o as root,
|
|
25
|
+
i as row,
|
|
26
|
+
e as table
|
|
27
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=e=>e.toLowerCase()==="healthspan";exports.isHealthspan=t;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),i=require("react"),c=require("../../components/InfiniteScroll/InfiniteScroll.cjs.js"),l=require("../../components/Typography/Typography.cjs.js"),s=require("../../utils/cn/cn.cjs.js"),a=require("./featuredIn.module.css.cjs.js");function o({media:n}){return e.jsx("div",{className:a.default.mediaFeaturedInBlock,children:n.filter(r=>!!r.logo).map(({logo:r,url:t},d)=>{const u=t?"a":"div";return e.jsx(u,{href:t,target:"_blank",rel:"noopener noreferrer",className:a.default.mediaFeaturedInImageContainer,children:e.jsx("div",{className:a.default.mediaFeaturedInImage,style:{backgroundImage:`url(${r})`}})},`${t}_${d}`)})})}function m({quote:n}){return e.jsx("div",{className:a.default.quoteFeaturedInBlock,children:e.jsxs(l.Typography,{as:"p",defaultVariant:"headingSm",mobileVariant:"headingXxs",className:a.default.quoteFeaturedInText,children:["“",n,"”"]})})}function f({button_label:n}){return e.jsx("a",{href:"https://app.gethealthspan.com",className:a.default.ctaFeaturedIn,children:e.jsx("p",{className:a.default.ctaFeaturedInText,children:n})})}function p({label:n,content:r}){return e.jsxs("div",{className:a.default.container,children:[e.jsx("p",{className:s.cn(a.default.title,a.default.customTitle),children:"(Featured In)"}),e.jsx(l.Typography,{as:"p",emphasis:!0,defaultVariant:"displayMd",className:s.cn(a.default.title,a.default.defaultTitle),children:"(Featured In)"}),e.jsx(l.Typography,{as:"p",emphasis:!0,defaultVariant:"labelMd",mobileVariant:"labelSm",className:a.default.label,children:n}),e.jsx(c.InfiniteScroll,{items:r,contentClassName:a.default.content,itemClassName:a.default.item,rootClassName:a.default.scrollRoot,renderItem:t=>e.jsxs(i.Fragment,{children:[t.type==="media"&&e.jsx(o,{media:t.media}),t.type==="quote"&&e.jsx(m,{quote:t.quote}),t.type==="cta"&&e.jsx(f,{button_label:t.button_label}),e.jsx("div",{className:a.default.spacer})]},t.type)})]})}exports.FeaturedIn=p;
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { jsxs as l, jsx as a } from "react/jsx-runtime";
|
|
2
|
+
import { Fragment as d } from "react";
|
|
3
|
+
import { InfiniteScroll as m } from "../../components/InfiniteScroll/InfiniteScroll.es.js";
|
|
4
|
+
import { Typography as i } from "../../components/Typography/Typography.es.js";
|
|
5
|
+
import { cn as s } from "../../utils/cn/cn.es.js";
|
|
6
|
+
import e from "./featuredIn.module.css.es.js";
|
|
7
|
+
function c({ media: r }) {
|
|
8
|
+
return /* @__PURE__ */ a("div", { className: e.mediaFeaturedInBlock, children: r.filter((n) => !!n.logo).map(({ logo: n, url: t }, o) => /* @__PURE__ */ a(
|
|
9
|
+
t ? "a" : "div",
|
|
10
|
+
{
|
|
11
|
+
href: t,
|
|
12
|
+
target: "_blank",
|
|
13
|
+
rel: "noopener noreferrer",
|
|
14
|
+
className: e.mediaFeaturedInImageContainer,
|
|
15
|
+
children: /* @__PURE__ */ a("div", { className: e.mediaFeaturedInImage, style: { backgroundImage: `url(${n})` } })
|
|
16
|
+
},
|
|
17
|
+
`${t}_${o}`
|
|
18
|
+
)) });
|
|
19
|
+
}
|
|
20
|
+
function u({ quote: r }) {
|
|
21
|
+
return /* @__PURE__ */ a("div", { className: e.quoteFeaturedInBlock, children: /* @__PURE__ */ l(i, { as: "p", defaultVariant: "headingSm", mobileVariant: "headingXxs", className: e.quoteFeaturedInText, children: [
|
|
22
|
+
"“",
|
|
23
|
+
r,
|
|
24
|
+
"”"
|
|
25
|
+
] }) });
|
|
26
|
+
}
|
|
27
|
+
function p({ button_label: r }) {
|
|
28
|
+
return /* @__PURE__ */ a("a", { href: "https://app.gethealthspan.com", className: e.ctaFeaturedIn, children: /* @__PURE__ */ a("p", { className: e.ctaFeaturedInText, children: r }) });
|
|
29
|
+
}
|
|
30
|
+
function y({ label: r, content: n }) {
|
|
31
|
+
return /* @__PURE__ */ l("div", { className: e.container, children: [
|
|
32
|
+
/* @__PURE__ */ a("p", { className: s(e.title, e.customTitle), children: "(Featured In)" }),
|
|
33
|
+
/* @__PURE__ */ a(i, { as: "p", emphasis: !0, defaultVariant: "displayMd", className: s(e.title, e.defaultTitle), children: "(Featured In)" }),
|
|
34
|
+
/* @__PURE__ */ a(i, { as: "p", emphasis: !0, defaultVariant: "labelMd", mobileVariant: "labelSm", className: e.label, children: r }),
|
|
35
|
+
/* @__PURE__ */ a(
|
|
36
|
+
m,
|
|
37
|
+
{
|
|
38
|
+
items: n,
|
|
39
|
+
contentClassName: e.content,
|
|
40
|
+
itemClassName: e.item,
|
|
41
|
+
rootClassName: e.scrollRoot,
|
|
42
|
+
renderItem: (t) => /* @__PURE__ */ l(d, { children: [
|
|
43
|
+
t.type === "media" && /* @__PURE__ */ a(c, { media: t.media }),
|
|
44
|
+
t.type === "quote" && /* @__PURE__ */ a(u, { quote: t.quote }),
|
|
45
|
+
t.type === "cta" && /* @__PURE__ */ a(p, { button_label: t.button_label }),
|
|
46
|
+
/* @__PURE__ */ a("div", { className: e.spacer })
|
|
47
|
+
] }, t.type)
|
|
48
|
+
}
|
|
49
|
+
)
|
|
50
|
+
] });
|
|
51
|
+
}
|
|
52
|
+
export {
|
|
53
|
+
y as FeaturedIn
|
|
54
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="featuredIn-module__container___WFzUN",t="featuredIn-module__label___RaWYk",a="featuredIn-module__scrollRoot___kFYfd",n="featuredIn-module__item___RskSp",u="featuredIn-module__title___LRXHK",o="featuredIn-module__customTitle___R5G6Z",_="featuredIn-module__defaultTitle___s7UOV",d="featuredIn-module__content___XhQ45",r="featuredIn-module__mediaFeaturedInBlock___t7JKi",l="featuredIn-module__mediaFeaturedInImageContainer___mUgw0",c="featuredIn-module__mediaFeaturedInImage___xjFq3",I="featuredIn-module__quoteFeaturedInBlock___Rykyr",m="featuredIn-module__quoteFeaturedInText___GvOUa",i="featuredIn-module__ctaFeaturedIn___zAyLU",s="featuredIn-module__ctaFeaturedInText___9XABT",F="featuredIn-module__spacer___uImPI",f={container:e,label:t,scrollRoot:a,item:n,title:u,customTitle:o,defaultTitle:_,content:d,mediaFeaturedInBlock:r,mediaFeaturedInImageContainer:l,mediaFeaturedInImage:c,quoteFeaturedInBlock:I,quoteFeaturedInText:m,ctaFeaturedIn:i,ctaFeaturedInText:s,spacer:F};exports.container=e;exports.content=d;exports.ctaFeaturedIn=i;exports.ctaFeaturedInText=s;exports.customTitle=o;exports.default=f;exports.defaultTitle=_;exports.item=n;exports.label=t;exports.mediaFeaturedInBlock=r;exports.mediaFeaturedInImage=c;exports.mediaFeaturedInImageContainer=l;exports.quoteFeaturedInBlock=I;exports.quoteFeaturedInText=m;exports.scrollRoot=a;exports.spacer=F;exports.title=u;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
const e = "featuredIn-module__container___WFzUN", t = "featuredIn-module__label___RaWYk", _ = "featuredIn-module__scrollRoot___kFYfd", a = "featuredIn-module__item___RskSp", n = "featuredIn-module__title___LRXHK", d = "featuredIn-module__customTitle___R5G6Z", o = "featuredIn-module__defaultTitle___s7UOV", u = "featuredIn-module__content___XhQ45", r = "featuredIn-module__mediaFeaturedInBlock___t7JKi", l = "featuredIn-module__mediaFeaturedInImageContainer___mUgw0", I = "featuredIn-module__mediaFeaturedInImage___xjFq3", c = "featuredIn-module__quoteFeaturedInBlock___Rykyr", m = "featuredIn-module__quoteFeaturedInText___GvOUa", s = "featuredIn-module__ctaFeaturedIn___zAyLU", i = "featuredIn-module__ctaFeaturedInText___9XABT", F = "featuredIn-module__spacer___uImPI", f = {
|
|
2
|
+
container: e,
|
|
3
|
+
label: t,
|
|
4
|
+
scrollRoot: _,
|
|
5
|
+
item: a,
|
|
6
|
+
title: n,
|
|
7
|
+
customTitle: d,
|
|
8
|
+
defaultTitle: o,
|
|
9
|
+
content: u,
|
|
10
|
+
mediaFeaturedInBlock: r,
|
|
11
|
+
mediaFeaturedInImageContainer: l,
|
|
12
|
+
mediaFeaturedInImage: I,
|
|
13
|
+
quoteFeaturedInBlock: c,
|
|
14
|
+
quoteFeaturedInText: m,
|
|
15
|
+
ctaFeaturedIn: s,
|
|
16
|
+
ctaFeaturedInText: i,
|
|
17
|
+
spacer: F
|
|
18
|
+
};
|
|
19
|
+
export {
|
|
20
|
+
e as container,
|
|
21
|
+
u as content,
|
|
22
|
+
s as ctaFeaturedIn,
|
|
23
|
+
i as ctaFeaturedInText,
|
|
24
|
+
d as customTitle,
|
|
25
|
+
f as default,
|
|
26
|
+
o as defaultTitle,
|
|
27
|
+
a as item,
|
|
28
|
+
t as label,
|
|
29
|
+
r as mediaFeaturedInBlock,
|
|
30
|
+
I as mediaFeaturedInImage,
|
|
31
|
+
l as mediaFeaturedInImageContainer,
|
|
32
|
+
c as quoteFeaturedInBlock,
|
|
33
|
+
m as quoteFeaturedInText,
|
|
34
|
+
_ as scrollRoot,
|
|
35
|
+
F as spacer,
|
|
36
|
+
n as title
|
|
37
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),o=require("../../components/HighlightedTitle/HighlightedTitle.cjs.js"),u=require("../../components/InfiniteScroll/InfiniteScroll.cjs.js"),c=require("../../components/Typography/Typography.cjs.js"),d=require("./components/FeatureGrid/FeatureGrid.cjs.js"),a=require("./featuresGallery.module.css.cjs.js"),h=({label:t,url:r})=>e.jsx("a",{href:r,className:a.default.label,children:e.jsx(c.Typography,{defaultVariant:"labelMd",emphasis:!0,mobileVariant:"labelSm",weight:"regular",children:t})}),m=({title:t,description:r,features:i,labels:n})=>e.jsxs("section",{className:a.default.root,children:[e.jsxs("div",{className:a.default.container,children:[e.jsxs("div",{className:a.default.header,children:[e.jsx(o.HighlightedTitle,{title:t,className:a.default.title,defaultVariant:"displayMd",mobileVariant:"headingXl"}),r&&e.jsx(c.Typography,{as:"p",defaultVariant:"bodyLg",mobileVariant:"bodySm",children:r})]}),e.jsxs("div",{className:a.default.features,children:[e.jsx("div",{className:a.default.primaryFeatures,children:i.slice(0,2).map((l,s)=>e.jsx(d.FeatureGrid,{feature:l,index:s,type:"primary"},l.label))}),i.length>2&&e.jsx("div",{className:a.default.secondaryFeatures,children:i.slice(2).map((l,s)=>e.jsx(d.FeatureGrid,{feature:l,index:s,type:"secondary"},l.label))})]})]}),n.length>0&&e.jsx("div",{className:a.default.footer,children:e.jsx(u.InfiniteScroll,{items:n,renderItem:h})})]});exports.FeaturesGallery=m;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { jsxs as i, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { HighlightedTitle as c } from "../../components/HighlightedTitle/HighlightedTitle.es.js";
|
|
3
|
+
import { InfiniteScroll as h } from "../../components/InfiniteScroll/InfiniteScroll.es.js";
|
|
4
|
+
import { Typography as o } from "../../components/Typography/Typography.es.js";
|
|
5
|
+
import { FeatureGrid as n } from "./components/FeatureGrid/FeatureGrid.es.js";
|
|
6
|
+
import a from "./featuresGallery.module.css.es.js";
|
|
7
|
+
const p = ({ label: t, url: l }) => /* @__PURE__ */ e("a", { href: l, className: a.label, children: /* @__PURE__ */ e(o, { defaultVariant: "labelMd", emphasis: !0, mobileVariant: "labelSm", weight: "regular", children: t }) }), v = ({ title: t, description: l, features: s, labels: d }) => /* @__PURE__ */ i("section", { className: a.root, children: [
|
|
8
|
+
/* @__PURE__ */ i("div", { className: a.container, children: [
|
|
9
|
+
/* @__PURE__ */ i("div", { className: a.header, children: [
|
|
10
|
+
/* @__PURE__ */ e(c, { title: t, className: a.title, defaultVariant: "displayMd", mobileVariant: "headingXl" }),
|
|
11
|
+
l && /* @__PURE__ */ e(o, { as: "p", defaultVariant: "bodyLg", mobileVariant: "bodySm", children: l })
|
|
12
|
+
] }),
|
|
13
|
+
/* @__PURE__ */ i("div", { className: a.features, children: [
|
|
14
|
+
/* @__PURE__ */ e("div", { className: a.primaryFeatures, children: s.slice(0, 2).map((r, m) => /* @__PURE__ */ e(n, { feature: r, index: m, type: "primary" }, r.label)) }),
|
|
15
|
+
s.length > 2 && /* @__PURE__ */ e("div", { className: a.secondaryFeatures, children: s.slice(2).map((r, m) => /* @__PURE__ */ e(n, { feature: r, index: m, type: "secondary" }, r.label)) })
|
|
16
|
+
] })
|
|
17
|
+
] }),
|
|
18
|
+
d.length > 0 && /* @__PURE__ */ e("div", { className: a.footer, children: /* @__PURE__ */ e(h, { items: d, renderItem: p }) })
|
|
19
|
+
] });
|
|
20
|
+
export {
|
|
21
|
+
v as FeaturesGallery
|
|
22
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),o=require("../../../../components/Icon/constants.cjs.js"),s=require("../../../../components/IconButton/IconButton.cjs.js"),c=require("../../../../components/Typography/Typography.cjs.js"),d=require("../../../../utils/cn/cn.cjs.js"),a=require("./FeatureGrid.module.css.cjs.js"),r={primary:{default:"headingXl",mobile:"headingXs"},secondary:{default:"headingSm",mobile:"headingXxs"}},u=({feature:t,className:i,index:l,type:n})=>e.jsxs("a",{className:d.cn(a.default.root,a.default[n],i),style:{backgroundImage:`url("${t.image}")`},href:t.url,children:[e.jsx("div",{className:a.default.smoke,"data-smoke":l%3}),e.jsxs("div",{className:a.default.content,children:[e.jsx(c.Typography,{as:"h3",defaultVariant:r[n].default,mobileVariant:r[n].mobile,className:a.default.label,children:t.label}),e.jsx("div",{className:a.default.desktop,children:e.jsx(s.IconButton,{iconName:o.EIconName.ARROW_FORWARD,variant:"muted-invert",size:n==="primary"?"lg":"md"})}),e.jsx("div",{className:a.default.mobile,children:e.jsx(s.IconButton,{iconName:o.EIconName.ARROW_FORWARD,variant:"muted-invert",size:"sm"})})]})]});exports.FeatureGrid=u;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { jsxs as r, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { EIconName as o } from "../../../../components/Icon/constants.es.js";
|
|
3
|
+
import { IconButton as l } from "../../../../components/IconButton/IconButton.es.js";
|
|
4
|
+
import { Typography as d } from "../../../../components/Typography/Typography.es.js";
|
|
5
|
+
import { cn as c } from "../../../../utils/cn/cn.es.js";
|
|
6
|
+
import a from "./FeatureGrid.module.css.es.js";
|
|
7
|
+
const s = {
|
|
8
|
+
primary: { default: "headingXl", mobile: "headingXs" },
|
|
9
|
+
secondary: { default: "headingSm", mobile: "headingXxs" }
|
|
10
|
+
}, R = ({ feature: m, className: n, index: t, type: i }) => /* @__PURE__ */ r("a", { className: c(a.root, a[i], n), style: { backgroundImage: `url("${m.image}")` }, href: m.url, children: [
|
|
11
|
+
/* @__PURE__ */ e("div", { className: a.smoke, "data-smoke": t % 3 }),
|
|
12
|
+
/* @__PURE__ */ r("div", { className: a.content, children: [
|
|
13
|
+
/* @__PURE__ */ e(
|
|
14
|
+
d,
|
|
15
|
+
{
|
|
16
|
+
as: "h3",
|
|
17
|
+
defaultVariant: s[i].default,
|
|
18
|
+
mobileVariant: s[i].mobile,
|
|
19
|
+
className: a.label,
|
|
20
|
+
children: m.label
|
|
21
|
+
}
|
|
22
|
+
),
|
|
23
|
+
/* @__PURE__ */ e("div", { className: a.desktop, children: /* @__PURE__ */ e(l, { iconName: o.ARROW_FORWARD, variant: "muted-invert", size: i === "primary" ? "lg" : "md" }) }),
|
|
24
|
+
/* @__PURE__ */ e("div", { className: a.mobile, children: /* @__PURE__ */ e(l, { iconName: o.ARROW_FORWARD, variant: "muted-invert", size: "sm" }) })
|
|
25
|
+
] })
|
|
26
|
+
] });
|
|
27
|
+
export {
|
|
28
|
+
R as FeatureGrid
|
|
29
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="FeatureGrid-module__root___gF05S",o="FeatureGrid-module__primary___iInww",t="FeatureGrid-module__secondary___PXhy5",_="FeatureGrid-module__smoke___ilSJj",r="FeatureGrid-module__content___LpANj",l="FeatureGrid-module__label___-yx-D",d="FeatureGrid-module__mobile___4rSXl",s="FeatureGrid-module__desktop___wvfEO",a={root:e,primary:o,secondary:t,smoke:_,content:r,label:l,mobile:d,desktop:s};exports.content=r;exports.default=a;exports.desktop=s;exports.label=l;exports.mobile=d;exports.primary=o;exports.root=e;exports.secondary=t;exports.smoke=_;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
const e = "FeatureGrid-module__root___gF05S", _ = "FeatureGrid-module__primary___iInww", o = "FeatureGrid-module__secondary___PXhy5", t = "FeatureGrid-module__smoke___ilSJj", r = "FeatureGrid-module__content___LpANj", d = "FeatureGrid-module__label___-yx-D", l = "FeatureGrid-module__mobile___4rSXl", s = "FeatureGrid-module__desktop___wvfEO", a = {
|
|
2
|
+
root: e,
|
|
3
|
+
primary: _,
|
|
4
|
+
secondary: o,
|
|
5
|
+
smoke: t,
|
|
6
|
+
content: r,
|
|
7
|
+
label: d,
|
|
8
|
+
mobile: l,
|
|
9
|
+
desktop: s
|
|
10
|
+
};
|
|
11
|
+
export {
|
|
12
|
+
r as content,
|
|
13
|
+
a as default,
|
|
14
|
+
s as desktop,
|
|
15
|
+
d as label,
|
|
16
|
+
l as mobile,
|
|
17
|
+
_ as primary,
|
|
18
|
+
e as root,
|
|
19
|
+
o as secondary,
|
|
20
|
+
t as smoke
|
|
21
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="featuresGallery-module__root___yTaXS",r="featuresGallery-module__container___pKoZa",a="featuresGallery-module__header___DTriD",t="featuresGallery-module__features___bl4GE",o="featuresGallery-module__primaryFeatures___vrd5c",_="featuresGallery-module__secondaryFeatures___IMF1X",l="featuresGallery-module__footer___pAZ39",s="featuresGallery-module__label___jasDl",u={root:e,container:r,header:a,features:t,primaryFeatures:o,secondaryFeatures:_,footer:l,label:s};exports.container=r;exports.default=u;exports.features=t;exports.footer=l;exports.header=a;exports.label=s;exports.primaryFeatures=o;exports.root=e;exports.secondaryFeatures=_;
|