theme-ui
Advanced tools
Comparing version 0.15.0--canary.2215.ff6a38fe74fc9efa00cc1961a6061e030a67fce5.0 to 0.15.0--canary.2250.a5dfac6ee7342fb74c68b915d82541eea905f5a7.0
@@ -12,13 +12,32 @@ 'use strict'; | ||
const BaseStyles = props => jsx('div', { ...props, | ||
sx: { | ||
fontFamily: 'body', | ||
lineHeight: 'body', | ||
fontWeight: 'body', | ||
variant: 'styles', | ||
...props.sx | ||
} | ||
}); | ||
const jsx = core.jsx; | ||
function _extends() { | ||
_extends = Object.assign || function (target) { | ||
for (var i = 1; i < arguments.length; i++) { | ||
var source = arguments[i]; | ||
for (var key in source) { | ||
if (Object.prototype.hasOwnProperty.call(source, key)) { | ||
target[key] = source[key]; | ||
} | ||
} | ||
} | ||
return target; | ||
}; | ||
return _extends.apply(this, arguments); | ||
} | ||
var BaseStyles = function BaseStyles(props) { | ||
return jsx('div', _extends({}, props, { | ||
sx: _extends({ | ||
fontFamily: 'body', | ||
lineHeight: 'body', | ||
fontWeight: 'body', | ||
variant: 'styles' | ||
}, props.sx) | ||
})); | ||
}; | ||
var jsx = core.jsx; | ||
Object.keys(components).forEach(function (k) { | ||
@@ -25,0 +44,0 @@ if (k !== 'default') Object.defineProperty(exports, k, { |
@@ -12,13 +12,32 @@ 'use strict'; | ||
const BaseStyles = props => jsx('div', { ...props, | ||
sx: { | ||
fontFamily: 'body', | ||
lineHeight: 'body', | ||
fontWeight: 'body', | ||
variant: 'styles', | ||
...props.sx | ||
} | ||
}); | ||
const jsx = core.jsx; | ||
function _extends() { | ||
_extends = Object.assign || function (target) { | ||
for (var i = 1; i < arguments.length; i++) { | ||
var source = arguments[i]; | ||
for (var key in source) { | ||
if (Object.prototype.hasOwnProperty.call(source, key)) { | ||
target[key] = source[key]; | ||
} | ||
} | ||
} | ||
return target; | ||
}; | ||
return _extends.apply(this, arguments); | ||
} | ||
var BaseStyles = function BaseStyles(props) { | ||
return jsx('div', _extends({}, props, { | ||
sx: _extends({ | ||
fontFamily: 'body', | ||
lineHeight: 'body', | ||
fontWeight: 'body', | ||
variant: 'styles' | ||
}, props.sx) | ||
})); | ||
}; | ||
var jsx = core.jsx; | ||
Object.keys(components).forEach(function (k) { | ||
@@ -25,0 +44,0 @@ if (k !== 'default') Object.defineProperty(exports, k, { |
@@ -9,13 +9,32 @@ import { jsx as jsx$1 } from '@theme-ui/core'; | ||
const BaseStyles = props => jsx('div', { ...props, | ||
sx: { | ||
fontFamily: 'body', | ||
lineHeight: 'body', | ||
fontWeight: 'body', | ||
variant: 'styles', | ||
...props.sx | ||
} | ||
}); | ||
const jsx = jsx$1; | ||
function _extends() { | ||
_extends = Object.assign || function (target) { | ||
for (var i = 1; i < arguments.length; i++) { | ||
var source = arguments[i]; | ||
for (var key in source) { | ||
if (Object.prototype.hasOwnProperty.call(source, key)) { | ||
target[key] = source[key]; | ||
} | ||
} | ||
} | ||
return target; | ||
}; | ||
return _extends.apply(this, arguments); | ||
} | ||
var BaseStyles = function BaseStyles(props) { | ||
return jsx('div', _extends({}, props, { | ||
sx: _extends({ | ||
fontFamily: 'body', | ||
lineHeight: 'body', | ||
fontWeight: 'body', | ||
variant: 'styles' | ||
}, props.sx) | ||
})); | ||
}; | ||
var jsx = jsx$1; | ||
export { BaseStyles, jsx }; |
{ | ||
"name": "theme-ui", | ||
"version": "0.15.0--canary.2215.ff6a38fe74fc9efa00cc1961a6061e030a67fce5.0", | ||
"version": "0.15.0--canary.2250.a5dfac6ee7342fb74c68b915d82541eea905f5a7.0", | ||
"description": "The Design Graph Framework", | ||
@@ -15,8 +15,8 @@ "source": "src/index.ts", | ||
"dependencies": { | ||
"@theme-ui/color-modes": "0.15.0--canary.2215.ff6a38fe74fc9efa00cc1961a6061e030a67fce5.0", | ||
"@theme-ui/components": "0.15.0--canary.2215.ff6a38fe74fc9efa00cc1961a6061e030a67fce5.0", | ||
"@theme-ui/core": "0.15.0--canary.2215.ff6a38fe74fc9efa00cc1961a6061e030a67fce5.0", | ||
"@theme-ui/css": "0.15.0--canary.2215.ff6a38fe74fc9efa00cc1961a6061e030a67fce5.0", | ||
"@theme-ui/mdx": "0.15.0--canary.2215.ff6a38fe74fc9efa00cc1961a6061e030a67fce5.0", | ||
"@theme-ui/theme-provider": "0.15.0--canary.2215.ff6a38fe74fc9efa00cc1961a6061e030a67fce5.0" | ||
"@theme-ui/color-modes": "0.15.0--canary.2250.a5dfac6ee7342fb74c68b915d82541eea905f5a7.0", | ||
"@theme-ui/components": "0.15.0--canary.2250.a5dfac6ee7342fb74c68b915d82541eea905f5a7.0", | ||
"@theme-ui/core": "0.15.0--canary.2250.a5dfac6ee7342fb74c68b915d82541eea905f5a7.0", | ||
"@theme-ui/css": "0.15.0--canary.2250.a5dfac6ee7342fb74c68b915d82541eea905f5a7.0", | ||
"@theme-ui/mdx": "0.15.0--canary.2250.a5dfac6ee7342fb74c68b915d82541eea905f5a7.0", | ||
"@theme-ui/theme-provider": "0.15.0--canary.2250.a5dfac6ee7342fb74c68b915d82541eea905f5a7.0" | ||
}, | ||
@@ -42,3 +42,3 @@ "peerDependencies": { | ||
}, | ||
"gitHead": "ff6a38fe74fc9efa00cc1961a6061e030a67fce5" | ||
"gitHead": "a5dfac6ee7342fb74c68b915d82541eea905f5a7" | ||
} |
@@ -116,3 +116,3 @@ <p align="center"> | ||
```sh | ||
npm install theme-ui @emotion/react @mdx-js/react | ||
npm install theme-ui @emotion/react @mdx-js/react@1 | ||
``` | ||
@@ -119,0 +119,0 @@ |
Sorry, the diff of this file is too big to display
179083
1321
+ Added@theme-ui/color-modes@0.15.0--canary.2250.a5dfac6ee7342fb74c68b915d82541eea905f5a7.0(transitive)
+ Added@theme-ui/components@0.15.0--canary.2250.a5dfac6ee7342fb74c68b915d82541eea905f5a7.0(transitive)
+ Added@theme-ui/core@0.15.0--canary.2250.a5dfac6ee7342fb74c68b915d82541eea905f5a7.0(transitive)
+ Added@theme-ui/css@0.15.0--canary.2250.a5dfac6ee7342fb74c68b915d82541eea905f5a7.0(transitive)
+ Added@theme-ui/mdx@0.15.0--canary.2250.a5dfac6ee7342fb74c68b915d82541eea905f5a7.0(transitive)
+ Added@theme-ui/parse-props@0.15.0--canary.2250.a5dfac6ee7342fb74c68b915d82541eea905f5a7.0(transitive)
+ Added@theme-ui/theme-provider@0.15.0--canary.2250.a5dfac6ee7342fb74c68b915d82541eea905f5a7.0(transitive)
- Removed@theme-ui/color-modes@0.15.0--canary.2215.ff6a38fe74fc9efa00cc1961a6061e030a67fce5.0(transitive)
- Removed@theme-ui/components@0.15.0--canary.2215.ff6a38fe74fc9efa00cc1961a6061e030a67fce5.0(transitive)
- Removed@theme-ui/core@0.15.0--canary.2215.ff6a38fe74fc9efa00cc1961a6061e030a67fce5.0(transitive)
- Removed@theme-ui/css@0.15.0--canary.2215.ff6a38fe74fc9efa00cc1961a6061e030a67fce5.0(transitive)
- Removed@theme-ui/mdx@0.15.0--canary.2215.ff6a38fe74fc9efa00cc1961a6061e030a67fce5.0(transitive)
- Removed@theme-ui/parse-props@0.15.0--canary.2215.ff6a38fe74fc9efa00cc1961a6061e030a67fce5.0(transitive)
- Removed@theme-ui/theme-provider@0.15.0--canary.2215.ff6a38fe74fc9efa00cc1961a6061e030a67fce5.0(transitive)
Updated@theme-ui/color-modes@0.15.0--canary.2250.a5dfac6ee7342fb74c68b915d82541eea905f5a7.0
Updated@theme-ui/components@0.15.0--canary.2250.a5dfac6ee7342fb74c68b915d82541eea905f5a7.0
Updated@theme-ui/core@0.15.0--canary.2250.a5dfac6ee7342fb74c68b915d82541eea905f5a7.0
Updated@theme-ui/css@0.15.0--canary.2250.a5dfac6ee7342fb74c68b915d82541eea905f5a7.0
Updated@theme-ui/mdx@0.15.0--canary.2250.a5dfac6ee7342fb74c68b915d82541eea905f5a7.0
Updated@theme-ui/theme-provider@0.15.0--canary.2250.a5dfac6ee7342fb74c68b915d82541eea905f5a7.0