@agg-build/ui 2.1.0 → 2.1.2

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 (52) hide show
  1. package/dist/{chunk-C5M2OOM3.mjs → chunk-5RBHMMY3.mjs} +1 -1
  2. package/dist/{chunk-YMVD6Q2A.mjs → chunk-75AMJAWR.mjs} +1 -1
  3. package/dist/{chunk-Y6PVXAUQ.mjs → chunk-7ZR5JYB3.mjs} +423 -488
  4. package/dist/{chunk-R6FBYAY5.mjs → chunk-JJDYOBVG.mjs} +117 -48
  5. package/dist/{chunk-3OI2ZLLT.mjs → chunk-NRNBJPYK.mjs} +1 -1
  6. package/dist/{chunk-DXF2LMNN.mjs → chunk-TBD3N4T4.mjs} +849 -759
  7. package/dist/{chunk-YAEA6EDG.mjs → chunk-ZOECARZW.mjs} +364 -17
  8. package/dist/events.js +1115 -972
  9. package/dist/events.mjs +3 -3
  10. package/dist/index.js +3705 -3278
  11. package/dist/index.mjs +16 -8
  12. package/dist/modals.js +851 -824
  13. package/dist/modals.mjs +3 -3
  14. package/dist/pages.js +2778 -2357
  15. package/dist/pages.mjs +8 -6
  16. package/dist/primitives.js +849 -759
  17. package/dist/primitives.mjs +3 -1
  18. package/dist/styles.css +1 -1
  19. package/dist/tailwind.css +1 -1
  20. package/dist/trading.js +970 -599
  21. package/dist/trading.mjs +10 -6
  22. package/dist/types/events/shared/format-event-title.d.mts +25 -0
  23. package/dist/types/events/shared/format-event-title.d.ts +25 -0
  24. package/dist/types/events/shared/select-best-outcome.d.mts +88 -0
  25. package/dist/types/events/shared/select-best-outcome.d.ts +88 -0
  26. package/dist/types/pages/event-market/event-market.types.d.mts +7 -0
  27. package/dist/types/pages/event-market/event-market.types.d.ts +7 -0
  28. package/dist/types/pages/user-profile/index.d.mts +1 -0
  29. package/dist/types/pages/user-profile/index.d.ts +1 -0
  30. package/dist/types/pages/user-profile/transaction-explorer.d.mts +1 -0
  31. package/dist/types/pages/user-profile/transaction-explorer.d.ts +1 -0
  32. package/dist/types/pages/user-profile/user-profile.types.d.mts +8 -2
  33. package/dist/types/pages/user-profile/user-profile.types.d.ts +8 -2
  34. package/dist/types/primitives/icon/index.d.mts +2 -1
  35. package/dist/types/primitives/icon/index.d.ts +2 -1
  36. package/dist/types/primitives/icon/registry.d.mts +4 -0
  37. package/dist/types/primitives/icon/registry.d.ts +4 -0
  38. package/dist/types/primitives/icon/svg/paper-mode.d.mts +5 -0
  39. package/dist/types/primitives/icon/svg/paper-mode.d.ts +5 -0
  40. package/dist/types/primitives/search/search.utils.d.mts +3 -1
  41. package/dist/types/primitives/search/search.utils.d.ts +3 -1
  42. package/dist/types/trading/index.d.mts +2 -0
  43. package/dist/types/trading/index.d.ts +2 -0
  44. package/dist/types/trading/place-order/index.d.mts +1 -1
  45. package/dist/types/trading/place-order/index.d.ts +1 -1
  46. package/dist/types/trading/place-order/index.place-order.types.d.mts +23 -1
  47. package/dist/types/trading/place-order/index.place-order.types.d.ts +23 -1
  48. package/dist/types/trading/use-claim-winnings.d.mts +84 -0
  49. package/dist/types/trading/use-claim-winnings.d.ts +84 -0
  50. package/dist/types/trading/use-resolved-market-claim.d.mts +26 -0
  51. package/dist/types/trading/use-resolved-market-claim.d.ts +26 -0
  52. package/package.json +3 -3
