@zenpatient-org/healthspan-marketing-ui 0.1.34 → 0.1.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/_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/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/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/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 +37 -5
- package/dist/components/Accordion/components/index.d.ts +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function e(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}exports.getDefaultExportFromCjs=e;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var e={exports:{}};exports.__module=e;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var e={exports:{}};exports.__module=e;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./_commonjsHelpers.cjs.js"),r=require("../node_modules/prop-types/index.cjs.js");var o=r.__require();const t=e.getDefaultExportFromCjs(o);exports.default=t;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./_commonjsHelpers.cjs.js"),r=require("../node_modules/jsonp/index.cjs.js");var o=r.__require();const t=e.getDefaultExportFromCjs(o);exports.default=t;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var e={exports:{}};exports.__module=e;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var e={exports:{}};exports.__module=e;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var e={};exports.__exports=e;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var e={};exports.__exports=e;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./_commonjsHelpers.cjs.js"),r=require("../node_modules/to-querystring/lib/to-querystring.min.cjs.js");var t=r.__require();const o=e.getDefaultExportFromCjs(t);exports.default=o;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var e={exports:{}};exports.__module=e;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export { AccordionItem } from './AccordionItem';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),i=require("../Typography/Typography.cjs.js"),a=require("./circleHighlights.module.css.cjs.js"),t=({highlights:s})=>e.jsx("div",{className:a.default.root,children:e.jsx("div",{className:a.default.wrapper,children:s.map((l,r)=>e.jsxs("div",{className:a.default.highlight,children:[e.jsx("div",{className:a.default.image,style:{backgroundImage:`url(${l.image})`},"aria-label":l.title}),e.jsxs("div",{className:a.default.content,children:[e.jsx(i.Typography,{as:"h3",defaultVariant:"headingLg",className:a.default.title,children:l.title}),e.jsx(i.Typography,{as:"p",defaultVariant:"bodyMd",className:a.default.description,children:l.description})]})]},r))})});exports.CircleHighlights=t;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export type TCircleHighlight = {
|
|
2
|
+
image: string;
|
|
3
|
+
title: string;
|
|
4
|
+
description: string;
|
|
5
|
+
};
|
|
6
|
+
interface CircleHighlightsProps {
|
|
7
|
+
highlights: Array<TCircleHighlight>;
|
|
8
|
+
}
|
|
9
|
+
export declare const CircleHighlights: ({ highlights }: CircleHighlightsProps) => import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
export {};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { jsx as e, jsxs as r } from "react/jsx-runtime";
|
|
2
|
+
import { Typography as l } from "../Typography/Typography.es.js";
|
|
3
|
+
import a from "./circleHighlights.module.css.es.js";
|
|
4
|
+
const o = ({ highlights: s }) => /* @__PURE__ */ e("div", { className: a.root, children: /* @__PURE__ */ e("div", { className: a.wrapper, children: s.map((i, t) => /* @__PURE__ */ r("div", { className: a.highlight, children: [
|
|
5
|
+
/* @__PURE__ */ e(
|
|
6
|
+
"div",
|
|
7
|
+
{
|
|
8
|
+
className: a.image,
|
|
9
|
+
style: { backgroundImage: `url(${i.image})` },
|
|
10
|
+
"aria-label": i.title
|
|
11
|
+
}
|
|
12
|
+
),
|
|
13
|
+
/* @__PURE__ */ r("div", { className: a.content, children: [
|
|
14
|
+
/* @__PURE__ */ e(l, { as: "h3", defaultVariant: "headingLg", className: a.title, children: i.title }),
|
|
15
|
+
/* @__PURE__ */ e(l, { as: "p", defaultVariant: "bodyMd", className: a.description, children: i.description })
|
|
16
|
+
] })
|
|
17
|
+
] }, t)) }) });
|
|
18
|
+
export {
|
|
19
|
+
o as CircleHighlights
|
|
20
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t="circleHighlights-module__root___f3uIZ",i="circleHighlights-module__wrapper___GjEnG",e="circleHighlights-module__highlight___Z43RZ",l="circleHighlights-module__image___edhyl",o="circleHighlights-module__content___UqovH",_="circleHighlights-module__description___ihvCC",c="circleHighlights-module__title___KQ7F1",g={root:t,wrapper:i,highlight:e,image:l,content:o,description:_,title:c};exports.content=o;exports.default=g;exports.description=_;exports.highlight=e;exports.image=l;exports.root=t;exports.title=c;exports.wrapper=i;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
const i = "circleHighlights-module__root___f3uIZ", t = "circleHighlights-module__wrapper___GjEnG", _ = "circleHighlights-module__highlight___Z43RZ", e = "circleHighlights-module__image___edhyl", l = "circleHighlights-module__content___UqovH", o = "circleHighlights-module__description___ihvCC", c = "circleHighlights-module__title___KQ7F1", h = {
|
|
2
|
+
root: i,
|
|
3
|
+
wrapper: t,
|
|
4
|
+
highlight: _,
|
|
5
|
+
image: e,
|
|
6
|
+
content: l,
|
|
7
|
+
description: o,
|
|
8
|
+
title: c
|
|
9
|
+
};
|
|
10
|
+
export {
|
|
11
|
+
l as content,
|
|
12
|
+
h as default,
|
|
13
|
+
o as description,
|
|
14
|
+
_ as highlight,
|
|
15
|
+
e as image,
|
|
16
|
+
i as root,
|
|
17
|
+
c as title,
|
|
18
|
+
t as wrapper
|
|
19
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { CircleHighlights } from './CircleHighlights';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime");require("../Icon/Icon.cjs.js");const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),m=require("../../utils/formatDate.cjs.js");require("../Icon/Icon.cjs.js");const o=require("../Icon/constants.cjs.js"),h=require("../Label/Label.cjs.js"),i=require("../TextButton/TextButton.cjs.js"),t=require("../Typography/Typography.cjs.js"),a=require("./studyGridCard.module.css.cjs.js");function f({title:n,link:r,inverted:d,image:u,date:c,label:s,readTime:l}){return e.jsxs("div",{className:a.default.study,"data-inverted":d,children:[e.jsx("div",{className:a.default.imagePart,style:{backgroundImage:`url(${u})`},children:s&&e.jsx(h.Label,{...s})}),e.jsxs("div",{className:a.default.dataPart,children:[e.jsxs("div",{className:a.default.info,children:[e.jsx(t.Typography,{defaultVariant:"labelSm",mobileVariant:"labelXs",emphasis:!0,weight:"medium",color:"color-neutral-500",children:m.formatDate(c)}),!!l&&e.jsxs(e.Fragment,{children:[e.jsx(t.Typography,{defaultVariant:"labelSm",mobileVariant:"labelXs",emphasis:!0,weight:"medium",color:"color-neutral-500",children:"•"}),e.jsxs(t.Typography,{defaultVariant:"labelSm",mobileVariant:"labelXs",emphasis:!0,weight:"medium",color:"color-neutral-500",children:[l," MIN READ"]})]})]}),e.jsx(t.Typography,{className:a.default.title,defaultVariant:"headingSm",mobileVariant:"bodySm",as:"h6",children:n}),e.jsxs("div",{className:a.default.button,children:[e.jsx(i.TextButton,{hideOn:"desktop",className:a.default.mobileButton,size:"sm",as:"a",href:r,suffixIcon:o.EIconName.ARROW_FORWARD,children:"READ MORE"}),e.jsx(i.TextButton,{hideOn:"mobile",className:a.default.desktopButton,size:"lg",as:"a",href:r,suffixIcon:o.EIconName.ARROW_FORWARD,children:"READ MORE"})]})]})]})}exports.StudyGridCard=f;
|
|
@@ -1,36 +1,30 @@
|
|
|
1
|
-
import { jsxs as
|
|
1
|
+
import { jsxs as r, jsx as a, Fragment as u } from "react/jsx-runtime";
|
|
2
|
+
import { formatDate as f } from "../../utils/formatDate.es.js";
|
|
2
3
|
import "../Icon/Icon.es.js";
|
|
3
|
-
import { EIconName as
|
|
4
|
-
import { Label as
|
|
4
|
+
import { EIconName as m } from "../Icon/constants.es.js";
|
|
5
|
+
import { Label as p } from "../Label/Label.es.js";
|
|
5
6
|
import { TextButton as s } from "../TextButton/TextButton.es.js";
|
|
6
|
-
import { Typography as
|
|
7
|
+
import { Typography as i } from "../Typography/Typography.es.js";
|
|
7
8
|
import e from "./studyGridCard.module.css.es.js";
|
|
8
|
-
function
|
|
9
|
-
return
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
}).replace(/\//g, " / ");
|
|
14
|
-
}
|
|
15
|
-
function S({ title: i, link: l, inverted: o, image: c, date: u, label: n, readTime: m }) {
|
|
16
|
-
return /* @__PURE__ */ t("div", { className: e.study, "data-inverted": o, children: [
|
|
17
|
-
/* @__PURE__ */ a("div", { className: e.imagePart, style: { backgroundImage: `url(${c})` }, children: n && /* @__PURE__ */ a(f, { ...n }) }),
|
|
18
|
-
/* @__PURE__ */ t("div", { className: e.dataPart, children: [
|
|
19
|
-
/* @__PURE__ */ t("div", { className: e.info, children: [
|
|
9
|
+
function v({ title: n, link: t, inverted: d, image: c, date: h, label: l, readTime: o }) {
|
|
10
|
+
return /* @__PURE__ */ r("div", { className: e.study, "data-inverted": d, children: [
|
|
11
|
+
/* @__PURE__ */ a("div", { className: e.imagePart, style: { backgroundImage: `url(${c})` }, children: l && /* @__PURE__ */ a(p, { ...l }) }),
|
|
12
|
+
/* @__PURE__ */ r("div", { className: e.dataPart, children: [
|
|
13
|
+
/* @__PURE__ */ r("div", { className: e.info, children: [
|
|
20
14
|
/* @__PURE__ */ a(
|
|
21
|
-
|
|
15
|
+
i,
|
|
22
16
|
{
|
|
23
17
|
defaultVariant: "labelSm",
|
|
24
18
|
mobileVariant: "labelXs",
|
|
25
19
|
emphasis: !0,
|
|
26
20
|
weight: "medium",
|
|
27
21
|
color: "color-neutral-500",
|
|
28
|
-
children:
|
|
22
|
+
children: f(h)
|
|
29
23
|
}
|
|
30
24
|
),
|
|
31
|
-
!!
|
|
25
|
+
!!o && /* @__PURE__ */ r(u, { children: [
|
|
32
26
|
/* @__PURE__ */ a(
|
|
33
|
-
|
|
27
|
+
i,
|
|
34
28
|
{
|
|
35
29
|
defaultVariant: "labelSm",
|
|
36
30
|
mobileVariant: "labelXs",
|
|
@@ -40,8 +34,8 @@ function S({ title: i, link: l, inverted: o, image: c, date: u, label: n, readTi
|
|
|
40
34
|
children: "•"
|
|
41
35
|
}
|
|
42
36
|
),
|
|
43
|
-
/* @__PURE__ */
|
|
44
|
-
|
|
37
|
+
/* @__PURE__ */ r(
|
|
38
|
+
i,
|
|
45
39
|
{
|
|
46
40
|
defaultVariant: "labelSm",
|
|
47
41
|
mobileVariant: "labelXs",
|
|
@@ -49,15 +43,15 @@ function S({ title: i, link: l, inverted: o, image: c, date: u, label: n, readTi
|
|
|
49
43
|
weight: "medium",
|
|
50
44
|
color: "color-neutral-500",
|
|
51
45
|
children: [
|
|
52
|
-
|
|
46
|
+
o,
|
|
53
47
|
" MIN READ"
|
|
54
48
|
]
|
|
55
49
|
}
|
|
56
50
|
)
|
|
57
51
|
] })
|
|
58
52
|
] }),
|
|
59
|
-
/* @__PURE__ */ a(
|
|
60
|
-
/* @__PURE__ */
|
|
53
|
+
/* @__PURE__ */ a(i, { className: e.title, defaultVariant: "headingSm", mobileVariant: "bodySm", as: "h6", children: n }),
|
|
54
|
+
/* @__PURE__ */ r("div", { className: e.button, children: [
|
|
61
55
|
/* @__PURE__ */ a(
|
|
62
56
|
s,
|
|
63
57
|
{
|
|
@@ -65,8 +59,8 @@ function S({ title: i, link: l, inverted: o, image: c, date: u, label: n, readTi
|
|
|
65
59
|
className: e.mobileButton,
|
|
66
60
|
size: "sm",
|
|
67
61
|
as: "a",
|
|
68
|
-
href:
|
|
69
|
-
suffixIcon:
|
|
62
|
+
href: t,
|
|
63
|
+
suffixIcon: m.ARROW_FORWARD,
|
|
70
64
|
children: "READ MORE"
|
|
71
65
|
}
|
|
72
66
|
),
|
|
@@ -77,8 +71,8 @@ function S({ title: i, link: l, inverted: o, image: c, date: u, label: n, readTi
|
|
|
77
71
|
className: e.desktopButton,
|
|
78
72
|
size: "lg",
|
|
79
73
|
as: "a",
|
|
80
|
-
href:
|
|
81
|
-
suffixIcon:
|
|
74
|
+
href: t,
|
|
75
|
+
suffixIcon: m.ARROW_FORWARD,
|
|
82
76
|
children: "READ MORE"
|
|
83
77
|
}
|
|
84
78
|
)
|
|
@@ -87,5 +81,5 @@ function S({ title: i, link: l, inverted: o, image: c, date: u, label: n, readTi
|
|
|
87
81
|
] });
|
|
88
82
|
}
|
|
89
83
|
export {
|
|
90
|
-
|
|
84
|
+
v as StudyGridCard
|
|
91
85
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("react/jsx-runtime"),x=require("react"),e=require("./textInput.module.css.cjs.js"),l=require("../../utils/cn/cn.cjs.js"),g=require("../Button/Button.cjs.js"),E=require("../Icon/Icon.cjs.js"),B=require("../Icon/constants.cjs.js"),V=({placeholder:y,variant:u="primary",handleChange:o,handleKeyDown:r,disabled:i=!1,buttonText:j="SUBMIT",onButtonClick:s,error:c=!1,errorText:d,active:f=!1,value:m,label:p,type:v="button",showButton:N=!1})=>{const[h,I]=x.useState(!1),[q,b]=x.useState(""),_=typeof m=="string"&&typeof o=="function",a=_?m:q,R=n=>{_?o&&o(n):b(n.target.value)},S=()=>{s&&s(a||"")},T=n=>{n.key==="Enter"&&s&&s(a||""),r&&r(n)};return t.jsxs("div",{className:e.default.root,children:[p&&t.jsx("div",{className:l.cn(e.default.label,a&&e.default.hidden),children:p}),t.jsxs("div",{className:l.cn(e.default.container,e.default[u],{[e.default.focused]:h},{[e.default.disabled]:i},{[e.default.error]:c},{[e.default.active]:f}),children:[t.jsx("div",{className:e.default.input_container,children:t.jsx("input",{className:l.cn(e.default.input,e.default[`input_${u}`],{[e.default.error]:c},{[e.default.active]:f}),disabled:i,placeholder:y,onChange:R,onKeyDown:T,onFocus:()=>I(!0),onBlur:()=>I(!1),value:a,style:{outline:"none"}})}),N&&t.jsx("div",{className:e.default.button_container,children:t.jsx(g.Button,{variant:u==="primary"?"primary":"primary-invert",as:"button",size:"sm",type:v,onClick:S,children:j})})]}),c&&d&&t.jsxs("div",{className:e.default.errorText,children:[t.jsx(E.Icon,{name:B.EIconName.ALERT_ERROR,className:e.default.errorIcon}),d]})]})};exports.TextInput=V;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { ChangeEvent, KeyboardEvent } from 'react';
|
|
2
|
+
|
|
3
|
+
type TTextInputProps = {
|
|
4
|
+
placeholder?: string;
|
|
5
|
+
variant?: 'primary' | 'primary-invert';
|
|
6
|
+
handleChange?: (e: ChangeEvent<HTMLInputElement>) => void;
|
|
7
|
+
handleKeyDown?: (e: KeyboardEvent<HTMLElement>) => void;
|
|
8
|
+
disabled?: boolean;
|
|
9
|
+
buttonText?: string;
|
|
10
|
+
onButtonClick?: (value: string) => void;
|
|
11
|
+
error?: boolean;
|
|
12
|
+
errorText?: string;
|
|
13
|
+
active?: boolean;
|
|
14
|
+
value?: string;
|
|
15
|
+
label?: string;
|
|
16
|
+
type?: 'button' | 'submit' | 'reset';
|
|
17
|
+
showButton?: boolean;
|
|
18
|
+
};
|
|
19
|
+
export declare const TextInput: ({ placeholder, variant, handleChange, handleKeyDown, disabled, buttonText, onButtonClick, error, errorText, active, value, label, type, showButton, }: TTextInputProps) => import("react/jsx-runtime").JSX.Element;
|
|
20
|
+
export {};
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import { jsxs as c, jsx as n } from "react/jsx-runtime";
|
|
2
|
+
import { useState as v } from "react";
|
|
3
|
+
import e from "./textInput.module.css.es.js";
|
|
4
|
+
import { cn as l } from "../../utils/cn/cn.es.js";
|
|
5
|
+
import { Button as F } from "../Button/Button.es.js";
|
|
6
|
+
import { Icon as S } from "../Icon/Icon.es.js";
|
|
7
|
+
import { EIconName as w } from "../Icon/constants.es.js";
|
|
8
|
+
const O = ({
|
|
9
|
+
placeholder: I,
|
|
10
|
+
variant: r = "primary",
|
|
11
|
+
handleChange: i,
|
|
12
|
+
handleKeyDown: m,
|
|
13
|
+
disabled: u = !1,
|
|
14
|
+
buttonText: x = "SUBMIT",
|
|
15
|
+
onButtonClick: s,
|
|
16
|
+
error: a = !1,
|
|
17
|
+
errorText: f,
|
|
18
|
+
active: p = !1,
|
|
19
|
+
value: d,
|
|
20
|
+
label: y,
|
|
21
|
+
type: E = "button",
|
|
22
|
+
showButton: R = !1
|
|
23
|
+
}) => {
|
|
24
|
+
const [_, N] = v(!1), [b, T] = v(""), h = typeof d == "string" && typeof i == "function", o = h ? d : b, V = (t) => {
|
|
25
|
+
h ? i && i(t) : T(t.target.value);
|
|
26
|
+
}, g = () => {
|
|
27
|
+
s && s(o || "");
|
|
28
|
+
}, j = (t) => {
|
|
29
|
+
t.key === "Enter" && s && s(o || ""), m && m(t);
|
|
30
|
+
};
|
|
31
|
+
return /* @__PURE__ */ c("div", { className: e.root, children: [
|
|
32
|
+
y && /* @__PURE__ */ n("div", { className: l(e.label, o && e.hidden), children: y }),
|
|
33
|
+
/* @__PURE__ */ c(
|
|
34
|
+
"div",
|
|
35
|
+
{
|
|
36
|
+
className: l(
|
|
37
|
+
e.container,
|
|
38
|
+
e[r],
|
|
39
|
+
{ [e.focused]: _ },
|
|
40
|
+
{ [e.disabled]: u },
|
|
41
|
+
{ [e.error]: a },
|
|
42
|
+
{ [e.active]: p }
|
|
43
|
+
),
|
|
44
|
+
children: [
|
|
45
|
+
/* @__PURE__ */ n("div", { className: e.input_container, children: /* @__PURE__ */ n(
|
|
46
|
+
"input",
|
|
47
|
+
{
|
|
48
|
+
className: l(
|
|
49
|
+
e.input,
|
|
50
|
+
e[`input_${r}`],
|
|
51
|
+
{ [e.error]: a },
|
|
52
|
+
{ [e.active]: p }
|
|
53
|
+
),
|
|
54
|
+
disabled: u,
|
|
55
|
+
placeholder: I,
|
|
56
|
+
onChange: V,
|
|
57
|
+
onKeyDown: j,
|
|
58
|
+
onFocus: () => N(!0),
|
|
59
|
+
onBlur: () => N(!1),
|
|
60
|
+
value: o,
|
|
61
|
+
style: { outline: "none" }
|
|
62
|
+
}
|
|
63
|
+
) }),
|
|
64
|
+
R && /* @__PURE__ */ n("div", { className: e.button_container, children: /* @__PURE__ */ n(
|
|
65
|
+
F,
|
|
66
|
+
{
|
|
67
|
+
variant: r === "primary" ? "primary" : "primary-invert",
|
|
68
|
+
as: "button",
|
|
69
|
+
size: "sm",
|
|
70
|
+
type: E,
|
|
71
|
+
onClick: g,
|
|
72
|
+
children: x
|
|
73
|
+
}
|
|
74
|
+
) })
|
|
75
|
+
]
|
|
76
|
+
}
|
|
77
|
+
),
|
|
78
|
+
a && f && /* @__PURE__ */ c("div", { className: e.errorText, children: [
|
|
79
|
+
/* @__PURE__ */ n(S, { name: w.ALERT_ERROR, className: e.errorIcon }),
|
|
80
|
+
f
|
|
81
|
+
] })
|
|
82
|
+
] });
|
|
83
|
+
};
|
|
84
|
+
export {
|
|
85
|
+
O as TextInput
|
|
86
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { TextInput } from './TextInput';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t="textInput-module__root___9OIkh",e="textInput-module__container___VFWsU",_="textInput-module__primary___LR6zA",o="textInput-module__errorIcon___AEDWP",r="textInput-module__focused___VSXU0",n="textInput-module__active___7nRCI",u="textInput-module__error___MSPiu",i="textInput-module__disabled___Q659x",d="textInput-module__input_container___WJvjK",c="textInput-module__input___64sMa",l="textInput-module__errorText___BLzki",a="textInput-module__label___WVtXN",s="textInput-module__hidden___7s9pj",p={root:t,container:e,primary:_,"primary-invert":"textInput-module__primary-invert___6u0f5",errorIcon:o,focused:r,active:n,error:u,disabled:i,input_container:d,input:c,errorText:l,label:a,hidden:s};exports.active=n;exports.container=e;exports.default=p;exports.disabled=i;exports.error=u;exports.errorIcon=o;exports.errorText=l;exports.focused=r;exports.hidden=s;exports.input=c;exports.input_container=d;exports.label=a;exports.primary=_;exports.root=t;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
const t = "textInput-module__root___9OIkh", _ = "textInput-module__container___VFWsU", e = "textInput-module__primary___LR6zA", o = "textInput-module__errorIcon___AEDWP", n = "textInput-module__focused___VSXU0", r = "textInput-module__active___7nRCI", u = "textInput-module__error___MSPiu", d = "textInput-module__disabled___Q659x", i = "textInput-module__input_container___WJvjK", c = "textInput-module__input___64sMa", p = "textInput-module__errorText___BLzki", s = "textInput-module__label___WVtXN", l = "textInput-module__hidden___7s9pj", a = {
|
|
2
|
+
root: t,
|
|
3
|
+
container: _,
|
|
4
|
+
primary: e,
|
|
5
|
+
"primary-invert": "textInput-module__primary-invert___6u0f5",
|
|
6
|
+
errorIcon: o,
|
|
7
|
+
focused: n,
|
|
8
|
+
active: r,
|
|
9
|
+
error: u,
|
|
10
|
+
disabled: d,
|
|
11
|
+
input_container: i,
|
|
12
|
+
input: c,
|
|
13
|
+
errorText: p,
|
|
14
|
+
label: s,
|
|
15
|
+
hidden: l
|
|
16
|
+
};
|
|
17
|
+
export {
|
|
18
|
+
r as active,
|
|
19
|
+
_ as container,
|
|
20
|
+
a as default,
|
|
21
|
+
d as disabled,
|
|
22
|
+
u as error,
|
|
23
|
+
o as errorIcon,
|
|
24
|
+
p as errorText,
|
|
25
|
+
n as focused,
|
|
26
|
+
l as hidden,
|
|
27
|
+
c as input,
|
|
28
|
+
i as input_container,
|
|
29
|
+
s as label,
|
|
30
|
+
e as primary,
|
|
31
|
+
t as root
|
|
32
|
+
};
|