@orderly.network/vaults 3.0.4-alpha.4 → 3.1.0-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -705,7 +705,7 @@ var init_vaults_header_mobile = __esm({
705
705
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "oui-mb-4 oui-mt-6 oui-min-h-[56px] oui-max-w-[calc(100%-187px)] oui-text-xl oui-font-bold oui-text-base-contrast", children: t("vaults.header.title") }),
706
706
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "oui-max-w-[450px] oui-text-2xs oui-font-normal oui-text-base-contrast-54", children: t("vaults.header.description", { brokerName }) })
707
707
  ] }),
708
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "oui-absolute -oui-right-3 -oui-top-4 oui-h-[124px] oui-w-[187px]", children: headerImageElement })
708
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "oui-absolute -oui-end-3 -oui-top-4 oui-h-[124px] oui-w-[187px]", children: headerImageElement })
709
709
  ] });
710
710
  };
711
711
  }
@@ -1264,7 +1264,7 @@ var init_latest_deposit_ui = __esm({
1264
1264
  "div",
1265
1265
  {
1266
1266
  className: ui.cn(
1267
- "oui-mr-1 oui-size-1 oui-rounded-full",
1267
+ "oui-me-1 oui-size-1 oui-rounded-full",
1268
1268
  latestOperation.status === "completed" && "oui-bg-success",
1269
1269
  latestOperation.status === "rejected" && "oui-bg-danger",
1270
1270
  latestOperation.status === "failed" && "oui-bg-danger",
@@ -1280,7 +1280,7 @@ var init_latest_deposit_ui = __esm({
1280
1280
  children: latestOperation.status.slice(0, 1).toUpperCase() + latestOperation.status.slice(1)
1281
1281
  }
1282
1282
  ),
1283
- /* @__PURE__ */ jsxRuntime.jsx(ui.TokenIcon, { name: "USDC", className: "oui-ml-auto oui-mr-1 oui-size-4" }),
1283
+ /* @__PURE__ */ jsxRuntime.jsx(ui.TokenIcon, { name: "USDC", className: "oui-ms-auto oui-me-1 oui-size-4" }),
1284
1284
  /* @__PURE__ */ jsxRuntime.jsx(ui.Text.numeral, { className: "oui-text-sm oui-font-semibold oui-text-base-contrast-80", children: latestOperation.amount_change })
1285
1285
  ] }) })
1286
1286
  ] });
@@ -1352,7 +1352,7 @@ var init_vault_deposit_form_ui = __esm({
1352
1352
  {
1353
1353
  dp: 6,
1354
1354
  padding: false,
1355
- suffix: /* @__PURE__ */ jsxRuntime.jsx("span", { className: "oui-ml-1 oui-text-base-contrast-54", children: t("vaults.deposit.shares") }),
1355
+ suffix: /* @__PURE__ */ jsxRuntime.jsx("span", { className: "oui-ms-1 oui-text-base-contrast-54", children: t("vaults.deposit.shares") }),
1356
1356
  children: shares
1357
1357
  }
1358
1358
  )
@@ -1369,7 +1369,7 @@ var init_vault_deposit_form_ui = __esm({
1369
1369
  /* @__PURE__ */ jsxRuntime.jsx(
1370
1370
  ui.Text.numeral,
1371
1371
  {
1372
- suffix: /* @__PURE__ */ jsxRuntime.jsx("span", { className: "oui-ml-1 oui-text-base-contrast-54", children: "hrs" }),
1372
+ suffix: /* @__PURE__ */ jsxRuntime.jsx("span", { className: "oui-ms-1 oui-text-base-contrast-54", children: "hrs" }),
1373
1373
  children: "48"
1374
1374
  }
1375
1375
  )
@@ -1549,7 +1549,7 @@ var init_withdraw_process_ui = __esm({
1549
1549
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "oui-mt-1 oui-flex oui-justify-between", children: [
1550
1550
  /* @__PURE__ */ jsxRuntime.jsx(ProcessText, { children: t("vaults.withdraw.process.initiate") }),
1551
1551
  /* @__PURE__ */ jsxRuntime.jsx(ProcessText, { className: "oui-text-center", children: t("vaults.withdraw.process.vaultProcess") }),
1552
- /* @__PURE__ */ jsxRuntime.jsx(ProcessText, { className: "oui-text-right", children: t("vaults.withdraw.process.transferred") })
1552
+ /* @__PURE__ */ jsxRuntime.jsx(ProcessText, { className: "oui-text-end", children: t("vaults.withdraw.process.transferred") })
1553
1553
  ] })
1554
1554
  ] });
1555
1555
  };
