@zenpatient-org/healthspan-marketing-ui 0.1.131 → 0.1.132

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 e=require("react/jsx-runtime"),t=require("../../components/Typography/Typography.cjs.js"),i=require("../../components/InfiniteScroll/InfiniteScroll.cjs.js"),l=require("./infiniteScrolle.module.css.cjs.js"),o=({label:r,url:n})=>e.jsx("a",{href:n,className:l.default.label,children:e.jsx(t.Typography,{defaultVariant:"labelMd",emphasis:!0,mobileVariant:"labelSm",weight:"regular",children:r})}),a=({labels:r})=>e.jsx("section",{className:l.default.root,children:r.length>0&&e.jsx("div",{className:l.default.footer,children:e.jsx(i.InfiniteScroll,{items:r,renderItem:o})})});exports.InfiniteScrollModule=a;
@@ -0,0 +1,7 @@
1
+ export type TInfiniteScrollModule = {
2
+ labels: ReadonlyArray<{
3
+ label: string;
4
+ url: string;
5
+ }>;
6
+ };
7
+ export declare const InfiniteScrollModule: ({ labels }: TInfiniteScrollModule) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,8 @@
1
+ import { jsx as e } from "react/jsx-runtime";
2
+ import { Typography as o } from "../../components/Typography/Typography.es.js";
3
+ import { InfiniteScroll as i } from "../../components/InfiniteScroll/InfiniteScroll.es.js";
4
+ import t from "./infiniteScrolle.module.css.es.js";
5
+ const a = ({ label: r, url: l }) => /* @__PURE__ */ e("a", { href: l, className: t.label, children: /* @__PURE__ */ e(o, { defaultVariant: "labelMd", emphasis: !0, mobileVariant: "labelSm", weight: "regular", children: r }) }), d = ({ labels: r }) => /* @__PURE__ */ e("section", { className: t.root, children: r.length > 0 && /* @__PURE__ */ e("div", { className: t.footer, children: /* @__PURE__ */ e(i, { items: r, renderItem: a }) }) });
6
+ export {
7
+ d as InfiniteScrollModule
8
+ };
@@ -0,0 +1,2 @@
1
+ export { InfiniteScrollModule } from './InfiniteScrollModule';
2
+ export type { TInfiniteScrollModule } from './InfiniteScrollModule';
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const o="infiniteScrolle-module__root___CZywa",e="infiniteScrolle-module__footer___3AoPY",l="infiniteScrolle-module__label___NrIGo",t={root:o,footer:e,label:l};exports.default=t;exports.footer=e;exports.label=l;exports.root=o;
@@ -0,0 +1,11 @@
1
+ const o = "infiniteScrolle-module__root___CZywa", e = "infiniteScrolle-module__footer___3AoPY", l = "infiniteScrolle-module__label___NrIGo", t = {
2
+ root: o,
3
+ footer: e,
4
+ label: l
5
+ };
6
+ export {
7
+ t as default,
8
+ e as footer,
9
+ l as label,
10
+ o as root
11
+ };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),a=require("../../components/HighlightedTitle/HighlightedTitle.cjs.js"),l=require("./assets/biological-age-img.png.cjs.js"),i=require("./biologicalAge.module.css.cjs.js"),t=()=>e.jsx("section",{className:i.default.root,children:e.jsx("div",{className:i.default.container,children:e.jsxs("div",{className:i.default.content,children:[e.jsx("img",{src:l.default,alt:"background image",className:i.default.image}),e.jsx("div",{className:i.default.textContainer,children:e.jsx(a.HighlightedTitle,{title:e.jsxs("p",{children:["Our patients see an average reduction in biological age of ",e.jsx("b",{children:"8 years"})]}),defaultVariant:"displayXs",mobileVariant:"headingXs"})})]})})});exports.BiologicalAge=t;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),a=require("../../components/HighlightedTitle/HighlightedTitle.cjs.js"),l=require("./assets/biological-age-img.png.cjs.js"),i=require("./biologicalAge.module.css.cjs.js"),t=()=>e.jsx("section",{className:i.default.root,children:e.jsx("div",{className:i.default.container,children:e.jsxs("div",{className:i.default.content,children:[e.jsx("img",{src:l.default,alt:"background image",className:i.default.image}),e.jsx("div",{className:i.default.textContainer,children:e.jsx(a.HighlightedTitle,{title:e.jsxs("p",{children:["Our patients see an average reduction in biological age of ",e.jsx("br",{className:i.default.mobileLineBreak}),e.jsx("b",{children:"8 years"})]}),defaultVariant:"displayXs",mobileVariant:"headingXs"})})]})})});exports.BiologicalAge=t;
@@ -1,14 +1,15 @@
1
1
  import { jsx as e, jsxs as a } from "react/jsx-runtime";
