aesthetic-react
Advanced tools
Comparing version 2.0.0 to 2.0.1
@@ -0,1 +1,8 @@ | ||
### 2.0.1 - 2019-12-19 | ||
#### ⚙️ Types | ||
- Fixed an issue with neverization where deeply nested objects cannot be typed correctly, and would | ||
error with "Type instantiation is excessively deep and possibly infinite.". | ||
# 2.0.0 - 2019-12-19 | ||
@@ -2,0 +9,0 @@ |
@@ -6,3 +6,3 @@ import { ClassNameTransformer, CompiledStyleSheet, StyleName, StyleSheetFactory, ThemeSheet } from 'aesthetic'; | ||
*/ | ||
export default function useStyles<Theme = ThemeSheet, T = {}>(styleSheet: StyleSheetFactory<Theme, T>, options?: UseStylesOptions): [CompiledStyleSheet, ClassNameTransformer, StyleName]; | ||
export default function useStyles<Theme = ThemeSheet, T = unknown>(styleSheet: StyleSheetFactory<Theme, T>, options?: UseStylesOptions): [CompiledStyleSheet, ClassNameTransformer, StyleName]; | ||
//# sourceMappingURL=useStyles.d.ts.map |
@@ -7,3 +7,3 @@ import React from 'react'; | ||
*/ | ||
export default function withStyles<Theme = ThemeSheet, T = {}>(styleSheet: StyleSheetFactory<Theme, T>, options?: WithStylesOptions): <Props extends object = {}>(WrappedComponent: React.ComponentType<Props & WithStylesWrappedProps<Theme>>) => StyledComponent<Props & WithStylesWrapperProps>; | ||
export default function withStyles<Theme = ThemeSheet, T = unknown>(styleSheet: StyleSheetFactory<Theme, T>, options?: WithStylesOptions): <Props extends object = {}>(WrappedComponent: React.ComponentType<Props & WithStylesWrappedProps<Theme>>) => StyledComponent<Props & WithStylesWrapperProps>; | ||
//# sourceMappingURL=withStyles.d.ts.map |
{ | ||
"name": "aesthetic-react", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"description": "React hooks, composers, and more for styling components with Aesthetic.", | ||
@@ -42,3 +42,3 @@ "keywords": [ | ||
}, | ||
"gitHead": "e2e68e0ad88fac9e8e9b7d04643fc65592af9a41" | ||
"gitHead": "55fcac7d6a93ec62194dc2b9024ed54ce0170d42" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
45276