@harshit-wander/component-lib 1.1.3 → 1.1.5

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 CHANGED
@@ -65,7 +65,7 @@ var ContactForm = react.forwardRef(
65
65
  variant = "card",
66
66
  headerVariant,
67
67
  eyebrow = "Wanderlust Calling?",
68
- heading: heading2 = "Allow Us to Call You Back!",
68
+ heading = "Allow Us to Call You Back!",
69
69
  submitLabel = "Submit",
70
70
  headerIllustration,
71
71
  countryCodes,
@@ -108,7 +108,7 @@ var ContactForm = react.forwardRef(
108
108
  resolvedHeader === "none" ? null : /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-end justify-between gap-md w-full py-md pt-lg px-xl pb-md bg-brand-shade-1 max-md:pt-5 max-md:px-lg max-md:pb-3.5", children: [
109
109
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col gap-xs flex-auto min-w-0", children: [
110
110
  /* @__PURE__ */ jsxRuntime.jsx("p", { className: "m-0 text-form-eyebrow text-primary", children: eyebrow }),
111
- /* @__PURE__ */ jsxRuntime.jsx("p", { className: "m-0 text-form-heading text-text", children: heading2 })
111
+ /* @__PURE__ */ jsxRuntime.jsx("p", { className: "m-0 text-form-heading text-text", children: heading })
112
112
  ] }),
113
113
  resolvedHeader === "illustration" && headerIllustration ? /* @__PURE__ */ jsxRuntime.jsx(
114
114
  "div",
@@ -465,53 +465,34 @@ var FaqExpandable = react.forwardRef(
465
465
  }
466
466
  );
467
467
  FaqExpandable.displayName = "FaqExpandable";
468
- var card = classVarianceAuthority.cva(
469
- "relative block w-full aspect-[268/355] rounded-lg overflow-hidden shadow-card bg-cover bg-center bg-no-repeat px-lg pt-lg",
470
- {
471
- variants: {
472
- hasImage: {
473
- true: "bg-secondary",
474
- false: "bg-surface border border-border"
475
- }
476
- }
477
- }
478
- );
479
- var heading = classVarianceAuthority.cva("m-0 text-lg font-semibold leading-card", {
480
- variants: {
481
- hasImage: {
482
- true: "text-surface",
483
- false: "text-primary"
484
- }
485
- }
486
- });
487
- var description = classVarianceAuthority.cva("mt-sm mb-0 text-sm font-normal leading-body", {
488
- variants: {
489
- hasImage: {
490
- true: "text-surface",
491
- false: "text-text"
492
- }
493
- }
494
- });
495
468
  var FeatureCard = react.forwardRef(
496
- ({ heading: h, description: d, imageUrl, className, style, ...rest }, ref) => {
497
- const hasImage = Boolean(imageUrl);
498
- const bgStyle = hasImage ? {
499
- backgroundImage: `linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.2) 40%, rgba(0, 0, 0, 0) 70%), url(${imageUrl})`
500
- } : void 0;
501
- return /* @__PURE__ */ jsxRuntime.jsxs(
502
- "article",
503
- {
504
- ref,
505
- className: cn(card({ hasImage }), className),
506
- style: { ...bgStyle, ...style },
507
- ...rest,
508
- children: [
509
- /* @__PURE__ */ jsxRuntime.jsx("h3", { className: heading({ hasImage }), children: h }),
510
- d ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: description({ hasImage }), children: d }) : null
511
- ]
512
- }
513
- );
514
- }
469
+ ({ heading: h, description: d, imageUrl, className, style, ...rest }, ref) => /* @__PURE__ */ jsxRuntime.jsxs(
470
+ "article",
471
+ {
472
+ ref,
473
+ className: cn(
474
+ "relative flex flex-col w-full aspect-[268/355] rounded-lg overflow-hidden shadow-card border border-border bg-surface",
475
+ className
476
+ ),
477
+ style,
478
+ ...rest,
479
+ children: [
480
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col gap-sm px-lg pt-lg", children: [
481
+ /* @__PURE__ */ jsxRuntime.jsx("h3", { className: "m-0 text-lg font-semibold leading-card text-primary", children: h }),
482
+ d ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: "m-0 text-sm font-normal leading-body text-text", children: d }) : null
483
+ ] }),
484
+ imageUrl ? /* @__PURE__ */ jsxRuntime.jsx(
485
+ "img",
486
+ {
487
+ src: imageUrl,
488
+ alt: "",
489
+ "aria-hidden": "true",
490
+ className: "absolute bottom-0 left-0 w-full pointer-events-none"
491
+ }
492
+ ) : null
493
+ ]
494
+ }
495
+ )
515
496
  );
