@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.
Files changed (163) hide show
  1. package/dist/components/AnchorLinks/AnchorLinks.cjs.js +1 -0
  2. package/dist/components/AnchorLinks/AnchorLinks.d.ts +3 -0
  3. package/dist/components/AnchorLinks/AnchorLinks.es.js +20 -0
  4. package/dist/components/AnchorLinks/anchorLinks.module.css.cjs.js +1 -0
  5. package/dist/components/AnchorLinks/anchorLinks.module.css.es.js +13 -0
  6. package/dist/components/AnchorLinks/index.d.ts +1 -0
  7. package/dist/components/AnchorLinks/types.d.ts +17 -0
  8. package/dist/components/FAQComponent/components/FAQComponentItem/FAQComponentItem.cjs.js +1 -1
  9. package/dist/components/FAQComponent/components/FAQComponentItem/FAQComponentItem.es.js +12 -12
  10. package/dist/components/FAQComponent/components/FAQComponentItem/faqComponentItem.module.css.cjs.js +1 -1
  11. package/dist/components/FAQComponent/components/FAQComponentItem/faqComponentItem.module.css.es.js +16 -14
  12. package/dist/components/FilterMenu/FilterMenu.cjs.js +1 -1
  13. package/dist/components/FilterMenu/FilterMenu.d.ts +9 -3
  14. package/dist/components/FilterMenu/FilterMenu.es.js +33 -30
  15. package/dist/components/GalleryPagination/GalleryPagination.cjs.js +1 -0
  16. package/dist/components/GalleryPagination/GalleryPagination.d.ts +7 -0
  17. package/dist/components/GalleryPagination/GalleryPagination.es.js +7 -0
  18. package/dist/components/GalleryPagination/galleryPagination.module.css.cjs.js +1 -0
  19. package/dist/components/GalleryPagination/galleryPagination.module.css.es.js +13 -0
  20. package/dist/components/GalleryPagination/index.d.ts +1 -0
  21. package/dist/components/ImageGallery/ImageGallery.cjs.js +1 -0
  22. package/dist/components/ImageGallery/ImageGallery.d.ts +8 -0
  23. package/dist/components/ImageGallery/ImageGallery.es.js +35 -0
  24. package/dist/components/ImageGallery/imageGallery.module.css.cjs.js +1 -0
  25. package/dist/components/ImageGallery/imageGallery.module.css.es.js +15 -0
  26. package/dist/components/ImageGallery/index.d.ts +1 -0
  27. package/dist/components/Pagination/Pagination.cjs.js +1 -1
  28. package/dist/components/Pagination/Pagination.es.js +9 -10
  29. package/dist/components/Pagination/pagination.module.css.cjs.js +1 -0
  30. package/dist/components/Pagination/pagination.module.css.es.js +19 -0
  31. package/dist/components/Pricing/components/BenefitItem/BenefitItem.cjs.js +1 -1
  32. package/dist/components/Pricing/components/BenefitItem/BenefitItem.es.js +8 -7
  33. package/dist/components/RadioButton/RadioButton.cjs.js +1 -0
  34. package/dist/components/RadioButton/RadioButton.d.ts +9 -0
  35. package/dist/components/RadioButton/RadioButton.es.js +38 -0
  36. package/dist/components/RadioButton/index.d.ts +1 -0
  37. package/dist/components/RadioButton/radioButton.module.css.cjs.js +1 -0
  38. package/dist/components/RadioButton/radioButton.module.css.es.js +21 -0
  39. package/dist/components/SmartCallout/SmartCallout.cjs.js +1 -0
  40. package/dist/components/SmartCallout/SmartCallout.d.ts +5 -0
  41. package/dist/components/SmartCallout/SmartCallout.es.js +7 -0
  42. package/dist/components/SmartCallout/index.d.ts +1 -0
  43. package/dist/components/SmartCallout/smartCallout.module.css.cjs.js +1 -0
  44. package/dist/components/SmartCallout/smartCallout.module.css.es.js +7 -0
  45. package/dist/components/TextButton/TextButton.d.ts +2 -2
  46. package/dist/components/TextButton/index.d.ts +1 -0
  47. package/dist/healthspan-marketing-ui.css +1 -1
  48. package/dist/index.cjs.js +1 -1
  49. package/dist/index.es.js +3 -2
  50. package/dist/modules/AllInOne/AllInOne.cjs.js +1 -0
  51. package/dist/modules/AllInOne/AllInOne.d.ts +11 -0
  52. package/dist/modules/AllInOne/AllInOne.es.js +222 -0
  53. package/dist/modules/AllInOne/allInOne.module.css.cjs.js +1 -0
  54. package/dist/modules/AllInOne/allInOne.module.css.es.js +23 -0
  55. package/dist/modules/AllInOne/index.d.ts +1 -0
  56. package/dist/modules/CallToAction/CallToAction.cjs.js +1 -0
  57. package/dist/modules/CallToAction/CallToAction.d.ts +15 -0
  58. package/dist/modules/CallToAction/CallToAction.es.js +165 -0
  59. package/dist/modules/CallToAction/callToAction.module.css.cjs.js +1 -0
  60. package/dist/modules/CallToAction/callToAction.module.css.es.js +43 -0
  61. package/dist/modules/CallToAction/index.d.ts +1 -0
  62. package/dist/modules/HighestStandards/components/TabsMenu/TabsMenu.cjs.js +1 -1
  63. package/dist/modules/HighestStandards/components/TabsMenu/TabsMenu.es.js +12 -12
  64. package/dist/modules/HighestStandards/components/TabsMenu/components/TabsMenutem/TabsMenuItem.cjs.js +1 -1
  65. package/dist/modules/HighestStandards/components/TabsMenu/components/TabsMenutem/TabsMenuItem.es.js +17 -17
  66. package/dist/modules/HighestStandards/components/TabsMenu/components/TabsMenutem/tabsMenuItem.module.css.cjs.js +1 -1
  67. package/dist/modules/HighestStandards/components/TabsMenu/components/TabsMenutem/tabsMenuItem.module.css.es.js +8 -6
  68. package/dist/modules/IndividualProductCard/IndividualProductCard.cjs.js +1 -0
  69. package/dist/modules/IndividualProductCard/IndividualProductCard.d.ts +26 -0
  70. package/dist/modules/IndividualProductCard/IndividualProductCard.es.js +80 -0
  71. package/dist/modules/IndividualProductCard/components/Features/Features.cjs.js +1 -0
  72. package/dist/modules/IndividualProductCard/components/Features/Features.d.ts +7 -0
  73. package/dist/modules/IndividualProductCard/components/Features/Features.es.js +35 -0
  74. package/dist/modules/IndividualProductCard/components/Features/features.module.css.cjs.js +1 -0
  75. package/dist/modules/IndividualProductCard/components/Features/features.module.css.es.js +17 -0
  76. package/dist/modules/IndividualProductCard/components/Features/index.d.ts +1 -0
  77. package/dist/modules/IndividualProductCard/components/PlanCard/PlanCard.cjs.js +1 -0
  78. package/dist/modules/IndividualProductCard/components/PlanCard/PlanCard.d.ts +9 -0
  79. package/dist/modules/IndividualProductCard/components/PlanCard/PlanCard.es.js +48 -0
  80. package/dist/modules/IndividualProductCard/components/PlanCard/index.d.ts +1 -0
  81. package/dist/modules/IndividualProductCard/components/PlanCard/planCard.module.css.cjs.js +1 -0
  82. package/dist/modules/IndividualProductCard/components/PlanCard/planCard.module.css.es.js +35 -0
  83. package/dist/modules/IndividualProductCard/index.d.ts +1 -0
  84. package/dist/modules/IndividualProductCard/individualProductCard.module.css.cjs.js +1 -0
  85. package/dist/modules/IndividualProductCard/individualProductCard.module.css.es.js +27 -0
  86. package/dist/modules/IndividualProductCard/types.d.ts +17 -0
  87. package/dist/modules/IngredientHighlight/components/Ingredient/Ingredient.cjs.js +1 -1
  88. package/dist/modules/IngredientHighlight/components/Ingredient/Ingredient.es.js +2 -2
  89. package/dist/modules/IngredientHighlight/components/Ingredient/ingredient.module.css.cjs.js +1 -1
  90. package/dist/modules/IngredientHighlight/components/Ingredient/ingredient.module.css.es.js +6 -4
  91. package/dist/pageComponents/Bubbles/Bubbles.cjs.js +1 -1
  92. package/dist/pageComponents/Bubbles/Bubbles.es.js +30 -18
  93. package/dist/pageComponents/Bubbles/bubbles.module.css.cjs.js +1 -1
  94. package/dist/pageComponents/Bubbles/bubbles.module.css.es.js +4 -2
  95. package/dist/pageComponents/LabsHero/LabsHero.cjs.js +1 -0
  96. package/dist/pageComponents/LabsHero/LabsHero.d.ts +1 -0
  97. package/dist/pageComponents/LabsHero/LabsHero.es.js +73 -0
  98. package/dist/pageComponents/LabsHero/assets/icon1.png.cjs.js +1 -0
  99. package/dist/pageComponents/LabsHero/assets/icon1.png.es.js +4 -0
  100. package/dist/pageComponents/LabsHero/assets/icon2.png.cjs.js +1 -0
  101. package/dist/pageComponents/LabsHero/assets/icon2.png.es.js +4 -0
  102. package/dist/pageComponents/LabsHero/assets/icon3.png.cjs.js +1 -0
  103. package/dist/pageComponents/LabsHero/assets/icon3.png.es.js +4 -0
  104. package/dist/pageComponents/LabsHero/assets/img1.png.cjs.js +1 -0
  105. package/dist/pageComponents/LabsHero/assets/img1.png.es.js +4 -0
  106. package/dist/pageComponents/LabsHero/assets/img2.png.cjs.js +1 -0
  107. package/dist/pageComponents/LabsHero/assets/img2.png.es.js +4 -0
  108. package/dist/pageComponents/LabsHero/assets/img3.png.cjs.js +1 -0
  109. package/dist/pageComponents/LabsHero/assets/img3.png.es.js +4 -0
  110. package/dist/pageComponents/LabsHero/assets/svg1.svg.cjs.js +1 -0
  111. package/dist/pageComponents/LabsHero/assets/svg1.svg.es.js +7 -0
  112. package/dist/pageComponents/LabsHero/assets/svg2.svg.cjs.js +1 -0
  113. package/dist/pageComponents/LabsHero/assets/svg2.svg.es.js +5 -0
  114. package/dist/pageComponents/LabsHero/assets/svg3.svg.cjs.js +1 -0
  115. package/dist/pageComponents/LabsHero/assets/svg3.svg.es.js +7 -0
  116. package/dist/pageComponents/LabsHero/index.d.ts +1 -0
  117. package/dist/pageComponents/LabsHero/labsHero.module.css.cjs.js +1 -0
  118. package/dist/pageComponents/LabsHero/labsHero.module.css.es.js +41 -0
  119. package/dist/pageComponents/PersonalizedProtocolHero/PersonalizedProtocolHero.cjs.js +1 -0
  120. package/dist/pageComponents/PersonalizedProtocolHero/PersonalizedProtocolHero.d.ts +1 -0
  121. package/dist/pageComponents/PersonalizedProtocolHero/PersonalizedProtocolHero.es.js +179 -0
  122. package/dist/pageComponents/PersonalizedProtocolHero/assets/graph1.svg.cjs.js +1 -0
  123. package/dist/pageComponents/PersonalizedProtocolHero/assets/graph1.svg.es.js +7 -0
  124. package/dist/pageComponents/PersonalizedProtocolHero/assets/graph2.svg.cjs.js +1 -0
  125. package/dist/pageComponents/PersonalizedProtocolHero/assets/graph2.svg.es.js +7 -0
  126. package/dist/pageComponents/PersonalizedProtocolHero/assets/graph3.svg.cjs.js +1 -0
  127. package/dist/pageComponents/PersonalizedProtocolHero/assets/graph3.svg.es.js +7 -0
  128. package/dist/pageComponents/PersonalizedProtocolHero/assets/pill1.png.cjs.js +1 -0
  129. package/dist/pageComponents/PersonalizedProtocolHero/assets/pill1.png.es.js +4 -0
  130. package/dist/pageComponents/PersonalizedProtocolHero/assets/pill2.png.cjs.js +1 -0
  131. package/dist/pageComponents/PersonalizedProtocolHero/assets/pill2.png.es.js +4 -0
  132. package/dist/pageComponents/PersonalizedProtocolHero/assets/pill3.png.cjs.js +1 -0
  133. package/dist/pageComponents/PersonalizedProtocolHero/assets/pill3.png.es.js +4 -0
  134. package/dist/pageComponents/PersonalizedProtocolHero/assets/prod1.png.cjs.js +1 -0
  135. package/dist/pageComponents/PersonalizedProtocolHero/assets/prod1.png.es.js +4 -0
  136. package/dist/pageComponents/PersonalizedProtocolHero/assets/prod2.png.cjs.js +1 -0
  137. package/dist/pageComponents/PersonalizedProtocolHero/assets/prod2.png.es.js +4 -0
  138. package/dist/pageComponents/PersonalizedProtocolHero/assets/prod3.png.cjs.js +1 -0
  139. package/dist/pageComponents/PersonalizedProtocolHero/assets/prod3.png.es.js +4 -0
  140. package/dist/pageComponents/PersonalizedProtocolHero/index.d.ts +1 -0
  141. package/dist/pageComponents/PersonalizedProtocolHero/personalizedProtocolHero.module.css.cjs.js +1 -0
  142. package/dist/pageComponents/PersonalizedProtocolHero/personalizedProtocolHero.module.css.es.js +71 -0
  143. package/dist/pageComponents/TreatmentsHero/TreatmentsHero.cjs.js +1 -0
  144. package/dist/pageComponents/TreatmentsHero/TreatmentsHero.d.ts +15 -0
  145. package/dist/pageComponents/TreatmentsHero/TreatmentsHero.es.js +20 -0
  146. package/dist/pageComponents/TreatmentsHero/components/TreatmentHeroCard/TreatmentHeroCard.cjs.js +1 -0
  147. package/dist/pageComponents/TreatmentsHero/components/TreatmentHeroCard/TreatmentHeroCard.d.ts +7 -0
  148. package/dist/pageComponents/TreatmentsHero/components/TreatmentHeroCard/TreatmentHeroCard.es.js +10 -0
  149. package/dist/pageComponents/TreatmentsHero/components/TreatmentHeroCard/index.d.ts +1 -0
  150. package/dist/pageComponents/TreatmentsHero/components/TreatmentHeroCard/treatmentHeroCard.module.css.cjs.js +1 -0
  151. package/dist/pageComponents/TreatmentsHero/components/TreatmentHeroCard/treatmentHeroCard.module.css.es.js +11 -0
  152. package/dist/pageComponents/TreatmentsHero/index.d.ts +1 -0
  153. package/dist/pageComponents/TreatmentsHero/treatmentsHero.module.css.cjs.js +1 -0
  154. package/dist/pageComponents/TreatmentsHero/treatmentsHero.module.css.es.js +21 -0
  155. package/dist/utils/debounce.cjs.js +1 -0
  156. package/dist/utils/debounce.d.ts +2 -0
  157. package/dist/utils/debounce.es.js +9 -0
  158. package/dist/utils/formatUnits/formatUnits.cjs.js +1 -1
  159. package/dist/utils/formatUnits/formatUnits.es.js +5 -3
  160. package/dist/utils/formatUnits.d.ts +1 -1
  161. package/package.json +56 -1
  162. package/dist/components/Pagination/Pagination.module.css.cjs.js +0 -1
  163. 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,3 @@
