@agg-market/ui 0.0.3 → 0.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/badge.d.mts +2 -2
- package/dist/badge.d.ts +2 -2
- package/dist/badge.mjs +2 -2
- package/dist/button.d.mts +2 -2
- package/dist/button.d.ts +2 -2
- package/dist/button.js +1 -0
- package/dist/button.mjs +3 -3
- package/dist/card.mjs +2 -2
- package/dist/chart.mjs +3 -3
- package/dist/{chunk-YUIZZ6XE.mjs → chunk-3O4U3E5I.mjs} +1 -1
- package/dist/{chunk-JLLMIPIX.mjs → chunk-4VUDTWH7.mjs} +1 -1
- package/dist/{chunk-MG243DSX.mjs → chunk-AEMAY3MR.mjs} +1 -1
- package/dist/{chunk-FYV3MDIL.mjs → chunk-BJNHDIDW.mjs} +4 -4
- package/dist/{chunk-LY6474C4.mjs → chunk-BLSHXIAH.mjs} +36 -71
- package/dist/{chunk-DQ6XFBYJ.mjs → chunk-DYEWXEEY.mjs} +1 -1
- package/dist/{chunk-OUOIDPGX.mjs → chunk-EXF4SESB.mjs} +1 -1
- package/dist/chunk-F236MLT6.mjs +1337 -0
- package/dist/{chunk-PAQ542ER.mjs → chunk-GHB3GOCW.mjs} +4 -2
- package/dist/{chunk-GC3QIIH7.mjs → chunk-GJ4U5NCE.mjs} +23 -1
- package/dist/chunk-HM3CGN32.mjs +669 -0
- package/dist/chunk-I4YUYVJJ.mjs +472 -0
- package/dist/{chunk-NFYS557L.mjs → chunk-JH5VMNDL.mjs} +3 -3
- package/dist/{chunk-TTOR7JCT.mjs → chunk-JRS2M5GY.mjs} +1 -1
- package/dist/{chunk-QXFDXXDB.mjs → chunk-LWTQD345.mjs} +3 -3
- package/dist/{chunk-QE46DVJG.mjs → chunk-MNSHWA6M.mjs} +3 -3
- package/dist/{chunk-JQ4FUHXE.mjs → chunk-MXBPDNMC.mjs} +7 -7
- package/dist/{chunk-VYNVBJK6.mjs → chunk-NDG43KGL.mjs} +1 -1
- package/dist/chunk-O2XH4A3G.mjs +654 -0
- package/dist/{chunk-KDBYDMYV.mjs → chunk-OBCHURW5.mjs} +1 -1
- package/dist/{chunk-FZTAHWOS.mjs → chunk-OGI343OV.mjs} +2 -2
- package/dist/{chunk-XDAEEJYR.mjs → chunk-P23GR7NX.mjs} +2 -2
- package/dist/{chunk-J6L5BLKX.mjs → chunk-PGSPYQOW.mjs} +2 -2
- package/dist/{chunk-J7OETCZ7.mjs → chunk-QFQHD2V6.mjs} +19 -20
- package/dist/chunk-RGZQHSNJ.mjs +845 -0
- package/dist/{chunk-7XRKA6XF.mjs → chunk-RXACBTON.mjs} +5 -5
- package/dist/{chunk-A4QJAOZW.mjs → chunk-USLTNDJA.mjs} +7 -7
- package/dist/{chunk-FACIYUNK.mjs → chunk-VC7LTPQD.mjs} +2 -2
- package/dist/{chunk-CKTAVEW2.mjs → chunk-VIP7HSOU.mjs} +2 -2
- package/dist/{chunk-5MN6ZNFA.mjs → chunk-VUDJ3PYM.mjs} +9 -9
- package/dist/{chunk-2NCBX6XI.mjs → chunk-W2DMBW4E.mjs} +8 -8
- package/dist/{chunk-764YUN2J.mjs → chunk-XELWY7SO.mjs} +150 -49
- package/dist/chunk-ZDF7QP4G.mjs +160 -0
- package/dist/{chunk-4NK2FNAG.mjs → chunk-ZHKMDK5M.mjs} +244 -112
- package/dist/{chunk-C4OI72SM.mjs → chunk-ZVBVGWSP.mjs} +1 -0
- package/dist/chunk-ZYREURXK.mjs +470 -0
- package/dist/connect-button.js +767 -292
- package/dist/connect-button.mjs +8 -8
- package/dist/deposit-modal.d.mts +34 -0
- package/dist/deposit-modal.d.ts +34 -0
- package/dist/deposit-modal.js +2787 -0
- package/dist/deposit-modal.mjs +15 -0
- package/dist/event-list-item-details.js +271 -173
- package/dist/event-list-item-details.mjs +13 -13
- package/dist/event-list-item.js +903 -426
- package/dist/event-list-item.mjs +11 -11
- package/dist/event-list.js +1104 -517
- package/dist/event-list.mjs +14 -14
- package/dist/event-market-page.d.mts +1 -1
- package/dist/event-market-page.d.ts +1 -1
- package/dist/event-market-page.js +1505 -681
- package/dist/event-market-page.mjs +23 -23
- package/dist/hello-world.mjs +3 -3
- package/dist/home-page.d.mts +1 -1
- package/dist/home-page.d.ts +1 -1
- package/dist/home-page.js +1120 -533
- package/dist/home-page.mjs +15 -15
- package/dist/icon.d.mts +74 -4
- package/dist/icon.d.ts +74 -4
- package/dist/icon.js +668 -123
- package/dist/icon.mjs +32 -4
- package/dist/index.d.mts +15 -7
- package/dist/index.d.ts +15 -7
- package/dist/index.js +5301 -2147
- package/dist/index.mjs +80 -32
- package/dist/loading-icon.d.mts +1 -1
- package/dist/loading-icon.d.ts +1 -1
- package/dist/loading-icon.js +1 -0
- package/dist/loading-icon.mjs +3 -3
- package/dist/market-details.d.mts +2 -2
- package/dist/market-details.d.ts +2 -2
- package/dist/market-details.js +1097 -411
- package/dist/market-details.mjs +16 -16
- package/dist/modal.mjs +3 -3
- package/dist/number-value.mjs +2 -2
- package/dist/onboarding-modal.js +1249 -672
- package/dist/onboarding-modal.mjs +8 -8
- package/dist/place-order.d.mts +1 -1
- package/dist/place-order.d.ts +1 -1
- package/dist/place-order.js +1091 -506
- package/dist/place-order.mjs +12 -12
- package/dist/profile-modal.d.mts +66 -0
- package/dist/profile-modal.d.ts +66 -0
- package/dist/profile-modal.js +2429 -0
- package/dist/profile-modal.mjs +14 -0
- package/dist/{registry-CVn79H3I.d.mts → registry-DfSCFAdC.d.mts} +72 -0
- package/dist/{registry-CVn79H3I.d.ts → registry-DfSCFAdC.d.ts} +72 -0
- package/dist/search.d.mts +2 -2
- package/dist/search.d.ts +2 -2
- package/dist/search.js +740 -265
- package/dist/search.mjs +6 -6
- package/dist/select.d.mts +2 -0
- package/dist/select.d.ts +2 -0
- package/dist/select.js +814 -187
- package/dist/select.mjs +5 -5
- package/dist/settlement.d.mts +1 -1
- package/dist/settlement.d.ts +1 -1
- package/dist/settlement.js +891 -417
- package/dist/settlement.mjs +9 -9
- package/dist/skeleton.js +1 -1
- package/dist/skeleton.mjs +3 -3
- package/dist/styles.css +1 -1
- package/dist/switch-button.mjs +2 -2
- package/dist/tabs.js +854 -227
- package/dist/tabs.mjs +6 -6
- package/dist/tailwind.css +1 -1
- package/dist/types-Bed6Q0EK.d.mts +3 -0
- package/dist/types-Bed6Q0EK.d.ts +3 -0
- package/dist/typography.mjs +2 -2
- package/dist/user-profile-page.d.mts +133 -0
- package/dist/user-profile-page.d.ts +133 -0
- package/dist/user-profile-page.js +3335 -0
- package/dist/user-profile-page.mjs +15 -0
- package/dist/venue-logo.d.mts +2 -2
- package/dist/venue-logo.d.ts +2 -2
- package/dist/venue-logo.js +28 -70
- package/dist/venue-logo.mjs +2 -2
- package/dist/{venue-logo.types-Bg8eXtGp.d.ts → venue-logo.types-BSAuY84j.d.ts} +1 -1
- package/dist/{venue-logo.types-B1iPJgiD.d.mts → venue-logo.types-DACqcTvY.d.mts} +1 -1
- package/dist/withdraw-modal.d.mts +36 -0
- package/dist/withdraw-modal.d.ts +36 -0
- package/dist/withdraw-modal.js +2442 -0
- package/dist/withdraw-modal.mjs +14 -0
- package/package.json +43 -3
- package/dist/chunk-DA6KZWSK.mjs +0 -807
- package/dist/chunk-IY2AA3OL.mjs +0 -50
- package/dist/chunk-R3DRVI4J.mjs +0 -741
- package/dist/types-CayJ8tWA.d.mts +0 -3
- package/dist/types-CayJ8tWA.d.ts +0 -3
- package/dist/{types-C5JigCSX.d.mts → types-DkGlbmXq.d.mts} +2 -2
- package/dist/{types-C5JigCSX.d.ts → types-DkGlbmXq.d.ts} +2 -2
package/dist/home-page.js
CHANGED
|
@@ -62,11 +62,11 @@ __export(home_exports, {
|
|
|
62
62
|
HomePage: () => HomePage
|
|
63
63
|
});
|
|
64
64
|
module.exports = __toCommonJS(home_exports);
|
|
65
|
-
var
|
|
65
|
+
var import_react5 = require("react");
|
|
66
66
|
var import_hooks13 = require("@agg-market/hooks");
|
|
67
67
|
|
|
68
68
|
// src/events/list/index.tsx
|
|
69
|
-
var
|
|
69
|
+
var import_react4 = require("react");
|
|
70
70
|
var import_hooks12 = require("@agg-market/hooks");
|
|
71
71
|
|
|
72
72
|
// src/constants.ts
|
|
@@ -168,11 +168,37 @@ var ArrowsToDotIcon = (_a) => {
|
|
|
168
168
|
};
|
|
169
169
|
ArrowsToDotIcon.displayName = "ArrowsToDotIcon";
|
|
170
170
|
|
|
171
|
-
// src/primitives/icon/svg/
|
|
171
|
+
// src/primitives/icon/svg/bank.tsx
|
|
172
172
|
var import_jsx_runtime3 = require("react/jsx-runtime");
|
|
173
|
-
var
|
|
173
|
+
var BankIcon = (_a) => {
|
|
174
174
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
175
175
|
return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(
|
|
176
|
+
"svg",
|
|
177
|
+
__spreadProps(__spreadValues(__spreadValues({
|
|
178
|
+
viewBox: "0 0 24 24",
|
|
179
|
+
className,
|
|
180
|
+
fill: "none"
|
|
181
|
+
}, getIconA11yProps(title)), props), {
|
|
182
|
+
children: [
|
|
183
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("title", { children: title }) : null,
|
|
184
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
|
|
185
|
+
"path",
|
|
186
|
+
{
|
|
187
|
+
d: "M23 22H1C0.448 22 0 22.448 0 23C0 23.552 0.448 24 1 24H23C23.552 24 24 23.552 24 23C24 22.448 23.552 22 23 22ZM2 21H4V11H2V21ZM6 21H8V11H6V21ZM10 21H14V11H10V21ZM16 21H18V11H16V21ZM20 21H22V11H20V21ZM12 0.334C11.826 0.123 11.569 0 11.297 0H12.703C12.431 0 12.174 0.123 12 0.334ZM0.392 8.613C0.144 9.02 0 9.495 0 10C0 10 0 10 1 10H23C24 10 24 10 24 10C24 9.495 23.856 9.02 23.608 8.613L13.406 0.668C13.016 0.244 12.528 0 12 0C11.472 0 10.984 0.244 10.594 0.668L0.392 8.613ZM12 2.156L21.445 9H2.555L12 2.156ZM12 5C10.895 5 10 5.895 10 7C10 8.105 10.895 9 12 9C13.105 9 14 8.105 14 7C14 5.895 13.105 5 12 5ZM12 8C11.448 8 11 7.552 11 7C11 6.448 11.448 6 12 6C12.552 6 13 6.448 13 7C13 7.552 12.552 8 12 8Z",
|
|
188
|
+
fill: "currentColor"
|
|
189
|
+
}
|
|
190
|
+
)
|
|
191
|
+
]
|
|
192
|
+
})
|
|
193
|
+
);
|
|
194
|
+
};
|
|
195
|
+
BankIcon.displayName = "BankIcon";
|
|
196
|
+
|
|
197
|
+
// src/primitives/icon/svg/best-prices.tsx
|
|
198
|
+
var import_jsx_runtime4 = require("react/jsx-runtime");
|
|
199
|
+
var BestPricesIcon = (_a) => {
|
|
200
|
+
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
201
|
+
return /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)(
|
|
176
202
|
"svg",
|
|
177
203
|
__spreadProps(__spreadValues(__spreadValues({
|
|
178
204
|
width: "28",
|
|
@@ -183,26 +209,53 @@ var BestPricesIcon = (_a) => {
|
|
|
183
209
|
className
|
|
184
210
|
}, getIconA11yProps(title)), props), {
|
|
185
211
|
children: [
|
|
186
|
-
title ? /* @__PURE__ */ (0,
|
|
187
|
-
/* @__PURE__ */ (0,
|
|
212
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("title", { children: title }) : null,
|
|
213
|
+
/* @__PURE__ */ (0, import_jsx_runtime4.jsx)("g", { clipPath: "url(#clip0_best_prices)", children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
|
|
188
214
|
"path",
|
|
189
215
|
{
|
|
190
216
|
d: "M12.8333 27.4167C12.8333 27.7387 12.572 28 12.25 28H5.25C2.3555 28 0 25.6445 0 22.75V5.25117C0 2.35667 2.35433 0 5.25 0H18.0833C20.9778 0 23.3333 2.35433 23.3333 5.24883V8.74883C23.3333 9.07083 23.0732 9.33217 22.75 9.33217C22.4268 9.33217 22.1667 9.07083 22.1667 8.74883V5.24883C22.1667 2.99717 20.3338 1.1655 18.0833 1.1655H5.25C2.99833 1.1655 1.16667 2.99833 1.16667 5.25V22.7488C1.16667 25.0005 2.9995 26.8322 5.25 26.8322H12.25C12.572 26.8322 12.8333 27.0947 12.8333 27.4167ZM27.8297 27.8297C27.7153 27.944 27.566 28 27.4167 28C27.2673 28 27.118 27.9428 27.0037 27.8297L23.0102 23.8362C21.6837 24.9748 19.964 25.6667 18.0822 25.6667C13.9008 25.6667 10.4988 22.2647 10.4988 18.0833C10.4988 13.902 13.9008 10.5 18.0822 10.5C22.2635 10.5 25.6655 13.902 25.6655 18.0833C25.6655 19.964 24.9725 21.6837 23.835 23.0113L27.8285 27.0048C28.056 27.2323 28.0572 27.6022 27.8297 27.8297ZM24.5 18.0833C24.5 14.546 21.6218 11.6667 18.0833 11.6667C14.5448 11.6667 11.6667 14.546 11.6667 18.0833C11.6667 21.6207 14.5448 24.5 18.0833 24.5C21.6218 24.5 24.5 21.6207 24.5 18.0833ZM7.58333 5.83333H5.25C4.928 5.83333 4.66667 6.09467 4.66667 6.41667C4.66667 6.73867 4.928 7 5.25 7H7.58333C7.90533 7 8.16667 6.73867 8.16667 6.41667C8.16667 6.09467 7.90533 5.83333 7.58333 5.83333ZM7.58333 17.5H5.25C4.928 17.5 4.66667 17.7613 4.66667 18.0833C4.66667 18.4053 4.928 18.6667 5.25 18.6667H7.58333C7.90533 18.6667 8.16667 18.4053 8.16667 18.0833C8.16667 17.7613 7.90533 17.5 7.58333 17.5ZM11.0833 5.83333C10.7613 5.83333 10.5 6.09467 10.5 6.41667C10.5 6.73867 10.7613 7 11.0833 7H18.0833C18.4053 7 18.6667 6.73867 18.6667 6.41667C18.6667 6.09467 18.4053 5.83333 18.0833 5.83333H11.0833ZM7.58333 11.6667H5.25C4.928 11.6667 4.66667 11.928 4.66667 12.25C4.66667 12.572 4.928 12.8333 5.25 12.8333H7.58333C7.90533 12.8333 8.16667 12.572 8.16667 12.25C8.16667 11.928 7.90533 11.6667 7.58333 11.6667ZM21.1668 16.4862L18.0098 19.5405C17.6167 19.9255 16.9762 19.9302 16.583 19.5452L14.9928 17.976C14.7642 17.7497 14.3943 17.752 14.168 17.9807C13.9417 18.2105 13.944 18.5803 14.1738 18.8055L15.7652 20.377C16.1875 20.79 16.7417 20.9965 17.2958 20.9965C17.85 20.9965 18.4053 20.7888 18.8253 20.3747L21.9788 17.325C22.2098 17.101 22.2168 16.7312 21.9928 16.5002C21.77 16.2692 21.399 16.2645 21.1668 16.4862Z",
|
|
191
217
|
fill: "currentColor"
|
|
192
218
|
}
|
|
193
219
|
) }),
|
|
194
|
-
/* @__PURE__ */ (0,
|
|
220
|
+
/* @__PURE__ */ (0, import_jsx_runtime4.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("clipPath", { id: "clip0_best_prices", children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("rect", { width: "28", height: "28", fill: "white" }) }) })
|
|
195
221
|
]
|
|
196
222
|
})
|
|
197
223
|
);
|
|
198
224
|
};
|
|
199
225
|
BestPricesIcon.displayName = "BestPricesIcon";
|
|
200
226
|
|
|
227
|
+
// src/primitives/icon/svg/bolt.tsx
|
|
228
|
+
var import_jsx_runtime5 = require("react/jsx-runtime");
|
|
229
|
+
var BoltIcon = (_a) => {
|
|
230
|
+
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
231
|
+
return /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(
|
|
232
|
+
"svg",
|
|
233
|
+
__spreadProps(__spreadValues(__spreadValues({
|
|
234
|
+
viewBox: "0 0 24 24",
|
|
235
|
+
className,
|
|
236
|
+
fill: "none"
|
|
237
|
+
}, getIconA11yProps(title)), props), {
|
|
238
|
+
children: [
|
|
239
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("title", { children: title }) : null,
|
|
240
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("g", { clipPath: "url(#bolt-clip)", children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
|
241
|
+
"path",
|
|
242
|
+
{
|
|
243
|
+
d: "M11.7372 24C11.4922 24 11.2432 23.946 11.0022 23.835C10.2162 23.472 9.83423 22.637 10.0722 21.805L11.8272 16H6.50123C5.70223 16 4.97023 15.632 4.49423 14.99C4.01823 14.348 3.87723 13.541 4.10823 12.776L7.13023 1.788C7.45523 0.714 8.41723 0 9.52623 0H13.8992C14.5872 0 15.2322 0.338 15.6242 0.903C16.0162 1.468 16.1062 2.191 15.8652 2.835L13.7052 9H17.5002C18.4422 9 19.2682 9.497 19.7092 10.33C20.1502 11.163 20.0982 12.124 19.5692 12.904L13.1592 23.216C12.8202 23.725 12.2912 24 11.7372 24ZM9.52723 1C8.86123 1 8.28423 1.428 8.09123 2.066L5.06923 13.054C4.92723 13.525 5.01123 14.009 5.29723 14.394C5.58323 14.779 6.02223 15 6.50223 15H12.5012C12.6592 15 12.8082 15.075 12.9022 15.202C12.9962 15.329 13.0252 15.493 12.9792 15.644L11.0322 22.086C10.9102 22.514 11.1532 22.802 11.4232 22.926C11.6922 23.05 12.0692 23.05 12.3192 22.673L18.7312 12.358C19.0592 11.874 19.0912 11.297 18.8262 10.797C18.5612 10.297 18.0662 9.999 17.5002 9.999H13.0002C12.8382 9.999 12.6862 9.92 12.5922 9.788C12.4982 9.656 12.4742 9.487 12.5282 9.333L14.9252 2.493C15.0572 2.14 15.0112 1.772 14.8022 1.472C14.5942 1.171 14.2642 0.999 13.8992 0.999H9.52623L9.52723 1Z",
|
|
244
|
+
fill: "currentColor"
|
|
245
|
+
}
|
|
246
|
+
) }),
|
|
247
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("clipPath", { id: "bolt-clip", children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("rect", { width: "24", height: "24", fill: "white" }) }) })
|
|
248
|
+
]
|
|
249
|
+
})
|
|
250
|
+
);
|
|
251
|
+
};
|
|
252
|
+
BoltIcon.displayName = "BoltIcon";
|
|
253
|
+
|
|
201
254
|
// src/primitives/icon/svg/check-circle.tsx
|
|
202
|
-
var
|
|
255
|
+
var import_jsx_runtime6 = require("react/jsx-runtime");
|
|
203
256
|
var CheckCircleIcon = (_a) => {
|
|
204
257
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
205
|
-
return /* @__PURE__ */ (0,
|
|
258
|
+
return /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(
|
|
206
259
|
"svg",
|
|
207
260
|
__spreadProps(__spreadValues(__spreadValues({
|
|
208
261
|
width: "24",
|
|
@@ -213,15 +266,15 @@ var CheckCircleIcon = (_a) => {
|
|
|
213
266
|
className
|
|
214
267
|
}, getIconA11yProps(title)), props), {
|
|
215
268
|
children: [
|
|
216
|
-
title ? /* @__PURE__ */ (0,
|
|
217
|
-
/* @__PURE__ */ (0,
|
|
269
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("title", { children: title }) : null,
|
|
270
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)("g", { clipPath: "url(#clip0_check_circle)", children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
|
|
218
271
|
"path",
|
|
219
272
|
{
|
|
220
273
|
d: "M12 0C5.383 0 0 5.383 0 12C0 18.617 5.383 24 12 24C18.617 24 24 18.617 24 12C24 5.383 18.617 0 12 0ZM18.2 10.512L13.774 14.857C12.991 15.625 11.983 16.008 10.974 16.008C9.976 16.008 8.978 15.632 8.198 14.879L6.299 13.012C5.905 12.625 5.9 11.992 6.287 11.598C6.673 11.203 7.308 11.198 7.701 11.586L9.594 13.447C10.37 14.197 11.595 14.193 12.375 13.429L16.8 9.085C17.193 8.697 17.824 8.704 18.214 9.098C18.601 9.492 18.595 10.125 18.2 10.512Z",
|
|
221
274
|
fill: "currentColor"
|
|
222
275
|
}
|
|
223
276
|
) }),
|
|
224
|
-
/* @__PURE__ */ (0,
|
|
277
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("clipPath", { id: "clip0_check_circle", children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("rect", { width: "24", height: "24", fill: "white" }) }) })
|
|
225
278
|
]
|
|
226
279
|
})
|
|
227
280
|
);
|
|
@@ -229,10 +282,10 @@ var CheckCircleIcon = (_a) => {
|
|
|
229
282
|
CheckCircleIcon.displayName = "CheckCircleIcon";
|
|
230
283
|
|
|
231
284
|
// src/primitives/icon/svg/chevron-down.tsx
|
|
232
|
-
var
|
|
285
|
+
var import_jsx_runtime7 = require("react/jsx-runtime");
|
|
233
286
|
var ChevronDownIcon = (_a) => {
|
|
234
287
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
235
|
-
return /* @__PURE__ */ (0,
|
|
288
|
+
return /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(
|
|
236
289
|
"svg",
|
|
237
290
|
__spreadProps(__spreadValues(__spreadValues({
|
|
238
291
|
viewBox: "0 0 14 14",
|
|
@@ -240,8 +293,8 @@ var ChevronDownIcon = (_a) => {
|
|
|
240
293
|
fill: "none"
|
|
241
294
|
}, getIconA11yProps(title)), props), {
|
|
242
295
|
children: [
|
|
243
|
-
title ? /* @__PURE__ */ (0,
|
|
244
|
-
/* @__PURE__ */ (0,
|
|
296
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("title", { children: title }) : null,
|
|
297
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
|
|
245
298
|
"path",
|
|
246
299
|
{
|
|
247
300
|
d: "M3.25 5.25L7 9L10.75 5.25",
|
|
@@ -257,11 +310,37 @@ var ChevronDownIcon = (_a) => {
|
|
|
257
310
|
};
|
|
258
311
|
ChevronDownIcon.displayName = "ChevronDownIcon";
|
|
259
312
|
|
|
313
|
+
// src/primitives/icon/svg/chevron-left.tsx
|
|
314
|
+
var import_jsx_runtime8 = require("react/jsx-runtime");
|
|
315
|
+
var ChevronLeftIcon = (_a) => {
|
|
316
|
+
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
317
|
+
return /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)(
|
|
318
|
+
"svg",
|
|
319
|
+
__spreadProps(__spreadValues(__spreadValues({
|
|
320
|
+
viewBox: "0 0 24 24",
|
|
321
|
+
className,
|
|
322
|
+
fill: "none"
|
|
323
|
+
}, getIconA11yProps(title)), props), {
|
|
324
|
+
children: [
|
|
325
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("title", { children: title }) : null,
|
|
326
|
+
/* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
|
|
327
|
+
"path",
|
|
328
|
+
{
|
|
329
|
+
d: "M10.5999 12.6786C10.5061 12.5856 10.4317 12.475 10.381 12.3531C10.3302 12.2313 10.3041 12.1006 10.3041 11.9686C10.3041 11.8366 10.3302 11.7058 10.381 11.584C10.4317 11.4621 10.5061 11.3515 10.5999 11.2586L15.1899 6.67857C15.2836 6.5856 15.358 6.475 15.4088 6.35314C15.4595 6.23128 15.4857 6.10058 15.4857 5.96857C15.4857 5.83655 15.4595 5.70585 15.4088 5.58399C15.358 5.46213 15.2836 5.35153 15.1899 5.25857C15.0025 5.07231 14.749 4.96777 14.4849 4.96777C14.2207 4.96777 13.9672 5.07231 13.7799 5.25857L9.18986 9.84857C8.62806 10.4111 8.3125 11.1736 8.3125 11.9686C8.3125 12.7636 8.62806 13.5261 9.18986 14.0886L13.7799 18.6786C13.9661 18.8633 14.2175 18.9675 14.4799 18.9686C14.6115 18.9693 14.7419 18.9441 14.8638 18.8943C14.9856 18.8446 15.0964 18.7712 15.1899 18.6786C15.2836 18.5856 15.358 18.475 15.4088 18.3531C15.4595 18.2313 15.4857 18.1006 15.4857 17.9686C15.4857 17.8366 15.4595 17.7058 15.4088 17.584C15.358 17.4621 15.2836 17.3515 15.1899 17.2586L10.5999 12.6786Z",
|
|
330
|
+
fill: "currentColor"
|
|
331
|
+
}
|
|
332
|
+
)
|
|
333
|
+
]
|
|
334
|
+
})
|
|
335
|
+
);
|
|
336
|
+
};
|
|
337
|
+
ChevronLeftIcon.displayName = "ChevronLeftIcon";
|
|
338
|
+
|
|
260
339
|
// src/primitives/icon/svg/chevron-right.tsx
|
|
261
|
-
var
|
|
340
|
+
var import_jsx_runtime9 = require("react/jsx-runtime");
|
|
262
341
|
var ChevronRightIcon = (_a) => {
|
|
263
342
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
264
|
-
return /* @__PURE__ */ (0,
|
|
343
|
+
return /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(
|
|
265
344
|
"svg",
|
|
266
345
|
__spreadProps(__spreadValues(__spreadValues({
|
|
267
346
|
viewBox: "0 0 16 16",
|
|
@@ -269,8 +348,8 @@ var ChevronRightIcon = (_a) => {
|
|
|
269
348
|
fill: "none"
|
|
270
349
|
}, getIconA11yProps(title)), props), {
|
|
271
350
|
children: [
|
|
272
|
-
title ? /* @__PURE__ */ (0,
|
|
273
|
-
/* @__PURE__ */ (0,
|
|
351
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("title", { children: title }) : null,
|
|
352
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
|
|
274
353
|
"path",
|
|
275
354
|
{
|
|
276
355
|
d: "M10.2665 6.56563L7.20654 3.50563C7.08163 3.38146 6.91266 3.31177 6.73653 3.31177C6.56041 3.31177 6.39144 3.38146 6.26653 3.50563C6.20405 3.5676 6.15445 3.64134 6.12061 3.72258C6.08676 3.80382 6.06934 3.89095 6.06934 3.97896C6.06934 4.06697 6.08676 4.15411 6.12061 4.23535C6.15445 4.31659 6.20405 4.39032 6.26653 4.4523L9.3332 7.50563C9.39569 7.5676 9.44528 7.64134 9.47913 7.72258C9.51298 7.80382 9.5304 7.89095 9.5304 7.97896C9.5304 8.06697 9.51298 8.15411 9.47913 8.23535C9.44528 8.31659 9.39569 8.39032 9.3332 8.4523L6.26653 11.5056C6.141 11.6303 6.07012 11.7997 6.0695 11.9766C6.06887 12.1535 6.13855 12.3234 6.2632 12.449C6.38785 12.5745 6.55727 12.6454 6.73418 12.646C6.91109 12.6466 7.081 12.5769 7.20654 12.4523L10.2665 9.3923C10.6411 9.0173 10.8514 8.50896 10.8514 7.97896C10.8514 7.44896 10.6411 6.94063 10.2665 6.56563Z",
|
|
@@ -284,10 +363,10 @@ var ChevronRightIcon = (_a) => {
|
|
|
284
363
|
ChevronRightIcon.displayName = "ChevronRightIcon";
|
|
285
364
|
|
|
286
365
|
// src/primitives/icon/svg/chevron-up.tsx
|
|
287
|
-
var
|
|
366
|
+
var import_jsx_runtime10 = require("react/jsx-runtime");
|
|
288
367
|
var ChevronUpIcon = (_a) => {
|
|
289
368
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
290
|
-
return /* @__PURE__ */ (0,
|
|
369
|
+
return /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)(
|
|
291
370
|
"svg",
|
|
292
371
|
__spreadProps(__spreadValues(__spreadValues({
|
|
293
372
|
viewBox: "0 0 14 14",
|
|
@@ -295,8 +374,8 @@ var ChevronUpIcon = (_a) => {
|
|
|
295
374
|
fill: "none"
|
|
296
375
|
}, getIconA11yProps(title)), props), {
|
|
297
376
|
children: [
|
|
298
|
-
title ? /* @__PURE__ */ (0,
|
|
299
|
-
/* @__PURE__ */ (0,
|
|
377
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("title", { children: title }) : null,
|
|
378
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
|
|
300
379
|
"path",
|
|
301
380
|
{
|
|
302
381
|
d: "M3.25 8.75L7 5L10.75 8.75",
|
|
@@ -313,10 +392,10 @@ var ChevronUpIcon = (_a) => {
|
|
|
313
392
|
ChevronUpIcon.displayName = "ChevronUpIcon";
|
|
314
393
|
|
|
315
394
|
// src/primitives/icon/svg/close.tsx
|
|
316
|
-
var
|
|
395
|
+
var import_jsx_runtime11 = require("react/jsx-runtime");
|
|
317
396
|
var CloseIcon = (_a) => {
|
|
318
397
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
319
|
-
return /* @__PURE__ */ (0,
|
|
398
|
+
return /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)(
|
|
320
399
|
"svg",
|
|
321
400
|
__spreadProps(__spreadValues(__spreadValues({
|
|
322
401
|
width: "16",
|
|
@@ -327,8 +406,8 @@ var CloseIcon = (_a) => {
|
|
|
327
406
|
className
|
|
328
407
|
}, getIconA11yProps(title)), props), {
|
|
329
408
|
children: [
|
|
330
|
-
title ? /* @__PURE__ */ (0,
|
|
331
|
-
/* @__PURE__ */ (0,
|
|
409
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("title", { children: title }) : null,
|
|
410
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
|
|
332
411
|
"path",
|
|
333
412
|
{
|
|
334
413
|
d: "M12 4L4 12M4 4l8 8",
|
|
@@ -344,11 +423,38 @@ var CloseIcon = (_a) => {
|
|
|
344
423
|
};
|
|
345
424
|
CloseIcon.displayName = "CloseIcon";
|
|
346
425
|
|
|
426
|
+
// src/primitives/icon/svg/copy.tsx
|
|
427
|
+
var import_jsx_runtime12 = require("react/jsx-runtime");
|
|
428
|
+
var CopyIcon = (_a) => {
|
|
429
|
+
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
430
|
+
return /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)(
|
|
431
|
+
"svg",
|
|
432
|
+
__spreadProps(__spreadValues(__spreadValues({
|
|
433
|
+
viewBox: "0 0 16 16",
|
|
434
|
+
className,
|
|
435
|
+
fill: "none"
|
|
436
|
+
}, getIconA11yProps(title)), props), {
|
|
437
|
+
children: [
|
|
438
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("title", { children: title }) : null,
|
|
439
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)("g", { clipPath: "url(#clip0_copy)", children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
|
|
440
|
+
"path",
|
|
441
|
+
{
|
|
442
|
+
d: "M10 13.3333H3.33333C2.4496 13.3323 1.60237 12.9807 0.97748 12.3559C0.352588 11.731 0.00105857 10.8837 0 10L0 3.33333C0.00105857 2.4496 0.352588 1.60237 0.97748 0.97748C1.60237 0.352588 2.4496 0.00105857 3.33333 0L10 0C10.8837 0.00105857 11.731 0.352588 12.3559 0.97748C12.9807 1.60237 13.3323 2.4496 13.3333 3.33333V10C13.3323 10.8837 12.9807 11.731 12.3559 12.3559C11.731 12.9807 10.8837 13.3323 10 13.3333ZM3.33333 1.33333C2.8029 1.33333 2.29419 1.54405 1.91912 1.91912C1.54405 2.29419 1.33333 2.8029 1.33333 3.33333V10C1.33333 10.5304 1.54405 11.0391 1.91912 11.4142C2.29419 11.7893 2.8029 12 3.33333 12H10C10.5304 12 11.0391 11.7893 11.4142 11.4142C11.7893 11.0391 12 10.5304 12 10V3.33333C12 2.8029 11.7893 2.29419 11.4142 1.91912C11.0391 1.54405 10.5304 1.33333 10 1.33333H3.33333ZM16 12.6667V4C16 3.82319 15.9298 3.65362 15.8047 3.5286C15.6797 3.40357 15.5101 3.33333 15.3333 3.33333C15.1565 3.33333 14.987 3.40357 14.8619 3.5286C14.7369 3.65362 14.6667 3.82319 14.6667 4V12.6667C14.6667 13.1971 14.456 13.7058 14.0809 14.0809C13.7058 14.456 13.1971 14.6667 12.6667 14.6667H4C3.82319 14.6667 3.65362 14.7369 3.5286 14.8619C3.40357 14.987 3.33333 15.1565 3.33333 15.3333C3.33333 15.5101 3.40357 15.6797 3.5286 15.8047C3.65362 15.9298 3.82319 16 4 16H12.6667C13.5504 15.9989 14.3976 15.6474 15.0225 15.0225C15.6474 14.3976 15.9989 13.5504 16 12.6667Z",
|
|
443
|
+
fill: "currentColor"
|
|
444
|
+
}
|
|
445
|
+
) }),
|
|
446
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("clipPath", { id: "clip0_copy", children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("rect", { width: "16", height: "16", fill: "white" }) }) })
|
|
447
|
+
]
|
|
448
|
+
})
|
|
449
|
+
);
|
|
450
|
+
};
|
|
451
|
+
CopyIcon.displayName = "CopyIcon";
|
|
452
|
+
|
|
347
453
|
// src/primitives/icon/svg/create-account.tsx
|
|
348
|
-
var
|
|
454
|
+
var import_jsx_runtime13 = require("react/jsx-runtime");
|
|
349
455
|
var CreateAccountIcon = (_a) => {
|
|
350
456
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
351
|
-
return /* @__PURE__ */ (0,
|
|
457
|
+
return /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)(
|
|
352
458
|
"svg",
|
|
353
459
|
__spreadProps(__spreadValues(__spreadValues({
|
|
354
460
|
width: "28",
|
|
@@ -359,26 +465,52 @@ var CreateAccountIcon = (_a) => {
|
|
|
359
465
|
className
|
|
360
466
|
}, getIconA11yProps(title)), props), {
|
|
361
467
|
children: [
|
|
362
|
-
title ? /* @__PURE__ */ (0,
|
|
363
|
-
/* @__PURE__ */ (0,
|
|
468
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("title", { children: title }) : null,
|
|
469
|
+
/* @__PURE__ */ (0, import_jsx_runtime13.jsx)("g", { clipPath: "url(#clip0_create_account)", children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
|
|
364
470
|
"path",
|
|
365
471
|
{
|
|
366
472
|
d: "M22.1667 4.66667V0.583333C22.1667 0.261333 22.428 0 22.75 0C23.072 0 23.3333 0.261333 23.3333 0.583333V4.66667H27.4167C27.7387 4.66667 28 4.928 28 5.25C28 5.572 27.7387 5.83333 27.4167 5.83333H23.3333V9.91667C23.3333 10.2387 23.072 10.5 22.75 10.5C22.428 10.5 22.1667 10.2387 22.1667 9.91667V5.83333H18.0833C17.7613 5.83333 17.5 5.572 17.5 5.25C17.5 4.928 17.7613 4.66667 18.0833 4.66667H22.1667ZM18.6667 11.6667C18.6667 14.2403 16.5737 16.3333 14 16.3333C11.4263 16.3333 9.33333 14.2403 9.33333 11.6667C9.33333 9.093 11.4263 7 14 7C16.5737 7 18.6667 9.093 18.6667 11.6667ZM17.5 11.6667C17.5 9.737 15.9297 8.16667 14 8.16667C12.0703 8.16667 10.5 9.737 10.5 11.6667C10.5 13.5963 12.0703 15.1667 14 15.1667C15.9297 15.1667 17.5 13.5963 17.5 11.6667ZM27.3922 9.90617C27.7958 11.2292 28 12.6058 28 14C28 21.7198 21.7198 28 14 28C6.28017 28 0 21.7198 0 14C0 6.28017 6.28017 0 14 0C15.4548 0 16.8898 0.221667 18.2607 0.660333C18.5675 0.758333 18.7367 1.08617 18.6387 1.393C18.5395 1.69983 18.2105 1.87017 17.9048 1.771C16.6483 1.36967 15.3335 1.1655 13.9988 1.1655C6.92417 1.16667 1.16667 6.92417 1.16667 14C1.16667 18.5197 3.521 22.4933 7.063 24.78C7.5005 21.3383 10.4417 18.6667 14 18.6667C17.5583 18.6667 20.4995 21.3383 20.937 24.78C24.4778 22.4933 26.8333 18.5197 26.8333 14C26.8333 12.7213 26.6467 11.459 26.2757 10.2468C26.1823 9.93883 26.355 9.61217 26.6642 9.51883C26.9722 9.422 27.2977 9.59933 27.3922 9.90617ZM14 26.8333C16.0918 26.8333 18.0623 26.32 19.8088 25.4287C19.6805 22.3253 17.1348 19.8333 14 19.8333C10.8652 19.8333 8.31833 22.3242 8.19117 25.4287C9.93767 26.32 11.9082 26.8333 14 26.8333Z",
|
|
367
473
|
fill: "currentColor"
|
|
368
474
|
}
|
|
369
475
|
) }),
|
|
370
|
-
/* @__PURE__ */ (0,
|
|
476
|
+
/* @__PURE__ */ (0, import_jsx_runtime13.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("clipPath", { id: "clip0_create_account", children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("rect", { width: "28", height: "28", fill: "white" }) }) })
|
|
371
477
|
]
|
|
372
478
|
})
|
|
373
479
|
);
|
|
374
480
|
};
|
|
375
481
|
CreateAccountIcon.displayName = "CreateAccountIcon";
|
|
376
482
|
|
|
483
|
+
// src/primitives/icon/svg/credit-card.tsx
|
|
484
|
+
var import_jsx_runtime14 = require("react/jsx-runtime");
|
|
485
|
+
var CreditCardIcon = (_a) => {
|
|
486
|
+
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
487
|
+
return /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)(
|
|
488
|
+
"svg",
|
|
489
|
+
__spreadProps(__spreadValues(__spreadValues({
|
|
490
|
+
viewBox: "0 0 24 24",
|
|
491
|
+
className,
|
|
492
|
+
fill: "none"
|
|
493
|
+
}, getIconA11yProps(title)), props), {
|
|
494
|
+
children: [
|
|
495
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("title", { children: title }) : null,
|
|
496
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
|
|
497
|
+
"path",
|
|
498
|
+
{
|
|
499
|
+
d: "M19.5 3H4.5C2.019 3 0 5.019 0 7.5V16.5C0 18.981 2.019 21 4.5 21H19.5C21.981 21 24 18.981 24 16.5V7.5C24 5.019 21.981 3 19.5 3ZM1 8H23V10H1V8ZM4.5 4H19.5C21.258 4 22.704 5.308 22.949 7H1.051C1.296 5.308 2.742 4 4.5 4ZM19.5 20H4.5C2.57 20 1 18.43 1 16.5V11H23V16.5C23 18.43 21.43 20 19.5 20ZM5 14C3.897 14 3 14.897 3 16C3 17.103 3.897 18 5 18C6.103 18 7 17.103 7 16C7 14.897 6.103 14 5 14ZM5 17C4.449 17 4 16.552 4 16C4 15.448 4.449 15 5 15C5.551 15 6 15.448 6 16C6 16.552 5.551 17 5 17Z",
|
|
500
|
+
fill: "currentColor"
|
|
501
|
+
}
|
|
502
|
+
)
|
|
503
|
+
]
|
|
504
|
+
})
|
|
505
|
+
);
|
|
506
|
+
};
|
|
507
|
+
CreditCardIcon.displayName = "CreditCardIcon";
|
|
508
|
+
|
|
377
509
|
// src/primitives/icon/svg/disconnect.tsx
|
|
378
|
-
var
|
|
510
|
+
var import_jsx_runtime15 = require("react/jsx-runtime");
|
|
379
511
|
var DisconnectIcon = (_a) => {
|
|
380
512
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
381
|
-
return /* @__PURE__ */ (0,
|
|
513
|
+
return /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)(
|
|
382
514
|
"svg",
|
|
383
515
|
__spreadProps(__spreadValues(__spreadValues({
|
|
384
516
|
viewBox: "0 0 16 16",
|
|
@@ -386,8 +518,8 @@ var DisconnectIcon = (_a) => {
|
|
|
386
518
|
fill: "none"
|
|
387
519
|
}, getIconA11yProps(title)), props), {
|
|
388
520
|
children: [
|
|
389
|
-
title ? /* @__PURE__ */ (0,
|
|
390
|
-
/* @__PURE__ */ (0,
|
|
521
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("title", { children: title }) : null,
|
|
522
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
|
|
391
523
|
"path",
|
|
392
524
|
{
|
|
393
525
|
d: "M6.5 3H4a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h2.5",
|
|
@@ -396,7 +528,7 @@ var DisconnectIcon = (_a) => {
|
|
|
396
528
|
strokeLinecap: "round"
|
|
397
529
|
}
|
|
398
530
|
),
|
|
399
|
-
/* @__PURE__ */ (0,
|
|
531
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
|
|
400
532
|
"path",
|
|
401
533
|
{
|
|
402
534
|
d: "M9.5 5.5 12 8m0 0-2.5 2.5M12 8H6",
|
|
@@ -412,11 +544,60 @@ var DisconnectIcon = (_a) => {
|
|
|
412
544
|
};
|
|
413
545
|
DisconnectIcon.displayName = "DisconnectIcon";
|
|
414
546
|
|
|
547
|
+
// src/primitives/icon/svg/dots-horizontal.tsx
|
|
548
|
+
var import_jsx_runtime16 = require("react/jsx-runtime");
|
|
549
|
+
var DotsHorizontalIcon = (_a) => {
|
|
550
|
+
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
551
|
+
return /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)(
|
|
552
|
+
"svg",
|
|
553
|
+
__spreadProps(__spreadValues(__spreadValues({
|
|
554
|
+
viewBox: "0 0 16 16",
|
|
555
|
+
className,
|
|
556
|
+
fill: "none"
|
|
557
|
+
}, getIconA11yProps(title)), props), {
|
|
558
|
+
children: [
|
|
559
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("title", { children: title }) : null,
|
|
560
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsx)("circle", { cx: "3.5", cy: "8", r: "1.25", fill: "currentColor" }),
|
|
561
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsx)("circle", { cx: "8", cy: "8", r: "1.25", fill: "currentColor" }),
|
|
562
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsx)("circle", { cx: "12.5", cy: "8", r: "1.25", fill: "currentColor" })
|
|
563
|
+
]
|
|
564
|
+
})
|
|
565
|
+
);
|
|
566
|
+
};
|
|
567
|
+
DotsHorizontalIcon.displayName = "DotsHorizontalIcon";
|
|
568
|
+
|
|
569
|
+
// src/primitives/icon/svg/document.tsx
|
|
570
|
+
var import_jsx_runtime17 = require("react/jsx-runtime");
|
|
571
|
+
var DocumentIcon = (_a) => {
|
|
572
|
+
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
573
|
+
return /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(
|
|
574
|
+
"svg",
|
|
575
|
+
__spreadProps(__spreadValues(__spreadValues({
|
|
576
|
+
viewBox: "0 0 16 16",
|
|
577
|
+
className,
|
|
578
|
+
fill: "none"
|
|
579
|
+
}, getIconA11yProps(title)), props), {
|
|
580
|
+
children: [
|
|
581
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("title", { children: title }) : null,
|
|
582
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)("g", { clipPath: "url(#document-clip)", children: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
583
|
+
"path",
|
|
584
|
+
{
|
|
585
|
+
d: "M11.3335 9.33335C11.3335 9.51016 11.2633 9.67973 11.1382 9.80475C11.0132 9.92978 10.8436 10 10.6668 10H5.3335C5.15669 10 4.98712 9.92978 4.86209 9.80475C4.73707 9.67973 4.66683 9.51016 4.66683 9.33335C4.66683 9.15654 4.73707 8.98697 4.86209 8.86194C4.98712 8.73692 5.15669 8.66668 5.3335 8.66668H10.6668C10.8436 8.66668 11.0132 8.73692 11.1382 8.86194C11.2633 8.98697 11.3335 9.15654 11.3335 9.33335ZM8.66683 11.3333H5.3335C5.15669 11.3333 4.98712 11.4036 4.86209 11.5286C4.73707 11.6536 4.66683 11.8232 4.66683 12C4.66683 12.1768 4.73707 12.3464 4.86209 12.4714C4.98712 12.5964 5.15669 12.6667 5.3335 12.6667H8.66683C8.84364 12.6667 9.01321 12.5964 9.13823 12.4714C9.26326 12.3464 9.3335 12.1768 9.3335 12C9.3335 11.8232 9.26326 11.6536 9.13823 11.5286C9.01321 11.4036 8.84364 11.3333 8.66683 11.3333ZM14.6668 6.99002V12.6667C14.6658 13.5504 14.3142 14.3976 13.6894 15.0225C13.0645 15.6474 12.2172 15.999 11.3335 16H4.66683C3.7831 15.999 2.93587 15.6474 2.31098 15.0225C1.68608 14.3976 1.33455 13.5504 1.3335 12.6667V3.33335C1.33455 2.44962 1.68608 1.60239 2.31098 0.977495C2.93587 0.352603 3.7831 0.00107394 4.66683 1.53658e-05H7.67683C8.28991 -0.00156258 8.89722 0.118407 9.46365 0.352988C10.0301 0.587569 10.5444 0.932107 10.9768 1.36668L13.2995 3.69068C13.7343 4.12284 14.0791 4.63699 14.3138 5.20333C14.5485 5.76968 14.6685 6.37696 14.6668 6.99002ZM10.0342 2.30935C9.82435 2.10612 9.58879 1.9313 9.3335 1.78935V4.66668C9.3335 4.84349 9.40373 5.01306 9.52876 5.13809C9.65378 5.26311 9.82335 5.33335 10.0002 5.33335H12.8775C12.7355 5.07814 12.5604 4.84278 12.3568 4.63335L10.0342 2.30935ZM13.3335 6.99002C13.3335 6.88002 13.3122 6.77468 13.3022 6.66668H10.0002C9.46973 6.66668 8.96102 6.45597 8.58595 6.0809C8.21088 5.70582 8.00016 5.19711 8.00016 4.66668V1.36468C7.89216 1.35468 7.78616 1.33335 7.67683 1.33335H4.66683C4.1364 1.33335 3.62769 1.54406 3.25262 1.91914C2.87754 2.29421 2.66683 2.80292 2.66683 3.33335V12.6667C2.66683 13.1971 2.87754 13.7058 3.25262 14.0809C3.62769 14.456 4.1364 14.6667 4.66683 14.6667H11.3335C11.8639 14.6667 12.3726 14.456 12.7477 14.0809C13.1228 13.7058 13.3335 13.1971 13.3335 12.6667V6.99002Z",
|
|
586
|
+
fill: "currentColor"
|
|
587
|
+
}
|
|
588
|
+
) }),
|
|
589
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("clipPath", { id: "document-clip", children: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("rect", { width: "16", height: "16", fill: "white" }) }) })
|
|
590
|
+
]
|
|
591
|
+
})
|
|
592
|
+
);
|
|
593
|
+
};
|
|
594
|
+
DocumentIcon.displayName = "DocumentIcon";
|
|
595
|
+
|
|
415
596
|
// src/primitives/icon/svg/download.tsx
|
|
416
|
-
var
|
|
597
|
+
var import_jsx_runtime18 = require("react/jsx-runtime");
|
|
417
598
|
var DownloadIcon = (_a) => {
|
|
418
599
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
419
|
-
return /* @__PURE__ */ (0,
|
|
600
|
+
return /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(
|
|
420
601
|
"svg",
|
|
421
602
|
__spreadProps(__spreadValues(__spreadValues({
|
|
422
603
|
viewBox: "0 0 16 16",
|
|
@@ -424,8 +605,8 @@ var DownloadIcon = (_a) => {
|
|
|
424
605
|
fill: "none"
|
|
425
606
|
}, getIconA11yProps(title)), props), {
|
|
426
607
|
children: [
|
|
427
|
-
title ? /* @__PURE__ */ (0,
|
|
428
|
-
/* @__PURE__ */ (0,
|
|
608
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("title", { children: title }) : null,
|
|
609
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
|
|
429
610
|
"path",
|
|
430
611
|
{
|
|
431
612
|
d: "M8 2.5v7m0 0 2.5-2.5M8 9.5 5.5 7",
|
|
@@ -435,29 +616,100 @@ var DownloadIcon = (_a) => {
|
|
|
435
616
|
strokeLinejoin: "round"
|
|
436
617
|
}
|
|
437
618
|
),
|
|
438
|
-
/* @__PURE__ */ (0,
|
|
619
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("path", { d: "M2.5 12.5h11", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round" })
|
|
439
620
|
]
|
|
440
621
|
})
|
|
441
622
|
);
|
|
442
623
|
};
|
|
443
624
|
DownloadIcon.displayName = "DownloadIcon";
|
|
444
625
|
|
|
626
|
+
// src/primitives/icon/svg/external-link.tsx
|
|
627
|
+
var import_jsx_runtime19 = require("react/jsx-runtime");
|
|
628
|
+
var ExternalLinkIcon = (_a) => {
|
|
629
|
+
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
630
|
+
return /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)(
|
|
631
|
+
"svg",
|
|
632
|
+
__spreadProps(__spreadValues(__spreadValues({
|
|
633
|
+
viewBox: "0 0 14 14",
|
|
634
|
+
className,
|
|
635
|
+
fill: "none"
|
|
636
|
+
}, getIconA11yProps(title)), props), {
|
|
637
|
+
children: [
|
|
638
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("title", { children: title }) : null,
|
|
639
|
+
/* @__PURE__ */ (0, import_jsx_runtime19.jsx)("g", { clipPath: "url(#clip0_422_235)", children: /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
|
|
640
|
+
"path",
|
|
641
|
+
{
|
|
642
|
+
d: "M11.6667 6.41667V11.0833C11.6667 12.6916 10.3582 14 8.75 14H2.91667C1.30842 14 0 12.6916 0 11.0833V5.25C0 3.64175 1.30842 2.33333 2.91667 2.33333H7.58333C7.90533 2.33333 8.16667 2.59467 8.16667 2.91667C8.16667 3.23867 7.90533 3.5 7.58333 3.5H2.91667C1.95183 3.5 1.16667 4.28517 1.16667 5.25V11.0833C1.16667 12.0482 1.95183 12.8333 2.91667 12.8333H8.75C9.71483 12.8333 10.5 12.0482 10.5 11.0833V6.41667C10.5 6.09467 10.7613 5.83333 11.0833 5.83333C11.4053 5.83333 11.6667 6.09467 11.6667 6.41667ZM12.25 0H8.16667C7.84467 0 7.58333 0.261333 7.58333 0.583333C7.58333 0.905333 7.84467 1.16667 8.16667 1.16667H12.0085L4.83758 8.33758C4.6095 8.56567 4.6095 8.93433 4.83758 9.16242C4.95133 9.27617 5.10067 9.33333 5.25 9.33333C5.39933 9.33333 5.54867 9.27617 5.66242 9.16242L12.8333 1.9915V5.83333C12.8333 6.15533 13.0947 6.41667 13.4167 6.41667C13.7387 6.41667 14 6.15533 14 5.83333V1.75C14 0.785167 13.2148 0 12.25 0Z",
|
|
643
|
+
fill: "currentColor"
|
|
644
|
+
}
|
|
645
|
+
) }),
|
|
646
|
+
/* @__PURE__ */ (0, import_jsx_runtime19.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("clipPath", { id: "clip0_422_235", children: /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("rect", { width: "14", height: "14", fill: "white" }) }) })
|
|
647
|
+
]
|
|
648
|
+
})
|
|
649
|
+
);
|
|
650
|
+
};
|
|
651
|
+
ExternalLinkIcon.displayName = "ExternalLinkIcon";
|
|
652
|
+
|
|
653
|
+
// src/primitives/icon/svg/info.tsx
|
|
654
|
+
var import_jsx_runtime20 = require("react/jsx-runtime");
|
|
655
|
+
var InfoIcon = (_a) => {
|
|
656
|
+
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
657
|
+
return /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)(
|
|
658
|
+
"svg",
|
|
659
|
+
__spreadProps(__spreadValues(__spreadValues({
|
|
660
|
+
viewBox: "0 0 12 12",
|
|
661
|
+
className,
|
|
662
|
+
fill: "none"
|
|
663
|
+
}, getIconA11yProps(title)), props), {
|
|
664
|
+
children: [
|
|
665
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("title", { children: title }) : null,
|
|
666
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsxs)("g", { clipPath: "url(#info_clip)", children: [
|
|
667
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
|
|
668
|
+
"path",
|
|
669
|
+
{
|
|
670
|
+
d: "M6 0C4.81331 0 3.65328 0.351894 2.66658 1.01118C1.67989 1.67047 0.910851 2.60754 0.456726 3.7039C0.00259972 4.80026 -0.11622 6.00666 0.115291 7.17054C0.346802 8.33443 0.918247 9.40353 1.75736 10.2426C2.59648 11.0818 3.66558 11.6532 4.82946 11.8847C5.99335 12.1162 7.19975 11.9974 8.2961 11.5433C9.39246 11.0892 10.3295 10.3201 10.9888 9.33342C11.6481 8.34673 12 7.18669 12 6C11.9983 4.40923 11.3656 2.88411 10.2407 1.75926C9.1159 0.634414 7.59077 0.00172054 6 0ZM6 11C5.0111 11 4.0444 10.7068 3.22215 10.1573C2.39991 9.60794 1.75904 8.82705 1.38061 7.91342C1.00217 6.99979 0.90315 5.99445 1.09608 5.02455C1.289 4.05464 1.76521 3.16373 2.46447 2.46447C3.16373 1.7652 4.05465 1.289 5.02455 1.09607C5.99446 0.903148 6.99979 1.00216 7.91342 1.3806C8.82705 1.75904 9.60794 2.3999 10.1574 3.22215C10.7068 4.04439 11 5.01109 11 6C10.9985 7.32564 10.4713 8.59656 9.53393 9.53393C8.59656 10.4713 7.32564 10.9985 6 11Z",
|
|
671
|
+
fill: "currentColor"
|
|
672
|
+
}
|
|
673
|
+
),
|
|
674
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
|
|
675
|
+
"path",
|
|
676
|
+
{
|
|
677
|
+
d: "M6 5H5.5C5.36739 5 5.24021 5.05268 5.14645 5.14645C5.05268 5.24021 5 5.36739 5 5.5C5 5.63261 5.05268 5.75979 5.14645 5.85355C5.24021 5.94732 5.36739 6 5.5 6H6V9C6 9.13261 6.05268 9.25979 6.14645 9.35355C6.24021 9.44732 6.36739 9.5 6.5 9.5C6.63261 9.5 6.75979 9.44732 6.85355 9.35355C6.94732 9.25979 7 9.13261 7 9V6C7 5.73478 6.89464 5.48043 6.70711 5.29289C6.51957 5.10536 6.26522 5 6 5Z",
|
|
678
|
+
fill: "currentColor"
|
|
679
|
+
}
|
|
680
|
+
),
|
|
681
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
|
|
682
|
+
"path",
|
|
683
|
+
{
|
|
684
|
+
d: "M6 4C6.41421 4 6.75 3.66421 6.75 3.25C6.75 2.83579 6.41421 2.5 6 2.5C5.58579 2.5 5.25 2.83579 5.25 3.25C5.25 3.66421 5.58579 4 6 4Z",
|
|
685
|
+
fill: "currentColor"
|
|
686
|
+
}
|
|
687
|
+
)
|
|
688
|
+
] }),
|
|
689
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("clipPath", { id: "info_clip", children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("rect", { width: "12", height: "12", fill: "white" }) }) })
|
|
690
|
+
]
|
|
691
|
+
})
|
|
692
|
+
);
|
|
693
|
+
};
|
|
694
|
+
InfoIcon.displayName = "InfoIcon";
|
|
695
|
+
|
|
445
696
|
// src/primitives/icon/icon.constants.ts
|
|
446
697
|
var iconSizeClasses = {
|
|
447
698
|
xxs: "h-2 w-2",
|
|
448
699
|
xs: "h-3 w-3",
|
|
449
700
|
s: "h-4 w-4",
|
|
701
|
+
ms: "h-5 w-5",
|
|
450
702
|
m: "h-6 w-6",
|
|
451
703
|
l: "h-8 w-8",
|
|
452
704
|
xl: "h-10 w-10",
|
|
453
705
|
xxl: "h-12 w-12"
|
|
454
706
|
};
|
|
455
707
|
|
|
456
|
-
// src/primitives/icon/svg/
|
|
457
|
-
var
|
|
458
|
-
var
|
|
708
|
+
// src/primitives/icon/svg/check-badge.tsx
|
|
709
|
+
var import_jsx_runtime21 = require("react/jsx-runtime");
|
|
710
|
+
var CheckBadgeIcon = (_a) => {
|
|
459
711
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
460
|
-
return /* @__PURE__ */ (0,
|
|
712
|
+
return /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)(
|
|
461
713
|
"svg",
|
|
462
714
|
__spreadProps(__spreadValues(__spreadValues({
|
|
463
715
|
viewBox: "0 0 16 16",
|
|
@@ -465,21 +717,91 @@ var DotsHorizontalIcon = (_a) => {
|
|
|
465
717
|
fill: "none"
|
|
466
718
|
}, getIconA11yProps(title)), props), {
|
|
467
719
|
children: [
|
|
468
|
-
title ? /* @__PURE__ */ (0,
|
|
469
|
-
/* @__PURE__ */ (0,
|
|
470
|
-
|
|
471
|
-
|
|
720
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("title", { children: title }) : null,
|
|
721
|
+
/* @__PURE__ */ (0, import_jsx_runtime21.jsx)("g", { clipPath: "url(#check-badge-clip)", children: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
|
|
722
|
+
"path",
|
|
723
|
+
{
|
|
724
|
+
d: "M15.4173 6.57883L13.9833 5.14283V3.9975C13.9833 2.89683 13.0886 2.00083 11.9893 2.00083H10.8453L9.4113 0.5655C8.6573 -0.1885 7.34397 -0.1885 6.59063 0.5655L5.15663 2.00083H4.01263C2.91263 2.00083 2.01863 2.89617 2.01863 3.9975V5.14283L0.583965 6.57883C-0.192702 7.3575 -0.192702 8.6235 0.583965 9.40217L2.01796 10.8382V11.9835C2.01796 13.0842 2.91263 13.9802 4.01196 13.9802H5.15596L6.58997 15.4155C6.96663 15.7922 7.46797 16.0002 8.00063 16.0002C8.5333 16.0002 9.03397 15.7922 9.41063 15.4155L10.8446 13.9802H11.9886C13.0886 13.9802 13.9826 13.0848 13.9826 11.9835V10.8382L15.4173 9.40217C16.194 8.6235 16.194 7.3575 15.4173 6.57883ZM12.136 6.8075L8.76663 10.1375C8.3573 10.5442 7.81797 10.7482 7.2793 10.7482C6.74063 10.7482 6.20396 10.5448 5.7933 10.1395L4.06063 8.4735C3.7993 8.21417 3.79663 7.79283 4.05596 7.53083C4.31596 7.27017 4.73663 7.26683 4.9993 7.52617L6.7313 9.1915C7.0333 9.49083 7.52463 9.4915 7.8273 9.1915L11.1973 5.86083C11.46 5.60083 11.8813 5.6035 12.1406 5.8655C12.4 6.1275 12.3973 6.54817 12.136 6.8075Z",
|
|
725
|
+
fill: "currentColor"
|
|
726
|
+
}
|
|
727
|
+
) }),
|
|
728
|
+
/* @__PURE__ */ (0, import_jsx_runtime21.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("clipPath", { id: "check-badge-clip", children: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("rect", { width: "16", height: "16", fill: "white" }) }) })
|
|
472
729
|
]
|
|
473
730
|
})
|
|
474
731
|
);
|
|
475
732
|
};
|
|
476
|
-
|
|
733
|
+
CheckBadgeIcon.displayName = "CheckBadgeIcon";
|
|
734
|
+
|
|
735
|
+
// src/primitives/icon/svg/discord.tsx
|
|
736
|
+
var import_jsx_runtime22 = require("react/jsx-runtime");
|
|
737
|
+
var DiscordIcon = (_a) => {
|
|
738
|
+
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
739
|
+
return /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)(
|
|
740
|
+
"svg",
|
|
741
|
+
__spreadProps(__spreadValues(__spreadValues({
|
|
742
|
+
viewBox: "0 0 20 20",
|
|
743
|
+
className,
|
|
744
|
+
fill: "none"
|
|
745
|
+
}, getIconA11yProps(title)), props), {
|
|
746
|
+
children: [
|
|
747
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime22.jsx)("title", { children: title }) : null,
|
|
748
|
+
/* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
|
|
749
|
+
"path",
|
|
750
|
+
{
|
|
751
|
+
d: "M16.3546 4.49236C15.1858 3.95607 13.9329 3.56111 12.6227 3.33499C12.599 3.3304 12.5754 3.34186 12.5624 3.36325C12.4012 3.64973 12.2224 4.02406 12.0979 4.31742C10.6884 4.10657 9.28659 4.10657 7.90615 4.31742C7.78162 4.01719 7.59598 3.64973 7.43479 3.36325C7.42181 3.34186 7.39812 3.33117 7.37444 3.33499C6.06504 3.56035 4.81218 3.95531 3.64258 4.49236C3.63265 4.49618 3.62348 4.50382 3.61813 4.51298C1.24151 8.06379 0.589865 11.5275 0.909193 14.9484C0.910721 14.9653 0.919888 14.9813 0.932875 14.9912C2.50125 16.1433 4.01997 16.8423 5.51119 17.3052C5.53487 17.3128 5.56008 17.3037 5.57536 17.2838C5.9283 16.8025 6.24228 16.2945 6.51195 15.7605C6.52799 15.7292 6.51271 15.6918 6.47986 15.6795C5.98101 15.4901 5.5066 15.2594 5.04976 14.9981C5.01386 14.9767 5.0108 14.9255 5.04365 14.9003C5.13991 14.8285 5.23617 14.7536 5.32784 14.678C5.34465 14.6643 5.36756 14.6612 5.38743 14.6704C8.38819 16.0401 11.6365 16.0401 14.6013 14.6704C14.6212 14.6612 14.6441 14.6635 14.6617 14.678C14.7534 14.7536 14.8496 14.8293 14.9466 14.9011C14.9803 14.9255 14.978 14.9775 14.9413 14.9989C14.4845 15.2655 14.01 15.4916 13.5104 15.6795C13.4776 15.6918 13.4638 15.73 13.4791 15.7613C13.7541 16.2945 14.0689 16.8025 14.4149 17.2838C14.4295 17.3044 14.4554 17.3128 14.4791 17.306C15.9772 16.8423 17.4967 16.1433 19.0643 14.992C19.078 14.9821 19.0865 14.9668 19.088 14.95C19.4699 10.995 18.4478 7.55959 16.3775 4.51451C16.3737 4.50382 16.3645 4.49618 16.3546 4.49236ZM6.96038 12.8659C6.05664 12.8659 5.31256 12.0363 5.31256 11.018C5.31256 9.99962 6.04213 9.16998 6.96038 9.16998C7.88552 9.16998 8.62272 10.0065 8.60821 11.018C8.60821 12.0371 7.87788 12.8659 6.96038 12.8659ZM13.0528 12.8659C12.1498 12.8659 11.405 12.0363 11.405 11.018C11.405 9.99962 12.1346 9.16998 13.0528 9.16998C13.978 9.16998 14.7152 10.0065 14.7007 11.018C14.7007 12.0371 13.978 12.8659 13.0528 12.8659Z",
|
|
752
|
+
fill: "currentColor"
|
|
753
|
+
}
|
|
754
|
+
)
|
|
755
|
+
]
|
|
756
|
+
})
|
|
757
|
+
);
|
|
758
|
+
};
|
|
759
|
+
DiscordIcon.displayName = "DiscordIcon";
|
|
760
|
+
|
|
761
|
+
// src/primitives/icon/svg/email.tsx
|
|
762
|
+
var import_jsx_runtime23 = require("react/jsx-runtime");
|
|
763
|
+
var EmailIcon = (_a) => {
|
|
764
|
+
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
765
|
+
return /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(
|
|
766
|
+
"svg",
|
|
767
|
+
__spreadProps(__spreadValues(__spreadValues({
|
|
768
|
+
viewBox: "0 0 20 20",
|
|
769
|
+
className,
|
|
770
|
+
fill: "none"
|
|
771
|
+
}, getIconA11yProps(title)), props), {
|
|
772
|
+
children: [
|
|
773
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("title", { children: title }) : null,
|
|
774
|
+
/* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
|
|
775
|
+
"path",
|
|
776
|
+
{
|
|
777
|
+
d: "M3.33333 3.33398H16.6667C17.5833 3.33398 18.3333 4.08398 18.3333 5.00065V15.0007C18.3333 15.9173 17.5833 16.6673 16.6667 16.6673H3.33333C2.41667 16.6673 1.66667 15.9173 1.66667 15.0007V5.00065C1.66667 4.08398 2.41667 3.33398 3.33333 3.33398Z",
|
|
778
|
+
stroke: "currentColor",
|
|
779
|
+
strokeWidth: "1.5",
|
|
780
|
+
strokeLinecap: "round",
|
|
781
|
+
strokeLinejoin: "round"
|
|
782
|
+
}
|
|
783
|
+
),
|
|
784
|
+
/* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
|
|
785
|
+
"path",
|
|
786
|
+
{
|
|
787
|
+
d: "M18.3333 5L10 10.8333L1.66667 5",
|
|
788
|
+
stroke: "currentColor",
|
|
789
|
+
strokeWidth: "1.5",
|
|
790
|
+
strokeLinecap: "round",
|
|
791
|
+
strokeLinejoin: "round"
|
|
792
|
+
}
|
|
793
|
+
)
|
|
794
|
+
]
|
|
795
|
+
})
|
|
796
|
+
);
|
|
797
|
+
};
|
|
798
|
+
EmailIcon.displayName = "EmailIcon";
|
|
477
799
|
|
|
478
800
|
// src/primitives/icon/svg/link-accounts.tsx
|
|
479
|
-
var
|
|
801
|
+
var import_jsx_runtime24 = require("react/jsx-runtime");
|
|
480
802
|
var LinkAccountsIcon = (_a) => {
|
|
481
803
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
482
|
-
return /* @__PURE__ */ (0,
|
|
804
|
+
return /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(
|
|
483
805
|
"svg",
|
|
484
806
|
__spreadProps(__spreadValues(__spreadValues({
|
|
485
807
|
width: "28",
|
|
@@ -490,26 +812,26 @@ var LinkAccountsIcon = (_a) => {
|
|
|
490
812
|
className
|
|
491
813
|
}, getIconA11yProps(title)), props), {
|
|
492
814
|
children: [
|
|
493
|
-
title ? /* @__PURE__ */ (0,
|
|
494
|
-
/* @__PURE__ */ (0,
|
|
815
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime24.jsx)("title", { children: title }) : null,
|
|
816
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsx)("g", { clipPath: "url(#clip0_link_accounts)", children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
|
|
495
817
|
"path",
|
|
496
818
|
{
|
|
497
819
|
d: "M28 18.0835C28 22.2648 24.598 25.6668 20.4167 25.6668H14.5833C10.402 25.6668 7 22.2648 7 18.0835C7 13.9022 10.402 10.5002 14.5833 10.5002H16.9167C17.2387 10.5002 17.5 10.7615 17.5 11.0835C17.5 11.4055 17.2387 11.6668 16.9167 11.6668H14.5833C11.0448 11.6668 8.16667 14.5462 8.16667 18.0835C8.16667 21.6208 11.0448 24.5002 14.5833 24.5002H20.4167C23.9552 24.5002 26.8333 21.6208 26.8333 18.0835C26.8333 15.7992 25.6037 13.67 23.625 12.5243C23.3462 12.3633 23.2505 12.0063 23.4127 11.7275C23.5725 11.4487 23.9283 11.3507 24.2095 11.514C26.5475 12.8662 28.0012 15.3827 28.0012 18.0823L28 18.0835ZM4.375 15.476C2.39517 14.3315 1.16667 12.2012 1.16667 9.91683C1.16667 6.3795 4.04483 3.50016 7.58333 3.50016H13.4167C16.9552 3.50016 19.8333 6.3795 19.8333 9.91683C19.8333 13.4542 16.9552 16.3335 13.4167 16.3335H11.0833C10.7613 16.3335 10.5 16.5948 10.5 16.9168C10.5 17.2388 10.7613 17.5002 11.0833 17.5002H13.4167C17.598 17.5002 21 14.0982 21 9.91683C21 5.7355 17.598 2.3335 13.4167 2.3335H7.58333C3.402 2.3335 0 5.7355 0 9.91683C0 12.6153 1.4525 15.133 3.79167 16.4852C4.0705 16.6462 4.4275 16.5517 4.5885 16.2717C4.75067 15.994 4.655 15.6358 4.37617 15.4748L4.375 15.476Z",
|
|
498
820
|
fill: "currentColor"
|
|
499
821
|
}
|
|
500
822
|
) }),
|
|
501
|
-
/* @__PURE__ */ (0,
|
|
823
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)("clipPath", { id: "clip0_link_accounts", children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)("rect", { width: "28", height: "28", fill: "white" }) }) })
|
|
502
824
|
]
|
|
503
825
|
})
|
|
504
826
|
);
|
|
505
827
|
};
|
|
506
828
|
LinkAccountsIcon.displayName = "LinkAccountsIcon";
|
|
507
829
|
|
|
508
|
-
// src/primitives/icon/svg/
|
|
509
|
-
var
|
|
510
|
-
var
|
|
830
|
+
// src/primitives/icon/svg/pencil.tsx
|
|
831
|
+
var import_jsx_runtime25 = require("react/jsx-runtime");
|
|
832
|
+
var PencilIcon = (_a) => {
|
|
511
833
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
512
|
-
return /* @__PURE__ */ (0,
|
|
834
|
+
return /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(
|
|
513
835
|
"svg",
|
|
514
836
|
__spreadProps(__spreadValues(__spreadValues({
|
|
515
837
|
viewBox: "0 0 16 16",
|
|
@@ -517,22 +839,66 @@ var ProfileIcon = (_a) => {
|
|
|
517
839
|
fill: "none"
|
|
518
840
|
}, getIconA11yProps(title)), props), {
|
|
519
841
|
children: [
|
|
520
|
-
title ? /* @__PURE__ */ (0,
|
|
521
|
-
/* @__PURE__ */ (0,
|
|
842
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("title", { children: title }) : null,
|
|
843
|
+
/* @__PURE__ */ (0, import_jsx_runtime25.jsx)("g", { clipPath: "url(#pencil_clip)", children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
|
|
522
844
|
"path",
|
|
523
845
|
{
|
|
524
|
-
d: "
|
|
525
|
-
|
|
526
|
-
strokeWidth: "1.5"
|
|
846
|
+
d: "M15.2353 0.706709C14.7821 0.254173 14.1678 0 13.5273 0C12.8869 0 12.2726 0.254173 11.8193 0.706709L0.976677 11.5494C0.666178 11.8581 0.419985 12.2254 0.252342 12.6299C0.0846994 13.0344 -0.00106532 13.4682 9.98748e-06 13.906V15.2747C9.98748e-06 15.4515 0.0702479 15.6211 0.195272 15.7461C0.320296 15.8711 0.489866 15.9414 0.666677 15.9414H2.03534C2.47318 15.9426 2.90692 15.857 3.31145 15.6895C3.71597 15.5219 4.08325 15.2758 4.39201 14.9654L15.2353 4.12204C15.6877 3.66884 15.9417 3.05469 15.9417 2.41438C15.9417 1.77406 15.6877 1.15991 15.2353 0.706709ZM3.44934 14.0227C3.07335 14.3962 2.56532 14.6065 2.03534 14.608H1.33334V13.906C1.33267 13.6433 1.38411 13.3831 1.4847 13.1403C1.58529 12.8976 1.73302 12.6773 1.91934 12.492L10.148 4.26338L11.6813 5.79671L3.44934 14.0227ZM14.292 3.17938L12.6213 4.85071L11.088 3.32071L12.7593 1.64938C12.86 1.54891 12.9795 1.46927 13.111 1.41498C13.2424 1.3607 13.3833 1.33284 13.5255 1.33299C13.6678 1.33314 13.8086 1.36131 13.9399 1.41588C14.0712 1.47045 14.1905 1.55036 14.291 1.65104C14.3915 1.75172 14.4711 1.8712 14.5254 2.00266C14.5797 2.13413 14.6076 2.27499 14.6074 2.41722C14.6072 2.55945 14.5791 2.70025 14.5245 2.8316C14.4699 2.96294 14.39 3.08225 14.2893 3.18271L14.292 3.17938Z",
|
|
847
|
+
fill: "currentColor"
|
|
527
848
|
}
|
|
528
|
-
),
|
|
529
|
-
/* @__PURE__ */ (0,
|
|
849
|
+
) }),
|
|
850
|
+
/* @__PURE__ */ (0, import_jsx_runtime25.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("clipPath", { id: "pencil_clip", children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("rect", { width: "16", height: "16", fill: "white" }) }) })
|
|
851
|
+
]
|
|
852
|
+
})
|
|
853
|
+
);
|
|
854
|
+
};
|
|
855
|
+
PencilIcon.displayName = "PencilIcon";
|
|
856
|
+
|
|
857
|
+
// src/primitives/icon/svg/play-square.tsx
|
|
858
|
+
var import_jsx_runtime26 = require("react/jsx-runtime");
|
|
859
|
+
var PlaySquareIcon = (_a) => {
|
|
860
|
+
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
861
|
+
return /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(
|
|
862
|
+
"svg",
|
|
863
|
+
__spreadProps(__spreadValues(__spreadValues({
|
|
864
|
+
viewBox: "0 0 16 16",
|
|
865
|
+
className,
|
|
866
|
+
fill: "none"
|
|
867
|
+
}, getIconA11yProps(title)), props), {
|
|
868
|
+
children: [
|
|
869
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime26.jsx)("title", { children: title }) : null,
|
|
870
|
+
/* @__PURE__ */ (0, import_jsx_runtime26.jsx)("g", { clipPath: "url(#play-square-clip)", children: /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
|
|
530
871
|
"path",
|
|
531
872
|
{
|
|
532
|
-
d: "
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
873
|
+
d: "M12.6667 16H3.33333C2.4496 15.9989 1.60237 15.6474 0.97748 15.0225C0.352588 14.3976 0.00105857 13.5504 0 12.6667L0 3.33333C0.00105857 2.4496 0.352588 1.60237 0.97748 0.97748C1.60237 0.352588 2.4496 0.00105857 3.33333 0L12.6667 0C13.5504 0.00105857 14.3976 0.352588 15.0225 0.97748C15.6474 1.60237 15.9989 2.4496 16 3.33333V12.6667C15.9989 13.5504 15.6474 14.3976 15.0225 15.0225C14.3976 15.6474 13.5504 15.9989 12.6667 16ZM3.33333 1.33333C2.8029 1.33333 2.29419 1.54405 1.91912 1.91912C1.54405 2.29419 1.33333 2.8029 1.33333 3.33333V12.6667C1.33333 13.1971 1.54405 13.7058 1.91912 14.0809C2.29419 14.456 2.8029 14.6667 3.33333 14.6667H12.6667C13.1971 14.6667 13.7058 14.456 14.0809 14.0809C14.456 13.7058 14.6667 13.1971 14.6667 12.6667V3.33333C14.6667 2.8029 14.456 2.29419 14.0809 1.91912C13.7058 1.54405 13.1971 1.33333 12.6667 1.33333H3.33333ZM6.228 11.3367C5.95008 11.3357 5.67734 11.2615 5.43733 11.1213C5.20023 10.9856 5.00344 10.7894 4.86709 10.5526C4.73074 10.3159 4.65973 10.0472 4.66133 9.774V6.226C4.66111 5.95276 4.73274 5.68427 4.86905 5.44746C5.00537 5.21066 5.20156 5.01386 5.43794 4.87683C5.67433 4.73979 5.9426 4.66733 6.21584 4.66672C6.48907 4.6661 6.75767 4.73736 6.99467 4.87333L10.5133 6.63C10.7577 6.76194 10.9624 6.95685 11.1062 7.19452C11.2499 7.4322 11.3274 7.70399 11.3308 7.98172C11.3341 8.25946 11.2631 8.53303 11.1251 8.77408C10.9871 9.01514 10.7872 9.2149 10.546 9.35267L6.962 11.144C6.73847 11.2715 6.48533 11.3379 6.228 11.3367ZM6.21133 6.00333C6.17459 6.00332 6.13849 6.01298 6.10667 6.03133C6.07209 6.05056 6.0434 6.07884 6.02367 6.11313C6.00394 6.14743 5.99391 6.18644 5.99467 6.226V9.774C5.99489 9.81297 6.00525 9.85121 6.02473 9.88497C6.0442 9.91872 6.07212 9.94683 6.10574 9.96653C6.13936 9.98624 6.17753 9.99686 6.2165 9.99735C6.25547 9.99784 6.29389 9.98818 6.328 9.96933L9.912 8.17733C9.93869 8.15646 9.95992 8.12941 9.97385 8.09852C9.98779 8.06764 9.99401 8.03383 9.992 8C9.99284 7.96035 9.98277 7.92123 9.96291 7.8869C9.94304 7.85258 9.91413 7.82436 9.87933 7.80533L6.36333 6.04867C6.31749 6.02054 6.26509 6.00492 6.21133 6.00333Z",
|
|
874
|
+
fill: "currentColor"
|
|
875
|
+
}
|
|
876
|
+
) }),
|
|
877
|
+
/* @__PURE__ */ (0, import_jsx_runtime26.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime26.jsx)("clipPath", { id: "play-square-clip", children: /* @__PURE__ */ (0, import_jsx_runtime26.jsx)("rect", { width: "16", height: "16", fill: "white" }) }) })
|
|
878
|
+
]
|
|
879
|
+
})
|
|
880
|
+
);
|
|
881
|
+
};
|
|
882
|
+
PlaySquareIcon.displayName = "PlaySquareIcon";
|
|
883
|
+
|
|
884
|
+
// src/primitives/icon/svg/profile.tsx
|
|
885
|
+
var import_jsx_runtime27 = require("react/jsx-runtime");
|
|
886
|
+
var ProfileIcon = (_a) => {
|
|
887
|
+
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
888
|
+
return /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(
|
|
889
|
+
"svg",
|
|
890
|
+
__spreadProps(__spreadValues(__spreadValues({
|
|
891
|
+
viewBox: "0 0 21 28",
|
|
892
|
+
className,
|
|
893
|
+
fill: "none"
|
|
894
|
+
}, getIconA11yProps(title)), props), {
|
|
895
|
+
children: [
|
|
896
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("title", { children: title }) : null,
|
|
897
|
+
/* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
|
|
898
|
+
"path",
|
|
899
|
+
{
|
|
900
|
+
d: "M10.5 14C14.3605 14 17.5 10.8605 17.5 7C17.5 3.1395 14.3605 0 10.5 0C6.6395 0 3.5 3.1395 3.5 7C3.5 10.8605 6.6395 14 10.5 14ZM10.5 1.16667C13.7165 1.16667 16.3333 3.7835 16.3333 7C16.3333 10.2165 13.7165 12.8333 10.5 12.8333C7.2835 12.8333 4.66667 10.2165 4.66667 7C4.66667 3.7835 7.2835 1.16667 10.5 1.16667ZM21 26.8333V27.4167C21 27.7387 20.7387 28 20.4167 28C20.0947 28 19.8333 27.7387 19.8333 27.4167V26.8333C19.8333 21.6872 15.6462 17.5 10.5 17.5C5.35383 17.5 1.16667 21.6872 1.16667 26.8333V27.4167C1.16667 27.7387 0.905333 28 0.583333 28C0.261333 28 0 27.7387 0 27.4167V26.8333C0 21.0443 4.711 16.3333 10.5 16.3333C16.289 16.3333 21 21.0443 21 26.8333Z",
|
|
901
|
+
fill: "currentColor"
|
|
536
902
|
}
|
|
537
903
|
)
|
|
538
904
|
]
|
|
@@ -542,10 +908,10 @@ var ProfileIcon = (_a) => {
|
|
|
542
908
|
ProfileIcon.displayName = "ProfileIcon";
|
|
543
909
|
|
|
544
910
|
// src/primitives/icon/svg/revenue-alt.tsx
|
|
545
|
-
var
|
|
911
|
+
var import_jsx_runtime28 = require("react/jsx-runtime");
|
|
546
912
|
var RevenueAltIcon = (_a) => {
|
|
547
913
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
548
|
-
return /* @__PURE__ */ (0,
|
|
914
|
+
return /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)(
|
|
549
915
|
"svg",
|
|
550
916
|
__spreadProps(__spreadValues(__spreadValues({
|
|
551
917
|
viewBox: "0 0 20 20",
|
|
@@ -553,8 +919,8 @@ var RevenueAltIcon = (_a) => {
|
|
|
553
919
|
fill: "none"
|
|
554
920
|
}, getIconA11yProps(title)), props), {
|
|
555
921
|
children: [
|
|
556
|
-
title ? /* @__PURE__ */ (0,
|
|
557
|
-
/* @__PURE__ */ (0,
|
|
922
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("title", { children: title }) : null,
|
|
923
|
+
/* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
|
|
558
924
|
"path",
|
|
559
925
|
{
|
|
560
926
|
d: "M3 14V6M3 6L1.5 7.5M3 6L4.5 7.5M17 6V14M17 14L15.5 12.5M17 14L18.5 12.5",
|
|
@@ -564,7 +930,7 @@ var RevenueAltIcon = (_a) => {
|
|
|
564
930
|
strokeLinejoin: "round"
|
|
565
931
|
}
|
|
566
932
|
),
|
|
567
|
-
/* @__PURE__ */ (0,
|
|
933
|
+
/* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
|
|
568
934
|
"path",
|
|
569
935
|
{
|
|
570
936
|
d: "M10 5.5V14.5M12.5 7.4C12.5 6.55 11.38 5.86 10 5.86C8.62 5.86 7.5 6.55 7.5 7.4C7.5 8.25 8.62 8.94 10 8.94C11.38 8.94 12.5 9.63 12.5 10.48C12.5 11.33 11.38 12.02 10 12.02C8.62 12.02 7.5 11.33 7.5 10.48",
|
|
@@ -581,10 +947,10 @@ var RevenueAltIcon = (_a) => {
|
|
|
581
947
|
RevenueAltIcon.displayName = "RevenueAltIcon";
|
|
582
948
|
|
|
583
949
|
// src/primitives/icon/svg/search.tsx
|
|
584
|
-
var
|
|
950
|
+
var import_jsx_runtime29 = require("react/jsx-runtime");
|
|
585
951
|
var SearchIcon = (_a) => {
|
|
586
952
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
587
|
-
return /* @__PURE__ */ (0,
|
|
953
|
+
return /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)(
|
|
588
954
|
"svg",
|
|
589
955
|
__spreadProps(__spreadValues(__spreadValues({
|
|
590
956
|
viewBox: "0 0 16 16",
|
|
@@ -593,8 +959,8 @@ var SearchIcon = (_a) => {
|
|
|
593
959
|
className
|
|
594
960
|
}, getIconA11yProps(title)), props), {
|
|
595
961
|
children: [
|
|
596
|
-
title ? /* @__PURE__ */ (0,
|
|
597
|
-
/* @__PURE__ */ (0,
|
|
962
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("title", { children: title }) : null,
|
|
963
|
+
/* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
|
|
598
964
|
"path",
|
|
599
965
|
{
|
|
600
966
|
d: "M7.3335 12.3333C10.0949 12.3333 12.3335 10.0947 12.3335 7.33329C12.3335 4.57187 10.0949 2.33329 7.3335 2.33329C4.57208 2.33329 2.3335 4.57187 2.3335 7.33329C2.3335 10.0947 4.57208 12.3333 7.3335 12.3333Z",
|
|
@@ -604,7 +970,7 @@ var SearchIcon = (_a) => {
|
|
|
604
970
|
strokeLinejoin: "round"
|
|
605
971
|
}
|
|
606
972
|
),
|
|
607
|
-
/* @__PURE__ */ (0,
|
|
973
|
+
/* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
|
|
608
974
|
"path",
|
|
609
975
|
{
|
|
610
976
|
d: "M13.6668 13.6666L11.1667 11.1666",
|
|
@@ -621,10 +987,10 @@ var SearchIcon = (_a) => {
|
|
|
621
987
|
SearchIcon.displayName = "SearchIcon";
|
|
622
988
|
|
|
623
989
|
// src/primitives/icon/svg/shield-trust.tsx
|
|
624
|
-
var
|
|
990
|
+
var import_jsx_runtime30 = require("react/jsx-runtime");
|
|
625
991
|
var ShieldTrustIcon = (_a) => {
|
|
626
992
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
627
|
-
return /* @__PURE__ */ (0,
|
|
993
|
+
return /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)(
|
|
628
994
|
"svg",
|
|
629
995
|
__spreadProps(__spreadValues(__spreadValues({
|
|
630
996
|
viewBox: "0 0 16 16",
|
|
@@ -632,15 +998,15 @@ var ShieldTrustIcon = (_a) => {
|
|
|
632
998
|
fill: "none"
|
|
633
999
|
}, getIconA11yProps(title)), props), {
|
|
634
1000
|
children: [
|
|
635
|
-
title ? /* @__PURE__ */ (0,
|
|
636
|
-
/* @__PURE__ */ (0,
|
|
1001
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("title", { children: title }) : null,
|
|
1002
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
|
|
637
1003
|
"path",
|
|
638
1004
|
{
|
|
639
1005
|
d: "M8 1.25L13.5 3.25V7.08C13.5 10.09 11.62 12.74 8 14.75C4.38 12.74 2.5 10.09 2.5 7.08V3.25L8 1.25Z",
|
|
640
1006
|
fill: "currentColor"
|
|
641
1007
|
}
|
|
642
1008
|
),
|
|
643
|
-
/* @__PURE__ */ (0,
|
|
1009
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
|
|
644
1010
|
"path",
|
|
645
1011
|
{
|
|
646
1012
|
d: "M5.5 8.2L7.2 9.9L10.8 6.3",
|
|
@@ -657,10 +1023,10 @@ var ShieldTrustIcon = (_a) => {
|
|
|
657
1023
|
ShieldTrustIcon.displayName = "ShieldTrustIcon";
|
|
658
1024
|
|
|
659
1025
|
// src/primitives/icon/svg/stay-in-control.tsx
|
|
660
|
-
var
|
|
1026
|
+
var import_jsx_runtime31 = require("react/jsx-runtime");
|
|
661
1027
|
var StayInControlIcon = (_a) => {
|
|
662
1028
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
663
|
-
return /* @__PURE__ */ (0,
|
|
1029
|
+
return /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)(
|
|
664
1030
|
"svg",
|
|
665
1031
|
__spreadProps(__spreadValues(__spreadValues({
|
|
666
1032
|
width: "28",
|
|
@@ -671,16 +1037,16 @@ var StayInControlIcon = (_a) => {
|
|
|
671
1037
|
className
|
|
672
1038
|
}, getIconA11yProps(title)), props), {
|
|
673
1039
|
children: [
|
|
674
|
-
title ? /* @__PURE__ */ (0,
|
|
675
|
-
/* @__PURE__ */ (0,
|
|
676
|
-
/* @__PURE__ */ (0,
|
|
1040
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("title", { children: title }) : null,
|
|
1041
|
+
/* @__PURE__ */ (0, import_jsx_runtime31.jsxs)("g", { clipPath: "url(#clip0_stay_in_control)", children: [
|
|
1042
|
+
/* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
|
|
677
1043
|
"path",
|
|
678
1044
|
{
|
|
679
1045
|
d: "M14 27.9406C13.9102 27.9406 13.8215 27.9196 13.7387 27.8788L13.2428 27.6314C10.6832 26.3504 2.32983 21.5753 2.32983 13.8648L2.33217 7.62776C2.33217 5.36093 3.77767 3.35776 5.93017 2.64493L13.8168 0.0292617C13.9358 -0.010405 14.0653 -0.010405 14.1832 0.0292617L22.0687 2.64376C24.2212 3.35776 25.6667 5.36093 25.6667 7.6266L25.6632 13.8636C25.6632 22.6113 17.2958 26.6584 14.7315 27.6909L14.217 27.8974C14.147 27.9254 14.0723 27.9394 13.9988 27.9394L14 27.9406ZM14 1.19826L6.29767 3.7521C4.6235 4.30743 3.5 5.86493 3.5 7.62776L3.49767 13.8648C3.49767 20.9056 11.3563 25.3844 13.7655 26.5884L14.0268 26.7191L14.2975 26.6106C16.6903 25.6481 24.4977 21.8833 24.4977 13.8659L24.5012 7.62893C24.5012 5.8661 23.3765 4.3086 21.7035 3.75326L14 1.19826Z",
|
|
680
1046
|
fill: "currentColor"
|
|
681
1047
|
}
|
|
682
1048
|
),
|
|
683
|
-
/* @__PURE__ */ (0,
|
|
1049
|
+
/* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
|
|
684
1050
|
"path",
|
|
685
1051
|
{
|
|
686
1052
|
d: "M12.8112 17.5001C12.0633 17.5001 11.3155 17.2154 10.7462 16.6461L7.18083 13.2569C6.94749 13.0352 6.93816 12.6654 7.15983 12.4321C7.38149 12.1999 7.75016 12.1894 7.98466 12.4111L11.5605 15.8107C12.2535 16.5026 13.363 16.5037 14.0455 15.8212L20.5928 9.49791C20.8262 9.27508 21.196 9.28208 21.4177 9.51308C21.6417 9.74408 21.6358 10.1139 21.4037 10.3379L14.8622 16.6542C14.2987 17.2177 13.5543 17.5012 12.81 17.5012L12.8112 17.5001Z",
|
|
@@ -688,18 +1054,47 @@ var StayInControlIcon = (_a) => {
|
|
|
688
1054
|
}
|
|
689
1055
|
)
|
|
690
1056
|
] }),
|
|
691
|
-
/* @__PURE__ */ (0,
|
|
1057
|
+
/* @__PURE__ */ (0, import_jsx_runtime31.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("clipPath", { id: "clip0_stay_in_control", children: /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("rect", { width: "28", height: "28", fill: "white" }) }) })
|
|
1058
|
+
]
|
|
1059
|
+
})
|
|
1060
|
+
);
|
|
1061
|
+
};
|
|
1062
|
+
StayInControlIcon.displayName = "StayInControlIcon";
|
|
1063
|
+
|
|
1064
|
+
// src/primitives/icon/svg/telegram.tsx
|
|
1065
|
+
var import_jsx_runtime32 = require("react/jsx-runtime");
|
|
1066
|
+
var TelegramIcon = (_a) => {
|
|
1067
|
+
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
1068
|
+
return /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)(
|
|
1069
|
+
"svg",
|
|
1070
|
+
__spreadProps(__spreadValues(__spreadValues({
|
|
1071
|
+
viewBox: "0 0 20 20",
|
|
1072
|
+
className,
|
|
1073
|
+
fill: "none"
|
|
1074
|
+
}, getIconA11yProps(title)), props), {
|
|
1075
|
+
children: [
|
|
1076
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("title", { children: title }) : null,
|
|
1077
|
+
/* @__PURE__ */ (0, import_jsx_runtime32.jsx)("g", { clipPath: "url(#clip0_telegram)", children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
|
|
1078
|
+
"path",
|
|
1079
|
+
{
|
|
1080
|
+
fillRule: "evenodd",
|
|
1081
|
+
clipRule: "evenodd",
|
|
1082
|
+
d: "M9.99992 0.833984C4.93763 0.833984 0.833252 4.93836 0.833252 10.0007C0.833252 15.0629 4.93763 19.1673 9.99992 19.1673C15.0622 19.1673 19.1666 15.0629 19.1666 10.0007C19.1666 4.93836 15.0622 0.833984 9.99992 0.833984ZM14.2487 7.06808C14.1112 8.51718 13.5112 12.1296 13.2062 13.7896C13.0762 14.4846 12.8212 14.7146 12.5737 14.7396C12.0362 14.7846 11.6312 14.3846 11.1162 14.0446C10.3162 13.5146 9.86117 13.1896 9.08367 12.6746C8.18367 12.0746 8.77367 11.7446 9.29117 11.2096C9.42867 11.0671 11.7662 8.93464 11.8112 8.73964C11.8168 8.71424 11.8218 8.62214 11.7668 8.57464C11.7118 8.52714 11.6318 8.54464 11.5718 8.55964C11.4868 8.57964 10.1018 9.49464 7.41617 11.3046C7.04867 11.5546 6.71617 11.6771 6.41867 11.6721C6.08867 11.6671 5.45617 11.4846 4.98117 11.3296C4.40117 11.1396 3.94117 11.0396 3.98117 10.7196C4.00117 10.5521 4.23117 10.3821 4.67117 10.2071C7.55617 8.95214 9.44367 8.14214 10.3337 7.77714C13.0812 6.63964 13.6462 6.44464 14.0162 6.43964C14.0962 6.43964 14.2787 6.45964 14.3962 6.55714C14.4937 6.63714 14.5212 6.74464 14.5337 6.81964C14.5212 6.87464 14.5387 7.04964 14.5262 7.06808H14.2487Z",
|
|
1083
|
+
fill: "currentColor"
|
|
1084
|
+
}
|
|
1085
|
+
) }),
|
|
1086
|
+
/* @__PURE__ */ (0, import_jsx_runtime32.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("clipPath", { id: "clip0_telegram", children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("rect", { width: "20", height: "20", fill: "white" }) }) })
|
|
692
1087
|
]
|
|
693
1088
|
})
|
|
694
1089
|
);
|
|
695
1090
|
};
|
|
696
|
-
|
|
1091
|
+
TelegramIcon.displayName = "TelegramIcon";
|
|
697
1092
|
|
|
698
1093
|
// src/primitives/icon/svg/triangle-down.tsx
|
|
699
|
-
var
|
|
1094
|
+
var import_jsx_runtime33 = require("react/jsx-runtime");
|
|
700
1095
|
var TriangleDownIcon = (_a) => {
|
|
701
1096
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
702
|
-
return /* @__PURE__ */ (0,
|
|
1097
|
+
return /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)(
|
|
703
1098
|
"svg",
|
|
704
1099
|
__spreadProps(__spreadValues(__spreadValues({
|
|
705
1100
|
viewBox: "0 0 8 8",
|
|
@@ -707,16 +1102,16 @@ var TriangleDownIcon = (_a) => {
|
|
|
707
1102
|
fill: "none"
|
|
708
1103
|
}, getIconA11yProps(title)), props), {
|
|
709
1104
|
children: [
|
|
710
|
-
title ? /* @__PURE__ */ (0,
|
|
711
|
-
/* @__PURE__ */ (0,
|
|
712
|
-
/* @__PURE__ */ (0,
|
|
1105
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("title", { children: title }) : null,
|
|
1106
|
+
/* @__PURE__ */ (0, import_jsx_runtime33.jsxs)("g", { transform: "scale(1,-1) translate(0,-8)", clipPath: "url(#triangle_up)", children: [
|
|
1107
|
+
/* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
|
|
713
1108
|
"path",
|
|
714
1109
|
{
|
|
715
1110
|
d: "M3.99989 1.6805L6.23917 6.72896H1.76061L3.99989 1.6805ZM3.99989 0.366097C3.87788 0.36535 3.75832 0.400347 3.65596 0.466768C3.55361 0.53319 3.47295 0.628129 3.42393 0.739866L0.362237 7.63838H7.63755L4.57737 0.739866C4.52825 0.62789 4.44735 0.532789 4.3447 0.46635C4.24205 0.39991 4.12216 0.365052 3.99989 0.366097Z",
|
|
716
1111
|
fill: "currentColor"
|
|
717
1112
|
}
|
|
718
1113
|
),
|
|
719
|
-
/* @__PURE__ */ (0,
|
|
1114
|
+
/* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
|
|
720
1115
|
"path",
|
|
721
1116
|
{
|
|
722
1117
|
d: "M4.00167 0.00284122C4.19344 0.00214978 4.38147 0.0566837 4.54252 0.160923C4.70445 0.265758 4.83154 0.416026 4.90931 0.592539L7.9697 7.4913L8.19705 8.00195H-0.197266L3.09048 0.593427C3.16804 0.41669 3.29625 0.26688 3.45815 0.161811C3.61872 0.0576301 3.80589 0.00261591 3.99723 0.00284122H3.99989L4.00256 0.00195312L4.00167 0.00284122ZM3.99989 0.366097C3.87788 0.36535 3.75832 0.400347 3.65596 0.466768L3.58337 0.521491C3.51516 0.581467 3.46071 0.656022 3.42393 0.739866L0.362237 7.63838H7.63755L4.57737 0.739866C4.54053 0.655873 4.48567 0.581521 4.4173 0.521491L4.3447 0.46635C4.24205 0.39991 4.12216 0.365052 3.99989 0.366097ZM6.23917 6.72896H1.76061L3.99989 1.6805L6.23917 6.72896ZM2.31961 6.36519H5.68018L3.99989 2.57655L2.31961 6.36519Z",
|
|
@@ -724,18 +1119,44 @@ var TriangleDownIcon = (_a) => {
|
|
|
724
1119
|
}
|
|
725
1120
|
)
|
|
726
1121
|
] }),
|
|
727
|
-
/* @__PURE__ */ (0,
|
|
1122
|
+
/* @__PURE__ */ (0, import_jsx_runtime33.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("clipPath", { id: "triangle_up", children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("rect", { width: "8", height: "8", fill: "white" }) }) })
|
|
728
1123
|
]
|
|
729
1124
|
})
|
|
730
1125
|
);
|
|
731
1126
|
};
|
|
732
1127
|
TriangleDownIcon.displayName = "TriangleDownIcon";
|
|
733
1128
|
|
|
1129
|
+
// src/primitives/icon/svg/triangle-up-filled.tsx
|
|
1130
|
+
var import_jsx_runtime34 = require("react/jsx-runtime");
|
|
1131
|
+
var TriangleUpFilledIcon = (_a) => {
|
|
1132
|
+
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
1133
|
+
return /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(
|
|
1134
|
+
"svg",
|
|
1135
|
+
__spreadProps(__spreadValues(__spreadValues({
|
|
1136
|
+
viewBox: "0 0 8 8",
|
|
1137
|
+
className,
|
|
1138
|
+
fill: "none"
|
|
1139
|
+
}, getIconA11yProps(title)), props), {
|
|
1140
|
+
children: [
|
|
1141
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("title", { children: title }) : null,
|
|
1142
|
+
/* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
|
|
1143
|
+
"path",
|
|
1144
|
+
{
|
|
1145
|
+
d: "M6.67873 8.00001H1.3214C1.09613 8.00053 0.874481 7.94332 0.677605 7.83384C0.480728 7.72435 0.315192 7.56625 0.196788 7.3746C0.0783848 7.18296 0.0110649 6.96417 0.00125164 6.73911C-0.0085616 6.51405 0.0394592 6.29023 0.140732 6.08901L2.81973 0.729677C2.92186 0.523193 3.0766 0.347273 3.26837 0.219641C3.46014 0.0920097 3.68216 0.0171748 3.91207 0.00267686C4.17147 -0.013831 4.43 0.0462826 4.6555 0.175542C4.88101 0.3048 5.06354 0.497501 5.1804 0.729677L7.8594 6.08901C7.96008 6.2903 8.00764 6.51398 7.99756 6.73881C7.98748 6.96365 7.92009 7.18218 7.8018 7.37365C7.68351 7.56512 7.51823 7.72317 7.32167 7.83279C7.12511 7.94242 6.90379 7.99998 6.67873 8.00001Z",
|
|
1146
|
+
fill: "currentColor"
|
|
1147
|
+
}
|
|
1148
|
+
)
|
|
1149
|
+
]
|
|
1150
|
+
})
|
|
1151
|
+
);
|
|
1152
|
+
};
|
|
1153
|
+
TriangleUpFilledIcon.displayName = "TriangleUpFilledIcon";
|
|
1154
|
+
|
|
734
1155
|
// src/primitives/icon/svg/triangle-up.tsx
|
|
735
|
-
var
|
|
1156
|
+
var import_jsx_runtime35 = require("react/jsx-runtime");
|
|
736
1157
|
var TriangleUpIcon = (_a) => {
|
|
737
1158
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
738
|
-
return /* @__PURE__ */ (0,
|
|
1159
|
+
return /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)(
|
|
739
1160
|
"svg",
|
|
740
1161
|
__spreadProps(__spreadValues(__spreadValues({
|
|
741
1162
|
viewBox: "0 0 8 8",
|
|
@@ -743,16 +1164,16 @@ var TriangleUpIcon = (_a) => {
|
|
|
743
1164
|
fill: "none"
|
|
744
1165
|
}, getIconA11yProps(title)), props), {
|
|
745
1166
|
children: [
|
|
746
|
-
title ? /* @__PURE__ */ (0,
|
|
747
|
-
/* @__PURE__ */ (0,
|
|
748
|
-
/* @__PURE__ */ (0,
|
|
1167
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("title", { children: title }) : null,
|
|
1168
|
+
/* @__PURE__ */ (0, import_jsx_runtime35.jsxs)("g", { clipPath: "url(#triangle_up)", children: [
|
|
1169
|
+
/* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
|
|
749
1170
|
"path",
|
|
750
1171
|
{
|
|
751
1172
|
d: "M3.99989 1.6805L6.23917 6.72896H1.76061L3.99989 1.6805ZM3.99989 0.366097C3.87788 0.36535 3.75832 0.400347 3.65596 0.466768C3.55361 0.53319 3.47295 0.628129 3.42393 0.739866L0.362237 7.63838H7.63755L4.57737 0.739866C4.52825 0.62789 4.44735 0.532789 4.3447 0.46635C4.24205 0.39991 4.12216 0.365052 3.99989 0.366097Z",
|
|
752
1173
|
fill: "currentColor"
|
|
753
1174
|
}
|
|
754
1175
|
),
|
|
755
|
-
/* @__PURE__ */ (0,
|
|
1176
|
+
/* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
|
|
756
1177
|
"path",
|
|
757
1178
|
{
|
|
758
1179
|
d: "M4.00167 0.00284122C4.19344 0.00214978 4.38147 0.0566837 4.54252 0.160923C4.70445 0.265758 4.83154 0.416026 4.90931 0.592539L7.9697 7.4913L8.19705 8.00195H-0.197266L3.09048 0.593427C3.16804 0.41669 3.29625 0.26688 3.45815 0.161811C3.61872 0.0576301 3.80589 0.00261591 3.99723 0.00284122H3.99989L4.00256 0.00195312L4.00167 0.00284122ZM3.99989 0.366097C3.87788 0.36535 3.75832 0.400347 3.65596 0.466768L3.58337 0.521491C3.51516 0.581467 3.46071 0.656022 3.42393 0.739866L0.362237 7.63838H7.63755L4.57737 0.739866C4.54053 0.655873 4.48567 0.581521 4.4173 0.521491L4.3447 0.46635C4.24205 0.39991 4.12216 0.365052 3.99989 0.366097ZM6.23917 6.72896H1.76061L3.99989 1.6805L6.23917 6.72896ZM2.31961 6.36519H5.68018L3.99989 2.57655L2.31961 6.36519Z",
|
|
@@ -760,18 +1181,44 @@ var TriangleUpIcon = (_a) => {
|
|
|
760
1181
|
}
|
|
761
1182
|
)
|
|
762
1183
|
] }),
|
|
763
|
-
/* @__PURE__ */ (0,
|
|
1184
|
+
/* @__PURE__ */ (0, import_jsx_runtime35.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("clipPath", { id: "triangle_up", children: /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("rect", { width: "8", height: "8", fill: "white" }) }) })
|
|
764
1185
|
]
|
|
765
1186
|
})
|
|
766
1187
|
);
|
|
767
1188
|
};
|
|
768
1189
|
TriangleUpIcon.displayName = "TriangleUpIcon";
|
|
769
1190
|
|
|
1191
|
+
// src/primitives/icon/svg/twitter.tsx
|
|
1192
|
+
var import_jsx_runtime36 = require("react/jsx-runtime");
|
|
1193
|
+
var TwitterIcon = (_a) => {
|
|
1194
|
+
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
1195
|
+
return /* @__PURE__ */ (0, import_jsx_runtime36.jsxs)(
|
|
1196
|
+
"svg",
|
|
1197
|
+
__spreadProps(__spreadValues(__spreadValues({
|
|
1198
|
+
viewBox: "0 0 20 20",
|
|
1199
|
+
className,
|
|
1200
|
+
fill: "none"
|
|
1201
|
+
}, getIconA11yProps(title)), props), {
|
|
1202
|
+
children: [
|
|
1203
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("title", { children: title }) : null,
|
|
1204
|
+
/* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
|
|
1205
|
+
"path",
|
|
1206
|
+
{
|
|
1207
|
+
d: "M15.2708 1.66602H18.0834L11.9402 8.68539L19.1666 18.2386H13.51L9.07638 12.446L4.00874 18.2386H1.19152L7.76096 10.7288L0.833252 1.66602H6.63346L10.637 6.96053L15.2708 1.66602ZM14.283 16.5573H15.8406L5.78478 3.25949H4.11186L14.283 16.5573Z",
|
|
1208
|
+
fill: "currentColor"
|
|
1209
|
+
}
|
|
1210
|
+
)
|
|
1211
|
+
]
|
|
1212
|
+
})
|
|
1213
|
+
);
|
|
1214
|
+
};
|
|
1215
|
+
TwitterIcon.displayName = "TwitterIcon";
|
|
1216
|
+
|
|
770
1217
|
// src/primitives/icon/svg/upload.tsx
|
|
771
|
-
var
|
|
1218
|
+
var import_jsx_runtime37 = require("react/jsx-runtime");
|
|
772
1219
|
var UploadIcon = (_a) => {
|
|
773
1220
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
774
|
-
return /* @__PURE__ */ (0,
|
|
1221
|
+
return /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(
|
|
775
1222
|
"svg",
|
|
776
1223
|
__spreadProps(__spreadValues(__spreadValues({
|
|
777
1224
|
viewBox: "0 0 16 16",
|
|
@@ -779,8 +1226,8 @@ var UploadIcon = (_a) => {
|
|
|
779
1226
|
fill: "none"
|
|
780
1227
|
}, getIconA11yProps(title)), props), {
|
|
781
1228
|
children: [
|
|
782
|
-
title ? /* @__PURE__ */ (0,
|
|
783
|
-
/* @__PURE__ */ (0,
|
|
1229
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("title", { children: title }) : null,
|
|
1230
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
|
|
784
1231
|
"path",
|
|
785
1232
|
{
|
|
786
1233
|
d: "M8 13.5v-7m0 0 2.5 2.5M8 6.5 5.5 9",
|
|
@@ -790,7 +1237,7 @@ var UploadIcon = (_a) => {
|
|
|
790
1237
|
strokeLinejoin: "round"
|
|
791
1238
|
}
|
|
792
1239
|
),
|
|
793
|
-
/* @__PURE__ */ (0,
|
|
1240
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)("path", { d: "M2.5 3.5h11", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round" })
|
|
794
1241
|
]
|
|
795
1242
|
})
|
|
796
1243
|
);
|
|
@@ -798,10 +1245,10 @@ var UploadIcon = (_a) => {
|
|
|
798
1245
|
UploadIcon.displayName = "UploadIcon";
|
|
799
1246
|
|
|
800
1247
|
// src/primitives/icon/svg/wallet-avatar.tsx
|
|
801
|
-
var
|
|
1248
|
+
var import_jsx_runtime38 = require("react/jsx-runtime");
|
|
802
1249
|
function WalletAvatarIcon(_a) {
|
|
803
1250
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
804
|
-
return /* @__PURE__ */ (0,
|
|
1251
|
+
return /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)(
|
|
805
1252
|
"svg",
|
|
806
1253
|
__spreadProps(__spreadValues(__spreadValues({
|
|
807
1254
|
fill: "none",
|
|
@@ -809,20 +1256,72 @@ function WalletAvatarIcon(_a) {
|
|
|
809
1256
|
viewBox: "0 0 16 16"
|
|
810
1257
|
}, getIconA11yProps(title)), props), {
|
|
811
1258
|
children: [
|
|
812
|
-
title ? /* @__PURE__ */ (0,
|
|
813
|
-
/* @__PURE__ */ (0,
|
|
814
|
-
/* @__PURE__ */ (0,
|
|
1259
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("title", { children: title }) : null,
|
|
1260
|
+
/* @__PURE__ */ (0, import_jsx_runtime38.jsx)("circle", { cx: "8", cy: "5.25", r: "2.25", fill: "currentColor" }),
|
|
1261
|
+
/* @__PURE__ */ (0, import_jsx_runtime38.jsx)("path", { d: "M3.75 12.75a4.25 4.25 0 0 1 8.5 0v.25h-8.5v-.25Z", fill: "currentColor" })
|
|
815
1262
|
]
|
|
816
1263
|
})
|
|
817
1264
|
);
|
|
818
1265
|
}
|
|
819
1266
|
WalletAvatarIcon.displayName = "WalletAvatarIcon";
|
|
820
1267
|
|
|
1268
|
+
// src/primitives/icon/svg/wallet.tsx
|
|
1269
|
+
var import_jsx_runtime39 = require("react/jsx-runtime");
|
|
1270
|
+
var WalletIcon = (_a) => {
|
|
1271
|
+
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
1272
|
+
return /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)(
|
|
1273
|
+
"svg",
|
|
1274
|
+
__spreadProps(__spreadValues(__spreadValues({
|
|
1275
|
+
viewBox: "0 0 24 24",
|
|
1276
|
+
className,
|
|
1277
|
+
fill: "none"
|
|
1278
|
+
}, getIconA11yProps(title)), props), {
|
|
1279
|
+
children: [
|
|
1280
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime39.jsx)("title", { children: title }) : null,
|
|
1281
|
+
/* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
|
|
1282
|
+
"path",
|
|
1283
|
+
{
|
|
1284
|
+
d: "M19.5 6H5.25C4.836 6 4.5 5.664 4.5 5.25C4.5 4.836 4.836 4.5 5.25 4.5H19.5C19.914 4.5 20.25 4.164 20.25 3.75C20.25 2.508 19.242 1.5 18 1.5H4.5C2.843 1.5 1.5 2.843 1.5 4.5V19.5C1.5 21.157 2.843 22.5 4.5 22.5H19.5C21.157 22.5 22.5 21.157 22.5 19.5V9C22.5 7.343 21.157 6 19.5 6ZM2.5 4.5C2.5 3.395 3.395 2.5 4.5 2.5H18C18.552 2.5 19.026 2.834 19.199 3.318C19.176 3.312 19.153 3.5 18 3.5H5.25C4.284 3.5 3.5 4.284 3.5 5.25C3.5 5.388 3.519 5.522 3.555 5.649C2.936 5.369 2.5 4.972 2.5 4.5ZM21.5 19.5C21.5 20.605 20.605 21.5 19.5 21.5H4.5C3.395 21.5 2.5 20.605 2.5 19.5V7.04C3.09 7.336 3.771 7 5.25 7H19.5C20.605 7 21.5 7.895 21.5 9V12H18C16.343 12 15 13.343 15 15C15 16.657 16.343 18 18 18H21.5V19.5ZM21.5 17H18C16.895 17 16 16.105 16 15C16 13.895 16.895 13 18 13H21.5V17ZM18 15.75C18.414 15.75 18.75 15.414 18.75 15C18.75 14.586 18.414 14.25 18 14.25C17.586 14.25 17.25 14.586 17.25 15C17.25 15.414 17.586 15.75 18 15.75Z",
|
|
1285
|
+
fill: "currentColor"
|
|
1286
|
+
}
|
|
1287
|
+
)
|
|
1288
|
+
]
|
|
1289
|
+
})
|
|
1290
|
+
);
|
|
1291
|
+
};
|
|
1292
|
+
WalletIcon.displayName = "WalletIcon";
|
|
1293
|
+
|
|
1294
|
+
// src/primitives/icon/svg/warning-filled.tsx
|
|
1295
|
+
var import_jsx_runtime40 = require("react/jsx-runtime");
|
|
1296
|
+
var WarningFilledIcon = (_a) => {
|
|
1297
|
+
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
1298
|
+
return /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)(
|
|
1299
|
+
"svg",
|
|
1300
|
+
__spreadProps(__spreadValues(__spreadValues({
|
|
1301
|
+
viewBox: "0 0 16 16",
|
|
1302
|
+
className,
|
|
1303
|
+
fill: "none"
|
|
1304
|
+
}, getIconA11yProps(title)), props), {
|
|
1305
|
+
children: [
|
|
1306
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("title", { children: title }) : null,
|
|
1307
|
+
/* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
|
|
1308
|
+
"path",
|
|
1309
|
+
{
|
|
1310
|
+
d: "M15.3869 10.22L10.0002 1.71332C9.5469 1.05999 8.79356 0.666656 8.00023 0.666656C7.20689 0.666656 6.45356 1.05332 5.98023 1.73332L0.620227 10.2067C-0.0597729 11.18 -0.18644 12.3467 0.286894 13.2467C0.75356 14.1467 1.73356 14.66 2.96023 14.66H13.0402C14.2736 14.66 15.2469 14.1467 15.7136 13.2467C16.1802 12.3467 16.0536 11.1867 15.3869 10.22ZM7.33356 4.66666C7.33356 4.29999 7.63356 3.99999 8.00023 3.99999C8.36689 3.99999 8.66689 4.29999 8.66689 4.66666V8.66666C8.66689 9.03332 8.36689 9.33332 8.00023 9.33332C7.63356 9.33332 7.33356 9.03332 7.33356 8.66666V4.66666ZM8.00023 12.6667C7.44689 12.6667 7.00023 12.22 7.00023 11.6667C7.00023 11.1133 7.44689 10.6667 8.00023 10.6667C8.55356 10.6667 9.00023 11.1133 9.00023 11.6667C9.00023 12.22 8.55356 12.6667 8.00023 12.6667Z",
|
|
1311
|
+
fill: "currentColor"
|
|
1312
|
+
}
|
|
1313
|
+
)
|
|
1314
|
+
]
|
|
1315
|
+
})
|
|
1316
|
+
);
|
|
1317
|
+
};
|
|
1318
|
+
WarningFilledIcon.displayName = "WarningFilledIcon";
|
|
1319
|
+
|
|
821
1320
|
// src/primitives/icon/svg/warning.tsx
|
|
822
|
-
var
|
|
1321
|
+
var import_jsx_runtime41 = require("react/jsx-runtime");
|
|
823
1322
|
var WarningIcon = (_a) => {
|
|
824
1323
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
825
|
-
return /* @__PURE__ */ (0,
|
|
1324
|
+
return /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(
|
|
826
1325
|
"svg",
|
|
827
1326
|
__spreadProps(__spreadValues(__spreadValues({
|
|
828
1327
|
width: "14",
|
|
@@ -833,15 +1332,15 @@ var WarningIcon = (_a) => {
|
|
|
833
1332
|
className
|
|
834
1333
|
}, getIconA11yProps(title)), props), {
|
|
835
1334
|
children: [
|
|
836
|
-
title ? /* @__PURE__ */ (0,
|
|
837
|
-
/* @__PURE__ */ (0,
|
|
1335
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("title", { children: title }) : null,
|
|
1336
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)("g", { clipPath: "url(#clip0_warning)", children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
|
|
838
1337
|
"path",
|
|
839
1338
|
{
|
|
840
1339
|
d: "M6.41665 8.16675V4.66675C6.41665 4.34591 6.67915 4.08341 6.99998 4.08341C7.32082 4.08341 7.58332 4.34591 7.58332 4.66675V8.16675C7.58332 8.48758 7.32082 8.75008 6.99998 8.75008C6.67915 8.75008 6.41665 8.48758 6.41665 8.16675ZM6.99998 9.33341C6.51582 9.33341 6.12498 9.72425 6.12498 10.2084C6.12498 10.6926 6.51582 11.0834 6.99998 11.0834C7.48415 11.0834 7.87498 10.6926 7.87498 10.2084C7.87498 9.72425 7.48415 9.33341 6.99998 9.33341ZM13.755 12.1801C13.3467 12.9676 12.4892 13.4167 11.4158 13.4167H2.58998C1.51082 13.4167 0.659151 12.9676 0.250818 12.1801C-0.163348 11.3867 -0.0466818 10.3717 0.542485 9.52008L5.23248 2.10008C5.64665 1.50508 6.29998 1.16675 6.99998 1.16675C7.69999 1.16675 8.35332 1.50508 8.74998 2.08258L13.4633 9.53175C14.0525 10.3834 14.1633 11.3926 13.7492 12.1801H13.755ZM12.5008 10.1851C12.5008 10.1851 12.4892 10.1734 12.4892 10.1617L7.78165 2.72425C7.61248 2.48508 7.32082 2.33341 6.99998 2.33341C6.67915 2.33341 6.38749 2.48508 6.20665 2.74758L1.51082 10.1617C1.14915 10.6751 1.06748 11.2351 1.27748 11.6376C1.48165 12.0342 1.94832 12.2501 2.58415 12.2501H11.4042C12.04 12.2501 12.5067 12.0342 12.7108 11.6376C12.9208 11.2351 12.8392 10.6751 12.495 10.1851H12.5008Z",
|
|
841
1340
|
fill: "currentColor"
|
|
842
1341
|
}
|
|
843
1342
|
) }),
|
|
844
|
-
/* @__PURE__ */ (0,
|
|
1343
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("clipPath", { id: "clip0_warning", children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("rect", { width: "14", height: "14", fill: "white" }) }) })
|
|
845
1344
|
]
|
|
846
1345
|
})
|
|
847
1346
|
);
|
|
@@ -852,26 +1351,44 @@ WarningIcon.displayName = "WarningIcon";
|
|
|
852
1351
|
var iconRegistry = {
|
|
853
1352
|
"arrow-trend-up": ArrowTrendUpIcon,
|
|
854
1353
|
"arrows-to-dot": ArrowsToDotIcon,
|
|
1354
|
+
bank: BankIcon,
|
|
855
1355
|
"best-prices": BestPricesIcon,
|
|
1356
|
+
bolt: BoltIcon,
|
|
1357
|
+
"check-badge": CheckBadgeIcon,
|
|
856
1358
|
"check-circle": CheckCircleIcon,
|
|
857
1359
|
"chevron-down": ChevronDownIcon,
|
|
1360
|
+
"chevron-left": ChevronLeftIcon,
|
|
858
1361
|
"chevron-right": ChevronRightIcon,
|
|
859
1362
|
"chevron-up": ChevronUpIcon,
|
|
860
1363
|
close: CloseIcon,
|
|
1364
|
+
copy: CopyIcon,
|
|
861
1365
|
"create-account": CreateAccountIcon,
|
|
1366
|
+
"credit-card": CreditCardIcon,
|
|
1367
|
+
discord: DiscordIcon,
|
|
862
1368
|
disconnect: DisconnectIcon,
|
|
1369
|
+
document: DocumentIcon,
|
|
863
1370
|
download: DownloadIcon,
|
|
864
1371
|
"dots-horizontal": DotsHorizontalIcon,
|
|
1372
|
+
email: EmailIcon,
|
|
1373
|
+
"external-link": ExternalLinkIcon,
|
|
1374
|
+
info: InfoIcon,
|
|
865
1375
|
"link-accounts": LinkAccountsIcon,
|
|
1376
|
+
pencil: PencilIcon,
|
|
1377
|
+
"play-square": PlaySquareIcon,
|
|
866
1378
|
profile: ProfileIcon,
|
|
867
1379
|
"revenue-alt": RevenueAltIcon,
|
|
868
1380
|
search: SearchIcon,
|
|
869
1381
|
"shield-trust": ShieldTrustIcon,
|
|
870
1382
|
"stay-in-control": StayInControlIcon,
|
|
1383
|
+
telegram: TelegramIcon,
|
|
871
1384
|
"triangle-down": TriangleDownIcon,
|
|
872
1385
|
"triangle-up": TriangleUpIcon,
|
|
1386
|
+
"triangle-up-filled": TriangleUpFilledIcon,
|
|
1387
|
+
twitter: TwitterIcon,
|
|
873
1388
|
upload: UploadIcon,
|
|
1389
|
+
wallet: WalletIcon,
|
|
874
1390
|
"wallet-avatar": WalletAvatarIcon,
|
|
1391
|
+
"warning-filled": WarningFilledIcon,
|
|
875
1392
|
warning: WarningIcon
|
|
876
1393
|
};
|
|
877
1394
|
var iconNames = Object.keys(iconRegistry);
|
|
@@ -886,7 +1403,7 @@ var resolveIconStyle = (color, style) => {
|
|
|
886
1403
|
};
|
|
887
1404
|
|
|
888
1405
|
// src/primitives/icon/index.tsx
|
|
889
|
-
var
|
|
1406
|
+
var import_jsx_runtime42 = require("react/jsx-runtime");
|
|
890
1407
|
var Icon = (_a) => {
|
|
891
1408
|
var _b = _a, {
|
|
892
1409
|
name,
|
|
@@ -904,7 +1421,7 @@ var Icon = (_a) => {
|
|
|
904
1421
|
const Component = iconRegistry[name];
|
|
905
1422
|
const resolvedStyle = resolveIconStyle(color, style);
|
|
906
1423
|
const resolvedClassName = cn(iconSizeClasses[size], className);
|
|
907
|
-
return /* @__PURE__ */ (0,
|
|
1424
|
+
return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(Component, __spreadValues({ color, className: resolvedClassName, style: resolvedStyle }, props));
|
|
908
1425
|
};
|
|
909
1426
|
Icon.displayName = "Icon";
|
|
910
1427
|
|
|
@@ -913,10 +1430,10 @@ var import_hooks4 = require("@agg-market/hooks");
|
|
|
913
1430
|
|
|
914
1431
|
// src/primitives/skeleton/skeleton-block.tsx
|
|
915
1432
|
var import_hooks = require("@agg-market/hooks");
|
|
916
|
-
var
|
|
1433
|
+
var import_jsx_runtime43 = require("react/jsx-runtime");
|
|
917
1434
|
var SkeletonBlock = ({ className }) => {
|
|
918
1435
|
const { enableAnimations } = (0, import_hooks.useSdkUiConfig)();
|
|
919
|
-
return /* @__PURE__ */ (0,
|
|
1436
|
+
return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
|
|
920
1437
|
"div",
|
|
921
1438
|
{
|
|
922
1439
|
"aria-hidden": true,
|
|
@@ -935,11 +1452,11 @@ var import_hooks3 = require("@agg-market/hooks");
|
|
|
935
1452
|
|
|
936
1453
|
// src/primitives/card/index.tsx
|
|
937
1454
|
var import_hooks2 = require("@agg-market/hooks");
|
|
938
|
-
var
|
|
1455
|
+
var import_jsx_runtime44 = require("react/jsx-runtime");
|
|
939
1456
|
var Card = (_a) => {
|
|
940
1457
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
941
1458
|
const { enableAnimations } = (0, import_hooks2.useSdkUiConfig)();
|
|
942
|
-
return /* @__PURE__ */ (0,
|
|
1459
|
+
return /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
|
|
943
1460
|
"div",
|
|
944
1461
|
__spreadValues({
|
|
945
1462
|
className: cn(
|
|
@@ -958,14 +1475,14 @@ Card.displayName = "Card";
|
|
|
958
1475
|
var baseCardClassName = "gap-3 overflow-hidden p-5 w-full";
|
|
959
1476
|
|
|
960
1477
|
// src/primitives/skeleton/views/event-list-item-skeleton-view.tsx
|
|
961
|
-
var
|
|
1478
|
+
var import_jsx_runtime45 = require("react/jsx-runtime");
|
|
962
1479
|
var EventListItemSkeletonView = ({
|
|
963
1480
|
className,
|
|
964
1481
|
ariaLabel,
|
|
965
1482
|
isStandalone = false
|
|
966
1483
|
}) => {
|
|
967
1484
|
const labels = (0, import_hooks3.useLabels)();
|
|
968
|
-
return /* @__PURE__ */ (0,
|
|
1485
|
+
return /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)(
|
|
969
1486
|
Card,
|
|
970
1487
|
{
|
|
971
1488
|
className: cn(baseCardClassName, className),
|
|
@@ -974,35 +1491,35 @@ var EventListItemSkeletonView = ({
|
|
|
974
1491
|
"aria-busy": isStandalone || void 0,
|
|
975
1492
|
"aria-hidden": isStandalone ? void 0 : true,
|
|
976
1493
|
children: [
|
|
977
|
-
/* @__PURE__ */ (0,
|
|
978
|
-
/* @__PURE__ */ (0,
|
|
979
|
-
/* @__PURE__ */ (0,
|
|
980
|
-
/* @__PURE__ */ (0,
|
|
981
|
-
/* @__PURE__ */ (0,
|
|
1494
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsxs)("div", { className: "flex w-full items-start gap-3", children: [
|
|
1495
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(SkeletonBlock, { className: "h-10 w-10 rounded-agg-lg" }),
|
|
1496
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsxs)("div", { className: "flex flex-1 flex-col gap-2", children: [
|
|
1497
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(SkeletonBlock, { className: "h-5 w-[82%] rounded-agg-sm" }),
|
|
1498
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(SkeletonBlock, { className: "h-5 w-[68%] rounded-agg-sm" })
|
|
982
1499
|
] })
|
|
983
1500
|
] }),
|
|
984
|
-
/* @__PURE__ */ (0,
|
|
1501
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)("div", { className: "flex flex-col gap-3", children: [0, 1].map((index) => /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)(
|
|
985
1502
|
"div",
|
|
986
1503
|
{
|
|
987
1504
|
className: "grid w-full grid-cols-[minmax(0,1fr)_auto_auto] items-center gap-3",
|
|
988
1505
|
children: [
|
|
989
|
-
/* @__PURE__ */ (0,
|
|
990
|
-
/* @__PURE__ */ (0,
|
|
991
|
-
/* @__PURE__ */ (0,
|
|
1506
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(SkeletonBlock, { className: "h-4 rounded-agg-sm" }),
|
|
1507
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(SkeletonBlock, { className: "h-4 w-10 rounded-agg-sm" }),
|
|
1508
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(SkeletonBlock, { className: "h-9 w-[101px] rounded-agg-full" })
|
|
992
1509
|
]
|
|
993
1510
|
},
|
|
994
1511
|
index
|
|
995
1512
|
)) }),
|
|
996
|
-
/* @__PURE__ */ (0,
|
|
997
|
-
/* @__PURE__ */ (0,
|
|
998
|
-
/* @__PURE__ */ (0,
|
|
999
|
-
/* @__PURE__ */ (0,
|
|
1000
|
-
/* @__PURE__ */ (0,
|
|
1001
|
-
/* @__PURE__ */ (0,
|
|
1002
|
-
/* @__PURE__ */ (0,
|
|
1513
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsxs)("div", { className: "flex items-center justify-between gap-2 text-agg-muted-foreground", children: [
|
|
1514
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsxs)("div", { className: "flex items-center gap-2", children: [
|
|
1515
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(SkeletonBlock, { className: "h-4 w-36 rounded-agg-sm" }),
|
|
1516
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsxs)("div", { className: "flex items-center gap-1", children: [
|
|
1517
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(SkeletonBlock, { className: "size-3 rounded-agg-full" }),
|
|
1518
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(SkeletonBlock, { className: "size-3 rounded-agg-full" }),
|
|
1519
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(SkeletonBlock, { className: "size-3 rounded-agg-full" })
|
|
1003
1520
|
] })
|
|
1004
1521
|
] }),
|
|
1005
|
-
/* @__PURE__ */ (0,
|
|
1522
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(SkeletonBlock, { className: "h-4 w-20 rounded-agg-sm" })
|
|
1006
1523
|
] })
|
|
1007
1524
|
]
|
|
1008
1525
|
}
|
|
@@ -1011,10 +1528,10 @@ var EventListItemSkeletonView = ({
|
|
|
1011
1528
|
EventListItemSkeletonView.displayName = "EventListItemSkeletonView";
|
|
1012
1529
|
|
|
1013
1530
|
// src/primitives/skeleton/views/event-list-skeleton-view.tsx
|
|
1014
|
-
var
|
|
1531
|
+
var import_jsx_runtime46 = require("react/jsx-runtime");
|
|
1015
1532
|
var EventListSkeletonView = ({ className, ariaLabel }) => {
|
|
1016
1533
|
const labels = (0, import_hooks4.useLabels)();
|
|
1017
|
-
return /* @__PURE__ */ (0,
|
|
1534
|
+
return /* @__PURE__ */ (0, import_jsx_runtime46.jsxs)(
|
|
1018
1535
|
"section",
|
|
1019
1536
|
{
|
|
1020
1537
|
className: cn("flex w-full flex-col gap-5", className),
|
|
@@ -1022,15 +1539,15 @@ var EventListSkeletonView = ({ className, ariaLabel }) => {
|
|
|
1022
1539
|
"aria-label": ariaLabel != null ? ariaLabel : labels.eventList.loading("events"),
|
|
1023
1540
|
"aria-busy": true,
|
|
1024
1541
|
children: [
|
|
1025
|
-
/* @__PURE__ */ (0,
|
|
1026
|
-
/* @__PURE__ */ (0,
|
|
1027
|
-
/* @__PURE__ */ (0,
|
|
1028
|
-
/* @__PURE__ */ (0,
|
|
1029
|
-
/* @__PURE__ */ (0,
|
|
1030
|
-
/* @__PURE__ */ (0,
|
|
1542
|
+
/* @__PURE__ */ (0, import_jsx_runtime46.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: [
|
|
1543
|
+
/* @__PURE__ */ (0, import_jsx_runtime46.jsx)(SkeletonBlock, { className: "h-7 w-40 rounded-agg-sm" }),
|
|
1544
|
+
/* @__PURE__ */ (0, import_jsx_runtime46.jsxs)("div", { className: "flex max-w-full gap-2", children: [
|
|
1545
|
+
/* @__PURE__ */ (0, import_jsx_runtime46.jsx)(SkeletonBlock, { className: "h-10 w-20 rounded-agg-full" }),
|
|
1546
|
+
/* @__PURE__ */ (0, import_jsx_runtime46.jsx)(SkeletonBlock, { className: "h-10 w-20 rounded-agg-full" }),
|
|
1547
|
+
/* @__PURE__ */ (0, import_jsx_runtime46.jsx)(SkeletonBlock, { className: "h-10 w-24 rounded-agg-full" })
|
|
1031
1548
|
] })
|
|
1032
1549
|
] }),
|
|
1033
|
-
/* @__PURE__ */ (0,
|
|
1550
|
+
/* @__PURE__ */ (0, import_jsx_runtime46.jsx)("div", { className: "grid grid-cols-1 gap-5 md:grid-cols-3", children: Array.from({ length: 3 }).map((_, index) => /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
|
|
1034
1551
|
EventListItemSkeletonView,
|
|
1035
1552
|
{
|
|
1036
1553
|
isStandalone: false,
|
|
@@ -1051,13 +1568,13 @@ var import_hooks5 = require("@agg-market/hooks");
|
|
|
1051
1568
|
var detailsBaseCardClassName = "w-full overflow-hidden gap-6 p-5 md:gap-8 md:p-10";
|
|
1052
1569
|
|
|
1053
1570
|
// src/primitives/skeleton/views/event-list-item-details-skeleton-view.tsx
|
|
1054
|
-
var
|
|
1571
|
+
var import_jsx_runtime47 = require("react/jsx-runtime");
|
|
1055
1572
|
var EventListItemDetailsSkeletonView = ({
|
|
1056
1573
|
className,
|
|
1057
1574
|
ariaLabel
|
|
1058
1575
|
}) => {
|
|
1059
1576
|
const labels = (0, import_hooks5.useLabels)();
|
|
1060
|
-
return /* @__PURE__ */ (0,
|
|
1577
|
+
return /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(
|
|
1061
1578
|
Card,
|
|
1062
1579
|
{
|
|
1063
1580
|
className: cn(detailsBaseCardClassName, className),
|
|
@@ -1065,30 +1582,30 @@ var EventListItemDetailsSkeletonView = ({
|
|
|
1065
1582
|
"aria-label": ariaLabel != null ? ariaLabel : labels.eventItemDetails.loading,
|
|
1066
1583
|
"aria-busy": true,
|
|
1067
1584
|
children: [
|
|
1068
|
-
/* @__PURE__ */ (0,
|
|
1069
|
-
/* @__PURE__ */ (0,
|
|
1070
|
-
/* @__PURE__ */ (0,
|
|
1071
|
-
/* @__PURE__ */ (0,
|
|
1072
|
-
/* @__PURE__ */ (0,
|
|
1073
|
-
/* @__PURE__ */ (0,
|
|
1074
|
-
/* @__PURE__ */ (0,
|
|
1075
|
-
/* @__PURE__ */ (0,
|
|
1585
|
+
/* @__PURE__ */ (0, import_jsx_runtime47.jsxs)("div", { className: "flex w-full items-start gap-3 md:gap-4", children: [
|
|
1586
|
+
/* @__PURE__ */ (0, import_jsx_runtime47.jsx)(SkeletonBlock, { className: "size-10 rounded-agg-lg md:size-[60px]" }),
|
|
1587
|
+
/* @__PURE__ */ (0, import_jsx_runtime47.jsxs)("div", { className: "flex flex-1 flex-col gap-2", children: [
|
|
1588
|
+
/* @__PURE__ */ (0, import_jsx_runtime47.jsx)(SkeletonBlock, { className: "h-5 w-[82%] rounded-agg-sm md:h-7 md:w-[55%]" }),
|
|
1589
|
+
/* @__PURE__ */ (0, import_jsx_runtime47.jsxs)("div", { className: "flex gap-2 overflow-hidden", children: [
|
|
1590
|
+
/* @__PURE__ */ (0, import_jsx_runtime47.jsx)(SkeletonBlock, { className: "h-8 w-28 rounded-agg-full" }),
|
|
1591
|
+
/* @__PURE__ */ (0, import_jsx_runtime47.jsx)(SkeletonBlock, { className: "h-8 w-28 rounded-agg-full" }),
|
|
1592
|
+
/* @__PURE__ */ (0, import_jsx_runtime47.jsx)(SkeletonBlock, { className: "h-8 w-28 rounded-agg-full" })
|
|
1076
1593
|
] })
|
|
1077
1594
|
] })
|
|
1078
1595
|
] }),
|
|
1079
|
-
/* @__PURE__ */ (0,
|
|
1080
|
-
/* @__PURE__ */ (0,
|
|
1081
|
-
/* @__PURE__ */ (0,
|
|
1082
|
-
/* @__PURE__ */ (0,
|
|
1083
|
-
/* @__PURE__ */ (0,
|
|
1084
|
-
/* @__PURE__ */ (0,
|
|
1085
|
-
/* @__PURE__ */ (0,
|
|
1596
|
+
/* @__PURE__ */ (0, import_jsx_runtime47.jsxs)("div", { className: "flex flex-col gap-4", children: [
|
|
1597
|
+
/* @__PURE__ */ (0, import_jsx_runtime47.jsx)(SkeletonBlock, { className: "h-10 w-full rounded-agg-full md:w-[220px]" }),
|
|
1598
|
+
/* @__PURE__ */ (0, import_jsx_runtime47.jsxs)("div", { className: "flex gap-2 overflow-hidden", children: [
|
|
1599
|
+
/* @__PURE__ */ (0, import_jsx_runtime47.jsx)(SkeletonBlock, { className: "h-9 w-20 rounded-agg-full" }),
|
|
1600
|
+
/* @__PURE__ */ (0, import_jsx_runtime47.jsx)(SkeletonBlock, { className: "h-9 w-20 rounded-agg-full" }),
|
|
1601
|
+
/* @__PURE__ */ (0, import_jsx_runtime47.jsx)(SkeletonBlock, { className: "h-9 w-20 rounded-agg-full" }),
|
|
1602
|
+
/* @__PURE__ */ (0, import_jsx_runtime47.jsx)(SkeletonBlock, { className: "h-9 w-20 rounded-agg-full" })
|
|
1086
1603
|
] })
|
|
1087
1604
|
] }),
|
|
1088
|
-
/* @__PURE__ */ (0,
|
|
1089
|
-
/* @__PURE__ */ (0,
|
|
1090
|
-
/* @__PURE__ */ (0,
|
|
1091
|
-
/* @__PURE__ */ (0,
|
|
1605
|
+
/* @__PURE__ */ (0, import_jsx_runtime47.jsx)("div", { className: "h-[300px] w-full rounded-agg-xl", children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(SkeletonBlock, { className: "h-full w-full rounded-agg-xl" }) }),
|
|
1606
|
+
/* @__PURE__ */ (0, import_jsx_runtime47.jsxs)("div", { className: "flex items-center justify-between", children: [
|
|
1607
|
+
/* @__PURE__ */ (0, import_jsx_runtime47.jsx)(SkeletonBlock, { className: "h-5 w-24 rounded-agg-sm" }),
|
|
1608
|
+
/* @__PURE__ */ (0, import_jsx_runtime47.jsx)(SkeletonBlock, { className: "h-5 w-40 rounded-agg-sm" })
|
|
1092
1609
|
] })
|
|
1093
1610
|
]
|
|
1094
1611
|
}
|
|
@@ -1103,14 +1620,14 @@ var import_hooks6 = require("@agg-market/hooks");
|
|
|
1103
1620
|
var marketDetailsBaseCardClassName = "w-full overflow-hidden rounded-agg-lg border border-agg-separator bg-agg-secondary text-agg-foreground shadow-none hover:shadow-none";
|
|
1104
1621
|
|
|
1105
1622
|
// src/primitives/skeleton/views/market-details-skeleton-view.tsx
|
|
1106
|
-
var
|
|
1623
|
+
var import_jsx_runtime48 = require("react/jsx-runtime");
|
|
1107
1624
|
var MarketDetailsSkeletonView = ({
|
|
1108
1625
|
className,
|
|
1109
1626
|
ariaLabel,
|
|
1110
1627
|
isDetailed
|
|
1111
1628
|
}) => {
|
|
1112
1629
|
const labels = (0, import_hooks6.useLabels)();
|
|
1113
|
-
return /* @__PURE__ */ (0,
|
|
1630
|
+
return /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(
|
|
1114
1631
|
Card,
|
|
1115
1632
|
{
|
|
1116
1633
|
className: cn(marketDetailsBaseCardClassName, className),
|
|
@@ -1118,54 +1635,54 @@ var MarketDetailsSkeletonView = ({
|
|
|
1118
1635
|
"aria-label": ariaLabel != null ? ariaLabel : labels.marketDetails.loading,
|
|
1119
1636
|
"aria-busy": true,
|
|
1120
1637
|
children: [
|
|
1121
|
-
/* @__PURE__ */ (0,
|
|
1122
|
-
/* @__PURE__ */ (0,
|
|
1123
|
-
/* @__PURE__ */ (0,
|
|
1124
|
-
/* @__PURE__ */ (0,
|
|
1125
|
-
/* @__PURE__ */ (0,
|
|
1126
|
-
/* @__PURE__ */ (0,
|
|
1127
|
-
/* @__PURE__ */ (0,
|
|
1638
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsxs)("div", { className: "flex flex-col gap-3 p-4 md:px-5 md:py-4", children: [
|
|
1639
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsxs)("div", { className: "flex items-center justify-between gap-4", children: [
|
|
1640
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsxs)("div", { className: "flex min-w-0 items-center gap-3 md:gap-4", children: [
|
|
1641
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)(SkeletonBlock, { className: "size-12 rounded-agg-lg md:size-[60px]" }),
|
|
1642
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsxs)("div", { className: "flex min-w-0 flex-col gap-2", children: [
|
|
1643
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)(SkeletonBlock, { className: "h-6 w-40 rounded-agg-sm" }),
|
|
1644
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)(SkeletonBlock, { className: "h-4 w-28 rounded-agg-sm" })
|
|
1128
1645
|
] })
|
|
1129
1646
|
] }),
|
|
1130
|
-
/* @__PURE__ */ (0,
|
|
1647
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)(SkeletonBlock, { className: "h-8 w-16 rounded-agg-sm" })
|
|
1131
1648
|
] }),
|
|
1132
|
-
/* @__PURE__ */ (0,
|
|
1133
|
-
/* @__PURE__ */ (0,
|
|
1134
|
-
/* @__PURE__ */ (0,
|
|
1649
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsxs)("div", { className: "flex gap-2", children: [
|
|
1650
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)(SkeletonBlock, { className: "h-10 flex-1 rounded-agg-full" }),
|
|
1651
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)(SkeletonBlock, { className: "h-10 flex-1 rounded-agg-full" })
|
|
1135
1652
|
] })
|
|
1136
1653
|
] }),
|
|
1137
|
-
isDetailed ? /* @__PURE__ */ (0,
|
|
1138
|
-
/* @__PURE__ */ (0,
|
|
1139
|
-
/* @__PURE__ */ (0,
|
|
1140
|
-
/* @__PURE__ */ (0,
|
|
1141
|
-
/* @__PURE__ */ (0,
|
|
1142
|
-
/* @__PURE__ */ (0,
|
|
1143
|
-
/* @__PURE__ */ (0,
|
|
1144
|
-
[0, 1, 2, 3].map((index) => /* @__PURE__ */ (0,
|
|
1654
|
+
isDetailed ? /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(import_jsx_runtime48.Fragment, { children: [
|
|
1655
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)("div", { className: "h-px w-full bg-agg-separator" }),
|
|
1656
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)("div", { className: "flex h-14 items-end", children: /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(SkeletonBlock, { className: "h-full w-full rounded-none" }) }),
|
|
1657
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)("div", { className: "h-px w-full bg-agg-separator" }),
|
|
1658
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsxs)("div", { className: "flex flex-col gap-4 p-5", children: [
|
|
1659
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsxs)("div", { className: "flex flex-col gap-3", children: [
|
|
1660
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)(SkeletonBlock, { className: "h-4 w-12 rounded-agg-sm" }),
|
|
1661
|
+
[0, 1, 2, 3].map((index) => /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(
|
|
1145
1662
|
"div",
|
|
1146
1663
|
{
|
|
1147
1664
|
className: "grid grid-cols-[52px_1fr_1fr_52px] items-center gap-2",
|
|
1148
1665
|
children: [
|
|
1149
|
-
/* @__PURE__ */ (0,
|
|
1150
|
-
/* @__PURE__ */ (0,
|
|
1151
|
-
/* @__PURE__ */ (0,
|
|
1152
|
-
/* @__PURE__ */ (0,
|
|
1666
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)(SkeletonBlock, { className: "h-4 rounded-agg-sm" }),
|
|
1667
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)(SkeletonBlock, { className: "h-4 rounded-agg-sm" }),
|
|
1668
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)(SkeletonBlock, { className: "h-4 rounded-agg-sm" }),
|
|
1669
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)(SkeletonBlock, { className: "h-2 rounded-agg-full" })
|
|
1153
1670
|
]
|
|
1154
1671
|
},
|
|
1155
1672
|
`ask-${index}`
|
|
1156
1673
|
))
|
|
1157
1674
|
] }),
|
|
1158
|
-
/* @__PURE__ */ (0,
|
|
1159
|
-
/* @__PURE__ */ (0,
|
|
1160
|
-
[0, 1, 2, 3].map((index) => /* @__PURE__ */ (0,
|
|
1675
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsxs)("div", { className: "flex flex-col gap-3", children: [
|
|
1676
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)(SkeletonBlock, { className: "h-4 w-12 rounded-agg-sm" }),
|
|
1677
|
+
[0, 1, 2, 3].map((index) => /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(
|
|
1161
1678
|
"div",
|
|
1162
1679
|
{
|
|
1163
1680
|
className: "grid grid-cols-[52px_1fr_1fr_52px] items-center gap-2",
|
|
1164
1681
|
children: [
|
|
1165
|
-
/* @__PURE__ */ (0,
|
|
1166
|
-
/* @__PURE__ */ (0,
|
|
1167
|
-
/* @__PURE__ */ (0,
|
|
1168
|
-
/* @__PURE__ */ (0,
|
|
1682
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)(SkeletonBlock, { className: "h-4 rounded-agg-sm" }),
|
|
1683
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)(SkeletonBlock, { className: "h-4 rounded-agg-sm" }),
|
|
1684
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)(SkeletonBlock, { className: "h-4 rounded-agg-sm" }),
|
|
1685
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)(SkeletonBlock, { className: "h-2 rounded-agg-full" })
|
|
1169
1686
|
]
|
|
1170
1687
|
},
|
|
1171
1688
|
`bid-${index}`
|
|
@@ -1180,81 +1697,81 @@ var MarketDetailsSkeletonView = ({
|
|
|
1180
1697
|
MarketDetailsSkeletonView.displayName = "MarketDetailsSkeletonView";
|
|
1181
1698
|
|
|
1182
1699
|
// src/primitives/skeleton/views/place-order-skeleton-view.tsx
|
|
1183
|
-
var
|
|
1700
|
+
var import_jsx_runtime49 = require("react/jsx-runtime");
|
|
1184
1701
|
var placeOrderCardClassName = "overflow-hidden rounded-agg-xl border border-agg-border bg-agg-secondary shadow-none hover:shadow-none";
|
|
1185
1702
|
var ContentBody = () => {
|
|
1186
|
-
return /* @__PURE__ */ (0,
|
|
1187
|
-
/* @__PURE__ */ (0,
|
|
1188
|
-
/* @__PURE__ */ (0,
|
|
1189
|
-
/* @__PURE__ */ (0,
|
|
1190
|
-
/* @__PURE__ */ (0,
|
|
1191
|
-
/* @__PURE__ */ (0,
|
|
1192
|
-
/* @__PURE__ */ (0,
|
|
1193
|
-
/* @__PURE__ */ (0,
|
|
1703
|
+
return /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)("div", { className: "flex flex-col gap-6 p-5", children: [
|
|
1704
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsxs)("div", { className: "flex flex-col gap-2", children: [
|
|
1705
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsxs)("div", { className: "flex items-start justify-between gap-5", children: [
|
|
1706
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsxs)("div", { className: "flex min-w-0 flex-1 items-center gap-3", children: [
|
|
1707
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)(SkeletonBlock, { className: "h-12 w-12 shrink-0 rounded-agg-lg" }),
|
|
1708
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsxs)("div", { className: "flex min-w-0 flex-1 flex-col gap-2", children: [
|
|
1709
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)(SkeletonBlock, { className: "h-5 w-[92%] rounded-agg-sm" }),
|
|
1710
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)(SkeletonBlock, { className: "h-5 w-[80%] rounded-agg-sm" })
|
|
1194
1711
|
] })
|
|
1195
1712
|
] }),
|
|
1196
|
-
/* @__PURE__ */ (0,
|
|
1713
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)(SkeletonBlock, { className: "h-6 w-6 rounded-agg-sm" })
|
|
1197
1714
|
] }),
|
|
1198
|
-
/* @__PURE__ */ (0,
|
|
1715
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)(SkeletonBlock, { className: "h-5 w-28 rounded-agg-sm" })
|
|
1199
1716
|
] }),
|
|
1200
|
-
/* @__PURE__ */ (0,
|
|
1201
|
-
/* @__PURE__ */ (0,
|
|
1202
|
-
/* @__PURE__ */ (0,
|
|
1203
|
-
/* @__PURE__ */ (0,
|
|
1717
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)("div", { className: "flex h-11 items-end border-b border-agg-separator", children: /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)("div", { className: "flex items-center gap-8", children: [
|
|
1718
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsxs)("div", { className: "flex flex-col gap-2", children: [
|
|
1719
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)(SkeletonBlock, { className: "h-5 w-10 rounded-agg-sm" }),
|
|
1720
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)(SkeletonBlock, { className: "h-[3px] w-12 rounded-t-agg-sm" })
|
|
1204
1721
|
] }),
|
|
1205
|
-
/* @__PURE__ */ (0,
|
|
1722
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)(SkeletonBlock, { className: "h-5 w-10 rounded-agg-sm" })
|
|
1206
1723
|
] }) }),
|
|
1207
|
-
/* @__PURE__ */ (0,
|
|
1208
|
-
/* @__PURE__ */ (0,
|
|
1209
|
-
/* @__PURE__ */ (0,
|
|
1210
|
-
/* @__PURE__ */ (0,
|
|
1724
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsxs)("div", { className: "flex flex-col gap-4", children: [
|
|
1725
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsxs)("div", { className: "flex gap-2", children: [
|
|
1726
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)(SkeletonBlock, { className: "h-11 flex-1 rounded-agg-full" }),
|
|
1727
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)(SkeletonBlock, { className: "h-11 flex-1 rounded-agg-full" })
|
|
1211
1728
|
] }),
|
|
1212
|
-
/* @__PURE__ */ (0,
|
|
1213
|
-
/* @__PURE__ */ (0,
|
|
1214
|
-
/* @__PURE__ */ (0,
|
|
1215
|
-
/* @__PURE__ */ (0,
|
|
1729
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsxs)("div", { className: "flex items-center justify-between gap-4", children: [
|
|
1730
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsxs)("div", { className: "flex flex-col gap-2", children: [
|
|
1731
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)(SkeletonBlock, { className: "h-6 w-20 rounded-agg-sm" }),
|
|
1732
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)(SkeletonBlock, { className: "h-4 w-28 rounded-agg-sm" })
|
|
1216
1733
|
] }),
|
|
1217
|
-
/* @__PURE__ */ (0,
|
|
1734
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)(SkeletonBlock, { className: "h-9 w-28 rounded-agg-sm" })
|
|
1218
1735
|
] })
|
|
1219
1736
|
] }),
|
|
1220
|
-
/* @__PURE__ */ (0,
|
|
1221
|
-
/* @__PURE__ */ (0,
|
|
1222
|
-
[0, 1].map((index) => /* @__PURE__ */ (0,
|
|
1223
|
-
/* @__PURE__ */ (0,
|
|
1224
|
-
/* @__PURE__ */ (0,
|
|
1225
|
-
/* @__PURE__ */ (0,
|
|
1226
|
-
/* @__PURE__ */ (0,
|
|
1737
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsxs)("div", { className: "flex flex-col gap-2", children: [
|
|
1738
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)("div", { className: "rounded-agg-lg border border-agg-trade-highlight-border bg-agg-trade-highlight-surface p-3", children: /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)("div", { className: "flex flex-col gap-3", children: [
|
|
1739
|
+
[0, 1].map((index) => /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)("div", { className: "flex flex-col gap-3", children: [
|
|
1740
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsxs)("div", { className: "flex items-center justify-between gap-4", children: [
|
|
1741
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsxs)("div", { className: "flex items-center gap-2", children: [
|
|
1742
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)(SkeletonBlock, { className: "size-4 rounded-agg-full" }),
|
|
1743
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)(SkeletonBlock, { className: "h-5 w-24 rounded-agg-sm" })
|
|
1227
1744
|
] }),
|
|
1228
|
-
/* @__PURE__ */ (0,
|
|
1745
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)(SkeletonBlock, { className: "h-5 w-10 rounded-agg-sm" })
|
|
1229
1746
|
] }),
|
|
1230
|
-
index === 0 ? /* @__PURE__ */ (0,
|
|
1747
|
+
index === 0 ? /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("div", { className: "h-px w-full bg-agg-trade-highlight-border" }) : null
|
|
1231
1748
|
] }, `place-order-route-${index}`)),
|
|
1232
|
-
/* @__PURE__ */ (0,
|
|
1749
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)(SkeletonBlock, { className: "mx-auto h-5 w-40 rounded-agg-sm" })
|
|
1233
1750
|
] }) }),
|
|
1234
|
-
/* @__PURE__ */ (0,
|
|
1751
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)(SkeletonBlock, { className: "h-4 w-36 rounded-agg-sm" })
|
|
1235
1752
|
] }),
|
|
1236
|
-
/* @__PURE__ */ (0,
|
|
1237
|
-
/* @__PURE__ */ (0,
|
|
1238
|
-
/* @__PURE__ */ (0,
|
|
1239
|
-
/* @__PURE__ */ (0,
|
|
1753
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsxs)("div", { className: "flex items-center justify-between gap-4", children: [
|
|
1754
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsxs)("div", { className: "flex flex-col gap-2", children: [
|
|
1755
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)(SkeletonBlock, { className: "h-6 w-20 rounded-agg-sm" }),
|
|
1756
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)(SkeletonBlock, { className: "h-4 w-24 rounded-agg-sm" })
|
|
1240
1757
|
] }),
|
|
1241
|
-
/* @__PURE__ */ (0,
|
|
1758
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)(SkeletonBlock, { className: "h-9 w-36 rounded-agg-sm" })
|
|
1242
1759
|
] }),
|
|
1243
|
-
/* @__PURE__ */ (0,
|
|
1760
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)(SkeletonBlock, { className: "h-4 w-[88%] self-center rounded-agg-sm" })
|
|
1244
1761
|
] });
|
|
1245
1762
|
};
|
|
1246
1763
|
var PlaceOrderSkeletonView = ({
|
|
1247
1764
|
className,
|
|
1248
1765
|
ariaLabel
|
|
1249
1766
|
}) => {
|
|
1250
|
-
return /* @__PURE__ */ (0,
|
|
1767
|
+
return /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
|
|
1251
1768
|
"div",
|
|
1252
1769
|
{
|
|
1253
1770
|
className: cn("w-full", className),
|
|
1254
1771
|
role: "status",
|
|
1255
1772
|
"aria-label": ariaLabel != null ? ariaLabel : "Loading place order",
|
|
1256
1773
|
"aria-busy": true,
|
|
1257
|
-
children: /* @__PURE__ */ (0,
|
|
1774
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("div", { className: "flex w-full items-end justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)(
|
|
1258
1775
|
Card,
|
|
1259
1776
|
{
|
|
1260
1777
|
className: cn(
|
|
@@ -1262,8 +1779,8 @@ var PlaceOrderSkeletonView = ({
|
|
|
1262
1779
|
"w-full max-w-[400px] rounded-t-agg-xl rounded-b-none border-b-0"
|
|
1263
1780
|
),
|
|
1264
1781
|
children: [
|
|
1265
|
-
/* @__PURE__ */ (0,
|
|
1266
|
-
/* @__PURE__ */ (0,
|
|
1782
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)(ContentBody, {}),
|
|
1783
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)("div", { className: "border-t border-agg-separator bg-agg-secondary p-4", children: /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(SkeletonBlock, { className: "h-12 w-full rounded-agg-full" }) })
|
|
1267
1784
|
]
|
|
1268
1785
|
}
|
|
1269
1786
|
) })
|
|
@@ -1274,54 +1791,54 @@ PlaceOrderSkeletonView.displayName = "PlaceOrderSkeletonView";
|
|
|
1274
1791
|
|
|
1275
1792
|
// src/primitives/skeleton/views/settlement-skeleton-view.tsx
|
|
1276
1793
|
var import_hooks7 = require("@agg-market/hooks");
|
|
1277
|
-
var
|
|
1794
|
+
var import_jsx_runtime50 = require("react/jsx-runtime");
|
|
1278
1795
|
var SettlementSkeletonView = ({
|
|
1279
1796
|
className,
|
|
1280
1797
|
ariaLabel
|
|
1281
1798
|
}) => {
|
|
1282
1799
|
const labels = (0, import_hooks7.useLabels)();
|
|
1283
|
-
return /* @__PURE__ */ (0,
|
|
1800
|
+
return /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)(
|
|
1284
1801
|
Card,
|
|
1285
1802
|
{
|
|
1286
1803
|
className: cn(
|
|
1287
|
-
"gap-5 rounded-agg-xl border border-agg-separator bg-agg-secondary p-5 shadow-none hover:shadow-none",
|
|
1804
|
+
"flex flex-col w-full gap-5 rounded-agg-xl border border-agg-separator bg-agg-secondary p-5 shadow-none hover:shadow-none",
|
|
1288
1805
|
className
|
|
1289
1806
|
),
|
|
1290
1807
|
role: "status",
|
|
1291
1808
|
"aria-label": ariaLabel != null ? ariaLabel : labels.trading.settlementLoading,
|
|
1292
1809
|
"aria-busy": true,
|
|
1293
1810
|
children: [
|
|
1294
|
-
/* @__PURE__ */ (0,
|
|
1295
|
-
/* @__PURE__ */ (0,
|
|
1296
|
-
/* @__PURE__ */ (0,
|
|
1811
|
+
/* @__PURE__ */ (0, import_jsx_runtime50.jsxs)("div", { className: "flex flex-col gap-1 md:flex-row md:items-center md:justify-between md:gap-4", children: [
|
|
1812
|
+
/* @__PURE__ */ (0, import_jsx_runtime50.jsx)(SkeletonBlock, { className: "h-4 w-20 rounded-agg-sm" }),
|
|
1813
|
+
/* @__PURE__ */ (0, import_jsx_runtime50.jsx)(SkeletonBlock, { className: "h-5 w-full max-w-80 rounded-agg-sm" })
|
|
1297
1814
|
] }),
|
|
1298
|
-
/* @__PURE__ */ (0,
|
|
1299
|
-
/* @__PURE__ */ (0,
|
|
1300
|
-
/* @__PURE__ */ (0,
|
|
1301
|
-
/* @__PURE__ */ (0,
|
|
1302
|
-
/* @__PURE__ */ (0,
|
|
1303
|
-
/* @__PURE__ */ (0,
|
|
1304
|
-
/* @__PURE__ */ (0,
|
|
1815
|
+
/* @__PURE__ */ (0, import_jsx_runtime50.jsxs)("div", { className: "flex flex-col gap-2", children: [
|
|
1816
|
+
/* @__PURE__ */ (0, import_jsx_runtime50.jsx)(SkeletonBlock, { className: "h-5 w-52 rounded-agg-sm" }),
|
|
1817
|
+
/* @__PURE__ */ (0, import_jsx_runtime50.jsxs)("div", { className: "flex flex-col gap-2", children: [
|
|
1818
|
+
/* @__PURE__ */ (0, import_jsx_runtime50.jsx)(SkeletonBlock, { className: "h-4 w-[88%] rounded-agg-sm" }),
|
|
1819
|
+
/* @__PURE__ */ (0, import_jsx_runtime50.jsx)(SkeletonBlock, { className: "h-4 w-[84%] rounded-agg-sm" }),
|
|
1820
|
+
/* @__PURE__ */ (0, import_jsx_runtime50.jsx)(SkeletonBlock, { className: "h-4 w-[80%] rounded-agg-sm" }),
|
|
1821
|
+
/* @__PURE__ */ (0, import_jsx_runtime50.jsx)(SkeletonBlock, { className: "h-4 w-[74%] rounded-agg-sm" })
|
|
1305
1822
|
] })
|
|
1306
1823
|
] }),
|
|
1307
|
-
/* @__PURE__ */ (0,
|
|
1308
|
-
/* @__PURE__ */ (0,
|
|
1309
|
-
/* @__PURE__ */ (0,
|
|
1310
|
-
/* @__PURE__ */ (0,
|
|
1311
|
-
/* @__PURE__ */ (0,
|
|
1312
|
-
/* @__PURE__ */ (0,
|
|
1313
|
-
/* @__PURE__ */ (0,
|
|
1824
|
+
/* @__PURE__ */ (0, import_jsx_runtime50.jsx)("div", { className: "h-px w-full bg-agg-separator" }),
|
|
1825
|
+
/* @__PURE__ */ (0, import_jsx_runtime50.jsxs)("div", { className: "flex flex-col gap-3", children: [
|
|
1826
|
+
/* @__PURE__ */ (0, import_jsx_runtime50.jsxs)("div", { className: "flex flex-col gap-2", children: [
|
|
1827
|
+
/* @__PURE__ */ (0, import_jsx_runtime50.jsxs)("div", { className: "flex items-center gap-2", children: [
|
|
1828
|
+
/* @__PURE__ */ (0, import_jsx_runtime50.jsx)(SkeletonBlock, { className: "size-4 rounded-agg-full" }),
|
|
1829
|
+
/* @__PURE__ */ (0, import_jsx_runtime50.jsx)(SkeletonBlock, { className: "h-5 w-24 rounded-agg-sm" }),
|
|
1830
|
+
/* @__PURE__ */ (0, import_jsx_runtime50.jsx)(SkeletonBlock, { className: "h-4 w-4 rounded-agg-sm" })
|
|
1314
1831
|
] }),
|
|
1315
|
-
/* @__PURE__ */ (0,
|
|
1316
|
-
/* @__PURE__ */ (0,
|
|
1317
|
-
/* @__PURE__ */ (0,
|
|
1318
|
-
/* @__PURE__ */ (0,
|
|
1832
|
+
/* @__PURE__ */ (0, import_jsx_runtime50.jsxs)("div", { className: "flex flex-col gap-2 pl-6", children: [
|
|
1833
|
+
/* @__PURE__ */ (0, import_jsx_runtime50.jsx)(SkeletonBlock, { className: "h-4 w-full rounded-agg-sm" }),
|
|
1834
|
+
/* @__PURE__ */ (0, import_jsx_runtime50.jsx)(SkeletonBlock, { className: "h-4 w-[92%] rounded-agg-sm" }),
|
|
1835
|
+
/* @__PURE__ */ (0, import_jsx_runtime50.jsx)(SkeletonBlock, { className: "h-4 w-[34%] rounded-agg-sm" })
|
|
1319
1836
|
] })
|
|
1320
1837
|
] }),
|
|
1321
|
-
[0, 1, 2].map((index) => /* @__PURE__ */ (0,
|
|
1322
|
-
/* @__PURE__ */ (0,
|
|
1323
|
-
/* @__PURE__ */ (0,
|
|
1324
|
-
/* @__PURE__ */ (0,
|
|
1838
|
+
[0, 1, 2].map((index) => /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)("div", { className: "flex items-center gap-2", children: [
|
|
1839
|
+
/* @__PURE__ */ (0, import_jsx_runtime50.jsx)(SkeletonBlock, { className: "size-4 rounded-agg-full" }),
|
|
1840
|
+
/* @__PURE__ */ (0, import_jsx_runtime50.jsx)(SkeletonBlock, { className: "h-5 w-20 rounded-agg-sm" }),
|
|
1841
|
+
/* @__PURE__ */ (0, import_jsx_runtime50.jsx)(SkeletonBlock, { className: "h-4 w-4 rounded-agg-sm" })
|
|
1325
1842
|
] }, `settlement-venue-${index}`))
|
|
1326
1843
|
] })
|
|
1327
1844
|
]
|
|
@@ -1342,38 +1859,39 @@ var skeletonViews = {
|
|
|
1342
1859
|
};
|
|
1343
1860
|
|
|
1344
1861
|
// src/primitives/skeleton/index.tsx
|
|
1345
|
-
var
|
|
1862
|
+
var import_jsx_runtime51 = require("react/jsx-runtime");
|
|
1346
1863
|
var Skeleton = ({ view, className, ariaLabel }) => {
|
|
1347
1864
|
if (view === skeletonViews.eventListItem) {
|
|
1348
|
-
return /* @__PURE__ */ (0,
|
|
1865
|
+
return /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(EventListItemSkeletonView, { className, ariaLabel, isStandalone: true });
|
|
1349
1866
|
}
|
|
1350
1867
|
if (view === skeletonViews.eventListItemDetails) {
|
|
1351
|
-
return /* @__PURE__ */ (0,
|
|
1868
|
+
return /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(EventListItemDetailsSkeletonView, { className, ariaLabel });
|
|
1352
1869
|
}
|
|
1353
1870
|
if (view === skeletonViews.marketDetailsMinified) {
|
|
1354
|
-
return /* @__PURE__ */ (0,
|
|
1871
|
+
return /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(MarketDetailsSkeletonView, { className, ariaLabel, isDetailed: false });
|
|
1355
1872
|
}
|
|
1356
1873
|
if (view === skeletonViews.marketDetailsDetailed) {
|
|
1357
|
-
return /* @__PURE__ */ (0,
|
|
1874
|
+
return /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(MarketDetailsSkeletonView, { className, ariaLabel, isDetailed: true });
|
|
1358
1875
|
}
|
|
1359
1876
|
if (view === skeletonViews.settlement) {
|
|
1360
|
-
return /* @__PURE__ */ (0,
|
|
1877
|
+
return /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(SettlementSkeletonView, { className, ariaLabel });
|
|
1361
1878
|
}
|
|
1362
1879
|
if (view === skeletonViews.placeOrder) {
|
|
1363
|
-
return /* @__PURE__ */ (0,
|
|
1880
|
+
return /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(PlaceOrderSkeletonView, { className, ariaLabel });
|
|
1364
1881
|
}
|
|
1365
|
-
return /* @__PURE__ */ (0,
|
|
1882
|
+
return /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(EventListSkeletonView, { className, ariaLabel });
|
|
1366
1883
|
};
|
|
1367
1884
|
Skeleton.displayName = "Skeleton";
|
|
1368
1885
|
|
|
1369
1886
|
// src/primitives/tabs/index.tsx
|
|
1370
|
-
var
|
|
1887
|
+
var import_react2 = require("react");
|
|
1371
1888
|
var import_hooks9 = require("@agg-market/hooks");
|
|
1372
1889
|
var DropdownMenu = __toESM(require("@radix-ui/react-dropdown-menu"));
|
|
1373
1890
|
|
|
1374
1891
|
// src/primitives/select/index.tsx
|
|
1892
|
+
var import_react = require("react");
|
|
1375
1893
|
var import_hooks8 = require("@agg-market/hooks");
|
|
1376
|
-
var
|
|
1894
|
+
var import_jsx_runtime52 = require("react/jsx-runtime");
|
|
1377
1895
|
var Select = ({
|
|
1378
1896
|
items,
|
|
1379
1897
|
value,
|
|
@@ -1382,16 +1900,73 @@ var Select = ({
|
|
|
1382
1900
|
className,
|
|
1383
1901
|
disabled = false
|
|
1384
1902
|
}) => {
|
|
1903
|
+
var _a;
|
|
1385
1904
|
const labels = (0, import_hooks8.useLabels)();
|
|
1386
1905
|
const { enableAnimations } = (0, import_hooks8.useSdkUiConfig)();
|
|
1387
1906
|
const hasEnabledItems = items.some((item) => !item.disabled);
|
|
1388
|
-
|
|
1389
|
-
|
|
1390
|
-
|
|
1907
|
+
const hasAnyIcon = items.some((item) => item.iconUrl);
|
|
1908
|
+
const [isOpen, setIsOpen] = (0, import_react.useState)(false);
|
|
1909
|
+
const containerRef = (0, import_react.useRef)(null);
|
|
1910
|
+
const close = (0, import_react.useCallback)(() => setIsOpen(false), []);
|
|
1911
|
+
(0, import_react.useEffect)(() => {
|
|
1912
|
+
if (!isOpen)
|
|
1913
|
+
return;
|
|
1914
|
+
const handlePointerDown = (e) => {
|
|
1915
|
+
if (containerRef.current && !containerRef.current.contains(e.target)) {
|
|
1916
|
+
close();
|
|
1917
|
+
}
|
|
1918
|
+
};
|
|
1919
|
+
document.addEventListener("mousedown", handlePointerDown);
|
|
1920
|
+
return () => document.removeEventListener("mousedown", handlePointerDown);
|
|
1921
|
+
}, [isOpen, close]);
|
|
1922
|
+
(0, import_react.useEffect)(() => {
|
|
1923
|
+
if (!isOpen)
|
|
1924
|
+
return;
|
|
1925
|
+
const handleKey = (e) => {
|
|
1926
|
+
if (e.key === "Escape")
|
|
1927
|
+
close();
|
|
1928
|
+
};
|
|
1929
|
+
document.addEventListener("keydown", handleKey);
|
|
1930
|
+
return () => document.removeEventListener("keydown", handleKey);
|
|
1931
|
+
}, [isOpen, close]);
|
|
1932
|
+
const isDisabled = disabled || !hasEnabledItems;
|
|
1933
|
+
const selectedItem = items.find((item) => item.value === value);
|
|
1934
|
+
if (!hasAnyIcon) {
|
|
1935
|
+
return /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)("label", { className: cn("relative inline-flex w-full", className), children: [
|
|
1936
|
+
/* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
|
|
1937
|
+
"select",
|
|
1938
|
+
{
|
|
1939
|
+
"aria-label": ariaLabel != null ? ariaLabel : labels.common.selectAria,
|
|
1940
|
+
className: cn(
|
|
1941
|
+
"w-full appearance-none rounded-agg-md border border-agg-separator bg-agg-secondary px-4 py-2 pr-10 font-agg-sans text-agg-sm leading-agg-5 text-agg-foreground outline-none",
|
|
1942
|
+
getMotionClassName(
|
|
1943
|
+
enableAnimations,
|
|
1944
|
+
"transition-[border-color,box-shadow] duration-200 ease-out"
|
|
1945
|
+
),
|
|
1946
|
+
"focus:border-agg-primary focus:ring-2 focus:ring-agg-primary/15",
|
|
1947
|
+
"disabled:cursor-not-allowed disabled:opacity-60"
|
|
1948
|
+
),
|
|
1949
|
+
disabled: isDisabled,
|
|
1950
|
+
value,
|
|
1951
|
+
onChange: (event) => onChange(event.target.value),
|
|
1952
|
+
children: items.map((item) => /* @__PURE__ */ (0, import_jsx_runtime52.jsx)("option", { value: item.value, disabled: item.disabled, children: item.label }, item.value))
|
|
1953
|
+
}
|
|
1954
|
+
),
|
|
1955
|
+
/* @__PURE__ */ (0, import_jsx_runtime52.jsx)("span", { className: "pointer-events-none absolute inset-y-0 right-3 inline-flex items-center justify-center text-agg-muted-foreground", children: /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(Icon, { name: "chevron-down", size: "s", color: "currentColor" }) })
|
|
1956
|
+
] });
|
|
1957
|
+
}
|
|
1958
|
+
return /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)("div", { ref: containerRef, className: cn("relative inline-flex w-full", className), children: [
|
|
1959
|
+
/* @__PURE__ */ (0, import_jsx_runtime52.jsxs)(
|
|
1960
|
+
"button",
|
|
1391
1961
|
{
|
|
1962
|
+
type: "button",
|
|
1392
1963
|
"aria-label": ariaLabel != null ? ariaLabel : labels.common.selectAria,
|
|
1964
|
+
"aria-expanded": isOpen,
|
|
1965
|
+
"aria-haspopup": "listbox",
|
|
1966
|
+
disabled: isDisabled,
|
|
1393
1967
|
className: cn(
|
|
1394
|
-
"w-full
|
|
1968
|
+
"w-full rounded-agg-md border border-agg-separator bg-agg-secondary px-4 py-2 pr-10 font-agg-sans text-agg-sm leading-agg-5 text-agg-foreground outline-none",
|
|
1969
|
+
"flex items-center gap-2 text-left",
|
|
1395
1970
|
getMotionClassName(
|
|
1396
1971
|
enableAnimations,
|
|
1397
1972
|
"transition-[border-color,box-shadow] duration-200 ease-out"
|
|
@@ -1399,13 +1974,65 @@ var Select = ({
|
|
|
1399
1974
|
"focus:border-agg-primary focus:ring-2 focus:ring-agg-primary/15",
|
|
1400
1975
|
"disabled:cursor-not-allowed disabled:opacity-60"
|
|
1401
1976
|
),
|
|
1402
|
-
|
|
1403
|
-
|
|
1404
|
-
|
|
1405
|
-
|
|
1977
|
+
onClick: () => setIsOpen((prev) => !prev),
|
|
1978
|
+
children: [
|
|
1979
|
+
(selectedItem == null ? void 0 : selectedItem.iconUrl) ? /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
|
|
1980
|
+
"img",
|
|
1981
|
+
{
|
|
1982
|
+
src: selectedItem.iconUrl,
|
|
1983
|
+
alt: "",
|
|
1984
|
+
className: "h-4 w-4 shrink-0 rounded-sm object-contain"
|
|
1985
|
+
}
|
|
1986
|
+
) : null,
|
|
1987
|
+
/* @__PURE__ */ (0, import_jsx_runtime52.jsx)("span", { className: "flex-1 truncate", children: (_a = selectedItem == null ? void 0 : selectedItem.label) != null ? _a : "" })
|
|
1988
|
+
]
|
|
1406
1989
|
}
|
|
1407
1990
|
),
|
|
1408
|
-
/* @__PURE__ */ (0,
|
|
1991
|
+
/* @__PURE__ */ (0, import_jsx_runtime52.jsx)("span", { className: "pointer-events-none absolute inset-y-0 right-3 inline-flex items-center justify-center text-agg-muted-foreground", children: /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(Icon, { name: "chevron-down", size: "s", color: "currentColor" }) }),
|
|
1992
|
+
isOpen ? /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
|
|
1993
|
+
"div",
|
|
1994
|
+
{
|
|
1995
|
+
role: "listbox",
|
|
1996
|
+
"aria-label": ariaLabel != null ? ariaLabel : labels.common.selectAria,
|
|
1997
|
+
className: "absolute top-full left-0 z-50 mt-1 w-full overflow-hidden rounded-agg-md border border-agg-separator bg-agg-secondary shadow-lg",
|
|
1998
|
+
children: items.map((item) => {
|
|
1999
|
+
const isSelected = item.value === value;
|
|
2000
|
+
return /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)(
|
|
2001
|
+
"button",
|
|
2002
|
+
{
|
|
2003
|
+
type: "button",
|
|
2004
|
+
role: "option",
|
|
2005
|
+
"aria-selected": isSelected,
|
|
2006
|
+
disabled: item.disabled,
|
|
2007
|
+
className: cn(
|
|
2008
|
+
"flex w-full items-center gap-2 px-4 py-2 text-left text-agg-sm leading-agg-5 outline-none",
|
|
2009
|
+
"hover:bg-agg-secondary-hover focus-visible:bg-agg-secondary-hover",
|
|
2010
|
+
isSelected ? "font-agg-bold text-agg-primary" : "font-agg-normal text-agg-foreground",
|
|
2011
|
+
item.disabled && "cursor-not-allowed opacity-60"
|
|
2012
|
+
),
|
|
2013
|
+
onClick: () => {
|
|
2014
|
+
if (!item.disabled) {
|
|
2015
|
+
onChange(item.value);
|
|
2016
|
+
close();
|
|
2017
|
+
}
|
|
2018
|
+
},
|
|
2019
|
+
children: [
|
|
2020
|
+
item.iconUrl ? /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
|
|
2021
|
+
"img",
|
|
2022
|
+
{
|
|
2023
|
+
src: item.iconUrl,
|
|
2024
|
+
alt: "",
|
|
2025
|
+
className: "h-4 w-4 shrink-0 rounded-sm object-contain"
|
|
2026
|
+
}
|
|
2027
|
+
) : null,
|
|
2028
|
+
/* @__PURE__ */ (0, import_jsx_runtime52.jsx)("span", { className: "truncate", children: item.label })
|
|
2029
|
+
]
|
|
2030
|
+
},
|
|
2031
|
+
item.value
|
|
2032
|
+
);
|
|
2033
|
+
})
|
|
2034
|
+
}
|
|
2035
|
+
) : null
|
|
1409
2036
|
] });
|
|
1410
2037
|
};
|
|
1411
2038
|
Select.displayName = "Select";
|
|
@@ -1511,7 +2138,7 @@ var resolveTabsOverflowLayout = ({
|
|
|
1511
2138
|
};
|
|
1512
2139
|
|
|
1513
2140
|
// src/primitives/tabs/index.tsx
|
|
1514
|
-
var
|
|
2141
|
+
var import_jsx_runtime53 = require("react/jsx-runtime");
|
|
1515
2142
|
var mobileTabsMediaQuery = "(max-width: 767px)";
|
|
1516
2143
|
var getTabButtonClassName = ({
|
|
1517
2144
|
enableAnimations,
|
|
@@ -1578,8 +2205,8 @@ var Tabs = ({
|
|
|
1578
2205
|
}) => {
|
|
1579
2206
|
const labels = (0, import_hooks9.useLabels)();
|
|
1580
2207
|
const { enableAnimations, rootClassName } = (0, import_hooks9.useSdkUiConfig)();
|
|
1581
|
-
const buttonRefs = (0,
|
|
1582
|
-
const dragStateRef = (0,
|
|
2208
|
+
const buttonRefs = (0, import_react2.useRef)([]);
|
|
2209
|
+
const dragStateRef = (0, import_react2.useRef)({
|
|
1583
2210
|
isPointerDown: false,
|
|
1584
2211
|
isDragging: false,
|
|
1585
2212
|
pointerId: null,
|
|
@@ -1587,31 +2214,31 @@ var Tabs = ({
|
|
|
1587
2214
|
startClientY: 0,
|
|
1588
2215
|
startScrollLeft: 0
|
|
1589
2216
|
});
|
|
1590
|
-
const suppressClickRef = (0,
|
|
2217
|
+
const suppressClickRef = (0, import_react2.useRef)(false);
|
|
1591
2218
|
const resolvedAriaLabel = ariaLabel != null ? ariaLabel : labels.common.tabsAria;
|
|
1592
2219
|
const resolvedOverflowMenuAriaLabel = overflowMenuAriaLabel != null ? overflowMenuAriaLabel : labels.common.hiddenTabsAria;
|
|
1593
|
-
const [isMoreMenuOpen, setIsMoreMenuOpen] = (0,
|
|
1594
|
-
const [isMobileViewport, setIsMobileViewport] = (0,
|
|
1595
|
-
const [isDraggingTabs, setIsDraggingTabs] = (0,
|
|
1596
|
-
const [activeUnderlineStyle, setActiveUnderlineStyle] = (0,
|
|
2220
|
+
const [isMoreMenuOpen, setIsMoreMenuOpen] = (0, import_react2.useState)(false);
|
|
2221
|
+
const [isMobileViewport, setIsMobileViewport] = (0, import_react2.useState)(false);
|
|
2222
|
+
const [isDraggingTabs, setIsDraggingTabs] = (0, import_react2.useState)(false);
|
|
2223
|
+
const [activeUnderlineStyle, setActiveUnderlineStyle] = (0, import_react2.useState)({
|
|
1597
2224
|
transform: "translateX(0px)",
|
|
1598
2225
|
width: 0,
|
|
1599
2226
|
opacity: 0
|
|
1600
2227
|
});
|
|
1601
|
-
const [overflowLayout, setOverflowLayout] = (0,
|
|
2228
|
+
const [overflowLayout, setOverflowLayout] = (0, import_react2.useState)({
|
|
1602
2229
|
visibleItems: items,
|
|
1603
2230
|
hiddenItems: []
|
|
1604
2231
|
});
|
|
1605
|
-
const [scrollAffordanceState, setScrollAffordanceState] = (0,
|
|
2232
|
+
const [scrollAffordanceState, setScrollAffordanceState] = (0, import_react2.useState)({
|
|
1606
2233
|
showStart: false,
|
|
1607
2234
|
showEnd: false
|
|
1608
2235
|
});
|
|
1609
|
-
const containerRef = (0,
|
|
1610
|
-
const tabListRef = (0,
|
|
1611
|
-
const moreButtonMeasureRef = (0,
|
|
1612
|
-
const tabMeasureRefs = (0,
|
|
2236
|
+
const containerRef = (0, import_react2.useRef)(null);
|
|
2237
|
+
const tabListRef = (0, import_react2.useRef)(null);
|
|
2238
|
+
const moreButtonMeasureRef = (0, import_react2.useRef)(null);
|
|
2239
|
+
const tabMeasureRefs = (0, import_react2.useRef)(/* @__PURE__ */ new Map());
|
|
1613
2240
|
const isBarVariant = variant === "bar";
|
|
1614
|
-
const resolvedOverflowBehavior = (0,
|
|
2241
|
+
const resolvedOverflowBehavior = (0, import_react2.useMemo)(() => {
|
|
1615
2242
|
if (overflowBehavior)
|
|
1616
2243
|
return overflowBehavior;
|
|
1617
2244
|
if (!isBarVariant)
|
|
@@ -1621,7 +2248,7 @@ var Tabs = ({
|
|
|
1621
2248
|
const shouldUseOverflowMenu = resolvedOverflowBehavior === "menu";
|
|
1622
2249
|
const shouldUseOverflowScroll = resolvedOverflowBehavior === "scroll";
|
|
1623
2250
|
const shouldUseOverflowSelect = resolvedOverflowBehavior === "select";
|
|
1624
|
-
const handleMeasureTabRef = (0,
|
|
2251
|
+
const handleMeasureTabRef = (0, import_react2.useCallback)(
|
|
1625
2252
|
(tabValue, tabElement) => {
|
|
1626
2253
|
if (!tabElement) {
|
|
1627
2254
|
tabMeasureRefs.current.delete(tabValue);
|
|
@@ -1631,7 +2258,7 @@ var Tabs = ({
|
|
|
1631
2258
|
},
|
|
1632
2259
|
[]
|
|
1633
2260
|
);
|
|
1634
|
-
(0,
|
|
2261
|
+
(0, import_react2.useEffect)(() => {
|
|
1635
2262
|
if (typeof window === "undefined")
|
|
1636
2263
|
return;
|
|
1637
2264
|
const mediaQueryList = window.matchMedia(mobileTabsMediaQuery);
|
|
@@ -1650,7 +2277,7 @@ var Tabs = ({
|
|
|
1650
2277
|
mediaQueryList.removeListener(handleMediaQueryChange);
|
|
1651
2278
|
};
|
|
1652
2279
|
}, []);
|
|
1653
|
-
const handleRecalculateOverflow = (0,
|
|
2280
|
+
const handleRecalculateOverflow = (0, import_react2.useCallback)(() => {
|
|
1654
2281
|
var _a, _b, _c, _d;
|
|
1655
2282
|
if (!shouldUseOverflowMenu) {
|
|
1656
2283
|
setOverflowLayout({
|
|
@@ -1677,10 +2304,10 @@ var Tabs = ({
|
|
|
1677
2304
|
})
|
|
1678
2305
|
);
|
|
1679
2306
|
}, [items, shouldUseOverflowMenu, value]);
|
|
1680
|
-
(0,
|
|
2307
|
+
(0, import_react2.useEffect)(() => {
|
|
1681
2308
|
handleRecalculateOverflow();
|
|
1682
2309
|
}, [handleRecalculateOverflow]);
|
|
1683
|
-
(0,
|
|
2310
|
+
(0, import_react2.useEffect)(() => {
|
|
1684
2311
|
if (!shouldUseOverflowMenu)
|
|
1685
2312
|
return;
|
|
1686
2313
|
const container = containerRef.current;
|
|
@@ -1694,12 +2321,12 @@ var Tabs = ({
|
|
|
1694
2321
|
resizeObserver.disconnect();
|
|
1695
2322
|
};
|
|
1696
2323
|
}, [handleRecalculateOverflow, shouldUseOverflowMenu]);
|
|
1697
|
-
(0,
|
|
2324
|
+
(0, import_react2.useEffect)(() => {
|
|
1698
2325
|
if (overflowLayout.hiddenItems.length > 0)
|
|
1699
2326
|
return;
|
|
1700
2327
|
setIsMoreMenuOpen(false);
|
|
1701
2328
|
}, [overflowLayout.hiddenItems.length]);
|
|
1702
|
-
const updateScrollAffordances = (0,
|
|
2329
|
+
const updateScrollAffordances = (0, import_react2.useCallback)(() => {
|
|
1703
2330
|
if (!shouldUseOverflowScroll) {
|
|
1704
2331
|
setScrollAffordanceState({
|
|
1705
2332
|
showStart: false,
|
|
@@ -1718,7 +2345,7 @@ var Tabs = ({
|
|
|
1718
2345
|
}, [shouldUseOverflowScroll]);
|
|
1719
2346
|
const renderedItems = shouldUseOverflowMenu ? overflowLayout.visibleItems : items;
|
|
1720
2347
|
const shouldShowMoreButton = shouldUseOverflowMenu && overflowLayout.hiddenItems.length > 0;
|
|
1721
|
-
const selectItems = (0,
|
|
2348
|
+
const selectItems = (0, import_react2.useMemo)(() => {
|
|
1722
2349
|
return items.map((item) => ({
|
|
1723
2350
|
value: item.value,
|
|
1724
2351
|
label: item.label,
|
|
@@ -1767,7 +2394,7 @@ var Tabs = ({
|
|
|
1767
2394
|
return;
|
|
1768
2395
|
}
|
|
1769
2396
|
};
|
|
1770
|
-
const activeHiddenItem = (0,
|
|
2397
|
+
const activeHiddenItem = (0, import_react2.useMemo)(() => {
|
|
1771
2398
|
if (!shouldUseOverflowMenu)
|
|
1772
2399
|
return void 0;
|
|
1773
2400
|
return overflowLayout.hiddenItems.find((item) => item.value === value);
|
|
@@ -1879,7 +2506,7 @@ var Tabs = ({
|
|
|
1879
2506
|
handleSelect(nextValue);
|
|
1880
2507
|
setIsMoreMenuOpen(false);
|
|
1881
2508
|
};
|
|
1882
|
-
const updateActiveUnderline = (0,
|
|
2509
|
+
const updateActiveUnderline = (0, import_react2.useCallback)(() => {
|
|
1883
2510
|
if (isBarVariant) {
|
|
1884
2511
|
setActiveUnderlineStyle({
|
|
1885
2512
|
transform: "translateX(0px)",
|
|
@@ -1902,10 +2529,10 @@ var Tabs = ({
|
|
|
1902
2529
|
opacity: 1
|
|
1903
2530
|
});
|
|
1904
2531
|
}, [isBarVariant, renderedItems, value]);
|
|
1905
|
-
(0,
|
|
2532
|
+
(0, import_react2.useLayoutEffect)(() => {
|
|
1906
2533
|
updateActiveUnderline();
|
|
1907
2534
|
}, [updateActiveUnderline]);
|
|
1908
|
-
(0,
|
|
2535
|
+
(0, import_react2.useEffect)(() => {
|
|
1909
2536
|
if (isBarVariant || !shouldUseOverflowScroll)
|
|
1910
2537
|
return;
|
|
1911
2538
|
const tabListElement = tabListRef.current;
|
|
@@ -1921,12 +2548,12 @@ var Tabs = ({
|
|
|
1921
2548
|
tabListElement.removeEventListener("scroll", handleScroll);
|
|
1922
2549
|
};
|
|
1923
2550
|
}, [isBarVariant, shouldUseOverflowScroll, updateActiveUnderline, updateScrollAffordances]);
|
|
1924
|
-
(0,
|
|
2551
|
+
(0, import_react2.useEffect)(() => {
|
|
1925
2552
|
if (!shouldUseOverflowScroll)
|
|
1926
2553
|
return;
|
|
1927
2554
|
updateScrollAffordances();
|
|
1928
2555
|
}, [renderedItems, shouldUseOverflowScroll, updateScrollAffordances, value]);
|
|
1929
|
-
(0,
|
|
2556
|
+
(0, import_react2.useEffect)(() => {
|
|
1930
2557
|
if (isBarVariant && !shouldUseOverflowScroll)
|
|
1931
2558
|
return;
|
|
1932
2559
|
if (typeof ResizeObserver === "undefined")
|
|
@@ -1943,7 +2570,7 @@ var Tabs = ({
|
|
|
1943
2570
|
resizeObserver.disconnect();
|
|
1944
2571
|
};
|
|
1945
2572
|
}, [isBarVariant, shouldUseOverflowScroll, updateActiveUnderline, updateScrollAffordances]);
|
|
1946
|
-
(0,
|
|
2573
|
+
(0, import_react2.useEffect)(() => {
|
|
1947
2574
|
if (!shouldUseOverflowScroll)
|
|
1948
2575
|
return;
|
|
1949
2576
|
const activeIndex = renderedItems.findIndex((item) => item.value === value);
|
|
@@ -1957,7 +2584,7 @@ var Tabs = ({
|
|
|
1957
2584
|
});
|
|
1958
2585
|
}, [enableAnimations, renderedItems, shouldUseOverflowScroll, value]);
|
|
1959
2586
|
if (shouldUseOverflowSelect) {
|
|
1960
|
-
return /* @__PURE__ */ (0,
|
|
2587
|
+
return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)("div", { className: cn("w-full", className), children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
|
|
1961
2588
|
Select,
|
|
1962
2589
|
{
|
|
1963
2590
|
ariaLabel,
|
|
@@ -1969,7 +2596,7 @@ var Tabs = ({
|
|
|
1969
2596
|
}
|
|
1970
2597
|
) });
|
|
1971
2598
|
}
|
|
1972
|
-
return /* @__PURE__ */ (0,
|
|
2599
|
+
return /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(
|
|
1973
2600
|
"div",
|
|
1974
2601
|
{
|
|
1975
2602
|
ref: containerRef,
|
|
@@ -1978,7 +2605,7 @@ var Tabs = ({
|
|
|
1978
2605
|
className
|
|
1979
2606
|
),
|
|
1980
2607
|
children: [
|
|
1981
|
-
/* @__PURE__ */ (0,
|
|
2608
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(
|
|
1982
2609
|
"div",
|
|
1983
2610
|
{
|
|
1984
2611
|
ref: tabListRef,
|
|
@@ -1994,7 +2621,7 @@ var Tabs = ({
|
|
|
1994
2621
|
children: [
|
|
1995
2622
|
renderedItems.map((item, index) => {
|
|
1996
2623
|
const isActive = item.value === value;
|
|
1997
|
-
return /* @__PURE__ */ (0,
|
|
2624
|
+
return /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(
|
|
1998
2625
|
"button",
|
|
1999
2626
|
{
|
|
2000
2627
|
ref: (buttonElement) => {
|
|
@@ -2019,7 +2646,7 @@ var Tabs = ({
|
|
|
2019
2646
|
shouldUseOverflowScroll && !isBarVariant && "snap-start"
|
|
2020
2647
|
),
|
|
2021
2648
|
children: [
|
|
2022
|
-
isBarVariant ? /* @__PURE__ */ (0,
|
|
2649
|
+
isBarVariant ? /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(import_jsx_runtime53.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
|
|
2023
2650
|
"span",
|
|
2024
2651
|
{
|
|
2025
2652
|
"aria-hidden": true,
|
|
@@ -2033,14 +2660,14 @@ var Tabs = ({
|
|
|
2033
2660
|
)
|
|
2034
2661
|
}
|
|
2035
2662
|
) }) : null,
|
|
2036
|
-
item.icon ? /* @__PURE__ */ (0,
|
|
2037
|
-
/* @__PURE__ */ (0,
|
|
2663
|
+
item.icon ? /* @__PURE__ */ (0, import_jsx_runtime53.jsx)("span", { className: "relative z-10 inline-flex shrink-0 items-center justify-center", children: item.icon }) : null,
|
|
2664
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsx)("span", { className: "relative z-10 truncate whitespace-nowrap [&::first-letter]:uppercase", children: item.label })
|
|
2038
2665
|
]
|
|
2039
2666
|
},
|
|
2040
2667
|
item.value
|
|
2041
2668
|
);
|
|
2042
2669
|
}),
|
|
2043
|
-
!isBarVariant ? /* @__PURE__ */ (0,
|
|
2670
|
+
!isBarVariant ? /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
|
|
2044
2671
|
"span",
|
|
2045
2672
|
{
|
|
2046
2673
|
"aria-hidden": true,
|
|
@@ -2058,8 +2685,8 @@ var Tabs = ({
|
|
|
2058
2685
|
]
|
|
2059
2686
|
}
|
|
2060
2687
|
),
|
|
2061
|
-
shouldUseOverflowScroll && !isBarVariant ? /* @__PURE__ */ (0,
|
|
2062
|
-
/* @__PURE__ */ (0,
|
|
2688
|
+
shouldUseOverflowScroll && !isBarVariant ? /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(import_jsx_runtime53.Fragment, { children: [
|
|
2689
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
|
|
2063
2690
|
"span",
|
|
2064
2691
|
{
|
|
2065
2692
|
"aria-hidden": true,
|
|
@@ -2070,7 +2697,7 @@ var Tabs = ({
|
|
|
2070
2697
|
)
|
|
2071
2698
|
}
|
|
2072
2699
|
),
|
|
2073
|
-
/* @__PURE__ */ (0,
|
|
2700
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
|
|
2074
2701
|
"span",
|
|
2075
2702
|
{
|
|
2076
2703
|
"aria-hidden": true,
|
|
@@ -2082,8 +2709,8 @@ var Tabs = ({
|
|
|
2082
2709
|
}
|
|
2083
2710
|
)
|
|
2084
2711
|
] }) : null,
|
|
2085
|
-
shouldShowMoreButton ? /* @__PURE__ */ (0,
|
|
2086
|
-
/* @__PURE__ */ (0,
|
|
2712
|
+
shouldShowMoreButton ? /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(DropdownMenu.Root, { open: isMoreMenuOpen, onOpenChange: setIsMoreMenuOpen, children: [
|
|
2713
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsx)(DropdownMenu.Trigger, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
|
|
2087
2714
|
"button",
|
|
2088
2715
|
{
|
|
2089
2716
|
type: "button",
|
|
@@ -2096,10 +2723,10 @@ var Tabs = ({
|
|
|
2096
2723
|
}),
|
|
2097
2724
|
activeHiddenItem ? "font-agg-bold text-agg-primary" : "font-agg-normal text-agg-foreground"
|
|
2098
2725
|
),
|
|
2099
|
-
children: /* @__PURE__ */ (0,
|
|
2726
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(Icon, { name: "dots-horizontal", size: isBarVariant ? "s" : "m", color: "currentColor" })
|
|
2100
2727
|
}
|
|
2101
2728
|
) }),
|
|
2102
|
-
/* @__PURE__ */ (0,
|
|
2729
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsx)(DropdownMenu.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
|
|
2103
2730
|
DropdownMenu.Content,
|
|
2104
2731
|
{
|
|
2105
2732
|
align: "end",
|
|
@@ -2113,7 +2740,7 @@ var Tabs = ({
|
|
|
2113
2740
|
sideOffset: 8,
|
|
2114
2741
|
children: overflowLayout.hiddenItems.map((item) => {
|
|
2115
2742
|
const isSelected = item.value === value;
|
|
2116
|
-
return /* @__PURE__ */ (0,
|
|
2743
|
+
return /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(
|
|
2117
2744
|
DropdownMenu.Item,
|
|
2118
2745
|
{
|
|
2119
2746
|
disabled: item.disabled,
|
|
@@ -2127,8 +2754,8 @@ var Tabs = ({
|
|
|
2127
2754
|
item.disabled && "cursor-not-allowed opacity-60"
|
|
2128
2755
|
),
|
|
2129
2756
|
children: [
|
|
2130
|
-
item.icon ? /* @__PURE__ */ (0,
|
|
2131
|
-
/* @__PURE__ */ (0,
|
|
2757
|
+
item.icon ? /* @__PURE__ */ (0, import_jsx_runtime53.jsx)("span", { className: "inline-flex shrink-0 items-center justify-center", children: item.icon }) : null,
|
|
2758
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsx)("span", { className: "truncate whitespace-nowrap [&::first-letter]:uppercase", children: item.label })
|
|
2132
2759
|
]
|
|
2133
2760
|
},
|
|
2134
2761
|
item.value
|
|
@@ -2137,13 +2764,13 @@ var Tabs = ({
|
|
|
2137
2764
|
}
|
|
2138
2765
|
) })
|
|
2139
2766
|
] }) : null,
|
|
2140
|
-
shouldUseOverflowMenu ? /* @__PURE__ */ (0,
|
|
2767
|
+
shouldUseOverflowMenu ? /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(
|
|
2141
2768
|
"div",
|
|
2142
2769
|
{
|
|
2143
2770
|
"aria-hidden": true,
|
|
2144
2771
|
className: "pointer-events-none invisible fixed top-0 left-0 -z-10 h-0 overflow-hidden whitespace-nowrap",
|
|
2145
2772
|
children: [
|
|
2146
|
-
items.map((item) => /* @__PURE__ */ (0,
|
|
2773
|
+
items.map((item) => /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(
|
|
2147
2774
|
"span",
|
|
2148
2775
|
{
|
|
2149
2776
|
ref: (tabElement) => handleMeasureTabRef(item.value, tabElement),
|
|
@@ -2152,13 +2779,13 @@ var Tabs = ({
|
|
|
2152
2779
|
size
|
|
2153
2780
|
}),
|
|
2154
2781
|
children: [
|
|
2155
|
-
item.icon ? /* @__PURE__ */ (0,
|
|
2156
|
-
/* @__PURE__ */ (0,
|
|
2782
|
+
item.icon ? /* @__PURE__ */ (0, import_jsx_runtime53.jsx)("span", { className: "inline-flex shrink-0 items-center justify-center", children: item.icon }) : null,
|
|
2783
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsx)("span", { children: item.label })
|
|
2157
2784
|
]
|
|
2158
2785
|
},
|
|
2159
2786
|
`measure-${item.value}`
|
|
2160
2787
|
)),
|
|
2161
|
-
/* @__PURE__ */ (0,
|
|
2788
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
|
|
2162
2789
|
"span",
|
|
2163
2790
|
{
|
|
2164
2791
|
ref: moreButtonMeasureRef,
|
|
@@ -2167,7 +2794,7 @@ var Tabs = ({
|
|
|
2167
2794
|
isBarVariant,
|
|
2168
2795
|
size
|
|
2169
2796
|
}),
|
|
2170
|
-
children: /* @__PURE__ */ (0,
|
|
2797
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(Icon, { name: "dots-horizontal", size: isBarVariant ? "s" : "m", color: "currentColor" })
|
|
2171
2798
|
}
|
|
2172
2799
|
)
|
|
2173
2800
|
]
|
|
@@ -2198,14 +2825,14 @@ var variantClasses = {
|
|
|
2198
2825
|
};
|
|
2199
2826
|
|
|
2200
2827
|
// src/primitives/typography/index.tsx
|
|
2201
|
-
var
|
|
2828
|
+
var import_jsx_runtime54 = require("react/jsx-runtime");
|
|
2202
2829
|
var Typography = ({
|
|
2203
2830
|
as: Component = "p",
|
|
2204
2831
|
variant = "body",
|
|
2205
2832
|
className,
|
|
2206
2833
|
children
|
|
2207
2834
|
}) => {
|
|
2208
|
-
return /* @__PURE__ */ (0,
|
|
2835
|
+
return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(Component, { className: cn(variantClasses[variant], "truncate", className), children });
|
|
2209
2836
|
};
|
|
2210
2837
|
Typography.displayName = "Typography";
|
|
2211
2838
|
|
|
@@ -2227,7 +2854,7 @@ var resolveLogoPrimaryColor = ({
|
|
|
2227
2854
|
};
|
|
2228
2855
|
|
|
2229
2856
|
// src/primitives/venue-logo/svg/logo-kalshi.tsx
|
|
2230
|
-
var
|
|
2857
|
+
var import_jsx_runtime55 = require("react/jsx-runtime");
|
|
2231
2858
|
var KALSHI_GREEN = "#18C590";
|
|
2232
2859
|
var LogoKalshiIcon = (_a) => {
|
|
2233
2860
|
var _b = _a, {
|
|
@@ -2246,7 +2873,7 @@ var LogoKalshiIcon = (_a) => {
|
|
|
2246
2873
|
isColor,
|
|
2247
2874
|
color
|
|
2248
2875
|
});
|
|
2249
|
-
return /* @__PURE__ */ (0,
|
|
2876
|
+
return /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(
|
|
2250
2877
|
"svg",
|
|
2251
2878
|
__spreadProps(__spreadValues(__spreadValues({
|
|
2252
2879
|
viewBox: "0 0 100 100",
|
|
@@ -2254,9 +2881,14 @@ var LogoKalshiIcon = (_a) => {
|
|
|
2254
2881
|
fill: "none"
|
|
2255
2882
|
}, getIconA11yProps(title)), props), {
|
|
2256
2883
|
children: [
|
|
2257
|
-
title ? /* @__PURE__ */ (0,
|
|
2258
|
-
/* @__PURE__ */ (0,
|
|
2259
|
-
|
|
2884
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("title", { children: title }) : null,
|
|
2885
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
|
|
2886
|
+
"path",
|
|
2887
|
+
{
|
|
2888
|
+
d: "M54.9798 47.579L79.4249 85.9995H58.2273L38.2531 52.9344V85.9995H20.4189V13.9995H38.2531V45.4356L59.6547 13.9995H78.7119L54.9798 47.579Z",
|
|
2889
|
+
fill: primaryColor
|
|
2890
|
+
}
|
|
2891
|
+
)
|
|
2260
2892
|
]
|
|
2261
2893
|
})
|
|
2262
2894
|
);
|
|
@@ -2264,9 +2896,8 @@ var LogoKalshiIcon = (_a) => {
|
|
|
2264
2896
|
LogoKalshiIcon.displayName = "LogoKalshiIcon";
|
|
2265
2897
|
|
|
2266
2898
|
// src/primitives/venue-logo/svg/logo-opinion.tsx
|
|
2267
|
-
var
|
|
2899
|
+
var import_jsx_runtime56 = require("react/jsx-runtime");
|
|
2268
2900
|
var OPINION_BLACK = "#000000";
|
|
2269
|
-
var OPINION_WHITE = "#FFFFFF";
|
|
2270
2901
|
var LogoOpinionIcon = (_a) => {
|
|
2271
2902
|
var _b = _a, {
|
|
2272
2903
|
title,
|
|
@@ -2284,8 +2915,7 @@ var LogoOpinionIcon = (_a) => {
|
|
|
2284
2915
|
isColor,
|
|
2285
2916
|
color
|
|
2286
2917
|
});
|
|
2287
|
-
|
|
2288
|
-
return /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)(
|
|
2918
|
+
return /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(
|
|
2289
2919
|
"svg",
|
|
2290
2920
|
__spreadProps(__spreadValues(__spreadValues({
|
|
2291
2921
|
viewBox: "0 0 100 100",
|
|
@@ -2293,57 +2923,14 @@ var LogoOpinionIcon = (_a) => {
|
|
|
2293
2923
|
fill: "none"
|
|
2294
2924
|
}, getIconA11yProps(title)), props), {
|
|
2295
2925
|
children: [
|
|
2296
|
-
title ? /* @__PURE__ */ (0,
|
|
2297
|
-
/* @__PURE__ */ (0,
|
|
2298
|
-
|
|
2299
|
-
"rect",
|
|
2300
|
-
{
|
|
2301
|
-
x: "21",
|
|
2302
|
-
y: "18",
|
|
2303
|
-
width: "8",
|
|
2304
|
-
height: "64",
|
|
2305
|
-
rx: "4",
|
|
2306
|
-
transform: "rotate(-7 21 18)",
|
|
2307
|
-
fill: accentColor
|
|
2308
|
-
}
|
|
2309
|
-
),
|
|
2310
|
-
/* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
|
|
2311
|
-
"rect",
|
|
2312
|
-
{
|
|
2313
|
-
x: "37",
|
|
2314
|
-
y: "12",
|
|
2315
|
-
width: "8",
|
|
2316
|
-
height: "76",
|
|
2317
|
-
rx: "4",
|
|
2318
|
-
transform: "rotate(-4 37 12)",
|
|
2319
|
-
fill: accentColor
|
|
2320
|
-
}
|
|
2321
|
-
),
|
|
2322
|
-
/* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
|
|
2323
|
-
"rect",
|
|
2324
|
-
{
|
|
2325
|
-
x: "53",
|
|
2326
|
-
y: "12",
|
|
2327
|
-
width: "8",
|
|
2328
|
-
height: "76",
|
|
2329
|
-
rx: "4",
|
|
2330
|
-
transform: "rotate(-4 53 12)",
|
|
2331
|
-
fill: accentColor
|
|
2332
|
-
}
|
|
2333
|
-
),
|
|
2334
|
-
/* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
|
|
2335
|
-
"rect",
|
|
2926
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("title", { children: title }) : null,
|
|
2927
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
|
|
2928
|
+
"path",
|
|
2336
2929
|
{
|
|
2337
|
-
|
|
2338
|
-
|
|
2339
|
-
width: "8",
|
|
2340
|
-
height: "64",
|
|
2341
|
-
rx: "4",
|
|
2342
|
-
transform: "rotate(-7 69 18)",
|
|
2343
|
-
fill: accentColor
|
|
2930
|
+
d: "M51.8239 68.4603L56.9659 68.0094L58.8049 89.0576C61.1459 88.5314 63.4349 87.7952 65.6437 86.8578V68.1879H71.9955V83.4385C74.6496 81.6828 77.0863 79.619 79.2548 77.2898L80.0716 67.958L85.516 68.433C88.6185 62.4381 90.156 55.7558 89.9858 49.0072C89.8154 42.2584 87.9429 35.6623 84.542 29.8316L84.3394 32.1494L77.9876 31.5927L78.8042 22.2668C76.7468 20.1288 74.4594 18.225 71.9835 16.5902V31.9164H65.6317V13.1739C62.9224 12.0205 60.0929 11.173 57.1957 10.6473L59.0317 31.6441L53.8897 32.0949L51.9599 10.0482C51.3128 10.0179 50.6593 9.99976 50.006 9.99976C47.4581 9.99976 44.9161 10.2419 42.414 10.723L46.0438 31.3899L42.1297 32.0798L38.5304 11.6701C35.1755 12.6725 31.9677 14.1143 28.9905 15.9578L33.0435 31.0873L29.9705 31.9134L26.2018 17.8369C23.2938 19.9923 20.6902 22.5308 18.4615 25.3835L20.4246 30.7787L18.1833 31.5956L16.7707 27.7134C14.5111 31.0771 12.7772 34.7657 11.6287 38.652L12.2639 38.4221L20.4306 60.8471L18.1893 61.6641L10.8877 41.5963C9.21542 49.4012 9.91256 57.528 12.8896 64.9338C15.8667 72.3395 20.9879 78.6865 27.5961 83.1601L23.8031 68.9989L26.8762 68.1728L31.5162 85.4991C34.6952 87.1593 38.0844 88.3808 41.5914 89.1303L38.0132 68.7296L41.9301 68.0397L45.7684 89.8262C47.1811 89.9757 48.6007 90.0505 50.0212 90.0502C51.2583 90.0502 52.4863 89.9926 53.6963 89.8807L51.8239 68.4603ZM80.1017 37.8985L86.4385 38.4524L84.3605 62.2299L78.0087 61.6761L80.1017 37.8985ZM65.6528 38.1315H72.0046V61.9969H65.6528V38.1315ZM56.975 37.9501L59.053 61.7277L53.911 62.1785L51.8299 38.4009L56.975 37.9501ZM29.9976 62.003L23.8243 38.9486L26.8974 38.1255L33.0707 61.1649L29.9976 62.003ZM42.157 62.1603L38.0132 38.658L41.9301 37.9683L46.0709 61.4674L42.157 62.1603Z",
|
|
2931
|
+
fill: primaryColor
|
|
2344
2932
|
}
|
|
2345
|
-
)
|
|
2346
|
-
/* @__PURE__ */ (0, import_jsx_runtime38.jsx)("rect", { x: "12", y: "44", width: "76", height: "12", fill: primaryColor })
|
|
2933
|
+
)
|
|
2347
2934
|
]
|
|
2348
2935
|
})
|
|
2349
2936
|
);
|
|
@@ -2351,8 +2938,8 @@ var LogoOpinionIcon = (_a) => {
|
|
|
2351
2938
|
LogoOpinionIcon.displayName = "LogoOpinionIcon";
|
|
2352
2939
|
|
|
2353
2940
|
// src/primitives/venue-logo/svg/logo-polymarket.tsx
|
|
2354
|
-
var
|
|
2355
|
-
var POLYMARKET_BLUE = "#
|
|
2941
|
+
var import_jsx_runtime57 = require("react/jsx-runtime");
|
|
2942
|
+
var POLYMARKET_BLUE = "#2E5CFF";
|
|
2356
2943
|
var LogoPolymarketIcon = (_a) => {
|
|
2357
2944
|
var _b = _a, {
|
|
2358
2945
|
title,
|
|
@@ -2370,7 +2957,7 @@ var LogoPolymarketIcon = (_a) => {
|
|
|
2370
2957
|
isColor,
|
|
2371
2958
|
color
|
|
2372
2959
|
});
|
|
2373
|
-
return /* @__PURE__ */ (0,
|
|
2960
|
+
return /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)(
|
|
2374
2961
|
"svg",
|
|
2375
2962
|
__spreadProps(__spreadValues(__spreadValues({
|
|
2376
2963
|
viewBox: "0 0 100 100",
|
|
@@ -2378,18 +2965,14 @@ var LogoPolymarketIcon = (_a) => {
|
|
|
2378
2965
|
fill: "none"
|
|
2379
2966
|
}, getIconA11yProps(title)), props), {
|
|
2380
2967
|
children: [
|
|
2381
|
-
title ? /* @__PURE__ */ (0,
|
|
2382
|
-
/* @__PURE__ */ (0,
|
|
2968
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime57.jsx)("title", { children: title }) : null,
|
|
2969
|
+
/* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
|
|
2383
2970
|
"path",
|
|
2384
2971
|
{
|
|
2385
|
-
d: "
|
|
2386
|
-
|
|
2387
|
-
strokeWidth: "8",
|
|
2388
|
-
strokeLinejoin: "round"
|
|
2972
|
+
d: "M81.0904 84.2882C81.0904 87.9246 81.0904 89.7428 79.901 90.644C78.7119 91.5456 76.9613 91.0542 73.4603 90.0717L17.1975 74.2838C15.0881 73.6919 14.0332 73.3959 13.4233 72.5913C12.8135 71.7866 12.8135 70.6911 12.8135 68.5002V31.4998C12.8135 29.309 12.8135 28.2134 13.4233 27.4088C14.0332 26.6042 15.0881 26.3081 17.1975 25.7163L73.4603 9.92806C76.9613 8.94572 78.7119 8.45448 79.901 9.35587C81.0904 10.2573 81.0904 12.0755 81.0904 15.7119V84.2882ZM26.8451 69.1363L73.4308 82.2104V56.0637L26.8451 69.1363ZM20.4723 63.0711L67.0487 50L20.4723 36.929V63.0711ZM26.8446 30.8638L73.4308 43.9366V17.7896L26.8446 30.8638Z",
|
|
2973
|
+
fill: primaryColor
|
|
2389
2974
|
}
|
|
2390
|
-
)
|
|
2391
|
-
/* @__PURE__ */ (0, import_jsx_runtime39.jsx)("path", { d: "M18 32L78 44", stroke: primaryColor, strokeWidth: "8", strokeLinecap: "round" }),
|
|
2392
|
-
/* @__PURE__ */ (0, import_jsx_runtime39.jsx)("path", { d: "M18 58L78 70", stroke: primaryColor, strokeWidth: "8", strokeLinecap: "round" })
|
|
2975
|
+
)
|
|
2393
2976
|
]
|
|
2394
2977
|
})
|
|
2395
2978
|
);
|
|
@@ -2397,8 +2980,8 @@ var LogoPolymarketIcon = (_a) => {
|
|
|
2397
2980
|
LogoPolymarketIcon.displayName = "LogoPolymarketIcon";
|
|
2398
2981
|
|
|
2399
2982
|
// src/primitives/venue-logo/svg/logo-probable.tsx
|
|
2400
|
-
var
|
|
2401
|
-
var PROBABLE_ORANGE = "#
|
|
2983
|
+
var import_jsx_runtime58 = require("react/jsx-runtime");
|
|
2984
|
+
var PROBABLE_ORANGE = "#F05923";
|
|
2402
2985
|
var LogoProbableIcon = (_a) => {
|
|
2403
2986
|
var _b = _a, {
|
|
2404
2987
|
title,
|
|
@@ -2416,7 +2999,7 @@ var LogoProbableIcon = (_a) => {
|
|
|
2416
2999
|
isColor,
|
|
2417
3000
|
color
|
|
2418
3001
|
});
|
|
2419
|
-
return /* @__PURE__ */ (0,
|
|
3002
|
+
return /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)(
|
|
2420
3003
|
"svg",
|
|
2421
3004
|
__spreadProps(__spreadValues(__spreadValues({
|
|
2422
3005
|
viewBox: "0 0 100 100",
|
|
@@ -2424,21 +3007,22 @@ var LogoProbableIcon = (_a) => {
|
|
|
2424
3007
|
fill: "none"
|
|
2425
3008
|
}, getIconA11yProps(title)), props), {
|
|
2426
3009
|
children: [
|
|
2427
|
-
title ? /* @__PURE__ */ (0,
|
|
2428
|
-
/* @__PURE__ */ (0,
|
|
2429
|
-
|
|
2430
|
-
/* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
|
|
2431
|
-
"rect",
|
|
3010
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("title", { children: title }) : null,
|
|
3011
|
+
/* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
|
|
3012
|
+
"path",
|
|
2432
3013
|
{
|
|
2433
|
-
|
|
2434
|
-
|
|
2435
|
-
width: "40",
|
|
2436
|
-
height: "18",
|
|
2437
|
-
rx: "9",
|
|
2438
|
-
fill: isColor && !color ? "white" : primaryColor
|
|
3014
|
+
d: "M75.625 59.3489C75.6247 53.7323 71.0719 49.1792 65.4551 49.179H33.9209C28.3039 49.179 23.7503 53.7321 23.75 59.3489C23.75 64.9659 28.3038 69.5198 33.9209 69.5198H65.4551C71.0719 69.5195 75.625 64.9658 75.625 59.3489ZM90.625 59.3489C90.625 73.2501 79.3562 84.5195 65.4551 84.5198H33.9209C20.0196 84.5198 8.75 73.2502 8.75 59.3489C8.75026 45.4477 20.0198 34.179 33.9209 34.179H65.4551C79.3559 34.1792 90.6247 45.4478 90.625 59.3489Z",
|
|
3015
|
+
fill: primaryColor
|
|
2439
3016
|
}
|
|
2440
3017
|
),
|
|
2441
|
-
/* @__PURE__ */ (0,
|
|
3018
|
+
/* @__PURE__ */ (0, import_jsx_runtime58.jsx)("path", { d: "M90.9329 15.4546V30.4546H8.90234V15.4546H90.9329Z", fill: primaryColor }),
|
|
3019
|
+
/* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
|
|
3020
|
+
"path",
|
|
3021
|
+
{
|
|
3022
|
+
d: "M64.5742 51.3496C68.9894 51.3496 72.5742 54.9344 72.5742 59.3496C72.5742 63.7648 68.9894 67.3496 64.5742 67.3496C60.159 67.3496 56.5742 63.7648 56.5742 59.3496C56.5742 54.9344 60.159 51.3496 64.5742 51.3496Z",
|
|
3023
|
+
fill: primaryColor
|
|
3024
|
+
}
|
|
3025
|
+
)
|
|
2442
3026
|
]
|
|
2443
3027
|
})
|
|
2444
3028
|
);
|
|
@@ -2457,6 +3041,7 @@ var sizeClasses = {
|
|
|
2457
3041
|
xxs: "h-2 w-2",
|
|
2458
3042
|
xs: "h-3 w-3",
|
|
2459
3043
|
s: "h-4 w-4",
|
|
3044
|
+
ms: "h-5 w-5",
|
|
2460
3045
|
m: "h-6 w-6",
|
|
2461
3046
|
l: "h-8 w-8",
|
|
2462
3047
|
xl: "h-10 w-10",
|
|
@@ -2464,7 +3049,7 @@ var sizeClasses = {
|
|
|
2464
3049
|
};
|
|
2465
3050
|
|
|
2466
3051
|
// src/primitives/venue-logo/index.tsx
|
|
2467
|
-
var
|
|
3052
|
+
var import_jsx_runtime59 = require("react/jsx-runtime");
|
|
2468
3053
|
var VenueLogo = ({
|
|
2469
3054
|
venue,
|
|
2470
3055
|
isColor = true,
|
|
@@ -2479,7 +3064,7 @@ var VenueLogo = ({
|
|
|
2479
3064
|
const Component = venueLogoRegistry[venue];
|
|
2480
3065
|
const sizeClass = sizeClasses[size];
|
|
2481
3066
|
const resolvedIsColor = isMonochromatic ? false : isColor;
|
|
2482
|
-
return /* @__PURE__ */ (0,
|
|
3067
|
+
return /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
|
|
2483
3068
|
Component,
|
|
2484
3069
|
{
|
|
2485
3070
|
className: cn("shrink-0", sizeClass, className),
|
|
@@ -2494,7 +3079,7 @@ VenueLogo.displayName = "VenueLogo";
|
|
|
2494
3079
|
|
|
2495
3080
|
// src/events/item/index.tsx
|
|
2496
3081
|
var import_dayjs = __toESM(require("dayjs"));
|
|
2497
|
-
var
|
|
3082
|
+
var import_react3 = require("react");
|
|
2498
3083
|
var import_hooks11 = require("@agg-market/hooks");
|
|
2499
3084
|
|
|
2500
3085
|
// src/primitives/badge/badge.constants.ts
|
|
@@ -2513,19 +3098,19 @@ var baseBadgeClasses = cn(
|
|
|
2513
3098
|
);
|
|
2514
3099
|
|
|
2515
3100
|
// src/primitives/badge/index.tsx
|
|
2516
|
-
var
|
|
3101
|
+
var import_jsx_runtime60 = require("react/jsx-runtime");
|
|
2517
3102
|
function Badge({ text, prefix, suffix, size = "m", classNames }) {
|
|
2518
3103
|
const resolvedText = `${text}`;
|
|
2519
3104
|
const resolvedAriaLabel = resolvedText.length > 0 ? resolvedText : void 0;
|
|
2520
|
-
return /* @__PURE__ */ (0,
|
|
3105
|
+
return /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)(
|
|
2521
3106
|
"span",
|
|
2522
3107
|
{
|
|
2523
3108
|
"aria-label": resolvedAriaLabel,
|
|
2524
3109
|
className: cn(baseBadgeClasses, badgeSizeClasses[size], classNames == null ? void 0 : classNames.root),
|
|
2525
3110
|
children: [
|
|
2526
|
-
prefix ? /* @__PURE__ */ (0,
|
|
2527
|
-
/* @__PURE__ */ (0,
|
|
2528
|
-
suffix ? /* @__PURE__ */ (0,
|
|
3111
|
+
prefix ? /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("span", { className: classNames == null ? void 0 : classNames.prefix, children: prefix }) : null,
|
|
3112
|
+
/* @__PURE__ */ (0, import_jsx_runtime60.jsx)("span", { className: cn("truncate", classNames == null ? void 0 : classNames.text), children: text }),
|
|
3113
|
+
suffix ? /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("span", { className: classNames == null ? void 0 : classNames.suffix, children: suffix }) : null
|
|
2529
3114
|
]
|
|
2530
3115
|
}
|
|
2531
3116
|
);
|
|
@@ -2540,7 +3125,9 @@ var resolveEventListItemEvent = (fetchedEvent) => {
|
|
|
2540
3125
|
const fallbackVenueEvent = fetchedEvent.venueEvents[0];
|
|
2541
3126
|
if (!fallbackVenueEvent)
|
|
2542
3127
|
return void 0;
|
|
2543
|
-
const mergedVenueMarkets = fetchedEvent.markets.flatMap(
|
|
3128
|
+
const mergedVenueMarkets = fetchedEvent.markets.flatMap(
|
|
3129
|
+
(venueEvent) => venueEvent.venueMarkets
|
|
3130
|
+
);
|
|
2544
3131
|
const venueMarkets = mergedVenueMarkets.length > 0 ? mergedVenueMarkets : [];
|
|
2545
3132
|
if ((venueMarkets == null ? void 0 : venueMarkets.length) === 0)
|
|
2546
3133
|
return void 0;
|
|
@@ -2684,13 +3271,13 @@ var resolveVenueLabel = (venue, venueInfo, labels) => {
|
|
|
2684
3271
|
};
|
|
2685
3272
|
|
|
2686
3273
|
// src/events/item/index.tsx
|
|
2687
|
-
var
|
|
3274
|
+
var import_jsx_runtime61 = require("react/jsx-runtime");
|
|
2688
3275
|
var EventListItemLoadingState = ({
|
|
2689
3276
|
classNames,
|
|
2690
3277
|
ariaLabel
|
|
2691
3278
|
}) => {
|
|
2692
3279
|
const labels = (0, import_hooks11.useLabels)();
|
|
2693
|
-
return /* @__PURE__ */ (0,
|
|
3280
|
+
return /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
|
|
2694
3281
|
Skeleton,
|
|
2695
3282
|
{
|
|
2696
3283
|
view: "event-list-item",
|
|
@@ -2704,15 +3291,15 @@ var EventListItemUnavailableState = ({
|
|
|
2704
3291
|
ariaLabel
|
|
2705
3292
|
}) => {
|
|
2706
3293
|
const labels = (0, import_hooks11.useLabels)();
|
|
2707
|
-
return /* @__PURE__ */ (0,
|
|
3294
|
+
return /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
|
|
2708
3295
|
Card,
|
|
2709
3296
|
{
|
|
2710
3297
|
className: cn(baseCardClassName, classNames == null ? void 0 : classNames.root),
|
|
2711
3298
|
role: "status",
|
|
2712
3299
|
"aria-label": ariaLabel != null ? ariaLabel : labels.eventItem.unavailableAria,
|
|
2713
|
-
children: /* @__PURE__ */ (0,
|
|
2714
|
-
/* @__PURE__ */ (0,
|
|
2715
|
-
/* @__PURE__ */ (0,
|
|
3300
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)("div", { className: cn("flex flex-col gap-1", classNames == null ? void 0 : classNames.header), children: [
|
|
3301
|
+
/* @__PURE__ */ (0, import_jsx_runtime61.jsx)(Typography, { variant: "title", className: cn("truncate", classNames == null ? void 0 : classNames.title), children: labels.eventItem.unavailableTitle }),
|
|
3302
|
+
/* @__PURE__ */ (0, import_jsx_runtime61.jsx)(Typography, { variant: "body", className: "text-agg-muted-foreground", children: labels.eventItem.unavailableDescription })
|
|
2716
3303
|
] })
|
|
2717
3304
|
}
|
|
2718
3305
|
);
|
|
@@ -2732,13 +3319,13 @@ var EventListItemContent = ({
|
|
|
2732
3319
|
var _a;
|
|
2733
3320
|
const config = (0, import_hooks11.useSdkUiConfig)();
|
|
2734
3321
|
const labels = (0, import_hooks11.useLabels)();
|
|
2735
|
-
const allVenueMarkets = (0,
|
|
3322
|
+
const allVenueMarkets = (0, import_react3.useMemo)(() => {
|
|
2736
3323
|
return event.markets.flatMap((market) => market.venueMarkets);
|
|
2737
3324
|
}, [event.markets]);
|
|
2738
|
-
const primaryVenueMarket = (0,
|
|
3325
|
+
const primaryVenueMarket = (0, import_react3.useMemo)(() => {
|
|
2739
3326
|
return selectPrimaryVenueMarket(allVenueMarkets);
|
|
2740
3327
|
}, [allVenueMarkets]);
|
|
2741
|
-
const visibleOutcomes = (0,
|
|
3328
|
+
const visibleOutcomes = (0, import_react3.useMemo)(() => {
|
|
2742
3329
|
if (allVenueMarkets.length === 0)
|
|
2743
3330
|
return [];
|
|
2744
3331
|
return resolveVisibleOutcomes(allVenueMarkets, maxOutcomes);
|
|
@@ -2747,7 +3334,7 @@ var EventListItemContent = ({
|
|
|
2747
3334
|
const resolvedImage = resolveTileImage(event, primaryVenueMarket, image);
|
|
2748
3335
|
const { marketCount, venueCount, singleVenue } = getVenueSummary(allVenueMarkets);
|
|
2749
3336
|
const venueLabel = resolveVenueLabel(singleVenue, venueInfo, labels);
|
|
2750
|
-
const visibleVenueLogos = (0,
|
|
3337
|
+
const visibleVenueLogos = (0, import_react3.useMemo)(() => {
|
|
2751
3338
|
return Array.from(new Set(allVenueMarkets.map((market) => market.venue))).slice(0, 4);
|
|
2752
3339
|
}, [allVenueMarkets]);
|
|
2753
3340
|
const resolvedVolume = typeof event.volume === "number" ? event.volume : (_a = primaryVenueMarket == null ? void 0 : primaryVenueMarket.volume) != null ? _a : void 0;
|
|
@@ -2765,12 +3352,12 @@ var EventListItemContent = ({
|
|
|
2765
3352
|
return null;
|
|
2766
3353
|
if (Math.abs(value) < config.arbitrageThreshold)
|
|
2767
3354
|
return null;
|
|
2768
|
-
return /* @__PURE__ */ (0,
|
|
2769
|
-
/* @__PURE__ */ (0,
|
|
2770
|
-
/* @__PURE__ */ (0,
|
|
3355
|
+
return /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)("div", { className: cn("flex items-baseline gap-1", "text-agg-success"), children: [
|
|
3356
|
+
/* @__PURE__ */ (0, import_jsx_runtime61.jsx)(Typography, { variant: "label", className: "text-agg-success", children: config.formatPercent(value) }),
|
|
3357
|
+
/* @__PURE__ */ (0, import_jsx_runtime61.jsx)(Icon, { name: "triangle-up", size: "xxs", title: labels.eventItem.arbitrage })
|
|
2771
3358
|
] });
|
|
2772
3359
|
};
|
|
2773
|
-
return /* @__PURE__ */ (0,
|
|
3360
|
+
return /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)(
|
|
2774
3361
|
Card,
|
|
2775
3362
|
{
|
|
2776
3363
|
className: cn(baseCardClassName, onClick && "cursor-pointer", classNames == null ? void 0 : classNames.root),
|
|
@@ -2780,8 +3367,8 @@ var EventListItemContent = ({
|
|
|
2780
3367
|
onKeyDown: handleKeyDown,
|
|
2781
3368
|
"aria-label": ariaLabel != null ? ariaLabel : resolvedTitle,
|
|
2782
3369
|
children: [
|
|
2783
|
-
/* @__PURE__ */ (0,
|
|
2784
|
-
resolvedImage ? /* @__PURE__ */ (0,
|
|
3370
|
+
/* @__PURE__ */ (0, import_jsx_runtime61.jsxs)("div", { className: cn("flex items-center gap-3", classNames == null ? void 0 : classNames.header), children: [
|
|
3371
|
+
resolvedImage ? /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
|
|
2785
3372
|
"img",
|
|
2786
3373
|
{
|
|
2787
3374
|
src: resolvedImage,
|
|
@@ -2789,7 +3376,7 @@ var EventListItemContent = ({
|
|
|
2789
3376
|
className: cn("h-10 w-10", "rounded-agg-lg object-cover")
|
|
2790
3377
|
}
|
|
2791
3378
|
) : null,
|
|
2792
|
-
/* @__PURE__ */ (0,
|
|
3379
|
+
/* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
|
|
2793
3380
|
Typography,
|
|
2794
3381
|
{
|
|
2795
3382
|
variant: "title",
|
|
@@ -2801,13 +3388,13 @@ var EventListItemContent = ({
|
|
|
2801
3388
|
}
|
|
2802
3389
|
)
|
|
2803
3390
|
] }),
|
|
2804
|
-
/* @__PURE__ */ (0,
|
|
3391
|
+
/* @__PURE__ */ (0, import_jsx_runtime61.jsx)("div", { className: cn("flex flex-col gap-3", classNames == null ? void 0 : classNames.outcomes), children: visibleOutcomes.map((visibleOutcome) => {
|
|
2805
3392
|
const probability = normalizeProbability(visibleOutcome.outcome.price);
|
|
2806
3393
|
const showBadge = typeof probability === "number";
|
|
2807
3394
|
const arbitragePercent = arbitrageByOutcomeId == null ? void 0 : arbitrageByOutcomeId[visibleOutcome.outcome.id];
|
|
2808
3395
|
const outcomeTitle = resolveOutcomeTitle(visibleOutcome.outcome);
|
|
2809
3396
|
const formattedTitle = (0, import_dayjs.default)(outcomeTitle).isValid() ? (0, import_dayjs.default)(outcomeTitle).format("MMMM D, YYYY") : outcomeTitle;
|
|
2810
|
-
return /* @__PURE__ */ (0,
|
|
3397
|
+
return /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)(
|
|
2811
3398
|
"div",
|
|
2812
3399
|
{
|
|
2813
3400
|
className: cn(
|
|
@@ -2815,7 +3402,7 @@ var EventListItemContent = ({
|
|
|
2815
3402
|
classNames == null ? void 0 : classNames.outcomeRow
|
|
2816
3403
|
),
|
|
2817
3404
|
children: [
|
|
2818
|
-
/* @__PURE__ */ (0,
|
|
3405
|
+
/* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
|
|
2819
3406
|
Typography,
|
|
2820
3407
|
{
|
|
2821
3408
|
variant: "body",
|
|
@@ -2824,11 +3411,11 @@ var EventListItemContent = ({
|
|
|
2824
3411
|
}
|
|
2825
3412
|
),
|
|
2826
3413
|
renderArbitrage(arbitragePercent),
|
|
2827
|
-
showBadge ? /* @__PURE__ */ (0,
|
|
3414
|
+
showBadge ? /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
|
|
2828
3415
|
Badge,
|
|
2829
3416
|
{
|
|
2830
3417
|
text: config.formatPercent(probability),
|
|
2831
|
-
prefix: showVenueLogo ? /* @__PURE__ */ (0,
|
|
3418
|
+
prefix: showVenueLogo ? /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(VenueLogo, { venue: visibleOutcome.venue, size: "s" }) : void 0,
|
|
2832
3419
|
size: "l",
|
|
2833
3420
|
classNames: {
|
|
2834
3421
|
root: cn(
|
|
@@ -2843,7 +3430,7 @@ var EventListItemContent = ({
|
|
|
2843
3430
|
`${visibleOutcome.market.id}-${visibleOutcome.outcome.id}`
|
|
2844
3431
|
);
|
|
2845
3432
|
}) }),
|
|
2846
|
-
/* @__PURE__ */ (0,
|
|
3433
|
+
/* @__PURE__ */ (0, import_jsx_runtime61.jsxs)(
|
|
2847
3434
|
"div",
|
|
2848
3435
|
{
|
|
2849
3436
|
className: cn(
|
|
@@ -2852,24 +3439,24 @@ var EventListItemContent = ({
|
|
|
2852
3439
|
classNames == null ? void 0 : classNames.footer
|
|
2853
3440
|
),
|
|
2854
3441
|
children: [
|
|
2855
|
-
/* @__PURE__ */ (0,
|
|
2856
|
-
/* @__PURE__ */ (0,
|
|
3442
|
+
/* @__PURE__ */ (0, import_jsx_runtime61.jsxs)("div", { className: cn("flex items-center gap-2", "text-agg-sm leading-agg-5"), children: [
|
|
3443
|
+
/* @__PURE__ */ (0, import_jsx_runtime61.jsx)("span", { className: "truncate text-agg-muted-foreground", children: formatCountLabel(
|
|
2857
3444
|
marketCount,
|
|
2858
3445
|
labels.eventItem.marketSingular,
|
|
2859
3446
|
labels.eventItem.marketPlural
|
|
2860
3447
|
) }),
|
|
2861
|
-
/* @__PURE__ */ (0,
|
|
2862
|
-
singleVenue ? /* @__PURE__ */ (0,
|
|
2863
|
-
showVenueLogo ? /* @__PURE__ */ (0,
|
|
2864
|
-
/* @__PURE__ */ (0,
|
|
2865
|
-
] }) : /* @__PURE__ */ (0,
|
|
3448
|
+
/* @__PURE__ */ (0, import_jsx_runtime61.jsx)("span", { className: "text-agg-muted-foreground", children: "\xD7" }),
|
|
3449
|
+
singleVenue ? /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)("span", { className: "flex items-center gap-1 truncate text-agg-muted-foreground", children: [
|
|
3450
|
+
showVenueLogo ? /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(VenueLogo, { venue: singleVenue, size: "xs" }) : null,
|
|
3451
|
+
/* @__PURE__ */ (0, import_jsx_runtime61.jsx)("span", { children: venueLabel })
|
|
3452
|
+
] }) : /* @__PURE__ */ (0, import_jsx_runtime61.jsx)("span", { className: "truncate text-agg-muted-foreground", children: formatCountLabel(
|
|
2866
3453
|
venueCount,
|
|
2867
3454
|
labels.eventItem.venueSingular,
|
|
2868
3455
|
labels.eventItem.venuePlural
|
|
2869
3456
|
) }),
|
|
2870
|
-
showVenueLogo && !singleVenue && visibleVenueLogos.length > 0 ? /* @__PURE__ */ (0,
|
|
3457
|
+
showVenueLogo && !singleVenue && visibleVenueLogos.length > 0 ? /* @__PURE__ */ (0, import_jsx_runtime61.jsx)("span", { className: "flex items-center gap-1 overflow-hidden", children: visibleVenueLogos.map((venue) => /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(VenueLogo, { venue, size: "xs" }, venue)) }) : null
|
|
2871
3458
|
] }),
|
|
2872
|
-
volumeLabel ? /* @__PURE__ */ (0,
|
|
3459
|
+
volumeLabel ? /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(Typography, { variant: "meta", className: "text-agg-sm", children: volumeLabel }) : null
|
|
2873
3460
|
]
|
|
2874
3461
|
}
|
|
2875
3462
|
)
|
|
@@ -2890,32 +3477,32 @@ var EventListItemByEventId = (_a) => {
|
|
|
2890
3477
|
} = (0, import_hooks11.useEvent)(eventId, {
|
|
2891
3478
|
enabled: !!eventId
|
|
2892
3479
|
});
|
|
2893
|
-
const resolvedEvent = (0,
|
|
3480
|
+
const resolvedEvent = (0, import_react3.useMemo)(() => {
|
|
2894
3481
|
return resolveEventListItemEvent(fetchedEvent);
|
|
2895
3482
|
}, [fetchedEvent]);
|
|
2896
3483
|
if (!eventId) {
|
|
2897
|
-
return /* @__PURE__ */ (0,
|
|
3484
|
+
return /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(EventListItemUnavailableState, { classNames: rest.classNames, ariaLabel: rest.ariaLabel });
|
|
2898
3485
|
}
|
|
2899
3486
|
if (isLoading) {
|
|
2900
|
-
return /* @__PURE__ */ (0,
|
|
3487
|
+
return /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(EventListItemLoadingState, { classNames: rest.classNames, ariaLabel: rest.ariaLabel });
|
|
2901
3488
|
}
|
|
2902
3489
|
if (!resolvedEvent && !isError) {
|
|
2903
|
-
return /* @__PURE__ */ (0,
|
|
3490
|
+
return /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(EventListItemLoadingState, { classNames: rest.classNames, ariaLabel: rest.ariaLabel });
|
|
2904
3491
|
}
|
|
2905
3492
|
if (!resolvedEvent) {
|
|
2906
|
-
return /* @__PURE__ */ (0,
|
|
3493
|
+
return /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(EventListItemUnavailableState, { classNames: rest.classNames, ariaLabel: rest.ariaLabel });
|
|
2907
3494
|
}
|
|
2908
|
-
return /* @__PURE__ */ (0,
|
|
3495
|
+
return /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(EventListItemContent, __spreadValues({ event: resolvedEvent }, rest));
|
|
2909
3496
|
};
|
|
2910
3497
|
var EventListItem = (props) => {
|
|
2911
3498
|
if (props.isLoading) {
|
|
2912
|
-
return /* @__PURE__ */ (0,
|
|
3499
|
+
return /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(EventListItemLoadingState, { classNames: props.classNames, ariaLabel: props.ariaLabel });
|
|
2913
3500
|
}
|
|
2914
3501
|
if ("event" in props && props.event) {
|
|
2915
3502
|
const _a = props, { event } = _a, rest = __objRest(_a, ["event"]);
|
|
2916
|
-
return /* @__PURE__ */ (0,
|
|
3503
|
+
return /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(EventListItemContent, __spreadValues({ event }, rest));
|
|
2917
3504
|
}
|
|
2918
|
-
return /* @__PURE__ */ (0,
|
|
3505
|
+
return /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(EventListItemByEventId, __spreadValues({}, props));
|
|
2919
3506
|
};
|
|
2920
3507
|
EventListItem.displayName = "EventListItem";
|
|
2921
3508
|
|
|
@@ -2980,14 +3567,14 @@ var resolveTabVenus = (tab) => {
|
|
|
2980
3567
|
};
|
|
2981
3568
|
|
|
2982
3569
|
// src/events/list/index.tsx
|
|
2983
|
-
var
|
|
3570
|
+
var import_jsx_runtime62 = require("react/jsx-runtime");
|
|
2984
3571
|
var renderTabIcon = (tab, isActive) => {
|
|
2985
3572
|
if (tab.venueLogo) {
|
|
2986
|
-
return /* @__PURE__ */ (0,
|
|
3573
|
+
return /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(VenueLogo, { venue: tab.venueLogo, size: "xs" });
|
|
2987
3574
|
}
|
|
2988
3575
|
if (!tab.iconName)
|
|
2989
3576
|
return null;
|
|
2990
|
-
return /* @__PURE__ */ (0,
|
|
3577
|
+
return /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
|
|
2991
3578
|
Icon,
|
|
2992
3579
|
{
|
|
2993
3580
|
name: tab.iconName,
|
|
@@ -3007,19 +3594,19 @@ var EventList = ({
|
|
|
3007
3594
|
}) => {
|
|
3008
3595
|
var _a, _b;
|
|
3009
3596
|
const labels = (0, import_hooks12.useLabels)();
|
|
3010
|
-
const defaultEventListTabs = (0,
|
|
3597
|
+
const defaultEventListTabs = (0, import_react4.useMemo)(() => {
|
|
3011
3598
|
return getDefaultEventListTabs(labels);
|
|
3012
3599
|
}, [labels]);
|
|
3013
|
-
const [activeTabValue, setActiveTabValue] = (0,
|
|
3600
|
+
const [activeTabValue, setActiveTabValue] = (0, import_react4.useState)(
|
|
3014
3601
|
(_b = (_a = defaultEventListTabs[0]) == null ? void 0 : _a.value) != null ? _b : "matched"
|
|
3015
3602
|
);
|
|
3016
|
-
const activeTab = (0,
|
|
3603
|
+
const activeTab = (0, import_react4.useMemo)(() => {
|
|
3017
3604
|
return defaultEventListTabs.find((tab) => tab.value === activeTabValue);
|
|
3018
3605
|
}, [activeTabValue]);
|
|
3019
|
-
const venues = (0,
|
|
3606
|
+
const venues = (0, import_react4.useMemo)(() => {
|
|
3020
3607
|
return resolveTabVenus(activeTab);
|
|
3021
3608
|
}, [activeTab]);
|
|
3022
|
-
const resolvedMaxVisibleItems = (0,
|
|
3609
|
+
const resolvedMaxVisibleItems = (0, import_react4.useMemo)(() => {
|
|
3023
3610
|
if (!Number.isFinite(maxVisibleItems))
|
|
3024
3611
|
return void 0;
|
|
3025
3612
|
return Math.max(1, Math.floor(maxVisibleItems));
|
|
@@ -3032,16 +3619,16 @@ var EventList = ({
|
|
|
3032
3619
|
categoryIds,
|
|
3033
3620
|
limit: requestLimit
|
|
3034
3621
|
});
|
|
3035
|
-
const filteredEvents = (0,
|
|
3622
|
+
const filteredEvents = (0, import_react4.useMemo)(() => {
|
|
3036
3623
|
return filterEventsByTabValue(events, activeTabValue);
|
|
3037
3624
|
}, [events, activeTabValue]);
|
|
3038
|
-
const tileEvents = (0,
|
|
3625
|
+
const tileEvents = (0, import_react4.useMemo)(() => {
|
|
3039
3626
|
const normalizedEvents = filteredEvents.map((event) => mapEventToEventListItemEvent(event)).filter((event) => event != null);
|
|
3040
3627
|
if (resolvedMaxVisibleItems == null)
|
|
3041
3628
|
return normalizedEvents;
|
|
3042
3629
|
return normalizedEvents.slice(0, resolvedMaxVisibleItems);
|
|
3043
3630
|
}, [filteredEvents, resolvedMaxVisibleItems]);
|
|
3044
|
-
const tabsItems = (0,
|
|
3631
|
+
const tabsItems = (0, import_react4.useMemo)(() => {
|
|
3045
3632
|
return defaultEventListTabs.map((tab) => {
|
|
3046
3633
|
const isActive = tab.value === activeTabValue;
|
|
3047
3634
|
return {
|
|
@@ -3055,8 +3642,8 @@ var EventList = ({
|
|
|
3055
3642
|
const resolvedMaxItemsPerRow = Number.isFinite(maxItemsPerRow) ? Math.max(1, Math.floor(maxItemsPerRow)) : 1;
|
|
3056
3643
|
const loadingPlaceholderCount = isFetchingNextPage ? Math.min(resolvedMaxItemsPerRow, resolvedMaxVisibleItems != null ? resolvedMaxVisibleItems : Infinity) : 0;
|
|
3057
3644
|
const shouldRenderLoadingState = isLoading && tileEvents.length === 0;
|
|
3058
|
-
const loadMoreRef = (0,
|
|
3059
|
-
(0,
|
|
3645
|
+
const loadMoreRef = (0, import_react4.useRef)(null);
|
|
3646
|
+
(0, import_react4.useEffect)(() => {
|
|
3060
3647
|
if (!shouldPaginate)
|
|
3061
3648
|
return;
|
|
3062
3649
|
if (!hasNextPage)
|
|
@@ -3090,12 +3677,12 @@ var EventList = ({
|
|
|
3090
3677
|
"md:[grid-template-columns:repeat(var(--agg-event-list-columns),minmax(0,1fr))]"
|
|
3091
3678
|
);
|
|
3092
3679
|
if (shouldRenderLoadingState) {
|
|
3093
|
-
return /* @__PURE__ */ (0,
|
|
3680
|
+
return /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(Skeleton, { view: "event-list", ariaLabel: labels.eventList.loading(title) });
|
|
3094
3681
|
}
|
|
3095
|
-
return /* @__PURE__ */ (0,
|
|
3096
|
-
/* @__PURE__ */ (0,
|
|
3097
|
-
/* @__PURE__ */ (0,
|
|
3098
|
-
/* @__PURE__ */ (0,
|
|
3682
|
+
return /* @__PURE__ */ (0, import_jsx_runtime62.jsxs)("section", { className: "flex w-full flex-col gap-5", children: [
|
|
3683
|
+
/* @__PURE__ */ (0, import_jsx_runtime62.jsxs)("header", { className: "flex flex-col md:flex-row w-full flex-nowrap items-start md:items-center justify-between gap-2 md:gap-4", children: [
|
|
3684
|
+
/* @__PURE__ */ (0, import_jsx_runtime62.jsx)(Typography, { as: "h2", variant: "value", className: "truncate [&::first-letter]:uppercase", children: title }),
|
|
3685
|
+
/* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
|
|
3099
3686
|
Tabs,
|
|
3100
3687
|
{
|
|
3101
3688
|
ariaLabel: labels.eventList.tabsAria(title),
|
|
@@ -3106,8 +3693,8 @@ var EventList = ({
|
|
|
3106
3693
|
}
|
|
3107
3694
|
)
|
|
3108
3695
|
] }),
|
|
3109
|
-
/* @__PURE__ */ (0,
|
|
3110
|
-
tileEvents.map((event) => /* @__PURE__ */ (0,
|
|
3696
|
+
/* @__PURE__ */ (0, import_jsx_runtime62.jsxs)("div", { className: gridClassName, style: gridStyle, children: [
|
|
3697
|
+
tileEvents.map((event) => /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
|
|
3111
3698
|
EventListItem,
|
|
3112
3699
|
{
|
|
3113
3700
|
event,
|
|
@@ -3118,7 +3705,7 @@ var EventList = ({
|
|
|
3118
3705
|
},
|
|
3119
3706
|
event.id
|
|
3120
3707
|
)),
|
|
3121
|
-
Array.from({ length: loadingPlaceholderCount }).map((_, index) => /* @__PURE__ */ (0,
|
|
3708
|
+
Array.from({ length: loadingPlaceholderCount }).map((_, index) => /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
|
|
3122
3709
|
EventListItem,
|
|
3123
3710
|
{
|
|
3124
3711
|
isLoading: true,
|
|
@@ -3128,7 +3715,7 @@ var EventList = ({
|
|
|
3128
3715
|
},
|
|
3129
3716
|
`loading-${index}`
|
|
3130
3717
|
)),
|
|
3131
|
-
!isLoading && !isError && (tileEvents == null ? void 0 : tileEvents.length) === 0 ? /* @__PURE__ */ (0,
|
|
3718
|
+
!isLoading && !isError && (tileEvents == null ? void 0 : tileEvents.length) === 0 ? /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
|
|
3132
3719
|
Typography,
|
|
3133
3720
|
{
|
|
3134
3721
|
variant: "body",
|
|
@@ -3136,7 +3723,7 @@ var EventList = ({
|
|
|
3136
3723
|
children: labels.eventList.empty
|
|
3137
3724
|
}
|
|
3138
3725
|
) : null,
|
|
3139
|
-
isError ? /* @__PURE__ */ (0,
|
|
3726
|
+
isError ? /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
|
|
3140
3727
|
Typography,
|
|
3141
3728
|
{
|
|
3142
3729
|
variant: "body",
|
|
@@ -3145,7 +3732,7 @@ var EventList = ({
|
|
|
3145
3732
|
}
|
|
3146
3733
|
) : null
|
|
3147
3734
|
] }),
|
|
3148
|
-
shouldPaginate && hasNextPage ? /* @__PURE__ */ (0,
|
|
3735
|
+
shouldPaginate && hasNextPage ? /* @__PURE__ */ (0, import_jsx_runtime62.jsx)("div", { ref: loadMoreRef, className: "h-px w-full", "aria-hidden": true }) : null
|
|
3149
3736
|
] });
|
|
3150
3737
|
};
|
|
3151
3738
|
EventList.displayName = "EventList";
|
|
@@ -3275,7 +3862,7 @@ var resolveInitialTabValue = (tabs, defaultActiveTab) => {
|
|
|
3275
3862
|
};
|
|
3276
3863
|
|
|
3277
3864
|
// src/pages/home/index.tsx
|
|
3278
|
-
var
|
|
3865
|
+
var import_jsx_runtime63 = require("react/jsx-runtime");
|
|
3279
3866
|
var HomePage = ({
|
|
3280
3867
|
tabs,
|
|
3281
3868
|
defaultActiveTab,
|
|
@@ -3294,10 +3881,10 @@ var HomePage = ({
|
|
|
3294
3881
|
limit: categoriesLimit,
|
|
3295
3882
|
enabled: shouldUseCategoriesTabs
|
|
3296
3883
|
});
|
|
3297
|
-
const categoryTabs = (0,
|
|
3884
|
+
const categoryTabs = (0, import_react5.useMemo)(() => {
|
|
3298
3885
|
return resolveCategoryTabs(categories, resolvedAllCategoryTabLabel);
|
|
3299
3886
|
}, [categories, resolvedAllCategoryTabLabel]);
|
|
3300
|
-
const resolvedTabs = (0,
|
|
3887
|
+
const resolvedTabs = (0, import_react5.useMemo)(() => {
|
|
3301
3888
|
if (hasCustomTabs && tabs)
|
|
3302
3889
|
return tabs;
|
|
3303
3890
|
if (shouldUseCategoriesTabs)
|
|
@@ -3305,10 +3892,10 @@ var HomePage = ({
|
|
|
3305
3892
|
return getDefaultHomePageTabs(resolvedAllCategoryTabLabel);
|
|
3306
3893
|
}, [categoryTabs, hasCustomTabs, resolvedAllCategoryTabLabel, shouldUseCategoriesTabs, tabs]);
|
|
3307
3894
|
const resolvedEventSectionItems = eventSectionItems && eventSectionItems.length > 0 ? eventSectionItems : getDefaultEventSectionItems(labels);
|
|
3308
|
-
const [activeTabValue, setActiveTabValue] = (0,
|
|
3895
|
+
const [activeTabValue, setActiveTabValue] = (0, import_react5.useState)(() => {
|
|
3309
3896
|
return resolveInitialTabValue(resolvedTabs, defaultActiveTab);
|
|
3310
3897
|
});
|
|
3311
|
-
(0,
|
|
3898
|
+
(0, import_react5.useEffect)(() => {
|
|
3312
3899
|
setActiveTabValue((currentValue) => {
|
|
3313
3900
|
const hasCurrentValue = resolvedTabs.some((tab) => tab.value === currentValue);
|
|
3314
3901
|
if (hasCurrentValue)
|
|
@@ -3316,13 +3903,13 @@ var HomePage = ({
|
|
|
3316
3903
|
return resolveInitialTabValue(resolvedTabs, defaultActiveTab);
|
|
3317
3904
|
});
|
|
3318
3905
|
}, [defaultActiveTab, resolvedTabs]);
|
|
3319
|
-
const tabsItems = (0,
|
|
3906
|
+
const tabsItems = (0, import_react5.useMemo)(() => {
|
|
3320
3907
|
return resolvedTabs.map((tab) => {
|
|
3321
3908
|
const isActive = tab.value === activeTabValue;
|
|
3322
3909
|
return {
|
|
3323
3910
|
value: tab.value,
|
|
3324
3911
|
label: tab.label,
|
|
3325
|
-
icon: tab.iconName ? /* @__PURE__ */ (0,
|
|
3912
|
+
icon: tab.iconName ? /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
|
|
3326
3913
|
Icon,
|
|
3327
3914
|
{
|
|
3328
3915
|
name: tab.iconName,
|
|
@@ -3334,10 +3921,10 @@ var HomePage = ({
|
|
|
3334
3921
|
};
|
|
3335
3922
|
});
|
|
3336
3923
|
}, [activeTabValue, resolvedTabs]);
|
|
3337
|
-
const activeTab = (0,
|
|
3924
|
+
const activeTab = (0, import_react5.useMemo)(() => {
|
|
3338
3925
|
return resolvedTabs.find((tab) => tab.value === activeTabValue);
|
|
3339
3926
|
}, [activeTabValue, resolvedTabs]);
|
|
3340
|
-
const resolvedSectionItems = (0,
|
|
3927
|
+
const resolvedSectionItems = (0, import_react5.useMemo)(() => {
|
|
3341
3928
|
var _a, _b, _c, _d, _e;
|
|
3342
3929
|
if (activeTabValue === ALL_CATEGORIES_TAB_VALUE) {
|
|
3343
3930
|
return resolvedEventSectionItems;
|
|
@@ -3363,12 +3950,12 @@ var HomePage = ({
|
|
|
3363
3950
|
setActiveTabValue(value);
|
|
3364
3951
|
onTabChange == null ? void 0 : onTabChange(value);
|
|
3365
3952
|
};
|
|
3366
|
-
return /* @__PURE__ */ (0,
|
|
3367
|
-
/* @__PURE__ */ (0,
|
|
3953
|
+
return /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)("section", { className: cn("flex w-full flex-col", classNames == null ? void 0 : classNames.root), children: [
|
|
3954
|
+
/* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
|
|
3368
3955
|
"header",
|
|
3369
3956
|
{
|
|
3370
3957
|
className: cn("w-full bg-agg-secondary border-b border-agg-separator", classNames == null ? void 0 : classNames.header),
|
|
3371
|
-
children: /* @__PURE__ */ (0,
|
|
3958
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
|
|
3372
3959
|
Tabs,
|
|
3373
3960
|
{
|
|
3374
3961
|
ariaLabel: labels.home.categoryTabsAria,
|
|
@@ -3381,7 +3968,7 @@ var HomePage = ({
|
|
|
3381
3968
|
)
|
|
3382
3969
|
}
|
|
3383
3970
|
),
|
|
3384
|
-
/* @__PURE__ */ (0,
|
|
3971
|
+
/* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
|
|
3385
3972
|
"main",
|
|
3386
3973
|
{
|
|
3387
3974
|
className: cn(
|
|
@@ -3390,7 +3977,7 @@ var HomePage = ({
|
|
|
3390
3977
|
),
|
|
3391
3978
|
children: resolvedSectionItems.map((eventSectionItem) => {
|
|
3392
3979
|
var _a, _b, _c;
|
|
3393
|
-
return /* @__PURE__ */ (0,
|
|
3980
|
+
return /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
|
|
3394
3981
|
EventList,
|
|
3395
3982
|
{
|
|
3396
3983
|
title: eventSectionItem.title,
|