@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.
- package/dist/badge.d.mts +2 -2
- package/dist/badge.d.ts +2 -2
- package/dist/badge.mjs +2 -2
- package/dist/button.d.mts +2 -2
- package/dist/button.d.ts +2 -2
- package/dist/button.js +1 -0
- package/dist/button.mjs +3 -3
- package/dist/card.mjs +2 -2
- package/dist/chart.mjs +3 -3
- package/dist/{chunk-YUIZZ6XE.mjs → chunk-3O4U3E5I.mjs} +1 -1
- package/dist/{chunk-JLLMIPIX.mjs → chunk-4VUDTWH7.mjs} +1 -1
- package/dist/{chunk-MG243DSX.mjs → chunk-AEMAY3MR.mjs} +1 -1
- package/dist/{chunk-FYV3MDIL.mjs → chunk-BJNHDIDW.mjs} +4 -4
- package/dist/{chunk-LY6474C4.mjs → chunk-BLSHXIAH.mjs} +36 -71
- package/dist/{chunk-DQ6XFBYJ.mjs → chunk-DYEWXEEY.mjs} +1 -1
- package/dist/{chunk-OUOIDPGX.mjs → chunk-EXF4SESB.mjs} +1 -1
- package/dist/chunk-F236MLT6.mjs +1337 -0
- package/dist/{chunk-PAQ542ER.mjs → chunk-GHB3GOCW.mjs} +4 -2
- package/dist/{chunk-GC3QIIH7.mjs → chunk-GJ4U5NCE.mjs} +23 -1
- package/dist/chunk-HM3CGN32.mjs +669 -0
- package/dist/chunk-I4YUYVJJ.mjs +472 -0
- package/dist/{chunk-NFYS557L.mjs → chunk-JH5VMNDL.mjs} +3 -3
- package/dist/{chunk-TTOR7JCT.mjs → chunk-JRS2M5GY.mjs} +1 -1
- package/dist/{chunk-QXFDXXDB.mjs → chunk-LWTQD345.mjs} +3 -3
- package/dist/{chunk-QE46DVJG.mjs → chunk-MNSHWA6M.mjs} +3 -3
- package/dist/{chunk-JQ4FUHXE.mjs → chunk-MXBPDNMC.mjs} +7 -7
- package/dist/{chunk-VYNVBJK6.mjs → chunk-NDG43KGL.mjs} +1 -1
- package/dist/chunk-O2XH4A3G.mjs +654 -0
- package/dist/{chunk-KDBYDMYV.mjs → chunk-OBCHURW5.mjs} +1 -1
- package/dist/{chunk-FZTAHWOS.mjs → chunk-OGI343OV.mjs} +2 -2
- package/dist/{chunk-XDAEEJYR.mjs → chunk-P23GR7NX.mjs} +2 -2
- package/dist/{chunk-J6L5BLKX.mjs → chunk-PGSPYQOW.mjs} +2 -2
- package/dist/{chunk-J7OETCZ7.mjs → chunk-QFQHD2V6.mjs} +19 -20
- package/dist/chunk-RGZQHSNJ.mjs +845 -0
- package/dist/{chunk-7XRKA6XF.mjs → chunk-RXACBTON.mjs} +5 -5
- package/dist/{chunk-A4QJAOZW.mjs → chunk-USLTNDJA.mjs} +7 -7
- package/dist/{chunk-FACIYUNK.mjs → chunk-VC7LTPQD.mjs} +2 -2
- package/dist/{chunk-CKTAVEW2.mjs → chunk-VIP7HSOU.mjs} +2 -2
- package/dist/{chunk-5MN6ZNFA.mjs → chunk-VUDJ3PYM.mjs} +9 -9
- package/dist/{chunk-2NCBX6XI.mjs → chunk-W2DMBW4E.mjs} +8 -8
- package/dist/{chunk-764YUN2J.mjs → chunk-XELWY7SO.mjs} +150 -49
- package/dist/chunk-ZDF7QP4G.mjs +160 -0
- package/dist/{chunk-4NK2FNAG.mjs → chunk-ZHKMDK5M.mjs} +244 -112
- package/dist/{chunk-C4OI72SM.mjs → chunk-ZVBVGWSP.mjs} +1 -0
- package/dist/chunk-ZYREURXK.mjs +470 -0
- package/dist/connect-button.js +767 -292
- package/dist/connect-button.mjs +8 -8
- package/dist/deposit-modal.d.mts +34 -0
- package/dist/deposit-modal.d.ts +34 -0
- package/dist/deposit-modal.js +2787 -0
- package/dist/deposit-modal.mjs +15 -0
- package/dist/event-list-item-details.js +271 -173
- package/dist/event-list-item-details.mjs +13 -13
- package/dist/event-list-item.js +903 -426
- package/dist/event-list-item.mjs +11 -11
- package/dist/event-list.js +1104 -517
- package/dist/event-list.mjs +14 -14
- package/dist/event-market-page.d.mts +1 -1
- package/dist/event-market-page.d.ts +1 -1
- package/dist/event-market-page.js +1505 -681
- package/dist/event-market-page.mjs +23 -23
- package/dist/hello-world.mjs +3 -3
- package/dist/home-page.d.mts +1 -1
- package/dist/home-page.d.ts +1 -1
- package/dist/home-page.js +1120 -533
- package/dist/home-page.mjs +15 -15
- package/dist/icon.d.mts +74 -4
- package/dist/icon.d.ts +74 -4
- package/dist/icon.js +668 -123
- package/dist/icon.mjs +32 -4
- package/dist/index.d.mts +15 -7
- package/dist/index.d.ts +15 -7
- package/dist/index.js +5301 -2147
- package/dist/index.mjs +80 -32
- package/dist/loading-icon.d.mts +1 -1
- package/dist/loading-icon.d.ts +1 -1
- package/dist/loading-icon.js +1 -0
- package/dist/loading-icon.mjs +3 -3
- package/dist/market-details.d.mts +2 -2
- package/dist/market-details.d.ts +2 -2
- package/dist/market-details.js +1097 -411
- package/dist/market-details.mjs +16 -16
- package/dist/modal.mjs +3 -3
- package/dist/number-value.mjs +2 -2
- package/dist/onboarding-modal.js +1249 -672
- package/dist/onboarding-modal.mjs +8 -8
- package/dist/place-order.d.mts +1 -1
- package/dist/place-order.d.ts +1 -1
- package/dist/place-order.js +1091 -506
- package/dist/place-order.mjs +12 -12
- package/dist/profile-modal.d.mts +66 -0
- package/dist/profile-modal.d.ts +66 -0
- package/dist/profile-modal.js +2429 -0
- package/dist/profile-modal.mjs +14 -0
- package/dist/{registry-CVn79H3I.d.mts → registry-DfSCFAdC.d.mts} +72 -0
- package/dist/{registry-CVn79H3I.d.ts → registry-DfSCFAdC.d.ts} +72 -0
- package/dist/search.d.mts +2 -2
- package/dist/search.d.ts +2 -2
- package/dist/search.js +740 -265
- package/dist/search.mjs +6 -6
- package/dist/select.d.mts +2 -0
- package/dist/select.d.ts +2 -0
- package/dist/select.js +814 -187
- package/dist/select.mjs +5 -5
- package/dist/settlement.d.mts +1 -1
- package/dist/settlement.d.ts +1 -1
- package/dist/settlement.js +891 -417
- package/dist/settlement.mjs +9 -9
- package/dist/skeleton.js +1 -1
- package/dist/skeleton.mjs +3 -3
- package/dist/styles.css +1 -1
- package/dist/switch-button.mjs +2 -2
- package/dist/tabs.js +854 -227
- package/dist/tabs.mjs +6 -6
- package/dist/tailwind.css +1 -1
- package/dist/types-Bed6Q0EK.d.mts +3 -0
- package/dist/types-Bed6Q0EK.d.ts +3 -0
- package/dist/typography.mjs +2 -2
- package/dist/user-profile-page.d.mts +133 -0
- package/dist/user-profile-page.d.ts +133 -0
- package/dist/user-profile-page.js +3335 -0
- package/dist/user-profile-page.mjs +15 -0
- package/dist/venue-logo.d.mts +2 -2
- package/dist/venue-logo.d.ts +2 -2
- package/dist/venue-logo.js +28 -70
- package/dist/venue-logo.mjs +2 -2
- package/dist/{venue-logo.types-Bg8eXtGp.d.ts → venue-logo.types-BSAuY84j.d.ts} +1 -1
- package/dist/{venue-logo.types-B1iPJgiD.d.mts → venue-logo.types-DACqcTvY.d.mts} +1 -1
- package/dist/withdraw-modal.d.mts +36 -0
- package/dist/withdraw-modal.d.ts +36 -0
- package/dist/withdraw-modal.js +2442 -0
- package/dist/withdraw-modal.mjs +14 -0
- package/package.json +43 -3
- package/dist/chunk-DA6KZWSK.mjs +0 -807
- package/dist/chunk-IY2AA3OL.mjs +0 -50
- package/dist/chunk-R3DRVI4J.mjs +0 -741
- package/dist/types-CayJ8tWA.d.mts +0 -3
- package/dist/types-CayJ8tWA.d.ts +0 -3
- package/dist/{types-C5JigCSX.d.mts → types-DkGlbmXq.d.mts} +2 -2
- package/dist/{types-C5JigCSX.d.ts → types-DkGlbmXq.d.ts} +2 -2
package/dist/index.mjs
CHANGED
|
@@ -1,6 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
HomePage
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-BJNHDIDW.mjs";
|
|
4
|
+
import {
|
|
5
|
+
DepositModal
|
|
6
|
+
} from "./chunk-HM3CGN32.mjs";
|
|
7
|
+
import {
|
|
8
|
+
WithdrawModal
|
|
9
|
+
} from "./chunk-ZYREURXK.mjs";
|
|
4
10
|
import {
|
|
5
11
|
ConnectAccountsStep,
|
|
6
12
|
ConnectKalshiModal,
|
|
@@ -8,19 +14,25 @@ import {
|
|
|
8
14
|
HowItWorksStep,
|
|
9
15
|
OnboardingModal,
|
|
10
16
|
ProfileSetupStep
|
|
11
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-RGZQHSNJ.mjs";
|
|
18
|
+
import {
|
|
19
|
+
ProfileModal
|
|
20
|
+
} from "./chunk-I4YUYVJJ.mjs";
|
|
12
21
|
import {
|
|
13
22
|
EventMarketPage
|
|
14
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-USLTNDJA.mjs";
|
|
24
|
+
import {
|
|
25
|
+
UserProfilePage
|
|
26
|
+
} from "./chunk-O2XH4A3G.mjs";
|
|
15
27
|
import {
|
|
16
28
|
Modal
|
|
17
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-VIP7HSOU.mjs";
|
|
18
30
|
import {
|
|
19
31
|
Settlement
|
|
20
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-QFQHD2V6.mjs";
|
|
21
33
|
import {
|
|
22
34
|
PlaceOrder
|
|
23
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-VUDJ3PYM.mjs";
|
|
24
36
|
import {
|
|
25
37
|
defaultSettlementDifferencesTitle,
|
|
26
38
|
defaultSettlementSectionLabel,
|
|
@@ -33,102 +45,118 @@ import {
|
|
|
33
45
|
getTradingSlippageLabel,
|
|
34
46
|
getTradingValueLabel,
|
|
35
47
|
getTradingVenueLabel
|
|
36
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-OBCHURW5.mjs";
|
|
37
49
|
import {
|
|
38
50
|
EventListItemDetails
|
|
39
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-ZHKMDK5M.mjs";
|
|
40
52
|
import {
|
|
41
53
|
MarketDetails
|
|
42
|
-
} from "./chunk-
|
|
43
|
-
import "./chunk-
|
|
54
|
+
} from "./chunk-XELWY7SO.mjs";
|
|
55
|
+
import "./chunk-P23GR7NX.mjs";
|
|
44
56
|
import {
|
|
45
57
|
EventList
|
|
46
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-MXBPDNMC.mjs";
|
|
47
59
|
import {
|
|
48
60
|
EventListItem
|
|
49
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-W2DMBW4E.mjs";
|
|
50
62
|
import {
|
|
51
63
|
Tabs
|
|
52
|
-
} from "./chunk-
|
|
53
|
-
import "./chunk-
|
|
64
|
+
} from "./chunk-LWTQD345.mjs";
|
|
65
|
+
import "./chunk-GHB3GOCW.mjs";
|
|
54
66
|
import {
|
|
55
67
|
NumberValue
|
|
56
|
-
} from "./chunk-
|
|
68
|
+
} from "./chunk-4VUDTWH7.mjs";
|
|
57
69
|
import {
|
|
58
70
|
Badge,
|
|
59
71
|
badgeSizes
|
|
60
|
-
} from "./chunk-
|
|
72
|
+
} from "./chunk-AEMAY3MR.mjs";
|
|
61
73
|
import {
|
|
62
74
|
Select
|
|
63
|
-
} from "./chunk-
|
|
75
|
+
} from "./chunk-ZDF7QP4G.mjs";
|
|
64
76
|
import {
|
|
65
77
|
Search
|
|
66
|
-
} from "./chunk-
|
|
78
|
+
} from "./chunk-MNSHWA6M.mjs";
|
|
67
79
|
import {
|
|
68
80
|
Skeleton,
|
|
69
81
|
skeletonViews
|
|
70
|
-
} from "./chunk-
|
|
82
|
+
} from "./chunk-JH5VMNDL.mjs";
|
|
71
83
|
import {
|
|
72
84
|
ConnectButton
|
|
73
|
-
} from "./chunk-
|
|
85
|
+
} from "./chunk-RXACBTON.mjs";
|
|
74
86
|
import {
|
|
75
87
|
LoadingIcon
|
|
76
|
-
} from "./chunk-
|
|
88
|
+
} from "./chunk-OGI343OV.mjs";
|
|
77
89
|
import {
|
|
78
90
|
VenueLogo,
|
|
79
91
|
venueLogoNames
|
|
80
|
-
} from "./chunk-
|
|
92
|
+
} from "./chunk-BLSHXIAH.mjs";
|
|
81
93
|
import {
|
|
82
94
|
ArrowTrendUpIcon,
|
|
83
95
|
ArrowsToDotIcon,
|
|
96
|
+
BankIcon,
|
|
84
97
|
BestPricesIcon,
|
|
98
|
+
BoltIcon,
|
|
85
99
|
CheckCircleIcon,
|
|
86
100
|
ChevronDownIcon,
|
|
101
|
+
ChevronLeftIcon,
|
|
87
102
|
ChevronRightIcon,
|
|
88
103
|
ChevronUpIcon,
|
|
104
|
+
CopyIcon,
|
|
89
105
|
CreateAccountIcon,
|
|
106
|
+
CreditCardIcon,
|
|
90
107
|
DisconnectIcon,
|
|
108
|
+
DocumentIcon,
|
|
109
|
+
DotsHorizontalIcon,
|
|
91
110
|
DownloadIcon,
|
|
111
|
+
ExternalLinkIcon,
|
|
92
112
|
Icon,
|
|
113
|
+
InfoIcon,
|
|
93
114
|
LinkAccountsIcon,
|
|
115
|
+
PencilIcon,
|
|
116
|
+
PlaySquareIcon,
|
|
94
117
|
ProfileIcon,
|
|
95
118
|
RevenueAltIcon,
|
|
96
119
|
SearchIcon,
|
|
97
120
|
ShieldTrustIcon,
|
|
98
121
|
StayInControlIcon,
|
|
99
122
|
TriangleDownIcon,
|
|
123
|
+
TriangleUpFilledIcon,
|
|
100
124
|
TriangleUpIcon,
|
|
101
125
|
UploadIcon,
|
|
102
126
|
WalletAvatarIcon,
|
|
127
|
+
WalletIcon,
|
|
128
|
+
WarningFilledIcon,
|
|
103
129
|
WarningIcon,
|
|
104
130
|
iconNames
|
|
105
|
-
} from "./chunk-
|
|
131
|
+
} from "./chunk-F236MLT6.mjs";
|
|
106
132
|
import {
|
|
107
133
|
CloseIcon
|
|
108
|
-
} from "./chunk-
|
|
134
|
+
} from "./chunk-NDG43KGL.mjs";
|
|
109
135
|
import "./chunk-BNDFQPHF.mjs";
|
|
110
136
|
import {
|
|
111
137
|
Button
|
|
112
|
-
} from "./chunk-
|
|
113
|
-
import "./chunk-
|
|
138
|
+
} from "./chunk-PGSPYQOW.mjs";
|
|
139
|
+
import "./chunk-ZVBVGWSP.mjs";
|
|
114
140
|
import {
|
|
115
141
|
HelloWorld
|
|
116
|
-
} from "./chunk-
|
|
142
|
+
} from "./chunk-EXF4SESB.mjs";
|
|
117
143
|
import {
|
|
118
144
|
Typography
|
|
119
|
-
} from "./chunk-
|
|
145
|
+
} from "./chunk-DYEWXEEY.mjs";
|
|
120
146
|
import {
|
|
121
147
|
Card
|
|
122
|
-
} from "./chunk-
|
|
148
|
+
} from "./chunk-3O4U3E5I.mjs";
|
|
123
149
|
import {
|
|
124
150
|
LineChart
|
|
125
|
-
} from "./chunk-
|
|
151
|
+
} from "./chunk-VC7LTPQD.mjs";
|
|
126
152
|
import {
|
|
127
153
|
SwitchButton
|
|
128
|
-
} from "./chunk-
|
|
154
|
+
} from "./chunk-JRS2M5GY.mjs";
|
|
129
155
|
import {
|
|
130
156
|
AGG_ROOT_CLASS_NAME,
|
|
131
157
|
cn,
|
|
158
|
+
formatAmountDisplay,
|
|
159
|
+
formatCompactUsd,
|
|
132
160
|
formatUsd,
|
|
133
161
|
getMotionClassName,
|
|
134
162
|
getScrollBehavior,
|
|
@@ -136,7 +164,7 @@ import {
|
|
|
136
164
|
isValidDateValue,
|
|
137
165
|
shortenAddress,
|
|
138
166
|
toDate
|
|
139
|
-
} from "./chunk-
|
|
167
|
+
} from "./chunk-GJ4U5NCE.mjs";
|
|
140
168
|
|
|
141
169
|
// src/trading/types.ts
|
|
142
170
|
import { z } from "zod";
|
|
@@ -215,11 +243,14 @@ export {
|
|
|
215
243
|
ArrowTrendUpIcon,
|
|
216
244
|
ArrowsToDotIcon,
|
|
217
245
|
Badge,
|
|
246
|
+
BankIcon,
|
|
218
247
|
BestPricesIcon,
|
|
248
|
+
BoltIcon,
|
|
219
249
|
Button,
|
|
220
250
|
Card,
|
|
221
251
|
CheckCircleIcon,
|
|
222
252
|
ChevronDownIcon,
|
|
253
|
+
ChevronLeftIcon,
|
|
223
254
|
ChevronRightIcon,
|
|
224
255
|
ChevronUpIcon,
|
|
225
256
|
CloseIcon,
|
|
@@ -227,17 +258,24 @@ export {
|
|
|
227
258
|
ConnectButton,
|
|
228
259
|
ConnectKalshiModal,
|
|
229
260
|
ConnectOnchainModal,
|
|
261
|
+
CopyIcon,
|
|
230
262
|
CreateAccountIcon,
|
|
263
|
+
CreditCardIcon,
|
|
264
|
+
DepositModal,
|
|
231
265
|
DisconnectIcon,
|
|
266
|
+
DocumentIcon,
|
|
267
|
+
DotsHorizontalIcon,
|
|
232
268
|
DownloadIcon,
|
|
233
269
|
EventList,
|
|
234
270
|
EventListItem,
|
|
235
271
|
EventListItemDetails,
|
|
236
272
|
EventMarketPage,
|
|
273
|
+
ExternalLinkIcon,
|
|
237
274
|
HelloWorld,
|
|
238
275
|
HomePage,
|
|
239
276
|
HowItWorksStep,
|
|
240
277
|
Icon,
|
|
278
|
+
InfoIcon,
|
|
241
279
|
LineChart,
|
|
242
280
|
LinkAccountsIcon,
|
|
243
281
|
LoadingIcon,
|
|
@@ -245,8 +283,11 @@ export {
|
|
|
245
283
|
Modal,
|
|
246
284
|
NumberValue,
|
|
247
285
|
OnboardingModal,
|
|
286
|
+
PencilIcon,
|
|
248
287
|
PlaceOrder,
|
|
288
|
+
PlaySquareIcon,
|
|
249
289
|
ProfileIcon,
|
|
290
|
+
ProfileModal,
|
|
250
291
|
ProfileSetupStep,
|
|
251
292
|
RevenueAltIcon,
|
|
252
293
|
Search,
|
|
@@ -259,18 +300,25 @@ export {
|
|
|
259
300
|
SwitchButton,
|
|
260
301
|
Tabs,
|
|
261
302
|
TriangleDownIcon,
|
|
303
|
+
TriangleUpFilledIcon,
|
|
262
304
|
TriangleUpIcon,
|
|
263
305
|
Typography,
|
|
264
306
|
UploadIcon,
|
|
307
|
+
UserProfilePage,
|
|
265
308
|
VenueLogo,
|
|
266
309
|
WalletAvatarIcon,
|
|
310
|
+
WalletIcon,
|
|
311
|
+
WarningFilledIcon,
|
|
267
312
|
WarningIcon,
|
|
313
|
+
WithdrawModal,
|
|
268
314
|
AGG_ROOT_CLASS_NAME as aggRootClassName,
|
|
269
315
|
badgeSizes,
|
|
270
316
|
cn,
|
|
271
317
|
defaultSettlementDifferencesTitle,
|
|
272
318
|
defaultSettlementSectionLabel,
|
|
273
319
|
defaultTradingDisclaimer,
|
|
320
|
+
formatAmountDisplay,
|
|
321
|
+
formatCompactUsd,
|
|
274
322
|
formatUsd,
|
|
275
323
|
getMotionClassName,
|
|
276
324
|
getScrollBehavior,
|
package/dist/loading-icon.d.mts
CHANGED
package/dist/loading-icon.d.ts
CHANGED
package/dist/loading-icon.js
CHANGED
package/dist/loading-icon.mjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Event } from '@agg-market/hooks';
|
|
2
2
|
import React from 'react';
|
|
3
|
-
import { V as VenueLogoName } from './venue-logo.types-
|
|
3
|
+
import { V as VenueLogoName } from './venue-logo.types-DACqcTvY.mjs';
|
|
4
4
|
import { d as EventListItemDetailsTimeRange } from './event-list-item-details.types-DekJKeMD.mjs';
|
|
5
|
-
import './types-
|
|
5
|
+
import './types-Bed6Q0EK.mjs';
|
|
6
6
|
import './event-list-item.types-Y6IeJ4e4.mjs';
|
|
7
7
|
|
|
8
8
|
type MarketDetailsTab = "order-book" | "graph" | "other";
|
package/dist/market-details.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Event } from '@agg-market/hooks';
|
|
2
2
|
import React from 'react';
|
|
3
|
-
import { V as VenueLogoName } from './venue-logo.types-
|
|
3
|
+
import { V as VenueLogoName } from './venue-logo.types-BSAuY84j.js';
|
|
4
4
|
import { d as EventListItemDetailsTimeRange } from './event-list-item-details.types-CMbXOrT-.js';
|
|
5
|
-
import './types-
|
|
5
|
+
import './types-Bed6Q0EK.js';
|
|
6
6
|
import './event-list-item.types-Y6IeJ4e4.js';
|
|
7
7
|
|
|
8
8
|
type MarketDetailsTab = "order-book" | "graph" | "other";
|