@ssa-ui-kit/widgets 2.19.1 → 2.20.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.ts +0 -1
- package/dist/index.js +0 -77
- package/dist/index.js.map +1 -1
- package/package.json +4 -4
- package/dist/components/BotsTable/BotsTable.d.ts +0 -2
- package/dist/components/BotsTable/BotsTableCell.d.ts +0 -8
- package/dist/components/BotsTable/BotsTableHead.d.ts +0 -6
- package/dist/components/BotsTable/BotsTableRow.d.ts +0 -8
- package/dist/components/BotsTable/BotsTableWrapper.d.ts +0 -6
- package/dist/components/BotsTable/index.d.ts +0 -5
- package/dist/components/BotsTable/stories/BotsTable/StoryComponent.d.ts +0 -1
- package/dist/components/BotsTable/stories/BotsTable/components/Actions/ActionIcon.d.ts +0 -4
- package/dist/components/BotsTable/stories/BotsTable/components/Actions/ActionItem.d.ts +0 -2
- package/dist/components/BotsTable/stories/BotsTable/components/Actions/ActionMore.d.ts +0 -4
- package/dist/components/BotsTable/stories/BotsTable/components/Actions/ActionRun.d.ts +0 -4
- package/dist/components/BotsTable/stories/BotsTable/components/Actions/Actions.d.ts +0 -4
- package/dist/components/BotsTable/stories/BotsTable/components/Actions/ActionsWrapper.d.ts +0 -2
- package/dist/components/BotsTable/stories/BotsTable/components/Actions/consts.d.ts +0 -5
- package/dist/components/BotsTable/stories/BotsTable/components/Actions/index.d.ts +0 -6
- package/dist/components/BotsTable/stories/BotsTable/components/Exchange/Exchange.d.ts +0 -2
- package/dist/components/BotsTable/stories/BotsTable/components/Exchange/consts.d.ts +0 -15
- package/dist/components/BotsTable/stories/BotsTable/components/Exchange/index.d.ts +0 -1
- package/dist/components/BotsTable/stories/BotsTable/components/Exchange/types.d.ts +0 -5
- package/dist/components/BotsTable/stories/BotsTable/components/PNL.d.ts +0 -2
- package/dist/components/BotsTable/stories/BotsTable/components/ROI.d.ts +0 -2
- package/dist/components/BotsTable/stories/BotsTable/components/TableTag.d.ts +0 -4
- package/dist/components/BotsTable/stories/BotsTable/components/Trade/Trade.d.ts +0 -2
- package/dist/components/BotsTable/stories/BotsTable/components/Trade/consts.d.ts +0 -14
- package/dist/components/BotsTable/stories/BotsTable/components/Trade/index.d.ts +0 -1
- package/dist/components/BotsTable/stories/BotsTable/components/Trade/types.d.ts +0 -4
- package/dist/components/BotsTable/stories/BotsTable/components/index.d.ts +0 -6
- package/dist/components/BotsTable/stories/BotsTable/index.d.ts +0 -1
- package/dist/components/BotsTable/stories/BotsTable/mockData.d.ts +0 -2
- package/dist/components/BotsTable/stories/NoControlOrders/StoryComponent.d.ts +0 -1
- package/dist/components/BotsTable/stories/NoControlOrders/components/ActionMore.d.ts +0 -4
- package/dist/components/BotsTable/stories/NoControlOrders/components/Reason.d.ts +0 -3
- package/dist/components/BotsTable/stories/NoControlOrders/components/TableList.d.ts +0 -2
- package/dist/components/BotsTable/stories/NoControlOrders/components/TableRow.d.ts +0 -2
- package/dist/components/BotsTable/stories/NoControlOrders/components/index.d.ts +0 -4
- package/dist/components/BotsTable/stories/NoControlOrders/mockData.d.ts +0 -14
- package/dist/components/BotsTable/stories/NoControlOrders/types.d.ts +0 -15
- package/dist/components/BotsTable/types.d.ts +0 -27
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ssa-ui-kit/widgets",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.20.0",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"private": false,
|
|
@@ -26,9 +26,9 @@
|
|
|
26
26
|
"@floating-ui/react": "0.27.4",
|
|
27
27
|
"dotenv": "^16.0.3",
|
|
28
28
|
"loose-envify": "^1.4.0",
|
|
29
|
-
"@ssa-ui-kit/core": "^2.
|
|
30
|
-
"@ssa-ui-kit/hooks": "^2.
|
|
31
|
-
"@ssa-ui-kit/utils": "^2.
|
|
29
|
+
"@ssa-ui-kit/core": "^2.20.0",
|
|
30
|
+
"@ssa-ui-kit/hooks": "^2.20.0",
|
|
31
|
+
"@ssa-ui-kit/utils": "^2.20.0"
|
|
32
32
|
},
|
|
33
33
|
"browserslist": [
|
|
34
34
|
">0.1%",
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export declare const BotsTableCell: import("@emotion/styled").StyledComponent<{
|
|
2
|
-
theme?: import("@emotion/react").Theme;
|
|
3
|
-
as?: React.ElementType;
|
|
4
|
-
} & {
|
|
5
|
-
align?: string;
|
|
6
|
-
} & import("@ssa-ui-kit/core").CommonProps & import("react").ClassAttributes<HTMLTableDataCellElement> & import("react").TdHTMLAttributes<HTMLTableDataCellElement> & {
|
|
7
|
-
theme?: import("@emotion/react").Theme;
|
|
8
|
-
}, {}, {}>;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
export declare const BotsTableHead: import("@emotion/styled").StyledComponent<{
|
|
2
|
-
theme?: import("@emotion/react").Theme;
|
|
3
|
-
as?: React.ElementType;
|
|
4
|
-
} & import("@ssa-ui-kit/core").CommonProps & import("react").ClassAttributes<HTMLTableSectionElement> & import("react").HTMLAttributes<HTMLTableSectionElement> & {
|
|
5
|
-
theme?: import("@emotion/react").Theme;
|
|
6
|
-
}, {}, {}>;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export declare const BotsTableRow: import("@emotion/styled").StyledComponent<{
|
|
2
|
-
theme?: import("@emotion/react").Theme;
|
|
3
|
-
as?: React.ElementType;
|
|
4
|
-
} & import("@ssa-ui-kit/core").CommonProps & import("react").ClassAttributes<HTMLTableRowElement> & import("react").HTMLAttributes<HTMLTableRowElement> & {
|
|
5
|
-
theme?: import("@emotion/react").Theme;
|
|
6
|
-
} & {
|
|
7
|
-
isDisabled?: boolean;
|
|
8
|
-
}, {}, {}>;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
export declare const BotsTableWrapper: import("@emotion/styled").StyledComponent<{
|
|
2
|
-
theme?: import("@emotion/react").Theme;
|
|
3
|
-
as?: React.ElementType;
|
|
4
|
-
} & import("@ssa-ui-kit/core").CommonProps & import("react").ClassAttributes<HTMLTableElement> & import("react").TableHTMLAttributes<HTMLTableElement> & {
|
|
5
|
-
theme?: import("@emotion/react").Theme;
|
|
6
|
-
}, {}, {}>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const BotsTableStory: () => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
export declare const exchangeIcons: {
|
|
2
|
-
binance: {
|
|
3
|
-
icon: () => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
4
|
-
title: string;
|
|
5
|
-
};
|
|
6
|
-
kraken: {
|
|
7
|
-
icon: () => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
8
|
-
title: string;
|
|
9
|
-
};
|
|
10
|
-
bittrex: {
|
|
11
|
-
icon: () => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
12
|
-
title: string;
|
|
13
|
-
};
|
|
14
|
-
};
|
|
15
|
-
export type ExchangeIconsType = typeof exchangeIcons;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { Exchange } from './Exchange';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { Trade } from './Trade';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './components';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const NoControlOrdersStory: () => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
export declare const noControlOrdersData: {
|
|
2
|
-
id: number;
|
|
3
|
-
exchange: import("../BotsTable/components/Exchange/types").ExchangeType;
|
|
4
|
-
account: string;
|
|
5
|
-
botName: string;
|
|
6
|
-
botRun: string;
|
|
7
|
-
orderId: string;
|
|
8
|
-
status: boolean;
|
|
9
|
-
reason: string;
|
|
10
|
-
pair: string;
|
|
11
|
-
orderSize: string;
|
|
12
|
-
orderType: "SELL";
|
|
13
|
-
isDisabled: boolean;
|
|
14
|
-
}[];
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { ExchangeType } from '../BotsTable/components/Exchange/types';
|
|
2
|
-
export interface NoControlOrdersItem {
|
|
3
|
-
id: number;
|
|
4
|
-
exchange: ExchangeType;
|
|
5
|
-
account: string;
|
|
6
|
-
botName: string;
|
|
7
|
-
botRun: string;
|
|
8
|
-
orderId: string;
|
|
9
|
-
status: boolean;
|
|
10
|
-
reason: string;
|
|
11
|
-
pair: string;
|
|
12
|
-
orderSize: string;
|
|
13
|
-
orderType: 'SELL';
|
|
14
|
-
isDisabled: boolean;
|
|
15
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { ExchangeType } from './stories/BotsTable/components/Exchange/types';
|
|
2
|
-
import { TradeType } from './stories/BotsTable/components/Trade/types';
|
|
3
|
-
export interface PNL {
|
|
4
|
-
amount: number;
|
|
5
|
-
currency: string;
|
|
6
|
-
isIncreasing: boolean;
|
|
7
|
-
}
|
|
8
|
-
export interface ROI {
|
|
9
|
-
amount: number;
|
|
10
|
-
isIncreasing: boolean;
|
|
11
|
-
}
|
|
12
|
-
export interface BotsTableItem {
|
|
13
|
-
id: number;
|
|
14
|
-
name: string;
|
|
15
|
-
creationDate: string;
|
|
16
|
-
exchange: ExchangeType;
|
|
17
|
-
status: TradeType;
|
|
18
|
-
pair: string;
|
|
19
|
-
pnl: PNL;
|
|
20
|
-
roi: ROI;
|
|
21
|
-
isDisabled: boolean;
|
|
22
|
-
}
|
|
23
|
-
export interface BotsTableProps {
|
|
24
|
-
children: React.ReactElement<React.PropsWithChildren<BotsTableItem>>[];
|
|
25
|
-
columns: string[];
|
|
26
|
-
className?: string;
|
|
27
|
-
}
|