@agg-build/ui 2.1.1 → 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.
- package/dist/{chunk-TERG43WW.mjs → chunk-5RBHMMY3.mjs} +1 -1
- package/dist/{chunk-RPXRTXCY.mjs → chunk-75AMJAWR.mjs} +1 -1
- package/dist/{chunk-IQT4I5B4.mjs → chunk-7ZR5JYB3.mjs} +39 -241
- package/dist/{chunk-NK57KMYN.mjs → chunk-JJDYOBVG.mjs} +117 -48
- package/dist/{chunk-WU2C3C6K.mjs → chunk-NRNBJPYK.mjs} +1 -1
- package/dist/{chunk-YJO6LMRT.mjs → chunk-TBD3N4T4.mjs} +69 -7
- package/dist/{chunk-XHDGSRG7.mjs → chunk-ZOECARZW.mjs} +359 -14
- package/dist/events.js +175 -59
- package/dist/events.mjs +3 -3
- package/dist/index.js +1080 -820
- package/dist/index.mjs +12 -8
- package/dist/modals.js +1 -1
- package/dist/modals.mjs +3 -3
- package/dist/pages.js +845 -589
- package/dist/pages.mjs +6 -6
- package/dist/primitives.js +68 -7
- package/dist/primitives.mjs +1 -1
- package/dist/styles.css +1 -1
- package/dist/tailwind.css +1 -1
- package/dist/trading.js +679 -339
- package/dist/trading.mjs +10 -6
- package/dist/types/events/shared/format-event-title.d.mts +25 -0
- package/dist/types/events/shared/format-event-title.d.ts +25 -0
- package/dist/types/events/shared/select-best-outcome.d.mts +88 -0
- package/dist/types/events/shared/select-best-outcome.d.ts +88 -0
- package/dist/types/pages/event-market/event-market.types.d.mts +7 -0
- package/dist/types/pages/event-market/event-market.types.d.ts +7 -0
- package/dist/types/primitives/search/search.utils.d.mts +3 -1
- package/dist/types/primitives/search/search.utils.d.ts +3 -1
- package/dist/types/trading/index.d.mts +2 -0
- package/dist/types/trading/index.d.ts +2 -0
- package/dist/types/trading/place-order/index.d.mts +1 -1
- package/dist/types/trading/place-order/index.d.ts +1 -1
- package/dist/types/trading/place-order/index.place-order.types.d.mts +23 -1
- package/dist/types/trading/place-order/index.place-order.types.d.ts +23 -1
- package/dist/types/trading/use-claim-winnings.d.mts +84 -0
- package/dist/types/trading/use-claim-winnings.d.ts +84 -0
- package/dist/types/trading/use-resolved-market-claim.d.mts +26 -0
- package/dist/types/trading/use-resolved-market-claim.d.ts +26 -0
- package/package.json +3 -3
package/dist/index.mjs
CHANGED
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
UserProfilePage,
|
|
12
12
|
buildAggTxExplorerHref,
|
|
13
13
|
useHomePageModals
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-7ZR5JYB3.mjs";
|
|
15
15
|
import {
|
|
16
16
|
EventList,
|
|
17
17
|
EventListItem,
|
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
mergeVenueOutcomeOrderbooks,
|
|
28
28
|
orderbookRowLimitDefault,
|
|
29
29
|
useCenterOrderbookSpread
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-JJDYOBVG.mjs";
|
|
31
31
|
import {
|
|
32
32
|
CARD_NETWORK_OPTIONS,
|
|
33
33
|
ConnectAccountsStep,
|
|
@@ -44,7 +44,7 @@ import {
|
|
|
44
44
|
clearPendingCardSession,
|
|
45
45
|
getPendingCardSession,
|
|
46
46
|
subscribeAggDepositNotification
|
|
47
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-NRNBJPYK.mjs";
|
|
48
48
|
import {
|
|
49
49
|
DEPOSIT_MODAL_OPEN_EVENT,
|
|
50
50
|
PlaceOrder,
|
|
@@ -55,8 +55,10 @@ import {
|
|
|
55
55
|
parseAmount,
|
|
56
56
|
parseVenue,
|
|
57
57
|
requestAggDepositModalOpen,
|
|
58
|
-
requestAggWithdrawModalOpen
|
|
59
|
-
|
|
58
|
+
requestAggWithdrawModalOpen,
|
|
59
|
+
useClaimWinnings,
|
|
60
|
+
useResolvedMarketClaim
|
|
61
|
+
} from "./chunk-ZOECARZW.mjs";
|
|
60
62
|
import {
|
|
61
63
|
SETTLEMENT_SECTION_ID,
|
|
62
64
|
Settlement,
|
|
@@ -74,10 +76,10 @@ import {
|
|
|
74
76
|
resolveOrderBookRows,
|
|
75
77
|
resolveUnifiedOrderBookEntries,
|
|
76
78
|
useEventTradingContext
|
|
77
|
-
} from "./chunk-
|
|
79
|
+
} from "./chunk-5RBHMMY3.mjs";
|
|
78
80
|
import {
|
|
79
81
|
GeoBlockBanner
|
|
80
|
-
} from "./chunk-
|
|
82
|
+
} from "./chunk-75AMJAWR.mjs";
|
|
81
83
|
import {
|
|
82
84
|
AGG_DEFAULT_URL,
|
|
83
85
|
AGG_DOCS_URL,
|
|
@@ -197,7 +199,7 @@ import {
|
|
|
197
199
|
useOptionalToast,
|
|
198
200
|
useToast,
|
|
199
201
|
venueLogoNames
|
|
200
|
-
} from "./chunk-
|
|
202
|
+
} from "./chunk-TBD3N4T4.mjs";
|
|
201
203
|
|
|
202
204
|
// src/notifications/agg-notification-events-provider.tsx
|
|
203
205
|
import {
|
|
@@ -1449,9 +1451,11 @@ export {
|
|
|
1449
1451
|
toDate,
|
|
1450
1452
|
typographyVariants,
|
|
1451
1453
|
useCenterOrderbookSpread,
|
|
1454
|
+
useClaimWinnings,
|
|
1452
1455
|
useEventTradingContext,
|
|
1453
1456
|
useHomePageModals,
|
|
1454
1457
|
useOptionalToast,
|
|
1458
|
+
useResolvedMarketClaim,
|
|
1455
1459
|
useToast,
|
|
1456
1460
|
venueLogoNames
|
|
1457
1461
|
};
|
package/dist/modals.js
CHANGED
|
@@ -4375,7 +4375,7 @@ var Select = ({
|
|
|
4375
4375
|
disabled: item.disabled,
|
|
4376
4376
|
className: cn(
|
|
4377
4377
|
"agg-select-item",
|
|
4378
|
-
"relative flex w-full items-center gap-3 rounded-[6px]
|
|
4378
|
+
"relative flex w-full items-center gap-3 rounded-[6px] pl-3 pr-5 py-3 text-left text-agg-sm leading-agg-5 outline-none",
|
|
4379
4379
|
"hover:bg-agg-secondary-hover focus-visible:bg-agg-secondary-hover",
|
|
4380
4380
|
isSelected ? "bg-agg-primary/10 font-agg-normal text-agg-primary" : "font-agg-normal text-agg-foreground",
|
|
4381
4381
|
item.disabled && "cursor-not-allowed opacity-60",
|
package/dist/modals.mjs
CHANGED
|
@@ -14,11 +14,11 @@ import {
|
|
|
14
14
|
buildTerminalSummary,
|
|
15
15
|
clearPendingCardSession,
|
|
16
16
|
getPendingCardSession
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-NRNBJPYK.mjs";
|
|
18
18
|
import {
|
|
19
19
|
GeoBlockBanner
|
|
20
|
-
} from "./chunk-
|
|
21
|
-
import "./chunk-
|
|
20
|
+
} from "./chunk-75AMJAWR.mjs";
|
|
21
|
+
import "./chunk-TBD3N4T4.mjs";
|
|
22
22
|
export {
|
|
23
23
|
CARD_NETWORK_OPTIONS,
|
|
24
24
|
ConnectAccountsStep,
|