Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

aesthetic-react

Package Overview
Dependencies
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

aesthetic-react - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

7

CHANGELOG.md

@@ -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 @@

2

lib/useStyles.d.ts

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc