@zenpatient-org/healthspan-marketing-ui 0.1.26 → 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.d.ts +1 -2
- package/dist/modules/SlidingTabsGallery/SlidingTabsGallery.es.js +43 -44
- 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 client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("react/jsx-runtime"),e=require("react"),x=require("../../_virtual/Popover.cjs.js"),h=require("../../utils/useIsMobile.cjs.js"),q=require("./components/ComplexTooltipContent/ComplexTooltipContent.cjs.js"),k=require("./complexTooltip.module.css.cjs.js"),P=({trigger:r,title:p,description:a,link:m,style:f="light",isBlurred:d=!1,children:i,positions:v=["top","bottom","left","right"],onClose:n})=>{const[C,u]=e.useState(!1),o=e.useRef(null),s=e.useCallback(()=>{o.current&&clearTimeout(o.current),o.current=setTimeout(()=>u(!0),200)},[]),t=e.useCallback(()=>{o.current=setTimeout(()=>{u(!1),n==null||n()},200)},[n]),c=e.useCallback(()=>u(b=>!b),[]),M=e.useMemo(()=>r==="hover"?{onMouseEnter:s,onMouseLeave:t}:{onClick:c},[r,s,t,c]),T=e.useMemo(()=>r==="hover"?{onMouseEnter:s,onMouseLeave:t}:{},[r,s,t]);return e.useEffect(()=>()=>{o.current&&clearTimeout(o.current)},[]),h.useIsMobile()?i:l.jsx(x.PopoverExports.Popover,{isOpen:C,positions:v,padding:8,onClickOutside:t,containerClassName:k.default.popover,content:l.jsx(q.ComplexTooltipContent,{title:p,description:a,link:m,style:f,isBlurred:d,onClose:t,...T}),children:l.jsx("div",{...M,children:i})})};exports.ComplexTooltip=P;
|
|
@@ -1,45 +1,47 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { jsx as
|
|
3
|
-
import { useState as
|
|
2
|
+
import { jsx as i } from "react/jsx-runtime";
|
|
3
|
+
import { useState as x, useRef as P, useCallback as u, useMemo as l, useEffect as k } from "react";
|
|
4
4
|
import { P as E } from "../../_virtual/Popover.es.js";
|
|
5
5
|
import { useIsMobile as O } from "../../utils/useIsMobile.es.js";
|
|
6
6
|
import { ComplexTooltipContent as L } from "./components/ComplexTooltipContent/ComplexTooltipContent.es.js";
|
|
7
|
-
|
|
7
|
+
import j from "./complexTooltip.module.css.es.js";
|
|
8
|
+
const z = ({
|
|
8
9
|
trigger: t,
|
|
9
10
|
title: m,
|
|
10
11
|
description: a,
|
|
11
12
|
link: f,
|
|
12
13
|
style: v = "light",
|
|
13
14
|
isBlurred: M = !1,
|
|
14
|
-
children:
|
|
15
|
+
children: p,
|
|
15
16
|
positions: d = ["top", "bottom", "left", "right"],
|
|
16
17
|
onClose: r
|
|
17
18
|
}) => {
|
|
18
|
-
const [h, s] =
|
|
19
|
+
const [h, s] = x(!1), e = P(null), n = u(() => {
|
|
19
20
|
e.current && clearTimeout(e.current), e.current = setTimeout(() => s(!0), 200);
|
|
20
|
-
}, []), o =
|
|
21
|
+
}, []), o = u(() => {
|
|
21
22
|
e.current = setTimeout(() => {
|
|
22
23
|
s(!1), r == null || r();
|
|
23
24
|
}, 200);
|
|
24
|
-
}, [r]),
|
|
25
|
+
}, [r]), c = u(() => s((b) => !b), []), T = l(() => t === "hover" ? {
|
|
25
26
|
onMouseEnter: n,
|
|
26
27
|
onMouseLeave: o
|
|
27
28
|
} : {
|
|
28
|
-
onClick:
|
|
29
|
-
}, [t, n, o,
|
|
29
|
+
onClick: c
|
|
30
|
+
}, [t, n, o, c]), C = l(() => t === "hover" ? {
|
|
30
31
|
onMouseEnter: n,
|
|
31
32
|
onMouseLeave: o
|
|
32
33
|
} : {}, [t, n, o]);
|
|
33
34
|
return k(() => () => {
|
|
34
35
|
e.current && clearTimeout(e.current);
|
|
35
|
-
}, []), O() ?
|
|
36
|
+
}, []), O() ? p : /* @__PURE__ */ i(
|
|
36
37
|
E.Popover,
|
|
37
38
|
{
|
|
38
39
|
isOpen: h,
|
|
39
40
|
positions: d,
|
|
40
41
|
padding: 8,
|
|
41
42
|
onClickOutside: o,
|
|
42
|
-
|
|
43
|
+
containerClassName: j.popover,
|
|
44
|
+
content: /* @__PURE__ */ i(
|
|
43
45
|
L,
|
|
44
46
|
{
|
|
45
47
|
title: m,
|
|
@@ -48,13 +50,13 @@ const y = ({
|
|
|
48
50
|
style: v,
|
|
49
51
|
isBlurred: M,
|
|
50
52
|
onClose: o,
|
|
51
|
-
...
|
|
53
|
+
...C
|
|
52
54
|
}
|
|
53
55
|
),
|
|
54
|
-
children: /* @__PURE__ */
|
|
56
|
+
children: /* @__PURE__ */ i("div", { ...T, children: p })
|
|
55
57
|
}
|
|
56
58
|
);
|
|
57
59
|
};
|
|
58
60
|
export {
|
|
59
|
-
|
|
61
|
+
z as ComplexTooltip
|
|
60
62
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="complexTooltip-module__popover___nMxr-",o={popover:e};exports.default=o;exports.popover=e;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("react/jsx-runtime"),l=require("react"),S=require("./components/FAQComponentItem/FAQComponentItem.cjs.js"),g=require("./faqComponent.module.css.cjs.js"),q=({items:c,mode:o="multiple",initialActiveIndex:r})=>{const[u,i]=l.useState(r??null),[a,m]=l.useState(new Set),p=e=>{o==="single"?i(t=>t===e?null:e):m(t=>{const n=new Set(t);return n.has(e)?n.delete(e):n.add(e),n})},I=e=>o==="single"?u===e:a.has(e);return s.jsx("div",{className:g.default.root,children:c.map((e,t)=>s.jsx(S.FAQComponentItem,{title:e.title,content:e.content,isOpen:I(t),index:t,onClick:p},t))})};exports.FAQComponent=q;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx as s } from "react/jsx-runtime";
|
|
3
|
+
import { useState as l } from "react";
|
|
4
|
+
import { FAQComponentItem as I } from "./components/FAQComponentItem/FAQComponentItem.es.js";
|
|
5
|
+
import g from "./faqComponent.module.css.es.js";
|
|
6
|
+
const A = ({ items: m, mode: o = "multiple", initialActiveIndex: r }) => {
|
|
7
|
+
const [c, p] = l(r ?? null), [i, a] = l(/* @__PURE__ */ new Set()), u = (t) => {
|
|
8
|
+
o === "single" ? p((e) => e === t ? null : t) : a((e) => {
|
|
9
|
+
const n = new Set(e);
|
|
10
|
+
return n.has(t) ? n.delete(t) : n.add(t), n;
|
|
11
|
+
});
|
|
12
|
+
}, f = (t) => o === "single" ? c === t : i.has(t);
|
|
13
|
+
return /* @__PURE__ */ s("div", { className: g.root, children: m.map((t, e) => /* @__PURE__ */ s(
|
|
14
|
+
I,
|
|
15
|
+
{
|
|
16
|
+
title: t.title,
|
|
17
|
+
content: t.content,
|
|
18
|
+
isOpen: f(e),
|
|
19
|
+
index: e,
|
|
20
|
+
onClick: u
|
|
21
|
+
},
|
|
22
|
+
e
|
|
23
|
+
)) });
|
|
24
|
+
};
|
|
25
|
+
export {
|
|
26
|
+
A as FAQComponent
|
|
27
|
+
};
|
|
@@ -0,0 +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,13 +1,12 @@
|
|
|
1
1
|
import { jsxs as a, jsx as r } from "react/jsx-runtime";
|
|
2
|
-
import { Typography as
|
|
2
|
+
import { Typography as m } from "../../../Typography/Typography.es.js";
|
|
3
3
|
import { Icon as i } 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
|
-
import e from "./
|
|
7
|
-
const u = ({ title:
|
|
8
|
-
} }) => /* @__PURE__ */ a("div", { className: e.root, children: [
|
|
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: [
|
|
9
8
|
/* @__PURE__ */ a("div", { onClick: () => l(s ?? 0), className: d(e.header, { [e.headerSticky]: o }), children: [
|
|
10
|
-
/* @__PURE__ */ r(
|
|
9
|
+
/* @__PURE__ */ r(m, { defaultVariant: "headingMd", mobileVariant: "headingXxs", children: n }),
|
|
11
10
|
/* @__PURE__ */ a("div", { className: e.closeButtonWrapper, children: [
|
|
12
11
|
/* @__PURE__ */ r(i, { name: t.BRACKET_LEFT }),
|
|
13
12
|
/* @__PURE__ */ r(
|
|
@@ -22,10 +21,10 @@ const u = ({ title: m, content: n, isOpen: o, index: s, onClick: l = () => {
|
|
|
22
21
|
/* @__PURE__ */ r(i, { name: t.BRACKET_RIGHT })
|
|
23
22
|
] })
|
|
24
23
|
] }),
|
|
25
|
-
/* @__PURE__ */ r("div", { className: d(e.description, { [e.descriptionShow]: o }), children: /* @__PURE__ */ r(
|
|
24
|
+
/* @__PURE__ */ r("div", { className: d(e.description, { [e.descriptionShow]: o }), children: /* @__PURE__ */ r(m, { as: "p", defaultVariant: "bodyMd", mobileVariant: "bodyXs", children: c }) }),
|
|
26
25
|
/* @__PURE__ */ r("div", { className: e.leftBorder }),
|
|
27
26
|
/* @__PURE__ */ r("div", { className: e.rightBorder })
|
|
28
27
|
] });
|
|
29
28
|
export {
|
|
30
|
-
u as
|
|
29
|
+
u as FAQComponentItem
|
|
31
30
|
};
|
package/dist/components/FAQComponent/components/FAQComponentItem/faqComponentItem.module.css.cjs.js
ADDED
|
@@ -0,0 +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;
|
package/dist/components/FAQComponent/components/FAQComponentItem/faqComponentItem.module.css.es.js
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
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 = {
|
|
2
|
+
root: o,
|
|
3
|
+
header: e,
|
|
4
|
+
closeButtonWrapper: t,
|
|
5
|
+
closeButton: _,
|
|
6
|
+
closeButtonActive: n,
|
|
7
|
+
description: r,
|
|
8
|
+
descriptionShow: c,
|
|
9
|
+
leftBorder: m,
|
|
10
|
+
rightBorder: s,
|
|
11
|
+
headerSticky: d
|
|
12
|
+
};
|
|
13
|
+
export {
|
|
14
|
+
_ as closeButton,
|
|
15
|
+
n as closeButtonActive,
|
|
16
|
+
t as closeButtonWrapper,
|
|
17
|
+
l as default,
|
|
18
|
+
r as description,
|
|
19
|
+
c as descriptionShow,
|
|
20
|
+
e as header,
|
|
21
|
+
d as headerSticky,
|
|
22
|
+
m as leftBorder,
|
|
23
|
+
s as rightBorder,
|
|
24
|
+
o as root
|
|
25
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { FAQComponentItem, type TFAQComponentItem } from './FAQComponentItem';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const o="faqComponent-module__root___GeouB",e={root:o};exports.default=e;exports.root=o;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { FAQComponent } from './FAQComponent';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var l=(r=>(r.ALERT_ERROR_FILL="alert-error-fill",r.ALERT_ERROR="alert-error",r.CHECK="check",r.CIRCLE_CHECK_FILL="circle-check-fill",r.CIRCLE_CHECK="circle-check",r.CLOSE="close",r.BRACKET_LEFT="bracket-left",r.BRACKET_RIGHT="bracket-right",r.HELP="help",r.INFO="info",r.MENU="menu",r.PLUS="plus",r.PLAY="play",r.REMOVE="remove",r.SEARCH="search",r.WARNING="warning",r.ARROW_BACK="arrow-back",r.ARROW_DOWNWARD="arrow-downward",r.ARROW_FORWARD="arrow-forward",r.ARROW_INSERT="arrow-insert",r.ARROW_OUTWARD="arrow-outward",r.ARROW_RETURN="arrow-return",r.ARROW_UPWARD="arrow-upward",r.CHEVRON_BACK="chevron-back",r.CHEVRON_DOWN="chevron-down",r.CHEVRON_FORWARD="chevron-forward",r.CHEVRON_UP="chevron-up",r.MESSAGE_FILL="message-fill",r.MESSAGE="message",r.CALENDAR="calendar",r.CART="cart",r.PACKAGE_FILL="package-fill",r.PACKAGE="package",r.SMILE_FILL="smile-fill",r.SMILE="smile",r.CIRCLE_DASH_FILL="circle-dash-fill",r.CIRCLE_DASH="circle-dash",r.PIN_DROP="pin-drop",r.FILTER="filter",r.COACHING="coaching",r.LABS="labs",r.MYSPAN="myspan",r.OPTIMIZATIONS="optimizations",r.PROTOCOLS="protocols",r.RULER="ruler",r.SCALE="scale",r.FACEBOOK="facebook",r.HEART_FILL="heart-fill",r.HEART="heart",r.INSTAGRAM="instagram",r.STAR_FILL="star-fill",r.STAR_HALF="star-half",r.STAR_OUTLINE="star-outline",r.STAR="star",r.X="x",r))(l||{});const a={"alert-error-fill":"action","alert-error":"action",check:"action","circle-check-fill":"action","circle-check":"action",close:"action","bracket-left":"action","bracket-right":"action",help:"action",info:"action",menu:"action",plus:"action",play:"action",remove:"action",search:"action",warning:"action","arrow-back":"arrow","arrow-downward":"arrow","arrow-forward":"arrow","arrow-insert":"arrow","arrow-outward":"arrow","arrow-return":"arrow","arrow-upward":"arrow","chevron-back":"arrow","chevron-down":"arrow","chevron-forward":"arrow","chevron-up":"arrow","message-fill":"chat",message:"chat",calendar:"eCommerce",cart:"eCommerce","package-fill":"eCommerce",package:"eCommerce","smile-fill":"faces",smile:"faces","circle-dash-fill":"indicators","circle-dash":"indicators","pin-drop":"global",filter:"global",coaching:"medical",labs:"medical",myspan:"medical",optimizations:"medical",protocols:"medical",ruler:"medical",scale:"medical",facebook:"social","heart-fill":"social",heart:"social",instagram:"social","star-fill":"social","star-half":"social","star-outline":"social",star:"social",x:"social"};exports.EIconName=l;exports.ICON_FOLDERS_MAP=a;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var l=(r=>(r.ALERT_ERROR_FILL="alert-error-fill",r.ALERT_ERROR="alert-error",r.CHECK="check",r.CIRCLE_CHECK_FILL="circle-check-fill",r.CIRCLE_CHECK="circle-check",r.CLOSE="close",r.BRACKET_LEFT="bracket-left",r.BRACKET_RIGHT="bracket-right",r.HELP="help",r.INFO="info",r.MENU="menu",r.PLUS="plus",r.PLAY="play",r.REMOVE="remove",r.SEARCH="search",r.WARNING="warning",r.ARROW_BACK="arrow-back",r.ARROW_DOWNWARD="arrow-downward",r.ARROW_FORWARD="arrow-forward",r.ARROW_INSERT="arrow-insert",r.ARROW_OUTWARD="arrow-outward",r.ARROW_RETURN="arrow-return",r.ARROW_UPWARD="arrow-upward",r.CHEVRON_BACK="chevron-back",r.CHEVRON_DOWN="chevron-down",r.CHEVRON_FORWARD="chevron-forward",r.CHEVRON_UP="chevron-up",r.MESSAGE_FILL="message-fill",r.MESSAGE="message",r.CALENDAR="calendar",r.CART="cart",r.PACKAGE_FILL="package-fill",r.PACKAGE="package",r.SMILE_FILL="smile-fill",r.SMILE="smile",r.CIRCLE_DASH_FILL="circle-dash-fill",r.CIRCLE_DASH="circle-dash",r.PIN_DROP="pin-drop",r.FILTER="filter",r.COACHING="coaching",r.LABS="labs",r.MYSPAN="myspan",r.OPTIMIZATIONS="optimizations",r.PROTOCOLS="protocols",r.RULER="ruler",r.SCALE="scale",r.FACEBOOK="facebook",r.HEART_FILL="heart-fill",r.HEART="heart",r.INSTAGRAM="instagram",r.STAR_FILL="star-fill",r.STAR_HALF="star-half",r.STAR_OUTLINE="star-outline",r.STAR="star",r.X="x",r.ARROW_BOLD="arrow-bold",r.CLOSE_BOLD="close-bold",r.DOT_BOLD="dot-bold",r.PLUS_BOLD="plus-bold",r))(l||{});const a={"alert-error-fill":"action","alert-error":"action",check:"action","circle-check-fill":"action","circle-check":"action",close:"action","bracket-left":"action","bracket-right":"action",help:"action",info:"action",menu:"action",plus:"action",play:"action",remove:"action",search:"action",warning:"action","arrow-back":"arrow","arrow-downward":"arrow","arrow-forward":"arrow","arrow-insert":"arrow","arrow-outward":"arrow","arrow-return":"arrow","arrow-upward":"arrow","chevron-back":"arrow","chevron-down":"arrow","chevron-forward":"arrow","chevron-up":"arrow","message-fill":"chat",message:"chat",calendar:"eCommerce",cart:"eCommerce","package-fill":"eCommerce",package:"eCommerce","smile-fill":"faces",smile:"faces","circle-dash-fill":"indicators","circle-dash":"indicators","pin-drop":"global",filter:"global",coaching:"medical",labs:"medical",myspan:"medical",optimizations:"medical",protocols:"medical",ruler:"medical",scale:"medical",facebook:"social","heart-fill":"social",heart:"social",instagram:"social","star-fill":"social","star-half":"social","star-outline":"social",star:"social",x:"social","arrow-bold":"bold","close-bold":"bold","dot-bold":"bold","plus-bold":"bold"};exports.EIconName=l;exports.ICON_FOLDERS_MAP=a;
|
|
@@ -53,6 +53,10 @@ export declare enum EIconName {
|
|
|
53
53
|
STAR_HALF = "star-half",
|
|
54
54
|
STAR_OUTLINE = "star-outline",
|
|
55
55
|
STAR = "star",
|
|
56
|
-
X = "x"
|
|
56
|
+
X = "x",
|
|
57
|
+
ARROW_BOLD = "arrow-bold",
|
|
58
|
+
CLOSE_BOLD = "close-bold",
|
|
59
|
+
DOT_BOLD = "dot-bold",
|
|
60
|
+
PLUS_BOLD = "plus-bold"
|
|
57
61
|
}
|
|
58
62
|
export declare const ICON_FOLDERS_MAP: Record<EIconName, string>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var l = /* @__PURE__ */ ((r) => (r.ALERT_ERROR_FILL = "alert-error-fill", r.ALERT_ERROR = "alert-error", r.CHECK = "check", r.CIRCLE_CHECK_FILL = "circle-check-fill", r.CIRCLE_CHECK = "circle-check", r.CLOSE = "close", r.BRACKET_LEFT = "bracket-left", r.BRACKET_RIGHT = "bracket-right", r.HELP = "help", r.INFO = "info", r.MENU = "menu", r.PLUS = "plus", r.PLAY = "play", r.REMOVE = "remove", r.SEARCH = "search", r.WARNING = "warning", r.ARROW_BACK = "arrow-back", r.ARROW_DOWNWARD = "arrow-downward", r.ARROW_FORWARD = "arrow-forward", r.ARROW_INSERT = "arrow-insert", r.ARROW_OUTWARD = "arrow-outward", r.ARROW_RETURN = "arrow-return", r.ARROW_UPWARD = "arrow-upward", r.CHEVRON_BACK = "chevron-back", r.CHEVRON_DOWN = "chevron-down", r.CHEVRON_FORWARD = "chevron-forward", r.CHEVRON_UP = "chevron-up", r.MESSAGE_FILL = "message-fill", r.MESSAGE = "message", r.CALENDAR = "calendar", r.CART = "cart", r.PACKAGE_FILL = "package-fill", r.PACKAGE = "package", r.SMILE_FILL = "smile-fill", r.SMILE = "smile", r.CIRCLE_DASH_FILL = "circle-dash-fill", r.CIRCLE_DASH = "circle-dash", r.PIN_DROP = "pin-drop", r.FILTER = "filter", r.COACHING = "coaching", r.LABS = "labs", r.MYSPAN = "myspan", r.OPTIMIZATIONS = "optimizations", r.PROTOCOLS = "protocols", r.RULER = "ruler", r.SCALE = "scale", r.FACEBOOK = "facebook", r.HEART_FILL = "heart-fill", r.HEART = "heart", r.INSTAGRAM = "instagram", r.STAR_FILL = "star-fill", r.STAR_HALF = "star-half", r.STAR_OUTLINE = "star-outline", r.STAR = "star", r.X = "x", r))(l || {});
|
|
1
|
+
var l = /* @__PURE__ */ ((r) => (r.ALERT_ERROR_FILL = "alert-error-fill", r.ALERT_ERROR = "alert-error", r.CHECK = "check", r.CIRCLE_CHECK_FILL = "circle-check-fill", r.CIRCLE_CHECK = "circle-check", r.CLOSE = "close", r.BRACKET_LEFT = "bracket-left", r.BRACKET_RIGHT = "bracket-right", r.HELP = "help", r.INFO = "info", r.MENU = "menu", r.PLUS = "plus", r.PLAY = "play", r.REMOVE = "remove", r.SEARCH = "search", r.WARNING = "warning", r.ARROW_BACK = "arrow-back", r.ARROW_DOWNWARD = "arrow-downward", r.ARROW_FORWARD = "arrow-forward", r.ARROW_INSERT = "arrow-insert", r.ARROW_OUTWARD = "arrow-outward", r.ARROW_RETURN = "arrow-return", r.ARROW_UPWARD = "arrow-upward", r.CHEVRON_BACK = "chevron-back", r.CHEVRON_DOWN = "chevron-down", r.CHEVRON_FORWARD = "chevron-forward", r.CHEVRON_UP = "chevron-up", r.MESSAGE_FILL = "message-fill", r.MESSAGE = "message", r.CALENDAR = "calendar", r.CART = "cart", r.PACKAGE_FILL = "package-fill", r.PACKAGE = "package", r.SMILE_FILL = "smile-fill", r.SMILE = "smile", r.CIRCLE_DASH_FILL = "circle-dash-fill", r.CIRCLE_DASH = "circle-dash", r.PIN_DROP = "pin-drop", r.FILTER = "filter", r.COACHING = "coaching", r.LABS = "labs", r.MYSPAN = "myspan", r.OPTIMIZATIONS = "optimizations", r.PROTOCOLS = "protocols", r.RULER = "ruler", r.SCALE = "scale", r.FACEBOOK = "facebook", r.HEART_FILL = "heart-fill", r.HEART = "heart", r.INSTAGRAM = "instagram", r.STAR_FILL = "star-fill", r.STAR_HALF = "star-half", r.STAR_OUTLINE = "star-outline", r.STAR = "star", r.X = "x", r.ARROW_BOLD = "arrow-bold", r.CLOSE_BOLD = "close-bold", r.DOT_BOLD = "dot-bold", r.PLUS_BOLD = "plus-bold", r))(l || {});
|
|
2
2
|
const a = {
|
|
3
3
|
"alert-error-fill": "action",
|
|
4
4
|
"alert-error": "action",
|
|
@@ -54,7 +54,11 @@ const a = {
|
|
|
54
54
|
"star-half": "social",
|
|
55
55
|
"star-outline": "social",
|
|
56
56
|
star: "social",
|
|
57
|
-
x: "social"
|
|
57
|
+
x: "social",
|
|
58
|
+
"arrow-bold": "bold",
|
|
59
|
+
"close-bold": "bold",
|
|
60
|
+
"dot-bold": "bold",
|
|
61
|
+
"plus-bold": "bold"
|
|
58
62
|
};
|
|
59
63
|
export {
|
|
60
64
|
l as EIconName,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./constants.cjs.js"),r=require("../../icons/action/alert-error-fill.svg.cjs.js"),a=require("../../icons/action/alert-error.svg.cjs.js"),o=require("../../icons/action/check.svg.cjs.js"),c=require("../../icons/action/circle-check-fill.svg.cjs.js"),t=require("../../icons/action/circle-check.svg.cjs.js"),n=require("../../icons/action/close.svg.cjs.js"),u=require("../../icons/action/bracket-left.svg.cjs.js"),E=require("../../icons/action/bracket-right.svg.cjs.js"),l=require("../../icons/action/help.svg.cjs.js"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./constants.cjs.js"),r=require("../../icons/action/alert-error-fill.svg.cjs.js"),a=require("../../icons/action/alert-error.svg.cjs.js"),o=require("../../icons/action/check.svg.cjs.js"),c=require("../../icons/action/circle-check-fill.svg.cjs.js"),t=require("../../icons/action/circle-check.svg.cjs.js"),n=require("../../icons/action/close.svg.cjs.js"),u=require("../../icons/action/bracket-left.svg.cjs.js"),E=require("../../icons/action/bracket-right.svg.cjs.js"),l=require("../../icons/action/help.svg.cjs.js"),s=require("../../icons/action/info.svg.cjs.js"),I=require("../../icons/action/menu.svg.cjs.js"),i=require("../../icons/action/play.svg.cjs.js"),N=require("../../icons/action/plus.svg.cjs.js"),d=require("../../icons/action/remove.svg.cjs.js"),m=require("../../icons/action/search.svg.cjs.js"),f=require("../../icons/action/warning.svg.cjs.js"),R=require("../../icons/arrow/arrow-back.svg.cjs.js"),q=require("../../icons/arrow/arrow-downward.svg.cjs.js"),A=require("../../icons/arrow/arrow-forward.svg.cjs.js"),O=require("../../icons/arrow/arrow-insert.svg.cjs.js"),L=require("../../icons/arrow/arrow-outward.svg.cjs.js"),C=require("../../icons/arrow/arrow-return.svg.cjs.js"),_=require("../../icons/arrow/arrow-upward.svg.cjs.js"),S=require("../../icons/arrow/chevron-back.svg.cjs.js"),T=require("../../icons/arrow/chevron-down.svg.cjs.js"),F=require("../../icons/arrow/chevron-forward.svg.cjs.js"),D=require("../../icons/arrow/chevron-up.svg.cjs.js"),H=require("../../icons/chat/message-fill.svg.cjs.js"),w=require("../../icons/chat/message.svg.cjs.js"),B=require("../../icons/eCommerce/calendar.svg.cjs.js"),P=require("../../icons/eCommerce/cart.svg.cjs.js"),W=require("../../icons/eCommerce/package-fill.svg.cjs.js"),h=require("../../icons/eCommerce/package.svg.cjs.js"),p=require("../../icons/faces/smile-fill.svg.cjs.js"),M=require("../../icons/faces/smile.svg.cjs.js"),U=require("../../icons/indicators/circle-dash-fill.svg.cjs.js"),g=require("../../icons/indicators/circle-dash.svg.cjs.js"),k=require("../../icons/global/pin-drop.svg.cjs.js"),K=require("../../icons/global/filter.svg.cjs.js"),G=require("../../icons/medical/coaching.svg.cjs.js"),b=require("../../icons/medical/labs.svg.cjs.js"),v=require("../../icons/medical/myspan.svg.cjs.js"),V=require("../../icons/medical/optimizations.svg.cjs.js"),y=require("../../icons/medical/protocols.svg.cjs.js"),Y=require("../../icons/medical/ruler.svg.cjs.js"),j=require("../../icons/medical/scale.svg.cjs.js"),x=require("../../icons/social/facebook.svg.cjs.js"),z=require("../../icons/social/heart-fill.svg.cjs.js"),X=require("../../icons/social/heart.svg.cjs.js"),Z=require("../../icons/social/instagram.svg.cjs.js"),J=require("../../icons/social/star-fill.svg.cjs.js"),Q=require("../../icons/social/star-half.svg.cjs.js"),$=require("../../icons/social/star-outline.svg.cjs.js"),ee=require("../../icons/social/star.svg.cjs.js"),re=require("../../icons/social/x.svg.cjs.js"),ae=require("../../icons/bold/arrow-bold.svg.cjs.js"),oe=require("../../icons/bold/close-bold.svg.cjs.js"),ce=require("../../icons/bold/dot-bold.svg.cjs.js"),te=require("../../icons/bold/plus-bold.svg.cjs.js"),ne={[e.EIconName.ALERT_ERROR_FILL]:r.default,[e.EIconName.ALERT_ERROR]:a.default,[e.EIconName.CHECK]:o.default,[e.EIconName.CIRCLE_CHECK_FILL]:c.default,[e.EIconName.CIRCLE_CHECK]:t.default,[e.EIconName.CLOSE]:n.default,[e.EIconName.BRACKET_LEFT]:u.default,[e.EIconName.BRACKET_RIGHT]:E.default,[e.EIconName.HELP]:l.default,[e.EIconName.INFO]:s.default,[e.EIconName.MENU]:I.default,[e.EIconName.PLAY]:i.default,[e.EIconName.PLUS]:N.default,[e.EIconName.REMOVE]:d.default,[e.EIconName.SEARCH]:m.default,[e.EIconName.WARNING]:f.default,[e.EIconName.ARROW_BACK]:R.default,[e.EIconName.ARROW_DOWNWARD]:q.default,[e.EIconName.ARROW_FORWARD]:A.default,[e.EIconName.ARROW_INSERT]:O.default,[e.EIconName.ARROW_OUTWARD]:L.default,[e.EIconName.ARROW_RETURN]:C.default,[e.EIconName.ARROW_UPWARD]:_.default,[e.EIconName.CHEVRON_BACK]:S.default,[e.EIconName.CHEVRON_DOWN]:T.default,[e.EIconName.CHEVRON_FORWARD]:F.default,[e.EIconName.CHEVRON_UP]:D.default,[e.EIconName.MESSAGE_FILL]:H.default,[e.EIconName.MESSAGE]:w.default,[e.EIconName.CALENDAR]:B.default,[e.EIconName.CART]:P.default,[e.EIconName.PACKAGE_FILL]:W.default,[e.EIconName.PACKAGE]:h.default,[e.EIconName.SMILE_FILL]:p.default,[e.EIconName.SMILE]:M.default,[e.EIconName.CIRCLE_DASH_FILL]:U.default,[e.EIconName.CIRCLE_DASH]:g.default,[e.EIconName.PIN_DROP]:k.default,[e.EIconName.FILTER]:K.default,[e.EIconName.COACHING]:G.default,[e.EIconName.LABS]:b.default,[e.EIconName.MYSPAN]:v.default,[e.EIconName.OPTIMIZATIONS]:V.default,[e.EIconName.PROTOCOLS]:y.default,[e.EIconName.RULER]:Y.default,[e.EIconName.SCALE]:j.default,[e.EIconName.FACEBOOK]:x.default,[e.EIconName.HEART_FILL]:z.default,[e.EIconName.HEART]:X.default,[e.EIconName.INSTAGRAM]:Z.default,[e.EIconName.STAR_FILL]:J.default,[e.EIconName.STAR_HALF]:Q.default,[e.EIconName.STAR_OUTLINE]:$.default,[e.EIconName.STAR]:ee.default,[e.EIconName.X]:re.default,[e.EIconName.ARROW_BOLD]:ae.default,[e.EIconName.CLOSE_BOLD]:oe.default,[e.EIconName.DOT_BOLD]:ce.default,[e.EIconName.PLUS_BOLD]:te.default};exports.ICON_COMPONENTS=ne;
|
|
@@ -4,40 +4,40 @@ import m from "../../icons/action/alert-error.svg.es.js";
|
|
|
4
4
|
import S from "../../icons/action/check.svg.es.js";
|
|
5
5
|
import t from "../../icons/action/circle-check-fill.svg.es.js";
|
|
6
6
|
import i from "../../icons/action/circle-check.svg.es.js";
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
7
|
+
import g from "../../icons/action/close.svg.es.js";
|
|
8
|
+
import p from "../../icons/action/bracket-left.svg.es.js";
|
|
9
|
+
import R from "../../icons/action/bracket-right.svg.es.js";
|
|
10
10
|
import v from "../../icons/action/help.svg.es.js";
|
|
11
11
|
import f from "../../icons/action/info.svg.es.js";
|
|
12
12
|
import A from "../../icons/action/menu.svg.es.js";
|
|
13
13
|
import C from "../../icons/action/play.svg.es.js";
|
|
14
14
|
import E from "../../icons/action/plus.svg.es.js";
|
|
15
|
-
import
|
|
16
|
-
import
|
|
17
|
-
import
|
|
18
|
-
import
|
|
19
|
-
import
|
|
20
|
-
import
|
|
21
|
-
import
|
|
15
|
+
import L from "../../icons/action/remove.svg.es.js";
|
|
16
|
+
import O from "../../icons/action/search.svg.es.js";
|
|
17
|
+
import e from "../../icons/action/warning.svg.es.js";
|
|
18
|
+
import l from "../../icons/arrow/arrow-back.svg.es.js";
|
|
19
|
+
import a from "../../icons/arrow/arrow-downward.svg.es.js";
|
|
20
|
+
import _ from "../../icons/arrow/arrow-forward.svg.es.js";
|
|
21
|
+
import I from "../../icons/arrow/arrow-insert.svg.es.js";
|
|
22
22
|
import F from "../../icons/arrow/arrow-outward.svg.es.js";
|
|
23
|
-
import
|
|
24
|
-
import
|
|
25
|
-
import
|
|
26
|
-
import
|
|
27
|
-
import
|
|
28
|
-
import
|
|
29
|
-
import
|
|
30
|
-
import
|
|
23
|
+
import T from "../../icons/arrow/arrow-return.svg.es.js";
|
|
24
|
+
import N from "../../icons/arrow/arrow-upward.svg.es.js";
|
|
25
|
+
import D from "../../icons/arrow/chevron-back.svg.es.js";
|
|
26
|
+
import n from "../../icons/arrow/chevron-down.svg.es.js";
|
|
27
|
+
import P from "../../icons/arrow/chevron-forward.svg.es.js";
|
|
28
|
+
import c from "../../icons/arrow/chevron-up.svg.es.js";
|
|
29
|
+
import H from "../../icons/chat/message-fill.svg.es.js";
|
|
30
|
+
import B from "../../icons/chat/message.svg.es.js";
|
|
31
31
|
import s from "../../icons/eCommerce/calendar.svg.es.js";
|
|
32
|
-
import
|
|
33
|
-
import
|
|
34
|
-
import
|
|
35
|
-
import
|
|
36
|
-
import
|
|
37
|
-
import
|
|
38
|
-
import
|
|
39
|
-
import
|
|
40
|
-
import
|
|
32
|
+
import W from "../../icons/eCommerce/cart.svg.es.js";
|
|
33
|
+
import w from "../../icons/eCommerce/package-fill.svg.es.js";
|
|
34
|
+
import M from "../../icons/eCommerce/package.svg.es.js";
|
|
35
|
+
import h from "../../icons/faces/smile-fill.svg.es.js";
|
|
36
|
+
import U from "../../icons/faces/smile.svg.es.js";
|
|
37
|
+
import d from "../../icons/indicators/circle-dash-fill.svg.es.js";
|
|
38
|
+
import k from "../../icons/indicators/circle-dash.svg.es.js";
|
|
39
|
+
import K from "../../icons/global/pin-drop.svg.es.js";
|
|
40
|
+
import G from "../../icons/global/filter.svg.es.js";
|
|
41
41
|
import u from "../../icons/medical/coaching.svg.es.js";
|
|
42
42
|
import V from "../../icons/medical/labs.svg.es.js";
|
|
43
43
|
import b from "../../icons/medical/myspan.svg.es.js";
|
|
@@ -54,46 +54,50 @@ import Q from "../../icons/social/star-half.svg.es.js";
|
|
|
54
54
|
import $ from "../../icons/social/star-outline.svg.es.js";
|
|
55
55
|
import rr from "../../icons/social/star.svg.es.js";
|
|
56
56
|
import or from "../../icons/social/x.svg.es.js";
|
|
57
|
-
|
|
57
|
+
import mr from "../../icons/bold/arrow-bold.svg.es.js";
|
|
58
|
+
import Sr from "../../icons/bold/close-bold.svg.es.js";
|
|
59
|
+
import tr from "../../icons/bold/dot-bold.svg.es.js";
|
|
60
|
+
import ir from "../../icons/bold/plus-bold.svg.es.js";
|
|
61
|
+
const Co = {
|
|
58
62
|
[r.ALERT_ERROR_FILL]: o,
|
|
59
63
|
[r.ALERT_ERROR]: m,
|
|
60
64
|
[r.CHECK]: S,
|
|
61
65
|
[r.CIRCLE_CHECK_FILL]: t,
|
|
62
66
|
[r.CIRCLE_CHECK]: i,
|
|
63
|
-
[r.CLOSE]:
|
|
64
|
-
[r.BRACKET_LEFT]:
|
|
65
|
-
[r.BRACKET_RIGHT]:
|
|
67
|
+
[r.CLOSE]: g,
|
|
68
|
+
[r.BRACKET_LEFT]: p,
|
|
69
|
+
[r.BRACKET_RIGHT]: R,
|
|
66
70
|
[r.HELP]: v,
|
|
67
71
|
[r.INFO]: f,
|
|
68
72
|
[r.MENU]: A,
|
|
69
73
|
[r.PLAY]: C,
|
|
70
74
|
[r.PLUS]: E,
|
|
71
|
-
[r.REMOVE]:
|
|
72
|
-
[r.SEARCH]:
|
|
73
|
-
[r.WARNING]:
|
|
74
|
-
[r.ARROW_BACK]:
|
|
75
|
-
[r.ARROW_DOWNWARD]:
|
|
76
|
-
[r.ARROW_FORWARD]:
|
|
77
|
-
[r.ARROW_INSERT]:
|
|
75
|
+
[r.REMOVE]: L,
|
|
76
|
+
[r.SEARCH]: O,
|
|
77
|
+
[r.WARNING]: e,
|
|
78
|
+
[r.ARROW_BACK]: l,
|
|
79
|
+
[r.ARROW_DOWNWARD]: a,
|
|
80
|
+
[r.ARROW_FORWARD]: _,
|
|
81
|
+
[r.ARROW_INSERT]: I,
|
|
78
82
|
[r.ARROW_OUTWARD]: F,
|
|
79
|
-
[r.ARROW_RETURN]:
|
|
80
|
-
[r.ARROW_UPWARD]:
|
|
81
|
-
[r.CHEVRON_BACK]:
|
|
82
|
-
[r.CHEVRON_DOWN]:
|
|
83
|
-
[r.CHEVRON_FORWARD]:
|
|
84
|
-
[r.CHEVRON_UP]:
|
|
85
|
-
[r.MESSAGE_FILL]:
|
|
86
|
-
[r.MESSAGE]:
|
|
83
|
+
[r.ARROW_RETURN]: T,
|
|
84
|
+
[r.ARROW_UPWARD]: N,
|
|
85
|
+
[r.CHEVRON_BACK]: D,
|
|
86
|
+
[r.CHEVRON_DOWN]: n,
|
|
87
|
+
[r.CHEVRON_FORWARD]: P,
|
|
88
|
+
[r.CHEVRON_UP]: c,
|
|
89
|
+
[r.MESSAGE_FILL]: H,
|
|
90
|
+
[r.MESSAGE]: B,
|
|
87
91
|
[r.CALENDAR]: s,
|
|
88
|
-
[r.CART]:
|
|
89
|
-
[r.PACKAGE_FILL]:
|
|
90
|
-
[r.PACKAGE]:
|
|
91
|
-
[r.SMILE_FILL]:
|
|
92
|
-
[r.SMILE]:
|
|
93
|
-
[r.CIRCLE_DASH_FILL]:
|
|
94
|
-
[r.CIRCLE_DASH]:
|
|
95
|
-
[r.PIN_DROP]:
|
|
96
|
-
[r.FILTER]:
|
|
92
|
+
[r.CART]: W,
|
|
93
|
+
[r.PACKAGE_FILL]: w,
|
|
94
|
+
[r.PACKAGE]: M,
|
|
95
|
+
[r.SMILE_FILL]: h,
|
|
96
|
+
[r.SMILE]: U,
|
|
97
|
+
[r.CIRCLE_DASH_FILL]: d,
|
|
98
|
+
[r.CIRCLE_DASH]: k,
|
|
99
|
+
[r.PIN_DROP]: K,
|
|
100
|
+
[r.FILTER]: G,
|
|
97
101
|
[r.COACHING]: u,
|
|
98
102
|
[r.LABS]: V,
|
|
99
103
|
[r.MYSPAN]: b,
|
|
@@ -109,8 +113,12 @@ const to = {
|
|
|
109
113
|
[r.STAR_HALF]: Q,
|
|
110
114
|
[r.STAR_OUTLINE]: $,
|
|
111
115
|
[r.STAR]: rr,
|
|
112
|
-
[r.X]: or
|
|
116
|
+
[r.X]: or,
|
|
117
|
+
[r.ARROW_BOLD]: mr,
|
|
118
|
+
[r.CLOSE_BOLD]: Sr,
|
|
119
|
+
[r.DOT_BOLD]: tr,
|
|
120
|
+
[r.PLUS_BOLD]: ir
|
|
113
121
|
};
|
|
114
122
|
export {
|
|
115
|
-
|
|
123
|
+
Co as ICON_COMPONENTS
|
|
116
124
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("react/jsx-runtime"),a=require("../Icon/Icon.cjs.js"),n=require("../Icon/constants.cjs.js"),o=require("../../utils/cn/cn.cjs.js"),e=require("./iconBracket.module.css.cjs.js"),l={close:n.EIconName.CLOSE_BOLD,plus:n.EIconName.PLUS_BOLD,arrow:n.EIconName.ARROW_BOLD},u=({colorScheme:s="dark",size:t,variant:r})=>c.jsxs("div",{className:e.default.root,"data-scheme":s,"data-size":t,children:[c.jsx(a.Icon,{name:n.EIconName.BRACKET_LEFT,className:o.cn(e.default.bracket,e.default.bracketLeft)}),c.jsx("div",{className:e.default.contentIcon,children:c.jsx(a.Icon,{name:l[r],className:e.default[`icon-${t}`]})}),c.jsx(a.Icon,{name:n.EIconName.BRACKET_RIGHT,className:o.cn(e.default.bracket,e.default.bracketRight)})]});exports.IconBracket=u;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { TIconBracketProps } from './types';
|
|
2
2
|
|
|
3
|
-
export declare const IconBracket: ({
|
|
3
|
+
export declare const IconBracket: ({ colorScheme, size, variant }: TIconBracketProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
import { jsxs as n, jsx as r } from "react/jsx-runtime";
|
|
2
|
-
import { Icon as
|
|
3
|
-
import { EIconName as
|
|
4
|
-
import
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
/* @__PURE__ */ r(
|
|
12
|
-
/* @__PURE__ */ r(
|
|
2
|
+
import { Icon as c } from "../Icon/Icon.es.js";
|
|
3
|
+
import { EIconName as e } from "../Icon/constants.es.js";
|
|
4
|
+
import { cn as t } from "../../utils/cn/cn.es.js";
|
|
5
|
+
import a from "./iconBracket.module.css.es.js";
|
|
6
|
+
const i = {
|
|
7
|
+
close: e.CLOSE_BOLD,
|
|
8
|
+
plus: e.PLUS_BOLD,
|
|
9
|
+
arrow: e.ARROW_BOLD
|
|
10
|
+
}, R = ({ colorScheme: m = "dark", size: o, variant: s }) => /* @__PURE__ */ n("div", { className: a.root, "data-scheme": m, "data-size": o, children: [
|
|
11
|
+
/* @__PURE__ */ r(c, { name: e.BRACKET_LEFT, className: t(a.bracket, a.bracketLeft) }),
|
|
12
|
+
/* @__PURE__ */ r("div", { className: a.contentIcon, children: /* @__PURE__ */ r(c, { name: i[s], className: a[`icon-${o}`] }) }),
|
|
13
|
+
/* @__PURE__ */ r(c, { name: e.BRACKET_RIGHT, className: t(a.bracket, a.bracketRight) })
|
|
13
14
|
] });
|
|
14
15
|
export {
|
|
15
|
-
|
|
16
|
+
R as IconBracket
|
|
16
17
|
};
|
|
@@ -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 t="iconBracket-module__root___2YA8I",e="iconBracket-module__bracket___DdoCl",o="iconBracket-module__contentIcon___DWot0",c="iconBracket-module__bracketLeft___CVeyX",_="iconBracket-module__bracketRight___uasRB",r={root:t,bracket:e,contentIcon:o,bracketLeft:c,bracketRight:_};exports.bracket=e;exports.bracketLeft=c;exports.bracketRight=_;exports.contentIcon=o;exports.default=r;exports.root=t;
|
|
@@ -1,9 +1,15 @@
|
|
|
1
|
-
const
|
|
2
|
-
root:
|
|
3
|
-
|
|
1
|
+
const t = "iconBracket-module__root___2YA8I", c = "iconBracket-module__bracket___DdoCl", o = "iconBracket-module__contentIcon___DWot0", e = "iconBracket-module__bracketLeft___CVeyX", _ = "iconBracket-module__bracketRight___uasRB", n = {
|
|
2
|
+
root: t,
|
|
3
|
+
bracket: c,
|
|
4
|
+
contentIcon: o,
|
|
5
|
+
bracketLeft: e,
|
|
6
|
+
bracketRight: _
|
|
4
7
|
};
|
|
5
8
|
export {
|
|
6
|
-
|
|
9
|
+
c as bracket,
|
|
10
|
+
e as bracketLeft,
|
|
11
|
+
_ as bracketRight,
|
|
12
|
+
o as contentIcon,
|
|
7
13
|
n as default,
|
|
8
|
-
|
|
14
|
+
t as root
|
|
9
15
|
};
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
|
|
1
|
+
import { TColorScheme } from '../../types/common';
|
|
2
|
+
|
|
2
3
|
export type TIconBracketSize = 'sm' | 'md' | 'lg';
|
|
3
4
|
export type TIconBracketVariant = 'close' | 'plus' | 'arrow';
|
|
4
5
|
export type TIconBracketProps = {
|
|
5
|
-
|
|
6
|
+
colorScheme?: TColorScheme;
|
|
6
7
|
size: TIconBracketSize;
|
|
7
8
|
variant: TIconBracketVariant;
|
|
8
9
|
};
|
|
@@ -0,0 +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;
|