@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.
- package/dist/{chunk-ONVP7YWS.mjs → chunk-2UKDQ7WP.mjs} +1 -1
- package/dist/{chunk-QUZWA34R.mjs → chunk-2ZS3BPSF.mjs} +413 -455
- package/dist/{chunk-UFC7L74C.mjs → chunk-4CM4F4S6.mjs} +1 -1
- package/dist/{chunk-55ODXLOS.mjs → chunk-HH7L3KLS.mjs} +1 -1
- package/dist/{chunk-YWJIYEJV.mjs → chunk-R3U6YXSQ.mjs} +3 -3
- package/dist/{chunk-6PQ6O6M5.mjs → chunk-RF2EPYLN.mjs} +10 -16
- package/dist/{chunk-5ALBEKAT.mjs → chunk-RWOF44TC.mjs} +9 -13
- package/dist/events.js +300 -344
- package/dist/events.mjs +3 -3
- package/dist/index.js +574 -621
- package/dist/index.mjs +7 -7
- package/dist/modals.mjs +3 -3
- package/dist/pages.js +574 -621
- package/dist/pages.mjs +6 -6
- package/dist/primitives.js +424 -424
- package/dist/primitives.mjs +1 -1
- package/dist/trading.mjs +4 -4
- package/dist/types/events/list/event-list.utils.d.mts +0 -4
- package/dist/types/events/list/event-list.utils.d.ts +0 -4
- package/package.json +3 -3
package/dist/primitives.mjs
CHANGED
package/dist/trading.mjs
CHANGED
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
SettlementDetails,
|
|
7
7
|
parseAmount,
|
|
8
8
|
parseVenue
|
|
9
|
-
} from "./chunk-
|
|
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-
|
|
25
|
-
import "./chunk-
|
|
26
|
-
import "./chunk-
|
|
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": "
|
|
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": "^
|
|
104
|
-
"@agg-build/sdk": "^
|
|
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",
|