516
497
  FeatureCard.displayName = "FeatureCard";
517
498
  var PinSvg = () => /* @__PURE__ */ jsxRuntime.jsx("svg", { width: "12", height: "12", viewBox: "0 0 16 16", fill: "none", "aria-hidden": "true", children: /* @__PURE__ */ jsxRuntime.jsx(
@@ -681,7 +662,7 @@ var PackageCard = react.forwardRef(
681
662
  }
682
663
  ),
683
664
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "relative inline-flex items-center self-start gap-xs py-[4px] px-md bg-accent border border-surface rounded-full", children: [
684
- originalPrice ? /* @__PURE__ */ jsxRuntime.jsx("span", { className: "relative text-[7px] font-normal leading-18 text-strike after:content-[''] after:absolute after:left-[-2px] after:right-[-2px] after:top-1/2 after:h-px after:bg-strike after:rotate-[-8deg]", children: originalPrice }) : null,
665
+ originalPrice ? /* @__PURE__ */ jsxRuntime.jsx("span", { className: "relative text-2xs font-normal leading-18 text-strike after:content-[''] after:absolute after:left-[-2px] after:right-[-2px] after:top-1/2 after:h-px after:bg-strike after:rotate-[-8deg]", children: originalPrice }) : null,
685
666
  /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-sm font-semibold leading-4 text-text-deep", children: currentPrice }),
686
667
  /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-xs font-normal leading-4 text-text-deep", children: priceSuffix })
687
668
  ] }),
@@ -722,10 +703,10 @@ var PackageCard = react.forwardRef(
722
703
  );
723
704
  PackageCard.displayName = "PackageCard";
