@zenpatient-org/healthspan-marketing-ui 0.1.27 → 0.1.29
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/components/StepsCarousel/StepsCarousel.cjs.js +1 -1
- package/dist/components/StepsCarousel/StepsCarousel.es.js +38 -42
- 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/dist/pageComponents/Bubbles/Bubbles.cjs.js +1 -1
- package/dist/pageComponents/Bubbles/Bubbles.es.js +12 -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,63 +1,65 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { jsxs as c, jsx as
|
|
3
|
-
import { useState as
|
|
4
|
-
import { Typography as
|
|
5
|
-
import { PlayButton as
|
|
6
|
-
import { cn as
|
|
7
|
-
import { Product as
|
|
2
|
+
import { jsxs as c, jsx as s } from "react/jsx-runtime";
|
|
3
|
+
import { useState as g, useRef as h, useEffect as u } from "react";
|
|
4
|
+
import { Typography as y } from "../../../../components/Typography/Typography.es.js";
|
|
5
|
+
import { PlayButton as b } from "../../../../components/PlayButton/PlayButton.es.js";
|
|
6
|
+
import { cn as v } from "../../../../utils/cn/cn.es.js";
|
|
7
|
+
import { Product as C } from "../Product/Product.es.js";
|
|
8
8
|
import r from "./videoCard.module.css.es.js";
|
|
9
|
-
const
|
|
10
|
-
var
|
|
11
|
-
const [e,
|
|
12
|
-
return
|
|
13
|
-
const
|
|
9
|
+
const j = ({ product: t, review: i, background: f, isActive: d }) => {
|
|
10
|
+
var p;
|
|
11
|
+
const [e, n] = g(!1), a = h(null), m = h(null);
|
|
12
|
+
return u(() => {
|
|
13
|
+
const l = new IntersectionObserver(
|
|
14
14
|
([o]) => {
|
|
15
|
-
!o.isIntersecting && e &&
|
|
15
|
+
!o.isIntersecting && e && n(!1);
|
|
16
16
|
},
|
|
17
17
|
{ threshold: 0.2 }
|
|
18
18
|
);
|
|
19
|
-
return m.current &&
|
|
20
|
-
}, [e]),
|
|
21
|
-
|
|
19
|
+
return m.current && l.observe(m.current), () => l.disconnect();
|
|
20
|
+
}, [e]), u(() => {
|
|
21
|
+
d || n(!1);
|
|
22
|
+
}, [d]), u(() => {
|
|
23
|
+
!e && a.current && (a.current.pause(), a.current.currentTime = 0);
|
|
22
24
|
}, [e]), /* @__PURE__ */ c(
|
|
23
25
|
"div",
|
|
24
26
|
{
|
|
25
27
|
className: r.root,
|
|
26
28
|
ref: m,
|
|
27
|
-
onClick: () => e ?
|
|
28
|
-
style: { backgroundImage: `url(${
|
|
29
|
+
onClick: () => e ? n(!1) : void 0,
|
|
30
|
+
style: { backgroundImage: `url(${f.preview})` },
|
|
29
31
|
children: [
|
|
30
32
|
/* @__PURE__ */ c("div", { className: r.mediaContainer, children: [
|
|
31
|
-
/* @__PURE__ */
|
|
33
|
+
/* @__PURE__ */ s(
|
|
32
34
|
"video",
|
|
33
35
|
{
|
|
34
|
-
ref:
|
|
35
|
-
src:
|
|
36
|
+
ref: a,
|
|
37
|
+
src: f.url,
|
|
36
38
|
playsInline: !0,
|
|
37
39
|
controls: !1,
|
|
38
|
-
muted: !
|
|
39
|
-
|
|
40
|
-
className:
|
|
40
|
+
muted: !1,
|
|
41
|
+
onEnded: () => n(!1),
|
|
42
|
+
className: v(r.media, !e && r.mediaHidden)
|
|
41
43
|
}
|
|
42
44
|
),
|
|
43
|
-
!e && /* @__PURE__ */
|
|
44
|
-
|
|
45
|
+
!e && /* @__PURE__ */ s("div", { className: r.playButton, children: /* @__PURE__ */ s(
|
|
46
|
+
b,
|
|
45
47
|
{
|
|
46
|
-
onClick: (
|
|
48
|
+
onClick: (l) => {
|
|
47
49
|
var o;
|
|
48
|
-
|
|
50
|
+
l.stopPropagation(), (o = a.current) == null || o.play(), n(!0);
|
|
49
51
|
}
|
|
50
52
|
}
|
|
51
53
|
) })
|
|
52
54
|
] }),
|
|
53
55
|
/* @__PURE__ */ c("div", { className: r.infoContainer, children: [
|
|
54
|
-
((
|
|
55
|
-
|
|
56
|
+
((p = i == null ? void 0 : i.author) == null ? void 0 : p.username) && /* @__PURE__ */ s(y, { as: "p", defaultVariant: "labelSm", mobileVariant: "labelXs", emphasis: !0, weight: "regular", children: i.author.username }),
|
|
57
|
+
t && /* @__PURE__ */ s(C, { image: t.image, name: t.name, link: t.link })
|
|
56
58
|
] })
|
|
57
59
|
]
|
|
58
60
|
}
|
|
59
61
|
);
|
|
60
62
|
};
|
|
61
63
|
export {
|
|
62
|
-
|
|
64
|
+
j as VideoCard
|
|
63
65
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="testimonial-module__root___Y3TlQ",o="testimonial-module__headerContainer___-FGrO",t="testimonial-module__headerRow___0JTHr",i="testimonial-module__ratingContainer___U9FDs",n="testimonial-module__content___BCbh-",
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="testimonial-module__root___Y3TlQ",o="testimonial-module__headerContainer___-FGrO",t="testimonial-module__headerRow___0JTHr",i="testimonial-module__ratingContainer___U9FDs",n="testimonial-module__content___BCbh-",_="testimonial-module__swiper___Necxi",a="testimonial-module__swiperSlide___NvGru",s="testimonial-module__mobile___-hB8U",l="testimonial-module__mobileNavigation___C1PT2",r="testimonial-module__desktop___D6s9T",d="testimonial-module__desktopNavigation___nwHQV",m={root:e,headerContainer:o,headerRow:t,ratingContainer:i,content:n,swiper:_,swiperSlide:a,mobile:s,mobileNavigation:l,desktop:r,desktopNavigation:d};exports.content=n;exports.default=m;exports.desktop=r;exports.desktopNavigation=d;exports.headerContainer=o;exports.headerRow=t;exports.mobile=s;exports.mobileNavigation=l;exports.ratingContainer=i;exports.root=e;exports.swiper=_;exports.swiperSlide=a;
|
|
@@ -1,25 +1,27 @@
|
|
|
1
|
-
const
|
|
2
|
-
root:
|
|
3
|
-
headerContainer:
|
|
1
|
+
const o = "testimonial-module__root___Y3TlQ", e = "testimonial-module__headerContainer___-FGrO", t = "testimonial-module__headerRow___0JTHr", i = "testimonial-module__ratingContainer___U9FDs", _ = "testimonial-module__content___BCbh-", n = "testimonial-module__swiper___Necxi", a = "testimonial-module__swiperSlide___NvGru", s = "testimonial-module__mobile___-hB8U", l = "testimonial-module__mobileNavigation___C1PT2", m = "testimonial-module__desktop___D6s9T", r = "testimonial-module__desktopNavigation___nwHQV", d = {
|
|
2
|
+
root: o,
|
|
3
|
+
headerContainer: e,
|
|
4
4
|
headerRow: t,
|
|
5
5
|
ratingContainer: i,
|
|
6
6
|
content: _,
|
|
7
7
|
swiper: n,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
mobileNavigation:
|
|
11
|
-
|
|
8
|
+
swiperSlide: a,
|
|
9
|
+
mobile: s,
|
|
10
|
+
mobileNavigation: l,
|
|
11
|
+
desktop: m,
|
|
12
|
+
desktopNavigation: r
|
|
12
13
|
};
|
|
13
14
|
export {
|
|
14
15
|
_ as content,
|
|
15
16
|
d as default,
|
|
16
|
-
|
|
17
|
-
|
|
17
|
+
m as desktop,
|
|
18
|
+
r as desktopNavigation,
|
|
19
|
+
e as headerContainer,
|
|
18
20
|
t as headerRow,
|
|
19
|
-
s as
|
|
21
|
+
s as mobile,
|
|
22
|
+
l as mobileNavigation,
|
|
20
23
|
i as ratingContainer,
|
|
21
|
-
|
|
24
|
+
o as root,
|
|
22
25
|
n as swiper,
|
|
23
|
-
|
|
24
|
-
a as swiperWrapper
|
|
26
|
+
a as swiperSlide
|
|
25
27
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),
|
|
1
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),u=require("react"),o=require("../../../../components/Typography/Typography.cjs.js"),b=require("../../../../utils/cn/cn.cjs.js"),l=require("./timelineContent.module.css.cjs.js");function T(r){const t=r.slice();for(let n=t.length-1;n>0;n--){const i=Math.floor(Math.random()*(n+1));[t[n],t[i]]=[t[i],t[n]]}return t}const j=[{key:"optimal",label:"Optimal"},{key:"inRange",label:"In Range"},{key:"outOfRange",label:"Out of Range"}],x=({tabs:r})=>{const[t,n]=u.useState(0),i=u.useRef(null),{optimal:h,inRange:m,outOfRange:f}=r[t],g=u.useMemo(()=>T([...Array(h).fill("optimal"),...Array(m).fill("inRange"),...Array(f).fill("outOfRange")]),[h,m,f]),p=u.useCallback(a=>{i.current=a.touches[0].clientX},[]),y=u.useCallback(a=>{if(i.current===null)return;const d=a.changedTouches[0].clientX-i.current;Math.abs(d)>50&&n(c=>d<0&&c<r.length-1?c+1:d>0&&c>0?c-1:c),i.current=null},[r.length]);return e.jsx("div",{className:l.default.root,children:e.jsxs("div",{className:l.default.container,children:[e.jsxs("div",{className:l.default.content,onTouchStart:p,onTouchEnd:y,children:[e.jsx("div",{className:l.default.metricsContainer,children:j.map((a,s)=>e.jsxs("div",{className:l.default.metric,children:[e.jsx(o.Typography,{defaultVariant:"displayLg",mobileVariant:"displaySm",weight:"regular",children:r[t][a.key]}),e.jsxs("div",{className:l.default.metricTitle,children:[e.jsx(o.Typography,{as:"p",defaultVariant:"labelSm",mobileVariant:"labelXs",emphasis:!0,weight:"regular",children:"("}),e.jsx(o.Typography,{as:"p",defaultVariant:"labelSm",mobileVariant:"labelXs",emphasis:!0,weight:"regular",children:a.label}),e.jsx("div",{className:l.default.circle,"data-value":a.key}),e.jsx(o.Typography,{as:"p",defaultVariant:"labelSm",mobileVariant:"labelXs",emphasis:!0,weight:"regular",children:")"})]})]},`${a.key}_${s}`))}),e.jsx("div",{className:l.default.canvas,children:g.map((a,s)=>e.jsx("div",{className:l.default.circle,"data-value":a},s))})]}),e.jsx("div",{className:l.default.tabsContainer,children:r.map((a,s)=>e.jsx("button",{className:b.cn(l.default.tab,t===s&&l.default.tabActive),onClick:()=>n(s),children:e.jsx(o.Typography,{defaultVariant:"labelMd",mobileVariant:"labelXs",emphasis:!0,weight:"regular",children:a.label})},a.label))})]})})};exports.TimelineContent=x;
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
import { useState as
|
|
2
|
+
import { jsx as a, jsxs as u } from "react/jsx-runtime";
|
|
3
|
+
import { useState as v, useRef as N, useMemo as T, useCallback as g } from "react";
|
|
4
4
|
import { Typography as o } from "../../../../components/Typography/Typography.es.js";
|
|
5
|
-
import { cn as
|
|
6
|
-
import
|
|
7
|
-
function
|
|
8
|
-
const
|
|
9
|
-
for (let t =
|
|
10
|
-
const
|
|
11
|
-
[
|
|
5
|
+
import { cn as R } from "../../../../utils/cn/cn.es.js";
|
|
6
|
+
import l from "./timelineContent.module.css.es.js";
|
|
7
|
+
function V(i) {
|
|
8
|
+
const n = i.slice();
|
|
9
|
+
for (let t = n.length - 1; t > 0; t--) {
|
|
10
|
+
const r = Math.floor(Math.random() * (t + 1));
|
|
11
|
+
[n[t], n[r]] = [n[r], n[t]];
|
|
12
12
|
}
|
|
13
|
-
return
|
|
13
|
+
return n;
|
|
14
14
|
}
|
|
15
|
-
const
|
|
15
|
+
const X = [
|
|
16
16
|
{
|
|
17
17
|
key: "optimal",
|
|
18
18
|
label: "Optimal"
|
|
@@ -25,18 +25,27 @@ const g = [
|
|
|
25
25
|
key: "outOfRange",
|
|
26
26
|
label: "Out of Range"
|
|
27
27
|
}
|
|
28
|
-
],
|
|
29
|
-
const [
|
|
30
|
-
...Array(
|
|
31
|
-
...Array(
|
|
32
|
-
...Array(
|
|
33
|
-
]), [
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
28
|
+
], E = ({ tabs: i }) => {
|
|
29
|
+
const [n, t] = v(0), r = N(null), { optimal: h, inRange: d, outOfRange: f } = i[n], b = T(() => V([
|
|
30
|
+
...Array(h).fill("optimal"),
|
|
31
|
+
...Array(d).fill("inRange"),
|
|
32
|
+
...Array(f).fill("outOfRange")
|
|
33
|
+
]), [h, d, f]), p = g((e) => {
|
|
34
|
+
r.current = e.touches[0].clientX;
|
|
35
|
+
}, []), y = g(
|
|
36
|
+
(e) => {
|
|
37
|
+
if (r.current === null) return;
|
|
38
|
+
const m = e.changedTouches[0].clientX - r.current;
|
|
39
|
+
Math.abs(m) > 50 && t((s) => m < 0 && s < i.length - 1 ? s + 1 : m > 0 && s > 0 ? s - 1 : s), r.current = null;
|
|
40
|
+
},
|
|
41
|
+
[i.length]
|
|
42
|
+
);
|
|
43
|
+
return /* @__PURE__ */ a("div", { className: l.root, children: /* @__PURE__ */ u("div", { className: l.container, children: [
|
|
44
|
+
/* @__PURE__ */ u("div", { className: l.content, onTouchStart: p, onTouchEnd: y, children: [
|
|
45
|
+
/* @__PURE__ */ a("div", { className: l.metricsContainer, children: X.map((e, c) => /* @__PURE__ */ u("div", { className: l.metric, children: [
|
|
46
|
+
/* @__PURE__ */ a(o, { defaultVariant: "displayLg", mobileVariant: "displaySm", weight: "regular", children: i[n][e.key] }),
|
|
47
|
+
/* @__PURE__ */ u("div", { className: l.metricTitle, children: [
|
|
48
|
+
/* @__PURE__ */ a(
|
|
40
49
|
o,
|
|
41
50
|
{
|
|
42
51
|
as: "p",
|
|
@@ -47,7 +56,7 @@ const g = [
|
|
|
47
56
|
children: "("
|
|
48
57
|
}
|
|
49
58
|
),
|
|
50
|
-
/* @__PURE__ */
|
|
59
|
+
/* @__PURE__ */ a(
|
|
51
60
|
o,
|
|
52
61
|
{
|
|
53
62
|
as: "p",
|
|
@@ -55,11 +64,11 @@ const g = [
|
|
|
55
64
|
mobileVariant: "labelXs",
|
|
56
65
|
emphasis: !0,
|
|
57
66
|
weight: "regular",
|
|
58
|
-
children:
|
|
67
|
+
children: e.label
|
|
59
68
|
}
|
|
60
69
|
),
|
|
61
|
-
/* @__PURE__ */
|
|
62
|
-
/* @__PURE__ */
|
|
70
|
+
/* @__PURE__ */ a("div", { className: l.circle, "data-value": e.key }),
|
|
71
|
+
/* @__PURE__ */ a(
|
|
63
72
|
o,
|
|
64
73
|
{
|
|
65
74
|
as: "p",
|
|
@@ -71,20 +80,20 @@ const g = [
|
|
|
71
80
|
}
|
|
72
81
|
)
|
|
73
82
|
] })
|
|
74
|
-
] },
|
|
75
|
-
/* @__PURE__ */
|
|
83
|
+
] }, `${e.key}_${c}`)) }),
|
|
84
|
+
/* @__PURE__ */ a("div", { className: l.canvas, children: b.map((e, c) => /* @__PURE__ */ a("div", { className: l.circle, "data-value": e }, c)) })
|
|
76
85
|
] }),
|
|
77
|
-
/* @__PURE__ */
|
|
86
|
+
/* @__PURE__ */ a("div", { className: l.tabsContainer, children: i.map((e, c) => /* @__PURE__ */ a(
|
|
78
87
|
"button",
|
|
79
88
|
{
|
|
80
|
-
className:
|
|
81
|
-
onClick: () => t(
|
|
82
|
-
children: /* @__PURE__ */
|
|
89
|
+
className: R(l.tab, n === c && l.tabActive),
|
|
90
|
+
onClick: () => t(c),
|
|
91
|
+
children: /* @__PURE__ */ a(o, { defaultVariant: "labelMd", mobileVariant: "labelXs", emphasis: !0, weight: "regular", children: e.label })
|
|
83
92
|
},
|
|
84
|
-
|
|
93
|
+
e.label
|
|
85
94
|
)) })
|
|
86
|
-
] });
|
|
95
|
+
] }) });
|
|
87
96
|
};
|
|
88
97
|
export {
|
|
89
|
-
|
|
98
|
+
E as TimelineContent
|
|
90
99
|
};
|
package/dist/modules/TrackProgress/components/TimelineContent/timelineContent.module.css.cjs.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t="timelineContent-module__root___5V2gz",e="timelineContent-
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t="timelineContent-module__root___5V2gz",e="timelineContent-module__container___DSrBq",n="timelineContent-module__content___HS3bJ",o="timelineContent-module__metricsContainer___Bl9Mq",i="timelineContent-module__metric___QgjTy",_="timelineContent-module__metricTitle___NgmIf",c="timelineContent-module__canvas___nyUmZ",r="timelineContent-module__circle___FOAjD",l="timelineContent-module__tabsContainer___drNVG",a="timelineContent-module__tab___sCTOs",m="timelineContent-module__tabActive___Oa023",s={root:t,container:e,content:n,metricsContainer:o,metric:i,metricTitle:_,canvas:c,circle:r,tabsContainer:l,tab:a,tabActive:m};exports.canvas=c;exports.circle=r;exports.container=e;exports.content=n;exports.default=s;exports.metric=i;exports.metricTitle=_;exports.metricsContainer=o;exports.root=t;exports.tab=a;exports.tabActive=m;exports.tabsContainer=l;
|
package/dist/modules/TrackProgress/components/TimelineContent/timelineContent.module.css.es.js
CHANGED
|
@@ -1,25 +1,27 @@
|
|
|
1
|
-
const t = "timelineContent-module__root___5V2gz", e = "timelineContent-
|
|
1
|
+
const t = "timelineContent-module__root___5V2gz", e = "timelineContent-module__container___DSrBq", n = "timelineContent-module__content___HS3bJ", _ = "timelineContent-module__metricsContainer___Bl9Mq", o = "timelineContent-module__metric___QgjTy", i = "timelineContent-module__metricTitle___NgmIf", c = "timelineContent-module__canvas___nyUmZ", m = "timelineContent-module__circle___FOAjD", l = "timelineContent-module__tabsContainer___drNVG", a = "timelineContent-module__tab___sCTOs", r = "timelineContent-module__tabActive___Oa023", s = {
|
|
2
2
|
root: t,
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
3
|
+
container: e,
|
|
4
|
+
content: n,
|
|
5
|
+
metricsContainer: _,
|
|
6
|
+
metric: o,
|
|
7
|
+
metricTitle: i,
|
|
8
|
+
canvas: c,
|
|
9
|
+
circle: m,
|
|
10
|
+
tabsContainer: l,
|
|
11
|
+
tab: a,
|
|
12
|
+
tabActive: r
|
|
12
13
|
};
|
|
13
14
|
export {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
e as
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
o as
|
|
20
|
-
|
|
15
|
+
c as canvas,
|
|
16
|
+
m as circle,
|
|
17
|
+
e as container,
|
|
18
|
+
n as content,
|
|
19
|
+
s as default,
|
|
20
|
+
o as metric,
|
|
21
|
+
i as metricTitle,
|
|
22
|
+
_ as metricsContainer,
|
|
21
23
|
t as root,
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
24
|
+
a as tab,
|
|
25
|
+
r as tabActive,
|
|
26
|
+
l as tabsContainer
|
|
25
27
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("react/jsx-runtime"),t=require("react"),n=require("../../utils/cn/cn.cjs.js"),e=require("./bubbles.module.css.cjs.js"),r=["xs","lg","sm","sm","xl","sm","xl","xl","xl","md","md","md","lg"],b=({className:a})=>{const[u,o]=t.useState(!1),[i,m]=t.useState(!1),c=t.useRef(null);return s.jsx("section",{ref:c,className:n.cn(e.default.root,a),children:s.jsx("div",{className:e.default.container,children:r.map((d,l)=>s.jsx("div",{className:n.cn(e.default.bubble,(i||u)&&e.default.bubbleFinished),"data-size":d,"data-index":l},l))})})};exports.Bubbles=b;
|
|
@@ -1,28 +1,20 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { jsx as
|
|
3
|
-
import { useState as
|
|
4
|
-
import { cn as
|
|
5
|
-
import
|
|
6
|
-
const
|
|
7
|
-
const [n,
|
|
8
|
-
return
|
|
9
|
-
const s = new window.IntersectionObserver(
|
|
10
|
-
([e]) => {
|
|
11
|
-
e.isIntersecting && e.intersectionRatio === 1 && !n && !r && (a(!0), setTimeout(() => d(!0), 5e3));
|
|
12
|
-
},
|
|
13
|
-
{ threshold: 1 }
|
|
14
|
-
);
|
|
15
|
-
return i.current && s.observe(i.current), () => s.disconnect();
|
|
16
|
-
}, [n, r]), /* @__PURE__ */ o("section", { ref: i, className: l(t.root, m), children: /* @__PURE__ */ o("div", { className: t.container, children: f.map((s, e) => /* @__PURE__ */ o(
|
|
2
|
+
import { jsx as e } from "react/jsx-runtime";
|
|
3
|
+
import { useState as l, useRef as c } from "react";
|
|
4
|
+
import { cn as i } from "../../utils/cn/cn.es.js";
|
|
5
|
+
import s from "./bubbles.module.css.es.js";
|
|
6
|
+
const d = ["xs", "lg", "sm", "sm", "xl", "sm", "xl", "xl", "xl", "md", "md", "md", "lg"], N = ({ className: m }) => {
|
|
7
|
+
const [n, b] = l(!1), [a, f] = l(!1), o = c(null);
|
|
8
|
+
return /* @__PURE__ */ e("section", { ref: o, className: i(s.root, m), children: /* @__PURE__ */ e("div", { className: s.container, children: d.map((r, t) => /* @__PURE__ */ e(
|
|
17
9
|
"div",
|
|
18
10
|
{
|
|
19
|
-
className:
|
|
20
|
-
"data-size":
|
|
21
|
-
"data-index":
|
|
11
|
+
className: i(s.bubble, (a || n) && s.bubbleFinished),
|
|
12
|
+
"data-size": r,
|
|
13
|
+
"data-index": t
|
|
22
14
|
},
|
|
23
|
-
|
|
15
|
+
t
|
|
24
16
|
)) }) });
|
|
25
17
|
};
|
|
26
18
|
export {
|
|
27
|
-
|
|
19
|
+
N as Bubbles
|
|
28
20
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zenpatient-org/healthspan-marketing-ui",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.29",
|
|
4
4
|
"description": "Design system",
|
|
5
5
|
"main": "dist/index.cjs.js",
|
|
6
6
|
"module": "dist/index.es.js",
|
|
@@ -223,10 +223,10 @@
|
|
|
223
223
|
"import": "./dist/components/ComplexImageCarousel/ComplexImageCarousel.es.js",
|
|
224
224
|
"require": "./dist/components/ComplexImageCarousel/ComplexImageCarousel.cjs.js"
|
|
225
225
|
},
|
|
226
|
-
"./
|
|
227
|
-
"types": "./dist/components/
|
|
228
|
-
"import": "./dist/components/
|
|
229
|
-
"require": "./dist/components/
|
|
226
|
+
"./FAQComponent": {
|
|
227
|
+
"types": "./dist/components/FAQComponent/FAQComponent.d.ts",
|
|
228
|
+
"import": "./dist/components/FAQComponent/FAQComponent.es.js",
|
|
229
|
+
"require": "./dist/components/FAQComponent/FAQComponent.cjs.js"
|
|
230
230
|
},
|
|
231
231
|
"./IconBracket": {
|
|
232
232
|
"types": "./dist/components/IconBracket/IconBracket.d.ts",
|
|
@@ -248,6 +248,11 @@
|
|
|
248
248
|
"import": "./dist/components/PlayButton/PlayButton.es.js",
|
|
249
249
|
"require": "./dist/components/PlayButton/PlayButton.cjs.js"
|
|
250
250
|
},
|
|
251
|
+
"./Pagination": {
|
|
252
|
+
"types": "./dist/components/Pagination/Pagination.d.ts",
|
|
253
|
+
"import": "./dist/components/Pagination/Pagination.es.js",
|
|
254
|
+
"require": "./dist/components/Pagination/Pagination.cjs.js"
|
|
255
|
+
},
|
|
251
256
|
"./CallbackModule": {
|
|
252
257
|
"types": "./dist/modules/Callback/Callback.d.ts",
|
|
253
258
|
"import": "./dist/modules/Callback/Callback.es.js",
|
|
@@ -358,6 +363,26 @@
|
|
|
358
363
|
"import": "./dist/modules/TrackProgress/TrackProgress.es.js",
|
|
359
364
|
"require": "./dist/modules/TrackProgress/TrackProgress.cjs.js"
|
|
360
365
|
},
|
|
366
|
+
"./IngredientHighlight": {
|
|
367
|
+
"types": "./dist/modules/IngredientHighlight/IngredientHighlight.d.ts",
|
|
368
|
+
"import": "./dist/modules/IngredientHighlight/IngredientHighlight.es.js",
|
|
369
|
+
"require": "./dist/modules/IngredientHighlight/IngredientHighlight.cjs.js"
|
|
370
|
+
},
|
|
371
|
+
"./FAQModule": {
|
|
372
|
+
"types": "./dist/modules/FAQModule/FAQModule.d.ts",
|
|
373
|
+
"import": "./dist/modules/FAQModule/FAQModule.es.js",
|
|
374
|
+
"require": "./dist/modules/FAQModule/FAQModule.cjs.js"
|
|
375
|
+
},
|
|
376
|
+
"./HighestStandards": {
|
|
377
|
+
"types": "./dist/modules/HighestStandards/HighestStandards.d.ts",
|
|
378
|
+
"import": "./dist/modules/HighestStandards/HighestStandards.es.js",
|
|
379
|
+
"require": "./dist/modules/HighestStandards/HighestStandards.cjs.js"
|
|
380
|
+
},
|
|
381
|
+
"./Reviews": {
|
|
382
|
+
"types": "./dist/modules/Reviews/Reviews.d.ts",
|
|
383
|
+
"import": "./dist/modules/Reviews/Reviews.es.js",
|
|
384
|
+
"require": "./dist/modules/Reviews/Reviews.cjs.js"
|
|
385
|
+
},
|
|
361
386
|
"./Bubbles": {
|
|
362
387
|
"types": "./dist/pageComponents/Bubbles/Bubbles.d.ts",
|
|
363
388
|
"import": "./dist/pageComponents/Bubbles/Bubbles.es.js",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("react/jsx-runtime"),s=require("react"),p=require("./components/AccordionItem/AccordionItem.cjs.js"),I=require("./accordion.module.css.cjs.js"),S=({items:r,mode:c="multiple"})=>{const[l,i]=s.useState(null),[u,a]=s.useState(new Set),d=e=>{c==="single"?i(t=>t===e?null:e):a(t=>{const n=new Set(t);return n.has(e)?n.delete(e):n.add(e),n})},m=e=>c==="single"?l===e:u.has(e);return o.jsx("div",{className:I.default.root,children:r.map((e,t)=>o.jsx(p.AccordionItem,{title:e.title,content:e.content,isOpen:m(t),index:t,onClick:d},t))})};exports.Accordion=S;
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { jsx as n } from "react/jsx-runtime";
|
|
3
|
-
import { useState as l } from "react";
|
|
4
|
-
import { AccordionItem as f } from "./components/AccordionItem/AccordionItem.es.js";
|
|
5
|
-
import I from "./accordion.module.css.es.js";
|
|
6
|
-
const w = ({ items: c, mode: s = "multiple" }) => {
|
|
7
|
-
const [r, i] = l(null), [m, p] = l(/* @__PURE__ */ new Set()), a = (t) => {
|
|
8
|
-
s === "single" ? i((e) => e === t ? null : t) : p((e) => {
|
|
9
|
-
const o = new Set(e);
|
|
10
|
-
return o.has(t) ? o.delete(t) : o.add(t), o;
|
|
11
|
-
});
|
|
12
|
-
}, u = (t) => s === "single" ? r === t : m.has(t);
|
|
13
|
-
return /* @__PURE__ */ n("div", { className: I.root, children: c.map((t, e) => /* @__PURE__ */ n(
|
|
14
|
-
f,
|
|
15
|
-
{
|
|
16
|
-
title: t.title,
|
|
17
|
-
content: t.content,
|
|
18
|
-
isOpen: u(e),
|
|
19
|
-
index: e,
|
|
20
|
-
onClick: a
|
|
21
|
-
},
|
|
22
|
-
e
|
|
23
|
-
)) });
|
|
24
|
-
};
|
|
25
|
-
export {
|
|
26
|
-
w as Accordion
|
|
27
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const o="accordion-module__root___oSY1m",e={root:o};exports.default=e;exports.root=o;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),r=require("../../../Typography/Typography.cjs.js"),n=require("../../../Icon/Icon.cjs.js"),a=require("../../../Icon/constants.cjs.js"),t=require("../../../../utils/cn/cn.cjs.js"),o=require("./accordionItem.module.css.cjs.js"),u=({title:s,content:d,isOpen:c,index:i,onClick:l=()=>{}})=>e.jsxs("div",{className:o.default.root,children:[e.jsxs("div",{onClick:()=>l(i??0),className:t.cn(o.default.header,{[o.default.headerSticky]:c}),children:[e.jsx(r.Typography,{defaultVariant:"headingMd",mobileVariant:"headingXxs",children:s}),e.jsxs("div",{className:o.default.closeButtonWrapper,children:[e.jsx(n.Icon,{name:a.EIconName.BRACKET_LEFT}),e.jsx("div",{className:t.cn(o.default.closeButton,{[o.default.closeButtonActive]:c}),children:e.jsx(n.Icon,{name:a.EIconName.PLUS})}),e.jsx(n.Icon,{name:a.EIconName.BRACKET_RIGHT})]})]}),e.jsx("div",{className:t.cn(o.default.description,{[o.default.descriptionShow]:c}),children:e.jsx(r.Typography,{as:"p",defaultVariant:"bodyMd",mobileVariant:"bodyXs",children:d})}),e.jsx("div",{className:o.default.leftBorder}),e.jsx("div",{className:o.default.rightBorder})]});exports.AccordionItem=u;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const o="accordionItem-module__root___kmMpd",e="accordionItem-module__header___LpqCC",t="accordionItem-module__closeButtonWrapper___R46xq",r="accordionItem-module__closeButton___aKdPe",c="accordionItem-module__closeButtonActive___9Atr2",_="accordionItem-module__description___7jzjh",d="accordionItem-module__descriptionShow___lysW-",n="accordionItem-module__leftBorder___6sooc",i="accordionItem-module__rightBorder___VwUUT",s="accordionItem-module__headerSticky___OTNq3",l={root:o,header:e,closeButtonWrapper:t,closeButton:r,closeButtonActive:c,description:_,descriptionShow:d,leftBorder:n,rightBorder:i,headerSticky:s};exports.closeButton=r;exports.closeButtonActive=c;exports.closeButtonWrapper=t;exports.default=l;exports.description=_;exports.descriptionShow=d;exports.header=e;exports.headerSticky=s;exports.leftBorder=n;exports.rightBorder=i;exports.root=o;
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
const o = "accordionItem-module__root___kmMpd", e = "accordionItem-module__header___LpqCC", t = "accordionItem-module__closeButtonWrapper___R46xq", c = "accordionItem-module__closeButton___aKdPe", _ = "accordionItem-module__closeButtonActive___9Atr2", r = "accordionItem-module__description___7jzjh", d = "accordionItem-module__descriptionShow___lysW-", n = "accordionItem-module__leftBorder___6sooc", i = "accordionItem-module__rightBorder___VwUUT", s = "accordionItem-module__headerSticky___OTNq3", l = {
|
|
2
|
-
root: o,
|
|
3
|
-
header: e,
|
|
4
|
-
closeButtonWrapper: t,
|
|
5
|
-
closeButton: c,
|
|
6
|
-
closeButtonActive: _,
|
|
7
|
-
description: r,
|
|
8
|
-
descriptionShow: d,
|
|
9
|
-
leftBorder: n,
|
|
10
|
-
rightBorder: i,
|
|
11
|
-
headerSticky: s
|
|
12
|
-
};
|
|
13
|
-
export {
|
|
14
|
-
c as closeButton,
|
|
15
|
-
_ as closeButtonActive,
|
|
16
|
-
t as closeButtonWrapper,
|
|
17
|
-
l as default,
|
|
18
|
-
r as description,
|
|
19
|
-
d as descriptionShow,
|
|
20
|
-
e as header,
|
|
21
|
-
s as headerSticky,
|
|
22
|
-
n as leftBorder,
|
|
23
|
-
i as rightBorder,
|
|
24
|
-
o as root
|
|
25
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { AccordionItem, type TAccordionItem } from './AccordionItem';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { Accordion } from './Accordion';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),t=require("./faq.module.css.cjs.js"),l=require("../../components/HighlightedTitle/HighlightedTitle.cjs.js"),s=require("../../components/Button/Button.cjs.js"),a=require("../../components/Accordion/Accordion.cjs.js"),r=({title:n,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(l.HighlightedTitle,{title:n,defaultVariant:"displayMd",mobileVariant:"headingXl"}),e.jsx("div",{className:t.default.buttonWrapperDesktop,children:e.jsx(s.Button,{variant:"muted",size:"lg",as:"a",href:"/faq",children:"VIEW ALL FAQ"})}),e.jsx("div",{className:t.default.buttonWrapperMobile,children:e.jsx(s.Button,{variant:"muted",size:"sm",as:"a",href:"/faq",children:"VIEW ALL FAQ"})})]}),e.jsx("div",{className:t.default.contentDesktop,children:e.jsx(a.Accordion,{items:i,mode:"multiple"})}),e.jsx("div",{className:t.default.contentMobile,children:e.jsx(a.Accordion,{items:i,mode:"multiple"})})]})});exports.FAQ=r;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { jsx as e, jsxs as t } from "react/jsx-runtime";
|
|
2
|
-
import i from "./faq.module.css.es.js";
|
|
3
|
-
import { HighlightedTitle as s } from "../../components/HighlightedTitle/HighlightedTitle.es.js";
|
|
4
|
-
import { Button as a } from "../../components/Button/Button.es.js";
|
|
5
|
-
import { Accordion as l } from "../../components/Accordion/Accordion.es.js";
|
|
6
|
-
const p = ({ title: o, questions: r }) => /* @__PURE__ */ e("section", { className: i.root, children: /* @__PURE__ */ t("div", { className: i.container, children: [
|
|
7
|
-
/* @__PURE__ */ t("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(a, { variant: "muted", size: "lg", as: "a", href: "/faq", children: "VIEW ALL FAQ" }) }),
|
|
10
|
-
/* @__PURE__ */ e("div", { className: i.buttonWrapperMobile, children: /* @__PURE__ */ e(a, { 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: r, mode: "multiple" }) }),
|
|
13
|
-
/* @__PURE__ */ e("div", { className: i.contentMobile, children: /* @__PURE__ */ e(l, { items: r, mode: "multiple" }) })
|
|
14
|
-
] }) });
|
|
15
|
-
export {
|
|
16
|
-
p as FAQ
|
|
17
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const o="faq-module__root___Ywlru",e="faq-module__container___gsAKV",t="faq-module__header___3ZkST",n="faq-module__buttonWrapperDesktop___fHoTf",_="faq-module__buttonWrapperMobile___PRPQR",r="faq-module__contentDesktop___7Lor2",a="faq-module__contentMobile___4T04V",p={root:o,container:e,header:t,buttonWrapperDesktop:n,buttonWrapperMobile:_,contentDesktop:r,contentMobile:a};exports.buttonWrapperDesktop=n;exports.buttonWrapperMobile=_;exports.container=e;exports.contentDesktop=r;exports.contentMobile=a;exports.default=p;exports.header=t;exports.root=o;
|