@orderly.network/ui 2.10.2 → 2.11.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 +100 -0
- package/dist/index.css.map +1 -1
- package/dist/index.d.mts +93 -1
- package/dist/index.d.ts +93 -1
- package/dist/index.js +428 -340
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +220 -134
- 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 React71 from 'react';
|
|
2
|
+
import React71__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';
|
|
@@ -524,7 +524,7 @@ var boxVariants = tv({
|
|
|
524
524
|
__size: false
|
|
525
525
|
}
|
|
526
526
|
});
|
|
527
|
-
var Box =
|
|
527
|
+
var Box = React71__default.forwardRef((props, forwardedRef) => {
|
|
528
528
|
const {
|
|
529
529
|
asChild = false,
|
|
530
530
|
as: TAG = "div",
|
|
@@ -758,7 +758,7 @@ var Spinner = (props) => {
|
|
|
758
758
|
/* @__PURE__ */ jsx("span", { className: "oui-sr-only", children: "Loading..." })
|
|
759
759
|
] });
|
|
760
760
|
};
|
|
761
|
-
var BaseButton =
|
|
761
|
+
var BaseButton = React71__default.forwardRef(
|
|
762
762
|
(props, forwardedRef) => {
|
|
763
763
|
const {
|
|
764
764
|
asChild = false,
|
|
@@ -774,7 +774,7 @@ var BaseButton = React70__default.forwardRef(
|
|
|
774
774
|
const Comp = asChild ? Slot : "button";
|
|
775
775
|
const isDisabled = typeof disabled !== "undefined" ? disabled : loading;
|
|
776
776
|
const iconElement = useMemo(() => {
|
|
777
|
-
return icon ?
|
|
777
|
+
return icon ? React71__default.cloneElement(icon, {
|
|
778
778
|
size: size === "xs" ? 12 : size === "sm" ? 12 : size === "md" ? 14 : size === "lg" ? 16 : size === "xl" ? 18 : 12,
|
|
779
779
|
className: "oui-text-inherit",
|
|
780
780
|
opacity: loading ? 0 : 1
|
|
@@ -1024,7 +1024,7 @@ var buttonVariants = tv$1(
|
|
|
1024
1024
|
responsiveVariants: ["md", "lg"]
|
|
1025
1025
|
}
|
|
1026
1026
|
);
|
|
1027
|
-
var Button =
|
|
1027
|
+
var Button = React71__default.forwardRef(
|
|
1028
1028
|
({
|
|
1029
1029
|
className,
|
|
1030
1030
|
variant,
|
|
@@ -1057,7 +1057,7 @@ var Button = React70__default.forwardRef(
|
|
|
1057
1057
|
}
|
|
1058
1058
|
);
|
|
1059
1059
|
Button.displayName = "Button";
|
|
1060
|
-
var ThrottledButton =
|
|
1060
|
+
var ThrottledButton = React71__default.forwardRef(({ onClick, throttleDuration = 700, ...props }, ref) => {
|
|
1061
1061
|
const lastCall = useRef(0);
|
|
1062
1062
|
const throttle = useCallback(
|
|
1063
1063
|
(delay, fn) => {
|
|
@@ -1074,6 +1074,89 @@ var ThrottledButton = React70__default.forwardRef(({ onClick, throttleDuration =
|
|
|
1074
1074
|
const debouncedClick = throttle(throttleDuration, onClick);
|
|
1075
1075
|
return /* @__PURE__ */ jsx(Button, { onClick: debouncedClick, ref, ...props });
|
|
1076
1076
|
});
|
|
1077
|
+
var iconButtonVariants = tv$1({
|
|
1078
|
+
base: [
|
|
1079
|
+
"oui-button",
|
|
1080
|
+
"oui-inline-flex",
|
|
1081
|
+
"oui-items-center",
|
|
1082
|
+
"oui-justify-center",
|
|
1083
|
+
"oui-transition-colors",
|
|
1084
|
+
"disabled:oui-cursor-not-allowed",
|
|
1085
|
+
"disabled:oui-opacity-36"
|
|
1086
|
+
],
|
|
1087
|
+
variants: {
|
|
1088
|
+
color: {
|
|
1089
|
+
primary: [
|
|
1090
|
+
"oui-text-primary-darken",
|
|
1091
|
+
"hover:oui-text-primary-darken/80",
|
|
1092
|
+
"active:oui-text-primary-darken/70"
|
|
1093
|
+
],
|
|
1094
|
+
secondary: [
|
|
1095
|
+
"oui-text-base-contrast-54",
|
|
1096
|
+
"hover:oui-text-base-contrast-80",
|
|
1097
|
+
"active:oui-text-base-contrast-70"
|
|
1098
|
+
],
|
|
1099
|
+
success: [
|
|
1100
|
+
"oui-text-success",
|
|
1101
|
+
"hover:oui-text-success/80",
|
|
1102
|
+
"active:oui-text-success/70"
|
|
1103
|
+
],
|
|
1104
|
+
buy: [
|
|
1105
|
+
"oui-text-success",
|
|
1106
|
+
"hover:oui-text-success/80",
|
|
1107
|
+
"active:oui-text-success/70"
|
|
1108
|
+
],
|
|
1109
|
+
danger: [
|
|
1110
|
+
"oui-text-danger",
|
|
1111
|
+
"hover:oui-text-danger/80",
|
|
1112
|
+
"active:oui-text-danger/70"
|
|
1113
|
+
],
|
|
1114
|
+
sell: [
|
|
1115
|
+
"oui-text-danger",
|
|
1116
|
+
"hover:oui-text-danger/80",
|
|
1117
|
+
"active:oui-text-danger/70"
|
|
1118
|
+
],
|
|
1119
|
+
warning: [
|
|
1120
|
+
"oui-text-warning-darken",
|
|
1121
|
+
"hover:oui-text-warning-darken/80",
|
|
1122
|
+
"active:oui-text-warning-darken/70"
|
|
1123
|
+
],
|
|
1124
|
+
gray: [
|
|
1125
|
+
"oui-text-base",
|
|
1126
|
+
"hover:oui-text-base/80",
|
|
1127
|
+
"active:oui-text-base/70"
|
|
1128
|
+
],
|
|
1129
|
+
light: [
|
|
1130
|
+
"oui-text-white",
|
|
1131
|
+
"hover:oui-text-white/80",
|
|
1132
|
+
"active:oui-text-white/70"
|
|
1133
|
+
]
|
|
1134
|
+
}
|
|
1135
|
+
},
|
|
1136
|
+
defaultVariants: {
|
|
1137
|
+
color: "secondary"
|
|
1138
|
+
}
|
|
1139
|
+
});
|
|
1140
|
+
var IconButton = React71__default.forwardRef(
|
|
1141
|
+
({ className, color, angle, style, children, ...props }, ref) => {
|
|
1142
|
+
const angleStyle = parseAngleProps({ angle });
|
|
1143
|
+
return /* @__PURE__ */ jsx(
|
|
1144
|
+
BaseButton,
|
|
1145
|
+
{
|
|
1146
|
+
className: iconButtonVariants({
|
|
1147
|
+
color,
|
|
1148
|
+
className
|
|
1149
|
+
}),
|
|
1150
|
+
size: "md",
|
|
1151
|
+
ref,
|
|
1152
|
+
style: { ...style, ...angleStyle },
|
|
1153
|
+
...props,
|
|
1154
|
+
children
|
|
1155
|
+
}
|
|
1156
|
+
);
|
|
1157
|
+
}
|
|
1158
|
+
);
|
|
1159
|
+
IconButton.displayName = "IconButton";
|
|
1077
1160
|
var gridVariants = tv({
|
|
1078
1161
|
extend: gapVariants,
|
|
1079
1162
|
base: ["oui-grid"],
|
|
@@ -1144,7 +1227,7 @@ var gridVariants = tv({
|
|
|
1144
1227
|
// autoFlow: "row",
|
|
1145
1228
|
}
|
|
1146
1229
|
});
|
|
1147
|
-
var Grid =
|
|
1230
|
+
var Grid = React71__default.forwardRef((props, ref) => {
|
|
1148
1231
|
const { className, cols, rows, gap, gapX, gapY, autoFlow, ...rest } = props;
|
|
1149
1232
|
return /* @__PURE__ */ jsx(
|
|
1150
1233
|
Box,
|
|
@@ -1238,7 +1321,7 @@ var iconVariants = tv$1({
|
|
|
1238
1321
|
color: "black"
|
|
1239
1322
|
}
|
|
1240
1323
|
});
|
|
1241
|
-
var BaseIcon =
|
|
1324
|
+
var BaseIcon = React71__default.forwardRef(
|
|
1242
1325
|
(props, ref) => {
|
|
1243
1326
|
const {
|
|
1244
1327
|
size = 24,
|
|
@@ -1300,7 +1383,7 @@ var avatarVariants = tv({
|
|
|
1300
1383
|
size: "sm"
|
|
1301
1384
|
}
|
|
1302
1385
|
});
|
|
1303
|
-
var AvatarBase =
|
|
1386
|
+
var AvatarBase = React71.forwardRef(({ className, size, ...props }, ref) => {
|
|
1304
1387
|
const { root } = avatarVariants({ size });
|
|
1305
1388
|
return /* @__PURE__ */ jsx(
|
|
1306
1389
|
AvatarPrimitive.Root,
|
|
@@ -1312,7 +1395,7 @@ var AvatarBase = React70.forwardRef(({ className, size, ...props }, ref) => {
|
|
|
1312
1395
|
);
|
|
1313
1396
|
});
|
|
1314
1397
|
AvatarBase.displayName = AvatarPrimitive.Root.displayName;
|
|
1315
|
-
var AvatarImage =
|
|
1398
|
+
var AvatarImage = React71.forwardRef(({ className, ...props }, ref) => {
|
|
1316
1399
|
const { image } = avatarVariants();
|
|
1317
1400
|
return /* @__PURE__ */ jsx(
|
|
1318
1401
|
AvatarPrimitive.Image,
|
|
@@ -1324,12 +1407,12 @@ var AvatarImage = React70.forwardRef(({ className, ...props }, ref) => {
|
|
|
1324
1407
|
);
|
|
1325
1408
|
});
|
|
1326
1409
|
AvatarImage.displayName = AvatarPrimitive.Image.displayName;
|
|
1327
|
-
var AvatarFallback =
|
|
1410
|
+
var AvatarFallback = React71.forwardRef(({ className, ...props }, ref) => {
|
|
1328
1411
|
const { fallback } = avatarVariants({ className });
|
|
1329
1412
|
return /* @__PURE__ */ jsx(AvatarPrimitive.Fallback, { ref, className: fallback(), ...props });
|
|
1330
1413
|
});
|
|
1331
1414
|
AvatarFallback.displayName = AvatarPrimitive.Fallback.displayName;
|
|
1332
|
-
var Avatar =
|
|
1415
|
+
var Avatar = React71.forwardRef((props, ref) => {
|
|
1333
1416
|
const { size, src, fallback, delayMs, alt, onLoadingStatusChange, ...rest } = props;
|
|
1334
1417
|
return /* @__PURE__ */ jsxs(AvatarBase, { ...rest, ref, size, children: [
|
|
1335
1418
|
/* @__PURE__ */ jsx(
|
|
@@ -1343,7 +1426,7 @@ var Avatar = React70.forwardRef((props, ref) => {
|
|
|
1343
1426
|
typeof fallback !== "undefined" && /* @__PURE__ */ jsx(AvatarFallback, { delayMs, children: fallback })
|
|
1344
1427
|
] });
|
|
1345
1428
|
});
|
|
1346
|
-
var EVMAvatar =
|
|
1429
|
+
var EVMAvatar = React71.forwardRef((props, ref) => {
|
|
1347
1430
|
const { address, ...rest } = props;
|
|
1348
1431
|
const src = useMemo(() => makeBlockie(address), [props.address]);
|
|
1349
1432
|
return /* @__PURE__ */ jsx(Avatar, { ...rest, src });
|
|
@@ -1413,7 +1496,7 @@ var CombineIcon = (props) => {
|
|
|
1413
1496
|
subElement
|
|
1414
1497
|
] });
|
|
1415
1498
|
};
|
|
1416
|
-
var CloseIcon =
|
|
1499
|
+
var CloseIcon = React71__default.forwardRef(
|
|
1417
1500
|
(props, ref) => {
|
|
1418
1501
|
const { opacity = 0.54, ...rest } = props;
|
|
1419
1502
|
return /* @__PURE__ */ jsx(BaseIcon, { ref, ...rest, children: /* @__PURE__ */ jsx(
|
|
@@ -1427,7 +1510,7 @@ var CloseIcon = React70__default.forwardRef(
|
|
|
1427
1510
|
}
|
|
1428
1511
|
);
|
|
1429
1512
|
CloseIcon.displayName = "CloseIcon";
|
|
1430
|
-
var BaseIconWithPath =
|
|
1513
|
+
var BaseIconWithPath = React71__default.forwardRef((props, ref) => {
|
|
1431
1514
|
const { opacity = 0.54, d, ...rest } = props;
|
|
1432
1515
|
return /* @__PURE__ */ jsx(BaseIcon, { ref, ...rest, children: /* @__PURE__ */ jsx(
|
|
1433
1516
|
"path",
|
|
@@ -1440,7 +1523,7 @@ var BaseIconWithPath = React70__default.forwardRef((props, ref) => {
|
|
|
1440
1523
|
}
|
|
1441
1524
|
) });
|
|
1442
1525
|
});
|
|
1443
|
-
var CheckIcon =
|
|
1526
|
+
var CheckIcon = React71__default.forwardRef(
|
|
1444
1527
|
(props, ref) => {
|
|
1445
1528
|
const { opacity = 0.54, ...rest } = props;
|
|
1446
1529
|
return /* @__PURE__ */ jsx(
|
|
@@ -1454,7 +1537,7 @@ var CheckIcon = React70__default.forwardRef(
|
|
|
1454
1537
|
}
|
|
1455
1538
|
);
|
|
1456
1539
|
CheckIcon.displayName = "CheckIcon";
|
|
1457
|
-
var ChevronDownIcon =
|
|
1540
|
+
var ChevronDownIcon = React71__default.forwardRef(
|
|
1458
1541
|
(props, ref) => {
|
|
1459
1542
|
const { opacity = 0.54, ...rest } = props;
|
|
1460
1543
|
return /* @__PURE__ */ jsx(BaseIcon, { ref, ...rest, children: /* @__PURE__ */ jsx(
|
|
@@ -1468,7 +1551,7 @@ var ChevronDownIcon = React70__default.forwardRef(
|
|
|
1468
1551
|
}
|
|
1469
1552
|
);
|
|
1470
1553
|
ChevronDownIcon.displayName = "ChevronDownIcon";
|
|
1471
|
-
var ChevronUpIcon =
|
|
1554
|
+
var ChevronUpIcon = React71__default.forwardRef(
|
|
1472
1555
|
(props, ref) => {
|
|
1473
1556
|
const { opacity = 0.54, ...rest } = props;
|
|
1474
1557
|
return /* @__PURE__ */ jsx(BaseIcon, { ref, ...rest, children: /* @__PURE__ */ jsx(
|
|
@@ -1482,7 +1565,7 @@ var ChevronUpIcon = React70__default.forwardRef(
|
|
|
1482
1565
|
}
|
|
1483
1566
|
);
|
|
1484
1567
|
ChevronUpIcon.displayName = "ChevronUpIcon";
|
|
1485
|
-
var CaretUpIcon =
|
|
1568
|
+
var CaretUpIcon = React71__default.forwardRef(
|
|
1486
1569
|
(props, ref) => {
|
|
1487
1570
|
const { opacity = 0.54, ...rest } = props;
|
|
1488
1571
|
return /* @__PURE__ */ jsx(BaseIcon, { ref, ...rest, children: /* @__PURE__ */ jsx(
|
|
@@ -1496,7 +1579,7 @@ var CaretUpIcon = React70__default.forwardRef(
|
|
|
1496
1579
|
}
|
|
1497
1580
|
);
|
|
1498
1581
|
CaretUpIcon.displayName = "CaretUpIcon";
|
|
1499
|
-
var CaretDownIcon =
|
|
1582
|
+
var CaretDownIcon = React71__default.forwardRef(
|
|
1500
1583
|
(props, ref) => {
|
|
1501
1584
|
return /* @__PURE__ */ jsx(
|
|
1502
1585
|
BaseIconWithPath,
|
|
@@ -1509,7 +1592,7 @@ var CaretDownIcon = React70__default.forwardRef(
|
|
|
1509
1592
|
}
|
|
1510
1593
|
);
|
|
1511
1594
|
CaretDownIcon.displayName = "CaretDownIcon";
|
|
1512
|
-
var CaretLeftIcon =
|
|
1595
|
+
var CaretLeftIcon = React71__default.forwardRef(
|
|
1513
1596
|
(props, ref) => {
|
|
1514
1597
|
const { opacity = 0.54, ...rest } = props;
|
|
1515
1598
|
return /* @__PURE__ */ jsx(BaseIcon, { ref, ...rest, children: /* @__PURE__ */ jsx(
|
|
@@ -1523,7 +1606,7 @@ var CaretLeftIcon = React70__default.forwardRef(
|
|
|
1523
1606
|
}
|
|
1524
1607
|
);
|
|
1525
1608
|
CaretLeftIcon.displayName = "CaretLeftIcon";
|
|
1526
|
-
var CaretRightIcon =
|
|
1609
|
+
var CaretRightIcon = React71__default.forwardRef(
|
|
1527
1610
|
(props, ref) => {
|
|
1528
1611
|
const { opacity = 0.54, ...rest } = props;
|
|
1529
1612
|
return /* @__PURE__ */ jsx(BaseIcon, { ref, ...rest, children: /* @__PURE__ */ jsx(
|
|
@@ -1537,7 +1620,7 @@ var CaretRightIcon = React70__default.forwardRef(
|
|
|
1537
1620
|
}
|
|
1538
1621
|
);
|
|
1539
1622
|
CaretRightIcon.displayName = "CaretRightIcon";
|
|
1540
|
-
var ChevronLeftIcon =
|
|
1623
|
+
var ChevronLeftIcon = React71__default.forwardRef(
|
|
1541
1624
|
(props, ref) => {
|
|
1542
1625
|
return /* @__PURE__ */ jsx(
|
|
1543
1626
|
BaseIconWithPath,
|
|
@@ -1550,7 +1633,7 @@ var ChevronLeftIcon = React70__default.forwardRef(
|
|
|
1550
1633
|
}
|
|
1551
1634
|
);
|
|
1552
1635
|
ChevronLeftIcon.displayName = "ChevronLeftIcon";
|
|
1553
|
-
var ChevronRightIcon =
|
|
1636
|
+
var ChevronRightIcon = React71__default.forwardRef(
|
|
1554
1637
|
(props, ref) => {
|
|
1555
1638
|
const { opacity = 0.54, ...rest } = props;
|
|
1556
1639
|
return /* @__PURE__ */ jsx(BaseIcon, { ref, ...rest, children: /* @__PURE__ */ jsx(
|
|
@@ -1564,7 +1647,7 @@ var ChevronRightIcon = React70__default.forwardRef(
|
|
|
1564
1647
|
}
|
|
1565
1648
|
);
|
|
1566
1649
|
ChevronRightIcon.displayName = "ChevronRightIcon";
|
|
1567
|
-
var CalendarMinusIcon =
|
|
1650
|
+
var CalendarMinusIcon = React71__default.forwardRef(
|
|
1568
1651
|
(props, ref) => {
|
|
1569
1652
|
return /* @__PURE__ */ jsx(
|
|
1570
1653
|
BaseIconWithPath,
|
|
@@ -1577,7 +1660,7 @@ var CalendarMinusIcon = React70__default.forwardRef(
|
|
|
1577
1660
|
}
|
|
1578
1661
|
);
|
|
1579
1662
|
CalendarMinusIcon.displayName = "CalendarMinusIcon";
|
|
1580
|
-
var SettingIcon =
|
|
1663
|
+
var SettingIcon = React71__default.forwardRef(
|
|
1581
1664
|
(props, ref) => {
|
|
1582
1665
|
const { opacity = 0.54, ...rest } = props;
|
|
1583
1666
|
return /* @__PURE__ */ jsx(BaseIcon, { ref, ...rest, children: /* @__PURE__ */ jsx(
|
|
@@ -1591,7 +1674,7 @@ var SettingIcon = React70__default.forwardRef(
|
|
|
1591
1674
|
}
|
|
1592
1675
|
);
|
|
1593
1676
|
SettingIcon.displayName = "SettingIcon";
|
|
1594
|
-
var CloseSquareFillIcon =
|
|
1677
|
+
var CloseSquareFillIcon = React71__default.forwardRef((props, ref) => {
|
|
1595
1678
|
const { opacity = 0.54, ...rest } = props;
|
|
1596
1679
|
return /* @__PURE__ */ jsx(BaseIcon, { ref, ...rest, children: /* @__PURE__ */ jsx(
|
|
1597
1680
|
"path",
|
|
@@ -1603,7 +1686,7 @@ var CloseSquareFillIcon = React70__default.forwardRef((props, ref) => {
|
|
|
1603
1686
|
) });
|
|
1604
1687
|
});
|
|
1605
1688
|
CloseSquareFillIcon.displayName = "CloseSquareFillIcon";
|
|
1606
|
-
var CloseCircleFillIcon =
|
|
1689
|
+
var CloseCircleFillIcon = React71__default.forwardRef((props, ref) => {
|
|
1607
1690
|
const { opacity = 0.54, ...rest } = props;
|
|
1608
1691
|
return /* @__PURE__ */ jsx(BaseIcon, { ref, ...rest, children: /* @__PURE__ */ jsx(
|
|
1609
1692
|
"path",
|
|
@@ -1615,7 +1698,7 @@ var CloseCircleFillIcon = React70__default.forwardRef((props, ref) => {
|
|
|
1615
1698
|
) });
|
|
1616
1699
|
});
|
|
1617
1700
|
CloseCircleFillIcon.displayName = "CloseCircleFillIcon";
|
|
1618
|
-
var CheckedCircleFillIcon =
|
|
1701
|
+
var CheckedCircleFillIcon = React71__default.forwardRef((props, ref) => {
|
|
1619
1702
|
return /* @__PURE__ */ jsx(
|
|
1620
1703
|
BaseIconWithPath,
|
|
1621
1704
|
{
|
|
@@ -1626,7 +1709,7 @@ var CheckedCircleFillIcon = React70__default.forwardRef((props, ref) => {
|
|
|
1626
1709
|
);
|
|
1627
1710
|
});
|
|
1628
1711
|
CheckedCircleFillIcon.displayName = "CheckedCircleFillIcon";
|
|
1629
|
-
var CheckedSquareFillIcon =
|
|
1712
|
+
var CheckedSquareFillIcon = React71__default.forwardRef((props, ref) => {
|
|
1630
1713
|
const { opacity = 0.54, ...rest } = props;
|
|
1631
1714
|
return /* @__PURE__ */ jsx(BaseIcon, { ref, ...rest, children: /* @__PURE__ */ jsx(
|
|
1632
1715
|
"path",
|
|
@@ -1640,7 +1723,7 @@ var CheckedSquareFillIcon = React70__default.forwardRef((props, ref) => {
|
|
|
1640
1723
|
) });
|
|
1641
1724
|
});
|
|
1642
1725
|
CheckedSquareFillIcon.displayName = "CheckSquareFillIcon";
|
|
1643
|
-
var CheckSquareEmptyIcon =
|
|
1726
|
+
var CheckSquareEmptyIcon = React71__default.forwardRef(
|
|
1644
1727
|
(props, ref) => {
|
|
1645
1728
|
const { opacity = 0.54, ...rest } = props;
|
|
1646
1729
|
return /* @__PURE__ */ jsx(BaseIcon, { ref, ...rest, children: /* @__PURE__ */ jsx(
|
|
@@ -1656,7 +1739,7 @@ var CheckSquareEmptyIcon = React70__default.forwardRef(
|
|
|
1656
1739
|
}
|
|
1657
1740
|
);
|
|
1658
1741
|
CheckSquareEmptyIcon.displayName = "CheckSquareEmptyIcon";
|
|
1659
|
-
var PlusIcon =
|
|
1742
|
+
var PlusIcon = React71__default.forwardRef(
|
|
1660
1743
|
(props, ref) => {
|
|
1661
1744
|
const { opacity = 0.54, ...rest } = props;
|
|
1662
1745
|
return /* @__PURE__ */ jsx(BaseIcon, { ref, ...rest, children: /* @__PURE__ */ jsx(
|
|
@@ -1670,7 +1753,7 @@ var PlusIcon = React70__default.forwardRef(
|
|
|
1670
1753
|
}
|
|
1671
1754
|
);
|
|
1672
1755
|
PlusIcon.displayName = "PlusIcon";
|
|
1673
|
-
var ReduceIcon =
|
|
1756
|
+
var ReduceIcon = React71__default.forwardRef(
|
|
1674
1757
|
(props, ref) => {
|
|
1675
1758
|
const { opacity = 0.54, ...rest } = props;
|
|
1676
1759
|
return /* @__PURE__ */ jsx(BaseIcon, { ref, ...rest, children: /* @__PURE__ */ jsx(
|
|
@@ -1688,7 +1771,7 @@ var ReduceIcon = React70__default.forwardRef(
|
|
|
1688
1771
|
}
|
|
1689
1772
|
);
|
|
1690
1773
|
ReduceIcon.displayName = "ReduceIcon";
|
|
1691
|
-
var CircleOutlinedIcon =
|
|
1774
|
+
var CircleOutlinedIcon = React71__default.forwardRef((props, ref) => {
|
|
1692
1775
|
const { opacity = 0.54, ...rest } = props;
|
|
1693
1776
|
return /* @__PURE__ */ jsx(BaseIcon, { ref, ...rest, children: /* @__PURE__ */ jsx(
|
|
1694
1777
|
"path",
|
|
@@ -1700,7 +1783,7 @@ var CircleOutlinedIcon = React70__default.forwardRef((props, ref) => {
|
|
|
1700
1783
|
) });
|
|
1701
1784
|
});
|
|
1702
1785
|
CircleOutlinedIcon.displayName = "CircleOutlinedIcon";
|
|
1703
|
-
var SquareOutlinedIcon =
|
|
1786
|
+
var SquareOutlinedIcon = React71__default.forwardRef((props, ref) => {
|
|
1704
1787
|
const { opacity = 0.54, ...rest } = props;
|
|
1705
1788
|
return /* @__PURE__ */ jsx(BaseIcon, { ref, ...rest, children: /* @__PURE__ */ jsx(
|
|
1706
1789
|
"path",
|
|
@@ -1712,7 +1795,7 @@ var SquareOutlinedIcon = React70__default.forwardRef((props, ref) => {
|
|
|
1712
1795
|
) });
|
|
1713
1796
|
});
|
|
1714
1797
|
SquareOutlinedIcon.displayName = "SquareOutlinedIcon";
|
|
1715
|
-
var ExclamationFillIcon =
|
|
1798
|
+
var ExclamationFillIcon = React71__default.forwardRef((props, ref) => {
|
|
1716
1799
|
const { ...rest } = props;
|
|
1717
1800
|
return /* @__PURE__ */ jsx(BaseIcon, { ref, ...rest, children: /* @__PURE__ */ jsx(
|
|
1718
1801
|
"path",
|
|
@@ -1723,7 +1806,7 @@ var ExclamationFillIcon = React70__default.forwardRef((props, ref) => {
|
|
|
1723
1806
|
) });
|
|
1724
1807
|
});
|
|
1725
1808
|
ExclamationFillIcon.displayName = "ExclamationFillIcon";
|
|
1726
|
-
var QuestionFillIcon =
|
|
1809
|
+
var QuestionFillIcon = React71__default.forwardRef(
|
|
1727
1810
|
(props, ref) => {
|
|
1728
1811
|
const { opacity = 0.54, ...rest } = props;
|
|
1729
1812
|
return /* @__PURE__ */ jsx(BaseIcon, { ref, ...rest, children: /* @__PURE__ */ jsx(
|
|
@@ -1737,7 +1820,7 @@ var QuestionFillIcon = React70__default.forwardRef(
|
|
|
1737
1820
|
}
|
|
1738
1821
|
);
|
|
1739
1822
|
QuestionFillIcon.displayName = "ExclamationFillIcon";
|
|
1740
|
-
var ArrowLeftRightIcon =
|
|
1823
|
+
var ArrowLeftRightIcon = React71__default.forwardRef((props, ref) => {
|
|
1741
1824
|
return /* @__PURE__ */ jsx(
|
|
1742
1825
|
BaseIconWithPath,
|
|
1743
1826
|
{
|
|
@@ -1748,7 +1831,7 @@ var ArrowLeftRightIcon = React70__default.forwardRef((props, ref) => {
|
|
|
1748
1831
|
);
|
|
1749
1832
|
});
|
|
1750
1833
|
ArrowLeftRightIcon.displayName = "ArrowLeftRightIcon";
|
|
1751
|
-
var ArrowDownUpIcon =
|
|
1834
|
+
var ArrowDownUpIcon = React71__default.forwardRef(
|
|
1752
1835
|
(props, ref) => {
|
|
1753
1836
|
return /* @__PURE__ */ jsx(
|
|
1754
1837
|
BaseIconWithPath,
|
|
@@ -1761,7 +1844,7 @@ var ArrowDownUpIcon = React70__default.forwardRef(
|
|
|
1761
1844
|
}
|
|
1762
1845
|
);
|
|
1763
1846
|
ArrowDownUpIcon.displayName = "ArrowDownUpIconIcon";
|
|
1764
|
-
var ArrowUpSquareFillIcon =
|
|
1847
|
+
var ArrowUpSquareFillIcon = React71__default.forwardRef((props, ref) => {
|
|
1765
1848
|
return /* @__PURE__ */ jsx(
|
|
1766
1849
|
BaseIconWithPath,
|
|
1767
1850
|
{
|
|
@@ -1772,7 +1855,7 @@ var ArrowUpSquareFillIcon = React70__default.forwardRef((props, ref) => {
|
|
|
1772
1855
|
);
|
|
1773
1856
|
});
|
|
1774
1857
|
ArrowUpSquareFillIcon.displayName = "ArrowUpSquareFillIconIcon";
|
|
1775
|
-
var ArrowDownSquareFillIcon =
|
|
1858
|
+
var ArrowDownSquareFillIcon = React71__default.forwardRef((props, ref) => {
|
|
1776
1859
|
const { opacity = 0.54, ...rest } = props;
|
|
1777
1860
|
return /* @__PURE__ */ jsx(BaseIcon, { ref, ...rest, children: /* @__PURE__ */ jsx(
|
|
1778
1861
|
"path",
|
|
@@ -1784,7 +1867,7 @@ var ArrowDownSquareFillIcon = React70__default.forwardRef((props, ref) => {
|
|
|
1784
1867
|
) });
|
|
1785
1868
|
});
|
|
1786
1869
|
ArrowDownSquareFillIcon.displayName = "ArrowDownSquareFillIconIcon";
|
|
1787
|
-
var ArrowLeftRightSquareFill =
|
|
1870
|
+
var ArrowLeftRightSquareFill = React71__default.forwardRef((props, ref) => {
|
|
1788
1871
|
return /* @__PURE__ */ jsx(
|
|
1789
1872
|
"svg",
|
|
1790
1873
|
{
|
|
@@ -1810,7 +1893,7 @@ var ArrowLeftRightSquareFill = React70__default.forwardRef((props, ref) => {
|
|
|
1810
1893
|
if (process.env.NODE_ENV !== "production") {
|
|
1811
1894
|
ArrowLeftRightSquareFill.displayName = "ArrowLeftRightSquareFill";
|
|
1812
1895
|
}
|
|
1813
|
-
var ArrowRightUpSquareFillIcon =
|
|
1896
|
+
var ArrowRightUpSquareFillIcon = React71__default.forwardRef((props, ref) => {
|
|
1814
1897
|
return /* @__PURE__ */ jsx(
|
|
1815
1898
|
BaseIconWithPath,
|
|
1816
1899
|
{
|
|
@@ -1979,7 +2062,7 @@ var BattleSolidInactiveIcon = (props) => {
|
|
|
1979
2062
|
}
|
|
1980
2063
|
) });
|
|
1981
2064
|
};
|
|
1982
|
-
var FeeTierIcon =
|
|
2065
|
+
var FeeTierIcon = React71__default.forwardRef(
|
|
1983
2066
|
(props, ref) => {
|
|
1984
2067
|
return /* @__PURE__ */ jsx(
|
|
1985
2068
|
BaseIconWithPath,
|
|
@@ -2045,7 +2128,7 @@ var EarnInactiveIcon = (props) => {
|
|
|
2045
2128
|
)
|
|
2046
2129
|
] }) });
|
|
2047
2130
|
};
|
|
2048
|
-
var EditIcon =
|
|
2131
|
+
var EditIcon = React71__default.forwardRef(
|
|
2049
2132
|
(props, ref) => {
|
|
2050
2133
|
const { opacity = 0.54, ...rest } = props;
|
|
2051
2134
|
return /* @__PURE__ */ jsx(BaseIcon, { ref, ...rest, children: /* @__PURE__ */ jsx(
|
|
@@ -2059,7 +2142,7 @@ var EditIcon = React70__default.forwardRef(
|
|
|
2059
2142
|
}
|
|
2060
2143
|
);
|
|
2061
2144
|
EditIcon.displayName = "EditIcon";
|
|
2062
|
-
var EyeIcon =
|
|
2145
|
+
var EyeIcon = React71__default.forwardRef(
|
|
2063
2146
|
(props, ref) => {
|
|
2064
2147
|
const { opacity = 0.54, ...rest } = props;
|
|
2065
2148
|
return /* @__PURE__ */ jsx(BaseIcon, { ref, ...rest, children: /* @__PURE__ */ jsx(
|
|
@@ -2073,7 +2156,7 @@ var EyeIcon = React70__default.forwardRef(
|
|
|
2073
2156
|
}
|
|
2074
2157
|
);
|
|
2075
2158
|
EyeIcon.displayName = "EyeIcon";
|
|
2076
|
-
var ShareIcon =
|
|
2159
|
+
var ShareIcon = React71__default.forwardRef(
|
|
2077
2160
|
(props, ref) => {
|
|
2078
2161
|
const { opacity = 0.54, ...rest } = props;
|
|
2079
2162
|
return /* @__PURE__ */ jsx(BaseIcon, { ref, ...rest, children: /* @__PURE__ */ jsx(
|
|
@@ -2087,7 +2170,7 @@ var ShareIcon = React70__default.forwardRef(
|
|
|
2087
2170
|
}
|
|
2088
2171
|
);
|
|
2089
2172
|
ShareIcon.displayName = "ShareIcon";
|
|
2090
|
-
var EyeCloseIcon =
|
|
2173
|
+
var EyeCloseIcon = React71__default.forwardRef(
|
|
2091
2174
|
(props, ref) => {
|
|
2092
2175
|
const { opacity = 0.54, ...rest } = props;
|
|
2093
2176
|
return /* @__PURE__ */ jsx(BaseIcon, { ref, ...rest, children: /* @__PURE__ */ jsx(
|
|
@@ -2101,7 +2184,7 @@ var EyeCloseIcon = React70__default.forwardRef(
|
|
|
2101
2184
|
}
|
|
2102
2185
|
);
|
|
2103
2186
|
EyeCloseIcon.displayName = "EyeCloseIcon";
|
|
2104
|
-
var RefreshIcon =
|
|
2187
|
+
var RefreshIcon = React71__default.forwardRef(
|
|
2105
2188
|
(props, ref) => {
|
|
2106
2189
|
const { opacity = 0.54, ...rest } = props;
|
|
2107
2190
|
return /* @__PURE__ */ jsx(BaseIcon, { ref, ...rest, children: /* @__PURE__ */ jsx(
|
|
@@ -2273,7 +2356,7 @@ var EsOrderlyIcon = (props) => {
|
|
|
2273
2356
|
}
|
|
2274
2357
|
);
|
|
2275
2358
|
};
|
|
2276
|
-
var InfoCircleIcon =
|
|
2359
|
+
var InfoCircleIcon = React71__default.forwardRef(
|
|
2277
2360
|
(props, ref) => {
|
|
2278
2361
|
const { className, opacity = 0.36, ...rest } = props;
|
|
2279
2362
|
return /* @__PURE__ */ jsx(
|
|
@@ -2307,7 +2390,7 @@ var WalletIcon = (props) => {
|
|
|
2307
2390
|
}, [props.name]);
|
|
2308
2391
|
return /* @__PURE__ */ jsx(Avatar, { size: props.size, src: url, alt: `${props.name}` });
|
|
2309
2392
|
};
|
|
2310
|
-
var CalendarIcon =
|
|
2393
|
+
var CalendarIcon = React71__default.forwardRef(
|
|
2311
2394
|
(props, ref) => {
|
|
2312
2395
|
return /* @__PURE__ */ jsx(
|
|
2313
2396
|
BaseIconWithPath,
|
|
@@ -2320,7 +2403,7 @@ var CalendarIcon = React70__default.forwardRef(
|
|
|
2320
2403
|
}
|
|
2321
2404
|
);
|
|
2322
2405
|
CalendarIcon.displayName = "CaretLeftIcon";
|
|
2323
|
-
var CopyIcon =
|
|
2406
|
+
var CopyIcon = React71__default.forwardRef(
|
|
2324
2407
|
(props, ref) => {
|
|
2325
2408
|
return /* @__PURE__ */ jsx(
|
|
2326
2409
|
BaseIconWithPath,
|
|
@@ -2333,7 +2416,7 @@ var CopyIcon = React70__default.forwardRef(
|
|
|
2333
2416
|
}
|
|
2334
2417
|
);
|
|
2335
2418
|
CopyIcon.displayName = "CopyIcon";
|
|
2336
|
-
var ServerFillIcon =
|
|
2419
|
+
var ServerFillIcon = React71__default.forwardRef(
|
|
2337
2420
|
(props, ref) => {
|
|
2338
2421
|
return /* @__PURE__ */ jsx(
|
|
2339
2422
|
BaseIconWithPath,
|
|
@@ -2346,7 +2429,7 @@ var ServerFillIcon = React70__default.forwardRef(
|
|
|
2346
2429
|
}
|
|
2347
2430
|
);
|
|
2348
2431
|
ServerFillIcon.displayName = "ServerFillIcon";
|
|
2349
|
-
var SortingAscIcon =
|
|
2432
|
+
var SortingAscIcon = React71__default.forwardRef(
|
|
2350
2433
|
(props, ref) => {
|
|
2351
2434
|
const { opacity = 0.54, ...rest } = props;
|
|
2352
2435
|
return /* @__PURE__ */ jsxs(BaseIcon, { ref, ...rest, children: [
|
|
@@ -2370,7 +2453,7 @@ var SortingAscIcon = React70__default.forwardRef(
|
|
|
2370
2453
|
}
|
|
2371
2454
|
);
|
|
2372
2455
|
SortingAscIcon.displayName = "SortingAscIcon";
|
|
2373
|
-
var SortingDescIcon =
|
|
2456
|
+
var SortingDescIcon = React71__default.forwardRef(
|
|
2374
2457
|
(props, ref) => {
|
|
2375
2458
|
const { opacity = 0.54, ...rest } = props;
|
|
2376
2459
|
return /* @__PURE__ */ jsxs(BaseIcon, { ref, ...rest, children: [
|
|
@@ -2394,7 +2477,7 @@ var SortingDescIcon = React70__default.forwardRef(
|
|
|
2394
2477
|
}
|
|
2395
2478
|
);
|
|
2396
2479
|
SortingDescIcon.displayName = "SortingDescIcon";
|
|
2397
|
-
var ArrowUpShortIcon =
|
|
2480
|
+
var ArrowUpShortIcon = React71__default.forwardRef(
|
|
2398
2481
|
(props, ref) => {
|
|
2399
2482
|
return /* @__PURE__ */ jsx(
|
|
2400
2483
|
BaseIconWithPath,
|
|
@@ -2406,7 +2489,7 @@ var ArrowUpShortIcon = React70__default.forwardRef(
|
|
|
2406
2489
|
);
|
|
2407
2490
|
}
|
|
2408
2491
|
);
|
|
2409
|
-
var ArrowDownShortIcon =
|
|
2492
|
+
var ArrowDownShortIcon = React71__default.forwardRef(
|
|
2410
2493
|
(props, ref) => {
|
|
2411
2494
|
return /* @__PURE__ */ jsx(
|
|
2412
2495
|
BaseIconWithPath,
|
|
@@ -2418,7 +2501,7 @@ var ArrowDownShortIcon = React70__default.forwardRef(
|
|
|
2418
2501
|
);
|
|
2419
2502
|
}
|
|
2420
2503
|
);
|
|
2421
|
-
var ArrowLeftShortIcon =
|
|
2504
|
+
var ArrowLeftShortIcon = React71__default.forwardRef(
|
|
2422
2505
|
(props, ref) => {
|
|
2423
2506
|
return /* @__PURE__ */ jsx(
|
|
2424
2507
|
BaseIconWithPath,
|
|
@@ -2430,7 +2513,7 @@ var ArrowLeftShortIcon = React70__default.forwardRef(
|
|
|
2430
2513
|
);
|
|
2431
2514
|
}
|
|
2432
2515
|
);
|
|
2433
|
-
var ArrowRightShortIcon =
|
|
2516
|
+
var ArrowRightShortIcon = React71__default.forwardRef(
|
|
2434
2517
|
(props, ref) => {
|
|
2435
2518
|
return /* @__PURE__ */ jsx(
|
|
2436
2519
|
BaseIconWithPath,
|
|
@@ -2446,7 +2529,7 @@ ArrowUpShortIcon.displayName = "ArrowUpShortIcon";
|
|
|
2446
2529
|
ArrowDownShortIcon.displayName = "ArrowDownShortIcon";
|
|
2447
2530
|
ArrowLeftShortIcon.displayName = "ArrowLeftShortIcon";
|
|
2448
2531
|
ArrowRightShortIcon.displayName = "ArrowRightShortIcon";
|
|
2449
|
-
var SortingIcon =
|
|
2532
|
+
var SortingIcon = React71__default.forwardRef(
|
|
2450
2533
|
(props, ref) => {
|
|
2451
2534
|
const { opacity = 0.54, ...rest } = props;
|
|
2452
2535
|
return /* @__PURE__ */ jsx(BaseIcon, { ref, ...rest, children: /* @__PURE__ */ jsx(
|
|
@@ -3476,7 +3559,7 @@ var StarChildChatInactiveIcon = (props) => {
|
|
|
3476
3559
|
)
|
|
3477
3560
|
] });
|
|
3478
3561
|
};
|
|
3479
|
-
var CloseRoundFillIcon =
|
|
3562
|
+
var CloseRoundFillIcon = React71__default.forwardRef((props, ref) => {
|
|
3480
3563
|
const { opacity = 0.54, ...rest } = props;
|
|
3481
3564
|
return /* @__PURE__ */ jsx(BaseIcon, { ref, ...rest, viewBox: "0 0 28 28", children: /* @__PURE__ */ jsx(
|
|
3482
3565
|
"path",
|
|
@@ -3759,7 +3842,7 @@ function EmptyStateIcon() {
|
|
|
3759
3842
|
);
|
|
3760
3843
|
}
|
|
3761
3844
|
var emptyData_default = EmptyStateIcon;
|
|
3762
|
-
var VectorIcon =
|
|
3845
|
+
var VectorIcon = React71__default.forwardRef(
|
|
3763
3846
|
(props, ref) => {
|
|
3764
3847
|
return /* @__PURE__ */ jsx(
|
|
3765
3848
|
"svg",
|
|
@@ -3853,7 +3936,7 @@ var PersonIcon = () => {
|
|
|
3853
3936
|
}
|
|
3854
3937
|
);
|
|
3855
3938
|
};
|
|
3856
|
-
var SettingFillIcon =
|
|
3939
|
+
var SettingFillIcon = React71__default.forwardRef(
|
|
3857
3940
|
(props, ref) => {
|
|
3858
3941
|
const { opacity = 0.54, ...rest } = props;
|
|
3859
3942
|
return /* @__PURE__ */ jsx(BaseIcon, { ref, ...rest, children: /* @__PURE__ */ jsx(
|
|
@@ -3888,7 +3971,7 @@ var TradingLeftNavIcon = (props) => {
|
|
|
3888
3971
|
}
|
|
3889
3972
|
);
|
|
3890
3973
|
};
|
|
3891
|
-
var VaultsIcon =
|
|
3974
|
+
var VaultsIcon = React71__default.forwardRef(
|
|
3892
3975
|
(props, ref) => {
|
|
3893
3976
|
return /* @__PURE__ */ jsxs(
|
|
3894
3977
|
"svg",
|
|
@@ -3953,7 +4036,7 @@ var LeftNavVaultsIcon = forwardRef(
|
|
|
3953
4036
|
);
|
|
3954
4037
|
}
|
|
3955
4038
|
);
|
|
3956
|
-
var NewsFillIcon =
|
|
4039
|
+
var NewsFillIcon = React71__default.forwardRef(
|
|
3957
4040
|
(props, ref) => {
|
|
3958
4041
|
const { opacity = 1, ...rest } = props;
|
|
3959
4042
|
return /* @__PURE__ */ jsx(BaseIcon, { ref, ...rest, children: /* @__PURE__ */ jsx(
|
|
@@ -3967,7 +4050,7 @@ var NewsFillIcon = React70__default.forwardRef(
|
|
|
3967
4050
|
}
|
|
3968
4051
|
);
|
|
3969
4052
|
NewsFillIcon.displayName = "NewsFillIcon";
|
|
3970
|
-
var BellIcon =
|
|
4053
|
+
var BellIcon = React71__default.forwardRef(
|
|
3971
4054
|
(props, ref) => {
|
|
3972
4055
|
return /* @__PURE__ */ jsx(
|
|
3973
4056
|
BaseIconWithPath,
|
|
@@ -4041,7 +4124,7 @@ var ReferralSolidIcon = (props) => {
|
|
|
4041
4124
|
}
|
|
4042
4125
|
) });
|
|
4043
4126
|
};
|
|
4044
|
-
var AddCircleIcon =
|
|
4127
|
+
var AddCircleIcon = React71__default.forwardRef(
|
|
4045
4128
|
(props, ref) => {
|
|
4046
4129
|
const { className, opacity = 0.54, ...rest } = props;
|
|
4047
4130
|
return /* @__PURE__ */ jsxs(
|
|
@@ -4077,7 +4160,7 @@ var AddCircleIcon = React70__default.forwardRef(
|
|
|
4077
4160
|
}
|
|
4078
4161
|
);
|
|
4079
4162
|
AddCircleIcon.displayName = "AddCircleIcon";
|
|
4080
|
-
var WarningIcon =
|
|
4163
|
+
var WarningIcon = React71__default.forwardRef(
|
|
4081
4164
|
(props, ref) => {
|
|
4082
4165
|
return /* @__PURE__ */ jsx(
|
|
4083
4166
|
"svg",
|
|
@@ -4094,7 +4177,7 @@ var WarningIcon = React70__default.forwardRef(
|
|
|
4094
4177
|
);
|
|
4095
4178
|
}
|
|
4096
4179
|
);
|
|
4097
|
-
var RwaIcon =
|
|
4180
|
+
var RwaIcon = React71__default.forwardRef(
|
|
4098
4181
|
(props, ref) => {
|
|
4099
4182
|
const { opacity = 1, ...rest } = props;
|
|
4100
4183
|
return /* @__PURE__ */ jsx(BaseIcon, { ref, ...rest, viewBox: "0 0 12 12", children: /* @__PURE__ */ jsx(
|
|
@@ -4165,7 +4248,7 @@ var textVariants = tv({
|
|
|
4165
4248
|
}
|
|
4166
4249
|
}
|
|
4167
4250
|
});
|
|
4168
|
-
var Text =
|
|
4251
|
+
var Text = React71__default.forwardRef((props, forwardedRef) => {
|
|
4169
4252
|
const {
|
|
4170
4253
|
children,
|
|
4171
4254
|
className,
|
|
@@ -4254,7 +4337,7 @@ var isTextRule = (rule) => {
|
|
|
4254
4337
|
};
|
|
4255
4338
|
var DEFAULT_SYMBOL_FORMAT = "base-quote";
|
|
4256
4339
|
var DEFAULT_DATE_FORMAT = "yyyy-MM-dd HH:mm:ss";
|
|
4257
|
-
var FormattedText =
|
|
4340
|
+
var FormattedText = React71__default.forwardRef(
|
|
4258
4341
|
(props, ref) => {
|
|
4259
4342
|
const {
|
|
4260
4343
|
rule,
|
|
@@ -4334,8 +4417,11 @@ var FormattedText = React70__default.forwardRef(
|
|
|
4334
4417
|
const quote = arr[2];
|
|
4335
4418
|
return (formatString ?? DEFAULT_SYMBOL_FORMAT).replace("type", type).replace("base", base).replace("quote", quote);
|
|
4336
4419
|
}
|
|
4420
|
+
if (capitalize && typeof children === "string") {
|
|
4421
|
+
return children.charAt(0).toUpperCase() + children.slice(1);
|
|
4422
|
+
}
|
|
4337
4423
|
return children;
|
|
4338
|
-
}, [children, rule, formatString, range, symbolElement]);
|
|
4424
|
+
}, [children, rule, formatString, range, symbolElement, capitalize]);
|
|
4339
4425
|
const contentWithFix = useMemo(() => {
|
|
4340
4426
|
if (typeof suffix === "undefined" && typeof prefixElement === "undefined") {
|
|
4341
4427
|
return content;
|
|
@@ -4366,7 +4452,7 @@ var gradientTextVariants = tv({
|
|
|
4366
4452
|
}
|
|
4367
4453
|
}
|
|
4368
4454
|
});
|
|
4369
|
-
var GradientText =
|
|
4455
|
+
var GradientText = React71__default.forwardRef((props, ref) => {
|
|
4370
4456
|
const { color, className, angle, ...rest } = props;
|
|
4371
4457
|
const style = parseAngleProps({ angle });
|
|
4372
4458
|
return (
|
|
@@ -4534,7 +4620,7 @@ var statisticVariants = tv({
|
|
|
4534
4620
|
// color: "default",
|
|
4535
4621
|
}
|
|
4536
4622
|
});
|
|
4537
|
-
var StatisticLabel =
|
|
4623
|
+
var StatisticLabel = React71__default.forwardRef(
|
|
4538
4624
|
(props, ref) => {
|
|
4539
4625
|
const { label: labelClassName } = statisticVariants({});
|
|
4540
4626
|
return /* @__PURE__ */ jsx(
|
|
@@ -4550,7 +4636,7 @@ var StatisticLabel = React70__default.forwardRef(
|
|
|
4550
4636
|
}
|
|
4551
4637
|
);
|
|
4552
4638
|
StatisticLabel.displayName = "StatisticLabel";
|
|
4553
|
-
var Statistic =
|
|
4639
|
+
var Statistic = React71__default.forwardRef((props, ref) => {
|
|
4554
4640
|
const { label, valueProps, align, className, classNames, children, ...rest } = props;
|
|
4555
4641
|
const { root, value: valueClassName } = statisticVariants({ align });
|
|
4556
4642
|
const value = useMemo(() => {
|
|
@@ -4891,7 +4977,7 @@ var inputVariants = tv(
|
|
|
4891
4977
|
responsiveVariants: ["md", "lg"]
|
|
4892
4978
|
}
|
|
4893
4979
|
);
|
|
4894
|
-
var Input =
|
|
4980
|
+
var Input = React71__default.forwardRef((props, ref) => {
|
|
4895
4981
|
const {
|
|
4896
4982
|
size,
|
|
4897
4983
|
disabled,
|
|
@@ -4970,7 +5056,7 @@ var Input = React70__default.forwardRef((props, ref) => {
|
|
|
4970
5056
|
)
|
|
4971
5057
|
] });
|
|
4972
5058
|
});
|
|
4973
|
-
var ClearButton =
|
|
5059
|
+
var ClearButton = React71__default.forwardRef((props, ref) => {
|
|
4974
5060
|
return /* @__PURE__ */ jsx(
|
|
4975
5061
|
"button",
|
|
4976
5062
|
{
|
|
@@ -5026,7 +5112,7 @@ var popoverVariants = tv({
|
|
|
5026
5112
|
var PopoverRoot = PopoverPrimitive.Root;
|
|
5027
5113
|
var PopoverTrigger = PopoverPrimitive.Trigger;
|
|
5028
5114
|
var PopoverAnchor = PopoverPrimitive.Anchor;
|
|
5029
|
-
var PopoverContent =
|
|
5115
|
+
var PopoverContent = React71.forwardRef(({ className, align = "center", sideOffset = 4, ...props }, ref) => /* @__PURE__ */ jsx(PopoverPrimitive.Portal, { children: /* @__PURE__ */ jsx(
|
|
5030
5116
|
PopoverPrimitive.Content,
|
|
5031
5117
|
{
|
|
5032
5118
|
ref,
|
|
@@ -5077,7 +5163,7 @@ var scrollAreaVariants = tv({
|
|
|
5077
5163
|
}
|
|
5078
5164
|
}
|
|
5079
5165
|
});
|
|
5080
|
-
var ScrollArea =
|
|
5166
|
+
var ScrollArea = React71__default.forwardRef((oriProps, ref) => {
|
|
5081
5167
|
const {
|
|
5082
5168
|
className,
|
|
5083
5169
|
classNames,
|
|
@@ -5107,7 +5193,7 @@ var ScrollArea = React70__default.forwardRef((oriProps, ref) => {
|
|
|
5107
5193
|
);
|
|
5108
5194
|
});
|
|
5109
5195
|
ScrollArea.displayName = ScrollAreaPrimitive.Root.displayName;
|
|
5110
|
-
var ScrollBar =
|
|
5196
|
+
var ScrollBar = React71__default.forwardRef((oriProps, ref) => {
|
|
5111
5197
|
const { className, orientation = "vertical", ...props } = oriProps;
|
|
5112
5198
|
const { bar, tumb } = scrollAreaVariants({ className, orientation });
|
|
5113
5199
|
return /* @__PURE__ */ jsx(
|
|
@@ -5280,7 +5366,7 @@ var selectVariants = tv(
|
|
|
5280
5366
|
var SelectRoot = SelectPrimitive.Root;
|
|
5281
5367
|
var SelectGroup = SelectPrimitive.Group;
|
|
5282
5368
|
var SelectValue = SelectPrimitive.Value;
|
|
5283
|
-
var SelectTrigger =
|
|
5369
|
+
var SelectTrigger = React71.forwardRef(
|
|
5284
5370
|
({
|
|
5285
5371
|
className,
|
|
5286
5372
|
children,
|
|
@@ -5334,7 +5420,7 @@ var SelectTrigger = React70.forwardRef(
|
|
|
5334
5420
|
}
|
|
5335
5421
|
);
|
|
5336
5422
|
SelectTrigger.displayName = SelectPrimitive.Trigger.displayName;
|
|
5337
|
-
var SelectScrollUpButton =
|
|
5423
|
+
var SelectScrollUpButton = React71.forwardRef(({ className, ...props }, ref) => {
|
|
5338
5424
|
const { scrollUpButton } = selectVariants();
|
|
5339
5425
|
return /* @__PURE__ */ jsx(
|
|
5340
5426
|
SelectPrimitive.ScrollUpButton,
|
|
@@ -5347,7 +5433,7 @@ var SelectScrollUpButton = React70.forwardRef(({ className, ...props }, ref) =>
|
|
|
5347
5433
|
);
|
|
5348
5434
|
});
|
|
5349
5435
|
SelectScrollUpButton.displayName = SelectPrimitive.ScrollUpButton.displayName;
|
|
5350
|
-
var SelectScrollDownButton =
|
|
5436
|
+
var SelectScrollDownButton = React71.forwardRef(({ className, ...props }, ref) => {
|
|
5351
5437
|
const { scrollDownButton } = selectVariants();
|
|
5352
5438
|
return /* @__PURE__ */ jsx(
|
|
5353
5439
|
SelectPrimitive.ScrollDownButton,
|
|
@@ -5360,7 +5446,7 @@ var SelectScrollDownButton = React70.forwardRef(({ className, ...props }, ref) =
|
|
|
5360
5446
|
);
|
|
5361
5447
|
});
|
|
5362
5448
|
SelectScrollDownButton.displayName = SelectPrimitive.ScrollDownButton.displayName;
|
|
5363
|
-
var SelectContent =
|
|
5449
|
+
var SelectContent = React71.forwardRef(({ className, children, position = "popper", ...props }, ref) => {
|
|
5364
5450
|
const { content, viewport } = selectVariants({ position, className });
|
|
5365
5451
|
return /* @__PURE__ */ jsx(SelectPrimitive.Portal, { children: /* @__PURE__ */ jsx(
|
|
5366
5452
|
SelectPrimitive.Content,
|
|
@@ -5374,7 +5460,7 @@ var SelectContent = React70.forwardRef(({ className, children, position = "poppe
|
|
|
5374
5460
|
) });
|
|
5375
5461
|
});
|
|
5376
5462
|
SelectContent.displayName = SelectPrimitive.Content.displayName;
|
|
5377
|
-
var SelectLabel =
|
|
5463
|
+
var SelectLabel = React71.forwardRef(({ className, ...props }, ref) => {
|
|
5378
5464
|
const { label } = selectVariants();
|
|
5379
5465
|
return /* @__PURE__ */ jsx(
|
|
5380
5466
|
SelectPrimitive.Label,
|
|
@@ -5386,12 +5472,12 @@ var SelectLabel = React70.forwardRef(({ className, ...props }, ref) => {
|
|
|
5386
5472
|
);
|
|
5387
5473
|
});
|
|
5388
5474
|
SelectLabel.displayName = SelectPrimitive.Label.displayName;
|
|
5389
|
-
var SelectItem =
|
|
5475
|
+
var SelectItem = React71.forwardRef(({ className, children, size, ...props }, ref) => {
|
|
5390
5476
|
const { item } = selectVariants({ size });
|
|
5391
5477
|
return /* @__PURE__ */ jsx(SelectPrimitive.Item, { ref, className: item({ className }), ...props, children: /* @__PURE__ */ jsx(SelectPrimitive.ItemText, { children }) });
|
|
5392
5478
|
});
|
|
5393
5479
|
SelectItem.displayName = SelectPrimitive.Item.displayName;
|
|
5394
|
-
var SelectSeparator =
|
|
5480
|
+
var SelectSeparator = React71.forwardRef(({ className, ...props }, ref) => {
|
|
5395
5481
|
const { separator } = selectVariants();
|
|
5396
5482
|
return /* @__PURE__ */ jsx(
|
|
5397
5483
|
SelectPrimitive.Separator,
|
|
@@ -5585,7 +5671,7 @@ var SelectWithOptions = (props) => {
|
|
|
5585
5671
|
...rest
|
|
5586
5672
|
} = props;
|
|
5587
5673
|
return /* @__PURE__ */ jsx(Select, { ...rest, children: /* @__PURE__ */ jsx(SelectGroup, { children: options.map((option, index) => {
|
|
5588
|
-
return
|
|
5674
|
+
return React71__default.cloneElement(optionRenderer(option, currentValue), {
|
|
5589
5675
|
size: props.size,
|
|
5590
5676
|
key: index,
|
|
5591
5677
|
index
|
|
@@ -5748,7 +5834,7 @@ var tooltipVariants = tv({
|
|
|
5748
5834
|
"data-[side=top]:oui-slide-in-from-bottom-2"
|
|
5749
5835
|
]
|
|
5750
5836
|
});
|
|
5751
|
-
var TooltipContent =
|
|
5837
|
+
var TooltipContent = React71.forwardRef(({ className, sideOffset = 4, ...props }, ref) => {
|
|
5752
5838
|
return /* @__PURE__ */ jsx(
|
|
5753
5839
|
TooltipPrimitive.Content,
|
|
5754
5840
|
{
|
|
@@ -5779,7 +5865,7 @@ var TooltipArrow = (props) => {
|
|
|
5779
5865
|
}
|
|
5780
5866
|
);
|
|
5781
5867
|
};
|
|
5782
|
-
var Tooltip =
|
|
5868
|
+
var Tooltip = React71.forwardRef((originalProps, ref) => {
|
|
5783
5869
|
const {
|
|
5784
5870
|
children,
|
|
5785
5871
|
content,
|
|
@@ -6011,7 +6097,7 @@ var inputHelpTextVariants = tv$1({
|
|
|
6011
6097
|
}
|
|
6012
6098
|
}
|
|
6013
6099
|
});
|
|
6014
|
-
var InputHelpText =
|
|
6100
|
+
var InputHelpText = React71__default.forwardRef(
|
|
6015
6101
|
(props, ref) => {
|
|
6016
6102
|
const { className, asChild, color, ...rest } = props;
|
|
6017
6103
|
const Comp = asChild ? Slot : "div";
|
|
@@ -6049,7 +6135,7 @@ var textFieldVariants = tv({
|
|
|
6049
6135
|
direction: "column"
|
|
6050
6136
|
}
|
|
6051
6137
|
});
|
|
6052
|
-
var TextField =
|
|
6138
|
+
var TextField = React71__default.forwardRef((props, ref) => {
|
|
6053
6139
|
const { label, helpText, direction, className, ...inputProps } = props;
|
|
6054
6140
|
const { root, label: labelClassName } = textFieldVariants({ direction });
|
|
6055
6141
|
return /* @__PURE__ */ jsxs("div", { className: root({ className, direction }), children: [
|
|
@@ -6067,7 +6153,7 @@ var TextField = React70__default.forwardRef((props, ref) => {
|
|
|
6067
6153
|
] });
|
|
6068
6154
|
});
|
|
6069
6155
|
TextField.displayName = "TextField";
|
|
6070
|
-
var InputLabel =
|
|
6156
|
+
var InputLabel = React71__default.forwardRef(
|
|
6071
6157
|
(props, ref) => {
|
|
6072
6158
|
const { asChild = false, className, ...rest } = props;
|
|
6073
6159
|
const Comp = asChild ? Slot : "label";
|
|
@@ -6119,7 +6205,7 @@ var checkboxVariants = tv$1({
|
|
|
6119
6205
|
// style: "checkBox",
|
|
6120
6206
|
}
|
|
6121
6207
|
});
|
|
6122
|
-
var Checkbox =
|
|
6208
|
+
var Checkbox = React71.forwardRef(({ className, color = "white", variant = "checkBox", ...props }, ref) => {
|
|
6123
6209
|
return /* @__PURE__ */ jsx(
|
|
6124
6210
|
CheckboxPrimitive.Root,
|
|
6125
6211
|
{
|
|
@@ -6249,7 +6335,7 @@ var switchVariants = tv$1({
|
|
|
6249
6335
|
color: "primary"
|
|
6250
6336
|
}
|
|
6251
6337
|
});
|
|
6252
|
-
var Switch =
|
|
6338
|
+
var Switch = React71__default.forwardRef(({ className, color, ...props }, ref) => {
|
|
6253
6339
|
const { root, thumb } = switchVariants({
|
|
6254
6340
|
className,
|
|
6255
6341
|
color
|
|
@@ -6370,7 +6456,7 @@ function Badge({ className, variant, color, size, ...props }) {
|
|
|
6370
6456
|
}
|
|
6371
6457
|
);
|
|
6372
6458
|
}
|
|
6373
|
-
var Logo =
|
|
6459
|
+
var Logo = React71__default.forwardRef(({ src, alt, href }, ref) => {
|
|
6374
6460
|
return /* @__PURE__ */ jsx("div", { className: "logo oui-px-3", ref, children: /* @__PURE__ */ jsx("a", { href: href ?? "/", children: /* @__PURE__ */ jsx(
|
|
6375
6461
|
"img",
|
|
6376
6462
|
{
|
|
@@ -7141,7 +7227,7 @@ var Pagination = ({ className, ...props }) => /* @__PURE__ */ jsx(
|
|
|
7141
7227
|
}
|
|
7142
7228
|
);
|
|
7143
7229
|
Pagination.displayName = "Pagination";
|
|
7144
|
-
var PaginationContent =
|
|
7230
|
+
var PaginationContent = React71__default.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
7145
7231
|
"ul",
|
|
7146
7232
|
{
|
|
7147
7233
|
ref,
|
|
@@ -7153,7 +7239,7 @@ var PaginationContent = React70__default.forwardRef(({ className, ...props }, re
|
|
|
7153
7239
|
}
|
|
7154
7240
|
));
|
|
7155
7241
|
PaginationContent.displayName = "PaginationContent";
|
|
7156
|
-
var PaginationItem =
|
|
7242
|
+
var PaginationItem = React71__default.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("li", { ref, className: cnBase("oui-leading-[0px]", className), ...props }));
|
|
7157
7243
|
PaginationItem.displayName = "PaginationItem";
|
|
7158
7244
|
var PaginationLink = ({
|
|
7159
7245
|
className,
|
|
@@ -8163,7 +8249,7 @@ var Sheet = DialogPrimitive.Root;
|
|
|
8163
8249
|
var SheetTrigger = DialogPrimitive.Trigger;
|
|
8164
8250
|
var SheetClose = DialogPrimitive.Close;
|
|
8165
8251
|
var SheetPortal = DialogPrimitive.Portal;
|
|
8166
|
-
var SheetOverlay =
|
|
8252
|
+
var SheetOverlay = React71.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
8167
8253
|
DialogPrimitive.Overlay,
|
|
8168
8254
|
{
|
|
8169
8255
|
className: cnBase(
|
|
@@ -8189,7 +8275,7 @@ var sheetVariants = tv$1({
|
|
|
8189
8275
|
side: "bottom"
|
|
8190
8276
|
}
|
|
8191
8277
|
});
|
|
8192
|
-
var SheetContent =
|
|
8278
|
+
var SheetContent = React71.forwardRef(
|
|
8193
8279
|
({
|
|
8194
8280
|
side = "bottom",
|
|
8195
8281
|
closeable = true,
|
|
@@ -8285,7 +8371,7 @@ var SheetFooter = ({
|
|
|
8285
8371
|
}
|
|
8286
8372
|
);
|
|
8287
8373
|
SheetFooter.displayName = "SheetFooter";
|
|
8288
|
-
var SheetTitle =
|
|
8374
|
+
var SheetTitle = React71.forwardRef(({ className, leading, ...props }, ref) => /* @__PURE__ */ jsxs(
|
|
8289
8375
|
"div",
|
|
8290
8376
|
{
|
|
8291
8377
|
className: "oui-sheet-header oui-grid oui-grid-cols-[40px_1fr_40px] oui-items-center",
|
|
@@ -8306,7 +8392,7 @@ var SheetTitle = React70.forwardRef(({ className, leading, ...props }, ref) => /
|
|
|
8306
8392
|
}
|
|
8307
8393
|
));
|
|
8308
8394
|
SheetTitle.displayName = DialogPrimitive.Title.displayName;
|
|
8309
|
-
var SheetDescription =
|
|
8395
|
+
var SheetDescription = React71.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
8310
8396
|
DialogPrimitive.Description,
|
|
8311
8397
|
{
|
|
8312
8398
|
ref,
|
|
@@ -8696,7 +8782,7 @@ var dividerVariants = tv({
|
|
|
8696
8782
|
intensity: 4
|
|
8697
8783
|
}
|
|
8698
8784
|
});
|
|
8699
|
-
var Divider =
|
|
8785
|
+
var Divider = React71__default.forwardRef((props, ref) => {
|
|
8700
8786
|
const { className, intensity, direction, lineStyle, mx, my, ...rest } = props;
|
|
8701
8787
|
return /* @__PURE__ */ jsx(
|
|
8702
8788
|
"div",
|
|
@@ -8904,7 +8990,7 @@ var Dialog = DialogPrimitive.Root;
|
|
|
8904
8990
|
var DialogTrigger = DialogPrimitive.Trigger;
|
|
8905
8991
|
var DialogPortal = DialogPrimitive.Portal;
|
|
8906
8992
|
var DialogClose = DialogPrimitive.Close;
|
|
8907
|
-
var DialogOverlay =
|
|
8993
|
+
var DialogOverlay = React71.forwardRef(({ className, ...props }, ref) => {
|
|
8908
8994
|
const { overlay } = dialogVariants();
|
|
8909
8995
|
return /* @__PURE__ */ jsx(
|
|
8910
8996
|
DialogPrimitive.Overlay,
|
|
@@ -8916,7 +9002,7 @@ var DialogOverlay = React70.forwardRef(({ className, ...props }, ref) => {
|
|
|
8916
9002
|
);
|
|
8917
9003
|
});
|
|
8918
9004
|
DialogOverlay.displayName = DialogPrimitive.Overlay.displayName;
|
|
8919
|
-
var DialogContent =
|
|
9005
|
+
var DialogContent = React71.forwardRef(
|
|
8920
9006
|
({
|
|
8921
9007
|
overlyClassName,
|
|
8922
9008
|
className,
|
|
@@ -8978,7 +9064,7 @@ var DialogFooter = ({
|
|
|
8978
9064
|
return /* @__PURE__ */ jsx("div", { className: footer({ className }), ...props });
|
|
8979
9065
|
};
|
|
8980
9066
|
DialogFooter.displayName = "DialogFooter";
|
|
8981
|
-
var DialogTitle =
|
|
9067
|
+
var DialogTitle = React71.forwardRef(({ className, ...props }, ref) => {
|
|
8982
9068
|
const { title } = dialogVariants();
|
|
8983
9069
|
return /* @__PURE__ */ jsx(
|
|
8984
9070
|
DialogPrimitive.Title,
|
|
@@ -8990,7 +9076,7 @@ var DialogTitle = React70.forwardRef(({ className, ...props }, ref) => {
|
|
|
8990
9076
|
);
|
|
8991
9077
|
});
|
|
8992
9078
|
DialogTitle.displayName = DialogPrimitive.Title.displayName;
|
|
8993
|
-
var DialogDescription =
|
|
9079
|
+
var DialogDescription = React71.forwardRef(({ className, ...props }, ref) => {
|
|
8994
9080
|
const { desc } = dialogVariants();
|
|
8995
9081
|
return /* @__PURE__ */ jsx(
|
|
8996
9082
|
DialogPrimitive.Description,
|
|
@@ -9987,13 +10073,13 @@ var tabsVariants = tv({
|
|
|
9987
10073
|
}
|
|
9988
10074
|
});
|
|
9989
10075
|
var TabsBase = TabsPrimitive.Root;
|
|
9990
|
-
var TabsList =
|
|
10076
|
+
var TabsList = React71.forwardRef((originProps, ref) => {
|
|
9991
10077
|
const { className, size, variant, ...props } = originProps;
|
|
9992
10078
|
const { list } = tabsVariants({ size, variant });
|
|
9993
10079
|
return /* @__PURE__ */ jsx(TabsPrimitive.List, { ref, className: list({ className }), ...props });
|
|
9994
10080
|
});
|
|
9995
10081
|
TabsList.displayName = TabsPrimitive.List.displayName;
|
|
9996
|
-
var TabsTrigger =
|
|
10082
|
+
var TabsTrigger = React71.forwardRef((originProps, ref) => {
|
|
9997
10083
|
const { className, size, children, icon, variant, ...props } = originProps;
|
|
9998
10084
|
const { trigger, icon: iconClassName } = tabsVariants({ size, variant });
|
|
9999
10085
|
return /* @__PURE__ */ jsxs(
|
|
@@ -10003,14 +10089,14 @@ var TabsTrigger = React70.forwardRef((originProps, ref) => {
|
|
|
10003
10089
|
className: trigger({ className }),
|
|
10004
10090
|
...props,
|
|
10005
10091
|
children: [
|
|
10006
|
-
typeof icon !== "undefined" ?
|
|
10092
|
+
typeof icon !== "undefined" ? React71.cloneElement(icon, { className: iconClassName(), opacity: 1 }) : null,
|
|
10007
10093
|
/* @__PURE__ */ jsx("span", { children })
|
|
10008
10094
|
]
|
|
10009
10095
|
}
|
|
10010
10096
|
);
|
|
10011
10097
|
});
|
|
10012
10098
|
TabsTrigger.displayName = TabsPrimitive.Trigger.displayName;
|
|
10013
|
-
var TabsContent =
|
|
10099
|
+
var TabsContent = React71.forwardRef((oriProps, ref) => {
|
|
10014
10100
|
const { className, size, children, ...props } = oriProps;
|
|
10015
10101
|
const { content } = tabsVariants({ size });
|
|
10016
10102
|
return /* @__PURE__ */ jsx(
|
|
@@ -10342,7 +10428,7 @@ var cardVariants = tv({
|
|
|
10342
10428
|
intensity: 900
|
|
10343
10429
|
}
|
|
10344
10430
|
});
|
|
10345
|
-
var CardBase =
|
|
10431
|
+
var CardBase = React71__default.forwardRef(
|
|
10346
10432
|
({ className, intensity, children, ...props }, ref) => {
|
|
10347
10433
|
return /* @__PURE__ */ jsx(
|
|
10348
10434
|
"div",
|
|
@@ -10356,7 +10442,7 @@ var CardBase = React70__default.forwardRef(
|
|
|
10356
10442
|
}
|
|
10357
10443
|
);
|
|
10358
10444
|
CardBase.displayName = "CardBase";
|
|
10359
|
-
var CardHeader =
|
|
10445
|
+
var CardHeader = React71__default.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
10360
10446
|
"div",
|
|
10361
10447
|
{
|
|
10362
10448
|
ref,
|
|
@@ -10369,7 +10455,7 @@ var CardHeader = React70__default.forwardRef(({ className, children, ...props },
|
|
|
10369
10455
|
}
|
|
10370
10456
|
));
|
|
10371
10457
|
CardHeader.displayName = "CardHeader";
|
|
10372
|
-
var CardTitle =
|
|
10458
|
+
var CardTitle = React71__default.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
10373
10459
|
"h3",
|
|
10374
10460
|
{
|
|
10375
10461
|
ref,
|
|
@@ -10382,7 +10468,7 @@ var CardTitle = React70__default.forwardRef(({ className, children, ...props },
|
|
|
10382
10468
|
}
|
|
10383
10469
|
));
|
|
10384
10470
|
CardTitle.displayName = "CardTitle";
|
|
10385
|
-
var CardDescription =
|
|
10471
|
+
var CardDescription = React71__default.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
10386
10472
|
"p",
|
|
10387
10473
|
{
|
|
10388
10474
|
ref,
|
|
@@ -10391,7 +10477,7 @@ var CardDescription = React70__default.forwardRef(({ className, children, ...pro
|
|
|
10391
10477
|
children
|
|
10392
10478
|
}
|
|
10393
10479
|
));
|
|
10394
|
-
var CardContent =
|
|
10480
|
+
var CardContent = React71__default.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
10395
10481
|
"div",
|
|
10396
10482
|
{
|
|
10397
10483
|
ref,
|
|
@@ -10401,7 +10487,7 @@ var CardContent = React70__default.forwardRef(({ className, children, ...props }
|
|
|
10401
10487
|
}
|
|
10402
10488
|
));
|
|
10403
10489
|
CardContent.displayName = "CardContent";
|
|
10404
|
-
var CardFooter =
|
|
10490
|
+
var CardFooter = React71__default.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsx("div", { ref, className, ...props, children }));
|
|
10405
10491
|
CardFooter.displayName = "CardFooter";
|
|
10406
10492
|
var Card = forwardRef(
|
|
10407
10493
|
(props, ref) => {
|
|
@@ -10416,7 +10502,7 @@ var Card = forwardRef(
|
|
|
10416
10502
|
Card.displayName = "Card";
|
|
10417
10503
|
var HoverCardRoot = HoverCardPrimitive.Root;
|
|
10418
10504
|
var HoverCardTrigger = HoverCardPrimitive.Trigger;
|
|
10419
|
-
var HoverCardContent =
|
|
10505
|
+
var HoverCardContent = React71.forwardRef(({ className, align = "center", sideOffset = 4, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
10420
10506
|
HoverCardPrimitive.Content,
|
|
10421
10507
|
{
|
|
10422
10508
|
ref,
|
|
@@ -10570,7 +10656,7 @@ var sliderVariants = tv({
|
|
|
10570
10656
|
}
|
|
10571
10657
|
}
|
|
10572
10658
|
});
|
|
10573
|
-
var BaseSlider =
|
|
10659
|
+
var BaseSlider = React71.forwardRef((oriProps, ref) => {
|
|
10574
10660
|
const {
|
|
10575
10661
|
className,
|
|
10576
10662
|
color,
|
|
@@ -10586,8 +10672,8 @@ var BaseSlider = React70.forwardRef((oriProps, ref) => {
|
|
|
10586
10672
|
const { track, range, thumb, root, trackInner, mark, tips } = sliderVariants({
|
|
10587
10673
|
color
|
|
10588
10674
|
});
|
|
10589
|
-
const [innerValue, setInvalue] =
|
|
10590
|
-
|
|
10675
|
+
const [innerValue, setInvalue] = React71.useState(__propsValue);
|
|
10676
|
+
React71.useEffect(() => {
|
|
10591
10677
|
setInvalue((prev) => {
|
|
10592
10678
|
if (!prev) {
|
|
10593
10679
|
return __propsValue;
|
|
@@ -10765,7 +10851,7 @@ var SliderTip = (props) => {
|
|
|
10765
10851
|
const percent = convertValueToPercentage(value, min, max);
|
|
10766
10852
|
return /* @__PURE__ */ jsx("span", { className, style: { lineHeight: "19px" }, children: props.tipFormatter?.(value, min, max, percent) ?? `${percent.toFixed()}%` });
|
|
10767
10853
|
};
|
|
10768
|
-
var SingleSlider =
|
|
10854
|
+
var SingleSlider = React71.forwardRef((props, ref) => {
|
|
10769
10855
|
const _value = useMemo(() => [props.value], [props.value]);
|
|
10770
10856
|
return /* @__PURE__ */ jsx(
|
|
10771
10857
|
BaseSlider,
|
|
@@ -10785,7 +10871,7 @@ var SingleSlider = React70.forwardRef((props, ref) => {
|
|
|
10785
10871
|
SingleSlider.displayName = "SingleSlider";
|
|
10786
10872
|
var Slider = BaseSlider;
|
|
10787
10873
|
Slider.single = SingleSlider;
|
|
10788
|
-
var ToastErrorIcon =
|
|
10874
|
+
var ToastErrorIcon = React71__default.forwardRef(
|
|
10789
10875
|
(props, ref) => {
|
|
10790
10876
|
const { opacity = 1, viewBox = "0 0 20 20", className, ...rest } = props;
|
|
10791
10877
|
return /* @__PURE__ */ jsx(
|
|
@@ -10807,7 +10893,7 @@ var ToastErrorIcon = React70__default.forwardRef(
|
|
|
10807
10893
|
);
|
|
10808
10894
|
}
|
|
10809
10895
|
);
|
|
10810
|
-
var ToastSuccessIcon =
|
|
10896
|
+
var ToastSuccessIcon = React71__default.forwardRef(
|
|
10811
10897
|
(props, ref) => {
|
|
10812
10898
|
const { opacity = 1, viewBox = "0 0 20 20", className, ...rest } = props;
|
|
10813
10899
|
return /* @__PURE__ */ jsx(
|
|
@@ -10830,7 +10916,7 @@ var ToastSuccessIcon = React70__default.forwardRef(
|
|
|
10830
10916
|
);
|
|
10831
10917
|
}
|
|
10832
10918
|
);
|
|
10833
|
-
var ToastLoadingIcon =
|
|
10919
|
+
var ToastLoadingIcon = React71__default.forwardRef(
|
|
10834
10920
|
(props, ref) => {
|
|
10835
10921
|
const { opacity = 1, viewBox = "0 0 20 20", className, ...rest } = props;
|
|
10836
10922
|
return /* @__PURE__ */ jsx(
|
|
@@ -11044,7 +11130,7 @@ var ListViewInner = (props, ref) => {
|
|
|
11044
11130
|
}
|
|
11045
11131
|
);
|
|
11046
11132
|
}
|
|
11047
|
-
return props.dataSource.map((item, index) => /* @__PURE__ */ jsx(
|
|
11133
|
+
return props.dataSource.map((item, index) => /* @__PURE__ */ jsx(React71__default.Fragment, { children: props.renderItem(item, index, props.extraData) }, index));
|
|
11048
11134
|
}, [emptyDataSouce, props.dataSource, props.extraData, props.emptyView]);
|
|
11049
11135
|
const loadingViewElement = useMemo(() => {
|
|
11050
11136
|
if ((props.dataSource?.length || 0) === 0) return null;
|
|
@@ -11081,7 +11167,7 @@ var ListViewInner = (props, ref) => {
|
|
|
11081
11167
|
{
|
|
11082
11168
|
className: cn(
|
|
11083
11169
|
"oui-space-y-3 oui-h-full oui-w-full",
|
|
11084
|
-
emptyDataSouce && "oui-absolute oui-
|
|
11170
|
+
emptyDataSouce && "oui-absolute oui-bottom-0 oui-left-0 oui-right-0 oui-top-0",
|
|
11085
11171
|
props.contentClassName
|
|
11086
11172
|
)({ twMerge: true }),
|
|
11087
11173
|
children: listViewElement
|
|
@@ -11217,7 +11303,7 @@ var Marquee = (props) => {
|
|
|
11217
11303
|
const [emblaRef, emblaApi] = useEmblaCarousel__default(emblaOptions, [
|
|
11218
11304
|
AutoScroll__default(autoScrollPluginOptions)
|
|
11219
11305
|
]);
|
|
11220
|
-
|
|
11306
|
+
React71__default.useEffect(() => {
|
|
11221
11307
|
if (emblaApi && setApi) {
|
|
11222
11308
|
setApi(emblaApi);
|
|
11223
11309
|
}
|
|
@@ -11371,7 +11457,7 @@ var dropdownMenuVariants = tv$1({
|
|
|
11371
11457
|
size: "lg"
|
|
11372
11458
|
}
|
|
11373
11459
|
});
|
|
11374
|
-
var DropdownMenuContent =
|
|
11460
|
+
var DropdownMenuContent = React71.forwardRef(({ className, sideOffset = 4, size, ...props }, ref) => {
|
|
11375
11461
|
const { content } = dropdownMenuVariants({ size });
|
|
11376
11462
|
return /* @__PURE__ */ jsx(DropdownMenuPrimitive.Portal, { children: /* @__PURE__ */ jsx(
|
|
11377
11463
|
DropdownMenuPrimitive.Content,
|
|
@@ -11384,7 +11470,7 @@ var DropdownMenuContent = React70.forwardRef(({ className, sideOffset = 4, size,
|
|
|
11384
11470
|
) });
|
|
11385
11471
|
});
|
|
11386
11472
|
DropdownMenuContent.displayName = DropdownMenuPrimitive.Content.displayName;
|
|
11387
|
-
var DropdownMenuItem =
|
|
11473
|
+
var DropdownMenuItem = React71.forwardRef(({ className, inset, size, ...props }, ref) => {
|
|
11388
11474
|
const { item } = dropdownMenuVariants({ size });
|
|
11389
11475
|
return /* @__PURE__ */ jsx(
|
|
11390
11476
|
DropdownMenuPrimitive.Item,
|
|
@@ -11396,7 +11482,7 @@ var DropdownMenuItem = React70.forwardRef(({ className, inset, size, ...props },
|
|
|
11396
11482
|
);
|
|
11397
11483
|
});
|
|
11398
11484
|
DropdownMenuItem.displayName = DropdownMenuPrimitive.Item.displayName;
|
|
11399
|
-
var DropdownMenuLabel =
|
|
11485
|
+
var DropdownMenuLabel = React71.forwardRef(({ className, inset, ...props }, ref) => {
|
|
11400
11486
|
const { label } = dropdownMenuVariants({
|
|
11401
11487
|
inset
|
|
11402
11488
|
});
|
|
@@ -11410,7 +11496,7 @@ var DropdownMenuLabel = React70.forwardRef(({ className, inset, ...props }, ref)
|
|
|
11410
11496
|
);
|
|
11411
11497
|
});
|
|
11412
11498
|
DropdownMenuLabel.displayName = DropdownMenuPrimitive.Label.displayName;
|
|
11413
|
-
var DropdownMenuSeparator =
|
|
11499
|
+
var DropdownMenuSeparator = React71.forwardRef(({ className, ...props }, ref) => {
|
|
11414
11500
|
const { separator } = dropdownMenuVariants();
|
|
11415
11501
|
return /* @__PURE__ */ jsx(
|
|
11416
11502
|
DropdownMenuPrimitive.Separator,
|
|
@@ -11840,6 +11926,6 @@ var LIGHT_THEME_CSS_VARS = {
|
|
|
11840
11926
|
"--oui-spacing-xl": "33.75rem"
|
|
11841
11927
|
};
|
|
11842
11928
|
|
|
11843
|
-
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, DARK_THEME_CSS_VARS, 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, LIGHT_THEME_CSS_VARS, 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, useThemeAttribute };
|
|
11929
|
+
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, DARK_THEME_CSS_VARS, 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, IconButton, InfoCircleIcon, Input2 as Input, InputAdditional, LIGHT_THEME_CSS_VARS, 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, iconButtonVariants, formatter_exports as inputFormatter, installExtension, modal, parseNumber, registerSimpleDialog, registerSimpleSheet, scrollAreaVariants, setExtensionBuilder, startViewTransition, statisticVariants, textVariants, tv, useLocale, useLongPress, useMediaQuery, useModal, useMultiSort, useObserverElement, useOrderlyTheme, usePagination, useScreen, useThemeAttribute };
|
|
11844
11930
|
//# sourceMappingURL=index.mjs.map
|
|
11845
11931
|
//# sourceMappingURL=index.mjs.map
|