@agg-market/ui 0.0.3 → 0.0.4

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 (140) hide show
  1. package/dist/badge.d.mts +2 -2
  2. package/dist/badge.d.ts +2 -2
  3. package/dist/badge.mjs +2 -2
  4. package/dist/button.d.mts +2 -2
  5. package/dist/button.d.ts +2 -2
  6. package/dist/button.js +1 -0
  7. package/dist/button.mjs +3 -3
  8. package/dist/card.mjs +2 -2
  9. package/dist/chart.mjs +3 -3
  10. package/dist/{chunk-YUIZZ6XE.mjs → chunk-3O4U3E5I.mjs} +1 -1
  11. package/dist/{chunk-JLLMIPIX.mjs → chunk-4VUDTWH7.mjs} +1 -1
  12. package/dist/{chunk-MG243DSX.mjs → chunk-AEMAY3MR.mjs} +1 -1
  13. package/dist/{chunk-FYV3MDIL.mjs → chunk-BJNHDIDW.mjs} +4 -4
  14. package/dist/{chunk-LY6474C4.mjs → chunk-BLSHXIAH.mjs} +36 -71
  15. package/dist/{chunk-DQ6XFBYJ.mjs → chunk-DYEWXEEY.mjs} +1 -1
  16. package/dist/{chunk-OUOIDPGX.mjs → chunk-EXF4SESB.mjs} +1 -1
  17. package/dist/chunk-F236MLT6.mjs +1337 -0
  18. package/dist/{chunk-PAQ542ER.mjs → chunk-GHB3GOCW.mjs} +4 -2
  19. package/dist/{chunk-GC3QIIH7.mjs → chunk-GJ4U5NCE.mjs} +23 -1
  20. package/dist/chunk-HM3CGN32.mjs +669 -0
  21. package/dist/chunk-I4YUYVJJ.mjs +472 -0
  22. package/dist/{chunk-NFYS557L.mjs → chunk-JH5VMNDL.mjs} +3 -3
  23. package/dist/{chunk-TTOR7JCT.mjs → chunk-JRS2M5GY.mjs} +1 -1
  24. package/dist/{chunk-QXFDXXDB.mjs → chunk-LWTQD345.mjs} +3 -3
  25. package/dist/{chunk-QE46DVJG.mjs → chunk-MNSHWA6M.mjs} +3 -3
  26. package/dist/{chunk-JQ4FUHXE.mjs → chunk-MXBPDNMC.mjs} +7 -7
  27. package/dist/{chunk-VYNVBJK6.mjs → chunk-NDG43KGL.mjs} +1 -1
  28. package/dist/chunk-O2XH4A3G.mjs +654 -0
  29. package/dist/{chunk-KDBYDMYV.mjs → chunk-OBCHURW5.mjs} +1 -1
  30. package/dist/{chunk-FZTAHWOS.mjs → chunk-OGI343OV.mjs} +2 -2
  31. package/dist/{chunk-XDAEEJYR.mjs → chunk-P23GR7NX.mjs} +2 -2
  32. package/dist/{chunk-J6L5BLKX.mjs → chunk-PGSPYQOW.mjs} +2 -2
  33. package/dist/{chunk-J7OETCZ7.mjs → chunk-QFQHD2V6.mjs} +19 -20
  34. package/dist/chunk-RGZQHSNJ.mjs +845 -0
  35. package/dist/{chunk-7XRKA6XF.mjs → chunk-RXACBTON.mjs} +5 -5
  36. package/dist/{chunk-A4QJAOZW.mjs → chunk-USLTNDJA.mjs} +7 -7
  37. package/dist/{chunk-FACIYUNK.mjs → chunk-VC7LTPQD.mjs} +2 -2
  38. package/dist/{chunk-CKTAVEW2.mjs → chunk-VIP7HSOU.mjs} +2 -2
  39. package/dist/{chunk-5MN6ZNFA.mjs → chunk-VUDJ3PYM.mjs} +9 -9
  40. package/dist/{chunk-2NCBX6XI.mjs → chunk-W2DMBW4E.mjs} +8 -8
  41. package/dist/{chunk-764YUN2J.mjs → chunk-XELWY7SO.mjs} +150 -49
  42. package/dist/chunk-ZDF7QP4G.mjs +160 -0
  43. package/dist/{chunk-4NK2FNAG.mjs → chunk-ZHKMDK5M.mjs} +244 -112
  44. package/dist/{chunk-C4OI72SM.mjs → chunk-ZVBVGWSP.mjs} +1 -0
  45. package/dist/chunk-ZYREURXK.mjs +470 -0
  46. package/dist/connect-button.js +767 -292
  47. package/dist/connect-button.mjs +8 -8
  48. package/dist/deposit-modal.d.mts +34 -0
  49. package/dist/deposit-modal.d.ts +34 -0
  50. package/dist/deposit-modal.js +2787 -0
  51. package/dist/deposit-modal.mjs +15 -0
  52. package/dist/event-list-item-details.js +271 -173
  53. package/dist/event-list-item-details.mjs +13 -13
  54. package/dist/event-list-item.js +903 -426
  55. package/dist/event-list-item.mjs +11 -11
  56. package/dist/event-list.js +1104 -517
  57. package/dist/event-list.mjs +14 -14
  58. package/dist/event-market-page.d.mts +1 -1
  59. package/dist/event-market-page.d.ts +1 -1
  60. package/dist/event-market-page.js +1505 -681
  61. package/dist/event-market-page.mjs +23 -23
  62. package/dist/hello-world.mjs +3 -3
  63. package/dist/home-page.d.mts +1 -1
  64. package/dist/home-page.d.ts +1 -1
  65. package/dist/home-page.js +1120 -533
  66. package/dist/home-page.mjs +15 -15
  67. package/dist/icon.d.mts +74 -4
  68. package/dist/icon.d.ts +74 -4
  69. package/dist/icon.js +668 -123
  70. package/dist/icon.mjs +32 -4
  71. package/dist/index.d.mts +15 -7
  72. package/dist/index.d.ts +15 -7
  73. package/dist/index.js +5301 -2147
  74. package/dist/index.mjs +80 -32
  75. package/dist/loading-icon.d.mts +1 -1
  76. package/dist/loading-icon.d.ts +1 -1
  77. package/dist/loading-icon.js +1 -0
  78. package/dist/loading-icon.mjs +3 -3
  79. package/dist/market-details.d.mts +2 -2
  80. package/dist/market-details.d.ts +2 -2
  81. package/dist/market-details.js +1097 -411
  82. package/dist/market-details.mjs +16 -16
  83. package/dist/modal.mjs +3 -3
  84. package/dist/number-value.mjs +2 -2
  85. package/dist/onboarding-modal.js +1249 -672
  86. package/dist/onboarding-modal.mjs +8 -8
  87. package/dist/place-order.d.mts +1 -1
  88. package/dist/place-order.d.ts +1 -1
  89. package/dist/place-order.js +1091 -506
  90. package/dist/place-order.mjs +12 -12
  91. package/dist/profile-modal.d.mts +66 -0
  92. package/dist/profile-modal.d.ts +66 -0
  93. package/dist/profile-modal.js +2429 -0
  94. package/dist/profile-modal.mjs +14 -0
  95. package/dist/{registry-CVn79H3I.d.mts → registry-DfSCFAdC.d.mts} +72 -0
  96. package/dist/{registry-CVn79H3I.d.ts → registry-DfSCFAdC.d.ts} +72 -0
  97. package/dist/search.d.mts +2 -2
  98. package/dist/search.d.ts +2 -2
  99. package/dist/search.js +740 -265
  100. package/dist/search.mjs +6 -6
  101. package/dist/select.d.mts +2 -0
  102. package/dist/select.d.ts +2 -0
  103. package/dist/select.js +814 -187
  104. package/dist/select.mjs +5 -5
  105. package/dist/settlement.d.mts +1 -1
  106. package/dist/settlement.d.ts +1 -1
  107. package/dist/settlement.js +891 -417
  108. package/dist/settlement.mjs +9 -9
  109. package/dist/skeleton.js +1 -1
  110. package/dist/skeleton.mjs +3 -3
  111. package/dist/styles.css +1 -1
  112. package/dist/switch-button.mjs +2 -2
  113. package/dist/tabs.js +854 -227
  114. package/dist/tabs.mjs +6 -6
  115. package/dist/tailwind.css +1 -1
  116. package/dist/types-Bed6Q0EK.d.mts +3 -0
  117. package/dist/types-Bed6Q0EK.d.ts +3 -0
  118. package/dist/typography.mjs +2 -2
  119. package/dist/user-profile-page.d.mts +133 -0
  120. package/dist/user-profile-page.d.ts +133 -0
  121. package/dist/user-profile-page.js +3335 -0
  122. package/dist/user-profile-page.mjs +15 -0
  123. package/dist/venue-logo.d.mts +2 -2
  124. package/dist/venue-logo.d.ts +2 -2
  125. package/dist/venue-logo.js +28 -70
  126. package/dist/venue-logo.mjs +2 -2
  127. package/dist/{venue-logo.types-Bg8eXtGp.d.ts → venue-logo.types-BSAuY84j.d.ts} +1 -1
  128. package/dist/{venue-logo.types-B1iPJgiD.d.mts → venue-logo.types-DACqcTvY.d.mts} +1 -1
  129. package/dist/withdraw-modal.d.mts +36 -0
  130. package/dist/withdraw-modal.d.ts +36 -0
  131. package/dist/withdraw-modal.js +2442 -0
  132. package/dist/withdraw-modal.mjs +14 -0
  133. package/package.json +43 -3
  134. package/dist/chunk-DA6KZWSK.mjs +0 -807
  135. package/dist/chunk-IY2AA3OL.mjs +0 -50
  136. package/dist/chunk-R3DRVI4J.mjs +0 -741
  137. package/dist/types-CayJ8tWA.d.mts +0 -3
  138. package/dist/types-CayJ8tWA.d.ts +0 -3
  139. package/dist/{types-C5JigCSX.d.mts → types-DkGlbmXq.d.mts} +2 -2
  140. package/dist/{types-C5JigCSX.d.ts → types-DkGlbmXq.d.ts} +2 -2
