@vtex/admin-ui-system
Advanced tools
Comparing version 0.13.1 to 0.14.0
@@ -6,2 +6,13 @@ # Change Log | ||
# [0.14.0](https://github.com/vtex/onda/compare/@vtex/admin-ui-system@0.13.1...@vtex/admin-ui-system@0.14.0) (2021-02-25) | ||
### Features | ||
* **theme:** move global styles from core to theme ([416c04b](https://github.com/vtex/onda/commit/416c04bd46e98cb65e428ac017577ac2ec6702ae)) | ||
## [0.13.1](https://github.com/vtex/onda/compare/@vtex/admin-ui-system@0.13.0...@vtex/admin-ui-system@0.13.1) (2021-02-11) | ||
@@ -8,0 +19,0 @@ |
import React from 'react'; | ||
import { Emotion } from '@emotion/css/create-instance'; | ||
import { StyleProp } from '@vtex/admin-styles'; | ||
export declare function createSystem<T>(theme: T, appKey: string): CreateSystemReturn; | ||
import { StyleProp, Theme } from '@vtex/admin-styles'; | ||
export declare function createSystem<T extends Theme>(theme: T, appKey: string): CreateSystemReturn; | ||
export declare function createEmotionInstance(appKey: string): Emotion; | ||
export declare function createThemeProvider<T>(theme: T): ({ children, }: React.PropsWithChildren<unknown>) => JSX.Element; | ||
export declare function createThemeConsumers<T>(theme: T, emotionInstance: Emotion): { | ||
export declare function createThemeProvider<T extends Theme>(theme: T): ({ children, }: React.PropsWithChildren<unknown>) => JSX.Element; | ||
export declare function createThemeConsumers<T extends Theme>(theme: T, emotionInstance: Emotion): { | ||
stylesOf(themeKey: string): StyleProp; | ||
@@ -9,0 +9,0 @@ cn(styleProp: StyleProp): string; |
{ | ||
"name": "@vtex/admin-ui-system", | ||
"version": "0.13.1", | ||
"version": "0.14.0", | ||
"main": "dist/index.js", | ||
@@ -46,3 +46,3 @@ "module": "dist/admin-ui-system.esm.js", | ||
"@vtex/admin-jsxs": "^0.1.1", | ||
"@vtex/admin-styles": "^0.1.1", | ||
"@vtex/admin-styles": "^0.2.0", | ||
"csstype": "^3.0.5", | ||
@@ -57,3 +57,3 @@ "deepmerge": "^4.2.2", | ||
}, | ||
"gitHead": "ac4303599c907174b40a25690ff419c5cf9331c4" | ||
"gitHead": "252316f75c393c193615af7567395c48122b8487" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
124795
1502
+ Added@vtex/admin-styles@0.2.0(transitive)
- Removed@vtex/admin-styles@0.1.1(transitive)
Updated@vtex/admin-styles@^0.2.0