@coinswap-app/uikit 1.0.5 → 1.0.7
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/components/AddToCap/AddToCap.d.ts +56 -1
- package/dist/components/Button/Button.d.ts +1 -1
- package/dist/components/Button/IconButton.d.ts +55 -1
- package/dist/components/Button/types.d.ts +7 -3
- package/dist/components/Card/CardBody.d.ts +3 -1
- package/dist/components/Card/CardFooter.d.ts +3 -1
- package/dist/components/Card/types.d.ts +4 -0
- package/dist/components/EarnedCarouselWrapper/EarnedCarouselWrapperHeader.d.ts +3 -1
- package/dist/components/EarnedWrapper/EarnedWrapperHeader.d.ts +3 -1
- package/dist/components/Heading/Heading.d.ts +2 -2
- package/dist/components/InfoBox/InfoBoxBody.d.ts +3 -1
- package/dist/components/InfoBox/InfoBoxFooter.d.ts +3 -1
- package/dist/components/Link/Link.d.ts +1 -1
- package/dist/components/Overlay/Overlay.d.ts +2 -2
- package/dist/components/Radio/Radio.d.ts +2 -2
- package/dist/components/Svg/types.d.ts +2 -2
- package/dist/components/Text/types.d.ts +2 -0
- package/dist/index.cjs.js +328 -321
- package/dist/index.esm.js +328 -321
- package/dist/widgets/ConnectVerifyPanel/components/ChangeProviderButton.d.ts +55 -1
- package/dist/widgets/ConnectVerifyPanel/components/LogoutButton.d.ts +55 -1
- package/dist/widgets/ConnectVerifyPanel/components/SettingsButton.d.ts +55 -1
- package/dist/widgets/Menu/components/MenuButton.d.ts +1 -1
- package/package.json +1 -2
|
@@ -1,2 +1,56 @@
|
|
|
1
|
-
declare const ChangeProviderButton: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<
|
|
1
|
+
declare const ChangeProviderButton: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<(Omit<{
|
|
2
|
+
variant?: import("../../..").ButtonVariants;
|
|
3
|
+
size?: import("../../..").ButtonSizes;
|
|
4
|
+
startIcon?: import("react").ReactNode;
|
|
5
|
+
endIcon?: import("react").ReactNode;
|
|
6
|
+
$fullWidth?: boolean;
|
|
7
|
+
as?: "a" | "button" | typeof import("react-router-dom").Link;
|
|
8
|
+
href?: string;
|
|
9
|
+
to?: import("react-router-dom").LinkProps["to"];
|
|
10
|
+
external?: boolean;
|
|
11
|
+
$isLoading?: boolean;
|
|
12
|
+
disabled?: boolean;
|
|
13
|
+
$white?: boolean;
|
|
14
|
+
fullWidth?: boolean;
|
|
15
|
+
isLoading?: boolean;
|
|
16
|
+
white?: boolean;
|
|
17
|
+
} & import("react").ButtonHTMLAttributes<HTMLButtonElement> & import("styled-system").SpaceProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>, string | number | symbol> & import("react").RefAttributes<HTMLButtonElement>, "ref"> & {
|
|
18
|
+
ref?: import("react").Ref<HTMLButtonElement>;
|
|
19
|
+
}) | (Omit<{
|
|
20
|
+
variant?: import("../../..").ButtonVariants;
|
|
21
|
+
size?: import("../../..").ButtonSizes;
|
|
22
|
+
startIcon?: import("react").ReactNode;
|
|
23
|
+
endIcon?: import("react").ReactNode;
|
|
24
|
+
$fullWidth?: boolean;
|
|
25
|
+
as?: "a" | "button" | typeof import("react-router-dom").Link;
|
|
26
|
+
href?: string;
|
|
27
|
+
to?: import("react-router-dom").LinkProps["to"];
|
|
28
|
+
external?: boolean;
|
|
29
|
+
$isLoading?: boolean;
|
|
30
|
+
disabled?: boolean;
|
|
31
|
+
$white?: boolean;
|
|
32
|
+
fullWidth?: boolean;
|
|
33
|
+
isLoading?: boolean;
|
|
34
|
+
white?: boolean;
|
|
35
|
+
} & import("react").AnchorHTMLAttributes<HTMLAnchorElement> & import("styled-system").SpaceProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>, string | number | symbol> & import("react").RefAttributes<HTMLButtonElement>, "ref"> & {
|
|
36
|
+
ref?: import("react").Ref<HTMLButtonElement>;
|
|
37
|
+
}) | (Omit<{
|
|
38
|
+
variant?: import("../../..").ButtonVariants;
|
|
39
|
+
size?: import("../../..").ButtonSizes;
|
|
40
|
+
startIcon?: import("react").ReactNode;
|
|
41
|
+
endIcon?: import("react").ReactNode;
|
|
42
|
+
$fullWidth?: boolean;
|
|
43
|
+
as?: "a" | "button" | typeof import("react-router-dom").Link;
|
|
44
|
+
href?: string;
|
|
45
|
+
to?: import("react-router-dom").LinkProps["to"];
|
|
46
|
+
external?: boolean;
|
|
47
|
+
$isLoading?: boolean;
|
|
48
|
+
disabled?: boolean;
|
|
49
|
+
$white?: boolean;
|
|
50
|
+
fullWidth?: boolean;
|
|
51
|
+
isLoading?: boolean;
|
|
52
|
+
white?: boolean;
|
|
53
|
+
} & Omit<import("react-router-dom").LinkProps<unknown>, "to"> & import("styled-system").SpaceProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>, string | number | symbol> & import("react").RefAttributes<HTMLButtonElement>, "ref"> & {
|
|
54
|
+
ref?: import("react").Ref<HTMLButtonElement>;
|
|
55
|
+
}), import("styled-components/dist/types").BaseObject>> & string & Omit<import("react").ForwardRefExoticComponent<import("../../..").ButtonProps & import("react").RefAttributes<HTMLButtonElement>>, keyof import("react").Component<any, {}, any>>;
|
|
2
56
|
export default ChangeProviderButton;
|
|
@@ -1,2 +1,56 @@
|
|
|
1
|
-
declare const LogoutButton: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<
|
|
1
|
+
declare const LogoutButton: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<(Omit<{
|
|
2
|
+
variant?: import("../../..").ButtonVariants;
|
|
3
|
+
size?: import("../../..").ButtonSizes;
|
|
4
|
+
startIcon?: import("react").ReactNode;
|
|
5
|
+
endIcon?: import("react").ReactNode;
|
|
6
|
+
$fullWidth?: boolean;
|
|
7
|
+
as?: "a" | "button" | typeof import("react-router-dom").Link;
|
|
8
|
+
href?: string;
|
|
9
|
+
to?: import("react-router-dom").LinkProps["to"];
|
|
10
|
+
external?: boolean;
|
|
11
|
+
$isLoading?: boolean;
|
|
12
|
+
disabled?: boolean;
|
|
13
|
+
$white?: boolean;
|
|
14
|
+
fullWidth?: boolean;
|
|
15
|
+
isLoading?: boolean;
|
|
16
|
+
white?: boolean;
|
|
17
|
+
} & import("react").ButtonHTMLAttributes<HTMLButtonElement> & import("styled-system").SpaceProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>, string | number | symbol> & import("react").RefAttributes<HTMLButtonElement>, "ref"> & {
|
|
18
|
+
ref?: import("react").Ref<HTMLButtonElement>;
|
|
19
|
+
}) | (Omit<{
|
|
20
|
+
variant?: import("../../..").ButtonVariants;
|
|
21
|
+
size?: import("../../..").ButtonSizes;
|
|
22
|
+
startIcon?: import("react").ReactNode;
|
|
23
|
+
endIcon?: import("react").ReactNode;
|
|
24
|
+
$fullWidth?: boolean;
|
|
25
|
+
as?: "a" | "button" | typeof import("react-router-dom").Link;
|
|
26
|
+
href?: string;
|
|
27
|
+
to?: import("react-router-dom").LinkProps["to"];
|
|
28
|
+
external?: boolean;
|
|
29
|
+
$isLoading?: boolean;
|
|
30
|
+
disabled?: boolean;
|
|
31
|
+
$white?: boolean;
|
|
32
|
+
fullWidth?: boolean;
|
|
33
|
+
isLoading?: boolean;
|
|
34
|
+
white?: boolean;
|
|
35
|
+
} & import("react").AnchorHTMLAttributes<HTMLAnchorElement> & import("styled-system").SpaceProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>, string | number | symbol> & import("react").RefAttributes<HTMLButtonElement>, "ref"> & {
|
|
36
|
+
ref?: import("react").Ref<HTMLButtonElement>;
|
|
37
|
+
}) | (Omit<{
|
|
38
|
+
variant?: import("../../..").ButtonVariants;
|
|
39
|
+
size?: import("../../..").ButtonSizes;
|
|
40
|
+
startIcon?: import("react").ReactNode;
|
|
41
|
+
endIcon?: import("react").ReactNode;
|
|
42
|
+
$fullWidth?: boolean;
|
|
43
|
+
as?: "a" | "button" | typeof import("react-router-dom").Link;
|
|
44
|
+
href?: string;
|
|
45
|
+
to?: import("react-router-dom").LinkProps["to"];
|
|
46
|
+
external?: boolean;
|
|
47
|
+
$isLoading?: boolean;
|
|
48
|
+
disabled?: boolean;
|
|
49
|
+
$white?: boolean;
|
|
50
|
+
fullWidth?: boolean;
|
|
51
|
+
isLoading?: boolean;
|
|
52
|
+
white?: boolean;
|
|
53
|
+
} & Omit<import("react-router-dom").LinkProps<unknown>, "to"> & import("styled-system").SpaceProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>, string | number | symbol> & import("react").RefAttributes<HTMLButtonElement>, "ref"> & {
|
|
54
|
+
ref?: import("react").Ref<HTMLButtonElement>;
|
|
55
|
+
}), import("styled-components/dist/types").BaseObject>> & string & Omit<import("react").ForwardRefExoticComponent<import("../../..").ButtonProps & import("react").RefAttributes<HTMLButtonElement>>, keyof import("react").Component<any, {}, any>>;
|
|
2
56
|
export default LogoutButton;
|
|
@@ -1,2 +1,56 @@
|
|
|
1
|
-
declare const SettingsButton: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<
|
|
1
|
+
declare const SettingsButton: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<(Omit<{
|
|
2
|
+
variant?: import("../../..").ButtonVariants;
|
|
3
|
+
size?: import("../../..").ButtonSizes;
|
|
4
|
+
startIcon?: import("react").ReactNode;
|
|
5
|
+
endIcon?: import("react").ReactNode;
|
|
6
|
+
$fullWidth?: boolean;
|
|
7
|
+
as?: "a" | "button" | typeof import("react-router-dom").Link;
|
|
8
|
+
href?: string;
|
|
9
|
+
to?: import("react-router-dom").LinkProps["to"];
|
|
10
|
+
external?: boolean;
|
|
11
|
+
$isLoading?: boolean;
|
|
12
|
+
disabled?: boolean;
|
|
13
|
+
$white?: boolean;
|
|
14
|
+
fullWidth?: boolean;
|
|
15
|
+
isLoading?: boolean;
|
|
16
|
+
white?: boolean;
|
|
17
|
+
} & import("react").ButtonHTMLAttributes<HTMLButtonElement> & import("styled-system").SpaceProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>, string | number | symbol> & import("react").RefAttributes<HTMLButtonElement>, "ref"> & {
|
|
18
|
+
ref?: import("react").Ref<HTMLButtonElement>;
|
|
19
|
+
}) | (Omit<{
|
|
20
|
+
variant?: import("../../..").ButtonVariants;
|
|
21
|
+
size?: import("../../..").ButtonSizes;
|
|
22
|
+
startIcon?: import("react").ReactNode;
|
|
23
|
+
endIcon?: import("react").ReactNode;
|
|
24
|
+
$fullWidth?: boolean;
|
|
25
|
+
as?: "a" | "button" | typeof import("react-router-dom").Link;
|
|
26
|
+
href?: string;
|
|
27
|
+
to?: import("react-router-dom").LinkProps["to"];
|
|
28
|
+
external?: boolean;
|
|
29
|
+
$isLoading?: boolean;
|
|
30
|
+
disabled?: boolean;
|
|
31
|
+
$white?: boolean;
|
|
32
|
+
fullWidth?: boolean;
|
|
33
|
+
isLoading?: boolean;
|
|
34
|
+
white?: boolean;
|
|
35
|
+
} & import("react").AnchorHTMLAttributes<HTMLAnchorElement> & import("styled-system").SpaceProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>, string | number | symbol> & import("react").RefAttributes<HTMLButtonElement>, "ref"> & {
|
|
36
|
+
ref?: import("react").Ref<HTMLButtonElement>;
|
|
37
|
+
}) | (Omit<{
|
|
38
|
+
variant?: import("../../..").ButtonVariants;
|
|
39
|
+
size?: import("../../..").ButtonSizes;
|
|
40
|
+
startIcon?: import("react").ReactNode;
|
|
41
|
+
endIcon?: import("react").ReactNode;
|
|
42
|
+
$fullWidth?: boolean;
|
|
43
|
+
as?: "a" | "button" | typeof import("react-router-dom").Link;
|
|
44
|
+
href?: string;
|
|
45
|
+
to?: import("react-router-dom").LinkProps["to"];
|
|
46
|
+
external?: boolean;
|
|
47
|
+
$isLoading?: boolean;
|
|
48
|
+
disabled?: boolean;
|
|
49
|
+
$white?: boolean;
|
|
50
|
+
fullWidth?: boolean;
|
|
51
|
+
isLoading?: boolean;
|
|
52
|
+
white?: boolean;
|
|
53
|
+
} & Omit<import("react-router-dom").LinkProps<unknown>, "to"> & import("styled-system").SpaceProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>, string | number | symbol> & import("react").RefAttributes<HTMLButtonElement>, "ref"> & {
|
|
54
|
+
ref?: import("react").Ref<HTMLButtonElement>;
|
|
55
|
+
}), import("styled-components/dist/types").BaseObject>> & string & Omit<import("react").ForwardRefExoticComponent<import("../../..").ButtonProps & import("react").RefAttributes<HTMLButtonElement>>, keyof import("react").Component<any, {}, any>>;
|
|
2
56
|
export default SettingsButton;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const MenuButton: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("../../..").ButtonProps & import("styled-components/dist/types").BaseObject, import("styled-components/dist/types").BaseObject>> & string & Omit<import("react").FC<import("../../..").ButtonProps>, keyof import("react").Component<any, {}, any>>;
|
|
1
|
+
declare const MenuButton: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("styled-components/dist/types").Substitute<import("styled-components/dist/types").Substitute<import("../../..").ButtonProps & import("styled-components/dist/types").BaseObject, import("../../..").ButtonProps>, import("styled-components/dist/types").BaseObject>, import("styled-components/dist/types").BaseObject>> & string & Omit<import("react").FC<import("../../..").ButtonProps>, keyof import("react").Component<any, {}, any>>;
|
|
2
2
|
export default MenuButton;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@coinswap-app/uikit",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.7",
|
|
4
4
|
"description": "Set of UI components for CoinSwap projects",
|
|
5
5
|
"main": "dist/index.cjs.js",
|
|
6
6
|
"module": "dist/index.esm.js",
|
|
@@ -107,7 +107,6 @@
|
|
|
107
107
|
"moment-duration-format": "^2.3.2",
|
|
108
108
|
"react-cookie": "^8.0.1",
|
|
109
109
|
"react-dropzone": "^14.3.5",
|
|
110
|
-
"react-facebook-share-link": "^1.0.4",
|
|
111
110
|
"react-responsive-carousel": "^3.2.23",
|
|
112
111
|
"react-slick": "^0.30.2",
|
|
113
112
|
"react-transition-group": "^4.4.5",
|