@zenpatient-org/healthspan-marketing-ui 0.2.27 → 0.2.29

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.
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),l=require("../Icon/constants.cjs.js"),a=require("../../src/components/HighlightCard/highlightCard.module.css"),s=require("../Typography/Typography.cjs.js"),d=require("../IconButton/IconButton.cjs.js"),m=({image:h,eyebrow:t,title:r,description:i,link:n})=>{const o=e.jsxs(e.Fragment,{children:[t&&e.jsx(s.Typography,{as:"p",defaultVariant:"labelSm",emphasis:!0,className:a.eyebrow,children:t}),e.jsxs("div",{className:a.bottomContainer,children:[e.jsxs("div",{className:a.titleContainer,children:[r&&e.jsx(s.Typography,{as:"p",defaultVariant:"headingXl",mobileVariant:"headingLg",className:a.title,children:r}),n&&e.jsxs(e.Fragment,{children:[e.jsx("div",{className:a.desktop,children:e.jsx(d.IconButton,{variant:"muted-invert",size:"lg",iconName:l.EIconName.ARROW_FORWARD})}),e.jsx("div",{className:a.mobile,children:e.jsx(d.IconButton,{variant:"muted-invert",size:"md",iconName:l.EIconName.ARROW_FORWARD})})]})]}),i&&e.jsx(s.Typography,{as:"p",defaultVariant:"bodySm",className:a.description,children:i})]})]}),c={backgroundImage:`url(${h})`,backgroundSize:"cover",backgroundPosition:"center"};return n?e.jsx("a",{href:n,className:a.highlightCard,style:c,children:o}):e.jsx("div",{className:a.highlightCard,style:c,children:o})};exports.HighlightCard=m;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),h=require("../Icon/constants.cjs.js"),a=require("../../src/components/HighlightCard/highlightCard.module.css"),s=require("../Typography/Typography.cjs.js"),m=require("../IconButton/IconButton.cjs.js"),u=({image:g,eyebrow:i,title:r,description:o,link:t,colorScheme:n="light"})=>{const c=n==="light"?"muted-invert":"muted",l=e.jsxs(e.Fragment,{children:[i&&e.jsx(s.Typography,{as:"p",defaultVariant:"labelSm",emphasis:!0,className:a.eyebrow,children:i}),e.jsxs("div",{className:a.bottomContainer,children:[e.jsxs("div",{className:a.titleContainer,children:[r&&e.jsx(s.Typography,{as:"p",defaultVariant:"headingXl",mobileVariant:"headingLg",className:a.title,children:r}),t&&e.jsxs(e.Fragment,{children:[e.jsx("div",{className:a.desktop,children:e.jsx(m.IconButton,{variant:c,size:"lg",iconName:h.EIconName.ARROW_FORWARD})}),e.jsx("div",{className:a.mobile,children:e.jsx(m.IconButton,{variant:c,size:"md",iconName:h.EIconName.ARROW_FORWARD})})]})]}),o&&e.jsx(s.Typography,{as:"p",defaultVariant:"bodySm",className:a.description,children:o})]})]}),d={backgroundImage:`url(${g})`,backgroundSize:"cover",backgroundPosition:"center"};return t?e.jsx("a",{href:t,className:a.highlightCard,style:d,"data-scheme":n,children:l}):e.jsx("div",{className:a.highlightCard,style:d,"data-scheme":n,children:l})};exports.HighlightCard=u;
@@ -1,8 +1,11 @@
1
+ import { TColorScheme } from '../../types/common';
2
+
1
3
  export type HighlightCardProps = {
2
4
  image: string;
3
5
  eyebrow?: string;
4
6
  title?: string;
5
7
  description?: string;
6
8
  link?: string;
9
+ colorScheme?: TColorScheme;
7
10
  };