@@ -0,0 +1,15 @@
1
+ import {
2
+ UserProfilePage
3
+ } from "./chunk-O2XH4A3G.mjs";
4
+ import "./chunk-LWTQD345.mjs";
5
+ import "./chunk-ZDF7QP4G.mjs";
6
+ import "./chunk-BLSHXIAH.mjs";
7
+ import "./chunk-F236MLT6.mjs";
8
+ import "./chunk-NDG43KGL.mjs";
9
+ import "./chunk-BNDFQPHF.mjs";
10
+ import "./chunk-PGSPYQOW.mjs";
11
+ import "./chunk-ZVBVGWSP.mjs";
12
+ import "./chunk-GJ4U5NCE.mjs";
13
+ export {
14
+ UserProfilePage
15
+ };
@@ -1,6 +1,6 @@
1
- import { V as VenueLogoName, a as VenueLogoProps } from './venue-logo.types-B1iPJgiD.mjs';
1
+ import { V as VenueLogoName, a as VenueLogoProps } from './venue-logo.types-DACqcTvY.mjs';
2
2
  import '@agg-market/hooks';
3
- import './types-CayJ8tWA.mjs';
3
+ import './types-Bed6Q0EK.mjs';
4
4
 
5
5
  declare const venueLogoNames: VenueLogoName[];
