@material-ui/styles
Advanced tools
Comparing version 3.0.0-alpha.1 to 3.0.0-alpha.2
@@ -111,2 +111,3 @@ // allow this here since we want the declarations to be equivalent to declarations | ||
Styles, | ||
WithStylesOptions, | ||
} from '@material-ui/styles/withStyles'; | ||
@@ -116,2 +117,3 @@ | ||
styles: S, | ||
options?: WithStylesOptions<ClassKeyOfStyles<S>>, | ||
): (props: PropsOfStyles<S>) => ClassNameMap<ClassKeyOfStyles<S>>; | ||
@@ -121,3 +123,3 @@ } | ||
declare module '@material-ui/styles/styled' { | ||
import { ConsistentWith, Omit, PropsOf } from '@material-ui/core'; | ||
import { Omit, PropsOf } from '@material-ui/core'; | ||
import { | ||
@@ -145,5 +147,3 @@ CSSProperties, | ||
export default function styled< | ||
C extends React.ReactType<ConsistentWith<PropsOf<C>, { className: string }>> | ||
>(Component: C): ComponentCreator<C>; | ||
export default function styled<C extends React.ReactType>(Component: C): ComponentCreator<C>; | ||
} | ||
@@ -150,0 +150,0 @@ |
@@ -111,2 +111,3 @@ // allow this here since we want the declarations to be equivalent to declarations | ||
Styles, | ||
WithStylesOptions, | ||
} from '@material-ui/styles/withStyles'; | ||
@@ -116,2 +117,3 @@ | ||
styles: S, | ||
options?: WithStylesOptions<ClassKeyOfStyles<S>>, | ||
): (props: PropsOfStyles<S>) => ClassNameMap<ClassKeyOfStyles<S>>; | ||
@@ -121,3 +123,3 @@ } | ||
declare module '@material-ui/styles/styled' { | ||
import { ConsistentWith, Omit, PropsOf } from '@material-ui/core'; | ||
import { Omit, PropsOf } from '@material-ui/core'; | ||
import { | ||
@@ -145,5 +147,3 @@ CSSProperties, | ||
export default function styled< | ||
C extends React.ReactType<ConsistentWith<PropsOf<C>, { className: string }>> | ||
>(Component: C): ComponentCreator<C>; | ||
export default function styled<C extends React.ReactType>(Component: C): ComponentCreator<C>; | ||
} | ||
@@ -150,0 +150,0 @@ |
@@ -1,2 +0,2 @@ | ||
/** @license Material-UI v3.0.0-alpha.1 | ||
/** @license Material-UI v3.0.0-alpha.2 | ||
* | ||
@@ -3,0 +3,0 @@ * This source code is licensed under the MIT license found in the |
@@ -1,2 +0,2 @@ | ||
/** @license Material-UI v3.0.0-alpha.1 | ||
/** @license Material-UI v3.0.0-alpha.2 | ||
* | ||
@@ -3,0 +3,0 @@ * This source code is licensed under the MIT license found in the |
@@ -5,3 +5,3 @@ { | ||
"author": "Material-UI Team", | ||
"version": "3.0.0-alpha.1", | ||
"version": "3.0.0-alpha.2", | ||
"description": "Material-UI Styles - The styling solution of Material-UI.", | ||
@@ -8,0 +8,0 @@ "main": "./index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
93301