@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 CHANGED
@@ -1136,8 +1136,8 @@ var init_rocket = __esm({
1136
1136
  var StakeBooster, Statics3;
1137
1137
  var init_stakeBooster_ui = __esm({
1138
1138
  "src/pages/index/stakeBooster/stakeBooster.ui.tsx"() {
1139
- init_jumpIcon();
1140
1139
  init_esOrderlyIcon();
1140
+ init_jumpIcon();
1141
1141
  init_orderlyIcon();
1142
1142
  init_rocket();
1143
1143
  StakeBooster = (props) => {
@@ -1176,8 +1176,8 @@ var init_stakeBooster_ui = __esm({
1176
1176
  title: t("tradingRewards.avgStakedAmount"),
1177
1177
  value: props.curEpochEstimate?.est_avg_stake,
1178
1178
  icon: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "oui-flex oui-w-[32px] oui-h-[20px] oui-relative", children: [
1179
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "oui-absolute oui-right-0 oui-top-0", children: /* @__PURE__ */ jsxRuntime.jsx(EsOrderlyIcon, {}) }),
1180
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "oui-absolute oui-left-0 oui-top-0 ", children: /* @__PURE__ */ jsxRuntime.jsx(OrderlyIcon, {}) })
1179
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "oui-absolute oui-end-0 oui-top-0", children: /* @__PURE__ */ jsxRuntime.jsx(EsOrderlyIcon, {}) }),
1180
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "oui-absolute oui-start-0 oui-top-0 ", children: /* @__PURE__ */ jsxRuntime.jsx(OrderlyIcon, {}) })
1181
1181
  ] })
1182
1182
  }
1183
1183
  ),
@@ -1449,7 +1449,7 @@ var init_rewardsHistory_ui = __esm({
1449
1449
  {
1450
1450
  title: t("tradingRewards.epoch"),
1451
1451
  dataIndex: "epoch_id",
1452
- className: "oui-w-1/4 oui-pl-0 oui-pr-0",
1452
+ className: "oui-w-1/4 oui-px-0",
1453
1453
  render: (value) => {
1454
1454
  return /* @__PURE__ */ jsxRuntime.jsx(ui.Text, { children: `${t("tradingRewards.epoch")} ${value}` });
1455
1455
  }
@@ -1457,7 +1457,7 @@ var init_rewardsHistory_ui = __esm({
1457
1457
  {
1458
1458
  title: t("tradingRewards.rewardHistory.column.start&EndDate"),
1459
1459
  dataIndex: "time",
1460
- className: "oui-w-1/4 oui-pl-0 oui-pr-0",
1460
+ className: "oui-w-1/4 oui-px-0",
1461
1461
  render: (value, record) => {
1462
1462
  return /* @__PURE__ */ jsxRuntime.jsxs(
1463
1463
  ui.Flex,
@@ -1483,7 +1483,7 @@ var init_rewardsHistory_ui = __esm({
1483
1483
  {
1484
1484
  title: t("tradingRewards.epochRewards"),
1485
1485
  dataIndex: "max_reward_amount",
1486
- className: "oui-w-1/4 oui-pl-0 oui-pr-0",
1486
+ className: "oui-w-1/4 oui-px-0",
1487
1487
  render: (value, record) => {
1488
1488
  const isOrder = `${record?.info?.epoch_token || record.epoch_token}`.toLowerCase() === "order";
1489
1489
  return /* @__PURE__ */ jsxRuntime.jsxs(ui.Flex, { direction: "row", gap: 1, children: [
@@ -1495,7 +1495,7 @@ var init_rewardsHistory_ui = __esm({
1495
1495
  {
1496
1496
  title: t("tradingRewards.rewardsEarned"),
1497
1497
  dataIndex: "earned",
1498
- className: "oui-w-1/4 oui-pl-0 oui-pr-0",
1498
+ className: "oui-w-1/4 oui-px-0",
1499
1499
  render: (value, record) => {
1500
1500
  const isOrder = `${record?.info?.epoch_token || record.epoch_token}`.toLowerCase() === "order";
1501
1501
  let children = /* @__PURE__ */ jsxRuntime.jsx(