@agg-build/ui 1.3.0 → 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -98,7 +98,7 @@ import {
98
98
  useOptionalToast,
99
99
  useToast,
100
100
  venueLogoNames
101
- } from "./chunk-QUZWA34R.mjs";
101
+ } from "./chunk-2ZS3BPSF.mjs";
102
102
  export {
103
103
  ActivityChartIcon,
104
104
  AggErrorBoundary,
package/dist/trading.mjs CHANGED
@@ -6,7 +6,7 @@ import {
6
6
  SettlementDetails,
7
7
  parseAmount,
8
8
  parseVenue
9
- } from "./chunk-YWJIYEJV.mjs";
9
+ } from "./chunk-R3U6YXSQ.mjs";
10
10
  import {
11
11
  SETTLEMENT_SECTION_ID,
12
12
  Settlement,
@@ -21,9 +21,9 @@ import {
21
21
  getTradingValueLabel,
22
22
  getTradingVenueLabel,
23
23
  useEventTradingContext
24
- } from "./chunk-UFC7L74C.mjs";
25
- import "./chunk-55ODXLOS.mjs";
26
- import "./chunk-QUZWA34R.mjs";
24
+ } from "./chunk-4CM4F4S6.mjs";
25
+ import "./chunk-HH7L3KLS.mjs";
26
+ import "./chunk-2ZS3BPSF.mjs";
27
27
  export {
28
28
  PlaceOrder,
29
29
  PlaceOrderFailureView,
@@ -14,10 +14,6 @@ export declare const mapEventToEventListItemEvent: (event: VenueEventWithMarkets
14
14
  export declare const filterEventsByTabValue: (events: VenueEventWithMarkets[], _tabValue: EventListTabValue) => VenueEventWithMarkets[];
15
15
  /** Filter markets to only those with status "open" or undefined (treated as open). */
16
16
  export declare const filterOpenMarkets: (markets: VenueMarket[]) => VenueMarket[];
17
- /** Sort markets by YES odds descending, preserving input order for ties and missing values. */
18
- export declare const sortMarketsByYesOddsDesc: (markets: VenueMarket[]) => VenueMarket[];
19
- /** Sort markets by displayed volume descending, preserving input order for ties. */
20
- export declare const sortMarketsByVolumeDesc: (markets: VenueMarket[]) => VenueMarket[];
21
17
  /** A single drilled-into level beneath the active top-level tab. */
22
18
  export type SubcategoryPathEntry = {
23
19
  id: string;
@@ -14,10 +14,6 @@ export declare const mapEventToEventListItemEvent: (event: VenueEventWithMarkets
14
14
  export declare const filterEventsByTabValue: (events: VenueEventWithMarkets[], _tabValue: EventListTabValue) => VenueEventWithMarkets[];
15
15
  /** Filter markets to only those with status "open" or undefined (treated as open). */
16
16
  export declare const filterOpenMarkets: (markets: VenueMarket[]) => VenueMarket[];
17
- /** Sort markets by YES odds descending, preserving input order for ties and missing values. */
18
- export declare const sortMarketsByYesOddsDesc: (markets: VenueMarket[]) => VenueMarket[];
19
- /** Sort markets by displayed volume descending, preserving input order for ties. */
20
- export declare const sortMarketsByVolumeDesc: (markets: VenueMarket[]) => VenueMarket[];
21
17
  /** A single drilled-into level beneath the active top-level tab. */
22
18
  export type SubcategoryPathEntry = {
23
19
  id: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agg-build/ui",
3
- "version": "1.3.0",
3
+ "version": "2.0.0",
4
4
  "description": "Pre-built React component library for the AGG prediction market aggregator. Tailwind-based, themeable, with primitives, event surfaces, trading flows, full pages, and modals.",
5
5
  "sideEffects": false,
6
6
  "license": "MIT",
@@ -100,8 +100,8 @@
100
100
  "liveline": "^0.0.7",
101
101
  "react": "^18.0.0 || ^19.0.0",
102
102
  "react-dom": "^18.0.0 || ^19.0.0",
103
- "@agg-build/hooks": "^1.3.0",
104
- "@agg-build/sdk": "^1.3.0"
103
+ "@agg-build/hooks": "^2.0.0",
104
+ "@agg-build/sdk": "^2.0.0"
105
105
  },
106
106
  "dependencies": {
107
107
  "@number-flow/react": "^0.6.0",