@zenpatient-org/healthspan-marketing-ui 0.1.31 → 0.1.33
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/AnchorLinks/AnchorLinks.cjs.js +1 -0
- package/dist/components/AnchorLinks/AnchorLinks.d.ts +3 -0
- package/dist/components/AnchorLinks/AnchorLinks.es.js +20 -0
- package/dist/components/AnchorLinks/anchorLinks.module.css.cjs.js +1 -0
- package/dist/components/AnchorLinks/anchorLinks.module.css.es.js +13 -0
- package/dist/components/AnchorLinks/index.d.ts +1 -0
- package/dist/components/AnchorLinks/types.d.ts +17 -0
- package/dist/components/FAQComponent/components/FAQComponentItem/FAQComponentItem.cjs.js +1 -1
- package/dist/components/FAQComponent/components/FAQComponentItem/FAQComponentItem.es.js +12 -12
- package/dist/components/FAQComponent/components/FAQComponentItem/faqComponentItem.module.css.cjs.js +1 -1
- package/dist/components/FAQComponent/components/FAQComponentItem/faqComponentItem.module.css.es.js +16 -14
- package/dist/components/FilterMenu/FilterMenu.cjs.js +1 -1
- package/dist/components/FilterMenu/FilterMenu.d.ts +9 -3
- package/dist/components/FilterMenu/FilterMenu.es.js +33 -30
- package/dist/components/GalleryPagination/GalleryPagination.cjs.js +1 -0
- package/dist/components/GalleryPagination/GalleryPagination.d.ts +7 -0
- package/dist/components/GalleryPagination/GalleryPagination.es.js +7 -0
- package/dist/components/GalleryPagination/galleryPagination.module.css.cjs.js +1 -0
- package/dist/components/GalleryPagination/galleryPagination.module.css.es.js +13 -0
- package/dist/components/GalleryPagination/index.d.ts +1 -0
- package/dist/components/ImageGallery/ImageGallery.cjs.js +1 -0
- package/dist/components/ImageGallery/ImageGallery.d.ts +8 -0
- package/dist/components/ImageGallery/ImageGallery.es.js +35 -0
- package/dist/components/ImageGallery/imageGallery.module.css.cjs.js +1 -0
- package/dist/components/ImageGallery/imageGallery.module.css.es.js +15 -0
- package/dist/components/ImageGallery/index.d.ts +1 -0
- package/dist/components/Pagination/Pagination.cjs.js +1 -1
- package/dist/components/Pagination/Pagination.es.js +9 -10
- package/dist/components/Pagination/pagination.module.css.cjs.js +1 -0
- package/dist/components/Pagination/pagination.module.css.es.js +19 -0
- package/dist/components/Pricing/components/BenefitItem/BenefitItem.cjs.js +1 -1
- package/dist/components/Pricing/components/BenefitItem/BenefitItem.es.js +8 -7
- package/dist/components/RadioButton/RadioButton.cjs.js +1 -0
- package/dist/components/RadioButton/RadioButton.d.ts +9 -0
- package/dist/components/RadioButton/RadioButton.es.js +38 -0
- package/dist/components/RadioButton/index.d.ts +1 -0
- package/dist/components/RadioButton/radioButton.module.css.cjs.js +1 -0
- package/dist/components/RadioButton/radioButton.module.css.es.js +21 -0
- package/dist/components/SmartCallout/SmartCallout.cjs.js +1 -0
- package/dist/components/SmartCallout/SmartCallout.d.ts +5 -0
- package/dist/components/SmartCallout/SmartCallout.es.js +7 -0
- package/dist/components/SmartCallout/index.d.ts +1 -0
- package/dist/components/SmartCallout/smartCallout.module.css.cjs.js +1 -0
- package/dist/components/SmartCallout/smartCallout.module.css.es.js +7 -0
- package/dist/components/TextButton/TextButton.d.ts +2 -2
- package/dist/components/TextButton/index.d.ts +1 -0
- package/dist/healthspan-marketing-ui.css +1 -1
- package/dist/index.cjs.js +1 -1
- package/dist/index.es.js +3 -2
- package/dist/modules/AllInOne/AllInOne.cjs.js +1 -0
- package/dist/modules/AllInOne/AllInOne.d.ts +11 -0
- package/dist/modules/AllInOne/AllInOne.es.js +222 -0
- package/dist/modules/AllInOne/allInOne.module.css.cjs.js +1 -0
- package/dist/modules/AllInOne/allInOne.module.css.es.js +23 -0
- package/dist/modules/AllInOne/index.d.ts +1 -0
- package/dist/modules/CallToAction/CallToAction.cjs.js +1 -0
- package/dist/modules/CallToAction/CallToAction.d.ts +15 -0
- package/dist/modules/CallToAction/CallToAction.es.js +165 -0
- package/dist/modules/CallToAction/callToAction.module.css.cjs.js +1 -0
- package/dist/modules/CallToAction/callToAction.module.css.es.js +43 -0
- package/dist/modules/CallToAction/index.d.ts +1 -0
- package/dist/modules/HighestStandards/components/TabsMenu/TabsMenu.cjs.js +1 -1
- package/dist/modules/HighestStandards/components/TabsMenu/TabsMenu.es.js +12 -12
- package/dist/modules/HighestStandards/components/TabsMenu/components/TabsMenutem/TabsMenuItem.cjs.js +1 -1
- package/dist/modules/HighestStandards/components/TabsMenu/components/TabsMenutem/TabsMenuItem.es.js +17 -17
- package/dist/modules/HighestStandards/components/TabsMenu/components/TabsMenutem/tabsMenuItem.module.css.cjs.js +1 -1
- package/dist/modules/HighestStandards/components/TabsMenu/components/TabsMenutem/tabsMenuItem.module.css.es.js +8 -6
- package/dist/modules/IndividualProductCard/IndividualProductCard.cjs.js +1 -0
- package/dist/modules/IndividualProductCard/IndividualProductCard.d.ts +26 -0
- package/dist/modules/IndividualProductCard/IndividualProductCard.es.js +80 -0
- package/dist/modules/IndividualProductCard/components/Features/Features.cjs.js +1 -0
- package/dist/modules/IndividualProductCard/components/Features/Features.d.ts +7 -0
- package/dist/modules/IndividualProductCard/components/Features/Features.es.js +35 -0
- package/dist/modules/IndividualProductCard/components/Features/features.module.css.cjs.js +1 -0
- package/dist/modules/IndividualProductCard/components/Features/features.module.css.es.js +17 -0
- package/dist/modules/IndividualProductCard/components/Features/index.d.ts +1 -0
- package/dist/modules/IndividualProductCard/components/PlanCard/PlanCard.cjs.js +1 -0
- package/dist/modules/IndividualProductCard/components/PlanCard/PlanCard.d.ts +9 -0
- package/dist/modules/IndividualProductCard/components/PlanCard/PlanCard.es.js +48 -0
- package/dist/modules/IndividualProductCard/components/PlanCard/index.d.ts +1 -0
- package/dist/modules/IndividualProductCard/components/PlanCard/planCard.module.css.cjs.js +1 -0
- package/dist/modules/IndividualProductCard/components/PlanCard/planCard.module.css.es.js +35 -0
- package/dist/modules/IndividualProductCard/index.d.ts +1 -0
- package/dist/modules/IndividualProductCard/individualProductCard.module.css.cjs.js +1 -0
- package/dist/modules/IndividualProductCard/individualProductCard.module.css.es.js +27 -0
- package/dist/modules/IndividualProductCard/types.d.ts +17 -0
- package/dist/modules/IngredientHighlight/components/Ingredient/Ingredient.cjs.js +1 -1
- package/dist/modules/IngredientHighlight/components/Ingredient/Ingredient.es.js +2 -2
- package/dist/modules/IngredientHighlight/components/Ingredient/ingredient.module.css.cjs.js +1 -1
- package/dist/modules/IngredientHighlight/components/Ingredient/ingredient.module.css.es.js +6 -4
- package/dist/pageComponents/Bubbles/Bubbles.cjs.js +1 -1
- package/dist/pageComponents/Bubbles/Bubbles.es.js +30 -18
- package/dist/pageComponents/Bubbles/bubbles.module.css.cjs.js +1 -1
- package/dist/pageComponents/Bubbles/bubbles.module.css.es.js +4 -2
- package/dist/pageComponents/LabsHero/LabsHero.cjs.js +1 -0
- package/dist/pageComponents/LabsHero/LabsHero.d.ts +1 -0
- package/dist/pageComponents/LabsHero/LabsHero.es.js +73 -0
- package/dist/pageComponents/LabsHero/assets/icon1.png.cjs.js +1 -0
- package/dist/pageComponents/LabsHero/assets/icon1.png.es.js +4 -0
- package/dist/pageComponents/LabsHero/assets/icon2.png.cjs.js +1 -0
- package/dist/pageComponents/LabsHero/assets/icon2.png.es.js +4 -0
- package/dist/pageComponents/LabsHero/assets/icon3.png.cjs.js +1 -0
- package/dist/pageComponents/LabsHero/assets/icon3.png.es.js +4 -0
- package/dist/pageComponents/LabsHero/assets/img1.png.cjs.js +1 -0
- package/dist/pageComponents/LabsHero/assets/img1.png.es.js +4 -0
- package/dist/pageComponents/LabsHero/assets/img2.png.cjs.js +1 -0
- package/dist/pageComponents/LabsHero/assets/img2.png.es.js +4 -0
- package/dist/pageComponents/LabsHero/assets/img3.png.cjs.js +1 -0
- package/dist/pageComponents/LabsHero/assets/img3.png.es.js +4 -0
- package/dist/pageComponents/LabsHero/assets/svg1.svg.cjs.js +1 -0
- package/dist/pageComponents/LabsHero/assets/svg1.svg.es.js +7 -0
- package/dist/pageComponents/LabsHero/assets/svg2.svg.cjs.js +1 -0
- package/dist/pageComponents/LabsHero/assets/svg2.svg.es.js +5 -0
- package/dist/pageComponents/LabsHero/assets/svg3.svg.cjs.js +1 -0
- package/dist/pageComponents/LabsHero/assets/svg3.svg.es.js +7 -0
- package/dist/pageComponents/LabsHero/index.d.ts +1 -0
- package/dist/pageComponents/LabsHero/labsHero.module.css.cjs.js +1 -0
- package/dist/pageComponents/LabsHero/labsHero.module.css.es.js +41 -0
- package/dist/pageComponents/PersonalizedProtocolHero/PersonalizedProtocolHero.cjs.js +1 -0
- package/dist/pageComponents/PersonalizedProtocolHero/PersonalizedProtocolHero.d.ts +1 -0
- package/dist/pageComponents/PersonalizedProtocolHero/PersonalizedProtocolHero.es.js +179 -0
- package/dist/pageComponents/PersonalizedProtocolHero/assets/graph1.svg.cjs.js +1 -0
- package/dist/pageComponents/PersonalizedProtocolHero/assets/graph1.svg.es.js +7 -0
- package/dist/pageComponents/PersonalizedProtocolHero/assets/graph2.svg.cjs.js +1 -0
- package/dist/pageComponents/PersonalizedProtocolHero/assets/graph2.svg.es.js +7 -0
- package/dist/pageComponents/PersonalizedProtocolHero/assets/graph3.svg.cjs.js +1 -0
- package/dist/pageComponents/PersonalizedProtocolHero/assets/graph3.svg.es.js +7 -0
- package/dist/pageComponents/PersonalizedProtocolHero/assets/pill1.png.cjs.js +1 -0
- package/dist/pageComponents/PersonalizedProtocolHero/assets/pill1.png.es.js +4 -0
- package/dist/pageComponents/PersonalizedProtocolHero/assets/pill2.png.cjs.js +1 -0
- package/dist/pageComponents/PersonalizedProtocolHero/assets/pill2.png.es.js +4 -0
- package/dist/pageComponents/PersonalizedProtocolHero/assets/pill3.png.cjs.js +1 -0
- package/dist/pageComponents/PersonalizedProtocolHero/assets/pill3.png.es.js +4 -0
- package/dist/pageComponents/PersonalizedProtocolHero/assets/prod1.png.cjs.js +1 -0
- package/dist/pageComponents/PersonalizedProtocolHero/assets/prod1.png.es.js +4 -0
- package/dist/pageComponents/PersonalizedProtocolHero/assets/prod2.png.cjs.js +1 -0
- package/dist/pageComponents/PersonalizedProtocolHero/assets/prod2.png.es.js +4 -0
- package/dist/pageComponents/PersonalizedProtocolHero/assets/prod3.png.cjs.js +1 -0
- package/dist/pageComponents/PersonalizedProtocolHero/assets/prod3.png.es.js +4 -0
- package/dist/pageComponents/PersonalizedProtocolHero/index.d.ts +1 -0
- package/dist/pageComponents/PersonalizedProtocolHero/personalizedProtocolHero.module.css.cjs.js +1 -0
- package/dist/pageComponents/PersonalizedProtocolHero/personalizedProtocolHero.module.css.es.js +71 -0
- package/dist/pageComponents/TreatmentsHero/TreatmentsHero.cjs.js +1 -0
- package/dist/pageComponents/TreatmentsHero/TreatmentsHero.d.ts +15 -0
- package/dist/pageComponents/TreatmentsHero/TreatmentsHero.es.js +20 -0
- package/dist/pageComponents/TreatmentsHero/components/TreatmentHeroCard/TreatmentHeroCard.cjs.js +1 -0
- package/dist/pageComponents/TreatmentsHero/components/TreatmentHeroCard/TreatmentHeroCard.d.ts +7 -0
- package/dist/pageComponents/TreatmentsHero/components/TreatmentHeroCard/TreatmentHeroCard.es.js +10 -0
- package/dist/pageComponents/TreatmentsHero/components/TreatmentHeroCard/index.d.ts +1 -0
- package/dist/pageComponents/TreatmentsHero/components/TreatmentHeroCard/treatmentHeroCard.module.css.cjs.js +1 -0
- package/dist/pageComponents/TreatmentsHero/components/TreatmentHeroCard/treatmentHeroCard.module.css.es.js +11 -0
- package/dist/pageComponents/TreatmentsHero/index.d.ts +1 -0
- package/dist/pageComponents/TreatmentsHero/treatmentsHero.module.css.cjs.js +1 -0
- package/dist/pageComponents/TreatmentsHero/treatmentsHero.module.css.es.js +21 -0
- package/dist/utils/debounce.cjs.js +1 -0
- package/dist/utils/debounce.d.ts +2 -0
- package/dist/utils/debounce.es.js +9 -0
- package/dist/utils/formatUnits/formatUnits.cjs.js +1 -1
- package/dist/utils/formatUnits/formatUnits.es.js +5 -3
- package/dist/utils/formatUnits.d.ts +1 -1
- package/package.json +56 -1
- package/dist/components/Pagination/Pagination.module.css.cjs.js +0 -1
- package/dist/components/Pagination/Pagination.module.css.es.js +0 -19
package/dist/pageComponents/PersonalizedProtocolHero/personalizedProtocolHero.module.css.es.js
ADDED
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
const o = "personalizedProtocolHero-module__root___1zZOm", e = "personalizedProtocolHero-module__container___EtvLl", t = "personalizedProtocolHero-module__leftContent___rGGen", _ = "personalizedProtocolHero-module__description___QtTS4", l = "personalizedProtocolHero-module__buttonWrap___6bqeT", r = "personalizedProtocolHero-module__textContainer___SfD2q", a = "personalizedProtocolHero-module__pillContainer___50UIE", n = "personalizedProtocolHero-module__pillImage___VNmV4", d = "personalizedProtocolHero-module__active___aEZL5", s = "personalizedProtocolHero-module__exiting___z53Iy", c = "personalizedProtocolHero-module__protocolContainer___s7c52", i = "personalizedProtocolHero-module__dosageContainer___Xw9-2", p = "personalizedProtocolHero-module__goalContainer___DQCri", g = "personalizedProtocolHero-module__svgContainer___KG3Rh", u = "personalizedProtocolHero-module__dosageTextBlock___G6f2w", m = "personalizedProtocolHero-module__dosageItem___GUjAd", z = "personalizedProtocolHero-module__protocolText___pc0hR", P = "personalizedProtocolHero-module__dosageText___YA78Z", H = "personalizedProtocolHero-module__goalText___MeL3l", C = "personalizedProtocolHero-module__protocolValue___Gs9YK", x = "personalizedProtocolHero-module__dosageValue___GtVLD", F = "personalizedProtocolHero-module__goalValue___z5az3", T = "personalizedProtocolHero-module__protocolFade___Pza8O", I = "personalizedProtocolHero-module__dosageImageFade___DqFUq", V = "personalizedProtocolHero-module__dosageTextFade___sAqzW", f = "personalizedProtocolHero-module__dosageValueFade___PQrdU", v = "personalizedProtocolHero-module__goalFade___d2Duo", b = "personalizedProtocolHero-module__svgFade___twtQM", G = "personalizedProtocolHero-module__fadeOut___FzsmW", k = "personalizedProtocolHero-module__fadeIn___fpddZ", W = "personalizedProtocolHero-module__mobile___LIC3d", q = "personalizedProtocolHero-module__desktop___WBY1Q", D = "personalizedProtocolHero-module__svg___9w49a", L = {
|
|
2
|
+
root: o,
|
|
3
|
+
container: e,
|
|
4
|
+
leftContent: t,
|
|
5
|
+
description: _,
|
|
6
|
+
buttonWrap: l,
|
|
7
|
+
textContainer: r,
|
|
8
|
+
pillContainer: a,
|
|
9
|
+
pillImage: n,
|
|
10
|
+
active: d,
|
|
11
|
+
exiting: s,
|
|
12
|
+
protocolContainer: c,
|
|
13
|
+
dosageContainer: i,
|
|
14
|
+
goalContainer: p,
|
|
15
|
+
svgContainer: g,
|
|
16
|
+
dosageTextBlock: u,
|
|
17
|
+
dosageItem: m,
|
|
18
|
+
protocolText: z,
|
|
19
|
+
dosageText: P,
|
|
20
|
+
goalText: H,
|
|
21
|
+
protocolValue: C,
|
|
22
|
+
dosageValue: x,
|
|
23
|
+
goalValue: F,
|
|
24
|
+
protocolFade: T,
|
|
25
|
+
dosageImageFade: I,
|
|
26
|
+
dosageTextFade: V,
|
|
27
|
+
dosageValueFade: f,
|
|
28
|
+
goalFade: v,
|
|
29
|
+
svgFade: b,
|
|
30
|
+
fadeOut: G,
|
|
31
|
+
fadeIn: k,
|
|
32
|
+
mobile: W,
|
|
33
|
+
desktop: q,
|
|
34
|
+
svg: D
|
|
35
|
+
};
|
|
36
|
+
export {
|
|
37
|
+
d as active,
|
|
38
|
+
l as buttonWrap,
|
|
39
|
+
e as container,
|
|
40
|
+
L as default,
|
|
41
|
+
_ as description,
|
|
42
|
+
q as desktop,
|
|
43
|
+
i as dosageContainer,
|
|
44
|
+
I as dosageImageFade,
|
|
45
|
+
m as dosageItem,
|
|
46
|
+
P as dosageText,
|
|
47
|
+
u as dosageTextBlock,
|
|
48
|
+
V as dosageTextFade,
|
|
49
|
+
x as dosageValue,
|
|
50
|
+
f as dosageValueFade,
|
|
51
|
+
s as exiting,
|
|
52
|
+
k as fadeIn,
|
|
53
|
+
G as fadeOut,
|
|
54
|
+
p as goalContainer,
|
|
55
|
+
v as goalFade,
|
|
56
|
+
H as goalText,
|
|
57
|
+
F as goalValue,
|
|
58
|
+
t as leftContent,
|
|
59
|
+
W as mobile,
|
|
60
|
+
a as pillContainer,
|
|
61
|
+
n as pillImage,
|
|
62
|
+
c as protocolContainer,
|
|
63
|
+
T as protocolFade,
|
|
64
|
+
z as protocolText,
|
|
65
|
+
C as protocolValue,
|
|
66
|
+
o as root,
|
|
67
|
+
D as svg,
|
|
68
|
+
g as svgContainer,
|
|
69
|
+
b as svgFade,
|
|
70
|
+
r as textContainer
|
|
71
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),s=require("../../utils/cn/cn.cjs.js"),u=require("../../components/Button/Button.cjs.js"),o=require("../../components/Typography/Typography.cjs.js"),c=require("./components/TreatmentHeroCard/TreatmentHeroCard.cjs.js"),t=require("./treatmentsHero.module.css.cjs.js"),d=(r,l)=>r?e.jsx(u.Button,{variant:"primary",as:"a",href:r.link,size:l,children:r.text}):null,h=({title:r,description:l,button:a,cards:n})=>e.jsxs("section",{className:t.default.root,children:[e.jsx("div",{className:t.default.headerContainer,children:e.jsxs("div",{className:t.default.headerContent,children:[e.jsxs("div",{className:t.default.headerText,children:[e.jsx(o.Typography,{as:"h1",defaultVariant:"displayMd",mobileVariant:"headingXl",weight:"regular",children:r}),e.jsx(o.Typography,{as:"p",defaultVariant:"bodyLg",mobileVariant:"bodySm",weight:"regular",children:l})]}),a&&e.jsx("div",{className:s.cn(t.default.headerButton,t.default.mobile),children:d(a,"md")}),a&&e.jsx("div",{className:s.cn(t.default.headerButton,t.default.desktop),children:d(a,"lg")})]})}),!!(n!=null&&n.length)&&e.jsx("div",{className:t.default.cardsContainer,children:n.map(i=>e.jsx(c.TreatmentHeroCard,{title:i.title,link:i.link,image:i.image},i.link))})]});exports.TreatmentsHero=h;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
type TreatmentsHeroProps = {
|
|
2
|
+
title: string;
|
|
3
|
+
description?: string;
|
|
4
|
+
button?: {
|
|
5
|
+
text: string;
|
|
6
|
+
link: string;
|
|
7
|
+
};
|
|
8
|
+
cards?: Array<{
|
|
9
|
+
title: string;
|
|
10
|
+
link: string;
|
|
11
|
+
image: string;
|
|
12
|
+
}>;
|
|
13
|
+
};
|
|
14
|
+
export declare const TreatmentsHero: ({ title, description, button, cards }: TreatmentsHeroProps) => import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
export {};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { jsxs as m, jsx as r } from "react/jsx-runtime";
|
|
2
|
+
import { cn as o } from "../../utils/cn/cn.es.js";
|
|
3
|
+
import { Button as h } from "../../components/Button/Button.es.js";
|
|
4
|
+
import { Typography as d } from "../../components/Typography/Typography.es.js";
|
|
5
|
+
import { TreatmentHeroCard as c } from "./components/TreatmentHeroCard/TreatmentHeroCard.es.js";
|
|
6
|
+
import e from "./treatmentsHero.module.css.es.js";
|
|
7
|
+
const s = (i, n) => i ? /* @__PURE__ */ r(h, { variant: "primary", as: "a", href: i.link, size: n, children: i.text }) : null, N = ({ title: i, description: n, button: a, cards: t }) => /* @__PURE__ */ m("section", { className: e.root, children: [
|
|
8
|
+
/* @__PURE__ */ r("div", { className: e.headerContainer, children: /* @__PURE__ */ m("div", { className: e.headerContent, children: [
|
|
9
|
+
/* @__PURE__ */ m("div", { className: e.headerText, children: [
|
|
10
|
+
/* @__PURE__ */ r(d, { as: "h1", defaultVariant: "displayMd", mobileVariant: "headingXl", weight: "regular", children: i }),
|
|
11
|
+
/* @__PURE__ */ r(d, { as: "p", defaultVariant: "bodyLg", mobileVariant: "bodySm", weight: "regular", children: n })
|
|
12
|
+
] }),
|
|
13
|
+
a && /* @__PURE__ */ r("div", { className: o(e.headerButton, e.mobile), children: s(a, "md") }),
|
|
14
|
+
a && /* @__PURE__ */ r("div", { className: o(e.headerButton, e.desktop), children: s(a, "lg") })
|
|
15
|
+
] }) }),
|
|
16
|
+
!!(t != null && t.length) && /* @__PURE__ */ r("div", { className: e.cardsContainer, children: t.map((l) => /* @__PURE__ */ r(c, { title: l.title, link: l.link, image: l.image }, l.link)) })
|
|
17
|
+
] });
|
|
18
|
+
export {
|
|
19
|
+
N as TreatmentsHero
|
|
20
|
+
};
|
package/dist/pageComponents/TreatmentsHero/components/TreatmentHeroCard/TreatmentHeroCard.cjs.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),s=require("../../../../components/Typography/Typography.cjs.js"),r=require("./treatmentHeroCard.module.css.cjs.js"),i=({image:t,title:a,link:o})=>e.jsxs("a",{href:o,className:r.default.root,children:[e.jsx("div",{className:r.default.imageWrapper,children:e.jsx("img",{src:t,alt:a,className:r.default.image})}),e.jsx(s.Typography,{as:"p",defaultVariant:"headingSm",mobileVariant:"bodyMd",weight:"regular",children:a})]});exports.TreatmentHeroCard=i;
|
package/dist/pageComponents/TreatmentsHero/components/TreatmentHeroCard/TreatmentHeroCard.es.js
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { jsxs as o, jsx as r } from "react/jsx-runtime";
|
|
2
|
+
import { Typography as s } from "../../../../components/Typography/Typography.es.js";
|
|
3
|
+
import a from "./treatmentHeroCard.module.css.es.js";
|
|
4
|
+
const n = ({ image: m, title: e, link: i }) => /* @__PURE__ */ o("a", { href: i, className: a.root, children: [
|
|
5
|
+
/* @__PURE__ */ r("div", { className: a.imageWrapper, children: /* @__PURE__ */ r("img", { src: m, alt: e, className: a.image }) }),
|
|
6
|
+
/* @__PURE__ */ r(s, { as: "p", defaultVariant: "headingSm", mobileVariant: "bodyMd", weight: "regular", children: e })
|
|
7
|
+
] });
|
|
8
|
+
export {
|
|
9
|
+
n as TreatmentHeroCard
|
|
10
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { TreatmentHeroCard } from './TreatmentHeroCard';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="treatmentHeroCard-module__root___r7b2A",r="treatmentHeroCard-module__imageWrapper___InpLt",t="treatmentHeroCard-module__image___qE6WU",o={root:e,imageWrapper:r,image:t};exports.default=o;exports.image=t;exports.imageWrapper=r;exports.root=e;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
const e = "treatmentHeroCard-module__root___r7b2A", r = "treatmentHeroCard-module__imageWrapper___InpLt", t = "treatmentHeroCard-module__image___qE6WU", a = {
|
|
2
|
+
root: e,
|
|
3
|
+
imageWrapper: r,
|
|
4
|
+
image: t
|
|
5
|
+
};
|
|
6
|
+
export {
|
|
7
|
+
a as default,
|
|
8
|
+
t as image,
|
|
9
|
+
r as imageWrapper,
|
|
10
|
+
e as root
|
|
11
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { TreatmentsHero } from './TreatmentsHero';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="treatmentsHero-module__root___ooT0f",t="treatmentsHero-module__headerContainer___9pjeS",o="treatmentsHero-module__headerContent___4wGkJ",r="treatmentsHero-module__headerText___xxHYH",n="treatmentsHero-module__headerButton___JhBIo",_="treatmentsHero-module__cardsContainer___IJpyM",a="treatmentsHero-module__mobile___p7eao",d="treatmentsHero-module__desktop___MH3N4",s={root:e,headerContainer:t,headerContent:o,headerText:r,headerButton:n,cardsContainer:_,mobile:a,desktop:d};exports.cardsContainer=_;exports.default=s;exports.desktop=d;exports.headerButton=n;exports.headerContainer=t;exports.headerContent=o;exports.headerText=r;exports.mobile=a;exports.root=e;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
const e = "treatmentsHero-module__root___ooT0f", t = "treatmentsHero-module__headerContainer___9pjeS", o = "treatmentsHero-module__headerContent___4wGkJ", r = "treatmentsHero-module__headerText___xxHYH", _ = "treatmentsHero-module__headerButton___JhBIo", n = "treatmentsHero-module__cardsContainer___IJpyM", a = "treatmentsHero-module__mobile___p7eao", d = "treatmentsHero-module__desktop___MH3N4", s = {
|
|
2
|
+
root: e,
|
|
3
|
+
headerContainer: t,
|
|
4
|
+
headerContent: o,
|
|
5
|
+
headerText: r,
|
|
6
|
+
headerButton: _,
|
|
7
|
+
cardsContainer: n,
|
|
8
|
+
mobile: a,
|
|
9
|
+
desktop: d
|
|
10
|
+
};
|
|
11
|
+
export {
|
|
12
|
+
n as cardsContainer,
|
|
13
|
+
s as default,
|
|
14
|
+
d as desktop,
|
|
15
|
+
_ as headerButton,
|
|
16
|
+
t as headerContainer,
|
|
17
|
+
o as headerContent,
|
|
18
|
+
r as headerText,
|
|
19
|
+
a as mobile,
|
|
20
|
+
e as root
|
|
21
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const o=(t,u)=>{let e;return()=>{clearTimeout(e),e=setTimeout(t,u)}};exports.default=o;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=(
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=(e,m="usd",t=2)=>new Intl.NumberFormat("en",{style:"currency",currency:m,maximumFractionDigits:t,minimumFractionDigits:t}).format(e);exports.formatUnits=r;
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
const
|
|
1
|
+
const r = (t, n = "usd", m = 2) => new Intl.NumberFormat("en", {
|
|
2
2
|
style: "currency",
|
|
3
|
-
currency:
|
|
3
|
+
currency: n,
|
|
4
|
+
maximumFractionDigits: m,
|
|
5
|
+
minimumFractionDigits: m
|
|
4
6
|
}).format(t);
|
|
5
7
|
export {
|
|
6
|
-
|
|
8
|
+
r as formatUnits
|
|
7
9
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const formatUnits: (price: number, currency?: string) => string;
|
|
1
|
+
export declare const formatUnits: (price: number, currency?: string, fractionDigits?: number) => string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zenpatient-org/healthspan-marketing-ui",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.33",
|
|
4
4
|
"description": "Design system",
|
|
5
5
|
"main": "dist/index.cjs.js",
|
|
6
6
|
"module": "dist/index.es.js",
|
|
@@ -104,6 +104,11 @@
|
|
|
104
104
|
"require": "./dist/components/TextButton/TextButton.cjs.js"
|
|
105
105
|
},
|
|
106
106
|
"./Icon": {
|
|
107
|
+
"types": "./dist/components/Icon/Icon.d.ts",
|
|
108
|
+
"import": "./dist/components/Icon/Icon.es.js",
|
|
109
|
+
"require": "./dist/components/Icon/Icon.cjs.js"
|
|
110
|
+
},
|
|
111
|
+
"./Icon/constants": {
|
|
107
112
|
"types": "./dist/components/Icon/constants.d.ts",
|
|
108
113
|
"import": "./dist/components/Icon/constants.es.js",
|
|
109
114
|
"require": "./dist/components/Icon/constants.cjs.js"
|
|
@@ -258,6 +263,31 @@
|
|
|
258
263
|
"import": "./dist/components/Pagination/Pagination.es.js",
|
|
259
264
|
"require": "./dist/components/Pagination/Pagination.cjs.js"
|
|
260
265
|
},
|
|
266
|
+
"./GalleryPagination": {
|
|
267
|
+
"types": "./dist/components/GalleryPagination/GalleryPagination.d.ts",
|
|
268
|
+
"import": "./dist/components/GalleryPagination/GalleryPagination.es.js",
|
|
269
|
+
"require": "./dist/components/GalleryPagination/GalleryPagination.cjs.js"
|
|
270
|
+
},
|
|
271
|
+
"./ImageGallery": {
|
|
272
|
+
"types": "./dist/components/ImageGallery/ImageGallery.d.ts",
|
|
273
|
+
"import": "./dist/components/ImageGallery/ImageGallery.es.js",
|
|
274
|
+
"require": "./dist/components/ImageGallery/ImageGallery.cjs.js"
|
|
275
|
+
},
|
|
276
|
+
"./SmartCallout": {
|
|
277
|
+
"types": "./dist/components/SmartCallout/SmartCallout.d.ts",
|
|
278
|
+
"import": "./dist/components/SmartCallout/SmartCallout.es.js",
|
|
279
|
+
"require": "./dist/components/SmartCallout/SmartCallout.cjs.js"
|
|
280
|
+
},
|
|
281
|
+
"./RadioButton": {
|
|
282
|
+
"types": "./dist/components/RadioButton/RadioButton.d.ts",
|
|
283
|
+
"import": "./dist/components/RadioButton/RadioButton.es.js",
|
|
284
|
+
"require": "./dist/components/RadioButton/RadioButton.cjs.js"
|
|
285
|
+
},
|
|
286
|
+
"./AnchorLinks": {
|
|
287
|
+
"types": "./dist/components/AnchorLinks/AnchorLinks.d.ts",
|
|
288
|
+
"import": "./dist/components/AnchorLinks/AnchorLinks.es.js",
|
|
289
|
+
"require": "./dist/components/AnchorLinks/AnchorLinks.cjs.js"
|
|
290
|
+
},
|
|
261
291
|
"./CallbackModule": {
|
|
262
292
|
"types": "./dist/modules/Callback/Callback.d.ts",
|
|
263
293
|
"import": "./dist/modules/Callback/Callback.es.js",
|
|
@@ -328,6 +358,11 @@
|
|
|
328
358
|
"import": "./dist/modules/YourProtocol/YourProtocol.es.js",
|
|
329
359
|
"require": "./dist/modules/YourProtocol/YourProtocol.cjs.js"
|
|
330
360
|
},
|
|
361
|
+
"./AllInOne": {
|
|
362
|
+
"types": "./dist/modules/AllInOne/AllInOne.d.ts",
|
|
363
|
+
"import": "./dist/modules/AllInOne/AllInOne.es.js",
|
|
364
|
+
"require": "./dist/modules/AllInOne/AllInOne.cjs.js"
|
|
365
|
+
},
|
|
331
366
|
"./Benefits": {
|
|
332
367
|
"types": "./dist/modules/Benefits/Benefits.d.ts",
|
|
333
368
|
"import": "./dist/modules/Benefits/Benefits.es.js",
|
|
@@ -393,6 +428,11 @@
|
|
|
393
428
|
"import": "./dist/modules/Reviews/Reviews.es.js",
|
|
394
429
|
"require": "./dist/modules/Reviews/Reviews.cjs.js"
|
|
395
430
|
},
|
|
431
|
+
"./IndividualProductCard": {
|
|
432
|
+
"types": "./dist/modules/IndividualProductCard/IndividualProductCard.d.ts",
|
|
433
|
+
"import": "./dist/modules/IndividualProductCard/IndividualProductCard.es.js",
|
|
434
|
+
"require": "./dist/modules/IndividualProductCard/IndividualProductCard.cjs.js"
|
|
435
|
+
},
|
|
396
436
|
"./Bubbles": {
|
|
397
437
|
"types": "./dist/pageComponents/Bubbles/Bubbles.d.ts",
|
|
398
438
|
"import": "./dist/pageComponents/Bubbles/Bubbles.es.js",
|
|
@@ -423,6 +463,21 @@
|
|
|
423
463
|
"import": "./dist/pageComponents/DiscoverTheStory/DiscoverTheStory.es.js",
|
|
424
464
|
"require": "./dist/pageComponents/DiscoverTheStory/DiscoverTheStory.cjs.js"
|
|
425
465
|
},
|
|
466
|
+
"./LabsHero": {
|
|
467
|
+
"types": "./dist/pageComponents/LabsHero/LabsHero.d.ts",
|
|
468
|
+
"import": "./dist/pageComponents/LabsHero/LabsHero.es.js",
|
|
469
|
+
"require": "./dist/pageComponents/LabsHero/LabsHero.cjs.js"
|
|
470
|
+
},
|
|
471
|
+
"./PersonalizedProtocolHero": {
|
|
472
|
+
"types": "./dist/pageComponents/PersonalizedProtocolHero/PersonalizedProtocolHero.d.ts",
|
|
473
|
+
"import": "./dist/pageComponents/PersonalizedProtocolHero/PersonalizedProtocolHero.es.js",
|
|
474
|
+
"require": "./dist/pageComponents/PersonalizedProtocolHero/PersonalizedProtocolHero.cjs.js"
|
|
475
|
+
},
|
|
476
|
+
"./TreatmentsHero": {
|
|
477
|
+
"types": "./dist/pageComponents/TreatmentsHero/TreatmentsHero.d.ts",
|
|
478
|
+
"import": "./dist/pageComponents/TreatmentsHero/TreatmentsHero.es.js",
|
|
479
|
+
"require": "./dist/pageComponents/TreatmentsHero/TreatmentsHero.cjs.js"
|
|
480
|
+
},
|
|
426
481
|
"./dist/*.css": "./dist/*.css"
|
|
427
482
|
}
|
|
428
483
|
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const o="Pagination-module__root___ITRjt",a="Pagination-module__page___WjG0l",e="Pagination-module__activePage___dbxZJ",r="Pagination-module__arrow___rGon0",t="Pagination-module__arrowPrev___WPfYK",_="Pagination-module__arrowNext___ownTb",n="Pagination-module__icon___2iCyv",i={root:o,page:a,activePage:e,arrow:r,arrowPrev:t,arrowNext:_,icon:n};exports.activePage=e;exports.arrow=r;exports.arrowNext=_;exports.arrowPrev=t;exports.default=i;exports.icon=n;exports.page=a;exports.root=o;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
const o = "Pagination-module__root___ITRjt", _ = "Pagination-module__page___WjG0l", a = "Pagination-module__activePage___dbxZJ", t = "Pagination-module__arrow___rGon0", n = "Pagination-module__arrowPrev___WPfYK", r = "Pagination-module__arrowNext___ownTb", e = "Pagination-module__icon___2iCyv", i = {
|
|
2
|
-
root: o,
|
|
3
|
-
page: _,
|
|
4
|
-
activePage: a,
|
|
5
|
-
arrow: t,
|
|
6
|
-
arrowPrev: n,
|
|
7
|
-
arrowNext: r,
|
|
8
|
-
icon: e
|
|
9
|
-
};
|
|
10
|
-
export {
|
|
11
|
-
a as activePage,
|
|
12
|
-
t as arrow,
|
|
13
|
-
r as arrowNext,
|
|
14
|
-
n as arrowPrev,
|
|
15
|
-
i as default,
|
|
16
|
-
e as icon,
|
|
17
|
-
_ as page,
|
|
18
|
-
o as root
|
|
19
|
-
};
|