8
- export declare const HighlightCard: ({ image, eyebrow, title, description, link }: HighlightCardProps) => import("react/jsx-runtime").JSX.Element;
11
+ export declare const HighlightCard: ({ image, eyebrow, title, description, link, colorScheme, }: HighlightCardProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,33 +1,40 @@
1
- import { jsxs as i, Fragment as d, jsx as e } from "react/jsx-runtime";
2
- import { EIconName as m } from "../Icon/constants.es.js";
3
- import a from "../../components/HighlightCard/highlightCard.module.css";
4
- import { Typography as t } from "../Typography/Typography.es.js";
5
- import { IconButton as h } from "../IconButton/IconButton.es.js";
6
- const b = ({ image: g, eyebrow: n, title: s, description: l, link: r }) => {
7
- const o = /* @__PURE__ */ i(d, { children: [
8
- n && /* @__PURE__ */ e(t, { as: "p", defaultVariant: "labelSm", emphasis: !0, className: a.eyebrow, children: n }),
9
- /* @__PURE__ */ i("div", { className: a.bottomContainer, children: [
10
- /* @__PURE__ */ i("div", { className: a.titleContainer, children: [
11
- s && /* @__PURE__ */ e(
12
- t,
1
+ import { jsxs as t, Fragment as h, jsx as a } from "react/jsx-runtime";
2
+ import { EIconName as g } from "../Icon/constants.es.js";
3
+ import e from "../../components/HighlightCard/highlightCard.module.css";
4
+ import { Typography as n } from "../Typography/Typography.es.js";
5
+ import { IconButton as p } from "../IconButton/IconButton.es.js";
6
+ const y = ({
7
+ image: u,
8
+ eyebrow: s,
9
+ title: l,
10
+ description: d,
11
+ link: i,
12
+ colorScheme: r = "light"
13
+ }) => {
14
+ const c = r === "light" ? "muted-invert" : "muted", o = /* @__PURE__ */ t(h, { children: [
15
+ s && /* @__PURE__ */ a(n, { as: "p", defaultVariant: "labelSm", emphasis: !0, className: e.eyebrow, children: s }),
16
+ /* @__PURE__ */ t("div", { className: e.bottomContainer, children: [
17
+ /* @__PURE__ */ t("div", { className: e.titleContainer, children: [
18
+ l && /* @__PURE__ */ a(
19
+ n,
13
20
  {
14
21
  as: "p",
15
22
  defaultVariant: "headingXl",
16
23
  mobileVariant: "headingLg",
17
- className: a.title,
18
- children: s
24
+ className: e.title,
25
+ children: l
19
26
  }
20
27
  ),
21
- r && /* @__PURE__ */ i(d, { children: [
22
- /* @__PURE__ */ e("div", { className: a.desktop, children: /* @__PURE__ */ e(h, { variant: "muted-invert", size: "lg", iconName: m.ARROW_FORWARD }) }),
23
- /* @__PURE__ */ e("div", { className: a.mobile, children: /* @__PURE__ */ e(h, { variant: "muted-invert", size: "md", iconName: m.ARROW_FORWARD }) })
28
+ i && /* @__PURE__ */ t(h, { children: [
29
+ /* @__PURE__ */ a("div", { className: e.desktop, children: /* @__PURE__ */ a(p, { variant: c, size: "lg", iconName: g.ARROW_FORWARD }) }),
30
+ /* @__PURE__ */ a("div", { className: e.mobile, children: /* @__PURE__ */ a(p, { variant: c, size: "md", iconName: g.ARROW_FORWARD }) })
24
31
  ] })
25
32
  ] }),
26
- l && /* @__PURE__ */ e(t, { as: "p", defaultVariant: "bodySm", className: a.description, children: l })
33
+ d && /* @__PURE__ */ a(n, { as: "p", defaultVariant: "bodySm", className: e.description, children: d })
27
34
  ] })
28
- ] }), c = { backgroundImage: `url(${g})`, backgroundSize: "cover", backgroundPosition: "center" };
29
- return r ? /* @__PURE__ */ e("a", { href: r, className: a.highlightCard, style: c, children: o }) : /* @__PURE__ */ e("div", { className: a.highlightCard, style: c, children: o });
35
+ ] }), m = { backgroundImage: `url(${u})`, backgroundSize: "cover", backgroundPosition: "center" };
36
+ return i ? /* @__PURE__ */ a("a", { href: i, className: e.highlightCard, style: m, "data-scheme": r, children: o }) : /* @__PURE__ */ a("div", { className: e.highlightCard, style: m, "data-scheme": r, children: o });
30
37
  };
31
38
  export {
32
- b as HighlightCard
39
+ y as HighlightCard
33
40
  };
@@ -1,20 +1,36 @@
1
1
  .highlightCard {
2
+ --primary-inverted: var(--color-text-primary-inverted);
3
+ --secondary-inverted: var(--color-text-secondary-inverted);
4
+
2
5
  display: flex;
3
6
  flex-direction: column;
4
7
  justify-content: space-between;
5
8
  padding: 32px;
6
9
  border-radius: var(--border-radius-lg);
7
- height: 483px;
8
- color: var(--color-text-primary-inverted);
10
+ aspect-ratio: 389 / 483;
11
+ color: var(--primary-inverted);
9
12
  text-decoration: none;
10
13
  }
11
14
 
15
+ .highlightCard[data-scheme='dark'] {
16
+ --primary-inverted: var(--color-text-primary);
17
+ --secondary-inverted: var(--color-text-secondary);
18
+ }
19
+
12
20
  .eyebrow {
13
21
  width: 100%;
14
- color: var(--color-text-secondary-inverted);
22
+ color: var(--secondary-inverted);
15
23
  align-self: flex-start;
16
24
  }
17
25
 
26
+ .title {
27
+ color: var(--primary-inverted);
28
+ }
29
+
30
+ .description {
31
+ color: var(--secondary-inverted);
32
+ }
33
+
18
34
  .bottomContainer {
19
35
  display: flex;
20
36
  flex-direction: column;
@@ -43,7 +59,6 @@
43
59
 
44
60
  @media (width <= 1200px) {
45
61
  .highlightCard {
46
- height: 477px;
47
62
  padding: 24px;
48
63
  }
49
64
 
@@ -55,7 +70,6 @@
55
70
 
56
71
  @media (width <= 768px) {
57
72
  .highlightCard {
58
- height: 415.5px;
59
73
  padding: 24px;
60
74
  }
61
75
 
@@ -36,7 +36,7 @@
36
36
  }
37
37
 
38
38
  .typeBadge[data-type='hormone'] {
39
- background-color: var(--color-lilac-300);
39
+ background-color: var(--color-bg-fill-brand-lilac);
40
40
  }
41
41
 
42
42
  .badgeIcon {
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("react/jsx-runtime"),a=require("../../src/modules/Citation/citation.module.css"),i=require("../../utils/cn/cn.cjs.js"),u=require("../../components/Typography/Typography.cjs.js");function l({orderPadding:r,items:n,className:c}){const e=isNaN(Number(r))?0:r;return!n||n.length===0?null:t.jsx("section",{className:i.cn(a.root,c),children:n==null?void 0:n.map((o,s)=>t.jsxs(u.Typography,{as:"p",className:a.text,defaultVariant:"bodySm",mobileVariant:"bodyXs",children:[t.jsx("sup",{children:e?e+s:s+1})," ",o.item]},o.id))})}exports.Citation=l;
@@ -0,0 +1,9 @@
1
+ export type CitationProps = {
2
+ orderPadding?: number;
3
+ items?: Array<{
4
+ id: string | number;
5
+ item: string;
6
+ }>;
7
+ className?: string;
8
+ };
9
+ export declare function Citation({ orderPadding, items, className }: CitationProps): import("react/jsx-runtime").JSX.Element | null;
@@ -0,0 +1,15 @@
1
+ import { jsx as l, jsxs as c } from "react/jsx-runtime";
2
+ import p from "../../modules/Citation/citation.module.css";
3
+ import { cn as i } from "../../utils/cn/cn.es.js";
4
+ import { Typography as e } from "../../components/Typography/Typography.es.js";
5
+ function y({ orderPadding: o, items: r, className: s }) {
6
+ const t = isNaN(Number(o)) ? 0 : o;
7
+ return !r || r.length === 0 ? null : /* @__PURE__ */ l("section", { className: i(p.root, s), children: r == null ? void 0 : r.map((a, n) => /* @__PURE__ */ c(e, { as: "p", className: p.text, defaultVariant: "bodySm", mobileVariant: "bodyXs", children: [
8
+ /* @__PURE__ */ l("sup", { children: t ? t + n : n + 1 }),
9
+ " ",
10
+ a.item
11
+ ] }, a.id)) });
12
+ }
13
+ export {
14
+ y as Citation
15
+ };
@@ -0,0 +1,23 @@
1
+ .root {
2
+ width: 100%;
3
+ padding: 16px 120px 48px 120px;
4
+ max-width: var(--content-max-width);
5
+ margin: 0 auto;
6
+ }
7
+
8
+ .text {
9
+ width: 100%;
10
+ color: var(--color-text-secondary);
11
+ }
12
+
13
+ .text sup {
14
+ font-size: 0.8em;
15
+ vertical-align: super;
16
+ line-height: 1;
17
+ }
18
+
19
+ @media (width <= 768px) {
20
+ .text {
21
+ padding: 24px;
22
+ }
23
+ }
@@ -0,0 +1,2 @@
1
+ export { Citation } from './Citation';
2
+ export type { CitationProps } from './Citation';
@@ -1 +1 @@
1
- "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),v=require("swiper/modules"),o=require("swiper/react"),_=require("../../utils/useSwiper/useSwiper.cjs.js"),s=require("../../src/modules/Highlight/highlight.module.css");;/* empty css */;/* empty css */const c=require("../../components/Typography/Typography.cjs.js"),d=require("../../components/HighlightCard/HighlightCard.cjs.js"),q=require("../../components/ProgressButton/ProgressButton.cjs.js"),P=[v.Navigation],k=({title:r,subtitle:t,highlightCards:n})=>{const h=_.useSwiper(),a=n.length===3,g=n.length>3,{isEnd:p,isBeginning:m,hideNav:u,handleSlideChange:w,handlePrevClick:x,handleNextClick:y,onSwiperInit:j,handleSwiperResize:S,handleReachEnd:N,handleReachBeginning:b}=h;return e.jsx("section",{className:s.root,children:e.jsxs("div",{className:s.container,children:[(r||t)&&e.jsxs("div",{className:s.textContent,children:[r&&e.jsx(c.Typography,{as:"h2",defaultVariant:"displayMd",mobileVariant:"headingLg",className:s.title,children:r}),t&&e.jsx(c.Typography,{as:"p",defaultVariant:"bodyLg",mobileVariant:"bodyMd",className:s.subtitle,children:t})]}),a&&e.jsx("div",{className:s.cardGrid,children:n.map((i,l)=>e.jsx("div",{className:s.cardGridItem,children:e.jsx(d.HighlightCard,{image:i.image,eyebrow:i.eyebrow,title:i.title,description:i.description,link:i.link})},`${i.title}_${l}`))}),!a&&e.jsxs(e.Fragment,{children:[e.jsx("div",{className:s.carouselArea,children:e.jsx(o.Swiper,{onSwiper:j,onResize:S,onSlideChange:w,onReachEnd:N,onReachBeginning:b,modules:P,spaceBetween:16,slidesPerView:3,breakpoints:{0:{slidesPerView:1},769:{slidesPerView:2},1201:{slidesPerView:3}},className:s.swiper,children:n.map((i,l)=>e.jsx(o.SwiperSlide,{className:s.swiperSlide,children:e.jsx(d.HighlightCard,{image:i.image,eyebrow:i.eyebrow,title:i.title,description:i.description,link:i.link})},`${i.title}_${l}`))})}),g&&!u&&e.jsx("div",{className:s.navigation,children:e.jsx(q.ProgressButton,{left:{disabled:m,onClick:x},right:{disabled:p,onClick:y}})})]})]})})};exports.Highlight=k;
1
+ "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),v=require("swiper/modules"),a=require("swiper/react"),_=require("../../utils/useSwiper/useSwiper.cjs.js"),s=require("../../src/modules/Highlight/highlight.module.css");;/* empty css */;/* empty css */const c=require("../../components/Typography/Typography.cjs.js"),d=require("../../components/HighlightCard/HighlightCard.cjs.js"),q=require("../../components/ProgressButton/ProgressButton.cjs.js"),P=[v.Navigation],k=({title:r,subtitle:t,highlightCards:n})=>{const h=_.useSwiper(),o=n.length===3,g=n.length>3,{isEnd:p,isBeginning:m,hideNav:u,handleSlideChange:w,handlePrevClick:S,handleNextClick:x,onSwiperInit:y,handleSwiperResize:j,handleReachEnd:N,handleReachBeginning:b}=h;return e.jsx("section",{className:s.root,children:e.jsxs("div",{className:s.container,children:[(r||t)&&e.jsxs("div",{className:s.textContent,children:[r&&e.jsx(c.Typography,{as:"h2",defaultVariant:"displayMd",mobileVariant:"headingLg",className:s.title,children:r}),t&&e.jsx(c.Typography,{as:"p",defaultVariant:"bodyLg",mobileVariant:"bodyMd",className:s.subtitle,children:t})]}),o&&e.jsx("div",{className:s.cardGrid,children:n.map((i,l)=>e.jsx("div",{className:s.cardGridItem,children:e.jsx(d.HighlightCard,{image:i.image,eyebrow:i.eyebrow,title:i.title,description:i.description,link:i.link,colorScheme:i.colorScheme})},`${i.title}_${l}`))}),!o&&e.jsxs(e.Fragment,{children:[e.jsx("div",{className:s.carouselArea,children:e.jsx(a.Swiper,{onSwiper:y,onResize:j,onSlideChange:w,onReachEnd:N,onReachBeginning:b,modules:P,spaceBetween:16,slidesPerView:3,breakpoints:{0:{slidesPerView:1},769:{slidesPerView:2},1201:{slidesPerView:3}},className:s.swiper,children:n.map((i,l)=>e.jsx(a.SwiperSlide,{className:s.swiperSlide,children:e.jsx(d.HighlightCard,{image:i.image,eyebrow:i.eyebrow,title:i.title,description:i.description,link:i.link,colorScheme:i.colorScheme})},`${i.title}_${l}`))})}),g&&!u&&e.jsx("div",{className:s.navigation,children:e.jsx(q.ProgressButton,{left:{disabled:m,onClick:S},right:{disabled:p,onClick:x}})})]})]})})};exports.Highlight=k;
@@ -1,31 +1,31 @@
1
1
  "use client";
2
- import { jsx as i, jsxs as o, Fragment as V } from "react/jsx-runtime";
2
+ import { jsx as i, jsxs as t, Fragment as V } from "react/jsx-runtime";
3
3
  import { Navigation as u } from "swiper/modules";
4
4
  import { Swiper as P, SwiperSlide as R } from "swiper/react";
5
5
  import { useSwiper as x } from "../../utils/useSwiper/useSwiper.es.js";
6
6
  import n from "../../modules/Highlight/highlight.module.css";
7
7
  /* empty css */
8
8
  /* empty css */
9
- import { Typography as d } from "../../components/Typography/Typography.es.js";
9
+ import { Typography as c } from "../../components/Typography/Typography.es.js";
10
10
  import { HighlightCard as m } from "../../components/HighlightCard/HighlightCard.es.js";
11
11
  import { ProgressButton as E } from "../../components/ProgressButton/ProgressButton.es.js";
12
- const B = [u], T = ({ title: l, subtitle: r, highlightCards: s }) => {
13
- const c = x(), t = s.length === 3, p = s.length > 3, {
14
- isEnd: h,
12
+ const B = [u], T = ({ title: l, subtitle: r, highlightCards: o }) => {
13
+ const d = x(), a = o.length === 3, h = o.length > 3, {
14
+ isEnd: p,
15
15
  isBeginning: g,
16
16
  hideNav: w,
17
- handleSlideChange: N,
18
- handlePrevClick: S,
17
+ handleSlideChange: S,
18
+ handlePrevClick: N,
19
19
  handleNextClick: f,
20
20
  onSwiperInit: v,
21
21
  handleSwiperResize: y,
22
22
  handleReachEnd: b,
23
23
  handleReachBeginning: k
24
- } = c;
25
- return /* @__PURE__ */ i("section", { className: n.root, children: /* @__PURE__ */ o("div", { className: n.container, children: [
26
- (l || r) && /* @__PURE__ */ o("div", { className: n.textContent, children: [
24
+ } = d;
25
+ return /* @__PURE__ */ i("section", { className: n.root, children: /* @__PURE__ */ t("div", { className: n.container, children: [
26
+ (l || r) && /* @__PURE__ */ t("div", { className: n.textContent, children: [
27
27
  l && /* @__PURE__ */ i(
28
- d,
28
+ c,
29
29
  {
30
30
  as: "h2",
31
31
  defaultVariant: "displayMd",
@@ -35,7 +35,7 @@ const B = [u], T = ({ title: l, subtitle: r, highlightCards: s }) => {
35
35
  }
36
36
  ),
37
37
  r && /* @__PURE__ */ i(
38
- d,
38
+ c,
39
39
  {
40
40
  as: "p",
41
41
  defaultVariant: "bodyLg",
@@ -45,23 +45,24 @@ const B = [u], T = ({ title: l, subtitle: r, highlightCards: s }) => {
45
45
  }
46
46
  )
47
47
  ] }),
48
- t && /* @__PURE__ */ i("div", { className: n.cardGrid, children: s.map((e, a) => /* @__PURE__ */ i("div", { className: n.cardGridItem, children: /* @__PURE__ */ i(
48
+ a && /* @__PURE__ */ i("div", { className: n.cardGrid, children: o.map((e, s) => /* @__PURE__ */ i("div", { className: n.cardGridItem, children: /* @__PURE__ */ i(
49
49
  m,
50
50
  {
51
51
  image: e.image,
52
52
  eyebrow: e.eyebrow,
53
53
  title: e.title,
54
54
  description: e.description,
55
- link: e.link
55
+ link: e.link,
56
+ colorScheme: e.colorScheme
56
57
  }
57
- ) }, `${e.title}_${a}`)) }),
58
- !t && /* @__PURE__ */ o(V, { children: [
58
+ ) }, `${e.title}_${s}`)) }),
59
+ !a && /* @__PURE__ */ t(V, { children: [
59
60
  /* @__PURE__ */ i("div", { className: n.carouselArea, children: /* @__PURE__ */ i(
60
61
  P,
61
62
  {
62
63
  onSwiper: v,
63
64
  onResize: y,
64
- onSlideChange: N,
65
+ onSlideChange: S,
65
66
  onReachEnd: b,
66
67
  onReachBeginning: k,
67
68
  modules: B,
@@ -79,27 +80,28 @@ const B = [u], T = ({ title: l, subtitle: r, highlightCards: s }) => {
79
80
  }
80
81
  },
81
82
  className: n.swiper,
82
- children: s.map((e, a) => /* @__PURE__ */ i(R, { className: n.swiperSlide, children: /* @__PURE__ */ i(
83
+ children: o.map((e, s) => /* @__PURE__ */ i(R, { className: n.swiperSlide, children: /* @__PURE__ */ i(
83
84
  m,
84
85
  {
85
86
  image: e.image,
86
87
  eyebrow: e.eyebrow,
87
88
  title: e.title,
88
89
  description: e.description,
89
- link: e.link
90
+ link: e.link,
91
+ colorScheme: e.colorScheme
90
92
  }
91
- ) }, `${e.title}_${a}`))
93
+ ) }, `${e.title}_${s}`))
92
94
  }
93
95
  ) }),
94
- p && !w && /* @__PURE__ */ i("div", { className: n.navigation, children: /* @__PURE__ */ i(
96
+ h && !w && /* @__PURE__ */ i("div", { className: n.navigation, children: /* @__PURE__ */ i(
95
97
  E,
96
98
  {
97
99
  left: {
98
100
  disabled: g,
99
- onClick: S
101
+ onClick: N
100
102
  },
101
103
  right: {
102
- disabled: h,
104
+ disabled: p,
103
105
  onClick: f
104
106
  }
105
107
  }
@@ -74,16 +74,17 @@
74
74
  width: 100%;
75
75
  }
76
76
 
77
+ @media (min-width: 900px) and (max-width: 1200px) {
78
+ .cardGridItem {
79
+ max-width: 290px;
80
+ width: 100%;
81
+ }
82
+ }
77
83
  @media (min-width: 769px) and (max-width: 1200px) {
78
84
  .cardGrid {
79
85
  max-width: 100%;
80
86
  }
81
87
 
82
- .cardGridItem {
83
- max-width: 335px;
84
- width: 100%;
85
- }
86
-
87
88
  .title {
88
89
  font-size: 56px;
89
90
  letter-spacing: -2.24px;
@@ -99,7 +100,7 @@
99
100
  }
100
101
  }
101
102
 
102
- @media (max-width: 979px) {
103
+ @media (max-width: 900px) {
103
104
  .cardGrid {
104
105
  flex-direction: column;
105
106
  align-items: center;
@@ -109,6 +110,7 @@
109
110
  @media (max-width: 768px) {
110
111
  .cardGridItem {
111
112
  max-width: 335px;
113
+ min-width: 250px;
112
114
  width: 100%;
113
115
  }
114
116
  .container {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zenpatient-org/healthspan-marketing-ui",
3
- "version": "0.2.27",
3
+ "version": "0.2.29",
4
4
  "description": "Design system",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.es.js",
@@ -346,6 +346,11 @@
346
346
  "import": "./dist/modules/CircleHighlights/CircleHighlights.es.js",
347
347
  "require": "./dist/modules/CircleHighlights/CircleHighlights.cjs.js"
348
348
  },
349
+ "./Citation": {
350
+ "types": "./dist/modules/Citation/Citation.d.ts",
351
+ "import": "./dist/modules/Citation/Citation.es.js",
352
+ "require": "./dist/modules/Citation/Citation.cjs.js"
353
+ },
349
354
  "./FeaturedIn": {
350
355
  "types": "./dist/modules/FeaturedIn/FeaturedIn.d.ts",
351
356
  "import": "./dist/modules/FeaturedIn/FeaturedIn.es.js",