@kodiak-finance/orderly-trading 2.8.20 → 2.8.21-beta.3

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
@@ -3431,30 +3431,54 @@ var init_fundingRateModal_ui = __esm({
3431
3431
  return null;
3432
3432
  }
3433
3433
  return /* @__PURE__ */ jsxs(Flex, { justify: "between", itemAlign: "center", width: "100%", children: [
3434
- /* @__PURE__ */ jsx(Text, { intensity: 54, children: annualizedValue ? `${label}/ ${t("trading.fundingRate.annualized")}` : label }),
3435
- /* @__PURE__ */ jsxs(Flex, { itemAlign: "end", gap: 1, className: "oui-text-base-contrast-80", children: [
3436
- /* @__PURE__ */ jsx(Text, { intensity: 80, children: value }),
3437
- annualizedValue && " / ",
3438
- annualizedValue && annualizedValue
3439
- ] })
3434
+ /* @__PURE__ */ jsx(
3435
+ Text,
3436
+ {
3437
+ size: "xs",
3438
+ intensity: 54,
3439
+ className: "oui-whitespace-nowrap",
3440
+ children: annualizedValue ? `${label}/ ${t("trading.fundingRate.annualized")}` : label
3441
+ }
3442
+ ),
3443
+ /* @__PURE__ */ jsxs(
3444
+ Flex,
3445
+ {
3446
+ itemAlign: "end",
3447
+ gap: 1,
3448
+ className: "oui-text-base-contrast-80",
3449
+ children: [
3450
+ /* @__PURE__ */ jsx(Text, { size: "xs", intensity: 80, className: "oui-font-semibold", children: value }),
3451
+ annualizedValue && " / ",
3452
+ annualizedValue && /* @__PURE__ */ jsx(Text, { size: "xs", intensity: 80, className: "oui-font-semibold", children: annualizedValue })
3453
+ ]
3454
+ }
3455
+ )
3440
3456
  ] });
3441
3457
  };
3442
3458
  return /* @__PURE__ */ jsxs(Flex, { width: "100%", itemAlign: "center", direction: "column", gap: 1, children: [
3443
3459
  /* @__PURE__ */ jsxs(Flex, { justify: "between", itemAlign: "center", width: "100%", children: [
3444
- /* @__PURE__ */ jsx(Text, { intensity: 54, children: t("trading.fundingRate.predFundingRate.interval") }),
3445
- /* @__PURE__ */ jsx(Text, { intensity: 80, children: fundingPeriod })
3460
+ /* @__PURE__ */ jsx(Text, { size: "xs", intensity: 54, className: "oui-flex-shrink-0", children: t("trading.fundingRate.predFundingRate.interval") }),
3461
+ /* @__PURE__ */ jsx(Text, { size: "xs", intensity: 80, className: "oui-flex-shrink-0", children: fundingPeriod })
3446
3462
  ] }),
3447
3463
  /* @__PURE__ */ jsxs(Flex, { justify: "between", itemAlign: "center", width: "100%", children: [
3448
- /* @__PURE__ */ jsxs(Text, { intensity: 54, children: [
3464
+ /* @__PURE__ */ jsxs(Text, { size: "xs", intensity: 54, className: "oui-flex-shrink-0", children: [
3449
3465
  t("trading.fundingRate.predFundingRate.cap"),
3450
3466
  " /",
3451
3467
  t("trading.fundingRate.predFundingRate.floor")
3452
3468
  ] }),
3453
- /* @__PURE__ */ jsxs(Text, { intensity: 80, children: [
3454
- capFunding,
3455
- " / ",
3456
- floorFunding
3457
- ] })
3469
+ /* @__PURE__ */ jsxs(
3470
+ Text,
3471
+ {
3472
+ size: "xs",
3473
+ intensity: 80,
3474
+ className: "oui-flex-shrink-0 oui-font-semibold oui-whitespace-nowrap",
3475
+ children: [
3476
+ capFunding,
3477
+ " / ",
3478
+ floorFunding
3479
+ ]
3480
+ }
3481
+ )
3458
3482
  ] }),
3459
3483
  renderRow(
3460
3484
  t("trading.fundingRate.lastFundingRate"),
@@ -3468,7 +3492,7 @@ var init_fundingRateModal_ui = __esm({
3468
3492
  ),
3469
3493
  renderRow(t("trading.fundingRate.estimatedFundingFee"), estFundingFee),
3470
3494
  /* @__PURE__ */ jsx(Divider, { my: 4, className: "oui-w-full", intensity: 8 }),
3471
- t("markets.symbolInfoBar.predFundingRate.tooltip")
3495
+ /* @__PURE__ */ jsx(Text, { intensity: 54, children: t("markets.symbolInfoBar.predFundingRate.tooltip") })
3472
3496
  ] });
3473
3497
  };
3474
3498
  }
@@ -5236,7 +5260,8 @@ var init_tradingview_ui = __esm({
5236
5260
  mode: 3,
5237
5261
  scriptSRC: props.tradingViewConfig?.scriptSRC,
5238
5262
  customCssUrl: props.tradingViewConfig?.customCssUrl,
5239
- ...props.tradingViewConfig
5263
+ ...props.tradingViewConfig,
5264
+ showVolumeInSamePane: true
5240
5265
  }
5241
5266
  ) }),
5242
5267
  /* @__PURE__ */ jsx("div", { className: "oui-relative oui-w-full", children: /* @__PURE__ */ jsx(
@@ -5604,7 +5629,13 @@ var init_orderBookAndEntry_ui = __esm({
5604
5629
  ) })
5605
5630
  }
5606
5631
  ),
5607
- /* @__PURE__ */ jsx("div", { className: "oui-rounded-xl oui-bg-base-9 oui-p-2", children: /* @__PURE__ */ jsx(OrderEntryWidget, { symbol: props.symbol, containerRef: divRef }) })
5632
+ /* @__PURE__ */ jsx("div", { className: "oui-rounded-xl oui-bg-base-9 oui-p-2", children: /* @__PURE__ */ jsx(
5633
+ OrderEntryWidget,
5634
+ {
5635
+ symbol: props.symbol,
5636
+ containerRef: divRef
5637
+ }
5638
+ ) })
5608
5639
  ]
5609
5640
  }
5610
5641
  );