@@ -1583,7 +1583,7 @@ var init_latest_withdraw_ui = __esm({
1583
1583
  "div",
1584
1584
  {
1585
1585
  className: ui.cn(
1586
- "oui-mr-1 oui-size-1 oui-rounded-full",
1586
+ "oui-me-1 oui-size-1 oui-rounded-full",
1587
1587
  latestOperation.status === "completed" && "oui-bg-success",
1588
1588
  latestOperation.status === "rejected" && "oui-bg-danger",
1589
1589
  latestOperation.status === "failed" && "oui-bg-danger",
@@ -1599,7 +1599,7 @@ var init_latest_withdraw_ui = __esm({
1599
1599
  children: latestOperation.status.slice(0, 1).toUpperCase() + latestOperation.status.slice(1)
1600
1600
  }
1601
1601
  ),
1602
- /* @__PURE__ */ jsxRuntime.jsx(ui.TokenIcon, { name: "USDC", className: "oui-ml-auto oui-mr-1 oui-size-4" }),
1602
+ /* @__PURE__ */ jsxRuntime.jsx(ui.TokenIcon, { name: "USDC", className: "oui-ms-auto oui-me-1 oui-size-4" }),
1603
1603
  /* @__PURE__ */ jsxRuntime.jsx(ui.Text.numeral, { className: "oui-text-sm oui-font-semibold oui-text-base-contrast-80", children: latestOperation.amount_change || "-" })
1604
1604
  ] }) })
1605
1605
  ] });
@@ -1688,7 +1688,7 @@ var init_vault_withdraw_form_ui = __esm({
1688
1688
  {
1689
1689
  label: t("vaults.withdraw.estReceivingAmount"),
1690
1690
  value: receivingAmount,
1691
- suffix: /* @__PURE__ */ jsxRuntime.jsx("span", { className: "oui-ml-1 oui-text-base-contrast-36", children: "USDC" }),
1691
+ suffix: /* @__PURE__ */ jsxRuntime.jsx("span", { className: "oui-ms-1 oui-text-base-contrast-36", children: "USDC" }),
1692
1692
  className: "oui-mb-5"
1693
1693
  }
1694
1694
  ),
@@ -1745,7 +1745,7 @@ var init_vault_withdraw_form_ui = __esm({
1745
1745
  {
1746
1746
  label: t("vaults.withdraw.dialog.withdrawalAmount"),
1747
1747
  value: quantity,
1748
- suffix: /* @__PURE__ */ jsxRuntime.jsx("span", { className: "oui-ml-1 oui-text-base-contrast-36", children: "Shares" })
1748
+ suffix: /* @__PURE__ */ jsxRuntime.jsx("span", { className: "oui-ms-1 oui-text-base-contrast-36", children: "Shares" })
1749
1749
  }
1750
1750
  ),
1751
1751
  /* @__PURE__ */ jsxRuntime.jsx(
@@ -1753,7 +1753,7 @@ var init_vault_withdraw_form_ui = __esm({
1753
1753
  {
1754
1754
  label: t("vaults.withdraw.dialog.estimatedReceiving"),
1755
1755
  value: receivingAmount,
1756
- suffix: /* @__PURE__ */ jsxRuntime.jsx("span", { className: "oui-ml-1 oui-text-base-contrast-36", children: "USDC" }),
1756
+ suffix: /* @__PURE__ */ jsxRuntime.jsx("span", { className: "oui-ms-1 oui-text-base-contrast-36", children: "USDC" }),
1757
1757
  className: "oui-mt-1"
1758
1758
  }
1759
1759
  ),
@@ -2156,7 +2156,7 @@ var init_vaultCard_ui = __esm({
2156
2156
  "div",
2157
2157
  {
2158
2158
  className: ui.cn(
2159
- "oui-absolute oui-left-0 oui-top-0 oui-z-20 oui-size-full oui-p-6",
2159
+ "oui-absolute oui-start-0 oui-top-0 oui-z-20 oui-size-full oui-p-6",
2160
2160
  "oui-overflow-y-auto oui-custom-scrollbar"
2161
2161
  ),
2162
2162
  children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "oui-flex oui-flex-col oui-gap-2", children: [
@@ -2320,7 +2320,7 @@ var init_vaultCard_ui = __esm({
2320
2320
  className: "oui-text-base-contrast-80",
2321
2321
  ...textProps,
2322
2322
  dp: 2,
2323
- suffix: /* @__PURE__ */ jsxRuntime.jsx("span", { className: "oui-ml-1 oui-text-base-contrast-36", children: "USDC" }),
2323
+ suffix: /* @__PURE__ */ jsxRuntime.jsx("span", { className: "oui-ms-1 oui-text-base-contrast-36", children: "USDC" }),
2324
2324
  children: value
2325
2325
  }
2326
2326
  )
@@ -2436,7 +2436,7 @@ var init_vaults_list = __esm({
2436
2436
  fill: "none",
2437
2437
  xmlns: "http://www.w3.org/2000/svg",
2438
2438
  className: ui.cn(
2439
- "oui-ml-1 oui-transition-colors",
2439
+ "oui-ms-1 oui-transition-colors",
2440
2440
  isActive ? "oui-text-base-contrast" : "oui-text-base-contrast-36"
2441
2441
  ),
2442
2442
  children: [