@agg-build/ui 1.0.0 → 1.0.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/dist/{chunk-2QJXRRYP.mjs → chunk-43K4PFBC.mjs} +3 -2
- package/dist/{chunk-I2WBGEWK.mjs → chunk-5ES2VJHO.mjs} +159 -93
- package/dist/{chunk-DMKKNK76.mjs → chunk-BYMLPLEZ.mjs} +791 -583
- package/dist/{chunk-C7T56TJR.mjs → chunk-HD6HBTK2.mjs} +1 -1
- package/dist/{chunk-CGNDMLQL.mjs → chunk-LPNZOX3E.mjs} +123 -52
- package/dist/{chunk-75IGOQ4N.mjs → chunk-WLXYCBZV.mjs} +62 -32
- package/dist/{chunk-6NS7D73S.mjs → chunk-YZNO6IUD.mjs} +740 -521
- package/dist/events.js +196 -93
- package/dist/events.mjs +3 -3
- package/dist/index.js +3396 -2806
- package/dist/index.mjs +13 -7
- package/dist/modals.js +798 -535
- package/dist/modals.mjs +3 -3
- package/dist/pages.js +378 -176
- package/dist/pages.mjs +6 -6
- package/dist/primitives.js +713 -531
- package/dist/primitives.mjs +7 -1
- package/dist/styles.css +1 -1
- package/dist/tailwind.css +1 -1
- package/dist/trading.js +242 -54
- package/dist/trading.mjs +4 -4
- package/dist/types/deposit/steps/card-payment-pending.d.mts +3 -1
- package/dist/types/deposit/steps/card-payment-pending.d.ts +3 -1
- package/dist/types/deposit/steps/crypto-transfer.d.mts +1 -1
- package/dist/types/deposit/steps/crypto-transfer.d.ts +1 -1
- package/dist/types/events/item/event-list-item.utils.d.mts +57 -0
- package/dist/types/events/item/event-list-item.utils.d.ts +57 -0
- package/dist/types/events/item-details/event-list-item-details.types.d.mts +16 -1
- package/dist/types/events/item-details/event-list-item-details.types.d.ts +16 -1
- package/dist/types/events/market-details/market-details.types.d.mts +8 -0
- package/dist/types/events/market-details/market-details.types.d.ts +8 -0
- package/dist/types/primitives/copy-button/index.d.mts +25 -0
- package/dist/types/primitives/copy-button/index.d.ts +25 -0
- package/dist/types/primitives/index.d.mts +2 -0
- package/dist/types/primitives/index.d.ts +2 -0
- package/dist/types/primitives/toast/index.d.mts +4 -0
- package/dist/types/primitives/toast/index.d.ts +4 -0
- package/dist/types/primitives/toast/toast.types.d.mts +31 -0
- package/dist/types/primitives/toast/toast.types.d.ts +31 -0
- package/dist/types/trading/place-order/index.place-order.constants.d.mts +8 -0
- package/dist/types/trading/place-order/index.place-order.constants.d.ts +8 -0
- package/dist/types/trading/place-order/index.place-order.types.d.mts +6 -0
- package/dist/types/trading/place-order/index.place-order.types.d.ts +6 -0
- package/dist/types/trading/place-order/index.place-order.utils.d.mts +4 -7
- package/dist/types/trading/place-order/index.place-order.utils.d.ts +4 -7
- package/dist/types/withdraw/index.d.mts +2 -2
- package/dist/types/withdraw/index.d.ts +2 -2
- package/dist/types/withdraw/steps/withdraw-amount.d.mts +6 -3
- package/dist/types/withdraw/steps/withdraw-amount.d.ts +6 -3
- package/dist/types/withdraw/steps/withdraw-success.d.mts +8 -1
- package/dist/types/withdraw/steps/withdraw-success.d.ts +8 -1
- package/dist/types/withdraw/steps/withdraw-success.utils.d.mts +36 -0
- package/dist/types/withdraw/steps/withdraw-success.utils.d.ts +36 -0
- package/dist/types/withdraw/withdraw-modal.types.d.mts +25 -15
- package/dist/types/withdraw/withdraw-modal.types.d.ts +25 -15
- package/package.json +6 -5
package/dist/index.mjs
CHANGED
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
USER_PROFILE_TAB_POSITIONS,
|
|
11
11
|
UserProfilePage,
|
|
12
12
|
useHomePageModals
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-WLXYCBZV.mjs";
|
|
14
14
|
import {
|
|
15
15
|
EventList,
|
|
16
16
|
EventListItem,
|
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
mergeVenueOutcomeOrderbooks,
|
|
26
26
|
orderbookRowLimitDefault,
|
|
27
27
|
useCenterOrderbookSpread
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-5ES2VJHO.mjs";
|
|
29
29
|
import {
|
|
30
30
|
CARD_NETWORK_OPTIONS,
|
|
31
31
|
ConnectAccountsStep,
|
|
@@ -40,7 +40,7 @@ import {
|
|
|
40
40
|
WithdrawModal,
|
|
41
41
|
clearPendingCardSession,
|
|
42
42
|
getPendingCardSession
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-BYMLPLEZ.mjs";
|
|
44
44
|
import {
|
|
45
45
|
DEPOSIT_MODAL_OPEN_EVENT,
|
|
46
46
|
PlaceOrder,
|
|
@@ -65,16 +65,16 @@ import {
|
|
|
65
65
|
parseVenue,
|
|
66
66
|
requestAggDepositModalOpen,
|
|
67
67
|
requestAggWithdrawModalOpen
|
|
68
|
-
} from "./chunk-
|
|
68
|
+
} from "./chunk-LPNZOX3E.mjs";
|
|
69
69
|
import {
|
|
70
70
|
formatProbabilityCents,
|
|
71
71
|
resolveOrderBookRows,
|
|
72
72
|
resolveUnifiedOrderBookEntries,
|
|
73
73
|
useEventTradingContext
|
|
74
|
-
} from "./chunk-
|
|
74
|
+
} from "./chunk-HD6HBTK2.mjs";
|
|
75
75
|
import {
|
|
76
76
|
GeoBlockBanner
|
|
77
|
-
} from "./chunk-
|
|
77
|
+
} from "./chunk-43K4PFBC.mjs";
|
|
78
78
|
import {
|
|
79
79
|
AGG_DEFAULT_URL,
|
|
80
80
|
AGG_DOCS_URL,
|
|
@@ -107,6 +107,7 @@ import {
|
|
|
107
107
|
ChevronRightIcon,
|
|
108
108
|
ChevronUpIcon,
|
|
109
109
|
CloseIcon,
|
|
110
|
+
CopyButton,
|
|
110
111
|
CopyIcon,
|
|
111
112
|
CreateAccountIcon,
|
|
112
113
|
CreditCardIcon,
|
|
@@ -149,6 +150,7 @@ import {
|
|
|
149
150
|
SuccessCheckIcon,
|
|
150
151
|
SwitchButton,
|
|
151
152
|
Tabs,
|
|
153
|
+
ToastProvider,
|
|
152
154
|
Tooltip,
|
|
153
155
|
TriangleDownIcon,
|
|
154
156
|
TriangleUpFilledIcon,
|
|
@@ -179,8 +181,9 @@ import {
|
|
|
179
181
|
skeletonViews,
|
|
180
182
|
toDate,
|
|
181
183
|
typographyVariants,
|
|
184
|
+
useToast,
|
|
182
185
|
venueLogoNames
|
|
183
|
-
} from "./chunk-
|
|
186
|
+
} from "./chunk-YZNO6IUD.mjs";
|
|
184
187
|
|
|
185
188
|
// src/auth/connect-button-view/index.tsx
|
|
186
189
|
import { optimizedImageUrl, useAggAuthContext, useLabels, useSdkUiConfig } from "@agg-build/hooks";
|
|
@@ -846,6 +849,7 @@ export {
|
|
|
846
849
|
ConnectAccountsStep,
|
|
847
850
|
ConnectKalshiModal,
|
|
848
851
|
ConnectOnchainModal,
|
|
852
|
+
CopyButton,
|
|
849
853
|
CopyIcon,
|
|
850
854
|
CreateAccountIcon,
|
|
851
855
|
CreditCardIcon,
|
|
@@ -911,6 +915,7 @@ export {
|
|
|
911
915
|
SuccessCheckIcon,
|
|
912
916
|
SwitchButton,
|
|
913
917
|
Tabs,
|
|
918
|
+
ToastProvider,
|
|
914
919
|
Tooltip,
|
|
915
920
|
TriangleDownIcon,
|
|
916
921
|
TriangleUpFilledIcon,
|
|
@@ -974,5 +979,6 @@ export {
|
|
|
974
979
|
useCenterOrderbookSpread,
|
|
975
980
|
useEventTradingContext,
|
|
976
981
|
useHomePageModals,
|
|
982
|
+
useToast,
|
|
977
983
|
venueLogoNames
|
|
978
984
|
};
|