@orderly.network/trading 2.6.3 → 2.7.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.d.mts +5 -2
- package/dist/index.d.ts +5 -2
- package/dist/index.js +18 -18
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +5 -5
- package/dist/index.mjs.map +1 -1
- package/package.json +20 -20
package/dist/index.d.mts
CHANGED
|
@@ -8,8 +8,8 @@ import { TradingviewWidgetPropsInterface } from '@orderly.network/ui-tradingview
|
|
|
8
8
|
import { PositionsProps } from '@orderly.network/ui-positions';
|
|
9
9
|
import * as _orderly_network_hooks from '@orderly.network/hooks';
|
|
10
10
|
import Split, { SplitProps } from '@uiw/react-split';
|
|
11
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
12
11
|
import { SliderMarks } from '@orderly.network/ui';
|
|
12
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
13
13
|
|
|
14
14
|
type layoutInfo = {
|
|
15
15
|
width?: number;
|
|
@@ -336,7 +336,7 @@ type BottomNavBarState = ReturnType<typeof useBottomNavBarScript>;
|
|
|
336
336
|
|
|
337
337
|
declare const BottomNavBar: FC<BottomNavBarState>;
|
|
338
338
|
|
|
339
|
-
declare const BottomNavBarWidget:
|
|
339
|
+
declare const BottomNavBarWidget: React__default.FC;
|
|
340
340
|
|
|
341
341
|
declare const usePortfolioSheetScript: () => {
|
|
342
342
|
onSettlePnL: () => Promise<any>;
|
|
@@ -423,6 +423,7 @@ declare const FundingRateSheetId = "FundingRateSheetId";
|
|
|
423
423
|
type LayoutPosition = "left" | "right";
|
|
424
424
|
|
|
425
425
|
type TradingState = ReturnType<typeof useTradingScript>;
|
|
426
|
+
type MarketLayoutPosition = "left" | "top" | "bottom" | "hide";
|
|
426
427
|
declare const useTradingScript: () => TradingPageState & {
|
|
427
428
|
marketsWidth: number;
|
|
428
429
|
tradindviewMaxHeight: number;
|
|
@@ -473,6 +474,8 @@ declare const useTradingScript: () => TradingPageState & {
|
|
|
473
474
|
setAnimating: React$1.Dispatch<React$1.SetStateAction<boolean>>;
|
|
474
475
|
layout: any;
|
|
475
476
|
onLayout: (value: LayoutPosition) => void;
|
|
477
|
+
marketLayout: any;
|
|
478
|
+
onMarketLayout: (value: MarketLayoutPosition) => void;
|
|
476
479
|
max2XL: boolean;
|
|
477
480
|
min3XL: boolean;
|
|
478
481
|
max4XL: boolean;
|
package/dist/index.d.ts
CHANGED
|
@@ -8,8 +8,8 @@ import { TradingviewWidgetPropsInterface } from '@orderly.network/ui-tradingview
|
|
|
8
8
|
import { PositionsProps } from '@orderly.network/ui-positions';
|
|
9
9
|
import * as _orderly_network_hooks from '@orderly.network/hooks';
|
|
10
10
|
import Split, { SplitProps } from '@uiw/react-split';
|
|
11
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
12
11
|
import { SliderMarks } from '@orderly.network/ui';
|
|
12
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
13
13
|
|
|
14
14
|
type layoutInfo = {
|
|
15
15
|
width?: number;
|
|
@@ -336,7 +336,7 @@ type BottomNavBarState = ReturnType<typeof useBottomNavBarScript>;
|
|
|
336
336
|
|
|
337
337
|
declare const BottomNavBar: FC<BottomNavBarState>;
|
|
338
338
|
|
|
339
|
-
declare const BottomNavBarWidget:
|
|
339
|
+
declare const BottomNavBarWidget: React__default.FC;
|
|
340
340
|
|
|
341
341
|
declare const usePortfolioSheetScript: () => {
|
|
342
342
|
onSettlePnL: () => Promise<any>;
|
|
@@ -423,6 +423,7 @@ declare const FundingRateSheetId = "FundingRateSheetId";
|
|
|
423
423
|
type LayoutPosition = "left" | "right";
|
|
424
424
|
|
|
425
425
|
type TradingState = ReturnType<typeof useTradingScript>;
|
|
426
|
+
type MarketLayoutPosition = "left" | "top" | "bottom" | "hide";
|
|
426
427
|
declare const useTradingScript: () => TradingPageState & {
|
|
427
428
|
marketsWidth: number;
|
|
428
429
|
tradindviewMaxHeight: number;
|
|
@@ -473,6 +474,8 @@ declare const useTradingScript: () => TradingPageState & {
|
|
|
473
474
|
setAnimating: React$1.Dispatch<React$1.SetStateAction<boolean>>;
|
|
474
475
|
layout: any;
|
|
475
476
|
onLayout: (value: LayoutPosition) => void;
|
|
477
|
+
marketLayout: any;
|
|
478
|
+
onMarketLayout: (value: MarketLayoutPosition) => void;
|
|
476
479
|
max2XL: boolean;
|
|
477
480
|
min3XL: boolean;
|
|
478
481
|
max4XL: boolean;
|