@agg-market/ui 9.0.0 → 11.0.0
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-6CRY27SQ.mjs → chunk-2KGE5AJQ.mjs} +670 -659
- package/dist/{chunk-N7U7QCSB.mjs → chunk-5FSWOXEG.mjs} +807 -358
- package/dist/{chunk-HJ4UPYM7.mjs → chunk-HMUMJUIL.mjs} +539 -405
- package/dist/{chunk-3G7C6WEC.mjs → chunk-IUJXJEDQ.mjs} +1340 -664
- package/dist/{chunk-3U4VHAP6.mjs → chunk-UONHGMFI.mjs} +12 -4
- package/dist/events.js +1267 -1035
- package/dist/events.mjs +6 -4
- package/dist/index.js +4443 -3205
- package/dist/index.mjs +18 -7
- package/dist/modals.js +1207 -379
- package/dist/modals.mjs +4 -2
- package/dist/pages.js +2942 -1689
- package/dist/pages.mjs +4 -4
- package/dist/primitives.js +1317 -657
- package/dist/primitives.mjs +5 -1
- package/dist/styles.css +1 -1
- package/dist/tailwind.css +1 -1
- package/dist/trading.js +274 -190
- package/dist/trading.mjs +2 -2
- package/dist/types/events/item/event-list-item.types.d.mts +1 -2
- package/dist/types/events/item/event-list-item.types.d.ts +1 -2
- package/dist/types/events/item-details/event-list-item-details.types.d.mts +1 -4
- package/dist/types/events/item-details/event-list-item-details.types.d.ts +1 -4
- package/dist/types/events/item-details/event-list-item-details.utils.d.mts +42 -3
- package/dist/types/events/item-details/event-list-item-details.utils.d.ts +42 -3
- package/dist/types/events/list/event-list.types.d.mts +3 -2
- package/dist/types/events/list/event-list.types.d.ts +3 -2
- package/dist/types/events/list/index.d.mts +1 -1
- package/dist/types/events/list/index.d.ts +1 -1
- package/dist/types/events/market-details/index.d.mts +7 -3
- package/dist/types/events/market-details/index.d.ts +7 -3
- package/dist/types/events/market-details/market-details.types.d.mts +30 -10
- package/dist/types/events/market-details/market-details.types.d.ts +30 -10
- package/dist/types/events/market-details/market-details.utils.d.mts +15 -10
- package/dist/types/events/market-details/market-details.utils.d.ts +15 -10
- package/dist/types/modals/index.d.mts +1 -0
- package/dist/types/modals/index.d.ts +1 -0
- package/dist/types/pages/event-market/event-market.types.d.mts +2 -0
- package/dist/types/pages/event-market/event-market.types.d.ts +2 -0
- package/dist/types/pages/home/home.constants.d.mts +1 -3
- package/dist/types/pages/home/home.constants.d.ts +1 -3
- package/dist/types/pages/home/home.types.d.mts +0 -2
- package/dist/types/pages/home/home.types.d.ts +0 -2
- package/dist/types/pages/home/home.utils.d.mts +4 -0
- package/dist/types/pages/home/home.utils.d.ts +4 -0
- package/dist/types/pages/home/index.d.mts +1 -1
- package/dist/types/pages/home/index.d.ts +1 -1
- package/dist/types/primitives/agg-logo/index.d.mts +6 -0
- package/dist/types/primitives/agg-logo/index.d.ts +6 -0
- package/dist/types/primitives/chart/index.d.mts +9 -1
- package/dist/types/primitives/chart/index.d.ts +9 -1
- package/dist/types/primitives/header/agg-logo.d.mts +2 -0
- package/dist/types/primitives/header/agg-logo.d.ts +2 -0
- package/dist/types/primitives/header/header.constants.d.mts +3 -0
- package/dist/types/primitives/header/header.constants.d.ts +3 -0
- package/dist/types/primitives/header/header.types.d.mts +28 -0
- package/dist/types/primitives/header/header.types.d.ts +28 -0
- package/dist/types/primitives/header/index.d.mts +7 -0
- package/dist/types/primitives/header/index.d.ts +7 -0
- package/dist/types/primitives/index.d.mts +2 -0
- package/dist/types/primitives/index.d.ts +2 -0
- package/dist/types/primitives/search/index.d.mts +1 -1
- package/dist/types/primitives/search/index.d.ts +1 -1
- package/dist/types/primitives/search/search.types.d.mts +9 -59
- package/dist/types/primitives/search/search.types.d.ts +9 -59
- package/dist/types/primitives/search/search.utils.d.mts +4 -0
- package/dist/types/primitives/search/search.utils.d.ts +4 -0
- package/dist/types/primitives/skeleton/skeleton.types.d.mts +1 -0
- package/dist/types/primitives/skeleton/skeleton.types.d.ts +1 -0
- package/dist/types/primitives/skeleton/views/search-skeleton-view.d.mts +5 -0
- package/dist/types/primitives/skeleton/views/search-skeleton-view.d.ts +5 -0
- package/dist/types/primitives/venue-logo/index.d.mts +1 -1
- package/dist/types/primitives/venue-logo/index.d.ts +1 -1
- package/dist/types/trading/types.d.mts +2 -2
- package/dist/types/trading/types.d.ts +2 -2
- package/package.json +4 -4
package/dist/index.mjs
CHANGED
|
@@ -3,13 +3,14 @@ import {
|
|
|
3
3
|
EventMarketPage,
|
|
4
4
|
HomePage,
|
|
5
5
|
UserProfilePage
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-HMUMJUIL.mjs";
|
|
7
7
|
import {
|
|
8
8
|
EventList,
|
|
9
9
|
EventListItem,
|
|
10
10
|
EventListItemDetails,
|
|
11
|
-
MarketDetails
|
|
12
|
-
|
|
11
|
+
MarketDetails,
|
|
12
|
+
MarketDetailsList
|
|
13
|
+
} from "./chunk-2KGE5AJQ.mjs";
|
|
13
14
|
import {
|
|
14
15
|
ConnectAccountsStep,
|
|
15
16
|
ConnectKalshiModal,
|
|
@@ -17,10 +18,11 @@ import {
|
|
|
17
18
|
DepositModal,
|
|
18
19
|
HowItWorksStep,
|
|
19
20
|
OnboardingModal,
|
|
21
|
+
OnrampModal,
|
|
20
22
|
ProfileModal,
|
|
21
23
|
ProfileSetupStep,
|
|
22
24
|
WithdrawModal
|
|
23
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-5FSWOXEG.mjs";
|
|
24
26
|
import {
|
|
25
27
|
placeOrderMetricSchema,
|
|
26
28
|
placeOrderOutcomeSchema,
|
|
@@ -52,9 +54,10 @@ import {
|
|
|
52
54
|
getTradingSlippageLabel,
|
|
53
55
|
getTradingValueLabel,
|
|
54
56
|
getTradingVenueLabel
|
|
55
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-UONHGMFI.mjs";
|
|
56
58
|
import {
|
|
57
59
|
AGG_ROOT_CLASS_NAME,
|
|
60
|
+
AggLogo,
|
|
58
61
|
AppleIcon,
|
|
59
62
|
ArrowTrendUpIcon,
|
|
60
63
|
ArrowsToDotIcon,
|
|
@@ -83,6 +86,7 @@ import {
|
|
|
83
86
|
EthereumIcon,
|
|
84
87
|
ExternalLinkIcon,
|
|
85
88
|
GoogleIcon,
|
|
89
|
+
Header,
|
|
86
90
|
HelloWorld,
|
|
87
91
|
Icon,
|
|
88
92
|
ImageIcon,
|
|
@@ -135,7 +139,7 @@ import {
|
|
|
135
139
|
toDate,
|
|
136
140
|
typographyVariants,
|
|
137
141
|
venueLogoNames
|
|
138
|
-
} from "./chunk-
|
|
142
|
+
} from "./chunk-IUJXJEDQ.mjs";
|
|
139
143
|
|
|
140
144
|
// src/auth/connect-button-view/index.tsx
|
|
141
145
|
import * as DropdownMenu from "@radix-ui/react-dropdown-menu";
|
|
@@ -482,7 +486,10 @@ var AuthConnectButtonView = ({
|
|
|
482
486
|
walletMethods
|
|
483
487
|
}) => {
|
|
484
488
|
const labels = useLabels();
|
|
485
|
-
const {
|
|
489
|
+
const {
|
|
490
|
+
general: { rootClassName },
|
|
491
|
+
features: { enableAnimations }
|
|
492
|
+
} = useSdkUiConfig();
|
|
486
493
|
const resolvedProfileLabel = profileLabel || labels.auth.myProfile;
|
|
487
494
|
const dropdownMenuItemClassName = cn(
|
|
488
495
|
"cursor-pointer",
|
|
@@ -703,6 +710,7 @@ var AuthConnectButtonView = ({
|
|
|
703
710
|
AuthConnectButtonView.displayName = "AuthConnectButtonView";
|
|
704
711
|
export {
|
|
705
712
|
AGG_ROOT_CLASS_NAME,
|
|
713
|
+
AggLogo,
|
|
706
714
|
AppleIcon,
|
|
707
715
|
ArrowTrendUpIcon,
|
|
708
716
|
ArrowsToDotIcon,
|
|
@@ -740,6 +748,7 @@ export {
|
|
|
740
748
|
EventMarketPage,
|
|
741
749
|
ExternalLinkIcon,
|
|
742
750
|
GoogleIcon,
|
|
751
|
+
Header,
|
|
743
752
|
HelloWorld,
|
|
744
753
|
HomePage,
|
|
745
754
|
HowItWorksStep,
|
|
@@ -751,9 +760,11 @@ export {
|
|
|
751
760
|
LinkAccountsIcon,
|
|
752
761
|
LoadingIcon,
|
|
753
762
|
MarketDetails,
|
|
763
|
+
MarketDetailsList,
|
|
754
764
|
Modal,
|
|
755
765
|
NumberValue,
|
|
756
766
|
OnboardingModal,
|
|
767
|
+
OnrampModal,
|
|
757
768
|
PencilIcon,
|
|
758
769
|
PlaceOrder,
|
|
759
770
|
PlaySquareIcon,
|