@agg-market/ui 12.0.0 → 14.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-AKR2ZSBQ.mjs → chunk-4AK5XMOS.mjs} +341 -243
- package/dist/{chunk-XUML4ZJQ.mjs → chunk-B56YA2YQ.mjs} +246 -215
- package/dist/{chunk-TA74OXPL.mjs → chunk-CHVTY3OB.mjs} +1310 -1115
- package/dist/{chunk-VOYSFL6U.mjs → chunk-GQ4P3AHJ.mjs} +1 -1
- package/dist/{chunk-VMJGQKKU.mjs → chunk-T4WFRR6D.mjs} +1 -1
- package/dist/events.js +556 -526
- package/dist/events.mjs +2 -2
- package/dist/index.js +2310 -1984
- package/dist/index.mjs +7 -5
- package/dist/modals.js +2551 -2319
- package/dist/modals.mjs +2 -2
- package/dist/pages.js +1173 -1042
- package/dist/pages.mjs +4 -4
- package/dist/primitives.js +247 -215
- package/dist/primitives.mjs +3 -1
- package/dist/styles.css +1 -1
- package/dist/tailwind.css +1 -1
- package/dist/trading.js +427 -397
- package/dist/trading.mjs +2 -2
- package/dist/types/deposit/deposit-modal.constants.d.mts +0 -4
- package/dist/types/deposit/deposit-modal.constants.d.ts +0 -4
- package/dist/types/deposit/deposit-modal.types.d.mts +110 -14
- package/dist/types/deposit/deposit-modal.types.d.ts +110 -14
- package/dist/types/deposit/index.d.mts +1 -1
- package/dist/types/deposit/index.d.ts +1 -1
- package/dist/types/deposit/steps/card-deposit.d.mts +13 -3
- package/dist/types/deposit/steps/card-deposit.d.ts +13 -3
- package/dist/types/deposit/steps/card-provider.d.mts +10 -0
- package/dist/types/deposit/steps/card-provider.d.ts +10 -0
- package/dist/types/deposit/steps/card-purchase-success.d.mts +7 -0
- package/dist/types/deposit/steps/card-purchase-success.d.ts +7 -0
- package/dist/types/deposit/steps/crypto-transfer.d.mts +13 -3
- package/dist/types/deposit/steps/crypto-transfer.d.ts +13 -3
- package/dist/types/deposit/steps/deposit-method.d.mts +6 -4
- package/dist/types/deposit/steps/deposit-method.d.ts +6 -4
- package/dist/types/deposit/steps/wallet-form.d.mts +20 -0
- package/dist/types/deposit/steps/wallet-form.d.ts +20 -0
- package/dist/types/deposit/steps/wallet-processing.d.mts +6 -0
- package/dist/types/deposit/steps/wallet-processing.d.ts +6 -0
- package/dist/types/deposit/steps/wallet-success.d.mts +7 -0
- package/dist/types/deposit/steps/wallet-success.d.ts +7 -0
- package/dist/types/pages/user-profile/index.d.mts +2 -2
- package/dist/types/pages/user-profile/index.d.ts +2 -2
- package/dist/types/pages/user-profile/user-profile.types.d.mts +16 -5
- package/dist/types/pages/user-profile/user-profile.types.d.ts +16 -5
- 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/success-check.d.mts +5 -0
- package/dist/types/primitives/icon/svg/success-check.d.ts +5 -0
- package/dist/types/withdraw/index.d.mts +2 -2
- package/dist/types/withdraw/index.d.ts +2 -2
- package/dist/types/withdraw/steps/withdraw-amount.d.mts +14 -5
- package/dist/types/withdraw/steps/withdraw-amount.d.ts +14 -5
- package/dist/types/withdraw/steps/withdraw-method.d.mts +3 -4
- package/dist/types/withdraw/steps/withdraw-method.d.ts +3 -4
- package/dist/types/withdraw/steps/withdraw-provider.d.mts +10 -0
- package/dist/types/withdraw/steps/withdraw-provider.d.ts +10 -0
- package/dist/types/withdraw/steps/withdraw-success.d.mts +7 -0
- package/dist/types/withdraw/steps/withdraw-success.d.ts +7 -0
- package/dist/types/withdraw/withdraw-modal.constants.d.mts +0 -4
- package/dist/types/withdraw/withdraw-modal.constants.d.ts +0 -4
- package/dist/types/withdraw/withdraw-modal.types.d.mts +47 -23
- package/dist/types/withdraw/withdraw-modal.types.d.ts +47 -23
- package/package.json +2 -2
- package/dist/types/deposit/steps/kalshi-deposit.d.mts +0 -5
- package/dist/types/deposit/steps/kalshi-deposit.d.ts +0 -5
- package/dist/types/withdraw/steps/kalshi-withdraw.d.mts +0 -5
- package/dist/types/withdraw/steps/kalshi-withdraw.d.ts +0 -5
- package/dist/types/withdraw/steps/venue-selection.d.mts +0 -6
- package/dist/types/withdraw/steps/venue-selection.d.ts +0 -6
package/dist/primitives.js
CHANGED
|
@@ -114,6 +114,7 @@ __export(primitives_exports, {
|
|
|
114
114
|
SolanaIcon: () => SolanaIcon,
|
|
115
115
|
StateMessage: () => StateMessage,
|
|
116
116
|
StayInControlIcon: () => StayInControlIcon,
|
|
117
|
+
SuccessCheckIcon: () => SuccessCheckIcon,
|
|
117
118
|
SwitchButton: () => SwitchButton,
|
|
118
119
|
Tabs: () => Tabs,
|
|
119
120
|
Tooltip: () => Tooltip,
|
|
@@ -3005,11 +3006,40 @@ var StayInControlIcon = (_a) => {
|
|
|
3005
3006
|
};
|
|
3006
3007
|
StayInControlIcon.displayName = "StayInControlIcon";
|
|
3007
3008
|
|
|
3008
|
-
// src/primitives/icon/svg/
|
|
3009
|
+
// src/primitives/icon/svg/success-check.tsx
|
|
3009
3010
|
var import_jsx_runtime61 = require("react/jsx-runtime");
|
|
3010
|
-
var
|
|
3011
|
+
var SuccessCheckIcon = (_a) => {
|
|
3011
3012
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
3012
3013
|
return /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)(
|
|
3014
|
+
"svg",
|
|
3015
|
+
__spreadProps(__spreadValues(__spreadValues({
|
|
3016
|
+
width: "24",
|
|
3017
|
+
height: "24",
|
|
3018
|
+
viewBox: "0 0 24 24",
|
|
3019
|
+
fill: "none",
|
|
3020
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
3021
|
+
className
|
|
3022
|
+
}, getIconA11yProps(title)), props), {
|
|
3023
|
+
children: [
|
|
3024
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime61.jsx)("title", { children: title }) : null,
|
|
3025
|
+
/* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
|
|
3026
|
+
"path",
|
|
3027
|
+
{
|
|
3028
|
+
d: "M7.74919 20.6626C7.06793 20.6629 6.41457 20.3921 5.93325 19.91L0.443061 14.4219C-0.147687 13.8309 -0.147687 12.873 0.443061 12.2821C1.034 11.6913 1.99191 11.6913 2.58284 12.2821L7.74919 17.4484L21.4172 3.78046C22.0081 3.18972 22.966 3.18972 23.5569 3.78046C24.1477 4.3714 24.1477 5.32931 23.5569 5.92024L9.56513 19.91C9.08381 20.3921 8.43045 20.6629 7.74919 20.6626Z",
|
|
3029
|
+
fill: "currentColor"
|
|
3030
|
+
}
|
|
3031
|
+
)
|
|
3032
|
+
]
|
|
3033
|
+
})
|
|
3034
|
+
);
|
|
3035
|
+
};
|
|
3036
|
+
SuccessCheckIcon.displayName = "SuccessCheckIcon";
|
|
3037
|
+
|
|
3038
|
+
// src/primitives/icon/svg/telegram.tsx
|
|
3039
|
+
var import_jsx_runtime62 = require("react/jsx-runtime");
|
|
3040
|
+
var TelegramIcon = (_a) => {
|
|
3041
|
+
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
3042
|
+
return /* @__PURE__ */ (0, import_jsx_runtime62.jsxs)(
|
|
3013
3043
|
"svg",
|
|
3014
3044
|
__spreadProps(__spreadValues(__spreadValues({
|
|
3015
3045
|
viewBox: "0 0 20 20",
|
|
@@ -3017,8 +3047,8 @@ var TelegramIcon = (_a) => {
|
|
|
3017
3047
|
fill: "none"
|
|
3018
3048
|
}, getIconA11yProps(title)), props), {
|
|
3019
3049
|
children: [
|
|
3020
|
-
title ? /* @__PURE__ */ (0,
|
|
3021
|
-
/* @__PURE__ */ (0,
|
|
3050
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime62.jsx)("title", { children: title }) : null,
|
|
3051
|
+
/* @__PURE__ */ (0, import_jsx_runtime62.jsx)("g", { clipPath: "url(#clip0_telegram)", children: /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
|
|
3022
3052
|
"path",
|
|
3023
3053
|
{
|
|
3024
3054
|
fillRule: "evenodd",
|
|
@@ -3027,7 +3057,7 @@ var TelegramIcon = (_a) => {
|
|
|
3027
3057
|
fill: "currentColor"
|
|
3028
3058
|
}
|
|
3029
3059
|
) }),
|
|
3030
|
-
/* @__PURE__ */ (0,
|
|
3060
|
+
/* @__PURE__ */ (0, import_jsx_runtime62.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime62.jsx)("clipPath", { id: "clip0_telegram", children: /* @__PURE__ */ (0, import_jsx_runtime62.jsx)("rect", { width: "20", height: "20", fill: "white" }) }) })
|
|
3031
3061
|
]
|
|
3032
3062
|
})
|
|
3033
3063
|
);
|
|
@@ -3035,10 +3065,10 @@ var TelegramIcon = (_a) => {
|
|
|
3035
3065
|
TelegramIcon.displayName = "TelegramIcon";
|
|
3036
3066
|
|
|
3037
3067
|
// src/primitives/icon/svg/triangle-down.tsx
|
|
3038
|
-
var
|
|
3068
|
+
var import_jsx_runtime63 = require("react/jsx-runtime");
|
|
3039
3069
|
var TriangleDownIcon = (_a) => {
|
|
3040
3070
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
3041
|
-
return /* @__PURE__ */ (0,
|
|
3071
|
+
return /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)(
|
|
3042
3072
|
"svg",
|
|
3043
3073
|
__spreadProps(__spreadValues(__spreadValues({
|
|
3044
3074
|
viewBox: "0 0 8 8",
|
|
@@ -3046,16 +3076,16 @@ var TriangleDownIcon = (_a) => {
|
|
|
3046
3076
|
fill: "none"
|
|
3047
3077
|
}, getIconA11yProps(title)), props), {
|
|
3048
3078
|
children: [
|
|
3049
|
-
title ? /* @__PURE__ */ (0,
|
|
3050
|
-
/* @__PURE__ */ (0,
|
|
3051
|
-
/* @__PURE__ */ (0,
|
|
3079
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("title", { children: title }) : null,
|
|
3080
|
+
/* @__PURE__ */ (0, import_jsx_runtime63.jsxs)("g", { transform: "scale(1,-1) translate(0,-8)", clipPath: "url(#triangle_up)", children: [
|
|
3081
|
+
/* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
|
|
3052
3082
|
"path",
|
|
3053
3083
|
{
|
|
3054
3084
|
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",
|
|
3055
3085
|
fill: "currentColor"
|
|
3056
3086
|
}
|
|
3057
3087
|
),
|
|
3058
|
-
/* @__PURE__ */ (0,
|
|
3088
|
+
/* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
|
|
3059
3089
|
"path",
|
|
3060
3090
|
{
|
|
3061
3091
|
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",
|
|
@@ -3063,7 +3093,7 @@ var TriangleDownIcon = (_a) => {
|
|
|
3063
3093
|
}
|
|
3064
3094
|
)
|
|
3065
3095
|
] }),
|
|
3066
|
-
/* @__PURE__ */ (0,
|
|
3096
|
+
/* @__PURE__ */ (0, import_jsx_runtime63.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("clipPath", { id: "triangle_up", children: /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("rect", { width: "8", height: "8", fill: "white" }) }) })
|
|
3067
3097
|
]
|
|
3068
3098
|
})
|
|
3069
3099
|
);
|
|
@@ -3071,10 +3101,10 @@ var TriangleDownIcon = (_a) => {
|
|
|
3071
3101
|
TriangleDownIcon.displayName = "TriangleDownIcon";
|
|
3072
3102
|
|
|
3073
3103
|
// src/primitives/icon/svg/triangle-up-filled.tsx
|
|
3074
|
-
var
|
|
3104
|
+
var import_jsx_runtime64 = require("react/jsx-runtime");
|
|
3075
3105
|
var TriangleUpFilledIcon = (_a) => {
|
|
3076
3106
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
3077
|
-
return /* @__PURE__ */ (0,
|
|
3107
|
+
return /* @__PURE__ */ (0, import_jsx_runtime64.jsxs)(
|
|
3078
3108
|
"svg",
|
|
3079
3109
|
__spreadProps(__spreadValues(__spreadValues({
|
|
3080
3110
|
viewBox: "0 0 8 8",
|
|
@@ -3082,8 +3112,8 @@ var TriangleUpFilledIcon = (_a) => {
|
|
|
3082
3112
|
fill: "none"
|
|
3083
3113
|
}, getIconA11yProps(title)), props), {
|
|
3084
3114
|
children: [
|
|
3085
|
-
title ? /* @__PURE__ */ (0,
|
|
3086
|
-
/* @__PURE__ */ (0,
|
|
3115
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime64.jsx)("title", { children: title }) : null,
|
|
3116
|
+
/* @__PURE__ */ (0, import_jsx_runtime64.jsx)(
|
|
3087
3117
|
"path",
|
|
3088
3118
|
{
|
|
3089
3119
|
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",
|
|
@@ -3097,10 +3127,10 @@ var TriangleUpFilledIcon = (_a) => {
|
|
|
3097
3127
|
TriangleUpFilledIcon.displayName = "TriangleUpFilledIcon";
|
|
3098
3128
|
|
|
3099
3129
|
// src/primitives/icon/svg/triangle-up.tsx
|
|
3100
|
-
var
|
|
3130
|
+
var import_jsx_runtime65 = require("react/jsx-runtime");
|
|
3101
3131
|
var TriangleUpIcon = (_a) => {
|
|
3102
3132
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
3103
|
-
return /* @__PURE__ */ (0,
|
|
3133
|
+
return /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)(
|
|
3104
3134
|
"svg",
|
|
3105
3135
|
__spreadProps(__spreadValues(__spreadValues({
|
|
3106
3136
|
viewBox: "0 0 8 8",
|
|
@@ -3108,16 +3138,16 @@ var TriangleUpIcon = (_a) => {
|
|
|
3108
3138
|
fill: "none"
|
|
3109
3139
|
}, getIconA11yProps(title)), props), {
|
|
3110
3140
|
children: [
|
|
3111
|
-
title ? /* @__PURE__ */ (0,
|
|
3112
|
-
/* @__PURE__ */ (0,
|
|
3113
|
-
/* @__PURE__ */ (0,
|
|
3141
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("title", { children: title }) : null,
|
|
3142
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsxs)("g", { clipPath: "url(#triangle_up)", children: [
|
|
3143
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
|
|
3114
3144
|
"path",
|
|
3115
3145
|
{
|
|
3116
3146
|
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",
|
|
3117
3147
|
fill: "currentColor"
|
|
3118
3148
|
}
|
|
3119
3149
|
),
|
|
3120
|
-
/* @__PURE__ */ (0,
|
|
3150
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
|
|
3121
3151
|
"path",
|
|
3122
3152
|
{
|
|
3123
3153
|
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",
|
|
@@ -3125,7 +3155,7 @@ var TriangleUpIcon = (_a) => {
|
|
|
3125
3155
|
}
|
|
3126
3156
|
)
|
|
3127
3157
|
] }),
|
|
3128
|
-
/* @__PURE__ */ (0,
|
|
3158
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("clipPath", { id: "triangle_up", children: /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("rect", { width: "8", height: "8", fill: "white" }) }) })
|
|
3129
3159
|
]
|
|
3130
3160
|
})
|
|
3131
3161
|
);
|
|
@@ -3133,10 +3163,10 @@ var TriangleUpIcon = (_a) => {
|
|
|
3133
3163
|
TriangleUpIcon.displayName = "TriangleUpIcon";
|
|
3134
3164
|
|
|
3135
3165
|
// src/primitives/icon/svg/twitter.tsx
|
|
3136
|
-
var
|
|
3166
|
+
var import_jsx_runtime66 = require("react/jsx-runtime");
|
|
3137
3167
|
var TwitterIcon = (_a) => {
|
|
3138
3168
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
3139
|
-
return /* @__PURE__ */ (0,
|
|
3169
|
+
return /* @__PURE__ */ (0, import_jsx_runtime66.jsxs)(
|
|
3140
3170
|
"svg",
|
|
3141
3171
|
__spreadProps(__spreadValues(__spreadValues({
|
|
3142
3172
|
viewBox: "0 0 20 20",
|
|
@@ -3144,8 +3174,8 @@ var TwitterIcon = (_a) => {
|
|
|
3144
3174
|
fill: "none"
|
|
3145
3175
|
}, getIconA11yProps(title)), props), {
|
|
3146
3176
|
children: [
|
|
3147
|
-
title ? /* @__PURE__ */ (0,
|
|
3148
|
-
/* @__PURE__ */ (0,
|
|
3177
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime66.jsx)("title", { children: title }) : null,
|
|
3178
|
+
/* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
|
|
3149
3179
|
"path",
|
|
3150
3180
|
{
|
|
3151
3181
|
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",
|
|
@@ -3159,10 +3189,10 @@ var TwitterIcon = (_a) => {
|
|
|
3159
3189
|
TwitterIcon.displayName = "TwitterIcon";
|
|
3160
3190
|
|
|
3161
3191
|
// src/primitives/icon/svg/upload.tsx
|
|
3162
|
-
var
|
|
3192
|
+
var import_jsx_runtime67 = require("react/jsx-runtime");
|
|
3163
3193
|
var UploadIcon = (_a) => {
|
|
3164
3194
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
3165
|
-
return /* @__PURE__ */ (0,
|
|
3195
|
+
return /* @__PURE__ */ (0, import_jsx_runtime67.jsxs)(
|
|
3166
3196
|
"svg",
|
|
3167
3197
|
__spreadProps(__spreadValues(__spreadValues({
|
|
3168
3198
|
viewBox: "0 0 16 16",
|
|
@@ -3170,8 +3200,8 @@ var UploadIcon = (_a) => {
|
|
|
3170
3200
|
fill: "none"
|
|
3171
3201
|
}, getIconA11yProps(title)), props), {
|
|
3172
3202
|
children: [
|
|
3173
|
-
title ? /* @__PURE__ */ (0,
|
|
3174
|
-
/* @__PURE__ */ (0,
|
|
3203
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime67.jsx)("title", { children: title }) : null,
|
|
3204
|
+
/* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
|
|
3175
3205
|
"path",
|
|
3176
3206
|
{
|
|
3177
3207
|
d: "M8 13.5v-7m0 0 2.5 2.5M8 6.5 5.5 9",
|
|
@@ -3181,7 +3211,7 @@ var UploadIcon = (_a) => {
|
|
|
3181
3211
|
strokeLinejoin: "round"
|
|
3182
3212
|
}
|
|
3183
3213
|
),
|
|
3184
|
-
/* @__PURE__ */ (0,
|
|
3214
|
+
/* @__PURE__ */ (0, import_jsx_runtime67.jsx)("path", { d: "M2.5 3.5h11", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round" })
|
|
3185
3215
|
]
|
|
3186
3216
|
})
|
|
3187
3217
|
);
|
|
@@ -3189,10 +3219,10 @@ var UploadIcon = (_a) => {
|
|
|
3189
3219
|
UploadIcon.displayName = "UploadIcon";
|
|
3190
3220
|
|
|
3191
3221
|
// src/primitives/icon/svg/wallet-avatar.tsx
|
|
3192
|
-
var
|
|
3222
|
+
var import_jsx_runtime68 = require("react/jsx-runtime");
|
|
3193
3223
|
function WalletAvatarIcon(_a) {
|
|
3194
3224
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
3195
|
-
return /* @__PURE__ */ (0,
|
|
3225
|
+
return /* @__PURE__ */ (0, import_jsx_runtime68.jsxs)(
|
|
3196
3226
|
"svg",
|
|
3197
3227
|
__spreadProps(__spreadValues(__spreadValues({
|
|
3198
3228
|
fill: "none",
|
|
@@ -3200,9 +3230,9 @@ function WalletAvatarIcon(_a) {
|
|
|
3200
3230
|
viewBox: "0 0 16 16"
|
|
3201
3231
|
}, getIconA11yProps(title)), props), {
|
|
3202
3232
|
children: [
|
|
3203
|
-
title ? /* @__PURE__ */ (0,
|
|
3204
|
-
/* @__PURE__ */ (0,
|
|
3205
|
-
/* @__PURE__ */ (0,
|
|
3233
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime68.jsx)("title", { children: title }) : null,
|
|
3234
|
+
/* @__PURE__ */ (0, import_jsx_runtime68.jsx)("circle", { cx: "8", cy: "5.25", r: "2.25", fill: "currentColor" }),
|
|
3235
|
+
/* @__PURE__ */ (0, import_jsx_runtime68.jsx)("path", { d: "M3.75 12.75a4.25 4.25 0 0 1 8.5 0v.25h-8.5v-.25Z", fill: "currentColor" })
|
|
3206
3236
|
]
|
|
3207
3237
|
})
|
|
3208
3238
|
);
|
|
@@ -3210,10 +3240,10 @@ function WalletAvatarIcon(_a) {
|
|
|
3210
3240
|
WalletAvatarIcon.displayName = "WalletAvatarIcon";
|
|
3211
3241
|
|
|
3212
3242
|
// src/primitives/icon/svg/wallet.tsx
|
|
3213
|
-
var
|
|
3243
|
+
var import_jsx_runtime69 = require("react/jsx-runtime");
|
|
3214
3244
|
var WalletIcon = (_a) => {
|
|
3215
3245
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
3216
|
-
return /* @__PURE__ */ (0,
|
|
3246
|
+
return /* @__PURE__ */ (0, import_jsx_runtime69.jsxs)(
|
|
3217
3247
|
"svg",
|
|
3218
3248
|
__spreadProps(__spreadValues(__spreadValues({
|
|
3219
3249
|
viewBox: "0 0 24 24",
|
|
@@ -3221,8 +3251,8 @@ var WalletIcon = (_a) => {
|
|
|
3221
3251
|
fill: "none"
|
|
3222
3252
|
}, getIconA11yProps(title)), props), {
|
|
3223
3253
|
children: [
|
|
3224
|
-
title ? /* @__PURE__ */ (0,
|
|
3225
|
-
/* @__PURE__ */ (0,
|
|
3254
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime69.jsx)("title", { children: title }) : null,
|
|
3255
|
+
/* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
|
|
3226
3256
|
"path",
|
|
3227
3257
|
{
|
|
3228
3258
|
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",
|
|
@@ -3236,10 +3266,10 @@ var WalletIcon = (_a) => {
|
|
|
3236
3266
|
WalletIcon.displayName = "WalletIcon";
|
|
3237
3267
|
|
|
3238
3268
|
// src/primitives/icon/svg/warning-filled.tsx
|
|
3239
|
-
var
|
|
3269
|
+
var import_jsx_runtime70 = require("react/jsx-runtime");
|
|
3240
3270
|
var WarningFilledIcon = (_a) => {
|
|
3241
3271
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
3242
|
-
return /* @__PURE__ */ (0,
|
|
3272
|
+
return /* @__PURE__ */ (0, import_jsx_runtime70.jsxs)(
|
|
3243
3273
|
"svg",
|
|
3244
3274
|
__spreadProps(__spreadValues(__spreadValues({
|
|
3245
3275
|
viewBox: "0 0 16 16",
|
|
@@ -3247,8 +3277,8 @@ var WarningFilledIcon = (_a) => {
|
|
|
3247
3277
|
fill: "none"
|
|
3248
3278
|
}, getIconA11yProps(title)), props), {
|
|
3249
3279
|
children: [
|
|
3250
|
-
title ? /* @__PURE__ */ (0,
|
|
3251
|
-
/* @__PURE__ */ (0,
|
|
3280
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime70.jsx)("title", { children: title }) : null,
|
|
3281
|
+
/* @__PURE__ */ (0, import_jsx_runtime70.jsx)(
|
|
3252
3282
|
"path",
|
|
3253
3283
|
{
|
|
3254
3284
|
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",
|
|
@@ -3262,10 +3292,10 @@ var WarningFilledIcon = (_a) => {
|
|
|
3262
3292
|
WarningFilledIcon.displayName = "WarningFilledIcon";
|
|
3263
3293
|
|
|
3264
3294
|
// src/primitives/icon/svg/warning.tsx
|
|
3265
|
-
var
|
|
3295
|
+
var import_jsx_runtime71 = require("react/jsx-runtime");
|
|
3266
3296
|
var WarningIcon = (_a) => {
|
|
3267
3297
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
3268
|
-
return /* @__PURE__ */ (0,
|
|
3298
|
+
return /* @__PURE__ */ (0, import_jsx_runtime71.jsxs)(
|
|
3269
3299
|
"svg",
|
|
3270
3300
|
__spreadProps(__spreadValues(__spreadValues({
|
|
3271
3301
|
width: "14",
|
|
@@ -3276,15 +3306,15 @@ var WarningIcon = (_a) => {
|
|
|
3276
3306
|
className
|
|
3277
3307
|
}, getIconA11yProps(title)), props), {
|
|
3278
3308
|
children: [
|
|
3279
|
-
title ? /* @__PURE__ */ (0,
|
|
3280
|
-
/* @__PURE__ */ (0,
|
|
3309
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime71.jsx)("title", { children: title }) : null,
|
|
3310
|
+
/* @__PURE__ */ (0, import_jsx_runtime71.jsx)("g", { clipPath: "url(#clip0_warning)", children: /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(
|
|
3281
3311
|
"path",
|
|
3282
3312
|
{
|
|
3283
3313
|
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",
|
|
3284
3314
|
fill: "currentColor"
|
|
3285
3315
|
}
|
|
3286
3316
|
) }),
|
|
3287
|
-
/* @__PURE__ */ (0,
|
|
3317
|
+
/* @__PURE__ */ (0, import_jsx_runtime71.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime71.jsx)("clipPath", { id: "clip0_warning", children: /* @__PURE__ */ (0, import_jsx_runtime71.jsx)("rect", { width: "14", height: "14", fill: "white" }) }) })
|
|
3288
3318
|
]
|
|
3289
3319
|
})
|
|
3290
3320
|
);
|
|
@@ -3334,6 +3364,7 @@ var iconRegistry = {
|
|
|
3334
3364
|
"shield-trust": ShieldTrustIcon,
|
|
3335
3365
|
solana: SolanaIcon,
|
|
3336
3366
|
"stay-in-control": StayInControlIcon,
|
|
3367
|
+
"success-check": SuccessCheckIcon,
|
|
3337
3368
|
telegram: TelegramIcon,
|
|
3338
3369
|
"triangle-down": TriangleDownIcon,
|
|
3339
3370
|
"triangle-up": TriangleUpIcon,
|
|
@@ -3356,7 +3387,7 @@ var resolveIconStyle = (color, style) => {
|
|
|
3356
3387
|
};
|
|
3357
3388
|
|
|
3358
3389
|
// src/primitives/icon/index.tsx
|
|
3359
|
-
var
|
|
3390
|
+
var import_jsx_runtime72 = require("react/jsx-runtime");
|
|
3360
3391
|
var Icon = (_a) => {
|
|
3361
3392
|
var _b = _a, {
|
|
3362
3393
|
name,
|
|
@@ -3374,7 +3405,7 @@ var Icon = (_a) => {
|
|
|
3374
3405
|
const Component = iconRegistry[name];
|
|
3375
3406
|
const resolvedStyle = resolveIconStyle(color, style);
|
|
3376
3407
|
const resolvedClassName = cn(iconSizeClasses[size], className);
|
|
3377
|
-
return /* @__PURE__ */ (0,
|
|
3408
|
+
return /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(
|
|
3378
3409
|
Component,
|
|
3379
3410
|
__spreadValues({
|
|
3380
3411
|
color,
|
|
@@ -3386,7 +3417,7 @@ var Icon = (_a) => {
|
|
|
3386
3417
|
Icon.displayName = "Icon";
|
|
3387
3418
|
|
|
3388
3419
|
// src/primitives/inline-alert/index.tsx
|
|
3389
|
-
var
|
|
3420
|
+
var import_jsx_runtime73 = require("react/jsx-runtime");
|
|
3390
3421
|
var toneIconName = {
|
|
3391
3422
|
error: "error-filled",
|
|
3392
3423
|
warning: "warning-filled"
|
|
@@ -3432,7 +3463,7 @@ var InlineAlert = ({
|
|
|
3432
3463
|
});
|
|
3433
3464
|
const hasAction = !!actionLabel && !!onAction;
|
|
3434
3465
|
const { ariaLive, role } = liveRegionConfig[tone];
|
|
3435
|
-
return /* @__PURE__ */ (0,
|
|
3466
|
+
return /* @__PURE__ */ (0, import_jsx_runtime73.jsxs)(
|
|
3436
3467
|
"div",
|
|
3437
3468
|
{
|
|
3438
3469
|
className: cn(
|
|
@@ -3445,7 +3476,7 @@ var InlineAlert = ({
|
|
|
3445
3476
|
"aria-live": ariaLive,
|
|
3446
3477
|
"aria-label": ariaLabel,
|
|
3447
3478
|
children: [
|
|
3448
|
-
/* @__PURE__ */ (0,
|
|
3479
|
+
/* @__PURE__ */ (0, import_jsx_runtime73.jsx)(
|
|
3449
3480
|
Icon,
|
|
3450
3481
|
{
|
|
3451
3482
|
name: toneIconName[tone],
|
|
@@ -3453,14 +3484,14 @@ var InlineAlert = ({
|
|
|
3453
3484
|
"aria-hidden": "true"
|
|
3454
3485
|
}
|
|
3455
3486
|
),
|
|
3456
|
-
/* @__PURE__ */ (0,
|
|
3487
|
+
/* @__PURE__ */ (0, import_jsx_runtime73.jsx)(
|
|
3457
3488
|
"div",
|
|
3458
3489
|
{
|
|
3459
3490
|
className: cn(
|
|
3460
3491
|
"min-w-0",
|
|
3461
3492
|
resolvedVariant === "plain" && !hasAction ? "flex-none text-center" : "flex-1"
|
|
3462
3493
|
),
|
|
3463
|
-
children: /* @__PURE__ */ (0,
|
|
3494
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime73.jsxs)(
|
|
3464
3495
|
"div",
|
|
3465
3496
|
{
|
|
3466
3497
|
className: cn(
|
|
@@ -3469,14 +3500,14 @@ var InlineAlert = ({
|
|
|
3469
3500
|
resolvedVariant === "plain" && !hasAction ? "items-center" : null
|
|
3470
3501
|
),
|
|
3471
3502
|
children: [
|
|
3472
|
-
title ? /* @__PURE__ */ (0,
|
|
3473
|
-
/* @__PURE__ */ (0,
|
|
3503
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime73.jsx)("p", { className: "text-agg-sm font-agg-bold leading-agg-5 text-agg-foreground", children: title }) : null,
|
|
3504
|
+
/* @__PURE__ */ (0, import_jsx_runtime73.jsx)("p", { className: "text-agg-sm leading-agg-5 text-agg-foreground", children: message })
|
|
3474
3505
|
]
|
|
3475
3506
|
}
|
|
3476
3507
|
)
|
|
3477
3508
|
}
|
|
3478
3509
|
),
|
|
3479
|
-
hasAction ? /* @__PURE__ */ (0,
|
|
3510
|
+
hasAction ? /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(
|
|
3480
3511
|
"button",
|
|
3481
3512
|
{
|
|
3482
3513
|
type: "button",
|
|
@@ -3498,7 +3529,7 @@ InlineAlert.displayName = "InlineAlert";
|
|
|
3498
3529
|
// src/primitives/number-value.tsx
|
|
3499
3530
|
var import_react3 = require("react");
|
|
3500
3531
|
var import_hooks14 = require("@agg-market/hooks");
|
|
3501
|
-
var
|
|
3532
|
+
var import_jsx_runtime74 = require("react/jsx-runtime");
|
|
3502
3533
|
var NumberValue = ({
|
|
3503
3534
|
value,
|
|
3504
3535
|
format = "number",
|
|
@@ -3532,7 +3563,7 @@ var NumberValue = ({
|
|
|
3532
3563
|
formatPercent,
|
|
3533
3564
|
value
|
|
3534
3565
|
]);
|
|
3535
|
-
return /* @__PURE__ */ (0,
|
|
3566
|
+
return /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("span", { className: cn("font-agg-sans", className), "aria-label": ariaLabel, children: formatted });
|
|
3536
3567
|
};
|
|
3537
3568
|
NumberValue.displayName = "NumberValue";
|
|
3538
3569
|
|
|
@@ -3549,7 +3580,7 @@ var skeletonClasses = "h-full w-full rounded-agg-lg";
|
|
|
3549
3580
|
var placeholderClasses = "flex h-full w-full items-center justify-center bg-agg-secondary-hover rounded-agg-lg";
|
|
3550
3581
|
|
|
3551
3582
|
// src/primitives/remote-image/index.tsx
|
|
3552
|
-
var
|
|
3583
|
+
var import_jsx_runtime75 = require("react/jsx-runtime");
|
|
3553
3584
|
var isValidSrc = (src) => typeof src === "string" && src.length > 0;
|
|
3554
3585
|
var RemoteImage = ({
|
|
3555
3586
|
src,
|
|
@@ -3580,7 +3611,7 @@ var RemoteImage = ({
|
|
|
3580
3611
|
setStatus("error");
|
|
3581
3612
|
};
|
|
3582
3613
|
const sizeStyle = width !== void 0 || height !== void 0 ? { width: width != null ? width : void 0, height: height != null ? height : void 0 } : void 0;
|
|
3583
|
-
return /* @__PURE__ */ (0,
|
|
3614
|
+
return /* @__PURE__ */ (0, import_jsx_runtime75.jsxs)(
|
|
3584
3615
|
"div",
|
|
3585
3616
|
{
|
|
3586
3617
|
className: cn(containerClasses, classNames == null ? void 0 : classNames.root, className),
|
|
@@ -3597,17 +3628,17 @@ var RemoteImage = ({
|
|
|
3597
3628
|
"aria-label": ariaLabel,
|
|
3598
3629
|
title,
|
|
3599
3630
|
children: [
|
|
3600
|
-
status === "loading" && /* @__PURE__ */ (0,
|
|
3601
|
-
status === "error" && /* @__PURE__ */ (0,
|
|
3631
|
+
status === "loading" && /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(SkeletonBlock, { className: cn(skeletonClasses, classNames == null ? void 0 : classNames.placeholder) }),
|
|
3632
|
+
status === "error" && /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(
|
|
3602
3633
|
"div",
|
|
3603
3634
|
{
|
|
3604
3635
|
className: cn(placeholderClasses, classNames == null ? void 0 : classNames.placeholder),
|
|
3605
3636
|
"aria-hidden": true,
|
|
3606
3637
|
"aria-errormessage": "Image failed to load",
|
|
3607
|
-
children: /* @__PURE__ */ (0,
|
|
3638
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(Icon, { name: "image", size: "medium", className: "text-agg-muted-foreground" })
|
|
3608
3639
|
}
|
|
3609
3640
|
),
|
|
3610
|
-
isValidSrc(src) && status !== "error" && /* @__PURE__ */ (0,
|
|
3641
|
+
isValidSrc(src) && status !== "error" && /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(
|
|
3611
3642
|
"img",
|
|
3612
3643
|
{
|
|
3613
3644
|
src,
|
|
@@ -3638,7 +3669,7 @@ var resolveLogoPrimaryColor = ({
|
|
|
3638
3669
|
};
|
|
3639
3670
|
|
|
3640
3671
|
// src/primitives/venue-logo/svg/logo-kalshi.tsx
|
|
3641
|
-
var
|
|
3672
|
+
var import_jsx_runtime76 = require("react/jsx-runtime");
|
|
3642
3673
|
var KALSHI_GREEN = "#18C590";
|
|
3643
3674
|
var LogoKalshiIcon = (_a) => {
|
|
3644
3675
|
var _b = _a, {
|
|
@@ -3657,7 +3688,7 @@ var LogoKalshiIcon = (_a) => {
|
|
|
3657
3688
|
isColor,
|
|
3658
3689
|
color
|
|
3659
3690
|
});
|
|
3660
|
-
return /* @__PURE__ */ (0,
|
|
3691
|
+
return /* @__PURE__ */ (0, import_jsx_runtime76.jsxs)(
|
|
3661
3692
|
"svg",
|
|
3662
3693
|
__spreadProps(__spreadValues(__spreadValues({
|
|
3663
3694
|
viewBox: "0 0 100 100",
|
|
@@ -3665,8 +3696,8 @@ var LogoKalshiIcon = (_a) => {
|
|
|
3665
3696
|
fill: "none"
|
|
3666
3697
|
}, getIconA11yProps(title)), props), {
|
|
3667
3698
|
children: [
|
|
3668
|
-
title ? /* @__PURE__ */ (0,
|
|
3669
|
-
/* @__PURE__ */ (0,
|
|
3699
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime76.jsx)("title", { children: title }) : null,
|
|
3700
|
+
/* @__PURE__ */ (0, import_jsx_runtime76.jsx)(
|
|
3670
3701
|
"path",
|
|
3671
3702
|
{
|
|
3672
3703
|
d: "M54.9798 47.579L79.4249 85.9995H58.2273L38.2531 52.9344V85.9995H20.4189V13.9995H38.2531V45.4356L59.6547 13.9995H78.7119L54.9798 47.579Z",
|
|
@@ -3680,7 +3711,7 @@ var LogoKalshiIcon = (_a) => {
|
|
|
3680
3711
|
LogoKalshiIcon.displayName = "LogoKalshiIcon";
|
|
3681
3712
|
|
|
3682
3713
|
// src/primitives/venue-logo/svg/logo-limitless.tsx
|
|
3683
|
-
var
|
|
3714
|
+
var import_jsx_runtime77 = require("react/jsx-runtime");
|
|
3684
3715
|
var LIMITLESS_BLACK = "#000000";
|
|
3685
3716
|
var LogoLimitlessIcon = (_a) => {
|
|
3686
3717
|
var _b = _a, {
|
|
@@ -3699,7 +3730,7 @@ var LogoLimitlessIcon = (_a) => {
|
|
|
3699
3730
|
isColor,
|
|
3700
3731
|
color
|
|
3701
3732
|
});
|
|
3702
|
-
return /* @__PURE__ */ (0,
|
|
3733
|
+
return /* @__PURE__ */ (0, import_jsx_runtime77.jsxs)(
|
|
3703
3734
|
"svg",
|
|
3704
3735
|
__spreadProps(__spreadValues(__spreadValues({
|
|
3705
3736
|
viewBox: "0 0 44 32",
|
|
@@ -3707,8 +3738,8 @@ var LogoLimitlessIcon = (_a) => {
|
|
|
3707
3738
|
fill: "none"
|
|
3708
3739
|
}, getIconA11yProps(title)), props), {
|
|
3709
3740
|
children: [
|
|
3710
|
-
title ? /* @__PURE__ */ (0,
|
|
3711
|
-
/* @__PURE__ */ (0,
|
|
3741
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime77.jsx)("title", { children: title }) : null,
|
|
3742
|
+
/* @__PURE__ */ (0, import_jsx_runtime77.jsx)(
|
|
3712
3743
|
"path",
|
|
3713
3744
|
{
|
|
3714
3745
|
fill: primaryColor,
|
|
@@ -3717,7 +3748,7 @@ var LogoLimitlessIcon = (_a) => {
|
|
|
3717
3748
|
clipRule: "evenodd"
|
|
3718
3749
|
}
|
|
3719
3750
|
),
|
|
3720
|
-
/* @__PURE__ */ (0,
|
|
3751
|
+
/* @__PURE__ */ (0, import_jsx_runtime77.jsx)(
|
|
3721
3752
|
"path",
|
|
3722
3753
|
{
|
|
3723
3754
|
fill: primaryColor,
|
|
@@ -3726,7 +3757,7 @@ var LogoLimitlessIcon = (_a) => {
|
|
|
3726
3757
|
clipRule: "evenodd"
|
|
3727
3758
|
}
|
|
3728
3759
|
),
|
|
3729
|
-
/* @__PURE__ */ (0,
|
|
3760
|
+
/* @__PURE__ */ (0, import_jsx_runtime77.jsx)(
|
|
3730
3761
|
"path",
|
|
3731
3762
|
{
|
|
3732
3763
|
fill: primaryColor,
|
|
@@ -3735,7 +3766,7 @@ var LogoLimitlessIcon = (_a) => {
|
|
|
3735
3766
|
clipRule: "evenodd"
|
|
3736
3767
|
}
|
|
3737
3768
|
),
|
|
3738
|
-
/* @__PURE__ */ (0,
|
|
3769
|
+
/* @__PURE__ */ (0, import_jsx_runtime77.jsx)(
|
|
3739
3770
|
"path",
|
|
3740
3771
|
{
|
|
3741
3772
|
fill: primaryColor,
|
|
@@ -3744,7 +3775,7 @@ var LogoLimitlessIcon = (_a) => {
|
|
|
3744
3775
|
clipRule: "evenodd"
|
|
3745
3776
|
}
|
|
3746
3777
|
),
|
|
3747
|
-
/* @__PURE__ */ (0,
|
|
3778
|
+
/* @__PURE__ */ (0, import_jsx_runtime77.jsx)(
|
|
3748
3779
|
"path",
|
|
3749
3780
|
{
|
|
3750
3781
|
fill: primaryColor,
|
|
@@ -3760,7 +3791,7 @@ var LogoLimitlessIcon = (_a) => {
|
|
|
3760
3791
|
LogoLimitlessIcon.displayName = "LogoLimitlessIcon";
|
|
3761
3792
|
|
|
3762
3793
|
// src/primitives/venue-logo/svg/logo-opinion.tsx
|
|
3763
|
-
var
|
|
3794
|
+
var import_jsx_runtime78 = require("react/jsx-runtime");
|
|
3764
3795
|
var OPINION_BLACK = "#000000";
|
|
3765
3796
|
var LogoOpinionIcon = (_a) => {
|
|
3766
3797
|
var _b = _a, {
|
|
@@ -3779,7 +3810,7 @@ var LogoOpinionIcon = (_a) => {
|
|
|
3779
3810
|
isColor,
|
|
3780
3811
|
color
|
|
3781
3812
|
});
|
|
3782
|
-
return /* @__PURE__ */ (0,
|
|
3813
|
+
return /* @__PURE__ */ (0, import_jsx_runtime78.jsxs)(
|
|
3783
3814
|
"svg",
|
|
3784
3815
|
__spreadProps(__spreadValues(__spreadValues({
|
|
3785
3816
|
viewBox: "0 0 100 100",
|
|
@@ -3787,8 +3818,8 @@ var LogoOpinionIcon = (_a) => {
|
|
|
3787
3818
|
fill: "none"
|
|
3788
3819
|
}, getIconA11yProps(title)), props), {
|
|
3789
3820
|
children: [
|
|
3790
|
-
title ? /* @__PURE__ */ (0,
|
|
3791
|
-
/* @__PURE__ */ (0,
|
|
3821
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime78.jsx)("title", { children: title }) : null,
|
|
3822
|
+
/* @__PURE__ */ (0, import_jsx_runtime78.jsx)(
|
|
3792
3823
|
"path",
|
|
3793
3824
|
{
|
|
3794
3825
|
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",
|
|
@@ -3802,7 +3833,7 @@ var LogoOpinionIcon = (_a) => {
|
|
|
3802
3833
|
LogoOpinionIcon.displayName = "LogoOpinionIcon";
|
|
3803
3834
|
|
|
3804
3835
|
// src/primitives/venue-logo/svg/logo-polymarket.tsx
|
|
3805
|
-
var
|
|
3836
|
+
var import_jsx_runtime79 = require("react/jsx-runtime");
|
|
3806
3837
|
var POLYMARKET_BLUE = "#2E5CFF";
|
|
3807
3838
|
var LogoPolymarketIcon = (_a) => {
|
|
3808
3839
|
var _b = _a, {
|
|
@@ -3821,7 +3852,7 @@ var LogoPolymarketIcon = (_a) => {
|
|
|
3821
3852
|
isColor,
|
|
3822
3853
|
color
|
|
3823
3854
|
});
|
|
3824
|
-
return /* @__PURE__ */ (0,
|
|
3855
|
+
return /* @__PURE__ */ (0, import_jsx_runtime79.jsxs)(
|
|
3825
3856
|
"svg",
|
|
3826
3857
|
__spreadProps(__spreadValues(__spreadValues({
|
|
3827
3858
|
viewBox: "0 0 100 100",
|
|
@@ -3829,8 +3860,8 @@ var LogoPolymarketIcon = (_a) => {
|
|
|
3829
3860
|
fill: "none"
|
|
3830
3861
|
}, getIconA11yProps(title)), props), {
|
|
3831
3862
|
children: [
|
|
3832
|
-
title ? /* @__PURE__ */ (0,
|
|
3833
|
-
/* @__PURE__ */ (0,
|
|
3863
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("title", { children: title }) : null,
|
|
3864
|
+
/* @__PURE__ */ (0, import_jsx_runtime79.jsx)(
|
|
3834
3865
|
"path",
|
|
3835
3866
|
{
|
|
3836
3867
|
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",
|
|
@@ -3844,7 +3875,7 @@ var LogoPolymarketIcon = (_a) => {
|
|
|
3844
3875
|
LogoPolymarketIcon.displayName = "LogoPolymarketIcon";
|
|
3845
3876
|
|
|
3846
3877
|
// src/primitives/venue-logo/svg/logo-probable.tsx
|
|
3847
|
-
var
|
|
3878
|
+
var import_jsx_runtime80 = require("react/jsx-runtime");
|
|
3848
3879
|
var PROBABLE_ORANGE = "#F05923";
|
|
3849
3880
|
var LogoProbableIcon = (_a) => {
|
|
3850
3881
|
var _b = _a, {
|
|
@@ -3863,7 +3894,7 @@ var LogoProbableIcon = (_a) => {
|
|
|
3863
3894
|
isColor,
|
|
3864
3895
|
color
|
|
3865
3896
|
});
|
|
3866
|
-
return /* @__PURE__ */ (0,
|
|
3897
|
+
return /* @__PURE__ */ (0, import_jsx_runtime80.jsxs)(
|
|
3867
3898
|
"svg",
|
|
3868
3899
|
__spreadProps(__spreadValues(__spreadValues({
|
|
3869
3900
|
viewBox: "0 0 100 100",
|
|
@@ -3871,16 +3902,16 @@ var LogoProbableIcon = (_a) => {
|
|
|
3871
3902
|
fill: "none"
|
|
3872
3903
|
}, getIconA11yProps(title)), props), {
|
|
3873
3904
|
children: [
|
|
3874
|
-
title ? /* @__PURE__ */ (0,
|
|
3875
|
-
/* @__PURE__ */ (0,
|
|
3905
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime80.jsx)("title", { children: title }) : null,
|
|
3906
|
+
/* @__PURE__ */ (0, import_jsx_runtime80.jsx)(
|
|
3876
3907
|
"path",
|
|
3877
3908
|
{
|
|
3878
3909
|
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",
|
|
3879
3910
|
fill: primaryColor
|
|
3880
3911
|
}
|
|
3881
3912
|
),
|
|
3882
|
-
/* @__PURE__ */ (0,
|
|
3883
|
-
/* @__PURE__ */ (0,
|
|
3913
|
+
/* @__PURE__ */ (0, import_jsx_runtime80.jsx)("path", { d: "M90.9329 15.4546V30.4546H8.90234V15.4546H90.9329Z", fill: primaryColor }),
|
|
3914
|
+
/* @__PURE__ */ (0, import_jsx_runtime80.jsx)(
|
|
3884
3915
|
"path",
|
|
3885
3916
|
{
|
|
3886
3917
|
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",
|
|
@@ -3924,7 +3955,7 @@ var sizeClasses2 = {
|
|
|
3924
3955
|
};
|
|
3925
3956
|
|
|
3926
3957
|
// src/primitives/venue-logo/index.tsx
|
|
3927
|
-
var
|
|
3958
|
+
var import_jsx_runtime81 = require("react/jsx-runtime");
|
|
3928
3959
|
var VenueLogo = ({
|
|
3929
3960
|
venue,
|
|
3930
3961
|
variant = "icon",
|
|
@@ -3945,7 +3976,7 @@ var VenueLogo = ({
|
|
|
3945
3976
|
const resolvedLabel = (_a = ariaLabel != null ? ariaLabel : labels.venues[venue]) != null ? _a : venueLogoLabels[venue];
|
|
3946
3977
|
if (!showVenueLogo) return null;
|
|
3947
3978
|
if (variant === "logo") {
|
|
3948
|
-
return /* @__PURE__ */ (0,
|
|
3979
|
+
return /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(
|
|
3949
3980
|
RemoteImage,
|
|
3950
3981
|
{
|
|
3951
3982
|
src: venueLogoUrlRegistry[venue],
|
|
@@ -3957,7 +3988,7 @@ var VenueLogo = ({
|
|
|
3957
3988
|
}
|
|
3958
3989
|
const Component = venueLogoRegistry[venue];
|
|
3959
3990
|
const resolvedIsColor = isMonochromatic ? false : isColor;
|
|
3960
|
-
return /* @__PURE__ */ (0,
|
|
3991
|
+
return /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(
|
|
3961
3992
|
Component,
|
|
3962
3993
|
{
|
|
3963
3994
|
className: cn("group/agg-venue-logo", "shrink-0", sizeClass, className),
|
|
@@ -3986,7 +4017,7 @@ var baseBadgeClasses = cn(
|
|
|
3986
4017
|
);
|
|
3987
4018
|
|
|
3988
4019
|
// src/primitives/badge/index.tsx
|
|
3989
|
-
var
|
|
4020
|
+
var import_jsx_runtime82 = require("react/jsx-runtime");
|
|
3990
4021
|
function Badge({
|
|
3991
4022
|
text,
|
|
3992
4023
|
prefix,
|
|
@@ -4001,7 +4032,7 @@ function Badge({
|
|
|
4001
4032
|
} = (0, import_hooks16.useSdkUiConfig)();
|
|
4002
4033
|
const resolvedText = `${text}`;
|
|
4003
4034
|
const resolvedAriaLabel = resolvedText.length > 0 ? resolvedText : void 0;
|
|
4004
|
-
return /* @__PURE__ */ (0,
|
|
4035
|
+
return /* @__PURE__ */ (0, import_jsx_runtime82.jsxs)(
|
|
4005
4036
|
"span",
|
|
4006
4037
|
__spreadProps(__spreadValues({
|
|
4007
4038
|
"aria-label": resolvedAriaLabel,
|
|
@@ -4019,9 +4050,9 @@ function Badge({
|
|
|
4019
4050
|
)
|
|
4020
4051
|
}, onClick && { onClick }), {
|
|
4021
4052
|
children: [
|
|
4022
|
-
prefix ? /* @__PURE__ */ (0,
|
|
4023
|
-
/* @__PURE__ */ (0,
|
|
4024
|
-
suffix ? /* @__PURE__ */ (0,
|
|
4053
|
+
prefix ? /* @__PURE__ */ (0, import_jsx_runtime82.jsx)("span", { className: cn(classNames == null ? void 0 : classNames.prefix, "empty:hidden"), children: prefix }) : null,
|
|
4054
|
+
/* @__PURE__ */ (0, import_jsx_runtime82.jsx)("span", { className: cn("truncate", classNames == null ? void 0 : classNames.text), children: text }),
|
|
4055
|
+
suffix ? /* @__PURE__ */ (0, import_jsx_runtime82.jsx)("span", { className: cn(classNames == null ? void 0 : classNames.suffix, "empty:hidden"), children: suffix }) : null
|
|
4025
4056
|
]
|
|
4026
4057
|
})
|
|
4027
4058
|
);
|
|
@@ -4031,7 +4062,7 @@ Badge.displayName = "Badge";
|
|
|
4031
4062
|
// src/primitives/select/index.tsx
|
|
4032
4063
|
var import_react5 = require("react");
|
|
4033
4064
|
var import_hooks17 = require("@agg-market/hooks");
|
|
4034
|
-
var
|
|
4065
|
+
var import_jsx_runtime83 = require("react/jsx-runtime");
|
|
4035
4066
|
var Select = ({
|
|
4036
4067
|
items,
|
|
4037
4068
|
value,
|
|
@@ -4071,8 +4102,8 @@ var Select = ({
|
|
|
4071
4102
|
const isDisabled = disabled || !hasEnabledItems;
|
|
4072
4103
|
const selectedItem = items.find((item) => item.value === value);
|
|
4073
4104
|
if (!hasAnyIcon) {
|
|
4074
|
-
return /* @__PURE__ */ (0,
|
|
4075
|
-
/* @__PURE__ */ (0,
|
|
4105
|
+
return /* @__PURE__ */ (0, import_jsx_runtime83.jsxs)("label", { className: cn("group/agg-select", "relative inline-flex w-full", className), children: [
|
|
4106
|
+
/* @__PURE__ */ (0, import_jsx_runtime83.jsx)(
|
|
4076
4107
|
"select",
|
|
4077
4108
|
{
|
|
4078
4109
|
"aria-label": ariaLabel != null ? ariaLabel : labels.common.selectAria,
|
|
@@ -4088,19 +4119,19 @@ var Select = ({
|
|
|
4088
4119
|
disabled: isDisabled,
|
|
4089
4120
|
value,
|
|
4090
4121
|
onChange: (event) => onChange(event.target.value),
|
|
4091
|
-
children: items.map((item) => /* @__PURE__ */ (0,
|
|
4122
|
+
children: items.map((item) => /* @__PURE__ */ (0, import_jsx_runtime83.jsx)("option", { value: item.value, disabled: item.disabled, children: item.label }, item.value))
|
|
4092
4123
|
}
|
|
4093
4124
|
),
|
|
4094
|
-
/* @__PURE__ */ (0,
|
|
4125
|
+
/* @__PURE__ */ (0, import_jsx_runtime83.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_runtime83.jsx)(Icon, { name: "chevron-down", size: "small", color: "currentColor" }) })
|
|
4095
4126
|
] });
|
|
4096
4127
|
}
|
|
4097
|
-
return /* @__PURE__ */ (0,
|
|
4128
|
+
return /* @__PURE__ */ (0, import_jsx_runtime83.jsxs)(
|
|
4098
4129
|
"div",
|
|
4099
4130
|
{
|
|
4100
4131
|
ref: containerRef,
|
|
4101
4132
|
className: cn("group/agg-select", "relative inline-flex w-full", className),
|
|
4102
4133
|
children: [
|
|
4103
|
-
/* @__PURE__ */ (0,
|
|
4134
|
+
/* @__PURE__ */ (0, import_jsx_runtime83.jsxs)(
|
|
4104
4135
|
"button",
|
|
4105
4136
|
{
|
|
4106
4137
|
type: "button",
|
|
@@ -4120,7 +4151,7 @@ var Select = ({
|
|
|
4120
4151
|
),
|
|
4121
4152
|
onClick: () => setIsOpen((prev) => !prev),
|
|
4122
4153
|
children: [
|
|
4123
|
-
(selectedItem == null ? void 0 : selectedItem.iconUrl) ? /* @__PURE__ */ (0,
|
|
4154
|
+
(selectedItem == null ? void 0 : selectedItem.iconUrl) ? /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(
|
|
4124
4155
|
RemoteImage,
|
|
4125
4156
|
{
|
|
4126
4157
|
src: selectedItem.iconUrl,
|
|
@@ -4128,12 +4159,12 @@ var Select = ({
|
|
|
4128
4159
|
className: "h-4 w-4 shrink-0 rounded-sm object-contain"
|
|
4129
4160
|
}
|
|
4130
4161
|
) : null,
|
|
4131
|
-
/* @__PURE__ */ (0,
|
|
4162
|
+
/* @__PURE__ */ (0, import_jsx_runtime83.jsx)("span", { className: "flex-1 truncate", children: (_a = selectedItem == null ? void 0 : selectedItem.label) != null ? _a : "" })
|
|
4132
4163
|
]
|
|
4133
4164
|
}
|
|
4134
4165
|
),
|
|
4135
|
-
/* @__PURE__ */ (0,
|
|
4136
|
-
isOpen ? /* @__PURE__ */ (0,
|
|
4166
|
+
/* @__PURE__ */ (0, import_jsx_runtime83.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_runtime83.jsx)(Icon, { name: "chevron-down", size: "small", color: "currentColor" }) }),
|
|
4167
|
+
isOpen ? /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(
|
|
4137
4168
|
"div",
|
|
4138
4169
|
{
|
|
4139
4170
|
role: "listbox",
|
|
@@ -4141,7 +4172,7 @@ var Select = ({
|
|
|
4141
4172
|
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",
|
|
4142
4173
|
children: items.map((item) => {
|
|
4143
4174
|
const isSelected = item.value === value;
|
|
4144
|
-
return /* @__PURE__ */ (0,
|
|
4175
|
+
return /* @__PURE__ */ (0, import_jsx_runtime83.jsxs)(
|
|
4145
4176
|
"button",
|
|
4146
4177
|
{
|
|
4147
4178
|
type: "button",
|
|
@@ -4161,7 +4192,7 @@ var Select = ({
|
|
|
4161
4192
|
}
|
|
4162
4193
|
},
|
|
4163
4194
|
children: [
|
|
4164
|
-
item.iconUrl ? /* @__PURE__ */ (0,
|
|
4195
|
+
item.iconUrl ? /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(
|
|
4165
4196
|
RemoteImage,
|
|
4166
4197
|
{
|
|
4167
4198
|
src: item.iconUrl,
|
|
@@ -4169,7 +4200,7 @@ var Select = ({
|
|
|
4169
4200
|
className: "h-4 w-4 shrink-0 rounded-sm object-contain"
|
|
4170
4201
|
}
|
|
4171
4202
|
) : null,
|
|
4172
|
-
/* @__PURE__ */ (0,
|
|
4203
|
+
/* @__PURE__ */ (0, import_jsx_runtime83.jsx)("span", { className: "truncate", children: item.label })
|
|
4173
4204
|
]
|
|
4174
4205
|
},
|
|
4175
4206
|
item.value
|
|
@@ -4188,10 +4219,10 @@ var import_react6 = require("react");
|
|
|
4188
4219
|
var import_hooks18 = require("@agg-market/hooks");
|
|
4189
4220
|
|
|
4190
4221
|
// src/primitives/search/search-empty-icon.tsx
|
|
4191
|
-
var
|
|
4222
|
+
var import_jsx_runtime84 = require("react/jsx-runtime");
|
|
4192
4223
|
var SearchEmptyIcon = (_a) => {
|
|
4193
4224
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
4194
|
-
return /* @__PURE__ */ (0,
|
|
4225
|
+
return /* @__PURE__ */ (0, import_jsx_runtime84.jsxs)(
|
|
4195
4226
|
"svg",
|
|
4196
4227
|
__spreadProps(__spreadValues(__spreadValues({
|
|
4197
4228
|
viewBox: "0 0 40 40",
|
|
@@ -4200,9 +4231,9 @@ var SearchEmptyIcon = (_a) => {
|
|
|
4200
4231
|
className
|
|
4201
4232
|
}, getIconA11yProps(title)), props), {
|
|
4202
4233
|
children: [
|
|
4203
|
-
title ? /* @__PURE__ */ (0,
|
|
4204
|
-
/* @__PURE__ */ (0,
|
|
4205
|
-
/* @__PURE__ */ (0,
|
|
4234
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime84.jsx)("title", { children: title }) : null,
|
|
4235
|
+
/* @__PURE__ */ (0, import_jsx_runtime84.jsx)("circle", { cx: "19.9987", cy: "20.0013", r: "9.2", stroke: "currentColor", strokeWidth: "1.6" }),
|
|
4236
|
+
/* @__PURE__ */ (0, import_jsx_runtime84.jsx)(
|
|
4206
4237
|
"ellipse",
|
|
4207
4238
|
{
|
|
4208
4239
|
cx: "19.9987",
|
|
@@ -4383,7 +4414,7 @@ var mapVenueEventToSearchResult = (event, labels, formatPercent, formatCompactCu
|
|
|
4383
4414
|
};
|
|
4384
4415
|
|
|
4385
4416
|
// src/primitives/search/index.tsx
|
|
4386
|
-
var
|
|
4417
|
+
var import_jsx_runtime85 = require("react/jsx-runtime");
|
|
4387
4418
|
var SearchResultRow = ({
|
|
4388
4419
|
item,
|
|
4389
4420
|
resultAria,
|
|
@@ -4394,7 +4425,7 @@ var SearchResultRow = ({
|
|
|
4394
4425
|
const handleResultClick = () => {
|
|
4395
4426
|
onSelect == null ? void 0 : onSelect(item);
|
|
4396
4427
|
};
|
|
4397
|
-
return /* @__PURE__ */ (0,
|
|
4428
|
+
return /* @__PURE__ */ (0, import_jsx_runtime85.jsxs)(
|
|
4398
4429
|
"button",
|
|
4399
4430
|
{
|
|
4400
4431
|
type: "button",
|
|
@@ -4410,8 +4441,8 @@ var SearchResultRow = ({
|
|
|
4410
4441
|
onClick: handleResultClick,
|
|
4411
4442
|
"aria-label": resultAria(item.title),
|
|
4412
4443
|
children: [
|
|
4413
|
-
/* @__PURE__ */ (0,
|
|
4414
|
-
item.thumbnailSrc ? /* @__PURE__ */ (0,
|
|
4444
|
+
/* @__PURE__ */ (0, import_jsx_runtime85.jsxs)("div", { className: "flex min-w-0 flex-1 items-center gap-4", children: [
|
|
4445
|
+
item.thumbnailSrc ? /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
|
|
4415
4446
|
RemoteImage,
|
|
4416
4447
|
{
|
|
4417
4448
|
src: item.thumbnailSrc,
|
|
@@ -4421,7 +4452,7 @@ var SearchResultRow = ({
|
|
|
4421
4452
|
classNames == null ? void 0 : classNames.resultThumbnail
|
|
4422
4453
|
)
|
|
4423
4454
|
}
|
|
4424
|
-
) : /* @__PURE__ */ (0,
|
|
4455
|
+
) : /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
|
|
4425
4456
|
"div",
|
|
4426
4457
|
{
|
|
4427
4458
|
className: cn(
|
|
@@ -4431,8 +4462,8 @@ var SearchResultRow = ({
|
|
|
4431
4462
|
"aria-hidden": true
|
|
4432
4463
|
}
|
|
4433
4464
|
),
|
|
4434
|
-
/* @__PURE__ */ (0,
|
|
4435
|
-
/* @__PURE__ */ (0,
|
|
4465
|
+
/* @__PURE__ */ (0, import_jsx_runtime85.jsxs)("div", { className: "flex min-w-0 flex-1 flex-col gap-1", children: [
|
|
4466
|
+
/* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
|
|
4436
4467
|
"p",
|
|
4437
4468
|
{
|
|
4438
4469
|
className: cn(
|
|
@@ -4442,8 +4473,8 @@ var SearchResultRow = ({
|
|
|
4442
4473
|
children: item.title
|
|
4443
4474
|
}
|
|
4444
4475
|
),
|
|
4445
|
-
/* @__PURE__ */ (0,
|
|
4446
|
-
/* @__PURE__ */ (0,
|
|
4476
|
+
/* @__PURE__ */ (0, import_jsx_runtime85.jsxs)("div", { className: "flex min-w-0 items-center gap-2 text-agg-muted-foreground", children: [
|
|
4477
|
+
/* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
|
|
4447
4478
|
"p",
|
|
4448
4479
|
{
|
|
4449
4480
|
className: cn(
|
|
@@ -4453,10 +4484,10 @@ var SearchResultRow = ({
|
|
|
4453
4484
|
children: item.marketSummaryLabel
|
|
4454
4485
|
}
|
|
4455
4486
|
),
|
|
4456
|
-
/* @__PURE__ */ (0,
|
|
4457
|
-
item.volumeLabel ? /* @__PURE__ */ (0,
|
|
4458
|
-
/* @__PURE__ */ (0,
|
|
4459
|
-
/* @__PURE__ */ (0,
|
|
4487
|
+
/* @__PURE__ */ (0, import_jsx_runtime85.jsx)("div", { className: "flex items-center gap-1", "aria-hidden": true, children: item.visibleVenues.map((venue) => /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(VenueLogo, { venue, className: "size-[14px]" }, `${item.id}-${venue}`)) }),
|
|
4488
|
+
item.volumeLabel ? /* @__PURE__ */ (0, import_jsx_runtime85.jsxs)(import_jsx_runtime85.Fragment, { children: [
|
|
4489
|
+
/* @__PURE__ */ (0, import_jsx_runtime85.jsx)("span", { className: "text-agg-muted-foreground", "aria-hidden": true, children: "\xB7" }),
|
|
4490
|
+
/* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
|
|
4460
4491
|
"p",
|
|
4461
4492
|
{
|
|
4462
4493
|
className: cn(
|
|
@@ -4470,10 +4501,10 @@ var SearchResultRow = ({
|
|
|
4470
4501
|
] })
|
|
4471
4502
|
] })
|
|
4472
4503
|
] }),
|
|
4473
|
-
/* @__PURE__ */ (0,
|
|
4474
|
-
/* @__PURE__ */ (0,
|
|
4475
|
-
/* @__PURE__ */ (0,
|
|
4476
|
-
/* @__PURE__ */ (0,
|
|
4504
|
+
/* @__PURE__ */ (0, import_jsx_runtime85.jsxs)("div", { className: cn("flex w-[200px] shrink-0 items-center gap-2", classNames == null ? void 0 : classNames.resultMeta), children: [
|
|
4505
|
+
/* @__PURE__ */ (0, import_jsx_runtime85.jsx)(VenueLogo, { venue: item.venue, className: "size-4" }),
|
|
4506
|
+
/* @__PURE__ */ (0, import_jsx_runtime85.jsxs)("div", { className: "flex min-w-0 flex-1 items-baseline gap-2", children: [
|
|
4507
|
+
/* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
|
|
4477
4508
|
"p",
|
|
4478
4509
|
{
|
|
4479
4510
|
className: cn(
|
|
@@ -4483,7 +4514,7 @@ var SearchResultRow = ({
|
|
|
4483
4514
|
children: item.valueLabel
|
|
4484
4515
|
}
|
|
4485
4516
|
),
|
|
4486
|
-
/* @__PURE__ */ (0,
|
|
4517
|
+
/* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
|
|
4487
4518
|
"p",
|
|
4488
4519
|
{
|
|
4489
4520
|
className: cn(
|
|
@@ -4495,7 +4526,7 @@ var SearchResultRow = ({
|
|
|
4495
4526
|
)
|
|
4496
4527
|
] })
|
|
4497
4528
|
] }),
|
|
4498
|
-
/* @__PURE__ */ (0,
|
|
4529
|
+
/* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
|
|
4499
4530
|
Icon,
|
|
4500
4531
|
{
|
|
4501
4532
|
name: "chevron-right",
|
|
@@ -4511,7 +4542,7 @@ var SearchSeeAllResultsButton = ({
|
|
|
4511
4542
|
label,
|
|
4512
4543
|
onClick
|
|
4513
4544
|
}) => {
|
|
4514
|
-
return /* @__PURE__ */ (0,
|
|
4545
|
+
return /* @__PURE__ */ (0, import_jsx_runtime85.jsxs)(
|
|
4515
4546
|
"button",
|
|
4516
4547
|
{
|
|
4517
4548
|
type: "button",
|
|
@@ -4523,8 +4554,8 @@ var SearchSeeAllResultsButton = ({
|
|
|
4523
4554
|
),
|
|
4524
4555
|
onClick,
|
|
4525
4556
|
children: [
|
|
4526
|
-
/* @__PURE__ */ (0,
|
|
4527
|
-
/* @__PURE__ */ (0,
|
|
4557
|
+
/* @__PURE__ */ (0, import_jsx_runtime85.jsx)("span", { children: label }),
|
|
4558
|
+
/* @__PURE__ */ (0, import_jsx_runtime85.jsx)(Icon, { name: "chevron-right", size: "small", className: "size-[14px] text-agg-primary" })
|
|
4528
4559
|
]
|
|
4529
4560
|
}
|
|
4530
4561
|
);
|
|
@@ -4623,14 +4654,14 @@ var Search = ({
|
|
|
4623
4654
|
const handleSeeAllResults = () => {
|
|
4624
4655
|
searchConfig.openResults();
|
|
4625
4656
|
};
|
|
4626
|
-
return /* @__PURE__ */ (0,
|
|
4657
|
+
return /* @__PURE__ */ (0, import_jsx_runtime85.jsxs)(
|
|
4627
4658
|
"div",
|
|
4628
4659
|
{
|
|
4629
4660
|
className: cn("group/agg-search", "relative flex w-full flex-col", classNames == null ? void 0 : classNames.root),
|
|
4630
4661
|
onFocusCapture: handleFocusWithin,
|
|
4631
4662
|
onBlurCapture: handleBlurWithin,
|
|
4632
4663
|
children: [
|
|
4633
|
-
/* @__PURE__ */ (0,
|
|
4664
|
+
/* @__PURE__ */ (0, import_jsx_runtime85.jsx)("label", { className: "w-full", children: /* @__PURE__ */ (0, import_jsx_runtime85.jsxs)(
|
|
4634
4665
|
"div",
|
|
4635
4666
|
{
|
|
4636
4667
|
className: cn(
|
|
@@ -4644,7 +4675,7 @@ var Search = ({
|
|
|
4644
4675
|
classNames == null ? void 0 : classNames.inputContainer
|
|
4645
4676
|
),
|
|
4646
4677
|
children: [
|
|
4647
|
-
/* @__PURE__ */ (0,
|
|
4678
|
+
/* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
|
|
4648
4679
|
Icon,
|
|
4649
4680
|
{
|
|
4650
4681
|
name: "search",
|
|
@@ -4652,7 +4683,7 @@ var Search = ({
|
|
|
4652
4683
|
className: cn("text-agg-muted-foreground", classNames == null ? void 0 : classNames.searchIcon)
|
|
4653
4684
|
}
|
|
4654
4685
|
),
|
|
4655
|
-
/* @__PURE__ */ (0,
|
|
4686
|
+
/* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
|
|
4656
4687
|
"input",
|
|
4657
4688
|
__spreadProps(__spreadValues({}, inputProps), {
|
|
4658
4689
|
type: "text",
|
|
@@ -4670,31 +4701,31 @@ var Search = ({
|
|
|
4670
4701
|
)
|
|
4671
4702
|
})
|
|
4672
4703
|
),
|
|
4673
|
-
shouldRenderShortcut ? /* @__PURE__ */ (0,
|
|
4704
|
+
shouldRenderShortcut ? /* @__PURE__ */ (0, import_jsx_runtime85.jsx)("div", { className: "flex size-6 shrink-0 items-center justify-center rounded-[4px] bg-agg-secondary-hover", children: /* @__PURE__ */ (0, import_jsx_runtime85.jsx)("span", { className: "font-agg-sans text-agg-sm leading-agg-5 font-agg-bold text-agg-muted-foreground", children: "/" }) }) : null
|
|
4674
4705
|
]
|
|
4675
4706
|
}
|
|
4676
4707
|
) }),
|
|
4677
|
-
shouldRenderLoadingState ? /* @__PURE__ */ (0,
|
|
4678
|
-
shouldRenderResults ? /* @__PURE__ */ (0,
|
|
4708
|
+
shouldRenderLoadingState ? /* @__PURE__ */ (0, import_jsx_runtime85.jsx)("div", { className: "absolute left-0 right-0 top-full z-50 mt-1", children: /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(Skeleton, { view: "search" }) }) : null,
|
|
4709
|
+
shouldRenderResults ? /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
|
|
4679
4710
|
"div",
|
|
4680
4711
|
{
|
|
4681
4712
|
className: cn(
|
|
4682
4713
|
"absolute left-0 right-0 top-full z-50 mt-1 w-full overflow-hidden rounded-agg-xl border border-agg-separator bg-agg-secondary pt-2 shadow-[0px_8px_16px_0px_rgba(0,0,0,0.1)]",
|
|
4683
4714
|
classNames == null ? void 0 : classNames.dropdown
|
|
4684
4715
|
),
|
|
4685
|
-
children: /* @__PURE__ */ (0,
|
|
4716
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime85.jsxs)(
|
|
4686
4717
|
"ul",
|
|
4687
4718
|
{
|
|
4688
4719
|
className: cn("m-0 flex list-none flex-col p-0", classNames == null ? void 0 : classNames.resultsList),
|
|
4689
4720
|
role: "listbox",
|
|
4690
4721
|
"aria-label": labels.search.resultsAria,
|
|
4691
4722
|
children: [
|
|
4692
|
-
validatedResults.map((item, index) => /* @__PURE__ */ (0,
|
|
4723
|
+
validatedResults.map((item, index) => /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
|
|
4693
4724
|
"li",
|
|
4694
4725
|
{
|
|
4695
4726
|
role: "presentation",
|
|
4696
4727
|
className: cn(index > 0 && "border-t border-agg-separator", classNames == null ? void 0 : classNames.resultItem),
|
|
4697
|
-
children: /* @__PURE__ */ (0,
|
|
4728
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
|
|
4698
4729
|
SearchResultRow,
|
|
4699
4730
|
{
|
|
4700
4731
|
item,
|
|
@@ -4706,7 +4737,7 @@ var Search = ({
|
|
|
4706
4737
|
},
|
|
4707
4738
|
item.id
|
|
4708
4739
|
)),
|
|
4709
|
-
/* @__PURE__ */ (0,
|
|
4740
|
+
/* @__PURE__ */ (0, import_jsx_runtime85.jsx)("li", { role: "presentation", className: "border-t border-agg-separator", children: /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
|
|
4710
4741
|
SearchSeeAllResultsButton,
|
|
4711
4742
|
{
|
|
4712
4743
|
label: labels.search.seeAllResults,
|
|
@@ -4718,29 +4749,29 @@ var Search = ({
|
|
|
4718
4749
|
)
|
|
4719
4750
|
}
|
|
4720
4751
|
) : null,
|
|
4721
|
-
shouldRenderNoResults ? /* @__PURE__ */ (0,
|
|
4752
|
+
shouldRenderNoResults ? /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
|
|
4722
4753
|
"div",
|
|
4723
4754
|
{
|
|
4724
4755
|
className: cn(
|
|
4725
4756
|
"absolute left-0 right-0 top-full z-50 mt-1 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)]",
|
|
4726
4757
|
classNames == null ? void 0 : classNames.emptyState
|
|
4727
4758
|
),
|
|
4728
|
-
children: /* @__PURE__ */ (0,
|
|
4759
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime85.jsxs)(
|
|
4729
4760
|
"div",
|
|
4730
4761
|
{
|
|
4731
4762
|
className: cn("flex flex-col items-center gap-5", classNames == null ? void 0 : classNames.emptyStateContent),
|
|
4732
4763
|
role: "status",
|
|
4733
4764
|
"aria-live": "polite",
|
|
4734
4765
|
children: [
|
|
4735
|
-
/* @__PURE__ */ (0,
|
|
4766
|
+
/* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
|
|
4736
4767
|
SearchEmptyIcon,
|
|
4737
4768
|
{
|
|
4738
4769
|
className: cn("h-10 w-10 text-agg-muted-foreground", classNames == null ? void 0 : classNames.emptyStateIcon),
|
|
4739
4770
|
"aria-hidden": true
|
|
4740
4771
|
}
|
|
4741
4772
|
),
|
|
4742
|
-
/* @__PURE__ */ (0,
|
|
4743
|
-
/* @__PURE__ */ (0,
|
|
4773
|
+
/* @__PURE__ */ (0, import_jsx_runtime85.jsxs)("div", { className: "flex flex-col items-center gap-1 text-center", children: [
|
|
4774
|
+
/* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
|
|
4744
4775
|
"p",
|
|
4745
4776
|
{
|
|
4746
4777
|
className: cn(
|
|
@@ -4750,7 +4781,7 @@ var Search = ({
|
|
|
4750
4781
|
children: labels.search.noResultsTitle
|
|
4751
4782
|
}
|
|
4752
4783
|
),
|
|
4753
|
-
/* @__PURE__ */ (0,
|
|
4784
|
+
/* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
|
|
4754
4785
|
"p",
|
|
4755
4786
|
{
|
|
4756
4787
|
className: cn(
|
|
@@ -4773,7 +4804,7 @@ var Search = ({
|
|
|
4773
4804
|
Search.displayName = "Search";
|
|
4774
4805
|
|
|
4775
4806
|
// src/primitives/state-message/index.tsx
|
|
4776
|
-
var
|
|
4807
|
+
var import_jsx_runtime86 = require("react/jsx-runtime");
|
|
4777
4808
|
var iconClassName = "h-9 w-9 text-agg-muted-foreground";
|
|
4778
4809
|
var StateMessage = ({
|
|
4779
4810
|
ariaLabel,
|
|
@@ -4784,8 +4815,8 @@ var StateMessage = ({
|
|
|
4784
4815
|
onAction,
|
|
4785
4816
|
className
|
|
4786
4817
|
}) => {
|
|
4787
|
-
const icon = tone === "warning" ? /* @__PURE__ */ (0,
|
|
4788
|
-
return /* @__PURE__ */ (0,
|
|
4818
|
+
const icon = tone === "warning" ? /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(WarningIcon, { className: iconClassName, "aria-hidden": true }) : /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(SearchEmptyIcon, { className: iconClassName, "aria-hidden": true });
|
|
4819
|
+
return /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(
|
|
4789
4820
|
"div",
|
|
4790
4821
|
{
|
|
4791
4822
|
className: cn(
|
|
@@ -4795,13 +4826,13 @@ var StateMessage = ({
|
|
|
4795
4826
|
role: "status",
|
|
4796
4827
|
"aria-live": "polite",
|
|
4797
4828
|
"aria-label": ariaLabel,
|
|
4798
|
-
children: /* @__PURE__ */ (0,
|
|
4829
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime86.jsxs)("div", { className: "flex flex-col items-center gap-6", children: [
|
|
4799
4830
|
icon,
|
|
4800
|
-
/* @__PURE__ */ (0,
|
|
4801
|
-
/* @__PURE__ */ (0,
|
|
4802
|
-
description ? /* @__PURE__ */ (0,
|
|
4831
|
+
/* @__PURE__ */ (0, import_jsx_runtime86.jsxs)("div", { className: "flex flex-col items-center gap-2", children: [
|
|
4832
|
+
/* @__PURE__ */ (0, import_jsx_runtime86.jsx)(Typography, { variant: "body-large-strong", children: title }),
|
|
4833
|
+
description ? /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(Typography, { variant: "body", className: "whitespace-pre-line text-agg-muted-foreground", children: description }) : null
|
|
4803
4834
|
] }),
|
|
4804
|
-
actionLabel && onAction ? /* @__PURE__ */ (0,
|
|
4835
|
+
actionLabel && onAction ? /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(
|
|
4805
4836
|
Button,
|
|
4806
4837
|
{
|
|
4807
4838
|
variant: "tertiary",
|
|
@@ -4848,7 +4879,7 @@ var findEdgeEnabledIndex = (items, direction) => {
|
|
|
4848
4879
|
};
|
|
4849
4880
|
|
|
4850
4881
|
// src/primitives/tabs/index.tsx
|
|
4851
|
-
var
|
|
4882
|
+
var import_jsx_runtime87 = require("react/jsx-runtime");
|
|
4852
4883
|
var mobileTabsMediaQuery = "(max-width: 512px)";
|
|
4853
4884
|
var getTabButtonClassName = ({
|
|
4854
4885
|
enableAnimations,
|
|
@@ -5173,7 +5204,7 @@ var Tabs = ({
|
|
|
5173
5204
|
});
|
|
5174
5205
|
}, [enableAnimations, renderedItems, shouldUseOverflowScroll, value]);
|
|
5175
5206
|
if (shouldUseOverflowSelect) {
|
|
5176
|
-
return /* @__PURE__ */ (0,
|
|
5207
|
+
return /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("div", { className: cn("w-full", className, classNames == null ? void 0 : classNames.root), children: /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
|
|
5177
5208
|
Select,
|
|
5178
5209
|
{
|
|
5179
5210
|
ariaLabel,
|
|
@@ -5185,7 +5216,7 @@ var Tabs = ({
|
|
|
5185
5216
|
}
|
|
5186
5217
|
) });
|
|
5187
5218
|
}
|
|
5188
|
-
return /* @__PURE__ */ (0,
|
|
5219
|
+
return /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)(
|
|
5189
5220
|
"div",
|
|
5190
5221
|
{
|
|
5191
5222
|
className: cn(
|
|
@@ -5196,7 +5227,7 @@ var Tabs = ({
|
|
|
5196
5227
|
classNames == null ? void 0 : classNames.root
|
|
5197
5228
|
),
|
|
5198
5229
|
children: [
|
|
5199
|
-
/* @__PURE__ */ (0,
|
|
5230
|
+
/* @__PURE__ */ (0, import_jsx_runtime87.jsxs)(
|
|
5200
5231
|
"div",
|
|
5201
5232
|
{
|
|
5202
5233
|
ref: tabListRef,
|
|
@@ -5212,7 +5243,7 @@ var Tabs = ({
|
|
|
5212
5243
|
children: [
|
|
5213
5244
|
renderedItems.map((item, index) => {
|
|
5214
5245
|
const isActive = item.value === value;
|
|
5215
|
-
return /* @__PURE__ */ (0,
|
|
5246
|
+
return /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)(
|
|
5216
5247
|
"button",
|
|
5217
5248
|
{
|
|
5218
5249
|
ref: (buttonElement) => {
|
|
@@ -5241,7 +5272,7 @@ var Tabs = ({
|
|
|
5241
5272
|
shouldUseOverflowScroll && !isBarVariant && "snap-start"
|
|
5242
5273
|
),
|
|
5243
5274
|
children: [
|
|
5244
|
-
isBarVariant ? /* @__PURE__ */ (0,
|
|
5275
|
+
isBarVariant ? /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(import_jsx_runtime87.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
|
|
5245
5276
|
"span",
|
|
5246
5277
|
{
|
|
5247
5278
|
"aria-hidden": true,
|
|
@@ -5255,8 +5286,8 @@ var Tabs = ({
|
|
|
5255
5286
|
)
|
|
5256
5287
|
}
|
|
5257
5288
|
) }) : null,
|
|
5258
|
-
item.icon ? /* @__PURE__ */ (0,
|
|
5259
|
-
/* @__PURE__ */ (0,
|
|
5289
|
+
item.icon ? /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("span", { className: "relative z-10 inline-flex shrink-0 items-center justify-center empty:hidden", children: item.icon }) : null,
|
|
5290
|
+
/* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
|
|
5260
5291
|
"span",
|
|
5261
5292
|
{
|
|
5262
5293
|
className: cn(
|
|
@@ -5271,7 +5302,7 @@ var Tabs = ({
|
|
|
5271
5302
|
item.value
|
|
5272
5303
|
);
|
|
5273
5304
|
}),
|
|
5274
|
-
!isBarVariant ? /* @__PURE__ */ (0,
|
|
5305
|
+
!isBarVariant ? /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
|
|
5275
5306
|
"span",
|
|
5276
5307
|
{
|
|
5277
5308
|
"aria-hidden": true,
|
|
@@ -5289,8 +5320,8 @@ var Tabs = ({
|
|
|
5289
5320
|
]
|
|
5290
5321
|
}
|
|
5291
5322
|
),
|
|
5292
|
-
shouldUseOverflowScroll && !isBarVariant ? /* @__PURE__ */ (0,
|
|
5293
|
-
/* @__PURE__ */ (0,
|
|
5323
|
+
shouldUseOverflowScroll && !isBarVariant ? /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)(import_jsx_runtime87.Fragment, { children: [
|
|
5324
|
+
/* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
|
|
5294
5325
|
"span",
|
|
5295
5326
|
{
|
|
5296
5327
|
"aria-hidden": true,
|
|
@@ -5301,7 +5332,7 @@ var Tabs = ({
|
|
|
5301
5332
|
)
|
|
5302
5333
|
}
|
|
5303
5334
|
),
|
|
5304
|
-
/* @__PURE__ */ (0,
|
|
5335
|
+
/* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
|
|
5305
5336
|
"span",
|
|
5306
5337
|
{
|
|
5307
5338
|
"aria-hidden": true,
|
|
@@ -5322,7 +5353,7 @@ Tabs.displayName = "Tabs";
|
|
|
5322
5353
|
// src/primitives/modal/index.tsx
|
|
5323
5354
|
var Dialog = __toESM(require("@radix-ui/react-dialog"));
|
|
5324
5355
|
var import_hooks20 = require("@agg-market/hooks");
|
|
5325
|
-
var
|
|
5356
|
+
var import_jsx_runtime88 = require("react/jsx-runtime");
|
|
5326
5357
|
var Modal = ({
|
|
5327
5358
|
open,
|
|
5328
5359
|
onOpenChange,
|
|
@@ -5330,7 +5361,7 @@ var Modal = ({
|
|
|
5330
5361
|
"aria-label": _ariaLabel,
|
|
5331
5362
|
"aria-labelledby": _ariaLabelledBy
|
|
5332
5363
|
}) => {
|
|
5333
|
-
return /* @__PURE__ */ (0,
|
|
5364
|
+
return /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(Dialog.Root, { open, onOpenChange, children });
|
|
5334
5365
|
};
|
|
5335
5366
|
var ModalContainer = ({
|
|
5336
5367
|
children,
|
|
@@ -5345,8 +5376,8 @@ var ModalContainer = ({
|
|
|
5345
5376
|
} = (0, import_hooks20.useSdkUiConfig)();
|
|
5346
5377
|
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;
|
|
5347
5378
|
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;
|
|
5348
|
-
return /* @__PURE__ */ (0,
|
|
5349
|
-
/* @__PURE__ */ (0,
|
|
5379
|
+
return /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)(Dialog.Portal, { children: [
|
|
5380
|
+
/* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
|
|
5350
5381
|
Dialog.Overlay,
|
|
5351
5382
|
{
|
|
5352
5383
|
className: cn(
|
|
@@ -5356,7 +5387,7 @@ var ModalContainer = ({
|
|
|
5356
5387
|
)
|
|
5357
5388
|
}
|
|
5358
5389
|
),
|
|
5359
|
-
/* @__PURE__ */ (0,
|
|
5390
|
+
/* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
|
|
5360
5391
|
Dialog.Content,
|
|
5361
5392
|
{
|
|
5362
5393
|
className: cn(
|
|
@@ -5371,7 +5402,7 @@ var ModalContainer = ({
|
|
|
5371
5402
|
onCloseAutoFocus: (event) => {
|
|
5372
5403
|
event.preventDefault();
|
|
5373
5404
|
},
|
|
5374
|
-
children: /* @__PURE__ */ (0,
|
|
5405
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
|
|
5375
5406
|
"div",
|
|
5376
5407
|
{
|
|
5377
5408
|
className: cn(
|
|
@@ -5409,9 +5440,9 @@ var ModalHeader = ({
|
|
|
5409
5440
|
features: { enableAnimations }
|
|
5410
5441
|
} = (0, import_hooks20.useSdkUiConfig)();
|
|
5411
5442
|
const labels = (0, import_hooks20.useLabels)();
|
|
5412
|
-
const defaultCloseIcon = /* @__PURE__ */ (0,
|
|
5443
|
+
const defaultCloseIcon = /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(CloseIcon, { className: "h-6 w-6" });
|
|
5413
5444
|
const resolvedCloseIcon = closeIcon != null ? closeIcon : defaultCloseIcon;
|
|
5414
|
-
return /* @__PURE__ */ (0,
|
|
5445
|
+
return /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)(
|
|
5415
5446
|
"div",
|
|
5416
5447
|
{
|
|
5417
5448
|
className: cn(
|
|
@@ -5424,7 +5455,7 @@ var ModalHeader = ({
|
|
|
5424
5455
|
classNames == null ? void 0 : classNames.root
|
|
5425
5456
|
),
|
|
5426
5457
|
children: [
|
|
5427
|
-
/* @__PURE__ */ (0,
|
|
5458
|
+
/* @__PURE__ */ (0, import_jsx_runtime88.jsxs)(
|
|
5428
5459
|
"div",
|
|
5429
5460
|
{
|
|
5430
5461
|
className: cn(
|
|
@@ -5436,9 +5467,9 @@ var ModalHeader = ({
|
|
|
5436
5467
|
classNames == null ? void 0 : classNames.container
|
|
5437
5468
|
),
|
|
5438
5469
|
children: [
|
|
5439
|
-
leftElement ? /* @__PURE__ */ (0,
|
|
5440
|
-
/* @__PURE__ */ (0,
|
|
5441
|
-
/* @__PURE__ */ (0,
|
|
5470
|
+
leftElement ? /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(import_jsx_runtime88.Fragment, { children: leftElement }) : null,
|
|
5471
|
+
/* @__PURE__ */ (0, import_jsx_runtime88.jsxs)("div", { className: cn("max-w-[calc(100%-1rem)] flex-1", classNames == null ? void 0 : classNames.titleContainer), children: [
|
|
5472
|
+
/* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
|
|
5442
5473
|
Dialog.Title,
|
|
5443
5474
|
{
|
|
5444
5475
|
className: cn(
|
|
@@ -5451,7 +5482,7 @@ var ModalHeader = ({
|
|
|
5451
5482
|
children: title
|
|
5452
5483
|
}
|
|
5453
5484
|
),
|
|
5454
|
-
subtitle ? /* @__PURE__ */ (0,
|
|
5485
|
+
subtitle ? /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
|
|
5455
5486
|
"span",
|
|
5456
5487
|
{
|
|
5457
5488
|
className: cn(
|
|
@@ -5462,9 +5493,9 @@ var ModalHeader = ({
|
|
|
5462
5493
|
}
|
|
5463
5494
|
) : null
|
|
5464
5495
|
] }),
|
|
5465
|
-
/* @__PURE__ */ (0,
|
|
5466
|
-
rightElement ? /* @__PURE__ */ (0,
|
|
5467
|
-
!hideClose && /* @__PURE__ */ (0,
|
|
5496
|
+
/* @__PURE__ */ (0, import_jsx_runtime88.jsxs)("div", { className: "flex flex-row gap-6 items-center justify-end", children: [
|
|
5497
|
+
rightElement ? /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(import_jsx_runtime88.Fragment, { children: rightElement }) : null,
|
|
5498
|
+
!hideClose && /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
|
|
5468
5499
|
Dialog.Close,
|
|
5469
5500
|
{
|
|
5470
5501
|
className: cn(
|
|
@@ -5480,14 +5511,14 @@ var ModalHeader = ({
|
|
|
5480
5511
|
]
|
|
5481
5512
|
}
|
|
5482
5513
|
),
|
|
5483
|
-
children ? /* @__PURE__ */ (0,
|
|
5514
|
+
children ? /* @__PURE__ */ (0, import_jsx_runtime88.jsx)("div", { children }) : null
|
|
5484
5515
|
]
|
|
5485
5516
|
}
|
|
5486
5517
|
);
|
|
5487
5518
|
};
|
|
5488
5519
|
Modal.Header = ModalHeader;
|
|
5489
5520
|
var ModalBody = ({ children, classNames }) => {
|
|
5490
|
-
return /* @__PURE__ */ (0,
|
|
5521
|
+
return /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
|
|
5491
5522
|
"div",
|
|
5492
5523
|
{
|
|
5493
5524
|
className: cn(
|
|
@@ -5508,7 +5539,7 @@ var ModalFooter = ({
|
|
|
5508
5539
|
classNames,
|
|
5509
5540
|
hideBorder = false
|
|
5510
5541
|
}) => {
|
|
5511
|
-
return /* @__PURE__ */ (0,
|
|
5542
|
+
return /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
|
|
5512
5543
|
"div",
|
|
5513
5544
|
{
|
|
5514
5545
|
className: cn(
|
|
@@ -5542,7 +5573,7 @@ var isHeaderLogoProps = (value) => {
|
|
|
5542
5573
|
};
|
|
5543
5574
|
|
|
5544
5575
|
// src/primitives/header/index.tsx
|
|
5545
|
-
var
|
|
5576
|
+
var import_jsx_runtime89 = require("react/jsx-runtime");
|
|
5546
5577
|
var Header = ({
|
|
5547
5578
|
logo,
|
|
5548
5579
|
logoHref,
|
|
@@ -5554,7 +5585,7 @@ var Header = ({
|
|
|
5554
5585
|
"aria-label": ariaLabel
|
|
5555
5586
|
}) => {
|
|
5556
5587
|
const labels = (0, import_hooks21.useLabels)();
|
|
5557
|
-
const logoContent = isHeaderLogoProps(logo) ? /* @__PURE__ */ (0,
|
|
5588
|
+
const logoContent = isHeaderLogoProps(logo) ? /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(
|
|
5558
5589
|
"img",
|
|
5559
5590
|
{
|
|
5560
5591
|
src: logo.src,
|
|
@@ -5563,24 +5594,24 @@ var Header = ({
|
|
|
5563
5594
|
height: logo.height,
|
|
5564
5595
|
className: cn("block max-h-full", classNames == null ? void 0 : classNames.logoElement)
|
|
5565
5596
|
}
|
|
5566
|
-
) : logo !== void 0 ? /* @__PURE__ */ (0,
|
|
5597
|
+
) : logo !== void 0 ? /* @__PURE__ */ (0, import_jsx_runtime89.jsx)("span", { className: classNames == null ? void 0 : classNames.logoElement, children: logo }) : /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(
|
|
5567
5598
|
AggLogo,
|
|
5568
5599
|
{
|
|
5569
5600
|
className: cn("h-6 w-auto text-agg-foreground", classNames == null ? void 0 : classNames.logoElement),
|
|
5570
5601
|
title: labels.header.logoAria
|
|
5571
5602
|
}
|
|
5572
5603
|
);
|
|
5573
|
-
const wrappedLogo = logoHref ? /* @__PURE__ */ (0,
|
|
5574
|
-
const searchContent = search !== void 0 ? search : searchProps ? /* @__PURE__ */ (0,
|
|
5575
|
-
return /* @__PURE__ */ (0,
|
|
5604
|
+
const wrappedLogo = logoHref ? /* @__PURE__ */ (0, import_jsx_runtime89.jsx)("a", { href: logoHref, "aria-label": labels.header.logoAria, className: classNames == null ? void 0 : classNames.logoWrapper, children: logoContent }) : /* @__PURE__ */ (0, import_jsx_runtime89.jsx)("div", { className: classNames == null ? void 0 : classNames.logoWrapper, children: logoContent });
|
|
5605
|
+
const searchContent = search !== void 0 ? search : searchProps ? /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(Search, __spreadValues({}, searchProps)) : null;
|
|
5606
|
+
return /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(
|
|
5576
5607
|
"header",
|
|
5577
5608
|
{
|
|
5578
5609
|
role: "banner",
|
|
5579
5610
|
"aria-label": ariaLabel != null ? ariaLabel : labels.header.bannerAria,
|
|
5580
5611
|
className: cn(baseHeaderClasses, sticky && stickyHeaderClasses, classNames == null ? void 0 : classNames.root),
|
|
5581
|
-
children: /* @__PURE__ */ (0,
|
|
5582
|
-
/* @__PURE__ */ (0,
|
|
5583
|
-
searchContent ? /* @__PURE__ */ (0,
|
|
5612
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime89.jsxs)("div", { className: cn(headerInnerClasses, classNames == null ? void 0 : classNames.inner), children: [
|
|
5613
|
+
/* @__PURE__ */ (0, import_jsx_runtime89.jsx)("div", { className: cn("flex shrink-0 items-center", classNames == null ? void 0 : classNames.leftSection), children: wrappedLogo }),
|
|
5614
|
+
searchContent ? /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(
|
|
5584
5615
|
"div",
|
|
5585
5616
|
{
|
|
5586
5617
|
className: cn(
|
|
@@ -5590,7 +5621,7 @@ var Header = ({
|
|
|
5590
5621
|
children: searchContent
|
|
5591
5622
|
}
|
|
5592
5623
|
) : null,
|
|
5593
|
-
/* @__PURE__ */ (0,
|
|
5624
|
+
/* @__PURE__ */ (0, import_jsx_runtime89.jsx)("div", { className: cn("flex shrink-0 items-center gap-2", classNames == null ? void 0 : classNames.rightSection), children: actions })
|
|
5594
5625
|
] })
|
|
5595
5626
|
}
|
|
5596
5627
|
);
|
|
@@ -5609,7 +5640,7 @@ var tooltipSizeClasses = {
|
|
|
5609
5640
|
};
|
|
5610
5641
|
|
|
5611
5642
|
// src/primitives/tooltip/index.tsx
|
|
5612
|
-
var
|
|
5643
|
+
var import_jsx_runtime90 = (
|
|
5613
5644
|
// Default trigger: neutral info icon
|
|
5614
5645
|
require("react/jsx-runtime")
|
|
5615
5646
|
);
|
|
@@ -5628,7 +5659,7 @@ var Tooltip = ({
|
|
|
5628
5659
|
} = (0, import_hooks22.useSdkUiConfig)();
|
|
5629
5660
|
const trigger = (0, import_react8.useMemo)(() => {
|
|
5630
5661
|
if (children) return children;
|
|
5631
|
-
return /* @__PURE__ */ (0,
|
|
5662
|
+
return /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(
|
|
5632
5663
|
Icon,
|
|
5633
5664
|
{
|
|
5634
5665
|
name: "info",
|
|
@@ -5638,9 +5669,9 @@ var Tooltip = ({
|
|
|
5638
5669
|
}
|
|
5639
5670
|
);
|
|
5640
5671
|
}, [children, classNames == null ? void 0 : classNames.trigger, ariaLabel]);
|
|
5641
|
-
return /* @__PURE__ */ (0,
|
|
5642
|
-
/* @__PURE__ */ (0,
|
|
5643
|
-
/* @__PURE__ */ (0,
|
|
5672
|
+
return /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(TooltipPrimitive.Provider, { delayDuration, children: /* @__PURE__ */ (0, import_jsx_runtime90.jsxs)(TooltipPrimitive.Root, { children: [
|
|
5673
|
+
/* @__PURE__ */ (0, import_jsx_runtime90.jsx)(TooltipPrimitive.Trigger, { asChild: true, children: trigger }),
|
|
5674
|
+
/* @__PURE__ */ (0, import_jsx_runtime90.jsx)(TooltipPrimitive.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime90.jsxs)(
|
|
5644
5675
|
TooltipPrimitive.Content,
|
|
5645
5676
|
{
|
|
5646
5677
|
side,
|
|
@@ -5661,7 +5692,7 @@ var Tooltip = ({
|
|
|
5661
5692
|
classNames == null ? void 0 : classNames.content
|
|
5662
5693
|
),
|
|
5663
5694
|
children: [
|
|
5664
|
-
/* @__PURE__ */ (0,
|
|
5695
|
+
/* @__PURE__ */ (0, import_jsx_runtime90.jsx)(
|
|
5665
5696
|
TooltipPrimitive.Arrow,
|
|
5666
5697
|
{
|
|
5667
5698
|
width: size === "small" ? 12 : 14,
|
|
@@ -5733,6 +5764,7 @@ Tooltip.displayName = "Tooltip";
|
|
|
5733
5764
|
SolanaIcon,
|
|
5734
5765
|
StateMessage,
|
|
5735
5766
|
StayInControlIcon,
|
|
5767
|
+
SuccessCheckIcon,
|
|
5736
5768
|
SwitchButton,
|
|
5737
5769
|
Tabs,
|
|
5738
5770
|
Tooltip,
|