@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
package/dist/index.mjs CHANGED
@@ -1,6 +1,12 @@
1
1
  import {
2
2
  HomePage
3
- } from "./chunk-FYV3MDIL.mjs";
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-R3DRVI4J.mjs";
17
+ } from "./chunk-RGZQHSNJ.mjs";
18
+ import {
19
+ ProfileModal
20
+ } from "./chunk-I4YUYVJJ.mjs";
12
21
  import {
13
22
  EventMarketPage
14
- } from "./chunk-A4QJAOZW.mjs";
23
+ } from "./chunk-USLTNDJA.mjs";
24
+ import {
25
+ UserProfilePage
26
+ } from "./chunk-O2XH4A3G.mjs";
15
27
  import {
16
28
  Modal
17
- } from "./chunk-CKTAVEW2.mjs";
29
+ } from "./chunk-VIP7HSOU.mjs";
18
30
  import {
19
31
  Settlement
20
- } from "./chunk-J7OETCZ7.mjs";
32
+ } from "./chunk-QFQHD2V6.mjs";
21
33
  import {
22
34
  PlaceOrder
23
- } from "./chunk-5MN6ZNFA.mjs";
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-KDBYDMYV.mjs";
48
+ } from "./chunk-OBCHURW5.mjs";
37
49
  import {
38
50
  EventListItemDetails
39
- } from "./chunk-4NK2FNAG.mjs";
51
+ } from "./chunk-ZHKMDK5M.mjs";
40
52
  import {
41
53
  MarketDetails
42
- } from "./chunk-764YUN2J.mjs";
43
- import "./chunk-XDAEEJYR.mjs";
54
+ } from "./chunk-XELWY7SO.mjs";
55
+ import "./chunk-P23GR7NX.mjs";
44
56
  import {
45
57
  EventList
46
- } from "./chunk-JQ4FUHXE.mjs";
58
+ } from "./chunk-MXBPDNMC.mjs";
47
59
  import {
48
60
  EventListItem
49
- } from "./chunk-2NCBX6XI.mjs";
61
+ } from "./chunk-W2DMBW4E.mjs";
50
62
  import {
51
63
  Tabs
52
- } from "./chunk-QXFDXXDB.mjs";
53
- import "./chunk-PAQ542ER.mjs";
64
+ } from "./chunk-LWTQD345.mjs";
65
+ import "./chunk-GHB3GOCW.mjs";
54
66
  import {
55
67
  NumberValue
56
- } from "./chunk-JLLMIPIX.mjs";
68
+ } from "./chunk-4VUDTWH7.mjs";
57
69
  import {
58
70
  Badge,
59
71
  badgeSizes
60
- } from "./chunk-MG243DSX.mjs";
72
+ } from "./chunk-AEMAY3MR.mjs";
61
73
  import {
62
74
  Select
63
- } from "./chunk-IY2AA3OL.mjs";
75
+ } from "./chunk-ZDF7QP4G.mjs";
64
76
  import {
65
77
  Search
66
- } from "./chunk-QE46DVJG.mjs";
78
+ } from "./chunk-MNSHWA6M.mjs";
67
79
  import {
68
80
  Skeleton,
69
81
  skeletonViews
70
- } from "./chunk-NFYS557L.mjs";
82
+ } from "./chunk-JH5VMNDL.mjs";
71
83
  import {
72
84
  ConnectButton
73
- } from "./chunk-7XRKA6XF.mjs";
85
+ } from "./chunk-RXACBTON.mjs";
74
86
  import {
75
87
  LoadingIcon
76
- } from "./chunk-FZTAHWOS.mjs";
88
+ } from "./chunk-OGI343OV.mjs";
77
89
  import {
78
90
  VenueLogo,
79
91
  venueLogoNames
80
- } from "./chunk-LY6474C4.mjs";
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-DA6KZWSK.mjs";
131
+ } from "./chunk-F236MLT6.mjs";
106
132
  import {
107
133
  CloseIcon
108
- } from "./chunk-VYNVBJK6.mjs";
134
+ } from "./chunk-NDG43KGL.mjs";
109
135
  import "./chunk-BNDFQPHF.mjs";
110
136
  import {
111
137
  Button
112
- } from "./chunk-J6L5BLKX.mjs";
113
- import "./chunk-C4OI72SM.mjs";
138
+ } from "./chunk-PGSPYQOW.mjs";
139
+ import "./chunk-ZVBVGWSP.mjs";
114
140
  import {
115
141
  HelloWorld
116
- } from "./chunk-OUOIDPGX.mjs";
142
+ } from "./chunk-EXF4SESB.mjs";
117
143
  import {
118
144
  Typography
119
- } from "./chunk-DQ6XFBYJ.mjs";
145
+ } from "./chunk-DYEWXEEY.mjs";
120
146
  import {
121
147
  Card
122
- } from "./chunk-YUIZZ6XE.mjs";
148
+ } from "./chunk-3O4U3E5I.mjs";
123
149
  import {
124
150
  LineChart
125
- } from "./chunk-FACIYUNK.mjs";
151
+ } from "./chunk-VC7LTPQD.mjs";
126
152
  import {
127
153
  SwitchButton
128
- } from "./chunk-TTOR7JCT.mjs";
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-GC3QIIH7.mjs";
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,
@@ -1,4 +1,4 @@
1
- import { A as AvailableSizes } from './types-CayJ8tWA.mjs';
1
+ import { A as AvailableSizes } from './types-Bed6Q0EK.mjs';
2
2
 
3
3
  type LoadingIconSize = AvailableSizes;
4
4
  type LoadingIconProps = {
@@ -1,4 +1,4 @@
1
- import { A as AvailableSizes } from './types-CayJ8tWA.js';
1
+ import { A as AvailableSizes } from './types-Bed6Q0EK.js';
2
2
 
3
3
  type LoadingIconSize = AvailableSizes;
4
4
  type LoadingIconProps = {
@@ -30,6 +30,7 @@ var iconSizeClasses = {
30
30
  xxs: "h-2 w-2",
31
31
  xs: "h-3 w-3",
32
32
  s: "h-4 w-4",
33
+ ms: "h-5 w-5",
33
34
  m: "h-6 w-6",
34
35
  l: "h-8 w-8",
35
36
  xl: "h-10 w-10",
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  LoadingIcon
3
- } from "./chunk-FZTAHWOS.mjs";
4
- import "./chunk-C4OI72SM.mjs";
5
- import "./chunk-GC3QIIH7.mjs";
3
+ } from "./chunk-OGI343OV.mjs";
4
+ import "./chunk-ZVBVGWSP.mjs";
5
+ import "./chunk-GJ4U5NCE.mjs";
6
6
  export {
7
7
  LoadingIcon
8
8
  };
@@ -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-B1iPJgiD.mjs';
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-CayJ8tWA.mjs';
5
+ import './types-Bed6Q0EK.mjs';
6
6
  import './event-list-item.types-Y6IeJ4e4.mjs';
7
7
 
8
8
  type MarketDetailsTab = "order-book" | "graph" | "other";
@@ -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-Bg8eXtGp.js';
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-CayJ8tWA.js';
5
+ import './types-Bed6Q0EK.js';
6
6
  import './event-list-item.types-Y6IeJ4e4.js';
7
7
 
8
8
  type MarketDetailsTab = "order-book" | "graph" | "other";