@digital-b2c/coreui-kit 0.11.24 → 0.12.0
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 +254 -172
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +69 -0
- package/dist/index.css.map +1 -1
- package/dist/index.d.cts +28 -2
- package/dist/index.d.ts +28 -2
- package/dist/index.mjs +253 -172
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var clsx16 = require('clsx');
|
|
4
4
|
var jsxRuntime = require('react/jsx-runtime');
|
|
5
5
|
var React66 = require('react');
|
|
6
6
|
var gsap = require('gsap');
|
|
@@ -12,7 +12,7 @@ require('swiper/css');
|
|
|
12
12
|
|
|
13
13
|
function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
|
|
14
14
|
|
|
15
|
-
var
|
|
15
|
+
var clsx16__default = /*#__PURE__*/_interopDefault(clsx16);
|
|
16
16
|
var React66__default = /*#__PURE__*/_interopDefault(React66);
|
|
17
17
|
var gsap__default = /*#__PURE__*/_interopDefault(gsap);
|
|
18
18
|
|
|
@@ -66,7 +66,7 @@ var Picture = (_a) => {
|
|
|
66
66
|
__spreadValues({
|
|
67
67
|
src: desktop.src,
|
|
68
68
|
alt: desktop.alt,
|
|
69
|
-
className:
|
|
69
|
+
className: clsx16__default.default(className, Picture_module_default["image-desktop"])
|
|
70
70
|
}, rest)
|
|
71
71
|
),
|
|
72
72
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -74,7 +74,7 @@ var Picture = (_a) => {
|
|
|
74
74
|
__spreadValues({
|
|
75
75
|
src: (_b2 = mobile == null ? void 0 : mobile.src) != null ? _b2 : desktop.src,
|
|
76
76
|
alt: (_c = mobile == null ? void 0 : mobile.alt) != null ? _c : desktop.alt,
|
|
77
|
-
className:
|
|
77
|
+
className: clsx16__default.default(className, Picture_module_default["image-mobile"])
|
|
78
78
|
}, rest)
|
|
79
79
|
)
|
|
80
80
|
] });
|
|
@@ -439,7 +439,7 @@ var Button = (_a) => {
|
|
|
439
439
|
]);
|
|
440
440
|
const isLink = !!href;
|
|
441
441
|
const props = __spreadValues(__spreadValues({
|
|
442
|
-
className:
|
|
442
|
+
className: clsx16__default.default(
|
|
443
443
|
Button_module_default.button,
|
|
444
444
|
variant ? Button_module_default[variant] : null,
|
|
445
445
|
{ [Button_module_default.fullWidth]: !!fullWidth },
|
|
@@ -671,7 +671,7 @@ var BrandsStrip = ({
|
|
|
671
671
|
"div",
|
|
672
672
|
{
|
|
673
673
|
ref: containerRef,
|
|
674
|
-
className:
|
|
674
|
+
className: clsx16__default.default(
|
|
675
675
|
BrandsStrip_module_default.brandsStrip,
|
|
676
676
|
BrandsStrip_module_default[variant],
|
|
677
677
|
{ [BrandsStrip_module_default.small]: size === "small" },
|
|
@@ -680,13 +680,13 @@ var BrandsStrip = ({
|
|
|
680
680
|
onMouseEnter: handleMouseEnter,
|
|
681
681
|
onMouseLeave: handleMouseLeave,
|
|
682
682
|
children: [
|
|
683
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className:
|
|
684
|
-
title && logos.length === 1 && /* @__PURE__ */ jsxRuntime.jsx("h2", { className:
|
|
683
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: clsx16__default.default(BrandsStrip_module_default.container, { [BrandsStrip_module_default.blurred]: show && logos.length > 1 }), children: [
|
|
684
|
+
title && logos.length === 1 && /* @__PURE__ */ jsxRuntime.jsx("h2", { className: clsx16__default.default("body", BrandsStrip_module_default.title), children: title }),
|
|
685
685
|
logos.length > 0 && /* @__PURE__ */ jsxRuntime.jsx(
|
|
686
686
|
"div",
|
|
687
687
|
{
|
|
688
688
|
ref: marqueeRef,
|
|
689
|
-
className:
|
|
689
|
+
className: clsx16__default.default(BrandsStrip_module_default.logos, { [BrandsStrip_module_default.marqueeGSAP]: shouldAnimate }),
|
|
690
690
|
children: duplicatedLogos.map((logo, index) => /* @__PURE__ */ jsxRuntime.jsx("div", { className: BrandsStrip_module_default.logoWrapper, children: /* @__PURE__ */ jsxRuntime.jsx(Picture, __spreadValues({ className: BrandsStrip_module_default.logo }, logo)) }, `${logo.alt}-${index}`))
|
|
691
691
|
}
|
|
692
692
|
)
|
|
@@ -733,7 +733,7 @@ var Container_module_default = {
|
|
|
733
733
|
var Container = React66.forwardRef(
|
|
734
734
|
(_a, ref) => {
|
|
735
735
|
var _b = _a, { children, className } = _b, props = __objRest(_b, ["children", "className"]);
|
|
736
|
-
return /* @__PURE__ */ jsxRuntime.jsx("div", __spreadProps(__spreadValues({ ref, className:
|
|
736
|
+
return /* @__PURE__ */ jsxRuntime.jsx("div", __spreadProps(__spreadValues({ ref, className: clsx16__default.default(Container_module_default.container, className) }, props), { children }));
|
|
737
737
|
}
|
|
738
738
|
);
|
|
739
739
|
Container.displayName = "Container";
|
|
@@ -774,14 +774,14 @@ var Card = ({
|
|
|
774
774
|
ConditionalWrapper,
|
|
775
775
|
__spreadProps(__spreadValues({
|
|
776
776
|
ref,
|
|
777
|
-
className:
|
|
777
|
+
className: clsx16__default.default(Card_module_default.card, Card_module_default[variant], className),
|
|
778
778
|
wrapper: Anchor,
|
|
779
779
|
fallback: "div",
|
|
780
780
|
condition: isLink
|
|
781
781
|
}, href ? { href, isExternal } : {}), {
|
|
782
782
|
children: [
|
|
783
783
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: Card_module_default.logoContainer, children: [
|
|
784
|
-
(logo == null ? void 0 : logo.src) ? /* @__PURE__ */ jsxRuntime.jsx(Picture, __spreadValues({ className:
|
|
784
|
+
(logo == null ? void 0 : logo.src) ? /* @__PURE__ */ jsxRuntime.jsx(Picture, __spreadValues({ className: clsx16__default.default(Card_module_default.logo, isLink && Card_module_default.hideLogo) }, logo)) : icon && /* @__PURE__ */ jsxRuntime.jsx(Icon, { type: icon, className: clsx16__default.default(Card_module_default.logo, isLink && Card_module_default.hideLogo) }),
|
|
785
785
|
isLink && /* @__PURE__ */ jsxRuntime.jsx(Icon, { type: "tiltedRightWhite", className: Card_module_default.logoHover })
|
|
786
786
|
] }),
|
|
787
787
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: Card_module_default.content, children: [
|
|
@@ -816,10 +816,10 @@ var CountingCard = ({ className, title, count, image, children }) => {
|
|
|
816
816
|
title: CountingCardTitle
|
|
817
817
|
});
|
|
818
818
|
const titleNode = (_a = slots.title) != null ? _a : title;
|
|
819
|
-
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className:
|
|
819
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: clsx16__default.default(CountingCard_module_default["counting-card"], className), children: [
|
|
820
820
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: CountingCard_module_default.content, children: [
|
|
821
821
|
titleNode && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "body", children: titleNode }),
|
|
822
|
-
count && /* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
822
|
+
count && /* @__PURE__ */ jsxRuntime.jsx("div", { className: clsx16__default.default(CountingCard_module_default.count, "h1"), children: count })
|
|
823
823
|
] }),
|
|
824
824
|
image && /* @__PURE__ */ jsxRuntime.jsx(Picture, __spreadValues({ className: CountingCard_module_default.logo }, image))
|
|
825
825
|
] });
|
|
@@ -905,7 +905,7 @@ function FilterBar({
|
|
|
905
905
|
"button",
|
|
906
906
|
{
|
|
907
907
|
type: "button",
|
|
908
|
-
className:
|
|
908
|
+
className: clsx16__default.default(FilterBar_module_default.chip, view === "grid" && FilterBar_module_default.active),
|
|
909
909
|
onClick: () => onViewChange("grid"),
|
|
910
910
|
"aria-pressed": view === "grid",
|
|
911
911
|
children: [
|
|
@@ -918,7 +918,7 @@ function FilterBar({
|
|
|
918
918
|
"button",
|
|
919
919
|
{
|
|
920
920
|
type: "button",
|
|
921
|
-
className:
|
|
921
|
+
className: clsx16__default.default(FilterBar_module_default.chip, view === "list" && FilterBar_module_default.active),
|
|
922
922
|
onClick: () => onViewChange("list"),
|
|
923
923
|
"aria-pressed": view === "list",
|
|
924
924
|
children: [
|
|
@@ -932,7 +932,7 @@ function FilterBar({
|
|
|
932
932
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
933
933
|
"div",
|
|
934
934
|
{
|
|
935
|
-
className:
|
|
935
|
+
className: clsx16__default.default(
|
|
936
936
|
FilterBar_module_default.dropdownWrapper,
|
|
937
937
|
isMobile && searchState === "open" && FilterBar_module_default.filterFaded,
|
|
938
938
|
isMobile && searchState === "closing" && FilterBar_module_default.filterFading
|
|
@@ -943,7 +943,7 @@ function FilterBar({
|
|
|
943
943
|
"button",
|
|
944
944
|
{
|
|
945
945
|
type: "button",
|
|
946
|
-
className:
|
|
946
|
+
className: clsx16__default.default(FilterBar_module_default.chip, filterValue !== "all" && FilterBar_module_default.active),
|
|
947
947
|
onClick: () => setOpenDropdown(openDropdown === "filter" ? null : "filter"),
|
|
948
948
|
"aria-expanded": openDropdown === "filter",
|
|
949
949
|
children: [
|
|
@@ -958,7 +958,7 @@ function FilterBar({
|
|
|
958
958
|
type: "button",
|
|
959
959
|
role: "option",
|
|
960
960
|
"aria-selected": filterValue === opt.value,
|
|
961
|
-
className:
|
|
961
|
+
className: clsx16__default.default(
|
|
962
962
|
FilterBar_module_default.dropdownOption,
|
|
963
963
|
filterValue === opt.value && FilterBar_module_default.selected
|
|
964
964
|
),
|
|
@@ -979,7 +979,7 @@ function FilterBar({
|
|
|
979
979
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
980
980
|
"div",
|
|
981
981
|
{
|
|
982
|
-
className:
|
|
982
|
+
className: clsx16__default.default(
|
|
983
983
|
FilterBar_module_default.dropdownWrapper,
|
|
984
984
|
isMobile && searchState === "open" && FilterBar_module_default.filterFaded,
|
|
985
985
|
isMobile && searchState === "closing" && FilterBar_module_default.filterFading
|
|
@@ -1005,7 +1005,7 @@ function FilterBar({
|
|
|
1005
1005
|
type: "button",
|
|
1006
1006
|
role: "option",
|
|
1007
1007
|
"aria-selected": sortValue === opt.value,
|
|
1008
|
-
className:
|
|
1008
|
+
className: clsx16__default.default(
|
|
1009
1009
|
FilterBar_module_default.dropdownOption,
|
|
1010
1010
|
sortValue === opt.value && FilterBar_module_default.selected
|
|
1011
1011
|
),
|
|
@@ -1023,7 +1023,7 @@ function FilterBar({
|
|
|
1023
1023
|
searchState !== "closed" ? /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1024
1024
|
"div",
|
|
1025
1025
|
{
|
|
1026
|
-
className:
|
|
1026
|
+
className: clsx16__default.default(
|
|
1027
1027
|
FilterBar_module_default.searchExpanded,
|
|
1028
1028
|
searchState === "closing" && FilterBar_module_default.searchCollapsing
|
|
1029
1029
|
),
|
|
@@ -1105,9 +1105,9 @@ var InfoCard = ({ className, title, subtitle, icon, badge, children }) => {
|
|
|
1105
1105
|
});
|
|
1106
1106
|
const titleNode = (_a = slots.title) != null ? _a : title;
|
|
1107
1107
|
const subtitleNode = (_b = slots.subtitle) != null ? _b : subtitle;
|
|
1108
|
-
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className:
|
|
1108
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: clsx16__default.default(InfoCard_module_default["info-card"], { [InfoCard_module_default.hasIcon]: !!icon }, className), children: [
|
|
1109
1109
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: InfoCard_module_default.header, children: [
|
|
1110
|
-
icon ? /* @__PURE__ */ jsxRuntime.jsx(Icon, { type: icon }) : badge ? /* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
1110
|
+
icon ? /* @__PURE__ */ jsxRuntime.jsx(Icon, { type: icon }) : badge ? /* @__PURE__ */ jsxRuntime.jsx("div", { className: clsx16__default.default(InfoCard_module_default.badge, "h4"), children: badge }) : null,
|
|
1111
1111
|
titleNode && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "h4", children: titleNode })
|
|
1112
1112
|
] }),
|
|
1113
1113
|
subtitleNode && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "body", children: subtitleNode })
|
|
@@ -1172,7 +1172,7 @@ var Pagination = ({
|
|
|
1172
1172
|
};
|
|
1173
1173
|
const prevPage = activePage === 1 ? loop ? totalPages : 1 : activePage - 1;
|
|
1174
1174
|
const nextPage = activePage === totalPages ? loop ? 1 : totalPages : activePage + 1;
|
|
1175
|
-
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className:
|
|
1175
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: clsx16__default.default(Pagination_module_default.pagination, className), children: [
|
|
1176
1176
|
!disableArrows && (renderLink ? renderLink({
|
|
1177
1177
|
page: prevPage,
|
|
1178
1178
|
className: Pagination_module_default.prev,
|
|
@@ -1190,7 +1190,7 @@ var Pagination = ({
|
|
|
1190
1190
|
)),
|
|
1191
1191
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: Pagination_module_default.pages, children: Array.from({ length: totalPages }, (_, i) => {
|
|
1192
1192
|
const page = i + 1;
|
|
1193
|
-
const pageClassName =
|
|
1193
|
+
const pageClassName = clsx16__default.default(Pagination_module_default.page, {
|
|
1194
1194
|
[Pagination_module_default.active]: activePage === page,
|
|
1195
1195
|
[Pagination_module_default.number]: hasNumber
|
|
1196
1196
|
});
|
|
@@ -1241,7 +1241,7 @@ var PracticeCard_module_default = {
|
|
|
1241
1241
|
};
|
|
1242
1242
|
var PracticeCard = ({ className, title, cta, image }) => {
|
|
1243
1243
|
const { url: href, isExternal } = cta != null ? cta : {};
|
|
1244
|
-
return /* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
1244
|
+
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: clsx16__default.default(PracticeCard_module_default["practice-card"], className), children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1245
1245
|
ConditionalWrapper,
|
|
1246
1246
|
__spreadProps(__spreadValues({
|
|
1247
1247
|
className: PracticeCard_module_default.wrapper,
|
|
@@ -1252,7 +1252,7 @@ var PracticeCard = ({ className, title, cta, image }) => {
|
|
|
1252
1252
|
children: [
|
|
1253
1253
|
image && /* @__PURE__ */ jsxRuntime.jsx(Picture, __spreadValues({ className: PracticeCard_module_default.background }, image)),
|
|
1254
1254
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: PracticeCard_module_default.container, children: [
|
|
1255
|
-
title && /* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
1255
|
+
title && /* @__PURE__ */ jsxRuntime.jsx("div", { className: clsx16__default.default(PracticeCard_module_default.title, "h3"), children: title }),
|
|
1256
1256
|
href && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: PracticeCard_module_default.cta, children: [
|
|
1257
1257
|
/* @__PURE__ */ jsxRuntime.jsx(Icon, { className: PracticeCard_module_default.ctaRest, type: "right" }),
|
|
1258
1258
|
/* @__PURE__ */ jsxRuntime.jsx(Icon, { className: PracticeCard_module_default.ctaHover, type: "tiltedRight" })
|
|
@@ -1266,6 +1266,7 @@ var PracticeCard = ({ className, title, cta, image }) => {
|
|
|
1266
1266
|
// src/components/ResourceCardItem/ResourceCardItem.module.scss
|
|
1267
1267
|
var ResourceCardItem_module_default = {
|
|
1268
1268
|
cardLink: "ResourceCardItem_module_cardLink",
|
|
1269
|
+
"global-search": "ResourceCardItem_module_global-search",
|
|
1269
1270
|
cardGrid: "ResourceCardItem_module_cardGrid",
|
|
1270
1271
|
cardBody: "ResourceCardItem_module_cardBody",
|
|
1271
1272
|
cardIconTitle: "ResourceCardItem_module_cardIconTitle",
|
|
@@ -1279,24 +1280,46 @@ var ResourceCardItem_module_default = {
|
|
|
1279
1280
|
cardList: "ResourceCardItem_module_cardList",
|
|
1280
1281
|
cardListLeft: "ResourceCardItem_module_cardListLeft",
|
|
1281
1282
|
cardListRight: "ResourceCardItem_module_cardListRight",
|
|
1282
|
-
notificationDot: "ResourceCardItem_module_notificationDot"
|
|
1283
|
-
|
|
1283
|
+
notificationDot: "ResourceCardItem_module_notificationDot",
|
|
1284
|
+
iconWrapper: "ResourceCardItem_module_iconWrapper"
|
|
1285
|
+
};
|
|
1286
|
+
var ResourceCardItem = ({ item, view, variant, renderLink }) => {
|
|
1284
1287
|
const hasHref = Boolean(item.href);
|
|
1285
|
-
const
|
|
1288
|
+
const isGlobalSearchVariant = variant === "global-search";
|
|
1289
|
+
const linkProps = hasHref ? {
|
|
1290
|
+
href: item.href,
|
|
1291
|
+
target: "_blank",
|
|
1292
|
+
rel: "noopener noreferrer",
|
|
1293
|
+
className: clsx16__default.default("news-card-link", ResourceCardItem_module_default["news-card-link"]),
|
|
1294
|
+
"aria-label": item.title
|
|
1295
|
+
} : null;
|
|
1296
|
+
const cardLink = linkProps && isGlobalSearchVariant ? renderLink ? renderLink(__spreadProps(__spreadValues({}, linkProps), {
|
|
1297
|
+
className: clsx16__default.default(ResourceCardItem_module_default.cardLink, isGlobalSearchVariant && ResourceCardItem_module_default[variant]),
|
|
1298
|
+
children: null
|
|
1299
|
+
})) : /* @__PURE__ */ jsxRuntime.jsx(
|
|
1300
|
+
"a",
|
|
1301
|
+
__spreadProps(__spreadValues({}, linkProps), {
|
|
1302
|
+
className: clsx16__default.default(ResourceCardItem_module_default.cardLink, isGlobalSearchVariant && ResourceCardItem_module_default[variant])
|
|
1303
|
+
})
|
|
1304
|
+
) : null;
|
|
1305
|
+
const linkWrapper = ({ children }) => /* @__PURE__ */ jsxRuntime.jsx("a", __spreadProps(__spreadValues({}, linkProps), { tabIndex: isGlobalSearchVariant ? -1 : 0, children }));
|
|
1286
1306
|
if (view === "grid") {
|
|
1287
|
-
return /* @__PURE__ */ jsxRuntime.
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
/* @__PURE__ */ jsxRuntime.jsx("
|
|
1292
|
-
|
|
1293
|
-
|
|
1294
|
-
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
|
-
|
|
1307
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("article", { className: clsx16__default.default(ResourceCardItem_module_default.cardGrid, isGlobalSearchVariant && ResourceCardItem_module_default[variant]), children: [
|
|
1308
|
+
cardLink,
|
|
1309
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: ResourceCardItem_module_default.cardBody, children: [
|
|
1310
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
|
|
1311
|
+
/* @__PURE__ */ jsxRuntime.jsx(ConditionalWrapper, { condition: hasHref, wrapper: linkWrapper, children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: ResourceCardItem_module_default.cardIconTitle, children: [
|
|
1312
|
+
/* @__PURE__ */ jsxRuntime.jsx(Icon, { type: item.type === "pdf" ? "pdf" : "externalLink", size: 33 }),
|
|
1313
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: ResourceCardItem_module_default.cardTitle, children: item.title })
|
|
1314
|
+
] }) }),
|
|
1315
|
+
item.bodyText && /* @__PURE__ */ jsxRuntime.jsx("div", { className: ResourceCardItem_module_default.cardBodyTextGrid, children: /* @__PURE__ */ jsxRuntime.jsx("span", { className: ResourceCardItem_module_default.cardBodyText, children: item.bodyText }) })
|
|
1316
|
+
] }),
|
|
1317
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: ResourceCardItem_module_default.cardMeta, children: [
|
|
1318
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: ResourceCardItem_module_default.cardDate, children: item.date }),
|
|
1319
|
+
item.hasNotification && /* @__PURE__ */ jsxRuntime.jsx("span", { className: ResourceCardItem_module_default.notificationDot, "aria-label": "New" })
|
|
1320
|
+
] })
|
|
1298
1321
|
] })
|
|
1299
|
-
] })
|
|
1322
|
+
] });
|
|
1300
1323
|
}
|
|
1301
1324
|
return /* @__PURE__ */ jsxRuntime.jsxs("article", { className: ResourceCardItem_module_default.cardList, children: [
|
|
1302
1325
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: ResourceCardItem_module_default.cardListLeft, children: [
|
|
@@ -1346,7 +1369,7 @@ var Sidebar = ({
|
|
|
1346
1369
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1347
1370
|
"li",
|
|
1348
1371
|
{
|
|
1349
|
-
className:
|
|
1372
|
+
className: clsx16__default.default(Sidebar_module_default.sidebarItem, i === selectedIndex && Sidebar_module_default.active),
|
|
1350
1373
|
role: "button",
|
|
1351
1374
|
tabIndex: 0,
|
|
1352
1375
|
"aria-pressed": i === selectedIndex,
|
|
@@ -1403,7 +1426,7 @@ var UpcomingEventCard = ({
|
|
|
1403
1426
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1404
1427
|
"article",
|
|
1405
1428
|
{
|
|
1406
|
-
className:
|
|
1429
|
+
className: clsx16__default.default(
|
|
1407
1430
|
"card",
|
|
1408
1431
|
UpcomingEventCard_module_default["event-card"],
|
|
1409
1432
|
UpcomingEventCard_module_default[direction],
|
|
@@ -1411,26 +1434,26 @@ var UpcomingEventCard = ({
|
|
|
1411
1434
|
className
|
|
1412
1435
|
),
|
|
1413
1436
|
children: [
|
|
1414
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className:
|
|
1415
|
-
showImage && image && /* @__PURE__ */ jsxRuntime.jsx(Picture, __spreadProps(__spreadValues({}, image), { className:
|
|
1437
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: clsx16__default.default("card-content", UpcomingEventCard_module_default["event-card-content"]), children: [
|
|
1438
|
+
showImage && image && /* @__PURE__ */ jsxRuntime.jsx(Picture, __spreadProps(__spreadValues({}, image), { className: clsx16__default.default("card-image", UpcomingEventCard_module_default["event-card-image"]) })),
|
|
1416
1439
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
1417
1440
|
"div",
|
|
1418
1441
|
{
|
|
1419
|
-
className:
|
|
1442
|
+
className: clsx16__default.default(
|
|
1420
1443
|
"card-text-content",
|
|
1421
1444
|
UpcomingEventCard_module_default["event-card-text-content"],
|
|
1422
1445
|
(!showImage || !hasImage) && UpcomingEventCard_module_default["event-card-show-image"]
|
|
1423
1446
|
),
|
|
1424
1447
|
children: [
|
|
1425
1448
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: UpcomingEventCard_module_default.date, children: date }),
|
|
1426
|
-
title && /* @__PURE__ */ jsxRuntime.jsx("h3", { className:
|
|
1449
|
+
title && /* @__PURE__ */ jsxRuntime.jsx("h3", { className: clsx16__default.default("card-text-title"), children: title }),
|
|
1427
1450
|
location && /* @__PURE__ */ jsxRuntime.jsx("span", { className: UpcomingEventCard_module_default.location, children: location }),
|
|
1428
|
-
description && /* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
1451
|
+
description && /* @__PURE__ */ jsxRuntime.jsx("div", { className: clsx16__default.default("card-text-description", UpcomingEventCard_module_default.description), children: description }),
|
|
1429
1452
|
cta && cta.url && /* @__PURE__ */ jsxRuntime.jsx(
|
|
1430
1453
|
Button,
|
|
1431
1454
|
{
|
|
1432
1455
|
variant: "secondary",
|
|
1433
|
-
className:
|
|
1456
|
+
className: clsx16__default.default(
|
|
1434
1457
|
"card-cta",
|
|
1435
1458
|
UpcomingEventCard_module_default["event-card-cta"],
|
|
1436
1459
|
!hasCTAandImage && UpcomingEventCard_module_default.hidden
|
|
@@ -1449,12 +1472,12 @@ var UpcomingEventCard = ({
|
|
|
1449
1472
|
cta && cta.url && /* @__PURE__ */ jsxRuntime.jsx(
|
|
1450
1473
|
"div",
|
|
1451
1474
|
{
|
|
1452
|
-
className:
|
|
1475
|
+
className: clsx16__default.default("card-footer", UpcomingEventCard_module_default["event-card-footer"], hasImage && UpcomingEventCard_module_default.hidden),
|
|
1453
1476
|
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1454
1477
|
Button,
|
|
1455
1478
|
{
|
|
1456
1479
|
variant: "secondary",
|
|
1457
|
-
className:
|
|
1480
|
+
className: clsx16__default.default("card-cta", UpcomingEventCard_module_default["event-card-cta"]),
|
|
1458
1481
|
fullWidth: isBelowMobile,
|
|
1459
1482
|
href: cta.url,
|
|
1460
1483
|
icon: cta.icon,
|
|
@@ -1502,7 +1525,7 @@ var Badge = React66.forwardRef(
|
|
|
1502
1525
|
"live",
|
|
1503
1526
|
"clickable"
|
|
1504
1527
|
]);
|
|
1505
|
-
const classes =
|
|
1528
|
+
const classes = clsx16__default.default(
|
|
1506
1529
|
Badge_module_default.badge,
|
|
1507
1530
|
Badge_module_default[variant],
|
|
1508
1531
|
Badge_module_default[size],
|
|
@@ -1513,7 +1536,7 @@ var Badge = React66.forwardRef(
|
|
|
1513
1536
|
className
|
|
1514
1537
|
);
|
|
1515
1538
|
const content = /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
1516
|
-
icon && /* @__PURE__ */ jsxRuntime.jsx(Icon, __spreadValues({ className:
|
|
1539
|
+
icon && /* @__PURE__ */ jsxRuntime.jsx(Icon, __spreadValues({ className: clsx16__default.default("badge-icon", Badge_module_default["badge-icon"]) }, icon)),
|
|
1517
1540
|
!iconOnly && /* @__PURE__ */ jsxRuntime.jsx("span", { className: Badge_module_default.label, children })
|
|
1518
1541
|
] });
|
|
1519
1542
|
if (clickable) {
|
|
@@ -1594,7 +1617,7 @@ var Input = React66.forwardRef(
|
|
|
1594
1617
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1595
1618
|
"div",
|
|
1596
1619
|
{
|
|
1597
|
-
className:
|
|
1620
|
+
className: clsx16__default.default(
|
|
1598
1621
|
"input-field",
|
|
1599
1622
|
Input_module_default["input-field"],
|
|
1600
1623
|
{
|
|
@@ -1608,17 +1631,17 @@ var Input = React66.forwardRef(
|
|
|
1608
1631
|
"label",
|
|
1609
1632
|
{
|
|
1610
1633
|
htmlFor: inputId,
|
|
1611
|
-
className:
|
|
1634
|
+
className: clsx16__default.default("input-label", Input_module_default.label, {
|
|
1612
1635
|
["sr-only"]: hideLabel
|
|
1613
1636
|
}),
|
|
1614
1637
|
children: [
|
|
1615
1638
|
label,
|
|
1616
|
-
required && /* @__PURE__ */ jsxRuntime.jsx("span", { className:
|
|
1639
|
+
required && /* @__PURE__ */ jsxRuntime.jsx("span", { className: clsx16__default.default("input-required", Input_module_default.required), "aria-hidden": "true", children: "*" })
|
|
1617
1640
|
]
|
|
1618
1641
|
}
|
|
1619
1642
|
),
|
|
1620
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className:
|
|
1621
|
-
startAdornment && /* @__PURE__ */ jsxRuntime.jsx("span", { className:
|
|
1643
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: clsx16__default.default("input-wrapper", Input_module_default.wrapper), children: [
|
|
1644
|
+
startAdornment && /* @__PURE__ */ jsxRuntime.jsx("span", { className: clsx16__default.default("input-adornment", Input_module_default.adornment), "aria-hidden": "true", children: startAdornment }),
|
|
1622
1645
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1623
1646
|
"input",
|
|
1624
1647
|
__spreadValues({
|
|
@@ -1629,7 +1652,7 @@ var Input = React66.forwardRef(
|
|
|
1629
1652
|
disabled,
|
|
1630
1653
|
"aria-invalid": !!error,
|
|
1631
1654
|
"aria-describedby": describedBy || void 0,
|
|
1632
|
-
className:
|
|
1655
|
+
className: clsx16__default.default(
|
|
1633
1656
|
"input",
|
|
1634
1657
|
Input_module_default.input,
|
|
1635
1658
|
{
|
|
@@ -1640,11 +1663,11 @@ var Input = React66.forwardRef(
|
|
|
1640
1663
|
)
|
|
1641
1664
|
}, props)
|
|
1642
1665
|
),
|
|
1643
|
-
endAdornment && /* @__PURE__ */ jsxRuntime.jsx("span", { className:
|
|
1644
|
-
endAction && /* @__PURE__ */ jsxRuntime.jsx("span", { className:
|
|
1666
|
+
endAdornment && /* @__PURE__ */ jsxRuntime.jsx("span", { className: clsx16__default.default("input-adornment", Input_module_default.adornment), "aria-hidden": "true", children: endAdornment }),
|
|
1667
|
+
endAction && /* @__PURE__ */ jsxRuntime.jsx("span", { className: clsx16__default.default("input-end-action"), children: endAction })
|
|
1645
1668
|
] }),
|
|
1646
|
-
helperText && !error && /* @__PURE__ */ jsxRuntime.jsx("p", { id: helperTextId, className:
|
|
1647
|
-
error && /* @__PURE__ */ jsxRuntime.jsx("p", { id: errorId, className:
|
|
1669
|
+
helperText && !error && /* @__PURE__ */ jsxRuntime.jsx("p", { id: helperTextId, className: clsx16__default.default("input-helper-text", Input_module_default["helper-text"]), children: helperText }),
|
|
1670
|
+
error && /* @__PURE__ */ jsxRuntime.jsx("p", { id: errorId, className: clsx16__default.default("input-error", Input_module_default.error), role: "alert", children: error })
|
|
1648
1671
|
]
|
|
1649
1672
|
}
|
|
1650
1673
|
);
|
|
@@ -1684,14 +1707,14 @@ var NewsCard = ({
|
|
|
1684
1707
|
href: cta.url,
|
|
1685
1708
|
target: cta.isExternal ? "_blank" : void 0,
|
|
1686
1709
|
rel: cta.isExternal ? "noopener noreferrer" : void 0,
|
|
1687
|
-
className:
|
|
1710
|
+
className: clsx16__default.default("news-card-link", NewsCard_module_default["news-card-link"]),
|
|
1688
1711
|
"aria-label": `${title}${cta.label ? ` \u2014 ${cta.label}` : ""}`
|
|
1689
1712
|
} : null;
|
|
1690
1713
|
const cardLink = linkProps ? renderLink ? renderLink(__spreadProps(__spreadValues({}, linkProps), { children: null })) : /* @__PURE__ */ jsxRuntime.jsx("a", __spreadValues({}, linkProps)) : null;
|
|
1691
1714
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1692
1715
|
"article",
|
|
1693
1716
|
{
|
|
1694
|
-
className:
|
|
1717
|
+
className: clsx16__default.default(
|
|
1695
1718
|
"news-card",
|
|
1696
1719
|
NewsCard_module_default["news-card"],
|
|
1697
1720
|
NewsCard_module_default[`news-card--${direction}`],
|
|
@@ -1699,28 +1722,28 @@ var NewsCard = ({
|
|
|
1699
1722
|
),
|
|
1700
1723
|
children: [
|
|
1701
1724
|
cardLink,
|
|
1702
|
-
image && /* @__PURE__ */ jsxRuntime.jsx(Picture, __spreadProps(__spreadValues({}, image), { className:
|
|
1725
|
+
image && /* @__PURE__ */ jsxRuntime.jsx(Picture, __spreadProps(__spreadValues({}, image), { className: clsx16__default.default("news-card-image", NewsCard_module_default["news-card-image"]) })),
|
|
1703
1726
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
1704
1727
|
"div",
|
|
1705
1728
|
{
|
|
1706
|
-
className:
|
|
1729
|
+
className: clsx16__default.default("news-card-content", NewsCard_module_default["news-card-content"]),
|
|
1707
1730
|
style: {
|
|
1708
1731
|
"--no-image-padding": image && image.src ? 0 : "1rem"
|
|
1709
1732
|
},
|
|
1710
1733
|
children: [
|
|
1711
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className:
|
|
1712
|
-
/* @__PURE__ */ jsxRuntime.jsx(Badge, { className:
|
|
1713
|
-
/* @__PURE__ */ jsxRuntime.jsx("time", { dateTime: date.value, className:
|
|
1734
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: clsx16__default.default("news-card-top-content", NewsCard_module_default["news-card-top-content"]), children: [
|
|
1735
|
+
/* @__PURE__ */ jsxRuntime.jsx(Badge, { className: clsx16__default.default("news-card-badge", NewsCard_module_default["news-card-badge"]), children: tag }),
|
|
1736
|
+
/* @__PURE__ */ jsxRuntime.jsx("time", { dateTime: date.value, className: clsx16__default.default("news-card-date", NewsCard_module_default["news-card-date"]), children: date.label })
|
|
1714
1737
|
] }),
|
|
1715
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className:
|
|
1716
|
-
/* @__PURE__ */ jsxRuntime.jsx("h3", { className:
|
|
1717
|
-
typeof description === "string" ? /* @__PURE__ */ jsxRuntime.jsx("p", { className:
|
|
1738
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: clsx16__default.default("news-card-main-content", NewsCard_module_default["news-card-main-content"]), children: [
|
|
1739
|
+
/* @__PURE__ */ jsxRuntime.jsx("h3", { className: clsx16__default.default("news-card-title", NewsCard_module_default["news-card-title"]), children: title }),
|
|
1740
|
+
typeof description === "string" ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: clsx16__default.default("news-card-description", NewsCard_module_default["news-card-description"]), children: description }) : description
|
|
1718
1741
|
] }),
|
|
1719
|
-
cta && cta.url && /* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
1742
|
+
cta && cta.url && /* @__PURE__ */ jsxRuntime.jsx("div", { className: clsx16__default.default("news-card-cta-wrapper", NewsCard_module_default["news-card-cta-wrapper"]), children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1720
1743
|
Button,
|
|
1721
1744
|
{
|
|
1722
1745
|
variant: "secondary",
|
|
1723
|
-
className:
|
|
1746
|
+
className: clsx16__default.default("news-card-cta", NewsCard_module_default["news-card-cta"]),
|
|
1724
1747
|
href: cta.url,
|
|
1725
1748
|
icon: cta.icon,
|
|
1726
1749
|
isExternal: cta == null ? void 0 : cta.isExternal,
|
|
@@ -1751,7 +1774,7 @@ var BlogPostContent = ({ className, body, children }) => {
|
|
|
1751
1774
|
body: BlogPostContentBody
|
|
1752
1775
|
});
|
|
1753
1776
|
const bodyNode = (_a = slots.body) != null ? _a : body;
|
|
1754
|
-
return /* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
1777
|
+
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: clsx16__default.default("blog-post-content", BlogPostContent_module_default["blog-post-content"], className), children: bodyNode });
|
|
1755
1778
|
};
|
|
1756
1779
|
|
|
1757
1780
|
// src/components/BlogPostContent/index.ts
|
|
@@ -1837,13 +1860,13 @@ var CardCollection = ({
|
|
|
1837
1860
|
Container,
|
|
1838
1861
|
{
|
|
1839
1862
|
ref: container,
|
|
1840
|
-
className:
|
|
1863
|
+
className: clsx16__default.default(CardCollection_module_default["card-collection"], CardCollection_module_default[variant], className),
|
|
1841
1864
|
children: [
|
|
1842
1865
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: CardCollection_module_default.content, children: [
|
|
1843
1866
|
titleNode && /* @__PURE__ */ jsxRuntime.jsx("h2", { children: titleNode }),
|
|
1844
1867
|
subtitleNode && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "subheading", children: subtitleNode })
|
|
1845
1868
|
] }),
|
|
1846
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: CardCollection_module_default.wrapper, children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className:
|
|
1869
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: CardCollection_module_default.wrapper, children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: clsx16__default.default(CardCollection_module_default.cardWrapper, { [CardCollection_module_default["is-expanded"]]: isExpanded }), children: [
|
|
1847
1870
|
visibleCards.map((card, key) => /* @__PURE__ */ jsxRuntime.jsx(Card2, __spreadValues({ className: CardCollection_module_default.card, variant: theme }, card), key)),
|
|
1848
1871
|
isExamCard && hiddenCards.length > 0 && /* @__PURE__ */ jsxRuntime.jsx("div", { ref: revealWrapper, className: CardCollection_module_default["reveal-wrapper"], children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: CardCollection_module_default["reveal-inner"], children: hiddenCards.map((card, key) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
1849
1872
|
Card2,
|
|
@@ -1944,7 +1967,7 @@ var ContactModule = ({
|
|
|
1944
1967
|
},
|
|
1945
1968
|
{ scope: containerRef, dependencies: [blurred, animateBlur] }
|
|
1946
1969
|
);
|
|
1947
|
-
return /* @__PURE__ */ jsxRuntime.jsxs("div", { ref: containerRef, className:
|
|
1970
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("div", { ref: containerRef, className: clsx16__default.default(ContactModule_module_default["contact-module"], className), children: [
|
|
1948
1971
|
blurred && /* @__PURE__ */ jsxRuntime.jsx(
|
|
1949
1972
|
"div",
|
|
1950
1973
|
{
|
|
@@ -1959,8 +1982,8 @@ var ContactModule = ({
|
|
|
1959
1982
|
/* @__PURE__ */ jsxRuntime.jsxs(Container, { className: ContactModule_module_default.container, children: [
|
|
1960
1983
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: ContactModule_module_default.wrapper, children: [
|
|
1961
1984
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: ContactModule_module_default.content, children: [
|
|
1962
|
-
titleNode && /* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
1963
|
-
subtitleNode && /* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
1985
|
+
titleNode && /* @__PURE__ */ jsxRuntime.jsx("div", { className: clsx16__default.default(ContactModule_module_default.title, "h1"), children: titleNode }),
|
|
1986
|
+
subtitleNode && /* @__PURE__ */ jsxRuntime.jsx("div", { className: clsx16__default.default(ContactModule_module_default.subtitle, "subheading"), children: subtitleNode })
|
|
1964
1987
|
] }),
|
|
1965
1988
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: ContactModule_module_default["cta-wrapper"], children: ctas == null ? void 0 : ctas.map((cta, key) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
1966
1989
|
Button,
|
|
@@ -2029,7 +2052,7 @@ var Footer = ({
|
|
|
2029
2052
|
disclaimer: FooterDisclaimer
|
|
2030
2053
|
});
|
|
2031
2054
|
const titleNode = (_a = slots.disclaimer) != null ? _a : disclaimer;
|
|
2032
|
-
return /* @__PURE__ */ jsxRuntime.jsx("footer", { className:
|
|
2055
|
+
return /* @__PURE__ */ jsxRuntime.jsx("footer", { className: clsx16__default.default(Footer_module_default.footer, className), children: /* @__PURE__ */ jsxRuntime.jsxs(Container, { className: Footer_module_default.container, children: [
|
|
2033
2056
|
supportContacts.length > 0 && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: Footer_module_default["support-section"], children: [
|
|
2034
2057
|
/* @__PURE__ */ jsxRuntime.jsx("p", { className: Footer_module_default["support-heading"], children: "SUPPORT" }),
|
|
2035
2058
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: Footer_module_default.support, children: supportColumns.map((column, colIdx) => /* @__PURE__ */ jsxRuntime.jsx("div", { className: Footer_module_default["support-column"], children: column.map((group, i) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: Footer_module_default["support-group"], children: [
|
|
@@ -2058,7 +2081,7 @@ var Footer = ({
|
|
|
2058
2081
|
index
|
|
2059
2082
|
) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: Footer_module_default["supporter-link-primary"], children: /* @__PURE__ */ jsxRuntime.jsx(Picture, __spreadValues({}, supporter.image)) }, index)
|
|
2060
2083
|
) }) }),
|
|
2061
|
-
titleNode && /* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
2084
|
+
titleNode && /* @__PURE__ */ jsxRuntime.jsx("div", { className: clsx16__default.default(Footer_module_default.disclaimer, "p"), children: titleNode }),
|
|
2062
2085
|
copyright && /* @__PURE__ */ jsxRuntime.jsx("p", { className: Footer_module_default.copyright, children: copyright })
|
|
2063
2086
|
] }),
|
|
2064
2087
|
navigationLinks.length > 0 && /* @__PURE__ */ jsxRuntime.jsx("nav", { className: Footer_module_default["bottom-right"], children: /* @__PURE__ */ jsxRuntime.jsx("ul", { className: Footer_module_default["nav-list"], children: navigationLinks.map((link) => /* @__PURE__ */ jsxRuntime.jsx("li", { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -2084,7 +2107,7 @@ var LogoBar_module_default = {
|
|
|
2084
2107
|
};
|
|
2085
2108
|
var LogoBar = ({ className, items }) => {
|
|
2086
2109
|
if (!items || items.length === 0) return null;
|
|
2087
|
-
return /* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
2110
|
+
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: clsx16__default.default(LogoBar_module_default.logoBar, className), children: items.map((item, key) => {
|
|
2088
2111
|
return /* @__PURE__ */ jsxRuntime.jsx(Anchor, { href: item.url, isExternal: item.isExternal, children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: LogoBar_module_default.logoWrapper, children: [
|
|
2089
2112
|
item.logo && /* @__PURE__ */ jsxRuntime.jsx(Picture, __spreadValues({ className: LogoBar_module_default.logo }, item.logo)),
|
|
2090
2113
|
item.hoverLogo && /* @__PURE__ */ jsxRuntime.jsx(Picture, __spreadValues({ className: LogoBar_module_default.logoHover }, item.hoverLogo))
|
|
@@ -2156,7 +2179,7 @@ var HeroBanner = ({
|
|
|
2156
2179
|
});
|
|
2157
2180
|
const titleNode = (_a = slots.title) != null ? _a : title;
|
|
2158
2181
|
const subtitleNode = (_b = slots.subtitle) != null ? _b : subtitle;
|
|
2159
|
-
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className:
|
|
2182
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: clsx16__default.default(HeroBanner_module_default.heroBanner, HeroBanner_module_default[variant], className), children: [
|
|
2160
2183
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: HeroBanner_module_default.container, children: [
|
|
2161
2184
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: HeroBanner_module_default.banner, children: [
|
|
2162
2185
|
(titleNode || subtitleNode) && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: HeroBanner_module_default.text, children: [
|
|
@@ -2166,7 +2189,7 @@ var HeroBanner = ({
|
|
|
2166
2189
|
{
|
|
2167
2190
|
tag: "h2",
|
|
2168
2191
|
promoteToH1,
|
|
2169
|
-
className:
|
|
2192
|
+
className: clsx16__default.default(HeroBanner_module_default.title, vBannerPodcast ? "h3" : "h1"),
|
|
2170
2193
|
children: titleNode
|
|
2171
2194
|
}
|
|
2172
2195
|
),
|
|
@@ -2175,7 +2198,7 @@ var HeroBanner = ({
|
|
|
2175
2198
|
{
|
|
2176
2199
|
tag: "div",
|
|
2177
2200
|
promoteToH1: promoteToH1 && !titleNode,
|
|
2178
|
-
className:
|
|
2201
|
+
className: clsx16__default.default(HeroBanner_module_default.subtitle, "subheading"),
|
|
2179
2202
|
children: subtitleNode
|
|
2180
2203
|
}
|
|
2181
2204
|
)
|
|
@@ -2252,7 +2275,7 @@ var HeroBannerCarousel = ({
|
|
|
2252
2275
|
const [swiperInstance, setSwiperInstance] = React66.useState(null);
|
|
2253
2276
|
const [activeIndex, setActiveIndex] = React66.useState(0);
|
|
2254
2277
|
if (!items.length) return null;
|
|
2255
|
-
return /* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
2278
|
+
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: clsx16__default.default(HeroBannerCarousel_module_default.heroBannerCarousel, className), children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: HeroBannerCarousel_module_default.inner, children: [
|
|
2256
2279
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: HeroBannerCarousel_module_default.swiperContainer, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
2257
2280
|
react$1.Swiper,
|
|
2258
2281
|
{
|
|
@@ -2299,7 +2322,7 @@ var HeroBannerCarousel = ({
|
|
|
2299
2322
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: HeroBannerCarousel_module_default.pagination, children: items.map((_, index) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
2300
2323
|
"button",
|
|
2301
2324
|
{
|
|
2302
|
-
className:
|
|
2325
|
+
className: clsx16__default.default(HeroBannerCarousel_module_default.dot, index === activeIndex && HeroBannerCarousel_module_default.dotActive),
|
|
2303
2326
|
onClick: () => swiperInstance == null ? void 0 : swiperInstance.slideTo(index),
|
|
2304
2327
|
"aria-label": `Go to slide ${index + 1}`
|
|
2305
2328
|
},
|
|
@@ -2379,7 +2402,7 @@ var AccordionItem = ({
|
|
|
2379
2402
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
2380
2403
|
"div",
|
|
2381
2404
|
{
|
|
2382
|
-
className:
|
|
2405
|
+
className: clsx16__default.default(
|
|
2383
2406
|
Accordion_module_default.accordionItem,
|
|
2384
2407
|
{
|
|
2385
2408
|
[Accordion_module_default.accordionItemOpen]: isOpen
|
|
@@ -2390,18 +2413,18 @@ var AccordionItem = ({
|
|
|
2390
2413
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
2391
2414
|
"button",
|
|
2392
2415
|
{
|
|
2393
|
-
className:
|
|
2416
|
+
className: clsx16__default.default(Accordion_module_default.accordionHeader, {
|
|
2394
2417
|
[Accordion_module_default.accordionHeaderOpen]: isOpen
|
|
2395
2418
|
}),
|
|
2396
2419
|
onClick: handleToggle,
|
|
2397
2420
|
"aria-expanded": isOpen,
|
|
2398
2421
|
"aria-label": `Toggle ${title}`,
|
|
2399
2422
|
children: [
|
|
2400
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: Accordion_module_default.accordionHeaderLeft, children: /* @__PURE__ */ jsxRuntime.jsx("span", { className:
|
|
2423
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: Accordion_module_default.accordionHeaderLeft, children: /* @__PURE__ */ jsxRuntime.jsx("span", { className: clsx16__default.default("body", Accordion_module_default.accordionTitle), children: title }) }),
|
|
2401
2424
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
2402
2425
|
"span",
|
|
2403
2426
|
{
|
|
2404
|
-
className:
|
|
2427
|
+
className: clsx16__default.default(Accordion_module_default.accordionChevron, {
|
|
2405
2428
|
[Accordion_module_default.accordionChevronOpen]: isOpen
|
|
2406
2429
|
}),
|
|
2407
2430
|
children: isOpen ? /* @__PURE__ */ jsxRuntime.jsx(Icon, { type: "filledChevronUpBlack", size: 40 }) : /* @__PURE__ */ jsxRuntime.jsx(Icon, { type: "circleChevronDown", size: 40 })
|
|
@@ -2453,7 +2476,7 @@ var Accordion = ({
|
|
|
2453
2476
|
if (items.length === 0) {
|
|
2454
2477
|
return null;
|
|
2455
2478
|
}
|
|
2456
|
-
return /* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
2479
|
+
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: clsx16__default.default(Accordion_module_default.accordion, className), children: items.map((item) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
2457
2480
|
AccordionItem,
|
|
2458
2481
|
{
|
|
2459
2482
|
id: item.id,
|
|
@@ -2543,7 +2566,7 @@ var InternalBrandsTab = (props) => {
|
|
|
2543
2566
|
};
|
|
2544
2567
|
})) || [];
|
|
2545
2568
|
}, [tabs]);
|
|
2546
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(Container, { className:
|
|
2569
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(Container, { className: clsx16__default.default(InternalBrandsTab_module_default.internalBrandsTab, className), children: [
|
|
2547
2570
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: InternalBrandsTab_module_default.textsContainer, children: [
|
|
2548
2571
|
title && /* @__PURE__ */ jsxRuntime.jsx(Text, { tag: "h2", className: InternalBrandsTab_module_default.title, children: title }),
|
|
2549
2572
|
subTitle && /* @__PURE__ */ jsxRuntime.jsx("div", { className: InternalBrandsTab_module_default.subTitle, children: subTitle })
|
|
@@ -2559,7 +2582,7 @@ var InternalBrandsTab = (props) => {
|
|
|
2559
2582
|
},
|
|
2560
2583
|
index
|
|
2561
2584
|
)) }),
|
|
2562
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
2585
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: clsx16__default.default(InternalBrandsTab_module_default.contentArea), children: ((_a = tabs == null ? void 0 : tabs[activeIndex]) == null ? void 0 : _a.topContent) && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
2563
2586
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: InternalBrandsTab_module_default.topContent, children: [
|
|
2564
2587
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
|
|
2565
2588
|
((_b = tabs[activeIndex].topContent) == null ? void 0 : _b.title) && /* @__PURE__ */ jsxRuntime.jsx("p", { className: InternalBrandsTab_module_default.topContentTitle, children: (_c = tabs[activeIndex].topContent) == null ? void 0 : _c.title }),
|
|
@@ -2656,22 +2679,22 @@ var MiniBanner = ({
|
|
|
2656
2679
|
const titleNode = (_b = slots.title) != null ? _b : title;
|
|
2657
2680
|
const subtitleNode = (_c = slots.subtitle) != null ? _c : subtitle;
|
|
2658
2681
|
const goBackNode = slots == null ? void 0 : slots.goBack;
|
|
2659
|
-
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className:
|
|
2682
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: clsx16__default.default(MiniBanner_module_default.minibanner, MiniBanner_module_default[variant], className), children: [
|
|
2660
2683
|
((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__ */ jsxRuntime.jsx(Picture, __spreadValues({ className: MiniBanner_module_default.background }, background)),
|
|
2661
2684
|
/* @__PURE__ */ jsxRuntime.jsx(Container, { children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: MiniBanner_module_default.wrapper, children: [
|
|
2662
2685
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: MiniBanner_module_default.textContainer, children: [
|
|
2663
2686
|
(logo == null ? void 0 : logo.src) && /* @__PURE__ */ jsxRuntime.jsx(Picture, __spreadValues({ className: MiniBanner_module_default.logo }, logo)),
|
|
2664
|
-
pretitleNode && /* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
2687
|
+
pretitleNode && /* @__PURE__ */ jsxRuntime.jsx("div", { className: clsx16__default.default(MiniBanner_module_default.pretitle, "small"), children: pretitleNode }),
|
|
2665
2688
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: MiniBanner_module_default.headingWrapper, children: [
|
|
2666
2689
|
goBackNode ? React66__default.default.cloneElement(goBackNode, {
|
|
2667
|
-
className:
|
|
2690
|
+
className: clsx16__default.default("back-button", MiniBanner_module_default["back-button"])
|
|
2668
2691
|
}) : null,
|
|
2669
|
-
titleNode && /* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
2692
|
+
titleNode && /* @__PURE__ */ jsxRuntime.jsx("div", { className: clsx16__default.default(MiniBanner_module_default.title, isMiniBannerTextLeft ? "h1" : "h4"), children: titleNode })
|
|
2670
2693
|
] }),
|
|
2671
2694
|
subtitleNode && /* @__PURE__ */ jsxRuntime.jsx(
|
|
2672
2695
|
"div",
|
|
2673
2696
|
{
|
|
2674
|
-
className:
|
|
2697
|
+
className: clsx16__default.default(MiniBanner_module_default.title, {
|
|
2675
2698
|
subheading: isMiniBannerNoBG || isMiniBannerTextLeft,
|
|
2676
2699
|
h1: !isMiniBannerNoBG && !isMiniBannerTextLeft
|
|
2677
2700
|
}),
|
|
@@ -2743,14 +2766,14 @@ var MiniSectionCta = ({
|
|
|
2743
2766
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
2744
2767
|
"div",
|
|
2745
2768
|
{
|
|
2746
|
-
className:
|
|
2769
|
+
className: clsx16__default.default(MiniSectionCta_module_default.miniSectionCta, MiniSectionCta_module_default[variant], theme && MiniSectionCta_module_default[theme], className),
|
|
2747
2770
|
children: /* @__PURE__ */ jsxRuntime.jsx(Container, { children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: MiniSectionCta_module_default.wrapper, children: [
|
|
2748
2771
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: MiniSectionCta_module_default.col, children: [
|
|
2749
2772
|
titleNode && /* @__PURE__ */ jsxRuntime.jsx("h2", { className: variant === "BgColorBlack" || variant === "BgColorGrey" ? "h3" : "h2", children: titleNode }),
|
|
2750
2773
|
subtitleNode && /* @__PURE__ */ jsxRuntime.jsx(
|
|
2751
2774
|
"div",
|
|
2752
2775
|
{
|
|
2753
|
-
className:
|
|
2776
|
+
className: clsx16__default.default(MiniSectionCta_module_default.subtitle, variant === "infoCallout" ? "h4" : "subheading"),
|
|
2754
2777
|
children: subtitleNode
|
|
2755
2778
|
}
|
|
2756
2779
|
)
|
|
@@ -2815,7 +2838,7 @@ var PracticePathCards = ({
|
|
|
2815
2838
|
const titleNode = (_a = slots.title) != null ? _a : title;
|
|
2816
2839
|
const subtitleNode = (_b = slots.subtitle) != null ? _b : subtitle;
|
|
2817
2840
|
const footerNode = (_c = slots.footer) != null ? _c : footer;
|
|
2818
|
-
return /* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
2841
|
+
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: clsx16__default.default(PracticePathCards_module_default["practice-path-cards"], className), children: /* @__PURE__ */ jsxRuntime.jsxs(Container, { className: PracticePathCards_module_default.container, children: [
|
|
2819
2842
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: PracticePathCards_module_default.wrapper, children: [
|
|
2820
2843
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: PracticePathCards_module_default.content, children: [
|
|
2821
2844
|
titleNode && /* @__PURE__ */ jsxRuntime.jsx("h2", { children: titleNode }),
|
|
@@ -2869,8 +2892,8 @@ var Teaser5050With3Text = ({
|
|
|
2869
2892
|
title: Teaser5050With3TextTitle
|
|
2870
2893
|
});
|
|
2871
2894
|
const titleNode = (_a = slots.title) != null ? _a : title;
|
|
2872
|
-
return /* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
2873
|
-
titleNode && /* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
2895
|
+
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: clsx16__default.default(Teaser5050With3Text_module_default["teaser5050-3text"], Teaser5050With3Text_module_default[variant], className), children: /* @__PURE__ */ jsxRuntime.jsxs(Container, { className: Teaser5050With3Text_module_default.container, children: [
|
|
2896
|
+
titleNode && /* @__PURE__ */ jsxRuntime.jsx("div", { className: clsx16__default.default(Teaser5050With3Text_module_default.title, "h3"), children: titleNode }),
|
|
2874
2897
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: Teaser5050With3Text_module_default.content, children: [
|
|
2875
2898
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: Teaser5050With3Text_module_default.cards, children: cards == null ? void 0 : cards.map((card, key) => /* @__PURE__ */ jsxRuntime.jsx(InfoCard2, __spreadValues({}, card), key)) }),
|
|
2876
2899
|
image && /* @__PURE__ */ jsxRuntime.jsx(Picture, __spreadValues({ className: Teaser5050With3Text_module_default.image }, image))
|
|
@@ -2920,12 +2943,12 @@ var Teaser5050WithCta = ({
|
|
|
2920
2943
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
2921
2944
|
"div",
|
|
2922
2945
|
{
|
|
2923
|
-
className:
|
|
2946
|
+
className: clsx16__default.default(Teaser5050WithCta_module_default.teaser5050, Teaser5050WithCta_module_default[variant], className),
|
|
2924
2947
|
style: { backgroundColor: bgColor ? bgColor : "#ffffff" },
|
|
2925
2948
|
children: /* @__PURE__ */ jsxRuntime.jsxs(Container, { className: Teaser5050WithCta_module_default.container, children: [
|
|
2926
2949
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: Teaser5050WithCta_module_default.wrapper, children: [
|
|
2927
2950
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: Teaser5050WithCta_module_default.content, children: [
|
|
2928
|
-
titleNode && /* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
2951
|
+
titleNode && /* @__PURE__ */ jsxRuntime.jsx("div", { className: clsx16__default.default(Teaser5050WithCta_module_default.title, "h3"), children: titleNode }),
|
|
2929
2952
|
subtitleNode && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "subheading", children: subtitleNode })
|
|
2930
2953
|
] }),
|
|
2931
2954
|
(ctas == null ? void 0 : ctas.length) && /* @__PURE__ */ jsxRuntime.jsx("div", { className: Teaser5050WithCta_module_default.ctaWrapper, children: ctas.map((cta, key) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -2977,7 +3000,7 @@ var Carousel = (_a) => {
|
|
|
2977
3000
|
},
|
|
2978
3001
|
role: "region",
|
|
2979
3002
|
"aria-label": ariaLabel,
|
|
2980
|
-
className:
|
|
3003
|
+
className: clsx16__default.default(Carousel_module_default.carousel, className),
|
|
2981
3004
|
spaceBetween: 0,
|
|
2982
3005
|
slidesPerView: "auto",
|
|
2983
3006
|
modules: [modules.FreeMode, modules.A11y],
|
|
@@ -2987,7 +3010,7 @@ var Carousel = (_a) => {
|
|
|
2987
3010
|
children: slides.map((slide, index) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
2988
3011
|
react$1.SwiperSlide,
|
|
2989
3012
|
{
|
|
2990
|
-
className:
|
|
3013
|
+
className: clsx16__default.default(Carousel_module_default["carousel-item"], props.slideClass),
|
|
2991
3014
|
children: slide
|
|
2992
3015
|
},
|
|
2993
3016
|
index
|
|
@@ -3037,13 +3060,13 @@ var EventList = ({
|
|
|
3037
3060
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
3038
3061
|
"div",
|
|
3039
3062
|
{
|
|
3040
|
-
className:
|
|
3063
|
+
className: clsx16__default.default("event-list-module", EventList_module_default["event-list-module"], className),
|
|
3041
3064
|
style: {
|
|
3042
3065
|
backgroundColor
|
|
3043
3066
|
},
|
|
3044
|
-
children: /* @__PURE__ */ jsxRuntime.jsxs(Container, { className:
|
|
3067
|
+
children: /* @__PURE__ */ jsxRuntime.jsxs(Container, { className: clsx16__default.default(EventList_module_default["event-list-container"]), children: [
|
|
3045
3068
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: EventList_module_default["event-list-header-container"], children: [
|
|
3046
|
-
titleNode && /* @__PURE__ */ jsxRuntime.jsx("h2", { className:
|
|
3069
|
+
titleNode && /* @__PURE__ */ jsxRuntime.jsx("h2", { className: clsx16__default.default(EventList_module_default["event-list-title"]), children: titleNode }),
|
|
3047
3070
|
cta && cta.url && /* @__PURE__ */ jsxRuntime.jsx(
|
|
3048
3071
|
Button,
|
|
3049
3072
|
{
|
|
@@ -3060,7 +3083,7 @@ var EventList = ({
|
|
|
3060
3083
|
Carousel,
|
|
3061
3084
|
{
|
|
3062
3085
|
"aria-label": "Upcoming events",
|
|
3063
|
-
wrapperClass:
|
|
3086
|
+
wrapperClass: clsx16__default.default(EventList_module_default["carousel-wrapper"], EventList_module_default[variant]),
|
|
3064
3087
|
slideClass: EventList_module_default["carousel-list-item"],
|
|
3065
3088
|
spaceBetween: 16,
|
|
3066
3089
|
slides: items.map((item) => {
|
|
@@ -3068,7 +3091,7 @@ var EventList = ({
|
|
|
3068
3091
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
3069
3092
|
UpcomingEventCard,
|
|
3070
3093
|
__spreadValues({
|
|
3071
|
-
className:
|
|
3094
|
+
className: clsx16__default.default(EventList_module_default["event-card"]),
|
|
3072
3095
|
direction: "vertical",
|
|
3073
3096
|
showImage: false
|
|
3074
3097
|
}, item),
|
|
@@ -3081,17 +3104,17 @@ var EventList = ({
|
|
|
3081
3104
|
"ul",
|
|
3082
3105
|
{
|
|
3083
3106
|
"aria-label": "Upcoming events",
|
|
3084
|
-
className:
|
|
3107
|
+
className: clsx16__default.default(EventList_module_default["event-list-wrapper"], EventList_module_default["horizontal"], EventList_module_default[variant]),
|
|
3085
3108
|
children: items == null ? void 0 : items.map((item, index) => {
|
|
3086
3109
|
var _a2, _b, _c;
|
|
3087
3110
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
3088
3111
|
"li",
|
|
3089
3112
|
{
|
|
3090
|
-
className:
|
|
3113
|
+
className: clsx16__default.default(EventList_module_default["card-list-item"]),
|
|
3091
3114
|
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
3092
3115
|
UpcomingEventCard,
|
|
3093
3116
|
__spreadProps(__spreadValues({}, item), {
|
|
3094
|
-
className:
|
|
3117
|
+
className: clsx16__default.default(EventList_module_default["card-item"]),
|
|
3095
3118
|
showImage: false,
|
|
3096
3119
|
direction: "vertical"
|
|
3097
3120
|
})
|
|
@@ -3106,7 +3129,7 @@ var EventList = ({
|
|
|
3106
3129
|
"ul",
|
|
3107
3130
|
{
|
|
3108
3131
|
"aria-label": "Upcoming events",
|
|
3109
|
-
className:
|
|
3132
|
+
className: clsx16__default.default(EventList_module_default["event-list-wrapper"], EventList_module_default[listDirection]),
|
|
3110
3133
|
children: items == null ? void 0 : items.map((item, index) => {
|
|
3111
3134
|
var _a2, _b, _c;
|
|
3112
3135
|
return /* @__PURE__ */ jsxRuntime.jsx("li", { children: /* @__PURE__ */ jsxRuntime.jsx(UpcomingEventCard, __spreadProps(__spreadValues({}, item), { direction: cardDirection })) }, (_c = (_b = (_a2 = item.title) != null ? _a2 : item.date) != null ? _b : item.location) != null ? _c : index);
|
|
@@ -3154,9 +3177,9 @@ var TextEvent = (props) => {
|
|
|
3154
3177
|
});
|
|
3155
3178
|
const titleNode = (_a = slots.title) != null ? _a : title;
|
|
3156
3179
|
const richTextNode = (_b = slots.richText) != null ? _b : richText;
|
|
3157
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(Container, { className:
|
|
3180
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(Container, { className: clsx16__default.default(TextEvent_module_default.textEvent, className), children: [
|
|
3158
3181
|
/* @__PURE__ */ jsxRuntime.jsx(Text, { tag: "h2", className: TextEvent_module_default.title, children: titleNode }),
|
|
3159
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
3182
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: clsx16__default.default(TextEvent_module_default.richText, TextEvent_module_default[variant != null ? variant : ""]), children: richTextNode })
|
|
3160
3183
|
] });
|
|
3161
3184
|
};
|
|
3162
3185
|
|
|
@@ -3187,7 +3210,7 @@ var TextBody = (props) => {
|
|
|
3187
3210
|
});
|
|
3188
3211
|
const titleNode = (_a = slots.title) != null ? _a : title;
|
|
3189
3212
|
const bodyNode = (_b = slots.body) != null ? _b : body;
|
|
3190
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(Container, { className:
|
|
3213
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(Container, { className: clsx16__default.default(TextBody_module_default.textBody, className), children: [
|
|
3191
3214
|
titleNode && /* @__PURE__ */ jsxRuntime.jsx(Text, { tag: "h2", className: TextBody_module_default.title, children: titleNode }),
|
|
3192
3215
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: TextBody_module_default.body, children: bodyNode })
|
|
3193
3216
|
] });
|
|
@@ -3230,7 +3253,7 @@ var TextCenterCtaInBottom = ({
|
|
|
3230
3253
|
});
|
|
3231
3254
|
const titleNode = (_a = slots.title) != null ? _a : title;
|
|
3232
3255
|
const subtitleNode = (_b = slots.subtitle) != null ? _b : subtitle;
|
|
3233
|
-
return /* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
3256
|
+
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: clsx16__default.default(TextCenterCtaInBottom_module_default.textCenterCta, className), children: /* @__PURE__ */ jsxRuntime.jsxs(Container, { className: TextCenterCtaInBottom_module_default.container, children: [
|
|
3234
3257
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: TextCenterCtaInBottom_module_default.content, children: [
|
|
3235
3258
|
titleNode && /* @__PURE__ */ jsxRuntime.jsx("div", { className: TextCenterCtaInBottom_module_default.title, children: titleNode }),
|
|
3236
3259
|
subtitleNode && /* @__PURE__ */ jsxRuntime.jsx("div", { className: TextCenterCtaInBottom_module_default.subtitle, children: subtitleNode })
|
|
@@ -3238,7 +3261,7 @@ var TextCenterCtaInBottom = ({
|
|
|
3238
3261
|
!!(ctas == null ? void 0 : ctas.length) && /* @__PURE__ */ jsxRuntime.jsx(
|
|
3239
3262
|
"div",
|
|
3240
3263
|
{
|
|
3241
|
-
className:
|
|
3264
|
+
className: clsx16__default.default(
|
|
3242
3265
|
TextCenterCtaInBottom_module_default.ctaWrapper,
|
|
3243
3266
|
ctas.every((cta) => !cta.label && cta.logo) && TextCenterCtaInBottom_module_default.iconOnly
|
|
3244
3267
|
),
|
|
@@ -3350,7 +3373,7 @@ var ResourcesGridList = ({
|
|
|
3350
3373
|
const safeCurrentPage = Math.min(currentPage, totalPages);
|
|
3351
3374
|
const pageStart = (safeCurrentPage - 1) * ITEMS_PER_PAGE;
|
|
3352
3375
|
const paginatedItems = displayedItems.slice(pageStart, pageStart + ITEMS_PER_PAGE);
|
|
3353
|
-
return /* @__PURE__ */ jsxRuntime.jsxs("div", { ref: widgetRef, className:
|
|
3376
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("div", { ref: widgetRef, className: clsx16__default.default(ResourcesGridList_module_default.widget, className), children: [
|
|
3354
3377
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3355
3378
|
FilterBar,
|
|
3356
3379
|
{
|
|
@@ -3369,7 +3392,7 @@ var ResourcesGridList = ({
|
|
|
3369
3392
|
isMobile && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
3370
3393
|
"div",
|
|
3371
3394
|
{
|
|
3372
|
-
className:
|
|
3395
|
+
className: clsx16__default.default(
|
|
3373
3396
|
ResourcesGridList_module_default.mobileSidebarOverlay,
|
|
3374
3397
|
isSidebarOpen && ResourcesGridList_module_default.mobileSidebarOverlayOpen
|
|
3375
3398
|
),
|
|
@@ -3380,7 +3403,7 @@ var ResourcesGridList = ({
|
|
|
3380
3403
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
3381
3404
|
"li",
|
|
3382
3405
|
{
|
|
3383
|
-
className:
|
|
3406
|
+
className: clsx16__default.default(
|
|
3384
3407
|
ResourcesGridList_module_default.mobileSidebarItem,
|
|
3385
3408
|
i === selectedCategory && ResourcesGridList_module_default.active
|
|
3386
3409
|
),
|
|
@@ -3425,7 +3448,7 @@ var ResourcesGridList = ({
|
|
|
3425
3448
|
onSelect: handleSelectCategory
|
|
3426
3449
|
}
|
|
3427
3450
|
),
|
|
3428
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
3451
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: clsx16__default.default(ResourcesGridList_module_default.cardsArea, ResourcesGridList_module_default[view]), children: paginatedItems.map((item) => /* @__PURE__ */ jsxRuntime.jsx(ResourceCardItem, { item, view }, item.id)) })
|
|
3429
3452
|
] }),
|
|
3430
3453
|
totalPages > 1 && /* @__PURE__ */ jsxRuntime.jsx(
|
|
3431
3454
|
Pagination,
|
|
@@ -3458,7 +3481,7 @@ var Grid = ({
|
|
|
3458
3481
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
3459
3482
|
Component,
|
|
3460
3483
|
{
|
|
3461
|
-
className:
|
|
3484
|
+
className: clsx16__default.default("grid", Grid_module_default.grid, className),
|
|
3462
3485
|
role,
|
|
3463
3486
|
"aria-label": ariaLabel,
|
|
3464
3487
|
"aria-labelledby": ariaLabelledBy,
|
|
@@ -3483,7 +3506,7 @@ var GridItem = ({
|
|
|
3483
3506
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
3484
3507
|
Component,
|
|
3485
3508
|
{
|
|
3486
|
-
className:
|
|
3509
|
+
className: clsx16__default.default("grid-item", Grid_module_default["grid-item"], className),
|
|
3487
3510
|
role,
|
|
3488
3511
|
"aria-label": ariaLabel,
|
|
3489
3512
|
"aria-labelledby": ariaLabelledBy,
|
|
@@ -3531,13 +3554,13 @@ var BlogCardGrid = ({
|
|
|
3531
3554
|
title: BlogCardGridTitle
|
|
3532
3555
|
});
|
|
3533
3556
|
const titleNode = (_a = slots.title) != null ? _a : title;
|
|
3534
|
-
const content = /* @__PURE__ */ jsxRuntime.jsxs("div", { className:
|
|
3535
|
-
title && /* @__PURE__ */ jsxRuntime.jsxs("div", { className:
|
|
3536
|
-
titleNode && typeof titleNode === "string" ? /* @__PURE__ */ jsxRuntime.jsx(Text, { tag: "h4", className:
|
|
3537
|
-
cta && (cta == null ? void 0 : cta.url) && /* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
3557
|
+
const content = /* @__PURE__ */ jsxRuntime.jsxs("div", { className: clsx16__default.default("wrapper", BlogCardGrid_module_default["wrapper"]), children: [
|
|
3558
|
+
title && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: clsx16__default.default("header-container", BlogCardGrid_module_default["header-container"]), children: [
|
|
3559
|
+
titleNode && typeof titleNode === "string" ? /* @__PURE__ */ jsxRuntime.jsx(Text, { tag: "h4", className: clsx16__default.default("title", BlogCardGrid_module_default["title"]), children: titleNode }) : titleNode,
|
|
3560
|
+
cta && (cta == null ? void 0 : cta.url) && /* @__PURE__ */ jsxRuntime.jsx("div", { className: clsx16__default.default("cta-wrapper", BlogCardGrid_module_default["cta-wrapper"]), children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
3538
3561
|
Button,
|
|
3539
3562
|
{
|
|
3540
|
-
className:
|
|
3563
|
+
className: clsx16__default.default("cta", BlogCardGrid_module_default["cta"]),
|
|
3541
3564
|
variant: "nofillblack",
|
|
3542
3565
|
href: cta.url,
|
|
3543
3566
|
isExternal: cta == null ? void 0 : cta.isExternal,
|
|
@@ -3563,11 +3586,11 @@ var BlogCardGrid = ({
|
|
|
3563
3586
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
3564
3587
|
"div",
|
|
3565
3588
|
{
|
|
3566
|
-
className:
|
|
3589
|
+
className: clsx16__default.default("blog-card-grid", BlogCardGrid_module_default["blog-card-grid"], className),
|
|
3567
3590
|
style: {
|
|
3568
3591
|
backgroundColor
|
|
3569
3592
|
},
|
|
3570
|
-
children: hasContainer ? /* @__PURE__ */ jsxRuntime.jsx(Container, { className:
|
|
3593
|
+
children: hasContainer ? /* @__PURE__ */ jsxRuntime.jsx(Container, { className: clsx16__default.default("container", BlogCardGrid_module_default["container"]), children: content }) : content
|
|
3571
3594
|
}
|
|
3572
3595
|
);
|
|
3573
3596
|
};
|
|
@@ -3614,13 +3637,13 @@ var FeaturedNewsHighlights = ({
|
|
|
3614
3637
|
const sideCards = items.slice(1);
|
|
3615
3638
|
const isVariantHome = variant === "home";
|
|
3616
3639
|
const isBelowTablet = is("tablet", "below");
|
|
3617
|
-
const content = /* @__PURE__ */ jsxRuntime.jsxs("div", { className:
|
|
3618
|
-
title && cta && /* @__PURE__ */ jsxRuntime.jsxs("div", { className:
|
|
3640
|
+
const content = /* @__PURE__ */ jsxRuntime.jsxs("div", { className: clsx16__default.default("wrapper", FeaturedNewsHighlights_module_default["wrapper"]), children: [
|
|
3641
|
+
title && cta && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: clsx16__default.default("header-container", FeaturedNewsHighlights_module_default["header-container"]), children: [
|
|
3619
3642
|
titleNode && typeof titleNode === "string" ? /* @__PURE__ */ jsxRuntime.jsx(Text, { tag: "h2", children: titleNode }) : titleNode,
|
|
3620
|
-
cta && (cta == null ? void 0 : cta.url) && /* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
3643
|
+
cta && (cta == null ? void 0 : cta.url) && /* @__PURE__ */ jsxRuntime.jsx("div", { className: clsx16__default.default("cta-wrapper", FeaturedNewsHighlights_module_default["cta-wrapper"]), children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
3621
3644
|
Button,
|
|
3622
3645
|
{
|
|
3623
|
-
className:
|
|
3646
|
+
className: clsx16__default.default("cta", FeaturedNewsHighlights_module_default["cta"]),
|
|
3624
3647
|
variant: "nofillblack",
|
|
3625
3648
|
href: cta.url,
|
|
3626
3649
|
isExternal: cta == null ? void 0 : cta.isExternal,
|
|
@@ -3632,9 +3655,9 @@ var FeaturedNewsHighlights = ({
|
|
|
3632
3655
|
isVariantHome && isBelowTablet && /* @__PURE__ */ jsxRuntime.jsx(
|
|
3633
3656
|
Carousel,
|
|
3634
3657
|
{
|
|
3635
|
-
className:
|
|
3658
|
+
className: clsx16__default.default("carousel", FeaturedNewsHighlights_module_default["carousel"]),
|
|
3636
3659
|
"aria-label": "featured news",
|
|
3637
|
-
wrapperClass:
|
|
3660
|
+
wrapperClass: clsx16__default.default(FeaturedNewsHighlights_module_default["carousel-wrapper"]),
|
|
3638
3661
|
slideClass: FeaturedNewsHighlights_module_default["carousel-list-item"],
|
|
3639
3662
|
spaceBetween: 16,
|
|
3640
3663
|
slides: items.map((item, index) => {
|
|
@@ -3643,22 +3666,22 @@ var FeaturedNewsHighlights = ({
|
|
|
3643
3666
|
NewsCard,
|
|
3644
3667
|
__spreadProps(__spreadValues({}, item), {
|
|
3645
3668
|
direction: "vertical",
|
|
3646
|
-
className:
|
|
3669
|
+
className: clsx16__default.default("carousel-news-card", FeaturedNewsHighlights_module_default["carousel-news-card"])
|
|
3647
3670
|
}),
|
|
3648
3671
|
(_a2 = item == null ? void 0 : item.title) != null ? _a2 : index
|
|
3649
3672
|
);
|
|
3650
3673
|
})
|
|
3651
3674
|
}
|
|
3652
3675
|
),
|
|
3653
|
-
(!isVariantHome || isVariantHome && !isBelowTablet) && /* @__PURE__ */ jsxRuntime.jsxs("div", { className:
|
|
3676
|
+
(!isVariantHome || isVariantHome && !isBelowTablet) && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: clsx16__default.default("content-wrapper", FeaturedNewsHighlights_module_default["content-wrapper"]), children: [
|
|
3654
3677
|
featuredCard && /* @__PURE__ */ jsxRuntime.jsx(
|
|
3655
3678
|
NewsCard,
|
|
3656
3679
|
__spreadProps(__spreadValues({}, featuredCard), {
|
|
3657
|
-
className:
|
|
3680
|
+
className: clsx16__default.default("featured-card", FeaturedNewsHighlights_module_default["featured-card"]),
|
|
3658
3681
|
renderLink
|
|
3659
3682
|
})
|
|
3660
3683
|
),
|
|
3661
|
-
sideCards && sideCards.length > 0 && /* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
3684
|
+
sideCards && sideCards.length > 0 && /* @__PURE__ */ jsxRuntime.jsx("div", { className: clsx16__default.default("side-content", FeaturedNewsHighlights_module_default["side-content"]), children: sideCards.map((card, index) => {
|
|
3662
3685
|
var _a2;
|
|
3663
3686
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
3664
3687
|
NewsCard,
|
|
@@ -3674,11 +3697,11 @@ var FeaturedNewsHighlights = ({
|
|
|
3674
3697
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
3675
3698
|
"div",
|
|
3676
3699
|
{
|
|
3677
|
-
className:
|
|
3700
|
+
className: clsx16__default.default("featured-news-higlights", FeaturedNewsHighlights_module_default["featured-news-higlights"], className),
|
|
3678
3701
|
style: {
|
|
3679
3702
|
backgroundColor
|
|
3680
3703
|
},
|
|
3681
|
-
children: hasContainer ? /* @__PURE__ */ jsxRuntime.jsx(Container, { className:
|
|
3704
|
+
children: hasContainer ? /* @__PURE__ */ jsxRuntime.jsx(Container, { className: clsx16__default.default("container", FeaturedNewsHighlights_module_default["container"]), children: content }) : content
|
|
3682
3705
|
}
|
|
3683
3706
|
);
|
|
3684
3707
|
};
|
|
@@ -3722,23 +3745,23 @@ var NewsCardList = ({
|
|
|
3722
3745
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
3723
3746
|
"div",
|
|
3724
3747
|
{
|
|
3725
|
-
className:
|
|
3748
|
+
className: clsx16__default.default("news-card-list", NewsCardList_module_default["news-card-list"], className),
|
|
3726
3749
|
style: {
|
|
3727
3750
|
backgroundColor
|
|
3728
3751
|
},
|
|
3729
|
-
children: /* @__PURE__ */ jsxRuntime.jsxs(Container, { className:
|
|
3730
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className:
|
|
3752
|
+
children: /* @__PURE__ */ jsxRuntime.jsxs(Container, { className: clsx16__default.default("container", NewsCardList_module_default["container"]), children: [
|
|
3753
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: clsx16__default.default("wrapper", NewsCardList_module_default["wrapper"]), children: [
|
|
3731
3754
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3732
3755
|
Input,
|
|
3733
3756
|
__spreadValues({
|
|
3734
|
-
className:
|
|
3757
|
+
className: clsx16__default.default("search-input", NewsCardList_module_default["search-input"]),
|
|
3735
3758
|
startAdornment: /* @__PURE__ */ jsxRuntime.jsx(Icon, { type: "search" }),
|
|
3736
3759
|
placeholder: "Search News",
|
|
3737
3760
|
endAction: searchValue ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
3738
3761
|
Button,
|
|
3739
3762
|
{
|
|
3740
3763
|
variant: "nofillblack",
|
|
3741
|
-
className:
|
|
3764
|
+
className: clsx16__default.default(NewsCardList_module_default["end-action-button"]),
|
|
3742
3765
|
"aria-label": "Search",
|
|
3743
3766
|
onClick: onSearchSubmit ? () => onSearchSubmit(searchValue || "") : void 0,
|
|
3744
3767
|
children: /* @__PURE__ */ jsxRuntime.jsx(Icon, { type: "rightBlack" })
|
|
@@ -3750,7 +3773,7 @@ var NewsCardList = ({
|
|
|
3750
3773
|
} : void 0
|
|
3751
3774
|
}, searchInputProps)
|
|
3752
3775
|
),
|
|
3753
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className:
|
|
3776
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: clsx16__default.default("card-wrapper", NewsCardList_module_default["card-wrapper"]), children: [
|
|
3754
3777
|
currentPage === 1 && /* @__PURE__ */ jsxRuntime.jsx(
|
|
3755
3778
|
FeaturedNewsHighlights2,
|
|
3756
3779
|
{
|
|
@@ -3764,7 +3787,7 @@ var NewsCardList = ({
|
|
|
3764
3787
|
] })
|
|
3765
3788
|
] }),
|
|
3766
3789
|
paginationNode ? React66__default.default.cloneElement(paginationNode, {
|
|
3767
|
-
className:
|
|
3790
|
+
className: clsx16__default.default("pagination", NewsCardList_module_default["pagination"])
|
|
3768
3791
|
}) : null
|
|
3769
3792
|
] })
|
|
3770
3793
|
}
|
|
@@ -3809,15 +3832,15 @@ var BlogPost = ({
|
|
|
3809
3832
|
});
|
|
3810
3833
|
const titleNode = (_a = slots.title) != null ? _a : title;
|
|
3811
3834
|
const bodyNode = (_b = slots.body) != null ? _b : body;
|
|
3812
|
-
return /* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
3813
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className:
|
|
3835
|
+
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: clsx16__default.default("blog-post", BlogPost_module_default["blog-post"], className), children: /* @__PURE__ */ jsxRuntime.jsxs(Container, { className: clsx16__default.default("container", BlogPost_module_default["container"]), children: [
|
|
3836
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: clsx16__default.default("header", BlogPost_module_default["header"]), children: [
|
|
3814
3837
|
titleNode && typeof titleNode === "string" ? /* @__PURE__ */ jsxRuntime.jsx(Text, { tag: "h1", children: titleNode }) : titleNode,
|
|
3815
|
-
image && /* @__PURE__ */ jsxRuntime.jsx(Picture, __spreadProps(__spreadValues({}, image), { className:
|
|
3838
|
+
image && /* @__PURE__ */ jsxRuntime.jsx(Picture, __spreadProps(__spreadValues({}, image), { className: clsx16__default.default("image", BlogPost_module_default["image"]) }))
|
|
3816
3839
|
] }),
|
|
3817
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className:
|
|
3818
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className:
|
|
3840
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: clsx16__default.default("content", BlogPost_module_default["content"]), children: [
|
|
3841
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: clsx16__default.default("content-top", BlogPost_module_default["content-top"]), children: [
|
|
3819
3842
|
/* @__PURE__ */ jsxRuntime.jsx(Badge, { size: "sm", children: tag }),
|
|
3820
|
-
/* @__PURE__ */ jsxRuntime.jsxs("span", { className:
|
|
3843
|
+
/* @__PURE__ */ jsxRuntime.jsxs("span", { className: clsx16__default.default("content-date", BlogPost_module_default["content-date"]), children: [
|
|
3821
3844
|
"Published ",
|
|
3822
3845
|
/* @__PURE__ */ jsxRuntime.jsx("time", { dateTime: date.value, children: date.label })
|
|
3823
3846
|
] })
|
|
@@ -3830,7 +3853,7 @@ var BlogPost = ({
|
|
|
3830
3853
|
title: "More News",
|
|
3831
3854
|
items: relatedArticles,
|
|
3832
3855
|
hasContainer: false,
|
|
3833
|
-
className:
|
|
3856
|
+
className: clsx16__default.default("related-articles", BlogPost_module_default["related-articles"])
|
|
3834
3857
|
}
|
|
3835
3858
|
)
|
|
3836
3859
|
] }) });
|
|
@@ -3878,22 +3901,22 @@ var BlogSearchResultsList = ({
|
|
|
3878
3901
|
});
|
|
3879
3902
|
const searchNode = (_a = slots.search) != null ? _a : searchResult;
|
|
3880
3903
|
const paginationNode = slots.pagination;
|
|
3881
|
-
return /* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
3882
|
-
typeof searchNode === "string" ? /* @__PURE__ */ jsxRuntime.jsx("span", { className:
|
|
3883
|
-
className:
|
|
3904
|
+
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: clsx16__default.default("search-results-list", BlogSearchResultsList_module_default["search-results-list"], className), children: /* @__PURE__ */ jsxRuntime.jsxs(Container, { className: clsx16__default.default("container", BlogSearchResultsList_module_default["container"]), children: [
|
|
3905
|
+
typeof searchNode === "string" ? /* @__PURE__ */ jsxRuntime.jsx("span", { className: clsx16__default.default("search-result", BlogSearchResultsList_module_default["search-result"]), children: searchNode }) : React66__default.default.isValidElement(searchNode) ? React66__default.default.cloneElement(searchNode, {
|
|
3906
|
+
className: clsx16__default.default("search-result", BlogSearchResultsList_module_default["search-result"])
|
|
3884
3907
|
}) : null,
|
|
3885
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className:
|
|
3908
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: clsx16__default.default("wrapper", BlogSearchResultsList_module_default["wrapper"]), children: [
|
|
3886
3909
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3887
3910
|
Input,
|
|
3888
3911
|
__spreadValues({
|
|
3889
|
-
className:
|
|
3912
|
+
className: clsx16__default.default("search-input", BlogSearchResultsList_module_default["search-input"]),
|
|
3890
3913
|
startAdornment: /* @__PURE__ */ jsxRuntime.jsx(Icon, { type: "search" }),
|
|
3891
3914
|
placeholder: "Search News",
|
|
3892
3915
|
endAction: searchValue ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
3893
3916
|
Button,
|
|
3894
3917
|
{
|
|
3895
3918
|
variant: "nofillblack",
|
|
3896
|
-
className:
|
|
3919
|
+
className: clsx16__default.default(BlogSearchResultsList_module_default["end-action-button"]),
|
|
3897
3920
|
"aria-label": "Search",
|
|
3898
3921
|
onClick: () => onSearchSubmit(searchValue),
|
|
3899
3922
|
children: /* @__PURE__ */ jsxRuntime.jsx(Icon, { type: "rightBlack" })
|
|
@@ -3908,7 +3931,7 @@ var BlogSearchResultsList = ({
|
|
|
3908
3931
|
/* @__PURE__ */ jsxRuntime.jsx(BlogCardGrid2, { items, hasContainer: false, renderLink })
|
|
3909
3932
|
] }),
|
|
3910
3933
|
paginationNode ? React66__default.default.cloneElement(paginationNode, {
|
|
3911
|
-
className:
|
|
3934
|
+
className: clsx16__default.default("pagination", BlogSearchResultsList_module_default["pagination"])
|
|
3912
3935
|
}) : null
|
|
3913
3936
|
] }) });
|
|
3914
3937
|
};
|
|
@@ -3918,6 +3941,64 @@ var BlogSearchResultsList2 = Object.assign(BlogSearchResultsList, {
|
|
|
3918
3941
|
Search: BlogSearchResultsListSearch,
|
|
3919
3942
|
Pagination: BlogSearchResultsListPagination
|
|
3920
3943
|
});
|
|
3944
|
+
|
|
3945
|
+
// src/widgets/GlobalSearchResultsList/GlobalSearchResultsList.module.scss
|
|
3946
|
+
var GlobalSearchResultsList_module_default = {
|
|
3947
|
+
"search-results-list": "GlobalSearchResultsList_module_search-results-list",
|
|
3948
|
+
container: "GlobalSearchResultsList_module_container",
|
|
3949
|
+
"search-result": "GlobalSearchResultsList_module_search-result",
|
|
3950
|
+
wrapper: "GlobalSearchResultsList_module_wrapper",
|
|
3951
|
+
pagination: "GlobalSearchResultsList_module_pagination"
|
|
3952
|
+
};
|
|
3953
|
+
var GlobalSearchResultsListPagination = ({
|
|
3954
|
+
children
|
|
3955
|
+
}) => {
|
|
3956
|
+
return /* @__PURE__ */ jsxRuntime.jsx(jsxRuntime.Fragment, { children });
|
|
3957
|
+
};
|
|
3958
|
+
var GlobalSearchResultsListSearch = ({ children }) => {
|
|
3959
|
+
return /* @__PURE__ */ jsxRuntime.jsx(jsxRuntime.Fragment, { children });
|
|
3960
|
+
};
|
|
3961
|
+
var GlobalSearchResultsList = ({
|
|
3962
|
+
items,
|
|
3963
|
+
searchResult,
|
|
3964
|
+
className,
|
|
3965
|
+
renderLink,
|
|
3966
|
+
children
|
|
3967
|
+
}) => {
|
|
3968
|
+
var _a;
|
|
3969
|
+
const slots = resolveCompoundSlots(children, {
|
|
3970
|
+
search: GlobalSearchResultsListSearch,
|
|
3971
|
+
pagination: GlobalSearchResultsListPagination
|
|
3972
|
+
});
|
|
3973
|
+
const searchNode = (_a = slots.search) != null ? _a : searchResult;
|
|
3974
|
+
const paginationNode = slots.pagination;
|
|
3975
|
+
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: clsx16__default.default("search-results-list", GlobalSearchResultsList_module_default["search-results-list"], className), children: /* @__PURE__ */ jsxRuntime.jsxs(Container, { className: clsx16__default.default("container", GlobalSearchResultsList_module_default["container"]), children: [
|
|
3976
|
+
typeof searchNode === "string" ? /* @__PURE__ */ jsxRuntime.jsx("span", { className: clsx16__default.default("search-result", GlobalSearchResultsList_module_default["search-result"]), children: searchNode }) : React66__default.default.isValidElement(searchNode) ? React66__default.default.cloneElement(searchNode, {
|
|
3977
|
+
className: clsx16__default.default("search-result", GlobalSearchResultsList_module_default["search-result"])
|
|
3978
|
+
}) : null,
|
|
3979
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: clsx16__default.default("wrapper", GlobalSearchResultsList_module_default["wrapper"]), children: /* @__PURE__ */ jsxRuntime.jsx(Grid, { role: "list", columns: 3, children: items.map((item, index) => {
|
|
3980
|
+
var _a2;
|
|
3981
|
+
return /* @__PURE__ */ jsxRuntime.jsx(GridItem, { colSpan: { md: 3 }, role: "listitem", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
3982
|
+
ResourceCardItem,
|
|
3983
|
+
{
|
|
3984
|
+
item,
|
|
3985
|
+
view: "grid",
|
|
3986
|
+
variant: "global-search",
|
|
3987
|
+
renderLink
|
|
3988
|
+
}
|
|
3989
|
+
) }, (_a2 = item.title) != null ? _a2 : index);
|
|
3990
|
+
}) }) }),
|
|
3991
|
+
paginationNode ? React66__default.default.cloneElement(paginationNode, {
|
|
3992
|
+
className: clsx16__default.default("pagination", GlobalSearchResultsList_module_default["pagination"])
|
|
3993
|
+
}) : null
|
|
3994
|
+
] }) });
|
|
3995
|
+
};
|
|
3996
|
+
|
|
3997
|
+
// src/widgets/GlobalSearchResultsList/index.ts
|
|
3998
|
+
var GlobalSearchResultsList2 = Object.assign(GlobalSearchResultsList, {
|
|
3999
|
+
Search: GlobalSearchResultsListSearch,
|
|
4000
|
+
Pagination: GlobalSearchResultsListPagination
|
|
4001
|
+
});
|
|
3921
4002
|
function useIntersectionObserver({
|
|
3922
4003
|
animateOnce = false,
|
|
3923
4004
|
options = {}
|
|
@@ -3965,6 +4046,7 @@ exports.EventList = EventList2;
|
|
|
3965
4046
|
exports.FeaturedNewsHighlights = FeaturedNewsHighlights2;
|
|
3966
4047
|
exports.FilterBar = FilterBar;
|
|
3967
4048
|
exports.Footer = Footer;
|
|
4049
|
+
exports.GlobalSearchResultsList = GlobalSearchResultsList2;
|
|
3968
4050
|
exports.HeroBanner = HeroBanner2;
|
|
3969
4051
|
exports.HeroBannerCarousel = HeroBannerCarousel;
|
|
3970
4052
|
exports.Icon = Icon;
|