@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
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("react/jsx-runtime"),u=require("../Typography/Typography.cjs.js"),i=require("../../utils/cn/cn.cjs.js"),e=require("./anchorLinks.module.css.cjs.js"),d=({links:n,activeId:s,onClick:r})=>t.jsx("div",{className:e.default.root,children:n.map(({label:c,id:a,href:l,type:o})=>t.jsx("a",{className:i.cn(e.default.linkButton,{[e.default.active]:s===a}),href:l,"data-type":o,onClick:()=>r==null?void 0:r(a),children:t.jsx(u.Typography,{className:e.default.linkLabel,defaultVariant:"labelLg",emphasis:!0,children:c})},a))});exports.AnchorLinks=d;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { Typography as i } from "../Typography/Typography.es.js";
|
|
3
|
+
import { cn as n } from "../../utils/cn/cn.es.js";
|
|
4
|
+
import r from "./anchorLinks.module.css.es.js";
|
|
5
|
+
const u = ({ links: m, activeId: s, onClick: a }) => /* @__PURE__ */ e("div", { className: r.root, children: m.map(({ label: o, id: t, href: l, type: p }) => /* @__PURE__ */ e(
|
|
6
|
+
"a",
|
|
7
|
+
{
|
|
8
|
+
className: n(r.linkButton, {
|
|
9
|
+
[r.active]: s === t
|
|
10
|
+
}),
|
|
11
|
+
href: l,
|
|
12
|
+
"data-type": p,
|
|
13
|
+
onClick: () => a == null ? void 0 : a(t),
|
|
14
|
+
children: /* @__PURE__ */ e(i, { className: r.linkLabel, defaultVariant: "labelLg", emphasis: !0, children: o })
|
|
15
|
+
},
|
|
16
|
+
t
|
|
17
|
+
)) });
|
|
18
|
+
export {
|
|
19
|
+
u as AnchorLinks
|
|
20
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const o="anchorLinks-module__root___-P52c",t="anchorLinks-module__linkButton___hOb4L",n="anchorLinks-module__linkLabel___mmjma",e="anchorLinks-module__active___1bz4N",l={root:o,linkButton:t,linkLabel:n,active:e};exports.active=e;exports.default=l;exports.linkButton=t;exports.linkLabel=n;exports.root=o;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
const o = "anchorLinks-module__root___-P52c", n = "anchorLinks-module__linkButton___hOb4L", t = "anchorLinks-module__linkLabel___mmjma", _ = "anchorLinks-module__active___1bz4N", l = {
|
|
2
|
+
root: o,
|
|
3
|
+
linkButton: n,
|
|
4
|
+
linkLabel: t,
|
|
5
|
+
active: _
|
|
6
|
+
};
|
|
7
|
+
export {
|
|
8
|
+
_ as active,
|
|
9
|
+
l as default,
|
|
10
|
+
n as linkButton,
|
|
11
|
+
t as linkLabel,
|
|
12
|
+
o as root
|
|
13
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { AnchorLinks } from './AnchorLinks';
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export declare enum EAnchorLinksTypes {
|
|
2
|
+
ENERGY = "energy",
|
|
3
|
+
SENESCENCE = "senescence",
|
|
4
|
+
METABOLISM = "metabolism",
|
|
5
|
+
OTHER = "other"
|
|
6
|
+
}
|
|
7
|
+
export type TAnchorLink = {
|
|
8
|
+
label: string;
|
|
9
|
+
id: string;
|
|
10
|
+
href: string;
|
|
11
|
+
type: EAnchorLinksTypes;
|
|
12
|
+
};
|
|
13
|
+
export type TAnchorLinksProps = {
|
|
14
|
+
links: TAnchorLink[];
|
|
15
|
+
activeId: string | null;
|
|
16
|
+
onClick?: (id: string) => void;
|
|
17
|
+
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),c=require("../../../Typography/Typography.cjs.js"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),c=require("../../../Typography/Typography.cjs.js"),o=require("../../../Icon/Icon.cjs.js"),t=require("../../../Icon/constants.cjs.js"),s=require("../../../../utils/cn/cn.cjs.js"),n=require("./faqComponentItem.module.css.cjs.js"),u=({title:r,content:d,isOpen:a,index:i,onClick:l})=>e.jsxs("div",{className:n.default.root,children:[e.jsxs("div",{onClick:()=>l(i??0),className:s.cn(n.default.header,{[n.default.headerSticky]:a}),children:[e.jsx(c.Typography,{defaultVariant:"headingMd",mobileVariant:"headingXxs",children:r}),e.jsxs("div",{className:n.default.closeButtonWrapper,children:[e.jsx(o.Icon,{name:t.EIconName.BRACKET_LEFT}),e.jsx("div",{className:s.cn(n.default.closeButton,{[n.default.closeButtonActive]:a}),children:e.jsx(o.Icon,{name:t.EIconName.PLUS_BOLD})}),e.jsx(o.Icon,{name:t.EIconName.BRACKET_RIGHT})]})]}),e.jsx("div",{className:s.cn(n.default.description,{[n.default.descriptionShow]:a}),children:e.jsx("div",{className:n.default.descriptionInner,children:e.jsx(c.Typography,{as:"p",defaultVariant:"bodyMd",mobileVariant:"bodyXs",children:d})})}),e.jsx("div",{className:n.default.leftBorder}),e.jsx("div",{className:n.default.rightBorder})]});exports.FAQComponentItem=u;
|
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { Typography as
|
|
3
|
-
import { Icon as
|
|
1
|
+
import { jsxs as o, jsx as r } from "react/jsx-runtime";
|
|
2
|
+
import { Typography as n } from "../../../Typography/Typography.es.js";
|
|
3
|
+
import { Icon as a } from "../../../Icon/Icon.es.js";
|
|
4
4
|
import { EIconName as t } from "../../../Icon/constants.es.js";
|
|
5
5
|
import { cn as d } from "../../../../utils/cn/cn.es.js";
|
|
6
6
|
import e from "./faqComponentItem.module.css.es.js";
|
|
7
|
-
const u = ({ title:
|
|
8
|
-
/* @__PURE__ */
|
|
9
|
-
/* @__PURE__ */ r(
|
|
10
|
-
/* @__PURE__ */
|
|
11
|
-
/* @__PURE__ */ r(
|
|
7
|
+
const u = ({ title: c, content: s, isOpen: i, index: m, onClick: l }) => /* @__PURE__ */ o("div", { className: e.root, children: [
|
|
8
|
+
/* @__PURE__ */ o("div", { onClick: () => l(m ?? 0), className: d(e.header, { [e.headerSticky]: i }), children: [
|
|
9
|
+
/* @__PURE__ */ r(n, { defaultVariant: "headingMd", mobileVariant: "headingXxs", children: c }),
|
|
10
|
+
/* @__PURE__ */ o("div", { className: e.closeButtonWrapper, children: [
|
|
11
|
+
/* @__PURE__ */ r(a, { name: t.BRACKET_LEFT }),
|
|
12
12
|
/* @__PURE__ */ r(
|
|
13
13
|
"div",
|
|
14
14
|
{
|
|
15
15
|
className: d(e.closeButton, {
|
|
16
|
-
[e.closeButtonActive]:
|
|
16
|
+
[e.closeButtonActive]: i
|
|
17
17
|
}),
|
|
18
|
-
children: /* @__PURE__ */ r(
|
|
18
|
+
children: /* @__PURE__ */ r(a, { name: t.PLUS_BOLD })
|
|
19
19
|
}
|
|
20
20
|
),
|
|
21
|
-
/* @__PURE__ */ r(
|
|
21
|
+
/* @__PURE__ */ r(a, { name: t.BRACKET_RIGHT })
|
|
22
22
|
] })
|
|
23
23
|
] }),
|
|
24
|
-
/* @__PURE__ */ r("div", { className: d(e.description, { [e.descriptionShow]:
|
|
24
|
+
/* @__PURE__ */ r("div", { className: d(e.description, { [e.descriptionShow]: i }), children: /* @__PURE__ */ r("div", { className: e.descriptionInner, children: /* @__PURE__ */ r(n, { as: "p", defaultVariant: "bodyMd", mobileVariant: "bodyXs", children: s }) }) }),
|
|
25
25
|
/* @__PURE__ */ r("div", { className: e.leftBorder }),
|
|
26
26
|
/* @__PURE__ */ r("div", { className: e.rightBorder })
|
|
27
27
|
] });
|
package/dist/components/FAQComponent/components/FAQComponentItem/faqComponentItem.module.css.cjs.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="faqComponentItem-module__root___zTwix",o="faqComponentItem-module__header___LxS2t",t="faqComponentItem-module__closeButtonWrapper___FMjQq",n="faqComponentItem-module__closeButton___yWXnz",r="faqComponentItem-module__closeButtonActive___eqfRz",_="faqComponentItem-module__description___UQs0o",c="faqComponentItem-
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="faqComponentItem-module__root___zTwix",o="faqComponentItem-module__header___LxS2t",t="faqComponentItem-module__closeButtonWrapper___FMjQq",n="faqComponentItem-module__closeButton___yWXnz",r="faqComponentItem-module__closeButtonActive___eqfRz",_="faqComponentItem-module__description___UQs0o",c="faqComponentItem-module__descriptionInner___aC4CL",d="faqComponentItem-module__descriptionShow___DZNFQ",s="faqComponentItem-module__leftBorder___7tMoB",i="faqComponentItem-module__rightBorder___xiCjz",l="faqComponentItem-module__headerSticky___nPXFL",m={root:e,header:o,closeButtonWrapper:t,closeButton:n,closeButtonActive:r,description:_,descriptionInner:c,descriptionShow:d,leftBorder:s,rightBorder:i,headerSticky:l};exports.closeButton=n;exports.closeButtonActive=r;exports.closeButtonWrapper=t;exports.default=m;exports.description=_;exports.descriptionInner=c;exports.descriptionShow=d;exports.header=o;exports.headerSticky=l;exports.leftBorder=s;exports.rightBorder=i;exports.root=e;
|
package/dist/components/FAQComponent/components/FAQComponentItem/faqComponentItem.module.css.es.js
CHANGED
|
@@ -1,25 +1,27 @@
|
|
|
1
|
-
const o = "faqComponentItem-module__root___zTwix", e = "faqComponentItem-module__header___LxS2t", t = "faqComponentItem-module__closeButtonWrapper___FMjQq",
|
|
1
|
+
const o = "faqComponentItem-module__root___zTwix", e = "faqComponentItem-module__header___LxS2t", t = "faqComponentItem-module__closeButtonWrapper___FMjQq", n = "faqComponentItem-module__closeButton___yWXnz", _ = "faqComponentItem-module__closeButtonActive___eqfRz", r = "faqComponentItem-module__description___UQs0o", c = "faqComponentItem-module__descriptionInner___aC4CL", s = "faqComponentItem-module__descriptionShow___DZNFQ", d = "faqComponentItem-module__leftBorder___7tMoB", m = "faqComponentItem-module__rightBorder___xiCjz", i = "faqComponentItem-module__headerSticky___nPXFL", p = {
|
|
2
2
|
root: o,
|
|
3
3
|
header: e,
|
|
4
4
|
closeButtonWrapper: t,
|
|
5
|
-
closeButton:
|
|
6
|
-
closeButtonActive:
|
|
5
|
+
closeButton: n,
|
|
6
|
+
closeButtonActive: _,
|
|
7
7
|
description: r,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
8
|
+
descriptionInner: c,
|
|
9
|
+
descriptionShow: s,
|
|
10
|
+
leftBorder: d,
|
|
11
|
+
rightBorder: m,
|
|
12
|
+
headerSticky: i
|
|
12
13
|
};
|
|
13
14
|
export {
|
|
14
|
-
|
|
15
|
-
|
|
15
|
+
n as closeButton,
|
|
16
|
+
_ as closeButtonActive,
|
|
16
17
|
t as closeButtonWrapper,
|
|
17
|
-
|
|
18
|
+
p as default,
|
|
18
19
|
r as description,
|
|
19
|
-
c as
|
|
20
|
+
c as descriptionInner,
|
|
21
|
+
s as descriptionShow,
|
|
20
22
|
e as header,
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
23
|
+
i as headerSticky,
|
|
24
|
+
d as leftBorder,
|
|
25
|
+
m as rightBorder,
|
|
24
26
|
o as root
|
|
25
27
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("react/jsx-runtime"),b=require("react"),r=require("../../utils/cn/cn.cjs.js"),j=require("../Icon/Icon.cjs.js"),o=require("../Icon/constants.cjs.js"),c=require("../Typography/Typography.cjs.js"),e=require("./filterMenu.module.css.cjs.js");function N({label:d,open:u=!1,multiple:m,options:p,selectedValue:s,onSelect:f}){const[i,h]=b.useState(u),g=()=>h(a=>!a);return n.jsxs("div",{className:e.default.root,children:[n.jsxs("button",{className:e.default.toggleButton,onClick:g,children:[n.jsx(c.Typography,{defaultVariant:"labelLg",emphasis:!0,children:d}),n.jsx(j.Icon,{name:i?o.EIconName.REMOVE:o.EIconName.PLUS,className:e.default.toggleIcon})]}),n.jsx("div",{className:r.cn(e.default.menu,i&&e.default.isOpen),role:"menu",children:p.map((a,t)=>n.jsxs("ul",{className:e.default.subOptions,children:[a.label&&n.jsx("li",{className:r.cn(e.default.divider,t!==0&&e.default.dividerLine),children:n.jsx(c.Typography,{as:"div",defaultVariant:"bodyMd",weight:"medium",className:e.default.dividerLabel,children:a.label})},t),a.values.map(({value:l,label:y})=>n.jsx("li",{className:e.default.option,onClick:()=>f(l,a),children:n.jsx(c.Typography,{as:"div",defaultVariant:"bodyMd",className:r.cn(e.default.optionLabel,{[e.default.selected]:m?s==null?void 0:s.includes(l):l===s}),children:y})},l))]},`${a.label}_${t}`))})]})}exports.FilterMenu=N;
|
|
@@ -8,10 +8,16 @@ export type TOptionGroup<T extends string | number> = {
|
|
|
8
8
|
};
|
|
9
9
|
type FilterMenuProps<T extends string | number> = {
|
|
10
10
|
label: string;
|
|
11
|
-
selectedValue?: T;
|
|
12
11
|
open?: boolean;
|
|
12
|
+
multiple?: boolean;
|
|
13
13
|
options: ReadonlyArray<TOptionGroup<T>>;
|
|
14
14
|
onSelect: (value: T, optionGroup: TOptionGroup<T>) => void;
|
|
15
|
-
}
|
|
16
|
-
|
|
15
|
+
} & ({
|
|
16
|
+
multiple: true;
|
|
17
|
+
selectedValue: Array<T>;
|
|
18
|
+
} | {
|
|
19
|
+
multiple?: false;
|
|
20
|
+
selectedValue?: T;
|
|
21
|
+
});
|
|
22
|
+
export declare function FilterMenu<T extends string | number>({ label, open, multiple, options, selectedValue, onSelect, }: FilterMenuProps<T>): import("react/jsx-runtime").JSX.Element;
|
|
17
23
|
export {};
|
|
@@ -1,47 +1,50 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { jsxs as
|
|
3
|
-
import { useState as
|
|
4
|
-
import { cn as
|
|
5
|
-
import { Icon as
|
|
6
|
-
import { EIconName as
|
|
7
|
-
import { Typography as
|
|
8
|
-
import
|
|
9
|
-
function
|
|
10
|
-
label:
|
|
11
|
-
open:
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
2
|
+
import { jsxs as n, jsx as a } from "react/jsx-runtime";
|
|
3
|
+
import { useState as v } from "react";
|
|
4
|
+
import { cn as o } from "../../utils/cn/cn.es.js";
|
|
5
|
+
import { Icon as y } from "../Icon/Icon.es.js";
|
|
6
|
+
import { EIconName as c } from "../Icon/constants.es.js";
|
|
7
|
+
import { Typography as m } from "../Typography/Typography.es.js";
|
|
8
|
+
import i from "./filterMenu.module.css.es.js";
|
|
9
|
+
function w({
|
|
10
|
+
label: d,
|
|
11
|
+
open: p = !1,
|
|
12
|
+
multiple: h,
|
|
13
|
+
options: f,
|
|
14
|
+
selectedValue: r,
|
|
15
|
+
onSelect: b
|
|
15
16
|
}) {
|
|
16
|
-
const [t,
|
|
17
|
-
return /* @__PURE__ */
|
|
18
|
-
/* @__PURE__ */
|
|
19
|
-
/* @__PURE__ */ a(
|
|
20
|
-
/* @__PURE__ */ a(
|
|
17
|
+
const [t, u] = v(p), N = () => u((e) => !e);
|
|
18
|
+
return /* @__PURE__ */ n("div", { className: i.root, children: [
|
|
19
|
+
/* @__PURE__ */ n("button", { className: i.toggleButton, onClick: N, children: [
|
|
20
|
+
/* @__PURE__ */ a(m, { defaultVariant: "labelLg", emphasis: !0, children: d }),
|
|
21
|
+
/* @__PURE__ */ a(y, { name: t ? c.REMOVE : c.PLUS, className: i.toggleIcon })
|
|
21
22
|
] }),
|
|
22
|
-
/* @__PURE__ */ a("div", { className:
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
/* @__PURE__ */ a("div", { className: o(i.menu, t && i.isOpen), role: "menu", children: f.map((e, s) => /* @__PURE__ */ n("ul", { className: i.subOptions, children: [
|
|
24
|
+
e.label && /* @__PURE__ */ a("li", { className: o(i.divider, s !== 0 && i.dividerLine), children: /* @__PURE__ */ a(
|
|
25
|
+
m,
|
|
25
26
|
{
|
|
26
27
|
as: "div",
|
|
27
28
|
defaultVariant: "bodyMd",
|
|
28
29
|
weight: "medium",
|
|
29
|
-
className:
|
|
30
|
-
children:
|
|
30
|
+
className: i.dividerLabel,
|
|
31
|
+
children: e.label
|
|
31
32
|
}
|
|
32
33
|
) }, s),
|
|
33
|
-
|
|
34
|
-
|
|
34
|
+
e.values.map(({ value: l, label: g }) => /* @__PURE__ */ a("li", { className: i.option, onClick: () => b(l, e), children: /* @__PURE__ */ a(
|
|
35
|
+
m,
|
|
35
36
|
{
|
|
36
37
|
as: "div",
|
|
37
38
|
defaultVariant: "bodyMd",
|
|
38
|
-
className:
|
|
39
|
-
|
|
39
|
+
className: o(i.optionLabel, {
|
|
40
|
+
[i.selected]: h ? r == null ? void 0 : r.includes(l) : l === r
|
|
41
|
+
}),
|
|
42
|
+
children: g
|
|
40
43
|
}
|
|
41
|
-
) },
|
|
42
|
-
] }, `${
|
|
44
|
+
) }, l))
|
|
45
|
+
] }, `${e.label}_${s}`)) })
|
|
43
46
|
] });
|
|
44
47
|
}
|
|
45
48
|
export {
|
|
46
|
-
|
|
49
|
+
w as FilterMenu
|
|
47
50
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("react/jsx-runtime"),n=require("../../utils/cn/cn.cjs.js"),e=require("./galleryPagination.module.css.cjs.js"),s=({count:i,activeIndex:l,onSelect:a})=>t.jsx("div",{className:e.default.root,children:Array.from({length:i}).map((u,r)=>t.jsx("button",{type:"button",className:e.default.lineWrap,onClick:()=>a==null?void 0:a(r),children:t.jsx("div",{className:n.cn(e.default.line,r===l&&e.default.active)})},r))});exports.GalleryPagination=s;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
type GalleryPaginationProps = {
|
|
2
|
+
count: number;
|
|
3
|
+
activeIndex: number;
|
|
4
|
+
onSelect: (index: number) => void;
|
|
5
|
+
};
|
|
6
|
+
export declare const GalleryPagination: ({ count, activeIndex, onSelect }: GalleryPaginationProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export {};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { jsx as i } from "react/jsx-runtime";
|
|
2
|
+
import { cn as s } from "../../utils/cn/cn.es.js";
|
|
3
|
+
import r from "./galleryPagination.module.css.es.js";
|
|
4
|
+
const c = ({ count: m, activeIndex: o, onSelect: a }) => /* @__PURE__ */ i("div", { className: r.root, children: Array.from({ length: m }).map((n, t) => /* @__PURE__ */ i("button", { type: "button", className: r.lineWrap, onClick: () => a == null ? void 0 : a(t), children: /* @__PURE__ */ i("div", { className: s(r.line, t === o && r.active) }) }, t)) });
|
|
5
|
+
export {
|
|
6
|
+
c as GalleryPagination
|
|
7
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="galleryPagination-module__root___TB7ll",l="galleryPagination-module__lineWrap___I1uVq",o="galleryPagination-module__line___xXGVQ",t="galleryPagination-module__active___SdkVs",a={root:e,lineWrap:l,line:o,active:t};exports.active=t;exports.default=a;exports.line=o;exports.lineWrap=l;exports.root=e;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
const l = "galleryPagination-module__root___TB7ll", a = "galleryPagination-module__lineWrap___I1uVq", e = "galleryPagination-module__line___xXGVQ", o = "galleryPagination-module__active___SdkVs", _ = {
|
|
2
|
+
root: l,
|
|
3
|
+
lineWrap: a,
|
|
4
|
+
line: e,
|
|
5
|
+
active: o
|
|
6
|
+
};
|
|
7
|
+
export {
|
|
8
|
+
o as active,
|
|
9
|
+
_ as default,
|
|
10
|
+
e as line,
|
|
11
|
+
a as lineWrap,
|
|
12
|
+
l as root
|
|
13
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { GalleryPagination } from './GalleryPagination';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),m=require("../../node_modules/swiper/modules/navigation.cjs.js"),n=require("../../node_modules/swiper/swiper-react.cjs.js"),S=require("../../utils/useSwiper/useSwiper.cjs.js"),g=require("../../utils/cn/cn.cjs.js"),h=require("../Label/Label.cjs.js"),q=require("../GalleryPagination/GalleryPagination.cjs.js");;/* empty css */;/* empty css */;/* empty css */const r=require("./imageGallery.module.css.cjs.js"),w=[m.default],_=({images:i,label:l,className:s})=>{const{activeIndex:t,handleSlideTo:c,handleSlideChange:o,onSwiperInit:u,handleSwiperResize:d}=S.useSwiper();return e.jsxs("div",{className:g.cn(r.default.root,s),children:[l&&e.jsx("div",{className:r.default.labelWrap,children:e.jsx(h.Label,{color:"black",size:"sm",children:l})}),e.jsx(n.Swiper,{onSwiper:u,onResize:d,onSlideChange:o,modules:w,spaceBetween:0,slidesPerView:1,className:r.default.swiper,children:i.map((p,a)=>e.jsx(n.SwiperSlide,{children:e.jsx("div",{className:r.default.imageWrapper,children:e.jsx("img",{src:p,alt:"product image",className:r.default.image},a)})},a))}),i.length>1&&e.jsx(q.GalleryPagination,{count:i.length,activeIndex:t,onSelect:c})]})};exports.ImageGallery=_;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsxs as d, jsx as e } from "react/jsx-runtime";
|
|
3
|
+
import h from "../../node_modules/swiper/modules/navigation.es.js";
|
|
4
|
+
import { Swiper as S, SwiperSlide as g } from "../../node_modules/swiper/swiper-react.es.js";
|
|
5
|
+
import { useSwiper as w } from "../../utils/useSwiper/useSwiper.es.js";
|
|
6
|
+
import { cn as f } from "../../utils/cn/cn.es.js";
|
|
7
|
+
import { Label as u } from "../Label/Label.es.js";
|
|
8
|
+
import { GalleryPagination as N } from "../GalleryPagination/GalleryPagination.es.js";
|
|
9
|
+
/* empty css */
|
|
10
|
+
/* empty css */
|
|
11
|
+
/* empty css */
|
|
12
|
+
import r from "./imageGallery.module.css.es.js";
|
|
13
|
+
const v = [h], G = ({ images: i, label: o, className: a }) => {
|
|
14
|
+
const { activeIndex: m, handleSlideTo: n, handleSlideChange: t, onSwiperInit: s, handleSwiperResize: p } = w();
|
|
15
|
+
return /* @__PURE__ */ d("div", { className: f(r.root, a), children: [
|
|
16
|
+
o && /* @__PURE__ */ e("div", { className: r.labelWrap, children: /* @__PURE__ */ e(u, { color: "black", size: "sm", children: o }) }),
|
|
17
|
+
/* @__PURE__ */ e(
|
|
18
|
+
S,
|
|
19
|
+
{
|
|
20
|
+
onSwiper: s,
|
|
21
|
+
onResize: p,
|
|
22
|
+
onSlideChange: t,
|
|
23
|
+
modules: v,
|
|
24
|
+
spaceBetween: 0,
|
|
25
|
+
slidesPerView: 1,
|
|
26
|
+
className: r.swiper,
|
|
27
|
+
children: i.map((c, l) => /* @__PURE__ */ e(g, { children: /* @__PURE__ */ e("div", { className: r.imageWrapper, children: /* @__PURE__ */ e("img", { src: c, alt: "product image", className: r.image }, l) }) }, l))
|
|
28
|
+
}
|
|
29
|
+
),
|
|
30
|
+
i.length > 1 && /* @__PURE__ */ e(N, { count: i.length, activeIndex: m, onSelect: n })
|
|
31
|
+
] });
|
|
32
|
+
};
|
|
33
|
+
export {
|
|
34
|
+
G as ImageGallery
|
|
35
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="imageGallery-module__root___dciBs",a="imageGallery-module__labelWrap___YQtw7",l="imageGallery-module__swiper___vTwth",r="imageGallery-module__imageWrapper___k-JYq",_="imageGallery-module__image___AXOC6",o={root:e,labelWrap:a,swiper:l,imageWrapper:r,image:_};exports.default=o;exports.image=_;exports.imageWrapper=r;exports.labelWrap=a;exports.root=e;exports.swiper=l;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
const e = "imageGallery-module__root___dciBs", a = "imageGallery-module__labelWrap___YQtw7", _ = "imageGallery-module__swiper___vTwth", l = "imageGallery-module__imageWrapper___k-JYq", r = "imageGallery-module__image___AXOC6", o = {
|
|
2
|
+
root: e,
|
|
3
|
+
labelWrap: a,
|
|
4
|
+
swiper: _,
|
|
5
|
+
imageWrapper: l,
|
|
6
|
+
image: r
|
|
7
|
+
};
|
|
8
|
+
export {
|
|
9
|
+
o as default,
|
|
10
|
+
r as image,
|
|
11
|
+
l as imageWrapper,
|
|
12
|
+
a as labelWrap,
|
|
13
|
+
e as root,
|
|
14
|
+
_ as swiper
|
|
15
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { ImageGallery } from './ImageGallery';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("react/jsx-runtime"),m=require("react"),d=require("../../utils/cn/cn.cjs.js"),i=require("../Icon/Icon.cjs.js"),f=require("../Icon/constants.cjs.js"),_=require("../Typography/Typography.cjs.js"),e=require("./pagination.module.css.cjs.js"),h=(r,t,n)=>{if(t<=n)return Array.from({length:t},(c,u)=>u+1);const s=Math.floor(n/2);let o=Math.max(1,r-s),l=o+n-1;return l>t&&(l=t,o=l-n+1),Array.from({length:n},(c,u)=>o+u)},N=({page:r,pagesCount:t,visiblePagesLimit:n,disabled:s,onPageChange:o})=>{const l=m.useMemo(()=>h(r,t,n),[r,t,n]);return a.jsxs("div",{className:e.default.root,children:[r>1&&a.jsx("button",{className:d.cn(e.default.arrow,e.default.arrowPrev),onClick:()=>o(r-1),disabled:s,"aria-label":"Previous page",children:a.jsx(i.Icon,{name:f.EIconName.ARROW_BACK,className:e.default.icon})}),l.map(c=>a.jsx("button",{className:d.cn(e.default.page,c===r&&e.default.activePage),onClick:()=>o(c),children:a.jsx(_.Typography,{defaultVariant:"labelXl",weight:"regular",children:c.toString().padStart(2,"0")})},c)),r<t&&a.jsx("button",{className:d.cn(e.default.arrow,e.default.arrowNext),onClick:()=>o(r+1),disabled:s,"aria-label":"Next page",children:a.jsx(i.Icon,{name:f.EIconName.ARROW_FORWARD,className:e.default.icon})})]})};exports.Pagination=N;
|
|
@@ -5,15 +5,15 @@ import { cn as s } from "../../utils/cn/cn.es.js";
|
|
|
5
5
|
import { Icon as N } from "../Icon/Icon.es.js";
|
|
6
6
|
import { EIconName as h } from "../Icon/constants.es.js";
|
|
7
7
|
import { Typography as x } from "../Typography/Typography.es.js";
|
|
8
|
-
import o from "./
|
|
8
|
+
import o from "./pagination.module.css.es.js";
|
|
9
9
|
const A = (r, t, a) => {
|
|
10
10
|
if (t <= a)
|
|
11
11
|
return Array.from({ length: t }, (l, f) => f + 1);
|
|
12
|
-
const
|
|
13
|
-
let c = Math.max(1, r -
|
|
14
|
-
return
|
|
15
|
-
}, M = ({ page: r, pagesCount: t, visiblePagesLimit: a, disabled:
|
|
16
|
-
const
|
|
12
|
+
const n = Math.floor(a / 2);
|
|
13
|
+
let c = Math.max(1, r - n), m = c + a - 1;
|
|
14
|
+
return m > t && (m = t, c = m - a + 1), Array.from({ length: a }, (l, f) => c + f);
|
|
15
|
+
}, M = ({ page: r, pagesCount: t, visiblePagesLimit: a, disabled: n, onPageChange: c }) => {
|
|
16
|
+
const m = d(
|
|
17
17
|
() => A(r, t, a),
|
|
18
18
|
[r, t, a]
|
|
19
19
|
);
|
|
@@ -23,17 +23,16 @@ const A = (r, t, a) => {
|
|
|
23
23
|
{
|
|
24
24
|
className: s(o.arrow, o.arrowPrev),
|
|
25
25
|
onClick: () => c(r - 1),
|
|
26
|
-
disabled:
|
|
26
|
+
disabled: n,
|
|
27
27
|
"aria-label": "Previous page",
|
|
28
28
|
children: /* @__PURE__ */ e(N, { name: h.ARROW_BACK, className: o.icon })
|
|
29
29
|
}
|
|
30
30
|
),
|
|
31
|
-
|
|
31
|
+
m.map((l) => /* @__PURE__ */ e(
|
|
32
32
|
"button",
|
|
33
33
|
{
|
|
34
34
|
className: s(o.page, l === r && o.activePage),
|
|
35
35
|
onClick: () => c(l),
|
|
36
|
-
disabled: l === r || m,
|
|
37
36
|
children: /* @__PURE__ */ e(x, { defaultVariant: "labelXl", weight: "regular", children: l.toString().padStart(2, "0") })
|
|
38
37
|
},
|
|
39
38
|
l
|
|
@@ -43,7 +42,7 @@ const A = (r, t, a) => {
|
|
|
43
42
|
{
|
|
44
43
|
className: s(o.arrow, o.arrowNext),
|
|
45
44
|
onClick: () => c(r + 1),
|
|
46
|
-
disabled:
|
|
45
|
+
disabled: n,
|
|
47
46
|
"aria-label": "Next page",
|
|
48
47
|
children: /* @__PURE__ */ e(N, { name: h.ARROW_FORWARD, className: o.icon })
|
|
49
48
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const o="pagination-module__root___fzvDV",a="pagination-module__page___rz1y4",e="pagination-module__activePage___hjPRG",r="pagination-module__arrow___zwrJW",_="pagination-module__arrowPrev___-IjY3",t="pagination-module__arrowNext___wvIaz",n="pagination-module__icon___4HqmM",i={root:o,page:a,activePage:e,arrow:r,arrowPrev:_,arrowNext:t,icon:n};exports.activePage=e;exports.arrow=r;exports.arrowNext=t;exports.arrowPrev=_;exports.default=i;exports.icon=n;exports.page=a;exports.root=o;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
const o = "pagination-module__root___fzvDV", a = "pagination-module__page___rz1y4", _ = "pagination-module__activePage___hjPRG", r = "pagination-module__arrow___zwrJW", t = "pagination-module__arrowPrev___-IjY3", e = "pagination-module__arrowNext___wvIaz", n = "pagination-module__icon___4HqmM", i = {
|
|
2
|
+
root: o,
|
|
3
|
+
page: a,
|
|
4
|
+
activePage: _,
|
|
5
|
+
arrow: r,
|
|
6
|
+
arrowPrev: t,
|
|
7
|
+
arrowNext: e,
|
|
8
|
+
icon: n
|
|
9
|
+
};
|
|
10
|
+
export {
|
|
11
|
+
_ as activePage,
|
|
12
|
+
r as arrow,
|
|
13
|
+
e as arrowNext,
|
|
14
|
+
t as arrowPrev,
|
|
15
|
+
i as default,
|
|
16
|
+
n as icon,
|
|
17
|
+
a as page,
|
|
18
|
+
o as root
|
|
19
|
+
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),o=require("../../../TypeBadge/TypeBadge.cjs.js"),n=require("../../../Typography/Typography.cjs.js"),a=require("./benefitItem.module.css.cjs.js"),i=({badge:t,label:r})=>e.jsxs("div",{className:a.default.root,children:[e.jsx(o.TypeBadge,{type:t}),e.jsx(n.Typography,{defaultVariant:"labelLg",mobileVariant:"labelMd",children:r})]});exports.BenefitItem=i;
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { TypeBadge as
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
/* @__PURE__ */
|
|
1
|
+
import { jsxs as o, jsx as r } from "react/jsx-runtime";
|
|
2
|
+
import { TypeBadge as a } from "../../../TypeBadge/TypeBadge.es.js";
|
|
3
|
+
import { Typography as i } from "../../../Typography/Typography.es.js";
|
|
4
|
+
import m from "./benefitItem.module.css.es.js";
|
|
5
|
+
const d = ({ badge: e, label: t }) => /* @__PURE__ */ o("div", { className: m.root, children: [
|
|
6
|
+
/* @__PURE__ */ r(a, { type: e }),
|
|
7
|
+
/* @__PURE__ */ r(i, { defaultVariant: "labelLg", mobileVariant: "labelMd", children: t })
|
|
7
8
|
] });
|
|
8
9
|
export {
|
|
9
|
-
|
|
10
|
+
d as BenefitItem
|
|
10
11
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("react/jsx-runtime"),i=require("../../utils/cn/cn.cjs.js"),o=require("../Typography/Typography.cjs.js"),e=require("./radioButton.module.css.cjs.js"),c=({label:s,checked:a=!1,disabled:l=!1,inverted:u=!1,onChange:r})=>t.jsxs("label",{className:i.cn(e.default.root,a&&e.default.checked,l&&e.default.disabled,u&&e.default.inverted),children:[t.jsx("input",{type:"radio",checked:a,disabled:l,onChange:()=>!l&&(r==null?void 0:r(!a)),className:e.default.input}),t.jsx("div",{className:e.default.circle,children:t.jsx("div",{className:e.default.innerCircle})}),s&&t.jsx(o.Typography,{defaultVariant:"labelMd",className:e.default.label,children:s})]});exports.RadioButton=c;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
type RadioButtonProps = {
|
|
2
|
+
label?: string;
|
|
3
|
+
checked?: boolean;
|
|
4
|
+
disabled?: boolean;
|
|
5
|
+
inverted?: boolean;
|
|
6
|
+
onChange?: (checked: boolean) => void;
|
|
7
|
+
};
|
|
8
|
+
export declare const RadioButton: ({ label, checked, disabled, inverted, onChange, }: RadioButtonProps) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export {};
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { jsxs as m, jsx as l } from "react/jsx-runtime";
|
|
2
|
+
import { cn as o } from "../../utils/cn/cn.es.js";
|
|
3
|
+
import { Typography as c } from "../Typography/Typography.es.js";
|
|
4
|
+
import r from "./radioButton.module.css.es.js";
|
|
5
|
+
const u = ({
|
|
6
|
+
label: i,
|
|
7
|
+
checked: s = !1,
|
|
8
|
+
disabled: a = !1,
|
|
9
|
+
inverted: t = !1,
|
|
10
|
+
onChange: e
|
|
11
|
+
}) => /* @__PURE__ */ m(
|
|
12
|
+
"label",
|
|
13
|
+
{
|
|
14
|
+
className: o(
|
|
15
|
+
r.root,
|
|
16
|
+
s && r.checked,
|
|
17
|
+
a && r.disabled,
|
|
18
|
+
t && r.inverted
|
|
19
|
+
),
|
|
20
|
+
children: [
|
|
21
|
+
/* @__PURE__ */ l(
|
|
22
|
+
"input",
|
|
23
|
+
{
|
|
24
|
+
type: "radio",
|
|
25
|
+
checked: s,
|
|
26
|
+
disabled: a,
|
|
27
|
+
onChange: () => !a && (e == null ? void 0 : e(!s)),
|
|
28
|
+
className: r.input
|
|
29
|
+
}
|
|
30
|
+
),
|
|
31
|
+
/* @__PURE__ */ l("div", { className: r.circle, children: /* @__PURE__ */ l("div", { className: r.innerCircle }) }),
|
|
32
|
+
i && /* @__PURE__ */ l(c, { defaultVariant: "labelMd", className: r.label, children: i })
|
|
33
|
+
]
|
|
34
|
+
}
|
|
35
|
+
);
|
|
36
|
+
export {
|
|
37
|
+
u as RadioButton
|
|
38
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { RadioButton } from './RadioButton';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="radioButton-module__root___lLpBY",o="radioButton-module__input___W4UK2",t="radioButton-module__circle___2g0kI",_="radioButton-module__innerCircle___9SKqg",n="radioButton-module__checked___nGLnJ",d="radioButton-module__inverted___qqk-j",i="radioButton-module__disabled___hTHnp",l="radioButton-module__label___wVR78",r={root:e,input:o,circle:t,innerCircle:_,checked:n,inverted:d,disabled:i,label:l};exports.checked=n;exports.circle=t;exports.default=r;exports.disabled=i;exports.innerCircle=_;exports.input=o;exports.inverted=d;exports.label=l;exports.root=e;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
const o = "radioButton-module__root___lLpBY", _ = "radioButton-module__input___W4UK2", e = "radioButton-module__circle___2g0kI", t = "radioButton-module__innerCircle___9SKqg", n = "radioButton-module__checked___nGLnJ", d = "radioButton-module__inverted___qqk-j", i = "radioButton-module__disabled___hTHnp", l = "radioButton-module__label___wVR78", c = {
|
|
2
|
+
root: o,
|
|
3
|
+
input: _,
|
|
4
|
+
circle: e,
|
|
5
|
+
innerCircle: t,
|
|
6
|
+
checked: n,
|
|
7
|
+
inverted: d,
|
|
8
|
+
disabled: i,
|
|
9
|
+
label: l
|
|
10
|
+
};
|
|
11
|
+
export {
|
|
12
|
+
n as checked,
|
|
13
|
+
e as circle,
|
|
14
|
+
c as default,
|
|
15
|
+
i as disabled,
|
|
16
|
+
t as innerCircle,
|
|
17
|
+
_ as input,
|
|
18
|
+
d as inverted,
|
|
19
|
+
l as label,
|
|
20
|
+
o as root
|
|
21
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),t=require("../Typography/Typography.cjs.js"),o=require("./smartCallout.module.css.cjs.js"),a=({label:r})=>e.jsx("div",{className:o.default.root,children:e.jsx(t.Typography,{defaultVariant:"labelMd",children:r})});exports.SmartCallout=a;
|