@zenpatient-org/healthspan-marketing-ui 0.1.74 → 0.1.76

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.
Files changed (36) hide show
  1. package/dist/healthspan-marketing-ui.css +1 -1
  2. package/dist/modules/Benefits/Benefits.cjs.js +1 -1
  3. package/dist/modules/Benefits/Benefits.d.ts +2 -1
  4. package/dist/modules/Benefits/Benefits.es.js +43 -26
  5. package/dist/modules/Benefits/benefits.module.css.cjs.js +1 -1
  6. package/dist/modules/Benefits/benefits.module.css.es.js +28 -18
  7. package/dist/modules/Benefits/components/BenefitItem/BenefitItem.cjs.js +1 -1
  8. package/dist/modules/Benefits/components/BenefitItem/BenefitItem.d.ts +2 -1
  9. package/dist/modules/Benefits/components/BenefitItem/BenefitItem.es.js +30 -10
  10. package/dist/modules/Benefits/components/BenefitItem/benefitItem.module.css.cjs.js +1 -1
  11. package/dist/modules/Benefits/components/BenefitItem/benefitItem.module.css.es.js +5 -3
  12. package/dist/modules/ContentHighlight/ContentHighlight.cjs.js +1 -0
  13. package/dist/modules/ContentHighlight/ContentHighlight.d.ts +14 -0
  14. package/dist/modules/ContentHighlight/ContentHighlight.es.js +36 -0
  15. package/dist/modules/ContentHighlight/contentHighlight.module.css.cjs.js +1 -0
  16. package/dist/modules/ContentHighlight/contentHighlight.module.css.es.js +25 -0
  17. package/dist/modules/ContentHighlight/index.d.ts +1 -0
  18. package/dist/modules/TextTwoImages/TextTwoImages.cjs.js +1 -0
  19. package/dist/modules/TextTwoImages/TextTwoImages.d.ts +11 -0
  20. package/dist/modules/TextTwoImages/TextTwoImages.es.js +18 -0
  21. package/dist/modules/TextTwoImages/index.d.ts +1 -0
  22. package/dist/modules/TextTwoImages/textTwoImages.module.css.cjs.js +1 -0
  23. package/dist/modules/TextTwoImages/textTwoImages.module.css.es.js +25 -0
  24. package/dist/modules/ThreeCardsWithHero/ThreeCardsWithHero.cjs.js +1 -0
  25. package/dist/modules/ThreeCardsWithHero/ThreeCardsWithHero.d.ts +12 -0
  26. package/dist/modules/ThreeCardsWithHero/ThreeCardsWithHero.es.js +31 -0
  27. package/dist/modules/ThreeCardsWithHero/components/TransparentCard/TransparentCard.cjs.js +1 -0
  28. package/dist/modules/ThreeCardsWithHero/components/TransparentCard/TransparentCard.d.ts +7 -0
  29. package/dist/modules/ThreeCardsWithHero/components/TransparentCard/TransparentCard.es.js +13 -0
  30. package/dist/modules/ThreeCardsWithHero/components/TransparentCard/index.d.ts +1 -0
  31. package/dist/modules/ThreeCardsWithHero/components/TransparentCard/transparentCard.module.css.cjs.js +1 -0
  32. package/dist/modules/ThreeCardsWithHero/components/TransparentCard/transparentCard.module.css.es.js +15 -0
  33. package/dist/modules/ThreeCardsWithHero/intex.d.ts +1 -0
  34. package/dist/modules/ThreeCardsWithHero/threeCardsWithHero.module.css.cjs.js +1 -0
  35. package/dist/modules/ThreeCardsWithHero/threeCardsWithHero.module.css.es.js +23 -0
  36. package/package.json +16 -1
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),c=require("../../components/HighlightedTitle/HighlightedTitle.cjs.js"),o=require("./components/BenefitTag/BenefitTag.cjs.js"),m=require("./components/BenefitItem/BenefitItem.cjs.js"),u=require("../../components/Typography/Typography.cjs.js"),t=require("./benefits.module.css.cjs.js"),g=({label:s,title:l,image:r,benefits:n,tags:d})=>e.jsx("section",{className:t.default.root,children:e.jsxs("div",{className:t.default.container,children:[e.jsxs("div",{className:t.default.header,children:[e.jsx(u.Typography,{defaultVariant:"labelMd",mobileVariant:"labelSm",emphasis:!0,className:t.default.label,children:s}),e.jsx(c.HighlightedTitle,{title:l,defaultVariant:"displayMd",mobileVariant:"headingLg"})]}),e.jsxs("div",{className:t.default.content,children:[e.jsxs("div",{className:t.default.imageWrapper,children:[e.jsx("img",{src:r,alt:"image",className:t.default.image}),d.map((i,a)=>e.jsx(o.BenefitTag,{text:i,className:t.default[`tag${a+1}`]},a))]}),e.jsx("div",{className:t.default.benefits,children:n.map((i,a)=>e.jsx(m.BenefitItem,{index:a+1,title:i.title,description:i.description},a))})]})]})});exports.Benefits=g;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),g=require("../../components/HighlightedTitle/HighlightedTitle.cjs.js"),n=require("./components/BenefitTag/BenefitTag.cjs.js"),c=require("./components/BenefitItem/BenefitItem.cjs.js"),h=require("../../components/Typography/Typography.cjs.js"),a=require("./benefits.module.css.cjs.js"),f=({label:o,title:m,image:i,benefits:l,tags:r,colorScheme:d="light"})=>{const u=l.length===1;return e.jsx("section",{className:a.default.root,"data-color-scheme":d,children:u?e.jsx("div",{className:a.default.soloContainer,children:e.jsxs("div",{className:a.default.soloContent,children:[e.jsxs("div",{className:a.default.soloImageWrapper,children:[e.jsx("img",{src:i,alt:"image",className:a.default.soloImage}),r.map((s,t)=>e.jsx(n.BenefitTag,{text:s,className:a.default[`tag${t+1}`]},t))]}),e.jsx("div",{className:a.default.soloItem,children:e.jsx(c.BenefitItem,{index:0,title:l[0].title,description:l[0].description})})]})}):e.jsxs("div",{className:a.default.container,children:[e.jsxs("div",{className:a.default.header,children:[e.jsx(h.Typography,{defaultVariant:"labelMd",mobileVariant:"labelSm",emphasis:!0,className:a.default.label,children:o}),e.jsx(g.HighlightedTitle,{title:m,colorScheme:d,defaultVariant:"displayMd",mobileVariant:"headingLg"})]}),e.jsxs("div",{className:a.default.content,children:[e.jsxs("div",{className:a.default.imageWrapper,children:[e.jsx("img",{src:i,alt:"image",className:a.default.image}),r.map((s,t)=>e.jsx(n.BenefitTag,{text:s,className:a.default[`tag${t+1}`]},t))]}),e.jsx("div",{className:a.default.benefits,children:l.map((s,t)=>e.jsx(c.BenefitItem,{index:t+1,title:s.title,description:s.description},t))})]})]})})};exports.Benefits=f;
@@ -9,6 +9,7 @@ type Props = {
9
9
  description: string;
10
10
  }>;