6
6
 
@@ -1,6 +1,6 @@
1
- import { V as VenueLogoName, a as VenueLogoProps } from './venue-logo.types-Bg8eXtGp.js';
1
+ import { V as VenueLogoName, a as VenueLogoProps } from './venue-logo.types-BSAuY84j.js';
2
2
  import '@agg-market/hooks';
3
- import './types-CayJ8tWA.js';
3
+ import './types-Bed6Q0EK.js';
4
4
 
5
5
  declare const venueLogoNames: VenueLogoName[];
6
6
 
@@ -107,8 +107,13 @@ var LogoKalshiIcon = (_a) => {
107
107
  }, getIconA11yProps(title)), props), {
108
108
  children: [
109
109
  title ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)("title", { children: title }) : null,
110
- /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { d: "M20 10H36V90H20V10Z", fill: primaryColor }),
111
- /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { d: "M44 50L74 10H92L62 50L92 90H74L44 50Z", fill: primaryColor })
110
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
111
+ "path",
112
+ {
113
+ d: "M54.9798 47.579L79.4249 85.9995H58.2273L38.2531 52.9344V85.9995H20.4189V13.9995H38.2531V45.4356L59.6547 13.9995H78.7119L54.9798 47.579Z",
114
+ fill: primaryColor
115
+ }
116
+ )
112
117
  ]
