@agg-market/ui 3.0.0 → 4.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 (85) hide show
  1. package/dist/chart.js +18 -5
  2. package/dist/chart.mjs +2 -2
  3. package/dist/{chunk-LK5D3ZTK.mjs → chunk-3QLOUBDJ.mjs} +1 -1
  4. package/dist/{chunk-4KMFDCAH.mjs → chunk-3W7NBJLU.mjs} +2 -2
  5. package/dist/{chunk-KCPDVBIZ.mjs → chunk-4S3I6X7F.mjs} +14 -13
  6. package/dist/{chunk-OA2IZ3VW.mjs → chunk-5ADMXO3Y.mjs} +1 -1
  7. package/dist/{chunk-7NISYVSJ.mjs → chunk-6JG6I5AY.mjs} +1 -1
  8. package/dist/{chunk-TA7LKYKP.mjs → chunk-DCORNTCY.mjs} +1 -1
  9. package/dist/{chunk-QYZKC7KG.mjs → chunk-GNSPZ53C.mjs} +87 -86
  10. package/dist/{chunk-422MCIXV.mjs → chunk-HOXTJ742.mjs} +15 -11
  11. package/dist/{chunk-KFOATMAE.mjs → chunk-JNH64AKR.mjs} +32 -25
  12. package/dist/{chunk-DL7STJQ5.mjs → chunk-LA3FBBSJ.mjs} +3 -3
  13. package/dist/{chunk-CTVMT3VL.mjs → chunk-LCZKSITC.mjs} +2 -2
  14. package/dist/chunk-M4RJHRFT.mjs +445 -0
  15. package/dist/{chunk-D5FTFSKL.mjs → chunk-MBHTXNHX.mjs} +4 -4
  16. package/dist/{chunk-O46OFVH6.mjs → chunk-MJHKBCXQ.mjs} +2 -2
  17. package/dist/{chunk-2MJY6RVY.mjs → chunk-NH2G3POM.mjs} +1 -1
  18. package/dist/{chunk-BEDUFOIG.mjs → chunk-OH56VUYK.mjs} +6 -20
  19. package/dist/{chunk-BN5VVHNV.mjs → chunk-OJVTGNIF.mjs} +17 -4
  20. package/dist/{chunk-6425RRBI.mjs → chunk-P2PJBO5C.mjs} +1 -1
  21. package/dist/{chunk-D7JTOGYP.mjs → chunk-PORVP72S.mjs} +22 -2
  22. package/dist/{chunk-5GDNWQZS.mjs → chunk-QLMVKLNJ.mjs} +1 -1
  23. package/dist/{chunk-GHB3GOCW.mjs → chunk-QM7CGMFG.mjs} +5 -21
  24. package/dist/connect-button.js +22 -2
  25. package/dist/connect-button.mjs +2 -2
  26. package/dist/deposit-modal.js +22 -2
  27. package/dist/deposit-modal.mjs +2 -2
  28. package/dist/event-list-item-details.js +235 -243
  29. package/dist/event-list-item-details.mjs +7 -7
  30. package/dist/event-list-item.js +178 -210
  31. package/dist/event-list-item.mjs +4 -4
  32. package/dist/event-list.js +181 -225
  33. package/dist/event-list.mjs +5 -5
  34. package/dist/event-market-page.d.mts +1 -1
  35. package/dist/event-market-page.d.ts +1 -1
  36. package/dist/event-market-page.js +498 -576
  37. package/dist/event-market-page.mjs +11 -12
  38. package/dist/home-page.js +181 -225
  39. package/dist/home-page.mjs +6 -6
  40. package/dist/index.d.mts +3 -3
  41. package/dist/index.d.ts +3 -3
  42. package/dist/index.js +331 -347
  43. package/dist/index.mjs +21 -21
  44. package/dist/market-details.d.mts +1 -1
  45. package/dist/market-details.d.ts +1 -1
  46. package/dist/market-details.js +345 -417
  47. package/dist/market-details.mjs +7 -8
  48. package/dist/onboarding-modal.js +35 -14
  49. package/dist/onboarding-modal.mjs +2 -2
  50. package/dist/place-order.d.mts +1 -1
  51. package/dist/place-order.d.ts +1 -1
  52. package/dist/place-order.js +173 -191
  53. package/dist/place-order.mjs +3 -3
  54. package/dist/profile-modal.js +22 -2
  55. package/dist/profile-modal.mjs +2 -2
  56. package/dist/search.d.mts +1 -1
  57. package/dist/search.d.ts +1 -1
  58. package/dist/search.js +22 -2
  59. package/dist/search.mjs +2 -2
  60. package/dist/settlement.d.mts +1 -1
  61. package/dist/settlement.d.ts +1 -1
  62. package/dist/settlement.js +173 -191
  63. package/dist/settlement.mjs +3 -3
  64. package/dist/skeleton.js +151 -189
  65. package/dist/skeleton.mjs +1 -1
  66. package/dist/styles.css +1 -1
  67. package/dist/switch-button.js +2 -2
  68. package/dist/switch-button.mjs +1 -1
  69. package/dist/tailwind.css +1 -1
  70. package/dist/user-profile-page.d.mts +1 -1
  71. package/dist/user-profile-page.d.ts +1 -1
  72. package/dist/user-profile-page.js +22 -2
  73. package/dist/user-profile-page.mjs +2 -2
  74. package/dist/venue-logo.d.mts +3 -2
  75. package/dist/venue-logo.d.ts +3 -2
  76. package/dist/venue-logo.js +22 -2
  77. package/dist/venue-logo.mjs +1 -1
  78. package/dist/{venue-logo.types-HRf1yBLD.d.mts → venue-logo.types-CGUc22ly.d.mts} +3 -1
  79. package/dist/{venue-logo.types-D8Cu2rAm.d.ts → venue-logo.types-Dqr39S1-.d.ts} +3 -1
  80. package/dist/withdraw-modal.js +22 -2
  81. package/dist/withdraw-modal.mjs +2 -2
  82. package/package.json +2 -2
  83. package/dist/chunk-V52WSZHQ.mjs +0 -482
  84. package/dist/{types-JBf1DZlH.d.ts → types-DkGlbmXq.d.mts} +2 -2
  85. package/dist/{types-JBf1DZlH.d.mts → types-DkGlbmXq.d.ts} +2 -2
