@agg-market/ui 3.0.1 → 5.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chart.js +18 -5
- package/dist/chart.mjs +2 -2
- package/dist/{chunk-422MCIXV.mjs → chunk-34IRJYSU.mjs} +15 -11
- package/dist/{chunk-KUWTY4EM.mjs → chunk-3W7NBJLU.mjs} +1 -1
- package/dist/chunk-4343LYSH.mjs +45 -0
- package/dist/{chunk-RKCVOKE3.mjs → chunk-CTYJVVHJ.mjs} +26 -3
- package/dist/{chunk-MVJNQN7P.mjs → chunk-DHBHKIJR.mjs} +153 -94
- package/dist/{chunk-KRQFVMJE.mjs → chunk-GFBF2J3Y.mjs} +18 -25
- package/dist/{chunk-ZJJA4I3I.mjs → chunk-KIYMVWL4.mjs} +1 -1
- package/dist/{chunk-CTVMT3VL.mjs → chunk-LCZKSITC.mjs} +2 -2
- package/dist/chunk-M4RJHRFT.mjs +445 -0
- package/dist/{chunk-KSCSYCEF.mjs → chunk-MJHKBCXQ.mjs} +1 -1
- package/dist/{chunk-GHB3GOCW.mjs → chunk-MKVGQ7AS.mjs} +17 -21
- package/dist/{chunk-BN5VVHNV.mjs → chunk-OJVTGNIF.mjs} +17 -4
- package/dist/{chunk-FF3QYU26.mjs → chunk-Q6DGDBPV.mjs} +87 -26
- package/dist/{chunk-DCORNTCY.mjs → chunk-QDMHLRDY.mjs} +31 -62
- package/dist/{chunk-RGHA4PZH.mjs → chunk-T7TATHPD.mjs} +34 -10
- package/dist/chunk-XUCS575S.mjs +65 -0
- package/dist/event-list-item-details.js +1836 -407
- package/dist/event-list-item-details.mjs +10 -6
- package/dist/event-list-item.js +448 -279
- package/dist/event-list-item.mjs +6 -3
- package/dist/event-list.js +787 -627
- package/dist/event-list.mjs +7 -4
- package/dist/event-market-page.d.mts +1 -1
- package/dist/event-market-page.d.ts +1 -1
- package/dist/event-market-page.js +2684 -2572
- package/dist/event-market-page.mjs +12 -11
- package/dist/home-page.js +804 -644
- package/dist/home-page.mjs +8 -5
- package/dist/index.d.mts +3 -2
- package/dist/index.d.ts +3 -2
- package/dist/index.js +1344 -1177
- package/dist/index.mjs +23 -18
- package/dist/market-details.js +919 -757
- package/dist/market-details.mjs +9 -7
- package/dist/place-order.d.mts +1 -1
- package/dist/place-order.d.ts +1 -1
- package/dist/place-order.js +151 -189
- package/dist/place-order.mjs +2 -2
- package/dist/search.js +3 -0
- package/dist/search.mjs +2 -1
- package/dist/settlement.d.mts +1 -1
- package/dist/settlement.d.ts +1 -1
- package/dist/settlement.js +151 -189
- package/dist/settlement.mjs +2 -2
- package/dist/skeleton.js +151 -189
- package/dist/skeleton.mjs +1 -1
- package/dist/state-message.d.mts +16 -0
- package/dist/state-message.d.ts +16 -0
- package/dist/state-message.js +1629 -0
- package/dist/state-message.mjs +14 -0
- package/dist/styles.css +1 -1
- package/dist/switch-button.js +2 -2
- package/dist/switch-button.mjs +1 -1
- package/dist/tailwind.css +1 -1
- package/package.json +14 -2
- package/dist/chunk-V52WSZHQ.mjs +0 -482
- package/dist/{types-DkGlbmXq.d.mts → types-BImwqY4o.d.mts} +4 -4
- package/dist/{types-DkGlbmXq.d.ts → types-BImwqY4o.d.ts} +4 -4
package/dist/event-list.js
CHANGED
|
@@ -63,7 +63,10 @@ __export(list_exports, {
|
|
|
63
63
|
});
|
|
64
64
|
module.exports = __toCommonJS(list_exports);
|
|
65
65
|
var import_react4 = require("react");
|
|
66
|
-
var
|
|
66
|
+
var import_hooks14 = require("@agg-market/hooks");
|
|
67
|
+
|
|
68
|
+
// src/primitives/card/index.tsx
|
|
69
|
+
var import_hooks = require("@agg-market/hooks");
|
|
67
70
|
|
|
68
71
|
// src/shared/utils.ts
|
|
69
72
|
var cn = (...values) => values.filter(Boolean).join(" ");
|
|
@@ -86,6 +89,30 @@ var toDate = (value) => {
|
|
|
86
89
|
return parsed;
|
|
87
90
|
};
|
|
88
91
|
|
|
92
|
+
// src/primitives/card/index.tsx
|
|
93
|
+
var import_jsx_runtime = require("react/jsx-runtime");
|
|
94
|
+
var Card = (_a) => {
|
|
95
|
+
var _b = _a, { className, onClick } = _b, props = __objRest(_b, ["className", "onClick"]);
|
|
96
|
+
const { enableAnimations } = (0, import_hooks.useSdkUiConfig)();
|
|
97
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
98
|
+
"div",
|
|
99
|
+
__spreadValues(__spreadValues({
|
|
100
|
+
className: cn(
|
|
101
|
+
"group/agg-card",
|
|
102
|
+
"flex w-full flex-col font-agg-sans",
|
|
103
|
+
"rounded-agg-xl border border-agg-separator",
|
|
104
|
+
"bg-agg-secondary text-agg-foreground shadow-agg-card",
|
|
105
|
+
getMotionClassName(
|
|
106
|
+
enableAnimations,
|
|
107
|
+
"transition-shadow hover:shadow-agg-card-hover duration-300 ease-in-out"
|
|
108
|
+
),
|
|
109
|
+
className
|
|
110
|
+
)
|
|
111
|
+
}, onClick ? { onClick } : {}), props)
|
|
112
|
+
);
|
|
113
|
+
};
|
|
114
|
+
Card.displayName = "Card";
|
|
115
|
+
|
|
89
116
|
// src/primitives/icon/types.ts
|
|
90
117
|
var getIconA11yProps = (title) => ({
|
|
91
118
|
role: title ? "img" : "presentation",
|
|
@@ -93,10 +120,10 @@ var getIconA11yProps = (title) => ({
|
|
|
93
120
|
});
|
|
94
121
|
|
|
95
122
|
// src/primitives/icon/svg/arrow-trend-up.tsx
|
|
96
|
-
var
|
|
123
|
+
var import_jsx_runtime2 = require("react/jsx-runtime");
|
|
97
124
|
var ArrowTrendUpIcon = (_a) => {
|
|
98
125
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
99
|
-
return /* @__PURE__ */ (0,
|
|
126
|
+
return /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(
|
|
100
127
|
"svg",
|
|
101
128
|
__spreadProps(__spreadValues(__spreadValues({
|
|
102
129
|
viewBox: "0 0 16 16",
|
|
@@ -104,8 +131,8 @@ var ArrowTrendUpIcon = (_a) => {
|
|
|
104
131
|
fill: "none"
|
|
105
132
|
}, getIconA11yProps(title)), props), {
|
|
106
133
|
children: [
|
|
107
|
-
title ? /* @__PURE__ */ (0,
|
|
108
|
-
/* @__PURE__ */ (0,
|
|
134
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("title", { children: title }) : null,
|
|
135
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
|
|
109
136
|
"path",
|
|
110
137
|
{
|
|
111
138
|
d: "M2 11.5L6.5 7L9.5 10L14 5.5",
|
|
@@ -115,7 +142,7 @@ var ArrowTrendUpIcon = (_a) => {
|
|
|
115
142
|
strokeLinejoin: "round"
|
|
116
143
|
}
|
|
117
144
|
),
|
|
118
|
-
/* @__PURE__ */ (0,
|
|
145
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
|
|
119
146
|
"path",
|
|
120
147
|
{
|
|
121
148
|
d: "M10.5 5.5H14V9",
|
|
@@ -132,10 +159,10 @@ var ArrowTrendUpIcon = (_a) => {
|
|
|
132
159
|
ArrowTrendUpIcon.displayName = "ArrowTrendUpIcon";
|
|
133
160
|
|
|
134
161
|
// src/primitives/icon/svg/arrows-to-dot.tsx
|
|
135
|
-
var
|
|
162
|
+
var import_jsx_runtime3 = require("react/jsx-runtime");
|
|
136
163
|
var ArrowsToDotIcon = (_a) => {
|
|
137
164
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
138
|
-
return /* @__PURE__ */ (0,
|
|
165
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(
|
|
139
166
|
"svg",
|
|
140
167
|
__spreadProps(__spreadValues(__spreadValues({
|
|
141
168
|
viewBox: "0 0 16 16",
|
|
@@ -143,8 +170,8 @@ var ArrowsToDotIcon = (_a) => {
|
|
|
143
170
|
fill: "none"
|
|
144
171
|
}, getIconA11yProps(title)), props), {
|
|
145
172
|
children: [
|
|
146
|
-
title ? /* @__PURE__ */ (0,
|
|
147
|
-
/* @__PURE__ */ (0,
|
|
173
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("title", { children: title }) : null,
|
|
174
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
|
|
148
175
|
"path",
|
|
149
176
|
{
|
|
150
177
|
d: "M8 6.66667C8.73667 6.66667 9.33333 7.26333 9.33333 8C9.33333 8.73667 8.73667 9.33333 8 9.33333C7.26333 9.33333 6.66667 8.73667 6.66667 8C6.66667 7.26333 7.26333 6.66667 8 6.66667ZM5.27867 7.05733L3.39267 5.17133C3.132 4.91067 2.71067 4.91067 2.45 5.17133C2.18933 5.432 2.18933 5.854 2.45 6.114L3.67467 7.33333H0.666667C0.298 7.33333 0 7.632 0 8C0 8.368 0.298 8.66667 0.666667 8.66667H3.662L2.44867 9.88667C2.18867 10.148 2.19 10.5693 2.45133 10.8293C2.71267 11.0893 3.13467 11.088 3.394 10.8267L5.27933 8.93133C5.79467 8.41467 5.79467 7.574 5.27933 7.05667L5.27867 7.05733ZM7.068 5.278C7.56133 5.79267 8.45 5.79267 8.94267 5.278L10.828 3.392C11.0887 3.13133 11.0887 2.70933 10.828 2.44933C10.5673 2.18867 10.146 2.18867 9.88533 2.44933L8.66667 3.674V0.666667C8.66667 0.298667 8.36867 0 8 0C7.63133 0 7.33333 0.298667 7.33333 0.666667V3.662L6.11333 2.44867C5.852 2.18867 5.43067 2.19 5.17067 2.45133C4.91067 2.71267 4.912 3.13467 5.17333 3.394L7.068 5.278ZM8.94267 10.7213C8.42667 10.2053 7.58533 10.2053 7.06867 10.72L5.17267 12.606C4.91133 12.866 4.91 13.2873 5.17 13.5487C5.42933 13.8093 5.85067 13.8113 6.11267 13.5513L7.33267 12.3307V15.3333C7.33267 15.702 7.63067 16 7.99933 16C8.368 16 8.666 15.702 8.666 15.3333V12.3307L9.88467 13.55C10.1453 13.8107 10.5667 13.8107 10.8273 13.55C11.088 13.2893 11.088 12.868 10.8273 12.6073L8.94267 10.7213ZM15.3333 7.33333H12.3307L13.55 6.114C13.8107 5.854 13.8107 5.432 13.55 5.17133C13.2893 4.91067 12.868 4.91067 12.6073 5.17133L10.7213 7.05733C10.2053 7.574 10.2047 8.41467 10.72 8.93133L12.606 10.8273C12.866 11.088 13.2873 11.09 13.5487 10.83C13.81 10.57 13.8113 10.1487 13.5513 9.88733L12.3307 8.66733H15.3333C15.702 8.66733 16 8.36867 16 8.00067C16 7.63267 15.702 7.334 15.3333 7.334V7.33333Z",
|
|
@@ -158,10 +185,10 @@ var ArrowsToDotIcon = (_a) => {
|
|
|
158
185
|
ArrowsToDotIcon.displayName = "ArrowsToDotIcon";
|
|
159
186
|
|
|
160
187
|
// src/primitives/icon/svg/bank.tsx
|
|
161
|
-
var
|
|
188
|
+
var import_jsx_runtime4 = require("react/jsx-runtime");
|
|
162
189
|
var BankIcon = (_a) => {
|
|
163
190
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
164
|
-
return /* @__PURE__ */ (0,
|
|
191
|
+
return /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)(
|
|
165
192
|
"svg",
|
|
166
193
|
__spreadProps(__spreadValues(__spreadValues({
|
|
167
194
|
viewBox: "0 0 24 24",
|
|
@@ -169,8 +196,8 @@ var BankIcon = (_a) => {
|
|
|
169
196
|
fill: "none"
|
|
170
197
|
}, getIconA11yProps(title)), props), {
|
|
171
198
|
children: [
|
|
172
|
-
title ? /* @__PURE__ */ (0,
|
|
173
|
-
/* @__PURE__ */ (0,
|
|
199
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("title", { children: title }) : null,
|
|
200
|
+
/* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
|
|
174
201
|
"path",
|
|
175
202
|
{
|
|
176
203
|
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",
|
|
@@ -184,10 +211,10 @@ var BankIcon = (_a) => {
|
|
|
184
211
|
BankIcon.displayName = "BankIcon";
|
|
185
212
|
|
|
186
213
|
// src/primitives/icon/svg/best-prices.tsx
|
|
187
|
-
var
|
|
214
|
+
var import_jsx_runtime5 = require("react/jsx-runtime");
|
|
188
215
|
var BestPricesIcon = (_a) => {
|
|
189
216
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
190
|
-
return /* @__PURE__ */ (0,
|
|
217
|
+
return /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(
|
|
191
218
|
"svg",
|
|
192
219
|
__spreadProps(__spreadValues(__spreadValues({
|
|
193
220
|
width: "28",
|
|
@@ -198,15 +225,15 @@ var BestPricesIcon = (_a) => {
|
|
|
198
225
|
className
|
|
199
226
|
}, getIconA11yProps(title)), props), {
|
|
200
227
|
children: [
|
|
201
|
-
title ? /* @__PURE__ */ (0,
|
|
202
|
-
/* @__PURE__ */ (0,
|
|
228
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("title", { children: title }) : null,
|
|
229
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("g", { clipPath: "url(#clip0_best_prices)", children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
|
203
230
|
"path",
|
|
204
231
|
{
|
|
205
232
|
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",
|
|
206
233
|
fill: "currentColor"
|
|
207
234
|
}
|
|
208
235
|
) }),
|
|
209
|
-
/* @__PURE__ */ (0,
|
|
236
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("clipPath", { id: "clip0_best_prices", children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("rect", { width: "28", height: "28", fill: "white" }) }) })
|
|
210
237
|
]
|
|
211
238
|
})
|
|
212
239
|
);
|
|
@@ -214,10 +241,10 @@ var BestPricesIcon = (_a) => {
|
|
|
214
241
|
BestPricesIcon.displayName = "BestPricesIcon";
|
|
215
242
|
|
|
216
243
|
// src/primitives/icon/svg/bolt.tsx
|
|
217
|
-
var
|
|
244
|
+
var import_jsx_runtime6 = require("react/jsx-runtime");
|
|
218
245
|
var BoltIcon = (_a) => {
|
|
219
246
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
220
|
-
return /* @__PURE__ */ (0,
|
|
247
|
+
return /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(
|
|
221
248
|
"svg",
|
|
222
249
|
__spreadProps(__spreadValues(__spreadValues({
|
|
223
250
|
viewBox: "0 0 24 24",
|
|
@@ -225,15 +252,15 @@ var BoltIcon = (_a) => {
|
|
|
225
252
|
fill: "none"
|
|
226
253
|
}, getIconA11yProps(title)), props), {
|
|
227
254
|
children: [
|
|
228
|
-
title ? /* @__PURE__ */ (0,
|
|
229
|
-
/* @__PURE__ */ (0,
|
|
255
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("title", { children: title }) : null,
|
|
256
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)("g", { clipPath: "url(#bolt-clip)", children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
|
|
230
257
|
"path",
|
|
231
258
|
{
|
|
232
259
|
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",
|
|
233
260
|
fill: "currentColor"
|
|
234
261
|
}
|
|
235
262
|
) }),
|
|
236
|
-
/* @__PURE__ */ (0,
|
|
263
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("clipPath", { id: "bolt-clip", children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("rect", { width: "24", height: "24", fill: "white" }) }) })
|
|
237
264
|
]
|
|
238
265
|
})
|
|
239
266
|
);
|
|
@@ -241,10 +268,10 @@ var BoltIcon = (_a) => {
|
|
|
241
268
|
BoltIcon.displayName = "BoltIcon";
|
|
242
269
|
|
|
243
270
|
// src/primitives/icon/svg/check-circle.tsx
|
|
244
|
-
var
|
|
271
|
+
var import_jsx_runtime7 = require("react/jsx-runtime");
|
|
245
272
|
var CheckCircleIcon = (_a) => {
|
|
246
273
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
247
|
-
return /* @__PURE__ */ (0,
|
|
274
|
+
return /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(
|
|
248
275
|
"svg",
|
|
249
276
|
__spreadProps(__spreadValues(__spreadValues({
|
|
250
277
|
width: "24",
|
|
@@ -255,15 +282,15 @@ var CheckCircleIcon = (_a) => {
|
|
|
255
282
|
className
|
|
256
283
|
}, getIconA11yProps(title)), props), {
|
|
257
284
|
children: [
|
|
258
|
-
title ? /* @__PURE__ */ (0,
|
|
259
|
-
/* @__PURE__ */ (0,
|
|
285
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("title", { children: title }) : null,
|
|
286
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("g", { clipPath: "url(#clip0_check_circle)", children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
|
|
260
287
|
"path",
|
|
261
288
|
{
|
|
262
289
|
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",
|
|
263
290
|
fill: "currentColor"
|
|
264
291
|
}
|
|
265
292
|
) }),
|
|
266
|
-
/* @__PURE__ */ (0,
|
|
293
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("clipPath", { id: "clip0_check_circle", children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("rect", { width: "24", height: "24", fill: "white" }) }) })
|
|
267
294
|
]
|
|
268
295
|
})
|
|
269
296
|
);
|
|
@@ -271,10 +298,10 @@ var CheckCircleIcon = (_a) => {
|
|
|
271
298
|
CheckCircleIcon.displayName = "CheckCircleIcon";
|
|
272
299
|
|
|
273
300
|
// src/primitives/icon/svg/chevron-down.tsx
|
|
274
|
-
var
|
|
301
|
+
var import_jsx_runtime8 = require("react/jsx-runtime");
|
|
275
302
|
var ChevronDownIcon = (_a) => {
|
|
276
303
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
277
|
-
return /* @__PURE__ */ (0,
|
|
304
|
+
return /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)(
|
|
278
305
|
"svg",
|
|
279
306
|
__spreadProps(__spreadValues(__spreadValues({
|
|
280
307
|
viewBox: "0 0 14 14",
|
|
@@ -282,8 +309,8 @@ var ChevronDownIcon = (_a) => {
|
|
|
282
309
|
fill: "none"
|
|
283
310
|
}, getIconA11yProps(title)), props), {
|
|
284
311
|
children: [
|
|
285
|
-
title ? /* @__PURE__ */ (0,
|
|
286
|
-
/* @__PURE__ */ (0,
|
|
312
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("title", { children: title }) : null,
|
|
313
|
+
/* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
|
|
287
314
|
"path",
|
|
288
315
|
{
|
|
289
316
|
d: "M3.25 5.25L7 9L10.75 5.25",
|
|
@@ -300,10 +327,10 @@ var ChevronDownIcon = (_a) => {
|
|
|
300
327
|
ChevronDownIcon.displayName = "ChevronDownIcon";
|
|
301
328
|
|
|
302
329
|
// src/primitives/icon/svg/chevron-left.tsx
|
|
303
|
-
var
|
|
330
|
+
var import_jsx_runtime9 = require("react/jsx-runtime");
|
|
304
331
|
var ChevronLeftIcon = (_a) => {
|
|
305
332
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
306
|
-
return /* @__PURE__ */ (0,
|
|
333
|
+
return /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(
|
|
307
334
|
"svg",
|
|
308
335
|
__spreadProps(__spreadValues(__spreadValues({
|
|
309
336
|
viewBox: "0 0 24 24",
|
|
@@ -311,8 +338,8 @@ var ChevronLeftIcon = (_a) => {
|
|
|
311
338
|
fill: "none"
|
|
312
339
|
}, getIconA11yProps(title)), props), {
|
|
313
340
|
children: [
|
|
314
|
-
title ? /* @__PURE__ */ (0,
|
|
315
|
-
/* @__PURE__ */ (0,
|
|
341
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("title", { children: title }) : null,
|
|
342
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
|
|
316
343
|
"path",
|
|
317
344
|
{
|
|
318
345
|
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",
|
|
@@ -326,10 +353,10 @@ var ChevronLeftIcon = (_a) => {
|
|
|
326
353
|
ChevronLeftIcon.displayName = "ChevronLeftIcon";
|
|
327
354
|
|
|
328
355
|
// src/primitives/icon/svg/chevron-right.tsx
|
|
329
|
-
var
|
|
356
|
+
var import_jsx_runtime10 = require("react/jsx-runtime");
|
|
330
357
|
var ChevronRightIcon = (_a) => {
|
|
331
358
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
332
|
-
return /* @__PURE__ */ (0,
|
|
359
|
+
return /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)(
|
|
333
360
|
"svg",
|
|
334
361
|
__spreadProps(__spreadValues(__spreadValues({
|
|
335
362
|
viewBox: "0 0 16 16",
|
|
@@ -337,8 +364,8 @@ var ChevronRightIcon = (_a) => {
|
|
|
337
364
|
fill: "none"
|
|
338
365
|
}, getIconA11yProps(title)), props), {
|
|
339
366
|
children: [
|
|
340
|
-
title ? /* @__PURE__ */ (0,
|
|
341
|
-
/* @__PURE__ */ (0,
|
|
367
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("title", { children: title }) : null,
|
|
368
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
|
|
342
369
|
"path",
|
|
343
370
|
{
|
|
344
371
|
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",
|
|
@@ -352,10 +379,10 @@ var ChevronRightIcon = (_a) => {
|
|
|
352
379
|
ChevronRightIcon.displayName = "ChevronRightIcon";
|
|
353
380
|
|
|
354
381
|
// src/primitives/icon/svg/chevron-up.tsx
|
|
355
|
-
var
|
|
382
|
+
var import_jsx_runtime11 = require("react/jsx-runtime");
|
|
356
383
|
var ChevronUpIcon = (_a) => {
|
|
357
384
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
358
|
-
return /* @__PURE__ */ (0,
|
|
385
|
+
return /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)(
|
|
359
386
|
"svg",
|
|
360
387
|
__spreadProps(__spreadValues(__spreadValues({
|
|
361
388
|
viewBox: "0 0 14 14",
|
|
@@ -363,8 +390,8 @@ var ChevronUpIcon = (_a) => {
|
|
|
363
390
|
fill: "none"
|
|
364
391
|
}, getIconA11yProps(title)), props), {
|
|
365
392
|
children: [
|
|
366
|
-
title ? /* @__PURE__ */ (0,
|
|
367
|
-
/* @__PURE__ */ (0,
|
|
393
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("title", { children: title }) : null,
|
|
394
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
|
|
368
395
|
"path",
|
|
369
396
|
{
|
|
370
397
|
d: "M3.25 8.75L7 5L10.75 8.75",
|
|
@@ -381,10 +408,10 @@ var ChevronUpIcon = (_a) => {
|
|
|
381
408
|
ChevronUpIcon.displayName = "ChevronUpIcon";
|
|
382
409
|
|
|
383
410
|
// src/primitives/icon/svg/close.tsx
|
|
384
|
-
var
|
|
411
|
+
var import_jsx_runtime12 = require("react/jsx-runtime");
|
|
385
412
|
var CloseIcon = (_a) => {
|
|
386
413
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
387
|
-
return /* @__PURE__ */ (0,
|
|
414
|
+
return /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)(
|
|
388
415
|
"svg",
|
|
389
416
|
__spreadProps(__spreadValues(__spreadValues({
|
|
390
417
|
width: "16",
|
|
@@ -395,8 +422,8 @@ var CloseIcon = (_a) => {
|
|
|
395
422
|
className
|
|
396
423
|
}, getIconA11yProps(title)), props), {
|
|
397
424
|
children: [
|
|
398
|
-
title ? /* @__PURE__ */ (0,
|
|
399
|
-
/* @__PURE__ */ (0,
|
|
425
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("title", { children: title }) : null,
|
|
426
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
|
|
400
427
|
"path",
|
|
401
428
|
{
|
|
402
429
|
d: "M12 4L4 12M4 4l8 8",
|
|
@@ -413,10 +440,10 @@ var CloseIcon = (_a) => {
|
|
|
413
440
|
CloseIcon.displayName = "CloseIcon";
|
|
414
441
|
|
|
415
442
|
// src/primitives/icon/svg/copy.tsx
|
|
416
|
-
var
|
|
443
|
+
var import_jsx_runtime13 = require("react/jsx-runtime");
|
|
417
444
|
var CopyIcon = (_a) => {
|
|
418
445
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
419
|
-
return /* @__PURE__ */ (0,
|
|
446
|
+
return /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)(
|
|
420
447
|
"svg",
|
|
421
448
|
__spreadProps(__spreadValues(__spreadValues({
|
|
422
449
|
viewBox: "0 0 16 16",
|
|
@@ -424,15 +451,15 @@ var CopyIcon = (_a) => {
|
|
|
424
451
|
fill: "none"
|
|
425
452
|
}, getIconA11yProps(title)), props), {
|
|
426
453
|
children: [
|
|
427
|
-
title ? /* @__PURE__ */ (0,
|
|
428
|
-
/* @__PURE__ */ (0,
|
|
454
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("title", { children: title }) : null,
|
|
455
|
+
/* @__PURE__ */ (0, import_jsx_runtime13.jsx)("g", { clipPath: "url(#clip0_copy)", children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
|
|
429
456
|
"path",
|
|
430
457
|
{
|
|
431
458
|
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",
|
|
432
459
|
fill: "currentColor"
|
|
433
460
|
}
|
|
434
461
|
) }),
|
|
435
|
-
/* @__PURE__ */ (0,
|
|
462
|
+
/* @__PURE__ */ (0, import_jsx_runtime13.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("clipPath", { id: "clip0_copy", children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("rect", { width: "16", height: "16", fill: "white" }) }) })
|
|
436
463
|
]
|
|
437
464
|
})
|
|
438
465
|
);
|
|
@@ -440,10 +467,10 @@ var CopyIcon = (_a) => {
|
|
|
440
467
|
CopyIcon.displayName = "CopyIcon";
|
|
441
468
|
|
|
442
469
|
// src/primitives/icon/svg/create-account.tsx
|
|
443
|
-
var
|
|
470
|
+
var import_jsx_runtime14 = require("react/jsx-runtime");
|
|
444
471
|
var CreateAccountIcon = (_a) => {
|
|
445
472
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
446
|
-
return /* @__PURE__ */ (0,
|
|
473
|
+
return /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)(
|
|
447
474
|
"svg",
|
|
448
475
|
__spreadProps(__spreadValues(__spreadValues({
|
|
449
476
|
width: "28",
|
|
@@ -454,15 +481,15 @@ var CreateAccountIcon = (_a) => {
|
|
|
454
481
|
className
|
|
455
482
|
}, getIconA11yProps(title)), props), {
|
|
456
483
|
children: [
|
|
457
|
-
title ? /* @__PURE__ */ (0,
|
|
458
|
-
/* @__PURE__ */ (0,
|
|
484
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("title", { children: title }) : null,
|
|
485
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("g", { clipPath: "url(#clip0_create_account)", children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
|
|
459
486
|
"path",
|
|
460
487
|
{
|
|
461
488
|
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",
|
|
462
489
|
fill: "currentColor"
|
|
463
490
|
}
|
|
464
491
|
) }),
|
|
465
|
-
/* @__PURE__ */ (0,
|
|
492
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("clipPath", { id: "clip0_create_account", children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("rect", { width: "28", height: "28", fill: "white" }) }) })
|
|
466
493
|
]
|
|
467
494
|
})
|
|
468
495
|
);
|
|
@@ -470,10 +497,10 @@ var CreateAccountIcon = (_a) => {
|
|
|
470
497
|
CreateAccountIcon.displayName = "CreateAccountIcon";
|
|
471
498
|
|
|
472
499
|
// src/primitives/icon/svg/credit-card.tsx
|
|
473
|
-
var
|
|
500
|
+
var import_jsx_runtime15 = require("react/jsx-runtime");
|
|
474
501
|
var CreditCardIcon = (_a) => {
|
|
475
502
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
476
|
-
return /* @__PURE__ */ (0,
|
|
503
|
+
return /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)(
|
|
477
504
|
"svg",
|
|
478
505
|
__spreadProps(__spreadValues(__spreadValues({
|
|
479
506
|
viewBox: "0 0 24 24",
|
|
@@ -481,8 +508,8 @@ var CreditCardIcon = (_a) => {
|
|
|
481
508
|
fill: "none"
|
|
482
509
|
}, getIconA11yProps(title)), props), {
|
|
483
510
|
children: [
|
|
484
|
-
title ? /* @__PURE__ */ (0,
|
|
485
|
-
/* @__PURE__ */ (0,
|
|
511
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("title", { children: title }) : null,
|
|
512
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
|
|
486
513
|
"path",
|
|
487
514
|
{
|
|
488
515
|
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",
|
|
@@ -496,10 +523,10 @@ var CreditCardIcon = (_a) => {
|
|
|
496
523
|
CreditCardIcon.displayName = "CreditCardIcon";
|
|
497
524
|
|
|
498
525
|
// src/primitives/icon/svg/disconnect.tsx
|
|
499
|
-
var
|
|
526
|
+
var import_jsx_runtime16 = require("react/jsx-runtime");
|
|
500
527
|
var DisconnectIcon = (_a) => {
|
|
501
528
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
502
|
-
return /* @__PURE__ */ (0,
|
|
529
|
+
return /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)(
|
|
503
530
|
"svg",
|
|
504
531
|
__spreadProps(__spreadValues(__spreadValues({
|
|
505
532
|
viewBox: "0 0 16 16",
|
|
@@ -507,8 +534,8 @@ var DisconnectIcon = (_a) => {
|
|
|
507
534
|
fill: "none"
|
|
508
535
|
}, getIconA11yProps(title)), props), {
|
|
509
536
|
children: [
|
|
510
|
-
title ? /* @__PURE__ */ (0,
|
|
511
|
-
/* @__PURE__ */ (0,
|
|
537
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("title", { children: title }) : null,
|
|
538
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
|
|
512
539
|
"path",
|
|
513
540
|
{
|
|
514
541
|
d: "M6.5 3H4a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h2.5",
|
|
@@ -517,7 +544,7 @@ var DisconnectIcon = (_a) => {
|
|
|
517
544
|
strokeLinecap: "round"
|
|
518
545
|
}
|
|
519
546
|
),
|
|
520
|
-
/* @__PURE__ */ (0,
|
|
547
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
|
|
521
548
|
"path",
|
|
522
549
|
{
|
|
523
550
|
d: "M9.5 5.5 12 8m0 0-2.5 2.5M12 8H6",
|
|
@@ -534,10 +561,10 @@ var DisconnectIcon = (_a) => {
|
|
|
534
561
|
DisconnectIcon.displayName = "DisconnectIcon";
|
|
535
562
|
|
|
536
563
|
// src/primitives/icon/svg/dots-horizontal.tsx
|
|
537
|
-
var
|
|
564
|
+
var import_jsx_runtime17 = require("react/jsx-runtime");
|
|
538
565
|
var DotsHorizontalIcon = (_a) => {
|
|
539
566
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
540
|
-
return /* @__PURE__ */ (0,
|
|
567
|
+
return /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(
|
|
541
568
|
"svg",
|
|
542
569
|
__spreadProps(__spreadValues(__spreadValues({
|
|
543
570
|
viewBox: "0 0 16 16",
|
|
@@ -545,10 +572,10 @@ var DotsHorizontalIcon = (_a) => {
|
|
|
545
572
|
fill: "none"
|
|
546
573
|
}, getIconA11yProps(title)), props), {
|
|
547
574
|
children: [
|
|
548
|
-
title ? /* @__PURE__ */ (0,
|
|
549
|
-
/* @__PURE__ */ (0,
|
|
550
|
-
/* @__PURE__ */ (0,
|
|
551
|
-
/* @__PURE__ */ (0,
|
|
575
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("title", { children: title }) : null,
|
|
576
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)("circle", { cx: "3.5", cy: "8", r: "1.25", fill: "currentColor" }),
|
|
577
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)("circle", { cx: "8", cy: "8", r: "1.25", fill: "currentColor" }),
|
|
578
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)("circle", { cx: "12.5", cy: "8", r: "1.25", fill: "currentColor" })
|
|
552
579
|
]
|
|
553
580
|
})
|
|
554
581
|
);
|
|
@@ -556,10 +583,10 @@ var DotsHorizontalIcon = (_a) => {
|
|
|
556
583
|
DotsHorizontalIcon.displayName = "DotsHorizontalIcon";
|
|
557
584
|
|
|
558
585
|
// src/primitives/icon/svg/document.tsx
|
|
559
|
-
var
|
|
586
|
+
var import_jsx_runtime18 = require("react/jsx-runtime");
|
|
560
587
|
var DocumentIcon = (_a) => {
|
|
561
588
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
562
|
-
return /* @__PURE__ */ (0,
|
|
589
|
+
return /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(
|
|
563
590
|
"svg",
|
|
564
591
|
__spreadProps(__spreadValues(__spreadValues({
|
|
565
592
|
viewBox: "0 0 16 16",
|
|
@@ -567,15 +594,15 @@ var DocumentIcon = (_a) => {
|
|
|
567
594
|
fill: "none"
|
|
568
595
|
}, getIconA11yProps(title)), props), {
|
|
569
596
|
children: [
|
|
570
|
-
title ? /* @__PURE__ */ (0,
|
|
571
|
-
/* @__PURE__ */ (0,
|
|
597
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("title", { children: title }) : null,
|
|
598
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("g", { clipPath: "url(#document-clip)", children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
|
|
572
599
|
"path",
|
|
573
600
|
{
|
|
574
601
|
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",
|
|
575
602
|
fill: "currentColor"
|
|
576
603
|
}
|
|
577
604
|
) }),
|
|
578
|
-
/* @__PURE__ */ (0,
|
|
605
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("clipPath", { id: "document-clip", children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("rect", { width: "16", height: "16", fill: "white" }) }) })
|
|
579
606
|
]
|
|
580
607
|
})
|
|
581
608
|
);
|
|
@@ -583,10 +610,10 @@ var DocumentIcon = (_a) => {
|
|
|
583
610
|
DocumentIcon.displayName = "DocumentIcon";
|
|
584
611
|
|
|
585
612
|
// src/primitives/icon/svg/download.tsx
|
|
586
|
-
var
|
|
613
|
+
var import_jsx_runtime19 = require("react/jsx-runtime");
|
|
587
614
|
var DownloadIcon = (_a) => {
|
|
588
615
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
589
|
-
return /* @__PURE__ */ (0,
|
|
616
|
+
return /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)(
|
|
590
617
|
"svg",
|
|
591
618
|
__spreadProps(__spreadValues(__spreadValues({
|
|
592
619
|
viewBox: "0 0 16 16",
|
|
@@ -594,8 +621,8 @@ var DownloadIcon = (_a) => {
|
|
|
594
621
|
fill: "none"
|
|
595
622
|
}, getIconA11yProps(title)), props), {
|
|
596
623
|
children: [
|
|
597
|
-
title ? /* @__PURE__ */ (0,
|
|
598
|
-
/* @__PURE__ */ (0,
|
|
624
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("title", { children: title }) : null,
|
|
625
|
+
/* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
|
|
599
626
|
"path",
|
|
600
627
|
{
|
|
601
628
|
d: "M8 2.5v7m0 0 2.5-2.5M8 9.5 5.5 7",
|
|
@@ -605,7 +632,7 @@ var DownloadIcon = (_a) => {
|
|
|
605
632
|
strokeLinejoin: "round"
|
|
606
633
|
}
|
|
607
634
|
),
|
|
608
|
-
/* @__PURE__ */ (0,
|
|
635
|
+
/* @__PURE__ */ (0, import_jsx_runtime19.jsx)("path", { d: "M2.5 12.5h11", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round" })
|
|
609
636
|
]
|
|
610
637
|
})
|
|
611
638
|
);
|
|
@@ -613,10 +640,10 @@ var DownloadIcon = (_a) => {
|
|
|
613
640
|
DownloadIcon.displayName = "DownloadIcon";
|
|
614
641
|
|
|
615
642
|
// src/primitives/icon/svg/external-link.tsx
|
|
616
|
-
var
|
|
643
|
+
var import_jsx_runtime20 = require("react/jsx-runtime");
|
|
617
644
|
var ExternalLinkIcon = (_a) => {
|
|
618
645
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
619
|
-
return /* @__PURE__ */ (0,
|
|
646
|
+
return /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)(
|
|
620
647
|
"svg",
|
|
621
648
|
__spreadProps(__spreadValues(__spreadValues({
|
|
622
649
|
viewBox: "0 0 14 14",
|
|
@@ -624,15 +651,15 @@ var ExternalLinkIcon = (_a) => {
|
|
|
624
651
|
fill: "none"
|
|
625
652
|
}, getIconA11yProps(title)), props), {
|
|
626
653
|
children: [
|
|
627
|
-
title ? /* @__PURE__ */ (0,
|
|
628
|
-
/* @__PURE__ */ (0,
|
|
654
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("title", { children: title }) : null,
|
|
655
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)("g", { clipPath: "url(#clip0_422_235)", children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
|
|
629
656
|
"path",
|
|
630
657
|
{
|
|
631
658
|
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",
|
|
632
659
|
fill: "currentColor"
|
|
633
660
|
}
|
|
634
661
|
) }),
|
|
635
|
-
/* @__PURE__ */ (0,
|
|
662
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("clipPath", { id: "clip0_422_235", children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("rect", { width: "14", height: "14", fill: "white" }) }) })
|
|
636
663
|
]
|
|
637
664
|
})
|
|
638
665
|
);
|
|
@@ -640,10 +667,10 @@ var ExternalLinkIcon = (_a) => {
|
|
|
640
667
|
ExternalLinkIcon.displayName = "ExternalLinkIcon";
|
|
641
668
|
|
|
642
669
|
// src/primitives/icon/svg/info.tsx
|
|
643
|
-
var
|
|
670
|
+
var import_jsx_runtime21 = require("react/jsx-runtime");
|
|
644
671
|
var InfoIcon = (_a) => {
|
|
645
672
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
646
|
-
return /* @__PURE__ */ (0,
|
|
673
|
+
return /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)(
|
|
647
674
|
"svg",
|
|
648
675
|
__spreadProps(__spreadValues(__spreadValues({
|
|
649
676
|
viewBox: "0 0 12 12",
|
|
@@ -651,23 +678,23 @@ var InfoIcon = (_a) => {
|
|
|
651
678
|
fill: "none"
|
|
652
679
|
}, getIconA11yProps(title)), props), {
|
|
653
680
|
children: [
|
|
654
|
-
title ? /* @__PURE__ */ (0,
|
|
655
|
-
/* @__PURE__ */ (0,
|
|
656
|
-
/* @__PURE__ */ (0,
|
|
681
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("title", { children: title }) : null,
|
|
682
|
+
/* @__PURE__ */ (0, import_jsx_runtime21.jsxs)("g", { clipPath: "url(#info_clip)", children: [
|
|
683
|
+
/* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
|
|
657
684
|
"path",
|
|
658
685
|
{
|
|
659
686
|
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",
|
|
660
687
|
fill: "currentColor"
|
|
661
688
|
}
|
|
662
689
|
),
|
|
663
|
-
/* @__PURE__ */ (0,
|
|
690
|
+
/* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
|
|
664
691
|
"path",
|
|
665
692
|
{
|
|
666
693
|
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",
|
|
667
694
|
fill: "currentColor"
|
|
668
695
|
}
|
|
669
696
|
),
|
|
670
|
-
/* @__PURE__ */ (0,
|
|
697
|
+
/* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
|
|
671
698
|
"path",
|
|
672
699
|
{
|
|
673
700
|
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",
|
|
@@ -675,7 +702,7 @@ var InfoIcon = (_a) => {
|
|
|
675
702
|
}
|
|
676
703
|
)
|
|
677
704
|
] }),
|
|
678
|
-
/* @__PURE__ */ (0,
|
|
705
|
+
/* @__PURE__ */ (0, import_jsx_runtime21.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("clipPath", { id: "info_clip", children: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("rect", { width: "12", height: "12", fill: "white" }) }) })
|
|
679
706
|
]
|
|
680
707
|
})
|
|
681
708
|
);
|
|
@@ -690,10 +717,10 @@ var iconSizeClasses = {
|
|
|
690
717
|
};
|
|
691
718
|
|
|
692
719
|
// src/primitives/icon/svg/check-badge.tsx
|
|
693
|
-
var
|
|
720
|
+
var import_jsx_runtime22 = require("react/jsx-runtime");
|
|
694
721
|
var CheckBadgeIcon = (_a) => {
|
|
695
722
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
696
|
-
return /* @__PURE__ */ (0,
|
|
723
|
+
return /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)(
|
|
697
724
|
"svg",
|
|
698
725
|
__spreadProps(__spreadValues(__spreadValues({
|
|
699
726
|
viewBox: "0 0 16 16",
|
|
@@ -701,15 +728,15 @@ var CheckBadgeIcon = (_a) => {
|
|
|
701
728
|
fill: "none"
|
|
702
729
|
}, getIconA11yProps(title)), props), {
|
|
703
730
|
children: [
|
|
704
|
-
title ? /* @__PURE__ */ (0,
|
|
705
|
-
/* @__PURE__ */ (0,
|
|
731
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime22.jsx)("title", { children: title }) : null,
|
|
732
|
+
/* @__PURE__ */ (0, import_jsx_runtime22.jsx)("g", { clipPath: "url(#check-badge-clip)", children: /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
|
|
706
733
|
"path",
|
|
707
734
|
{
|
|
708
735
|
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",
|
|
709
736
|
fill: "currentColor"
|
|
710
737
|
}
|
|
711
738
|
) }),
|
|
712
|
-
/* @__PURE__ */ (0,
|
|
739
|
+
/* @__PURE__ */ (0, import_jsx_runtime22.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime22.jsx)("clipPath", { id: "check-badge-clip", children: /* @__PURE__ */ (0, import_jsx_runtime22.jsx)("rect", { width: "16", height: "16", fill: "white" }) }) })
|
|
713
740
|
]
|
|
714
741
|
})
|
|
715
742
|
);
|
|
@@ -717,10 +744,10 @@ var CheckBadgeIcon = (_a) => {
|
|
|
717
744
|
CheckBadgeIcon.displayName = "CheckBadgeIcon";
|
|
718
745
|
|
|
719
746
|
// src/primitives/icon/svg/discord.tsx
|
|
720
|
-
var
|
|
747
|
+
var import_jsx_runtime23 = require("react/jsx-runtime");
|
|
721
748
|
var DiscordIcon = (_a) => {
|
|
722
749
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
723
|
-
return /* @__PURE__ */ (0,
|
|
750
|
+
return /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(
|
|
724
751
|
"svg",
|
|
725
752
|
__spreadProps(__spreadValues(__spreadValues({
|
|
726
753
|
viewBox: "0 0 20 20",
|
|
@@ -728,8 +755,8 @@ var DiscordIcon = (_a) => {
|
|
|
728
755
|
fill: "none"
|
|
729
756
|
}, getIconA11yProps(title)), props), {
|
|
730
757
|
children: [
|
|
731
|
-
title ? /* @__PURE__ */ (0,
|
|
732
|
-
/* @__PURE__ */ (0,
|
|
758
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("title", { children: title }) : null,
|
|
759
|
+
/* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
|
|
733
760
|
"path",
|
|
734
761
|
{
|
|
735
762
|
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",
|
|
@@ -743,10 +770,10 @@ var DiscordIcon = (_a) => {
|
|
|
743
770
|
DiscordIcon.displayName = "DiscordIcon";
|
|
744
771
|
|
|
745
772
|
// src/primitives/icon/svg/email.tsx
|
|
746
|
-
var
|
|
773
|
+
var import_jsx_runtime24 = require("react/jsx-runtime");
|
|
747
774
|
var EmailIcon = (_a) => {
|
|
748
775
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
749
|
-
return /* @__PURE__ */ (0,
|
|
776
|
+
return /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(
|
|
750
777
|
"svg",
|
|
751
778
|
__spreadProps(__spreadValues(__spreadValues({
|
|
752
779
|
viewBox: "0 0 20 20",
|
|
@@ -754,8 +781,8 @@ var EmailIcon = (_a) => {
|
|
|
754
781
|
fill: "none"
|
|
755
782
|
}, getIconA11yProps(title)), props), {
|
|
756
783
|
children: [
|
|
757
|
-
title ? /* @__PURE__ */ (0,
|
|
758
|
-
/* @__PURE__ */ (0,
|
|
784
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime24.jsx)("title", { children: title }) : null,
|
|
785
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
|
|
759
786
|
"path",
|
|
760
787
|
{
|
|
761
788
|
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",
|
|
@@ -765,7 +792,7 @@ var EmailIcon = (_a) => {
|
|
|
765
792
|
strokeLinejoin: "round"
|
|
766
793
|
}
|
|
767
794
|
),
|
|
768
|
-
/* @__PURE__ */ (0,
|
|
795
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
|
|
769
796
|
"path",
|
|
770
797
|
{
|
|
771
798
|
d: "M18.3333 5L10 10.8333L1.66667 5",
|
|
@@ -782,10 +809,10 @@ var EmailIcon = (_a) => {
|
|
|
782
809
|
EmailIcon.displayName = "EmailIcon";
|
|
783
810
|
|
|
784
811
|
// src/primitives/icon/svg/link-accounts.tsx
|
|
785
|
-
var
|
|
812
|
+
var import_jsx_runtime25 = require("react/jsx-runtime");
|
|
786
813
|
var LinkAccountsIcon = (_a) => {
|
|
787
814
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
788
|
-
return /* @__PURE__ */ (0,
|
|
815
|
+
return /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(
|
|
789
816
|
"svg",
|
|
790
817
|
__spreadProps(__spreadValues(__spreadValues({
|
|
791
818
|
width: "28",
|
|
@@ -796,15 +823,15 @@ var LinkAccountsIcon = (_a) => {
|
|
|
796
823
|
className
|
|
797
824
|
}, getIconA11yProps(title)), props), {
|
|
798
825
|
children: [
|
|
799
|
-
title ? /* @__PURE__ */ (0,
|
|
800
|
-
/* @__PURE__ */ (0,
|
|
826
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("title", { children: title }) : null,
|
|
827
|
+
/* @__PURE__ */ (0, import_jsx_runtime25.jsx)("g", { clipPath: "url(#clip0_link_accounts)", children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
|
|
801
828
|
"path",
|
|
802
829
|
{
|
|
803
830
|
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",
|
|
804
831
|
fill: "currentColor"
|
|
805
832
|
}
|
|
806
833
|
) }),
|
|
807
|
-
/* @__PURE__ */ (0,
|
|
834
|
+
/* @__PURE__ */ (0, import_jsx_runtime25.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("clipPath", { id: "clip0_link_accounts", children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("rect", { width: "28", height: "28", fill: "white" }) }) })
|
|
808
835
|
]
|
|
809
836
|
})
|
|
810
837
|
);
|
|
@@ -812,10 +839,10 @@ var LinkAccountsIcon = (_a) => {
|
|
|
812
839
|
LinkAccountsIcon.displayName = "LinkAccountsIcon";
|
|
813
840
|
|
|
814
841
|
// src/primitives/icon/svg/pencil.tsx
|
|
815
|
-
var
|
|
842
|
+
var import_jsx_runtime26 = require("react/jsx-runtime");
|
|
816
843
|
var PencilIcon = (_a) => {
|
|
817
844
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
818
|
-
return /* @__PURE__ */ (0,
|
|
845
|
+
return /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(
|
|
819
846
|
"svg",
|
|
820
847
|
__spreadProps(__spreadValues(__spreadValues({
|
|
821
848
|
viewBox: "0 0 16 16",
|
|
@@ -823,15 +850,15 @@ var PencilIcon = (_a) => {
|
|
|
823
850
|
fill: "none"
|
|
824
851
|
}, getIconA11yProps(title)), props), {
|
|
825
852
|
children: [
|
|
826
|
-
title ? /* @__PURE__ */ (0,
|
|
827
|
-
/* @__PURE__ */ (0,
|
|
853
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime26.jsx)("title", { children: title }) : null,
|
|
854
|
+
/* @__PURE__ */ (0, import_jsx_runtime26.jsx)("g", { clipPath: "url(#pencil_clip)", children: /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
|
|
828
855
|
"path",
|
|
829
856
|
{
|
|
830
857
|
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",
|
|
831
858
|
fill: "currentColor"
|
|
832
859
|
}
|
|
833
860
|
) }),
|
|
834
|
-
/* @__PURE__ */ (0,
|
|
861
|
+
/* @__PURE__ */ (0, import_jsx_runtime26.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime26.jsx)("clipPath", { id: "pencil_clip", children: /* @__PURE__ */ (0, import_jsx_runtime26.jsx)("rect", { width: "16", height: "16", fill: "white" }) }) })
|
|
835
862
|
]
|
|
836
863
|
})
|
|
837
864
|
);
|
|
@@ -839,10 +866,10 @@ var PencilIcon = (_a) => {
|
|
|
839
866
|
PencilIcon.displayName = "PencilIcon";
|
|
840
867
|
|
|
841
868
|
// src/primitives/icon/svg/play-square.tsx
|
|
842
|
-
var
|
|
869
|
+
var import_jsx_runtime27 = require("react/jsx-runtime");
|
|
843
870
|
var PlaySquareIcon = (_a) => {
|
|
844
871
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
845
|
-
return /* @__PURE__ */ (0,
|
|
872
|
+
return /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(
|
|
846
873
|
"svg",
|
|
847
874
|
__spreadProps(__spreadValues(__spreadValues({
|
|
848
875
|
viewBox: "0 0 16 16",
|
|
@@ -850,15 +877,15 @@ var PlaySquareIcon = (_a) => {
|
|
|
850
877
|
fill: "none"
|
|
851
878
|
}, getIconA11yProps(title)), props), {
|
|
852
879
|
children: [
|
|
853
|
-
title ? /* @__PURE__ */ (0,
|
|
854
|
-
/* @__PURE__ */ (0,
|
|
880
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("title", { children: title }) : null,
|
|
881
|
+
/* @__PURE__ */ (0, import_jsx_runtime27.jsx)("g", { clipPath: "url(#play-square-clip)", children: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
|
|
855
882
|
"path",
|
|
856
883
|
{
|
|
857
884
|
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",
|
|
858
885
|
fill: "currentColor"
|
|
859
886
|
}
|
|
860
887
|
) }),
|
|
861
|
-
/* @__PURE__ */ (0,
|
|
888
|
+
/* @__PURE__ */ (0, import_jsx_runtime27.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("clipPath", { id: "play-square-clip", children: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("rect", { width: "16", height: "16", fill: "white" }) }) })
|
|
862
889
|
]
|
|
863
890
|
})
|
|
864
891
|
);
|
|
@@ -866,10 +893,10 @@ var PlaySquareIcon = (_a) => {
|
|
|
866
893
|
PlaySquareIcon.displayName = "PlaySquareIcon";
|
|
867
894
|
|
|
868
895
|
// src/primitives/icon/svg/profile.tsx
|
|
869
|
-
var
|
|
896
|
+
var import_jsx_runtime28 = require("react/jsx-runtime");
|
|
870
897
|
var ProfileIcon = (_a) => {
|
|
871
898
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
872
|
-
return /* @__PURE__ */ (0,
|
|
899
|
+
return /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)(
|
|
873
900
|
"svg",
|
|
874
901
|
__spreadProps(__spreadValues(__spreadValues({
|
|
875
902
|
viewBox: "0 0 21 28",
|
|
@@ -877,8 +904,8 @@ var ProfileIcon = (_a) => {
|
|
|
877
904
|
fill: "none"
|
|
878
905
|
}, getIconA11yProps(title)), props), {
|
|
879
906
|
children: [
|
|
880
|
-
title ? /* @__PURE__ */ (0,
|
|
881
|
-
/* @__PURE__ */ (0,
|
|
907
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("title", { children: title }) : null,
|
|
908
|
+
/* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
|
|
882
909
|
"path",
|
|
883
910
|
{
|
|
884
911
|
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",
|
|
@@ -892,10 +919,10 @@ var ProfileIcon = (_a) => {
|
|
|
892
919
|
ProfileIcon.displayName = "ProfileIcon";
|
|
893
920
|
|
|
894
921
|
// src/primitives/icon/svg/revenue-alt.tsx
|
|
895
|
-
var
|
|
922
|
+
var import_jsx_runtime29 = require("react/jsx-runtime");
|
|
896
923
|
var RevenueAltIcon = (_a) => {
|
|
897
924
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
898
|
-
return /* @__PURE__ */ (0,
|
|
925
|
+
return /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)(
|
|
899
926
|
"svg",
|
|
900
927
|
__spreadProps(__spreadValues(__spreadValues({
|
|
901
928
|
viewBox: "0 0 20 20",
|
|
@@ -903,8 +930,8 @@ var RevenueAltIcon = (_a) => {
|
|
|
903
930
|
fill: "none"
|
|
904
931
|
}, getIconA11yProps(title)), props), {
|
|
905
932
|
children: [
|
|
906
|
-
title ? /* @__PURE__ */ (0,
|
|
907
|
-
/* @__PURE__ */ (0,
|
|
933
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("title", { children: title }) : null,
|
|
934
|
+
/* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
|
|
908
935
|
"path",
|
|
909
936
|
{
|
|
910
937
|
d: "M3 14V6M3 6L1.5 7.5M3 6L4.5 7.5M17 6V14M17 14L15.5 12.5M17 14L18.5 12.5",
|
|
@@ -914,7 +941,7 @@ var RevenueAltIcon = (_a) => {
|
|
|
914
941
|
strokeLinejoin: "round"
|
|
915
942
|
}
|
|
916
943
|
),
|
|
917
|
-
/* @__PURE__ */ (0,
|
|
944
|
+
/* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
|
|
918
945
|
"path",
|
|
919
946
|
{
|
|
920
947
|
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",
|
|
@@ -931,10 +958,10 @@ var RevenueAltIcon = (_a) => {
|
|
|
931
958
|
RevenueAltIcon.displayName = "RevenueAltIcon";
|
|
932
959
|
|
|
933
960
|
// src/primitives/icon/svg/search.tsx
|
|
934
|
-
var
|
|
961
|
+
var import_jsx_runtime30 = require("react/jsx-runtime");
|
|
935
962
|
var SearchIcon = (_a) => {
|
|
936
963
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
937
|
-
return /* @__PURE__ */ (0,
|
|
964
|
+
return /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)(
|
|
938
965
|
"svg",
|
|
939
966
|
__spreadProps(__spreadValues(__spreadValues({
|
|
940
967
|
viewBox: "0 0 16 16",
|
|
@@ -943,8 +970,8 @@ var SearchIcon = (_a) => {
|
|
|
943
970
|
className
|
|
944
971
|
}, getIconA11yProps(title)), props), {
|
|
945
972
|
children: [
|
|
946
|
-
title ? /* @__PURE__ */ (0,
|
|
947
|
-
/* @__PURE__ */ (0,
|
|
973
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("title", { children: title }) : null,
|
|
974
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
|
|
948
975
|
"path",
|
|
949
976
|
{
|
|
950
977
|
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",
|
|
@@ -954,7 +981,7 @@ var SearchIcon = (_a) => {
|
|
|
954
981
|
strokeLinejoin: "round"
|
|
955
982
|
}
|
|
956
983
|
),
|
|
957
|
-
/* @__PURE__ */ (0,
|
|
984
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
|
|
958
985
|
"path",
|
|
959
986
|
{
|
|
960
987
|
d: "M13.6668 13.6666L11.1667 11.1666",
|
|
@@ -971,10 +998,10 @@ var SearchIcon = (_a) => {
|
|
|
971
998
|
SearchIcon.displayName = "SearchIcon";
|
|
972
999
|
|
|
973
1000
|
// src/primitives/icon/svg/shield-trust.tsx
|
|
974
|
-
var
|
|
1001
|
+
var import_jsx_runtime31 = require("react/jsx-runtime");
|
|
975
1002
|
var ShieldTrustIcon = (_a) => {
|
|
976
1003
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
977
|
-
return /* @__PURE__ */ (0,
|
|
1004
|
+
return /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)(
|
|
978
1005
|
"svg",
|
|
979
1006
|
__spreadProps(__spreadValues(__spreadValues({
|
|
980
1007
|
viewBox: "0 0 16 16",
|
|
@@ -982,15 +1009,15 @@ var ShieldTrustIcon = (_a) => {
|
|
|
982
1009
|
fill: "none"
|
|
983
1010
|
}, getIconA11yProps(title)), props), {
|
|
984
1011
|
children: [
|
|
985
|
-
title ? /* @__PURE__ */ (0,
|
|
986
|
-
/* @__PURE__ */ (0,
|
|
1012
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("title", { children: title }) : null,
|
|
1013
|
+
/* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
|
|
987
1014
|
"path",
|
|
988
1015
|
{
|
|
989
1016
|
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",
|
|
990
1017
|
fill: "currentColor"
|
|
991
1018
|
}
|
|
992
1019
|
),
|
|
993
|
-
/* @__PURE__ */ (0,
|
|
1020
|
+
/* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
|
|
994
1021
|
"path",
|
|
995
1022
|
{
|
|
996
1023
|
d: "M5.5 8.2L7.2 9.9L10.8 6.3",
|
|
@@ -1007,10 +1034,10 @@ var ShieldTrustIcon = (_a) => {
|
|
|
1007
1034
|
ShieldTrustIcon.displayName = "ShieldTrustIcon";
|
|
1008
1035
|
|
|
1009
1036
|
// src/primitives/icon/svg/stay-in-control.tsx
|
|
1010
|
-
var
|
|
1037
|
+
var import_jsx_runtime32 = require("react/jsx-runtime");
|
|
1011
1038
|
var StayInControlIcon = (_a) => {
|
|
1012
1039
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
1013
|
-
return /* @__PURE__ */ (0,
|
|
1040
|
+
return /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)(
|
|
1014
1041
|
"svg",
|
|
1015
1042
|
__spreadProps(__spreadValues(__spreadValues({
|
|
1016
1043
|
width: "28",
|
|
@@ -1021,16 +1048,16 @@ var StayInControlIcon = (_a) => {
|
|
|
1021
1048
|
className
|
|
1022
1049
|
}, getIconA11yProps(title)), props), {
|
|
1023
1050
|
children: [
|
|
1024
|
-
title ? /* @__PURE__ */ (0,
|
|
1025
|
-
/* @__PURE__ */ (0,
|
|
1026
|
-
/* @__PURE__ */ (0,
|
|
1051
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("title", { children: title }) : null,
|
|
1052
|
+
/* @__PURE__ */ (0, import_jsx_runtime32.jsxs)("g", { clipPath: "url(#clip0_stay_in_control)", children: [
|
|
1053
|
+
/* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
|
|
1027
1054
|
"path",
|
|
1028
1055
|
{
|
|
1029
1056
|
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",
|
|
1030
1057
|
fill: "currentColor"
|
|
1031
1058
|
}
|
|
1032
1059
|
),
|
|
1033
|
-
/* @__PURE__ */ (0,
|
|
1060
|
+
/* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
|
|
1034
1061
|
"path",
|
|
1035
1062
|
{
|
|
1036
1063
|
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",
|
|
@@ -1038,7 +1065,7 @@ var StayInControlIcon = (_a) => {
|
|
|
1038
1065
|
}
|
|
1039
1066
|
)
|
|
1040
1067
|
] }),
|
|
1041
|
-
/* @__PURE__ */ (0,
|
|
1068
|
+
/* @__PURE__ */ (0, import_jsx_runtime32.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("clipPath", { id: "clip0_stay_in_control", children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("rect", { width: "28", height: "28", fill: "white" }) }) })
|
|
1042
1069
|
]
|
|
1043
1070
|
})
|
|
1044
1071
|
);
|
|
@@ -1046,10 +1073,10 @@ var StayInControlIcon = (_a) => {
|
|
|
1046
1073
|
StayInControlIcon.displayName = "StayInControlIcon";
|
|
1047
1074
|
|
|
1048
1075
|
// src/primitives/icon/svg/telegram.tsx
|
|
1049
|
-
var
|
|
1076
|
+
var import_jsx_runtime33 = require("react/jsx-runtime");
|
|
1050
1077
|
var TelegramIcon = (_a) => {
|
|
1051
1078
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
1052
|
-
return /* @__PURE__ */ (0,
|
|
1079
|
+
return /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)(
|
|
1053
1080
|
"svg",
|
|
1054
1081
|
__spreadProps(__spreadValues(__spreadValues({
|
|
1055
1082
|
viewBox: "0 0 20 20",
|
|
@@ -1057,8 +1084,8 @@ var TelegramIcon = (_a) => {
|
|
|
1057
1084
|
fill: "none"
|
|
1058
1085
|
}, getIconA11yProps(title)), props), {
|
|
1059
1086
|
children: [
|
|
1060
|
-
title ? /* @__PURE__ */ (0,
|
|
1061
|
-
/* @__PURE__ */ (0,
|
|
1087
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("title", { children: title }) : null,
|
|
1088
|
+
/* @__PURE__ */ (0, import_jsx_runtime33.jsx)("g", { clipPath: "url(#clip0_telegram)", children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
|
|
1062
1089
|
"path",
|
|
1063
1090
|
{
|
|
1064
1091
|
fillRule: "evenodd",
|
|
@@ -1067,7 +1094,7 @@ var TelegramIcon = (_a) => {
|
|
|
1067
1094
|
fill: "currentColor"
|
|
1068
1095
|
}
|
|
1069
1096
|
) }),
|
|
1070
|
-
/* @__PURE__ */ (0,
|
|
1097
|
+
/* @__PURE__ */ (0, import_jsx_runtime33.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("clipPath", { id: "clip0_telegram", children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("rect", { width: "20", height: "20", fill: "white" }) }) })
|
|
1071
1098
|
]
|
|
1072
1099
|
})
|
|
1073
1100
|
);
|
|
@@ -1075,10 +1102,10 @@ var TelegramIcon = (_a) => {
|
|
|
1075
1102
|
TelegramIcon.displayName = "TelegramIcon";
|
|
1076
1103
|
|
|
1077
1104
|
// src/primitives/icon/svg/triangle-down.tsx
|
|
1078
|
-
var
|
|
1105
|
+
var import_jsx_runtime34 = require("react/jsx-runtime");
|
|
1079
1106
|
var TriangleDownIcon = (_a) => {
|
|
1080
1107
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
1081
|
-
return /* @__PURE__ */ (0,
|
|
1108
|
+
return /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(
|
|
1082
1109
|
"svg",
|
|
1083
1110
|
__spreadProps(__spreadValues(__spreadValues({
|
|
1084
1111
|
viewBox: "0 0 8 8",
|
|
@@ -1086,16 +1113,16 @@ var TriangleDownIcon = (_a) => {
|
|
|
1086
1113
|
fill: "none"
|
|
1087
1114
|
}, getIconA11yProps(title)), props), {
|
|
1088
1115
|
children: [
|
|
1089
|
-
title ? /* @__PURE__ */ (0,
|
|
1090
|
-
/* @__PURE__ */ (0,
|
|
1091
|
-
/* @__PURE__ */ (0,
|
|
1116
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("title", { children: title }) : null,
|
|
1117
|
+
/* @__PURE__ */ (0, import_jsx_runtime34.jsxs)("g", { transform: "scale(1,-1) translate(0,-8)", clipPath: "url(#triangle_up)", children: [
|
|
1118
|
+
/* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
|
|
1092
1119
|
"path",
|
|
1093
1120
|
{
|
|
1094
1121
|
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",
|
|
1095
1122
|
fill: "currentColor"
|
|
1096
1123
|
}
|
|
1097
1124
|
),
|
|
1098
|
-
/* @__PURE__ */ (0,
|
|
1125
|
+
/* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
|
|
1099
1126
|
"path",
|
|
1100
1127
|
{
|
|
1101
1128
|
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",
|
|
@@ -1103,7 +1130,7 @@ var TriangleDownIcon = (_a) => {
|
|
|
1103
1130
|
}
|
|
1104
1131
|
)
|
|
1105
1132
|
] }),
|
|
1106
|
-
/* @__PURE__ */ (0,
|
|
1133
|
+
/* @__PURE__ */ (0, import_jsx_runtime34.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("clipPath", { id: "triangle_up", children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("rect", { width: "8", height: "8", fill: "white" }) }) })
|
|
1107
1134
|
]
|
|
1108
1135
|
})
|
|
1109
1136
|
);
|
|
@@ -1111,10 +1138,10 @@ var TriangleDownIcon = (_a) => {
|
|
|
1111
1138
|
TriangleDownIcon.displayName = "TriangleDownIcon";
|
|
1112
1139
|
|
|
1113
1140
|
// src/primitives/icon/svg/triangle-up-filled.tsx
|
|
1114
|
-
var
|
|
1141
|
+
var import_jsx_runtime35 = require("react/jsx-runtime");
|
|
1115
1142
|
var TriangleUpFilledIcon = (_a) => {
|
|
1116
1143
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
1117
|
-
return /* @__PURE__ */ (0,
|
|
1144
|
+
return /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)(
|
|
1118
1145
|
"svg",
|
|
1119
1146
|
__spreadProps(__spreadValues(__spreadValues({
|
|
1120
1147
|
viewBox: "0 0 8 8",
|
|
@@ -1122,8 +1149,8 @@ var TriangleUpFilledIcon = (_a) => {
|
|
|
1122
1149
|
fill: "none"
|
|
1123
1150
|
}, getIconA11yProps(title)), props), {
|
|
1124
1151
|
children: [
|
|
1125
|
-
title ? /* @__PURE__ */ (0,
|
|
1126
|
-
/* @__PURE__ */ (0,
|
|
1152
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("title", { children: title }) : null,
|
|
1153
|
+
/* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
|
|
1127
1154
|
"path",
|
|
1128
1155
|
{
|
|
1129
1156
|
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",
|
|
@@ -1137,10 +1164,10 @@ var TriangleUpFilledIcon = (_a) => {
|
|
|
1137
1164
|
TriangleUpFilledIcon.displayName = "TriangleUpFilledIcon";
|
|
1138
1165
|
|
|
1139
1166
|
// src/primitives/icon/svg/triangle-up.tsx
|
|
1140
|
-
var
|
|
1167
|
+
var import_jsx_runtime36 = require("react/jsx-runtime");
|
|
1141
1168
|
var TriangleUpIcon = (_a) => {
|
|
1142
1169
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
1143
|
-
return /* @__PURE__ */ (0,
|
|
1170
|
+
return /* @__PURE__ */ (0, import_jsx_runtime36.jsxs)(
|
|
1144
1171
|
"svg",
|
|
1145
1172
|
__spreadProps(__spreadValues(__spreadValues({
|
|
1146
1173
|
viewBox: "0 0 8 8",
|
|
@@ -1148,16 +1175,16 @@ var TriangleUpIcon = (_a) => {
|
|
|
1148
1175
|
fill: "none"
|
|
1149
1176
|
}, getIconA11yProps(title)), props), {
|
|
1150
1177
|
children: [
|
|
1151
|
-
title ? /* @__PURE__ */ (0,
|
|
1152
|
-
/* @__PURE__ */ (0,
|
|
1153
|
-
/* @__PURE__ */ (0,
|
|
1178
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("title", { children: title }) : null,
|
|
1179
|
+
/* @__PURE__ */ (0, import_jsx_runtime36.jsxs)("g", { clipPath: "url(#triangle_up)", children: [
|
|
1180
|
+
/* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
|
|
1154
1181
|
"path",
|
|
1155
1182
|
{
|
|
1156
1183
|
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",
|
|
1157
1184
|
fill: "currentColor"
|
|
1158
1185
|
}
|
|
1159
1186
|
),
|
|
1160
|
-
/* @__PURE__ */ (0,
|
|
1187
|
+
/* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
|
|
1161
1188
|
"path",
|
|
1162
1189
|
{
|
|
1163
1190
|
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",
|
|
@@ -1165,7 +1192,7 @@ var TriangleUpIcon = (_a) => {
|
|
|
1165
1192
|
}
|
|
1166
1193
|
)
|
|
1167
1194
|
] }),
|
|
1168
|
-
/* @__PURE__ */ (0,
|
|
1195
|
+
/* @__PURE__ */ (0, import_jsx_runtime36.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("clipPath", { id: "triangle_up", children: /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("rect", { width: "8", height: "8", fill: "white" }) }) })
|
|
1169
1196
|
]
|
|
1170
1197
|
})
|
|
1171
1198
|
);
|
|
@@ -1173,10 +1200,10 @@ var TriangleUpIcon = (_a) => {
|
|
|
1173
1200
|
TriangleUpIcon.displayName = "TriangleUpIcon";
|
|
1174
1201
|
|
|
1175
1202
|
// src/primitives/icon/svg/twitter.tsx
|
|
1176
|
-
var
|
|
1203
|
+
var import_jsx_runtime37 = require("react/jsx-runtime");
|
|
1177
1204
|
var TwitterIcon = (_a) => {
|
|
1178
1205
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
1179
|
-
return /* @__PURE__ */ (0,
|
|
1206
|
+
return /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(
|
|
1180
1207
|
"svg",
|
|
1181
1208
|
__spreadProps(__spreadValues(__spreadValues({
|
|
1182
1209
|
viewBox: "0 0 20 20",
|
|
@@ -1184,8 +1211,8 @@ var TwitterIcon = (_a) => {
|
|
|
1184
1211
|
fill: "none"
|
|
1185
1212
|
}, getIconA11yProps(title)), props), {
|
|
1186
1213
|
children: [
|
|
1187
|
-
title ? /* @__PURE__ */ (0,
|
|
1188
|
-
/* @__PURE__ */ (0,
|
|
1214
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("title", { children: title }) : null,
|
|
1215
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
|
|
1189
1216
|
"path",
|
|
1190
1217
|
{
|
|
1191
1218
|
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",
|
|
@@ -1199,10 +1226,10 @@ var TwitterIcon = (_a) => {
|
|
|
1199
1226
|
TwitterIcon.displayName = "TwitterIcon";
|
|
1200
1227
|
|
|
1201
1228
|
// src/primitives/icon/svg/upload.tsx
|
|
1202
|
-
var
|
|
1229
|
+
var import_jsx_runtime38 = require("react/jsx-runtime");
|
|
1203
1230
|
var UploadIcon = (_a) => {
|
|
1204
1231
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
1205
|
-
return /* @__PURE__ */ (0,
|
|
1232
|
+
return /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)(
|
|
1206
1233
|
"svg",
|
|
1207
1234
|
__spreadProps(__spreadValues(__spreadValues({
|
|
1208
1235
|
viewBox: "0 0 16 16",
|
|
@@ -1210,8 +1237,8 @@ var UploadIcon = (_a) => {
|
|
|
1210
1237
|
fill: "none"
|
|
1211
1238
|
}, getIconA11yProps(title)), props), {
|
|
1212
1239
|
children: [
|
|
1213
|
-
title ? /* @__PURE__ */ (0,
|
|
1214
|
-
/* @__PURE__ */ (0,
|
|
1240
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("title", { children: title }) : null,
|
|
1241
|
+
/* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
|
|
1215
1242
|
"path",
|
|
1216
1243
|
{
|
|
1217
1244
|
d: "M8 13.5v-7m0 0 2.5 2.5M8 6.5 5.5 9",
|
|
@@ -1221,7 +1248,7 @@ var UploadIcon = (_a) => {
|
|
|
1221
1248
|
strokeLinejoin: "round"
|
|
1222
1249
|
}
|
|
1223
1250
|
),
|
|
1224
|
-
/* @__PURE__ */ (0,
|
|
1251
|
+
/* @__PURE__ */ (0, import_jsx_runtime38.jsx)("path", { d: "M2.5 3.5h11", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round" })
|
|
1225
1252
|
]
|
|
1226
1253
|
})
|
|
1227
1254
|
);
|
|
@@ -1229,10 +1256,10 @@ var UploadIcon = (_a) => {
|
|
|
1229
1256
|
UploadIcon.displayName = "UploadIcon";
|
|
1230
1257
|
|
|
1231
1258
|
// src/primitives/icon/svg/wallet-avatar.tsx
|
|
1232
|
-
var
|
|
1259
|
+
var import_jsx_runtime39 = require("react/jsx-runtime");
|
|
1233
1260
|
function WalletAvatarIcon(_a) {
|
|
1234
1261
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
1235
|
-
return /* @__PURE__ */ (0,
|
|
1262
|
+
return /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)(
|
|
1236
1263
|
"svg",
|
|
1237
1264
|
__spreadProps(__spreadValues(__spreadValues({
|
|
1238
1265
|
fill: "none",
|
|
@@ -1240,9 +1267,9 @@ function WalletAvatarIcon(_a) {
|
|
|
1240
1267
|
viewBox: "0 0 16 16"
|
|
1241
1268
|
}, getIconA11yProps(title)), props), {
|
|
1242
1269
|
children: [
|
|
1243
|
-
title ? /* @__PURE__ */ (0,
|
|
1244
|
-
/* @__PURE__ */ (0,
|
|
1245
|
-
/* @__PURE__ */ (0,
|
|
1270
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime39.jsx)("title", { children: title }) : null,
|
|
1271
|
+
/* @__PURE__ */ (0, import_jsx_runtime39.jsx)("circle", { cx: "8", cy: "5.25", r: "2.25", fill: "currentColor" }),
|
|
1272
|
+
/* @__PURE__ */ (0, import_jsx_runtime39.jsx)("path", { d: "M3.75 12.75a4.25 4.25 0 0 1 8.5 0v.25h-8.5v-.25Z", fill: "currentColor" })
|
|
1246
1273
|
]
|
|
1247
1274
|
})
|
|
1248
1275
|
);
|
|
@@ -1250,10 +1277,10 @@ function WalletAvatarIcon(_a) {
|
|
|
1250
1277
|
WalletAvatarIcon.displayName = "WalletAvatarIcon";
|
|
1251
1278
|
|
|
1252
1279
|
// src/primitives/icon/svg/wallet.tsx
|
|
1253
|
-
var
|
|
1280
|
+
var import_jsx_runtime40 = require("react/jsx-runtime");
|
|
1254
1281
|
var WalletIcon = (_a) => {
|
|
1255
1282
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
1256
|
-
return /* @__PURE__ */ (0,
|
|
1283
|
+
return /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)(
|
|
1257
1284
|
"svg",
|
|
1258
1285
|
__spreadProps(__spreadValues(__spreadValues({
|
|
1259
1286
|
viewBox: "0 0 24 24",
|
|
@@ -1261,8 +1288,8 @@ var WalletIcon = (_a) => {
|
|
|
1261
1288
|
fill: "none"
|
|
1262
1289
|
}, getIconA11yProps(title)), props), {
|
|
1263
1290
|
children: [
|
|
1264
|
-
title ? /* @__PURE__ */ (0,
|
|
1265
|
-
/* @__PURE__ */ (0,
|
|
1291
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("title", { children: title }) : null,
|
|
1292
|
+
/* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
|
|
1266
1293
|
"path",
|
|
1267
1294
|
{
|
|
1268
1295
|
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",
|
|
@@ -1276,10 +1303,10 @@ var WalletIcon = (_a) => {
|
|
|
1276
1303
|
WalletIcon.displayName = "WalletIcon";
|
|
1277
1304
|
|
|
1278
1305
|
// src/primitives/icon/svg/warning-filled.tsx
|
|
1279
|
-
var
|
|
1306
|
+
var import_jsx_runtime41 = require("react/jsx-runtime");
|
|
1280
1307
|
var WarningFilledIcon = (_a) => {
|
|
1281
1308
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
1282
|
-
return /* @__PURE__ */ (0,
|
|
1309
|
+
return /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(
|
|
1283
1310
|
"svg",
|
|
1284
1311
|
__spreadProps(__spreadValues(__spreadValues({
|
|
1285
1312
|
viewBox: "0 0 16 16",
|
|
@@ -1287,8 +1314,8 @@ var WarningFilledIcon = (_a) => {
|
|
|
1287
1314
|
fill: "none"
|
|
1288
1315
|
}, getIconA11yProps(title)), props), {
|
|
1289
1316
|
children: [
|
|
1290
|
-
title ? /* @__PURE__ */ (0,
|
|
1291
|
-
/* @__PURE__ */ (0,
|
|
1317
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("title", { children: title }) : null,
|
|
1318
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
|
|
1292
1319
|
"path",
|
|
1293
1320
|
{
|
|
1294
1321
|
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",
|
|
@@ -1302,10 +1329,10 @@ var WarningFilledIcon = (_a) => {
|
|
|
1302
1329
|
WarningFilledIcon.displayName = "WarningFilledIcon";
|
|
1303
1330
|
|
|
1304
1331
|
// src/primitives/icon/svg/warning.tsx
|
|
1305
|
-
var
|
|
1332
|
+
var import_jsx_runtime42 = require("react/jsx-runtime");
|
|
1306
1333
|
var WarningIcon = (_a) => {
|
|
1307
1334
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
1308
|
-
return /* @__PURE__ */ (0,
|
|
1335
|
+
return /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)(
|
|
1309
1336
|
"svg",
|
|
1310
1337
|
__spreadProps(__spreadValues(__spreadValues({
|
|
1311
1338
|
width: "14",
|
|
@@ -1316,15 +1343,15 @@ var WarningIcon = (_a) => {
|
|
|
1316
1343
|
className
|
|
1317
1344
|
}, getIconA11yProps(title)), props), {
|
|
1318
1345
|
children: [
|
|
1319
|
-
title ? /* @__PURE__ */ (0,
|
|
1320
|
-
/* @__PURE__ */ (0,
|
|
1346
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("title", { children: title }) : null,
|
|
1347
|
+
/* @__PURE__ */ (0, import_jsx_runtime42.jsx)("g", { clipPath: "url(#clip0_warning)", children: /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
|
|
1321
1348
|
"path",
|
|
1322
1349
|
{
|
|
1323
1350
|
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",
|
|
1324
1351
|
fill: "currentColor"
|
|
1325
1352
|
}
|
|
1326
1353
|
) }),
|
|
1327
|
-
/* @__PURE__ */ (0,
|
|
1354
|
+
/* @__PURE__ */ (0, import_jsx_runtime42.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("clipPath", { id: "clip0_warning", children: /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("rect", { width: "14", height: "14", fill: "white" }) }) })
|
|
1328
1355
|
]
|
|
1329
1356
|
})
|
|
1330
1357
|
);
|
|
@@ -1387,7 +1414,7 @@ var resolveIconStyle = (color, style) => {
|
|
|
1387
1414
|
};
|
|
1388
1415
|
|
|
1389
1416
|
// src/primitives/icon/index.tsx
|
|
1390
|
-
var
|
|
1417
|
+
var import_jsx_runtime43 = require("react/jsx-runtime");
|
|
1391
1418
|
var Icon = (_a) => {
|
|
1392
1419
|
var _b = _a, {
|
|
1393
1420
|
name,
|
|
@@ -1405,7 +1432,7 @@ var Icon = (_a) => {
|
|
|
1405
1432
|
const Component = iconRegistry[name];
|
|
1406
1433
|
const resolvedStyle = resolveIconStyle(color, style);
|
|
1407
1434
|
const resolvedClassName = cn(iconSizeClasses[size], className);
|
|
1408
|
-
return /* @__PURE__ */ (0,
|
|
1435
|
+
return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
|
|
1409
1436
|
Component,
|
|
1410
1437
|
__spreadValues({
|
|
1411
1438
|
color,
|
|
@@ -1420,11 +1447,11 @@ Icon.displayName = "Icon";
|
|
|
1420
1447
|
var import_hooks4 = require("@agg-market/hooks");
|
|
1421
1448
|
|
|
1422
1449
|
// src/primitives/skeleton/skeleton-block.tsx
|
|
1423
|
-
var
|
|
1424
|
-
var
|
|
1450
|
+
var import_hooks2 = require("@agg-market/hooks");
|
|
1451
|
+
var import_jsx_runtime44 = require("react/jsx-runtime");
|
|
1425
1452
|
var SkeletonBlock = ({ className }) => {
|
|
1426
|
-
const { enableAnimations } = (0,
|
|
1427
|
-
return /* @__PURE__ */ (0,
|
|
1453
|
+
const { enableAnimations } = (0, import_hooks2.useSdkUiConfig)();
|
|
1454
|
+
return /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
|
|
1428
1455
|
"div",
|
|
1429
1456
|
{
|
|
1430
1457
|
"aria-hidden": true,
|
|
@@ -1441,31 +1468,6 @@ SkeletonBlock.displayName = "SkeletonBlock";
|
|
|
1441
1468
|
// src/primitives/skeleton/views/event-list-item-skeleton-view.tsx
|
|
1442
1469
|
var import_hooks3 = require("@agg-market/hooks");
|
|
1443
1470
|
|
|
1444
|
-
// src/primitives/card/index.tsx
|
|
1445
|
-
var import_hooks2 = require("@agg-market/hooks");
|
|
1446
|
-
var import_jsx_runtime44 = require("react/jsx-runtime");
|
|
1447
|
-
var Card = (_a) => {
|
|
1448
|
-
var _b = _a, { className, onClick } = _b, props = __objRest(_b, ["className", "onClick"]);
|
|
1449
|
-
const { enableAnimations } = (0, import_hooks2.useSdkUiConfig)();
|
|
1450
|
-
return /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
|
|
1451
|
-
"div",
|
|
1452
|
-
__spreadValues(__spreadValues({
|
|
1453
|
-
className: cn(
|
|
1454
|
-
"group/agg-card",
|
|
1455
|
-
"flex w-full flex-col font-agg-sans",
|
|
1456
|
-
"rounded-agg-xl border border-agg-separator",
|
|
1457
|
-
"bg-agg-secondary text-agg-foreground shadow-agg-card",
|
|
1458
|
-
getMotionClassName(
|
|
1459
|
-
enableAnimations,
|
|
1460
|
-
"transition-shadow hover:shadow-agg-card-hover duration-300 ease-in-out"
|
|
1461
|
-
),
|
|
1462
|
-
className
|
|
1463
|
-
)
|
|
1464
|
-
}, onClick ? { onClick } : {}), props)
|
|
1465
|
-
);
|
|
1466
|
-
};
|
|
1467
|
-
Card.displayName = "Card";
|
|
1468
|
-
|
|
1469
1471
|
// src/events/item/event-list-item.constants.ts
|
|
1470
1472
|
var baseCardClassName = "gap-3 overflow-hidden p-5 w-full";
|
|
1471
1473
|
|
|
@@ -1477,6 +1479,7 @@ var EventListItemSkeletonView = ({
|
|
|
1477
1479
|
isStandalone = false
|
|
1478
1480
|
}) => {
|
|
1479
1481
|
const labels = (0, import_hooks3.useLabels)();
|
|
1482
|
+
const outcomeTitleWidths = ["w-40", "w-[200px]"];
|
|
1480
1483
|
return /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)(
|
|
1481
1484
|
Card,
|
|
1482
1485
|
{
|
|
@@ -1486,35 +1489,23 @@ var EventListItemSkeletonView = ({
|
|
|
1486
1489
|
"aria-busy": isStandalone || void 0,
|
|
1487
1490
|
"aria-hidden": isStandalone ? void 0 : true,
|
|
1488
1491
|
children: [
|
|
1489
|
-
/* @__PURE__ */ (0, import_jsx_runtime45.jsxs)("div", { className: "flex w-full items-
|
|
1490
|
-
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(SkeletonBlock, { className: "
|
|
1491
|
-
/* @__PURE__ */ (0, import_jsx_runtime45.
|
|
1492
|
-
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(SkeletonBlock, { className: "h-5 w-[82%] rounded-agg-sm" }),
|
|
1493
|
-
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(SkeletonBlock, { className: "h-5 w-[68%] rounded-agg-sm" })
|
|
1494
|
-
] })
|
|
1492
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsxs)("div", { className: "flex h-14 w-full items-center gap-3 justify-stretch", children: [
|
|
1493
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(SkeletonBlock, { className: "size-10! rounded-agg-lg" }),
|
|
1494
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(SkeletonBlock, { className: "h-6 w-fit flex-1 rounded-agg-sm" })
|
|
1495
1495
|
] }),
|
|
1496
|
-
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)("div", { className: "flex flex-col gap-3", children:
|
|
1497
|
-
"
|
|
1498
|
-
{
|
|
1499
|
-
|
|
1500
|
-
|
|
1501
|
-
|
|
1502
|
-
|
|
1503
|
-
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(SkeletonBlock, { className: "h-9 w-[101px] rounded-agg-full" })
|
|
1504
|
-
]
|
|
1505
|
-
},
|
|
1506
|
-
index
|
|
1507
|
-
)) }),
|
|
1508
|
-
/* @__PURE__ */ (0, import_jsx_runtime45.jsxs)("div", { className: "flex items-center justify-between gap-2 text-agg-muted-foreground", children: [
|
|
1509
|
-
/* @__PURE__ */ (0, import_jsx_runtime45.jsxs)("div", { className: "flex items-center gap-2", children: [
|
|
1510
|
-
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(SkeletonBlock, { className: "h-4 w-36 rounded-agg-sm" }),
|
|
1496
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)("div", { className: "flex flex-col gap-3", children: outcomeTitleWidths.map((outcomeTitleWidth, index) => /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)("div", { className: "flex w-full items-center justify-between gap-3", children: [
|
|
1497
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(SkeletonBlock, { className: cn("h-5 rounded-agg-sm", outcomeTitleWidth) }),
|
|
1498
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(SkeletonBlock, { className: "h-9 w-[100px] rounded-agg-full" })
|
|
1499
|
+
] }, index)) }),
|
|
1500
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsxs)("div", { className: "flex items-center justify-between gap-5 text-agg-muted-foreground", children: [
|
|
1501
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsxs)("div", { className: "flex min-w-0 flex-1 items-center gap-2", children: [
|
|
1502
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(SkeletonBlock, { className: "h-5 w-[100px] rounded-agg-sm" }),
|
|
1511
1503
|
/* @__PURE__ */ (0, import_jsx_runtime45.jsxs)("div", { className: "flex items-center gap-1", children: [
|
|
1512
|
-
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(SkeletonBlock, { className: "size-
|
|
1513
|
-
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(SkeletonBlock, { className: "size-
|
|
1514
|
-
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(SkeletonBlock, { className: "size-3 rounded-agg-full" })
|
|
1504
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(SkeletonBlock, { className: "size-[14px] rounded-agg-sm" }),
|
|
1505
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(SkeletonBlock, { className: "size-[14px] rounded-agg-sm" })
|
|
1515
1506
|
] })
|
|
1516
1507
|
] }),
|
|
1517
|
-
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(SkeletonBlock, { className: "h-
|
|
1508
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(SkeletonBlock, { className: "h-5 w-[60px] rounded-agg-sm" })
|
|
1518
1509
|
] })
|
|
1519
1510
|
]
|
|
1520
1511
|
}
|
|
@@ -1534,13 +1525,9 @@ var EventListSkeletonView = ({ className, ariaLabel }) => {
|
|
|
1534
1525
|
"aria-label": ariaLabel != null ? ariaLabel : labels.eventList.loading("events"),
|
|
1535
1526
|
"aria-busy": true,
|
|
1536
1527
|
children: [
|
|
1537
|
-
/* @__PURE__ */ (0, import_jsx_runtime46.jsxs)("header", { className: "flex w-full flex-col items-start justify-between gap-
|
|
1538
|
-
/* @__PURE__ */ (0, import_jsx_runtime46.jsx)(SkeletonBlock, { className: "h-7 w-
|
|
1539
|
-
/* @__PURE__ */ (0, import_jsx_runtime46.
|
|
1540
|
-
/* @__PURE__ */ (0, import_jsx_runtime46.jsx)(SkeletonBlock, { className: "h-10 w-20 rounded-agg-full" }),
|
|
1541
|
-
/* @__PURE__ */ (0, import_jsx_runtime46.jsx)(SkeletonBlock, { className: "h-10 w-20 rounded-agg-full" }),
|
|
1542
|
-
/* @__PURE__ */ (0, import_jsx_runtime46.jsx)(SkeletonBlock, { className: "h-10 w-24 rounded-agg-full" })
|
|
1543
|
-
] })
|
|
1528
|
+
/* @__PURE__ */ (0, import_jsx_runtime46.jsxs)("header", { className: "flex w-full flex-col items-start justify-between gap-3 md:flex-row md:flex-nowrap md:items-center md:gap-5", children: [
|
|
1529
|
+
/* @__PURE__ */ (0, import_jsx_runtime46.jsx)(SkeletonBlock, { className: "h-7 w-[120px] rounded-agg-md" }),
|
|
1530
|
+
/* @__PURE__ */ (0, import_jsx_runtime46.jsx)(SkeletonBlock, { className: "h-8 w-full rounded-agg-md md:w-[400px]" })
|
|
1544
1531
|
] }),
|
|
1545
1532
|
/* @__PURE__ */ (0, import_jsx_runtime46.jsx)("div", { className: "grid grid-cols-1 gap-5 md:grid-cols-3", children: Array.from({ length: 3 }).map((_, index) => /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
|
|
1546
1533
|
EventListItemSkeletonView,
|
|
@@ -1577,30 +1564,26 @@ var EventListItemDetailsSkeletonView = ({
|
|
|
1577
1564
|
"aria-label": ariaLabel != null ? ariaLabel : labels.eventItemDetails.loading,
|
|
1578
1565
|
"aria-busy": true,
|
|
1579
1566
|
children: [
|
|
1580
|
-
/* @__PURE__ */ (0, import_jsx_runtime47.jsxs)("div", { className: "flex w-full items-
|
|
1581
|
-
/* @__PURE__ */ (0, import_jsx_runtime47.jsx)(SkeletonBlock, { className: "size-10 rounded-agg-lg
|
|
1582
|
-
/* @__PURE__ */ (0, import_jsx_runtime47.
|
|
1583
|
-
/* @__PURE__ */ (0, import_jsx_runtime47.jsx)(SkeletonBlock, { className: "h-5 w-[82%] rounded-agg-sm md:h-7 md:w-[55%]" }),
|
|
1584
|
-
/* @__PURE__ */ (0, import_jsx_runtime47.jsxs)("div", { className: "flex gap-2 overflow-hidden", children: [
|
|
1585
|
-
/* @__PURE__ */ (0, import_jsx_runtime47.jsx)(SkeletonBlock, { className: "h-8 w-28 rounded-agg-full" }),
|
|
1586
|
-
/* @__PURE__ */ (0, import_jsx_runtime47.jsx)(SkeletonBlock, { className: "h-8 w-28 rounded-agg-full" }),
|
|
1587
|
-
/* @__PURE__ */ (0, import_jsx_runtime47.jsx)(SkeletonBlock, { className: "h-8 w-28 rounded-agg-full" })
|
|
1588
|
-
] })
|
|
1589
|
-
] })
|
|
1567
|
+
/* @__PURE__ */ (0, import_jsx_runtime47.jsxs)("div", { className: "flex h-14 w-full items-center gap-3 justify-stretch", children: [
|
|
1568
|
+
/* @__PURE__ */ (0, import_jsx_runtime47.jsx)(SkeletonBlock, { className: "size-10! rounded-agg-lg" }),
|
|
1569
|
+
/* @__PURE__ */ (0, import_jsx_runtime47.jsx)(SkeletonBlock, { className: "h-6 w-fit flex-1 rounded-agg-sm" })
|
|
1590
1570
|
] }),
|
|
1591
|
-
/* @__PURE__ */ (0, import_jsx_runtime47.jsxs)("div", { className: "flex flex-col gap-4", children: [
|
|
1592
|
-
/* @__PURE__ */ (0, import_jsx_runtime47.
|
|
1593
|
-
|
|
1594
|
-
|
|
1595
|
-
|
|
1596
|
-
|
|
1597
|
-
|
|
1571
|
+
/* @__PURE__ */ (0, import_jsx_runtime47.jsxs)("div", { className: "flex w-full flex-col gap-4 md:gap-6", children: [
|
|
1572
|
+
/* @__PURE__ */ (0, import_jsx_runtime47.jsxs)("div", { className: "flex w-full flex-col gap-3 md:flex-row md:items-center md:justify-between", children: [
|
|
1573
|
+
/* @__PURE__ */ (0, import_jsx_runtime47.jsxs)("div", { className: "flex max-w-full gap-2 overflow-hidden", children: [
|
|
1574
|
+
/* @__PURE__ */ (0, import_jsx_runtime47.jsx)(SkeletonBlock, { className: "h-9 w-[100px] rounded-agg-full" }),
|
|
1575
|
+
/* @__PURE__ */ (0, import_jsx_runtime47.jsx)(SkeletonBlock, { className: "h-9 w-[100px] rounded-agg-full" }),
|
|
1576
|
+
/* @__PURE__ */ (0, import_jsx_runtime47.jsx)(SkeletonBlock, { className: "h-9 w-[100px] rounded-agg-full" })
|
|
1577
|
+
] }),
|
|
1578
|
+
/* @__PURE__ */ (0, import_jsx_runtime47.jsx)(SkeletonBlock, { className: "h-9 w-full max-w-[221px] rounded-agg-full md:w-[221px]" })
|
|
1579
|
+
] }),
|
|
1580
|
+
/* @__PURE__ */ (0, import_jsx_runtime47.jsxs)("div", { className: "flex w-full flex-col gap-3", children: [
|
|
1581
|
+
/* @__PURE__ */ (0, import_jsx_runtime47.jsx)(SkeletonBlock, { className: "h-[220px] w-full rounded-agg-xl md:h-[240px]" }),
|
|
1582
|
+
/* @__PURE__ */ (0, import_jsx_runtime47.jsxs)("div", { className: "flex items-center justify-between", children: [
|
|
1583
|
+
/* @__PURE__ */ (0, import_jsx_runtime47.jsx)(SkeletonBlock, { className: "h-5 w-[59px] rounded-agg-sm" }),
|
|
1584
|
+
/* @__PURE__ */ (0, import_jsx_runtime47.jsx)(SkeletonBlock, { className: "h-5 w-40 rounded-agg-sm" })
|
|
1585
|
+
] })
|
|
1598
1586
|
] })
|
|
1599
|
-
] }),
|
|
1600
|
-
/* @__PURE__ */ (0, import_jsx_runtime47.jsx)("div", { className: "h-[300px] w-full rounded-agg-xl", children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(SkeletonBlock, { className: "h-full w-full rounded-agg-xl" }) }),
|
|
1601
|
-
/* @__PURE__ */ (0, import_jsx_runtime47.jsxs)("div", { className: "flex items-center justify-between", children: [
|
|
1602
|
-
/* @__PURE__ */ (0, import_jsx_runtime47.jsx)(SkeletonBlock, { className: "h-5 w-24 rounded-agg-sm" }),
|
|
1603
|
-
/* @__PURE__ */ (0, import_jsx_runtime47.jsx)(SkeletonBlock, { className: "h-5 w-40 rounded-agg-sm" })
|
|
1604
1587
|
] })
|
|
1605
1588
|
]
|
|
1606
1589
|
}
|
|
@@ -1616,6 +1599,77 @@ var marketDetailsBaseCardClassName = "w-full overflow-hidden rounded-agg-lg bord
|
|
|
1616
1599
|
|
|
1617
1600
|
// src/primitives/skeleton/views/market-details-skeleton-view.tsx
|
|
1618
1601
|
var import_jsx_runtime48 = require("react/jsx-runtime");
|
|
1602
|
+
var orderBookAskBarWidths = [
|
|
1603
|
+
"w-[52px] md:w-[240px]",
|
|
1604
|
+
"w-[48px] md:w-[200px]",
|
|
1605
|
+
"w-[40px] md:w-[120px]",
|
|
1606
|
+
"w-[36px] md:w-[60px]"
|
|
1607
|
+
];
|
|
1608
|
+
var orderBookBidBarWidths = [
|
|
1609
|
+
"w-[36px] md:w-[60px]",
|
|
1610
|
+
"w-[40px] md:w-[120px]",
|
|
1611
|
+
"w-[48px] md:w-[200px]",
|
|
1612
|
+
"w-[52px] md:w-[240px]"
|
|
1613
|
+
];
|
|
1614
|
+
var MarketDetailsHeaderSkeleton = () => {
|
|
1615
|
+
return /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)("div", { className: "flex flex-wrap items-center justify-between gap-3 px-4 py-3 md:px-5", children: [
|
|
1616
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsxs)("div", { className: "flex min-w-0 items-center gap-3 md:min-w-52 md:gap-4", children: [
|
|
1617
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)(SkeletonBlock, { className: "size-12 rounded-agg-lg md:size-[60px]" }),
|
|
1618
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsxs)("div", { className: "flex min-w-0 flex-col gap-2", children: [
|
|
1619
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)(SkeletonBlock, { className: "h-6 w-[132px] rounded-agg-sm" }),
|
|
1620
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)(SkeletonBlock, { className: "h-4 w-[141px] rounded-agg-sm" })
|
|
1621
|
+
] })
|
|
1622
|
+
] }),
|
|
1623
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)(SkeletonBlock, { className: "h-9 w-[60px] rounded-agg-md" }),
|
|
1624
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsxs)("div", { className: "flex w-full gap-2 md:w-auto", children: [
|
|
1625
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)(SkeletonBlock, { className: "h-9 w-full rounded-agg-full md:w-[135px]" }),
|
|
1626
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)(SkeletonBlock, { className: "h-9 w-full rounded-agg-full md:w-[131px]" })
|
|
1627
|
+
] })
|
|
1628
|
+
] });
|
|
1629
|
+
};
|
|
1630
|
+
var MarketDetailsTabsSkeleton = () => {
|
|
1631
|
+
return /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)("div", { className: "flex h-14 items-end px-4 md:px-5", children: [
|
|
1632
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsxs)("div", { className: "flex h-full flex-col items-end justify-end rounded-t-agg-lg", children: [
|
|
1633
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)("div", { className: "px-4 py-3", children: /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(SkeletonBlock, { className: "h-6 w-20 rounded-agg-sm" }) }),
|
|
1634
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)(SkeletonBlock, { className: "h-[3px] w-full rounded-t-agg-sm" })
|
|
1635
|
+
] }),
|
|
1636
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsxs)("div", { className: "flex h-full flex-col justify-center", children: [
|
|
1637
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)("div", { className: "px-4 py-3", children: /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(SkeletonBlock, { className: "h-6 w-12 rounded-agg-sm" }) }),
|
|
1638
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)("div", { className: "h-[3px] w-full" })
|
|
1639
|
+
] })
|
|
1640
|
+
] });
|
|
1641
|
+
};
|
|
1642
|
+
var MarketDetailsOrderBookRows = ({
|
|
1643
|
+
side,
|
|
1644
|
+
barWidths
|
|
1645
|
+
}) => {
|
|
1646
|
+
return /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("div", { className: "flex flex-col gap-2", children: barWidths.map((barWidthClassName, index) => /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)("div", { className: "flex flex-col gap-2", children: [
|
|
1647
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsxs)("div", { className: "grid grid-cols-[52px_1fr_1fr_52px] items-center gap-2 md:grid-cols-[88px_1fr_1fr_minmax(120px,220px)] md:gap-6", children: [
|
|
1648
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsxs)("div", { className: "flex items-center gap-1 md:gap-3", children: [
|
|
1649
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)(SkeletonBlock, { className: "size-4 rounded-agg-sm" }),
|
|
1650
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)(SkeletonBlock, { className: "h-5 w-[60px] rounded-agg-sm" })
|
|
1651
|
+
] }),
|
|
1652
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)(SkeletonBlock, { className: "h-5 rounded-agg-sm" }),
|
|
1653
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)(SkeletonBlock, { className: "h-5 rounded-agg-sm" }),
|
|
1654
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)("div", { className: "flex justify-end", children: /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(SkeletonBlock, { className: cn("h-2 rounded-agg-full", barWidthClassName) }) })
|
|
1655
|
+
] }),
|
|
1656
|
+
index < barWidths.length - 1 ? /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("div", { className: "h-px w-full bg-agg-separator" }) : null
|
|
1657
|
+
] }, `${side}-row-${index}`)) });
|
|
1658
|
+
};
|
|
1659
|
+
var MarketDetailsOderbookSkeleton = ({
|
|
1660
|
+
className
|
|
1661
|
+
}) => {
|
|
1662
|
+
return /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)("div", { className: cn("flex flex-col gap-5", className), children: [
|
|
1663
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsxs)("div", { className: "flex flex-col gap-2", children: [
|
|
1664
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)(SkeletonBlock, { className: "h-4 w-10 rounded-agg-sm" }),
|
|
1665
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)(MarketDetailsOrderBookRows, { side: "ask", barWidths: orderBookAskBarWidths })
|
|
1666
|
+
] }),
|
|
1667
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsxs)("div", { className: "flex flex-col gap-2", children: [
|
|
1668
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)(SkeletonBlock, { className: "h-4 w-10 rounded-agg-sm" }),
|
|
1669
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)(MarketDetailsOrderBookRows, { side: "bid", barWidths: orderBookBidBarWidths })
|
|
1670
|
+
] })
|
|
1671
|
+
] });
|
|
1672
|
+
};
|
|
1619
1673
|
var MarketDetailsSkeletonView = ({
|
|
1620
1674
|
className,
|
|
1621
1675
|
ariaLabel,
|
|
@@ -1630,60 +1684,12 @@ var MarketDetailsSkeletonView = ({
|
|
|
1630
1684
|
"aria-label": ariaLabel != null ? ariaLabel : labels.marketDetails.loading,
|
|
1631
1685
|
"aria-busy": true,
|
|
1632
1686
|
children: [
|
|
1633
|
-
/* @__PURE__ */ (0, import_jsx_runtime48.
|
|
1634
|
-
/* @__PURE__ */ (0, import_jsx_runtime48.jsxs)("div", { className: "flex items-center justify-between gap-4", children: [
|
|
1635
|
-
/* @__PURE__ */ (0, import_jsx_runtime48.jsxs)("div", { className: "flex min-w-0 items-center gap-3 md:gap-4", children: [
|
|
1636
|
-
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)(SkeletonBlock, { className: "size-12 rounded-agg-lg md:size-[60px]" }),
|
|
1637
|
-
/* @__PURE__ */ (0, import_jsx_runtime48.jsxs)("div", { className: "flex min-w-0 flex-col gap-2", children: [
|
|
1638
|
-
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)(SkeletonBlock, { className: "h-6 w-40 rounded-agg-sm" }),
|
|
1639
|
-
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)(SkeletonBlock, { className: "h-4 w-28 rounded-agg-sm" })
|
|
1640
|
-
] })
|
|
1641
|
-
] }),
|
|
1642
|
-
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)(SkeletonBlock, { className: "h-8 w-16 rounded-agg-sm" })
|
|
1643
|
-
] }),
|
|
1644
|
-
/* @__PURE__ */ (0, import_jsx_runtime48.jsxs)("div", { className: "flex gap-2", children: [
|
|
1645
|
-
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)(SkeletonBlock, { className: "h-10 flex-1 rounded-agg-full" }),
|
|
1646
|
-
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)(SkeletonBlock, { className: "h-10 flex-1 rounded-agg-full" })
|
|
1647
|
-
] })
|
|
1648
|
-
] }),
|
|
1687
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)(MarketDetailsHeaderSkeleton, {}),
|
|
1649
1688
|
isDetailed ? /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(import_jsx_runtime48.Fragment, { children: [
|
|
1650
1689
|
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)("div", { className: "h-px w-full bg-agg-separator" }),
|
|
1651
|
-
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
|
|
1690
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)(MarketDetailsTabsSkeleton, {}),
|
|
1652
1691
|
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)("div", { className: "h-px w-full bg-agg-separator" }),
|
|
1653
|
-
/* @__PURE__ */ (0, import_jsx_runtime48.
|
|
1654
|
-
/* @__PURE__ */ (0, import_jsx_runtime48.jsxs)("div", { className: "flex flex-col gap-3", children: [
|
|
1655
|
-
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)(SkeletonBlock, { className: "h-4 w-12 rounded-agg-sm" }),
|
|
1656
|
-
[0, 1, 2, 3].map((index) => /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(
|
|
1657
|
-
"div",
|
|
1658
|
-
{
|
|
1659
|
-
className: "grid grid-cols-[52px_1fr_1fr_52px] items-center gap-2",
|
|
1660
|
-
children: [
|
|
1661
|
-
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)(SkeletonBlock, { className: "h-4 rounded-agg-sm" }),
|
|
1662
|
-
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)(SkeletonBlock, { className: "h-4 rounded-agg-sm" }),
|
|
1663
|
-
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)(SkeletonBlock, { className: "h-4 rounded-agg-sm" }),
|
|
1664
|
-
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)(SkeletonBlock, { className: "h-2 rounded-agg-full" })
|
|
1665
|
-
]
|
|
1666
|
-
},
|
|
1667
|
-
`ask-${index}`
|
|
1668
|
-
))
|
|
1669
|
-
] }),
|
|
1670
|
-
/* @__PURE__ */ (0, import_jsx_runtime48.jsxs)("div", { className: "flex flex-col gap-3", children: [
|
|
1671
|
-
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)(SkeletonBlock, { className: "h-4 w-12 rounded-agg-sm" }),
|
|
1672
|
-
[0, 1, 2, 3].map((index) => /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(
|
|
1673
|
-
"div",
|
|
1674
|
-
{
|
|
1675
|
-
className: "grid grid-cols-[52px_1fr_1fr_52px] items-center gap-2",
|
|
1676
|
-
children: [
|
|
1677
|
-
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)(SkeletonBlock, { className: "h-4 rounded-agg-sm" }),
|
|
1678
|
-
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)(SkeletonBlock, { className: "h-4 rounded-agg-sm" }),
|
|
1679
|
-
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)(SkeletonBlock, { className: "h-4 rounded-agg-sm" }),
|
|
1680
|
-
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)(SkeletonBlock, { className: "h-2 rounded-agg-full" })
|
|
1681
|
-
]
|
|
1682
|
-
},
|
|
1683
|
-
`bid-${index}`
|
|
1684
|
-
))
|
|
1685
|
-
] })
|
|
1686
|
-
] })
|
|
1692
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)(MarketDetailsOderbookSkeleton, { className: "p-5" })
|
|
1687
1693
|
] }) : null
|
|
1688
1694
|
]
|
|
1689
1695
|
}
|
|
@@ -1694,65 +1700,46 @@ MarketDetailsSkeletonView.displayName = "MarketDetailsSkeletonView";
|
|
|
1694
1700
|
// src/primitives/skeleton/views/place-order-skeleton-view.tsx
|
|
1695
1701
|
var import_jsx_runtime49 = require("react/jsx-runtime");
|
|
1696
1702
|
var placeOrderCardClassName = "overflow-hidden rounded-agg-xl border border-agg-border bg-agg-secondary shadow-none hover:shadow-none";
|
|
1703
|
+
var TabsSkeletonBar = () => {
|
|
1704
|
+
return /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)("div", { className: "flex w-full items-end border-b border-agg-border", children: [
|
|
1705
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsxs)("div", { className: "flex flex-col rounded-t-agg-lg", children: [
|
|
1706
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)("div", { className: "px-5 py-2", children: /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(SkeletonBlock, { className: "h-6 w-10 rounded-agg-sm" }) }),
|
|
1707
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)(SkeletonBlock, { className: "h-[3px] w-full rounded-t-agg-sm" })
|
|
1708
|
+
] }),
|
|
1709
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsxs)("div", { className: "flex flex-col", children: [
|
|
1710
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)("div", { className: "px-5 py-2", children: /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(SkeletonBlock, { className: "h-6 w-10 rounded-agg-sm" }) }),
|
|
1711
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)("div", { className: "h-[3px] w-full" })
|
|
1712
|
+
] })
|
|
1713
|
+
] });
|
|
1714
|
+
};
|
|
1697
1715
|
var ContentBody = () => {
|
|
1698
1716
|
return /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)("div", { className: cn("flex flex-col gap-6 p-5"), children: [
|
|
1699
1717
|
/* @__PURE__ */ (0, import_jsx_runtime49.jsxs)("div", { className: "flex flex-col gap-2", children: [
|
|
1700
|
-
/* @__PURE__ */ (0, import_jsx_runtime49.jsxs)("div", { className: "flex
|
|
1701
|
-
/* @__PURE__ */ (0, import_jsx_runtime49.
|
|
1702
|
-
|
|
1703
|
-
/* @__PURE__ */ (0, import_jsx_runtime49.
|
|
1704
|
-
|
|
1705
|
-
|
|
1706
|
-
] })
|
|
1707
|
-
] }),
|
|
1708
|
-
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)(SkeletonBlock, { className: "h-6 w-6 rounded-agg-sm" })
|
|
1718
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsxs)("div", { className: "flex min-w-0 items-center gap-3", children: [
|
|
1719
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)(SkeletonBlock, { className: "size-12 shrink-0 rounded-agg-lg" }),
|
|
1720
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsxs)("div", { className: "flex min-w-0 flex-1 flex-col gap-2", children: [
|
|
1721
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)(SkeletonBlock, { className: "h-4 w-[92%] max-w-[240px] rounded-agg-sm" }),
|
|
1722
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)(SkeletonBlock, { className: "h-4 w-[64%] max-w-[160px] rounded-agg-sm" })
|
|
1723
|
+
] })
|
|
1709
1724
|
] }),
|
|
1710
|
-
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)(SkeletonBlock, { className: "h-
|
|
1725
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)(SkeletonBlock, { className: "h-6 w-[92px] rounded-agg-sm" }),
|
|
1726
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)(TabsSkeletonBar, {})
|
|
1711
1727
|
] }),
|
|
1712
|
-
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)("div", { className: "flex h-11 items-end border-b border-agg-separator", children: /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)("div", { className: "flex items-center gap-8", children: [
|
|
1713
|
-
/* @__PURE__ */ (0, import_jsx_runtime49.jsxs)("div", { className: "flex flex-col gap-2", children: [
|
|
1714
|
-
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)(SkeletonBlock, { className: "h-5 w-10 rounded-agg-sm" }),
|
|
1715
|
-
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)(SkeletonBlock, { className: "h-[3px] w-12 rounded-t-agg-sm" })
|
|
1716
|
-
] }),
|
|
1717
|
-
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)(SkeletonBlock, { className: "h-5 w-10 rounded-agg-sm" })
|
|
1718
|
-
] }) }),
|
|
1719
1728
|
/* @__PURE__ */ (0, import_jsx_runtime49.jsxs)("div", { className: "flex flex-col gap-4", children: [
|
|
1720
|
-
/* @__PURE__ */ (0, import_jsx_runtime49.jsxs)("div", { className: "flex gap-2", children: [
|
|
1729
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsxs)("div", { className: "flex w-full gap-2", children: [
|
|
1721
1730
|
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)(SkeletonBlock, { className: "h-11 flex-1 rounded-agg-full" }),
|
|
1722
1731
|
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)(SkeletonBlock, { className: "h-11 flex-1 rounded-agg-full" })
|
|
1723
1732
|
] }),
|
|
1724
1733
|
/* @__PURE__ */ (0, import_jsx_runtime49.jsxs)("div", { className: "flex items-center justify-between gap-4", children: [
|
|
1725
1734
|
/* @__PURE__ */ (0, import_jsx_runtime49.jsxs)("div", { className: "flex flex-col gap-2", children: [
|
|
1726
|
-
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)(SkeletonBlock, { className: "h-
|
|
1727
|
-
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)(SkeletonBlock, { className: "h-4 w-
|
|
1735
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)(SkeletonBlock, { className: "h-5 w-[63px] rounded-agg-sm" }),
|
|
1736
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)(SkeletonBlock, { className: "h-4 w-[118px] rounded-agg-sm" })
|
|
1728
1737
|
] }),
|
|
1729
|
-
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
|
|
1738
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)("p", { className: cn("text-agg-3xl font-agg-bold leading-agg-9 text-agg-separator"), children: "$0" })
|
|
1730
1739
|
] })
|
|
1731
1740
|
] }),
|
|
1732
|
-
/* @__PURE__ */ (0, import_jsx_runtime49.
|
|
1733
|
-
|
|
1734
|
-
[0, 1].map((index) => /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)("div", { className: "flex flex-col gap-3", children: [
|
|
1735
|
-
/* @__PURE__ */ (0, import_jsx_runtime49.jsxs)("div", { className: "flex items-center justify-between gap-4", children: [
|
|
1736
|
-
/* @__PURE__ */ (0, import_jsx_runtime49.jsxs)("div", { className: "flex items-center gap-2", children: [
|
|
1737
|
-
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)(SkeletonBlock, { className: "size-4 rounded-agg-full" }),
|
|
1738
|
-
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)(SkeletonBlock, { className: "h-5 w-24 rounded-agg-sm" })
|
|
1739
|
-
] }),
|
|
1740
|
-
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)(SkeletonBlock, { className: "h-5 w-10 rounded-agg-sm" })
|
|
1741
|
-
] }),
|
|
1742
|
-
index === 0 ? /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("div", { className: "h-px w-full bg-agg-trade-highlight-border" }) : null
|
|
1743
|
-
] }, `place-order-route-${index}`)),
|
|
1744
|
-
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)(SkeletonBlock, { className: "mx-auto h-5 w-40 rounded-agg-sm" })
|
|
1745
|
-
] }) }),
|
|
1746
|
-
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)(SkeletonBlock, { className: "h-4 w-36 rounded-agg-sm" })
|
|
1747
|
-
] }),
|
|
1748
|
-
/* @__PURE__ */ (0, import_jsx_runtime49.jsxs)("div", { className: "flex items-center justify-between gap-4", children: [
|
|
1749
|
-
/* @__PURE__ */ (0, import_jsx_runtime49.jsxs)("div", { className: "flex flex-col gap-2", children: [
|
|
1750
|
-
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)(SkeletonBlock, { className: "h-6 w-20 rounded-agg-sm" }),
|
|
1751
|
-
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)(SkeletonBlock, { className: "h-4 w-24 rounded-agg-sm" })
|
|
1752
|
-
] }),
|
|
1753
|
-
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)(SkeletonBlock, { className: "h-9 w-36 rounded-agg-sm" })
|
|
1754
|
-
] }),
|
|
1755
|
-
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)(SkeletonBlock, { className: "h-4 w-[88%] self-center rounded-agg-sm" })
|
|
1741
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)(SkeletonBlock, { className: "h-12 w-full rounded-agg-full" }),
|
|
1742
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)(SkeletonBlock, { className: "h-4 w-full max-w-[240px] self-center rounded-agg-sm" })
|
|
1756
1743
|
] });
|
|
1757
1744
|
};
|
|
1758
1745
|
var PlaceOrderSkeletonView = ({
|
|
@@ -1766,19 +1753,7 @@ var PlaceOrderSkeletonView = ({
|
|
|
1766
1753
|
role: "status",
|
|
1767
1754
|
"aria-label": ariaLabel != null ? ariaLabel : "Loading place order",
|
|
1768
1755
|
"aria-busy": true,
|
|
1769
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("div", { className: "flex w-full items-end justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime49.
|
|
1770
|
-
Card,
|
|
1771
|
-
{
|
|
1772
|
-
className: cn(
|
|
1773
|
-
placeOrderCardClassName,
|
|
1774
|
-
"w-full max-w-[400px] rounded-t-agg-xl rounded-b-none border-b-0"
|
|
1775
|
-
),
|
|
1776
|
-
children: [
|
|
1777
|
-
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)(ContentBody, {}),
|
|
1778
|
-
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)("div", { className: "border-t border-agg-separator bg-agg-secondary p-4", children: /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(SkeletonBlock, { className: "h-12 w-full rounded-agg-full" }) })
|
|
1779
|
-
]
|
|
1780
|
-
}
|
|
1781
|
-
) })
|
|
1756
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("div", { className: "flex w-full items-end justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(Card, { className: cn(placeOrderCardClassName, "w-full"), children: /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(ContentBody, {}) }) })
|
|
1782
1757
|
}
|
|
1783
1758
|
);
|
|
1784
1759
|
};
|
|
@@ -1804,38 +1779,27 @@ var SettlementSkeletonView = ({
|
|
|
1804
1779
|
"aria-label": ariaLabel != null ? ariaLabel : labels.trading.settlementLoading,
|
|
1805
1780
|
"aria-busy": true,
|
|
1806
1781
|
children: [
|
|
1807
|
-
/* @__PURE__ */ (0, import_jsx_runtime50.jsxs)("div", { className: "flex
|
|
1808
|
-
/* @__PURE__ */ (0, import_jsx_runtime50.jsx)(SkeletonBlock, { className: "h-4 w-
|
|
1809
|
-
/* @__PURE__ */ (0, import_jsx_runtime50.jsx)(SkeletonBlock, { className: "h-5 w-full max-w-
|
|
1782
|
+
/* @__PURE__ */ (0, import_jsx_runtime50.jsxs)("div", { className: "flex w-full items-center justify-between gap-4", children: [
|
|
1783
|
+
/* @__PURE__ */ (0, import_jsx_runtime50.jsx)(SkeletonBlock, { className: "h-4 w-[81px] rounded-agg-sm" }),
|
|
1784
|
+
/* @__PURE__ */ (0, import_jsx_runtime50.jsx)(SkeletonBlock, { className: "h-5 w-full max-w-[240px] rounded-agg-sm" })
|
|
1810
1785
|
] }),
|
|
1811
|
-
/* @__PURE__ */ (0, import_jsx_runtime50.jsxs)("div", { className: "flex flex-col gap-
|
|
1812
|
-
/* @__PURE__ */ (0, import_jsx_runtime50.jsx)(SkeletonBlock, { className: "h-5 w-
|
|
1786
|
+
/* @__PURE__ */ (0, import_jsx_runtime50.jsxs)("div", { className: "flex w-full flex-col gap-3", children: [
|
|
1787
|
+
/* @__PURE__ */ (0, import_jsx_runtime50.jsx)(SkeletonBlock, { className: "h-5 w-[200px] rounded-agg-sm" }),
|
|
1813
1788
|
/* @__PURE__ */ (0, import_jsx_runtime50.jsxs)("div", { className: "flex flex-col gap-2", children: [
|
|
1814
|
-
/* @__PURE__ */ (0, import_jsx_runtime50.jsx)(SkeletonBlock, { className: "h-4 w-[
|
|
1815
|
-
/* @__PURE__ */ (0, import_jsx_runtime50.jsx)(SkeletonBlock, { className: "h-4 w-[
|
|
1816
|
-
/* @__PURE__ */ (0, import_jsx_runtime50.jsx)(SkeletonBlock, { className: "h-4 w-[80%] rounded-agg-sm" }),
|
|
1817
|
-
/* @__PURE__ */ (0, import_jsx_runtime50.jsx)(SkeletonBlock, { className: "h-4 w-[74%] rounded-agg-sm" })
|
|
1789
|
+
/* @__PURE__ */ (0, import_jsx_runtime50.jsx)(SkeletonBlock, { className: "h-4 w-full max-w-[320px] rounded-agg-sm" }),
|
|
1790
|
+
/* @__PURE__ */ (0, import_jsx_runtime50.jsx)(SkeletonBlock, { className: "h-4 w-full max-w-[280px] rounded-agg-sm" })
|
|
1818
1791
|
] })
|
|
1819
1792
|
] }),
|
|
1820
1793
|
/* @__PURE__ */ (0, import_jsx_runtime50.jsx)("div", { className: "h-px w-full bg-agg-separator" }),
|
|
1821
|
-
/* @__PURE__ */ (0, import_jsx_runtime50.jsxs)("div", { className: "flex flex-col gap-3", children: [
|
|
1822
|
-
/* @__PURE__ */ (0, import_jsx_runtime50.jsxs)("div", { className: "flex
|
|
1823
|
-
/* @__PURE__ */ (0, import_jsx_runtime50.
|
|
1824
|
-
|
|
1825
|
-
/* @__PURE__ */ (0, import_jsx_runtime50.jsx)(SkeletonBlock, { className: "h-5 w-24 rounded-agg-sm" }),
|
|
1826
|
-
/* @__PURE__ */ (0, import_jsx_runtime50.jsx)(SkeletonBlock, { className: "h-4 w-4 rounded-agg-sm" })
|
|
1827
|
-
] }),
|
|
1828
|
-
/* @__PURE__ */ (0, import_jsx_runtime50.jsxs)("div", { className: "flex flex-col gap-2 pl-6", children: [
|
|
1829
|
-
/* @__PURE__ */ (0, import_jsx_runtime50.jsx)(SkeletonBlock, { className: "h-4 w-full rounded-agg-sm" }),
|
|
1830
|
-
/* @__PURE__ */ (0, import_jsx_runtime50.jsx)(SkeletonBlock, { className: "h-4 w-[92%] rounded-agg-sm" }),
|
|
1831
|
-
/* @__PURE__ */ (0, import_jsx_runtime50.jsx)(SkeletonBlock, { className: "h-4 w-[34%] rounded-agg-sm" })
|
|
1832
|
-
] })
|
|
1794
|
+
/* @__PURE__ */ (0, import_jsx_runtime50.jsxs)("div", { className: "flex w-full flex-col gap-3", children: [
|
|
1795
|
+
/* @__PURE__ */ (0, import_jsx_runtime50.jsxs)("div", { className: "flex items-center gap-2", children: [
|
|
1796
|
+
/* @__PURE__ */ (0, import_jsx_runtime50.jsx)(SkeletonBlock, { className: "size-4 rounded-agg-sm" }),
|
|
1797
|
+
/* @__PURE__ */ (0, import_jsx_runtime50.jsx)(SkeletonBlock, { className: "h-5 w-[100px] rounded-agg-sm" })
|
|
1833
1798
|
] }),
|
|
1834
|
-
|
|
1835
|
-
/* @__PURE__ */ (0, import_jsx_runtime50.jsx)(SkeletonBlock, { className: "size-4 rounded-agg-
|
|
1836
|
-
/* @__PURE__ */ (0, import_jsx_runtime50.jsx)(SkeletonBlock, { className: "h-5 w-
|
|
1837
|
-
|
|
1838
|
-
] }, `settlement-venue-${index}`))
|
|
1799
|
+
/* @__PURE__ */ (0, import_jsx_runtime50.jsxs)("div", { className: "flex items-center gap-2", children: [
|
|
1800
|
+
/* @__PURE__ */ (0, import_jsx_runtime50.jsx)(SkeletonBlock, { className: "size-4 rounded-agg-sm" }),
|
|
1801
|
+
/* @__PURE__ */ (0, import_jsx_runtime50.jsx)(SkeletonBlock, { className: "h-5 w-[60px] rounded-agg-sm" })
|
|
1802
|
+
] })
|
|
1839
1803
|
] })
|
|
1840
1804
|
]
|
|
1841
1805
|
}
|
|
@@ -1879,14 +1843,247 @@ var Skeleton = ({ view, className, ariaLabel }) => {
|
|
|
1879
1843
|
};
|
|
1880
1844
|
Skeleton.displayName = "Skeleton";
|
|
1881
1845
|
|
|
1846
|
+
// src/primitives/button/index.tsx
|
|
1847
|
+
var import_hooks8 = require("@agg-market/hooks");
|
|
1848
|
+
|
|
1849
|
+
// src/primitives/button/button.constants.ts
|
|
1850
|
+
var sizeClasses = {
|
|
1851
|
+
small: cn("h-8 px-4 gap-1.5", "text-agg-sm leading-agg-5"),
|
|
1852
|
+
medium: cn("h-9 px-5 gap-1.5", "text-agg-sm leading-agg-5"),
|
|
1853
|
+
large: cn("h-10 px-6 gap-2", "text-agg-base leading-agg-6")
|
|
1854
|
+
};
|
|
1855
|
+
var iconSizeClasses2 = {
|
|
1856
|
+
small: iconSizeClasses.small,
|
|
1857
|
+
medium: iconSizeClasses.small,
|
|
1858
|
+
large: iconSizeClasses.small
|
|
1859
|
+
};
|
|
1860
|
+
var iconSlotClasses = {
|
|
1861
|
+
small: "[&_svg]:h-4 [&_svg]:w-4",
|
|
1862
|
+
medium: "[&_svg]:h-4 [&_svg]:w-4",
|
|
1863
|
+
large: "[&_svg]:h-4 [&_svg]:w-4"
|
|
1864
|
+
};
|
|
1865
|
+
var variantClasses = {
|
|
1866
|
+
primary: cn(
|
|
1867
|
+
"bg-agg-primary text-agg-on-primary",
|
|
1868
|
+
"hover:bg-agg-primary-hover",
|
|
1869
|
+
"disabled:bg-agg-separator disabled:text-agg-on-primary",
|
|
1870
|
+
"focus-visible:ring-agg-primary-hover"
|
|
1871
|
+
),
|
|
1872
|
+
secondary: cn(
|
|
1873
|
+
"border border-agg-separator bg-agg-secondary text-agg-foreground",
|
|
1874
|
+
"hover:bg-agg-secondary-hover",
|
|
1875
|
+
"disabled:bg-agg-secondary disabled:text-agg-muted-foreground disabled:border-agg-separator",
|
|
1876
|
+
"focus-visible:ring-agg-separator"
|
|
1877
|
+
),
|
|
1878
|
+
tertiary: cn(
|
|
1879
|
+
"bg-transparent text-agg-primary",
|
|
1880
|
+
"hover:text-agg-primary-hover",
|
|
1881
|
+
"disabled:bg-transparent disabled:text-agg-muted-foreground",
|
|
1882
|
+
"focus-visible:ring-agg-separator",
|
|
1883
|
+
"px-0! py-0! h-fit!"
|
|
1884
|
+
)
|
|
1885
|
+
};
|
|
1886
|
+
var baseButtonClasses = cn(
|
|
1887
|
+
"cursor-pointer disabled:cursor-not-allowed",
|
|
1888
|
+
"inline-flex items-center justify-center rounded-agg-full font-agg-sans font-agg-bold text-center",
|
|
1889
|
+
"whitespace-nowrap",
|
|
1890
|
+
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-offset-agg-secondary"
|
|
1891
|
+
);
|
|
1892
|
+
|
|
1893
|
+
// src/primitives/button/index.tsx
|
|
1894
|
+
var import_jsx_runtime52 = require("react/jsx-runtime");
|
|
1895
|
+
var Button = (_a) => {
|
|
1896
|
+
var _b = _a, {
|
|
1897
|
+
children,
|
|
1898
|
+
variant = "primary",
|
|
1899
|
+
size = "medium",
|
|
1900
|
+
isLoading = false,
|
|
1901
|
+
disabled,
|
|
1902
|
+
prefix,
|
|
1903
|
+
suffix,
|
|
1904
|
+
type = "button",
|
|
1905
|
+
className,
|
|
1906
|
+
"aria-label": ariaLabel
|
|
1907
|
+
} = _b, other = __objRest(_b, [
|
|
1908
|
+
"children",
|
|
1909
|
+
"variant",
|
|
1910
|
+
"size",
|
|
1911
|
+
"isLoading",
|
|
1912
|
+
"disabled",
|
|
1913
|
+
"prefix",
|
|
1914
|
+
"suffix",
|
|
1915
|
+
"type",
|
|
1916
|
+
"className",
|
|
1917
|
+
"aria-label"
|
|
1918
|
+
]);
|
|
1919
|
+
const { enableAnimations } = (0, import_hooks8.useSdkUiConfig)();
|
|
1920
|
+
const isDisabled = disabled || isLoading;
|
|
1921
|
+
return /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
|
|
1922
|
+
"button",
|
|
1923
|
+
__spreadProps(__spreadValues({
|
|
1924
|
+
type,
|
|
1925
|
+
className: cn(
|
|
1926
|
+
"group/agg-button",
|
|
1927
|
+
baseButtonClasses,
|
|
1928
|
+
getMotionClassName(enableAnimations, "transition-colors duration-200 ease-in-out"),
|
|
1929
|
+
sizeClasses[size],
|
|
1930
|
+
iconSlotClasses[size],
|
|
1931
|
+
variantClasses[variant],
|
|
1932
|
+
className
|
|
1933
|
+
),
|
|
1934
|
+
disabled: isDisabled,
|
|
1935
|
+
"aria-busy": isLoading,
|
|
1936
|
+
"aria-label": ariaLabel
|
|
1937
|
+
}, other), {
|
|
1938
|
+
children: isLoading ? /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
|
|
1939
|
+
"span",
|
|
1940
|
+
{
|
|
1941
|
+
className: cn(
|
|
1942
|
+
"inline-block rounded-agg-full border-2 border-current border-r-transparent",
|
|
1943
|
+
getMotionClassName(enableAnimations, "animate-spin"),
|
|
1944
|
+
iconSizeClasses2[size]
|
|
1945
|
+
),
|
|
1946
|
+
"aria-hidden": "true"
|
|
1947
|
+
}
|
|
1948
|
+
) : /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)(import_jsx_runtime52.Fragment, { children: [
|
|
1949
|
+
prefix != null ? prefix : null,
|
|
1950
|
+
/* @__PURE__ */ (0, import_jsx_runtime52.jsx)("span", { children }),
|
|
1951
|
+
suffix != null ? suffix : null
|
|
1952
|
+
] })
|
|
1953
|
+
})
|
|
1954
|
+
);
|
|
1955
|
+
};
|
|
1956
|
+
Button.displayName = "Button";
|
|
1957
|
+
|
|
1958
|
+
// src/primitives/search/search-empty-icon.tsx
|
|
1959
|
+
var import_jsx_runtime53 = require("react/jsx-runtime");
|
|
1960
|
+
var SearchEmptyIcon = (_a) => {
|
|
1961
|
+
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
1962
|
+
return /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(
|
|
1963
|
+
"svg",
|
|
1964
|
+
__spreadProps(__spreadValues(__spreadValues({
|
|
1965
|
+
viewBox: "0 0 40 40",
|
|
1966
|
+
fill: "none",
|
|
1967
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
1968
|
+
className
|
|
1969
|
+
}, getIconA11yProps(title)), props), {
|
|
1970
|
+
children: [
|
|
1971
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime53.jsx)("title", { children: title }) : null,
|
|
1972
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsx)("circle", { cx: "19.9987", cy: "20.0013", r: "9.2", stroke: "currentColor", strokeWidth: "1.6" }),
|
|
1973
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
|
|
1974
|
+
"ellipse",
|
|
1975
|
+
{
|
|
1976
|
+
cx: "19.9987",
|
|
1977
|
+
cy: "20.0012",
|
|
1978
|
+
rx: "17.2",
|
|
1979
|
+
ry: "6.6",
|
|
1980
|
+
transform: "rotate(-35 19.9987 20.0012)",
|
|
1981
|
+
stroke: "currentColor",
|
|
1982
|
+
strokeWidth: "1.6"
|
|
1983
|
+
}
|
|
1984
|
+
)
|
|
1985
|
+
]
|
|
1986
|
+
})
|
|
1987
|
+
);
|
|
1988
|
+
};
|
|
1989
|
+
SearchEmptyIcon.displayName = "SearchEmptyIcon";
|
|
1990
|
+
|
|
1991
|
+
// src/primitives/typography/typography.constants.ts
|
|
1992
|
+
var typographyVariantClasses = {
|
|
1993
|
+
display: cn("agg-type-display"),
|
|
1994
|
+
heading: cn("agg-type-heading"),
|
|
1995
|
+
title: cn("agg-type-title"),
|
|
1996
|
+
"title-strong": cn("agg-type-title-strong"),
|
|
1997
|
+
"body-large": cn("agg-type-body-large"),
|
|
1998
|
+
"body-large-strong": cn("agg-type-body-large-strong"),
|
|
1999
|
+
body: cn("agg-type-body"),
|
|
2000
|
+
"body-strong": cn("agg-type-body-strong"),
|
|
2001
|
+
label: cn("agg-type-label"),
|
|
2002
|
+
"label-strong": cn("agg-type-label-strong"),
|
|
2003
|
+
"label-caps": cn("agg-type-label-caps"),
|
|
2004
|
+
caption: cn("agg-type-caption"),
|
|
2005
|
+
"caption-strong": cn("agg-type-caption-strong"),
|
|
2006
|
+
"caption-caps": cn("agg-type-caption-caps"),
|
|
2007
|
+
overline: cn("agg-type-overline")
|
|
2008
|
+
};
|
|
2009
|
+
|
|
2010
|
+
// src/primitives/typography/index.tsx
|
|
2011
|
+
var import_jsx_runtime54 = require("react/jsx-runtime");
|
|
2012
|
+
var Typography = ({
|
|
2013
|
+
as: Component = "p",
|
|
2014
|
+
variant = "body",
|
|
2015
|
+
className,
|
|
2016
|
+
children
|
|
2017
|
+
}) => {
|
|
2018
|
+
return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
|
|
2019
|
+
Component,
|
|
2020
|
+
{
|
|
2021
|
+
className: cn(
|
|
2022
|
+
"group/agg-typography",
|
|
2023
|
+
"text-agg-foreground",
|
|
2024
|
+
typographyVariantClasses[variant],
|
|
2025
|
+
className
|
|
2026
|
+
),
|
|
2027
|
+
children
|
|
2028
|
+
}
|
|
2029
|
+
);
|
|
2030
|
+
};
|
|
2031
|
+
Typography.displayName = "Typography";
|
|
2032
|
+
|
|
2033
|
+
// src/primitives/state-message/index.tsx
|
|
2034
|
+
var import_jsx_runtime55 = require("react/jsx-runtime");
|
|
2035
|
+
var iconClassName = "h-9 w-9 text-agg-muted-foreground";
|
|
2036
|
+
var StateMessage = ({
|
|
2037
|
+
ariaLabel,
|
|
2038
|
+
tone = "empty",
|
|
2039
|
+
title,
|
|
2040
|
+
description,
|
|
2041
|
+
actionLabel,
|
|
2042
|
+
onAction,
|
|
2043
|
+
className
|
|
2044
|
+
}) => {
|
|
2045
|
+
const icon = tone === "warning" ? /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(WarningIcon, { className: iconClassName, "aria-hidden": true }) : /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(SearchEmptyIcon, { className: iconClassName, "aria-hidden": true });
|
|
2046
|
+
return /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
|
|
2047
|
+
"div",
|
|
2048
|
+
{
|
|
2049
|
+
className: cn(
|
|
2050
|
+
"flex min-h-[240px] w-full flex-col items-center justify-center px-5 py-10 text-center md:px-10",
|
|
2051
|
+
className
|
|
2052
|
+
),
|
|
2053
|
+
role: "status",
|
|
2054
|
+
"aria-live": "polite",
|
|
2055
|
+
"aria-label": ariaLabel,
|
|
2056
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)("div", { className: "flex max-w-[360px] flex-col items-center gap-6", children: [
|
|
2057
|
+
icon,
|
|
2058
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsxs)("div", { className: "flex flex-col items-center gap-2", children: [
|
|
2059
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsx)(Typography, { variant: "body-large-strong", children: title }),
|
|
2060
|
+
description ? /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(Typography, { variant: "body", className: "whitespace-pre-line text-agg-muted-foreground", children: description }) : null
|
|
2061
|
+
] }),
|
|
2062
|
+
actionLabel && onAction ? /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
|
|
2063
|
+
Button,
|
|
2064
|
+
{
|
|
2065
|
+
variant: "tertiary",
|
|
2066
|
+
size: "large",
|
|
2067
|
+
className: "text-agg-base leading-agg-6",
|
|
2068
|
+
"aria-label": actionLabel,
|
|
2069
|
+
onClick: onAction,
|
|
2070
|
+
children: actionLabel
|
|
2071
|
+
}
|
|
2072
|
+
) : null
|
|
2073
|
+
] })
|
|
2074
|
+
}
|
|
2075
|
+
);
|
|
2076
|
+
};
|
|
2077
|
+
StateMessage.displayName = "StateMessage";
|
|
2078
|
+
|
|
1882
2079
|
// src/primitives/tabs/index.tsx
|
|
1883
2080
|
var import_react2 = require("react");
|
|
1884
|
-
var
|
|
2081
|
+
var import_hooks10 = require("@agg-market/hooks");
|
|
1885
2082
|
|
|
1886
2083
|
// src/primitives/select/index.tsx
|
|
1887
2084
|
var import_react = require("react");
|
|
1888
|
-
var
|
|
1889
|
-
var
|
|
2085
|
+
var import_hooks9 = require("@agg-market/hooks");
|
|
2086
|
+
var import_jsx_runtime56 = require("react/jsx-runtime");
|
|
1890
2087
|
var Select = ({
|
|
1891
2088
|
items,
|
|
1892
2089
|
value,
|
|
@@ -1896,8 +2093,8 @@ var Select = ({
|
|
|
1896
2093
|
disabled = false
|
|
1897
2094
|
}) => {
|
|
1898
2095
|
var _a;
|
|
1899
|
-
const labels = (0,
|
|
1900
|
-
const { enableAnimations } = (0,
|
|
2096
|
+
const labels = (0, import_hooks9.useLabels)();
|
|
2097
|
+
const { enableAnimations } = (0, import_hooks9.useSdkUiConfig)();
|
|
1901
2098
|
const hasEnabledItems = items.some((item) => !item.disabled);
|
|
1902
2099
|
const hasAnyIcon = items.some((item) => item.iconUrl);
|
|
1903
2100
|
const [isOpen, setIsOpen] = (0, import_react.useState)(false);
|
|
@@ -1927,8 +2124,8 @@ var Select = ({
|
|
|
1927
2124
|
const isDisabled = disabled || !hasEnabledItems;
|
|
1928
2125
|
const selectedItem = items.find((item) => item.value === value);
|
|
1929
2126
|
if (!hasAnyIcon) {
|
|
1930
|
-
return /* @__PURE__ */ (0,
|
|
1931
|
-
/* @__PURE__ */ (0,
|
|
2127
|
+
return /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)("label", { className: cn("group/agg-select", "relative inline-flex w-full", className), children: [
|
|
2128
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
|
|
1932
2129
|
"select",
|
|
1933
2130
|
{
|
|
1934
2131
|
"aria-label": ariaLabel != null ? ariaLabel : labels.common.selectAria,
|
|
@@ -1944,19 +2141,19 @@ var Select = ({
|
|
|
1944
2141
|
disabled: isDisabled,
|
|
1945
2142
|
value,
|
|
1946
2143
|
onChange: (event) => onChange(event.target.value),
|
|
1947
|
-
children: items.map((item) => /* @__PURE__ */ (0,
|
|
2144
|
+
children: items.map((item) => /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("option", { value: item.value, disabled: item.disabled, children: item.label }, item.value))
|
|
1948
2145
|
}
|
|
1949
2146
|
),
|
|
1950
|
-
/* @__PURE__ */ (0,
|
|
2147
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.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_runtime56.jsx)(Icon, { name: "chevron-down", size: "small", color: "currentColor" }) })
|
|
1951
2148
|
] });
|
|
1952
2149
|
}
|
|
1953
|
-
return /* @__PURE__ */ (0,
|
|
2150
|
+
return /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(
|
|
1954
2151
|
"div",
|
|
1955
2152
|
{
|
|
1956
2153
|
ref: containerRef,
|
|
1957
2154
|
className: cn("group/agg-select", "relative inline-flex w-full", className),
|
|
1958
2155
|
children: [
|
|
1959
|
-
/* @__PURE__ */ (0,
|
|
2156
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(
|
|
1960
2157
|
"button",
|
|
1961
2158
|
{
|
|
1962
2159
|
type: "button",
|
|
@@ -1976,7 +2173,7 @@ var Select = ({
|
|
|
1976
2173
|
),
|
|
1977
2174
|
onClick: () => setIsOpen((prev) => !prev),
|
|
1978
2175
|
children: [
|
|
1979
|
-
(selectedItem == null ? void 0 : selectedItem.iconUrl) ? /* @__PURE__ */ (0,
|
|
2176
|
+
(selectedItem == null ? void 0 : selectedItem.iconUrl) ? /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
|
|
1980
2177
|
"img",
|
|
1981
2178
|
{
|
|
1982
2179
|
src: selectedItem.iconUrl,
|
|
@@ -1984,12 +2181,12 @@ var Select = ({
|
|
|
1984
2181
|
className: "h-4 w-4 shrink-0 rounded-sm object-contain"
|
|
1985
2182
|
}
|
|
1986
2183
|
) : null,
|
|
1987
|
-
/* @__PURE__ */ (0,
|
|
2184
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.jsx)("span", { className: "flex-1 truncate", children: (_a = selectedItem == null ? void 0 : selectedItem.label) != null ? _a : "" })
|
|
1988
2185
|
]
|
|
1989
2186
|
}
|
|
1990
2187
|
),
|
|
1991
|
-
/* @__PURE__ */ (0,
|
|
1992
|
-
isOpen ? /* @__PURE__ */ (0,
|
|
2188
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.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_runtime56.jsx)(Icon, { name: "chevron-down", size: "small", color: "currentColor" }) }),
|
|
2189
|
+
isOpen ? /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
|
|
1993
2190
|
"div",
|
|
1994
2191
|
{
|
|
1995
2192
|
role: "listbox",
|
|
@@ -1997,7 +2194,7 @@ var Select = ({
|
|
|
1997
2194
|
className: "absolute top-full left-0 z-50 mt-1 w-full overflow-hidden rounded-agg-md border border-agg-separator bg-agg-secondary shadow-lg",
|
|
1998
2195
|
children: items.map((item) => {
|
|
1999
2196
|
const isSelected = item.value === value;
|
|
2000
|
-
return /* @__PURE__ */ (0,
|
|
2197
|
+
return /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(
|
|
2001
2198
|
"button",
|
|
2002
2199
|
{
|
|
2003
2200
|
type: "button",
|
|
@@ -2017,7 +2214,7 @@ var Select = ({
|
|
|
2017
2214
|
}
|
|
2018
2215
|
},
|
|
2019
2216
|
children: [
|
|
2020
|
-
item.iconUrl ? /* @__PURE__ */ (0,
|
|
2217
|
+
item.iconUrl ? /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
|
|
2021
2218
|
"img",
|
|
2022
2219
|
{
|
|
2023
2220
|
src: item.iconUrl,
|
|
@@ -2025,7 +2222,7 @@ var Select = ({
|
|
|
2025
2222
|
className: "h-4 w-4 shrink-0 rounded-sm object-contain"
|
|
2026
2223
|
}
|
|
2027
2224
|
) : null,
|
|
2028
|
-
/* @__PURE__ */ (0,
|
|
2225
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.jsx)("span", { className: "truncate", children: item.label })
|
|
2029
2226
|
]
|
|
2030
2227
|
},
|
|
2031
2228
|
item.value
|
|
@@ -2064,7 +2261,7 @@ var findEdgeEnabledIndex = (items, direction) => {
|
|
|
2064
2261
|
};
|
|
2065
2262
|
|
|
2066
2263
|
// src/primitives/tabs/index.tsx
|
|
2067
|
-
var
|
|
2264
|
+
var import_jsx_runtime57 = require("react/jsx-runtime");
|
|
2068
2265
|
var mobileTabsMediaQuery = "(max-width: 512px)";
|
|
2069
2266
|
var getTabButtonClassName = ({
|
|
2070
2267
|
enableAnimations,
|
|
@@ -2104,8 +2301,8 @@ var Tabs = ({
|
|
|
2104
2301
|
className,
|
|
2105
2302
|
classNames
|
|
2106
2303
|
}) => {
|
|
2107
|
-
const labels = (0,
|
|
2108
|
-
const { enableAnimations } = (0,
|
|
2304
|
+
const labels = (0, import_hooks10.useLabels)();
|
|
2305
|
+
const { enableAnimations } = (0, import_hooks10.useSdkUiConfig)();
|
|
2109
2306
|
const buttonRefs = (0, import_react2.useRef)([]);
|
|
2110
2307
|
const dragStateRef = (0, import_react2.useRef)({
|
|
2111
2308
|
isPointerDown: false,
|
|
@@ -2421,7 +2618,7 @@ var Tabs = ({
|
|
|
2421
2618
|
});
|
|
2422
2619
|
}, [enableAnimations, renderedItems, shouldUseOverflowScroll, value]);
|
|
2423
2620
|
if (shouldUseOverflowSelect) {
|
|
2424
|
-
return /* @__PURE__ */ (0,
|
|
2621
|
+
return /* @__PURE__ */ (0, import_jsx_runtime57.jsx)("div", { className: cn("w-full", className, classNames == null ? void 0 : classNames.root), children: /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
|
|
2425
2622
|
Select,
|
|
2426
2623
|
{
|
|
2427
2624
|
ariaLabel,
|
|
@@ -2433,7 +2630,7 @@ var Tabs = ({
|
|
|
2433
2630
|
}
|
|
2434
2631
|
) });
|
|
2435
2632
|
}
|
|
2436
|
-
return /* @__PURE__ */ (0,
|
|
2633
|
+
return /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)(
|
|
2437
2634
|
"div",
|
|
2438
2635
|
{
|
|
2439
2636
|
className: cn(
|
|
@@ -2444,7 +2641,7 @@ var Tabs = ({
|
|
|
2444
2641
|
classNames == null ? void 0 : classNames.root
|
|
2445
2642
|
),
|
|
2446
2643
|
children: [
|
|
2447
|
-
/* @__PURE__ */ (0,
|
|
2644
|
+
/* @__PURE__ */ (0, import_jsx_runtime57.jsxs)(
|
|
2448
2645
|
"div",
|
|
2449
2646
|
{
|
|
2450
2647
|
ref: tabListRef,
|
|
@@ -2460,7 +2657,7 @@ var Tabs = ({
|
|
|
2460
2657
|
children: [
|
|
2461
2658
|
renderedItems.map((item, index) => {
|
|
2462
2659
|
const isActive = item.value === value;
|
|
2463
|
-
return /* @__PURE__ */ (0,
|
|
2660
|
+
return /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)(
|
|
2464
2661
|
"button",
|
|
2465
2662
|
{
|
|
2466
2663
|
ref: (buttonElement) => {
|
|
@@ -2489,7 +2686,7 @@ var Tabs = ({
|
|
|
2489
2686
|
shouldUseOverflowScroll && !isBarVariant && "snap-start"
|
|
2490
2687
|
),
|
|
2491
2688
|
children: [
|
|
2492
|
-
isBarVariant ? /* @__PURE__ */ (0,
|
|
2689
|
+
isBarVariant ? /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(import_jsx_runtime57.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
|
|
2493
2690
|
"span",
|
|
2494
2691
|
{
|
|
2495
2692
|
"aria-hidden": true,
|
|
@@ -2503,14 +2700,14 @@ var Tabs = ({
|
|
|
2503
2700
|
)
|
|
2504
2701
|
}
|
|
2505
2702
|
) }) : null,
|
|
2506
|
-
item.icon ? /* @__PURE__ */ (0,
|
|
2507
|
-
/* @__PURE__ */ (0,
|
|
2703
|
+
item.icon ? /* @__PURE__ */ (0, import_jsx_runtime57.jsx)("span", { className: "relative z-10 inline-flex shrink-0 items-center justify-center", children: item.icon }) : null,
|
|
2704
|
+
/* @__PURE__ */ (0, import_jsx_runtime57.jsx)("span", { className: "relative z-10 truncate whitespace-nowrap [&::first-letter]:uppercase", children: item.label })
|
|
2508
2705
|
]
|
|
2509
2706
|
},
|
|
2510
2707
|
item.value
|
|
2511
2708
|
);
|
|
2512
2709
|
}),
|
|
2513
|
-
!isBarVariant ? /* @__PURE__ */ (0,
|
|
2710
|
+
!isBarVariant ? /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
|
|
2514
2711
|
"span",
|
|
2515
2712
|
{
|
|
2516
2713
|
"aria-hidden": true,
|
|
@@ -2528,8 +2725,8 @@ var Tabs = ({
|
|
|
2528
2725
|
]
|
|
2529
2726
|
}
|
|
2530
2727
|
),
|
|
2531
|
-
shouldUseOverflowScroll && !isBarVariant ? /* @__PURE__ */ (0,
|
|
2532
|
-
/* @__PURE__ */ (0,
|
|
2728
|
+
shouldUseOverflowScroll && !isBarVariant ? /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)(import_jsx_runtime57.Fragment, { children: [
|
|
2729
|
+
/* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
|
|
2533
2730
|
"span",
|
|
2534
2731
|
{
|
|
2535
2732
|
"aria-hidden": true,
|
|
@@ -2540,7 +2737,7 @@ var Tabs = ({
|
|
|
2540
2737
|
)
|
|
2541
2738
|
}
|
|
2542
2739
|
),
|
|
2543
|
-
/* @__PURE__ */ (0,
|
|
2740
|
+
/* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
|
|
2544
2741
|
"span",
|
|
2545
2742
|
{
|
|
2546
2743
|
"aria-hidden": true,
|
|
@@ -2558,50 +2755,8 @@ var Tabs = ({
|
|
|
2558
2755
|
};
|
|
2559
2756
|
Tabs.displayName = "Tabs";
|
|
2560
2757
|
|
|
2561
|
-
// src/primitives/typography/typography.constants.ts
|
|
2562
|
-
var typographyVariantClasses = {
|
|
2563
|
-
display: cn("agg-type-display"),
|
|
2564
|
-
heading: cn("agg-type-heading"),
|
|
2565
|
-
title: cn("agg-type-title"),
|
|
2566
|
-
"title-strong": cn("agg-type-title-strong"),
|
|
2567
|
-
"body-large": cn("agg-type-body-large"),
|
|
2568
|
-
"body-large-strong": cn("agg-type-body-large-strong"),
|
|
2569
|
-
body: cn("agg-type-body"),
|
|
2570
|
-
"body-strong": cn("agg-type-body-strong"),
|
|
2571
|
-
label: cn("agg-type-label"),
|
|
2572
|
-
"label-strong": cn("agg-type-label-strong"),
|
|
2573
|
-
"label-caps": cn("agg-type-label-caps"),
|
|
2574
|
-
caption: cn("agg-type-caption"),
|
|
2575
|
-
"caption-strong": cn("agg-type-caption-strong"),
|
|
2576
|
-
"caption-caps": cn("agg-type-caption-caps"),
|
|
2577
|
-
overline: cn("agg-type-overline")
|
|
2578
|
-
};
|
|
2579
|
-
|
|
2580
|
-
// src/primitives/typography/index.tsx
|
|
2581
|
-
var import_jsx_runtime54 = require("react/jsx-runtime");
|
|
2582
|
-
var Typography = ({
|
|
2583
|
-
as: Component = "p",
|
|
2584
|
-
variant = "body",
|
|
2585
|
-
className,
|
|
2586
|
-
children
|
|
2587
|
-
}) => {
|
|
2588
|
-
return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
|
|
2589
|
-
Component,
|
|
2590
|
-
{
|
|
2591
|
-
className: cn(
|
|
2592
|
-
"group/agg-typography",
|
|
2593
|
-
"text-agg-foreground",
|
|
2594
|
-
typographyVariantClasses[variant],
|
|
2595
|
-
className
|
|
2596
|
-
),
|
|
2597
|
-
children
|
|
2598
|
-
}
|
|
2599
|
-
);
|
|
2600
|
-
};
|
|
2601
|
-
Typography.displayName = "Typography";
|
|
2602
|
-
|
|
2603
2758
|
// src/primitives/venue-logo/index.tsx
|
|
2604
|
-
var
|
|
2759
|
+
var import_hooks11 = require("@agg-market/hooks");
|
|
2605
2760
|
|
|
2606
2761
|
// src/primitives/venue-logo/logo-props.ts
|
|
2607
2762
|
var DEFAULT_MONOCHROME_COLOR = "currentColor";
|
|
@@ -2618,7 +2773,7 @@ var resolveLogoPrimaryColor = ({
|
|
|
2618
2773
|
};
|
|
2619
2774
|
|
|
2620
2775
|
// src/primitives/venue-logo/svg/logo-kalshi.tsx
|
|
2621
|
-
var
|
|
2776
|
+
var import_jsx_runtime58 = require("react/jsx-runtime");
|
|
2622
2777
|
var KALSHI_GREEN = "#18C590";
|
|
2623
2778
|
var LogoKalshiIcon = (_a) => {
|
|
2624
2779
|
var _b = _a, {
|
|
@@ -2637,7 +2792,7 @@ var LogoKalshiIcon = (_a) => {
|
|
|
2637
2792
|
isColor,
|
|
2638
2793
|
color
|
|
2639
2794
|
});
|
|
2640
|
-
return /* @__PURE__ */ (0,
|
|
2795
|
+
return /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)(
|
|
2641
2796
|
"svg",
|
|
2642
2797
|
__spreadProps(__spreadValues(__spreadValues({
|
|
2643
2798
|
viewBox: "0 0 100 100",
|
|
@@ -2645,8 +2800,8 @@ var LogoKalshiIcon = (_a) => {
|
|
|
2645
2800
|
fill: "none"
|
|
2646
2801
|
}, getIconA11yProps(title)), props), {
|
|
2647
2802
|
children: [
|
|
2648
|
-
title ? /* @__PURE__ */ (0,
|
|
2649
|
-
/* @__PURE__ */ (0,
|
|
2803
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("title", { children: title }) : null,
|
|
2804
|
+
/* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
|
|
2650
2805
|
"path",
|
|
2651
2806
|
{
|
|
2652
2807
|
d: "M54.9798 47.579L79.4249 85.9995H58.2273L38.2531 52.9344V85.9995H20.4189V13.9995H38.2531V45.4356L59.6547 13.9995H78.7119L54.9798 47.579Z",
|
|
@@ -2660,7 +2815,7 @@ var LogoKalshiIcon = (_a) => {
|
|
|
2660
2815
|
LogoKalshiIcon.displayName = "LogoKalshiIcon";
|
|
2661
2816
|
|
|
2662
2817
|
// src/primitives/venue-logo/svg/logo-opinion.tsx
|
|
2663
|
-
var
|
|
2818
|
+
var import_jsx_runtime59 = require("react/jsx-runtime");
|
|
2664
2819
|
var OPINION_BLACK = "#000000";
|
|
2665
2820
|
var LogoOpinionIcon = (_a) => {
|
|
2666
2821
|
var _b = _a, {
|
|
@@ -2679,7 +2834,7 @@ var LogoOpinionIcon = (_a) => {
|
|
|
2679
2834
|
isColor,
|
|
2680
2835
|
color
|
|
2681
2836
|
});
|
|
2682
|
-
return /* @__PURE__ */ (0,
|
|
2837
|
+
return /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)(
|
|
2683
2838
|
"svg",
|
|
2684
2839
|
__spreadProps(__spreadValues(__spreadValues({
|
|
2685
2840
|
viewBox: "0 0 100 100",
|
|
@@ -2687,8 +2842,8 @@ var LogoOpinionIcon = (_a) => {
|
|
|
2687
2842
|
fill: "none"
|
|
2688
2843
|
}, getIconA11yProps(title)), props), {
|
|
2689
2844
|
children: [
|
|
2690
|
-
title ? /* @__PURE__ */ (0,
|
|
2691
|
-
/* @__PURE__ */ (0,
|
|
2845
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("title", { children: title }) : null,
|
|
2846
|
+
/* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
|
|
2692
2847
|
"path",
|
|
2693
2848
|
{
|
|
2694
2849
|
d: "M51.8239 68.4603L56.9659 68.0094L58.8049 89.0576C61.1459 88.5314 63.4349 87.7952 65.6437 86.8578V68.1879H71.9955V83.4385C74.6496 81.6828 77.0863 79.619 79.2548 77.2898L80.0716 67.958L85.516 68.433C88.6185 62.4381 90.156 55.7558 89.9858 49.0072C89.8154 42.2584 87.9429 35.6623 84.542 29.8316L84.3394 32.1494L77.9876 31.5927L78.8042 22.2668C76.7468 20.1288 74.4594 18.225 71.9835 16.5902V31.9164H65.6317V13.1739C62.9224 12.0205 60.0929 11.173 57.1957 10.6473L59.0317 31.6441L53.8897 32.0949L51.9599 10.0482C51.3128 10.0179 50.6593 9.99976 50.006 9.99976C47.4581 9.99976 44.9161 10.2419 42.414 10.723L46.0438 31.3899L42.1297 32.0798L38.5304 11.6701C35.1755 12.6725 31.9677 14.1143 28.9905 15.9578L33.0435 31.0873L29.9705 31.9134L26.2018 17.8369C23.2938 19.9923 20.6902 22.5308 18.4615 25.3835L20.4246 30.7787L18.1833 31.5956L16.7707 27.7134C14.5111 31.0771 12.7772 34.7657 11.6287 38.652L12.2639 38.4221L20.4306 60.8471L18.1893 61.6641L10.8877 41.5963C9.21542 49.4012 9.91256 57.528 12.8896 64.9338C15.8667 72.3395 20.9879 78.6865 27.5961 83.1601L23.8031 68.9989L26.8762 68.1728L31.5162 85.4991C34.6952 87.1593 38.0844 88.3808 41.5914 89.1303L38.0132 68.7296L41.9301 68.0397L45.7684 89.8262C47.1811 89.9757 48.6007 90.0505 50.0212 90.0502C51.2583 90.0502 52.4863 89.9926 53.6963 89.8807L51.8239 68.4603ZM80.1017 37.8985L86.4385 38.4524L84.3605 62.2299L78.0087 61.6761L80.1017 37.8985ZM65.6528 38.1315H72.0046V61.9969H65.6528V38.1315ZM56.975 37.9501L59.053 61.7277L53.911 62.1785L51.8299 38.4009L56.975 37.9501ZM29.9976 62.003L23.8243 38.9486L26.8974 38.1255L33.0707 61.1649L29.9976 62.003ZM42.157 62.1603L38.0132 38.658L41.9301 37.9683L46.0709 61.4674L42.157 62.1603Z",
|
|
@@ -2702,7 +2857,7 @@ var LogoOpinionIcon = (_a) => {
|
|
|
2702
2857
|
LogoOpinionIcon.displayName = "LogoOpinionIcon";
|
|
2703
2858
|
|
|
2704
2859
|
// src/primitives/venue-logo/svg/logo-polymarket.tsx
|
|
2705
|
-
var
|
|
2860
|
+
var import_jsx_runtime60 = require("react/jsx-runtime");
|
|
2706
2861
|
var POLYMARKET_BLUE = "#2E5CFF";
|
|
2707
2862
|
var LogoPolymarketIcon = (_a) => {
|
|
2708
2863
|
var _b = _a, {
|
|
@@ -2721,7 +2876,7 @@ var LogoPolymarketIcon = (_a) => {
|
|
|
2721
2876
|
isColor,
|
|
2722
2877
|
color
|
|
2723
2878
|
});
|
|
2724
|
-
return /* @__PURE__ */ (0,
|
|
2879
|
+
return /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)(
|
|
2725
2880
|
"svg",
|
|
2726
2881
|
__spreadProps(__spreadValues(__spreadValues({
|
|
2727
2882
|
viewBox: "0 0 100 100",
|
|
@@ -2729,8 +2884,8 @@ var LogoPolymarketIcon = (_a) => {
|
|
|
2729
2884
|
fill: "none"
|
|
2730
2885
|
}, getIconA11yProps(title)), props), {
|
|
2731
2886
|
children: [
|
|
2732
|
-
title ? /* @__PURE__ */ (0,
|
|
2733
|
-
/* @__PURE__ */ (0,
|
|
2887
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("title", { children: title }) : null,
|
|
2888
|
+
/* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
|
|
2734
2889
|
"path",
|
|
2735
2890
|
{
|
|
2736
2891
|
d: "M81.0904 84.2882C81.0904 87.9246 81.0904 89.7428 79.901 90.644C78.7119 91.5456 76.9613 91.0542 73.4603 90.0717L17.1975 74.2838C15.0881 73.6919 14.0332 73.3959 13.4233 72.5913C12.8135 71.7866 12.8135 70.6911 12.8135 68.5002V31.4998C12.8135 29.309 12.8135 28.2134 13.4233 27.4088C14.0332 26.6042 15.0881 26.3081 17.1975 25.7163L73.4603 9.92806C76.9613 8.94572 78.7119 8.45448 79.901 9.35587C81.0904 10.2573 81.0904 12.0755 81.0904 15.7119V84.2882ZM26.8451 69.1363L73.4308 82.2104V56.0637L26.8451 69.1363ZM20.4723 63.0711L67.0487 50L20.4723 36.929V63.0711ZM26.8446 30.8638L73.4308 43.9366V17.7896L26.8446 30.8638Z",
|
|
@@ -2744,7 +2899,7 @@ var LogoPolymarketIcon = (_a) => {
|
|
|
2744
2899
|
LogoPolymarketIcon.displayName = "LogoPolymarketIcon";
|
|
2745
2900
|
|
|
2746
2901
|
// src/primitives/venue-logo/svg/logo-probable.tsx
|
|
2747
|
-
var
|
|
2902
|
+
var import_jsx_runtime61 = require("react/jsx-runtime");
|
|
2748
2903
|
var PROBABLE_ORANGE = "#F05923";
|
|
2749
2904
|
var LogoProbableIcon = (_a) => {
|
|
2750
2905
|
var _b = _a, {
|
|
@@ -2763,7 +2918,7 @@ var LogoProbableIcon = (_a) => {
|
|
|
2763
2918
|
isColor,
|
|
2764
2919
|
color
|
|
2765
2920
|
});
|
|
2766
|
-
return /* @__PURE__ */ (0,
|
|
2921
|
+
return /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)(
|
|
2767
2922
|
"svg",
|
|
2768
2923
|
__spreadProps(__spreadValues(__spreadValues({
|
|
2769
2924
|
viewBox: "0 0 100 100",
|
|
@@ -2771,16 +2926,16 @@ var LogoProbableIcon = (_a) => {
|
|
|
2771
2926
|
fill: "none"
|
|
2772
2927
|
}, getIconA11yProps(title)), props), {
|
|
2773
2928
|
children: [
|
|
2774
|
-
title ? /* @__PURE__ */ (0,
|
|
2775
|
-
/* @__PURE__ */ (0,
|
|
2929
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime61.jsx)("title", { children: title }) : null,
|
|
2930
|
+
/* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
|
|
2776
2931
|
"path",
|
|
2777
2932
|
{
|
|
2778
2933
|
d: "M75.625 59.3489C75.6247 53.7323 71.0719 49.1792 65.4551 49.179H33.9209C28.3039 49.179 23.7503 53.7321 23.75 59.3489C23.75 64.9659 28.3038 69.5198 33.9209 69.5198H65.4551C71.0719 69.5195 75.625 64.9658 75.625 59.3489ZM90.625 59.3489C90.625 73.2501 79.3562 84.5195 65.4551 84.5198H33.9209C20.0196 84.5198 8.75 73.2502 8.75 59.3489C8.75026 45.4477 20.0198 34.179 33.9209 34.179H65.4551C79.3559 34.1792 90.6247 45.4478 90.625 59.3489Z",
|
|
2779
2934
|
fill: primaryColor
|
|
2780
2935
|
}
|
|
2781
2936
|
),
|
|
2782
|
-
/* @__PURE__ */ (0,
|
|
2783
|
-
/* @__PURE__ */ (0,
|
|
2937
|
+
/* @__PURE__ */ (0, import_jsx_runtime61.jsx)("path", { d: "M90.9329 15.4546V30.4546H8.90234V15.4546H90.9329Z", fill: primaryColor }),
|
|
2938
|
+
/* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
|
|
2784
2939
|
"path",
|
|
2785
2940
|
{
|
|
2786
2941
|
d: "M64.5742 51.3496C68.9894 51.3496 72.5742 54.9344 72.5742 59.3496C72.5742 63.7648 68.9894 67.3496 64.5742 67.3496C60.159 67.3496 56.5742 63.7648 56.5742 59.3496C56.5742 54.9344 60.159 51.3496 64.5742 51.3496Z",
|
|
@@ -2808,14 +2963,14 @@ var venueLogoUrlRegistry = {
|
|
|
2808
2963
|
probable: `${VENUE_LOGO_BASE_URL}/probable.png`
|
|
2809
2964
|
};
|
|
2810
2965
|
var venueLogoNames = Object.keys(venueLogoRegistry);
|
|
2811
|
-
var
|
|
2966
|
+
var sizeClasses2 = {
|
|
2812
2967
|
small: "h-4 w-4",
|
|
2813
2968
|
medium: "h-6 w-6",
|
|
2814
2969
|
large: "h-8 w-8"
|
|
2815
2970
|
};
|
|
2816
2971
|
|
|
2817
2972
|
// src/primitives/venue-logo/index.tsx
|
|
2818
|
-
var
|
|
2973
|
+
var import_jsx_runtime62 = require("react/jsx-runtime");
|
|
2819
2974
|
var VenueLogo = ({
|
|
2820
2975
|
venue,
|
|
2821
2976
|
variant = "icon",
|
|
@@ -2827,11 +2982,11 @@ var VenueLogo = ({
|
|
|
2827
2982
|
ariaLabel,
|
|
2828
2983
|
title
|
|
2829
2984
|
}) => {
|
|
2830
|
-
const labels = (0,
|
|
2831
|
-
const sizeClass =
|
|
2985
|
+
const labels = (0, import_hooks11.useLabels)();
|
|
2986
|
+
const sizeClass = sizeClasses2[size];
|
|
2832
2987
|
const resolvedLabel = ariaLabel != null ? ariaLabel : labels.venues[venue];
|
|
2833
2988
|
if (variant === "logo") {
|
|
2834
|
-
return /* @__PURE__ */ (0,
|
|
2989
|
+
return /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
|
|
2835
2990
|
"img",
|
|
2836
2991
|
{
|
|
2837
2992
|
src: venueLogoUrlRegistry[venue],
|
|
@@ -2843,7 +2998,7 @@ var VenueLogo = ({
|
|
|
2843
2998
|
}
|
|
2844
2999
|
const Component = venueLogoRegistry[venue];
|
|
2845
3000
|
const resolvedIsColor = isMonochromatic ? false : isColor;
|
|
2846
|
-
return /* @__PURE__ */ (0,
|
|
3001
|
+
return /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
|
|
2847
3002
|
Component,
|
|
2848
3003
|
{
|
|
2849
3004
|
className: cn("group/agg-venue-logo", "shrink-0", sizeClass, className),
|
|
@@ -2859,10 +3014,10 @@ VenueLogo.displayName = "VenueLogo";
|
|
|
2859
3014
|
// src/events/item/index.tsx
|
|
2860
3015
|
var import_dayjs = __toESM(require("dayjs"));
|
|
2861
3016
|
var import_react3 = require("react");
|
|
2862
|
-
var
|
|
3017
|
+
var import_hooks13 = require("@agg-market/hooks");
|
|
2863
3018
|
|
|
2864
3019
|
// src/primitives/badge/index.tsx
|
|
2865
|
-
var
|
|
3020
|
+
var import_hooks12 = require("@agg-market/hooks");
|
|
2866
3021
|
|
|
2867
3022
|
// src/primitives/badge/badge.constants.ts
|
|
2868
3023
|
var badgeSizeClasses = {
|
|
@@ -2876,7 +3031,7 @@ var baseBadgeClasses = cn(
|
|
|
2876
3031
|
);
|
|
2877
3032
|
|
|
2878
3033
|
// src/primitives/badge/index.tsx
|
|
2879
|
-
var
|
|
3034
|
+
var import_jsx_runtime63 = require("react/jsx-runtime");
|
|
2880
3035
|
function Badge({
|
|
2881
3036
|
text,
|
|
2882
3037
|
prefix,
|
|
@@ -2886,10 +3041,10 @@ function Badge({
|
|
|
2886
3041
|
onClick,
|
|
2887
3042
|
isActive = false
|
|
2888
3043
|
}) {
|
|
2889
|
-
const { enableAnimations } = (0,
|
|
3044
|
+
const { enableAnimations } = (0, import_hooks12.useSdkUiConfig)();
|
|
2890
3045
|
const resolvedText = `${text}`;
|
|
2891
3046
|
const resolvedAriaLabel = resolvedText.length > 0 ? resolvedText : void 0;
|
|
2892
|
-
return /* @__PURE__ */ (0,
|
|
3047
|
+
return /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)(
|
|
2893
3048
|
"span",
|
|
2894
3049
|
__spreadProps(__spreadValues({
|
|
2895
3050
|
"aria-label": resolvedAriaLabel,
|
|
@@ -2907,38 +3062,36 @@ function Badge({
|
|
|
2907
3062
|
)
|
|
2908
3063
|
}, onClick && { onClick }), {
|
|
2909
3064
|
children: [
|
|
2910
|
-
prefix ? /* @__PURE__ */ (0,
|
|
2911
|
-
/* @__PURE__ */ (0,
|
|
2912
|
-
suffix ? /* @__PURE__ */ (0,
|
|
3065
|
+
prefix ? /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("span", { className: classNames == null ? void 0 : classNames.prefix, children: prefix }) : null,
|
|
3066
|
+
/* @__PURE__ */ (0, import_jsx_runtime63.jsx)("span", { className: cn("truncate", classNames == null ? void 0 : classNames.text), children: text }),
|
|
3067
|
+
suffix ? /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("span", { className: classNames == null ? void 0 : classNames.suffix, children: suffix }) : null
|
|
2913
3068
|
]
|
|
2914
3069
|
})
|
|
2915
3070
|
);
|
|
2916
3071
|
}
|
|
2917
3072
|
Badge.displayName = "Badge";
|
|
2918
3073
|
|
|
3074
|
+
// src/shared/query-error.ts
|
|
3075
|
+
var getErrorStatus = (error) => {
|
|
3076
|
+
if (!error || typeof error !== "object")
|
|
3077
|
+
return null;
|
|
3078
|
+
const status = error.status;
|
|
3079
|
+
return typeof status === "number" ? status : null;
|
|
3080
|
+
};
|
|
3081
|
+
var isErrorWithStatus = (error, status) => {
|
|
3082
|
+
return getErrorStatus(error) === status;
|
|
3083
|
+
};
|
|
3084
|
+
|
|
2919
3085
|
// src/events/item/event-list-item.utils.ts
|
|
2920
3086
|
var resolveEventListItemEvent = (fetchedEvent) => {
|
|
2921
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j;
|
|
2922
3087
|
if (!fetchedEvent)
|
|
2923
3088
|
return void 0;
|
|
2924
|
-
const fallbackVenueEvent = fetchedEvent.venueEvents[0];
|
|
2925
|
-
if (!fallbackVenueEvent)
|
|
2926
|
-
return void 0;
|
|
2927
3089
|
const mergedVenueMarkets = fetchedEvent.markets.flatMap(
|
|
2928
|
-
(
|
|
3090
|
+
(market) => market.venueMarkets
|
|
2929
3091
|
);
|
|
2930
|
-
|
|
2931
|
-
if ((venueMarkets == null ? void 0 : venueMarkets.length) === 0)
|
|
3092
|
+
if (mergedVenueMarkets.length === 0)
|
|
2932
3093
|
return void 0;
|
|
2933
|
-
return
|
|
2934
|
-
id: fetchedEvent.id,
|
|
2935
|
-
title: fetchedEvent.title || fallbackVenueEvent.title,
|
|
2936
|
-
description: (_b = (_a = fetchedEvent.description) != null ? _a : fallbackVenueEvent.description) != null ? _b : null,
|
|
2937
|
-
volume: (_d = (_c = fetchedEvent.volume) != null ? _c : fallbackVenueEvent.volume) != null ? _d : null,
|
|
2938
|
-
startDate: (_f = (_e = fetchedEvent.startDate) != null ? _e : fallbackVenueEvent.startDate) != null ? _f : null,
|
|
2939
|
-
endDate: (_h = (_g = fetchedEvent.endDate) != null ? _g : fallbackVenueEvent.endDate) != null ? _h : null,
|
|
2940
|
-
creationDate: (_j = (_i = fetchedEvent.creationDate) != null ? _i : fallbackVenueEvent.creationDate) != null ? _j : null
|
|
2941
|
-
});
|
|
3094
|
+
return fetchedEvent;
|
|
2942
3095
|
};
|
|
2943
3096
|
var normalizeProbability = (value) => {
|
|
2944
3097
|
if (typeof value !== "number" || !Number.isFinite(value))
|
|
@@ -3039,15 +3192,14 @@ var resolveTileTitle = (event, primaryVenueMarket, titleOverride) => {
|
|
|
3039
3192
|
return event.title;
|
|
3040
3193
|
};
|
|
3041
3194
|
var resolveTileImage = (event, primaryVenueMarket, imageOverride) => {
|
|
3042
|
-
var _a, _b, _c, _d, _e, _f;
|
|
3043
3195
|
if (typeof imageOverride === "string" && imageOverride.trim()) {
|
|
3044
3196
|
return imageOverride;
|
|
3045
3197
|
}
|
|
3046
3198
|
if (typeof (primaryVenueMarket == null ? void 0 : primaryVenueMarket.image) === "string" && primaryVenueMarket.image.trim()) {
|
|
3047
3199
|
return primaryVenueMarket.image;
|
|
3048
3200
|
}
|
|
3049
|
-
if (typeof
|
|
3050
|
-
return
|
|
3201
|
+
if (typeof event.image === "string" && event.image.trim()) {
|
|
3202
|
+
return event.image;
|
|
3051
3203
|
}
|
|
3052
3204
|
return void 0;
|
|
3053
3205
|
};
|
|
@@ -3070,13 +3222,13 @@ var resolveVenueLabel = (venue, venueInfo, labels) => {
|
|
|
3070
3222
|
};
|
|
3071
3223
|
|
|
3072
3224
|
// src/events/item/index.tsx
|
|
3073
|
-
var
|
|
3225
|
+
var import_jsx_runtime64 = require("react/jsx-runtime");
|
|
3074
3226
|
var EventListItemLoadingState = ({
|
|
3075
3227
|
classNames,
|
|
3076
3228
|
ariaLabel
|
|
3077
3229
|
}) => {
|
|
3078
|
-
const labels = (0,
|
|
3079
|
-
return /* @__PURE__ */ (0,
|
|
3230
|
+
const labels = (0, import_hooks13.useLabels)();
|
|
3231
|
+
return /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(
|
|
3080
3232
|
Skeleton,
|
|
3081
3233
|
{
|
|
3082
3234
|
view: "event-list-item",
|
|
@@ -3089,20 +3241,35 @@ var EventListItemUnavailableState = ({
|
|
|
3089
3241
|
classNames,
|
|
3090
3242
|
ariaLabel
|
|
3091
3243
|
}) => {
|
|
3092
|
-
const labels = (0,
|
|
3093
|
-
return /* @__PURE__ */ (0,
|
|
3244
|
+
const labels = (0, import_hooks13.useLabels)();
|
|
3245
|
+
return /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(
|
|
3094
3246
|
Card,
|
|
3095
3247
|
{
|
|
3096
3248
|
className: cn(baseCardClassName, classNames == null ? void 0 : classNames.root),
|
|
3097
3249
|
role: "status",
|
|
3098
3250
|
"aria-label": ariaLabel != null ? ariaLabel : labels.eventItem.unavailableAria,
|
|
3099
|
-
children: /* @__PURE__ */ (0,
|
|
3100
|
-
/* @__PURE__ */ (0,
|
|
3101
|
-
/* @__PURE__ */ (0,
|
|
3251
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime64.jsxs)("div", { className: cn("flex flex-col gap-1", classNames == null ? void 0 : classNames.header), children: [
|
|
3252
|
+
/* @__PURE__ */ (0, import_jsx_runtime64.jsx)(Typography, { variant: "body-large-strong", className: cn("truncate", classNames == null ? void 0 : classNames.title), children: labels.eventItem.unavailableTitle }),
|
|
3253
|
+
/* @__PURE__ */ (0, import_jsx_runtime64.jsx)(Typography, { variant: "body", className: "text-agg-muted-foreground", children: labels.eventItem.unavailableDescription })
|
|
3102
3254
|
] })
|
|
3103
3255
|
}
|
|
3104
3256
|
);
|
|
3105
3257
|
};
|
|
3258
|
+
var EventListItemNotFoundState = ({
|
|
3259
|
+
classNames,
|
|
3260
|
+
ariaLabel
|
|
3261
|
+
}) => {
|
|
3262
|
+
const labels = (0, import_hooks13.useLabels)();
|
|
3263
|
+
return /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(Card, { className: cn("w-full gap-0 overflow-hidden p-0", classNames == null ? void 0 : classNames.root), children: /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(
|
|
3264
|
+
StateMessage,
|
|
3265
|
+
{
|
|
3266
|
+
ariaLabel: ariaLabel != null ? ariaLabel : labels.eventItemDetails.notFoundAria,
|
|
3267
|
+
title: labels.eventItemDetails.notFoundTitle,
|
|
3268
|
+
description: labels.eventItemDetails.notFoundDescription,
|
|
3269
|
+
className: "min-h-[280px] md:min-h-[320px]"
|
|
3270
|
+
}
|
|
3271
|
+
) });
|
|
3272
|
+
};
|
|
3106
3273
|
var EventListItemContent = ({
|
|
3107
3274
|
event,
|
|
3108
3275
|
title,
|
|
@@ -3116,8 +3283,8 @@ var EventListItemContent = ({
|
|
|
3116
3283
|
ariaLabel
|
|
3117
3284
|
}) => {
|
|
3118
3285
|
var _a;
|
|
3119
|
-
const config = (0,
|
|
3120
|
-
const labels = (0,
|
|
3286
|
+
const config = (0, import_hooks13.useSdkUiConfig)();
|
|
3287
|
+
const labels = (0, import_hooks13.useLabels)();
|
|
3121
3288
|
const allVenueMarkets = (0, import_react3.useMemo)(() => {
|
|
3122
3289
|
return event.markets.flatMap((market) => market.venueMarkets);
|
|
3123
3290
|
}, [event.markets]);
|
|
@@ -3151,9 +3318,9 @@ var EventListItemContent = ({
|
|
|
3151
3318
|
return null;
|
|
3152
3319
|
if (Math.abs(value) < config.arbitrageThreshold)
|
|
3153
3320
|
return null;
|
|
3154
|
-
return /* @__PURE__ */ (0,
|
|
3155
|
-
/* @__PURE__ */ (0,
|
|
3156
|
-
/* @__PURE__ */ (0,
|
|
3321
|
+
return /* @__PURE__ */ (0, import_jsx_runtime64.jsxs)("div", { className: cn("flex items-center gap-1", "text-agg-success"), children: [
|
|
3322
|
+
/* @__PURE__ */ (0, import_jsx_runtime64.jsx)(Typography, { variant: "label-strong", className: "text-agg-success", children: config.formatPercent(value) }),
|
|
3323
|
+
/* @__PURE__ */ (0, import_jsx_runtime64.jsx)(
|
|
3157
3324
|
Icon,
|
|
3158
3325
|
{
|
|
3159
3326
|
name: "triangle-up",
|
|
@@ -3164,7 +3331,7 @@ var EventListItemContent = ({
|
|
|
3164
3331
|
)
|
|
3165
3332
|
] });
|
|
3166
3333
|
};
|
|
3167
|
-
return /* @__PURE__ */ (0,
|
|
3334
|
+
return /* @__PURE__ */ (0, import_jsx_runtime64.jsxs)(
|
|
3168
3335
|
Card,
|
|
3169
3336
|
{
|
|
3170
3337
|
className: cn(baseCardClassName, onClick && "cursor-pointer", classNames == null ? void 0 : classNames.root),
|
|
@@ -3174,8 +3341,8 @@ var EventListItemContent = ({
|
|
|
3174
3341
|
onKeyDown: handleKeyDown,
|
|
3175
3342
|
"aria-label": ariaLabel != null ? ariaLabel : resolvedTitle,
|
|
3176
3343
|
children: [
|
|
3177
|
-
/* @__PURE__ */ (0,
|
|
3178
|
-
resolvedImage ? /* @__PURE__ */ (0,
|
|
3344
|
+
/* @__PURE__ */ (0, import_jsx_runtime64.jsxs)("div", { className: cn("flex items-center gap-3", classNames == null ? void 0 : classNames.header), children: [
|
|
3345
|
+
resolvedImage ? /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(
|
|
3179
3346
|
"img",
|
|
3180
3347
|
{
|
|
3181
3348
|
src: resolvedImage,
|
|
@@ -3183,7 +3350,7 @@ var EventListItemContent = ({
|
|
|
3183
3350
|
className: cn("h-10 w-10", "rounded-agg-lg object-cover")
|
|
3184
3351
|
}
|
|
3185
3352
|
) : null,
|
|
3186
|
-
/* @__PURE__ */ (0,
|
|
3353
|
+
/* @__PURE__ */ (0, import_jsx_runtime64.jsx)(
|
|
3187
3354
|
Typography,
|
|
3188
3355
|
{
|
|
3189
3356
|
variant: "body-strong",
|
|
@@ -3196,13 +3363,13 @@ var EventListItemContent = ({
|
|
|
3196
3363
|
}
|
|
3197
3364
|
)
|
|
3198
3365
|
] }),
|
|
3199
|
-
/* @__PURE__ */ (0,
|
|
3366
|
+
/* @__PURE__ */ (0, import_jsx_runtime64.jsx)("div", { className: cn("flex flex-col gap-3", classNames == null ? void 0 : classNames.outcomes), children: visibleOutcomes.map((visibleOutcome) => {
|
|
3200
3367
|
const probability = normalizeProbability(visibleOutcome.outcome.price);
|
|
3201
3368
|
const showBadge = typeof probability === "number";
|
|
3202
3369
|
const arbitragePercent = arbitrageByOutcomeId == null ? void 0 : arbitrageByOutcomeId[visibleOutcome.outcome.id];
|
|
3203
3370
|
const outcomeTitle = resolveOutcomeTitle(visibleOutcome.outcome);
|
|
3204
3371
|
const formattedTitle = (0, import_dayjs.default)(outcomeTitle).isValid() ? (0, import_dayjs.default)(outcomeTitle).format("MMMM D, YYYY") : outcomeTitle;
|
|
3205
|
-
return /* @__PURE__ */ (0,
|
|
3372
|
+
return /* @__PURE__ */ (0, import_jsx_runtime64.jsxs)(
|
|
3206
3373
|
"div",
|
|
3207
3374
|
{
|
|
3208
3375
|
className: cn(
|
|
@@ -3210,7 +3377,7 @@ var EventListItemContent = ({
|
|
|
3210
3377
|
classNames == null ? void 0 : classNames.outcomeRow
|
|
3211
3378
|
),
|
|
3212
3379
|
children: [
|
|
3213
|
-
/* @__PURE__ */ (0,
|
|
3380
|
+
/* @__PURE__ */ (0, import_jsx_runtime64.jsx)(
|
|
3214
3381
|
Typography,
|
|
3215
3382
|
{
|
|
3216
3383
|
variant: "body",
|
|
@@ -3218,13 +3385,13 @@ var EventListItemContent = ({
|
|
|
3218
3385
|
children: formattedTitle
|
|
3219
3386
|
}
|
|
3220
3387
|
),
|
|
3221
|
-
/* @__PURE__ */ (0,
|
|
3388
|
+
/* @__PURE__ */ (0, import_jsx_runtime64.jsxs)("div", { className: "flex flex-row gap-3 items-center justify-end", children: [
|
|
3222
3389
|
renderArbitrage(arbitragePercent),
|
|
3223
|
-
showBadge ? /* @__PURE__ */ (0,
|
|
3390
|
+
showBadge ? /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(
|
|
3224
3391
|
Badge,
|
|
3225
3392
|
{
|
|
3226
3393
|
text: config.formatPercent(probability),
|
|
3227
|
-
prefix: showVenueLogo ? /* @__PURE__ */ (0,
|
|
3394
|
+
prefix: showVenueLogo ? /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(VenueLogo, { venue: visibleOutcome.venue, size: "small" }) : void 0,
|
|
3228
3395
|
size: "large",
|
|
3229
3396
|
classNames: {
|
|
3230
3397
|
root: cn(
|
|
@@ -3240,7 +3407,7 @@ var EventListItemContent = ({
|
|
|
3240
3407
|
`${visibleOutcome.market.id}-${visibleOutcome.outcome.id}`
|
|
3241
3408
|
);
|
|
3242
3409
|
}) }),
|
|
3243
|
-
/* @__PURE__ */ (0,
|
|
3410
|
+
/* @__PURE__ */ (0, import_jsx_runtime64.jsxs)(
|
|
3244
3411
|
"div",
|
|
3245
3412
|
{
|
|
3246
3413
|
className: cn(
|
|
@@ -3249,15 +3416,15 @@ var EventListItemContent = ({
|
|
|
3249
3416
|
classNames == null ? void 0 : classNames.footer
|
|
3250
3417
|
),
|
|
3251
3418
|
children: [
|
|
3252
|
-
/* @__PURE__ */ (0,
|
|
3253
|
-
/* @__PURE__ */ (0,
|
|
3419
|
+
/* @__PURE__ */ (0, import_jsx_runtime64.jsxs)("div", { className: cn("flex items-center gap-1", "text-agg-sm leading-agg-5"), children: [
|
|
3420
|
+
/* @__PURE__ */ (0, import_jsx_runtime64.jsx)("span", { className: "truncate text-agg-muted-foreground", children: formatCountLabel(
|
|
3254
3421
|
marketCount,
|
|
3255
3422
|
labels.eventItem.marketSingular,
|
|
3256
3423
|
labels.eventItem.marketPlural
|
|
3257
3424
|
) }),
|
|
3258
|
-
/* @__PURE__ */ (0,
|
|
3259
|
-
singleVenue ? /* @__PURE__ */ (0,
|
|
3260
|
-
showVenueLogo ? /* @__PURE__ */ (0,
|
|
3425
|
+
/* @__PURE__ */ (0, import_jsx_runtime64.jsx)("span", { className: "text-agg-muted-foreground", children: "\xD7" }),
|
|
3426
|
+
singleVenue ? /* @__PURE__ */ (0, import_jsx_runtime64.jsxs)("span", { className: "flex items-center gap-1 truncate text-agg-muted-foreground", children: [
|
|
3427
|
+
showVenueLogo ? /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(
|
|
3261
3428
|
VenueLogo,
|
|
3262
3429
|
{
|
|
3263
3430
|
venue: singleVenue,
|
|
@@ -3266,13 +3433,13 @@ var EventListItemContent = ({
|
|
|
3266
3433
|
className: "text-agg-muted-foreground!"
|
|
3267
3434
|
}
|
|
3268
3435
|
) : null,
|
|
3269
|
-
/* @__PURE__ */ (0,
|
|
3270
|
-
] }) : /* @__PURE__ */ (0,
|
|
3436
|
+
/* @__PURE__ */ (0, import_jsx_runtime64.jsx)("span", { children: venueLabel })
|
|
3437
|
+
] }) : /* @__PURE__ */ (0, import_jsx_runtime64.jsx)("span", { className: "truncate text-agg-muted-foreground", children: formatCountLabel(
|
|
3271
3438
|
venueCount,
|
|
3272
3439
|
labels.eventItem.venueSingular,
|
|
3273
3440
|
labels.eventItem.venuePlural
|
|
3274
3441
|
) }),
|
|
3275
|
-
showVenueLogo && !singleVenue && visibleVenueLogos.length > 0 ? /* @__PURE__ */ (0,
|
|
3442
|
+
showVenueLogo && !singleVenue && visibleVenueLogos.length > 0 ? /* @__PURE__ */ (0, import_jsx_runtime64.jsx)("span", { className: "flex items-center gap-1 overflow-hidden", children: visibleVenueLogos.map((venue) => /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(
|
|
3276
3443
|
VenueLogo,
|
|
3277
3444
|
{
|
|
3278
3445
|
venue,
|
|
@@ -3283,7 +3450,7 @@ var EventListItemContent = ({
|
|
|
3283
3450
|
venue
|
|
3284
3451
|
)) }) : null
|
|
3285
3452
|
] }),
|
|
3286
|
-
volumeLabel ? /* @__PURE__ */ (0,
|
|
3453
|
+
volumeLabel ? /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(Typography, { variant: "label", className: "text-agg-sm text-agg-muted-foreground", children: volumeLabel }) : null
|
|
3287
3454
|
]
|
|
3288
3455
|
}
|
|
3289
3456
|
)
|
|
@@ -3299,37 +3466,41 @@ var EventListItemByEventId = (_a) => {
|
|
|
3299
3466
|
]);
|
|
3300
3467
|
const {
|
|
3301
3468
|
event: fetchedEvent,
|
|
3469
|
+
error,
|
|
3302
3470
|
isError,
|
|
3303
3471
|
isLoading
|
|
3304
|
-
} = (0,
|
|
3472
|
+
} = (0, import_hooks13.useEvent)(eventId, {
|
|
3305
3473
|
enabled: !!eventId
|
|
3306
3474
|
});
|
|
3307
3475
|
const resolvedEvent = (0, import_react3.useMemo)(() => {
|
|
3308
3476
|
return resolveEventListItemEvent(fetchedEvent);
|
|
3309
3477
|
}, [fetchedEvent]);
|
|
3310
3478
|
if (!eventId) {
|
|
3311
|
-
return /* @__PURE__ */ (0,
|
|
3479
|
+
return /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(EventListItemUnavailableState, { classNames: rest.classNames, ariaLabel: rest.ariaLabel });
|
|
3312
3480
|
}
|
|
3313
3481
|
if (isLoading) {
|
|
3314
|
-
return /* @__PURE__ */ (0,
|
|
3482
|
+
return /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(EventListItemLoadingState, { classNames: rest.classNames, ariaLabel: rest.ariaLabel });
|
|
3483
|
+
}
|
|
3484
|
+
if (isErrorWithStatus(error, 404)) {
|
|
3485
|
+
return /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(EventListItemNotFoundState, { classNames: rest.classNames, ariaLabel: rest.ariaLabel });
|
|
3315
3486
|
}
|
|
3316
|
-
if (!
|
|
3317
|
-
return /* @__PURE__ */ (0,
|
|
3487
|
+
if (!fetchedEvent && !isError) {
|
|
3488
|
+
return /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(EventListItemLoadingState, { classNames: rest.classNames, ariaLabel: rest.ariaLabel });
|
|
3318
3489
|
}
|
|
3319
3490
|
if (!resolvedEvent) {
|
|
3320
|
-
return /* @__PURE__ */ (0,
|
|
3491
|
+
return /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(EventListItemUnavailableState, { classNames: rest.classNames, ariaLabel: rest.ariaLabel });
|
|
3321
3492
|
}
|
|
3322
|
-
return /* @__PURE__ */ (0,
|
|
3493
|
+
return /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(EventListItemContent, __spreadValues({ event: resolvedEvent }, rest));
|
|
3323
3494
|
};
|
|
3324
3495
|
var EventListItem = (props) => {
|
|
3325
3496
|
if (props.isLoading) {
|
|
3326
|
-
return /* @__PURE__ */ (0,
|
|
3497
|
+
return /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(EventListItemLoadingState, { classNames: props.classNames, ariaLabel: props.ariaLabel });
|
|
3327
3498
|
}
|
|
3328
3499
|
if ("event" in props && props.event) {
|
|
3329
3500
|
const _a = props, { event } = _a, rest = __objRest(_a, ["event"]);
|
|
3330
|
-
return /* @__PURE__ */ (0,
|
|
3501
|
+
return /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(EventListItemContent, __spreadValues({ event }, rest));
|
|
3331
3502
|
}
|
|
3332
|
-
return /* @__PURE__ */ (0,
|
|
3503
|
+
return /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(EventListItemByEventId, __spreadValues({}, props));
|
|
3333
3504
|
};
|
|
3334
3505
|
EventListItem.displayName = "EventListItem";
|
|
3335
3506
|
|
|
@@ -3362,22 +3533,10 @@ var getDefaultEventListTabs = (labels) => {
|
|
|
3362
3533
|
|
|
3363
3534
|
// src/events/list/event-list.utils.ts
|
|
3364
3535
|
var mapEventToEventListItemEvent = (event) => {
|
|
3365
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j;
|
|
3366
|
-
const fallbackVenueEvent = event.venueEvents[0];
|
|
3367
|
-
if (!fallbackVenueEvent)
|
|
3368
|
-
return null;
|
|
3369
3536
|
const mergedVenueMarkets = event.markets.flatMap((m) => m.venueMarkets);
|
|
3370
|
-
if (
|
|
3537
|
+
if (mergedVenueMarkets.length === 0)
|
|
3371
3538
|
return null;
|
|
3372
|
-
return
|
|
3373
|
-
id: event.id,
|
|
3374
|
-
title: event.title || fallbackVenueEvent.title,
|
|
3375
|
-
description: (_b = (_a = event.description) != null ? _a : fallbackVenueEvent.description) != null ? _b : null,
|
|
3376
|
-
volume: (_d = (_c = event.volume) != null ? _c : fallbackVenueEvent.volume) != null ? _d : null,
|
|
3377
|
-
startDate: (_f = (_e = event.startDate) != null ? _e : fallbackVenueEvent.startDate) != null ? _f : null,
|
|
3378
|
-
endDate: (_h = (_g = event.endDate) != null ? _g : fallbackVenueEvent.endDate) != null ? _h : null,
|
|
3379
|
-
creationDate: (_j = (_i = event.creationDate) != null ? _i : fallbackVenueEvent.creationDate) != null ? _j : null
|
|
3380
|
-
});
|
|
3539
|
+
return event;
|
|
3381
3540
|
};
|
|
3382
3541
|
var filterEventsByTabValue = (events, _tabValue) => {
|
|
3383
3542
|
return events;
|
|
@@ -3394,14 +3553,14 @@ var resolveTabVenus = (tab) => {
|
|
|
3394
3553
|
};
|
|
3395
3554
|
|
|
3396
3555
|
// src/events/list/index.tsx
|
|
3397
|
-
var
|
|
3556
|
+
var import_jsx_runtime65 = require("react/jsx-runtime");
|
|
3398
3557
|
var renderTabIcon = (tab, isActive) => {
|
|
3399
3558
|
if (tab.venueLogo) {
|
|
3400
|
-
return /* @__PURE__ */ (0,
|
|
3559
|
+
return /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(VenueLogo, { venue: tab.venueLogo, size: "small" });
|
|
3401
3560
|
}
|
|
3402
3561
|
if (!tab.iconName)
|
|
3403
3562
|
return null;
|
|
3404
|
-
return /* @__PURE__ */ (0,
|
|
3563
|
+
return /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
|
|
3405
3564
|
Icon,
|
|
3406
3565
|
{
|
|
3407
3566
|
name: tab.iconName,
|
|
@@ -3446,14 +3605,14 @@ var EventList = ({
|
|
|
3446
3605
|
categoryIds
|
|
3447
3606
|
}) => {
|
|
3448
3607
|
var _a, _b;
|
|
3449
|
-
const labels = (0,
|
|
3608
|
+
const labels = (0, import_hooks14.useLabels)();
|
|
3450
3609
|
const defaultEventListTabs = (0, import_react4.useMemo)(() => {
|
|
3451
3610
|
return getDefaultEventListTabs(labels);
|
|
3452
3611
|
}, [labels]);
|
|
3453
3612
|
const [activeTabValue, setActiveTabValue] = (0, import_react4.useState)(
|
|
3454
3613
|
(_b = (_a = defaultEventListTabs[0]) == null ? void 0 : _a.value) != null ? _b : "matched"
|
|
3455
3614
|
);
|
|
3456
|
-
const [
|
|
3615
|
+
const [_shouldUseSelectOverflow, setShouldUseSelectOverflow] = (0, import_react4.useState)(false);
|
|
3457
3616
|
const activeTab = (0, import_react4.useMemo)(() => {
|
|
3458
3617
|
return defaultEventListTabs.find((tab) => tab.value === activeTabValue);
|
|
3459
3618
|
}, [activeTabValue]);
|
|
@@ -3467,7 +3626,7 @@ var EventList = ({
|
|
|
3467
3626
|
}, [maxVisibleItems]);
|
|
3468
3627
|
const requestLimit = resolvedMaxVisibleItems != null ? resolvedMaxVisibleItems : limit;
|
|
3469
3628
|
const shouldPaginate = resolvedMaxVisibleItems == null;
|
|
3470
|
-
const { events, isLoading, isError, fetchNextPage, hasNextPage, isFetchingNextPage } = (0,
|
|
3629
|
+
const { events, isLoading, isError, fetchNextPage, hasNextPage, isFetchingNextPage } = (0, import_hooks14.useEvents)({
|
|
3471
3630
|
venues,
|
|
3472
3631
|
search,
|
|
3473
3632
|
categoryIds,
|
|
@@ -3571,17 +3730,17 @@ var EventList = ({
|
|
|
3571
3730
|
"md:[grid-template-columns:repeat(var(--agg-event-list-columns),minmax(0,1fr))]"
|
|
3572
3731
|
);
|
|
3573
3732
|
if (shouldRenderLoadingState) {
|
|
3574
|
-
return /* @__PURE__ */ (0,
|
|
3733
|
+
return /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(Skeleton, { view: "event-list", ariaLabel: labels.eventList.loading(title) });
|
|
3575
3734
|
}
|
|
3576
|
-
return /* @__PURE__ */ (0,
|
|
3577
|
-
/* @__PURE__ */ (0,
|
|
3735
|
+
return /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)("section", { className: "flex w-full flex-col gap-5", children: [
|
|
3736
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsxs)(
|
|
3578
3737
|
"header",
|
|
3579
3738
|
{
|
|
3580
3739
|
ref: headerRef,
|
|
3581
3740
|
className: "flex flex-col sm:flex-row w-full flex-nowrap items-start sm:items-center justify-between gap-2 sm:gap-4",
|
|
3582
3741
|
children: [
|
|
3583
|
-
/* @__PURE__ */ (0,
|
|
3584
|
-
/* @__PURE__ */ (0,
|
|
3742
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsx)("div", { ref: titleRef, className: "min-w-0", children: /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(Typography, { as: "h2", variant: "title", className: "truncate [&::first-letter]:uppercase", children: title }) }),
|
|
3743
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
|
|
3585
3744
|
Tabs,
|
|
3586
3745
|
{
|
|
3587
3746
|
ariaLabel: labels.eventList.tabsAria(title),
|
|
@@ -3593,8 +3752,8 @@ var EventList = ({
|
|
|
3593
3752
|
]
|
|
3594
3753
|
}
|
|
3595
3754
|
),
|
|
3596
|
-
/* @__PURE__ */ (0,
|
|
3597
|
-
tileEvents.map((event) => /* @__PURE__ */ (0,
|
|
3755
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsxs)("div", { className: gridClassName, style: gridStyle, children: [
|
|
3756
|
+
tileEvents.map((event) => /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
|
|
3598
3757
|
EventListItem,
|
|
3599
3758
|
{
|
|
3600
3759
|
event,
|
|
@@ -3605,7 +3764,7 @@ var EventList = ({
|
|
|
3605
3764
|
},
|
|
3606
3765
|
event.id
|
|
3607
3766
|
)),
|
|
3608
|
-
Array.from({ length: loadingPlaceholderCount }).map((_, index) => /* @__PURE__ */ (0,
|
|
3767
|
+
Array.from({ length: loadingPlaceholderCount }).map((_, index) => /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
|
|
3609
3768
|
EventListItem,
|
|
3610
3769
|
{
|
|
3611
3770
|
isLoading: true,
|
|
@@ -3615,15 +3774,16 @@ var EventList = ({
|
|
|
3615
3774
|
},
|
|
3616
3775
|
`loading-${index}`
|
|
3617
3776
|
)),
|
|
3618
|
-
!isLoading && !isError && (tileEvents == null ? void 0 : tileEvents.length) === 0 ? /* @__PURE__ */ (0,
|
|
3619
|
-
|
|
3777
|
+
!isLoading && !isError && (tileEvents == null ? void 0 : tileEvents.length) === 0 ? /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(Card, { className: "col-span-full overflow-hidden shadow-none hover:shadow-none", children: /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
|
|
3778
|
+
StateMessage,
|
|
3620
3779
|
{
|
|
3621
|
-
|
|
3622
|
-
|
|
3623
|
-
|
|
3780
|
+
ariaLabel: labels.eventList.emptyAria,
|
|
3781
|
+
title: labels.eventList.emptyTitle,
|
|
3782
|
+
description: labels.eventList.emptyDescription,
|
|
3783
|
+
className: "min-h-[320px]"
|
|
3624
3784
|
}
|
|
3625
|
-
) : null,
|
|
3626
|
-
isError ? /* @__PURE__ */ (0,
|
|
3785
|
+
) }) : null,
|
|
3786
|
+
isError ? /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
|
|
3627
3787
|
Typography,
|
|
3628
3788
|
{
|
|
3629
3789
|
variant: "body",
|
|
@@ -3632,7 +3792,7 @@ var EventList = ({
|
|
|
3632
3792
|
}
|
|
3633
3793
|
) : null
|
|
3634
3794
|
] }),
|
|
3635
|
-
shouldPaginate && hasNextPage ? /* @__PURE__ */ (0,
|
|
3795
|
+
shouldPaginate && hasNextPage ? /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("div", { ref: loadMoreRef, className: "h-px w-full", "aria-hidden": true }) : null
|
|
3636
3796
|
] });
|
|
3637
3797
|
};
|
|
3638
3798
|
EventList.displayName = "EventList";
|