@agg-market/ui 0.0.6 → 2.0.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.
Files changed (137) hide show
  1. package/dist/badge.d.mts +5 -3
  2. package/dist/badge.d.ts +5 -3
  3. package/dist/badge.js +52 -12
  4. package/dist/badge.mjs +1 -1
  5. package/dist/button.d.mts +2 -2
  6. package/dist/button.d.ts +2 -2
  7. package/dist/button.js +19 -34
  8. package/dist/button.mjs +2 -2
  9. package/dist/card.d.mts +4 -2
  10. package/dist/card.d.ts +4 -2
  11. package/dist/card.js +8 -4
  12. package/dist/card.mjs +1 -1
  13. package/dist/chart.js +14 -7
  14. package/dist/chart.mjs +2 -2
  15. package/dist/{chunk-ZYREURXK.mjs → chunk-2MJY6RVY.mjs} +35 -35
  16. package/dist/{chunk-P23GR7NX.mjs → chunk-422MCIXV.mjs} +1 -1
  17. package/dist/chunk-4KMFDCAH.mjs +371 -0
  18. package/dist/{chunk-HM3CGN32.mjs → chunk-5GDNWQZS.mjs} +46 -46
  19. package/dist/{chunk-VIP7HSOU.mjs → chunk-5K7VXAYM.mjs} +4 -0
  20. package/dist/{chunk-BJNHDIDW.mjs → chunk-6425RRBI.mjs} +4 -4
  21. package/dist/{chunk-O2XH4A3G.mjs → chunk-7NISYVSJ.mjs} +22 -22
  22. package/dist/{chunk-MXBPDNMC.mjs → chunk-BEDUFOIG.mjs} +95 -22
  23. package/dist/{chunk-VC7LTPQD.mjs → chunk-BN5VVHNV.mjs} +2 -2
  24. package/dist/{chunk-JRS2M5GY.mjs → chunk-CTVMT3VL.mjs} +13 -6
  25. package/dist/{chunk-USLTNDJA.mjs → chunk-D5FTFSKL.mjs} +8 -8
  26. package/dist/{chunk-BLSHXIAH.mjs → chunk-D7JTOGYP.mjs} +6 -11
  27. package/dist/{chunk-W2DMBW4E.mjs → chunk-DL7STJQ5.mjs} +61 -33
  28. package/dist/chunk-ERGNR6UQ.mjs +67 -0
  29. package/dist/chunk-FO263M3V.mjs +10 -0
  30. package/dist/{chunk-3O4U3E5I.mjs → chunk-FO2QCB4Z.mjs} +8 -4
  31. package/dist/{chunk-OGI343OV.mjs → chunk-IGPNIM2B.mjs} +3 -2
  32. package/dist/chunk-K6IJ4WBM.mjs +67 -0
  33. package/dist/{chunk-PGSPYQOW.mjs → chunk-KAGYJ4XT.mjs} +17 -27
  34. package/dist/{chunk-RGZQHSNJ.mjs → chunk-KCPDVBIZ.mjs} +26 -17
  35. package/dist/{chunk-ZHKMDK5M.mjs → chunk-KFOATMAE.mjs} +87 -87
  36. package/dist/{chunk-I4YUYVJJ.mjs → chunk-LK5D3ZTK.mjs} +38 -27
  37. package/dist/{chunk-VUDJ3PYM.mjs → chunk-O46OFVH6.mjs} +40 -16
  38. package/dist/{chunk-RXACBTON.mjs → chunk-OA2IZ3VW.mjs} +16 -22
  39. package/dist/{chunk-F236MLT6.mjs → chunk-PZTHM6WG.mjs} +13 -10
  40. package/dist/{chunk-XELWY7SO.mjs → chunk-QYZKC7KG.mjs} +137 -104
  41. package/dist/{chunk-LWTQD345.mjs → chunk-S3H63TQ5.mjs} +57 -312
  42. package/dist/{chunk-MNSHWA6M.mjs → chunk-TA7LKYKP.mjs} +9 -8
  43. package/dist/{chunk-JH5VMNDL.mjs → chunk-V52WSZHQ.mjs} +8 -7
  44. package/dist/chunk-YJA5VQW6.mjs +167 -0
  45. package/dist/{chunk-EXF4SESB.mjs → chunk-ZFMCCBP6.mjs} +1 -1
  46. package/dist/connect-button.js +51 -73
  47. package/dist/connect-button.mjs +6 -6
  48. package/dist/deposit-modal.js +171 -177
  49. package/dist/deposit-modal.mjs +7 -7
  50. package/dist/event-list-item-details.js +222 -198
  51. package/dist/event-list-item-details.mjs +11 -11
  52. package/dist/event-list-item.js +172 -114
  53. package/dist/event-list-item.mjs +8 -8
  54. package/dist/event-list.js +391 -507
  55. package/dist/event-list.mjs +11 -11
  56. package/dist/event-market-page.d.mts +1 -1
  57. package/dist/event-market-page.d.ts +1 -1
  58. package/dist/event-market-page.js +826 -764
  59. package/dist/event-market-page.mjs +19 -19
  60. package/dist/hello-world.js +28 -16
  61. package/dist/hello-world.mjs +2 -2
  62. package/dist/home-page.js +395 -511
  63. package/dist/home-page.mjs +12 -12
  64. package/dist/icon.d.mts +1 -1
  65. package/dist/icon.d.ts +1 -1
  66. package/dist/icon.js +15 -17
  67. package/dist/icon.mjs +2 -2
  68. package/dist/index.d.mts +6 -6
  69. package/dist/index.d.ts +6 -6
  70. package/dist/index.js +1158 -956
  71. package/dist/index.mjs +34 -32
  72. package/dist/loading-icon.d.mts +1 -1
  73. package/dist/loading-icon.d.ts +1 -1
  74. package/dist/loading-icon.js +5 -9
  75. package/dist/loading-icon.mjs +2 -2
  76. package/dist/market-details.d.mts +2 -2
  77. package/dist/market-details.d.ts +2 -2
  78. package/dist/market-details.js +357 -551
  79. package/dist/market-details.mjs +13 -13
  80. package/dist/modal.js +4 -0
  81. package/dist/modal.mjs +1 -1
  82. package/dist/onboarding-modal.js +63 -67
  83. package/dist/onboarding-modal.mjs +6 -6
  84. package/dist/place-order.d.mts +1 -1
  85. package/dist/place-order.d.ts +1 -1
  86. package/dist/place-order.js +231 -466
  87. package/dist/place-order.mjs +9 -9
  88. package/dist/profile-modal.js +75 -77
  89. package/dist/profile-modal.mjs +6 -6
  90. package/dist/search.d.mts +2 -2
  91. package/dist/search.d.ts +2 -2
  92. package/dist/search.js +28 -34
  93. package/dist/search.mjs +4 -4
  94. package/dist/select.js +104 -99
  95. package/dist/select.mjs +3 -3
  96. package/dist/settlement.d.mts +1 -1
  97. package/dist/settlement.d.ts +1 -1
  98. package/dist/settlement.js +279 -59
  99. package/dist/settlement.mjs +6 -6
  100. package/dist/skeleton.js +15 -10
  101. package/dist/skeleton.mjs +2 -2
  102. package/dist/styles.css +1 -1
  103. package/dist/switch-button.js +13 -6
  104. package/dist/switch-button.mjs +1 -1
  105. package/dist/tabs.d.mts +8 -4
  106. package/dist/tabs.d.ts +8 -4
  107. package/dist/tabs.js +163 -420
  108. package/dist/tabs.mjs +4 -4
  109. package/dist/tailwind.css +1 -1
  110. package/dist/types-BVj9ky9P.d.mts +3 -0
  111. package/dist/types-BVj9ky9P.d.ts +3 -0
  112. package/dist/typography.d.mts +4 -2
  113. package/dist/typography.d.ts +4 -2
  114. package/dist/typography.js +49 -18
  115. package/dist/typography.mjs +5 -3
  116. package/dist/user-profile-page.d.mts +2 -2
  117. package/dist/user-profile-page.d.ts +2 -2
  118. package/dist/user-profile-page.js +200 -474
  119. package/dist/user-profile-page.mjs +7 -7
  120. package/dist/venue-logo.d.mts +2 -2
  121. package/dist/venue-logo.d.ts +2 -2
  122. package/dist/venue-logo.js +6 -11
  123. package/dist/venue-logo.mjs +1 -1
  124. package/dist/{venue-logo.types-BSAuY84j.d.ts → venue-logo.types-D8Cu2rAm.d.ts} +1 -1
  125. package/dist/{venue-logo.types-DACqcTvY.d.mts → venue-logo.types-HRf1yBLD.d.mts} +1 -1
  126. package/dist/withdraw-modal.js +72 -85
  127. package/dist/withdraw-modal.mjs +6 -6
  128. package/package.json +2 -2
  129. package/dist/chunk-AEMAY3MR.mjs +0 -44
  130. package/dist/chunk-DYEWXEEY.mjs +0 -37
  131. package/dist/chunk-QFQHD2V6.mjs +0 -146
  132. package/dist/chunk-ZDF7QP4G.mjs +0 -160
  133. package/dist/chunk-ZVBVGWSP.mjs +0 -15
  134. package/dist/types-Bed6Q0EK.d.mts +0 -3
  135. package/dist/types-Bed6Q0EK.d.ts +0 -3
  136. package/dist/{types-DkGlbmXq.d.mts → types-JBf1DZlH.d.mts} +2 -2
  137. package/dist/{types-DkGlbmXq.d.ts → types-JBf1DZlH.d.ts} +2 -2
