@zenpatient-org/healthspan-marketing-ui 0.1.86 → 0.1.88

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("../../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;
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:r}),e.jsx(l.Typography,{defaultVariant:"displayXs",mobileVariant:"headingLg",className:a.default.label,children:t}),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
- subscribe?: React.ReactNode;
6
+ description?: React.ReactNode;
7
7
  bigImage: string;
8
8
  smallImage: string;
9
9
  }
10
- export declare const TextTwoImages: ({ label, title, bigImage, smallImage, subscribe }: TextTwoImagesProps) => import("react/jsx-runtime").JSX.Element;
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: t, subscribe: d }) => /* @__PURE__ */ l("div", { className: a.root, children: /* @__PURE__ */ e("div", { className: a.container, children: [
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
- /* @__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 })
7
+ /* @__PURE__ */ l(i, { defaultVariant: "labelMd", mobileVariant: "labelMd", emphasis: !0, children: s }),
8
+ /* @__PURE__ */ l(i, { defaultVariant: "displayXs", mobileVariant: "headingLg", className: a.label, children: m }),
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: t, alt: "small" }) })
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",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;
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", _ = "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 = {
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
- subscribe: _,
6
- rightBlock: o,
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
- o as rightBlock,
23
- e as root,
24
- _ as subscribe
23
+ _ as rightBlock,
24
+ e as root
25
25
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zenpatient-org/healthspan-marketing-ui",
3
- "version": "0.1.86",
3
+ "version": "0.1.88",
4
4
  "description": "Design system",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.es.js",