@agg-market/ui 0.0.4 → 0.0.5

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.
@@ -1,5 +1,5 @@
1
1
  import { Event } from '@agg-market/hooks';
2
- import { A as PlaceOrderViewModel, S as SettlementViewModel } from './types-DkGlbmXq.mjs';
2
+ import { A as PlaceOrderViewModel, S as SettlementViewModel } from './types-CBZ1Wp_a.mjs';
3
3
  import { d as EventListItemDetailsTimeRange } from './event-list-item-details.types-DekJKeMD.mjs';
4
4
  import 'zod';
5
5
  import './event-list-item.types-Y6IeJ4e4.mjs';
@@ -1,5 +1,5 @@
1
1
  import { Event } from '@agg-market/hooks';
2
- import { A as PlaceOrderViewModel, S as SettlementViewModel } from './types-DkGlbmXq.js';
2
+ import { A as PlaceOrderViewModel, S as SettlementViewModel } from './types-CBZ1Wp_a.js';
3
3
  import { d as EventListItemDetailsTimeRange } from './event-list-item-details.types-CMbXOrT-.js';
4
4
  import 'zod';
5
5
  import './event-list-item.types-Y6IeJ4e4.js';
package/dist/index.d.mts CHANGED
@@ -26,8 +26,8 @@ export { ConnectAccountsStep, ConnectAccountsStepProps, ConnectKalshiModal, Conn
26
26
  export { ExchangeAccount, ProfileModal, ProfileModalProps, SocialAccountInfo, SocialAccountState } from './profile-modal.mjs';
27
27
  export { EventMarketPage, EventMarketPageClassNames, EventMarketPageProps } from './event-market-page.mjs';
28
28
  export { UserProfileActivity, UserProfileBalance, UserProfileConnectedExchange, UserProfileInfo, UserProfilePage, UserProfilePageClassNames, UserProfilePageProps, UserProfilePosition, UserProfilePositionFilter, UserProfileSocialLink, UserProfileTimeRange, UserProfileVenueBalance } from './user-profile-page.mjs';
29
- import { T as TradingVenue } from './types-DkGlbmXq.mjs';
30
- 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-DkGlbmXq.mjs';
29
+ import { T as TradingVenue } from './types-CBZ1Wp_a.mjs';
30
+ 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-CBZ1Wp_a.mjs';
31
31
  export { Settlement, SettlementProps } from './settlement.mjs';
32
32
  export { PlaceOrder, PlaceOrderProps } from './place-order.mjs';
33
33
  export { A as AvailableSizes } from './types-Bed6Q0EK.mjs';
package/dist/index.d.ts CHANGED
@@ -26,8 +26,8 @@ export { ConnectAccountsStep, ConnectAccountsStepProps, ConnectKalshiModal, Conn
26
26
  export { ExchangeAccount, ProfileModal, ProfileModalProps, SocialAccountInfo, SocialAccountState } from './profile-modal.js';
27
27
  export { EventMarketPage, EventMarketPageClassNames, EventMarketPageProps } from './event-market-page.js';
28
28
  export { UserProfileActivity, UserProfileBalance, UserProfileConnectedExchange, UserProfileInfo, UserProfilePage, UserProfilePageClassNames, UserProfilePageProps, UserProfilePosition, UserProfilePositionFilter, UserProfileSocialLink, UserProfileTimeRange, UserProfileVenueBalance } from './user-profile-page.js';
29
- import { T as TradingVenue } from './types-DkGlbmXq.js';
30
- 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-DkGlbmXq.js';
29
+ import { T as TradingVenue } from './types-CBZ1Wp_a.js';
30
+ 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-CBZ1Wp_a.js';
31
31
  export { Settlement, SettlementProps } from './settlement.js';
32
32
  export { PlaceOrder, PlaceOrderProps } from './place-order.js';
33
33
  export { A as AvailableSizes } from './types-Bed6Q0EK.js';
@@ -1,4 +1,4 @@
1
- import { A as PlaceOrderViewModel, P as PlaceOrderTab } from './types-DkGlbmXq.mjs';
1
+ import { A as PlaceOrderViewModel, P as PlaceOrderTab } from './types-CBZ1Wp_a.mjs';
2
2
  import 'zod';
3
3
 
4
4
  type PlaceOrderProps = PlaceOrderViewModel & {
@@ -1,4 +1,4 @@
1
- import { A as PlaceOrderViewModel, P as PlaceOrderTab } from './types-DkGlbmXq.js';
1
+ import { A as PlaceOrderViewModel, P as PlaceOrderTab } from './types-CBZ1Wp_a.js';
2
2
  import 'zod';
3
3
 
4
4
  type PlaceOrderProps = PlaceOrderViewModel & {
@@ -1,4 +1,4 @@
1
- import { S as SettlementViewModel, T as TradingVenue } from './types-DkGlbmXq.mjs';
1
+ import { S as SettlementViewModel, T as TradingVenue } from './types-CBZ1Wp_a.mjs';
2
2
  import 'zod';
3
3
 
4
4
  type SettlementProps = SettlementViewModel & {
@@ -1,4 +1,4 @@
1
- import { S as SettlementViewModel, T as TradingVenue } from './types-DkGlbmXq.js';
1
+ import { S as SettlementViewModel, T as TradingVenue } from './types-CBZ1Wp_a.js';
2
2
  import 'zod';
3
3
 
4
4
  type SettlementProps = SettlementViewModel & {
@@ -8,12 +8,12 @@ declare const settlementVenueSchema: z.ZodObject<{
8
8
  description: z.ZodString;
9
9
  showMoreLabel: z.ZodOptional<z.ZodString>;
10
10
  }, "strip", z.ZodTypeAny, {
11
- venue: "opinion" | "probable" | "kalshi" | "polymarket";
11
+ venue: "opinion" | "probable" | "polymarket" | "kalshi";
12
12
  description: string;
13
13
  label?: string | undefined;
14
14
  showMoreLabel?: string | undefined;
15
15
  }, {
16
- venue: "opinion" | "probable" | "kalshi" | "polymarket";
16
+ venue: "opinion" | "probable" | "polymarket" | "kalshi";
17
17
  description: string;
18
18
  label?: string | undefined;
19
19
  showMoreLabel?: string | undefined;
@@ -29,12 +29,12 @@ declare const settlementViewModelSchema: z.ZodObject<{
29
29
  description: z.ZodString;
30
30
  showMoreLabel: z.ZodOptional<z.ZodString>;
31
31
  }, "strip", z.ZodTypeAny, {
32
- venue: "opinion" | "probable" | "kalshi" | "polymarket";
32
+ venue: "opinion" | "probable" | "polymarket" | "kalshi";
33
33
  description: string;
34
34
  label?: string | undefined;
35
35
  showMoreLabel?: string | undefined;
36
36
  }, {
37
- venue: "opinion" | "probable" | "kalshi" | "polymarket";
37
+ venue: "opinion" | "probable" | "polymarket" | "kalshi";
38
38
  description: string;
39
39
  label?: string | undefined;
40
40
  showMoreLabel?: string | undefined;
@@ -42,7 +42,7 @@ declare const settlementViewModelSchema: z.ZodObject<{
42
42
  defaultExpandedVenue: z.ZodOptional<z.ZodNullable<z.ZodEnum<["polymarket", "kalshi", "opinion", "probable"]>>>;
43
43
  }, "strip", z.ZodTypeAny, {
44
44
  venues: {
45
- venue: "opinion" | "probable" | "kalshi" | "polymarket";
45
+ venue: "opinion" | "probable" | "polymarket" | "kalshi";
46
46
  description: string;
47
47
  label?: string | undefined;
48
48
  showMoreLabel?: string | undefined;
@@ -51,10 +51,10 @@ declare const settlementViewModelSchema: z.ZodObject<{
51
51
  question: string;
52
52
  differencesTitle: string;
53
53
  differences: string[];
54
- defaultExpandedVenue?: "opinion" | "probable" | "kalshi" | "polymarket" | null | undefined;
54
+ defaultExpandedVenue?: "opinion" | "probable" | "polymarket" | "kalshi" | null | undefined;
55
55
  }, {
56
56
  venues: {
57
- venue: "opinion" | "probable" | "kalshi" | "polymarket";
57
+ venue: "opinion" | "probable" | "polymarket" | "kalshi";
58
58
  description: string;
59
59
  label?: string | undefined;
60
60
  showMoreLabel?: string | undefined;
@@ -63,7 +63,7 @@ declare const settlementViewModelSchema: z.ZodObject<{
63
63
  question: string;
64
64
  differencesTitle: string;
65
65
  differences: string[];
66
- defaultExpandedVenue?: "opinion" | "probable" | "kalshi" | "polymarket" | null | undefined;
66
+ defaultExpandedVenue?: "opinion" | "probable" | "polymarket" | "kalshi" | null | undefined;
67
67
  }>;
68
68
  type SettlementViewModel = z.infer<typeof settlementViewModelSchema>;
69
69
  type SettlementVenueItem = z.infer<typeof settlementVenueSchema>;
@@ -103,11 +103,11 @@ declare const placeOrderRoutingRowSchema: z.ZodObject<{
103
103
  label: z.ZodString;
104
104
  priceLabel: z.ZodString;
105
105
  }, "strip", z.ZodTypeAny, {
106
- venue: "opinion" | "probable" | "kalshi" | "polymarket";
106
+ venue: "opinion" | "probable" | "polymarket" | "kalshi";
107
107
  label: string;
108
108
  priceLabel: string;
109
109
  }, {
110
- venue: "opinion" | "probable" | "kalshi" | "polymarket";
110
+ venue: "opinion" | "probable" | "polymarket" | "kalshi";
111
111
  label: string;
112
112
  priceLabel: string;
113
113
  }>;
@@ -118,11 +118,11 @@ declare const placeOrderRoutingSchema: z.ZodObject<{
118
118
  label: z.ZodString;
119
119
  priceLabel: z.ZodString;
120
120
  }, "strip", z.ZodTypeAny, {
121
- venue: "opinion" | "probable" | "kalshi" | "polymarket";
121
+ venue: "opinion" | "probable" | "polymarket" | "kalshi";
122
122
  label: string;
123
123
  priceLabel: string;
124
124
  }, {
125
- venue: "opinion" | "probable" | "kalshi" | "polymarket";
125
+ venue: "opinion" | "probable" | "polymarket" | "kalshi";
126
126
  label: string;
127
127
  priceLabel: string;
128
128
  }>, "many">;
@@ -131,7 +131,7 @@ declare const placeOrderRoutingSchema: z.ZodObject<{
131
131
  }, "strip", z.ZodTypeAny, {
132
132
  tone: "default" | "highlighted";
133
133
  rows: {
134
- venue: "opinion" | "probable" | "kalshi" | "polymarket";
134
+ venue: "opinion" | "probable" | "polymarket" | "kalshi";
135
135
  label: string;
136
136
  priceLabel: string;
137
137
  }[];
@@ -140,7 +140,7 @@ declare const placeOrderRoutingSchema: z.ZodObject<{
140
140
  }, {
141
141
  tone: "default" | "highlighted";
142
142
  rows: {
143
- venue: "opinion" | "probable" | "kalshi" | "polymarket";
143
+ venue: "opinion" | "probable" | "polymarket" | "kalshi";
144
144
  label: string;
145
145
  priceLabel: string;
146
146
  }[];
@@ -170,12 +170,12 @@ declare const placeOrderStatusSchema: z.ZodObject<{
170
170
  placement: z.ZodEnum<["above-action", "below-action"]>;
171
171
  }, "strip", z.ZodTypeAny, {
172
172
  message: string;
173
- tone: "warning" | "error";
173
+ tone: "error" | "warning";
174
174
  placement: "above-action" | "below-action";
175
175
  actionLabel?: string | undefined;
176
176
  }, {
177
177
  message: string;
178
- tone: "warning" | "error";
178
+ tone: "error" | "warning";
179
179
  placement: "above-action" | "below-action";
180
180
  actionLabel?: string | undefined;
181
181
  }>;
@@ -220,11 +220,11 @@ declare const placeOrderViewModelSchema: z.ZodObject<{
220
220
  label: z.ZodString;
221
221
  priceLabel: z.ZodString;
222
222
  }, "strip", z.ZodTypeAny, {
223
- venue: "opinion" | "probable" | "kalshi" | "polymarket";
223
+ venue: "opinion" | "probable" | "polymarket" | "kalshi";
224
224
  label: string;
225
225
  priceLabel: string;
226
226
  }, {
227
- venue: "opinion" | "probable" | "kalshi" | "polymarket";
227
+ venue: "opinion" | "probable" | "polymarket" | "kalshi";
228
228
  label: string;
229
229
  priceLabel: string;
230
230
  }>, "many">;
@@ -233,7 +233,7 @@ declare const placeOrderViewModelSchema: z.ZodObject<{
233
233
  }, "strip", z.ZodTypeAny, {
234
234
  tone: "default" | "highlighted";
235
235
  rows: {
236
- venue: "opinion" | "probable" | "kalshi" | "polymarket";
236
+ venue: "opinion" | "probable" | "polymarket" | "kalshi";
237
237
  label: string;
238
238
  priceLabel: string;
239
239
  }[];
@@ -242,7 +242,7 @@ declare const placeOrderViewModelSchema: z.ZodObject<{
242
242
  }, {
243
243
  tone: "default" | "highlighted";
244
244
  rows: {
245
- venue: "opinion" | "probable" | "kalshi" | "polymarket";
245
+ venue: "opinion" | "probable" | "polymarket" | "kalshi";
246
246
  label: string;
247
247
  priceLabel: string;
248
248
  }[];
@@ -275,23 +275,23 @@ declare const placeOrderViewModelSchema: z.ZodObject<{
275
275
  placement: z.ZodEnum<["above-action", "below-action"]>;
276
276
  }, "strip", z.ZodTypeAny, {
277
277
  message: string;
278
- tone: "warning" | "error";
278
+ tone: "error" | "warning";
279
279
  placement: "above-action" | "below-action";
280
280
  actionLabel?: string | undefined;
281
281
  }, {
282
282
  message: string;
283
- tone: "warning" | "error";
283
+ tone: "error" | "warning";
284
284
  placement: "above-action" | "below-action";
285
285
  actionLabel?: string | undefined;
286
286
  }>>;
287
287
  }, "strip", z.ZodTypeAny, {
288
+ title: string;
288
289
  result: {
289
290
  value: string;
290
291
  label: string;
291
292
  tone: "default" | "success";
292
293
  hint: string;
293
294
  };
294
- title: string;
295
295
  outcomes: {
296
296
  id: string;
297
297
  label: string;
@@ -311,7 +311,7 @@ declare const placeOrderViewModelSchema: z.ZodObject<{
311
311
  routing: {
312
312
  tone: "default" | "highlighted";
313
313
  rows: {
314
- venue: "opinion" | "probable" | "kalshi" | "polymarket";
314
+ venue: "opinion" | "probable" | "polymarket" | "kalshi";
315
315
  label: string;
316
316
  priceLabel: string;
317
317
  }[];
@@ -321,20 +321,20 @@ declare const placeOrderViewModelSchema: z.ZodObject<{
321
321
  disclaimer: string;
322
322
  status?: {
323
323
  message: string;
324
- tone: "warning" | "error";
324
+ tone: "error" | "warning";
325
325
  placement: "above-action" | "below-action";
326
326
  actionLabel?: string | undefined;
327
327
  } | undefined;
328
328
  marketImageUrl?: string | undefined;
329
329
  isDismissible?: boolean | undefined;
330
330
  }, {
331
+ title: string;
331
332
  result: {
332
333
  value: string;
333
334
  label: string;
334
335
  tone: "default" | "success";
335
336
  hint: string;
336
337
  };
337
- title: string;
338
338
  outcomes: {
339
339
  id: string;
340
340
  label: string;
@@ -354,7 +354,7 @@ declare const placeOrderViewModelSchema: z.ZodObject<{
354
354
  routing: {
355
355
  tone: "default" | "highlighted";
356
356
  rows: {
357
- venue: "opinion" | "probable" | "kalshi" | "polymarket";
357
+ venue: "opinion" | "probable" | "polymarket" | "kalshi";
358
358
  label: string;
359
359
  priceLabel: string;
360
360
  }[];
@@ -364,7 +364,7 @@ declare const placeOrderViewModelSchema: z.ZodObject<{
364
364
  disclaimer: string;
365
365
  status?: {
366
366
  message: string;
367
- tone: "warning" | "error";
367
+ tone: "error" | "warning";
368
368
  placement: "above-action" | "below-action";
369
369
  actionLabel?: string | undefined;
370
370
  } | undefined;
@@ -8,12 +8,12 @@ declare const settlementVenueSchema: z.ZodObject<{
8
8
  description: z.ZodString;
9
9
  showMoreLabel: z.ZodOptional<z.ZodString>;
10
10
  }, "strip", z.ZodTypeAny, {
11
- venue: "opinion" | "probable" | "kalshi" | "polymarket";
11
+ venue: "opinion" | "probable" | "polymarket" | "kalshi";
12
12
  description: string;
13
13
  label?: string | undefined;
14
14
  showMoreLabel?: string | undefined;
15
15
  }, {
16
- venue: "opinion" | "probable" | "kalshi" | "polymarket";
16
+ venue: "opinion" | "probable" | "polymarket" | "kalshi";
17
17
  description: string;
18
18
  label?: string | undefined;
19
19
  showMoreLabel?: string | undefined;
@@ -29,12 +29,12 @@ declare const settlementViewModelSchema: z.ZodObject<{
29
29
  description: z.ZodString;
30
30
  showMoreLabel: z.ZodOptional<z.ZodString>;
31
31
  }, "strip", z.ZodTypeAny, {
32
- venue: "opinion" | "probable" | "kalshi" | "polymarket";
32
+ venue: "opinion" | "probable" | "polymarket" | "kalshi";
33
33
  description: string;
34
34
  label?: string | undefined;
35
35
  showMoreLabel?: string | undefined;
36
36
  }, {
37
- venue: "opinion" | "probable" | "kalshi" | "polymarket";
37
+ venue: "opinion" | "probable" | "polymarket" | "kalshi";
38
38
  description: string;
39
39
  label?: string | undefined;
40
40
  showMoreLabel?: string | undefined;
@@ -42,7 +42,7 @@ declare const settlementViewModelSchema: z.ZodObject<{
42
42
  defaultExpandedVenue: z.ZodOptional<z.ZodNullable<z.ZodEnum<["polymarket", "kalshi", "opinion", "probable"]>>>;
43
43
  }, "strip", z.ZodTypeAny, {
44
44
  venues: {
45
- venue: "opinion" | "probable" | "kalshi" | "polymarket";
45
+ venue: "opinion" | "probable" | "polymarket" | "kalshi";
46
46
  description: string;
47
47
  label?: string | undefined;
48
48
  showMoreLabel?: string | undefined;
@@ -51,10 +51,10 @@ declare const settlementViewModelSchema: z.ZodObject<{
51
51
  question: string;
52
52
  differencesTitle: string;
53
53
  differences: string[];
54
- defaultExpandedVenue?: "opinion" | "probable" | "kalshi" | "polymarket" | null | undefined;
54
+ defaultExpandedVenue?: "opinion" | "probable" | "polymarket" | "kalshi" | null | undefined;
55
55
  }, {
56
56
  venues: {
57
- venue: "opinion" | "probable" | "kalshi" | "polymarket";
57
+ venue: "opinion" | "probable" | "polymarket" | "kalshi";
58
58
  description: string;
59
59
  label?: string | undefined;
60
60
  showMoreLabel?: string | undefined;
@@ -63,7 +63,7 @@ declare const settlementViewModelSchema: z.ZodObject<{
63
63
  question: string;
64
64
  differencesTitle: string;
65
65
  differences: string[];
66
- defaultExpandedVenue?: "opinion" | "probable" | "kalshi" | "polymarket" | null | undefined;
66
+ defaultExpandedVenue?: "opinion" | "probable" | "polymarket" | "kalshi" | null | undefined;
67
67
  }>;
68
68
  type SettlementViewModel = z.infer<typeof settlementViewModelSchema>;
69
69
  type SettlementVenueItem = z.infer<typeof settlementVenueSchema>;
@@ -103,11 +103,11 @@ declare const placeOrderRoutingRowSchema: z.ZodObject<{
103
103
  label: z.ZodString;
104
104
  priceLabel: z.ZodString;
105
105
  }, "strip", z.ZodTypeAny, {
106
- venue: "opinion" | "probable" | "kalshi" | "polymarket";
106
+ venue: "opinion" | "probable" | "polymarket" | "kalshi";
107
107
  label: string;
108
108
  priceLabel: string;
109
109
  }, {
110
- venue: "opinion" | "probable" | "kalshi" | "polymarket";
110
+ venue: "opinion" | "probable" | "polymarket" | "kalshi";
111
111
  label: string;
112
112
  priceLabel: string;
113
113
  }>;
@@ -118,11 +118,11 @@ declare const placeOrderRoutingSchema: z.ZodObject<{
118
118
  label: z.ZodString;
119
119
  priceLabel: z.ZodString;
120
120
  }, "strip", z.ZodTypeAny, {
121
- venue: "opinion" | "probable" | "kalshi" | "polymarket";
121
+ venue: "opinion" | "probable" | "polymarket" | "kalshi";
122
122
  label: string;
123
123
  priceLabel: string;
124
124
  }, {
125
- venue: "opinion" | "probable" | "kalshi" | "polymarket";
125
+ venue: "opinion" | "probable" | "polymarket" | "kalshi";
126
126
  label: string;
127
127
  priceLabel: string;
128
128
  }>, "many">;
@@ -131,7 +131,7 @@ declare const placeOrderRoutingSchema: z.ZodObject<{
131
131
  }, "strip", z.ZodTypeAny, {
132
132
  tone: "default" | "highlighted";
133
133
  rows: {
134
- venue: "opinion" | "probable" | "kalshi" | "polymarket";
134
+ venue: "opinion" | "probable" | "polymarket" | "kalshi";
135
135
  label: string;
136
136
  priceLabel: string;
137
137
  }[];
@@ -140,7 +140,7 @@ declare const placeOrderRoutingSchema: z.ZodObject<{
140
140
  }, {
141
141
  tone: "default" | "highlighted";
142
142
  rows: {
143
- venue: "opinion" | "probable" | "kalshi" | "polymarket";
143
+ venue: "opinion" | "probable" | "polymarket" | "kalshi";
144
144
  label: string;
145
145
  priceLabel: string;
146
146
  }[];
@@ -170,12 +170,12 @@ declare const placeOrderStatusSchema: z.ZodObject<{
170
170
  placement: z.ZodEnum<["above-action", "below-action"]>;
171
171
  }, "strip", z.ZodTypeAny, {
172
172
  message: string;
173
- tone: "warning" | "error";
173
+ tone: "error" | "warning";
174
174
  placement: "above-action" | "below-action";
175
175
  actionLabel?: string | undefined;
176
176
  }, {
177
177
  message: string;
178
- tone: "warning" | "error";
178
+ tone: "error" | "warning";
179
179
  placement: "above-action" | "below-action";
180
180
  actionLabel?: string | undefined;
181
181
  }>;
@@ -220,11 +220,11 @@ declare const placeOrderViewModelSchema: z.ZodObject<{
220
220
  label: z.ZodString;
221
221
  priceLabel: z.ZodString;
222
222
  }, "strip", z.ZodTypeAny, {
223
- venue: "opinion" | "probable" | "kalshi" | "polymarket";
223
+ venue: "opinion" | "probable" | "polymarket" | "kalshi";
224
224
  label: string;
225
225
  priceLabel: string;
226
226
  }, {
227
- venue: "opinion" | "probable" | "kalshi" | "polymarket";
227
+ venue: "opinion" | "probable" | "polymarket" | "kalshi";
228
228
  label: string;
229
229
  priceLabel: string;
230
230
  }>, "many">;
@@ -233,7 +233,7 @@ declare const placeOrderViewModelSchema: z.ZodObject<{
233
233
  }, "strip", z.ZodTypeAny, {
234
234
  tone: "default" | "highlighted";
235
235
  rows: {
236
- venue: "opinion" | "probable" | "kalshi" | "polymarket";
236
+ venue: "opinion" | "probable" | "polymarket" | "kalshi";
237
237
  label: string;
238
238
  priceLabel: string;
239
239
  }[];
@@ -242,7 +242,7 @@ declare const placeOrderViewModelSchema: z.ZodObject<{
242
242
  }, {
243
243
  tone: "default" | "highlighted";
244
244
  rows: {
245
- venue: "opinion" | "probable" | "kalshi" | "polymarket";
245
+ venue: "opinion" | "probable" | "polymarket" | "kalshi";
246
246
  label: string;
247
247
  priceLabel: string;
248
248
  }[];
@@ -275,23 +275,23 @@ declare const placeOrderViewModelSchema: z.ZodObject<{
275
275
  placement: z.ZodEnum<["above-action", "below-action"]>;
276
276
  }, "strip", z.ZodTypeAny, {
277
277
  message: string;
278
- tone: "warning" | "error";
278
+ tone: "error" | "warning";
279
279
  placement: "above-action" | "below-action";
280
280
  actionLabel?: string | undefined;
281
281
  }, {
282
282
  message: string;
283
- tone: "warning" | "error";
283
+ tone: "error" | "warning";
284
284
  placement: "above-action" | "below-action";
285
285
  actionLabel?: string | undefined;
286
286
  }>>;
287
287
  }, "strip", z.ZodTypeAny, {
288
+ title: string;
288
289
  result: {
289
290
  value: string;
290
291
  label: string;
291
292
  tone: "default" | "success";
292
293
  hint: string;
293
294
  };
294
- title: string;
295
295
  outcomes: {
296
296
  id: string;
297
297
  label: string;
@@ -311,7 +311,7 @@ declare const placeOrderViewModelSchema: z.ZodObject<{
311
311
  routing: {
312
312
  tone: "default" | "highlighted";
313
313
  rows: {
314
- venue: "opinion" | "probable" | "kalshi" | "polymarket";
314
+ venue: "opinion" | "probable" | "polymarket" | "kalshi";
315
315
  label: string;
316
316
  priceLabel: string;
317
317
  }[];
@@ -321,20 +321,20 @@ declare const placeOrderViewModelSchema: z.ZodObject<{
321
321
  disclaimer: string;
322
322
  status?: {
323
323
  message: string;
324
- tone: "warning" | "error";
324
+ tone: "error" | "warning";
325
325
  placement: "above-action" | "below-action";
326
326
  actionLabel?: string | undefined;
327
327
  } | undefined;
328
328
  marketImageUrl?: string | undefined;
329
329
  isDismissible?: boolean | undefined;
330
330
  }, {
331
+ title: string;
331
332
  result: {
332
333
  value: string;
333
334
  label: string;
334
335
  tone: "default" | "success";
335
336
  hint: string;
336
337
  };
337
- title: string;
338
338
  outcomes: {
339
339
  id: string;
340
340
  label: string;
@@ -354,7 +354,7 @@ declare const placeOrderViewModelSchema: z.ZodObject<{
354
354
  routing: {
355
355
  tone: "default" | "highlighted";
356
356
  rows: {
357
- venue: "opinion" | "probable" | "kalshi" | "polymarket";
357
+ venue: "opinion" | "probable" | "polymarket" | "kalshi";
358
358
  label: string;
359
359
  priceLabel: string;
360
360
  }[];
@@ -364,7 +364,7 @@ declare const placeOrderViewModelSchema: z.ZodObject<{
364
364
  disclaimer: string;
365
365
  status?: {
366
366
  message: string;
367
- tone: "warning" | "error";
367
+ tone: "error" | "warning";
368
368
  placement: "above-action" | "below-action";
369
369
  actionLabel?: string | undefined;
370
370
  } | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agg-market/ui",
3
- "version": "0.0.4",
3
+ "version": "0.0.5",
4
4
  "sideEffects": false,
5
5
  "license": "MIT",
6
6
  "main": "./dist/index.js",
@@ -331,7 +331,7 @@
331
331
  "peerDependencies": {
332
332
  "react": "^18.0.0 || ^19.0.0",
333
333
  "react-dom": "^18.0.0 || ^19.0.0",
334
- "@agg-market/hooks": "0.0.4"
334
+ "@agg-market/hooks": "0.0.5"
335
335
  },
336
336
  "dependencies": {
337
337
  "@radix-ui/react-dialog": "^1.1.15",
@@ -342,20 +342,6 @@
342
342
  "wagmi": "^3.5.0",
343
343
  "zod": "^3.24.1"
344
344
  },
345
- "devDependencies": {
346
- "@tailwindcss/cli": "^4.2.0",
347
- "@types/react": "^18.2.61",
348
- "@types/react-dom": "^18.2.19",
349
- "eslint": "^9.39.1",
350
- "react": "^18.2.0",
351
- "react-dom": "^18.2.0",
352
- "tailwindcss": "^4.2.0",
353
- "tsup": "^8.0.2",
354
- "typescript": "5.8.3",
355
- "@agg/eslint-config": "0.0.0",
356
- "@agg-market/hooks": "0.0.4",
357
- "@agg/typescript-config": "0.0.0"
358
- },
359
345
  "publishConfig": {
360
346
  "access": "public"
361
347
  },