package/dist/index.mjs CHANGED
@@ -9,8 +9,9 @@ import {
9
9
  USER_PROFILE_TAB_OPEN_ORDERS,
10
10
  USER_PROFILE_TAB_POSITIONS,
11
11
  UserProfilePage,
12
+ buildAggTxExplorerHref,
12
13
  useHomePageModals
13
- } from "./chunk-Y6PVXAUQ.mjs";
14
+ } from "./chunk-7ZR5JYB3.mjs";
14
15
  import {
15
16
  EventList,
16
17
  EventListItem,
@@ -26,7 +27,7 @@ import {
26
27
  mergeVenueOutcomeOrderbooks,
27
28
  orderbookRowLimitDefault,
28
29
  useCenterOrderbookSpread
29
- } from "./chunk-R6FBYAY5.mjs";
30
+ } from "./chunk-JJDYOBVG.mjs";
30
31
  import {
31
32
  CARD_NETWORK_OPTIONS,
32
33
  ConnectAccountsStep,
@@ -43,7 +44,7 @@ import {
43
44
  clearPendingCardSession,
44
45
  getPendingCardSession,
45
46
  subscribeAggDepositNotification
46
- } from "./chunk-3OI2ZLLT.mjs";
47
+ } from "./chunk-NRNBJPYK.mjs";
47
48
  import {
48
49
  DEPOSIT_MODAL_OPEN_EVENT,
49
50
  PlaceOrder,
@@ -54,8 +55,10 @@ import {
54
55
  parseAmount,
55
56
  parseVenue,
56
57
  requestAggDepositModalOpen,
57
- requestAggWithdrawModalOpen
58
- } from "./chunk-YAEA6EDG.mjs";
58
+ requestAggWithdrawModalOpen,
59
+ useClaimWinnings,
60
+ useResolvedMarketClaim
61
+ } from "./chunk-ZOECARZW.mjs";
59
62
  import {
60
63
  SETTLEMENT_SECTION_ID,
61
64
  Settlement,
@@ -73,10 +76,10 @@ import {
73
76
  resolveOrderBookRows,
74
77
  resolveUnifiedOrderBookEntries,
75
78
  useEventTradingContext
76
- } from "./chunk-C5M2OOM3.mjs";
79
+ } from "./chunk-5RBHMMY3.mjs";
77
80
  import {
78
81
  GeoBlockBanner
79
- } from "./chunk-YMVD6Q2A.mjs";
82
+ } from "./chunk-75AMJAWR.mjs";
80
83
  import {
81
84
  AGG_DEFAULT_URL,
82
85
  AGG_DOCS_URL,
@@ -139,6 +142,7 @@ import {
139
142
  LockIcon,
140
143
  Modal,
141
144
  NumberValue,
145
+ PaperModeIcon,
142
146
  PaperPlaneIcon,
143
147
  PencilIcon,
144
148
  PlaceOrderRouteCardSkeleton,
@@ -195,7 +199,7 @@ import {
195
199
  useOptionalToast,
196
200
  useToast,
197
201
  venueLogoNames
198
- } from "./chunk-DXF2LMNN.mjs";
202
+ } from "./chunk-TBD3N4T4.mjs";
199
203
 
200
204
  // src/notifications/agg-notification-events-provider.tsx
201
205
  import {
@@ -1354,6 +1358,7 @@ export {
1354
1358
  OnboardingModal,
1355
1359
  Orderbook,
1356
1360
  OrderbookWithStates,
1361
+ PaperModeIcon,
1357
1362
  PaperPlaneIcon,
1358
1363
  PencilIcon,
1359
1364
  PlaceOrder,
@@ -1406,6 +1411,7 @@ export {
1406
1411
  WithdrawModal,
1407
1412
  AGG_ROOT_CLASS_NAME as aggRootClassName,
1408
1413
  badgeSizes,
1414
+ buildAggTxExplorerHref,
1409
1415
  buildTerminalSummary,
1410
1416
  clearPendingCardSession,
1411
1417
  cn,
@@ -1445,9 +1451,11 @@ export {
1445
1451
  toDate,
1446
1452
  typographyVariants,
1447
1453
  useCenterOrderbookSpread,
1454
+ useClaimWinnings,
1448
1455
  useEventTradingContext,
1449
1456
  useHomePageModals,
1450
1457
  useOptionalToast,
1458
+ useResolvedMarketClaim,
1451
1459
  useToast,
1452
1460
  venueLogoNames
1453
1461
  };