113
118
  })
114
119
  );
@@ -118,7 +123,6 @@ LogoKalshiIcon.displayName = "LogoKalshiIcon";
118
123
  // src/primitives/venue-logo/svg/logo-opinion.tsx
119
124
  var import_jsx_runtime2 = require("react/jsx-runtime");
120
125
  var OPINION_BLACK = "#000000";
121
- var OPINION_WHITE = "#FFFFFF";
122
126
  var LogoOpinionIcon = (_a) => {
123
127
  var _b = _a, {
124
128
  title,
@@ -136,7 +140,6 @@ var LogoOpinionIcon = (_a) => {
136
140
  isColor,
137
141
  color
138
142
  });
139
- const accentColor = (color == null ? void 0 : color.trim()) ? primaryColor : OPINION_WHITE;
140
143
  return /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(
141
144
  "svg",
142
145
  __spreadProps(__spreadValues(__spreadValues({
@@ -146,56 +149,13 @@ var LogoOpinionIcon = (_a) => {
146
149
  }, getIconA11yProps(title)), props), {
147
150
  children: [
148
151
  title ? /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("title", { children: title }) : null,
149
- /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("circle", { cx: "50", cy: "50", r: "40", fill: primaryColor }),
150
- /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
151
- "rect",
152
- {
153
- x: "21",
154
- y: "18",
155
- width: "8",
156
- height: "64",
157
- rx: "4",
158
- transform: "rotate(-7 21 18)",
159
- fill: accentColor
160
- }
161
- ),
162
- /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
163
- "rect",
164
- {
165
- x: "37",
166
- y: "12",
167
- width: "8",
168
- height: "76",
169
- rx: "4",
170
- transform: "rotate(-4 37 12)",
171
- fill: accentColor
172
- }
173
- ),
174
152
  /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
175
- "rect",
176
- {
177
- x: "53",
178
- y: "12",
179
- width: "8",
180
- height: "76",
181
- rx: "4",
182
- transform: "rotate(-4 53 12)",
183
- fill: accentColor
184
- }
185
- ),
186
- /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
187
- "rect",
153
+ "path",
188
154
  {
189
- x: "69",
190
- y: "18",
191
- width: "8",
192
- height: "64",
193
- rx: "4",
194
- transform: "rotate(-7 69 18)",
195
- fill: accentColor
155
+ d: "M51.8239 68.4603L56.9659 68.0094L58.8049 89.0576C61.1459 88.5314 63.4349 87.7952 65.6437 86.8578V68.1879H71.9955V83.4385C74.6496 81.6828 77.0863 79.619 79.2548 77.2898L80.0716 67.958L85.516 68.433C88.6185 62.4381 90.156 55.7558 89.9858 49.0072C89.8154 42.2584 87.9429 35.6623 84.542 29.8316L84.3394 32.1494L77.9876 31.5927L78.8042 22.2668C76.7468 20.1288 74.4594 18.225 71.9835 16.5902V31.9164H65.6317V13.1739C62.9224 12.0205 60.0929 11.173 57.1957 10.6473L59.0317 31.6441L53.8897 32.0949L51.9599 10.0482C51.3128 10.0179 50.6593 9.99976 50.006 9.99976C47.4581 9.99976 44.9161 10.2419 42.414 10.723L46.0438 31.3899L42.1297 32.0798L38.5304 11.6701C35.1755 12.6725 31.9677 14.1143 28.9905 15.9578L33.0435 31.0873L29.9705 31.9134L26.2018 17.8369C23.2938 19.9923 20.6902 22.5308 18.4615 25.3835L20.4246 30.7787L18.1833 31.5956L16.7707 27.7134C14.5111 31.0771 12.7772 34.7657 11.6287 38.652L12.2639 38.4221L20.4306 60.8471L18.1893 61.6641L10.8877 41.5963C9.21542 49.4012 9.91256 57.528 12.8896 64.9338C15.8667 72.3395 20.9879 78.6865 27.5961 83.1601L23.8031 68.9989L26.8762 68.1728L31.5162 85.4991C34.6952 87.1593 38.0844 88.3808 41.5914 89.1303L38.0132 68.7296L41.9301 68.0397L45.7684 89.8262C47.1811 89.9757 48.6007 90.0505 50.0212 90.0502C51.2583 90.0502 52.4863 89.9926 53.6963 89.8807L51.8239 68.4603ZM80.1017 37.8985L86.4385 38.4524L84.3605 62.2299L78.0087 61.6761L80.1017 37.8985ZM65.6528 38.1315H72.0046V61.9969H65.6528V38.1315ZM56.975 37.9501L59.053 61.7277L53.911 62.1785L51.8299 38.4009L56.975 37.9501ZM29.9976 62.003L23.8243 38.9486L26.8974 38.1255L33.0707 61.1649L29.9976 62.003ZM42.157 62.1603L38.0132 38.658L41.9301 37.9683L46.0709 61.4674L42.157 62.1603Z",
156
+ fill: primaryColor
196
157
  }
197
- ),
198
- /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("rect", { x: "12", y: "44", width: "76", height: "12", fill: primaryColor })
158
+ )
199
159
  ]
