@coinswap-app/uikit 0.8.0 → 1.0.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.
@@ -1,4 +1,4 @@
1
- import { FlattenInterpolation, ThemeProps, DefaultTheme } from "styled-components";
1
+ import { DefaultTheme, Interpolation, Theme } from "styled-components";
2
2
  import { AlertTheme } from "../components/Alert/types";
3
3
  import { ButtonTheme } from "../components/Button/types";
4
4
  import { CardTheme } from "../components/Card/types";
@@ -30,7 +30,7 @@ export interface CoinSwapTheme {
30
30
  zIndices: ZIndices;
31
31
  backgrounds: Backgrounds;
32
32
  grids: Grids;
33
- gridLayout: FlattenInterpolation<ThemeProps<DefaultTheme>>;
33
+ gridLayout: Interpolation<Theme<DefaultTheme>>;
34
34
  }
35
35
  export { default as dark } from "./dark";
36
36
  export { default as light } from "./light";
@@ -67,6 +67,7 @@ export interface NavProps extends PanelProps {
67
67
  mySpaceLink: string;
68
68
  login: Login;
69
69
  profile?: Profile;
70
+ children?: React.ReactNode;
70
71
  logout: () => void;
71
72
  onRampButton?: () => void;
72
73
  rampButtonTitle: string;
@@ -5,6 +5,7 @@ interface Props extends InjectedProps {
5
5
  hideCloseButton?: boolean;
6
6
  onBack?: () => void;
7
7
  bodyPadding?: string;
8
+ children?: React.ReactNode;
8
9
  }
9
10
  declare const Modal: React.FC<Props>;
10
11
  export default Modal;
@@ -1,4 +1,4 @@
1
1
  import React from "react";
2
2
  import { PriceContainerProps } from "./types";
3
- declare const PriceContainer: React.SFC<PriceContainerProps>;
3
+ declare const PriceContainer: React.FC<PriceContainerProps>;
4
4
  export default PriceContainer;
@@ -1,4 +1,4 @@
1
1
  import React from "react";
2
2
  import { TopTokensContainerProps } from "./types";
3
- declare const TopTokensContainer: React.SFC<TopTokensContainerProps>;
3
+ declare const TopTokensContainer: React.FC<TopTokensContainerProps>;
4
4
  export default TopTokensContainer;
@@ -3,6 +3,7 @@ import { ContextData } from "../../util/types";
3
3
  interface Props {
4
4
  toCopy: string;
5
5
  translations?: (key: string, data?: ContextData) => string;
6
+ children?: React.ReactNode;
6
7
  }
7
8
  declare const CopyToClipboard: React.FC<Props>;
8
9
  export default CopyToClipboard;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coinswap-app/uikit",
3
- "version": "0.8.0",
3
+ "version": "1.0.0",
4
4
  "description": "Set of UI components for CoinSwap projects",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.esm.js",