@zenpatient-org/healthspan-marketing-ui 0.1.33 → 0.1.35
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/_virtual/_commonjsHelpers.cjs.js +1 -0
- package/dist/_virtual/_commonjsHelpers.es.js +6 -0
- package/dist/_virtual/browser.cjs.js +1 -0
- package/dist/_virtual/browser.es.js +4 -0
- package/dist/_virtual/debug.cjs.js +1 -0
- package/dist/_virtual/debug.es.js +4 -0
- package/dist/_virtual/index.cjs.js +1 -0
- package/dist/_virtual/index.cjs2.js +1 -0
- package/dist/_virtual/index.cjs3.js +1 -0
- package/dist/_virtual/index.cjs4.js +1 -0
- package/dist/_virtual/index.es.js +7 -0
- package/dist/_virtual/index.es2.js +7 -0
- package/dist/_virtual/index.es3.js +4 -0
- package/dist/_virtual/index.es4.js +4 -0
- package/dist/_virtual/react-is.development.cjs.js +1 -0
- package/dist/_virtual/react-is.development.es.js +4 -0
- package/dist/_virtual/react-is.production.min.cjs.js +1 -0
- package/dist/_virtual/react-is.production.min.es.js +4 -0
- package/dist/_virtual/to-querystring.min.cjs.js +1 -0
- package/dist/_virtual/to-querystring.min.cjs2.js +1 -0
- package/dist/_virtual/to-querystring.min.es.js +7 -0
- package/dist/_virtual/to-querystring.min.es2.js +4 -0
- package/dist/components/Accordion/components/AccordionItem/index.d.ts +1 -1
- package/dist/components/CircleHighlights/CircleHighlights.cjs.js +1 -0
- package/dist/components/CircleHighlights/CircleHighlights.d.ts +10 -0
- package/dist/components/CircleHighlights/CircleHighlights.es.js +20 -0
- package/dist/components/CircleHighlights/circleHighlights.module.css.cjs.js +1 -0
- package/dist/components/CircleHighlights/circleHighlights.module.css.es.js +19 -0
- package/dist/components/CircleHighlights/index.d.ts +1 -0
- package/dist/components/ComplexImageCarousel/ComplexImageCarousel.cjs.js +1 -1
- package/dist/components/ComplexImageCarousel/ComplexImageCarousel.d.ts +1 -1
- package/dist/components/ComplexImageCarousel/ComplexImageCarousel.es.js +46 -123
- package/dist/components/ComplexImageCarousel/complexImageCarousel.module.css.cjs.js +1 -1
- package/dist/components/ComplexImageCarousel/complexImageCarousel.module.css.es.js +19 -14
- package/dist/components/ComplexImageCarousel/useComplexImageCarousel.cjs.js +1 -0
- package/dist/components/ComplexImageCarousel/useComplexImageCarousel.d.ts +19 -0
- package/dist/components/ComplexImageCarousel/useComplexImageCarousel.es.js +133 -0
- package/dist/components/FilterMenu/FilterMenu.cjs.js +1 -1
- package/dist/components/FilterMenu/FilterMenu.d.ts +4 -1
- package/dist/components/FilterMenu/FilterMenu.es.js +51 -38
- package/dist/components/FilterMenu/filterMenu.module.css.cjs.js +1 -1
- package/dist/components/FilterMenu/filterMenu.module.css.es.js +8 -6
- package/dist/components/Pagination/Pagination.cjs.js +1 -1
- package/dist/components/Pagination/Pagination.es.js +24 -24
- package/dist/components/RatingStars/RatingStars.cjs.js +1 -1
- package/dist/components/RatingStars/RatingStars.es.js +10 -16
- package/dist/components/RatingStars/ratingStars.module.css.cjs.js +1 -1
- package/dist/components/RatingStars/ratingStars.module.css.es.js +3 -5
- package/dist/components/StudyGridCard/StudyGridCard.cjs.js +1 -1
- package/dist/components/StudyGridCard/StudyGridCard.es.js +24 -30
- package/dist/components/TextInput/TextInput.cjs.js +1 -0
- package/dist/components/TextInput/TextInput.d.ts +20 -0
- package/dist/components/TextInput/TextInput.es.js +86 -0
- package/dist/components/TextInput/index.d.ts +1 -0
- package/dist/components/TextInput/textInput.module.css.cjs.js +1 -0
- package/dist/components/TextInput/textInput.module.css.es.js +32 -0
- package/dist/healthspan-marketing-ui.css +1 -1
- package/dist/icons/social/star-half.svg.cjs.js +1 -1
- package/dist/icons/social/star-half.svg.es.js +2 -2
- package/dist/modules/ResearchEssentialReadings/ResearchEssentialReadings.cjs.js +1 -0
- package/dist/modules/ResearchEssentialReadings/ResearchEssentialReadings.d.ts +3 -0
- package/dist/modules/ResearchEssentialReadings/ResearchEssentialReadings.es.js +89 -0
- package/dist/modules/ResearchEssentialReadings/components/ReadingCard/ReadingCard.cjs.js +1 -0
- package/dist/modules/ResearchEssentialReadings/components/ReadingCard/ReadingCard.d.ts +3 -0
- package/dist/modules/ResearchEssentialReadings/components/ReadingCard/ReadingCard.es.js +26 -0
- package/dist/modules/ResearchEssentialReadings/components/ReadingCard/index.d.ts +2 -0
- package/dist/modules/ResearchEssentialReadings/components/ReadingCard/readingCard.module.css.cjs.js +1 -0
- package/dist/modules/ResearchEssentialReadings/components/ReadingCard/readingCard.module.css.es.js +17 -0
- package/dist/modules/ResearchEssentialReadings/components/ReadingCard/types.d.ts +10 -0
- package/dist/modules/ResearchEssentialReadings/components/index.d.ts +2 -0
- package/dist/modules/ResearchEssentialReadings/index.d.ts +1 -0
- package/dist/modules/ResearchEssentialReadings/researchEssentialReadings.module.css.cjs.js +1 -0
- package/dist/modules/ResearchEssentialReadings/researchEssentialReadings.module.css.es.js +27 -0
- package/dist/modules/ResearchEssentialReadings/types.d.ts +5 -0
- package/dist/modules/ResearchFeatured/ResearchFeatured.cjs.js +1 -0
- package/dist/modules/ResearchFeatured/ResearchFeatured.d.ts +3 -0
- package/dist/modules/ResearchFeatured/ResearchFeatured.es.js +16 -0
- package/dist/modules/ResearchFeatured/components/FeaturedArticle/FeaturedArticle.cjs.js +1 -0
- package/dist/modules/ResearchFeatured/components/FeaturedArticle/FeaturedArticle.d.ts +3 -0
- package/dist/modules/ResearchFeatured/components/FeaturedArticle/FeaturedArticle.es.js +37 -0
- package/dist/modules/ResearchFeatured/components/FeaturedArticle/featuredArticle.module.css.cjs.js +1 -0
- package/dist/modules/ResearchFeatured/components/FeaturedArticle/featuredArticle.module.css.es.js +19 -0
- package/dist/modules/ResearchFeatured/components/FeaturedArticle/index.d.ts +2 -0
- package/dist/modules/ResearchFeatured/components/FeaturedArticle/types.d.ts +7 -0
- package/dist/modules/ResearchFeatured/components/HighlightedArticle/HighlightedArticle.cjs.js +1 -0
- package/dist/modules/ResearchFeatured/components/HighlightedArticle/HighlightedArticle.d.ts +3 -0
- package/dist/modules/ResearchFeatured/components/HighlightedArticle/HighlightedArticle.es.js +15 -0
- package/dist/modules/ResearchFeatured/components/HighlightedArticle/highlightedArticle.module.css.cjs.js +1 -0
- package/dist/modules/ResearchFeatured/components/HighlightedArticle/highlightedArticle.module.css.es.js +15 -0
- package/dist/modules/ResearchFeatured/components/HighlightedArticle/index.d.ts +1 -0
- package/dist/modules/ResearchFeatured/components/HighlightedArticle/types.d.ts +9 -0
- package/dist/modules/ResearchFeatured/components/index.d.ts +4 -0
- package/dist/modules/ResearchFeatured/index.d.ts +1 -0
- package/dist/modules/ResearchFeatured/researchFeatured.module.css.cjs.js +1 -0
- package/dist/modules/ResearchFeatured/researchFeatured.module.css.es.js +15 -0
- package/dist/modules/ResearchFeatured/types.d.ts +6 -0
- package/dist/modules/ResearchStudies/ResearchStudies.cjs.js +1 -0
- package/dist/modules/ResearchStudies/ResearchStudies.d.ts +3 -0
- package/dist/modules/ResearchStudies/ResearchStudies.es.js +16 -0
- package/dist/modules/ResearchStudies/components/StudyCard/StudyCard.cjs.js +1 -0
- package/dist/modules/ResearchStudies/components/StudyCard/StudyCard.d.ts +3 -0
- package/dist/modules/ResearchStudies/components/StudyCard/StudyCard.es.js +30 -0
- package/dist/modules/ResearchStudies/components/StudyCard/index.d.ts +2 -0
- package/dist/modules/ResearchStudies/components/StudyCard/studyCard.module.css.cjs.js +1 -0
- package/dist/modules/ResearchStudies/components/StudyCard/studyCard.module.css.es.js +21 -0
- package/dist/modules/ResearchStudies/components/StudyCard/types.d.ts +10 -0
- package/dist/modules/ResearchStudies/components/index.d.ts +2 -0
- package/dist/modules/ResearchStudies/index.d.ts +1 -0
- package/dist/modules/ResearchStudies/researchStudies.module.css.cjs.js +1 -0
- package/dist/modules/ResearchStudies/researchStudies.module.css.es.js +13 -0
- package/dist/modules/ResearchStudies/types.d.ts +5 -0
- package/dist/node_modules/jsonp/index.cjs.js +1 -0
- package/dist/node_modules/jsonp/index.es.js +31 -0
- package/dist/node_modules/jsonp/node_modules/debug/src/browser.cjs.js +1 -0
- package/dist/node_modules/jsonp/node_modules/debug/src/browser.es.js +67 -0
- package/dist/node_modules/jsonp/node_modules/debug/src/debug.cjs.js +1 -0
- package/dist/node_modules/jsonp/node_modules/debug/src/debug.es.js +64 -0
- package/dist/node_modules/jsonp/node_modules/ms/index.cjs.js +1 -0
- package/dist/node_modules/jsonp/node_modules/ms/index.es.js +79 -0
- package/dist/node_modules/object-assign/index.cjs.js +5 -0
- package/dist/node_modules/object-assign/index.es.js +54 -0
- package/dist/node_modules/prop-types/checkPropTypes.cjs.js +1 -0
- package/dist/node_modules/prop-types/checkPropTypes.es.js +54 -0
- package/dist/node_modules/prop-types/factoryWithThrowingShims.cjs.js +1 -0
- package/dist/node_modules/prop-types/factoryWithThrowingShims.es.js +52 -0
- package/dist/node_modules/prop-types/factoryWithTypeCheckers.cjs.js +2 -0
- package/dist/node_modules/prop-types/factoryWithTypeCheckers.es.js +329 -0
- package/dist/node_modules/prop-types/index.cjs.js +1 -0
- package/dist/node_modules/prop-types/index.es.js +17 -0
- package/dist/node_modules/prop-types/lib/ReactPropTypesSecret.cjs.js +1 -0
- package/dist/node_modules/prop-types/lib/ReactPropTypesSecret.es.js +10 -0
- package/dist/node_modules/prop-types/lib/has.cjs.js +1 -0
- package/dist/node_modules/prop-types/lib/has.es.js +7 -0
- package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.cjs.js +8 -0
- package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.es.js +95 -0
- package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.cjs.js +8 -0
- package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.es.js +78 -0
- package/dist/node_modules/prop-types/node_modules/react-is/index.cjs.js +1 -0
- package/dist/node_modules/prop-types/node_modules/react-is/index.es.js +10 -0
- package/dist/node_modules/react-mailchimp-subscribe/es/SimpleForm.cjs.js +1 -0
- package/dist/node_modules/react-mailchimp-subscribe/es/SimpleForm.es.js +40 -0
- package/dist/node_modules/react-mailchimp-subscribe/es/index.cjs.js +1 -0
- package/dist/node_modules/react-mailchimp-subscribe/es/index.es.js +81 -0
- package/dist/node_modules/to-querystring/lib/to-querystring.min.cjs.js +1 -0
- package/dist/node_modules/to-querystring/lib/to-querystring.min.es.js +54 -0
- package/dist/pageComponents/ContactUs/ContactUs.cjs.js +1 -0
- package/dist/pageComponents/ContactUs/ContactUs.d.ts +1 -0
- package/dist/pageComponents/ContactUs/ContactUs.es.js +79 -0
- package/dist/pageComponents/ContactUs/contactUs.module.css.cjs.js +1 -0
- package/dist/pageComponents/ContactUs/contactUs.module.css.es.js +37 -0
- package/dist/pageComponents/ContactUs/index.d.ts +1 -0
- package/dist/pageComponents/Footer/Footer.cjs.js +1 -0
- package/dist/pageComponents/Footer/Footer.d.ts +17 -0
- package/dist/pageComponents/Footer/Footer.es.js +63 -0
- package/dist/pageComponents/Footer/assets/CompanyName.svg.cjs.js +1 -0
- package/dist/pageComponents/Footer/assets/CompanyName.svg.es.js +5 -0
- package/dist/pageComponents/Footer/assets/logo.png.cjs.js +1 -0
- package/dist/pageComponents/Footer/assets/logo.png.es.js +4 -0
- package/dist/pageComponents/Footer/components/AccordionFooter/AccordionFooter.cjs.js +1 -0
- package/dist/pageComponents/Footer/components/AccordionFooter/AccordionFooter.d.ts +13 -0
- package/dist/pageComponents/Footer/components/AccordionFooter/AccordionFooter.es.js +24 -0
- package/dist/pageComponents/Footer/components/AccordionFooter/accordionFooter.module.css.cjs.js +1 -0
- package/dist/pageComponents/Footer/components/AccordionFooter/accordionFooter.module.css.es.js +7 -0
- package/dist/pageComponents/Footer/components/AccordionFooter/index.d.ts +1 -0
- package/dist/pageComponents/Footer/components/AccordionFooterItem/AccordionFooterItem.cjs.js +1 -0
- package/dist/pageComponents/Footer/components/AccordionFooterItem/AccordionFooterItem.d.ts +14 -0
- package/dist/pageComponents/Footer/components/AccordionFooterItem/AccordionFooterItem.es.js +29 -0
- package/dist/pageComponents/Footer/components/AccordionFooterItem/accordionFooterItem.module.css.cjs.js +1 -0
- package/dist/pageComponents/Footer/components/AccordionFooterItem/accordionFooterItem.module.css.es.js +27 -0
- package/dist/pageComponents/Footer/components/AccordionFooterItem/index.d.ts +1 -0
- package/dist/pageComponents/Footer/components/FooterAbout/FooterAbout.cjs.js +1 -0
- package/dist/pageComponents/Footer/components/FooterAbout/FooterAbout.d.ts +1 -0
- package/dist/pageComponents/Footer/components/FooterAbout/FooterAbout.es.js +42 -0
- package/dist/pageComponents/Footer/components/FooterAbout/footerAbout.module.css.cjs.js +1 -0
- package/dist/pageComponents/Footer/components/FooterAbout/footerAbout.module.css.es.js +11 -0
- package/dist/pageComponents/Footer/components/FooterAbout/index.d.ts +1 -0
- package/dist/pageComponents/Footer/components/FooterLinksBlock/FooterLinksBlock.cjs.js +1 -0
- package/dist/pageComponents/Footer/components/FooterLinksBlock/FooterLinksBlock.d.ts +5 -0
- package/dist/pageComponents/Footer/components/FooterLinksBlock/FooterLinksBlock.es.js +47 -0
- package/dist/pageComponents/Footer/components/FooterLinksBlock/footerLinksBlock.module.css.cjs.js +1 -0
- package/dist/pageComponents/Footer/components/FooterLinksBlock/footerLinksBlock.module.css.es.js +11 -0
- package/dist/pageComponents/Footer/components/FooterLinksBlock/index.d.ts +1 -0
- package/dist/pageComponents/Footer/components/LinksColumn/LinksColumn.cjs.js +1 -0
- package/dist/pageComponents/Footer/components/LinksColumn/LinksColumn.d.ts +11 -0
- package/dist/pageComponents/Footer/components/LinksColumn/LinksColumn.es.js +15 -0
- package/dist/pageComponents/Footer/components/LinksColumn/index.d.ts +1 -0
- package/dist/pageComponents/Footer/components/LinksColumn/linksColumn.module.css.cjs.js +1 -0
- package/dist/pageComponents/Footer/components/LinksColumn/linksColumn.module.css.es.js +17 -0
- package/dist/pageComponents/Footer/components/NewsLetter/NewsLetter.cjs.js +1 -0
- package/dist/pageComponents/Footer/components/NewsLetter/NewsLetter.d.ts +1 -0
- package/dist/pageComponents/Footer/components/NewsLetter/NewsLetter.es.js +69 -0
- package/dist/pageComponents/Footer/components/NewsLetter/index.d.ts +1 -0
- package/dist/pageComponents/Footer/components/NewsLetter/newsLetter.module.css.cjs.js +1 -0
- package/dist/pageComponents/Footer/components/NewsLetter/newsLetter.module.css.es.js +17 -0
- package/dist/pageComponents/Footer/components/TopTreatmentsCard/TopTreatmentsCard.cjs.js +1 -0
- package/dist/pageComponents/Footer/components/TopTreatmentsCard/TopTreatmentsCard.d.ts +11 -0
- package/dist/pageComponents/Footer/components/TopTreatmentsCard/TopTreatmentsCard.es.js +47 -0
- package/dist/pageComponents/Footer/components/TopTreatmentsCard/index.d.ts +1 -0
- package/dist/pageComponents/Footer/components/TopTreatmentsCard/topTreatmentsCard.module.css.cjs.js +1 -0
- package/dist/pageComponents/Footer/components/TopTreatmentsCard/topTreatmentsCard.module.css.es.js +33 -0
- package/dist/pageComponents/Footer/components/index.d.ts +5 -0
- package/dist/pageComponents/Footer/footer.module.css.cjs.js +1 -0
- package/dist/pageComponents/Footer/footer.module.css.es.js +25 -0
- package/dist/pageComponents/Footer/index.d.ts +1 -0
- package/dist/utils/formatDate.cjs.js +1 -0
- package/dist/utils/formatDate.d.ts +1 -0
- package/dist/utils/formatDate.es.js +10 -0
- package/dist/utils/isValidEmail.cjs.js +1 -0
- package/dist/utils/isValidEmail.d.ts +1 -0
- package/dist/utils/isValidEmail.es.js +4 -0
- package/package.json +42 -5
- package/dist/components/Accordion/components/index.d.ts +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("react/jsx-runtime"),a=require("../../assets/logo.png.cjs.js"),r=require("../../../../components/Typography/Typography.cjs.js"),e=require("./footerAbout.module.css.cjs.js"),l=[{title:"(Terms of Use)",hasBrackets:!0},{title:"(privacy policy)",hasBrackets:!0},{title:"(telehealth consent policy)",hasBrackets:!0},{title:"©2025 Healthspan.",hasBrackets:!1},{title:"All rights reserved.",hasBrackets:!1}],o=()=>t.jsxs("div",{className:e.default.root,children:[t.jsx("img",{src:a.default,alt:"contentImg",className:e.default.contentImg}),t.jsx("div",{className:e.default.container,children:l.map((s,c)=>t.jsx(r.Typography,{as:"span",defaultVariant:"labelXs",emphasis:!0,className:s.hasBrackets?e.default.titleWithBrackets:e.default.title,children:s.title},s.title))})]});exports.FooterAbout=o;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const FooterAbout: () => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { jsxs as a, jsx as s } from "react/jsx-runtime";
|
|
2
|
+
import r from "../../assets/logo.png.es.js";
|
|
3
|
+
import { Typography as l } from "../../../../components/Typography/Typography.es.js";
|
|
4
|
+
import t from "./footerAbout.module.css.es.js";
|
|
5
|
+
const i = [
|
|
6
|
+
{
|
|
7
|
+
title: "(Terms of Use)",
|
|
8
|
+
hasBrackets: !0
|
|
9
|
+
},
|
|
10
|
+
{
|
|
11
|
+
title: "(privacy policy)",
|
|
12
|
+
hasBrackets: !0
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
title: "(telehealth consent policy)",
|
|
16
|
+
hasBrackets: !0
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
title: "©2025 Healthspan.",
|
|
20
|
+
hasBrackets: !1
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
title: "All rights reserved.",
|
|
24
|
+
hasBrackets: !1
|
|
25
|
+
}
|
|
26
|
+
], p = () => /* @__PURE__ */ a("div", { className: t.root, children: [
|
|
27
|
+
/* @__PURE__ */ s("img", { src: r, alt: "contentImg", className: t.contentImg }),
|
|
28
|
+
/* @__PURE__ */ s("div", { className: t.container, children: i.map((e, c) => /* @__PURE__ */ s(
|
|
29
|
+
l,
|
|
30
|
+
{
|
|
31
|
+
as: "span",
|
|
32
|
+
defaultVariant: "labelXs",
|
|
33
|
+
emphasis: !0,
|
|
34
|
+
className: e.hasBrackets ? t.titleWithBrackets : t.title,
|
|
35
|
+
children: e.title
|
|
36
|
+
},
|
|
37
|
+
e.title
|
|
38
|
+
)) })
|
|
39
|
+
] });
|
|
40
|
+
export {
|
|
41
|
+
p as FooterAbout
|
|
42
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const o="footerAbout-module__root___G9z5j",t="footerAbout-module__contentImg___UN0eD",e="footerAbout-module__container___N-gju",n={root:o,contentImg:t,container:e};exports.container=e;exports.contentImg=t;exports.default=n;exports.root=o;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
const o = "footerAbout-module__root___G9z5j", t = "footerAbout-module__contentImg___UN0eD", e = "footerAbout-module__container___N-gju", n = {
|
|
2
|
+
root: o,
|
|
3
|
+
contentImg: t,
|
|
4
|
+
container: e
|
|
5
|
+
};
|
|
6
|
+
export {
|
|
7
|
+
e as container,
|
|
8
|
+
t as contentImg,
|
|
9
|
+
n as default,
|
|
10
|
+
o as root
|
|
11
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { FooterAbout } from './FooterAbout';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),t=require("./footerLinksBlock.module.css.cjs.js"),s=require("../AccordionFooter/AccordionFooter.cjs.js"),r=require("../LinksColumn/LinksColumn.cjs.js"),o=[{title:"ABOUT",content:[{title:"Our Company",href:"/company"},{title:"Our Mission",href:"/mission"},{title:"How It Works",href:"/how"}]},{title:"SCIENCE",content:[{title:"Articles",href:"/articles"},{title:"Senescence",href:"/senescence"},{title:"Metabolism",href:"/metabolism"},{title:"Energy",href:"/energy"}]},{title:"SUPPORT",content:[{title:"Contact Us",href:"/contact"},{title:"FAQs",href:"/faqs"},{title:"Community",href:"/community"},{title:"Log In",href:"/login"}]}],l=({disableLinks:n=!1})=>e.jsxs("div",{className:t.default.root,children:[e.jsx("div",{className:t.default.desktop,children:o.map(i=>e.jsx(r.LinksColumn,{title:i.title,links:i.content,className:t.default.column,disableLinks:n},i.title))}),e.jsx("div",{className:t.default.mobile,children:e.jsx(s.AccordionFooter,{items:o})})]});exports.FooterLinksBlock=l;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { jsxs as r, jsx as t } from "react/jsx-runtime";
|
|
2
|
+
import e from "./footerLinksBlock.module.css.es.js";
|
|
3
|
+
import { AccordionFooter as s } from "../AccordionFooter/AccordionFooter.es.js";
|
|
4
|
+
import { LinksColumn as l } from "../LinksColumn/LinksColumn.es.js";
|
|
5
|
+
const o = [
|
|
6
|
+
{
|
|
7
|
+
title: "ABOUT",
|
|
8
|
+
content: [
|
|
9
|
+
{ title: "Our Company", href: "/company" },
|
|
10
|
+
{ title: "Our Mission", href: "/mission" },
|
|
11
|
+
{ title: "How It Works", href: "/how" }
|
|
12
|
+
]
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
title: "SCIENCE",
|
|
16
|
+
content: [
|
|
17
|
+
{ title: "Articles", href: "/articles" },
|
|
18
|
+
{ title: "Senescence", href: "/senescence" },
|
|
19
|
+
{ title: "Metabolism", href: "/metabolism" },
|
|
20
|
+
{ title: "Energy", href: "/energy" }
|
|
21
|
+
]
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
title: "SUPPORT",
|
|
25
|
+
content: [
|
|
26
|
+
{ title: "Contact Us", href: "/contact" },
|
|
27
|
+
{ title: "FAQs", href: "/faqs" },
|
|
28
|
+
{ title: "Community", href: "/community" },
|
|
29
|
+
{ title: "Log In", href: "/login" }
|
|
30
|
+
]
|
|
31
|
+
}
|
|
32
|
+
], h = ({ disableLinks: n = !1 }) => /* @__PURE__ */ r("div", { className: e.root, children: [
|
|
33
|
+
/* @__PURE__ */ t("div", { className: e.desktop, children: o.map((i) => /* @__PURE__ */ t(
|
|
34
|
+
l,
|
|
35
|
+
{
|
|
36
|
+
title: i.title,
|
|
37
|
+
links: i.content,
|
|
38
|
+
className: e.column,
|
|
39
|
+
disableLinks: n
|
|
40
|
+
},
|
|
41
|
+
i.title
|
|
42
|
+
)) }),
|
|
43
|
+
/* @__PURE__ */ t("div", { className: e.mobile, children: /* @__PURE__ */ t(s, { items: o }) })
|
|
44
|
+
] });
|
|
45
|
+
export {
|
|
46
|
+
h as FooterLinksBlock
|
|
47
|
+
};
|
package/dist/pageComponents/Footer/components/FooterLinksBlock/footerLinksBlock.module.css.cjs.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const o="footerLinksBlock-module__root___Zsh-z",e="footerLinksBlock-module__desktop___7KMzY",t="footerLinksBlock-module__mobile___UhO-L",s={root:o,desktop:e,mobile:t};exports.default=s;exports.desktop=e;exports.mobile=t;exports.root=o;
|
package/dist/pageComponents/Footer/components/FooterLinksBlock/footerLinksBlock.module.css.es.js
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
const o = "footerLinksBlock-module__root___Zsh-z", t = "footerLinksBlock-module__desktop___7KMzY", e = "footerLinksBlock-module__mobile___UhO-L", _ = {
|
|
2
|
+
root: o,
|
|
3
|
+
desktop: t,
|
|
4
|
+
mobile: e
|
|
5
|
+
};
|
|
6
|
+
export {
|
|
7
|
+
_ as default,
|
|
8
|
+
t as desktop,
|
|
9
|
+
e as mobile,
|
|
10
|
+
o as root
|
|
11
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { FooterLinksBlock } from './FooterLinksBlock';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),r=require("../../../../components/Typography/Typography.cjs.js"),l=require("./linksColumn.module.css.cjs.js"),u=({title:s,links:t,onLinkClick:c,disableLinks:i})=>{const n=a=>{i&&a.preventDefault()};return e.jsxs("div",{className:l.default.root,children:[e.jsx(r.Typography,{as:"span",defaultVariant:"labelSm",weight:"regular",className:l.default.title,emphasis:!0,children:s}),e.jsx("ul",{className:l.default.list,children:t.map(a=>e.jsx("li",{className:l.default.listItem,children:e.jsx("a",{href:a.href,className:l.default.link,onClick:n,children:e.jsx(r.Typography,{defaultVariant:"labelLg",className:l.default.linkText,weight:"regular",children:a.title})})},a.title))})]},s)};exports.LinksColumn=u;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export type TLinksColumnProps = {
|
|
2
|
+
title: string;
|
|
3
|
+
links: Array<{
|
|
4
|
+
title: string;
|
|
5
|
+
href: string;
|
|
6
|
+
}>;
|
|
7
|
+
onLinkClick?: (href: string) => void;
|
|
8
|
+
className?: string;
|
|
9
|
+
disableLinks?: boolean;
|
|
10
|
+
};
|
|
11
|
+
export declare const LinksColumn: ({ title, links, onLinkClick, disableLinks }: TLinksColumnProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { jsxs as c, jsx as a } from "react/jsx-runtime";
|
|
2
|
+
import { Typography as r } from "../../../../components/Typography/Typography.es.js";
|
|
3
|
+
import l from "./linksColumn.module.css.es.js";
|
|
4
|
+
const p = ({ title: i, links: s, onLinkClick: m, disableLinks: t }) => {
|
|
5
|
+
const n = (e) => {
|
|
6
|
+
t && e.preventDefault();
|
|
7
|
+
};
|
|
8
|
+
return /* @__PURE__ */ c("div", { className: l.root, children: [
|
|
9
|
+
/* @__PURE__ */ a(r, { as: "span", defaultVariant: "labelSm", weight: "regular", className: l.title, emphasis: !0, children: i }),
|
|
10
|
+
/* @__PURE__ */ a("ul", { className: l.list, children: s.map((e) => /* @__PURE__ */ a("li", { className: l.listItem, children: /* @__PURE__ */ a("a", { href: e.href, className: l.link, onClick: n, children: /* @__PURE__ */ a(r, { defaultVariant: "labelLg", className: l.linkText, weight: "regular", children: e.title }) }) }, e.title)) })
|
|
11
|
+
] }, i);
|
|
12
|
+
};
|
|
13
|
+
export {
|
|
14
|
+
p as LinksColumn
|
|
15
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { LinksColumn } from './LinksColumn';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t="linksColumn-module__root___VJtQA",l="linksColumn-module__title___YLCht",e="linksColumn-module__list___iNKm3",o="linksColumn-module__listItem___1gHcr",_="linksColumn-module__link___Y-u3e",i="linksColumn-module__linkText___3N1Zf",n={root:t,title:l,list:e,listItem:o,link:_,linkText:i};exports.default=n;exports.link=_;exports.linkText=i;exports.list=e;exports.listItem=o;exports.root=t;exports.title=l;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
const l = "linksColumn-module__root___VJtQA", t = "linksColumn-module__title___YLCht", _ = "linksColumn-module__list___iNKm3", o = "linksColumn-module__listItem___1gHcr", n = "linksColumn-module__link___Y-u3e", i = "linksColumn-module__linkText___3N1Zf", s = {
|
|
2
|
+
root: l,
|
|
3
|
+
title: t,
|
|
4
|
+
list: _,
|
|
5
|
+
listItem: o,
|
|
6
|
+
link: n,
|
|
7
|
+
linkText: i
|
|
8
|
+
};
|
|
9
|
+
export {
|
|
10
|
+
s as default,
|
|
11
|
+
n as link,
|
|
12
|
+
i as linkText,
|
|
13
|
+
_ as list,
|
|
14
|
+
o as listItem,
|
|
15
|
+
l as root,
|
|
16
|
+
t as title
|
|
17
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("react/jsx-runtime"),a=require("react"),h=require("../../../../components/Typography/Typography.cjs.js"),v=require("../../../../components/TextInput/TextInput.cjs.js"),S=require("../../../../utils/cn/cn.cjs.js"),T=require("../../../../node_modules/react-mailchimp-subscribe/es/index.cjs.js"),j=require("../../../../utils/isValidEmail.cjs.js"),i=require("./newsLetter.module.css.cjs.js"),q="//gethealthspan.us21.list-manage.com/subscribe/post?u=664ad54ec243b3582164cf116&id=2483a4d606&f_id=0050e6e6f0&tags=239347,239351",E=({status:e,message:l,subscribe:c})=>{const[n,o]=a.useState(""),[f,p]=a.useState(""),[u,s]=a.useState(!1),[g,r]=a.useState(""),[b,d]=a.useState(!1),y=m=>{o(m.target.value),u&&(s(!1),r("")),d(m.target.value.length>0)},x=()=>{if(!n){s(!0),r("Please enter your email address");return}if(!j.isValidEmail(n)){s(!0),r("Please enter a valid email address");return}s(!1),r(""),c({EMAIL:n})};return a.useEffect(()=>{e==="success"&&(p(n),o(""),s(!1),r(""),d(!1)),e==="error"&&typeof l=="string"&&(s(!0),r("Subscription failed. Please try again."))},[e,l]),t.jsxs("div",{className:S.cn(i.default.root,{[i.default.subscribed]:e==="success"}),children:[t.jsxs("div",{className:i.default.container,children:[t.jsx(h.Typography,{defaultVariant:"headingLg",mobileVariant:"headingSm",as:"h2",className:i.default.title,children:e==="success"?"Thanks for subscribing!":"Read the latest research reviews"}),t.jsx(h.Typography,{defaultVariant:"bodySm",mobileVariant:"bodyXs",as:"span",className:i.default.text,children:e==="success"?t.jsxs(t.Fragment,{children:["A confirmation email has been sent to ",t.jsx("b",{className:i.default.email,children:f}),". Please confirm your subscription."]}):"Request The Longevity Blueprint to receive our weekly newsletter containing synopses of the latest clinical research."})]}),e==="sending"&&t.jsx("div",{style:{marginTop:"1rem"},children:"Subscribing, please wait..."}),e!=="success"&&e!=="sending"&&t.jsx(v.TextInput,{placeholder:"Your email",variant:"primary-invert",value:n,handleChange:y,onButtonClick:x,showButton:!0,error:u,errorText:g,active:b})]})},w=()=>t.jsx(T.default,{url:q,render:({subscribe:e,status:l,message:c})=>t.jsx(E,{status:l,message:c,subscribe:e})});exports.NewsLetter=w;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const NewsLetter: () => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import { jsx as r, jsxs as c, Fragment as S } from "react/jsx-runtime";
|
|
2
|
+
import { useState as n, useEffect as x } from "react";
|
|
3
|
+
import { Typography as h } from "../../../../components/Typography/Typography.es.js";
|
|
4
|
+
import { TextInput as T } from "../../../../components/TextInput/TextInput.es.js";
|
|
5
|
+
import { cn as w } from "../../../../utils/cn/cn.es.js";
|
|
6
|
+
import N from "../../../../node_modules/react-mailchimp-subscribe/es/index.es.js";
|
|
7
|
+
import { isValidEmail as V } from "../../../../utils/isValidEmail.es.js";
|
|
8
|
+
import s from "./newsLetter.module.css.es.js";
|
|
9
|
+
const C = "//gethealthspan.us21.list-manage.com/subscribe/post?u=664ad54ec243b3582164cf116&id=2483a4d606&f_id=0050e6e6f0&tags=239347,239351", L = ({
|
|
10
|
+
status: e,
|
|
11
|
+
message: l,
|
|
12
|
+
subscribe: o
|
|
13
|
+
}) => {
|
|
14
|
+
const [t, m] = n(""), [p, b] = n(""), [d, i] = n(!1), [g, a] = n(""), [v, u] = n(!1), y = (f) => {
|
|
15
|
+
m(f.target.value), d && (i(!1), a("")), u(f.target.value.length > 0);
|
|
16
|
+
}, E = () => {
|
|
17
|
+
if (!t) {
|
|
18
|
+
i(!0), a("Please enter your email address");
|
|
19
|
+
return;
|
|
20
|
+
}
|
|
21
|
+
if (!V(t)) {
|
|
22
|
+
i(!0), a("Please enter a valid email address");
|
|
23
|
+
return;
|
|
24
|
+
}
|
|
25
|
+
i(!1), a(""), o({
|
|
26
|
+
EMAIL: t
|
|
27
|
+
});
|
|
28
|
+
};
|
|
29
|
+
return x(() => {
|
|
30
|
+
e === "success" && (b(t), m(""), i(!1), a(""), u(!1)), e === "error" && typeof l == "string" && (i(!0), a("Subscription failed. Please try again."));
|
|
31
|
+
}, [e, l]), /* @__PURE__ */ c("div", { className: w(s.root, { [s.subscribed]: e === "success" }), children: [
|
|
32
|
+
/* @__PURE__ */ c("div", { className: s.container, children: [
|
|
33
|
+
/* @__PURE__ */ r(h, { defaultVariant: "headingLg", mobileVariant: "headingSm", as: "h2", className: s.title, children: e === "success" ? "Thanks for subscribing!" : "Read the latest research reviews" }),
|
|
34
|
+
/* @__PURE__ */ r(h, { defaultVariant: "bodySm", mobileVariant: "bodyXs", as: "span", className: s.text, children: e === "success" ? /* @__PURE__ */ c(S, { children: [
|
|
35
|
+
"A confirmation email has been sent to ",
|
|
36
|
+
/* @__PURE__ */ r("b", { className: s.email, children: p }),
|
|
37
|
+
". Please confirm your subscription."
|
|
38
|
+
] }) : "Request The Longevity Blueprint to receive our weekly newsletter containing synopses of the latest clinical research." })
|
|
39
|
+
] }),
|
|
40
|
+
e === "sending" && /* @__PURE__ */ r("div", { style: { marginTop: "1rem" }, children: "Subscribing, please wait..." }),
|
|
41
|
+
e !== "success" && e !== "sending" && /* @__PURE__ */ r(
|
|
42
|
+
T,
|
|
43
|
+
{
|
|
44
|
+
placeholder: "Your email",
|
|
45
|
+
variant: "primary-invert",
|
|
46
|
+
value: t,
|
|
47
|
+
handleChange: y,
|
|
48
|
+
onButtonClick: E,
|
|
49
|
+
showButton: !0,
|
|
50
|
+
error: d,
|
|
51
|
+
errorText: g,
|
|
52
|
+
active: v
|
|
53
|
+
}
|
|
54
|
+
)
|
|
55
|
+
] });
|
|
56
|
+
}, R = () => /* @__PURE__ */ r(
|
|
57
|
+
N,
|
|
58
|
+
{
|
|
59
|
+
url: C,
|
|
60
|
+
render: ({
|
|
61
|
+
subscribe: e,
|
|
62
|
+
status: l,
|
|
63
|
+
message: o
|
|
64
|
+
}) => /* @__PURE__ */ r(L, { status: l, message: o, subscribe: e })
|
|
65
|
+
}
|
|
66
|
+
);
|
|
67
|
+
export {
|
|
68
|
+
R as NewsLetter
|
|
69
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { NewsLetter } from './NewsLetter';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="newsLetter-module__root___nwHwt",t="newsLetter-module__container___OOMwi",_="newsLetter-module__title___yx3-Q",o="newsLetter-module__text___vDPQi",s="newsLetter-module__email___17EYB",n="newsLetter-module__subscribed___01M7l",r={root:e,container:t,title:_,text:o,email:s,subscribed:n};exports.container=t;exports.default=r;exports.email=s;exports.root=e;exports.subscribed=n;exports.text=o;exports.title=_;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
const e = "newsLetter-module__root___nwHwt", t = "newsLetter-module__container___OOMwi", _ = "newsLetter-module__title___yx3-Q", o = "newsLetter-module__text___vDPQi", s = "newsLetter-module__email___17EYB", n = "newsLetter-module__subscribed___01M7l", r = {
|
|
2
|
+
root: e,
|
|
3
|
+
container: t,
|
|
4
|
+
title: _,
|
|
5
|
+
text: o,
|
|
6
|
+
email: s,
|
|
7
|
+
subscribed: n
|
|
8
|
+
};
|
|
9
|
+
export {
|
|
10
|
+
t as container,
|
|
11
|
+
r as default,
|
|
12
|
+
s as email,
|
|
13
|
+
e as root,
|
|
14
|
+
n as subscribed,
|
|
15
|
+
o as text,
|
|
16
|
+
_ as title
|
|
17
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),m=require("../../../../components/Button/Button.cjs.js"),n=require("../../../../components/Icon/constants.cjs.js"),s=require("../../../../components/Typography/Typography.cjs.js"),t=require("../../../../components/Icon/Icon.cjs.js"),a=require("./topTreatmentsCard.module.css.cjs.js"),h=({title:l,image:i,name:r,price:c,onPrev:d,onNext:o,onLearnMore:u})=>e.jsxs("div",{className:a.default.root,children:[e.jsx(s.Typography,{as:"span",defaultVariant:"labelSm",mobileVariant:"labelXs",weight:"regular",emphasis:!0,className:a.default.title,children:l}),e.jsxs("div",{className:a.default.productCard,children:[e.jsx("img",{src:i,alt:r,className:a.default.image}),e.jsxs("div",{className:a.default.rightSide,children:[e.jsx("div",{className:a.default.productInfo,children:e.jsx("div",{className:a.default.productInfoHeader,children:e.jsxs("div",{className:a.default.headerSplit,children:[e.jsx("div",{className:a.default.nameContainer,children:e.jsx(s.Typography,{defaultVariant:"headingXs",children:r})}),e.jsx(s.Typography,{defaultVariant:"bodyMd",mobileVariant:"bodySm",className:a.default.price,children:c})]})})}),e.jsxs("div",{className:a.default.actions,children:[e.jsx("div",{className:a.default.btnLearnMore,children:e.jsx(m.Button,{size:"sm",variant:"primary-invert",onClick:u,children:"Learn More"})}),e.jsxs("div",{className:a.default.switchers,children:[e.jsx("div",{className:a.default.arrowIcon,onClick:d,children:e.jsx(t.Icon,{name:n.EIconName.ARROW_BACK})}),e.jsx("div",{className:a.default.arrowIcon,onClick:o,children:e.jsx(t.Icon,{name:n.EIconName.ARROW_FORWARD})})]})]})]})]})]});exports.TopTreatmentsCard=h;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
type TTopTreatmentsCardProps = {
|
|
2
|
+
title: string;
|
|
3
|
+
image: string;
|
|
4
|
+
name: string;
|
|
5
|
+
price: string;
|
|
6
|
+
onPrev: () => void;
|
|
7
|
+
onNext: () => void;
|
|
8
|
+
onLearnMore: () => void;
|
|
9
|
+
};
|
|
10
|
+
export declare const TopTreatmentsCard: ({ title, image, name, price, onPrev, onNext, onLearnMore, }: TTopTreatmentsCardProps) => import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
export {};
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { jsxs as r, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { Button as p } from "../../../../components/Button/Button.es.js";
|
|
3
|
+
import { EIconName as l } from "../../../../components/Icon/constants.es.js";
|
|
4
|
+
import { Typography as i } from "../../../../components/Typography/Typography.es.js";
|
|
5
|
+
import { Icon as c } from "../../../../components/Icon/Icon.es.js";
|
|
6
|
+
import a from "./topTreatmentsCard.module.css.es.js";
|
|
7
|
+
const C = ({
|
|
8
|
+
title: n,
|
|
9
|
+
image: d,
|
|
10
|
+
name: s,
|
|
11
|
+
price: o,
|
|
12
|
+
onPrev: m,
|
|
13
|
+
onNext: t,
|
|
14
|
+
onLearnMore: h
|
|
15
|
+
}) => /* @__PURE__ */ r("div", { className: a.root, children: [
|
|
16
|
+
/* @__PURE__ */ e(
|
|
17
|
+
i,
|
|
18
|
+
{
|
|
19
|
+
as: "span",
|
|
20
|
+
defaultVariant: "labelSm",
|
|
21
|
+
mobileVariant: "labelXs",
|
|
22
|
+
weight: "regular",
|
|
23
|
+
emphasis: !0,
|
|
24
|
+
className: a.title,
|
|
25
|
+
children: n
|
|
26
|
+
}
|
|
27
|
+
),
|
|
28
|
+
/* @__PURE__ */ r("div", { className: a.productCard, children: [
|
|
29
|
+
/* @__PURE__ */ e("img", { src: d, alt: s, className: a.image }),
|
|
30
|
+
/* @__PURE__ */ r("div", { className: a.rightSide, children: [
|
|
31
|
+
/* @__PURE__ */ e("div", { className: a.productInfo, children: /* @__PURE__ */ e("div", { className: a.productInfoHeader, children: /* @__PURE__ */ r("div", { className: a.headerSplit, children: [
|
|
32
|
+
/* @__PURE__ */ e("div", { className: a.nameContainer, children: /* @__PURE__ */ e(i, { defaultVariant: "headingXs", children: s }) }),
|
|
33
|
+
/* @__PURE__ */ e(i, { defaultVariant: "bodyMd", mobileVariant: "bodySm", className: a.price, children: o })
|
|
34
|
+
] }) }) }),
|
|
35
|
+
/* @__PURE__ */ r("div", { className: a.actions, children: [
|
|
36
|
+
/* @__PURE__ */ e("div", { className: a.btnLearnMore, children: /* @__PURE__ */ e(p, { size: "sm", variant: "primary-invert", onClick: h, children: "Learn More" }) }),
|
|
37
|
+
/* @__PURE__ */ r("div", { className: a.switchers, children: [
|
|
38
|
+
/* @__PURE__ */ e("div", { className: a.arrowIcon, onClick: m, children: /* @__PURE__ */ e(c, { name: l.ARROW_BACK }) }),
|
|
39
|
+
/* @__PURE__ */ e("div", { className: a.arrowIcon, onClick: t, children: /* @__PURE__ */ e(c, { name: l.ARROW_FORWARD }) })
|
|
40
|
+
] })
|
|
41
|
+
] })
|
|
42
|
+
] })
|
|
43
|
+
] })
|
|
44
|
+
] });
|
|
45
|
+
export {
|
|
46
|
+
C as TopTreatmentsCard
|
|
47
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { TopTreatmentsCard } from './TopTreatmentsCard';
|
package/dist/pageComponents/Footer/components/TopTreatmentsCard/topTreatmentsCard.module.css.cjs.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t="topTreatmentsCard-module__root___XT7oM",e="topTreatmentsCard-module__title___HmMp1",o="topTreatmentsCard-module__productCard___GUeYS",r="topTreatmentsCard-module__image___CMBE0",_="topTreatmentsCard-module__rightSide___YV44-",n="topTreatmentsCard-module__productInfo___4KrYR",a="topTreatmentsCard-module__productInfoHeader___Ietzc",d="topTreatmentsCard-module__headerSplit___j7jGh",s="topTreatmentsCard-module__nameContainer___-scSS",c="topTreatmentsCard-module__price___6wpTo",i="topTreatmentsCard-module__actions___ZYREi",m="topTreatmentsCard-module__switchers___4rS0s",p="topTreatmentsCard-module__btnLearnMore___3nb1-",u="topTreatmentsCard-module__arrowIcon___Jnz-F",l={root:t,title:e,productCard:o,image:r,rightSide:_,productInfo:n,productInfoHeader:a,headerSplit:d,nameContainer:s,price:c,actions:i,switchers:m,btnLearnMore:p,arrowIcon:u};exports.actions=i;exports.arrowIcon=u;exports.btnLearnMore=p;exports.default=l;exports.headerSplit=d;exports.image=r;exports.nameContainer=s;exports.price=c;exports.productCard=o;exports.productInfo=n;exports.productInfoHeader=a;exports.rightSide=_;exports.root=t;exports.switchers=m;exports.title=e;
|
package/dist/pageComponents/Footer/components/TopTreatmentsCard/topTreatmentsCard.module.css.es.js
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
const t = "topTreatmentsCard-module__root___XT7oM", e = "topTreatmentsCard-module__title___HmMp1", o = "topTreatmentsCard-module__productCard___GUeYS", r = "topTreatmentsCard-module__image___CMBE0", _ = "topTreatmentsCard-module__rightSide___YV44-", n = "topTreatmentsCard-module__productInfo___4KrYR", a = "topTreatmentsCard-module__productInfoHeader___Ietzc", d = "topTreatmentsCard-module__headerSplit___j7jGh", s = "topTreatmentsCard-module__nameContainer___-scSS", c = "topTreatmentsCard-module__price___6wpTo", m = "topTreatmentsCard-module__actions___ZYREi", p = "topTreatmentsCard-module__switchers___4rS0s", i = "topTreatmentsCard-module__btnLearnMore___3nb1-", u = "topTreatmentsCard-module__arrowIcon___Jnz-F", l = {
|
|
2
|
+
root: t,
|
|
3
|
+
title: e,
|
|
4
|
+
productCard: o,
|
|
5
|
+
image: r,
|
|
6
|
+
rightSide: _,
|
|
7
|
+
productInfo: n,
|
|
8
|
+
productInfoHeader: a,
|
|
9
|
+
headerSplit: d,
|
|
10
|
+
nameContainer: s,
|
|
11
|
+
price: c,
|
|
12
|
+
actions: m,
|
|
13
|
+
switchers: p,
|
|
14
|
+
btnLearnMore: i,
|
|
15
|
+
arrowIcon: u
|
|
16
|
+
};
|
|
17
|
+
export {
|
|
18
|
+
m as actions,
|
|
19
|
+
u as arrowIcon,
|
|
20
|
+
i as btnLearnMore,
|
|
21
|
+
l as default,
|
|
22
|
+
d as headerSplit,
|
|
23
|
+
r as image,
|
|
24
|
+
s as nameContainer,
|
|
25
|
+
c as price,
|
|
26
|
+
o as productCard,
|
|
27
|
+
n as productInfo,
|
|
28
|
+
a as productInfoHeader,
|
|
29
|
+
_ as rightSide,
|
|
30
|
+
t as root,
|
|
31
|
+
p as switchers,
|
|
32
|
+
e as title
|
|
33
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const o="footer-module__root___H-8--",t="footer-module__container___6Dzcn",e="footer-module__content___ELMb8",_="footer-module__footerLeft___GGbx6",n="footer-module__footerRight___qIHVr",r="footer-module__columns___RJdci",s="footer-module__footerLinks___GZNN3",c="footer-module__about___q7wp9",f="footer-module__socials___BrswA",i="footer-module__img___T7yaJ",l={root:o,container:t,content:e,footerLeft:_,footerRight:n,columns:r,footerLinks:s,about:c,socials:f,img:i};exports.about=c;exports.columns=r;exports.container=t;exports.content=e;exports.default=l;exports.footerLeft=_;exports.footerLinks=s;exports.footerRight=n;exports.img=i;exports.root=o;exports.socials=f;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
const o = "footer-module__root___H-8--", t = "footer-module__container___6Dzcn", _ = "footer-module__content___ELMb8", e = "footer-module__footerLeft___GGbx6", n = "footer-module__footerRight___qIHVr", r = "footer-module__columns___RJdci", s = "footer-module__footerLinks___GZNN3", c = "footer-module__about___q7wp9", f = "footer-module__socials___BrswA", l = "footer-module__img___T7yaJ", u = {
|
|
2
|
+
root: o,
|
|
3
|
+
container: t,
|
|
4
|
+
content: _,
|
|
5
|
+
footerLeft: e,
|
|
6
|
+
footerRight: n,
|
|
7
|
+
columns: r,
|
|
8
|
+
footerLinks: s,
|
|
9
|
+
about: c,
|
|
10
|
+
socials: f,
|
|
11
|
+
img: l
|
|
12
|
+
};
|
|
13
|
+
export {
|
|
14
|
+
c as about,
|
|
15
|
+
r as columns,
|
|
16
|
+
t as container,
|
|
17
|
+
_ as content,
|
|
18
|
+
u as default,
|
|
19
|
+
e as footerLeft,
|
|
20
|
+
s as footerLinks,
|
|
21
|
+
n as footerRight,
|
|
22
|
+
l as img,
|
|
23
|
+
o as root,
|
|
24
|
+
f as socials
|
|
25
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Footer } from './Footer';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function e(t){return new Date(t).toLocaleDateString("en-US",{month:"2-digit",day:"2-digit",year:"numeric"}).replace(/\//g," / ")}exports.formatDate=e;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function formatDate(date: number): string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=t=>/^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$/.test(t);exports.isValidEmail=a;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const isValidEmail: (email: string) => boolean;
|
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.35",
|
|
4
4
|
"description": "Design system",
|
|
5
5
|
"main": "dist/index.cjs.js",
|
|
6
6
|
"module": "dist/index.es.js",
|
|
@@ -42,6 +42,7 @@
|
|
|
42
42
|
"@storybook/react-vite": "^8.6.12",
|
|
43
43
|
"@storybook/test": "^8.6.12",
|
|
44
44
|
"@types/react-dom": "^18.3.1",
|
|
45
|
+
"@types/react-mailchimp-subscribe": "^2.1.4",
|
|
45
46
|
"@vitejs/plugin-react": "^4.4.1",
|
|
46
47
|
"chromatic": "^11.28.2",
|
|
47
48
|
"eslint": "^9.28.0",
|
|
@@ -64,6 +65,7 @@
|
|
|
64
65
|
"@gsap/react": "^2.1.2",
|
|
65
66
|
"@types/node": "^22.15.14",
|
|
66
67
|
"gsap": "^3.13.0",
|
|
68
|
+
"react-mailchimp-subscribe": "^2.1.3",
|
|
67
69
|
"react-tiny-popover": "^8.1.6",
|
|
68
70
|
"swiper": "^11.2.8"
|
|
69
71
|
},
|
|
@@ -79,22 +81,22 @@
|
|
|
79
81
|
"require": "./dist/utils.cjs.js"
|
|
80
82
|
},
|
|
81
83
|
"./cn": {
|
|
82
|
-
"types": "./dist/utils/cn
|
|
84
|
+
"types": "./dist/utils/cn.d.ts",
|
|
83
85
|
"import": "./dist/utils/cn/cn.es.js",
|
|
84
86
|
"require": "./dist/utils/cn/cn.cjs.js"
|
|
85
87
|
},
|
|
86
88
|
"./formatUnits": {
|
|
87
|
-
"types": "./dist/utils/formatUnits
|
|
89
|
+
"types": "./dist/utils/formatUnits.d.ts",
|
|
88
90
|
"import": "./dist/utils/formatUnits/formatUnits.es.js",
|
|
89
91
|
"require": "./dist/utils/formatUnits/formatUnits.cjs.js"
|
|
90
92
|
},
|
|
91
93
|
"./isHsIcon": {
|
|
92
|
-
"types": "./dist/utils/isHsIcon
|
|
94
|
+
"types": "./dist/utils/isHsIcon.d.ts",
|
|
93
95
|
"import": "./dist/utils/isHsIcon/isHsIcon.es.js",
|
|
94
96
|
"require": "./dist/utils/isHsIcon/isHsIcon.cjs.js"
|
|
95
97
|
},
|
|
96
98
|
"./useSwiper": {
|
|
97
|
-
"types": "./dist/lib/useSwiper
|
|
99
|
+
"types": "./dist/lib/useSwiper.d.ts",
|
|
98
100
|
"import": "./dist/lib/useSwiper/useSwiper.es.js",
|
|
99
101
|
"require": "./dist/lib/useSwiper/useSwiper.cjs.js"
|
|
100
102
|
},
|
|
@@ -103,6 +105,11 @@
|
|
|
103
105
|
"import": "./dist/components/TextButton/TextButton.es.js",
|
|
104
106
|
"require": "./dist/components/TextButton/TextButton.cjs.js"
|
|
105
107
|
},
|
|
108
|
+
"./TextInput": {
|
|
109
|
+
"types": "./dist/components/TextInput/TextInput.d.ts",
|
|
110
|
+
"import": "./dist/components/TextInput/TextInput.es.js",
|
|
111
|
+
"require": "./dist/components/TextInput/TextInput.cjs.js"
|
|
112
|
+
},
|
|
106
113
|
"./Icon": {
|
|
107
114
|
"types": "./dist/components/Icon/Icon.d.ts",
|
|
108
115
|
"import": "./dist/components/Icon/Icon.es.js",
|
|
@@ -118,6 +125,11 @@
|
|
|
118
125
|
"import": "./dist/components/Button/Button.es.js",
|
|
119
126
|
"require": "./dist/components/Button/Button.cjs.js"
|
|
120
127
|
},
|
|
128
|
+
"./CircleHighlights": {
|
|
129
|
+
"types": "./dist/components/CircleHighlights/CircleHighlights.d.ts",
|
|
130
|
+
"import": "./dist/components/CircleHighlights/CircleHighlights.es.js",
|
|
131
|
+
"require": "./dist/components/CircleHighlights/CircleHighlights.cjs.js"
|
|
132
|
+
},
|
|
121
133
|
"./IconButton": {
|
|
122
134
|
"types": "./dist/components/IconButton/IconButton.d.ts",
|
|
123
135
|
"import": "./dist/components/IconButton/IconButton.es.js",
|
|
@@ -433,6 +445,21 @@
|
|
|
433
445
|
"import": "./dist/modules/IndividualProductCard/IndividualProductCard.es.js",
|
|
434
446
|
"require": "./dist/modules/IndividualProductCard/IndividualProductCard.cjs.js"
|
|
435
447
|
},
|
|
448
|
+
"./ResearchFeatured": {
|
|
449
|
+
"types": "./dist/modules/ResearchFeatured/ResearchFeatured.d.ts",
|
|
450
|
+
"import": "./dist/modules/ResearchFeatured/ResearchFeatured.es.js",
|
|
451
|
+
"require": "./dist/modules/ResearchFeatured/ResearchFeatured.cjs.js"
|
|
452
|
+
},
|
|
453
|
+
"./ResearchStudies": {
|
|
454
|
+
"types": "./dist/modules/ResearchStudies/ResearchStudies.d.ts",
|
|
455
|
+
"import": "./dist/modules/ResearchStudies/ResearchStudies.es.js",
|
|
456
|
+
"require": "./dist/modules/ResearchStudies/ResearchStudies.cjs.js"
|
|
457
|
+
},
|
|
458
|
+
"./ResearchEssentialReadings": {
|
|
459
|
+
"types": "./dist/modules/ResearchEssentialReadings/ResearchEssentialReadings.d.ts",
|
|
460
|
+
"import": "./dist/modules/ResearchEssentialReadings/ResearchEssentialReadings.es.js",
|
|
461
|
+
"require": "./dist/modules/ResearchEssentialReadings/ResearchEssentialReadings.cjs.js"
|
|
462
|
+
},
|
|
436
463
|
"./Bubbles": {
|
|
437
464
|
"types": "./dist/pageComponents/Bubbles/Bubbles.d.ts",
|
|
438
465
|
"import": "./dist/pageComponents/Bubbles/Bubbles.es.js",
|
|
@@ -478,6 +505,16 @@
|
|
|
478
505
|
"import": "./dist/pageComponents/TreatmentsHero/TreatmentsHero.es.js",
|
|
479
506
|
"require": "./dist/pageComponents/TreatmentsHero/TreatmentsHero.cjs.js"
|
|
480
507
|
},
|
|
508
|
+
"./ContactUs": {
|
|
509
|
+
"types": "./dist/pageComponents/ContactUs/ContactUs.d.ts",
|
|
510
|
+
"import": "./dist/pageComponents/ContactUs/ContactUs.es.js",
|
|
511
|
+
"require": "./dist/pageComponents/ContactUs/ContactUs.cjs.js"
|
|
512
|
+
},
|
|
513
|
+
"./Footer": {
|
|
514
|
+
"types": "./dist/pageComponents/Footer/Footer.d.ts",
|
|
515
|
+
"import": "./dist/pageComponents/Footer/Footer.es.js",
|
|
516
|
+
"require": "./dist/pageComponents/Footer/Footer.cjs.js"
|
|
517
|
+
},
|
|
481
518
|
"./dist/*.css": "./dist/*.css"
|
|
482
519
|
}
|
|
483
520
|
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './AccordionItem';
|