@orderly.network/trading 2.6.0-alpha.0 → 2.6.1-alpha.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 +7 -5
- package/dist/index.d.ts +7 -5
- package/dist/index.js +6 -6
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +20 -20
package/dist/index.d.mts
CHANGED
|
@@ -419,6 +419,8 @@ declare const FundingRateModalWidget: react__default.FC<{
|
|
|
419
419
|
declare const FundingRateDialogId = "FundingRateDialogId";
|
|
420
420
|
declare const FundingRateSheetId = "FundingRateSheetId";
|
|
421
421
|
|
|
422
|
+
type LayoutPosition = "left" | "right";
|
|
423
|
+
|
|
422
424
|
type TradingState = ReturnType<typeof useTradingScript>;
|
|
423
425
|
declare const useTradingScript: () => TradingPageState & {
|
|
424
426
|
marketsWidth: number;
|
|
@@ -463,13 +465,13 @@ declare const useTradingScript: () => TradingPageState & {
|
|
|
463
465
|
positions: number[];
|
|
464
466
|
showPositionIcon: boolean;
|
|
465
467
|
updatePositions: (currentIdx: number, targetIdx: number) => void;
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
468
|
+
resizeable: boolean;
|
|
469
|
+
panelSize: "middle" | "small" | "large";
|
|
470
|
+
onPanelSizeChange: (collapsed: "small" | "middle" | "large") => void;
|
|
469
471
|
animating: boolean;
|
|
470
472
|
setAnimating: react.Dispatch<react.SetStateAction<boolean>>;
|
|
471
473
|
layout: any;
|
|
472
|
-
onLayout: (value:
|
|
474
|
+
onLayout: (value: LayoutPosition) => void;
|
|
473
475
|
max2XL: boolean;
|
|
474
476
|
min3XL: boolean;
|
|
475
477
|
max4XL: boolean;
|
|
@@ -481,7 +483,7 @@ declare const useTradingScript: () => TradingPageState & {
|
|
|
481
483
|
|
|
482
484
|
declare const Trading: FC<TradingState>;
|
|
483
485
|
|
|
484
|
-
declare const TradingWidget:
|
|
486
|
+
declare const TradingWidget: react__default.FC;
|
|
485
487
|
|
|
486
488
|
declare const TradingPage: (props: TradingPageProps) => react_jsx_runtime.JSX.Element;
|
|
487
489
|
|
package/dist/index.d.ts
CHANGED
|
@@ -419,6 +419,8 @@ declare const FundingRateModalWidget: react__default.FC<{
|
|
|
419
419
|
declare const FundingRateDialogId = "FundingRateDialogId";
|
|
420
420
|
declare const FundingRateSheetId = "FundingRateSheetId";
|
|
421
421
|
|
|
422
|
+
type LayoutPosition = "left" | "right";
|
|
423
|
+
|
|
422
424
|
type TradingState = ReturnType<typeof useTradingScript>;
|
|
423
425
|
declare const useTradingScript: () => TradingPageState & {
|
|
424
426
|
marketsWidth: number;
|
|
@@ -463,13 +465,13 @@ declare const useTradingScript: () => TradingPageState & {
|
|
|
463
465
|
positions: number[];
|
|
464
466
|
showPositionIcon: boolean;
|
|
465
467
|
updatePositions: (currentIdx: number, targetIdx: number) => void;
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
468
|
+
resizeable: boolean;
|
|
469
|
+
panelSize: "middle" | "small" | "large";
|
|
470
|
+
onPanelSizeChange: (collapsed: "small" | "middle" | "large") => void;
|
|
469
471
|
animating: boolean;
|
|
470
472
|
setAnimating: react.Dispatch<react.SetStateAction<boolean>>;
|
|
471
473
|
layout: any;
|
|
472
|
-
onLayout: (value:
|
|
474
|
+
onLayout: (value: LayoutPosition) => void;
|
|
473
475
|
max2XL: boolean;
|
|
474
476
|
min3XL: boolean;
|
|
475
477
|
max4XL: boolean;
|
|
@@ -481,7 +483,7 @@ declare const useTradingScript: () => TradingPageState & {
|
|
|
481
483
|
|
|
482
484
|
declare const Trading: FC<TradingState>;
|
|
483
485
|
|
|
484
|
-
declare const TradingWidget:
|
|
486
|
+
declare const TradingWidget: react__default.FC;
|
|
485
487
|
|
|
486
488
|
declare const TradingPage: (props: TradingPageProps) => react_jsx_runtime.JSX.Element;
|
|
487
489
|
|