724
705
  var SectionHeader = react.forwardRef(
725
- ({ heading: heading2, subheading, align = "center", className, ...rest }, ref) => {
706
+ ({ heading, subheading, align = "center", className, ...rest }, ref) => {
726
707
  const alignClass = align === "center" ? "items-center text-center" : "items-start text-left";
727
708
  return /* @__PURE__ */ jsxRuntime.jsxs("header", { ref, className: cn("flex flex-col mb-xl", alignClass, className), ...rest, children: [
728
- /* @__PURE__ */ jsxRuntime.jsx("h2", { className: "m-0 text-section-heading", children: heading2 }),
709
+ /* @__PURE__ */ jsxRuntime.jsx("h2", { className: "m-0 text-section-heading", children: heading }),
729
710
  /* @__PURE__ */ jsxRuntime.jsx("span", { "aria-hidden": "true", className: "block w-[96px] h-1 mt-sm mb-md bg-accent rounded-sm" }),
730
711
  subheading ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: "m-0 max-w-[720px] text-section-subheading", children: subheading }) : null
731
712
  ] });
@@ -877,7 +858,7 @@ var TripCategoryCard = react.forwardRef(
877
858
  );
878
859
  TripCategoryCard.displayName = "TripCategoryCard";
879
860
  var WarriorCard = react.forwardRef(
880
- ({ icon, name, description: description2, className, ...rest }, ref) => /* @__PURE__ */ jsxRuntime.jsxs(
861
+ ({ icon, name, description, className, ...rest }, ref) => /* @__PURE__ */ jsxRuntime.jsxs(
881
862
  "article",
882
863
  {
883
864
  ref,
@@ -903,7 +884,7 @@ var WarriorCard = react.forwardRef(
903
884
  className: "block w-[56px] h-[2px] mt-sm mb-md bg-accent rounded-sm"
904
885
  }
905
886
  ),
906
- /* @__PURE__ */ jsxRuntime.jsx("p", { className: "m-0 text-card-body", children: description2 })
887
+ /* @__PURE__ */ jsxRuntime.jsx("p", { className: "m-0 text-card-body", children: description })
907
888
  ]
908
889
  }
909
890
  )
@@ -940,9 +921,9 @@ var BottomNav = react.forwardRef(
940
921
  );
941
922
  BottomNav.displayName = "BottomNav";
942
923
  var BrandsSection = react.forwardRef(
943
- ({ heading: heading2, subheading, brands, className, ...rest }, ref) => {
924
+ ({ heading, subheading, brands, className, ...rest }, ref) => {
944
925
  return /* @__PURE__ */ jsxRuntime.jsxs("section", { ref, className: cn("flex flex-col w-full", className), ...rest, children: [
945
- /* @__PURE__ */ jsxRuntime.jsx(SectionHeader, { heading: heading2, subheading }),
926
+ /* @__PURE__ */ jsxRuntime.jsx(SectionHeader, { heading, subheading }),
946
927
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex flex-wrap gap-lg justify-center w-full", children: brands.map((brand) => /* @__PURE__ */ jsxRuntime.jsx(BrandLogo, { ...brand }, brand.name)) })
947
928
  ] });
948
929
  }
@@ -967,7 +948,7 @@ var CategoryDropdown = ({
967
948
  onMouseEnter,
968
949
  onMouseLeave,
969
950
  className: cn(
970
- "absolute top-full left-0 grid-cols-3 [grid-template-columns:repeat(3,minmax(160px,1fr))] gap-x-xl gap-y-sm min-w-[720px] mt-3 p-xl bg-surface text-text rounded-lg shadow-card",
951
+ "absolute top-full left-0 grid-cols-3 [grid-template-columns:repeat(3,minmax(160px,1fr))] gap-x-xl gap-y-xs min-w-[720px] mt-3 p-xl bg-surface text-text rounded-lg shadow-card",
971
952
  open ? "grid" : "hidden"
972
953
  ),
973
954
  children: items.map((item) => /* @__PURE__ */ jsxRuntime.jsxs(
@@ -975,7 +956,7 @@ var CategoryDropdown = ({
975
956
  {
976
957
  href: item.href,
977
958
  onClick: onItemClick,
978
- className: "inline-flex items-center gap-sm px-3 py-2 border border-transparent rounded-md text-text no-underline text-md font-normal leading-button transition-colors duration-150 ease-in hover:border-primary hover:text-primary focus-visible:border-primary focus-visible:text-primary focus-visible:outline-none",
959
+ className: "inline-flex items-center gap-sm px-3 py-1 border border-transparent rounded-md text-text no-underline text-md font-normal leading-button transition-colors duration-150 ease-in hover:border-primary hover:text-primary focus-visible:border-primary focus-visible:text-primary focus-visible:outline-none",
979
960
  children: [
980
961
  item.icon ? /* @__PURE__ */ jsxRuntime.jsx(
981
962
  "span",
@@ -1462,7 +1443,7 @@ var ContactSection = react.forwardRef(
1462
1443
  ({
1463
1444
  illustration,
1464
1445
  eyebrow,
1465
- heading: heading2,
1446
+ heading,
1466
1447
  submitLabel,
1467
1448
  headerIllustration,
1468
1449
  countryCodes,
@@ -1476,7 +1457,7 @@ var ContactSection = react.forwardRef(
1476
1457
  ref,
1477
1458
  className: cn(
1478
1459
  "flex w-full justify-center",
1479
- "lg:items-center lg:gap-16 lg:px-xl lg:py-xl lg:bg-primary lg:rounded-lg lg:shadow-card",
1460
+ "lg:items-center lg:justify-evenly lg:py-xl lg:bg-primary lg:rounded-lg lg:shadow-card",
1480
1461
  className
1481
1462
  ),
1482
1463
  ...rest,
@@ -1493,7 +1474,7 @@ var ContactSection = react.forwardRef(
1493
1474
  ContactForm,
1494
1475
  {
1495
1476
  eyebrow,
1496
- heading: heading2,
1477
+ heading,
1497
1478
  submitLabel,
1498
1479
  headerIllustration,
1499
1480
  countryCodes,
@@ -1544,12 +1525,12 @@ var CtaBanner = react.forwardRef(
1544
1525
  );
1545
1526
  CtaBanner.displayName = "CtaBanner";
1546
1527
  var DestinationsSection = react.forwardRef(
1547
- ({ heading: heading2, destinations, className, ...rest }, ref) => {
1528
+ ({ heading, destinations, className, ...rest }, ref) => {
1548
1529
  const half = Math.ceil(destinations.length / 2);
1549
1530
  const firstRow = destinations.slice(0, half);
1550
1531
  const secondRow = destinations.slice(half);
1551
1532
  return /* @__PURE__ */ jsxRuntime.jsxs("section", { ref, className: cn("flex flex-col gap-lg bg-surface", className), ...rest, children: [
1552
- /* @__PURE__ */ jsxRuntime.jsx("h2", { className: "m-0 text-xl font-semibold leading-heading text-secondary", children: heading2 }),
1533
+ /* @__PURE__ */ jsxRuntime.jsx("h2", { className: "m-0 text-xl font-semibold leading-heading text-secondary", children: heading }),
1553
1534
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col gap-md overflow-x-auto [scrollbar-width:none] [&::-webkit-scrollbar]:hidden", children: [
1554
1535
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex gap-md w-max", children: firstRow.map((destination) => /* @__PURE__ */ jsxRuntime.jsx(
1555
1536
  DestinationCard,
@@ -1622,7 +1603,16 @@ var useScrollSnap = (itemCount) => {
1622
1603
  const scrollToStart = react.useCallback(() => {
1623
1604
  elRef.current?.scrollTo({ left: 0, behavior: "smooth" });
1624
1605
  }, []);
1625
- return { ref: setRef, scrollPrev, scrollNext, scrollToStart, canPrev, canNext, activeIndex, scrollProgress };
1606
+ return {
1607
+ ref: setRef,
1608
+ scrollPrev,
1609
+ scrollNext,
1610
+ scrollToStart,
1611
+ canPrev,
1612
+ canNext,
1613
+ activeIndex,
1614
+ scrollProgress
1615
+ };
1626
1616
  };
1627
1617
  var ChevronLeft = () => /* @__PURE__ */ jsxRuntime.jsx("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", "aria-hidden": "true", children: /* @__PURE__ */ jsxRuntime.jsx(
1628
1618
  "path",
@@ -1753,8 +1743,8 @@ var EventCarousel = react.forwardRef(
1753
1743
  );
1754
1744
  EventCarousel.displayName = "EventCarousel";
1755
1745
  var ExploreSection = react.forwardRef(
1756
- ({ heading: heading2, items, className, ...rest }, ref) => /* @__PURE__ */ jsxRuntime.jsxs("section", { ref, className: cn("flex flex-col gap-lg bg-surface", className), ...rest, children: [
1757
- /* @__PURE__ */ jsxRuntime.jsx("h2", { className: "m-0 text-xl font-semibold leading-heading text-secondary", children: heading2 }),
1746
+ ({ heading, items, className, ...rest }, ref) => /* @__PURE__ */ jsxRuntime.jsxs("section", { ref, className: cn("flex flex-col gap-lg bg-surface", className), ...rest, children: [
1747
+ /* @__PURE__ */ jsxRuntime.jsx("h2", { className: "m-0 text-xl font-semibold leading-heading text-secondary", children: heading }),
1758
1748
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex gap-md overflow-x-auto snap-x [scrollbar-width:none] [&::-webkit-scrollbar]:hidden", children: items.map((item) => /* @__PURE__ */ jsxRuntime.jsx(
1759
1749
  ExploreCard,
1760
1750
  {
@@ -1769,7 +1759,7 @@ var ExploreSection = react.forwardRef(
1769
1759
  );
1770
1760
  ExploreSection.displayName = "ExploreSection";
1771
1761
  var FaqSection = ({
1772
- heading: heading2,
1762
+ heading,
1773
1763
  subheading,
1774
1764
  faqs,
1775
1765
  singleOpen = false,
@@ -1778,7 +1768,7 @@ var FaqSection = ({
1778
1768
  }) => {
1779
1769
  const [openIndex, setOpenIndex] = react.useState(null);
1780
1770
  return /* @__PURE__ */ jsxRuntime.jsxs("section", { className: cn("py-xl px-lg", className), ...rest, children: [
1781
- /* @__PURE__ */ jsxRuntime.jsx(SectionHeader, { heading: heading2, subheading }),
1771
+ /* @__PURE__ */ jsxRuntime.jsx(SectionHeader, { heading, subheading }),
1782
1772
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex flex-col gap-md max-w-[760px] mx-auto", children: faqs.map((faq, index) => {
1783
1773
  if (!singleOpen) {
1784
1774
  return /* @__PURE__ */ jsxRuntime.jsx(FaqExpandable, { ...faq }, faq.question);
@@ -1862,8 +1852,8 @@ var Footer = react.forwardRef(
1862
1852
  ...rest
1863
1853
  }, ref) => {
1864
1854
  const [openColumns, setOpenColumns] = react.useState({});
1865
- const toggleColumn = (heading2) => {
1866
- setOpenColumns((prev) => ({ ...prev, [heading2]: !prev[heading2] }));
1855
+ const toggleColumn = (heading) => {
1856
+ setOpenColumns((prev) => ({ ...prev, [heading]: !prev[heading] }));
1867
1857
  };
1868
1858
  return /* @__PURE__ */ jsxRuntime.jsxs("footer", { ref, className: cn("flex flex-col items-center", className), ...rest, children: [
1869
1859
  /* @__PURE__ */ jsxRuntime.jsx("div", { "aria-hidden": "true", className: "w-full h-2 bg-primary rounded-t-[200px]" }),
@@ -2015,7 +2005,7 @@ var ChevronRight2 = () => /* @__PURE__ */ jsxRuntime.jsx("svg", { width: "16", h
2015
2005
  var arrowBase2 = "absolute top-1/2 -translate-y-1/2 inline-flex items-center justify-center w-8 h-8 bg-primary border-none rounded-full text-on-dark cursor-pointer shadow-card transition-opacity duration-150 ease-in z-[20] disabled:opacity-40 disabled:cursor-not-allowed focus-visible:outline-2 focus-visible:outline-accent focus-visible:outline-offset-2 max-md:hidden";
2016
2006
  var curveBase = "pointer-events-none absolute z-10 left-0 right-0 h-[80px] bg-surface rounded-[50%] max-md:h-[40px]";
2017
2007
  var GallerySection = react.forwardRef(
2018
- ({ heading: heading2, subheading, photos, className, ...rest }, ref) => {
2008
+ ({ heading, subheading, photos, className, ...rest }, ref) => {
2019
2009
  const { ref: trackRef, scrollPrev, scrollNext, canPrev, canNext } = useScrollSnap(photos.length);
2020
2010
  return /* @__PURE__ */ jsxRuntime.jsxs(
2021
2011
  "section",
@@ -2024,7 +2014,7 @@ var GallerySection = react.forwardRef(
2024
2014
  className: cn("relative flex flex-col items-center gap-lg bg-surface", className),
2025
2015
  ...rest,
2026
2016
  children: [
2027
- /* @__PURE__ */ jsxRuntime.jsx(SectionHeader, { heading: heading2, subheading, align: "center" }),
2017
+ /* @__PURE__ */ jsxRuntime.jsx(SectionHeader, { heading, subheading, align: "center" }),
2028
2018
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "relative w-full", children: [
2029
2019
  /* @__PURE__ */ jsxRuntime.jsx("div", { "aria-hidden": "true", className: cn(curveBase, "-top-[40px] max-md:-top-[20px]") }),
2030
2020
  /* @__PURE__ */ jsxRuntime.jsx(
@@ -2376,9 +2366,9 @@ var Navbar = react.forwardRef(
2376
2366
  );
2377
2367
  Navbar.displayName = "Navbar";
2378
2368
  var OfficesSection = react.forwardRef(
2379
- ({ heading: heading2, subheading, locations, className, ...rest }, ref) => {
2369
+ ({ heading, subheading, locations, className, ...rest }, ref) => {
2380
2370
  return /* @__PURE__ */ jsxRuntime.jsxs("section", { ref, className: cn("flex flex-col w-full", className), ...rest, children: [
2381
- /* @__PURE__ */ jsxRuntime.jsx(SectionHeader, { heading: heading2, subheading }),
2371
+ /* @__PURE__ */ jsxRuntime.jsx(SectionHeader, { heading, subheading }),
2382
2372
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex flex-wrap gap-lg w-full [&>*]:flex-[1_1_280px]", children: locations.map((office) => /* @__PURE__ */ jsxRuntime.jsx(LocationCard, { ...office }, office.location)) })
2383
2373
  ] });
2384
2374
  }
@@ -2417,7 +2407,7 @@ var ArrowRight = () => /* @__PURE__ */ jsxRuntime.jsx("svg", { width: "14", heig
2417
2407
  var arrowBase3 = "absolute top-1/2 -translate-y-1/2 inline-flex items-center justify-center w-8 h-8 bg-primary border-none rounded-full text-on-dark cursor-pointer shadow-card transition-opacity duration-150 ease-in z-[1] disabled:opacity-40 disabled:cursor-not-allowed focus-visible:outline-2 focus-visible:outline-accent focus-visible:outline-offset-2 max-md:hidden";
2418
2408
  var PackagesCarousel = react.forwardRef(
2419
2409
  ({
2420
- heading: heading2,
2410
+ heading,
2421
2411
  viewAllHref,
2422
2412
  viewAllLabel = "View All",
2423
2413
  months,
@@ -2442,7 +2432,7 @@ var PackagesCarousel = react.forwardRef(
2442
2432
  ...rest,
2443
2433
  children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col gap-xl w-full", children: [
2444
2434
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center justify-between gap-lg", children: [
2445
- /* @__PURE__ */ jsxRuntime.jsx("h2", { className: "m-0 text-xl font-semibold leading-5 text-secondary", children: heading2 }),
2435
+ /* @__PURE__ */ jsxRuntime.jsx("h2", { className: "m-0 text-xl font-semibold leading-5 text-secondary", children: heading }),
2446
2436
  viewAllHref ? /* @__PURE__ */ jsxRuntime.jsxs(
2447
2437
  "a",
2448
2438
  {
@@ -2517,7 +2507,7 @@ var SiteHeader = react.forwardRef(
2517
2507
  );
2518
2508
  SiteHeader.displayName = "SiteHeader";
2519
2509
  var TeamSection = react.forwardRef(
2520
- ({ heading: heading2, subheading, members, className, ...rest }, ref) => {
2510
+ ({ heading, subheading, members, className, ...rest }, ref) => {
2521
2511
  const { ref: trackRef, activeIndex } = useScrollSnap(members.length);
2522
2512
  return /* @__PURE__ */ jsxRuntime.jsxs(
2523
2513
  "section",
@@ -2531,7 +2521,7 @@ var TeamSection = react.forwardRef(
2531
2521
  ),
2532
2522
  ...rest,
2533
2523
  children: [
2534
- /* @__PURE__ */ jsxRuntime.jsx(SectionHeader, { heading: heading2, subheading }),
2524
+ /* @__PURE__ */ jsxRuntime.jsx(SectionHeader, { heading, subheading }),
2535
2525
  /* @__PURE__ */ jsxRuntime.jsx(
2536
2526
  "ul",
2537
2527
  {
@@ -2705,7 +2695,7 @@ var TestimonialsCarousel = react.forwardRef(
2705
2695
  );
2706
2696
  TestimonialsCarousel.displayName = "TestimonialsCarousel";
2707
2697
  var TextSection = react.forwardRef(
2708
- ({ heading: heading2, paragraphs, align = "left", className, ...rest }, ref) => /* @__PURE__ */ jsxRuntime.jsxs(
2698
+ ({ heading, paragraphs, align = "left", className, ...rest }, ref) => /* @__PURE__ */ jsxRuntime.jsxs(
2709
2699
  "section",
2710
2700
  {
2711
2701
  ref,
@@ -2716,7 +2706,7 @@ var TextSection = react.forwardRef(
2716
2706
  ),
2717
2707
  ...rest,
2718
2708
  children: [
2719
- /* @__PURE__ */ jsxRuntime.jsx("h2", { className: "m-0 text-section-heading", children: heading2 }),
2709
+ /* @__PURE__ */ jsxRuntime.jsx("h2", { className: "m-0 text-section-heading", children: heading }),
2720
2710
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex flex-col gap-md max-w-[760px]", children: paragraphs.map((paragraph) => /* @__PURE__ */ jsxRuntime.jsx("p", { className: "m-0 text-card-body", children: paragraph }, paragraph)) })
2721
2711
  ]
2722
2712
  }
@@ -2745,7 +2735,7 @@ var ChevronRight5 = () => /* @__PURE__ */ jsxRuntime.jsx("svg", { width: "16", h
2745
2735
  ) });
2746
2736
  var arrowBase4 = "absolute top-[calc(50%+30px)] -translate-y-1/2 inline-flex items-center justify-center w-8 h-8 bg-surface border border-border rounded-full text-primary cursor-pointer shadow-card transition-opacity duration-150 ease-in z-[1] disabled:opacity-40 disabled:cursor-not-allowed focus-visible:outline-2 focus-visible:outline-accent focus-visible:outline-offset-2 max-md:hidden";
2747
2737
  var TripsCategorySection = react.forwardRef(
2748
- ({ title, description: description2, cta, poster, videoSrc, trips, className, ...rest }, ref) => {
2738
+ ({ title, description, cta, poster, videoSrc, trips, className, ...rest }, ref) => {
2749
2739
  const {
2750
2740
  ref: trackRef,
2751
2741
  scrollPrev,
@@ -2767,7 +2757,7 @@ var TripsCategorySection = react.forwardRef(
2767
2757
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "absolute inset-0 [&>img]:w-full [&>img]:h-full [&>img]:object-cover [&>video]:w-full [&>video]:h-full [&>video]:object-cover", children: /* @__PURE__ */ jsxRuntime.jsx("video", { autoPlay: true, muted: true, loop: true, playsInline: true, poster, src: videoSrc }) }),
2768
2758
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "absolute inset-0 flex flex-col justify-center gap-lg p-[44px] text-on-image [text-shadow:0px_6px_24px_rgba(0,0,0,0.16)]", children: [
2769
2759
  /* @__PURE__ */ jsxRuntime.jsx("h2", { className: "m-0 text-hero-title max-w-[436px]", children: title }),
2770
- /* @__PURE__ */ jsxRuntime.jsx("p", { className: "m-0 text-xs font-bold leading-5", children: description2 }),
2760
+ /* @__PURE__ */ jsxRuntime.jsx("p", { className: "m-0 text-xs font-bold leading-5", children: description }),
2771
2761
  /* @__PURE__ */ jsxRuntime.jsx(
2772
2762
  "button",
2773
2763
  {
@@ -2932,10 +2922,10 @@ var UctMobileBanner = react.forwardRef(
2932
2922
  );
2933
2923
  UctMobileBanner.displayName = "UctMobileBanner";
2934
2924
  var ValuesSection = react.forwardRef(
2935
- ({ heading: heading2, subheading, values, singleOpen = false, className, ...rest }, ref) => {
2925
+ ({ heading, subheading, values, singleOpen = false, className, ...rest }, ref) => {
2936
2926
  const [openIndex, setOpenIndex] = react.useState(null);
2937
2927
  return /* @__PURE__ */ jsxRuntime.jsxs("section", { ref, className: cn("flex flex-col w-full", className), ...rest, children: [
2938
- /* @__PURE__ */ jsxRuntime.jsx(SectionHeader, { heading: heading2, subheading }),
2928
+ /* @__PURE__ */ jsxRuntime.jsx(SectionHeader, { heading, subheading }),
2939
2929
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex flex-col gap-md w-full", children: values.map((value, index) => {
2940
2930
  const serialNumber = index + 1;
2941
2931
  if (!singleOpen) {
@@ -2966,16 +2956,16 @@ var ValuesSection = react.forwardRef(
2966
2956
  );
2967
2957
  ValuesSection.displayName = "ValuesSection";
2968
2958
  var WarriorsSection = react.forwardRef(
2969
- ({ heading: heading2, subheading, warriors, className, ...rest }, ref) => {
2959
+ ({ heading, subheading, warriors, className, ...rest }, ref) => {
2970
2960
  return /* @__PURE__ */ jsxRuntime.jsxs("section", { ref, className: cn("flex flex-col w-full", className), ...rest, children: [
2971
- /* @__PURE__ */ jsxRuntime.jsx(SectionHeader, { heading: heading2, subheading }),
2961
+ /* @__PURE__ */ jsxRuntime.jsx(SectionHeader, { heading, subheading }),
2972
2962
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "grid grid-cols-[repeat(auto-fit,minmax(240px,1fr))] gap-lg w-full", children: warriors.map((warrior) => /* @__PURE__ */ jsxRuntime.jsx(WarriorCard, { ...warrior }, warrior.name)) })
2973
2963
  ] });
2974
2964
  }
2975
2965
  );
2976
2966
  WarriorsSection.displayName = "WarriorsSection";
2977
2967
  var WhyChooseSection = react.forwardRef(
2978
- ({ heading: heading2, features, className, ...rest }, ref) => {
2968
+ ({ heading, features, className, ...rest }, ref) => {
2979
2969
  const { ref: trackRef, activeIndex } = useScrollSnap(features.length);
2980
2970
  return /* @__PURE__ */ jsxRuntime.jsxs(
2981
2971
  "section",
@@ -2990,7 +2980,7 @@ var WhyChooseSection = react.forwardRef(
2990
2980
  ),
2991
2981
  ...rest,
2992
2982
  children: [
2993
- /* @__PURE__ */ jsxRuntime.jsx("h2", { className: "m-0 text-section-h2 text-secondary text-center", children: heading2 }),
2983
+ /* @__PURE__ */ jsxRuntime.jsx("h2", { className: "m-0 text-section-h2 text-secondary text-center", children: heading }),
2994
2984
  /* @__PURE__ */ jsxRuntime.jsx(
2995
2985
  "ul",
2996
2986
  {