200
160
  })
201
161
  );
@@ -204,7 +164,7 @@ LogoOpinionIcon.displayName = "LogoOpinionIcon";
204
164
 
205
165
  // src/primitives/venue-logo/svg/logo-polymarket.tsx
206
166
  var import_jsx_runtime3 = require("react/jsx-runtime");
207
- var POLYMARKET_BLUE = "#3861FB";
167
+ var POLYMARKET_BLUE = "#2E5CFF";
208
168
  var LogoPolymarketIcon = (_a) => {
209
169
  var _b = _a, {
210
170
  title,
@@ -234,14 +194,10 @@ var LogoPolymarketIcon = (_a) => {
234
194
  /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
235
195
  "path",
236
196
  {
237
- d: "M18 10L78 2V98L18 88V10Z",
238
- stroke: primaryColor,
239
- strokeWidth: "8",
240
- strokeLinejoin: "round"
197
+ d: "M81.0904 84.2882C81.0904 87.9246 81.0904 89.7428 79.901 90.644C78.7119 91.5456 76.9613 91.0542 73.4603 90.0717L17.1975 74.2838C15.0881 73.6919 14.0332 73.3959 13.4233 72.5913C12.8135 71.7866 12.8135 70.6911 12.8135 68.5002V31.4998C12.8135 29.309 12.8135 28.2134 13.4233 27.4088C14.0332 26.6042 15.0881 26.3081 17.1975 25.7163L73.4603 9.92806C76.9613 8.94572 78.7119 8.45448 79.901 9.35587C81.0904 10.2573 81.0904 12.0755 81.0904 15.7119V84.2882ZM26.8451 69.1363L73.4308 82.2104V56.0637L26.8451 69.1363ZM20.4723 63.0711L67.0487 50L20.4723 36.929V63.0711ZM26.8446 30.8638L73.4308 43.9366V17.7896L26.8446 30.8638Z",
198
+ fill: primaryColor
241
199
  }
242
- ),
243
- /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M18 32L78 44", stroke: primaryColor, strokeWidth: "8", strokeLinecap: "round" }),
244
- /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M18 58L78 70", stroke: primaryColor, strokeWidth: "8", strokeLinecap: "round" })
200
+ )
245
201
  ]
246
202
  })
247
203
  );
@@ -250,7 +206,7 @@ LogoPolymarketIcon.displayName = "LogoPolymarketIcon";
250
206
 
251
207
  // src/primitives/venue-logo/svg/logo-probable.tsx
252
208
  var import_jsx_runtime4 = require("react/jsx-runtime");
