@ssa-ui-kit/templates 2.29.0 → 2.31.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.js +31 -183
- package/dist/index.js.map +1 -1
- package/dist/projects/fintech/components/MarginInfo/MarginInfo.d.ts +3 -3
- package/dist/projects/fintech/components/MarginInfo/index.d.ts +0 -1
- package/package.json +5 -5
- package/dist/projects/fintech/components/MarginInfo/styles.d.ts +0 -60
- package/dist/projects/fintech/components/MarginInfo/types.d.ts +0 -17
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { MarginInfoProps } from '
|
|
2
|
-
export declare const
|
|
3
|
-
export declare const MarginInfoWithLoader: ({ isFetching, ...props }: MarginInfoProps & {
|
|
1
|
+
import { MarginInfoProps } from '@ssa-ui-kit/widgets';
|
|
2
|
+
export declare const MarginInfoWithLoader: ({ isFetching, multiplier, ...props }: MarginInfoProps & {
|
|
4
3
|
isFetching: boolean;
|
|
4
|
+
multiplier?: number;
|
|
5
5
|
}) => import("@emotion/react/jsx-runtime").JSX.Element;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ssa-ui-kit/templates",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.31.0",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"private": false,
|
|
@@ -33,10 +33,10 @@
|
|
|
33
33
|
"react-plotly.js": "^2.6.0",
|
|
34
34
|
"react-toastify": "^11.0.3",
|
|
35
35
|
"usehooks-ts": "^3.1.0",
|
|
36
|
-
"@ssa-ui-kit/core": "^2.
|
|
37
|
-
"@ssa-ui-kit/hooks": "^2.
|
|
38
|
-
"@ssa-ui-kit/utils": "^2.
|
|
39
|
-
"@ssa-ui-kit/widgets": "^2.
|
|
36
|
+
"@ssa-ui-kit/core": "^2.31.0",
|
|
37
|
+
"@ssa-ui-kit/hooks": "^2.31.0",
|
|
38
|
+
"@ssa-ui-kit/utils": "^2.31.0",
|
|
39
|
+
"@ssa-ui-kit/widgets": "^2.31.0"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
42
|
"@emotion/css": "^11.13.5",
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
import { Theme } from '@emotion/react';
|
|
2
|
-
export declare const Table: import("@emotion/styled").StyledComponent<{
|
|
3
|
-
theme?: Theme;
|
|
4
|
-
as?: React.ElementType;
|
|
5
|
-
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
6
|
-
export declare const TableHeader: import("@emotion/styled").StyledComponent<{
|
|
7
|
-
theme?: Theme;
|
|
8
|
-
as?: React.ElementType;
|
|
9
|
-
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
10
|
-
export declare const HeaderRow: import("@emotion/styled").StyledComponent<{
|
|
11
|
-
theme?: Theme;
|
|
12
|
-
as?: React.ElementType;
|
|
13
|
-
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
14
|
-
export declare const HeaderLabel: import("@emotion/styled").StyledComponent<{
|
|
15
|
-
theme?: Theme;
|
|
16
|
-
as?: React.ElementType;
|
|
17
|
-
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
18
|
-
export declare const HeaderCell: import("@emotion/styled").StyledComponent<{
|
|
19
|
-
theme?: Theme;
|
|
20
|
-
as?: React.ElementType;
|
|
21
|
-
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
22
|
-
export declare const TableBody: import("@emotion/styled").StyledComponent<{
|
|
23
|
-
theme?: Theme;
|
|
24
|
-
as?: React.ElementType;
|
|
25
|
-
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
26
|
-
export declare const TableRow: import("@emotion/styled").StyledComponent<{
|
|
27
|
-
theme?: Theme;
|
|
28
|
-
as?: React.ElementType;
|
|
29
|
-
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
30
|
-
export declare const RowLabel: import("@emotion/styled").StyledComponent<{
|
|
31
|
-
theme?: Theme;
|
|
32
|
-
as?: React.ElementType;
|
|
33
|
-
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
34
|
-
export declare const RowCells: import("@emotion/styled").StyledComponent<{
|
|
35
|
-
theme?: Theme;
|
|
36
|
-
as?: React.ElementType;
|
|
37
|
-
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
38
|
-
export declare const Cell: import("@emotion/styled").StyledComponent<{
|
|
39
|
-
theme?: Theme;
|
|
40
|
-
as?: React.ElementType;
|
|
41
|
-
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
42
|
-
export declare const ButtonsWrapper: import("@emotion/styled").StyledComponent<{
|
|
43
|
-
theme?: import("@emotion/react").Theme;
|
|
44
|
-
as?: React.ElementType;
|
|
45
|
-
} & {
|
|
46
|
-
avatarSize?: number;
|
|
47
|
-
direction?: string;
|
|
48
|
-
alignItems?: string;
|
|
49
|
-
fade?: boolean;
|
|
50
|
-
fadeDelay?: number;
|
|
51
|
-
isVisible?: boolean;
|
|
52
|
-
} & import("@ssa-ui-kit/core").CommonProps & import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & {
|
|
53
|
-
theme?: Theme;
|
|
54
|
-
}, {}, {}>;
|
|
55
|
-
export declare const BorrowButton: (theme: Theme) => import("@emotion/react").SerializedStyles;
|
|
56
|
-
export declare const RepayButton: (theme: Theme) => import("@emotion/react").SerializedStyles;
|
|
57
|
-
export declare const widgetCardStyles: import("@emotion/react").SerializedStyles;
|
|
58
|
-
export declare const wrapperStyles: import("@emotion/react").SerializedStyles;
|
|
59
|
-
export declare const headerStyles: import("@emotion/react").SerializedStyles;
|
|
60
|
-
export declare const contentStyles: import("@emotion/react").SerializedStyles;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
export interface MarginInfoProps {
|
|
3
|
-
multiplier?: number;
|
|
4
|
-
base: ReactNode;
|
|
5
|
-
quote: ReactNode;
|
|
6
|
-
baseBorrowed: ReactNode;
|
|
7
|
-
baseInterestRate: ReactNode;
|
|
8
|
-
baseTotalInterest: ReactNode;
|
|
9
|
-
quoteBorrowed: ReactNode;
|
|
10
|
-
quoteInterestRate: ReactNode;
|
|
11
|
-
quoteTotalInterest: ReactNode;
|
|
12
|
-
showInterestRate?: boolean;
|
|
13
|
-
disableBorrow?: boolean;
|
|
14
|
-
disableRepay?: boolean;
|
|
15
|
-
onBorrow?: () => void;
|
|
16
|
-
onRepay?: () => void;
|
|
17
|
-
}
|