@digital-b2c/coreui-kit 0.11.23 → 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 +256 -173
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +74 -2
- 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 +255 -173
- 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,43 +1266,67 @@ 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",
|
|
1272
1273
|
cardTitle: "ResourceCardItem_module_cardTitle",
|
|
1273
1274
|
cardBodyTextGrid: "ResourceCardItem_module_cardBodyTextGrid",
|
|
1274
1275
|
cardBodyTextList: "ResourceCardItem_module_cardBodyTextList",
|
|
1276
|
+
cardListHeader: "ResourceCardItem_module_cardListHeader",
|
|
1275
1277
|
cardBodyText: "ResourceCardItem_module_cardBodyText",
|
|
1276
1278
|
cardMeta: "ResourceCardItem_module_cardMeta",
|
|
1277
1279
|
cardDate: "ResourceCardItem_module_cardDate",
|
|
1278
1280
|
cardList: "ResourceCardItem_module_cardList",
|
|
1279
1281
|
cardListLeft: "ResourceCardItem_module_cardListLeft",
|
|
1280
1282
|
cardListRight: "ResourceCardItem_module_cardListRight",
|
|
1281
|
-
notificationDot: "ResourceCardItem_module_notificationDot"
|
|
1282
|
-
|
|
1283
|
+
notificationDot: "ResourceCardItem_module_notificationDot",
|
|
1284
|
+
iconWrapper: "ResourceCardItem_module_iconWrapper"
|
|
1285
|
+
};
|
|
1286
|
+
var ResourceCardItem = ({ item, view, variant, renderLink }) => {
|
|
1283
1287
|
const hasHref = Boolean(item.href);
|
|
1284
|
-
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 }));
|
|
1285
1306
|
if (view === "grid") {
|
|
1286
|
-
return /* @__PURE__ */ jsxRuntime.
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
/* @__PURE__ */ jsxRuntime.jsx("
|
|
1291
|
-
|
|
1292
|
-
|
|
1293
|
-
|
|
1294
|
-
|
|
1295
|
-
|
|
1296
|
-
|
|
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
|
+
] })
|
|
1297
1321
|
] })
|
|
1298
|
-
] })
|
|
1322
|
+
] });
|
|
1299
1323
|
}
|
|
1300
1324
|
return /* @__PURE__ */ jsxRuntime.jsxs("article", { className: ResourceCardItem_module_default.cardList, children: [
|
|
1301
1325
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: ResourceCardItem_module_default.cardListLeft, children: [
|
|
1302
1326
|
item.hasNotification && /* @__PURE__ */ jsxRuntime.jsx("span", { className: ResourceCardItem_module_default.notificationDot, "aria-label": "New" }),
|
|
1303
1327
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: ResourceCardItem_module_default.cardDate, children: item.date })
|
|
1304
1328
|
] }),
|
|
1305
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
|
|
1329
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: ResourceCardItem_module_default.cardListHeader, children: [
|
|
1306
1330
|
/* @__PURE__ */ jsxRuntime.jsx(ConditionalWrapper, { condition: hasHref, wrapper: linkWrapper, children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: ResourceCardItem_module_default.cardListRight, children: [
|
|
1307
1331
|
/* @__PURE__ */ jsxRuntime.jsx(Icon, { type: item.type === "pdf" ? "pdf" : "externalLink", size: 33 }),
|
|
1308
1332
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: ResourceCardItem_module_default.cardTitle, children: item.title })
|
|
@@ -1345,7 +1369,7 @@ var Sidebar = ({
|
|
|
1345
1369
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1346
1370
|
"li",
|
|
1347
1371
|
{
|
|
1348
|
-
className:
|
|
1372
|
+
className: clsx16__default.default(Sidebar_module_default.sidebarItem, i === selectedIndex && Sidebar_module_default.active),
|
|
1349
1373
|
role: "button",
|
|
1350
1374
|
tabIndex: 0,
|
|
1351
1375
|
"aria-pressed": i === selectedIndex,
|
|
@@ -1402,7 +1426,7 @@ var UpcomingEventCard = ({
|
|
|
1402
1426
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1403
1427
|
"article",
|
|
1404
1428
|
{
|
|
1405
|
-
className:
|
|
1429
|
+
className: clsx16__default.default(
|
|
1406
1430
|
"card",
|
|
1407
1431
|
UpcomingEventCard_module_default["event-card"],
|
|
1408
1432
|
UpcomingEventCard_module_default[direction],
|
|
@@ -1410,26 +1434,26 @@ var UpcomingEventCard = ({
|
|
|
1410
1434
|
className
|
|
1411
1435
|
),
|
|
1412
1436
|
children: [
|
|
1413
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className:
|
|
1414
|
-
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"]) })),
|
|
1415
1439
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
1416
1440
|
"div",
|
|
1417
1441
|
{
|
|
1418
|
-
className:
|
|
1442
|
+
className: clsx16__default.default(
|
|
1419
1443
|
"card-text-content",
|
|
1420
1444
|
UpcomingEventCard_module_default["event-card-text-content"],
|
|
1421
1445
|
(!showImage || !hasImage) && UpcomingEventCard_module_default["event-card-show-image"]
|
|
1422
1446
|
),
|
|
1423
1447
|
children: [
|
|
1424
1448
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: UpcomingEventCard_module_default.date, children: date }),
|
|
1425
|
-
title && /* @__PURE__ */ jsxRuntime.jsx("h3", { className:
|
|
1449
|
+
title && /* @__PURE__ */ jsxRuntime.jsx("h3", { className: clsx16__default.default("card-text-title"), children: title }),
|
|
1426
1450
|
location && /* @__PURE__ */ jsxRuntime.jsx("span", { className: UpcomingEventCard_module_default.location, children: location }),
|
|
1427
|
-
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 }),
|
|
1428
1452
|
cta && cta.url && /* @__PURE__ */ jsxRuntime.jsx(
|
|
1429
1453
|
Button,
|
|
1430
1454
|
{
|
|
1431
1455
|
variant: "secondary",
|
|
1432
|
-
className:
|
|
1456
|
+
className: clsx16__default.default(
|
|
1433
1457
|
"card-cta",
|
|
1434
1458
|
UpcomingEventCard_module_default["event-card-cta"],
|
|
1435
1459
|
!hasCTAandImage && UpcomingEventCard_module_default.hidden
|
|
@@ -1448,12 +1472,12 @@ var UpcomingEventCard = ({
|
|
|
1448
1472
|
cta && cta.url && /* @__PURE__ */ jsxRuntime.jsx(
|
|
1449
1473
|
"div",
|
|
1450
1474
|
{
|
|
1451
|
-
className:
|
|
1475
|
+
className: clsx16__default.default("card-footer", UpcomingEventCard_module_default["event-card-footer"], hasImage && UpcomingEventCard_module_default.hidden),
|
|
1452
1476
|
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1453
1477
|
Button,
|
|
1454
1478
|
{
|
|
1455
1479
|
variant: "secondary",
|
|
1456
|
-
className:
|
|
1480
|
+
className: clsx16__default.default("card-cta", UpcomingEventCard_module_default["event-card-cta"]),
|
|
1457
1481
|
fullWidth: isBelowMobile,
|
|
1458
1482
|
href: cta.url,
|
|
1459
1483
|
icon: cta.icon,
|
|
@@ -1501,7 +1525,7 @@ var Badge = React66.forwardRef(
|
|
|
1501
1525
|
"live",
|
|
1502
1526
|
"clickable"
|
|
1503
1527
|
]);
|
|
1504
|
-
const classes =
|
|
1528
|
+
const classes = clsx16__default.default(
|
|
1505
1529
|
Badge_module_default.badge,
|
|
1506
1530
|
Badge_module_default[variant],
|
|
1507
1531
|
Badge_module_default[size],
|
|
@@ -1512,7 +1536,7 @@ var Badge = React66.forwardRef(
|
|
|
1512
1536
|
className
|
|
1513
1537
|
);
|
|
1514
1538
|
const content = /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
1515
|
-
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)),
|
|
1516
1540
|
!iconOnly && /* @__PURE__ */ jsxRuntime.jsx("span", { className: Badge_module_default.label, children })
|
|
1517
1541
|
] });
|
|
1518
1542
|
if (clickable) {
|
|
@@ -1593,7 +1617,7 @@ var Input = React66.forwardRef(
|
|
|
1593
1617
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1594
1618
|
"div",
|
|
1595
1619
|
{
|
|
1596
|
-
className:
|
|
1620
|
+
className: clsx16__default.default(
|
|
1597
1621
|
"input-field",
|
|
1598
1622
|
Input_module_default["input-field"],
|
|
1599
1623
|
{
|
|
@@ -1607,17 +1631,17 @@ var Input = React66.forwardRef(
|
|
|
1607
1631
|
"label",
|
|
1608
1632
|
{
|
|
1609
1633
|
htmlFor: inputId,
|
|
1610
|
-
className:
|
|
1634
|
+
className: clsx16__default.default("input-label", Input_module_default.label, {
|
|
1611
1635
|
["sr-only"]: hideLabel
|
|
1612
1636
|
}),
|
|
1613
1637
|
children: [
|
|
1614
1638
|
label,
|
|
1615
|
-
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: "*" })
|
|
1616
1640
|
]
|
|
1617
1641
|
}
|
|
1618
1642
|
),
|
|
1619
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className:
|
|
1620
|
-
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 }),
|
|
1621
1645
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1622
1646
|
"input",
|
|
1623
1647
|
__spreadValues({
|
|
@@ -1628,7 +1652,7 @@ var Input = React66.forwardRef(
|
|
|
1628
1652
|
disabled,
|
|
1629
1653
|
"aria-invalid": !!error,
|
|
1630
1654
|
"aria-describedby": describedBy || void 0,
|
|
1631
|
-
className:
|
|
1655
|
+
className: clsx16__default.default(
|
|
1632
1656
|
"input",
|
|
1633
1657
|
Input_module_default.input,
|
|
1634
1658
|
{
|
|
@@ -1639,11 +1663,11 @@ var Input = React66.forwardRef(
|
|
|
1639
1663
|
)
|
|
1640
1664
|
}, props)
|
|
1641
1665
|
),
|
|
1642
|
-
endAdornment && /* @__PURE__ */ jsxRuntime.jsx("span", { className:
|
|
1643
|
-
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 })
|
|
1644
1668
|
] }),
|
|
1645
|
-
helperText && !error && /* @__PURE__ */ jsxRuntime.jsx("p", { id: helperTextId, className:
|
|
1646
|
-
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 })
|
|
1647
1671
|
]
|
|
1648
1672
|
}
|
|
1649
1673
|
);
|
|
@@ -1683,14 +1707,14 @@ var NewsCard = ({
|
|
|
1683
1707
|
href: cta.url,
|
|
1684
1708
|
target: cta.isExternal ? "_blank" : void 0,
|
|
1685
1709
|
rel: cta.isExternal ? "noopener noreferrer" : void 0,
|
|
1686
|
-
className:
|
|
1710
|
+
className: clsx16__default.default("news-card-link", NewsCard_module_default["news-card-link"]),
|
|
1687
1711
|
"aria-label": `${title}${cta.label ? ` \u2014 ${cta.label}` : ""}`
|
|
1688
1712
|
} : null;
|
|
1689
1713
|
const cardLink = linkProps ? renderLink ? renderLink(__spreadProps(__spreadValues({}, linkProps), { children: null })) : /* @__PURE__ */ jsxRuntime.jsx("a", __spreadValues({}, linkProps)) : null;
|
|
1690
1714
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1691
1715
|
"article",
|
|
1692
1716
|
{
|
|
1693
|
-
className:
|
|
1717
|
+
className: clsx16__default.default(
|
|
1694
1718
|
"news-card",
|
|
1695
1719
|
NewsCard_module_default["news-card"],
|
|
1696
1720
|
NewsCard_module_default[`news-card--${direction}`],
|
|
@@ -1698,28 +1722,28 @@ var NewsCard = ({
|
|
|
1698
1722
|
),
|
|
1699
1723
|
children: [
|
|
1700
1724
|
cardLink,
|
|
1701
|
-
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"]) })),
|
|
1702
1726
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
1703
1727
|
"div",
|
|
1704
1728
|
{
|
|
1705
|
-
className:
|
|
1729
|
+
className: clsx16__default.default("news-card-content", NewsCard_module_default["news-card-content"]),
|
|
1706
1730
|
style: {
|
|
1707
1731
|
"--no-image-padding": image && image.src ? 0 : "1rem"
|
|
1708
1732
|
},
|
|
1709
1733
|
children: [
|
|
1710
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className:
|
|
1711
|
-
/* @__PURE__ */ jsxRuntime.jsx(Badge, { className:
|
|
1712
|
-
/* @__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 })
|
|
1713
1737
|
] }),
|
|
1714
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className:
|
|
1715
|
-
/* @__PURE__ */ jsxRuntime.jsx("h3", { className:
|
|
1716
|
-
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
|
|
1717
1741
|
] }),
|
|
1718
|
-
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(
|
|
1719
1743
|
Button,
|
|
1720
1744
|
{
|
|
1721
1745
|
variant: "secondary",
|
|
1722
|
-
className:
|
|
1746
|
+
className: clsx16__default.default("news-card-cta", NewsCard_module_default["news-card-cta"]),
|
|
1723
1747
|
href: cta.url,
|
|
1724
1748
|
icon: cta.icon,
|
|
1725
1749
|
isExternal: cta == null ? void 0 : cta.isExternal,
|
|
@@ -1750,7 +1774,7 @@ var BlogPostContent = ({ className, body, children }) => {
|
|
|
1750
1774
|
body: BlogPostContentBody
|
|
1751
1775
|
});
|
|
1752
1776
|
const bodyNode = (_a = slots.body) != null ? _a : body;
|
|
1753
|
-
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 });
|
|
1754
1778
|
};
|
|
1755
1779
|
|
|
1756
1780
|
// src/components/BlogPostContent/index.ts
|
|
@@ -1836,13 +1860,13 @@ var CardCollection = ({
|
|
|
1836
1860
|
Container,
|
|
1837
1861
|
{
|
|
1838
1862
|
ref: container,
|
|
1839
|
-
className:
|
|
1863
|
+
className: clsx16__default.default(CardCollection_module_default["card-collection"], CardCollection_module_default[variant], className),
|
|
1840
1864
|
children: [
|
|
1841
1865
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: CardCollection_module_default.content, children: [
|
|
1842
1866
|
titleNode && /* @__PURE__ */ jsxRuntime.jsx("h2", { children: titleNode }),
|
|
1843
1867
|
subtitleNode && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "subheading", children: subtitleNode })
|
|
1844
1868
|
] }),
|
|
1845
|
-
/* @__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: [
|
|
1846
1870
|
visibleCards.map((card, key) => /* @__PURE__ */ jsxRuntime.jsx(Card2, __spreadValues({ className: CardCollection_module_default.card, variant: theme }, card), key)),
|
|
1847
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(
|
|
1848
1872
|
Card2,
|
|
@@ -1943,7 +1967,7 @@ var ContactModule = ({
|
|
|
1943
1967
|
},
|
|
1944
1968
|
{ scope: containerRef, dependencies: [blurred, animateBlur] }
|
|
1945
1969
|
);
|
|
1946
|
-
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: [
|
|
1947
1971
|
blurred && /* @__PURE__ */ jsxRuntime.jsx(
|
|
1948
1972
|
"div",
|
|
1949
1973
|
{
|
|
@@ -1958,8 +1982,8 @@ var ContactModule = ({
|
|
|
1958
1982
|
/* @__PURE__ */ jsxRuntime.jsxs(Container, { className: ContactModule_module_default.container, children: [
|
|
1959
1983
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: ContactModule_module_default.wrapper, children: [
|
|
1960
1984
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: ContactModule_module_default.content, children: [
|
|
1961
|
-
titleNode && /* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
1962
|
-
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 })
|
|
1963
1987
|
] }),
|
|
1964
1988
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: ContactModule_module_default["cta-wrapper"], children: ctas == null ? void 0 : ctas.map((cta, key) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
1965
1989
|
Button,
|
|
@@ -2028,7 +2052,7 @@ var Footer = ({
|
|
|
2028
2052
|
disclaimer: FooterDisclaimer
|
|
2029
2053
|
});
|
|
2030
2054
|
const titleNode = (_a = slots.disclaimer) != null ? _a : disclaimer;
|
|
2031
|
-
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: [
|
|
2032
2056
|
supportContacts.length > 0 && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: Footer_module_default["support-section"], children: [
|
|
2033
2057
|
/* @__PURE__ */ jsxRuntime.jsx("p", { className: Footer_module_default["support-heading"], children: "SUPPORT" }),
|
|
2034
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: [
|
|
@@ -2057,7 +2081,7 @@ var Footer = ({
|
|
|
2057
2081
|
index
|
|
2058
2082
|
) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: Footer_module_default["supporter-link-primary"], children: /* @__PURE__ */ jsxRuntime.jsx(Picture, __spreadValues({}, supporter.image)) }, index)
|
|
2059
2083
|
) }) }),
|
|
2060
|
-
titleNode && /* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
2084
|
+
titleNode && /* @__PURE__ */ jsxRuntime.jsx("div", { className: clsx16__default.default(Footer_module_default.disclaimer, "p"), children: titleNode }),
|
|
2061
2085
|
copyright && /* @__PURE__ */ jsxRuntime.jsx("p", { className: Footer_module_default.copyright, children: copyright })
|
|
2062
2086
|
] }),
|
|
2063
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(
|
|
@@ -2083,7 +2107,7 @@ var LogoBar_module_default = {
|
|
|
2083
2107
|
};
|
|
2084
2108
|
var LogoBar = ({ className, items }) => {
|
|
2085
2109
|
if (!items || items.length === 0) return null;
|
|
2086
|
-
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) => {
|
|
2087
2111
|
return /* @__PURE__ */ jsxRuntime.jsx(Anchor, { href: item.url, isExternal: item.isExternal, children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: LogoBar_module_default.logoWrapper, children: [
|
|
2088
2112
|
item.logo && /* @__PURE__ */ jsxRuntime.jsx(Picture, __spreadValues({ className: LogoBar_module_default.logo }, item.logo)),
|
|
2089
2113
|
item.hoverLogo && /* @__PURE__ */ jsxRuntime.jsx(Picture, __spreadValues({ className: LogoBar_module_default.logoHover }, item.hoverLogo))
|
|
@@ -2155,7 +2179,7 @@ var HeroBanner = ({
|
|
|
2155
2179
|
});
|
|
2156
2180
|
const titleNode = (_a = slots.title) != null ? _a : title;
|
|
2157
2181
|
const subtitleNode = (_b = slots.subtitle) != null ? _b : subtitle;
|
|
2158
|
-
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: [
|
|
2159
2183
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: HeroBanner_module_default.container, children: [
|
|
2160
2184
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: HeroBanner_module_default.banner, children: [
|
|
2161
2185
|
(titleNode || subtitleNode) && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: HeroBanner_module_default.text, children: [
|
|
@@ -2165,7 +2189,7 @@ var HeroBanner = ({
|
|
|
2165
2189
|
{
|
|
2166
2190
|
tag: "h2",
|
|
2167
2191
|
promoteToH1,
|
|
2168
|
-
className:
|
|
2192
|
+
className: clsx16__default.default(HeroBanner_module_default.title, vBannerPodcast ? "h3" : "h1"),
|
|
2169
2193
|
children: titleNode
|
|
2170
2194
|
}
|
|
2171
2195
|
),
|
|
@@ -2174,7 +2198,7 @@ var HeroBanner = ({
|
|
|
2174
2198
|
{
|
|
2175
2199
|
tag: "div",
|
|
2176
2200
|
promoteToH1: promoteToH1 && !titleNode,
|
|
2177
|
-
className:
|
|
2201
|
+
className: clsx16__default.default(HeroBanner_module_default.subtitle, "subheading"),
|
|
2178
2202
|
children: subtitleNode
|
|
2179
2203
|
}
|
|
2180
2204
|
)
|
|
@@ -2251,7 +2275,7 @@ var HeroBannerCarousel = ({
|
|
|
2251
2275
|
const [swiperInstance, setSwiperInstance] = React66.useState(null);
|
|
2252
2276
|
const [activeIndex, setActiveIndex] = React66.useState(0);
|
|
2253
2277
|
if (!items.length) return null;
|
|
2254
|
-
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: [
|
|
2255
2279
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: HeroBannerCarousel_module_default.swiperContainer, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
2256
2280
|
react$1.Swiper,
|
|
2257
2281
|
{
|
|
@@ -2298,7 +2322,7 @@ var HeroBannerCarousel = ({
|
|
|
2298
2322
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: HeroBannerCarousel_module_default.pagination, children: items.map((_, index) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
2299
2323
|
"button",
|
|
2300
2324
|
{
|
|
2301
|
-
className:
|
|
2325
|
+
className: clsx16__default.default(HeroBannerCarousel_module_default.dot, index === activeIndex && HeroBannerCarousel_module_default.dotActive),
|
|
2302
2326
|
onClick: () => swiperInstance == null ? void 0 : swiperInstance.slideTo(index),
|
|
2303
2327
|
"aria-label": `Go to slide ${index + 1}`
|
|
2304
2328
|
},
|
|
@@ -2378,7 +2402,7 @@ var AccordionItem = ({
|
|
|
2378
2402
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
2379
2403
|
"div",
|
|
2380
2404
|
{
|
|
2381
|
-
className:
|
|
2405
|
+
className: clsx16__default.default(
|
|
2382
2406
|
Accordion_module_default.accordionItem,
|
|
2383
2407
|
{
|
|
2384
2408
|
[Accordion_module_default.accordionItemOpen]: isOpen
|
|
@@ -2389,18 +2413,18 @@ var AccordionItem = ({
|
|
|
2389
2413
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
2390
2414
|
"button",
|
|
2391
2415
|
{
|
|
2392
|
-
className:
|
|
2416
|
+
className: clsx16__default.default(Accordion_module_default.accordionHeader, {
|
|
2393
2417
|
[Accordion_module_default.accordionHeaderOpen]: isOpen
|
|
2394
2418
|
}),
|
|
2395
2419
|
onClick: handleToggle,
|
|
2396
2420
|
"aria-expanded": isOpen,
|
|
2397
2421
|
"aria-label": `Toggle ${title}`,
|
|
2398
2422
|
children: [
|
|
2399
|
-
/* @__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 }) }),
|
|
2400
2424
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
2401
2425
|
"span",
|
|
2402
2426
|
{
|
|
2403
|
-
className:
|
|
2427
|
+
className: clsx16__default.default(Accordion_module_default.accordionChevron, {
|
|
2404
2428
|
[Accordion_module_default.accordionChevronOpen]: isOpen
|
|
2405
2429
|
}),
|
|
2406
2430
|
children: isOpen ? /* @__PURE__ */ jsxRuntime.jsx(Icon, { type: "filledChevronUpBlack", size: 40 }) : /* @__PURE__ */ jsxRuntime.jsx(Icon, { type: "circleChevronDown", size: 40 })
|
|
@@ -2452,7 +2476,7 @@ var Accordion = ({
|
|
|
2452
2476
|
if (items.length === 0) {
|
|
2453
2477
|
return null;
|
|
2454
2478
|
}
|
|
2455
|
-
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(
|
|
2456
2480
|
AccordionItem,
|
|
2457
2481
|
{
|
|
2458
2482
|
id: item.id,
|
|
@@ -2542,7 +2566,7 @@ var InternalBrandsTab = (props) => {
|
|
|
2542
2566
|
};
|
|
2543
2567
|
})) || [];
|
|
2544
2568
|
}, [tabs]);
|
|
2545
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(Container, { className:
|
|
2569
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(Container, { className: clsx16__default.default(InternalBrandsTab_module_default.internalBrandsTab, className), children: [
|
|
2546
2570
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: InternalBrandsTab_module_default.textsContainer, children: [
|
|
2547
2571
|
title && /* @__PURE__ */ jsxRuntime.jsx(Text, { tag: "h2", className: InternalBrandsTab_module_default.title, children: title }),
|
|
2548
2572
|
subTitle && /* @__PURE__ */ jsxRuntime.jsx("div", { className: InternalBrandsTab_module_default.subTitle, children: subTitle })
|
|
@@ -2558,7 +2582,7 @@ var InternalBrandsTab = (props) => {
|
|
|
2558
2582
|
},
|
|
2559
2583
|
index
|
|
2560
2584
|
)) }),
|
|
2561
|
-
/* @__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: [
|
|
2562
2586
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: InternalBrandsTab_module_default.topContent, children: [
|
|
2563
2587
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
|
|
2564
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 }),
|
|
@@ -2655,22 +2679,22 @@ var MiniBanner = ({
|
|
|
2655
2679
|
const titleNode = (_b = slots.title) != null ? _b : title;
|
|
2656
2680
|
const subtitleNode = (_c = slots.subtitle) != null ? _c : subtitle;
|
|
2657
2681
|
const goBackNode = slots == null ? void 0 : slots.goBack;
|
|
2658
|
-
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: [
|
|
2659
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)),
|
|
2660
2684
|
/* @__PURE__ */ jsxRuntime.jsx(Container, { children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: MiniBanner_module_default.wrapper, children: [
|
|
2661
2685
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: MiniBanner_module_default.textContainer, children: [
|
|
2662
2686
|
(logo == null ? void 0 : logo.src) && /* @__PURE__ */ jsxRuntime.jsx(Picture, __spreadValues({ className: MiniBanner_module_default.logo }, logo)),
|
|
2663
|
-
pretitleNode && /* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
2687
|
+
pretitleNode && /* @__PURE__ */ jsxRuntime.jsx("div", { className: clsx16__default.default(MiniBanner_module_default.pretitle, "small"), children: pretitleNode }),
|
|
2664
2688
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: MiniBanner_module_default.headingWrapper, children: [
|
|
2665
2689
|
goBackNode ? React66__default.default.cloneElement(goBackNode, {
|
|
2666
|
-
className:
|
|
2690
|
+
className: clsx16__default.default("back-button", MiniBanner_module_default["back-button"])
|
|
2667
2691
|
}) : null,
|
|
2668
|
-
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 })
|
|
2669
2693
|
] }),
|
|
2670
2694
|
subtitleNode && /* @__PURE__ */ jsxRuntime.jsx(
|
|
2671
2695
|
"div",
|
|
2672
2696
|
{
|
|
2673
|
-
className:
|
|
2697
|
+
className: clsx16__default.default(MiniBanner_module_default.title, {
|
|
2674
2698
|
subheading: isMiniBannerNoBG || isMiniBannerTextLeft,
|
|
2675
2699
|
h1: !isMiniBannerNoBG && !isMiniBannerTextLeft
|
|
2676
2700
|
}),
|
|
@@ -2742,14 +2766,14 @@ var MiniSectionCta = ({
|
|
|
2742
2766
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
2743
2767
|
"div",
|
|
2744
2768
|
{
|
|
2745
|
-
className:
|
|
2769
|
+
className: clsx16__default.default(MiniSectionCta_module_default.miniSectionCta, MiniSectionCta_module_default[variant], theme && MiniSectionCta_module_default[theme], className),
|
|
2746
2770
|
children: /* @__PURE__ */ jsxRuntime.jsx(Container, { children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: MiniSectionCta_module_default.wrapper, children: [
|
|
2747
2771
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: MiniSectionCta_module_default.col, children: [
|
|
2748
2772
|
titleNode && /* @__PURE__ */ jsxRuntime.jsx("h2", { className: variant === "BgColorBlack" || variant === "BgColorGrey" ? "h3" : "h2", children: titleNode }),
|
|
2749
2773
|
subtitleNode && /* @__PURE__ */ jsxRuntime.jsx(
|
|
2750
2774
|
"div",
|
|
2751
2775
|
{
|
|
2752
|
-
className:
|
|
2776
|
+
className: clsx16__default.default(MiniSectionCta_module_default.subtitle, variant === "infoCallout" ? "h4" : "subheading"),
|
|
2753
2777
|
children: subtitleNode
|
|
2754
2778
|
}
|
|
2755
2779
|
)
|
|
@@ -2814,7 +2838,7 @@ var PracticePathCards = ({
|
|
|
2814
2838
|
const titleNode = (_a = slots.title) != null ? _a : title;
|
|
2815
2839
|
const subtitleNode = (_b = slots.subtitle) != null ? _b : subtitle;
|
|
2816
2840
|
const footerNode = (_c = slots.footer) != null ? _c : footer;
|
|
2817
|
-
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: [
|
|
2818
2842
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: PracticePathCards_module_default.wrapper, children: [
|
|
2819
2843
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: PracticePathCards_module_default.content, children: [
|
|
2820
2844
|
titleNode && /* @__PURE__ */ jsxRuntime.jsx("h2", { children: titleNode }),
|
|
@@ -2868,8 +2892,8 @@ var Teaser5050With3Text = ({
|
|
|
2868
2892
|
title: Teaser5050With3TextTitle
|
|
2869
2893
|
});
|
|
2870
2894
|
const titleNode = (_a = slots.title) != null ? _a : title;
|
|
2871
|
-
return /* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
2872
|
-
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 }),
|
|
2873
2897
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: Teaser5050With3Text_module_default.content, children: [
|
|
2874
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)) }),
|
|
2875
2899
|
image && /* @__PURE__ */ jsxRuntime.jsx(Picture, __spreadValues({ className: Teaser5050With3Text_module_default.image }, image))
|
|
@@ -2919,12 +2943,12 @@ var Teaser5050WithCta = ({
|
|
|
2919
2943
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
2920
2944
|
"div",
|
|
2921
2945
|
{
|
|
2922
|
-
className:
|
|
2946
|
+
className: clsx16__default.default(Teaser5050WithCta_module_default.teaser5050, Teaser5050WithCta_module_default[variant], className),
|
|
2923
2947
|
style: { backgroundColor: bgColor ? bgColor : "#ffffff" },
|
|
2924
2948
|
children: /* @__PURE__ */ jsxRuntime.jsxs(Container, { className: Teaser5050WithCta_module_default.container, children: [
|
|
2925
2949
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: Teaser5050WithCta_module_default.wrapper, children: [
|
|
2926
2950
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: Teaser5050WithCta_module_default.content, children: [
|
|
2927
|
-
titleNode && /* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
2951
|
+
titleNode && /* @__PURE__ */ jsxRuntime.jsx("div", { className: clsx16__default.default(Teaser5050WithCta_module_default.title, "h3"), children: titleNode }),
|
|
2928
2952
|
subtitleNode && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "subheading", children: subtitleNode })
|
|
2929
2953
|
] }),
|
|
2930
2954
|
(ctas == null ? void 0 : ctas.length) && /* @__PURE__ */ jsxRuntime.jsx("div", { className: Teaser5050WithCta_module_default.ctaWrapper, children: ctas.map((cta, key) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -2976,7 +3000,7 @@ var Carousel = (_a) => {
|
|
|
2976
3000
|
},
|
|
2977
3001
|
role: "region",
|
|
2978
3002
|
"aria-label": ariaLabel,
|
|
2979
|
-
className:
|
|
3003
|
+
className: clsx16__default.default(Carousel_module_default.carousel, className),
|
|
2980
3004
|
spaceBetween: 0,
|
|
2981
3005
|
slidesPerView: "auto",
|
|
2982
3006
|
modules: [modules.FreeMode, modules.A11y],
|
|
@@ -2986,7 +3010,7 @@ var Carousel = (_a) => {
|
|
|
2986
3010
|
children: slides.map((slide, index) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
2987
3011
|
react$1.SwiperSlide,
|
|
2988
3012
|
{
|
|
2989
|
-
className:
|
|
3013
|
+
className: clsx16__default.default(Carousel_module_default["carousel-item"], props.slideClass),
|
|
2990
3014
|
children: slide
|
|
2991
3015
|
},
|
|
2992
3016
|
index
|
|
@@ -3036,13 +3060,13 @@ var EventList = ({
|
|
|
3036
3060
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
3037
3061
|
"div",
|
|
3038
3062
|
{
|
|
3039
|
-
className:
|
|
3063
|
+
className: clsx16__default.default("event-list-module", EventList_module_default["event-list-module"], className),
|
|
3040
3064
|
style: {
|
|
3041
3065
|
backgroundColor
|
|
3042
3066
|
},
|
|
3043
|
-
children: /* @__PURE__ */ jsxRuntime.jsxs(Container, { className:
|
|
3067
|
+
children: /* @__PURE__ */ jsxRuntime.jsxs(Container, { className: clsx16__default.default(EventList_module_default["event-list-container"]), children: [
|
|
3044
3068
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: EventList_module_default["event-list-header-container"], children: [
|
|
3045
|
-
titleNode && /* @__PURE__ */ jsxRuntime.jsx("h2", { className:
|
|
3069
|
+
titleNode && /* @__PURE__ */ jsxRuntime.jsx("h2", { className: clsx16__default.default(EventList_module_default["event-list-title"]), children: titleNode }),
|
|
3046
3070
|
cta && cta.url && /* @__PURE__ */ jsxRuntime.jsx(
|
|
3047
3071
|
Button,
|
|
3048
3072
|
{
|
|
@@ -3059,7 +3083,7 @@ var EventList = ({
|
|
|
3059
3083
|
Carousel,
|
|
3060
3084
|
{
|
|
3061
3085
|
"aria-label": "Upcoming events",
|
|
3062
|
-
wrapperClass:
|
|
3086
|
+
wrapperClass: clsx16__default.default(EventList_module_default["carousel-wrapper"], EventList_module_default[variant]),
|
|
3063
3087
|
slideClass: EventList_module_default["carousel-list-item"],
|
|
3064
3088
|
spaceBetween: 16,
|
|
3065
3089
|
slides: items.map((item) => {
|
|
@@ -3067,7 +3091,7 @@ var EventList = ({
|
|
|
3067
3091
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
3068
3092
|
UpcomingEventCard,
|
|
3069
3093
|
__spreadValues({
|
|
3070
|
-
className:
|
|
3094
|
+
className: clsx16__default.default(EventList_module_default["event-card"]),
|
|
3071
3095
|
direction: "vertical",
|
|
3072
3096
|
showImage: false
|
|
3073
3097
|
}, item),
|
|
@@ -3080,17 +3104,17 @@ var EventList = ({
|
|
|
3080
3104
|
"ul",
|
|
3081
3105
|
{
|
|
3082
3106
|
"aria-label": "Upcoming events",
|
|
3083
|
-
className:
|
|
3107
|
+
className: clsx16__default.default(EventList_module_default["event-list-wrapper"], EventList_module_default["horizontal"], EventList_module_default[variant]),
|
|
3084
3108
|
children: items == null ? void 0 : items.map((item, index) => {
|
|
3085
3109
|
var _a2, _b, _c;
|
|
3086
3110
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
3087
3111
|
"li",
|
|
3088
3112
|
{
|
|
3089
|
-
className:
|
|
3113
|
+
className: clsx16__default.default(EventList_module_default["card-list-item"]),
|
|
3090
3114
|
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
3091
3115
|
UpcomingEventCard,
|
|
3092
3116
|
__spreadProps(__spreadValues({}, item), {
|
|
3093
|
-
className:
|
|
3117
|
+
className: clsx16__default.default(EventList_module_default["card-item"]),
|
|
3094
3118
|
showImage: false,
|
|
3095
3119
|
direction: "vertical"
|
|
3096
3120
|
})
|
|
@@ -3105,7 +3129,7 @@ var EventList = ({
|
|
|
3105
3129
|
"ul",
|
|
3106
3130
|
{
|
|
3107
3131
|
"aria-label": "Upcoming events",
|
|
3108
|
-
className:
|
|
3132
|
+
className: clsx16__default.default(EventList_module_default["event-list-wrapper"], EventList_module_default[listDirection]),
|
|
3109
3133
|
children: items == null ? void 0 : items.map((item, index) => {
|
|
3110
3134
|
var _a2, _b, _c;
|
|
3111
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);
|
|
@@ -3153,9 +3177,9 @@ var TextEvent = (props) => {
|
|
|
3153
3177
|
});
|
|
3154
3178
|
const titleNode = (_a = slots.title) != null ? _a : title;
|
|
3155
3179
|
const richTextNode = (_b = slots.richText) != null ? _b : richText;
|
|
3156
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(Container, { className:
|
|
3180
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(Container, { className: clsx16__default.default(TextEvent_module_default.textEvent, className), children: [
|
|
3157
3181
|
/* @__PURE__ */ jsxRuntime.jsx(Text, { tag: "h2", className: TextEvent_module_default.title, children: titleNode }),
|
|
3158
|
-
/* @__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 })
|
|
3159
3183
|
] });
|
|
3160
3184
|
};
|
|
3161
3185
|
|
|
@@ -3186,7 +3210,7 @@ var TextBody = (props) => {
|
|
|
3186
3210
|
});
|
|
3187
3211
|
const titleNode = (_a = slots.title) != null ? _a : title;
|
|
3188
3212
|
const bodyNode = (_b = slots.body) != null ? _b : body;
|
|
3189
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(Container, { className:
|
|
3213
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(Container, { className: clsx16__default.default(TextBody_module_default.textBody, className), children: [
|
|
3190
3214
|
titleNode && /* @__PURE__ */ jsxRuntime.jsx(Text, { tag: "h2", className: TextBody_module_default.title, children: titleNode }),
|
|
3191
3215
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: TextBody_module_default.body, children: bodyNode })
|
|
3192
3216
|
] });
|
|
@@ -3229,7 +3253,7 @@ var TextCenterCtaInBottom = ({
|
|
|
3229
3253
|
});
|
|
3230
3254
|
const titleNode = (_a = slots.title) != null ? _a : title;
|
|
3231
3255
|
const subtitleNode = (_b = slots.subtitle) != null ? _b : subtitle;
|
|
3232
|
-
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: [
|
|
3233
3257
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: TextCenterCtaInBottom_module_default.content, children: [
|
|
3234
3258
|
titleNode && /* @__PURE__ */ jsxRuntime.jsx("div", { className: TextCenterCtaInBottom_module_default.title, children: titleNode }),
|
|
3235
3259
|
subtitleNode && /* @__PURE__ */ jsxRuntime.jsx("div", { className: TextCenterCtaInBottom_module_default.subtitle, children: subtitleNode })
|
|
@@ -3237,7 +3261,7 @@ var TextCenterCtaInBottom = ({
|
|
|
3237
3261
|
!!(ctas == null ? void 0 : ctas.length) && /* @__PURE__ */ jsxRuntime.jsx(
|
|
3238
3262
|
"div",
|
|
3239
3263
|
{
|
|
3240
|
-
className:
|
|
3264
|
+
className: clsx16__default.default(
|
|
3241
3265
|
TextCenterCtaInBottom_module_default.ctaWrapper,
|
|
3242
3266
|
ctas.every((cta) => !cta.label && cta.logo) && TextCenterCtaInBottom_module_default.iconOnly
|
|
3243
3267
|
),
|
|
@@ -3349,7 +3373,7 @@ var ResourcesGridList = ({
|
|
|
3349
3373
|
const safeCurrentPage = Math.min(currentPage, totalPages);
|
|
3350
3374
|
const pageStart = (safeCurrentPage - 1) * ITEMS_PER_PAGE;
|
|
3351
3375
|
const paginatedItems = displayedItems.slice(pageStart, pageStart + ITEMS_PER_PAGE);
|
|
3352
|
-
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: [
|
|
3353
3377
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3354
3378
|
FilterBar,
|
|
3355
3379
|
{
|
|
@@ -3368,7 +3392,7 @@ var ResourcesGridList = ({
|
|
|
3368
3392
|
isMobile && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
3369
3393
|
"div",
|
|
3370
3394
|
{
|
|
3371
|
-
className:
|
|
3395
|
+
className: clsx16__default.default(
|
|
3372
3396
|
ResourcesGridList_module_default.mobileSidebarOverlay,
|
|
3373
3397
|
isSidebarOpen && ResourcesGridList_module_default.mobileSidebarOverlayOpen
|
|
3374
3398
|
),
|
|
@@ -3379,7 +3403,7 @@ var ResourcesGridList = ({
|
|
|
3379
3403
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
3380
3404
|
"li",
|
|
3381
3405
|
{
|
|
3382
|
-
className:
|
|
3406
|
+
className: clsx16__default.default(
|
|
3383
3407
|
ResourcesGridList_module_default.mobileSidebarItem,
|
|
3384
3408
|
i === selectedCategory && ResourcesGridList_module_default.active
|
|
3385
3409
|
),
|
|
@@ -3424,7 +3448,7 @@ var ResourcesGridList = ({
|
|
|
3424
3448
|
onSelect: handleSelectCategory
|
|
3425
3449
|
}
|
|
3426
3450
|
),
|
|
3427
|
-
/* @__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)) })
|
|
3428
3452
|
] }),
|
|
3429
3453
|
totalPages > 1 && /* @__PURE__ */ jsxRuntime.jsx(
|
|
3430
3454
|
Pagination,
|
|
@@ -3457,7 +3481,7 @@ var Grid = ({
|
|
|
3457
3481
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
3458
3482
|
Component,
|
|
3459
3483
|
{
|
|
3460
|
-
className:
|
|
3484
|
+
className: clsx16__default.default("grid", Grid_module_default.grid, className),
|
|
3461
3485
|
role,
|
|
3462
3486
|
"aria-label": ariaLabel,
|
|
3463
3487
|
"aria-labelledby": ariaLabelledBy,
|
|
@@ -3482,7 +3506,7 @@ var GridItem = ({
|
|
|
3482
3506
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
3483
3507
|
Component,
|
|
3484
3508
|
{
|
|
3485
|
-
className:
|
|
3509
|
+
className: clsx16__default.default("grid-item", Grid_module_default["grid-item"], className),
|
|
3486
3510
|
role,
|
|
3487
3511
|
"aria-label": ariaLabel,
|
|
3488
3512
|
"aria-labelledby": ariaLabelledBy,
|
|
@@ -3530,13 +3554,13 @@ var BlogCardGrid = ({
|
|
|
3530
3554
|
title: BlogCardGridTitle
|
|
3531
3555
|
});
|
|
3532
3556
|
const titleNode = (_a = slots.title) != null ? _a : title;
|
|
3533
|
-
const content = /* @__PURE__ */ jsxRuntime.jsxs("div", { className:
|
|
3534
|
-
title && /* @__PURE__ */ jsxRuntime.jsxs("div", { className:
|
|
3535
|
-
titleNode && typeof titleNode === "string" ? /* @__PURE__ */ jsxRuntime.jsx(Text, { tag: "h4", className:
|
|
3536
|
-
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(
|
|
3537
3561
|
Button,
|
|
3538
3562
|
{
|
|
3539
|
-
className:
|
|
3563
|
+
className: clsx16__default.default("cta", BlogCardGrid_module_default["cta"]),
|
|
3540
3564
|
variant: "nofillblack",
|
|
3541
3565
|
href: cta.url,
|
|
3542
3566
|
isExternal: cta == null ? void 0 : cta.isExternal,
|
|
@@ -3562,11 +3586,11 @@ var BlogCardGrid = ({
|
|
|
3562
3586
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
3563
3587
|
"div",
|
|
3564
3588
|
{
|
|
3565
|
-
className:
|
|
3589
|
+
className: clsx16__default.default("blog-card-grid", BlogCardGrid_module_default["blog-card-grid"], className),
|
|
3566
3590
|
style: {
|
|
3567
3591
|
backgroundColor
|
|
3568
3592
|
},
|
|
3569
|
-
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
|
|
3570
3594
|
}
|
|
3571
3595
|
);
|
|
3572
3596
|
};
|
|
@@ -3613,13 +3637,13 @@ var FeaturedNewsHighlights = ({
|
|
|
3613
3637
|
const sideCards = items.slice(1);
|
|
3614
3638
|
const isVariantHome = variant === "home";
|
|
3615
3639
|
const isBelowTablet = is("tablet", "below");
|
|
3616
|
-
const content = /* @__PURE__ */ jsxRuntime.jsxs("div", { className:
|
|
3617
|
-
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: [
|
|
3618
3642
|
titleNode && typeof titleNode === "string" ? /* @__PURE__ */ jsxRuntime.jsx(Text, { tag: "h2", children: titleNode }) : titleNode,
|
|
3619
|
-
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(
|
|
3620
3644
|
Button,
|
|
3621
3645
|
{
|
|
3622
|
-
className:
|
|
3646
|
+
className: clsx16__default.default("cta", FeaturedNewsHighlights_module_default["cta"]),
|
|
3623
3647
|
variant: "nofillblack",
|
|
3624
3648
|
href: cta.url,
|
|
3625
3649
|
isExternal: cta == null ? void 0 : cta.isExternal,
|
|
@@ -3631,9 +3655,9 @@ var FeaturedNewsHighlights = ({
|
|
|
3631
3655
|
isVariantHome && isBelowTablet && /* @__PURE__ */ jsxRuntime.jsx(
|
|
3632
3656
|
Carousel,
|
|
3633
3657
|
{
|
|
3634
|
-
className:
|
|
3658
|
+
className: clsx16__default.default("carousel", FeaturedNewsHighlights_module_default["carousel"]),
|
|
3635
3659
|
"aria-label": "featured news",
|
|
3636
|
-
wrapperClass:
|
|
3660
|
+
wrapperClass: clsx16__default.default(FeaturedNewsHighlights_module_default["carousel-wrapper"]),
|
|
3637
3661
|
slideClass: FeaturedNewsHighlights_module_default["carousel-list-item"],
|
|
3638
3662
|
spaceBetween: 16,
|
|
3639
3663
|
slides: items.map((item, index) => {
|
|
@@ -3642,22 +3666,22 @@ var FeaturedNewsHighlights = ({
|
|
|
3642
3666
|
NewsCard,
|
|
3643
3667
|
__spreadProps(__spreadValues({}, item), {
|
|
3644
3668
|
direction: "vertical",
|
|
3645
|
-
className:
|
|
3669
|
+
className: clsx16__default.default("carousel-news-card", FeaturedNewsHighlights_module_default["carousel-news-card"])
|
|
3646
3670
|
}),
|
|
3647
3671
|
(_a2 = item == null ? void 0 : item.title) != null ? _a2 : index
|
|
3648
3672
|
);
|
|
3649
3673
|
})
|
|
3650
3674
|
}
|
|
3651
3675
|
),
|
|
3652
|
-
(!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: [
|
|
3653
3677
|
featuredCard && /* @__PURE__ */ jsxRuntime.jsx(
|
|
3654
3678
|
NewsCard,
|
|
3655
3679
|
__spreadProps(__spreadValues({}, featuredCard), {
|
|
3656
|
-
className:
|
|
3680
|
+
className: clsx16__default.default("featured-card", FeaturedNewsHighlights_module_default["featured-card"]),
|
|
3657
3681
|
renderLink
|
|
3658
3682
|
})
|
|
3659
3683
|
),
|
|
3660
|
-
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) => {
|
|
3661
3685
|
var _a2;
|
|
3662
3686
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
3663
3687
|
NewsCard,
|
|
@@ -3673,11 +3697,11 @@ var FeaturedNewsHighlights = ({
|
|
|
3673
3697
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
3674
3698
|
"div",
|
|
3675
3699
|
{
|
|
3676
|
-
className:
|
|
3700
|
+
className: clsx16__default.default("featured-news-higlights", FeaturedNewsHighlights_module_default["featured-news-higlights"], className),
|
|
3677
3701
|
style: {
|
|
3678
3702
|
backgroundColor
|
|
3679
3703
|
},
|
|
3680
|
-
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
|
|
3681
3705
|
}
|
|
3682
3706
|
);
|
|
3683
3707
|
};
|
|
@@ -3721,23 +3745,23 @@ var NewsCardList = ({
|
|
|
3721
3745
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
3722
3746
|
"div",
|
|
3723
3747
|
{
|
|
3724
|
-
className:
|
|
3748
|
+
className: clsx16__default.default("news-card-list", NewsCardList_module_default["news-card-list"], className),
|
|
3725
3749
|
style: {
|
|
3726
3750
|
backgroundColor
|
|
3727
3751
|
},
|
|
3728
|
-
children: /* @__PURE__ */ jsxRuntime.jsxs(Container, { className:
|
|
3729
|
-
/* @__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: [
|
|
3730
3754
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3731
3755
|
Input,
|
|
3732
3756
|
__spreadValues({
|
|
3733
|
-
className:
|
|
3757
|
+
className: clsx16__default.default("search-input", NewsCardList_module_default["search-input"]),
|
|
3734
3758
|
startAdornment: /* @__PURE__ */ jsxRuntime.jsx(Icon, { type: "search" }),
|
|
3735
3759
|
placeholder: "Search News",
|
|
3736
3760
|
endAction: searchValue ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
3737
3761
|
Button,
|
|
3738
3762
|
{
|
|
3739
3763
|
variant: "nofillblack",
|
|
3740
|
-
className:
|
|
3764
|
+
className: clsx16__default.default(NewsCardList_module_default["end-action-button"]),
|
|
3741
3765
|
"aria-label": "Search",
|
|
3742
3766
|
onClick: onSearchSubmit ? () => onSearchSubmit(searchValue || "") : void 0,
|
|
3743
3767
|
children: /* @__PURE__ */ jsxRuntime.jsx(Icon, { type: "rightBlack" })
|
|
@@ -3749,7 +3773,7 @@ var NewsCardList = ({
|
|
|
3749
3773
|
} : void 0
|
|
3750
3774
|
}, searchInputProps)
|
|
3751
3775
|
),
|
|
3752
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className:
|
|
3776
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: clsx16__default.default("card-wrapper", NewsCardList_module_default["card-wrapper"]), children: [
|
|
3753
3777
|
currentPage === 1 && /* @__PURE__ */ jsxRuntime.jsx(
|
|
3754
3778
|
FeaturedNewsHighlights2,
|
|
3755
3779
|
{
|
|
@@ -3763,7 +3787,7 @@ var NewsCardList = ({
|
|
|
3763
3787
|
] })
|
|
3764
3788
|
] }),
|
|
3765
3789
|
paginationNode ? React66__default.default.cloneElement(paginationNode, {
|
|
3766
|
-
className:
|
|
3790
|
+
className: clsx16__default.default("pagination", NewsCardList_module_default["pagination"])
|
|
3767
3791
|
}) : null
|
|
3768
3792
|
] })
|
|
3769
3793
|
}
|
|
@@ -3808,15 +3832,15 @@ var BlogPost = ({
|
|
|
3808
3832
|
});
|
|
3809
3833
|
const titleNode = (_a = slots.title) != null ? _a : title;
|
|
3810
3834
|
const bodyNode = (_b = slots.body) != null ? _b : body;
|
|
3811
|
-
return /* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
3812
|
-
/* @__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: [
|
|
3813
3837
|
titleNode && typeof titleNode === "string" ? /* @__PURE__ */ jsxRuntime.jsx(Text, { tag: "h1", children: titleNode }) : titleNode,
|
|
3814
|
-
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"]) }))
|
|
3815
3839
|
] }),
|
|
3816
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className:
|
|
3817
|
-
/* @__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: [
|
|
3818
3842
|
/* @__PURE__ */ jsxRuntime.jsx(Badge, { size: "sm", children: tag }),
|
|
3819
|
-
/* @__PURE__ */ jsxRuntime.jsxs("span", { className:
|
|
3843
|
+
/* @__PURE__ */ jsxRuntime.jsxs("span", { className: clsx16__default.default("content-date", BlogPost_module_default["content-date"]), children: [
|
|
3820
3844
|
"Published ",
|
|
3821
3845
|
/* @__PURE__ */ jsxRuntime.jsx("time", { dateTime: date.value, children: date.label })
|
|
3822
3846
|
] })
|
|
@@ -3829,7 +3853,7 @@ var BlogPost = ({
|
|
|
3829
3853
|
title: "More News",
|
|
3830
3854
|
items: relatedArticles,
|
|
3831
3855
|
hasContainer: false,
|
|
3832
|
-
className:
|
|
3856
|
+
className: clsx16__default.default("related-articles", BlogPost_module_default["related-articles"])
|
|
3833
3857
|
}
|
|
3834
3858
|
)
|
|
3835
3859
|
] }) });
|
|
@@ -3877,22 +3901,22 @@ var BlogSearchResultsList = ({
|
|
|
3877
3901
|
});
|
|
3878
3902
|
const searchNode = (_a = slots.search) != null ? _a : searchResult;
|
|
3879
3903
|
const paginationNode = slots.pagination;
|
|
3880
|
-
return /* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
3881
|
-
typeof searchNode === "string" ? /* @__PURE__ */ jsxRuntime.jsx("span", { className:
|
|
3882
|
-
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"])
|
|
3883
3907
|
}) : null,
|
|
3884
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className:
|
|
3908
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: clsx16__default.default("wrapper", BlogSearchResultsList_module_default["wrapper"]), children: [
|
|
3885
3909
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3886
3910
|
Input,
|
|
3887
3911
|
__spreadValues({
|
|
3888
|
-
className:
|
|
3912
|
+
className: clsx16__default.default("search-input", BlogSearchResultsList_module_default["search-input"]),
|
|
3889
3913
|
startAdornment: /* @__PURE__ */ jsxRuntime.jsx(Icon, { type: "search" }),
|
|
3890
3914
|
placeholder: "Search News",
|
|
3891
3915
|
endAction: searchValue ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
3892
3916
|
Button,
|
|
3893
3917
|
{
|
|
3894
3918
|
variant: "nofillblack",
|
|
3895
|
-
className:
|
|
3919
|
+
className: clsx16__default.default(BlogSearchResultsList_module_default["end-action-button"]),
|
|
3896
3920
|
"aria-label": "Search",
|
|
3897
3921
|
onClick: () => onSearchSubmit(searchValue),
|
|
3898
3922
|
children: /* @__PURE__ */ jsxRuntime.jsx(Icon, { type: "rightBlack" })
|
|
@@ -3907,7 +3931,7 @@ var BlogSearchResultsList = ({
|
|
|
3907
3931
|
/* @__PURE__ */ jsxRuntime.jsx(BlogCardGrid2, { items, hasContainer: false, renderLink })
|
|
3908
3932
|
] }),
|
|
3909
3933
|
paginationNode ? React66__default.default.cloneElement(paginationNode, {
|
|
3910
|
-
className:
|
|
3934
|
+
className: clsx16__default.default("pagination", BlogSearchResultsList_module_default["pagination"])
|
|
3911
3935
|
}) : null
|
|
3912
3936
|
] }) });
|
|
3913
3937
|
};
|
|
@@ -3917,6 +3941,64 @@ var BlogSearchResultsList2 = Object.assign(BlogSearchResultsList, {
|
|
|
3917
3941
|
Search: BlogSearchResultsListSearch,
|
|
3918
3942
|
Pagination: BlogSearchResultsListPagination
|
|
3919
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
|
+
});
|
|
3920
4002
|
function useIntersectionObserver({
|
|
3921
4003
|
animateOnce = false,
|
|
3922
4004
|
options = {}
|
|
@@ -3964,6 +4046,7 @@ exports.EventList = EventList2;
|
|
|
3964
4046
|
exports.FeaturedNewsHighlights = FeaturedNewsHighlights2;
|
|
3965
4047
|
exports.FilterBar = FilterBar;
|
|
3966
4048
|
exports.Footer = Footer;
|
|
4049
|
+
exports.GlobalSearchResultsList = GlobalSearchResultsList2;
|
|
3967
4050
|
exports.HeroBanner = HeroBanner2;
|
|
3968
4051
|
exports.HeroBannerCarousel = HeroBannerCarousel;
|
|
3969
4052
|
exports.Icon = Icon;
|