@agg-market/ui 0.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/badge.d.mts +26 -0
- package/dist/badge.d.ts +26 -0
- package/dist/badge.js +70 -0
- package/dist/badge.mjs +9 -0
- package/dist/button.d.mts +20 -0
- package/dist/button.d.ts +20 -0
- package/dist/button.js +197 -0
- package/dist/button.mjs +8 -0
- package/dist/card.d.mts +8 -0
- package/dist/card.d.ts +8 -0
- package/dist/card.js +84 -0
- package/dist/card.mjs +7 -0
- package/dist/chart.d.mts +40 -0
- package/dist/chart.d.ts +40 -0
- package/dist/chart.js +418 -0
- package/dist/chart.mjs +8 -0
- package/dist/chunk-2PGUPOXY.mjs +285 -0
- package/dist/chunk-3DV3D2LH.mjs +155 -0
- package/dist/chunk-44UEI6KD.mjs +280 -0
- package/dist/chunk-4ADCXJE6.mjs +297 -0
- package/dist/chunk-4GSXVVSA.mjs +64 -0
- package/dist/chunk-4NK2FNAG.mjs +581 -0
- package/dist/chunk-4XWCYUV3.mjs +355 -0
- package/dist/chunk-5MN6ZNFA.mjs +355 -0
- package/dist/chunk-6RRBINER.mjs +50 -0
- package/dist/chunk-765JPQDG.mjs +280 -0
- package/dist/chunk-7CD7GIZC.mjs +850 -0
- package/dist/chunk-7XRKA6XF.mjs +462 -0
- package/dist/chunk-AOFP74IB.mjs +850 -0
- package/dist/chunk-BNDFQPHF.mjs +9 -0
- package/dist/chunk-C4OI72SM.mjs +14 -0
- package/dist/chunk-CB2MLGCJ.mjs +279 -0
- package/dist/chunk-CKTAVEW2.mjs +212 -0
- package/dist/chunk-DA6KZWSK.mjs +807 -0
- package/dist/chunk-DBD5GHHD.mjs +147 -0
- package/dist/chunk-DQ6XFBYJ.mjs +37 -0
- package/dist/chunk-FACIYUNK.mjs +217 -0
- package/dist/chunk-FUJQIYOF.mjs +37 -0
- package/dist/chunk-FZTAHWOS.mjs +82 -0
- package/dist/chunk-GC3QIIH7.mjs +112 -0
- package/dist/chunk-GPBLZGJ2.mjs +136 -0
- package/dist/chunk-H4LELROL.mjs +262 -0
- package/dist/chunk-H7P6DIX4.mjs +262 -0
- package/dist/chunk-H7YEBGYY.mjs +42 -0
- package/dist/chunk-HJOBAMDU.mjs +142 -0
- package/dist/chunk-IJG5I642.mjs +462 -0
- package/dist/chunk-IY2AA3OL.mjs +50 -0
- package/dist/chunk-J6L5BLKX.mjs +136 -0
- package/dist/chunk-J7OETCZ7.mjs +147 -0
- package/dist/chunk-JLLMIPIX.mjs +42 -0
- package/dist/chunk-KBRLFTJT.mjs +741 -0
- package/dist/chunk-KDBYDMYV.mjs +64 -0
- package/dist/chunk-L6E6Q4C4.mjs +217 -0
- package/dist/chunk-LY6474C4.mjs +297 -0
- package/dist/chunk-M23S2DVV.mjs +581 -0
- package/dist/chunk-MG243DSX.mjs +44 -0
- package/dist/chunk-MRHSN2B7.mjs +279 -0
- package/dist/chunk-MXWRCVRJ.mjs +285 -0
- package/dist/chunk-NFYS557L.mjs +481 -0
- package/dist/chunk-NNSY462N.mjs +212 -0
- package/dist/chunk-OUOIDPGX.mjs +25 -0
- package/dist/chunk-P5PFQX75.mjs +31 -0
- package/dist/chunk-P674XRDY.mjs +481 -0
- package/dist/chunk-PAQ542ER.mjs +170 -0
- package/dist/chunk-QE46DVJG.mjs +323 -0
- package/dist/chunk-QXFDXXDB.mjs +792 -0
- package/dist/chunk-R3DRVI4J.mjs +741 -0
- package/dist/chunk-TTOR7JCT.mjs +155 -0
- package/dist/chunk-V5WIYMKS.mjs +25 -0
- package/dist/chunk-VAZE267Q.mjs +82 -0
- package/dist/chunk-VLIJ7PQK.mjs +792 -0
- package/dist/chunk-VYNVBJK6.mjs +44 -0
- package/dist/chunk-WIWJ6DIE.mjs +323 -0
- package/dist/chunk-XDAEEJYR.mjs +142 -0
- package/dist/chunk-YUIZZ6XE.mjs +31 -0
- package/dist/connect-button.d.mts +40 -0
- package/dist/connect-button.d.ts +40 -0
- package/dist/connect-button.js +1815 -0
- package/dist/connect-button.mjs +14 -0
- package/dist/event-list-item-details.d.mts +11 -0
- package/dist/event-list-item-details.d.ts +11 -0
- package/dist/event-list-item-details.js +2140 -0
- package/dist/event-list-item-details.mjs +19 -0
- package/dist/event-list-item-details.types-CMbXOrT-.d.ts +53 -0
- package/dist/event-list-item-details.types-CxWr4Qn1.d.ts +53 -0
- package/dist/event-list-item-details.types-DRi99PZq.d.mts +53 -0
- package/dist/event-list-item-details.types-DekJKeMD.d.mts +53 -0
- package/dist/event-list-item.d.mts +10 -0
- package/dist/event-list-item.d.ts +10 -0
- package/dist/event-list-item.js +2097 -0
- package/dist/event-list-item.mjs +17 -0
- package/dist/event-list-item.types-B1490EQm.d.mts +46 -0
- package/dist/event-list-item.types-B1490EQm.d.ts +46 -0
- package/dist/event-list-item.types-Y6IeJ4e4.d.mts +46 -0
- package/dist/event-list-item.types-Y6IeJ4e4.d.ts +46 -0
- package/dist/event-list.d.mts +9 -0
- package/dist/event-list.d.ts +9 -0
- package/dist/event-list.js +3151 -0
- package/dist/event-list.mjs +20 -0
- package/dist/event-list.types-Bpp6Vn-t.d.mts +13 -0
- package/dist/event-list.types-Bpp6Vn-t.d.ts +13 -0
- package/dist/event-list.types-CkAAUqwW.d.mts +13 -0
- package/dist/event-list.types-CkAAUqwW.d.ts +13 -0
- package/dist/event-market-page.d.mts +52 -0
- package/dist/event-market-page.d.ts +52 -0
- package/dist/event-market-page.js +5369 -0
- package/dist/event-market-page.mjs +29 -0
- package/dist/hello-world.d.mts +8 -0
- package/dist/hello-world.d.ts +8 -0
- package/dist/hello-world.js +80 -0
- package/dist/hello-world.mjs +8 -0
- package/dist/home-page.d.mts +51 -0
- package/dist/home-page.d.ts +51 -0
- package/dist/home-page.js +3415 -0
- package/dist/home-page.mjs +21 -0
- package/dist/icon.d.mts +123 -0
- package/dist/icon.d.ts +123 -0
- package/dist/icon.js +922 -0
- package/dist/icon.mjs +57 -0
- package/dist/index.d.mts +70 -0
- package/dist/index.d.ts +70 -0
- package/dist/index.js +8184 -0
- package/dist/index.mjs +307 -0
- package/dist/loading-icon.d.mts +14 -0
- package/dist/loading-icon.d.ts +14 -0
- package/dist/loading-icon.js +115 -0
- package/dist/loading-icon.mjs +8 -0
- package/dist/market-details.d.mts +73 -0
- package/dist/market-details.d.ts +73 -0
- package/dist/market-details.js +3923 -0
- package/dist/market-details.mjs +22 -0
- package/dist/modal.d.mts +66 -0
- package/dist/modal.d.ts +66 -0
- package/dist/modal.js +317 -0
- package/dist/modal.mjs +9 -0
- package/dist/number-value.d.mts +14 -0
- package/dist/number-value.d.ts +14 -0
- package/dist/number-value.js +67 -0
- package/dist/number-value.mjs +7 -0
- package/dist/onboarding-modal.d.mts +88 -0
- package/dist/onboarding-modal.d.ts +88 -0
- package/dist/onboarding-modal.js +2242 -0
- package/dist/onboarding-modal.mjs +24 -0
- package/dist/place-order.d.mts +20 -0
- package/dist/place-order.d.ts +20 -0
- package/dist/place-order.js +2916 -0
- package/dist/place-order.mjs +18 -0
- package/dist/registry-CVn79H3I.d.mts +106 -0
- package/dist/registry-CVn79H3I.d.ts +106 -0
- package/dist/search.d.mts +69 -0
- package/dist/search.d.ts +69 -0
- package/dist/search.js +1465 -0
- package/dist/search.mjs +12 -0
- package/dist/select.d.mts +19 -0
- package/dist/select.d.ts +19 -0
- package/dist/select.js +920 -0
- package/dist/select.mjs +11 -0
- package/dist/settlement.d.mts +16 -0
- package/dist/settlement.d.ts +16 -0
- package/dist/settlement.js +1769 -0
- package/dist/settlement.mjs +15 -0
- package/dist/skeleton.d.mts +22 -0
- package/dist/skeleton.d.ts +22 -0
- package/dist/skeleton.js +523 -0
- package/dist/skeleton.mjs +10 -0
- package/dist/styles.css +2 -0
- package/dist/switch-button.d.mts +21 -0
- package/dist/switch-button.d.ts +21 -0
- package/dist/switch-button.js +184 -0
- package/dist/switch-button.mjs +7 -0
- package/dist/tabs.d.mts +27 -0
- package/dist/tabs.d.ts +27 -0
- package/dist/tabs.js +1708 -0
- package/dist/tabs.mjs +12 -0
- package/dist/tailwind.css +2 -0
- package/dist/types-8VUuQVZq.d.mts +387 -0
- package/dist/types-8VUuQVZq.d.ts +387 -0
- package/dist/types-CayJ8tWA.d.mts +3 -0
- package/dist/types-CayJ8tWA.d.ts +3 -0
- package/dist/typography.d.mts +16 -0
- package/dist/typography.d.ts +16 -0
- package/dist/typography.js +62 -0
- package/dist/typography.mjs +7 -0
- package/dist/venue-logo.d.mts +12 -0
- package/dist/venue-logo.d.ts +12 -0
- package/dist/venue-logo.js +350 -0
- package/dist/venue-logo.mjs +10 -0
- package/dist/venue-logo.types-4hmCg3D3.d.ts +17 -0
- package/dist/venue-logo.types-B1iPJgiD.d.mts +17 -0
- package/dist/venue-logo.types-Bg8eXtGp.d.ts +17 -0
- package/dist/venue-logo.types-QNDwiQ77.d.mts +17 -0
- package/package.json +195 -0
package/dist/icon.mjs
ADDED
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import {
|
|
2
|
+
ArrowTrendUpIcon,
|
|
3
|
+
ArrowsToDotIcon,
|
|
4
|
+
BestPricesIcon,
|
|
5
|
+
CheckCircleIcon,
|
|
6
|
+
ChevronDownIcon,
|
|
7
|
+
ChevronRightIcon,
|
|
8
|
+
ChevronUpIcon,
|
|
9
|
+
CreateAccountIcon,
|
|
10
|
+
DisconnectIcon,
|
|
11
|
+
DownloadIcon,
|
|
12
|
+
Icon,
|
|
13
|
+
LinkAccountsIcon,
|
|
14
|
+
ProfileIcon,
|
|
15
|
+
RevenueAltIcon,
|
|
16
|
+
SearchIcon,
|
|
17
|
+
ShieldTrustIcon,
|
|
18
|
+
StayInControlIcon,
|
|
19
|
+
TriangleDownIcon,
|
|
20
|
+
TriangleUpIcon,
|
|
21
|
+
UploadIcon,
|
|
22
|
+
WalletAvatarIcon,
|
|
23
|
+
WarningIcon,
|
|
24
|
+
iconNames
|
|
25
|
+
} from "./chunk-DA6KZWSK.mjs";
|
|
26
|
+
import {
|
|
27
|
+
CloseIcon
|
|
28
|
+
} from "./chunk-VYNVBJK6.mjs";
|
|
29
|
+
import "./chunk-BNDFQPHF.mjs";
|
|
30
|
+
import "./chunk-C4OI72SM.mjs";
|
|
31
|
+
import "./chunk-GC3QIIH7.mjs";
|
|
32
|
+
export {
|
|
33
|
+
ArrowTrendUpIcon,
|
|
34
|
+
ArrowsToDotIcon,
|
|
35
|
+
BestPricesIcon,
|
|
36
|
+
CheckCircleIcon,
|
|
37
|
+
ChevronDownIcon,
|
|
38
|
+
ChevronRightIcon,
|
|
39
|
+
ChevronUpIcon,
|
|
40
|
+
CloseIcon,
|
|
41
|
+
CreateAccountIcon,
|
|
42
|
+
DisconnectIcon,
|
|
43
|
+
DownloadIcon,
|
|
44
|
+
Icon,
|
|
45
|
+
LinkAccountsIcon,
|
|
46
|
+
ProfileIcon,
|
|
47
|
+
RevenueAltIcon,
|
|
48
|
+
SearchIcon,
|
|
49
|
+
ShieldTrustIcon,
|
|
50
|
+
StayInControlIcon,
|
|
51
|
+
TriangleDownIcon,
|
|
52
|
+
TriangleUpIcon,
|
|
53
|
+
UploadIcon,
|
|
54
|
+
WalletAvatarIcon,
|
|
55
|
+
WarningIcon,
|
|
56
|
+
iconNames
|
|
57
|
+
};
|
package/dist/index.d.mts
ADDED
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
export { Button, ButtonProps, ButtonSize, ButtonVariant } from './button.mjs';
|
|
2
|
+
export { Skeleton, SkeletonProps, SkeletonView, skeletonViews } from './skeleton.mjs';
|
|
3
|
+
export { SwitchButton, SwitchButtonOption, SwitchButtonProps } from './switch-button.mjs';
|
|
4
|
+
export { ConnectButton, ConnectButtonButtonProps, ConnectButtonClassNames, ConnectButtonProps } from './connect-button.mjs';
|
|
5
|
+
export { HelloWorld } from './hello-world.mjs';
|
|
6
|
+
export { Card, CardProps } from './card.mjs';
|
|
7
|
+
export { LineChart, LineChartClassNames, LineChartPoint, LineChartProps, LineChartSeries, LineChartSeriesControlsRenderProps } from './chart.mjs';
|
|
8
|
+
export { LoadingIcon, LoadingIconProps, LoadingIconSize } from './loading-icon.mjs';
|
|
9
|
+
export { Typography, TypographyProps, TypographyVariant } from './typography.mjs';
|
|
10
|
+
export { ArrowTrendUpIcon, ArrowsToDotIcon, BestPricesIcon, CheckCircleIcon, ChevronDownIcon, ChevronRightIcon, ChevronUpIcon, CloseIcon, CreateAccountIcon, DisconnectIcon, DownloadIcon, Icon, IconProps, IconSize, LinkAccountsIcon, ProfileIcon, RevenueAltIcon, SearchIcon, ShieldTrustIcon, StayInControlIcon, TriangleDownIcon, TriangleUpIcon, UploadIcon, WarningIcon } from './icon.mjs';
|
|
11
|
+
export { NumberValue, NumberValueFormat, NumberValueProps } from './number-value.mjs';
|
|
12
|
+
export { VenueLogo, venueLogoNames } from './venue-logo.mjs';
|
|
13
|
+
export { Badge, BadgeClassNames, BadgeProps, BadgeSize, badgeSizes } from './badge.mjs';
|
|
14
|
+
export { Select, SelectItem, SelectProps } from './select.mjs';
|
|
15
|
+
export { Search, SearchClassNames, SearchInputProps, SearchProps, SearchResultItem } from './search.mjs';
|
|
16
|
+
export { Tabs, TabsItem, TabsOverflowBehavior, TabsProps, TabsSize, TabsVariant } from './tabs.mjs';
|
|
17
|
+
export { Modal, ModalBodyClassNames, ModalBodyProps, ModalContainerClassNames, ModalContainerProps, ModalFooterClassNames, ModalFooterProps, ModalHeaderClassNames, ModalHeaderProps, ModalProps } from './modal.mjs';
|
|
18
|
+
export { EventListItem } from './event-list-item.mjs';
|
|
19
|
+
export { EventListItemDetails } from './event-list-item-details.mjs';
|
|
20
|
+
export { MarketDetails, MarketDetailsClassNames, MarketDetailsContentProps, MarketDetailsMetaRow, MarketDetailsOrderBookRow, MarketDetailsProps, MarketDetailsTab } from './market-details.mjs';
|
|
21
|
+
export { EventList } from './event-list.mjs';
|
|
22
|
+
export { HomePage, HomePageCategory, HomePageClassNames, HomePageEventSectionItem, HomePageProps, HomePageTab, HomePageTabValue } from './home-page.mjs';
|
|
23
|
+
export { ConnectAccountsStep, ConnectAccountsStepProps, ConnectKalshiModal, ConnectKalshiModalProps, ConnectOnchainModal, ConnectOnchainModalProps, ConnectionState, HowItWorksIcons, HowItWorksStep, HowItWorksStepProps, KalshiCredentials, OnboardingModal, OnboardingModalProps, OnboardingProfileData, ProfileSetupStep, ProfileSetupStepProps } from './onboarding-modal.mjs';
|
|
24
|
+
export { EventMarketPage, EventMarketPageClassNames, EventMarketPageProps } from './event-market-page.mjs';
|
|
25
|
+
import { T as TradingVenue } from './types-8VUuQVZq.mjs';
|
|
26
|
+
export { v as PlaceOrderMetric, u as PlaceOrderOutcome, y as PlaceOrderResult, r as PlaceOrderResultTone, x as PlaceOrderRouting, w as PlaceOrderRoutingRow, q as PlaceOrderRoutingTone, z as PlaceOrderStatus, o as PlaceOrderStatusPlacement, n as PlaceOrderStatusTone, P as PlaceOrderTab, A as PlaceOrderViewModel, b as SettlementVenueItem, S as SettlementViewModel, h as placeOrderMetricSchema, g as placeOrderOutcomeSchema, k as placeOrderResultSchema, f as placeOrderResultToneSchema, i as placeOrderRoutingRowSchema, j as placeOrderRoutingSchema, e as placeOrderRoutingToneSchema, d as placeOrderStatusPlacementSchema, l as placeOrderStatusSchema, c as placeOrderStatusToneSchema, p as placeOrderTabSchema, m as placeOrderViewModelSchema, s as settlementVenueSchema, a as settlementViewModelSchema, t as tradingVenueSchema } from './types-8VUuQVZq.mjs';
|
|
27
|
+
export { Settlement, SettlementProps } from './settlement.mjs';
|
|
28
|
+
export { PlaceOrder, PlaceOrderProps } from './place-order.mjs';
|
|
29
|
+
export { A as AvailableSizes } from './types-CayJ8tWA.mjs';
|
|
30
|
+
export { I as IconName, a as IconSvgProps, W as WalletAvatarIcon, i as iconNames } from './registry-CVn79H3I.mjs';
|
|
31
|
+
export { V as VenueLogoName, a as VenueLogoProps } from './venue-logo.types-B1iPJgiD.mjs';
|
|
32
|
+
export { E as EventListItemClassNames, a as EventListItemEvent, b as EventListItemProps, c as EventListItemVenueInfo, d as EventListItemVenueInfoMap } from './event-list-item.types-Y6IeJ4e4.mjs';
|
|
33
|
+
export { E as EventListItemDetailsClassNames, a as EventListItemDetailsEvent, b as EventListItemDetailsProps, c as EventListItemDetailsStat, d as EventListItemDetailsTimeRange, e as EventListItemDetailsWithEventIdProps } from './event-list-item-details.types-DekJKeMD.mjs';
|
|
34
|
+
export { E as EventListProps } from './event-list.types-CkAAUqwW.mjs';
|
|
35
|
+
import 'react';
|
|
36
|
+
import 'react/jsx-runtime';
|
|
37
|
+
import 'zod';
|
|
38
|
+
import '@agg-market/hooks';
|
|
39
|
+
|
|
40
|
+
declare const defaultSettlementSectionLabel: string;
|
|
41
|
+
declare const defaultSettlementDifferencesTitle: string;
|
|
42
|
+
declare const defaultTradingDisclaimer: string;
|
|
43
|
+
declare const getTradingDateLabel: (value: string | Date) => string;
|
|
44
|
+
declare const getTradingVenueLabel: (venue: TradingVenue, label?: string) => string;
|
|
45
|
+
declare const getTradingValueLabel: ({ amount, minimumFractionDigits, maximumFractionDigits, }: {
|
|
46
|
+
amount: number;
|
|
47
|
+
minimumFractionDigits?: number;
|
|
48
|
+
maximumFractionDigits?: number;
|
|
49
|
+
}) => string;
|
|
50
|
+
declare const getTradingPriceLabel: (value: number) => string;
|
|
51
|
+
declare const getTradingAveragePriceLabel: (value: number) => string;
|
|
52
|
+
declare const getTradingBalanceLabel: (value: number) => string;
|
|
53
|
+
declare const getTradingSharesLabel: (value: number) => string;
|
|
54
|
+
declare const getTradingSlippageLabel: (value: number) => string;
|
|
55
|
+
|
|
56
|
+
declare const AGG_ROOT_CLASS_NAME = "agg-root";
|
|
57
|
+
|
|
58
|
+
type ClassValue = string | false | null | undefined;
|
|
59
|
+
type Falsy = false | 0 | "" | null | undefined;
|
|
60
|
+
|
|
61
|
+
declare const isTruthy: <T>(x: T | Falsy) => x is T;
|
|
62
|
+
declare const cn: (...values: ClassValue[]) => string;
|
|
63
|
+
declare const getMotionClassName: (enabled: boolean, ...values: ClassValue[]) => string | undefined;
|
|
64
|
+
declare const getScrollBehavior: (enabled: boolean) => "auto" | "smooth";
|
|
65
|
+
declare const isValidDateValue: (value: unknown) => value is Date;
|
|
66
|
+
declare const toDate: (value: string | Date | undefined) => Date | null;
|
|
67
|
+
declare const shortenAddress: (value: string) => string;
|
|
68
|
+
declare const formatUsd: (value: number) => string;
|
|
69
|
+
|
|
70
|
+
export { AGG_ROOT_CLASS_NAME, type ClassValue, type Falsy, TradingVenue, AGG_ROOT_CLASS_NAME as aggRootClassName, cn, defaultSettlementDifferencesTitle, defaultSettlementSectionLabel, defaultTradingDisclaimer, formatUsd, getMotionClassName, getScrollBehavior, getTradingAveragePriceLabel, getTradingBalanceLabel, getTradingDateLabel, getTradingPriceLabel, getTradingSharesLabel, getTradingSlippageLabel, getTradingValueLabel, getTradingVenueLabel, isTruthy, isValidDateValue, shortenAddress, toDate };
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
export { Button, ButtonProps, ButtonSize, ButtonVariant } from './button.js';
|
|
2
|
+
export { Skeleton, SkeletonProps, SkeletonView, skeletonViews } from './skeleton.js';
|
|
3
|
+
export { SwitchButton, SwitchButtonOption, SwitchButtonProps } from './switch-button.js';
|
|
4
|
+
export { ConnectButton, ConnectButtonButtonProps, ConnectButtonClassNames, ConnectButtonProps } from './connect-button.js';
|
|
5
|
+
export { HelloWorld } from './hello-world.js';
|
|
6
|
+
export { Card, CardProps } from './card.js';
|
|
7
|
+
export { LineChart, LineChartClassNames, LineChartPoint, LineChartProps, LineChartSeries, LineChartSeriesControlsRenderProps } from './chart.js';
|
|
8
|
+
export { LoadingIcon, LoadingIconProps, LoadingIconSize } from './loading-icon.js';
|
|
9
|
+
export { Typography, TypographyProps, TypographyVariant } from './typography.js';
|
|
10
|
+
export { ArrowTrendUpIcon, ArrowsToDotIcon, BestPricesIcon, CheckCircleIcon, ChevronDownIcon, ChevronRightIcon, ChevronUpIcon, CloseIcon, CreateAccountIcon, DisconnectIcon, DownloadIcon, Icon, IconProps, IconSize, LinkAccountsIcon, ProfileIcon, RevenueAltIcon, SearchIcon, ShieldTrustIcon, StayInControlIcon, TriangleDownIcon, TriangleUpIcon, UploadIcon, WarningIcon } from './icon.js';
|
|
11
|
+
export { NumberValue, NumberValueFormat, NumberValueProps } from './number-value.js';
|
|
12
|
+
export { VenueLogo, venueLogoNames } from './venue-logo.js';
|
|
13
|
+
export { Badge, BadgeClassNames, BadgeProps, BadgeSize, badgeSizes } from './badge.js';
|
|
14
|
+
export { Select, SelectItem, SelectProps } from './select.js';
|
|
15
|
+
export { Search, SearchClassNames, SearchInputProps, SearchProps, SearchResultItem } from './search.js';
|
|
16
|
+
export { Tabs, TabsItem, TabsOverflowBehavior, TabsProps, TabsSize, TabsVariant } from './tabs.js';
|
|
17
|
+
export { Modal, ModalBodyClassNames, ModalBodyProps, ModalContainerClassNames, ModalContainerProps, ModalFooterClassNames, ModalFooterProps, ModalHeaderClassNames, ModalHeaderProps, ModalProps } from './modal.js';
|
|
18
|
+
export { EventListItem } from './event-list-item.js';
|
|
19
|
+
export { EventListItemDetails } from './event-list-item-details.js';
|
|
20
|
+
export { MarketDetails, MarketDetailsClassNames, MarketDetailsContentProps, MarketDetailsMetaRow, MarketDetailsOrderBookRow, MarketDetailsProps, MarketDetailsTab } from './market-details.js';
|
|
21
|
+
export { EventList } from './event-list.js';
|
|
22
|
+
export { HomePage, HomePageCategory, HomePageClassNames, HomePageEventSectionItem, HomePageProps, HomePageTab, HomePageTabValue } from './home-page.js';
|
|
23
|
+
export { ConnectAccountsStep, ConnectAccountsStepProps, ConnectKalshiModal, ConnectKalshiModalProps, ConnectOnchainModal, ConnectOnchainModalProps, ConnectionState, HowItWorksIcons, HowItWorksStep, HowItWorksStepProps, KalshiCredentials, OnboardingModal, OnboardingModalProps, OnboardingProfileData, ProfileSetupStep, ProfileSetupStepProps } from './onboarding-modal.js';
|
|
24
|
+
export { EventMarketPage, EventMarketPageClassNames, EventMarketPageProps } from './event-market-page.js';
|
|
25
|
+
import { T as TradingVenue } from './types-8VUuQVZq.js';
|
|
26
|
+
export { v as PlaceOrderMetric, u as PlaceOrderOutcome, y as PlaceOrderResult, r as PlaceOrderResultTone, x as PlaceOrderRouting, w as PlaceOrderRoutingRow, q as PlaceOrderRoutingTone, z as PlaceOrderStatus, o as PlaceOrderStatusPlacement, n as PlaceOrderStatusTone, P as PlaceOrderTab, A as PlaceOrderViewModel, b as SettlementVenueItem, S as SettlementViewModel, h as placeOrderMetricSchema, g as placeOrderOutcomeSchema, k as placeOrderResultSchema, f as placeOrderResultToneSchema, i as placeOrderRoutingRowSchema, j as placeOrderRoutingSchema, e as placeOrderRoutingToneSchema, d as placeOrderStatusPlacementSchema, l as placeOrderStatusSchema, c as placeOrderStatusToneSchema, p as placeOrderTabSchema, m as placeOrderViewModelSchema, s as settlementVenueSchema, a as settlementViewModelSchema, t as tradingVenueSchema } from './types-8VUuQVZq.js';
|
|
27
|
+
export { Settlement, SettlementProps } from './settlement.js';
|
|
28
|
+
export { PlaceOrder, PlaceOrderProps } from './place-order.js';
|
|
29
|
+
export { A as AvailableSizes } from './types-CayJ8tWA.js';
|
|
30
|
+
export { I as IconName, a as IconSvgProps, W as WalletAvatarIcon, i as iconNames } from './registry-CVn79H3I.js';
|
|
31
|
+
export { V as VenueLogoName, a as VenueLogoProps } from './venue-logo.types-Bg8eXtGp.js';
|
|
32
|
+
export { E as EventListItemClassNames, a as EventListItemEvent, b as EventListItemProps, c as EventListItemVenueInfo, d as EventListItemVenueInfoMap } from './event-list-item.types-Y6IeJ4e4.js';
|
|
33
|
+
export { E as EventListItemDetailsClassNames, a as EventListItemDetailsEvent, b as EventListItemDetailsProps, c as EventListItemDetailsStat, d as EventListItemDetailsTimeRange, e as EventListItemDetailsWithEventIdProps } from './event-list-item-details.types-CMbXOrT-.js';
|
|
34
|
+
export { E as EventListProps } from './event-list.types-CkAAUqwW.js';
|
|
35
|
+
import 'react';
|
|
36
|
+
import 'react/jsx-runtime';
|
|
37
|
+
import 'zod';
|
|
38
|
+
import '@agg-market/hooks';
|
|
39
|
+
|
|
40
|
+
declare const defaultSettlementSectionLabel: string;
|
|
41
|
+
declare const defaultSettlementDifferencesTitle: string;
|
|
42
|
+
declare const defaultTradingDisclaimer: string;
|
|
43
|
+
declare const getTradingDateLabel: (value: string | Date) => string;
|
|
44
|
+
declare const getTradingVenueLabel: (venue: TradingVenue, label?: string) => string;
|
|
45
|
+
declare const getTradingValueLabel: ({ amount, minimumFractionDigits, maximumFractionDigits, }: {
|
|
46
|
+
amount: number;
|
|
47
|
+
minimumFractionDigits?: number;
|
|
48
|
+
maximumFractionDigits?: number;
|
|
49
|
+
}) => string;
|
|
50
|
+
declare const getTradingPriceLabel: (value: number) => string;
|
|
51
|
+
declare const getTradingAveragePriceLabel: (value: number) => string;
|
|
52
|
+
declare const getTradingBalanceLabel: (value: number) => string;
|
|
53
|
+
declare const getTradingSharesLabel: (value: number) => string;
|
|
54
|
+
declare const getTradingSlippageLabel: (value: number) => string;
|
|
55
|
+
|
|
56
|
+
declare const AGG_ROOT_CLASS_NAME = "agg-root";
|
|
57
|
+
|
|
58
|
+
type ClassValue = string | false | null | undefined;
|
|
59
|
+
type Falsy = false | 0 | "" | null | undefined;
|
|
60
|
+
|
|
61
|
+
declare const isTruthy: <T>(x: T | Falsy) => x is T;
|
|
62
|
+
declare const cn: (...values: ClassValue[]) => string;
|
|
63
|
+
declare const getMotionClassName: (enabled: boolean, ...values: ClassValue[]) => string | undefined;
|
|
64
|
+
declare const getScrollBehavior: (enabled: boolean) => "auto" | "smooth";
|
|
65
|
+
declare const isValidDateValue: (value: unknown) => value is Date;
|
|
66
|
+
declare const toDate: (value: string | Date | undefined) => Date | null;
|
|
67
|
+
declare const shortenAddress: (value: string) => string;
|
|
68
|
+
declare const formatUsd: (value: number) => string;
|
|
69
|
+
|
|
70
|
+
export { AGG_ROOT_CLASS_NAME, type ClassValue, type Falsy, TradingVenue, AGG_ROOT_CLASS_NAME as aggRootClassName, cn, defaultSettlementDifferencesTitle, defaultSettlementSectionLabel, defaultTradingDisclaimer, formatUsd, getMotionClassName, getScrollBehavior, getTradingAveragePriceLabel, getTradingBalanceLabel, getTradingDateLabel, getTradingPriceLabel, getTradingSharesLabel, getTradingSlippageLabel, getTradingValueLabel, getTradingVenueLabel, isTruthy, isValidDateValue, shortenAddress, toDate };
|