1
+ import { TAnchorLinksProps } from './types';
2
+
3
+ export declare const AnchorLinks: ({ links, activeId, onClick }: TAnchorLinksProps) => import("react/jsx-runtime").JSX.Element;
@@ -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"),t=require("../../../Icon/Icon.cjs.js"),a=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:o,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]:o}),children:[e.jsx(c.Typography,{defaultVariant:"headingMd",mobileVariant:"headingXxs",children:r}),e.jsxs("div",{className:n.default.closeButtonWrapper,children:[e.jsx(t.Icon,{name:a.EIconName.BRACKET_LEFT}),e.jsx("div",{className:s.cn(n.default.closeButton,{[n.default.closeButtonActive]:o}),children:e.jsx(t.Icon,{name:a.EIconName.PLUS})}),e.jsx(t.Icon,{name:a.EIconName.BRACKET_RIGHT})]})]}),e.jsx("div",{className:s.cn(n.default.description,{[n.default.descriptionShow]:o}),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
+ "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 a, jsx as r } from "react/jsx-runtime";
2
- import { Typography as m } from "../../../Typography/Typography.es.js";
3
- import { Icon as i } from "../../../Icon/Icon.es.js";
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: n, content: c, isOpen: o, index: s, onClick: l }) => /* @__PURE__ */ a("div", { className: e.root, children: [
8
- /* @__PURE__ */ a("div", { onClick: () => l(s ?? 0), className: d(e.header, { [e.headerSticky]: o }), children: [
9
- /* @__PURE__ */ r(m, { defaultVariant: "headingMd", mobileVariant: "headingXxs", children: n }),
10
- /* @__PURE__ */ a("div", { className: e.closeButtonWrapper, children: [
11
- /* @__PURE__ */ r(i, { name: t.BRACKET_LEFT }),
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]: o
16
+ [e.closeButtonActive]: i
17
17
  }),
18
- children: /* @__PURE__ */ r(i, { name: t.PLUS })
18
+ children: /* @__PURE__ */ r(a, { name: t.PLUS_BOLD })
19
19
  }
20
20
  ),
21
- /* @__PURE__ */ r(i, { name: t.BRACKET_RIGHT })
21
+ /* @__PURE__ */ r(a, { name: t.BRACKET_RIGHT })
22
22
  ] })
23
23
  ] }),
