@zenpatient-org/healthspan-marketing-ui 0.1.27 → 0.1.28
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/ComplexTooltip/ComplexTooltip.cjs.js +1 -1
- package/dist/components/ComplexTooltip/ComplexTooltip.es.js +16 -14
- package/dist/components/ComplexTooltip/complexTooltip.module.css.cjs.js +1 -0
- package/dist/components/ComplexTooltip/complexTooltip.module.css.es.js +7 -0
- package/dist/components/FAQComponent/FAQComponent.cjs.js +1 -0
- package/dist/components/FAQComponent/FAQComponent.d.ts +3 -0
- package/dist/components/FAQComponent/FAQComponent.es.js +27 -0
- package/dist/components/FAQComponent/components/FAQComponentItem/FAQComponentItem.cjs.js +1 -0
- package/dist/components/FAQComponent/components/FAQComponentItem/FAQComponentItem.d.ts +3 -0
- package/dist/components/{Accordion/components/AccordionItem/AccordionItem.es.js → FAQComponent/components/FAQComponentItem/FAQComponentItem.es.js} +6 -7
- package/dist/components/FAQComponent/components/FAQComponentItem/faqComponentItem.module.css.cjs.js +1 -0
- package/dist/components/FAQComponent/components/FAQComponentItem/faqComponentItem.module.css.es.js +25 -0
- package/dist/components/FAQComponent/components/FAQComponentItem/index.d.ts +2 -0
- package/dist/components/FAQComponent/components/FAQComponentItem/types.d.ts +9 -0
- package/dist/components/FAQComponent/components/index.d.ts +1 -0
- package/dist/components/FAQComponent/faqComponent.module.css.cjs.js +1 -0
- package/dist/components/FAQComponent/faqComponent.module.css.es.js +7 -0
- package/dist/components/FAQComponent/index.d.ts +1 -0
- package/dist/components/FAQComponent/types.d.ts +10 -0
- package/dist/components/Icon/constants.cjs.js +1 -1
- package/dist/components/Icon/constants.d.ts +5 -1
- package/dist/components/Icon/constants.es.js +6 -2
- package/dist/components/Icon/iconsMap.cjs.js +1 -1
- package/dist/components/Icon/iconsMap.es.js +65 -57
- package/dist/components/IconBracket/IconBracket.cjs.js +1 -1
- package/dist/components/IconBracket/IconBracket.d.ts +1 -1
- package/dist/components/IconBracket/IconBracket.es.js +13 -12
- package/dist/components/IconBracket/iconBracket.module.css.cjs.js +1 -1
- package/dist/components/IconBracket/iconBracket.module.css.es.js +11 -5
- package/dist/components/IconBracket/types.d.ts +3 -2
- package/dist/components/Pagination/Pagination.cjs.js +1 -0
- package/dist/components/Pagination/Pagination.d.ts +9 -0
- package/dist/components/Pagination/Pagination.es.js +55 -0
- 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/Pagination/index.d.ts +1 -0
- package/dist/components/RatingStars/RatingStars.cjs.js +1 -1
- package/dist/components/RatingStars/RatingStars.d.ts +2 -1
- package/dist/components/RatingStars/RatingStars.es.js +13 -13
- package/dist/healthspan-marketing-ui.css +1 -1
- package/dist/icons/action/bracket-left.svg.cjs.js +1 -1
- package/dist/icons/action/bracket-left.svg.es.js +2 -2
- package/dist/icons/action/bracket-right.svg.cjs.js +1 -1
- package/dist/icons/action/bracket-right.svg.es.js +2 -2
- package/dist/icons/bold/arrow-bold.svg.cjs.js +1 -0
- package/dist/icons/bold/arrow-bold.svg.es.js +5 -0
- package/dist/icons/bold/close-bold.svg.cjs.js +1 -0
- package/dist/icons/bold/close-bold.svg.es.js +5 -0
- package/dist/icons/bold/dot-bold.svg.cjs.js +1 -0
- package/dist/icons/bold/dot-bold.svg.es.js +5 -0
- package/dist/icons/bold/plus-bold.svg.cjs.js +1 -0
- package/dist/icons/bold/plus-bold.svg.es.js +5 -0
- package/dist/modules/FAQModule/FAQModule.cjs.js +1 -0
- package/dist/modules/FAQModule/FAQModule.d.ts +3 -0
- package/dist/modules/FAQModule/FAQModule.es.js +17 -0
- package/dist/modules/FAQModule/faqModule.module.css.cjs.js +1 -0
- package/dist/modules/FAQModule/faqModule.module.css.es.js +19 -0
- package/dist/modules/FAQModule/index.d.ts +1 -0
- package/dist/modules/HighestStandards/HighestStandards.cjs.js +1 -0
- package/dist/modules/HighestStandards/HighestStandards.d.ts +3 -0
- package/dist/modules/HighestStandards/HighestStandards.es.js +26 -0
- package/dist/modules/HighestStandards/components/TabsMenu/TabsMenu.cjs.js +1 -0
- package/dist/modules/HighestStandards/components/TabsMenu/TabsMenu.d.ts +3 -0
- package/dist/modules/HighestStandards/components/TabsMenu/TabsMenu.es.js +24 -0
- package/dist/modules/HighestStandards/components/TabsMenu/components/TabsMenutem/TabsMenuItem.cjs.js +1 -0
- package/dist/modules/HighestStandards/components/TabsMenu/components/TabsMenutem/TabsMenuItem.d.ts +3 -0
- package/dist/modules/HighestStandards/components/TabsMenu/components/TabsMenutem/TabsMenuItem.es.js +31 -0
- package/dist/modules/HighestStandards/components/TabsMenu/components/TabsMenutem/index.d.ts +2 -0
- package/dist/modules/HighestStandards/components/TabsMenu/components/TabsMenutem/tabsMenuItem.module.css.cjs.js +1 -0
- package/dist/modules/HighestStandards/components/TabsMenu/components/TabsMenutem/tabsMenuItem.module.css.es.js +23 -0
- package/dist/modules/HighestStandards/components/TabsMenu/components/TabsMenutem/types.d.ts +9 -0
- package/dist/modules/HighestStandards/components/TabsMenu/components/index.d.ts +1 -0
- package/dist/modules/HighestStandards/components/TabsMenu/index.d.ts +1 -0
- package/dist/modules/HighestStandards/components/TabsMenu/tabsMenu.module.css.cjs.js +1 -0
- package/dist/{components/Accordion/accordion.module.css.es.js → modules/HighestStandards/components/TabsMenu/tabsMenu.module.css.es.js} +1 -1
- package/dist/modules/HighestStandards/components/TabsMenu/types.d.ts +6 -0
- package/dist/modules/HighestStandards/components/index.d.ts +1 -0
- package/dist/modules/HighestStandards/highestStandards.module.css.cjs.js +1 -0
- package/dist/modules/HighestStandards/highestStandards.module.css.es.js +23 -0
- package/dist/modules/HighestStandards/index.d.ts +1 -0
- package/dist/modules/HighestStandards/types.d.ts +11 -0
- package/dist/modules/ImageWithText/ImageWithText.cjs.js +1 -1
- package/dist/modules/ImageWithText/ImageWithText.d.ts +1 -1
- package/dist/modules/ImageWithText/ImageWithText.es.js +17 -17
- package/dist/modules/ImageWithText/types.d.ts +4 -3
- package/dist/modules/IngredientHighlight/IngredientHighlight.cjs.js +1 -0
- package/dist/modules/IngredientHighlight/IngredientHighlight.d.ts +3 -0
- package/dist/modules/IngredientHighlight/IngredientHighlight.es.js +26 -0
- package/dist/modules/IngredientHighlight/components/Ingredient/Ingredient.cjs.js +1 -0
- package/dist/modules/IngredientHighlight/components/Ingredient/Ingredient.d.ts +3 -0
- package/dist/modules/IngredientHighlight/components/Ingredient/Ingredient.es.js +11 -0
- package/dist/modules/IngredientHighlight/components/Ingredient/index.d.ts +2 -0
- package/dist/modules/IngredientHighlight/components/Ingredient/ingredient.module.css.cjs.js +1 -0
- package/dist/modules/IngredientHighlight/components/Ingredient/ingredient.module.css.es.js +15 -0
- package/dist/modules/IngredientHighlight/components/Ingredient/types.d.ts +7 -0
- package/dist/modules/IngredientHighlight/components/index.d.ts +1 -0
- package/dist/modules/IngredientHighlight/index.d.ts +2 -0
- package/dist/modules/IngredientHighlight/ingredientHighlight.module.css.cjs.js +1 -0
- package/dist/modules/IngredientHighlight/ingredientHighlight.module.css.es.js +15 -0
- package/dist/modules/IngredientHighlight/types.d.ts +7 -0
- package/dist/modules/Reviews/Reviews.cjs.js +1 -0
- package/dist/modules/Reviews/Reviews.d.ts +15 -0
- package/dist/modules/Reviews/Reviews.es.js +42 -0
- package/dist/modules/Reviews/components/ReviewCard/ReviewCard.cjs.js +1 -0
- package/dist/modules/Reviews/components/ReviewCard/ReviewCard.d.ts +3 -0
- package/dist/modules/Reviews/components/ReviewCard/ReviewCard.es.js +17 -0
- package/dist/modules/Reviews/components/ReviewCard/index.d.ts +1 -0
- package/dist/modules/Reviews/components/ReviewCard/reviewCard.module.css.cjs.js +1 -0
- package/dist/modules/Reviews/components/ReviewCard/reviewCard.module.css.es.js +13 -0
- package/dist/modules/Reviews/components/ReviewList/ReviewList.cjs.js +1 -0
- package/dist/modules/Reviews/components/ReviewList/ReviewList.d.ts +10 -0
- package/dist/modules/Reviews/components/ReviewList/ReviewList.es.js +21 -0
- package/dist/modules/Reviews/components/ReviewList/index.d.ts +1 -0
- package/dist/modules/Reviews/components/ReviewList/reviewList.module.css.cjs.js +1 -0
- package/dist/modules/Reviews/components/ReviewList/reviewList.module.css.es.js +7 -0
- package/dist/modules/Reviews/index.d.ts +1 -0
- package/dist/modules/Reviews/reviews.module.css.cjs.js +1 -0
- package/dist/modules/Reviews/reviews.module.css.es.js +21 -0
- package/dist/modules/Reviews/types.d.ts +8 -0
- package/dist/modules/SlidingTabsGallery/SlidingTabsGallery.cjs.js +1 -1
- package/dist/modules/SlidingTabsGallery/SlidingTabsGallery.es.js +24 -25
- package/dist/modules/SlidingTabsGallery/SlidingTabsGallery.module.css.cjs.js +1 -1
- package/dist/modules/SlidingTabsGallery/SlidingTabsGallery.module.css.es.js +24 -20
- package/dist/modules/Testimonial/Testimonial.cjs.js +1 -1
- package/dist/modules/Testimonial/Testimonial.es.js +58 -40
- package/dist/modules/Testimonial/components/TextCard/TextCard.cjs.js +1 -1
- package/dist/modules/Testimonial/components/TextCard/TextCard.es.js +1 -1
- package/dist/modules/Testimonial/components/VideoCard/VideoCard.cjs.js +1 -1
- package/dist/modules/Testimonial/components/VideoCard/VideoCard.d.ts +2 -1
- package/dist/modules/Testimonial/components/VideoCard/VideoCard.es.js +32 -30
- package/dist/modules/Testimonial/testimonial.module.css.cjs.js +1 -1
- package/dist/modules/Testimonial/testimonial.module.css.es.js +15 -13
- package/dist/modules/TrackProgress/components/TimelineContent/TimelineContent.cjs.js +1 -1
- package/dist/modules/TrackProgress/components/TimelineContent/TimelineContent.es.js +45 -36
- package/dist/modules/TrackProgress/components/TimelineContent/timelineContent.module.css.cjs.js +1 -1
- package/dist/modules/TrackProgress/components/TimelineContent/timelineContent.module.css.es.js +22 -20
- package/package.json +30 -5
- package/dist/components/Accordion/Accordion.cjs.js +0 -1
- package/dist/components/Accordion/Accordion.d.ts +0 -8
- package/dist/components/Accordion/Accordion.es.js +0 -27
- package/dist/components/Accordion/accordion.module.css.cjs.js +0 -1
- package/dist/components/Accordion/components/AccordionItem/AccordionItem.cjs.js +0 -1
- package/dist/components/Accordion/components/AccordionItem/AccordionItem.d.ts +0 -3
- package/dist/components/Accordion/components/AccordionItem/accordionItem.module.css.cjs.js +0 -1
- package/dist/components/Accordion/components/AccordionItem/accordionItem.module.css.es.js +0 -25
- package/dist/components/Accordion/components/AccordionItem/index.d.ts +0 -2
- package/dist/components/Accordion/components/AccordionItem/types.d.ts +0 -9
- package/dist/components/Accordion/components/index.d.ts +0 -1
- package/dist/components/Accordion/index.d.ts +0 -1
- package/dist/components/Accordion/types.d.ts +0 -6
- package/dist/modules/FAQ/FAQ.cjs.js +0 -1
- package/dist/modules/FAQ/FAQ.d.ts +0 -3
- package/dist/modules/FAQ/FAQ.es.js +0 -17
- package/dist/modules/FAQ/faq.module.css.cjs.js +0 -1
- package/dist/modules/FAQ/faq.module.css.es.js +0 -19
- package/dist/modules/FAQ/index.d.ts +0 -1
- /package/dist/modules/{FAQ → FAQModule}/types.d.ts +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const c=require("react");function l(e){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,n.get?n:{enumerable:!0,get:()=>e[t]})}}return r.default=e,Object.freeze(r)}const o=l(c),a=e=>o.createElement("svg",{width:6,height:17,viewBox:"0 0 6 17",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},o.createElement("path",{d:"M3.33355 0.524902H5.46755C4.01555 2.8789 3.22355 5.5189 3.22355 8.4669C3.22355 11.4369 4.01555 14.0989 5.46755 16.4749H3.33355C2.14555 14.5609 0.935547 11.8769 0.935547 8.4669C0.935547 5.0569 2.14555 2.4389 3.33355 0.524902Z",fill:"currentColor"}));exports.default=a;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as e from "react";
|
|
2
|
-
const
|
|
2
|
+
const r = (t) => /* @__PURE__ */ e.createElement("svg", { width: 6, height: 17, viewBox: "0 0 6 17", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...t }, /* @__PURE__ */ e.createElement("path", { d: "M3.33355 0.524902H5.46755C4.01555 2.8789 3.22355 5.5189 3.22355 8.4669C3.22355 11.4369 4.01555 14.0989 5.46755 16.4749H3.33355C2.14555 14.5609 0.935547 11.8769 0.935547 8.4669C0.935547 5.0569 2.14555 2.4389 3.33355 0.524902Z", fill: "currentColor" }));
|
|
3
3
|
export {
|
|
4
|
-
|
|
4
|
+
r as default
|
|
5
5
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const c=require("react");function l(e){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,n.get?n:{enumerable:!0,get:()=>e[t]})}}return r.default=e,Object.freeze(r)}const o=l(c),a=e=>o.createElement("svg",{width:5,height:17,viewBox:"0 0 5 17",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},o.createElement("path",{d:"M2.60178 16.4749H0.467773C1.91977 14.0989 2.68977 11.4369 2.68977 8.4669C2.68977 5.5189 1.91977 2.8789 0.467773 0.524902H2.60178C3.78978 2.4389 4.99977 5.0569 4.99977 8.4669C4.99977 11.8769 3.78978 14.5609 2.60178 16.4749Z",fill:"currentColor"}));exports.default=a;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as t from "react";
|
|
2
|
-
const
|
|
2
|
+
const r = (e) => /* @__PURE__ */ t.createElement("svg", { width: 5, height: 17, viewBox: "0 0 5 17", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ t.createElement("path", { d: "M2.60178 16.4749H0.467773C1.91977 14.0989 2.68977 11.4369 2.68977 8.4669C2.68977 5.5189 1.91977 2.8789 0.467773 0.524902H2.60178C3.78978 2.4389 4.99977 5.0569 4.99977 8.4669C4.99977 11.8769 3.78978 14.5609 2.60178 16.4749Z", fill: "currentColor" }));
|
|
3
3
|
export {
|
|
4
|
-
|
|
4
|
+
r as default
|
|
5
5
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const l=require("react");function c(e){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const o=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,o.get?o:{enumerable:!0,get:()=>e[t]})}}return r.default=e,Object.freeze(r)}const n=c(l),a=e=>n.createElement("svg",{width:28,height:16,viewBox:"0 0 28 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},n.createElement("path",{d:"M16.3439 9.21402H8.15002V7.386H16.3439L12.6954 3.73738L14 2.45001L19.85 8.30001L14 14.15L12.6954 12.8626L16.3439 9.21402Z",fill:"currentColor"}));exports.default=a;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as e from "react";
|
|
2
|
+
const o = (t) => /* @__PURE__ */ e.createElement("svg", { width: 28, height: 16, viewBox: "0 0 28 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...t }, /* @__PURE__ */ e.createElement("path", { d: "M16.3439 9.21402H8.15002V7.386H16.3439L12.6954 3.73738L14 2.45001L19.85 8.30001L14 14.15L12.6954 12.8626L16.3439 9.21402Z", fill: "currentColor" }));
|
|
3
|
+
export {
|
|
4
|
+
o as default
|
|
5
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const l=require("react");function c(e){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const o=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,o.get?o:{enumerable:!0,get:()=>e[t]})}}return r.default=e,Object.freeze(r)}const n=c(l),a=e=>n.createElement("svg",{width:28,height:16,viewBox:"0 0 28 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},n.createElement("path",{d:"M17.762 13.481L13.934 9.67496L10.26 13.327L8.83002 11.919L12.526 8.24496L8.83002 4.52696L10.26 3.11896L13.934 6.79296L17.63 3.14096L19.06 4.54896L15.364 8.24496L19.17 12.051L17.762 13.481Z",fill:"currentColor"}));exports.default=a;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as e from "react";
|
|
2
|
+
const L = (t) => /* @__PURE__ */ e.createElement("svg", { width: 28, height: 16, viewBox: "0 0 28 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...t }, /* @__PURE__ */ e.createElement("path", { d: "M17.762 13.481L13.934 9.67496L10.26 13.327L8.83002 11.919L12.526 8.24496L8.83002 4.52696L10.26 3.11896L13.934 6.79296L17.63 3.14096L19.06 4.54896L15.364 8.24496L19.17 12.051L17.762 13.481Z", fill: "currentColor" }));
|
|
3
|
+
export {
|
|
4
|
+
L as default
|
|
5
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const n=require("react");function l(e){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const o=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,o.get?o:{enumerable:!0,get:()=>e[t]})}}return r.default=e,Object.freeze(r)}const c=l(n),a=e=>c.createElement("svg",{width:28,height:16,viewBox:"0 0 28 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("circle",{cx:14,cy:8.29999,r:5,fill:"currentColor"}));exports.default=a;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as e from "react";
|
|
2
|
+
const l = (t) => /* @__PURE__ */ e.createElement("svg", { width: 28, height: 16, viewBox: "0 0 28 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...t }, /* @__PURE__ */ e.createElement("circle", { cx: 14, cy: 8.29999, r: 5, fill: "currentColor" }));
|
|
3
|
+
export {
|
|
4
|
+
l as default
|
|
5
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const l=require("react");function c(e){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,n.get?n:{enumerable:!0,get:()=>e[t]})}}return r.default=e,Object.freeze(r)}const o=c(l),a=e=>o.createElement("svg",{width:28,height:16,viewBox:"0 0 28 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},o.createElement("path",{d:"M12.999 14.152V9.18H8.02698V7.288H12.999V2.448H15.001V7.288H19.973V9.18H15.001V14.152H12.999Z",fill:"currentColor"}));exports.default=a;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as e from "react";
|
|
2
|
+
const l = (t) => /* @__PURE__ */ e.createElement("svg", { width: 28, height: 16, viewBox: "0 0 28 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...t }, /* @__PURE__ */ e.createElement("path", { d: "M12.999 14.152V9.18H8.02698V7.288H12.999V2.448H15.001V7.288H19.973V9.18H15.001V14.152H12.999Z", fill: "currentColor" }));
|
|
3
|
+
export {
|
|
4
|
+
l as default
|
|
5
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),o=require("../../components/HighlightedTitle/HighlightedTitle.cjs.js"),n=require("../../components/Button/Button.cjs.js"),s=require("../../components/FAQComponent/FAQComponent.cjs.js"),t=require("./faqModule.module.css.cjs.js"),a=({title:l,questions:i})=>e.jsx("section",{className:t.default.root,children:e.jsxs("div",{className:t.default.container,children:[e.jsxs("div",{className:t.default.header,children:[e.jsx(o.HighlightedTitle,{title:l,defaultVariant:"displayMd",mobileVariant:"headingXl"}),e.jsx("div",{className:t.default.buttonWrapperDesktop,children:e.jsx(n.Button,{variant:"muted",size:"lg",as:"a",href:"/faq",children:"VIEW ALL FAQ"})}),e.jsx("div",{className:t.default.buttonWrapperMobile,children:e.jsx(n.Button,{variant:"muted",size:"sm",as:"a",href:"/faq",children:"VIEW ALL FAQ"})})]}),e.jsx("div",{className:t.default.contentDesktop,children:e.jsx(s.FAQComponent,{items:i,mode:"multiple"})}),e.jsx("div",{className:t.default.contentMobile,children:e.jsx(s.FAQComponent,{items:i,mode:"multiple"})})]})});exports.FAQModule=a;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { jsx as e, jsxs as a } from "react/jsx-runtime";
|
|
2
|
+
import { HighlightedTitle as s } from "../../components/HighlightedTitle/HighlightedTitle.es.js";
|
|
3
|
+
import { Button as r } from "../../components/Button/Button.es.js";
|
|
4
|
+
import { FAQComponent as l } from "../../components/FAQComponent/FAQComponent.es.js";
|
|
5
|
+
import i from "./faqModule.module.css.es.js";
|
|
6
|
+
const h = ({ title: o, questions: t }) => /* @__PURE__ */ e("section", { className: i.root, children: /* @__PURE__ */ a("div", { className: i.container, children: [
|
|
7
|
+
/* @__PURE__ */ a("div", { className: i.header, children: [
|
|
8
|
+
/* @__PURE__ */ e(s, { title: o, defaultVariant: "displayMd", mobileVariant: "headingXl" }),
|
|
9
|
+
/* @__PURE__ */ e("div", { className: i.buttonWrapperDesktop, children: /* @__PURE__ */ e(r, { variant: "muted", size: "lg", as: "a", href: "/faq", children: "VIEW ALL FAQ" }) }),
|
|
10
|
+
/* @__PURE__ */ e("div", { className: i.buttonWrapperMobile, children: /* @__PURE__ */ e(r, { variant: "muted", size: "sm", as: "a", href: "/faq", children: "VIEW ALL FAQ" }) })
|
|
11
|
+
] }),
|
|
12
|
+
/* @__PURE__ */ e("div", { className: i.contentDesktop, children: /* @__PURE__ */ e(l, { items: t, mode: "multiple" }) }),
|
|
13
|
+
/* @__PURE__ */ e("div", { className: i.contentMobile, children: /* @__PURE__ */ e(l, { items: t, mode: "multiple" }) })
|
|
14
|
+
] }) });
|
|
15
|
+
export {
|
|
16
|
+
h as FAQModule
|
|
17
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="faqModule-module__root___2uNZH",o="faqModule-module__container___-TWCf",t="faqModule-module__header___YmS3Z",n="faqModule-module__buttonWrapperDesktop___IcWuX",_="faqModule-module__buttonWrapperMobile___-owAv",r="faqModule-module__contentDesktop___jX6wb",u="faqModule-module__contentMobile___Ikfux",l={root:e,container:o,header:t,buttonWrapperDesktop:n,buttonWrapperMobile:_,contentDesktop:r,contentMobile:u};exports.buttonWrapperDesktop=n;exports.buttonWrapperMobile=_;exports.container=o;exports.contentDesktop=r;exports.contentMobile=u;exports.default=l;exports.header=t;exports.root=e;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
const o = "faqModule-module__root___2uNZH", e = "faqModule-module__container___-TWCf", t = "faqModule-module__header___YmS3Z", _ = "faqModule-module__buttonWrapperDesktop___IcWuX", n = "faqModule-module__buttonWrapperMobile___-owAv", u = "faqModule-module__contentDesktop___jX6wb", l = "faqModule-module__contentMobile___Ikfux", r = {
|
|
2
|
+
root: o,
|
|
3
|
+
container: e,
|
|
4
|
+
header: t,
|
|
5
|
+
buttonWrapperDesktop: _,
|
|
6
|
+
buttonWrapperMobile: n,
|
|
7
|
+
contentDesktop: u,
|
|
8
|
+
contentMobile: l
|
|
9
|
+
};
|
|
10
|
+
export {
|
|
11
|
+
_ as buttonWrapperDesktop,
|
|
12
|
+
n as buttonWrapperMobile,
|
|
13
|
+
e as container,
|
|
14
|
+
u as contentDesktop,
|
|
15
|
+
l as contentMobile,
|
|
16
|
+
r as default,
|
|
17
|
+
t as header,
|
|
18
|
+
o as root
|
|
19
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { FAQModule } from './FAQModule';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),r=require("../../components/HighlightedTitle/HighlightedTitle.cjs.js"),l=require("../../components/Typography/Typography.cjs.js"),n=require("./components/TabsMenu/TabsMenu.cjs.js"),a=require("./highestStandards.module.css.cjs.js"),c=({title:i,description:s,image:t,accordionItems:d})=>e.jsx("section",{className:a.default.root,children:e.jsxs("div",{className:a.default.container,children:[e.jsxs("div",{className:a.default.header,children:[e.jsx(r.HighlightedTitle,{title:i,defaultVariant:"displayMd",mobileVariant:"headingXl",className:a.default.title}),e.jsx(l.Typography,{defaultVariant:"bodyLg",mobileVariant:"bodySm",className:a.default.description,children:s})]}),e.jsxs("div",{className:a.default.content,children:[e.jsx("div",{className:a.default.imageContainer,children:e.jsx("img",{src:t,alt:"background image",className:a.default.image})}),e.jsx("div",{className:a.default.accordionContainer,children:e.jsx(n.TabsMenu,{items:d})})]})]})});exports.HighestStandards=c;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { jsx as i, jsxs as e } from "react/jsx-runtime";
|
|
2
|
+
import { HighlightedTitle as o } from "../../components/HighlightedTitle/HighlightedTitle.es.js";
|
|
3
|
+
import { Typography as l } from "../../components/Typography/Typography.es.js";
|
|
4
|
+
import { TabsMenu as m } from "./components/TabsMenu/TabsMenu.es.js";
|
|
5
|
+
import a from "./highestStandards.module.css.es.js";
|
|
6
|
+
const N = ({ title: r, description: s, image: t, accordionItems: n }) => /* @__PURE__ */ i("section", { className: a.root, children: /* @__PURE__ */ e("div", { className: a.container, children: [
|
|
7
|
+
/* @__PURE__ */ e("div", { className: a.header, children: [
|
|
8
|
+
/* @__PURE__ */ i(
|
|
9
|
+
o,
|
|
10
|
+
{
|
|
11
|
+
title: r,
|
|
12
|
+
defaultVariant: "displayMd",
|
|
13
|
+
mobileVariant: "headingXl",
|
|
14
|
+
className: a.title
|
|
15
|
+
}
|
|
16
|
+
),
|
|
17
|
+
/* @__PURE__ */ i(l, { defaultVariant: "bodyLg", mobileVariant: "bodySm", className: a.description, children: s })
|
|
18
|
+
] }),
|
|
19
|
+
/* @__PURE__ */ e("div", { className: a.content, children: [
|
|
20
|
+
/* @__PURE__ */ i("div", { className: a.imageContainer, children: /* @__PURE__ */ i("img", { src: t, alt: "background image", className: a.image }) }),
|
|
21
|
+
/* @__PURE__ */ i("div", { className: a.accordionContainer, children: /* @__PURE__ */ i(m, { items: n }) })
|
|
22
|
+
] })
|
|
23
|
+
] }) });
|
|
24
|
+
export {
|
|
25
|
+
N as HighestStandards
|
|
26
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("react/jsx-runtime"),r=require("react"),a=require("./components/TabsMenutem/TabsMenuItem.cjs.js"),i=require("./tabsMenu.module.css.cjs.js"),l=({items:s})=>{const[c,o]=r.useState(0),u=t=>{o(e=>e===t?e:t)};return n.jsx("div",{className:i.default.root,children:s.map((t,e)=>n.jsx(a.TabsMenuItem,{title:t.title,content:t.content,isOpen:c===e,index:e,onClick:u},e))})};exports.TabsMenu=l;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx as o } from "react/jsx-runtime";
|
|
3
|
+
import { useState as m } from "react";
|
|
4
|
+
import { TabsMenuItem as i } from "./components/TabsMenutem/TabsMenuItem.es.js";
|
|
5
|
+
import l from "./tabsMenu.module.css.es.js";
|
|
6
|
+
const I = ({ items: s }) => {
|
|
7
|
+
const [n, r] = m(0), c = (e) => {
|
|
8
|
+
r((t) => t === e ? t : e);
|
|
9
|
+
};
|
|
10
|
+
return /* @__PURE__ */ o("div", { className: l.root, children: s.map((e, t) => /* @__PURE__ */ o(
|
|
11
|
+
i,
|
|
12
|
+
{
|
|
13
|
+
title: e.title,
|
|
14
|
+
content: e.content,
|
|
15
|
+
isOpen: n === t,
|
|
16
|
+
index: t,
|
|
17
|
+
onClick: c
|
|
18
|
+
},
|
|
19
|
+
t
|
|
20
|
+
)) });
|
|
21
|
+
};
|
|
22
|
+
export {
|
|
23
|
+
I as TabsMenu
|
|
24
|
+
};
|
package/dist/modules/HighestStandards/components/TabsMenu/components/TabsMenutem/TabsMenuItem.cjs.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),o=require("../../../../../../utils/cn/cn.cjs.js"),a=require("../../../../../../components/Icon/Icon.cjs.js"),s=require("../../../../../../components/Icon/constants.cjs.js"),t=require("../../../../../../components/Typography/Typography.cjs.js"),n=require("./tabsMenuItem.module.css.cjs.js"),u=({title:r,content:i,isOpen:c,index:l,onClick:d})=>e.jsxs("div",{onClick:()=>d(l??0),className:n.default.root,children:[e.jsxs("div",{className:n.default.header,children:[e.jsxs("div",{className:n.default.titleWithPrefixIconWrapper,children:[e.jsx(a.Icon,{name:s.EIconName.CIRCLE_CHECK_FILL,className:n.default.prefixIcon}),e.jsx(t.Typography,{defaultVariant:"headingSm",mobileVariant:"headingXxs",children:r})]}),e.jsxs("div",{className:n.default.closeButtonWrapper,children:[e.jsx(a.Icon,{name:s.EIconName.BRACKET_LEFT}),e.jsx("div",{className:o.cn(n.default.closeButton,{[n.default.closeButtonActive]:c}),children:e.jsx(a.Icon,{name:s.EIconName.PLUS})}),e.jsx(a.Icon,{name:s.EIconName.BRACKET_RIGHT})]})]}),e.jsx("div",{className:o.cn(n.default.description,{[n.default.descriptionShow]:c}),children:e.jsx(t.Typography,{as:"p",defaultVariant:"bodySm",mobileVariant:"bodyXs",children:i})})]});exports.TabsMenuItem=u;
|
package/dist/modules/HighestStandards/components/TabsMenu/components/TabsMenutem/TabsMenuItem.es.js
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { jsxs as a, jsx as r } from "react/jsx-runtime";
|
|
2
|
+
import { cn as t } from "../../../../../../utils/cn/cn.es.js";
|
|
3
|
+
import { Icon as i } from "../../../../../../components/Icon/Icon.es.js";
|
|
4
|
+
import { EIconName as o } from "../../../../../../components/Icon/constants.es.js";
|
|
5
|
+
import { Typography as m } from "../../../../../../components/Typography/Typography.es.js";
|
|
6
|
+
import e from "./tabsMenuItem.module.css.es.js";
|
|
7
|
+
const v = ({ title: c, content: s, isOpen: n, index: l, onClick: d }) => /* @__PURE__ */ a("div", { onClick: () => d(l ?? 0), className: e.root, children: [
|
|
8
|
+
/* @__PURE__ */ a("div", { className: e.header, children: [
|
|
9
|
+
/* @__PURE__ */ a("div", { className: e.titleWithPrefixIconWrapper, children: [
|
|
10
|
+
/* @__PURE__ */ r(i, { name: o.CIRCLE_CHECK_FILL, className: e.prefixIcon }),
|
|
11
|
+
/* @__PURE__ */ r(m, { defaultVariant: "headingSm", mobileVariant: "headingXxs", children: c })
|
|
12
|
+
] }),
|
|
13
|
+
/* @__PURE__ */ a("div", { className: e.closeButtonWrapper, children: [
|
|
14
|
+
/* @__PURE__ */ r(i, { name: o.BRACKET_LEFT }),
|
|
15
|
+
/* @__PURE__ */ r(
|
|
16
|
+
"div",
|
|
17
|
+
{
|
|
18
|
+
className: t(e.closeButton, {
|
|
19
|
+
[e.closeButtonActive]: n
|
|
20
|
+
}),
|
|
21
|
+
children: /* @__PURE__ */ r(i, { name: o.PLUS })
|
|
22
|
+
}
|
|
23
|
+
),
|
|
24
|
+
/* @__PURE__ */ r(i, { name: o.BRACKET_RIGHT })
|
|
25
|
+
] })
|
|
26
|
+
] }),
|
|
27
|
+
/* @__PURE__ */ r("div", { className: t(e.description, { [e.descriptionShow]: n }), children: /* @__PURE__ */ r(m, { as: "p", defaultVariant: "bodySm", mobileVariant: "bodyXs", children: s }) })
|
|
28
|
+
] });
|
|
29
|
+
export {
|
|
30
|
+
v as TabsMenuItem
|
|
31
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="tabsMenuItem-module__root___-QHe-",t="tabsMenuItem-module__header___krKM1",o="tabsMenuItem-module__titleWithPrefixIconWrapper___mnvj1",n="tabsMenuItem-module__prefixIcon___pEK8g",_="tabsMenuItem-module__closeButtonWrapper___AQIuV",r="tabsMenuItem-module__closeButton___shzRB",s="tabsMenuItem-module__closeButtonActive___YVd-W",c="tabsMenuItem-module__description___U1czl",i="tabsMenuItem-module__descriptionShow___FiI3T",u={root:e,header:t,titleWithPrefixIconWrapper:o,prefixIcon:n,closeButtonWrapper:_,closeButton:r,closeButtonActive:s,description:c,descriptionShow:i};exports.closeButton=r;exports.closeButtonActive=s;exports.closeButtonWrapper=_;exports.default=u;exports.description=c;exports.descriptionShow=i;exports.header=t;exports.prefixIcon=n;exports.root=e;exports.titleWithPrefixIconWrapper=o;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
const e = "tabsMenuItem-module__root___-QHe-", t = "tabsMenuItem-module__header___krKM1", o = "tabsMenuItem-module__titleWithPrefixIconWrapper___mnvj1", _ = "tabsMenuItem-module__prefixIcon___pEK8g", n = "tabsMenuItem-module__closeButtonWrapper___AQIuV", s = "tabsMenuItem-module__closeButton___shzRB", c = "tabsMenuItem-module__closeButtonActive___YVd-W", r = "tabsMenuItem-module__description___U1czl", u = "tabsMenuItem-module__descriptionShow___FiI3T", i = {
|
|
2
|
+
root: e,
|
|
3
|
+
header: t,
|
|
4
|
+
titleWithPrefixIconWrapper: o,
|
|
5
|
+
prefixIcon: _,
|
|
6
|
+
closeButtonWrapper: n,
|
|
7
|
+
closeButton: s,
|
|
8
|
+
closeButtonActive: c,
|
|
9
|
+
description: r,
|
|
10
|
+
descriptionShow: u
|
|
11
|
+
};
|
|
12
|
+
export {
|
|
13
|
+
s as closeButton,
|
|
14
|
+
c as closeButtonActive,
|
|
15
|
+
n as closeButtonWrapper,
|
|
16
|
+
i as default,
|
|
17
|
+
r as description,
|
|
18
|
+
u as descriptionShow,
|
|
19
|
+
t as header,
|
|
20
|
+
_ as prefixIcon,
|
|
21
|
+
e as root,
|
|
22
|
+
o as titleWithPrefixIconWrapper
|
|
23
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { TabsMenuItem, type TTabsMenuItem } from './TabsMenutem';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { TabsMenu } from './TabsMenu';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="tabsMenu-module__root___qPpqV",o={root:e};exports.default=o;exports.root=e;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { TabsMenu } from './TabsMenu';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="highestStandards-module__root___xBJOs",t="highestStandards-module__container___Xl9jz",n="highestStandards-module__header___JDHOF",o="highestStandards-module__description___EEllH",a="highestStandards-module__content___EHd3H",i="highestStandards-module__imageContainer___hVxeK",_="highestStandards-module__image___Tcmuy",d="highestStandards-module__accordionContainer___6mlAP",r="highestStandards-module__title___-ognh",s={root:e,container:t,header:n,description:o,content:a,imageContainer:i,image:_,accordionContainer:d,title:r};exports.accordionContainer=d;exports.container=t;exports.content=a;exports.default=s;exports.description=o;exports.header=n;exports.image=_;exports.imageContainer=i;exports.root=e;exports.title=r;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
const t = "highestStandards-module__root___xBJOs", e = "highestStandards-module__container___Xl9jz", n = "highestStandards-module__header___JDHOF", o = "highestStandards-module__description___EEllH", _ = "highestStandards-module__content___EHd3H", a = "highestStandards-module__imageContainer___hVxeK", d = "highestStandards-module__image___Tcmuy", i = "highestStandards-module__accordionContainer___6mlAP", s = "highestStandards-module__title___-ognh", r = {
|
|
2
|
+
root: t,
|
|
3
|
+
container: e,
|
|
4
|
+
header: n,
|
|
5
|
+
description: o,
|
|
6
|
+
content: _,
|
|
7
|
+
imageContainer: a,
|
|
8
|
+
image: d,
|
|
9
|
+
accordionContainer: i,
|
|
10
|
+
title: s
|
|
11
|
+
};
|
|
12
|
+
export {
|
|
13
|
+
i as accordionContainer,
|
|
14
|
+
e as container,
|
|
15
|
+
_ as content,
|
|
16
|
+
r as default,
|
|
17
|
+
o as description,
|
|
18
|
+
n as header,
|
|
19
|
+
d as image,
|
|
20
|
+
a as imageContainer,
|
|
21
|
+
t as root,
|
|
22
|
+
s as title
|
|
23
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { HighestStandards } from './HighestStandards';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),d=require("../../components/HighlightedTitle/HighlightedTitle.cjs.js"),n=require("../../components/Typography/Typography.cjs.js"),c=require("../../utils/cn/cn.cjs.js"),a=require("./imageWithText.module.css.cjs.js"),o=({image:
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),d=require("../../components/HighlightedTitle/HighlightedTitle.cjs.js"),n=require("../../components/Typography/Typography.cjs.js"),c=require("../../utils/cn/cn.cjs.js"),a=require("./imageWithText.module.css.cjs.js"),o=({image:r,text:i,title:l,view:t,colorScheme:s})=>e.jsx("section",{className:a.default.root,"data-scheme":s,children:e.jsxs("div",{className:a.default.container,children:[e.jsx("div",{className:a.default.imageContainer,children:e.jsx("img",{src:r,alt:"background image",className:a.default.image})}),e.jsxs("div",{className:c.cn(a.default.content,{[a.default.textAlignLeft]:t==="plain",[a.default.textAlignRight]:t==="complex"}),children:[t==="complex"&&e.jsxs("div",{className:a.default.richTextContainer,children:[l&&e.jsx(d.HighlightedTitle,{colorScheme:"dark",title:l,defaultVariant:"displayXs",mobileVariant:"headingLg"}),i&&e.jsx(n.Typography,{defaultVariant:"bodyMd",mobileVariant:"bodySm",children:i})]}),t==="plain"&&i&&e.jsx("div",{className:a.default.textContainer,children:e.jsx(n.Typography,{defaultVariant:"displayXs",mobileVariant:"headingXs",children:i})})]})]})});exports.ImageWithText=o;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { TImageWithTextProps } from './types';
|
|
2
2
|
|
|
3
|
-
export declare const ImageWithText: ({ image, text,
|
|
3
|
+
export declare const ImageWithText: ({ image, text, title, view, colorScheme }: TImageWithTextProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,35 +1,35 @@
|
|
|
1
|
-
import { jsx as i, jsxs as
|
|
2
|
-
import { HighlightedTitle as
|
|
3
|
-
import { Typography as
|
|
4
|
-
import { cn as
|
|
1
|
+
import { jsx as i, jsxs as n } from "react/jsx-runtime";
|
|
2
|
+
import { HighlightedTitle as c } from "../../components/HighlightedTitle/HighlightedTitle.es.js";
|
|
3
|
+
import { Typography as t } from "../../components/Typography/Typography.es.js";
|
|
4
|
+
import { cn as s } from "../../utils/cn/cn.es.js";
|
|
5
5
|
import a from "./imageWithText.module.css.es.js";
|
|
6
|
-
const
|
|
7
|
-
/* @__PURE__ */ i("div", { className: a.imageContainer, children: /* @__PURE__ */ i("img", { src:
|
|
8
|
-
/* @__PURE__ */
|
|
6
|
+
const x = ({ image: o, text: e, title: l, view: r, colorScheme: m }) => /* @__PURE__ */ i("section", { className: a.root, "data-scheme": m, children: /* @__PURE__ */ n("div", { className: a.container, children: [
|
|
7
|
+
/* @__PURE__ */ i("div", { className: a.imageContainer, children: /* @__PURE__ */ i("img", { src: o, alt: "background image", className: a.image }) }),
|
|
8
|
+
/* @__PURE__ */ n(
|
|
9
9
|
"div",
|
|
10
10
|
{
|
|
11
|
-
className:
|
|
12
|
-
[a.textAlignLeft]:
|
|
13
|
-
[a.textAlignRight]:
|
|
11
|
+
className: s(a.content, {
|
|
12
|
+
[a.textAlignLeft]: r === "plain",
|
|
13
|
+
[a.textAlignRight]: r === "complex"
|
|
14
14
|
}),
|
|
15
15
|
children: [
|
|
16
|
-
|
|
17
|
-
/* @__PURE__ */ i(
|
|
18
|
-
|
|
16
|
+
r === "complex" && /* @__PURE__ */ n("div", { className: a.richTextContainer, children: [
|
|
17
|
+
l && /* @__PURE__ */ i(
|
|
18
|
+
c,
|
|
19
19
|
{
|
|
20
20
|
colorScheme: "dark",
|
|
21
|
-
title:
|
|
21
|
+
title: l,
|
|
22
22
|
defaultVariant: "displayXs",
|
|
23
23
|
mobileVariant: "headingLg"
|
|
24
24
|
}
|
|
25
25
|
),
|
|
26
|
-
/* @__PURE__ */ i(
|
|
26
|
+
e && /* @__PURE__ */ i(t, { defaultVariant: "bodyMd", mobileVariant: "bodySm", children: e })
|
|
27
27
|
] }),
|
|
28
|
-
r && /* @__PURE__ */ i("div", { className: a.textContainer, children: /* @__PURE__ */ i(
|
|
28
|
+
r === "plain" && e && /* @__PURE__ */ i("div", { className: a.textContainer, children: /* @__PURE__ */ i(t, { defaultVariant: "displayXs", mobileVariant: "headingXs", children: e }) })
|
|
29
29
|
]
|
|
30
30
|
}
|
|
31
31
|
)
|
|
32
32
|
] }) });
|
|
33
33
|
export {
|
|
34
|
-
|
|
34
|
+
x as ImageWithText
|
|
35
35
|
};
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
|
+
import { TColorScheme } from '../../types/common';
|
|
2
3
|
|
|
3
4
|
export type TImageWithTextProps = {
|
|
4
5
|
image: string;
|
|
5
|
-
text?: string;
|
|
6
6
|
title?: ReactNode;
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
text?: ReactNode;
|
|
8
|
+
view: 'plain' | 'complex';
|
|
9
|
+
colorScheme: TColorScheme;
|
|
9
10
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("react/jsx-runtime"),r=require("react"),o=require("./components/Ingredient/Ingredient.cjs.js"),n=require("./ingredientHighlight.module.css.cjs.js"),g=({ingredients:a})=>{const[s,c]=r.useState(0),l=i=>{c(e=>e===i?e:i)};return t.jsx("section",{className:n.default.root,children:t.jsxs("div",{className:n.default.container,children:[t.jsx("div",{className:n.default.imageContainer,children:t.jsx("img",{src:a[s].image,alt:"background image",className:n.default.image})}),t.jsx("div",{className:n.default.ingredients,children:a.map((i,e)=>t.jsx(o.Ingredient,{label:i.label,content:i.content,isOpen:s===e,index:e,onClick:l},e))})]})})};exports.IngredientHighlight=g;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { jsx as a, jsxs as m } from "react/jsx-runtime";
|
|
2
|
+
import { useState as r } from "react";
|
|
3
|
+
import { Ingredient as l } from "./components/Ingredient/Ingredient.es.js";
|
|
4
|
+
import s from "./ingredientHighlight.module.css.es.js";
|
|
5
|
+
const I = ({ ingredients: i }) => {
|
|
6
|
+
const [o, c] = r(0), n = (t) => {
|
|
7
|
+
c((e) => e === t ? e : t);
|
|
8
|
+
};
|
|
9
|
+
return /* @__PURE__ */ a("section", { className: s.root, children: /* @__PURE__ */ m("div", { className: s.container, children: [
|
|
10
|
+
/* @__PURE__ */ a("div", { className: s.imageContainer, children: /* @__PURE__ */ a("img", { src: i[o].image, alt: "background image", className: s.image }) }),
|
|
11
|
+
/* @__PURE__ */ a("div", { className: s.ingredients, children: i.map((t, e) => /* @__PURE__ */ a(
|
|
12
|
+
l,
|
|
13
|
+
{
|
|
14
|
+
label: t.label,
|
|
15
|
+
content: t.content,
|
|
16
|
+
isOpen: o === e,
|
|
17
|
+
index: e,
|
|
18
|
+
onClick: n
|
|
19
|
+
},
|
|
20
|
+
e
|
|
21
|
+
)) })
|
|
22
|
+
] }) });
|
|
23
|
+
};
|
|
24
|
+
export {
|
|
25
|
+
I as IngredientHighlight
|
|
26
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),t=require("../../../../components/Typography/Typography.cjs.js"),d=require("../../../../utils/cn/cn.cjs.js"),r=require("./ingredient.module.css.cjs.js"),c=({label:i,content:a,isOpen:n,index:o,onClick:s})=>e.jsxs("div",{onClick:()=>s(o??0),className:d.cn(r.default.root,{[r.default.rootOpened]:n}),children:[e.jsx("div",{className:r.default.header,children:e.jsx(t.Typography,{defaultVariant:"headingXs",children:i})}),e.jsx("div",{className:d.cn(r.default.description,{[r.default.descriptionOpened]:n}),children:e.jsx(t.Typography,{as:"p",defaultVariant:"bodySm",children:a})})]});exports.Ingredient=c;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { jsxs as c, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { Typography as o } from "../../../../components/Typography/Typography.es.js";
|
|
3
|
+
import { cn as d } from "../../../../utils/cn/cn.es.js";
|
|
4
|
+
import r from "./ingredient.module.css.es.js";
|
|
5
|
+
const f = ({ label: n, content: t, isOpen: i, index: a, onClick: s }) => /* @__PURE__ */ c("div", { onClick: () => s(a ?? 0), className: d(r.root, { [r.rootOpened]: i }), children: [
|
|
6
|
+
/* @__PURE__ */ e("div", { className: r.header, children: /* @__PURE__ */ e(o, { defaultVariant: "headingXs", children: n }) }),
|
|
7
|
+
/* @__PURE__ */ e("div", { className: d(r.description, { [r.descriptionOpened]: i }), children: /* @__PURE__ */ e(o, { as: "p", defaultVariant: "bodySm", children: t }) })
|
|
8
|
+
] });
|
|
9
|
+
export {
|
|
10
|
+
f as Ingredient
|
|
11
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="ingredient-module__root___kt-ps",o="ingredient-module__rootOpened___5PA6m",t="ingredient-module__header___BDlV9",d="ingredient-module__description___sO6x5",n="ingredient-module__descriptionOpened___jgqeG",i={root:e,rootOpened:o,header:t,description:d,descriptionOpened:n};exports.default=i;exports.description=d;exports.descriptionOpened=n;exports.header=t;exports.root=e;exports.rootOpened=o;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
const e = "ingredient-module__root___kt-ps", o = "ingredient-module__rootOpened___5PA6m", n = "ingredient-module__header___BDlV9", t = "ingredient-module__description___sO6x5", d = "ingredient-module__descriptionOpened___jgqeG", _ = {
|
|
2
|
+
root: e,
|
|
3
|
+
rootOpened: o,
|
|
4
|
+
header: n,
|
|
5
|
+
description: t,
|
|
6
|
+
descriptionOpened: d
|
|
7
|
+
};
|
|
8
|
+
export {
|
|
9
|
+
_ as default,
|
|
10
|
+
t as description,
|
|
11
|
+
d as descriptionOpened,
|
|
12
|
+
n as header,
|
|
13
|
+
e as root,
|
|
14
|
+
o as rootOpened
|
|
15
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Ingredient } from './Ingredient';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="ingredientHighlight-module__root___kFynb",i="ingredientHighlight-module__container___qdYEG",n="ingredientHighlight-module__imageContainer___KJD3-",t="ingredientHighlight-module__image___jJPWe",o="ingredientHighlight-module__ingredients___AQX1i",g={root:e,container:i,imageContainer:n,image:t,ingredients:o};exports.container=i;exports.default=g;exports.image=t;exports.imageContainer=n;exports.ingredients=o;exports.root=e;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
const i = "ingredientHighlight-module__root___kFynb", e = "ingredientHighlight-module__container___qdYEG", n = "ingredientHighlight-module__imageContainer___KJD3-", t = "ingredientHighlight-module__image___jJPWe", _ = "ingredientHighlight-module__ingredients___AQX1i", g = {
|
|
2
|
+
root: i,
|
|
3
|
+
container: e,
|
|
4
|
+
imageContainer: n,
|
|
5
|
+
image: t,
|
|
6
|
+
ingredients: _
|
|
7
|
+
};
|
|
8
|
+
export {
|
|
9
|
+
e as container,
|
|
10
|
+
g as default,
|
|
11
|
+
t as image,
|
|
12
|
+
n as imageContainer,
|
|
13
|
+
_ as ingredients,
|
|
14
|
+
i as root
|
|
15
|
+
};
|