11
11
  tags: Array<string>;
12
+ colorScheme?: 'light' | 'dark';
12
13
  };
13
- export declare const Benefits: ({ label, title, image, benefits, tags }: Props) => import("react/jsx-runtime").JSX.Element;
14
+ export declare const Benefits: ({ label, title, image, benefits, tags, colorScheme }: Props) => import("react/jsx-runtime").JSX.Element;
14
15
  export {};
@@ -1,30 +1,47 @@
1
- import { jsx as a, jsxs as r } from "react/jsx-runtime";
2
- import { HighlightedTitle as n } from "../../components/HighlightedTitle/HighlightedTitle.es.js";
3
- import { BenefitTag as d } from "./components/BenefitTag/BenefitTag.es.js";
4
- import { BenefitItem as p } from "./components/BenefitItem/BenefitItem.es.js";
5
- import { Typography as h } from "../../components/Typography/Typography.es.js";
1
+ import { jsx as a, jsxs as s } from "react/jsx-runtime";
2
+ import { HighlightedTitle as g } from "../../components/HighlightedTitle/HighlightedTitle.es.js";
3
+ import { BenefitTag as c } from "./components/BenefitTag/BenefitTag.es.js";
4
+ import { BenefitItem as d } from "./components/BenefitItem/BenefitItem.es.js";
5
+ import { Typography as N } from "../../components/Typography/Typography.es.js";
6
6
  import e from "./benefits.module.css.es.js";
