@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
|
@@ -1,57 +1,58 @@
|
|
|
1
|
-
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsxs as c, jsx as i } from "react/jsx-runtime";
|
|
3
|
+
import { useEffect as p } from "react";
|
|
4
|
+
import b from "../../node_modules/swiper/modules/navigation.es.js";
|
|
5
|
+
import { Swiper as k, SwiperSlide as E } from "../../node_modules/swiper/swiper-react.es.js";
|
|
6
|
+
import { cn as m } from "../../utils/cn/cn.es.js";
|
|
7
|
+
import { useSwiper as P } from "../../utils/useSwiper/useSwiper.es.js";
|
|
8
|
+
import { ProgressButton as h } from "../ProgressButton/ProgressButton.es.js";
|
|
8
9
|
/* empty css */
|
|
9
10
|
/* empty css */
|
|
10
11
|
/* empty css */
|
|
11
12
|
import e from "./productGallery.module.css.es.js";
|
|
12
|
-
const
|
|
13
|
+
const R = [b], G = ({ slides: o, header: w, isTabbed: s = !1 }) => {
|
|
13
14
|
const {
|
|
14
15
|
swiper: r,
|
|
15
16
|
activeIndex: l,
|
|
16
|
-
isEnd:
|
|
17
|
-
setIsEnd:
|
|
18
|
-
hideNav:
|
|
19
|
-
handleSlideChange:
|
|
20
|
-
handlePrevClick:
|
|
17
|
+
isEnd: n,
|
|
18
|
+
setIsEnd: f,
|
|
19
|
+
hideNav: S,
|
|
20
|
+
handleSlideChange: C,
|
|
21
|
+
handlePrevClick: t,
|
|
21
22
|
handleNextClick: a,
|
|
22
|
-
onSwiperInit:
|
|
23
|
-
handleSwiperResize:
|
|
23
|
+
onSwiperInit: N,
|
|
24
|
+
handleSwiperResize: u,
|
|
24
25
|
handleSlideTo: d
|
|
25
|
-
} =
|
|
26
|
-
return
|
|
26
|
+
} = P();
|
|
27
|
+
return p(() => {
|
|
27
28
|
r == null || r.setProgress(0, 300);
|
|
28
|
-
}, [r]),
|
|
29
|
-
|
|
30
|
-
}, [
|
|
31
|
-
/* @__PURE__ */
|
|
29
|
+
}, [r]), p(() => {
|
|
30
|
+
o.length && d(0);
|
|
31
|
+
}, [o, d]), /* @__PURE__ */ c("div", { className: e.root, children: [
|
|
32
|
+
/* @__PURE__ */ c(
|
|
32
33
|
"div",
|
|
33
34
|
{
|
|
34
|
-
className:
|
|
35
|
-
[e.topRowTabbed]:
|
|
35
|
+
className: m(e.topRow, {
|
|
36
|
+
[e.topRowTabbed]: s
|
|
36
37
|
}),
|
|
37
38
|
children: [
|
|
38
|
-
/* @__PURE__ */ i
|
|
39
|
-
/* @__PURE__ */ i
|
|
39
|
+
/* @__PURE__ */ i("div", { className: e.headerWrapper, children: w }),
|
|
40
|
+
/* @__PURE__ */ i(
|
|
40
41
|
"div",
|
|
41
42
|
{
|
|
42
|
-
className:
|
|
43
|
-
[e.swiperControlsHidden]:
|
|
44
|
-
[e.swiperControlsTabbed]:
|
|
43
|
+
className: m(e.swiperControlsDesktop, {
|
|
44
|
+
[e.swiperControlsHidden]: S,
|
|
45
|
+
[e.swiperControlsTabbed]: s
|
|
45
46
|
}),
|
|
46
|
-
children: /* @__PURE__ */ i
|
|
47
|
-
|
|
47
|
+
children: /* @__PURE__ */ i(
|
|
48
|
+
h,
|
|
48
49
|
{
|
|
49
50
|
left: {
|
|
50
51
|
disabled: l <= 0,
|
|
51
|
-
onClick:
|
|
52
|
+
onClick: t
|
|
52
53
|
},
|
|
53
54
|
right: {
|
|
54
|
-
disabled:
|
|
55
|
+
disabled: n,
|
|
55
56
|
onClick: a
|
|
56
57
|
}
|
|
57
58
|
}
|
|
@@ -61,29 +62,29 @@ const k = [u], A = ({ slides: s, header: h, isTabbed: o = !1 }) => {
|
|
|
61
62
|
]
|
|
62
63
|
}
|
|
63
64
|
),
|
|
64
|
-
/* @__PURE__ */ i
|
|
65
|
-
|
|
65
|
+
/* @__PURE__ */ i("div", { className: e.carouselArea, children: /* @__PURE__ */ i(
|
|
66
|
+
k,
|
|
66
67
|
{
|
|
67
|
-
onSwiper:
|
|
68
|
-
onResize:
|
|
69
|
-
onSlideChange:
|
|
70
|
-
onReachEnd: () =>
|
|
71
|
-
modules:
|
|
68
|
+
onSwiper: N,
|
|
69
|
+
onResize: u,
|
|
70
|
+
onSlideChange: C,
|
|
71
|
+
onReachEnd: () => f(!0),
|
|
72
|
+
modules: R,
|
|
72
73
|
spaceBetween: 0,
|
|
73
74
|
slidesPerView: "auto",
|
|
74
75
|
className: e.swiper,
|
|
75
|
-
children:
|
|
76
|
+
children: o.map((v, g) => /* @__PURE__ */ i(E, { className: e.swiperSlide, children: v }, g))
|
|
76
77
|
}
|
|
77
78
|
) }),
|
|
78
|
-
/* @__PURE__ */ i
|
|
79
|
-
|
|
79
|
+
/* @__PURE__ */ i("div", { className: e.swiperControlsMobile, children: /* @__PURE__ */ i(
|
|
80
|
+
h,
|
|
80
81
|
{
|
|
81
82
|
left: {
|
|
82
83
|
disabled: l <= 0,
|
|
83
|
-
onClick:
|
|
84
|
+
onClick: t
|
|
84
85
|
},
|
|
85
86
|
right: {
|
|
86
|
-
disabled:
|
|
87
|
+
disabled: n,
|
|
87
88
|
onClick: a
|
|
88
89
|
}
|
|
89
90
|
}
|
|
@@ -91,5 +92,5 @@ const k = [u], A = ({ slides: s, header: h, isTabbed: o = !1 }) => {
|
|
|
91
92
|
] });
|
|
92
93
|
};
|
|
93
94
|
export {
|
|
94
|
-
|
|
95
|
+
G as ProductGallery
|
|
95
96
|
};
|
|
@@ -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"),n=require("../Button/Button.cjs.js"),s=require("../Typography/Typography.cjs.js"),l=require("./productGalleryCard.module.css.cjs.js"),p=({name:i,price:c,image:d,link:u,buttons:t})=>{const o=a=>{a.preventDefault(),a.stopPropagation()};return e.jsxs("a",{href:u,target:"_blank",rel:"noopener noreferrer",className:l.default.root,children:[e.jsxs("div",{className:l.default.productInfo,children:[e.jsx(s.Typography,{defaultVariant:"labelXl",mobileVariant:"labelLg",className:l.default.title,children:i}),e.jsx(s.Typography,{defaultVariant:"labelXl",mobileVariant:"labelLg",className:l.default.price,children:c})]}),e.jsx("img",{src:d,alt:"product image",className:l.default.productImage}),e.jsx("div",{onClick:o,className:l.default.buttonContainerDesktop,children:t.map((a,r)=>e.jsx(n.Button,{size:"sm",...a,children:a.label},r))}),e.jsx("div",{onClick:o,className:l.default.buttonContainerMobile,children:t.map((a,r)=>e.jsx(n.Button,{size:"xs",...a,children:a.label},r))})]})};exports.ProductGalleryCard=p;
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { Button as
|
|
3
|
-
import { Typography as
|
|
4
|
-
import
|
|
5
|
-
const
|
|
6
|
-
const
|
|
7
|
-
|
|
1
|
+
import { jsxs as t, jsx as a } from "react/jsx-runtime";
|
|
2
|
+
import { Button as n } from "../Button/Button.es.js";
|
|
3
|
+
import { Typography as s } from "../Typography/Typography.es.js";
|
|
4
|
+
import l from "./productGalleryCard.module.css.es.js";
|
|
5
|
+
const g = ({ name: c, price: m, image: d, link: p, buttons: i }) => {
|
|
6
|
+
const o = (e) => {
|
|
7
|
+
e.preventDefault(), e.stopPropagation();
|
|
8
8
|
};
|
|
9
|
-
return /* @__PURE__ */
|
|
10
|
-
/* @__PURE__ */
|
|
11
|
-
/* @__PURE__ */
|
|
12
|
-
/* @__PURE__ */
|
|
9
|
+
return /* @__PURE__ */ t("a", { href: p, target: "_blank", rel: "noopener noreferrer", className: l.root, children: [
|
|
10
|
+
/* @__PURE__ */ t("div", { className: l.productInfo, children: [
|
|
11
|
+
/* @__PURE__ */ a(s, { defaultVariant: "labelXl", mobileVariant: "labelLg", className: l.title, children: c }),
|
|
12
|
+
/* @__PURE__ */ a(s, { defaultVariant: "labelXl", mobileVariant: "labelLg", className: l.price, children: m })
|
|
13
13
|
] }),
|
|
14
|
-
/* @__PURE__ */
|
|
15
|
-
/* @__PURE__ */
|
|
16
|
-
/* @__PURE__ */
|
|
14
|
+
/* @__PURE__ */ a("img", { src: d, alt: "product image", className: l.productImage }),
|
|
15
|
+
/* @__PURE__ */ a("div", { onClick: o, className: l.buttonContainerDesktop, children: i.map((e, r) => /* @__PURE__ */ a(n, { size: "sm", ...e, children: e.label }, r)) }),
|
|
16
|
+
/* @__PURE__ */ a("div", { onClick: o, className: l.buttonContainerMobile, children: i.map((e, r) => /* @__PURE__ */ a(n, { size: "xs", ...e, children: e.label }, r)) })
|
|
17
17
|
] });
|
|
18
18
|
};
|
|
19
19
|
export {
|
|
20
|
-
|
|
20
|
+
g as ProductGalleryCard
|
|
21
21
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),c=require("../../utils/cn/cn.cjs.js"),n=require("../Button/Button.cjs.js"),h=require("../Label/Label.cjs.js"),y=require("../TypeBadge/TypeBadge.cjs.js"),t=require("../Typography/Typography.cjs.js"),a=require("./productListing.module.css.cjs.js"),g=({name:d,description:o,image:u,price:p,buttons:i,features:m,label:r})=>e.jsxs("section",{className:a.default.root,children:[e.jsxs("div",{className:a.default.imageWrapper,children:[e.jsx("img",{src:u,alt:d,className:a.default.image}),r&&e.jsx(h.Label,{color:"black",size:"sm",className:a.default.label,children:r})]}),e.jsxs("div",{className:a.default.content,children:[e.jsxs("div",{className:a.default.header,children:[e.jsx(t.Typography,{as:"h3",defaultVariant:"headingXl",mobileVariant:"headingMd",children:d}),e.jsx(t.Typography,{as:"p",defaultVariant:"bodySm",children:o})]}),e.jsx("div",{className:a.default.features,children:m.map((s,l)=>e.jsxs("div",{className:a.default.feature,children:[e.jsx(y.TypeBadge,{type:s.type},l),e.jsx(t.Typography,{as:"span",defaultVariant:"bodyMd",className:a.default.featureLabel,children:s.label})]},`${s.label}-${l}`))}),e.jsx("div",{className:a.default.divider}),e.jsx(t.Typography,{defaultVariant:"bodyLg",mobileVariant:"bodyMd",emphasis:!0,children:p}),e.jsx("div",{className:c.cn(a.default.actions,a.default.desktop),children:i.map((s,l)=>e.jsx(n.Button,{...s,size:"lg",children:s.label},l))}),e.jsx("div",{className:c.cn(a.default.actions,a.default.mobile),children:i.map((s,l)=>e.jsx(n.Button,{...s,size:"md",children:s.label},l))})]})]});exports.ProductListing=g;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { jsxs as r, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { cn as o } from "../../utils/cn/cn.es.js";
|
|
3
|
+
import { Button as t } from "../Button/Button.es.js";
|
|
4
|
+
import { Label as N } from "../Label/Label.es.js";
|
|
5
|
+
import { TypeBadge as b } from "../TypeBadge/TypeBadge.es.js";
|
|
6
|
+
import { Typography as s } from "../Typography/Typography.es.js";
|
|
7
|
+
import a from "./productListing.module.css.es.js";
|
|
8
|
+
const M = ({ name: d, description: n, image: p, price: h, buttons: m, features: f, label: c }) => /* @__PURE__ */ r("section", { className: a.root, children: [
|
|
9
|
+
/* @__PURE__ */ r("div", { className: a.imageWrapper, children: [
|
|
10
|
+
/* @__PURE__ */ e("img", { src: p, alt: d, className: a.image }),
|
|
11
|
+
c && /* @__PURE__ */ e(N, { color: "black", size: "sm", className: a.label, children: c })
|
|
12
|
+
] }),
|
|
13
|
+
/* @__PURE__ */ r("div", { className: a.content, children: [
|
|
14
|
+
/* @__PURE__ */ r("div", { className: a.header, children: [
|
|
15
|
+
/* @__PURE__ */ e(s, { as: "h3", defaultVariant: "headingXl", mobileVariant: "headingMd", children: d }),
|
|
16
|
+
/* @__PURE__ */ e(s, { as: "p", defaultVariant: "bodySm", children: n })
|
|
17
|
+
] }),
|
|
18
|
+
/* @__PURE__ */ e("div", { className: a.features, children: f.map((i, l) => /* @__PURE__ */ r("div", { className: a.feature, children: [
|
|
19
|
+
/* @__PURE__ */ e(b, { type: i.type }, l),
|
|
20
|
+
/* @__PURE__ */ e(s, { as: "span", defaultVariant: "bodyMd", className: a.featureLabel, children: i.label })
|
|
21
|
+
] }, `${i.label}-${l}`)) }),
|
|
22
|
+
/* @__PURE__ */ e("div", { className: a.divider }),
|
|
23
|
+
/* @__PURE__ */ e(s, { defaultVariant: "bodyLg", mobileVariant: "bodyMd", emphasis: !0, children: h }),
|
|
24
|
+
/* @__PURE__ */ e("div", { className: o(a.actions, a.desktop), children: m.map((i, l) => /* @__PURE__ */ e(t, { ...i, size: "lg", children: i.label }, l)) }),
|
|
25
|
+
/* @__PURE__ */ e("div", { className: o(a.actions, a.mobile), children: m.map((i, l) => /* @__PURE__ */ e(t, { ...i, size: "md", children: i.label }, l)) })
|
|
26
|
+
] })
|
|
27
|
+
] });
|
|
28
|
+
export {
|
|
29
|
+
M as ProductListing
|
|
30
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="productListing-module__root___wKekh",t="productListing-module__imageWrapper___1Ng1A",o="productListing-module__label___RmnsZ",_="productListing-module__image___c7PjO",i="productListing-module__content___8mUJb",r="productListing-module__header___0p-91",d="productListing-module__features___65QFU",s="productListing-module__feature___qDenI",n="productListing-module__divider___JqTo6",u="productListing-module__actions___Hvth9",a="productListing-module__mobile___q5MBB",c="productListing-module__desktop___tRyUV",l={root:e,imageWrapper:t,label:o,image:_,content:i,header:r,features:d,feature:s,divider:n,actions:u,mobile:a,desktop:c};exports.actions=u;exports.content=i;exports.default=l;exports.desktop=c;exports.divider=n;exports.feature=s;exports.features=d;exports.header=r;exports.image=_;exports.imageWrapper=t;exports.label=o;exports.mobile=a;exports.root=e;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
const t = "productListing-module__root___wKekh", _ = "productListing-module__imageWrapper___1Ng1A", e = "productListing-module__label___RmnsZ", o = "productListing-module__image___c7PjO", i = "productListing-module__content___8mUJb", s = "productListing-module__header___0p-91", d = "productListing-module__features___65QFU", n = "productListing-module__feature___qDenI", r = "productListing-module__divider___JqTo6", c = "productListing-module__actions___Hvth9", u = "productListing-module__mobile___q5MBB", a = "productListing-module__desktop___tRyUV", l = {
|
|
2
|
+
root: t,
|
|
3
|
+
imageWrapper: _,
|
|
4
|
+
label: e,
|
|
5
|
+
image: o,
|
|
6
|
+
content: i,
|
|
7
|
+
header: s,
|
|
8
|
+
features: d,
|
|
9
|
+
feature: n,
|
|
10
|
+
divider: r,
|
|
11
|
+
actions: c,
|
|
12
|
+
mobile: u,
|
|
13
|
+
desktop: a
|
|
14
|
+
};
|
|
15
|
+
export {
|
|
16
|
+
c as actions,
|
|
17
|
+
i as content,
|
|
18
|
+
l as default,
|
|
19
|
+
a as desktop,
|
|
20
|
+
r as divider,
|
|
21
|
+
n as feature,
|
|
22
|
+
d as features,
|
|
23
|
+
s as header,
|
|
24
|
+
o as image,
|
|
25
|
+
_ as imageWrapper,
|
|
26
|
+
e as label,
|
|
27
|
+
u as mobile,
|
|
28
|
+
t as root
|
|
29
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("react/jsx-runtime"),n=require("../Typography/Typography.cjs.js"),l=require("./assets/program_card_bg.png.cjs.js"),o=require("./programCard.module.css.cjs.js"),g=a=>{if(a.type==="coming_soon")return{title:{label:a.label||"Coming Soon",variant:"headingLg",mobileVariant:"headingXxs"}};if(a.type==="active"){const{label:e,image:r,link:i}=a;return{title:{label:e,variant:"displayXs",mobileVariant:"headingSm"},image:r||l.default,link:i}}return null};function m(a){const e=g(a);if(!e)return null;const r=e.link?"a":"div";return t.jsx(r,{href:e.link||"",className:o.default.card,"data-type":a.type,style:{backgroundImage:e.image?`url(${e.image})`:void 0},children:t.jsx(n.Typography,{as:"p",defaultVariant:e.title.variant,mobileVariant:e.title.mobileVariant,children:e.title.label})})}exports.ProgramCard=m;
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { Typography as n } from "../Typography/Typography.es.js";
|
|
3
|
+
import l from "./assets/program_card_bg.png.es.js";
|
|
4
|
+
import m from "./programCard.module.css.es.js";
|
|
5
|
+
const o = (i) => {
|
|
6
|
+
if (i.type === "coming_soon")
|
|
7
|
+
return {
|
|
8
|
+
title: {
|
|
9
|
+
label: i.label || "Coming Soon",
|
|
10
|
+
variant: "headingLg",
|
|
11
|
+
mobileVariant: "headingXxs"
|
|
12
|
+
}
|
|
13
|
+
};
|
|
14
|
+
if (i.type === "active") {
|
|
15
|
+
const { label: a, image: t, link: r } = i;
|
|
16
|
+
return {
|
|
17
|
+
title: {
|
|
18
|
+
label: a,
|
|
19
|
+
variant: "displayXs",
|
|
20
|
+
mobileVariant: "headingSm"
|
|
21
|
+
},
|
|
22
|
+
image: t || l,
|
|
23
|
+
link: r
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
|
+
return null;
|
|
27
|
+
};
|
|
28
|
+
function u(i) {
|
|
29
|
+
const a = o(i);
|
|
30
|
+
if (!a)
|
|
31
|
+
return null;
|
|
32
|
+
const t = a.link ? "a" : "div";
|
|
33
|
+
return /* @__PURE__ */ e(
|
|
34
|
+
t,
|
|
35
|
+
{
|
|
36
|
+
href: a.link || "",
|
|
37
|
+
className: m.card,
|
|
38
|
+
"data-type": i.type,
|
|
39
|
+
style: {
|
|
40
|
+
backgroundImage: a.image ? `url(${a.image})` : void 0
|
|
41
|
+
},
|
|
42
|
+
children: /* @__PURE__ */ e(n, { as: "p", defaultVariant: a.title.variant, mobileVariant: a.title.mobileVariant, children: a.title.label })
|
|
43
|
+
}
|
|
44
|
+
);
|
|
45
|
+
}
|
|
46
|
+
export {
|
|
47
|
+
u as ProgramCard
|
|
48
|
+
};
|