@agg-market/ui 7.0.0 → 8.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/{chunk-KQKLLL4D.mjs → chunk-JE4MV5RL.mjs} +8 -11
- package/dist/{chunk-L5U7RGJV.mjs → chunk-KRCRD4AJ.mjs} +11 -14
- package/dist/{chunk-AVHMI47G.mjs → chunk-SBLIHCN2.mjs} +5 -6
- package/dist/{chunk-6I474QXG.mjs → chunk-TLFRGJ5B.mjs} +18 -21
- package/dist/{chunk-MUB7NYWZ.mjs → chunk-WKY3IN52.mjs} +3446 -990
- package/dist/events.js +2825 -2714
- package/dist/events.mjs +2 -4
- package/dist/index.js +1506 -1389
- package/dist/index.mjs +26 -32
- package/dist/modals.js +821 -687
- package/dist/modals.mjs +2 -3
- package/dist/pages.js +2362 -2249
- package/dist/pages.mjs +4 -7
- package/dist/primitives.js +407 -290
- package/dist/primitives.mjs +22 -28
- package/dist/trading.js +564 -451
- package/dist/trading.mjs +2 -4
- package/dist/types/primitives/icon/index.d.mts +2 -1
- package/dist/types/primitives/icon/index.d.ts +2 -1
- package/dist/types/primitives/icon/registry.d.mts +4 -0
- package/dist/types/primitives/icon/registry.d.ts +4 -0
- package/dist/types/primitives/icon/svg/image.d.mts +5 -0
- package/dist/types/primitives/icon/svg/image.d.ts +5 -0
- package/dist/types/primitives/index.d.mts +1 -0
- package/dist/types/primitives/index.d.ts +1 -0
- package/dist/types/primitives/remote-image/index.d.mts +6 -0
- package/dist/types/primitives/remote-image/index.d.ts +6 -0
- package/dist/types/primitives/remote-image/remote-image.constants.d.mts +4 -0
- package/dist/types/primitives/remote-image/remote-image.constants.d.ts +4 -0
- package/dist/types/primitives/remote-image/remote-image.types.d.mts +16 -0
- package/dist/types/primitives/remote-image/remote-image.types.d.ts +16 -0
- package/package.json +1 -1
- package/dist/chunk-EEQPPN7N.mjs +0 -214
- package/dist/chunk-EERL6BZF.mjs +0 -997
- package/dist/chunk-OAJBTVZT.mjs +0 -119
- package/dist/chunk-OVQVAUAI.mjs +0 -420
- package/dist/chunk-ZYUJ7YEJ.mjs +0 -645
package/dist/primitives.js
CHANGED
|
@@ -89,6 +89,7 @@ __export(primitives_exports, {
|
|
|
89
89
|
GoogleIcon: () => GoogleIcon,
|
|
90
90
|
HelloWorld: () => HelloWorld,
|
|
91
91
|
Icon: () => Icon,
|
|
92
|
+
ImageIcon: () => ImageIcon,
|
|
92
93
|
InfoIcon: () => InfoIcon,
|
|
93
94
|
InlineAlert: () => InlineAlert,
|
|
94
95
|
LineChart: () => LineChart,
|
|
@@ -99,6 +100,7 @@ __export(primitives_exports, {
|
|
|
99
100
|
PencilIcon: () => PencilIcon,
|
|
100
101
|
PlaySquareIcon: () => PlaySquareIcon,
|
|
101
102
|
ProfileIcon: () => ProfileIcon,
|
|
103
|
+
RemoteImage: () => RemoteImage,
|
|
102
104
|
RevenueAltIcon: () => RevenueAltIcon,
|
|
103
105
|
Search: () => Search,
|
|
104
106
|
SearchIcon: () => SearchIcon,
|
|
@@ -2051,35 +2053,61 @@ var GoogleIcon = (_a) => {
|
|
|
2051
2053
|
};
|
|
2052
2054
|
GoogleIcon.displayName = "GoogleIcon";
|
|
2053
2055
|
|
|
2054
|
-
// src/primitives/icon/svg/
|
|
2056
|
+
// src/primitives/icon/svg/image.tsx
|
|
2055
2057
|
var import_jsx_runtime41 = require("react/jsx-runtime");
|
|
2056
|
-
var
|
|
2058
|
+
var ImageIcon = (_a) => {
|
|
2057
2059
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
2058
2060
|
return /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(
|
|
2059
2061
|
"svg",
|
|
2060
2062
|
__spreadProps(__spreadValues(__spreadValues({
|
|
2061
|
-
viewBox: "0 0
|
|
2063
|
+
viewBox: "0 0 32 32",
|
|
2062
2064
|
className,
|
|
2063
2065
|
fill: "none"
|
|
2064
2066
|
}, getIconA11yProps(title)), props), {
|
|
2065
2067
|
children: [
|
|
2066
2068
|
title ? /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("title", { children: title }) : null,
|
|
2067
|
-
/* @__PURE__ */ (0, import_jsx_runtime41.
|
|
2068
|
-
|
|
2069
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
|
|
2070
|
+
"path",
|
|
2071
|
+
{
|
|
2072
|
+
d: "M30 2.497h-28c-1.099 0-2 0.901-2 2v23.006c0 1.099 0.9 2 2 2h28c1.099 0 2-0.901 2-2v-23.006c0-1.099-0.901-2-2-2zM30 27.503l-28-0v-5.892l8.027-7.779 8.275 8.265c0.341 0.414 0.948 0.361 1.379 0.035l3.652-3.306 6.587 6.762c0.025 0.025 0.053 0.044 0.080 0.065v1.85zM30 22.806l-5.876-6.013c-0.357-0.352-0.915-0.387-1.311-0.086l-3.768 3.282-8.28-8.19c-0.177-0.214-0.432-0.344-0.709-0.363-0.275-0.010-0.547 0.080-0.749 0.27l-7.309 7.112v-14.322h28v18.309zM23 12.504c1.102 0 1.995-0.894 1.995-1.995s-0.892-1.995-1.995-1.995-1.995 0.894-1.995 1.995c0 1.101 0.892 1.995 1.995 1.995z",
|
|
2073
|
+
fill: "currentColor"
|
|
2074
|
+
}
|
|
2075
|
+
)
|
|
2076
|
+
]
|
|
2077
|
+
})
|
|
2078
|
+
);
|
|
2079
|
+
};
|
|
2080
|
+
ImageIcon.displayName = "ImageIcon";
|
|
2081
|
+
|
|
2082
|
+
// src/primitives/icon/svg/info.tsx
|
|
2083
|
+
var import_jsx_runtime42 = require("react/jsx-runtime");
|
|
2084
|
+
var InfoIcon = (_a) => {
|
|
2085
|
+
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
2086
|
+
return /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)(
|
|
2087
|
+
"svg",
|
|
2088
|
+
__spreadProps(__spreadValues(__spreadValues({
|
|
2089
|
+
viewBox: "0 0 12 12",
|
|
2090
|
+
className,
|
|
2091
|
+
fill: "none"
|
|
2092
|
+
}, getIconA11yProps(title)), props), {
|
|
2093
|
+
children: [
|
|
2094
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("title", { children: title }) : null,
|
|
2095
|
+
/* @__PURE__ */ (0, import_jsx_runtime42.jsxs)("g", { clipPath: "url(#info_clip)", children: [
|
|
2096
|
+
/* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
|
|
2069
2097
|
"path",
|
|
2070
2098
|
{
|
|
2071
2099
|
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",
|
|
2072
2100
|
fill: "currentColor"
|
|
2073
2101
|
}
|
|
2074
2102
|
),
|
|
2075
|
-
/* @__PURE__ */ (0,
|
|
2103
|
+
/* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
|
|
2076
2104
|
"path",
|
|
2077
2105
|
{
|
|
2078
2106
|
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",
|
|
2079
2107
|
fill: "currentColor"
|
|
2080
2108
|
}
|
|
2081
2109
|
),
|
|
2082
|
-
/* @__PURE__ */ (0,
|
|
2110
|
+
/* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
|
|
2083
2111
|
"path",
|
|
2084
2112
|
{
|
|
2085
2113
|
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",
|
|
@@ -2087,7 +2115,7 @@ var InfoIcon = (_a) => {
|
|
|
2087
2115
|
}
|
|
2088
2116
|
)
|
|
2089
2117
|
] }),
|
|
2090
|
-
/* @__PURE__ */ (0,
|
|
2118
|
+
/* @__PURE__ */ (0, import_jsx_runtime42.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("clipPath", { id: "info_clip", children: /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("rect", { width: "12", height: "12", fill: "white" }) }) })
|
|
2091
2119
|
]
|
|
2092
2120
|
})
|
|
2093
2121
|
);
|
|
@@ -2095,10 +2123,10 @@ var InfoIcon = (_a) => {
|
|
|
2095
2123
|
InfoIcon.displayName = "InfoIcon";
|
|
2096
2124
|
|
|
2097
2125
|
// src/primitives/icon/svg/check-badge.tsx
|
|
2098
|
-
var
|
|
2126
|
+
var import_jsx_runtime43 = require("react/jsx-runtime");
|
|
2099
2127
|
var CheckBadgeIcon = (_a) => {
|
|
2100
2128
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
2101
|
-
return /* @__PURE__ */ (0,
|
|
2129
|
+
return /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(
|
|
2102
2130
|
"svg",
|
|
2103
2131
|
__spreadProps(__spreadValues(__spreadValues({
|
|
2104
2132
|
viewBox: "0 0 16 16",
|
|
@@ -2106,15 +2134,15 @@ var CheckBadgeIcon = (_a) => {
|
|
|
2106
2134
|
fill: "none"
|
|
2107
2135
|
}, getIconA11yProps(title)), props), {
|
|
2108
2136
|
children: [
|
|
2109
|
-
title ? /* @__PURE__ */ (0,
|
|
2110
|
-
/* @__PURE__ */ (0,
|
|
2137
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("title", { children: title }) : null,
|
|
2138
|
+
/* @__PURE__ */ (0, import_jsx_runtime43.jsx)("g", { clipPath: "url(#check-badge-clip)", children: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
|
|
2111
2139
|
"path",
|
|
2112
2140
|
{
|
|
2113
2141
|
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",
|
|
2114
2142
|
fill: "currentColor"
|
|
2115
2143
|
}
|
|
2116
2144
|
) }),
|
|
2117
|
-
/* @__PURE__ */ (0,
|
|
2145
|
+
/* @__PURE__ */ (0, import_jsx_runtime43.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("clipPath", { id: "check-badge-clip", children: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("rect", { width: "16", height: "16", fill: "white" }) }) })
|
|
2118
2146
|
]
|
|
2119
2147
|
})
|
|
2120
2148
|
);
|
|
@@ -2122,10 +2150,10 @@ var CheckBadgeIcon = (_a) => {
|
|
|
2122
2150
|
CheckBadgeIcon.displayName = "CheckBadgeIcon";
|
|
2123
2151
|
|
|
2124
2152
|
// src/primitives/icon/svg/discord.tsx
|
|
2125
|
-
var
|
|
2153
|
+
var import_jsx_runtime44 = require("react/jsx-runtime");
|
|
2126
2154
|
var DiscordIcon = (_a) => {
|
|
2127
2155
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
2128
|
-
return /* @__PURE__ */ (0,
|
|
2156
|
+
return /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)(
|
|
2129
2157
|
"svg",
|
|
2130
2158
|
__spreadProps(__spreadValues(__spreadValues({
|
|
2131
2159
|
viewBox: "0 0 20 20",
|
|
@@ -2133,8 +2161,8 @@ var DiscordIcon = (_a) => {
|
|
|
2133
2161
|
fill: "none"
|
|
2134
2162
|
}, getIconA11yProps(title)), props), {
|
|
2135
2163
|
children: [
|
|
2136
|
-
title ? /* @__PURE__ */ (0,
|
|
2137
|
-
/* @__PURE__ */ (0,
|
|
2164
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("title", { children: title }) : null,
|
|
2165
|
+
/* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
|
|
2138
2166
|
"path",
|
|
2139
2167
|
{
|
|
2140
2168
|
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",
|
|
@@ -2148,10 +2176,10 @@ var DiscordIcon = (_a) => {
|
|
|
2148
2176
|
DiscordIcon.displayName = "DiscordIcon";
|
|
2149
2177
|
|
|
2150
2178
|
// src/primitives/icon/svg/email.tsx
|
|
2151
|
-
var
|
|
2179
|
+
var import_jsx_runtime45 = require("react/jsx-runtime");
|
|
2152
2180
|
var EmailIcon = (_a) => {
|
|
2153
2181
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
2154
|
-
return /* @__PURE__ */ (0,
|
|
2182
|
+
return /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)(
|
|
2155
2183
|
"svg",
|
|
2156
2184
|
__spreadProps(__spreadValues(__spreadValues({
|
|
2157
2185
|
viewBox: "0 0 20 20",
|
|
@@ -2159,8 +2187,8 @@ var EmailIcon = (_a) => {
|
|
|
2159
2187
|
fill: "none"
|
|
2160
2188
|
}, getIconA11yProps(title)), props), {
|
|
2161
2189
|
children: [
|
|
2162
|
-
title ? /* @__PURE__ */ (0,
|
|
2163
|
-
/* @__PURE__ */ (0,
|
|
2190
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("title", { children: title }) : null,
|
|
2191
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
|
|
2164
2192
|
"path",
|
|
2165
2193
|
{
|
|
2166
2194
|
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",
|
|
@@ -2170,7 +2198,7 @@ var EmailIcon = (_a) => {
|
|
|
2170
2198
|
strokeLinejoin: "round"
|
|
2171
2199
|
}
|
|
2172
2200
|
),
|
|
2173
|
-
/* @__PURE__ */ (0,
|
|
2201
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
|
|
2174
2202
|
"path",
|
|
2175
2203
|
{
|
|
2176
2204
|
d: "M18.3333 5L10 10.8333L1.66667 5",
|
|
@@ -2187,10 +2215,10 @@ var EmailIcon = (_a) => {
|
|
|
2187
2215
|
EmailIcon.displayName = "EmailIcon";
|
|
2188
2216
|
|
|
2189
2217
|
// src/primitives/icon/svg/link-accounts.tsx
|
|
2190
|
-
var
|
|
2218
|
+
var import_jsx_runtime46 = require("react/jsx-runtime");
|
|
2191
2219
|
var LinkAccountsIcon = (_a) => {
|
|
2192
2220
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
2193
|
-
return /* @__PURE__ */ (0,
|
|
2221
|
+
return /* @__PURE__ */ (0, import_jsx_runtime46.jsxs)(
|
|
2194
2222
|
"svg",
|
|
2195
2223
|
__spreadProps(__spreadValues(__spreadValues({
|
|
2196
2224
|
width: "28",
|
|
@@ -2201,15 +2229,15 @@ var LinkAccountsIcon = (_a) => {
|
|
|
2201
2229
|
className
|
|
2202
2230
|
}, getIconA11yProps(title)), props), {
|
|
2203
2231
|
children: [
|
|
2204
|
-
title ? /* @__PURE__ */ (0,
|
|
2205
|
-
/* @__PURE__ */ (0,
|
|
2232
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime46.jsx)("title", { children: title }) : null,
|
|
2233
|
+
/* @__PURE__ */ (0, import_jsx_runtime46.jsx)("g", { clipPath: "url(#clip0_link_accounts)", children: /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
|
|
2206
2234
|
"path",
|
|
2207
2235
|
{
|
|
2208
2236
|
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",
|
|
2209
2237
|
fill: "currentColor"
|
|
2210
2238
|
}
|
|
2211
2239
|
) }),
|
|
2212
|
-
/* @__PURE__ */ (0,
|
|
2240
|
+
/* @__PURE__ */ (0, import_jsx_runtime46.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime46.jsx)("clipPath", { id: "clip0_link_accounts", children: /* @__PURE__ */ (0, import_jsx_runtime46.jsx)("rect", { width: "28", height: "28", fill: "white" }) }) })
|
|
2213
2241
|
]
|
|
2214
2242
|
})
|
|
2215
2243
|
);
|
|
@@ -2217,10 +2245,10 @@ var LinkAccountsIcon = (_a) => {
|
|
|
2217
2245
|
LinkAccountsIcon.displayName = "LinkAccountsIcon";
|
|
2218
2246
|
|
|
2219
2247
|
// src/primitives/icon/svg/pencil.tsx
|
|
2220
|
-
var
|
|
2248
|
+
var import_jsx_runtime47 = require("react/jsx-runtime");
|
|
2221
2249
|
var PencilIcon = (_a) => {
|
|
2222
2250
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
2223
|
-
return /* @__PURE__ */ (0,
|
|
2251
|
+
return /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(
|
|
2224
2252
|
"svg",
|
|
2225
2253
|
__spreadProps(__spreadValues(__spreadValues({
|
|
2226
2254
|
viewBox: "0 0 16 16",
|
|
@@ -2228,15 +2256,15 @@ var PencilIcon = (_a) => {
|
|
|
2228
2256
|
fill: "none"
|
|
2229
2257
|
}, getIconA11yProps(title)), props), {
|
|
2230
2258
|
children: [
|
|
2231
|
-
title ? /* @__PURE__ */ (0,
|
|
2232
|
-
/* @__PURE__ */ (0,
|
|
2259
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("title", { children: title }) : null,
|
|
2260
|
+
/* @__PURE__ */ (0, import_jsx_runtime47.jsx)("g", { clipPath: "url(#pencil_clip)", children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
|
|
2233
2261
|
"path",
|
|
2234
2262
|
{
|
|
2235
2263
|
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",
|
|
2236
2264
|
fill: "currentColor"
|
|
2237
2265
|
}
|
|
2238
2266
|
) }),
|
|
2239
|
-
/* @__PURE__ */ (0,
|
|
2267
|
+
/* @__PURE__ */ (0, import_jsx_runtime47.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("clipPath", { id: "pencil_clip", children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("rect", { width: "16", height: "16", fill: "white" }) }) })
|
|
2240
2268
|
]
|
|
2241
2269
|
})
|
|
2242
2270
|
);
|
|
@@ -2244,10 +2272,10 @@ var PencilIcon = (_a) => {
|
|
|
2244
2272
|
PencilIcon.displayName = "PencilIcon";
|
|
2245
2273
|
|
|
2246
2274
|
// src/primitives/icon/svg/play-square.tsx
|
|
2247
|
-
var
|
|
2275
|
+
var import_jsx_runtime48 = require("react/jsx-runtime");
|
|
2248
2276
|
var PlaySquareIcon = (_a) => {
|
|
2249
2277
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
2250
|
-
return /* @__PURE__ */ (0,
|
|
2278
|
+
return /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(
|
|
2251
2279
|
"svg",
|
|
2252
2280
|
__spreadProps(__spreadValues(__spreadValues({
|
|
2253
2281
|
viewBox: "0 0 16 16",
|
|
@@ -2255,15 +2283,15 @@ var PlaySquareIcon = (_a) => {
|
|
|
2255
2283
|
fill: "none"
|
|
2256
2284
|
}, getIconA11yProps(title)), props), {
|
|
2257
2285
|
children: [
|
|
2258
|
-
title ? /* @__PURE__ */ (0,
|
|
2259
|
-
/* @__PURE__ */ (0,
|
|
2286
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("title", { children: title }) : null,
|
|
2287
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)("g", { clipPath: "url(#play-square-clip)", children: /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
|
|
2260
2288
|
"path",
|
|
2261
2289
|
{
|
|
2262
2290
|
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",
|
|
2263
2291
|
fill: "currentColor"
|
|
2264
2292
|
}
|
|
2265
2293
|
) }),
|
|
2266
|
-
/* @__PURE__ */ (0,
|
|
2294
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("clipPath", { id: "play-square-clip", children: /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("rect", { width: "16", height: "16", fill: "white" }) }) })
|
|
2267
2295
|
]
|
|
2268
2296
|
})
|
|
2269
2297
|
);
|
|
@@ -2271,10 +2299,10 @@ var PlaySquareIcon = (_a) => {
|
|
|
2271
2299
|
PlaySquareIcon.displayName = "PlaySquareIcon";
|
|
2272
2300
|
|
|
2273
2301
|
// src/primitives/icon/svg/profile.tsx
|
|
2274
|
-
var
|
|
2302
|
+
var import_jsx_runtime49 = require("react/jsx-runtime");
|
|
2275
2303
|
var ProfileIcon = (_a) => {
|
|
2276
2304
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
2277
|
-
return /* @__PURE__ */ (0,
|
|
2305
|
+
return /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)(
|
|
2278
2306
|
"svg",
|
|
2279
2307
|
__spreadProps(__spreadValues(__spreadValues({
|
|
2280
2308
|
viewBox: "0 0 21 28",
|
|
@@ -2282,8 +2310,8 @@ var ProfileIcon = (_a) => {
|
|
|
2282
2310
|
fill: "none"
|
|
2283
2311
|
}, getIconA11yProps(title)), props), {
|
|
2284
2312
|
children: [
|
|
2285
|
-
title ? /* @__PURE__ */ (0,
|
|
2286
|
-
/* @__PURE__ */ (0,
|
|
2313
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("title", { children: title }) : null,
|
|
2314
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
|
|
2287
2315
|
"path",
|
|
2288
2316
|
{
|
|
2289
2317
|
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",
|
|
@@ -2297,10 +2325,10 @@ var ProfileIcon = (_a) => {
|
|
|
2297
2325
|
ProfileIcon.displayName = "ProfileIcon";
|
|
2298
2326
|
|
|
2299
2327
|
// src/primitives/icon/svg/revenue-alt.tsx
|
|
2300
|
-
var
|
|
2328
|
+
var import_jsx_runtime50 = require("react/jsx-runtime");
|
|
2301
2329
|
var RevenueAltIcon = (_a) => {
|
|
2302
2330
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
2303
|
-
return /* @__PURE__ */ (0,
|
|
2331
|
+
return /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)(
|
|
2304
2332
|
"svg",
|
|
2305
2333
|
__spreadProps(__spreadValues(__spreadValues({
|
|
2306
2334
|
viewBox: "0 0 20 20",
|
|
@@ -2308,8 +2336,8 @@ var RevenueAltIcon = (_a) => {
|
|
|
2308
2336
|
fill: "none"
|
|
2309
2337
|
}, getIconA11yProps(title)), props), {
|
|
2310
2338
|
children: [
|
|
2311
|
-
title ? /* @__PURE__ */ (0,
|
|
2312
|
-
/* @__PURE__ */ (0,
|
|
2339
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("title", { children: title }) : null,
|
|
2340
|
+
/* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
|
|
2313
2341
|
"path",
|
|
2314
2342
|
{
|
|
2315
2343
|
d: "M3 14V6M3 6L1.5 7.5M3 6L4.5 7.5M17 6V14M17 14L15.5 12.5M17 14L18.5 12.5",
|
|
@@ -2319,7 +2347,7 @@ var RevenueAltIcon = (_a) => {
|
|
|
2319
2347
|
strokeLinejoin: "round"
|
|
2320
2348
|
}
|
|
2321
2349
|
),
|
|
2322
|
-
/* @__PURE__ */ (0,
|
|
2350
|
+
/* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
|
|
2323
2351
|
"path",
|
|
2324
2352
|
{
|
|
2325
2353
|
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",
|
|
@@ -2336,10 +2364,10 @@ var RevenueAltIcon = (_a) => {
|
|
|
2336
2364
|
RevenueAltIcon.displayName = "RevenueAltIcon";
|
|
2337
2365
|
|
|
2338
2366
|
// src/primitives/icon/svg/search.tsx
|
|
2339
|
-
var
|
|
2367
|
+
var import_jsx_runtime51 = require("react/jsx-runtime");
|
|
2340
2368
|
var SearchIcon = (_a) => {
|
|
2341
2369
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
2342
|
-
return /* @__PURE__ */ (0,
|
|
2370
|
+
return /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)(
|
|
2343
2371
|
"svg",
|
|
2344
2372
|
__spreadProps(__spreadValues(__spreadValues({
|
|
2345
2373
|
viewBox: "0 0 16 16",
|
|
@@ -2348,8 +2376,8 @@ var SearchIcon = (_a) => {
|
|
|
2348
2376
|
className
|
|
2349
2377
|
}, getIconA11yProps(title)), props), {
|
|
2350
2378
|
children: [
|
|
2351
|
-
title ? /* @__PURE__ */ (0,
|
|
2352
|
-
/* @__PURE__ */ (0,
|
|
2379
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("title", { children: title }) : null,
|
|
2380
|
+
/* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
|
|
2353
2381
|
"path",
|
|
2354
2382
|
{
|
|
2355
2383
|
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",
|
|
@@ -2359,7 +2387,7 @@ var SearchIcon = (_a) => {
|
|
|
2359
2387
|
strokeLinejoin: "round"
|
|
2360
2388
|
}
|
|
2361
2389
|
),
|
|
2362
|
-
/* @__PURE__ */ (0,
|
|
2390
|
+
/* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
|
|
2363
2391
|
"path",
|
|
2364
2392
|
{
|
|
2365
2393
|
d: "M13.6668 13.6666L11.1667 11.1666",
|
|
@@ -2376,10 +2404,10 @@ var SearchIcon = (_a) => {
|
|
|
2376
2404
|
SearchIcon.displayName = "SearchIcon";
|
|
2377
2405
|
|
|
2378
2406
|
// src/primitives/icon/svg/shield-trust.tsx
|
|
2379
|
-
var
|
|
2407
|
+
var import_jsx_runtime52 = require("react/jsx-runtime");
|
|
2380
2408
|
var ShieldTrustIcon = (_a) => {
|
|
2381
2409
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
2382
|
-
return /* @__PURE__ */ (0,
|
|
2410
|
+
return /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)(
|
|
2383
2411
|
"svg",
|
|
2384
2412
|
__spreadProps(__spreadValues(__spreadValues({
|
|
2385
2413
|
viewBox: "0 0 16 16",
|
|
@@ -2387,15 +2415,15 @@ var ShieldTrustIcon = (_a) => {
|
|
|
2387
2415
|
fill: "none"
|
|
2388
2416
|
}, getIconA11yProps(title)), props), {
|
|
2389
2417
|
children: [
|
|
2390
|
-
title ? /* @__PURE__ */ (0,
|
|
2391
|
-
/* @__PURE__ */ (0,
|
|
2418
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime52.jsx)("title", { children: title }) : null,
|
|
2419
|
+
/* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
|
|
2392
2420
|
"path",
|
|
2393
2421
|
{
|
|
2394
2422
|
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",
|
|
2395
2423
|
fill: "currentColor"
|
|
2396
2424
|
}
|
|
2397
2425
|
),
|
|
2398
|
-
/* @__PURE__ */ (0,
|
|
2426
|
+
/* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
|
|
2399
2427
|
"path",
|
|
2400
2428
|
{
|
|
2401
2429
|
d: "M5.5 8.2L7.2 9.9L10.8 6.3",
|
|
@@ -2412,10 +2440,10 @@ var ShieldTrustIcon = (_a) => {
|
|
|
2412
2440
|
ShieldTrustIcon.displayName = "ShieldTrustIcon";
|
|
2413
2441
|
|
|
2414
2442
|
// src/primitives/icon/svg/solana.tsx
|
|
2415
|
-
var
|
|
2443
|
+
var import_jsx_runtime53 = require("react/jsx-runtime");
|
|
2416
2444
|
var SolanaIcon = (_a) => {
|
|
2417
2445
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
2418
|
-
return /* @__PURE__ */ (0,
|
|
2446
|
+
return /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(
|
|
2419
2447
|
"svg",
|
|
2420
2448
|
__spreadProps(__spreadValues(__spreadValues({
|
|
2421
2449
|
viewBox: "0 0 24 24",
|
|
@@ -2423,31 +2451,31 @@ var SolanaIcon = (_a) => {
|
|
|
2423
2451
|
fill: "none"
|
|
2424
2452
|
}, getIconA11yProps(title)), props), {
|
|
2425
2453
|
children: [
|
|
2426
|
-
title ? /* @__PURE__ */ (0,
|
|
2427
|
-
/* @__PURE__ */ (0,
|
|
2428
|
-
/* @__PURE__ */ (0,
|
|
2454
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime53.jsx)("title", { children: title }) : null,
|
|
2455
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsx)("rect", { width: "24", height: "24", rx: "8", fill: "#020205" }),
|
|
2456
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
|
|
2429
2457
|
"path",
|
|
2430
2458
|
{
|
|
2431
2459
|
fill: "url(#agg-solana-gradient-top)",
|
|
2432
2460
|
d: "M8.351 6.163A1.57 1.57 0 0 1 9.463 5.7h8.208c.699 0 1.048.844.554 1.338l-2.576 2.576a1.57 1.57 0 0 1-1.11.46H6.33c-.699 0-1.048-.844-.554-1.338L8.35 6.163Z"
|
|
2433
2461
|
}
|
|
2434
2462
|
),
|
|
2435
|
-
/* @__PURE__ */ (0,
|
|
2463
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
|
|
2436
2464
|
"path",
|
|
2437
2465
|
{
|
|
2438
2466
|
fill: "url(#agg-solana-gradient-middle)",
|
|
2439
2467
|
d: "M8.351 13.926a1.57 1.57 0 0 1 1.112-.463h8.208c.699 0 1.048.844.554 1.338l-2.576 2.576a1.57 1.57 0 0 1-1.11.46H6.33c-.699 0-1.048-.844-.554-1.338l2.576-2.573Z"
|
|
2440
2468
|
}
|
|
2441
2469
|
),
|
|
2442
|
-
/* @__PURE__ */ (0,
|
|
2470
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
|
|
2443
2471
|
"path",
|
|
2444
2472
|
{
|
|
2445
2473
|
fill: "url(#agg-solana-gradient-bottom)",
|
|
2446
2474
|
d: "M18.225 10.89a1.57 1.57 0 0 1-1.112.462H8.905c-.699 0-1.048-.845-.554-1.339L10.927 7.44a1.57 1.57 0 0 1 1.11-.46h8.208c.699 0 1.048.844.554 1.338L18.225 10.89Z"
|
|
2447
2475
|
}
|
|
2448
2476
|
),
|
|
2449
|
-
/* @__PURE__ */ (0,
|
|
2450
|
-
/* @__PURE__ */ (0,
|
|
2477
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsxs)("defs", { children: [
|
|
2478
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(
|
|
2451
2479
|
"linearGradient",
|
|
2452
2480
|
{
|
|
2453
2481
|
id: "agg-solana-gradient-top",
|
|
@@ -2457,12 +2485,12 @@ var SolanaIcon = (_a) => {
|
|
|
2457
2485
|
y2: "17.476",
|
|
2458
2486
|
gradientUnits: "userSpaceOnUse",
|
|
2459
2487
|
children: [
|
|
2460
|
-
/* @__PURE__ */ (0,
|
|
2461
|
-
/* @__PURE__ */ (0,
|
|
2488
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsx)("stop", { stopColor: "#4BF0B8" }),
|
|
2489
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsx)("stop", { offset: "1", stopColor: "#B44CF4" })
|
|
2462
2490
|
]
|
|
2463
2491
|
}
|
|
2464
2492
|
),
|
|
2465
|
-
/* @__PURE__ */ (0,
|
|
2493
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(
|
|
2466
2494
|
"linearGradient",
|
|
2467
2495
|
{
|
|
2468
2496
|
id: "agg-solana-gradient-middle",
|
|
@@ -2472,12 +2500,12 @@ var SolanaIcon = (_a) => {
|
|
|
2472
2500
|
y2: "21.238",
|
|
2473
2501
|
gradientUnits: "userSpaceOnUse",
|
|
2474
2502
|
children: [
|
|
2475
|
-
/* @__PURE__ */ (0,
|
|
2476
|
-
/* @__PURE__ */ (0,
|
|
2503
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsx)("stop", { stopColor: "#4BF0B8" }),
|
|
2504
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsx)("stop", { offset: "1", stopColor: "#B44CF4" })
|
|
2477
2505
|
]
|
|
2478
2506
|
}
|
|
2479
2507
|
),
|
|
2480
|
-
/* @__PURE__ */ (0,
|
|
2508
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(
|
|
2481
2509
|
"linearGradient",
|
|
2482
2510
|
{
|
|
2483
2511
|
id: "agg-solana-gradient-bottom",
|
|
@@ -2487,8 +2515,8 @@ var SolanaIcon = (_a) => {
|
|
|
2487
2515
|
y2: "19.359",
|
|
2488
2516
|
gradientUnits: "userSpaceOnUse",
|
|
2489
2517
|
children: [
|
|
2490
|
-
/* @__PURE__ */ (0,
|
|
2491
|
-
/* @__PURE__ */ (0,
|
|
2518
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsx)("stop", { stopColor: "#4BF0B8" }),
|
|
2519
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsx)("stop", { offset: "1", stopColor: "#B44CF4" })
|
|
2492
2520
|
]
|
|
2493
2521
|
}
|
|
2494
2522
|
)
|
|
@@ -2500,10 +2528,10 @@ var SolanaIcon = (_a) => {
|
|
|
2500
2528
|
SolanaIcon.displayName = "SolanaIcon";
|
|
2501
2529
|
|
|
2502
2530
|
// src/primitives/icon/svg/stay-in-control.tsx
|
|
2503
|
-
var
|
|
2531
|
+
var import_jsx_runtime54 = require("react/jsx-runtime");
|
|
2504
2532
|
var StayInControlIcon = (_a) => {
|
|
2505
2533
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
2506
|
-
return /* @__PURE__ */ (0,
|
|
2534
|
+
return /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(
|
|
2507
2535
|
"svg",
|
|
2508
2536
|
__spreadProps(__spreadValues(__spreadValues({
|
|
2509
2537
|
width: "28",
|
|
@@ -2514,16 +2542,16 @@ var StayInControlIcon = (_a) => {
|
|
|
2514
2542
|
className
|
|
2515
2543
|
}, getIconA11yProps(title)), props), {
|
|
2516
2544
|
children: [
|
|
2517
|
-
title ? /* @__PURE__ */ (0,
|
|
2518
|
-
/* @__PURE__ */ (0,
|
|
2519
|
-
/* @__PURE__ */ (0,
|
|
2545
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime54.jsx)("title", { children: title }) : null,
|
|
2546
|
+
/* @__PURE__ */ (0, import_jsx_runtime54.jsxs)("g", { clipPath: "url(#clip0_stay_in_control)", children: [
|
|
2547
|
+
/* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
|
|
2520
2548
|
"path",
|
|
2521
2549
|
{
|
|
2522
2550
|
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",
|
|
2523
2551
|
fill: "currentColor"
|
|
2524
2552
|
}
|
|
2525
2553
|
),
|
|
2526
|
-
/* @__PURE__ */ (0,
|
|
2554
|
+
/* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
|
|
2527
2555
|
"path",
|
|
2528
2556
|
{
|
|
2529
2557
|
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",
|
|
@@ -2531,7 +2559,7 @@ var StayInControlIcon = (_a) => {
|
|
|
2531
2559
|
}
|
|
2532
2560
|
)
|
|
2533
2561
|
] }),
|
|
2534
|
-
/* @__PURE__ */ (0,
|
|
2562
|
+
/* @__PURE__ */ (0, import_jsx_runtime54.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)("clipPath", { id: "clip0_stay_in_control", children: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)("rect", { width: "28", height: "28", fill: "white" }) }) })
|
|
2535
2563
|
]
|
|
2536
2564
|
})
|
|
2537
2565
|
);
|
|
@@ -2539,10 +2567,10 @@ var StayInControlIcon = (_a) => {
|
|
|
2539
2567
|
StayInControlIcon.displayName = "StayInControlIcon";
|
|
2540
2568
|
|
|
2541
2569
|
// src/primitives/icon/svg/telegram.tsx
|
|
2542
|
-
var
|
|
2570
|
+
var import_jsx_runtime55 = require("react/jsx-runtime");
|
|
2543
2571
|
var TelegramIcon = (_a) => {
|
|
2544
2572
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
2545
|
-
return /* @__PURE__ */ (0,
|
|
2573
|
+
return /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(
|
|
2546
2574
|
"svg",
|
|
2547
2575
|
__spreadProps(__spreadValues(__spreadValues({
|
|
2548
2576
|
viewBox: "0 0 20 20",
|
|
@@ -2550,8 +2578,8 @@ var TelegramIcon = (_a) => {
|
|
|
2550
2578
|
fill: "none"
|
|
2551
2579
|
}, getIconA11yProps(title)), props), {
|
|
2552
2580
|
children: [
|
|
2553
|
-
title ? /* @__PURE__ */ (0,
|
|
2554
|
-
/* @__PURE__ */ (0,
|
|
2581
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("title", { children: title }) : null,
|
|
2582
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsx)("g", { clipPath: "url(#clip0_telegram)", children: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
|
|
2555
2583
|
"path",
|
|
2556
2584
|
{
|
|
2557
2585
|
fillRule: "evenodd",
|
|
@@ -2560,7 +2588,7 @@ var TelegramIcon = (_a) => {
|
|
|
2560
2588
|
fill: "currentColor"
|
|
2561
2589
|
}
|
|
2562
2590
|
) }),
|
|
2563
|
-
/* @__PURE__ */ (0,
|
|
2591
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("clipPath", { id: "clip0_telegram", children: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("rect", { width: "20", height: "20", fill: "white" }) }) })
|
|
2564
2592
|
]
|
|
2565
2593
|
})
|
|
2566
2594
|
);
|
|
@@ -2568,10 +2596,10 @@ var TelegramIcon = (_a) => {
|
|
|
2568
2596
|
TelegramIcon.displayName = "TelegramIcon";
|
|
2569
2597
|
|
|
2570
2598
|
// src/primitives/icon/svg/triangle-down.tsx
|
|
2571
|
-
var
|
|
2599
|
+
var import_jsx_runtime56 = require("react/jsx-runtime");
|
|
2572
2600
|
var TriangleDownIcon = (_a) => {
|
|
2573
2601
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
2574
|
-
return /* @__PURE__ */ (0,
|
|
2602
|
+
return /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(
|
|
2575
2603
|
"svg",
|
|
2576
2604
|
__spreadProps(__spreadValues(__spreadValues({
|
|
2577
2605
|
viewBox: "0 0 8 8",
|
|
@@ -2579,16 +2607,16 @@ var TriangleDownIcon = (_a) => {
|
|
|
2579
2607
|
fill: "none"
|
|
2580
2608
|
}, getIconA11yProps(title)), props), {
|
|
2581
2609
|
children: [
|
|
2582
|
-
title ? /* @__PURE__ */ (0,
|
|
2583
|
-
/* @__PURE__ */ (0,
|
|
2584
|
-
/* @__PURE__ */ (0,
|
|
2610
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("title", { children: title }) : null,
|
|
2611
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.jsxs)("g", { transform: "scale(1,-1) translate(0,-8)", clipPath: "url(#triangle_up)", children: [
|
|
2612
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
|
|
2585
2613
|
"path",
|
|
2586
2614
|
{
|
|
2587
2615
|
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",
|
|
2588
2616
|
fill: "currentColor"
|
|
2589
2617
|
}
|
|
2590
2618
|
),
|
|
2591
|
-
/* @__PURE__ */ (0,
|
|
2619
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
|
|
2592
2620
|
"path",
|
|
2593
2621
|
{
|
|
2594
2622
|
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",
|
|
@@ -2596,7 +2624,7 @@ var TriangleDownIcon = (_a) => {
|
|
|
2596
2624
|
}
|
|
2597
2625
|
)
|
|
2598
2626
|
] }),
|
|
2599
|
-
/* @__PURE__ */ (0,
|
|
2627
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("clipPath", { id: "triangle_up", children: /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("rect", { width: "8", height: "8", fill: "white" }) }) })
|
|
2600
2628
|
]
|
|
2601
2629
|
})
|
|
2602
2630
|
);
|
|
@@ -2604,10 +2632,10 @@ var TriangleDownIcon = (_a) => {
|
|
|
2604
2632
|
TriangleDownIcon.displayName = "TriangleDownIcon";
|
|
2605
2633
|
|
|
2606
2634
|
// src/primitives/icon/svg/triangle-up-filled.tsx
|
|
2607
|
-
var
|
|
2635
|
+
var import_jsx_runtime57 = require("react/jsx-runtime");
|
|
2608
2636
|
var TriangleUpFilledIcon = (_a) => {
|
|
2609
2637
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
2610
|
-
return /* @__PURE__ */ (0,
|
|
2638
|
+
return /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)(
|
|
2611
2639
|
"svg",
|
|
2612
2640
|
__spreadProps(__spreadValues(__spreadValues({
|
|
2613
2641
|
viewBox: "0 0 8 8",
|
|
@@ -2615,8 +2643,8 @@ var TriangleUpFilledIcon = (_a) => {
|
|
|
2615
2643
|
fill: "none"
|
|
2616
2644
|
}, getIconA11yProps(title)), props), {
|
|
2617
2645
|
children: [
|
|
2618
|
-
title ? /* @__PURE__ */ (0,
|
|
2619
|
-
/* @__PURE__ */ (0,
|
|
2646
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime57.jsx)("title", { children: title }) : null,
|
|
2647
|
+
/* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
|
|
2620
2648
|
"path",
|
|
2621
2649
|
{
|
|
2622
2650
|
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",
|
|
@@ -2630,10 +2658,10 @@ var TriangleUpFilledIcon = (_a) => {
|
|
|
2630
2658
|
TriangleUpFilledIcon.displayName = "TriangleUpFilledIcon";
|
|
2631
2659
|
|
|
2632
2660
|
// src/primitives/icon/svg/triangle-up.tsx
|
|
2633
|
-
var
|
|
2661
|
+
var import_jsx_runtime58 = require("react/jsx-runtime");
|
|
2634
2662
|
var TriangleUpIcon = (_a) => {
|
|
2635
2663
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
2636
|
-
return /* @__PURE__ */ (0,
|
|
2664
|
+
return /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)(
|
|
2637
2665
|
"svg",
|
|
2638
2666
|
__spreadProps(__spreadValues(__spreadValues({
|
|
2639
2667
|
viewBox: "0 0 8 8",
|
|
@@ -2641,16 +2669,16 @@ var TriangleUpIcon = (_a) => {
|
|
|
2641
2669
|
fill: "none"
|
|
2642
2670
|
}, getIconA11yProps(title)), props), {
|
|
2643
2671
|
children: [
|
|
2644
|
-
title ? /* @__PURE__ */ (0,
|
|
2645
|
-
/* @__PURE__ */ (0,
|
|
2646
|
-
/* @__PURE__ */ (0,
|
|
2672
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("title", { children: title }) : null,
|
|
2673
|
+
/* @__PURE__ */ (0, import_jsx_runtime58.jsxs)("g", { clipPath: "url(#triangle_up)", children: [
|
|
2674
|
+
/* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
|
|
2647
2675
|
"path",
|
|
2648
2676
|
{
|
|
2649
2677
|
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",
|
|
2650
2678
|
fill: "currentColor"
|
|
2651
2679
|
}
|
|
2652
2680
|
),
|
|
2653
|
-
/* @__PURE__ */ (0,
|
|
2681
|
+
/* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
|
|
2654
2682
|
"path",
|
|
2655
2683
|
{
|
|
2656
2684
|
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",
|
|
@@ -2658,7 +2686,7 @@ var TriangleUpIcon = (_a) => {
|
|
|
2658
2686
|
}
|
|
2659
2687
|
)
|
|
2660
2688
|
] }),
|
|
2661
|
-
/* @__PURE__ */ (0,
|
|
2689
|
+
/* @__PURE__ */ (0, import_jsx_runtime58.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("clipPath", { id: "triangle_up", children: /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("rect", { width: "8", height: "8", fill: "white" }) }) })
|
|
2662
2690
|
]
|
|
2663
2691
|
})
|
|
2664
2692
|
);
|
|
@@ -2666,10 +2694,10 @@ var TriangleUpIcon = (_a) => {
|
|
|
2666
2694
|
TriangleUpIcon.displayName = "TriangleUpIcon";
|
|
2667
2695
|
|
|
2668
2696
|
// src/primitives/icon/svg/twitter.tsx
|
|
2669
|
-
var
|
|
2697
|
+
var import_jsx_runtime59 = require("react/jsx-runtime");
|
|
2670
2698
|
var TwitterIcon = (_a) => {
|
|
2671
2699
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
2672
|
-
return /* @__PURE__ */ (0,
|
|
2700
|
+
return /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)(
|
|
2673
2701
|
"svg",
|
|
2674
2702
|
__spreadProps(__spreadValues(__spreadValues({
|
|
2675
2703
|
viewBox: "0 0 20 20",
|
|
@@ -2677,8 +2705,8 @@ var TwitterIcon = (_a) => {
|
|
|
2677
2705
|
fill: "none"
|
|
2678
2706
|
}, getIconA11yProps(title)), props), {
|
|
2679
2707
|
children: [
|
|
2680
|
-
title ? /* @__PURE__ */ (0,
|
|
2681
|
-
/* @__PURE__ */ (0,
|
|
2708
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("title", { children: title }) : null,
|
|
2709
|
+
/* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
|
|
2682
2710
|
"path",
|
|
2683
2711
|
{
|
|
2684
2712
|
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",
|
|
@@ -2692,10 +2720,10 @@ var TwitterIcon = (_a) => {
|
|
|
2692
2720
|
TwitterIcon.displayName = "TwitterIcon";
|
|
2693
2721
|
|
|
2694
2722
|
// src/primitives/icon/svg/upload.tsx
|
|
2695
|
-
var
|
|
2723
|
+
var import_jsx_runtime60 = require("react/jsx-runtime");
|
|
2696
2724
|
var UploadIcon = (_a) => {
|
|
2697
2725
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
2698
|
-
return /* @__PURE__ */ (0,
|
|
2726
|
+
return /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)(
|
|
2699
2727
|
"svg",
|
|
2700
2728
|
__spreadProps(__spreadValues(__spreadValues({
|
|
2701
2729
|
viewBox: "0 0 16 16",
|
|
@@ -2703,8 +2731,8 @@ var UploadIcon = (_a) => {
|
|
|
2703
2731
|
fill: "none"
|
|
2704
2732
|
}, getIconA11yProps(title)), props), {
|
|
2705
2733
|
children: [
|
|
2706
|
-
title ? /* @__PURE__ */ (0,
|
|
2707
|
-
/* @__PURE__ */ (0,
|
|
2734
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("title", { children: title }) : null,
|
|
2735
|
+
/* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
|
|
2708
2736
|
"path",
|
|
2709
2737
|
{
|
|
2710
2738
|
d: "M8 13.5v-7m0 0 2.5 2.5M8 6.5 5.5 9",
|
|
@@ -2714,7 +2742,7 @@ var UploadIcon = (_a) => {
|
|
|
2714
2742
|
strokeLinejoin: "round"
|
|
2715
2743
|
}
|
|
2716
2744
|
),
|
|
2717
|
-
/* @__PURE__ */ (0,
|
|
2745
|
+
/* @__PURE__ */ (0, import_jsx_runtime60.jsx)("path", { d: "M2.5 3.5h11", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round" })
|
|
2718
2746
|
]
|
|
2719
2747
|
})
|
|
2720
2748
|
);
|
|
@@ -2722,10 +2750,10 @@ var UploadIcon = (_a) => {
|
|
|
2722
2750
|
UploadIcon.displayName = "UploadIcon";
|
|
2723
2751
|
|
|
2724
2752
|
// src/primitives/icon/svg/wallet-avatar.tsx
|
|
2725
|
-
var
|
|
2753
|
+
var import_jsx_runtime61 = require("react/jsx-runtime");
|
|
2726
2754
|
function WalletAvatarIcon(_a) {
|
|
2727
2755
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
2728
|
-
return /* @__PURE__ */ (0,
|
|
2756
|
+
return /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)(
|
|
2729
2757
|
"svg",
|
|
2730
2758
|
__spreadProps(__spreadValues(__spreadValues({
|
|
2731
2759
|
fill: "none",
|
|
@@ -2733,9 +2761,9 @@ function WalletAvatarIcon(_a) {
|
|
|
2733
2761
|
viewBox: "0 0 16 16"
|
|
2734
2762
|
}, getIconA11yProps(title)), props), {
|
|
2735
2763
|
children: [
|
|
2736
|
-
title ? /* @__PURE__ */ (0,
|
|
2737
|
-
/* @__PURE__ */ (0,
|
|
2738
|
-
/* @__PURE__ */ (0,
|
|
2764
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime61.jsx)("title", { children: title }) : null,
|
|
2765
|
+
/* @__PURE__ */ (0, import_jsx_runtime61.jsx)("circle", { cx: "8", cy: "5.25", r: "2.25", fill: "currentColor" }),
|
|
2766
|
+
/* @__PURE__ */ (0, import_jsx_runtime61.jsx)("path", { d: "M3.75 12.75a4.25 4.25 0 0 1 8.5 0v.25h-8.5v-.25Z", fill: "currentColor" })
|
|
2739
2767
|
]
|
|
2740
2768
|
})
|
|
2741
2769
|
);
|
|
@@ -2743,10 +2771,10 @@ function WalletAvatarIcon(_a) {
|
|
|
2743
2771
|
WalletAvatarIcon.displayName = "WalletAvatarIcon";
|
|
2744
2772
|
|
|
2745
2773
|
// src/primitives/icon/svg/wallet.tsx
|
|
2746
|
-
var
|
|
2774
|
+
var import_jsx_runtime62 = require("react/jsx-runtime");
|
|
2747
2775
|
var WalletIcon = (_a) => {
|
|
2748
2776
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
2749
|
-
return /* @__PURE__ */ (0,
|
|
2777
|
+
return /* @__PURE__ */ (0, import_jsx_runtime62.jsxs)(
|
|
2750
2778
|
"svg",
|
|
2751
2779
|
__spreadProps(__spreadValues(__spreadValues({
|
|
2752
2780
|
viewBox: "0 0 24 24",
|
|
@@ -2754,8 +2782,8 @@ var WalletIcon = (_a) => {
|
|
|
2754
2782
|
fill: "none"
|
|
2755
2783
|
}, getIconA11yProps(title)), props), {
|
|
2756
2784
|
children: [
|
|
2757
|
-
title ? /* @__PURE__ */ (0,
|
|
2758
|
-
/* @__PURE__ */ (0,
|
|
2785
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime62.jsx)("title", { children: title }) : null,
|
|
2786
|
+
/* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
|
|
2759
2787
|
"path",
|
|
2760
2788
|
{
|
|
2761
2789
|
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",
|
|
@@ -2769,10 +2797,10 @@ var WalletIcon = (_a) => {
|
|
|
2769
2797
|
WalletIcon.displayName = "WalletIcon";
|
|
2770
2798
|
|
|
2771
2799
|
// src/primitives/icon/svg/warning-filled.tsx
|
|
2772
|
-
var
|
|
2800
|
+
var import_jsx_runtime63 = require("react/jsx-runtime");
|
|
2773
2801
|
var WarningFilledIcon = (_a) => {
|
|
2774
2802
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
2775
|
-
return /* @__PURE__ */ (0,
|
|
2803
|
+
return /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)(
|
|
2776
2804
|
"svg",
|
|
2777
2805
|
__spreadProps(__spreadValues(__spreadValues({
|
|
2778
2806
|
viewBox: "0 0 16 16",
|
|
@@ -2780,8 +2808,8 @@ var WarningFilledIcon = (_a) => {
|
|
|
2780
2808
|
fill: "none"
|
|
2781
2809
|
}, getIconA11yProps(title)), props), {
|
|
2782
2810
|
children: [
|
|
2783
|
-
title ? /* @__PURE__ */ (0,
|
|
2784
|
-
/* @__PURE__ */ (0,
|
|
2811
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("title", { children: title }) : null,
|
|
2812
|
+
/* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
|
|
2785
2813
|
"path",
|
|
2786
2814
|
{
|
|
2787
2815
|
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",
|
|
@@ -2795,10 +2823,10 @@ var WarningFilledIcon = (_a) => {
|
|
|
2795
2823
|
WarningFilledIcon.displayName = "WarningFilledIcon";
|
|
2796
2824
|
|
|
2797
2825
|
// src/primitives/icon/svg/warning.tsx
|
|
2798
|
-
var
|
|
2826
|
+
var import_jsx_runtime64 = require("react/jsx-runtime");
|
|
2799
2827
|
var WarningIcon = (_a) => {
|
|
2800
2828
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
2801
|
-
return /* @__PURE__ */ (0,
|
|
2829
|
+
return /* @__PURE__ */ (0, import_jsx_runtime64.jsxs)(
|
|
2802
2830
|
"svg",
|
|
2803
2831
|
__spreadProps(__spreadValues(__spreadValues({
|
|
2804
2832
|
width: "14",
|
|
@@ -2809,15 +2837,15 @@ var WarningIcon = (_a) => {
|
|
|
2809
2837
|
className
|
|
2810
2838
|
}, getIconA11yProps(title)), props), {
|
|
2811
2839
|
children: [
|
|
2812
|
-
title ? /* @__PURE__ */ (0,
|
|
2813
|
-
/* @__PURE__ */ (0,
|
|
2840
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime64.jsx)("title", { children: title }) : null,
|
|
2841
|
+
/* @__PURE__ */ (0, import_jsx_runtime64.jsx)("g", { clipPath: "url(#clip0_warning)", children: /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(
|
|
2814
2842
|
"path",
|
|
2815
2843
|
{
|
|
2816
2844
|
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",
|
|
2817
2845
|
fill: "currentColor"
|
|
2818
2846
|
}
|
|
2819
2847
|
) }),
|
|
2820
|
-
/* @__PURE__ */ (0,
|
|
2848
|
+
/* @__PURE__ */ (0, import_jsx_runtime64.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime64.jsx)("clipPath", { id: "clip0_warning", children: /* @__PURE__ */ (0, import_jsx_runtime64.jsx)("rect", { width: "14", height: "14", fill: "white" }) }) })
|
|
2821
2849
|
]
|
|
2822
2850
|
})
|
|
2823
2851
|
);
|
|
@@ -2854,6 +2882,7 @@ var iconRegistry = {
|
|
|
2854
2882
|
ethereum: EthereumIcon,
|
|
2855
2883
|
"external-link": ExternalLinkIcon,
|
|
2856
2884
|
google: GoogleIcon,
|
|
2885
|
+
image: ImageIcon,
|
|
2857
2886
|
info: InfoIcon,
|
|
2858
2887
|
"link-accounts": LinkAccountsIcon,
|
|
2859
2888
|
pencil: PencilIcon,
|
|
@@ -2887,7 +2916,7 @@ var resolveIconStyle = (color, style) => {
|
|
|
2887
2916
|
};
|
|
2888
2917
|
|
|
2889
2918
|
// src/primitives/icon/index.tsx
|
|
2890
|
-
var
|
|
2919
|
+
var import_jsx_runtime65 = require("react/jsx-runtime");
|
|
2891
2920
|
var Icon = (_a) => {
|
|
2892
2921
|
var _b = _a, {
|
|
2893
2922
|
name,
|
|
@@ -2905,7 +2934,7 @@ var Icon = (_a) => {
|
|
|
2905
2934
|
const Component = iconRegistry[name];
|
|
2906
2935
|
const resolvedStyle = resolveIconStyle(color, style);
|
|
2907
2936
|
const resolvedClassName = cn(iconSizeClasses[size], className);
|
|
2908
|
-
return /* @__PURE__ */ (0,
|
|
2937
|
+
return /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
|
|
2909
2938
|
Component,
|
|
2910
2939
|
__spreadValues({
|
|
2911
2940
|
color,
|
|
@@ -2917,7 +2946,7 @@ var Icon = (_a) => {
|
|
|
2917
2946
|
Icon.displayName = "Icon";
|
|
2918
2947
|
|
|
2919
2948
|
// src/primitives/inline-alert/index.tsx
|
|
2920
|
-
var
|
|
2949
|
+
var import_jsx_runtime66 = require("react/jsx-runtime");
|
|
2921
2950
|
var toneIconName = {
|
|
2922
2951
|
error: "error-filled",
|
|
2923
2952
|
warning: "warning-filled"
|
|
@@ -2964,7 +2993,7 @@ var InlineAlert = ({
|
|
|
2964
2993
|
});
|
|
2965
2994
|
const hasAction = !!actionLabel && !!onAction;
|
|
2966
2995
|
const { ariaLive, role } = liveRegionConfig[tone];
|
|
2967
|
-
return /* @__PURE__ */ (0,
|
|
2996
|
+
return /* @__PURE__ */ (0, import_jsx_runtime66.jsxs)(
|
|
2968
2997
|
"div",
|
|
2969
2998
|
{
|
|
2970
2999
|
className: cn(
|
|
@@ -2977,7 +3006,7 @@ var InlineAlert = ({
|
|
|
2977
3006
|
"aria-live": ariaLive,
|
|
2978
3007
|
"aria-label": ariaLabel,
|
|
2979
3008
|
children: [
|
|
2980
|
-
/* @__PURE__ */ (0,
|
|
3009
|
+
/* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
|
|
2981
3010
|
Icon,
|
|
2982
3011
|
{
|
|
2983
3012
|
name: toneIconName[tone],
|
|
@@ -2985,14 +3014,14 @@ var InlineAlert = ({
|
|
|
2985
3014
|
"aria-hidden": "true"
|
|
2986
3015
|
}
|
|
2987
3016
|
),
|
|
2988
|
-
/* @__PURE__ */ (0,
|
|
3017
|
+
/* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
|
|
2989
3018
|
"div",
|
|
2990
3019
|
{
|
|
2991
3020
|
className: cn(
|
|
2992
3021
|
"min-w-0",
|
|
2993
3022
|
resolvedVariant === "plain" && !hasAction ? "flex-none text-center" : "flex-1"
|
|
2994
3023
|
),
|
|
2995
|
-
children: /* @__PURE__ */ (0,
|
|
3024
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime66.jsxs)(
|
|
2996
3025
|
"div",
|
|
2997
3026
|
{
|
|
2998
3027
|
className: cn(
|
|
@@ -3001,14 +3030,14 @@ var InlineAlert = ({
|
|
|
3001
3030
|
resolvedVariant === "plain" && !hasAction ? "items-center" : null
|
|
3002
3031
|
),
|
|
3003
3032
|
children: [
|
|
3004
|
-
title ? /* @__PURE__ */ (0,
|
|
3005
|
-
/* @__PURE__ */ (0,
|
|
3033
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime66.jsx)("p", { className: "text-agg-sm font-agg-bold leading-agg-5 text-agg-foreground", children: title }) : null,
|
|
3034
|
+
/* @__PURE__ */ (0, import_jsx_runtime66.jsx)("p", { className: "text-agg-sm leading-agg-5 text-agg-foreground", children: message })
|
|
3006
3035
|
]
|
|
3007
3036
|
}
|
|
3008
3037
|
)
|
|
3009
3038
|
}
|
|
3010
3039
|
),
|
|
3011
|
-
hasAction ? /* @__PURE__ */ (0,
|
|
3040
|
+
hasAction ? /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
|
|
3012
3041
|
"button",
|
|
3013
3042
|
{
|
|
3014
3043
|
type: "button",
|
|
@@ -3030,7 +3059,7 @@ InlineAlert.displayName = "InlineAlert";
|
|
|
3030
3059
|
// src/primitives/number-value.tsx
|
|
3031
3060
|
var import_react3 = require("react");
|
|
3032
3061
|
var import_hooks13 = require("@agg-market/hooks");
|
|
3033
|
-
var
|
|
3062
|
+
var import_jsx_runtime67 = require("react/jsx-runtime");
|
|
3034
3063
|
var NumberValue = ({
|
|
3035
3064
|
value,
|
|
3036
3065
|
format = "number",
|
|
@@ -3058,13 +3087,99 @@ var NumberValue = ({
|
|
|
3058
3087
|
}
|
|
3059
3088
|
return config.formatNumber(value);
|
|
3060
3089
|
}, [config, fallback, format, value]);
|
|
3061
|
-
return /* @__PURE__ */ (0,
|
|
3090
|
+
return /* @__PURE__ */ (0, import_jsx_runtime67.jsx)("span", { className: cn("font-agg-sans", className), "aria-label": ariaLabel, children: formatted });
|
|
3062
3091
|
};
|
|
3063
3092
|
NumberValue.displayName = "NumberValue";
|
|
3064
3093
|
|
|
3065
3094
|
// src/primitives/venue-logo/index.tsx
|
|
3066
3095
|
var import_hooks14 = require("@agg-market/hooks");
|
|
3067
3096
|
|
|
3097
|
+
// src/primitives/remote-image/index.tsx
|
|
3098
|
+
var import_react4 = require("react");
|
|
3099
|
+
|
|
3100
|
+
// src/primitives/remote-image/remote-image.constants.ts
|
|
3101
|
+
var containerClasses = "relative inline-flex shrink-0 overflow-hidden";
|
|
3102
|
+
var imageClasses = "h-full w-full object-cover";
|
|
3103
|
+
var skeletonClasses = "h-full w-full rounded-agg-lg";
|
|
3104
|
+
var placeholderClasses = "flex h-full w-full items-center justify-center bg-agg-secondary-hover rounded-agg-lg";
|
|
3105
|
+
|
|
3106
|
+
// src/primitives/remote-image/index.tsx
|
|
3107
|
+
var import_jsx_runtime68 = require("react/jsx-runtime");
|
|
3108
|
+
var isValidSrc = (src) => typeof src === "string" && src.length > 0;
|
|
3109
|
+
var RemoteImage = ({
|
|
3110
|
+
src,
|
|
3111
|
+
alt,
|
|
3112
|
+
title,
|
|
3113
|
+
className,
|
|
3114
|
+
classNames,
|
|
3115
|
+
width,
|
|
3116
|
+
height,
|
|
3117
|
+
onClick,
|
|
3118
|
+
ariaLabel
|
|
3119
|
+
}) => {
|
|
3120
|
+
const [status, setStatus] = (0, import_react4.useState)(
|
|
3121
|
+
() => isValidSrc(src) ? "loading" : "error"
|
|
3122
|
+
);
|
|
3123
|
+
const prevSrcRef = (0, import_react4.useRef)(src);
|
|
3124
|
+
if (src !== prevSrcRef.current) {
|
|
3125
|
+
prevSrcRef.current = src;
|
|
3126
|
+
const next = isValidSrc(src) ? "loading" : "error";
|
|
3127
|
+
if (status !== next) {
|
|
3128
|
+
setStatus(next);
|
|
3129
|
+
}
|
|
3130
|
+
}
|
|
3131
|
+
const handleLoad = () => {
|
|
3132
|
+
setStatus("loaded");
|
|
3133
|
+
};
|
|
3134
|
+
const handleError = () => {
|
|
3135
|
+
setStatus("error");
|
|
3136
|
+
};
|
|
3137
|
+
const sizeStyle = width !== void 0 || height !== void 0 ? { width: width != null ? width : void 0, height: height != null ? height : void 0 } : void 0;
|
|
3138
|
+
return /* @__PURE__ */ (0, import_jsx_runtime68.jsxs)(
|
|
3139
|
+
"div",
|
|
3140
|
+
{
|
|
3141
|
+
className: cn(containerClasses, classNames == null ? void 0 : classNames.root, className),
|
|
3142
|
+
style: sizeStyle,
|
|
3143
|
+
onClick,
|
|
3144
|
+
role: onClick ? "button" : void 0,
|
|
3145
|
+
tabIndex: onClick ? 0 : void 0,
|
|
3146
|
+
onKeyDown: onClick ? (e) => {
|
|
3147
|
+
if (e.key === "Enter" || e.key === " ") {
|
|
3148
|
+
e.preventDefault();
|
|
3149
|
+
onClick();
|
|
3150
|
+
}
|
|
3151
|
+
} : void 0,
|
|
3152
|
+
"aria-label": ariaLabel,
|
|
3153
|
+
title,
|
|
3154
|
+
children: [
|
|
3155
|
+
status === "loading" && /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(SkeletonBlock, { className: cn(skeletonClasses, classNames == null ? void 0 : classNames.placeholder) }),
|
|
3156
|
+
status === "error" && /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
|
|
3157
|
+
"div",
|
|
3158
|
+
{
|
|
3159
|
+
className: cn(placeholderClasses, classNames == null ? void 0 : classNames.placeholder),
|
|
3160
|
+
"aria-hidden": true,
|
|
3161
|
+
"aria-errormessage": "Image failed to load",
|
|
3162
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(Icon, { name: "image", size: "medium", className: "text-agg-muted-foreground" })
|
|
3163
|
+
}
|
|
3164
|
+
),
|
|
3165
|
+
isValidSrc(src) && status !== "error" && /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
|
|
3166
|
+
"img",
|
|
3167
|
+
{
|
|
3168
|
+
src,
|
|
3169
|
+
alt,
|
|
3170
|
+
width,
|
|
3171
|
+
height,
|
|
3172
|
+
onLoad: handleLoad,
|
|
3173
|
+
onError: handleError,
|
|
3174
|
+
className: cn(imageClasses, status === "loading" && "hidden", classNames == null ? void 0 : classNames.image)
|
|
3175
|
+
}
|
|
3176
|
+
)
|
|
3177
|
+
]
|
|
3178
|
+
}
|
|
3179
|
+
);
|
|
3180
|
+
};
|
|
3181
|
+
RemoteImage.displayName = "RemoteImage";
|
|
3182
|
+
|
|
3068
3183
|
// src/primitives/venue-logo/logo-props.ts
|
|
3069
3184
|
var DEFAULT_MONOCHROME_COLOR = "currentColor";
|
|
3070
3185
|
var resolveLogoPrimaryColor = ({
|
|
@@ -3080,7 +3195,7 @@ var resolveLogoPrimaryColor = ({
|
|
|
3080
3195
|
};
|
|
3081
3196
|
|
|
3082
3197
|
// src/primitives/venue-logo/svg/logo-kalshi.tsx
|
|
3083
|
-
var
|
|
3198
|
+
var import_jsx_runtime69 = require("react/jsx-runtime");
|
|
3084
3199
|
var KALSHI_GREEN = "#18C590";
|
|
3085
3200
|
var LogoKalshiIcon = (_a) => {
|
|
3086
3201
|
var _b = _a, {
|
|
@@ -3099,7 +3214,7 @@ var LogoKalshiIcon = (_a) => {
|
|
|
3099
3214
|
isColor,
|
|
3100
3215
|
color
|
|
3101
3216
|
});
|
|
3102
|
-
return /* @__PURE__ */ (0,
|
|
3217
|
+
return /* @__PURE__ */ (0, import_jsx_runtime69.jsxs)(
|
|
3103
3218
|
"svg",
|
|
3104
3219
|
__spreadProps(__spreadValues(__spreadValues({
|
|
3105
3220
|
viewBox: "0 0 100 100",
|
|
@@ -3107,8 +3222,8 @@ var LogoKalshiIcon = (_a) => {
|
|
|
3107
3222
|
fill: "none"
|
|
3108
3223
|
}, getIconA11yProps(title)), props), {
|
|
3109
3224
|
children: [
|
|
3110
|
-
title ? /* @__PURE__ */ (0,
|
|
3111
|
-
/* @__PURE__ */ (0,
|
|
3225
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime69.jsx)("title", { children: title }) : null,
|
|
3226
|
+
/* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
|
|
3112
3227
|
"path",
|
|
3113
3228
|
{
|
|
3114
3229
|
d: "M54.9798 47.579L79.4249 85.9995H58.2273L38.2531 52.9344V85.9995H20.4189V13.9995H38.2531V45.4356L59.6547 13.9995H78.7119L54.9798 47.579Z",
|
|
@@ -3122,7 +3237,7 @@ var LogoKalshiIcon = (_a) => {
|
|
|
3122
3237
|
LogoKalshiIcon.displayName = "LogoKalshiIcon";
|
|
3123
3238
|
|
|
3124
3239
|
// src/primitives/venue-logo/svg/logo-limitless.tsx
|
|
3125
|
-
var
|
|
3240
|
+
var import_jsx_runtime70 = require("react/jsx-runtime");
|
|
3126
3241
|
var LIMITLESS_BLACK = "#000000";
|
|
3127
3242
|
var LogoLimitlessIcon = (_a) => {
|
|
3128
3243
|
var _b = _a, {
|
|
@@ -3141,7 +3256,7 @@ var LogoLimitlessIcon = (_a) => {
|
|
|
3141
3256
|
isColor,
|
|
3142
3257
|
color
|
|
3143
3258
|
});
|
|
3144
|
-
return /* @__PURE__ */ (0,
|
|
3259
|
+
return /* @__PURE__ */ (0, import_jsx_runtime70.jsxs)(
|
|
3145
3260
|
"svg",
|
|
3146
3261
|
__spreadProps(__spreadValues(__spreadValues({
|
|
3147
3262
|
viewBox: "0 0 44 32",
|
|
@@ -3149,8 +3264,8 @@ var LogoLimitlessIcon = (_a) => {
|
|
|
3149
3264
|
fill: "none"
|
|
3150
3265
|
}, getIconA11yProps(title)), props), {
|
|
3151
3266
|
children: [
|
|
3152
|
-
title ? /* @__PURE__ */ (0,
|
|
3153
|
-
/* @__PURE__ */ (0,
|
|
3267
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime70.jsx)("title", { children: title }) : null,
|
|
3268
|
+
/* @__PURE__ */ (0, import_jsx_runtime70.jsx)(
|
|
3154
3269
|
"path",
|
|
3155
3270
|
{
|
|
3156
3271
|
fill: primaryColor,
|
|
@@ -3159,7 +3274,7 @@ var LogoLimitlessIcon = (_a) => {
|
|
|
3159
3274
|
clipRule: "evenodd"
|
|
3160
3275
|
}
|
|
3161
3276
|
),
|
|
3162
|
-
/* @__PURE__ */ (0,
|
|
3277
|
+
/* @__PURE__ */ (0, import_jsx_runtime70.jsx)(
|
|
3163
3278
|
"path",
|
|
3164
3279
|
{
|
|
3165
3280
|
fill: primaryColor,
|
|
@@ -3168,7 +3283,7 @@ var LogoLimitlessIcon = (_a) => {
|
|
|
3168
3283
|
clipRule: "evenodd"
|
|
3169
3284
|
}
|
|
3170
3285
|
),
|
|
3171
|
-
/* @__PURE__ */ (0,
|
|
3286
|
+
/* @__PURE__ */ (0, import_jsx_runtime70.jsx)(
|
|
3172
3287
|
"path",
|
|
3173
3288
|
{
|
|
3174
3289
|
fill: primaryColor,
|
|
@@ -3177,7 +3292,7 @@ var LogoLimitlessIcon = (_a) => {
|
|
|
3177
3292
|
clipRule: "evenodd"
|
|
3178
3293
|
}
|
|
3179
3294
|
),
|
|
3180
|
-
/* @__PURE__ */ (0,
|
|
3295
|
+
/* @__PURE__ */ (0, import_jsx_runtime70.jsx)(
|
|
3181
3296
|
"path",
|
|
3182
3297
|
{
|
|
3183
3298
|
fill: primaryColor,
|
|
@@ -3186,7 +3301,7 @@ var LogoLimitlessIcon = (_a) => {
|
|
|
3186
3301
|
clipRule: "evenodd"
|
|
3187
3302
|
}
|
|
3188
3303
|
),
|
|
3189
|
-
/* @__PURE__ */ (0,
|
|
3304
|
+
/* @__PURE__ */ (0, import_jsx_runtime70.jsx)(
|
|
3190
3305
|
"path",
|
|
3191
3306
|
{
|
|
3192
3307
|
fill: primaryColor,
|
|
@@ -3202,7 +3317,7 @@ var LogoLimitlessIcon = (_a) => {
|
|
|
3202
3317
|
LogoLimitlessIcon.displayName = "LogoLimitlessIcon";
|
|
3203
3318
|
|
|
3204
3319
|
// src/primitives/venue-logo/svg/logo-opinion.tsx
|
|
3205
|
-
var
|
|
3320
|
+
var import_jsx_runtime71 = require("react/jsx-runtime");
|
|
3206
3321
|
var OPINION_BLACK = "#000000";
|
|
3207
3322
|
var LogoOpinionIcon = (_a) => {
|
|
3208
3323
|
var _b = _a, {
|
|
@@ -3221,7 +3336,7 @@ var LogoOpinionIcon = (_a) => {
|
|
|
3221
3336
|
isColor,
|
|
3222
3337
|
color
|
|
3223
3338
|
});
|
|
3224
|
-
return /* @__PURE__ */ (0,
|
|
3339
|
+
return /* @__PURE__ */ (0, import_jsx_runtime71.jsxs)(
|
|
3225
3340
|
"svg",
|
|
3226
3341
|
__spreadProps(__spreadValues(__spreadValues({
|
|
3227
3342
|
viewBox: "0 0 100 100",
|
|
@@ -3229,8 +3344,8 @@ var LogoOpinionIcon = (_a) => {
|
|
|
3229
3344
|
fill: "none"
|
|
3230
3345
|
}, getIconA11yProps(title)), props), {
|
|
3231
3346
|
children: [
|
|
3232
|
-
title ? /* @__PURE__ */ (0,
|
|
3233
|
-
/* @__PURE__ */ (0,
|
|
3347
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime71.jsx)("title", { children: title }) : null,
|
|
3348
|
+
/* @__PURE__ */ (0, import_jsx_runtime71.jsx)(
|
|
3234
3349
|
"path",
|
|
3235
3350
|
{
|
|
3236
3351
|
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",
|
|
@@ -3244,7 +3359,7 @@ var LogoOpinionIcon = (_a) => {
|
|
|
3244
3359
|
LogoOpinionIcon.displayName = "LogoOpinionIcon";
|
|
3245
3360
|
|
|
3246
3361
|
// src/primitives/venue-logo/svg/logo-polymarket.tsx
|
|
3247
|
-
var
|
|
3362
|
+
var import_jsx_runtime72 = require("react/jsx-runtime");
|
|
3248
3363
|
var POLYMARKET_BLUE = "#2E5CFF";
|
|
3249
3364
|
var LogoPolymarketIcon = (_a) => {
|
|
3250
3365
|
var _b = _a, {
|
|
@@ -3263,7 +3378,7 @@ var LogoPolymarketIcon = (_a) => {
|
|
|
3263
3378
|
isColor,
|
|
3264
3379
|
color
|
|
3265
3380
|
});
|
|
3266
|
-
return /* @__PURE__ */ (0,
|
|
3381
|
+
return /* @__PURE__ */ (0, import_jsx_runtime72.jsxs)(
|
|
3267
3382
|
"svg",
|
|
3268
3383
|
__spreadProps(__spreadValues(__spreadValues({
|
|
3269
3384
|
viewBox: "0 0 100 100",
|
|
@@ -3271,8 +3386,8 @@ var LogoPolymarketIcon = (_a) => {
|
|
|
3271
3386
|
fill: "none"
|
|
3272
3387
|
}, getIconA11yProps(title)), props), {
|
|
3273
3388
|
children: [
|
|
3274
|
-
title ? /* @__PURE__ */ (0,
|
|
3275
|
-
/* @__PURE__ */ (0,
|
|
3389
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime72.jsx)("title", { children: title }) : null,
|
|
3390
|
+
/* @__PURE__ */ (0, import_jsx_runtime72.jsx)(
|
|
3276
3391
|
"path",
|
|
3277
3392
|
{
|
|
3278
3393
|
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",
|
|
@@ -3286,7 +3401,7 @@ var LogoPolymarketIcon = (_a) => {
|
|
|
3286
3401
|
LogoPolymarketIcon.displayName = "LogoPolymarketIcon";
|
|
3287
3402
|
|
|
3288
3403
|
// src/primitives/venue-logo/svg/logo-probable.tsx
|
|
3289
|
-
var
|
|
3404
|
+
var import_jsx_runtime73 = require("react/jsx-runtime");
|
|
3290
3405
|
var PROBABLE_ORANGE = "#F05923";
|
|
3291
3406
|
var LogoProbableIcon = (_a) => {
|
|
3292
3407
|
var _b = _a, {
|
|
@@ -3305,7 +3420,7 @@ var LogoProbableIcon = (_a) => {
|
|
|
3305
3420
|
isColor,
|
|
3306
3421
|
color
|
|
3307
3422
|
});
|
|
3308
|
-
return /* @__PURE__ */ (0,
|
|
3423
|
+
return /* @__PURE__ */ (0, import_jsx_runtime73.jsxs)(
|
|
3309
3424
|
"svg",
|
|
3310
3425
|
__spreadProps(__spreadValues(__spreadValues({
|
|
3311
3426
|
viewBox: "0 0 100 100",
|
|
@@ -3313,16 +3428,16 @@ var LogoProbableIcon = (_a) => {
|
|
|
3313
3428
|
fill: "none"
|
|
3314
3429
|
}, getIconA11yProps(title)), props), {
|
|
3315
3430
|
children: [
|
|
3316
|
-
title ? /* @__PURE__ */ (0,
|
|
3317
|
-
/* @__PURE__ */ (0,
|
|
3431
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime73.jsx)("title", { children: title }) : null,
|
|
3432
|
+
/* @__PURE__ */ (0, import_jsx_runtime73.jsx)(
|
|
3318
3433
|
"path",
|
|
3319
3434
|
{
|
|
3320
3435
|
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",
|
|
3321
3436
|
fill: primaryColor
|
|
3322
3437
|
}
|
|
3323
3438
|
),
|
|
3324
|
-
/* @__PURE__ */ (0,
|
|
3325
|
-
/* @__PURE__ */ (0,
|
|
3439
|
+
/* @__PURE__ */ (0, import_jsx_runtime73.jsx)("path", { d: "M90.9329 15.4546V30.4546H8.90234V15.4546H90.9329Z", fill: primaryColor }),
|
|
3440
|
+
/* @__PURE__ */ (0, import_jsx_runtime73.jsx)(
|
|
3326
3441
|
"path",
|
|
3327
3442
|
{
|
|
3328
3443
|
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",
|
|
@@ -3366,7 +3481,7 @@ var sizeClasses2 = {
|
|
|
3366
3481
|
};
|
|
3367
3482
|
|
|
3368
3483
|
// src/primitives/venue-logo/index.tsx
|
|
3369
|
-
var
|
|
3484
|
+
var import_jsx_runtime74 = require("react/jsx-runtime");
|
|
3370
3485
|
var VenueLogo = ({
|
|
3371
3486
|
venue,
|
|
3372
3487
|
variant = "icon",
|
|
@@ -3383,8 +3498,8 @@ var VenueLogo = ({
|
|
|
3383
3498
|
const sizeClass = sizeClasses2[size];
|
|
3384
3499
|
const resolvedLabel = (_a = ariaLabel != null ? ariaLabel : labels.venues[venue]) != null ? _a : venueLogoLabels[venue];
|
|
3385
3500
|
if (variant === "logo") {
|
|
3386
|
-
return /* @__PURE__ */ (0,
|
|
3387
|
-
|
|
3501
|
+
return /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(
|
|
3502
|
+
RemoteImage,
|
|
3388
3503
|
{
|
|
3389
3504
|
src: venueLogoUrlRegistry[venue],
|
|
3390
3505
|
alt: resolvedLabel,
|
|
@@ -3395,7 +3510,7 @@ var VenueLogo = ({
|
|
|
3395
3510
|
}
|
|
3396
3511
|
const Component = venueLogoRegistry[venue];
|
|
3397
3512
|
const resolvedIsColor = isMonochromatic ? false : isColor;
|
|
3398
|
-
return /* @__PURE__ */ (0,
|
|
3513
|
+
return /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(
|
|
3399
3514
|
Component,
|
|
3400
3515
|
{
|
|
3401
3516
|
className: cn("group/agg-venue-logo", "shrink-0", sizeClass, className),
|
|
@@ -3424,7 +3539,7 @@ var baseBadgeClasses = cn(
|
|
|
3424
3539
|
);
|
|
3425
3540
|
|
|
3426
3541
|
// src/primitives/badge/index.tsx
|
|
3427
|
-
var
|
|
3542
|
+
var import_jsx_runtime75 = require("react/jsx-runtime");
|
|
3428
3543
|
function Badge({
|
|
3429
3544
|
text,
|
|
3430
3545
|
prefix,
|
|
@@ -3437,7 +3552,7 @@ function Badge({
|
|
|
3437
3552
|
const { enableAnimations } = (0, import_hooks15.useSdkUiConfig)();
|
|
3438
3553
|
const resolvedText = `${text}`;
|
|
3439
3554
|
const resolvedAriaLabel = resolvedText.length > 0 ? resolvedText : void 0;
|
|
3440
|
-
return /* @__PURE__ */ (0,
|
|
3555
|
+
return /* @__PURE__ */ (0, import_jsx_runtime75.jsxs)(
|
|
3441
3556
|
"span",
|
|
3442
3557
|
__spreadProps(__spreadValues({
|
|
3443
3558
|
"aria-label": resolvedAriaLabel,
|
|
@@ -3455,9 +3570,9 @@ function Badge({
|
|
|
3455
3570
|
)
|
|
3456
3571
|
}, onClick && { onClick }), {
|
|
3457
3572
|
children: [
|
|
3458
|
-
prefix ? /* @__PURE__ */ (0,
|
|
3459
|
-
/* @__PURE__ */ (0,
|
|
3460
|
-
suffix ? /* @__PURE__ */ (0,
|
|
3573
|
+
prefix ? /* @__PURE__ */ (0, import_jsx_runtime75.jsx)("span", { className: classNames == null ? void 0 : classNames.prefix, children: prefix }) : null,
|
|
3574
|
+
/* @__PURE__ */ (0, import_jsx_runtime75.jsx)("span", { className: cn("truncate", classNames == null ? void 0 : classNames.text), children: text }),
|
|
3575
|
+
suffix ? /* @__PURE__ */ (0, import_jsx_runtime75.jsx)("span", { className: classNames == null ? void 0 : classNames.suffix, children: suffix }) : null
|
|
3461
3576
|
]
|
|
3462
3577
|
})
|
|
3463
3578
|
);
|
|
@@ -3465,9 +3580,9 @@ function Badge({
|
|
|
3465
3580
|
Badge.displayName = "Badge";
|
|
3466
3581
|
|
|
3467
3582
|
// src/primitives/select/index.tsx
|
|
3468
|
-
var
|
|
3583
|
+
var import_react5 = require("react");
|
|
3469
3584
|
var import_hooks16 = require("@agg-market/hooks");
|
|
3470
|
-
var
|
|
3585
|
+
var import_jsx_runtime76 = require("react/jsx-runtime");
|
|
3471
3586
|
var Select = ({
|
|
3472
3587
|
items,
|
|
3473
3588
|
value,
|
|
@@ -3481,10 +3596,10 @@ var Select = ({
|
|
|
3481
3596
|
const { enableAnimations } = (0, import_hooks16.useSdkUiConfig)();
|
|
3482
3597
|
const hasEnabledItems = items.some((item) => !item.disabled);
|
|
3483
3598
|
const hasAnyIcon = items.some((item) => item.iconUrl);
|
|
3484
|
-
const [isOpen, setIsOpen] = (0,
|
|
3485
|
-
const containerRef = (0,
|
|
3486
|
-
const close = (0,
|
|
3487
|
-
(0,
|
|
3599
|
+
const [isOpen, setIsOpen] = (0, import_react5.useState)(false);
|
|
3600
|
+
const containerRef = (0, import_react5.useRef)(null);
|
|
3601
|
+
const close = (0, import_react5.useCallback)(() => setIsOpen(false), []);
|
|
3602
|
+
(0, import_react5.useEffect)(() => {
|
|
3488
3603
|
if (!isOpen)
|
|
3489
3604
|
return;
|
|
3490
3605
|
const handlePointerDown = (e) => {
|
|
@@ -3495,7 +3610,7 @@ var Select = ({
|
|
|
3495
3610
|
document.addEventListener("mousedown", handlePointerDown);
|
|
3496
3611
|
return () => document.removeEventListener("mousedown", handlePointerDown);
|
|
3497
3612
|
}, [isOpen, close]);
|
|
3498
|
-
(0,
|
|
3613
|
+
(0, import_react5.useEffect)(() => {
|
|
3499
3614
|
if (!isOpen)
|
|
3500
3615
|
return;
|
|
3501
3616
|
const handleKey = (e) => {
|
|
@@ -3508,8 +3623,8 @@ var Select = ({
|
|
|
3508
3623
|
const isDisabled = disabled || !hasEnabledItems;
|
|
3509
3624
|
const selectedItem = items.find((item) => item.value === value);
|
|
3510
3625
|
if (!hasAnyIcon) {
|
|
3511
|
-
return /* @__PURE__ */ (0,
|
|
3512
|
-
/* @__PURE__ */ (0,
|
|
3626
|
+
return /* @__PURE__ */ (0, import_jsx_runtime76.jsxs)("label", { className: cn("group/agg-select", "relative inline-flex w-full", className), children: [
|
|
3627
|
+
/* @__PURE__ */ (0, import_jsx_runtime76.jsx)(
|
|
3513
3628
|
"select",
|
|
3514
3629
|
{
|
|
3515
3630
|
"aria-label": ariaLabel != null ? ariaLabel : labels.common.selectAria,
|
|
@@ -3525,19 +3640,19 @@ var Select = ({
|
|
|
3525
3640
|
disabled: isDisabled,
|
|
3526
3641
|
value,
|
|
3527
3642
|
onChange: (event) => onChange(event.target.value),
|
|
3528
|
-
children: items.map((item) => /* @__PURE__ */ (0,
|
|
3643
|
+
children: items.map((item) => /* @__PURE__ */ (0, import_jsx_runtime76.jsx)("option", { value: item.value, disabled: item.disabled, children: item.label }, item.value))
|
|
3529
3644
|
}
|
|
3530
3645
|
),
|
|
3531
|
-
/* @__PURE__ */ (0,
|
|
3646
|
+
/* @__PURE__ */ (0, import_jsx_runtime76.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_runtime76.jsx)(Icon, { name: "chevron-down", size: "small", color: "currentColor" }) })
|
|
3532
3647
|
] });
|
|
3533
3648
|
}
|
|
3534
|
-
return /* @__PURE__ */ (0,
|
|
3649
|
+
return /* @__PURE__ */ (0, import_jsx_runtime76.jsxs)(
|
|
3535
3650
|
"div",
|
|
3536
3651
|
{
|
|
3537
3652
|
ref: containerRef,
|
|
3538
3653
|
className: cn("group/agg-select", "relative inline-flex w-full", className),
|
|
3539
3654
|
children: [
|
|
3540
|
-
/* @__PURE__ */ (0,
|
|
3655
|
+
/* @__PURE__ */ (0, import_jsx_runtime76.jsxs)(
|
|
3541
3656
|
"button",
|
|
3542
3657
|
{
|
|
3543
3658
|
type: "button",
|
|
@@ -3557,20 +3672,20 @@ var Select = ({
|
|
|
3557
3672
|
),
|
|
3558
3673
|
onClick: () => setIsOpen((prev) => !prev),
|
|
3559
3674
|
children: [
|
|
3560
|
-
(selectedItem == null ? void 0 : selectedItem.iconUrl) ? /* @__PURE__ */ (0,
|
|
3561
|
-
|
|
3675
|
+
(selectedItem == null ? void 0 : selectedItem.iconUrl) ? /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(
|
|
3676
|
+
RemoteImage,
|
|
3562
3677
|
{
|
|
3563
3678
|
src: selectedItem.iconUrl,
|
|
3564
3679
|
alt: "",
|
|
3565
3680
|
className: "h-4 w-4 shrink-0 rounded-sm object-contain"
|
|
3566
3681
|
}
|
|
3567
3682
|
) : null,
|
|
3568
|
-
/* @__PURE__ */ (0,
|
|
3683
|
+
/* @__PURE__ */ (0, import_jsx_runtime76.jsx)("span", { className: "flex-1 truncate", children: (_a = selectedItem == null ? void 0 : selectedItem.label) != null ? _a : "" })
|
|
3569
3684
|
]
|
|
3570
3685
|
}
|
|
3571
3686
|
),
|
|
3572
|
-
/* @__PURE__ */ (0,
|
|
3573
|
-
isOpen ? /* @__PURE__ */ (0,
|
|
3687
|
+
/* @__PURE__ */ (0, import_jsx_runtime76.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_runtime76.jsx)(Icon, { name: "chevron-down", size: "small", color: "currentColor" }) }),
|
|
3688
|
+
isOpen ? /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(
|
|
3574
3689
|
"div",
|
|
3575
3690
|
{
|
|
3576
3691
|
role: "listbox",
|
|
@@ -3578,7 +3693,7 @@ var Select = ({
|
|
|
3578
3693
|
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",
|
|
3579
3694
|
children: items.map((item) => {
|
|
3580
3695
|
const isSelected = item.value === value;
|
|
3581
|
-
return /* @__PURE__ */ (0,
|
|
3696
|
+
return /* @__PURE__ */ (0, import_jsx_runtime76.jsxs)(
|
|
3582
3697
|
"button",
|
|
3583
3698
|
{
|
|
3584
3699
|
type: "button",
|
|
@@ -3598,15 +3713,15 @@ var Select = ({
|
|
|
3598
3713
|
}
|
|
3599
3714
|
},
|
|
3600
3715
|
children: [
|
|
3601
|
-
item.iconUrl ? /* @__PURE__ */ (0,
|
|
3602
|
-
|
|
3716
|
+
item.iconUrl ? /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(
|
|
3717
|
+
RemoteImage,
|
|
3603
3718
|
{
|
|
3604
3719
|
src: item.iconUrl,
|
|
3605
3720
|
alt: "",
|
|
3606
3721
|
className: "h-4 w-4 shrink-0 rounded-sm object-contain"
|
|
3607
3722
|
}
|
|
3608
3723
|
) : null,
|
|
3609
|
-
/* @__PURE__ */ (0,
|
|
3724
|
+
/* @__PURE__ */ (0, import_jsx_runtime76.jsx)("span", { className: "truncate", children: item.label })
|
|
3610
3725
|
]
|
|
3611
3726
|
},
|
|
3612
3727
|
item.value
|
|
@@ -3621,14 +3736,14 @@ var Select = ({
|
|
|
3621
3736
|
Select.displayName = "Select";
|
|
3622
3737
|
|
|
3623
3738
|
// src/primitives/search/index.tsx
|
|
3624
|
-
var
|
|
3739
|
+
var import_react6 = require("react");
|
|
3625
3740
|
var import_hooks17 = require("@agg-market/hooks");
|
|
3626
3741
|
|
|
3627
3742
|
// src/primitives/search/search-empty-icon.tsx
|
|
3628
|
-
var
|
|
3743
|
+
var import_jsx_runtime77 = require("react/jsx-runtime");
|
|
3629
3744
|
var SearchEmptyIcon = (_a) => {
|
|
3630
3745
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
3631
|
-
return /* @__PURE__ */ (0,
|
|
3746
|
+
return /* @__PURE__ */ (0, import_jsx_runtime77.jsxs)(
|
|
3632
3747
|
"svg",
|
|
3633
3748
|
__spreadProps(__spreadValues(__spreadValues({
|
|
3634
3749
|
viewBox: "0 0 40 40",
|
|
@@ -3637,9 +3752,9 @@ var SearchEmptyIcon = (_a) => {
|
|
|
3637
3752
|
className
|
|
3638
3753
|
}, getIconA11yProps(title)), props), {
|
|
3639
3754
|
children: [
|
|
3640
|
-
title ? /* @__PURE__ */ (0,
|
|
3641
|
-
/* @__PURE__ */ (0,
|
|
3642
|
-
/* @__PURE__ */ (0,
|
|
3755
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime77.jsx)("title", { children: title }) : null,
|
|
3756
|
+
/* @__PURE__ */ (0, import_jsx_runtime77.jsx)("circle", { cx: "19.9987", cy: "20.0013", r: "9.2", stroke: "currentColor", strokeWidth: "1.6" }),
|
|
3757
|
+
/* @__PURE__ */ (0, import_jsx_runtime77.jsx)(
|
|
3643
3758
|
"ellipse",
|
|
3644
3759
|
{
|
|
3645
3760
|
cx: "19.9987",
|
|
@@ -3681,7 +3796,7 @@ var searchResultItemSchema = import_zod.z.object({
|
|
|
3681
3796
|
var searchResultItemsSchema = import_zod.z.array(searchResultItemSchema);
|
|
3682
3797
|
|
|
3683
3798
|
// src/primitives/search/index.tsx
|
|
3684
|
-
var
|
|
3799
|
+
var import_jsx_runtime78 = require("react/jsx-runtime");
|
|
3685
3800
|
var SearchResultRow = ({
|
|
3686
3801
|
item,
|
|
3687
3802
|
resultAria,
|
|
@@ -3692,7 +3807,7 @@ var SearchResultRow = ({
|
|
|
3692
3807
|
const handleResultClick = () => {
|
|
3693
3808
|
onSelect == null ? void 0 : onSelect(item);
|
|
3694
3809
|
};
|
|
3695
|
-
return /* @__PURE__ */ (0,
|
|
3810
|
+
return /* @__PURE__ */ (0, import_jsx_runtime78.jsxs)(
|
|
3696
3811
|
"button",
|
|
3697
3812
|
{
|
|
3698
3813
|
type: "button",
|
|
@@ -3708,9 +3823,9 @@ var SearchResultRow = ({
|
|
|
3708
3823
|
onClick: handleResultClick,
|
|
3709
3824
|
"aria-label": resultAria(item.title),
|
|
3710
3825
|
children: [
|
|
3711
|
-
/* @__PURE__ */ (0,
|
|
3712
|
-
/* @__PURE__ */ (0,
|
|
3713
|
-
|
|
3826
|
+
/* @__PURE__ */ (0, import_jsx_runtime78.jsxs)("div", { className: "flex min-w-0 flex-1 items-center gap-3", children: [
|
|
3827
|
+
/* @__PURE__ */ (0, import_jsx_runtime78.jsx)(
|
|
3828
|
+
RemoteImage,
|
|
3714
3829
|
{
|
|
3715
3830
|
src: item.thumbnailSrc,
|
|
3716
3831
|
alt: (_a = item.thumbnailAlt) != null ? _a : "",
|
|
@@ -3720,7 +3835,7 @@ var SearchResultRow = ({
|
|
|
3720
3835
|
)
|
|
3721
3836
|
}
|
|
3722
3837
|
),
|
|
3723
|
-
/* @__PURE__ */ (0,
|
|
3838
|
+
/* @__PURE__ */ (0, import_jsx_runtime78.jsx)(
|
|
3724
3839
|
"p",
|
|
3725
3840
|
{
|
|
3726
3841
|
className: cn(
|
|
@@ -3731,10 +3846,10 @@ var SearchResultRow = ({
|
|
|
3731
3846
|
}
|
|
3732
3847
|
)
|
|
3733
3848
|
] }),
|
|
3734
|
-
/* @__PURE__ */ (0,
|
|
3735
|
-
/* @__PURE__ */ (0,
|
|
3736
|
-
/* @__PURE__ */ (0,
|
|
3737
|
-
/* @__PURE__ */ (0,
|
|
3849
|
+
/* @__PURE__ */ (0, import_jsx_runtime78.jsxs)("div", { className: cn("flex w-[200px] shrink-0 items-center gap-2", classNames == null ? void 0 : classNames.resultMeta), children: [
|
|
3850
|
+
/* @__PURE__ */ (0, import_jsx_runtime78.jsx)(VenueLogo, { venue: item.venue, size: "small" }),
|
|
3851
|
+
/* @__PURE__ */ (0, import_jsx_runtime78.jsxs)("div", { className: "flex min-w-0 flex-1 items-baseline gap-2", children: [
|
|
3852
|
+
/* @__PURE__ */ (0, import_jsx_runtime78.jsx)(
|
|
3738
3853
|
"p",
|
|
3739
3854
|
{
|
|
3740
3855
|
className: cn(
|
|
@@ -3744,7 +3859,7 @@ var SearchResultRow = ({
|
|
|
3744
3859
|
children: item.valueLabel
|
|
3745
3860
|
}
|
|
3746
3861
|
),
|
|
3747
|
-
/* @__PURE__ */ (0,
|
|
3862
|
+
/* @__PURE__ */ (0, import_jsx_runtime78.jsx)(
|
|
3748
3863
|
"p",
|
|
3749
3864
|
{
|
|
3750
3865
|
className: cn(
|
|
@@ -3756,7 +3871,7 @@ var SearchResultRow = ({
|
|
|
3756
3871
|
)
|
|
3757
3872
|
] })
|
|
3758
3873
|
] }),
|
|
3759
|
-
/* @__PURE__ */ (0,
|
|
3874
|
+
/* @__PURE__ */ (0, import_jsx_runtime78.jsx)(
|
|
3760
3875
|
Icon,
|
|
3761
3876
|
{
|
|
3762
3877
|
name: "chevron-right",
|
|
@@ -3786,7 +3901,7 @@ var Search = ({
|
|
|
3786
3901
|
}) => {
|
|
3787
3902
|
const labels = (0, import_hooks17.useLabels)();
|
|
3788
3903
|
const { enableAnimations } = (0, import_hooks17.useSdkUiConfig)();
|
|
3789
|
-
const validatedResults = (0,
|
|
3904
|
+
const validatedResults = (0, import_react6.useMemo)(() => {
|
|
3790
3905
|
return getValidatedResults(results);
|
|
3791
3906
|
}, [results]);
|
|
3792
3907
|
const hasSearchValue = value.trim().length > 0;
|
|
@@ -3797,8 +3912,8 @@ var Search = ({
|
|
|
3797
3912
|
const handleInputChange = (event) => {
|
|
3798
3913
|
onValueChange(event.target.value);
|
|
3799
3914
|
};
|
|
3800
|
-
return /* @__PURE__ */ (0,
|
|
3801
|
-
/* @__PURE__ */ (0,
|
|
3915
|
+
return /* @__PURE__ */ (0, import_jsx_runtime78.jsxs)("div", { className: cn("group/agg-search", "flex w-full flex-col gap-1", classNames == null ? void 0 : classNames.root), children: [
|
|
3916
|
+
/* @__PURE__ */ (0, import_jsx_runtime78.jsx)("label", { className: "w-full", children: /* @__PURE__ */ (0, import_jsx_runtime78.jsxs)(
|
|
3802
3917
|
"div",
|
|
3803
3918
|
{
|
|
3804
3919
|
className: cn(
|
|
@@ -3812,7 +3927,7 @@ var Search = ({
|
|
|
3812
3927
|
classNames == null ? void 0 : classNames.inputContainer
|
|
3813
3928
|
),
|
|
3814
3929
|
children: [
|
|
3815
|
-
/* @__PURE__ */ (0,
|
|
3930
|
+
/* @__PURE__ */ (0, import_jsx_runtime78.jsx)(
|
|
3816
3931
|
Icon,
|
|
3817
3932
|
{
|
|
3818
3933
|
name: "search",
|
|
@@ -3820,7 +3935,7 @@ var Search = ({
|
|
|
3820
3935
|
className: cn("text-agg-muted-foreground", classNames == null ? void 0 : classNames.searchIcon)
|
|
3821
3936
|
}
|
|
3822
3937
|
),
|
|
3823
|
-
/* @__PURE__ */ (0,
|
|
3938
|
+
/* @__PURE__ */ (0, import_jsx_runtime78.jsx)(
|
|
3824
3939
|
"input",
|
|
3825
3940
|
__spreadProps(__spreadValues({}, inputProps), {
|
|
3826
3941
|
type: "text",
|
|
@@ -3841,25 +3956,25 @@ var Search = ({
|
|
|
3841
3956
|
]
|
|
3842
3957
|
}
|
|
3843
3958
|
) }),
|
|
3844
|
-
shouldRenderResults ? /* @__PURE__ */ (0,
|
|
3959
|
+
shouldRenderResults ? /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(
|
|
3845
3960
|
"div",
|
|
3846
3961
|
{
|
|
3847
3962
|
className: cn(
|
|
3848
3963
|
"w-full overflow-hidden rounded-agg-xl border border-agg-separator bg-agg-secondary py-2 shadow-[0px_8px_16px_0px_rgba(0,0,0,0.1)]",
|
|
3849
3964
|
classNames == null ? void 0 : classNames.dropdown
|
|
3850
3965
|
),
|
|
3851
|
-
children: /* @__PURE__ */ (0,
|
|
3966
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(
|
|
3852
3967
|
"ul",
|
|
3853
3968
|
{
|
|
3854
3969
|
className: cn("m-0 flex list-none flex-col p-0", classNames == null ? void 0 : classNames.resultsList),
|
|
3855
3970
|
role: "listbox",
|
|
3856
3971
|
"aria-label": labels.search.resultsAria,
|
|
3857
|
-
children: validatedResults.map((item, index) => /* @__PURE__ */ (0,
|
|
3972
|
+
children: validatedResults.map((item, index) => /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(
|
|
3858
3973
|
"li",
|
|
3859
3974
|
{
|
|
3860
3975
|
role: "presentation",
|
|
3861
3976
|
className: cn(index > 0 && "border-t border-agg-separator", classNames == null ? void 0 : classNames.resultItem),
|
|
3862
|
-
children: /* @__PURE__ */ (0,
|
|
3977
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(
|
|
3863
3978
|
SearchResultRow,
|
|
3864
3979
|
{
|
|
3865
3980
|
item,
|
|
@@ -3875,29 +3990,29 @@ var Search = ({
|
|
|
3875
3990
|
)
|
|
3876
3991
|
}
|
|
3877
3992
|
) : null,
|
|
3878
|
-
shouldRenderNoResults ? /* @__PURE__ */ (0,
|
|
3993
|
+
shouldRenderNoResults ? /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(
|
|
3879
3994
|
"div",
|
|
3880
3995
|
{
|
|
3881
3996
|
className: cn(
|
|
3882
3997
|
"w-full overflow-hidden rounded-agg-xl border border-agg-separator bg-agg-secondary py-10 shadow-[0px_8px_16px_0px_rgba(0,0,0,0.1)]",
|
|
3883
3998
|
classNames == null ? void 0 : classNames.emptyState
|
|
3884
3999
|
),
|
|
3885
|
-
children: /* @__PURE__ */ (0,
|
|
4000
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime78.jsxs)(
|
|
3886
4001
|
"div",
|
|
3887
4002
|
{
|
|
3888
4003
|
className: cn("flex flex-col items-center gap-5", classNames == null ? void 0 : classNames.emptyStateContent),
|
|
3889
4004
|
role: "status",
|
|
3890
4005
|
"aria-live": "polite",
|
|
3891
4006
|
children: [
|
|
3892
|
-
/* @__PURE__ */ (0,
|
|
4007
|
+
/* @__PURE__ */ (0, import_jsx_runtime78.jsx)(
|
|
3893
4008
|
SearchEmptyIcon,
|
|
3894
4009
|
{
|
|
3895
4010
|
className: cn("h-10 w-10 text-agg-muted-foreground", classNames == null ? void 0 : classNames.emptyStateIcon),
|
|
3896
4011
|
"aria-hidden": true
|
|
3897
4012
|
}
|
|
3898
4013
|
),
|
|
3899
|
-
/* @__PURE__ */ (0,
|
|
3900
|
-
/* @__PURE__ */ (0,
|
|
4014
|
+
/* @__PURE__ */ (0, import_jsx_runtime78.jsxs)("div", { className: "flex flex-col items-center gap-1 text-center", children: [
|
|
4015
|
+
/* @__PURE__ */ (0, import_jsx_runtime78.jsx)(
|
|
3901
4016
|
"p",
|
|
3902
4017
|
{
|
|
3903
4018
|
className: cn(
|
|
@@ -3907,7 +4022,7 @@ var Search = ({
|
|
|
3907
4022
|
children: labels.search.noResultsTitle
|
|
3908
4023
|
}
|
|
3909
4024
|
),
|
|
3910
|
-
/* @__PURE__ */ (0,
|
|
4025
|
+
/* @__PURE__ */ (0, import_jsx_runtime78.jsx)(
|
|
3911
4026
|
"p",
|
|
3912
4027
|
{
|
|
3913
4028
|
className: cn(
|
|
@@ -3928,7 +4043,7 @@ var Search = ({
|
|
|
3928
4043
|
Search.displayName = "Search";
|
|
3929
4044
|
|
|
3930
4045
|
// src/primitives/state-message/index.tsx
|
|
3931
|
-
var
|
|
4046
|
+
var import_jsx_runtime79 = require("react/jsx-runtime");
|
|
3932
4047
|
var iconClassName = "h-9 w-9 text-agg-muted-foreground";
|
|
3933
4048
|
var StateMessage = ({
|
|
3934
4049
|
ariaLabel,
|
|
@@ -3939,8 +4054,8 @@ var StateMessage = ({
|
|
|
3939
4054
|
onAction,
|
|
3940
4055
|
className
|
|
3941
4056
|
}) => {
|
|
3942
|
-
const icon = tone === "warning" ? /* @__PURE__ */ (0,
|
|
3943
|
-
return /* @__PURE__ */ (0,
|
|
4057
|
+
const icon = tone === "warning" ? /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(WarningIcon, { className: iconClassName, "aria-hidden": true }) : /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(SearchEmptyIcon, { className: iconClassName, "aria-hidden": true });
|
|
4058
|
+
return /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(
|
|
3944
4059
|
"div",
|
|
3945
4060
|
{
|
|
3946
4061
|
className: cn(
|
|
@@ -3950,13 +4065,13 @@ var StateMessage = ({
|
|
|
3950
4065
|
role: "status",
|
|
3951
4066
|
"aria-live": "polite",
|
|
3952
4067
|
"aria-label": ariaLabel,
|
|
3953
|
-
children: /* @__PURE__ */ (0,
|
|
4068
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime79.jsxs)("div", { className: "flex max-w-[360px] flex-col items-center gap-6", children: [
|
|
3954
4069
|
icon,
|
|
3955
|
-
/* @__PURE__ */ (0,
|
|
3956
|
-
/* @__PURE__ */ (0,
|
|
3957
|
-
description ? /* @__PURE__ */ (0,
|
|
4070
|
+
/* @__PURE__ */ (0, import_jsx_runtime79.jsxs)("div", { className: "flex flex-col items-center gap-2", children: [
|
|
4071
|
+
/* @__PURE__ */ (0, import_jsx_runtime79.jsx)(Typography, { variant: "body-large-strong", children: title }),
|
|
4072
|
+
description ? /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(Typography, { variant: "body", className: "whitespace-pre-line text-agg-muted-foreground", children: description }) : null
|
|
3958
4073
|
] }),
|
|
3959
|
-
actionLabel && onAction ? /* @__PURE__ */ (0,
|
|
4074
|
+
actionLabel && onAction ? /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(
|
|
3960
4075
|
Button,
|
|
3961
4076
|
{
|
|
3962
4077
|
variant: "tertiary",
|
|
@@ -3974,7 +4089,7 @@ var StateMessage = ({
|
|
|
3974
4089
|
StateMessage.displayName = "StateMessage";
|
|
3975
4090
|
|
|
3976
4091
|
// src/primitives/tabs/index.tsx
|
|
3977
|
-
var
|
|
4092
|
+
var import_react7 = require("react");
|
|
3978
4093
|
var import_hooks18 = require("@agg-market/hooks");
|
|
3979
4094
|
|
|
3980
4095
|
// src/primitives/tabs/tabs.utils.ts
|
|
@@ -4002,7 +4117,7 @@ var findEdgeEnabledIndex = (items, direction) => {
|
|
|
4002
4117
|
};
|
|
4003
4118
|
|
|
4004
4119
|
// src/primitives/tabs/index.tsx
|
|
4005
|
-
var
|
|
4120
|
+
var import_jsx_runtime80 = require("react/jsx-runtime");
|
|
4006
4121
|
var mobileTabsMediaQuery = "(max-width: 512px)";
|
|
4007
4122
|
var getTabButtonClassName = ({
|
|
4008
4123
|
enableAnimations,
|
|
@@ -4044,8 +4159,8 @@ var Tabs = ({
|
|
|
4044
4159
|
}) => {
|
|
4045
4160
|
const labels = (0, import_hooks18.useLabels)();
|
|
4046
4161
|
const { enableAnimations } = (0, import_hooks18.useSdkUiConfig)();
|
|
4047
|
-
const buttonRefs = (0,
|
|
4048
|
-
const dragStateRef = (0,
|
|
4162
|
+
const buttonRefs = (0, import_react7.useRef)([]);
|
|
4163
|
+
const dragStateRef = (0, import_react7.useRef)({
|
|
4049
4164
|
isPointerDown: false,
|
|
4050
4165
|
isDragging: false,
|
|
4051
4166
|
pointerId: null,
|
|
@@ -4053,22 +4168,22 @@ var Tabs = ({
|
|
|
4053
4168
|
startClientY: 0,
|
|
4054
4169
|
startScrollLeft: 0
|
|
4055
4170
|
});
|
|
4056
|
-
const suppressClickRef = (0,
|
|
4171
|
+
const suppressClickRef = (0, import_react7.useRef)(false);
|
|
4057
4172
|
const resolvedAriaLabel = ariaLabel != null ? ariaLabel : labels.common.tabsAria;
|
|
4058
|
-
const [isMobileViewport, setIsMobileViewport] = (0,
|
|
4059
|
-
const [isDraggingTabs, setIsDraggingTabs] = (0,
|
|
4060
|
-
const [activeUnderlineStyle, setActiveUnderlineStyle] = (0,
|
|
4173
|
+
const [isMobileViewport, setIsMobileViewport] = (0, import_react7.useState)(false);
|
|
4174
|
+
const [isDraggingTabs, setIsDraggingTabs] = (0, import_react7.useState)(false);
|
|
4175
|
+
const [activeUnderlineStyle, setActiveUnderlineStyle] = (0, import_react7.useState)({
|
|
4061
4176
|
transform: "translateX(0px)",
|
|
4062
4177
|
width: 0,
|
|
4063
4178
|
opacity: 0
|
|
4064
4179
|
});
|
|
4065
|
-
const [scrollAffordanceState, setScrollAffordanceState] = (0,
|
|
4180
|
+
const [scrollAffordanceState, setScrollAffordanceState] = (0, import_react7.useState)({
|
|
4066
4181
|
showStart: false,
|
|
4067
4182
|
showEnd: false
|
|
4068
4183
|
});
|
|
4069
|
-
const tabListRef = (0,
|
|
4184
|
+
const tabListRef = (0, import_react7.useRef)(null);
|
|
4070
4185
|
const isBarVariant = variant === "bar";
|
|
4071
|
-
const resolvedOverflowBehavior = (0,
|
|
4186
|
+
const resolvedOverflowBehavior = (0, import_react7.useMemo)(() => {
|
|
4072
4187
|
if (overflowBehavior)
|
|
4073
4188
|
return overflowBehavior;
|
|
4074
4189
|
if (!isBarVariant)
|
|
@@ -4077,7 +4192,7 @@ var Tabs = ({
|
|
|
4077
4192
|
}, [isBarVariant, isMobileViewport, overflowBehavior]);
|
|
4078
4193
|
const shouldUseOverflowScroll = resolvedOverflowBehavior === "scroll";
|
|
4079
4194
|
const shouldUseOverflowSelect = resolvedOverflowBehavior === "select";
|
|
4080
|
-
(0,
|
|
4195
|
+
(0, import_react7.useEffect)(() => {
|
|
4081
4196
|
if (typeof window === "undefined")
|
|
4082
4197
|
return;
|
|
4083
4198
|
const mediaQueryList = window.matchMedia(mobileTabsMediaQuery);
|
|
@@ -4096,7 +4211,7 @@ var Tabs = ({
|
|
|
4096
4211
|
mediaQueryList.removeListener(handleMediaQueryChange);
|
|
4097
4212
|
};
|
|
4098
4213
|
}, []);
|
|
4099
|
-
const updateScrollAffordances = (0,
|
|
4214
|
+
const updateScrollAffordances = (0, import_react7.useCallback)(() => {
|
|
4100
4215
|
if (!shouldUseOverflowScroll) {
|
|
4101
4216
|
setScrollAffordanceState({
|
|
4102
4217
|
showStart: false,
|
|
@@ -4114,7 +4229,7 @@ var Tabs = ({
|
|
|
4114
4229
|
});
|
|
4115
4230
|
}, [shouldUseOverflowScroll]);
|
|
4116
4231
|
const renderedItems = items;
|
|
4117
|
-
const selectItems = (0,
|
|
4232
|
+
const selectItems = (0, import_react7.useMemo)(() => {
|
|
4118
4233
|
return items.map((item) => ({
|
|
4119
4234
|
value: item.value,
|
|
4120
4235
|
label: item.label,
|
|
@@ -4265,7 +4380,7 @@ var Tabs = ({
|
|
|
4265
4380
|
event == null ? void 0 : event.stopPropagation();
|
|
4266
4381
|
suppressClickRef.current = false;
|
|
4267
4382
|
};
|
|
4268
|
-
const updateActiveUnderline = (0,
|
|
4383
|
+
const updateActiveUnderline = (0, import_react7.useCallback)(() => {
|
|
4269
4384
|
if (isBarVariant) {
|
|
4270
4385
|
setActiveUnderlineStyle({
|
|
4271
4386
|
transform: "translateX(0px)",
|
|
@@ -4288,10 +4403,10 @@ var Tabs = ({
|
|
|
4288
4403
|
opacity: 1
|
|
4289
4404
|
});
|
|
4290
4405
|
}, [isBarVariant, renderedItems, value]);
|
|
4291
|
-
(0,
|
|
4406
|
+
(0, import_react7.useLayoutEffect)(() => {
|
|
4292
4407
|
updateActiveUnderline();
|
|
4293
4408
|
}, [updateActiveUnderline]);
|
|
4294
|
-
(0,
|
|
4409
|
+
(0, import_react7.useEffect)(() => {
|
|
4295
4410
|
if (isBarVariant || !shouldUseOverflowScroll)
|
|
4296
4411
|
return;
|
|
4297
4412
|
const tabListElement = tabListRef.current;
|
|
@@ -4307,12 +4422,12 @@ var Tabs = ({
|
|
|
4307
4422
|
tabListElement.removeEventListener("scroll", handleScroll);
|
|
4308
4423
|
};
|
|
4309
4424
|
}, [isBarVariant, shouldUseOverflowScroll, updateActiveUnderline, updateScrollAffordances]);
|
|
4310
|
-
(0,
|
|
4425
|
+
(0, import_react7.useEffect)(() => {
|
|
4311
4426
|
if (!shouldUseOverflowScroll)
|
|
4312
4427
|
return;
|
|
4313
4428
|
updateScrollAffordances();
|
|
4314
4429
|
}, [renderedItems, shouldUseOverflowScroll, updateScrollAffordances, value]);
|
|
4315
|
-
(0,
|
|
4430
|
+
(0, import_react7.useEffect)(() => {
|
|
4316
4431
|
if (isBarVariant && !shouldUseOverflowScroll)
|
|
4317
4432
|
return;
|
|
4318
4433
|
if (typeof ResizeObserver === "undefined")
|
|
@@ -4329,7 +4444,7 @@ var Tabs = ({
|
|
|
4329
4444
|
resizeObserver.disconnect();
|
|
4330
4445
|
};
|
|
4331
4446
|
}, [isBarVariant, shouldUseOverflowScroll, updateActiveUnderline, updateScrollAffordances]);
|
|
4332
|
-
(0,
|
|
4447
|
+
(0, import_react7.useEffect)(() => {
|
|
4333
4448
|
if (!shouldUseOverflowScroll)
|
|
4334
4449
|
return;
|
|
4335
4450
|
const tabListElement = tabListRef.current;
|
|
@@ -4359,7 +4474,7 @@ var Tabs = ({
|
|
|
4359
4474
|
});
|
|
4360
4475
|
}, [enableAnimations, renderedItems, shouldUseOverflowScroll, value]);
|
|
4361
4476
|
if (shouldUseOverflowSelect) {
|
|
4362
|
-
return /* @__PURE__ */ (0,
|
|
4477
|
+
return /* @__PURE__ */ (0, import_jsx_runtime80.jsx)("div", { className: cn("w-full", className, classNames == null ? void 0 : classNames.root), children: /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(
|
|
4363
4478
|
Select,
|
|
4364
4479
|
{
|
|
4365
4480
|
ariaLabel,
|
|
@@ -4371,7 +4486,7 @@ var Tabs = ({
|
|
|
4371
4486
|
}
|
|
4372
4487
|
) });
|
|
4373
4488
|
}
|
|
4374
|
-
return /* @__PURE__ */ (0,
|
|
4489
|
+
return /* @__PURE__ */ (0, import_jsx_runtime80.jsxs)(
|
|
4375
4490
|
"div",
|
|
4376
4491
|
{
|
|
4377
4492
|
className: cn(
|
|
@@ -4382,7 +4497,7 @@ var Tabs = ({
|
|
|
4382
4497
|
classNames == null ? void 0 : classNames.root
|
|
4383
4498
|
),
|
|
4384
4499
|
children: [
|
|
4385
|
-
/* @__PURE__ */ (0,
|
|
4500
|
+
/* @__PURE__ */ (0, import_jsx_runtime80.jsxs)(
|
|
4386
4501
|
"div",
|
|
4387
4502
|
{
|
|
4388
4503
|
ref: tabListRef,
|
|
@@ -4398,7 +4513,7 @@ var Tabs = ({
|
|
|
4398
4513
|
children: [
|
|
4399
4514
|
renderedItems.map((item, index) => {
|
|
4400
4515
|
const isActive = item.value === value;
|
|
4401
|
-
return /* @__PURE__ */ (0,
|
|
4516
|
+
return /* @__PURE__ */ (0, import_jsx_runtime80.jsxs)(
|
|
4402
4517
|
"button",
|
|
4403
4518
|
{
|
|
4404
4519
|
ref: (buttonElement) => {
|
|
@@ -4427,7 +4542,7 @@ var Tabs = ({
|
|
|
4427
4542
|
shouldUseOverflowScroll && !isBarVariant && "snap-start"
|
|
4428
4543
|
),
|
|
4429
4544
|
children: [
|
|
4430
|
-
isBarVariant ? /* @__PURE__ */ (0,
|
|
4545
|
+
isBarVariant ? /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(import_jsx_runtime80.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(
|
|
4431
4546
|
"span",
|
|
4432
4547
|
{
|
|
4433
4548
|
"aria-hidden": true,
|
|
@@ -4441,14 +4556,14 @@ var Tabs = ({
|
|
|
4441
4556
|
)
|
|
4442
4557
|
}
|
|
4443
4558
|
) }) : null,
|
|
4444
|
-
item.icon ? /* @__PURE__ */ (0,
|
|
4445
|
-
/* @__PURE__ */ (0,
|
|
4559
|
+
item.icon ? /* @__PURE__ */ (0, import_jsx_runtime80.jsx)("span", { className: "relative z-10 inline-flex shrink-0 items-center justify-center", children: item.icon }) : null,
|
|
4560
|
+
/* @__PURE__ */ (0, import_jsx_runtime80.jsx)("span", { className: "relative z-10 truncate whitespace-nowrap [&::first-letter]:uppercase", children: item.label })
|
|
4446
4561
|
]
|
|
4447
4562
|
},
|
|
4448
4563
|
item.value
|
|
4449
4564
|
);
|
|
4450
4565
|
}),
|
|
4451
|
-
!isBarVariant ? /* @__PURE__ */ (0,
|
|
4566
|
+
!isBarVariant ? /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(
|
|
4452
4567
|
"span",
|
|
4453
4568
|
{
|
|
4454
4569
|
"aria-hidden": true,
|
|
@@ -4466,8 +4581,8 @@ var Tabs = ({
|
|
|
4466
4581
|
]
|
|
4467
4582
|
}
|
|
4468
4583
|
),
|
|
4469
|
-
shouldUseOverflowScroll && !isBarVariant ? /* @__PURE__ */ (0,
|
|
4470
|
-
/* @__PURE__ */ (0,
|
|
4584
|
+
shouldUseOverflowScroll && !isBarVariant ? /* @__PURE__ */ (0, import_jsx_runtime80.jsxs)(import_jsx_runtime80.Fragment, { children: [
|
|
4585
|
+
/* @__PURE__ */ (0, import_jsx_runtime80.jsx)(
|
|
4471
4586
|
"span",
|
|
4472
4587
|
{
|
|
4473
4588
|
"aria-hidden": true,
|
|
@@ -4478,7 +4593,7 @@ var Tabs = ({
|
|
|
4478
4593
|
)
|
|
4479
4594
|
}
|
|
4480
4595
|
),
|
|
4481
|
-
/* @__PURE__ */ (0,
|
|
4596
|
+
/* @__PURE__ */ (0, import_jsx_runtime80.jsx)(
|
|
4482
4597
|
"span",
|
|
4483
4598
|
{
|
|
4484
4599
|
"aria-hidden": true,
|
|
@@ -4499,7 +4614,7 @@ Tabs.displayName = "Tabs";
|
|
|
4499
4614
|
// src/primitives/modal/index.tsx
|
|
4500
4615
|
var Dialog = __toESM(require("@radix-ui/react-dialog"));
|
|
4501
4616
|
var import_hooks19 = require("@agg-market/hooks");
|
|
4502
|
-
var
|
|
4617
|
+
var import_jsx_runtime81 = require("react/jsx-runtime");
|
|
4503
4618
|
var Modal = ({
|
|
4504
4619
|
open,
|
|
4505
4620
|
onOpenChange,
|
|
@@ -4507,7 +4622,7 @@ var Modal = ({
|
|
|
4507
4622
|
"aria-label": _ariaLabel,
|
|
4508
4623
|
"aria-labelledby": _ariaLabelledBy
|
|
4509
4624
|
}) => {
|
|
4510
|
-
return /* @__PURE__ */ (0,
|
|
4625
|
+
return /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(Dialog.Root, { open, onOpenChange, children });
|
|
4511
4626
|
};
|
|
4512
4627
|
var ModalContainer = ({
|
|
4513
4628
|
children,
|
|
@@ -4519,8 +4634,8 @@ var ModalContainer = ({
|
|
|
4519
4634
|
const { rootClassName, enableAnimations } = (0, import_hooks19.useSdkUiConfig)();
|
|
4520
4635
|
const overlayAnimationClassName = enableAnimations ? "motion-safe:data-[state=open]:animate-agg-modal-overlay-in motion-safe:data-[state=closed]:animate-agg-modal-overlay-out motion-reduce:animate-none" : void 0;
|
|
4521
4636
|
const panelAnimationClassName = enableAnimations ? "motion-safe:data-[state=open]:animate-agg-modal-panel-in motion-safe:data-[state=closed]:animate-agg-modal-panel-out motion-reduce:animate-none" : void 0;
|
|
4522
|
-
return /* @__PURE__ */ (0,
|
|
4523
|
-
/* @__PURE__ */ (0,
|
|
4637
|
+
return /* @__PURE__ */ (0, import_jsx_runtime81.jsxs)(Dialog.Portal, { children: [
|
|
4638
|
+
/* @__PURE__ */ (0, import_jsx_runtime81.jsx)(
|
|
4524
4639
|
Dialog.Overlay,
|
|
4525
4640
|
{
|
|
4526
4641
|
className: cn(
|
|
@@ -4530,7 +4645,7 @@ var ModalContainer = ({
|
|
|
4530
4645
|
)
|
|
4531
4646
|
}
|
|
4532
4647
|
),
|
|
4533
|
-
/* @__PURE__ */ (0,
|
|
4648
|
+
/* @__PURE__ */ (0, import_jsx_runtime81.jsx)(
|
|
4534
4649
|
Dialog.Content,
|
|
4535
4650
|
{
|
|
4536
4651
|
className: cn(
|
|
@@ -4545,7 +4660,7 @@ var ModalContainer = ({
|
|
|
4545
4660
|
onCloseAutoFocus: (event) => {
|
|
4546
4661
|
event.preventDefault();
|
|
4547
4662
|
},
|
|
4548
|
-
children: /* @__PURE__ */ (0,
|
|
4663
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(
|
|
4549
4664
|
"div",
|
|
4550
4665
|
{
|
|
4551
4666
|
className: cn(
|
|
@@ -4581,9 +4696,9 @@ var ModalHeader = ({
|
|
|
4581
4696
|
}) => {
|
|
4582
4697
|
const { enableAnimations } = (0, import_hooks19.useSdkUiConfig)();
|
|
4583
4698
|
const labels = (0, import_hooks19.useLabels)();
|
|
4584
|
-
const defaultCloseIcon = /* @__PURE__ */ (0,
|
|
4699
|
+
const defaultCloseIcon = /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(CloseIcon, { className: "h-6 w-6" });
|
|
4585
4700
|
const resolvedCloseIcon = closeIcon != null ? closeIcon : defaultCloseIcon;
|
|
4586
|
-
return /* @__PURE__ */ (0,
|
|
4701
|
+
return /* @__PURE__ */ (0, import_jsx_runtime81.jsxs)(
|
|
4587
4702
|
"div",
|
|
4588
4703
|
{
|
|
4589
4704
|
className: cn(
|
|
@@ -4596,7 +4711,7 @@ var ModalHeader = ({
|
|
|
4596
4711
|
classNames == null ? void 0 : classNames.root
|
|
4597
4712
|
),
|
|
4598
4713
|
children: [
|
|
4599
|
-
/* @__PURE__ */ (0,
|
|
4714
|
+
/* @__PURE__ */ (0, import_jsx_runtime81.jsxs)(
|
|
4600
4715
|
"div",
|
|
4601
4716
|
{
|
|
4602
4717
|
className: cn(
|
|
@@ -4608,9 +4723,9 @@ var ModalHeader = ({
|
|
|
4608
4723
|
classNames == null ? void 0 : classNames.container
|
|
4609
4724
|
),
|
|
4610
4725
|
children: [
|
|
4611
|
-
leftElement ? /* @__PURE__ */ (0,
|
|
4612
|
-
/* @__PURE__ */ (0,
|
|
4613
|
-
/* @__PURE__ */ (0,
|
|
4726
|
+
leftElement ? /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(import_jsx_runtime81.Fragment, { children: leftElement }) : null,
|
|
4727
|
+
/* @__PURE__ */ (0, import_jsx_runtime81.jsxs)("div", { className: cn("max-w-[calc(100%-1rem)] flex-1", classNames == null ? void 0 : classNames.titleContainer), children: [
|
|
4728
|
+
/* @__PURE__ */ (0, import_jsx_runtime81.jsx)(
|
|
4614
4729
|
Dialog.Title,
|
|
4615
4730
|
{
|
|
4616
4731
|
className: cn(
|
|
@@ -4623,7 +4738,7 @@ var ModalHeader = ({
|
|
|
4623
4738
|
children: title
|
|
4624
4739
|
}
|
|
4625
4740
|
),
|
|
4626
|
-
subtitle ? /* @__PURE__ */ (0,
|
|
4741
|
+
subtitle ? /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(
|
|
4627
4742
|
"span",
|
|
4628
4743
|
{
|
|
4629
4744
|
className: cn(
|
|
@@ -4634,9 +4749,9 @@ var ModalHeader = ({
|
|
|
4634
4749
|
}
|
|
4635
4750
|
) : null
|
|
4636
4751
|
] }),
|
|
4637
|
-
/* @__PURE__ */ (0,
|
|
4638
|
-
rightElement ? /* @__PURE__ */ (0,
|
|
4639
|
-
!hideClose && /* @__PURE__ */ (0,
|
|
4752
|
+
/* @__PURE__ */ (0, import_jsx_runtime81.jsxs)("div", { className: "flex flex-row gap-6 items-center justify-end", children: [
|
|
4753
|
+
rightElement ? /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(import_jsx_runtime81.Fragment, { children: rightElement }) : null,
|
|
4754
|
+
!hideClose && /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(
|
|
4640
4755
|
Dialog.Close,
|
|
4641
4756
|
{
|
|
4642
4757
|
className: cn(
|
|
@@ -4652,14 +4767,14 @@ var ModalHeader = ({
|
|
|
4652
4767
|
]
|
|
4653
4768
|
}
|
|
4654
4769
|
),
|
|
4655
|
-
children ? /* @__PURE__ */ (0,
|
|
4770
|
+
children ? /* @__PURE__ */ (0, import_jsx_runtime81.jsx)("div", { children }) : null
|
|
4656
4771
|
]
|
|
4657
4772
|
}
|
|
4658
4773
|
);
|
|
4659
4774
|
};
|
|
4660
4775
|
Modal.Header = ModalHeader;
|
|
4661
4776
|
var ModalBody = ({ children, classNames }) => {
|
|
4662
|
-
return /* @__PURE__ */ (0,
|
|
4777
|
+
return /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(
|
|
4663
4778
|
"div",
|
|
4664
4779
|
{
|
|
4665
4780
|
className: cn(
|
|
@@ -4680,7 +4795,7 @@ var ModalFooter = ({
|
|
|
4680
4795
|
classNames,
|
|
4681
4796
|
hideBorder = false
|
|
4682
4797
|
}) => {
|
|
4683
|
-
return /* @__PURE__ */ (0,
|
|
4798
|
+
return /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(
|
|
4684
4799
|
"div",
|
|
4685
4800
|
{
|
|
4686
4801
|
className: cn(
|
|
@@ -4731,6 +4846,7 @@ Modal.displayName = "Modal";
|
|
|
4731
4846
|
GoogleIcon,
|
|
4732
4847
|
HelloWorld,
|
|
4733
4848
|
Icon,
|
|
4849
|
+
ImageIcon,
|
|
4734
4850
|
InfoIcon,
|
|
4735
4851
|
InlineAlert,
|
|
4736
4852
|
LineChart,
|
|
@@ -4741,6 +4857,7 @@ Modal.displayName = "Modal";
|
|
|
4741
4857
|
PencilIcon,
|
|
4742
4858
|
PlaySquareIcon,
|
|
4743
4859
|
ProfileIcon,
|
|
4860
|
+
RemoteImage,
|
|
4744
4861
|
RevenueAltIcon,
|
|
4745
4862
|
Search,
|
|
4746
4863
|
SearchIcon,
|