@agg-market/ui 7.0.0 → 9.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-MUB7NYWZ.mjs → chunk-3G7C6WEC.mjs} +3453 -990
- package/dist/{chunk-KQKLLL4D.mjs → chunk-3U4VHAP6.mjs} +8 -11
- package/dist/{chunk-6I474QXG.mjs → chunk-6CRY27SQ.mjs} +92 -65
- package/dist/{chunk-L5U7RGJV.mjs → chunk-HJ4UPYM7.mjs} +22 -23
- package/dist/{chunk-AVHMI47G.mjs → chunk-N7U7QCSB.mjs} +5 -6
- package/dist/events.js +2904 -2756
- package/dist/events.mjs +2 -4
- package/dist/index.js +1594 -1438
- package/dist/index.mjs +26 -32
- package/dist/modals.js +821 -687
- package/dist/modals.mjs +2 -3
- package/dist/pages.js +2145 -1993
- package/dist/pages.mjs +4 -7
- package/dist/primitives.js +417 -293
- package/dist/primitives.mjs +22 -28
- package/dist/styles.css +1 -1
- package/dist/tailwind.css +1 -1
- package/dist/trading.js +564 -451
- package/dist/trading.mjs +2 -4
- package/dist/types/events/item/event-list-item.types.d.mts +5 -2
- package/dist/types/events/item/event-list-item.types.d.ts +5 -2
- package/dist/types/events/item/event-list-item.utils.d.mts +5 -5
- package/dist/types/events/item/event-list-item.utils.d.ts +5 -5
- package/dist/types/events/item/index.d.mts +1 -1
- package/dist/types/events/item/index.d.ts +1 -1
- package/dist/types/events/item-details/event-list-item-details.types.d.mts +4 -3
- package/dist/types/events/item-details/event-list-item-details.types.d.ts +4 -3
- package/dist/types/events/list/event-list.types.d.mts +4 -4
- package/dist/types/events/list/event-list.types.d.ts +4 -4
- package/dist/types/events/list/event-list.utils.d.mts +5 -5
- package/dist/types/events/list/event-list.utils.d.ts +5 -5
- package/dist/types/events/market-details/market-details.types.d.mts +5 -3
- package/dist/types/events/market-details/market-details.types.d.ts +5 -3
- package/dist/types/events/market-details/market-details.utils.d.mts +16 -5
- package/dist/types/events/market-details/market-details.utils.d.ts +16 -5
- package/dist/types/onramp/index.d.mts +6 -0
- package/dist/types/onramp/index.d.ts +6 -0
- package/dist/types/onramp/onramp-modal.constants.d.mts +9 -0
- package/dist/types/onramp/onramp-modal.constants.d.ts +9 -0
- package/dist/types/onramp/onramp-modal.types.d.mts +64 -0
- package/dist/types/onramp/onramp-modal.types.d.ts +64 -0
- package/dist/types/onramp/steps/quote-card.d.mts +8 -0
- package/dist/types/onramp/steps/quote-card.d.ts +8 -0
- package/dist/types/onramp/steps/quote-form.d.mts +12 -0
- package/dist/types/onramp/steps/quote-form.d.ts +12 -0
- package/dist/types/onramp/steps/quote-selection.d.mts +14 -0
- package/dist/types/onramp/steps/quote-selection.d.ts +14 -0
- package/dist/types/onramp/steps/widget.d.mts +7 -0
- package/dist/types/onramp/steps/widget.d.ts +7 -0
- package/dist/types/pages/event-market/event-market.types.d.mts +2 -2
- package/dist/types/pages/event-market/event-market.types.d.ts +2 -2
- package/dist/types/primitives/chart/index.d.mts +10 -1
- package/dist/types/primitives/chart/index.d.ts +10 -1
- 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/dist/types/trading/types.d.mts +2 -2
- package/dist/types/trading/types.d.ts +2 -2
- 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,
|
|
@@ -1079,7 +1081,11 @@ var LineChart = ({
|
|
|
1079
1081
|
isLoading = false,
|
|
1080
1082
|
chartType = "line",
|
|
1081
1083
|
showSeriesControls = true,
|
|
1082
|
-
renderSeriesControls
|
|
1084
|
+
renderSeriesControls,
|
|
1085
|
+
liveCandle: liveForming,
|
|
1086
|
+
lineData,
|
|
1087
|
+
lineValue,
|
|
1088
|
+
live = false
|
|
1083
1089
|
}) => {
|
|
1084
1090
|
var _a, _b;
|
|
1085
1091
|
const labels = (0, import_hooks11.useLabels)();
|
|
@@ -1174,12 +1180,15 @@ var LineChart = ({
|
|
|
1174
1180
|
color: (_b = primarySeries == null ? void 0 : primarySeries.color) != null ? _b : "var(--agg-color-primary)",
|
|
1175
1181
|
theme: livelineTheme,
|
|
1176
1182
|
grid: true,
|
|
1177
|
-
momentum:
|
|
1178
|
-
pulse:
|
|
1183
|
+
momentum: live,
|
|
1184
|
+
pulse: live,
|
|
1179
1185
|
window: windowSeconds,
|
|
1180
1186
|
mode: chartType === "candlestick" ? "candle" : "line",
|
|
1181
1187
|
candles: chartType === "candlestick" ? primaryCandles : void 0,
|
|
1182
1188
|
candleWidth: chartType === "candlestick" ? candleWidth : void 0,
|
|
1189
|
+
liveCandle: chartType === "candlestick" ? liveForming : void 0,
|
|
1190
|
+
lineData,
|
|
1191
|
+
lineValue,
|
|
1183
1192
|
formatValue: defaultValueFormatter,
|
|
1184
1193
|
formatTime: timeFormatter,
|
|
1185
1194
|
padding: {
|
|
@@ -2051,35 +2060,61 @@ var GoogleIcon = (_a) => {
|
|
|
2051
2060
|
};
|
|
2052
2061
|
GoogleIcon.displayName = "GoogleIcon";
|
|
2053
2062
|
|
|
2054
|
-
// src/primitives/icon/svg/
|
|
2063
|
+
// src/primitives/icon/svg/image.tsx
|
|
2055
2064
|
var import_jsx_runtime41 = require("react/jsx-runtime");
|
|
2056
|
-
var
|
|
2065
|
+
var ImageIcon = (_a) => {
|
|
2057
2066
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
2058
2067
|
return /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(
|
|
2059
2068
|
"svg",
|
|
2060
2069
|
__spreadProps(__spreadValues(__spreadValues({
|
|
2061
|
-
viewBox: "0 0
|
|
2070
|
+
viewBox: "0 0 32 32",
|
|
2062
2071
|
className,
|
|
2063
2072
|
fill: "none"
|
|
2064
2073
|
}, getIconA11yProps(title)), props), {
|
|
2065
2074
|
children: [
|
|
2066
2075
|
title ? /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("title", { children: title }) : null,
|
|
2067
|
-
/* @__PURE__ */ (0, import_jsx_runtime41.
|
|
2068
|
-
|
|
2076
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
|
|
2077
|
+
"path",
|
|
2078
|
+
{
|
|
2079
|
+
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",
|
|
2080
|
+
fill: "currentColor"
|
|
2081
|
+
}
|
|
2082
|
+
)
|
|
2083
|
+
]
|
|
2084
|
+
})
|
|
2085
|
+
);
|
|
2086
|
+
};
|
|
2087
|
+
ImageIcon.displayName = "ImageIcon";
|
|
2088
|
+
|
|
2089
|
+
// src/primitives/icon/svg/info.tsx
|
|
2090
|
+
var import_jsx_runtime42 = require("react/jsx-runtime");
|
|
2091
|
+
var InfoIcon = (_a) => {
|
|
2092
|
+
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
2093
|
+
return /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)(
|
|
2094
|
+
"svg",
|
|
2095
|
+
__spreadProps(__spreadValues(__spreadValues({
|
|
2096
|
+
viewBox: "0 0 12 12",
|
|
2097
|
+
className,
|
|
2098
|
+
fill: "none"
|
|
2099
|
+
}, getIconA11yProps(title)), props), {
|
|
2100
|
+
children: [
|
|
2101
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("title", { children: title }) : null,
|
|
2102
|
+
/* @__PURE__ */ (0, import_jsx_runtime42.jsxs)("g", { clipPath: "url(#info_clip)", children: [
|
|
2103
|
+
/* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
|
|
2069
2104
|
"path",
|
|
2070
2105
|
{
|
|
2071
2106
|
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
2107
|
fill: "currentColor"
|
|
2073
2108
|
}
|
|
2074
2109
|
),
|
|
2075
|
-
/* @__PURE__ */ (0,
|
|
2110
|
+
/* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
|
|
2076
2111
|
"path",
|
|
2077
2112
|
{
|
|
2078
2113
|
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
2114
|
fill: "currentColor"
|
|
2080
2115
|
}
|
|
2081
2116
|
),
|
|
2082
|
-
/* @__PURE__ */ (0,
|
|
2117
|
+
/* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
|
|
2083
2118
|
"path",
|
|
2084
2119
|
{
|
|
2085
2120
|
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 +2122,7 @@ var InfoIcon = (_a) => {
|
|
|
2087
2122
|
}
|
|
2088
2123
|
)
|
|
2089
2124
|
] }),
|
|
2090
|
-
/* @__PURE__ */ (0,
|
|
2125
|
+
/* @__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
2126
|
]
|
|
2092
2127
|
})
|
|
2093
2128
|
);
|
|
@@ -2095,10 +2130,10 @@ var InfoIcon = (_a) => {
|
|
|
2095
2130
|
InfoIcon.displayName = "InfoIcon";
|
|
2096
2131
|
|
|
2097
2132
|
// src/primitives/icon/svg/check-badge.tsx
|
|
2098
|
-
var
|
|
2133
|
+
var import_jsx_runtime43 = require("react/jsx-runtime");
|
|
2099
2134
|
var CheckBadgeIcon = (_a) => {
|
|
2100
2135
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
2101
|
-
return /* @__PURE__ */ (0,
|
|
2136
|
+
return /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(
|
|
2102
2137
|
"svg",
|
|
2103
2138
|
__spreadProps(__spreadValues(__spreadValues({
|
|
2104
2139
|
viewBox: "0 0 16 16",
|
|
@@ -2106,15 +2141,15 @@ var CheckBadgeIcon = (_a) => {
|
|
|
2106
2141
|
fill: "none"
|
|
2107
2142
|
}, getIconA11yProps(title)), props), {
|
|
2108
2143
|
children: [
|
|
2109
|
-
title ? /* @__PURE__ */ (0,
|
|
2110
|
-
/* @__PURE__ */ (0,
|
|
2144
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("title", { children: title }) : null,
|
|
2145
|
+
/* @__PURE__ */ (0, import_jsx_runtime43.jsx)("g", { clipPath: "url(#check-badge-clip)", children: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
|
|
2111
2146
|
"path",
|
|
2112
2147
|
{
|
|
2113
2148
|
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
2149
|
fill: "currentColor"
|
|
2115
2150
|
}
|
|
2116
2151
|
) }),
|
|
2117
|
-
/* @__PURE__ */ (0,
|
|
2152
|
+
/* @__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
2153
|
]
|
|
2119
2154
|
})
|
|
2120
2155
|
);
|
|
@@ -2122,10 +2157,10 @@ var CheckBadgeIcon = (_a) => {
|
|
|
2122
2157
|
CheckBadgeIcon.displayName = "CheckBadgeIcon";
|
|
2123
2158
|
|
|
2124
2159
|
// src/primitives/icon/svg/discord.tsx
|
|
2125
|
-
var
|
|
2160
|
+
var import_jsx_runtime44 = require("react/jsx-runtime");
|
|
2126
2161
|
var DiscordIcon = (_a) => {
|
|
2127
2162
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
2128
|
-
return /* @__PURE__ */ (0,
|
|
2163
|
+
return /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)(
|
|
2129
2164
|
"svg",
|
|
2130
2165
|
__spreadProps(__spreadValues(__spreadValues({
|
|
2131
2166
|
viewBox: "0 0 20 20",
|
|
@@ -2133,8 +2168,8 @@ var DiscordIcon = (_a) => {
|
|
|
2133
2168
|
fill: "none"
|
|
2134
2169
|
}, getIconA11yProps(title)), props), {
|
|
2135
2170
|
children: [
|
|
2136
|
-
title ? /* @__PURE__ */ (0,
|
|
2137
|
-
/* @__PURE__ */ (0,
|
|
2171
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("title", { children: title }) : null,
|
|
2172
|
+
/* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
|
|
2138
2173
|
"path",
|
|
2139
2174
|
{
|
|
2140
2175
|
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 +2183,10 @@ var DiscordIcon = (_a) => {
|
|
|
2148
2183
|
DiscordIcon.displayName = "DiscordIcon";
|
|
2149
2184
|
|
|
2150
2185
|
// src/primitives/icon/svg/email.tsx
|
|
2151
|
-
var
|
|
2186
|
+
var import_jsx_runtime45 = require("react/jsx-runtime");
|
|
2152
2187
|
var EmailIcon = (_a) => {
|
|
2153
2188
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
2154
|
-
return /* @__PURE__ */ (0,
|
|
2189
|
+
return /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)(
|
|
2155
2190
|
"svg",
|
|
2156
2191
|
__spreadProps(__spreadValues(__spreadValues({
|
|
2157
2192
|
viewBox: "0 0 20 20",
|
|
@@ -2159,8 +2194,8 @@ var EmailIcon = (_a) => {
|
|
|
2159
2194
|
fill: "none"
|
|
2160
2195
|
}, getIconA11yProps(title)), props), {
|
|
2161
2196
|
children: [
|
|
2162
|
-
title ? /* @__PURE__ */ (0,
|
|
2163
|
-
/* @__PURE__ */ (0,
|
|
2197
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("title", { children: title }) : null,
|
|
2198
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
|
|
2164
2199
|
"path",
|
|
2165
2200
|
{
|
|
2166
2201
|
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 +2205,7 @@ var EmailIcon = (_a) => {
|
|
|
2170
2205
|
strokeLinejoin: "round"
|
|
2171
2206
|
}
|
|
2172
2207
|
),
|
|
2173
|
-
/* @__PURE__ */ (0,
|
|
2208
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
|
|
2174
2209
|
"path",
|
|
2175
2210
|
{
|
|
2176
2211
|
d: "M18.3333 5L10 10.8333L1.66667 5",
|
|
@@ -2187,10 +2222,10 @@ var EmailIcon = (_a) => {
|
|
|
2187
2222
|
EmailIcon.displayName = "EmailIcon";
|
|
2188
2223
|
|
|
2189
2224
|
// src/primitives/icon/svg/link-accounts.tsx
|
|
2190
|
-
var
|
|
2225
|
+
var import_jsx_runtime46 = require("react/jsx-runtime");
|
|
2191
2226
|
var LinkAccountsIcon = (_a) => {
|
|
2192
2227
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
2193
|
-
return /* @__PURE__ */ (0,
|
|
2228
|
+
return /* @__PURE__ */ (0, import_jsx_runtime46.jsxs)(
|
|
2194
2229
|
"svg",
|
|
2195
2230
|
__spreadProps(__spreadValues(__spreadValues({
|
|
2196
2231
|
width: "28",
|
|
@@ -2201,15 +2236,15 @@ var LinkAccountsIcon = (_a) => {
|
|
|
2201
2236
|
className
|
|
2202
2237
|
}, getIconA11yProps(title)), props), {
|
|
2203
2238
|
children: [
|
|
2204
|
-
title ? /* @__PURE__ */ (0,
|
|
2205
|
-
/* @__PURE__ */ (0,
|
|
2239
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime46.jsx)("title", { children: title }) : null,
|
|
2240
|
+
/* @__PURE__ */ (0, import_jsx_runtime46.jsx)("g", { clipPath: "url(#clip0_link_accounts)", children: /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
|
|
2206
2241
|
"path",
|
|
2207
2242
|
{
|
|
2208
2243
|
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
2244
|
fill: "currentColor"
|
|
2210
2245
|
}
|
|
2211
2246
|
) }),
|
|
2212
|
-
/* @__PURE__ */ (0,
|
|
2247
|
+
/* @__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
2248
|
]
|
|
2214
2249
|
})
|
|
2215
2250
|
);
|
|
@@ -2217,10 +2252,10 @@ var LinkAccountsIcon = (_a) => {
|
|
|
2217
2252
|
LinkAccountsIcon.displayName = "LinkAccountsIcon";
|
|
2218
2253
|
|
|
2219
2254
|
// src/primitives/icon/svg/pencil.tsx
|
|
2220
|
-
var
|
|
2255
|
+
var import_jsx_runtime47 = require("react/jsx-runtime");
|
|
2221
2256
|
var PencilIcon = (_a) => {
|
|
2222
2257
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
2223
|
-
return /* @__PURE__ */ (0,
|
|
2258
|
+
return /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(
|
|
2224
2259
|
"svg",
|
|
2225
2260
|
__spreadProps(__spreadValues(__spreadValues({
|
|
2226
2261
|
viewBox: "0 0 16 16",
|
|
@@ -2228,15 +2263,15 @@ var PencilIcon = (_a) => {
|
|
|
2228
2263
|
fill: "none"
|
|
2229
2264
|
}, getIconA11yProps(title)), props), {
|
|
2230
2265
|
children: [
|
|
2231
|
-
title ? /* @__PURE__ */ (0,
|
|
2232
|
-
/* @__PURE__ */ (0,
|
|
2266
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("title", { children: title }) : null,
|
|
2267
|
+
/* @__PURE__ */ (0, import_jsx_runtime47.jsx)("g", { clipPath: "url(#pencil_clip)", children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
|
|
2233
2268
|
"path",
|
|
2234
2269
|
{
|
|
2235
2270
|
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
2271
|
fill: "currentColor"
|
|
2237
2272
|
}
|
|
2238
2273
|
) }),
|
|
2239
|
-
/* @__PURE__ */ (0,
|
|
2274
|
+
/* @__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
2275
|
]
|
|
2241
2276
|
})
|
|
2242
2277
|
);
|
|
@@ -2244,10 +2279,10 @@ var PencilIcon = (_a) => {
|
|
|
2244
2279
|
PencilIcon.displayName = "PencilIcon";
|
|
2245
2280
|
|
|
2246
2281
|
// src/primitives/icon/svg/play-square.tsx
|
|
2247
|
-
var
|
|
2282
|
+
var import_jsx_runtime48 = require("react/jsx-runtime");
|
|
2248
2283
|
var PlaySquareIcon = (_a) => {
|
|
2249
2284
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
2250
|
-
return /* @__PURE__ */ (0,
|
|
2285
|
+
return /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(
|
|
2251
2286
|
"svg",
|
|
2252
2287
|
__spreadProps(__spreadValues(__spreadValues({
|
|
2253
2288
|
viewBox: "0 0 16 16",
|
|
@@ -2255,15 +2290,15 @@ var PlaySquareIcon = (_a) => {
|
|
|
2255
2290
|
fill: "none"
|
|
2256
2291
|
}, getIconA11yProps(title)), props), {
|
|
2257
2292
|
children: [
|
|
2258
|
-
title ? /* @__PURE__ */ (0,
|
|
2259
|
-
/* @__PURE__ */ (0,
|
|
2293
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("title", { children: title }) : null,
|
|
2294
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)("g", { clipPath: "url(#play-square-clip)", children: /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
|
|
2260
2295
|
"path",
|
|
2261
2296
|
{
|
|
2262
2297
|
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
2298
|
fill: "currentColor"
|
|
2264
2299
|
}
|
|
2265
2300
|
) }),
|
|
2266
|
-
/* @__PURE__ */ (0,
|
|
2301
|
+
/* @__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
2302
|
]
|
|
2268
2303
|
})
|
|
2269
2304
|
);
|
|
@@ -2271,10 +2306,10 @@ var PlaySquareIcon = (_a) => {
|
|
|
2271
2306
|
PlaySquareIcon.displayName = "PlaySquareIcon";
|
|
2272
2307
|
|
|
2273
2308
|
// src/primitives/icon/svg/profile.tsx
|
|
2274
|
-
var
|
|
2309
|
+
var import_jsx_runtime49 = require("react/jsx-runtime");
|
|
2275
2310
|
var ProfileIcon = (_a) => {
|
|
2276
2311
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
2277
|
-
return /* @__PURE__ */ (0,
|
|
2312
|
+
return /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)(
|
|
2278
2313
|
"svg",
|
|
2279
2314
|
__spreadProps(__spreadValues(__spreadValues({
|
|
2280
2315
|
viewBox: "0 0 21 28",
|
|
@@ -2282,8 +2317,8 @@ var ProfileIcon = (_a) => {
|
|
|
2282
2317
|
fill: "none"
|
|
2283
2318
|
}, getIconA11yProps(title)), props), {
|
|
2284
2319
|
children: [
|
|
2285
|
-
title ? /* @__PURE__ */ (0,
|
|
2286
|
-
/* @__PURE__ */ (0,
|
|
2320
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("title", { children: title }) : null,
|
|
2321
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
|
|
2287
2322
|
"path",
|
|
2288
2323
|
{
|
|
2289
2324
|
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 +2332,10 @@ var ProfileIcon = (_a) => {
|
|
|
2297
2332
|
ProfileIcon.displayName = "ProfileIcon";
|
|
2298
2333
|
|
|
2299
2334
|
// src/primitives/icon/svg/revenue-alt.tsx
|
|
2300
|
-
var
|
|
2335
|
+
var import_jsx_runtime50 = require("react/jsx-runtime");
|
|
2301
2336
|
var RevenueAltIcon = (_a) => {
|
|
2302
2337
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
2303
|
-
return /* @__PURE__ */ (0,
|
|
2338
|
+
return /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)(
|
|
2304
2339
|
"svg",
|
|
2305
2340
|
__spreadProps(__spreadValues(__spreadValues({
|
|
2306
2341
|
viewBox: "0 0 20 20",
|
|
@@ -2308,8 +2343,8 @@ var RevenueAltIcon = (_a) => {
|
|
|
2308
2343
|
fill: "none"
|
|
2309
2344
|
}, getIconA11yProps(title)), props), {
|
|
2310
2345
|
children: [
|
|
2311
|
-
title ? /* @__PURE__ */ (0,
|
|
2312
|
-
/* @__PURE__ */ (0,
|
|
2346
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("title", { children: title }) : null,
|
|
2347
|
+
/* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
|
|
2313
2348
|
"path",
|
|
2314
2349
|
{
|
|
2315
2350
|
d: "M3 14V6M3 6L1.5 7.5M3 6L4.5 7.5M17 6V14M17 14L15.5 12.5M17 14L18.5 12.5",
|
|
@@ -2319,7 +2354,7 @@ var RevenueAltIcon = (_a) => {
|
|
|
2319
2354
|
strokeLinejoin: "round"
|
|
2320
2355
|
}
|
|
2321
2356
|
),
|
|
2322
|
-
/* @__PURE__ */ (0,
|
|
2357
|
+
/* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
|
|
2323
2358
|
"path",
|
|
2324
2359
|
{
|
|
2325
2360
|
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 +2371,10 @@ var RevenueAltIcon = (_a) => {
|
|
|
2336
2371
|
RevenueAltIcon.displayName = "RevenueAltIcon";
|
|
2337
2372
|
|
|
2338
2373
|
// src/primitives/icon/svg/search.tsx
|
|
2339
|
-
var
|
|
2374
|
+
var import_jsx_runtime51 = require("react/jsx-runtime");
|
|
2340
2375
|
var SearchIcon = (_a) => {
|
|
2341
2376
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
2342
|
-
return /* @__PURE__ */ (0,
|
|
2377
|
+
return /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)(
|
|
2343
2378
|
"svg",
|
|
2344
2379
|
__spreadProps(__spreadValues(__spreadValues({
|
|
2345
2380
|
viewBox: "0 0 16 16",
|
|
@@ -2348,8 +2383,8 @@ var SearchIcon = (_a) => {
|
|
|
2348
2383
|
className
|
|
2349
2384
|
}, getIconA11yProps(title)), props), {
|
|
2350
2385
|
children: [
|
|
2351
|
-
title ? /* @__PURE__ */ (0,
|
|
2352
|
-
/* @__PURE__ */ (0,
|
|
2386
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("title", { children: title }) : null,
|
|
2387
|
+
/* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
|
|
2353
2388
|
"path",
|
|
2354
2389
|
{
|
|
2355
2390
|
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 +2394,7 @@ var SearchIcon = (_a) => {
|
|
|
2359
2394
|
strokeLinejoin: "round"
|
|
2360
2395
|
}
|
|
2361
2396
|
),
|
|
2362
|
-
/* @__PURE__ */ (0,
|
|
2397
|
+
/* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
|
|
2363
2398
|
"path",
|
|
2364
2399
|
{
|
|
2365
2400
|
d: "M13.6668 13.6666L11.1667 11.1666",
|
|
@@ -2376,10 +2411,10 @@ var SearchIcon = (_a) => {
|
|
|
2376
2411
|
SearchIcon.displayName = "SearchIcon";
|
|
2377
2412
|
|
|
2378
2413
|
// src/primitives/icon/svg/shield-trust.tsx
|
|
2379
|
-
var
|
|
2414
|
+
var import_jsx_runtime52 = require("react/jsx-runtime");
|
|
2380
2415
|
var ShieldTrustIcon = (_a) => {
|
|
2381
2416
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
2382
|
-
return /* @__PURE__ */ (0,
|
|
2417
|
+
return /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)(
|
|
2383
2418
|
"svg",
|
|
2384
2419
|
__spreadProps(__spreadValues(__spreadValues({
|
|
2385
2420
|
viewBox: "0 0 16 16",
|
|
@@ -2387,15 +2422,15 @@ var ShieldTrustIcon = (_a) => {
|
|
|
2387
2422
|
fill: "none"
|
|
2388
2423
|
}, getIconA11yProps(title)), props), {
|
|
2389
2424
|
children: [
|
|
2390
|
-
title ? /* @__PURE__ */ (0,
|
|
2391
|
-
/* @__PURE__ */ (0,
|
|
2425
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime52.jsx)("title", { children: title }) : null,
|
|
2426
|
+
/* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
|
|
2392
2427
|
"path",
|
|
2393
2428
|
{
|
|
2394
2429
|
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
2430
|
fill: "currentColor"
|
|
2396
2431
|
}
|
|
2397
2432
|
),
|
|
2398
|
-
/* @__PURE__ */ (0,
|
|
2433
|
+
/* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
|
|
2399
2434
|
"path",
|
|
2400
2435
|
{
|
|
2401
2436
|
d: "M5.5 8.2L7.2 9.9L10.8 6.3",
|
|
@@ -2412,10 +2447,10 @@ var ShieldTrustIcon = (_a) => {
|
|
|
2412
2447
|
ShieldTrustIcon.displayName = "ShieldTrustIcon";
|
|
2413
2448
|
|
|
2414
2449
|
// src/primitives/icon/svg/solana.tsx
|
|
2415
|
-
var
|
|
2450
|
+
var import_jsx_runtime53 = require("react/jsx-runtime");
|
|
2416
2451
|
var SolanaIcon = (_a) => {
|
|
2417
2452
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
2418
|
-
return /* @__PURE__ */ (0,
|
|
2453
|
+
return /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(
|
|
2419
2454
|
"svg",
|
|
2420
2455
|
__spreadProps(__spreadValues(__spreadValues({
|
|
2421
2456
|
viewBox: "0 0 24 24",
|
|
@@ -2423,31 +2458,31 @@ var SolanaIcon = (_a) => {
|
|
|
2423
2458
|
fill: "none"
|
|
2424
2459
|
}, getIconA11yProps(title)), props), {
|
|
2425
2460
|
children: [
|
|
2426
|
-
title ? /* @__PURE__ */ (0,
|
|
2427
|
-
/* @__PURE__ */ (0,
|
|
2428
|
-
/* @__PURE__ */ (0,
|
|
2461
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime53.jsx)("title", { children: title }) : null,
|
|
2462
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsx)("rect", { width: "24", height: "24", rx: "8", fill: "#020205" }),
|
|
2463
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
|
|
2429
2464
|
"path",
|
|
2430
2465
|
{
|
|
2431
2466
|
fill: "url(#agg-solana-gradient-top)",
|
|
2432
2467
|
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
2468
|
}
|
|
2434
2469
|
),
|
|
2435
|
-
/* @__PURE__ */ (0,
|
|
2470
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
|
|
2436
2471
|
"path",
|
|
2437
2472
|
{
|
|
2438
2473
|
fill: "url(#agg-solana-gradient-middle)",
|
|
2439
2474
|
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
2475
|
}
|
|
2441
2476
|
),
|
|
2442
|
-
/* @__PURE__ */ (0,
|
|
2477
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
|
|
2443
2478
|
"path",
|
|
2444
2479
|
{
|
|
2445
2480
|
fill: "url(#agg-solana-gradient-bottom)",
|
|
2446
2481
|
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
2482
|
}
|
|
2448
2483
|
),
|
|
2449
|
-
/* @__PURE__ */ (0,
|
|
2450
|
-
/* @__PURE__ */ (0,
|
|
2484
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsxs)("defs", { children: [
|
|
2485
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(
|
|
2451
2486
|
"linearGradient",
|
|
2452
2487
|
{
|
|
2453
2488
|
id: "agg-solana-gradient-top",
|
|
@@ -2457,12 +2492,12 @@ var SolanaIcon = (_a) => {
|
|
|
2457
2492
|
y2: "17.476",
|
|
2458
2493
|
gradientUnits: "userSpaceOnUse",
|
|
2459
2494
|
children: [
|
|
2460
|
-
/* @__PURE__ */ (0,
|
|
2461
|
-
/* @__PURE__ */ (0,
|
|
2495
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsx)("stop", { stopColor: "#4BF0B8" }),
|
|
2496
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsx)("stop", { offset: "1", stopColor: "#B44CF4" })
|
|
2462
2497
|
]
|
|
2463
2498
|
}
|
|
2464
2499
|
),
|
|
2465
|
-
/* @__PURE__ */ (0,
|
|
2500
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(
|
|
2466
2501
|
"linearGradient",
|
|
2467
2502
|
{
|
|
2468
2503
|
id: "agg-solana-gradient-middle",
|
|
@@ -2472,12 +2507,12 @@ var SolanaIcon = (_a) => {
|
|
|
2472
2507
|
y2: "21.238",
|
|
2473
2508
|
gradientUnits: "userSpaceOnUse",
|
|
2474
2509
|
children: [
|
|
2475
|
-
/* @__PURE__ */ (0,
|
|
2476
|
-
/* @__PURE__ */ (0,
|
|
2510
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsx)("stop", { stopColor: "#4BF0B8" }),
|
|
2511
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsx)("stop", { offset: "1", stopColor: "#B44CF4" })
|
|
2477
2512
|
]
|
|
2478
2513
|
}
|
|
2479
2514
|
),
|
|
2480
|
-
/* @__PURE__ */ (0,
|
|
2515
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(
|
|
2481
2516
|
"linearGradient",
|
|
2482
2517
|
{
|
|
2483
2518
|
id: "agg-solana-gradient-bottom",
|
|
@@ -2487,8 +2522,8 @@ var SolanaIcon = (_a) => {
|
|
|
2487
2522
|
y2: "19.359",
|
|
2488
2523
|
gradientUnits: "userSpaceOnUse",
|
|
2489
2524
|
children: [
|
|
2490
|
-
/* @__PURE__ */ (0,
|
|
2491
|
-
/* @__PURE__ */ (0,
|
|
2525
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsx)("stop", { stopColor: "#4BF0B8" }),
|
|
2526
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsx)("stop", { offset: "1", stopColor: "#B44CF4" })
|
|
2492
2527
|
]
|
|
2493
2528
|
}
|
|
2494
2529
|
)
|
|
@@ -2500,10 +2535,10 @@ var SolanaIcon = (_a) => {
|
|
|
2500
2535
|
SolanaIcon.displayName = "SolanaIcon";
|
|
2501
2536
|
|
|
2502
2537
|
// src/primitives/icon/svg/stay-in-control.tsx
|
|
2503
|
-
var
|
|
2538
|
+
var import_jsx_runtime54 = require("react/jsx-runtime");
|
|
2504
2539
|
var StayInControlIcon = (_a) => {
|
|
2505
2540
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
2506
|
-
return /* @__PURE__ */ (0,
|
|
2541
|
+
return /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(
|
|
2507
2542
|
"svg",
|
|
2508
2543
|
__spreadProps(__spreadValues(__spreadValues({
|
|
2509
2544
|
width: "28",
|
|
@@ -2514,16 +2549,16 @@ var StayInControlIcon = (_a) => {
|
|
|
2514
2549
|
className
|
|
2515
2550
|
}, getIconA11yProps(title)), props), {
|
|
2516
2551
|
children: [
|
|
2517
|
-
title ? /* @__PURE__ */ (0,
|
|
2518
|
-
/* @__PURE__ */ (0,
|
|
2519
|
-
/* @__PURE__ */ (0,
|
|
2552
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime54.jsx)("title", { children: title }) : null,
|
|
2553
|
+
/* @__PURE__ */ (0, import_jsx_runtime54.jsxs)("g", { clipPath: "url(#clip0_stay_in_control)", children: [
|
|
2554
|
+
/* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
|
|
2520
2555
|
"path",
|
|
2521
2556
|
{
|
|
2522
2557
|
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
2558
|
fill: "currentColor"
|
|
2524
2559
|
}
|
|
2525
2560
|
),
|
|
2526
|
-
/* @__PURE__ */ (0,
|
|
2561
|
+
/* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
|
|
2527
2562
|
"path",
|
|
2528
2563
|
{
|
|
2529
2564
|
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 +2566,7 @@ var StayInControlIcon = (_a) => {
|
|
|
2531
2566
|
}
|
|
2532
2567
|
)
|
|
2533
2568
|
] }),
|
|
2534
|
-
/* @__PURE__ */ (0,
|
|
2569
|
+
/* @__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
2570
|
]
|
|
2536
2571
|
})
|
|
2537
2572
|
);
|
|
@@ -2539,10 +2574,10 @@ var StayInControlIcon = (_a) => {
|
|
|
2539
2574
|
StayInControlIcon.displayName = "StayInControlIcon";
|
|
2540
2575
|
|
|
2541
2576
|
// src/primitives/icon/svg/telegram.tsx
|
|
2542
|
-
var
|
|
2577
|
+
var import_jsx_runtime55 = require("react/jsx-runtime");
|
|
2543
2578
|
var TelegramIcon = (_a) => {
|
|
2544
2579
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
2545
|
-
return /* @__PURE__ */ (0,
|
|
2580
|
+
return /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(
|
|
2546
2581
|
"svg",
|
|
2547
2582
|
__spreadProps(__spreadValues(__spreadValues({
|
|
2548
2583
|
viewBox: "0 0 20 20",
|
|
@@ -2550,8 +2585,8 @@ var TelegramIcon = (_a) => {
|
|
|
2550
2585
|
fill: "none"
|
|
2551
2586
|
}, getIconA11yProps(title)), props), {
|
|
2552
2587
|
children: [
|
|
2553
|
-
title ? /* @__PURE__ */ (0,
|
|
2554
|
-
/* @__PURE__ */ (0,
|
|
2588
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("title", { children: title }) : null,
|
|
2589
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsx)("g", { clipPath: "url(#clip0_telegram)", children: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
|
|
2555
2590
|
"path",
|
|
2556
2591
|
{
|
|
2557
2592
|
fillRule: "evenodd",
|
|
@@ -2560,7 +2595,7 @@ var TelegramIcon = (_a) => {
|
|
|
2560
2595
|
fill: "currentColor"
|
|
2561
2596
|
}
|
|
2562
2597
|
) }),
|
|
2563
|
-
/* @__PURE__ */ (0,
|
|
2598
|
+
/* @__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
2599
|
]
|
|
2565
2600
|
})
|
|
2566
2601
|
);
|
|
@@ -2568,10 +2603,10 @@ var TelegramIcon = (_a) => {
|
|
|
2568
2603
|
TelegramIcon.displayName = "TelegramIcon";
|
|
2569
2604
|
|
|
2570
2605
|
// src/primitives/icon/svg/triangle-down.tsx
|
|
2571
|
-
var
|
|
2606
|
+
var import_jsx_runtime56 = require("react/jsx-runtime");
|
|
2572
2607
|
var TriangleDownIcon = (_a) => {
|
|
2573
2608
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
2574
|
-
return /* @__PURE__ */ (0,
|
|
2609
|
+
return /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(
|
|
2575
2610
|
"svg",
|
|
2576
2611
|
__spreadProps(__spreadValues(__spreadValues({
|
|
2577
2612
|
viewBox: "0 0 8 8",
|
|
@@ -2579,16 +2614,16 @@ var TriangleDownIcon = (_a) => {
|
|
|
2579
2614
|
fill: "none"
|
|
2580
2615
|
}, getIconA11yProps(title)), props), {
|
|
2581
2616
|
children: [
|
|
2582
|
-
title ? /* @__PURE__ */ (0,
|
|
2583
|
-
/* @__PURE__ */ (0,
|
|
2584
|
-
/* @__PURE__ */ (0,
|
|
2617
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("title", { children: title }) : null,
|
|
2618
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.jsxs)("g", { transform: "scale(1,-1) translate(0,-8)", clipPath: "url(#triangle_up)", children: [
|
|
2619
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
|
|
2585
2620
|
"path",
|
|
2586
2621
|
{
|
|
2587
2622
|
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
2623
|
fill: "currentColor"
|
|
2589
2624
|
}
|
|
2590
2625
|
),
|
|
2591
|
-
/* @__PURE__ */ (0,
|
|
2626
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
|
|
2592
2627
|
"path",
|
|
2593
2628
|
{
|
|
2594
2629
|
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 +2631,7 @@ var TriangleDownIcon = (_a) => {
|
|
|
2596
2631
|
}
|
|
2597
2632
|
)
|
|
2598
2633
|
] }),
|
|
2599
|
-
/* @__PURE__ */ (0,
|
|
2634
|
+
/* @__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
2635
|
]
|
|
2601
2636
|
})
|
|
2602
2637
|
);
|
|
@@ -2604,10 +2639,10 @@ var TriangleDownIcon = (_a) => {
|
|
|
2604
2639
|
TriangleDownIcon.displayName = "TriangleDownIcon";
|
|
2605
2640
|
|
|
2606
2641
|
// src/primitives/icon/svg/triangle-up-filled.tsx
|
|
2607
|
-
var
|
|
2642
|
+
var import_jsx_runtime57 = require("react/jsx-runtime");
|
|
2608
2643
|
var TriangleUpFilledIcon = (_a) => {
|
|
2609
2644
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
2610
|
-
return /* @__PURE__ */ (0,
|
|
2645
|
+
return /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)(
|
|
2611
2646
|
"svg",
|
|
2612
2647
|
__spreadProps(__spreadValues(__spreadValues({
|
|
2613
2648
|
viewBox: "0 0 8 8",
|
|
@@ -2615,8 +2650,8 @@ var TriangleUpFilledIcon = (_a) => {
|
|
|
2615
2650
|
fill: "none"
|
|
2616
2651
|
}, getIconA11yProps(title)), props), {
|
|
2617
2652
|
children: [
|
|
2618
|
-
title ? /* @__PURE__ */ (0,
|
|
2619
|
-
/* @__PURE__ */ (0,
|
|
2653
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime57.jsx)("title", { children: title }) : null,
|
|
2654
|
+
/* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
|
|
2620
2655
|
"path",
|
|
2621
2656
|
{
|
|
2622
2657
|
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 +2665,10 @@ var TriangleUpFilledIcon = (_a) => {
|
|
|
2630
2665
|
TriangleUpFilledIcon.displayName = "TriangleUpFilledIcon";
|
|
2631
2666
|
|
|
2632
2667
|
// src/primitives/icon/svg/triangle-up.tsx
|
|
2633
|
-
var
|
|
2668
|
+
var import_jsx_runtime58 = require("react/jsx-runtime");
|
|
2634
2669
|
var TriangleUpIcon = (_a) => {
|
|
2635
2670
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
2636
|
-
return /* @__PURE__ */ (0,
|
|
2671
|
+
return /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)(
|
|
2637
2672
|
"svg",
|
|
2638
2673
|
__spreadProps(__spreadValues(__spreadValues({
|
|
2639
2674
|
viewBox: "0 0 8 8",
|
|
@@ -2641,16 +2676,16 @@ var TriangleUpIcon = (_a) => {
|
|
|
2641
2676
|
fill: "none"
|
|
2642
2677
|
}, getIconA11yProps(title)), props), {
|
|
2643
2678
|
children: [
|
|
2644
|
-
title ? /* @__PURE__ */ (0,
|
|
2645
|
-
/* @__PURE__ */ (0,
|
|
2646
|
-
/* @__PURE__ */ (0,
|
|
2679
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("title", { children: title }) : null,
|
|
2680
|
+
/* @__PURE__ */ (0, import_jsx_runtime58.jsxs)("g", { clipPath: "url(#triangle_up)", children: [
|
|
2681
|
+
/* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
|
|
2647
2682
|
"path",
|
|
2648
2683
|
{
|
|
2649
2684
|
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
2685
|
fill: "currentColor"
|
|
2651
2686
|
}
|
|
2652
2687
|
),
|
|
2653
|
-
/* @__PURE__ */ (0,
|
|
2688
|
+
/* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
|
|
2654
2689
|
"path",
|
|
2655
2690
|
{
|
|
2656
2691
|
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 +2693,7 @@ var TriangleUpIcon = (_a) => {
|
|
|
2658
2693
|
}
|
|
2659
2694
|
)
|
|
2660
2695
|
] }),
|
|
2661
|
-
/* @__PURE__ */ (0,
|
|
2696
|
+
/* @__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
2697
|
]
|
|
2663
2698
|
})
|
|
2664
2699
|
);
|
|
@@ -2666,10 +2701,10 @@ var TriangleUpIcon = (_a) => {
|
|
|
2666
2701
|
TriangleUpIcon.displayName = "TriangleUpIcon";
|
|
2667
2702
|
|
|
2668
2703
|
// src/primitives/icon/svg/twitter.tsx
|
|
2669
|
-
var
|
|
2704
|
+
var import_jsx_runtime59 = require("react/jsx-runtime");
|
|
2670
2705
|
var TwitterIcon = (_a) => {
|
|
2671
2706
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
2672
|
-
return /* @__PURE__ */ (0,
|
|
2707
|
+
return /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)(
|
|
2673
2708
|
"svg",
|
|
2674
2709
|
__spreadProps(__spreadValues(__spreadValues({
|
|
2675
2710
|
viewBox: "0 0 20 20",
|
|
@@ -2677,8 +2712,8 @@ var TwitterIcon = (_a) => {
|
|
|
2677
2712
|
fill: "none"
|
|
2678
2713
|
}, getIconA11yProps(title)), props), {
|
|
2679
2714
|
children: [
|
|
2680
|
-
title ? /* @__PURE__ */ (0,
|
|
2681
|
-
/* @__PURE__ */ (0,
|
|
2715
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("title", { children: title }) : null,
|
|
2716
|
+
/* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
|
|
2682
2717
|
"path",
|
|
2683
2718
|
{
|
|
2684
2719
|
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 +2727,10 @@ var TwitterIcon = (_a) => {
|
|
|
2692
2727
|
TwitterIcon.displayName = "TwitterIcon";
|
|
2693
2728
|
|
|
2694
2729
|
// src/primitives/icon/svg/upload.tsx
|
|
2695
|
-
var
|
|
2730
|
+
var import_jsx_runtime60 = require("react/jsx-runtime");
|
|
2696
2731
|
var UploadIcon = (_a) => {
|
|
2697
2732
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
2698
|
-
return /* @__PURE__ */ (0,
|
|
2733
|
+
return /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)(
|
|
2699
2734
|
"svg",
|
|
2700
2735
|
__spreadProps(__spreadValues(__spreadValues({
|
|
2701
2736
|
viewBox: "0 0 16 16",
|
|
@@ -2703,8 +2738,8 @@ var UploadIcon = (_a) => {
|
|
|
2703
2738
|
fill: "none"
|
|
2704
2739
|
}, getIconA11yProps(title)), props), {
|
|
2705
2740
|
children: [
|
|
2706
|
-
title ? /* @__PURE__ */ (0,
|
|
2707
|
-
/* @__PURE__ */ (0,
|
|
2741
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("title", { children: title }) : null,
|
|
2742
|
+
/* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
|
|
2708
2743
|
"path",
|
|
2709
2744
|
{
|
|
2710
2745
|
d: "M8 13.5v-7m0 0 2.5 2.5M8 6.5 5.5 9",
|
|
@@ -2714,7 +2749,7 @@ var UploadIcon = (_a) => {
|
|
|
2714
2749
|
strokeLinejoin: "round"
|
|
2715
2750
|
}
|
|
2716
2751
|
),
|
|
2717
|
-
/* @__PURE__ */ (0,
|
|
2752
|
+
/* @__PURE__ */ (0, import_jsx_runtime60.jsx)("path", { d: "M2.5 3.5h11", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round" })
|
|
2718
2753
|
]
|
|
2719
2754
|
})
|
|
2720
2755
|
);
|
|
@@ -2722,10 +2757,10 @@ var UploadIcon = (_a) => {
|
|
|
2722
2757
|
UploadIcon.displayName = "UploadIcon";
|
|
2723
2758
|
|
|
2724
2759
|
// src/primitives/icon/svg/wallet-avatar.tsx
|
|
2725
|
-
var
|
|
2760
|
+
var import_jsx_runtime61 = require("react/jsx-runtime");
|
|
2726
2761
|
function WalletAvatarIcon(_a) {
|
|
2727
2762
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
2728
|
-
return /* @__PURE__ */ (0,
|
|
2763
|
+
return /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)(
|
|
2729
2764
|
"svg",
|
|
2730
2765
|
__spreadProps(__spreadValues(__spreadValues({
|
|
2731
2766
|
fill: "none",
|
|
@@ -2733,9 +2768,9 @@ function WalletAvatarIcon(_a) {
|
|
|
2733
2768
|
viewBox: "0 0 16 16"
|
|
2734
2769
|
}, getIconA11yProps(title)), props), {
|
|
2735
2770
|
children: [
|
|
2736
|
-
title ? /* @__PURE__ */ (0,
|
|
2737
|
-
/* @__PURE__ */ (0,
|
|
2738
|
-
/* @__PURE__ */ (0,
|
|
2771
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime61.jsx)("title", { children: title }) : null,
|
|
2772
|
+
/* @__PURE__ */ (0, import_jsx_runtime61.jsx)("circle", { cx: "8", cy: "5.25", r: "2.25", fill: "currentColor" }),
|
|
2773
|
+
/* @__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
2774
|
]
|
|
2740
2775
|
})
|
|
2741
2776
|
);
|
|
@@ -2743,10 +2778,10 @@ function WalletAvatarIcon(_a) {
|
|
|
2743
2778
|
WalletAvatarIcon.displayName = "WalletAvatarIcon";
|
|
2744
2779
|
|
|
2745
2780
|
// src/primitives/icon/svg/wallet.tsx
|
|
2746
|
-
var
|
|
2781
|
+
var import_jsx_runtime62 = require("react/jsx-runtime");
|
|
2747
2782
|
var WalletIcon = (_a) => {
|
|
2748
2783
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
2749
|
-
return /* @__PURE__ */ (0,
|
|
2784
|
+
return /* @__PURE__ */ (0, import_jsx_runtime62.jsxs)(
|
|
2750
2785
|
"svg",
|
|
2751
2786
|
__spreadProps(__spreadValues(__spreadValues({
|
|
2752
2787
|
viewBox: "0 0 24 24",
|
|
@@ -2754,8 +2789,8 @@ var WalletIcon = (_a) => {
|
|
|
2754
2789
|
fill: "none"
|
|
2755
2790
|
}, getIconA11yProps(title)), props), {
|
|
2756
2791
|
children: [
|
|
2757
|
-
title ? /* @__PURE__ */ (0,
|
|
2758
|
-
/* @__PURE__ */ (0,
|
|
2792
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime62.jsx)("title", { children: title }) : null,
|
|
2793
|
+
/* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
|
|
2759
2794
|
"path",
|
|
2760
2795
|
{
|
|
2761
2796
|
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 +2804,10 @@ var WalletIcon = (_a) => {
|
|
|
2769
2804
|
WalletIcon.displayName = "WalletIcon";
|
|
2770
2805
|
|
|
2771
2806
|
// src/primitives/icon/svg/warning-filled.tsx
|
|
2772
|
-
var
|
|
2807
|
+
var import_jsx_runtime63 = require("react/jsx-runtime");
|
|
2773
2808
|
var WarningFilledIcon = (_a) => {
|
|
2774
2809
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
2775
|
-
return /* @__PURE__ */ (0,
|
|
2810
|
+
return /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)(
|
|
2776
2811
|
"svg",
|
|
2777
2812
|
__spreadProps(__spreadValues(__spreadValues({
|
|
2778
2813
|
viewBox: "0 0 16 16",
|
|
@@ -2780,8 +2815,8 @@ var WarningFilledIcon = (_a) => {
|
|
|
2780
2815
|
fill: "none"
|
|
2781
2816
|
}, getIconA11yProps(title)), props), {
|
|
2782
2817
|
children: [
|
|
2783
|
-
title ? /* @__PURE__ */ (0,
|
|
2784
|
-
/* @__PURE__ */ (0,
|
|
2818
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("title", { children: title }) : null,
|
|
2819
|
+
/* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
|
|
2785
2820
|
"path",
|
|
2786
2821
|
{
|
|
2787
2822
|
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 +2830,10 @@ var WarningFilledIcon = (_a) => {
|
|
|
2795
2830
|
WarningFilledIcon.displayName = "WarningFilledIcon";
|
|
2796
2831
|
|
|
2797
2832
|
// src/primitives/icon/svg/warning.tsx
|
|
2798
|
-
var
|
|
2833
|
+
var import_jsx_runtime64 = require("react/jsx-runtime");
|
|
2799
2834
|
var WarningIcon = (_a) => {
|
|
2800
2835
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
2801
|
-
return /* @__PURE__ */ (0,
|
|
2836
|
+
return /* @__PURE__ */ (0, import_jsx_runtime64.jsxs)(
|
|
2802
2837
|
"svg",
|
|
2803
2838
|
__spreadProps(__spreadValues(__spreadValues({
|
|
2804
2839
|
width: "14",
|
|
@@ -2809,15 +2844,15 @@ var WarningIcon = (_a) => {
|
|
|
2809
2844
|
className
|
|
2810
2845
|
}, getIconA11yProps(title)), props), {
|
|
2811
2846
|
children: [
|
|
2812
|
-
title ? /* @__PURE__ */ (0,
|
|
2813
|
-
/* @__PURE__ */ (0,
|
|
2847
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime64.jsx)("title", { children: title }) : null,
|
|
2848
|
+
/* @__PURE__ */ (0, import_jsx_runtime64.jsx)("g", { clipPath: "url(#clip0_warning)", children: /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(
|
|
2814
2849
|
"path",
|
|
2815
2850
|
{
|
|
2816
2851
|
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
2852
|
fill: "currentColor"
|
|
2818
2853
|
}
|
|
2819
2854
|
) }),
|
|
2820
|
-
/* @__PURE__ */ (0,
|
|
2855
|
+
/* @__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
2856
|
]
|
|
2822
2857
|
})
|
|
2823
2858
|
);
|
|
@@ -2854,6 +2889,7 @@ var iconRegistry = {
|
|
|
2854
2889
|
ethereum: EthereumIcon,
|
|
2855
2890
|
"external-link": ExternalLinkIcon,
|
|
2856
2891
|
google: GoogleIcon,
|
|
2892
|
+
image: ImageIcon,
|
|
2857
2893
|
info: InfoIcon,
|
|
2858
2894
|
"link-accounts": LinkAccountsIcon,
|
|
2859
2895
|
pencil: PencilIcon,
|
|
@@ -2887,7 +2923,7 @@ var resolveIconStyle = (color, style) => {
|
|
|
2887
2923
|
};
|
|
2888
2924
|
|
|
2889
2925
|
// src/primitives/icon/index.tsx
|
|
2890
|
-
var
|
|
2926
|
+
var import_jsx_runtime65 = require("react/jsx-runtime");
|
|
2891
2927
|
var Icon = (_a) => {
|
|
2892
2928
|
var _b = _a, {
|
|
2893
2929
|
name,
|
|
@@ -2905,7 +2941,7 @@ var Icon = (_a) => {
|
|
|
2905
2941
|
const Component = iconRegistry[name];
|
|
2906
2942
|
const resolvedStyle = resolveIconStyle(color, style);
|
|
2907
2943
|
const resolvedClassName = cn(iconSizeClasses[size], className);
|
|
2908
|
-
return /* @__PURE__ */ (0,
|
|
2944
|
+
return /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
|
|
2909
2945
|
Component,
|
|
2910
2946
|
__spreadValues({
|
|
2911
2947
|
color,
|
|
@@ -2917,7 +2953,7 @@ var Icon = (_a) => {
|
|
|
2917
2953
|
Icon.displayName = "Icon";
|
|
2918
2954
|
|
|
2919
2955
|
// src/primitives/inline-alert/index.tsx
|
|
2920
|
-
var
|
|
2956
|
+
var import_jsx_runtime66 = require("react/jsx-runtime");
|
|
2921
2957
|
var toneIconName = {
|
|
2922
2958
|
error: "error-filled",
|
|
2923
2959
|
warning: "warning-filled"
|
|
@@ -2964,7 +3000,7 @@ var InlineAlert = ({
|
|
|
2964
3000
|
});
|
|
2965
3001
|
const hasAction = !!actionLabel && !!onAction;
|
|
2966
3002
|
const { ariaLive, role } = liveRegionConfig[tone];
|
|
2967
|
-
return /* @__PURE__ */ (0,
|
|
3003
|
+
return /* @__PURE__ */ (0, import_jsx_runtime66.jsxs)(
|
|
2968
3004
|
"div",
|
|
2969
3005
|
{
|
|
2970
3006
|
className: cn(
|
|
@@ -2977,7 +3013,7 @@ var InlineAlert = ({
|
|
|
2977
3013
|
"aria-live": ariaLive,
|
|
2978
3014
|
"aria-label": ariaLabel,
|
|
2979
3015
|
children: [
|
|
2980
|
-
/* @__PURE__ */ (0,
|
|
3016
|
+
/* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
|
|
2981
3017
|
Icon,
|
|
2982
3018
|
{
|
|
2983
3019
|
name: toneIconName[tone],
|
|
@@ -2985,14 +3021,14 @@ var InlineAlert = ({
|
|
|
2985
3021
|
"aria-hidden": "true"
|
|
2986
3022
|
}
|
|
2987
3023
|
),
|
|
2988
|
-
/* @__PURE__ */ (0,
|
|
3024
|
+
/* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
|
|
2989
3025
|
"div",
|
|
2990
3026
|
{
|
|
2991
3027
|
className: cn(
|
|
2992
3028
|
"min-w-0",
|
|
2993
3029
|
resolvedVariant === "plain" && !hasAction ? "flex-none text-center" : "flex-1"
|
|
2994
3030
|
),
|
|
2995
|
-
children: /* @__PURE__ */ (0,
|
|
3031
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime66.jsxs)(
|
|
2996
3032
|
"div",
|
|
2997
3033
|
{
|
|
2998
3034
|
className: cn(
|
|
@@ -3001,14 +3037,14 @@ var InlineAlert = ({
|
|
|
3001
3037
|
resolvedVariant === "plain" && !hasAction ? "items-center" : null
|
|
3002
3038
|
),
|
|
3003
3039
|
children: [
|
|
3004
|
-
title ? /* @__PURE__ */ (0,
|
|
3005
|
-
/* @__PURE__ */ (0,
|
|
3040
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime66.jsx)("p", { className: "text-agg-sm font-agg-bold leading-agg-5 text-agg-foreground", children: title }) : null,
|
|
3041
|
+
/* @__PURE__ */ (0, import_jsx_runtime66.jsx)("p", { className: "text-agg-sm leading-agg-5 text-agg-foreground", children: message })
|
|
3006
3042
|
]
|
|
3007
3043
|
}
|
|
3008
3044
|
)
|
|
3009
3045
|
}
|
|
3010
3046
|
),
|
|
3011
|
-
hasAction ? /* @__PURE__ */ (0,
|
|
3047
|
+
hasAction ? /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
|
|
3012
3048
|
"button",
|
|
3013
3049
|
{
|
|
3014
3050
|
type: "button",
|
|
@@ -3030,7 +3066,7 @@ InlineAlert.displayName = "InlineAlert";
|
|
|
3030
3066
|
// src/primitives/number-value.tsx
|
|
3031
3067
|
var import_react3 = require("react");
|
|
3032
3068
|
var import_hooks13 = require("@agg-market/hooks");
|
|
3033
|
-
var
|
|
3069
|
+
var import_jsx_runtime67 = require("react/jsx-runtime");
|
|
3034
3070
|
var NumberValue = ({
|
|
3035
3071
|
value,
|
|
3036
3072
|
format = "number",
|
|
@@ -3058,13 +3094,99 @@ var NumberValue = ({
|
|
|
3058
3094
|
}
|
|
3059
3095
|
return config.formatNumber(value);
|
|
3060
3096
|
}, [config, fallback, format, value]);
|
|
3061
|
-
return /* @__PURE__ */ (0,
|
|
3097
|
+
return /* @__PURE__ */ (0, import_jsx_runtime67.jsx)("span", { className: cn("font-agg-sans", className), "aria-label": ariaLabel, children: formatted });
|
|
3062
3098
|
};
|
|
3063
3099
|
NumberValue.displayName = "NumberValue";
|
|
3064
3100
|
|
|
3065
3101
|
// src/primitives/venue-logo/index.tsx
|
|
3066
3102
|
var import_hooks14 = require("@agg-market/hooks");
|
|
3067
3103
|
|
|
3104
|
+
// src/primitives/remote-image/index.tsx
|
|
3105
|
+
var import_react4 = require("react");
|
|
3106
|
+
|
|
3107
|
+
// src/primitives/remote-image/remote-image.constants.ts
|
|
3108
|
+
var containerClasses = "relative inline-flex shrink-0 overflow-hidden";
|
|
3109
|
+
var imageClasses = "h-full w-full object-cover";
|
|
3110
|
+
var skeletonClasses = "h-full w-full rounded-agg-lg";
|
|
3111
|
+
var placeholderClasses = "flex h-full w-full items-center justify-center bg-agg-secondary-hover rounded-agg-lg";
|
|
3112
|
+
|
|
3113
|
+
// src/primitives/remote-image/index.tsx
|
|
3114
|
+
var import_jsx_runtime68 = require("react/jsx-runtime");
|
|
3115
|
+
var isValidSrc = (src) => typeof src === "string" && src.length > 0;
|
|
3116
|
+
var RemoteImage = ({
|
|
3117
|
+
src,
|
|
3118
|
+
alt,
|
|
3119
|
+
title,
|
|
3120
|
+
className,
|
|
3121
|
+
classNames,
|
|
3122
|
+
width,
|
|
3123
|
+
height,
|
|
3124
|
+
onClick,
|
|
3125
|
+
ariaLabel
|
|
3126
|
+
}) => {
|
|
3127
|
+
const [status, setStatus] = (0, import_react4.useState)(
|
|
3128
|
+
() => isValidSrc(src) ? "loading" : "error"
|
|
3129
|
+
);
|
|
3130
|
+
const prevSrcRef = (0, import_react4.useRef)(src);
|
|
3131
|
+
if (src !== prevSrcRef.current) {
|
|
3132
|
+
prevSrcRef.current = src;
|
|
3133
|
+
const next = isValidSrc(src) ? "loading" : "error";
|
|
3134
|
+
if (status !== next) {
|
|
3135
|
+
setStatus(next);
|
|
3136
|
+
}
|
|
3137
|
+
}
|
|
3138
|
+
const handleLoad = () => {
|
|
3139
|
+
setStatus("loaded");
|
|
3140
|
+
};
|
|
3141
|
+
const handleError = () => {
|
|
3142
|
+
setStatus("error");
|
|
3143
|
+
};
|
|
3144
|
+
const sizeStyle = width !== void 0 || height !== void 0 ? { width: width != null ? width : void 0, height: height != null ? height : void 0 } : void 0;
|
|
3145
|
+
return /* @__PURE__ */ (0, import_jsx_runtime68.jsxs)(
|
|
3146
|
+
"div",
|
|
3147
|
+
{
|
|
3148
|
+
className: cn(containerClasses, classNames == null ? void 0 : classNames.root, className),
|
|
3149
|
+
style: sizeStyle,
|
|
3150
|
+
onClick,
|
|
3151
|
+
role: onClick ? "button" : void 0,
|
|
3152
|
+
tabIndex: onClick ? 0 : void 0,
|
|
3153
|
+
onKeyDown: onClick ? (e) => {
|
|
3154
|
+
if (e.key === "Enter" || e.key === " ") {
|
|
3155
|
+
e.preventDefault();
|
|
3156
|
+
onClick();
|
|
3157
|
+
}
|
|
3158
|
+
} : void 0,
|
|
3159
|
+
"aria-label": ariaLabel,
|
|
3160
|
+
title,
|
|
3161
|
+
children: [
|
|
3162
|
+
status === "loading" && /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(SkeletonBlock, { className: cn(skeletonClasses, classNames == null ? void 0 : classNames.placeholder) }),
|
|
3163
|
+
status === "error" && /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
|
|
3164
|
+
"div",
|
|
3165
|
+
{
|
|
3166
|
+
className: cn(placeholderClasses, classNames == null ? void 0 : classNames.placeholder),
|
|
3167
|
+
"aria-hidden": true,
|
|
3168
|
+
"aria-errormessage": "Image failed to load",
|
|
3169
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(Icon, { name: "image", size: "medium", className: "text-agg-muted-foreground" })
|
|
3170
|
+
}
|
|
3171
|
+
),
|
|
3172
|
+
isValidSrc(src) && status !== "error" && /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
|
|
3173
|
+
"img",
|
|
3174
|
+
{
|
|
3175
|
+
src,
|
|
3176
|
+
alt,
|
|
3177
|
+
width,
|
|
3178
|
+
height,
|
|
3179
|
+
onLoad: handleLoad,
|
|
3180
|
+
onError: handleError,
|
|
3181
|
+
className: cn(imageClasses, status === "loading" && "hidden", classNames == null ? void 0 : classNames.image)
|
|
3182
|
+
}
|
|
3183
|
+
)
|
|
3184
|
+
]
|
|
3185
|
+
}
|
|
3186
|
+
);
|
|
3187
|
+
};
|
|
3188
|
+
RemoteImage.displayName = "RemoteImage";
|
|
3189
|
+
|
|
3068
3190
|
// src/primitives/venue-logo/logo-props.ts
|
|
3069
3191
|
var DEFAULT_MONOCHROME_COLOR = "currentColor";
|
|
3070
3192
|
var resolveLogoPrimaryColor = ({
|
|
@@ -3080,7 +3202,7 @@ var resolveLogoPrimaryColor = ({
|
|
|
3080
3202
|
};
|
|
3081
3203
|
|
|
3082
3204
|
// src/primitives/venue-logo/svg/logo-kalshi.tsx
|
|
3083
|
-
var
|
|
3205
|
+
var import_jsx_runtime69 = require("react/jsx-runtime");
|
|
3084
3206
|
var KALSHI_GREEN = "#18C590";
|
|
3085
3207
|
var LogoKalshiIcon = (_a) => {
|
|
3086
3208
|
var _b = _a, {
|
|
@@ -3099,7 +3221,7 @@ var LogoKalshiIcon = (_a) => {
|
|
|
3099
3221
|
isColor,
|
|
3100
3222
|
color
|
|
3101
3223
|
});
|
|
3102
|
-
return /* @__PURE__ */ (0,
|
|
3224
|
+
return /* @__PURE__ */ (0, import_jsx_runtime69.jsxs)(
|
|
3103
3225
|
"svg",
|
|
3104
3226
|
__spreadProps(__spreadValues(__spreadValues({
|
|
3105
3227
|
viewBox: "0 0 100 100",
|
|
@@ -3107,8 +3229,8 @@ var LogoKalshiIcon = (_a) => {
|
|
|
3107
3229
|
fill: "none"
|
|
3108
3230
|
}, getIconA11yProps(title)), props), {
|
|
3109
3231
|
children: [
|
|
3110
|
-
title ? /* @__PURE__ */ (0,
|
|
3111
|
-
/* @__PURE__ */ (0,
|
|
3232
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime69.jsx)("title", { children: title }) : null,
|
|
3233
|
+
/* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
|
|
3112
3234
|
"path",
|
|
3113
3235
|
{
|
|
3114
3236
|
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 +3244,7 @@ var LogoKalshiIcon = (_a) => {
|
|
|
3122
3244
|
LogoKalshiIcon.displayName = "LogoKalshiIcon";
|
|
3123
3245
|
|
|
3124
3246
|
// src/primitives/venue-logo/svg/logo-limitless.tsx
|
|
3125
|
-
var
|
|
3247
|
+
var import_jsx_runtime70 = require("react/jsx-runtime");
|
|
3126
3248
|
var LIMITLESS_BLACK = "#000000";
|
|
3127
3249
|
var LogoLimitlessIcon = (_a) => {
|
|
3128
3250
|
var _b = _a, {
|
|
@@ -3141,7 +3263,7 @@ var LogoLimitlessIcon = (_a) => {
|
|
|
3141
3263
|
isColor,
|
|
3142
3264
|
color
|
|
3143
3265
|
});
|
|
3144
|
-
return /* @__PURE__ */ (0,
|
|
3266
|
+
return /* @__PURE__ */ (0, import_jsx_runtime70.jsxs)(
|
|
3145
3267
|
"svg",
|
|
3146
3268
|
__spreadProps(__spreadValues(__spreadValues({
|
|
3147
3269
|
viewBox: "0 0 44 32",
|
|
@@ -3149,8 +3271,8 @@ var LogoLimitlessIcon = (_a) => {
|
|
|
3149
3271
|
fill: "none"
|
|
3150
3272
|
}, getIconA11yProps(title)), props), {
|
|
3151
3273
|
children: [
|
|
3152
|
-
title ? /* @__PURE__ */ (0,
|
|
3153
|
-
/* @__PURE__ */ (0,
|
|
3274
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime70.jsx)("title", { children: title }) : null,
|
|
3275
|
+
/* @__PURE__ */ (0, import_jsx_runtime70.jsx)(
|
|
3154
3276
|
"path",
|
|
3155
3277
|
{
|
|
3156
3278
|
fill: primaryColor,
|
|
@@ -3159,7 +3281,7 @@ var LogoLimitlessIcon = (_a) => {
|
|
|
3159
3281
|
clipRule: "evenodd"
|
|
3160
3282
|
}
|
|
3161
3283
|
),
|
|
3162
|
-
/* @__PURE__ */ (0,
|
|
3284
|
+
/* @__PURE__ */ (0, import_jsx_runtime70.jsx)(
|
|
3163
3285
|
"path",
|
|
3164
3286
|
{
|
|
3165
3287
|
fill: primaryColor,
|
|
@@ -3168,7 +3290,7 @@ var LogoLimitlessIcon = (_a) => {
|
|
|
3168
3290
|
clipRule: "evenodd"
|
|
3169
3291
|
}
|
|
3170
3292
|
),
|
|
3171
|
-
/* @__PURE__ */ (0,
|
|
3293
|
+
/* @__PURE__ */ (0, import_jsx_runtime70.jsx)(
|
|
3172
3294
|
"path",
|
|
3173
3295
|
{
|
|
3174
3296
|
fill: primaryColor,
|
|
@@ -3177,7 +3299,7 @@ var LogoLimitlessIcon = (_a) => {
|
|
|
3177
3299
|
clipRule: "evenodd"
|
|
3178
3300
|
}
|
|
3179
3301
|
),
|
|
3180
|
-
/* @__PURE__ */ (0,
|
|
3302
|
+
/* @__PURE__ */ (0, import_jsx_runtime70.jsx)(
|
|
3181
3303
|
"path",
|
|
3182
3304
|
{
|
|
3183
3305
|
fill: primaryColor,
|
|
@@ -3186,7 +3308,7 @@ var LogoLimitlessIcon = (_a) => {
|
|
|
3186
3308
|
clipRule: "evenodd"
|
|
3187
3309
|
}
|
|
3188
3310
|
),
|
|
3189
|
-
/* @__PURE__ */ (0,
|
|
3311
|
+
/* @__PURE__ */ (0, import_jsx_runtime70.jsx)(
|
|
3190
3312
|
"path",
|
|
3191
3313
|
{
|
|
3192
3314
|
fill: primaryColor,
|
|
@@ -3202,7 +3324,7 @@ var LogoLimitlessIcon = (_a) => {
|
|
|
3202
3324
|
LogoLimitlessIcon.displayName = "LogoLimitlessIcon";
|
|
3203
3325
|
|
|
3204
3326
|
// src/primitives/venue-logo/svg/logo-opinion.tsx
|
|
3205
|
-
var
|
|
3327
|
+
var import_jsx_runtime71 = require("react/jsx-runtime");
|
|
3206
3328
|
var OPINION_BLACK = "#000000";
|
|
3207
3329
|
var LogoOpinionIcon = (_a) => {
|
|
3208
3330
|
var _b = _a, {
|
|
@@ -3221,7 +3343,7 @@ var LogoOpinionIcon = (_a) => {
|
|
|
3221
3343
|
isColor,
|
|
3222
3344
|
color
|
|
3223
3345
|
});
|
|
3224
|
-
return /* @__PURE__ */ (0,
|
|
3346
|
+
return /* @__PURE__ */ (0, import_jsx_runtime71.jsxs)(
|
|
3225
3347
|
"svg",
|
|
3226
3348
|
__spreadProps(__spreadValues(__spreadValues({
|
|
3227
3349
|
viewBox: "0 0 100 100",
|
|
@@ -3229,8 +3351,8 @@ var LogoOpinionIcon = (_a) => {
|
|
|
3229
3351
|
fill: "none"
|
|
3230
3352
|
}, getIconA11yProps(title)), props), {
|
|
3231
3353
|
children: [
|
|
3232
|
-
title ? /* @__PURE__ */ (0,
|
|
3233
|
-
/* @__PURE__ */ (0,
|
|
3354
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime71.jsx)("title", { children: title }) : null,
|
|
3355
|
+
/* @__PURE__ */ (0, import_jsx_runtime71.jsx)(
|
|
3234
3356
|
"path",
|
|
3235
3357
|
{
|
|
3236
3358
|
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 +3366,7 @@ var LogoOpinionIcon = (_a) => {
|
|
|
3244
3366
|
LogoOpinionIcon.displayName = "LogoOpinionIcon";
|
|
3245
3367
|
|
|
3246
3368
|
// src/primitives/venue-logo/svg/logo-polymarket.tsx
|
|
3247
|
-
var
|
|
3369
|
+
var import_jsx_runtime72 = require("react/jsx-runtime");
|
|
3248
3370
|
var POLYMARKET_BLUE = "#2E5CFF";
|
|
3249
3371
|
var LogoPolymarketIcon = (_a) => {
|
|
3250
3372
|
var _b = _a, {
|
|
@@ -3263,7 +3385,7 @@ var LogoPolymarketIcon = (_a) => {
|
|
|
3263
3385
|
isColor,
|
|
3264
3386
|
color
|
|
3265
3387
|
});
|
|
3266
|
-
return /* @__PURE__ */ (0,
|
|
3388
|
+
return /* @__PURE__ */ (0, import_jsx_runtime72.jsxs)(
|
|
3267
3389
|
"svg",
|
|
3268
3390
|
__spreadProps(__spreadValues(__spreadValues({
|
|
3269
3391
|
viewBox: "0 0 100 100",
|
|
@@ -3271,8 +3393,8 @@ var LogoPolymarketIcon = (_a) => {
|
|
|
3271
3393
|
fill: "none"
|
|
3272
3394
|
}, getIconA11yProps(title)), props), {
|
|
3273
3395
|
children: [
|
|
3274
|
-
title ? /* @__PURE__ */ (0,
|
|
3275
|
-
/* @__PURE__ */ (0,
|
|
3396
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime72.jsx)("title", { children: title }) : null,
|
|
3397
|
+
/* @__PURE__ */ (0, import_jsx_runtime72.jsx)(
|
|
3276
3398
|
"path",
|
|
3277
3399
|
{
|
|
3278
3400
|
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 +3408,7 @@ var LogoPolymarketIcon = (_a) => {
|
|
|
3286
3408
|
LogoPolymarketIcon.displayName = "LogoPolymarketIcon";
|
|
3287
3409
|
|
|
3288
3410
|
// src/primitives/venue-logo/svg/logo-probable.tsx
|
|
3289
|
-
var
|
|
3411
|
+
var import_jsx_runtime73 = require("react/jsx-runtime");
|
|
3290
3412
|
var PROBABLE_ORANGE = "#F05923";
|
|
3291
3413
|
var LogoProbableIcon = (_a) => {
|
|
3292
3414
|
var _b = _a, {
|
|
@@ -3305,7 +3427,7 @@ var LogoProbableIcon = (_a) => {
|
|
|
3305
3427
|
isColor,
|
|
3306
3428
|
color
|
|
3307
3429
|
});
|
|
3308
|
-
return /* @__PURE__ */ (0,
|
|
3430
|
+
return /* @__PURE__ */ (0, import_jsx_runtime73.jsxs)(
|
|
3309
3431
|
"svg",
|
|
3310
3432
|
__spreadProps(__spreadValues(__spreadValues({
|
|
3311
3433
|
viewBox: "0 0 100 100",
|
|
@@ -3313,16 +3435,16 @@ var LogoProbableIcon = (_a) => {
|
|
|
3313
3435
|
fill: "none"
|
|
3314
3436
|
}, getIconA11yProps(title)), props), {
|
|
3315
3437
|
children: [
|
|
3316
|
-
title ? /* @__PURE__ */ (0,
|
|
3317
|
-
/* @__PURE__ */ (0,
|
|
3438
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime73.jsx)("title", { children: title }) : null,
|
|
3439
|
+
/* @__PURE__ */ (0, import_jsx_runtime73.jsx)(
|
|
3318
3440
|
"path",
|
|
3319
3441
|
{
|
|
3320
3442
|
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
3443
|
fill: primaryColor
|
|
3322
3444
|
}
|
|
3323
3445
|
),
|
|
3324
|
-
/* @__PURE__ */ (0,
|
|
3325
|
-
/* @__PURE__ */ (0,
|
|
3446
|
+
/* @__PURE__ */ (0, import_jsx_runtime73.jsx)("path", { d: "M90.9329 15.4546V30.4546H8.90234V15.4546H90.9329Z", fill: primaryColor }),
|
|
3447
|
+
/* @__PURE__ */ (0, import_jsx_runtime73.jsx)(
|
|
3326
3448
|
"path",
|
|
3327
3449
|
{
|
|
3328
3450
|
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 +3488,7 @@ var sizeClasses2 = {
|
|
|
3366
3488
|
};
|
|
3367
3489
|
|
|
3368
3490
|
// src/primitives/venue-logo/index.tsx
|
|
3369
|
-
var
|
|
3491
|
+
var import_jsx_runtime74 = require("react/jsx-runtime");
|
|
3370
3492
|
var VenueLogo = ({
|
|
3371
3493
|
venue,
|
|
3372
3494
|
variant = "icon",
|
|
@@ -3383,8 +3505,8 @@ var VenueLogo = ({
|
|
|
3383
3505
|
const sizeClass = sizeClasses2[size];
|
|
3384
3506
|
const resolvedLabel = (_a = ariaLabel != null ? ariaLabel : labels.venues[venue]) != null ? _a : venueLogoLabels[venue];
|
|
3385
3507
|
if (variant === "logo") {
|
|
3386
|
-
return /* @__PURE__ */ (0,
|
|
3387
|
-
|
|
3508
|
+
return /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(
|
|
3509
|
+
RemoteImage,
|
|
3388
3510
|
{
|
|
3389
3511
|
src: venueLogoUrlRegistry[venue],
|
|
3390
3512
|
alt: resolvedLabel,
|
|
@@ -3395,7 +3517,7 @@ var VenueLogo = ({
|
|
|
3395
3517
|
}
|
|
3396
3518
|
const Component = venueLogoRegistry[venue];
|
|
3397
3519
|
const resolvedIsColor = isMonochromatic ? false : isColor;
|
|
3398
|
-
return /* @__PURE__ */ (0,
|
|
3520
|
+
return /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(
|
|
3399
3521
|
Component,
|
|
3400
3522
|
{
|
|
3401
3523
|
className: cn("group/agg-venue-logo", "shrink-0", sizeClass, className),
|
|
@@ -3424,7 +3546,7 @@ var baseBadgeClasses = cn(
|
|
|
3424
3546
|
);
|
|
3425
3547
|
|
|
3426
3548
|
// src/primitives/badge/index.tsx
|
|
3427
|
-
var
|
|
3549
|
+
var import_jsx_runtime75 = require("react/jsx-runtime");
|
|
3428
3550
|
function Badge({
|
|
3429
3551
|
text,
|
|
3430
3552
|
prefix,
|
|
@@ -3437,7 +3559,7 @@ function Badge({
|
|
|
3437
3559
|
const { enableAnimations } = (0, import_hooks15.useSdkUiConfig)();
|
|
3438
3560
|
const resolvedText = `${text}`;
|
|
3439
3561
|
const resolvedAriaLabel = resolvedText.length > 0 ? resolvedText : void 0;
|
|
3440
|
-
return /* @__PURE__ */ (0,
|
|
3562
|
+
return /* @__PURE__ */ (0, import_jsx_runtime75.jsxs)(
|
|
3441
3563
|
"span",
|
|
3442
3564
|
__spreadProps(__spreadValues({
|
|
3443
3565
|
"aria-label": resolvedAriaLabel,
|
|
@@ -3455,9 +3577,9 @@ function Badge({
|
|
|
3455
3577
|
)
|
|
3456
3578
|
}, onClick && { onClick }), {
|
|
3457
3579
|
children: [
|
|
3458
|
-
prefix ? /* @__PURE__ */ (0,
|
|
3459
|
-
/* @__PURE__ */ (0,
|
|
3460
|
-
suffix ? /* @__PURE__ */ (0,
|
|
3580
|
+
prefix ? /* @__PURE__ */ (0, import_jsx_runtime75.jsx)("span", { className: classNames == null ? void 0 : classNames.prefix, children: prefix }) : null,
|
|
3581
|
+
/* @__PURE__ */ (0, import_jsx_runtime75.jsx)("span", { className: cn("truncate", classNames == null ? void 0 : classNames.text), children: text }),
|
|
3582
|
+
suffix ? /* @__PURE__ */ (0, import_jsx_runtime75.jsx)("span", { className: classNames == null ? void 0 : classNames.suffix, children: suffix }) : null
|
|
3461
3583
|
]
|
|
3462
3584
|
})
|
|
3463
3585
|
);
|
|
@@ -3465,9 +3587,9 @@ function Badge({
|
|
|
3465
3587
|
Badge.displayName = "Badge";
|
|
3466
3588
|
|
|
3467
3589
|
// src/primitives/select/index.tsx
|
|
3468
|
-
var
|
|
3590
|
+
var import_react5 = require("react");
|
|
3469
3591
|
var import_hooks16 = require("@agg-market/hooks");
|
|
3470
|
-
var
|
|
3592
|
+
var import_jsx_runtime76 = require("react/jsx-runtime");
|
|
3471
3593
|
var Select = ({
|
|
3472
3594
|
items,
|
|
3473
3595
|
value,
|
|
@@ -3481,10 +3603,10 @@ var Select = ({
|
|
|
3481
3603
|
const { enableAnimations } = (0, import_hooks16.useSdkUiConfig)();
|
|
3482
3604
|
const hasEnabledItems = items.some((item) => !item.disabled);
|
|
3483
3605
|
const hasAnyIcon = items.some((item) => item.iconUrl);
|
|
3484
|
-
const [isOpen, setIsOpen] = (0,
|
|
3485
|
-
const containerRef = (0,
|
|
3486
|
-
const close = (0,
|
|
3487
|
-
(0,
|
|
3606
|
+
const [isOpen, setIsOpen] = (0, import_react5.useState)(false);
|
|
3607
|
+
const containerRef = (0, import_react5.useRef)(null);
|
|
3608
|
+
const close = (0, import_react5.useCallback)(() => setIsOpen(false), []);
|
|
3609
|
+
(0, import_react5.useEffect)(() => {
|
|
3488
3610
|
if (!isOpen)
|
|
3489
3611
|
return;
|
|
3490
3612
|
const handlePointerDown = (e) => {
|
|
@@ -3495,7 +3617,7 @@ var Select = ({
|
|
|
3495
3617
|
document.addEventListener("mousedown", handlePointerDown);
|
|
3496
3618
|
return () => document.removeEventListener("mousedown", handlePointerDown);
|
|
3497
3619
|
}, [isOpen, close]);
|
|
3498
|
-
(0,
|
|
3620
|
+
(0, import_react5.useEffect)(() => {
|
|
3499
3621
|
if (!isOpen)
|
|
3500
3622
|
return;
|
|
3501
3623
|
const handleKey = (e) => {
|
|
@@ -3508,8 +3630,8 @@ var Select = ({
|
|
|
3508
3630
|
const isDisabled = disabled || !hasEnabledItems;
|
|
3509
3631
|
const selectedItem = items.find((item) => item.value === value);
|
|
3510
3632
|
if (!hasAnyIcon) {
|
|
3511
|
-
return /* @__PURE__ */ (0,
|
|
3512
|
-
/* @__PURE__ */ (0,
|
|
3633
|
+
return /* @__PURE__ */ (0, import_jsx_runtime76.jsxs)("label", { className: cn("group/agg-select", "relative inline-flex w-full", className), children: [
|
|
3634
|
+
/* @__PURE__ */ (0, import_jsx_runtime76.jsx)(
|
|
3513
3635
|
"select",
|
|
3514
3636
|
{
|
|
3515
3637
|
"aria-label": ariaLabel != null ? ariaLabel : labels.common.selectAria,
|
|
@@ -3525,19 +3647,19 @@ var Select = ({
|
|
|
3525
3647
|
disabled: isDisabled,
|
|
3526
3648
|
value,
|
|
3527
3649
|
onChange: (event) => onChange(event.target.value),
|
|
3528
|
-
children: items.map((item) => /* @__PURE__ */ (0,
|
|
3650
|
+
children: items.map((item) => /* @__PURE__ */ (0, import_jsx_runtime76.jsx)("option", { value: item.value, disabled: item.disabled, children: item.label }, item.value))
|
|
3529
3651
|
}
|
|
3530
3652
|
),
|
|
3531
|
-
/* @__PURE__ */ (0,
|
|
3653
|
+
/* @__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
3654
|
] });
|
|
3533
3655
|
}
|
|
3534
|
-
return /* @__PURE__ */ (0,
|
|
3656
|
+
return /* @__PURE__ */ (0, import_jsx_runtime76.jsxs)(
|
|
3535
3657
|
"div",
|
|
3536
3658
|
{
|
|
3537
3659
|
ref: containerRef,
|
|
3538
3660
|
className: cn("group/agg-select", "relative inline-flex w-full", className),
|
|
3539
3661
|
children: [
|
|
3540
|
-
/* @__PURE__ */ (0,
|
|
3662
|
+
/* @__PURE__ */ (0, import_jsx_runtime76.jsxs)(
|
|
3541
3663
|
"button",
|
|
3542
3664
|
{
|
|
3543
3665
|
type: "button",
|
|
@@ -3557,20 +3679,20 @@ var Select = ({
|
|
|
3557
3679
|
),
|
|
3558
3680
|
onClick: () => setIsOpen((prev) => !prev),
|
|
3559
3681
|
children: [
|
|
3560
|
-
(selectedItem == null ? void 0 : selectedItem.iconUrl) ? /* @__PURE__ */ (0,
|
|
3561
|
-
|
|
3682
|
+
(selectedItem == null ? void 0 : selectedItem.iconUrl) ? /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(
|
|
3683
|
+
RemoteImage,
|
|
3562
3684
|
{
|
|
3563
3685
|
src: selectedItem.iconUrl,
|
|
3564
3686
|
alt: "",
|
|
3565
3687
|
className: "h-4 w-4 shrink-0 rounded-sm object-contain"
|
|
3566
3688
|
}
|
|
3567
3689
|
) : null,
|
|
3568
|
-
/* @__PURE__ */ (0,
|
|
3690
|
+
/* @__PURE__ */ (0, import_jsx_runtime76.jsx)("span", { className: "flex-1 truncate", children: (_a = selectedItem == null ? void 0 : selectedItem.label) != null ? _a : "" })
|
|
3569
3691
|
]
|
|
3570
3692
|
}
|
|
3571
3693
|
),
|
|
3572
|
-
/* @__PURE__ */ (0,
|
|
3573
|
-
isOpen ? /* @__PURE__ */ (0,
|
|
3694
|
+
/* @__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" }) }),
|
|
3695
|
+
isOpen ? /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(
|
|
3574
3696
|
"div",
|
|
3575
3697
|
{
|
|
3576
3698
|
role: "listbox",
|
|
@@ -3578,7 +3700,7 @@ var Select = ({
|
|
|
3578
3700
|
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
3701
|
children: items.map((item) => {
|
|
3580
3702
|
const isSelected = item.value === value;
|
|
3581
|
-
return /* @__PURE__ */ (0,
|
|
3703
|
+
return /* @__PURE__ */ (0, import_jsx_runtime76.jsxs)(
|
|
3582
3704
|
"button",
|
|
3583
3705
|
{
|
|
3584
3706
|
type: "button",
|
|
@@ -3598,15 +3720,15 @@ var Select = ({
|
|
|
3598
3720
|
}
|
|
3599
3721
|
},
|
|
3600
3722
|
children: [
|
|
3601
|
-
item.iconUrl ? /* @__PURE__ */ (0,
|
|
3602
|
-
|
|
3723
|
+
item.iconUrl ? /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(
|
|
3724
|
+
RemoteImage,
|
|
3603
3725
|
{
|
|
3604
3726
|
src: item.iconUrl,
|
|
3605
3727
|
alt: "",
|
|
3606
3728
|
className: "h-4 w-4 shrink-0 rounded-sm object-contain"
|
|
3607
3729
|
}
|
|
3608
3730
|
) : null,
|
|
3609
|
-
/* @__PURE__ */ (0,
|
|
3731
|
+
/* @__PURE__ */ (0, import_jsx_runtime76.jsx)("span", { className: "truncate", children: item.label })
|
|
3610
3732
|
]
|
|
3611
3733
|
},
|
|
3612
3734
|
item.value
|
|
@@ -3621,14 +3743,14 @@ var Select = ({
|
|
|
3621
3743
|
Select.displayName = "Select";
|
|
3622
3744
|
|
|
3623
3745
|
// src/primitives/search/index.tsx
|
|
3624
|
-
var
|
|
3746
|
+
var import_react6 = require("react");
|
|
3625
3747
|
var import_hooks17 = require("@agg-market/hooks");
|
|
3626
3748
|
|
|
3627
3749
|
// src/primitives/search/search-empty-icon.tsx
|
|
3628
|
-
var
|
|
3750
|
+
var import_jsx_runtime77 = require("react/jsx-runtime");
|
|
3629
3751
|
var SearchEmptyIcon = (_a) => {
|
|
3630
3752
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
3631
|
-
return /* @__PURE__ */ (0,
|
|
3753
|
+
return /* @__PURE__ */ (0, import_jsx_runtime77.jsxs)(
|
|
3632
3754
|
"svg",
|
|
3633
3755
|
__spreadProps(__spreadValues(__spreadValues({
|
|
3634
3756
|
viewBox: "0 0 40 40",
|
|
@@ -3637,9 +3759,9 @@ var SearchEmptyIcon = (_a) => {
|
|
|
3637
3759
|
className
|
|
3638
3760
|
}, getIconA11yProps(title)), props), {
|
|
3639
3761
|
children: [
|
|
3640
|
-
title ? /* @__PURE__ */ (0,
|
|
3641
|
-
/* @__PURE__ */ (0,
|
|
3642
|
-
/* @__PURE__ */ (0,
|
|
3762
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime77.jsx)("title", { children: title }) : null,
|
|
3763
|
+
/* @__PURE__ */ (0, import_jsx_runtime77.jsx)("circle", { cx: "19.9987", cy: "20.0013", r: "9.2", stroke: "currentColor", strokeWidth: "1.6" }),
|
|
3764
|
+
/* @__PURE__ */ (0, import_jsx_runtime77.jsx)(
|
|
3643
3765
|
"ellipse",
|
|
3644
3766
|
{
|
|
3645
3767
|
cx: "19.9987",
|
|
@@ -3681,7 +3803,7 @@ var searchResultItemSchema = import_zod.z.object({
|
|
|
3681
3803
|
var searchResultItemsSchema = import_zod.z.array(searchResultItemSchema);
|
|
3682
3804
|
|
|
3683
3805
|
// src/primitives/search/index.tsx
|
|
3684
|
-
var
|
|
3806
|
+
var import_jsx_runtime78 = require("react/jsx-runtime");
|
|
3685
3807
|
var SearchResultRow = ({
|
|
3686
3808
|
item,
|
|
3687
3809
|
resultAria,
|
|
@@ -3692,7 +3814,7 @@ var SearchResultRow = ({
|
|
|
3692
3814
|
const handleResultClick = () => {
|
|
3693
3815
|
onSelect == null ? void 0 : onSelect(item);
|
|
3694
3816
|
};
|
|
3695
|
-
return /* @__PURE__ */ (0,
|
|
3817
|
+
return /* @__PURE__ */ (0, import_jsx_runtime78.jsxs)(
|
|
3696
3818
|
"button",
|
|
3697
3819
|
{
|
|
3698
3820
|
type: "button",
|
|
@@ -3708,9 +3830,9 @@ var SearchResultRow = ({
|
|
|
3708
3830
|
onClick: handleResultClick,
|
|
3709
3831
|
"aria-label": resultAria(item.title),
|
|
3710
3832
|
children: [
|
|
3711
|
-
/* @__PURE__ */ (0,
|
|
3712
|
-
/* @__PURE__ */ (0,
|
|
3713
|
-
|
|
3833
|
+
/* @__PURE__ */ (0, import_jsx_runtime78.jsxs)("div", { className: "flex min-w-0 flex-1 items-center gap-3", children: [
|
|
3834
|
+
/* @__PURE__ */ (0, import_jsx_runtime78.jsx)(
|
|
3835
|
+
RemoteImage,
|
|
3714
3836
|
{
|
|
3715
3837
|
src: item.thumbnailSrc,
|
|
3716
3838
|
alt: (_a = item.thumbnailAlt) != null ? _a : "",
|
|
@@ -3720,7 +3842,7 @@ var SearchResultRow = ({
|
|
|
3720
3842
|
)
|
|
3721
3843
|
}
|
|
3722
3844
|
),
|
|
3723
|
-
/* @__PURE__ */ (0,
|
|
3845
|
+
/* @__PURE__ */ (0, import_jsx_runtime78.jsx)(
|
|
3724
3846
|
"p",
|
|
3725
3847
|
{
|
|
3726
3848
|
className: cn(
|
|
@@ -3731,10 +3853,10 @@ var SearchResultRow = ({
|
|
|
3731
3853
|
}
|
|
3732
3854
|
)
|
|
3733
3855
|
] }),
|
|
3734
|
-
/* @__PURE__ */ (0,
|
|
3735
|
-
/* @__PURE__ */ (0,
|
|
3736
|
-
/* @__PURE__ */ (0,
|
|
3737
|
-
/* @__PURE__ */ (0,
|
|
3856
|
+
/* @__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: [
|
|
3857
|
+
/* @__PURE__ */ (0, import_jsx_runtime78.jsx)(VenueLogo, { venue: item.venue, size: "small" }),
|
|
3858
|
+
/* @__PURE__ */ (0, import_jsx_runtime78.jsxs)("div", { className: "flex min-w-0 flex-1 items-baseline gap-2", children: [
|
|
3859
|
+
/* @__PURE__ */ (0, import_jsx_runtime78.jsx)(
|
|
3738
3860
|
"p",
|
|
3739
3861
|
{
|
|
3740
3862
|
className: cn(
|
|
@@ -3744,7 +3866,7 @@ var SearchResultRow = ({
|
|
|
3744
3866
|
children: item.valueLabel
|
|
3745
3867
|
}
|
|
3746
3868
|
),
|
|
3747
|
-
/* @__PURE__ */ (0,
|
|
3869
|
+
/* @__PURE__ */ (0, import_jsx_runtime78.jsx)(
|
|
3748
3870
|
"p",
|
|
3749
3871
|
{
|
|
3750
3872
|
className: cn(
|
|
@@ -3756,7 +3878,7 @@ var SearchResultRow = ({
|
|
|
3756
3878
|
)
|
|
3757
3879
|
] })
|
|
3758
3880
|
] }),
|
|
3759
|
-
/* @__PURE__ */ (0,
|
|
3881
|
+
/* @__PURE__ */ (0, import_jsx_runtime78.jsx)(
|
|
3760
3882
|
Icon,
|
|
3761
3883
|
{
|
|
3762
3884
|
name: "chevron-right",
|
|
@@ -3786,7 +3908,7 @@ var Search = ({
|
|
|
3786
3908
|
}) => {
|
|
3787
3909
|
const labels = (0, import_hooks17.useLabels)();
|
|
3788
3910
|
const { enableAnimations } = (0, import_hooks17.useSdkUiConfig)();
|
|
3789
|
-
const validatedResults = (0,
|
|
3911
|
+
const validatedResults = (0, import_react6.useMemo)(() => {
|
|
3790
3912
|
return getValidatedResults(results);
|
|
3791
3913
|
}, [results]);
|
|
3792
3914
|
const hasSearchValue = value.trim().length > 0;
|
|
@@ -3797,8 +3919,8 @@ var Search = ({
|
|
|
3797
3919
|
const handleInputChange = (event) => {
|
|
3798
3920
|
onValueChange(event.target.value);
|
|
3799
3921
|
};
|
|
3800
|
-
return /* @__PURE__ */ (0,
|
|
3801
|
-
/* @__PURE__ */ (0,
|
|
3922
|
+
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: [
|
|
3923
|
+
/* @__PURE__ */ (0, import_jsx_runtime78.jsx)("label", { className: "w-full", children: /* @__PURE__ */ (0, import_jsx_runtime78.jsxs)(
|
|
3802
3924
|
"div",
|
|
3803
3925
|
{
|
|
3804
3926
|
className: cn(
|
|
@@ -3812,7 +3934,7 @@ var Search = ({
|
|
|
3812
3934
|
classNames == null ? void 0 : classNames.inputContainer
|
|
3813
3935
|
),
|
|
3814
3936
|
children: [
|
|
3815
|
-
/* @__PURE__ */ (0,
|
|
3937
|
+
/* @__PURE__ */ (0, import_jsx_runtime78.jsx)(
|
|
3816
3938
|
Icon,
|
|
3817
3939
|
{
|
|
3818
3940
|
name: "search",
|
|
@@ -3820,7 +3942,7 @@ var Search = ({
|
|
|
3820
3942
|
className: cn("text-agg-muted-foreground", classNames == null ? void 0 : classNames.searchIcon)
|
|
3821
3943
|
}
|
|
3822
3944
|
),
|
|
3823
|
-
/* @__PURE__ */ (0,
|
|
3945
|
+
/* @__PURE__ */ (0, import_jsx_runtime78.jsx)(
|
|
3824
3946
|
"input",
|
|
3825
3947
|
__spreadProps(__spreadValues({}, inputProps), {
|
|
3826
3948
|
type: "text",
|
|
@@ -3841,25 +3963,25 @@ var Search = ({
|
|
|
3841
3963
|
]
|
|
3842
3964
|
}
|
|
3843
3965
|
) }),
|
|
3844
|
-
shouldRenderResults ? /* @__PURE__ */ (0,
|
|
3966
|
+
shouldRenderResults ? /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(
|
|
3845
3967
|
"div",
|
|
3846
3968
|
{
|
|
3847
3969
|
className: cn(
|
|
3848
3970
|
"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
3971
|
classNames == null ? void 0 : classNames.dropdown
|
|
3850
3972
|
),
|
|
3851
|
-
children: /* @__PURE__ */ (0,
|
|
3973
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(
|
|
3852
3974
|
"ul",
|
|
3853
3975
|
{
|
|
3854
3976
|
className: cn("m-0 flex list-none flex-col p-0", classNames == null ? void 0 : classNames.resultsList),
|
|
3855
3977
|
role: "listbox",
|
|
3856
3978
|
"aria-label": labels.search.resultsAria,
|
|
3857
|
-
children: validatedResults.map((item, index) => /* @__PURE__ */ (0,
|
|
3979
|
+
children: validatedResults.map((item, index) => /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(
|
|
3858
3980
|
"li",
|
|
3859
3981
|
{
|
|
3860
3982
|
role: "presentation",
|
|
3861
3983
|
className: cn(index > 0 && "border-t border-agg-separator", classNames == null ? void 0 : classNames.resultItem),
|
|
3862
|
-
children: /* @__PURE__ */ (0,
|
|
3984
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(
|
|
3863
3985
|
SearchResultRow,
|
|
3864
3986
|
{
|
|
3865
3987
|
item,
|
|
@@ -3875,29 +3997,29 @@ var Search = ({
|
|
|
3875
3997
|
)
|
|
3876
3998
|
}
|
|
3877
3999
|
) : null,
|
|
3878
|
-
shouldRenderNoResults ? /* @__PURE__ */ (0,
|
|
4000
|
+
shouldRenderNoResults ? /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(
|
|
3879
4001
|
"div",
|
|
3880
4002
|
{
|
|
3881
4003
|
className: cn(
|
|
3882
4004
|
"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
4005
|
classNames == null ? void 0 : classNames.emptyState
|
|
3884
4006
|
),
|
|
3885
|
-
children: /* @__PURE__ */ (0,
|
|
4007
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime78.jsxs)(
|
|
3886
4008
|
"div",
|
|
3887
4009
|
{
|
|
3888
4010
|
className: cn("flex flex-col items-center gap-5", classNames == null ? void 0 : classNames.emptyStateContent),
|
|
3889
4011
|
role: "status",
|
|
3890
4012
|
"aria-live": "polite",
|
|
3891
4013
|
children: [
|
|
3892
|
-
/* @__PURE__ */ (0,
|
|
4014
|
+
/* @__PURE__ */ (0, import_jsx_runtime78.jsx)(
|
|
3893
4015
|
SearchEmptyIcon,
|
|
3894
4016
|
{
|
|
3895
4017
|
className: cn("h-10 w-10 text-agg-muted-foreground", classNames == null ? void 0 : classNames.emptyStateIcon),
|
|
3896
4018
|
"aria-hidden": true
|
|
3897
4019
|
}
|
|
3898
4020
|
),
|
|
3899
|
-
/* @__PURE__ */ (0,
|
|
3900
|
-
/* @__PURE__ */ (0,
|
|
4021
|
+
/* @__PURE__ */ (0, import_jsx_runtime78.jsxs)("div", { className: "flex flex-col items-center gap-1 text-center", children: [
|
|
4022
|
+
/* @__PURE__ */ (0, import_jsx_runtime78.jsx)(
|
|
3901
4023
|
"p",
|
|
3902
4024
|
{
|
|
3903
4025
|
className: cn(
|
|
@@ -3907,7 +4029,7 @@ var Search = ({
|
|
|
3907
4029
|
children: labels.search.noResultsTitle
|
|
3908
4030
|
}
|
|
3909
4031
|
),
|
|
3910
|
-
/* @__PURE__ */ (0,
|
|
4032
|
+
/* @__PURE__ */ (0, import_jsx_runtime78.jsx)(
|
|
3911
4033
|
"p",
|
|
3912
4034
|
{
|
|
3913
4035
|
className: cn(
|
|
@@ -3928,7 +4050,7 @@ var Search = ({
|
|
|
3928
4050
|
Search.displayName = "Search";
|
|
3929
4051
|
|
|
3930
4052
|
// src/primitives/state-message/index.tsx
|
|
3931
|
-
var
|
|
4053
|
+
var import_jsx_runtime79 = require("react/jsx-runtime");
|
|
3932
4054
|
var iconClassName = "h-9 w-9 text-agg-muted-foreground";
|
|
3933
4055
|
var StateMessage = ({
|
|
3934
4056
|
ariaLabel,
|
|
@@ -3939,8 +4061,8 @@ var StateMessage = ({
|
|
|
3939
4061
|
onAction,
|
|
3940
4062
|
className
|
|
3941
4063
|
}) => {
|
|
3942
|
-
const icon = tone === "warning" ? /* @__PURE__ */ (0,
|
|
3943
|
-
return /* @__PURE__ */ (0,
|
|
4064
|
+
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 });
|
|
4065
|
+
return /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(
|
|
3944
4066
|
"div",
|
|
3945
4067
|
{
|
|
3946
4068
|
className: cn(
|
|
@@ -3950,13 +4072,13 @@ var StateMessage = ({
|
|
|
3950
4072
|
role: "status",
|
|
3951
4073
|
"aria-live": "polite",
|
|
3952
4074
|
"aria-label": ariaLabel,
|
|
3953
|
-
children: /* @__PURE__ */ (0,
|
|
4075
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime79.jsxs)("div", { className: "flex max-w-[360px] flex-col items-center gap-6", children: [
|
|
3954
4076
|
icon,
|
|
3955
|
-
/* @__PURE__ */ (0,
|
|
3956
|
-
/* @__PURE__ */ (0,
|
|
3957
|
-
description ? /* @__PURE__ */ (0,
|
|
4077
|
+
/* @__PURE__ */ (0, import_jsx_runtime79.jsxs)("div", { className: "flex flex-col items-center gap-2", children: [
|
|
4078
|
+
/* @__PURE__ */ (0, import_jsx_runtime79.jsx)(Typography, { variant: "body-large-strong", children: title }),
|
|
4079
|
+
description ? /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(Typography, { variant: "body", className: "whitespace-pre-line text-agg-muted-foreground", children: description }) : null
|
|
3958
4080
|
] }),
|
|
3959
|
-
actionLabel && onAction ? /* @__PURE__ */ (0,
|
|
4081
|
+
actionLabel && onAction ? /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(
|
|
3960
4082
|
Button,
|
|
3961
4083
|
{
|
|
3962
4084
|
variant: "tertiary",
|
|
@@ -3974,7 +4096,7 @@ var StateMessage = ({
|
|
|
3974
4096
|
StateMessage.displayName = "StateMessage";
|
|
3975
4097
|
|
|
3976
4098
|
// src/primitives/tabs/index.tsx
|
|
3977
|
-
var
|
|
4099
|
+
var import_react7 = require("react");
|
|
3978
4100
|
var import_hooks18 = require("@agg-market/hooks");
|
|
3979
4101
|
|
|
3980
4102
|
// src/primitives/tabs/tabs.utils.ts
|
|
@@ -4002,7 +4124,7 @@ var findEdgeEnabledIndex = (items, direction) => {
|
|
|
4002
4124
|
};
|
|
4003
4125
|
|
|
4004
4126
|
// src/primitives/tabs/index.tsx
|
|
4005
|
-
var
|
|
4127
|
+
var import_jsx_runtime80 = require("react/jsx-runtime");
|
|
4006
4128
|
var mobileTabsMediaQuery = "(max-width: 512px)";
|
|
4007
4129
|
var getTabButtonClassName = ({
|
|
4008
4130
|
enableAnimations,
|
|
@@ -4044,8 +4166,8 @@ var Tabs = ({
|
|
|
4044
4166
|
}) => {
|
|
4045
4167
|
const labels = (0, import_hooks18.useLabels)();
|
|
4046
4168
|
const { enableAnimations } = (0, import_hooks18.useSdkUiConfig)();
|
|
4047
|
-
const buttonRefs = (0,
|
|
4048
|
-
const dragStateRef = (0,
|
|
4169
|
+
const buttonRefs = (0, import_react7.useRef)([]);
|
|
4170
|
+
const dragStateRef = (0, import_react7.useRef)({
|
|
4049
4171
|
isPointerDown: false,
|
|
4050
4172
|
isDragging: false,
|
|
4051
4173
|
pointerId: null,
|
|
@@ -4053,22 +4175,22 @@ var Tabs = ({
|
|
|
4053
4175
|
startClientY: 0,
|
|
4054
4176
|
startScrollLeft: 0
|
|
4055
4177
|
});
|
|
4056
|
-
const suppressClickRef = (0,
|
|
4178
|
+
const suppressClickRef = (0, import_react7.useRef)(false);
|
|
4057
4179
|
const resolvedAriaLabel = ariaLabel != null ? ariaLabel : labels.common.tabsAria;
|
|
4058
|
-
const [isMobileViewport, setIsMobileViewport] = (0,
|
|
4059
|
-
const [isDraggingTabs, setIsDraggingTabs] = (0,
|
|
4060
|
-
const [activeUnderlineStyle, setActiveUnderlineStyle] = (0,
|
|
4180
|
+
const [isMobileViewport, setIsMobileViewport] = (0, import_react7.useState)(false);
|
|
4181
|
+
const [isDraggingTabs, setIsDraggingTabs] = (0, import_react7.useState)(false);
|
|
4182
|
+
const [activeUnderlineStyle, setActiveUnderlineStyle] = (0, import_react7.useState)({
|
|
4061
4183
|
transform: "translateX(0px)",
|
|
4062
4184
|
width: 0,
|
|
4063
4185
|
opacity: 0
|
|
4064
4186
|
});
|
|
4065
|
-
const [scrollAffordanceState, setScrollAffordanceState] = (0,
|
|
4187
|
+
const [scrollAffordanceState, setScrollAffordanceState] = (0, import_react7.useState)({
|
|
4066
4188
|
showStart: false,
|
|
4067
4189
|
showEnd: false
|
|
4068
4190
|
});
|
|
4069
|
-
const tabListRef = (0,
|
|
4191
|
+
const tabListRef = (0, import_react7.useRef)(null);
|
|
4070
4192
|
const isBarVariant = variant === "bar";
|
|
4071
|
-
const resolvedOverflowBehavior = (0,
|
|
4193
|
+
const resolvedOverflowBehavior = (0, import_react7.useMemo)(() => {
|
|
4072
4194
|
if (overflowBehavior)
|
|
4073
4195
|
return overflowBehavior;
|
|
4074
4196
|
if (!isBarVariant)
|
|
@@ -4077,7 +4199,7 @@ var Tabs = ({
|
|
|
4077
4199
|
}, [isBarVariant, isMobileViewport, overflowBehavior]);
|
|
4078
4200
|
const shouldUseOverflowScroll = resolvedOverflowBehavior === "scroll";
|
|
4079
4201
|
const shouldUseOverflowSelect = resolvedOverflowBehavior === "select";
|
|
4080
|
-
(0,
|
|
4202
|
+
(0, import_react7.useEffect)(() => {
|
|
4081
4203
|
if (typeof window === "undefined")
|
|
4082
4204
|
return;
|
|
4083
4205
|
const mediaQueryList = window.matchMedia(mobileTabsMediaQuery);
|
|
@@ -4096,7 +4218,7 @@ var Tabs = ({
|
|
|
4096
4218
|
mediaQueryList.removeListener(handleMediaQueryChange);
|
|
4097
4219
|
};
|
|
4098
4220
|
}, []);
|
|
4099
|
-
const updateScrollAffordances = (0,
|
|
4221
|
+
const updateScrollAffordances = (0, import_react7.useCallback)(() => {
|
|
4100
4222
|
if (!shouldUseOverflowScroll) {
|
|
4101
4223
|
setScrollAffordanceState({
|
|
4102
4224
|
showStart: false,
|
|
@@ -4114,7 +4236,7 @@ var Tabs = ({
|
|
|
4114
4236
|
});
|
|
4115
4237
|
}, [shouldUseOverflowScroll]);
|
|
4116
4238
|
const renderedItems = items;
|
|
4117
|
-
const selectItems = (0,
|
|
4239
|
+
const selectItems = (0, import_react7.useMemo)(() => {
|
|
4118
4240
|
return items.map((item) => ({
|
|
4119
4241
|
value: item.value,
|
|
4120
4242
|
label: item.label,
|
|
@@ -4265,7 +4387,7 @@ var Tabs = ({
|
|
|
4265
4387
|
event == null ? void 0 : event.stopPropagation();
|
|
4266
4388
|
suppressClickRef.current = false;
|
|
4267
4389
|
};
|
|
4268
|
-
const updateActiveUnderline = (0,
|
|
4390
|
+
const updateActiveUnderline = (0, import_react7.useCallback)(() => {
|
|
4269
4391
|
if (isBarVariant) {
|
|
4270
4392
|
setActiveUnderlineStyle({
|
|
4271
4393
|
transform: "translateX(0px)",
|
|
@@ -4288,10 +4410,10 @@ var Tabs = ({
|
|
|
4288
4410
|
opacity: 1
|
|
4289
4411
|
});
|
|
4290
4412
|
}, [isBarVariant, renderedItems, value]);
|
|
4291
|
-
(0,
|
|
4413
|
+
(0, import_react7.useLayoutEffect)(() => {
|
|
4292
4414
|
updateActiveUnderline();
|
|
4293
4415
|
}, [updateActiveUnderline]);
|
|
4294
|
-
(0,
|
|
4416
|
+
(0, import_react7.useEffect)(() => {
|
|
4295
4417
|
if (isBarVariant || !shouldUseOverflowScroll)
|
|
4296
4418
|
return;
|
|
4297
4419
|
const tabListElement = tabListRef.current;
|
|
@@ -4307,12 +4429,12 @@ var Tabs = ({
|
|
|
4307
4429
|
tabListElement.removeEventListener("scroll", handleScroll);
|
|
4308
4430
|
};
|
|
4309
4431
|
}, [isBarVariant, shouldUseOverflowScroll, updateActiveUnderline, updateScrollAffordances]);
|
|
4310
|
-
(0,
|
|
4432
|
+
(0, import_react7.useEffect)(() => {
|
|
4311
4433
|
if (!shouldUseOverflowScroll)
|
|
4312
4434
|
return;
|
|
4313
4435
|
updateScrollAffordances();
|
|
4314
4436
|
}, [renderedItems, shouldUseOverflowScroll, updateScrollAffordances, value]);
|
|
4315
|
-
(0,
|
|
4437
|
+
(0, import_react7.useEffect)(() => {
|
|
4316
4438
|
if (isBarVariant && !shouldUseOverflowScroll)
|
|
4317
4439
|
return;
|
|
4318
4440
|
if (typeof ResizeObserver === "undefined")
|
|
@@ -4329,7 +4451,7 @@ var Tabs = ({
|
|
|
4329
4451
|
resizeObserver.disconnect();
|
|
4330
4452
|
};
|
|
4331
4453
|
}, [isBarVariant, shouldUseOverflowScroll, updateActiveUnderline, updateScrollAffordances]);
|
|
4332
|
-
(0,
|
|
4454
|
+
(0, import_react7.useEffect)(() => {
|
|
4333
4455
|
if (!shouldUseOverflowScroll)
|
|
4334
4456
|
return;
|
|
4335
4457
|
const tabListElement = tabListRef.current;
|
|
@@ -4359,7 +4481,7 @@ var Tabs = ({
|
|
|
4359
4481
|
});
|
|
4360
4482
|
}, [enableAnimations, renderedItems, shouldUseOverflowScroll, value]);
|
|
4361
4483
|
if (shouldUseOverflowSelect) {
|
|
4362
|
-
return /* @__PURE__ */ (0,
|
|
4484
|
+
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
4485
|
Select,
|
|
4364
4486
|
{
|
|
4365
4487
|
ariaLabel,
|
|
@@ -4371,7 +4493,7 @@ var Tabs = ({
|
|
|
4371
4493
|
}
|
|
4372
4494
|
) });
|
|
4373
4495
|
}
|
|
4374
|
-
return /* @__PURE__ */ (0,
|
|
4496
|
+
return /* @__PURE__ */ (0, import_jsx_runtime80.jsxs)(
|
|
4375
4497
|
"div",
|
|
4376
4498
|
{
|
|
4377
4499
|
className: cn(
|
|
@@ -4382,7 +4504,7 @@ var Tabs = ({
|
|
|
4382
4504
|
classNames == null ? void 0 : classNames.root
|
|
4383
4505
|
),
|
|
4384
4506
|
children: [
|
|
4385
|
-
/* @__PURE__ */ (0,
|
|
4507
|
+
/* @__PURE__ */ (0, import_jsx_runtime80.jsxs)(
|
|
4386
4508
|
"div",
|
|
4387
4509
|
{
|
|
4388
4510
|
ref: tabListRef,
|
|
@@ -4398,7 +4520,7 @@ var Tabs = ({
|
|
|
4398
4520
|
children: [
|
|
4399
4521
|
renderedItems.map((item, index) => {
|
|
4400
4522
|
const isActive = item.value === value;
|
|
4401
|
-
return /* @__PURE__ */ (0,
|
|
4523
|
+
return /* @__PURE__ */ (0, import_jsx_runtime80.jsxs)(
|
|
4402
4524
|
"button",
|
|
4403
4525
|
{
|
|
4404
4526
|
ref: (buttonElement) => {
|
|
@@ -4427,7 +4549,7 @@ var Tabs = ({
|
|
|
4427
4549
|
shouldUseOverflowScroll && !isBarVariant && "snap-start"
|
|
4428
4550
|
),
|
|
4429
4551
|
children: [
|
|
4430
|
-
isBarVariant ? /* @__PURE__ */ (0,
|
|
4552
|
+
isBarVariant ? /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(import_jsx_runtime80.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(
|
|
4431
4553
|
"span",
|
|
4432
4554
|
{
|
|
4433
4555
|
"aria-hidden": true,
|
|
@@ -4441,14 +4563,14 @@ var Tabs = ({
|
|
|
4441
4563
|
)
|
|
4442
4564
|
}
|
|
4443
4565
|
) }) : null,
|
|
4444
|
-
item.icon ? /* @__PURE__ */ (0,
|
|
4445
|
-
/* @__PURE__ */ (0,
|
|
4566
|
+
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,
|
|
4567
|
+
/* @__PURE__ */ (0, import_jsx_runtime80.jsx)("span", { className: "relative z-10 truncate whitespace-nowrap [&::first-letter]:uppercase", children: item.label })
|
|
4446
4568
|
]
|
|
4447
4569
|
},
|
|
4448
4570
|
item.value
|
|
4449
4571
|
);
|
|
4450
4572
|
}),
|
|
4451
|
-
!isBarVariant ? /* @__PURE__ */ (0,
|
|
4573
|
+
!isBarVariant ? /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(
|
|
4452
4574
|
"span",
|
|
4453
4575
|
{
|
|
4454
4576
|
"aria-hidden": true,
|
|
@@ -4466,8 +4588,8 @@ var Tabs = ({
|
|
|
4466
4588
|
]
|
|
4467
4589
|
}
|
|
4468
4590
|
),
|
|
4469
|
-
shouldUseOverflowScroll && !isBarVariant ? /* @__PURE__ */ (0,
|
|
4470
|
-
/* @__PURE__ */ (0,
|
|
4591
|
+
shouldUseOverflowScroll && !isBarVariant ? /* @__PURE__ */ (0, import_jsx_runtime80.jsxs)(import_jsx_runtime80.Fragment, { children: [
|
|
4592
|
+
/* @__PURE__ */ (0, import_jsx_runtime80.jsx)(
|
|
4471
4593
|
"span",
|
|
4472
4594
|
{
|
|
4473
4595
|
"aria-hidden": true,
|
|
@@ -4478,7 +4600,7 @@ var Tabs = ({
|
|
|
4478
4600
|
)
|
|
4479
4601
|
}
|
|
4480
4602
|
),
|
|
4481
|
-
/* @__PURE__ */ (0,
|
|
4603
|
+
/* @__PURE__ */ (0, import_jsx_runtime80.jsx)(
|
|
4482
4604
|
"span",
|
|
4483
4605
|
{
|
|
4484
4606
|
"aria-hidden": true,
|
|
@@ -4499,7 +4621,7 @@ Tabs.displayName = "Tabs";
|
|
|
4499
4621
|
// src/primitives/modal/index.tsx
|
|
4500
4622
|
var Dialog = __toESM(require("@radix-ui/react-dialog"));
|
|
4501
4623
|
var import_hooks19 = require("@agg-market/hooks");
|
|
4502
|
-
var
|
|
4624
|
+
var import_jsx_runtime81 = require("react/jsx-runtime");
|
|
4503
4625
|
var Modal = ({
|
|
4504
4626
|
open,
|
|
4505
4627
|
onOpenChange,
|
|
@@ -4507,7 +4629,7 @@ var Modal = ({
|
|
|
4507
4629
|
"aria-label": _ariaLabel,
|
|
4508
4630
|
"aria-labelledby": _ariaLabelledBy
|
|
4509
4631
|
}) => {
|
|
4510
|
-
return /* @__PURE__ */ (0,
|
|
4632
|
+
return /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(Dialog.Root, { open, onOpenChange, children });
|
|
4511
4633
|
};
|
|
4512
4634
|
var ModalContainer = ({
|
|
4513
4635
|
children,
|
|
@@ -4519,8 +4641,8 @@ var ModalContainer = ({
|
|
|
4519
4641
|
const { rootClassName, enableAnimations } = (0, import_hooks19.useSdkUiConfig)();
|
|
4520
4642
|
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
4643
|
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,
|
|
4644
|
+
return /* @__PURE__ */ (0, import_jsx_runtime81.jsxs)(Dialog.Portal, { children: [
|
|
4645
|
+
/* @__PURE__ */ (0, import_jsx_runtime81.jsx)(
|
|
4524
4646
|
Dialog.Overlay,
|
|
4525
4647
|
{
|
|
4526
4648
|
className: cn(
|
|
@@ -4530,7 +4652,7 @@ var ModalContainer = ({
|
|
|
4530
4652
|
)
|
|
4531
4653
|
}
|
|
4532
4654
|
),
|
|
4533
|
-
/* @__PURE__ */ (0,
|
|
4655
|
+
/* @__PURE__ */ (0, import_jsx_runtime81.jsx)(
|
|
4534
4656
|
Dialog.Content,
|
|
4535
4657
|
{
|
|
4536
4658
|
className: cn(
|
|
@@ -4545,7 +4667,7 @@ var ModalContainer = ({
|
|
|
4545
4667
|
onCloseAutoFocus: (event) => {
|
|
4546
4668
|
event.preventDefault();
|
|
4547
4669
|
},
|
|
4548
|
-
children: /* @__PURE__ */ (0,
|
|
4670
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(
|
|
4549
4671
|
"div",
|
|
4550
4672
|
{
|
|
4551
4673
|
className: cn(
|
|
@@ -4581,9 +4703,9 @@ var ModalHeader = ({
|
|
|
4581
4703
|
}) => {
|
|
4582
4704
|
const { enableAnimations } = (0, import_hooks19.useSdkUiConfig)();
|
|
4583
4705
|
const labels = (0, import_hooks19.useLabels)();
|
|
4584
|
-
const defaultCloseIcon = /* @__PURE__ */ (0,
|
|
4706
|
+
const defaultCloseIcon = /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(CloseIcon, { className: "h-6 w-6" });
|
|
4585
4707
|
const resolvedCloseIcon = closeIcon != null ? closeIcon : defaultCloseIcon;
|
|
4586
|
-
return /* @__PURE__ */ (0,
|
|
4708
|
+
return /* @__PURE__ */ (0, import_jsx_runtime81.jsxs)(
|
|
4587
4709
|
"div",
|
|
4588
4710
|
{
|
|
4589
4711
|
className: cn(
|
|
@@ -4596,7 +4718,7 @@ var ModalHeader = ({
|
|
|
4596
4718
|
classNames == null ? void 0 : classNames.root
|
|
4597
4719
|
),
|
|
4598
4720
|
children: [
|
|
4599
|
-
/* @__PURE__ */ (0,
|
|
4721
|
+
/* @__PURE__ */ (0, import_jsx_runtime81.jsxs)(
|
|
4600
4722
|
"div",
|
|
4601
4723
|
{
|
|
4602
4724
|
className: cn(
|
|
@@ -4608,9 +4730,9 @@ var ModalHeader = ({
|
|
|
4608
4730
|
classNames == null ? void 0 : classNames.container
|
|
4609
4731
|
),
|
|
4610
4732
|
children: [
|
|
4611
|
-
leftElement ? /* @__PURE__ */ (0,
|
|
4612
|
-
/* @__PURE__ */ (0,
|
|
4613
|
-
/* @__PURE__ */ (0,
|
|
4733
|
+
leftElement ? /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(import_jsx_runtime81.Fragment, { children: leftElement }) : null,
|
|
4734
|
+
/* @__PURE__ */ (0, import_jsx_runtime81.jsxs)("div", { className: cn("max-w-[calc(100%-1rem)] flex-1", classNames == null ? void 0 : classNames.titleContainer), children: [
|
|
4735
|
+
/* @__PURE__ */ (0, import_jsx_runtime81.jsx)(
|
|
4614
4736
|
Dialog.Title,
|
|
4615
4737
|
{
|
|
4616
4738
|
className: cn(
|
|
@@ -4623,7 +4745,7 @@ var ModalHeader = ({
|
|
|
4623
4745
|
children: title
|
|
4624
4746
|
}
|
|
4625
4747
|
),
|
|
4626
|
-
subtitle ? /* @__PURE__ */ (0,
|
|
4748
|
+
subtitle ? /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(
|
|
4627
4749
|
"span",
|
|
4628
4750
|
{
|
|
4629
4751
|
className: cn(
|
|
@@ -4634,9 +4756,9 @@ var ModalHeader = ({
|
|
|
4634
4756
|
}
|
|
4635
4757
|
) : null
|
|
4636
4758
|
] }),
|
|
4637
|
-
/* @__PURE__ */ (0,
|
|
4638
|
-
rightElement ? /* @__PURE__ */ (0,
|
|
4639
|
-
!hideClose && /* @__PURE__ */ (0,
|
|
4759
|
+
/* @__PURE__ */ (0, import_jsx_runtime81.jsxs)("div", { className: "flex flex-row gap-6 items-center justify-end", children: [
|
|
4760
|
+
rightElement ? /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(import_jsx_runtime81.Fragment, { children: rightElement }) : null,
|
|
4761
|
+
!hideClose && /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(
|
|
4640
4762
|
Dialog.Close,
|
|
4641
4763
|
{
|
|
4642
4764
|
className: cn(
|
|
@@ -4652,14 +4774,14 @@ var ModalHeader = ({
|
|
|
4652
4774
|
]
|
|
4653
4775
|
}
|
|
4654
4776
|
),
|
|
4655
|
-
children ? /* @__PURE__ */ (0,
|
|
4777
|
+
children ? /* @__PURE__ */ (0, import_jsx_runtime81.jsx)("div", { children }) : null
|
|
4656
4778
|
]
|
|
4657
4779
|
}
|
|
4658
4780
|
);
|
|
4659
4781
|
};
|
|
4660
4782
|
Modal.Header = ModalHeader;
|
|
4661
4783
|
var ModalBody = ({ children, classNames }) => {
|
|
4662
|
-
return /* @__PURE__ */ (0,
|
|
4784
|
+
return /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(
|
|
4663
4785
|
"div",
|
|
4664
4786
|
{
|
|
4665
4787
|
className: cn(
|
|
@@ -4680,7 +4802,7 @@ var ModalFooter = ({
|
|
|
4680
4802
|
classNames,
|
|
4681
4803
|
hideBorder = false
|
|
4682
4804
|
}) => {
|
|
4683
|
-
return /* @__PURE__ */ (0,
|
|
4805
|
+
return /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(
|
|
4684
4806
|
"div",
|
|
4685
4807
|
{
|
|
4686
4808
|
className: cn(
|
|
@@ -4731,6 +4853,7 @@ Modal.displayName = "Modal";
|
|
|
4731
4853
|
GoogleIcon,
|
|
4732
4854
|
HelloWorld,
|
|
4733
4855
|
Icon,
|
|
4856
|
+
ImageIcon,
|
|
4734
4857
|
InfoIcon,
|
|
4735
4858
|
InlineAlert,
|
|
4736
4859
|
LineChart,
|
|
@@ -4741,6 +4864,7 @@ Modal.displayName = "Modal";
|
|
|
4741
4864
|
PencilIcon,
|
|
4742
4865
|
PlaySquareIcon,
|
|
4743
4866
|
ProfileIcon,
|
|
4867
|
+
RemoteImage,
|
|
4744
4868
|
RevenueAltIcon,
|
|
4745
4869
|
Search,
|
|
4746
4870
|
SearchIcon,
|