@agg-market/ui 2.0.0 → 3.0.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.
Files changed (73) hide show
  1. package/dist/{chunk-LK5D3ZTK.mjs → chunk-3QLOUBDJ.mjs} +1 -1
  2. package/dist/{chunk-KCPDVBIZ.mjs → chunk-4S3I6X7F.mjs} +14 -13
  3. package/dist/{chunk-OA2IZ3VW.mjs → chunk-5ADMXO3Y.mjs} +1 -1
  4. package/dist/{chunk-7NISYVSJ.mjs → chunk-6JG6I5AY.mjs} +1 -1
  5. package/dist/{chunk-TA7LKYKP.mjs → chunk-DCORNTCY.mjs} +1 -1
  6. package/dist/{chunk-KFOATMAE.mjs → chunk-FF3QYU26.mjs} +1 -1
  7. package/dist/{chunk-BEDUFOIG.mjs → chunk-KRQFVMJE.mjs} +2 -2
  8. package/dist/{chunk-O46OFVH6.mjs → chunk-KSCSYCEF.mjs} +1 -1
  9. package/dist/{chunk-4KMFDCAH.mjs → chunk-KUWTY4EM.mjs} +1 -1
  10. package/dist/{chunk-QYZKC7KG.mjs → chunk-MVJNQN7P.mjs} +1 -1
  11. package/dist/{chunk-2MJY6RVY.mjs → chunk-NH2G3POM.mjs} +1 -1
  12. package/dist/{chunk-D7JTOGYP.mjs → chunk-PORVP72S.mjs} +22 -2
  13. package/dist/{chunk-5GDNWQZS.mjs → chunk-QLMVKLNJ.mjs} +1 -1
  14. package/dist/{chunk-D5FTFSKL.mjs → chunk-RGHA4PZH.mjs} +4 -4
  15. package/dist/{chunk-DL7STJQ5.mjs → chunk-RKCVOKE3.mjs} +1 -1
  16. package/dist/{chunk-6425RRBI.mjs → chunk-ZJJA4I3I.mjs} +1 -1
  17. package/dist/connect-button.js +22 -2
  18. package/dist/connect-button.mjs +2 -2
  19. package/dist/deposit-modal.js +22 -2
  20. package/dist/deposit-modal.mjs +2 -2
  21. package/dist/event-list-item-details.js +22 -2
  22. package/dist/event-list-item-details.mjs +2 -2
  23. package/dist/event-list-item.js +22 -2
  24. package/dist/event-list-item.mjs +2 -2
  25. package/dist/event-list.js +22 -2
  26. package/dist/event-list.mjs +3 -3
  27. package/dist/event-market-page.d.mts +1 -1
  28. package/dist/event-market-page.d.ts +1 -1
  29. package/dist/event-market-page.js +22 -2
  30. package/dist/event-market-page.mjs +6 -6
  31. package/dist/home-page.js +22 -2
  32. package/dist/home-page.mjs +4 -4
  33. package/dist/index.d.mts +3 -3
  34. package/dist/index.d.ts +3 -3
  35. package/dist/index.js +35 -14
  36. package/dist/index.mjs +16 -16
  37. package/dist/market-details.d.mts +1 -1
  38. package/dist/market-details.d.ts +1 -1
  39. package/dist/market-details.js +22 -2
  40. package/dist/market-details.mjs +2 -2
  41. package/dist/onboarding-modal.js +35 -14
  42. package/dist/onboarding-modal.mjs +2 -2
  43. package/dist/place-order.d.mts +1 -1
  44. package/dist/place-order.d.ts +1 -1
  45. package/dist/place-order.js +22 -2
  46. package/dist/place-order.mjs +2 -2
  47. package/dist/profile-modal.js +22 -2
  48. package/dist/profile-modal.mjs +2 -2
  49. package/dist/search.d.mts +1 -1
  50. package/dist/search.d.ts +1 -1
  51. package/dist/search.js +22 -2
  52. package/dist/search.mjs +2 -2
  53. package/dist/settlement.d.mts +1 -1
  54. package/dist/settlement.d.ts +1 -1
  55. package/dist/settlement.js +22 -2
  56. package/dist/settlement.mjs +2 -2
  57. package/dist/styles.css +1 -1
  58. package/dist/tailwind.css +1 -1
  59. package/dist/user-profile-page.d.mts +1 -1
  60. package/dist/user-profile-page.d.ts +1 -1
  61. package/dist/user-profile-page.js +22 -2
  62. package/dist/user-profile-page.mjs +2 -2
  63. package/dist/venue-logo.d.mts +3 -2
  64. package/dist/venue-logo.d.ts +3 -2
  65. package/dist/venue-logo.js +22 -2
  66. package/dist/venue-logo.mjs +1 -1
  67. package/dist/{venue-logo.types-HRf1yBLD.d.mts → venue-logo.types-CGUc22ly.d.mts} +3 -1
  68. package/dist/{venue-logo.types-D8Cu2rAm.d.ts → venue-logo.types-Dqr39S1-.d.ts} +3 -1
  69. package/dist/withdraw-modal.js +22 -2
  70. package/dist/withdraw-modal.mjs +2 -2
  71. package/package.json +2 -2
  72. package/dist/{types-JBf1DZlH.d.ts → types-DkGlbmXq.d.mts} +2 -2
  73. package/dist/{types-JBf1DZlH.d.mts → types-DkGlbmXq.d.ts} +2 -2
