@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
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  Modal
3
- } from "./chunk-VIP7HSOU.mjs";
3
+ } from "./chunk-5K7VXAYM.mjs";
4
4
  import {
5
5
  Select
6
- } from "./chunk-ZDF7QP4G.mjs";
6
+ } from "./chunk-YJA5VQW6.mjs";
7
7
  import {
8
8
  VenueLogo,
9
9
  venueLogoLabels
10
- } from "./chunk-BLSHXIAH.mjs";
10
+ } from "./chunk-D7JTOGYP.mjs";
11
11
  import {
12
12
  BoltIcon,
13
13
  ChevronLeftIcon,
@@ -16,10 +16,10 @@ import {
16
16
  CreditCardIcon,
17
17
  ExternalLinkIcon,
18
18
  WarningFilledIcon
19
- } from "./chunk-F236MLT6.mjs";
19
+ } from "./chunk-PZTHM6WG.mjs";
20
20
  import {
21
21
  Button
22
- } from "./chunk-PGSPYQOW.mjs";
22
+ } from "./chunk-KAGYJ4XT.mjs";
23
23
  import {
24
24
  cn,
25
25
  formatAmountDisplay,
@@ -58,17 +58,17 @@ var VenueRow = ({ venue, onSelect }) => {
58
58
  }
59
59
  },
