@zenpatient-org/healthspan-marketing-ui 0.1.85 → 0.1.87
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/healthspan-marketing-ui.css +1 -1
- package/dist/modules/TextTwoImages/TextTwoImages.cjs.js +1 -1
- package/dist/modules/TextTwoImages/TextTwoImages.d.ts +2 -2
- package/dist/modules/TextTwoImages/TextTwoImages.es.js +3 -3
- package/dist/modules/TextTwoImages/textTwoImages.module.css.cjs.js +1 -1
- package/dist/modules/TextTwoImages/textTwoImages.module.css.es.js +6 -6
- package/dist/modules/ThreeCardsWithHero/ThreeCardsWithHero.cjs.js +1 -1
- package/dist/modules/ThreeCardsWithHero/ThreeCardsWithHero.d.ts +3 -1
- package/dist/modules/ThreeCardsWithHero/ThreeCardsWithHero.es.js +30 -20
- package/package.json +1 -1
|
@@ -1 +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,
|
|
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,description: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:"div",defaultVariant:"labelLg",className:a.default.description,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;
|
|
@@ -3,9 +3,9 @@ import { default as React } from 'react';
|
|
|
3
3
|
interface TextTwoImagesProps {
|
|
4
4
|
title: string;
|
|
5
5
|
label?: string;
|
|
6
|
-
|
|
6
|
+
description?: React.ReactNode;
|
|
7
7
|
bigImage: string;
|
|
8
8
|
smallImage: string;
|
|
9
9
|
}
|
|
10
|
-
export declare const TextTwoImages: ({ label, title, bigImage, smallImage,
|
|
10
|
+
export declare const TextTwoImages: ({ label, title, bigImage, smallImage, description }: TextTwoImagesProps) => import("react/jsx-runtime").JSX.Element;
|
|
11
11
|
export {};
|
|
@@ -2,15 +2,15 @@ import { jsx as l, jsxs as e } from "react/jsx-runtime";
|
|
|
2
2
|
import { Typography as i } from "../../components/Typography/Typography.es.js";
|
|
3
3
|
import { cn as r } from "../../utils/cn/cn.es.js";
|
|
4
4
|
import a from "./textTwoImages.module.css.es.js";
|
|
5
|
-
const p = ({ label: s, title: m, bigImage: c, smallImage:
|
|
5
|
+
const p = ({ label: s, title: m, bigImage: c, smallImage: d, description: t }) => /* @__PURE__ */ l("div", { className: a.root, children: /* @__PURE__ */ e("div", { className: a.container, children: [
|
|
6
6
|
/* @__PURE__ */ e("div", { className: a.leftBlock, children: [
|
|
7
7
|
/* @__PURE__ */ l(i, { defaultVariant: "labelMd", mobileVariant: "labelMd", emphasis: !0, children: m }),
|
|
8
8
|
/* @__PURE__ */ l(i, { defaultVariant: "displayXs", mobileVariant: "headingLg", className: a.label, children: s }),
|
|
9
|
-
/* @__PURE__ */ l(i, { as: "
|
|
9
|
+
/* @__PURE__ */ l(i, { as: "div", defaultVariant: "labelLg", className: a.description, children: t })
|
|
10
10
|
] }),
|
|
11
11
|
/* @__PURE__ */ l("div", { className: a.rightBlock, children: /* @__PURE__ */ e("div", { className: a.galleryImageOverlay, children: [
|
|
12
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:
|
|
13
|
+
/* @__PURE__ */ l("div", { className: r(a.galleryItem, a.galleryImageSmall), children: /* @__PURE__ */ l("img", { src: d, alt: "small" }) })
|
|
14
14
|
] }) })
|
|
15
15
|
] }) });
|
|
16
16
|
export {
|
|
@@ -1 +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",
|
|
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",o="textTwoImages-module__description___RACdK",a="textTwoImages-module__rightBlock___LbHrw",_="textTwoImages-module__galleryImageOverlay___XhYtJ",g="textTwoImages-module__galleryItem___k3C5F",r="textTwoImages-module__galleryImageBig___4p-1o",m="textTwoImages-module__galleryImageSmall___3FbxE",s="textTwoImages-module__label___lfrhn",c={root:e,container:l,leftBlock:t,description:o,rightBlock:a,galleryImageOverlay:_,galleryItem:g,galleryImageBig:r,galleryImageSmall:m,label:s};exports.container=l;exports.default=c;exports.description=o;exports.galleryImageBig=r;exports.galleryImageOverlay=_;exports.galleryImageSmall=m;exports.galleryItem=g;exports.label=s;exports.leftBlock=t;exports.rightBlock=a;exports.root=e;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
const e = "textTwoImages-module__root___z2HqM", l = "textTwoImages-module__container___h7yEM", t = "textTwoImages-module__leftBlock___jJmUZ",
|
|
1
|
+
const e = "textTwoImages-module__root___z2HqM", l = "textTwoImages-module__container___h7yEM", t = "textTwoImages-module__leftBlock___jJmUZ", o = "textTwoImages-module__description___RACdK", _ = "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
2
|
root: e,
|
|
3
3
|
container: l,
|
|
4
4
|
leftBlock: t,
|
|
5
|
-
|
|
6
|
-
rightBlock:
|
|
5
|
+
description: o,
|
|
6
|
+
rightBlock: _,
|
|
7
7
|
galleryImageOverlay: a,
|
|
8
8
|
galleryItem: g,
|
|
9
9
|
galleryImageBig: m,
|
|
@@ -13,13 +13,13 @@ const e = "textTwoImages-module__root___z2HqM", l = "textTwoImages-module__conta
|
|
|
13
13
|
export {
|
|
14
14
|
l as container,
|
|
15
15
|
c as default,
|
|
16
|
+
o as description,
|
|
16
17
|
m as galleryImageBig,
|
|
17
18
|
a as galleryImageOverlay,
|
|
18
19
|
r as galleryImageSmall,
|
|
19
20
|
g as galleryItem,
|
|
20
21
|
s as label,
|
|
21
22
|
t as leftBlock,
|
|
22
|
-
|
|
23
|
-
e as root
|
|
24
|
-
_ as subscribe
|
|
23
|
+
_ as rightBlock,
|
|
24
|
+
e as root
|
|
25
25
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),t=require("../../components/Typography/Typography.cjs.js"),c=require("./components/TransparentCard/TransparentCard.cjs.js"),a=require("./threeCardsWithHero.module.css.cjs.js"),m=({label:r,title:l,cards:d,desktopImage:s,mobileImage:n})=>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,style:{"--desktop-image":`url(${s})`,"--mobile-image":`url(${n||s})`},children:e.jsxs("div",{className:a.default.imageTextContainer,children:[r&&e.jsx(t.Typography,{className:a.default.imageLabel,emphasis:!0,defaultVariant:"labelMd",children:r}),e.jsx("div",{className:a.default.imageTitle,children:e.jsx(t.Typography,{className:a.default.imageTitle,as:"div",defaultVariant:"displayXl",mobileVariant:"displayXs",children:l})})]})})})}),e.jsx("div",{className:a.default.bottomContainer,children:e.jsx("div",{className:a.default.root,children:e.jsx("div",{className:a.default.cardsContainer,children:d.slice(0,3).map((i,o)=>e.jsx(c.TransparentCard,{title:i.title,description:i.description,number:o+1},i.title))})})})]});exports.ThreeCardsWithHero=m;
|
|
@@ -8,5 +8,7 @@ export type ThreeCardsWithHeroProps = {
|
|
|
8
8
|
label?: string;
|
|
9
9
|
title: React.ReactNode;
|
|
10
10
|
cards: Array<Card>;
|
|
11
|
+
desktopImage: string;
|
|
12
|
+
mobileImage: string;
|
|
11
13
|
};
|
|
12
|
-
export declare const ThreeCardsWithHero: ({ label, title, cards }: ThreeCardsWithHeroProps) => import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
export declare const ThreeCardsWithHero: ({ label, title, cards, desktopImage, mobileImage }: ThreeCardsWithHeroProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,31 +1,41 @@
|
|
|
1
|
-
import { jsxs as
|
|
1
|
+
import { jsxs as l, jsx as i } from "react/jsx-runtime";
|
|
2
2
|
import { Typography as t } from "../../components/Typography/Typography.es.js";
|
|
3
|
-
import { TransparentCard as
|
|
3
|
+
import { TransparentCard as c } from "./components/TransparentCard/TransparentCard.es.js";
|
|
4
4
|
import e from "./threeCardsWithHero.module.css.es.js";
|
|
5
|
-
const
|
|
6
|
-
/* @__PURE__ */ i("div", { className: e.root, children: /* @__PURE__ */ i("div", { className: e.topContainer, children: /* @__PURE__ */ i(
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
{
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
children:
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
5
|
+
const g = ({ label: r, title: m, cards: n, desktopImage: s, mobileImage: o }) => /* @__PURE__ */ l("section", { className: e.bgWrapper, children: [
|
|
6
|
+
/* @__PURE__ */ i("div", { className: e.root, children: /* @__PURE__ */ i("div", { className: e.topContainer, children: /* @__PURE__ */ i(
|
|
7
|
+
"div",
|
|
8
|
+
{
|
|
9
|
+
className: e.imageContainer,
|
|
10
|
+
style: {
|
|
11
|
+
"--desktop-image": `url(${s})`,
|
|
12
|
+
"--mobile-image": `url(${o || s})`
|
|
13
|
+
},
|
|
14
|
+
children: /* @__PURE__ */ l("div", { className: e.imageTextContainer, children: [
|
|
15
|
+
r && /* @__PURE__ */ i(t, { className: e.imageLabel, emphasis: !0, defaultVariant: "labelMd", children: r }),
|
|
16
|
+
/* @__PURE__ */ i("div", { className: e.imageTitle, children: /* @__PURE__ */ i(
|
|
17
|
+
t,
|
|
18
|
+
{
|
|
19
|
+
className: e.imageTitle,
|
|
20
|
+
as: "div",
|
|
21
|
+
defaultVariant: "displayXl",
|
|
22
|
+
mobileVariant: "displayXs",
|
|
23
|
+
children: m
|
|
24
|
+
}
|
|
25
|
+
) })
|
|
26
|
+
] })
|
|
27
|
+
}
|
|
28
|
+
) }) }),
|
|
29
|
+
/* @__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, d) => /* @__PURE__ */ i(
|
|
30
|
+
c,
|
|
21
31
|
{
|
|
22
32
|
title: a.title,
|
|
23
33
|
description: a.description,
|
|
24
|
-
number:
|
|
34
|
+
number: d + 1
|
|
25
35
|
},
|
|
26
36
|
a.title
|
|
27
37
|
)) }) }) })
|
|
28
38
|
] });
|
|
29
39
|
export {
|
|
30
|
-
|
|
40
|
+
g as ThreeCardsWithHero
|
|
31
41
|
};
|