24
- /* @__PURE__ */ r("div", { className: d(e.description, { [e.descriptionShow]: o }), children: /* @__PURE__ */ r(m, { as: "p", defaultVariant: "bodyMd", mobileVariant: "bodyXs", children: c }) }),
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
  ] });
@@ -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-module__descriptionShow___DZNFQ",d="faqComponentItem-module__leftBorder___7tMoB",s="faqComponentItem-module__rightBorder___xiCjz",i="faqComponentItem-module__headerSticky___nPXFL",l={root:e,header:o,closeButtonWrapper:t,closeButton:n,closeButtonActive:r,description:_,descriptionShow:c,leftBorder:d,rightBorder:s,headerSticky:i};exports.closeButton=n;exports.closeButtonActive=r;exports.closeButtonWrapper=t;exports.default=l;exports.description=_;exports.descriptionShow=c;exports.header=o;exports.headerSticky=i;exports.leftBorder=d;exports.rightBorder=s;exports.root=e;
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;
@@ -1,25 +1,27 @@
1
- const o = "faqComponentItem-module__root___zTwix", e = "faqComponentItem-module__header___LxS2t", t = "faqComponentItem-module__closeButtonWrapper___FMjQq", _ = "faqComponentItem-module__closeButton___yWXnz", n = "faqComponentItem-module__closeButtonActive___eqfRz", r = "faqComponentItem-module__description___UQs0o", c = "faqComponentItem-module__descriptionShow___DZNFQ", m = "faqComponentItem-module__leftBorder___7tMoB", s = "faqComponentItem-module__rightBorder___xiCjz", d = "faqComponentItem-module__headerSticky___nPXFL", l = {
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: n,
5
+ closeButton: n,
6
+ closeButtonActive: _,
7
7
  description: r,
8
- descriptionShow: c,
9
- leftBorder: m,
10
- rightBorder: s,
11
- headerSticky: d
8
+ descriptionInner: c,
9
+ descriptionShow: s,
10
+ leftBorder: d,
11
+ rightBorder: m,
12
+ headerSticky: i
12
13
  };
