@agg-build/ui 1.1.0 → 1.2.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 +1 -1
- package/dist/{chunk-IT2Y62MG.mjs → chunk-2S2NFV7W.mjs} +589 -340
- package/dist/{chunk-R6DETAZ6.mjs → chunk-34L7ZKJW.mjs} +804 -776
- package/dist/{chunk-JDYZJKTE.mjs → chunk-5FXMHTVR.mjs} +1 -1
- package/dist/{chunk-7JEJIGG4.mjs → chunk-E45WOOMN.mjs} +24 -8
- package/dist/{chunk-OHEZGKFM.mjs → chunk-FDTLV74F.mjs} +89 -5
- package/dist/{chunk-F3SU7BRE.mjs → chunk-Q2BRDVBU.mjs} +1 -1
- package/dist/{chunk-KDMNFHPL.mjs → chunk-TBKDLNOE.mjs} +27 -16
- package/dist/events.js +957 -906
- package/dist/events.mjs +3 -3
- package/dist/index.js +2937 -2550
- package/dist/index.mjs +17 -15
- package/dist/modals.js +816 -792
- package/dist/modals.mjs +3 -3
- package/dist/pages.js +2215 -1830
- package/dist/pages.mjs +6 -6
- package/dist/primitives.js +799 -773
- package/dist/primitives.mjs +3 -1
- package/dist/styles.css +1 -1
- package/dist/tailwind.css +1 -1
- package/dist/trading.js +868 -639
- package/dist/trading.mjs +4 -4
- 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 +11 -0
- package/dist/types/events/market-details/market-details.types.d.ts +11 -0
- package/dist/types/pages/user-profile/position-view-model.d.mts +54 -0
- package/dist/types/pages/user-profile/position-view-model.d.ts +54 -0
- package/dist/types/pages/user-profile/user-profile.types.d.mts +22 -0
- package/dist/types/pages/user-profile/user-profile.types.d.ts +22 -0
- package/dist/types/primitives/icon/index.d.mts +2 -1
- package/dist/types/primitives/icon/index.d.ts +2 -1
- package/dist/types/primitives/icon/registry.d.mts +4 -0
- package/dist/types/primitives/icon/registry.d.ts +4 -0
- package/dist/types/primitives/icon/svg/hourglass-start.d.mts +5 -0
- package/dist/types/primitives/icon/svg/hourglass-start.d.ts +5 -0
- package/dist/types/shared/utils.d.mts +5 -1
- package/dist/types/shared/utils.d.ts +5 -1
- package/package.json +3 -3
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-2S2NFV7W.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-E45WOOMN.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-Q2BRDVBU.mjs";
|
|
44
44
|
import {
|
|
45
45
|
DEPOSIT_MODAL_OPEN_EVENT,
|
|
46
46
|
PlaceOrder,
|
|
@@ -52,7 +52,7 @@ import {
|
|
|
52
52
|
parseVenue,
|
|
53
53
|
requestAggDepositModalOpen,
|
|
54
54
|
requestAggWithdrawModalOpen
|
|
55
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-FDTLV74F.mjs";
|
|
56
56
|
import {
|
|
57
57
|
SETTLEMENT_SECTION_ID,
|
|
58
58
|
Settlement,
|
|
@@ -70,10 +70,10 @@ import {
|
|
|
70
70
|
resolveOrderBookRows,
|
|
71
71
|
resolveUnifiedOrderBookEntries,
|
|
72
72
|
useEventTradingContext
|
|
73
|
-
} from "./chunk-
|
|
73
|
+
} from "./chunk-TBKDLNOE.mjs";
|
|
74
74
|
import {
|
|
75
75
|
GeoBlockBanner
|
|
76
|
-
} from "./chunk-
|
|
76
|
+
} from "./chunk-5FXMHTVR.mjs";
|
|
77
77
|
import {
|
|
78
78
|
AGG_DEFAULT_URL,
|
|
79
79
|
AGG_DOCS_URL,
|
|
@@ -123,6 +123,7 @@ import {
|
|
|
123
123
|
Footer,
|
|
124
124
|
GoogleIcon,
|
|
125
125
|
Header,
|
|
126
|
+
HourglassStartIcon,
|
|
126
127
|
Icon,
|
|
127
128
|
ImageIcon,
|
|
128
129
|
InfoIcon,
|
|
@@ -186,7 +187,7 @@ import {
|
|
|
186
187
|
typographyVariants,
|
|
187
188
|
useToast,
|
|
188
189
|
venueLogoNames
|
|
189
|
-
} from "./chunk-
|
|
190
|
+
} from "./chunk-34L7ZKJW.mjs";
|
|
190
191
|
|
|
191
192
|
// src/auth/connect-button-view/index.tsx
|
|
192
193
|
import { optimizedImageUrl, useAggAuthContext, useLabels, useSdkUiConfig } from "@agg-build/hooks";
|
|
@@ -766,31 +767,31 @@ var AuthConnectButtonView = ({
|
|
|
766
767
|
)
|
|
767
768
|
] }),
|
|
768
769
|
/* @__PURE__ */ jsxs("div", { className: "md:hidden flex w-full items-start gap-5", children: [
|
|
769
|
-
/* @__PURE__ */ jsxs("div", { className: "flex flex-1 flex-col gap-2", children: [
|
|
770
|
-
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2", children: [
|
|
770
|
+
/* @__PURE__ */ jsxs("div", { className: "flex flex-1 min-w-0 flex-col gap-2", children: [
|
|
771
|
+
/* @__PURE__ */ jsxs("div", { className: "flex min-w-0 items-center gap-2", children: [
|
|
771
772
|
/* @__PURE__ */ jsx(
|
|
772
773
|
Icon,
|
|
773
774
|
{
|
|
774
775
|
name: "wallet-filled",
|
|
775
776
|
size: "small",
|
|
776
|
-
className: "h-4 w-4 text-agg-muted-foreground"
|
|
777
|
+
className: "h-4 w-4 shrink-0 text-agg-muted-foreground"
|
|
777
778
|
}
|
|
778
779
|
),
|
|
779
|
-
/* @__PURE__ */ jsx("span", { className: "text-agg-sm leading-agg-5 text-agg-foreground", children: "Withdrawable Balance" })
|
|
780
|
+
/* @__PURE__ */ jsx("span", { className: "truncate text-agg-sm leading-agg-5 text-agg-foreground", children: "Withdrawable Balance" })
|
|
780
781
|
] }),
|
|
781
782
|
/* @__PURE__ */ jsx("p", { className: "text-agg-lg font-agg-bold leading-agg-7 text-agg-foreground text-left", children: isBalanceLoading ? /* @__PURE__ */ jsx(LoadingIcon, { size: "small" }) : formatUsd(totalBalance) })
|
|
782
783
|
] }),
|
|
783
|
-
/* @__PURE__ */ jsxs("div", { className: "flex flex-1 flex-col gap-2", children: [
|
|
784
|
-
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2", children: [
|
|
784
|
+
/* @__PURE__ */ jsxs("div", { className: "flex flex-1 min-w-0 flex-col gap-2", children: [
|
|
785
|
+
/* @__PURE__ */ jsxs("div", { className: "flex min-w-0 items-center gap-2", children: [
|
|
785
786
|
/* @__PURE__ */ jsx(
|
|
786
787
|
Icon,
|
|
787
788
|
{
|
|
788
789
|
name: "activity-chart",
|
|
789
790
|
size: "small",
|
|
790
|
-
className: "h-4 w-4 text-agg-muted-foreground"
|
|
791
|
+
className: "h-4 w-4 shrink-0 text-agg-muted-foreground"
|
|
791
792
|
}
|
|
792
793
|
),
|
|
793
|
-
/* @__PURE__ */ jsx("span", { className: "text-agg-sm leading-agg-5 text-agg-foreground", children: "Positions Value" })
|
|
794
|
+
/* @__PURE__ */ jsx("span", { className: "truncate text-agg-sm leading-agg-5 text-agg-foreground", children: "Positions Value" })
|
|
794
795
|
] }),
|
|
795
796
|
/* @__PURE__ */ jsx("p", { className: "text-agg-lg font-agg-bold leading-agg-7 text-agg-foreground text-left", children: isBalanceLoading ? /* @__PURE__ */ jsx(LoadingIcon, { size: "small" }) : formatUsd(positionsBalance) })
|
|
796
797
|
] })
|
|
@@ -945,6 +946,7 @@ export {
|
|
|
945
946
|
GoogleIcon,
|
|
946
947
|
Header,
|
|
947
948
|
HomePage,
|
|
949
|
+
HourglassStartIcon,
|
|
948
950
|
HowItWorksStep,
|
|
949
951
|
Icon,
|
|
950
952
|
ImageIcon,
|