@agg-build/ui 1.0.1 → 1.1.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.
Files changed (80) hide show
  1. package/dist/{chunk-5ES2VJHO.mjs → chunk-7JEJIGG4.mjs} +162 -253
  2. package/dist/{chunk-BYMLPLEZ.mjs → chunk-F3SU7BRE.mjs} +10 -10
  3. package/dist/{chunk-WLXYCBZV.mjs → chunk-IT2Y62MG.mjs} +31 -35
  4. package/dist/{chunk-43K4PFBC.mjs → chunk-JDYZJKTE.mjs} +2 -2
  5. package/dist/{chunk-HD6HBTK2.mjs → chunk-KDMNFHPL.mjs} +369 -19
  6. package/dist/{chunk-LPNZOX3E.mjs → chunk-OHEZGKFM.mjs} +443 -884
  7. package/dist/{chunk-YZNO6IUD.mjs → chunk-R6DETAZ6.mjs} +1343 -1173
  8. package/dist/events.js +1886 -1545
  9. package/dist/events.mjs +3 -3
  10. package/dist/index.js +3748 -3707
  11. package/dist/index.mjs +191 -118
  12. package/dist/modals.js +1042 -943
  13. package/dist/modals.mjs +3 -3
  14. package/dist/pages.js +2822 -2864
  15. package/dist/pages.mjs +6 -6
  16. package/dist/primitives.js +1322 -1166
  17. package/dist/primitives.mjs +9 -1
  18. package/dist/styles.css +1 -1
  19. package/dist/tailwind.css +1 -1
  20. package/dist/trading.js +3770 -3718
  21. package/dist/trading.mjs +10 -12
  22. package/dist/types/events/item-details/settlement-summary.d.mts +6 -2
  23. package/dist/types/events/item-details/settlement-summary.d.ts +6 -2
  24. package/dist/types/events/list/event-list.types.d.mts +1 -1
  25. package/dist/types/events/list/event-list.types.d.ts +1 -1
  26. package/dist/types/events/list/event-list.utils.d.mts +1 -1
  27. package/dist/types/events/list/event-list.utils.d.ts +1 -1
  28. package/dist/types/pages/event-market/event-market.types.d.mts +1 -3
  29. package/dist/types/pages/event-market/event-market.types.d.ts +1 -3
  30. package/dist/types/pages/user-profile/components/available-balance-card.d.mts +0 -1
  31. package/dist/types/pages/user-profile/components/available-balance-card.d.ts +0 -1
  32. package/dist/types/primitives/icon/icon.types.d.mts +1 -2
  33. package/dist/types/primitives/icon/icon.types.d.ts +1 -2
  34. package/dist/types/primitives/icon/index.d.mts +4 -1
  35. package/dist/types/primitives/icon/index.d.ts +4 -1
  36. package/dist/types/primitives/icon/registry.d.mts +12 -0
  37. package/dist/types/primitives/icon/registry.d.ts +12 -0
  38. package/dist/types/primitives/icon/svg/apps.d.mts +5 -0
  39. package/dist/types/primitives/icon/svg/apps.d.ts +5 -0
  40. package/dist/types/primitives/icon/svg/circle-overlap.d.mts +5 -0
  41. package/dist/types/primitives/icon/svg/circle-overlap.d.ts +5 -0
  42. package/dist/types/primitives/icon/svg/lock.d.mts +5 -0
  43. package/dist/types/primitives/icon/svg/lock.d.ts +5 -0
  44. package/dist/types/primitives/select/index.d.mts +1 -1
  45. package/dist/types/primitives/select/index.d.ts +1 -1
  46. package/dist/types/primitives/select/select.types.d.mts +1 -1
  47. package/dist/types/primitives/select/select.types.d.ts +1 -1
  48. package/dist/types/primitives/select/select.utils.d.mts +0 -1
  49. package/dist/types/primitives/select/select.utils.d.ts +0 -1
  50. package/dist/types/primitives/skeleton/index.d.mts +2 -1
  51. package/dist/types/primitives/skeleton/index.d.ts +2 -1
  52. package/dist/types/primitives/skeleton/views/place-order-skeleton-view.d.mts +4 -0
  53. package/dist/types/primitives/skeleton/views/place-order-skeleton-view.d.ts +4 -0
  54. package/dist/types/primitives/typography/index.d.mts +1 -1
  55. package/dist/types/primitives/typography/index.d.ts +1 -1
  56. package/dist/types/primitives/typography/typography.types.d.mts +3 -1
  57. package/dist/types/primitives/typography/typography.types.d.ts +3 -1
  58. package/dist/types/shared/utils.d.mts +3 -1
  59. package/dist/types/shared/utils.d.ts +3 -1
  60. package/dist/types/trading/index.d.mts +0 -1
  61. package/dist/types/trading/index.d.ts +0 -1
  62. package/dist/types/trading/place-order/index.place-order.types.d.mts +0 -1
  63. package/dist/types/trading/place-order/index.place-order.types.d.ts +0 -1
  64. package/dist/types/trading/place-order/index.place-order.utils.d.mts +0 -4
  65. package/dist/types/trading/place-order/index.place-order.utils.d.ts +0 -4
  66. package/dist/types/trading/settlement/index.d.mts +9 -6
  67. package/dist/types/trading/settlement/index.d.ts +9 -6
  68. package/dist/types/trading/settlement/settlement-text-renderer.d.mts +8 -0
  69. package/dist/types/trading/settlement/settlement-text-renderer.d.ts +8 -0
  70. package/dist/types/trading/settlement/settlement-text.utils.d.mts +36 -0
  71. package/dist/types/trading/settlement/settlement-text.utils.d.ts +36 -0
  72. package/dist/types/trading/types.d.mts +0 -19
  73. package/dist/types/trading/types.d.ts +0 -19
  74. package/dist/types/trading/utils.d.mts +0 -1
  75. package/dist/types/trading/utils.d.ts +0 -1
  76. package/package.json +3 -3
  77. package/dist/types/primitives/card/card.constants.d.mts +0 -4
  78. package/dist/types/primitives/card/card.constants.d.ts +0 -4
  79. package/dist/types/trading/settlement/settlement-details.utils.d.mts +0 -7
  80. 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
