@agg-build/ui 1.0.0 → 1.0.2
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-75IGOQ4N.mjs → chunk-3IY2GA2D.mjs} +69 -45
- package/dist/{chunk-I2WBGEWK.mjs → chunk-4ILR2YH3.mjs} +319 -344
- package/dist/{chunk-C7T56TJR.mjs → chunk-PEVG67XU.mjs} +369 -19
- package/dist/{chunk-6NS7D73S.mjs → chunk-TLGQ4LID.mjs} +1556 -1204
- package/dist/{chunk-DMKKNK76.mjs → chunk-WFS772A3.mjs} +800 -592
- package/dist/{chunk-CGNDMLQL.mjs → chunk-XDZLCWUZ.mjs} +511 -899
- package/dist/{chunk-2QJXRRYP.mjs → chunk-YSCHNVBZ.mjs} +3 -2
- package/dist/events.js +2081 -1673
- package/dist/events.mjs +3 -3
- package/dist/index.js +4890 -4318
- package/dist/index.mjs +195 -118
- package/dist/modals.js +1568 -1242
- package/dist/modals.mjs +3 -3
- package/dist/pages.js +3007 -2904
- package/dist/pages.mjs +6 -6
- package/dist/primitives.js +1507 -1207
- package/dist/primitives.mjs +13 -1
- package/dist/styles.css +1 -1
- package/dist/tailwind.css +1 -1
- package/dist/trading.js +3920 -3734
- package/dist/trading.mjs +10 -12
- 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/item-details/settlement-summary.d.mts +6 -2
- package/dist/types/events/item-details/settlement-summary.d.ts +6 -2
- package/dist/types/events/list/event-list.types.d.mts +1 -1
- package/dist/types/events/list/event-list.types.d.ts +1 -1
- package/dist/types/events/list/event-list.utils.d.mts +1 -1
- package/dist/types/events/list/event-list.utils.d.ts +1 -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/pages/event-market/event-market.types.d.mts +1 -3
- package/dist/types/pages/event-market/event-market.types.d.ts +1 -3
- 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/icon/index.d.mts +3 -1
- package/dist/types/primitives/icon/index.d.ts +3 -1
- package/dist/types/primitives/icon/registry.d.mts +8 -0
- package/dist/types/primitives/icon/registry.d.ts +8 -0
- package/dist/types/primitives/icon/svg/apps.d.mts +5 -0
- package/dist/types/primitives/icon/svg/apps.d.ts +5 -0
- package/dist/types/primitives/icon/svg/circle-overlap.d.mts +5 -0
- package/dist/types/primitives/icon/svg/circle-overlap.d.ts +5 -0
- package/dist/types/primitives/index.d.mts +2 -0
- package/dist/types/primitives/index.d.ts +2 -0
- package/dist/types/primitives/select/index.d.mts +1 -1
- package/dist/types/primitives/select/index.d.ts +1 -1
- package/dist/types/primitives/select/select.types.d.mts +1 -1
- package/dist/types/primitives/select/select.types.d.ts +1 -1
- package/dist/types/primitives/select/select.utils.d.mts +0 -1
- package/dist/types/primitives/select/select.utils.d.ts +0 -1
- package/dist/types/primitives/skeleton/index.d.mts +2 -1
- package/dist/types/primitives/skeleton/index.d.ts +2 -1
- package/dist/types/primitives/skeleton/views/place-order-skeleton-view.d.mts +4 -0
- package/dist/types/primitives/skeleton/views/place-order-skeleton-view.d.ts +4 -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/primitives/typography/index.d.mts +1 -1
- package/dist/types/primitives/typography/index.d.ts +1 -1
- package/dist/types/primitives/typography/typography.types.d.mts +3 -1
- package/dist/types/primitives/typography/typography.types.d.ts +3 -1
- package/dist/types/shared/utils.d.mts +3 -1
- package/dist/types/shared/utils.d.ts +3 -1
- package/dist/types/trading/index.d.mts +0 -1
- package/dist/types/trading/index.d.ts +0 -1
- 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 -1
- package/dist/types/trading/place-order/index.place-order.types.d.ts +6 -1
- package/dist/types/trading/place-order/index.place-order.utils.d.mts +4 -11
- package/dist/types/trading/place-order/index.place-order.utils.d.ts +4 -11
- package/dist/types/trading/settlement/index.d.mts +9 -6
- package/dist/types/trading/settlement/index.d.ts +9 -6
- package/dist/types/trading/settlement/settlement-text-renderer.d.mts +8 -0
- package/dist/types/trading/settlement/settlement-text-renderer.d.ts +8 -0
- package/dist/types/trading/settlement/settlement-text.utils.d.mts +36 -0
- package/dist/types/trading/settlement/settlement-text.utils.d.ts +36 -0
- package/dist/types/trading/types.d.mts +0 -19
- package/dist/types/trading/types.d.ts +0 -19
- package/dist/types/trading/utils.d.mts +0 -1
- package/dist/types/trading/utils.d.ts +0 -1
- 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/types/primitives/card/card.constants.d.mts +0 -4
- package/dist/types/primitives/card/card.constants.d.ts +0 -4
- package/dist/types/trading/settlement/settlement-details.utils.d.mts +0 -7
- package/dist/types/trading/settlement/settlement-details.utils.d.ts +0 -7
package/dist/trading.mjs
CHANGED
|
@@ -3,9 +3,13 @@ import {
|
|
|
3
3
|
PlaceOrder,
|
|
4
4
|
PlaceOrderFailureView,
|
|
5
5
|
PlaceOrderSuccessView,
|
|
6
|
-
Settlement,
|
|
7
6
|
SettlementDetails,
|
|
8
|
-
|
|
7
|
+
parseAmount,
|
|
8
|
+
parseVenue
|
|
9
|
+
} from "./chunk-XDZLCWUZ.mjs";
|
|
10
|
+
import {
|
|
11
|
+
SETTLEMENT_SECTION_ID,
|
|
12
|
+
Settlement,
|
|
9
13
|
defaultSettlementSectionLabel,
|
|
10
14
|
defaultTradingDisclaimer,
|
|
11
15
|
getTradingAveragePriceLabel,
|
|
@@ -16,22 +20,17 @@ import {
|
|
|
16
20
|
getTradingSlippageLabel,
|
|
17
21
|
getTradingValueLabel,
|
|
18
22
|
getTradingVenueLabel,
|
|
19
|
-
mapVenueMarketsToSettlementSections,
|
|
20
|
-
parseAmount,
|
|
21
|
-
parseVenue
|
|
22
|
-
} from "./chunk-CGNDMLQL.mjs";
|
|
23
|
-
import {
|
|
24
23
|
useEventTradingContext
|
|
25
|
-
} from "./chunk-
|
|
26
|
-
import "./chunk-
|
|
27
|
-
import "./chunk-
|
|
24
|
+
} from "./chunk-PEVG67XU.mjs";
|
|
25
|
+
import "./chunk-YSCHNVBZ.mjs";
|
|
26
|
+
import "./chunk-TLGQ4LID.mjs";
|
|
28
27
|
export {
|
|
29
28
|
PlaceOrder,
|
|
30
29
|
PlaceOrderFailureView,
|
|
31
30
|
PlaceOrderSuccessView,
|
|
31
|
+
SETTLEMENT_SECTION_ID,
|
|
32
32
|
Settlement,
|
|
33
33
|
SettlementDetails,
|
|
34
|
-
defaultSettlementDifferencesTitle,
|
|
35
34
|
defaultSettlementSectionLabel,
|
|
36
35
|
defaultTradingDisclaimer,
|
|
37
36
|
getTradingAveragePriceLabel,
|
|
@@ -42,7 +41,6 @@ export {
|
|
|
42
41
|
getTradingSlippageLabel,
|
|
43
42
|
getTradingValueLabel,
|
|
44
43
|
getTradingVenueLabel,
|
|
45
|
-
mapVenueMarketsToSettlementSections,
|
|
46
44
|
parseAmount,
|
|
47
45
|
parseVenue,
|
|
48
46
|
useEventTradingContext
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
export interface CardPaymentPendingStepProps {
|
|
2
2
|
providerName: string;
|
|
3
|
+
/** Optional platform deposit address shown so users can paste it into the provider's checkout. */
|
|
4
|
+
walletAddress?: string;
|
|
3
5
|
onClose: () => void;
|
|
4
6
|
onViewActivity: () => void;
|
|
5
7
|
onChooseAnotherProvider: () => void;
|
|
6
8
|
}
|
|
7
|
-
export declare const CardPaymentPendingStep: ({ providerName, onClose, onViewActivity, onChooseAnotherProvider, }: CardPaymentPendingStepProps) => JSX.Element;
|
|
9
|
+
export declare const CardPaymentPendingStep: ({ providerName, walletAddress, onClose, onViewActivity, onChooseAnotherProvider, }: CardPaymentPendingStepProps) => JSX.Element;
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
export interface CardPaymentPendingStepProps {
|
|
2
2
|
providerName: string;
|
|
3
|
+
/** Optional platform deposit address shown so users can paste it into the provider's checkout. */
|
|
4
|
+
walletAddress?: string;
|
|
3
5
|
onClose: () => void;
|
|
4
6
|
onViewActivity: () => void;
|
|
5
7
|
onChooseAnotherProvider: () => void;
|
|
6
8
|
}
|
|
7
|
-
export declare const CardPaymentPendingStep: ({ providerName, onClose, onViewActivity, onChooseAnotherProvider, }: CardPaymentPendingStepProps) => JSX.Element;
|
|
9
|
+
export declare const CardPaymentPendingStep: ({ providerName, walletAddress, onClose, onViewActivity, onChooseAnotherProvider, }: CardPaymentPendingStepProps) => JSX.Element;
|
|
@@ -13,7 +13,7 @@ export interface CryptoTransferStepProps {
|
|
|
13
13
|
onBack: () => void;
|
|
14
14
|
onTokenChange: (token: string) => void;
|
|
15
15
|
onNetworkChange: (network: string) => void;
|
|
16
|
-
onCopyAddress
|
|
16
|
+
onCopyAddress?: () => void;
|
|
17
17
|
onDone: () => void;
|
|
18
18
|
}
|
|
19
19
|
export declare const CryptoTransferStep: ({ tokenOptions, networkOptions, selectedToken, selectedNetwork, depositAddress, minDeposit, feeEstimate, eta, isLoadingAddress, addressError, onBack, onTokenChange, onNetworkChange, onCopyAddress, onDone, }: CryptoTransferStepProps) => JSX.Element;
|
|
@@ -13,7 +13,7 @@ export interface CryptoTransferStepProps {
|
|
|
13
13
|
onBack: () => void;
|
|
14
14
|
onTokenChange: (token: string) => void;
|
|
15
15
|
onNetworkChange: (network: string) => void;
|
|
16
|
-
onCopyAddress
|
|
16
|
+
onCopyAddress?: () => void;
|
|
17
17
|
onDone: () => void;
|
|
18
18
|
}
|
|
19
19
|
export declare const CryptoTransferStep: ({ tokenOptions, networkOptions, selectedToken, selectedNetwork, depositAddress, minDeposit, feeEstimate, eta, isLoadingAddress, addressError, onBack, onTokenChange, onNetworkChange, onCopyAddress, onDone, }: CryptoTransferStepProps) => JSX.Element;
|
|
@@ -15,6 +15,26 @@ export type EventListItemVisibleOutcome = {
|
|
|
15
15
|
title: string;
|
|
16
16
|
};
|
|
17
17
|
export declare const resolveVisibleOutcomes: (venueMarkets: VenueMarket[]) => EventListItemVisibleOutcome[];
|
|
18
|
+
/**
|
|
19
|
+
* Dedupe venue markets while collapsing matched-cluster siblings to a single
|
|
20
|
+
* row. Walks left-to-right; for each market we see, mark its own id AND every
|
|
21
|
+
* `matchedVenueMarkets[].id` as "seen", and skip any later row whose own id
|
|
22
|
+
* already appears in the seen set.
|
|
23
|
+
*
|
|
24
|
+
* Why cluster-aware (not just id): the home card preview and the load-more
|
|
25
|
+
* (`/venue-markets`) endpoint can pick different cluster representatives for
|
|
26
|
+
* the same matched group (one keeps the highest-volume venue, the other keeps
|
|
27
|
+
* the canonical cluster target). When the EventItem component merges the two
|
|
28
|
+
* lists for cross-page rendering, a naive id-only dedup leaves both rows in
|
|
29
|
+
* place and the user sees the same logical market (e.g. "Bayern Munich")
|
|
30
|
+
* twice — once per representative. Tracking sibling ids closes that gap
|
|
31
|
+
* without needing the backend to expose `matchEntry.targetVenueMarketId` on
|
|
32
|
+
* every list shape.
|
|
33
|
+
*
|
|
34
|
+
* Order semantics: first occurrence wins per cluster. Callers should pass
|
|
35
|
+
* the more authoritative list first (e.g. `[...allVenueMarkets, ...lazyLoaded]`
|
|
36
|
+
* if the home-card row is preferred, swap if the lazy-loaded row is preferred).
|
|
37
|
+
*/
|
|
18
38
|
export declare const dedupeVenueMarketsById: (venueMarkets: VenueMarket[]) => VenueMarket[];
|
|
19
39
|
/** Returns the outcome's display text. Prefers `title` (the descriptive
|
|
20
40
|
* human-readable text — e.g. "Trump Wins") when present and non-empty,
|
|
@@ -42,5 +62,42 @@ type DisplayVolumeMarket = {
|
|
|
42
62
|
targetVenueMarket?: DisplayVolumeMarket | null;
|
|
43
63
|
} | null | undefined;
|
|
44
64
|
};
|
|
65
|
+
export type BestMidpointResult = {
|
|
66
|
+
/** Raw midpoint value (0–1 range, not yet clamped). */
|
|
67
|
+
midpoint: number;
|
|
68
|
+
venueMarketId: string;
|
|
69
|
+
venue: string;
|
|
70
|
+
};
|
|
71
|
+
/**
|
|
72
|
+
* Builds a venue-market-id → spread lookup from the raw midpoint rows returned
|
|
73
|
+
* by `useVenueMarketMidpoints`. Matched sibling rows are included in the map;
|
|
74
|
+
* first-write wins to match the same priority as `midpointsByVenueMarketId`.
|
|
75
|
+
*/
|
|
76
|
+
export declare function buildSpreadByVenueMarketId(midpointRows: ReadonlyArray<{
|
|
77
|
+
venueMarketId: string;
|
|
78
|
+
spread: number | null;
|
|
79
|
+
matched: ReadonlyArray<{
|
|
80
|
+
venueMarketId: string;
|
|
81
|
+
spread: number | null;
|
|
82
|
+
}>;
|
|
83
|
+
}>): Map<string, number | null>;
|
|
84
|
+
/**
|
|
85
|
+
* Returns the best available midpoint across a market and its matched venue
|
|
86
|
+
* markets. Candidates are collected in declaration order (primary first, then
|
|
87
|
+
* matched in array order) and deduplicated by ID. Among valid (non-null)
|
|
88
|
+
* midpoints, the candidate with the **lowest** YES midpoint wins — this gives
|
|
89
|
+
* the buyer the best available price across venues.
|
|
90
|
+
*
|
|
91
|
+
* The `spreadByVenueMarketId` parameter is accepted for call-site compatibility
|
|
92
|
+
* but is no longer used in the selection logic.
|
|
93
|
+
*/
|
|
94
|
+
export declare function resolveBestMidpointForMarket(market: {
|
|
95
|
+
id: string;
|
|
96
|
+
venue: string;
|
|
97
|
+
matchedVenueMarkets?: ReadonlyArray<{
|
|
98
|
+
id: string;
|
|
99
|
+
venue: string;
|
|
100
|
+
}> | null;
|
|
101
|
+
}, midpointsByVenueMarketId: Map<string, number | null>, spreadByVenueMarketId?: Map<string, number | null>): BestMidpointResult | undefined;
|
|
45
102
|
export declare const resolveDisplayVolume: (eventVolume: number | null | undefined, venueMarkets: ReadonlyArray<DisplayVolumeMarket>) => number | undefined;
|
|
46
103
|
export {};
|
|
@@ -15,6 +15,26 @@ export type EventListItemVisibleOutcome = {
|
|
|
15
15
|
title: string;
|
|
16
16
|
};
|
|
17
17
|
export declare const resolveVisibleOutcomes: (venueMarkets: VenueMarket[]) => EventListItemVisibleOutcome[];
|
|
18
|
+
/**
|
|
19
|
+
* Dedupe venue markets while collapsing matched-cluster siblings to a single
|
|
20
|
+
* row. Walks left-to-right; for each market we see, mark its own id AND every
|
|
21
|
+
* `matchedVenueMarkets[].id` as "seen", and skip any later row whose own id
|
|
22
|
+
* already appears in the seen set.
|
|
23
|
+
*
|
|
24
|
+
* Why cluster-aware (not just id): the home card preview and the load-more
|
|
25
|
+
* (`/venue-markets`) endpoint can pick different cluster representatives for
|
|
26
|
+
* the same matched group (one keeps the highest-volume venue, the other keeps
|
|
27
|
+
* the canonical cluster target). When the EventItem component merges the two
|
|
28
|
+
* lists for cross-page rendering, a naive id-only dedup leaves both rows in
|
|
29
|
+
* place and the user sees the same logical market (e.g. "Bayern Munich")
|
|
30
|
+
* twice — once per representative. Tracking sibling ids closes that gap
|
|
31
|
+
* without needing the backend to expose `matchEntry.targetVenueMarketId` on
|
|
32
|
+
* every list shape.
|
|
33
|
+
*
|
|
34
|
+
* Order semantics: first occurrence wins per cluster. Callers should pass
|
|
35
|
+
* the more authoritative list first (e.g. `[...allVenueMarkets, ...lazyLoaded]`
|
|
36
|
+
* if the home-card row is preferred, swap if the lazy-loaded row is preferred).
|
|
37
|
+
*/
|
|
18
38
|
export declare const dedupeVenueMarketsById: (venueMarkets: VenueMarket[]) => VenueMarket[];
|
|
19
39
|
/** Returns the outcome's display text. Prefers `title` (the descriptive
|
|
20
40
|
* human-readable text — e.g. "Trump Wins") when present and non-empty,
|
|
@@ -42,5 +62,42 @@ type DisplayVolumeMarket = {
|
|
|
42
62
|
targetVenueMarket?: DisplayVolumeMarket | null;
|
|
43
63
|
} | null | undefined;
|
|
44
64
|
};
|
|
65
|
+
export type BestMidpointResult = {
|
|
66
|
+
/** Raw midpoint value (0–1 range, not yet clamped). */
|
|
67
|
+
midpoint: number;
|
|
68
|
+
venueMarketId: string;
|
|
69
|
+
venue: string;
|
|
70
|
+
};
|
|
71
|
+
/**
|
|
72
|
+
* Builds a venue-market-id → spread lookup from the raw midpoint rows returned
|
|
73
|
+
* by `useVenueMarketMidpoints`. Matched sibling rows are included in the map;
|
|
74
|
+
* first-write wins to match the same priority as `midpointsByVenueMarketId`.
|
|
75
|
+
*/
|
|
76
|
+
export declare function buildSpreadByVenueMarketId(midpointRows: ReadonlyArray<{
|
|
77
|
+
venueMarketId: string;
|
|
78
|
+
spread: number | null;
|
|
79
|
+
matched: ReadonlyArray<{
|
|
80
|
+
venueMarketId: string;
|
|
81
|
+
spread: number | null;
|
|
82
|
+
}>;
|
|
83
|
+
}>): Map<string, number | null>;
|
|
84
|
+
/**
|
|
85
|
+
* Returns the best available midpoint across a market and its matched venue
|
|
86
|
+
* markets. Candidates are collected in declaration order (primary first, then
|
|
87
|
+
* matched in array order) and deduplicated by ID. Among valid (non-null)
|
|
88
|
+
* midpoints, the candidate with the **lowest** YES midpoint wins — this gives
|
|
89
|
+
* the buyer the best available price across venues.
|
|
90
|
+
*
|
|
91
|
+
* The `spreadByVenueMarketId` parameter is accepted for call-site compatibility
|
|
92
|
+
* but is no longer used in the selection logic.
|
|
93
|
+
*/
|
|
94
|
+
export declare function resolveBestMidpointForMarket(market: {
|
|
95
|
+
id: string;
|
|
96
|
+
venue: string;
|
|
97
|
+
matchedVenueMarkets?: ReadonlyArray<{
|
|
98
|
+
id: string;
|
|
99
|
+
venue: string;
|
|
100
|
+
}> | null;
|
|
101
|
+
}, midpointsByVenueMarketId: Map<string, number | null>, spreadByVenueMarketId?: Map<string, number | null>): BestMidpointResult | undefined;
|
|
45
102
|
export declare const resolveDisplayVolume: (eventVolume: number | null | undefined, venueMarkets: ReadonlyArray<DisplayVolumeMarket>) => number | undefined;
|
|
46
103
|
export {};
|
|
@@ -108,8 +108,23 @@ export type EventListItemDetailsGraphSectionProps = {
|
|
|
108
108
|
venueInfo?: EventListItemVenueInfoMap;
|
|
109
109
|
/** Venue markets used to build the chart series. */
|
|
110
110
|
venueMarkets: EventListItemDetailsContentProps["event"]["venueMarkets"];
|
|
111
|
-
/**
|
|
111
|
+
/**
|
|
112
|
+
* WS+REST merged prices (WS wins) keyed by outcome ID. General-purpose live
|
|
113
|
+
* prices for contexts where per-venue accuracy or availability doesn't matter.
|
|
114
|
+
*/
|
|
112
115
|
livePrices: Map<string, number>;
|
|
116
|
+
/**
|
|
117
|
+
* WS-only prices keyed by outcome ID. Used for chart venue badges so each
|
|
118
|
+
* badge shows its own venue's price rather than the cross-venue best.
|
|
119
|
+
* Falls back to `outcome.price` when a venue has no WS data yet.
|
|
120
|
+
*/
|
|
121
|
+
wsLivePrices: Map<string, number>;
|
|
122
|
+
/**
|
|
123
|
+
* REST cross-venue best prices keyed by outcome ID. Used for the outcome
|
|
124
|
+
* selector switch so it shows the lowest available price across venues rather
|
|
125
|
+
* than the WS price of a single venue.
|
|
126
|
+
*/
|
|
127
|
+
restMidpoints: Map<string, number>;
|
|
113
128
|
/** Override live WS subscriptions for the chart hook.
|
|
114
129
|
* Set to `false` when a parent manages subscriptions centrally. */
|
|
115
130
|
live?: boolean;
|
|
@@ -108,8 +108,23 @@ export type EventListItemDetailsGraphSectionProps = {
|
|
|
108
108
|
venueInfo?: EventListItemVenueInfoMap;
|
|
109
109
|
/** Venue markets used to build the chart series. */
|
|
110
110
|
venueMarkets: EventListItemDetailsContentProps["event"]["venueMarkets"];
|
|
111
|
-
/**
|
|
111
|
+
/**
|
|
112
|
+
* WS+REST merged prices (WS wins) keyed by outcome ID. General-purpose live
|
|
113
|
+
* prices for contexts where per-venue accuracy or availability doesn't matter.
|
|
114
|
+
*/
|
|
112
115
|
livePrices: Map<string, number>;
|
|
116
|
+
/**
|
|
117
|
+
* WS-only prices keyed by outcome ID. Used for chart venue badges so each
|
|
118
|
+
* badge shows its own venue's price rather than the cross-venue best.
|
|
119
|
+
* Falls back to `outcome.price` when a venue has no WS data yet.
|
|
120
|
+
*/
|
|
121
|
+
wsLivePrices: Map<string, number>;
|
|
122
|
+
/**
|
|
123
|
+
* REST cross-venue best prices keyed by outcome ID. Used for the outcome
|
|
124
|
+
* selector switch so it shows the lowest available price across venues rather
|
|
125
|
+
* than the WS price of a single venue.
|
|
126
|
+
*/
|
|
127
|
+
restMidpoints: Map<string, number>;
|
|
113
128
|
/** Override live WS subscriptions for the chart hook.
|
|
114
129
|
* Set to `false` when a parent manages subscriptions centrally. */
|
|
115
130
|
live?: boolean;
|
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
export type SettlementSummaryProps = {
|
|
2
2
|
content: string | null | undefined;
|
|
3
|
-
|
|
3
|
+
/**
|
|
4
|
+
* DOM id of the full Settlement section that "Read full details" should
|
|
5
|
+
* smooth-scroll to. Defaults to the shared SETTLEMENT_SECTION_ID.
|
|
6
|
+
*/
|
|
7
|
+
settlementSectionId?: string;
|
|
4
8
|
className?: string;
|
|
5
9
|
};
|
|
6
10
|
export declare const SettlementSummary: {
|
|
7
|
-
({ content,
|
|
11
|
+
({ content, settlementSectionId, className, }: SettlementSummaryProps): JSX.Element | null;
|
|
8
12
|
displayName: string;
|
|
9
13
|
};
|
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
export type SettlementSummaryProps = {
|
|
2
2
|
content: string | null | undefined;
|
|
3
|
-
|
|
3
|
+
/**
|
|
4
|
+
* DOM id of the full Settlement section that "Read full details" should
|
|
5
|
+
* smooth-scroll to. Defaults to the shared SETTLEMENT_SECTION_ID.
|
|
6
|
+
*/
|
|
7
|
+
settlementSectionId?: string;
|
|
4
8
|
className?: string;
|
|
5
9
|
};
|
|
6
10
|
export declare const SettlementSummary: {
|
|
7
|
-
({ content,
|
|
11
|
+
({ content, settlementSectionId, className, }: SettlementSummaryProps): JSX.Element | null;
|
|
8
12
|
displayName: string;
|
|
9
13
|
};
|
|
@@ -4,7 +4,7 @@ import type { MutableRefObject } from "react";
|
|
|
4
4
|
import type { IconName } from "../../primitives/icon";
|
|
5
5
|
import type { VenueLogoName } from "../../primitives/venue-logo";
|
|
6
6
|
import type { VenueEventWithMarkets, VenueMarket, VenueMarketOutcome } from "../item";
|
|
7
|
-
export type EventListTabValue = "matched" | `${Venue}` | (string & {});
|
|
7
|
+
export type EventListTabValue = "matched" | "all" | `${Venue}` | (string & {});
|
|
8
8
|
/** Exposes EventList internal state for snapshot capture by parent components. */
|
|
9
9
|
export type EventListStateRef = {
|
|
10
10
|
venueTab: EventListTabValue;
|
|
@@ -4,7 +4,7 @@ import type { MutableRefObject } from "react";
|
|
|
4
4
|
import type { IconName } from "../../primitives/icon";
|
|
5
5
|
import type { VenueLogoName } from "../../primitives/venue-logo";
|
|
6
6
|
import type { VenueEventWithMarkets, VenueMarket, VenueMarketOutcome } from "../item";
|
|
7
|
-
export type EventListTabValue = "matched" | `${Venue}` | (string & {});
|
|
7
|
+
export type EventListTabValue = "matched" | "all" | `${Venue}` | (string & {});
|
|
8
8
|
/** Exposes EventList internal state for snapshot capture by parent components. */
|
|
9
9
|
export type EventListStateRef = {
|
|
10
10
|
venueTab: EventListTabValue;
|
|
@@ -3,7 +3,7 @@ import type { EventListItemEvent, VenueEventWithMarkets } from "../item/event-li
|
|
|
3
3
|
import type { EventListTab, EventListTabValue } from "./event-list.types";
|
|
4
4
|
/** Filter out events that are not open or have no open venue markets. */
|
|
5
5
|
export declare const filterOpenEvents: (events: VenueEventWithMarkets[]) => VenueEventWithMarkets[];
|
|
6
|
-
export declare const sortEventsByVolumeDesc: (events: VenueEventWithMarkets[]) => VenueEventWithMarkets[];
|
|
6
|
+
export declare const sortEventsByVolumeDesc: (events: VenueEventWithMarkets[], sortEventsBy?: "volume") => VenueEventWithMarkets[];
|
|
7
7
|
export type EventLifecycleGroup = {
|
|
8
8
|
open: VenueEventWithMarkets[];
|
|
9
9
|
upcoming: VenueEventWithMarkets[];
|
|
@@ -3,7 +3,7 @@ import type { EventListItemEvent, VenueEventWithMarkets } from "../item/event-li
|
|
|
3
3
|
import type { EventListTab, EventListTabValue } from "./event-list.types";
|
|
4
4
|
/** Filter out events that are not open or have no open venue markets. */
|
|
5
5
|
export declare const filterOpenEvents: (events: VenueEventWithMarkets[]) => VenueEventWithMarkets[];
|
|
6
|
-
export declare const sortEventsByVolumeDesc: (events: VenueEventWithMarkets[]) => VenueEventWithMarkets[];
|
|
6
|
+
export declare const sortEventsByVolumeDesc: (events: VenueEventWithMarkets[], sortEventsBy?: "volume") => VenueEventWithMarkets[];
|
|
7
7
|
export type EventLifecycleGroup = {
|
|
8
8
|
open: VenueEventWithMarkets[];
|
|
9
9
|
upcoming: VenueEventWithMarkets[];
|
|
@@ -71,6 +71,12 @@ export type MarketDetailsWithMarketsProps = MarketDetailsBaseProps & {
|
|
|
71
71
|
* card is not the selected market and therefore isn't on the WS feed.
|
|
72
72
|
*/
|
|
73
73
|
midpointsFallback?: Map<string, number>;
|
|
74
|
+
/**
|
|
75
|
+
* Venue name for each outcome id in `midpointsFallback`. When a matched venue
|
|
76
|
+
* offered a lower YES price, this records that venue so the outcome button
|
|
77
|
+
* shows the correct logo alongside the best price.
|
|
78
|
+
*/
|
|
79
|
+
midpointsFallbackVenues?: Map<string, string>;
|
|
74
80
|
};
|
|
75
81
|
export type MarketDetailsProps = MarketDetailsLoadingProps | MarketDetailsWithMarketsProps;
|
|
76
82
|
export type MarketDetailsContentProps = MarketDetailsBaseProps & {
|
|
@@ -78,6 +84,8 @@ export type MarketDetailsContentProps = MarketDetailsBaseProps & {
|
|
|
78
84
|
venueMarkets: VenueMarket[];
|
|
79
85
|
/** See MarketDetailsWithMarketsProps.midpointsFallback. */
|
|
80
86
|
midpointsFallback?: Map<string, number>;
|
|
87
|
+
/** See MarketDetailsWithMarketsProps.midpointsFallbackVenues. */
|
|
88
|
+
midpointsFallbackVenues?: Map<string, string>;
|
|
81
89
|
};
|
|
82
90
|
export type MarketDetailsListClassNames = Partial<{
|
|
83
91
|
root: string;
|
|
@@ -71,6 +71,12 @@ export type MarketDetailsWithMarketsProps = MarketDetailsBaseProps & {
|
|
|
71
71
|
* card is not the selected market and therefore isn't on the WS feed.
|
|
72
72
|
*/
|
|
73
73
|
midpointsFallback?: Map<string, number>;
|
|
74
|
+
/**
|
|
75
|
+
* Venue name for each outcome id in `midpointsFallback`. When a matched venue
|
|
76
|
+
* offered a lower YES price, this records that venue so the outcome button
|
|
77
|
+
* shows the correct logo alongside the best price.
|
|
78
|
+
*/
|
|
79
|
+
midpointsFallbackVenues?: Map<string, string>;
|
|
74
80
|
};
|
|
75
81
|
export type MarketDetailsProps = MarketDetailsLoadingProps | MarketDetailsWithMarketsProps;
|
|
76
82
|
export type MarketDetailsContentProps = MarketDetailsBaseProps & {
|
|
@@ -78,6 +84,8 @@ export type MarketDetailsContentProps = MarketDetailsBaseProps & {
|
|
|
78
84
|
venueMarkets: VenueMarket[];
|
|
79
85
|
/** See MarketDetailsWithMarketsProps.midpointsFallback. */
|
|
80
86
|
midpointsFallback?: Map<string, number>;
|
|
87
|
+
/** See MarketDetailsWithMarketsProps.midpointsFallbackVenues. */
|
|
88
|
+
midpointsFallbackVenues?: Map<string, string>;
|
|
81
89
|
};
|
|
82
90
|
export type MarketDetailsListClassNames = Partial<{
|
|
83
91
|
root: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { VenueEventWithMarkets } from "../../events/item/event-list-item.types";
|
|
2
|
-
import type { PlaceOrderResolvedClaimSummary
|
|
2
|
+
import type { PlaceOrderResolvedClaimSummary } from "../../trading";
|
|
3
3
|
export type EventMarketPageClassNames = Partial<{
|
|
4
4
|
root: string;
|
|
5
5
|
content: string;
|
|
@@ -46,8 +46,6 @@ export type EventMarketPageBaseProps = {
|
|
|
46
46
|
showPlaceOrder?: boolean;
|
|
47
47
|
/** Optional resolved-event claim summary shown inside the read-only order panel. */
|
|
48
48
|
resolvedClaim?: PlaceOrderResolvedClaimSummary;
|
|
49
|
-
/** Settlement view model shown when the event has settled. */
|
|
50
|
-
settlement?: SettlementViewModel;
|
|
51
49
|
/** Class name overrides for page layout slots. */
|
|
52
50
|
classNames?: EventMarketPageClassNames;
|
|
53
51
|
/** Sticky order panel behavior configuration. */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { VenueEventWithMarkets } from "../../events/item/event-list-item.types";
|
|
2
|
-
import type { PlaceOrderResolvedClaimSummary
|
|
2
|
+
import type { PlaceOrderResolvedClaimSummary } from "../../trading";
|
|
3
3
|
export type EventMarketPageClassNames = Partial<{
|
|
4
4
|
root: string;
|
|
5
5
|
content: string;
|
|
@@ -46,8 +46,6 @@ export type EventMarketPageBaseProps = {
|
|
|
46
46
|
showPlaceOrder?: boolean;
|
|
47
47
|
/** Optional resolved-event claim summary shown inside the read-only order panel. */
|
|
48
48
|
resolvedClaim?: PlaceOrderResolvedClaimSummary;
|
|
49
|
-
/** Settlement view model shown when the event has settled. */
|
|
50
|
-
settlement?: SettlementViewModel;
|
|
51
49
|
/** Class name overrides for page layout slots. */
|
|
52
50
|
classNames?: EventMarketPageClassNames;
|
|
53
51
|
/** Sticky order panel behavior configuration. */
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
export interface CopyButtonProps {
|
|
2
|
+
/** Value written to the clipboard when the button is clicked. */
|
|
3
|
+
value: string;
|
|
4
|
+
/** Optional text rendered next to the icon in idle state. */
|
|
5
|
+
label?: string;
|
|
6
|
+
/** Optional text rendered next to the icon while the copied feedback is showing. */
|
|
7
|
+
copiedLabel?: string;
|
|
8
|
+
/** ARIA label used when no visible text label is rendered. */
|
|
9
|
+
"aria-label"?: string;
|
|
10
|
+
/** Disables the button (e.g. while the value is loading). */
|
|
11
|
+
disabled?: boolean;
|
|
12
|
+
/** Wrapper class applied to the underlying button. */
|
|
13
|
+
className?: string;
|
|
14
|
+
/** Class applied to the icon (size and color). Defaults to `"h-4 w-4"`. */
|
|
15
|
+
iconClassName?: string;
|
|
16
|
+
/** Fires after the value is written to the clipboard. */
|
|
17
|
+
onCopy?: () => void;
|
|
18
|
+
/** How long the copied state is shown, in ms. Defaults to 2000. */
|
|
19
|
+
resetMs?: number;
|
|
20
|
+
}
|
|
21
|
+
/** Button that copies `value` to the clipboard and briefly swaps to a confirmation icon. */
|
|
22
|
+
export declare const CopyButton: {
|
|
23
|
+
({ value, label, copiedLabel, "aria-label": ariaLabel, disabled, className, iconClassName, onCopy, resetMs, }: CopyButtonProps): JSX.Element;
|
|
24
|
+
displayName: string;
|
|
25
|
+
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
export interface CopyButtonProps {
|
|
2
|
+
/** Value written to the clipboard when the button is clicked. */
|
|
3
|
+
value: string;
|
|
4
|
+
/** Optional text rendered next to the icon in idle state. */
|
|
5
|
+
label?: string;
|
|
6
|
+
/** Optional text rendered next to the icon while the copied feedback is showing. */
|
|
7
|
+
copiedLabel?: string;
|
|
8
|
+
/** ARIA label used when no visible text label is rendered. */
|
|
9
|
+
"aria-label"?: string;
|
|
10
|
+
/** Disables the button (e.g. while the value is loading). */
|
|
11
|
+
disabled?: boolean;
|
|
12
|
+
/** Wrapper class applied to the underlying button. */
|
|
13
|
+
className?: string;
|
|
14
|
+
/** Class applied to the icon (size and color). Defaults to `"h-4 w-4"`. */
|
|
15
|
+
iconClassName?: string;
|
|
16
|
+
/** Fires after the value is written to the clipboard. */
|
|
17
|
+
onCopy?: () => void;
|
|
18
|
+
/** How long the copied state is shown, in ms. Defaults to 2000. */
|
|
19
|
+
resetMs?: number;
|
|
20
|
+
}
|
|
21
|
+
/** Button that copies `value` to the clipboard and briefly swaps to a confirmation icon. */
|
|
22
|
+
export declare const CopyButton: {
|
|
23
|
+
({ value, label, copiedLabel, "aria-label": ariaLabel, disabled, className, iconClassName, onCopy, resetMs, }: CopyButtonProps): JSX.Element;
|
|
24
|
+
displayName: string;
|
|
25
|
+
};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { AppleIcon } from "./svg/apple";
|
|
2
|
+
import { AppsIcon } from "./svg/apps";
|
|
2
3
|
import { ArbitrumIcon } from "./svg/arbitrum";
|
|
3
4
|
import { ArrowRightIcon } from "./svg/arrow-right";
|
|
4
5
|
import { ArrowTrendUpIcon } from "./svg/arrow-trend-up";
|
|
@@ -12,6 +13,7 @@ import { BoltIcon } from "./svg/bolt";
|
|
|
12
13
|
import { CheckCircleIcon } from "./svg/check-circle";
|
|
13
14
|
import { ChartCandlestickIcon } from "./svg/chart-candlestick";
|
|
14
15
|
import { ChartLineIcon } from "./svg/chart-line";
|
|
16
|
+
import { CircleOverlapIcon } from "./svg/circle-overlap";
|
|
15
17
|
import { ChevronDownIcon } from "./svg/chevron-down";
|
|
16
18
|
import { ChevronLeftIcon } from "./svg/chevron-left";
|
|
17
19
|
import { ChevronRightIcon } from "./svg/chevron-right";
|
|
@@ -65,4 +67,4 @@ export declare const Icon: {
|
|
|
65
67
|
({ name, color, size, className, style, ...props }: IconProps): JSX.Element | null;
|
|
66
68
|
displayName: string;
|
|
67
69
|
};
|
|
68
|
-
export { ActivityChartIcon, AppleIcon, BadgeCheckThinIcon, ArbitrumIcon, ArrowRightIcon, ArrowTrendUpIcon, ArrowsToDotIcon, BankIcon, BaseIcon, BestPricesIcon, BnbIcon, BoltIcon, CheckCircleIcon, ChartCandlestickIcon, ChartLineIcon, ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon, CloseIcon, CopyIcon, CreateAccountIcon, CreditCardIcon, DisconnectIcon, DotsHorizontalIcon, DocumentIcon, DownloadIcon, ErrorFilledIcon, EthereumIcon, ExternalLinkIcon, GoogleIcon, iconNames, ImageIcon, InfoIcon, LinkAccountsIcon, PencilIcon, PlaySquareIcon, PolygonIcon, ProfileIcon, RevenueAltIcon, SearchIcon, ShieldTrustIcon, SolanaIcon, SparklesFilledIcon, StayInControlIcon, SuccessCheckIcon, TriangleDownIcon, TriangleUpFilledIcon, TriangleUpIcon, UploadIcon, UserTrustIcon, UsdcIcon, PaperPlaneIcon, WalletAvatarIcon, WalletFilledIcon, WalletIcon, WarningFilledIcon, WarningIcon, };
|
|
70
|
+
export { ActivityChartIcon, AppleIcon, AppsIcon, BadgeCheckThinIcon, ArbitrumIcon, ArrowRightIcon, ArrowTrendUpIcon, ArrowsToDotIcon, BankIcon, BaseIcon, BestPricesIcon, BnbIcon, BoltIcon, CheckCircleIcon, ChartCandlestickIcon, ChartLineIcon, CircleOverlapIcon, ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon, CloseIcon, CopyIcon, CreateAccountIcon, CreditCardIcon, DisconnectIcon, DotsHorizontalIcon, DocumentIcon, DownloadIcon, ErrorFilledIcon, EthereumIcon, ExternalLinkIcon, GoogleIcon, iconNames, ImageIcon, InfoIcon, LinkAccountsIcon, PencilIcon, PlaySquareIcon, PolygonIcon, ProfileIcon, RevenueAltIcon, SearchIcon, ShieldTrustIcon, SolanaIcon, SparklesFilledIcon, StayInControlIcon, SuccessCheckIcon, TriangleDownIcon, TriangleUpFilledIcon, TriangleUpIcon, UploadIcon, UserTrustIcon, UsdcIcon, PaperPlaneIcon, WalletAvatarIcon, WalletFilledIcon, WalletIcon, WarningFilledIcon, WarningIcon, };
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { AppleIcon } from "./svg/apple";
|
|
2
|
+
import { AppsIcon } from "./svg/apps";
|
|
2
3
|
import { ArbitrumIcon } from "./svg/arbitrum";
|
|
3
4
|
import { ArrowRightIcon } from "./svg/arrow-right";
|
|
4
5
|
import { ArrowTrendUpIcon } from "./svg/arrow-trend-up";
|
|
@@ -12,6 +13,7 @@ import { BoltIcon } from "./svg/bolt";
|
|
|
12
13
|
import { CheckCircleIcon } from "./svg/check-circle";
|
|
13
14
|
import { ChartCandlestickIcon } from "./svg/chart-candlestick";
|
|
14
15
|
import { ChartLineIcon } from "./svg/chart-line";
|
|
16
|
+
import { CircleOverlapIcon } from "./svg/circle-overlap";
|
|
15
17
|
import { ChevronDownIcon } from "./svg/chevron-down";
|
|
16
18
|
import { ChevronLeftIcon } from "./svg/chevron-left";
|
|
17
19
|
import { ChevronRightIcon } from "./svg/chevron-right";
|
|
@@ -65,4 +67,4 @@ export declare const Icon: {
|
|
|
65
67
|
({ name, color, size, className, style, ...props }: IconProps): JSX.Element | null;
|
|
66
68
|
displayName: string;
|
|
67
69
|
};
|
|
68
|
-
export { ActivityChartIcon, AppleIcon, BadgeCheckThinIcon, ArbitrumIcon, ArrowRightIcon, ArrowTrendUpIcon, ArrowsToDotIcon, BankIcon, BaseIcon, BestPricesIcon, BnbIcon, BoltIcon, CheckCircleIcon, ChartCandlestickIcon, ChartLineIcon, ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon, CloseIcon, CopyIcon, CreateAccountIcon, CreditCardIcon, DisconnectIcon, DotsHorizontalIcon, DocumentIcon, DownloadIcon, ErrorFilledIcon, EthereumIcon, ExternalLinkIcon, GoogleIcon, iconNames, ImageIcon, InfoIcon, LinkAccountsIcon, PencilIcon, PlaySquareIcon, PolygonIcon, ProfileIcon, RevenueAltIcon, SearchIcon, ShieldTrustIcon, SolanaIcon, SparklesFilledIcon, StayInControlIcon, SuccessCheckIcon, TriangleDownIcon, TriangleUpFilledIcon, TriangleUpIcon, UploadIcon, UserTrustIcon, UsdcIcon, PaperPlaneIcon, WalletAvatarIcon, WalletFilledIcon, WalletIcon, WarningFilledIcon, WarningIcon, };
|
|
70
|
+
export { ActivityChartIcon, AppleIcon, AppsIcon, BadgeCheckThinIcon, ArbitrumIcon, ArrowRightIcon, ArrowTrendUpIcon, ArrowsToDotIcon, BankIcon, BaseIcon, BestPricesIcon, BnbIcon, BoltIcon, CheckCircleIcon, ChartCandlestickIcon, ChartLineIcon, CircleOverlapIcon, ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon, CloseIcon, CopyIcon, CreateAccountIcon, CreditCardIcon, DisconnectIcon, DotsHorizontalIcon, DocumentIcon, DownloadIcon, ErrorFilledIcon, EthereumIcon, ExternalLinkIcon, GoogleIcon, iconNames, ImageIcon, InfoIcon, LinkAccountsIcon, PencilIcon, PlaySquareIcon, PolygonIcon, ProfileIcon, RevenueAltIcon, SearchIcon, ShieldTrustIcon, SolanaIcon, SparklesFilledIcon, StayInControlIcon, SuccessCheckIcon, TriangleDownIcon, TriangleUpFilledIcon, TriangleUpIcon, UploadIcon, UserTrustIcon, UsdcIcon, PaperPlaneIcon, WalletAvatarIcon, WalletFilledIcon, WalletIcon, WarningFilledIcon, WarningIcon, };
|
|
@@ -12,6 +12,10 @@ export declare const iconRegistry: {
|
|
|
12
12
|
({ title, className, ...props }: import("./types").IconSvgProps): JSX.Element;
|
|
13
13
|
displayName: string;
|
|
14
14
|
};
|
|
15
|
+
readonly apps: {
|
|
16
|
+
({ title, className, ...props }: import("./types").IconSvgProps): JSX.Element;
|
|
17
|
+
displayName: string;
|
|
18
|
+
};
|
|
15
19
|
readonly arbitrum: {
|
|
16
20
|
({ title, className, ...props }: import("./types").IconSvgProps): JSX.Element;
|
|
17
21
|
displayName: string;
|
|
@@ -72,6 +76,10 @@ export declare const iconRegistry: {
|
|
|
72
76
|
({ title, className, ...props }: import("./types").IconSvgProps): JSX.Element;
|
|
73
77
|
displayName: string;
|
|
74
78
|
};
|
|
79
|
+
readonly "circle-overlap": {
|
|
80
|
+
({ title, className, ...props }: import("./types").IconSvgProps): JSX.Element;
|
|
81
|
+
displayName: string;
|
|
82
|
+
};
|
|
75
83
|
readonly "chevron-down": {
|
|
76
84
|
({ title, className, ...props }: import("./types").IconSvgProps): JSX.Element;
|
|
77
85
|
displayName: string;
|
|
@@ -12,6 +12,10 @@ export declare const iconRegistry: {
|
|
|
12
12
|
({ title, className, ...props }: import("./types").IconSvgProps): JSX.Element;
|
|
13
13
|
displayName: string;
|
|
14
14
|
};
|
|
15
|
+
readonly apps: {
|
|
16
|
+
({ title, className, ...props }: import("./types").IconSvgProps): JSX.Element;
|
|
17
|
+
displayName: string;
|
|
18
|
+
};
|
|
15
19
|
readonly arbitrum: {
|
|
16
20
|
({ title, className, ...props }: import("./types").IconSvgProps): JSX.Element;
|
|
17
21
|
displayName: string;
|
|
@@ -72,6 +76,10 @@ export declare const iconRegistry: {
|
|
|
72
76
|
({ title, className, ...props }: import("./types").IconSvgProps): JSX.Element;
|
|
73
77
|
displayName: string;
|
|
74
78
|
};
|
|
79
|
+
readonly "circle-overlap": {
|
|
80
|
+
({ title, className, ...props }: import("./types").IconSvgProps): JSX.Element;
|
|
81
|
+
displayName: string;
|
|
82
|
+
};
|
|
75
83
|
readonly "chevron-down": {
|
|
76
84
|
({ title, className, ...props }: import("./types").IconSvgProps): JSX.Element;
|
|
77
85
|
displayName: string;
|
|
@@ -5,6 +5,7 @@ export * from "./badge";
|
|
|
5
5
|
export * from "./button";
|
|
6
6
|
export * from "./card";
|
|
7
7
|
export * from "./chart";
|
|
8
|
+
export * from "./copy-button";
|
|
8
9
|
export * from "./currency-input";
|
|
9
10
|
export * from "./footer";
|
|
10
11
|
export * from "./header";
|
|
@@ -20,6 +21,7 @@ export * from "./skeleton";
|
|
|
20
21
|
export * from "./state-message";
|
|
21
22
|
export * from "./switch-button";
|
|
22
23
|
export * from "./tabs";
|
|
24
|
+
export * from "./toast";
|
|
23
25
|
export * from "./tooltip";
|
|
24
26
|
export * from "./typography";
|
|
25
27
|
export * from "./venue-logo";
|