@agg-build/ui 4.2.0 → 4.7.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.
- package/README.md +25 -16
- package/dist/{chunk-DNPDXL2D.mjs → chunk-3RQCBGIK.mjs} +341 -105
- package/dist/{chunk-GNEFI4SO.mjs → chunk-C4GFVJ62.mjs} +725 -400
- package/dist/{chunk-UDBHAZJJ.mjs → chunk-EOLR7DHL.mjs} +568 -145
- package/dist/{chunk-6X6Y4INU.mjs → chunk-LXQ3U4X2.mjs} +2 -2
- package/dist/{chunk-QW7VFURU.mjs → chunk-RDBMHBR2.mjs} +67 -3
- package/dist/{chunk-WDCH4RRS.mjs → chunk-WYCSTAN7.mjs} +1 -1
- package/dist/{chunk-FTL25XKE.mjs → chunk-XN2NB2NP.mjs} +1 -1
- package/dist/events.js +1149 -661
- package/dist/events.mjs +6 -4
- package/dist/index.js +3320 -2291
- package/dist/index.mjs +12 -8
- package/dist/modals.js +9 -2
- package/dist/modals.mjs +3 -3
- package/dist/pages.js +2789 -1762
- package/dist/pages.mjs +8 -6
- package/dist/primitives.js +30 -3
- package/dist/primitives.mjs +1 -1
- package/dist/styles.css +1 -1
- package/dist/tailwind.css +1 -1
- package/dist/trading.js +338 -102
- package/dist/trading.mjs +4 -4
- package/dist/types/events/index.d.mts +1 -0
- package/dist/types/events/index.d.ts +1 -0
- package/dist/types/events/item-details/event-list-item-details-market-selector.d.mts +4 -1
- package/dist/types/events/item-details/event-list-item-details-market-selector.d.ts +4 -1
- package/dist/types/events/item-details/event-list-item-details.types.d.mts +25 -1
- package/dist/types/events/item-details/event-list-item-details.types.d.ts +25 -1
- package/dist/types/events/item-details/index.d.mts +1 -1
- package/dist/types/events/item-details/index.d.ts +1 -1
- package/dist/types/events/list/event-list.constants.d.mts +3 -1
- package/dist/types/events/list/event-list.constants.d.ts +3 -1
- package/dist/types/events/list/event-list.types.d.mts +17 -0
- package/dist/types/events/list/event-list.types.d.ts +17 -0
- package/dist/types/events/list/event-list.utils.d.mts +4 -0
- package/dist/types/events/list/event-list.utils.d.ts +4 -0
- package/dist/types/events/list/index.d.mts +2 -2
- package/dist/types/events/list/index.d.ts +2 -2
- package/dist/types/events/market-details/index.d.mts +1 -1
- package/dist/types/events/market-details/index.d.ts +1 -1
- package/dist/types/events/market-details/market-details.types.d.mts +4 -0
- package/dist/types/events/market-details/market-details.types.d.ts +4 -0
- package/dist/types/events/shared/format-event-title.d.mts +9 -1
- package/dist/types/events/shared/format-event-title.d.ts +9 -1
- package/dist/types/events/shared/format-sports-event-time.d.mts +2 -0
- package/dist/types/events/shared/format-sports-event-time.d.ts +2 -0
- package/dist/types/events/shared/sports-live-score.d.mts +10 -0
- package/dist/types/events/shared/sports-live-score.d.ts +10 -0
- package/dist/types/pages/event-market/event-market.types.d.mts +4 -0
- package/dist/types/pages/event-market/event-market.types.d.ts +4 -0
- package/dist/types/pages/event-market/index.d.mts +1 -0
- package/dist/types/pages/event-market/index.d.ts +1 -0
- package/dist/types/pages/home/event-discovery-url-state.d.mts +35 -0
- package/dist/types/pages/home/event-discovery-url-state.d.ts +35 -0
- package/dist/types/pages/user-profile/components/available-balance-card.d.mts +5 -0
- package/dist/types/pages/user-profile/components/available-balance-card.d.ts +5 -0
- package/dist/types/pages/user-profile/components/open-order-row.d.mts +1 -0
- package/dist/types/pages/user-profile/components/open-order-row.d.ts +1 -0
- package/dist/types/pages/user-profile/components/positions-activity.d.mts +1 -1
- package/dist/types/pages/user-profile/components/positions-activity.d.ts +1 -1
- package/dist/types/pages/user-profile/user-profile.types.d.mts +1 -1
- package/dist/types/pages/user-profile/user-profile.types.d.ts +1 -1
- 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.execution-steps.d.mts +13 -1
- package/dist/types/trading/place-order/index.place-order.execution-steps.d.ts +13 -1
- package/dist/types/trading/place-order/index.place-order.execution-view.d.mts +2 -1
- package/dist/types/trading/place-order/index.place-order.execution-view.d.ts +2 -1
- package/dist/types/trading/place-order/index.place-order.types.d.mts +9 -0
- package/dist/types/trading/place-order/index.place-order.types.d.ts +9 -0
- package/dist/types/trading/place-order/index.place-order.utils.d.mts +6 -0
- package/dist/types/trading/place-order/index.place-order.utils.d.ts +6 -0
- package/package.json +3 -3
- /package/dist/{chunk-KHHFHXXD.mjs → chunk-JH4B3ZHQ.mjs} +0 -0
package/dist/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import "./chunk-
|
|
2
|
+
import "./chunk-JH4B3ZHQ.mjs";
|
|
3
3
|
import {
|
|
4
4
|
ConditionalWrapper,
|
|
5
5
|
DefaultAvatar,
|
|
@@ -11,9 +11,10 @@ import {
|
|
|
11
11
|
USER_PROFILE_TAB_POSITIONS,
|
|
12
12
|
UserProfilePage,
|
|
13
13
|
buildAggTxExplorerHref,
|
|
14
|
+
formatRecurringCountdown,
|
|
14
15
|
formatShareAmount,
|
|
15
16
|
useHomePageModals
|
|
16
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-EOLR7DHL.mjs";
|
|
17
18
|
import {
|
|
18
19
|
EventList,
|
|
19
20
|
EventListItem,
|
|
@@ -24,13 +25,14 @@ import {
|
|
|
24
25
|
Orderbook,
|
|
25
26
|
OrderbookWithStates,
|
|
26
27
|
SettlementSummary,
|
|
28
|
+
SportsLiveScore,
|
|
27
29
|
collectEligibleVenueOutcomeIds,
|
|
28
30
|
collectEligibleVenueOutcomes,
|
|
29
31
|
mergeVenueOutcomeOrderbooks,
|
|
30
32
|
orderbookRowLimitDefault,
|
|
31
33
|
resolveEventDetailsSyncKey,
|
|
32
34
|
useCenterOrderbookSpread
|
|
33
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-C4GFVJ62.mjs";
|
|
34
36
|
import {
|
|
35
37
|
CARD_NETWORK_OPTIONS,
|
|
36
38
|
DepositModal,
|
|
@@ -40,7 +42,7 @@ import {
|
|
|
40
42
|
buildTerminalSummary,
|
|
41
43
|
clearPendingCardSession,
|
|
42
44
|
getPendingCardSession
|
|
43
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-LXQ3U4X2.mjs";
|
|
44
46
|
import {
|
|
45
47
|
AggNotificationEventsProvider,
|
|
46
48
|
DEPOSIT_MODAL_OPEN_EVENT,
|
|
@@ -59,7 +61,7 @@ import {
|
|
|
59
61
|
requestAggWithdrawModalOpen,
|
|
60
62
|
useClaimWinnings,
|
|
61
63
|
useResolvedMarketClaim
|
|
62
|
-
} from "./chunk-
|
|
64
|
+
} from "./chunk-3RQCBGIK.mjs";
|
|
63
65
|
import {
|
|
64
66
|
SETTLEMENT_SECTION_ID,
|
|
65
67
|
Settlement,
|
|
@@ -80,7 +82,7 @@ import {
|
|
|
80
82
|
resolveOrderBookRows,
|
|
81
83
|
resolveUnifiedOrderBookEntries,
|
|
82
84
|
useEventTradingContext
|
|
83
|
-
} from "./chunk-
|
|
85
|
+
} from "./chunk-WYCSTAN7.mjs";
|
|
84
86
|
import {
|
|
85
87
|
ConnectAccountsStep,
|
|
86
88
|
ConnectKalshiModal,
|
|
@@ -89,7 +91,7 @@ import {
|
|
|
89
91
|
HowItWorksStep,
|
|
90
92
|
OnboardingModal,
|
|
91
93
|
ProfileSetupStep
|
|
92
|
-
} from "./chunk-
|
|
94
|
+
} from "./chunk-XN2NB2NP.mjs";
|
|
93
95
|
import {
|
|
94
96
|
AGG_DEFAULT_URL,
|
|
95
97
|
AGG_DOCS_URL,
|
|
@@ -211,7 +213,7 @@ import {
|
|
|
211
213
|
useOptionalToast,
|
|
212
214
|
useToast,
|
|
213
215
|
venueLogoNames
|
|
214
|
-
} from "./chunk-
|
|
216
|
+
} from "./chunk-RDBMHBR2.mjs";
|
|
215
217
|
|
|
216
218
|
// src/notifications/agg-toast-provider.tsx
|
|
217
219
|
import { jsx } from "react/jsx-runtime";
|
|
@@ -1090,6 +1092,7 @@ export {
|
|
|
1090
1092
|
Skeleton,
|
|
1091
1093
|
SolanaIcon,
|
|
1092
1094
|
SparklesFilledIcon,
|
|
1095
|
+
SportsLiveScore,
|
|
1093
1096
|
StateMessage,
|
|
1094
1097
|
StayInControlIcon,
|
|
1095
1098
|
SuccessCheckIcon,
|
|
@@ -1129,6 +1132,7 @@ export {
|
|
|
1129
1132
|
formatAmountDisplay,
|
|
1130
1133
|
formatCompactUsd,
|
|
1131
1134
|
formatProbabilityCents,
|
|
1135
|
+
formatRecurringCountdown,
|
|
1132
1136
|
formatShareAmount,
|
|
1133
1137
|
formatTokenAmount,
|
|
1134
1138
|
formatUsd,
|
package/dist/modals.js
CHANGED
|
@@ -7721,7 +7721,7 @@ var Tabs = ({
|
|
|
7721
7721
|
width: activeButton.offsetWidth,
|
|
7722
7722
|
opacity: 1
|
|
7723
7723
|
});
|
|
7724
|
-
}, [isBarVariant, renderedItems, value]);
|
|
7724
|
+
}, [isBarVariant, renderedItems, tabListRef, value]);
|
|
7725
7725
|
(0, import_react11.useLayoutEffect)(() => {
|
|
7726
7726
|
updateActiveUnderline();
|
|
7727
7727
|
}, [updateActiveUnderline]);
|
|
@@ -7780,7 +7780,14 @@ var Tabs = ({
|
|
|
7780
7780
|
requestAnimationFrame(() => {
|
|
7781
7781
|
updateScrollState();
|
|
7782
7782
|
});
|
|
7783
|
-
}, [
|
|
7783
|
+
}, [
|
|
7784
|
+
enableAnimations,
|
|
7785
|
+
renderedItems,
|
|
7786
|
+
shouldUseOverflowScroll,
|
|
7787
|
+
tabListRef,
|
|
7788
|
+
updateScrollState,
|
|
7789
|
+
value
|
|
7790
|
+
]);
|
|
7784
7791
|
if (shouldUseOverflowSelect) {
|
|
7785
7792
|
return /* @__PURE__ */ (0, import_jsx_runtime124.jsx)("div", { className: cn("group/agg-tabs w-full", className, classNames == null ? void 0 : classNames.root), children: /* @__PURE__ */ (0, import_jsx_runtime124.jsx)(
|
|
7786
7793
|
Select,
|
package/dist/modals.mjs
CHANGED
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
buildTerminalSummary,
|
|
9
9
|
clearPendingCardSession,
|
|
10
10
|
getPendingCardSession
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-LXQ3U4X2.mjs";
|
|
12
12
|
import {
|
|
13
13
|
ConnectAccountsStep,
|
|
14
14
|
ConnectKalshiModal,
|
|
@@ -17,8 +17,8 @@ import {
|
|
|
17
17
|
HowItWorksStep,
|
|
18
18
|
OnboardingModal,
|
|
19
19
|
ProfileSetupStep
|
|
20
|
-
} from "./chunk-
|
|
21
|
-
import "./chunk-
|
|
20
|
+
} from "./chunk-XN2NB2NP.mjs";
|
|
21
|
+
import "./chunk-RDBMHBR2.mjs";
|
|
22
22
|
export {
|
|
23
23
|
CARD_NETWORK_OPTIONS,
|
|
24
24
|
ConnectAccountsStep,
|