- defaultSettlementDifferencesTitle,
7
+ parseAmount,
8
+ parseVenue
9
+ } from "./chunk-OHEZGKFM.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-LPNZOX3E.mjs";
23
- import {
24
23
  useEventTradingContext
25
- } from "./chunk-HD6HBTK2.mjs";
26
- import "./chunk-43K4PFBC.mjs";
27
- import "./chunk-YZNO6IUD.mjs";
24
+ } from "./chunk-KDMNFHPL.mjs";
25
+ import "./chunk-JDYZJKTE.mjs";
26
+ import "./chunk-R6DETAZ6.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,9 +1,13 @@
1
1
  export type SettlementSummaryProps = {
2
2
  content: string | null | undefined;
3
- onToggle?: (expanded: boolean) => void;
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, onToggle, className, }: SettlementSummaryProps): JSX.Element | null;
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
- onToggle?: (expanded: boolean) => void;
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, onToggle, className, }: SettlementSummaryProps): JSX.Element | null;
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[];
@@ -1,5 +1,5 @@
1
1
  import type { VenueEventWithMarkets } from "../../events/item/event-list-item.types";
2
- import type { PlaceOrderResolvedClaimSummary, SettlementViewModel } from "../../trading";
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, SettlementViewModel } from "../../trading";
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. */
@@ -3,7 +3,6 @@ type ChainRow = {
3
3
  label: string;
4
4
  balance: number;
5
5
  accountCount: number;
6
- venues?: string[];
7
6
  };
