@kodiak-finance/orderly-vaults 2.9.2 → 2.9.4
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 +14 -14
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +14 -14
- package/dist/index.mjs.map +1 -1
- package/dist/styles.css +1 -1
- package/package.json +10 -10
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-
|
|
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
|
}
|
|
@@ -1262,7 +1262,7 @@ var init_latest_deposit_ui = __esm({
|
|
|
1262
1262
|
"div",
|
|
1263
1263
|
{
|
|
1264
1264
|
className: orderlyUi.cn(
|
|
1265
|
-
"oui-
|
|
1265
|
+
"oui-me-1 oui-size-1 oui-rounded-full",
|
|
1266
1266
|
latestOperation.status === "completed" && "oui-bg-success",
|
|
1267
1267
|
latestOperation.status === "rejected" && "oui-bg-danger",
|
|
1268
1268
|
latestOperation.status === "failed" && "oui-bg-danger",
|
|
@@ -1278,7 +1278,7 @@ var init_latest_deposit_ui = __esm({
|
|
|
1278
1278
|
children: latestOperation.status.slice(0, 1).toUpperCase() + latestOperation.status.slice(1)
|
|
1279
1279
|
}
|
|
1280
1280
|
),
|
|
1281
|
-
/* @__PURE__ */ jsxRuntime.jsx(orderlyUi.TokenIcon, { name: "USDC", className: "oui-
|
|
1281
|
+
/* @__PURE__ */ jsxRuntime.jsx(orderlyUi.TokenIcon, { name: "USDC", className: "oui-ms-auto oui-me-1 oui-size-4" }),
|
|
1282
1282
|
/* @__PURE__ */ jsxRuntime.jsx(orderlyUi.Text.numeral, { className: "oui-text-sm oui-font-semibold oui-text-base-contrast-80", children: latestOperation.amount_change })
|
|
1283
1283
|
] }) })
|
|
1284
1284
|
] });
|
|
@@ -1350,7 +1350,7 @@ var init_vault_deposit_form_ui = __esm({
|
|
|
1350
1350
|
{
|
|
1351
1351
|
dp: 6,
|
|
1352
1352
|
padding: false,
|
|
1353
|
-
suffix: /* @__PURE__ */ jsxRuntime.jsx("span", { className: "oui-
|
|
1353
|
+
suffix: /* @__PURE__ */ jsxRuntime.jsx("span", { className: "oui-ms-1 oui-text-base-contrast-54", children: t("vaults.deposit.shares") }),
|
|
1354
1354
|
children: shares
|
|
1355
1355
|
}
|
|
1356
1356
|
)
|
|
@@ -1367,7 +1367,7 @@ var init_vault_deposit_form_ui = __esm({
|
|
|
1367
1367
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1368
1368
|
orderlyUi.Text.numeral,
|
|
1369
1369
|
{
|
|
1370
|
-
suffix: /* @__PURE__ */ jsxRuntime.jsx("span", { className: "oui-
|
|
1370
|
+
suffix: /* @__PURE__ */ jsxRuntime.jsx("span", { className: "oui-ms-1 oui-text-base-contrast-54", children: "hrs" }),
|
|
1371
1371
|
children: "48"
|
|
1372
1372
|
}
|
|
1373
1373
|
)
|
|
@@ -1547,7 +1547,7 @@ var init_withdraw_process_ui = __esm({
|
|
|
1547
1547
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "oui-mt-1 oui-flex oui-justify-between", children: [
|
|
1548
1548
|
/* @__PURE__ */ jsxRuntime.jsx(ProcessText, { children: t("vaults.withdraw.process.initiate") }),
|
|
1549
1549
|
/* @__PURE__ */ jsxRuntime.jsx(ProcessText, { className: "oui-text-center", children: t("vaults.withdraw.process.vaultProcess") }),
|
|
1550
|
-
/* @__PURE__ */ jsxRuntime.jsx(ProcessText, { className: "oui-text-
|
|
1550
|
+
/* @__PURE__ */ jsxRuntime.jsx(ProcessText, { className: "oui-text-end", children: t("vaults.withdraw.process.transferred") })
|
|
1551
1551
|
] })
|
|
1552
1552
|
] });
|
|
1553
1553
|
};
|
|
@@ -1581,7 +1581,7 @@ var init_latest_withdraw_ui = __esm({
|
|
|
1581
1581
|
"div",
|
|
1582
1582
|
{
|
|
1583
1583
|
className: orderlyUi.cn(
|
|
1584
|
-
"oui-
|
|
1584
|
+
"oui-me-1 oui-size-1 oui-rounded-full",
|
|
1585
1585
|
latestOperation.status === "completed" && "oui-bg-success",
|
|
1586
1586
|
latestOperation.status === "rejected" && "oui-bg-danger",
|
|
1587
1587
|
latestOperation.status === "failed" && "oui-bg-danger",
|
|
@@ -1597,7 +1597,7 @@ var init_latest_withdraw_ui = __esm({
|
|
|
1597
1597
|
children: latestOperation.status.slice(0, 1).toUpperCase() + latestOperation.status.slice(1)
|
|
1598
1598
|
}
|
|
1599
1599
|
),
|
|
1600
|
-
/* @__PURE__ */ jsxRuntime.jsx(orderlyUi.TokenIcon, { name: "USDC", className: "oui-
|
|
1600
|
+
/* @__PURE__ */ jsxRuntime.jsx(orderlyUi.TokenIcon, { name: "USDC", className: "oui-ms-auto oui-me-1 oui-size-4" }),
|
|
1601
1601
|
/* @__PURE__ */ jsxRuntime.jsx(orderlyUi.Text.numeral, { className: "oui-text-sm oui-font-semibold oui-text-base-contrast-80", children: latestOperation.amount_change || "-" })
|
|
1602
1602
|
] }) })
|
|
1603
1603
|
] });
|
|
@@ -1686,7 +1686,7 @@ var init_vault_withdraw_form_ui = __esm({
|
|
|
1686
1686
|
{
|
|
1687
1687
|
label: t("vaults.withdraw.estReceivingAmount"),
|
|
1688
1688
|
value: receivingAmount,
|
|
1689
|
-
suffix: /* @__PURE__ */ jsxRuntime.jsx("span", { className: "oui-
|
|
1689
|
+
suffix: /* @__PURE__ */ jsxRuntime.jsx("span", { className: "oui-ms-1 oui-text-base-contrast-36", children: "USDC" }),
|
|
1690
1690
|
className: "oui-mb-5"
|
|
1691
1691
|
}
|
|
1692
1692
|
),
|
|
@@ -1743,7 +1743,7 @@ var init_vault_withdraw_form_ui = __esm({
|
|
|
1743
1743
|
{
|
|
1744
1744
|
label: t("vaults.withdraw.dialog.withdrawalAmount"),
|
|
1745
1745
|
value: quantity,
|
|
1746
|
-
suffix: /* @__PURE__ */ jsxRuntime.jsx("span", { className: "oui-
|
|
1746
|
+
suffix: /* @__PURE__ */ jsxRuntime.jsx("span", { className: "oui-ms-1 oui-text-base-contrast-36", children: "Shares" })
|
|
1747
1747
|
}
|
|
1748
1748
|
),
|
|
1749
1749
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -1751,7 +1751,7 @@ var init_vault_withdraw_form_ui = __esm({
|
|
|
1751
1751
|
{
|
|
1752
1752
|
label: t("vaults.withdraw.dialog.estimatedReceiving"),
|
|
1753
1753
|
value: receivingAmount,
|
|
1754
|
-
suffix: /* @__PURE__ */ jsxRuntime.jsx("span", { className: "oui-
|
|
1754
|
+
suffix: /* @__PURE__ */ jsxRuntime.jsx("span", { className: "oui-ms-1 oui-text-base-contrast-36", children: "USDC" }),
|
|
1755
1755
|
className: "oui-mt-1"
|
|
1756
1756
|
}
|
|
1757
1757
|
),
|
|
@@ -2152,7 +2152,7 @@ var init_vaultCard_ui = __esm({
|
|
|
2152
2152
|
"div",
|
|
2153
2153
|
{
|
|
2154
2154
|
className: orderlyUi.cn(
|
|
2155
|
-
"oui-absolute oui-
|
|
2155
|
+
"oui-absolute oui-start-0 oui-top-0 oui-z-20 oui-size-full oui-p-6",
|
|
2156
2156
|
"oui-overflow-y-auto oui-custom-scrollbar"
|
|
2157
2157
|
),
|
|
2158
2158
|
children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "oui-flex oui-flex-col oui-gap-2", children: [
|
|
@@ -2315,7 +2315,7 @@ var init_vaultCard_ui = __esm({
|
|
|
2315
2315
|
className: "oui-text-base-contrast-80",
|
|
2316
2316
|
...textProps,
|
|
2317
2317
|
dp: 2,
|
|
2318
|
-
suffix: /* @__PURE__ */ jsxRuntime.jsx("span", { className: "oui-
|
|
2318
|
+
suffix: /* @__PURE__ */ jsxRuntime.jsx("span", { className: "oui-ms-1 oui-text-base-contrast-36", children: "USDC" }),
|
|
2319
2319
|
children: value
|
|
2320
2320
|
}
|
|
2321
2321
|
)
|
|
@@ -2430,7 +2430,7 @@ var init_vaults_list = __esm({
|
|
|
2430
2430
|
fill: "none",
|
|
2431
2431
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2432
2432
|
className: orderlyUi.cn(
|
|
2433
|
-
"oui-
|
|
2433
|
+
"oui-ms-1 oui-transition-colors",
|
|
2434
2434
|
isActive ? "oui-text-base-contrast" : "oui-text-base-contrast-36"
|
|
2435
2435
|
),
|
|
2436
2436
|
children: [
|