@@ -4,7 +4,7 @@ import {
4
4
  import {
5
5
  VenueLogo,
6
6
  venueLogoLabels
7
- } from "./chunk-D7JTOGYP.mjs";
7
+ } from "./chunk-PORVP72S.mjs";
8
8
  import {
9
9
  Icon,
10
10
  ProfileIcon
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-5K7VXAYM.mjs";
4
4
  import {
5
5
  VenueLogo
6
- } from "./chunk-D7JTOGYP.mjs";
6
+ } from "./chunk-PORVP72S.mjs";
7
7
  import {
8
8
  BestPricesIcon,
9
9
  CheckCircleIcon,
@@ -249,15 +249,7 @@ ProfileSetupStep.displayName = "ProfileSetupStep";
249
249
  import { useLabels as useLabels3 } from "@agg-market/hooks";
250
250
  import { jsx as jsx3, jsxs as jsxs3 } from "react/jsx-runtime";
251
251
  var OnchainVenueLogos = () => {
252
- return /* @__PURE__ */ jsx3("div", { className: "flex gap-1 sm:gap-0 sm:-space-x-5", children: ONCHAIN_VENUES.map((venue, index) => /* @__PURE__ */ jsx3(
253
- "div",
254
- {
255
- className: "overflow-hidden rounded sm:rounded-agg-md",
256
- style: { zIndex: ONCHAIN_VENUES.length - index },
257
- children: /* @__PURE__ */ jsx3(VenueLogo, { venue, size: "medium", className: "sm:h-8 sm:w-8" })
258
- },
259
- venue
260
- )) });
252
+ return /* @__PURE__ */ jsx3("div", { className: "flex gap-1 sm:gap-0 sm:-space-x-5", children: ONCHAIN_VENUES.map((venue, index) => /* @__PURE__ */ jsx3("div", { style: { zIndex: ONCHAIN_VENUES.length - index }, children: /* @__PURE__ */ jsx3(VenueLogo, { venue, variant: "logo", size: "medium", className: "sm:h-8 sm:w-8" }) }, venue)) });
261
253
  };
262
254
  var VenueCard = ({
263
255
  logos,
@@ -351,12 +343,13 @@ var ConnectAccountsStep = ({
351
343
  /* @__PURE__ */ jsx3(
352
344
  VenueCard,
353
345
  {
354
- logos: /* @__PURE__ */ jsx3("div", { className: "overflow-hidden rounded sm:rounded-agg-md", children: /* @__PURE__ */ jsx3(
346
+ logos: /* @__PURE__ */ jsx3("div", { className: "sm:flex sm:w-14 sm:items-center sm:justify-center", children: /* @__PURE__ */ jsx3(
355
347
  VenueLogo,
356
348
  {
357
349
  venue: "kalshi",
350
+ variant: "logo",
358
351
  size: "large",
359
- className: "h-6 w-6 sm:h-8 sm:w-8"
352
+ className: "h-6 w-6 sm:h-9 sm:w-9"
360
353
  }
361
354
  ) }),
362
355
  title: labels.onboarding.connectAccounts.kalshiTitle,
@@ -464,7 +457,15 @@ var ConnectKalshiModal = ({
464
457
  }
465
458
  ),
466
459
  /* @__PURE__ */ jsx4(Modal.Body, { classNames: { root: "!px-5 !pt-0 !pb-[60px] sm:!px-8" }, children: /* @__PURE__ */ jsxs4("div", { className: "flex flex-col gap-8 items-center", children: [
467
- /* @__PURE__ */ jsx4("div", { className: "overflow-hidden rounded-agg-lg", children: /* @__PURE__ */ jsx4(VenueLogo, { venue: "kalshi", size: "large" }) }),
460
+ /* @__PURE__ */ jsx4(
461
+ VenueLogo,
462
+ {
463
+ venue: "kalshi",
464
+ variant: "logo",
465
+ size: "large",
466
+ className: "h-[60px] w-[60px]"
467
+ }
468
+ ),
468
469
  /* @__PURE__ */ jsxs4("div", { className: "flex flex-col gap-4 items-center text-center", children: [
469
470
  /* @__PURE__ */ jsx4("h2", { className: "text-agg-2xl font-agg-bold text-agg-foreground", children: labels.onboarding.connectKalshiModal.title }),
470
471
  /* @__PURE__ */ jsx4("p", { className: "text-agg-base leading-agg-6 text-agg-foreground", children: labels.onboarding.connectKalshiModal.description })
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-IGPNIM2B.mjs";
4
4
  import {
5
5
  VenueLogo
6
- } from "./chunk-D7JTOGYP.mjs";
6
+ } from "./chunk-PORVP72S.mjs";
7
7
  import {
8
8
  Icon
9
9
  } from "./chunk-PZTHM6WG.mjs";
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-S3H63TQ5.mjs";
4
4
  import {
5
5
  VenueLogo
6
- } from "./chunk-D7JTOGYP.mjs";
6
+ } from "./chunk-PORVP72S.mjs";
7
7
  import {
8
8
  Icon
9
9
  } from "./chunk-PZTHM6WG.mjs";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  VenueLogo
3
- } from "./chunk-D7JTOGYP.mjs";
3
+ } from "./chunk-PORVP72S.mjs";
4
4
  import {
5
5
  Icon
6
6
  } from "./chunk-PZTHM6WG.mjs";
@@ -27,7 +27,7 @@ import {
27
27
  } from "./chunk-V52WSZHQ.mjs";
28
28
  import {
29
29
  VenueLogo
30
- } from "./chunk-D7JTOGYP.mjs";
30
+ } from "./chunk-PORVP72S.mjs";
31
31
  import {
32
32
  Button
33
33
  } from "./chunk-KAGYJ4XT.mjs";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  EventListItem
3
- } from "./chunk-DL7STJQ5.mjs";
3
+ } from "./chunk-RKCVOKE3.mjs";
4
4
  import {
5
5
  Tabs
6
6
  } from "./chunk-S3H63TQ5.mjs";
@@ -9,7 +9,7 @@ import {
9
9
  } from "./chunk-V52WSZHQ.mjs";
10
10
  import {
11
11
  VenueLogo
12
- } from "./chunk-D7JTOGYP.mjs";
12
+ } from "./chunk-PORVP72S.mjs";
13
13
  import {
14
14
  Icon
15
15
  } from "./chunk-PZTHM6WG.mjs";
@@ -12,7 +12,7 @@ import {
12
12
  } from "./chunk-V52WSZHQ.mjs";
13
13
  import {
14
14
  VenueLogo
15
- } from "./chunk-D7JTOGYP.mjs";
15
+ } from "./chunk-PORVP72S.mjs";
16
16
  import {
17
17
  Icon
18
18
  } from "./chunk-PZTHM6WG.mjs";
@@ -9,7 +9,7 @@ import {
9
9
  } from "./chunk-V52WSZHQ.mjs";
10
10
  import {
11
11
  VenueLogo
12
- } from "./chunk-D7JTOGYP.mjs";
12
+ } from "./chunk-PORVP72S.mjs";
13
13
  import {
14
14
  Icon
15
15
  } from "./chunk-PZTHM6WG.mjs";
@@ -28,7 +28,7 @@ import {
28
28
  } from "./chunk-IGPNIM2B.mjs";
29
29
  import {
30
30
  VenueLogo
31
- } from "./chunk-D7JTOGYP.mjs";
31
+ } from "./chunk-PORVP72S.mjs";
32
32
  import {
33
33
  Typography
34
34
  } from "./chunk-ERGNR6UQ.mjs";
@@ -4,7 +4,7 @@ import {
4
4
  import {
5
5
  VenueLogo,
6
6
  venueLogoLabels
7
- } from "./chunk-D7JTOGYP.mjs";
7
+ } from "./chunk-PORVP72S.mjs";
8
8
  import {
9
9
  BankIcon,
10
10
  ChevronLeftIcon,
@@ -208,6 +208,13 @@ var venueLogoRegistry = {
208
208
  opinion: LogoOpinionIcon,
209
209
  probable: LogoProbableIcon
210
210
  };
211
+ var VENUE_LOGO_BASE_URL = "https://assets.snagsolutions.io/public/prediction-markets/logos";
212
+ var venueLogoUrlRegistry = {
213
+ kalshi: `${VENUE_LOGO_BASE_URL}/kalshi.png`,
214
+ polymarket: `${VENUE_LOGO_BASE_URL}/polymarket.png`,
215
+ opinion: `${VENUE_LOGO_BASE_URL}/opinion.png`,
216
+ probable: `${VENUE_LOGO_BASE_URL}/probable.png`
217
+ };
211
218
  var venueLogoLabels = {
212
219
  kalshi: "Kalshi",
213
220
  polymarket: "Polymarket",
@@ -225,6 +232,7 @@ var sizeClasses = {
225
232
  import { jsx as jsx5 } from "react/jsx-runtime";
226
233
  var VenueLogo = ({
227
234
  venue,
235
+ variant = "icon",
228
236
  isColor = true,
229
237
  isMonochromatic = false,
230
238
  color,
@@ -234,8 +242,20 @@ var VenueLogo = ({
234
242
  title
235
243
  }) => {
236
244
  const labels = useLabels();
237
- const Component = venueLogoRegistry[venue];
238
245
  const sizeClass = sizeClasses[size];
246
+ const resolvedLabel = ariaLabel != null ? ariaLabel : labels.venues[venue];
247
+ if (variant === "logo") {
248
+ return /* @__PURE__ */ jsx5(
249
+ "img",
250
+ {
251
+ src: venueLogoUrlRegistry[venue],
252
+ alt: resolvedLabel,
253
+ title,
254
+ className: cn("shrink-0 rounded-agg-lg object-cover", sizeClass, className)
255
+ }
256
+ );
257
+ }
258
+ const Component = venueLogoRegistry[venue];
239
259
  const resolvedIsColor = isMonochromatic ? false : isColor;
240
260
  return /* @__PURE__ */ jsx5(
241
261
  Component,
@@ -243,7 +263,7 @@ var VenueLogo = ({
243
263
  className: cn("group/agg-venue-logo", "shrink-0", sizeClass, className),
244
264
  isColor: resolvedIsColor,
245
265
  color,
246
- "aria-label": ariaLabel != null ? ariaLabel : labels.venues[venue],
266
+ "aria-label": resolvedLabel,
247
267
  title
248
268
  }
249
269
  );
@@ -7,7 +7,7 @@ import {
7
7
  import {
8
8
  VenueLogo,
9
9
  venueLogoLabels
10
- } from "./chunk-D7JTOGYP.mjs";
10
+ } from "./chunk-PORVP72S.mjs";
11
11
  import {
12
12
  BoltIcon,
13
13
  ChevronLeftIcon,
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  Settlement
3
- } from "./chunk-4KMFDCAH.mjs";
3
+ } from "./chunk-KUWTY4EM.mjs";
4
4
  import {
5
5
  PlaceOrder
6
- } from "./chunk-O46OFVH6.mjs";
6
+ } from "./chunk-KSCSYCEF.mjs";
7
7
  import {
8
8
  EventListItemDetails
9
- } from "./chunk-KFOATMAE.mjs";
9
+ } from "./chunk-FF3QYU26.mjs";
10
10
  import {
11
11
  MarketDetails
12
- } from "./chunk-QYZKC7KG.mjs";
12
+ } from "./chunk-MVJNQN7P.mjs";
13
13
  import {
14
14
  Typography
15
15
  } from "./chunk-ERGNR6UQ.mjs";
@@ -19,7 +19,7 @@ import {
19
19
  } from "./chunk-V52WSZHQ.mjs";
20
20
  import {
21
21
  VenueLogo
22
- } from "./chunk-D7JTOGYP.mjs";
22
+ } from "./chunk-PORVP72S.mjs";
23
23
  import {
24
24
  Icon
25
25
  } from "./chunk-PZTHM6WG.mjs";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  EventList
3
- } from "./chunk-BEDUFOIG.mjs";
3
+ } from "./chunk-KRQFVMJE.mjs";
4
4
  import {
5
5
  Tabs
6
6
  } from "./chunk-S3H63TQ5.mjs";
@@ -1736,6 +1736,13 @@ var venueLogoRegistry = {
1736
1736
  opinion: LogoOpinionIcon,
1737
1737
  probable: LogoProbableIcon
1738
1738
  };
1739
+ var VENUE_LOGO_BASE_URL = "https://assets.snagsolutions.io/public/prediction-markets/logos";
1740
+ var venueLogoUrlRegistry = {
1741
+ kalshi: `${VENUE_LOGO_BASE_URL}/kalshi.png`,
1742
+ polymarket: `${VENUE_LOGO_BASE_URL}/polymarket.png`,
1743
+ opinion: `${VENUE_LOGO_BASE_URL}/opinion.png`,
1744
+ probable: `${VENUE_LOGO_BASE_URL}/probable.png`
1745
+ };
1739
1746
  var venueLogoNames = Object.keys(venueLogoRegistry);
1740
1747
  var sizeClasses2 = {
1741
1748
  small: "h-4 w-4",
@@ -1747,6 +1754,7 @@ var sizeClasses2 = {
1747
1754
  var import_jsx_runtime48 = require("react/jsx-runtime");
1748
1755
  var VenueLogo = ({
1749
1756
  venue,
1757
+ variant = "icon",
1750
1758
  isColor = true,
1751
1759
  isMonochromatic = false,
1752
1760
  color,
@@ -1756,8 +1764,20 @@ var VenueLogo = ({
1756
1764
  title
1757
1765
  }) => {
1758
1766
  const labels = (0, import_hooks2.useLabels)();
1759
- const Component = venueLogoRegistry[venue];
1760
1767
  const sizeClass = sizeClasses2[size];
1768
+ const resolvedLabel = ariaLabel != null ? ariaLabel : labels.venues[venue];
1769
+ if (variant === "logo") {
1770
+ return /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
1771
+ "img",
1772
+ {
1773
+ src: venueLogoUrlRegistry[venue],
1774
+ alt: resolvedLabel,
1775
+ title,
1776
+ className: cn("shrink-0 rounded-agg-lg object-cover", sizeClass, className)
1777
+ }
1778
+ );
1779
+ }
1780
+ const Component = venueLogoRegistry[venue];
1761
1781
  const resolvedIsColor = isMonochromatic ? false : isColor;
1762
1782
  return /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
1763
1783
  Component,
@@ -1765,7 +1785,7 @@ var VenueLogo = ({
1765
1785
  className: cn("group/agg-venue-logo", "shrink-0", sizeClass, className),
1766
1786
  isColor: resolvedIsColor,
1767
1787
  color,
1768
- "aria-label": ariaLabel != null ? ariaLabel : labels.venues[venue],
1788
+ "aria-label": resolvedLabel,
1769
1789
  title
1770
1790
  }
1771
1791
  );
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  ConnectButton
3
- } from "./chunk-OA2IZ3VW.mjs";
3
+ } from "./chunk-5ADMXO3Y.mjs";
4
4
  import "./chunk-IGPNIM2B.mjs";
5
- import "./chunk-D7JTOGYP.mjs";
5
+ import "./chunk-PORVP72S.mjs";
6
6
  import "./chunk-PZTHM6WG.mjs";
7
7
  import "./chunk-NDG43KGL.mjs";
8
8
  import "./chunk-BNDFQPHF.mjs";
@@ -536,6 +536,13 @@ var venueLogoRegistry = {
536
536
  opinion: LogoOpinionIcon,
537
537
  probable: LogoProbableIcon
538
538
  };
539
+ var VENUE_LOGO_BASE_URL = "https://assets.snagsolutions.io/public/prediction-markets/logos";
540
+ var venueLogoUrlRegistry = {
541
+ kalshi: `${VENUE_LOGO_BASE_URL}/kalshi.png`,
542
+ polymarket: `${VENUE_LOGO_BASE_URL}/polymarket.png`,
543
+ opinion: `${VENUE_LOGO_BASE_URL}/opinion.png`,
544
+ probable: `${VENUE_LOGO_BASE_URL}/probable.png`
545
+ };
539
546
  var venueLogoLabels = {
540
547
  kalshi: "Kalshi",
541
548
  polymarket: "Polymarket",
@@ -677,6 +684,7 @@ var import_hooks3 = require("@agg-market/hooks");
677
684
  var import_jsx_runtime8 = require("react/jsx-runtime");
678
685
  var VenueLogo = ({
679
686
  venue,
687
+ variant = "icon",
680
688
  isColor = true,
681
689
  isMonochromatic = false,
682
690
  color,
@@ -686,8 +694,20 @@ var VenueLogo = ({
686
694
  title
687
695
  }) => {
688
696
  const labels = (0, import_hooks3.useLabels)();
689
- const Component = venueLogoRegistry[venue];
690
697
  const sizeClass = sizeClasses[size];
698
+ const resolvedLabel = ariaLabel != null ? ariaLabel : labels.venues[venue];
699
+ if (variant === "logo") {
700
+ return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
701
+ "img",
702
+ {
703
+ src: venueLogoUrlRegistry[venue],
704
+ alt: resolvedLabel,
705
+ title,
706
+ className: cn("shrink-0 rounded-agg-lg object-cover", sizeClass, className)
707
+ }
708
+ );
709
+ }
710
+ const Component = venueLogoRegistry[venue];
691
711
  const resolvedIsColor = isMonochromatic ? false : isColor;
692
712
  return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
693
713
  Component,
@@ -695,7 +715,7 @@ var VenueLogo = ({
695
715
  className: cn("group/agg-venue-logo", "shrink-0", sizeClass, className),
696
716
  isColor: resolvedIsColor,
697
717
  color,
698
- "aria-label": ariaLabel != null ? ariaLabel : labels.venues[venue],
718
+ "aria-label": resolvedLabel,
699
719
  title
700
720
  }
701
721
  );
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  DepositModal
3
- } from "./chunk-5GDNWQZS.mjs";
3
+ } from "./chunk-QLMVKLNJ.mjs";
4
4
  import "./chunk-5K7VXAYM.mjs";
5
5
  import "./chunk-YJA5VQW6.mjs";
6
- import "./chunk-D7JTOGYP.mjs";
6
+ import "./chunk-PORVP72S.mjs";
7
7
  import "./chunk-PZTHM6WG.mjs";
8
8
  import "./chunk-NDG43KGL.mjs";
9
9
  import "./chunk-BNDFQPHF.mjs";
@@ -1344,6 +1344,13 @@ var venueLogoRegistry = {
1344
1344
  opinion: LogoOpinionIcon,
1345
1345
  probable: LogoProbableIcon
1346
1346
  };
1347
+ var VENUE_LOGO_BASE_URL = "https://assets.snagsolutions.io/public/prediction-markets/logos";
1348
+ var venueLogoUrlRegistry = {
1349
+ kalshi: `${VENUE_LOGO_BASE_URL}/kalshi.png`,
1350
+ polymarket: `${VENUE_LOGO_BASE_URL}/polymarket.png`,
1351
+ opinion: `${VENUE_LOGO_BASE_URL}/opinion.png`,
1352
+ probable: `${VENUE_LOGO_BASE_URL}/probable.png`
1353
+ };
1347
1354
  var venueLogoNames = Object.keys(venueLogoRegistry);
1348
1355
  var sizeClasses2 = {
1349
1356
  small: "h-4 w-4",
@@ -1355,6 +1362,7 @@ var sizeClasses2 = {
1355
1362
  var import_jsx_runtime19 = require("react/jsx-runtime");
1356
1363
  var VenueLogo = ({
1357
1364
  venue,
1365
+ variant = "icon",
1358
1366
  isColor = true,
1359
1367
  isMonochromatic = false,
1360
1368
  color,
@@ -1364,8 +1372,20 @@ var VenueLogo = ({
1364
1372
  title
1365
1373
  }) => {
1366
1374
  const labels = (0, import_hooks12.useLabels)();
1367
- const Component = venueLogoRegistry[venue];
1368
1375
  const sizeClass = sizeClasses2[size];
1376
+ const resolvedLabel = ariaLabel != null ? ariaLabel : labels.venues[venue];
1377
+ if (variant === "logo") {
1378
+ return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
1379
+ "img",
1380
+ {
1381
+ src: venueLogoUrlRegistry[venue],
1382
+ alt: resolvedLabel,
1383
+ title,
1384
+ className: cn("shrink-0 rounded-agg-lg object-cover", sizeClass, className)
1385
+ }
1386
+ );
1387
+ }
1388
+ const Component = venueLogoRegistry[venue];
1369
1389
  const resolvedIsColor = isMonochromatic ? false : isColor;
1370
1390
  return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
1371
1391
  Component,
@@ -1373,7 +1393,7 @@ var VenueLogo = ({
1373
1393
  className: cn("group/agg-venue-logo", "shrink-0", sizeClass, className),
1374
1394
  isColor: resolvedIsColor,
1375
1395
  color,
1376
- "aria-label": ariaLabel != null ? ariaLabel : labels.venues[venue],
1396
+ "aria-label": resolvedLabel,
1377
1397
  title
1378
1398
  }
1379
1399
  );
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  EventListItemDetails
3
- } from "./chunk-KFOATMAE.mjs";
3
+ } from "./chunk-FF3QYU26.mjs";
4
4
  import "./chunk-422MCIXV.mjs";
5
5
  import "./chunk-GHB3GOCW.mjs";
6
6
  import "./chunk-K6IJ4WBM.mjs";
7
7
  import "./chunk-V52WSZHQ.mjs";
8
- import "./chunk-D7JTOGYP.mjs";
8
+ import "./chunk-PORVP72S.mjs";
9
9
  import "./chunk-BNDFQPHF.mjs";
10
10
  import "./chunk-KAGYJ4XT.mjs";
11
11
  import "./chunk-FO263M3V.mjs";
@@ -2174,6 +2174,13 @@ var venueLogoRegistry = {
2174
2174
  opinion: LogoOpinionIcon,
2175
2175
  probable: LogoProbableIcon
2176
2176
  };
2177
+ var VENUE_LOGO_BASE_URL = "https://assets.snagsolutions.io/public/prediction-markets/logos";
2178
+ var venueLogoUrlRegistry = {
2179
+ kalshi: `${VENUE_LOGO_BASE_URL}/kalshi.png`,
2180
+ polymarket: `${VENUE_LOGO_BASE_URL}/polymarket.png`,
2181
+ opinion: `${VENUE_LOGO_BASE_URL}/opinion.png`,
2182
+ probable: `${VENUE_LOGO_BASE_URL}/probable.png`
2183
+ };
2177
2184
  var venueLogoNames = Object.keys(venueLogoRegistry);
2178
2185
  var sizeClasses = {
2179
2186
  small: "h-4 w-4",
@@ -2185,6 +2192,7 @@ var sizeClasses = {
2185
2192
  var import_jsx_runtime58 = require("react/jsx-runtime");
2186
2193
  var VenueLogo = ({
2187
2194
  venue,
2195
+ variant = "icon",
2188
2196
  isColor = true,
2189
2197
  isMonochromatic = false,
2190
2198
  color,
@@ -2194,8 +2202,20 @@ var VenueLogo = ({
2194
2202
  title
2195
2203
  }) => {
2196
2204
  const labels = (0, import_hooks9.useLabels)();
2197
- const Component = venueLogoRegistry[venue];
2198
2205
  const sizeClass = sizeClasses[size];
2206
+ const resolvedLabel = ariaLabel != null ? ariaLabel : labels.venues[venue];
2207
+ if (variant === "logo") {
2208
+ return /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
2209
+ "img",
2210
+ {
2211
+ src: venueLogoUrlRegistry[venue],
2212
+ alt: resolvedLabel,
2213
+ title,
2214
+ className: cn("shrink-0 rounded-agg-lg object-cover", sizeClass, className)
2215
+ }
2216
+ );
2217
+ }
2218
+ const Component = venueLogoRegistry[venue];
2199
2219
  const resolvedIsColor = isMonochromatic ? false : isColor;
2200
2220
  return /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
2201
2221
  Component,
@@ -2203,7 +2223,7 @@ var VenueLogo = ({
2203
2223
  className: cn("group/agg-venue-logo", "shrink-0", sizeClass, className),
2204
2224
  isColor: resolvedIsColor,
2205
2225
  color,
2206
- "aria-label": ariaLabel != null ? ariaLabel : labels.venues[venue],
2226
+ "aria-label": resolvedLabel,
2207
2227
  title
2208
2228
  }
2209
2229
  );
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  EventListItem
3
- } from "./chunk-DL7STJQ5.mjs";
3
+ } from "./chunk-RKCVOKE3.mjs";
4
4
  import "./chunk-GHB3GOCW.mjs";
5
5
  import "./chunk-K6IJ4WBM.mjs";
6
6
  import "./chunk-V52WSZHQ.mjs";
7
- import "./chunk-D7JTOGYP.mjs";
7
+ import "./chunk-PORVP72S.mjs";
8
8
  import "./chunk-PZTHM6WG.mjs";
9
9
  import "./chunk-NDG43KGL.mjs";
10
10
  import "./chunk-BNDFQPHF.mjs";
@@ -2800,6 +2800,13 @@ var venueLogoRegistry = {
2800
2800
  opinion: LogoOpinionIcon,
2801
2801
  probable: LogoProbableIcon
2802
2802
  };
2803
+ var VENUE_LOGO_BASE_URL = "https://assets.snagsolutions.io/public/prediction-markets/logos";
2804
+ var venueLogoUrlRegistry = {
2805
+ kalshi: `${VENUE_LOGO_BASE_URL}/kalshi.png`,
2806
+ polymarket: `${VENUE_LOGO_BASE_URL}/polymarket.png`,
2807
+ opinion: `${VENUE_LOGO_BASE_URL}/opinion.png`,
2808
+ probable: `${VENUE_LOGO_BASE_URL}/probable.png`
2809
+ };
2803
2810
  var venueLogoNames = Object.keys(venueLogoRegistry);
2804
2811
  var sizeClasses = {
2805
2812
  small: "h-4 w-4",
@@ -2811,6 +2818,7 @@ var sizeClasses = {
2811
2818
  var import_jsx_runtime59 = require("react/jsx-runtime");
2812
2819
  var VenueLogo = ({
2813
2820
  venue,
2821
+ variant = "icon",
2814
2822
  isColor = true,
2815
2823
  isMonochromatic = false,
2816
2824
  color,
@@ -2820,8 +2828,20 @@ var VenueLogo = ({
2820
2828
  title
2821
2829
  }) => {
2822
2830
  const labels = (0, import_hooks10.useLabels)();
2823
- const Component = venueLogoRegistry[venue];
2824
2831
  const sizeClass = sizeClasses[size];
2832
+ const resolvedLabel = ariaLabel != null ? ariaLabel : labels.venues[venue];
2833
+ if (variant === "logo") {
2834
+ return /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
2835
+ "img",
2836
+ {
2837
+ src: venueLogoUrlRegistry[venue],
2838
+ alt: resolvedLabel,
2839
+ title,
2840
+ className: cn("shrink-0 rounded-agg-lg object-cover", sizeClass, className)
2841
+ }
2842
+ );
2843
+ }
2844
+ const Component = venueLogoRegistry[venue];
2825
2845
  const resolvedIsColor = isMonochromatic ? false : isColor;
2826
2846
  return /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
2827
2847
  Component,
@@ -2829,7 +2849,7 @@ var VenueLogo = ({
2829
2849
  className: cn("group/agg-venue-logo", "shrink-0", sizeClass, className),
2830
2850
  isColor: resolvedIsColor,
2831
2851
  color,
2832
- "aria-label": ariaLabel != null ? ariaLabel : labels.venues[venue],
2852
+ "aria-label": resolvedLabel,
2833
2853
  title
2834
2854
  }
2835
2855
  );
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  EventList
3
- } from "./chunk-BEDUFOIG.mjs";
4
- import "./chunk-DL7STJQ5.mjs";
3
+ } from "./chunk-KRQFVMJE.mjs";
4
+ import "./chunk-RKCVOKE3.mjs";
5
5
  import "./chunk-S3H63TQ5.mjs";
6
6
  import "./chunk-GHB3GOCW.mjs";
7
7
  import "./chunk-K6IJ4WBM.mjs";
8
8
  import "./chunk-YJA5VQW6.mjs";
9
9
  import "./chunk-V52WSZHQ.mjs";
10
- import "./chunk-D7JTOGYP.mjs";
10
+ import "./chunk-PORVP72S.mjs";
11
11
  import "./chunk-PZTHM6WG.mjs";
12
12
  import "./chunk-NDG43KGL.mjs";
13
13
  import "./chunk-BNDFQPHF.mjs";
@@ -1,5 +1,5 @@
1
1
  import { Event } from '@agg-market/hooks';
2
- import { A as PlaceOrderViewModel, S as SettlementViewModel } from './types-JBf1DZlH.mjs';
2
+ import { A as PlaceOrderViewModel, S as SettlementViewModel } from './types-DkGlbmXq.mjs';
3
3
  import { d as EventListItemDetailsTimeRange } from './event-list-item-details.types-DekJKeMD.mjs';
4
4
  import 'zod';
5
5
  import './event-list-item.types-Y6IeJ4e4.mjs';
@@ -1,5 +1,5 @@
1
1
  import { Event } from '@agg-market/hooks';
2
- import { A as PlaceOrderViewModel, S as SettlementViewModel } from './types-JBf1DZlH.js';
2
+ import { A as PlaceOrderViewModel, S as SettlementViewModel } from './types-DkGlbmXq.js';
3
3
  import { d as EventListItemDetailsTimeRange } from './event-list-item-details.types-CMbXOrT-.js';
4
4
  import 'zod';
5
5
  import './event-list-item.types-Y6IeJ4e4.js';