253
- var PROBABLE_ORANGE = "#F85B22";
209
+ var PROBABLE_ORANGE = "#F05923";
254
210
  var LogoProbableIcon = (_a) => {
255
211
  var _b = _a, {
256
212
  title,
@@ -277,20 +233,21 @@ var LogoProbableIcon = (_a) => {
277
233
  }, getIconA11yProps(title)), props), {
278
234
  children: [
279
235
  title ? /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("title", { children: title }) : null,
280
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("rect", { x: "20", y: "16", width: "60", height: "12", fill: primaryColor }),
281
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("rect", { x: "18", y: "36", width: "64", height: "46", rx: "23", fill: primaryColor }),
282
236
  /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
283
- "rect",
237
+ "path",
284
238
  {
285
- x: "32",
286
- y: "50",
287
- width: "40",
288
- height: "18",
289
- rx: "9",
290
- fill: isColor && !color ? "white" : primaryColor
239
+ d: "M75.625 59.3489C75.6247 53.7323 71.0719 49.1792 65.4551 49.179H33.9209C28.3039 49.179 23.7503 53.7321 23.75 59.3489C23.75 64.9659 28.3038 69.5198 33.9209 69.5198H65.4551C71.0719 69.5195 75.625 64.9658 75.625 59.3489ZM90.625 59.3489C90.625 73.2501 79.3562 84.5195 65.4551 84.5198H33.9209C20.0196 84.5198 8.75 73.2502 8.75 59.3489C8.75026 45.4477 20.0198 34.179 33.9209 34.179H65.4551C79.3559 34.1792 90.6247 45.4478 90.625 59.3489Z",
240
+ fill: primaryColor
291
241
  }
292
242
  ),
293
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("circle", { cx: "61", cy: "59", r: "7", fill: primaryColor })
243
+ /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("path", { d: "M90.9329 15.4546V30.4546H8.90234V15.4546H90.9329Z", fill: primaryColor }),
244
+ /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
245
+ "path",
246
+ {
247
+ d: "M64.5742 51.3496C68.9894 51.3496 72.5742 54.9344 72.5742 59.3496C72.5742 63.7648 68.9894 67.3496 64.5742 67.3496C60.159 67.3496 56.5742 63.7648 56.5742 59.3496C56.5742 54.9344 60.159 51.3496 64.5742 51.3496Z",
248
+ fill: primaryColor
249
+ }
250
+ )
294
251
  ]
295
252
  })
296
253
  );
@@ -309,6 +266,7 @@ var sizeClasses = {
309
266
  xxs: "h-2 w-2",
310
267
  xs: "h-3 w-3",
311
268
  s: "h-4 w-4",
269
+ ms: "h-5 w-5",
312
270
  m: "h-6 w-6",
313
271
  l: "h-8 w-8",
314
272
  xl: "h-10 w-10",
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  VenueLogo,
3
3
  venueLogoNames
4
- } from "./chunk-LY6474C4.mjs";
4
+ } from "./chunk-BLSHXIAH.mjs";
5
5
  import "./chunk-BNDFQPHF.mjs";
