@orderly.network/trading-rewards 3.0.4 → 3.1.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.js +7 -7
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +7 -7
- package/dist/index.mjs.map +1 -1
- package/dist/styles.css +1 -1
- package/package.json +10 -10
package/dist/index.mjs
CHANGED
|
@@ -1129,8 +1129,8 @@ var init_rocket = __esm({
|
|
|
1129
1129
|
var StakeBooster, Statics3;
|
|
1130
1130
|
var init_stakeBooster_ui = __esm({
|
|
1131
1131
|
"src/pages/index/stakeBooster/stakeBooster.ui.tsx"() {
|
|
1132
|
-
init_jumpIcon();
|
|
1133
1132
|
init_esOrderlyIcon();
|
|
1133
|
+
init_jumpIcon();
|
|
1134
1134
|
init_orderlyIcon();
|
|
1135
1135
|
init_rocket();
|
|
1136
1136
|
StakeBooster = (props) => {
|
|
@@ -1169,8 +1169,8 @@ var init_stakeBooster_ui = __esm({
|
|
|
1169
1169
|
title: t("tradingRewards.avgStakedAmount"),
|
|
1170
1170
|
value: props.curEpochEstimate?.est_avg_stake,
|
|
1171
1171
|
icon: /* @__PURE__ */ jsxs("div", { className: "oui-flex oui-w-[32px] oui-h-[20px] oui-relative", children: [
|
|
1172
|
-
/* @__PURE__ */ jsx("div", { className: "oui-absolute oui-
|
|
1173
|
-
/* @__PURE__ */ jsx("div", { className: "oui-absolute oui-
|
|
1172
|
+
/* @__PURE__ */ jsx("div", { className: "oui-absolute oui-end-0 oui-top-0", children: /* @__PURE__ */ jsx(EsOrderlyIcon, {}) }),
|
|
1173
|
+
/* @__PURE__ */ jsx("div", { className: "oui-absolute oui-start-0 oui-top-0 ", children: /* @__PURE__ */ jsx(OrderlyIcon, {}) })
|
|
1174
1174
|
] })
|
|
1175
1175
|
}
|
|
1176
1176
|
),
|
|
@@ -1442,7 +1442,7 @@ var init_rewardsHistory_ui = __esm({
|
|
|
1442
1442
|
{
|
|
1443
1443
|
title: t("tradingRewards.epoch"),
|
|
1444
1444
|
dataIndex: "epoch_id",
|
|
1445
|
-
className: "oui-w-1/4 oui-
|
|
1445
|
+
className: "oui-w-1/4 oui-px-0",
|
|
1446
1446
|
render: (value) => {
|
|
1447
1447
|
return /* @__PURE__ */ jsx(Text, { children: `${t("tradingRewards.epoch")} ${value}` });
|
|
1448
1448
|
}
|
|
@@ -1450,7 +1450,7 @@ var init_rewardsHistory_ui = __esm({
|
|
|
1450
1450
|
{
|
|
1451
1451
|
title: t("tradingRewards.rewardHistory.column.start&EndDate"),
|
|
1452
1452
|
dataIndex: "time",
|
|
1453
|
-
className: "oui-w-1/4 oui-
|
|
1453
|
+
className: "oui-w-1/4 oui-px-0",
|
|
1454
1454
|
render: (value, record) => {
|
|
1455
1455
|
return /* @__PURE__ */ jsxs(
|
|
1456
1456
|
Flex,
|
|
@@ -1476,7 +1476,7 @@ var init_rewardsHistory_ui = __esm({
|
|
|
1476
1476
|
{
|
|
1477
1477
|
title: t("tradingRewards.epochRewards"),
|
|
1478
1478
|
dataIndex: "max_reward_amount",
|
|
1479
|
-
className: "oui-w-1/4 oui-
|
|
1479
|
+
className: "oui-w-1/4 oui-px-0",
|
|
1480
1480
|
render: (value, record) => {
|
|
1481
1481
|
const isOrder = `${record?.info?.epoch_token || record.epoch_token}`.toLowerCase() === "order";
|
|
1482
1482
|
return /* @__PURE__ */ jsxs(Flex, { direction: "row", gap: 1, children: [
|
|
@@ -1488,7 +1488,7 @@ var init_rewardsHistory_ui = __esm({
|
|
|
1488
1488
|
{
|
|
1489
1489
|
title: t("tradingRewards.rewardsEarned"),
|
|
1490
1490
|
dataIndex: "earned",
|
|
1491
|
-
className: "oui-w-1/4 oui-
|
|
1491
|
+
className: "oui-w-1/4 oui-px-0",
|
|
1492
1492
|
render: (value, record) => {
|
|
1493
1493
|
const isOrder = `${record?.info?.epoch_token || record.epoch_token}`.toLowerCase() === "order";
|
|
1494
1494
|
let children = /* @__PURE__ */ jsx(
|