@theme-ui/core
Advanced tools
Comparing version 0.4.0-rc.3 to 0.4.0-rc.5
import { Theme } from '@theme-ui/css'; | ||
import * as React from 'react'; | ||
import './react-jsx'; | ||
export * from '@theme-ui/css/dist/types'; | ||
export type { CSSObject, CSSOthersObject, CSSProperties, CSSPseudoSelectorProps, ColorMode, ColorModesScale, Label, ResponsiveStyleValue, Scale, StylePropertyValue, TLengthStyledSystem, Theme, ThemeDerivedStyles, ThemeStyles, ThemeUICSSObject, ThemeUICSSProperties, ThemeUIExtendedCSSProperties, ThemeUIStyleObject, VariantProperty, } from '@theme-ui/css'; | ||
export * from './types'; | ||
@@ -6,0 +6,0 @@ export declare const jsx: typeof React.createElement; |
@@ -6,3 +6,2 @@ import { jsx as jsx$1, ThemeContext } from '@emotion/core'; | ||
import { version } from '@emotion/core/package.json'; | ||
export * from '@theme-ui/css/dist/types'; | ||
@@ -9,0 +8,0 @@ function _extends() { |
@@ -8,3 +8,2 @@ function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; } | ||
var package_json = require('@emotion/core/package.json'); | ||
var types = require('@theme-ui/css/dist/types'); | ||
@@ -126,10 +125,2 @@ function _extends() { | ||
Object.keys(types).forEach(function (k) { | ||
if (k !== 'default') Object.defineProperty(exports, k, { | ||
enumerable: true, | ||
get: function () { | ||
return types[k]; | ||
} | ||
}); | ||
}); | ||
exports.Context = Context; | ||
@@ -136,0 +127,0 @@ exports.ThemeProvider = ThemeProvider; |
@@ -6,3 +6,2 @@ import { jsx as jsx$1, ThemeContext } from '@emotion/core'; | ||
import { version } from '@emotion/core/package.json'; | ||
export * from '@theme-ui/css/dist/types'; | ||
@@ -9,0 +8,0 @@ const getCSS = props => { |
(function (global, factory) { | ||
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@emotion/core'), require('@theme-ui/css'), require('react'), require('deepmerge'), require('@emotion/core/package.json'), require('@theme-ui/css/dist/types')) : | ||
typeof define === 'function' && define.amd ? define(['exports', '@emotion/core', '@theme-ui/css', 'react', 'deepmerge', '@emotion/core/package.json', '@theme-ui/css/dist/types'], factory) : | ||
(global = global || self, factory(global.core = {}, global.core, global.css, global.react, global.deepmerge, global.package_json, global.types)); | ||
}(this, (function (exports, core, css, React, deepmerge, package_json, types) { | ||
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@emotion/core'), require('@theme-ui/css'), require('react'), require('deepmerge'), require('@emotion/core/package.json')) : | ||
typeof define === 'function' && define.amd ? define(['exports', '@emotion/core', '@theme-ui/css', 'react', 'deepmerge', '@emotion/core/package.json'], factory) : | ||
(global = global || self, factory(global.core = {}, global.core, global.css, global.react, global.deepmerge, global.package_json)); | ||
}(this, (function (exports, core, css, React, deepmerge, package_json) { | ||
deepmerge = deepmerge && Object.prototype.hasOwnProperty.call(deepmerge, 'default') ? deepmerge['default'] : deepmerge; | ||
@@ -123,10 +123,2 @@ | ||
Object.keys(types).forEach(function (k) { | ||
if (k !== 'default') Object.defineProperty(exports, k, { | ||
enumerable: true, | ||
get: function () { | ||
return types[k]; | ||
} | ||
}); | ||
}); | ||
exports.Context = Context; | ||
@@ -133,0 +125,0 @@ exports.ThemeProvider = ThemeProvider; |
{ | ||
"name": "@theme-ui/core", | ||
"version": "0.4.0-rc.3", | ||
"version": "0.4.0-rc.5", | ||
"source": "src/index.ts", | ||
@@ -22,3 +22,3 @@ "main": "dist/index.js", | ||
"@emotion/core": "^10.0.0", | ||
"@theme-ui/css": "^0.4.0-rc.3", | ||
"@theme-ui/css": "^0.4.0-rc.5", | ||
"deepmerge": "^4.2.2" | ||
@@ -33,3 +33,3 @@ }, | ||
}, | ||
"gitHead": "2c3fea31b3e8fd892968bef49bd6407d8999a848" | ||
"gitHead": "73f152a13647cae8f7e27c22fc9efd4a76e3c955" | ||
} |
@@ -13,3 +13,23 @@ import { | ||
export * from '@theme-ui/css/dist/types' | ||
export type { | ||
CSSObject, | ||
CSSOthersObject, | ||
CSSProperties, | ||
CSSPseudoSelectorProps, | ||
ColorMode, | ||
ColorModesScale, | ||
Label, | ||
ResponsiveStyleValue, | ||
Scale, | ||
StylePropertyValue, | ||
TLengthStyledSystem, | ||
Theme, | ||
ThemeDerivedStyles, | ||
ThemeStyles, | ||
ThemeUICSSObject, | ||
ThemeUICSSProperties, | ||
ThemeUIExtendedCSSProperties, | ||
ThemeUIStyleObject, | ||
VariantProperty, | ||
} from '@theme-ui/css' | ||
export * from './types' | ||
@@ -16,0 +36,0 @@ |
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
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
62297
1042
0
Updated@theme-ui/css@^0.4.0-rc.5