@@ -173,6 +173,7 @@ var ModalContainer = ({
173
173
  Dialog.Content,
174
174
  {
175
175
  className: cn(
176
+ "group/agg-modal",
176
177
  "fixed inset-0 z-agg-modal",
177
178
  "flex items-center justify-center p-4",
178
179
  "sm:p-5",
@@ -225,6 +226,7 @@ var ModalHeader = ({
225
226
  "div",
226
227
  {
227
228
  className: cn(
229
+ "group/agg-modal-header",
228
230
  "flex flex-col",
229
231
  "sticky top-0 z-20",
230
232
  "bg-agg-secondary",
@@ -300,6 +302,7 @@ var ModalBody = ({ children, classNames }) => {
300
302
  "div",
301
303
  {
302
304
  className: cn(
305
+ "group/agg-modal-body",
303
306
  "grow overflow-y-auto",
304
307
  "px-4 py-6",
305
308
  "sm:p-8",
@@ -320,6 +323,7 @@ var ModalFooter = ({
320
323
  "div",
321
324
  {
322
325
  className: cn(
326
+ "group/agg-modal-footer",
323
327
  "sticky bottom-0",
324
328
  "bg-agg-secondary",
325
329
  "flex h-[73px] w-full flex-row items-center justify-between gap-3",
@@ -336,7 +340,7 @@ Modal.Footer = ModalFooter;
336
340
  Modal.displayName = "Modal";
337
341
 
338
342
  // src/primitives/venue-logo/logo-props.ts
339
- var DEFAULT_MONOCHROME_COLOR = "#000000";
343
+ var DEFAULT_MONOCHROME_COLOR = "currentColor";
340
344
  var resolveLogoPrimaryColor = ({
341
345
  brandColor,
342
346
  isColor = true,
@@ -540,14 +544,9 @@ var venueLogoLabels = {
540
544
  };
541
545
  var venueLogoNames = Object.keys(venueLogoRegistry);
542
546
  var sizeClasses = {
543
- xxs: "h-2 w-2",
544
- xs: "h-3 w-3",
545
- s: "h-4 w-4",
546
- ms: "h-5 w-5",
547
- m: "h-6 w-6",
548
- l: "h-8 w-8",
549
- xl: "h-10 w-10",
550
- xxl: "h-12 w-12"
547
+ small: "h-4 w-4",
548
+ medium: "h-6 w-6",
549
+ large: "h-8 w-8"
551
550
  };
552
551
 
553
552
  // src/deposit/deposit-modal.constants.ts
@@ -559,43 +558,26 @@ var import_hooks2 = require("@agg-market/hooks");
559
558
 
560
559
  // src/primitives/icon/icon.constants.ts
561
560
  var iconSizeClasses = {
562
- xxs: "h-2 w-2",
563
- xs: "h-3 w-3",
564
- s: "h-4 w-4",
565
- ms: "h-5 w-5",
566
- m: "h-6 w-6",
567
- l: "h-8 w-8",
568
- xl: "h-10 w-10",
569
- xxl: "h-12 w-12"
561
+ small: "h-4 w-4",
562
+ medium: "h-6 w-6",
563
+ large: "h-8 w-8"
570
564
  };
571
565
 
572
566
  // src/primitives/button/button.constants.ts
573
567
  var sizeClasses2 = {
574
- xxs: cn("h-6 px-2.5 gap-1", "text-agg-xs leading-agg-4"),
575
- xs: cn("h-7 px-3 gap-1", "text-agg-xs leading-agg-4"),
576
- s: cn("h-8 px-4 gap-1.5", "text-agg-sm leading-agg-5"),
577
- m: cn("h-9 px-5 gap-1.5", "text-agg-sm leading-agg-5"),
578
- l: cn("h-10 px-6 gap-2", "text-agg-base leading-agg-6"),
579
- xl: cn("h-11 px-7 gap-2", "text-agg-base leading-agg-6"),
580
- xxl: cn("h-12 px-8 gap-2", "text-agg-base leading-agg-6")
568
+ small: cn("h-8 px-4 gap-1.5", "text-agg-sm leading-agg-5"),
569
+ medium: cn("h-9 px-5 gap-1.5", "text-agg-sm leading-agg-5"),
570
+ large: cn("h-10 px-6 gap-2", "text-agg-base leading-agg-6")
581
571
  };
582
572
  var iconSizeClasses2 = {
583
- xxs: iconSizeClasses.xs,
584
- xs: iconSizeClasses.xs,
585
- s: iconSizeClasses.s,
586
- m: iconSizeClasses.s,
587
- l: iconSizeClasses.s,
588
- xl: iconSizeClasses.s,
589
- xxl: iconSizeClasses.s
573
+ small: iconSizeClasses.small,
574
+ medium: iconSizeClasses.small,
575
+ large: iconSizeClasses.small
590
576
  };
591
577
  var iconSlotClasses = {
592
- xxs: "[&_svg]:h-3 [&_svg]:w-3",
593
- xs: "[&_svg]:h-3 [&_svg]:w-3",
594
- s: "[&_svg]:h-4 [&_svg]:w-4",
595
- m: "[&_svg]:h-4 [&_svg]:w-4",
596
- l: "[&_svg]:h-4 [&_svg]:w-4",
597
- xl: "[&_svg]:h-4 [&_svg]:w-4",
598
- xxl: "[&_svg]:h-4 [&_svg]:w-4"
578
+ small: "[&_svg]:h-4 [&_svg]:w-4",
579
+ medium: "[&_svg]:h-4 [&_svg]:w-4",
580
+ large: "[&_svg]:h-4 [&_svg]:w-4"
599
581
  };
600
582
  var variantClasses = {
601
583
  primary: cn(
@@ -611,10 +593,11 @@ var variantClasses = {
611
593
  "focus-visible:ring-agg-separator"
612
594
  ),
613
595
  tertiary: cn(
614
- "bg-transparent text-agg-foreground",
615
- "hover:bg-agg-secondary-hover",
596
+ "bg-transparent text-agg-primary",
597
+ "hover:text-agg-primary-hover",
616
598
  "disabled:bg-transparent disabled:text-agg-muted-foreground",
617
- "focus-visible:ring-agg-separator"
599
+ "focus-visible:ring-agg-separator",
600
+ "px-0! py-0! h-fit!"
618
601
  )
619
602
  };
620
603
  var baseButtonClasses = cn(
@@ -630,7 +613,7 @@ var Button = (_a) => {
630
613
  var _b = _a, {
631
614
  children,
632
615
  variant = "primary",
633
- size = "m",
616
+ size = "medium",
634
617
  isLoading = false,
635
618
  disabled,
636
619
  prefix,
@@ -657,8 +640,9 @@ var Button = (_a) => {
657
640
  __spreadProps(__spreadValues({
658
641
  type,
659
642
  className: cn(
643
+ "group/agg-button",
660
644
  baseButtonClasses,
661
- getMotionClassName(enableAnimations, "transition-colors"),
645
+ getMotionClassName(enableAnimations, "transition-colors duration-200 ease-in-out"),
662
646
  sizeClasses2[size],
663
647
  iconSlotClasses[size],
664
648
  variantClasses[variant],
@@ -696,7 +680,7 @@ var VenueLogo = ({
696
680
  isColor = true,
697
681
  isMonochromatic = false,
698
682
  color,
699
- size = "m",
683
+ size = "medium",
700
684
  className,
701
685
  ariaLabel,
702
686
  title
@@ -708,7 +692,7 @@ var VenueLogo = ({
708
692
  return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
709
693
  Component,
710
694
  {
711
- className: cn("shrink-0", sizeClass, className),
695
+ className: cn("group/agg-venue-logo", "shrink-0", sizeClass, className),
712
696
  isColor: resolvedIsColor,
713
697
  color,
714
698
  "aria-label": ariaLabel != null ? ariaLabel : labels.venues[venue],
@@ -773,14 +757,10 @@ var ArrowsToDotIcon = (_a) => {
773
757
  /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
774
758
  "path",
775
759
  {
776
- d: "M8 2V5M8 11V14M2 8H5M11 8H14M3.76 3.76L5.9 5.9M10.1 10.1L12.24 12.24M12.24 3.76L10.1 5.9M5.9 10.1L3.76 12.24",
777
- stroke: "currentColor",
778
- strokeWidth: "1.25",
779
- strokeLinecap: "round",
780
- strokeLinejoin: "round"
760
+ d: "M8 6.66667C8.73667 6.66667 9.33333 7.26333 9.33333 8C9.33333 8.73667 8.73667 9.33333 8 9.33333C7.26333 9.33333 6.66667 8.73667 6.66667 8C6.66667 7.26333 7.26333 6.66667 8 6.66667ZM5.27867 7.05733L3.39267 5.17133C3.132 4.91067 2.71067 4.91067 2.45 5.17133C2.18933 5.432 2.18933 5.854 2.45 6.114L3.67467 7.33333H0.666667C0.298 7.33333 0 7.632 0 8C0 8.368 0.298 8.66667 0.666667 8.66667H3.662L2.44867 9.88667C2.18867 10.148 2.19 10.5693 2.45133 10.8293C2.71267 11.0893 3.13467 11.088 3.394 10.8267L5.27933 8.93133C5.79467 8.41467 5.79467 7.574 5.27933 7.05667L5.27867 7.05733ZM7.068 5.278C7.56133 5.79267 8.45 5.79267 8.94267 5.278L10.828 3.392C11.0887 3.13133 11.0887 2.70933 10.828 2.44933C10.5673 2.18867 10.146 2.18867 9.88533 2.44933L8.66667 3.674V0.666667C8.66667 0.298667 8.36867 0 8 0C7.63133 0 7.33333 0.298667 7.33333 0.666667V3.662L6.11333 2.44867C5.852 2.18867 5.43067 2.19 5.17067 2.45133C4.91067 2.71267 4.912 3.13467 5.17333 3.394L7.068 5.278ZM8.94267 10.7213C8.42667 10.2053 7.58533 10.2053 7.06867 10.72L5.17267 12.606C4.91133 12.866 4.91 13.2873 5.17 13.5487C5.42933 13.8093 5.85067 13.8113 6.11267 13.5513L7.33267 12.3307V15.3333C7.33267 15.702 7.63067 16 7.99933 16C8.368 16 8.666 15.702 8.666 15.3333V12.3307L9.88467 13.55C10.1453 13.8107 10.5667 13.8107 10.8273 13.55C11.088 13.2893 11.088 12.868 10.8273 12.6073L8.94267 10.7213ZM15.3333 7.33333H12.3307L13.55 6.114C13.8107 5.854 13.8107 5.432 13.55 5.17133C13.2893 4.91067 12.868 4.91067 12.6073 5.17133L10.7213 7.05733C10.2053 7.574 10.2047 8.41467 10.72 8.93133L12.606 10.8273C12.866 11.088 13.2873 11.09 13.5487 10.83C13.81 10.57 13.8113 10.1487 13.5513 9.88733L12.3307 8.66733H15.3333C15.702 8.66733 16 8.36867 16 8.00067C16 7.63267 15.702 7.334 15.3333 7.334V7.33333Z",
761
+ fill: "currentColor"
781
762
  }
782
- ),
783
- /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("circle", { cx: "8", cy: "8", r: "1.5", fill: "currentColor" })
763
+ )
784
764
  ]
785
765
  })
786
766
  );
@@ -1983,7 +1963,7 @@ var Icon = (_a) => {
1983
1963
  var _b = _a, {
1984
1964
  name,
1985
1965
  color,
1986
- size = "m",
1966
+ size = "medium",
1987
1967
  className = "text-agg-primary",
1988
1968
  style
1989
1969
  } = _b, props = __objRest(_b, [
@@ -1996,7 +1976,14 @@ var Icon = (_a) => {
1996
1976
  const Component = iconRegistry[name];
1997
1977
  const resolvedStyle = resolveIconStyle(color, style);
1998
1978
  const resolvedClassName = cn(iconSizeClasses[size], className);
1999
- return /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(Component, __spreadValues({ color, className: resolvedClassName, style: resolvedStyle }, props));
1979
+ return /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
1980
+ Component,
1981
+ __spreadValues({
1982
+ color,
1983
+ className: cn("group/agg-icon", resolvedClassName),
1984
+ style: resolvedStyle
1985
+ }, props)
1986
+ );
2000
1987
  };
2001
1988
  Icon.displayName = "Icon";
2002
1989
 
@@ -2025,17 +2012,17 @@ var VenueRow = ({ venue, onSelect }) => {
2025
2012
  }
2026
2013
  },
2027
2014
  children: [
2028
- /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("div", { className: "shrink-0", children: /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(VenueLogo, { venue: venue.venue, size: "xl", className: "rounded-lg" }) }),
2015
+ /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("div", { className: "shrink-0", children: /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(VenueLogo, { venue: venue.venue, size: "large", className: "rounded-lg" }) }),
2029
2016
  /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)("div", { className: "flex-1 min-w-0", children: [
2030
- /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("p", { className: "text-base font-bold text-foreground leading-6", children: displayName }),
2031
- /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)("p", { className: "text-sm text-muted-foreground leading-5", children: [
2017
+ /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("p", { className: "agg-type-body-strong text-agg-foreground", children: displayName }),
2018
+ /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)("p", { className: "agg-type-label text-agg-muted-foreground", children: [
2032
2019
  "Balance ",
2033
2020
  formatCompactUsd(venue.balance)
2034
2021
  ] })
2035
2022
  ] }),
2036
2023
  hasShortfall ? /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)("div", { className: "hidden sm:flex items-center gap-1.5 shrink-0", children: [
2037
- /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(WarningFilledIcon, { className: "h-4 w-4 text-warning" }),
2038
- /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)("span", { className: "text-sm font-bold text-warning whitespace-nowrap", children: [
2024
+ /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(WarningFilledIcon, { className: "h-4 w-4 text-agg-warning" }),
2025
+ /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)("span", { className: "agg-type-label-strong whitespace-nowrap text-agg-warning", children: [
2039
2026
  "Short ",
2040
2027
  formatCompactUsd(venue.shortfall)
2041
2028
  ] })
@@ -2044,7 +2031,7 @@ var VenueRow = ({ venue, onSelect }) => {
2044
2031
  Button,
2045
2032
  {
2046
2033
  variant: "secondary",
2047
- size: "s",
2034
+ size: "small",
2048
2035
  suffix: /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(ChevronRightIcon, {}),
2049
2036
  onClick: (e) => {
2050
2037
  e.stopPropagation();
@@ -2064,7 +2051,7 @@ var VenueSelectionStep = ({
2064
2051
  }) => /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)(import_jsx_runtime50.Fragment, { children: [
2065
2052
  /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(Modal.Header, { title: "Deposit", hideBorder: true }),
2066
2053
  /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(Modal.Body, { classNames: { root: "px-5 pt-0 pb-6 sm:px-8 sm:pt-0 sm:pb-8" }, children: /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)("div", { className: "flex flex-col gap-4", children: [
2067
- !hasAnyShortfall ? /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("p", { className: "text-base text-foreground leading-6", children: "Choose where to deposit funds:" }) : null,
2054
+ !hasAnyShortfall ? /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("p", { className: "agg-type-body text-agg-foreground", children: "Choose where to deposit funds:" }) : null,
2068
2055
  /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("div", { className: "flex flex-col gap-3", children: venues.map((venue) => /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(VenueRow, { venue, onSelect: onSelectVenue }, venue.venue)) })
2069
2056
  ] }) })
2070
2057
  ] });
@@ -2097,14 +2084,14 @@ var DepositMethodCard = ({
2097
2084
  children: [
2098
2085
  /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("div", { className: "shrink-0 flex items-center justify-center h-10 w-10 rounded-lg bg-secondary-hover", children: icon }),
2099
2086
  /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)("div", { className: "flex-1 min-w-0", children: [
2100
- /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("p", { className: "text-base font-bold text-foreground leading-6", children: title }),
2101
- /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("p", { className: "text-sm text-muted-foreground leading-5", children: description })
2087
+ /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("p", { className: "agg-type-body-strong text-agg-foreground", children: title }),
2088
+ /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("p", { className: "agg-type-label text-agg-muted-foreground", children: description })
2102
2089
  ] }),
2103
2090
  /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("div", { className: "shrink-0", children: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
2104
2091
  Button,
2105
2092
  {
2106
2093
  variant: "secondary",
2107
- size: "s",
2094
+ size: "small",
2108
2095
  suffix: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(ChevronRightIcon, {}),
2109
2096
  onClick: (e) => {
2110
2097
  e.stopPropagation();
@@ -2133,7 +2120,7 @@ var DepositMethodStep = ({
2133
2120
  "button",
2134
2121
  {
2135
2122
  type: "button",
2136
- className: "flex items-center justify-center text-foreground hover:text-foreground/80 transition-colors hover:cursor-pointer mr-2",
2123
+ className: "mr-2 flex items-center justify-center text-agg-foreground transition-colors hover:cursor-pointer hover:text-agg-foreground/80",
2137
2124
  onClick: onBack,
2138
2125
  "aria-label": "Go back",
2139
2126
  children: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(ChevronLeftIcon, { className: "h-6 w-6" })
@@ -2143,8 +2130,8 @@ var DepositMethodStep = ({
2143
2130
  ),
2144
2131
  /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(Modal.Body, { classNames: { root: "px-5 pt-0 pb-6 sm:px-8 sm:pt-0 sm:pb-8" }, children: /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)("div", { className: "flex flex-col gap-4", children: [
2145
2132
  /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)("div", { className: "flex items-center gap-2", children: [
2146
- /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(VenueLogo, { venue: venue.venue, size: "xs", className: "rounded-sm" }),
2147
- /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)("p", { className: "text-sm text-muted-foreground leading-5", children: [
2133
+ /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(VenueLogo, { venue: venue.venue, size: "small", className: "rounded-sm" }),
2134
+ /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)("p", { className: "agg-type-label text-agg-muted-foreground", children: [
2148
2135
  displayName,
2149
2136
  " balance: ",
2150
2137
  formatCompactUsd(venue.balance)
@@ -2154,7 +2141,7 @@ var DepositMethodStep = ({
2154
2141
  /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
2155
2142
  DepositMethodCard,
2156
2143
  {
2157
- icon: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(BoltIcon, { className: "h-6 w-6 text-foreground" }),
2144
+ icon: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(BoltIcon, { className: "h-6 w-6 text-agg-foreground" }),
2158
2145
  title: "Transfer Crypto",
2159
2146
  description: "Send USDC from your blockchain wallet.",
2160
2147
  onContinue: () => onSelectMethod("crypto")
@@ -2163,7 +2150,7 @@ var DepositMethodStep = ({
2163
2150
  /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
2164
2151
  DepositMethodCard,
2165
2152
  {
2166
- icon: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(CreditCardIcon, { className: "h-6 w-6 text-foreground" }),
2153
+ icon: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(CreditCardIcon, { className: "h-6 w-6 text-agg-foreground" }),
2167
2154
  title: "Deposit with Card",
2168
2155
  description: "Buy USDC instantly with a debit or credit card.",
2169
2156
  onContinue: () => onSelectMethod("card")
@@ -2201,7 +2188,7 @@ var Select = ({
2201
2188
  if (!isOpen)
2202
2189
  return;
2203
2190
  const handlePointerDown = (e) => {
2204
- if (containerRef.current && !containerRef.current.contains(e.target)) {
2191
+ if (containerRef.current && !containerRef.current.contains(e == null ? void 0 : e.target)) {
2205
2192
  close();
2206
2193
  }
2207
2194
  };
@@ -2212,7 +2199,7 @@ var Select = ({
2212
2199
  if (!isOpen)
2213
2200
  return;
2214
2201
  const handleKey = (e) => {
2215
- if (e.key === "Escape")
2202
+ if ((e == null ? void 0 : e.key) === "Escape")
2216
2203
  close();
2217
2204
  };
2218
2205
  document.addEventListener("keydown", handleKey);
@@ -2221,7 +2208,7 @@ var Select = ({
2221
2208
  const isDisabled = disabled || !hasEnabledItems;
2222
2209
  const selectedItem = items.find((item) => item.value === value);
2223
2210
  if (!hasAnyIcon) {
2224
- return /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)("label", { className: cn("relative inline-flex w-full", className), children: [
2211
+ return /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)("label", { className: cn("group/agg-select", "relative inline-flex w-full", className), children: [
2225
2212
  /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
2226
2213
  "select",
2227
2214
  {
@@ -2230,7 +2217,7 @@ var Select = ({
2230
2217
  "w-full appearance-none rounded-agg-md border border-agg-separator bg-agg-secondary px-4 py-2 pr-10 font-agg-sans text-agg-sm leading-agg-5 text-agg-foreground outline-none",
2231
2218
  getMotionClassName(
2232
2219
  enableAnimations,
2233
- "transition-[border-color,box-shadow] duration-200 ease-out"
2220
+ "transition-[border-color,box-shadow] duration-200 ease-in-out"
2234
2221
  ),
2235
2222
  "focus:border-agg-primary focus:ring-2 focus:ring-agg-primary/15",
2236
2223
  "disabled:cursor-not-allowed disabled:opacity-60"
@@ -2241,88 +2228,95 @@ var Select = ({
2241
2228
  children: items.map((item) => /* @__PURE__ */ (0, import_jsx_runtime52.jsx)("option", { value: item.value, disabled: item.disabled, children: item.label }, item.value))
2242
2229
  }
2243
2230
  ),
2244
- /* @__PURE__ */ (0, import_jsx_runtime52.jsx)("span", { className: "pointer-events-none absolute inset-y-0 right-3 inline-flex items-center justify-center text-agg-muted-foreground", children: /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(Icon, { name: "chevron-down", size: "s", color: "currentColor" }) })
2231
+ /* @__PURE__ */ (0, import_jsx_runtime52.jsx)("span", { className: "pointer-events-none absolute inset-y-0 right-3 inline-flex items-center justify-center text-agg-muted-foreground", children: /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(Icon, { name: "chevron-down", size: "small", color: "currentColor" }) })
2245
2232
  ] });
2246
2233
  }
2247
- return /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)("div", { ref: containerRef, className: cn("relative inline-flex w-full", className), children: [
2248
- /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)(
2249
- "button",
2250
- {
2251
- type: "button",
2252
- "aria-label": ariaLabel != null ? ariaLabel : labels.common.selectAria,
2253
- "aria-expanded": isOpen,
2254
- "aria-haspopup": "listbox",
2255
- disabled: isDisabled,
2256
- className: cn(
2257
- "w-full rounded-agg-md border border-agg-separator bg-agg-secondary px-4 py-2 pr-10 font-agg-sans text-agg-sm leading-agg-5 text-agg-foreground outline-none",
2258
- "flex items-center gap-2 text-left",
2259
- getMotionClassName(
2260
- enableAnimations,
2261
- "transition-[border-color,box-shadow] duration-200 ease-out"
2262
- ),
2263
- "focus:border-agg-primary focus:ring-2 focus:ring-agg-primary/15",
2264
- "disabled:cursor-not-allowed disabled:opacity-60"
2265
- ),
2266
- onClick: () => setIsOpen((prev) => !prev),
2267
- children: [
2268
- (selectedItem == null ? void 0 : selectedItem.iconUrl) ? /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
2269
- "img",
2270
- {
2271
- src: selectedItem.iconUrl,
2272
- alt: "",
2273
- className: "h-4 w-4 shrink-0 rounded-sm object-contain"
2274
- }
2275
- ) : null,
2276
- /* @__PURE__ */ (0, import_jsx_runtime52.jsx)("span", { className: "flex-1 truncate", children: (_a = selectedItem == null ? void 0 : selectedItem.label) != null ? _a : "" })
2277
- ]
2278
- }
2279
- ),
2280
- /* @__PURE__ */ (0, import_jsx_runtime52.jsx)("span", { className: "pointer-events-none absolute inset-y-0 right-3 inline-flex items-center justify-center text-agg-muted-foreground", children: /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(Icon, { name: "chevron-down", size: "s", color: "currentColor" }) }),
2281
- isOpen ? /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
2282
- "div",
2283
- {
2284
- role: "listbox",
2285
- "aria-label": ariaLabel != null ? ariaLabel : labels.common.selectAria,
2286
- className: "absolute top-full left-0 z-50 mt-1 w-full overflow-hidden rounded-agg-md border border-agg-separator bg-agg-secondary shadow-lg",
2287
- children: items.map((item) => {
2288
- const isSelected = item.value === value;
2289
- return /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)(
2290
- "button",
2291
- {
2292
- type: "button",
2293
- role: "option",
2294
- "aria-selected": isSelected,
2295
- disabled: item.disabled,
2296
- className: cn(
2297
- "flex w-full items-center gap-2 px-4 py-2 text-left text-agg-sm leading-agg-5 outline-none",
2298
- "hover:bg-agg-secondary-hover focus-visible:bg-agg-secondary-hover",
2299
- isSelected ? "font-agg-bold text-agg-primary" : "font-agg-normal text-agg-foreground",
2300
- item.disabled && "cursor-not-allowed opacity-60"
2234
+ return /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)(
2235
+ "div",
2236
+ {
2237
+ ref: containerRef,
2238
+ className: cn("group/agg-select", "relative inline-flex w-full", className),
2239
+ children: [
2240
+ /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)(
2241
+ "button",
2242
+ {
2243
+ type: "button",
2244
+ "aria-label": ariaLabel != null ? ariaLabel : labels.common.selectAria,
2245
+ "aria-expanded": isOpen,
2246
+ "aria-haspopup": "listbox",
2247
+ disabled: isDisabled,
2248
+ className: cn(
2249
+ "w-full rounded-agg-md border border-agg-separator bg-agg-secondary px-4 py-2 pr-10 font-agg-sans text-agg-sm leading-agg-5 text-agg-foreground outline-none",
2250
+ "flex items-center gap-2 text-left",
2251
+ getMotionClassName(
2252
+ enableAnimations,
2253
+ "transition-[border-color,box-shadow] duration-200 ease-in-out"
2301
2254
  ),
2302
- onClick: () => {
2303
- if (!item.disabled) {
2304
- onChange(item.value);
2305
- close();
2255
+ "focus:border-agg-primary focus:ring-2 focus:ring-agg-primary/15",
2256
+ "disabled:cursor-not-allowed disabled:opacity-60"
2257
+ ),
2258
+ onClick: () => setIsOpen((prev) => !prev),
2259
+ children: [
2260
+ (selectedItem == null ? void 0 : selectedItem.iconUrl) ? /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
2261
+ "img",
2262
+ {
2263
+ src: selectedItem.iconUrl,
2264
+ alt: "",
2265
+ className: "h-4 w-4 shrink-0 rounded-sm object-contain"
2306
2266
  }
2307
- },
2308
- children: [
2309
- item.iconUrl ? /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
2310
- "img",
2311
- {
2312
- src: item.iconUrl,
2313
- alt: "",
2314
- className: "h-4 w-4 shrink-0 rounded-sm object-contain"
2315
- }
2316
- ) : null,
2317
- /* @__PURE__ */ (0, import_jsx_runtime52.jsx)("span", { className: "truncate", children: item.label })
2318
- ]
2319
- },
2320
- item.value
2321
- );
2322
- })
2323
- }
2324
- ) : null
2325
- ] });
2267
+ ) : null,
2268
+ /* @__PURE__ */ (0, import_jsx_runtime52.jsx)("span", { className: "flex-1 truncate", children: (_a = selectedItem == null ? void 0 : selectedItem.label) != null ? _a : "" })
2269
+ ]
2270
+ }
2271
+ ),
2272
+ /* @__PURE__ */ (0, import_jsx_runtime52.jsx)("span", { className: "pointer-events-none absolute inset-y-0 right-3 inline-flex items-center justify-center text-agg-muted-foreground", children: /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(Icon, { name: "chevron-down", size: "small", color: "currentColor" }) }),
2273
+ isOpen ? /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
2274
+ "div",
2275
+ {
2276
+ role: "listbox",
2277
+ "aria-label": ariaLabel != null ? ariaLabel : labels.common.selectAria,
2278
+ className: "absolute top-full left-0 z-50 mt-1 w-full overflow-hidden rounded-agg-md border border-agg-separator bg-agg-secondary shadow-lg",
2279
+ children: items.map((item) => {
2280
+ const isSelected = item.value === value;
2281
+ return /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)(
2282
+ "button",
2283
+ {
2284
+ type: "button",
2285
+ role: "option",
2286
+ "aria-selected": isSelected,
2287
+ disabled: item.disabled,
2288
+ className: cn(
2289
+ "flex w-full items-center gap-2 px-4 py-2 text-left text-agg-sm leading-agg-5 outline-none",
2290
+ "hover:bg-agg-secondary-hover focus-visible:bg-agg-secondary-hover",
2291
+ isSelected ? "font-agg-bold text-agg-primary" : "font-agg-normal text-agg-foreground",
2292
+ item.disabled && "cursor-not-allowed opacity-60"
2293
+ ),
2294
+ onClick: () => {
2295
+ if (!item.disabled) {
2296
+ onChange(item.value);
2297
+ close();
2298
+ }
2299
+ },
2300
+ children: [
2301
+ item.iconUrl ? /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
2302
+ "img",
2303
+ {
2304
+ src: item.iconUrl,
2305
+ alt: "",
2306
+ className: "h-4 w-4 shrink-0 rounded-sm object-contain"
2307
+ }
2308
+ ) : null,
2309
+ /* @__PURE__ */ (0, import_jsx_runtime52.jsx)("span", { className: "truncate", children: item.label })
2310
+ ]
2311
+ },
2312
+ item.value
2313
+ );
2314
+ })
2315
+ }
2316
+ ) : null
2317
+ ]
2318
+ }
2319
+ );
2326
2320
  };
2327
2321
  Select.displayName = "Select";
2328
2322
 
@@ -2354,7 +2348,7 @@ var CardDepositStep = ({
2354
2348
  "button",
2355
2349
  {
2356
2350
  type: "button",
2357
- className: "flex items-center justify-center text-foreground hover:text-foreground/80 transition-colors hover:cursor-pointer mr-2",
2351
+ className: "mr-2 flex items-center justify-center text-agg-foreground transition-colors hover:cursor-pointer hover:text-agg-foreground/80",
2358
2352
  onClick: onBack,
2359
2353
  "aria-label": "Go back",
2360
2354
  children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(ChevronLeftIcon, { className: "h-6 w-6" })
@@ -2364,8 +2358,8 @@ var CardDepositStep = ({
2364
2358
  ),
2365
2359
  /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(Modal.Body, { classNames: { root: "px-5 pt-0 pb-6 sm:px-8 sm:pt-0 sm:pb-8" }, children: /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)("div", { className: "flex flex-col gap-6", children: [
2366
2360
  /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)("div", { className: "flex items-center gap-2", children: [
2367
- /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(VenueLogo, { venue: venue.venue, size: "xs", className: "rounded-sm" }),
2368
- /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)("p", { className: "text-sm text-muted-foreground leading-5", children: [
2361
+ /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(VenueLogo, { venue: venue.venue, size: "small", className: "rounded-sm" }),
2362
+ /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)("p", { className: "agg-type-label text-agg-muted-foreground", children: [
2369
2363
  displayName,
2370
2364
  " balance: ",
2371
2365
  formatCompactUsd(venue.balance)
@@ -2384,7 +2378,7 @@ var CardDepositStep = ({
2384
2378
  }
2385
2379
  ) }),
2386
2380
  /* @__PURE__ */ (0, import_jsx_runtime53.jsx)("div", { className: "flex-1 min-w-0", children: /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)("div", { className: "flex items-baseline", children: [
2387
- /* @__PURE__ */ (0, import_jsx_runtime53.jsx)("span", { className: "text-3xl sm:text-4xl font-bold text-foreground leading-none", children: "$" }),
2381
+ /* @__PURE__ */ (0, import_jsx_runtime53.jsx)("span", { className: "agg-type-display text-agg-foreground", children: "$" }),
2388
2382
  /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
2389
2383
  "input",
2390
2384
  {
@@ -2392,8 +2386,8 @@ var CardDepositStep = ({
2392
2386
  inputMode: "decimal",
2393
2387
  "aria-label": "Amount",
2394
2388
  className: cn(
2395
- "w-full bg-transparent text-3xl sm:text-4xl font-bold leading-none outline-none",
2396
- isValid ? "text-foreground" : "text-muted-foreground"
2389
+ "agg-type-display w-full bg-transparent outline-none",
2390
+ isValid ? "text-agg-foreground" : "text-agg-muted-foreground"
2397
2391
  ),
2398
2392
  placeholder: "0",
2399
2393
  value: rawAmount ? formatAmountDisplay(rawAmount) : "",
@@ -2415,12 +2409,12 @@ var CardDepositStep = ({
2415
2409
  tabIndex: 0,
2416
2410
  children: [
2417
2411
  /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)("div", { className: "flex-1 min-w-0", children: [
2418
- /* @__PURE__ */ (0, import_jsx_runtime53.jsx)("p", { className: "text-base font-bold text-foreground leading-6", children: "Provider" }),
2419
- /* @__PURE__ */ (0, import_jsx_runtime53.jsx)("p", { className: "text-sm text-muted-foreground leading-5", children: "Auto-picked for you" })
2412
+ /* @__PURE__ */ (0, import_jsx_runtime53.jsx)("p", { className: "agg-type-body-strong text-agg-foreground", children: "Provider" }),
2413
+ /* @__PURE__ */ (0, import_jsx_runtime53.jsx)("p", { className: "agg-type-label text-agg-muted-foreground", children: "Auto-picked for you" })
2420
2414
  ] }),
2421
2415
  /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)("div", { className: "flex items-center gap-2 shrink-0", children: [
2422
- /* @__PURE__ */ (0, import_jsx_runtime53.jsx)("span", { className: "text-sm font-bold text-foreground", children: "Swapped" }),
2423
- /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(ChevronRightIcon, { className: "h-4 w-4 text-foreground" })
2416
+ /* @__PURE__ */ (0, import_jsx_runtime53.jsx)("span", { className: "agg-type-label-strong text-agg-foreground", children: "Swapped" }),
2417
+ /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(ChevronRightIcon, { className: "h-4 w-4 text-agg-foreground" })
2424
2418
  ] })
2425
2419
  ]
2426
2420
  }
@@ -2429,7 +2423,7 @@ var CardDepositStep = ({
2429
2423
  Button,
2430
2424
  {
2431
2425
  variant: "primary",
2432
- size: "xl",
2426
+ size: "large",
2433
2427
  className: "w-full",
2434
2428
  disabled: !isValid,
2435
2429
  onClick: () => onContinue(numericAmount),
@@ -2535,7 +2529,7 @@ var CryptoTransferStep = ({
2535
2529
  "button",
2536
2530
  {
2537
2531
  type: "button",
2538
- className: "flex items-center justify-center text-foreground hover:text-foreground/80 transition-colors hover:cursor-pointer mr-2",
2532
+ className: "mr-2 flex items-center justify-center text-agg-foreground transition-colors hover:cursor-pointer hover:text-agg-foreground/80",
2539
2533
  onClick: onBack,
2540
2534
  "aria-label": "Go back",
2541
2535
  children: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(ChevronLeftIcon, { className: "h-6 w-6" })
@@ -2547,7 +2541,7 @@ var CryptoTransferStep = ({
2547
2541
  /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)("div", { className: "flex flex-col gap-5", children: [
2548
2542
  /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)("div", { className: "flex gap-6", children: [
2549
2543
  /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)("div", { className: "flex flex-1 flex-col gap-2 min-w-0", children: [
2550
- /* @__PURE__ */ (0, import_jsx_runtime54.jsx)("p", { className: "text-sm font-bold text-foreground leading-5", children: "Supported token" }),
2544
+ /* @__PURE__ */ (0, import_jsx_runtime54.jsx)("p", { className: "agg-type-label-strong text-agg-foreground", children: "Supported token" }),
2551
2545
  /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
2552
2546
  Select,
2553
2547
  {
@@ -2559,7 +2553,7 @@ var CryptoTransferStep = ({
2559
2553
  )
2560
2554
  ] }),
2561
2555
  /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)("div", { className: "flex flex-1 flex-col gap-2 min-w-0", children: [
2562
- /* @__PURE__ */ (0, import_jsx_runtime54.jsx)("p", { className: "text-sm font-bold text-foreground leading-5", children: "Supported network" }),
2556
+ /* @__PURE__ */ (0, import_jsx_runtime54.jsx)("p", { className: "agg-type-label-strong text-agg-foreground", children: "Supported network" }),
2563
2557
  /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
2564
2558
  Select,
2565
2559
  {
@@ -2572,7 +2566,7 @@ var CryptoTransferStep = ({
2572
2566
  ] })
2573
2567
  ] }),
2574
2568
  /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)("div", { className: "flex flex-col gap-2", children: [
2575
- /* @__PURE__ */ (0, import_jsx_runtime54.jsx)("p", { className: "text-sm font-bold text-foreground leading-5", children: "Your deposit address" }),
2569
+ /* @__PURE__ */ (0, import_jsx_runtime54.jsx)("p", { className: "agg-type-label-strong text-agg-foreground", children: "Your deposit address" }),
2576
2570
  /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(
2577
2571
  "div",
2578
2572
  {
@@ -2582,12 +2576,12 @@ var CryptoTransferStep = ({
2582
2576
  "h-10 px-3"
2583
2577
  ),
2584
2578
  children: [
2585
- /* @__PURE__ */ (0, import_jsx_runtime54.jsx)("p", { className: "flex-1 min-w-0 text-base text-foreground leading-6 truncate", children: depositAddress }),
2579
+ /* @__PURE__ */ (0, import_jsx_runtime54.jsx)("p", { className: "agg-type-body flex-1 min-w-0 truncate text-agg-foreground", children: depositAddress }),
2586
2580
  /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
2587
2581
  "button",
2588
2582
  {
2589
2583
  type: "button",
2590
- className: "shrink-0 text-muted-foreground hover:text-foreground transition-colors",
2584
+ className: "shrink-0 text-agg-muted-foreground transition-colors hover:text-agg-foreground",
2591
2585
  onClick: handleCopyAddress,
2592
2586
  "aria-label": "Copy deposit address",
2593
2587
  children: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(CopyIcon, { className: "h-4 w-4" })
@@ -2598,7 +2592,7 @@ var CryptoTransferStep = ({
2598
2592
  )
2599
2593
  ] })
2600
2594
  ] }),
2601
- /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(Button, { variant: "secondary", size: "xl", className: "w-full", onClick: onDone, children: "Done" })
2595
+ /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(Button, { variant: "secondary", size: "large", className: "w-full", onClick: onDone, children: "Done" })
2602
2596
  ] }) })
2603
2597
  ] });
2604
2598
  };
@@ -2611,13 +2605,13 @@ var KalshiStepCard = ({
2611
2605
  description,
2612
2606
  children
2613
2607
  }) => /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)("div", { className: "flex flex-col gap-2 rounded-xl bg-secondary-hover p-4", children: [
2614
- /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)("p", { className: "text-xs font-bold uppercase leading-4 text-muted-foreground", children: [
2608
+ /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)("p", { className: "agg-type-caption-caps text-agg-muted-foreground", children: [
2615
2609
  "Step ",
2616
2610
  step
2617
2611
  ] }),
2618
2612
  /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)("div", { className: "flex flex-col gap-1", children: [
2619
- /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("p", { className: "text-sm font-bold text-foreground leading-5", children: title }),
2620
- /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("p", { className: "text-sm text-foreground leading-5", children: description })
2613
+ /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("p", { className: "agg-type-label-strong text-agg-foreground", children: title }),
2614
+ /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("p", { className: "agg-type-label text-agg-foreground", children: description })
2621
2615
  ] }),
2622
2616
  children
2623
2617
  ] });
@@ -2628,13 +2622,13 @@ var KalshiDepositStep = ({ depositUrl, onDone }) => /* @__PURE__ */ (0, import_j
2628
2622
  VenueLogo,
2629
2623
  {
2630
2624
  venue: "kalshi",
2631
- size: "xl",
2625
+ size: "large",
2632
2626
  className: "h-[60px] w-[60px] rounded-lg"
2633
2627
  }
2634
2628
  ),
2635
2629
  /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)("div", { className: "flex flex-col items-center gap-4 text-center", children: [
2636
- /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("h2", { className: "text-2xl font-bold text-foreground leading-8", children: "Fund Your Kalshi Account" }),
2637
- /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("p", { className: "text-base text-foreground leading-6", children: "To trade on Kalshi you'll need to add funds to your Kalshi balance first. You can do this on Kalshi's site." })
2630
+ /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("h2", { className: "agg-type-heading text-agg-foreground", children: "Fund Your Kalshi Account" }),
2631
+ /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("p", { className: "agg-type-body text-agg-foreground", children: "To trade on Kalshi you'll need to add funds to your Kalshi balance first. You can do this on Kalshi's site." })
2638
2632
  ] }),
2639
2633
  /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)("div", { className: "flex w-full flex-col gap-4", children: [
2640
2634
  /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
@@ -2647,7 +2641,7 @@ var KalshiDepositStep = ({ depositUrl, onDone }) => /* @__PURE__ */ (0, import_j
2647
2641
  Button,
2648
2642
  {
2649
2643
  variant: "secondary",
2650
- size: "s",
2644
+ size: "small",
2651
2645
  suffix: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(ExternalLinkIcon, { className: "h-3.5 w-3.5" }),
2652
2646
  onClick: () => {
2653
2647
  window.open(depositUrl, "_blank", "noopener,noreferrer");
@@ -2674,7 +2668,7 @@ var KalshiDepositStep = ({ depositUrl, onDone }) => /* @__PURE__ */ (0, import_j
2674
2668
  }
2675
2669
  )
2676
2670
  ] }),
2677
- /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(Button, { variant: "secondary", size: "l", onClick: onDone, children: "Done" })
2671
+ /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(Button, { variant: "secondary", size: "large", onClick: onDone, children: "Done" })
2678
2672
  ] }) })
2679
2673
  ] });
2680
2674