@zenpatient-org/healthspan-marketing-ui 0.2.34 → 0.2.36
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/components/ClaimBlock/ClaimBlock.cjs.js +1 -1
- package/dist/components/ClaimBlock/ClaimBlock.d.ts +3 -1
- package/dist/components/ClaimBlock/ClaimBlock.es.js +30 -15
- package/dist/components/ClaimBlock/claimBlock.module.css +0 -14
- package/dist/components/PlainFeaturesGroup/PlainFeaturesGroup.cjs.js +1 -1
- package/dist/components/PlainFeaturesGroup/PlainFeaturesGroup.d.ts +2 -1
- package/dist/components/PlainFeaturesGroup/PlainFeaturesGroup.es.js +13 -9
- package/dist/components/Superscript/Superscript.cjs.js +1 -0
- package/dist/components/Superscript/Superscript.d.ts +4 -0
- package/dist/components/Superscript/Superscript.es.js +9 -0
- package/dist/components/Superscript/index.d.ts +1 -0
- package/dist/components/Superscript/superscript.module.css +5 -0
- package/dist/modules/Claims/Claims.cjs.js +1 -1
- package/dist/modules/Claims/Claims.es.js +21 -19
- package/dist/modules/IndividualProductCard/components/Features/Features.cjs.js +1 -1
- package/dist/modules/IndividualProductCard/components/Features/Features.es.js +35 -28
- package/dist/modules/IndividualProductCard/individualProductCard.module.css +2 -2
- package/dist/modules/IndividualProductCard/types.d.ts +2 -0
- package/dist/modules/IndividualProductCardV2/types.d.ts +1 -0
- package/package.json +6 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("react/jsx-runtime"),e=require("../../src/components/ClaimBlock/claimBlock.module.css"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("react/jsx-runtime"),e=require("../../src/components/ClaimBlock/claimBlock.module.css"),s=require("../Typography/Typography.cjs.js"),o=require("../Superscript/Superscript.cjs.js");function m({value:c,subtitle:d,subtitleSuperscript:i,description:r,descriptionSuperscript:l,valuePrefix:n,valueSuffix:t}){return a.jsxs("div",{className:e.claimBlock,children:[a.jsxs("div",{className:e.valueContainer,children:[n&&a.jsx(s.Typography,{className:e.valuePrefix,as:"h3",defaultVariant:"headingSm",mobileVariant:"headingSm",children:n}),a.jsx(s.Typography,{className:e.value,as:"h3",defaultVariant:"displayXs",mobileVariant:"displayXs",children:c}),t&&a.jsx(s.Typography,{className:e.valueSuffix,as:"h3",defaultVariant:"headingSm",mobileVariant:"headingSm",children:t})]}),a.jsxs(s.Typography,{className:e.subtitle,as:"p",defaultVariant:"bodyMd",mobileVariant:"bodySm",children:[d,i&&a.jsx(o.Superscript,{value:i})]}),r&&a.jsxs(s.Typography,{className:e.description,as:"p",defaultVariant:"bodyMd",mobileVariant:"bodySm",children:[r,l&&a.jsx(o.Superscript,{value:l})]})]})}exports.ClaimBlock=m;
|
|
@@ -5,6 +5,8 @@ export type ClaimBlockProps = {
|
|
|
5
5
|
valuePrefix?: string;
|
|
6
6
|
valueSuffix?: string;
|
|
7
7
|
subtitle: string;
|
|
8
|
+
subtitleSuperscript?: string;
|
|
8
9
|
description?: string;
|
|
10
|
+
descriptionSuperscript?: string;
|
|
9
11
|
};
|
|
10
|
-
export declare function ClaimBlock({ value, subtitle, description, valuePrefix, valueSuffix }: ClaimBlockProps): import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
export declare function ClaimBlock({ value, subtitle, subtitleSuperscript, description, descriptionSuperscript, valuePrefix, valueSuffix, }: ClaimBlockProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,35 +1,50 @@
|
|
|
1
|
-
import { jsxs as
|
|
1
|
+
import { jsxs as e, jsx as i } from "react/jsx-runtime";
|
|
2
2
|
import a from "../../components/ClaimBlock/claimBlock.module.css";
|
|
3
|
-
import { Typography as
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
3
|
+
import { Typography as l } from "../Typography/Typography.es.js";
|
|
4
|
+
import { Superscript as o } from "../Superscript/Superscript.es.js";
|
|
5
|
+
function b({
|
|
6
|
+
value: t,
|
|
7
|
+
subtitle: c,
|
|
8
|
+
subtitleSuperscript: m,
|
|
9
|
+
description: r,
|
|
10
|
+
descriptionSuperscript: s,
|
|
11
|
+
valuePrefix: d,
|
|
12
|
+
valueSuffix: n
|
|
13
|
+
}) {
|
|
14
|
+
return /* @__PURE__ */ e("div", { className: a.claimBlock, children: [
|
|
15
|
+
/* @__PURE__ */ e("div", { className: a.valueContainer, children: [
|
|
16
|
+
d && /* @__PURE__ */ i(
|
|
17
|
+
l,
|
|
9
18
|
{
|
|
10
19
|
className: a.valuePrefix,
|
|
11
20
|
as: "h3",
|
|
12
21
|
defaultVariant: "headingSm",
|
|
13
22
|
mobileVariant: "headingSm",
|
|
14
|
-
children:
|
|
23
|
+
children: d
|
|
15
24
|
}
|
|
16
25
|
),
|
|
17
|
-
/* @__PURE__ */ i(
|
|
18
|
-
|
|
19
|
-
|
|
26
|
+
/* @__PURE__ */ i(l, { className: a.value, as: "h3", defaultVariant: "displayXs", mobileVariant: "displayXs", children: t }),
|
|
27
|
+
n && /* @__PURE__ */ i(
|
|
28
|
+
l,
|
|
20
29
|
{
|
|
21
30
|
className: a.valueSuffix,
|
|
22
31
|
as: "h3",
|
|
23
32
|
defaultVariant: "headingSm",
|
|
24
33
|
mobileVariant: "headingSm",
|
|
25
|
-
children:
|
|
34
|
+
children: n
|
|
26
35
|
}
|
|
27
36
|
)
|
|
28
37
|
] }),
|
|
29
|
-
/* @__PURE__ */
|
|
30
|
-
|
|
38
|
+
/* @__PURE__ */ e(l, { className: a.subtitle, as: "p", defaultVariant: "bodyMd", mobileVariant: "bodySm", children: [
|
|
39
|
+
c,
|
|
40
|
+
m && /* @__PURE__ */ i(o, { value: m })
|
|
41
|
+
] }),
|
|
42
|
+
r && /* @__PURE__ */ e(l, { className: a.description, as: "p", defaultVariant: "bodyMd", mobileVariant: "bodySm", children: [
|
|
43
|
+
r,
|
|
44
|
+
s && /* @__PURE__ */ i(o, { value: s })
|
|
45
|
+
] })
|
|
31
46
|
] });
|
|
32
47
|
}
|
|
33
48
|
export {
|
|
34
|
-
|
|
49
|
+
b as ClaimBlock
|
|
35
50
|
};
|
|
@@ -15,20 +15,6 @@
|
|
|
15
15
|
height: 100%;
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
-
.value sup,
|
|
19
|
-
.value sub {
|
|
20
|
-
position: relative;
|
|
21
|
-
font-size: var(--font-size-heading-sm);
|
|
22
|
-
line-height: var(--line-height-sm);
|
|
23
|
-
letter-spacing: var(--letter-spacing-negative-sm);
|
|
24
|
-
vertical-align: super;
|
|
25
|
-
margin-left: 2px;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
.value sub {
|
|
29
|
-
vertical-align: baseline;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
18
|
.valuePrefix {
|
|
33
19
|
width: 20px;
|
|
34
20
|
}
|
|
@@ -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"),a=require("./assets/VectorLogo.svg.cjs.js"),s=require("../../src/components/PlainFeaturesGroup/plainFeaturesGroup.module.css"),n=require("../Icon/Icon.cjs.js"),t=require("../Typography/Typography.cjs.js"),u=require("../Superscript/Superscript.cjs.js"),p=({items:o})=>e.jsxs("div",{className:s.container,children:[e.jsx("div",{className:s.plainFeaturesGroup,children:o&&o.map((r,c)=>e.jsxs("div",{className:s.feature,children:[r.icon&&e.jsx(n.Icon,{name:r.icon,className:s.featureIcon}),e.jsxs(t.Typography,{className:s.featureText,defaultVariant:"bodyXs",children:[r.text,r.superscript&&!isNaN(r.superscript)&&e.jsx(u.Superscript,{value:r.superscript.toString()})]})]},c))}),e.jsx(a.default,{className:s.logo})]});exports.PlainFeaturesGroup=p;
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { EIconName } from '../Icon';
|
|
2
1
|
import { TPlainFeaturesGroupView } from '../../modules/IndividualProductCardV2/types';
|
|
2
|
+
import { EIconName } from '../Icon';
|
|
3
3
|
|
|
4
4
|
export type TPlainFeaturesGroupProps = {
|
|
5
5
|
items: Array<{
|
|
6
6
|
icon: EIconName;
|
|
7
7
|
text: string;
|
|
8
|
+
superscript?: number;
|
|
8
9
|
href?: string;
|
|
9
10
|
}>;
|
|
10
11
|
};
|
|
@@ -1,15 +1,19 @@
|
|
|
1
|
-
import { jsxs as
|
|
1
|
+
import { jsxs as e, jsx as a } from "react/jsx-runtime";
|
|
2
2
|
import c from "./assets/VectorLogo.svg.es.js";
|
|
3
|
-
import
|
|
4
|
-
import { Icon as
|
|
3
|
+
import o from "../../components/PlainFeaturesGroup/plainFeaturesGroup.module.css";
|
|
4
|
+
import { Icon as p } from "../Icon/Icon.es.js";
|
|
5
5
|
import { Typography as i } from "../Typography/Typography.es.js";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
/* @__PURE__ */ a(
|
|
6
|
+
import { Superscript as n } from "../Superscript/Superscript.es.js";
|
|
7
|
+
const g = ({ items: s }) => /* @__PURE__ */ e("div", { className: o.container, children: [
|
|
8
|
+
/* @__PURE__ */ a("div", { className: o.plainFeaturesGroup, children: s && s.map((r, t) => /* @__PURE__ */ e("div", { className: o.feature, children: [
|
|
9
|
+
r.icon && /* @__PURE__ */ a(p, { name: r.icon, className: o.featureIcon }),
|
|
10
|
+
/* @__PURE__ */ e(i, { className: o.featureText, defaultVariant: "bodyXs", children: [
|
|
11
|
+
r.text,
|
|
12
|
+
r.superscript && !isNaN(r.superscript) && /* @__PURE__ */ a(n, { value: r.superscript.toString() })
|
|
13
|
+
] })
|
|
10
14
|
] }, t)) }),
|
|
11
|
-
/* @__PURE__ */ a(c, { className:
|
|
15
|
+
/* @__PURE__ */ a(c, { className: o.logo })
|
|
12
16
|
] });
|
|
13
17
|
export {
|
|
14
|
-
|
|
18
|
+
g as PlainFeaturesGroup
|
|
15
19
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("react/jsx-runtime"),t=require("../../utils/cn/cn.cjs.js"),c=require("../../src/components/Superscript/superscript.module.css");function u({className:e,value:r}){return s.jsx("sup",{className:t.cn(c.superscript,e),children:r})}exports.Superscript=u;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { jsx as s } from "react/jsx-runtime";
|
|
2
|
+
import { cn as t } from "../../utils/cn/cn.es.js";
|
|
3
|
+
import o from "../../components/Superscript/superscript.module.css";
|
|
4
|
+
function c({ className: r, value: p }) {
|
|
5
|
+
return /* @__PURE__ */ s("sup", { className: t(o.superscript, r), children: p });
|
|
6
|
+
}
|
|
7
|
+
export {
|
|
8
|
+
c as Superscript
|
|
9
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Superscript } from './Superscript';
|
|
@@ -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"),i=require("../../src/modules/Claims/claims.module.css"),l=require("../../components/Typography/Typography.cjs.js"),c=require("../../components/Button/Button.cjs.js"),o=require("../../components/ClaimBlock/ClaimBlock.cjs.js");function u({text:t,button:r,claimBlocks:n}){return e.jsx("section",{className:i.root,children:e.jsxs("div",{className:i.content,children:[(t||r)&&e.jsxs("div",{className:i.container,children:[t?e.jsx(l.Typography,{className:i.text,as:"h2",defaultVariant:"preambleLg",mobileVariant:"preambleSm",children:t}):e.jsx("div",{}),r&&e.jsx("div",{className:i.buttonContainer,children:e.jsx(c.Button,{as:"a",href:r.link,variant:"muted",size:"lg",children:r.text})})]}),e.jsx("div",{className:i.claimContainer,children:n.slice(0,4).map((s,a)=>e.jsx("div",{className:i.claimBlock,children:e.jsx(o.ClaimBlock,{value:s.value,subtitle:s.subtitle,subtitleSuperscript:s.subtitleSuperscript,description:s.description,descriptionSuperscript:s.descriptionSuperscript,valuePrefix:s.valuePrefix,valueSuffix:s.valueSuffix})},a))})]})})}exports.Claims=u;
|
|
@@ -1,33 +1,35 @@
|
|
|
1
|
-
import { jsx as e, jsxs as
|
|
2
|
-
import
|
|
3
|
-
import { Typography as
|
|
4
|
-
import { Button as
|
|
1
|
+
import { jsx as e, jsxs as t } from "react/jsx-runtime";
|
|
2
|
+
import r from "../../modules/Claims/claims.module.css";
|
|
3
|
+
import { Typography as p } from "../../components/Typography/Typography.es.js";
|
|
4
|
+
import { Button as m } from "../../components/Button/Button.es.js";
|
|
5
5
|
import { ClaimBlock as c } from "../../components/ClaimBlock/ClaimBlock.es.js";
|
|
6
|
-
function h({ text:
|
|
7
|
-
return /* @__PURE__ */ e("section", { className:
|
|
8
|
-
(
|
|
9
|
-
|
|
10
|
-
|
|
6
|
+
function h({ text: a, button: s, claimBlocks: l }) {
|
|
7
|
+
return /* @__PURE__ */ e("section", { className: r.root, children: /* @__PURE__ */ t("div", { className: r.content, children: [
|
|
8
|
+
(a || s) && /* @__PURE__ */ t("div", { className: r.container, children: [
|
|
9
|
+
a ? /* @__PURE__ */ e(
|
|
10
|
+
p,
|
|
11
11
|
{
|
|
12
|
-
className:
|
|
12
|
+
className: r.text,
|
|
13
13
|
as: "h2",
|
|
14
14
|
defaultVariant: "preambleLg",
|
|
15
15
|
mobileVariant: "preambleSm",
|
|
16
|
-
children:
|
|
16
|
+
children: a
|
|
17
17
|
}
|
|
18
18
|
) : /* @__PURE__ */ e("div", {}),
|
|
19
|
-
|
|
19
|
+
s && /* @__PURE__ */ e("div", { className: r.buttonContainer, children: /* @__PURE__ */ e(m, { as: "a", href: s.link, variant: "muted", size: "lg", children: s.text }) })
|
|
20
20
|
] }),
|
|
21
|
-
/* @__PURE__ */ e("div", { className:
|
|
21
|
+
/* @__PURE__ */ e("div", { className: r.claimContainer, children: l.slice(0, 4).map((i, n) => /* @__PURE__ */ e("div", { className: r.claimBlock, children: /* @__PURE__ */ e(
|
|
22
22
|
c,
|
|
23
23
|
{
|
|
24
|
-
value:
|
|
25
|
-
subtitle:
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
24
|
+
value: i.value,
|
|
25
|
+
subtitle: i.subtitle,
|
|
26
|
+
subtitleSuperscript: i.subtitleSuperscript,
|
|
27
|
+
description: i.description,
|
|
28
|
+
descriptionSuperscript: i.descriptionSuperscript,
|
|
29
|
+
valuePrefix: i.valuePrefix,
|
|
30
|
+
valueSuffix: i.valueSuffix
|
|
29
31
|
}
|
|
30
|
-
) },
|
|
32
|
+
) }, n)) })
|
|
31
33
|
] }) });
|
|
32
34
|
}
|
|
33
35
|
export {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("react/jsx-runtime"),l=require("react"),y=require("../../../../utils/cn/cn.cjs.js"),t=require("../../../../src/modules/IndividualProductCard/components/Features/features.module.css"),g=require("../../../../components/TypeBadge/TypeBadge.cjs.js"),a=require("../../../../components/Typography/Typography.cjs.js"),p=require("../../../../components/Superscript/Superscript.cjs.js"),m=require("../../../../components/IconBracket/IconBracket.cjs.js"),S=({features:u})=>{const[n,d]=l.useState([]),b=l.useCallback(e=>{d(r=>r.includes(e)?r.filter(c=>c!==e):[...r,e])},[]);return s.jsx("div",{className:t.root,children:u.map((e,r)=>{const c=e.description&&e.collapsible,i=!!e.description,o=s.jsxs("div",{className:t.labelWrapper,children:[s.jsx(g.TypeBadge,{type:e.type},r),s.jsxs(a.Typography,{className:t.label,as:"h4",defaultVariant:i?"bodySm":"bodyMd",mobileVariant:i?"labelMd":"bodySm",weight:"regular",children:[e.label,e.labelSuperscript&&!isNaN(e.labelSuperscript)&&s.jsx(p.Superscript,{value:e.labelSuperscript.toString()})]})]});return s.jsxs("div",{className:t.feature,children:[c?s.jsxs("button",{className:t.header,onClick:()=>b(r),children:[o,s.jsx(m.IconBracket,{variant:n.includes(r)?"close":"plus",size:"sm"})]}):o,i&&s.jsxs(a.Typography,{as:"p",defaultVariant:"bodyXs",className:y.cn(t.description,{[t.descriptionActive]:n.includes(r)||!c}),weight:"regular",children:[e.description,e.descriptionSuperscript&&!isNaN(e.descriptionSuperscript)&&s.jsx(p.Superscript,{value:e.descriptionSuperscript.toString()})]})]},`${e.label}-${r}`)})})};exports.Features=S;
|
|
@@ -1,50 +1,57 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { jsx as
|
|
3
|
-
import { useState as
|
|
2
|
+
import { jsx as e, jsxs as l } from "react/jsx-runtime";
|
|
3
|
+
import { useState as u, useCallback as g } from "react";
|
|
4
4
|
import { cn as h } from "../../../../utils/cn/cn.es.js";
|
|
5
|
-
import
|
|
6
|
-
import { TypeBadge as
|
|
7
|
-
import { Typography as
|
|
5
|
+
import r from "../../../../modules/IndividualProductCard/components/Features/features.module.css";
|
|
6
|
+
import { TypeBadge as S } from "../../../../components/TypeBadge/TypeBadge.es.js";
|
|
7
|
+
import { Typography as a } from "../../../../components/Typography/Typography.es.js";
|
|
8
|
+
import { Superscript as n } from "../../../../components/Superscript/Superscript.es.js";
|
|
8
9
|
import { IconBracket as y } from "../../../../components/IconBracket/IconBracket.es.js";
|
|
9
|
-
const
|
|
10
|
-
const [
|
|
11
|
-
|
|
10
|
+
const w = ({ features: m }) => {
|
|
11
|
+
const [c, d] = u([]), b = g((s) => {
|
|
12
|
+
d((i) => i.includes(s) ? i.filter((t) => t !== s) : [...i, s]);
|
|
12
13
|
}, []);
|
|
13
|
-
return /* @__PURE__ */
|
|
14
|
-
const t =
|
|
15
|
-
/* @__PURE__ */
|
|
16
|
-
/* @__PURE__ */
|
|
17
|
-
|
|
14
|
+
return /* @__PURE__ */ e("div", { className: r.root, children: m.map((s, i) => {
|
|
15
|
+
const t = s.description && s.collapsible, o = !!s.description, p = /* @__PURE__ */ l("div", { className: r.labelWrapper, children: [
|
|
16
|
+
/* @__PURE__ */ e(S, { type: s.type }, i),
|
|
17
|
+
/* @__PURE__ */ l(
|
|
18
|
+
a,
|
|
18
19
|
{
|
|
19
|
-
className:
|
|
20
|
-
as: "
|
|
20
|
+
className: r.label,
|
|
21
|
+
as: "h4",
|
|
21
22
|
defaultVariant: o ? "bodySm" : "bodyMd",
|
|
22
23
|
mobileVariant: o ? "labelMd" : "bodySm",
|
|
23
24
|
weight: "regular",
|
|
24
|
-
children:
|
|
25
|
+
children: [
|
|
26
|
+
s.label,
|
|
27
|
+
s.labelSuperscript && !isNaN(s.labelSuperscript) && /* @__PURE__ */ e(n, { value: s.labelSuperscript.toString() })
|
|
28
|
+
]
|
|
25
29
|
}
|
|
26
30
|
)
|
|
27
31
|
] });
|
|
28
|
-
return /* @__PURE__ */
|
|
29
|
-
t ? /* @__PURE__ */
|
|
30
|
-
|
|
31
|
-
/* @__PURE__ */
|
|
32
|
-
] }) :
|
|
33
|
-
o && /* @__PURE__ */
|
|
34
|
-
|
|
32
|
+
return /* @__PURE__ */ l("div", { className: r.feature, children: [
|
|
33
|
+
t ? /* @__PURE__ */ l("button", { className: r.header, onClick: () => b(i), children: [
|
|
34
|
+
p,
|
|
35
|
+
/* @__PURE__ */ e(y, { variant: c.includes(i) ? "close" : "plus", size: "sm" })
|
|
36
|
+
] }) : p,
|
|
37
|
+
o && /* @__PURE__ */ l(
|
|
38
|
+
a,
|
|
35
39
|
{
|
|
36
40
|
as: "p",
|
|
37
41
|
defaultVariant: "bodyXs",
|
|
38
|
-
className: h(
|
|
39
|
-
[
|
|
42
|
+
className: h(r.description, {
|
|
43
|
+
[r.descriptionActive]: c.includes(i) || !t
|
|
40
44
|
}),
|
|
41
45
|
weight: "regular",
|
|
42
|
-
children:
|
|
46
|
+
children: [
|
|
47
|
+
s.description,
|
|
48
|
+
s.descriptionSuperscript && !isNaN(s.descriptionSuperscript) && /* @__PURE__ */ e(n, { value: s.descriptionSuperscript.toString() })
|
|
49
|
+
]
|
|
43
50
|
}
|
|
44
51
|
)
|
|
45
|
-
] }, `${
|
|
52
|
+
] }, `${s.label}-${i}`);
|
|
46
53
|
}) });
|
|
47
54
|
};
|
|
48
55
|
export {
|
|
49
|
-
|
|
56
|
+
w as Features
|
|
50
57
|
};
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
padding: 64px 120px;
|
|
12
12
|
display: grid;
|
|
13
13
|
grid-template-columns: 1fr 1fr;
|
|
14
|
-
grid-template-areas:
|
|
14
|
+
grid-template-areas:
|
|
15
15
|
"gallery info"
|
|
16
16
|
"gallery plans";
|
|
17
17
|
column-gap: 64px;
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
.container.noPlans {
|
|
22
|
-
grid-template-columns:
|
|
22
|
+
grid-template-columns: 1fr 1fr;
|
|
23
23
|
grid-template-areas: "gallery info";
|
|
24
24
|
column-gap: 120px;
|
|
25
25
|
}
|
|
@@ -3,8 +3,10 @@ import { LabelColor } from '../../components/Label';
|
|
|
3
3
|
|
|
4
4
|
export type TProductFeature = {
|
|
5
5
|
label: string;
|
|
6
|
+
labelSuperscript?: number;
|
|
6
7
|
type: ETypeBadge;
|
|
7
8
|
description?: string;
|
|
9
|
+
descriptionSuperscript?: number;
|
|
8
10
|
collapsible?: boolean;
|
|
9
11
|
};
|
|
10
12
|
export type TProductPlan = {
|
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.36",
|
|
4
4
|
"description": "Design system",
|
|
5
5
|
"main": "dist/index.cjs.js",
|
|
6
6
|
"module": "dist/index.es.js",
|
|
@@ -171,6 +171,11 @@
|
|
|
171
171
|
"import": "./dist/components/StudyGridCard/StudyGridCard.es.js",
|
|
172
172
|
"require": "./dist/components/StudyGridCard/StudyGridCard.cjs.js"
|
|
173
173
|
},
|
|
174
|
+
"./Superscript": {
|
|
175
|
+
"types": "./dist/components/Superscript/index.d.ts",
|
|
176
|
+
"import": "./dist/components/Superscript/Superscript.es.js",
|
|
177
|
+
"require": "./dist/components/Superscript/Superscript.cjs.js"
|
|
178
|
+
},
|
|
174
179
|
"./ProgramCard": {
|
|
175
180
|
"types": "./dist/components/ProgramCard/ProgramCard.d.ts",
|
|
176
181
|
"import": "./dist/components/ProgramCard/ProgramCard.es.js",
|