@deriv-web-design/ui 0.0.22 → 0.0.25

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.mjs CHANGED
@@ -150,11 +150,6 @@ var Tag = ({
150
150
 
151
151
  // primitives/Accordion/Accordion.tsx
152
152
  import { useState } from "react";
153
-
154
- // primitives/Accordion/Accordion.module.css
155
- var Accordion_default = {};
156
-
157
- // primitives/Accordion/Accordion.tsx
158
153
  import { jsx as jsx5, jsxs as jsxs5 } from "react/jsx-runtime";
159
154
  var ChevronIcon2 = () => /* @__PURE__ */ jsx5("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", "aria-hidden": "true", children: /* @__PURE__ */ jsx5("path", { d: "M4 6l4 4 4-4", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }) });
160
155
  var Accordion = ({
@@ -176,7 +171,7 @@ var Accordion = ({
176
171
  if (!isControlled) setInternalOpen(next);
177
172
  onToggle?.(next);
178
173
  };
179
- const classNames = [Accordion_default.accordion, className ?? ""].filter(Boolean).join(" ");
174
+ const classNames = ["accordion", className ?? ""].filter(Boolean).join(" ");
180
175
  return /* @__PURE__ */ jsxs5(
181
176
  "div",
182
177
  {
@@ -189,17 +184,17 @@ var Accordion = ({
189
184
  /* @__PURE__ */ jsxs5(
190
185
  "button",
191
186
  {
192
- className: Accordion_default.header,
187
+ className: "accordion__header",
193
188
  onClick: handleToggle,
194
189
  "aria-expanded": isOpen,
195
190
  children: [
196
- /* @__PURE__ */ jsx5("span", { className: Accordion_default.titleWrapper, children: /* @__PURE__ */ jsx5("span", { className: Accordion_default.title, children: title }) }),
197
- /* @__PURE__ */ jsx5("span", { className: [Accordion_default.chevron, isOpen ? Accordion_default.chevronRotated : ""].filter(Boolean).join(" "), children: /* @__PURE__ */ jsx5(ChevronIcon2, {}) }),
198
- showFocusRing && /* @__PURE__ */ jsx5("span", { className: Accordion_default.focusRing, "aria-hidden": "true" })
191
+ /* @__PURE__ */ jsx5("span", { className: "accordion__title-wrapper", children: /* @__PURE__ */ jsx5("span", { className: "accordion__title", children: title }) }),
192
+ /* @__PURE__ */ jsx5("span", { className: ["accordion__chevron", isOpen ? "accordion__chevron--rotated" : ""].filter(Boolean).join(" "), children: /* @__PURE__ */ jsx5(ChevronIcon2, {}) }),
193
+ showFocusRing && /* @__PURE__ */ jsx5("span", { className: "accordion__focus-ring", "aria-hidden": "true" })
199
194
  ]
200
195
  }
201
196
  ),
202
- /* @__PURE__ */ jsx5("div", { className: [Accordion_default.bodyWrapper, isOpen ? Accordion_default.bodyWrapperOpen : ""].filter(Boolean).join(" "), children: /* @__PURE__ */ jsx5("div", { className: Accordion_default.bodyInner, children: /* @__PURE__ */ jsx5("div", { className: Accordion_default.body, children }) }) })
197
+ /* @__PURE__ */ jsx5("div", { className: ["accordion__body-wrapper", isOpen ? "accordion__body-wrapper--open" : ""].filter(Boolean).join(" "), children: /* @__PURE__ */ jsx5("div", { className: "accordion__body-inner", children: /* @__PURE__ */ jsx5("div", { className: "accordion__body", children }) }) })
203
198
  ]
204
199
  }
205
200
  );
@@ -1031,22 +1026,26 @@ var Tabs = ({
1031
1026
  );
1032
1027
  };
1033
1028
 
1034
- // templates/FaqAccordion/FaqAccordion.module.css
1035
- var FaqAccordion_default = {};
1036
-
1037
1029
  // templates/FaqAccordion/FaqAccordion.tsx
1030
+ import { useState as useState5 } from "react";
1038
1031
  import { jsx as jsx17, jsxs as jsxs15 } from "react/jsx-runtime";
1039
1032
  var FaqAccordion = ({
1040
1033
  title,
1041
1034
  items,
1042
1035
  colorScheme = "white"
1043
1036
  }) => {
1044
- return /* @__PURE__ */ jsx17("section", { className: [FaqAccordion_default.section, FaqAccordion_default[`section--${colorScheme}`]].join(" "), children: /* @__PURE__ */ jsxs15("div", { className: FaqAccordion_default.container, children: [
1045
- /* @__PURE__ */ jsx17("div", { className: FaqAccordion_default.header, children: /* @__PURE__ */ jsx17("h2", { className: FaqAccordion_default.title, children: title }) }),
1046
- /* @__PURE__ */ jsx17("div", { className: FaqAccordion_default.list, children: items.map((item, index) => /* @__PURE__ */ jsx17(
1037
+ const [openIndex, setOpenIndex] = useState5(null);
1038
+ const handleToggle = (index) => (isOpen) => {
1039
+ setOpenIndex(isOpen ? index : null);
1040
+ };
1041
+ return /* @__PURE__ */ jsx17("section", { className: ["faq-accordion", `faq-accordion--${colorScheme}`].join(" "), children: /* @__PURE__ */ jsxs15("div", { className: "faq-accordion__container", children: [
1042
+ /* @__PURE__ */ jsx17("div", { className: "faq-accordion__header", children: /* @__PURE__ */ jsx17("h2", { className: "faq-accordion__title", children: title }) }),
1043
+ /* @__PURE__ */ jsx17("div", { className: "faq-accordion__list", children: items.map((item, index) => /* @__PURE__ */ jsx17(
1047
1044
  Accordion,
1048
1045
  {
1049
1046
  title: item.question,
1047
+ open: openIndex === index,
1048
+ onToggle: handleToggle(index),
1050
1049
  showTopDivider: index === 0,
1051
1050
  showBottomDivider: true,
1052
1051
  children: item.answer
@@ -1273,12 +1272,9 @@ var FeatureCardsIcon = ({
1273
1272
  ] }) });
1274
1273
  };
1275
1274
 
1276
- // templates/FeatureBullets/FeatureBullets.module.css
1277
- var FeatureBullets_default = {};
1278
-
1279
1275
  // templates/FeatureBullets/FeatureBullets.tsx
1280
1276
  import { jsx as jsx20, jsxs as jsxs18 } from "react/jsx-runtime";
1281
- var CheckIcon2 = () => /* @__PURE__ */ jsx20("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", "aria-hidden": "true", className: FeatureBullets_default.icon, children: /* @__PURE__ */ jsx20("path", { d: "M12 4.375C9.07031 4.375 6.41406 5.9375 4.92969 8.4375C3.48438 10.9766 3.48438 14.0625 4.92969 16.5625C6.41406 19.1016 9.07031 20.625 12 20.625C14.8906 20.625 17.5469 19.1016 19.0312 16.5625C20.4766 14.0625 20.4766 10.9766 19.0312 8.4375C17.5469 5.9375 14.8906 4.375 12 4.375ZM12 22.5C8.40625 22.5 5.125 20.625 3.32812 17.5C1.53125 14.4141 1.53125 10.625 3.32812 7.5C5.125 4.41406 8.40625 2.5 12 2.5C15.5547 2.5 18.8359 4.41406 20.6328 7.5C22.4297 10.625 22.4297 14.4141 20.6328 17.5C18.8359 20.625 15.5547 22.5 12 22.5ZM16.4141 10.6641L11.4141 15.6641C11.0234 16.0547 10.4375 16.0547 10.0859 15.6641L7.58594 13.1641C7.19531 12.8125 7.19531 12.2266 7.58594 11.875C7.9375 11.4844 8.52344 11.4844 8.91406 11.875L10.75 13.7109L15.0859 9.375C15.4375 8.98438 16.0234 8.98438 16.4141 9.375C16.7656 9.72656 16.7656 10.3125 16.4141 10.6641Z", fill: "currentColor" }) });
1277
+ var CheckIcon2 = () => /* @__PURE__ */ jsx20("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", "aria-hidden": "true", className: "feature-bullets__icon", children: /* @__PURE__ */ jsx20("path", { d: "M12 4.375C9.07031 4.375 6.41406 5.9375 4.92969 8.4375C3.48438 10.9766 3.48438 14.0625 4.92969 16.5625C6.41406 19.1016 9.07031 20.625 12 20.625C14.8906 20.625 17.5469 19.1016 19.0312 16.5625C20.4766 14.0625 20.4766 10.9766 19.0312 8.4375C17.5469 5.9375 14.8906 4.375 12 4.375ZM12 22.5C8.40625 22.5 5.125 20.625 3.32812 17.5C1.53125 14.4141 1.53125 10.625 3.32812 7.5C5.125 4.41406 8.40625 2.5 12 2.5C15.5547 2.5 18.8359 4.41406 20.6328 7.5C22.4297 10.625 22.4297 14.4141 20.6328 17.5C18.8359 20.625 15.5547 22.5 12 22.5ZM16.4141 10.6641L11.4141 15.6641C11.0234 16.0547 10.4375 16.0547 10.0859 15.6641L7.58594 13.1641C7.19531 12.8125 7.19531 12.2266 7.58594 11.875C7.9375 11.4844 8.52344 11.4844 8.91406 11.875L10.75 13.7109L15.0859 9.375C15.4375 8.98438 16.0234 8.98438 16.4141 9.375C16.7656 9.72656 16.7656 10.3125 16.4141 10.6641Z", fill: "currentColor" }) });
1282
1278
  var FeatureBullets = ({
1283
1279
  title,
1284
1280
  bullets,
@@ -1286,26 +1282,26 @@ var FeatureBullets = ({
1286
1282
  imageAlt = "",
1287
1283
  imagePosition = "right"
1288
1284
  }) => {
1289
- return /* @__PURE__ */ jsx20("section", { className: FeatureBullets_default.section, children: /* @__PURE__ */ jsx20("div", { className: FeatureBullets_default.container, children: /* @__PURE__ */ jsxs18(
1285
+ return /* @__PURE__ */ jsx20("section", { className: "feature-bullets", children: /* @__PURE__ */ jsx20("div", { className: "feature-bullets__container", children: /* @__PURE__ */ jsxs18(
1290
1286
  "div",
1291
1287
  {
1292
1288
  className: [
1293
- FeatureBullets_default.split,
1294
- imagePosition === "left" ? FeatureBullets_default["split--image-left"] : ""
1289
+ "feature-bullets__split",
1290
+ imagePosition === "left" ? "feature-bullets__split--image-left" : ""
1295
1291
  ].filter(Boolean).join(" "),
1296
1292
  children: [
1297
- /* @__PURE__ */ jsxs18("div", { className: FeatureBullets_default.content, children: [
1298
- /* @__PURE__ */ jsx20("h2", { className: FeatureBullets_default.title, children: title }),
1299
- bullets && bullets.length > 0 && /* @__PURE__ */ jsx20("div", { className: FeatureBullets_default.bulletList, children: bullets.map((bullet, i) => /* @__PURE__ */ jsxs18("div", { className: FeatureBullets_default.bulletItem, children: [
1300
- /* @__PURE__ */ jsx20("div", { className: FeatureBullets_default.iconWrapper, children: /* @__PURE__ */ jsx20(CheckIcon2, {}) }),
1301
- /* @__PURE__ */ jsx20("p", { className: FeatureBullets_default.bulletText, children: bullet })
1293
+ /* @__PURE__ */ jsxs18("div", { className: "feature-bullets__content", children: [
1294
+ /* @__PURE__ */ jsx20("h2", { className: "feature-bullets__title", children: title }),
1295
+ bullets && bullets.length > 0 && /* @__PURE__ */ jsx20("div", { className: "feature-bullets__bullet-list", children: bullets.map((bullet, i) => /* @__PURE__ */ jsxs18("div", { className: "feature-bullets__bullet-item", children: [
1296
+ /* @__PURE__ */ jsx20("div", { className: "feature-bullets__icon-wrapper", children: /* @__PURE__ */ jsx20(CheckIcon2, {}) }),
1297
+ /* @__PURE__ */ jsx20("p", { className: "feature-bullets__bullet-text", children: bullet })
1302
1298
  ] }, i)) })
1303
1299
  ] }),
1304
- image && /* @__PURE__ */ jsx20("div", { className: FeatureBullets_default.imageWrapper, children: /* @__PURE__ */ jsx20(
1300
+ image && /* @__PURE__ */ jsx20("div", { className: "feature-bullets__image-wrapper", children: /* @__PURE__ */ jsx20(
1305
1301
  "img",
1306
1302
  {
1307
1303
  alt: imageAlt,
1308
- className: FeatureBullets_default.image,
1304
+ className: "feature-bullets__image",
1309
1305
  src: image
1310
1306
  }
1311
1307
  ) })
@@ -1315,7 +1311,7 @@ var FeatureBullets = ({
1315
1311
  };
1316
1312
 
1317
1313
  // components/Footer/Footer.tsx
1318
- import { useState as useState5 } from "react";
1314
+ import { useState as useState6 } from "react";
1319
1315
  import { Fragment as Fragment2, jsx as jsx21, jsxs as jsxs19 } from "react/jsx-runtime";
1320
1316
  var ExternalLinkIcon = () => /* @__PURE__ */ jsx21(
1321
1317
  "svg",
@@ -1430,7 +1426,7 @@ var Footer = ({
1430
1426
  ...props
1431
1427
  }) => {
1432
1428
  const allSections = navColumns.flat();
1433
- const [openSections, setOpenSections] = useState5(/* @__PURE__ */ new Set());
1429
+ const [openSections, setOpenSections] = useState6(/* @__PURE__ */ new Set());
1434
1430
  const toggleSection = (index) => {
1435
1431
  setOpenSections((prev) => {
1436
1432
  const next = new Set(prev);
@@ -1917,7 +1913,7 @@ var Header = ({
1917
1913
  };
1918
1914
 
1919
1915
  // templates/Stats/Stats.tsx
1920
- import { useEffect as useEffect4, useRef as useRef4, useState as useState6 } from "react";
1916
+ import { useEffect as useEffect4, useRef as useRef4, useState as useState7 } from "react";
1921
1917
  import { jsx as jsx24, jsxs as jsxs22 } from "react/jsx-runtime";
1922
1918
  var INTERVAL_MS = 2e3;
1923
1919
  var TRANSITION = "transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1)";
@@ -1955,7 +1951,7 @@ var Stats = ({
1955
1951
  className,
1956
1952
  ...props
1957
1953
  }) => {
1958
- const [activeIndex, setActiveIndex] = useState6(0);
1954
+ const [activeIndex, setActiveIndex] = useState7(0);
1959
1955
  const intervalRef = useRef4(null);
1960
1956
  const sectionRef = useRef4(null);
1961
1957
  const leftColRef = useRef4(null);
@@ -2048,10 +2044,10 @@ var Stats = ({
2048
2044
  };
2049
2045
 
2050
2046
  // templates/FeatureScroll/FeatureScroll.tsx
2051
- import { useLayoutEffect, useRef as useRef6, useState as useState8 } from "react";
2047
+ import { useLayoutEffect, useRef as useRef6, useState as useState9 } from "react";
2052
2048
 
2053
2049
  // components/DotLottieInView/DotLottieInView.tsx
2054
- import { useEffect as useEffect5, useRef as useRef5, useState as useState7 } from "react";
2050
+ import { useEffect as useEffect5, useRef as useRef5, useState as useState8 } from "react";
2055
2051
  import { DotLottieReact } from "@lottiefiles/dotlottie-react";
2056
2052
  import { jsx as jsx25 } from "react/jsx-runtime";
2057
2053
  function DotLottieInView({
@@ -2063,8 +2059,8 @@ function DotLottieInView({
2063
2059
  ...dotProps
2064
2060
  }) {
2065
2061
  const wrapRef = useRef5(null);
2066
- const [inView, setInView] = useState7(false);
2067
- const [dotLottie, setDotLottie] = useState7(null);
2062
+ const [inView, setInView] = useState8(false);
2063
+ const [dotLottie, setDotLottie] = useState8(null);
2068
2064
  useEffect5(() => {
2069
2065
  const el = wrapRef.current;
2070
2066
  if (!el) return;
@@ -2211,7 +2207,7 @@ var FeatureScroll = ({
2211
2207
  className,
2212
2208
  ...props
2213
2209
  }) => {
2214
- const [activeIndex, setActiveIndex] = useState8(0);
2210
+ const [activeIndex, setActiveIndex] = useState9(0);
2215
2211
  const titleRefs = useRef6([]);
2216
2212
  const mediaColRef = useRef6(null);
2217
2213
  useLayoutEffect(() => {
@@ -2808,7 +2804,7 @@ var CTABanner = ({
2808
2804
  };
2809
2805
 
2810
2806
  // components/Navbar/Navbar.tsx
2811
- import { useRef as useRef9, useState as useState9, useEffect as useEffect7, useCallback as useCallback2 } from "react";
2807
+ import { useRef as useRef9, useState as useState10, useEffect as useEffect7, useCallback as useCallback2 } from "react";
2812
2808
  import { motion as motion2, AnimatePresence } from "framer-motion";
2813
2809
 
2814
2810
  // assets/icon-globe.svg
@@ -3046,12 +3042,12 @@ var Navbar = ({
3046
3042
  className,
3047
3043
  ...props
3048
3044
  }) => {
3049
- const [openDropdown, setOpenDropdown] = useState9(null);
3050
- const [mobileOpen, setMobileOpen] = useState9(false);
3051
- const [mobileExpanded, setMobileExpanded] = useState9(null);
3052
- const [scrolled, setScrolled] = useState9(false);
3053
- const [langDropdownOpen, setLangDropdownOpen] = useState9(false);
3054
- const [mobileLangOpen, setMobileLangOpen] = useState9(false);
3045
+ const [openDropdown, setOpenDropdown] = useState10(null);
3046
+ const [mobileOpen, setMobileOpen] = useState10(false);
3047
+ const [mobileExpanded, setMobileExpanded] = useState10(null);
3048
+ const [scrolled, setScrolled] = useState10(false);
3049
+ const [langDropdownOpen, setLangDropdownOpen] = useState10(false);
3050
+ const [mobileLangOpen, setMobileLangOpen] = useState10(false);
3055
3051
  const hoverTimeoutRef = useRef9(null);
3056
3052
  const langHoverTimeoutRef = useRef9(null);
3057
3053
  const pillAreaRef = useRef9(null);
@@ -3402,7 +3398,7 @@ var Navbar = ({
3402
3398
  };
3403
3399
 
3404
3400
  // templates/DayNightTransition/DayNightTransition.tsx
3405
- import { useEffect as useEffect8, useLayoutEffect as useLayoutEffect2, useRef as useRef10, useState as useState10 } from "react";
3401
+ import { useEffect as useEffect8, useLayoutEffect as useLayoutEffect2, useRef as useRef10, useState as useState11 } from "react";
3406
3402
  import {
3407
3403
  motion as motion3,
3408
3404
  useScroll as useScroll2,
@@ -3519,9 +3515,9 @@ var DayNightTransition = ({
3519
3515
  }) => {
3520
3516
  const wrapperRef = useRef10(null);
3521
3517
  const dayWordRef = useRef10(null);
3522
- const [nightMarginStart, setNightMarginStart] = useState10("0px");
3523
- const [nightMarginEnd, setNightMarginEnd] = useState10("0px");
3524
- const [ixMedia, setIxMedia] = useState10("desktop");
3518
+ const [nightMarginStart, setNightMarginStart] = useState11("0px");
3519
+ const [nightMarginEnd, setNightMarginEnd] = useState11("0px");
3520
+ const [ixMedia, setIxMedia] = useState11("desktop");
3525
3521
  const webflowV2 = scrollPreset === "webflow-day-night-v2";
3526
3522
  useEffect8(() => {
3527
3523
  const mq = window.matchMedia("(max-width: 991px)");
@@ -4394,7 +4390,7 @@ var StickyMarketCards = ({
4394
4390
  };
4395
4391
 
4396
4392
  // templates/Table/Table.tsx
4397
- import { useState as useState11, useMemo } from "react";
4393
+ import { useState as useState12, useMemo } from "react";
4398
4394
  import { Fragment as Fragment4, jsx as jsx37, jsxs as jsxs33 } from "react/jsx-runtime";
4399
4395
  var InfoIcon = ({ className }) => /* @__PURE__ */ jsxs33("svg", { width: "20", height: "20", viewBox: "0 0 24 24", fill: "none", "aria-hidden": "true", className, children: [
4400
4396
  /* @__PURE__ */ jsx37("circle", { cx: "12", cy: "12", r: "10", stroke: "currentColor", strokeWidth: "1.5" }),
@@ -4412,9 +4408,9 @@ var Table = ({
4412
4408
  className,
4413
4409
  ...props
4414
4410
  }) => {
4415
- const [search, setSearch] = useState11("");
4416
- const [page, setPage] = useState11(1);
4417
- const [tooltip, setTooltip] = useState11({ visible: false, heading: "", description: "", x: 0, y: 0, arrowOffset: 0 });
4411
+ const [search, setSearch] = useState12("");
4412
+ const [page, setPage] = useState12(1);
4413
+ const [tooltip, setTooltip] = useState12({ visible: false, heading: "", description: "", x: 0, y: 0, arrowOffset: 0 });
4418
4414
  const mainKey = mainColumnKey ?? columns.find((c) => c.width === "main")?.key ?? columns[0]?.key;
4419
4415
  const filtered = useMemo(() => {
4420
4416
  const q = search.trim().toLowerCase();
@@ -4584,29 +4580,24 @@ var Table = ({
4584
4580
  };
4585
4581
 
4586
4582
  // templates/Leaders/Leaders.tsx
4587
- import { useState as useState12 } from "react";
4588
-
4589
- // templates/Leaders/Leaders.module.css
4590
- var Leaders_default = {};
4591
-
4592
- // templates/Leaders/Leaders.tsx
4583
+ import { useState as useState13 } from "react";
4593
4584
  import { Fragment as Fragment5, jsx as jsx38, jsxs as jsxs34 } from "react/jsx-runtime";
4594
4585
  var LinkedInIcon = () => /* @__PURE__ */ jsx38("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", "aria-hidden": "true", children: /* @__PURE__ */ jsx38("path", { d: "M14.816 0H1.18C0.528 0 0 0.516 0 1.153V14.846C0 15.484 0.528 16 1.18 16H14.816C15.468 16 16 15.484 16 14.846V1.153C16 0.516 15.468 0 14.816 0ZM4.744 13.642H2.368V5.996H4.744V13.642ZM3.556 4.952C2.796 4.952 2.18 4.336 2.18 3.576C2.18 2.816 2.796 2.2 3.556 2.2C4.316 2.2 4.932 2.816 4.932 3.576C4.932 4.336 4.316 4.952 3.556 4.952ZM13.642 13.642H11.266V9.924C11.266 9.038 11.25 7.896 10.032 7.896C8.814 7.896 8.626 8.846 8.626 9.86V13.642H6.25V5.996H8.53V7.04H8.562C8.88 6.44 9.534 5.806 10.686 5.806C12.958 5.806 13.642 7.3 13.642 9.386V13.642Z", fill: "currentColor" }) });
4595
4586
  var ChevronDownIcon4 = () => /* @__PURE__ */ jsx38("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", "aria-hidden": "true", children: /* @__PURE__ */ jsx38("path", { d: "M4 6L8 10L12 6", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }) });
4596
4587
  var ChevronUpIcon = () => /* @__PURE__ */ jsx38("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", "aria-hidden": "true", children: /* @__PURE__ */ jsx38("path", { d: "M12 10L8 6L4 10", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }) });
4597
4588
  var CardContent = ({ item }) => /* @__PURE__ */ jsxs34(Fragment5, { children: [
4598
- /* @__PURE__ */ jsx38("div", { className: Leaders_default.imageWrapper, children: /* @__PURE__ */ jsx38(
4589
+ /* @__PURE__ */ jsx38("div", { className: "leaders__image-wrapper", children: /* @__PURE__ */ jsx38(
4599
4590
  "img",
4600
4591
  {
4601
4592
  src: item.imageUrl,
4602
4593
  alt: item.name,
4603
- className: Leaders_default.image,
4594
+ className: "leaders__image",
4604
4595
  loading: "lazy"
4605
4596
  }
4606
4597
  ) }),
4607
- /* @__PURE__ */ jsxs34("div", { className: Leaders_default.content, children: [
4608
- /* @__PURE__ */ jsx38("h3", { className: Leaders_default.name, children: item.name }),
4609
- /* @__PURE__ */ jsx38("p", { className: Leaders_default.role, children: item.role })
4598
+ /* @__PURE__ */ jsxs34("div", { className: "leaders__content", children: [
4599
+ /* @__PURE__ */ jsx38("h3", { className: "leaders__name", children: item.name }),
4600
+ /* @__PURE__ */ jsx38("p", { className: "leaders__role", children: item.role })
4610
4601
  ] }),
4611
4602
  item.linkedinUrl && /* @__PURE__ */ jsx38(
4612
4603
  Link,
@@ -4618,7 +4609,7 @@ var CardContent = ({ item }) => /* @__PURE__ */ jsxs34(Fragment5, { children: [
4618
4609
  label: "LinkedIn",
4619
4610
  colorScheme: "black",
4620
4611
  showChevron: false,
4621
- className: Leaders_default.link
4612
+ className: "leaders__link"
4622
4613
  }
4623
4614
  )
4624
4615
  ] });
@@ -4631,29 +4622,29 @@ var Leaders = ({
4631
4622
  className,
4632
4623
  ...props
4633
4624
  }) => {
4634
- const [isExpanded, setIsExpanded] = useState12(false);
4625
+ const [isExpanded, setIsExpanded] = useState13(false);
4635
4626
  const hasMore = items.length > initialVisibleCount;
4636
4627
  const visibleItems = items.slice(0, initialVisibleCount);
4637
4628
  const extraItems = items.slice(initialVisibleCount);
4638
- return /* @__PURE__ */ jsx38("section", { className: [Leaders_default.section, className].filter(Boolean).join(" "), ...props, children: /* @__PURE__ */ jsxs34("div", { className: Leaders_default.container, children: [
4639
- title && /* @__PURE__ */ jsx38("div", { className: Leaders_default.header, children: /* @__PURE__ */ jsx38("h2", { className: Leaders_default.title, children: title }) }),
4640
- /* @__PURE__ */ jsxs34("div", { className: Leaders_default.gridWrapper, children: [
4641
- /* @__PURE__ */ jsx38("div", { className: Leaders_default.grid, children: visibleItems.map((item, i) => /* @__PURE__ */ jsx38("div", { className: Leaders_default.card, children: /* @__PURE__ */ jsx38(CardContent, { item }) }, i)) }),
4629
+ return /* @__PURE__ */ jsx38("section", { className: ["leaders", className].filter(Boolean).join(" "), ...props, children: /* @__PURE__ */ jsxs34("div", { className: "leaders__container", children: [
4630
+ title && /* @__PURE__ */ jsx38("div", { className: "leaders__header", children: /* @__PURE__ */ jsx38("h2", { className: "leaders__title", children: title }) }),
4631
+ /* @__PURE__ */ jsxs34("div", { className: "leaders__grid-wrapper", children: [
4632
+ /* @__PURE__ */ jsx38("div", { className: "leaders__grid", children: visibleItems.map((item, i) => /* @__PURE__ */ jsx38("div", { className: "leaders__card", children: /* @__PURE__ */ jsx38(CardContent, { item }) }, i)) }),
4642
4633
  hasMore && /* @__PURE__ */ jsx38(
4643
4634
  "div",
4644
4635
  {
4645
4636
  className: [
4646
- Leaders_default.extraCards,
4647
- isExpanded ? Leaders_default.extraCardsOpen : ""
4637
+ "leaders__extra-cards",
4638
+ isExpanded ? "leaders__extra-cards--open" : ""
4648
4639
  ].join(" "),
4649
4640
  "aria-hidden": !isExpanded,
4650
- children: /* @__PURE__ */ jsx38("div", { className: Leaders_default.extraGrid, children: extraItems.map((item, i) => /* @__PURE__ */ jsx38(
4641
+ children: /* @__PURE__ */ jsx38("div", { className: "leaders__extra-grid", children: extraItems.map((item, i) => /* @__PURE__ */ jsx38(
4651
4642
  "div",
4652
4643
  {
4653
4644
  className: [
4654
- Leaders_default.card,
4655
- Leaders_default.extraCard,
4656
- isExpanded ? Leaders_default.extraCardVisible : ""
4645
+ "leaders__card",
4646
+ "leaders__extra-card",
4647
+ isExpanded ? "leaders__extra-card--visible" : ""
4657
4648
  ].join(" "),
4658
4649
  style: {
4659
4650
  transitionDelay: isExpanded ? `${i * 70 + 120}ms` : "0ms"
@@ -4665,7 +4656,7 @@ var Leaders = ({
4665
4656
  }
4666
4657
  )
4667
4658
  ] }),
4668
- hasMore && /* @__PURE__ */ jsx38("div", { className: Leaders_default.actions, children: /* @__PURE__ */ jsx38(
4659
+ hasMore && /* @__PURE__ */ jsx38("div", { className: "leaders__actions", children: /* @__PURE__ */ jsx38(
4669
4660
  Button,
4670
4661
  {
4671
4662
  variant: "secondary",