@agg-market/ui 6.0.0 → 7.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.
Files changed (81) hide show
  1. package/README.md +17 -2
  2. package/dist/{chunk-LMOJKJOY.mjs → chunk-6I474QXG.mjs} +319 -199
  3. package/dist/{chunk-5ZKPBMRK.mjs → chunk-AVHMI47G.mjs} +18 -20
  4. package/dist/{chunk-ADGL6RFX.mjs → chunk-EEQPPN7N.mjs} +1 -1
  5. package/dist/{chunk-UBBOLLOS.mjs → chunk-EERL6BZF.mjs} +2 -4
  6. package/dist/{chunk-G6YKGVQR.mjs → chunk-KQKLLL4D.mjs} +15 -54
  7. package/dist/{chunk-2ICOSP7N.mjs → chunk-L5U7RGJV.mjs} +5 -5
  8. package/dist/{chunk-HI4EEDN5.mjs → chunk-MUB7NYWZ.mjs} +799 -228
  9. package/dist/chunk-OAJBTVZT.mjs +119 -0
  10. package/dist/{chunk-JE3Z52FD.mjs → chunk-OVQVAUAI.mjs} +110 -35
  11. package/dist/{chunk-CN7GI2RJ.mjs → chunk-ZYUJ7YEJ.mjs} +68 -8
  12. package/dist/events.js +1364 -771
  13. package/dist/events.mjs +4 -5
  14. package/dist/index.js +2353 -1541
  15. package/dist/index.mjs +597 -19
  16. package/dist/modals.js +1058 -651
  17. package/dist/modals.mjs +3 -4
  18. package/dist/pages.js +1717 -1055
  19. package/dist/pages.mjs +7 -7
  20. package/dist/primitives.js +936 -336
  21. package/dist/primitives.mjs +25 -11
  22. package/dist/styles.css +1 -1
  23. package/dist/tailwind.css +1 -1
  24. package/dist/trading.js +994 -512
  25. package/dist/trading.mjs +4 -4
  26. package/dist/types/auth/connect-button-view/connect-button-view.constants.d.mts +31 -0
  27. package/dist/types/auth/connect-button-view/connect-button-view.constants.d.ts +31 -0
  28. package/dist/types/auth/connect-button-view/connect-button-view.types.d.mts +83 -0
  29. package/dist/types/auth/connect-button-view/connect-button-view.types.d.ts +83 -0
  30. package/dist/types/auth/connect-button-view/index.d.mts +7 -0
  31. package/dist/types/auth/connect-button-view/index.d.ts +7 -0
  32. package/dist/types/auth/index.d.mts +1 -1
  33. package/dist/types/auth/index.d.ts +1 -1
  34. package/dist/types/index.d.mts +1 -1
  35. package/dist/types/index.d.ts +1 -1
  36. package/dist/types/primitives/chart/chart-type-switch.d.mts +10 -0
  37. package/dist/types/primitives/chart/chart-type-switch.d.ts +10 -0
  38. package/dist/types/primitives/chart/index.d.mts +7 -1
  39. package/dist/types/primitives/chart/index.d.ts +7 -1
  40. package/dist/types/primitives/icon/index.d.mts +8 -1
  41. package/dist/types/primitives/icon/index.d.ts +8 -1
  42. package/dist/types/primitives/icon/registry.d.mts +28 -0
  43. package/dist/types/primitives/icon/registry.d.ts +28 -0
  44. package/dist/types/primitives/icon/svg/apple.d.mts +5 -0
  45. package/dist/types/primitives/icon/svg/apple.d.ts +5 -0
  46. package/dist/types/primitives/icon/svg/chart-candlestick.d.mts +5 -0
  47. package/dist/types/primitives/icon/svg/chart-candlestick.d.ts +5 -0
  48. package/dist/types/primitives/icon/svg/chart-line.d.mts +5 -0
  49. package/dist/types/primitives/icon/svg/chart-line.d.ts +5 -0
  50. package/dist/types/primitives/icon/svg/error-filled.d.mts +5 -0
  51. package/dist/types/primitives/icon/svg/error-filled.d.ts +5 -0
  52. package/dist/types/primitives/icon/svg/ethereum.d.mts +5 -0
  53. package/dist/types/primitives/icon/svg/ethereum.d.ts +5 -0
  54. package/dist/types/primitives/icon/svg/google.d.mts +5 -0
  55. package/dist/types/primitives/icon/svg/google.d.ts +5 -0
  56. package/dist/types/primitives/icon/svg/solana.d.mts +5 -0
  57. package/dist/types/primitives/icon/svg/solana.d.ts +5 -0
  58. package/dist/types/primitives/index.d.mts +1 -0
  59. package/dist/types/primitives/index.d.ts +1 -0
  60. package/dist/types/primitives/inline-alert/index.d.mts +16 -0
  61. package/dist/types/primitives/inline-alert/index.d.ts +16 -0
  62. package/dist/types/primitives/venue-logo/svg/logo-limitless.d.mts +5 -0
  63. package/dist/types/primitives/venue-logo/svg/logo-limitless.d.ts +5 -0
  64. package/dist/types/primitives/venue-logo/venue-logo.types.d.mts +1 -1
  65. package/dist/types/primitives/venue-logo/venue-logo.types.d.ts +1 -1
  66. package/dist/types/trading/types.d.mts +26 -26
  67. package/dist/types/trading/types.d.ts +26 -26
  68. package/package.json +3 -15
  69. package/dist/auth.d.mts +0 -1
  70. package/dist/auth.d.ts +0 -1
  71. package/dist/auth.js +0 -2290
  72. package/dist/auth.mjs +0 -8
  73. package/dist/chunk-INRG3D4M.mjs +0 -450
  74. package/dist/chunk-MHCHR65A.mjs +0 -165
  75. package/dist/chunk-PASXFYKQ.mjs +0 -81
  76. package/dist/types/auth/connect-button/connect-button.constants.d.mts +0 -10
  77. package/dist/types/auth/connect-button/connect-button.constants.d.ts +0 -10
  78. package/dist/types/auth/connect-button/connect-button.types.d.mts +0 -33
  79. package/dist/types/auth/connect-button/connect-button.types.d.ts +0 -33
  80. package/dist/types/auth/connect-button/index.d.mts +0 -7
  81. package/dist/types/auth/connect-button/index.d.ts +0 -7