60
60
  children: [
61
- /* @__PURE__ */ jsx("div", { className: "shrink-0", children: /* @__PURE__ */ jsx(VenueLogo, { venue: venue.venue, size: "xl", className: "rounded-lg" }) }),
61
+ /* @__PURE__ */ jsx("div", { className: "shrink-0", children: /* @__PURE__ */ jsx(VenueLogo, { venue: venue.venue, size: "large", className: "rounded-lg" }) }),
62
62
  /* @__PURE__ */ jsxs("div", { className: "flex-1 min-w-0", children: [
63
- /* @__PURE__ */ jsx("p", { className: "text-base font-bold text-foreground leading-6", children: displayName }),
64
- /* @__PURE__ */ jsxs("p", { className: "text-sm text-muted-foreground leading-5", children: [
63
+ /* @__PURE__ */ jsx("p", { className: "agg-type-body-strong text-agg-foreground", children: displayName }),
64
+ /* @__PURE__ */ jsxs("p", { className: "agg-type-label text-agg-muted-foreground", children: [
65
65
  "Balance ",
66
66
  formatCompactUsd(venue.balance)
67
67
  ] })
68
68
  ] }),
69
69
  hasShortfall ? /* @__PURE__ */ jsxs("div", { className: "hidden sm:flex items-center gap-1.5 shrink-0", children: [
70
- /* @__PURE__ */ jsx(WarningFilledIcon, { className: "h-4 w-4 text-warning" }),
71
- /* @__PURE__ */ jsxs("span", { className: "text-sm font-bold text-warning whitespace-nowrap", children: [
70
+ /* @__PURE__ */ jsx(WarningFilledIcon, { className: "h-4 w-4 text-agg-warning" }),
71
+ /* @__PURE__ */ jsxs("span", { className: "agg-type-label-strong whitespace-nowrap text-agg-warning", children: [
72
72
  "Short ",
73
73
  formatCompactUsd(venue.shortfall)
74
74
  ] })
@@ -77,7 +77,7 @@ var VenueRow = ({ venue, onSelect }) => {
77
77
  Button,
78
78
  {
79
79
  variant: "secondary",
80
- size: "s",
80
+ size: "small",
81
81
  suffix: /* @__PURE__ */ jsx(ChevronRightIcon, {}),
82
82
  onClick: (e) => {
83
83
  e.stopPropagation();
@@ -97,7 +97,7 @@ var VenueSelectionStep = ({
97
97
  }) => /* @__PURE__ */ jsxs(Fragment, { children: [
98
98
  /* @__PURE__ */ jsx(Modal.Header, { title: "Deposit", hideBorder: true }),
99
99
  /* @__PURE__ */ jsx(Modal.Body, { classNames: { root: "px-5 pt-0 pb-6 sm:px-8 sm:pt-0 sm:pb-8" }, children: /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-4", children: [
100
- !hasAnyShortfall ? /* @__PURE__ */ jsx("p", { className: "text-base text-foreground leading-6", children: "Choose where to deposit funds:" }) : null,
100
+ !hasAnyShortfall ? /* @__PURE__ */ jsx("p", { className: "agg-type-body text-agg-foreground", children: "Choose where to deposit funds:" }) : null,
101
101
  /* @__PURE__ */ jsx("div", { className: "flex flex-col gap-3", children: venues.map((venue) => /* @__PURE__ */ jsx(VenueRow, { venue, onSelect: onSelectVenue }, venue.venue)) })
102
102
  ] }) })
103
103
  ] });
@@ -130,14 +130,14 @@ var DepositMethodCard = ({
130
130
  children: [
131
131
  /* @__PURE__ */ jsx2("div", { className: "shrink-0 flex items-center justify-center h-10 w-10 rounded-lg bg-secondary-hover", children: icon }),
132
132
  /* @__PURE__ */ jsxs2("div", { className: "flex-1 min-w-0", children: [
133
- /* @__PURE__ */ jsx2("p", { className: "text-base font-bold text-foreground leading-6", children: title }),
134
- /* @__PURE__ */ jsx2("p", { className: "text-sm text-muted-foreground leading-5", children: description })
133
+ /* @__PURE__ */ jsx2("p", { className: "agg-type-body-strong text-agg-foreground", children: title }),
134
+ /* @__PURE__ */ jsx2("p", { className: "agg-type-label text-agg-muted-foreground", children: description })
135
135
  ] }),
136
136
  /* @__PURE__ */ jsx2("div", { className: "shrink-0", children: /* @__PURE__ */ jsx2(
137
137
  Button,
138
138
  {
139
139
  variant: "secondary",
140
- size: "s",
140
+ size: "small",
141
141
  suffix: /* @__PURE__ */ jsx2(ChevronRightIcon, {}),
142
142
  onClick: (e) => {
143
143
  e.stopPropagation();
@@ -166,7 +166,7 @@ var DepositMethodStep = ({
166
166
  "button",
167
167
  {
168
168
  type: "button",
169
- className: "flex items-center justify-center text-foreground hover:text-foreground/80 transition-colors hover:cursor-pointer mr-2",
169
+ className: "mr-2 flex items-center justify-center text-agg-foreground transition-colors hover:cursor-pointer hover:text-agg-foreground/80",
170
170
  onClick: onBack,
171
171
  "aria-label": "Go back",
172
172
  children: /* @__PURE__ */ jsx2(ChevronLeftIcon, { className: "h-6 w-6" })
@@ -176,8 +176,8 @@ var DepositMethodStep = ({
176
176
  ),
177
177
  /* @__PURE__ */ jsx2(Modal.Body, { classNames: { root: "px-5 pt-0 pb-6 sm:px-8 sm:pt-0 sm:pb-8" }, children: /* @__PURE__ */ jsxs2("div", { className: "flex flex-col gap-4", children: [
178
178
  /* @__PURE__ */ jsxs2("div", { className: "flex items-center gap-2", children: [
179
- /* @__PURE__ */ jsx2(VenueLogo, { venue: venue.venue, size: "xs", className: "rounded-sm" }),
180
- /* @__PURE__ */ jsxs2("p", { className: "text-sm text-muted-foreground leading-5", children: [
179
+ /* @__PURE__ */ jsx2(VenueLogo, { venue: venue.venue, size: "small", className: "rounded-sm" }),
180
+ /* @__PURE__ */ jsxs2("p", { className: "agg-type-label text-agg-muted-foreground", children: [
181
181
  displayName,
182
182
  " balance: ",
183
183
  formatCompactUsd(venue.balance)
@@ -187,7 +187,7 @@ var DepositMethodStep = ({
187
187
  /* @__PURE__ */ jsx2(
188
188
  DepositMethodCard,
189
189
  {
190
- icon: /* @__PURE__ */ jsx2(BoltIcon, { className: "h-6 w-6 text-foreground" }),
190
+ icon: /* @__PURE__ */ jsx2(BoltIcon, { className: "h-6 w-6 text-agg-foreground" }),
191
191
  title: "Transfer Crypto",
192
192
  description: "Send USDC from your blockchain wallet.",
193
193
  onContinue: () => onSelectMethod("crypto")
@@ -196,7 +196,7 @@ var DepositMethodStep = ({
196
196
  /* @__PURE__ */ jsx2(
197
197
  DepositMethodCard,
198
198
  {
199
- icon: /* @__PURE__ */ jsx2(CreditCardIcon, { className: "h-6 w-6 text-foreground" }),
199
+ icon: /* @__PURE__ */ jsx2(CreditCardIcon, { className: "h-6 w-6 text-agg-foreground" }),
200
200
  title: "Deposit with Card",
201
201
  description: "Buy USDC instantly with a debit or credit card.",
202
202
  onContinue: () => onSelectMethod("card")
@@ -236,7 +236,7 @@ var CardDepositStep = ({
236
236
  "button",
237
237
  {
238
238
  type: "button",
239
- className: "flex items-center justify-center text-foreground hover:text-foreground/80 transition-colors hover:cursor-pointer mr-2",
239
+ className: "mr-2 flex items-center justify-center text-agg-foreground transition-colors hover:cursor-pointer hover:text-agg-foreground/80",
240
240
  onClick: onBack,
241
241
  "aria-label": "Go back",
242
242
  children: /* @__PURE__ */ jsx3(ChevronLeftIcon, { className: "h-6 w-6" })
@@ -246,8 +246,8 @@ var CardDepositStep = ({
246
246
  ),
247
247
  /* @__PURE__ */ jsx3(Modal.Body, { classNames: { root: "px-5 pt-0 pb-6 sm:px-8 sm:pt-0 sm:pb-8" }, children: /* @__PURE__ */ jsxs3("div", { className: "flex flex-col gap-6", children: [
248
248
  /* @__PURE__ */ jsxs3("div", { className: "flex items-center gap-2", children: [
249
- /* @__PURE__ */ jsx3(VenueLogo, { venue: venue.venue, size: "xs", className: "rounded-sm" }),
250
- /* @__PURE__ */ jsxs3("p", { className: "text-sm text-muted-foreground leading-5", children: [
249
+ /* @__PURE__ */ jsx3(VenueLogo, { venue: venue.venue, size: "small", className: "rounded-sm" }),
250
+ /* @__PURE__ */ jsxs3("p", { className: "agg-type-label text-agg-muted-foreground", children: [
251
251
  displayName,
252
252
  " balance: ",
253
253
  formatCompactUsd(venue.balance)
@@ -266,7 +266,7 @@ var CardDepositStep = ({
266
266
  }
267
267
  ) }),
268
268
  /* @__PURE__ */ jsx3("div", { className: "flex-1 min-w-0", children: /* @__PURE__ */ jsxs3("div", { className: "flex items-baseline", children: [
269
- /* @__PURE__ */ jsx3("span", { className: "text-3xl sm:text-4xl font-bold text-foreground leading-none", children: "$" }),
269
+ /* @__PURE__ */ jsx3("span", { className: "agg-type-display text-agg-foreground", children: "$" }),
270
270
  /* @__PURE__ */ jsx3(
271
271
  "input",
272
272
  {
@@ -274,8 +274,8 @@ var CardDepositStep = ({
274
274
  inputMode: "decimal",
275
275
  "aria-label": "Amount",
276
276
  className: cn(
277
- "w-full bg-transparent text-3xl sm:text-4xl font-bold leading-none outline-none",
278
- isValid ? "text-foreground" : "text-muted-foreground"
277
+ "agg-type-display w-full bg-transparent outline-none",
278
+ isValid ? "text-agg-foreground" : "text-agg-muted-foreground"
279
279
  ),
280
280
  placeholder: "0",
281
281
  value: rawAmount ? formatAmountDisplay(rawAmount) : "",
@@ -297,12 +297,12 @@ var CardDepositStep = ({
297
297
  tabIndex: 0,
298
298
  children: [
299
299
  /* @__PURE__ */ jsxs3("div", { className: "flex-1 min-w-0", children: [
300
- /* @__PURE__ */ jsx3("p", { className: "text-base font-bold text-foreground leading-6", children: "Provider" }),
301
- /* @__PURE__ */ jsx3("p", { className: "text-sm text-muted-foreground leading-5", children: "Auto-picked for you" })
300
+ /* @__PURE__ */ jsx3("p", { className: "agg-type-body-strong text-agg-foreground", children: "Provider" }),
301
+ /* @__PURE__ */ jsx3("p", { className: "agg-type-label text-agg-muted-foreground", children: "Auto-picked for you" })
302
302
  ] }),
303
303
  /* @__PURE__ */ jsxs3("div", { className: "flex items-center gap-2 shrink-0", children: [
304
- /* @__PURE__ */ jsx3("span", { className: "text-sm font-bold text-foreground", children: "Swapped" }),
305
- /* @__PURE__ */ jsx3(ChevronRightIcon, { className: "h-4 w-4 text-foreground" })
304
+ /* @__PURE__ */ jsx3("span", { className: "agg-type-label-strong text-agg-foreground", children: "Swapped" }),
305
+ /* @__PURE__ */ jsx3(ChevronRightIcon, { className: "h-4 w-4 text-agg-foreground" })
306
306
  ] })
307
307
  ]
308
308
  }
@@ -311,7 +311,7 @@ var CardDepositStep = ({
311
311
  Button,
312
312
  {
313
313
  variant: "primary",
314
- size: "xl",
314
+ size: "large",
315
315
  className: "w-full",
316
316
  disabled: !isValid,
317
317
  onClick: () => onContinue(numericAmount),
@@ -417,7 +417,7 @@ var CryptoTransferStep = ({
417
417
  "button",
418
418
  {
419
419
  type: "button",
420
- className: "flex items-center justify-center text-foreground hover:text-foreground/80 transition-colors hover:cursor-pointer mr-2",
420
+ className: "mr-2 flex items-center justify-center text-agg-foreground transition-colors hover:cursor-pointer hover:text-agg-foreground/80",
421
421
  onClick: onBack,
422
422
  "aria-label": "Go back",
423
423
  children: /* @__PURE__ */ jsx4(ChevronLeftIcon, { className: "h-6 w-6" })
@@ -429,7 +429,7 @@ var CryptoTransferStep = ({
429
429
  /* @__PURE__ */ jsxs4("div", { className: "flex flex-col gap-5", children: [
430
430
  /* @__PURE__ */ jsxs4("div", { className: "flex gap-6", children: [
431
431
  /* @__PURE__ */ jsxs4("div", { className: "flex flex-1 flex-col gap-2 min-w-0", children: [
432
- /* @__PURE__ */ jsx4("p", { className: "text-sm font-bold text-foreground leading-5", children: "Supported token" }),
432
+ /* @__PURE__ */ jsx4("p", { className: "agg-type-label-strong text-agg-foreground", children: "Supported token" }),
433
433
  /* @__PURE__ */ jsx4(
434
434
  Select,
435
435
  {
@@ -441,7 +441,7 @@ var CryptoTransferStep = ({
441
441
  )
442
442
  ] }),
443
443
  /* @__PURE__ */ jsxs4("div", { className: "flex flex-1 flex-col gap-2 min-w-0", children: [
444
- /* @__PURE__ */ jsx4("p", { className: "text-sm font-bold text-foreground leading-5", children: "Supported network" }),
444
+ /* @__PURE__ */ jsx4("p", { className: "agg-type-label-strong text-agg-foreground", children: "Supported network" }),
445
445
  /* @__PURE__ */ jsx4(
446
446
  Select,
447
447
  {
@@ -454,7 +454,7 @@ var CryptoTransferStep = ({
454
454
  ] })
455
455
  ] }),
456
456
  /* @__PURE__ */ jsxs4("div", { className: "flex flex-col gap-2", children: [
457
- /* @__PURE__ */ jsx4("p", { className: "text-sm font-bold text-foreground leading-5", children: "Your deposit address" }),
457
+ /* @__PURE__ */ jsx4("p", { className: "agg-type-label-strong text-agg-foreground", children: "Your deposit address" }),
458
458
  /* @__PURE__ */ jsxs4(
459
459
  "div",
460
460
  {
@@ -464,12 +464,12 @@ var CryptoTransferStep = ({
464
464
  "h-10 px-3"
465
465
  ),
466
466
  children: [
467
- /* @__PURE__ */ jsx4("p", { className: "flex-1 min-w-0 text-base text-foreground leading-6 truncate", children: depositAddress }),
467
+ /* @__PURE__ */ jsx4("p", { className: "agg-type-body flex-1 min-w-0 truncate text-agg-foreground", children: depositAddress }),
468
468
  /* @__PURE__ */ jsx4(
469
469
  "button",
470
470
  {
471
471
  type: "button",
472
- className: "shrink-0 text-muted-foreground hover:text-foreground transition-colors",
472
+ className: "shrink-0 text-agg-muted-foreground transition-colors hover:text-agg-foreground",
473
473
  onClick: handleCopyAddress,
474
474
  "aria-label": "Copy deposit address",
475
475
  children: /* @__PURE__ */ jsx4(CopyIcon, { className: "h-4 w-4" })
@@ -480,7 +480,7 @@ var CryptoTransferStep = ({
480
480
  )
481
481
  ] })
482
482
  ] }),
483
- /* @__PURE__ */ jsx4(Button, { variant: "secondary", size: "xl", className: "w-full", onClick: onDone, children: "Done" })
483
+ /* @__PURE__ */ jsx4(Button, { variant: "secondary", size: "large", className: "w-full", onClick: onDone, children: "Done" })
484
484
  ] }) })
485
485
  ] });
486
486
  };
@@ -493,13 +493,13 @@ var KalshiStepCard = ({
493
493
  description,
494
494
  children
495
495
  }) => /* @__PURE__ */ jsxs5("div", { className: "flex flex-col gap-2 rounded-xl bg-secondary-hover p-4", children: [
496
- /* @__PURE__ */ jsxs5("p", { className: "text-xs font-bold uppercase leading-4 text-muted-foreground", children: [
496
+ /* @__PURE__ */ jsxs5("p", { className: "agg-type-caption-caps text-agg-muted-foreground", children: [
497
497
  "Step ",
498
498
  step
499
499
  ] }),
500
500
  /* @__PURE__ */ jsxs5("div", { className: "flex flex-col gap-1", children: [
501
- /* @__PURE__ */ jsx5("p", { className: "text-sm font-bold text-foreground leading-5", children: title }),
502
- /* @__PURE__ */ jsx5("p", { className: "text-sm text-foreground leading-5", children: description })
501
+ /* @__PURE__ */ jsx5("p", { className: "agg-type-label-strong text-agg-foreground", children: title }),
502
+ /* @__PURE__ */ jsx5("p", { className: "agg-type-label text-agg-foreground", children: description })
503
503
  ] }),
504
504
  children
505
505
  ] });
@@ -510,13 +510,13 @@ var KalshiDepositStep = ({ depositUrl, onDone }) => /* @__PURE__ */ jsxs5(Fragme
510
510
  VenueLogo,
511
511
  {
512
512
  venue: "kalshi",
513
- size: "xl",
513
+ size: "large",
514
514
  className: "h-[60px] w-[60px] rounded-lg"
515
515
  }
516
516
  ),
517
517
  /* @__PURE__ */ jsxs5("div", { className: "flex flex-col items-center gap-4 text-center", children: [
518
- /* @__PURE__ */ jsx5("h2", { className: "text-2xl font-bold text-foreground leading-8", children: "Fund Your Kalshi Account" }),
519
- /* @__PURE__ */ jsx5("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." })
518
+ /* @__PURE__ */ jsx5("h2", { className: "agg-type-heading text-agg-foreground", children: "Fund Your Kalshi Account" }),
519
+ /* @__PURE__ */ jsx5("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." })
520
520
  ] }),
521
521
  /* @__PURE__ */ jsxs5("div", { className: "flex w-full flex-col gap-4", children: [
522
522
  /* @__PURE__ */ jsx5(
@@ -529,7 +529,7 @@ var KalshiDepositStep = ({ depositUrl, onDone }) => /* @__PURE__ */ jsxs5(Fragme
529
529
  Button,
530
530
  {
531
531
  variant: "secondary",
532
- size: "s",
532
+ size: "small",
533
533
  suffix: /* @__PURE__ */ jsx5(ExternalLinkIcon, { className: "h-3.5 w-3.5" }),
534
534
  onClick: () => {
535
535
  window.open(depositUrl, "_blank", "noopener,noreferrer");
@@ -556,7 +556,7 @@ var KalshiDepositStep = ({ depositUrl, onDone }) => /* @__PURE__ */ jsxs5(Fragme
556
556
  }
557
557
  )
558
558
  ] }),
559
- /* @__PURE__ */ jsx5(Button, { variant: "secondary", size: "l", onClick: onDone, children: "Done" })
559
+ /* @__PURE__ */ jsx5(Button, { variant: "secondary", size: "large", onClick: onDone, children: "Done" })
560
560
  ] }) })
561
561
  ] });
562
562
 
@@ -45,6 +45,7 @@ var ModalContainer = ({
45
45
  Dialog.Content,
46
46
  {
47
47
  className: cn(
48
+ "group/agg-modal",
48
49
  "fixed inset-0 z-agg-modal",
49
50
  "flex items-center justify-center p-4",
50
51
  "sm:p-5",
@@ -97,6 +98,7 @@ var ModalHeader = ({
97
98
  "div",
98
99
  {
99
100
  className: cn(
101
+ "group/agg-modal-header",
100
102
  "flex flex-col",
101
103
  "sticky top-0 z-20",
102
104
  "bg-agg-secondary",
@@ -172,6 +174,7 @@ var ModalBody = ({ children, classNames }) => {
172
174
  "div",
173
175
  {
174
176
  className: cn(
177
+ "group/agg-modal-body",
175
178
  "grow overflow-y-auto",
176
179
  "px-4 py-6",
177
180
  "sm:p-8",
@@ -192,6 +195,7 @@ var ModalFooter = ({
192
195
  "div",
193
196
  {
194
197
  className: cn(
198
+ "group/agg-modal-footer",
195
199
  "sticky bottom-0",
196
200
  "bg-agg-secondary",
197
201
  "flex h-[73px] w-full flex-row items-center justify-between gap-3",
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  EventList
3
- } from "./chunk-MXBPDNMC.mjs";
3
+ } from "./chunk-BEDUFOIG.mjs";
4
4
  import {
5
5
  Tabs
6
- } from "./chunk-LWTQD345.mjs";
6
+ } from "./chunk-S3H63TQ5.mjs";
7
7
  import {
8
8
  Icon
9
- } from "./chunk-F236MLT6.mjs";
9
+ } from "./chunk-PZTHM6WG.mjs";
10
10
  import {
11
11
  cn
12
12
  } from "./chunk-GJ4U5NCE.mjs";
@@ -191,7 +191,7 @@ var HomePage = ({
191
191
  Icon,
192
192
  {
193
193
  name: tab.iconName,
194
- size: "m",
194
+ size: "medium",
195
195
  color: isActive ? "var(--agg-color-primary)" : "var(--agg-color-foreground)"
196
196
  }
197
197
  ) : void 0,
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  Tabs
3
- } from "./chunk-LWTQD345.mjs";
3
+ } from "./chunk-S3H63TQ5.mjs";
4
4
  import {
5
5
  VenueLogo
6
- } from "./chunk-BLSHXIAH.mjs";
6
+ } from "./chunk-D7JTOGYP.mjs";
7
7
  import {
8
8
  Icon
9
- } from "./chunk-F236MLT6.mjs";
9
+ } from "./chunk-PZTHM6WG.mjs";
10
10
  import {
11
11
  Button
12
- } from "./chunk-PGSPYQOW.mjs";
12
+ } from "./chunk-KAGYJ4XT.mjs";
13
13
  import {
14
14
  cn
15
15
  } from "./chunk-GJ4U5NCE.mjs";
@@ -50,7 +50,7 @@ var BalanceDisplay = ({
50
50
  ),
51
51
  children: [
52
52
  /* @__PURE__ */ jsxs("div", { className: "flex items-end gap-3", children: [
53
- /* @__PURE__ */ jsx("span", { className: "font-agg-sans text-[30px] leading-[36px] font-agg-bold text-agg-foreground", children: (_a = currentBalance == null ? void 0 : currentBalance.totalLabel) != null ? _a : "$0.00" }),
53
+ /* @__PURE__ */ jsx("span", { className: "agg-type-display text-agg-foreground", children: (_a = currentBalance == null ? void 0 : currentBalance.totalLabel) != null ? _a : "$0.00" }),
54
54
  /* @__PURE__ */ jsx("span", { className: "font-agg-sans text-agg-base leading-6 font-agg-normal text-agg-muted-foreground", children: "Profit/Loss" }),
55
55
  /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-1", children: [
56
56
  /* @__PURE__ */ jsx(
@@ -67,7 +67,7 @@ var BalanceDisplay = ({
67
67
  Icon,
68
68
  {
69
69
  name: "triangle-up-filled",
70
- size: "xxs",
70
+ size: "small",
71
71
  className: cn(
72
72
  (currentBalance == null ? void 0 : currentBalance.isPositive) ? "text-agg-success" : "rotate-180 text-agg-error"
73
73
  )
@@ -113,11 +113,11 @@ var BalancesCard = ({
113
113
  className
114
114
  ),
115
115
  children: [
116
- /* @__PURE__ */ jsx2("h3", { className: "font-agg-sans text-[18px] leading-7 font-agg-bold text-agg-foreground", children: "Balances" }),
116
+ /* @__PURE__ */ jsx2("h3", { className: "agg-type-body-large-strong text-agg-foreground", children: "Balances" }),
117
117
  /* @__PURE__ */ jsxs2("div", { className: "relative min-h-0 flex-1 overflow-clip", children: [
118
118
  /* @__PURE__ */ jsx2("div", { className: "flex max-h-full flex-col gap-3 overflow-y-auto pr-1", children: venueBalances.map((balance, idx) => /* @__PURE__ */ jsxs2("div", { className: "flex items-center justify-between", children: [
119
119
  /* @__PURE__ */ jsxs2("div", { className: "flex items-center gap-1.5", children: [
120
- /* @__PURE__ */ jsx2(VenueLogo, { venue: balance.venue, size: "s" }),
120
+ /* @__PURE__ */ jsx2(VenueLogo, { venue: balance.venue, size: "small" }),
121
121
  /* @__PURE__ */ jsx2("span", { className: "font-agg-sans text-agg-base leading-6 font-agg-normal text-agg-foreground capitalize", children: balance.venue })
122
122
  ] }),
123
123
  /* @__PURE__ */ jsx2("span", { className: "font-agg-sans text-agg-base leading-6 font-agg-bold text-agg-foreground", children: balance.balanceLabel })
@@ -131,8 +131,8 @@ var BalancesCard = ({
131
131
  )
132
132
  ] }),
133
133
  /* @__PURE__ */ jsxs2("div", { className: "flex items-center gap-3", children: [
134
- onDeposit ? /* @__PURE__ */ jsx2(Button, { variant: "primary", size: "s", onClick: onDeposit, className: "flex-1", children: "Deposit" }) : null,
135
- onWithdraw ? /* @__PURE__ */ jsx2(Button, { variant: "secondary", size: "s", onClick: onWithdraw, className: "flex-1", children: "Withdraw" }) : null
134
+ onDeposit ? /* @__PURE__ */ jsx2(Button, { variant: "primary", size: "small", onClick: onDeposit, className: "flex-1", children: "Deposit" }) : null,
135
+ onWithdraw ? /* @__PURE__ */ jsx2(Button, { variant: "secondary", size: "small", onClick: onWithdraw, className: "flex-1", children: "Withdraw" }) : null
136
136
  ] })
137
137
  ]
138
138
  }
@@ -162,7 +162,7 @@ var ActivityRow = ({ activity, onClick }) => {
162
162
  children: [
163
163
  /* @__PURE__ */ jsx3("p", { className: "w-[60px] shrink-0 font-agg-sans text-agg-base leading-agg-6 font-agg-normal text-agg-foreground", children: activity.type }),
164
164
  /* @__PURE__ */ jsxs3("div", { className: "flex min-w-0 flex-1 items-center gap-4", children: [
165
- /* @__PURE__ */ jsx3(VenueLogo, { venue: activity.venue, size: "s", className: "shrink-0" }),
165
+ /* @__PURE__ */ jsx3(VenueLogo, { venue: activity.venue, size: "small", className: "shrink-0" }),
166
166
  /* @__PURE__ */ jsxs3("div", { className: "flex min-w-0 flex-1 items-center gap-4", children: [
167
167
  /* @__PURE__ */ jsx3(
168
168
  "img",
@@ -274,7 +274,7 @@ var PositionRow = ({ position, onClick }) => {
274
274
  onClick: handleClick,
275
275
  children: [
276
276
  /* @__PURE__ */ jsxs5("div", { className: "flex min-w-0 flex-1 items-center gap-4", children: [
277
- /* @__PURE__ */ jsx5(VenueLogo, { venue: position.venue, size: "s", className: "shrink-0" }),
277
+ /* @__PURE__ */ jsx5(VenueLogo, { venue: position.venue, size: "small", className: "shrink-0" }),
278
278
  /* @__PURE__ */ jsxs5("div", { className: "flex min-w-0 flex-1 items-center gap-4", children: [
279
279
  /* @__PURE__ */ jsx5(
280
280
  "img",
@@ -293,8 +293,8 @@ var PositionRow = ({ position, onClick }) => {
293
293
  ] })
294
294
  ] })
295
295
  ] }),
296
- /* @__PURE__ */ jsx5("p", { className: "w-[120px] shrink-0 font-agg-sans text-[20px] leading-7 font-agg-normal text-agg-foreground", children: position.averageLabel }),
297
- /* @__PURE__ */ jsx5("p", { className: "w-[120px] shrink-0 font-agg-sans text-[20px] leading-7 font-agg-normal text-agg-foreground", children: position.currentLabel }),
296
+ /* @__PURE__ */ jsx5("p", { className: "w-[120px] shrink-0 agg-type-title text-agg-foreground", children: position.averageLabel }),
297
+ /* @__PURE__ */ jsx5("p", { className: "w-[120px] shrink-0 agg-type-title text-agg-foreground", children: position.currentLabel }),
298
298
  /* @__PURE__ */ jsxs5("div", { className: "flex items-center gap-6 shrink-0", children: [
299
299
  /* @__PURE__ */ jsxs5("div", { className: "flex w-[140px] flex-col items-end justify-center gap-1 text-agg-base leading-agg-6 whitespace-nowrap", children: [
300
300
  /* @__PURE__ */ jsx5("p", { className: "font-agg-sans font-agg-bold text-black", children: position.valueLabel }),
@@ -309,7 +309,7 @@ var PositionRow = ({ position, onClick }) => {
309
309
  }
310
310
  )
311
311
  ] }),
312
- /* @__PURE__ */ jsx5(Icon, { name: "chevron-right", size: "s", className: "shrink-0 text-agg-muted-foreground" })
312
+ /* @__PURE__ */ jsx5(Icon, { name: "chevron-right", size: "small", className: "shrink-0 text-agg-muted-foreground" })
313
313
  ] })
314
314
  ]
315
315
  }
@@ -390,7 +390,7 @@ var PositionsActivity = ({
390
390
  ] }, filter.value);
391
391
  }) }) : null,
392
392
  /* @__PURE__ */ jsx6("label", { className: "flex min-w-0 flex-1", children: /* @__PURE__ */ jsxs6("div", { className: "flex h-10 w-full items-center gap-3 rounded-agg-sm border border-agg-separator bg-agg-secondary px-3 py-2.5 focus-within:border-2 focus-within:border-agg-primary", children: [
393
- /* @__PURE__ */ jsx6(Icon, { name: "search", size: "s", className: "shrink-0 text-agg-muted-foreground" }),
393
+ /* @__PURE__ */ jsx6(Icon, { name: "search", size: "small", className: "shrink-0 text-agg-muted-foreground" }),
394
394
  /* @__PURE__ */ jsx6(
395
395
  "input",
396
396
  {
@@ -514,14 +514,14 @@ var UserInfoCard = ({
514
514
  /* @__PURE__ */ jsxs8("div", { className: "flex min-w-0 flex-1 flex-col gap-4", children: [
515
515
  /* @__PURE__ */ jsxs8("div", { className: "flex items-center justify-between gap-4", children: [
516
516
  /* @__PURE__ */ jsxs8("div", { className: "flex items-center gap-2", children: [
517
- /* @__PURE__ */ jsx8("h2", { className: "font-agg-sans text-[24px] leading-8 font-agg-bold text-agg-foreground", children: user.username }),
517
+ /* @__PURE__ */ jsx8("h2", { className: "agg-type-heading text-agg-foreground", children: user.username }),
518
518
  user.socialLinks && user.socialLinks.length > 0 ? /* @__PURE__ */ jsx8("div", { className: "flex items-center gap-2", children: user.socialLinks.map((social) => {
519
519
  const iconName = social.platform === "twitter" ? "twitter" : social.platform === "discord" ? "discord" : "telegram";
520
520
  return /* @__PURE__ */ jsx8(
521
521
  "span",
522
522
  {
523
523
  className: "flex size-8 shrink-0 items-center justify-center rounded-full border border-agg-separator bg-agg-secondary",
524
- children: /* @__PURE__ */ jsx8(Icon, { name: iconName, size: "s", className: "text-agg-foreground" })
524
+ children: /* @__PURE__ */ jsx8(Icon, { name: iconName, size: "small", className: "text-agg-foreground" })
525
525
  },
526
526
  social.platform
527
527
  );
@@ -534,7 +534,7 @@ var UserInfoCard = ({
534
534
  onClick: onEditProfile,
535
535
  className: "flex shrink-0 cursor-pointer items-center gap-1.5 bg-transparent text-agg-primary hover:opacity-80",
536
536
  children: [
537
- /* @__PURE__ */ jsx8(Icon, { name: "pencil", size: "s", className: "text-agg-primary" }),
537
+ /* @__PURE__ */ jsx8(Icon, { name: "pencil", size: "small", className: "text-agg-primary" }),
538
538
  /* @__PURE__ */ jsx8("span", { className: "text-agg-base font-agg-bold leading-6", children: "Edit" })
539
539
  ]
540
540
  }
@@ -550,7 +550,7 @@ var UserInfoCard = ({
550
550
  idx > 0 && "-ml-2"
551
551
  ),
552
552
  style: { zIndex: evmExchanges.length - idx },
553
- children: /* @__PURE__ */ jsx8(VenueLogo, { venue: exchange.venue, size: "s", className: "h-5 w-5" })
553
+ children: /* @__PURE__ */ jsx8(VenueLogo, { venue: exchange.venue, size: "small", className: "h-5 w-5" })
554
554
  },
555
555
  `${exchange.venue}-${idx}`
556
556
  )) }),
@@ -561,11 +561,11 @@ var UserInfoCard = ({
561
561
  " exchange",
562
562
  totalExchangeCount !== 1 ? "s" : ""
563
563
  ] }),
564
- /* @__PURE__ */ jsx8(Icon, { name: "info", size: "xs", className: "text-agg-muted-foreground" })
564
+ /* @__PURE__ */ jsx8(Icon, { name: "info", size: "small", className: "text-agg-muted-foreground" })
565
565
  ] })
566
566
  ] }) : null,
567
567
  user.socialHandle ? /* @__PURE__ */ jsxs8("div", { className: "flex items-center gap-3", children: [
568
- user.socialHandleVenue ? /* @__PURE__ */ jsx8("div", { className: "flex h-5 w-5 shrink-0 items-center justify-center overflow-hidden rounded-[4px]", children: /* @__PURE__ */ jsx8(VenueLogo, { venue: user.socialHandleVenue, size: "s", className: "h-5 w-5" }) }) : null,
568
+ user.socialHandleVenue ? /* @__PURE__ */ jsx8("div", { className: "flex h-5 w-5 shrink-0 items-center justify-center overflow-hidden rounded-[4px]", children: /* @__PURE__ */ jsx8(VenueLogo, { venue: user.socialHandleVenue, size: "small", className: "h-5 w-5" }) }) : null,
569
569
  /* @__PURE__ */ jsx8("span", { className: "text-agg-base font-agg-normal leading-6 text-agg-foreground", children: user.socialHandle })
570
570
  ] }) : null
571
571
  ] }) : null