@orderly.network/ui 2.8.14 → 2.9.0-alpha.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/index.css +166 -0
- package/dist/index.css.map +1 -1
- package/dist/index.d.mts +21 -1
- package/dist/index.d.ts +21 -1
- package/dist/index.js +408 -337
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +202 -133
- package/dist/index.mjs.map +1 -1
- package/dist/styles.css +1 -1
- package/package.json +3 -3
- package/tailwind.config.js +2 -1
package/dist/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import
|
|
1
|
+
import * as React70 from 'react';
|
|
2
|
+
import React70__default, { forwardRef, useMemo, useRef, useCallback, useState, useEffect, useId, createContext, Fragment as Fragment$1, memo, useImperativeHandle, useContext, useReducer } from 'react';
|
|
3
3
|
import { createTV, tv as tv$1, cnBase, cn } from 'tailwind-variants';
|
|
4
4
|
export { cnBase as cn } from 'tailwind-variants';
|
|
5
5
|
import { Slot } from '@radix-ui/react-slot';
|
|
@@ -435,7 +435,7 @@ var boxVariants = tv({
|
|
|
435
435
|
__size: false
|
|
436
436
|
}
|
|
437
437
|
});
|
|
438
|
-
var Box =
|
|
438
|
+
var Box = React70__default.forwardRef((props, forwardedRef) => {
|
|
439
439
|
const {
|
|
440
440
|
asChild = false,
|
|
441
441
|
as: TAG = "div",
|
|
@@ -669,7 +669,7 @@ var Spinner = (props) => {
|
|
|
669
669
|
/* @__PURE__ */ jsx("span", { className: "oui-sr-only", children: "Loading..." })
|
|
670
670
|
] });
|
|
671
671
|
};
|
|
672
|
-
var BaseButton =
|
|
672
|
+
var BaseButton = React70__default.forwardRef(
|
|
673
673
|
(props, forwardedRef) => {
|
|
674
674
|
const {
|
|
675
675
|
asChild = false,
|
|
@@ -685,7 +685,7 @@ var BaseButton = React69__default.forwardRef(
|
|
|
685
685
|
const Comp = asChild ? Slot : "button";
|
|
686
686
|
const isDisabled = typeof disabled !== "undefined" ? disabled : loading;
|
|
687
687
|
const iconElement = useMemo(() => {
|
|
688
|
-
return icon ?
|
|
688
|
+
return icon ? React70__default.cloneElement(icon, {
|
|
689
689
|
size: size === "xs" ? 12 : size === "sm" ? 12 : size === "md" ? 14 : size === "lg" ? 16 : size === "xl" ? 18 : 12,
|
|
690
690
|
className: "oui-text-inherit",
|
|
691
691
|
opacity: loading ? 0 : 1
|
|
@@ -935,7 +935,7 @@ var buttonVariants = tv$1(
|
|
|
935
935
|
responsiveVariants: ["md", "lg"]
|
|
936
936
|
}
|
|
937
937
|
);
|
|
938
|
-
var Button =
|
|
938
|
+
var Button = React70__default.forwardRef(
|
|
939
939
|
({
|
|
940
940
|
className,
|
|
941
941
|
variant,
|
|
@@ -968,7 +968,7 @@ var Button = React69__default.forwardRef(
|
|
|
968
968
|
}
|
|
969
969
|
);
|
|
970
970
|
Button.displayName = "Button";
|
|
971
|
-
var ThrottledButton =
|
|
971
|
+
var ThrottledButton = React70__default.forwardRef(({ onClick, throttleDuration = 700, ...props }, ref) => {
|
|
972
972
|
const lastCall = useRef(0);
|
|
973
973
|
const throttle = useCallback(
|
|
974
974
|
(delay, fn) => {
|
|
@@ -1055,7 +1055,7 @@ var gridVariants = tv({
|
|
|
1055
1055
|
// autoFlow: "row",
|
|
1056
1056
|
}
|
|
1057
1057
|
});
|
|
1058
|
-
var Grid =
|
|
1058
|
+
var Grid = React70__default.forwardRef((props, ref) => {
|
|
1059
1059
|
const { className, cols, rows, gap, gapX, gapY, autoFlow, ...rest } = props;
|
|
1060
1060
|
return /* @__PURE__ */ jsx(
|
|
1061
1061
|
Box,
|
|
@@ -1149,7 +1149,7 @@ var iconVariants = tv$1({
|
|
|
1149
1149
|
color: "black"
|
|
1150
1150
|
}
|
|
1151
1151
|
});
|
|
1152
|
-
var BaseIcon =
|
|
1152
|
+
var BaseIcon = React70__default.forwardRef(
|
|
1153
1153
|
(props, ref) => {
|
|
1154
1154
|
const {
|
|
1155
1155
|
size = 24,
|
|
@@ -1211,7 +1211,7 @@ var avatarVariants = tv({
|
|
|
1211
1211
|
size: "sm"
|
|
1212
1212
|
}
|
|
1213
1213
|
});
|
|
1214
|
-
var AvatarBase =
|
|
1214
|
+
var AvatarBase = React70.forwardRef(({ className, size, ...props }, ref) => {
|
|
1215
1215
|
const { root } = avatarVariants({ size });
|
|
1216
1216
|
return /* @__PURE__ */ jsx(
|
|
1217
1217
|
AvatarPrimitive.Root,
|
|
@@ -1223,7 +1223,7 @@ var AvatarBase = React69.forwardRef(({ className, size, ...props }, ref) => {
|
|
|
1223
1223
|
);
|
|
1224
1224
|
});
|
|
1225
1225
|
AvatarBase.displayName = AvatarPrimitive.Root.displayName;
|
|
1226
|
-
var AvatarImage =
|
|
1226
|
+
var AvatarImage = React70.forwardRef(({ className, ...props }, ref) => {
|
|
1227
1227
|
const { image } = avatarVariants();
|
|
1228
1228
|
return /* @__PURE__ */ jsx(
|
|
1229
1229
|
AvatarPrimitive.Image,
|
|
@@ -1235,12 +1235,12 @@ var AvatarImage = React69.forwardRef(({ className, ...props }, ref) => {
|
|
|
1235
1235
|
);
|
|
1236
1236
|
});
|
|
1237
1237
|
AvatarImage.displayName = AvatarPrimitive.Image.displayName;
|
|
1238
|
-
var AvatarFallback =
|
|
1238
|
+
var AvatarFallback = React70.forwardRef(({ className, ...props }, ref) => {
|
|
1239
1239
|
const { fallback } = avatarVariants({ className });
|
|
1240
1240
|
return /* @__PURE__ */ jsx(AvatarPrimitive.Fallback, { ref, className: fallback(), ...props });
|
|
1241
1241
|
});
|
|
1242
1242
|
AvatarFallback.displayName = AvatarPrimitive.Fallback.displayName;
|
|
1243
|
-
var Avatar =
|
|
1243
|
+
var Avatar = React70.forwardRef((props, ref) => {
|
|
1244
1244
|
const { size, src, fallback, delayMs, alt, onLoadingStatusChange, ...rest } = props;
|
|
1245
1245
|
return /* @__PURE__ */ jsxs(AvatarBase, { ...rest, ref, size, children: [
|
|
1246
1246
|
/* @__PURE__ */ jsx(
|
|
@@ -1254,7 +1254,7 @@ var Avatar = React69.forwardRef((props, ref) => {
|
|
|
1254
1254
|
typeof fallback !== "undefined" && /* @__PURE__ */ jsx(AvatarFallback, { delayMs, children: fallback })
|
|
1255
1255
|
] });
|
|
1256
1256
|
});
|
|
1257
|
-
var EVMAvatar =
|
|
1257
|
+
var EVMAvatar = React70.forwardRef((props, ref) => {
|
|
1258
1258
|
const { address, ...rest } = props;
|
|
1259
1259
|
const src = useMemo(() => makeBlockie(address), [props.address]);
|
|
1260
1260
|
return /* @__PURE__ */ jsx(Avatar, { ...rest, src });
|
|
@@ -1321,7 +1321,7 @@ var CombineIcon = (props) => {
|
|
|
1321
1321
|
subElement
|
|
1322
1322
|
] });
|
|
1323
1323
|
};
|
|
1324
|
-
var CloseIcon =
|
|
1324
|
+
var CloseIcon = React70__default.forwardRef(
|
|
1325
1325
|
(props, ref) => {
|
|
1326
1326
|
const { opacity = 0.54, ...rest } = props;
|
|
1327
1327
|
return /* @__PURE__ */ jsx(BaseIcon, { ref, ...rest, children: /* @__PURE__ */ jsx(
|
|
@@ -1335,7 +1335,7 @@ var CloseIcon = React69__default.forwardRef(
|
|
|
1335
1335
|
}
|
|
1336
1336
|
);
|
|
1337
1337
|
CloseIcon.displayName = "CloseIcon";
|
|
1338
|
-
var BaseIconWithPath =
|
|
1338
|
+
var BaseIconWithPath = React70__default.forwardRef((props, ref) => {
|
|
1339
1339
|
const { opacity = 0.54, d, ...rest } = props;
|
|
1340
1340
|
return /* @__PURE__ */ jsx(BaseIcon, { ref, ...rest, children: /* @__PURE__ */ jsx(
|
|
1341
1341
|
"path",
|
|
@@ -1348,7 +1348,7 @@ var BaseIconWithPath = React69__default.forwardRef((props, ref) => {
|
|
|
1348
1348
|
}
|
|
1349
1349
|
) });
|
|
1350
1350
|
});
|
|
1351
|
-
var CheckIcon =
|
|
1351
|
+
var CheckIcon = React70__default.forwardRef(
|
|
1352
1352
|
(props, ref) => {
|
|
1353
1353
|
const { opacity = 0.54, ...rest } = props;
|
|
1354
1354
|
return /* @__PURE__ */ jsx(
|
|
@@ -1362,7 +1362,7 @@ var CheckIcon = React69__default.forwardRef(
|
|
|
1362
1362
|
}
|
|
1363
1363
|
);
|
|
1364
1364
|
CheckIcon.displayName = "CheckIcon";
|
|
1365
|
-
var ChevronDownIcon =
|
|
1365
|
+
var ChevronDownIcon = React70__default.forwardRef(
|
|
1366
1366
|
(props, ref) => {
|
|
1367
1367
|
const { opacity = 0.54, ...rest } = props;
|
|
1368
1368
|
return /* @__PURE__ */ jsx(BaseIcon, { ref, ...rest, children: /* @__PURE__ */ jsx(
|
|
@@ -1376,7 +1376,7 @@ var ChevronDownIcon = React69__default.forwardRef(
|
|
|
1376
1376
|
}
|
|
1377
1377
|
);
|
|
1378
1378
|
ChevronDownIcon.displayName = "ChevronDownIcon";
|
|
1379
|
-
var ChevronUpIcon =
|
|
1379
|
+
var ChevronUpIcon = React70__default.forwardRef(
|
|
1380
1380
|
(props, ref) => {
|
|
1381
1381
|
const { opacity = 0.54, ...rest } = props;
|
|
1382
1382
|
return /* @__PURE__ */ jsx(BaseIcon, { ref, ...rest, children: /* @__PURE__ */ jsx(
|
|
@@ -1390,7 +1390,7 @@ var ChevronUpIcon = React69__default.forwardRef(
|
|
|
1390
1390
|
}
|
|
1391
1391
|
);
|
|
1392
1392
|
ChevronUpIcon.displayName = "ChevronUpIcon";
|
|
1393
|
-
var CaretUpIcon =
|
|
1393
|
+
var CaretUpIcon = React70__default.forwardRef(
|
|
1394
1394
|
(props, ref) => {
|
|
1395
1395
|
const { opacity = 0.54, ...rest } = props;
|
|
1396
1396
|
return /* @__PURE__ */ jsx(BaseIcon, { ref, ...rest, children: /* @__PURE__ */ jsx(
|
|
@@ -1404,7 +1404,7 @@ var CaretUpIcon = React69__default.forwardRef(
|
|
|
1404
1404
|
}
|
|
1405
1405
|
);
|
|
1406
1406
|
CaretUpIcon.displayName = "CaretUpIcon";
|
|
1407
|
-
var CaretDownIcon =
|
|
1407
|
+
var CaretDownIcon = React70__default.forwardRef(
|
|
1408
1408
|
(props, ref) => {
|
|
1409
1409
|
return /* @__PURE__ */ jsx(
|
|
1410
1410
|
BaseIconWithPath,
|
|
@@ -1417,7 +1417,7 @@ var CaretDownIcon = React69__default.forwardRef(
|
|
|
1417
1417
|
}
|
|
1418
1418
|
);
|
|
1419
1419
|
CaretDownIcon.displayName = "CaretDownIcon";
|
|
1420
|
-
var CaretLeftIcon =
|
|
1420
|
+
var CaretLeftIcon = React70__default.forwardRef(
|
|
1421
1421
|
(props, ref) => {
|
|
1422
1422
|
const { opacity = 0.54, ...rest } = props;
|
|
1423
1423
|
return /* @__PURE__ */ jsx(BaseIcon, { ref, ...rest, children: /* @__PURE__ */ jsx(
|
|
@@ -1431,7 +1431,7 @@ var CaretLeftIcon = React69__default.forwardRef(
|
|
|
1431
1431
|
}
|
|
1432
1432
|
);
|
|
1433
1433
|
CaretLeftIcon.displayName = "CaretLeftIcon";
|
|
1434
|
-
var CaretRightIcon =
|
|
1434
|
+
var CaretRightIcon = React70__default.forwardRef(
|
|
1435
1435
|
(props, ref) => {
|
|
1436
1436
|
const { opacity = 0.54, ...rest } = props;
|
|
1437
1437
|
return /* @__PURE__ */ jsx(BaseIcon, { ref, ...rest, children: /* @__PURE__ */ jsx(
|
|
@@ -1445,7 +1445,7 @@ var CaretRightIcon = React69__default.forwardRef(
|
|
|
1445
1445
|
}
|
|
1446
1446
|
);
|
|
1447
1447
|
CaretRightIcon.displayName = "CaretRightIcon";
|
|
1448
|
-
var ChevronLeftIcon =
|
|
1448
|
+
var ChevronLeftIcon = React70__default.forwardRef(
|
|
1449
1449
|
(props, ref) => {
|
|
1450
1450
|
return /* @__PURE__ */ jsx(
|
|
1451
1451
|
BaseIconWithPath,
|
|
@@ -1458,7 +1458,7 @@ var ChevronLeftIcon = React69__default.forwardRef(
|
|
|
1458
1458
|
}
|
|
1459
1459
|
);
|
|
1460
1460
|
ChevronLeftIcon.displayName = "ChevronLeftIcon";
|
|
1461
|
-
var ChevronRightIcon =
|
|
1461
|
+
var ChevronRightIcon = React70__default.forwardRef(
|
|
1462
1462
|
(props, ref) => {
|
|
1463
1463
|
const { opacity = 0.54, ...rest } = props;
|
|
1464
1464
|
return /* @__PURE__ */ jsx(BaseIcon, { ref, ...rest, children: /* @__PURE__ */ jsx(
|
|
@@ -1472,7 +1472,7 @@ var ChevronRightIcon = React69__default.forwardRef(
|
|
|
1472
1472
|
}
|
|
1473
1473
|
);
|
|
1474
1474
|
ChevronRightIcon.displayName = "ChevronRightIcon";
|
|
1475
|
-
var CalendarMinusIcon =
|
|
1475
|
+
var CalendarMinusIcon = React70__default.forwardRef(
|
|
1476
1476
|
(props, ref) => {
|
|
1477
1477
|
return /* @__PURE__ */ jsx(
|
|
1478
1478
|
BaseIconWithPath,
|
|
@@ -1485,7 +1485,7 @@ var CalendarMinusIcon = React69__default.forwardRef(
|
|
|
1485
1485
|
}
|
|
1486
1486
|
);
|
|
1487
1487
|
CalendarMinusIcon.displayName = "CalendarMinusIcon";
|
|
1488
|
-
var SettingIcon =
|
|
1488
|
+
var SettingIcon = React70__default.forwardRef(
|
|
1489
1489
|
(props, ref) => {
|
|
1490
1490
|
const { opacity = 0.54, ...rest } = props;
|
|
1491
1491
|
return /* @__PURE__ */ jsx(BaseIcon, { ref, ...rest, children: /* @__PURE__ */ jsx(
|
|
@@ -1499,7 +1499,7 @@ var SettingIcon = React69__default.forwardRef(
|
|
|
1499
1499
|
}
|
|
1500
1500
|
);
|
|
1501
1501
|
SettingIcon.displayName = "SettingIcon";
|
|
1502
|
-
var CloseSquareFillIcon =
|
|
1502
|
+
var CloseSquareFillIcon = React70__default.forwardRef((props, ref) => {
|
|
1503
1503
|
const { opacity = 0.54, ...rest } = props;
|
|
1504
1504
|
return /* @__PURE__ */ jsx(BaseIcon, { ref, ...rest, children: /* @__PURE__ */ jsx(
|
|
1505
1505
|
"path",
|
|
@@ -1511,7 +1511,7 @@ var CloseSquareFillIcon = React69__default.forwardRef((props, ref) => {
|
|
|
1511
1511
|
) });
|
|
1512
1512
|
});
|
|
1513
1513
|
CloseSquareFillIcon.displayName = "CloseSquareFillIcon";
|
|
1514
|
-
var CloseCircleFillIcon =
|
|
1514
|
+
var CloseCircleFillIcon = React70__default.forwardRef((props, ref) => {
|
|
1515
1515
|
const { opacity = 0.54, ...rest } = props;
|
|
1516
1516
|
return /* @__PURE__ */ jsx(BaseIcon, { ref, ...rest, children: /* @__PURE__ */ jsx(
|
|
1517
1517
|
"path",
|
|
@@ -1523,7 +1523,7 @@ var CloseCircleFillIcon = React69__default.forwardRef((props, ref) => {
|
|
|
1523
1523
|
) });
|
|
1524
1524
|
});
|
|
1525
1525
|
CloseCircleFillIcon.displayName = "CloseCircleFillIcon";
|
|
1526
|
-
var CheckedCircleFillIcon =
|
|
1526
|
+
var CheckedCircleFillIcon = React70__default.forwardRef((props, ref) => {
|
|
1527
1527
|
return /* @__PURE__ */ jsx(
|
|
1528
1528
|
BaseIconWithPath,
|
|
1529
1529
|
{
|
|
@@ -1534,7 +1534,7 @@ var CheckedCircleFillIcon = React69__default.forwardRef((props, ref) => {
|
|
|
1534
1534
|
);
|
|
1535
1535
|
});
|
|
1536
1536
|
CheckedCircleFillIcon.displayName = "CheckedCircleFillIcon";
|
|
1537
|
-
var CheckedSquareFillIcon =
|
|
1537
|
+
var CheckedSquareFillIcon = React70__default.forwardRef((props, ref) => {
|
|
1538
1538
|
const { opacity = 0.54, ...rest } = props;
|
|
1539
1539
|
return /* @__PURE__ */ jsx(BaseIcon, { ref, ...rest, children: /* @__PURE__ */ jsx(
|
|
1540
1540
|
"path",
|
|
@@ -1548,7 +1548,7 @@ var CheckedSquareFillIcon = React69__default.forwardRef((props, ref) => {
|
|
|
1548
1548
|
) });
|
|
1549
1549
|
});
|
|
1550
1550
|
CheckedSquareFillIcon.displayName = "CheckSquareFillIcon";
|
|
1551
|
-
var CheckSquareEmptyIcon =
|
|
1551
|
+
var CheckSquareEmptyIcon = React70__default.forwardRef(
|
|
1552
1552
|
(props, ref) => {
|
|
1553
1553
|
const { opacity = 0.54, ...rest } = props;
|
|
1554
1554
|
return /* @__PURE__ */ jsx(BaseIcon, { ref, ...rest, children: /* @__PURE__ */ jsx(
|
|
@@ -1564,7 +1564,7 @@ var CheckSquareEmptyIcon = React69__default.forwardRef(
|
|
|
1564
1564
|
}
|
|
1565
1565
|
);
|
|
1566
1566
|
CheckSquareEmptyIcon.displayName = "CheckSquareEmptyIcon";
|
|
1567
|
-
var PlusIcon =
|
|
1567
|
+
var PlusIcon = React70__default.forwardRef(
|
|
1568
1568
|
(props, ref) => {
|
|
1569
1569
|
const { opacity = 0.54, ...rest } = props;
|
|
1570
1570
|
return /* @__PURE__ */ jsx(BaseIcon, { ref, ...rest, children: /* @__PURE__ */ jsx(
|
|
@@ -1578,7 +1578,7 @@ var PlusIcon = React69__default.forwardRef(
|
|
|
1578
1578
|
}
|
|
1579
1579
|
);
|
|
1580
1580
|
PlusIcon.displayName = "PlusIcon";
|
|
1581
|
-
var ReduceIcon =
|
|
1581
|
+
var ReduceIcon = React70__default.forwardRef(
|
|
1582
1582
|
(props, ref) => {
|
|
1583
1583
|
const { opacity = 0.54, ...rest } = props;
|
|
1584
1584
|
return /* @__PURE__ */ jsx(BaseIcon, { ref, ...rest, children: /* @__PURE__ */ jsx(
|
|
@@ -1596,7 +1596,7 @@ var ReduceIcon = React69__default.forwardRef(
|
|
|
1596
1596
|
}
|
|
1597
1597
|
);
|
|
1598
1598
|
ReduceIcon.displayName = "ReduceIcon";
|
|
1599
|
-
var CircleOutlinedIcon =
|
|
1599
|
+
var CircleOutlinedIcon = React70__default.forwardRef((props, ref) => {
|
|
1600
1600
|
const { opacity = 0.54, ...rest } = props;
|
|
1601
1601
|
return /* @__PURE__ */ jsx(BaseIcon, { ref, ...rest, children: /* @__PURE__ */ jsx(
|
|
1602
1602
|
"path",
|
|
@@ -1608,7 +1608,7 @@ var CircleOutlinedIcon = React69__default.forwardRef((props, ref) => {
|
|
|
1608
1608
|
) });
|
|
1609
1609
|
});
|
|
1610
1610
|
CircleOutlinedIcon.displayName = "CircleOutlinedIcon";
|
|
1611
|
-
var SquareOutlinedIcon =
|
|
1611
|
+
var SquareOutlinedIcon = React70__default.forwardRef((props, ref) => {
|
|
1612
1612
|
const { opacity = 0.54, ...rest } = props;
|
|
1613
1613
|
return /* @__PURE__ */ jsx(BaseIcon, { ref, ...rest, children: /* @__PURE__ */ jsx(
|
|
1614
1614
|
"path",
|
|
@@ -1620,7 +1620,7 @@ var SquareOutlinedIcon = React69__default.forwardRef((props, ref) => {
|
|
|
1620
1620
|
) });
|
|
1621
1621
|
});
|
|
1622
1622
|
SquareOutlinedIcon.displayName = "SquareOutlinedIcon";
|
|
1623
|
-
var ExclamationFillIcon =
|
|
1623
|
+
var ExclamationFillIcon = React70__default.forwardRef((props, ref) => {
|
|
1624
1624
|
const { ...rest } = props;
|
|
1625
1625
|
return /* @__PURE__ */ jsx(BaseIcon, { ref, ...rest, children: /* @__PURE__ */ jsx(
|
|
1626
1626
|
"path",
|
|
@@ -1631,7 +1631,7 @@ var ExclamationFillIcon = React69__default.forwardRef((props, ref) => {
|
|
|
1631
1631
|
) });
|
|
1632
1632
|
});
|
|
1633
1633
|
ExclamationFillIcon.displayName = "ExclamationFillIcon";
|
|
1634
|
-
var QuestionFillIcon =
|
|
1634
|
+
var QuestionFillIcon = React70__default.forwardRef(
|
|
1635
1635
|
(props, ref) => {
|
|
1636
1636
|
const { opacity = 0.54, ...rest } = props;
|
|
1637
1637
|
return /* @__PURE__ */ jsx(BaseIcon, { ref, ...rest, children: /* @__PURE__ */ jsx(
|
|
@@ -1645,7 +1645,7 @@ var QuestionFillIcon = React69__default.forwardRef(
|
|
|
1645
1645
|
}
|
|
1646
1646
|
);
|
|
1647
1647
|
QuestionFillIcon.displayName = "ExclamationFillIcon";
|
|
1648
|
-
var ArrowLeftRightIcon =
|
|
1648
|
+
var ArrowLeftRightIcon = React70__default.forwardRef((props, ref) => {
|
|
1649
1649
|
return /* @__PURE__ */ jsx(
|
|
1650
1650
|
BaseIconWithPath,
|
|
1651
1651
|
{
|
|
@@ -1656,7 +1656,7 @@ var ArrowLeftRightIcon = React69__default.forwardRef((props, ref) => {
|
|
|
1656
1656
|
);
|
|
1657
1657
|
});
|
|
1658
1658
|
ArrowLeftRightIcon.displayName = "ArrowLeftRightIcon";
|
|
1659
|
-
var ArrowDownUpIcon =
|
|
1659
|
+
var ArrowDownUpIcon = React70__default.forwardRef(
|
|
1660
1660
|
(props, ref) => {
|
|
1661
1661
|
return /* @__PURE__ */ jsx(
|
|
1662
1662
|
BaseIconWithPath,
|
|
@@ -1669,7 +1669,7 @@ var ArrowDownUpIcon = React69__default.forwardRef(
|
|
|
1669
1669
|
}
|
|
1670
1670
|
);
|
|
1671
1671
|
ArrowDownUpIcon.displayName = "ArrowDownUpIconIcon";
|
|
1672
|
-
var ArrowUpSquareFillIcon =
|
|
1672
|
+
var ArrowUpSquareFillIcon = React70__default.forwardRef((props, ref) => {
|
|
1673
1673
|
return /* @__PURE__ */ jsx(
|
|
1674
1674
|
BaseIconWithPath,
|
|
1675
1675
|
{
|
|
@@ -1680,7 +1680,7 @@ var ArrowUpSquareFillIcon = React69__default.forwardRef((props, ref) => {
|
|
|
1680
1680
|
);
|
|
1681
1681
|
});
|
|
1682
1682
|
ArrowUpSquareFillIcon.displayName = "ArrowUpSquareFillIconIcon";
|
|
1683
|
-
var ArrowDownSquareFillIcon =
|
|
1683
|
+
var ArrowDownSquareFillIcon = React70__default.forwardRef((props, ref) => {
|
|
1684
1684
|
const { opacity = 0.54, ...rest } = props;
|
|
1685
1685
|
return /* @__PURE__ */ jsx(BaseIcon, { ref, ...rest, children: /* @__PURE__ */ jsx(
|
|
1686
1686
|
"path",
|
|
@@ -1692,7 +1692,7 @@ var ArrowDownSquareFillIcon = React69__default.forwardRef((props, ref) => {
|
|
|
1692
1692
|
) });
|
|
1693
1693
|
});
|
|
1694
1694
|
ArrowDownSquareFillIcon.displayName = "ArrowDownSquareFillIconIcon";
|
|
1695
|
-
var ArrowLeftRightSquareFill =
|
|
1695
|
+
var ArrowLeftRightSquareFill = React70__default.forwardRef((props, ref) => {
|
|
1696
1696
|
return /* @__PURE__ */ jsx(
|
|
1697
1697
|
"svg",
|
|
1698
1698
|
{
|
|
@@ -1718,7 +1718,7 @@ var ArrowLeftRightSquareFill = React69__default.forwardRef((props, ref) => {
|
|
|
1718
1718
|
if (process.env.NODE_ENV !== "production") {
|
|
1719
1719
|
ArrowLeftRightSquareFill.displayName = "ArrowLeftRightSquareFill";
|
|
1720
1720
|
}
|
|
1721
|
-
var ArrowRightUpSquareFillIcon =
|
|
1721
|
+
var ArrowRightUpSquareFillIcon = React70__default.forwardRef((props, ref) => {
|
|
1722
1722
|
return /* @__PURE__ */ jsx(
|
|
1723
1723
|
BaseIconWithPath,
|
|
1724
1724
|
{
|
|
@@ -1894,7 +1894,7 @@ var BattleSolidInactiveIcon = (props) => {
|
|
|
1894
1894
|
}
|
|
1895
1895
|
) });
|
|
1896
1896
|
};
|
|
1897
|
-
var FeeTierIcon =
|
|
1897
|
+
var FeeTierIcon = React70__default.forwardRef(
|
|
1898
1898
|
(props, ref) => {
|
|
1899
1899
|
return /* @__PURE__ */ jsx(
|
|
1900
1900
|
BaseIconWithPath,
|
|
@@ -1963,7 +1963,7 @@ var EarnInactiveIcon = (props) => {
|
|
|
1963
1963
|
)
|
|
1964
1964
|
] }) });
|
|
1965
1965
|
};
|
|
1966
|
-
var EditIcon =
|
|
1966
|
+
var EditIcon = React70__default.forwardRef(
|
|
1967
1967
|
(props, ref) => {
|
|
1968
1968
|
const { opacity = 0.54, ...rest } = props;
|
|
1969
1969
|
return /* @__PURE__ */ jsx(BaseIcon, { ref, ...rest, children: /* @__PURE__ */ jsx(
|
|
@@ -1977,7 +1977,7 @@ var EditIcon = React69__default.forwardRef(
|
|
|
1977
1977
|
}
|
|
1978
1978
|
);
|
|
1979
1979
|
EditIcon.displayName = "EditIcon";
|
|
1980
|
-
var EyeIcon =
|
|
1980
|
+
var EyeIcon = React70__default.forwardRef(
|
|
1981
1981
|
(props, ref) => {
|
|
1982
1982
|
const { opacity = 0.54, ...rest } = props;
|
|
1983
1983
|
return /* @__PURE__ */ jsx(BaseIcon, { ref, ...rest, children: /* @__PURE__ */ jsx(
|
|
@@ -1991,7 +1991,7 @@ var EyeIcon = React69__default.forwardRef(
|
|
|
1991
1991
|
}
|
|
1992
1992
|
);
|
|
1993
1993
|
EyeIcon.displayName = "EyeIcon";
|
|
1994
|
-
var ShareIcon =
|
|
1994
|
+
var ShareIcon = React70__default.forwardRef(
|
|
1995
1995
|
(props, ref) => {
|
|
1996
1996
|
const { opacity = 0.54, ...rest } = props;
|
|
1997
1997
|
return /* @__PURE__ */ jsx(BaseIcon, { ref, ...rest, children: /* @__PURE__ */ jsx(
|
|
@@ -2005,7 +2005,7 @@ var ShareIcon = React69__default.forwardRef(
|
|
|
2005
2005
|
}
|
|
2006
2006
|
);
|
|
2007
2007
|
ShareIcon.displayName = "ShareIcon";
|
|
2008
|
-
var EyeCloseIcon =
|
|
2008
|
+
var EyeCloseIcon = React70__default.forwardRef(
|
|
2009
2009
|
(props, ref) => {
|
|
2010
2010
|
const { opacity = 0.54, ...rest } = props;
|
|
2011
2011
|
return /* @__PURE__ */ jsx(BaseIcon, { ref, ...rest, children: /* @__PURE__ */ jsx(
|
|
@@ -2019,7 +2019,7 @@ var EyeCloseIcon = React69__default.forwardRef(
|
|
|
2019
2019
|
}
|
|
2020
2020
|
);
|
|
2021
2021
|
EyeCloseIcon.displayName = "EyeCloseIcon";
|
|
2022
|
-
var RefreshIcon =
|
|
2022
|
+
var RefreshIcon = React70__default.forwardRef(
|
|
2023
2023
|
(props, ref) => {
|
|
2024
2024
|
const { opacity = 0.54, ...rest } = props;
|
|
2025
2025
|
return /* @__PURE__ */ jsx(BaseIcon, { ref, ...rest, children: /* @__PURE__ */ jsx(
|
|
@@ -2177,7 +2177,7 @@ var EsOrderlyIcon = (props) => {
|
|
|
2177
2177
|
}
|
|
2178
2178
|
);
|
|
2179
2179
|
};
|
|
2180
|
-
var InfoCircleIcon =
|
|
2180
|
+
var InfoCircleIcon = React70__default.forwardRef(
|
|
2181
2181
|
(props, ref) => {
|
|
2182
2182
|
const { className, opacity = 0.36, ...rest } = props;
|
|
2183
2183
|
return /* @__PURE__ */ jsx(
|
|
@@ -2211,7 +2211,7 @@ var WalletIcon = (props) => {
|
|
|
2211
2211
|
}, [props.name]);
|
|
2212
2212
|
return /* @__PURE__ */ jsx(Avatar, { size: props.size, src: url, alt: `${props.name}` });
|
|
2213
2213
|
};
|
|
2214
|
-
var CalendarIcon =
|
|
2214
|
+
var CalendarIcon = React70__default.forwardRef(
|
|
2215
2215
|
(props, ref) => {
|
|
2216
2216
|
return /* @__PURE__ */ jsx(
|
|
2217
2217
|
BaseIconWithPath,
|
|
@@ -2224,7 +2224,7 @@ var CalendarIcon = React69__default.forwardRef(
|
|
|
2224
2224
|
}
|
|
2225
2225
|
);
|
|
2226
2226
|
CalendarIcon.displayName = "CaretLeftIcon";
|
|
2227
|
-
var CopyIcon =
|
|
2227
|
+
var CopyIcon = React70__default.forwardRef(
|
|
2228
2228
|
(props, ref) => {
|
|
2229
2229
|
return /* @__PURE__ */ jsx(
|
|
2230
2230
|
BaseIconWithPath,
|
|
@@ -2237,7 +2237,7 @@ var CopyIcon = React69__default.forwardRef(
|
|
|
2237
2237
|
}
|
|
2238
2238
|
);
|
|
2239
2239
|
CopyIcon.displayName = "CopyIcon";
|
|
2240
|
-
var ServerFillIcon =
|
|
2240
|
+
var ServerFillIcon = React70__default.forwardRef(
|
|
2241
2241
|
(props, ref) => {
|
|
2242
2242
|
return /* @__PURE__ */ jsx(
|
|
2243
2243
|
BaseIconWithPath,
|
|
@@ -2250,7 +2250,7 @@ var ServerFillIcon = React69__default.forwardRef(
|
|
|
2250
2250
|
}
|
|
2251
2251
|
);
|
|
2252
2252
|
ServerFillIcon.displayName = "ServerFillIcon";
|
|
2253
|
-
var SortingAscIcon =
|
|
2253
|
+
var SortingAscIcon = React70__default.forwardRef(
|
|
2254
2254
|
(props, ref) => {
|
|
2255
2255
|
const { opacity = 0.54, ...rest } = props;
|
|
2256
2256
|
return /* @__PURE__ */ jsxs(BaseIcon, { ref, ...rest, children: [
|
|
@@ -2274,7 +2274,7 @@ var SortingAscIcon = React69__default.forwardRef(
|
|
|
2274
2274
|
}
|
|
2275
2275
|
);
|
|
2276
2276
|
SortingAscIcon.displayName = "SortingAscIcon";
|
|
2277
|
-
var SortingDescIcon =
|
|
2277
|
+
var SortingDescIcon = React70__default.forwardRef(
|
|
2278
2278
|
(props, ref) => {
|
|
2279
2279
|
const { opacity = 0.54, ...rest } = props;
|
|
2280
2280
|
return /* @__PURE__ */ jsxs(BaseIcon, { ref, ...rest, children: [
|
|
@@ -2298,7 +2298,7 @@ var SortingDescIcon = React69__default.forwardRef(
|
|
|
2298
2298
|
}
|
|
2299
2299
|
);
|
|
2300
2300
|
SortingDescIcon.displayName = "SortingDescIcon";
|
|
2301
|
-
var ArrowUpShortIcon =
|
|
2301
|
+
var ArrowUpShortIcon = React70__default.forwardRef(
|
|
2302
2302
|
(props, ref) => {
|
|
2303
2303
|
return /* @__PURE__ */ jsx(
|
|
2304
2304
|
BaseIconWithPath,
|
|
@@ -2310,7 +2310,7 @@ var ArrowUpShortIcon = React69__default.forwardRef(
|
|
|
2310
2310
|
);
|
|
2311
2311
|
}
|
|
2312
2312
|
);
|
|
2313
|
-
var ArrowDownShortIcon =
|
|
2313
|
+
var ArrowDownShortIcon = React70__default.forwardRef(
|
|
2314
2314
|
(props, ref) => {
|
|
2315
2315
|
return /* @__PURE__ */ jsx(
|
|
2316
2316
|
BaseIconWithPath,
|
|
@@ -2322,7 +2322,7 @@ var ArrowDownShortIcon = React69__default.forwardRef(
|
|
|
2322
2322
|
);
|
|
2323
2323
|
}
|
|
2324
2324
|
);
|
|
2325
|
-
var ArrowLeftShortIcon =
|
|
2325
|
+
var ArrowLeftShortIcon = React70__default.forwardRef(
|
|
2326
2326
|
(props, ref) => {
|
|
2327
2327
|
return /* @__PURE__ */ jsx(
|
|
2328
2328
|
BaseIconWithPath,
|
|
@@ -2334,7 +2334,7 @@ var ArrowLeftShortIcon = React69__default.forwardRef(
|
|
|
2334
2334
|
);
|
|
2335
2335
|
}
|
|
2336
2336
|
);
|
|
2337
|
-
var ArrowRightShortIcon =
|
|
2337
|
+
var ArrowRightShortIcon = React70__default.forwardRef(
|
|
2338
2338
|
(props, ref) => {
|
|
2339
2339
|
return /* @__PURE__ */ jsx(
|
|
2340
2340
|
BaseIconWithPath,
|
|
@@ -2350,7 +2350,7 @@ ArrowUpShortIcon.displayName = "ArrowUpShortIcon";
|
|
|
2350
2350
|
ArrowDownShortIcon.displayName = "ArrowDownShortIcon";
|
|
2351
2351
|
ArrowLeftShortIcon.displayName = "ArrowLeftShortIcon";
|
|
2352
2352
|
ArrowRightShortIcon.displayName = "ArrowRightShortIcon";
|
|
2353
|
-
var SortingIcon =
|
|
2353
|
+
var SortingIcon = React70__default.forwardRef(
|
|
2354
2354
|
(props, ref) => {
|
|
2355
2355
|
const { opacity = 0.54, ...rest } = props;
|
|
2356
2356
|
return /* @__PURE__ */ jsx(BaseIcon, { ref, ...rest, children: /* @__PURE__ */ jsx(
|
|
@@ -3396,7 +3396,7 @@ var StarChildChatInactiveIcon = (props) => {
|
|
|
3396
3396
|
)
|
|
3397
3397
|
] });
|
|
3398
3398
|
};
|
|
3399
|
-
var CloseRoundFillIcon =
|
|
3399
|
+
var CloseRoundFillIcon = React70__default.forwardRef((props, ref) => {
|
|
3400
3400
|
const { opacity = 0.54, ...rest } = props;
|
|
3401
3401
|
return /* @__PURE__ */ jsx(BaseIcon, { ref, ...rest, viewBox: "0 0 28 28", children: /* @__PURE__ */ jsx(
|
|
3402
3402
|
"path",
|
|
@@ -3596,7 +3596,7 @@ function EmptyStateIcon() {
|
|
|
3596
3596
|
);
|
|
3597
3597
|
}
|
|
3598
3598
|
var emptyData_default = EmptyStateIcon;
|
|
3599
|
-
var VectorIcon =
|
|
3599
|
+
var VectorIcon = React70__default.forwardRef(
|
|
3600
3600
|
(props, ref) => {
|
|
3601
3601
|
return /* @__PURE__ */ jsx(
|
|
3602
3602
|
"svg",
|
|
@@ -3694,7 +3694,7 @@ var PersonIcon = () => {
|
|
|
3694
3694
|
}
|
|
3695
3695
|
);
|
|
3696
3696
|
};
|
|
3697
|
-
var SettingFillIcon =
|
|
3697
|
+
var SettingFillIcon = React70__default.forwardRef(
|
|
3698
3698
|
(props, ref) => {
|
|
3699
3699
|
const { opacity = 0.54, ...rest } = props;
|
|
3700
3700
|
return /* @__PURE__ */ jsx(BaseIcon, { ref, ...rest, children: /* @__PURE__ */ jsx(
|
|
@@ -3729,7 +3729,7 @@ var TradingLeftNavIcon = (props) => {
|
|
|
3729
3729
|
}
|
|
3730
3730
|
);
|
|
3731
3731
|
};
|
|
3732
|
-
var VaultsIcon =
|
|
3732
|
+
var VaultsIcon = React70__default.forwardRef(
|
|
3733
3733
|
(props, ref) => {
|
|
3734
3734
|
return /* @__PURE__ */ jsxs(
|
|
3735
3735
|
"svg",
|
|
@@ -3800,7 +3800,7 @@ var LeftNavVaultsIcon = forwardRef(
|
|
|
3800
3800
|
if (process.env.NODE_ENV !== "production") {
|
|
3801
3801
|
LeftNavVaultsIcon.displayName = "LeftNavVaultsIcon";
|
|
3802
3802
|
}
|
|
3803
|
-
var NewsFillIcon =
|
|
3803
|
+
var NewsFillIcon = React70__default.forwardRef(
|
|
3804
3804
|
(props, ref) => {
|
|
3805
3805
|
const { opacity = 1, ...rest } = props;
|
|
3806
3806
|
return /* @__PURE__ */ jsx(BaseIcon, { ref, ...rest, children: /* @__PURE__ */ jsx(
|
|
@@ -3814,7 +3814,7 @@ var NewsFillIcon = React69__default.forwardRef(
|
|
|
3814
3814
|
}
|
|
3815
3815
|
);
|
|
3816
3816
|
NewsFillIcon.displayName = "NewsFillIcon";
|
|
3817
|
-
var BellIcon =
|
|
3817
|
+
var BellIcon = React70__default.forwardRef(
|
|
3818
3818
|
(props, ref) => {
|
|
3819
3819
|
return /* @__PURE__ */ jsx(
|
|
3820
3820
|
BaseIconWithPath,
|
|
@@ -3895,7 +3895,7 @@ var ReferralSolidIcon = (props) => {
|
|
|
3895
3895
|
}
|
|
3896
3896
|
) });
|
|
3897
3897
|
};
|
|
3898
|
-
var AddCircleIcon =
|
|
3898
|
+
var AddCircleIcon = React70__default.forwardRef(
|
|
3899
3899
|
(props, ref) => {
|
|
3900
3900
|
const { className, opacity = 0.54, ...rest } = props;
|
|
3901
3901
|
return /* @__PURE__ */ jsxs(
|
|
@@ -3931,7 +3931,24 @@ var AddCircleIcon = React69__default.forwardRef(
|
|
|
3931
3931
|
}
|
|
3932
3932
|
);
|
|
3933
3933
|
AddCircleIcon.displayName = "AddCircleIcon";
|
|
3934
|
-
var
|
|
3934
|
+
var WarningIcon = React70__default.forwardRef(
|
|
3935
|
+
(props, ref) => {
|
|
3936
|
+
return /* @__PURE__ */ jsx(
|
|
3937
|
+
"svg",
|
|
3938
|
+
{
|
|
3939
|
+
width: 20,
|
|
3940
|
+
height: 20,
|
|
3941
|
+
viewBox: "0 0 20 20",
|
|
3942
|
+
fill: "currentColor",
|
|
3943
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
3944
|
+
ref,
|
|
3945
|
+
...props,
|
|
3946
|
+
children: /* @__PURE__ */ jsx("path", { d: "M10.012 1.666a8.333 8.333 0 1 0 0 16.667 8.333 8.333 0 1 0 0-16.667m0 4.167c.46 0 .833.373.833.833v4.167a.834.834 0 0 1-1.667 0V6.666c0-.46.374-.833.834-.833m0 6.666a.834.834 0 1 1 0 1.668.834.834 0 0 1 0-1.668" })
|
|
3947
|
+
}
|
|
3948
|
+
);
|
|
3949
|
+
}
|
|
3950
|
+
);
|
|
3951
|
+
var RwaIcon = React70__default.forwardRef(
|
|
3935
3952
|
(props, ref) => {
|
|
3936
3953
|
const { opacity = 1, ...rest } = props;
|
|
3937
3954
|
return /* @__PURE__ */ jsx(BaseIcon, { ref, ...rest, viewBox: "0 0 12 12", children: /* @__PURE__ */ jsx(
|
|
@@ -4002,7 +4019,7 @@ var textVariants = tv({
|
|
|
4002
4019
|
}
|
|
4003
4020
|
}
|
|
4004
4021
|
});
|
|
4005
|
-
var Text =
|
|
4022
|
+
var Text = React70__default.forwardRef((props, forwardedRef) => {
|
|
4006
4023
|
const {
|
|
4007
4024
|
children,
|
|
4008
4025
|
className,
|
|
@@ -4091,7 +4108,7 @@ var isTextRule = (rule) => {
|
|
|
4091
4108
|
};
|
|
4092
4109
|
var DEFAULT_SYMBOL_FORMAT = "base-quote";
|
|
4093
4110
|
var DEFAULT_DATE_FORMAT = "yyyy-MM-dd HH:mm:ss";
|
|
4094
|
-
var FormattedText =
|
|
4111
|
+
var FormattedText = React70__default.forwardRef(
|
|
4095
4112
|
(props, ref) => {
|
|
4096
4113
|
const {
|
|
4097
4114
|
rule,
|
|
@@ -4203,7 +4220,7 @@ var gradientTextVariants = tv({
|
|
|
4203
4220
|
}
|
|
4204
4221
|
}
|
|
4205
4222
|
});
|
|
4206
|
-
var GradientText =
|
|
4223
|
+
var GradientText = React70__default.forwardRef((props, ref) => {
|
|
4207
4224
|
const { color, className, angle, ...rest } = props;
|
|
4208
4225
|
const style = parseAngleProps({ angle });
|
|
4209
4226
|
return (
|
|
@@ -4371,7 +4388,7 @@ var statisticVariants = tv({
|
|
|
4371
4388
|
// color: "default",
|
|
4372
4389
|
}
|
|
4373
4390
|
});
|
|
4374
|
-
var StatisticLabel =
|
|
4391
|
+
var StatisticLabel = React70__default.forwardRef(
|
|
4375
4392
|
(props, ref) => {
|
|
4376
4393
|
const { label: labelClassName } = statisticVariants({});
|
|
4377
4394
|
return /* @__PURE__ */ jsx(
|
|
@@ -4387,7 +4404,7 @@ var StatisticLabel = React69__default.forwardRef(
|
|
|
4387
4404
|
}
|
|
4388
4405
|
);
|
|
4389
4406
|
StatisticLabel.displayName = "StatisticLabel";
|
|
4390
|
-
var Statistic =
|
|
4407
|
+
var Statistic = React70__default.forwardRef((props, ref) => {
|
|
4391
4408
|
const { label, valueProps, align, className, classNames, children, ...rest } = props;
|
|
4392
4409
|
const { root, value: valueClassName } = statisticVariants({ align });
|
|
4393
4410
|
const value = useMemo(() => {
|
|
@@ -4725,7 +4742,7 @@ var inputVariants = tv(
|
|
|
4725
4742
|
responsiveVariants: ["md", "lg"]
|
|
4726
4743
|
}
|
|
4727
4744
|
);
|
|
4728
|
-
var Input =
|
|
4745
|
+
var Input = React70__default.forwardRef((props, ref) => {
|
|
4729
4746
|
const {
|
|
4730
4747
|
size,
|
|
4731
4748
|
disabled,
|
|
@@ -4796,7 +4813,7 @@ var Input = React69__default.forwardRef((props, ref) => {
|
|
|
4796
4813
|
)
|
|
4797
4814
|
] });
|
|
4798
4815
|
});
|
|
4799
|
-
var ClearButton =
|
|
4816
|
+
var ClearButton = React70__default.forwardRef((props, ref) => {
|
|
4800
4817
|
return /* @__PURE__ */ jsx(
|
|
4801
4818
|
"button",
|
|
4802
4819
|
{
|
|
@@ -4857,7 +4874,7 @@ var popoverVariants = tv({
|
|
|
4857
4874
|
var PopoverRoot = PopoverPrimitive.Root;
|
|
4858
4875
|
var PopoverTrigger = PopoverPrimitive.Trigger;
|
|
4859
4876
|
var PopoverAnchor = PopoverPrimitive.Anchor;
|
|
4860
|
-
var PopoverContent =
|
|
4877
|
+
var PopoverContent = React70.forwardRef(({ className, align = "center", sideOffset = 4, ...props }, ref) => /* @__PURE__ */ jsx(PopoverPrimitive.Portal, { children: /* @__PURE__ */ jsx(
|
|
4861
4878
|
PopoverPrimitive.Content,
|
|
4862
4879
|
{
|
|
4863
4880
|
ref,
|
|
@@ -4908,7 +4925,7 @@ var scrollAreaVariants = tv({
|
|
|
4908
4925
|
}
|
|
4909
4926
|
}
|
|
4910
4927
|
});
|
|
4911
|
-
var ScrollArea =
|
|
4928
|
+
var ScrollArea = React70__default.forwardRef((oriProps, ref) => {
|
|
4912
4929
|
const {
|
|
4913
4930
|
className,
|
|
4914
4931
|
classNames,
|
|
@@ -4938,7 +4955,7 @@ var ScrollArea = React69__default.forwardRef((oriProps, ref) => {
|
|
|
4938
4955
|
);
|
|
4939
4956
|
});
|
|
4940
4957
|
ScrollArea.displayName = ScrollAreaPrimitive.Root.displayName;
|
|
4941
|
-
var ScrollBar =
|
|
4958
|
+
var ScrollBar = React70__default.forwardRef((oriProps, ref) => {
|
|
4942
4959
|
const { className, orientation = "vertical", ...props } = oriProps;
|
|
4943
4960
|
const { bar, tumb } = scrollAreaVariants({ className, orientation });
|
|
4944
4961
|
return /* @__PURE__ */ jsx(
|
|
@@ -5111,7 +5128,7 @@ var selectVariants = tv(
|
|
|
5111
5128
|
var SelectRoot = SelectPrimitive.Root;
|
|
5112
5129
|
var SelectGroup = SelectPrimitive.Group;
|
|
5113
5130
|
var SelectValue = SelectPrimitive.Value;
|
|
5114
|
-
var SelectTrigger =
|
|
5131
|
+
var SelectTrigger = React70.forwardRef(
|
|
5115
5132
|
({
|
|
5116
5133
|
className,
|
|
5117
5134
|
children,
|
|
@@ -5165,7 +5182,7 @@ var SelectTrigger = React69.forwardRef(
|
|
|
5165
5182
|
}
|
|
5166
5183
|
);
|
|
5167
5184
|
SelectTrigger.displayName = SelectPrimitive.Trigger.displayName;
|
|
5168
|
-
var SelectScrollUpButton =
|
|
5185
|
+
var SelectScrollUpButton = React70.forwardRef(({ className, ...props }, ref) => {
|
|
5169
5186
|
const { scrollUpButton } = selectVariants();
|
|
5170
5187
|
return /* @__PURE__ */ jsx(
|
|
5171
5188
|
SelectPrimitive.ScrollUpButton,
|
|
@@ -5178,7 +5195,7 @@ var SelectScrollUpButton = React69.forwardRef(({ className, ...props }, ref) =>
|
|
|
5178
5195
|
);
|
|
5179
5196
|
});
|
|
5180
5197
|
SelectScrollUpButton.displayName = SelectPrimitive.ScrollUpButton.displayName;
|
|
5181
|
-
var SelectScrollDownButton =
|
|
5198
|
+
var SelectScrollDownButton = React70.forwardRef(({ className, ...props }, ref) => {
|
|
5182
5199
|
const { scrollDownButton } = selectVariants();
|
|
5183
5200
|
return /* @__PURE__ */ jsx(
|
|
5184
5201
|
SelectPrimitive.ScrollDownButton,
|
|
@@ -5191,7 +5208,7 @@ var SelectScrollDownButton = React69.forwardRef(({ className, ...props }, ref) =
|
|
|
5191
5208
|
);
|
|
5192
5209
|
});
|
|
5193
5210
|
SelectScrollDownButton.displayName = SelectPrimitive.ScrollDownButton.displayName;
|
|
5194
|
-
var SelectContent =
|
|
5211
|
+
var SelectContent = React70.forwardRef(({ className, children, position = "popper", ...props }, ref) => {
|
|
5195
5212
|
const { content, viewport } = selectVariants({ position, className });
|
|
5196
5213
|
return /* @__PURE__ */ jsx(SelectPrimitive.Portal, { children: /* @__PURE__ */ jsx(
|
|
5197
5214
|
SelectPrimitive.Content,
|
|
@@ -5205,7 +5222,7 @@ var SelectContent = React69.forwardRef(({ className, children, position = "poppe
|
|
|
5205
5222
|
) });
|
|
5206
5223
|
});
|
|
5207
5224
|
SelectContent.displayName = SelectPrimitive.Content.displayName;
|
|
5208
|
-
var SelectLabel =
|
|
5225
|
+
var SelectLabel = React70.forwardRef(({ className, ...props }, ref) => {
|
|
5209
5226
|
const { label } = selectVariants();
|
|
5210
5227
|
return /* @__PURE__ */ jsx(
|
|
5211
5228
|
SelectPrimitive.Label,
|
|
@@ -5217,12 +5234,12 @@ var SelectLabel = React69.forwardRef(({ className, ...props }, ref) => {
|
|
|
5217
5234
|
);
|
|
5218
5235
|
});
|
|
5219
5236
|
SelectLabel.displayName = SelectPrimitive.Label.displayName;
|
|
5220
|
-
var SelectItem =
|
|
5237
|
+
var SelectItem = React70.forwardRef(({ className, children, size, ...props }, ref) => {
|
|
5221
5238
|
const { item } = selectVariants({ size });
|
|
5222
5239
|
return /* @__PURE__ */ jsx(SelectPrimitive.Item, { ref, className: item({ className }), ...props, children: /* @__PURE__ */ jsx(SelectPrimitive.ItemText, { children }) });
|
|
5223
5240
|
});
|
|
5224
5241
|
SelectItem.displayName = SelectPrimitive.Item.displayName;
|
|
5225
|
-
var SelectSeparator =
|
|
5242
|
+
var SelectSeparator = React70.forwardRef(({ className, ...props }, ref) => {
|
|
5226
5243
|
const { separator } = selectVariants();
|
|
5227
5244
|
return /* @__PURE__ */ jsx(
|
|
5228
5245
|
SelectPrimitive.Separator,
|
|
@@ -5416,7 +5433,7 @@ var SelectWithOptions = (props) => {
|
|
|
5416
5433
|
...rest
|
|
5417
5434
|
} = props;
|
|
5418
5435
|
return /* @__PURE__ */ jsx(Select, { ...rest, children: /* @__PURE__ */ jsx(SelectGroup, { children: options.map((option, index) => {
|
|
5419
|
-
return
|
|
5436
|
+
return React70__default.cloneElement(optionRenderer(option, currentValue), {
|
|
5420
5437
|
size: props.size,
|
|
5421
5438
|
key: index,
|
|
5422
5439
|
index
|
|
@@ -5577,7 +5594,7 @@ var tooltipVariants = tv({
|
|
|
5577
5594
|
"data-[side=top]:oui-slide-in-from-bottom-2"
|
|
5578
5595
|
]
|
|
5579
5596
|
});
|
|
5580
|
-
var TooltipContent =
|
|
5597
|
+
var TooltipContent = React70.forwardRef(({ className, sideOffset = 4, ...props }, ref) => {
|
|
5581
5598
|
return /* @__PURE__ */ jsx(
|
|
5582
5599
|
TooltipPrimitive.Content,
|
|
5583
5600
|
{
|
|
@@ -5608,7 +5625,7 @@ var TooltipArrow = (props) => {
|
|
|
5608
5625
|
}
|
|
5609
5626
|
);
|
|
5610
5627
|
};
|
|
5611
|
-
var Tooltip =
|
|
5628
|
+
var Tooltip = React70.forwardRef((originalProps, ref) => {
|
|
5612
5629
|
const {
|
|
5613
5630
|
children,
|
|
5614
5631
|
content,
|
|
@@ -5840,7 +5857,7 @@ var inputHelpTextVariants = tv$1({
|
|
|
5840
5857
|
}
|
|
5841
5858
|
}
|
|
5842
5859
|
});
|
|
5843
|
-
var InputHelpText =
|
|
5860
|
+
var InputHelpText = React70__default.forwardRef(
|
|
5844
5861
|
(props, ref) => {
|
|
5845
5862
|
const { className, asChild, color, ...rest } = props;
|
|
5846
5863
|
const Comp = asChild ? Slot : "div";
|
|
@@ -5878,7 +5895,7 @@ var textFieldVariants = tv({
|
|
|
5878
5895
|
direction: "column"
|
|
5879
5896
|
}
|
|
5880
5897
|
});
|
|
5881
|
-
var TextField =
|
|
5898
|
+
var TextField = React70__default.forwardRef((props, ref) => {
|
|
5882
5899
|
const { label, helpText, direction, className, ...inputProps } = props;
|
|
5883
5900
|
const { root, label: labelClassName } = textFieldVariants({ direction });
|
|
5884
5901
|
return /* @__PURE__ */ jsxs("div", { className: root({ className, direction }), children: [
|
|
@@ -5896,7 +5913,7 @@ var TextField = React69__default.forwardRef((props, ref) => {
|
|
|
5896
5913
|
] });
|
|
5897
5914
|
});
|
|
5898
5915
|
TextField.displayName = "TextField";
|
|
5899
|
-
var InputLabel =
|
|
5916
|
+
var InputLabel = React70__default.forwardRef(
|
|
5900
5917
|
(props, ref) => {
|
|
5901
5918
|
const { asChild = false, className, ...rest } = props;
|
|
5902
5919
|
const Comp = asChild ? Slot : "label";
|
|
@@ -5948,7 +5965,7 @@ var checkboxVariants = tv$1({
|
|
|
5948
5965
|
// style: "checkBox",
|
|
5949
5966
|
}
|
|
5950
5967
|
});
|
|
5951
|
-
var Checkbox =
|
|
5968
|
+
var Checkbox = React70.forwardRef(({ className, color = "white", variant = "checkBox", ...props }, ref) => {
|
|
5952
5969
|
return /* @__PURE__ */ jsx(
|
|
5953
5970
|
CheckboxPrimitive.Root,
|
|
5954
5971
|
{
|
|
@@ -6076,7 +6093,7 @@ var switchVariants = tv$1({
|
|
|
6076
6093
|
color: "primary"
|
|
6077
6094
|
}
|
|
6078
6095
|
});
|
|
6079
|
-
var Switch =
|
|
6096
|
+
var Switch = React70__default.forwardRef(({ className, color, ...props }, ref) => {
|
|
6080
6097
|
const { root, thumb } = switchVariants({
|
|
6081
6098
|
className,
|
|
6082
6099
|
color
|
|
@@ -6197,7 +6214,7 @@ function Badge({ className, variant, color, size, ...props }) {
|
|
|
6197
6214
|
}
|
|
6198
6215
|
);
|
|
6199
6216
|
}
|
|
6200
|
-
var Logo =
|
|
6217
|
+
var Logo = React70__default.forwardRef(({ src, alt, href }, ref) => {
|
|
6201
6218
|
return /* @__PURE__ */ jsx("div", { className: "logo oui-px-3", ref, children: /* @__PURE__ */ jsx("a", { href: href ?? "/", children: /* @__PURE__ */ jsx(
|
|
6202
6219
|
"img",
|
|
6203
6220
|
{
|
|
@@ -6779,7 +6796,7 @@ var Pagination = ({ className, ...props }) => /* @__PURE__ */ jsx(
|
|
|
6779
6796
|
}
|
|
6780
6797
|
);
|
|
6781
6798
|
Pagination.displayName = "Pagination";
|
|
6782
|
-
var PaginationContent =
|
|
6799
|
+
var PaginationContent = React70__default.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
6783
6800
|
"ul",
|
|
6784
6801
|
{
|
|
6785
6802
|
ref,
|
|
@@ -6791,7 +6808,7 @@ var PaginationContent = React69__default.forwardRef(({ className, ...props }, re
|
|
|
6791
6808
|
}
|
|
6792
6809
|
));
|
|
6793
6810
|
PaginationContent.displayName = "PaginationContent";
|
|
6794
|
-
var PaginationItem =
|
|
6811
|
+
var PaginationItem = React70__default.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("li", { ref, className: cnBase("oui-leading-[0px]", className), ...props }));
|
|
6795
6812
|
PaginationItem.displayName = "PaginationItem";
|
|
6796
6813
|
var PaginationLink = ({
|
|
6797
6814
|
className,
|
|
@@ -7801,7 +7818,7 @@ var Sheet = DialogPrimitive.Root;
|
|
|
7801
7818
|
var SheetTrigger = DialogPrimitive.Trigger;
|
|
7802
7819
|
var SheetClose = DialogPrimitive.Close;
|
|
7803
7820
|
var SheetPortal = DialogPrimitive.Portal;
|
|
7804
|
-
var SheetOverlay =
|
|
7821
|
+
var SheetOverlay = React70.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
7805
7822
|
DialogPrimitive.Overlay,
|
|
7806
7823
|
{
|
|
7807
7824
|
className: cnBase(
|
|
@@ -7827,7 +7844,7 @@ var sheetVariants = tv$1({
|
|
|
7827
7844
|
side: "bottom"
|
|
7828
7845
|
}
|
|
7829
7846
|
});
|
|
7830
|
-
var SheetContent =
|
|
7847
|
+
var SheetContent = React70.forwardRef(
|
|
7831
7848
|
({
|
|
7832
7849
|
side = "bottom",
|
|
7833
7850
|
closeable = true,
|
|
@@ -7923,7 +7940,7 @@ var SheetFooter = ({
|
|
|
7923
7940
|
}
|
|
7924
7941
|
);
|
|
7925
7942
|
SheetFooter.displayName = "SheetFooter";
|
|
7926
|
-
var SheetTitle =
|
|
7943
|
+
var SheetTitle = React70.forwardRef(({ className, leading, ...props }, ref) => /* @__PURE__ */ jsxs(
|
|
7927
7944
|
"div",
|
|
7928
7945
|
{
|
|
7929
7946
|
className: "oui-sheet-header oui-grid oui-grid-cols-[40px_1fr_40px] oui-items-center",
|
|
@@ -7944,7 +7961,7 @@ var SheetTitle = React69.forwardRef(({ className, leading, ...props }, ref) => /
|
|
|
7944
7961
|
}
|
|
7945
7962
|
));
|
|
7946
7963
|
SheetTitle.displayName = DialogPrimitive.Title.displayName;
|
|
7947
|
-
var SheetDescription =
|
|
7964
|
+
var SheetDescription = React70.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
7948
7965
|
DialogPrimitive.Description,
|
|
7949
7966
|
{
|
|
7950
7967
|
ref,
|
|
@@ -8334,7 +8351,7 @@ var dividerVariants = tv({
|
|
|
8334
8351
|
intensity: 4
|
|
8335
8352
|
}
|
|
8336
8353
|
});
|
|
8337
|
-
var Divider =
|
|
8354
|
+
var Divider = React70__default.forwardRef((props, ref) => {
|
|
8338
8355
|
const { className, intensity, direction, lineStyle, mx, my, ...rest } = props;
|
|
8339
8356
|
return /* @__PURE__ */ jsx(
|
|
8340
8357
|
"div",
|
|
@@ -8542,7 +8559,7 @@ var Dialog = DialogPrimitive.Root;
|
|
|
8542
8559
|
var DialogTrigger = DialogPrimitive.Trigger;
|
|
8543
8560
|
var DialogPortal = DialogPrimitive.Portal;
|
|
8544
8561
|
var DialogClose = DialogPrimitive.Close;
|
|
8545
|
-
var DialogOverlay =
|
|
8562
|
+
var DialogOverlay = React70.forwardRef(({ className, ...props }, ref) => {
|
|
8546
8563
|
const { overlay } = dialogVariants();
|
|
8547
8564
|
return /* @__PURE__ */ jsx(
|
|
8548
8565
|
DialogPrimitive.Overlay,
|
|
@@ -8554,7 +8571,7 @@ var DialogOverlay = React69.forwardRef(({ className, ...props }, ref) => {
|
|
|
8554
8571
|
);
|
|
8555
8572
|
});
|
|
8556
8573
|
DialogOverlay.displayName = DialogPrimitive.Overlay.displayName;
|
|
8557
|
-
var DialogContent =
|
|
8574
|
+
var DialogContent = React70.forwardRef(
|
|
8558
8575
|
({
|
|
8559
8576
|
overlyClassName,
|
|
8560
8577
|
className,
|
|
@@ -8616,7 +8633,7 @@ var DialogFooter = ({
|
|
|
8616
8633
|
return /* @__PURE__ */ jsx("div", { className: footer({ className }), ...props });
|
|
8617
8634
|
};
|
|
8618
8635
|
DialogFooter.displayName = "DialogFooter";
|
|
8619
|
-
var DialogTitle =
|
|
8636
|
+
var DialogTitle = React70.forwardRef(({ className, ...props }, ref) => {
|
|
8620
8637
|
const { title } = dialogVariants();
|
|
8621
8638
|
return /* @__PURE__ */ jsx(
|
|
8622
8639
|
DialogPrimitive.Title,
|
|
@@ -8628,7 +8645,7 @@ var DialogTitle = React69.forwardRef(({ className, ...props }, ref) => {
|
|
|
8628
8645
|
);
|
|
8629
8646
|
});
|
|
8630
8647
|
DialogTitle.displayName = DialogPrimitive.Title.displayName;
|
|
8631
|
-
var DialogDescription =
|
|
8648
|
+
var DialogDescription = React70.forwardRef(({ className, ...props }, ref) => {
|
|
8632
8649
|
const { desc } = dialogVariants();
|
|
8633
8650
|
return /* @__PURE__ */ jsx(
|
|
8634
8651
|
DialogPrimitive.Description,
|
|
@@ -9789,13 +9806,13 @@ var tabsVariants = tv({
|
|
|
9789
9806
|
}
|
|
9790
9807
|
});
|
|
9791
9808
|
var TabsBase = TabsPrimitive.Root;
|
|
9792
|
-
var TabsList =
|
|
9809
|
+
var TabsList = React70.forwardRef((originProps, ref) => {
|
|
9793
9810
|
const { className, size, variant, ...props } = originProps;
|
|
9794
9811
|
const { list } = tabsVariants({ size, variant });
|
|
9795
9812
|
return /* @__PURE__ */ jsx(TabsPrimitive.List, { ref, className: list({ className }), ...props });
|
|
9796
9813
|
});
|
|
9797
9814
|
TabsList.displayName = TabsPrimitive.List.displayName;
|
|
9798
|
-
var TabsTrigger =
|
|
9815
|
+
var TabsTrigger = React70.forwardRef((originProps, ref) => {
|
|
9799
9816
|
const { className, size, children, icon, variant, ...props } = originProps;
|
|
9800
9817
|
const { trigger, icon: iconClassName } = tabsVariants({ size, variant });
|
|
9801
9818
|
return /* @__PURE__ */ jsxs(
|
|
@@ -9805,14 +9822,14 @@ var TabsTrigger = React69.forwardRef((originProps, ref) => {
|
|
|
9805
9822
|
className: trigger({ className }),
|
|
9806
9823
|
...props,
|
|
9807
9824
|
children: [
|
|
9808
|
-
typeof icon !== "undefined" ?
|
|
9825
|
+
typeof icon !== "undefined" ? React70.cloneElement(icon, { className: iconClassName(), opacity: 1 }) : null,
|
|
9809
9826
|
/* @__PURE__ */ jsx("span", { children })
|
|
9810
9827
|
]
|
|
9811
9828
|
}
|
|
9812
9829
|
);
|
|
9813
9830
|
});
|
|
9814
9831
|
TabsTrigger.displayName = TabsPrimitive.Trigger.displayName;
|
|
9815
|
-
var TabsContent =
|
|
9832
|
+
var TabsContent = React70.forwardRef((oriProps, ref) => {
|
|
9816
9833
|
const { className, size, children, ...props } = oriProps;
|
|
9817
9834
|
const { content } = tabsVariants({ size });
|
|
9818
9835
|
return /* @__PURE__ */ jsx(
|
|
@@ -10141,7 +10158,7 @@ var cardVariants = tv({
|
|
|
10141
10158
|
intensity: 900
|
|
10142
10159
|
}
|
|
10143
10160
|
});
|
|
10144
|
-
var CardBase =
|
|
10161
|
+
var CardBase = React70__default.forwardRef(
|
|
10145
10162
|
({ className, intensity, children, ...props }, ref) => {
|
|
10146
10163
|
return /* @__PURE__ */ jsx(
|
|
10147
10164
|
"div",
|
|
@@ -10155,7 +10172,7 @@ var CardBase = React69__default.forwardRef(
|
|
|
10155
10172
|
}
|
|
10156
10173
|
);
|
|
10157
10174
|
CardBase.displayName = "CardBase";
|
|
10158
|
-
var CardHeader =
|
|
10175
|
+
var CardHeader = React70__default.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
10159
10176
|
"div",
|
|
10160
10177
|
{
|
|
10161
10178
|
ref,
|
|
@@ -10168,7 +10185,7 @@ var CardHeader = React69__default.forwardRef(({ className, children, ...props },
|
|
|
10168
10185
|
}
|
|
10169
10186
|
));
|
|
10170
10187
|
CardHeader.displayName = "CardHeader";
|
|
10171
|
-
var CardTitle =
|
|
10188
|
+
var CardTitle = React70__default.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
10172
10189
|
"h3",
|
|
10173
10190
|
{
|
|
10174
10191
|
ref,
|
|
@@ -10181,7 +10198,7 @@ var CardTitle = React69__default.forwardRef(({ className, children, ...props },
|
|
|
10181
10198
|
}
|
|
10182
10199
|
));
|
|
10183
10200
|
CardTitle.displayName = "CardTitle";
|
|
10184
|
-
var CardDescription =
|
|
10201
|
+
var CardDescription = React70__default.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
10185
10202
|
"p",
|
|
10186
10203
|
{
|
|
10187
10204
|
ref,
|
|
@@ -10190,7 +10207,7 @@ var CardDescription = React69__default.forwardRef(({ className, children, ...pro
|
|
|
10190
10207
|
children
|
|
10191
10208
|
}
|
|
10192
10209
|
));
|
|
10193
|
-
var CardContent =
|
|
10210
|
+
var CardContent = React70__default.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
10194
10211
|
"div",
|
|
10195
10212
|
{
|
|
10196
10213
|
ref,
|
|
@@ -10200,7 +10217,7 @@ var CardContent = React69__default.forwardRef(({ className, children, ...props }
|
|
|
10200
10217
|
}
|
|
10201
10218
|
));
|
|
10202
10219
|
CardContent.displayName = "CardContent";
|
|
10203
|
-
var CardFooter =
|
|
10220
|
+
var CardFooter = React70__default.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsx("div", { ref, className, ...props, children }));
|
|
10204
10221
|
CardFooter.displayName = "CardFooter";
|
|
10205
10222
|
var Card = forwardRef(
|
|
10206
10223
|
(props, ref) => {
|
|
@@ -10215,7 +10232,7 @@ var Card = forwardRef(
|
|
|
10215
10232
|
Card.displayName = "Card";
|
|
10216
10233
|
var HoverCardRoot = HoverCardPrimitive.Root;
|
|
10217
10234
|
var HoverCardTrigger = HoverCardPrimitive.Trigger;
|
|
10218
|
-
var HoverCardContent =
|
|
10235
|
+
var HoverCardContent = React70.forwardRef(({ className, align = "center", sideOffset = 4, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
10219
10236
|
HoverCardPrimitive.Content,
|
|
10220
10237
|
{
|
|
10221
10238
|
ref,
|
|
@@ -10369,7 +10386,7 @@ var sliderVariants = tv({
|
|
|
10369
10386
|
}
|
|
10370
10387
|
}
|
|
10371
10388
|
});
|
|
10372
|
-
var BaseSlider =
|
|
10389
|
+
var BaseSlider = React70.forwardRef((oriProps, ref) => {
|
|
10373
10390
|
const {
|
|
10374
10391
|
className,
|
|
10375
10392
|
color,
|
|
@@ -10385,8 +10402,8 @@ var BaseSlider = React69.forwardRef((oriProps, ref) => {
|
|
|
10385
10402
|
const { track, range, thumb, root, trackInner, mark, tips } = sliderVariants({
|
|
10386
10403
|
color
|
|
10387
10404
|
});
|
|
10388
|
-
const [innerValue, setInvalue] =
|
|
10389
|
-
|
|
10405
|
+
const [innerValue, setInvalue] = React70.useState(__propsValue);
|
|
10406
|
+
React70.useEffect(() => {
|
|
10390
10407
|
setInvalue((prev) => {
|
|
10391
10408
|
if (!prev) {
|
|
10392
10409
|
return __propsValue;
|
|
@@ -10436,7 +10453,7 @@ var BaseSlider = React69.forwardRef((oriProps, ref) => {
|
|
|
10436
10453
|
{
|
|
10437
10454
|
className: track({ className: classNames?.track }),
|
|
10438
10455
|
children: [
|
|
10439
|
-
/* @__PURE__ */ jsx("div", { className: trackInner() }),
|
|
10456
|
+
/* @__PURE__ */ jsx("div", { className: trackInner({ className: classNames?.trackInner }) }),
|
|
10440
10457
|
/* @__PURE__ */ jsx(
|
|
10441
10458
|
SliderPrimitive.Range,
|
|
10442
10459
|
{
|
|
@@ -10564,7 +10581,7 @@ var SliderTip = (props) => {
|
|
|
10564
10581
|
const percent = convertValueToPercentage(value, min, max);
|
|
10565
10582
|
return /* @__PURE__ */ jsx("span", { className, style: { lineHeight: "19px" }, children: props.tipFormatter?.(value, min, max, percent) ?? `${percent.toFixed()}%` });
|
|
10566
10583
|
};
|
|
10567
|
-
var SingleSlider =
|
|
10584
|
+
var SingleSlider = React70.forwardRef((props, ref) => {
|
|
10568
10585
|
const _value = useMemo(() => [props.value], [props.value]);
|
|
10569
10586
|
return /* @__PURE__ */ jsx(
|
|
10570
10587
|
BaseSlider,
|
|
@@ -10584,7 +10601,7 @@ var SingleSlider = React69.forwardRef((props, ref) => {
|
|
|
10584
10601
|
SingleSlider.displayName = "SingleSlider";
|
|
10585
10602
|
var Slider = BaseSlider;
|
|
10586
10603
|
Slider.single = SingleSlider;
|
|
10587
|
-
var ToastErrorIcon =
|
|
10604
|
+
var ToastErrorIcon = React70__default.forwardRef(
|
|
10588
10605
|
(props, ref) => {
|
|
10589
10606
|
const { opacity = 1, viewBox = "0 0 20 20", ...rest } = props;
|
|
10590
10607
|
return /* @__PURE__ */ jsx(BaseIcon, { ref, viewBox, ...rest, children: /* @__PURE__ */ jsx(
|
|
@@ -10597,7 +10614,7 @@ var ToastErrorIcon = React69__default.forwardRef(
|
|
|
10597
10614
|
) });
|
|
10598
10615
|
}
|
|
10599
10616
|
);
|
|
10600
|
-
var ToastSuccessIcon =
|
|
10617
|
+
var ToastSuccessIcon = React70__default.forwardRef(
|
|
10601
10618
|
(props, ref) => {
|
|
10602
10619
|
const { opacity = 1, viewBox = "0 0 20 20", ...rest } = props;
|
|
10603
10620
|
return /* @__PURE__ */ jsx(BaseIcon, { ref, viewBox, ...rest, children: /* @__PURE__ */ jsx(
|
|
@@ -10611,7 +10628,7 @@ var ToastSuccessIcon = React69__default.forwardRef(
|
|
|
10611
10628
|
) });
|
|
10612
10629
|
}
|
|
10613
10630
|
);
|
|
10614
|
-
var ToastLoadingIcon =
|
|
10631
|
+
var ToastLoadingIcon = React70__default.forwardRef(
|
|
10615
10632
|
(props, ref) => {
|
|
10616
10633
|
const { opacity = 1, viewBox = "0 0 20 20", ...rest } = props;
|
|
10617
10634
|
return /* @__PURE__ */ jsx(BaseIcon, { ref, viewBox, ...rest, children: /* @__PURE__ */ jsx(
|
|
@@ -10819,7 +10836,7 @@ var ListViewInner = (props, ref) => {
|
|
|
10819
10836
|
}
|
|
10820
10837
|
);
|
|
10821
10838
|
}
|
|
10822
|
-
return props.dataSource.map((item, index) => /* @__PURE__ */ jsx(
|
|
10839
|
+
return props.dataSource.map((item, index) => /* @__PURE__ */ jsx(React70__default.Fragment, { children: props.renderItem(item, index, props.extraData) }, index));
|
|
10823
10840
|
}, [emptyDataSouce, props.dataSource, props.extraData, props.emptyView]);
|
|
10824
10841
|
const loadingViewElement = useMemo(() => {
|
|
10825
10842
|
if ((props.dataSource?.length || 0) === 0) return null;
|
|
@@ -10884,7 +10901,7 @@ var CollapsibleContent2 = (props) => {
|
|
|
10884
10901
|
...props,
|
|
10885
10902
|
className: cnBase(
|
|
10886
10903
|
props.className,
|
|
10887
|
-
"data-[state=
|
|
10904
|
+
"oui-overflow-hidden data-[state=closed]:oui-animate-collapsible-up data-[state=open]:oui-animate-collapsible-down"
|
|
10888
10905
|
)
|
|
10889
10906
|
}
|
|
10890
10907
|
);
|
|
@@ -10992,7 +11009,7 @@ var Marquee = (props) => {
|
|
|
10992
11009
|
const [emblaRef, emblaApi] = useEmblaCarousel__default(emblaOptions, [
|
|
10993
11010
|
AutoScroll__default(autoScrollPluginOptions)
|
|
10994
11011
|
]);
|
|
10995
|
-
|
|
11012
|
+
React70__default.useEffect(() => {
|
|
10996
11013
|
if (emblaApi && setApi) {
|
|
10997
11014
|
setApi(emblaApi);
|
|
10998
11015
|
}
|
|
@@ -11144,7 +11161,7 @@ var dropdownMenuVariants = tv$1({
|
|
|
11144
11161
|
size: "lg"
|
|
11145
11162
|
}
|
|
11146
11163
|
});
|
|
11147
|
-
var DropdownMenuContent =
|
|
11164
|
+
var DropdownMenuContent = React70.forwardRef(({ className, sideOffset = 4, size, ...props }, ref) => {
|
|
11148
11165
|
const { content } = dropdownMenuVariants({ size });
|
|
11149
11166
|
return /* @__PURE__ */ jsx(DropdownMenuPrimitive.Portal, { children: /* @__PURE__ */ jsx(
|
|
11150
11167
|
DropdownMenuPrimitive.Content,
|
|
@@ -11157,7 +11174,7 @@ var DropdownMenuContent = React69.forwardRef(({ className, sideOffset = 4, size,
|
|
|
11157
11174
|
) });
|
|
11158
11175
|
});
|
|
11159
11176
|
DropdownMenuContent.displayName = DropdownMenuPrimitive.Content.displayName;
|
|
11160
|
-
var DropdownMenuItem =
|
|
11177
|
+
var DropdownMenuItem = React70.forwardRef(({ className, inset, size, ...props }, ref) => {
|
|
11161
11178
|
const { item } = dropdownMenuVariants({ size });
|
|
11162
11179
|
return /* @__PURE__ */ jsx(
|
|
11163
11180
|
DropdownMenuPrimitive.Item,
|
|
@@ -11169,7 +11186,7 @@ var DropdownMenuItem = React69.forwardRef(({ className, inset, size, ...props },
|
|
|
11169
11186
|
);
|
|
11170
11187
|
});
|
|
11171
11188
|
DropdownMenuItem.displayName = DropdownMenuPrimitive.Item.displayName;
|
|
11172
|
-
var DropdownMenuLabel =
|
|
11189
|
+
var DropdownMenuLabel = React70.forwardRef(({ className, inset, ...props }, ref) => {
|
|
11173
11190
|
const { label } = dropdownMenuVariants({
|
|
11174
11191
|
inset
|
|
11175
11192
|
});
|
|
@@ -11183,7 +11200,7 @@ var DropdownMenuLabel = React69.forwardRef(({ className, inset, ...props }, ref)
|
|
|
11183
11200
|
);
|
|
11184
11201
|
});
|
|
11185
11202
|
DropdownMenuLabel.displayName = DropdownMenuPrimitive.Label.displayName;
|
|
11186
|
-
var DropdownMenuSeparator =
|
|
11203
|
+
var DropdownMenuSeparator = React70.forwardRef(({ className, ...props }, ref) => {
|
|
11187
11204
|
const { separator } = dropdownMenuVariants();
|
|
11188
11205
|
return /* @__PURE__ */ jsx(
|
|
11189
11206
|
DropdownMenuPrimitive.Separator,
|
|
@@ -11306,6 +11323,58 @@ __export(tailwind_exports, {
|
|
|
11306
11323
|
default: () => tailwind_default
|
|
11307
11324
|
});
|
|
11308
11325
|
var tailwind_default = {};
|
|
11326
|
+
var stopPropagation = (event) => {
|
|
11327
|
+
event.stopPropagation();
|
|
11328
|
+
};
|
|
11329
|
+
var Tips = ({
|
|
11330
|
+
content,
|
|
11331
|
+
title = "Tips",
|
|
11332
|
+
trigger,
|
|
11333
|
+
className,
|
|
11334
|
+
classNames
|
|
11335
|
+
}) => {
|
|
11336
|
+
const { isMobile } = useScreen();
|
|
11337
|
+
const triggerElement = trigger || /* @__PURE__ */ jsx(
|
|
11338
|
+
InfoCircleIcon,
|
|
11339
|
+
{
|
|
11340
|
+
opacity: 1,
|
|
11341
|
+
className: cnBase(
|
|
11342
|
+
"oui-size-3 oui-shrink-0 oui-cursor-pointer oui-text-base-contrast-36",
|
|
11343
|
+
classNames?.trigger
|
|
11344
|
+
)
|
|
11345
|
+
}
|
|
11346
|
+
);
|
|
11347
|
+
if (isMobile) {
|
|
11348
|
+
const handleClick = (event) => {
|
|
11349
|
+
event.stopPropagation();
|
|
11350
|
+
modal.alert({
|
|
11351
|
+
title,
|
|
11352
|
+
message: content
|
|
11353
|
+
});
|
|
11354
|
+
};
|
|
11355
|
+
return /* @__PURE__ */ jsx(
|
|
11356
|
+
"button",
|
|
11357
|
+
{
|
|
11358
|
+
type: "button",
|
|
11359
|
+
className,
|
|
11360
|
+
onClick: handleClick,
|
|
11361
|
+
onMouseDown: stopPropagation,
|
|
11362
|
+
onPointerDown: stopPropagation,
|
|
11363
|
+
children: triggerElement
|
|
11364
|
+
}
|
|
11365
|
+
);
|
|
11366
|
+
}
|
|
11367
|
+
return /* @__PURE__ */ jsx(
|
|
11368
|
+
Tooltip,
|
|
11369
|
+
{
|
|
11370
|
+
className: "oui-bg-base-6",
|
|
11371
|
+
arrow: { className: "oui-fill-base-6" },
|
|
11372
|
+
content: /* @__PURE__ */ jsx("div", { className: "oui-max-w-72", children: content }),
|
|
11373
|
+
children: triggerElement
|
|
11374
|
+
}
|
|
11375
|
+
);
|
|
11376
|
+
};
|
|
11377
|
+
Tips.displayName = "Tips";
|
|
11309
11378
|
var dotStatusVariants = tv$1({
|
|
11310
11379
|
slots: {
|
|
11311
11380
|
root: "oui-flex oui-items-center oui-justify-center oui-gap-1",
|
|
@@ -11381,6 +11450,6 @@ var DotStatus = (props) => {
|
|
|
11381
11450
|
};
|
|
11382
11451
|
DotStatus.displayName = "DotStatus";
|
|
11383
11452
|
|
|
11384
|
-
export { ActionSheet, AddCircleIcon, AffiliateIcon, AlertDialog, ArrowDownShortIcon, ArrowDownSquareFillIcon, ArrowDownUpIcon, ArrowLeftRightIcon, ArrowLeftRightSquareFill, ArrowLeftShortIcon, ArrowRightShortIcon, ArrowRightUpSquareFillIcon, ArrowUpShortIcon, ArrowUpSquareFillIcon, AssetIcon, Avatar, Badge, BarChartIcon, BattleActiveIcon, BattleIcon, BattleInactiveIcon, BattleSolidActiveIcon, BattleSolidInactiveIcon, BellIcon, Box, Button, Calendar, CalendarIcon, CalendarMinusIcon, Card, CardBase, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, CaretDownIcon, CaretLeftIcon, CaretRightIcon, CaretUpIcon, ChainIcon, CheckIcon, CheckSquareEmptyIcon, Checkbox, CheckedCircleFillIcon, CheckedSquareFillIcon, ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon, CircleOutlinedIcon, CloseCircleFillIcon, CloseIcon, CloseRoundFillIcon, CloseSquareFillIcon, collapse_default as Collapse, Collapsible, CollapsibleContent2 as CollapsibleContent, CollapsibleTrigger2 as CollapsibleTrigger, ConfirmDialog, CopyIcon, DataFilter, DataTable, DatePicker2 as DatePicker, Dialog, DialogBody, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Divider, DotStatus, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRoot, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuTrigger, EVMAvatar, EarnActiveIcon, EarnIcon, EarnInactiveIcon, EditIcon, Either, EmptyDataState, EmptyStateIcon, EsOrderlyIcon, ExclamationFillIcon, ExtensionPositionEnum, ExtensionSlot, EyeCloseIcon, EyeIcon, FeeTierIcon, Flex, GradientText, Grid2 as Grid, HoverCard, HoverCardContent, HoverCardRoot, HoverCardTrigger, Icon, InfoCircleIcon, Input2 as Input, InputAdditional, LeaderboardActiveIcon, LeaderboardInactiveIcon, LeftNavVaultsIcon, ListView, LocaleContext, LocaleProvider, Logo, MarketsActiveIcon, MarketsInactiveIcon, Marquee, ModalContext, ModalIdContext, ModalProvider, MultiSortHeader, NewsFillIcon, tailwind_exports as OUITailwind, OrderlyIcon, OrderlyThemeProvider, PaginationItems, PeopleIcon, PerpsIcon, PersonIcon, Picker, PlusIcon, Popover, PopoverAnchor, PopoverContent, PopoverRoot, PopoverTrigger, PopupUnionIcon, PortfolioActiveIcon, PortfolioInactiveIcon, QuestionFillIcon, ReduceIcon, ReferralSolidIcon, RefreshIcon, RwaIcon, ScrollArea, ScrollBar, ScrollIndicator, Select2 as Select, SelectItem, SelectedChoicesFillIcon, ServerFillIcon, SettingFillIcon, SettingIcon, ShareIcon, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, SimpleDialog, SimpleDialogFooter, SimpleDropdownMenu, SimpleSheet, Slider, SortingAscIcon, SortingDescIcon, SortingIcon, Spinner, SpotIcon, SquareOutlinedIcon, StarChildChatActiveIcon, StarChildChatInactiveIcon, Statistic, StatisticLabel, SwapHorizIcon, Switch, TabPanel, features_exports as TableFeatures, Tabs, TabsBase, TabsContent, TabsList, TabsTrigger, Text2 as Text, TextField, ThrottledButton, ToastTile, Toaster, TokenIcon, Tooltip, TooltipArrow, TooltipContent, TooltipPortal, TooltipProvider, TooltipRoot, TooltipTrigger, TraderMobileIcon, TradingActiveIcon, TradingIcon, TradingInactiveIcon, TradingLeftNavIcon, TradingRewardsIcon, TriggerDialog, VaultsIcon, VectorIcon, WalletIcon, WoofiStakeIcon, boxVariants, buttonVariants, capitalizeFirstLetter, convertValueToPercentage, dotStatusVariants, formatAddress, gradientTextVariants, formatter_exports as inputFormatter, installExtension, modal, parseNumber, registerSimpleDialog, registerSimpleSheet, scrollAreaVariants, setExtensionBuilder, startViewTransition, statisticVariants, textVariants, tv, useLocale, useLongPress, useMediaQuery, useModal, useMultiSort, useObserverElement, useOrderlyTheme, usePagination, useScreen };
|
|
11453
|
+
export { ActionSheet, AddCircleIcon, AffiliateIcon, AlertDialog, ArrowDownShortIcon, ArrowDownSquareFillIcon, ArrowDownUpIcon, ArrowLeftRightIcon, ArrowLeftRightSquareFill, ArrowLeftShortIcon, ArrowRightShortIcon, ArrowRightUpSquareFillIcon, ArrowUpShortIcon, ArrowUpSquareFillIcon, AssetIcon, Avatar, Badge, BarChartIcon, BattleActiveIcon, BattleIcon, BattleInactiveIcon, BattleSolidActiveIcon, BattleSolidInactiveIcon, BellIcon, Box, Button, Calendar, CalendarIcon, CalendarMinusIcon, Card, CardBase, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, CaretDownIcon, CaretLeftIcon, CaretRightIcon, CaretUpIcon, ChainIcon, CheckIcon, CheckSquareEmptyIcon, Checkbox, CheckedCircleFillIcon, CheckedSquareFillIcon, ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon, CircleOutlinedIcon, CloseCircleFillIcon, CloseIcon, CloseRoundFillIcon, CloseSquareFillIcon, collapse_default as Collapse, Collapsible, CollapsibleContent2 as CollapsibleContent, CollapsibleTrigger2 as CollapsibleTrigger, ConfirmDialog, CopyIcon, DataFilter, DataTable, DatePicker2 as DatePicker, Dialog, DialogBody, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Divider, DotStatus, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRoot, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuTrigger, EVMAvatar, EarnActiveIcon, EarnIcon, EarnInactiveIcon, EditIcon, Either, EmptyDataState, EmptyStateIcon, EsOrderlyIcon, ExclamationFillIcon, ExtensionPositionEnum, ExtensionSlot, EyeCloseIcon, EyeIcon, FeeTierIcon, Flex, GradientText, Grid2 as Grid, HoverCard, HoverCardContent, HoverCardRoot, HoverCardTrigger, Icon, InfoCircleIcon, Input2 as Input, InputAdditional, LeaderboardActiveIcon, LeaderboardInactiveIcon, LeftNavVaultsIcon, ListView, LocaleContext, LocaleProvider, Logo, MarketsActiveIcon, MarketsInactiveIcon, Marquee, ModalContext, ModalIdContext, ModalProvider, MultiSortHeader, NewsFillIcon, tailwind_exports as OUITailwind, OrderlyIcon, OrderlyThemeProvider, PaginationItems, PeopleIcon, PerpsIcon, PersonIcon, Picker, PlusIcon, Popover, PopoverAnchor, PopoverContent, PopoverRoot, PopoverTrigger, PopupUnionIcon, PortfolioActiveIcon, PortfolioInactiveIcon, QuestionFillIcon, ReduceIcon, ReferralSolidIcon, RefreshIcon, RwaIcon, ScrollArea, ScrollBar, ScrollIndicator, Select2 as Select, SelectItem, SelectedChoicesFillIcon, ServerFillIcon, SettingFillIcon, SettingIcon, ShareIcon, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, SimpleDialog, SimpleDialogFooter, SimpleDropdownMenu, SimpleSheet, Slider, SortingAscIcon, SortingDescIcon, SortingIcon, Spinner, SpotIcon, SquareOutlinedIcon, StarChildChatActiveIcon, StarChildChatInactiveIcon, Statistic, StatisticLabel, SwapHorizIcon, Switch, TabPanel, features_exports as TableFeatures, Tabs, TabsBase, TabsContent, TabsList, TabsTrigger, Text2 as Text, TextField, ThrottledButton, Tips, ToastTile, Toaster, TokenIcon, Tooltip, TooltipArrow, TooltipContent, TooltipPortal, TooltipProvider, TooltipRoot, TooltipTrigger, TraderMobileIcon, TradingActiveIcon, TradingIcon, TradingInactiveIcon, TradingLeftNavIcon, TradingRewardsIcon, TriggerDialog, VaultsIcon, VectorIcon, WalletIcon, WarningIcon, WoofiStakeIcon, boxVariants, buttonVariants, capitalizeFirstLetter, convertValueToPercentage, dotStatusVariants, formatAddress, gradientTextVariants, formatter_exports as inputFormatter, installExtension, modal, parseNumber, registerSimpleDialog, registerSimpleSheet, scrollAreaVariants, setExtensionBuilder, startViewTransition, statisticVariants, textVariants, tv, useLocale, useLongPress, useMediaQuery, useModal, useMultiSort, useObserverElement, useOrderlyTheme, usePagination, useScreen };
|
|
11385
11454
|
//# sourceMappingURL=index.mjs.map
|
|
11386
11455
|
//# sourceMappingURL=index.mjs.map
|