@orderly.network/ui 2.8.12 → 2.8.13-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 +6 -3
- package/dist/index.css.map +1 -1
- package/dist/index.d.mts +127 -124
- package/dist/index.d.ts +127 -124
- package/dist/index.js +351 -334
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +146 -130
- package/dist/index.mjs.map +1 -1
- package/dist/styles.css +1 -1
- package/package.json +3 -3
package/dist/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import
|
|
1
|
+
import * as React69 from 'react';
|
|
2
|
+
import React69__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 = React69__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 = React69__default.forwardRef(
|
|
673
673
|
(props, forwardedRef) => {
|
|
674
674
|
const {
|
|
675
675
|
asChild = false,
|
|
@@ -685,7 +685,7 @@ var BaseButton = React68__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 ? React69__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 = React69__default.forwardRef(
|
|
939
939
|
({
|
|
940
940
|
className,
|
|
941
941
|
variant,
|
|
@@ -968,7 +968,7 @@ var Button = React68__default.forwardRef(
|
|
|
968
968
|
}
|
|
969
969
|
);
|
|
970
970
|
Button.displayName = "Button";
|
|
971
|
-
var ThrottledButton =
|
|
971
|
+
var ThrottledButton = React69__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 = React69__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 = React69__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 = React69.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 = React68.forwardRef(({ className, size, ...props }, ref) => {
|
|
|
1223
1223
|
);
|
|
1224
1224
|
});
|
|
1225
1225
|
AvatarBase.displayName = AvatarPrimitive.Root.displayName;
|
|
1226
|
-
var AvatarImage =
|
|
1226
|
+
var AvatarImage = React69.forwardRef(({ className, ...props }, ref) => {
|
|
1227
1227
|
const { image } = avatarVariants();
|
|
1228
1228
|
return /* @__PURE__ */ jsx(
|
|
1229
1229
|
AvatarPrimitive.Image,
|
|
@@ -1235,12 +1235,12 @@ var AvatarImage = React68.forwardRef(({ className, ...props }, ref) => {
|
|
|
1235
1235
|
);
|
|
1236
1236
|
});
|
|
1237
1237
|
AvatarImage.displayName = AvatarPrimitive.Image.displayName;
|
|
1238
|
-
var AvatarFallback =
|
|
1238
|
+
var AvatarFallback = React69.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 = React69.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 = React68.forwardRef((props, ref) => {
|
|
|
1254
1254
|
typeof fallback !== "undefined" && /* @__PURE__ */ jsx(AvatarFallback, { delayMs, children: fallback })
|
|
1255
1255
|
] });
|
|
1256
1256
|
});
|
|
1257
|
-
var EVMAvatar =
|
|
1257
|
+
var EVMAvatar = React69.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 = React69__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 = React68__default.forwardRef(
|
|
|
1335
1335
|
}
|
|
1336
1336
|
);
|
|
1337
1337
|
CloseIcon.displayName = "CloseIcon";
|
|
1338
|
-
var BaseIconWithPath =
|
|
1338
|
+
var BaseIconWithPath = React69__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 = React68__default.forwardRef((props, ref) => {
|
|
|
1348
1348
|
}
|
|
1349
1349
|
) });
|
|
1350
1350
|
});
|
|
1351
|
-
var CheckIcon =
|
|
1351
|
+
var CheckIcon = React69__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 = React68__default.forwardRef(
|
|
|
1362
1362
|
}
|
|
1363
1363
|
);
|
|
1364
1364
|
CheckIcon.displayName = "CheckIcon";
|
|
1365
|
-
var ChevronDownIcon =
|
|
1365
|
+
var ChevronDownIcon = React69__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 = React68__default.forwardRef(
|
|
|
1376
1376
|
}
|
|
1377
1377
|
);
|
|
1378
1378
|
ChevronDownIcon.displayName = "ChevronDownIcon";
|
|
1379
|
-
var ChevronUpIcon =
|
|
1379
|
+
var ChevronUpIcon = React69__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 = React68__default.forwardRef(
|
|
|
1390
1390
|
}
|
|
1391
1391
|
);
|
|
1392
1392
|
ChevronUpIcon.displayName = "ChevronUpIcon";
|
|
1393
|
-
var CaretUpIcon =
|
|
1393
|
+
var CaretUpIcon = React69__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 = React68__default.forwardRef(
|
|
|
1404
1404
|
}
|
|
1405
1405
|
);
|
|
1406
1406
|
CaretUpIcon.displayName = "CaretUpIcon";
|
|
1407
|
-
var CaretDownIcon =
|
|
1407
|
+
var CaretDownIcon = React69__default.forwardRef(
|
|
1408
1408
|
(props, ref) => {
|
|
1409
1409
|
return /* @__PURE__ */ jsx(
|
|
1410
1410
|
BaseIconWithPath,
|
|
@@ -1417,7 +1417,7 @@ var CaretDownIcon = React68__default.forwardRef(
|
|
|
1417
1417
|
}
|
|
1418
1418
|
);
|
|
1419
1419
|
CaretDownIcon.displayName = "CaretDownIcon";
|
|
1420
|
-
var CaretLeftIcon =
|
|
1420
|
+
var CaretLeftIcon = React69__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 = React68__default.forwardRef(
|
|
|
1431
1431
|
}
|
|
1432
1432
|
);
|
|
1433
1433
|
CaretLeftIcon.displayName = "CaretLeftIcon";
|
|
1434
|
-
var CaretRightIcon =
|
|
1434
|
+
var CaretRightIcon = React69__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 = React68__default.forwardRef(
|
|
|
1445
1445
|
}
|
|
1446
1446
|
);
|
|
1447
1447
|
CaretRightIcon.displayName = "CaretRightIcon";
|
|
1448
|
-
var ChevronLeftIcon =
|
|
1448
|
+
var ChevronLeftIcon = React69__default.forwardRef(
|
|
1449
1449
|
(props, ref) => {
|
|
1450
1450
|
return /* @__PURE__ */ jsx(
|
|
1451
1451
|
BaseIconWithPath,
|
|
@@ -1458,7 +1458,7 @@ var ChevronLeftIcon = React68__default.forwardRef(
|
|
|
1458
1458
|
}
|
|
1459
1459
|
);
|
|
1460
1460
|
ChevronLeftIcon.displayName = "ChevronLeftIcon";
|
|
1461
|
-
var ChevronRightIcon =
|
|
1461
|
+
var ChevronRightIcon = React69__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 = React68__default.forwardRef(
|
|
|
1472
1472
|
}
|
|
1473
1473
|
);
|
|
1474
1474
|
ChevronRightIcon.displayName = "ChevronRightIcon";
|
|
1475
|
-
var CalendarMinusIcon =
|
|
1475
|
+
var CalendarMinusIcon = React69__default.forwardRef(
|
|
1476
1476
|
(props, ref) => {
|
|
1477
1477
|
return /* @__PURE__ */ jsx(
|
|
1478
1478
|
BaseIconWithPath,
|
|
@@ -1485,7 +1485,7 @@ var CalendarMinusIcon = React68__default.forwardRef(
|
|
|
1485
1485
|
}
|
|
1486
1486
|
);
|
|
1487
1487
|
CalendarMinusIcon.displayName = "CalendarMinusIcon";
|
|
1488
|
-
var SettingIcon =
|
|
1488
|
+
var SettingIcon = React69__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 = React68__default.forwardRef(
|
|
|
1499
1499
|
}
|
|
1500
1500
|
);
|
|
1501
1501
|
SettingIcon.displayName = "SettingIcon";
|
|
1502
|
-
var CloseSquareFillIcon =
|
|
1502
|
+
var CloseSquareFillIcon = React69__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 = React68__default.forwardRef((props, ref) => {
|
|
|
1511
1511
|
) });
|
|
1512
1512
|
});
|
|
1513
1513
|
CloseSquareFillIcon.displayName = "CloseSquareFillIcon";
|
|
1514
|
-
var CloseCircleFillIcon =
|
|
1514
|
+
var CloseCircleFillIcon = React69__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 = React68__default.forwardRef((props, ref) => {
|
|
|
1523
1523
|
) });
|
|
1524
1524
|
});
|
|
1525
1525
|
CloseCircleFillIcon.displayName = "CloseCircleFillIcon";
|
|
1526
|
-
var CheckedCircleFillIcon =
|
|
1526
|
+
var CheckedCircleFillIcon = React69__default.forwardRef((props, ref) => {
|
|
1527
1527
|
return /* @__PURE__ */ jsx(
|
|
1528
1528
|
BaseIconWithPath,
|
|
1529
1529
|
{
|
|
@@ -1534,7 +1534,7 @@ var CheckedCircleFillIcon = React68__default.forwardRef((props, ref) => {
|
|
|
1534
1534
|
);
|
|
1535
1535
|
});
|
|
1536
1536
|
CheckedCircleFillIcon.displayName = "CheckedCircleFillIcon";
|
|
1537
|
-
var CheckedSquareFillIcon =
|
|
1537
|
+
var CheckedSquareFillIcon = React69__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 = React68__default.forwardRef((props, ref) => {
|
|
|
1548
1548
|
) });
|
|
1549
1549
|
});
|
|
1550
1550
|
CheckedSquareFillIcon.displayName = "CheckSquareFillIcon";
|
|
1551
|
-
var CheckSquareEmptyIcon =
|
|
1551
|
+
var CheckSquareEmptyIcon = React69__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 = React68__default.forwardRef(
|
|
|
1564
1564
|
}
|
|
1565
1565
|
);
|
|
1566
1566
|
CheckSquareEmptyIcon.displayName = "CheckSquareEmptyIcon";
|
|
1567
|
-
var PlusIcon =
|
|
1567
|
+
var PlusIcon = React69__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 = React68__default.forwardRef(
|
|
|
1578
1578
|
}
|
|
1579
1579
|
);
|
|
1580
1580
|
PlusIcon.displayName = "PlusIcon";
|
|
1581
|
-
var ReduceIcon =
|
|
1581
|
+
var ReduceIcon = React69__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 = React68__default.forwardRef(
|
|
|
1596
1596
|
}
|
|
1597
1597
|
);
|
|
1598
1598
|
ReduceIcon.displayName = "ReduceIcon";
|
|
1599
|
-
var CircleOutlinedIcon =
|
|
1599
|
+
var CircleOutlinedIcon = React69__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 = React68__default.forwardRef((props, ref) => {
|
|
|
1608
1608
|
) });
|
|
1609
1609
|
});
|
|
1610
1610
|
CircleOutlinedIcon.displayName = "CircleOutlinedIcon";
|
|
1611
|
-
var SquareOutlinedIcon =
|
|
1611
|
+
var SquareOutlinedIcon = React69__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 = React68__default.forwardRef((props, ref) => {
|
|
|
1620
1620
|
) });
|
|
1621
1621
|
});
|
|
1622
1622
|
SquareOutlinedIcon.displayName = "SquareOutlinedIcon";
|
|
1623
|
-
var ExclamationFillIcon =
|
|
1623
|
+
var ExclamationFillIcon = React69__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 = React68__default.forwardRef((props, ref) => {
|
|
|
1631
1631
|
) });
|
|
1632
1632
|
});
|
|
1633
1633
|
ExclamationFillIcon.displayName = "ExclamationFillIcon";
|
|
1634
|
-
var QuestionFillIcon =
|
|
1634
|
+
var QuestionFillIcon = React69__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 = React68__default.forwardRef(
|
|
|
1645
1645
|
}
|
|
1646
1646
|
);
|
|
1647
1647
|
QuestionFillIcon.displayName = "ExclamationFillIcon";
|
|
1648
|
-
var ArrowLeftRightIcon =
|
|
1648
|
+
var ArrowLeftRightIcon = React69__default.forwardRef((props, ref) => {
|
|
1649
1649
|
return /* @__PURE__ */ jsx(
|
|
1650
1650
|
BaseIconWithPath,
|
|
1651
1651
|
{
|
|
@@ -1656,7 +1656,7 @@ var ArrowLeftRightIcon = React68__default.forwardRef((props, ref) => {
|
|
|
1656
1656
|
);
|
|
1657
1657
|
});
|
|
1658
1658
|
ArrowLeftRightIcon.displayName = "ArrowLeftRightIcon";
|
|
1659
|
-
var ArrowDownUpIcon =
|
|
1659
|
+
var ArrowDownUpIcon = React69__default.forwardRef(
|
|
1660
1660
|
(props, ref) => {
|
|
1661
1661
|
return /* @__PURE__ */ jsx(
|
|
1662
1662
|
BaseIconWithPath,
|
|
@@ -1669,7 +1669,7 @@ var ArrowDownUpIcon = React68__default.forwardRef(
|
|
|
1669
1669
|
}
|
|
1670
1670
|
);
|
|
1671
1671
|
ArrowDownUpIcon.displayName = "ArrowDownUpIconIcon";
|
|
1672
|
-
var ArrowUpSquareFillIcon =
|
|
1672
|
+
var ArrowUpSquareFillIcon = React69__default.forwardRef((props, ref) => {
|
|
1673
1673
|
return /* @__PURE__ */ jsx(
|
|
1674
1674
|
BaseIconWithPath,
|
|
1675
1675
|
{
|
|
@@ -1680,7 +1680,7 @@ var ArrowUpSquareFillIcon = React68__default.forwardRef((props, ref) => {
|
|
|
1680
1680
|
);
|
|
1681
1681
|
});
|
|
1682
1682
|
ArrowUpSquareFillIcon.displayName = "ArrowUpSquareFillIconIcon";
|
|
1683
|
-
var ArrowDownSquareFillIcon =
|
|
1683
|
+
var ArrowDownSquareFillIcon = React69__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 = React68__default.forwardRef((props, ref) => {
|
|
|
1692
1692
|
) });
|
|
1693
1693
|
});
|
|
1694
1694
|
ArrowDownSquareFillIcon.displayName = "ArrowDownSquareFillIconIcon";
|
|
1695
|
-
var ArrowLeftRightSquareFill =
|
|
1695
|
+
var ArrowLeftRightSquareFill = React69__default.forwardRef((props, ref) => {
|
|
1696
1696
|
return /* @__PURE__ */ jsx(
|
|
1697
1697
|
"svg",
|
|
1698
1698
|
{
|
|
@@ -1718,7 +1718,7 @@ var ArrowLeftRightSquareFill = React68__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 = React69__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 = React69__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 = React69__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 = React68__default.forwardRef(
|
|
|
1977
1977
|
}
|
|
1978
1978
|
);
|
|
1979
1979
|
EditIcon.displayName = "EditIcon";
|
|
1980
|
-
var EyeIcon =
|
|
1980
|
+
var EyeIcon = React69__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 = React68__default.forwardRef(
|
|
|
1991
1991
|
}
|
|
1992
1992
|
);
|
|
1993
1993
|
EyeIcon.displayName = "EyeIcon";
|
|
1994
|
-
var ShareIcon =
|
|
1994
|
+
var ShareIcon = React69__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 = React68__default.forwardRef(
|
|
|
2005
2005
|
}
|
|
2006
2006
|
);
|
|
2007
2007
|
ShareIcon.displayName = "ShareIcon";
|
|
2008
|
-
var EyeCloseIcon =
|
|
2008
|
+
var EyeCloseIcon = React69__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 = React68__default.forwardRef(
|
|
|
2019
2019
|
}
|
|
2020
2020
|
);
|
|
2021
2021
|
EyeCloseIcon.displayName = "EyeCloseIcon";
|
|
2022
|
-
var RefreshIcon =
|
|
2022
|
+
var RefreshIcon = React69__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 = React69__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 = React69__default.forwardRef(
|
|
2215
2215
|
(props, ref) => {
|
|
2216
2216
|
return /* @__PURE__ */ jsx(
|
|
2217
2217
|
BaseIconWithPath,
|
|
@@ -2224,7 +2224,7 @@ var CalendarIcon = React68__default.forwardRef(
|
|
|
2224
2224
|
}
|
|
2225
2225
|
);
|
|
2226
2226
|
CalendarIcon.displayName = "CaretLeftIcon";
|
|
2227
|
-
var CopyIcon =
|
|
2227
|
+
var CopyIcon = React69__default.forwardRef(
|
|
2228
2228
|
(props, ref) => {
|
|
2229
2229
|
return /* @__PURE__ */ jsx(
|
|
2230
2230
|
BaseIconWithPath,
|
|
@@ -2237,7 +2237,7 @@ var CopyIcon = React68__default.forwardRef(
|
|
|
2237
2237
|
}
|
|
2238
2238
|
);
|
|
2239
2239
|
CopyIcon.displayName = "CopyIcon";
|
|
2240
|
-
var ServerFillIcon =
|
|
2240
|
+
var ServerFillIcon = React69__default.forwardRef(
|
|
2241
2241
|
(props, ref) => {
|
|
2242
2242
|
return /* @__PURE__ */ jsx(
|
|
2243
2243
|
BaseIconWithPath,
|
|
@@ -2250,7 +2250,7 @@ var ServerFillIcon = React68__default.forwardRef(
|
|
|
2250
2250
|
}
|
|
2251
2251
|
);
|
|
2252
2252
|
ServerFillIcon.displayName = "ServerFillIcon";
|
|
2253
|
-
var SortingAscIcon =
|
|
2253
|
+
var SortingAscIcon = React69__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 = React68__default.forwardRef(
|
|
|
2274
2274
|
}
|
|
2275
2275
|
);
|
|
2276
2276
|
SortingAscIcon.displayName = "SortingAscIcon";
|
|
2277
|
-
var SortingDescIcon =
|
|
2277
|
+
var SortingDescIcon = React69__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 = React68__default.forwardRef(
|
|
|
2298
2298
|
}
|
|
2299
2299
|
);
|
|
2300
2300
|
SortingDescIcon.displayName = "SortingDescIcon";
|
|
2301
|
-
var ArrowUpShortIcon =
|
|
2301
|
+
var ArrowUpShortIcon = React69__default.forwardRef(
|
|
2302
2302
|
(props, ref) => {
|
|
2303
2303
|
return /* @__PURE__ */ jsx(
|
|
2304
2304
|
BaseIconWithPath,
|
|
@@ -2310,7 +2310,7 @@ var ArrowUpShortIcon = React68__default.forwardRef(
|
|
|
2310
2310
|
);
|
|
2311
2311
|
}
|
|
2312
2312
|
);
|
|
2313
|
-
var ArrowDownShortIcon =
|
|
2313
|
+
var ArrowDownShortIcon = React69__default.forwardRef(
|
|
2314
2314
|
(props, ref) => {
|
|
2315
2315
|
return /* @__PURE__ */ jsx(
|
|
2316
2316
|
BaseIconWithPath,
|
|
@@ -2322,7 +2322,7 @@ var ArrowDownShortIcon = React68__default.forwardRef(
|
|
|
2322
2322
|
);
|
|
2323
2323
|
}
|
|
2324
2324
|
);
|
|
2325
|
-
var ArrowLeftShortIcon =
|
|
2325
|
+
var ArrowLeftShortIcon = React69__default.forwardRef(
|
|
2326
2326
|
(props, ref) => {
|
|
2327
2327
|
return /* @__PURE__ */ jsx(
|
|
2328
2328
|
BaseIconWithPath,
|
|
@@ -2334,7 +2334,7 @@ var ArrowLeftShortIcon = React68__default.forwardRef(
|
|
|
2334
2334
|
);
|
|
2335
2335
|
}
|
|
2336
2336
|
);
|
|
2337
|
-
var ArrowRightShortIcon =
|
|
2337
|
+
var ArrowRightShortIcon = React69__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 = React69__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 = React69__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 = React69__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 = React69__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 = React69__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 = React69__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 = React68__default.forwardRef(
|
|
|
3814
3814
|
}
|
|
3815
3815
|
);
|
|
3816
3816
|
NewsFillIcon.displayName = "NewsFillIcon";
|
|
3817
|
-
var BellIcon =
|
|
3817
|
+
var BellIcon = React69__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 = React69__default.forwardRef(
|
|
3899
3899
|
(props, ref) => {
|
|
3900
3900
|
const { className, opacity = 0.54, ...rest } = props;
|
|
3901
3901
|
return /* @__PURE__ */ jsxs(
|
|
@@ -3931,6 +3931,20 @@ var AddCircleIcon = React68__default.forwardRef(
|
|
|
3931
3931
|
}
|
|
3932
3932
|
);
|
|
3933
3933
|
AddCircleIcon.displayName = "AddCircleIcon";
|
|
3934
|
+
var RwaIcon = React69__default.forwardRef(
|
|
3935
|
+
(props, ref) => {
|
|
3936
|
+
const { opacity = 1, ...rest } = props;
|
|
3937
|
+
return /* @__PURE__ */ jsx(BaseIcon, { ref, ...rest, viewBox: "0 0 12 12", children: /* @__PURE__ */ jsx(
|
|
3938
|
+
"path",
|
|
3939
|
+
{
|
|
3940
|
+
d: "M6 1a5 5 0 0 1 4.999 5H11l-.002.047-.002.121a5 5 0 0 1-.049.552 5 5 0 0 1-.596 1.742l-.025.044-.086.143-.023.035q-.044.072-.093.142l-.021.03q-.145.208-.31.4l-.071.082a5 5 0 0 1-.403.4l-.074.064-.1.085-.063.049q-.056.044-.114.087l-.052.037q-.31.223-.656.399l-.01.006A5 5 0 0 1 6 11a5 5 0 0 1-3.582-1.511L1.5 10.5.75 7.25l3.25.5-.906.996A4 4 0 0 0 6 10c.834 0 1.609-.256 2.25-.693v-.002c.381-.272.718-.6 1-.975a8 8 0 0 0-1-.19 8 8 0 0 1-.151.57.244.244 0 0 1-.302.16l-.481-.138a.256.256 0 0 1-.172-.32q.051-.177.101-.367c-.172 0-.343-.014-.52-.024a.26.26 0 0 1-.245-.256V7.25c0-.138.112-.25.25-.249.237.002.469.01.695.044Q7.492 6.524 7.5 6q0-.532-.06-1.06C7 5 6.5 5 6 5s-.975 0-1.44-.055Q4.495 5.47 4.5 6v.187a.247.247 0 0 1-.272.246 17 17 0 0 1-.515-.062.25.25 0 0 1-.213-.246V6a10 10 0 0 1 .06-1.155 8 8 0 0 1-1.295-.27c-.18.453-.27.687-.265 1.175v.01c0 .16-.147.278-.302.243q-.255-.057-.5-.116a.24.24 0 0 1-.187-.25A5 5 0 0 1 6 1m3.73 3.581a9 9 0 0 1-1.3.259 9.7 9.7 0 0 1 0 2.315q.665.078 1.31.264c.144-.38.233-.787.255-1.213L10 6a3.8 3.8 0 0 0-.27-1.419M6 2c-.47 0-1 .83-1.275 1.955C5.13 4 5.555 4 6 4s.865 0 1.27-.035C7 2.795 6.46 2 6 2m-1.772.413a4 4 0 0 0-1.493 1.262q.495.122 1 .19c.098-.504.264-.992.493-1.452m3.548 0q.326.7.499 1.452.505-.066 1-.185a4.4 4.4 0 0 0-1.499-1.266",
|
|
3941
|
+
fill: "currentColor",
|
|
3942
|
+
fillOpacity: opacity
|
|
3943
|
+
}
|
|
3944
|
+
) });
|
|
3945
|
+
}
|
|
3946
|
+
);
|
|
3947
|
+
RwaIcon.displayName = "RwaIcon";
|
|
3934
3948
|
|
|
3935
3949
|
// src/icon/index.ts
|
|
3936
3950
|
var Icon = BaseIcon;
|
|
@@ -3988,7 +4002,7 @@ var textVariants = tv({
|
|
|
3988
4002
|
}
|
|
3989
4003
|
}
|
|
3990
4004
|
});
|
|
3991
|
-
var Text =
|
|
4005
|
+
var Text = React69__default.forwardRef((props, forwardedRef) => {
|
|
3992
4006
|
const {
|
|
3993
4007
|
children,
|
|
3994
4008
|
className,
|
|
@@ -4077,7 +4091,7 @@ var isTextRule = (rule) => {
|
|
|
4077
4091
|
};
|
|
4078
4092
|
var DEFAULT_SYMBOL_FORMAT = "base-quote";
|
|
4079
4093
|
var DEFAULT_DATE_FORMAT = "yyyy-MM-dd HH:mm:ss";
|
|
4080
|
-
var FormattedText =
|
|
4094
|
+
var FormattedText = React69__default.forwardRef(
|
|
4081
4095
|
(props, ref) => {
|
|
4082
4096
|
const {
|
|
4083
4097
|
rule,
|
|
@@ -4189,7 +4203,7 @@ var gradientTextVariants = tv({
|
|
|
4189
4203
|
}
|
|
4190
4204
|
}
|
|
4191
4205
|
});
|
|
4192
|
-
var GradientText =
|
|
4206
|
+
var GradientText = React69__default.forwardRef((props, ref) => {
|
|
4193
4207
|
const { color, className, angle, ...rest } = props;
|
|
4194
4208
|
const style = parseAngleProps({ angle });
|
|
4195
4209
|
return (
|
|
@@ -4357,7 +4371,7 @@ var statisticVariants = tv({
|
|
|
4357
4371
|
// color: "default",
|
|
4358
4372
|
}
|
|
4359
4373
|
});
|
|
4360
|
-
var StatisticLabel =
|
|
4374
|
+
var StatisticLabel = React69__default.forwardRef(
|
|
4361
4375
|
(props, ref) => {
|
|
4362
4376
|
const { label: labelClassName } = statisticVariants({});
|
|
4363
4377
|
return /* @__PURE__ */ jsx(
|
|
@@ -4373,7 +4387,7 @@ var StatisticLabel = React68__default.forwardRef(
|
|
|
4373
4387
|
}
|
|
4374
4388
|
);
|
|
4375
4389
|
StatisticLabel.displayName = "StatisticLabel";
|
|
4376
|
-
var Statistic =
|
|
4390
|
+
var Statistic = React69__default.forwardRef((props, ref) => {
|
|
4377
4391
|
const { label, valueProps, align, className, classNames, children, ...rest } = props;
|
|
4378
4392
|
const { root, value: valueClassName } = statisticVariants({ align });
|
|
4379
4393
|
const value = useMemo(() => {
|
|
@@ -4711,7 +4725,7 @@ var inputVariants = tv(
|
|
|
4711
4725
|
responsiveVariants: ["md", "lg"]
|
|
4712
4726
|
}
|
|
4713
4727
|
);
|
|
4714
|
-
var Input =
|
|
4728
|
+
var Input = React69__default.forwardRef((props, ref) => {
|
|
4715
4729
|
const {
|
|
4716
4730
|
size,
|
|
4717
4731
|
disabled,
|
|
@@ -4782,7 +4796,7 @@ var Input = React68__default.forwardRef((props, ref) => {
|
|
|
4782
4796
|
)
|
|
4783
4797
|
] });
|
|
4784
4798
|
});
|
|
4785
|
-
var ClearButton =
|
|
4799
|
+
var ClearButton = React69__default.forwardRef((props, ref) => {
|
|
4786
4800
|
return /* @__PURE__ */ jsx(
|
|
4787
4801
|
"button",
|
|
4788
4802
|
{
|
|
@@ -4843,7 +4857,7 @@ var popoverVariants = tv({
|
|
|
4843
4857
|
var PopoverRoot = PopoverPrimitive.Root;
|
|
4844
4858
|
var PopoverTrigger = PopoverPrimitive.Trigger;
|
|
4845
4859
|
var PopoverAnchor = PopoverPrimitive.Anchor;
|
|
4846
|
-
var PopoverContent =
|
|
4860
|
+
var PopoverContent = React69.forwardRef(({ className, align = "center", sideOffset = 4, ...props }, ref) => /* @__PURE__ */ jsx(PopoverPrimitive.Portal, { children: /* @__PURE__ */ jsx(
|
|
4847
4861
|
PopoverPrimitive.Content,
|
|
4848
4862
|
{
|
|
4849
4863
|
ref,
|
|
@@ -4894,7 +4908,7 @@ var scrollAreaVariants = tv({
|
|
|
4894
4908
|
}
|
|
4895
4909
|
}
|
|
4896
4910
|
});
|
|
4897
|
-
var ScrollArea =
|
|
4911
|
+
var ScrollArea = React69__default.forwardRef((oriProps, ref) => {
|
|
4898
4912
|
const {
|
|
4899
4913
|
className,
|
|
4900
4914
|
classNames,
|
|
@@ -4924,7 +4938,7 @@ var ScrollArea = React68__default.forwardRef((oriProps, ref) => {
|
|
|
4924
4938
|
);
|
|
4925
4939
|
});
|
|
4926
4940
|
ScrollArea.displayName = ScrollAreaPrimitive.Root.displayName;
|
|
4927
|
-
var ScrollBar =
|
|
4941
|
+
var ScrollBar = React69__default.forwardRef((oriProps, ref) => {
|
|
4928
4942
|
const { className, orientation = "vertical", ...props } = oriProps;
|
|
4929
4943
|
const { bar, tumb } = scrollAreaVariants({ className, orientation });
|
|
4930
4944
|
return /* @__PURE__ */ jsx(
|
|
@@ -5097,7 +5111,7 @@ var selectVariants = tv(
|
|
|
5097
5111
|
var SelectRoot = SelectPrimitive.Root;
|
|
5098
5112
|
var SelectGroup = SelectPrimitive.Group;
|
|
5099
5113
|
var SelectValue = SelectPrimitive.Value;
|
|
5100
|
-
var SelectTrigger =
|
|
5114
|
+
var SelectTrigger = React69.forwardRef(
|
|
5101
5115
|
({
|
|
5102
5116
|
className,
|
|
5103
5117
|
children,
|
|
@@ -5151,7 +5165,7 @@ var SelectTrigger = React68.forwardRef(
|
|
|
5151
5165
|
}
|
|
5152
5166
|
);
|
|
5153
5167
|
SelectTrigger.displayName = SelectPrimitive.Trigger.displayName;
|
|
5154
|
-
var SelectScrollUpButton =
|
|
5168
|
+
var SelectScrollUpButton = React69.forwardRef(({ className, ...props }, ref) => {
|
|
5155
5169
|
const { scrollUpButton } = selectVariants();
|
|
5156
5170
|
return /* @__PURE__ */ jsx(
|
|
5157
5171
|
SelectPrimitive.ScrollUpButton,
|
|
@@ -5164,7 +5178,7 @@ var SelectScrollUpButton = React68.forwardRef(({ className, ...props }, ref) =>
|
|
|
5164
5178
|
);
|
|
5165
5179
|
});
|
|
5166
5180
|
SelectScrollUpButton.displayName = SelectPrimitive.ScrollUpButton.displayName;
|
|
5167
|
-
var SelectScrollDownButton =
|
|
5181
|
+
var SelectScrollDownButton = React69.forwardRef(({ className, ...props }, ref) => {
|
|
5168
5182
|
const { scrollDownButton } = selectVariants();
|
|
5169
5183
|
return /* @__PURE__ */ jsx(
|
|
5170
5184
|
SelectPrimitive.ScrollDownButton,
|
|
@@ -5177,7 +5191,7 @@ var SelectScrollDownButton = React68.forwardRef(({ className, ...props }, ref) =
|
|
|
5177
5191
|
);
|
|
5178
5192
|
});
|
|
5179
5193
|
SelectScrollDownButton.displayName = SelectPrimitive.ScrollDownButton.displayName;
|
|
5180
|
-
var SelectContent =
|
|
5194
|
+
var SelectContent = React69.forwardRef(({ className, children, position = "popper", ...props }, ref) => {
|
|
5181
5195
|
const { content, viewport } = selectVariants({ position, className });
|
|
5182
5196
|
return /* @__PURE__ */ jsx(SelectPrimitive.Portal, { children: /* @__PURE__ */ jsx(
|
|
5183
5197
|
SelectPrimitive.Content,
|
|
@@ -5191,7 +5205,7 @@ var SelectContent = React68.forwardRef(({ className, children, position = "poppe
|
|
|
5191
5205
|
) });
|
|
5192
5206
|
});
|
|
5193
5207
|
SelectContent.displayName = SelectPrimitive.Content.displayName;
|
|
5194
|
-
var SelectLabel =
|
|
5208
|
+
var SelectLabel = React69.forwardRef(({ className, ...props }, ref) => {
|
|
5195
5209
|
const { label } = selectVariants();
|
|
5196
5210
|
return /* @__PURE__ */ jsx(
|
|
5197
5211
|
SelectPrimitive.Label,
|
|
@@ -5203,12 +5217,12 @@ var SelectLabel = React68.forwardRef(({ className, ...props }, ref) => {
|
|
|
5203
5217
|
);
|
|
5204
5218
|
});
|
|
5205
5219
|
SelectLabel.displayName = SelectPrimitive.Label.displayName;
|
|
5206
|
-
var SelectItem =
|
|
5220
|
+
var SelectItem = React69.forwardRef(({ className, children, size, ...props }, ref) => {
|
|
5207
5221
|
const { item } = selectVariants({ size });
|
|
5208
5222
|
return /* @__PURE__ */ jsx(SelectPrimitive.Item, { ref, className: item({ className }), ...props, children: /* @__PURE__ */ jsx(SelectPrimitive.ItemText, { children }) });
|
|
5209
5223
|
});
|
|
5210
5224
|
SelectItem.displayName = SelectPrimitive.Item.displayName;
|
|
5211
|
-
var SelectSeparator =
|
|
5225
|
+
var SelectSeparator = React69.forwardRef(({ className, ...props }, ref) => {
|
|
5212
5226
|
const { separator } = selectVariants();
|
|
5213
5227
|
return /* @__PURE__ */ jsx(
|
|
5214
5228
|
SelectPrimitive.Separator,
|
|
@@ -5402,7 +5416,7 @@ var SelectWithOptions = (props) => {
|
|
|
5402
5416
|
...rest
|
|
5403
5417
|
} = props;
|
|
5404
5418
|
return /* @__PURE__ */ jsx(Select, { ...rest, children: /* @__PURE__ */ jsx(SelectGroup, { children: options.map((option, index) => {
|
|
5405
|
-
return
|
|
5419
|
+
return React69__default.cloneElement(optionRenderer(option, currentValue), {
|
|
5406
5420
|
size: props.size,
|
|
5407
5421
|
key: index,
|
|
5408
5422
|
index
|
|
@@ -5563,7 +5577,7 @@ var tooltipVariants = tv({
|
|
|
5563
5577
|
"data-[side=top]:oui-slide-in-from-bottom-2"
|
|
5564
5578
|
]
|
|
5565
5579
|
});
|
|
5566
|
-
var TooltipContent =
|
|
5580
|
+
var TooltipContent = React69.forwardRef(({ className, sideOffset = 4, ...props }, ref) => {
|
|
5567
5581
|
return /* @__PURE__ */ jsx(
|
|
5568
5582
|
TooltipPrimitive.Content,
|
|
5569
5583
|
{
|
|
@@ -5594,7 +5608,7 @@ var TooltipArrow = (props) => {
|
|
|
5594
5608
|
}
|
|
5595
5609
|
);
|
|
5596
5610
|
};
|
|
5597
|
-
var Tooltip =
|
|
5611
|
+
var Tooltip = React69.forwardRef((originalProps, ref) => {
|
|
5598
5612
|
const {
|
|
5599
5613
|
children,
|
|
5600
5614
|
content,
|
|
@@ -5826,7 +5840,7 @@ var inputHelpTextVariants = tv$1({
|
|
|
5826
5840
|
}
|
|
5827
5841
|
}
|
|
5828
5842
|
});
|
|
5829
|
-
var InputHelpText =
|
|
5843
|
+
var InputHelpText = React69__default.forwardRef(
|
|
5830
5844
|
(props, ref) => {
|
|
5831
5845
|
const { className, asChild, color, ...rest } = props;
|
|
5832
5846
|
const Comp = asChild ? Slot : "div";
|
|
@@ -5864,7 +5878,7 @@ var textFieldVariants = tv({
|
|
|
5864
5878
|
direction: "column"
|
|
5865
5879
|
}
|
|
5866
5880
|
});
|
|
5867
|
-
var TextField =
|
|
5881
|
+
var TextField = React69__default.forwardRef((props, ref) => {
|
|
5868
5882
|
const { label, helpText, direction, className, ...inputProps } = props;
|
|
5869
5883
|
const { root, label: labelClassName } = textFieldVariants({ direction });
|
|
5870
5884
|
return /* @__PURE__ */ jsxs("div", { className: root({ className, direction }), children: [
|
|
@@ -5882,7 +5896,7 @@ var TextField = React68__default.forwardRef((props, ref) => {
|
|
|
5882
5896
|
] });
|
|
5883
5897
|
});
|
|
5884
5898
|
TextField.displayName = "TextField";
|
|
5885
|
-
var InputLabel =
|
|
5899
|
+
var InputLabel = React69__default.forwardRef(
|
|
5886
5900
|
(props, ref) => {
|
|
5887
5901
|
const { asChild = false, className, ...rest } = props;
|
|
5888
5902
|
const Comp = asChild ? Slot : "label";
|
|
@@ -5934,7 +5948,7 @@ var checkboxVariants = tv$1({
|
|
|
5934
5948
|
// style: "checkBox",
|
|
5935
5949
|
}
|
|
5936
5950
|
});
|
|
5937
|
-
var Checkbox =
|
|
5951
|
+
var Checkbox = React69.forwardRef(({ className, color = "white", variant = "checkBox", ...props }, ref) => {
|
|
5938
5952
|
return /* @__PURE__ */ jsx(
|
|
5939
5953
|
CheckboxPrimitive.Root,
|
|
5940
5954
|
{
|
|
@@ -6062,7 +6076,7 @@ var switchVariants = tv$1({
|
|
|
6062
6076
|
color: "primary"
|
|
6063
6077
|
}
|
|
6064
6078
|
});
|
|
6065
|
-
var Switch =
|
|
6079
|
+
var Switch = React69__default.forwardRef(({ className, color, ...props }, ref) => {
|
|
6066
6080
|
const { root, thumb } = switchVariants({
|
|
6067
6081
|
className,
|
|
6068
6082
|
color
|
|
@@ -6183,7 +6197,7 @@ function Badge({ className, variant, color, size, ...props }) {
|
|
|
6183
6197
|
}
|
|
6184
6198
|
);
|
|
6185
6199
|
}
|
|
6186
|
-
var Logo =
|
|
6200
|
+
var Logo = React69__default.forwardRef(({ src, alt, href }, ref) => {
|
|
6187
6201
|
return /* @__PURE__ */ jsx("div", { className: "logo oui-px-3", ref, children: /* @__PURE__ */ jsx("a", { href: href ?? "/", children: /* @__PURE__ */ jsx(
|
|
6188
6202
|
"img",
|
|
6189
6203
|
{
|
|
@@ -6765,7 +6779,7 @@ var Pagination = ({ className, ...props }) => /* @__PURE__ */ jsx(
|
|
|
6765
6779
|
}
|
|
6766
6780
|
);
|
|
6767
6781
|
Pagination.displayName = "Pagination";
|
|
6768
|
-
var PaginationContent =
|
|
6782
|
+
var PaginationContent = React69__default.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
6769
6783
|
"ul",
|
|
6770
6784
|
{
|
|
6771
6785
|
ref,
|
|
@@ -6777,7 +6791,7 @@ var PaginationContent = React68__default.forwardRef(({ className, ...props }, re
|
|
|
6777
6791
|
}
|
|
6778
6792
|
));
|
|
6779
6793
|
PaginationContent.displayName = "PaginationContent";
|
|
6780
|
-
var PaginationItem =
|
|
6794
|
+
var PaginationItem = React69__default.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("li", { ref, className: cnBase("oui-leading-[0px]", className), ...props }));
|
|
6781
6795
|
PaginationItem.displayName = "PaginationItem";
|
|
6782
6796
|
var PaginationLink = ({
|
|
6783
6797
|
className,
|
|
@@ -7787,7 +7801,7 @@ var Sheet = DialogPrimitive.Root;
|
|
|
7787
7801
|
var SheetTrigger = DialogPrimitive.Trigger;
|
|
7788
7802
|
var SheetClose = DialogPrimitive.Close;
|
|
7789
7803
|
var SheetPortal = DialogPrimitive.Portal;
|
|
7790
|
-
var SheetOverlay =
|
|
7804
|
+
var SheetOverlay = React69.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
7791
7805
|
DialogPrimitive.Overlay,
|
|
7792
7806
|
{
|
|
7793
7807
|
className: cnBase(
|
|
@@ -7813,7 +7827,7 @@ var sheetVariants = tv$1({
|
|
|
7813
7827
|
side: "bottom"
|
|
7814
7828
|
}
|
|
7815
7829
|
});
|
|
7816
|
-
var SheetContent =
|
|
7830
|
+
var SheetContent = React69.forwardRef(
|
|
7817
7831
|
({
|
|
7818
7832
|
side = "bottom",
|
|
7819
7833
|
closeable = true,
|
|
@@ -7909,7 +7923,7 @@ var SheetFooter = ({
|
|
|
7909
7923
|
}
|
|
7910
7924
|
);
|
|
7911
7925
|
SheetFooter.displayName = "SheetFooter";
|
|
7912
|
-
var SheetTitle =
|
|
7926
|
+
var SheetTitle = React69.forwardRef(({ className, leading, ...props }, ref) => /* @__PURE__ */ jsxs(
|
|
7913
7927
|
"div",
|
|
7914
7928
|
{
|
|
7915
7929
|
className: "oui-sheet-header oui-grid oui-grid-cols-[40px_1fr_40px] oui-items-center",
|
|
@@ -7930,7 +7944,7 @@ var SheetTitle = React68.forwardRef(({ className, leading, ...props }, ref) => /
|
|
|
7930
7944
|
}
|
|
7931
7945
|
));
|
|
7932
7946
|
SheetTitle.displayName = DialogPrimitive.Title.displayName;
|
|
7933
|
-
var SheetDescription =
|
|
7947
|
+
var SheetDescription = React69.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
7934
7948
|
DialogPrimitive.Description,
|
|
7935
7949
|
{
|
|
7936
7950
|
ref,
|
|
@@ -8320,7 +8334,7 @@ var dividerVariants = tv({
|
|
|
8320
8334
|
intensity: 4
|
|
8321
8335
|
}
|
|
8322
8336
|
});
|
|
8323
|
-
var Divider =
|
|
8337
|
+
var Divider = React69__default.forwardRef((props, ref) => {
|
|
8324
8338
|
const { className, intensity, direction, lineStyle, mx, my, ...rest } = props;
|
|
8325
8339
|
return /* @__PURE__ */ jsx(
|
|
8326
8340
|
"div",
|
|
@@ -8528,7 +8542,7 @@ var Dialog = DialogPrimitive.Root;
|
|
|
8528
8542
|
var DialogTrigger = DialogPrimitive.Trigger;
|
|
8529
8543
|
var DialogPortal = DialogPrimitive.Portal;
|
|
8530
8544
|
var DialogClose = DialogPrimitive.Close;
|
|
8531
|
-
var DialogOverlay =
|
|
8545
|
+
var DialogOverlay = React69.forwardRef(({ className, ...props }, ref) => {
|
|
8532
8546
|
const { overlay } = dialogVariants();
|
|
8533
8547
|
return /* @__PURE__ */ jsx(
|
|
8534
8548
|
DialogPrimitive.Overlay,
|
|
@@ -8540,7 +8554,7 @@ var DialogOverlay = React68.forwardRef(({ className, ...props }, ref) => {
|
|
|
8540
8554
|
);
|
|
8541
8555
|
});
|
|
8542
8556
|
DialogOverlay.displayName = DialogPrimitive.Overlay.displayName;
|
|
8543
|
-
var DialogContent =
|
|
8557
|
+
var DialogContent = React69.forwardRef(
|
|
8544
8558
|
({
|
|
8545
8559
|
overlyClassName,
|
|
8546
8560
|
className,
|
|
@@ -8602,7 +8616,7 @@ var DialogFooter = ({
|
|
|
8602
8616
|
return /* @__PURE__ */ jsx("div", { className: footer({ className }), ...props });
|
|
8603
8617
|
};
|
|
8604
8618
|
DialogFooter.displayName = "DialogFooter";
|
|
8605
|
-
var DialogTitle =
|
|
8619
|
+
var DialogTitle = React69.forwardRef(({ className, ...props }, ref) => {
|
|
8606
8620
|
const { title } = dialogVariants();
|
|
8607
8621
|
return /* @__PURE__ */ jsx(
|
|
8608
8622
|
DialogPrimitive.Title,
|
|
@@ -8614,7 +8628,7 @@ var DialogTitle = React68.forwardRef(({ className, ...props }, ref) => {
|
|
|
8614
8628
|
);
|
|
8615
8629
|
});
|
|
8616
8630
|
DialogTitle.displayName = DialogPrimitive.Title.displayName;
|
|
8617
|
-
var DialogDescription =
|
|
8631
|
+
var DialogDescription = React69.forwardRef(({ className, ...props }, ref) => {
|
|
8618
8632
|
const { desc } = dialogVariants();
|
|
8619
8633
|
return /* @__PURE__ */ jsx(
|
|
8620
8634
|
DialogPrimitive.Description,
|
|
@@ -9665,6 +9679,7 @@ var tabsVariants = tv({
|
|
|
9665
9679
|
"oui-px-1"
|
|
9666
9680
|
],
|
|
9667
9681
|
trigger: [
|
|
9682
|
+
"oui-group",
|
|
9668
9683
|
"oui-pb-2",
|
|
9669
9684
|
"oui-relative",
|
|
9670
9685
|
"data-[state=active]:oui-text-base-contrast",
|
|
@@ -9682,6 +9697,7 @@ var tabsVariants = tv({
|
|
|
9682
9697
|
contained: {
|
|
9683
9698
|
list: ["oui-space-x-[6px]"],
|
|
9684
9699
|
trigger: [
|
|
9700
|
+
"oui-group",
|
|
9685
9701
|
"oui-rounded",
|
|
9686
9702
|
"oui-px-3",
|
|
9687
9703
|
"oui-bg-base-7 hover:oui-bg-base-5",
|
|
@@ -9773,13 +9789,13 @@ var tabsVariants = tv({
|
|
|
9773
9789
|
}
|
|
9774
9790
|
});
|
|
9775
9791
|
var TabsBase = TabsPrimitive.Root;
|
|
9776
|
-
var TabsList =
|
|
9792
|
+
var TabsList = React69.forwardRef((originProps, ref) => {
|
|
9777
9793
|
const { className, size, variant, ...props } = originProps;
|
|
9778
9794
|
const { list } = tabsVariants({ size, variant });
|
|
9779
9795
|
return /* @__PURE__ */ jsx(TabsPrimitive.List, { ref, className: list({ className }), ...props });
|
|
9780
9796
|
});
|
|
9781
9797
|
TabsList.displayName = TabsPrimitive.List.displayName;
|
|
9782
|
-
var TabsTrigger =
|
|
9798
|
+
var TabsTrigger = React69.forwardRef((originProps, ref) => {
|
|
9783
9799
|
const { className, size, children, icon, variant, ...props } = originProps;
|
|
9784
9800
|
const { trigger, icon: iconClassName } = tabsVariants({ size, variant });
|
|
9785
9801
|
return /* @__PURE__ */ jsxs(
|
|
@@ -9789,14 +9805,14 @@ var TabsTrigger = React68.forwardRef((originProps, ref) => {
|
|
|
9789
9805
|
className: trigger({ className }),
|
|
9790
9806
|
...props,
|
|
9791
9807
|
children: [
|
|
9792
|
-
typeof icon !== "undefined" ?
|
|
9808
|
+
typeof icon !== "undefined" ? React69.cloneElement(icon, { className: iconClassName(), opacity: 1 }) : null,
|
|
9793
9809
|
/* @__PURE__ */ jsx("span", { children })
|
|
9794
9810
|
]
|
|
9795
9811
|
}
|
|
9796
9812
|
);
|
|
9797
9813
|
});
|
|
9798
9814
|
TabsTrigger.displayName = TabsPrimitive.Trigger.displayName;
|
|
9799
|
-
var TabsContent =
|
|
9815
|
+
var TabsContent = React69.forwardRef((oriProps, ref) => {
|
|
9800
9816
|
const { className, size, children, ...props } = oriProps;
|
|
9801
9817
|
const { content } = tabsVariants({ size });
|
|
9802
9818
|
return /* @__PURE__ */ jsx(
|
|
@@ -10125,7 +10141,7 @@ var cardVariants = tv({
|
|
|
10125
10141
|
intensity: 900
|
|
10126
10142
|
}
|
|
10127
10143
|
});
|
|
10128
|
-
var CardBase =
|
|
10144
|
+
var CardBase = React69__default.forwardRef(
|
|
10129
10145
|
({ className, intensity, children, ...props }, ref) => {
|
|
10130
10146
|
return /* @__PURE__ */ jsx(
|
|
10131
10147
|
"div",
|
|
@@ -10139,7 +10155,7 @@ var CardBase = React68__default.forwardRef(
|
|
|
10139
10155
|
}
|
|
10140
10156
|
);
|
|
10141
10157
|
CardBase.displayName = "CardBase";
|
|
10142
|
-
var CardHeader =
|
|
10158
|
+
var CardHeader = React69__default.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
10143
10159
|
"div",
|
|
10144
10160
|
{
|
|
10145
10161
|
ref,
|
|
@@ -10152,7 +10168,7 @@ var CardHeader = React68__default.forwardRef(({ className, children, ...props },
|
|
|
10152
10168
|
}
|
|
10153
10169
|
));
|
|
10154
10170
|
CardHeader.displayName = "CardHeader";
|
|
10155
|
-
var CardTitle =
|
|
10171
|
+
var CardTitle = React69__default.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
10156
10172
|
"h3",
|
|
10157
10173
|
{
|
|
10158
10174
|
ref,
|
|
@@ -10165,7 +10181,7 @@ var CardTitle = React68__default.forwardRef(({ className, children, ...props },
|
|
|
10165
10181
|
}
|
|
10166
10182
|
));
|
|
10167
10183
|
CardTitle.displayName = "CardTitle";
|
|
10168
|
-
var CardDescription =
|
|
10184
|
+
var CardDescription = React69__default.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
10169
10185
|
"p",
|
|
10170
10186
|
{
|
|
10171
10187
|
ref,
|
|
@@ -10174,7 +10190,7 @@ var CardDescription = React68__default.forwardRef(({ className, children, ...pro
|
|
|
10174
10190
|
children
|
|
10175
10191
|
}
|
|
10176
10192
|
));
|
|
10177
|
-
var CardContent =
|
|
10193
|
+
var CardContent = React69__default.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
10178
10194
|
"div",
|
|
10179
10195
|
{
|
|
10180
10196
|
ref,
|
|
@@ -10184,7 +10200,7 @@ var CardContent = React68__default.forwardRef(({ className, children, ...props }
|
|
|
10184
10200
|
}
|
|
10185
10201
|
));
|
|
10186
10202
|
CardContent.displayName = "CardContent";
|
|
10187
|
-
var CardFooter =
|
|
10203
|
+
var CardFooter = React69__default.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsx("div", { ref, className, ...props, children }));
|
|
10188
10204
|
CardFooter.displayName = "CardFooter";
|
|
10189
10205
|
var Card = forwardRef(
|
|
10190
10206
|
(props, ref) => {
|
|
@@ -10199,7 +10215,7 @@ var Card = forwardRef(
|
|
|
10199
10215
|
Card.displayName = "Card";
|
|
10200
10216
|
var HoverCardRoot = HoverCardPrimitive.Root;
|
|
10201
10217
|
var HoverCardTrigger = HoverCardPrimitive.Trigger;
|
|
10202
|
-
var HoverCardContent =
|
|
10218
|
+
var HoverCardContent = React69.forwardRef(({ className, align = "center", sideOffset = 4, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
10203
10219
|
HoverCardPrimitive.Content,
|
|
10204
10220
|
{
|
|
10205
10221
|
ref,
|
|
@@ -10353,7 +10369,7 @@ var sliderVariants = tv({
|
|
|
10353
10369
|
}
|
|
10354
10370
|
}
|
|
10355
10371
|
});
|
|
10356
|
-
var BaseSlider =
|
|
10372
|
+
var BaseSlider = React69.forwardRef((oriProps, ref) => {
|
|
10357
10373
|
const {
|
|
10358
10374
|
className,
|
|
10359
10375
|
color,
|
|
@@ -10369,8 +10385,8 @@ var BaseSlider = React68.forwardRef((oriProps, ref) => {
|
|
|
10369
10385
|
const { track, range, thumb, root, trackInner, mark, tips } = sliderVariants({
|
|
10370
10386
|
color
|
|
10371
10387
|
});
|
|
10372
|
-
const [innerValue, setInvalue] =
|
|
10373
|
-
|
|
10388
|
+
const [innerValue, setInvalue] = React69.useState(__propsValue);
|
|
10389
|
+
React69.useEffect(() => {
|
|
10374
10390
|
setInvalue((prev) => {
|
|
10375
10391
|
if (!prev) {
|
|
10376
10392
|
return __propsValue;
|
|
@@ -10548,7 +10564,7 @@ var SliderTip = (props) => {
|
|
|
10548
10564
|
const percent = convertValueToPercentage(value, min, max);
|
|
10549
10565
|
return /* @__PURE__ */ jsx("span", { className, style: { lineHeight: "19px" }, children: props.tipFormatter?.(value, min, max, percent) ?? `${percent.toFixed()}%` });
|
|
10550
10566
|
};
|
|
10551
|
-
var SingleSlider =
|
|
10567
|
+
var SingleSlider = React69.forwardRef((props, ref) => {
|
|
10552
10568
|
const _value = useMemo(() => [props.value], [props.value]);
|
|
10553
10569
|
return /* @__PURE__ */ jsx(
|
|
10554
10570
|
BaseSlider,
|
|
@@ -10568,7 +10584,7 @@ var SingleSlider = React68.forwardRef((props, ref) => {
|
|
|
10568
10584
|
SingleSlider.displayName = "SingleSlider";
|
|
10569
10585
|
var Slider = BaseSlider;
|
|
10570
10586
|
Slider.single = SingleSlider;
|
|
10571
|
-
var ToastErrorIcon =
|
|
10587
|
+
var ToastErrorIcon = React69__default.forwardRef(
|
|
10572
10588
|
(props, ref) => {
|
|
10573
10589
|
const { opacity = 1, viewBox = "0 0 20 20", ...rest } = props;
|
|
10574
10590
|
return /* @__PURE__ */ jsx(BaseIcon, { ref, viewBox, ...rest, children: /* @__PURE__ */ jsx(
|
|
@@ -10581,7 +10597,7 @@ var ToastErrorIcon = React68__default.forwardRef(
|
|
|
10581
10597
|
) });
|
|
10582
10598
|
}
|
|
10583
10599
|
);
|
|
10584
|
-
var ToastSuccessIcon =
|
|
10600
|
+
var ToastSuccessIcon = React69__default.forwardRef(
|
|
10585
10601
|
(props, ref) => {
|
|
10586
10602
|
const { opacity = 1, viewBox = "0 0 20 20", ...rest } = props;
|
|
10587
10603
|
return /* @__PURE__ */ jsx(BaseIcon, { ref, viewBox, ...rest, children: /* @__PURE__ */ jsx(
|
|
@@ -10595,7 +10611,7 @@ var ToastSuccessIcon = React68__default.forwardRef(
|
|
|
10595
10611
|
) });
|
|
10596
10612
|
}
|
|
10597
10613
|
);
|
|
10598
|
-
var ToastLoadingIcon =
|
|
10614
|
+
var ToastLoadingIcon = React69__default.forwardRef(
|
|
10599
10615
|
(props, ref) => {
|
|
10600
10616
|
const { opacity = 1, viewBox = "0 0 20 20", ...rest } = props;
|
|
10601
10617
|
return /* @__PURE__ */ jsx(BaseIcon, { ref, viewBox, ...rest, children: /* @__PURE__ */ jsx(
|
|
@@ -10803,7 +10819,7 @@ var ListViewInner = (props, ref) => {
|
|
|
10803
10819
|
}
|
|
10804
10820
|
);
|
|
10805
10821
|
}
|
|
10806
|
-
return props.dataSource.map((item, index) => /* @__PURE__ */ jsx(
|
|
10822
|
+
return props.dataSource.map((item, index) => /* @__PURE__ */ jsx(React69__default.Fragment, { children: props.renderItem(item, index, props.extraData) }, index));
|
|
10807
10823
|
}, [emptyDataSouce, props.dataSource, props.extraData, props.emptyView]);
|
|
10808
10824
|
const loadingViewElement = useMemo(() => {
|
|
10809
10825
|
if ((props.dataSource?.length || 0) === 0) return null;
|
|
@@ -10976,7 +10992,7 @@ var Marquee = (props) => {
|
|
|
10976
10992
|
const [emblaRef, emblaApi] = useEmblaCarousel__default(emblaOptions, [
|
|
10977
10993
|
AutoScroll__default(autoScrollPluginOptions)
|
|
10978
10994
|
]);
|
|
10979
|
-
|
|
10995
|
+
React69__default.useEffect(() => {
|
|
10980
10996
|
if (emblaApi && setApi) {
|
|
10981
10997
|
setApi(emblaApi);
|
|
10982
10998
|
}
|
|
@@ -11128,7 +11144,7 @@ var dropdownMenuVariants = tv$1({
|
|
|
11128
11144
|
size: "lg"
|
|
11129
11145
|
}
|
|
11130
11146
|
});
|
|
11131
|
-
var DropdownMenuContent =
|
|
11147
|
+
var DropdownMenuContent = React69.forwardRef(({ className, sideOffset = 4, size, ...props }, ref) => {
|
|
11132
11148
|
const { content } = dropdownMenuVariants({ size });
|
|
11133
11149
|
return /* @__PURE__ */ jsx(DropdownMenuPrimitive.Portal, { children: /* @__PURE__ */ jsx(
|
|
11134
11150
|
DropdownMenuPrimitive.Content,
|
|
@@ -11141,7 +11157,7 @@ var DropdownMenuContent = React68.forwardRef(({ className, sideOffset = 4, size,
|
|
|
11141
11157
|
) });
|
|
11142
11158
|
});
|
|
11143
11159
|
DropdownMenuContent.displayName = DropdownMenuPrimitive.Content.displayName;
|
|
11144
|
-
var DropdownMenuItem =
|
|
11160
|
+
var DropdownMenuItem = React69.forwardRef(({ className, inset, size, ...props }, ref) => {
|
|
11145
11161
|
const { item } = dropdownMenuVariants({ size });
|
|
11146
11162
|
return /* @__PURE__ */ jsx(
|
|
11147
11163
|
DropdownMenuPrimitive.Item,
|
|
@@ -11153,7 +11169,7 @@ var DropdownMenuItem = React68.forwardRef(({ className, inset, size, ...props },
|
|
|
11153
11169
|
);
|
|
11154
11170
|
});
|
|
11155
11171
|
DropdownMenuItem.displayName = DropdownMenuPrimitive.Item.displayName;
|
|
11156
|
-
var DropdownMenuLabel =
|
|
11172
|
+
var DropdownMenuLabel = React69.forwardRef(({ className, inset, ...props }, ref) => {
|
|
11157
11173
|
const { label } = dropdownMenuVariants({
|
|
11158
11174
|
inset
|
|
11159
11175
|
});
|
|
@@ -11167,7 +11183,7 @@ var DropdownMenuLabel = React68.forwardRef(({ className, inset, ...props }, ref)
|
|
|
11167
11183
|
);
|
|
11168
11184
|
});
|
|
11169
11185
|
DropdownMenuLabel.displayName = DropdownMenuPrimitive.Label.displayName;
|
|
11170
|
-
var DropdownMenuSeparator =
|
|
11186
|
+
var DropdownMenuSeparator = React69.forwardRef(({ className, ...props }, ref) => {
|
|
11171
11187
|
const { separator } = dropdownMenuVariants();
|
|
11172
11188
|
return /* @__PURE__ */ jsx(
|
|
11173
11189
|
DropdownMenuPrimitive.Separator,
|
|
@@ -11365,6 +11381,6 @@ var DotStatus = (props) => {
|
|
|
11365
11381
|
};
|
|
11366
11382
|
DotStatus.displayName = "DotStatus";
|
|
11367
11383
|
|
|
11368
|
-
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, 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 };
|
|
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 };
|
|
11369
11385
|
//# sourceMappingURL=index.mjs.map
|
|
11370
11386
|
//# sourceMappingURL=index.mjs.map
|