2
2
  import { HighlightedTitle as r } from "../../components/HighlightedTitle/HighlightedTitle.es.js";
3
- import t from "./assets/biological-age-img.png.es.js";
3
+ import s from "./assets/biological-age-img.png.es.js";
4
4
  import i from "./biologicalAge.module.css.es.js";
5
5
  const c = () => /* @__PURE__ */ e("section", { className: i.root, children: /* @__PURE__ */ e("div", { className: i.container, children: /* @__PURE__ */ a("div", { className: i.content, children: [
6
- /* @__PURE__ */ e("img", { src: t, alt: "background image", className: i.image }),
6
+ /* @__PURE__ */ e("img", { src: s, alt: "background image", className: i.image }),
7
7
  /* @__PURE__ */ e("div", { className: i.textContainer, children: /* @__PURE__ */ e(
8
8
  r,
9
9
  {
10
10
  title: /* @__PURE__ */ a("p", { children: [
11
- "Our patients see an average reduction in biological age of ",
11
+ "Our patients see an average reduction in biological age of ",
12
+ /* @__PURE__ */ e("br", { className: i.mobileLineBreak }),
12
13
  /* @__PURE__ */ e("b", { children: "8 years" })
13
14
  ] }),
14
15
  defaultVariant: "displayXs",
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const o="biologicalAge-module__root___luBGX",e="biologicalAge-module__container___KquJP",t="biologicalAge-module__content___eOLjI",n="biologicalAge-module__image___bB1Mo",_="biologicalAge-module__textContainer___LCwuU",i={root:o,container:e,content:t,image:n,textContainer:_};exports.container=e;exports.content=t;exports.default=i;exports.image=n;exports.root=o;exports.textContainer=_;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="biologicalAge-module__root___luBGX",o="biologicalAge-module__container___KquJP",t="biologicalAge-module__content___eOLjI",i="biologicalAge-module__image___bB1Mo",n="biologicalAge-module__textContainer___LCwuU",_="biologicalAge-module__mobileLineBreak___OiLig",l={root:e,container:o,content:t,image:i,textContainer:n,mobileLineBreak:_};exports.container=o;exports.content=t;exports.default=l;exports.image=i;exports.mobileLineBreak=_;exports.root=e;exports.textContainer=n;
@@ -1,15 +1,17 @@
1
- const o = "biologicalAge-module__root___luBGX", t = "biologicalAge-module__container___KquJP", e = "biologicalAge-module__content___eOLjI", _ = "biologicalAge-module__image___bB1Mo", n = "biologicalAge-module__textContainer___LCwuU", i = {
1
+ const o = "biologicalAge-module__root___luBGX", e = "biologicalAge-module__container___KquJP", t = "biologicalAge-module__content___eOLjI", _ = "biologicalAge-module__image___bB1Mo", i = "biologicalAge-module__textContainer___LCwuU", n = "biologicalAge-module__mobileLineBreak___OiLig", l = {
2
2
  root: o,
3
- container: t,
4
- content: e,
3
+ container: e,
4
+ content: t,
5
5
  image: _,
6
- textContainer: n
6
+ textContainer: i,
7
+ mobileLineBreak: n
7
8
  };
8
9
  export {
9
- t as container,
10
- e as content,
11
- i as default,
10
+ e as container,
11
+ t as content,
12
+ l as default,
12
13
  _ as image,
14
+ n as mobileLineBreak,
13
15
  o as root,
14
- n as textContainer
16
+ i as textContainer
15
17
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zenpatient-org/healthspan-marketing-ui",
3
- "version": "0.1.131",
3
+ "version": "0.1.132",
4
4
  "description": "Design system",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.es.js",
@@ -556,6 +556,11 @@
556
556
  "import": "./dist/modules/ScienceHero/ScienceHero.es.js",
557
557
  "require": "./dist/modules/ScienceHero/ScienceHero.cjs.js"
558
558
  },
559
+ "./InfiniteScrollModule": {
560
+ "types": "./dist/modules/InfiniteScrollModule/InfiniteScrollModule.d.ts",
561
+ "import": "./dist/modules/InfiniteScrollModule/InfiniteScrollModule.es.js",
562
+ "require": "./dist/modules/InfiniteScrollModule/InfiniteScrollModule.cjs.js"
563
+ },
559
564
  "./Bubbles": {
560
565
  "types": "./dist/pageComponents/Bubbles/Bubbles.d.ts",
561
566
  "import": "./dist/pageComponents/Bubbles/Bubbles.es.js",