13
14
  export {
14
- _ as closeButton,
15
- n as closeButtonActive,
15
+ n as closeButton,
16
+ _ as closeButtonActive,
16
17
  t as closeButtonWrapper,
17
- l as default,
18
+ p as default,
18
19
  r as description,
19
- c as descriptionShow,
20
+ c as descriptionInner,
21
+ s as descriptionShow,
20
22
  e as header,
21
- d as headerSticky,
22
- m as leftBorder,
23
- s as rightBorder,
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 a=require("react/jsx-runtime"),y=require("react"),t=require("../../utils/cn/cn.cjs.js"),b=require("../Icon/Icon.cjs.js"),i=require("../Icon/constants.cjs.js"),c=require("../Typography/Typography.cjs.js"),e=require("./filterMenu.module.css.cjs.js");function j({label:o,open:d=!1,options:u,selectedValue:m,onSelect:p}){const[r,f]=y.useState(d),h=()=>f(l=>!l);return a.jsxs("div",{className:e.default.root,children:[a.jsxs("button",{className:e.default.toggleButton,onClick:h,children:[a.jsx(c.Typography,{defaultVariant:"labelLg",emphasis:!0,children:o}),a.jsx(b.Icon,{name:r?i.EIconName.REMOVE:i.EIconName.PLUS,className:e.default.toggleIcon})]}),a.jsx("div",{className:t.cn(e.default.menu,r&&e.default.isOpen),role:"menu",children:u.map((l,s)=>a.jsxs("ul",{className:e.default.subOptions,children:[l.label&&a.jsx("li",{className:t.cn(e.default.divider,s!==0&&e.default.dividerLine),children:a.jsx(c.Typography,{as:"div",defaultVariant:"bodyMd",weight:"medium",className:e.default.dividerLabel,children:l.label})},s),l.values.map(({value:n,label:g})=>a.jsx("li",{className:e.default.option,onClick:()=>p(n,l),children:a.jsx(c.Typography,{as:"div",defaultVariant:"bodyMd",className:t.cn(e.default.optionLabel,n===m&&e.default.selected),children:g})},n))]},`${l.label}_${s}`))})]})}exports.FilterMenu=j;
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
- export declare function FilterMenu<T extends string | number>({ label, open, options, selectedValue, onSelect, }: FilterMenuProps<T>): import("react/jsx-runtime").JSX.Element;
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 r, jsx as a } from "react/jsx-runtime";
3
- import { useState as g } from "react";
4
- import { cn as n } from "../../utils/cn/cn.es.js";
5
- import { Icon as v } from "../Icon/Icon.es.js";
6
- import { EIconName as m } from "../Icon/constants.es.js";
7
- import { Typography as o } from "../Typography/Typography.es.js";
8
- import e from "./filterMenu.module.css.es.js";
9
- function j({
10
- label: c,
11
- open: d = !1,
12
- options: p,
13
- selectedValue: u,
14
- onSelect: h
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, f] = g(d), b = () => f((l) => !l);
17
- return /* @__PURE__ */ r("div", { className: e.root, children: [
18
- /* @__PURE__ */ r("button", { className: e.toggleButton, onClick: b, children: [
19
- /* @__PURE__ */ a(o, { defaultVariant: "labelLg", emphasis: !0, children: c }),
20
- /* @__PURE__ */ a(v, { name: t ? m.REMOVE : m.PLUS, className: e.toggleIcon })
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: n(e.menu, t && e.isOpen), role: "menu", children: p.map((l, s) => /* @__PURE__ */ r("ul", { className: e.subOptions, children: [
23
- l.label && /* @__PURE__ */ a("li", { className: n(e.divider, s !== 0 && e.dividerLine), children: /* @__PURE__ */ a(
24
- o,
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: e.dividerLabel,
30
- children: l.label
30
+ className: i.dividerLabel,
31
+ children: e.label
31
32
  }
32
33
  ) }, s),
33
- l.values.map(({ value: i, label: N }) => /* @__PURE__ */ a("li", { className: e.option, onClick: () => h(i, l), children: /* @__PURE__ */ a(
34
- o,
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: n(e.optionLabel, i === u && e.selected),
39
- children: N
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
- ) }, i))
42
- ] }, `${l.label}_${s}`)) })
44
+ ) }, l))
45
+ ] }, `${e.label}_${s}`)) })
43
46
  ] });
