@hyperbridge/ui 0.0.22 → 0.0.24
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-WFHDED45.mjs → chunk-DAIODMJG.mjs} +66 -41
- package/dist/icons/index.d.mts +3 -1
- package/dist/icons/index.mjs +3 -1
- package/dist/index.d.mts +11 -1
- package/dist/index.mjs +55 -6
- package/package.json +1 -1
|
@@ -1244,19 +1244,43 @@ var SvgSquareArrowTopRight = (props) => /* @__PURE__ */ jsx43(
|
|
|
1244
1244
|
var Memo43 = memo43(SvgSquareArrowTopRight);
|
|
1245
1245
|
var SquareArrowTopRight_default = Memo43;
|
|
1246
1246
|
|
|
1247
|
-
// src/components/icons/
|
|
1247
|
+
// src/components/icons/Star.tsx
|
|
1248
1248
|
import { memo as memo44 } from "react";
|
|
1249
1249
|
import { jsx as jsx44 } from "react/jsx-runtime";
|
|
1250
|
-
var
|
|
1250
|
+
var SvgStar = (props) => /* @__PURE__ */ jsx44(
|
|
1251
1251
|
"svg",
|
|
1252
1252
|
__spreadProps(__spreadValues({
|
|
1253
1253
|
width: "1em",
|
|
1254
1254
|
height: "1em",
|
|
1255
|
-
viewBox: "0 0
|
|
1255
|
+
viewBox: "0 0 14 14",
|
|
1256
1256
|
fill: "none",
|
|
1257
1257
|
xmlns: "http://www.w3.org/2000/svg"
|
|
1258
1258
|
}, props), {
|
|
1259
1259
|
children: /* @__PURE__ */ jsx44(
|
|
1260
|
+
"path",
|
|
1261
|
+
{
|
|
1262
|
+
d: "M7.927 1.503a.889.889 0 0 0-1.601 0L4.948 4.371l-3.174.416C1.038 4.883.732 5.793 1.28 6.31l2.319 2.187-.582 3.122c-.138.742.646 1.291 1.295.942l2.814-1.518 2.815 1.518c.648.35 1.433-.2 1.294-.942l-.582-3.122 2.32-2.187c.548-.516.241-1.426-.495-1.522l-3.173-.416-1.378-2.868Z",
|
|
1263
|
+
fill: "currentColor"
|
|
1264
|
+
}
|
|
1265
|
+
)
|
|
1266
|
+
})
|
|
1267
|
+
);
|
|
1268
|
+
var Memo44 = memo44(SvgStar);
|
|
1269
|
+
var Star_default = Memo44;
|
|
1270
|
+
|
|
1271
|
+
// src/components/icons/StepBack.tsx
|
|
1272
|
+
import { memo as memo45 } from "react";
|
|
1273
|
+
import { jsx as jsx45 } from "react/jsx-runtime";
|
|
1274
|
+
var SvgStepBack = (props) => /* @__PURE__ */ jsx45(
|
|
1275
|
+
"svg",
|
|
1276
|
+
__spreadProps(__spreadValues({
|
|
1277
|
+
width: "1em",
|
|
1278
|
+
height: "1em",
|
|
1279
|
+
viewBox: "0 0 16 16",
|
|
1280
|
+
fill: "none",
|
|
1281
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
1282
|
+
}, props), {
|
|
1283
|
+
children: /* @__PURE__ */ jsx45(
|
|
1260
1284
|
"path",
|
|
1261
1285
|
{
|
|
1262
1286
|
fillRule: "evenodd",
|
|
@@ -1267,12 +1291,12 @@ var SvgStepBack = (props) => /* @__PURE__ */ jsx44(
|
|
|
1267
1291
|
)
|
|
1268
1292
|
})
|
|
1269
1293
|
);
|
|
1270
|
-
var
|
|
1271
|
-
var StepBack_default =
|
|
1294
|
+
var Memo45 = memo45(SvgStepBack);
|
|
1295
|
+
var StepBack_default = Memo45;
|
|
1272
1296
|
|
|
1273
1297
|
// src/components/icons/Testnet.tsx
|
|
1274
|
-
import { memo as
|
|
1275
|
-
import { jsx as
|
|
1298
|
+
import { memo as memo46 } from "react";
|
|
1299
|
+
import { jsx as jsx46, jsxs as jsxs5 } from "react/jsx-runtime";
|
|
1276
1300
|
var SvgTestnet = (props) => /* @__PURE__ */ jsxs5(
|
|
1277
1301
|
"svg",
|
|
1278
1302
|
__spreadProps(__spreadValues({
|
|
@@ -1283,14 +1307,14 @@ var SvgTestnet = (props) => /* @__PURE__ */ jsxs5(
|
|
|
1283
1307
|
xmlns: "http://www.w3.org/2000/svg"
|
|
1284
1308
|
}, props), {
|
|
1285
1309
|
children: [
|
|
1286
|
-
/* @__PURE__ */
|
|
1310
|
+
/* @__PURE__ */ jsx46(
|
|
1287
1311
|
"path",
|
|
1288
1312
|
{
|
|
1289
1313
|
d: "M11.12 3.12a3.12 3.12 0 1 1-6.24 0 3.12 3.12 0 0 1 6.24 0ZM11.12 12.88a3.12 3.12 0 1 1-6.24 0 3.12 3.12 0 0 1 6.24 0ZM12.88 11.12a3.12 3.12 0 1 1 0-6.24 3.12 3.12 0 0 1 0 6.24Z",
|
|
1290
1314
|
fill: "#929DAA"
|
|
1291
1315
|
}
|
|
1292
1316
|
),
|
|
1293
|
-
/* @__PURE__ */
|
|
1317
|
+
/* @__PURE__ */ jsx46(
|
|
1294
1318
|
"path",
|
|
1295
1319
|
{
|
|
1296
1320
|
d: "M3.12 11.12a3.12 3.12 0 1 1 0-6.24 3.12 3.12 0 0 1 0 6.24Z",
|
|
@@ -1300,13 +1324,13 @@ var SvgTestnet = (props) => /* @__PURE__ */ jsxs5(
|
|
|
1300
1324
|
]
|
|
1301
1325
|
})
|
|
1302
1326
|
);
|
|
1303
|
-
var
|
|
1304
|
-
var Testnet_default =
|
|
1327
|
+
var Memo46 = memo46(SvgTestnet);
|
|
1328
|
+
var Testnet_default = Memo46;
|
|
1305
1329
|
|
|
1306
1330
|
// src/components/icons/Transfer.tsx
|
|
1307
|
-
import { memo as
|
|
1308
|
-
import { jsx as
|
|
1309
|
-
var SvgTransfer = (props) => /* @__PURE__ */
|
|
1331
|
+
import { memo as memo47 } from "react";
|
|
1332
|
+
import { jsx as jsx47 } from "react/jsx-runtime";
|
|
1333
|
+
var SvgTransfer = (props) => /* @__PURE__ */ jsx47(
|
|
1310
1334
|
"svg",
|
|
1311
1335
|
__spreadProps(__spreadValues({
|
|
1312
1336
|
width: "1em",
|
|
@@ -1315,7 +1339,7 @@ var SvgTransfer = (props) => /* @__PURE__ */ jsx46(
|
|
|
1315
1339
|
fill: "none",
|
|
1316
1340
|
xmlns: "http://www.w3.org/2000/svg"
|
|
1317
1341
|
}, props), {
|
|
1318
|
-
children: /* @__PURE__ */
|
|
1342
|
+
children: /* @__PURE__ */ jsx47(
|
|
1319
1343
|
"path",
|
|
1320
1344
|
{
|
|
1321
1345
|
d: "M3 6.538 5.96 4v8.459M12.23 9.923l-2.96 2.538V4.002",
|
|
@@ -1327,13 +1351,13 @@ var SvgTransfer = (props) => /* @__PURE__ */ jsx46(
|
|
|
1327
1351
|
)
|
|
1328
1352
|
})
|
|
1329
1353
|
);
|
|
1330
|
-
var
|
|
1331
|
-
var Transfer_default =
|
|
1354
|
+
var Memo47 = memo47(SvgTransfer);
|
|
1355
|
+
var Transfer_default = Memo47;
|
|
1332
1356
|
|
|
1333
1357
|
// src/components/icons/Trash.tsx
|
|
1334
|
-
import { memo as
|
|
1335
|
-
import { jsx as
|
|
1336
|
-
var SvgTrash = (props) => /* @__PURE__ */
|
|
1358
|
+
import { memo as memo48 } from "react";
|
|
1359
|
+
import { jsx as jsx48 } from "react/jsx-runtime";
|
|
1360
|
+
var SvgTrash = (props) => /* @__PURE__ */ jsx48(
|
|
1337
1361
|
"svg",
|
|
1338
1362
|
__spreadProps(__spreadValues({
|
|
1339
1363
|
width: "1em",
|
|
@@ -1342,7 +1366,7 @@ var SvgTrash = (props) => /* @__PURE__ */ jsx47(
|
|
|
1342
1366
|
fill: "none",
|
|
1343
1367
|
xmlns: "http://www.w3.org/2000/svg"
|
|
1344
1368
|
}, props), {
|
|
1345
|
-
children: /* @__PURE__ */
|
|
1369
|
+
children: /* @__PURE__ */ jsx48(
|
|
1346
1370
|
"path",
|
|
1347
1371
|
{
|
|
1348
1372
|
d: "m3.333 4.333.582 8.426c.048.699.629 1.241 1.33 1.241h5.51c.701 0 1.283-.542 1.33-1.241l.582-8.426M2.333 4h11.334M5.38 3.83a2.668 2.668 0 0 1 5.24 0",
|
|
@@ -1354,13 +1378,13 @@ var SvgTrash = (props) => /* @__PURE__ */ jsx47(
|
|
|
1354
1378
|
)
|
|
1355
1379
|
})
|
|
1356
1380
|
);
|
|
1357
|
-
var
|
|
1358
|
-
var Trash_default =
|
|
1381
|
+
var Memo48 = memo48(SvgTrash);
|
|
1382
|
+
var Trash_default = Memo48;
|
|
1359
1383
|
|
|
1360
1384
|
// src/components/icons/Wallet.tsx
|
|
1361
|
-
import { memo as
|
|
1362
|
-
import { jsx as
|
|
1363
|
-
var SvgWallet = (props) => /* @__PURE__ */
|
|
1385
|
+
import { memo as memo49 } from "react";
|
|
1386
|
+
import { jsx as jsx49 } from "react/jsx-runtime";
|
|
1387
|
+
var SvgWallet = (props) => /* @__PURE__ */ jsx49(
|
|
1364
1388
|
"svg",
|
|
1365
1389
|
__spreadProps(__spreadValues({
|
|
1366
1390
|
width: "1em",
|
|
@@ -1369,7 +1393,7 @@ var SvgWallet = (props) => /* @__PURE__ */ jsx48(
|
|
|
1369
1393
|
fill: "none",
|
|
1370
1394
|
xmlns: "http://www.w3.org/2000/svg"
|
|
1371
1395
|
}, props), {
|
|
1372
|
-
children: /* @__PURE__ */
|
|
1396
|
+
children: /* @__PURE__ */ jsx49(
|
|
1373
1397
|
"path",
|
|
1374
1398
|
{
|
|
1375
1399
|
fillRule: "evenodd",
|
|
@@ -1380,13 +1404,13 @@ var SvgWallet = (props) => /* @__PURE__ */ jsx48(
|
|
|
1380
1404
|
)
|
|
1381
1405
|
})
|
|
1382
1406
|
);
|
|
1383
|
-
var
|
|
1384
|
-
var Wallet_default =
|
|
1407
|
+
var Memo49 = memo49(SvgWallet);
|
|
1408
|
+
var Wallet_default = Memo49;
|
|
1385
1409
|
|
|
1386
1410
|
// src/components/icons/XCircle.tsx
|
|
1387
|
-
import { memo as
|
|
1388
|
-
import { jsx as
|
|
1389
|
-
var SvgXCircle = (props) => /* @__PURE__ */
|
|
1411
|
+
import { memo as memo50 } from "react";
|
|
1412
|
+
import { jsx as jsx50 } from "react/jsx-runtime";
|
|
1413
|
+
var SvgXCircle = (props) => /* @__PURE__ */ jsx50(
|
|
1390
1414
|
"svg",
|
|
1391
1415
|
__spreadProps(__spreadValues({
|
|
1392
1416
|
width: "1em",
|
|
@@ -1395,7 +1419,7 @@ var SvgXCircle = (props) => /* @__PURE__ */ jsx49(
|
|
|
1395
1419
|
fill: "none",
|
|
1396
1420
|
xmlns: "http://www.w3.org/2000/svg"
|
|
1397
1421
|
}, props), {
|
|
1398
|
-
children: /* @__PURE__ */
|
|
1422
|
+
children: /* @__PURE__ */ jsx50(
|
|
1399
1423
|
"path",
|
|
1400
1424
|
{
|
|
1401
1425
|
d: "M8 1a7 7 0 1 1 0 14A7 7 0 0 1 8 1Zm2.948 4.054a.673.673 0 0 0-.95-.001L8.001 7.05 6.003 5.052l-.105-.086a.674.674 0 0 0-.931.931l.087.106L7.05 8 5.054 9.997a.672.672 0 0 0 .95.95L8 8.95l1.996 1.996.105.086a.672.672 0 0 0 .931-.93l-.086-.106L8.951 8l1.996-1.996a.673.673 0 0 0 .001-.95Z",
|
|
@@ -1404,13 +1428,13 @@ var SvgXCircle = (props) => /* @__PURE__ */ jsx49(
|
|
|
1404
1428
|
)
|
|
1405
1429
|
})
|
|
1406
1430
|
);
|
|
1407
|
-
var
|
|
1408
|
-
var XCircle_default =
|
|
1431
|
+
var Memo50 = memo50(SvgXCircle);
|
|
1432
|
+
var XCircle_default = Memo50;
|
|
1409
1433
|
|
|
1410
1434
|
// src/components/icons/XIcon.tsx
|
|
1411
|
-
import { memo as
|
|
1412
|
-
import { jsx as
|
|
1413
|
-
var SvgXIcon = (props) => /* @__PURE__ */
|
|
1435
|
+
import { memo as memo51 } from "react";
|
|
1436
|
+
import { jsx as jsx51 } from "react/jsx-runtime";
|
|
1437
|
+
var SvgXIcon = (props) => /* @__PURE__ */ jsx51(
|
|
1414
1438
|
"svg",
|
|
1415
1439
|
__spreadProps(__spreadValues({
|
|
1416
1440
|
width: "1em",
|
|
@@ -1419,7 +1443,7 @@ var SvgXIcon = (props) => /* @__PURE__ */ jsx50(
|
|
|
1419
1443
|
fill: "none",
|
|
1420
1444
|
xmlns: "http://www.w3.org/2000/svg"
|
|
1421
1445
|
}, props), {
|
|
1422
|
-
children: /* @__PURE__ */
|
|
1446
|
+
children: /* @__PURE__ */ jsx51(
|
|
1423
1447
|
"path",
|
|
1424
1448
|
{
|
|
1425
1449
|
d: "m3.334 3.334 9.333 9.333m0-9.333-9.333 9.333",
|
|
@@ -1430,8 +1454,8 @@ var SvgXIcon = (props) => /* @__PURE__ */ jsx50(
|
|
|
1430
1454
|
)
|
|
1431
1455
|
})
|
|
1432
1456
|
);
|
|
1433
|
-
var
|
|
1434
|
-
var XIcon_default =
|
|
1457
|
+
var Memo51 = memo51(SvgXIcon);
|
|
1458
|
+
var XIcon_default = Memo51;
|
|
1435
1459
|
|
|
1436
1460
|
export {
|
|
1437
1461
|
__spreadValues,
|
|
@@ -1480,6 +1504,7 @@ export {
|
|
|
1480
1504
|
Settings_default,
|
|
1481
1505
|
Shuffle_default,
|
|
1482
1506
|
SquareArrowTopRight_default,
|
|
1507
|
+
Star_default,
|
|
1483
1508
|
StepBack_default,
|
|
1484
1509
|
Testnet_default,
|
|
1485
1510
|
Transfer_default,
|
package/dist/icons/index.d.mts
CHANGED
|
@@ -2,6 +2,8 @@ import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import { SVGProps } from 'react';
|
|
4
4
|
|
|
5
|
+
declare const Memo$O: React.MemoExoticComponent<(props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element>;
|
|
6
|
+
|
|
5
7
|
declare const Memo$N: React.MemoExoticComponent<(props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element>;
|
|
6
8
|
|
|
7
9
|
declare const Memo$M: React.MemoExoticComponent<(props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element>;
|
|
@@ -102,4 +104,4 @@ declare const Memo$1: React.MemoExoticComponent<(props: SVGProps<SVGSVGElement>)
|
|
|
102
104
|
|
|
103
105
|
declare const Memo: React.MemoExoticComponent<(props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element>;
|
|
104
106
|
|
|
105
|
-
export { Memo$
|
|
107
|
+
export { Memo$O as Alert, Memo$N as ArrowBottomTop, Memo$K as ArrowRight, Memo$M as ArrowRightDownCircle, Memo$L as ArrowRightUpCircle, Memo$J as ArrowSplit, Memo$I as ArrowTopBottom, Memo$H as ArrowTriangleBottom, Memo$G as ArrowTriangleTop, Memo$F as ArrowUpRight, Memo$E as ArtifactNews, Memo$D as BrowserWindow, Memo$C as Check, Memo$B as ChevronBottomDown, Memo$A as ChevronBottomUp, Memo$z as ChevronDoubleRight, Memo$y as ChevronDownSmall, Memo$w as ChevronGrabberVertical, Memo$x as ChevronGrabberVertical1, Memo$s as Circle, Memo$v as CircleInfo, Memo$t as CirclePlaceholder, Memo$u as CirclePlaceholderDashed, Memo$r as Clock, Memo$q as Coins, Memo$p as Copy, Memo$o as Filter, Memo$n as Gas, Memo$m as History, Memo$l as Loader, Memo$k as Mainnet, Memo$j as Menu, Memo$i as Pen, Memo$h as Percent, Memo$g as Plus, Memo$f as Power, Memo$e as RotateCcw, Memo$d as Search, Memo$c as Server, Memo$a as Settings, Memo$b as SettingsGear, Memo$9 as Shuffle, Memo$8 as SquareArrowTopRight, Memo$7 as Star, Memo$6 as StepBack, Memo$5 as Testnet, Memo$4 as Transfer, Memo$3 as Trash, Memo$2 as Wallet, Memo$1 as XCircle, Memo as XIcon };
|
package/dist/icons/index.mjs
CHANGED
|
@@ -42,6 +42,7 @@ import {
|
|
|
42
42
|
Settings_default,
|
|
43
43
|
Shuffle_default,
|
|
44
44
|
SquareArrowTopRight_default,
|
|
45
|
+
Star_default,
|
|
45
46
|
StepBack_default,
|
|
46
47
|
Testnet_default,
|
|
47
48
|
Transfer_default,
|
|
@@ -49,7 +50,7 @@ import {
|
|
|
49
50
|
Wallet_default,
|
|
50
51
|
XCircle_default,
|
|
51
52
|
XIcon_default
|
|
52
|
-
} from "../chunk-
|
|
53
|
+
} from "../chunk-DAIODMJG.mjs";
|
|
53
54
|
export {
|
|
54
55
|
Alert_default as Alert,
|
|
55
56
|
ArrowBottomTop_default as ArrowBottomTop,
|
|
@@ -94,6 +95,7 @@ export {
|
|
|
94
95
|
SettingsGear_default as SettingsGear,
|
|
95
96
|
Shuffle_default as Shuffle,
|
|
96
97
|
SquareArrowTopRight_default as SquareArrowTopRight,
|
|
98
|
+
Star_default as Star,
|
|
97
99
|
StepBack_default as StepBack,
|
|
98
100
|
Testnet_default as Testnet,
|
|
99
101
|
Transfer_default as Transfer,
|
package/dist/index.d.mts
CHANGED
|
@@ -11,6 +11,7 @@ import { Variants } from 'motion/react';
|
|
|
11
11
|
import * as TabsPrimitive from '@radix-ui/react-tabs';
|
|
12
12
|
import * as TooltipPrimitive from '@radix-ui/react-tooltip';
|
|
13
13
|
import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
|
|
14
|
+
import * as PopoverPrimitive from '@radix-ui/react-popover';
|
|
14
15
|
import { Drawer as Drawer$1 } from 'vaul';
|
|
15
16
|
|
|
16
17
|
interface SearchInputProps extends Omit<React.ComponentProps<"input">, "size"> {
|
|
@@ -556,6 +557,10 @@ declare const SummaryValues: {
|
|
|
556
557
|
tooltip: SummaryEntryItem["tooltip"];
|
|
557
558
|
children: React__default.ReactNode;
|
|
558
559
|
}) => react_jsx_runtime.JSX.Element;
|
|
560
|
+
Points: ({ children, tooltip: overwriteTooltip, }: {
|
|
561
|
+
tooltip: SummaryEntryItem["tooltip"];
|
|
562
|
+
children: React__default.ReactNode;
|
|
563
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
559
564
|
};
|
|
560
565
|
Values: {
|
|
561
566
|
Highlight: ({ children }: {
|
|
@@ -935,6 +940,11 @@ declare function DropdownMenuSubTrigger({ className, inset, children, ...props }
|
|
|
935
940
|
}): react_jsx_runtime.JSX.Element;
|
|
936
941
|
declare function DropdownMenuSubContent({ className, ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.SubContent>): react_jsx_runtime.JSX.Element;
|
|
937
942
|
|
|
943
|
+
declare function Popover({ ...props }: React$1.ComponentProps<typeof PopoverPrimitive.Root>): react_jsx_runtime.JSX.Element;
|
|
944
|
+
declare function PopoverTrigger({ ...props }: React$1.ComponentProps<typeof PopoverPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
|
|
945
|
+
declare function PopoverContent({ className, align, sideOffset, ...props }: React$1.ComponentProps<typeof PopoverPrimitive.Content>): react_jsx_runtime.JSX.Element;
|
|
946
|
+
declare function PopoverAnchor({ ...props }: React$1.ComponentProps<typeof PopoverPrimitive.Anchor>): react_jsx_runtime.JSX.Element;
|
|
947
|
+
|
|
938
948
|
declare const badgeVariants: (props?: ({
|
|
939
949
|
size?: "sm" | null | undefined;
|
|
940
950
|
variant?: "default" | "outline" | "secondary" | "destructive" | "success" | null | undefined;
|
|
@@ -954,4 +964,4 @@ declare function HBDrawerFooter({ className, ...props }: React$1.ComponentProps<
|
|
|
954
964
|
declare function HBDrawerTitle({ className, ...props }: React$1.ComponentProps<typeof Drawer$1.Title>): react_jsx_runtime.JSX.Element;
|
|
955
965
|
declare function HBDrawerDescription({ className, ...props }: React$1.ComponentProps<typeof Drawer$1.Description>): react_jsx_runtime.JSX.Element;
|
|
956
966
|
|
|
957
|
-
export { AccessoryButton, type AccessoryButtonProps, AccountItem, AccountStack, type AccountStackProps, AddressInput, AddressInputFocusBehaviour, AssetList, AssetListItem, AssetValueTrend, Badge, BadgeIcon, Balance, BridgeForm, type BridgeFormProps, BridgeInput, BridgeSettings, type BridgeSettingsProps, BridgeTokenButton, Button, type ButtonProps, CWDrawerContent, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogMorphContent, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Drawer, DrawerContent, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, EmptyState, EmptyStateConceal, EmptyStateContent, EmptyStateDescription, EmptyStateTitle, type EstimatedTimeFormatted, GradientButton, HBDrawer, HBDrawerClose, HBDrawerContent, HBDrawerDescription, HBDrawerFooter, HBDrawerHeader, HBDrawerOverlay, HBDrawerPortal, HBDrawerTitle, HBDrawerTrigger, Header, HeaderChooseProvider, HeaderContent, HeaderGradient, HeaderNested, IconButton, Input, type InputProps, LabelledSeperator, ListHeading, ListSection, ManageAccounts, Modal, type ModalProps, type Network, NetworkGroupItem, NetworkSelectionItem, NetworkSelector, type NetworkSelectorProps, NetworkSwitcher, NetworkSwitcherButton, type NetworkSwitcherProps, ReviewItem, ReviewItemAddress, ReviewItemCopyAddressButton, ScrollAwareSeparator, SearchInput, type SearchInputProps, Settings, type SettingsProps, Sheet, SheetContent, SheetTrigger, Summary, SummaryValues, SwapForm, type SwapFormProps, SwapTokenButton, SwapTokenItem, type SwapTokenItemProps, SwapTokenSelector, SwapTokenSelectorContent, type SwapTokenSelectorContentProps, SwapTokenSelectorEmpty, type SwapTokenSelectorEmptyProps, SwapTokenSelectorHeader, type SwapTokenSelectorHeaderProps, type SwapTokenSelectorProps, SwapTokenSelectorSearch, type SwapTokenSelectorSearchProps, SwapTokenSelectorSection, type SwapTokenSelectorSectionProps, TabAlt, TabAltContent, TabAltHeader, TabAltHeaders, TabAltPanel, TabItem, Tabs, TabsContent, TabsList, TagButton, Text, TimelineItem, TimelineList, TimelineListGroup, TimelineRoot, TimerWrap, ToastBox, type Token, TokenImage, type TokenInfo, TokenSelectionItem, TokenSelector, type TokenSelectorProps, TokenTransferPair, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, TransactionTimer, TxList, TxListItem, TxListItemProcessing, type WalletAccount, WalletAccountItem, WalletConnectedHeader, type WalletConnectedHeaderProps, WalletHeader, type WalletHeaderCallbacks, WalletHeaderContent, WalletHeaderContentBlur, type WalletHeaderContentProps, type WalletHeaderProps, WalletHeaderTabItem, WalletHeaderTabs, WalletHeaderTabsContent, WalletHeaderTabsList, type WalletHeaderTabsProps, WalletManagerUIContent, WalletManagerUIProvider, WalletProviderItem, badgeVariants, makeEntry };
|
|
967
|
+
export { AccessoryButton, type AccessoryButtonProps, AccountItem, AccountStack, type AccountStackProps, AddressInput, AddressInputFocusBehaviour, AssetList, AssetListItem, AssetValueTrend, Badge, BadgeIcon, Balance, BridgeForm, type BridgeFormProps, BridgeInput, BridgeSettings, type BridgeSettingsProps, BridgeTokenButton, Button, type ButtonProps, CWDrawerContent, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogMorphContent, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Drawer, DrawerContent, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, EmptyState, EmptyStateConceal, EmptyStateContent, EmptyStateDescription, EmptyStateTitle, type EstimatedTimeFormatted, GradientButton, HBDrawer, HBDrawerClose, HBDrawerContent, HBDrawerDescription, HBDrawerFooter, HBDrawerHeader, HBDrawerOverlay, HBDrawerPortal, HBDrawerTitle, HBDrawerTrigger, Header, HeaderChooseProvider, HeaderContent, HeaderGradient, HeaderNested, IconButton, Input, type InputProps, LabelledSeperator, ListHeading, ListSection, ManageAccounts, Modal, type ModalProps, type Network, NetworkGroupItem, NetworkSelectionItem, NetworkSelector, type NetworkSelectorProps, NetworkSwitcher, NetworkSwitcherButton, type NetworkSwitcherProps, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, ReviewItem, ReviewItemAddress, ReviewItemCopyAddressButton, ScrollAwareSeparator, SearchInput, type SearchInputProps, Settings, type SettingsProps, Sheet, SheetContent, SheetTrigger, Summary, SummaryValues, SwapForm, type SwapFormProps, SwapTokenButton, SwapTokenItem, type SwapTokenItemProps, SwapTokenSelector, SwapTokenSelectorContent, type SwapTokenSelectorContentProps, SwapTokenSelectorEmpty, type SwapTokenSelectorEmptyProps, SwapTokenSelectorHeader, type SwapTokenSelectorHeaderProps, type SwapTokenSelectorProps, SwapTokenSelectorSearch, type SwapTokenSelectorSearchProps, SwapTokenSelectorSection, type SwapTokenSelectorSectionProps, TabAlt, TabAltContent, TabAltHeader, TabAltHeaders, TabAltPanel, TabItem, Tabs, TabsContent, TabsList, TagButton, Text, TimelineItem, TimelineList, TimelineListGroup, TimelineRoot, TimerWrap, ToastBox, type Token, TokenImage, type TokenInfo, TokenSelectionItem, TokenSelector, type TokenSelectorProps, TokenTransferPair, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, TransactionTimer, TxList, TxListItem, TxListItemProcessing, type WalletAccount, WalletAccountItem, WalletConnectedHeader, type WalletConnectedHeaderProps, WalletHeader, type WalletHeaderCallbacks, WalletHeaderContent, WalletHeaderContentBlur, type WalletHeaderContentProps, type WalletHeaderProps, WalletHeaderTabItem, WalletHeaderTabs, WalletHeaderTabsContent, WalletHeaderTabsList, type WalletHeaderTabsProps, WalletManagerUIContent, WalletManagerUIProvider, WalletProviderItem, badgeVariants, makeEntry };
|
package/dist/index.mjs
CHANGED
|
@@ -22,6 +22,7 @@ import {
|
|
|
22
22
|
RotateCcw_default,
|
|
23
23
|
Search_default,
|
|
24
24
|
Server_default,
|
|
25
|
+
Star_default,
|
|
25
26
|
StepBack_default,
|
|
26
27
|
Wallet_default,
|
|
27
28
|
XCircle_default,
|
|
@@ -29,7 +30,7 @@ import {
|
|
|
29
30
|
__objRest,
|
|
30
31
|
__spreadProps,
|
|
31
32
|
__spreadValues
|
|
32
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-DAIODMJG.mjs";
|
|
33
34
|
|
|
34
35
|
// src/components/atoms/search-input.tsx
|
|
35
36
|
import { cva } from "class-variance-authority";
|
|
@@ -3062,7 +3063,7 @@ function DialogMorphContent(_a) {
|
|
|
3062
3063
|
event.preventDefault();
|
|
3063
3064
|
}
|
|
3064
3065
|
};
|
|
3065
|
-
const
|
|
3066
|
+
const Content9 = /* @__PURE__ */ jsxs22(
|
|
3066
3067
|
DialogPrimitive2.Content,
|
|
3067
3068
|
__spreadProps(__spreadValues({
|
|
3068
3069
|
onInteractOutside: handleInteractOutside,
|
|
@@ -3094,7 +3095,7 @@ function DialogMorphContent(_a) {
|
|
|
3094
3095
|
);
|
|
3095
3096
|
return /* @__PURE__ */ jsxs22(DialogPortal, { "data-slot": "dialog-portal", children: [
|
|
3096
3097
|
/* @__PURE__ */ jsx31(DialogOverlay, {}),
|
|
3097
|
-
mode === "card" ? /* @__PURE__ */ jsx31(SmoothCorners, { children:
|
|
3098
|
+
mode === "card" ? /* @__PURE__ */ jsx31(SmoothCorners, { children: Content9 }) : /* @__PURE__ */ jsx31(Fragment7, { children: Content9 })
|
|
3098
3099
|
] });
|
|
3099
3100
|
}
|
|
3100
3101
|
|
|
@@ -3260,6 +3261,10 @@ var ETA = makeEntry({
|
|
|
3260
3261
|
icon: ({ size }) => /* @__PURE__ */ jsx34(Clock_default, { width: size }),
|
|
3261
3262
|
name: "Estimated time"
|
|
3262
3263
|
});
|
|
3264
|
+
var Points = makeEntry({
|
|
3265
|
+
icon: ({ size }) => /* @__PURE__ */ jsx34(Star_default, { width: size }),
|
|
3266
|
+
name: "Points"
|
|
3267
|
+
});
|
|
3263
3268
|
var SummaryValues = {
|
|
3264
3269
|
Key: {
|
|
3265
3270
|
Bridge,
|
|
@@ -3269,7 +3274,8 @@ var SummaryValues = {
|
|
|
3269
3274
|
Route,
|
|
3270
3275
|
ETA,
|
|
3271
3276
|
RecipientAddress,
|
|
3272
|
-
Fee
|
|
3277
|
+
Fee,
|
|
3278
|
+
Points
|
|
3273
3279
|
},
|
|
3274
3280
|
Values: {
|
|
3275
3281
|
Highlight: ({ children }) => {
|
|
@@ -5196,10 +5202,49 @@ function DropdownMenuSubContent(_a) {
|
|
|
5196
5202
|
);
|
|
5197
5203
|
}
|
|
5198
5204
|
|
|
5205
|
+
// src/@/ui/popover.tsx
|
|
5206
|
+
import * as PopoverPrimitive from "@radix-ui/react-popover";
|
|
5207
|
+
import { jsx as jsx51 } from "react/jsx-runtime";
|
|
5208
|
+
function Popover(_a) {
|
|
5209
|
+
var props = __objRest(_a, []);
|
|
5210
|
+
return /* @__PURE__ */ jsx51(PopoverPrimitive.Root, __spreadValues({ "data-slot": "popover" }, props));
|
|
5211
|
+
}
|
|
5212
|
+
function PopoverTrigger(_a) {
|
|
5213
|
+
var props = __objRest(_a, []);
|
|
5214
|
+
return /* @__PURE__ */ jsx51(PopoverPrimitive.Trigger, __spreadValues({ "data-slot": "popover-trigger" }, props));
|
|
5215
|
+
}
|
|
5216
|
+
function PopoverContent(_a) {
|
|
5217
|
+
var _b = _a, {
|
|
5218
|
+
className,
|
|
5219
|
+
align = "center",
|
|
5220
|
+
sideOffset = 4
|
|
5221
|
+
} = _b, props = __objRest(_b, [
|
|
5222
|
+
"className",
|
|
5223
|
+
"align",
|
|
5224
|
+
"sideOffset"
|
|
5225
|
+
]);
|
|
5226
|
+
return /* @__PURE__ */ jsx51(PopoverPrimitive.Portal, { children: /* @__PURE__ */ jsx51(
|
|
5227
|
+
PopoverPrimitive.Content,
|
|
5228
|
+
__spreadValues({
|
|
5229
|
+
"data-slot": "popover-content",
|
|
5230
|
+
align,
|
|
5231
|
+
sideOffset,
|
|
5232
|
+
className: cn(
|
|
5233
|
+
"bg-popover text-popover-foreground border-0 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 w-72 origin-(--radix-popover-content-transform-origin) rounded-2xl p-4 shadow-md outline-hidden",
|
|
5234
|
+
className
|
|
5235
|
+
)
|
|
5236
|
+
}, props)
|
|
5237
|
+
) });
|
|
5238
|
+
}
|
|
5239
|
+
function PopoverAnchor(_a) {
|
|
5240
|
+
var props = __objRest(_a, []);
|
|
5241
|
+
return /* @__PURE__ */ jsx51(PopoverPrimitive.Anchor, __spreadValues({ "data-slot": "popover-anchor" }, props));
|
|
5242
|
+
}
|
|
5243
|
+
|
|
5199
5244
|
// src/@/ui/badge.tsx
|
|
5200
5245
|
import { Slot as Slot11 } from "@radix-ui/react-slot";
|
|
5201
5246
|
import { cva as cva7 } from "class-variance-authority";
|
|
5202
|
-
import { jsx as
|
|
5247
|
+
import { jsx as jsx52 } from "react/jsx-runtime";
|
|
5203
5248
|
var badgeVariants = cva7(
|
|
5204
5249
|
"inline-flex font-semibold whitespace-nowrap items-center justify-center rounded-full px-2 py-1 text-xs font-medium w-fit whitespace-nowrap shrink-0 [&>svg]:size-3 gap-1 [&>svg]:pointer-events-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive transition-[color,box-shadow] overflow-hidden",
|
|
5205
5250
|
{
|
|
@@ -5232,7 +5277,7 @@ function Badge(_a) {
|
|
|
5232
5277
|
"asChild"
|
|
5233
5278
|
]);
|
|
5234
5279
|
const Comp = asChild ? Slot11 : "span";
|
|
5235
|
-
return /* @__PURE__ */
|
|
5280
|
+
return /* @__PURE__ */ jsx52(
|
|
5236
5281
|
Comp,
|
|
5237
5282
|
__spreadValues({
|
|
5238
5283
|
"data-slot": "badge",
|
|
@@ -5319,6 +5364,10 @@ export {
|
|
|
5319
5364
|
NetworkSelector,
|
|
5320
5365
|
NetworkSwitcher,
|
|
5321
5366
|
NetworkSwitcherButton,
|
|
5367
|
+
Popover,
|
|
5368
|
+
PopoverAnchor,
|
|
5369
|
+
PopoverContent,
|
|
5370
|
+
PopoverTrigger,
|
|
5322
5371
|
ReviewItem,
|
|
5323
5372
|
ReviewItemAddress,
|
|
5324
5373
|
ReviewItemCopyAddressButton,
|