package/dist/skeleton.js CHANGED
@@ -120,6 +120,7 @@ var EventListItemSkeletonView = ({
120
120
  isStandalone = false
121
121
  }) => {
122
122
  const labels = (0, import_hooks3.useLabels)();
123
+ const outcomeTitleWidths = ["w-40", "w-[200px]"];
123
124
  return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(
124
125
  Card,
125
126
  {
@@ -129,35 +130,23 @@ var EventListItemSkeletonView = ({
129
130
  "aria-busy": isStandalone || void 0,
130
131
  "aria-hidden": isStandalone ? void 0 : true,
131
132
  children: [
132
- /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { className: "flex w-full items-start gap-3", children: [
133
- /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(SkeletonBlock, { className: "h-10 w-10 rounded-agg-lg" }),
134
- /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { className: "flex flex-1 flex-col gap-2", children: [
135
- /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(SkeletonBlock, { className: "h-5 w-[82%] rounded-agg-sm" }),
136
- /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(SkeletonBlock, { className: "h-5 w-[68%] rounded-agg-sm" })
137
- ] })
133
+ /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { className: "flex h-14 w-full items-center gap-3 justify-stretch", children: [
134
+ /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(SkeletonBlock, { className: "size-10! rounded-agg-lg" }),
135
+ /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(SkeletonBlock, { className: "h-6 w-fit flex-1 rounded-agg-sm" })
138
136
  ] }),
139
- /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("div", { className: "flex flex-col gap-3", children: [0, 1].map((index) => /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(
140
- "div",
141
- {
142
- className: "grid w-full grid-cols-[minmax(0,1fr)_auto_auto] items-center gap-3",
143
- children: [
144
- /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(SkeletonBlock, { className: "h-4 rounded-agg-sm" }),
145
- /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(SkeletonBlock, { className: "h-4 w-10 rounded-agg-sm" }),
146
- /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(SkeletonBlock, { className: "h-9 w-[101px] rounded-agg-full" })
147
- ]
148
- },
149
- index
150
- )) }),
151
- /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { className: "flex items-center justify-between gap-2 text-agg-muted-foreground", children: [
152
- /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { className: "flex items-center gap-2", children: [
153
- /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(SkeletonBlock, { className: "h-4 w-36 rounded-agg-sm" }),
137
+ /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("div", { className: "flex flex-col gap-3", children: outcomeTitleWidths.map((outcomeTitleWidth, index) => /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { className: "flex w-full items-center justify-between gap-3", children: [
138
+ /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(SkeletonBlock, { className: cn("h-5 rounded-agg-sm", outcomeTitleWidth) }),
139
+ /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(SkeletonBlock, { className: "h-9 w-[100px] rounded-agg-full" })
140
+ ] }, index)) }),
141
+ /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { className: "flex items-center justify-between gap-5 text-agg-muted-foreground", children: [
142
+ /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { className: "flex min-w-0 flex-1 items-center gap-2", children: [
143
+ /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(SkeletonBlock, { className: "h-5 w-[100px] rounded-agg-sm" }),
154
144
  /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { className: "flex items-center gap-1", children: [
155
- /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(SkeletonBlock, { className: "size-3 rounded-agg-full" }),
156
- /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(SkeletonBlock, { className: "size-3 rounded-agg-full" }),
157
- /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(SkeletonBlock, { className: "size-3 rounded-agg-full" })
145
+ /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(SkeletonBlock, { className: "size-[14px] rounded-agg-sm" }),
146
+ /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(SkeletonBlock, { className: "size-[14px] rounded-agg-sm" })
158
147
  ] })
159
148
  ] }),
160
- /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(SkeletonBlock, { className: "h-4 w-20 rounded-agg-sm" })
149
+ /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(SkeletonBlock, { className: "h-5 w-[60px] rounded-agg-sm" })
161
150
  ] })
162
151
  ]
163
152
  }
@@ -177,13 +166,9 @@ var EventListSkeletonView = ({ className, ariaLabel }) => {
177
166
  "aria-label": ariaLabel != null ? ariaLabel : labels.eventList.loading("events"),
178
167
  "aria-busy": true,
179
168
  children: [
180
- /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("header", { className: "flex w-full flex-col items-start justify-between gap-2 md:flex-row md:flex-nowrap md:items-center md:gap-4", children: [
181
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(SkeletonBlock, { className: "h-7 w-40 rounded-agg-sm" }),
182
- /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("div", { className: "flex max-w-full gap-2", children: [
183
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(SkeletonBlock, { className: "h-10 w-20 rounded-agg-full" }),
184
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(SkeletonBlock, { className: "h-10 w-20 rounded-agg-full" }),
185
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(SkeletonBlock, { className: "h-10 w-24 rounded-agg-full" })
186
- ] })
169
+ /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("header", { className: "flex w-full flex-col items-start justify-between gap-3 md:flex-row md:flex-nowrap md:items-center md:gap-5", children: [
170
+ /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(SkeletonBlock, { className: "h-7 w-[120px] rounded-agg-md" }),
171
+ /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(SkeletonBlock, { className: "h-8 w-full rounded-agg-md md:w-[400px]" })
187
172
  ] }),
188
173
  /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("div", { className: "grid grid-cols-1 gap-5 md:grid-cols-3", children: Array.from({ length: 3 }).map((_, index) => /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
189
174
  EventListItemSkeletonView,
@@ -220,30 +205,26 @@ var EventListItemDetailsSkeletonView = ({
220
205
  "aria-label": ariaLabel != null ? ariaLabel : labels.eventItemDetails.loading,
221
206
  "aria-busy": true,
222
207
  children: [
223
- /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("div", { className: "flex w-full items-start gap-3 md:gap-4", children: [
224
- /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(SkeletonBlock, { className: "size-10 rounded-agg-lg md:size-[60px]" }),
225
- /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("div", { className: "flex flex-1 flex-col gap-2", children: [
226
- /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(SkeletonBlock, { className: "h-5 w-[82%] rounded-agg-sm md:h-7 md:w-[55%]" }),
227
- /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("div", { className: "flex gap-2 overflow-hidden", children: [
228
- /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(SkeletonBlock, { className: "h-8 w-28 rounded-agg-full" }),
229
- /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(SkeletonBlock, { className: "h-8 w-28 rounded-agg-full" }),
230
- /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(SkeletonBlock, { className: "h-8 w-28 rounded-agg-full" })
231
- ] })
232
- ] })
208
+ /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("div", { className: "flex h-14 w-full items-center gap-3 justify-stretch", children: [
209
+ /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(SkeletonBlock, { className: "size-10! rounded-agg-lg" }),
210
+ /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(SkeletonBlock, { className: "h-6 w-fit flex-1 rounded-agg-sm" })
233
211
  ] }),
234
- /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("div", { className: "flex flex-col gap-4", children: [
235
- /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(SkeletonBlock, { className: "h-10 w-full rounded-agg-full md:w-[220px]" }),
236
- /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("div", { className: "flex gap-2 overflow-hidden", children: [
237
- /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(SkeletonBlock, { className: "h-9 w-20 rounded-agg-full" }),
238
- /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(SkeletonBlock, { className: "h-9 w-20 rounded-agg-full" }),
239
- /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(SkeletonBlock, { className: "h-9 w-20 rounded-agg-full" }),
240
- /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(SkeletonBlock, { className: "h-9 w-20 rounded-agg-full" })
212
+ /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("div", { className: "flex w-full flex-col gap-4 md:gap-6", children: [
213
+ /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("div", { className: "flex w-full flex-col gap-3 md:flex-row md:items-center md:justify-between", children: [
214
+ /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("div", { className: "flex max-w-full gap-2 overflow-hidden", children: [
215
+ /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(SkeletonBlock, { className: "h-9 w-[100px] rounded-agg-full" }),
216
+ /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(SkeletonBlock, { className: "h-9 w-[100px] rounded-agg-full" }),
217
+ /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(SkeletonBlock, { className: "h-9 w-[100px] rounded-agg-full" })
218
+ ] }),
219
+ /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(SkeletonBlock, { className: "h-9 w-full max-w-[221px] rounded-agg-full md:w-[221px]" })
220
+ ] }),
221
+ /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("div", { className: "flex w-full flex-col gap-3", children: [
222
+ /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(SkeletonBlock, { className: "h-[220px] w-full rounded-agg-xl md:h-[240px]" }),
223
+ /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("div", { className: "flex items-center justify-between", children: [
224
+ /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(SkeletonBlock, { className: "h-5 w-[59px] rounded-agg-sm" }),
225
+ /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(SkeletonBlock, { className: "h-5 w-40 rounded-agg-sm" })
226
+ ] })
241
227
  ] })
242
- ] }),
243
- /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("div", { className: "h-[300px] w-full rounded-agg-xl", children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(SkeletonBlock, { className: "h-full w-full rounded-agg-xl" }) }),
244
- /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("div", { className: "flex items-center justify-between", children: [
245
- /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(SkeletonBlock, { className: "h-5 w-24 rounded-agg-sm" }),
246
- /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(SkeletonBlock, { className: "h-5 w-40 rounded-agg-sm" })
247
228
  ] })
248
229
  ]
249
230
  }
@@ -259,6 +240,77 @@ var marketDetailsBaseCardClassName = "w-full overflow-hidden rounded-agg-lg bord
259
240
 
260
241
  // src/primitives/skeleton/views/market-details-skeleton-view.tsx
261
242
  var import_jsx_runtime6 = require("react/jsx-runtime");
243
+ var orderBookAskBarWidths = [
244
+ "w-[52px] md:w-[240px]",
245
+ "w-[48px] md:w-[200px]",
246
+ "w-[40px] md:w-[120px]",
247
+ "w-[36px] md:w-[60px]"
248
+ ];
249
+ var orderBookBidBarWidths = [
250
+ "w-[36px] md:w-[60px]",
251
+ "w-[40px] md:w-[120px]",
252
+ "w-[48px] md:w-[200px]",
253
+ "w-[52px] md:w-[240px]"
254
+ ];
255
+ var MarketDetailsHeaderSkeleton = () => {
256
+ return /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("div", { className: "flex flex-wrap items-center justify-between gap-3 px-4 py-3 md:px-5", children: [
257
+ /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("div", { className: "flex min-w-0 items-center gap-3 md:min-w-52 md:gap-4", children: [
258
+ /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(SkeletonBlock, { className: "size-12 rounded-agg-lg md:size-[60px]" }),
259
+ /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("div", { className: "flex min-w-0 flex-col gap-2", children: [
260
+ /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(SkeletonBlock, { className: "h-6 w-[132px] rounded-agg-sm" }),
261
+ /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(SkeletonBlock, { className: "h-4 w-[141px] rounded-agg-sm" })
262
+ ] })
263
+ ] }),
264
+ /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(SkeletonBlock, { className: "h-9 w-[60px] rounded-agg-md" }),
265
+ /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("div", { className: "flex w-full gap-2 md:w-auto", children: [
266
+ /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(SkeletonBlock, { className: "h-9 w-full rounded-agg-full md:w-[135px]" }),
267
+ /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(SkeletonBlock, { className: "h-9 w-full rounded-agg-full md:w-[131px]" })
268
+ ] })
269
+ ] });
270
+ };
271
+ var MarketDetailsTabsSkeleton = () => {
272
+ return /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("div", { className: "flex h-14 items-end px-4 md:px-5", children: [
273
+ /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("div", { className: "flex h-full flex-col items-end justify-end rounded-t-agg-lg", children: [
274
+ /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("div", { className: "px-4 py-3", children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(SkeletonBlock, { className: "h-6 w-20 rounded-agg-sm" }) }),
275
+ /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(SkeletonBlock, { className: "h-[3px] w-full rounded-t-agg-sm" })
276
+ ] }),
277
+ /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("div", { className: "flex h-full flex-col justify-center", children: [
278
+ /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("div", { className: "px-4 py-3", children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(SkeletonBlock, { className: "h-6 w-12 rounded-agg-sm" }) }),
279
+ /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("div", { className: "h-[3px] w-full" })
280
+ ] })
281
+ ] });
282
+ };
283
+ var MarketDetailsOrderBookRows = ({
284
+ side,
285
+ barWidths
286
+ }) => {
287
+ return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("div", { className: "flex flex-col gap-2", children: barWidths.map((barWidthClassName, index) => /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("div", { className: "flex flex-col gap-2", children: [
288
+ /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("div", { className: "grid grid-cols-[52px_1fr_1fr_52px] items-center gap-2 md:grid-cols-[88px_1fr_1fr_minmax(120px,220px)] md:gap-6", children: [
289
+ /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("div", { className: "flex items-center gap-1 md:gap-3", children: [
290
+ /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(SkeletonBlock, { className: "size-4 rounded-agg-sm" }),
291
+ /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(SkeletonBlock, { className: "h-5 w-[60px] rounded-agg-sm" })
292
+ ] }),
293
+ /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(SkeletonBlock, { className: "h-5 rounded-agg-sm" }),
294
+ /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(SkeletonBlock, { className: "h-5 rounded-agg-sm" }),
295
+ /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("div", { className: "flex justify-end", children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(SkeletonBlock, { className: cn("h-2 rounded-agg-full", barWidthClassName) }) })
296
+ ] }),
297
+ index < barWidths.length - 1 ? /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("div", { className: "h-px w-full bg-agg-separator" }) : null
298
+ ] }, `${side}-row-${index}`)) });
299
+ };
300
+ var MarketDetailsOderbookSkeleton = ({
301
+ className
302
+ }) => {
303
+ return /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("div", { className: cn("flex flex-col gap-5", className), children: [
304
+ /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("div", { className: "flex flex-col gap-2", children: [
305
+ /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(SkeletonBlock, { className: "h-4 w-10 rounded-agg-sm" }),
306
+ /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(MarketDetailsOrderBookRows, { side: "ask", barWidths: orderBookAskBarWidths })
307
+ ] }),
308
+ /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("div", { className: "flex flex-col gap-2", children: [
309
+ /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(SkeletonBlock, { className: "h-4 w-10 rounded-agg-sm" }),
310
+ /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(MarketDetailsOrderBookRows, { side: "bid", barWidths: orderBookBidBarWidths })
311
+ ] })
312
+ ] });
313
+ };
262
314
  var MarketDetailsSkeletonView = ({
263
315
  className,
264
316
  ariaLabel,
@@ -273,60 +325,12 @@ var MarketDetailsSkeletonView = ({
273
325
  "aria-label": ariaLabel != null ? ariaLabel : labels.marketDetails.loading,
274
326
  "aria-busy": true,
275
327
  children: [
276
- /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("div", { className: "flex flex-col gap-3 p-4 md:px-5 md:py-4", children: [
277
- /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("div", { className: "flex items-center justify-between gap-4", children: [
278
- /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("div", { className: "flex min-w-0 items-center gap-3 md:gap-4", children: [
279
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(SkeletonBlock, { className: "size-12 rounded-agg-lg md:size-[60px]" }),
280
- /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("div", { className: "flex min-w-0 flex-col gap-2", children: [
281
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(SkeletonBlock, { className: "h-6 w-40 rounded-agg-sm" }),
282
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(SkeletonBlock, { className: "h-4 w-28 rounded-agg-sm" })
283
- ] })
284
- ] }),
285
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(SkeletonBlock, { className: "h-8 w-16 rounded-agg-sm" })
286
- ] }),
287
- /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("div", { className: "flex gap-2", children: [
288
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(SkeletonBlock, { className: "h-10 flex-1 rounded-agg-full" }),
289
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(SkeletonBlock, { className: "h-10 flex-1 rounded-agg-full" })
290
- ] })
291
- ] }),
328
+ /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(MarketDetailsHeaderSkeleton, {}),
292
329
  isDetailed ? /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_jsx_runtime6.Fragment, { children: [
293
330
  /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("div", { className: "h-px w-full bg-agg-separator" }),
294
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("div", { className: "flex h-14 items-end", children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(SkeletonBlock, { className: "h-full w-full rounded-none" }) }),
331
+ /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(MarketDetailsTabsSkeleton, {}),
295
332
  /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("div", { className: "h-px w-full bg-agg-separator" }),
296
- /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("div", { className: "flex flex-col gap-4 p-5", children: [
297
- /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("div", { className: "flex flex-col gap-3", children: [
298
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(SkeletonBlock, { className: "h-4 w-12 rounded-agg-sm" }),
299
- [0, 1, 2, 3].map((index) => /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(
300
- "div",
301
- {
302
- className: "grid grid-cols-[52px_1fr_1fr_52px] items-center gap-2",
303
- children: [
304
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(SkeletonBlock, { className: "h-4 rounded-agg-sm" }),
305
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(SkeletonBlock, { className: "h-4 rounded-agg-sm" }),
306
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(SkeletonBlock, { className: "h-4 rounded-agg-sm" }),
307
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(SkeletonBlock, { className: "h-2 rounded-agg-full" })
308
- ]
309
- },
310
- `ask-${index}`
311
- ))
312
- ] }),
313
- /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("div", { className: "flex flex-col gap-3", children: [
314
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(SkeletonBlock, { className: "h-4 w-12 rounded-agg-sm" }),
315
- [0, 1, 2, 3].map((index) => /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(
316
- "div",
317
- {
318
- className: "grid grid-cols-[52px_1fr_1fr_52px] items-center gap-2",
319
- children: [
320
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(SkeletonBlock, { className: "h-4 rounded-agg-sm" }),
321
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(SkeletonBlock, { className: "h-4 rounded-agg-sm" }),
322
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(SkeletonBlock, { className: "h-4 rounded-agg-sm" }),
323
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(SkeletonBlock, { className: "h-2 rounded-agg-full" })
324
- ]
325
- },
326
- `bid-${index}`
327
- ))
328
- ] })
329
- ] })
333
+ /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(MarketDetailsOderbookSkeleton, { className: "p-5" })
330
334
  ] }) : null
331
335
  ]
332
336
  }
@@ -337,65 +341,46 @@ MarketDetailsSkeletonView.displayName = "MarketDetailsSkeletonView";
337
341
  // src/primitives/skeleton/views/place-order-skeleton-view.tsx
338
342
  var import_jsx_runtime7 = require("react/jsx-runtime");
339
343
  var placeOrderCardClassName = "overflow-hidden rounded-agg-xl border border-agg-border bg-agg-secondary shadow-none hover:shadow-none";
344
+ var TabsSkeletonBar = () => {
345
+ return /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("div", { className: "flex w-full items-end border-b border-agg-border", children: [
346
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("div", { className: "flex flex-col rounded-t-agg-lg", children: [
347
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("div", { className: "px-5 py-2", children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(SkeletonBlock, { className: "h-6 w-10 rounded-agg-sm" }) }),
348
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(SkeletonBlock, { className: "h-[3px] w-full rounded-t-agg-sm" })
349
+ ] }),
350
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("div", { className: "flex flex-col", children: [
351
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("div", { className: "px-5 py-2", children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(SkeletonBlock, { className: "h-6 w-10 rounded-agg-sm" }) }),
352
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("div", { className: "h-[3px] w-full" })
353
+ ] })
354
+ ] });
355
+ };
340
356
  var ContentBody = () => {
341
357
  return /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("div", { className: cn("flex flex-col gap-6 p-5"), children: [
342
358
  /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("div", { className: "flex flex-col gap-2", children: [
343
- /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("div", { className: "flex items-start justify-between gap-5", children: [
344
- /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("div", { className: "flex min-w-0 flex-1 items-center gap-3", children: [
345
- /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(SkeletonBlock, { className: "h-12 w-12 shrink-0 rounded-agg-lg" }),
346
- /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("div", { className: "flex min-w-0 flex-1 flex-col gap-2", children: [
347
- /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(SkeletonBlock, { className: "h-5 w-[92%] rounded-agg-sm" }),
348
- /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(SkeletonBlock, { className: "h-5 w-[80%] rounded-agg-sm" })
349
- ] })
350
- ] }),
351
- /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(SkeletonBlock, { className: "h-6 w-6 rounded-agg-sm" })
359
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("div", { className: "flex min-w-0 items-center gap-3", children: [
360
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(SkeletonBlock, { className: "size-12 shrink-0 rounded-agg-lg" }),
361
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("div", { className: "flex min-w-0 flex-1 flex-col gap-2", children: [
362
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(SkeletonBlock, { className: "h-4 w-[92%] max-w-[240px] rounded-agg-sm" }),
363
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(SkeletonBlock, { className: "h-4 w-[64%] max-w-[160px] rounded-agg-sm" })
364
+ ] })
352
365
  ] }),
353
- /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(SkeletonBlock, { className: "h-5 w-28 rounded-agg-sm" })
366
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(SkeletonBlock, { className: "h-6 w-[92px] rounded-agg-sm" }),
367
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(TabsSkeletonBar, {})
354
368
  ] }),
355
- /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("div", { className: "flex h-11 items-end border-b border-agg-separator", children: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("div", { className: "flex items-center gap-8", children: [
356
- /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("div", { className: "flex flex-col gap-2", children: [
357
- /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(SkeletonBlock, { className: "h-5 w-10 rounded-agg-sm" }),
358
- /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(SkeletonBlock, { className: "h-[3px] w-12 rounded-t-agg-sm" })
359
- ] }),
360
- /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(SkeletonBlock, { className: "h-5 w-10 rounded-agg-sm" })
361
- ] }) }),
362
369
  /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("div", { className: "flex flex-col gap-4", children: [
363
- /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("div", { className: "flex gap-2", children: [
370
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("div", { className: "flex w-full gap-2", children: [
364
371
  /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(SkeletonBlock, { className: "h-11 flex-1 rounded-agg-full" }),
365
372
  /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(SkeletonBlock, { className: "h-11 flex-1 rounded-agg-full" })
366
373
  ] }),
367
374
  /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("div", { className: "flex items-center justify-between gap-4", children: [
368
375
  /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("div", { className: "flex flex-col gap-2", children: [
369
- /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(SkeletonBlock, { className: "h-6 w-20 rounded-agg-sm" }),
370
- /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(SkeletonBlock, { className: "h-4 w-28 rounded-agg-sm" })
376
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(SkeletonBlock, { className: "h-5 w-[63px] rounded-agg-sm" }),
377
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(SkeletonBlock, { className: "h-4 w-[118px] rounded-agg-sm" })
371
378
  ] }),
372
- /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(SkeletonBlock, { className: "h-9 w-28 rounded-agg-sm" })
379
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("p", { className: cn("text-agg-3xl font-agg-bold leading-agg-9 text-agg-separator"), children: "$0" })
373
380
  ] })
374
381
  ] }),
375
- /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("div", { className: "flex flex-col gap-2", children: [
376
- /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("div", { className: "rounded-agg-lg border border-agg-trade-highlight-border bg-agg-trade-highlight-surface p-3", children: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("div", { className: "flex flex-col gap-3", children: [
377
- [0, 1].map((index) => /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("div", { className: "flex flex-col gap-3", children: [
378
- /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("div", { className: "flex items-center justify-between gap-4", children: [
379
- /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("div", { className: "flex items-center gap-2", children: [
380
- /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(SkeletonBlock, { className: "size-4 rounded-agg-full" }),
381
- /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(SkeletonBlock, { className: "h-5 w-24 rounded-agg-sm" })
382
- ] }),
383
- /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(SkeletonBlock, { className: "h-5 w-10 rounded-agg-sm" })
384
- ] }),
385
- index === 0 ? /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("div", { className: "h-px w-full bg-agg-trade-highlight-border" }) : null
386
- ] }, `place-order-route-${index}`)),
387
- /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(SkeletonBlock, { className: "mx-auto h-5 w-40 rounded-agg-sm" })
388
- ] }) }),
389
- /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(SkeletonBlock, { className: "h-4 w-36 rounded-agg-sm" })
390
- ] }),
391
- /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("div", { className: "flex items-center justify-between gap-4", children: [
392
- /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("div", { className: "flex flex-col gap-2", children: [
393
- /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(SkeletonBlock, { className: "h-6 w-20 rounded-agg-sm" }),
394
- /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(SkeletonBlock, { className: "h-4 w-24 rounded-agg-sm" })
395
- ] }),
396
- /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(SkeletonBlock, { className: "h-9 w-36 rounded-agg-sm" })
397
- ] }),
398
- /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(SkeletonBlock, { className: "h-4 w-[88%] self-center rounded-agg-sm" })
382
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(SkeletonBlock, { className: "h-12 w-full rounded-agg-full" }),
383
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(SkeletonBlock, { className: "h-4 w-full max-w-[240px] self-center rounded-agg-sm" })
399
384
  ] });
400
385
  };
401
386
  var PlaceOrderSkeletonView = ({
@@ -409,19 +394,7 @@ var PlaceOrderSkeletonView = ({
409
394
  role: "status",
410
395
  "aria-label": ariaLabel != null ? ariaLabel : "Loading place order",
411
396
  "aria-busy": true,
412
- children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("div", { className: "flex w-full items-end justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(
413
- Card,
414
- {
415
- className: cn(
416
- placeOrderCardClassName,
417
- "w-full max-w-[400px] rounded-t-agg-xl rounded-b-none border-b-0"
418
- ),
419
- children: [
420
- /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(ContentBody, {}),
421
- /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("div", { className: "border-t border-agg-separator bg-agg-secondary p-4", children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(SkeletonBlock, { className: "h-12 w-full rounded-agg-full" }) })
422
- ]
423
- }
424
- ) })
397
+ children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("div", { className: "flex w-full items-end justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(Card, { className: cn(placeOrderCardClassName, "w-full"), children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(ContentBody, {}) }) })
425
398
  }
426
399
  );
427
400
  };
@@ -447,38 +420,27 @@ var SettlementSkeletonView = ({
447
420
  "aria-label": ariaLabel != null ? ariaLabel : labels.trading.settlementLoading,
448
421
  "aria-busy": true,
449
422
  children: [
450
- /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("div", { className: "flex flex-col gap-1 md:flex-row md:items-center md:justify-between md:gap-4", children: [
451
- /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(SkeletonBlock, { className: "h-4 w-20 rounded-agg-sm" }),
452
- /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(SkeletonBlock, { className: "h-5 w-full max-w-80 rounded-agg-sm" })
423
+ /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("div", { className: "flex w-full items-center justify-between gap-4", children: [
424
+ /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(SkeletonBlock, { className: "h-4 w-[81px] rounded-agg-sm" }),
425
+ /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(SkeletonBlock, { className: "h-5 w-full max-w-[240px] rounded-agg-sm" })
453
426
  ] }),
454
- /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("div", { className: "flex flex-col gap-2", children: [
455
- /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(SkeletonBlock, { className: "h-5 w-52 rounded-agg-sm" }),
427
+ /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("div", { className: "flex w-full flex-col gap-3", children: [
428
+ /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(SkeletonBlock, { className: "h-5 w-[200px] rounded-agg-sm" }),
456
429
  /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("div", { className: "flex flex-col gap-2", children: [
457
- /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(SkeletonBlock, { className: "h-4 w-[88%] rounded-agg-sm" }),
458
- /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(SkeletonBlock, { className: "h-4 w-[84%] rounded-agg-sm" }),
459
- /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(SkeletonBlock, { className: "h-4 w-[80%] rounded-agg-sm" }),
460
- /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(SkeletonBlock, { className: "h-4 w-[74%] rounded-agg-sm" })
430
+ /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(SkeletonBlock, { className: "h-4 w-full max-w-[320px] rounded-agg-sm" }),
431
+ /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(SkeletonBlock, { className: "h-4 w-full max-w-[280px] rounded-agg-sm" })
461
432
  ] })
462
433
  ] }),
463
434
  /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("div", { className: "h-px w-full bg-agg-separator" }),
464
- /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("div", { className: "flex flex-col gap-3", children: [
465
- /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("div", { className: "flex flex-col gap-2", children: [
466
- /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("div", { className: "flex items-center gap-2", children: [
467
- /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(SkeletonBlock, { className: "size-4 rounded-agg-full" }),
468
- /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(SkeletonBlock, { className: "h-5 w-24 rounded-agg-sm" }),
469
- /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(SkeletonBlock, { className: "h-4 w-4 rounded-agg-sm" })
470
- ] }),
471
- /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("div", { className: "flex flex-col gap-2 pl-6", children: [
472
- /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(SkeletonBlock, { className: "h-4 w-full rounded-agg-sm" }),
473
- /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(SkeletonBlock, { className: "h-4 w-[92%] rounded-agg-sm" }),
474
- /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(SkeletonBlock, { className: "h-4 w-[34%] rounded-agg-sm" })
475
- ] })
435
+ /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("div", { className: "flex w-full flex-col gap-3", children: [
436
+ /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("div", { className: "flex items-center gap-2", children: [
437
+ /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(SkeletonBlock, { className: "size-4 rounded-agg-sm" }),
438
+ /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(SkeletonBlock, { className: "h-5 w-[100px] rounded-agg-sm" })
476
439
  ] }),
477
- [0, 1, 2].map((index) => /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("div", { className: "flex items-center gap-2", children: [
478
- /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(SkeletonBlock, { className: "size-4 rounded-agg-full" }),
479
- /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(SkeletonBlock, { className: "h-5 w-20 rounded-agg-sm" }),
480
- /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(SkeletonBlock, { className: "h-4 w-4 rounded-agg-sm" })
481
- ] }, `settlement-venue-${index}`))
440
+ /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("div", { className: "flex items-center gap-2", children: [
441
+ /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(SkeletonBlock, { className: "size-4 rounded-agg-sm" }),
442
+ /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(SkeletonBlock, { className: "h-5 w-[60px] rounded-agg-sm" })
443
+ ] })
482
444
  ] })
483
445
  ]
484
446
  }
package/dist/skeleton.mjs CHANGED
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  Skeleton,
3
3
  skeletonViews
4
- } from "./chunk-V52WSZHQ.mjs";
4
+ } from "./chunk-M4RJHRFT.mjs";
5
5
  import "./chunk-FO2QCB4Z.mjs";
6
6
  import "./chunk-GJ4U5NCE.mjs";
7
7
  export {