6
- import "./chunk-GC3QIIH7.mjs";
6
+ import "./chunk-GJ4U5NCE.mjs";
7
7
  export {
8
8
  VenueLogo,
9
9
  venueLogoNames
@@ -1,5 +1,5 @@
1
1
  import { VenueMarket } from '@agg-market/hooks';
2
- import { A as AvailableSizes } from './types-CayJ8tWA.js';
2
+ import { A as AvailableSizes } from './types-Bed6Q0EK.js';
3
3
 
4
4
  type AdditionalVenue = "opinion" | "probable";
5
5
  type VenueLogoName = VenueMarket["venue"] | AdditionalVenue;
@@ -1,5 +1,5 @@
1
1
  import { VenueMarket } from '@agg-market/hooks';
2
- import { A as AvailableSizes } from './types-CayJ8tWA.mjs';
2
+ import { A as AvailableSizes } from './types-Bed6Q0EK.mjs';
3
3
 
4
4
  type AdditionalVenue = "opinion" | "probable";
5
5
  type VenueLogoName = VenueMarket["venue"] | AdditionalVenue;
@@ -0,0 +1,36 @@
1
+ interface WithdrawVenueBalance {
2
+ /** Venue slug, e.g. "polymarket", "kalshi" */
3
+ venue: string;
4
+ /** Current balance in USD */
5
+ balance: number;
6
+ /** Whether withdrawals are disabled for this venue */
7
+ disabled?: boolean;
8
+ /** Optional reason shown when the venue is disabled */
9
+ disabledReason?: string;
10
+ }
11
+ type WithdrawMethod = "wallet" | "bank";
12
+ interface WithdrawModalProps {
13
+ open: boolean;
14
+ onOpenChange: (open: boolean) => void;
15
+ /** List of venues with their balances (and optional disabled states) */
16
+ venues: WithdrawVenueBalance[];
17
+ /** Called when the user selects a venue to withdraw from */
18
+ onSelectVenue: (venue: string) => void;
19
+ /** Called when the user picks a withdraw method for an onchain venue */
20
+ onSelectWithdrawMethod?: (venue: string, method: WithdrawMethod) => void;
21
+ /** Called when the user submits the crypto wallet withdraw form */
22
+ onContinueWalletWithdraw?: (venue: string, amount: number) => void;
23
+ /** Called when the user completes the bank withdraw step */
24
+ onContinueBankWithdraw?: (venue: string, amount: number) => void;
25
+ /** Called when the user clicks "Done" on the Kalshi withdraw instructions step */
26
+ onDoneKalshi?: () => void;
27
+ /** URL for the "Open Kalshi" button. Defaults to Kalshi's withdraw page. */
28
+ kalshiWithdrawUrl?: string;
29
+ }
30
+
31
+ declare const WithdrawModal: {
32
+ ({ open, onOpenChange, venues, onSelectVenue, onSelectWithdrawMethod, onContinueWalletWithdraw, onContinueBankWithdraw, onDoneKalshi, kalshiWithdrawUrl, }: WithdrawModalProps): JSX.Element;
33
+ displayName: string;
34
+ };
35
+
36
+ export { type WithdrawMethod, WithdrawModal, type WithdrawModalProps, type WithdrawVenueBalance };
@@ -0,0 +1,36 @@
1
+ interface WithdrawVenueBalance {
2
+ /** Venue slug, e.g. "polymarket", "kalshi" */
3
+ venue: string;
4
+ /** Current balance in USD */
5
+ balance: number;
6
+ /** Whether withdrawals are disabled for this venue */
7
+ disabled?: boolean;
8
+ /** Optional reason shown when the venue is disabled */
9
+ disabledReason?: string;
10
+ }
11
+ type WithdrawMethod = "wallet" | "bank";
12
+ interface WithdrawModalProps {
13
+ open: boolean;
14
+ onOpenChange: (open: boolean) => void;
15
+ /** List of venues with their balances (and optional disabled states) */
16
+ venues: WithdrawVenueBalance[];
17
+ /** Called when the user selects a venue to withdraw from */
18
+ onSelectVenue: (venue: string) => void;
19
+ /** Called when the user picks a withdraw method for an onchain venue */
20
+ onSelectWithdrawMethod?: (venue: string, method: WithdrawMethod) => void;
21
+ /** Called when the user submits the crypto wallet withdraw form */
22
+ onContinueWalletWithdraw?: (venue: string, amount: number) => void;
23
+ /** Called when the user completes the bank withdraw step */
24
+ onContinueBankWithdraw?: (venue: string, amount: number) => void;
25
+ /** Called when the user clicks "Done" on the Kalshi withdraw instructions step */
26
+ onDoneKalshi?: () => void;
27
+ /** URL for the "Open Kalshi" button. Defaults to Kalshi's withdraw page. */
28
+ kalshiWithdrawUrl?: string;
29
+ }
30
+
31
+ declare const WithdrawModal: {
32
+ ({ open, onOpenChange, venues, onSelectVenue, onSelectWithdrawMethod, onContinueWalletWithdraw, onContinueBankWithdraw, onDoneKalshi, kalshiWithdrawUrl, }: WithdrawModalProps): JSX.Element;
33
+ displayName: string;
34
+ };
35
+
36
+ export { type WithdrawMethod, WithdrawModal, type WithdrawModalProps, type WithdrawVenueBalance };