@zenpatient-org/healthspan-marketing-ui 0.1.60 → 0.1.62
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/dist/components/TextInput/TextInput.cjs.js +1 -1
- package/dist/components/TextInput/TextInput.es.js +53 -52
- package/dist/components/Typography/Typography.d.ts +1 -1
- package/dist/healthspan-marketing-ui.css +1 -1
- package/dist/modules/ProgramDetails/ProgramDetails.cjs.js +1 -0
- package/dist/modules/ProgramDetails/ProgramDetails.d.ts +10 -0
- package/dist/modules/ProgramDetails/ProgramDetails.es.js +17 -0
- package/dist/modules/ProgramDetails/components/Features/Features.cjs.js +1 -0
- package/dist/modules/ProgramDetails/components/Features/Features.d.ts +7 -0
- package/dist/modules/ProgramDetails/components/Features/Features.es.js +34 -0
- package/dist/modules/ProgramDetails/components/Features/features.module.css.cjs.js +1 -0
- package/dist/modules/ProgramDetails/components/Features/features.module.css.es.js +21 -0
- package/dist/modules/ProgramDetails/components/Features/index.d.ts +1 -0
- package/dist/modules/ProgramDetails/index.d.ts +1 -0
- package/dist/modules/ProgramDetails/programDetails.module.css.cjs.js +1 -0
- package/dist/modules/ProgramDetails/programDetails.module.css.es.js +15 -0
- package/dist/modules/ProgramDetails/types.d.ts +8 -0
- package/dist/pageComponents/Banner/Banner.cjs.js +1 -0
- package/dist/pageComponents/Banner/Banner.d.ts +11 -0
- package/dist/pageComponents/Banner/Banner.es.js +15 -0
- package/dist/pageComponents/Banner/banner.module.css.cjs.js +1 -0
- package/dist/pageComponents/Banner/banner.module.css.es.js +9 -0
- package/dist/pageComponents/Banner/index.d.ts +1 -0
- package/dist/pageComponents/Footer/Footer.cjs.js +1 -1
- package/dist/pageComponents/Footer/Footer.es.js +31 -47
- package/dist/pageComponents/Footer/components/FooterAbout/FooterAbout.cjs.js +1 -1
- package/dist/pageComponents/Footer/components/FooterAbout/FooterAbout.es.js +22 -18
- package/dist/pageComponents/Footer/components/FooterAbout/footerAbout.module.css.cjs.js +1 -1
- package/dist/pageComponents/Footer/components/FooterAbout/footerAbout.module.css.es.js +6 -4
- package/dist/pageComponents/Footer/components/NewsLetter/NewsLetter.cjs.js +1 -1
- package/dist/pageComponents/Footer/components/NewsLetter/NewsLetter.es.js +26 -26
- package/dist/pageComponents/Footer/components/TopTreatmentsSlider/TopTreatmentsSlider.cjs.js +1 -0
- package/dist/pageComponents/Footer/components/TopTreatmentsSlider/TopTreatmentsSlider.d.ts +12 -0
- package/dist/pageComponents/Footer/components/TopTreatmentsSlider/TopTreatmentsSlider.es.js +81 -0
- package/dist/pageComponents/Footer/components/TopTreatmentsSlider/index.d.ts +1 -0
- package/dist/pageComponents/Footer/components/TopTreatmentsSlider/topTreatmentsSlider.module.css.cjs.js +1 -0
- package/dist/pageComponents/Footer/components/TopTreatmentsSlider/topTreatmentsSlider.module.css.es.js +37 -0
- package/dist/pageComponents/Footer/components/index.d.ts +1 -0
- package/dist/styles/typography.module.css.cjs.js +1 -1
- package/dist/styles/typography.module.css.es.js +94 -90
- package/package.json +11 -1
- package/dist/pageComponents/Footer/components/TopTreatmentsCard/TopTreatmentsCard.cjs.js +0 -1
- package/dist/pageComponents/Footer/components/TopTreatmentsCard/TopTreatmentsCard.d.ts +0 -11
- package/dist/pageComponents/Footer/components/TopTreatmentsCard/TopTreatmentsCard.es.js +0 -47
- package/dist/pageComponents/Footer/components/TopTreatmentsCard/index.d.ts +0 -1
- package/dist/pageComponents/Footer/components/TopTreatmentsCard/topTreatmentsCard.module.css.cjs.js +0 -1
- package/dist/pageComponents/Footer/components/TopTreatmentsCard/topTreatmentsCard.module.css.es.js +0 -33
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsxs as r, jsx as i } from "react/jsx-runtime";
|
|
3
|
+
import { useState as o, useMemo as V, useCallback as d } from "react";
|
|
4
|
+
import { Button as W } from "../../../../components/Button/Button.es.js";
|
|
5
|
+
import { EIconName as N } from "../../../../components/Icon/constants.es.js";
|
|
6
|
+
import { Typography as h } from "../../../../components/Typography/Typography.es.js";
|
|
7
|
+
import { Icon as x } from "../../../../components/Icon/Icon.es.js";
|
|
8
|
+
import n from "./topTreatmentsSlider.module.css.es.js";
|
|
9
|
+
const z = ({ title: b, products: e }) => {
|
|
10
|
+
const [l, f] = o(0), [t, m] = o(1), [s, c] = o(!1), I = V(() => {
|
|
11
|
+
if (e.length === 2) {
|
|
12
|
+
const g = (l - 1 + e.length) % e.length, v = (l + 1) % e.length;
|
|
13
|
+
return [e[g], e[l === g ? v : l], e[v]].filter(
|
|
14
|
+
(R, S, T) => T.findIndex((M) => M.name === R.name) === S
|
|
15
|
+
);
|
|
16
|
+
}
|
|
17
|
+
const a = (l - 1 + e.length) % e.length, A = (l + 1) % e.length;
|
|
18
|
+
return [e[a], e[l], e[A]];
|
|
19
|
+
}, [l, e]), w = d(() => {
|
|
20
|
+
s || (c(!0), m(2));
|
|
21
|
+
}, [s]), C = d(() => {
|
|
22
|
+
s || (c(!0), m(0));
|
|
23
|
+
}, [s]), k = () => {
|
|
24
|
+
t === 2 ? f((a) => (a + 1) % e.length) : t === 0 && f((a) => (a - 1 + e.length) % e.length), m(1), c(!1);
|
|
25
|
+
}, y = d(() => {
|
|
26
|
+
const a = e[l];
|
|
27
|
+
a != null && a.link && window.open(a.link, "_blank");
|
|
28
|
+
}, [e, l]);
|
|
29
|
+
return /* @__PURE__ */ r("div", { className: n.root, children: [
|
|
30
|
+
/* @__PURE__ */ i(
|
|
31
|
+
h,
|
|
32
|
+
{
|
|
33
|
+
as: "span",
|
|
34
|
+
defaultVariant: "labelSm",
|
|
35
|
+
mobileVariant: "labelXs",
|
|
36
|
+
weight: "regular",
|
|
37
|
+
emphasis: !0,
|
|
38
|
+
className: n.title,
|
|
39
|
+
children: b
|
|
40
|
+
}
|
|
41
|
+
),
|
|
42
|
+
/* @__PURE__ */ r("div", { className: n.sliderContainer, children: [
|
|
43
|
+
/* @__PURE__ */ i(
|
|
44
|
+
"div",
|
|
45
|
+
{
|
|
46
|
+
className: n.sliderTrack,
|
|
47
|
+
style: {
|
|
48
|
+
transform: `translateX(calc(-${t * 100}% - ${t * 10}px))`,
|
|
49
|
+
transition: s ? "transform 0.3s cubic-bezier(0.4,0,0.2,1)" : "none"
|
|
50
|
+
},
|
|
51
|
+
onTransitionEnd: k,
|
|
52
|
+
children: I.map((a) => /* @__PURE__ */ i("div", { className: n.slide, children: /* @__PURE__ */ r("div", { className: n.productCard, children: [
|
|
53
|
+
/* @__PURE__ */ i("div", { className: n.imageWrapper, children: /* @__PURE__ */ i("img", { src: a.image, alt: a.name, className: n.image }) }),
|
|
54
|
+
/* @__PURE__ */ r("div", { className: n.rightSide, children: [
|
|
55
|
+
/* @__PURE__ */ r("div", { className: n.headerSplit, children: [
|
|
56
|
+
/* @__PURE__ */ i("div", { className: n.nameContainer, children: /* @__PURE__ */ i(h, { defaultVariant: "headingXs", children: a.name }) }),
|
|
57
|
+
/* @__PURE__ */ i(
|
|
58
|
+
h,
|
|
59
|
+
{
|
|
60
|
+
defaultVariant: "bodyMd",
|
|
61
|
+
mobileVariant: "bodySm",
|
|
62
|
+
className: n.price,
|
|
63
|
+
children: a.price
|
|
64
|
+
}
|
|
65
|
+
)
|
|
66
|
+
] }),
|
|
67
|
+
/* @__PURE__ */ i("div", { className: n.actions, children: /* @__PURE__ */ i("div", { className: n.btnLearnMore, children: /* @__PURE__ */ i(W, { size: "sm", variant: "primary-invert", onClick: y, children: "Learn More" }) }) })
|
|
68
|
+
] })
|
|
69
|
+
] }) }, a.name))
|
|
70
|
+
}
|
|
71
|
+
),
|
|
72
|
+
/* @__PURE__ */ r("div", { className: n.switchers, children: [
|
|
73
|
+
/* @__PURE__ */ i("div", { className: n.arrowIcon, onClick: C, children: /* @__PURE__ */ i(x, { name: N.ARROW_BACK }) }),
|
|
74
|
+
/* @__PURE__ */ i("div", { className: n.arrowIcon, onClick: w, children: /* @__PURE__ */ i(x, { name: N.ARROW_FORWARD }) })
|
|
75
|
+
] })
|
|
76
|
+
] })
|
|
77
|
+
] });
|
|
78
|
+
};
|
|
79
|
+
export {
|
|
80
|
+
z as TopTreatmentsSlider
|
|
81
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { TopTreatmentsSlider } from './TopTreatmentsSlider';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="topTreatmentsSlider-module__root___gc0r9",t="topTreatmentsSlider-module__title___fS4-4",r="topTreatmentsSlider-module__sliderContainer___aBN2W",o="topTreatmentsSlider-module__sliderTrack___xWKWY",_="topTreatmentsSlider-module__slide___fg2k3",i="topTreatmentsSlider-module__productCard___jzwuf",n="topTreatmentsSlider-module__imageWrapper___hbllD",a="topTreatmentsSlider-module__image___b-BBl",d="topTreatmentsSlider-module__rightSide___fpsGN",s="topTreatmentsSlider-module__headerSplit___Xukme",l="topTreatmentsSlider-module__nameContainer___ezWY9",m="topTreatmentsSlider-module__price___VdKqf",c="topTreatmentsSlider-module__actions___cbNsH",p="topTreatmentsSlider-module__switchers___ESrkt",u="topTreatmentsSlider-module__btnLearnMore___AVinw",S="topTreatmentsSlider-module__arrowIcon___YyyvO",T={root:e,title:t,sliderContainer:r,sliderTrack:o,slide:_,productCard:i,imageWrapper:n,image:a,rightSide:d,headerSplit:s,nameContainer:l,price:m,actions:c,switchers:p,btnLearnMore:u,arrowIcon:S};exports.actions=c;exports.arrowIcon=S;exports.btnLearnMore=u;exports.default=T;exports.headerSplit=s;exports.image=a;exports.imageWrapper=n;exports.nameContainer=l;exports.price=m;exports.productCard=i;exports.rightSide=d;exports.root=e;exports.slide=_;exports.sliderContainer=r;exports.sliderTrack=o;exports.switchers=p;exports.title=t;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
const e = "topTreatmentsSlider-module__root___gc0r9", t = "topTreatmentsSlider-module__title___fS4-4", r = "topTreatmentsSlider-module__sliderContainer___aBN2W", _ = "topTreatmentsSlider-module__sliderTrack___xWKWY", o = "topTreatmentsSlider-module__slide___fg2k3", n = "topTreatmentsSlider-module__productCard___jzwuf", i = "topTreatmentsSlider-module__imageWrapper___hbllD", s = "topTreatmentsSlider-module__image___b-BBl", a = "topTreatmentsSlider-module__rightSide___fpsGN", d = "topTreatmentsSlider-module__headerSplit___Xukme", l = "topTreatmentsSlider-module__nameContainer___ezWY9", m = "topTreatmentsSlider-module__price___VdKqf", c = "topTreatmentsSlider-module__actions___cbNsH", p = "topTreatmentsSlider-module__switchers___ESrkt", S = "topTreatmentsSlider-module__btnLearnMore___AVinw", u = "topTreatmentsSlider-module__arrowIcon___YyyvO", T = {
|
|
2
|
+
root: e,
|
|
3
|
+
title: t,
|
|
4
|
+
sliderContainer: r,
|
|
5
|
+
sliderTrack: _,
|
|
6
|
+
slide: o,
|
|
7
|
+
productCard: n,
|
|
8
|
+
imageWrapper: i,
|
|
9
|
+
image: s,
|
|
10
|
+
rightSide: a,
|
|
11
|
+
headerSplit: d,
|
|
12
|
+
nameContainer: l,
|
|
13
|
+
price: m,
|
|
14
|
+
actions: c,
|
|
15
|
+
switchers: p,
|
|
16
|
+
btnLearnMore: S,
|
|
17
|
+
arrowIcon: u
|
|
18
|
+
};
|
|
19
|
+
export {
|
|
20
|
+
c as actions,
|
|
21
|
+
u as arrowIcon,
|
|
22
|
+
S as btnLearnMore,
|
|
23
|
+
T as default,
|
|
24
|
+
d as headerSplit,
|
|
25
|
+
s as image,
|
|
26
|
+
i as imageWrapper,
|
|
27
|
+
l as nameContainer,
|
|
28
|
+
m as price,
|
|
29
|
+
n as productCard,
|
|
30
|
+
a as rightSide,
|
|
31
|
+
e as root,
|
|
32
|
+
o as slide,
|
|
33
|
+
r as sliderContainer,
|
|
34
|
+
_ as sliderTrack,
|
|
35
|
+
p as switchers,
|
|
36
|
+
t as title
|
|
37
|
+
};
|
|
@@ -3,3 +3,4 @@ export { FooterLinksBlock } from './FooterLinksBlock';
|
|
|
3
3
|
export { NewsLetter } from './NewsLetter';
|
|
4
4
|
export { TextInput } from '../../../components/TextInput';
|
|
5
5
|
export { AccordionFooter } from './AccordionFooter';
|
|
6
|
+
export { TopTreatmentsSlider } from './TopTreatmentsSlider';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const _="typography-module__displayXl___dx4Dh",l="typography-module__displayLg___3BQI2",
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const _="typography-module__displayXl___dx4Dh",l="typography-module__displayLg___3BQI2",e="typography-module__displayMd___-bNBw",o="typography-module__displaySm___BswNI",m="typography-module__displayXs___jcmVJ",i="typography-module__headingXl___nAQFD",d="typography-module__headingLg___Idt-Z",a="typography-module__headingMd___c-Q0B",b="typography-module__headingSm___Q6zoR",y="typography-module__headingXs___fwDFl",p="typography-module__headingXxs___ghw1N",g="typography-module__preambleLg___wcfye",s="typography-module__preambleMd___CbYgI",n="typography-module__preambleSm___yKGjq",t="typography-module__bodyXl___m92AP",h="typography-module__bodyLg___Fz-Fo",r="typography-module__bodyMd___aH0Ph",X="typography-module__bodySm___4-7TJ",u="typography-module__bodyXs___uTpSs",c="typography-module__linkLg___xVngm",M="typography-module__linkMd___82MQD",S="typography-module__linkSm___LZ94B",L="typography-module__linkXs___-6Kd5",k="typography-module__labelXl___jmHEl",w="typography-module__labelLg___31xPj",x="typography-module__labelMd___e3ni6",I="typography-module__labelSm___AsYEH",f="typography-module__labelXs___zgCHL",z="typography-module__labelEmphasis___nbkyG",R="typography-module__weightRegular___F3ND2",E="typography-module__weightMedium___XpDfI",P="typography-module__mobile__displayXl___8eyMz",D="typography-module__mobile__displayLg___OxrWl",F="typography-module__mobile__displayMd___ZTVhR",J="typography-module__mobile__displaySm___P5do8",V="typography-module__mobile__displayXs___3nZMf",Z="typography-module__mobile__headingXl___fuylU",j="typography-module__mobile__headingLg___poZZo",q="typography-module__mobile__headingMd___UA7hK",A="typography-module__mobile__headingSm___9StAl",B="typography-module__mobile__headingXs___zRqq3",H="typography-module__mobile__headingXxs___I6k7k",Q="typography-module__mobile__preambleLg___bItII",K="typography-module__mobile__preambleMd___OsCic",N="typography-module__mobile__preambleSm___VVrnq",T="typography-module__mobile__bodyXl___WKi87",W="typography-module__mobile__bodyLg___JR512",v="typography-module__mobile__bodyMd___h5hFh",C="typography-module__mobile__bodySm___J3fX2",G="typography-module__mobile__bodyXs___rbvEo",O="typography-module__mobile__linkLg___JWgXg",U="typography-module__mobile__linkMd___Humhz",Y="typography-module__mobile__linkSm___pJwma",$="typography-module__mobile__linkXs___o01Lz",__="typography-module__mobile__labelXl___q4W0-",l_="typography-module__mobile__labelLg___1wguG",e_="typography-module__mobile__labelMd___PInk-",o_="typography-module__mobile__labelSm___yPUV0",m_="typography-module__mobile__labelXs___80zt0",i_={displayXl:_,displayLg:l,displayMd:e,displaySm:o,displayXs:m,headingXl:i,headingLg:d,headingMd:a,headingSm:b,headingXs:y,headingXxs:p,preambleLg:g,preambleMd:s,preambleSm:n,bodyXl:t,bodyLg:h,bodyMd:r,bodySm:X,bodyXs:u,linkLg:c,linkMd:M,linkSm:S,linkXs:L,labelXl:k,labelLg:w,labelMd:x,labelSm:I,labelXs:f,labelEmphasis:z,weightRegular:R,weightMedium:E,mobile__displayXl:P,mobile__displayLg:D,mobile__displayMd:F,mobile__displaySm:J,mobile__displayXs:V,mobile__headingXl:Z,mobile__headingLg:j,mobile__headingMd:q,mobile__headingSm:A,mobile__headingXs:B,mobile__headingXxs:H,mobile__preambleLg:Q,mobile__preambleMd:K,mobile__preambleSm:N,mobile__bodyXl:T,mobile__bodyLg:W,mobile__bodyMd:v,mobile__bodySm:C,mobile__bodyXs:G,mobile__linkLg:O,mobile__linkMd:U,mobile__linkSm:Y,mobile__linkXs:$,mobile__labelXl:__,mobile__labelLg:l_,mobile__labelMd:e_,mobile__labelSm:o_,mobile__labelXs:m_};exports.bodyLg=h;exports.bodyMd=r;exports.bodySm=X;exports.bodyXl=t;exports.bodyXs=u;exports.default=i_;exports.displayLg=l;exports.displayMd=e;exports.displaySm=o;exports.displayXl=_;exports.displayXs=m;exports.headingLg=d;exports.headingMd=a;exports.headingSm=b;exports.headingXl=i;exports.headingXs=y;exports.headingXxs=p;exports.labelEmphasis=z;exports.labelLg=w;exports.labelMd=x;exports.labelSm=I;exports.labelXl=k;exports.labelXs=f;exports.linkLg=c;exports.linkMd=M;exports.linkSm=S;exports.linkXs=L;exports.mobile__bodyLg=W;exports.mobile__bodyMd=v;exports.mobile__bodySm=C;exports.mobile__bodyXl=T;exports.mobile__bodyXs=G;exports.mobile__displayLg=D;exports.mobile__displayMd=F;exports.mobile__displaySm=J;exports.mobile__displayXl=P;exports.mobile__displayXs=V;exports.mobile__headingLg=j;exports.mobile__headingMd=q;exports.mobile__headingSm=A;exports.mobile__headingXl=Z;exports.mobile__headingXs=B;exports.mobile__headingXxs=H;exports.mobile__labelLg=l_;exports.mobile__labelMd=e_;exports.mobile__labelSm=o_;exports.mobile__labelXl=__;exports.mobile__labelXs=m_;exports.mobile__linkLg=O;exports.mobile__linkMd=U;exports.mobile__linkSm=Y;exports.mobile__linkXs=$;exports.mobile__preambleLg=Q;exports.mobile__preambleMd=K;exports.mobile__preambleSm=N;exports.preambleLg=g;exports.preambleMd=s;exports.preambleSm=n;exports.weightMedium=E;exports.weightRegular=R;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const _ = "typography-module__displayXl___dx4Dh", l = "typography-module__displayLg___3BQI2", o = "typography-module__displayMd___-bNBw", e = "typography-module__displaySm___BswNI", m = "typography-module__displayXs___jcmVJ", d = "typography-module__headingXl___nAQFD", i = "typography-module__headingLg___Idt-Z",
|
|
1
|
+
const _ = "typography-module__displayXl___dx4Dh", l = "typography-module__displayLg___3BQI2", o = "typography-module__displayMd___-bNBw", e = "typography-module__displaySm___BswNI", m = "typography-module__displayXs___jcmVJ", d = "typography-module__headingXl___nAQFD", i = "typography-module__headingLg___Idt-Z", a = "typography-module__headingMd___c-Q0B", y = "typography-module__headingSm___Q6zoR", p = "typography-module__headingXs___fwDFl", b = "typography-module__headingXxs___ghw1N", g = "typography-module__preambleLg___wcfye", s = "typography-module__preambleMd___CbYgI", t = "typography-module__preambleSm___yKGjq", n = "typography-module__bodyXl___m92AP", h = "typography-module__bodyLg___Fz-Fo", r = "typography-module__bodyMd___aH0Ph", u = "typography-module__bodySm___4-7TJ", c = "typography-module__bodyXs___uTpSs", X = "typography-module__linkLg___xVngm", M = "typography-module__linkMd___82MQD", L = "typography-module__linkSm___LZ94B", S = "typography-module__linkXs___-6Kd5", k = "typography-module__labelXl___jmHEl", w = "typography-module__labelLg___31xPj", x = "typography-module__labelMd___e3ni6", I = "typography-module__labelSm___AsYEH", z = "typography-module__labelXs___zgCHL", f = "typography-module__labelEmphasis___nbkyG", R = "typography-module__weightRegular___F3ND2", D = "typography-module__weightMedium___XpDfI", E = "typography-module__mobile__displayXl___8eyMz", F = "typography-module__mobile__displayLg___OxrWl", J = "typography-module__mobile__displayMd___ZTVhR", P = "typography-module__mobile__displaySm___P5do8", V = "typography-module__mobile__displayXs___3nZMf", Z = "typography-module__mobile__headingXl___fuylU", q = "typography-module__mobile__headingLg___poZZo", A = "typography-module__mobile__headingMd___UA7hK", B = "typography-module__mobile__headingSm___9StAl", H = "typography-module__mobile__headingXs___zRqq3", Q = "typography-module__mobile__headingXxs___I6k7k", j = "typography-module__mobile__preambleLg___bItII", K = "typography-module__mobile__preambleMd___OsCic", N = "typography-module__mobile__preambleSm___VVrnq", W = "typography-module__mobile__bodyXl___WKi87", C = "typography-module__mobile__bodyLg___JR512", G = "typography-module__mobile__bodyMd___h5hFh", T = "typography-module__mobile__bodySm___J3fX2", U = "typography-module__mobile__bodyXs___rbvEo", O = "typography-module__mobile__linkLg___JWgXg", Y = "typography-module__mobile__linkMd___Humhz", v = "typography-module__mobile__linkSm___pJwma", $ = "typography-module__mobile__linkXs___o01Lz", __ = "typography-module__mobile__labelXl___q4W0-", l_ = "typography-module__mobile__labelLg___1wguG", o_ = "typography-module__mobile__labelMd___PInk-", e_ = "typography-module__mobile__labelSm___yPUV0", m_ = "typography-module__mobile__labelXs___80zt0", d_ = {
|
|
2
2
|
displayXl: _,
|
|
3
3
|
displayLg: l,
|
|
4
4
|
displayMd: o,
|
|
@@ -6,114 +6,118 @@ const _ = "typography-module__displayXl___dx4Dh", l = "typography-module__displa
|
|
|
6
6
|
displayXs: m,
|
|
7
7
|
headingXl: d,
|
|
8
8
|
headingLg: i,
|
|
9
|
-
headingMd:
|
|
10
|
-
headingSm:
|
|
9
|
+
headingMd: a,
|
|
10
|
+
headingSm: y,
|
|
11
11
|
headingXs: p,
|
|
12
12
|
headingXxs: b,
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
13
|
+
preambleLg: g,
|
|
14
|
+
preambleMd: s,
|
|
15
|
+
preambleSm: t,
|
|
16
|
+
bodyXl: n,
|
|
17
|
+
bodyLg: h,
|
|
18
|
+
bodyMd: r,
|
|
19
|
+
bodySm: u,
|
|
20
|
+
bodyXs: c,
|
|
20
21
|
linkLg: X,
|
|
21
|
-
linkMd:
|
|
22
|
-
linkSm:
|
|
22
|
+
linkMd: M,
|
|
23
|
+
linkSm: L,
|
|
23
24
|
linkXs: S,
|
|
24
|
-
labelXl:
|
|
25
|
-
labelLg:
|
|
26
|
-
labelMd:
|
|
27
|
-
labelSm:
|
|
25
|
+
labelXl: k,
|
|
26
|
+
labelLg: w,
|
|
27
|
+
labelMd: x,
|
|
28
|
+
labelSm: I,
|
|
28
29
|
labelXs: z,
|
|
29
|
-
labelEmphasis:
|
|
30
|
+
labelEmphasis: f,
|
|
30
31
|
weightRegular: R,
|
|
31
|
-
weightMedium:
|
|
32
|
-
mobile__displayXl:
|
|
33
|
-
mobile__displayLg:
|
|
34
|
-
mobile__displayMd:
|
|
35
|
-
mobile__displaySm:
|
|
36
|
-
mobile__displayXs:
|
|
37
|
-
mobile__headingXl:
|
|
38
|
-
mobile__headingLg:
|
|
39
|
-
mobile__headingMd:
|
|
40
|
-
mobile__headingSm:
|
|
41
|
-
mobile__headingXs:
|
|
42
|
-
mobile__headingXxs:
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
32
|
+
weightMedium: D,
|
|
33
|
+
mobile__displayXl: E,
|
|
34
|
+
mobile__displayLg: F,
|
|
35
|
+
mobile__displayMd: J,
|
|
36
|
+
mobile__displaySm: P,
|
|
37
|
+
mobile__displayXs: V,
|
|
38
|
+
mobile__headingXl: Z,
|
|
39
|
+
mobile__headingLg: q,
|
|
40
|
+
mobile__headingMd: A,
|
|
41
|
+
mobile__headingSm: B,
|
|
42
|
+
mobile__headingXs: H,
|
|
43
|
+
mobile__headingXxs: Q,
|
|
44
|
+
mobile__preambleLg: j,
|
|
45
|
+
mobile__preambleMd: K,
|
|
46
|
+
mobile__preambleSm: N,
|
|
47
|
+
mobile__bodyXl: W,
|
|
48
|
+
mobile__bodyLg: C,
|
|
49
|
+
mobile__bodyMd: G,
|
|
50
|
+
mobile__bodySm: T,
|
|
51
|
+
mobile__bodyXs: U,
|
|
52
|
+
mobile__linkLg: O,
|
|
53
|
+
mobile__linkMd: Y,
|
|
54
|
+
mobile__linkSm: v,
|
|
55
|
+
mobile__linkXs: $,
|
|
56
|
+
mobile__labelXl: __,
|
|
57
|
+
mobile__labelLg: l_,
|
|
58
|
+
mobile__labelMd: o_,
|
|
59
|
+
mobile__labelSm: e_,
|
|
60
|
+
mobile__labelXs: m_
|
|
59
61
|
};
|
|
60
62
|
export {
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
63
|
+
h as bodyLg,
|
|
64
|
+
r as bodyMd,
|
|
65
|
+
u as bodySm,
|
|
66
|
+
n as bodyXl,
|
|
67
|
+
c as bodyXs,
|
|
68
|
+
d_ as default,
|
|
67
69
|
l as displayLg,
|
|
68
70
|
o as displayMd,
|
|
69
71
|
e as displaySm,
|
|
70
72
|
_ as displayXl,
|
|
71
73
|
m as displayXs,
|
|
72
74
|
i as headingLg,
|
|
73
|
-
|
|
74
|
-
|
|
75
|
+
a as headingMd,
|
|
76
|
+
y as headingSm,
|
|
75
77
|
d as headingXl,
|
|
76
78
|
p as headingXs,
|
|
77
79
|
b as headingXxs,
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
80
|
+
f as labelEmphasis,
|
|
81
|
+
w as labelLg,
|
|
82
|
+
x as labelMd,
|
|
83
|
+
I as labelSm,
|
|
84
|
+
k as labelXl,
|
|
83
85
|
z as labelXs,
|
|
84
86
|
X as linkLg,
|
|
85
|
-
|
|
86
|
-
|
|
87
|
+
M as linkMd,
|
|
88
|
+
L as linkSm,
|
|
87
89
|
S as linkXs,
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
90
|
+
C as mobile__bodyLg,
|
|
91
|
+
G as mobile__bodyMd,
|
|
92
|
+
T as mobile__bodySm,
|
|
93
|
+
W as mobile__bodyXl,
|
|
94
|
+
U as mobile__bodyXs,
|
|
95
|
+
F as mobile__displayLg,
|
|
96
|
+
J as mobile__displayMd,
|
|
97
|
+
P as mobile__displaySm,
|
|
98
|
+
E as mobile__displayXl,
|
|
99
|
+
V as mobile__displayXs,
|
|
100
|
+
q as mobile__headingLg,
|
|
101
|
+
A as mobile__headingMd,
|
|
102
|
+
B as mobile__headingSm,
|
|
103
|
+
Z as mobile__headingXl,
|
|
104
|
+
H as mobile__headingXs,
|
|
105
|
+
Q as mobile__headingXxs,
|
|
106
|
+
l_ as mobile__labelLg,
|
|
107
|
+
o_ as mobile__labelMd,
|
|
108
|
+
e_ as mobile__labelSm,
|
|
109
|
+
__ as mobile__labelXl,
|
|
110
|
+
m_ as mobile__labelXs,
|
|
111
|
+
O as mobile__linkLg,
|
|
112
|
+
Y as mobile__linkMd,
|
|
113
|
+
v as mobile__linkSm,
|
|
114
|
+
$ as mobile__linkXs,
|
|
115
|
+
j as mobile__preambleLg,
|
|
116
|
+
K as mobile__preambleMd,
|
|
117
|
+
N as mobile__preambleSm,
|
|
118
|
+
g as preambleLg,
|
|
119
|
+
s as preambleMd,
|
|
120
|
+
t as preambleSm,
|
|
121
|
+
D as weightMedium,
|
|
118
122
|
R as weightRegular
|
|
119
123
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zenpatient-org/healthspan-marketing-ui",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.62",
|
|
4
4
|
"description": "Design system",
|
|
5
5
|
"main": "dist/index.cjs.js",
|
|
6
6
|
"module": "dist/index.es.js",
|
|
@@ -496,6 +496,11 @@
|
|
|
496
496
|
"import": "./dist/modules/WhatIs/WhatIs.es.js",
|
|
497
497
|
"require": "./dist/modules/WhatIs/WhatIs.cjs.js"
|
|
498
498
|
},
|
|
499
|
+
"./ProgramDetails": {
|
|
500
|
+
"types": "./dist/modules/ProgramDetails/index.d.ts",
|
|
501
|
+
"import": "./dist/modules/ProgramDetails/ProgramDetails.es.js",
|
|
502
|
+
"require": "./dist/modules/ProgramDetails/ProgramDetails.cjs.js"
|
|
503
|
+
},
|
|
499
504
|
"./Bubbles": {
|
|
500
505
|
"types": "./dist/pageComponents/Bubbles/Bubbles.d.ts",
|
|
501
506
|
"import": "./dist/pageComponents/Bubbles/Bubbles.es.js",
|
|
@@ -556,6 +561,11 @@
|
|
|
556
561
|
"import": "./dist/pageComponents/HowItWorksHero/HowItWorksHero.es.js",
|
|
557
562
|
"require": "./dist/pageComponents/HowItWorksHero/HowItWorksHero.cjs.js"
|
|
558
563
|
},
|
|
564
|
+
"./Banner": {
|
|
565
|
+
"types": "./dist/pageComponents/Banner/Banner.d.ts",
|
|
566
|
+
"import": "./dist/pageComponents/Banner/Banner.es.js",
|
|
567
|
+
"require": "./dist/pageComponents/Banner/Banner.cjs.js"
|
|
568
|
+
},
|
|
559
569
|
"./TextBlockAnimated": {
|
|
560
570
|
"types": "./dist/modules/TextBlockAnimated/TextBlockAnimated.d.ts",
|
|
561
571
|
"import": "./dist/modules/TextBlockAnimated/TextBlockAnimated.es.js",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),m=require("../../../../components/Button/Button.cjs.js"),n=require("../../../../components/Icon/constants.cjs.js"),s=require("../../../../components/Typography/Typography.cjs.js"),t=require("../../../../components/Icon/Icon.cjs.js"),a=require("./topTreatmentsCard.module.css.cjs.js"),h=({title:l,image:i,name:r,price:c,onPrev:d,onNext:o,onLearnMore:u})=>e.jsxs("div",{className:a.default.root,children:[e.jsx(s.Typography,{as:"span",defaultVariant:"labelSm",mobileVariant:"labelXs",weight:"regular",emphasis:!0,className:a.default.title,children:l}),e.jsxs("div",{className:a.default.productCard,children:[e.jsx("img",{src:i,alt:r,className:a.default.image}),e.jsxs("div",{className:a.default.rightSide,children:[e.jsx("div",{className:a.default.productInfo,children:e.jsx("div",{className:a.default.productInfoHeader,children:e.jsxs("div",{className:a.default.headerSplit,children:[e.jsx("div",{className:a.default.nameContainer,children:e.jsx(s.Typography,{defaultVariant:"headingXs",children:r})}),e.jsx(s.Typography,{defaultVariant:"bodyMd",mobileVariant:"bodySm",className:a.default.price,children:c})]})})}),e.jsxs("div",{className:a.default.actions,children:[e.jsx("div",{className:a.default.btnLearnMore,children:e.jsx(m.Button,{size:"sm",variant:"primary-invert",onClick:u,children:"Learn More"})}),e.jsxs("div",{className:a.default.switchers,children:[e.jsx("div",{className:a.default.arrowIcon,onClick:d,children:e.jsx(t.Icon,{name:n.EIconName.ARROW_BACK})}),e.jsx("div",{className:a.default.arrowIcon,onClick:o,children:e.jsx(t.Icon,{name:n.EIconName.ARROW_FORWARD})})]})]})]})]})]});exports.TopTreatmentsCard=h;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
type TTopTreatmentsCardProps = {
|
|
2
|
-
title: string;
|
|
3
|
-
image: string;
|
|
4
|
-
name: string;
|
|
5
|
-
price: string;
|
|
6
|
-
onPrev: () => void;
|
|
7
|
-
onNext: () => void;
|
|
8
|
-
onLearnMore: () => void;
|
|
9
|
-
};
|
|
10
|
-
export declare const TopTreatmentsCard: ({ title, image, name, price, onPrev, onNext, onLearnMore, }: TTopTreatmentsCardProps) => import("react/jsx-runtime").JSX.Element;
|
|
11
|
-
export {};
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import { jsxs as r, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { Button as p } from "../../../../components/Button/Button.es.js";
|
|
3
|
-
import { EIconName as l } from "../../../../components/Icon/constants.es.js";
|
|
4
|
-
import { Typography as i } from "../../../../components/Typography/Typography.es.js";
|
|
5
|
-
import { Icon as c } from "../../../../components/Icon/Icon.es.js";
|
|
6
|
-
import a from "./topTreatmentsCard.module.css.es.js";
|
|
7
|
-
const C = ({
|
|
8
|
-
title: n,
|
|
9
|
-
image: d,
|
|
10
|
-
name: s,
|
|
11
|
-
price: o,
|
|
12
|
-
onPrev: m,
|
|
13
|
-
onNext: t,
|
|
14
|
-
onLearnMore: h
|
|
15
|
-
}) => /* @__PURE__ */ r("div", { className: a.root, children: [
|
|
16
|
-
/* @__PURE__ */ e(
|
|
17
|
-
i,
|
|
18
|
-
{
|
|
19
|
-
as: "span",
|
|
20
|
-
defaultVariant: "labelSm",
|
|
21
|
-
mobileVariant: "labelXs",
|
|
22
|
-
weight: "regular",
|
|
23
|
-
emphasis: !0,
|
|
24
|
-
className: a.title,
|
|
25
|
-
children: n
|
|
26
|
-
}
|
|
27
|
-
),
|
|
28
|
-
/* @__PURE__ */ r("div", { className: a.productCard, children: [
|
|
29
|
-
/* @__PURE__ */ e("img", { src: d, alt: s, className: a.image }),
|
|
30
|
-
/* @__PURE__ */ r("div", { className: a.rightSide, children: [
|
|
31
|
-
/* @__PURE__ */ e("div", { className: a.productInfo, children: /* @__PURE__ */ e("div", { className: a.productInfoHeader, children: /* @__PURE__ */ r("div", { className: a.headerSplit, children: [
|
|
32
|
-
/* @__PURE__ */ e("div", { className: a.nameContainer, children: /* @__PURE__ */ e(i, { defaultVariant: "headingXs", children: s }) }),
|
|
33
|
-
/* @__PURE__ */ e(i, { defaultVariant: "bodyMd", mobileVariant: "bodySm", className: a.price, children: o })
|
|
34
|
-
] }) }) }),
|
|
35
|
-
/* @__PURE__ */ r("div", { className: a.actions, children: [
|
|
36
|
-
/* @__PURE__ */ e("div", { className: a.btnLearnMore, children: /* @__PURE__ */ e(p, { size: "sm", variant: "primary-invert", onClick: h, children: "Learn More" }) }),
|
|
37
|
-
/* @__PURE__ */ r("div", { className: a.switchers, children: [
|
|
38
|
-
/* @__PURE__ */ e("div", { className: a.arrowIcon, onClick: m, children: /* @__PURE__ */ e(c, { name: l.ARROW_BACK }) }),
|
|
39
|
-
/* @__PURE__ */ e("div", { className: a.arrowIcon, onClick: t, children: /* @__PURE__ */ e(c, { name: l.ARROW_FORWARD }) })
|
|
40
|
-
] })
|
|
41
|
-
] })
|
|
42
|
-
] })
|
|
43
|
-
] })
|
|
44
|
-
] });
|
|
45
|
-
export {
|
|
46
|
-
C as TopTreatmentsCard
|
|
47
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { TopTreatmentsCard } from './TopTreatmentsCard';
|
package/dist/pageComponents/Footer/components/TopTreatmentsCard/topTreatmentsCard.module.css.cjs.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t="topTreatmentsCard-module__root___XT7oM",e="topTreatmentsCard-module__title___HmMp1",o="topTreatmentsCard-module__productCard___GUeYS",r="topTreatmentsCard-module__image___CMBE0",_="topTreatmentsCard-module__rightSide___YV44-",n="topTreatmentsCard-module__productInfo___4KrYR",a="topTreatmentsCard-module__productInfoHeader___Ietzc",d="topTreatmentsCard-module__headerSplit___j7jGh",s="topTreatmentsCard-module__nameContainer___-scSS",c="topTreatmentsCard-module__price___6wpTo",i="topTreatmentsCard-module__actions___ZYREi",m="topTreatmentsCard-module__switchers___4rS0s",p="topTreatmentsCard-module__btnLearnMore___3nb1-",u="topTreatmentsCard-module__arrowIcon___Jnz-F",l={root:t,title:e,productCard:o,image:r,rightSide:_,productInfo:n,productInfoHeader:a,headerSplit:d,nameContainer:s,price:c,actions:i,switchers:m,btnLearnMore:p,arrowIcon:u};exports.actions=i;exports.arrowIcon=u;exports.btnLearnMore=p;exports.default=l;exports.headerSplit=d;exports.image=r;exports.nameContainer=s;exports.price=c;exports.productCard=o;exports.productInfo=n;exports.productInfoHeader=a;exports.rightSide=_;exports.root=t;exports.switchers=m;exports.title=e;
|
package/dist/pageComponents/Footer/components/TopTreatmentsCard/topTreatmentsCard.module.css.es.js
DELETED
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
const t = "topTreatmentsCard-module__root___XT7oM", e = "topTreatmentsCard-module__title___HmMp1", o = "topTreatmentsCard-module__productCard___GUeYS", r = "topTreatmentsCard-module__image___CMBE0", _ = "topTreatmentsCard-module__rightSide___YV44-", n = "topTreatmentsCard-module__productInfo___4KrYR", a = "topTreatmentsCard-module__productInfoHeader___Ietzc", d = "topTreatmentsCard-module__headerSplit___j7jGh", s = "topTreatmentsCard-module__nameContainer___-scSS", c = "topTreatmentsCard-module__price___6wpTo", m = "topTreatmentsCard-module__actions___ZYREi", p = "topTreatmentsCard-module__switchers___4rS0s", i = "topTreatmentsCard-module__btnLearnMore___3nb1-", u = "topTreatmentsCard-module__arrowIcon___Jnz-F", l = {
|
|
2
|
-
root: t,
|
|
3
|
-
title: e,
|
|
4
|
-
productCard: o,
|
|
5
|
-
image: r,
|
|
6
|
-
rightSide: _,
|
|
7
|
-
productInfo: n,
|
|
8
|
-
productInfoHeader: a,
|
|
9
|
-
headerSplit: d,
|
|
10
|
-
nameContainer: s,
|
|
11
|
-
price: c,
|
|
12
|
-
actions: m,
|
|
13
|
-
switchers: p,
|
|
14
|
-
btnLearnMore: i,
|
|
15
|
-
arrowIcon: u
|
|
16
|
-
};
|
|
17
|
-
export {
|
|
18
|
-
m as actions,
|
|
19
|
-
u as arrowIcon,
|
|
20
|
-
i as btnLearnMore,
|
|
21
|
-
l as default,
|
|
22
|
-
d as headerSplit,
|
|
23
|
-
r as image,
|
|
24
|
-
s as nameContainer,
|
|
25
|
-
c as price,
|
|
26
|
-
o as productCard,
|
|
27
|
-
n as productInfo,
|
|
28
|
-
a as productInfoHeader,
|
|
29
|
-
_ as rightSide,
|
|
30
|
-
t as root,
|
|
31
|
-
p as switchers,
|
|
32
|
-
e as title
|
|
33
|
-
};
|