@kodiak-finance/orderly-markets 2.8.21-rc.2 → 2.8.21
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 +31 -14
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +31 -14
- package/dist/index.mjs.map +1 -1
- package/dist/styles.css +1 -1
- package/package.json +8 -8
package/dist/index.js
CHANGED
|
@@ -4366,7 +4366,7 @@ var init_dataItem_ui = __esm({
|
|
|
4366
4366
|
{
|
|
4367
4367
|
open: hint ? void 0 : false,
|
|
4368
4368
|
content: hint,
|
|
4369
|
-
className: "oui-max-w-[
|
|
4369
|
+
className: "oui-max-w-[420px] oui-bg-base-6 ",
|
|
4370
4370
|
arrow: { className: "oui-fill-base-6" },
|
|
4371
4371
|
delayDuration: 300,
|
|
4372
4372
|
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -5750,23 +5750,40 @@ var FundingRateHint = (props) => {
|
|
|
5750
5750
|
return null;
|
|
5751
5751
|
}
|
|
5752
5752
|
return /* @__PURE__ */ jsxRuntime.jsxs(orderlyUi.Flex, { justify: "between", itemAlign: "center", width: "100%", children: [
|
|
5753
|
-
/* @__PURE__ */ jsxRuntime.jsx(orderlyUi.Text, { intensity: 54, children: annualizedValue ? `${label}/ ${t("trading.fundingRate.annualized")}` : label }),
|
|
5753
|
+
/* @__PURE__ */ jsxRuntime.jsx(orderlyUi.Text, { size: "xs", intensity: 54, className: "oui-whitespace-nowrap", children: annualizedValue ? `${label}/ ${t("trading.fundingRate.annualized")}` : label }),
|
|
5754
5754
|
/* @__PURE__ */ jsxRuntime.jsxs(orderlyUi.Flex, { itemAlign: "end", gap: 1, className: "oui-text-base-contrast-80", children: [
|
|
5755
|
-
/* @__PURE__ */ jsxRuntime.jsx(orderlyUi.Text, { intensity: 80, children: value }),
|
|
5755
|
+
/* @__PURE__ */ jsxRuntime.jsx(orderlyUi.Text, { size: "xs", intensity: 80, className: "oui-font-semibold", children: value }),
|
|
5756
5756
|
annualizedValue && " / ",
|
|
5757
|
-
annualizedValue && annualizedValue
|
|
5757
|
+
annualizedValue && /* @__PURE__ */ jsxRuntime.jsx(orderlyUi.Text, { size: "xs", intensity: 80, className: "oui-font-semibold", children: annualizedValue })
|
|
5758
5758
|
] })
|
|
5759
5759
|
] });
|
|
5760
5760
|
};
|
|
5761
5761
|
return /* @__PURE__ */ jsxRuntime.jsxs(orderlyUi.Flex, { width: "100%", itemAlign: "center", direction: "column", gap: 1, children: [
|
|
5762
|
-
|
|
5763
|
-
t("trading.fundingRate.predFundingRate.interval"),
|
|
5764
|
-
fundingPeriod
|
|
5765
|
-
),
|
|
5766
|
-
|
|
5767
|
-
|
|
5768
|
-
|
|
5769
|
-
|
|
5762
|
+
/* @__PURE__ */ jsxRuntime.jsxs(orderlyUi.Flex, { justify: "between", itemAlign: "center", width: "100%", children: [
|
|
5763
|
+
/* @__PURE__ */ jsxRuntime.jsx(orderlyUi.Text, { size: "xs", intensity: 54, className: "oui-flex-shrink-0", children: t("trading.fundingRate.predFundingRate.interval") }),
|
|
5764
|
+
/* @__PURE__ */ jsxRuntime.jsx(orderlyUi.Text, { size: "xs", intensity: 80, className: "oui-flex-shrink-0", children: fundingPeriod })
|
|
5765
|
+
] }),
|
|
5766
|
+
/* @__PURE__ */ jsxRuntime.jsxs(orderlyUi.Flex, { justify: "between", itemAlign: "center", width: "100%", children: [
|
|
5767
|
+
/* @__PURE__ */ jsxRuntime.jsxs(orderlyUi.Text, { size: "xs", intensity: 54, className: "oui-flex-shrink-0", children: [
|
|
5768
|
+
t("trading.fundingRate.predFundingRate.cap"),
|
|
5769
|
+
" /",
|
|
5770
|
+
" ",
|
|
5771
|
+
t("trading.fundingRate.predFundingRate.floor")
|
|
5772
|
+
] }),
|
|
5773
|
+
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
5774
|
+
orderlyUi.Text,
|
|
5775
|
+
{
|
|
5776
|
+
size: "xs",
|
|
5777
|
+
intensity: 80,
|
|
5778
|
+
className: "oui-flex-shrink-0 oui-font-semibold oui-whitespace-nowrap",
|
|
5779
|
+
children: [
|
|
5780
|
+
capFunding,
|
|
5781
|
+
" / ",
|
|
5782
|
+
floorFunding
|
|
5783
|
+
]
|
|
5784
|
+
}
|
|
5785
|
+
)
|
|
5786
|
+
] }),
|
|
5770
5787
|
renderRow(
|
|
5771
5788
|
t("trading.fundingRate.lastFundingRate"),
|
|
5772
5789
|
lastFundingRate,
|
|
@@ -5778,8 +5795,8 @@ var FundingRateHint = (props) => {
|
|
|
5778
5795
|
estFundingRateAnnualized
|
|
5779
5796
|
),
|
|
5780
5797
|
renderRow(t("trading.fundingRate.estimatedFundingFee"), estFundingFee),
|
|
5781
|
-
/* @__PURE__ */ jsxRuntime.jsx(orderlyUi.Divider, { className: "oui-w-full", intensity: 8 }),
|
|
5782
|
-
t("markets.symbolInfoBar.predFundingRate.tooltip")
|
|
5798
|
+
/* @__PURE__ */ jsxRuntime.jsx(orderlyUi.Divider, { my: 4, className: "oui-w-full", intensity: 8 }),
|
|
5799
|
+
/* @__PURE__ */ jsxRuntime.jsx(orderlyUi.Text, { intensity: 54, children: t("markets.symbolInfoBar.predFundingRate.tooltip") })
|
|
5783
5800
|
] });
|
|
5784
5801
|
};
|
|
5785
5802
|
var useFundingRateHintScript = (symbol) => {
|