@zenpatient-org/healthspan-marketing-ui 0.1.77 → 0.1.79

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.
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("react/jsx-runtime"),s=require("../../components/Typography/Typography.cjs.js"),e=require("./grid.module.css.cjs.js"),r=({image:t,title:i,description:l})=>a.jsxs("div",{className:e.default.mobileContent,children:[a.jsx("div",{className:e.default.leftBorder}),a.jsxs("div",{className:e.default.mobileColumn,children:[a.jsx("img",{className:e.default.image,src:t}),a.jsxs("div",{className:e.default.mobileText,children:[a.jsx(s.Typography,{as:"p",defaultVariant:"headingSm",mobileVariant:"headingSm",children:i}),a.jsx(s.Typography,{as:"p",defaultVariant:"bodyMd",mobileVariant:"bodyMd",children:l})]})]}),a.jsx("div",{className:e.default.rightBorder})]}),n=({headline:t,topRow:i,middleRow:l,bottomRow:d,backgroundGradient:c})=>a.jsx("section",{className:e.default.root,"data-background":c,children:a.jsxs("div",{className:e.default.container,children:[a.jsx(s.Typography,{className:e.default.headline,as:"h2",defaultVariant:"displayXs",mobileVariant:"headingXl",children:t}),a.jsxs("div",{className:e.default.desktopGrid,children:[a.jsxs("div",{className:e.default.leftColumn,children:[a.jsxs("div",{className:e.default.halfVector,children:[a.jsx("div",{className:e.default.horizontalVector}),a.jsx("div",{className:e.default.horizontalVector})]}),a.jsxs("div",{className:e.default.row,children:[a.jsx("div",{className:e.default.horizontalVector}),a.jsxs("div",{className:e.default.leftText,children:[a.jsx(s.Typography,{as:"p",defaultVariant:"headingSm",mobileVariant:"headingSm",children:l.title}),a.jsx(s.Typography,{as:"p",defaultVariant:"bodyMd",mobileVariant:"bodyMd",children:l.description})]}),a.jsx("div",{className:e.default.horizontalVector})]}),a.jsxs("div",{className:e.default.halfVector,children:[a.jsx("div",{className:e.default.horizontalVector}),a.jsx("div",{className:e.default.horizontalVector})]})]}),a.jsxs("div",{className:e.default.midColumn,children:[a.jsx("img",{className:e.default.image,src:i.image}),a.jsx("img",{className:e.default.image,src:l.image}),a.jsx("img",{className:e.default.image,src:d.image})]}),a.jsxs("div",{className:e.default.rightColumn,children:[a.jsxs("div",{className:e.default.halfVector,children:[a.jsx("div",{className:e.default.horizontalVector}),a.jsx("div",{className:e.default.horizontalVector})]}),a.jsxs("div",{className:e.default.row,children:[a.jsx("div",{className:e.default.horizontalVector}),a.jsxs("div",{className:e.default.rightTopText,children:[a.jsx(s.Typography,{as:"p",defaultVariant:"headingSm",mobileVariant:"headingSm",children:i.title}),a.jsx(s.Typography,{as:"p",defaultVariant:"bodyMd",mobileVariant:"bodyMd",children:i.description})]}),a.jsx("div",{className:e.default.horizontalVector})]}),a.jsx("div",{className:e.default.rightVector}),a.jsxs("div",{className:e.default.row,children:[a.jsx("div",{className:e.default.horizontalVector}),a.jsxs("div",{className:e.default.rightBotText,children:[a.jsx(s.Typography,{as:"p",defaultVariant:"headingSm",mobileVariant:"headingSm",children:d.title}),a.jsx(s.Typography,{as:"p",defaultVariant:"bodyMd",mobileVariant:"bodyMd",children:d.description})]}),a.jsx("div",{className:e.default.horizontalVector})]}),a.jsxs("div",{className:e.default.halfVector,children:[a.jsx("div",{className:e.default.horizontalVector}),a.jsx("div",{className:e.default.horizontalVector})]})]})]}),a.jsxs("div",{className:e.default.mobileGrid,children:[a.jsx(r,{image:i.image,title:i.title,description:i.description}),a.jsx(r,{image:l.image,title:l.title,description:l.description}),a.jsx(r,{image:d.image,title:d.title,description:d.description})]})]})});exports.Grid=n;
@@ -0,0 +1,20 @@
1
+ export type GridProps = {
2
+ headline: string;
3
+ topRow: {
4
+ image: string;
5
+ title: string;
6
+ description: string;
7
+ };
8
+ middleRow: {
9
+ image: string;
10
+ title: string;
11
+ description: string;
12
+ };
13
+ bottomRow: {
14
+ image: string;
15
+ title: string;
16
+ description: string;
17
+ };
18
+ backgroundGradient: 'blue' | 'yellow' | 'grey';
19
+ };
20
+ export declare const Grid: ({ headline, topRow, middleRow, bottomRow, backgroundGradient }: GridProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,90 @@
1
+ import { jsx as i, jsxs as e } from "react/jsx-runtime";
2
+ import { Typography as l } from "../../components/Typography/Typography.es.js";
3
+ import a from "./grid.module.css.es.js";
4
+ const t = ({ image: c, title: r, description: s }) => /* @__PURE__ */ e("div", { className: a.mobileContent, children: [
5
+ /* @__PURE__ */ i("div", { className: a.leftBorder }),
6
+ /* @__PURE__ */ e("div", { className: a.mobileColumn, children: [
7
+ /* @__PURE__ */ i("img", { className: a.image, src: c }),
8
+ /* @__PURE__ */ e("div", { className: a.mobileText, children: [
9
+ /* @__PURE__ */ i(l, { as: "p", defaultVariant: "headingSm", mobileVariant: "headingSm", children: r }),
10
+ /* @__PURE__ */ i(l, { as: "p", defaultVariant: "bodyMd", mobileVariant: "bodyMd", children: s })
11
+ ] })
12
+ ] }),
13
+ /* @__PURE__ */ i("div", { className: a.rightBorder })
14
+ ] }), N = ({ headline: c, topRow: r, middleRow: s, bottomRow: d, backgroundGradient: n }) => /* @__PURE__ */ i("section", { className: a.root, "data-background": n, children: /* @__PURE__ */ e("div", { className: a.container, children: [
15
+ /* @__PURE__ */ i(l, { className: a.headline, as: "h2", defaultVariant: "displayXs", mobileVariant: "headingXl", children: c }),
16
+ /* @__PURE__ */ e("div", { className: a.desktopGrid, children: [
17
+ /* @__PURE__ */ e("div", { className: a.leftColumn, children: [
18
+ /* @__PURE__ */ e("div", { className: a.halfVector, children: [
19
+ /* @__PURE__ */ i("div", { className: a.horizontalVector }),
20
+ /* @__PURE__ */ i("div", { className: a.horizontalVector })
21
+ ] }),
22
+ /* @__PURE__ */ e("div", { className: a.row, children: [
23
+ /* @__PURE__ */ i("div", { className: a.horizontalVector }),
24
+ /* @__PURE__ */ e("div", { className: a.leftText, children: [
25
+ /* @__PURE__ */ i(l, { as: "p", defaultVariant: "headingSm", mobileVariant: "headingSm", children: s.title }),
26
+ /* @__PURE__ */ i(l, { as: "p", defaultVariant: "bodyMd", mobileVariant: "bodyMd", children: s.description })
27
+ ] }),
28
+ /* @__PURE__ */ i("div", { className: a.horizontalVector })
29
+ ] }),
30
+ /* @__PURE__ */ e("div", { className: a.halfVector, children: [
31
+ /* @__PURE__ */ i("div", { className: a.horizontalVector }),
32
+ /* @__PURE__ */ i("div", { className: a.horizontalVector })
33
+ ] })
34
+ ] }),
35
+ /* @__PURE__ */ e("div", { className: a.midColumn, children: [
36
+ /* @__PURE__ */ i("img", { className: a.image, src: r.image }),
37
+ /* @__PURE__ */ i("img", { className: a.image, src: s.image }),
38
+ /* @__PURE__ */ i("img", { className: a.image, src: d.image })
39
+ ] }),
40
+ /* @__PURE__ */ e("div", { className: a.rightColumn, children: [
41
+ /* @__PURE__ */ e("div", { className: a.halfVector, children: [
42
+ /* @__PURE__ */ i("div", { className: a.horizontalVector }),
43
+ /* @__PURE__ */ i("div", { className: a.horizontalVector })
44
+ ] }),
45
+ /* @__PURE__ */ e("div", { className: a.row, children: [
46
+ /* @__PURE__ */ i("div", { className: a.horizontalVector }),
47
+ /* @__PURE__ */ e("div", { className: a.rightTopText, children: [
48
+ /* @__PURE__ */ i(l, { as: "p", defaultVariant: "headingSm", mobileVariant: "headingSm", children: r.title }),
49
+ /* @__PURE__ */ i(l, { as: "p", defaultVariant: "bodyMd", mobileVariant: "bodyMd", children: r.description })
50
+ ] }),
51
+ /* @__PURE__ */ i("div", { className: a.horizontalVector })
52
+ ] }),
53
+ /* @__PURE__ */ i("div", { className: a.rightVector }),
54
+ /* @__PURE__ */ e("div", { className: a.row, children: [
55
+ /* @__PURE__ */ i("div", { className: a.horizontalVector }),
56
+ /* @__PURE__ */ e("div", { className: a.rightBotText, children: [
57
+ /* @__PURE__ */ i(l, { as: "p", defaultVariant: "headingSm", mobileVariant: "headingSm", children: d.title }),
58
+ /* @__PURE__ */ i(l, { as: "p", defaultVariant: "bodyMd", mobileVariant: "bodyMd", children: d.description })
59
+ ] }),
60
+ /* @__PURE__ */ i("div", { className: a.horizontalVector })
61
+ ] }),
62
+ /* @__PURE__ */ e("div", { className: a.halfVector, children: [
63
+ /* @__PURE__ */ i("div", { className: a.horizontalVector }),
64
+ /* @__PURE__ */ i("div", { className: a.horizontalVector })
65
+ ] })
66
+ ] })
67
+ ] }),
68
+ /* @__PURE__ */ e("div", { className: a.mobileGrid, children: [
69
+ /* @__PURE__ */ i(t, { image: r.image, title: r.title, description: r.description }),
70
+ /* @__PURE__ */ i(
71
+ t,
72
+ {
73
+ image: s.image,
74
+ title: s.title,
75
+ description: s.description
76
+ }
77
+ ),
78
+ /* @__PURE__ */ i(
79
+ t,
80
+ {
81
+ image: d.image,
82
+ title: d.title,
83
+ description: d.description
84
+ }
85
+ )
86
+ ] })
87
+ ] }) });
88
+ export {
89
+ N as Grid
90
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const o="grid-module__root___ENM5W",e="grid-module__container___npDAJ",t="grid-module__headline___cpLmE",_="grid-module__desktopGrid___xqK2R",r="grid-module__halfVector___K4N6M",i="grid-module__leftColumn___tsd-g",l="grid-module__rightColumn___ql0JS",d="grid-module__midColumn___pEZBo",n="grid-module__row___Uiqg0",m="grid-module__horizontalVector___rpCfN",g="grid-module__leftText___f7WFx",u="grid-module__rightTopText___9zVt1",c="grid-module__rightBotText___FdPY1",s="grid-module__image___vodyp",h="grid-module__rightVector___9dOwd",a="grid-module__mobileGrid___by4fK",C="grid-module__mobileColumn___bg2lL",f="grid-module__mobileText___a4VLJ",T="grid-module__mobileContent___C6dxe",b="grid-module__leftBorder___qmeje",x="grid-module__rightBorder___ady0d",p={root:o,container:e,headline:t,desktopGrid:_,halfVector:r,leftColumn:i,rightColumn:l,midColumn:d,row:n,horizontalVector:m,leftText:g,rightTopText:u,rightBotText:c,image:s,rightVector:h,mobileGrid:a,mobileColumn:C,mobileText:f,mobileContent:T,leftBorder:b,rightBorder:x};exports.container=e;exports.default=p;exports.desktopGrid=_;exports.halfVector=r;exports.headline=t;exports.horizontalVector=m;exports.image=s;exports.leftBorder=b;exports.leftColumn=i;exports.leftText=g;exports.midColumn=d;exports.mobileColumn=C;exports.mobileContent=T;exports.mobileGrid=a;exports.mobileText=f;exports.rightBorder=x;exports.rightBotText=c;exports.rightColumn=l;exports.rightTopText=u;exports.rightVector=h;exports.root=o;exports.row=n;
@@ -0,0 +1,47 @@
1
+ const o = "grid-module__root___ENM5W", _ = "grid-module__container___npDAJ", e = "grid-module__headline___cpLmE", t = "grid-module__desktopGrid___xqK2R", r = "grid-module__halfVector___K4N6M", d = "grid-module__leftColumn___tsd-g", i = "grid-module__rightColumn___ql0JS", l = "grid-module__midColumn___pEZBo", m = "grid-module__row___Uiqg0", n = "grid-module__horizontalVector___rpCfN", g = "grid-module__leftText___f7WFx", c = "grid-module__rightTopText___9zVt1", u = "grid-module__rightBotText___FdPY1", s = "grid-module__image___vodyp", h = "grid-module__rightVector___9dOwd", a = "grid-module__mobileGrid___by4fK", C = "grid-module__mobileColumn___bg2lL", f = "grid-module__mobileText___a4VLJ", x = "grid-module__mobileContent___C6dxe", T = "grid-module__leftBorder___qmeje", b = "grid-module__rightBorder___ady0d", p = {
2
+ root: o,
3
+ container: _,
4
+ headline: e,
5
+ desktopGrid: t,
6
+ halfVector: r,
7
+ leftColumn: d,
8
+ rightColumn: i,
9
+ midColumn: l,
10
+ row: m,
11
+ horizontalVector: n,
12
+ leftText: g,
13
+ rightTopText: c,
14
+ rightBotText: u,
15
+ image: s,
16
+ rightVector: h,
17
+ mobileGrid: a,
18
+ mobileColumn: C,
19
+ mobileText: f,
20
+ mobileContent: x,
21
+ leftBorder: T,
22
+ rightBorder: b
23
+ };
24
+ export {
25
+ _ as container,
26
+ p as default,
27
+ t as desktopGrid,
28
+ r as halfVector,
29
+ e as headline,
30
+ n as horizontalVector,
31
+ s as image,
32
+ T as leftBorder,
33
+ d as leftColumn,
34
+ g as leftText,
35
+ l as midColumn,
36
+ C as mobileColumn,
37
+ x as mobileContent,
38
+ a as mobileGrid,
39
+ f as mobileText,
40
+ b as rightBorder,
41
+ u as rightBotText,
42
+ i as rightColumn,
43
+ c as rightTopText,
44
+ h as rightVector,
45
+ o as root,
46
+ m as row
47
+ };
@@ -0,0 +1 @@
1
+ export { Grid } from './Grid';
@@ -1 +1 @@
1
- "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),a=require("../../components/Typography/Typography.cjs.js"),c=require("../../components/Button/Button.cjs.js");require("../../components/Icon/Icon.cjs.js");const u=require("../../components/Icon/constants.cjs.js"),d=require("./components/StudyCard/StudyCard.cjs.js"),t=require("./researchStudies.module.css.cjs.js"),l=({studies:r,hasMoreButton:s,onClickShowMore:n})=>e.jsx("div",{className:t.default.root,children:e.jsxs("div",{className:t.default.container,children:[e.jsx(a.Typography,{defaultVariant:"displayXs",mobileVariant:"headingLg",children:"Studies"}),e.jsx("div",{className:t.default.studies,children:r.map((i,o)=>e.jsx(d.StudyCard,{...i},o))}),s&&e.jsx("div",{className:t.default.buttonContainer,children:e.jsx(c.Button,{size:"lg",variant:"muted",prefixIcon:u.EIconName.PLUS,onClick:n,children:"show more"})})]})});exports.ResearchStudies=l;
1
+ "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),o=require("../../components/Typography/Typography.cjs.js"),c=require("../../components/Button/Button.cjs.js");require("../../components/Icon/Icon.cjs.js");const d=require("../../components/Icon/constants.cjs.js"),u=require("./components/StudyCard/StudyCard.cjs.js"),t=require("./researchStudies.module.css.cjs.js"),l=({studies:s,hasMoreButton:n,title:i,onClickShowMore:a})=>e.jsx("div",{className:t.default.root,children:e.jsxs("div",{className:t.default.container,children:[e.jsx(o.Typography,{defaultVariant:"displayXs",mobileVariant:"headingLg",children:i}),e.jsx("div",{className:t.default.studies,children:s.map((r,h)=>e.jsx("div",{className:t.default.studyCard,children:e.jsx(u.StudyCard,{...r})},`${r.title}_${r.link}`))}),n&&e.jsx("div",{className:t.default.buttonContainer,children:e.jsx(c.Button,{size:"lg",variant:"muted",prefixIcon:d.EIconName.PLUS,onClick:a,children:"show more"})})]})});exports.ResearchStudies=l;
@@ -1,9 +1,10 @@
1
1
  import { TResearchArticleView } from '../../types/articles';
2
2
 
3
3
  type ResearchStudiesProps = {
4
+ title: string;
4
5
  studies: Array<TResearchArticleView>;
5
6
  hasMoreButton: boolean;
6
7
  onClickShowMore: () => void;
7
8
  };
8
- export declare const ResearchStudies: ({ studies, hasMoreButton, onClickShowMore }: ResearchStudiesProps) => import("react/jsx-runtime").JSX.Element;
9
+ export declare const ResearchStudies: ({ studies, hasMoreButton, title, onClickShowMore }: ResearchStudiesProps) => import("react/jsx-runtime").JSX.Element;
9
10
  export {};
@@ -1,16 +1,16 @@
1
1
  "use client";
2
- import { jsx as r, jsxs as m } from "react/jsx-runtime";
3
- import { Typography as n } from "../../components/Typography/Typography.es.js";
2
+ import { jsx as i, jsxs as s } from "react/jsx-runtime";
3
+ import { Typography as m } from "../../components/Typography/Typography.es.js";
4
4
  import { Button as d } from "../../components/Button/Button.es.js";
5
5
  import "../../components/Icon/Icon.es.js";
6
- import { EIconName as c } from "../../components/Icon/constants.es.js";
7
- import { StudyCard as l } from "./components/StudyCard/StudyCard.es.js";
8
- import i from "./researchStudies.module.css.es.js";
9
- const g = ({ studies: e, hasMoreButton: o, onClickShowMore: t }) => /* @__PURE__ */ r("div", { className: i.root, children: /* @__PURE__ */ m("div", { className: i.container, children: [
10
- /* @__PURE__ */ r(n, { defaultVariant: "displayXs", mobileVariant: "headingLg", children: "Studies" }),
11
- /* @__PURE__ */ r("div", { className: i.studies, children: e.map((a, s) => /* @__PURE__ */ r(l, { ...a }, s)) }),
12
- o && /* @__PURE__ */ r("div", { className: i.buttonContainer, children: /* @__PURE__ */ r(d, { size: "lg", variant: "muted", prefixIcon: c.PLUS, onClick: t, children: "show more" }) })
6
+ import { EIconName as l } from "../../components/Icon/constants.es.js";
7
+ import { StudyCard as c } from "./components/StudyCard/StudyCard.es.js";
8
+ import r from "./researchStudies.module.css.es.js";
9
+ const y = ({ studies: o, hasMoreButton: t, title: a, onClickShowMore: n }) => /* @__PURE__ */ i("div", { className: r.root, children: /* @__PURE__ */ s("div", { className: r.container, children: [
10
+ /* @__PURE__ */ i(m, { defaultVariant: "displayXs", mobileVariant: "headingLg", children: a }),
11
+ /* @__PURE__ */ i("div", { className: r.studies, children: o.map((e, p) => /* @__PURE__ */ i("div", { className: r.studyCard, children: /* @__PURE__ */ i(c, { ...e }) }, `${e.title}_${e.link}`)) }),
12
+ t && /* @__PURE__ */ i("div", { className: r.buttonContainer, children: /* @__PURE__ */ i(d, { size: "lg", variant: "muted", prefixIcon: l.PLUS, onClick: n, children: "show more" }) })
13
13
  ] }) });
14
14
  export {
15
- g as ResearchStudies
15
+ y as ResearchStudies
16
16
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),n=require("../../../../utils/formatDate.cjs.js"),c=require("../../../../components/Label/Label.cjs.js"),r=require("../../../../components/Typography/Typography.cjs.js"),a=require("./studyCard.module.css.cjs.js");function u({title:s,link:i,image:o,date:d,label:t,readTime:l}){return e.jsxs("a",{href:i,className:a.default.root,children:[e.jsxs("div",{className:a.default.content,children:[e.jsx("div",{className:a.default.imagePart,style:{backgroundImage:`url(${o})`},children:t&&e.jsx(c.Label,{color:"white",size:"lg",children:t})}),e.jsxs("div",{className:a.default.dataPart,children:[e.jsxs("div",{className:a.default.info,children:[e.jsx(r.Typography,{defaultVariant:"labelSm",emphasis:!0,weight:"medium",color:"color-neutral-500",children:n.formatDate(d)}),!!l&&e.jsxs(e.Fragment,{children:[e.jsx(r.Typography,{defaultVariant:"labelSm",emphasis:!0,weight:"medium",color:"color-neutral-500",children:"•"}),e.jsxs(r.Typography,{defaultVariant:"labelSm",emphasis:!0,weight:"medium",color:"color-neutral-500",children:[l," MIN READ"]})]})]}),e.jsx(r.Typography,{className:a.default.title,defaultVariant:"headingXs",children:s})]})]}),e.jsx("div",{className:a.default.borderLeft}),e.jsx("div",{className:a.default.borderRight})]})}exports.StudyCard=u;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),n=require("../../../../utils/formatDate.cjs.js"),c=require("../../../../components/Label/Label.cjs.js"),r=require("../../../../components/Typography/Typography.cjs.js"),a=require("./studyCard.module.css.cjs.js");function u({title:s,link:i,image:d,date:o,label:t,readTime:l}){return e.jsx("a",{href:i,className:a.default.root,children:e.jsxs("div",{className:a.default.content,children:[e.jsx("div",{className:a.default.imagePart,style:{backgroundImage:`url(${d})`},children:t&&e.jsx(c.Label,{color:"white",size:"lg",children:t})}),e.jsxs("div",{className:a.default.dataPart,children:[e.jsxs("div",{className:a.default.info,children:[e.jsx(r.Typography,{defaultVariant:"labelSm",emphasis:!0,weight:"medium",color:"color-neutral-500",children:n.formatDate(o)}),!!l&&e.jsxs(e.Fragment,{children:[e.jsx(r.Typography,{defaultVariant:"labelSm",emphasis:!0,weight:"medium",color:"color-neutral-500",children:"•"}),e.jsxs(r.Typography,{defaultVariant:"labelSm",emphasis:!0,weight:"medium",color:"color-neutral-500",children:[l," MIN READ"]})]})]}),e.jsx(r.Typography,{className:a.default.title,defaultVariant:"headingXs",children:s})]}),e.jsx("div",{className:a.default.borderLeft,"data-line":"left"}),e.jsx("div",{className:a.default.borderRight,"data-line":"right"})]})})}exports.StudyCard=u;
@@ -1,29 +1,27 @@
1
- import { jsxs as a, jsx as r, Fragment as c } from "react/jsx-runtime";
2
- import { formatDate as n } from "../../../../utils/formatDate.es.js";
1
+ import { jsx as e, jsxs as r, Fragment as s } from "react/jsx-runtime";
2
+ import { formatDate as c } from "../../../../utils/formatDate.es.js";
3
3
  import { Label as h } from "../../../../components/Label/Label.es.js";
4
4
  import { Typography as l } from "../../../../components/Typography/Typography.es.js";
5
- import e from "./studyCard.module.css.es.js";
6
- function b({ title: o, link: m, image: d, date: s, label: i, readTime: t }) {
7
- return /* @__PURE__ */ a("a", { href: m, className: e.root, children: [
8
- /* @__PURE__ */ a("div", { className: e.content, children: [
9
- /* @__PURE__ */ r("div", { className: e.imagePart, style: { backgroundImage: `url(${d})` }, children: i && /* @__PURE__ */ r(h, { color: "white", size: "lg", children: i }) }),
10
- /* @__PURE__ */ a("div", { className: e.dataPart, children: [
11
- /* @__PURE__ */ a("div", { className: e.info, children: [
12
- /* @__PURE__ */ r(l, { defaultVariant: "labelSm", emphasis: !0, weight: "medium", color: "color-neutral-500", children: n(s) }),
13
- !!t && /* @__PURE__ */ a(c, { children: [
14
- /* @__PURE__ */ r(l, { defaultVariant: "labelSm", emphasis: !0, weight: "medium", color: "color-neutral-500", children: "•" }),
15
- /* @__PURE__ */ a(l, { defaultVariant: "labelSm", emphasis: !0, weight: "medium", color: "color-neutral-500", children: [
16
- t,
17
- " MIN READ"
18
- ] })
5
+ import a from "./studyCard.module.css.es.js";
6
+ function b({ title: o, link: m, image: d, date: n, label: t, readTime: i }) {
7
+ return /* @__PURE__ */ e("a", { href: m, className: a.root, children: /* @__PURE__ */ r("div", { className: a.content, children: [
8
+ /* @__PURE__ */ e("div", { className: a.imagePart, style: { backgroundImage: `url(${d})` }, children: t && /* @__PURE__ */ e(h, { color: "white", size: "lg", children: t }) }),
9
+ /* @__PURE__ */ r("div", { className: a.dataPart, children: [
10
+ /* @__PURE__ */ r("div", { className: a.info, children: [
11
+ /* @__PURE__ */ e(l, { defaultVariant: "labelSm", emphasis: !0, weight: "medium", color: "color-neutral-500", children: c(n) }),
12
+ !!i && /* @__PURE__ */ r(s, { children: [
13
+ /* @__PURE__ */ e(l, { defaultVariant: "labelSm", emphasis: !0, weight: "medium", color: "color-neutral-500", children: "•" }),
14
+ /* @__PURE__ */ r(l, { defaultVariant: "labelSm", emphasis: !0, weight: "medium", color: "color-neutral-500", children: [
15
+ i,
16
+ " MIN READ"
19
17
  ] })
20
- ] }),
21
- /* @__PURE__ */ r(l, { className: e.title, defaultVariant: "headingXs", children: o })
22
- ] })
18
+ ] })
19
+ ] }),
20
+ /* @__PURE__ */ e(l, { className: a.title, defaultVariant: "headingXs", children: o })
23
21
  ] }),
24
- /* @__PURE__ */ r("div", { className: e.borderLeft }),
25
- /* @__PURE__ */ r("div", { className: e.borderRight })
26
- ] });
22
+ /* @__PURE__ */ e("div", { className: a.borderLeft, "data-line": "left" }),
23
+ /* @__PURE__ */ e("div", { className: a.borderRight, "data-line": "right" })
24
+ ] }) });
27
25
  }
28
26
  export {
29
27
  b as StudyCard
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="researchStudies-module__root___l-DhN",t="researchStudies-module__container___K9kTm",o="researchStudies-module__studies___-dT6a",n="researchStudies-module__buttonContainer___XKU7w",s={root:e,container:t,studies:o,buttonContainer:n};exports.buttonContainer=n;exports.container=t;exports.default=s;exports.root=e;exports.studies=o;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t="researchStudies-module__root___l-DhN",e="researchStudies-module__container___K9kTm",o="researchStudies-module__studies___-dT6a",s="researchStudies-module__studyCard___Xqw5Q",r="researchStudies-module__buttonContainer___XKU7w",u={root:t,container:e,studies:o,studyCard:s,buttonContainer:r};exports.buttonContainer=r;exports.container=e;exports.default=u;exports.root=t;exports.studies=o;exports.studyCard=s;
@@ -1,13 +1,15 @@
1
- const t = "researchStudies-module__root___l-DhN", e = "researchStudies-module__container___K9kTm", o = "researchStudies-module__studies___-dT6a", s = "researchStudies-module__buttonContainer___XKU7w", n = {
1
+ const t = "researchStudies-module__root___l-DhN", e = "researchStudies-module__container___K9kTm", s = "researchStudies-module__studies___-dT6a", o = "researchStudies-module__studyCard___Xqw5Q", _ = "researchStudies-module__buttonContainer___XKU7w", r = {
2
2
  root: t,
3
3
  container: e,
4
- studies: o,
5
- buttonContainer: s
4
+ studies: s,
5
+ studyCard: o,
6
+ buttonContainer: _
6
7
  };
7
8
  export {
8
- s as buttonContainer,
9
+ _ as buttonContainer,
9
10
  e as container,
10
- n as default,
11
+ r as default,
11
12
  t as root,
12
- o as studies
13
+ s as studies,
14
+ o as studyCard
13
15
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zenpatient-org/healthspan-marketing-ui",
3
- "version": "0.1.77",
3
+ "version": "0.1.79",
4
4
  "description": "Design system",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.es.js",
@@ -601,6 +601,11 @@
601
601
  "import": "./dist/pageComponents/CallToActionDefault/CallToActionDefault.es.js",
602
602
  "require": "./dist/pageComponents/CallToActionDefault/CallToActionDefault.cjs.js"
603
603
  },
604
+ "./Grid": {
605
+ "types": "./dist/modules/Grid/Grid.d.ts",
606
+ "import": "./dist/modules/Grid/Grid.es.js",
607
+ "require": "./dist/modules/Grid/Grid.cjs.js"
608
+ },
604
609
  "./dist/*.css": "./dist/*.css"
605
610
  }
606
611
  }