@@ -0,0 +1,5 @@
1
+ import type { IconSvgProps } from "../types";
2
+ export declare const SolanaIcon: {
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 SolanaIcon: {
3
+ ({ title, className, ...props }: IconSvgProps): JSX.Element;
4
+ displayName: string;
5
+ };
@@ -5,6 +5,7 @@ export * from "./hello-world";
5
5
  export * from "./card";
6
6
  export * from "./chart";
7
7
  export * from "./loading-icon";
8
+ export * from "./inline-alert";
8
9
  export * from "./typography";
9
10
  export * from "./icon";
10
11
  export * from "./number-value";
@@ -5,6 +5,7 @@ export * from "./hello-world";
5
5
  export * from "./card";
6
6
  export * from "./chart";
7
7
  export * from "./loading-icon";
8
+ export * from "./inline-alert";
8
9
  export * from "./typography";
9
10
  export * from "./icon";
10
11
  export * from "./number-value";
@@ -0,0 +1,16 @@
1
+ export type InlineAlertTone = "warning" | "error";
2
+ export type InlineAlertVariant = "plain" | "surface";
3
+ export type InlineAlertProps = {
4
+ tone?: InlineAlertTone;
5
+ variant?: InlineAlertVariant;
6
+ title?: string;
7
+ message: string;
8
+ actionLabel?: string;
9
+ onAction?: () => void;
10
+ className?: string;
11
+ "aria-label"?: string;
12
+ };
13
+ export declare const InlineAlert: {
14
+ ({ tone, variant, title, message, actionLabel, onAction, className, "aria-label": ariaLabel, }: InlineAlertProps): JSX.Element;
15
+ displayName: string;
16
+ };
@@ -0,0 +1,16 @@
1
+ export type InlineAlertTone = "warning" | "error";
2
+ export type InlineAlertVariant = "plain" | "surface";
3
+ export type InlineAlertProps = {
4
+ tone?: InlineAlertTone;
5
+ variant?: InlineAlertVariant;
6
+ title?: string;
7
+ message: string;
8
+ actionLabel?: string;
9
+ onAction?: () => void;
10
+ className?: string;
11
+ "aria-label"?: string;
12
+ };
13
+ export declare const InlineAlert: {
14
+ ({ tone, variant, title, message, actionLabel, onAction, className, "aria-label": ariaLabel, }: InlineAlertProps): JSX.Element;
15
+ displayName: string;
16
+ };
@@ -0,0 +1,5 @@
1
+ import type { LogoIconProps } from "../logo-props";
2
+ export declare const LogoLimitlessIcon: {
3
+ ({ title, className, isColor, color, ...props }: LogoIconProps): JSX.Element;
4
+ displayName: string;
5
+ };
@@ -0,0 +1,5 @@
1
+ import type { LogoIconProps } from "../logo-props";
2
+ export declare const LogoLimitlessIcon: {
3
+ ({ title, className, isColor, color, ...props }: LogoIconProps): JSX.Element;
4
+ displayName: string;
5
+ };
@@ -1,6 +1,6 @@
1
1
  import type { VenueMarket } from "@agg-market/hooks";
2
2
  import type { AvailableSizes } from "../../shared/types";
3
- type AdditionalVenue = "opinion" | "probable";
3
+ type AdditionalVenue = "probable";
4
4
  export type VenueLogoName = VenueMarket["venue"] | AdditionalVenue;
5
5
  export type VenueLogoVariant = "icon" | "logo";
6
6
  export type VenueLogoProps = {
@@ -1,6 +1,6 @@
1
1
  import type { VenueMarket } from "@agg-market/hooks";
2
2
  import type { AvailableSizes } from "../../shared/types";
3
- type AdditionalVenue = "opinion" | "probable";
3
+ type AdditionalVenue = "probable";
4
4
  export type VenueLogoName = VenueMarket["venue"] | AdditionalVenue;
5
5
  export type VenueLogoVariant = "icon" | "logo";
6
6
  export type VenueLogoProps = {
@@ -7,12 +7,12 @@ export declare const settlementVenueSchema: z.ZodObject<{
7
7
  description: z.ZodString;
8
8
  showMoreLabel: z.ZodOptional<z.ZodString>;
9
9
  }, "strip", z.ZodTypeAny, {
10
- venue: "opinion" | "probable" | "kalshi" | "polymarket";
10
+ venue: "probable" | "kalshi" | "polymarket" | "opinion";
11
11
  description: string;
12
12
  label?: string | undefined;
13
13
  showMoreLabel?: string | undefined;
14
14
  }, {
15
- venue: "opinion" | "probable" | "kalshi" | "polymarket";
15
+ venue: "probable" | "kalshi" | "polymarket" | "opinion";
16
16
  description: string;
17
17
  label?: string | undefined;
18
18
  showMoreLabel?: string | undefined;
@@ -28,12 +28,12 @@ export declare const settlementViewModelSchema: z.ZodObject<{
28
28
  description: z.ZodString;
29
29
  showMoreLabel: z.ZodOptional<z.ZodString>;
30
30
  }, "strip", z.ZodTypeAny, {
31
- venue: "opinion" | "probable" | "kalshi" | "polymarket";
31
+ venue: "probable" | "kalshi" | "polymarket" | "opinion";
32
32
  description: string;
33
33
  label?: string | undefined;
34
34
  showMoreLabel?: string | undefined;
35
35
  }, {
36
- venue: "opinion" | "probable" | "kalshi" | "polymarket";
36
+ venue: "probable" | "kalshi" | "polymarket" | "opinion";
37
37
  description: string;
38
38
  label?: string | undefined;
39
39
  showMoreLabel?: string | undefined;
@@ -41,7 +41,7 @@ export declare const settlementViewModelSchema: z.ZodObject<{
41
41
  defaultExpandedVenue: z.ZodOptional<z.ZodNullable<z.ZodEnum<["polymarket", "kalshi", "opinion", "probable"]>>>;
42
42
  }, "strip", z.ZodTypeAny, {
43
43
  venues: {
44
- venue: "opinion" | "probable" | "kalshi" | "polymarket";
44
+ venue: "probable" | "kalshi" | "polymarket" | "opinion";
45
45
  description: string;
46
46
  label?: string | undefined;
47
47
  showMoreLabel?: string | undefined;
@@ -50,10 +50,10 @@ export declare const settlementViewModelSchema: z.ZodObject<{
50
50
  question: string;
51
51
  differencesTitle: string;
52
52
  differences: string[];
53
- defaultExpandedVenue?: "opinion" | "probable" | "kalshi" | "polymarket" | null | undefined;
53
+ defaultExpandedVenue?: "probable" | "kalshi" | "polymarket" | "opinion" | null | undefined;
54
54
  }, {
55
55
  venues: {
56
- venue: "opinion" | "probable" | "kalshi" | "polymarket";
56
+ venue: "probable" | "kalshi" | "polymarket" | "opinion";
57
57
  description: string;
58
58
  label?: string | undefined;
59
59
  showMoreLabel?: string | undefined;
@@ -62,7 +62,7 @@ export declare const settlementViewModelSchema: z.ZodObject<{
62
62
  question: string;
63
63
  differencesTitle: string;
64
64
  differences: string[];
65
- defaultExpandedVenue?: "opinion" | "probable" | "kalshi" | "polymarket" | null | undefined;
65
+ defaultExpandedVenue?: "probable" | "kalshi" | "polymarket" | "opinion" | null | undefined;
66
66
  }>;
67
67
  export type SettlementViewModel = z.infer<typeof settlementViewModelSchema>;
68
68
  export type SettlementVenueItem = z.infer<typeof settlementVenueSchema>;
@@ -102,11 +102,11 @@ export declare const placeOrderRoutingRowSchema: z.ZodObject<{
102
102
  label: z.ZodString;
103
103
  priceLabel: z.ZodString;
104
104
  }, "strip", z.ZodTypeAny, {
105
- venue: "opinion" | "probable" | "kalshi" | "polymarket";
105
+ venue: "probable" | "kalshi" | "polymarket" | "opinion";
106
106
  label: string;
107
107
  priceLabel: string;
108
108
  }, {
109
- venue: "opinion" | "probable" | "kalshi" | "polymarket";
109
+ venue: "probable" | "kalshi" | "polymarket" | "opinion";
110
110
  label: string;
111
111
  priceLabel: string;
112
112
  }>;
@@ -117,11 +117,11 @@ export declare const placeOrderRoutingSchema: z.ZodObject<{
117
117
  label: z.ZodString;
118
118
  priceLabel: z.ZodString;
119
119
  }, "strip", z.ZodTypeAny, {
120
- venue: "opinion" | "probable" | "kalshi" | "polymarket";
120
+ venue: "probable" | "kalshi" | "polymarket" | "opinion";
121
121
  label: string;
122
122
  priceLabel: string;
123
123
  }, {
124
- venue: "opinion" | "probable" | "kalshi" | "polymarket";
124
+ venue: "probable" | "kalshi" | "polymarket" | "opinion";
125
125
  label: string;
126
126
  priceLabel: string;
127
127
  }>, "many">;
@@ -130,7 +130,7 @@ export declare const placeOrderRoutingSchema: z.ZodObject<{
130
130
  }, "strip", z.ZodTypeAny, {
131
131
  tone: "default" | "highlighted";
132
132
  rows: {
133
- venue: "opinion" | "probable" | "kalshi" | "polymarket";
133
+ venue: "probable" | "kalshi" | "polymarket" | "opinion";
134
134
  label: string;
135
135
  priceLabel: string;
136
136
  }[];
@@ -139,7 +139,7 @@ export declare const placeOrderRoutingSchema: z.ZodObject<{
139
139
  }, {
140
140
  tone: "default" | "highlighted";
141
141
  rows: {
142
- venue: "opinion" | "probable" | "kalshi" | "polymarket";
142
+ venue: "probable" | "kalshi" | "polymarket" | "opinion";
143
143
  label: string;
144
144
  priceLabel: string;
145
145
  }[];
@@ -168,13 +168,13 @@ export declare const placeOrderStatusSchema: z.ZodObject<{
168
168
  actionLabel: z.ZodOptional<z.ZodString>;
169
169
  placement: z.ZodEnum<["above-action", "below-action"]>;
170
170
  }, "strip", z.ZodTypeAny, {
171
- message: string;
172
171
  tone: "warning" | "error";
172
+ message: string;
173
173
  placement: "above-action" | "below-action";
174
174
  actionLabel?: string | undefined;
175
175
  }, {
176
- message: string;
177
176
  tone: "warning" | "error";
177
+ message: string;
178
178
  placement: "above-action" | "below-action";
179
179
  actionLabel?: string | undefined;
180
180
  }>;
@@ -219,11 +219,11 @@ export declare const placeOrderViewModelSchema: z.ZodObject<{
219
219
  label: z.ZodString;
220
220
  priceLabel: z.ZodString;
221
221
  }, "strip", z.ZodTypeAny, {
222
- venue: "opinion" | "probable" | "kalshi" | "polymarket";
222
+ venue: "probable" | "kalshi" | "polymarket" | "opinion";
223
223
  label: string;
224
224
  priceLabel: string;
225
225
  }, {
226
- venue: "opinion" | "probable" | "kalshi" | "polymarket";
226
+ venue: "probable" | "kalshi" | "polymarket" | "opinion";
227
227
  label: string;
228
228
  priceLabel: string;
229
229
  }>, "many">;
@@ -232,7 +232,7 @@ export declare const placeOrderViewModelSchema: z.ZodObject<{
232
232
  }, "strip", z.ZodTypeAny, {
233
233
  tone: "default" | "highlighted";
234
234
  rows: {
235
- venue: "opinion" | "probable" | "kalshi" | "polymarket";
235
+ venue: "probable" | "kalshi" | "polymarket" | "opinion";
236
236
  label: string;
237
237
  priceLabel: string;
238
238
  }[];
@@ -241,7 +241,7 @@ export declare const placeOrderViewModelSchema: z.ZodObject<{
241
241
  }, {
242
242
  tone: "default" | "highlighted";
243
243
  rows: {
244
- venue: "opinion" | "probable" | "kalshi" | "polymarket";
244
+ venue: "probable" | "kalshi" | "polymarket" | "opinion";
245
245
  label: string;
246
246
  priceLabel: string;
247
247
  }[];
@@ -273,13 +273,13 @@ export declare const placeOrderViewModelSchema: z.ZodObject<{
273
273
  actionLabel: z.ZodOptional<z.ZodString>;
274
274
  placement: z.ZodEnum<["above-action", "below-action"]>;
275
275
  }, "strip", z.ZodTypeAny, {
276
- message: string;
277
276
  tone: "warning" | "error";
277
+ message: string;
278
278
  placement: "above-action" | "below-action";
279
279
  actionLabel?: string | undefined;
280
280
  }, {
281
- message: string;
282
281
  tone: "warning" | "error";
282
+ message: string;
283
283
  placement: "above-action" | "below-action";
284
284
  actionLabel?: string | undefined;
285
285
  }>>;
@@ -310,7 +310,7 @@ export declare const placeOrderViewModelSchema: z.ZodObject<{
310
310
  routing: {
311
311
  tone: "default" | "highlighted";
312
312
  rows: {
313
- venue: "opinion" | "probable" | "kalshi" | "polymarket";
313
+ venue: "probable" | "kalshi" | "polymarket" | "opinion";
314
314
  label: string;
315
315
  priceLabel: string;
316
316
  }[];
@@ -319,8 +319,8 @@ export declare const placeOrderViewModelSchema: z.ZodObject<{
319
319
  };
320
320
  disclaimer: string;
321
321
  status?: {
322
- message: string;
323
322
  tone: "warning" | "error";
323
+ message: string;
324
324
  placement: "above-action" | "below-action";
325
325
  actionLabel?: string | undefined;
326
326
  } | undefined;
@@ -353,7 +353,7 @@ export declare const placeOrderViewModelSchema: z.ZodObject<{
353
353
  routing: {
354
354
  tone: "default" | "highlighted";
355
355
  rows: {
356
- venue: "opinion" | "probable" | "kalshi" | "polymarket";
356
+ venue: "probable" | "kalshi" | "polymarket" | "opinion";
357
357
  label: string;
358
358
  priceLabel: string;
359
359
  }[];
@@ -362,8 +362,8 @@ export declare const placeOrderViewModelSchema: z.ZodObject<{
362
362
  };
363
363
  disclaimer: string;
364
364
  status?: {
365
- message: string;
366
365
  tone: "warning" | "error";
366
+ message: string;
367
367
  placement: "above-action" | "below-action";
368
368
  actionLabel?: string | undefined;
369
369
  } | undefined;
@@ -7,12 +7,12 @@ export declare const settlementVenueSchema: z.ZodObject<{
7
7
  description: z.ZodString;
8
8
  showMoreLabel: z.ZodOptional<z.ZodString>;
9
9
  }, "strip", z.ZodTypeAny, {
10
- venue: "opinion" | "probable" | "kalshi" | "polymarket";
10
+ venue: "probable" | "kalshi" | "polymarket" | "opinion";
11
11
  description: string;
12
12
  label?: string | undefined;
13
13
  showMoreLabel?: string | undefined;
14
14
  }, {
15
- venue: "opinion" | "probable" | "kalshi" | "polymarket";
15
+ venue: "probable" | "kalshi" | "polymarket" | "opinion";
16
16
  description: string;
17
17
  label?: string | undefined;
18
18
  showMoreLabel?: string | undefined;
@@ -28,12 +28,12 @@ export declare const settlementViewModelSchema: z.ZodObject<{
28
28
  description: z.ZodString;
29
29
  showMoreLabel: z.ZodOptional<z.ZodString>;
30
30
  }, "strip", z.ZodTypeAny, {
31
- venue: "opinion" | "probable" | "kalshi" | "polymarket";
31
+ venue: "probable" | "kalshi" | "polymarket" | "opinion";
32
32
  description: string;
33
33
  label?: string | undefined;
34
34
  showMoreLabel?: string | undefined;
35
35
  }, {
36
- venue: "opinion" | "probable" | "kalshi" | "polymarket";
36
+ venue: "probable" | "kalshi" | "polymarket" | "opinion";
37
37
  description: string;
38
38
  label?: string | undefined;
39
39
  showMoreLabel?: string | undefined;
@@ -41,7 +41,7 @@ export declare const settlementViewModelSchema: z.ZodObject<{
41
41
  defaultExpandedVenue: z.ZodOptional<z.ZodNullable<z.ZodEnum<["polymarket", "kalshi", "opinion", "probable"]>>>;
42
42
  }, "strip", z.ZodTypeAny, {
43
43
  venues: {
44
- venue: "opinion" | "probable" | "kalshi" | "polymarket";
44
+ venue: "probable" | "kalshi" | "polymarket" | "opinion";
45
45
  description: string;
46
46
  label?: string | undefined;
47
47
  showMoreLabel?: string | undefined;
@@ -50,10 +50,10 @@ export declare const settlementViewModelSchema: z.ZodObject<{
50
50
  question: string;
51
51
  differencesTitle: string;
52
52
  differences: string[];
53
- defaultExpandedVenue?: "opinion" | "probable" | "kalshi" | "polymarket" | null | undefined;
53
+ defaultExpandedVenue?: "probable" | "kalshi" | "polymarket" | "opinion" | null | undefined;
54
54
  }, {
55
55
  venues: {
56
- venue: "opinion" | "probable" | "kalshi" | "polymarket";
56
+ venue: "probable" | "kalshi" | "polymarket" | "opinion";
57
57
  description: string;
58
58
  label?: string | undefined;
59
59
  showMoreLabel?: string | undefined;
@@ -62,7 +62,7 @@ export declare const settlementViewModelSchema: z.ZodObject<{
62
62
  question: string;
63
63
  differencesTitle: string;
64
64
  differences: string[];
65
- defaultExpandedVenue?: "opinion" | "probable" | "kalshi" | "polymarket" | null | undefined;
65
+ defaultExpandedVenue?: "probable" | "kalshi" | "polymarket" | "opinion" | null | undefined;
66
66
  }>;
67
67
  export type SettlementViewModel = z.infer<typeof settlementViewModelSchema>;
68
68
  export type SettlementVenueItem = z.infer<typeof settlementVenueSchema>;
@@ -102,11 +102,11 @@ export declare const placeOrderRoutingRowSchema: z.ZodObject<{
102
102
  label: z.ZodString;
103
103
  priceLabel: z.ZodString;
104
104
  }, "strip", z.ZodTypeAny, {
105
- venue: "opinion" | "probable" | "kalshi" | "polymarket";
105
+ venue: "probable" | "kalshi" | "polymarket" | "opinion";
106
106
  label: string;
107
107
  priceLabel: string;
108
108
  }, {
109
- venue: "opinion" | "probable" | "kalshi" | "polymarket";
109
+ venue: "probable" | "kalshi" | "polymarket" | "opinion";
110
110
  label: string;
111
111
  priceLabel: string;
112
112
  }>;
@@ -117,11 +117,11 @@ export declare const placeOrderRoutingSchema: z.ZodObject<{
117
117
  label: z.ZodString;
118
118
  priceLabel: z.ZodString;
119
119
  }, "strip", z.ZodTypeAny, {
120
- venue: "opinion" | "probable" | "kalshi" | "polymarket";
120
+ venue: "probable" | "kalshi" | "polymarket" | "opinion";
121
121
  label: string;
122
122
  priceLabel: string;
123
123
  }, {
124
- venue: "opinion" | "probable" | "kalshi" | "polymarket";
124
+ venue: "probable" | "kalshi" | "polymarket" | "opinion";
125
125
  label: string;
126
126
  priceLabel: string;
127
127
  }>, "many">;
@@ -130,7 +130,7 @@ export declare const placeOrderRoutingSchema: z.ZodObject<{
130
130
  }, "strip", z.ZodTypeAny, {
131
131
  tone: "default" | "highlighted";
132
132
  rows: {
133
- venue: "opinion" | "probable" | "kalshi" | "polymarket";
133
+ venue: "probable" | "kalshi" | "polymarket" | "opinion";
134
134
  label: string;
135
135
  priceLabel: string;
136
136
  }[];
@@ -139,7 +139,7 @@ export declare const placeOrderRoutingSchema: z.ZodObject<{
139
139
  }, {
140
140
  tone: "default" | "highlighted";
141
141
  rows: {
142
- venue: "opinion" | "probable" | "kalshi" | "polymarket";
142
+ venue: "probable" | "kalshi" | "polymarket" | "opinion";
143
143
  label: string;
144
144
  priceLabel: string;
145
145
  }[];
@@ -168,13 +168,13 @@ export declare const placeOrderStatusSchema: z.ZodObject<{
168
168
  actionLabel: z.ZodOptional<z.ZodString>;
169
169
  placement: z.ZodEnum<["above-action", "below-action"]>;
170
170
  }, "strip", z.ZodTypeAny, {
171
- message: string;
172
171
  tone: "warning" | "error";
172
+ message: string;
173
173
  placement: "above-action" | "below-action";
174
174
  actionLabel?: string | undefined;
175
175
  }, {
176
- message: string;
177
176
  tone: "warning" | "error";
177
+ message: string;
178
178
  placement: "above-action" | "below-action";
179
179
  actionLabel?: string | undefined;
180
180
  }>;
@@ -219,11 +219,11 @@ export declare const placeOrderViewModelSchema: z.ZodObject<{
219
219
  label: z.ZodString;
220
220
  priceLabel: z.ZodString;
221
221
  }, "strip", z.ZodTypeAny, {
222
- venue: "opinion" | "probable" | "kalshi" | "polymarket";
222
+ venue: "probable" | "kalshi" | "polymarket" | "opinion";
223
223
  label: string;
224
224
  priceLabel: string;
225
225
  }, {
226
- venue: "opinion" | "probable" | "kalshi" | "polymarket";
226
+ venue: "probable" | "kalshi" | "polymarket" | "opinion";
227
227
  label: string;
228
228
  priceLabel: string;
229
229
  }>, "many">;
@@ -232,7 +232,7 @@ export declare const placeOrderViewModelSchema: z.ZodObject<{
232
232
  }, "strip", z.ZodTypeAny, {
233
233
  tone: "default" | "highlighted";
234
234
  rows: {
235
- venue: "opinion" | "probable" | "kalshi" | "polymarket";
235
+ venue: "probable" | "kalshi" | "polymarket" | "opinion";
236
236
  label: string;
237
237
  priceLabel: string;
238
238
  }[];
@@ -241,7 +241,7 @@ export declare const placeOrderViewModelSchema: z.ZodObject<{
241
241
  }, {
242
242
  tone: "default" | "highlighted";
243
243
  rows: {
244
- venue: "opinion" | "probable" | "kalshi" | "polymarket";
244
+ venue: "probable" | "kalshi" | "polymarket" | "opinion";
245
245
  label: string;
246
246
  priceLabel: string;
247
247
  }[];
@@ -273,13 +273,13 @@ export declare const placeOrderViewModelSchema: z.ZodObject<{
273
273
  actionLabel: z.ZodOptional<z.ZodString>;
274
274
  placement: z.ZodEnum<["above-action", "below-action"]>;
275
275
  }, "strip", z.ZodTypeAny, {
276
- message: string;
277
276
  tone: "warning" | "error";
277
+ message: string;
278
278
  placement: "above-action" | "below-action";
279
279
  actionLabel?: string | undefined;
280
280
  }, {
281
- message: string;
282
281
  tone: "warning" | "error";
282
+ message: string;
283
283
  placement: "above-action" | "below-action";
284
284
  actionLabel?: string | undefined;
285
285
  }>>;
@@ -310,7 +310,7 @@ export declare const placeOrderViewModelSchema: z.ZodObject<{
310
310
  routing: {
311
311
  tone: "default" | "highlighted";
312
312
  rows: {
313
- venue: "opinion" | "probable" | "kalshi" | "polymarket";
313
+ venue: "probable" | "kalshi" | "polymarket" | "opinion";
314
314
  label: string;
315
315
  priceLabel: string;
316
316
  }[];
@@ -319,8 +319,8 @@ export declare const placeOrderViewModelSchema: z.ZodObject<{
319
319
  };
320
320
  disclaimer: string;
321
321
  status?: {
322
- message: string;
323
322
  tone: "warning" | "error";
323
+ message: string;
324
324
  placement: "above-action" | "below-action";
325
325
  actionLabel?: string | undefined;
326
326
  } | undefined;
@@ -353,7 +353,7 @@ export declare const placeOrderViewModelSchema: z.ZodObject<{
353
353
  routing: {
354
354
  tone: "default" | "highlighted";
355
355
  rows: {
356
- venue: "opinion" | "probable" | "kalshi" | "polymarket";
356
+ venue: "probable" | "kalshi" | "polymarket" | "opinion";
357
357
  label: string;
358
358
  priceLabel: string;
359
359
  }[];
@@ -362,8 +362,8 @@ export declare const placeOrderViewModelSchema: z.ZodObject<{
362
362
  };
363
363
  disclaimer: string;
364
364
  status?: {
365
- message: string;
366
365
  tone: "warning" | "error";
366
+ message: string;
367
367
  placement: "above-action" | "below-action";
368
368
  actionLabel?: string | undefined;
369
369
  } | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agg-market/ui",
3
- "version": "6.0.0",
3
+ "version": "7.0.0",
4
4
  "sideEffects": false,
5
5
  "license": "MIT",
6
6
  "main": "./dist/index.js",
@@ -32,16 +32,6 @@
32
32
  "default": "./dist/primitives.js"
33
33
  }
34
34
  },
35
- "./auth": {
36
- "import": {
37
- "types": "./dist/auth.d.mts",
38
- "default": "./dist/auth.mjs"
39
- },
40
- "require": {
41
- "types": "./dist/auth.d.ts",
42
- "default": "./dist/auth.js"
43
- }
44
- },
45
35
  "./events": {
46
36
  "import": {
47
37
  "types": "./dist/events.d.mts",
@@ -91,15 +81,13 @@
91
81
  "peerDependencies": {
92
82
  "react": "^18.0.0 || ^19.0.0",
93
83
  "react-dom": "^18.0.0 || ^19.0.0",
94
- "@agg-market/hooks": "6.0.0"
84
+ "@agg-market/hooks": "7.0.0"
95
85
  },
96
86
  "dependencies": {
97
- "@radix-ui/react-dialog": "^1.1.15",
98
87
  "@radix-ui/react-dropdown-menu": "^2.1.4",
88
+ "@radix-ui/react-dialog": "^1.1.15",
99
89
  "dayjs": "^1.11.19",
100
90
  "liveline": "^0.0.6",
101
- "viem": "^2.46.2",
102
- "wagmi": "^3.5.0",
103
91
  "zod": "^3.24.1"
104
92
  },
105
93
  "publishConfig": {
package/dist/auth.d.mts DELETED
@@ -1 +0,0 @@
1
- export * from "./types/auth/index";
package/dist/auth.d.ts DELETED
@@ -1 +0,0 @@
1
- export * from "./types/auth/index";