@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/tabs.js
CHANGED
|
@@ -62,7 +62,7 @@ __export(tabs_exports, {
|
|
|
62
62
|
Tabs: () => Tabs
|
|
63
63
|
});
|
|
64
64
|
module.exports = __toCommonJS(tabs_exports);
|
|
65
|
-
var
|
|
65
|
+
var import_react2 = require("react");
|
|
66
66
|
var import_hooks2 = require("@agg-market/hooks");
|
|
67
67
|
var DropdownMenu = __toESM(require("@radix-ui/react-dropdown-menu"));
|
|
68
68
|
|
|
@@ -155,11 +155,37 @@ var ArrowsToDotIcon = (_a) => {
|
|
|
155
155
|
};
|
|
156
156
|
ArrowsToDotIcon.displayName = "ArrowsToDotIcon";
|
|
157
157
|
|
|
158
|
-
// src/primitives/icon/svg/
|
|
158
|
+
// src/primitives/icon/svg/bank.tsx
|
|
159
159
|
var import_jsx_runtime3 = require("react/jsx-runtime");
|
|
160
|
-
var
|
|
160
|
+
var BankIcon = (_a) => {
|
|
161
161
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
162
162
|
return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(
|
|
163
|
+
"svg",
|
|
164
|
+
__spreadProps(__spreadValues(__spreadValues({
|
|
165
|
+
viewBox: "0 0 24 24",
|
|
166
|
+
className,
|
|
167
|
+
fill: "none"
|
|
168
|
+
}, getIconA11yProps(title)), props), {
|
|
169
|
+
children: [
|
|
170
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("title", { children: title }) : null,
|
|
171
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
|
|
172
|
+
"path",
|
|
173
|
+
{
|
|
174
|
+
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",
|
|
175
|
+
fill: "currentColor"
|
|
176
|
+
}
|
|
177
|
+
)
|
|
178
|
+
]
|
|
179
|
+
})
|
|
180
|
+
);
|
|
181
|
+
};
|
|
182
|
+
BankIcon.displayName = "BankIcon";
|
|
183
|
+
|
|
184
|
+
// src/primitives/icon/svg/best-prices.tsx
|
|
185
|
+
var import_jsx_runtime4 = require("react/jsx-runtime");
|
|
186
|
+
var BestPricesIcon = (_a) => {
|
|
187
|
+
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
188
|
+
return /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)(
|
|
163
189
|
"svg",
|
|
164
190
|
__spreadProps(__spreadValues(__spreadValues({
|
|
165
191
|
width: "28",
|
|
@@ -170,26 +196,53 @@ var BestPricesIcon = (_a) => {
|
|
|
170
196
|
className
|
|
171
197
|
}, getIconA11yProps(title)), props), {
|
|
172
198
|
children: [
|
|
173
|
-
title ? /* @__PURE__ */ (0,
|
|
174
|
-
/* @__PURE__ */ (0,
|
|
199
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("title", { children: title }) : null,
|
|
200
|
+
/* @__PURE__ */ (0, import_jsx_runtime4.jsx)("g", { clipPath: "url(#clip0_best_prices)", children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
|
|
175
201
|
"path",
|
|
176
202
|
{
|
|
177
203
|
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",
|
|
178
204
|
fill: "currentColor"
|
|
179
205
|
}
|
|
180
206
|
) }),
|
|
181
|
-
/* @__PURE__ */ (0,
|
|
207
|
+
/* @__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" }) }) })
|
|
182
208
|
]
|
|
183
209
|
})
|
|
184
210
|
);
|
|
185
211
|
};
|
|
186
212
|
BestPricesIcon.displayName = "BestPricesIcon";
|
|
187
213
|
|
|
214
|
+
// src/primitives/icon/svg/bolt.tsx
|
|
215
|
+
var import_jsx_runtime5 = require("react/jsx-runtime");
|
|
216
|
+
var BoltIcon = (_a) => {
|
|
217
|
+
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
218
|
+
return /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(
|
|
219
|
+
"svg",
|
|
220
|
+
__spreadProps(__spreadValues(__spreadValues({
|
|
221
|
+
viewBox: "0 0 24 24",
|
|
222
|
+
className,
|
|
223
|
+
fill: "none"
|
|
224
|
+
}, getIconA11yProps(title)), props), {
|
|
225
|
+
children: [
|
|
226
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("title", { children: title }) : null,
|
|
227
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("g", { clipPath: "url(#bolt-clip)", children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
|
228
|
+
"path",
|
|
229
|
+
{
|
|
230
|
+
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",
|
|
231
|
+
fill: "currentColor"
|
|
232
|
+
}
|
|
233
|
+
) }),
|
|
234
|
+
/* @__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" }) }) })
|
|
235
|
+
]
|
|
236
|
+
})
|
|
237
|
+
);
|
|
238
|
+
};
|
|
239
|
+
BoltIcon.displayName = "BoltIcon";
|
|
240
|
+
|
|
188
241
|
// src/primitives/icon/svg/check-circle.tsx
|
|
189
|
-
var
|
|
242
|
+
var import_jsx_runtime6 = require("react/jsx-runtime");
|
|
190
243
|
var CheckCircleIcon = (_a) => {
|
|
191
244
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
192
|
-
return /* @__PURE__ */ (0,
|
|
245
|
+
return /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(
|
|
193
246
|
"svg",
|
|
194
247
|
__spreadProps(__spreadValues(__spreadValues({
|
|
195
248
|
width: "24",
|
|
@@ -200,15 +253,15 @@ var CheckCircleIcon = (_a) => {
|
|
|
200
253
|
className
|
|
201
254
|
}, getIconA11yProps(title)), props), {
|
|
202
255
|
children: [
|
|
203
|
-
title ? /* @__PURE__ */ (0,
|
|
204
|
-
/* @__PURE__ */ (0,
|
|
256
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("title", { children: title }) : null,
|
|
257
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)("g", { clipPath: "url(#clip0_check_circle)", children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
|
|
205
258
|
"path",
|
|
206
259
|
{
|
|
207
260
|
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",
|
|
208
261
|
fill: "currentColor"
|
|
209
262
|
}
|
|
210
263
|
) }),
|
|
211
|
-
/* @__PURE__ */ (0,
|
|
264
|
+
/* @__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" }) }) })
|
|
212
265
|
]
|
|
213
266
|
})
|
|
214
267
|
);
|
|
@@ -216,10 +269,10 @@ var CheckCircleIcon = (_a) => {
|
|
|
216
269
|
CheckCircleIcon.displayName = "CheckCircleIcon";
|
|
217
270
|
|
|
218
271
|
// src/primitives/icon/svg/chevron-down.tsx
|
|
219
|
-
var
|
|
272
|
+
var import_jsx_runtime7 = require("react/jsx-runtime");
|
|
220
273
|
var ChevronDownIcon = (_a) => {
|
|
221
274
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
222
|
-
return /* @__PURE__ */ (0,
|
|
275
|
+
return /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(
|
|
223
276
|
"svg",
|
|
224
277
|
__spreadProps(__spreadValues(__spreadValues({
|
|
225
278
|
viewBox: "0 0 14 14",
|
|
@@ -227,8 +280,8 @@ var ChevronDownIcon = (_a) => {
|
|
|
227
280
|
fill: "none"
|
|
228
281
|
}, getIconA11yProps(title)), props), {
|
|
229
282
|
children: [
|
|
230
|
-
title ? /* @__PURE__ */ (0,
|
|
231
|
-
/* @__PURE__ */ (0,
|
|
283
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("title", { children: title }) : null,
|
|
284
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
|
|
232
285
|
"path",
|
|
233
286
|
{
|
|
234
287
|
d: "M3.25 5.25L7 9L10.75 5.25",
|
|
@@ -244,11 +297,37 @@ var ChevronDownIcon = (_a) => {
|
|
|
244
297
|
};
|
|
245
298
|
ChevronDownIcon.displayName = "ChevronDownIcon";
|
|
246
299
|
|
|
300
|
+
// src/primitives/icon/svg/chevron-left.tsx
|
|
301
|
+
var import_jsx_runtime8 = require("react/jsx-runtime");
|
|
302
|
+
var ChevronLeftIcon = (_a) => {
|
|
303
|
+
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
304
|
+
return /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)(
|
|
305
|
+
"svg",
|
|
306
|
+
__spreadProps(__spreadValues(__spreadValues({
|
|
307
|
+
viewBox: "0 0 24 24",
|
|
308
|
+
className,
|
|
309
|
+
fill: "none"
|
|
310
|
+
}, getIconA11yProps(title)), props), {
|
|
311
|
+
children: [
|
|
312
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("title", { children: title }) : null,
|
|
313
|
+
/* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
|
|
314
|
+
"path",
|
|
315
|
+
{
|
|
316
|
+
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",
|
|
317
|
+
fill: "currentColor"
|
|
318
|
+
}
|
|
319
|
+
)
|
|
320
|
+
]
|
|
321
|
+
})
|
|
322
|
+
);
|
|
323
|
+
};
|
|
324
|
+
ChevronLeftIcon.displayName = "ChevronLeftIcon";
|
|
325
|
+
|
|
247
326
|
// src/primitives/icon/svg/chevron-right.tsx
|
|
248
|
-
var
|
|
327
|
+
var import_jsx_runtime9 = require("react/jsx-runtime");
|
|
249
328
|
var ChevronRightIcon = (_a) => {
|
|
250
329
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
251
|
-
return /* @__PURE__ */ (0,
|
|
330
|
+
return /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(
|
|
252
331
|
"svg",
|
|
253
332
|
__spreadProps(__spreadValues(__spreadValues({
|
|
254
333
|
viewBox: "0 0 16 16",
|
|
@@ -256,8 +335,8 @@ var ChevronRightIcon = (_a) => {
|
|
|
256
335
|
fill: "none"
|
|
257
336
|
}, getIconA11yProps(title)), props), {
|
|
258
337
|
children: [
|
|
259
|
-
title ? /* @__PURE__ */ (0,
|
|
260
|
-
/* @__PURE__ */ (0,
|
|
338
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("title", { children: title }) : null,
|
|
339
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
|
|
261
340
|
"path",
|
|
262
341
|
{
|
|
263
342
|
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",
|
|
@@ -271,10 +350,10 @@ var ChevronRightIcon = (_a) => {
|
|
|
271
350
|
ChevronRightIcon.displayName = "ChevronRightIcon";
|
|
272
351
|
|
|
273
352
|
// src/primitives/icon/svg/chevron-up.tsx
|
|
274
|
-
var
|
|
353
|
+
var import_jsx_runtime10 = require("react/jsx-runtime");
|
|
275
354
|
var ChevronUpIcon = (_a) => {
|
|
276
355
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
277
|
-
return /* @__PURE__ */ (0,
|
|
356
|
+
return /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)(
|
|
278
357
|
"svg",
|
|
279
358
|
__spreadProps(__spreadValues(__spreadValues({
|
|
280
359
|
viewBox: "0 0 14 14",
|
|
@@ -282,8 +361,8 @@ var ChevronUpIcon = (_a) => {
|
|
|
282
361
|
fill: "none"
|
|
283
362
|
}, getIconA11yProps(title)), props), {
|
|
284
363
|
children: [
|
|
285
|
-
title ? /* @__PURE__ */ (0,
|
|
286
|
-
/* @__PURE__ */ (0,
|
|
364
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("title", { children: title }) : null,
|
|
365
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
|
|
287
366
|
"path",
|
|
288
367
|
{
|
|
289
368
|
d: "M3.25 8.75L7 5L10.75 8.75",
|
|
@@ -300,10 +379,10 @@ var ChevronUpIcon = (_a) => {
|
|
|
300
379
|
ChevronUpIcon.displayName = "ChevronUpIcon";
|
|
301
380
|
|
|
302
381
|
// src/primitives/icon/svg/close.tsx
|
|
303
|
-
var
|
|
382
|
+
var import_jsx_runtime11 = require("react/jsx-runtime");
|
|
304
383
|
var CloseIcon = (_a) => {
|
|
305
384
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
306
|
-
return /* @__PURE__ */ (0,
|
|
385
|
+
return /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)(
|
|
307
386
|
"svg",
|
|
308
387
|
__spreadProps(__spreadValues(__spreadValues({
|
|
309
388
|
width: "16",
|
|
@@ -314,8 +393,8 @@ var CloseIcon = (_a) => {
|
|
|
314
393
|
className
|
|
315
394
|
}, getIconA11yProps(title)), props), {
|
|
316
395
|
children: [
|
|
317
|
-
title ? /* @__PURE__ */ (0,
|
|
318
|
-
/* @__PURE__ */ (0,
|
|
396
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("title", { children: title }) : null,
|
|
397
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
|
|
319
398
|
"path",
|
|
320
399
|
{
|
|
321
400
|
d: "M12 4L4 12M4 4l8 8",
|
|
@@ -331,11 +410,38 @@ var CloseIcon = (_a) => {
|
|
|
331
410
|
};
|
|
332
411
|
CloseIcon.displayName = "CloseIcon";
|
|
333
412
|
|
|
413
|
+
// src/primitives/icon/svg/copy.tsx
|
|
414
|
+
var import_jsx_runtime12 = require("react/jsx-runtime");
|
|
415
|
+
var CopyIcon = (_a) => {
|
|
416
|
+
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
417
|
+
return /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)(
|
|
418
|
+
"svg",
|
|
419
|
+
__spreadProps(__spreadValues(__spreadValues({
|
|
420
|
+
viewBox: "0 0 16 16",
|
|
421
|
+
className,
|
|
422
|
+
fill: "none"
|
|
423
|
+
}, getIconA11yProps(title)), props), {
|
|
424
|
+
children: [
|
|
425
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("title", { children: title }) : null,
|
|
426
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)("g", { clipPath: "url(#clip0_copy)", children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
|
|
427
|
+
"path",
|
|
428
|
+
{
|
|
429
|
+
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",
|
|
430
|
+
fill: "currentColor"
|
|
431
|
+
}
|
|
432
|
+
) }),
|
|
433
|
+
/* @__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" }) }) })
|
|
434
|
+
]
|
|
435
|
+
})
|
|
436
|
+
);
|
|
437
|
+
};
|
|
438
|
+
CopyIcon.displayName = "CopyIcon";
|
|
439
|
+
|
|
334
440
|
// src/primitives/icon/svg/create-account.tsx
|
|
335
|
-
var
|
|
441
|
+
var import_jsx_runtime13 = require("react/jsx-runtime");
|
|
336
442
|
var CreateAccountIcon = (_a) => {
|
|
337
443
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
338
|
-
return /* @__PURE__ */ (0,
|
|
444
|
+
return /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)(
|
|
339
445
|
"svg",
|
|
340
446
|
__spreadProps(__spreadValues(__spreadValues({
|
|
341
447
|
width: "28",
|
|
@@ -346,26 +452,90 @@ var CreateAccountIcon = (_a) => {
|
|
|
346
452
|
className
|
|
347
453
|
}, getIconA11yProps(title)), props), {
|
|
348
454
|
children: [
|
|
349
|
-
title ? /* @__PURE__ */ (0,
|
|
350
|
-
/* @__PURE__ */ (0,
|
|
455
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("title", { children: title }) : null,
|
|
456
|
+
/* @__PURE__ */ (0, import_jsx_runtime13.jsx)("g", { clipPath: "url(#clip0_create_account)", children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
|
|
351
457
|
"path",
|
|
352
458
|
{
|
|
353
459
|
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",
|
|
354
460
|
fill: "currentColor"
|
|
355
461
|
}
|
|
356
462
|
) }),
|
|
357
|
-
/* @__PURE__ */ (0,
|
|
463
|
+
/* @__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" }) }) })
|
|
358
464
|
]
|
|
359
465
|
})
|
|
360
466
|
);
|
|
361
467
|
};
|
|
362
468
|
CreateAccountIcon.displayName = "CreateAccountIcon";
|
|
363
469
|
|
|
470
|
+
// src/primitives/icon/svg/credit-card.tsx
|
|
471
|
+
var import_jsx_runtime14 = require("react/jsx-runtime");
|
|
472
|
+
var CreditCardIcon = (_a) => {
|
|
473
|
+
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
474
|
+
return /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)(
|
|
475
|
+
"svg",
|
|
476
|
+
__spreadProps(__spreadValues(__spreadValues({
|
|
477
|
+
viewBox: "0 0 24 24",
|
|
478
|
+
className,
|
|
479
|
+
fill: "none"
|
|
480
|
+
}, getIconA11yProps(title)), props), {
|
|
481
|
+
children: [
|
|
482
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("title", { children: title }) : null,
|
|
483
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
|
|
484
|
+
"path",
|
|
485
|
+
{
|
|
486
|
+
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",
|
|
487
|
+
fill: "currentColor"
|
|
488
|
+
}
|
|
489
|
+
)
|
|
490
|
+
]
|
|
491
|
+
})
|
|
492
|
+
);
|
|
493
|
+
};
|
|
494
|
+
CreditCardIcon.displayName = "CreditCardIcon";
|
|
495
|
+
|
|
364
496
|
// src/primitives/icon/svg/disconnect.tsx
|
|
365
|
-
var
|
|
497
|
+
var import_jsx_runtime15 = require("react/jsx-runtime");
|
|
366
498
|
var DisconnectIcon = (_a) => {
|
|
367
499
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
368
|
-
return /* @__PURE__ */ (0,
|
|
500
|
+
return /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)(
|
|
501
|
+
"svg",
|
|
502
|
+
__spreadProps(__spreadValues(__spreadValues({
|
|
503
|
+
viewBox: "0 0 16 16",
|
|
504
|
+
className,
|
|
505
|
+
fill: "none"
|
|
506
|
+
}, getIconA11yProps(title)), props), {
|
|
507
|
+
children: [
|
|
508
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("title", { children: title }) : null,
|
|
509
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
|
|
510
|
+
"path",
|
|
511
|
+
{
|
|
512
|
+
d: "M6.5 3H4a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h2.5",
|
|
513
|
+
stroke: "currentColor",
|
|
514
|
+
strokeWidth: "1.5",
|
|
515
|
+
strokeLinecap: "round"
|
|
516
|
+
}
|
|
517
|
+
),
|
|
518
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
|
|
519
|
+
"path",
|
|
520
|
+
{
|
|
521
|
+
d: "M9.5 5.5 12 8m0 0-2.5 2.5M12 8H6",
|
|
522
|
+
stroke: "currentColor",
|
|
523
|
+
strokeWidth: "1.5",
|
|
524
|
+
strokeLinecap: "round",
|
|
525
|
+
strokeLinejoin: "round"
|
|
526
|
+
}
|
|
527
|
+
)
|
|
528
|
+
]
|
|
529
|
+
})
|
|
530
|
+
);
|
|
531
|
+
};
|
|
532
|
+
DisconnectIcon.displayName = "DisconnectIcon";
|
|
533
|
+
|
|
534
|
+
// src/primitives/icon/svg/dots-horizontal.tsx
|
|
535
|
+
var import_jsx_runtime16 = require("react/jsx-runtime");
|
|
536
|
+
var DotsHorizontalIcon = (_a) => {
|
|
537
|
+
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
538
|
+
return /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)(
|
|
369
539
|
"svg",
|
|
370
540
|
__spreadProps(__spreadValues(__spreadValues({
|
|
371
541
|
viewBox: "0 0 16 16",
|
|
@@ -373,20 +543,235 @@ var DisconnectIcon = (_a) => {
|
|
|
373
543
|
fill: "none"
|
|
374
544
|
}, getIconA11yProps(title)), props), {
|
|
375
545
|
children: [
|
|
376
|
-
title ? /* @__PURE__ */ (0,
|
|
377
|
-
/* @__PURE__ */ (0,
|
|
546
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("title", { children: title }) : null,
|
|
547
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsx)("circle", { cx: "3.5", cy: "8", r: "1.25", fill: "currentColor" }),
|
|
548
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsx)("circle", { cx: "8", cy: "8", r: "1.25", fill: "currentColor" }),
|
|
549
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsx)("circle", { cx: "12.5", cy: "8", r: "1.25", fill: "currentColor" })
|
|
550
|
+
]
|
|
551
|
+
})
|
|
552
|
+
);
|
|
553
|
+
};
|
|
554
|
+
DotsHorizontalIcon.displayName = "DotsHorizontalIcon";
|
|
555
|
+
|
|
556
|
+
// src/primitives/icon/svg/document.tsx
|
|
557
|
+
var import_jsx_runtime17 = require("react/jsx-runtime");
|
|
558
|
+
var DocumentIcon = (_a) => {
|
|
559
|
+
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
560
|
+
return /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(
|
|
561
|
+
"svg",
|
|
562
|
+
__spreadProps(__spreadValues(__spreadValues({
|
|
563
|
+
viewBox: "0 0 16 16",
|
|
564
|
+
className,
|
|
565
|
+
fill: "none"
|
|
566
|
+
}, getIconA11yProps(title)), props), {
|
|
567
|
+
children: [
|
|
568
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("title", { children: title }) : null,
|
|
569
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)("g", { clipPath: "url(#document-clip)", children: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
570
|
+
"path",
|
|
571
|
+
{
|
|
572
|
+
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",
|
|
573
|
+
fill: "currentColor"
|
|
574
|
+
}
|
|
575
|
+
) }),
|
|
576
|
+
/* @__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" }) }) })
|
|
577
|
+
]
|
|
578
|
+
})
|
|
579
|
+
);
|
|
580
|
+
};
|
|
581
|
+
DocumentIcon.displayName = "DocumentIcon";
|
|
582
|
+
|
|
583
|
+
// src/primitives/icon/svg/download.tsx
|
|
584
|
+
var import_jsx_runtime18 = require("react/jsx-runtime");
|
|
585
|
+
var DownloadIcon = (_a) => {
|
|
586
|
+
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
587
|
+
return /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(
|
|
588
|
+
"svg",
|
|
589
|
+
__spreadProps(__spreadValues(__spreadValues({
|
|
590
|
+
viewBox: "0 0 16 16",
|
|
591
|
+
className,
|
|
592
|
+
fill: "none"
|
|
593
|
+
}, getIconA11yProps(title)), props), {
|
|
594
|
+
children: [
|
|
595
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("title", { children: title }) : null,
|
|
596
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
|
|
597
|
+
"path",
|
|
598
|
+
{
|
|
599
|
+
d: "M8 2.5v7m0 0 2.5-2.5M8 9.5 5.5 7",
|
|
600
|
+
stroke: "currentColor",
|
|
601
|
+
strokeWidth: "1.5",
|
|
602
|
+
strokeLinecap: "round",
|
|
603
|
+
strokeLinejoin: "round"
|
|
604
|
+
}
|
|
605
|
+
),
|
|
606
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("path", { d: "M2.5 12.5h11", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round" })
|
|
607
|
+
]
|
|
608
|
+
})
|
|
609
|
+
);
|
|
610
|
+
};
|
|
611
|
+
DownloadIcon.displayName = "DownloadIcon";
|
|
612
|
+
|
|
613
|
+
// src/primitives/icon/svg/external-link.tsx
|
|
614
|
+
var import_jsx_runtime19 = require("react/jsx-runtime");
|
|
615
|
+
var ExternalLinkIcon = (_a) => {
|
|
616
|
+
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
617
|
+
return /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)(
|
|
618
|
+
"svg",
|
|
619
|
+
__spreadProps(__spreadValues(__spreadValues({
|
|
620
|
+
viewBox: "0 0 14 14",
|
|
621
|
+
className,
|
|
622
|
+
fill: "none"
|
|
623
|
+
}, getIconA11yProps(title)), props), {
|
|
624
|
+
children: [
|
|
625
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("title", { children: title }) : null,
|
|
626
|
+
/* @__PURE__ */ (0, import_jsx_runtime19.jsx)("g", { clipPath: "url(#clip0_422_235)", children: /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
|
|
627
|
+
"path",
|
|
628
|
+
{
|
|
629
|
+
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",
|
|
630
|
+
fill: "currentColor"
|
|
631
|
+
}
|
|
632
|
+
) }),
|
|
633
|
+
/* @__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" }) }) })
|
|
634
|
+
]
|
|
635
|
+
})
|
|
636
|
+
);
|
|
637
|
+
};
|
|
638
|
+
ExternalLinkIcon.displayName = "ExternalLinkIcon";
|
|
639
|
+
|
|
640
|
+
// src/primitives/icon/svg/info.tsx
|
|
641
|
+
var import_jsx_runtime20 = require("react/jsx-runtime");
|
|
642
|
+
var InfoIcon = (_a) => {
|
|
643
|
+
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
644
|
+
return /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)(
|
|
645
|
+
"svg",
|
|
646
|
+
__spreadProps(__spreadValues(__spreadValues({
|
|
647
|
+
viewBox: "0 0 12 12",
|
|
648
|
+
className,
|
|
649
|
+
fill: "none"
|
|
650
|
+
}, getIconA11yProps(title)), props), {
|
|
651
|
+
children: [
|
|
652
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("title", { children: title }) : null,
|
|
653
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsxs)("g", { clipPath: "url(#info_clip)", children: [
|
|
654
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
|
|
655
|
+
"path",
|
|
656
|
+
{
|
|
657
|
+
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",
|
|
658
|
+
fill: "currentColor"
|
|
659
|
+
}
|
|
660
|
+
),
|
|
661
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
|
|
662
|
+
"path",
|
|
663
|
+
{
|
|
664
|
+
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",
|
|
665
|
+
fill: "currentColor"
|
|
666
|
+
}
|
|
667
|
+
),
|
|
668
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
|
|
669
|
+
"path",
|
|
670
|
+
{
|
|
671
|
+
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",
|
|
672
|
+
fill: "currentColor"
|
|
673
|
+
}
|
|
674
|
+
)
|
|
675
|
+
] }),
|
|
676
|
+
/* @__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" }) }) })
|
|
677
|
+
]
|
|
678
|
+
})
|
|
679
|
+
);
|
|
680
|
+
};
|
|
681
|
+
InfoIcon.displayName = "InfoIcon";
|
|
682
|
+
|
|
683
|
+
// src/primitives/icon/icon.constants.ts
|
|
684
|
+
var iconSizeClasses = {
|
|
685
|
+
xxs: "h-2 w-2",
|
|
686
|
+
xs: "h-3 w-3",
|
|
687
|
+
s: "h-4 w-4",
|
|
688
|
+
ms: "h-5 w-5",
|
|
689
|
+
m: "h-6 w-6",
|
|
690
|
+
l: "h-8 w-8",
|
|
691
|
+
xl: "h-10 w-10",
|
|
692
|
+
xxl: "h-12 w-12"
|
|
693
|
+
};
|
|
694
|
+
|
|
695
|
+
// src/primitives/icon/svg/check-badge.tsx
|
|
696
|
+
var import_jsx_runtime21 = require("react/jsx-runtime");
|
|
697
|
+
var CheckBadgeIcon = (_a) => {
|
|
698
|
+
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
699
|
+
return /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)(
|
|
700
|
+
"svg",
|
|
701
|
+
__spreadProps(__spreadValues(__spreadValues({
|
|
702
|
+
viewBox: "0 0 16 16",
|
|
703
|
+
className,
|
|
704
|
+
fill: "none"
|
|
705
|
+
}, getIconA11yProps(title)), props), {
|
|
706
|
+
children: [
|
|
707
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("title", { children: title }) : null,
|
|
708
|
+
/* @__PURE__ */ (0, import_jsx_runtime21.jsx)("g", { clipPath: "url(#check-badge-clip)", children: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
|
|
709
|
+
"path",
|
|
710
|
+
{
|
|
711
|
+
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",
|
|
712
|
+
fill: "currentColor"
|
|
713
|
+
}
|
|
714
|
+
) }),
|
|
715
|
+
/* @__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" }) }) })
|
|
716
|
+
]
|
|
717
|
+
})
|
|
718
|
+
);
|
|
719
|
+
};
|
|
720
|
+
CheckBadgeIcon.displayName = "CheckBadgeIcon";
|
|
721
|
+
|
|
722
|
+
// src/primitives/icon/svg/discord.tsx
|
|
723
|
+
var import_jsx_runtime22 = require("react/jsx-runtime");
|
|
724
|
+
var DiscordIcon = (_a) => {
|
|
725
|
+
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
726
|
+
return /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)(
|
|
727
|
+
"svg",
|
|
728
|
+
__spreadProps(__spreadValues(__spreadValues({
|
|
729
|
+
viewBox: "0 0 20 20",
|
|
730
|
+
className,
|
|
731
|
+
fill: "none"
|
|
732
|
+
}, getIconA11yProps(title)), props), {
|
|
733
|
+
children: [
|
|
734
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime22.jsx)("title", { children: title }) : null,
|
|
735
|
+
/* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
|
|
736
|
+
"path",
|
|
737
|
+
{
|
|
738
|
+
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",
|
|
739
|
+
fill: "currentColor"
|
|
740
|
+
}
|
|
741
|
+
)
|
|
742
|
+
]
|
|
743
|
+
})
|
|
744
|
+
);
|
|
745
|
+
};
|
|
746
|
+
DiscordIcon.displayName = "DiscordIcon";
|
|
747
|
+
|
|
748
|
+
// src/primitives/icon/svg/email.tsx
|
|
749
|
+
var import_jsx_runtime23 = require("react/jsx-runtime");
|
|
750
|
+
var EmailIcon = (_a) => {
|
|
751
|
+
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
752
|
+
return /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(
|
|
753
|
+
"svg",
|
|
754
|
+
__spreadProps(__spreadValues(__spreadValues({
|
|
755
|
+
viewBox: "0 0 20 20",
|
|
756
|
+
className,
|
|
757
|
+
fill: "none"
|
|
758
|
+
}, getIconA11yProps(title)), props), {
|
|
759
|
+
children: [
|
|
760
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("title", { children: title }) : null,
|
|
761
|
+
/* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
|
|
378
762
|
"path",
|
|
379
763
|
{
|
|
380
|
-
d: "
|
|
764
|
+
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",
|
|
381
765
|
stroke: "currentColor",
|
|
382
766
|
strokeWidth: "1.5",
|
|
383
|
-
strokeLinecap: "round"
|
|
767
|
+
strokeLinecap: "round",
|
|
768
|
+
strokeLinejoin: "round"
|
|
384
769
|
}
|
|
385
770
|
),
|
|
386
|
-
/* @__PURE__ */ (0,
|
|
771
|
+
/* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
|
|
387
772
|
"path",
|
|
388
773
|
{
|
|
389
|
-
d: "
|
|
774
|
+
d: "M18.3333 5L10 10.8333L1.66667 5",
|
|
390
775
|
stroke: "currentColor",
|
|
391
776
|
strokeWidth: "1.5",
|
|
392
777
|
strokeLinecap: "round",
|
|
@@ -397,54 +782,43 @@ var DisconnectIcon = (_a) => {
|
|
|
397
782
|
})
|
|
398
783
|
);
|
|
399
784
|
};
|
|
400
|
-
|
|
785
|
+
EmailIcon.displayName = "EmailIcon";
|
|
401
786
|
|
|
402
|
-
// src/primitives/icon/svg/
|
|
403
|
-
var
|
|
404
|
-
var
|
|
787
|
+
// src/primitives/icon/svg/link-accounts.tsx
|
|
788
|
+
var import_jsx_runtime24 = require("react/jsx-runtime");
|
|
789
|
+
var LinkAccountsIcon = (_a) => {
|
|
405
790
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
406
|
-
return /* @__PURE__ */ (0,
|
|
791
|
+
return /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(
|
|
407
792
|
"svg",
|
|
408
793
|
__spreadProps(__spreadValues(__spreadValues({
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
794
|
+
width: "28",
|
|
795
|
+
height: "28",
|
|
796
|
+
viewBox: "0 0 28 28",
|
|
797
|
+
fill: "none",
|
|
798
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
799
|
+
className
|
|
412
800
|
}, getIconA11yProps(title)), props), {
|
|
413
801
|
children: [
|
|
414
|
-
title ? /* @__PURE__ */ (0,
|
|
415
|
-
/* @__PURE__ */ (0,
|
|
802
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime24.jsx)("title", { children: title }) : null,
|
|
803
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsx)("g", { clipPath: "url(#clip0_link_accounts)", children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
|
|
416
804
|
"path",
|
|
417
805
|
{
|
|
418
|
-
d: "
|
|
419
|
-
|
|
420
|
-
strokeWidth: "1.5",
|
|
421
|
-
strokeLinecap: "round",
|
|
422
|
-
strokeLinejoin: "round"
|
|
806
|
+
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",
|
|
807
|
+
fill: "currentColor"
|
|
423
808
|
}
|
|
424
|
-
),
|
|
425
|
-
/* @__PURE__ */ (0,
|
|
809
|
+
) }),
|
|
810
|
+
/* @__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" }) }) })
|
|
426
811
|
]
|
|
427
812
|
})
|
|
428
813
|
);
|
|
429
814
|
};
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
// src/primitives/icon/icon.constants.ts
|
|
433
|
-
var iconSizeClasses = {
|
|
434
|
-
xxs: "h-2 w-2",
|
|
435
|
-
xs: "h-3 w-3",
|
|
436
|
-
s: "h-4 w-4",
|
|
437
|
-
m: "h-6 w-6",
|
|
438
|
-
l: "h-8 w-8",
|
|
439
|
-
xl: "h-10 w-10",
|
|
440
|
-
xxl: "h-12 w-12"
|
|
441
|
-
};
|
|
815
|
+
LinkAccountsIcon.displayName = "LinkAccountsIcon";
|
|
442
816
|
|
|
443
|
-
// src/primitives/icon/svg/
|
|
444
|
-
var
|
|
445
|
-
var
|
|
817
|
+
// src/primitives/icon/svg/pencil.tsx
|
|
818
|
+
var import_jsx_runtime25 = require("react/jsx-runtime");
|
|
819
|
+
var PencilIcon = (_a) => {
|
|
446
820
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
447
|
-
return /* @__PURE__ */ (0,
|
|
821
|
+
return /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(
|
|
448
822
|
"svg",
|
|
449
823
|
__spreadProps(__spreadValues(__spreadValues({
|
|
450
824
|
viewBox: "0 0 16 16",
|
|
@@ -452,74 +826,66 @@ var DotsHorizontalIcon = (_a) => {
|
|
|
452
826
|
fill: "none"
|
|
453
827
|
}, getIconA11yProps(title)), props), {
|
|
454
828
|
children: [
|
|
455
|
-
title ? /* @__PURE__ */ (0,
|
|
456
|
-
/* @__PURE__ */ (0,
|
|
457
|
-
|
|
458
|
-
|
|
829
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("title", { children: title }) : null,
|
|
830
|
+
/* @__PURE__ */ (0, import_jsx_runtime25.jsx)("g", { clipPath: "url(#pencil_clip)", children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
|
|
831
|
+
"path",
|
|
832
|
+
{
|
|
833
|
+
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",
|
|
834
|
+
fill: "currentColor"
|
|
835
|
+
}
|
|
836
|
+
) }),
|
|
837
|
+
/* @__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" }) }) })
|
|
459
838
|
]
|
|
460
839
|
})
|
|
461
840
|
);
|
|
462
841
|
};
|
|
463
|
-
|
|
842
|
+
PencilIcon.displayName = "PencilIcon";
|
|
464
843
|
|
|
465
|
-
// src/primitives/icon/svg/
|
|
466
|
-
var
|
|
467
|
-
var
|
|
844
|
+
// src/primitives/icon/svg/play-square.tsx
|
|
845
|
+
var import_jsx_runtime26 = require("react/jsx-runtime");
|
|
846
|
+
var PlaySquareIcon = (_a) => {
|
|
468
847
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
469
|
-
return /* @__PURE__ */ (0,
|
|
848
|
+
return /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(
|
|
470
849
|
"svg",
|
|
471
850
|
__spreadProps(__spreadValues(__spreadValues({
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
fill: "none",
|
|
476
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
477
|
-
className
|
|
851
|
+
viewBox: "0 0 16 16",
|
|
852
|
+
className,
|
|
853
|
+
fill: "none"
|
|
478
854
|
}, getIconA11yProps(title)), props), {
|
|
479
855
|
children: [
|
|
480
|
-
title ? /* @__PURE__ */ (0,
|
|
481
|
-
/* @__PURE__ */ (0,
|
|
856
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime26.jsx)("title", { children: title }) : null,
|
|
857
|
+
/* @__PURE__ */ (0, import_jsx_runtime26.jsx)("g", { clipPath: "url(#play-square-clip)", children: /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
|
|
482
858
|
"path",
|
|
483
859
|
{
|
|
484
|
-
d: "
|
|
860
|
+
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",
|
|
485
861
|
fill: "currentColor"
|
|
486
862
|
}
|
|
487
863
|
) }),
|
|
488
|
-
/* @__PURE__ */ (0,
|
|
864
|
+
/* @__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" }) }) })
|
|
489
865
|
]
|
|
490
866
|
})
|
|
491
867
|
);
|
|
492
868
|
};
|
|
493
|
-
|
|
869
|
+
PlaySquareIcon.displayName = "PlaySquareIcon";
|
|
494
870
|
|
|
495
871
|
// src/primitives/icon/svg/profile.tsx
|
|
496
|
-
var
|
|
872
|
+
var import_jsx_runtime27 = require("react/jsx-runtime");
|
|
497
873
|
var ProfileIcon = (_a) => {
|
|
498
874
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
499
|
-
return /* @__PURE__ */ (0,
|
|
875
|
+
return /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(
|
|
500
876
|
"svg",
|
|
501
877
|
__spreadProps(__spreadValues(__spreadValues({
|
|
502
|
-
viewBox: "0 0
|
|
878
|
+
viewBox: "0 0 21 28",
|
|
503
879
|
className,
|
|
504
880
|
fill: "none"
|
|
505
881
|
}, getIconA11yProps(title)), props), {
|
|
506
882
|
children: [
|
|
507
|
-
title ? /* @__PURE__ */ (0,
|
|
508
|
-
/* @__PURE__ */ (0,
|
|
509
|
-
"path",
|
|
510
|
-
{
|
|
511
|
-
d: "M8 8.25a2.75 2.75 0 1 0 0-5.5 2.75 2.75 0 0 0 0 5.5Z",
|
|
512
|
-
stroke: "currentColor",
|
|
513
|
-
strokeWidth: "1.5"
|
|
514
|
-
}
|
|
515
|
-
),
|
|
516
|
-
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
|
|
883
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("title", { children: title }) : null,
|
|
884
|
+
/* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
|
|
517
885
|
"path",
|
|
518
886
|
{
|
|
519
|
-
d: "
|
|
520
|
-
|
|
521
|
-
strokeWidth: "1.5",
|
|
522
|
-
strokeLinecap: "round"
|
|
887
|
+
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",
|
|
888
|
+
fill: "currentColor"
|
|
523
889
|
}
|
|
524
890
|
)
|
|
525
891
|
]
|
|
@@ -529,10 +895,10 @@ var ProfileIcon = (_a) => {
|
|
|
529
895
|
ProfileIcon.displayName = "ProfileIcon";
|
|
530
896
|
|
|
531
897
|
// src/primitives/icon/svg/revenue-alt.tsx
|
|
532
|
-
var
|
|
898
|
+
var import_jsx_runtime28 = require("react/jsx-runtime");
|
|
533
899
|
var RevenueAltIcon = (_a) => {
|
|
534
900
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
535
|
-
return /* @__PURE__ */ (0,
|
|
901
|
+
return /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)(
|
|
536
902
|
"svg",
|
|
537
903
|
__spreadProps(__spreadValues(__spreadValues({
|
|
538
904
|
viewBox: "0 0 20 20",
|
|
@@ -540,8 +906,8 @@ var RevenueAltIcon = (_a) => {
|
|
|
540
906
|
fill: "none"
|
|
541
907
|
}, getIconA11yProps(title)), props), {
|
|
542
908
|
children: [
|
|
543
|
-
title ? /* @__PURE__ */ (0,
|
|
544
|
-
/* @__PURE__ */ (0,
|
|
909
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("title", { children: title }) : null,
|
|
910
|
+
/* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
|
|
545
911
|
"path",
|
|
546
912
|
{
|
|
547
913
|
d: "M3 14V6M3 6L1.5 7.5M3 6L4.5 7.5M17 6V14M17 14L15.5 12.5M17 14L18.5 12.5",
|
|
@@ -551,7 +917,7 @@ var RevenueAltIcon = (_a) => {
|
|
|
551
917
|
strokeLinejoin: "round"
|
|
552
918
|
}
|
|
553
919
|
),
|
|
554
|
-
/* @__PURE__ */ (0,
|
|
920
|
+
/* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
|
|
555
921
|
"path",
|
|
556
922
|
{
|
|
557
923
|
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",
|
|
@@ -568,10 +934,10 @@ var RevenueAltIcon = (_a) => {
|
|
|
568
934
|
RevenueAltIcon.displayName = "RevenueAltIcon";
|
|
569
935
|
|
|
570
936
|
// src/primitives/icon/svg/search.tsx
|
|
571
|
-
var
|
|
937
|
+
var import_jsx_runtime29 = require("react/jsx-runtime");
|
|
572
938
|
var SearchIcon = (_a) => {
|
|
573
939
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
574
|
-
return /* @__PURE__ */ (0,
|
|
940
|
+
return /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)(
|
|
575
941
|
"svg",
|
|
576
942
|
__spreadProps(__spreadValues(__spreadValues({
|
|
577
943
|
viewBox: "0 0 16 16",
|
|
@@ -580,8 +946,8 @@ var SearchIcon = (_a) => {
|
|
|
580
946
|
className
|
|
581
947
|
}, getIconA11yProps(title)), props), {
|
|
582
948
|
children: [
|
|
583
|
-
title ? /* @__PURE__ */ (0,
|
|
584
|
-
/* @__PURE__ */ (0,
|
|
949
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("title", { children: title }) : null,
|
|
950
|
+
/* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
|
|
585
951
|
"path",
|
|
586
952
|
{
|
|
587
953
|
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",
|
|
@@ -591,7 +957,7 @@ var SearchIcon = (_a) => {
|
|
|
591
957
|
strokeLinejoin: "round"
|
|
592
958
|
}
|
|
593
959
|
),
|
|
594
|
-
/* @__PURE__ */ (0,
|
|
960
|
+
/* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
|
|
595
961
|
"path",
|
|
596
962
|
{
|
|
597
963
|
d: "M13.6668 13.6666L11.1667 11.1666",
|
|
@@ -608,10 +974,10 @@ var SearchIcon = (_a) => {
|
|
|
608
974
|
SearchIcon.displayName = "SearchIcon";
|
|
609
975
|
|
|
610
976
|
// src/primitives/icon/svg/shield-trust.tsx
|
|
611
|
-
var
|
|
977
|
+
var import_jsx_runtime30 = require("react/jsx-runtime");
|
|
612
978
|
var ShieldTrustIcon = (_a) => {
|
|
613
979
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
614
|
-
return /* @__PURE__ */ (0,
|
|
980
|
+
return /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)(
|
|
615
981
|
"svg",
|
|
616
982
|
__spreadProps(__spreadValues(__spreadValues({
|
|
617
983
|
viewBox: "0 0 16 16",
|
|
@@ -619,15 +985,15 @@ var ShieldTrustIcon = (_a) => {
|
|
|
619
985
|
fill: "none"
|
|
620
986
|
}, getIconA11yProps(title)), props), {
|
|
621
987
|
children: [
|
|
622
|
-
title ? /* @__PURE__ */ (0,
|
|
623
|
-
/* @__PURE__ */ (0,
|
|
988
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("title", { children: title }) : null,
|
|
989
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
|
|
624
990
|
"path",
|
|
625
991
|
{
|
|
626
992
|
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",
|
|
627
993
|
fill: "currentColor"
|
|
628
994
|
}
|
|
629
995
|
),
|
|
630
|
-
/* @__PURE__ */ (0,
|
|
996
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
|
|
631
997
|
"path",
|
|
632
998
|
{
|
|
633
999
|
d: "M5.5 8.2L7.2 9.9L10.8 6.3",
|
|
@@ -644,10 +1010,10 @@ var ShieldTrustIcon = (_a) => {
|
|
|
644
1010
|
ShieldTrustIcon.displayName = "ShieldTrustIcon";
|
|
645
1011
|
|
|
646
1012
|
// src/primitives/icon/svg/stay-in-control.tsx
|
|
647
|
-
var
|
|
1013
|
+
var import_jsx_runtime31 = require("react/jsx-runtime");
|
|
648
1014
|
var StayInControlIcon = (_a) => {
|
|
649
1015
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
650
|
-
return /* @__PURE__ */ (0,
|
|
1016
|
+
return /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)(
|
|
651
1017
|
"svg",
|
|
652
1018
|
__spreadProps(__spreadValues(__spreadValues({
|
|
653
1019
|
width: "28",
|
|
@@ -658,16 +1024,16 @@ var StayInControlIcon = (_a) => {
|
|
|
658
1024
|
className
|
|
659
1025
|
}, getIconA11yProps(title)), props), {
|
|
660
1026
|
children: [
|
|
661
|
-
title ? /* @__PURE__ */ (0,
|
|
662
|
-
/* @__PURE__ */ (0,
|
|
663
|
-
/* @__PURE__ */ (0,
|
|
1027
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("title", { children: title }) : null,
|
|
1028
|
+
/* @__PURE__ */ (0, import_jsx_runtime31.jsxs)("g", { clipPath: "url(#clip0_stay_in_control)", children: [
|
|
1029
|
+
/* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
|
|
664
1030
|
"path",
|
|
665
1031
|
{
|
|
666
1032
|
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",
|
|
667
1033
|
fill: "currentColor"
|
|
668
1034
|
}
|
|
669
1035
|
),
|
|
670
|
-
/* @__PURE__ */ (0,
|
|
1036
|
+
/* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
|
|
671
1037
|
"path",
|
|
672
1038
|
{
|
|
673
1039
|
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",
|
|
@@ -675,18 +1041,47 @@ var StayInControlIcon = (_a) => {
|
|
|
675
1041
|
}
|
|
676
1042
|
)
|
|
677
1043
|
] }),
|
|
678
|
-
/* @__PURE__ */ (0,
|
|
1044
|
+
/* @__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" }) }) })
|
|
679
1045
|
]
|
|
680
1046
|
})
|
|
681
1047
|
);
|
|
682
1048
|
};
|
|
683
1049
|
StayInControlIcon.displayName = "StayInControlIcon";
|
|
684
1050
|
|
|
1051
|
+
// src/primitives/icon/svg/telegram.tsx
|
|
1052
|
+
var import_jsx_runtime32 = require("react/jsx-runtime");
|
|
1053
|
+
var TelegramIcon = (_a) => {
|
|
1054
|
+
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
1055
|
+
return /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)(
|
|
1056
|
+
"svg",
|
|
1057
|
+
__spreadProps(__spreadValues(__spreadValues({
|
|
1058
|
+
viewBox: "0 0 20 20",
|
|
1059
|
+
className,
|
|
1060
|
+
fill: "none"
|
|
1061
|
+
}, getIconA11yProps(title)), props), {
|
|
1062
|
+
children: [
|
|
1063
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("title", { children: title }) : null,
|
|
1064
|
+
/* @__PURE__ */ (0, import_jsx_runtime32.jsx)("g", { clipPath: "url(#clip0_telegram)", children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
|
|
1065
|
+
"path",
|
|
1066
|
+
{
|
|
1067
|
+
fillRule: "evenodd",
|
|
1068
|
+
clipRule: "evenodd",
|
|
1069
|
+
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",
|
|
1070
|
+
fill: "currentColor"
|
|
1071
|
+
}
|
|
1072
|
+
) }),
|
|
1073
|
+
/* @__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" }) }) })
|
|
1074
|
+
]
|
|
1075
|
+
})
|
|
1076
|
+
);
|
|
1077
|
+
};
|
|
1078
|
+
TelegramIcon.displayName = "TelegramIcon";
|
|
1079
|
+
|
|
685
1080
|
// src/primitives/icon/svg/triangle-down.tsx
|
|
686
|
-
var
|
|
1081
|
+
var import_jsx_runtime33 = require("react/jsx-runtime");
|
|
687
1082
|
var TriangleDownIcon = (_a) => {
|
|
688
1083
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
689
|
-
return /* @__PURE__ */ (0,
|
|
1084
|
+
return /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)(
|
|
690
1085
|
"svg",
|
|
691
1086
|
__spreadProps(__spreadValues(__spreadValues({
|
|
692
1087
|
viewBox: "0 0 8 8",
|
|
@@ -694,16 +1089,16 @@ var TriangleDownIcon = (_a) => {
|
|
|
694
1089
|
fill: "none"
|
|
695
1090
|
}, getIconA11yProps(title)), props), {
|
|
696
1091
|
children: [
|
|
697
|
-
title ? /* @__PURE__ */ (0,
|
|
698
|
-
/* @__PURE__ */ (0,
|
|
699
|
-
/* @__PURE__ */ (0,
|
|
1092
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("title", { children: title }) : null,
|
|
1093
|
+
/* @__PURE__ */ (0, import_jsx_runtime33.jsxs)("g", { transform: "scale(1,-1) translate(0,-8)", clipPath: "url(#triangle_up)", children: [
|
|
1094
|
+
/* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
|
|
700
1095
|
"path",
|
|
701
1096
|
{
|
|
702
1097
|
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",
|
|
703
1098
|
fill: "currentColor"
|
|
704
1099
|
}
|
|
705
1100
|
),
|
|
706
|
-
/* @__PURE__ */ (0,
|
|
1101
|
+
/* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
|
|
707
1102
|
"path",
|
|
708
1103
|
{
|
|
709
1104
|
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",
|
|
@@ -711,18 +1106,44 @@ var TriangleDownIcon = (_a) => {
|
|
|
711
1106
|
}
|
|
712
1107
|
)
|
|
713
1108
|
] }),
|
|
714
|
-
/* @__PURE__ */ (0,
|
|
1109
|
+
/* @__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" }) }) })
|
|
715
1110
|
]
|
|
716
1111
|
})
|
|
717
1112
|
);
|
|
718
1113
|
};
|
|
719
1114
|
TriangleDownIcon.displayName = "TriangleDownIcon";
|
|
720
1115
|
|
|
1116
|
+
// src/primitives/icon/svg/triangle-up-filled.tsx
|
|
1117
|
+
var import_jsx_runtime34 = require("react/jsx-runtime");
|
|
1118
|
+
var TriangleUpFilledIcon = (_a) => {
|
|
1119
|
+
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
1120
|
+
return /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(
|
|
1121
|
+
"svg",
|
|
1122
|
+
__spreadProps(__spreadValues(__spreadValues({
|
|
1123
|
+
viewBox: "0 0 8 8",
|
|
1124
|
+
className,
|
|
1125
|
+
fill: "none"
|
|
1126
|
+
}, getIconA11yProps(title)), props), {
|
|
1127
|
+
children: [
|
|
1128
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("title", { children: title }) : null,
|
|
1129
|
+
/* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
|
|
1130
|
+
"path",
|
|
1131
|
+
{
|
|
1132
|
+
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",
|
|
1133
|
+
fill: "currentColor"
|
|
1134
|
+
}
|
|
1135
|
+
)
|
|
1136
|
+
]
|
|
1137
|
+
})
|
|
1138
|
+
);
|
|
1139
|
+
};
|
|
1140
|
+
TriangleUpFilledIcon.displayName = "TriangleUpFilledIcon";
|
|
1141
|
+
|
|
721
1142
|
// src/primitives/icon/svg/triangle-up.tsx
|
|
722
|
-
var
|
|
1143
|
+
var import_jsx_runtime35 = require("react/jsx-runtime");
|
|
723
1144
|
var TriangleUpIcon = (_a) => {
|
|
724
1145
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
725
|
-
return /* @__PURE__ */ (0,
|
|
1146
|
+
return /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)(
|
|
726
1147
|
"svg",
|
|
727
1148
|
__spreadProps(__spreadValues(__spreadValues({
|
|
728
1149
|
viewBox: "0 0 8 8",
|
|
@@ -730,16 +1151,16 @@ var TriangleUpIcon = (_a) => {
|
|
|
730
1151
|
fill: "none"
|
|
731
1152
|
}, getIconA11yProps(title)), props), {
|
|
732
1153
|
children: [
|
|
733
|
-
title ? /* @__PURE__ */ (0,
|
|
734
|
-
/* @__PURE__ */ (0,
|
|
735
|
-
/* @__PURE__ */ (0,
|
|
1154
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("title", { children: title }) : null,
|
|
1155
|
+
/* @__PURE__ */ (0, import_jsx_runtime35.jsxs)("g", { clipPath: "url(#triangle_up)", children: [
|
|
1156
|
+
/* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
|
|
736
1157
|
"path",
|
|
737
1158
|
{
|
|
738
1159
|
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",
|
|
739
1160
|
fill: "currentColor"
|
|
740
1161
|
}
|
|
741
1162
|
),
|
|
742
|
-
/* @__PURE__ */ (0,
|
|
1163
|
+
/* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
|
|
743
1164
|
"path",
|
|
744
1165
|
{
|
|
745
1166
|
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",
|
|
@@ -747,18 +1168,44 @@ var TriangleUpIcon = (_a) => {
|
|
|
747
1168
|
}
|
|
748
1169
|
)
|
|
749
1170
|
] }),
|
|
750
|
-
/* @__PURE__ */ (0,
|
|
1171
|
+
/* @__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" }) }) })
|
|
751
1172
|
]
|
|
752
1173
|
})
|
|
753
1174
|
);
|
|
754
1175
|
};
|
|
755
1176
|
TriangleUpIcon.displayName = "TriangleUpIcon";
|
|
756
1177
|
|
|
1178
|
+
// src/primitives/icon/svg/twitter.tsx
|
|
1179
|
+
var import_jsx_runtime36 = require("react/jsx-runtime");
|
|
1180
|
+
var TwitterIcon = (_a) => {
|
|
1181
|
+
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
1182
|
+
return /* @__PURE__ */ (0, import_jsx_runtime36.jsxs)(
|
|
1183
|
+
"svg",
|
|
1184
|
+
__spreadProps(__spreadValues(__spreadValues({
|
|
1185
|
+
viewBox: "0 0 20 20",
|
|
1186
|
+
className,
|
|
1187
|
+
fill: "none"
|
|
1188
|
+
}, getIconA11yProps(title)), props), {
|
|
1189
|
+
children: [
|
|
1190
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("title", { children: title }) : null,
|
|
1191
|
+
/* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
|
|
1192
|
+
"path",
|
|
1193
|
+
{
|
|
1194
|
+
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",
|
|
1195
|
+
fill: "currentColor"
|
|
1196
|
+
}
|
|
1197
|
+
)
|
|
1198
|
+
]
|
|
1199
|
+
})
|
|
1200
|
+
);
|
|
1201
|
+
};
|
|
1202
|
+
TwitterIcon.displayName = "TwitterIcon";
|
|
1203
|
+
|
|
757
1204
|
// src/primitives/icon/svg/upload.tsx
|
|
758
|
-
var
|
|
1205
|
+
var import_jsx_runtime37 = require("react/jsx-runtime");
|
|
759
1206
|
var UploadIcon = (_a) => {
|
|
760
1207
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
761
|
-
return /* @__PURE__ */ (0,
|
|
1208
|
+
return /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(
|
|
762
1209
|
"svg",
|
|
763
1210
|
__spreadProps(__spreadValues(__spreadValues({
|
|
764
1211
|
viewBox: "0 0 16 16",
|
|
@@ -766,8 +1213,8 @@ var UploadIcon = (_a) => {
|
|
|
766
1213
|
fill: "none"
|
|
767
1214
|
}, getIconA11yProps(title)), props), {
|
|
768
1215
|
children: [
|
|
769
|
-
title ? /* @__PURE__ */ (0,
|
|
770
|
-
/* @__PURE__ */ (0,
|
|
1216
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("title", { children: title }) : null,
|
|
1217
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
|
|
771
1218
|
"path",
|
|
772
1219
|
{
|
|
773
1220
|
d: "M8 13.5v-7m0 0 2.5 2.5M8 6.5 5.5 9",
|
|
@@ -777,7 +1224,7 @@ var UploadIcon = (_a) => {
|
|
|
777
1224
|
strokeLinejoin: "round"
|
|
778
1225
|
}
|
|
779
1226
|
),
|
|
780
|
-
/* @__PURE__ */ (0,
|
|
1227
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)("path", { d: "M2.5 3.5h11", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round" })
|
|
781
1228
|
]
|
|
782
1229
|
})
|
|
783
1230
|
);
|
|
@@ -785,10 +1232,10 @@ var UploadIcon = (_a) => {
|
|
|
785
1232
|
UploadIcon.displayName = "UploadIcon";
|
|
786
1233
|
|
|
787
1234
|
// src/primitives/icon/svg/wallet-avatar.tsx
|
|
788
|
-
var
|
|
1235
|
+
var import_jsx_runtime38 = require("react/jsx-runtime");
|
|
789
1236
|
function WalletAvatarIcon(_a) {
|
|
790
1237
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
791
|
-
return /* @__PURE__ */ (0,
|
|
1238
|
+
return /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)(
|
|
792
1239
|
"svg",
|
|
793
1240
|
__spreadProps(__spreadValues(__spreadValues({
|
|
794
1241
|
fill: "none",
|
|
@@ -796,20 +1243,72 @@ function WalletAvatarIcon(_a) {
|
|
|
796
1243
|
viewBox: "0 0 16 16"
|
|
797
1244
|
}, getIconA11yProps(title)), props), {
|
|
798
1245
|
children: [
|
|
799
|
-
title ? /* @__PURE__ */ (0,
|
|
800
|
-
/* @__PURE__ */ (0,
|
|
801
|
-
/* @__PURE__ */ (0,
|
|
1246
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("title", { children: title }) : null,
|
|
1247
|
+
/* @__PURE__ */ (0, import_jsx_runtime38.jsx)("circle", { cx: "8", cy: "5.25", r: "2.25", fill: "currentColor" }),
|
|
1248
|
+
/* @__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" })
|
|
802
1249
|
]
|
|
803
1250
|
})
|
|
804
1251
|
);
|
|
805
1252
|
}
|
|
806
1253
|
WalletAvatarIcon.displayName = "WalletAvatarIcon";
|
|
807
1254
|
|
|
1255
|
+
// src/primitives/icon/svg/wallet.tsx
|
|
1256
|
+
var import_jsx_runtime39 = require("react/jsx-runtime");
|
|
1257
|
+
var WalletIcon = (_a) => {
|
|
1258
|
+
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
1259
|
+
return /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)(
|
|
1260
|
+
"svg",
|
|
1261
|
+
__spreadProps(__spreadValues(__spreadValues({
|
|
1262
|
+
viewBox: "0 0 24 24",
|
|
1263
|
+
className,
|
|
1264
|
+
fill: "none"
|
|
1265
|
+
}, getIconA11yProps(title)), props), {
|
|
1266
|
+
children: [
|
|
1267
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime39.jsx)("title", { children: title }) : null,
|
|
1268
|
+
/* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
|
|
1269
|
+
"path",
|
|
1270
|
+
{
|
|
1271
|
+
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",
|
|
1272
|
+
fill: "currentColor"
|
|
1273
|
+
}
|
|
1274
|
+
)
|
|
1275
|
+
]
|
|
1276
|
+
})
|
|
1277
|
+
);
|
|
1278
|
+
};
|
|
1279
|
+
WalletIcon.displayName = "WalletIcon";
|
|
1280
|
+
|
|
1281
|
+
// src/primitives/icon/svg/warning-filled.tsx
|
|
1282
|
+
var import_jsx_runtime40 = require("react/jsx-runtime");
|
|
1283
|
+
var WarningFilledIcon = (_a) => {
|
|
1284
|
+
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
1285
|
+
return /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)(
|
|
1286
|
+
"svg",
|
|
1287
|
+
__spreadProps(__spreadValues(__spreadValues({
|
|
1288
|
+
viewBox: "0 0 16 16",
|
|
1289
|
+
className,
|
|
1290
|
+
fill: "none"
|
|
1291
|
+
}, getIconA11yProps(title)), props), {
|
|
1292
|
+
children: [
|
|
1293
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("title", { children: title }) : null,
|
|
1294
|
+
/* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
|
|
1295
|
+
"path",
|
|
1296
|
+
{
|
|
1297
|
+
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",
|
|
1298
|
+
fill: "currentColor"
|
|
1299
|
+
}
|
|
1300
|
+
)
|
|
1301
|
+
]
|
|
1302
|
+
})
|
|
1303
|
+
);
|
|
1304
|
+
};
|
|
1305
|
+
WarningFilledIcon.displayName = "WarningFilledIcon";
|
|
1306
|
+
|
|
808
1307
|
// src/primitives/icon/svg/warning.tsx
|
|
809
|
-
var
|
|
1308
|
+
var import_jsx_runtime41 = require("react/jsx-runtime");
|
|
810
1309
|
var WarningIcon = (_a) => {
|
|
811
1310
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
812
|
-
return /* @__PURE__ */ (0,
|
|
1311
|
+
return /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(
|
|
813
1312
|
"svg",
|
|
814
1313
|
__spreadProps(__spreadValues(__spreadValues({
|
|
815
1314
|
width: "14",
|
|
@@ -820,15 +1319,15 @@ var WarningIcon = (_a) => {
|
|
|
820
1319
|
className
|
|
821
1320
|
}, getIconA11yProps(title)), props), {
|
|
822
1321
|
children: [
|
|
823
|
-
title ? /* @__PURE__ */ (0,
|
|
824
|
-
/* @__PURE__ */ (0,
|
|
1322
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("title", { children: title }) : null,
|
|
1323
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)("g", { clipPath: "url(#clip0_warning)", children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
|
|
825
1324
|
"path",
|
|
826
1325
|
{
|
|
827
1326
|
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",
|
|
828
1327
|
fill: "currentColor"
|
|
829
1328
|
}
|
|
830
1329
|
) }),
|
|
831
|
-
/* @__PURE__ */ (0,
|
|
1330
|
+
/* @__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" }) }) })
|
|
832
1331
|
]
|
|
833
1332
|
})
|
|
834
1333
|
);
|
|
@@ -839,26 +1338,44 @@ WarningIcon.displayName = "WarningIcon";
|
|
|
839
1338
|
var iconRegistry = {
|
|
840
1339
|
"arrow-trend-up": ArrowTrendUpIcon,
|
|
841
1340
|
"arrows-to-dot": ArrowsToDotIcon,
|
|
1341
|
+
bank: BankIcon,
|
|
842
1342
|
"best-prices": BestPricesIcon,
|
|
1343
|
+
bolt: BoltIcon,
|
|
1344
|
+
"check-badge": CheckBadgeIcon,
|
|
843
1345
|
"check-circle": CheckCircleIcon,
|
|
844
1346
|
"chevron-down": ChevronDownIcon,
|
|
1347
|
+
"chevron-left": ChevronLeftIcon,
|
|
845
1348
|
"chevron-right": ChevronRightIcon,
|
|
846
1349
|
"chevron-up": ChevronUpIcon,
|
|
847
1350
|
close: CloseIcon,
|
|
1351
|
+
copy: CopyIcon,
|
|
848
1352
|
"create-account": CreateAccountIcon,
|
|
1353
|
+
"credit-card": CreditCardIcon,
|
|
1354
|
+
discord: DiscordIcon,
|
|
849
1355
|
disconnect: DisconnectIcon,
|
|
1356
|
+
document: DocumentIcon,
|
|
850
1357
|
download: DownloadIcon,
|
|
851
1358
|
"dots-horizontal": DotsHorizontalIcon,
|
|
1359
|
+
email: EmailIcon,
|
|
1360
|
+
"external-link": ExternalLinkIcon,
|
|
1361
|
+
info: InfoIcon,
|
|
852
1362
|
"link-accounts": LinkAccountsIcon,
|
|
1363
|
+
pencil: PencilIcon,
|
|
1364
|
+
"play-square": PlaySquareIcon,
|
|
853
1365
|
profile: ProfileIcon,
|
|
854
1366
|
"revenue-alt": RevenueAltIcon,
|
|
855
1367
|
search: SearchIcon,
|
|
856
1368
|
"shield-trust": ShieldTrustIcon,
|
|
857
1369
|
"stay-in-control": StayInControlIcon,
|
|
1370
|
+
telegram: TelegramIcon,
|
|
858
1371
|
"triangle-down": TriangleDownIcon,
|
|
859
1372
|
"triangle-up": TriangleUpIcon,
|
|
1373
|
+
"triangle-up-filled": TriangleUpFilledIcon,
|
|
1374
|
+
twitter: TwitterIcon,
|
|
860
1375
|
upload: UploadIcon,
|
|
1376
|
+
wallet: WalletIcon,
|
|
861
1377
|
"wallet-avatar": WalletAvatarIcon,
|
|
1378
|
+
"warning-filled": WarningFilledIcon,
|
|
862
1379
|
warning: WarningIcon
|
|
863
1380
|
};
|
|
864
1381
|
var iconNames = Object.keys(iconRegistry);
|
|
@@ -873,7 +1390,7 @@ var resolveIconStyle = (color, style) => {
|
|
|
873
1390
|
};
|
|
874
1391
|
|
|
875
1392
|
// src/primitives/icon/index.tsx
|
|
876
|
-
var
|
|
1393
|
+
var import_jsx_runtime42 = require("react/jsx-runtime");
|
|
877
1394
|
var Icon = (_a) => {
|
|
878
1395
|
var _b = _a, {
|
|
879
1396
|
name,
|
|
@@ -891,13 +1408,14 @@ var Icon = (_a) => {
|
|
|
891
1408
|
const Component = iconRegistry[name];
|
|
892
1409
|
const resolvedStyle = resolveIconStyle(color, style);
|
|
893
1410
|
const resolvedClassName = cn(iconSizeClasses[size], className);
|
|
894
|
-
return /* @__PURE__ */ (0,
|
|
1411
|
+
return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(Component, __spreadValues({ color, className: resolvedClassName, style: resolvedStyle }, props));
|
|
895
1412
|
};
|
|
896
1413
|
Icon.displayName = "Icon";
|
|
897
1414
|
|
|
898
1415
|
// src/primitives/select/index.tsx
|
|
1416
|
+
var import_react = require("react");
|
|
899
1417
|
var import_hooks = require("@agg-market/hooks");
|
|
900
|
-
var
|
|
1418
|
+
var import_jsx_runtime43 = require("react/jsx-runtime");
|
|
901
1419
|
var Select = ({
|
|
902
1420
|
items,
|
|
903
1421
|
value,
|
|
@@ -906,16 +1424,73 @@ var Select = ({
|
|
|
906
1424
|
className,
|
|
907
1425
|
disabled = false
|
|
908
1426
|
}) => {
|
|
1427
|
+
var _a;
|
|
909
1428
|
const labels = (0, import_hooks.useLabels)();
|
|
910
1429
|
const { enableAnimations } = (0, import_hooks.useSdkUiConfig)();
|
|
911
1430
|
const hasEnabledItems = items.some((item) => !item.disabled);
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
1431
|
+
const hasAnyIcon = items.some((item) => item.iconUrl);
|
|
1432
|
+
const [isOpen, setIsOpen] = (0, import_react.useState)(false);
|
|
1433
|
+
const containerRef = (0, import_react.useRef)(null);
|
|
1434
|
+
const close = (0, import_react.useCallback)(() => setIsOpen(false), []);
|
|
1435
|
+
(0, import_react.useEffect)(() => {
|
|
1436
|
+
if (!isOpen)
|
|
1437
|
+
return;
|
|
1438
|
+
const handlePointerDown = (e) => {
|
|
1439
|
+
if (containerRef.current && !containerRef.current.contains(e.target)) {
|
|
1440
|
+
close();
|
|
1441
|
+
}
|
|
1442
|
+
};
|
|
1443
|
+
document.addEventListener("mousedown", handlePointerDown);
|
|
1444
|
+
return () => document.removeEventListener("mousedown", handlePointerDown);
|
|
1445
|
+
}, [isOpen, close]);
|
|
1446
|
+
(0, import_react.useEffect)(() => {
|
|
1447
|
+
if (!isOpen)
|
|
1448
|
+
return;
|
|
1449
|
+
const handleKey = (e) => {
|
|
1450
|
+
if (e.key === "Escape")
|
|
1451
|
+
close();
|
|
1452
|
+
};
|
|
1453
|
+
document.addEventListener("keydown", handleKey);
|
|
1454
|
+
return () => document.removeEventListener("keydown", handleKey);
|
|
1455
|
+
}, [isOpen, close]);
|
|
1456
|
+
const isDisabled = disabled || !hasEnabledItems;
|
|
1457
|
+
const selectedItem = items.find((item) => item.value === value);
|
|
1458
|
+
if (!hasAnyIcon) {
|
|
1459
|
+
return /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)("label", { className: cn("relative inline-flex w-full", className), children: [
|
|
1460
|
+
/* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
|
|
1461
|
+
"select",
|
|
1462
|
+
{
|
|
1463
|
+
"aria-label": ariaLabel != null ? ariaLabel : labels.common.selectAria,
|
|
1464
|
+
className: cn(
|
|
1465
|
+
"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",
|
|
1466
|
+
getMotionClassName(
|
|
1467
|
+
enableAnimations,
|
|
1468
|
+
"transition-[border-color,box-shadow] duration-200 ease-out"
|
|
1469
|
+
),
|
|
1470
|
+
"focus:border-agg-primary focus:ring-2 focus:ring-agg-primary/15",
|
|
1471
|
+
"disabled:cursor-not-allowed disabled:opacity-60"
|
|
1472
|
+
),
|
|
1473
|
+
disabled: isDisabled,
|
|
1474
|
+
value,
|
|
1475
|
+
onChange: (event) => onChange(event.target.value),
|
|
1476
|
+
children: items.map((item) => /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("option", { value: item.value, disabled: item.disabled, children: item.label }, item.value))
|
|
1477
|
+
}
|
|
1478
|
+
),
|
|
1479
|
+
/* @__PURE__ */ (0, import_jsx_runtime43.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_runtime43.jsx)(Icon, { name: "chevron-down", size: "s", color: "currentColor" }) })
|
|
1480
|
+
] });
|
|
1481
|
+
}
|
|
1482
|
+
return /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)("div", { ref: containerRef, className: cn("relative inline-flex w-full", className), children: [
|
|
1483
|
+
/* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(
|
|
1484
|
+
"button",
|
|
915
1485
|
{
|
|
1486
|
+
type: "button",
|
|
916
1487
|
"aria-label": ariaLabel != null ? ariaLabel : labels.common.selectAria,
|
|
1488
|
+
"aria-expanded": isOpen,
|
|
1489
|
+
"aria-haspopup": "listbox",
|
|
1490
|
+
disabled: isDisabled,
|
|
917
1491
|
className: cn(
|
|
918
|
-
"w-full
|
|
1492
|
+
"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",
|
|
1493
|
+
"flex items-center gap-2 text-left",
|
|
919
1494
|
getMotionClassName(
|
|
920
1495
|
enableAnimations,
|
|
921
1496
|
"transition-[border-color,box-shadow] duration-200 ease-out"
|
|
@@ -923,13 +1498,65 @@ var Select = ({
|
|
|
923
1498
|
"focus:border-agg-primary focus:ring-2 focus:ring-agg-primary/15",
|
|
924
1499
|
"disabled:cursor-not-allowed disabled:opacity-60"
|
|
925
1500
|
),
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
1501
|
+
onClick: () => setIsOpen((prev) => !prev),
|
|
1502
|
+
children: [
|
|
1503
|
+
(selectedItem == null ? void 0 : selectedItem.iconUrl) ? /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
|
|
1504
|
+
"img",
|
|
1505
|
+
{
|
|
1506
|
+
src: selectedItem.iconUrl,
|
|
1507
|
+
alt: "",
|
|
1508
|
+
className: "h-4 w-4 shrink-0 rounded-sm object-contain"
|
|
1509
|
+
}
|
|
1510
|
+
) : null,
|
|
1511
|
+
/* @__PURE__ */ (0, import_jsx_runtime43.jsx)("span", { className: "flex-1 truncate", children: (_a = selectedItem == null ? void 0 : selectedItem.label) != null ? _a : "" })
|
|
1512
|
+
]
|
|
930
1513
|
}
|
|
931
1514
|
),
|
|
932
|
-
/* @__PURE__ */ (0,
|
|
1515
|
+
/* @__PURE__ */ (0, import_jsx_runtime43.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_runtime43.jsx)(Icon, { name: "chevron-down", size: "s", color: "currentColor" }) }),
|
|
1516
|
+
isOpen ? /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
|
|
1517
|
+
"div",
|
|
1518
|
+
{
|
|
1519
|
+
role: "listbox",
|
|
1520
|
+
"aria-label": ariaLabel != null ? ariaLabel : labels.common.selectAria,
|
|
1521
|
+
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",
|
|
1522
|
+
children: items.map((item) => {
|
|
1523
|
+
const isSelected = item.value === value;
|
|
1524
|
+
return /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(
|
|
1525
|
+
"button",
|
|
1526
|
+
{
|
|
1527
|
+
type: "button",
|
|
1528
|
+
role: "option",
|
|
1529
|
+
"aria-selected": isSelected,
|
|
1530
|
+
disabled: item.disabled,
|
|
1531
|
+
className: cn(
|
|
1532
|
+
"flex w-full items-center gap-2 px-4 py-2 text-left text-agg-sm leading-agg-5 outline-none",
|
|
1533
|
+
"hover:bg-agg-secondary-hover focus-visible:bg-agg-secondary-hover",
|
|
1534
|
+
isSelected ? "font-agg-bold text-agg-primary" : "font-agg-normal text-agg-foreground",
|
|
1535
|
+
item.disabled && "cursor-not-allowed opacity-60"
|
|
1536
|
+
),
|
|
1537
|
+
onClick: () => {
|
|
1538
|
+
if (!item.disabled) {
|
|
1539
|
+
onChange(item.value);
|
|
1540
|
+
close();
|
|
1541
|
+
}
|
|
1542
|
+
},
|
|
1543
|
+
children: [
|
|
1544
|
+
item.iconUrl ? /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
|
|
1545
|
+
"img",
|
|
1546
|
+
{
|
|
1547
|
+
src: item.iconUrl,
|
|
1548
|
+
alt: "",
|
|
1549
|
+
className: "h-4 w-4 shrink-0 rounded-sm object-contain"
|
|
1550
|
+
}
|
|
1551
|
+
) : null,
|
|
1552
|
+
/* @__PURE__ */ (0, import_jsx_runtime43.jsx)("span", { className: "truncate", children: item.label })
|
|
1553
|
+
]
|
|
1554
|
+
},
|
|
1555
|
+
item.value
|
|
1556
|
+
);
|
|
1557
|
+
})
|
|
1558
|
+
}
|
|
1559
|
+
) : null
|
|
933
1560
|
] });
|
|
934
1561
|
};
|
|
935
1562
|
Select.displayName = "Select";
|
|
@@ -1035,7 +1662,7 @@ var resolveTabsOverflowLayout = ({
|
|
|
1035
1662
|
};
|
|
1036
1663
|
|
|
1037
1664
|
// src/primitives/tabs/index.tsx
|
|
1038
|
-
var
|
|
1665
|
+
var import_jsx_runtime44 = require("react/jsx-runtime");
|
|
1039
1666
|
var mobileTabsMediaQuery = "(max-width: 767px)";
|
|
1040
1667
|
var getTabButtonClassName = ({
|
|
1041
1668
|
enableAnimations,
|
|
@@ -1102,8 +1729,8 @@ var Tabs = ({
|
|
|
1102
1729
|
}) => {
|
|
1103
1730
|
const labels = (0, import_hooks2.useLabels)();
|
|
1104
1731
|
const { enableAnimations, rootClassName } = (0, import_hooks2.useSdkUiConfig)();
|
|
1105
|
-
const buttonRefs = (0,
|
|
1106
|
-
const dragStateRef = (0,
|
|
1732
|
+
const buttonRefs = (0, import_react2.useRef)([]);
|
|
1733
|
+
const dragStateRef = (0, import_react2.useRef)({
|
|
1107
1734
|
isPointerDown: false,
|
|
1108
1735
|
isDragging: false,
|
|
1109
1736
|
pointerId: null,
|
|
@@ -1111,31 +1738,31 @@ var Tabs = ({
|
|
|
1111
1738
|
startClientY: 0,
|
|
1112
1739
|
startScrollLeft: 0
|
|
1113
1740
|
});
|
|
1114
|
-
const suppressClickRef = (0,
|
|
1741
|
+
const suppressClickRef = (0, import_react2.useRef)(false);
|
|
1115
1742
|
const resolvedAriaLabel = ariaLabel != null ? ariaLabel : labels.common.tabsAria;
|
|
1116
1743
|
const resolvedOverflowMenuAriaLabel = overflowMenuAriaLabel != null ? overflowMenuAriaLabel : labels.common.hiddenTabsAria;
|
|
1117
|
-
const [isMoreMenuOpen, setIsMoreMenuOpen] = (0,
|
|
1118
|
-
const [isMobileViewport, setIsMobileViewport] = (0,
|
|
1119
|
-
const [isDraggingTabs, setIsDraggingTabs] = (0,
|
|
1120
|
-
const [activeUnderlineStyle, setActiveUnderlineStyle] = (0,
|
|
1744
|
+
const [isMoreMenuOpen, setIsMoreMenuOpen] = (0, import_react2.useState)(false);
|
|
1745
|
+
const [isMobileViewport, setIsMobileViewport] = (0, import_react2.useState)(false);
|
|
1746
|
+
const [isDraggingTabs, setIsDraggingTabs] = (0, import_react2.useState)(false);
|
|
1747
|
+
const [activeUnderlineStyle, setActiveUnderlineStyle] = (0, import_react2.useState)({
|
|
1121
1748
|
transform: "translateX(0px)",
|
|
1122
1749
|
width: 0,
|
|
1123
1750
|
opacity: 0
|
|
1124
1751
|
});
|
|
1125
|
-
const [overflowLayout, setOverflowLayout] = (0,
|
|
1752
|
+
const [overflowLayout, setOverflowLayout] = (0, import_react2.useState)({
|
|
1126
1753
|
visibleItems: items,
|
|
1127
1754
|
hiddenItems: []
|
|
1128
1755
|
});
|
|
1129
|
-
const [scrollAffordanceState, setScrollAffordanceState] = (0,
|
|
1756
|
+
const [scrollAffordanceState, setScrollAffordanceState] = (0, import_react2.useState)({
|
|
1130
1757
|
showStart: false,
|
|
1131
1758
|
showEnd: false
|
|
1132
1759
|
});
|
|
1133
|
-
const containerRef = (0,
|
|
1134
|
-
const tabListRef = (0,
|
|
1135
|
-
const moreButtonMeasureRef = (0,
|
|
1136
|
-
const tabMeasureRefs = (0,
|
|
1760
|
+
const containerRef = (0, import_react2.useRef)(null);
|
|
1761
|
+
const tabListRef = (0, import_react2.useRef)(null);
|
|
1762
|
+
const moreButtonMeasureRef = (0, import_react2.useRef)(null);
|
|
1763
|
+
const tabMeasureRefs = (0, import_react2.useRef)(/* @__PURE__ */ new Map());
|
|
1137
1764
|
const isBarVariant = variant === "bar";
|
|
1138
|
-
const resolvedOverflowBehavior = (0,
|
|
1765
|
+
const resolvedOverflowBehavior = (0, import_react2.useMemo)(() => {
|
|
1139
1766
|
if (overflowBehavior)
|
|
1140
1767
|
return overflowBehavior;
|
|
1141
1768
|
if (!isBarVariant)
|
|
@@ -1145,7 +1772,7 @@ var Tabs = ({
|
|
|
1145
1772
|
const shouldUseOverflowMenu = resolvedOverflowBehavior === "menu";
|
|
1146
1773
|
const shouldUseOverflowScroll = resolvedOverflowBehavior === "scroll";
|
|
1147
1774
|
const shouldUseOverflowSelect = resolvedOverflowBehavior === "select";
|
|
1148
|
-
const handleMeasureTabRef = (0,
|
|
1775
|
+
const handleMeasureTabRef = (0, import_react2.useCallback)(
|
|
1149
1776
|
(tabValue, tabElement) => {
|
|
1150
1777
|
if (!tabElement) {
|
|
1151
1778
|
tabMeasureRefs.current.delete(tabValue);
|
|
@@ -1155,7 +1782,7 @@ var Tabs = ({
|
|
|
1155
1782
|
},
|
|
1156
1783
|
[]
|
|
1157
1784
|
);
|
|
1158
|
-
(0,
|
|
1785
|
+
(0, import_react2.useEffect)(() => {
|
|
1159
1786
|
if (typeof window === "undefined")
|
|
1160
1787
|
return;
|
|
1161
1788
|
const mediaQueryList = window.matchMedia(mobileTabsMediaQuery);
|
|
@@ -1174,7 +1801,7 @@ var Tabs = ({
|
|
|
1174
1801
|
mediaQueryList.removeListener(handleMediaQueryChange);
|
|
1175
1802
|
};
|
|
1176
1803
|
}, []);
|
|
1177
|
-
const handleRecalculateOverflow = (0,
|
|
1804
|
+
const handleRecalculateOverflow = (0, import_react2.useCallback)(() => {
|
|
1178
1805
|
var _a, _b, _c, _d;
|
|
1179
1806
|
if (!shouldUseOverflowMenu) {
|
|
1180
1807
|
setOverflowLayout({
|
|
@@ -1201,10 +1828,10 @@ var Tabs = ({
|
|
|
1201
1828
|
})
|
|
1202
1829
|
);
|
|
1203
1830
|
}, [items, shouldUseOverflowMenu, value]);
|
|
1204
|
-
(0,
|
|
1831
|
+
(0, import_react2.useEffect)(() => {
|
|
1205
1832
|
handleRecalculateOverflow();
|
|
1206
1833
|
}, [handleRecalculateOverflow]);
|
|
1207
|
-
(0,
|
|
1834
|
+
(0, import_react2.useEffect)(() => {
|
|
1208
1835
|
if (!shouldUseOverflowMenu)
|
|
1209
1836
|
return;
|
|
1210
1837
|
const container = containerRef.current;
|
|
@@ -1218,12 +1845,12 @@ var Tabs = ({
|
|
|
1218
1845
|
resizeObserver.disconnect();
|
|
1219
1846
|
};
|
|
1220
1847
|
}, [handleRecalculateOverflow, shouldUseOverflowMenu]);
|
|
1221
|
-
(0,
|
|
1848
|
+
(0, import_react2.useEffect)(() => {
|
|
1222
1849
|
if (overflowLayout.hiddenItems.length > 0)
|
|
1223
1850
|
return;
|
|
1224
1851
|
setIsMoreMenuOpen(false);
|
|
1225
1852
|
}, [overflowLayout.hiddenItems.length]);
|
|
1226
|
-
const updateScrollAffordances = (0,
|
|
1853
|
+
const updateScrollAffordances = (0, import_react2.useCallback)(() => {
|
|
1227
1854
|
if (!shouldUseOverflowScroll) {
|
|
1228
1855
|
setScrollAffordanceState({
|
|
1229
1856
|
showStart: false,
|
|
@@ -1242,7 +1869,7 @@ var Tabs = ({
|
|
|
1242
1869
|
}, [shouldUseOverflowScroll]);
|
|
1243
1870
|
const renderedItems = shouldUseOverflowMenu ? overflowLayout.visibleItems : items;
|
|
1244
1871
|
const shouldShowMoreButton = shouldUseOverflowMenu && overflowLayout.hiddenItems.length > 0;
|
|
1245
|
-
const selectItems = (0,
|
|
1872
|
+
const selectItems = (0, import_react2.useMemo)(() => {
|
|
1246
1873
|
return items.map((item) => ({
|
|
1247
1874
|
value: item.value,
|
|
1248
1875
|
label: item.label,
|
|
@@ -1291,7 +1918,7 @@ var Tabs = ({
|
|
|
1291
1918
|
return;
|
|
1292
1919
|
}
|
|
1293
1920
|
};
|
|
1294
|
-
const activeHiddenItem = (0,
|
|
1921
|
+
const activeHiddenItem = (0, import_react2.useMemo)(() => {
|
|
1295
1922
|
if (!shouldUseOverflowMenu)
|
|
1296
1923
|
return void 0;
|
|
1297
1924
|
return overflowLayout.hiddenItems.find((item) => item.value === value);
|
|
@@ -1403,7 +2030,7 @@ var Tabs = ({
|
|
|
1403
2030
|
handleSelect(nextValue);
|
|
1404
2031
|
setIsMoreMenuOpen(false);
|
|
1405
2032
|
};
|
|
1406
|
-
const updateActiveUnderline = (0,
|
|
2033
|
+
const updateActiveUnderline = (0, import_react2.useCallback)(() => {
|
|
1407
2034
|
if (isBarVariant) {
|
|
1408
2035
|
setActiveUnderlineStyle({
|
|
1409
2036
|
transform: "translateX(0px)",
|
|
@@ -1426,10 +2053,10 @@ var Tabs = ({
|
|
|
1426
2053
|
opacity: 1
|
|
1427
2054
|
});
|
|
1428
2055
|
}, [isBarVariant, renderedItems, value]);
|
|
1429
|
-
(0,
|
|
2056
|
+
(0, import_react2.useLayoutEffect)(() => {
|
|
1430
2057
|
updateActiveUnderline();
|
|
1431
2058
|
}, [updateActiveUnderline]);
|
|
1432
|
-
(0,
|
|
2059
|
+
(0, import_react2.useEffect)(() => {
|
|
1433
2060
|
if (isBarVariant || !shouldUseOverflowScroll)
|
|
1434
2061
|
return;
|
|
1435
2062
|
const tabListElement = tabListRef.current;
|
|
@@ -1445,12 +2072,12 @@ var Tabs = ({
|
|
|
1445
2072
|
tabListElement.removeEventListener("scroll", handleScroll);
|
|
1446
2073
|
};
|
|
1447
2074
|
}, [isBarVariant, shouldUseOverflowScroll, updateActiveUnderline, updateScrollAffordances]);
|
|
1448
|
-
(0,
|
|
2075
|
+
(0, import_react2.useEffect)(() => {
|
|
1449
2076
|
if (!shouldUseOverflowScroll)
|
|
1450
2077
|
return;
|
|
1451
2078
|
updateScrollAffordances();
|
|
1452
2079
|
}, [renderedItems, shouldUseOverflowScroll, updateScrollAffordances, value]);
|
|
1453
|
-
(0,
|
|
2080
|
+
(0, import_react2.useEffect)(() => {
|
|
1454
2081
|
if (isBarVariant && !shouldUseOverflowScroll)
|
|
1455
2082
|
return;
|
|
1456
2083
|
if (typeof ResizeObserver === "undefined")
|
|
@@ -1467,7 +2094,7 @@ var Tabs = ({
|
|
|
1467
2094
|
resizeObserver.disconnect();
|
|
1468
2095
|
};
|
|
1469
2096
|
}, [isBarVariant, shouldUseOverflowScroll, updateActiveUnderline, updateScrollAffordances]);
|
|
1470
|
-
(0,
|
|
2097
|
+
(0, import_react2.useEffect)(() => {
|
|
1471
2098
|
if (!shouldUseOverflowScroll)
|
|
1472
2099
|
return;
|
|
1473
2100
|
const activeIndex = renderedItems.findIndex((item) => item.value === value);
|
|
@@ -1481,7 +2108,7 @@ var Tabs = ({
|
|
|
1481
2108
|
});
|
|
1482
2109
|
}, [enableAnimations, renderedItems, shouldUseOverflowScroll, value]);
|
|
1483
2110
|
if (shouldUseOverflowSelect) {
|
|
1484
|
-
return /* @__PURE__ */ (0,
|
|
2111
|
+
return /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("div", { className: cn("w-full", className), children: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
|
|
1485
2112
|
Select,
|
|
1486
2113
|
{
|
|
1487
2114
|
ariaLabel,
|
|
@@ -1493,7 +2120,7 @@ var Tabs = ({
|
|
|
1493
2120
|
}
|
|
1494
2121
|
) });
|
|
1495
2122
|
}
|
|
1496
|
-
return /* @__PURE__ */ (0,
|
|
2123
|
+
return /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)(
|
|
1497
2124
|
"div",
|
|
1498
2125
|
{
|
|
1499
2126
|
ref: containerRef,
|
|
@@ -1502,7 +2129,7 @@ var Tabs = ({
|
|
|
1502
2129
|
className
|
|
1503
2130
|
),
|
|
1504
2131
|
children: [
|
|
1505
|
-
/* @__PURE__ */ (0,
|
|
2132
|
+
/* @__PURE__ */ (0, import_jsx_runtime44.jsxs)(
|
|
1506
2133
|
"div",
|
|
1507
2134
|
{
|
|
1508
2135
|
ref: tabListRef,
|
|
@@ -1518,7 +2145,7 @@ var Tabs = ({
|
|
|
1518
2145
|
children: [
|
|
1519
2146
|
renderedItems.map((item, index) => {
|
|
1520
2147
|
const isActive = item.value === value;
|
|
1521
|
-
return /* @__PURE__ */ (0,
|
|
2148
|
+
return /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)(
|
|
1522
2149
|
"button",
|
|
1523
2150
|
{
|
|
1524
2151
|
ref: (buttonElement) => {
|
|
@@ -1543,7 +2170,7 @@ var Tabs = ({
|
|
|
1543
2170
|
shouldUseOverflowScroll && !isBarVariant && "snap-start"
|
|
1544
2171
|
),
|
|
1545
2172
|
children: [
|
|
1546
|
-
isBarVariant ? /* @__PURE__ */ (0,
|
|
2173
|
+
isBarVariant ? /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(import_jsx_runtime44.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
|
|
1547
2174
|
"span",
|
|
1548
2175
|
{
|
|
1549
2176
|
"aria-hidden": true,
|
|
@@ -1557,14 +2184,14 @@ var Tabs = ({
|
|
|
1557
2184
|
)
|
|
1558
2185
|
}
|
|
1559
2186
|
) }) : null,
|
|
1560
|
-
item.icon ? /* @__PURE__ */ (0,
|
|
1561
|
-
/* @__PURE__ */ (0,
|
|
2187
|
+
item.icon ? /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("span", { className: "relative z-10 inline-flex shrink-0 items-center justify-center", children: item.icon }) : null,
|
|
2188
|
+
/* @__PURE__ */ (0, import_jsx_runtime44.jsx)("span", { className: "relative z-10 truncate whitespace-nowrap [&::first-letter]:uppercase", children: item.label })
|
|
1562
2189
|
]
|
|
1563
2190
|
},
|
|
1564
2191
|
item.value
|
|
1565
2192
|
);
|
|
1566
2193
|
}),
|
|
1567
|
-
!isBarVariant ? /* @__PURE__ */ (0,
|
|
2194
|
+
!isBarVariant ? /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
|
|
1568
2195
|
"span",
|
|
1569
2196
|
{
|
|
1570
2197
|
"aria-hidden": true,
|
|
@@ -1582,8 +2209,8 @@ var Tabs = ({
|
|
|
1582
2209
|
]
|
|
1583
2210
|
}
|
|
1584
2211
|
),
|
|
1585
|
-
shouldUseOverflowScroll && !isBarVariant ? /* @__PURE__ */ (0,
|
|
1586
|
-
/* @__PURE__ */ (0,
|
|
2212
|
+
shouldUseOverflowScroll && !isBarVariant ? /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)(import_jsx_runtime44.Fragment, { children: [
|
|
2213
|
+
/* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
|
|
1587
2214
|
"span",
|
|
1588
2215
|
{
|
|
1589
2216
|
"aria-hidden": true,
|
|
@@ -1594,7 +2221,7 @@ var Tabs = ({
|
|
|
1594
2221
|
)
|
|
1595
2222
|
}
|
|
1596
2223
|
),
|
|
1597
|
-
/* @__PURE__ */ (0,
|
|
2224
|
+
/* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
|
|
1598
2225
|
"span",
|
|
1599
2226
|
{
|
|
1600
2227
|
"aria-hidden": true,
|
|
@@ -1606,8 +2233,8 @@ var Tabs = ({
|
|
|
1606
2233
|
}
|
|
1607
2234
|
)
|
|
1608
2235
|
] }) : null,
|
|
1609
|
-
shouldShowMoreButton ? /* @__PURE__ */ (0,
|
|
1610
|
-
/* @__PURE__ */ (0,
|
|
2236
|
+
shouldShowMoreButton ? /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)(DropdownMenu.Root, { open: isMoreMenuOpen, onOpenChange: setIsMoreMenuOpen, children: [
|
|
2237
|
+
/* @__PURE__ */ (0, import_jsx_runtime44.jsx)(DropdownMenu.Trigger, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
|
|
1611
2238
|
"button",
|
|
1612
2239
|
{
|
|
1613
2240
|
type: "button",
|
|
@@ -1620,10 +2247,10 @@ var Tabs = ({
|
|
|
1620
2247
|
}),
|
|
1621
2248
|
activeHiddenItem ? "font-agg-bold text-agg-primary" : "font-agg-normal text-agg-foreground"
|
|
1622
2249
|
),
|
|
1623
|
-
children: /* @__PURE__ */ (0,
|
|
2250
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(Icon, { name: "dots-horizontal", size: isBarVariant ? "s" : "m", color: "currentColor" })
|
|
1624
2251
|
}
|
|
1625
2252
|
) }),
|
|
1626
|
-
/* @__PURE__ */ (0,
|
|
2253
|
+
/* @__PURE__ */ (0, import_jsx_runtime44.jsx)(DropdownMenu.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
|
|
1627
2254
|
DropdownMenu.Content,
|
|
1628
2255
|
{
|
|
1629
2256
|
align: "end",
|
|
@@ -1637,7 +2264,7 @@ var Tabs = ({
|
|
|
1637
2264
|
sideOffset: 8,
|
|
1638
2265
|
children: overflowLayout.hiddenItems.map((item) => {
|
|
1639
2266
|
const isSelected = item.value === value;
|
|
1640
|
-
return /* @__PURE__ */ (0,
|
|
2267
|
+
return /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)(
|
|
1641
2268
|
DropdownMenu.Item,
|
|
1642
2269
|
{
|
|
1643
2270
|
disabled: item.disabled,
|
|
@@ -1651,8 +2278,8 @@ var Tabs = ({
|
|
|
1651
2278
|
item.disabled && "cursor-not-allowed opacity-60"
|
|
1652
2279
|
),
|
|
1653
2280
|
children: [
|
|
1654
|
-
item.icon ? /* @__PURE__ */ (0,
|
|
1655
|
-
/* @__PURE__ */ (0,
|
|
2281
|
+
item.icon ? /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("span", { className: "inline-flex shrink-0 items-center justify-center", children: item.icon }) : null,
|
|
2282
|
+
/* @__PURE__ */ (0, import_jsx_runtime44.jsx)("span", { className: "truncate whitespace-nowrap [&::first-letter]:uppercase", children: item.label })
|
|
1656
2283
|
]
|
|
1657
2284
|
},
|
|
1658
2285
|
item.value
|
|
@@ -1661,13 +2288,13 @@ var Tabs = ({
|
|
|
1661
2288
|
}
|
|
1662
2289
|
) })
|
|
1663
2290
|
] }) : null,
|
|
1664
|
-
shouldUseOverflowMenu ? /* @__PURE__ */ (0,
|
|
2291
|
+
shouldUseOverflowMenu ? /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)(
|
|
1665
2292
|
"div",
|
|
1666
2293
|
{
|
|
1667
2294
|
"aria-hidden": true,
|
|
1668
2295
|
className: "pointer-events-none invisible fixed top-0 left-0 -z-10 h-0 overflow-hidden whitespace-nowrap",
|
|
1669
2296
|
children: [
|
|
1670
|
-
items.map((item) => /* @__PURE__ */ (0,
|
|
2297
|
+
items.map((item) => /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)(
|
|
1671
2298
|
"span",
|
|
1672
2299
|
{
|
|
1673
2300
|
ref: (tabElement) => handleMeasureTabRef(item.value, tabElement),
|
|
@@ -1676,13 +2303,13 @@ var Tabs = ({
|
|
|
1676
2303
|
size
|
|
1677
2304
|
}),
|
|
1678
2305
|
children: [
|
|
1679
|
-
item.icon ? /* @__PURE__ */ (0,
|
|
1680
|
-
/* @__PURE__ */ (0,
|
|
2306
|
+
item.icon ? /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("span", { className: "inline-flex shrink-0 items-center justify-center", children: item.icon }) : null,
|
|
2307
|
+
/* @__PURE__ */ (0, import_jsx_runtime44.jsx)("span", { children: item.label })
|
|
1681
2308
|
]
|
|
1682
2309
|
},
|
|
1683
2310
|
`measure-${item.value}`
|
|
1684
2311
|
)),
|
|
1685
|
-
/* @__PURE__ */ (0,
|
|
2312
|
+
/* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
|
|
1686
2313
|
"span",
|
|
1687
2314
|
{
|
|
1688
2315
|
ref: moreButtonMeasureRef,
|
|
@@ -1691,7 +2318,7 @@ var Tabs = ({
|
|
|
1691
2318
|
isBarVariant,
|
|
1692
2319
|
size
|
|
1693
2320
|
}),
|
|
1694
|
-
children: /* @__PURE__ */ (0,
|
|
2321
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(Icon, { name: "dots-horizontal", size: isBarVariant ? "s" : "m", color: "currentColor" })
|
|
1695
2322
|
}
|
|
1696
2323
|
)
|
|
1697
2324
|
]
|