7
- const y = ({ label: l, title: s, image: m, benefits: o, tags: c }) => /* @__PURE__ */ a("section", { className: e.root, children: /* @__PURE__ */ r("div", { className: e.container, children: [
8
- /* @__PURE__ */ r("div", { className: e.header, children: [
9
- /* @__PURE__ */ a(h, { defaultVariant: "labelMd", mobileVariant: "labelSm", emphasis: !0, className: e.label, children: l }),
10
- /* @__PURE__ */ a(n, { title: s, defaultVariant: "displayMd", mobileVariant: "headingLg" })
11
- ] }),
12
- /* @__PURE__ */ r("div", { className: e.content, children: [
13
- /* @__PURE__ */ r("div", { className: e.imageWrapper, children: [
14
- /* @__PURE__ */ a("img", { src: m, alt: "image", className: e.image }),
15
- c.map((t, i) => /* @__PURE__ */ a(d, { text: t, className: e[`tag${i + 1}`] }, i))
7
+ const V = ({ label: n, title: p, image: r, benefits: t, tags: m, colorScheme: o = "light" }) => {
8
+ const h = t.length === 1;
9
+ return /* @__PURE__ */ a("section", { className: e.root, "data-color-scheme": o, children: h ? /* @__PURE__ */ a("div", { className: e.soloContainer, children: /* @__PURE__ */ s("div", { className: e.soloContent, children: [
10
+ /* @__PURE__ */ s("div", { className: e.soloImageWrapper, children: [
11
+ /* @__PURE__ */ a("img", { src: r, alt: "image", className: e.soloImage }),
12
+ m.map((l, i) => /* @__PURE__ */ a(c, { text: l, className: e[`tag${i + 1}`] }, i))
16
13
  ] }),
17
- /* @__PURE__ */ a("div", { className: e.benefits, children: o.map((t, i) => /* @__PURE__ */ a(
18
- p,
19
- {
20
- index: i + 1,
21
- title: t.title,
22
- description: t.description
23
- },
24
- i
25
- )) })
26
- ] })
27
- ] }) });
14
+ /* @__PURE__ */ a("div", { className: e.soloItem, children: /* @__PURE__ */ a(d, { index: 0, title: t[0].title, description: t[0].description }) })
15
+ ] }) }) : /* @__PURE__ */ s("div", { className: e.container, children: [
16
+ /* @__PURE__ */ s("div", { className: e.header, children: [
17
+ /* @__PURE__ */ a(N, { defaultVariant: "labelMd", mobileVariant: "labelSm", emphasis: !0, className: e.label, children: n }),
18
+ /* @__PURE__ */ a(
19
+ g,
20
+ {
21
+ title: p,
22
+ colorScheme: o,
23
+ defaultVariant: "displayMd",
24
+ mobileVariant: "headingLg"
25
+ }
26
+ )
27
+ ] }),
28
+ /* @__PURE__ */ s("div", { className: e.content, children: [
29
+ /* @__PURE__ */ s("div", { className: e.imageWrapper, children: [
30
+ /* @__PURE__ */ a("img", { src: r, alt: "image", className: e.image }),
31
+ m.map((l, i) => /* @__PURE__ */ a(c, { text: l, className: e[`tag${i + 1}`] }, i))
32
+ ] }),
33
+ /* @__PURE__ */ a("div", { className: e.benefits, children: t.map((l, i) => /* @__PURE__ */ a(
34
+ d,
35
+ {
36
+ index: i + 1,
37
+ title: l.title,
38
+ description: l.description
39
+ },
40
+ i
41
+ )) })
42
+ ] })
43
+ ] }) });
44
+ };
28
45
  export {
29
- y as Benefits
46
+ V as Benefits
30
47
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="benefits-module__root___DiO7c",t="benefits-module__container___ouE-Q",_="benefits-module__header___wt7M5",o="benefits-module__label___sgWAr",n="benefits-module__content___Q1Nej",a="benefits-module__imageWrapper___Owwd8",s="benefits-module__image___Hq7o5",i="benefits-module__tag1___orgyD",r="benefits-module__tag2___49bdt",l="benefits-module__tag3___TYdET",g="benefits-module__benefits___psqX-",c={root:e,container:t,header:_,label:o,content:n,imageWrapper:a,image:s,tag1:i,tag2:r,tag3:l,benefits:g};exports.benefits=g;exports.container=t;exports.content=n;exports.default=c;exports.header=_;exports.image=s;exports.imageWrapper=a;exports.label=o;exports.root=e;exports.tag1=i;exports.tag2=r;exports.tag3=l;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="benefits-module__root___DiO7c",o="benefits-module__container___ouE-Q",t="benefits-module__soloContainer___bLVrj",_="benefits-module__header___wt7M5",n="benefits-module__label___sgWAr",s="benefits-module__content___Q1Nej",a="benefits-module__soloContent___UDgoi",l="benefits-module__imageWrapper___Owwd8",i="benefits-module__soloImageWrapper___oS3I8",r="benefits-module__image___Hq7o5",m="benefits-module__soloImage___YSMfM",g="benefits-module__tag1___orgyD",b="benefits-module__tag2___49bdt",c="benefits-module__tag3___TYdET",d="benefits-module__benefits___psqX-",u="benefits-module__soloItem___1SOXX",f={root:e,container:o,soloContainer:t,header:_,label:n,content:s,soloContent:a,imageWrapper:l,soloImageWrapper:i,image:r,soloImage:m,tag1:g,tag2:b,tag3:c,benefits:d,soloItem:u};exports.benefits=d;exports.container=o;exports.content=s;exports.default=f;exports.header=_;exports.image=r;exports.imageWrapper=l;exports.label=n;exports.root=e;exports.soloContainer=t;exports.soloContent=a;exports.soloImage=m;exports.soloImageWrapper=i;exports.soloItem=u;exports.tag1=g;exports.tag2=b;exports.tag3=c;
@@ -1,27 +1,37 @@
1
- const e = "benefits-module__root___DiO7c", _ = "benefits-module__container___ouE-Q", t = "benefits-module__header___wt7M5", o = "benefits-module__label___sgWAr", n = "benefits-module__content___Q1Nej", s = "benefits-module__imageWrapper___Owwd8", a = "benefits-module__image___Hq7o5", i = "benefits-module__tag1___orgyD", c = "benefits-module__tag2___49bdt", l = "benefits-module__tag3___TYdET", b = "benefits-module__benefits___psqX-", d = {
1
+ const e = "benefits-module__root___DiO7c", o = "benefits-module__container___ouE-Q", _ = "benefits-module__soloContainer___bLVrj", t = "benefits-module__header___wt7M5", n = "benefits-module__label___sgWAr", s = "benefits-module__content___Q1Nej", a = "benefits-module__soloContent___UDgoi", l = "benefits-module__imageWrapper___Owwd8", i = "benefits-module__soloImageWrapper___oS3I8", m = "benefits-module__image___Hq7o5", r = "benefits-module__soloImage___YSMfM", b = "benefits-module__tag1___orgyD", c = "benefits-module__tag2___49bdt", g = "benefits-module__tag3___TYdET", d = "benefits-module__benefits___psqX-", f = "benefits-module__soloItem___1SOXX", u = {
2
2
  root: e,
3
- container: _,
3
+ container: o,
4
+ soloContainer: _,
4
5
  header: t,
5
- label: o,
6
- content: n,
7
- imageWrapper: s,
8
- image: a,
9
- tag1: i,
6
+ label: n,
7
+ content: s,
8
+ soloContent: a,
9
+ imageWrapper: l,
10
+ soloImageWrapper: i,
11
+ image: m,
12
+ soloImage: r,
13
+ tag1: b,
10
14
  tag2: c,
11
- tag3: l,
12
- benefits: b
15
+ tag3: g,
16
+ benefits: d,
17
+ soloItem: f
13
18
  };
14
19
  export {
15
- b as benefits,
16
- _ as container,
17
- n as content,
18
- d as default,
20
+ d as benefits,
21
+ o as container,
22
+ s as content,
23
+ u as default,
19
24
  t as header,
20
- a as image,
21
- s as imageWrapper,
22
- o as label,
25
+ m as image,
26
+ l as imageWrapper,
27
+ n as label,
23
28
  e as root,
24
- i as tag1,
29
+ _ as soloContainer,
30
+ a as soloContent,
31
+ r as soloImage,
32
+ i as soloImageWrapper,
33
+ f as soloItem,
34
+ b as tag1,
25
35
  c as tag2,
26
- l as tag3
36
+ g as tag3
27
37
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),t=require("../../../../components/Typography/Typography.cjs.js"),a=require("./benefitItem.module.css.cjs.js"),l=({index:i,title:n,description:r})=>e.jsxs("div",{className:a.default.benefit,children:[e.jsx(t.Typography,{defaultVariant:"labelXl",emphasis:!0,className:a.default.benefitIndex,children:`(0${i})`}),e.jsxs("div",{className:a.default.benefitDetails,children:[e.jsx(t.Typography,{defaultVariant:"headingLg",mobileVariant:"headingXs",className:a.default.benefitTitle,children:n}),e.jsx(t.Typography,{defaultVariant:"bodyMd",mobileVariant:"bodySm",className:a.default.benefitDesc,children:r})]})]});exports.BenefitItem=l;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("react/jsx-runtime"),i=require("../../../../components/Typography/Typography.cjs.js"),e=require("./benefitItem.module.css.cjs.js"),r=require("../../../../utils/cn/cn.cjs.js"),o=({index:l,title:s,description:n,colorScheme:d})=>{const a=l===0;return t.jsxs("div",{className:e.default.benefit,children:[!a&&t.jsx(i.Typography,{defaultVariant:"labelXl",emphasis:!0,className:e.default.benefitIndex,children:`(0${l})`}),t.jsxs("div",{className:r.cn(e.default.benefitDetails,{[e.default.soloDetails]:a}),children:[t.jsx(i.Typography,{defaultVariant:a?"displayXs":"headingLg",mobileVariant:a?"headingXl":"headingXs",className:e.default.benefitTitle,children:s}),t.jsx(i.Typography,{defaultVariant:a?"bodyLg":"bodyMd",mobileVariant:"bodySm",className:e.default.benefitDesc,children:n})]})]})};exports.BenefitItem=o;
@@ -2,6 +2,7 @@ type Props = {
2
2
  index: number;
3
3
  title: string;
4
4
  description: string;
5
+ colorScheme?: 'light' | 'dark';
5
6
  };
6
- export declare const BenefitItem: ({ index, title, description }: Props) => import("react/jsx-runtime").JSX.Element;
7
+ export declare const BenefitItem: ({ index, title, description, colorScheme }: Props) => import("react/jsx-runtime").JSX.Element;
7
8
  export {};
@@ -1,13 +1,33 @@
1
- import { jsxs as t, jsx as a } from "react/jsx-runtime";
2
- import { Typography as i } from "../../../../components/Typography/Typography.es.js";
1
+ import { jsxs as s, jsx as i } from "react/jsx-runtime";
2
+ import { Typography as t } from "../../../../components/Typography/Typography.es.js";
3
3
  import e from "./benefitItem.module.css.es.js";
4
- const o = ({ index: l, title: n, description: r }) => /* @__PURE__ */ t("div", { className: e.benefit, children: [
5
- /* @__PURE__ */ a(i, { defaultVariant: "labelXl", emphasis: !0, className: e.benefitIndex, children: `(0${l})` }),
6
- /* @__PURE__ */ t("div", { className: e.benefitDetails, children: [
7
- /* @__PURE__ */ a(i, { defaultVariant: "headingLg", mobileVariant: "headingXs", className: e.benefitTitle, children: n }),
8
- /* @__PURE__ */ a(i, { defaultVariant: "bodyMd", mobileVariant: "bodySm", className: e.benefitDesc, children: r })
9
- ] })
10
- ] });
4
+ import { cn as o } from "../../../../utils/cn/cn.es.js";
5
+ const h = ({ index: l, title: r, description: n, colorScheme: m }) => {
6
+ const a = l === 0;
7
+ return /* @__PURE__ */ s("div", { className: e.benefit, children: [
8
+ !a && /* @__PURE__ */ i(t, { defaultVariant: "labelXl", emphasis: !0, className: e.benefitIndex, children: `(0${l})` }),
9
+ /* @__PURE__ */ s("div", { className: o(e.benefitDetails, { [e.soloDetails]: a }), children: [
10
+ /* @__PURE__ */ i(
11
+ t,
12
+ {
13
+ defaultVariant: a ? "displayXs" : "headingLg",
14
+ mobileVariant: a ? "headingXl" : "headingXs",
15
+ className: e.benefitTitle,
16
+ children: r
17
+ }
18
+ ),
19
+ /* @__PURE__ */ i(
20
+ t,
21
+ {
22
+ defaultVariant: a ? "bodyLg" : "bodyMd",
23
+ mobileVariant: "bodySm",
24
+ className: e.benefitDesc,
25
+ children: n
26
+ }
27
+ )
28
+ ] })
29
+ ] });
30
+ };
11
31
  export {
12
- o as BenefitItem
32
+ h as BenefitItem
13
33
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="benefitItem-module__benefit___yL87M",t="benefitItem-module__benefitIndex___I0-tr",n="benefitItem-module__benefitDetails___nw6dI",i={benefit:e,benefitIndex:t,benefitDetails:n};exports.benefit=e;exports.benefitDetails=n;exports.benefitIndex=t;exports.default=i;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="benefitItem-module__benefit___yL87M",t="benefitItem-module__benefitIndex___I0-tr",i="benefitItem-module__benefitDetails___nw6dI",n="benefitItem-module__soloDetails___L59Rg",l={benefit:e,benefitIndex:t,benefitDetails:i,soloDetails:n};exports.benefit=e;exports.benefitDetails=i;exports.benefitIndex=t;exports.default=l;exports.soloDetails=n;
@@ -1,11 +1,13 @@
1
- const e = "benefitItem-module__benefit___yL87M", t = "benefitItem-module__benefitIndex___I0-tr", n = "benefitItem-module__benefitDetails___nw6dI", i = {
1
+ const e = "benefitItem-module__benefit___yL87M", t = "benefitItem-module__benefitIndex___I0-tr", n = "benefitItem-module__benefitDetails___nw6dI", _ = "benefitItem-module__soloDetails___L59Rg", i = {
2
2
  benefit: e,
3
3
  benefitIndex: t,
4
- benefitDetails: n
4
+ benefitDetails: n,
5
+ soloDetails: _
5
6
  };
6
7
  export {
7
8
  e as benefit,
8
9
  n as benefitDetails,
9
10
  t as benefitIndex,
10
- i as default
11
+ i as default,
12
+ _ as soloDetails
11
13
  };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),a=require("../../components/Typography/Typography.cjs.js"),t=require("./contentHighlight.module.css.cjs.js"),r=require("../../components/HighlightedTitle/HighlightedTitle.cjs.js"),n=require("../../components/Button/Button.cjs.js"),d=({label:l,title:s,content:i})=>e.jsx("section",{className:t.default.root,children:e.jsxs("div",{className:t.default.container,children:[e.jsx("div",{className:t.default.topContainer,children:e.jsx(r.HighlightedTitle,{title:s,label:l,as:"div",defaultVariant:"displayMd",className:t.default.title})}),e.jsxs("div",{className:t.default.card,children:[e.jsx("img",{src:i.image,alt:i.title,className:t.default.image}),e.jsxs("div",{className:t.default.content,children:[e.jsx(a.Typography,{defaultVariant:"headingLg",mobileVariant:"headingSm",className:t.default.contentTitle,children:i.title}),e.jsx(a.Typography,{defaultVariant:"bodySm",mobileVariant:"bodySm",className:t.default.description,children:i.description}),e.jsx("div",{className:t.default.button,children:e.jsx(n.Button,{as:"a",href:i.link,target:"_blank",rel:"noopener noreferrer",size:"sm",children:i.buttonLabel})})]})]})]})});exports.ContentHighlight=d;
@@ -0,0 +1,14 @@
1
+ import { default as React } from 'react';
2
+
3
+ export type ContentHighlightProps = {
4
+ label?: string;
5
+ title: React.ReactNode;
6
+ content: {
7
+ title: string;
8
+ description: string;
9
+ image: string;
10
+ buttonLabel: string;
11
+ link: string;
12
+ };
13
+ };
14
+ export declare const ContentHighlight: ({ label, title, content }: ContentHighlightProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,36 @@
1
+ import { jsx as e, jsxs as r } from "react/jsx-runtime";
2
+ import { Typography as t } from "../../components/Typography/Typography.es.js";
3
+ import i from "./contentHighlight.module.css.es.js";
4
+ import { HighlightedTitle as m } from "../../components/HighlightedTitle/HighlightedTitle.es.js";
5
+ import { Button as n } from "../../components/Button/Button.es.js";
6
+ const g = ({ label: l, title: s, content: a }) => /* @__PURE__ */ e("section", { className: i.root, children: /* @__PURE__ */ r("div", { className: i.container, children: [
7
+ /* @__PURE__ */ e("div", { className: i.topContainer, children: /* @__PURE__ */ e(
8
+ m,
9
+ {
10
+ title: s,
11
+ label: l,
12
+ as: "div",
13
+ defaultVariant: "displayMd",
14
+ className: i.title
15
+ }
16
+ ) }),
17
+ /* @__PURE__ */ r("div", { className: i.card, children: [
18
+ /* @__PURE__ */ e("img", { src: a.image, alt: a.title, className: i.image }),
19
+ /* @__PURE__ */ r("div", { className: i.content, children: [
20
+ /* @__PURE__ */ e(
21
+ t,
22
+ {
23
+ defaultVariant: "headingLg",
24
+ mobileVariant: "headingSm",
25
+ className: i.contentTitle,
26
+ children: a.title
27
+ }
28
+ ),
29
+ /* @__PURE__ */ e(t, { defaultVariant: "bodySm", mobileVariant: "bodySm", className: i.description, children: a.description }),
30
+ /* @__PURE__ */ e("div", { className: i.button, children: /* @__PURE__ */ e(n, { as: "a", href: a.link, target: "_blank", rel: "noopener noreferrer", size: "sm", children: a.buttonLabel }) })
31
+ ] })
32
+ ] })
33
+ ] }) });
34
+ export {
35
+ g as ContentHighlight
36
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t="contentHighlight-module__root___ZQQyH",n="contentHighlight-module__container___5zJBm",o="contentHighlight-module__topContainer___48PT2",e="contentHighlight-module__title___1xyYU",i="contentHighlight-module__card___JCJ0i",_="contentHighlight-module__image___5a40m",c="contentHighlight-module__content___Ea26d",l="contentHighlight-module__button___VB7Nd",g="contentHighlight-module__description___nt9X3",r="contentHighlight-module__contentTitle___l-v1Y",d={root:t,container:n,topContainer:o,title:e,card:i,image:_,content:c,button:l,description:g,contentTitle:r};exports.button=l;exports.card=i;exports.container=n;exports.content=c;exports.contentTitle=r;exports.default=d;exports.description=g;exports.image=_;exports.root=t;exports.title=e;exports.topContainer=o;
@@ -0,0 +1,25 @@
1
+ const t = "contentHighlight-module__root___ZQQyH", n = "contentHighlight-module__container___5zJBm", o = "contentHighlight-module__topContainer___48PT2", _ = "contentHighlight-module__title___1xyYU", e = "contentHighlight-module__card___JCJ0i", i = "contentHighlight-module__image___5a40m", c = "contentHighlight-module__content___Ea26d", l = "contentHighlight-module__button___VB7Nd", g = "contentHighlight-module__description___nt9X3", h = "contentHighlight-module__contentTitle___l-v1Y", d = {
2
+ root: t,
3
+ container: n,
4
+ topContainer: o,
5
+ title: _,
6
+ card: e,
7
+ image: i,
8
+ content: c,
9
+ button: l,
10
+ description: g,
11
+ contentTitle: h
12
+ };
13
+ export {
14
+ l as button,
15
+ e as card,
16
+ n as container,
17
+ c as content,
18
+ h as contentTitle,
19
+ d as default,
20
+ g as description,
21
+ i as image,
22
+ t as root,
23
+ _ as title,
24
+ o as topContainer
25
+ };
@@ -0,0 +1 @@
1
+ export { ContentHighlight } from './ContentHighlight';
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),l=require("../../components/Typography/Typography.cjs.js"),s=require("../../utils/cn/cn.cjs.js"),a=require("./textTwoImages.module.css.cjs.js"),n=({label:r,title:t,bigImage:i,smallImage:d,subscribe:c})=>e.jsx("div",{className:a.default.root,children:e.jsxs("div",{className:a.default.container,children:[e.jsxs("div",{className:a.default.leftBlock,children:[e.jsx(l.Typography,{defaultVariant:"labelMd",mobileVariant:"labelMd",emphasis:!0,children:t}),e.jsx(l.Typography,{defaultVariant:"displayXs",mobileVariant:"headingLg",className:a.default.label,children:r}),e.jsx(l.Typography,{as:"p",defaultVariant:"labelLg",className:a.default.subscribe,children:c})]}),e.jsx("div",{className:a.default.rightBlock,children:e.jsxs("div",{className:a.default.galleryImageOverlay,children:[e.jsx("div",{className:s.cn(a.default.galleryItem,a.default.galleryImageBig),children:e.jsx("img",{src:i,alt:"big"})}),e.jsx("div",{className:s.cn(a.default.galleryItem,a.default.galleryImageSmall),children:e.jsx("img",{src:d,alt:"small"})})]})})]})});exports.TextTwoImages=n;
@@ -0,0 +1,11 @@
1
+ import { default as React } from 'react';
2
+
3
+ interface TextTwoImagesProps {
4
+ title: string;
5
+ label?: string;
6
+ subscribe?: React.ReactNode;
7
+ bigImage: string;
8
+ smallImage: string;
9
+ }
10
+ export declare const TextTwoImages: ({ label, title, bigImage, smallImage, subscribe }: TextTwoImagesProps) => import("react/jsx-runtime").JSX.Element;
11
+ export {};
@@ -0,0 +1,18 @@
1
+ import { jsx as l, jsxs as e } from "react/jsx-runtime";
2
+ import { Typography as i } from "../../components/Typography/Typography.es.js";
3
+ import { cn as r } from "../../utils/cn/cn.es.js";
4
+ import a from "./textTwoImages.module.css.es.js";
5
+ const p = ({ label: s, title: m, bigImage: c, smallImage: t, subscribe: d }) => /* @__PURE__ */ l("div", { className: a.root, children: /* @__PURE__ */ e("div", { className: a.container, children: [
6
+ /* @__PURE__ */ e("div", { className: a.leftBlock, children: [
7
+ /* @__PURE__ */ l(i, { defaultVariant: "labelMd", mobileVariant: "labelMd", emphasis: !0, children: m }),
8
+ /* @__PURE__ */ l(i, { defaultVariant: "displayXs", mobileVariant: "headingLg", className: a.label, children: s }),
9
+ /* @__PURE__ */ l(i, { as: "p", defaultVariant: "labelLg", className: a.subscribe, children: d })
10
+ ] }),
11
+ /* @__PURE__ */ l("div", { className: a.rightBlock, children: /* @__PURE__ */ e("div", { className: a.galleryImageOverlay, children: [
12
+ /* @__PURE__ */ l("div", { className: r(a.galleryItem, a.galleryImageBig), children: /* @__PURE__ */ l("img", { src: c, alt: "big" }) }),
13
+ /* @__PURE__ */ l("div", { className: r(a.galleryItem, a.galleryImageSmall), children: /* @__PURE__ */ l("img", { src: t, alt: "small" }) })
14
+ ] }) })
15
+ ] }) });
16
+ export {
17
+ p as TextTwoImages
18
+ };
@@ -0,0 +1 @@
1
+ export { TextTwoImages } from './TextTwoImages';
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="textTwoImages-module__root___z2HqM",l="textTwoImages-module__container___h7yEM",t="textTwoImages-module__leftBlock___jJmUZ",a="textTwoImages-module__subscribe___gmPpo",o="textTwoImages-module__rightBlock___LbHrw",_="textTwoImages-module__galleryImageOverlay___XhYtJ",g="textTwoImages-module__galleryItem___k3C5F",m="textTwoImages-module__galleryImageBig___4p-1o",r="textTwoImages-module__galleryImageSmall___3FbxE",s="textTwoImages-module__label___lfrhn",c={root:e,container:l,leftBlock:t,subscribe:a,rightBlock:o,galleryImageOverlay:_,galleryItem:g,galleryImageBig:m,galleryImageSmall:r,label:s};exports.container=l;exports.default=c;exports.galleryImageBig=m;exports.galleryImageOverlay=_;exports.galleryImageSmall=r;exports.galleryItem=g;exports.label=s;exports.leftBlock=t;exports.rightBlock=o;exports.root=e;exports.subscribe=a;
@@ -0,0 +1,25 @@
1
+ const e = "textTwoImages-module__root___z2HqM", l = "textTwoImages-module__container___h7yEM", t = "textTwoImages-module__leftBlock___jJmUZ", _ = "textTwoImages-module__subscribe___gmPpo", o = "textTwoImages-module__rightBlock___LbHrw", a = "textTwoImages-module__galleryImageOverlay___XhYtJ", g = "textTwoImages-module__galleryItem___k3C5F", m = "textTwoImages-module__galleryImageBig___4p-1o", r = "textTwoImages-module__galleryImageSmall___3FbxE", s = "textTwoImages-module__label___lfrhn", c = {
2
+ root: e,
3
+ container: l,
4
+ leftBlock: t,
5
+ subscribe: _,
6
+ rightBlock: o,
7
+ galleryImageOverlay: a,
8
+ galleryItem: g,
9
+ galleryImageBig: m,
10
+ galleryImageSmall: r,
11
+ label: s
12
+ };
13
+ export {
14
+ l as container,
15
+ c as default,
16
+ m as galleryImageBig,
17
+ a as galleryImageOverlay,
18
+ r as galleryImageSmall,
19
+ g as galleryItem,
20
+ s as label,
21
+ t as leftBlock,
22
+ o as rightBlock,
23
+ e as root,
24
+ _ as subscribe
25
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),i=require("../../components/Typography/Typography.cjs.js"),n=require("./components/TransparentCard/TransparentCard.cjs.js"),a=require("./threeCardsWithHero.module.css.cjs.js"),o=({label:r,title:t,cards:l})=>e.jsxs("section",{className:a.default.bgWrapper,children:[e.jsx("div",{className:a.default.root,children:e.jsx("div",{className:a.default.topContainer,children:e.jsx("div",{className:a.default.imageContainer,children:e.jsxs("div",{className:a.default.imageTextContainer,children:[r&&e.jsx(i.Typography,{className:a.default.imageLabel,emphasis:!0,defaultVariant:"labelMd",children:r}),e.jsx("div",{className:a.default.imageTitle,children:e.jsx(i.Typography,{className:a.default.imageTitle,as:"p",defaultVariant:"displayXl",mobileVariant:"displayXs",children:t})})]})})})}),e.jsx("div",{className:a.default.bottomContainer,children:e.jsx("div",{className:a.default.root,children:e.jsx("div",{className:a.default.cardsContainer,children:l.slice(0,3).map((s,d)=>e.jsx(n.TransparentCard,{title:s.title,description:s.description,number:d+1},s.title))})})})]});exports.ThreeCardsWithHero=o;
@@ -0,0 +1,12 @@
1
+ import { default as React } from 'react';
2
+
3
+ export type Card = {
4
+ title: string;
5
+ description: string;
6
+ };
7
+ export type ThreeCardsWithHeroProps = {
8
+ label?: string;
9
+ title: React.ReactNode;
10
+ cards: Array<Card>;
11
+ };
12
+ export declare const ThreeCardsWithHero: ({ label, title, cards }: ThreeCardsWithHeroProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,31 @@
1
+ import { jsxs as s, jsx as i } from "react/jsx-runtime";
2
+ import { Typography as t } from "../../components/Typography/Typography.es.js";
3
+ import { TransparentCard as o } from "./components/TransparentCard/TransparentCard.es.js";
4
+ import e from "./threeCardsWithHero.module.css.es.js";
5
+ const N = ({ label: r, title: l, cards: n }) => /* @__PURE__ */ s("section", { className: e.bgWrapper, children: [
6
+ /* @__PURE__ */ i("div", { className: e.root, children: /* @__PURE__ */ i("div", { className: e.topContainer, children: /* @__PURE__ */ i("div", { className: e.imageContainer, children: /* @__PURE__ */ s("div", { className: e.imageTextContainer, children: [
7
+ r && /* @__PURE__ */ i(t, { className: e.imageLabel, emphasis: !0, defaultVariant: "labelMd", children: r }),
8
+ /* @__PURE__ */ i("div", { className: e.imageTitle, children: /* @__PURE__ */ i(
9
+ t,
10
+ {
11
+ className: e.imageTitle,
12
+ as: "p",
13
+ defaultVariant: "displayXl",
14
+ mobileVariant: "displayXs",
15
+ children: l
16
+ }
17
+ ) })
18
+ ] }) }) }) }),
19
+ /* @__PURE__ */ i("div", { className: e.bottomContainer, children: /* @__PURE__ */ i("div", { className: e.root, children: /* @__PURE__ */ i("div", { className: e.cardsContainer, children: n.slice(0, 3).map((a, m) => /* @__PURE__ */ i(
20
+ o,
21
+ {
22
+ title: a.title,
23
+ description: a.description,
24
+ number: m + 1
25
+ },
26
+ a.title
27
+ )) }) }) })
28
+ ] });
29
+ export {
30
+ N as ThreeCardsWithHero
31
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),r=require("../../../../components/Typography/Typography.cjs.js"),a=require("./transparentCard.module.css.cjs.js"),d=({title:t,description:n,number:s})=>e.jsx("div",{className:a.default.root,children:e.jsxs("div",{className:a.default.contentContainer,children:[e.jsxs("div",{className:a.default.topContainer,children:[e.jsx(r.Typography,{defaultVariant:"headingSm",children:t}),e.jsx(r.Typography,{className:a.default.number,defaultVariant:"headingXxs",children:`(0${s})`})]}),e.jsx("div",{className:a.default.bottomContainer,children:e.jsx(r.Typography,{className:a.default.description,defaultVariant:"bodyLg",mobileVariant:"bodyMd",children:n})})]})});exports.TransparentCard=d;
@@ -0,0 +1,7 @@
1
+ type TransparentCardProps = {
2
+ title: string;
3
+ description: string;
4
+ number: number;
5
+ };
6
+ export declare const TransparentCard: ({ title, description, number }: TransparentCardProps) => import("react/jsx-runtime").JSX.Element;
7
+ export {};
@@ -0,0 +1,13 @@
1
+ import { jsx as e, jsxs as i } from "react/jsx-runtime";
2
+ import { Typography as r } from "../../../../components/Typography/Typography.es.js";
3
+ import a from "./transparentCard.module.css.es.js";
4
+ const c = ({ title: n, description: t, number: o }) => /* @__PURE__ */ e("div", { className: a.root, children: /* @__PURE__ */ i("div", { className: a.contentContainer, children: [
5
+ /* @__PURE__ */ i("div", { className: a.topContainer, children: [
6
+ /* @__PURE__ */ e(r, { defaultVariant: "headingSm", children: n }),
7
+ /* @__PURE__ */ e(r, { className: a.number, defaultVariant: "headingXxs", children: `(0${o})` })
8
+ ] }),
9
+ /* @__PURE__ */ e("div", { className: a.bottomContainer, children: /* @__PURE__ */ e(r, { className: a.description, defaultVariant: "bodyLg", mobileVariant: "bodyMd", children: t }) })
10
+ ] }) });
11
+ export {
12
+ c as TransparentCard
13
+ };
@@ -0,0 +1 @@
1
+ export { TransparentCard } from './TransparentCard';
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t="transparentCard-module__root___lPvYM",n="transparentCard-module__number___5vqO-",e="transparentCard-module__contentContainer___w6KM4",o="transparentCard-module__topContainer___SRrvK",r="transparentCard-module__description___66Ugz",a={root:t,number:n,contentContainer:e,topContainer:o,description:r};exports.contentContainer=e;exports.default=a;exports.description=r;exports.number=n;exports.root=t;exports.topContainer=o;
@@ -0,0 +1,15 @@
1
+ const n = "transparentCard-module__root___lPvYM", t = "transparentCard-module__number___5vqO-", o = "transparentCard-module__contentContainer___w6KM4", r = "transparentCard-module__topContainer___SRrvK", e = "transparentCard-module__description___66Ugz", _ = {
2
+ root: n,
3
+ number: t,
4
+ contentContainer: o,
5
+ topContainer: r,
6
+ description: e
7
+ };
8
+ export {
9
+ o as contentContainer,
10
+ _ as default,
11
+ e as description,
12
+ t as number,
13
+ n as root,
14
+ r as topContainer
15
+ };
@@ -0,0 +1 @@
1
+ export { ThreeCardsWithHero } from './ThreeCardsWithHero';
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="threeCardsWithHero-module__bgWrapper___RPwWL",t="threeCardsWithHero-module__root___GUdZT",o="threeCardsWithHero-module__topContainer___YFVTm",r="threeCardsWithHero-module__imageContainer___UUGDW",a="threeCardsWithHero-module__bottomContainer___Qx2a-",i="threeCardsWithHero-module__cardsContainer___3H19i",n="threeCardsWithHero-module__imageTextContainer___vYcF7",_="threeCardsWithHero-module__imageLabel___mbWfD",m="threeCardsWithHero-module__imageTitle___0bhY-",s={bgWrapper:e,root:t,topContainer:o,imageContainer:r,bottomContainer:a,cardsContainer:i,imageTextContainer:n,imageLabel:_,imageTitle:m};exports.bgWrapper=e;exports.bottomContainer=a;exports.cardsContainer=i;exports.default=s;exports.imageContainer=r;exports.imageLabel=_;exports.imageTextContainer=n;exports.imageTitle=m;exports.root=t;exports.topContainer=o;
@@ -0,0 +1,23 @@
1
+ const e = "threeCardsWithHero-module__bgWrapper___RPwWL", t = "threeCardsWithHero-module__root___GUdZT", o = "threeCardsWithHero-module__topContainer___YFVTm", r = "threeCardsWithHero-module__imageContainer___UUGDW", a = "threeCardsWithHero-module__bottomContainer___Qx2a-", _ = "threeCardsWithHero-module__cardsContainer___3H19i", i = "threeCardsWithHero-module__imageTextContainer___vYcF7", n = "threeCardsWithHero-module__imageLabel___mbWfD", m = "threeCardsWithHero-module__imageTitle___0bhY-", s = {
2
+ bgWrapper: e,
3
+ root: t,
4
+ topContainer: o,
5
+ imageContainer: r,
6
+ bottomContainer: a,
7
+ cardsContainer: _,
8
+ imageTextContainer: i,
9
+ imageLabel: n,
10
+ imageTitle: m
11
+ };
12
+ export {
13
+ e as bgWrapper,
14
+ a as bottomContainer,
15
+ _ as cardsContainer,
16
+ s as default,
17
+ r as imageContainer,
18
+ n as imageLabel,
19
+ i as imageTextContainer,
20
+ m as imageTitle,
21
+ t as root,
22
+ o as topContainer
23
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zenpatient-org/healthspan-marketing-ui",
3
- "version": "0.1.74",
3
+ "version": "0.1.76",
4
4
  "description": "Design system",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.es.js",
@@ -356,6 +356,11 @@
356
356
  "import": "./dist/modules/OurProcess/OurProcess.es.js",
357
357
  "require": "./dist/modules/OurProcess/OurProcess.cjs.js"
358
358
  },
359
+ "./ThreeCardsWithHero": {
360
+ "types": "./dist/modules/ThreeCardsWithHero/ThreeCardsWithHero.d.ts",
361
+ "import": "./dist/modules/ThreeCardsWithHero/ThreeCardsWithHero.es.js",
362
+ "require": "./dist/modules/ThreeCardsWithHero/ThreeCardsWithHero.cjs.js"
363
+ },
359
364
  "./ProductsDisplay": {
360
365
  "types": "./dist/modules/ProductsDisplay/ProductsDisplay.d.ts",
361
366
  "import": "./dist/modules/ProductsDisplay/ProductsDisplay.es.js",
@@ -511,11 +516,21 @@
511
516
  "import": "./dist/modules/CallToAction/CallToAction.es.js",
512
517
  "require": "./dist/modules/CallToAction/CallToAction.cjs.js"
513
518
  },
519
+ "./TextTwoImages": {
520
+ "types": "./dist/modules/TextTwoImages/TextTwoImages.d.ts",
521
+ "import": "./dist/modules/TextTwoImages/TextTwoImages.es.js",
522
+ "require": "./dist/modules/TextTwoImages/TextTwoImages.cjs.js"
523
+ },
514
524
  "./ProgramsDetailsHero": {
515
525
  "types": "./dist/modules/ProgramsDetailsHero/ProgramsDetailsHero.d.ts",
516
526
  "import": "./dist/modules/ProgramsDetailsHero/ProgramsDetailsHero.es.js",
517
527
  "require": "./dist/modules/ProgramsDetailsHero/ProgramsDetailsHero.cjs.js"
518
528
  },
529
+ "./ContentHighlight": {
530
+ "types": "./dist/modules/ContentHighlight/ContentHighlight.d.ts",
531
+ "import": "./dist/modules/ContentHighlight/ContentHighlight.es.js",
532
+ "require": "./dist/modules/ContentHighlight/ContentHighlight.cjs.js"
533
+ },
519
534
  "./Bubbles": {
520
535
  "types": "./dist/pageComponents/Bubbles/Bubbles.d.ts",
521
536
  "import": "./dist/pageComponents/Bubbles/Bubbles.es.js",