@digital-b2c/coreui-kit 0.5.6 → 0.7.1
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/index.cjs +239 -113
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +318 -21
- package/dist/index.css.map +1 -1
- package/dist/index.d.cts +22 -6
- package/dist/index.d.ts +22 -6
- package/dist/index.mjs +239 -114
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import
|
|
1
|
+
import clsx20 from 'clsx';
|
|
2
2
|
import { jsx, Fragment, jsxs } from 'react/jsx-runtime';
|
|
3
3
|
import React52, { forwardRef, useRef, useState, useCallback, Children, isValidElement, useMemo, useEffect } from 'react';
|
|
4
4
|
import gsap$1, { gsap } from 'gsap';
|
|
5
5
|
import { useGSAP } from '@gsap/react';
|
|
6
6
|
import { ScrollTrigger } from 'gsap/ScrollTrigger';
|
|
7
7
|
import { Swiper, SwiperSlide } from 'swiper/react';
|
|
8
|
-
import { FreeMode } from 'swiper/modules';
|
|
8
|
+
import { FreeMode, Navigation, Pagination as Pagination$1 } from 'swiper/modules';
|
|
9
9
|
import 'swiper/css';
|
|
10
10
|
|
|
11
11
|
var __defProp = Object.defineProperty;
|
|
@@ -58,7 +58,7 @@ var Picture = (_a) => {
|
|
|
58
58
|
__spreadValues({
|
|
59
59
|
src: desktop.src,
|
|
60
60
|
alt: desktop.alt,
|
|
61
|
-
className:
|
|
61
|
+
className: clsx20(className, Picture_module_default["image-desktop"])
|
|
62
62
|
}, rest)
|
|
63
63
|
),
|
|
64
64
|
/* @__PURE__ */ jsx(
|
|
@@ -66,7 +66,7 @@ var Picture = (_a) => {
|
|
|
66
66
|
__spreadValues({
|
|
67
67
|
src: (_b2 = mobile == null ? void 0 : mobile.src) != null ? _b2 : desktop.src,
|
|
68
68
|
alt: (_c = mobile == null ? void 0 : mobile.alt) != null ? _c : desktop.alt,
|
|
69
|
-
className:
|
|
69
|
+
className: clsx20(className, Picture_module_default["image-mobile"])
|
|
70
70
|
}, rest)
|
|
71
71
|
)
|
|
72
72
|
] });
|
|
@@ -380,7 +380,7 @@ var Button = (_a) => {
|
|
|
380
380
|
]);
|
|
381
381
|
const isLink = !!href;
|
|
382
382
|
const props = __spreadValues(__spreadValues({
|
|
383
|
-
className:
|
|
383
|
+
className: clsx20(
|
|
384
384
|
Button_module_default.button,
|
|
385
385
|
variant ? Button_module_default[variant] : null,
|
|
386
386
|
{ [Button_module_default.fullWidth]: !!fullWidth },
|
|
@@ -610,7 +610,7 @@ var BrandsStrip = ({
|
|
|
610
610
|
"div",
|
|
611
611
|
{
|
|
612
612
|
ref: containerRef,
|
|
613
|
-
className:
|
|
613
|
+
className: clsx20(
|
|
614
614
|
BrandsStrip_module_default.brandsStrip,
|
|
615
615
|
BrandsStrip_module_default[variant],
|
|
616
616
|
{ [BrandsStrip_module_default.small]: size === "small" },
|
|
@@ -619,13 +619,13 @@ var BrandsStrip = ({
|
|
|
619
619
|
onMouseEnter: handleMouseEnter,
|
|
620
620
|
onMouseLeave: handleMouseLeave,
|
|
621
621
|
children: [
|
|
622
|
-
/* @__PURE__ */ jsxs("div", { className:
|
|
623
|
-
title && logos.length === 1 && /* @__PURE__ */ jsx("h2", { className:
|
|
622
|
+
/* @__PURE__ */ jsxs("div", { className: clsx20(BrandsStrip_module_default.container, { [BrandsStrip_module_default.blurred]: show && logos.length > 1 }), children: [
|
|
623
|
+
title && logos.length === 1 && /* @__PURE__ */ jsx("h2", { className: clsx20("body", BrandsStrip_module_default.title), children: title }),
|
|
624
624
|
logos.length > 0 && /* @__PURE__ */ jsx(
|
|
625
625
|
"div",
|
|
626
626
|
{
|
|
627
627
|
ref: marqueeRef,
|
|
628
|
-
className:
|
|
628
|
+
className: clsx20(BrandsStrip_module_default.logos, { [BrandsStrip_module_default.marqueeGSAP]: shouldAnimate }),
|
|
629
629
|
children: duplicatedLogos.map((logo, index) => /* @__PURE__ */ jsx("div", { className: BrandsStrip_module_default.logoWrapper, children: /* @__PURE__ */ jsx(Picture, __spreadValues({ className: BrandsStrip_module_default.logo }, logo)) }, `${logo.alt}-${index}`))
|
|
630
630
|
}
|
|
631
631
|
)
|
|
@@ -672,7 +672,7 @@ var Container_module_default = {
|
|
|
672
672
|
var Container = forwardRef(
|
|
673
673
|
(_a, ref) => {
|
|
674
674
|
var _b = _a, { children, className } = _b, props = __objRest(_b, ["children", "className"]);
|
|
675
|
-
return /* @__PURE__ */ jsx("div", __spreadProps(__spreadValues({ ref, className:
|
|
675
|
+
return /* @__PURE__ */ jsx("div", __spreadProps(__spreadValues({ ref, className: clsx20(Container_module_default.container, className) }, props), { children }));
|
|
676
676
|
}
|
|
677
677
|
);
|
|
678
678
|
Container.displayName = "Container";
|
|
@@ -709,7 +709,7 @@ var Card = ({
|
|
|
709
709
|
ConditionalWrapper,
|
|
710
710
|
__spreadProps(__spreadValues({
|
|
711
711
|
ref,
|
|
712
|
-
className:
|
|
712
|
+
className: clsx20(Card_module_default.card, Card_module_default[variant], className),
|
|
713
713
|
wrapper: Anchor,
|
|
714
714
|
fallback: "div",
|
|
715
715
|
condition: href && !label
|
|
@@ -748,10 +748,10 @@ var CountingCard = ({ className, title, count, image, children }) => {
|
|
|
748
748
|
title: CountingCardTitle
|
|
749
749
|
});
|
|
750
750
|
const titleNode = (_a = slots.title) != null ? _a : title;
|
|
751
|
-
return /* @__PURE__ */ jsxs("div", { className:
|
|
751
|
+
return /* @__PURE__ */ jsxs("div", { className: clsx20(CountingCard_module_default["counting-card"], className), children: [
|
|
752
752
|
/* @__PURE__ */ jsxs("div", { className: CountingCard_module_default.content, children: [
|
|
753
753
|
titleNode && /* @__PURE__ */ jsx("div", { className: "body", children: titleNode }),
|
|
754
|
-
count && /* @__PURE__ */ jsx("div", { className:
|
|
754
|
+
count && /* @__PURE__ */ jsx("div", { className: clsx20(CountingCard_module_default.count, "h1"), children: count })
|
|
755
755
|
] }),
|
|
756
756
|
image && /* @__PURE__ */ jsx(Picture, __spreadValues({ className: CountingCard_module_default.logo }, image))
|
|
757
757
|
] });
|
|
@@ -783,9 +783,9 @@ var InfoCard = ({ className, title, subtitle, icon, badge, children }) => {
|
|
|
783
783
|
});
|
|
784
784
|
const titleNode = (_a = slots.title) != null ? _a : title;
|
|
785
785
|
const subtitleNode = (_b = slots.subtitle) != null ? _b : subtitle;
|
|
786
|
-
return /* @__PURE__ */ jsxs("div", { className:
|
|
786
|
+
return /* @__PURE__ */ jsxs("div", { className: clsx20(InfoCard_module_default["info-card"], { [InfoCard_module_default.hasIcon]: !!icon }, className), children: [
|
|
787
787
|
/* @__PURE__ */ jsxs("div", { className: InfoCard_module_default.header, children: [
|
|
788
|
-
icon ? /* @__PURE__ */ jsx(Icon, { type: icon }) : badge ? /* @__PURE__ */ jsx("div", { className:
|
|
788
|
+
icon ? /* @__PURE__ */ jsx(Icon, { type: icon }) : badge ? /* @__PURE__ */ jsx("div", { className: clsx20(InfoCard_module_default.badge, "h4"), children: badge }) : null,
|
|
789
789
|
titleNode && /* @__PURE__ */ jsx("div", { className: "h4", children: titleNode })
|
|
790
790
|
] }),
|
|
791
791
|
subtitleNode && /* @__PURE__ */ jsx("div", { className: "body", children: subtitleNode })
|
|
@@ -847,7 +847,7 @@ var Pagination = ({
|
|
|
847
847
|
setActivePage(page);
|
|
848
848
|
onPageChange == null ? void 0 : onPageChange(page);
|
|
849
849
|
};
|
|
850
|
-
return /* @__PURE__ */ jsxs("div", { className:
|
|
850
|
+
return /* @__PURE__ */ jsxs("div", { className: clsx20(Pagination_module_default.pagination, className), children: [
|
|
851
851
|
!disableArrows && /* @__PURE__ */ jsx(
|
|
852
852
|
"button",
|
|
853
853
|
{
|
|
@@ -864,7 +864,7 @@ var Pagination = ({
|
|
|
864
864
|
"button",
|
|
865
865
|
{
|
|
866
866
|
onClick: () => goToPage(page),
|
|
867
|
-
className:
|
|
867
|
+
className: clsx20(Pagination_module_default.page, {
|
|
868
868
|
[Pagination_module_default.active]: activePage === page,
|
|
869
869
|
[Pagination_module_default.number]: hasNumber
|
|
870
870
|
}),
|
|
@@ -900,7 +900,7 @@ var PracticeCard_module_default = {
|
|
|
900
900
|
};
|
|
901
901
|
var PracticeCard = ({ className, title, cta, image }) => {
|
|
902
902
|
const { url: href, isExternal } = cta != null ? cta : {};
|
|
903
|
-
return /* @__PURE__ */ jsx("div", { className:
|
|
903
|
+
return /* @__PURE__ */ jsx("div", { className: clsx20(PracticeCard_module_default["practice-card"], className), children: /* @__PURE__ */ jsxs(
|
|
904
904
|
ConditionalWrapper,
|
|
905
905
|
__spreadProps(__spreadValues({
|
|
906
906
|
className: PracticeCard_module_default.wrapper,
|
|
@@ -911,7 +911,7 @@ var PracticeCard = ({ className, title, cta, image }) => {
|
|
|
911
911
|
children: [
|
|
912
912
|
image && /* @__PURE__ */ jsx(Picture, __spreadValues({ className: PracticeCard_module_default.background }, image)),
|
|
913
913
|
/* @__PURE__ */ jsxs("div", { className: PracticeCard_module_default.container, children: [
|
|
914
|
-
title && /* @__PURE__ */ jsx("div", { className:
|
|
914
|
+
title && /* @__PURE__ */ jsx("div", { className: clsx20(PracticeCard_module_default.title, "h3"), children: title }),
|
|
915
915
|
href && /* @__PURE__ */ jsxs("div", { className: PracticeCard_module_default.cta, children: [
|
|
916
916
|
/* @__PURE__ */ jsx(Icon, { className: PracticeCard_module_default.ctaRest, type: "right" }),
|
|
917
917
|
/* @__PURE__ */ jsx(Icon, { className: PracticeCard_module_default.ctaHover, type: "tiltedRight" })
|
|
@@ -1000,13 +1000,13 @@ var CardCollection = ({
|
|
|
1000
1000
|
Container,
|
|
1001
1001
|
{
|
|
1002
1002
|
ref: container,
|
|
1003
|
-
className:
|
|
1003
|
+
className: clsx20(CardCollection_module_default["card-collection"], CardCollection_module_default[variant], className),
|
|
1004
1004
|
children: [
|
|
1005
1005
|
/* @__PURE__ */ jsxs("div", { className: CardCollection_module_default.content, children: [
|
|
1006
1006
|
titleNode && /* @__PURE__ */ jsx("h2", { children: titleNode }),
|
|
1007
1007
|
subtitleNode && /* @__PURE__ */ jsx("div", { className: "subheading", children: subtitleNode })
|
|
1008
1008
|
] }),
|
|
1009
|
-
/* @__PURE__ */ jsx("div", { className: CardCollection_module_default.wrapper, children: /* @__PURE__ */ jsxs("div", { className:
|
|
1009
|
+
/* @__PURE__ */ jsx("div", { className: CardCollection_module_default.wrapper, children: /* @__PURE__ */ jsxs("div", { className: clsx20(CardCollection_module_default.cardWrapper, { [CardCollection_module_default["is-expanded"]]: isExpanded }), children: [
|
|
1010
1010
|
visibleCards.map((card, key) => /* @__PURE__ */ jsx(Card2, __spreadValues({ className: CardCollection_module_default.card, variant: theme }, card), key)),
|
|
1011
1011
|
isExamCard && hiddenCards.length > 0 && /* @__PURE__ */ jsx("div", { ref: revealWrapper, className: CardCollection_module_default["reveal-wrapper"], children: /* @__PURE__ */ jsx("div", { className: CardCollection_module_default["reveal-inner"], children: hiddenCards.map((card, key) => /* @__PURE__ */ jsx(
|
|
1012
1012
|
Card2,
|
|
@@ -1107,7 +1107,7 @@ var ContactModule = ({
|
|
|
1107
1107
|
},
|
|
1108
1108
|
{ scope: containerRef, dependencies: [blurred, animateBlur] }
|
|
1109
1109
|
);
|
|
1110
|
-
return /* @__PURE__ */ jsxs("div", { ref: containerRef, className:
|
|
1110
|
+
return /* @__PURE__ */ jsxs("div", { ref: containerRef, className: clsx20(ContactModule_module_default["contact-module"], className), children: [
|
|
1111
1111
|
blurred && /* @__PURE__ */ jsx(
|
|
1112
1112
|
"div",
|
|
1113
1113
|
{
|
|
@@ -1122,8 +1122,8 @@ var ContactModule = ({
|
|
|
1122
1122
|
/* @__PURE__ */ jsxs(Container, { className: ContactModule_module_default.container, children: [
|
|
1123
1123
|
/* @__PURE__ */ jsxs("div", { className: ContactModule_module_default.wrapper, children: [
|
|
1124
1124
|
/* @__PURE__ */ jsxs("div", { className: ContactModule_module_default.content, children: [
|
|
1125
|
-
titleNode && /* @__PURE__ */ jsx("div", { className:
|
|
1126
|
-
subtitleNode && /* @__PURE__ */ jsx("div", { className:
|
|
1125
|
+
titleNode && /* @__PURE__ */ jsx("div", { className: clsx20(ContactModule_module_default.title, "h1"), children: titleNode }),
|
|
1126
|
+
subtitleNode && /* @__PURE__ */ jsx("div", { className: clsx20(ContactModule_module_default.subtitle, "subheading"), children: subtitleNode })
|
|
1127
1127
|
] }),
|
|
1128
1128
|
/* @__PURE__ */ jsx("div", { className: ContactModule_module_default["cta-wrapper"], children: ctas == null ? void 0 : ctas.map((cta, key) => /* @__PURE__ */ jsx(
|
|
1129
1129
|
Button,
|
|
@@ -1184,7 +1184,7 @@ var Footer = ({
|
|
|
1184
1184
|
disclaimer: FooterDisclaimer
|
|
1185
1185
|
});
|
|
1186
1186
|
const titleNode = (_a = slots.disclaimer) != null ? _a : disclaimer;
|
|
1187
|
-
return /* @__PURE__ */ jsx("footer", { className:
|
|
1187
|
+
return /* @__PURE__ */ jsx("footer", { className: clsx20(Footer_module_default.footer, className), children: /* @__PURE__ */ jsxs(Container, { className: Footer_module_default.container, children: [
|
|
1188
1188
|
/* @__PURE__ */ jsxs("div", { className: Footer_module_default.bottom, children: [
|
|
1189
1189
|
/* @__PURE__ */ jsxs("div", { className: Footer_module_default["bottom-left"], children: [
|
|
1190
1190
|
supporters.length > 0 && /* @__PURE__ */ jsx("div", { className: Footer_module_default.supporters, children: /* @__PURE__ */ jsx("div", { className: Footer_module_default["supporters-logos"], children: supporters.map(
|
|
@@ -1200,7 +1200,7 @@ var Footer = ({
|
|
|
1200
1200
|
index
|
|
1201
1201
|
) : /* @__PURE__ */ jsx("div", { className: Footer_module_default["supporter-link-primary"], children: /* @__PURE__ */ jsx(Picture, __spreadValues({}, supporter.image)) }, index)
|
|
1202
1202
|
) }) }),
|
|
1203
|
-
titleNode && /* @__PURE__ */ jsx("div", { className:
|
|
1203
|
+
titleNode && /* @__PURE__ */ jsx("div", { className: clsx20(Footer_module_default.disclaimer, "p"), children: titleNode }),
|
|
1204
1204
|
copyright && /* @__PURE__ */ jsx("p", { className: Footer_module_default.copyright, children: copyright })
|
|
1205
1205
|
] }),
|
|
1206
1206
|
columns.length > 0 && /* @__PURE__ */ jsx("nav", { className: Footer_module_default["bottom-right"], children: columns.map((column, colIndex) => /* @__PURE__ */ jsx("ul", { className: Footer_module_default["nav-list"], children: column.map((link) => /* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(
|
|
@@ -1269,12 +1269,12 @@ var HeroBanner = ({
|
|
|
1269
1269
|
});
|
|
1270
1270
|
const titleNode = (_a = slots.title) != null ? _a : title;
|
|
1271
1271
|
const subtitleNode = (_b = slots.subtitle) != null ? _b : subtitle;
|
|
1272
|
-
return /* @__PURE__ */ jsxs("div", { className:
|
|
1272
|
+
return /* @__PURE__ */ jsxs("div", { className: clsx20(HeroBanner_module_default.heroBanner, HeroBanner_module_default[variant], className), children: [
|
|
1273
1273
|
/* @__PURE__ */ jsxs("div", { className: HeroBanner_module_default.container, children: [
|
|
1274
1274
|
/* @__PURE__ */ jsxs("div", { className: HeroBanner_module_default.banner, children: [
|
|
1275
1275
|
(titleNode || subtitleNode) && /* @__PURE__ */ jsxs("div", { className: HeroBanner_module_default.text, children: [
|
|
1276
|
-
titleNode && /* @__PURE__ */ jsx("h1", { className:
|
|
1277
|
-
subtitleNode && /* @__PURE__ */ jsx("div", { className:
|
|
1276
|
+
titleNode && /* @__PURE__ */ jsx("h1", { className: clsx20(HeroBanner_module_default.title, "h1"), children: titleNode }),
|
|
1277
|
+
subtitleNode && /* @__PURE__ */ jsx("div", { className: clsx20(HeroBanner_module_default.subtitle, "subtitle"), children: subtitleNode })
|
|
1278
1278
|
] }),
|
|
1279
1279
|
cta && cta.length > 0 && !vBannerPodcast && /* @__PURE__ */ jsx("div", { className: HeroBanner_module_default.ctaContainer, children: cta.slice(0, 2).map((cta2, key) => {
|
|
1280
1280
|
return /* @__PURE__ */ jsx(
|
|
@@ -1317,6 +1317,103 @@ var HeroBanner2 = Object.assign(HeroBanner, {
|
|
|
1317
1317
|
Title: HeroBannerTitle,
|
|
1318
1318
|
Subtitle: HeroBannerSubtitle
|
|
1319
1319
|
});
|
|
1320
|
+
|
|
1321
|
+
// src/widgets/HeroBannerCarousel/HeroBannerCarousel.module.scss
|
|
1322
|
+
var HeroBannerCarousel_module_default = {
|
|
1323
|
+
heroBannerCarousel: "HeroBannerCarousel_module_heroBannerCarousel",
|
|
1324
|
+
inner: "HeroBannerCarousel_module_inner",
|
|
1325
|
+
swiperContainer: "HeroBannerCarousel_module_swiperContainer",
|
|
1326
|
+
card: "HeroBannerCarousel_module_card",
|
|
1327
|
+
cardContent: "HeroBannerCarousel_module_cardContent",
|
|
1328
|
+
cardTitle: "HeroBannerCarousel_module_cardTitle",
|
|
1329
|
+
cardBottom: "HeroBannerCarousel_module_cardBottom",
|
|
1330
|
+
cardBody: "HeroBannerCarousel_module_cardBody",
|
|
1331
|
+
cardCtaContainer: "HeroBannerCarousel_module_cardCtaContainer",
|
|
1332
|
+
cardImageWrapper: "HeroBannerCarousel_module_cardImageWrapper",
|
|
1333
|
+
cardImage: "HeroBannerCarousel_module_cardImage",
|
|
1334
|
+
controls: "HeroBannerCarousel_module_controls",
|
|
1335
|
+
navButton: "HeroBannerCarousel_module_navButton",
|
|
1336
|
+
navIcon: "HeroBannerCarousel_module_navIcon",
|
|
1337
|
+
pagination: "HeroBannerCarousel_module_pagination",
|
|
1338
|
+
dot: "HeroBannerCarousel_module_dot",
|
|
1339
|
+
dotActive: "HeroBannerCarousel_module_dotActive"
|
|
1340
|
+
};
|
|
1341
|
+
var HeroBannerCarousel = ({
|
|
1342
|
+
className,
|
|
1343
|
+
items = [],
|
|
1344
|
+
navPrevIcon,
|
|
1345
|
+
navNextIcon
|
|
1346
|
+
}) => {
|
|
1347
|
+
const { is } = useViewPort_default();
|
|
1348
|
+
const isMobile = is("tablet", "below");
|
|
1349
|
+
const [swiperInstance, setSwiperInstance] = useState(null);
|
|
1350
|
+
const [activeIndex, setActiveIndex] = useState(0);
|
|
1351
|
+
if (!items.length) return null;
|
|
1352
|
+
return /* @__PURE__ */ jsx("div", { className: clsx20(HeroBannerCarousel_module_default.heroBannerCarousel, className), children: /* @__PURE__ */ jsxs("div", { className: HeroBannerCarousel_module_default.inner, children: [
|
|
1353
|
+
/* @__PURE__ */ jsx("div", { className: HeroBannerCarousel_module_default.swiperContainer, children: /* @__PURE__ */ jsx(
|
|
1354
|
+
Swiper,
|
|
1355
|
+
{
|
|
1356
|
+
modules: [Navigation, Pagination$1],
|
|
1357
|
+
slidesPerView: "auto",
|
|
1358
|
+
spaceBetween: isMobile ? 8 : 32,
|
|
1359
|
+
onSwiper: setSwiperInstance,
|
|
1360
|
+
onSlideChange: (swiper) => setActiveIndex(swiper.activeIndex),
|
|
1361
|
+
children: items.map((item, index) => /* @__PURE__ */ jsx(SwiperSlide, { children: /* @__PURE__ */ jsxs("div", { className: HeroBannerCarousel_module_default.card, children: [
|
|
1362
|
+
/* @__PURE__ */ jsxs("div", { className: HeroBannerCarousel_module_default.cardContent, children: [
|
|
1363
|
+
/* @__PURE__ */ jsx("h3", { className: HeroBannerCarousel_module_default.cardTitle, children: item.title }),
|
|
1364
|
+
/* @__PURE__ */ jsxs("div", { className: HeroBannerCarousel_module_default.cardBottom, children: [
|
|
1365
|
+
/* @__PURE__ */ jsx("div", { className: HeroBannerCarousel_module_default.cardBody, children: item.body }),
|
|
1366
|
+
item.ctas.length > 0 && /* @__PURE__ */ jsx("div", { className: HeroBannerCarousel_module_default.cardCtaContainer, children: item.ctas.map((cta, ctaIndex) => /* @__PURE__ */ jsx(
|
|
1367
|
+
Button,
|
|
1368
|
+
{
|
|
1369
|
+
href: cta.url,
|
|
1370
|
+
isExternal: cta.isExternal,
|
|
1371
|
+
variant: "primary",
|
|
1372
|
+
fullWidth: isMobile,
|
|
1373
|
+
logo: cta.logo,
|
|
1374
|
+
children: cta.label
|
|
1375
|
+
},
|
|
1376
|
+
ctaIndex
|
|
1377
|
+
)) })
|
|
1378
|
+
] })
|
|
1379
|
+
] }),
|
|
1380
|
+
/* @__PURE__ */ jsx("div", { className: HeroBannerCarousel_module_default.cardImageWrapper, children: /* @__PURE__ */ jsx(Picture, __spreadValues({ className: HeroBannerCarousel_module_default.cardImage }, item.image)) })
|
|
1381
|
+
] }) }, index))
|
|
1382
|
+
}
|
|
1383
|
+
) }),
|
|
1384
|
+
/* @__PURE__ */ jsxs("div", { className: HeroBannerCarousel_module_default.controls, children: [
|
|
1385
|
+
/* @__PURE__ */ jsx(
|
|
1386
|
+
"button",
|
|
1387
|
+
{
|
|
1388
|
+
className: HeroBannerCarousel_module_default.navButton,
|
|
1389
|
+
onClick: () => swiperInstance == null ? void 0 : swiperInstance.slidePrev(),
|
|
1390
|
+
disabled: activeIndex === 0,
|
|
1391
|
+
"aria-label": "Previous slide",
|
|
1392
|
+
children: navPrevIcon && /* @__PURE__ */ jsx("img", { src: navPrevIcon, alt: "", className: HeroBannerCarousel_module_default.navIcon })
|
|
1393
|
+
}
|
|
1394
|
+
),
|
|
1395
|
+
/* @__PURE__ */ jsx("div", { className: HeroBannerCarousel_module_default.pagination, children: items.map((_, index) => /* @__PURE__ */ jsx(
|
|
1396
|
+
"button",
|
|
1397
|
+
{
|
|
1398
|
+
className: clsx20(HeroBannerCarousel_module_default.dot, index === activeIndex && HeroBannerCarousel_module_default.dotActive),
|
|
1399
|
+
onClick: () => swiperInstance == null ? void 0 : swiperInstance.slideTo(index),
|
|
1400
|
+
"aria-label": `Go to slide ${index + 1}`
|
|
1401
|
+
},
|
|
1402
|
+
index
|
|
1403
|
+
)) }),
|
|
1404
|
+
/* @__PURE__ */ jsx(
|
|
1405
|
+
"button",
|
|
1406
|
+
{
|
|
1407
|
+
className: HeroBannerCarousel_module_default.navButton,
|
|
1408
|
+
onClick: () => swiperInstance == null ? void 0 : swiperInstance.slideNext(),
|
|
1409
|
+
disabled: activeIndex === items.length - 1,
|
|
1410
|
+
"aria-label": "Next slide",
|
|
1411
|
+
children: navNextIcon && /* @__PURE__ */ jsx("img", { src: navNextIcon, alt: "", className: HeroBannerCarousel_module_default.navIcon })
|
|
1412
|
+
}
|
|
1413
|
+
)
|
|
1414
|
+
] })
|
|
1415
|
+
] }) });
|
|
1416
|
+
};
|
|
1320
1417
|
var MiniBannerTitle = ({ children }) => {
|
|
1321
1418
|
return /* @__PURE__ */ jsx(Fragment, { children });
|
|
1322
1419
|
};
|
|
@@ -1365,17 +1462,17 @@ var MiniBanner = ({
|
|
|
1365
1462
|
const pretitleNode = (_a = slots.pretitle) != null ? _a : pretitle;
|
|
1366
1463
|
const titleNode = (_b = slots.title) != null ? _b : title;
|
|
1367
1464
|
const subtitleNode = (_c = slots.subtitle) != null ? _c : subtitle;
|
|
1368
|
-
return /* @__PURE__ */ jsxs("div", { className:
|
|
1465
|
+
return /* @__PURE__ */ jsxs("div", { className: clsx20(MiniBanner_module_default.minibanner, MiniBanner_module_default[variant], className), children: [
|
|
1369
1466
|
((background == null ? void 0 : background.src) || ((_d = background == null ? void 0 : background.desktop) == null ? void 0 : _d.src) || ((_e = background == null ? void 0 : background.mobile) == null ? void 0 : _e.src)) && /* @__PURE__ */ jsx(Picture, __spreadValues({ className: MiniBanner_module_default.background }, background)),
|
|
1370
1467
|
/* @__PURE__ */ jsxs("div", { className: MiniBanner_module_default.wrapper, children: [
|
|
1371
1468
|
/* @__PURE__ */ jsxs("div", { className: MiniBanner_module_default.textContainer, children: [
|
|
1372
1469
|
(logo == null ? void 0 : logo.src) && /* @__PURE__ */ jsx(Picture, __spreadValues({ className: MiniBanner_module_default.logo }, logo)),
|
|
1373
|
-
pretitleNode && /* @__PURE__ */ jsx("div", { className:
|
|
1374
|
-
/* @__PURE__ */ jsx("div", { className: MiniBanner_module_default.headingWrapper, children: titleNode && /* @__PURE__ */ jsx("div", { className:
|
|
1470
|
+
pretitleNode && /* @__PURE__ */ jsx("div", { className: clsx20(MiniBanner_module_default.pretitle, "small"), children: pretitleNode }),
|
|
1471
|
+
/* @__PURE__ */ jsx("div", { className: MiniBanner_module_default.headingWrapper, children: titleNode && /* @__PURE__ */ jsx("div", { className: clsx20(MiniBanner_module_default.title, isMiniBannerTextLeft ? "h1" : "h4"), children: titleNode }) }),
|
|
1375
1472
|
subtitleNode && /* @__PURE__ */ jsx(
|
|
1376
1473
|
"div",
|
|
1377
1474
|
{
|
|
1378
|
-
className:
|
|
1475
|
+
className: clsx20(MiniBanner_module_default.title, {
|
|
1379
1476
|
subheading: isMiniBannerNoBG || isMiniBannerTextLeft,
|
|
1380
1477
|
h1: !isMiniBannerNoBG && !isMiniBannerTextLeft
|
|
1381
1478
|
}),
|
|
@@ -1422,12 +1519,15 @@ var MiniSectionCta_module_default = {
|
|
|
1422
1519
|
infoCallout: "MiniSectionCta_module_infoCallout",
|
|
1423
1520
|
subtitle: "MiniSectionCta_module_subtitle",
|
|
1424
1521
|
miniTextCenterCta: "MiniSectionCta_module_miniTextCenterCta",
|
|
1522
|
+
light: "MiniSectionCta_module_light",
|
|
1523
|
+
dark: "MiniSectionCta_module_dark",
|
|
1425
1524
|
cta: "MiniSectionCta_module_cta",
|
|
1426
1525
|
BgColorGrey: "MiniSectionCta_module_BgColorGrey"
|
|
1427
1526
|
};
|
|
1428
1527
|
var MiniSectionCta = ({
|
|
1429
1528
|
className,
|
|
1430
1529
|
variant = "headerCTA",
|
|
1530
|
+
theme,
|
|
1431
1531
|
title,
|
|
1432
1532
|
subtitle,
|
|
1433
1533
|
cta,
|
|
@@ -1440,29 +1540,35 @@ var MiniSectionCta = ({
|
|
|
1440
1540
|
});
|
|
1441
1541
|
const titleNode = (_a = slots.title) != null ? _a : title;
|
|
1442
1542
|
const subtitleNode = (_b = slots.subtitle) != null ? _b : subtitle;
|
|
1443
|
-
return /* @__PURE__ */ jsx(
|
|
1444
|
-
|
|
1445
|
-
|
|
1446
|
-
|
|
1447
|
-
|
|
1448
|
-
{
|
|
1449
|
-
|
|
1450
|
-
|
|
1451
|
-
|
|
1452
|
-
|
|
1453
|
-
|
|
1454
|
-
|
|
1455
|
-
|
|
1456
|
-
|
|
1457
|
-
|
|
1458
|
-
|
|
1459
|
-
|
|
1460
|
-
|
|
1461
|
-
|
|
1462
|
-
|
|
1463
|
-
|
|
1464
|
-
|
|
1465
|
-
|
|
1543
|
+
return /* @__PURE__ */ jsx(
|
|
1544
|
+
"div",
|
|
1545
|
+
{
|
|
1546
|
+
className: clsx20(MiniSectionCta_module_default.miniSectionCta, MiniSectionCta_module_default[variant], theme && MiniSectionCta_module_default[theme], className),
|
|
1547
|
+
children: /* @__PURE__ */ jsx(Container, { children: /* @__PURE__ */ jsxs("div", { className: MiniSectionCta_module_default.wrapper, children: [
|
|
1548
|
+
/* @__PURE__ */ jsxs("div", { className: MiniSectionCta_module_default.col, children: [
|
|
1549
|
+
titleNode && /* @__PURE__ */ jsx("h2", { className: variant === "BgColorBlack" || variant === "BgColorGrey" ? "h3" : "h2", children: titleNode }),
|
|
1550
|
+
subtitleNode && /* @__PURE__ */ jsx(
|
|
1551
|
+
"div",
|
|
1552
|
+
{
|
|
1553
|
+
className: clsx20(MiniSectionCta_module_default.subtitle, variant === "infoCallout" ? "h4" : "subheading"),
|
|
1554
|
+
children: subtitleNode
|
|
1555
|
+
}
|
|
1556
|
+
)
|
|
1557
|
+
] }),
|
|
1558
|
+
cta && /* @__PURE__ */ jsx("div", { className: MiniSectionCta_module_default.col, children: /* @__PURE__ */ jsx(
|
|
1559
|
+
Button,
|
|
1560
|
+
{
|
|
1561
|
+
className: MiniSectionCta_module_default.cta,
|
|
1562
|
+
href: cta.url,
|
|
1563
|
+
isExternal: cta.isExternal,
|
|
1564
|
+
variant: variant === "BgColorBlack" ? "shiny" : "primary",
|
|
1565
|
+
icon: variant === "miniTextCenterCta" ? "tiltedRightWhite" : void 0,
|
|
1566
|
+
children: cta.label
|
|
1567
|
+
}
|
|
1568
|
+
) })
|
|
1569
|
+
] }) })
|
|
1570
|
+
}
|
|
1571
|
+
);
|
|
1466
1572
|
};
|
|
1467
1573
|
|
|
1468
1574
|
// src/widgets/MiniSectionCta/index.ts
|
|
@@ -1509,7 +1615,7 @@ var PracticePathCards = ({
|
|
|
1509
1615
|
const titleNode = (_a = slots.title) != null ? _a : title;
|
|
1510
1616
|
const subtitleNode = (_b = slots.subtitle) != null ? _b : subtitle;
|
|
1511
1617
|
const footerNode = (_c = slots.footer) != null ? _c : footer;
|
|
1512
|
-
return /* @__PURE__ */ jsx("div", { className:
|
|
1618
|
+
return /* @__PURE__ */ jsx("div", { className: clsx20(PracticePathCards_module_default["practice-path-cards"], className), children: /* @__PURE__ */ jsxs(Container, { className: PracticePathCards_module_default.container, children: [
|
|
1513
1619
|
/* @__PURE__ */ jsxs("div", { className: PracticePathCards_module_default.wrapper, children: [
|
|
1514
1620
|
/* @__PURE__ */ jsxs("div", { className: PracticePathCards_module_default.content, children: [
|
|
1515
1621
|
titleNode && /* @__PURE__ */ jsx("h2", { children: titleNode }),
|
|
@@ -1563,8 +1669,8 @@ var Teaser5050With3Text = ({
|
|
|
1563
1669
|
title: Teaser5050With3TextTitle
|
|
1564
1670
|
});
|
|
1565
1671
|
const titleNode = (_a = slots.title) != null ? _a : title;
|
|
1566
|
-
return /* @__PURE__ */ jsx("div", { className:
|
|
1567
|
-
titleNode && /* @__PURE__ */ jsx("div", { className:
|
|
1672
|
+
return /* @__PURE__ */ jsx("div", { className: clsx20(Teaser5050With3Text_module_default["teaser5050-3text"], Teaser5050With3Text_module_default[variant], className), children: /* @__PURE__ */ jsxs(Container, { className: Teaser5050With3Text_module_default.container, children: [
|
|
1673
|
+
titleNode && /* @__PURE__ */ jsx("div", { className: clsx20(Teaser5050With3Text_module_default.title, "h3"), children: titleNode }),
|
|
1568
1674
|
/* @__PURE__ */ jsxs("div", { className: Teaser5050With3Text_module_default.content, children: [
|
|
1569
1675
|
/* @__PURE__ */ jsx("div", { className: Teaser5050With3Text_module_default.cards, children: cards == null ? void 0 : cards.map((card, key) => /* @__PURE__ */ jsx(InfoCard2, __spreadValues({}, card), key)) }),
|
|
1570
1676
|
image && /* @__PURE__ */ jsx(Picture, __spreadValues({ className: Teaser5050With3Text_module_default.image }, image))
|
|
@@ -1614,12 +1720,12 @@ var Teaser5050WithCta = ({
|
|
|
1614
1720
|
return /* @__PURE__ */ jsx(
|
|
1615
1721
|
"div",
|
|
1616
1722
|
{
|
|
1617
|
-
className:
|
|
1723
|
+
className: clsx20(Teaser5050WithCta_module_default.teaser5050, Teaser5050WithCta_module_default[variant], className),
|
|
1618
1724
|
style: { backgroundColor: bgColor ? bgColor : "#ffffff" },
|
|
1619
1725
|
children: /* @__PURE__ */ jsxs(Container, { className: Teaser5050WithCta_module_default.container, children: [
|
|
1620
1726
|
/* @__PURE__ */ jsxs("div", { className: Teaser5050WithCta_module_default.wrapper, children: [
|
|
1621
1727
|
/* @__PURE__ */ jsxs("div", { className: Teaser5050WithCta_module_default.content, children: [
|
|
1622
|
-
titleNode && /* @__PURE__ */ jsx("div", { className:
|
|
1728
|
+
titleNode && /* @__PURE__ */ jsx("div", { className: clsx20(Teaser5050WithCta_module_default.title, "h3"), children: titleNode }),
|
|
1623
1729
|
subtitleNode && /* @__PURE__ */ jsx("div", { className: "subheading", children: subtitleNode })
|
|
1624
1730
|
] }),
|
|
1625
1731
|
(ctas == null ? void 0 : ctas.length) && /* @__PURE__ */ jsx("div", { className: Teaser5050WithCta_module_default.ctaWrapper, children: ctas.map((cta, key) => /* @__PURE__ */ jsx(
|
|
@@ -1658,6 +1764,7 @@ var UpcomingEventCard_module_default = {
|
|
|
1658
1764
|
description: "UpcomingEventCard_module_description",
|
|
1659
1765
|
"event-card-footer": "UpcomingEventCard_module_event-card-footer",
|
|
1660
1766
|
horizontal: "UpcomingEventCard_module_horizontal",
|
|
1767
|
+
"event-card-show-image": "UpcomingEventCard_module_event-card-show-image",
|
|
1661
1768
|
"event-card-cta": "UpcomingEventCard_module_event-card-cta",
|
|
1662
1769
|
hidden: "UpcomingEventCard_module_hidden",
|
|
1663
1770
|
"cta-without-image": "UpcomingEventCard_module_cta-without-image",
|
|
@@ -1682,7 +1789,7 @@ var UpcomingEventCard = ({
|
|
|
1682
1789
|
return /* @__PURE__ */ jsxs(
|
|
1683
1790
|
"article",
|
|
1684
1791
|
{
|
|
1685
|
-
className:
|
|
1792
|
+
className: clsx20(
|
|
1686
1793
|
"card",
|
|
1687
1794
|
UpcomingEventCard_module_default["event-card"],
|
|
1688
1795
|
UpcomingEventCard_module_default[direction],
|
|
@@ -1690,39 +1797,49 @@ var UpcomingEventCard = ({
|
|
|
1690
1797
|
className
|
|
1691
1798
|
),
|
|
1692
1799
|
children: [
|
|
1693
|
-
/* @__PURE__ */ jsxs("div", { className:
|
|
1694
|
-
showImage && image && /* @__PURE__ */ jsx(Picture, __spreadProps(__spreadValues({}, image), { className:
|
|
1695
|
-
/* @__PURE__ */ jsxs(
|
|
1696
|
-
|
|
1697
|
-
|
|
1698
|
-
|
|
1699
|
-
|
|
1700
|
-
|
|
1701
|
-
|
|
1702
|
-
|
|
1703
|
-
|
|
1704
|
-
className:
|
|
1705
|
-
|
|
1706
|
-
|
|
1707
|
-
|
|
1708
|
-
|
|
1709
|
-
|
|
1710
|
-
|
|
1711
|
-
|
|
1712
|
-
|
|
1713
|
-
|
|
1714
|
-
|
|
1715
|
-
|
|
1800
|
+
/* @__PURE__ */ jsxs("div", { className: clsx20("card-content", UpcomingEventCard_module_default["event-card-content"]), children: [
|
|
1801
|
+
showImage && image && /* @__PURE__ */ jsx(Picture, __spreadProps(__spreadValues({}, image), { className: clsx20("card-image", UpcomingEventCard_module_default["event-card-image"]) })),
|
|
1802
|
+
/* @__PURE__ */ jsxs(
|
|
1803
|
+
"div",
|
|
1804
|
+
{
|
|
1805
|
+
className: clsx20(
|
|
1806
|
+
"card-text-content",
|
|
1807
|
+
UpcomingEventCard_module_default["event-card-text-content"],
|
|
1808
|
+
(!showImage || !hasImage) && UpcomingEventCard_module_default["event-card-show-image"]
|
|
1809
|
+
),
|
|
1810
|
+
children: [
|
|
1811
|
+
/* @__PURE__ */ jsx("span", { className: UpcomingEventCard_module_default.date, children: date }),
|
|
1812
|
+
title && /* @__PURE__ */ jsx("h3", { className: clsx20("card-text-title"), children: title }),
|
|
1813
|
+
location && /* @__PURE__ */ jsx("span", { className: UpcomingEventCard_module_default.location, children: location }),
|
|
1814
|
+
description && /* @__PURE__ */ jsx("div", { className: clsx20("card-text-description", UpcomingEventCard_module_default.description), children: description }),
|
|
1815
|
+
cta && cta.url && /* @__PURE__ */ jsx(
|
|
1816
|
+
Button,
|
|
1817
|
+
{
|
|
1818
|
+
variant: "secondary",
|
|
1819
|
+
className: clsx20(
|
|
1820
|
+
"card-cta",
|
|
1821
|
+
UpcomingEventCard_module_default["event-card-cta"],
|
|
1822
|
+
!hasCTAandImage && UpcomingEventCard_module_default.hidden
|
|
1823
|
+
),
|
|
1824
|
+
fullWidth: isBelowMobile,
|
|
1825
|
+
href: cta.url,
|
|
1826
|
+
icon: cta.icon,
|
|
1827
|
+
children: cta.label
|
|
1828
|
+
}
|
|
1829
|
+
)
|
|
1830
|
+
]
|
|
1831
|
+
}
|
|
1832
|
+
)
|
|
1716
1833
|
] }),
|
|
1717
1834
|
cta && cta.url && /* @__PURE__ */ jsx(
|
|
1718
1835
|
"div",
|
|
1719
1836
|
{
|
|
1720
|
-
className:
|
|
1837
|
+
className: clsx20("card-footer", UpcomingEventCard_module_default["event-card-footer"], hasImage && UpcomingEventCard_module_default.hidden),
|
|
1721
1838
|
children: /* @__PURE__ */ jsx(
|
|
1722
1839
|
Button,
|
|
1723
1840
|
{
|
|
1724
1841
|
variant: "secondary",
|
|
1725
|
-
className:
|
|
1842
|
+
className: clsx20("card-cta", UpcomingEventCard_module_default["event-card-cta"]),
|
|
1726
1843
|
fullWidth: isBelowMobile,
|
|
1727
1844
|
href: cta.url,
|
|
1728
1845
|
icon: cta.icon,
|
|
@@ -1743,7 +1860,7 @@ var Carousel = (_a) => {
|
|
|
1743
1860
|
return /* @__PURE__ */ jsx(
|
|
1744
1861
|
Swiper,
|
|
1745
1862
|
__spreadProps(__spreadValues({
|
|
1746
|
-
className:
|
|
1863
|
+
className: clsx20(Carousel_module_default.carousel, className),
|
|
1747
1864
|
spaceBetween: 0,
|
|
1748
1865
|
slidesPerView: "auto",
|
|
1749
1866
|
modules: [FreeMode],
|
|
@@ -1755,7 +1872,7 @@ var Carousel = (_a) => {
|
|
|
1755
1872
|
SwiperSlide,
|
|
1756
1873
|
{
|
|
1757
1874
|
tag: "li",
|
|
1758
|
-
className:
|
|
1875
|
+
className: clsx20(Carousel_module_default["carousel-item"], props.slideClass),
|
|
1759
1876
|
children: slide
|
|
1760
1877
|
},
|
|
1761
1878
|
index
|
|
@@ -1768,11 +1885,13 @@ var Carousel = (_a) => {
|
|
|
1768
1885
|
var EventList_module_default = {
|
|
1769
1886
|
"event-list-module": "EventList_module_event-list-module",
|
|
1770
1887
|
"event-list-header-container": "EventList_module_event-list-header-container",
|
|
1888
|
+
"event-list-title": "EventList_module_event-list-title",
|
|
1771
1889
|
"event-list-wrapper": "EventList_module_event-list-wrapper",
|
|
1772
1890
|
vertical: "EventList_module_vertical",
|
|
1773
|
-
grey: "EventList_module_grey",
|
|
1774
1891
|
"card-list-item": "EventList_module_card-list-item",
|
|
1775
1892
|
"card-item": "EventList_module_card-item",
|
|
1893
|
+
internalEventList: "EventList_module_internalEventList",
|
|
1894
|
+
"events-page": "EventList_module_events-page",
|
|
1776
1895
|
horizontal: "EventList_module_horizontal",
|
|
1777
1896
|
"carousel-wrapper": "EventList_module_carousel-wrapper",
|
|
1778
1897
|
"carousel-list-item": "EventList_module_carousel-list-item",
|
|
@@ -1781,35 +1900,41 @@ var EventList_module_default = {
|
|
|
1781
1900
|
var EventListTitle = ({ children }) => {
|
|
1782
1901
|
return /* @__PURE__ */ jsx(Fragment, { children });
|
|
1783
1902
|
};
|
|
1784
|
-
var EventList = ({
|
|
1903
|
+
var EventList = ({
|
|
1904
|
+
className,
|
|
1905
|
+
title,
|
|
1906
|
+
items,
|
|
1907
|
+
cta,
|
|
1908
|
+
backgroundColor,
|
|
1909
|
+
variant,
|
|
1910
|
+
children
|
|
1911
|
+
}) => {
|
|
1785
1912
|
var _a;
|
|
1786
1913
|
const { is } = useViewPort_default();
|
|
1787
1914
|
const slots = resolveCompoundSlots(children, {
|
|
1788
1915
|
title: EventListTitle
|
|
1789
1916
|
});
|
|
1790
1917
|
const titleNode = (_a = slots.title) != null ? _a : title;
|
|
1791
|
-
const isGrey = variant === "grey";
|
|
1792
1918
|
const isBelowTablet = is("tablet", "below");
|
|
1793
1919
|
const cardDirection = isBelowTablet ? "vertical" : "horizontal";
|
|
1794
|
-
const
|
|
1920
|
+
const isInternalEventList = variant === "internalEventList";
|
|
1921
|
+
const listDirection = isInternalEventList ? "horizontal" : "vertical";
|
|
1795
1922
|
return /* @__PURE__ */ jsx(
|
|
1796
1923
|
"div",
|
|
1797
1924
|
{
|
|
1798
|
-
className:
|
|
1799
|
-
|
|
1800
|
-
|
|
1801
|
-
|
|
1802
|
-
|
|
1803
|
-
),
|
|
1804
|
-
children: /* @__PURE__ */ jsxs(Container, { className: clsx19(EventList_module_default["event-list-container"]), children: [
|
|
1925
|
+
className: clsx20("event-list-module", EventList_module_default["event-list-module"], className),
|
|
1926
|
+
style: {
|
|
1927
|
+
backgroundColor
|
|
1928
|
+
},
|
|
1929
|
+
children: /* @__PURE__ */ jsxs(Container, { className: clsx20(EventList_module_default["event-list-container"]), children: [
|
|
1805
1930
|
/* @__PURE__ */ jsxs("div", { className: EventList_module_default["event-list-header-container"], children: [
|
|
1806
|
-
titleNode && /* @__PURE__ */ jsx("h2", { children: titleNode }),
|
|
1931
|
+
titleNode && /* @__PURE__ */ jsx("h2", { className: clsx20(EventList_module_default["event-list-title"]), children: titleNode }),
|
|
1807
1932
|
cta && cta.url && /* @__PURE__ */ jsx(Button, { className: EventList_module_default.cta, variant: "nofillblack", href: cta.url, icon: cta.icon, children: cta.label })
|
|
1808
1933
|
] }),
|
|
1809
|
-
|
|
1934
|
+
isInternalEventList && isBelowTablet && /* @__PURE__ */ jsx(
|
|
1810
1935
|
Carousel,
|
|
1811
1936
|
{
|
|
1812
|
-
wrapperClass:
|
|
1937
|
+
wrapperClass: clsx20(EventList_module_default["carousel-wrapper"], EventList_module_default[variant]),
|
|
1813
1938
|
slideClass: EventList_module_default["carousel-list-item"],
|
|
1814
1939
|
spaceBetween: 16,
|
|
1815
1940
|
slides: items.map((item) => {
|
|
@@ -1817,7 +1942,7 @@ var EventList = ({ className, title, items, cta, variant, children }) => {
|
|
|
1817
1942
|
return /* @__PURE__ */ jsx(
|
|
1818
1943
|
UpcomingEventCard,
|
|
1819
1944
|
__spreadValues({
|
|
1820
|
-
className:
|
|
1945
|
+
className: clsx20(EventList_module_default["event-card"]),
|
|
1821
1946
|
direction: "vertical",
|
|
1822
1947
|
showImage: false
|
|
1823
1948
|
}, item),
|
|
@@ -1826,16 +1951,16 @@ var EventList = ({ className, title, items, cta, variant, children }) => {
|
|
|
1826
1951
|
})
|
|
1827
1952
|
}
|
|
1828
1953
|
),
|
|
1829
|
-
|
|
1954
|
+
isInternalEventList && !isBelowTablet && /* @__PURE__ */ jsx("ul", { className: clsx20(EventList_module_default["event-list-wrapper"], EventList_module_default["horizontal"], EventList_module_default[variant]), children: items == null ? void 0 : items.map((item, index) => {
|
|
1830
1955
|
var _a2, _b, _c;
|
|
1831
1956
|
return /* @__PURE__ */ jsx(
|
|
1832
1957
|
"li",
|
|
1833
1958
|
{
|
|
1834
|
-
className:
|
|
1959
|
+
className: clsx20(EventList_module_default["card-list-item"]),
|
|
1835
1960
|
children: /* @__PURE__ */ jsx(
|
|
1836
1961
|
UpcomingEventCard,
|
|
1837
1962
|
__spreadProps(__spreadValues({}, item), {
|
|
1838
|
-
className:
|
|
1963
|
+
className: clsx20(EventList_module_default["card-item"]),
|
|
1839
1964
|
showImage: false,
|
|
1840
1965
|
direction: "vertical"
|
|
1841
1966
|
})
|
|
@@ -1844,7 +1969,7 @@ var EventList = ({ className, title, items, cta, variant, children }) => {
|
|
|
1844
1969
|
(_c = (_b = (_a2 = item.title) != null ? _a2 : item.date) != null ? _b : item.location) != null ? _c : index
|
|
1845
1970
|
);
|
|
1846
1971
|
}) }),
|
|
1847
|
-
!
|
|
1972
|
+
!isInternalEventList && /* @__PURE__ */ jsx("ul", { className: clsx20(EventList_module_default["event-list-wrapper"], EventList_module_default[listDirection]), children: items == null ? void 0 : items.map((item, index) => {
|
|
1848
1973
|
var _a2, _b, _c;
|
|
1849
1974
|
return /* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(UpcomingEventCard, __spreadProps(__spreadValues({}, item), { direction: cardDirection })) }, (_c = (_b = (_a2 = item.title) != null ? _a2 : item.date) != null ? _b : item.location) != null ? _c : index);
|
|
1850
1975
|
}) })
|
|
@@ -1894,9 +2019,9 @@ var TextEvent = (props) => {
|
|
|
1894
2019
|
});
|
|
1895
2020
|
const titleNode = (_a = slots.title) != null ? _a : title;
|
|
1896
2021
|
const richTextNode = (_b = slots.richText) != null ? _b : richText;
|
|
1897
|
-
return /* @__PURE__ */ jsxs(Container, { className:
|
|
2022
|
+
return /* @__PURE__ */ jsxs(Container, { className: clsx20(TextEvent_module_default.textEvent, className), children: [
|
|
1898
2023
|
/* @__PURE__ */ jsx(Text, { tag: "h2", className: TextEvent_module_default.title, children: titleNode }),
|
|
1899
|
-
/* @__PURE__ */ jsx("div", { className:
|
|
2024
|
+
/* @__PURE__ */ jsx("div", { className: clsx20(TextEvent_module_default.richText, TextEvent_module_default[variant != null ? variant : ""]), children: richTextNode })
|
|
1900
2025
|
] });
|
|
1901
2026
|
};
|
|
1902
2027
|
|
|
@@ -1927,7 +2052,7 @@ var TextBody = (props) => {
|
|
|
1927
2052
|
});
|
|
1928
2053
|
const titleNode = (_a = slots.title) != null ? _a : title;
|
|
1929
2054
|
const bodyNode = (_b = slots.body) != null ? _b : body;
|
|
1930
|
-
return /* @__PURE__ */ jsxs(Container, { className:
|
|
2055
|
+
return /* @__PURE__ */ jsxs(Container, { className: clsx20(TextBody_module_default.textBody, className), children: [
|
|
1931
2056
|
titleNode && /* @__PURE__ */ jsx(Text, { tag: "h2", className: TextBody_module_default.title, children: titleNode }),
|
|
1932
2057
|
/* @__PURE__ */ jsx("div", { className: TextBody_module_default.body, children: bodyNode })
|
|
1933
2058
|
] });
|
|
@@ -1970,7 +2095,7 @@ var TextCenterCtaInBottom = ({
|
|
|
1970
2095
|
});
|
|
1971
2096
|
const titleNode = (_a = slots.title) != null ? _a : title;
|
|
1972
2097
|
const subtitleNode = (_b = slots.subtitle) != null ? _b : subtitle;
|
|
1973
|
-
return /* @__PURE__ */ jsx("div", { className:
|
|
2098
|
+
return /* @__PURE__ */ jsx("div", { className: clsx20(TextCenterCtaInBottom_module_default.textCenterCta, className), children: /* @__PURE__ */ jsxs(Container, { className: TextCenterCtaInBottom_module_default.container, children: [
|
|
1974
2099
|
/* @__PURE__ */ jsxs("div", { className: TextCenterCtaInBottom_module_default.content, children: [
|
|
1975
2100
|
titleNode && /* @__PURE__ */ jsx("div", { className: TextCenterCtaInBottom_module_default.title, children: titleNode }),
|
|
1976
2101
|
subtitleNode && /* @__PURE__ */ jsx("div", { className: TextCenterCtaInBottom_module_default.subtitle, children: subtitleNode })
|
|
@@ -1978,7 +2103,7 @@ var TextCenterCtaInBottom = ({
|
|
|
1978
2103
|
!!(ctas == null ? void 0 : ctas.length) && /* @__PURE__ */ jsx(
|
|
1979
2104
|
"div",
|
|
1980
2105
|
{
|
|
1981
|
-
className:
|
|
2106
|
+
className: clsx20(
|
|
1982
2107
|
TextCenterCtaInBottom_module_default.ctaWrapper,
|
|
1983
2108
|
ctas.every((cta) => !cta.label && cta.logo) && TextCenterCtaInBottom_module_default.iconOnly
|
|
1984
2109
|
),
|
|
@@ -2033,6 +2158,6 @@ function useIntersectionObserver({
|
|
|
2033
2158
|
return { observeRef, isVisible };
|
|
2034
2159
|
}
|
|
2035
2160
|
|
|
2036
|
-
export { Anchor, BrandsStrip, Button, Card2 as Card, CardCollection2 as CardCollection, ConditionalWrapper, ContactModule2 as ContactModule, Container, CountingCard2 as CountingCard, EventList2 as EventList, Footer, HeroBanner2 as HeroBanner, Icon, InfoCard2 as InfoCard, MiniBanner2 as MiniBanner, MiniSectionCta2 as MiniSectionCta, Pagination, Picture, PracticeCard, PracticePathCards2 as PracticePathCards, Teaser5050With3Text2 as Teaser5050With3Text, Teaser5050WithCta2 as Teaser5050WithCta, TextBody2 as TextBody, TextCenterCtaInBottom2 as TextCenterCtaInBottom, TextEvent2 as TextEvent, resolveCompoundSlots, svgs, useIntersectionObserver };
|
|
2161
|
+
export { Anchor, BrandsStrip, Button, Card2 as Card, CardCollection2 as CardCollection, ConditionalWrapper, ContactModule2 as ContactModule, Container, CountingCard2 as CountingCard, EventList2 as EventList, Footer, HeroBanner2 as HeroBanner, HeroBannerCarousel, Icon, InfoCard2 as InfoCard, MiniBanner2 as MiniBanner, MiniSectionCta2 as MiniSectionCta, Pagination, Picture, PracticeCard, PracticePathCards2 as PracticePathCards, Teaser5050With3Text2 as Teaser5050With3Text, Teaser5050WithCta2 as Teaser5050WithCta, TextBody2 as TextBody, TextCenterCtaInBottom2 as TextCenterCtaInBottom, TextEvent2 as TextEvent, resolveCompoundSlots, svgs, useIntersectionObserver };
|
|
2037
2162
|
//# sourceMappingURL=index.mjs.map
|
|
2038
2163
|
//# sourceMappingURL=index.mjs.map
|