@almadar/ui 4.51.16 → 4.53.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- import React21, { forwardRef, useRef, useEffect, useImperativeHandle, useState, useMemo, useCallback, createContext, Component, useContext, useReducer } from 'react';
1
+ import React10, { forwardRef, useRef, useEffect, useImperativeHandle, useState, useMemo, useCallback, createContext, Component, useContext, useReducer } from 'react';
2
2
  import { useThree, useFrame, Canvas } from '@react-three/fiber';
3
3
  import * as THREE6 from 'three';
4
4
  import { Vector3, QuadraticBezierCurve3, MathUtils, Quaternion } from 'three';
@@ -1862,7 +1862,7 @@ function UnitRenderer({
1862
1862
  onAnimationStateChange,
1863
1863
  animationSpeed = 1
1864
1864
  }) {
1865
- const handleUnitClick = React21.useCallback(
1865
+ const handleUnitClick = React10.useCallback(
1866
1866
  (unit) => {
1867
1867
  onUnitClick?.(unit);
1868
1868
  },
@@ -2740,6 +2740,8 @@ GameCanvas3D.displayName = "GameCanvas3D";
2740
2740
  function cn(...inputs) {
2741
2741
  return twMerge(clsx(inputs));
2742
2742
  }
2743
+
2744
+ // components/atoms/Box.tsx
2743
2745
  var paddingStyles = {
2744
2746
  none: "p-0",
2745
2747
  xs: "p-1",
@@ -2842,7 +2844,7 @@ var positionStyles = {
2842
2844
  fixed: "fixed",
2843
2845
  sticky: "sticky"
2844
2846
  };
2845
- var Box = React21.forwardRef(
2847
+ var Box = React10.forwardRef(
2846
2848
  ({
2847
2849
  padding,
2848
2850
  paddingX,
@@ -2892,38 +2894,26 @@ var Box = React21.forwardRef(
2892
2894
  onMouseLeave?.(e);
2893
2895
  }, [hoverEvent, eventBus, onMouseLeave]);
2894
2896
  const isClickable = action || onClick;
2895
- const Comp = Component2;
2896
- return /* @__PURE__ */ jsx(
2897
- Comp,
2897
+ return React10.createElement(
2898
+ Component2,
2898
2899
  {
2899
2900
  ref,
2900
2901
  className: cn(
2901
- // Padding
2902
2902
  padding && paddingStyles[padding],
2903
2903
  paddingX && paddingXStyles[paddingX],
2904
2904
  paddingY && paddingYStyles[paddingY],
2905
- // Margin
2906
2905
  margin && marginStyles[margin],
2907
2906
  marginX && marginXStyles[marginX],
2908
2907
  marginY && marginYStyles[marginY],
2909
- // Background
2910
2908
  bgStyles[bg],
2911
- // Border - uses theme variables
2912
2909
  border && "border-[length:var(--border-width)] border-border",
2913
- // Rounded
2914
2910
  roundedStyles[rounded],
2915
- // Shadow
2916
2911
  shadowStyles[shadow],
2917
- // Display
2918
2912
  display && displayStyles[display],
2919
- // Dimensions
2920
2913
  fullWidth && "w-full",
2921
2914
  fullHeight && "h-full",
2922
- // Overflow
2923
2915
  overflow && overflowStyles[overflow],
2924
- // Position
2925
2916
  position && positionStyles[position],
2926
- // Cursor for clickable
2927
2917
  isClickable && "cursor-pointer",
2928
2918
  className
2929
2919
  ),
@@ -2931,9 +2921,9 @@ var Box = React21.forwardRef(
2931
2921
  onMouseEnter: hoverEvent || onMouseEnter ? handleMouseEnter : void 0,
2932
2922
  onMouseLeave: hoverEvent || onMouseLeave ? handleMouseLeave : void 0,
2933
2923
  style: maxWidth ? { maxWidth, ...rest.style } : rest.style,
2934
- ...rest,
2935
- children
2936
- }
2924
+ ...rest
2925
+ },
2926
+ children
2937
2927
  );
2938
2928
  }
2939
2929
  );
@@ -5630,7 +5620,7 @@ var Avl3DViewer = ({
5630
5620
  const handleTraitClick = useCallback((name) => {
5631
5621
  dispatch({ type: "ZOOM_INTO_TRAIT", trait: name, targetPosition: { x: 0, y: 0 } });
5632
5622
  }, []);
5633
- const [highlightedTrait, setHighlightedTrait] = React21.useState(null);
5623
+ const [highlightedTrait, setHighlightedTrait] = React10.useState(null);
5634
5624
  const handleTransitionClick = useCallback((index) => {
5635
5625
  dispatch({ type: "ZOOM_INTO_TRANSITION", transitionIndex: index, targetPosition: { x: 0, y: 0 } });
5636
5626
  }, []);
@@ -5717,7 +5707,7 @@ var Avl3DViewer = ({
5717
5707
  gap: "xs",
5718
5708
  align: "center",
5719
5709
  className: "absolute top-2 left-2 z-10 bg-surface/80 backdrop-blur rounded-md px-3 py-1.5",
5720
- children: breadcrumbs.map((crumb, i) => /* @__PURE__ */ jsxs(React21.Fragment, { children: [
5710
+ children: breadcrumbs.map((crumb, i) => /* @__PURE__ */ jsxs(React10.Fragment, { children: [
5721
5711
  i > 0 && /* @__PURE__ */ jsx(Typography, { variant: "small", color: "muted", className: "mx-1", children: "/" }),
5722
5712
  i < breadcrumbs.length - 1 ? /* @__PURE__ */ jsx(
5723
5713
  Box,
@@ -2625,6 +2625,8 @@ function useEventBus() {
2625
2625
  };
2626
2626
  }, [baseBus, scope]);
2627
2627
  }
2628
+
2629
+ // components/atoms/Box.tsx
2628
2630
  var paddingStyles = {
2629
2631
  none: "p-0",
2630
2632
  xs: "p-1",
@@ -2777,38 +2779,26 @@ var Box = React5__default.default.forwardRef(
2777
2779
  onMouseLeave?.(e);
2778
2780
  }, [hoverEvent, eventBus, onMouseLeave]);
2779
2781
  const isClickable = action || onClick;
2780
- const Comp = Component;
2781
- return /* @__PURE__ */ jsxRuntime.jsx(
2782
- Comp,
2782
+ return React5__default.default.createElement(
2783
+ Component,
2783
2784
  {
2784
2785
  ref,
2785
2786
  className: cn(
2786
- // Padding
2787
2787
  padding && paddingStyles[padding],
2788
2788
  paddingX && paddingXStyles[paddingX],
2789
2789
  paddingY && paddingYStyles[paddingY],
2790
- // Margin
2791
2790
  margin && marginStyles[margin],
2792
2791
  marginX && marginXStyles[marginX],
2793
2792
  marginY && marginYStyles[marginY],
2794
- // Background
2795
2793
  bgStyles[bg],
2796
- // Border - uses theme variables
2797
2794
  border && "border-[length:var(--border-width)] border-border",
2798
- // Rounded
2799
2795
  roundedStyles[rounded],
2800
- // Shadow
2801
2796
  shadowStyles[shadow],
2802
- // Display
2803
2797
  display && displayStyles[display],
2804
- // Dimensions
2805
2798
  fullWidth && "w-full",
2806
2799
  fullHeight && "h-full",
2807
- // Overflow
2808
2800
  overflow && overflowStyles[overflow],
2809
- // Position
2810
2801
  position && positionStyles[position],
2811
- // Cursor for clickable
2812
2802
  isClickable && "cursor-pointer",
2813
2803
  className
2814
2804
  ),
@@ -2816,9 +2806,9 @@ var Box = React5__default.default.forwardRef(
2816
2806
  onMouseEnter: hoverEvent || onMouseEnter ? handleMouseEnter : void 0,
2817
2807
  onMouseLeave: hoverEvent || onMouseLeave ? handleMouseLeave : void 0,
2818
2808
  style: maxWidth ? { maxWidth, ...rest.style } : rest.style,
2819
- ...rest,
2820
- children
2821
- }
2809
+ ...rest
2810
+ },
2811
+ children
2822
2812
  );
2823
2813
  }
2824
2814
  );
@@ -1,6 +1,6 @@
1
1
  import React5, { createContext, useCallback, useContext, useMemo, useState, useRef, useEffect } from 'react';
2
2
  import { createLogger } from '@almadar/logger';
3
- import { jsx, jsxs } from 'react/jsx-runtime';
3
+ import { jsxs, jsx } from 'react/jsx-runtime';
4
4
  import * as LucideIcons from 'lucide-react';
5
5
  import { Loader2, ChevronDown, X } from 'lucide-react';
6
6
 
@@ -2601,6 +2601,8 @@ function useEventBus() {
2601
2601
  };
2602
2602
  }, [baseBus, scope]);
2603
2603
  }
2604
+
2605
+ // components/atoms/Box.tsx
2604
2606
  var paddingStyles = {
2605
2607
  none: "p-0",
2606
2608
  xs: "p-1",
@@ -2753,38 +2755,26 @@ var Box = React5.forwardRef(
2753
2755
  onMouseLeave?.(e);
2754
2756
  }, [hoverEvent, eventBus, onMouseLeave]);
2755
2757
  const isClickable = action || onClick;
2756
- const Comp = Component;
2757
- return /* @__PURE__ */ jsx(
2758
- Comp,
2758
+ return React5.createElement(
2759
+ Component,
2759
2760
  {
2760
2761
  ref,
2761
2762
  className: cn(
2762
- // Padding
2763
2763
  padding && paddingStyles[padding],
2764
2764
  paddingX && paddingXStyles[paddingX],
2765
2765
  paddingY && paddingYStyles[paddingY],
2766
- // Margin
2767
2766
  margin && marginStyles[margin],
2768
2767
  marginX && marginXStyles[marginX],
2769
2768
  marginY && marginYStyles[marginY],
2770
- // Background
2771
2769
  bgStyles[bg],
2772
- // Border - uses theme variables
2773
2770
  border && "border-[length:var(--border-width)] border-border",
2774
- // Rounded
2775
2771
  roundedStyles[rounded],
2776
- // Shadow
2777
2772
  shadowStyles[shadow],
2778
- // Display
2779
2773
  display && displayStyles[display],
2780
- // Dimensions
2781
2774
  fullWidth && "w-full",
2782
2775
  fullHeight && "h-full",
2783
- // Overflow
2784
2776
  overflow && overflowStyles[overflow],
2785
- // Position
2786
2777
  position && positionStyles[position],
2787
- // Cursor for clickable
2788
2778
  isClickable && "cursor-pointer",
2789
2779
  className
2790
2780
  ),
@@ -2792,9 +2782,9 @@ var Box = React5.forwardRef(
2792
2782
  onMouseEnter: hoverEvent || onMouseEnter ? handleMouseEnter : void 0,
2793
2783
  onMouseLeave: hoverEvent || onMouseLeave ? handleMouseLeave : void 0,
2794
2784
  style: maxWidth ? { maxWidth, ...rest.style } : rest.style,
2795
- ...rest,
2796
- children
2797
- }
2785
+ ...rest
2786
+ },
2787
+ children
2798
2788
  );
2799
2789
  }
2800
2790
  );
@@ -2625,6 +2625,8 @@ function useEventBus() {
2625
2625
  };
2626
2626
  }, [baseBus, scope]);
2627
2627
  }
2628
+
2629
+ // components/atoms/Box.tsx
2628
2630
  var paddingStyles = {
2629
2631
  none: "p-0",
2630
2632
  xs: "p-1",
@@ -2777,38 +2779,26 @@ var Box = React6__default.default.forwardRef(
2777
2779
  onMouseLeave?.(e);
2778
2780
  }, [hoverEvent, eventBus, onMouseLeave]);
2779
2781
  const isClickable = action || onClick;
2780
- const Comp = Component;
2781
- return /* @__PURE__ */ jsxRuntime.jsx(
2782
- Comp,
2782
+ return React6__default.default.createElement(
2783
+ Component,
2783
2784
  {
2784
2785
  ref,
2785
2786
  className: cn(
2786
- // Padding
2787
2787
  padding && paddingStyles[padding],
2788
2788
  paddingX && paddingXStyles[paddingX],
2789
2789
  paddingY && paddingYStyles[paddingY],
2790
- // Margin
2791
2790
  margin && marginStyles[margin],
2792
2791
  marginX && marginXStyles[marginX],
2793
2792
  marginY && marginYStyles[marginY],
2794
- // Background
2795
2793
  bgStyles[bg],
2796
- // Border - uses theme variables
2797
2794
  border && "border-[length:var(--border-width)] border-border",
2798
- // Rounded
2799
2795
  roundedStyles[rounded],
2800
- // Shadow
2801
2796
  shadowStyles[shadow],
2802
- // Display
2803
2797
  display && displayStyles[display],
2804
- // Dimensions
2805
2798
  fullWidth && "w-full",
2806
2799
  fullHeight && "h-full",
2807
- // Overflow
2808
2800
  overflow && overflowStyles[overflow],
2809
- // Position
2810
2801
  position && positionStyles[position],
2811
- // Cursor for clickable
2812
2802
  isClickable && "cursor-pointer",
2813
2803
  className
2814
2804
  ),
@@ -2816,9 +2806,9 @@ var Box = React6__default.default.forwardRef(
2816
2806
  onMouseEnter: hoverEvent || onMouseEnter ? handleMouseEnter : void 0,
2817
2807
  onMouseLeave: hoverEvent || onMouseLeave ? handleMouseLeave : void 0,
2818
2808
  style: maxWidth ? { maxWidth, ...rest.style } : rest.style,
2819
- ...rest,
2820
- children
2821
- }
2809
+ ...rest
2810
+ },
2811
+ children
2822
2812
  );
2823
2813
  }
2824
2814
  );
@@ -3911,10 +3901,10 @@ var gapStyles2 = {
3911
3901
  var colStyles = {
3912
3902
  1: "grid-cols-1",
3913
3903
  2: "grid-cols-1 sm:grid-cols-2",
3914
- 3: "grid-cols-1 sm:grid-cols-2 lg:grid-cols-3",
3915
- 4: "grid-cols-1 sm:grid-cols-2 lg:grid-cols-4",
3916
- 5: "grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-5",
3917
- 6: "grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-6"
3904
+ 3: "grid-cols-1 sm:grid-cols-2 md:grid-cols-3",
3905
+ 4: "grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4",
3906
+ 5: "grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4 xl:grid-cols-5",
3907
+ 6: "grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4 xl:grid-cols-6"
3918
3908
  };
3919
3909
  var SimpleGrid = ({
3920
3910
  minChildWidth = 250,
@@ -3925,12 +3915,12 @@ var SimpleGrid = ({
3925
3915
  children
3926
3916
  }) => {
3927
3917
  if (cols) {
3928
- return /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("grid", colStyles[cols], gapStyles2[gap], className), children });
3918
+ return /* @__PURE__ */ jsxRuntime.jsx(Box, { className: cn("grid", colStyles[cols], gapStyles2[gap], className), children });
3929
3919
  }
3930
3920
  const minWidth = typeof minChildWidth === "number" ? `${minChildWidth}px` : minChildWidth;
3931
3921
  const templateColumns = maxCols ? `repeat(auto-fit, minmax(min(${minWidth}, 100%), 1fr))` : `repeat(auto-fit, minmax(${minWidth}, 1fr))`;
3932
3922
  return /* @__PURE__ */ jsxRuntime.jsx(
3933
- "div",
3923
+ Box,
3934
3924
  {
3935
3925
  className: cn("grid", gapStyles2[gap], className),
3936
3926
  style: {
@@ -4088,9 +4078,9 @@ var SplitSection = ({
4088
4078
  className
4089
4079
  ),
4090
4080
  padding: "lg",
4091
- children: /* @__PURE__ */ jsxRuntime.jsxs(Box, { className: cn("w-full flex flex-col lg:flex-row gap-10 lg:gap-16 items-center", isImageLeft && "lg:flex-row-reverse"), children: [
4092
- /* @__PURE__ */ jsxRuntime.jsx(Box, { className: "flex-1 min-w-0 lg:min-w-[45%]", children: textContent }),
4093
- /* @__PURE__ */ jsxRuntime.jsx(Box, { className: "flex-1 min-w-0 lg:max-w-[50%]", children: mediaContent })
4081
+ children: /* @__PURE__ */ jsxRuntime.jsxs(Box, { className: cn("w-full flex flex-col md:flex-row gap-8 md:gap-12 lg:gap-16 items-center", isImageLeft && "md:flex-row-reverse"), children: [
4082
+ /* @__PURE__ */ jsxRuntime.jsx(Box, { className: "flex-1 min-w-0 md:min-w-[45%]", children: textContent }),
4083
+ /* @__PURE__ */ jsxRuntime.jsx(Box, { className: "flex-1 min-w-0 md:max-w-[50%]", children: mediaContent })
4094
4084
  ] })
4095
4085
  }
4096
4086
  );
@@ -4118,7 +4108,16 @@ var StepCircle = ({ step, index }) => {
4118
4108
  "flex items-center justify-center",
4119
4109
  "bg-primary text-primary-foreground"
4120
4110
  ),
4121
- children: /* @__PURE__ */ jsxRuntime.jsx("span", { className: "font-semibold text-sm text-primary-foreground leading-none", children: step.number ?? index + 1 })
4111
+ children: /* @__PURE__ */ jsxRuntime.jsx(
4112
+ Typography,
4113
+ {
4114
+ as: "span",
4115
+ variant: "small",
4116
+ weight: "semibold",
4117
+ className: "text-primary-foreground leading-none",
4118
+ children: step.number ?? index + 1
4119
+ }
4120
+ )
4122
4121
  }
4123
4122
  );
4124
4123
  };
@@ -4508,6 +4507,11 @@ var CaseStudyCard = ({
4508
4507
  ] }) });
4509
4508
  };
4510
4509
  CaseStudyCard.displayName = "CaseStudyCard";
4510
+ var maxWidthMap = {
4511
+ sm: "max-w-full sm:max-w-xl md:max-w-2xl",
4512
+ md: "max-w-full sm:max-w-2xl md:max-w-3xl",
4513
+ lg: "max-w-full sm:max-w-3xl md:max-w-4xl"
4514
+ };
4511
4515
  var ArticleSection = ({
4512
4516
  title,
4513
4517
  children,
@@ -4522,7 +4526,7 @@ var ArticleSection = ({
4522
4526
  className
4523
4527
  ),
4524
4528
  padding: "md",
4525
- children: /* @__PURE__ */ jsxRuntime.jsxs(VStack, { gap: "lg", align: "start", children: [
4529
+ children: /* @__PURE__ */ jsxRuntime.jsxs(VStack, { gap: "lg", align: "start", className: cn("w-full mx-auto", maxWidthMap[maxWidth]), children: [
4526
4530
  /* @__PURE__ */ jsxRuntime.jsx(Typography, { variant: "h2", children: title }),
4527
4531
  /* @__PURE__ */ jsxRuntime.jsx(Box, { className: "w-full", children })
4528
4532
  ] })
@@ -1,6 +1,6 @@
1
1
  import React6, { createContext, useCallback, useState, useRef, useEffect, useContext, useMemo, useId } from 'react';
2
2
  import { createLogger } from '@almadar/logger';
3
- import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
3
+ import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
4
4
  import * as LucideIcons from 'lucide-react';
5
5
  import { Loader2, Check, User } from 'lucide-react';
6
6
 
@@ -2601,6 +2601,8 @@ function useEventBus() {
2601
2601
  };
2602
2602
  }, [baseBus, scope]);
2603
2603
  }
2604
+
2605
+ // components/atoms/Box.tsx
2604
2606
  var paddingStyles = {
2605
2607
  none: "p-0",
2606
2608
  xs: "p-1",
@@ -2753,38 +2755,26 @@ var Box = React6.forwardRef(
2753
2755
  onMouseLeave?.(e);
2754
2756
  }, [hoverEvent, eventBus, onMouseLeave]);
2755
2757
  const isClickable = action || onClick;
2756
- const Comp = Component;
2757
- return /* @__PURE__ */ jsx(
2758
- Comp,
2758
+ return React6.createElement(
2759
+ Component,
2759
2760
  {
2760
2761
  ref,
2761
2762
  className: cn(
2762
- // Padding
2763
2763
  padding && paddingStyles[padding],
2764
2764
  paddingX && paddingXStyles[paddingX],
2765
2765
  paddingY && paddingYStyles[paddingY],
2766
- // Margin
2767
2766
  margin && marginStyles[margin],
2768
2767
  marginX && marginXStyles[marginX],
2769
2768
  marginY && marginYStyles[marginY],
2770
- // Background
2771
2769
  bgStyles[bg],
2772
- // Border - uses theme variables
2773
2770
  border && "border-[length:var(--border-width)] border-border",
2774
- // Rounded
2775
2771
  roundedStyles[rounded],
2776
- // Shadow
2777
2772
  shadowStyles[shadow],
2778
- // Display
2779
2773
  display && displayStyles[display],
2780
- // Dimensions
2781
2774
  fullWidth && "w-full",
2782
2775
  fullHeight && "h-full",
2783
- // Overflow
2784
2776
  overflow && overflowStyles[overflow],
2785
- // Position
2786
2777
  position && positionStyles[position],
2787
- // Cursor for clickable
2788
2778
  isClickable && "cursor-pointer",
2789
2779
  className
2790
2780
  ),
@@ -2792,9 +2782,9 @@ var Box = React6.forwardRef(
2792
2782
  onMouseEnter: hoverEvent || onMouseEnter ? handleMouseEnter : void 0,
2793
2783
  onMouseLeave: hoverEvent || onMouseLeave ? handleMouseLeave : void 0,
2794
2784
  style: maxWidth ? { maxWidth, ...rest.style } : rest.style,
2795
- ...rest,
2796
- children
2797
- }
2785
+ ...rest
2786
+ },
2787
+ children
2798
2788
  );
2799
2789
  }
2800
2790
  );
@@ -3887,10 +3877,10 @@ var gapStyles2 = {
3887
3877
  var colStyles = {
3888
3878
  1: "grid-cols-1",
3889
3879
  2: "grid-cols-1 sm:grid-cols-2",
3890
- 3: "grid-cols-1 sm:grid-cols-2 lg:grid-cols-3",
3891
- 4: "grid-cols-1 sm:grid-cols-2 lg:grid-cols-4",
3892
- 5: "grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-5",
3893
- 6: "grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-6"
3880
+ 3: "grid-cols-1 sm:grid-cols-2 md:grid-cols-3",
3881
+ 4: "grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4",
3882
+ 5: "grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4 xl:grid-cols-5",
3883
+ 6: "grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4 xl:grid-cols-6"
3894
3884
  };
3895
3885
  var SimpleGrid = ({
3896
3886
  minChildWidth = 250,
@@ -3901,12 +3891,12 @@ var SimpleGrid = ({
3901
3891
  children
3902
3892
  }) => {
3903
3893
  if (cols) {
3904
- return /* @__PURE__ */ jsx("div", { className: cn("grid", colStyles[cols], gapStyles2[gap], className), children });
3894
+ return /* @__PURE__ */ jsx(Box, { className: cn("grid", colStyles[cols], gapStyles2[gap], className), children });
3905
3895
  }
3906
3896
  const minWidth = typeof minChildWidth === "number" ? `${minChildWidth}px` : minChildWidth;
3907
3897
  const templateColumns = maxCols ? `repeat(auto-fit, minmax(min(${minWidth}, 100%), 1fr))` : `repeat(auto-fit, minmax(${minWidth}, 1fr))`;
3908
3898
  return /* @__PURE__ */ jsx(
3909
- "div",
3899
+ Box,
3910
3900
  {
3911
3901
  className: cn("grid", gapStyles2[gap], className),
3912
3902
  style: {
@@ -4064,9 +4054,9 @@ var SplitSection = ({
4064
4054
  className
4065
4055
  ),
4066
4056
  padding: "lg",
4067
- children: /* @__PURE__ */ jsxs(Box, { className: cn("w-full flex flex-col lg:flex-row gap-10 lg:gap-16 items-center", isImageLeft && "lg:flex-row-reverse"), children: [
4068
- /* @__PURE__ */ jsx(Box, { className: "flex-1 min-w-0 lg:min-w-[45%]", children: textContent }),
4069
- /* @__PURE__ */ jsx(Box, { className: "flex-1 min-w-0 lg:max-w-[50%]", children: mediaContent })
4057
+ children: /* @__PURE__ */ jsxs(Box, { className: cn("w-full flex flex-col md:flex-row gap-8 md:gap-12 lg:gap-16 items-center", isImageLeft && "md:flex-row-reverse"), children: [
4058
+ /* @__PURE__ */ jsx(Box, { className: "flex-1 min-w-0 md:min-w-[45%]", children: textContent }),
4059
+ /* @__PURE__ */ jsx(Box, { className: "flex-1 min-w-0 md:max-w-[50%]", children: mediaContent })
4070
4060
  ] })
4071
4061
  }
4072
4062
  );
@@ -4094,7 +4084,16 @@ var StepCircle = ({ step, index }) => {
4094
4084
  "flex items-center justify-center",
4095
4085
  "bg-primary text-primary-foreground"
4096
4086
  ),
4097
- children: /* @__PURE__ */ jsx("span", { className: "font-semibold text-sm text-primary-foreground leading-none", children: step.number ?? index + 1 })
4087
+ children: /* @__PURE__ */ jsx(
4088
+ Typography,
4089
+ {
4090
+ as: "span",
4091
+ variant: "small",
4092
+ weight: "semibold",
4093
+ className: "text-primary-foreground leading-none",
4094
+ children: step.number ?? index + 1
4095
+ }
4096
+ )
4098
4097
  }
4099
4098
  );
4100
4099
  };
@@ -4484,6 +4483,11 @@ var CaseStudyCard = ({
4484
4483
  ] }) });
4485
4484
  };
4486
4485
  CaseStudyCard.displayName = "CaseStudyCard";
4486
+ var maxWidthMap = {
4487
+ sm: "max-w-full sm:max-w-xl md:max-w-2xl",
4488
+ md: "max-w-full sm:max-w-2xl md:max-w-3xl",
4489
+ lg: "max-w-full sm:max-w-3xl md:max-w-4xl"
4490
+ };
4487
4491
  var ArticleSection = ({
4488
4492
  title,
4489
4493
  children,
@@ -4498,7 +4502,7 @@ var ArticleSection = ({
4498
4502
  className
4499
4503
  ),
4500
4504
  padding: "md",
4501
- children: /* @__PURE__ */ jsxs(VStack, { gap: "lg", align: "start", children: [
4505
+ children: /* @__PURE__ */ jsxs(VStack, { gap: "lg", align: "start", className: cn("w-full mx-auto", maxWidthMap[maxWidth]), children: [
4502
4506
  /* @__PURE__ */ jsx(Typography, { variant: "h2", children: title }),
4503
4507
  /* @__PURE__ */ jsx(Box, { className: "w-full", children })
4504
4508
  ] })