@zenpatient-org/healthspan-marketing-ui 0.2.42 → 0.2.44
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/modules/BasicImageText/BasicImageText.cjs.js +1 -0
- package/dist/modules/BasicImageText/BasicImageText.d.ts +18 -0
- package/dist/modules/BasicImageText/BasicImageText.es.js +59 -0
- package/dist/modules/BasicImageText/basicImageText.module.css +122 -0
- package/dist/modules/BasicImageText/index.d.ts +1 -0
- package/dist/modules/FeaturedIn/FeaturedIn.cjs.js +1 -1
- package/dist/modules/FeaturedIn/FeaturedIn.d.ts +2 -3
- package/dist/modules/FeaturedIn/FeaturedIn.es.js +14 -14
- package/dist/modules/FeaturedIn/components/CtaFeaturedIn.cjs.js +1 -1
- package/dist/modules/FeaturedIn/components/CtaFeaturedIn.d.ts +3 -2
- package/dist/modules/FeaturedIn/components/CtaFeaturedIn.es.js +6 -6
- package/dist/modules/FeaturedIn/featuredIn.module.css +9 -22
- package/package.json +6 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),a=require("../../src/modules/BasicImageText/basicImageText.module.css"),t=require("../../components/Typography/Typography.cjs.js"),p=require("../../components/HighlightedTitle/HighlightedTitle.cjs.js"),x=require("../../components/Button/Button.cjs.js"),y={solar:"color-text-primary-brand-solar",indigo:"color-text-primary-brand-indigo",primary:"color-text-primary",inverted:"color-text-primary-inverted"},j=({imagePosition:n,title:c,description:s,image:d,button:i,label:l,labelColor:o,mobileImage:m,colorScheme:r,buttonColor:g})=>{const h=o||(r==="dark"?"inverted":"primary");return e.jsx("section",{className:a.root,"data-color-scheme":r,children:e.jsxs("div",{className:a.container,"data-image-position":n,children:[e.jsxs("div",{className:a.textContainer,children:[l&&e.jsx(t.Typography,{as:"p",defaultVariant:"labelMd",mobileVariant:"labelSm",emphasis:!0,className:a.label,color:y[h],children:l}),e.jsxs("div",{className:a.titleContainer,children:[e.jsx(p.HighlightedTitle,{colorScheme:r==="dark"?"dark":"light",className:a.title,defaultVariant:"displayMd",mobileVariant:"headingXl",title:c}),e.jsx("div",{className:a.mobileImageContainer,children:e.jsx("img",{src:m,alt:"",className:a.mobileImage})}),s&&e.jsx(t.Typography,{className:a.description,defaultVariant:"bodyLg",mobileVariant:"bodyMd",children:s})]}),(i==null?void 0:i.link)&&e.jsx("div",{className:a.button,children:e.jsx(x.Button,{as:"a",href:i==null?void 0:i.link,variant:g||"secondary",size:"lg",children:(i==null?void 0:i.text)||"Get Started"})})]}),e.jsx("div",{className:a.imageContainer,children:e.jsx("img",{src:d,alt:"",className:a.image})})]})})};exports.BasicImageText=j;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
|
|
3
|
+
export type BasicImageTextProps = {
|
|
4
|
+
imagePosition: 'left' | 'right';
|
|
5
|
+
title: ReactNode;
|
|
6
|
+
description?: string;
|
|
7
|
+
label?: string;
|
|
8
|
+
labelColor?: 'solar' | 'indigo' | 'primary' | 'inverted';
|
|
9
|
+
image: string;
|
|
10
|
+
mobileImage: string;
|
|
11
|
+
button?: {
|
|
12
|
+
text: string;
|
|
13
|
+
link: string;
|
|
14
|
+
};
|
|
15
|
+
colorScheme: 'light' | 'dark' | 'neutral';
|
|
16
|
+
buttonColor?: 'secondary' | 'muted-invert' | 'primary';
|
|
17
|
+
};
|
|
18
|
+
export declare const BasicImageText: ({ imagePosition, title, description, image, button, label, labelColor, mobileImage, colorScheme, buttonColor, }: BasicImageTextProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { jsx as e, jsxs as l } from "react/jsx-runtime";
|
|
2
|
+
import a from "../../modules/BasicImageText/basicImageText.module.css";
|
|
3
|
+
import { Typography as d } from "../../components/Typography/Typography.es.js";
|
|
4
|
+
import { HighlightedTitle as y } from "../../components/HighlightedTitle/HighlightedTitle.es.js";
|
|
5
|
+
import { Button as N } from "../../components/Button/Button.es.js";
|
|
6
|
+
const v = {
|
|
7
|
+
solar: "color-text-primary-brand-solar",
|
|
8
|
+
indigo: "color-text-primary-brand-indigo",
|
|
9
|
+
primary: "color-text-primary",
|
|
10
|
+
inverted: "color-text-primary-inverted"
|
|
11
|
+
}, M = ({
|
|
12
|
+
imagePosition: t,
|
|
13
|
+
title: c,
|
|
14
|
+
description: s,
|
|
15
|
+
image: o,
|
|
16
|
+
button: i,
|
|
17
|
+
label: m,
|
|
18
|
+
labelColor: n,
|
|
19
|
+
mobileImage: p,
|
|
20
|
+
colorScheme: r,
|
|
21
|
+
buttonColor: g
|
|
22
|
+
}) => {
|
|
23
|
+
const h = n || (r === "dark" ? "inverted" : "primary");
|
|
24
|
+
return /* @__PURE__ */ e("section", { className: a.root, "data-color-scheme": r, children: /* @__PURE__ */ l("div", { className: a.container, "data-image-position": t, children: [
|
|
25
|
+
/* @__PURE__ */ l("div", { className: a.textContainer, children: [
|
|
26
|
+
m && /* @__PURE__ */ e(
|
|
27
|
+
d,
|
|
28
|
+
{
|
|
29
|
+
as: "p",
|
|
30
|
+
defaultVariant: "labelMd",
|
|
31
|
+
mobileVariant: "labelSm",
|
|
32
|
+
emphasis: !0,
|
|
33
|
+
className: a.label,
|
|
34
|
+
color: v[h],
|
|
35
|
+
children: m
|
|
36
|
+
}
|
|
37
|
+
),
|
|
38
|
+
/* @__PURE__ */ l("div", { className: a.titleContainer, children: [
|
|
39
|
+
/* @__PURE__ */ e(
|
|
40
|
+
y,
|
|
41
|
+
{
|
|
42
|
+
colorScheme: r === "dark" ? "dark" : "light",
|
|
43
|
+
className: a.title,
|
|
44
|
+
defaultVariant: "displayMd",
|
|
45
|
+
mobileVariant: "headingXl",
|
|
46
|
+
title: c
|
|
47
|
+
}
|
|
48
|
+
),
|
|
49
|
+
/* @__PURE__ */ e("div", { className: a.mobileImageContainer, children: /* @__PURE__ */ e("img", { src: p, alt: "", className: a.mobileImage }) }),
|
|
50
|
+
s && /* @__PURE__ */ e(d, { className: a.description, defaultVariant: "bodyLg", mobileVariant: "bodyMd", children: s })
|
|
51
|
+
] }),
|
|
52
|
+
(i == null ? void 0 : i.link) && /* @__PURE__ */ e("div", { className: a.button, children: /* @__PURE__ */ e(N, { as: "a", href: i == null ? void 0 : i.link, variant: g || "secondary", size: "lg", children: (i == null ? void 0 : i.text) || "Get Started" }) })
|
|
53
|
+
] }),
|
|
54
|
+
/* @__PURE__ */ e("div", { className: a.imageContainer, children: /* @__PURE__ */ e("img", { src: o, alt: "", className: a.image }) })
|
|
55
|
+
] }) });
|
|
56
|
+
};
|
|
57
|
+
export {
|
|
58
|
+
M as BasicImageText
|
|
59
|
+
};
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
.root {
|
|
2
|
+
display: flex;
|
|
3
|
+
align-items: center;
|
|
4
|
+
justify-content: center;
|
|
5
|
+
width: 100%;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.root[data-color-scheme='dark'] {
|
|
9
|
+
background-color: var(--color-bg-fill-primary);
|
|
10
|
+
color: var(--color-text-primary-inverted);
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.root[data-color-scheme='neutral'] {
|
|
14
|
+
background-color: var(--color-bg-neutral-light);
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.container {
|
|
18
|
+
display: flex;
|
|
19
|
+
width: 100%;
|
|
20
|
+
max-width: var(--content-max-width);
|
|
21
|
+
padding: 64px 120px;
|
|
22
|
+
position: relative;
|
|
23
|
+
align-items: center;
|
|
24
|
+
gap: 96px;
|
|
25
|
+
overflow: hidden;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.container[data-image-position='left'] {
|
|
29
|
+
flex-direction: row-reverse;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.textContainer {
|
|
33
|
+
display: flex;
|
|
34
|
+
flex-direction: column;
|
|
35
|
+
gap: 32px;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.titleContainer {
|
|
39
|
+
display: flex;
|
|
40
|
+
flex-direction: column;
|
|
41
|
+
gap: 16px;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.button {
|
|
45
|
+
width: fit-content;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.imageContainer {
|
|
49
|
+
max-width: 600px;
|
|
50
|
+
max-height: 600px;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.image {
|
|
54
|
+
width: 100%;
|
|
55
|
+
object-fit: contain;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.mobileImage {
|
|
59
|
+
display: none;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
@media (width <= 1200px) {
|
|
63
|
+
.container {
|
|
64
|
+
padding: 64px 20px;
|
|
65
|
+
gap: 64px;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.imageContainer {
|
|
69
|
+
max-width: 414px;
|
|
70
|
+
max-height: 414px;
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
@media (width <= 960px) {
|
|
75
|
+
.container {
|
|
76
|
+
flex-direction: column;
|
|
77
|
+
gap: 0px;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.textContainer {
|
|
81
|
+
gap: 32px;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
.button {
|
|
85
|
+
width: 100%;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
.image {
|
|
89
|
+
display: none;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
.mobileImageContainer {
|
|
93
|
+
align-self: center;
|
|
94
|
+
max-width: 728px;
|
|
95
|
+
max-height: 728px;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
.mobileImage {
|
|
99
|
+
display: block;
|
|
100
|
+
width: 100%;
|
|
101
|
+
height: 100%;
|
|
102
|
+
object-fit: cover;
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
@media (width <= 768px) {
|
|
107
|
+
.container {
|
|
108
|
+
padding: 40px 20px;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
.textContainer {
|
|
112
|
+
gap: 16px;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
.titleContainer {
|
|
116
|
+
gap: 24px;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
.button {
|
|
120
|
+
margin-top: 16px;
|
|
121
|
+
}
|
|
122
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { BasicImageText } from './BasicImageText';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),c=require("react"),i=require("../../utils/cn/cn.cjs.js"),u=require("./components/CtaFeaturedIn.cjs.js"),a=require("../../src/modules/FeaturedIn/featuredIn.module.css"),l=require("../../components/Typography/Typography.cjs.js"),d=require("../../components/InfiniteScroll/InfiniteScroll.cjs.js");function m({media:r}){return e.jsx("div",{className:a.mediaFeaturedInBlock,children:r.filter(
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),c=require("react"),i=require("../../utils/cn/cn.cjs.js"),u=require("./components/CtaFeaturedIn.cjs.js"),a=require("../../src/modules/FeaturedIn/featuredIn.module.css"),l=require("../../components/Typography/Typography.cjs.js"),d=require("../../components/InfiniteScroll/InfiniteScroll.cjs.js");function m({media:r}){return e.jsx("div",{className:a.mediaFeaturedInBlock,children:r.filter(n=>!!n.logo).map(({logo:n,url:s},o)=>{const t=s?"a":"div";return e.jsx(t,{href:s,target:"_blank",rel:"noopener noreferrer",className:a.mediaFeaturedInImageContainer,children:e.jsx("div",{className:a.mediaFeaturedInImage,style:{backgroundImage:`url(${n})`}})},`${s}_${o}`)})})}function p({quote:r,source:n}){return e.jsxs("div",{className:a.quoteFeaturedInBlock,children:[e.jsxs(l.Typography,{as:"p",defaultVariant:"headingSm",mobileVariant:"headingXxs",className:a.quoteFeaturedInText,children:["“",r,"”"]}),n&&e.jsxs(l.Typography,{as:"p",defaultVariant:"labelXs",emphasis:!0,className:a.quoteFeaturedInSource,children:["— ",n]})]})}function h({label:r,title:n,content:s,colorScheme:o="light"}){return e.jsxs("section",{className:i.cn(a.container,a[o]),children:[e.jsx(l.Typography,{as:"p",defaultVariant:"labelMd",mobileVariant:"labelSm",emphasis:!0,className:a.label,children:r}),n&&e.jsxs(e.Fragment,{children:[e.jsx("p",{className:i.cn(a.title,a.customTitle),children:n}),e.jsx(l.Typography,{as:"p",defaultVariant:"displayMd",className:i.cn(a.title,a.defaultTitle),children:n})]}),e.jsx(d.InfiniteScroll,{items:s,contentClassName:a.content,itemClassName:a.item,rootClassName:a.scrollRoot,renderItem:t=>e.jsxs(c.Fragment,{children:[t.type==="media"&&e.jsx(m,{media:t.media}),t.type==="quote"&&e.jsx(p,{quote:t.quote,source:t.source}),t.type==="cta"&&e.jsx(u.CtaFeaturedIn,{buttonLabel:t.button_label,buttonLink:t.button_link})]},t.type)})]})}exports.FeaturedIn=h;
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import { TColorScheme } from '../../types/common';
|
|
2
|
-
|
|
3
1
|
type TMediaView = {
|
|
4
2
|
type: 'media';
|
|
5
3
|
media: Array<{
|
|
@@ -15,12 +13,13 @@ type TFeaturedQuoteView = {
|
|
|
15
13
|
type TFeaturedButtonView = {
|
|
16
14
|
type: 'cta';
|
|
17
15
|
button_label: string;
|
|
16
|
+
button_link?: string;
|
|
18
17
|
};
|
|
19
18
|
export type FeaturedInProps = {
|
|
20
19
|
label: string;
|
|
21
20
|
title?: string;
|
|
22
21
|
content: Array<TMediaView | TFeaturedQuoteView | TFeaturedButtonView>;
|
|
23
|
-
colorScheme?:
|
|
22
|
+
colorScheme?: 'light' | 'dark';
|
|
24
23
|
};
|
|
25
24
|
export declare function FeaturedIn({ label, title, content, colorScheme }: FeaturedInProps): import("react/jsx-runtime").JSX.Element;
|
|
26
25
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { jsxs as n, jsx as
|
|
1
|
+
import { jsxs as n, jsx as r, Fragment as d } from "react/jsx-runtime";
|
|
2
2
|
import { Fragment as c } from "react";
|
|
3
3
|
import { cn as m } from "../../utils/cn/cn.es.js";
|
|
4
4
|
import { CtaFeaturedIn as u } from "./components/CtaFeaturedIn.es.js";
|
|
@@ -6,14 +6,14 @@ import e from "../../modules/FeaturedIn/featuredIn.module.css";
|
|
|
6
6
|
import { Typography as i } from "../../components/Typography/Typography.es.js";
|
|
7
7
|
import { InfiniteScroll as p } from "../../components/InfiniteScroll/InfiniteScroll.es.js";
|
|
8
8
|
function f({ media: l }) {
|
|
9
|
-
return /* @__PURE__ */
|
|
9
|
+
return /* @__PURE__ */ r("div", { className: e.mediaFeaturedInBlock, children: l.filter((a) => !!a.logo).map(({ logo: a, url: o }, s) => /* @__PURE__ */ r(
|
|
10
10
|
o ? "a" : "div",
|
|
11
11
|
{
|
|
12
12
|
href: o,
|
|
13
13
|
target: "_blank",
|
|
14
14
|
rel: "noopener noreferrer",
|
|
15
15
|
className: e.mediaFeaturedInImageContainer,
|
|
16
|
-
children: /* @__PURE__ */
|
|
16
|
+
children: /* @__PURE__ */ r("div", { className: e.mediaFeaturedInImage, style: { backgroundImage: `url(${a})` } })
|
|
17
17
|
},
|
|
18
18
|
`${o}_${s}`
|
|
19
19
|
)) });
|
|
@@ -40,29 +40,29 @@ function h({ quote: l, source: a }) {
|
|
|
40
40
|
] })
|
|
41
41
|
] });
|
|
42
42
|
}
|
|
43
|
-
function
|
|
43
|
+
function q({ label: l, title: a, content: o, colorScheme: s = "light" }) {
|
|
44
44
|
return /* @__PURE__ */ n("section", { className: m(e.container, e[s]), children: [
|
|
45
|
-
/* @__PURE__ */
|
|
45
|
+
/* @__PURE__ */ r(i, { as: "p", defaultVariant: "labelMd", mobileVariant: "labelSm", emphasis: !0, className: e.label, children: l }),
|
|
46
46
|
a && /* @__PURE__ */ n(d, { children: [
|
|
47
|
-
/* @__PURE__ */
|
|
48
|
-
/* @__PURE__ */
|
|
47
|
+
/* @__PURE__ */ r("p", { className: m(e.title, e.customTitle), children: a }),
|
|
48
|
+
/* @__PURE__ */ r(i, { as: "p", defaultVariant: "displayMd", className: m(e.title, e.defaultTitle), children: a })
|
|
49
49
|
] }),
|
|
50
|
-
/* @__PURE__ */
|
|
50
|
+
/* @__PURE__ */ r(
|
|
51
51
|
p,
|
|
52
52
|
{
|
|
53
53
|
items: o,
|
|
54
54
|
contentClassName: e.content,
|
|
55
55
|
itemClassName: e.item,
|
|
56
56
|
rootClassName: e.scrollRoot,
|
|
57
|
-
renderItem: (
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
] },
|
|
57
|
+
renderItem: (t) => /* @__PURE__ */ n(c, { children: [
|
|
58
|
+
t.type === "media" && /* @__PURE__ */ r(f, { media: t.media }),
|
|
59
|
+
t.type === "quote" && /* @__PURE__ */ r(h, { quote: t.quote, source: t.source }),
|
|
60
|
+
t.type === "cta" && /* @__PURE__ */ r(u, { buttonLabel: t.button_label, buttonLink: t.button_link })
|
|
61
|
+
] }, t.type)
|
|
62
62
|
}
|
|
63
63
|
)
|
|
64
64
|
] });
|
|
65
65
|
}
|
|
66
66
|
export {
|
|
67
|
-
|
|
67
|
+
q as FeaturedIn
|
|
68
68
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("react/jsx-runtime"),a=require("../../../types/analytics/analytics.cjs.js"),c=require("../../../src/modules/FeaturedIn/featuredIn.module.css");function
|
|
1
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("react/jsx-runtime"),a=require("../../../types/analytics/analytics.cjs.js"),c=require("../../../src/modules/FeaturedIn/featuredIn.module.css");function l({buttonLabel:s,buttonLink:i}){const e=i||"https://app.gethealthspan.com/#/product/signup/6896e50bc0af7d4d26738948",r=()=>{var t;(t=window.eventBus)==null||t.emit("analytics",{event:a.EAnalyticsEvent.ctaClicked,type:a.EAnalyticsEventType.interaction,component:"FeaturedIn",element:"primary_button",payload:{link:e}})};return n.jsx("a",{href:e,onClick:r,className:c.ctaFeaturedIn,children:n.jsx("span",{className:c.ctaFeaturedInText,children:s})})}exports.CtaFeaturedIn=l;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
type CtaFeaturedInProps = {
|
|
2
|
-
|
|
2
|
+
buttonLabel: string;
|
|
3
|
+
buttonLink?: string;
|
|
3
4
|
};
|
|
4
|
-
export declare function CtaFeaturedIn({
|
|
5
|
+
export declare function CtaFeaturedIn({ buttonLabel, buttonLink }: CtaFeaturedInProps): import("react/jsx-runtime").JSX.Element;
|
|
5
6
|
export {};
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx as n } from "react/jsx-runtime";
|
|
3
|
-
import { EAnalyticsEventType as
|
|
3
|
+
import { EAnalyticsEventType as o, EAnalyticsEvent as r } from "../../../types/analytics/analytics.es.js";
|
|
4
4
|
import a from "../../../modules/FeaturedIn/featuredIn.module.css";
|
|
5
|
-
function
|
|
6
|
-
const t = "https://app.gethealthspan.com/#/product/signup/6896e50bc0af7d4d26738948";
|
|
5
|
+
function m({ buttonLabel: c, buttonLink: i }) {
|
|
6
|
+
const t = i || "https://app.gethealthspan.com/#/product/signup/6896e50bc0af7d4d26738948";
|
|
7
7
|
return /* @__PURE__ */ n("a", { href: t, onClick: () => {
|
|
8
8
|
var e;
|
|
9
9
|
(e = window.eventBus) == null || e.emit("analytics", {
|
|
10
|
-
event:
|
|
11
|
-
type:
|
|
10
|
+
event: r.ctaClicked,
|
|
11
|
+
type: o.interaction,
|
|
12
12
|
component: "FeaturedIn",
|
|
13
13
|
element: "primary_button",
|
|
14
14
|
payload: {
|
|
@@ -18,5 +18,5 @@ function d({ button_label: c }) {
|
|
|
18
18
|
}, className: a.ctaFeaturedIn, children: /* @__PURE__ */ n("span", { className: a.ctaFeaturedInText, children: c }) });
|
|
19
19
|
}
|
|
20
20
|
export {
|
|
21
|
-
|
|
21
|
+
m as CtaFeaturedIn
|
|
22
22
|
};
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
width: 100%;
|
|
3
3
|
display: flex;
|
|
4
4
|
flex-direction: column;
|
|
5
|
-
gap: var(--spacing-
|
|
5
|
+
gap: var(--spacing-18, 18px);
|
|
6
6
|
padding: var(--spacing-120) 0;
|
|
7
7
|
position: relative;
|
|
8
8
|
}
|
|
@@ -16,10 +16,6 @@
|
|
|
16
16
|
text-align: center;
|
|
17
17
|
}
|
|
18
18
|
|
|
19
|
-
.label + .scrollRoot {
|
|
20
|
-
margin-top: 91px;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
19
|
.item {
|
|
24
20
|
display: flex;
|
|
25
21
|
flex-direction: row;
|
|
@@ -40,6 +36,7 @@
|
|
|
40
36
|
|
|
41
37
|
.container.dark .title {
|
|
42
38
|
color: var(--color-text-primary-inverted);
|
|
39
|
+
opacity: 0.4;
|
|
43
40
|
}
|
|
44
41
|
|
|
45
42
|
.customTitle {
|
|
@@ -112,6 +109,7 @@
|
|
|
112
109
|
width: 100%;
|
|
113
110
|
text-align: center;
|
|
114
111
|
color: var(--color-text-secondary-disabled);
|
|
112
|
+
opacity: 0.5;
|
|
115
113
|
}
|
|
116
114
|
|
|
117
115
|
.container.dark .quoteFeaturedInSource {
|
|
@@ -173,13 +171,6 @@
|
|
|
173
171
|
}
|
|
174
172
|
|
|
175
173
|
@media (width <= 900px) {
|
|
176
|
-
.customTitle {
|
|
177
|
-
display: none;
|
|
178
|
-
}
|
|
179
|
-
.defaultTitle {
|
|
180
|
-
display: block;
|
|
181
|
-
font-feature-settings: "case";
|
|
182
|
-
}
|
|
183
174
|
.mediaFeaturedInBlock {
|
|
184
175
|
column-gap: var(--spacing-16, 16px);
|
|
185
176
|
}
|
|
@@ -189,18 +180,14 @@
|
|
|
189
180
|
}
|
|
190
181
|
|
|
191
182
|
@media (width <= 768px) {
|
|
192
|
-
.
|
|
193
|
-
|
|
194
|
-
}
|
|
195
|
-
|
|
196
|
-
.label + .scrollRoot {
|
|
197
|
-
margin-top: 52px;
|
|
183
|
+
.customTitle {
|
|
184
|
+
display: none;
|
|
198
185
|
}
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
186
|
+
.defaultTitle {
|
|
187
|
+
display: block;
|
|
188
|
+
font-feature-settings: "case";
|
|
202
189
|
}
|
|
203
|
-
|
|
190
|
+
|
|
204
191
|
.content {
|
|
205
192
|
padding: 15px 0;
|
|
206
193
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zenpatient-org/healthspan-marketing-ui",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.44",
|
|
4
4
|
"description": "Design system",
|
|
5
5
|
"main": "dist/index.cjs.js",
|
|
6
6
|
"module": "dist/index.es.js",
|
|
@@ -626,6 +626,11 @@
|
|
|
626
626
|
"import": "./dist/modules/Highlight/Highlight.es.js",
|
|
627
627
|
"require": "./dist/modules/Highlight/Highlight.cjs.js"
|
|
628
628
|
},
|
|
629
|
+
"./BasicImageText": {
|
|
630
|
+
"types": "./dist/modules/BasicImageText/BasicImageText.d.ts",
|
|
631
|
+
"import": "./dist/modules/BasicImageText/BasicImageText.es.js",
|
|
632
|
+
"require": "./dist/modules/BasicImageText/BasicImageText.cjs.js"
|
|
633
|
+
},
|
|
629
634
|
"./Bubbles": {
|
|
630
635
|
"types": "./dist/pageComponents/Bubbles/Bubbles.d.ts",
|
|
631
636
|
"import": "./dist/pageComponents/Bubbles/Bubbles.es.js",
|