8
7
  type AvailableBalanceCardProps = {
9
8
  label?: string;
@@ -3,7 +3,6 @@ type ChainRow = {
3
3
  label: string;
4
4
  balance: number;
5
5
  accountCount: number;
6
- venues?: string[];
7
6
  };
8
7
  type AvailableBalanceCardProps = {
9
8
  label?: string;
@@ -1,7 +1,6 @@
1
- import type { AvailableSizes } from "../../shared/types";
2
1
  import type { IconName } from "./registry";
3
2
  import type { IconSvgProps } from "./types";
4
- export type IconSize = AvailableSizes;
3
+ export type IconSize = "xs" | "small" | "medium" | "large";
5
4
  export type IconProps = IconSvgProps & {
6
5
  /** Registry key of the icon glyph to render. */
7
6
  name: IconName;
@@ -1,7 +1,6 @@
1
- import type { AvailableSizes } from "../../shared/types";
2
1
  import type { IconName } from "./registry";
3
2
  import type { IconSvgProps } from "./types";
4
- export type IconSize = AvailableSizes;
3
+ export type IconSize = "xs" | "small" | "medium" | "large";
5
4
  export type IconProps = IconSvgProps & {
6
5
  /** Registry key of the icon glyph to render. */
7
6
  name: IconName;
@@ -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";
@@ -32,6 +34,7 @@ import { ImageIcon } from "./svg/image";
32
34
  import { InfoIcon } from "./svg/info";
33
35
  import { iconNames } from "./registry";
34
36
  import { LinkAccountsIcon } from "./svg/link-accounts";
37
+ import { LockIcon } from "./svg/lock";
35
38
  import { PencilIcon } from "./svg/pencil";
36
39
  import { PlaySquareIcon } from "./svg/play-square";
37
40
  import { PolygonIcon } from "./svg/polygon";
@@ -65,4 +68,4 @@ export declare const Icon: {
65
68
  ({ name, color, size, className, style, ...props }: IconProps): JSX.Element | null;
66
69
  displayName: string;
67
70
  };
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, };
71
+ 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, LockIcon, 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";
@@ -32,6 +34,7 @@ import { ImageIcon } from "./svg/image";
32
34
  import { InfoIcon } from "./svg/info";
33
35
  import { iconNames } from "./registry";
34
36
  import { LinkAccountsIcon } from "./svg/link-accounts";
37
+ import { LockIcon } from "./svg/lock";
35
38
  import { PencilIcon } from "./svg/pencil";
36
39
  import { PlaySquareIcon } from "./svg/play-square";
37
40
  import { PolygonIcon } from "./svg/polygon";
@@ -65,4 +68,4 @@ export declare const Icon: {
65
68
  ({ name, color, size, className, style, ...props }: IconProps): JSX.Element | null;
66
69
  displayName: string;
67
70
  };
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, };
71
+ 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, LockIcon, 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;
@@ -164,6 +172,10 @@ export declare const iconRegistry: {
164
172
  ({ title, className, ...props }: import("./types").IconSvgProps): JSX.Element;
165
173
  displayName: string;
166
174
  };
175
+ readonly lock: {
176
+ ({ title, className, ...props }: import("./types").IconSvgProps): JSX.Element;
177
+ displayName: string;
178
+ };
167
179
  readonly pencil: {
168
180
  ({ title, className, ...props }: import("./types").IconSvgProps): JSX.Element;
169
181
  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;
@@ -164,6 +172,10 @@ export declare const iconRegistry: {
164
172
  ({ title, className, ...props }: import("./types").IconSvgProps): JSX.Element;
165
173
  displayName: string;
166
174
  };
175
+ readonly lock: {
176
+ ({ title, className, ...props }: import("./types").IconSvgProps): JSX.Element;
177
+ displayName: string;
178
+ };
167
179
  readonly pencil: {
168
180
  ({ title, className, ...props }: import("./types").IconSvgProps): JSX.Element;
169
181
  displayName: string;
@@ -0,0 +1,5 @@
1
+ import type { IconSvgProps } from "../types";
2
+ export declare const AppsIcon: {
3
+ ({ title, className, ...props }: IconSvgProps): JSX.Element;
4
+ displayName: string;
5
+ };
@@ -0,0 +1,5 @@
1
+ import type { IconSvgProps } from "../types";
2
+ export declare const AppsIcon: {
3
+ ({ title, className, ...props }: IconSvgProps): JSX.Element;
4
+ displayName: string;
5
+ };
@@ -0,0 +1,5 @@
1
+ import type { IconSvgProps } from "../types";
2
+ export declare const CircleOverlapIcon: {
3
+ ({ title, className, ...props }: IconSvgProps): JSX.Element;
4
+ displayName: string;
5
+ };
@@ -0,0 +1,5 @@
1
+ import type { IconSvgProps } from "../types";
2
+ export declare const CircleOverlapIcon: {
3
+ ({ title, className, ...props }: IconSvgProps): JSX.Element;
4
+ displayName: string;
5
+ };
@@ -0,0 +1,5 @@
1
+ import type { IconSvgProps } from "../types";
2
+ export declare const LockIcon: {
3
+ ({ title, className, ...props }: IconSvgProps): JSX.Element;
4
+ displayName: string;
5
+ };
@@ -0,0 +1,5 @@
1
+ import type { IconSvgProps } from "../types";
2
+ export declare const LockIcon: {
3
+ ({ title, className, ...props }: IconSvgProps): JSX.Element;
4
+ displayName: string;
5
+ };
@@ -1,6 +1,6 @@
1
1
  import type { SelectProps } from "./select.types";
2
2
  export type { SelectItem, SelectProps } from "./select.types";
3
- /** Renders a native select or custom icon-aware dropdown depending on available item icons. */
3
+ /** Renders a custom select trigger and portaled listbox. */
4
4
  export declare const Select: {
5
5
  <TValue extends string = string>({ items, value, onChange, ariaLabel, className, triggerClassName, disabled, }: SelectProps<TValue>): JSX.Element;
6
6
  displayName: string;
@@ -1,6 +1,6 @@
1
1
  import type { SelectProps } from "./select.types";
2
2
  export type { SelectItem, SelectProps } from "./select.types";
3
- /** Renders a native select or custom icon-aware dropdown depending on available item icons. */
3
+ /** Renders a custom select trigger and portaled listbox. */
4
4
  export declare const Select: {
5
5
  <TValue extends string = string>({ items, value, onChange, ariaLabel, className, triggerClassName, disabled, }: SelectProps<TValue>): JSX.Element;
6
6
  displayName: string;
@@ -18,7 +18,7 @@ export type SelectProps<TValue extends string = string> = {
18
18
  ariaLabel?: string;
19
19
  /** Custom class name applied to the select root. */
20
20
  className?: string;
21
- /** Extra classes for the trigger (`<select>` or `<button>`), e.g. corner radius. */
21
+ /** Extra classes for the trigger button, e.g. corner radius. */
22
22
  triggerClassName?: string;
23
23
  /** Whether the select should block user interaction. */
24
24
  disabled?: boolean;
@@ -18,7 +18,7 @@ export type SelectProps<TValue extends string = string> = {
18
18
  ariaLabel?: string;
19
19
  /** Custom class name applied to the select root. */
20
20
  className?: string;
21
- /** Extra classes for the trigger (`<select>` or `<button>`), e.g. corner radius. */
21
+ /** Extra classes for the trigger button, e.g. corner radius. */
22
22
  triggerClassName?: string;
23
23
  /** Whether the select should block user interaction. */
24
24
  disabled?: boolean;
@@ -1,7 +1,6 @@
1
1
  import type { SelectItem } from "./select.types";
2
2
  /** Utility helpers for resolving select UI state from items and selected value. */
3
3
  export declare const resolveHasEnabledItems: <TValue extends string>(items: SelectItem<TValue>[]) => boolean;
4
- export declare const resolveHasAnyIcon: <TValue extends string>(items: SelectItem<TValue>[]) => boolean;
5
4
  export declare const resolveSelectedItem: <TValue extends string>(items: SelectItem<TValue>[], value: TValue) => SelectItem<TValue> | undefined;
6
5
  export declare const resolveIsSelectDisabled: ({ disabled, items, }: {
7
6
  disabled: boolean;
@@ -1,7 +1,6 @@
1
1
  import type { SelectItem } from "./select.types";
2
2
  /** Utility helpers for resolving select UI state from items and selected value. */
3
3
  export declare const resolveHasEnabledItems: <TValue extends string>(items: SelectItem<TValue>[]) => boolean;
4
- export declare const resolveHasAnyIcon: <TValue extends string>(items: SelectItem<TValue>[]) => boolean;
5
4
  export declare const resolveSelectedItem: <TValue extends string>(items: SelectItem<TValue>[], value: TValue) => SelectItem<TValue> | undefined;
6
5
  export declare const resolveIsSelectDisabled: ({ disabled, items, }: {
7
6
  disabled: boolean;
@@ -1,5 +1,6 @@
1
+ import { PlaceOrderRouteCardSkeleton } from "./views/place-order-skeleton-view";
1
2
  import { skeletonViews, type SkeletonProps } from "./skeleton.types";
2
- export { skeletonViews };
3
+ export { skeletonViews, PlaceOrderRouteCardSkeleton };
3
4
  export type { SkeletonProps, SkeletonView } from "./skeleton.types";
4
5
  /** Renders the requested skeleton placeholder surface for loading UI states. */
5
6
  export declare const Skeleton: {
@@ -1,5 +1,6 @@
1
+ import { PlaceOrderRouteCardSkeleton } from "./views/place-order-skeleton-view";
1
2
  import { skeletonViews, type SkeletonProps } from "./skeleton.types";
2
- export { skeletonViews };
3
+ export { skeletonViews, PlaceOrderRouteCardSkeleton };
3
4
  export type { SkeletonProps, SkeletonView } from "./skeleton.types";
4
5
  /** Renders the requested skeleton placeholder surface for loading UI states. */
5
6
  export declare const Skeleton: {
@@ -1,4 +1,8 @@
1
1
  import type { SkeletonViewProps } from "../skeleton.types";
2
+ export declare const PlaceOrderRouteCardSkeleton: {
3
+ (): JSX.Element;
4
+ displayName: string;
5
+ };
2
6
  export declare const PlaceOrderSkeletonView: {
3
7
  ({ className, ariaLabel, }: SkeletonViewProps): JSX.Element;
4
8
  displayName: string;
@@ -1,4 +1,8 @@
1
1
  import type { SkeletonViewProps } from "../skeleton.types";
2
+ export declare const PlaceOrderRouteCardSkeleton: {
3
+ (): JSX.Element;
4
+ displayName: string;
5
+ };
2
6
  export declare const PlaceOrderSkeletonView: {
3
7
  ({ className, ariaLabel, }: SkeletonViewProps): JSX.Element;
4
8
  displayName: string;
@@ -1,5 +1,5 @@
1
1
  import type { TypographyProps } from "./typography.types";
2
- export type { TypographyProps, TypographyVariant } from "./typography.types";
2
+ export type { LegacyTypographyVariant, TokenTypographyVariant, TypographyProps, TypographyVariant, } from "./typography.types";
3
3
  export { typographyVariants } from "./typography.constants";
4
4
  /** Renders semantic text content using the selected typography variant styles. */
5
5
  export declare const Typography: {
@@ -1,5 +1,5 @@
1
1
  import type { TypographyProps } from "./typography.types";
2
- export type { TypographyProps, TypographyVariant } from "./typography.types";
2
+ export type { LegacyTypographyVariant, TokenTypographyVariant, TypographyProps, TypographyVariant, } from "./typography.types";
3
3
  export { typographyVariants } from "./typography.constants";
4
4
  /** Renders semantic text content using the selected typography variant styles. */
5
5
  export declare const Typography: {
@@ -1,5 +1,7 @@
1
1
  import type { ReactNode } from "react";
2
- export type TypographyVariant = "display" | "heading" | "title" | "title-strong" | "body-large" | "body-large-strong" | "body" | "body-strong" | "label" | "label-strong" | "label-caps" | "caption" | "caption-strong" | "caption-caps" | "overline";
2
+ export type LegacyTypographyVariant = "display" | "heading" | "title" | "title-strong" | "body-large" | "body-large-strong" | "body" | "body-strong" | "label" | "label-strong" | "label-caps" | "caption" | "caption-strong" | "caption-caps" | "overline";
3
+ export type TokenTypographyVariant = "text-3xl" | "text-2xl" | "text-xl" | "text-xl-bold" | "text-lg" | "text-lg-bold" | "text-base" | "text-base-bold" | "text-sm" | "text-sm-bold" | "text-sm-caps" | "text-xs" | "text-xs-bold" | "text-xs-caps" | "text-2xs-caps";
4
+ export type TypographyVariant = LegacyTypographyVariant | TokenTypographyVariant;
3
5
  export type TypographyProps = {
4
6
  /** HTML element or custom intrinsic tag used for rendering. */
5
7
  as?: keyof JSX.IntrinsicElements;
@@ -1,5 +1,7 @@
1
1
  import type { ReactNode } from "react";
2
- export type TypographyVariant = "display" | "heading" | "title" | "title-strong" | "body-large" | "body-large-strong" | "body" | "body-strong" | "label" | "label-strong" | "label-caps" | "caption" | "caption-strong" | "caption-caps" | "overline";
2
+ export type LegacyTypographyVariant = "display" | "heading" | "title" | "title-strong" | "body-large" | "body-large-strong" | "body" | "body-strong" | "label" | "label-strong" | "label-caps" | "caption" | "caption-strong" | "caption-caps" | "overline";
3
+ export type TokenTypographyVariant = "text-3xl" | "text-2xl" | "text-xl" | "text-xl-bold" | "text-lg" | "text-lg-bold" | "text-base" | "text-base-bold" | "text-sm" | "text-sm-bold" | "text-sm-caps" | "text-xs" | "text-xs-bold" | "text-xs-caps" | "text-2xs-caps";
4
+ export type TypographyVariant = LegacyTypographyVariant | TokenTypographyVariant;
3
5
  export type TypographyProps = {
4
6
  /** HTML element or custom intrinsic tag used for rendering. */
5
7
  as?: keyof JSX.IntrinsicElements;
@@ -7,7 +7,9 @@ export declare const getMotionClassName: (enabled: boolean, ...values: ClassValu
7
7
  export declare const getScrollBehavior: (enabled: boolean) => "auto" | "smooth";
8
8
  export declare const isValidDateValue: (value: unknown) => value is Date;
9
9
  export declare const toDate: (value: string | Date | undefined) => Date | null;
10
- export declare const shortenAddress: (value: string) => string;
10
+ export declare const shortenAddress: (value: string | null | undefined, options?: {
11
+ chain?: string;
12
+ }) => string | undefined;
11
13
  export declare const formatUsd: (value: number) => string;
12
14
  /** Compact USD format (e.g. 127.8 → "$127.8", 50 → "$50"). */
13
15
  export declare const formatCompactUsd: (amount: number) => string;
@@ -7,7 +7,9 @@ export declare const getMotionClassName: (enabled: boolean, ...values: ClassValu
7
7
  export declare const getScrollBehavior: (enabled: boolean) => "auto" | "smooth";
8
8
  export declare const isValidDateValue: (value: unknown) => value is Date;
9
9
  export declare const toDate: (value: string | Date | undefined) => Date | null;
10
- export declare const shortenAddress: (value: string) => string;
10
+ export declare const shortenAddress: (value: string | null | undefined, options?: {
11
+ chain?: string;
12
+ }) => string | undefined;
11
13
  export declare const formatUsd: (value: number) => string;
12
14
  /** Compact USD format (e.g. 127.8 → "$127.8", 50 → "$50"). */
13
15
  export declare const formatCompactUsd: (amount: number) => string;
@@ -2,6 +2,5 @@ export * from "./types";
2
2
  export * from "./utils";
3
3
  export * from "./settlement";
4
4
  export * from "./settlement/settlement-details";
5
- export * from "./settlement/settlement-details.utils";
6
5
  export * from "./place-order";
7
6
  export * from "./trading-context";
@@ -2,6 +2,5 @@ export * from "./types";
2
2
  export * from "./utils";
3
3
  export * from "./settlement";
4
4
  export * from "./settlement/settlement-details";
5
- export * from "./settlement/settlement-details.utils";
6
5
  export * from "./place-order";
7
6
  export * from "./trading-context";
@@ -179,7 +179,6 @@ export type PlaceOrderExecutionSummary = {
179
179
  eventDateLabel?: string;
180
180
  eventImage?: string | null;
181
181
  actionLabel?: string;
182
- actionTone?: "positive" | "negative";
183
182
  amountLabel?: string;
184
183
  toWinLabel?: string;
185
184
  potentialReturnLabel?: string;
@@ -179,7 +179,6 @@ export type PlaceOrderExecutionSummary = {
179
179
  eventDateLabel?: string;
180
180
  eventImage?: string | null;
181
181
  actionLabel?: string;
182
- actionTone?: "positive" | "negative";
183
182
  amountLabel?: string;
184
183
  toWinLabel?: string;
185
184
  potentialReturnLabel?: string;
@@ -36,10 +36,6 @@ export declare const getTradingRoutePriceLabel: (value: number) => string;
36
36
  export declare const resolvePlaceOrderQuoteStatus: ({ amount, labels, quoteData, selectedMarket, }: ResolvePlaceOrderQuoteStatusParams) => PlaceOrderQuoteStatus;
37
37
  export declare const buildLiveRouteCards: ({ labels, quoteData, tradeSide, eventVenues, }: BuildLiveRouteCardsParams) => PlaceOrderRouteCard[];
38
38
  export declare const resolveExecutionVenueFromQuote: (quoteData: SmartRouteResponse | null) => TradingVenue | undefined;
39
- export declare const resolvePlaceOrderSuccessTone: ({ outcomeIndex, tab, }: {
40
- outcomeIndex: number;
41
- tab: PlaceOrderTab;
42
- }) => "positive" | "negative";
43
39
  export declare const getPlaceOrderPotentialReturn: (quoteData: SmartRouteResponse | null | undefined) => number;
44
40
  export declare const buildPlaceOrderExecutionStepGroups: ({ labels, orderId, quoteData, submittedOrders, }: {
45
41
  labels: PlaceOrderTradingLabels;
@@ -36,10 +36,6 @@ export declare const getTradingRoutePriceLabel: (value: number) => string;
36
36
  export declare const resolvePlaceOrderQuoteStatus: ({ amount, labels, quoteData, selectedMarket, }: ResolvePlaceOrderQuoteStatusParams) => PlaceOrderQuoteStatus;
37
37
  export declare const buildLiveRouteCards: ({ labels, quoteData, tradeSide, eventVenues, }: BuildLiveRouteCardsParams) => PlaceOrderRouteCard[];
38
38
  export declare const resolveExecutionVenueFromQuote: (quoteData: SmartRouteResponse | null) => TradingVenue | undefined;
39
- export declare const resolvePlaceOrderSuccessTone: ({ outcomeIndex, tab, }: {
40
- outcomeIndex: number;
41
- tab: PlaceOrderTab;
42
- }) => "positive" | "negative";
43
39
  export declare const getPlaceOrderPotentialReturn: (quoteData: SmartRouteResponse | null | undefined) => number;
44
40
  export declare const buildPlaceOrderExecutionStepGroups: ({ labels, orderId, quoteData, submittedOrders, }: {
45
41
  labels: PlaceOrderTradingLabels;
@@ -1,12 +1,15 @@
1
- import type { SettlementViewModel, TradingVenue } from "../types";
2
- export type SettlementProps = SettlementViewModel & {
1
+ export declare const SETTLEMENT_SECTION_ID = "agg-settlement-section";
2
+ export type SettlementProps = {
3
3
  className?: string;
4
- expandedVenue?: TradingVenue | null;
4
+ id?: string;
5
+ sectionLabel?: string;
6
+ question?: string;
7
+ eventDescription?: string | null;
8
+ marketDescription?: string | null;
9
+ primaryRules?: string | null;
5
10
  isLoading?: boolean;
6
- onExpandedVenueChange?: (venue: TradingVenue | null) => void;
7
- onShowMore?: (venue: TradingVenue) => void;
8
11
  };
9
12
  export declare const Settlement: {
10
- ({ sectionLabel, question, differencesTitle, differences, venues, expandedVenue, isLoading, onExpandedVenueChange, onShowMore, className, }: SettlementProps): JSX.Element;
13
+ ({ className, id, sectionLabel, question, eventDescription, marketDescription, primaryRules, isLoading, }: SettlementProps): JSX.Element;
11
14
  displayName: string;
12
15
  };