@digital-b2c/coreui-kit 0.6.0 → 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/LICENSE.txt +21 -21
- package/README.md +52 -52
- package/dist/index.cjs +209 -92
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +301 -17
- package/dist/index.css.map +1 -1
- package/dist/index.d.cts +20 -5
- package/dist/index.d.ts +20 -5
- package/dist/index.mjs +209 -93
- package/dist/index.mjs.map +1 -1
- package/dist/types/global.d.ts +25 -25
- package/package.json +100 -99
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
|
}),
|
|
@@ -1446,14 +1543,14 @@ var MiniSectionCta = ({
|
|
|
1446
1543
|
return /* @__PURE__ */ jsx(
|
|
1447
1544
|
"div",
|
|
1448
1545
|
{
|
|
1449
|
-
className:
|
|
1546
|
+
className: clsx20(MiniSectionCta_module_default.miniSectionCta, MiniSectionCta_module_default[variant], theme && MiniSectionCta_module_default[theme], className),
|
|
1450
1547
|
children: /* @__PURE__ */ jsx(Container, { children: /* @__PURE__ */ jsxs("div", { className: MiniSectionCta_module_default.wrapper, children: [
|
|
1451
1548
|
/* @__PURE__ */ jsxs("div", { className: MiniSectionCta_module_default.col, children: [
|
|
1452
1549
|
titleNode && /* @__PURE__ */ jsx("h2", { className: variant === "BgColorBlack" || variant === "BgColorGrey" ? "h3" : "h2", children: titleNode }),
|
|
1453
1550
|
subtitleNode && /* @__PURE__ */ jsx(
|
|
1454
1551
|
"div",
|
|
1455
1552
|
{
|
|
1456
|
-
className:
|
|
1553
|
+
className: clsx20(MiniSectionCta_module_default.subtitle, variant === "infoCallout" ? "h4" : "subheading"),
|
|
1457
1554
|
children: subtitleNode
|
|
1458
1555
|
}
|
|
1459
1556
|
)
|
|
@@ -1518,7 +1615,7 @@ var PracticePathCards = ({
|
|
|
1518
1615
|
const titleNode = (_a = slots.title) != null ? _a : title;
|
|
1519
1616
|
const subtitleNode = (_b = slots.subtitle) != null ? _b : subtitle;
|
|
1520
1617
|
const footerNode = (_c = slots.footer) != null ? _c : footer;
|
|
1521
|
-
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: [
|
|
1522
1619
|
/* @__PURE__ */ jsxs("div", { className: PracticePathCards_module_default.wrapper, children: [
|
|
1523
1620
|
/* @__PURE__ */ jsxs("div", { className: PracticePathCards_module_default.content, children: [
|
|
1524
1621
|
titleNode && /* @__PURE__ */ jsx("h2", { children: titleNode }),
|
|
@@ -1572,8 +1669,8 @@ var Teaser5050With3Text = ({
|
|
|
1572
1669
|
title: Teaser5050With3TextTitle
|
|
1573
1670
|
});
|
|
1574
1671
|
const titleNode = (_a = slots.title) != null ? _a : title;
|
|
1575
|
-
return /* @__PURE__ */ jsx("div", { className:
|
|
1576
|
-
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 }),
|
|
1577
1674
|
/* @__PURE__ */ jsxs("div", { className: Teaser5050With3Text_module_default.content, children: [
|
|
1578
1675
|
/* @__PURE__ */ jsx("div", { className: Teaser5050With3Text_module_default.cards, children: cards == null ? void 0 : cards.map((card, key) => /* @__PURE__ */ jsx(InfoCard2, __spreadValues({}, card), key)) }),
|
|
1579
1676
|
image && /* @__PURE__ */ jsx(Picture, __spreadValues({ className: Teaser5050With3Text_module_default.image }, image))
|
|
@@ -1623,12 +1720,12 @@ var Teaser5050WithCta = ({
|
|
|
1623
1720
|
return /* @__PURE__ */ jsx(
|
|
1624
1721
|
"div",
|
|
1625
1722
|
{
|
|
1626
|
-
className:
|
|
1723
|
+
className: clsx20(Teaser5050WithCta_module_default.teaser5050, Teaser5050WithCta_module_default[variant], className),
|
|
1627
1724
|
style: { backgroundColor: bgColor ? bgColor : "#ffffff" },
|
|
1628
1725
|
children: /* @__PURE__ */ jsxs(Container, { className: Teaser5050WithCta_module_default.container, children: [
|
|
1629
1726
|
/* @__PURE__ */ jsxs("div", { className: Teaser5050WithCta_module_default.wrapper, children: [
|
|
1630
1727
|
/* @__PURE__ */ jsxs("div", { className: Teaser5050WithCta_module_default.content, children: [
|
|
1631
|
-
titleNode && /* @__PURE__ */ jsx("div", { className:
|
|
1728
|
+
titleNode && /* @__PURE__ */ jsx("div", { className: clsx20(Teaser5050WithCta_module_default.title, "h3"), children: titleNode }),
|
|
1632
1729
|
subtitleNode && /* @__PURE__ */ jsx("div", { className: "subheading", children: subtitleNode })
|
|
1633
1730
|
] }),
|
|
1634
1731
|
(ctas == null ? void 0 : ctas.length) && /* @__PURE__ */ jsx("div", { className: Teaser5050WithCta_module_default.ctaWrapper, children: ctas.map((cta, key) => /* @__PURE__ */ jsx(
|
|
@@ -1667,6 +1764,7 @@ var UpcomingEventCard_module_default = {
|
|
|
1667
1764
|
description: "UpcomingEventCard_module_description",
|
|
1668
1765
|
"event-card-footer": "UpcomingEventCard_module_event-card-footer",
|
|
1669
1766
|
horizontal: "UpcomingEventCard_module_horizontal",
|
|
1767
|
+
"event-card-show-image": "UpcomingEventCard_module_event-card-show-image",
|
|
1670
1768
|
"event-card-cta": "UpcomingEventCard_module_event-card-cta",
|
|
1671
1769
|
hidden: "UpcomingEventCard_module_hidden",
|
|
1672
1770
|
"cta-without-image": "UpcomingEventCard_module_cta-without-image",
|
|
@@ -1691,7 +1789,7 @@ var UpcomingEventCard = ({
|
|
|
1691
1789
|
return /* @__PURE__ */ jsxs(
|
|
1692
1790
|
"article",
|
|
1693
1791
|
{
|
|
1694
|
-
className:
|
|
1792
|
+
className: clsx20(
|
|
1695
1793
|
"card",
|
|
1696
1794
|
UpcomingEventCard_module_default["event-card"],
|
|
1697
1795
|
UpcomingEventCard_module_default[direction],
|
|
@@ -1699,39 +1797,49 @@ var UpcomingEventCard = ({
|
|
|
1699
1797
|
className
|
|
1700
1798
|
),
|
|
1701
1799
|
children: [
|
|
1702
|
-
/* @__PURE__ */ jsxs("div", { className:
|
|
1703
|
-
showImage && image && /* @__PURE__ */ jsx(Picture, __spreadProps(__spreadValues({}, image), { className:
|
|
1704
|
-
/* @__PURE__ */ jsxs(
|
|
1705
|
-
|
|
1706
|
-
|
|
1707
|
-
|
|
1708
|
-
|
|
1709
|
-
|
|
1710
|
-
|
|
1711
|
-
|
|
1712
|
-
|
|
1713
|
-
className:
|
|
1714
|
-
|
|
1715
|
-
|
|
1716
|
-
|
|
1717
|
-
|
|
1718
|
-
|
|
1719
|
-
|
|
1720
|
-
|
|
1721
|
-
|
|
1722
|
-
|
|
1723
|
-
|
|
1724
|
-
|
|
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
|
+
)
|
|
1725
1833
|
] }),
|
|
1726
1834
|
cta && cta.url && /* @__PURE__ */ jsx(
|
|
1727
1835
|
"div",
|
|
1728
1836
|
{
|
|
1729
|
-
className:
|
|
1837
|
+
className: clsx20("card-footer", UpcomingEventCard_module_default["event-card-footer"], hasImage && UpcomingEventCard_module_default.hidden),
|
|
1730
1838
|
children: /* @__PURE__ */ jsx(
|
|
1731
1839
|
Button,
|
|
1732
1840
|
{
|
|
1733
1841
|
variant: "secondary",
|
|
1734
|
-
className:
|
|
1842
|
+
className: clsx20("card-cta", UpcomingEventCard_module_default["event-card-cta"]),
|
|
1735
1843
|
fullWidth: isBelowMobile,
|
|
1736
1844
|
href: cta.url,
|
|
1737
1845
|
icon: cta.icon,
|
|
@@ -1752,7 +1860,7 @@ var Carousel = (_a) => {
|
|
|
1752
1860
|
return /* @__PURE__ */ jsx(
|
|
1753
1861
|
Swiper,
|
|
1754
1862
|
__spreadProps(__spreadValues({
|
|
1755
|
-
className:
|
|
1863
|
+
className: clsx20(Carousel_module_default.carousel, className),
|
|
1756
1864
|
spaceBetween: 0,
|
|
1757
1865
|
slidesPerView: "auto",
|
|
1758
1866
|
modules: [FreeMode],
|
|
@@ -1764,7 +1872,7 @@ var Carousel = (_a) => {
|
|
|
1764
1872
|
SwiperSlide,
|
|
1765
1873
|
{
|
|
1766
1874
|
tag: "li",
|
|
1767
|
-
className:
|
|
1875
|
+
className: clsx20(Carousel_module_default["carousel-item"], props.slideClass),
|
|
1768
1876
|
children: slide
|
|
1769
1877
|
},
|
|
1770
1878
|
index
|
|
@@ -1777,11 +1885,13 @@ var Carousel = (_a) => {
|
|
|
1777
1885
|
var EventList_module_default = {
|
|
1778
1886
|
"event-list-module": "EventList_module_event-list-module",
|
|
1779
1887
|
"event-list-header-container": "EventList_module_event-list-header-container",
|
|
1888
|
+
"event-list-title": "EventList_module_event-list-title",
|
|
1780
1889
|
"event-list-wrapper": "EventList_module_event-list-wrapper",
|
|
1781
1890
|
vertical: "EventList_module_vertical",
|
|
1782
|
-
grey: "EventList_module_grey",
|
|
1783
1891
|
"card-list-item": "EventList_module_card-list-item",
|
|
1784
1892
|
"card-item": "EventList_module_card-item",
|
|
1893
|
+
internalEventList: "EventList_module_internalEventList",
|
|
1894
|
+
"events-page": "EventList_module_events-page",
|
|
1785
1895
|
horizontal: "EventList_module_horizontal",
|
|
1786
1896
|
"carousel-wrapper": "EventList_module_carousel-wrapper",
|
|
1787
1897
|
"carousel-list-item": "EventList_module_carousel-list-item",
|
|
@@ -1790,35 +1900,41 @@ var EventList_module_default = {
|
|
|
1790
1900
|
var EventListTitle = ({ children }) => {
|
|
1791
1901
|
return /* @__PURE__ */ jsx(Fragment, { children });
|
|
1792
1902
|
};
|
|
1793
|
-
var EventList = ({
|
|
1903
|
+
var EventList = ({
|
|
1904
|
+
className,
|
|
1905
|
+
title,
|
|
1906
|
+
items,
|
|
1907
|
+
cta,
|
|
1908
|
+
backgroundColor,
|
|
1909
|
+
variant,
|
|
1910
|
+
children
|
|
1911
|
+
}) => {
|
|
1794
1912
|
var _a;
|
|
1795
1913
|
const { is } = useViewPort_default();
|
|
1796
1914
|
const slots = resolveCompoundSlots(children, {
|
|
1797
1915
|
title: EventListTitle
|
|
1798
1916
|
});
|
|
1799
1917
|
const titleNode = (_a = slots.title) != null ? _a : title;
|
|
1800
|
-
const isGrey = variant === "grey";
|
|
1801
1918
|
const isBelowTablet = is("tablet", "below");
|
|
1802
1919
|
const cardDirection = isBelowTablet ? "vertical" : "horizontal";
|
|
1803
|
-
const
|
|
1920
|
+
const isInternalEventList = variant === "internalEventList";
|
|
1921
|
+
const listDirection = isInternalEventList ? "horizontal" : "vertical";
|
|
1804
1922
|
return /* @__PURE__ */ jsx(
|
|
1805
1923
|
"div",
|
|
1806
1924
|
{
|
|
1807
|
-
className:
|
|
1808
|
-
|
|
1809
|
-
|
|
1810
|
-
|
|
1811
|
-
|
|
1812
|
-
),
|
|
1813
|
-
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: [
|
|
1814
1930
|
/* @__PURE__ */ jsxs("div", { className: EventList_module_default["event-list-header-container"], children: [
|
|
1815
|
-
titleNode && /* @__PURE__ */ jsx("h2", { children: titleNode }),
|
|
1931
|
+
titleNode && /* @__PURE__ */ jsx("h2", { className: clsx20(EventList_module_default["event-list-title"]), children: titleNode }),
|
|
1816
1932
|
cta && cta.url && /* @__PURE__ */ jsx(Button, { className: EventList_module_default.cta, variant: "nofillblack", href: cta.url, icon: cta.icon, children: cta.label })
|
|
1817
1933
|
] }),
|
|
1818
|
-
|
|
1934
|
+
isInternalEventList && isBelowTablet && /* @__PURE__ */ jsx(
|
|
1819
1935
|
Carousel,
|
|
1820
1936
|
{
|
|
1821
|
-
wrapperClass:
|
|
1937
|
+
wrapperClass: clsx20(EventList_module_default["carousel-wrapper"], EventList_module_default[variant]),
|
|
1822
1938
|
slideClass: EventList_module_default["carousel-list-item"],
|
|
1823
1939
|
spaceBetween: 16,
|
|
1824
1940
|
slides: items.map((item) => {
|
|
@@ -1826,7 +1942,7 @@ var EventList = ({ className, title, items, cta, variant, children }) => {
|
|
|
1826
1942
|
return /* @__PURE__ */ jsx(
|
|
1827
1943
|
UpcomingEventCard,
|
|
1828
1944
|
__spreadValues({
|
|
1829
|
-
className:
|
|
1945
|
+
className: clsx20(EventList_module_default["event-card"]),
|
|
1830
1946
|
direction: "vertical",
|
|
1831
1947
|
showImage: false
|
|
1832
1948
|
}, item),
|
|
@@ -1835,16 +1951,16 @@ var EventList = ({ className, title, items, cta, variant, children }) => {
|
|
|
1835
1951
|
})
|
|
1836
1952
|
}
|
|
1837
1953
|
),
|
|
1838
|
-
|
|
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) => {
|
|
1839
1955
|
var _a2, _b, _c;
|
|
1840
1956
|
return /* @__PURE__ */ jsx(
|
|
1841
1957
|
"li",
|
|
1842
1958
|
{
|
|
1843
|
-
className:
|
|
1959
|
+
className: clsx20(EventList_module_default["card-list-item"]),
|
|
1844
1960
|
children: /* @__PURE__ */ jsx(
|
|
1845
1961
|
UpcomingEventCard,
|
|
1846
1962
|
__spreadProps(__spreadValues({}, item), {
|
|
1847
|
-
className:
|
|
1963
|
+
className: clsx20(EventList_module_default["card-item"]),
|
|
1848
1964
|
showImage: false,
|
|
1849
1965
|
direction: "vertical"
|
|
1850
1966
|
})
|
|
@@ -1853,7 +1969,7 @@ var EventList = ({ className, title, items, cta, variant, children }) => {
|
|
|
1853
1969
|
(_c = (_b = (_a2 = item.title) != null ? _a2 : item.date) != null ? _b : item.location) != null ? _c : index
|
|
1854
1970
|
);
|
|
1855
1971
|
}) }),
|
|
1856
|
-
!
|
|
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) => {
|
|
1857
1973
|
var _a2, _b, _c;
|
|
1858
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);
|
|
1859
1975
|
}) })
|
|
@@ -1903,9 +2019,9 @@ var TextEvent = (props) => {
|
|
|
1903
2019
|
});
|
|
1904
2020
|
const titleNode = (_a = slots.title) != null ? _a : title;
|
|
1905
2021
|
const richTextNode = (_b = slots.richText) != null ? _b : richText;
|
|
1906
|
-
return /* @__PURE__ */ jsxs(Container, { className:
|
|
2022
|
+
return /* @__PURE__ */ jsxs(Container, { className: clsx20(TextEvent_module_default.textEvent, className), children: [
|
|
1907
2023
|
/* @__PURE__ */ jsx(Text, { tag: "h2", className: TextEvent_module_default.title, children: titleNode }),
|
|
1908
|
-
/* @__PURE__ */ jsx("div", { className:
|
|
2024
|
+
/* @__PURE__ */ jsx("div", { className: clsx20(TextEvent_module_default.richText, TextEvent_module_default[variant != null ? variant : ""]), children: richTextNode })
|
|
1909
2025
|
] });
|
|
1910
2026
|
};
|
|
1911
2027
|
|
|
@@ -1936,7 +2052,7 @@ var TextBody = (props) => {
|
|
|
1936
2052
|
});
|
|
1937
2053
|
const titleNode = (_a = slots.title) != null ? _a : title;
|
|
1938
2054
|
const bodyNode = (_b = slots.body) != null ? _b : body;
|
|
1939
|
-
return /* @__PURE__ */ jsxs(Container, { className:
|
|
2055
|
+
return /* @__PURE__ */ jsxs(Container, { className: clsx20(TextBody_module_default.textBody, className), children: [
|
|
1940
2056
|
titleNode && /* @__PURE__ */ jsx(Text, { tag: "h2", className: TextBody_module_default.title, children: titleNode }),
|
|
1941
2057
|
/* @__PURE__ */ jsx("div", { className: TextBody_module_default.body, children: bodyNode })
|
|
1942
2058
|
] });
|
|
@@ -1979,7 +2095,7 @@ var TextCenterCtaInBottom = ({
|
|
|
1979
2095
|
});
|
|
1980
2096
|
const titleNode = (_a = slots.title) != null ? _a : title;
|
|
1981
2097
|
const subtitleNode = (_b = slots.subtitle) != null ? _b : subtitle;
|
|
1982
|
-
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: [
|
|
1983
2099
|
/* @__PURE__ */ jsxs("div", { className: TextCenterCtaInBottom_module_default.content, children: [
|
|
1984
2100
|
titleNode && /* @__PURE__ */ jsx("div", { className: TextCenterCtaInBottom_module_default.title, children: titleNode }),
|
|
1985
2101
|
subtitleNode && /* @__PURE__ */ jsx("div", { className: TextCenterCtaInBottom_module_default.subtitle, children: subtitleNode })
|
|
@@ -1987,7 +2103,7 @@ var TextCenterCtaInBottom = ({
|
|
|
1987
2103
|
!!(ctas == null ? void 0 : ctas.length) && /* @__PURE__ */ jsx(
|
|
1988
2104
|
"div",
|
|
1989
2105
|
{
|
|
1990
|
-
className:
|
|
2106
|
+
className: clsx20(
|
|
1991
2107
|
TextCenterCtaInBottom_module_default.ctaWrapper,
|
|
1992
2108
|
ctas.every((cta) => !cta.label && cta.logo) && TextCenterCtaInBottom_module_default.iconOnly
|
|
1993
2109
|
),
|
|
@@ -2042,6 +2158,6 @@ function useIntersectionObserver({
|
|
|
2042
2158
|
return { observeRef, isVisible };
|
|
2043
2159
|
}
|
|
2044
2160
|
|
|
2045
|
-
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 };
|
|
2046
2162
|
//# sourceMappingURL=index.mjs.map
|
|
2047
2163
|
//# sourceMappingURL=index.mjs.map
|