44
47
  }
45
48
  export {
46
- j as FilterMenu
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,8 @@
1
+
2
+ type ImageGalleryProps = {
3
+ images: Array<string>;
4
+ label?: string;
5
+ className?: string;
6
+ };
7
+ export declare const ImageGallery: ({ images, label, className }: ImageGalleryProps) => import("react/jsx-runtime").JSX.Element;
8
+ export {};
@@ -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 c=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},(a,u)=>u+1);const l=Math.floor(n/2);let o=Math.max(1,r-l),s=o+n-1;return s>t&&(s=t,o=s-n+1),Array.from({length:n},(a,u)=>o+u)},N=({page:r,pagesCount:t,visiblePagesLimit:n,disabled:l,onPageChange:o})=>{const s=m.useMemo(()=>h(r,t,n),[r,t,n]);return c.jsxs("div",{className:e.default.root,children:[r>1&&c.jsx("button",{className:d.cn(e.default.arrow,e.default.arrowPrev),onClick:()=>o(r-1),disabled:l,"aria-label":"Previous page",children:c.jsx(i.Icon,{name:f.EIconName.ARROW_BACK,className:e.default.icon})}),s.map(a=>c.jsx("button",{className:d.cn(e.default.page,a===r&&e.default.activePage),onClick:()=>o(a),disabled:a===r||l,children:c.jsx(_.Typography,{defaultVariant:"labelXl",weight:"regular",children:a.toString().padStart(2,"0")})},a)),r<t&&c.jsx("button",{className:d.cn(e.default.arrow,e.default.arrowNext),onClick:()=>o(r+1),disabled:l,"aria-label":"Next page",children:c.jsx(i.Icon,{name:f.EIconName.ARROW_FORWARD,className:e.default.icon})})]})};exports.Pagination=N;
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 "./Pagination.module.css.es.js";
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 m = Math.floor(a / 2);
13
- let c = Math.max(1, r - m), n = c + a - 1;
14
- return n > t && (n = t, c = n - a + 1), Array.from({ length: a }, (l, f) => c + f);
15
- }, M = ({ page: r, pagesCount: t, visiblePagesLimit: a, disabled: m, onPageChange: c }) => {
16
- const n = d(
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: m,
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
- n.map((l) => /* @__PURE__ */ e(
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: m,
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"),s=require("../../../TypeBadge/TypeBadge.cjs.js"),t=require("./benefitItem.module.css.cjs.js"),i=({badge:r,label:n})=>e.jsxs("div",{className:t.default.root,children:[e.jsx(s.TypeBadge,{type:r}),e.jsx("p",{className:t.default.benefitLabel,children:n})]});exports.BenefitItem=i;
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 s, jsx as e } from "react/jsx-runtime";
2
- import { TypeBadge as m } from "../../../TypeBadge/TypeBadge.es.js";
3
- import r from "./benefitItem.module.css.es.js";
4
- const l = ({ badge: t, label: o }) => /* @__PURE__ */ s("div", { className: r.root, children: [
5
- /* @__PURE__ */ e(m, { type: t }),
6
- /* @__PURE__ */ e("p", { className: r.benefitLabel, children: o })
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
- l as BenefitItem
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;