@kodiak-finance/orderly-markets 2.8.21-rc.1 → 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.mjs CHANGED
@@ -4360,7 +4360,7 @@ var init_dataItem_ui = __esm({
4360
4360
  {
4361
4361
  open: hint ? void 0 : false,
4362
4362
  content: hint,
4363
- className: "oui-max-w-[330px] oui-bg-base-6 ",
4363
+ className: "oui-max-w-[420px] oui-bg-base-6 ",
4364
4364
  arrow: { className: "oui-fill-base-6" },
4365
4365
  delayDuration: 300,
4366
4366
  children: /* @__PURE__ */ jsx(
@@ -5744,23 +5744,40 @@ var FundingRateHint = (props) => {
5744
5744
  return null;
5745
5745
  }
5746
5746
  return /* @__PURE__ */ jsxs(Flex, { justify: "between", itemAlign: "center", width: "100%", children: [
5747
- /* @__PURE__ */ jsx(Text, { intensity: 54, children: annualizedValue ? `${label}/ ${t("trading.fundingRate.annualized")}` : label }),
5747
+ /* @__PURE__ */ jsx(Text, { size: "xs", intensity: 54, className: "oui-whitespace-nowrap", children: annualizedValue ? `${label}/ ${t("trading.fundingRate.annualized")}` : label }),
5748
5748
  /* @__PURE__ */ jsxs(Flex, { itemAlign: "end", gap: 1, className: "oui-text-base-contrast-80", children: [
5749
- /* @__PURE__ */ jsx(Text, { intensity: 80, children: value }),
5749
+ /* @__PURE__ */ jsx(Text, { size: "xs", intensity: 80, className: "oui-font-semibold", children: value }),
5750
5750
  annualizedValue && " / ",
5751
- annualizedValue && annualizedValue
5751
+ annualizedValue && /* @__PURE__ */ jsx(Text, { size: "xs", intensity: 80, className: "oui-font-semibold", children: annualizedValue })
5752
5752
  ] })
5753
5753
  ] });
5754
5754
  };
5755
5755
  return /* @__PURE__ */ jsxs(Flex, { width: "100%", itemAlign: "center", direction: "column", gap: 1, children: [
5756
- renderRow(
5757
- t("trading.fundingRate.predFundingRate.interval"),
5758
- fundingPeriod
5759
- ),
5760
- renderRow(
5761
- t("trading.fundingRate.predFundingRate.cap") + " / " + t("trading.fundingRate.predFundingRate.floor"),
5762
- capFunding + " / " + floorFunding
5763
- ),
5756
+ /* @__PURE__ */ jsxs(Flex, { justify: "between", itemAlign: "center", width: "100%", children: [
5757
+ /* @__PURE__ */ jsx(Text, { size: "xs", intensity: 54, className: "oui-flex-shrink-0", children: t("trading.fundingRate.predFundingRate.interval") }),
5758
+ /* @__PURE__ */ jsx(Text, { size: "xs", intensity: 80, className: "oui-flex-shrink-0", children: fundingPeriod })
5759
+ ] }),
5760
+ /* @__PURE__ */ jsxs(Flex, { justify: "between", itemAlign: "center", width: "100%", children: [
5761
+ /* @__PURE__ */ jsxs(Text, { size: "xs", intensity: 54, className: "oui-flex-shrink-0", children: [
5762
+ t("trading.fundingRate.predFundingRate.cap"),
5763
+ " /",
5764
+ " ",
5765
+ t("trading.fundingRate.predFundingRate.floor")
5766
+ ] }),
5767
+ /* @__PURE__ */ jsxs(
5768
+ Text,
5769
+ {
5770
+ size: "xs",
5771
+ intensity: 80,
5772
+ className: "oui-flex-shrink-0 oui-font-semibold oui-whitespace-nowrap",
5773
+ children: [
5774
+ capFunding,
5775
+ " / ",
5776
+ floorFunding
5777
+ ]
5778
+ }
5779
+ )
5780
+ ] }),
5764
5781
  renderRow(
5765
5782
  t("trading.fundingRate.lastFundingRate"),
5766
5783
  lastFundingRate,
@@ -5772,8 +5789,8 @@ var FundingRateHint = (props) => {
5772
5789
  estFundingRateAnnualized
5773
5790
  ),
5774
5791
  renderRow(t("trading.fundingRate.estimatedFundingFee"), estFundingFee),
5775
- /* @__PURE__ */ jsx(Divider, { className: "oui-w-full", intensity: 8 }),
5776
- t("markets.symbolInfoBar.predFundingRate.tooltip")
5792
+ /* @__PURE__ */ jsx(Divider, { my: 4, className: "oui-w-full", intensity: 8 }),
5793
+ /* @__PURE__ */ jsx(Text, { intensity: 54, children: t("markets.symbolInfoBar.predFundingRate.tooltip") })
5777
5794
  ] });
5778
5795
  };
5779
5796
  var useFundingRateHintScript = (symbol) => {