From 4d21f322ec931f499e4fd8545494520b7d266805 Mon Sep 17 00:00:00 2001 From: Piotr Monwid-Olechnowicz Date: Thu, 3 Sep 2020 08:19:08 +0200 Subject: [PATCH 001/377] Merge pull request #1141 from windkomo/webpack-5-export-version fix: Use default export from package instead of named export version --- packages/core/src/index.js | 36 +++++++++---------- packages/theme-ui/test/color-modes.js | 51 ++++++++++++++------------- 2 files changed, 43 insertions(+), 44 deletions(-) diff --git a/packages/core/src/index.js b/packages/core/src/index.js index 302872cb9..982708ae1 100644 --- a/packages/core/src/index.js +++ b/packages/core/src/index.js @@ -1,22 +1,21 @@ -import { - jsx as emotion, - ThemeContext as EmotionContext, -} from '@emotion/core' +import { jsx as emotion, ThemeContext as EmotionContext } from '@emotion/core' import { css, get } from '@theme-ui/css' import React from 'react' import deepmerge from 'deepmerge' -import { version as __EMOTION_VERSION__ } from '@emotion/core/package.json' +import packageInfo from '@emotion/core/package.json' -const getCSS = props => { +const __EMOTION_VERSION__ = packageInfo.version + +const getCSS = (props) => { if (!props.sx && !props.css) return undefined - return theme => { + return (theme) => { const styles = css(props.sx)(theme) const raw = typeof props.css === 'function' ? props.css(theme) : props.css return [styles, raw] } } -const parseProps = props => { +const parseProps = (props) => { if (!props) return null const next = {} for (let key in props) { @@ -43,7 +42,7 @@ const canUseSymbol = typeof Symbol === 'function' && Symbol.for const REACT_ELEMENT = canUseSymbol ? Symbol.for('react.element') : 0xeac7 const FORWARD_REF = canUseSymbol ? Symbol.for('react.forward_ref') : 0xeac7 -const isMergeableObject = n => { +const isMergeableObject = (n) => { return ( !!n && typeof n === 'object' && @@ -61,17 +60,15 @@ merge.all = (...args) => deepmerge.all(args, { isMergeableObject, arrayMerge }) const BaseProvider = ({ context, children }) => jsx( - EmotionContext.Provider, { value: context.theme }, + EmotionContext.Provider, + { value: context.theme }, jsx(Context.Provider, { value: context, - children + children, }) ) -export const ThemeProvider = ({ - theme, - children -}) => { +export const ThemeProvider = ({ theme, children }) => { const outer = useThemeUI() if (process.env.NODE_ENV !== 'production') { @@ -84,12 +81,13 @@ export const ThemeProvider = ({ } } - const context = typeof theme === 'function' - ? { ...outer, theme: theme(outer.theme) } - : merge.all({}, outer, { theme }) + const context = + typeof theme === 'function' + ? { ...outer, theme: theme(outer.theme) } + : merge.all({}, outer, { theme }) return jsx(BaseProvider, { context, - children + children, }) } diff --git a/packages/theme-ui/test/color-modes.js b/packages/theme-ui/test/color-modes.js index 7e065c81c..e9c8be510 100644 --- a/packages/theme-ui/test/color-modes.js +++ b/packages/theme-ui/test/color-modes.js @@ -4,9 +4,10 @@ import renderer from 'react-test-renderer' import { render, fireEvent, cleanup, act } from '@testing-library/react' import { matchers } from 'jest-emotion' import mockConsole from 'jest-mock-console' -import { version as emotionVersion } from '@emotion/core/package.json' +import packageInfo from '@emotion/core/package.json' import { jsx, ThemeProvider, useColorMode, useThemeUI } from '../src/index' +const emotionVersion = packageInfo.version const STORAGE_KEY = 'theme-ui-color-mode' afterEach(cleanup) @@ -18,7 +19,7 @@ expect.extend(matchers) test('renders with color modes', () => { let json let mode - const Mode = props => { + const Mode = (props) => { const [colorMode] = useColorMode() mode = colorMode return
Mode
@@ -46,7 +47,7 @@ test('renders with color modes', () => { test('renders with initial color mode name', () => { let json let mode - const Mode = props => { + const Mode = (props) => { const [colorMode] = useColorMode() mode = colorMode return
Mode
@@ -71,12 +72,12 @@ test('renders with initial color mode name', () => { test('useColorMode updates color mode state', () => { let mode - const Button = props => { + const Button = (props) => { const [colorMode, setMode] = useColorMode() mode = colorMode return ( + + + ) +} + +export default function ThemeCreator() { + const [theme] = useReducer(reducer, { ...presets.base }) return (
@@ -81,20 +104,8 @@ export default props => {

Note: some web fonts may not render unless installed locally.

+ - - ) } From f49818584e7de60207cf439baedbbfd539132734 Mon Sep 17 00:00:00 2001 From: hasparus Date: Thu, 5 Nov 2020 15:47:09 +0100 Subject: [PATCH 017/377] Update changelog --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5d8f286f2..0c003051d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -19,6 +19,7 @@ ### docs - Fix example logo on Avatar & Image component docs #1233 +- Fix theme editor output in docs #1182 ## v0.3.1 2020-01-32 From c69b1d0f3d65c2eb41ace7acc9886994e9ebcb5c Mon Sep 17 00:00:00 2001 From: hasparus Date: Thu, 5 Nov 2020 15:50:42 +0100 Subject: [PATCH 018/377] Update changelog --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0c003051d..4caf7c174 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ # Changelog -## v0.3.2 2020-11-05 +## v0.3.2 UNRELEASED ### `@theme-ui/css` From a53c2760c327b0f4fb46572ff4f359be0724312c Mon Sep 17 00:00:00 2001 From: Alex Chan Date: Fri, 2 Oct 2020 09:20:09 -0600 Subject: [PATCH 019/377] Move index files to src --- packages/gatsby-theme-code-recipes/index.js | 1 - packages/gatsby-theme-style-guide/index.js | 1 - 2 files changed, 2 deletions(-) delete mode 100644 packages/gatsby-theme-code-recipes/index.js delete mode 100644 packages/gatsby-theme-style-guide/index.js diff --git a/packages/gatsby-theme-code-recipes/index.js b/packages/gatsby-theme-code-recipes/index.js deleted file mode 100644 index 6723592cc..000000000 --- a/packages/gatsby-theme-code-recipes/index.js +++ /dev/null @@ -1 +0,0 @@ -// boop diff --git a/packages/gatsby-theme-style-guide/index.js b/packages/gatsby-theme-style-guide/index.js deleted file mode 100644 index 6723592cc..000000000 --- a/packages/gatsby-theme-style-guide/index.js +++ /dev/null @@ -1 +0,0 @@ -// boop From 7b011ce6ba7258d978f5b1e4ce9b7b33d420752b Mon Sep 17 00:00:00 2001 From: Alex Chan Date: Fri, 2 Oct 2020 09:20:25 -0600 Subject: [PATCH 020/377] Add preconstruct --- package.json | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index a72ec5788..8864d4fe4 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,8 @@ { + "name": "theme-ui", "private": true, "scripts": { - "prepare": "lerna run prepare", + "postinstall": "preconstruct dev", "start": "yarn workspace docs start", "build": "yarn workspace docs build", "serve": "yarn workspace docs serve --port 8000", @@ -25,6 +26,7 @@ "@babel/preset-react": "^7.10.1", "@babel/preset-typescript": "^7.10.1", "@babel/runtime": "^7.10.2", + "@preconstruct/cli": "^1.1.27", "@testing-library/react": "^11.0.1", "@types/jest": "^26.0.10", "@types/lodash.debounce": "^4.0.6", @@ -114,5 +116,10 @@ "hooks": { "pre-commit": "lint-staged" } + }, + "preconstruct": { + "packages": [ + "packages/*" + ] } } From f3f0284ae9739552d10687484b6ca59651370a5b Mon Sep 17 00:00:00 2001 From: Alex Chan Date: Fri, 2 Oct 2020 09:20:39 -0600 Subject: [PATCH 021/377] Move index to src --- packages/gatsby-theme-code-recipes/src/index.js | 1 + packages/gatsby-theme-style-guide/src/index.js | 1 + 2 files changed, 2 insertions(+) create mode 100644 packages/gatsby-theme-code-recipes/src/index.js create mode 100644 packages/gatsby-theme-style-guide/src/index.js diff --git a/packages/gatsby-theme-code-recipes/src/index.js b/packages/gatsby-theme-code-recipes/src/index.js new file mode 100644 index 000000000..6723592cc --- /dev/null +++ b/packages/gatsby-theme-code-recipes/src/index.js @@ -0,0 +1 @@ +// boop diff --git a/packages/gatsby-theme-style-guide/src/index.js b/packages/gatsby-theme-style-guide/src/index.js new file mode 100644 index 000000000..6723592cc --- /dev/null +++ b/packages/gatsby-theme-style-guide/src/index.js @@ -0,0 +1 @@ +// boop From 1ec654b51cc1db4275a66d62adf1f3ae86f3fa65 Mon Sep 17 00:00:00 2001 From: Alex Chan Date: Fri, 2 Oct 2020 09:20:52 -0600 Subject: [PATCH 022/377] Run preconstruct fix to update main --- packages/chrome/package.json | 3 ++- packages/color-modes/package.json | 4 ++-- packages/color/package.json | 4 ++-- packages/components/package.json | 4 ++-- packages/core/package.json | 4 ++-- packages/css/package.json | 4 ++-- packages/custom-properties/package.json | 4 ++-- packages/docs/package.json | 2 +- packages/editor/package.json | 4 ++-- packages/gatsby-plugin-theme-ui/package.json | 2 +- packages/gatsby-theme-code-recipes/package.json | 2 +- packages/gatsby-theme-style-guide/package.json | 2 +- packages/gatsby-theme-ui-layout/package.json | 2 +- packages/match-media/package.json | 4 ++-- packages/mdx/package.json | 4 ++-- packages/preset-base/package.json | 4 ++-- packages/preset-bootstrap/package.json | 4 ++-- packages/preset-bulma/package.json | 4 ++-- packages/preset-dark/package.json | 4 ++-- packages/preset-deep/package.json | 4 ++-- packages/preset-funk/package.json | 4 ++-- packages/preset-future/package.json | 4 ++-- packages/preset-polaris/package.json | 4 ++-- packages/preset-roboto/package.json | 4 ++-- packages/preset-sketchy/package.json | 4 ++-- packages/preset-swiss/package.json | 4 ++-- packages/preset-system/package.json | 4 ++-- packages/preset-tailwind/package.json | 4 ++-- packages/preset-tosh/package.json | 4 ++-- packages/presets/package.json | 4 ++-- packages/prism/package.json | 2 +- packages/sidenav/package.json | 4 ++-- packages/style-guide/package.json | 4 ++-- packages/tachyons/package.json | 4 ++-- packages/tailwind/package.json | 4 ++-- packages/theme-provider/package.json | 4 ++-- packages/theme-ui/package.json | 4 ++-- packages/typography/package.json | 4 ++-- tsconfig.json | 3 ++- 39 files changed, 72 insertions(+), 70 deletions(-) diff --git a/packages/chrome/package.json b/packages/chrome/package.json index 1837a91bf..8b0c83fdb 100644 --- a/packages/chrome/package.json +++ b/packages/chrome/package.json @@ -2,9 +2,10 @@ "private": true, "name": "@theme-ui/chrome", "version": "0.4.0-rc.5", - "main": "index.js", "author": "Brent Jackson", "license": "MIT", + "main": "dist/chrome.cjs.js", + "module": "dist/chrome.esm.js", "scripts": { "__prepare": "webpack --mode=production", "watch": "webpack --watch --mode=production", diff --git a/packages/color-modes/package.json b/packages/color-modes/package.json index bf9d3a18a..517a11b4c 100644 --- a/packages/color-modes/package.json +++ b/packages/color-modes/package.json @@ -1,8 +1,8 @@ { "name": "@theme-ui/color-modes", "version": "0.4.0-rc.5", - "main": "dist/index.js", - "module": "dist/index.esm.js", + "main": "dist/color-modes.cjs.js", + "module": "dist/color-modes.esm.js", "types": "dist/index.d.ts", "source": "src/index.tsx", "sideEffects": false, diff --git a/packages/color/package.json b/packages/color/package.json index 3eb456766..370ae2c0d 100644 --- a/packages/color/package.json +++ b/packages/color/package.json @@ -2,8 +2,8 @@ "name": "@theme-ui/color", "version": "0.4.0-rc.5", "source": "src/index.ts", - "main": "dist/index.js", - "module": "dist/index.esm.js", + "main": "dist/color.cjs.js", + "module": "dist/color.esm.js", "types": "dist/index.d.ts", "scripts": { "prepare": "microbundle --no-compress", diff --git a/packages/components/package.json b/packages/components/package.json index e8a22fc35..69bce4395 100644 --- a/packages/components/package.json +++ b/packages/components/package.json @@ -1,8 +1,8 @@ { "name": "@theme-ui/components", "version": "0.4.0-rc.5", - "main": "dist/index.js", - "module": "dist/index.esm.js", + "main": "dist/components.cjs.js", + "module": "dist/components.esm.js", "types": "index.d.ts", "sideEffects": false, "scripts": { diff --git a/packages/core/package.json b/packages/core/package.json index 9f441c00e..cfe4a2242 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -2,8 +2,8 @@ "name": "@theme-ui/core", "version": "0.4.0-rc.5", "source": "src/index.ts", - "main": "dist/index.js", - "module": "dist/index.esm.js", + "main": "dist/core.cjs.js", + "module": "dist/core.esm.js", "types": "dist/index.d.ts", "sideEffects": false, "scripts": { diff --git a/packages/css/package.json b/packages/css/package.json index d196ff036..466eb2576 100644 --- a/packages/css/package.json +++ b/packages/css/package.json @@ -2,8 +2,8 @@ "name": "@theme-ui/css", "version": "0.4.0-rc.5", "source": "src/index.ts", - "main": "dist/index.js", - "module": "dist/index.esm.js", + "main": "dist/css.cjs.js", + "module": "dist/css.esm.js", "types": "dist/index.d.ts", "sideEffects": false, "scripts": { diff --git a/packages/custom-properties/package.json b/packages/custom-properties/package.json index 9f27d4f9a..8ba667d4e 100644 --- a/packages/custom-properties/package.json +++ b/packages/custom-properties/package.json @@ -3,8 +3,8 @@ "description": "Generate CSS custom properties for use with Theme UI", "version": "0.4.0-rc.5", "source": "src/index.ts", - "main": "dist/index.js", - "module": "dist/index.esm.js", + "main": "dist/custom-properties.cjs.js", + "module": "dist/custom-properties.esm.js", "types": "dist/index.d.ts", "author": "Alex Page ", "license": "MIT", diff --git a/packages/docs/package.json b/packages/docs/package.json index a49fc4a99..db76ef7ff 100644 --- a/packages/docs/package.json +++ b/packages/docs/package.json @@ -2,7 +2,7 @@ "private": true, "name": "docs", "version": "0.4.0-rc.5", - "main": "index.js", + "main": "dist/docs.cjs.js", "author": "Brent Jackson ", "license": "MIT", "scripts": { diff --git a/packages/editor/package.json b/packages/editor/package.json index 395549355..08c178dc2 100644 --- a/packages/editor/package.json +++ b/packages/editor/package.json @@ -1,8 +1,8 @@ { "name": "@theme-ui/editor", "version": "0.4.0-rc.5", - "main": "dist/index.js", - "module": "dist/index.esm.js", + "main": "dist/editor.cjs.js", + "module": "dist/editor.esm.js", "types": "dist/index.d.ts", "author": "Brent Jackson", "license": "MIT", diff --git a/packages/gatsby-plugin-theme-ui/package.json b/packages/gatsby-plugin-theme-ui/package.json index 8b0bbed70..2775308af 100644 --- a/packages/gatsby-plugin-theme-ui/package.json +++ b/packages/gatsby-plugin-theme-ui/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-plugin-theme-ui", "version": "0.4.0-rc.5", - "main": "index.js", + "main": "dist/gatsby-plugin-theme-ui.cjs.js", "author": "Brent Jackson", "license": "MIT", "peerDependencies": { diff --git a/packages/gatsby-theme-code-recipes/package.json b/packages/gatsby-theme-code-recipes/package.json index 177cb0b61..a95d11c2f 100644 --- a/packages/gatsby-theme-code-recipes/package.json +++ b/packages/gatsby-theme-code-recipes/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-theme-code-recipes", "version": "0.4.0-rc.5", - "main": "index.js", + "main": "dist/gatsby-theme-code-recipes.cjs.js", "license": "MIT", "peerDependencies": { "gatsby": "^2.13.1", diff --git a/packages/gatsby-theme-style-guide/package.json b/packages/gatsby-theme-style-guide/package.json index 28477c833..8d67ac50d 100644 --- a/packages/gatsby-theme-style-guide/package.json +++ b/packages/gatsby-theme-style-guide/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-theme-style-guide", "version": "0.4.0-rc.5", - "main": "index.js", + "main": "dist/gatsby-theme-style-guide.cjs.js", "license": "MIT", "peerDependencies": { "gatsby": "^2.13.1", diff --git a/packages/gatsby-theme-ui-layout/package.json b/packages/gatsby-theme-ui-layout/package.json index 27f7a02bc..da1406de1 100644 --- a/packages/gatsby-theme-ui-layout/package.json +++ b/packages/gatsby-theme-ui-layout/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-theme-ui-layout", "version": "0.4.0-rc.5", - "main": "index.js", + "main": "dist/gatsby-theme-ui-layout.cjs.js", "repository": "system-ui/theme-ui", "peerDependencies": { "gatsby": "^2.13.1", diff --git a/packages/match-media/package.json b/packages/match-media/package.json index 6a9baf6b4..58f2e3d16 100644 --- a/packages/match-media/package.json +++ b/packages/match-media/package.json @@ -3,8 +3,8 @@ "version": "0.4.0-rc.5", "description": "React hooks for theme-ui breakpoints", "source": "src/index.ts", - "main": "dist/index.js", - "module": "dist/index.esm.js", + "main": "dist/match-media.cjs.js", + "module": "dist/match-media.esm.js", "types": "dist/index.d.ts", "author": "Brent Jackson ", "license": "MIT", diff --git a/packages/mdx/package.json b/packages/mdx/package.json index ef2c20cf7..4c6ca9ed1 100644 --- a/packages/mdx/package.json +++ b/packages/mdx/package.json @@ -2,8 +2,8 @@ "name": "@theme-ui/mdx", "version": "0.4.0-rc.5", "source": "src/index.ts", - "main": "dist/index.js", - "module": "dist/index.esm.js", + "main": "dist/mdx.cjs.js", + "module": "dist/mdx.esm.js", "types": "dist/index.d.ts", "sideEffects": false, "scripts": { diff --git a/packages/preset-base/package.json b/packages/preset-base/package.json index 37f84f949..33b1a9431 100644 --- a/packages/preset-base/package.json +++ b/packages/preset-base/package.json @@ -1,8 +1,8 @@ { "name": "@theme-ui/preset-base", "version": "0.4.0-rc.5", - "main": "dist/index.js", - "module": "dist/index.esm.js", + "main": "dist/preset-base.cjs.js", + "module": "dist/preset-base.esm.js", "author": "Brent Jackson", "license": "MIT", "repository": "system-ui/theme-ui", diff --git a/packages/preset-bootstrap/package.json b/packages/preset-bootstrap/package.json index afcb9e862..489aaea7b 100644 --- a/packages/preset-bootstrap/package.json +++ b/packages/preset-bootstrap/package.json @@ -1,8 +1,8 @@ { "name": "@theme-ui/preset-bootstrap", "version": "0.4.0-rc.5", - "main": "dist/index.js", - "module": "dist/index.esm.js", + "main": "dist/preset-bootstrap.cjs.js", + "module": "dist/preset-bootstrap.esm.js", "types": "dist/index.d.ts", "source": "src/index.ts", "author": "Brent Jackson", diff --git a/packages/preset-bulma/package.json b/packages/preset-bulma/package.json index 0f5c6d97f..32ab913e7 100644 --- a/packages/preset-bulma/package.json +++ b/packages/preset-bulma/package.json @@ -1,8 +1,8 @@ { "name": "@theme-ui/preset-bulma", "version": "0.4.0-rc.5", - "main": "dist/index.js", - "module": "dist/index.esm.js", + "main": "dist/preset-bulma.cjs.js", + "module": "dist/preset-bulma.esm.js", "types": "dist/index.d.ts", "source": "src/index.ts", "author": "Brent Jackson", diff --git a/packages/preset-dark/package.json b/packages/preset-dark/package.json index 8d1f3f2bd..7c2ac9f16 100644 --- a/packages/preset-dark/package.json +++ b/packages/preset-dark/package.json @@ -1,8 +1,8 @@ { "name": "@theme-ui/preset-dark", "version": "0.4.0-rc.5", - "main": "dist/index.js", - "module": "dist/index.esm.js", + "main": "dist/preset-dark.cjs.js", + "module": "dist/preset-dark.esm.js", "types": "dist/index.d.ts", "source": "src/index.ts", "author": "Brent Jackson", diff --git a/packages/preset-deep/package.json b/packages/preset-deep/package.json index ef9b8cee8..953ada78a 100644 --- a/packages/preset-deep/package.json +++ b/packages/preset-deep/package.json @@ -1,8 +1,8 @@ { "name": "@theme-ui/preset-deep", "version": "0.4.0-rc.5", - "main": "dist/index.js", - "module": "dist/index.esm.js", + "main": "dist/preset-deep.cjs.js", + "module": "dist/preset-deep.esm.js", "types": "dist/index.d.ts", "source": "src/index.ts", "author": "Brent Jackson", diff --git a/packages/preset-funk/package.json b/packages/preset-funk/package.json index 43b2ead3c..76520ba15 100644 --- a/packages/preset-funk/package.json +++ b/packages/preset-funk/package.json @@ -1,8 +1,8 @@ { "name": "@theme-ui/preset-funk", "version": "0.4.0-rc.5", - "main": "dist/index.js", - "module": "dist/index.esm.js", + "main": "dist/preset-funk.cjs.js", + "module": "dist/preset-funk.esm.js", "types": "dist/index.d.ts", "source": "src/index.ts", "author": "Brent Jackson", diff --git a/packages/preset-future/package.json b/packages/preset-future/package.json index a95653b6d..54da66456 100644 --- a/packages/preset-future/package.json +++ b/packages/preset-future/package.json @@ -1,8 +1,8 @@ { "name": "@theme-ui/preset-future", "version": "0.4.0-rc.5", - "main": "dist/index.js", - "module": "dist/index.esm.js", + "main": "dist/preset-future.cjs.js", + "module": "dist/preset-future.esm.js", "types": "dist/index.d.ts", "source": "src/index.ts", "author": "Brent Jackson", diff --git a/packages/preset-polaris/package.json b/packages/preset-polaris/package.json index 6aecec5dd..de2b45896 100644 --- a/packages/preset-polaris/package.json +++ b/packages/preset-polaris/package.json @@ -1,8 +1,8 @@ { "name": "@theme-ui/preset-polaris", "version": "0.4.0-rc.5", - "main": "dist/index.js", - "module": "dist/index.esm.js", + "main": "dist/preset-polaris.cjs.js", + "module": "dist/preset-polaris.esm.js", "source": "src/index.ts", "types": "dist/index.d.ts", "author": "Yuraima Estevez", diff --git a/packages/preset-roboto/package.json b/packages/preset-roboto/package.json index d5e44ebcd..46b79638b 100644 --- a/packages/preset-roboto/package.json +++ b/packages/preset-roboto/package.json @@ -1,8 +1,8 @@ { "name": "@theme-ui/preset-roboto", "version": "0.4.0-rc.5", - "main": "dist/index.js", - "module": "dist/index.esm.js", + "main": "dist/preset-roboto.cjs.js", + "module": "dist/preset-roboto.esm.js", "types": "dist/index.d.ts", "source": "src/index.ts", "author": "Brent Jackson", diff --git a/packages/preset-sketchy/package.json b/packages/preset-sketchy/package.json index f02b7ea62..c69dba4f1 100644 --- a/packages/preset-sketchy/package.json +++ b/packages/preset-sketchy/package.json @@ -1,8 +1,8 @@ { "name": "@theme-ui/preset-sketchy", "version": "0.4.0-rc.5", - "main": "dist/index.js", - "module": "dist/index.esm.js", + "main": "dist/preset-sketchy.cjs.js", + "module": "dist/preset-sketchy.esm.js", "types": "dist/index.d.ts", "source": "src/index.ts", "author": "Aleksandra Sikora", diff --git a/packages/preset-swiss/package.json b/packages/preset-swiss/package.json index 59831036f..b08f7a34c 100644 --- a/packages/preset-swiss/package.json +++ b/packages/preset-swiss/package.json @@ -1,8 +1,8 @@ { "name": "@theme-ui/preset-swiss", "version": "0.4.0-rc.5", - "main": "dist/index.js", - "module": "dist/index.esm.js", + "main": "dist/preset-swiss.cjs.js", + "module": "dist/preset-swiss.esm.js", "types": "dist/index.d.ts", "source": "src/index.ts", "author": "Brent Jackson", diff --git a/packages/preset-system/package.json b/packages/preset-system/package.json index 45476fa8d..1a1b9cbf7 100644 --- a/packages/preset-system/package.json +++ b/packages/preset-system/package.json @@ -1,8 +1,8 @@ { "name": "@theme-ui/preset-system", "version": "0.4.0-rc.5", - "main": "dist/index.js", - "module": "dist/index.esm.js", + "main": "dist/preset-system.cjs.js", + "module": "dist/preset-system.esm.js", "types": "dist/index.d.ts", "source": "src/index.ts", "author": "Brent Jackson", diff --git a/packages/preset-tailwind/package.json b/packages/preset-tailwind/package.json index 9b42d5a36..f67d7b455 100644 --- a/packages/preset-tailwind/package.json +++ b/packages/preset-tailwind/package.json @@ -1,8 +1,8 @@ { "name": "@theme-ui/preset-tailwind", "version": "0.4.0-rc.5", - "main": "dist/index.js", - "module": "dist/index.esm.js", + "main": "dist/preset-tailwind.cjs.js", + "module": "dist/preset-tailwind.esm.js", "types": "dist/index.d.ts", "source": "src/index.ts", "author": "Brent Jackson", diff --git a/packages/preset-tosh/package.json b/packages/preset-tosh/package.json index 6c636816e..8a0fc7815 100644 --- a/packages/preset-tosh/package.json +++ b/packages/preset-tosh/package.json @@ -1,8 +1,8 @@ { "name": "@theme-ui/preset-tosh", "version": "0.4.0-rc.5", - "main": "dist/index.js", - "module": "dist/index.esm.js", + "main": "dist/preset-tosh.cjs.js", + "module": "dist/preset-tosh.esm.js", "types": "dist/index.d.ts", "source": "src/index.ts", "author": "John Otander", diff --git a/packages/presets/package.json b/packages/presets/package.json index f85109e71..428a7e354 100644 --- a/packages/presets/package.json +++ b/packages/presets/package.json @@ -1,8 +1,8 @@ { "name": "@theme-ui/presets", "version": "0.4.0-rc.5", - "main": "dist/index.js", - "module": "dist/index.esm.js", + "main": "dist/presets.cjs.js", + "module": "dist/presets.esm.js", "types": "dist/index.d.ts", "source": "src/index.ts", "author": "Brent Jackson", diff --git a/packages/prism/package.json b/packages/prism/package.json index ffdaef5a7..8da1a0452 100644 --- a/packages/prism/package.json +++ b/packages/prism/package.json @@ -1,7 +1,7 @@ { "name": "@theme-ui/prism", "version": "0.4.0-rc.5", - "main": "dist/prism.js", + "main": "dist/prism.cjs.js", "module": "dist/prism.esm.js", "types": "dist/index.d.ts", "source": "src/index.tsx", diff --git a/packages/sidenav/package.json b/packages/sidenav/package.json index 0e03fb2aa..23264fe93 100644 --- a/packages/sidenav/package.json +++ b/packages/sidenav/package.json @@ -1,8 +1,8 @@ { "name": "@theme-ui/sidenav", "version": "0.4.0-rc.5", - "main": "dist/index.js", - "module": "dist/index.esm.js", + "main": "dist/sidenav.cjs.js", + "module": "dist/sidenav.esm.js", "types": "dist/index.d.ts", "sideEffects": false, "license": "MIT", diff --git a/packages/style-guide/package.json b/packages/style-guide/package.json index 51761bb58..4c0d3c940 100644 --- a/packages/style-guide/package.json +++ b/packages/style-guide/package.json @@ -1,8 +1,8 @@ { "name": "@theme-ui/style-guide", "version": "0.4.0-rc.5", - "main": "dist/index.js", - "module": "dist/index.esm.js", + "main": "dist/style-guide.cjs.js", + "module": "dist/style-guide.esm.js", "types": "dist/index.d.ts", "source": "src/index.ts", "author": "Brent Jackson", diff --git a/packages/tachyons/package.json b/packages/tachyons/package.json index 4e3d7722b..864720435 100644 --- a/packages/tachyons/package.json +++ b/packages/tachyons/package.json @@ -2,8 +2,8 @@ "name": "@theme-ui/tachyons", "description": "Generate static CSS for use outside of React with Theme UI and Tachyons", "version": "0.4.0-rc.5", - "main": "dist/index.js", - "module": "dist/index.esm.js", + "main": "dist/tachyons.cjs.js", + "module": "dist/tachyons.esm.js", "source": "src/index.ts", "types": "dist/index.d.ts", "author": "John Otander ", diff --git a/packages/tailwind/package.json b/packages/tailwind/package.json index fe1f0893a..cef147b3e 100644 --- a/packages/tailwind/package.json +++ b/packages/tailwind/package.json @@ -2,8 +2,8 @@ "name": "@theme-ui/tailwind", "description": "Generate static CSS for use outside of React with Theme UI and Tailwind.css", "version": "0.4.0-rc.5", - "main": "dist/index.js", - "module": "dist/index.esm.js", + "main": "dist/tailwind.cjs.js", + "module": "dist/tailwind.esm.js", "source": "src/index.ts", "types": "dist/index.d.ts", "author": "John Otander ", diff --git a/packages/theme-provider/package.json b/packages/theme-provider/package.json index a51697fb3..df1590977 100644 --- a/packages/theme-provider/package.json +++ b/packages/theme-provider/package.json @@ -1,8 +1,8 @@ { "name": "@theme-ui/theme-provider", "version": "0.4.0-rc.5", - "main": "dist/index.js", - "module": "dist/index.esm.js", + "main": "dist/theme-provider.cjs.js", + "module": "dist/theme-provider.esm.js", "source": "src/index.ts", "types": "dist/index.d.ts", "sideEffects": false, diff --git a/packages/theme-ui/package.json b/packages/theme-ui/package.json index fc463f6a6..f70e9c2d5 100644 --- a/packages/theme-ui/package.json +++ b/packages/theme-ui/package.json @@ -3,8 +3,8 @@ "version": "0.4.0-rc.5", "description": "The Design Graph Framework", "source": "src/index.ts", - "main": "dist/index.js", - "module": "dist/index.esm.js", + "main": "dist/theme-ui.cjs.js", + "module": "dist/theme-ui.esm.js", "types": "dist/index.d.ts", "sideEffects": false, "author": "Brent Jackson ", diff --git a/packages/typography/package.json b/packages/typography/package.json index 62ca5ad80..0acb8a7b5 100644 --- a/packages/typography/package.json +++ b/packages/typography/package.json @@ -1,8 +1,8 @@ { "name": "@theme-ui/typography", "version": "0.4.0-rc.5", - "main": "dist/index.js", - "module": "dist/index.esm.js", + "main": "dist/typography.cjs.js", + "module": "dist/typography.esm.js", "source": "src/index.ts", "types": "dist/index.d.ts", "author": "Brent Jackson ", diff --git a/tsconfig.json b/tsconfig.json index 497e502bd..6dbc75b47 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -4,6 +4,7 @@ "esModuleInterop": true, "moduleResolution": "node", "strict": true, - "jsx": "react" + "jsx": "react", + "noEmit": true /* Do not emit outputs. */ } } From 7c0609cdcf8d913ef2ee5cba74f57169037c658b Mon Sep 17 00:00:00 2001 From: Alex Chan Date: Fri, 2 Oct 2020 09:24:38 -0600 Subject: [PATCH 023/377] Fix mdx deps --- packages/mdx/package.json | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/packages/mdx/package.json b/packages/mdx/package.json index 4c6ca9ed1..272039e87 100644 --- a/packages/mdx/package.json +++ b/packages/mdx/package.json @@ -14,9 +14,7 @@ "dependencies": { "@emotion/core": "^10.0.0", "@emotion/styled": "^10.0.0", - "@mdx-js/react": "^1.0.0" - }, - "devDependencies": { + "@mdx-js/react": "^1.0.0", "@theme-ui/core": "^0.4.0-rc.5", "@theme-ui/css": "^0.4.0-rc.5" }, From a4d93d4ab561bf5fb5810848c502396c76a12bc1 Mon Sep 17 00:00:00 2001 From: Alex Chan Date: Fri, 2 Oct 2020 09:24:53 -0600 Subject: [PATCH 024/377] Exclude docs from preconstruct packaging --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 8864d4fe4..45638f810 100644 --- a/package.json +++ b/package.json @@ -119,7 +119,8 @@ }, "preconstruct": { "packages": [ - "packages/*" + "packages/*", + "!packages/docs" ] } } From 5fac4ae57812a9a55d8df84feb3608562c2eaa87 Mon Sep 17 00:00:00 2001 From: Alex Chan Date: Fri, 2 Oct 2020 09:29:55 -0600 Subject: [PATCH 025/377] Add missing dependency --- packages/theme-provider/package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/theme-provider/package.json b/packages/theme-provider/package.json index df1590977..8112a1b28 100644 --- a/packages/theme-provider/package.json +++ b/packages/theme-provider/package.json @@ -15,7 +15,8 @@ "@emotion/core": "^10.0.0", "@theme-ui/color-modes": "^0.4.0-rc.5", "@theme-ui/core": "^0.4.0-rc.5", - "@theme-ui/mdx": "^0.4.0-rc.5" + "@theme-ui/mdx": "^0.4.0-rc.5", + "@theme-ui/css": "^0.4.0-rc.5" }, "peerDependencies": { "react": "^16.11.0", From 1b21a5711b993dac2d640a76d0d355d5d3ddd093 Mon Sep 17 00:00:00 2001 From: Alex Chan Date: Fri, 2 Oct 2020 09:30:37 -0600 Subject: [PATCH 026/377] Add a default module type --- tsconfig.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tsconfig.json b/tsconfig.json index 6dbc75b47..fba2498b0 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -5,6 +5,7 @@ "moduleResolution": "node", "strict": true, "jsx": "react", - "noEmit": true /* Do not emit outputs. */ + "noEmit": true /* Do not emit outputs. */, + "module": "es2015" /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */ } } From ef15d56124bcf7243b53c4bed6767f5404aec1d1 Mon Sep 17 00:00:00 2001 From: Alex Chan Date: Fri, 2 Oct 2020 09:33:02 -0600 Subject: [PATCH 027/377] Fix type export --- packages/typography/src/index.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/packages/typography/src/index.ts b/packages/typography/src/index.ts index 6bb2ddb90..dd5650d69 100644 --- a/packages/typography/src/index.ts +++ b/packages/typography/src/index.ts @@ -1,3 +1,6 @@ export { toTheme } from './to-theme' export { styles } from './styles' -export { CustomTypographyOptions, ThemeTypographyRhythm as CustomVerticalRhythm } from './to-theme' +export type { + CustomTypographyOptions, + ThemeTypographyRhythm as CustomVerticalRhythm, +} from './to-theme' From 3b5173027880f23eb603b13f2210c6314e680e98 Mon Sep 17 00:00:00 2001 From: Alex Chan Date: Fri, 2 Oct 2020 09:39:29 -0600 Subject: [PATCH 028/377] Remove unused files --- packages/chrome/babel.config.js | 1 - packages/chrome/tsconfig.json | 8 -------- packages/chrome/webpack.config.js | 17 ----------------- packages/color-modes/tsconfig.json | 7 ------- packages/color/tsconfig.json | 4 ---- packages/components/tsconfig.json | 10 ---------- packages/core/tsconfig.json | 9 --------- packages/css/tsconfig.json | 7 ------- packages/custom-properties/babel.config.js | 1 - packages/custom-properties/tsconfig.json | 3 --- packages/editor/tsconfig.json | 9 --------- packages/match-media/tsconfig.json | 3 --- packages/mdx/tsconfig.json | 4 ---- packages/preset-base/tsconfig.json | 3 --- packages/preset-bootstrap/tsconfig.json | 3 --- packages/preset-bulma/babel.config.js | 1 - packages/preset-bulma/tsconfig.json | 3 --- packages/preset-dark/babel.config.js | 1 - packages/preset-dark/tsconfig.json | 3 --- packages/preset-deep/babel.config.js | 1 - packages/preset-deep/tsconfig.json | 3 --- packages/preset-funk/babel.config.js | 1 - packages/preset-funk/tsconfig.json | 3 --- packages/preset-future/babel.config.js | 1 - packages/preset-future/tsconfig.json | 3 --- packages/preset-polaris/babel.config.js | 1 - packages/preset-polaris/tsconfig.json | 3 --- packages/preset-roboto/babel.config.js | 1 - packages/preset-roboto/tsconfig.json | 3 --- packages/preset-sketchy/babel.config.js | 1 - packages/preset-sketchy/tsconfig.json | 3 --- packages/preset-swiss/babel.config.js | 1 - packages/preset-swiss/tsconfig.json | 3 --- packages/preset-system/babel.config.js | 1 - packages/preset-system/tsconfig.json | 3 --- packages/preset-tailwind/babel.config.js | 1 - packages/preset-tailwind/tsconfig.json | 3 --- packages/preset-tosh/babel.config.js | 1 - packages/preset-tosh/tsconfig.json | 3 --- packages/presets/babel.config.js | 1 - packages/presets/tsconfig.json | 3 --- packages/prism/babel.config.js | 1 - packages/prism/tsconfig.json | 7 ------- packages/sidenav/tsconfig.json | 8 -------- packages/style-guide/babel.config.js | 1 - packages/style-guide/tsconfig.json | 7 ------- packages/tachyons/babel.config.js | 1 - packages/tachyons/tsconfig.json | 3 --- packages/tailwind/babel.config.js | 1 - packages/tailwind/tsconfig.json | 4 ---- packages/theme-provider/tsconfig.json | 4 ---- packages/theme-ui/babel.config.js | 1 - packages/typography/tsconfig.json | 7 ------- 53 files changed, 186 deletions(-) delete mode 100644 packages/chrome/babel.config.js delete mode 100644 packages/chrome/tsconfig.json delete mode 100644 packages/chrome/webpack.config.js delete mode 100644 packages/color-modes/tsconfig.json delete mode 100644 packages/color/tsconfig.json delete mode 100644 packages/components/tsconfig.json delete mode 100644 packages/core/tsconfig.json delete mode 100644 packages/css/tsconfig.json delete mode 100644 packages/custom-properties/babel.config.js delete mode 100644 packages/custom-properties/tsconfig.json delete mode 100644 packages/editor/tsconfig.json delete mode 100644 packages/match-media/tsconfig.json delete mode 100644 packages/mdx/tsconfig.json delete mode 100644 packages/preset-base/tsconfig.json delete mode 100644 packages/preset-bootstrap/tsconfig.json delete mode 100644 packages/preset-bulma/babel.config.js delete mode 100644 packages/preset-bulma/tsconfig.json delete mode 100644 packages/preset-dark/babel.config.js delete mode 100644 packages/preset-dark/tsconfig.json delete mode 100644 packages/preset-deep/babel.config.js delete mode 100644 packages/preset-deep/tsconfig.json delete mode 100644 packages/preset-funk/babel.config.js delete mode 100644 packages/preset-funk/tsconfig.json delete mode 100644 packages/preset-future/babel.config.js delete mode 100644 packages/preset-future/tsconfig.json delete mode 100644 packages/preset-polaris/babel.config.js delete mode 100644 packages/preset-polaris/tsconfig.json delete mode 100644 packages/preset-roboto/babel.config.js delete mode 100644 packages/preset-roboto/tsconfig.json delete mode 100644 packages/preset-sketchy/babel.config.js delete mode 100644 packages/preset-sketchy/tsconfig.json delete mode 100644 packages/preset-swiss/babel.config.js delete mode 100644 packages/preset-swiss/tsconfig.json delete mode 100644 packages/preset-system/babel.config.js delete mode 100644 packages/preset-system/tsconfig.json delete mode 100644 packages/preset-tailwind/babel.config.js delete mode 100644 packages/preset-tailwind/tsconfig.json delete mode 100644 packages/preset-tosh/babel.config.js delete mode 100644 packages/preset-tosh/tsconfig.json delete mode 100644 packages/presets/babel.config.js delete mode 100644 packages/presets/tsconfig.json delete mode 100644 packages/prism/babel.config.js delete mode 100644 packages/prism/tsconfig.json delete mode 100644 packages/sidenav/tsconfig.json delete mode 100644 packages/style-guide/babel.config.js delete mode 100644 packages/style-guide/tsconfig.json delete mode 100644 packages/tachyons/babel.config.js delete mode 100644 packages/tachyons/tsconfig.json delete mode 100644 packages/tailwind/babel.config.js delete mode 100644 packages/tailwind/tsconfig.json delete mode 100644 packages/theme-provider/tsconfig.json delete mode 100644 packages/theme-ui/babel.config.js delete mode 100644 packages/typography/tsconfig.json diff --git a/packages/chrome/babel.config.js b/packages/chrome/babel.config.js deleted file mode 100644 index 46bf5309f..000000000 --- a/packages/chrome/babel.config.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('../../babel.config') diff --git a/packages/chrome/tsconfig.json b/packages/chrome/tsconfig.json deleted file mode 100644 index c9468836d..000000000 --- a/packages/chrome/tsconfig.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "extends": "../../tsconfig.json", - "compilerOptions": { - "lib": ["ES2015", "DOM"], - "jsx": "react" - }, - "include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.d.ts", "global.d.ts"] -} diff --git a/packages/chrome/webpack.config.js b/packages/chrome/webpack.config.js deleted file mode 100644 index 69c5e7af2..000000000 --- a/packages/chrome/webpack.config.js +++ /dev/null @@ -1,17 +0,0 @@ -const path = require('path') - -module.exports = { - entry: ['./src/index.tsx'], - output: { - path: path.resolve(__dirname, 'public', 'bundle'), - filename: 'index.js', - }, - module: { - rules: [ - { - test: /\.tsx?$/, - use: 'babel-loader', - }, - ], - }, -} diff --git a/packages/color-modes/tsconfig.json b/packages/color-modes/tsconfig.json deleted file mode 100644 index 687dc5540..000000000 --- a/packages/color-modes/tsconfig.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "extends": "../../tsconfig.json", - "compilerOptions": { - "jsx": "react" - }, - "include": ["src"] -} diff --git a/packages/color/tsconfig.json b/packages/color/tsconfig.json deleted file mode 100644 index 36be9b168..000000000 --- a/packages/color/tsconfig.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "extends": "../../tsconfig.json", - "include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.d.ts"] -} diff --git a/packages/components/tsconfig.json b/packages/components/tsconfig.json deleted file mode 100644 index e8abfbb5e..000000000 --- a/packages/components/tsconfig.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "extends": "../../tsconfig.json", - "include": [ - "src/**/*.ts", - "src/**/*.tsx", - "test/**/*.ts", - "test/**/*.tsx", - "index.d.ts" - ] -} diff --git a/packages/core/tsconfig.json b/packages/core/tsconfig.json deleted file mode 100644 index 9d4e66858..000000000 --- a/packages/core/tsconfig.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "extends": "../../tsconfig.json", - "compilerOptions": { - "jsx": "react", - "strict": false, - "strictFunctionTypes": true - }, - "include": ["./src/**/*.ts", "./src/**/*.tsx"] -} diff --git a/packages/css/tsconfig.json b/packages/css/tsconfig.json deleted file mode 100644 index 5a6d81437..000000000 --- a/packages/css/tsconfig.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "extends": "../../tsconfig.json", - "compilerOptions": { - "strict": true - }, - "include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.d.ts"] -} diff --git a/packages/custom-properties/babel.config.js b/packages/custom-properties/babel.config.js deleted file mode 100644 index 46bf5309f..000000000 --- a/packages/custom-properties/babel.config.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('../../babel.config') diff --git a/packages/custom-properties/tsconfig.json b/packages/custom-properties/tsconfig.json deleted file mode 100644 index 4082f16a5..000000000 --- a/packages/custom-properties/tsconfig.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../tsconfig.json" -} diff --git a/packages/editor/tsconfig.json b/packages/editor/tsconfig.json deleted file mode 100644 index 9d4e66858..000000000 --- a/packages/editor/tsconfig.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "extends": "../../tsconfig.json", - "compilerOptions": { - "jsx": "react", - "strict": false, - "strictFunctionTypes": true - }, - "include": ["./src/**/*.ts", "./src/**/*.tsx"] -} diff --git a/packages/match-media/tsconfig.json b/packages/match-media/tsconfig.json deleted file mode 100644 index 4082f16a5..000000000 --- a/packages/match-media/tsconfig.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../tsconfig.json" -} diff --git a/packages/mdx/tsconfig.json b/packages/mdx/tsconfig.json deleted file mode 100644 index 36be9b168..000000000 --- a/packages/mdx/tsconfig.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "extends": "../../tsconfig.json", - "include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.d.ts"] -} diff --git a/packages/preset-base/tsconfig.json b/packages/preset-base/tsconfig.json deleted file mode 100644 index 4082f16a5..000000000 --- a/packages/preset-base/tsconfig.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../tsconfig.json" -} diff --git a/packages/preset-bootstrap/tsconfig.json b/packages/preset-bootstrap/tsconfig.json deleted file mode 100644 index 4082f16a5..000000000 --- a/packages/preset-bootstrap/tsconfig.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../tsconfig.json" -} diff --git a/packages/preset-bulma/babel.config.js b/packages/preset-bulma/babel.config.js deleted file mode 100644 index 46bf5309f..000000000 --- a/packages/preset-bulma/babel.config.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('../../babel.config') diff --git a/packages/preset-bulma/tsconfig.json b/packages/preset-bulma/tsconfig.json deleted file mode 100644 index 4082f16a5..000000000 --- a/packages/preset-bulma/tsconfig.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../tsconfig.json" -} diff --git a/packages/preset-dark/babel.config.js b/packages/preset-dark/babel.config.js deleted file mode 100644 index 46bf5309f..000000000 --- a/packages/preset-dark/babel.config.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('../../babel.config') diff --git a/packages/preset-dark/tsconfig.json b/packages/preset-dark/tsconfig.json deleted file mode 100644 index 4082f16a5..000000000 --- a/packages/preset-dark/tsconfig.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../tsconfig.json" -} diff --git a/packages/preset-deep/babel.config.js b/packages/preset-deep/babel.config.js deleted file mode 100644 index 46bf5309f..000000000 --- a/packages/preset-deep/babel.config.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('../../babel.config') diff --git a/packages/preset-deep/tsconfig.json b/packages/preset-deep/tsconfig.json deleted file mode 100644 index 4082f16a5..000000000 --- a/packages/preset-deep/tsconfig.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../tsconfig.json" -} diff --git a/packages/preset-funk/babel.config.js b/packages/preset-funk/babel.config.js deleted file mode 100644 index 46bf5309f..000000000 --- a/packages/preset-funk/babel.config.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('../../babel.config') diff --git a/packages/preset-funk/tsconfig.json b/packages/preset-funk/tsconfig.json deleted file mode 100644 index 4082f16a5..000000000 --- a/packages/preset-funk/tsconfig.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../tsconfig.json" -} diff --git a/packages/preset-future/babel.config.js b/packages/preset-future/babel.config.js deleted file mode 100644 index 46bf5309f..000000000 --- a/packages/preset-future/babel.config.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('../../babel.config') diff --git a/packages/preset-future/tsconfig.json b/packages/preset-future/tsconfig.json deleted file mode 100644 index 4082f16a5..000000000 --- a/packages/preset-future/tsconfig.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../tsconfig.json" -} diff --git a/packages/preset-polaris/babel.config.js b/packages/preset-polaris/babel.config.js deleted file mode 100644 index 46bf5309f..000000000 --- a/packages/preset-polaris/babel.config.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('../../babel.config') diff --git a/packages/preset-polaris/tsconfig.json b/packages/preset-polaris/tsconfig.json deleted file mode 100644 index 4082f16a5..000000000 --- a/packages/preset-polaris/tsconfig.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../tsconfig.json" -} diff --git a/packages/preset-roboto/babel.config.js b/packages/preset-roboto/babel.config.js deleted file mode 100644 index 46bf5309f..000000000 --- a/packages/preset-roboto/babel.config.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('../../babel.config') diff --git a/packages/preset-roboto/tsconfig.json b/packages/preset-roboto/tsconfig.json deleted file mode 100644 index 4082f16a5..000000000 --- a/packages/preset-roboto/tsconfig.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../tsconfig.json" -} diff --git a/packages/preset-sketchy/babel.config.js b/packages/preset-sketchy/babel.config.js deleted file mode 100644 index 46bf5309f..000000000 --- a/packages/preset-sketchy/babel.config.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('../../babel.config') diff --git a/packages/preset-sketchy/tsconfig.json b/packages/preset-sketchy/tsconfig.json deleted file mode 100644 index 4082f16a5..000000000 --- a/packages/preset-sketchy/tsconfig.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../tsconfig.json" -} diff --git a/packages/preset-swiss/babel.config.js b/packages/preset-swiss/babel.config.js deleted file mode 100644 index 46bf5309f..000000000 --- a/packages/preset-swiss/babel.config.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('../../babel.config') diff --git a/packages/preset-swiss/tsconfig.json b/packages/preset-swiss/tsconfig.json deleted file mode 100644 index 4082f16a5..000000000 --- a/packages/preset-swiss/tsconfig.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../tsconfig.json" -} diff --git a/packages/preset-system/babel.config.js b/packages/preset-system/babel.config.js deleted file mode 100644 index 46bf5309f..000000000 --- a/packages/preset-system/babel.config.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('../../babel.config') diff --git a/packages/preset-system/tsconfig.json b/packages/preset-system/tsconfig.json deleted file mode 100644 index 4082f16a5..000000000 --- a/packages/preset-system/tsconfig.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../tsconfig.json" -} diff --git a/packages/preset-tailwind/babel.config.js b/packages/preset-tailwind/babel.config.js deleted file mode 100644 index 46bf5309f..000000000 --- a/packages/preset-tailwind/babel.config.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('../../babel.config') diff --git a/packages/preset-tailwind/tsconfig.json b/packages/preset-tailwind/tsconfig.json deleted file mode 100644 index 4082f16a5..000000000 --- a/packages/preset-tailwind/tsconfig.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../tsconfig.json" -} diff --git a/packages/preset-tosh/babel.config.js b/packages/preset-tosh/babel.config.js deleted file mode 100644 index 46bf5309f..000000000 --- a/packages/preset-tosh/babel.config.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('../../babel.config') diff --git a/packages/preset-tosh/tsconfig.json b/packages/preset-tosh/tsconfig.json deleted file mode 100644 index 4082f16a5..000000000 --- a/packages/preset-tosh/tsconfig.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../tsconfig.json" -} diff --git a/packages/presets/babel.config.js b/packages/presets/babel.config.js deleted file mode 100644 index 46bf5309f..000000000 --- a/packages/presets/babel.config.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('../../babel.config') diff --git a/packages/presets/tsconfig.json b/packages/presets/tsconfig.json deleted file mode 100644 index 4082f16a5..000000000 --- a/packages/presets/tsconfig.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../tsconfig.json" -} diff --git a/packages/prism/babel.config.js b/packages/prism/babel.config.js deleted file mode 100644 index 46bf5309f..000000000 --- a/packages/prism/babel.config.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('../../babel.config') diff --git a/packages/prism/tsconfig.json b/packages/prism/tsconfig.json deleted file mode 100644 index 687dc5540..000000000 --- a/packages/prism/tsconfig.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "extends": "../../tsconfig.json", - "compilerOptions": { - "jsx": "react" - }, - "include": ["src"] -} diff --git a/packages/sidenav/tsconfig.json b/packages/sidenav/tsconfig.json deleted file mode 100644 index c943600bd..000000000 --- a/packages/sidenav/tsconfig.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "extends": "../../tsconfig.json", - "compilerOptions": { - "strict": true, - "jsx": "react" - }, - "include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.d.ts"] -} diff --git a/packages/style-guide/babel.config.js b/packages/style-guide/babel.config.js deleted file mode 100644 index 46bf5309f..000000000 --- a/packages/style-guide/babel.config.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('../../babel.config') diff --git a/packages/style-guide/tsconfig.json b/packages/style-guide/tsconfig.json deleted file mode 100644 index 687dc5540..000000000 --- a/packages/style-guide/tsconfig.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "extends": "../../tsconfig.json", - "compilerOptions": { - "jsx": "react" - }, - "include": ["src"] -} diff --git a/packages/tachyons/babel.config.js b/packages/tachyons/babel.config.js deleted file mode 100644 index 46bf5309f..000000000 --- a/packages/tachyons/babel.config.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('../../babel.config') diff --git a/packages/tachyons/tsconfig.json b/packages/tachyons/tsconfig.json deleted file mode 100644 index 4082f16a5..000000000 --- a/packages/tachyons/tsconfig.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../tsconfig.json" -} diff --git a/packages/tailwind/babel.config.js b/packages/tailwind/babel.config.js deleted file mode 100644 index 46bf5309f..000000000 --- a/packages/tailwind/babel.config.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('../../babel.config') diff --git a/packages/tailwind/tsconfig.json b/packages/tailwind/tsconfig.json deleted file mode 100644 index ea497b092..000000000 --- a/packages/tailwind/tsconfig.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "extends": "../../tsconfig.json", - "exclude": ["test"] -} diff --git a/packages/theme-provider/tsconfig.json b/packages/theme-provider/tsconfig.json deleted file mode 100644 index 4b3acf012..000000000 --- a/packages/theme-provider/tsconfig.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "extends": "../core/tsconfig.json", - "include": ["src/**/*.ts", "src/**/*.tsx"] -} diff --git a/packages/theme-ui/babel.config.js b/packages/theme-ui/babel.config.js deleted file mode 100644 index 46bf5309f..000000000 --- a/packages/theme-ui/babel.config.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('../../babel.config') diff --git a/packages/typography/tsconfig.json b/packages/typography/tsconfig.json deleted file mode 100644 index 5a6d81437..000000000 --- a/packages/typography/tsconfig.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "extends": "../../tsconfig.json", - "compilerOptions": { - "strict": true - }, - "include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.d.ts"] -} From 1bf3af97fbbd6ac9f5ebb3b80d265ed801feedc5 Mon Sep 17 00:00:00 2001 From: Alex Chan Date: Fri, 2 Oct 2020 09:46:30 -0600 Subject: [PATCH 029/377] Run top level typecheck --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 45638f810..a80b2a051 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,7 @@ "clean": "lerna run clean", "format": "prettier --write \"**/*.js{,on}\" \"**/*.md\" \"**/*.mdx\"", "test": "jest", - "typecheck": "lerna run typecheck", + "typecheck": "tsc --noEmit", "logo": "yarn workspace docs logo", "dev:chrome": "yarn workspace @theme-ui/chrome dev", "dev:editor": "yarn workspace @theme-ui/editor dev" From e50b1266f7fe620ae422ee169e1f1beddc30e187 Mon Sep 17 00:00:00 2001 From: Alex Chan Date: Fri, 2 Oct 2020 09:47:20 -0600 Subject: [PATCH 030/377] Add dev initialization --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index a80b2a051..2610ee058 100644 --- a/package.json +++ b/package.json @@ -2,15 +2,15 @@ "name": "theme-ui", "private": true, "scripts": { - "postinstall": "preconstruct dev", "start": "yarn workspace docs start", - "build": "yarn workspace docs build", + "build": "preconstruct build", "serve": "yarn workspace docs serve --port 8000", "clean": "lerna run clean", "format": "prettier --write \"**/*.js{,on}\" \"**/*.md\" \"**/*.mdx\"", "test": "jest", "typecheck": "tsc --noEmit", "logo": "yarn workspace docs logo", + "dev:init": "preconstruct dev", "dev:chrome": "yarn workspace @theme-ui/chrome dev", "dev:editor": "yarn workspace @theme-ui/editor dev" }, From 976ba00b2bffa50e9daeb196a3168b851227c3e9 Mon Sep 17 00:00:00 2001 From: Alex Chan Date: Fri, 2 Oct 2020 09:56:29 -0600 Subject: [PATCH 031/377] Remove references to microbundle --- package.json | 1 - packages/color-modes/package.json | 6 +----- packages/color/package.json | 5 +---- packages/components/package.json | 6 +----- packages/core/package.json | 6 +----- packages/css/package.json | 6 +----- packages/custom-properties/package.json | 6 +----- packages/editor/package.json | 6 +----- packages/match-media/package.json | 6 +----- packages/mdx/package.json | 6 +----- packages/preset-base/package.json | 6 +----- packages/preset-bootstrap/package.json | 6 +----- packages/preset-bulma/package.json | 6 +----- packages/preset-dark/package.json | 6 +----- packages/preset-deep/package.json | 6 +----- packages/preset-funk/package.json | 6 +----- packages/preset-future/package.json | 6 +----- packages/preset-polaris/package.json | 6 +----- packages/preset-roboto/package.json | 6 +----- packages/preset-sketchy/package.json | 6 +----- packages/preset-swiss/package.json | 6 +----- packages/preset-system/package.json | 6 +----- packages/preset-tailwind/package.json | 6 +----- packages/preset-tosh/package.json | 6 +----- packages/presets/package.json | 6 +----- packages/prism/package.json | 5 +---- packages/sidenav/package.json | 6 +----- packages/style-guide/package.json | 6 +----- packages/tachyons/package.json | 6 +----- packages/tailwind/package.json | 6 +----- packages/theme-provider/package.json | 6 +----- packages/theme-ui/package.json | 6 +----- packages/typography/package.json | 6 +----- 33 files changed, 32 insertions(+), 159 deletions(-) diff --git a/package.json b/package.json index 2610ee058..03431d268 100644 --- a/package.json +++ b/package.json @@ -40,7 +40,6 @@ "jest-mock-console": "^1.0.1", "lerna": "^3.14.1", "lint-staged": "10", - "microbundle": "^0.12.2", "prettier": "^2.0.5", "react-test-renderer": "^16.8.6", "ts-jest": "^26.1.0", diff --git a/packages/color-modes/package.json b/packages/color-modes/package.json index 517a11b4c..a44132665 100644 --- a/packages/color-modes/package.json +++ b/packages/color-modes/package.json @@ -6,11 +6,7 @@ "types": "dist/index.d.ts", "source": "src/index.tsx", "sideEffects": false, - "scripts": { - "prepare": "microbundle --no-compress", - "watch": "microbundle watch --no-compress", - "typecheck": "tsc --noEmit" - }, + "scripts": {}, "repository": "system-ui/theme-ui", "author": "Brent Jackson", "license": "MIT", diff --git a/packages/color/package.json b/packages/color/package.json index 370ae2c0d..cc1ad974d 100644 --- a/packages/color/package.json +++ b/packages/color/package.json @@ -5,10 +5,7 @@ "main": "dist/color.cjs.js", "module": "dist/color.esm.js", "types": "dist/index.d.ts", - "scripts": { - "prepare": "microbundle --no-compress", - "watch": "microbundle watch --no-compress" - }, + "scripts": {}, "dependencies": { "@theme-ui/css": "^0.4.0-rc.5", "polished": "^3.4.1" diff --git a/packages/components/package.json b/packages/components/package.json index 69bce4395..610e85e02 100644 --- a/packages/components/package.json +++ b/packages/components/package.json @@ -5,11 +5,7 @@ "module": "dist/components.esm.js", "types": "index.d.ts", "sideEffects": false, - "scripts": { - "prepare": "microbundle --no-compress --jsx React.createElement", - "watch": "microbundle watch --no-compress --jsx React.createElement", - "typecheck": "tsc --noEmit" - }, + "scripts": {}, "dependencies": { "@emotion/core": "^10.0.0", "@emotion/styled": "^10.0.0", diff --git a/packages/core/package.json b/packages/core/package.json index cfe4a2242..83feb9a92 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -6,11 +6,7 @@ "module": "dist/core.esm.js", "types": "dist/index.d.ts", "sideEffects": false, - "scripts": { - "prepare": "microbundle --no-compress --tsconfig tsconfig.json", - "watch": "microbundle watch --no-compress --tsconfig tsconfig.json", - "typecheck": "tsc --noEmit" - }, + "scripts": {}, "repository": "system-ui/theme-ui", "author": "Brent Jackson", "license": "MIT", diff --git a/packages/css/package.json b/packages/css/package.json index 466eb2576..97ddef422 100644 --- a/packages/css/package.json +++ b/packages/css/package.json @@ -6,11 +6,7 @@ "module": "dist/css.esm.js", "types": "dist/index.d.ts", "sideEffects": false, - "scripts": { - "prepare": "microbundle --no-compress --tsconfig tsconfig.json", - "watch": "microbundle watch --no-compress --tsconfig tsconfig.json", - "typecheck": "tsc --noEmit" - }, + "scripts": {}, "author": "Brent Jackson", "license": "MIT", "publishConfig": { diff --git a/packages/custom-properties/package.json b/packages/custom-properties/package.json index 8ba667d4e..2bb067d07 100644 --- a/packages/custom-properties/package.json +++ b/packages/custom-properties/package.json @@ -8,11 +8,7 @@ "types": "dist/index.d.ts", "author": "Alex Page ", "license": "MIT", - "scripts": { - "prepare": "microbundle --no-compress --tsconfig tsconfig.json", - "watch": "microbundle watch --no-compress --tsconfig tsconfig.json", - "typecheck": "tsc --noEmit" - }, + "scripts": {}, "publishConfig": { "access": "public" }, diff --git a/packages/editor/package.json b/packages/editor/package.json index 08c178dc2..e8f00d568 100644 --- a/packages/editor/package.json +++ b/packages/editor/package.json @@ -6,11 +6,7 @@ "types": "dist/index.d.ts", "author": "Brent Jackson", "license": "MIT", - "scripts": { - "prepare": "microbundle --no-compress --tsconfig tsconfig.json", - "watch": "microbundle watch --no-compress --tsconfig tsconfig.json", - "typecheck": "tsc --noEmit" - }, + "scripts": {}, "dependencies": { "@theme-ui/components": "^0.4.0-rc.5", "@theme-ui/css": "^0.4.0-rc.5", diff --git a/packages/match-media/package.json b/packages/match-media/package.json index 58f2e3d16..f658eb448 100644 --- a/packages/match-media/package.json +++ b/packages/match-media/package.json @@ -9,11 +9,7 @@ "author": "Brent Jackson ", "license": "MIT", "repository": "system-ui/theme-ui", - "scripts": { - "prepare": "microbundle --no-compress --tsconfig tsconfig.json", - "watch": "microbundle watch --no-compress --tsconfig tsconfig.json", - "typecheck": "tsc --noEmit" - }, + "scripts": {}, "publishConfig": { "access": "public" }, diff --git a/packages/mdx/package.json b/packages/mdx/package.json index 272039e87..f369f4c8f 100644 --- a/packages/mdx/package.json +++ b/packages/mdx/package.json @@ -6,11 +6,7 @@ "module": "dist/mdx.esm.js", "types": "dist/index.d.ts", "sideEffects": false, - "scripts": { - "prepare": "microbundle --no-compress --tsconfig tsconfig.json", - "watch": "microbundle watch --no-compress --tsconfig tsconfig.json", - "typecheck": "tsc --noEmit" - }, + "scripts": {}, "dependencies": { "@emotion/core": "^10.0.0", "@emotion/styled": "^10.0.0", diff --git a/packages/preset-base/package.json b/packages/preset-base/package.json index 33b1a9431..5662826ad 100644 --- a/packages/preset-base/package.json +++ b/packages/preset-base/package.json @@ -6,11 +6,7 @@ "author": "Brent Jackson", "license": "MIT", "repository": "system-ui/theme-ui", - "scripts": { - "prepare": "microbundle --no-compress --tsconfig tsconfig.json", - "watch": "microbundle watch --no-compress --tsconfig tsconfig.json", - "typecheck": "tsc --noEmit" - }, + "scripts": {}, "types": "dist/index.d.ts", "source": "src/index.ts", "publishConfig": { diff --git a/packages/preset-bootstrap/package.json b/packages/preset-bootstrap/package.json index 489aaea7b..04caad8a6 100644 --- a/packages/preset-bootstrap/package.json +++ b/packages/preset-bootstrap/package.json @@ -7,11 +7,7 @@ "source": "src/index.ts", "author": "Brent Jackson", "license": "MIT", - "scripts": { - "prepare": "microbundle --no-compress", - "watch": "microbundle watch --no-compress", - "typecheck": "tsc --noEmit" - }, + "scripts": {}, "publishConfig": { "access": "public" } diff --git a/packages/preset-bulma/package.json b/packages/preset-bulma/package.json index 32ab913e7..dabaecca9 100644 --- a/packages/preset-bulma/package.json +++ b/packages/preset-bulma/package.json @@ -7,11 +7,7 @@ "source": "src/index.ts", "author": "Brent Jackson", "license": "MIT", - "scripts": { - "prepare": "microbundle --no-compress", - "watch": "microbundle watch --no-compress", - "typecheck": "tsc --noEmit" - }, + "scripts": {}, "dependencies": { "@theme-ui/preset-base": "^0.4.0-rc.5" }, diff --git a/packages/preset-dark/package.json b/packages/preset-dark/package.json index 7c2ac9f16..fa241c2ff 100644 --- a/packages/preset-dark/package.json +++ b/packages/preset-dark/package.json @@ -7,11 +7,7 @@ "source": "src/index.ts", "author": "Brent Jackson", "license": "MIT", - "scripts": { - "prepare": "microbundle --no-compress", - "watch": "microbundle watch --no-compress", - "typecheck": "tsc --noEmit" - }, + "scripts": {}, "publishConfig": { "access": "public" } diff --git a/packages/preset-deep/package.json b/packages/preset-deep/package.json index 953ada78a..548c81eea 100644 --- a/packages/preset-deep/package.json +++ b/packages/preset-deep/package.json @@ -7,11 +7,7 @@ "source": "src/index.ts", "author": "Brent Jackson", "license": "MIT", - "scripts": { - "prepare": "microbundle --no-compress", - "watch": "microbundle watch --no-compress", - "typecheck": "tsc --noEmit" - }, + "scripts": {}, "publishConfig": { "access": "public" } diff --git a/packages/preset-funk/package.json b/packages/preset-funk/package.json index 76520ba15..150319fd1 100644 --- a/packages/preset-funk/package.json +++ b/packages/preset-funk/package.json @@ -7,11 +7,7 @@ "source": "src/index.ts", "author": "Brent Jackson", "license": "MIT", - "scripts": { - "prepare": "microbundle --no-compress", - "watch": "microbundle watch --no-compress", - "typecheck": "tsc --noEmit" - }, + "scripts": {}, "dependencies": { "@theme-ui/preset-base": "^0.4.0-rc.5" }, diff --git a/packages/preset-future/package.json b/packages/preset-future/package.json index 54da66456..fa3f0be97 100644 --- a/packages/preset-future/package.json +++ b/packages/preset-future/package.json @@ -7,11 +7,7 @@ "source": "src/index.ts", "author": "Brent Jackson", "license": "MIT", - "scripts": { - "prepare": "microbundle --no-compress", - "watch": "microbundle watch --no-compress", - "typecheck": "tsc --noEmit" - }, + "scripts": {}, "dependencies": { "@theme-ui/preset-base": "^0.4.0-rc.5" }, diff --git a/packages/preset-polaris/package.json b/packages/preset-polaris/package.json index de2b45896..b6ea8e8dc 100644 --- a/packages/preset-polaris/package.json +++ b/packages/preset-polaris/package.json @@ -7,11 +7,7 @@ "types": "dist/index.d.ts", "author": "Yuraima Estevez", "license": "MIT", - "scripts": { - "prepare": "microbundle --no-compress", - "watch": "microbundle watch --no-compress", - "typecheck": "tsc --noEmit" - }, + "scripts": {}, "dependencies": { "@theme-ui/preset-base": "^0.4.0-rc.5" }, diff --git a/packages/preset-roboto/package.json b/packages/preset-roboto/package.json index 46b79638b..62ce5a4d4 100644 --- a/packages/preset-roboto/package.json +++ b/packages/preset-roboto/package.json @@ -7,11 +7,7 @@ "source": "src/index.ts", "author": "Brent Jackson", "license": "MIT", - "scripts": { - "prepare": "microbundle --no-compress", - "watch": "microbundle watch --no-compress", - "typecheck": "tsc --noEmit" - }, + "scripts": {}, "dependencies": { "@theme-ui/preset-base": "^0.4.0-rc.5" }, diff --git a/packages/preset-sketchy/package.json b/packages/preset-sketchy/package.json index c69dba4f1..9f2bc905b 100644 --- a/packages/preset-sketchy/package.json +++ b/packages/preset-sketchy/package.json @@ -7,11 +7,7 @@ "source": "src/index.ts", "author": "Aleksandra Sikora", "license": "MIT", - "scripts": { - "prepare": "microbundle --no-compress", - "watch": "microbundle watch --no-compress", - "typecheck": "tsc --noEmit" - }, + "scripts": {}, "publishConfig": { "access": "public" }, diff --git a/packages/preset-swiss/package.json b/packages/preset-swiss/package.json index b08f7a34c..cbef8e716 100644 --- a/packages/preset-swiss/package.json +++ b/packages/preset-swiss/package.json @@ -7,11 +7,7 @@ "source": "src/index.ts", "author": "Brent Jackson", "license": "MIT", - "scripts": { - "prepare": "microbundle --no-compress", - "watch": "microbundle watch --no-compress", - "typecheck": "tsc --noEmit" - }, + "scripts": {}, "publishConfig": { "access": "public" } diff --git a/packages/preset-system/package.json b/packages/preset-system/package.json index 1a1b9cbf7..993868e1c 100644 --- a/packages/preset-system/package.json +++ b/packages/preset-system/package.json @@ -7,11 +7,7 @@ "source": "src/index.ts", "author": "Brent Jackson", "license": "MIT", - "scripts": { - "prepare": "microbundle --no-compress", - "watch": "microbundle watch --no-compress", - "typecheck": "tsc --noEmit" - }, + "scripts": {}, "publishConfig": { "access": "public" } diff --git a/packages/preset-tailwind/package.json b/packages/preset-tailwind/package.json index f67d7b455..00451ce31 100644 --- a/packages/preset-tailwind/package.json +++ b/packages/preset-tailwind/package.json @@ -7,11 +7,7 @@ "source": "src/index.ts", "author": "Brent Jackson", "license": "MIT", - "scripts": { - "prepare": "microbundle --no-compress", - "watch": "microbundle watch --no-compress", - "typecheck": "tsc --noEmit" - }, + "scripts": {}, "publishConfig": { "access": "public" } diff --git a/packages/preset-tosh/package.json b/packages/preset-tosh/package.json index 8a0fc7815..25ec3ba4c 100644 --- a/packages/preset-tosh/package.json +++ b/packages/preset-tosh/package.json @@ -8,11 +8,7 @@ "author": "John Otander", "license": "MIT", "repository": "system-ui/theme-ui", - "scripts": { - "prepare": "microbundle --no-compress", - "watch": "microbundle watch --no-compress", - "typecheck": "tsc --noEmit" - }, + "scripts": {}, "publishConfig": { "access": "public" } diff --git a/packages/presets/package.json b/packages/presets/package.json index 428a7e354..7a607ed47 100644 --- a/packages/presets/package.json +++ b/packages/presets/package.json @@ -7,11 +7,7 @@ "source": "src/index.ts", "author": "Brent Jackson", "license": "MIT", - "scripts": { - "prepare": "microbundle --no-compress", - "watch": "microbundle watch --no-compress", - "typecheck": "tsc --noEmit" - }, + "scripts": {}, "dependencies": { "@theme-ui/preset-base": "^0.4.0-rc.5", "@theme-ui/preset-bootstrap": "^0.4.0-rc.5", diff --git a/packages/prism/package.json b/packages/prism/package.json index 8da1a0452..665a72b29 100644 --- a/packages/prism/package.json +++ b/packages/prism/package.json @@ -8,10 +8,7 @@ "author": "John Otander", "license": "MIT", "scripts": { - "prepare": "microbundle --no-compress -o dist", - "watch": "microbundle watch --no-compress -o dist", - "build-presets": "node build-presets.js", - "typecheck": "tsc --noEmit" + "build-presets": "node build-presets.js" }, "dependencies": { "prism-react-renderer": "^1.0.2" diff --git a/packages/sidenav/package.json b/packages/sidenav/package.json index 23264fe93..1198ed745 100644 --- a/packages/sidenav/package.json +++ b/packages/sidenav/package.json @@ -6,11 +6,7 @@ "types": "dist/index.d.ts", "sideEffects": false, "license": "MIT", - "scripts": { - "prepare": "microbundle --no-compress", - "watch": "microbundle watch --no-compress", - "typecheck": "tsc --noEmit" - }, + "scripts": {}, "publishConfig": { "access": "public" }, diff --git a/packages/style-guide/package.json b/packages/style-guide/package.json index 4c0d3c940..8788084e2 100644 --- a/packages/style-guide/package.json +++ b/packages/style-guide/package.json @@ -7,11 +7,7 @@ "source": "src/index.ts", "author": "Brent Jackson", "license": "MIT", - "scripts": { - "prepare": "microbundle --no-compress", - "watch": "microbundle watch --no-compress", - "typecheck": "tsc --noEmit" - }, + "scripts": {}, "dependencies": { "@theme-ui/presets": "^0.4.0-rc.5", "@types/color": "^3.0.1", diff --git a/packages/tachyons/package.json b/packages/tachyons/package.json index 864720435..8ba5558c6 100644 --- a/packages/tachyons/package.json +++ b/packages/tachyons/package.json @@ -8,11 +8,7 @@ "types": "dist/index.d.ts", "author": "John Otander ", "license": "MIT", - "scripts": { - "prepare": "microbundle --no-compress --tsconfig tsconfig.json", - "watch": "microbundle watch --no-compress --tsconfig tsconfig.json", - "typecheck": "tsc --noEmit" - }, + "scripts": {}, "devDependencies": { "@theme-ui/css": "^0.4.0-rc.5", "babel-polyfill": "^6.26.0", diff --git a/packages/tailwind/package.json b/packages/tailwind/package.json index cef147b3e..b53c9bf43 100644 --- a/packages/tailwind/package.json +++ b/packages/tailwind/package.json @@ -8,11 +8,7 @@ "types": "dist/index.d.ts", "author": "John Otander ", "license": "MIT", - "scripts": { - "prepare": "microbundle --no-compress --tsconfig tsconfig.json", - "watch": "microbundle watch --no-compress --tsconfig tsconfig.json", - "typecheck": "tsc --noEmit" - }, + "scripts": {}, "devDependencies": { "@theme-ui/css": "^0.4.0-rc.5", "babel-polyfill": "^6.26.0", diff --git a/packages/theme-provider/package.json b/packages/theme-provider/package.json index 8112a1b28..c7c30e66b 100644 --- a/packages/theme-provider/package.json +++ b/packages/theme-provider/package.json @@ -6,11 +6,7 @@ "source": "src/index.ts", "types": "dist/index.d.ts", "sideEffects": false, - "scripts": { - "prepare": "microbundle --no-compress --tsconfig tsconfig.json", - "watch": "microbundle watch --no-compress --tsconfig tsconfig.json", - "typecheck": "tsc --noEmit" - }, + "scripts": {}, "dependencies": { "@emotion/core": "^10.0.0", "@theme-ui/color-modes": "^0.4.0-rc.5", diff --git a/packages/theme-ui/package.json b/packages/theme-ui/package.json index f70e9c2d5..ba5b7cd5a 100644 --- a/packages/theme-ui/package.json +++ b/packages/theme-ui/package.json @@ -10,11 +10,7 @@ "author": "Brent Jackson ", "license": "MIT", "repository": "system-ui/theme-ui", - "scripts": { - "prepare": "microbundle --no-compress", - "watch": "microbundle watch --no-compress", - "typecheck": "tsc --noEmit" - }, + "scripts": {}, "dependencies": { "@theme-ui/color-modes": "^0.4.0-rc.5", "@theme-ui/components": "^0.4.0-rc.5", diff --git a/packages/typography/package.json b/packages/typography/package.json index 0acb8a7b5..661e0d329 100644 --- a/packages/typography/package.json +++ b/packages/typography/package.json @@ -7,11 +7,7 @@ "types": "dist/index.d.ts", "author": "Brent Jackson ", "license": "MIT", - "scripts": { - "prepare": "microbundle --no-compress --tsconfig tsconfig.json", - "watch": "microbundle watch --no-compress --tsconfig tsconfig.json", - "typecheck": "tsc --noEmit" - }, + "scripts": {}, "dependencies": { "@theme-ui/css": "^0.4.0-rc.5", "@types/compass-vertical-rhythm": "^1.4.1", From be1ee81c4ec1a9395a349a41107ce176c7e147d6 Mon Sep 17 00:00:00 2001 From: Alex Chan Date: Fri, 2 Oct 2020 10:03:10 -0600 Subject: [PATCH 032/377] Update build to more closely match previous build --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 03431d268..c200a5972 100644 --- a/package.json +++ b/package.json @@ -2,8 +2,9 @@ "name": "theme-ui", "private": true, "scripts": { + "prepare": "preconstruct build", "start": "yarn workspace docs start", - "build": "preconstruct build", + "build": "yarn workspace docs build", "serve": "yarn workspace docs serve --port 8000", "clean": "lerna run clean", "format": "prettier --write \"**/*.js{,on}\" \"**/*.md\" \"**/*.mdx\"", From af19f9f019ecdfd0066f10441c65332164f43420 Mon Sep 17 00:00:00 2001 From: Alex Chan Date: Sat, 7 Nov 2020 13:58:10 -0700 Subject: [PATCH 033/377] update yarn.lock --- yarn.lock | 903 +++++++++++++++++++++++------------------------------- 1 file changed, 380 insertions(+), 523 deletions(-) diff --git a/yarn.lock b/yarn.lock index ad2affdf1..d57223be4 100644 --- a/yarn.lock +++ b/yarn.lock @@ -85,6 +85,28 @@ semver "^5.4.1" source-map "^0.5.0" +"@babel/core@^7.7.7": + version "7.12.3" + resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.12.3.tgz#1b436884e1e3bff6fb1328dc02b208759de92ad8" + integrity sha512-0qXcZYKZp3/6N2jKYVxZv0aNCsxTSVCiK72DTiTYZAu7sjg73W0/aynWjMbiGd87EQL4WyA8reiJVh92AVla9g== + dependencies: + "@babel/code-frame" "^7.10.4" + "@babel/generator" "^7.12.1" + "@babel/helper-module-transforms" "^7.12.1" + "@babel/helpers" "^7.12.1" + "@babel/parser" "^7.12.3" + "@babel/template" "^7.10.4" + "@babel/traverse" "^7.12.1" + "@babel/types" "^7.12.1" + convert-source-map "^1.7.0" + debug "^4.1.0" + gensync "^1.0.0-beta.1" + json5 "^2.1.2" + lodash "^4.17.19" + resolve "^1.3.2" + semver "^5.4.1" + source-map "^0.5.0" + "@babel/generator@^7.10.1", "@babel/generator@^7.10.2", "@babel/generator@^7.5.0", "@babel/generator@^7.9.6": version "7.10.2" resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.10.2.tgz#0fa5b5b2389db8bfdfcc3492b551ee20f5dd69a9" @@ -95,14 +117,13 @@ lodash "^4.17.13" source-map "^0.5.0" -"@babel/generator@^7.10.4": - version "7.10.4" - resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.10.4.tgz#e49eeed9fe114b62fa5b181856a43a5e32f5f243" - integrity sha512-toLIHUIAgcQygFZRAQcsLQV3CBuX6yOIru1kJk/qqqvcRmZrYe6WavZTSG+bB8MxhnL9YPf+pKQfuiP161q7ng== +"@babel/generator@^7.12.1", "@babel/generator@^7.12.5": + version "7.12.5" + resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.12.5.tgz#a2c50de5c8b6d708ab95be5e6053936c1884a4de" + integrity sha512-m16TQQJ8hPt7E+OS/XVQg/7U184MLXtvuGbCdA7na61vha+ImkyyNM/9DDA0unYCVZn3ZOhng+qz48/KBOT96A== dependencies: - "@babel/types" "^7.10.4" + "@babel/types" "^7.12.5" jsesc "^2.5.1" - lodash "^4.17.13" source-map "^0.5.0" "@babel/helper-annotate-as-pure@^7.10.1": @@ -160,18 +181,6 @@ "@babel/helper-replace-supers" "^7.10.1" "@babel/helper-split-export-declaration" "^7.10.1" -"@babel/helper-create-class-features-plugin@^7.7.4": - version "7.10.4" - resolved "https://registry.yarnpkg.com/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.10.4.tgz#2d4015d0136bd314103a70d84a7183e4b344a355" - integrity sha512-9raUiOsXPxzzLjCXeosApJItoMnX3uyT4QdM2UldffuGApNrF8e938MwNpDCK9CPoyxrEoCgT+hObJc3mZa6lQ== - dependencies: - "@babel/helper-function-name" "^7.10.4" - "@babel/helper-member-expression-to-functions" "^7.10.4" - "@babel/helper-optimise-call-expression" "^7.10.4" - "@babel/helper-plugin-utils" "^7.10.4" - "@babel/helper-replace-supers" "^7.10.4" - "@babel/helper-split-export-declaration" "^7.10.4" - "@babel/helper-create-regexp-features-plugin@^7.10.1", "@babel/helper-create-regexp-features-plugin@^7.8.3": version "7.10.1" resolved "https://registry.yarnpkg.com/@babel/helper-create-regexp-features-plugin/-/helper-create-regexp-features-plugin-7.10.1.tgz#1b8feeab1594cbcfbf3ab5a3bbcabac0468efdbd" @@ -244,12 +253,12 @@ dependencies: "@babel/types" "^7.10.1" -"@babel/helper-member-expression-to-functions@^7.10.4": - version "7.10.4" - resolved "https://registry.yarnpkg.com/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.10.4.tgz#7cd04b57dfcf82fce9aeae7d4e4452fa31b8c7c4" - integrity sha512-m5j85pK/KZhuSdM/8cHUABQTAslV47OjfIB9Cc7P+PvlAoBzdb79BGNfw8RhT5Mq3p+xGd0ZfAKixbrUZx0C7A== +"@babel/helper-member-expression-to-functions@^7.12.1": + version "7.12.1" + resolved "https://registry.yarnpkg.com/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.12.1.tgz#fba0f2fcff3fba00e6ecb664bb5e6e26e2d6165c" + integrity sha512-k0CIe3tXUKTRSoEx1LQEPFU9vRQfqHtl+kf8eNnDqb4AUJEy5pz6aIiog+YWtVm2jpggjS1laH68bPsR+KWWPQ== dependencies: - "@babel/types" "^7.10.4" + "@babel/types" "^7.12.1" "@babel/helper-module-imports@^7.0.0": version "7.8.3" @@ -265,12 +274,12 @@ dependencies: "@babel/types" "^7.10.1" -"@babel/helper-module-imports@^7.7.4": - version "7.10.4" - resolved "https://registry.yarnpkg.com/@babel/helper-module-imports/-/helper-module-imports-7.10.4.tgz#4c5c54be04bd31670a7382797d75b9fa2e5b5620" - integrity sha512-nEQJHqYavI217oD9+s5MUBzk6x1IlvoS9WTPfgG43CbMEeStE0v+r+TucWdx8KFGowPGvyOkDT9+7DHedIDnVw== +"@babel/helper-module-imports@^7.10.4", "@babel/helper-module-imports@^7.12.1": + version "7.12.5" + resolved "https://registry.yarnpkg.com/@babel/helper-module-imports/-/helper-module-imports-7.12.5.tgz#1bfc0229f794988f76ed0a4d4e90860850b54dfb" + integrity sha512-SR713Ogqg6++uexFRORf/+nPXMmWIn80TALu0uaFb+iQIUoR7bOC7zBWyzBs5b3tBBJXuyD0cRu1F15GyzjOWA== dependencies: - "@babel/types" "^7.10.4" + "@babel/types" "^7.12.5" "@babel/helper-module-transforms@^7.10.1", "@babel/helper-module-transforms@^7.9.0": version "7.10.1" @@ -285,6 +294,21 @@ "@babel/types" "^7.10.1" lodash "^4.17.13" +"@babel/helper-module-transforms@^7.12.1": + version "7.12.1" + resolved "https://registry.yarnpkg.com/@babel/helper-module-transforms/-/helper-module-transforms-7.12.1.tgz#7954fec71f5b32c48e4b303b437c34453fd7247c" + integrity sha512-QQzehgFAZ2bbISiCpmVGfiGux8YVFXQ0abBic2Envhej22DVXV9nCFaS5hIQbkyo1AdGb+gNME2TSh3hYJVV/w== + dependencies: + "@babel/helper-module-imports" "^7.12.1" + "@babel/helper-replace-supers" "^7.12.1" + "@babel/helper-simple-access" "^7.12.1" + "@babel/helper-split-export-declaration" "^7.11.0" + "@babel/helper-validator-identifier" "^7.10.4" + "@babel/template" "^7.10.4" + "@babel/traverse" "^7.12.1" + "@babel/types" "^7.12.1" + lodash "^4.17.19" + "@babel/helper-optimise-call-expression@^7.10.1": version "7.10.1" resolved "https://registry.yarnpkg.com/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.10.1.tgz#b4a1f2561870ce1247ceddb02a3860fa96d72543" @@ -342,15 +366,15 @@ "@babel/traverse" "^7.10.1" "@babel/types" "^7.10.1" -"@babel/helper-replace-supers@^7.10.4": - version "7.10.4" - resolved "https://registry.yarnpkg.com/@babel/helper-replace-supers/-/helper-replace-supers-7.10.4.tgz#d585cd9388ea06e6031e4cd44b6713cbead9e6cf" - integrity sha512-sPxZfFXocEymYTdVK1UNmFPBN+Hv5mJkLPsYWwGBxZAxaWfFu+xqp7b6qWD0yjNuNL2VKc6L5M18tOXUP7NU0A== +"@babel/helper-replace-supers@^7.12.1": + version "7.12.5" + resolved "https://registry.yarnpkg.com/@babel/helper-replace-supers/-/helper-replace-supers-7.12.5.tgz#f009a17543bbbbce16b06206ae73b63d3fca68d9" + integrity sha512-5YILoed0ZyIpF4gKcpZitEnXEJ9UoDRki1Ey6xz46rxOzfNMAhVIJMoune1hmPVxh40LRv1+oafz7UsWX+vyWA== dependencies: - "@babel/helper-member-expression-to-functions" "^7.10.4" + "@babel/helper-member-expression-to-functions" "^7.12.1" "@babel/helper-optimise-call-expression" "^7.10.4" - "@babel/traverse" "^7.10.4" - "@babel/types" "^7.10.4" + "@babel/traverse" "^7.12.5" + "@babel/types" "^7.12.5" "@babel/helper-simple-access@^7.10.1": version "7.10.1" @@ -360,6 +384,13 @@ "@babel/template" "^7.10.1" "@babel/types" "^7.10.1" +"@babel/helper-simple-access@^7.12.1": + version "7.12.1" + resolved "https://registry.yarnpkg.com/@babel/helper-simple-access/-/helper-simple-access-7.12.1.tgz#32427e5aa61547d38eb1e6eaf5fd1426fdad9136" + integrity sha512-OxBp7pMrjVewSSC8fXDFrHrBcJATOOFssZwv16F3/6Xtc138GHybBfPbm9kfiqQHKhYQrlamWILwlDCeyMFEaA== + dependencies: + "@babel/types" "^7.12.1" + "@babel/helper-split-export-declaration@^7.10.1", "@babel/helper-split-export-declaration@^7.8.3": version "7.10.1" resolved "https://registry.yarnpkg.com/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.10.1.tgz#c6f4be1cbc15e3a868e4c64a17d5d31d754da35f" @@ -367,12 +398,12 @@ dependencies: "@babel/types" "^7.10.1" -"@babel/helper-split-export-declaration@^7.10.4": - version "7.10.4" - resolved "https://registry.yarnpkg.com/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.10.4.tgz#2c70576eaa3b5609b24cb99db2888cc3fc4251d1" - integrity sha512-pySBTeoUff56fL5CBU2hWm9TesA4r/rOkI9DyJLvvgz09MB9YtfIYe3iBriVaYNaPe+Alua0vBIOVOLs2buWhg== +"@babel/helper-split-export-declaration@^7.11.0": + version "7.11.0" + resolved "https://registry.yarnpkg.com/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.11.0.tgz#f8a491244acf6a676158ac42072911ba83ad099f" + integrity sha512-74Vejvp6mHkGE+m+k5vHY93FX2cAtrw1zXrZXRlG4l410Nm9PxfEiVTn1PjDPV5SnmieiueY4AFg2xqhNFuuZg== dependencies: - "@babel/types" "^7.10.4" + "@babel/types" "^7.11.0" "@babel/helper-validator-identifier@^7.10.1", "@babel/helper-validator-identifier@^7.9.5": version "7.10.1" @@ -403,6 +434,15 @@ "@babel/traverse" "^7.10.1" "@babel/types" "^7.10.1" +"@babel/helpers@^7.12.1": + version "7.12.5" + resolved "https://registry.yarnpkg.com/@babel/helpers/-/helpers-7.12.5.tgz#1a1ba4a768d9b58310eda516c449913fe647116e" + integrity sha512-lgKGMQlKqA8meJqKsW6rUnc4MdUk35Ln0ATDqdM1a/UpARODdI4j5Y5lVfUScnSNkJcdCRAaWkspykNoFg9sJA== + dependencies: + "@babel/template" "^7.10.4" + "@babel/traverse" "^7.12.5" + "@babel/types" "^7.12.5" + "@babel/highlight@^7.10.1": version "7.10.1" resolved "https://registry.yarnpkg.com/@babel/highlight/-/highlight-7.10.1.tgz#841d098ba613ba1a427a2b383d79e35552c38ae0" @@ -431,11 +471,16 @@ resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.9.6.tgz#3b1bbb30dabe600cd72db58720998376ff653bc7" integrity sha512-AoeIEJn8vt+d/6+PXDRPaksYhnlbMIiejioBZvvMQsOjW/JYK6k/0dKnvvP3EhK5GfMBWDPtrxRtegWdAcdq9Q== -"@babel/parser@^7.10.4", "@babel/parser@^7.3.3": +"@babel/parser@^7.10.4": version "7.10.4" resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.10.4.tgz#9eedf27e1998d87739fb5028a5120557c06a1a64" integrity sha512-8jHII4hf+YVDsskTF6WuMB3X4Eh+PsUkC2ljq22so5rHvH+T8BzyL94VOdyFLNR8tBSVXOTbNHOKpR4TfRxVtA== +"@babel/parser@^7.12.3", "@babel/parser@^7.12.5": + version "7.12.5" + resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.12.5.tgz#b4af32ddd473c0bfa643bd7ff0728b8e71b81ea0" + integrity sha512-FVM6RZQ0mn2KCf1VUED7KepYeUWoVShczewOCfm3nzoBybaih51h+sYVVGthW9M6lPByEPTQf+xm27PBdlpwmQ== + "@babel/plugin-proposal-async-generator-functions@^7.10.1": version "7.10.1" resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-async-generator-functions/-/plugin-proposal-async-generator-functions-7.10.1.tgz#6911af5ba2e615c4ff3c497fe2f47b35bf6d7e55" @@ -445,14 +490,6 @@ "@babel/helper-remap-async-to-generator" "^7.10.1" "@babel/plugin-syntax-async-generators" "^7.8.0" -"@babel/plugin-proposal-class-properties@7.7.4": - version "7.7.4" - resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-class-properties/-/plugin-proposal-class-properties-7.7.4.tgz#2f964f0cb18b948450362742e33e15211e77c2ba" - integrity sha512-EcuXeV4Hv1X3+Q1TsuOmyyxeTRiSqurGJ26+I/FW1WbymmRRapVORm6x1Zl3iDIHyRxEs+VXWp6qnlcfcJSbbw== - dependencies: - "@babel/helper-create-class-features-plugin" "^7.7.4" - "@babel/helper-plugin-utils" "^7.0.0" - "@babel/plugin-proposal-class-properties@^7.0.0", "@babel/plugin-proposal-class-properties@^7.10.1": version "7.10.1" resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-class-properties/-/plugin-proposal-class-properties-7.10.1.tgz#046bc7f6550bb08d9bd1d4f060f5f5a4f1087e01" @@ -592,13 +629,6 @@ dependencies: "@babel/helper-plugin-utils" "^7.10.4" -"@babel/plugin-syntax-import-meta@^7.10.1": - version "7.10.4" - resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-import-meta/-/plugin-syntax-import-meta-7.10.4.tgz#ee601348c370fa334d2207be158777496521fd51" - integrity sha512-Yqfm+XDx0+Prh3VSeEQCPU81yC+JWZ2pDPFSS4ZdpfZhp4MkFMaDC1UqseovEKwSUpnIL7+vK+Clp7bfh0iD7g== - dependencies: - "@babel/helper-plugin-utils" "^7.10.4" - "@babel/plugin-syntax-json-strings@^7.8.0", "@babel/plugin-syntax-json-strings@^7.8.3": version "7.8.3" resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-json-strings/-/plugin-syntax-json-strings-7.8.3.tgz#01ca21b668cd8218c9e640cb6dd88c5412b2c96a" @@ -758,7 +788,7 @@ "@babel/helper-builder-binary-assignment-operator-visitor" "^7.10.1" "@babel/helper-plugin-utils" "^7.10.1" -"@babel/plugin-transform-flow-strip-types@^7.0.0", "@babel/plugin-transform-flow-strip-types@^7.10.1", "@babel/plugin-transform-flow-strip-types@^7.10.4": +"@babel/plugin-transform-flow-strip-types@^7.0.0": version "7.10.4" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-flow-strip-types/-/plugin-transform-flow-strip-types-7.10.4.tgz#c497957f09e86e3df7296271e9eb642876bf7788" integrity sha512-XTadyuqNst88UWBTdLjM+wEY7BFnY2sYtPyAidfC7M/QaZnSuIZpMvLxqGT7phAcnGyWh/XQFLKcGf04CnvxSQ== @@ -814,6 +844,16 @@ "@babel/helper-simple-access" "^7.10.1" babel-plugin-dynamic-import-node "^2.3.3" +"@babel/plugin-transform-modules-commonjs@^7.7.5": + version "7.12.1" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.12.1.tgz#fa403124542636c786cf9b460a0ffbb48a86e648" + integrity sha512-dY789wq6l0uLY8py9c1B48V8mVL5gZh/+PQ5ZPrylPYsnAvnEMjqsUXkuoDVPeVK+0VyGar+D08107LzDQ6pag== + dependencies: + "@babel/helper-module-transforms" "^7.12.1" + "@babel/helper-plugin-utils" "^7.10.4" + "@babel/helper-simple-access" "^7.12.1" + babel-plugin-dynamic-import-node "^2.3.3" + "@babel/plugin-transform-modules-systemjs@^7.10.1": version "7.10.1" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.10.1.tgz#9962e4b0ac6aaf2e20431ada3d8ec72082cbffb6" @@ -1082,14 +1122,6 @@ levenary "^1.1.1" semver "^5.5.0" -"@babel/preset-flow@^7.10.1": - version "7.10.4" - resolved "https://registry.yarnpkg.com/@babel/preset-flow/-/preset-flow-7.10.4.tgz#e0d9c72f8cb02d1633f6a5b7b16763aa2edf659f" - integrity sha512-XI6l1CptQCOBv+ZKYwynyswhtOKwpZZp5n0LG1QKCo8erRhqjoQV6nvx61Eg30JHpysWQSBwA2AWRU3pBbSY5g== - dependencies: - "@babel/helper-plugin-utils" "^7.10.4" - "@babel/plugin-transform-flow-strip-types" "^7.10.4" - "@babel/preset-modules@^0.1.3": version "0.1.3" resolved "https://registry.yarnpkg.com/@babel/preset-modules/-/preset-modules-0.1.3.tgz#13242b53b5ef8c883c3cf7dddd55b36ce80fbc72" @@ -1156,6 +1188,13 @@ dependencies: regenerator-runtime "^0.13.4" +"@babel/runtime@^7.7.7": + version "7.12.5" + resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.12.5.tgz#410e7e487441e1b360c29be715d870d9b985882e" + integrity sha512-plcc+hbExy3McchJCEQG3knOsuh3HH+Prx1P6cLIkET/0dLuQDEnrT+s27Axgc9bqfsmNUNHfscgMUdBpC9xfg== + dependencies: + regenerator-runtime "^0.13.4" + "@babel/standalone@^7.10.2": version "7.10.2" resolved "https://registry.yarnpkg.com/@babel/standalone/-/standalone-7.10.2.tgz#49dbbadcbc4b199df064d7d8b3e21c915b84abdb" @@ -1218,20 +1257,20 @@ globals "^11.1.0" lodash "^4.17.13" -"@babel/traverse@^7.10.4": - version "7.10.4" - resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.10.4.tgz#e642e5395a3b09cc95c8e74a27432b484b697818" - integrity sha512-aSy7p5THgSYm4YyxNGz6jZpXf+Ok40QF3aA2LyIONkDHpAcJzDUqlCKXv6peqYUs2gmic849C/t2HKw2a2K20Q== +"@babel/traverse@^7.12.1", "@babel/traverse@^7.12.5": + version "7.12.5" + resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.12.5.tgz#78a0c68c8e8a35e4cacfd31db8bb303d5606f095" + integrity sha512-xa15FbQnias7z9a62LwYAA5SZZPkHIXpd42C6uW68o8uTuua96FHZy1y61Va5P/i83FAAcMpW8+A/QayntzuqA== dependencies: "@babel/code-frame" "^7.10.4" - "@babel/generator" "^7.10.4" + "@babel/generator" "^7.12.5" "@babel/helper-function-name" "^7.10.4" - "@babel/helper-split-export-declaration" "^7.10.4" - "@babel/parser" "^7.10.4" - "@babel/types" "^7.10.4" + "@babel/helper-split-export-declaration" "^7.11.0" + "@babel/parser" "^7.12.5" + "@babel/types" "^7.12.5" debug "^4.1.0" globals "^11.1.0" - lodash "^4.17.13" + lodash "^4.17.19" "@babel/types@7.10.2", "@babel/types@^7.0.0", "@babel/types@^7.10.1", "@babel/types@^7.10.2", "@babel/types@^7.4.4", "@babel/types@^7.7.0", "@babel/types@^7.8.3", "@babel/types@^7.8.6", "@babel/types@^7.9.6": version "7.10.2" @@ -1251,6 +1290,15 @@ lodash "^4.17.13" to-fast-properties "^2.0.0" +"@babel/types@^7.11.0", "@babel/types@^7.12.1", "@babel/types@^7.12.5": + version "7.12.6" + resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.12.6.tgz#ae0e55ef1cce1fbc881cd26f8234eb3e657edc96" + integrity sha512-hwyjw6GvjBLiyy3W0YQf0Z5Zf4NpYejUnKFcfcUhZCSffoBBp30w6wP2Wn6pk31jMYZvcOrB/1b7cGXvEoKogA== + dependencies: + "@babel/helper-validator-identifier" "^7.10.4" + lodash "^4.17.19" + to-fast-properties "^2.0.0" + "@babel/types@^7.3.0", "@babel/types@^7.3.3": version "7.9.6" resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.9.6.tgz#2c5502b427251e9de1bd2dff95add646d95cc9f7" @@ -2817,6 +2865,59 @@ resolved "https://registry.yarnpkg.com/@popperjs/core/-/core-2.4.0.tgz#0e1bdf8d021e7ea58affade33d9d607e11365915" integrity sha512-NMrDy6EWh9TPdSRiHmHH2ye1v5U0gBD7pRYwSwJvomx7Bm4GG04vu63dYiVzebLOx2obPpJugew06xVP0Nk7hA== +"@preconstruct/cli@^1.1.27": + version "1.1.34" + resolved "https://registry.yarnpkg.com/@preconstruct/cli/-/cli-1.1.34.tgz#092416a936c4915777fa4560c2bcb16fb1f274cc" + integrity sha512-yrKUxDzHskWqcyLqhUFQpxkvKo+xnpkMmXso0c/u6AKn9dvTSbcBx7fdcMshDk5tzW1nR+M/xn0Eb+CtLcGT7w== + dependencies: + "@babel/code-frame" "^7.5.5" + "@babel/core" "^7.7.7" + "@babel/helper-module-imports" "^7.10.4" + "@babel/runtime" "^7.7.7" + "@preconstruct/hook" "^0.4.0" + "@rollup/plugin-alias" "^3.1.1" + "@rollup/plugin-commonjs" "^15.0.0" + "@rollup/plugin-json" "^4.1.0" + "@rollup/plugin-node-resolve" "^9.0.0" + "@rollup/plugin-replace" "^2.3.3" + builtin-modules "^3.1.0" + chalk "^4.1.0" + dataloader "^2.0.0" + detect-indent "^6.0.0" + enquirer "^2.3.6" + estree-walker "^2.0.1" + fast-deep-equal "^2.0.1" + fs-extra "^9.0.1" + globby "^11.0.1" + is-ci "^2.0.0" + is-reference "^1.2.1" + jest-worker "^26.3.0" + magic-string "^0.25.7" + meow "^7.1.0" + micromatch "^4.0.2" + ms "^2.1.2" + normalize-path "^3.0.0" + npm-packlist "^2.1.2" + p-limit "^3.0.2" + parse-glob "^3.0.4" + parse-json "^5.1.0" + quick-lru "^5.1.1" + resolve "^1.17.0" + resolve-from "^5.0.0" + rollup "^2.32.0" + terser "^5.2.1" + v8-compile-cache "^2.1.1" + +"@preconstruct/hook@^0.4.0": + version "0.4.0" + resolved "https://registry.yarnpkg.com/@preconstruct/hook/-/hook-0.4.0.tgz#c15dfacfc6e60652a6837209c2fd87f0240b099e" + integrity sha512-a7mrlPTM3tAFJyz43qb4pPVpUx8j8TzZBFsNFqcKcE/sEakNXRlQAuCT4RGZRf9dQiiUnBahzSIWawU4rENl+Q== + dependencies: + "@babel/core" "^7.7.7" + "@babel/plugin-transform-modules-commonjs" "^7.7.5" + pirates "^4.0.1" + source-map-support "^0.5.16" + "@reach/alert@0.10.3": version "0.10.3" resolved "https://registry.yarnpkg.com/@reach/alert/-/alert-0.10.3.tgz#9e4278edf8e6cfbe94df9a105faaa1c049a84517" @@ -2972,26 +3073,18 @@ dependencies: slash "^3.0.0" -"@rollup/plugin-babel@^5.0.3": - version "5.0.4" - resolved "https://registry.yarnpkg.com/@rollup/plugin-babel/-/plugin-babel-5.0.4.tgz#dbfcf86a0561e399579ceb1a534a83c970e76645" - integrity sha512-MBtNoi5gqBEbqy1gE9jZBfPsi10kbuK2CEu9bx53nk1Z3ATRvBOoZ/GsbhXOeVbS76xXi/DeYM+vYX6EGIDv9A== +"@rollup/plugin-commonjs@^15.0.0": + version "15.1.0" + resolved "https://registry.yarnpkg.com/@rollup/plugin-commonjs/-/plugin-commonjs-15.1.0.tgz#1e7d076c4f1b2abf7e65248570e555defc37c238" + integrity sha512-xCQqz4z/o0h2syQ7d9LskIMvBSH4PX5PjYdpSSvgS+pQik3WahkQVNWg3D8XJeYjZoVWnIUQYDghuEMRGrmQYQ== dependencies: - "@babel/helper-module-imports" "^7.7.4" - "@rollup/pluginutils" "^3.0.8" - -"@rollup/plugin-commonjs@^13.0.0": - version "13.0.0" - resolved "https://registry.yarnpkg.com/@rollup/plugin-commonjs/-/plugin-commonjs-13.0.0.tgz#8a1d684ba6848afe8b9e3d85649d4b2f6f7217ec" - integrity sha512-Anxc3qgkAi7peAyesTqGYidG5GRim9jtg8xhmykNaZkImtvjA7Wsqep08D2mYsqw1IF7rA3lYfciLgzUSgRoqw== - dependencies: - "@rollup/pluginutils" "^3.0.8" + "@rollup/pluginutils" "^3.1.0" commondir "^1.0.1" - estree-walker "^1.0.1" - glob "^7.1.2" - is-reference "^1.1.2" - magic-string "^0.25.2" - resolve "^1.11.0" + estree-walker "^2.0.1" + glob "^7.1.6" + is-reference "^1.2.1" + magic-string "^0.25.7" + resolve "^1.17.0" "@rollup/plugin-json@^4.1.0": version "4.1.0" @@ -3000,18 +3093,27 @@ dependencies: "@rollup/pluginutils" "^3.0.8" -"@rollup/plugin-node-resolve@^6.1.0": - version "6.1.0" - resolved "https://registry.yarnpkg.com/@rollup/plugin-node-resolve/-/plugin-node-resolve-6.1.0.tgz#0d2909f4bf606ae34d43a9bc8be06a9b0c850cf0" - integrity sha512-Cv7PDIvxdE40SWilY5WgZpqfIUEaDxFxs89zCAHjqyRwlTSuql4M5hjIuc5QYJkOH0/vyiyNXKD72O+LhRipGA== +"@rollup/plugin-node-resolve@^9.0.0": + version "9.0.0" + resolved "https://registry.yarnpkg.com/@rollup/plugin-node-resolve/-/plugin-node-resolve-9.0.0.tgz#39bd0034ce9126b39c1699695f440b4b7d2b62e6" + integrity sha512-gPz+utFHLRrd41WMP13Jq5mqqzHL3OXrfj3/MkSyB6UBIcuNt9j60GCbarzMzdf1VHFpOxfQh/ez7wyadLMqkg== dependencies: - "@rollup/pluginutils" "^3.0.0" - "@types/resolve" "0.0.8" + "@rollup/pluginutils" "^3.1.0" + "@types/resolve" "1.17.1" builtin-modules "^3.1.0" + deepmerge "^4.2.2" is-module "^1.0.0" - resolve "^1.11.1" + resolve "^1.17.0" + +"@rollup/plugin-replace@^2.3.3": + version "2.3.4" + resolved "https://registry.yarnpkg.com/@rollup/plugin-replace/-/plugin-replace-2.3.4.tgz#7dd84c17755d62b509577f2db37eb524d7ca88ca" + integrity sha512-waBhMzyAtjCL1GwZes2jaE9MjuQ/DQF2BatH3fRivUF3z0JBFrU0U6iBNC/4WR+2rLKhaAhPWDNPYp4mI6RqdQ== + dependencies: + "@rollup/pluginutils" "^3.1.0" + magic-string "^0.25.7" -"@rollup/pluginutils@^3.0.0", "@rollup/pluginutils@^3.0.8": +"@rollup/pluginutils@^3.0.8", "@rollup/pluginutils@^3.1.0": version "3.1.0" resolved "https://registry.yarnpkg.com/@rollup/pluginutils/-/pluginutils-3.1.0.tgz#706b4524ee6dc8b103b3c995533e5ad680c02b9b" integrity sha512-GksZ6pr6TpIjHm8h9lSQ8pi8BE9VeubNT0OMJ3B5uZJ8pz73NPiqOtCog/x2/QzM1ENChPKxMDhiQuRHsqc+lg== @@ -3513,10 +3615,10 @@ "@types/react" "*" "@types/styled-system" "*" -"@types/resolve@0.0.8": - version "0.0.8" - resolved "https://registry.yarnpkg.com/@types/resolve/-/resolve-0.0.8.tgz#f26074d238e02659e323ce1a13d041eee280e194" - integrity sha512-auApPaJf3NPfe18hSoJkp8EbZzer2ISk7o8mCC3M9he/a04+gbMF97NkpD2S8riMGvm4BMRI59/SZQSaLTKpsQ== +"@types/resolve@1.17.1": + version "1.17.1" + resolved "https://registry.yarnpkg.com/@types/resolve/-/resolve-1.17.1.tgz#3afd6ad8967c77e4376c598a82ddd58f46ec45d6" + integrity sha512-yy7HuzQhj0dhGpD8RLXSZWEkLsV9ibvxvi6EiJ3bkqLAO1RGo0WbkWQiwpRlSFymTJRz0d3k5LM3kkx8ArDbLw== dependencies: "@types/node" "*" @@ -3902,11 +4004,6 @@ acorn@^7.0.0, acorn@^7.1.1, acorn@^7.2.0: resolved "https://registry.yarnpkg.com/acorn/-/acorn-7.2.0.tgz#17ea7e40d7c8640ff54a694c889c26f31704effe" integrity sha512-apwXVmYVpQ34m/i71vrApRrRKCWQnZZF1+npOD0WV5xZFfwWOmKGQ2RWlfdy9vWITsenisM8M0Qeq8agcFHNiQ== -acorn@^7.1.0: - version "7.3.1" - resolved "https://registry.yarnpkg.com/acorn/-/acorn-7.3.1.tgz#85010754db53c3fbaf3b9ea3e083aa5c5d147ffd" - integrity sha512-tLc0wSnatxAQHVHUapaHdz72pi9KUyHjq5KyHjGg9Y8Ifdc79pTh2XvI6I1/chZbnM7QtNKzh66ooDogPZSleA== - address@1.0.3: version "1.0.3" resolved "https://registry.yarnpkg.com/address/-/address-1.0.3.tgz#b5f50631f8d6cec8bd20c963963afb55e06cbce9" @@ -3993,6 +4090,11 @@ ansi-colors@^3.0.0, ansi-colors@^3.2.1: resolved "https://registry.yarnpkg.com/ansi-colors/-/ansi-colors-3.2.4.tgz#e3a3da4bfbae6c86a9c285625de124a234026fbf" integrity sha512-hHUXGagefjN2iRrID63xckIvotOXOojhQKWIPUZ4mNUZ9nLZW+7FMNoE1lOkEhNWYsx/7ysGIuJYCiMAA9FnrA== +ansi-colors@^4.1.1: + version "4.1.1" + resolved "https://registry.yarnpkg.com/ansi-colors/-/ansi-colors-4.1.1.tgz#cbb9ae256bf750af1eab344f229aa27fe94ba348" + integrity sha512-JoX0apGbHaUJBNl6yF+p6JAFYZ666/hhCGKN5t9QFjbJQKUU/g8MNbFDbvfrgKXvI1QpZplPOnwIo99lX/AAmA== + ansi-escapes@^3.0.0, ansi-escapes@^3.1.0, ansi-escapes@^3.2.0: version "3.2.0" resolved "https://registry.yarnpkg.com/ansi-escapes/-/ansi-escapes-3.2.0.tgz#8780b98ff9dbf5638152d1f1fe5c1d7b4442976b" @@ -4385,11 +4487,6 @@ asynckit@^0.4.0: resolved "https://registry.yarnpkg.com/asynckit/-/asynckit-0.4.0.tgz#c79ed97f7f34cb8f2ba1bc9790bcc366474b4b79" integrity sha1-x57Zf380y48robyXkLzDZkdLS3k= -asyncro@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/asyncro/-/asyncro-3.0.0.tgz#3c7a732e263bc4a42499042f48d7d858e9c0134e" - integrity sha512-nEnWYfrBmA3taTiuiOoZYmgJ/CNrSoQLeLs29SeLcPu60yaw/mHDBHV0iOZ051fTvsTHxpCY+gXibqT9wbQYfg== - at-least-node@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/at-least-node/-/at-least-node-1.0.0.tgz#602cd4b46e844ad4effc92a8011a3c46e0238dc2" @@ -4887,11 +4984,6 @@ babel-plugin-transform-async-to-generator@^6.22.0, babel-plugin-transform-async- babel-plugin-syntax-async-functions "^6.8.0" babel-runtime "^6.22.0" -babel-plugin-transform-async-to-promises@^0.8.15: - version "0.8.15" - resolved "https://registry.yarnpkg.com/babel-plugin-transform-async-to-promises/-/babel-plugin-transform-async-to-promises-0.8.15.tgz#13b6d8ef13676b4e3c576d3600b85344bb1ba346" - integrity sha512-fDXP68ZqcinZO2WCiimCL9zhGjGXOnn3D33zvbh+yheZ/qOrNVVDDIBtAaM3Faz8TRvQzHiRKsu3hfrBAhEncQ== - babel-plugin-transform-class-constructor-call@^6.24.1: version "6.24.1" resolved "https://registry.yarnpkg.com/babel-plugin-transform-class-constructor-call/-/babel-plugin-transform-class-constructor-call-6.24.1.tgz#80dc285505ac067dcb8d6c65e2f6f11ab7765ef9" @@ -5205,13 +5297,6 @@ babel-plugin-transform-regenerator@^6.22.0: dependencies: regenerator-transform "^0.10.0" -babel-plugin-transform-replace-expressions@^0.2.0: - version "0.2.0" - resolved "https://registry.yarnpkg.com/babel-plugin-transform-replace-expressions/-/babel-plugin-transform-replace-expressions-0.2.0.tgz#59cba8df4b4a675e7c78cd21548f8e7685bbc30d" - integrity sha512-Eh1rRd9hWEYgkgoA3D0kGp7xJ/wgVshgsqmq60iC4HVWD+Lux+fNHSHBa2v1Hsv+dHflShC71qKhiH40OiPtDA== - dependencies: - "@babel/parser" "^7.3.3" - babel-plugin-transform-runtime@^6.23.0: version "6.23.0" resolved "https://registry.yarnpkg.com/babel-plugin-transform-runtime/-/babel-plugin-transform-runtime-6.23.0.tgz#88490d446502ea9b8e7efb0fe09ec4d99479b1ee" @@ -5714,13 +5799,6 @@ brorand@^1.0.1: resolved "https://registry.yarnpkg.com/brorand/-/brorand-1.1.0.tgz#12c25efe40a45e3c323eb8675a0a0ce57b22371f" integrity sha1-EsJe/kCkXjwyPrhnWgoM5XsiNx8= -brotli-size@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/brotli-size/-/brotli-size-4.0.0.tgz#a05ee3faad3c0e700a2f2da826ba6b4d76e69e5e" - integrity sha512-uA9fOtlTRC0iqKfzff1W34DXUA3GyVqbUaeo3Rw3d4gd1eavKVCETXrn3NzO74W+UVkG3UHu8WxUi+XvKI/huA== - dependencies: - duplexer "0.1.1" - browser-process-hrtime@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/browser-process-hrtime/-/browser-process-hrtime-1.0.0.tgz#3c9b4b7d782c8121e56f10106d84c0d0ffc94626" @@ -6200,7 +6278,7 @@ ccount@^1.0.0, ccount@^1.0.3: resolved "https://registry.yarnpkg.com/ccount/-/ccount-1.0.5.tgz#ac82a944905a65ce204eb03023157edf29425c17" integrity sha512-MOli1W+nfbPLlKEhInaxhRdp7KVLFxLN5ykwzHgLsLI3H3gs5jjFAK4Eoj3OzzcxCtumDaI8onoVDeQyWaNTkw== -chalk@1.1.3, chalk@^1.0.0, chalk@^1.1.3: +chalk@1.1.3, chalk@^1.1.3: version "1.1.3" resolved "https://registry.yarnpkg.com/chalk/-/chalk-1.1.3.tgz#a8115c55e4a702fe4d150abd3872822a7e09fc98" integrity sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg= @@ -6872,13 +6950,6 @@ concat-stream@^2.0.0: readable-stream "^3.0.2" typedarray "^0.0.6" -concat-with-sourcemaps@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/concat-with-sourcemaps/-/concat-with-sourcemaps-1.1.0.tgz#d4ea93f05ae25790951b99e7b3b09e3908a4082e" - integrity sha512-4gEjHJFT9e+2W/77h/DS5SGUgwDaOwprX8L/gl5+3ixnzkVJJsZWDSelmN3Oilw3LNDZjZV0yqH1hLG3k6nghg== - dependencies: - source-map "^0.6.1" - config-chain@^1.1.11: version "1.1.12" resolved "https://registry.yarnpkg.com/config-chain/-/config-chain-1.1.12.tgz#0fde8d091200eb5e808caf25fe618c02f48e4efa" @@ -7371,18 +7442,6 @@ css-loader@^1.0.1: postcss-value-parser "^3.3.0" source-list-map "^2.0.0" -css-modules-loader-core@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/css-modules-loader-core/-/css-modules-loader-core-1.1.0.tgz#5908668294a1becd261ae0a4ce21b0b551f21d16" - integrity sha1-WQhmgpShvs0mGuCkziGwtVHyHRY= - dependencies: - icss-replace-symbols "1.1.0" - postcss "6.0.1" - postcss-modules-extract-imports "1.1.0" - postcss-modules-local-by-default "1.2.0" - postcss-modules-scope "1.1.0" - postcss-modules-values "1.3.0" - css-mqpacker@^6.0.2: version "6.0.2" resolved "https://registry.yarnpkg.com/css-mqpacker/-/css-mqpacker-6.0.2.tgz#ced48675c644e846b3c9459e0a473f2aead1ff31" @@ -8319,7 +8378,7 @@ duplexer3@^0.1.4: resolved "https://registry.yarnpkg.com/duplexer3/-/duplexer3-0.1.4.tgz#ee01dd1cac0ed3cbc7fdbea37dc0a8f1ce002ce2" integrity sha1-7gHdHKwO08vH/b6jfcCo8c4ALOI= -duplexer@0.1.1, duplexer@^0.1.1: +duplexer@^0.1.1: version "0.1.1" resolved "https://registry.yarnpkg.com/duplexer/-/duplexer-0.1.1.tgz#ace6ff808c1ce66b57d1ebf97977acb02334cfc1" integrity sha1-rOb/gIwc5mtX0ev5eXessCM0z8E= @@ -8478,6 +8537,13 @@ enquirer@^2.3.5: dependencies: ansi-colors "^3.2.1" +enquirer@^2.3.6: + version "2.3.6" + resolved "https://registry.yarnpkg.com/enquirer/-/enquirer-2.3.6.tgz#2a7fe5dd634a1e4125a975ec994ff5456dc3734d" + integrity sha512-yjNnPr315/FjS4zIsUxYguYUPP2e1NK4d7E7ZOLiyYCcbFBiTMyID+2wvm2w6+pZ/odMA7cRkjhsPbltwBOrLg== + dependencies: + ansi-colors "^4.1.1" + entities@1.0: version "1.0.0" resolved "https://registry.yarnpkg.com/entities/-/entities-1.0.0.tgz#b2987aa3821347fcde642b24fdfc9e4fb712bf26" @@ -8595,11 +8661,6 @@ es6-promisify@^5.0.0: dependencies: es6-promise "^4.0.3" -es6-promisify@^6.1.1: - version "6.1.1" - resolved "https://registry.yarnpkg.com/es6-promisify/-/es6-promisify-6.1.1.tgz#46837651b7b06bf6fff893d03f29393668d01621" - integrity sha512-HBL8I3mIki5C1Cc9QjKUenHtnG0A5/xA8Q/AllRcfiwl2CZFXGK7ddBiCoRwAix4i2KxcQfjtIVcrVbB3vbmwg== - es6-symbol@^3.1.1, es6-symbol@~3.1.3: version "3.1.3" resolved "https://registry.yarnpkg.com/es6-symbol/-/es6-symbol-3.1.3.tgz#bad5d3c1bcdac28269f4cb331e431c78ac705d18" @@ -8623,11 +8684,6 @@ escape-string-regexp@^2.0.0: resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-2.0.0.tgz#a30304e99daa32e23b2fd20f51babd07cffca344" integrity sha512-UpzcLCXolUWcNu5HtVMHYdXJjArjsF9C0aNnquZYY4uW/Vu0miy5YoWvbV345HauVvcAUnpRuhMMcqTcGOY2+w== -escape-string-regexp@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz#14ba83a5d373e3d311e5afca29cf5bfad965bf34" - integrity sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA== - escodegen@^1.14.1: version "1.14.2" resolved "https://registry.yarnpkg.com/escodegen/-/escodegen-1.14.2.tgz#14ab71bf5026c2aa08173afba22c6f3173284a84" @@ -8865,16 +8921,16 @@ estraverse@^5.1.0: resolved "https://registry.yarnpkg.com/estraverse/-/estraverse-5.1.0.tgz#374309d39fd935ae500e7b92e8a6b4c720e59642" integrity sha512-FyohXK+R0vE+y1nHLoBM7ZTyqRpqAlhdZHCWIWEviFLiGB8b04H6bQs8G+XTthacvT8VuwvteiP7RJSxMs8UEw== -estree-walker@^0.6.1: - version "0.6.1" - resolved "https://registry.yarnpkg.com/estree-walker/-/estree-walker-0.6.1.tgz#53049143f40c6eb918b23671d1fe3219f3a1b362" - integrity sha512-SqmZANLWS0mnatqbSfRP5g8OXZC12Fgg1IwNtLsyHDzJizORW4khDfjPqJZsemPWBB2uqykUah5YpQ6epsqC/w== - estree-walker@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/estree-walker/-/estree-walker-1.0.1.tgz#31bc5d612c96b704106b477e6dd5d8aa138cb700" integrity sha512-1fMXF3YP4pZZVozF8j/ZLfvnR8NSIljt56UhbZ5PeeDmmGHpgpdwQt7ITlGvYaQukCvuBRMLEiKiYC+oeIg4cg== +estree-walker@^2.0.1: + version "2.0.1" + resolved "https://registry.yarnpkg.com/estree-walker/-/estree-walker-2.0.1.tgz#f8e030fb21cefa183b44b7ad516b747434e7a3e0" + integrity sha512-tF0hv+Yi2Ot1cwj9eYHtxC0jB9bmjacjQs6ZBTj82H8JwUywFuc+7E83NWfNMwHXZc11mjfFcVXPe9gEP4B8dg== + esutils@^2.0.2: version "2.0.3" resolved "https://registry.yarnpkg.com/esutils/-/esutils-2.0.3.tgz#74d2eb4de0b8da1293711910d50775b9b710ef64" @@ -9163,6 +9219,11 @@ extsprintf@^1.2.0: resolved "https://registry.yarnpkg.com/extsprintf/-/extsprintf-1.4.0.tgz#e2689f8f356fad62cca65a3a91c5df5f9551692f" integrity sha1-4mifjzVvrWLMplo6kcXfX5VRaS8= +fast-deep-equal@^2.0.1: + version "2.0.1" + resolved "https://registry.yarnpkg.com/fast-deep-equal/-/fast-deep-equal-2.0.1.tgz#7b05218ddf9667bf7f370bf7fdb2cb15fdd0aa49" + integrity sha1-ewUhjd+WZ79/Nwv3/bLLFf3Qqkk= + fast-deep-equal@^3.1.1: version "3.1.1" resolved "https://registry.yarnpkg.com/fast-deep-equal/-/fast-deep-equal-3.1.1.tgz#545145077c501491e33b15ec408c294376e94ae4" @@ -9284,14 +9345,6 @@ figgy-pudding@^3.4.1, figgy-pudding@^3.5.1: resolved "https://registry.yarnpkg.com/figgy-pudding/-/figgy-pudding-3.5.2.tgz#b4eee8148abb01dcf1d1ac34367d59e12fa61d6e" integrity sha512-0btnI/H8f2pavGMN8w40mlSKOfTK2SVJmBfBeVIj3kNw0swwgzyRq0d5TJVOwodFmtvpPeWPN/MCcfuWF0Ezbw== -figures@^1.0.1: - version "1.7.0" - resolved "https://registry.yarnpkg.com/figures/-/figures-1.7.0.tgz#cbe1e3affcf1cd44b80cadfed28dc793a9701d2e" - integrity sha1-y+Hjr/zxzUS4DK3+0o3Hk6lwHS4= - dependencies: - escape-string-regexp "^1.0.5" - object-assign "^4.1.0" - figures@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/figures/-/figures-2.0.0.tgz#3ab1a2d2a62c8bfb431a0c94cb797a2fce27c962" @@ -9336,11 +9389,6 @@ filesize@3.5.11: resolved "https://registry.yarnpkg.com/filesize/-/filesize-3.5.11.tgz#1919326749433bb3cf77368bd158caabcc19e9ee" integrity sha512-ZH7loueKBoDb7yG9esn1U+fgq7BzlzW6NRi5/rMdxIZ05dj7GFD/Xc5rq2CDt5Yq86CyfSYVyx4242QQNZbx1g== -filesize@^6.1.0: - version "6.1.0" - resolved "https://registry.yarnpkg.com/filesize/-/filesize-6.1.0.tgz#e81bdaa780e2451d714d71c0d7a4f3238d37ad00" - integrity sha512-LpCHtPQ3sFx67z+uh2HnSyWSLLu5Jxo21795uRDuar/EOuYWXib5EmPaGIBuSnRqH2IODiKA2k5re/K9OnN/Yg== - fill-range@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/fill-range/-/fill-range-4.0.0.tgz#d544811d428f98eb06a63dc402d2403c328c38f7" @@ -9389,15 +9437,6 @@ find-cache-dir@^2.0.0, find-cache-dir@^2.1.0: make-dir "^2.0.0" pkg-dir "^3.0.0" -find-cache-dir@^3.0.0: - version "3.3.1" - resolved "https://registry.yarnpkg.com/find-cache-dir/-/find-cache-dir-3.3.1.tgz#89b33fad4a4670daa94f855f7fbe31d6d84fe880" - integrity sha512-t2GDMt3oGC/v+BMwzmllWDuJF/xcDtE5j/fCGbqDD7OLuJkj0cfh1YSA5VKPvwMeLFLNDBkwOKZ2X85jGLVftQ== - dependencies: - commondir "^1.0.1" - make-dir "^3.0.2" - pkg-dir "^4.1.0" - find-root@^1.1.0: version "1.1.0" resolved "https://registry.yarnpkg.com/find-root/-/find-root-1.1.0.tgz#abcfc8ba76f708c42a97b3d685b7e9450bfb9ce4" @@ -9588,7 +9627,17 @@ fs-exists-cached@1.0.0, fs-exists-cached@^1.0.0: resolved "https://registry.yarnpkg.com/fs-exists-cached/-/fs-exists-cached-1.0.0.tgz#cf25554ca050dc49ae6656b41de42258989dcbce" integrity sha1-zyVVTKBQ3EmuZla0HeQiWJidy84= -fs-extra@8.1.0, fs-extra@^8.0.0, fs-extra@^8.1.0: +fs-extra@9.0.0: + version "9.0.0" + resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-9.0.0.tgz#b6afc31036e247b2466dc99c29ae797d5d4580a3" + integrity sha512-pmEYSk3vYsG/bF651KPUXZ+hvjpgWYw/Gc7W9NFUe3ZVLczKKWIij3IKpOrQcdw4TILtibFslZ0UmR8Vvzig4g== + dependencies: + at-least-node "^1.0.0" + graceful-fs "^4.2.0" + jsonfile "^6.0.1" + universalify "^1.0.0" + +fs-extra@^8.0.0, fs-extra@^8.1.0: version "8.1.0" resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-8.1.0.tgz#49d43c45a88cd9677668cb7be1b46efdb8d2e1c0" integrity sha512-yhlQgA6mnOJUKOsRUFsgJdQCvkKhcz8tlZG5HBQfReYZy46OwLcY+Zia0mtdHsOo9y/hP+CxMN0TU9QxoOtG4g== @@ -9597,10 +9646,10 @@ fs-extra@8.1.0, fs-extra@^8.0.0, fs-extra@^8.1.0: jsonfile "^4.0.0" universalify "^0.1.0" -fs-extra@9.0.0: - version "9.0.0" - resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-9.0.0.tgz#b6afc31036e247b2466dc99c29ae797d5d4580a3" - integrity sha512-pmEYSk3vYsG/bF651KPUXZ+hvjpgWYw/Gc7W9NFUe3ZVLczKKWIij3IKpOrQcdw4TILtibFslZ0UmR8Vvzig4g== +fs-extra@^9.0.1: + version "9.0.1" + resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-9.0.1.tgz#910da0062437ba4c39fedd863f1675ccfefcb9fc" + integrity sha512-h2iAoN838FqAFJY2/qVpzFXy+EBxfVE220PalAqQLDVsFOHLJrZvut5puAbCdNv6WJk+B8ihI+k0c7JK5erwqQ== dependencies: at-least-node "^1.0.0" graceful-fs "^4.2.0" @@ -10194,13 +10243,6 @@ gauge@~2.7.3: strip-ansi "^3.0.1" wide-align "^1.1.0" -generic-names@^2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/generic-names/-/generic-names-2.0.1.tgz#f8a378ead2ccaa7a34f0317b05554832ae41b872" - integrity sha512-kPCHWa1m9wGG/OwQpeweTwM/PYiQLrUIxXbt/P4Nic3LbGjCP0YwrALHW1uNLKZ0LIMg+RF+XRlj2ekT9ZlZAQ== - dependencies: - loader-utils "^1.1.0" - genfun@^5.0.0: version "5.0.0" resolved "https://registry.yarnpkg.com/genfun/-/genfun-5.0.0.tgz#9dd9710a06900a5c4a5bf57aca5da4e52fe76537" @@ -10377,6 +10419,21 @@ github-slugger@^1.0.0, github-slugger@^1.2.1: dependencies: emoji-regex ">=6.0.0 <=6.1.1" +glob-base@^0.3.0: + version "0.3.0" + resolved "https://registry.yarnpkg.com/glob-base/-/glob-base-0.3.0.tgz#dbb164f6221b1c0b1ccf82aea328b497df0ea3c4" + integrity sha1-27Fk9iIbHAscz4Kuoyi0l98Oo8Q= + dependencies: + glob-parent "^2.0.0" + is-glob "^2.0.0" + +glob-parent@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/glob-parent/-/glob-parent-2.0.0.tgz#81383d72db054fcccf5336daa902f182f6edbb28" + integrity sha1-gTg9ctsFT8zPUzbaqQLxgvbtuyg= + dependencies: + is-glob "^2.0.0" + glob-parent@^3.1.0: version "3.1.0" resolved "https://registry.yarnpkg.com/glob-parent/-/glob-parent-3.1.0.tgz#9e6af6299d8d3bd2bd40430832bd113df906c5ae" @@ -10477,12 +10534,7 @@ globals@^9.18.0: resolved "https://registry.yarnpkg.com/globals/-/globals-9.18.0.tgz#aa3896b3e69b487f17e31ed2143d69a8e30c2d8a" integrity sha512-S0nG3CLEQiY/ILxqtztTWH/3iRRdyBLw6KMDxnKMchrtbj2OFmehVh0WUCfW3DUrIgx/qFrJPICrq4Z4sTR9UQ== -globalyzer@^0.1.0: - version "0.1.4" - resolved "https://registry.yarnpkg.com/globalyzer/-/globalyzer-0.1.4.tgz#bc8e273afe1ac7c24eea8def5b802340c5cc534f" - integrity sha512-LeguVWaxgHN0MNbWC6YljNMzHkrCny9fzjmEUdnF1kQ7wATFD1RHFRqA1qxaX2tgxGENlcxjOflopBwj3YZiXA== - -globby@11.0.1: +globby@11.0.1, globby@^11.0.1: version "11.0.1" resolved "https://registry.yarnpkg.com/globby/-/globby-11.0.1.tgz#9a2bf107a068f3ffeabc49ad702c79ede8cfd357" integrity sha512-iH9RmgwCmUJHi2z5o2l3eTtGBtXek1OYlHrbcxOYugyHLmAsZrPj43OtHThd62Buh/Vv6VyCBD2bdyWcGNQqoQ== @@ -10533,11 +10585,6 @@ globby@^9.2.0: pify "^4.0.1" slash "^2.0.0" -globrex@^0.1.1: - version "0.1.2" - resolved "https://registry.yarnpkg.com/globrex/-/globrex-0.1.2.tgz#dd5d9ec826232730cd6793a5e33a9302985e6098" - integrity sha512-uHJgbwAMwNFf5mLst7IWLNg14x1CkeqglJb/K3doi4dw6q2IvAAmM/Y81kevy83wP+Sst+nutFTYOGg3d1lsxg== - good-listener@^1.2.2: version "1.2.2" resolved "https://registry.yarnpkg.com/good-listener/-/good-listener-1.2.2.tgz#d53b30cdf9313dffb7dc9a0d477096aa6d145c50" @@ -10728,7 +10775,7 @@ gud@^1.0.0: resolved "https://registry.yarnpkg.com/gud/-/gud-1.0.0.tgz#a489581b17e6a70beca9abe3ae57de7a499852c0" integrity sha512-zGEOVKFM5sVPPrYs7J5/hYEw2Pof8KCyOwyhG8sAF26mCAeUFAcYPu1mwB7hhpIP29zOIBaDqwuHdLp0jvZXjw== -gzip-size@3.0.0, gzip-size@^3.0.0: +gzip-size@3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/gzip-size/-/gzip-size-3.0.0.tgz#546188e9bdc337f673772f81660464b389dce520" integrity sha1-VGGI6b3DN/Zzdy+BZgRks4nc5SA= @@ -10743,14 +10790,6 @@ gzip-size@^1.0.0: browserify-zlib "^0.1.4" concat-stream "^1.4.1" -gzip-size@^5.1.1: - version "5.1.1" - resolved "https://registry.yarnpkg.com/gzip-size/-/gzip-size-5.1.1.tgz#cb9bee692f87c0612b232840a873904e4c135274" - integrity sha512-FNHi6mmoHvs1mxZAds4PpdCS6QG8B4C1krxJsMutgxl5t3+GlRTzzI3NEkifXx2pVsOvJdOGSmIgDhQ55FwdPA== - dependencies: - duplexer "^0.1.1" - pify "^4.0.1" - handle-thing@^2.0.0: version "2.0.1" resolved "https://registry.yarnpkg.com/handle-thing/-/handle-thing-2.0.1.tgz#857f79ce359580c340d43081cc648970d0bb234e" @@ -11302,7 +11341,7 @@ iconv-lite@0.4.24, iconv-lite@^0.4.17, iconv-lite@^0.4.24, iconv-lite@~0.4.13: dependencies: safer-buffer ">= 2.1.2 < 3" -icss-replace-symbols@1.1.0, icss-replace-symbols@^1.1.0: +icss-replace-symbols@^1.1.0: version "1.1.0" resolved "https://registry.yarnpkg.com/icss-replace-symbols/-/icss-replace-symbols-1.1.0.tgz#06ea6f83679a7749e386cfe1fe812ae5db223ded" integrity sha1-Bupvg2ead0njhs/h/oEq5dsiPe0= @@ -11324,7 +11363,7 @@ iferr@^0.1.5: resolved "https://registry.yarnpkg.com/iferr/-/iferr-0.1.5.tgz#c60eed69e6d8fdb6b3104a1fcbca1c192dc5b501" integrity sha1-xg7taebY/bazEEofy8ocGS3FtQE= -ignore-walk@^3.0.1: +ignore-walk@^3.0.1, ignore-walk@^3.0.3: version "3.0.3" resolved "https://registry.yarnpkg.com/ignore-walk/-/ignore-walk-3.0.3.tgz#017e2447184bfeade7c238e4aefdd1e8f95b1e37" integrity sha512-m7o6xuOaT1aqheYHKf8W6J5pYH85ZI9w077erOzLje3JsB1gkafkAhHHY19dqjulgIZHFm32Cp5uNZgcQqdJKw== @@ -11358,13 +11397,6 @@ import-cwd@^2.0.0: dependencies: import-from "^2.1.0" -import-cwd@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/import-cwd/-/import-cwd-3.0.0.tgz#20845547718015126ea9b3676b7592fb8bd4cf92" - integrity sha512-4pnzH16plW+hgvRECbDWpQl3cqtvSofHWh44met7ESfZ8UZOWWddm8hEyDTqREJ9RbYHY8gi8DqmaelApoOGMg== - dependencies: - import-from "^3.0.0" - import-fresh@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/import-fresh/-/import-fresh-2.0.0.tgz#d81355c15612d386c61f9ddd3922d4304822a546" @@ -11381,7 +11413,7 @@ import-fresh@^3.0.0, import-fresh@^3.1.0: parent-module "^1.0.0" resolve-from "^4.0.0" -import-from@3.0.0, import-from@^3.0.0: +import-from@3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/import-from/-/import-from-3.0.0.tgz#055cfec38cd5a27d8057ca51376d7d3bf0891966" integrity sha512-CiuXOFFSzkU5x/CR0+z7T91Iht4CXgfCxVOFRhh2Zyhg5wOpWvvDLQUsWl+gcN+QscYBjez8hDCt85O7RLDttQ== @@ -11858,6 +11890,11 @@ is-docker@2.0.0, is-docker@^2.0.0: resolved "https://registry.yarnpkg.com/is-docker/-/is-docker-2.0.0.tgz#2cb0df0e75e2d064fe1864c37cdeacb7b2dcf25b" integrity sha512-pJEdRugimx4fBMra5z2/5iRdZ63OhYV0vr0Dwm5+xtW4D1FvRkB8hamMIhnWfyJeDdyr/aa7BDyNbtG38VxgoQ== +is-dotfile@^1.0.0: + version "1.0.3" + resolved "https://registry.yarnpkg.com/is-dotfile/-/is-dotfile-1.0.3.tgz#a6a2f32ffd2dfb04f5ca25ecd0f6b83cf798a1e1" + integrity sha1-pqLzL/0t+wT1yiXs0Pa4PPeYoeE= + is-empty@0.0.1: version "0.0.1" resolved "https://registry.yarnpkg.com/is-empty/-/is-empty-0.0.1.tgz#09fdc3d649dda5969156c0853a9b76bd781c5a33" @@ -12074,7 +12111,7 @@ is-present@^1.0.0: dependencies: is-blank "1.0.0" -is-reference@^1.1.2: +is-reference@^1.2.1: version "1.2.1" resolved "https://registry.yarnpkg.com/is-reference/-/is-reference-1.2.1.tgz#8b2dac0b371f4bc994fdeaba9eb542d03002d0b7" integrity sha512-U82MsXXiFIrjCK4otLT+o2NA2Cd2g5MLoOVXUZjIOhLurrRxpEXzI8O0KZHr3IjLvlAH1kTPYSuqer5T9ZVBKQ== @@ -12754,6 +12791,15 @@ jest-worker@^26.1.0: merge-stream "^2.0.0" supports-color "^7.0.0" +jest-worker@^26.3.0: + version "26.6.2" + resolved "https://registry.yarnpkg.com/jest-worker/-/jest-worker-26.6.2.tgz#7f72cbc4d643c365e27b9fd775f9d0eaa9c7a8ed" + integrity sha512-KWYVV1c4i+jbMpaBC+U++4Va0cp8OisU185o73T1vo99hqi7w8tSJfUXYswwqqrjzwxa6KpRK54WhPvwf5w6PQ== + dependencies: + "@types/node" "*" + merge-stream "^2.0.0" + supports-color "^7.0.0" + jest@^26.0.1: version "26.1.0" resolved "https://registry.yarnpkg.com/jest/-/jest-26.1.0.tgz#2f3aa7bcffb9bfd025473f83bbbf46a3af026263" @@ -12866,6 +12912,11 @@ json-parse-better-errors@^1.0.0, json-parse-better-errors@^1.0.1, json-parse-bet resolved "https://registry.yarnpkg.com/json-parse-better-errors/-/json-parse-better-errors-1.0.2.tgz#bb867cfb3450e69107c131d1c514bab3dc8bcaa9" integrity sha512-mrqyZKfX5EhL7hvqcV6WG1yYjnjeuYDzDhhcAAUrq8Po85NBQBJP+ZDUT75qZQ98IkUoBqdkExkukOU7Ts2wrw== +json-parse-even-better-errors@^2.3.0: + version "2.3.1" + resolved "https://registry.yarnpkg.com/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz#7c47805a94319928e05777405dc12e1f7a4ee02d" + integrity sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w== + json-schema-traverse@^0.4.1: version "0.4.1" resolved "https://registry.yarnpkg.com/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz#69f6a87d9513ab8bb8fe63bdb0979c448e684660" @@ -13220,11 +13271,6 @@ lodash.bind@^4.1.4: resolved "https://registry.yarnpkg.com/lodash.bind/-/lodash.bind-4.2.1.tgz#7ae3017e939622ac31b7d7d7dcb1b34db1690d35" integrity sha1-euMBfpOWIqwxt9fX3LGzTbFpDTU= -lodash.camelcase@^4.3.0: - version "4.3.0" - resolved "https://registry.yarnpkg.com/lodash.camelcase/-/lodash.camelcase-4.3.0.tgz#b28aa6288a2b9fc651035c7711f65ab6190331a6" - integrity sha1-soqmKIorn8ZRA1x3EfZathkDMaY= - lodash.clonedeep@4.5.0, lodash.clonedeep@^4.5.0: version "4.5.0" resolved "https://registry.yarnpkg.com/lodash.clonedeep/-/lodash.clonedeep-4.5.0.tgz#e23f3f9c4f8fbdde872529c1071857a086e5ccef" @@ -13535,21 +13581,14 @@ magic-string@^0.19.0: dependencies: vlq "^0.2.1" -magic-string@^0.22.4: - version "0.22.5" - resolved "https://registry.yarnpkg.com/magic-string/-/magic-string-0.22.5.tgz#8e9cf5afddf44385c1da5bc2a6a0dbd10b03657e" - integrity sha512-oreip9rJZkzvA8Qzk9HFs8fZGF/u7H/gtrE8EN6RjKJ9kh2HlC+yQ2QezifqTZfGyiuAV0dRv5a+y/8gBb1m9w== - dependencies: - vlq "^0.2.2" - -magic-string@^0.25.1, magic-string@^0.25.2: +magic-string@^0.25.1: version "0.25.4" resolved "https://registry.yarnpkg.com/magic-string/-/magic-string-0.25.4.tgz#325b8a0a79fc423db109b77fd5a19183b7ba5143" integrity sha512-oycWO9nEVAP2RVPbIoDoA4Y7LFIJ3xRYov93gAyJhZkET1tNuB0u7uWkZS2LpBWTJUWnmau/To8ECWRC+jKNfw== dependencies: sourcemap-codec "^1.4.4" -magic-string@^0.25.3: +magic-string@^0.25.3, magic-string@^0.25.7: version "0.25.7" resolved "https://registry.yarnpkg.com/magic-string/-/magic-string-0.25.7.tgz#3f497d6fd34c669c6798dcb821f2ef31f5445051" integrity sha512-4CrMT5DOHTDk4HYDlzmwu4FVCcIYI8gauveasrdCu2IKIFOJ3f0v/8MDGJCDL9oD2ppz/Av1b0Nj345H9M+XIA== @@ -13571,7 +13610,7 @@ make-dir@^2.0.0, make-dir@^2.1.0: pify "^4.0.1" semver "^5.6.0" -make-dir@^3.0.0, make-dir@^3.0.2: +make-dir@^3.0.0: version "3.1.0" resolved "https://registry.yarnpkg.com/make-dir/-/make-dir-3.1.0.tgz#415e967046b3a7f1d185277d84aa58203726a13f" integrity sha512-g3FeP20LNwhALb/6Cz6Dd4F2ngze0jz7tbzrD2wAV+o9FeNHe4rL+yK2md0J/fiSf1sa1ADhXqi5+oVwOM/eGw== @@ -13661,16 +13700,6 @@ math-expression-evaluator@^1.2.14: resolved "https://registry.yarnpkg.com/math-expression-evaluator/-/math-expression-evaluator-1.2.17.tgz#de819fdbcd84dccd8fae59c6aeb79615b9d266ac" integrity sha1-3oGf282E3M2PrlnGrreWFbnSZqw= -maxmin@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/maxmin/-/maxmin-2.1.0.tgz#4d3b220903d95eee7eb7ac7fa864e72dc09a3166" - integrity sha1-TTsiCQPZXu5+t6x/qGTnLcCaMWY= - dependencies: - chalk "^1.0.0" - figures "^1.0.1" - gzip-size "^3.0.0" - pretty-bytes "^3.0.0" - md5-file@^3.2.3: version "3.2.3" resolved "https://registry.yarnpkg.com/md5-file/-/md5-file-3.2.3.tgz#f9bceb941eca2214a4c0727f5e700314e770f06f" @@ -13872,6 +13901,23 @@ meow@^7.0.0: type-fest "^0.13.1" yargs-parser "^18.1.3" +meow@^7.1.0: + version "7.1.1" + resolved "https://registry.yarnpkg.com/meow/-/meow-7.1.1.tgz#7c01595e3d337fcb0ec4e8eed1666ea95903d306" + integrity sha512-GWHvA5QOcS412WCo8vwKDlTelGLsCGBVevQB5Kva961rmNfun0PCbv5+xta2kUMFJyR8/oWnn7ddeKdosbAPbA== + dependencies: + "@types/minimist" "^1.2.0" + camelcase-keys "^6.2.2" + decamelize-keys "^1.1.0" + hard-rejection "^2.1.0" + minimist-options "4.1.0" + normalize-package-data "^2.5.0" + read-pkg-up "^7.0.1" + redent "^3.0.0" + trim-newlines "^3.0.0" + type-fest "^0.13.1" + yargs-parser "^18.1.3" + merge-descriptors@1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/merge-descriptors/-/merge-descriptors-1.0.1.tgz#b00aaa556dd8b44568150ec9d1b953f3f90cbb61" @@ -13904,53 +13950,6 @@ micro@^6.1.0: minimist "1.2.0" raw-body "2.2.0" -microbundle@^0.12.2: - version "0.12.2" - resolved "https://registry.yarnpkg.com/microbundle/-/microbundle-0.12.2.tgz#3d79941291ef919dd280ecdffd4c8ee15ad394e3" - integrity sha512-6/48HlmDPq/Q1HyS5liFFSvcU0v8n8NROH3K1Z/saU+TRaxCe38eNNqZwjitOyTKilXqnp1yHEEjZGYWVvr7WQ== - dependencies: - "@babel/core" "^7.10.2" - "@babel/plugin-proposal-class-properties" "7.7.4" - "@babel/plugin-syntax-import-meta" "^7.10.1" - "@babel/plugin-syntax-jsx" "^7.10.1" - "@babel/plugin-transform-flow-strip-types" "^7.10.1" - "@babel/plugin-transform-react-jsx" "^7.10.1" - "@babel/plugin-transform-regenerator" "^7.10.1" - "@babel/preset-env" "^7.10.2" - "@babel/preset-flow" "^7.10.1" - "@babel/preset-modules" "^0.1.3" - "@rollup/plugin-alias" "^3.1.1" - "@rollup/plugin-babel" "^5.0.3" - "@rollup/plugin-commonjs" "^13.0.0" - "@rollup/plugin-json" "^4.1.0" - "@rollup/plugin-node-resolve" "^6.1.0" - asyncro "^3.0.0" - autoprefixer "^9.8.0" - babel-plugin-macros "^2.8.0" - babel-plugin-transform-async-to-promises "^0.8.15" - babel-plugin-transform-replace-expressions "^0.2.0" - brotli-size "^4.0.0" - camelcase "^5.3.1" - cssnano "^4.1.10" - es6-promisify "^6.1.1" - escape-string-regexp "^4.0.0" - filesize "^6.1.0" - gzip-size "^5.1.1" - kleur "^3.0.3" - lodash.merge "^4.6.2" - module-details-from-path "^1.0.3" - pretty-bytes "^5.3.0" - rollup "^1.32.1" - rollup-plugin-bundle-size "^1.0.1" - rollup-plugin-es3 "^1.1.0" - rollup-plugin-postcss "^2.9.0" - rollup-plugin-terser "^5.3.0" - rollup-plugin-typescript2 "^0.25.3" - sade "^1.7.3" - tiny-glob "^0.2.6" - tslib "^1.13.0" - typescript "^3.9.5" - micromatch@^3.0.4, micromatch@^3.1.10, micromatch@^3.1.4: version "3.1.10" resolved "https://registry.yarnpkg.com/micromatch/-/micromatch-3.1.10.tgz#70859bc95c9840952f359a068a3fc49f9ecfac23" @@ -14074,15 +14073,7 @@ minimatch@^3.0.3, minimatch@^3.0.4: dependencies: brace-expansion "^1.1.7" -minimist-options@^3.0.1: - version "3.0.2" - resolved "https://registry.yarnpkg.com/minimist-options/-/minimist-options-3.0.2.tgz#fba4c8191339e13ecf4d61beb03f070103f3d954" - integrity sha512-FyBrT/d0d4+uiZRbqznPXqw3IpZZG3gl3wKWiX784FycUKVwBt0uLBFkQrtE4tZOrgo78nZp2jnKz3L65T5LdQ== - dependencies: - arrify "^1.0.1" - is-plain-obj "^1.1.0" - -minimist-options@^4.0.2: +minimist-options@4.1.0, minimist-options@^4.0.2: version "4.1.0" resolved "https://registry.yarnpkg.com/minimist-options/-/minimist-options-4.1.0.tgz#c0655713c53a8a2ebd77ffa247d342c40f010619" integrity sha512-Q4r8ghd80yhO/0j1O3B2BjweX3fiHg9cdOwjJd2J76Q135c+NDxGCqdYKQ1SKBuFfgWbAUzBfvYjPUEeNgqN1A== @@ -14091,6 +14082,14 @@ minimist-options@^4.0.2: is-plain-obj "^1.1.0" kind-of "^6.0.3" +minimist-options@^3.0.1: + version "3.0.2" + resolved "https://registry.yarnpkg.com/minimist-options/-/minimist-options-3.0.2.tgz#fba4c8191339e13ecf4d61beb03f070103f3d954" + integrity sha512-FyBrT/d0d4+uiZRbqznPXqw3IpZZG3gl3wKWiX784FycUKVwBt0uLBFkQrtE4tZOrgo78nZp2jnKz3L65T5LdQ== + dependencies: + arrify "^1.0.1" + is-plain-obj "^1.1.0" + minimist@0.0.8: version "0.0.8" resolved "https://registry.yarnpkg.com/minimist/-/minimist-0.0.8.tgz#857fcabfc3397d2625b8228262e86aa7a011b05d" @@ -14200,11 +14199,6 @@ modularscale@^2.0.1: dependencies: lodash.isnumber "^3.0.0" -module-details-from-path@^1.0.3: - version "1.0.3" - resolved "https://registry.yarnpkg.com/module-details-from-path/-/module-details-from-path-1.0.3.tgz#114c949673e2a8a35e9d35788527aa37b679da2b" - integrity sha1-EUyUlnPiqKNenTV4hSeqN7Z52is= - moment@^2.26.0: version "2.26.0" resolved "https://registry.yarnpkg.com/moment/-/moment-2.26.0.tgz#5e1f82c6bafca6e83e808b30c8705eed0dcbd39a" @@ -14234,11 +14228,6 @@ mqify@^0.1.1: postcss-class-prefix "^0.3.0" strip-css-comments "^3.0.0" -mri@^1.1.0: - version "1.1.4" - resolved "https://registry.yarnpkg.com/mri/-/mri-1.1.4.tgz#7cb1dd1b9b40905f1fac053abe25b6720f44744a" - integrity sha512-6y7IjGPm8AzlvoUrwAaw1tLnUBudaS3752vcd8JtrpGGQn+rXIe63LFVHm/YMwtqAuh+LJPCFdlLYPWM1nYn6w== - ms@2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/ms/-/ms-2.0.0.tgz#5608aeadfc00be6c2901df5f9861788de0d597c8" @@ -14249,7 +14238,7 @@ ms@2.1.1: resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.1.tgz#30a5864eb3ebb0a66f2ebe6d727af06a09d86e0a" integrity sha512-tgp+dl5cGk28utYktBsrFqA7HKgrhgPsg6Z/EfhWI4gl1Hwq8B/GmY/0oXZ6nF8hDVesS/FpnYaD/kOWhYQvyg== -ms@^2.0.0, ms@^2.1.1: +ms@^2.0.0, ms@^2.1.1, ms@^2.1.2: version "2.1.2" resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.2.tgz#d09d1f357b443f493382a8eb3ccd183872ae6009" integrity sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w== @@ -14574,7 +14563,7 @@ normalize.css@^8.0.1: resolved "https://registry.yarnpkg.com/normalize.css/-/normalize.css-8.0.1.tgz#9b98a208738b9cc2634caacbc42d131c97487bf3" integrity sha512-qizSNPO93t1YUuUhP22btGOo3chcvDFqFaj2TRybP0DMxkHOCTYwp3n34fel4a31ORXy4m1Xq0Gyqpb5m33qIg== -npm-bundled@^1.0.1: +npm-bundled@^1.0.1, npm-bundled@^1.1.1: version "1.1.1" resolved "https://registry.yarnpkg.com/npm-bundled/-/npm-bundled-1.1.1.tgz#1edd570865a94cdb1bc8220775e29466c9fb234b" integrity sha512-gqkfgGePhTpAEgUsGEgcq1rqPXA+tv/aVBlgEzfXwA1yiUJF7xtEt3CtVwOjNYQOVknDk0F20w58Fnm3EtG0fA== @@ -14619,6 +14608,16 @@ npm-packlist@^1.4.4: npm-bundled "^1.0.1" npm-normalize-package-bin "^1.0.1" +npm-packlist@^2.1.2: + version "2.1.4" + resolved "https://registry.yarnpkg.com/npm-packlist/-/npm-packlist-2.1.4.tgz#40e96b2b43787d0546a574542d01e066640d09da" + integrity sha512-Qzg2pvXC9U4I4fLnUrBmcIT4x0woLtUgxUi9eC+Zrcv1Xx5eamytGAfbDWQ67j7xOcQ2VW1I3su9smVTIdu7Hw== + dependencies: + glob "^7.1.6" + ignore-walk "^3.0.3" + npm-bundled "^1.1.1" + npm-normalize-package-bin "^1.0.1" + npm-pick-manifest@^3.0.0: version "3.0.2" resolved "https://registry.yarnpkg.com/npm-pick-manifest/-/npm-pick-manifest-3.0.2.tgz#f4d9e5fd4be2153e5f4e5f9b7be8dc419a99abb7" @@ -15005,6 +15004,13 @@ p-limit@^1.1.0: dependencies: p-try "^1.0.0" +p-limit@^3.0.2: + version "3.0.2" + resolved "https://registry.yarnpkg.com/p-limit/-/p-limit-3.0.2.tgz#1664e010af3cadc681baafd3e2a437be7b0fb5fe" + integrity sha512-iwqZSOoWIW+Ew4kAGUlN16J4M7OB3ysMLSZtnhmqx7njIHFPlxWBX8xo3lVTyFVq6mI/lL9qt2IsN1sHwaxJkg== + dependencies: + p-try "^2.0.0" + p-locate@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/p-locate/-/p-locate-2.0.0.tgz#20a0103b222a70c8fd39cc2e580680f3dde5ec43" @@ -15071,14 +15077,6 @@ p-queue@^5.0.0: dependencies: eventemitter3 "^3.1.0" -p-queue@^6.3.0: - version "6.4.0" - resolved "https://registry.yarnpkg.com/p-queue/-/p-queue-6.4.0.tgz#5050b379393ea1814d6f9613a654f687d92c0466" - integrity sha512-X7ddxxiQ+bLR/CUt3/BVKrGcJDNxBr0pEEFKHHB6vTPWNUhgDv36GpIH18RmGM3YGPpBT+JWGjDDqsVGuF0ERw== - dependencies: - eventemitter3 "^4.0.0" - p-timeout "^3.1.0" - p-reduce@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/p-reduce/-/p-reduce-1.0.0.tgz#18c2b0dd936a4690a529f8231f58a0fdb6a47dfa" @@ -15098,13 +15096,6 @@ p-timeout@^2.0.1: dependencies: p-finally "^1.0.0" -p-timeout@^3.1.0: - version "3.2.0" - resolved "https://registry.yarnpkg.com/p-timeout/-/p-timeout-3.2.0.tgz#c7e17abc971d2a7962ef83626b35d635acf23dfe" - integrity sha512-rhIwUycgwwKcP9yTOOFK/AKsAopjjCakVqLHePO3CC6Mir1Z99xT+R63jZxAT5lFZLa2inS5h+ZS2GvR99/FBg== - dependencies: - p-finally "^1.0.0" - p-try@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/p-try/-/p-try-1.0.0.tgz#cbc79cdbaf8fd4228e13f621f2b1a237c1b207b3" @@ -15231,6 +15222,16 @@ parse-github-repo-url@^1.3.0: resolved "https://registry.yarnpkg.com/parse-github-repo-url/-/parse-github-repo-url-1.4.1.tgz#9e7d8bb252a6cb6ba42595060b7bf6df3dbc1f50" integrity sha1-nn2LslKmy2ukJZUGC3v23z28H1A= +parse-glob@^3.0.4: + version "3.0.4" + resolved "https://registry.yarnpkg.com/parse-glob/-/parse-glob-3.0.4.tgz#b2c376cfb11f35513badd173ef0bb6e3a388391c" + integrity sha1-ssN2z7EfNVE7rdFz7wu246OIORw= + dependencies: + glob-base "^0.3.0" + is-dotfile "^1.0.0" + is-extglob "^1.0.0" + is-glob "^2.0.0" + parse-json@^2.2.0: version "2.2.0" resolved "https://registry.yarnpkg.com/parse-json/-/parse-json-2.2.0.tgz#f480f40434ef80741f8469099f8dea18f55a4dc9" @@ -15256,6 +15257,16 @@ parse-json@^5.0.0: json-parse-better-errors "^1.0.1" lines-and-columns "^1.1.6" +parse-json@^5.1.0: + version "5.1.0" + resolved "https://registry.yarnpkg.com/parse-json/-/parse-json-5.1.0.tgz#f96088cdf24a8faa9aea9a009f2d9d942c999646" + integrity sha512-+mi/lmVVNKFNVyLXV31ERiy2CY5E1/F6QtJFEzoChPRwwngMNXRDQ9GJ5WdE2Z2P4AujsOi0/+2qHID68KwfIQ== + dependencies: + "@babel/code-frame" "^7.0.0" + error-ex "^1.3.1" + json-parse-even-better-errors "^2.3.0" + lines-and-columns "^1.1.6" + parse-latin@^4.0.0: version "4.2.1" resolved "https://registry.yarnpkg.com/parse-latin/-/parse-latin-4.2.1.tgz#b78c57c026cdf8e4e9924b296a2d0aa69877fab8" @@ -15500,11 +15511,6 @@ pify@^4.0.1: resolved "https://registry.yarnpkg.com/pify/-/pify-4.0.1.tgz#4b2cd25c50d598735c50292224fd8c6df41e3231" integrity sha512-uB80kBFb/tfd68bVleG9T5GGsGPjJrLAUpR5PZIrhBnIaRTQRjqdJSsIKkOP6OAIFbj7GOrcudc5pNjZ+geV2g== -pify@^5.0.0: - version "5.0.0" - resolved "https://registry.yarnpkg.com/pify/-/pify-5.0.0.tgz#1f5eca3f5e87ebec28cc6d54a0e4aaf00acc127f" - integrity sha512-eW/gHNMlxdSP6dmG6uJip6FXN0EQBwm2clYYd8Wul42Cwu/DK8HEftzsapcNdYe2MfLiIwZqsDk2RDEsTE79hA== - pinkie-promise@^2.0.0: version "2.0.1" resolved "https://registry.yarnpkg.com/pinkie-promise/-/pinkie-promise-2.0.1.tgz#2135d6dfa7a358c069ac9b178776288228450ffa" @@ -15545,7 +15551,7 @@ pkg-dir@^3.0.0: dependencies: find-up "^3.0.0" -pkg-dir@^4.1.0, pkg-dir@^4.2.0: +pkg-dir@^4.2.0: version "4.2.0" resolved "https://registry.yarnpkg.com/pkg-dir/-/pkg-dir-4.2.0.tgz#f099133df7ede422e81d1d8448270eeb3e4261f3" integrity sha512-HRDzbaKjC+AOWVXxAU/x54COGeIv9eb+6CkDSQoNTt4XyWoIJvuPsXizxu/Fr23EiekbtZwmh1IcIG/l/a10GQ== @@ -15829,7 +15835,7 @@ postcss-js@^2.0.0, postcss-js@^2.0.2: camelcase-css "^2.0.1" postcss "^7.0.18" -postcss-load-config@^2.0.0, postcss-load-config@^2.1.0: +postcss-load-config@^2.0.0: version "2.1.0" resolved "https://registry.yarnpkg.com/postcss-load-config/-/postcss-load-config-2.1.0.tgz#c84d692b7bb7b41ddced94ee62e8ab31b417b003" integrity sha512-4pV3JJVPLd5+RueiVVB+gFOAa7GWc25XQcMp86Zexzke69mKf6Nx9LRcQywdz7yZI9n1udOxmLuAwTBypypF8Q== @@ -15978,13 +15984,6 @@ postcss-minify-selectors@^4.0.2: postcss "^7.0.0" postcss-selector-parser "^3.0.0" -postcss-modules-extract-imports@1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/postcss-modules-extract-imports/-/postcss-modules-extract-imports-1.1.0.tgz#b614c9720be6816eaee35fb3a5faa1dba6a05ddb" - integrity sha1-thTJcgvmgW6u41+zpfqh26agXds= - dependencies: - postcss "^6.0.1" - postcss-modules-extract-imports@^1.2.0: version "1.2.1" resolved "https://registry.yarnpkg.com/postcss-modules-extract-imports/-/postcss-modules-extract-imports-1.2.1.tgz#dc87e34148ec7eab5f791f7cd5849833375b741a" @@ -15992,7 +15991,7 @@ postcss-modules-extract-imports@^1.2.0: dependencies: postcss "^6.0.1" -postcss-modules-local-by-default@1.2.0, postcss-modules-local-by-default@^1.2.0: +postcss-modules-local-by-default@^1.2.0: version "1.2.0" resolved "https://registry.yarnpkg.com/postcss-modules-local-by-default/-/postcss-modules-local-by-default-1.2.0.tgz#f7d80c398c5a393fa7964466bd19500a7d61c069" integrity sha1-99gMOYxaOT+nlkRmvRlQCn1hwGk= @@ -16000,7 +15999,7 @@ postcss-modules-local-by-default@1.2.0, postcss-modules-local-by-default@^1.2.0: css-selector-tokenizer "^0.7.0" postcss "^6.0.1" -postcss-modules-scope@1.1.0, postcss-modules-scope@^1.1.0: +postcss-modules-scope@^1.1.0: version "1.1.0" resolved "https://registry.yarnpkg.com/postcss-modules-scope/-/postcss-modules-scope-1.1.0.tgz#d6ea64994c79f97b62a72b426fbe6056a194bb90" integrity sha1-1upkmUx5+XtipytCb75gVqGUu5A= @@ -16008,7 +16007,7 @@ postcss-modules-scope@1.1.0, postcss-modules-scope@^1.1.0: css-selector-tokenizer "^0.7.0" postcss "^6.0.1" -postcss-modules-values@1.3.0, postcss-modules-values@^1.3.0: +postcss-modules-values@^1.3.0: version "1.3.0" resolved "https://registry.yarnpkg.com/postcss-modules-values/-/postcss-modules-values-1.3.0.tgz#ecffa9d7e192518389f42ad0e83f72aec456ea20" integrity sha1-7P+p1+GSUYOJ9CrQ6D9yrsRW6iA= @@ -16016,17 +16015,6 @@ postcss-modules-values@1.3.0, postcss-modules-values@^1.3.0: icss-replace-symbols "^1.1.0" postcss "^6.0.1" -postcss-modules@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/postcss-modules/-/postcss-modules-2.0.0.tgz#473d0d7326651d8408585c2a154115d5cb36cce0" - integrity sha512-eqp+Bva+U2cwQO7dECJ8/V+X+uH1HduNeITB0CPPFAu6d/8LKQ32/j+p9rQ2YL1QytVcrNU0X+fBqgGmQIA1Rw== - dependencies: - css-modules-loader-core "^1.1.0" - generic-names "^2.0.1" - lodash.camelcase "^4.3.0" - postcss "^7.0.1" - string-hash "^1.1.1" - postcss-nested@^4.1.1: version "4.2.1" resolved "https://registry.yarnpkg.com/postcss-nested/-/postcss-nested-4.2.1.tgz#4bc2e5b35e3b1e481ff81e23b700da7f82a8b248" @@ -16299,15 +16287,6 @@ postcss-zindex@^2.0.1: postcss "^5.0.4" uniqs "^2.0.0" -postcss@6.0.1: - version "6.0.1" - resolved "https://registry.yarnpkg.com/postcss/-/postcss-6.0.1.tgz#000dbd1f8eef217aa368b9a212c5fc40b2a8f3f2" - integrity sha1-AA29H47vIXqjaLmiEsX8QLKo8/I= - dependencies: - chalk "^1.1.3" - source-map "^0.5.6" - supports-color "^3.2.3" - postcss@7.0.28: version "7.0.28" resolved "https://registry.yarnpkg.com/postcss/-/postcss-7.0.28.tgz#d349ced7743475717ba91f6810efb58c51fb5dbb" @@ -16392,13 +16371,6 @@ prettier@^2.0.5: resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.0.5.tgz#d6d56282455243f2f92cc1716692c08aa31522d4" integrity sha512-7PtVymN48hGcO4fGjybyBSIWDsLU4H4XlvOHfq91pz9kkGlonzwTfYkaIEwiRg/dAJF9YlbsduBAgtYLi+8cFg== -pretty-bytes@^3.0.0: - version "3.0.1" - resolved "https://registry.yarnpkg.com/pretty-bytes/-/pretty-bytes-3.0.1.tgz#27d0008d778063a0b4811bb35c79f1bd5d5fbccf" - integrity sha1-J9AAjXeAY6C0gRuzXHnxvV1fvM8= - dependencies: - number-is-nan "^1.0.0" - pretty-bytes@^5.3.0: version "5.3.0" resolved "https://registry.yarnpkg.com/pretty-bytes/-/pretty-bytes-5.3.0.tgz#f2849e27db79fb4d6cfe24764fc4134f165989f2" @@ -16497,11 +16469,6 @@ promise-retry@^1.1.1: err-code "^1.0.0" retry "^0.10.0" -promise.series@^0.2.0: - version "0.2.0" - resolved "https://registry.yarnpkg.com/promise.series/-/promise.series-0.2.0.tgz#2cc7ebe959fc3a6619c04ab4dbdc9e452d864bbd" - integrity sha1-LMfr6Vn8OmYZwEq029yeRS2GS70= - promise@^7.1.1: version "7.3.1" resolved "https://registry.yarnpkg.com/promise/-/promise-7.3.1.tgz#064b72602b18f90f29192b8b1bc418ffd1ebd3bf" @@ -16759,6 +16726,11 @@ quick-lru@^4.0.1: resolved "https://registry.yarnpkg.com/quick-lru/-/quick-lru-4.0.1.tgz#5b8878f113a58217848c6482026c73e1ba57727f" integrity sha512-ARhCpm70fzdcvNQfPoy49IaanKkTlRWF2JMzqhcJbhSFRZv7nPTvZJdcY7301IPmvW+/p0RgIWnQDLJxifsQ7g== +quick-lru@^5.1.1: + version "5.1.1" + resolved "https://registry.yarnpkg.com/quick-lru/-/quick-lru-5.1.1.tgz#366493e6b3e42a3a6885e2e99d18f80fb7a8c932" + integrity sha512-WuyALRjWPDGtt/wzJiadO5AXY+8hZ80hVpe6MyivgraREW751X3SbhRvG3eLKOYN+8VEvqLcf3wdnt44Z4S4SA== + randombytes@^2.0.0, randombytes@^2.0.1, randombytes@^2.0.5: version "2.1.0" resolved "https://registry.yarnpkg.com/randombytes/-/randombytes-2.1.0.tgz#df6f84372f0270dc65cdf6291349ab7a473d4f2a" @@ -17911,13 +17883,6 @@ resolve-url@^0.2.1: resolved "https://registry.yarnpkg.com/resolve-url/-/resolve-url-0.2.1.tgz#2c637fe77c893afd2a663fe21aa9080068e2052a" integrity sha1-LGN/53yJOv0qZj/iGqkIAGjiBSo= -resolve@1.12.0: - version "1.12.0" - resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.12.0.tgz#3fc644a35c84a48554609ff26ec52b66fa577df6" - integrity sha512-B/dOmuoAik5bKcD6s6nXDCjzUKnaDvdkRyAk6rsmsKLipWj4797iothd7jmmUhWTfinVMU+wc56rYKsit2Qy4w== - dependencies: - path-parse "^1.0.6" - resolve@^1.1.7: version "1.15.1" resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.15.1.tgz#27bdcdeffeaf2d6244b95bb0f9f4b4653451f3e8" @@ -17925,7 +17890,7 @@ resolve@^1.1.7: dependencies: path-parse "^1.0.6" -resolve@^1.10.0, resolve@^1.11.0, resolve@^1.11.1, resolve@^1.12.0, resolve@^1.13.1, resolve@^1.14.2, resolve@^1.15.1, resolve@^1.16.0, resolve@^1.17.0, resolve@^1.3.2, resolve@^1.8.1: +resolve@^1.10.0, resolve@^1.12.0, resolve@^1.13.1, resolve@^1.14.2, resolve@^1.15.1, resolve@^1.17.0, resolve@^1.3.2, resolve@^1.8.1: version "1.17.0" resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.17.0.tgz#b25941b54968231cc2d1bb76a79cb7f2c0bf8444" integrity sha512-ic+7JYiV8Vi2yzQGFWOkiZD5Z9z7O2Zhm9XMaTxdJExKasieFCr+yXZ/WmXsckHiKl12ar0y6XiXDx3m4RHn1w== @@ -18022,85 +17987,12 @@ ripemd160@^2.0.0, ripemd160@^2.0.1: hash-base "^3.0.0" inherits "^2.0.1" -rollup-plugin-bundle-size@^1.0.1: - version "1.0.3" - resolved "https://registry.yarnpkg.com/rollup-plugin-bundle-size/-/rollup-plugin-bundle-size-1.0.3.tgz#d245cd988486b4040279f9fd33f357f61673e90f" - integrity sha512-aWj0Pvzq90fqbI5vN1IvUrlf4utOqy+AERYxwWjegH1G8PzheMnrRIgQ5tkwKVtQMDP0bHZEACW/zLDF+XgfXQ== - dependencies: - chalk "^1.1.3" - maxmin "^2.1.0" - -rollup-plugin-es3@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/rollup-plugin-es3/-/rollup-plugin-es3-1.1.0.tgz#f866f91b4db839e5b475d8e4a7b9d4c77ecade14" - integrity sha512-jTMqQgMZ/tkjRW4scf4ln5c0OiTSi+Lx/IEyFd41ldgGoLvvg9AQxmVOl93+KaoyB7XRYToYjiHDvO40NPF/fA== - dependencies: - magic-string "^0.22.4" - -rollup-plugin-postcss@^2.9.0: - version "2.9.0" - resolved "https://registry.yarnpkg.com/rollup-plugin-postcss/-/rollup-plugin-postcss-2.9.0.tgz#e6ea0a1b8fdc4a49fc0385da58804e332750c282" - integrity sha512-Y7qDwlqjZMBexbB1kRJf+jKIQL8HR6C+ay53YzN+nNJ64hn1PNZfBE3c61hFUhD//zrMwmm7uBW30RuTi+CD0w== - dependencies: - chalk "^4.0.0" - concat-with-sourcemaps "^1.1.0" - cssnano "^4.1.10" - import-cwd "^3.0.0" - p-queue "^6.3.0" - pify "^5.0.0" - postcss "^7.0.27" - postcss-load-config "^2.1.0" - postcss-modules "^2.0.0" - promise.series "^0.2.0" - resolve "^1.16.0" - rollup-pluginutils "^2.8.2" - safe-identifier "^0.4.1" - style-inject "^0.3.0" - -rollup-plugin-terser@^5.3.0: - version "5.3.0" - resolved "https://registry.yarnpkg.com/rollup-plugin-terser/-/rollup-plugin-terser-5.3.0.tgz#9c0dd33d5771df9630cd027d6a2559187f65885e" - integrity sha512-XGMJihTIO3eIBsVGq7jiNYOdDMb3pVxuzY0uhOE/FM4x/u9nQgr3+McsjzqBn3QfHIpNSZmFnpoKAwHBEcsT7g== - dependencies: - "@babel/code-frame" "^7.5.5" - jest-worker "^24.9.0" - rollup-pluginutils "^2.8.2" - serialize-javascript "^2.1.2" - terser "^4.6.2" - -rollup-plugin-typescript2@^0.25.3: - version "0.25.3" - resolved "https://registry.yarnpkg.com/rollup-plugin-typescript2/-/rollup-plugin-typescript2-0.25.3.tgz#a5fb2f0f85488789334ce540abe6c7011cbdf40f" - integrity sha512-ADkSaidKBovJmf5VBnZBZe+WzaZwofuvYdzGAKTN/J4hN7QJCFYAq7IrH9caxlru6T5qhX41PNFS1S4HqhsGQg== - dependencies: - find-cache-dir "^3.0.0" - fs-extra "8.1.0" - resolve "1.12.0" - rollup-pluginutils "2.8.1" - tslib "1.10.0" - -rollup-pluginutils@2.8.1: - version "2.8.1" - resolved "https://registry.yarnpkg.com/rollup-pluginutils/-/rollup-pluginutils-2.8.1.tgz#8fa6dd0697344938ef26c2c09d2488ce9e33ce97" - integrity sha512-J5oAoysWar6GuZo0s+3bZ6sVZAC0pfqKz68De7ZgDi5z63jOVZn1uJL/+z1jeKHNbGII8kAyHF5q8LnxSX5lQg== - dependencies: - estree-walker "^0.6.1" - -rollup-pluginutils@^2.8.2: - version "2.8.2" - resolved "https://registry.yarnpkg.com/rollup-pluginutils/-/rollup-pluginutils-2.8.2.tgz#72f2af0748b592364dbd3389e600e5a9444a351e" - integrity sha512-EEp9NhnUkwY8aif6bxgovPHMoMoNr2FulJziTndpt5H9RdwC47GSGuII9XxpSdzVGM0GWrNPHV6ie1LTNJPaLQ== - dependencies: - estree-walker "^0.6.1" - -rollup@^1.32.1: - version "1.32.1" - resolved "https://registry.yarnpkg.com/rollup/-/rollup-1.32.1.tgz#4480e52d9d9e2ae4b46ba0d9ddeaf3163940f9c4" - integrity sha512-/2HA0Ec70TvQnXdzynFffkjA6XN+1e2pEv/uKS5Ulca40g2L7KuOE3riasHoNVHOsFD5KKZgDsMk1CP3Tw9s+A== - dependencies: - "@types/estree" "*" - "@types/node" "*" - acorn "^7.1.0" +rollup@^2.32.0: + version "2.33.1" + resolved "https://registry.yarnpkg.com/rollup/-/rollup-2.33.1.tgz#802795164164ee63cd47769d8879c33ec8ae0c40" + integrity sha512-uY4O/IoL9oNW8MMcbA5hcOaz6tZTMIh7qJHx/tzIJm+n1wLoY38BLn6fuy7DhR57oNFLMbDQtDeJoFURt5933w== + optionalDependencies: + fsevents "~2.1.2" rsvp@^4.8.4: version "4.8.5" @@ -18154,13 +18046,6 @@ rxjs@^6.4.0, rxjs@^6.5.3, rxjs@^6.5.5: dependencies: tslib "^1.9.0" -sade@^1.7.3: - version "1.7.3" - resolved "https://registry.yarnpkg.com/sade/-/sade-1.7.3.tgz#a217ccc4fb4abb2d271648bf48f6628b2636fa1b" - integrity sha512-m4BctppMvJ60W1dXnHq7jMmFe3hPJZDAH85kQ3ACTo7XZNVUuTItCQ+2HfyaMeV5cKrbw7l4vD/6We3GBxvdJw== - dependencies: - mri "^1.1.0" - safe-buffer@5.1.2, safe-buffer@~5.1.0, safe-buffer@~5.1.1: version "5.1.2" resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.1.2.tgz#991ec69d296e0313747d59bdfd2b745c35f8828d" @@ -18171,11 +18056,6 @@ safe-buffer@>=5.1.0, safe-buffer@^5.0.1, safe-buffer@^5.1.0, safe-buffer@^5.1.1, resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.2.1.tgz#1eaf9fa9bdb1fdd4ec75f58f9cdb4e6b7827eec6" integrity sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ== -safe-identifier@^0.4.1: - version "0.4.1" - resolved "https://registry.yarnpkg.com/safe-identifier/-/safe-identifier-0.4.1.tgz#b6516bf72594f03142b5f914f4c01842ccb1b678" - integrity sha512-73tOz5TXsq3apuCc3vC8c9QRhhdNZGiBhHmPPjqpH4TO5oCDqk8UIsDcSs/RG6dYcFAkOOva0pqHS3u7hh7XXA== - safe-regex@^1.1.0: version "1.1.0" resolved "https://registry.yarnpkg.com/safe-regex/-/safe-regex-1.1.0.tgz#40a3669f3b077d1e943d44629e157dd48023bf2e" @@ -18774,7 +18654,7 @@ source-map-support@^0.4.15: dependencies: source-map "^0.5.6" -source-map-support@^0.5.16, source-map-support@~0.5.12: +source-map-support@^0.5.16, source-map-support@~0.5.12, source-map-support@~0.5.19: version "0.5.19" resolved "https://registry.yarnpkg.com/source-map-support/-/source-map-support-0.5.19.tgz#a98b62f86dcaf4f67399648c085291ab9e8fed61" integrity sha512-Wonm7zOCIJzBGQdB+thsPar0kYuCIzYvxZwlBa87yi/Mdjv7Tip2cyVbLj5o0cFPN4EVkuTwb3GDDyUx2DGnGw== @@ -18795,7 +18675,7 @@ source-map-url@^0.4.0: resolved "https://registry.yarnpkg.com/source-map-url/-/source-map-url-0.4.0.tgz#3e935d7ddd73631b97659956d55128e87b5084a3" integrity sha1-PpNdfd1zYxuXZZlW1VEo6HtQhKM= -source-map@0.7.3, source-map@^0.7.3: +source-map@0.7.3, source-map@^0.7.3, source-map@~0.7.2: version "0.7.3" resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.7.3.tgz#5302f8169031735226544092e64981f751750383" integrity sha512-CkCj6giN3S+n9qrYiBTX5gystlENnRW5jZeNLHpe6aue+SrHcG5VYwujhW9s4dY31mEGsxBDrHR6oI69fTXsaQ== @@ -19077,11 +18957,6 @@ string-argv@0.3.1: resolved "https://registry.yarnpkg.com/string-argv/-/string-argv-0.3.1.tgz#95e2fbec0427ae19184935f816d74aaa4c5c19da" integrity sha512-a1uQGz7IyVy9YwhqjZIZu1c8JO8dNIe20xBmSS6qu9kv++k3JGzCVmprbNN5Kn+BgzD5E7YYwg1CcjuJMRNsvg== -string-hash@^1.1.1: - version "1.1.3" - resolved "https://registry.yarnpkg.com/string-hash/-/string-hash-1.1.3.tgz#e8aafc0ac1855b4666929ed7dd1275df5d6c811b" - integrity sha1-6Kr8CsGFW0Zmkp7X3RJ1311sgRs= - string-length@^3.1.0: version "3.1.0" resolved "https://registry.yarnpkg.com/string-length/-/string-length-3.1.0.tgz#107ef8c23456e187a8abd4a61162ff4ac6e25837" @@ -19354,11 +19229,6 @@ strong-log-transformer@^2.0.0: minimist "^1.2.0" through "^2.3.4" -style-inject@^0.3.0: - version "0.3.0" - resolved "https://registry.yarnpkg.com/style-inject/-/style-inject-0.3.0.tgz#d21c477affec91811cc82355832a700d22bf8dd3" - integrity sha512-IezA2qp+vcdlhJaVm5SOdPPTUu0FCEqfNSli2vRuSIBbu5Nq5UvygTk/VzeCqfLz2Atj3dVII5QBKGZRZ0edzw== - style-loader@^0.23.1: version "0.23.1" resolved "https://registry.yarnpkg.com/style-loader/-/style-loader-0.23.1.tgz#cb9154606f3e771ab6c4ab637026a1049174d925" @@ -19688,14 +19558,14 @@ terser@^4.1.2: source-map "~0.6.1" source-map-support "~0.5.12" -terser@^4.6.2: - version "4.8.0" - resolved "https://registry.yarnpkg.com/terser/-/terser-4.8.0.tgz#63056343d7c70bb29f3af665865a46fe03a0df17" - integrity sha512-EAPipTNeWsb/3wLPeup1tVPaXfIaU68xMnVdPafIL1TV05OhASArYyIfFvnvJCNrR2NIOvDVNNTFRa+Re2MWyw== +terser@^5.2.1: + version "5.3.8" + resolved "https://registry.yarnpkg.com/terser/-/terser-5.3.8.tgz#991ae8ba21a3d990579b54aa9af11586197a75dd" + integrity sha512-zVotuHoIfnYjtlurOouTazciEfL7V38QMAOhGqpXDEg6yT13cF4+fEP9b0rrCEQTn+tT46uxgFsTZzhygk+CzQ== dependencies: commander "^2.20.0" - source-map "~0.6.1" - source-map-support "~0.5.12" + source-map "~0.7.2" + source-map-support "~0.5.19" test-exclude@^6.0.0: version "6.0.0" @@ -19791,14 +19661,6 @@ tiny-emitter@^2.0.0: resolved "https://registry.yarnpkg.com/tiny-emitter/-/tiny-emitter-2.1.0.tgz#1d1a56edfc51c43e863cbb5382a72330e3555423" integrity sha512-NB6Dk1A9xgQPMoGqC5CVXn123gWyte215ONT5Pp5a0yt4nlEoO1ZWeCwpncaekPHXO60i47ihFnZPiRPjRMq4Q== -tiny-glob@^0.2.6: - version "0.2.6" - resolved "https://registry.yarnpkg.com/tiny-glob/-/tiny-glob-0.2.6.tgz#9e056e169d9788fe8a734dfa1ff02e9b92ed7eda" - integrity sha512-A7ewMqPu1B5PWwC3m7KVgAu96Ch5LA0w4SnEN/LbDREj/gAD0nPWboRbn8YoP9ISZXqeNAlMvKSKoEuhcfK3Pw== - dependencies: - globalyzer "^0.1.0" - globrex "^0.1.1" - tiny-warning@^1.0.2: version "1.0.3" resolved "https://registry.yarnpkg.com/tiny-warning/-/tiny-warning-1.0.3.tgz#94a30db453df4c643d0fd566060d60a875d84754" @@ -20033,12 +19895,7 @@ ts-snippet@^4.2.0: dependencies: tsutils "^3.0.0" -tslib@1.10.0: - version "1.10.0" - resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.10.0.tgz#c3c19f95973fb0a62973fb09d90d961ee43e5c8a" - integrity sha512-qOebF53frne81cf0S9B41ByenJ3/IuH8yJKngAX35CmiZySA0khhkovshKK+jGCaMnVomla7gVlIcc3EvKPbTQ== - -tslib@^1.0.0, tslib@^1.10.0, tslib@^1.11.1, tslib@^1.11.2, tslib@^1.13.0, tslib@^1.8.1, tslib@^1.9.0, tslib@^1.9.3: +tslib@^1.0.0, tslib@^1.10.0, tslib@^1.11.1, tslib@^1.11.2, tslib@^1.8.1, tslib@^1.9.0, tslib@^1.9.3: version "1.13.0" resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.13.0.tgz#c881e13cc7015894ed914862d276436fa9a47043" integrity sha512-i/6DQjL8Xf3be4K/E6Wgpekn5Qasl1usyw++dAA35Ue5orEn65VIxOA+YvNNl9HV3qv70T7CNwjODHZrLwvd1Q== @@ -21073,7 +20930,7 @@ vfile@^4.0.0: unist-util-stringify-position "^2.0.0" vfile-message "^2.0.0" -vlq@^0.2.1, vlq@^0.2.2: +vlq@^0.2.1: version "0.2.3" resolved "https://registry.yarnpkg.com/vlq/-/vlq-0.2.3.tgz#8f3e4328cf63b1540c0d67e1b2778386f8975b26" integrity sha512-DRibZL6DsNhIgYQ+wNdWDL2SL3bKPlVrRiBqV5yuMm++op8W4kGFtaQfCs4KEJn0wBZcHVHJ3eoywX8983k1ow== From e485c09bfc778d337216fb28f446f3b2fe5b0c12 Mon Sep 17 00:00:00 2001 From: Alex Chan Date: Sat, 7 Nov 2020 14:11:57 -0700 Subject: [PATCH 034/377] ignore top level theme-ui to prefer packages theme-ui --- package.json | 3 +++ 1 file changed, 3 insertions(+) diff --git a/package.json b/package.json index c200a5972..b40996d56 100644 --- a/package.json +++ b/package.json @@ -76,6 +76,9 @@ "tailwind.config.js", "/dist/" ], + "modulePathIgnorePatterns": [ + "./package.json" + ], "coverageReporters": [ "lcov", "text", From 2c0f2d37ae089cebd7b9feb2be639467fbd7fd2d Mon Sep 17 00:00:00 2001 From: Alex Chan Date: Sat, 7 Nov 2020 14:19:52 -0700 Subject: [PATCH 035/377] Remove types reference since it comes from cjs.d.ts --- packages/color-modes/package.json | 1 - packages/color/package.json | 1 - packages/core/package.json | 1 - packages/css/package.json | 1 - packages/custom-properties/package.json | 1 - packages/editor/package.json | 1 - packages/match-media/package.json | 1 - packages/mdx/package.json | 1 - packages/preset-base/package.json | 1 - packages/preset-bootstrap/package.json | 1 - packages/preset-bulma/package.json | 1 - packages/preset-dark/package.json | 1 - packages/preset-deep/package.json | 1 - packages/preset-funk/package.json | 1 - packages/preset-future/package.json | 1 - packages/preset-polaris/package.json | 1 - packages/preset-roboto/package.json | 1 - packages/preset-sketchy/package.json | 1 - packages/preset-swiss/package.json | 1 - packages/preset-system/package.json | 1 - packages/preset-tailwind/package.json | 1 - packages/preset-tosh/package.json | 1 - packages/presets/package.json | 1 - packages/prism/package.json | 1 - packages/sidenav/package.json | 1 - packages/style-guide/package.json | 1 - packages/tachyons/package.json | 1 - packages/tailwind/package.json | 1 - packages/theme-provider/package.json | 1 - packages/theme-ui/package.json | 1 - packages/typography/package.json | 1 - 31 files changed, 31 deletions(-) diff --git a/packages/color-modes/package.json b/packages/color-modes/package.json index a44132665..768c54a97 100644 --- a/packages/color-modes/package.json +++ b/packages/color-modes/package.json @@ -3,7 +3,6 @@ "version": "0.4.0-rc.5", "main": "dist/color-modes.cjs.js", "module": "dist/color-modes.esm.js", - "types": "dist/index.d.ts", "source": "src/index.tsx", "sideEffects": false, "scripts": {}, diff --git a/packages/color/package.json b/packages/color/package.json index cc1ad974d..689c128bf 100644 --- a/packages/color/package.json +++ b/packages/color/package.json @@ -4,7 +4,6 @@ "source": "src/index.ts", "main": "dist/color.cjs.js", "module": "dist/color.esm.js", - "types": "dist/index.d.ts", "scripts": {}, "dependencies": { "@theme-ui/css": "^0.4.0-rc.5", diff --git a/packages/core/package.json b/packages/core/package.json index 83feb9a92..30b31e5c6 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -4,7 +4,6 @@ "source": "src/index.ts", "main": "dist/core.cjs.js", "module": "dist/core.esm.js", - "types": "dist/index.d.ts", "sideEffects": false, "scripts": {}, "repository": "system-ui/theme-ui", diff --git a/packages/css/package.json b/packages/css/package.json index 97ddef422..a0c9a236a 100644 --- a/packages/css/package.json +++ b/packages/css/package.json @@ -4,7 +4,6 @@ "source": "src/index.ts", "main": "dist/css.cjs.js", "module": "dist/css.esm.js", - "types": "dist/index.d.ts", "sideEffects": false, "scripts": {}, "author": "Brent Jackson", diff --git a/packages/custom-properties/package.json b/packages/custom-properties/package.json index 2bb067d07..eed90b3bb 100644 --- a/packages/custom-properties/package.json +++ b/packages/custom-properties/package.json @@ -5,7 +5,6 @@ "source": "src/index.ts", "main": "dist/custom-properties.cjs.js", "module": "dist/custom-properties.esm.js", - "types": "dist/index.d.ts", "author": "Alex Page ", "license": "MIT", "scripts": {}, diff --git a/packages/editor/package.json b/packages/editor/package.json index e8f00d568..2866636b4 100644 --- a/packages/editor/package.json +++ b/packages/editor/package.json @@ -3,7 +3,6 @@ "version": "0.4.0-rc.5", "main": "dist/editor.cjs.js", "module": "dist/editor.esm.js", - "types": "dist/index.d.ts", "author": "Brent Jackson", "license": "MIT", "scripts": {}, diff --git a/packages/match-media/package.json b/packages/match-media/package.json index f658eb448..da48cff58 100644 --- a/packages/match-media/package.json +++ b/packages/match-media/package.json @@ -5,7 +5,6 @@ "source": "src/index.ts", "main": "dist/match-media.cjs.js", "module": "dist/match-media.esm.js", - "types": "dist/index.d.ts", "author": "Brent Jackson ", "license": "MIT", "repository": "system-ui/theme-ui", diff --git a/packages/mdx/package.json b/packages/mdx/package.json index f369f4c8f..fa0412e35 100644 --- a/packages/mdx/package.json +++ b/packages/mdx/package.json @@ -4,7 +4,6 @@ "source": "src/index.ts", "main": "dist/mdx.cjs.js", "module": "dist/mdx.esm.js", - "types": "dist/index.d.ts", "sideEffects": false, "scripts": {}, "dependencies": { diff --git a/packages/preset-base/package.json b/packages/preset-base/package.json index 5662826ad..91f67f4ae 100644 --- a/packages/preset-base/package.json +++ b/packages/preset-base/package.json @@ -7,7 +7,6 @@ "license": "MIT", "repository": "system-ui/theme-ui", "scripts": {}, - "types": "dist/index.d.ts", "source": "src/index.ts", "publishConfig": { "access": "public" diff --git a/packages/preset-bootstrap/package.json b/packages/preset-bootstrap/package.json index 04caad8a6..60d94b7ad 100644 --- a/packages/preset-bootstrap/package.json +++ b/packages/preset-bootstrap/package.json @@ -3,7 +3,6 @@ "version": "0.4.0-rc.5", "main": "dist/preset-bootstrap.cjs.js", "module": "dist/preset-bootstrap.esm.js", - "types": "dist/index.d.ts", "source": "src/index.ts", "author": "Brent Jackson", "license": "MIT", diff --git a/packages/preset-bulma/package.json b/packages/preset-bulma/package.json index dabaecca9..c9c4b4469 100644 --- a/packages/preset-bulma/package.json +++ b/packages/preset-bulma/package.json @@ -3,7 +3,6 @@ "version": "0.4.0-rc.5", "main": "dist/preset-bulma.cjs.js", "module": "dist/preset-bulma.esm.js", - "types": "dist/index.d.ts", "source": "src/index.ts", "author": "Brent Jackson", "license": "MIT", diff --git a/packages/preset-dark/package.json b/packages/preset-dark/package.json index fa241c2ff..d1a3abdcf 100644 --- a/packages/preset-dark/package.json +++ b/packages/preset-dark/package.json @@ -3,7 +3,6 @@ "version": "0.4.0-rc.5", "main": "dist/preset-dark.cjs.js", "module": "dist/preset-dark.esm.js", - "types": "dist/index.d.ts", "source": "src/index.ts", "author": "Brent Jackson", "license": "MIT", diff --git a/packages/preset-deep/package.json b/packages/preset-deep/package.json index 548c81eea..cd0852e39 100644 --- a/packages/preset-deep/package.json +++ b/packages/preset-deep/package.json @@ -3,7 +3,6 @@ "version": "0.4.0-rc.5", "main": "dist/preset-deep.cjs.js", "module": "dist/preset-deep.esm.js", - "types": "dist/index.d.ts", "source": "src/index.ts", "author": "Brent Jackson", "license": "MIT", diff --git a/packages/preset-funk/package.json b/packages/preset-funk/package.json index 150319fd1..352d93ef5 100644 --- a/packages/preset-funk/package.json +++ b/packages/preset-funk/package.json @@ -3,7 +3,6 @@ "version": "0.4.0-rc.5", "main": "dist/preset-funk.cjs.js", "module": "dist/preset-funk.esm.js", - "types": "dist/index.d.ts", "source": "src/index.ts", "author": "Brent Jackson", "license": "MIT", diff --git a/packages/preset-future/package.json b/packages/preset-future/package.json index fa3f0be97..70951ab04 100644 --- a/packages/preset-future/package.json +++ b/packages/preset-future/package.json @@ -3,7 +3,6 @@ "version": "0.4.0-rc.5", "main": "dist/preset-future.cjs.js", "module": "dist/preset-future.esm.js", - "types": "dist/index.d.ts", "source": "src/index.ts", "author": "Brent Jackson", "license": "MIT", diff --git a/packages/preset-polaris/package.json b/packages/preset-polaris/package.json index b6ea8e8dc..a7b2be3c0 100644 --- a/packages/preset-polaris/package.json +++ b/packages/preset-polaris/package.json @@ -4,7 +4,6 @@ "main": "dist/preset-polaris.cjs.js", "module": "dist/preset-polaris.esm.js", "source": "src/index.ts", - "types": "dist/index.d.ts", "author": "Yuraima Estevez", "license": "MIT", "scripts": {}, diff --git a/packages/preset-roboto/package.json b/packages/preset-roboto/package.json index 62ce5a4d4..91134c15a 100644 --- a/packages/preset-roboto/package.json +++ b/packages/preset-roboto/package.json @@ -3,7 +3,6 @@ "version": "0.4.0-rc.5", "main": "dist/preset-roboto.cjs.js", "module": "dist/preset-roboto.esm.js", - "types": "dist/index.d.ts", "source": "src/index.ts", "author": "Brent Jackson", "license": "MIT", diff --git a/packages/preset-sketchy/package.json b/packages/preset-sketchy/package.json index 9f2bc905b..1cbf81ddd 100644 --- a/packages/preset-sketchy/package.json +++ b/packages/preset-sketchy/package.json @@ -3,7 +3,6 @@ "version": "0.4.0-rc.5", "main": "dist/preset-sketchy.cjs.js", "module": "dist/preset-sketchy.esm.js", - "types": "dist/index.d.ts", "source": "src/index.ts", "author": "Aleksandra Sikora", "license": "MIT", diff --git a/packages/preset-swiss/package.json b/packages/preset-swiss/package.json index cbef8e716..ba0967918 100644 --- a/packages/preset-swiss/package.json +++ b/packages/preset-swiss/package.json @@ -3,7 +3,6 @@ "version": "0.4.0-rc.5", "main": "dist/preset-swiss.cjs.js", "module": "dist/preset-swiss.esm.js", - "types": "dist/index.d.ts", "source": "src/index.ts", "author": "Brent Jackson", "license": "MIT", diff --git a/packages/preset-system/package.json b/packages/preset-system/package.json index 993868e1c..1a131f206 100644 --- a/packages/preset-system/package.json +++ b/packages/preset-system/package.json @@ -3,7 +3,6 @@ "version": "0.4.0-rc.5", "main": "dist/preset-system.cjs.js", "module": "dist/preset-system.esm.js", - "types": "dist/index.d.ts", "source": "src/index.ts", "author": "Brent Jackson", "license": "MIT", diff --git a/packages/preset-tailwind/package.json b/packages/preset-tailwind/package.json index 00451ce31..e6ce5ff92 100644 --- a/packages/preset-tailwind/package.json +++ b/packages/preset-tailwind/package.json @@ -3,7 +3,6 @@ "version": "0.4.0-rc.5", "main": "dist/preset-tailwind.cjs.js", "module": "dist/preset-tailwind.esm.js", - "types": "dist/index.d.ts", "source": "src/index.ts", "author": "Brent Jackson", "license": "MIT", diff --git a/packages/preset-tosh/package.json b/packages/preset-tosh/package.json index 25ec3ba4c..1b4e91a94 100644 --- a/packages/preset-tosh/package.json +++ b/packages/preset-tosh/package.json @@ -3,7 +3,6 @@ "version": "0.4.0-rc.5", "main": "dist/preset-tosh.cjs.js", "module": "dist/preset-tosh.esm.js", - "types": "dist/index.d.ts", "source": "src/index.ts", "author": "John Otander", "license": "MIT", diff --git a/packages/presets/package.json b/packages/presets/package.json index 7a607ed47..2ad9bf5d5 100644 --- a/packages/presets/package.json +++ b/packages/presets/package.json @@ -3,7 +3,6 @@ "version": "0.4.0-rc.5", "main": "dist/presets.cjs.js", "module": "dist/presets.esm.js", - "types": "dist/index.d.ts", "source": "src/index.ts", "author": "Brent Jackson", "license": "MIT", diff --git a/packages/prism/package.json b/packages/prism/package.json index 665a72b29..fe01e917a 100644 --- a/packages/prism/package.json +++ b/packages/prism/package.json @@ -3,7 +3,6 @@ "version": "0.4.0-rc.5", "main": "dist/prism.cjs.js", "module": "dist/prism.esm.js", - "types": "dist/index.d.ts", "source": "src/index.tsx", "author": "John Otander", "license": "MIT", diff --git a/packages/sidenav/package.json b/packages/sidenav/package.json index 1198ed745..81f45ae1a 100644 --- a/packages/sidenav/package.json +++ b/packages/sidenav/package.json @@ -3,7 +3,6 @@ "version": "0.4.0-rc.5", "main": "dist/sidenav.cjs.js", "module": "dist/sidenav.esm.js", - "types": "dist/index.d.ts", "sideEffects": false, "license": "MIT", "scripts": {}, diff --git a/packages/style-guide/package.json b/packages/style-guide/package.json index 8788084e2..840bd1d6a 100644 --- a/packages/style-guide/package.json +++ b/packages/style-guide/package.json @@ -3,7 +3,6 @@ "version": "0.4.0-rc.5", "main": "dist/style-guide.cjs.js", "module": "dist/style-guide.esm.js", - "types": "dist/index.d.ts", "source": "src/index.ts", "author": "Brent Jackson", "license": "MIT", diff --git a/packages/tachyons/package.json b/packages/tachyons/package.json index 8ba5558c6..9a8fe96f9 100644 --- a/packages/tachyons/package.json +++ b/packages/tachyons/package.json @@ -5,7 +5,6 @@ "main": "dist/tachyons.cjs.js", "module": "dist/tachyons.esm.js", "source": "src/index.ts", - "types": "dist/index.d.ts", "author": "John Otander ", "license": "MIT", "scripts": {}, diff --git a/packages/tailwind/package.json b/packages/tailwind/package.json index b53c9bf43..0b0f3fe3a 100644 --- a/packages/tailwind/package.json +++ b/packages/tailwind/package.json @@ -5,7 +5,6 @@ "main": "dist/tailwind.cjs.js", "module": "dist/tailwind.esm.js", "source": "src/index.ts", - "types": "dist/index.d.ts", "author": "John Otander ", "license": "MIT", "scripts": {}, diff --git a/packages/theme-provider/package.json b/packages/theme-provider/package.json index c7c30e66b..d0394c15c 100644 --- a/packages/theme-provider/package.json +++ b/packages/theme-provider/package.json @@ -4,7 +4,6 @@ "main": "dist/theme-provider.cjs.js", "module": "dist/theme-provider.esm.js", "source": "src/index.ts", - "types": "dist/index.d.ts", "sideEffects": false, "scripts": {}, "dependencies": { diff --git a/packages/theme-ui/package.json b/packages/theme-ui/package.json index ba5b7cd5a..673491374 100644 --- a/packages/theme-ui/package.json +++ b/packages/theme-ui/package.json @@ -5,7 +5,6 @@ "source": "src/index.ts", "main": "dist/theme-ui.cjs.js", "module": "dist/theme-ui.esm.js", - "types": "dist/index.d.ts", "sideEffects": false, "author": "Brent Jackson ", "license": "MIT", diff --git a/packages/typography/package.json b/packages/typography/package.json index 661e0d329..c8019e820 100644 --- a/packages/typography/package.json +++ b/packages/typography/package.json @@ -4,7 +4,6 @@ "main": "dist/typography.cjs.js", "module": "dist/typography.esm.js", "source": "src/index.ts", - "types": "dist/index.d.ts", "author": "Brent Jackson ", "license": "MIT", "scripts": {}, From 639db81955e39067abdc1cffe976ea30173faa9c Mon Sep 17 00:00:00 2001 From: hasparus Date: Sun, 8 Nov 2020 23:33:35 +0100 Subject: [PATCH 036/377] chore(gatsby-plugin-theme-ui): make the theme private to work around permissions problem --- packages/gatsby-plugin-theme-ui/package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/gatsby-plugin-theme-ui/package.json b/packages/gatsby-plugin-theme-ui/package.json index e941724bc..3fe314472 100644 --- a/packages/gatsby-plugin-theme-ui/package.json +++ b/packages/gatsby-plugin-theme-ui/package.json @@ -1,6 +1,7 @@ { "name": "gatsby-plugin-theme-ui", "version": "0.3.0", + "private": true, "main": "index.js", "author": "Brent Jackson", "license": "MIT", From d978e5cb0ea5fc15f9a2910b62f2a51f9eda69cd Mon Sep 17 00:00:00 2001 From: Piotr Monwid-Olechnowicz Date: Mon, 26 Oct 2020 15:38:18 +0100 Subject: [PATCH 037/377] Merge pull request #836 from sjmeverett/peer-deps-fix Fix unlisted peer dependencies --- packages/theme-provider/package.json | 4 ++++ packages/theme-ui/package.json | 3 +++ 2 files changed, 7 insertions(+) diff --git a/packages/theme-provider/package.json b/packages/theme-provider/package.json index 9f984b8c5..980667400 100644 --- a/packages/theme-provider/package.json +++ b/packages/theme-provider/package.json @@ -14,6 +14,10 @@ "@theme-ui/core": "^0.3.1", "@theme-ui/mdx": "^0.3.0" }, + "peerDependencies": { + "react": "^16.11.0", + "@theme-ui/css": "*" + }, "repository": "system-ui/theme-ui", "author": "Brent Jackson", "license": "MIT", diff --git a/packages/theme-ui/package.json b/packages/theme-ui/package.json index f390058a7..002f0c48e 100644 --- a/packages/theme-ui/package.json +++ b/packages/theme-ui/package.json @@ -20,6 +20,9 @@ "@theme-ui/mdx": "^0.3.0", "@theme-ui/theme-provider": "^0.3.1" }, + "peerDependencies": { + "react": "^16.11.0" + }, "keywords": [ "theme-ui", "emotion", From c20182e01ce7e6f9caf5ba3dacad980c80956ae5 Mon Sep 17 00:00:00 2001 From: hasparus Date: Sun, 8 Nov 2020 23:40:24 +0100 Subject: [PATCH 038/377] Update changelog --- CHANGELOG.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4caf7c174..fe8ddb628 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,8 @@ # Changelog -## v0.3.2 UNRELEASED +## v0.3.2 2020-11-08 + +- Fix peer dependencies. Issue #725, PR #836 ### `@theme-ui/css` From 3f78f13ae0c62105fb81bdb7792c6e28cf3521b5 Mon Sep 17 00:00:00 2001 From: hasparus Date: Sun, 8 Nov 2020 23:45:42 +0100 Subject: [PATCH 039/377] v0.3.2 --- examples/codesandbox-starter/package.json | 4 ++-- examples/custom-pragma/package.json | 4 ++-- examples/dark-mode/package.json | 4 ++-- examples/gatsby-plugin/package.json | 6 +++--- examples/gatsby/package.json | 4 ++-- examples/next/package.json | 4 ++-- examples/prism/package.json | 4 ++-- examples/typography/package.json | 4 ++-- lerna.json | 2 +- packages/chrome/package.json | 6 +++--- packages/color-modes/package.json | 6 +++--- packages/color/package.json | 4 ++-- packages/components/package.json | 4 ++-- packages/core/package.json | 4 ++-- packages/css/package.json | 2 +- packages/docs/package.json | 18 +++++++++--------- packages/editor/package.json | 4 ++-- packages/gatsby-plugin-theme-ui/package.json | 2 +- packages/gatsby-theme-style-guide/package.json | 4 ++-- packages/gatsby-theme-ui-blog/package.json | 6 +++--- packages/match-media/package.json | 4 ++-- packages/sidenav/package.json | 4 ++-- packages/theme-provider/package.json | 10 +++++----- packages/theme-ui/package.json | 12 ++++++------ 24 files changed, 63 insertions(+), 63 deletions(-) diff --git a/examples/codesandbox-starter/package.json b/examples/codesandbox-starter/package.json index cc97f37bc..4374fb116 100644 --- a/examples/codesandbox-starter/package.json +++ b/examples/codesandbox-starter/package.json @@ -1,7 +1,7 @@ { "name": "theme-ui-starter", "private": "true", - "version": "0.3.1", + "version": "0.3.2", "description": "A sandbox configured with Theme UI, including the `base` theme.", "main": "index.html", "scripts": { @@ -14,7 +14,7 @@ "@theme-ui/presets": "^0.3.0", "react": "^16.12.0", "react-dom": "^16.9.0", - "theme-ui": "^0.3.1" + "theme-ui": "^0.3.2" }, "devDependencies": { "@babel/core": "^7.7.4", diff --git a/examples/custom-pragma/package.json b/examples/custom-pragma/package.json index 58715c58c..6ecc01ee7 100644 --- a/examples/custom-pragma/package.json +++ b/examples/custom-pragma/package.json @@ -1,7 +1,7 @@ { "private": true, "name": "custom-pragma-example", - "version": "0.3.1", + "version": "0.3.2", "main": "index.js", "author": "Brent Jackson ", "license": "MIT", @@ -17,6 +17,6 @@ "gatsby-plugin-mdx": "^1.0.4", "react": "^16.8.6", "react-dom": "^16.8.6", - "theme-ui": "^0.3.1" + "theme-ui": "^0.3.2" } } diff --git a/examples/dark-mode/package.json b/examples/dark-mode/package.json index 02424a35d..d300c4552 100644 --- a/examples/dark-mode/package.json +++ b/examples/dark-mode/package.json @@ -1,7 +1,7 @@ { "private": true, "name": "dark-mode-theme-ui-example", - "version": "0.3.1", + "version": "0.3.2", "main": "index.js", "author": "Brent Jackson ", "license": "MIT", @@ -17,6 +17,6 @@ "gatsby-plugin-mdx": "^1.0.4", "react": "^16.8.6", "react-dom": "^16.8.6", - "theme-ui": "^0.3.1" + "theme-ui": "^0.3.2" } } diff --git a/examples/gatsby-plugin/package.json b/examples/gatsby-plugin/package.json index 14c40ad67..d7f333c04 100644 --- a/examples/gatsby-plugin/package.json +++ b/examples/gatsby-plugin/package.json @@ -1,7 +1,7 @@ { "private": true, "name": "gatsby-plugin-theme-ui-example", - "version": "0.3.1", + "version": "0.3.2", "main": "index.js", "author": "Brent Jackson ", "license": "MIT", @@ -15,10 +15,10 @@ "@mdx-js/react": "^1.0.16", "gatsby": "^2.6.3", "gatsby-plugin-mdx": "^1.0.4", - "gatsby-plugin-theme-ui": "^0.3.0", + "gatsby-plugin-theme-ui": "^0.3.2", "react": "^16.8.6", "react-dom": "^16.8.6", - "theme-ui": "^0.3.1" + "theme-ui": "^0.3.2" }, "devDependencies": { "@testing-library/react": "^9.1.3", diff --git a/examples/gatsby/package.json b/examples/gatsby/package.json index 886fa719b..ee6640d6b 100644 --- a/examples/gatsby/package.json +++ b/examples/gatsby/package.json @@ -1,7 +1,7 @@ { "private": true, "name": "gatsby-theme-ui-example", - "version": "0.3.1", + "version": "0.3.2", "main": "index.js", "author": "Brent Jackson ", "license": "MIT", @@ -17,6 +17,6 @@ "gatsby-plugin-mdx": "^1.0.4", "react": "^16.8.6", "react-dom": "^16.8.6", - "theme-ui": "^0.3.1" + "theme-ui": "^0.3.2" } } diff --git a/examples/next/package.json b/examples/next/package.json index 6a440adff..c07d835eb 100644 --- a/examples/next/package.json +++ b/examples/next/package.json @@ -1,7 +1,7 @@ { "private": true, "name": "next-theme-ui-example", - "version": "0.3.1", + "version": "0.3.2", "main": "index.js", "author": "Brent Jackson ", "license": "MIT", @@ -17,6 +17,6 @@ "next": "^9.0.2", "react": "^16.8.6", "react-dom": "^16.8.6", - "theme-ui": "^0.3.1" + "theme-ui": "^0.3.2" } } diff --git a/examples/prism/package.json b/examples/prism/package.json index b2629baed..a2f905e22 100644 --- a/examples/prism/package.json +++ b/examples/prism/package.json @@ -1,7 +1,7 @@ { "private": true, "name": "prism-theme-ui-example", - "version": "0.3.1", + "version": "0.3.2", "main": "index.js", "author": "Brent Jackson ", "license": "MIT", @@ -19,6 +19,6 @@ "prismjs": "^1.16.0", "react": "^16.8.6", "react-dom": "^16.8.6", - "theme-ui": "^0.3.1" + "theme-ui": "^0.3.2" } } diff --git a/examples/typography/package.json b/examples/typography/package.json index fca323f2b..55e4b8d1d 100644 --- a/examples/typography/package.json +++ b/examples/typography/package.json @@ -1,7 +1,7 @@ { "private": true, "name": "typography-js-theme-ui-example", - "version": "0.3.1", + "version": "0.3.2", "main": "index.js", "author": "Brent Jackson ", "license": "MIT", @@ -19,7 +19,7 @@ "lodash.merge": "^4.6.1", "react": "^16.8.6", "react-dom": "^16.8.6", - "theme-ui": "^0.3.1", + "theme-ui": "^0.3.2", "theme-ui-typography": "^0.1.7", "typography-theme-fairy-gates": "^0.16.19" } diff --git a/lerna.json b/lerna.json index 23baf5281..87a7fb4f2 100644 --- a/lerna.json +++ b/lerna.json @@ -1,5 +1,5 @@ { - "version": "0.3.1", + "version": "0.3.2", "npmClient": "yarn", "useWorkspaces": true, "packages": ["packages/*"] diff --git a/packages/chrome/package.json b/packages/chrome/package.json index 3cb899a84..1798261c2 100644 --- a/packages/chrome/package.json +++ b/packages/chrome/package.json @@ -1,7 +1,7 @@ { "private": true, "name": "@theme-ui/chrome", - "version": "0.3.1", + "version": "0.3.2", "main": "index.js", "author": "Brent Jackson", "license": "MIT", @@ -19,7 +19,7 @@ "@babel/preset-env": "^7.4.5", "@babel/preset-react": "^7.0.0", "@emotion/core": "^10.0.16", - "@theme-ui/editor": "^0.3.1", + "@theme-ui/editor": "^0.3.2", "babel-loader": "^8.0.6", "copy-to-clipboard": "^3.2.0", "lodash.debounce": "^4.0.8", @@ -27,7 +27,7 @@ "react": "^16.8.6", "react-dom": "^16.8.6", "stringify-object": "^3.3.0", - "theme-ui": "^0.3.1", + "theme-ui": "^0.3.2", "webpack": "^4.33.0", "webpack-cli": "^3.3.4" }, diff --git a/packages/color-modes/package.json b/packages/color-modes/package.json index e982af340..2597354a6 100644 --- a/packages/color-modes/package.json +++ b/packages/color-modes/package.json @@ -1,6 +1,6 @@ { "name": "@theme-ui/color-modes", - "version": "0.3.1", + "version": "0.3.2", "main": "dist/index.js", "module": "dist/index.esm.js", "sideEffects": false, @@ -16,8 +16,8 @@ }, "dependencies": { "@emotion/core": "^10.0.0", - "@theme-ui/core": "^0.3.1", - "@theme-ui/css": "^0.3.1", + "@theme-ui/core": "^0.3.2", + "@theme-ui/css": "^0.3.2", "deepmerge": "^4.2.2" }, "peerDependencies": { diff --git a/packages/color/package.json b/packages/color/package.json index d4fa44f23..8d866e2bd 100644 --- a/packages/color/package.json +++ b/packages/color/package.json @@ -1,6 +1,6 @@ { "name": "@theme-ui/color", - "version": "0.3.1", + "version": "0.3.2", "main": "dist/index.js", "module": "dist/index.esm.js", "scripts": { @@ -8,7 +8,7 @@ "watch": "microbundle watch --no-compress" }, "dependencies": { - "@theme-ui/css": "^0.3.1", + "@theme-ui/css": "^0.3.2", "polished": "^3.4.1" }, "publishConfig": { diff --git a/packages/components/package.json b/packages/components/package.json index 849616e59..313ac9bd1 100644 --- a/packages/components/package.json +++ b/packages/components/package.json @@ -1,6 +1,6 @@ { "name": "@theme-ui/components", - "version": "0.3.1", + "version": "0.3.2", "main": "dist/index.js", "module": "dist/index.esm.js", "sideEffects": false, @@ -14,7 +14,7 @@ "@styled-system/color": "^5.1.2", "@styled-system/should-forward-prop": "^5.1.2", "@styled-system/space": "^5.1.2", - "@theme-ui/css": "^0.3.1" + "@theme-ui/css": "^0.3.2" }, "peerDependencies": { "react": "^16.8.0" diff --git a/packages/core/package.json b/packages/core/package.json index 21a8a957a..dec028ecd 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@theme-ui/core", - "version": "0.3.1", + "version": "0.3.2", "main": "dist/index.js", "module": "dist/index.esm.js", "sideEffects": false, @@ -16,7 +16,7 @@ }, "dependencies": { "@emotion/core": "^10.0.0", - "@theme-ui/css": "^0.3.1", + "@theme-ui/css": "^0.3.2", "deepmerge": "^4.2.2" }, "peerDependencies": { diff --git a/packages/css/package.json b/packages/css/package.json index fc232501a..d64376bd2 100644 --- a/packages/css/package.json +++ b/packages/css/package.json @@ -1,6 +1,6 @@ { "name": "@theme-ui/css", - "version": "0.3.1", + "version": "0.3.2", "main": "dist/index.js", "module": "dist/index.esm.js", "sideEffects": false, diff --git a/packages/docs/package.json b/packages/docs/package.json index bb031db11..d10289492 100644 --- a/packages/docs/package.json +++ b/packages/docs/package.json @@ -1,7 +1,7 @@ { "private": true, "name": "docs", - "version": "0.3.1", + "version": "0.3.2", "main": "index.js", "author": "Brent Jackson ", "license": "MIT", @@ -20,13 +20,13 @@ "@mdx-js/mdx": "^1.0.0-rc.0", "@mdx-js/react": "^1.0.0-rc.0", "@styled-system/edit": "^5.0.15", - "@theme-ui/color": "^0.3.1", - "@theme-ui/components": "^0.3.1", - "@theme-ui/editor": "^0.3.1", - "@theme-ui/match-media": "^0.3.1", + "@theme-ui/color": "^0.3.2", + "@theme-ui/components": "^0.3.2", + "@theme-ui/editor": "^0.3.2", + "@theme-ui/match-media": "^0.3.2", "@theme-ui/presets": "^0.3.0", "@theme-ui/prism": "^0.3.0", - "@theme-ui/sidenav": "^0.3.1", + "@theme-ui/sidenav": "^0.3.2", "@theme-ui/style-guide": "^0.3.0", "@theme-ui/typography": "^0.3.0", "copy-to-clipboard": "^3.2.0", @@ -35,9 +35,9 @@ "gatsby-plugin-compile-es6-packages": "^2.1.0", "gatsby-plugin-mdx": "^1.0.4", "gatsby-plugin-react-helmet": "^3.0.12", - "gatsby-plugin-theme-ui": "^0.3.0", + "gatsby-plugin-theme-ui": "^0.3.2", "gatsby-theme-code-recipes": "^0.3.0", - "gatsby-theme-style-guide": "^0.3.1", + "gatsby-theme-style-guide": "^0.3.2", "lodash.merge": "^4.6.1", "lodash.omit": "^4.5.0", "prismjs": "^1.16.0", @@ -48,7 +48,7 @@ "remark-slug": "^5.1.1", "stringify-object": "^3.3.0", "test-theme": "1.0.0", - "theme-ui": "^0.3.1", + "theme-ui": "^0.3.2", "typography-theme-alton": "^0.16.19", "typography-theme-anonymous": "^0.15.10", "typography-theme-bootstrap": "^0.16.19", diff --git a/packages/editor/package.json b/packages/editor/package.json index 24640ab07..8929a51dc 100644 --- a/packages/editor/package.json +++ b/packages/editor/package.json @@ -1,6 +1,6 @@ { "name": "@theme-ui/editor", - "version": "0.3.1", + "version": "0.3.2", "main": "dist/index.js", "module": "dist/index.esm.js", "author": "Brent Jackson", @@ -10,7 +10,7 @@ "watch": "microbundle watch --no-compress" }, "dependencies": { - "@theme-ui/components": "^0.3.1", + "@theme-ui/components": "^0.3.2", "@theme-ui/style-guide": "^0.3.0", "color": "^3.1.2", "react-color": "^2.18.0", diff --git a/packages/gatsby-plugin-theme-ui/package.json b/packages/gatsby-plugin-theme-ui/package.json index 3fe314472..ff0f3b36a 100644 --- a/packages/gatsby-plugin-theme-ui/package.json +++ b/packages/gatsby-plugin-theme-ui/package.json @@ -1,6 +1,6 @@ { "name": "gatsby-plugin-theme-ui", - "version": "0.3.0", + "version": "0.3.2", "private": true, "main": "index.js", "author": "Brent Jackson", diff --git a/packages/gatsby-theme-style-guide/package.json b/packages/gatsby-theme-style-guide/package.json index 970fb276f..4f99e7b19 100644 --- a/packages/gatsby-theme-style-guide/package.json +++ b/packages/gatsby-theme-style-guide/package.json @@ -1,6 +1,6 @@ { "name": "gatsby-theme-style-guide", - "version": "0.3.1", + "version": "0.3.2", "main": "index.js", "license": "MIT", "peerDependencies": { @@ -15,6 +15,6 @@ }, "dependencies": { "@theme-ui/style-guide": "^0.3.0", - "theme-ui": "^0.3.1" + "theme-ui": "^0.3.2" } } diff --git a/packages/gatsby-theme-ui-blog/package.json b/packages/gatsby-theme-ui-blog/package.json index 6aef1e711..f1e6a7ca4 100644 --- a/packages/gatsby-theme-ui-blog/package.json +++ b/packages/gatsby-theme-ui-blog/package.json @@ -1,6 +1,6 @@ { "name": "gatsby-theme-ui-blog", - "version": "0.3.1", + "version": "0.3.2", "main": "index.js", "scripts": { "avatar": "npx capture-website-cli \"https://contrast.now.sh/fff/33e?text=UI&size=48&fontSize=1.5&radius=32&baseline=1\" content/assets/avatar.png --width=48 --height=48 --overwrite" @@ -20,11 +20,11 @@ "@mdx-js/react": "^1.0.0", "@theme-ui/preset-base": "^0.3.0", "gatsby-plugin-react-helmet": "^3.1.3", - "gatsby-plugin-theme-ui": "^0.3.0", + "gatsby-plugin-theme-ui": "^0.3.2", "gatsby-theme-blog-core": "^1.0.2", "gatsby-theme-ui-layout": "^0.3.0", "react-helmet": "^5.2.1", - "theme-ui": "^0.3.1" + "theme-ui": "^0.3.2" }, "repository": "system-ui/theme-ui", "license": "MIT" diff --git a/packages/match-media/package.json b/packages/match-media/package.json index ebe6aca3d..d7dcf0e93 100644 --- a/packages/match-media/package.json +++ b/packages/match-media/package.json @@ -1,6 +1,6 @@ { "name": "@theme-ui/match-media", - "version": "0.3.1", + "version": "0.3.2", "description": "React hooks for theme-ui breakpoints", "main": "dist/index.js", "module": "dist/index.esm.js", @@ -16,7 +16,7 @@ }, "devDependencies": { "react": "^16.9.0", - "theme-ui": "^0.3.1" + "theme-ui": "^0.3.2" }, "peerDependencies": { "react": "^16.9.0", diff --git a/packages/sidenav/package.json b/packages/sidenav/package.json index 1966d6eb2..768dfdcc1 100644 --- a/packages/sidenav/package.json +++ b/packages/sidenav/package.json @@ -1,6 +1,6 @@ { "name": "@theme-ui/sidenav", - "version": "0.3.1", + "version": "0.3.2", "main": "dist/index.js", "module": "dist/index.esm.js", "license": "MIT", @@ -16,7 +16,7 @@ "@mdx-js/react": "^1.0.21", "deepmerge": "^4.0.0", "react": "^16.8.6", - "theme-ui": "^0.3.1" + "theme-ui": "^0.3.2" }, "keywords": [ "theme-ui", diff --git a/packages/theme-provider/package.json b/packages/theme-provider/package.json index 980667400..bcfac0bb0 100644 --- a/packages/theme-provider/package.json +++ b/packages/theme-provider/package.json @@ -1,6 +1,6 @@ { "name": "@theme-ui/theme-provider", - "version": "0.3.1", + "version": "0.3.2", "main": "dist/index.js", "module": "dist/index.esm.js", "sideEffects": false, @@ -10,13 +10,13 @@ }, "dependencies": { "@emotion/core": "^10.0.0", - "@theme-ui/color-modes": "^0.3.1", - "@theme-ui/core": "^0.3.1", + "@theme-ui/color-modes": "^0.3.2", + "@theme-ui/core": "^0.3.2", "@theme-ui/mdx": "^0.3.0" }, "peerDependencies": { - "react": "^16.11.0", - "@theme-ui/css": "*" + "@theme-ui/css": "*", + "react": "^16.11.0" }, "repository": "system-ui/theme-ui", "author": "Brent Jackson", diff --git a/packages/theme-ui/package.json b/packages/theme-ui/package.json index 002f0c48e..faa50386c 100644 --- a/packages/theme-ui/package.json +++ b/packages/theme-ui/package.json @@ -1,6 +1,6 @@ { "name": "theme-ui", - "version": "0.3.1", + "version": "0.3.2", "description": "Build consistent, themeable React UIs based on design system constraints", "main": "dist/index.js", "module": "dist/index.esm.js", @@ -13,12 +13,12 @@ "watch": "microbundle watch --no-compress" }, "dependencies": { - "@theme-ui/color-modes": "^0.3.1", - "@theme-ui/components": "^0.3.1", - "@theme-ui/core": "^0.3.1", - "@theme-ui/css": "^0.3.1", + "@theme-ui/color-modes": "^0.3.2", + "@theme-ui/components": "^0.3.2", + "@theme-ui/core": "^0.3.2", + "@theme-ui/css": "^0.3.2", "@theme-ui/mdx": "^0.3.0", - "@theme-ui/theme-provider": "^0.3.1" + "@theme-ui/theme-provider": "^0.3.2" }, "peerDependencies": { "react": "^16.11.0" From 988cc191d2e09de4e374ce3774a50c10d2c03886 Mon Sep 17 00:00:00 2001 From: hasparus Date: Sun, 8 Nov 2020 23:47:49 +0100 Subject: [PATCH 040/377] Bump versions --- packages/color-modes/package.json | 3 ++- packages/color/package.json | 3 ++- packages/components/package.json | 3 ++- packages/core/package.json | 3 ++- packages/css/package.json | 3 ++- packages/editor/package.json | 2 +- packages/gatsby-theme-style-guide/package.json | 3 ++- packages/gatsby-theme-ui-blog/package.json | 4 +++- packages/match-media/package.json | 3 ++- packages/sidenav/package.json | 2 +- packages/theme-provider/package.json | 3 ++- packages/theme-ui/package.json | 2 +- 12 files changed, 22 insertions(+), 12 deletions(-) diff --git a/packages/color-modes/package.json b/packages/color-modes/package.json index 2597354a6..e9cc2181e 100644 --- a/packages/color-modes/package.json +++ b/packages/color-modes/package.json @@ -25,5 +25,6 @@ }, "devDependencies": { "react": "^16.11.0" - } + }, + "gitHead": "3f78f13ae0c62105fb81bdb7792c6e28cf3521b5" } diff --git a/packages/color/package.json b/packages/color/package.json index 8d866e2bd..ebef541d8 100644 --- a/packages/color/package.json +++ b/packages/color/package.json @@ -14,5 +14,6 @@ "publishConfig": { "access": "public" }, - "license": "MIT" + "license": "MIT", + "gitHead": "3f78f13ae0c62105fb81bdb7792c6e28cf3521b5" } diff --git a/packages/components/package.json b/packages/components/package.json index 313ac9bd1..a1e6050e7 100644 --- a/packages/components/package.json +++ b/packages/components/package.json @@ -23,5 +23,6 @@ "access": "public" }, "author": "Brent Jackson ", - "license": "MIT" + "license": "MIT", + "gitHead": "3f78f13ae0c62105fb81bdb7792c6e28cf3521b5" } diff --git a/packages/core/package.json b/packages/core/package.json index dec028ecd..4ff92fbc7 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -24,5 +24,6 @@ }, "devDependencies": { "react": "^16.11.0" - } + }, + "gitHead": "3f78f13ae0c62105fb81bdb7792c6e28cf3521b5" } diff --git a/packages/css/package.json b/packages/css/package.json index d64376bd2..7c8b49756 100644 --- a/packages/css/package.json +++ b/packages/css/package.json @@ -12,5 +12,6 @@ "license": "MIT", "publishConfig": { "access": "public" - } + }, + "gitHead": "3f78f13ae0c62105fb81bdb7792c6e28cf3521b5" } diff --git a/packages/editor/package.json b/packages/editor/package.json index 8929a51dc..0caa8a20b 100644 --- a/packages/editor/package.json +++ b/packages/editor/package.json @@ -26,5 +26,5 @@ "publishConfig": { "access": "public" }, - "gitHead": "bfd026cae085f377ca537de897dc43233d50f5d5" + "gitHead": "3f78f13ae0c62105fb81bdb7792c6e28cf3521b5" } diff --git a/packages/gatsby-theme-style-guide/package.json b/packages/gatsby-theme-style-guide/package.json index 4f99e7b19..25b7dafd9 100644 --- a/packages/gatsby-theme-style-guide/package.json +++ b/packages/gatsby-theme-style-guide/package.json @@ -16,5 +16,6 @@ "dependencies": { "@theme-ui/style-guide": "^0.3.0", "theme-ui": "^0.3.2" - } + }, + "gitHead": "3f78f13ae0c62105fb81bdb7792c6e28cf3521b5" } diff --git a/packages/gatsby-theme-ui-blog/package.json b/packages/gatsby-theme-ui-blog/package.json index f1e6a7ca4..8ffd83a84 100644 --- a/packages/gatsby-theme-ui-blog/package.json +++ b/packages/gatsby-theme-ui-blog/package.json @@ -2,6 +2,7 @@ "name": "gatsby-theme-ui-blog", "version": "0.3.2", "main": "index.js", + "private": true, "scripts": { "avatar": "npx capture-website-cli \"https://contrast.now.sh/fff/33e?text=UI&size=48&fontSize=1.5&radius=32&baseline=1\" content/assets/avatar.png --width=48 --height=48 --overwrite" }, @@ -27,5 +28,6 @@ "theme-ui": "^0.3.2" }, "repository": "system-ui/theme-ui", - "license": "MIT" + "license": "MIT", + "gitHead": "3f78f13ae0c62105fb81bdb7792c6e28cf3521b5" } diff --git a/packages/match-media/package.json b/packages/match-media/package.json index d7dcf0e93..bceb32b6b 100644 --- a/packages/match-media/package.json +++ b/packages/match-media/package.json @@ -21,5 +21,6 @@ "peerDependencies": { "react": "^16.9.0", "theme-ui": "^0.2.43" - } + }, + "gitHead": "3f78f13ae0c62105fb81bdb7792c6e28cf3521b5" } diff --git a/packages/sidenav/package.json b/packages/sidenav/package.json index 768dfdcc1..ea023f533 100644 --- a/packages/sidenav/package.json +++ b/packages/sidenav/package.json @@ -27,5 +27,5 @@ "style" ], "repository": "system-ui/theme-ui", - "gitHead": "bfd026cae085f377ca537de897dc43233d50f5d5" + "gitHead": "3f78f13ae0c62105fb81bdb7792c6e28cf3521b5" } diff --git a/packages/theme-provider/package.json b/packages/theme-provider/package.json index bcfac0bb0..7c96a7e10 100644 --- a/packages/theme-provider/package.json +++ b/packages/theme-provider/package.json @@ -23,5 +23,6 @@ "license": "MIT", "publishConfig": { "access": "public" - } + }, + "gitHead": "3f78f13ae0c62105fb81bdb7792c6e28cf3521b5" } diff --git a/packages/theme-ui/package.json b/packages/theme-ui/package.json index faa50386c..09b29263c 100644 --- a/packages/theme-ui/package.json +++ b/packages/theme-ui/package.json @@ -31,5 +31,5 @@ "styles", "css-in-js" ], - "gitHead": "bfd026cae085f377ca537de897dc43233d50f5d5" + "gitHead": "3f78f13ae0c62105fb81bdb7792c6e28cf3521b5" } From e1f5c6c094100f2cadf3a458b9cf2f67fdfb66ed Mon Sep 17 00:00:00 2001 From: hasparus Date: Sun, 8 Nov 2020 23:50:08 +0100 Subject: [PATCH 041/377] fix(style-guide): peer dependency --- packages/style-guide/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/style-guide/package.json b/packages/style-guide/package.json index efda067bc..5131d634f 100644 --- a/packages/style-guide/package.json +++ b/packages/style-guide/package.json @@ -12,7 +12,7 @@ "peerDependencies": { "@emotion/core": "^10.0.10", "react": "^16.8.6", - "theme-ui": "^0.2.52" + "theme-ui": "^0.3" }, "dependencies": { "@theme-ui/presets": "^0.3.0", From bfba2df8fdd01119c3af6a233355db1955c54ba0 Mon Sep 17 00:00:00 2001 From: hasparus Date: Sun, 8 Nov 2020 23:51:05 +0100 Subject: [PATCH 042/377] v0.3.3 --- examples/codesandbox-starter/package.json | 4 ++-- examples/custom-pragma/package.json | 4 ++-- examples/dark-mode/package.json | 4 ++-- examples/gatsby-plugin/package.json | 4 ++-- examples/gatsby/package.json | 4 ++-- examples/next/package.json | 4 ++-- examples/prism/package.json | 4 ++-- examples/typography/package.json | 4 ++-- lerna.json | 2 +- packages/chrome/package.json | 6 +++--- packages/color-modes/package.json | 6 +++--- packages/color/package.json | 4 ++-- packages/components/package.json | 4 ++-- packages/core/package.json | 4 ++-- packages/css/package.json | 2 +- packages/docs/package.json | 18 +++++++++--------- packages/editor/package.json | 6 +++--- packages/gatsby-theme-style-guide/package.json | 6 +++--- packages/gatsby-theme-ui-blog/package.json | 4 ++-- packages/match-media/package.json | 4 ++-- packages/sidenav/package.json | 4 ++-- packages/style-guide/package.json | 2 +- packages/theme-provider/package.json | 6 +++--- packages/theme-ui/package.json | 12 ++++++------ 24 files changed, 61 insertions(+), 61 deletions(-) diff --git a/examples/codesandbox-starter/package.json b/examples/codesandbox-starter/package.json index 4374fb116..4b5f8decc 100644 --- a/examples/codesandbox-starter/package.json +++ b/examples/codesandbox-starter/package.json @@ -1,7 +1,7 @@ { "name": "theme-ui-starter", "private": "true", - "version": "0.3.2", + "version": "0.3.3", "description": "A sandbox configured with Theme UI, including the `base` theme.", "main": "index.html", "scripts": { @@ -14,7 +14,7 @@ "@theme-ui/presets": "^0.3.0", "react": "^16.12.0", "react-dom": "^16.9.0", - "theme-ui": "^0.3.2" + "theme-ui": "^0.3.3" }, "devDependencies": { "@babel/core": "^7.7.4", diff --git a/examples/custom-pragma/package.json b/examples/custom-pragma/package.json index 6ecc01ee7..3bcef7e04 100644 --- a/examples/custom-pragma/package.json +++ b/examples/custom-pragma/package.json @@ -1,7 +1,7 @@ { "private": true, "name": "custom-pragma-example", - "version": "0.3.2", + "version": "0.3.3", "main": "index.js", "author": "Brent Jackson ", "license": "MIT", @@ -17,6 +17,6 @@ "gatsby-plugin-mdx": "^1.0.4", "react": "^16.8.6", "react-dom": "^16.8.6", - "theme-ui": "^0.3.2" + "theme-ui": "^0.3.3" } } diff --git a/examples/dark-mode/package.json b/examples/dark-mode/package.json index d300c4552..cd5da8d9a 100644 --- a/examples/dark-mode/package.json +++ b/examples/dark-mode/package.json @@ -1,7 +1,7 @@ { "private": true, "name": "dark-mode-theme-ui-example", - "version": "0.3.2", + "version": "0.3.3", "main": "index.js", "author": "Brent Jackson ", "license": "MIT", @@ -17,6 +17,6 @@ "gatsby-plugin-mdx": "^1.0.4", "react": "^16.8.6", "react-dom": "^16.8.6", - "theme-ui": "^0.3.2" + "theme-ui": "^0.3.3" } } diff --git a/examples/gatsby-plugin/package.json b/examples/gatsby-plugin/package.json index d7f333c04..2f53f3d73 100644 --- a/examples/gatsby-plugin/package.json +++ b/examples/gatsby-plugin/package.json @@ -1,7 +1,7 @@ { "private": true, "name": "gatsby-plugin-theme-ui-example", - "version": "0.3.2", + "version": "0.3.3", "main": "index.js", "author": "Brent Jackson ", "license": "MIT", @@ -18,7 +18,7 @@ "gatsby-plugin-theme-ui": "^0.3.2", "react": "^16.8.6", "react-dom": "^16.8.6", - "theme-ui": "^0.3.2" + "theme-ui": "^0.3.3" }, "devDependencies": { "@testing-library/react": "^9.1.3", diff --git a/examples/gatsby/package.json b/examples/gatsby/package.json index ee6640d6b..80c4130ed 100644 --- a/examples/gatsby/package.json +++ b/examples/gatsby/package.json @@ -1,7 +1,7 @@ { "private": true, "name": "gatsby-theme-ui-example", - "version": "0.3.2", + "version": "0.3.3", "main": "index.js", "author": "Brent Jackson ", "license": "MIT", @@ -17,6 +17,6 @@ "gatsby-plugin-mdx": "^1.0.4", "react": "^16.8.6", "react-dom": "^16.8.6", - "theme-ui": "^0.3.2" + "theme-ui": "^0.3.3" } } diff --git a/examples/next/package.json b/examples/next/package.json index c07d835eb..e6a475619 100644 --- a/examples/next/package.json +++ b/examples/next/package.json @@ -1,7 +1,7 @@ { "private": true, "name": "next-theme-ui-example", - "version": "0.3.2", + "version": "0.3.3", "main": "index.js", "author": "Brent Jackson ", "license": "MIT", @@ -17,6 +17,6 @@ "next": "^9.0.2", "react": "^16.8.6", "react-dom": "^16.8.6", - "theme-ui": "^0.3.2" + "theme-ui": "^0.3.3" } } diff --git a/examples/prism/package.json b/examples/prism/package.json index a2f905e22..885de7c7b 100644 --- a/examples/prism/package.json +++ b/examples/prism/package.json @@ -1,7 +1,7 @@ { "private": true, "name": "prism-theme-ui-example", - "version": "0.3.2", + "version": "0.3.3", "main": "index.js", "author": "Brent Jackson ", "license": "MIT", @@ -19,6 +19,6 @@ "prismjs": "^1.16.0", "react": "^16.8.6", "react-dom": "^16.8.6", - "theme-ui": "^0.3.2" + "theme-ui": "^0.3.3" } } diff --git a/examples/typography/package.json b/examples/typography/package.json index 55e4b8d1d..09c6a0338 100644 --- a/examples/typography/package.json +++ b/examples/typography/package.json @@ -1,7 +1,7 @@ { "private": true, "name": "typography-js-theme-ui-example", - "version": "0.3.2", + "version": "0.3.3", "main": "index.js", "author": "Brent Jackson ", "license": "MIT", @@ -19,7 +19,7 @@ "lodash.merge": "^4.6.1", "react": "^16.8.6", "react-dom": "^16.8.6", - "theme-ui": "^0.3.2", + "theme-ui": "^0.3.3", "theme-ui-typography": "^0.1.7", "typography-theme-fairy-gates": "^0.16.19" } diff --git a/lerna.json b/lerna.json index 87a7fb4f2..95a642d26 100644 --- a/lerna.json +++ b/lerna.json @@ -1,5 +1,5 @@ { - "version": "0.3.2", + "version": "0.3.3", "npmClient": "yarn", "useWorkspaces": true, "packages": ["packages/*"] diff --git a/packages/chrome/package.json b/packages/chrome/package.json index 1798261c2..cf773f807 100644 --- a/packages/chrome/package.json +++ b/packages/chrome/package.json @@ -1,7 +1,7 @@ { "private": true, "name": "@theme-ui/chrome", - "version": "0.3.2", + "version": "0.3.3", "main": "index.js", "author": "Brent Jackson", "license": "MIT", @@ -19,7 +19,7 @@ "@babel/preset-env": "^7.4.5", "@babel/preset-react": "^7.0.0", "@emotion/core": "^10.0.16", - "@theme-ui/editor": "^0.3.2", + "@theme-ui/editor": "^0.3.3", "babel-loader": "^8.0.6", "copy-to-clipboard": "^3.2.0", "lodash.debounce": "^4.0.8", @@ -27,7 +27,7 @@ "react": "^16.8.6", "react-dom": "^16.8.6", "stringify-object": "^3.3.0", - "theme-ui": "^0.3.2", + "theme-ui": "^0.3.3", "webpack": "^4.33.0", "webpack-cli": "^3.3.4" }, diff --git a/packages/color-modes/package.json b/packages/color-modes/package.json index e9cc2181e..44658dde1 100644 --- a/packages/color-modes/package.json +++ b/packages/color-modes/package.json @@ -1,6 +1,6 @@ { "name": "@theme-ui/color-modes", - "version": "0.3.2", + "version": "0.3.3", "main": "dist/index.js", "module": "dist/index.esm.js", "sideEffects": false, @@ -16,8 +16,8 @@ }, "dependencies": { "@emotion/core": "^10.0.0", - "@theme-ui/core": "^0.3.2", - "@theme-ui/css": "^0.3.2", + "@theme-ui/core": "^0.3.3", + "@theme-ui/css": "^0.3.3", "deepmerge": "^4.2.2" }, "peerDependencies": { diff --git a/packages/color/package.json b/packages/color/package.json index ebef541d8..9fb97fb3b 100644 --- a/packages/color/package.json +++ b/packages/color/package.json @@ -1,6 +1,6 @@ { "name": "@theme-ui/color", - "version": "0.3.2", + "version": "0.3.3", "main": "dist/index.js", "module": "dist/index.esm.js", "scripts": { @@ -8,7 +8,7 @@ "watch": "microbundle watch --no-compress" }, "dependencies": { - "@theme-ui/css": "^0.3.2", + "@theme-ui/css": "^0.3.3", "polished": "^3.4.1" }, "publishConfig": { diff --git a/packages/components/package.json b/packages/components/package.json index a1e6050e7..1925bd383 100644 --- a/packages/components/package.json +++ b/packages/components/package.json @@ -1,6 +1,6 @@ { "name": "@theme-ui/components", - "version": "0.3.2", + "version": "0.3.3", "main": "dist/index.js", "module": "dist/index.esm.js", "sideEffects": false, @@ -14,7 +14,7 @@ "@styled-system/color": "^5.1.2", "@styled-system/should-forward-prop": "^5.1.2", "@styled-system/space": "^5.1.2", - "@theme-ui/css": "^0.3.2" + "@theme-ui/css": "^0.3.3" }, "peerDependencies": { "react": "^16.8.0" diff --git a/packages/core/package.json b/packages/core/package.json index 4ff92fbc7..be710adff 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@theme-ui/core", - "version": "0.3.2", + "version": "0.3.3", "main": "dist/index.js", "module": "dist/index.esm.js", "sideEffects": false, @@ -16,7 +16,7 @@ }, "dependencies": { "@emotion/core": "^10.0.0", - "@theme-ui/css": "^0.3.2", + "@theme-ui/css": "^0.3.3", "deepmerge": "^4.2.2" }, "peerDependencies": { diff --git a/packages/css/package.json b/packages/css/package.json index 7c8b49756..addf89c63 100644 --- a/packages/css/package.json +++ b/packages/css/package.json @@ -1,6 +1,6 @@ { "name": "@theme-ui/css", - "version": "0.3.2", + "version": "0.3.3", "main": "dist/index.js", "module": "dist/index.esm.js", "sideEffects": false, diff --git a/packages/docs/package.json b/packages/docs/package.json index d10289492..87bde9a69 100644 --- a/packages/docs/package.json +++ b/packages/docs/package.json @@ -1,7 +1,7 @@ { "private": true, "name": "docs", - "version": "0.3.2", + "version": "0.3.3", "main": "index.js", "author": "Brent Jackson ", "license": "MIT", @@ -20,14 +20,14 @@ "@mdx-js/mdx": "^1.0.0-rc.0", "@mdx-js/react": "^1.0.0-rc.0", "@styled-system/edit": "^5.0.15", - "@theme-ui/color": "^0.3.2", - "@theme-ui/components": "^0.3.2", - "@theme-ui/editor": "^0.3.2", - "@theme-ui/match-media": "^0.3.2", + "@theme-ui/color": "^0.3.3", + "@theme-ui/components": "^0.3.3", + "@theme-ui/editor": "^0.3.3", + "@theme-ui/match-media": "^0.3.3", "@theme-ui/presets": "^0.3.0", "@theme-ui/prism": "^0.3.0", - "@theme-ui/sidenav": "^0.3.2", - "@theme-ui/style-guide": "^0.3.0", + "@theme-ui/sidenav": "^0.3.3", + "@theme-ui/style-guide": "^0.3.3", "@theme-ui/typography": "^0.3.0", "copy-to-clipboard": "^3.2.0", "gatsby": "^2.3.6", @@ -37,7 +37,7 @@ "gatsby-plugin-react-helmet": "^3.0.12", "gatsby-plugin-theme-ui": "^0.3.2", "gatsby-theme-code-recipes": "^0.3.0", - "gatsby-theme-style-guide": "^0.3.2", + "gatsby-theme-style-guide": "^0.3.3", "lodash.merge": "^4.6.1", "lodash.omit": "^4.5.0", "prismjs": "^1.16.0", @@ -48,7 +48,7 @@ "remark-slug": "^5.1.1", "stringify-object": "^3.3.0", "test-theme": "1.0.0", - "theme-ui": "^0.3.2", + "theme-ui": "^0.3.3", "typography-theme-alton": "^0.16.19", "typography-theme-anonymous": "^0.15.10", "typography-theme-bootstrap": "^0.16.19", diff --git a/packages/editor/package.json b/packages/editor/package.json index 0caa8a20b..326f0d8e5 100644 --- a/packages/editor/package.json +++ b/packages/editor/package.json @@ -1,6 +1,6 @@ { "name": "@theme-ui/editor", - "version": "0.3.2", + "version": "0.3.3", "main": "dist/index.js", "module": "dist/index.esm.js", "author": "Brent Jackson", @@ -10,8 +10,8 @@ "watch": "microbundle watch --no-compress" }, "dependencies": { - "@theme-ui/components": "^0.3.2", - "@theme-ui/style-guide": "^0.3.0", + "@theme-ui/components": "^0.3.3", + "@theme-ui/style-guide": "^0.3.3", "color": "^3.1.2", "react-color": "^2.18.0", "reakit": "^1.0.0-beta.14", diff --git a/packages/gatsby-theme-style-guide/package.json b/packages/gatsby-theme-style-guide/package.json index 25b7dafd9..7f09d1f4c 100644 --- a/packages/gatsby-theme-style-guide/package.json +++ b/packages/gatsby-theme-style-guide/package.json @@ -1,6 +1,6 @@ { "name": "gatsby-theme-style-guide", - "version": "0.3.2", + "version": "0.3.3", "main": "index.js", "license": "MIT", "peerDependencies": { @@ -14,8 +14,8 @@ "react-dom": "^16.9.0" }, "dependencies": { - "@theme-ui/style-guide": "^0.3.0", - "theme-ui": "^0.3.2" + "@theme-ui/style-guide": "^0.3.3", + "theme-ui": "^0.3.3" }, "gitHead": "3f78f13ae0c62105fb81bdb7792c6e28cf3521b5" } diff --git a/packages/gatsby-theme-ui-blog/package.json b/packages/gatsby-theme-ui-blog/package.json index 8ffd83a84..fc9cf02e0 100644 --- a/packages/gatsby-theme-ui-blog/package.json +++ b/packages/gatsby-theme-ui-blog/package.json @@ -1,6 +1,6 @@ { "name": "gatsby-theme-ui-blog", - "version": "0.3.2", + "version": "0.3.3", "main": "index.js", "private": true, "scripts": { @@ -25,7 +25,7 @@ "gatsby-theme-blog-core": "^1.0.2", "gatsby-theme-ui-layout": "^0.3.0", "react-helmet": "^5.2.1", - "theme-ui": "^0.3.2" + "theme-ui": "^0.3.3" }, "repository": "system-ui/theme-ui", "license": "MIT", diff --git a/packages/match-media/package.json b/packages/match-media/package.json index bceb32b6b..e395c6944 100644 --- a/packages/match-media/package.json +++ b/packages/match-media/package.json @@ -1,6 +1,6 @@ { "name": "@theme-ui/match-media", - "version": "0.3.2", + "version": "0.3.3", "description": "React hooks for theme-ui breakpoints", "main": "dist/index.js", "module": "dist/index.esm.js", @@ -16,7 +16,7 @@ }, "devDependencies": { "react": "^16.9.0", - "theme-ui": "^0.3.2" + "theme-ui": "^0.3.3" }, "peerDependencies": { "react": "^16.9.0", diff --git a/packages/sidenav/package.json b/packages/sidenav/package.json index ea023f533..bc6ad8f4b 100644 --- a/packages/sidenav/package.json +++ b/packages/sidenav/package.json @@ -1,6 +1,6 @@ { "name": "@theme-ui/sidenav", - "version": "0.3.2", + "version": "0.3.3", "main": "dist/index.js", "module": "dist/index.esm.js", "license": "MIT", @@ -16,7 +16,7 @@ "@mdx-js/react": "^1.0.21", "deepmerge": "^4.0.0", "react": "^16.8.6", - "theme-ui": "^0.3.2" + "theme-ui": "^0.3.3" }, "keywords": [ "theme-ui", diff --git a/packages/style-guide/package.json b/packages/style-guide/package.json index 5131d634f..0c77ef28c 100644 --- a/packages/style-guide/package.json +++ b/packages/style-guide/package.json @@ -1,6 +1,6 @@ { "name": "@theme-ui/style-guide", - "version": "0.3.0", + "version": "0.3.3", "main": "dist/index.js", "module": "dist/index.esm.js", "author": "Brent Jackson", diff --git a/packages/theme-provider/package.json b/packages/theme-provider/package.json index 7c96a7e10..24ad0db5a 100644 --- a/packages/theme-provider/package.json +++ b/packages/theme-provider/package.json @@ -1,6 +1,6 @@ { "name": "@theme-ui/theme-provider", - "version": "0.3.2", + "version": "0.3.3", "main": "dist/index.js", "module": "dist/index.esm.js", "sideEffects": false, @@ -10,8 +10,8 @@ }, "dependencies": { "@emotion/core": "^10.0.0", - "@theme-ui/color-modes": "^0.3.2", - "@theme-ui/core": "^0.3.2", + "@theme-ui/color-modes": "^0.3.3", + "@theme-ui/core": "^0.3.3", "@theme-ui/mdx": "^0.3.0" }, "peerDependencies": { diff --git a/packages/theme-ui/package.json b/packages/theme-ui/package.json index 09b29263c..b238fe502 100644 --- a/packages/theme-ui/package.json +++ b/packages/theme-ui/package.json @@ -1,6 +1,6 @@ { "name": "theme-ui", - "version": "0.3.2", + "version": "0.3.3", "description": "Build consistent, themeable React UIs based on design system constraints", "main": "dist/index.js", "module": "dist/index.esm.js", @@ -13,12 +13,12 @@ "watch": "microbundle watch --no-compress" }, "dependencies": { - "@theme-ui/color-modes": "^0.3.2", - "@theme-ui/components": "^0.3.2", - "@theme-ui/core": "^0.3.2", - "@theme-ui/css": "^0.3.2", + "@theme-ui/color-modes": "^0.3.3", + "@theme-ui/components": "^0.3.3", + "@theme-ui/core": "^0.3.3", + "@theme-ui/css": "^0.3.3", "@theme-ui/mdx": "^0.3.0", - "@theme-ui/theme-provider": "^0.3.2" + "@theme-ui/theme-provider": "^0.3.3" }, "peerDependencies": { "react": "^16.11.0" From 7ea5585326e7746b4eb7d35485ac67904f2dd4a2 Mon Sep 17 00:00:00 2001 From: hasparus Date: Sun, 8 Nov 2020 23:53:30 +0100 Subject: [PATCH 043/377] fix(gatsby-plugin-theme-ui): fix peer dependency --- packages/gatsby-plugin-theme-ui/package.json | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/packages/gatsby-plugin-theme-ui/package.json b/packages/gatsby-plugin-theme-ui/package.json index ff0f3b36a..8ab64fb5c 100644 --- a/packages/gatsby-plugin-theme-ui/package.json +++ b/packages/gatsby-plugin-theme-ui/package.json @@ -1,13 +1,12 @@ { "name": "gatsby-plugin-theme-ui", - "version": "0.3.2", - "private": true, + "version": "0.3.3", "main": "index.js", "author": "Brent Jackson", "license": "MIT", "peerDependencies": { "gatsby": "^2.13.1", - "theme-ui": "^0.2.0" + "theme-ui": "^0.3" }, "keywords": [ "gatsby", From 7840f829dea27b554c5cd1cb00470770fceca2eb Mon Sep 17 00:00:00 2001 From: hasparus Date: Fri, 20 Nov 2020 21:52:56 +0100 Subject: [PATCH 044/377] v0.3.4 --- examples/codesandbox-starter/package.json | 6 ++-- examples/create-react-app/package.json | 2 +- examples/custom-pragma/package.json | 4 +-- examples/dark-mode/package.json | 4 +-- examples/gatsby-plugin/package.json | 6 ++-- examples/gatsby/package.json | 4 +-- examples/next/package.json | 4 +-- examples/prism/package.json | 4 +-- examples/typography/package.json | 4 +-- lerna.json | 2 +- packages/chrome/package.json | 6 ++-- packages/color-modes/package.json | 6 ++-- packages/color/package.json | 4 +-- packages/components/package.json | 4 +-- packages/core/package.json | 4 +-- packages/css/package.json | 2 +- packages/custom-properties/package.json | 2 +- packages/docs/package.json | 28 +++++++++---------- packages/editor/package.json | 6 ++-- packages/gatsby-plugin-theme-ui/package.json | 2 +- .../gatsby-theme-code-recipes/package.json | 2 +- .../gatsby-theme-style-guide/package.json | 6 ++-- packages/gatsby-theme-ui-blog/package.json | 10 +++---- packages/gatsby-theme-ui-layout/package.json | 2 +- packages/match-media/package.json | 4 +-- packages/mdx/package.json | 2 +- packages/preset-base/package.json | 2 +- packages/preset-bootstrap/package.json | 2 +- packages/preset-bulma/package.json | 4 +-- packages/preset-dark/package.json | 2 +- packages/preset-deep/package.json | 2 +- packages/preset-funk/package.json | 4 +-- packages/preset-future/package.json | 4 +-- packages/preset-polaris/package.json | 2 +- packages/preset-roboto/package.json | 4 +-- packages/preset-swiss/package.json | 2 +- packages/preset-system/package.json | 2 +- packages/preset-tailwind/package.json | 2 +- packages/preset-tosh/package.json | 2 +- packages/presets/package.json | 28 +++++++++---------- packages/prism/package.json | 2 +- packages/sidenav/package.json | 4 +-- packages/style-guide/package.json | 4 +-- packages/tachyons/package.json | 2 +- packages/tailwind/package.json | 2 +- packages/theme-provider/package.json | 8 +++--- packages/theme-ui/package.json | 14 +++++----- packages/typography/package.json | 2 +- 48 files changed, 115 insertions(+), 115 deletions(-) diff --git a/examples/codesandbox-starter/package.json b/examples/codesandbox-starter/package.json index 4b5f8decc..2548a623c 100644 --- a/examples/codesandbox-starter/package.json +++ b/examples/codesandbox-starter/package.json @@ -1,7 +1,7 @@ { "name": "theme-ui-starter", "private": "true", - "version": "0.3.3", + "version": "0.3.4", "description": "A sandbox configured with Theme UI, including the `base` theme.", "main": "index.html", "scripts": { @@ -11,10 +11,10 @@ "dependencies": { "@emotion/core": "^10.0.17", "@mdx-js/react": "^1.4.5", - "@theme-ui/presets": "^0.3.0", + "@theme-ui/presets": "^0.3.4", "react": "^16.12.0", "react-dom": "^16.9.0", - "theme-ui": "^0.3.3" + "theme-ui": "^0.3.4" }, "devDependencies": { "@babel/core": "^7.7.4", diff --git a/examples/create-react-app/package.json b/examples/create-react-app/package.json index 54b1dfd70..c676623f3 100644 --- a/examples/create-react-app/package.json +++ b/examples/create-react-app/package.json @@ -1,7 +1,7 @@ { "private": true, "name": "create-react-app-theme-ui-example", - "version": "0.3.0", + "version": "0.3.4", "dependencies": { "mdx.macro": "^0.2.8", "react": "^16.8.6", diff --git a/examples/custom-pragma/package.json b/examples/custom-pragma/package.json index 3bcef7e04..b68174755 100644 --- a/examples/custom-pragma/package.json +++ b/examples/custom-pragma/package.json @@ -1,7 +1,7 @@ { "private": true, "name": "custom-pragma-example", - "version": "0.3.3", + "version": "0.3.4", "main": "index.js", "author": "Brent Jackson ", "license": "MIT", @@ -17,6 +17,6 @@ "gatsby-plugin-mdx": "^1.0.4", "react": "^16.8.6", "react-dom": "^16.8.6", - "theme-ui": "^0.3.3" + "theme-ui": "^0.3.4" } } diff --git a/examples/dark-mode/package.json b/examples/dark-mode/package.json index cd5da8d9a..2d8b6f9df 100644 --- a/examples/dark-mode/package.json +++ b/examples/dark-mode/package.json @@ -1,7 +1,7 @@ { "private": true, "name": "dark-mode-theme-ui-example", - "version": "0.3.3", + "version": "0.3.4", "main": "index.js", "author": "Brent Jackson ", "license": "MIT", @@ -17,6 +17,6 @@ "gatsby-plugin-mdx": "^1.0.4", "react": "^16.8.6", "react-dom": "^16.8.6", - "theme-ui": "^0.3.3" + "theme-ui": "^0.3.4" } } diff --git a/examples/gatsby-plugin/package.json b/examples/gatsby-plugin/package.json index 2f53f3d73..db7995685 100644 --- a/examples/gatsby-plugin/package.json +++ b/examples/gatsby-plugin/package.json @@ -1,7 +1,7 @@ { "private": true, "name": "gatsby-plugin-theme-ui-example", - "version": "0.3.3", + "version": "0.3.4", "main": "index.js", "author": "Brent Jackson ", "license": "MIT", @@ -15,10 +15,10 @@ "@mdx-js/react": "^1.0.16", "gatsby": "^2.6.3", "gatsby-plugin-mdx": "^1.0.4", - "gatsby-plugin-theme-ui": "^0.3.2", + "gatsby-plugin-theme-ui": "^0.3.4", "react": "^16.8.6", "react-dom": "^16.8.6", - "theme-ui": "^0.3.3" + "theme-ui": "^0.3.4" }, "devDependencies": { "@testing-library/react": "^9.1.3", diff --git a/examples/gatsby/package.json b/examples/gatsby/package.json index 80c4130ed..024143e0b 100644 --- a/examples/gatsby/package.json +++ b/examples/gatsby/package.json @@ -1,7 +1,7 @@ { "private": true, "name": "gatsby-theme-ui-example", - "version": "0.3.3", + "version": "0.3.4", "main": "index.js", "author": "Brent Jackson ", "license": "MIT", @@ -17,6 +17,6 @@ "gatsby-plugin-mdx": "^1.0.4", "react": "^16.8.6", "react-dom": "^16.8.6", - "theme-ui": "^0.3.3" + "theme-ui": "^0.3.4" } } diff --git a/examples/next/package.json b/examples/next/package.json index e6a475619..9c83c3343 100644 --- a/examples/next/package.json +++ b/examples/next/package.json @@ -1,7 +1,7 @@ { "private": true, "name": "next-theme-ui-example", - "version": "0.3.3", + "version": "0.3.4", "main": "index.js", "author": "Brent Jackson ", "license": "MIT", @@ -17,6 +17,6 @@ "next": "^9.0.2", "react": "^16.8.6", "react-dom": "^16.8.6", - "theme-ui": "^0.3.3" + "theme-ui": "^0.3.4" } } diff --git a/examples/prism/package.json b/examples/prism/package.json index 885de7c7b..a578abe10 100644 --- a/examples/prism/package.json +++ b/examples/prism/package.json @@ -1,7 +1,7 @@ { "private": true, "name": "prism-theme-ui-example", - "version": "0.3.3", + "version": "0.3.4", "main": "index.js", "author": "Brent Jackson ", "license": "MIT", @@ -19,6 +19,6 @@ "prismjs": "^1.16.0", "react": "^16.8.6", "react-dom": "^16.8.6", - "theme-ui": "^0.3.3" + "theme-ui": "^0.3.4" } } diff --git a/examples/typography/package.json b/examples/typography/package.json index 09c6a0338..b2167346f 100644 --- a/examples/typography/package.json +++ b/examples/typography/package.json @@ -1,7 +1,7 @@ { "private": true, "name": "typography-js-theme-ui-example", - "version": "0.3.3", + "version": "0.3.4", "main": "index.js", "author": "Brent Jackson ", "license": "MIT", @@ -19,7 +19,7 @@ "lodash.merge": "^4.6.1", "react": "^16.8.6", "react-dom": "^16.8.6", - "theme-ui": "^0.3.3", + "theme-ui": "^0.3.4", "theme-ui-typography": "^0.1.7", "typography-theme-fairy-gates": "^0.16.19" } diff --git a/lerna.json b/lerna.json index 95a642d26..e52a9d745 100644 --- a/lerna.json +++ b/lerna.json @@ -1,5 +1,5 @@ { - "version": "0.3.3", + "version": "0.3.4", "npmClient": "yarn", "useWorkspaces": true, "packages": ["packages/*"] diff --git a/packages/chrome/package.json b/packages/chrome/package.json index cf773f807..998476af4 100644 --- a/packages/chrome/package.json +++ b/packages/chrome/package.json @@ -1,7 +1,7 @@ { "private": true, "name": "@theme-ui/chrome", - "version": "0.3.3", + "version": "0.3.4", "main": "index.js", "author": "Brent Jackson", "license": "MIT", @@ -19,7 +19,7 @@ "@babel/preset-env": "^7.4.5", "@babel/preset-react": "^7.0.0", "@emotion/core": "^10.0.16", - "@theme-ui/editor": "^0.3.3", + "@theme-ui/editor": "^0.3.4", "babel-loader": "^8.0.6", "copy-to-clipboard": "^3.2.0", "lodash.debounce": "^4.0.8", @@ -27,7 +27,7 @@ "react": "^16.8.6", "react-dom": "^16.8.6", "stringify-object": "^3.3.0", - "theme-ui": "^0.3.3", + "theme-ui": "^0.3.4", "webpack": "^4.33.0", "webpack-cli": "^3.3.4" }, diff --git a/packages/color-modes/package.json b/packages/color-modes/package.json index 44658dde1..f07533550 100644 --- a/packages/color-modes/package.json +++ b/packages/color-modes/package.json @@ -1,6 +1,6 @@ { "name": "@theme-ui/color-modes", - "version": "0.3.3", + "version": "0.3.4", "main": "dist/index.js", "module": "dist/index.esm.js", "sideEffects": false, @@ -16,8 +16,8 @@ }, "dependencies": { "@emotion/core": "^10.0.0", - "@theme-ui/core": "^0.3.3", - "@theme-ui/css": "^0.3.3", + "@theme-ui/core": "^0.3.4", + "@theme-ui/css": "^0.3.4", "deepmerge": "^4.2.2" }, "peerDependencies": { diff --git a/packages/color/package.json b/packages/color/package.json index 9fb97fb3b..3057968ab 100644 --- a/packages/color/package.json +++ b/packages/color/package.json @@ -1,6 +1,6 @@ { "name": "@theme-ui/color", - "version": "0.3.3", + "version": "0.3.4", "main": "dist/index.js", "module": "dist/index.esm.js", "scripts": { @@ -8,7 +8,7 @@ "watch": "microbundle watch --no-compress" }, "dependencies": { - "@theme-ui/css": "^0.3.3", + "@theme-ui/css": "^0.3.4", "polished": "^3.4.1" }, "publishConfig": { diff --git a/packages/components/package.json b/packages/components/package.json index 1925bd383..268fbbefd 100644 --- a/packages/components/package.json +++ b/packages/components/package.json @@ -1,6 +1,6 @@ { "name": "@theme-ui/components", - "version": "0.3.3", + "version": "0.3.4", "main": "dist/index.js", "module": "dist/index.esm.js", "sideEffects": false, @@ -14,7 +14,7 @@ "@styled-system/color": "^5.1.2", "@styled-system/should-forward-prop": "^5.1.2", "@styled-system/space": "^5.1.2", - "@theme-ui/css": "^0.3.3" + "@theme-ui/css": "^0.3.4" }, "peerDependencies": { "react": "^16.8.0" diff --git a/packages/core/package.json b/packages/core/package.json index be710adff..2614adcaa 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@theme-ui/core", - "version": "0.3.3", + "version": "0.3.4", "main": "dist/index.js", "module": "dist/index.esm.js", "sideEffects": false, @@ -16,7 +16,7 @@ }, "dependencies": { "@emotion/core": "^10.0.0", - "@theme-ui/css": "^0.3.3", + "@theme-ui/css": "^0.3.4", "deepmerge": "^4.2.2" }, "peerDependencies": { diff --git a/packages/css/package.json b/packages/css/package.json index addf89c63..4ad79dbbd 100644 --- a/packages/css/package.json +++ b/packages/css/package.json @@ -1,6 +1,6 @@ { "name": "@theme-ui/css", - "version": "0.3.3", + "version": "0.3.4", "main": "dist/index.js", "module": "dist/index.esm.js", "sideEffects": false, diff --git a/packages/custom-properties/package.json b/packages/custom-properties/package.json index f5dcda0d6..cc679770b 100644 --- a/packages/custom-properties/package.json +++ b/packages/custom-properties/package.json @@ -1,7 +1,7 @@ { "name": "@theme-ui/custom-properties", "description": "Generate CSS custom properties for use with Theme UI", - "version": "0.3.0", + "version": "0.3.4", "main": "dist/index.js", "module": "dist/index.esm.js", "author": "Alex Page ", diff --git a/packages/docs/package.json b/packages/docs/package.json index 87bde9a69..b06f76ca2 100644 --- a/packages/docs/package.json +++ b/packages/docs/package.json @@ -1,7 +1,7 @@ { "private": true, "name": "docs", - "version": "0.3.3", + "version": "0.3.4", "main": "index.js", "author": "Brent Jackson ", "license": "MIT", @@ -20,24 +20,24 @@ "@mdx-js/mdx": "^1.0.0-rc.0", "@mdx-js/react": "^1.0.0-rc.0", "@styled-system/edit": "^5.0.15", - "@theme-ui/color": "^0.3.3", - "@theme-ui/components": "^0.3.3", - "@theme-ui/editor": "^0.3.3", - "@theme-ui/match-media": "^0.3.3", - "@theme-ui/presets": "^0.3.0", - "@theme-ui/prism": "^0.3.0", - "@theme-ui/sidenav": "^0.3.3", - "@theme-ui/style-guide": "^0.3.3", - "@theme-ui/typography": "^0.3.0", + "@theme-ui/color": "^0.3.4", + "@theme-ui/components": "^0.3.4", + "@theme-ui/editor": "^0.3.4", + "@theme-ui/match-media": "^0.3.4", + "@theme-ui/presets": "^0.3.4", + "@theme-ui/prism": "^0.3.4", + "@theme-ui/sidenav": "^0.3.4", + "@theme-ui/style-guide": "^0.3.4", + "@theme-ui/typography": "^0.3.4", "copy-to-clipboard": "^3.2.0", "gatsby": "^2.3.6", "gatsby-plugin-catch-links": "^2.0.13", "gatsby-plugin-compile-es6-packages": "^2.1.0", "gatsby-plugin-mdx": "^1.0.4", "gatsby-plugin-react-helmet": "^3.0.12", - "gatsby-plugin-theme-ui": "^0.3.2", - "gatsby-theme-code-recipes": "^0.3.0", - "gatsby-theme-style-guide": "^0.3.3", + "gatsby-plugin-theme-ui": "^0.3.4", + "gatsby-theme-code-recipes": "^0.3.4", + "gatsby-theme-style-guide": "^0.3.4", "lodash.merge": "^4.6.1", "lodash.omit": "^4.5.0", "prismjs": "^1.16.0", @@ -48,7 +48,7 @@ "remark-slug": "^5.1.1", "stringify-object": "^3.3.0", "test-theme": "1.0.0", - "theme-ui": "^0.3.3", + "theme-ui": "^0.3.4", "typography-theme-alton": "^0.16.19", "typography-theme-anonymous": "^0.15.10", "typography-theme-bootstrap": "^0.16.19", diff --git a/packages/editor/package.json b/packages/editor/package.json index 326f0d8e5..91843db6a 100644 --- a/packages/editor/package.json +++ b/packages/editor/package.json @@ -1,6 +1,6 @@ { "name": "@theme-ui/editor", - "version": "0.3.3", + "version": "0.3.4", "main": "dist/index.js", "module": "dist/index.esm.js", "author": "Brent Jackson", @@ -10,8 +10,8 @@ "watch": "microbundle watch --no-compress" }, "dependencies": { - "@theme-ui/components": "^0.3.3", - "@theme-ui/style-guide": "^0.3.3", + "@theme-ui/components": "^0.3.4", + "@theme-ui/style-guide": "^0.3.4", "color": "^3.1.2", "react-color": "^2.18.0", "reakit": "^1.0.0-beta.14", diff --git a/packages/gatsby-plugin-theme-ui/package.json b/packages/gatsby-plugin-theme-ui/package.json index 8ab64fb5c..2d24b0550 100644 --- a/packages/gatsby-plugin-theme-ui/package.json +++ b/packages/gatsby-plugin-theme-ui/package.json @@ -1,6 +1,6 @@ { "name": "gatsby-plugin-theme-ui", - "version": "0.3.3", + "version": "0.3.4", "main": "index.js", "author": "Brent Jackson", "license": "MIT", diff --git a/packages/gatsby-theme-code-recipes/package.json b/packages/gatsby-theme-code-recipes/package.json index 973511bde..54e8572e7 100644 --- a/packages/gatsby-theme-code-recipes/package.json +++ b/packages/gatsby-theme-code-recipes/package.json @@ -1,6 +1,6 @@ { "name": "gatsby-theme-code-recipes", - "version": "0.3.0", + "version": "0.3.4", "main": "index.js", "license": "MIT", "peerDependencies": { diff --git a/packages/gatsby-theme-style-guide/package.json b/packages/gatsby-theme-style-guide/package.json index 7f09d1f4c..31fe292e6 100644 --- a/packages/gatsby-theme-style-guide/package.json +++ b/packages/gatsby-theme-style-guide/package.json @@ -1,6 +1,6 @@ { "name": "gatsby-theme-style-guide", - "version": "0.3.3", + "version": "0.3.4", "main": "index.js", "license": "MIT", "peerDependencies": { @@ -14,8 +14,8 @@ "react-dom": "^16.9.0" }, "dependencies": { - "@theme-ui/style-guide": "^0.3.3", - "theme-ui": "^0.3.3" + "@theme-ui/style-guide": "^0.3.4", + "theme-ui": "^0.3.4" }, "gitHead": "3f78f13ae0c62105fb81bdb7792c6e28cf3521b5" } diff --git a/packages/gatsby-theme-ui-blog/package.json b/packages/gatsby-theme-ui-blog/package.json index fc9cf02e0..43c11e906 100644 --- a/packages/gatsby-theme-ui-blog/package.json +++ b/packages/gatsby-theme-ui-blog/package.json @@ -1,6 +1,6 @@ { "name": "gatsby-theme-ui-blog", - "version": "0.3.3", + "version": "0.3.4", "main": "index.js", "private": true, "scripts": { @@ -19,13 +19,13 @@ "dependencies": { "@emotion/core": "^10.0.0", "@mdx-js/react": "^1.0.0", - "@theme-ui/preset-base": "^0.3.0", + "@theme-ui/preset-base": "^0.3.4", "gatsby-plugin-react-helmet": "^3.1.3", - "gatsby-plugin-theme-ui": "^0.3.2", + "gatsby-plugin-theme-ui": "^0.3.4", "gatsby-theme-blog-core": "^1.0.2", - "gatsby-theme-ui-layout": "^0.3.0", + "gatsby-theme-ui-layout": "^0.3.4", "react-helmet": "^5.2.1", - "theme-ui": "^0.3.3" + "theme-ui": "^0.3.4" }, "repository": "system-ui/theme-ui", "license": "MIT", diff --git a/packages/gatsby-theme-ui-layout/package.json b/packages/gatsby-theme-ui-layout/package.json index d03487e67..c033b9e66 100644 --- a/packages/gatsby-theme-ui-layout/package.json +++ b/packages/gatsby-theme-ui-layout/package.json @@ -1,6 +1,6 @@ { "name": "gatsby-theme-ui-layout", - "version": "0.3.0", + "version": "0.3.4", "main": "index.js", "repository": "system-ui/theme-ui", "peerDependencies": { diff --git a/packages/match-media/package.json b/packages/match-media/package.json index e395c6944..fd5178578 100644 --- a/packages/match-media/package.json +++ b/packages/match-media/package.json @@ -1,6 +1,6 @@ { "name": "@theme-ui/match-media", - "version": "0.3.3", + "version": "0.3.4", "description": "React hooks for theme-ui breakpoints", "main": "dist/index.js", "module": "dist/index.esm.js", @@ -16,7 +16,7 @@ }, "devDependencies": { "react": "^16.9.0", - "theme-ui": "^0.3.3" + "theme-ui": "^0.3.4" }, "peerDependencies": { "react": "^16.9.0", diff --git a/packages/mdx/package.json b/packages/mdx/package.json index d0cc6d56a..6cd91bfb2 100644 --- a/packages/mdx/package.json +++ b/packages/mdx/package.json @@ -1,6 +1,6 @@ { "name": "@theme-ui/mdx", - "version": "0.3.0", + "version": "0.3.4", "main": "dist/index.js", "module": "dist/index.esm.js", "sideEffects": false, diff --git a/packages/preset-base/package.json b/packages/preset-base/package.json index 09e3d45cd..152ed6242 100644 --- a/packages/preset-base/package.json +++ b/packages/preset-base/package.json @@ -1,6 +1,6 @@ { "name": "@theme-ui/preset-base", - "version": "0.3.0", + "version": "0.3.4", "main": "dist/index.js", "module": "dist/index.esm.js", "author": "Brent Jackson", diff --git a/packages/preset-bootstrap/package.json b/packages/preset-bootstrap/package.json index 8517f690f..4c30fbc11 100644 --- a/packages/preset-bootstrap/package.json +++ b/packages/preset-bootstrap/package.json @@ -1,6 +1,6 @@ { "name": "@theme-ui/preset-bootstrap", - "version": "0.3.0", + "version": "0.3.4", "main": "dist/index.js", "module": "dist/index.esm.js", "author": "Brent Jackson", diff --git a/packages/preset-bulma/package.json b/packages/preset-bulma/package.json index 2234a5751..1b8c45b90 100644 --- a/packages/preset-bulma/package.json +++ b/packages/preset-bulma/package.json @@ -1,6 +1,6 @@ { "name": "@theme-ui/preset-bulma", - "version": "0.3.0", + "version": "0.3.4", "main": "dist/index.js", "module": "dist/index.esm.js", "author": "Brent Jackson", @@ -10,7 +10,7 @@ "watch": "microbundle watch --no-compress" }, "dependencies": { - "@theme-ui/preset-base": "^0.3.0" + "@theme-ui/preset-base": "^0.3.4" }, "publishConfig": { "access": "public" diff --git a/packages/preset-dark/package.json b/packages/preset-dark/package.json index a7f506d1d..8b1632bae 100644 --- a/packages/preset-dark/package.json +++ b/packages/preset-dark/package.json @@ -1,6 +1,6 @@ { "name": "@theme-ui/preset-dark", - "version": "0.3.0", + "version": "0.3.4", "main": "dist/index.js", "module": "dist/index.esm.js", "author": "Brent Jackson", diff --git a/packages/preset-deep/package.json b/packages/preset-deep/package.json index 4365052c1..2fb340e49 100644 --- a/packages/preset-deep/package.json +++ b/packages/preset-deep/package.json @@ -1,6 +1,6 @@ { "name": "@theme-ui/preset-deep", - "version": "0.3.0", + "version": "0.3.4", "main": "dist/index.js", "module": "dist/index.esm.js", "author": "Brent Jackson", diff --git a/packages/preset-funk/package.json b/packages/preset-funk/package.json index 48be07202..b57bc8a73 100644 --- a/packages/preset-funk/package.json +++ b/packages/preset-funk/package.json @@ -1,6 +1,6 @@ { "name": "@theme-ui/preset-funk", - "version": "0.3.0", + "version": "0.3.4", "main": "dist/index.js", "module": "dist/index.esm.js", "author": "Brent Jackson", @@ -10,7 +10,7 @@ "watch": "microbundle watch --no-compress" }, "dependencies": { - "@theme-ui/preset-base": "^0.3.0" + "@theme-ui/preset-base": "^0.3.4" }, "publishConfig": { "access": "public" diff --git a/packages/preset-future/package.json b/packages/preset-future/package.json index 227ad2aa6..7a2c56aba 100644 --- a/packages/preset-future/package.json +++ b/packages/preset-future/package.json @@ -1,6 +1,6 @@ { "name": "@theme-ui/preset-future", - "version": "0.3.0", + "version": "0.3.4", "main": "dist/index.js", "module": "dist/index.esm.js", "author": "Brent Jackson", @@ -10,7 +10,7 @@ "watch": "microbundle watch --no-compress" }, "dependencies": { - "@theme-ui/preset-base": "^0.3.0" + "@theme-ui/preset-base": "^0.3.4" }, "publishConfig": { "access": "public" diff --git a/packages/preset-polaris/package.json b/packages/preset-polaris/package.json index 356c42164..a2bcf976e 100644 --- a/packages/preset-polaris/package.json +++ b/packages/preset-polaris/package.json @@ -1,6 +1,6 @@ { "name": "@theme-ui/preset-polaris", - "version": "0.3.0", + "version": "0.3.4", "main": "dist/index.js", "module": "dist/index.esm.js", "author": "Yuraima Estevez", diff --git a/packages/preset-roboto/package.json b/packages/preset-roboto/package.json index 22e28d577..79cf5fcb9 100644 --- a/packages/preset-roboto/package.json +++ b/packages/preset-roboto/package.json @@ -1,6 +1,6 @@ { "name": "@theme-ui/preset-roboto", - "version": "0.3.0", + "version": "0.3.4", "main": "dist/index.js", "module": "dist/index.esm.js", "author": "Brent Jackson", @@ -10,7 +10,7 @@ "watch": "microbundle watch --no-compress" }, "dependencies": { - "@theme-ui/preset-base": "^0.3.0" + "@theme-ui/preset-base": "^0.3.4" }, "publishConfig": { "access": "public" diff --git a/packages/preset-swiss/package.json b/packages/preset-swiss/package.json index 034776ec1..a5bd4a285 100644 --- a/packages/preset-swiss/package.json +++ b/packages/preset-swiss/package.json @@ -1,6 +1,6 @@ { "name": "@theme-ui/preset-swiss", - "version": "0.3.0", + "version": "0.3.4", "main": "dist/index.js", "module": "dist/index.esm.js", "author": "Brent Jackson", diff --git a/packages/preset-system/package.json b/packages/preset-system/package.json index 79a1b9bee..2c7e53126 100644 --- a/packages/preset-system/package.json +++ b/packages/preset-system/package.json @@ -1,6 +1,6 @@ { "name": "@theme-ui/preset-system", - "version": "0.3.0", + "version": "0.3.4", "main": "dist/index.js", "module": "dist/index.esm.js", "author": "Brent Jackson", diff --git a/packages/preset-tailwind/package.json b/packages/preset-tailwind/package.json index 6e645b0d2..8fab4cb6a 100644 --- a/packages/preset-tailwind/package.json +++ b/packages/preset-tailwind/package.json @@ -1,6 +1,6 @@ { "name": "@theme-ui/preset-tailwind", - "version": "0.3.0", + "version": "0.3.4", "main": "dist/index.js", "module": "dist/index.esm.js", "author": "Brent Jackson", diff --git a/packages/preset-tosh/package.json b/packages/preset-tosh/package.json index 654dda7c1..f9ef8ee65 100644 --- a/packages/preset-tosh/package.json +++ b/packages/preset-tosh/package.json @@ -1,6 +1,6 @@ { "name": "@theme-ui/preset-tosh", - "version": "0.3.0", + "version": "0.3.4", "main": "dist/index.js", "module": "dist/index.esm.js", "author": "John Otander", diff --git a/packages/presets/package.json b/packages/presets/package.json index c82d2932e..6ac47ef68 100644 --- a/packages/presets/package.json +++ b/packages/presets/package.json @@ -1,6 +1,6 @@ { "name": "@theme-ui/presets", - "version": "0.3.0", + "version": "0.3.4", "main": "dist/index.js", "module": "dist/index.esm.js", "author": "Brent Jackson", @@ -10,19 +10,19 @@ "watch": "microbundle watch --no-compress" }, "dependencies": { - "@theme-ui/preset-base": "^0.3.0", - "@theme-ui/preset-bootstrap": "^0.3.0", - "@theme-ui/preset-bulma": "^0.3.0", - "@theme-ui/preset-dark": "^0.3.0", - "@theme-ui/preset-deep": "^0.3.0", - "@theme-ui/preset-funk": "^0.3.0", - "@theme-ui/preset-future": "^0.3.0", - "@theme-ui/preset-polaris": "^0.3.0", - "@theme-ui/preset-roboto": "^0.3.0", - "@theme-ui/preset-swiss": "^0.3.0", - "@theme-ui/preset-system": "^0.3.0", - "@theme-ui/preset-tailwind": "^0.3.0", - "@theme-ui/preset-tosh": "^0.3.0" + "@theme-ui/preset-base": "^0.3.4", + "@theme-ui/preset-bootstrap": "^0.3.4", + "@theme-ui/preset-bulma": "^0.3.4", + "@theme-ui/preset-dark": "^0.3.4", + "@theme-ui/preset-deep": "^0.3.4", + "@theme-ui/preset-funk": "^0.3.4", + "@theme-ui/preset-future": "^0.3.4", + "@theme-ui/preset-polaris": "^0.3.4", + "@theme-ui/preset-roboto": "^0.3.4", + "@theme-ui/preset-swiss": "^0.3.4", + "@theme-ui/preset-system": "^0.3.4", + "@theme-ui/preset-tailwind": "^0.3.4", + "@theme-ui/preset-tosh": "^0.3.4" }, "publishConfig": { "access": "public" diff --git a/packages/prism/package.json b/packages/prism/package.json index 0ee9cb27c..d02053f53 100644 --- a/packages/prism/package.json +++ b/packages/prism/package.json @@ -1,6 +1,6 @@ { "name": "@theme-ui/prism", - "version": "0.3.0", + "version": "0.3.4", "main": "dist/prism.js", "module": "dist/prism.esm.js", "author": "John Otander", diff --git a/packages/sidenav/package.json b/packages/sidenav/package.json index bc6ad8f4b..90de6851c 100644 --- a/packages/sidenav/package.json +++ b/packages/sidenav/package.json @@ -1,6 +1,6 @@ { "name": "@theme-ui/sidenav", - "version": "0.3.3", + "version": "0.3.4", "main": "dist/index.js", "module": "dist/index.esm.js", "license": "MIT", @@ -16,7 +16,7 @@ "@mdx-js/react": "^1.0.21", "deepmerge": "^4.0.0", "react": "^16.8.6", - "theme-ui": "^0.3.3" + "theme-ui": "^0.3.4" }, "keywords": [ "theme-ui", diff --git a/packages/style-guide/package.json b/packages/style-guide/package.json index 0c77ef28c..654ded321 100644 --- a/packages/style-guide/package.json +++ b/packages/style-guide/package.json @@ -1,6 +1,6 @@ { "name": "@theme-ui/style-guide", - "version": "0.3.3", + "version": "0.3.4", "main": "dist/index.js", "module": "dist/index.esm.js", "author": "Brent Jackson", @@ -15,7 +15,7 @@ "theme-ui": "^0.3" }, "dependencies": { - "@theme-ui/presets": "^0.3.0", + "@theme-ui/presets": "^0.3.4", "color": "^3.1.2", "lodash.get": "^4.4.2" }, diff --git a/packages/tachyons/package.json b/packages/tachyons/package.json index e35c1ee68..239749f2e 100644 --- a/packages/tachyons/package.json +++ b/packages/tachyons/package.json @@ -1,7 +1,7 @@ { "name": "@theme-ui/tachyons", "description": "Generate static CSS for use outside of React with Theme UI and Tachyons", - "version": "0.3.0", + "version": "0.3.4", "main": "dist/index.js", "module": "dist/index.esm.js", "author": "John Otander ", diff --git a/packages/tailwind/package.json b/packages/tailwind/package.json index 2b39fcf53..644e286e2 100644 --- a/packages/tailwind/package.json +++ b/packages/tailwind/package.json @@ -1,7 +1,7 @@ { "name": "@theme-ui/tailwind", "description": "Generate static CSS for use outside of React with Theme UI and Tailwind.css", - "version": "0.3.0", + "version": "0.3.4", "main": "dist/index.js", "module": "dist/index.esm.js", "author": "John Otander ", diff --git a/packages/theme-provider/package.json b/packages/theme-provider/package.json index 24ad0db5a..2be36833f 100644 --- a/packages/theme-provider/package.json +++ b/packages/theme-provider/package.json @@ -1,6 +1,6 @@ { "name": "@theme-ui/theme-provider", - "version": "0.3.3", + "version": "0.3.4", "main": "dist/index.js", "module": "dist/index.esm.js", "sideEffects": false, @@ -10,9 +10,9 @@ }, "dependencies": { "@emotion/core": "^10.0.0", - "@theme-ui/color-modes": "^0.3.3", - "@theme-ui/core": "^0.3.3", - "@theme-ui/mdx": "^0.3.0" + "@theme-ui/color-modes": "^0.3.4", + "@theme-ui/core": "^0.3.4", + "@theme-ui/mdx": "^0.3.4" }, "peerDependencies": { "@theme-ui/css": "*", diff --git a/packages/theme-ui/package.json b/packages/theme-ui/package.json index b238fe502..dd26d7f35 100644 --- a/packages/theme-ui/package.json +++ b/packages/theme-ui/package.json @@ -1,6 +1,6 @@ { "name": "theme-ui", - "version": "0.3.3", + "version": "0.3.4", "description": "Build consistent, themeable React UIs based on design system constraints", "main": "dist/index.js", "module": "dist/index.esm.js", @@ -13,12 +13,12 @@ "watch": "microbundle watch --no-compress" }, "dependencies": { - "@theme-ui/color-modes": "^0.3.3", - "@theme-ui/components": "^0.3.3", - "@theme-ui/core": "^0.3.3", - "@theme-ui/css": "^0.3.3", - "@theme-ui/mdx": "^0.3.0", - "@theme-ui/theme-provider": "^0.3.3" + "@theme-ui/color-modes": "^0.3.4", + "@theme-ui/components": "^0.3.4", + "@theme-ui/core": "^0.3.4", + "@theme-ui/css": "^0.3.4", + "@theme-ui/mdx": "^0.3.4", + "@theme-ui/theme-provider": "^0.3.4" }, "peerDependencies": { "react": "^16.11.0" diff --git a/packages/typography/package.json b/packages/typography/package.json index 5dc57b587..b464caabd 100644 --- a/packages/typography/package.json +++ b/packages/typography/package.json @@ -1,6 +1,6 @@ { "name": "@theme-ui/typography", - "version": "0.3.0", + "version": "0.3.4", "main": "dist/index.js", "module": "dist/index.esm.js", "author": "Brent Jackson ", From 000d33a1b4b719271ce0c015a0bf07628bdc6b48 Mon Sep 17 00:00:00 2001 From: hasparus Date: Wed, 9 Dec 2020 18:46:12 +0100 Subject: [PATCH 045/377] chore: rename master to develop and previous to stable --- packages/chrome/README.md | 2 +- packages/docs/src/components/code.js | 2 +- packages/docs/src/components/edit-link.js | 2 +- packages/docs/src/pages/migrating.mdx | 2 +- packages/docs/src/pages/theming.mdx | 20 +++-- packages/prism/README.md | 2 +- packages/theme-ui/README.md | 100 +++++++++++++++------- 7 files changed, 86 insertions(+), 44 deletions(-) diff --git a/packages/chrome/README.md b/packages/chrome/README.md index 1249fd48b..6d68ed6ba 100644 --- a/packages/chrome/README.md +++ b/packages/chrome/README.md @@ -4,7 +4,7 @@ Chrome devtools extension for editing Theme UI styles in the browser. ## Installation -1. [Download extension](https://github.com/system-ui/theme-ui/tree/master/packages/chrome/public) +1. [Download extension](https://github.com/system-ui/theme-ui/tree/stable/packages/chrome/public) 1. Navigate to chrome://extensions/ 1. Enable "Developer mode" 1. Click "LOAD UNPACKED" diff --git a/packages/docs/src/components/code.js b/packages/docs/src/components/code.js index 93ce18101..ceaa144a0 100644 --- a/packages/docs/src/components/code.js +++ b/packages/docs/src/components/code.js @@ -42,7 +42,7 @@ const images = { flatiron: 'https://images.unsplash.com/photo-1520222984843-df35ebc0f24d?ixlib=rb-1.2.1&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=1080&fit=max&ixid=eyJhcHBfaWQiOjF9', logo: - 'https://raw.githubusercontent.com/system-ui/theme-ui/master/packages/docs/static/logo.png', + 'https://raw.githubusercontent.com/system-ui/theme-ui/stable/packages/docs/static/logo.png', } const scope = { diff --git a/packages/docs/src/components/edit-link.js b/packages/docs/src/components/edit-link.js index 437731502..c3ce3b279 100644 --- a/packages/docs/src/components/edit-link.js +++ b/packages/docs/src/components/edit-link.js @@ -42,7 +42,7 @@ export const EditLink = ({ base, children, ...props }) => ( ) EditLink.defaultProps = { - base: 'https://github.com/system-ui/theme-ui/edit/master/packages/docs/src', + base: 'https://github.com/system-ui/theme-ui/edit/develop/packages/docs/src', children: 'Edit the page on GitHub', } diff --git a/packages/docs/src/pages/migrating.mdx b/packages/docs/src/pages/migrating.mdx index 32f58b7a6..678bfb51d 100644 --- a/packages/docs/src/pages/migrating.mdx +++ b/packages/docs/src/pages/migrating.mdx @@ -24,7 +24,7 @@ title: Migrating - The `ThemeProvider` now adds global typographic styles to the `` element based on `theme.styles.root`. To disable this behavior set the `useBodyStyles: false` flag in your theme. - Theme context is now stateless. If you've made use of `context.setTheme`, this no longer works. An alternative approach is available with the `@theme-ui/editor` package. - The `ThemeStateProvider` component is no longer avialable, see `@theme-ui/editor` as an alternative. -- The `@theme-ui/editor` package has a completely new API. Please refer to the package's [README.md](https://github.com/system-ui/theme-ui/blob/master/packages/editor/README.md) for more information. +- The `@theme-ui/editor` package has a completely new API. Please refer to the package's [README.md](https://github.com/system-ui/theme-ui/blob/stable/packages/editor/README.md) for more information. ## v0.2 diff --git a/packages/docs/src/pages/theming.mdx b/packages/docs/src/pages/theming.mdx index dbc7f1d33..22db5a7e1 100644 --- a/packages/docs/src/pages/theming.mdx +++ b/packages/docs/src/pages/theming.mdx @@ -167,13 +167,14 @@ These values will be used to generate mobile-first (i.e. `min-width`) media quer The theme object can also include configuration options for Theme UI. The following keys can be used to enable and disable certain features. -Flag | Default | Description ----|---|--- -`useCustomProperties` | `true` | Enables CSS custom properties to help mitigate a flash of unstyled content during rehydration -`useBodyStyles` | `true` | Adds styles defined in `theme.styles.root` to the `` element along with `color` and `background-color` -`initialColorModeName` | `'default'` | The key used for the top-level color palette in `theme.colors` -`useColorSchemeMediaQuery` | `false` | Initializes the color mode based on the `prefers-color-scheme` media query -`useBoxSizing` | `true` | Adds a global `box-sizing: border-box` style +| Flag | Default | Description | +| -------------------------- | ----------- | ------------------------------------------------------------------------------------------------------------ | +| `useCustomProperties` | `true` | Enables CSS custom properties to help mitigate a flash of unstyled content during rehydration | +| `useBodyStyles` | `true` | Adds styles defined in `theme.styles.root` to the `` element along with `color` and `background-color` | +| `initialColorModeName` | `'default'` | The key used for the top-level color palette in `theme.colors` | +| `useColorSchemeMediaQuery` | `false` | Initializes the color mode based on the `prefers-color-scheme` media query | +| `useBorderBox` | `true` | Adds a global `box-sizing: border-box` style | +| `useLocalStorage` | `true` | Persists the color mode in `localStorage` | ## Example Theme @@ -185,7 +186,8 @@ export const theme = { breakpoints: ['40em', '52em', '64em'], space: [0, 4, 8, 16, 32, 64, 128, 256, 512], fonts: { - body: 'system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif', + body: + 'system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif', heading: 'inherit', monospace: 'Menlo, monospace', }, @@ -273,5 +275,5 @@ export const theme = { For more information on the Theme UI `theme` object, see the [Theme Specification docs](/theme-spec). -[example]: https://github.com/system-ui/theme-ui/tree/master/packages/preset-base/src/index.js +[example]: https://github.com/system-ui/theme-ui/tree/stable/packages/preset-base/src/index.ts [emotion]: https://emotion.sh diff --git a/packages/prism/README.md b/packages/prism/README.md index dd310d80f..2f6ce263a 100644 --- a/packages/prism/README.md +++ b/packages/prism/README.md @@ -72,7 +72,7 @@ export default { } ``` -The following themes are available and can be found in the [`presets/`](https://github.com/system-ui/theme-ui/tree/master/packages/prism/presets) directory. +The following themes are available and can be found in the [`presets/`](https://github.com/system-ui/theme-ui/tree/stable/packages/prism/presets) directory. - `dracula.json` - `duotone-dark.json` diff --git a/packages/theme-ui/README.md b/packages/theme-ui/README.md index 40412a9d2..785166209 100644 --- a/packages/theme-ui/README.md +++ b/packages/theme-ui/README.md @@ -1,33 +1,73 @@ - - -# Theme UI - -Build consistent, themeable React apps based on constraint-based design principles | Built with Emotion + Styled System + MDX + Typography.js - -[![GitHub][github-badge]][github] -[![Stars][stars]][github] -[![Build Status][circleci-badge]][circleci] -[![Version][version]][npm] -![MIT License][license] -[![system-ui/theme][system-ui-badge]](https://system-ui.com/theme) -![][size] - -https://theme-ui.com - -[github]: https://github.com/system-ui/theme-ui -[github-badge]: https://flat.badgen.net/badge/-/github?icon=github&label -[stars]: https://flat.badgen.net/github/stars/system-ui/theme-ui -[circleci]: https://circleci.com/gh/system-ui/theme-ui -[circleci-badge]: https://flat.badgen.net/circleci/github/system-ui/theme-ui/master -[version]: https://flat.badgen.net/npm/v/theme-ui -[npm]: https://npmjs.com/package/theme-ui -[license]: https://flat.badgen.net/badge/license/MIT/blue -[system-ui-badge]: https://flat.badgen.net/badge/system-ui/theme/black -[size]: https://flat.badgen.net/bundlephobia/minzip/theme-ui +

+ +

+ +

Theme UI

+ +

+ The Design Graph Framework +

+ +  + +

+ + GitHub + + + GitHub Stars + + + npm (latest) + + + npm (next) + +
+ + Build Status + + + Contributors + + + Activity + +
+ + Size + + + Tree Shaking + + + MIT license + + + Join our Discord community + +

+ +\ +Theme UI is a library for creating themeable user interfaces based on constraint-based design principles. Build custom component libraries, design systems, web applications, Gatsby themes, and more with a flexible API for best-in-class developer ergonomics. + +**stable docs**: https://theme-ui.com \ +**next (v0.6.0-alpha) docs**: [https://development--dev-theme-ui.netlify.app/](https://development--dev-theme-ui.netlify.app/) + +--- Built for design systems, white-labels, themes, and other applications where customizing colors, typography, and layout are treated as first-class citizens and based on a standard [Theme Specification][], From 198d0e2a01643608d4deeb498f1998b571dfbf6b Mon Sep 17 00:00:00 2001 From: hasparus Date: Mon, 21 Dec 2020 11:05:18 +0100 Subject: [PATCH 046/377] chore: checkout .gitignore from develop --- .gitignore | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index b6eaa9661..4a345cdce 100644 --- a/.gitignore +++ b/.gitignore @@ -4,4 +4,8 @@ package-lock.json node_modules dist coverage -.DS_Store \ No newline at end of file +.DS_Store +.rts2_cache* +.idea +.vscode +.envrc From 66f55444686884c7bd73ab54c95468861860ab2a Mon Sep 17 00:00:00 2001 From: hasparus Date: Mon, 21 Dec 2020 11:11:43 +0100 Subject: [PATCH 047/377] chore: remove dist on yarn clean --- package.json | 11 ++++++----- yarn.lock | 8 ++++---- 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/package.json b/package.json index c8afa2249..1e529d3a0 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,7 @@ "start": "yarn workspace docs start", "build": "yarn workspace docs build", "serve": "yarn workspace docs serve --port 8000", - "clean": "lerna run clean", + "clean": "lerna run clean && rimraf packages/*/{dist,rts2_cache*}", "format": "prettier --write \"**/*.js{,on}\" \"**/*.md\" \"**/*.mdx\"", "test": "jest", "logo": "yarn workspace docs logo", @@ -28,15 +28,15 @@ "husky": ">=4.0.7", "jest": "^24.8.0", "jest-canvas-mock": "^2.2.0", - "jest-emotion": "^10.0.11", "jest-mock-console": "^1.0.0", "lerna": "^3.14.1", "lint-staged": "10", "microbundle": "^0.11.0", "prettier": "^1.18.2", - "react-test-renderer": "^16.8.6" + "react-test-renderer": "^16.8.6", + "rimraf": "^3.0.2", + "jest-emotion": "^10.0.11" }, - "resolutions": {}, "jest": { "testMatch": [ "**/packages/**/test/*.js" @@ -82,5 +82,6 @@ "hooks": { "pre-commit": "lint-staged" } - } + }, + "resolutions": {} } diff --git a/yarn.lock b/yarn.lock index abe62cd47..7119df5f7 100644 --- a/yarn.lock +++ b/yarn.lock @@ -20517,10 +20517,10 @@ rimraf@2.6.3: dependencies: glob "^7.1.3" -rimraf@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-3.0.0.tgz#614176d4b3010b75e5c390eb0ee96f6dc0cebb9b" - integrity sha512-NDGVxTsjqfunkds7CqsOiEnxln4Bo7Nddl3XhS4pXg5OzwkLqJ971ZVAAnB+DDLnF76N+VnDEiBHaVV8I06SUg== +rimraf@^3.0.0, rimraf@^3.0.2: + version "3.0.2" + resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-3.0.2.tgz#f1a5402ba6220ad52cc1282bac1ae3aa49fd061a" + integrity sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA== dependencies: glob "^7.1.3" From cf86da0cff19c5ab3cb262e9adde62736a11f21a Mon Sep 17 00:00:00 2001 From: hasparus Date: Mon, 21 Dec 2020 11:19:32 +0100 Subject: [PATCH 048/377] Update changelog --- CHANGELOG.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index fe8ddb628..a40fa000b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,17 @@ # Changelog +## v0.3.5 2020-12-21 + +- Remove `.d.ts` from dist. Use `@types/theme-ui` with Theme UI 0.3. + +## v0.3.4 + +- Fix peer dependencies in `gatsby-plugin-theme-ui` + +## v0.3.3 + +- Fix peer dependencies in `@theme-ui/style-guide`. + ## v0.3.2 2020-11-08 - Fix peer dependencies. Issue #725, PR #836 From 609177452c019930d60cdeb8183e3ab010c98408 Mon Sep 17 00:00:00 2001 From: hasparus Date: Mon, 21 Dec 2020 11:20:22 +0100 Subject: [PATCH 049/377] chore: add release scripts to package.json --- package.json | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 1e529d3a0..c20ddea52 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,11 @@ "test": "jest", "logo": "yarn workspace docs logo", "dev:chrome": "yarn workspace @theme-ui/chrome dev", - "dev:editor": "yarn workspace @theme-ui/editor dev" + "dev:editor": "yarn workspace @theme-ui/editor dev", + "release": "lerna publish from-package --dist-tag next --pre-dist-tag next", + "prerelease": "yarn clean && yarn prepare && yarn test --coverage", + "bump-version": "lerna version", + "bump-version-next": "lerna version prerelease --preid alpha" }, "workspaces": [ "packages/*", From 93f0e1218b04ef256ddc9dbc865e15e61794b295 Mon Sep 17 00:00:00 2001 From: hasparus Date: Mon, 21 Dec 2020 11:34:55 +0100 Subject: [PATCH 050/377] v0.3.5 --- examples/codesandbox-starter/package.json | 6 ++-- examples/create-react-app/package.json | 2 +- examples/custom-pragma/package.json | 4 +-- examples/dark-mode/package.json | 4 +-- examples/gatsby-plugin/package.json | 6 ++-- examples/gatsby/package.json | 4 +-- examples/next/package.json | 4 +-- examples/prism/package.json | 4 +-- examples/typography/package.json | 4 +-- lerna.json | 2 +- packages/chrome/package.json | 6 ++-- packages/color-modes/package.json | 6 ++-- packages/color/package.json | 4 +-- packages/components/package.json | 4 +-- packages/core/package.json | 4 +-- packages/css/package.json | 2 +- packages/custom-properties/package.json | 2 +- packages/docs/package.json | 28 +++++++++---------- packages/editor/package.json | 6 ++-- packages/gatsby-plugin-theme-ui/package.json | 2 +- .../gatsby-theme-code-recipes/package.json | 2 +- .../gatsby-theme-style-guide/package.json | 6 ++-- packages/gatsby-theme-ui-blog/package.json | 10 +++---- packages/gatsby-theme-ui-layout/package.json | 2 +- packages/match-media/package.json | 4 +-- packages/mdx/package.json | 2 +- packages/preset-base/package.json | 2 +- packages/preset-bootstrap/package.json | 2 +- packages/preset-bulma/package.json | 4 +-- packages/preset-dark/package.json | 2 +- packages/preset-deep/package.json | 2 +- packages/preset-funk/package.json | 4 +-- packages/preset-future/package.json | 4 +-- packages/preset-polaris/package.json | 2 +- packages/preset-roboto/package.json | 4 +-- packages/preset-swiss/package.json | 2 +- packages/preset-system/package.json | 2 +- packages/preset-tailwind/package.json | 2 +- packages/preset-tosh/package.json | 2 +- packages/presets/package.json | 28 +++++++++---------- packages/prism/package.json | 2 +- packages/sidenav/package.json | 4 +-- packages/style-guide/package.json | 4 +-- packages/tachyons/package.json | 2 +- packages/tailwind/package.json | 2 +- packages/theme-provider/package.json | 8 +++--- packages/theme-ui/package.json | 14 +++++----- packages/typography/package.json | 2 +- 48 files changed, 115 insertions(+), 115 deletions(-) diff --git a/examples/codesandbox-starter/package.json b/examples/codesandbox-starter/package.json index 2548a623c..caa1464d0 100644 --- a/examples/codesandbox-starter/package.json +++ b/examples/codesandbox-starter/package.json @@ -1,7 +1,7 @@ { "name": "theme-ui-starter", "private": "true", - "version": "0.3.4", + "version": "0.3.5", "description": "A sandbox configured with Theme UI, including the `base` theme.", "main": "index.html", "scripts": { @@ -11,10 +11,10 @@ "dependencies": { "@emotion/core": "^10.0.17", "@mdx-js/react": "^1.4.5", - "@theme-ui/presets": "^0.3.4", + "@theme-ui/presets": "0.3.5", "react": "^16.12.0", "react-dom": "^16.9.0", - "theme-ui": "^0.3.4" + "theme-ui": "0.3.5" }, "devDependencies": { "@babel/core": "^7.7.4", diff --git a/examples/create-react-app/package.json b/examples/create-react-app/package.json index c676623f3..c2a61725f 100644 --- a/examples/create-react-app/package.json +++ b/examples/create-react-app/package.json @@ -1,7 +1,7 @@ { "private": true, "name": "create-react-app-theme-ui-example", - "version": "0.3.4", + "version": "0.3.5", "dependencies": { "mdx.macro": "^0.2.8", "react": "^16.8.6", diff --git a/examples/custom-pragma/package.json b/examples/custom-pragma/package.json index b68174755..c42981ef6 100644 --- a/examples/custom-pragma/package.json +++ b/examples/custom-pragma/package.json @@ -1,7 +1,7 @@ { "private": true, "name": "custom-pragma-example", - "version": "0.3.4", + "version": "0.3.5", "main": "index.js", "author": "Brent Jackson ", "license": "MIT", @@ -17,6 +17,6 @@ "gatsby-plugin-mdx": "^1.0.4", "react": "^16.8.6", "react-dom": "^16.8.6", - "theme-ui": "^0.3.4" + "theme-ui": "0.3.5" } } diff --git a/examples/dark-mode/package.json b/examples/dark-mode/package.json index 2d8b6f9df..c70a5dc8f 100644 --- a/examples/dark-mode/package.json +++ b/examples/dark-mode/package.json @@ -1,7 +1,7 @@ { "private": true, "name": "dark-mode-theme-ui-example", - "version": "0.3.4", + "version": "0.3.5", "main": "index.js", "author": "Brent Jackson ", "license": "MIT", @@ -17,6 +17,6 @@ "gatsby-plugin-mdx": "^1.0.4", "react": "^16.8.6", "react-dom": "^16.8.6", - "theme-ui": "^0.3.4" + "theme-ui": "0.3.5" } } diff --git a/examples/gatsby-plugin/package.json b/examples/gatsby-plugin/package.json index db7995685..ae9bcd8e0 100644 --- a/examples/gatsby-plugin/package.json +++ b/examples/gatsby-plugin/package.json @@ -1,7 +1,7 @@ { "private": true, "name": "gatsby-plugin-theme-ui-example", - "version": "0.3.4", + "version": "0.3.5", "main": "index.js", "author": "Brent Jackson ", "license": "MIT", @@ -15,10 +15,10 @@ "@mdx-js/react": "^1.0.16", "gatsby": "^2.6.3", "gatsby-plugin-mdx": "^1.0.4", - "gatsby-plugin-theme-ui": "^0.3.4", + "gatsby-plugin-theme-ui": "0.3.5", "react": "^16.8.6", "react-dom": "^16.8.6", - "theme-ui": "^0.3.4" + "theme-ui": "0.3.5" }, "devDependencies": { "@testing-library/react": "^9.1.3", diff --git a/examples/gatsby/package.json b/examples/gatsby/package.json index 024143e0b..0b6a72cbb 100644 --- a/examples/gatsby/package.json +++ b/examples/gatsby/package.json @@ -1,7 +1,7 @@ { "private": true, "name": "gatsby-theme-ui-example", - "version": "0.3.4", + "version": "0.3.5", "main": "index.js", "author": "Brent Jackson ", "license": "MIT", @@ -17,6 +17,6 @@ "gatsby-plugin-mdx": "^1.0.4", "react": "^16.8.6", "react-dom": "^16.8.6", - "theme-ui": "^0.3.4" + "theme-ui": "0.3.5" } } diff --git a/examples/next/package.json b/examples/next/package.json index 9c83c3343..ea0a71522 100644 --- a/examples/next/package.json +++ b/examples/next/package.json @@ -1,7 +1,7 @@ { "private": true, "name": "next-theme-ui-example", - "version": "0.3.4", + "version": "0.3.5", "main": "index.js", "author": "Brent Jackson ", "license": "MIT", @@ -17,6 +17,6 @@ "next": "^9.0.2", "react": "^16.8.6", "react-dom": "^16.8.6", - "theme-ui": "^0.3.4" + "theme-ui": "0.3.5" } } diff --git a/examples/prism/package.json b/examples/prism/package.json index a578abe10..ccd13143d 100644 --- a/examples/prism/package.json +++ b/examples/prism/package.json @@ -1,7 +1,7 @@ { "private": true, "name": "prism-theme-ui-example", - "version": "0.3.4", + "version": "0.3.5", "main": "index.js", "author": "Brent Jackson ", "license": "MIT", @@ -19,6 +19,6 @@ "prismjs": "^1.16.0", "react": "^16.8.6", "react-dom": "^16.8.6", - "theme-ui": "^0.3.4" + "theme-ui": "0.3.5" } } diff --git a/examples/typography/package.json b/examples/typography/package.json index b2167346f..91535a026 100644 --- a/examples/typography/package.json +++ b/examples/typography/package.json @@ -1,7 +1,7 @@ { "private": true, "name": "typography-js-theme-ui-example", - "version": "0.3.4", + "version": "0.3.5", "main": "index.js", "author": "Brent Jackson ", "license": "MIT", @@ -19,7 +19,7 @@ "lodash.merge": "^4.6.1", "react": "^16.8.6", "react-dom": "^16.8.6", - "theme-ui": "^0.3.4", + "theme-ui": "0.3.5", "theme-ui-typography": "^0.1.7", "typography-theme-fairy-gates": "^0.16.19" } diff --git a/lerna.json b/lerna.json index e52a9d745..a6587bd8d 100644 --- a/lerna.json +++ b/lerna.json @@ -1,5 +1,5 @@ { - "version": "0.3.4", + "version": "0.3.5", "npmClient": "yarn", "useWorkspaces": true, "packages": ["packages/*"] diff --git a/packages/chrome/package.json b/packages/chrome/package.json index 998476af4..be07479db 100644 --- a/packages/chrome/package.json +++ b/packages/chrome/package.json @@ -1,7 +1,7 @@ { "private": true, "name": "@theme-ui/chrome", - "version": "0.3.4", + "version": "0.3.5", "main": "index.js", "author": "Brent Jackson", "license": "MIT", @@ -19,7 +19,7 @@ "@babel/preset-env": "^7.4.5", "@babel/preset-react": "^7.0.0", "@emotion/core": "^10.0.16", - "@theme-ui/editor": "^0.3.4", + "@theme-ui/editor": "0.3.5", "babel-loader": "^8.0.6", "copy-to-clipboard": "^3.2.0", "lodash.debounce": "^4.0.8", @@ -27,7 +27,7 @@ "react": "^16.8.6", "react-dom": "^16.8.6", "stringify-object": "^3.3.0", - "theme-ui": "^0.3.4", + "theme-ui": "0.3.5", "webpack": "^4.33.0", "webpack-cli": "^3.3.4" }, diff --git a/packages/color-modes/package.json b/packages/color-modes/package.json index f07533550..d713fe93c 100644 --- a/packages/color-modes/package.json +++ b/packages/color-modes/package.json @@ -1,6 +1,6 @@ { "name": "@theme-ui/color-modes", - "version": "0.3.4", + "version": "0.3.5", "main": "dist/index.js", "module": "dist/index.esm.js", "sideEffects": false, @@ -16,8 +16,8 @@ }, "dependencies": { "@emotion/core": "^10.0.0", - "@theme-ui/core": "^0.3.4", - "@theme-ui/css": "^0.3.4", + "@theme-ui/core": "0.3.5", + "@theme-ui/css": "0.3.5", "deepmerge": "^4.2.2" }, "peerDependencies": { diff --git a/packages/color/package.json b/packages/color/package.json index 3057968ab..e9bf4ca8f 100644 --- a/packages/color/package.json +++ b/packages/color/package.json @@ -1,6 +1,6 @@ { "name": "@theme-ui/color", - "version": "0.3.4", + "version": "0.3.5", "main": "dist/index.js", "module": "dist/index.esm.js", "scripts": { @@ -8,7 +8,7 @@ "watch": "microbundle watch --no-compress" }, "dependencies": { - "@theme-ui/css": "^0.3.4", + "@theme-ui/css": "0.3.5", "polished": "^3.4.1" }, "publishConfig": { diff --git a/packages/components/package.json b/packages/components/package.json index 268fbbefd..dba245cb2 100644 --- a/packages/components/package.json +++ b/packages/components/package.json @@ -1,6 +1,6 @@ { "name": "@theme-ui/components", - "version": "0.3.4", + "version": "0.3.5", "main": "dist/index.js", "module": "dist/index.esm.js", "sideEffects": false, @@ -14,7 +14,7 @@ "@styled-system/color": "^5.1.2", "@styled-system/should-forward-prop": "^5.1.2", "@styled-system/space": "^5.1.2", - "@theme-ui/css": "^0.3.4" + "@theme-ui/css": "0.3.5" }, "peerDependencies": { "react": "^16.8.0" diff --git a/packages/core/package.json b/packages/core/package.json index 2614adcaa..7524b2998 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@theme-ui/core", - "version": "0.3.4", + "version": "0.3.5", "main": "dist/index.js", "module": "dist/index.esm.js", "sideEffects": false, @@ -16,7 +16,7 @@ }, "dependencies": { "@emotion/core": "^10.0.0", - "@theme-ui/css": "^0.3.4", + "@theme-ui/css": "0.3.5", "deepmerge": "^4.2.2" }, "peerDependencies": { diff --git a/packages/css/package.json b/packages/css/package.json index 4ad79dbbd..c586427f2 100644 --- a/packages/css/package.json +++ b/packages/css/package.json @@ -1,6 +1,6 @@ { "name": "@theme-ui/css", - "version": "0.3.4", + "version": "0.3.5", "main": "dist/index.js", "module": "dist/index.esm.js", "sideEffects": false, diff --git a/packages/custom-properties/package.json b/packages/custom-properties/package.json index cc679770b..b55012517 100644 --- a/packages/custom-properties/package.json +++ b/packages/custom-properties/package.json @@ -1,7 +1,7 @@ { "name": "@theme-ui/custom-properties", "description": "Generate CSS custom properties for use with Theme UI", - "version": "0.3.4", + "version": "0.3.5", "main": "dist/index.js", "module": "dist/index.esm.js", "author": "Alex Page ", diff --git a/packages/docs/package.json b/packages/docs/package.json index b06f76ca2..7ac49cbff 100644 --- a/packages/docs/package.json +++ b/packages/docs/package.json @@ -1,7 +1,7 @@ { "private": true, "name": "docs", - "version": "0.3.4", + "version": "0.3.5", "main": "index.js", "author": "Brent Jackson ", "license": "MIT", @@ -20,24 +20,24 @@ "@mdx-js/mdx": "^1.0.0-rc.0", "@mdx-js/react": "^1.0.0-rc.0", "@styled-system/edit": "^5.0.15", - "@theme-ui/color": "^0.3.4", - "@theme-ui/components": "^0.3.4", - "@theme-ui/editor": "^0.3.4", - "@theme-ui/match-media": "^0.3.4", - "@theme-ui/presets": "^0.3.4", - "@theme-ui/prism": "^0.3.4", - "@theme-ui/sidenav": "^0.3.4", - "@theme-ui/style-guide": "^0.3.4", - "@theme-ui/typography": "^0.3.4", + "@theme-ui/color": "0.3.5", + "@theme-ui/components": "0.3.5", + "@theme-ui/editor": "0.3.5", + "@theme-ui/match-media": "0.3.5", + "@theme-ui/presets": "0.3.5", + "@theme-ui/prism": "0.3.5", + "@theme-ui/sidenav": "0.3.5", + "@theme-ui/style-guide": "0.3.5", + "@theme-ui/typography": "0.3.5", "copy-to-clipboard": "^3.2.0", "gatsby": "^2.3.6", "gatsby-plugin-catch-links": "^2.0.13", "gatsby-plugin-compile-es6-packages": "^2.1.0", "gatsby-plugin-mdx": "^1.0.4", "gatsby-plugin-react-helmet": "^3.0.12", - "gatsby-plugin-theme-ui": "^0.3.4", - "gatsby-theme-code-recipes": "^0.3.4", - "gatsby-theme-style-guide": "^0.3.4", + "gatsby-plugin-theme-ui": "0.3.5", + "gatsby-theme-code-recipes": "0.3.5", + "gatsby-theme-style-guide": "0.3.5", "lodash.merge": "^4.6.1", "lodash.omit": "^4.5.0", "prismjs": "^1.16.0", @@ -48,7 +48,7 @@ "remark-slug": "^5.1.1", "stringify-object": "^3.3.0", "test-theme": "1.0.0", - "theme-ui": "^0.3.4", + "theme-ui": "0.3.5", "typography-theme-alton": "^0.16.19", "typography-theme-anonymous": "^0.15.10", "typography-theme-bootstrap": "^0.16.19", diff --git a/packages/editor/package.json b/packages/editor/package.json index 91843db6a..a941e5329 100644 --- a/packages/editor/package.json +++ b/packages/editor/package.json @@ -1,6 +1,6 @@ { "name": "@theme-ui/editor", - "version": "0.3.4", + "version": "0.3.5", "main": "dist/index.js", "module": "dist/index.esm.js", "author": "Brent Jackson", @@ -10,8 +10,8 @@ "watch": "microbundle watch --no-compress" }, "dependencies": { - "@theme-ui/components": "^0.3.4", - "@theme-ui/style-guide": "^0.3.4", + "@theme-ui/components": "0.3.5", + "@theme-ui/style-guide": "0.3.5", "color": "^3.1.2", "react-color": "^2.18.0", "reakit": "^1.0.0-beta.14", diff --git a/packages/gatsby-plugin-theme-ui/package.json b/packages/gatsby-plugin-theme-ui/package.json index 2d24b0550..4296e9d7e 100644 --- a/packages/gatsby-plugin-theme-ui/package.json +++ b/packages/gatsby-plugin-theme-ui/package.json @@ -1,6 +1,6 @@ { "name": "gatsby-plugin-theme-ui", - "version": "0.3.4", + "version": "0.3.5", "main": "index.js", "author": "Brent Jackson", "license": "MIT", diff --git a/packages/gatsby-theme-code-recipes/package.json b/packages/gatsby-theme-code-recipes/package.json index 54e8572e7..e056f54c6 100644 --- a/packages/gatsby-theme-code-recipes/package.json +++ b/packages/gatsby-theme-code-recipes/package.json @@ -1,6 +1,6 @@ { "name": "gatsby-theme-code-recipes", - "version": "0.3.4", + "version": "0.3.5", "main": "index.js", "license": "MIT", "peerDependencies": { diff --git a/packages/gatsby-theme-style-guide/package.json b/packages/gatsby-theme-style-guide/package.json index 31fe292e6..436ef079b 100644 --- a/packages/gatsby-theme-style-guide/package.json +++ b/packages/gatsby-theme-style-guide/package.json @@ -1,6 +1,6 @@ { "name": "gatsby-theme-style-guide", - "version": "0.3.4", + "version": "0.3.5", "main": "index.js", "license": "MIT", "peerDependencies": { @@ -14,8 +14,8 @@ "react-dom": "^16.9.0" }, "dependencies": { - "@theme-ui/style-guide": "^0.3.4", - "theme-ui": "^0.3.4" + "@theme-ui/style-guide": "0.3.5", + "theme-ui": "0.3.5" }, "gitHead": "3f78f13ae0c62105fb81bdb7792c6e28cf3521b5" } diff --git a/packages/gatsby-theme-ui-blog/package.json b/packages/gatsby-theme-ui-blog/package.json index 43c11e906..ea386805f 100644 --- a/packages/gatsby-theme-ui-blog/package.json +++ b/packages/gatsby-theme-ui-blog/package.json @@ -1,6 +1,6 @@ { "name": "gatsby-theme-ui-blog", - "version": "0.3.4", + "version": "0.3.5", "main": "index.js", "private": true, "scripts": { @@ -19,13 +19,13 @@ "dependencies": { "@emotion/core": "^10.0.0", "@mdx-js/react": "^1.0.0", - "@theme-ui/preset-base": "^0.3.4", + "@theme-ui/preset-base": "0.3.5", "gatsby-plugin-react-helmet": "^3.1.3", - "gatsby-plugin-theme-ui": "^0.3.4", + "gatsby-plugin-theme-ui": "0.3.5", "gatsby-theme-blog-core": "^1.0.2", - "gatsby-theme-ui-layout": "^0.3.4", + "gatsby-theme-ui-layout": "0.3.5", "react-helmet": "^5.2.1", - "theme-ui": "^0.3.4" + "theme-ui": "0.3.5" }, "repository": "system-ui/theme-ui", "license": "MIT", diff --git a/packages/gatsby-theme-ui-layout/package.json b/packages/gatsby-theme-ui-layout/package.json index c033b9e66..f04d7b33e 100644 --- a/packages/gatsby-theme-ui-layout/package.json +++ b/packages/gatsby-theme-ui-layout/package.json @@ -1,6 +1,6 @@ { "name": "gatsby-theme-ui-layout", - "version": "0.3.4", + "version": "0.3.5", "main": "index.js", "repository": "system-ui/theme-ui", "peerDependencies": { diff --git a/packages/match-media/package.json b/packages/match-media/package.json index fd5178578..91ed24942 100644 --- a/packages/match-media/package.json +++ b/packages/match-media/package.json @@ -1,6 +1,6 @@ { "name": "@theme-ui/match-media", - "version": "0.3.4", + "version": "0.3.5", "description": "React hooks for theme-ui breakpoints", "main": "dist/index.js", "module": "dist/index.esm.js", @@ -16,7 +16,7 @@ }, "devDependencies": { "react": "^16.9.0", - "theme-ui": "^0.3.4" + "theme-ui": "0.3.5" }, "peerDependencies": { "react": "^16.9.0", diff --git a/packages/mdx/package.json b/packages/mdx/package.json index 6cd91bfb2..99192da39 100644 --- a/packages/mdx/package.json +++ b/packages/mdx/package.json @@ -1,6 +1,6 @@ { "name": "@theme-ui/mdx", - "version": "0.3.4", + "version": "0.3.5", "main": "dist/index.js", "module": "dist/index.esm.js", "sideEffects": false, diff --git a/packages/preset-base/package.json b/packages/preset-base/package.json index 152ed6242..246339a9a 100644 --- a/packages/preset-base/package.json +++ b/packages/preset-base/package.json @@ -1,6 +1,6 @@ { "name": "@theme-ui/preset-base", - "version": "0.3.4", + "version": "0.3.5", "main": "dist/index.js", "module": "dist/index.esm.js", "author": "Brent Jackson", diff --git a/packages/preset-bootstrap/package.json b/packages/preset-bootstrap/package.json index 4c30fbc11..91542e969 100644 --- a/packages/preset-bootstrap/package.json +++ b/packages/preset-bootstrap/package.json @@ -1,6 +1,6 @@ { "name": "@theme-ui/preset-bootstrap", - "version": "0.3.4", + "version": "0.3.5", "main": "dist/index.js", "module": "dist/index.esm.js", "author": "Brent Jackson", diff --git a/packages/preset-bulma/package.json b/packages/preset-bulma/package.json index 1b8c45b90..604d9c734 100644 --- a/packages/preset-bulma/package.json +++ b/packages/preset-bulma/package.json @@ -1,6 +1,6 @@ { "name": "@theme-ui/preset-bulma", - "version": "0.3.4", + "version": "0.3.5", "main": "dist/index.js", "module": "dist/index.esm.js", "author": "Brent Jackson", @@ -10,7 +10,7 @@ "watch": "microbundle watch --no-compress" }, "dependencies": { - "@theme-ui/preset-base": "^0.3.4" + "@theme-ui/preset-base": "0.3.5" }, "publishConfig": { "access": "public" diff --git a/packages/preset-dark/package.json b/packages/preset-dark/package.json index 8b1632bae..9897b0a75 100644 --- a/packages/preset-dark/package.json +++ b/packages/preset-dark/package.json @@ -1,6 +1,6 @@ { "name": "@theme-ui/preset-dark", - "version": "0.3.4", + "version": "0.3.5", "main": "dist/index.js", "module": "dist/index.esm.js", "author": "Brent Jackson", diff --git a/packages/preset-deep/package.json b/packages/preset-deep/package.json index 2fb340e49..e97acee36 100644 --- a/packages/preset-deep/package.json +++ b/packages/preset-deep/package.json @@ -1,6 +1,6 @@ { "name": "@theme-ui/preset-deep", - "version": "0.3.4", + "version": "0.3.5", "main": "dist/index.js", "module": "dist/index.esm.js", "author": "Brent Jackson", diff --git a/packages/preset-funk/package.json b/packages/preset-funk/package.json index b57bc8a73..8580481e3 100644 --- a/packages/preset-funk/package.json +++ b/packages/preset-funk/package.json @@ -1,6 +1,6 @@ { "name": "@theme-ui/preset-funk", - "version": "0.3.4", + "version": "0.3.5", "main": "dist/index.js", "module": "dist/index.esm.js", "author": "Brent Jackson", @@ -10,7 +10,7 @@ "watch": "microbundle watch --no-compress" }, "dependencies": { - "@theme-ui/preset-base": "^0.3.4" + "@theme-ui/preset-base": "0.3.5" }, "publishConfig": { "access": "public" diff --git a/packages/preset-future/package.json b/packages/preset-future/package.json index 7a2c56aba..50fe1e923 100644 --- a/packages/preset-future/package.json +++ b/packages/preset-future/package.json @@ -1,6 +1,6 @@ { "name": "@theme-ui/preset-future", - "version": "0.3.4", + "version": "0.3.5", "main": "dist/index.js", "module": "dist/index.esm.js", "author": "Brent Jackson", @@ -10,7 +10,7 @@ "watch": "microbundle watch --no-compress" }, "dependencies": { - "@theme-ui/preset-base": "^0.3.4" + "@theme-ui/preset-base": "0.3.5" }, "publishConfig": { "access": "public" diff --git a/packages/preset-polaris/package.json b/packages/preset-polaris/package.json index a2bcf976e..837ef6d07 100644 --- a/packages/preset-polaris/package.json +++ b/packages/preset-polaris/package.json @@ -1,6 +1,6 @@ { "name": "@theme-ui/preset-polaris", - "version": "0.3.4", + "version": "0.3.5", "main": "dist/index.js", "module": "dist/index.esm.js", "author": "Yuraima Estevez", diff --git a/packages/preset-roboto/package.json b/packages/preset-roboto/package.json index 79cf5fcb9..f35e38fc8 100644 --- a/packages/preset-roboto/package.json +++ b/packages/preset-roboto/package.json @@ -1,6 +1,6 @@ { "name": "@theme-ui/preset-roboto", - "version": "0.3.4", + "version": "0.3.5", "main": "dist/index.js", "module": "dist/index.esm.js", "author": "Brent Jackson", @@ -10,7 +10,7 @@ "watch": "microbundle watch --no-compress" }, "dependencies": { - "@theme-ui/preset-base": "^0.3.4" + "@theme-ui/preset-base": "0.3.5" }, "publishConfig": { "access": "public" diff --git a/packages/preset-swiss/package.json b/packages/preset-swiss/package.json index a5bd4a285..59ee1a16d 100644 --- a/packages/preset-swiss/package.json +++ b/packages/preset-swiss/package.json @@ -1,6 +1,6 @@ { "name": "@theme-ui/preset-swiss", - "version": "0.3.4", + "version": "0.3.5", "main": "dist/index.js", "module": "dist/index.esm.js", "author": "Brent Jackson", diff --git a/packages/preset-system/package.json b/packages/preset-system/package.json index 2c7e53126..07b54deeb 100644 --- a/packages/preset-system/package.json +++ b/packages/preset-system/package.json @@ -1,6 +1,6 @@ { "name": "@theme-ui/preset-system", - "version": "0.3.4", + "version": "0.3.5", "main": "dist/index.js", "module": "dist/index.esm.js", "author": "Brent Jackson", diff --git a/packages/preset-tailwind/package.json b/packages/preset-tailwind/package.json index 8fab4cb6a..acf97dcc4 100644 --- a/packages/preset-tailwind/package.json +++ b/packages/preset-tailwind/package.json @@ -1,6 +1,6 @@ { "name": "@theme-ui/preset-tailwind", - "version": "0.3.4", + "version": "0.3.5", "main": "dist/index.js", "module": "dist/index.esm.js", "author": "Brent Jackson", diff --git a/packages/preset-tosh/package.json b/packages/preset-tosh/package.json index f9ef8ee65..0f8bb7fe7 100644 --- a/packages/preset-tosh/package.json +++ b/packages/preset-tosh/package.json @@ -1,6 +1,6 @@ { "name": "@theme-ui/preset-tosh", - "version": "0.3.4", + "version": "0.3.5", "main": "dist/index.js", "module": "dist/index.esm.js", "author": "John Otander", diff --git a/packages/presets/package.json b/packages/presets/package.json index 6ac47ef68..e8db433a8 100644 --- a/packages/presets/package.json +++ b/packages/presets/package.json @@ -1,6 +1,6 @@ { "name": "@theme-ui/presets", - "version": "0.3.4", + "version": "0.3.5", "main": "dist/index.js", "module": "dist/index.esm.js", "author": "Brent Jackson", @@ -10,19 +10,19 @@ "watch": "microbundle watch --no-compress" }, "dependencies": { - "@theme-ui/preset-base": "^0.3.4", - "@theme-ui/preset-bootstrap": "^0.3.4", - "@theme-ui/preset-bulma": "^0.3.4", - "@theme-ui/preset-dark": "^0.3.4", - "@theme-ui/preset-deep": "^0.3.4", - "@theme-ui/preset-funk": "^0.3.4", - "@theme-ui/preset-future": "^0.3.4", - "@theme-ui/preset-polaris": "^0.3.4", - "@theme-ui/preset-roboto": "^0.3.4", - "@theme-ui/preset-swiss": "^0.3.4", - "@theme-ui/preset-system": "^0.3.4", - "@theme-ui/preset-tailwind": "^0.3.4", - "@theme-ui/preset-tosh": "^0.3.4" + "@theme-ui/preset-base": "0.3.5", + "@theme-ui/preset-bootstrap": "0.3.5", + "@theme-ui/preset-bulma": "0.3.5", + "@theme-ui/preset-dark": "0.3.5", + "@theme-ui/preset-deep": "0.3.5", + "@theme-ui/preset-funk": "0.3.5", + "@theme-ui/preset-future": "0.3.5", + "@theme-ui/preset-polaris": "0.3.5", + "@theme-ui/preset-roboto": "0.3.5", + "@theme-ui/preset-swiss": "0.3.5", + "@theme-ui/preset-system": "0.3.5", + "@theme-ui/preset-tailwind": "0.3.5", + "@theme-ui/preset-tosh": "0.3.5" }, "publishConfig": { "access": "public" diff --git a/packages/prism/package.json b/packages/prism/package.json index d02053f53..3690c3065 100644 --- a/packages/prism/package.json +++ b/packages/prism/package.json @@ -1,6 +1,6 @@ { "name": "@theme-ui/prism", - "version": "0.3.4", + "version": "0.3.5", "main": "dist/prism.js", "module": "dist/prism.esm.js", "author": "John Otander", diff --git a/packages/sidenav/package.json b/packages/sidenav/package.json index 90de6851c..b7ebbdfb4 100644 --- a/packages/sidenav/package.json +++ b/packages/sidenav/package.json @@ -1,6 +1,6 @@ { "name": "@theme-ui/sidenav", - "version": "0.3.4", + "version": "0.3.5", "main": "dist/index.js", "module": "dist/index.esm.js", "license": "MIT", @@ -16,7 +16,7 @@ "@mdx-js/react": "^1.0.21", "deepmerge": "^4.0.0", "react": "^16.8.6", - "theme-ui": "^0.3.4" + "theme-ui": "0.3.5" }, "keywords": [ "theme-ui", diff --git a/packages/style-guide/package.json b/packages/style-guide/package.json index 654ded321..7a6a4b680 100644 --- a/packages/style-guide/package.json +++ b/packages/style-guide/package.json @@ -1,6 +1,6 @@ { "name": "@theme-ui/style-guide", - "version": "0.3.4", + "version": "0.3.5", "main": "dist/index.js", "module": "dist/index.esm.js", "author": "Brent Jackson", @@ -15,7 +15,7 @@ "theme-ui": "^0.3" }, "dependencies": { - "@theme-ui/presets": "^0.3.4", + "@theme-ui/presets": "0.3.5", "color": "^3.1.2", "lodash.get": "^4.4.2" }, diff --git a/packages/tachyons/package.json b/packages/tachyons/package.json index 239749f2e..1587dbbaf 100644 --- a/packages/tachyons/package.json +++ b/packages/tachyons/package.json @@ -1,7 +1,7 @@ { "name": "@theme-ui/tachyons", "description": "Generate static CSS for use outside of React with Theme UI and Tachyons", - "version": "0.3.4", + "version": "0.3.5", "main": "dist/index.js", "module": "dist/index.esm.js", "author": "John Otander ", diff --git a/packages/tailwind/package.json b/packages/tailwind/package.json index 644e286e2..33af458b7 100644 --- a/packages/tailwind/package.json +++ b/packages/tailwind/package.json @@ -1,7 +1,7 @@ { "name": "@theme-ui/tailwind", "description": "Generate static CSS for use outside of React with Theme UI and Tailwind.css", - "version": "0.3.4", + "version": "0.3.5", "main": "dist/index.js", "module": "dist/index.esm.js", "author": "John Otander ", diff --git a/packages/theme-provider/package.json b/packages/theme-provider/package.json index 2be36833f..0952d574b 100644 --- a/packages/theme-provider/package.json +++ b/packages/theme-provider/package.json @@ -1,6 +1,6 @@ { "name": "@theme-ui/theme-provider", - "version": "0.3.4", + "version": "0.3.5", "main": "dist/index.js", "module": "dist/index.esm.js", "sideEffects": false, @@ -10,9 +10,9 @@ }, "dependencies": { "@emotion/core": "^10.0.0", - "@theme-ui/color-modes": "^0.3.4", - "@theme-ui/core": "^0.3.4", - "@theme-ui/mdx": "^0.3.4" + "@theme-ui/color-modes": "0.3.5", + "@theme-ui/core": "0.3.5", + "@theme-ui/mdx": "0.3.5" }, "peerDependencies": { "@theme-ui/css": "*", diff --git a/packages/theme-ui/package.json b/packages/theme-ui/package.json index dd26d7f35..69f10dc7c 100644 --- a/packages/theme-ui/package.json +++ b/packages/theme-ui/package.json @@ -1,6 +1,6 @@ { "name": "theme-ui", - "version": "0.3.4", + "version": "0.3.5", "description": "Build consistent, themeable React UIs based on design system constraints", "main": "dist/index.js", "module": "dist/index.esm.js", @@ -13,12 +13,12 @@ "watch": "microbundle watch --no-compress" }, "dependencies": { - "@theme-ui/color-modes": "^0.3.4", - "@theme-ui/components": "^0.3.4", - "@theme-ui/core": "^0.3.4", - "@theme-ui/css": "^0.3.4", - "@theme-ui/mdx": "^0.3.4", - "@theme-ui/theme-provider": "^0.3.4" + "@theme-ui/color-modes": "0.3.5", + "@theme-ui/components": "0.3.5", + "@theme-ui/core": "0.3.5", + "@theme-ui/css": "0.3.5", + "@theme-ui/mdx": "0.3.5", + "@theme-ui/theme-provider": "0.3.5" }, "peerDependencies": { "react": "^16.11.0" diff --git a/packages/typography/package.json b/packages/typography/package.json index b464caabd..d5c6ec59f 100644 --- a/packages/typography/package.json +++ b/packages/typography/package.json @@ -1,6 +1,6 @@ { "name": "@theme-ui/typography", - "version": "0.3.4", + "version": "0.3.5", "main": "dist/index.js", "module": "dist/index.esm.js", "author": "Brent Jackson ", From dda6fbf6876340c7064fe0dedcb80128daf2f104 Mon Sep 17 00:00:00 2001 From: hasparus Date: Mon, 4 Jan 2021 21:52:58 +0100 Subject: [PATCH 051/377] wip(workspace): update to preconstruct 2 --- jest.config.js | 2 ++ package.json | 26 ++++++++++------------ packages/color-modes/package.json | 7 +++--- packages/color/package.json | 7 +++--- packages/components/package.json | 6 ++--- packages/core/jsx-dev-runtime/package.json | 6 ++--- packages/core/jsx-runtime/package.json | 6 ++--- packages/core/package.json | 21 +++++++++-------- packages/css/package.json | 6 ++--- packages/custom-properties/package.json | 6 ++--- packages/editor/package.json | 6 ++--- packages/match-media/package.json | 6 ++--- packages/mdx/package.json | 6 ++--- packages/parse-props/package.json | 5 +++-- packages/preset-base/package.json | 6 ++--- packages/preset-bootstrap/package.json | 6 ++--- packages/preset-bulma/package.json | 6 ++--- packages/preset-dark/package.json | 6 ++--- packages/preset-deep/package.json | 6 ++--- packages/preset-funk/package.json | 6 ++--- packages/preset-future/package.json | 6 ++--- packages/preset-polaris/package.json | 6 ++--- packages/preset-roboto/package.json | 6 ++--- packages/preset-sketchy/package.json | 6 ++--- packages/preset-swiss/package.json | 6 ++--- packages/preset-system/package.json | 6 ++--- packages/preset-tailwind/package.json | 6 ++--- packages/preset-tosh/package.json | 6 ++--- packages/presets/package.json | 6 ++--- packages/prism/package.json | 6 ++--- packages/sidenav/package.json | 6 ++--- packages/style-guide/package.json | 6 ++--- packages/tachyons/package.json | 6 ++--- packages/tailwind/package.json | 6 ++--- packages/test-utils/package.json | 6 ++--- packages/theme-provider/package.json | 6 ++--- packages/theme-ui/package.json | 3 ++- packages/typography/package.json | 6 ++--- yarn.lock | 13 +++++------ 39 files changed, 138 insertions(+), 132 deletions(-) diff --git a/jest.config.js b/jest.config.js index b16cd9c5e..fecdc23ce 100644 --- a/jest.config.js +++ b/jest.config.js @@ -38,6 +38,8 @@ const config = { statements: 90, }, }, + modulePathIgnorePatterns: ['packages/.*/dist'], + // projects: ['/packages/*'], snapshotSerializers: ['@emotion/jest/serializer'], setupFiles: ['jest-canvas-mock'], transform: { diff --git a/package.json b/package.json index 089b8be67..2641184b4 100644 --- a/package.json +++ b/package.json @@ -1,23 +1,21 @@ { "private": true, "scripts": { - "prepare": "preconstruct build", - "start": "yarn workspace docs start", - "build": "yarn workspace docs build", - "serve": "yarn workspace docs serve --port 8000", + "postinstall": "preconstruct dev", + "build": "preconstruct build", "clean": "lerna run clean && rimraf packages/*/{dist,rts2_cache*}", - "format": "prettier --write \"**/*.js{,on}\" \"**/*.md\" \"**/*.mdx\"", + "format": "prettier --write \"**/*.{ts,js,json}\" \"**/*.md\" \"**/*.mdx\"", "test": "jest", "typecheck": "tsc --noEmit", - "logo": "yarn workspace docs logo", - "dev:chrome": "yarn workspace @theme-ui/chrome dev", - "dev:editor": "yarn workspace @theme-ui/editor dev", "typecheck:tests": "tsc --noEmit -P ./tsconfig.test.json", + "logo": "yarn workspace docs logo", "release": "lerna publish from-package --dist-tag next --pre-dist-tag next", "prerelease": "yarn clean && yarn prepare && yarn typecheck && yarn test --coverage", - "dev:init": "preconstruct dev", - "bump-version-next": "lerna version prerelease --preid alpha", - "bump-version": "lerna version" + "version:bump-next": "lerna version prerelease --preid alpha", + "version:bump": "lerna version", + "docs:start": "yarn workspace docs start", + "docs:build": "yarn workspace docs build", + "docs:serve": "yarn workspace docs serve --port 8000" }, "workspaces": [ "packages/*" @@ -48,7 +46,7 @@ "rimraf": "^3.0.2", "babel-preset-gatsby": "^0.8.0", "@types/react-dom": "^17.0.0", - "@preconstruct/cli": "^1.1.27", + "@preconstruct/cli": "^2", "@emotion/jest": "^11.1.0" }, "husky": { @@ -62,5 +60,5 @@ "!packages/docs" ] }, - "name": "theme-ui" -} \ No newline at end of file + "name": "@theme-ui/monorepo" +} diff --git a/packages/color-modes/package.json b/packages/color-modes/package.json index 7a046d198..e57420ab0 100644 --- a/packages/color-modes/package.json +++ b/packages/color-modes/package.json @@ -1,8 +1,9 @@ { "name": "@theme-ui/color-modes", "version": "0.6.0-alpha.4", - "main": "dist/color-modes.cjs.js", - "module": "dist/color-modes.esm.js", + "main": "dist/theme-ui-color-modes.cjs.js", + "module": "dist/theme-ui-color-modes.esm.js", + "types": "dist/theme-ui-color-modes.cjs.d.ts", "source": "src/index.tsx", "sideEffects": false, "scripts": {}, @@ -24,4 +25,4 @@ "devDependencies": { "react": "^17.0.1" } -} \ No newline at end of file +} diff --git a/packages/color/package.json b/packages/color/package.json index 929a4efea..78057f764 100644 --- a/packages/color/package.json +++ b/packages/color/package.json @@ -2,8 +2,9 @@ "name": "@theme-ui/color", "version": "0.6.0-alpha.4", "source": "src/index.ts", - "main": "dist/color.cjs.js", - "module": "dist/color.esm.js", + "main": "dist/theme-ui-color.cjs.js", + "module": "dist/theme-ui-color.esm.js", + "types": "dist/theme-ui-color.cjs.d.ts", "scripts": {}, "dependencies": { "@theme-ui/css": "0.6.0-alpha.4", @@ -14,4 +15,4 @@ }, "license": "MIT", "gitHead": "87e9ebb0cc66d8a5e1fcde7bb60f2077266aa437" -} \ No newline at end of file +} diff --git a/packages/components/package.json b/packages/components/package.json index d12963672..b008d5154 100644 --- a/packages/components/package.json +++ b/packages/components/package.json @@ -1,8 +1,8 @@ { "name": "@theme-ui/components", "version": "0.6.0-alpha.4", - "main": "dist/components.cjs.js", - "module": "dist/components.esm.js", + "main": "dist/theme-ui-components.cjs.js", + "module": "dist/theme-ui-components.esm.js", "types": "index.d.ts", "sideEffects": false, "scripts": {}, @@ -27,4 +27,4 @@ "devDependencies": { "react": "^17.0.1" } -} \ No newline at end of file +} diff --git a/packages/core/jsx-dev-runtime/package.json b/packages/core/jsx-dev-runtime/package.json index c1ddbbd4e..1e17b0ffe 100644 --- a/packages/core/jsx-dev-runtime/package.json +++ b/packages/core/jsx-dev-runtime/package.json @@ -1,9 +1,9 @@ { "name": "@theme-ui/core-jsx-dev-runtime", "source": "../src/jsx-dev-runtime.ts", - "main": "dist/index.js", - "module": "dist/index.esm.js", - "types": "dist/jsx-dev-runtime.d.ts", + "main": "dist/theme-ui-core-jsx-dev-runtime.cjs.js", + "module": "dist/theme-ui-core-jsx-dev-runtime.esm.js", + "types": "dist/theme-ui-core-jsx-dev-runtime.d.ts", "dependencies": { "@emotion/react": "*", "@theme-ui/parse-props": "*", diff --git a/packages/core/jsx-runtime/package.json b/packages/core/jsx-runtime/package.json index bd75c07bd..15f9cc052 100644 --- a/packages/core/jsx-runtime/package.json +++ b/packages/core/jsx-runtime/package.json @@ -1,9 +1,9 @@ { "name": "@theme-ui/core-jsx-runtime", "source": "../src/jsx-runtime.ts", - "main": "dist/index.js", - "module": "dist/index.esm.js", - "types": "dist/jsx-runtime.d.ts", + "main": "dist/theme-ui-core-jsx-runtime.cjs.js", + "module": "dist/theme-ui-core-jsx-runtime.esm.js", + "types": "dist/theme-ui-core-jsx-runtime.d.ts", "dependencies": { "@emotion/react": "*", "@theme-ui/parse-props": "*", diff --git a/packages/core/package.json b/packages/core/package.json index 203e81881..b83e12c9a 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -2,15 +2,11 @@ "name": "@theme-ui/core", "version": "0.6.0-alpha.4", "source": "src/index.ts", - "main": "dist/core.cjs.js", - "module": "dist/core.esm.js", + "main": "dist/theme-ui-core.cjs.js", + "module": "dist/theme-ui-core.esm.js", + "types": "dist/theme-ui-core.cjs.d.ts", "sideEffects": false, - "scripts": { - "prepare": "yarn prepare:index && yarn prepare:jsx-runtime && yarn prepare:jsx-dev-runtime", - "prepare:jsx-runtime": "microbundle --no-compress --tsconfig tsconfig.json --cwd jsx-runtime", - "prepare:jsx-dev-runtime": "microbundle --no-compress --tsconfig tsconfig.json --cwd jsx-dev-runtime", - "prepare:index": "microbundle --no-compress --tsconfig tsconfig.json" - }, + "scripts": {}, "repository": "system-ui/theme-ui", "author": "Brent Jackson", "license": "MIT", @@ -29,5 +25,12 @@ "devDependencies": { "@types/react": "^17.0.0", "react": "^17.0.1" + }, + "preconstruct": { + "entrypoints": [ + "index.ts", + "jsx-dev-runtime.ts", + "jsx-runtime.ts" + ] } -} \ No newline at end of file +} diff --git a/packages/css/package.json b/packages/css/package.json index 050028c4b..b2191ec22 100644 --- a/packages/css/package.json +++ b/packages/css/package.json @@ -2,8 +2,8 @@ "name": "@theme-ui/css", "version": "0.6.0-alpha.4", "source": "src/index.ts", - "main": "dist/css.cjs.js", - "module": "dist/css.esm.js", + "main": "dist/theme-ui-css.cjs.js", + "module": "dist/theme-ui-css.esm.js", "sideEffects": false, "scripts": {}, "author": "Brent Jackson", @@ -16,4 +16,4 @@ "@emotion/react": "^11.1.1" }, "gitHead": "87e9ebb0cc66d8a5e1fcde7bb60f2077266aa437" -} \ No newline at end of file +} diff --git a/packages/custom-properties/package.json b/packages/custom-properties/package.json index 957692362..5d6a16f97 100644 --- a/packages/custom-properties/package.json +++ b/packages/custom-properties/package.json @@ -3,8 +3,8 @@ "description": "Generate CSS custom properties for use with Theme UI", "version": "0.6.0-alpha.4", "source": "src/index.ts", - "main": "dist/custom-properties.cjs.js", - "module": "dist/custom-properties.esm.js", + "main": "dist/theme-ui-custom-properties.cjs.js", + "module": "dist/theme-ui-custom-properties.esm.js", "author": "Alex Page ", "license": "MIT", "scripts": {}, @@ -19,4 +19,4 @@ "@types/pluralize": "^0.0.29" }, "gitHead": "87e9ebb0cc66d8a5e1fcde7bb60f2077266aa437" -} \ No newline at end of file +} diff --git a/packages/editor/package.json b/packages/editor/package.json index e87b749ac..863447b8b 100644 --- a/packages/editor/package.json +++ b/packages/editor/package.json @@ -1,8 +1,8 @@ { "name": "@theme-ui/editor", "version": "0.6.0-alpha.4", - "main": "dist/editor.cjs.js", - "module": "dist/editor.esm.js", + "main": "dist/theme-ui-editor.cjs.js", + "module": "dist/theme-ui-editor.esm.js", "author": "Brent Jackson", "license": "MIT", "scripts": {}, @@ -30,4 +30,4 @@ "react": "^17.0.1", "theme-ui": "0.6.0-alpha.4" } -} \ No newline at end of file +} diff --git a/packages/match-media/package.json b/packages/match-media/package.json index 57f4753b6..07d3eb732 100644 --- a/packages/match-media/package.json +++ b/packages/match-media/package.json @@ -3,8 +3,8 @@ "version": "0.6.0-alpha.4", "description": "React hooks for theme-ui breakpoints", "source": "src/index.ts", - "main": "dist/match-media.cjs.js", - "module": "dist/match-media.esm.js", + "main": "dist/theme-ui-match-media.cjs.js", + "module": "dist/theme-ui-match-media.esm.js", "author": "Brent Jackson ", "license": "MIT", "repository": "system-ui/theme-ui", @@ -23,4 +23,4 @@ "react": "^16.14.0 || ^17.0.0" }, "gitHead": "87e9ebb0cc66d8a5e1fcde7bb60f2077266aa437" -} \ No newline at end of file +} diff --git a/packages/mdx/package.json b/packages/mdx/package.json index d6d9d219c..78ba937ec 100644 --- a/packages/mdx/package.json +++ b/packages/mdx/package.json @@ -2,8 +2,8 @@ "name": "@theme-ui/mdx", "version": "0.6.0-alpha.4", "source": "src/index.ts", - "main": "dist/mdx.cjs.js", - "module": "dist/mdx.esm.js", + "main": "dist/theme-ui-mdx.cjs.js", + "module": "dist/theme-ui-mdx.esm.js", "sideEffects": false, "scripts": {}, "dependencies": { @@ -26,4 +26,4 @@ "access": "public" }, "gitHead": "87e9ebb0cc66d8a5e1fcde7bb60f2077266aa437" -} \ No newline at end of file +} diff --git a/packages/parse-props/package.json b/packages/parse-props/package.json index 404562c36..d8b484030 100644 --- a/packages/parse-props/package.json +++ b/packages/parse-props/package.json @@ -1,9 +1,10 @@ { "name": "@theme-ui/parse-props", + "description": "internal package", "version": "0.6.0-alpha.4", "source": "src/index.ts", - "main": "dist/index.js", - "module": "dist/index.esm.js", + "main": "dist/theme-ui-parse-props.cjs.js", + "module": "dist/theme-ui-parse-props.esm.js", "types": "dist/index.d.ts", "sideEffects": false, "scripts": { diff --git a/packages/preset-base/package.json b/packages/preset-base/package.json index 1cdd5fb47..2b25ca690 100644 --- a/packages/preset-base/package.json +++ b/packages/preset-base/package.json @@ -1,8 +1,8 @@ { "name": "@theme-ui/preset-base", "version": "0.6.0-alpha.4", - "main": "dist/preset-base.cjs.js", - "module": "dist/preset-base.esm.js", + "main": "dist/theme-ui-preset-base.cjs.js", + "module": "dist/theme-ui-preset-base.esm.js", "author": "Brent Jackson", "license": "MIT", "repository": "system-ui/theme-ui", @@ -11,4 +11,4 @@ "publishConfig": { "access": "public" } -} \ No newline at end of file +} diff --git a/packages/preset-bootstrap/package.json b/packages/preset-bootstrap/package.json index b734b09b7..9e7a06365 100644 --- a/packages/preset-bootstrap/package.json +++ b/packages/preset-bootstrap/package.json @@ -1,8 +1,8 @@ { "name": "@theme-ui/preset-bootstrap", "version": "0.6.0-alpha.4", - "main": "dist/preset-bootstrap.cjs.js", - "module": "dist/preset-bootstrap.esm.js", + "main": "dist/theme-ui-preset-bootstrap.cjs.js", + "module": "dist/theme-ui-preset-bootstrap.esm.js", "source": "src/index.ts", "author": "Brent Jackson", "license": "MIT", @@ -10,4 +10,4 @@ "publishConfig": { "access": "public" } -} \ No newline at end of file +} diff --git a/packages/preset-bulma/package.json b/packages/preset-bulma/package.json index da78bea1a..79d228371 100644 --- a/packages/preset-bulma/package.json +++ b/packages/preset-bulma/package.json @@ -1,8 +1,8 @@ { "name": "@theme-ui/preset-bulma", "version": "0.6.0-alpha.4", - "main": "dist/preset-bulma.cjs.js", - "module": "dist/preset-bulma.esm.js", + "main": "dist/theme-ui-preset-bulma.cjs.js", + "module": "dist/theme-ui-preset-bulma.esm.js", "source": "src/index.ts", "author": "Brent Jackson", "license": "MIT", @@ -13,4 +13,4 @@ "publishConfig": { "access": "public" } -} \ No newline at end of file +} diff --git a/packages/preset-dark/package.json b/packages/preset-dark/package.json index 1e6c23f00..01326015f 100644 --- a/packages/preset-dark/package.json +++ b/packages/preset-dark/package.json @@ -1,8 +1,8 @@ { "name": "@theme-ui/preset-dark", "version": "0.6.0-alpha.4", - "main": "dist/preset-dark.cjs.js", - "module": "dist/preset-dark.esm.js", + "main": "dist/theme-ui-preset-dark.cjs.js", + "module": "dist/theme-ui-preset-dark.esm.js", "source": "src/index.ts", "author": "Brent Jackson", "license": "MIT", @@ -10,4 +10,4 @@ "publishConfig": { "access": "public" } -} \ No newline at end of file +} diff --git a/packages/preset-deep/package.json b/packages/preset-deep/package.json index 52f590546..0b0364a9e 100644 --- a/packages/preset-deep/package.json +++ b/packages/preset-deep/package.json @@ -1,8 +1,8 @@ { "name": "@theme-ui/preset-deep", "version": "0.6.0-alpha.4", - "main": "dist/preset-deep.cjs.js", - "module": "dist/preset-deep.esm.js", + "main": "dist/theme-ui-preset-deep.cjs.js", + "module": "dist/theme-ui-preset-deep.esm.js", "source": "src/index.ts", "author": "Brent Jackson", "license": "MIT", @@ -10,4 +10,4 @@ "publishConfig": { "access": "public" } -} \ No newline at end of file +} diff --git a/packages/preset-funk/package.json b/packages/preset-funk/package.json index 26c4a6991..c034e065d 100644 --- a/packages/preset-funk/package.json +++ b/packages/preset-funk/package.json @@ -1,8 +1,8 @@ { "name": "@theme-ui/preset-funk", "version": "0.6.0-alpha.4", - "main": "dist/preset-funk.cjs.js", - "module": "dist/preset-funk.esm.js", + "main": "dist/theme-ui-preset-funk.cjs.js", + "module": "dist/theme-ui-preset-funk.esm.js", "source": "src/index.ts", "author": "Brent Jackson", "license": "MIT", @@ -13,4 +13,4 @@ "publishConfig": { "access": "public" } -} \ No newline at end of file +} diff --git a/packages/preset-future/package.json b/packages/preset-future/package.json index 552fd5380..82bbca5d9 100644 --- a/packages/preset-future/package.json +++ b/packages/preset-future/package.json @@ -1,8 +1,8 @@ { "name": "@theme-ui/preset-future", "version": "0.6.0-alpha.4", - "main": "dist/preset-future.cjs.js", - "module": "dist/preset-future.esm.js", + "main": "dist/theme-ui-preset-future.cjs.js", + "module": "dist/theme-ui-preset-future.esm.js", "source": "src/index.ts", "author": "Brent Jackson", "license": "MIT", @@ -13,4 +13,4 @@ "publishConfig": { "access": "public" } -} \ No newline at end of file +} diff --git a/packages/preset-polaris/package.json b/packages/preset-polaris/package.json index 6e9c3f294..4ffd30ea8 100644 --- a/packages/preset-polaris/package.json +++ b/packages/preset-polaris/package.json @@ -1,8 +1,8 @@ { "name": "@theme-ui/preset-polaris", "version": "0.6.0-alpha.4", - "main": "dist/preset-polaris.cjs.js", - "module": "dist/preset-polaris.esm.js", + "main": "dist/theme-ui-preset-polaris.cjs.js", + "module": "dist/theme-ui-preset-polaris.esm.js", "source": "src/index.ts", "author": "Yuraima Estevez", "license": "MIT", @@ -13,4 +13,4 @@ "publishConfig": { "access": "public" } -} \ No newline at end of file +} diff --git a/packages/preset-roboto/package.json b/packages/preset-roboto/package.json index 2d45cb0ea..9e0f5edd6 100644 --- a/packages/preset-roboto/package.json +++ b/packages/preset-roboto/package.json @@ -1,8 +1,8 @@ { "name": "@theme-ui/preset-roboto", "version": "0.6.0-alpha.4", - "main": "dist/preset-roboto.cjs.js", - "module": "dist/preset-roboto.esm.js", + "main": "dist/theme-ui-preset-roboto.cjs.js", + "module": "dist/theme-ui-preset-roboto.esm.js", "source": "src/index.ts", "author": "Brent Jackson", "license": "MIT", @@ -13,4 +13,4 @@ "publishConfig": { "access": "public" } -} \ No newline at end of file +} diff --git a/packages/preset-sketchy/package.json b/packages/preset-sketchy/package.json index a7244cb56..e719bb01d 100644 --- a/packages/preset-sketchy/package.json +++ b/packages/preset-sketchy/package.json @@ -1,8 +1,8 @@ { "name": "@theme-ui/preset-sketchy", "version": "0.6.0-alpha.4", - "main": "dist/preset-sketchy.cjs.js", - "module": "dist/preset-sketchy.esm.js", + "main": "dist/theme-ui-preset-sketchy.cjs.js", + "module": "dist/theme-ui-preset-sketchy.esm.js", "source": "src/index.ts", "author": "Aleksandra Sikora", "license": "MIT", @@ -14,4 +14,4 @@ "@theme-ui/css": "0.6.0-alpha.4" }, "gitHead": "87e9ebb0cc66d8a5e1fcde7bb60f2077266aa437" -} \ No newline at end of file +} diff --git a/packages/preset-swiss/package.json b/packages/preset-swiss/package.json index 558eeb6ee..93956292f 100644 --- a/packages/preset-swiss/package.json +++ b/packages/preset-swiss/package.json @@ -1,8 +1,8 @@ { "name": "@theme-ui/preset-swiss", "version": "0.6.0-alpha.4", - "main": "dist/preset-swiss.cjs.js", - "module": "dist/preset-swiss.esm.js", + "main": "dist/theme-ui-preset-swiss.cjs.js", + "module": "dist/theme-ui-preset-swiss.esm.js", "source": "src/index.ts", "author": "Brent Jackson", "license": "MIT", @@ -10,4 +10,4 @@ "publishConfig": { "access": "public" } -} \ No newline at end of file +} diff --git a/packages/preset-system/package.json b/packages/preset-system/package.json index e6c854c6b..e7f54e1a9 100644 --- a/packages/preset-system/package.json +++ b/packages/preset-system/package.json @@ -1,8 +1,8 @@ { "name": "@theme-ui/preset-system", "version": "0.6.0-alpha.4", - "main": "dist/preset-system.cjs.js", - "module": "dist/preset-system.esm.js", + "main": "dist/theme-ui-preset-system.cjs.js", + "module": "dist/theme-ui-preset-system.esm.js", "source": "src/index.ts", "author": "Brent Jackson", "license": "MIT", @@ -10,4 +10,4 @@ "publishConfig": { "access": "public" } -} \ No newline at end of file +} diff --git a/packages/preset-tailwind/package.json b/packages/preset-tailwind/package.json index 74c5a9082..8132f9a7d 100644 --- a/packages/preset-tailwind/package.json +++ b/packages/preset-tailwind/package.json @@ -1,8 +1,8 @@ { "name": "@theme-ui/preset-tailwind", "version": "0.6.0-alpha.4", - "main": "dist/preset-tailwind.cjs.js", - "module": "dist/preset-tailwind.esm.js", + "main": "dist/theme-ui-preset-tailwind.cjs.js", + "module": "dist/theme-ui-preset-tailwind.esm.js", "source": "src/index.ts", "author": "Brent Jackson", "license": "MIT", @@ -10,4 +10,4 @@ "publishConfig": { "access": "public" } -} \ No newline at end of file +} diff --git a/packages/preset-tosh/package.json b/packages/preset-tosh/package.json index 047c9a8b2..d97ff5eff 100644 --- a/packages/preset-tosh/package.json +++ b/packages/preset-tosh/package.json @@ -1,8 +1,8 @@ { "name": "@theme-ui/preset-tosh", "version": "0.6.0-alpha.4", - "main": "dist/preset-tosh.cjs.js", - "module": "dist/preset-tosh.esm.js", + "main": "dist/theme-ui-preset-tosh.cjs.js", + "module": "dist/theme-ui-preset-tosh.esm.js", "source": "src/index.ts", "author": "John Otander", "license": "MIT", @@ -11,4 +11,4 @@ "publishConfig": { "access": "public" } -} \ No newline at end of file +} diff --git a/packages/presets/package.json b/packages/presets/package.json index f84243625..6b9e17fee 100644 --- a/packages/presets/package.json +++ b/packages/presets/package.json @@ -1,8 +1,8 @@ { "name": "@theme-ui/presets", "version": "0.6.0-alpha.4", - "main": "dist/presets.cjs.js", - "module": "dist/presets.esm.js", + "main": "dist/theme-ui-presets.cjs.js", + "module": "dist/theme-ui-presets.esm.js", "source": "src/index.ts", "author": "Brent Jackson", "license": "MIT", @@ -35,4 +35,4 @@ ], "repository": "system-ui/theme-ui", "gitHead": "87e9ebb0cc66d8a5e1fcde7bb60f2077266aa437" -} \ No newline at end of file +} diff --git a/packages/prism/package.json b/packages/prism/package.json index e0fda67d2..27a548af2 100644 --- a/packages/prism/package.json +++ b/packages/prism/package.json @@ -1,8 +1,8 @@ { "name": "@theme-ui/prism", "version": "0.6.0-alpha.4", - "main": "dist/prism.cjs.js", - "module": "dist/prism.esm.js", + "main": "dist/theme-ui-prism.cjs.js", + "module": "dist/theme-ui-prism.esm.js", "source": "src/index.tsx", "author": "John Otander", "license": "MIT", @@ -35,4 +35,4 @@ "theme-ui": "0.6.0-alpha.4", "param-case": "^3.0.3" } -} \ No newline at end of file +} diff --git a/packages/sidenav/package.json b/packages/sidenav/package.json index be6695db8..75e63990b 100644 --- a/packages/sidenav/package.json +++ b/packages/sidenav/package.json @@ -1,8 +1,8 @@ { "name": "@theme-ui/sidenav", "version": "0.6.0-alpha.4", - "main": "dist/sidenav.cjs.js", - "module": "dist/sidenav.esm.js", + "main": "dist/theme-ui-sidenav.cjs.js", + "module": "dist/theme-ui-sidenav.esm.js", "sideEffects": false, "license": "MIT", "scripts": {}, @@ -32,4 +32,4 @@ ], "repository": "system-ui/theme-ui", "gitHead": "87e9ebb0cc66d8a5e1fcde7bb60f2077266aa437" -} \ No newline at end of file +} diff --git a/packages/style-guide/package.json b/packages/style-guide/package.json index 4350b3892..011af5719 100644 --- a/packages/style-guide/package.json +++ b/packages/style-guide/package.json @@ -1,8 +1,8 @@ { "name": "@theme-ui/style-guide", "version": "0.6.0-alpha.4", - "main": "dist/style-guide.cjs.js", - "module": "dist/style-guide.esm.js", + "main": "dist/theme-ui-style-guide.cjs.js", + "module": "dist/theme-ui-style-guide.esm.js", "source": "src/index.ts", "author": "Brent Jackson", "license": "MIT", @@ -25,4 +25,4 @@ "access": "public" }, "gitHead": "87e9ebb0cc66d8a5e1fcde7bb60f2077266aa437" -} \ No newline at end of file +} diff --git a/packages/tachyons/package.json b/packages/tachyons/package.json index f1a24ad7f..600799a1a 100644 --- a/packages/tachyons/package.json +++ b/packages/tachyons/package.json @@ -2,8 +2,8 @@ "name": "@theme-ui/tachyons", "description": "Generate static CSS for use outside of React with Theme UI and Tachyons", "version": "0.6.0-alpha.4", - "main": "dist/tachyons.cjs.js", - "module": "dist/tachyons.esm.js", + "main": "dist/theme-ui-tachyons.cjs.js", + "module": "dist/theme-ui-tachyons.esm.js", "source": "src/index.ts", "author": "John Otander ", "license": "MIT", @@ -29,4 +29,4 @@ ], "repository": "system-ui/theme-ui", "gitHead": "87e9ebb0cc66d8a5e1fcde7bb60f2077266aa437" -} \ No newline at end of file +} diff --git a/packages/tailwind/package.json b/packages/tailwind/package.json index 4f51771ee..83b906dbb 100644 --- a/packages/tailwind/package.json +++ b/packages/tailwind/package.json @@ -2,8 +2,8 @@ "name": "@theme-ui/tailwind", "description": "Generate static CSS for use outside of React with Theme UI and Tailwind.css", "version": "0.6.0-alpha.4", - "main": "dist/tailwind.cjs.js", - "module": "dist/tailwind.esm.js", + "main": "dist/theme-ui-tailwind.cjs.js", + "module": "dist/theme-ui-tailwind.esm.js", "source": "src/index.ts", "author": "John Otander ", "license": "MIT", @@ -27,4 +27,4 @@ ], "repository": "system-ui/theme-ui", "gitHead": "87e9ebb0cc66d8a5e1fcde7bb60f2077266aa437" -} \ No newline at end of file +} diff --git a/packages/test-utils/package.json b/packages/test-utils/package.json index 41226f953..d85ea496b 100644 --- a/packages/test-utils/package.json +++ b/packages/test-utils/package.json @@ -4,12 +4,12 @@ "private": true, "license": "MIT", "source": "src/index.ts", - "main": "dist/index.js", - "module": "dist/index.js", + "main": "dist/theme-ui-test-utils.cjs.js", + "module": "dist/theme-ui-test-utils.esm.js", "types": "dist/index.d.ts", "sideEffects": false, "scripts": { - "prepare": "tsc", + "build": "tsc", "watch": "tsc -w", "typecheck": "tsc --noEmit" }, diff --git a/packages/theme-provider/package.json b/packages/theme-provider/package.json index 037b7c4d9..d7081f62f 100644 --- a/packages/theme-provider/package.json +++ b/packages/theme-provider/package.json @@ -1,8 +1,8 @@ { "name": "@theme-ui/theme-provider", "version": "0.6.0-alpha.4", - "main": "dist/theme-provider.cjs.js", - "module": "dist/theme-provider.esm.js", + "main": "dist/theme-ui-theme-provider.cjs.js", + "module": "dist/theme-ui-theme-provider.esm.js", "source": "src/index.ts", "sideEffects": false, "scripts": {}, @@ -24,4 +24,4 @@ "access": "public" }, "gitHead": "87e9ebb0cc66d8a5e1fcde7bb60f2077266aa437" -} \ No newline at end of file +} diff --git a/packages/theme-ui/package.json b/packages/theme-ui/package.json index 5de109529..d2aade036 100644 --- a/packages/theme-ui/package.json +++ b/packages/theme-ui/package.json @@ -5,6 +5,7 @@ "source": "src/index.ts", "main": "dist/theme-ui.cjs.js", "module": "dist/theme-ui.esm.js", + "types": "dist/theme-ui.cjs.d.ts", "sideEffects": false, "author": "Brent Jackson ", "license": "MIT", @@ -35,4 +36,4 @@ "css-in-js" ], "gitHead": "87e9ebb0cc66d8a5e1fcde7bb60f2077266aa437" -} \ No newline at end of file +} diff --git a/packages/typography/package.json b/packages/typography/package.json index 8051c690a..aa6e8f9e1 100644 --- a/packages/typography/package.json +++ b/packages/typography/package.json @@ -1,8 +1,8 @@ { "name": "@theme-ui/typography", "version": "0.6.0-alpha.4", - "main": "dist/typography.cjs.js", - "module": "dist/typography.esm.js", + "main": "dist/theme-ui-typography.cjs.js", + "module": "dist/theme-ui-typography.esm.js", "source": "src/index.ts", "author": "Brent Jackson ", "license": "MIT", @@ -67,4 +67,4 @@ ], "repository": "system-ui/theme-ui", "gitHead": "87e9ebb0cc66d8a5e1fcde7bb60f2077266aa437" -} \ No newline at end of file +} diff --git a/yarn.lock b/yarn.lock index 8f89c64a2..967594cf0 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2707,10 +2707,10 @@ resolved "https://registry.yarnpkg.com/@popperjs/core/-/core-2.5.4.tgz#de25b5da9f727985a3757fd59b5d028aba75841a" integrity sha512-ZpKr+WTb8zsajqgDkvCEWgp6d5eJT6Q63Ng2neTbzBO76Lbe91vX/iVIW9dikq+Fs3yEo+ls4cxeXABD2LtcbQ== -"@preconstruct/cli@^1.1.27": - version "1.1.34" - resolved "https://registry.yarnpkg.com/@preconstruct/cli/-/cli-1.1.34.tgz#092416a936c4915777fa4560c2bcb16fb1f274cc" - integrity sha512-yrKUxDzHskWqcyLqhUFQpxkvKo+xnpkMmXso0c/u6AKn9dvTSbcBx7fdcMshDk5tzW1nR+M/xn0Eb+CtLcGT7w== +"@preconstruct/cli@^2": + version "2.0.1" + resolved "https://registry.yarnpkg.com/@preconstruct/cli/-/cli-2.0.1.tgz#9b59f5bd89ca151ad7c59082553cfc0e6eb70ad6" + integrity sha512-31oc5pta1WiKOGHmwhOIoVxyq84u9o0ng3DxrxFsFmt6ymHCUHEKcpz0F4uff6j8o3nnhrrj+b0fUr8trCE+pw== dependencies: "@babel/code-frame" "^7.5.5" "@babel/core" "^7.7.7" @@ -2729,14 +2729,13 @@ enquirer "^2.3.6" estree-walker "^2.0.1" fast-deep-equal "^2.0.1" + fast-glob "^3.2.4" fs-extra "^9.0.1" - globby "^11.0.1" is-ci "^2.0.0" is-reference "^1.2.1" jest-worker "^26.3.0" magic-string "^0.25.7" meow "^7.1.0" - micromatch "^4.0.2" ms "^2.1.2" normalize-path "^3.0.0" npm-packlist "^2.1.2" @@ -8128,7 +8127,7 @@ fast-glob@^2.2.6: merge2 "^1.2.3" micromatch "^3.1.10" -fast-glob@^3.0.3, fast-glob@^3.1.1: +fast-glob@^3.0.3, fast-glob@^3.1.1, fast-glob@^3.2.4: version "3.2.4" resolved "https://registry.yarnpkg.com/fast-glob/-/fast-glob-3.2.4.tgz#d20aefbf99579383e7f3cc66529158c9b98554d3" integrity sha512-kr/Oo6PX51265qeuCYsyGypiO5uJFgBS0jksyG7FUeCyQzNwYnzrNIMR1NXfkZXsMYXYLRAHgISHBz8gQcxKHQ== From 530c7a7f552a4b9a32f9db527f472d8ab9883564 Mon Sep 17 00:00:00 2001 From: Lachlan Campbell Date: Thu, 7 Jan 2021 19:34:56 +0000 Subject: [PATCH 052/377] Begin moving theme config options --- packages/color-modes/src/custom-properties.ts | 19 +++-- packages/color-modes/src/index.tsx | 20 ++--- .../color-modes/test/custom-properties.tsx | 18 +++-- packages/color-modes/test/index.tsx | 46 ++++++++--- packages/core/test/index.tsx | 8 +- packages/css/src/types.ts | 76 ++++++++++--------- packages/editor/test/EditorProvider.tsx | 4 +- .../gatsby-plugin-theme-ui/test/provider.js | 2 +- packages/preset-system/src/index.ts | 8 +- packages/preset-tosh/src/index.ts | 8 +- packages/theme-provider/src/index.ts | 9 +-- packages/theme-provider/test/index.tsx | 24 ++++-- packages/theme-ui/test/color-modes.tsx | 40 +++++++--- packages/theme-ui/test/index.tsx | 8 +- 14 files changed, 189 insertions(+), 101 deletions(-) diff --git a/packages/color-modes/src/custom-properties.ts b/packages/color-modes/src/custom-properties.ts index 859819284..4fa8ebd87 100644 --- a/packages/color-modes/src/custom-properties.ts +++ b/packages/color-modes/src/custom-properties.ts @@ -70,8 +70,19 @@ export const objectToVars = (parent: string, obj: Record) => { // create body styles for color modes export const createColorStyles = (theme: Theme = {}) => { - if (!theme.colors || theme.useBodyStyles === false) return {} - if (theme.useCustomProperties === false || !theme.colors.modes) { + const { + colors = {}, + colors: { modes = {} } = {}, + config: { + useBodyStyles, + useCustomProperties, + initialColorModeName, + printColorModeName, + } = {}, + } = theme + + if (!colors || useBodyStyles === false) return {} + if (useCustomProperties === false || !modes) { return css({ body: { color: 'text', @@ -79,10 +90,8 @@ export const createColorStyles = (theme: Theme = {}) => { }, })(theme) } - const { colors, initialColorModeName, printColorModeName } = theme - const modes = colors.modes || {} - const styles = objectToVars('colors', colors) + const styles = objectToVars('colors', colors) Object.keys(modes).forEach((mode) => { const key = `&.theme-ui-${mode}` styles[key] = objectToVars('colors', modes[mode]) diff --git a/packages/color-modes/src/index.tsx b/packages/color-modes/src/index.tsx index 9556c3443..416e809d4 100644 --- a/packages/color-modes/src/index.tsx +++ b/packages/color-modes/src/index.tsx @@ -53,14 +53,15 @@ const getPreferredColorScheme = (): 'dark' | 'light' | null => { const useColorModeState = (theme: Theme = {}) => { const [mode, setMode] = React.useState(() => { const preferredMode = - theme.useColorSchemeMediaQuery !== false && getPreferredColorScheme() + theme.config?.useColorSchemeMediaQuery !== false && + getPreferredColorScheme() - return preferredMode || theme.initialColorModeName || 'default' + return preferredMode || theme.config?.initialColorModeName || 'default' }) // read color mode from local storage React.useEffect(() => { - const stored = theme.useLocalStorage !== false && storage.get() + const stored = theme.config?.useLocalStorage !== false && storage.get() document.body.classList.remove('theme-ui-' + stored) if (stored && stored !== mode) { @@ -69,17 +70,18 @@ const useColorModeState = (theme: Theme = {}) => { }, []) React.useEffect(() => { - if (mode && theme.useLocalStorage !== false) { + if (mode && theme.config?.useLocalStorage !== false) { storage.set(mode) } }, [mode]) if (process.env.NODE_ENV !== 'production') { if ( - theme.colors && - theme.colors.modes && - theme.initialColorModeName && - Object.keys(theme.colors.modes).indexOf(theme.initialColorModeName) > -1 + theme.colors?.modes && + theme.config?.initialColorModeName && + Object.keys(theme.colors.modes).indexOf( + theme.config?.initialColorModeName + ) > -1 ) { console.warn( 'The `initialColorModeName` value should be a unique name' + @@ -129,7 +131,7 @@ export const ColorModeProvider: React.FC = ({ children }) => { const theme = applyColorMode(outer.theme || {}, colorMode) const emotionTheme = { ...theme } - if (theme.useCustomProperties !== false) { + if (theme.config?.useCustomProperties !== false) { emotionTheme.colors = toCustomProperties(emotionTheme.colors, 'colors') } diff --git a/packages/color-modes/test/custom-properties.tsx b/packages/color-modes/test/custom-properties.tsx index 354311dab..0fb219fa1 100644 --- a/packages/color-modes/test/custom-properties.tsx +++ b/packages/color-modes/test/custom-properties.tsx @@ -3,7 +3,9 @@ import { toCustomProperties, createColorStyles } from '../src/custom-properties' describe('toCustomProperties', () => { test('converts theme object to custom properties', () => { const result = toCustomProperties({ - initialColorModeName: 'light', + config: { + initialColorModeName: 'light', + }, colors: { text: 'black', }, @@ -16,7 +18,9 @@ describe('toCustomProperties', () => { }, }) expect(result).toEqual({ - initialColorModeName: 'light', + config: { + initialColorModeName: 'light', + }, colors: { text: 'var(--theme-ui-colors-text, black)', }, @@ -73,7 +77,9 @@ describe('createColorStyles', () => { test('creates styles for print color mode', () => { const styles = createColorStyles({ - printColorModeName: 'light', + config: { + printColorModeName: 'light', + }, colors: { text: 'white', background: 'tomato', @@ -105,8 +111,10 @@ describe('createColorStyles', () => { test('creates styles for initial print color mode', () => { const styles = createColorStyles({ - initialColorModeName: 'tomato', - printColorModeName: 'tomato', + config: { + initialColorModeName: 'tomato', + printColorModeName: 'tomato', + }, colors: { text: 'tomato', background: 'white', diff --git a/packages/color-modes/test/index.tsx b/packages/color-modes/test/index.tsx index a27f73c84..4ea43f664 100644 --- a/packages/color-modes/test/index.tsx +++ b/packages/color-modes/test/index.tsx @@ -59,7 +59,9 @@ test('renders with initial color mode name', () => { renderer.create( { const tree = render( @@ -312,20 +315,20 @@ describe('colors inside ThemeProvider', () => { }, } - type MyTheme = typeof theme + type MyTheme = typeof theme & { rawColors: typeof theme.colors } const tree = render(

- lighten((theme as MyTheme).colors.blue.__default, 0.1)(theme), + lighten((theme as MyTheme).rawColors.blue.__default, 0.1)(theme), }}> Hello

diff --git a/packages/core/src/index.ts b/packages/core/src/index.ts index ff7cb312c..190ea8b10 100644 --- a/packages/core/src/index.ts +++ b/packages/core/src/index.ts @@ -33,7 +33,6 @@ export type { VariantProperty, } from '@theme-ui/css' - export { __internalGetUseRootStyles } from '@theme-ui/css' export * from './types' @@ -65,12 +64,12 @@ export declare namespace jsx { } } -export interface ContextValue { +export interface ThemeUIContextValue { __EMOTION_VERSION__: string theme: Theme } -export const Context = React.createContext({ +export const Context = React.createContext({ __EMOTION_VERSION__, theme: {}, }) @@ -110,7 +109,7 @@ function mergeAll(...args: Partial[]) { merge.all = mergeAll interface BaseProviderProps { - context: ContextValue + context: ThemeUIContextValue } const BaseProvider: React.FC = ({ context, children }) => jsx( diff --git a/packages/core/test/index.tsx b/packages/core/test/index.tsx index 019df5387..39e70f457 100644 --- a/packages/core/test/index.tsx +++ b/packages/core/test/index.tsx @@ -9,7 +9,8 @@ import { useThemeUI, merge, ThemeProvider, - ContextValue, + ThemeUIContextValue, + Theme, } from '../src' afterEach(cleanup) @@ -96,13 +97,13 @@ describe('ThemeProvider', () => { }) test('variants support functional values', () => { - const theme = { + const theme: Theme = { colors: { primary: 'tomato', }, cards: { default: { - border: (t) => `1px solid ${t.colors.primary}`, + border: (t) => `1px solid ${t.colors!.primary}`, }, }, } @@ -333,7 +334,7 @@ describe('merge', () => { describe('useThemeUI', () => { test('returns theme context', () => { - let context: ContextValue | undefined + let context: ThemeUIContextValue | undefined const GetContext = () => { context = useThemeUI() return null diff --git a/packages/editor/test/Theme.tsx b/packages/editor/test/Theme.tsx index 71c4b9183..25a0627c5 100644 --- a/packages/editor/test/Theme.tsx +++ b/packages/editor/test/Theme.tsx @@ -1,13 +1,13 @@ import React from 'react' -import renderer from 'react-test-renderer' import { render, fireEvent, cleanup, waitForElement, } from '@testing-library/react' -import { ThemeProvider, useThemeUI, Context } from 'theme-ui' +import { useThemeUI, ContextValue, Context } from 'theme-ui' import { EditorProvider, Theme } from '../src' +import { ThemeUIContextValue } from '@theme-ui/core' afterEach(cleanup) @@ -51,8 +51,8 @@ const theme = { } test('edits theme.colors', async () => { - let context - const GetContext = props => { + let context: ThemeUIContextValue + const GetContext = () => { context = useThemeUI() return null } @@ -72,11 +72,11 @@ test('edits theme.colors', async () => { value: '#ff0000', }, }) - expect(context.theme.colors.text).toBe('#ff0000') + expect(context!.theme!.colors!.text).toBe('#ff0000') }) test('edits theme.colors within a color mode', async () => { - let context + let context: ThemeUIContextValue const GetContext = () => { context = useThemeUI() return null @@ -100,11 +100,11 @@ test('edits theme.colors within a color mode', async () => { value: '#ff0000', }, }) - expect(context.theme.colors.modes.dark.text).toBe('#ff0000') + expect(context!.theme!.colors!.modes!.dark.text).toBe('#ff0000') }) test('edits theme.fontSizes', async () => { - let context + let context: ThemeUIContextValue const GetContext = () => { context = useThemeUI() return null @@ -121,12 +121,12 @@ test('edits theme.fontSizes', async () => { value: '11', }, }) - expect(context.theme.fontSizes[0]).toBe(11) + expect(context!.theme!.fontSizes![0]).toBe(11) }) test('supports non-array theme.fontSizes objects', async () => { - let context - const GetContext = props => { + let context: any + const GetContext = () => { context = useThemeUI() return null } @@ -149,12 +149,12 @@ test('supports non-array theme.fontSizes objects', async () => { value: '11', }, }) - expect(context.theme.fontSizes.small).toBe(11) + expect(context!.theme!.fontSizes!.small!).toBe(11) }) test('renders without a theme', () => { - let context - const GetContext = props => { + let context: ThemeUIContextValue + const GetContext = () => { context = useThemeUI() return null } @@ -168,12 +168,12 @@ test('renders without a theme', () => { ) - expect(context.theme).toEqual({}) + expect(context!.theme).toEqual({}) }) test('edits theme.fontWeights', async () => { - let context - const GetContext = props => { + let context: any + const GetContext = () => { context = useThemeUI() return null } @@ -193,8 +193,8 @@ test('edits theme.fontWeights', async () => { }) test('edits theme.lineHeights', async () => { - let context - const GetContext = props => { + let context: any + const GetContext = () => { context = useThemeUI() return null } @@ -214,8 +214,8 @@ test('edits theme.lineHeights', async () => { }) test('edits theme.fonts', async () => { - let context - const GetContext = props => { + let context: any + const GetContext = () => { context = useThemeUI() return null } @@ -236,8 +236,8 @@ test('edits theme.fonts', async () => { }) test('edits theme.space', async () => { - let context - const GetContext = props => { + let context: any + const GetContext = () => { context = useThemeUI() return null } @@ -253,13 +253,13 @@ test('edits theme.space', async () => { value: '2', }, }) - expect(context.theme.space[0]).toBe(2) - expect(context.theme.space[1]).toBe(4) + expect(context!.theme.space[0]).toBe(2) + expect(context!.theme.space[1]).toBe(4) }) test('supports non-array theme.space objects', async () => { - let context - const GetContext = props => { + let context: any + const GetContext = () => { context = useThemeUI() return null } @@ -282,5 +282,5 @@ test('supports non-array theme.space objects', async () => { value: '3', }, }) - expect(context.theme.space.small).toBe(3) + expect(context!.theme.space.small).toBe(3) }) From 8433b4eff1b8bb61575dc48019c4bd30d7ea8697 Mon Sep 17 00:00:00 2001 From: hasparus Date: Sat, 20 Mar 2021 20:51:09 +0100 Subject: [PATCH 098/377] feat(types): rename ContextValue to ThemeUIContextValue --- packages/docs/src/pages/guides/typescript.mdx | 4 ++-- packages/editor/src/types.ts | 4 ++-- packages/editor/test/Theme.tsx | 3 +-- packages/theme-ui/src/index.ts | 2 +- packages/theme-ui/test/color-modes.tsx | 4 ++-- 5 files changed, 8 insertions(+), 9 deletions(-) diff --git a/packages/docs/src/pages/guides/typescript.mdx b/packages/docs/src/pages/guides/typescript.mdx index c840c7139..5588c5dd3 100644 --- a/packages/docs/src/pages/guides/typescript.mdx +++ b/packages/docs/src/pages/guides/typescript.mdx @@ -45,9 +45,9 @@ const lightBlue = theme.colors.blue.light You can then reexport `useThemeUI` hook with narrowed type. ```tsx -import { ContextValue } from 'theme-ui' +import { ThemeUIContextValue } from 'theme-ui' -interface ExactContextValue extends Omit { +interface ExactContextValue extends Omit { theme: ExactTheme } diff --git a/packages/editor/src/types.ts b/packages/editor/src/types.ts index a64800067..22eeb7450 100644 --- a/packages/editor/src/types.ts +++ b/packages/editor/src/types.ts @@ -1,5 +1,5 @@ -import { Theme, ContextValue } from 'theme-ui' +import { Theme, ThemeUIContextValue } from 'theme-ui' -export interface EditorContextValue extends ContextValue { +export interface EditorContextValue extends ThemeUIContextValue { setTheme: React.Dispatch } diff --git a/packages/editor/test/Theme.tsx b/packages/editor/test/Theme.tsx index 25a0627c5..64a048e4f 100644 --- a/packages/editor/test/Theme.tsx +++ b/packages/editor/test/Theme.tsx @@ -5,9 +5,8 @@ import { cleanup, waitForElement, } from '@testing-library/react' -import { useThemeUI, ContextValue, Context } from 'theme-ui' +import { useThemeUI, ThemeUIContextValue, Context } from 'theme-ui' import { EditorProvider, Theme } from '../src' -import { ThemeUIContextValue } from '@theme-ui/core' afterEach(cleanup) diff --git a/packages/theme-ui/src/index.ts b/packages/theme-ui/src/index.ts index 92a97a6cb..4dc1fc304 100644 --- a/packages/theme-ui/src/index.ts +++ b/packages/theme-ui/src/index.ts @@ -1,7 +1,7 @@ import { jsx as coreJsx, ThemeUIJSX } from '@theme-ui/core' export { Context, merge, useThemeUI } from '@theme-ui/core' export type { - ContextValue, + ThemeUIContextValue, IntrinsicSxElements, SxProp, ColorMode, diff --git a/packages/theme-ui/test/color-modes.tsx b/packages/theme-ui/test/color-modes.tsx index b73837dbf..c15c598d8 100644 --- a/packages/theme-ui/test/color-modes.tsx +++ b/packages/theme-ui/test/color-modes.tsx @@ -7,7 +7,7 @@ import mockConsole, { RestoreConsole } from 'jest-mock-console' import packageInfo from '@emotion/react/package.json' import { - ContextValue, + ThemeUIContextValue, jsx, Theme, ThemeProvider, @@ -236,7 +236,7 @@ test('inherits color mode state from parent context', () => { }) test('retains initial context', () => { - let context: ContextValue | undefined + let context: ThemeUIContextValue | undefined const Consumer = () => { context = useThemeUI() return null From d52e4ec14c00eca5c32b3047a6ec11d1396d682c Mon Sep 17 00:00:00 2001 From: hasparus Date: Sat, 20 Mar 2021 13:40:50 +0100 Subject: [PATCH 099/377] chore: write migration notes for 0.6 --- CHANGELOG.md | 264 +++++++++++++++++++---- MIGRATING.md | 208 ++++++++++++++++++ examples/codesandbox-starter/.prettierrc | 2 +- packages/docs/src/pages/migrating.mdx | 46 +--- prettier.config.js | 1 + 5 files changed, 432 insertions(+), 89 deletions(-) create mode 100644 MIGRATING.md diff --git a/CHANGELOG.md b/CHANGELOG.md index 2c4914552..fdf6760a1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,17 +1,157 @@ # Changelog -## v0.6.0 UNRELEASED +## v0.6.0 + +_changes relative to 0.3, not the latest 0.6 prerelease_ + +### What's New + +- `Styled` components dict was renamed to [`Themed`](/themed/) to avoid + confusion with `styled` components constructors from `@emotion/styled` and + similar libraries. + +- `theme.useRootStyles` configuration option (false by default). Set it to + `true` to add `styles.root` to `html` instead of `body`. + + - `theme.useBodyStyles` configuration option still defaults to `true`, but + it's going in to be deprecated in favor of `theme.useRootStyles` in the + future. + +- New scale: `transitions` supporting `transition` CSS property. Issue + [#1079](https://github.com/system-ui/theme-ui/issues/1079), PR + [#1272](https://github.com/system-ui/theme-ui/pull/1272) + +- Objects in nested scales can now have a `__default` key. PR + [#951](https://github.com/system-ui/theme-ui/pull/951) + + Given the theme + + ``` + const theme = { + colors: { + primary: { + __default: '#00f', + light: '#33f', + } + } + } + ``` + + `color: 'primary'` resolves to `color: '#00f'`. + +- Configuration option for printing color mode. PR + [#1267](https://github.com/system-ui/theme-ui/pull/1267), issue + [#1144](https://github.com/system-ui/theme-ui/issues/1144). No more wasted + ink. + + ``` + { + initialColorModeName: "dark", + printColorModeName: "light" + } + ``` + +- A new component, Paragraph was added in PR + [#1298](https://github.com/system-ui/theme-ui/pull/1298) + +### Breaking Changes + +- Theme UI 0.6 depends on Emotion 11, and isn't compatible with Emotion 10 + anymore. + + - If you didn't install Emotion separately, this update shouldn't affect you. + - If your other dependencies depend on Emotion 10, and have no published + versions for Emotion 11, you can use + [Yarn resolutions](https://yarnpkg.com/lang/en/docs/selective-version-resolutions/) + or + [Webpack's resolve.alias](https://webpack.js.org/configuration/resolve/#resolvealias) + to enforce a version. + + Refer to [Emotion 11 release notes](https://emotion.sh/docs/emotion-11) for + more information. + +- `useColorSchemeMediaQuery` defaults to `true`. Issue + [#624](https://github.com/system-ui/theme-ui/issues/624), PR + [#1373](https://github.com/system-ui/theme-ui/pull/1373) + + **How to migrate?** Add `useColorSchemeMediaQuery: false` to your theme if you + don't have this property. + [Read more in the docs.](https://dev.theme-ui.com/color-modes/#responding-to-the-prefers-color-scheme-media-query) + +### Deprecations + +- `Styled` will be removed in v0.7. Use [`Themed`](/themed) instead. +- `useBodyStyles` will be removed in v0.7. Use `useRootStyles` instead. + +### TypeScript Changes + +Theme UI is now written in TypeScript, and the emitted types differ from +`@types/theme-ui`. + +- `false` in now accepted in responsive tuple types. PR + [#1499](https://github.com/system-ui/theme-ui/pull/1499) + +- Known colors (_primary_, _text_, _background_, _accent_, _secondary_) in + `ColorMode` can now be nested scales. + + The following no longer typechecks, as `colors.primary` can be an object. + + ```tsx + sx={{ + color: theme => theme.colors?.primary?.toUpperCase() + }} + ``` + + But the following code still works. + + ```tsx + sx={{ + color: theme => theme.colors?.primary + }} + ``` + + If `colors.primary` is an object, `colors.primary.__default` is used. + +- `false` values are skipped before passing style objects to Emotion. Issue + [#1297](https://github.com/system-ui/theme-ui/issues/1297), PR + [#1460](https://github.com/system-ui/theme-ui/pull/1460). + + The following syntax is now supported + + ```tsx + sx={{ color: isActive && blue }} + ``` + +- "as" prop on Themed.X components now properly opts out of typechecking + + - TypeScript users, don't use `ComponentProps`, import + `ThemedComponent` and use `ThemedComponent<'div'>` instead. + +- Theme UI 0.6 depends on [`csstype`](https://github.com/frenic/csstype) v3 + instead of `csstype` v2. + +- Renamed types + - Anything copied from `styled-system` types was renamed or removed. + - `SxProps` was renamed to `SxProp`. + - `SxStyleProp`, an alias for `ThemeUIStyleObject` was removed. Use + `ThemeUIStyleObject` instead. + +**Refer to the changelog for a full list of changes.** ## v0.6.0-alpha.8 2021-02-19 -- Make the rename of `Styled` to `Themed` non-breaking. Add a deprecation warning on `Styled` until a future release. PR #1461 -- Paragraph component's hardcoded responsive style has been removed (issue #1476) -- Fix issue where css custom vars are only added to body if modes is in the colors declaration of the theme. -- Gatsby peerDependency updated to handle Gatsby 3 +- Make the rename of `Styled` to `Themed` non-breaking. Add a deprecation + warning on `Styled` until a future release. PR + [#1461](https://github.com/system-ui/theme-ui/pull/1461) +- Paragraph component's hardcoded responsive style has been removed (issue + [#1476](https://github.com/system-ui/theme-ui/issues/1476)) +- Fix issue where css custom vars are only added to body if modes is in the + colors declaration of the theme. ## v0.6.0-alpha.7 2021-02-15 -- **Breaking TypeScript**: Known colors (_primary_, _text_, _background_, _accent_, _secondary_) in `ColorMode` can now be nested scales. +- **Breaking TypeScript**: Known colors (_primary_, _text_, _background_, + _accent_, _secondary_) in `ColorMode` can now be nested scales. The following no longer typechecks, as `colors.primary` can be an object. @@ -31,26 +171,35 @@ If `colors.primary` is an object, `colors.primary.__default` is used. -- Add `theme.useRootStyles` configuration option (false by default). - Set it to `true` to add `styles.root` to `html` instead of `body`. - `theme.useBodyStyles` configuration option still defaults to `true`, - but it's going in to be deprecated in favor of `theme.useRootStyles` in the future. -- Accept `false` in responsive tuple types. PR #1499 -- Skip `false` values before passing style objects to Emotion. Issue #1297, PR #1460. - - Allow `false` as style property value in TS types. +- Add `theme.useRootStyles` configuration option (false by default). Set it to + `true` to add `styles.root` to `html` instead of `body`. `theme.useBodyStyles` + configuration option still defaults to `true`, but it's going in to be + deprecated in favor of `theme.useRootStyles` in the future. +- + Accept `false` in responsive tuple types. PR #1499 +- Skip `false` values before passing style objects to Emotion. Issue #1297, PR + #1460. + - + Allow `false` as style property value in TS types. ## v0.6.0-alpha.6 2021-01-22 -- **BREAKING**: Default `useColorSchemeMediaQuery` to `true`. Issue #624, PR #1373 +- **BREAKING**: Default `useColorSchemeMediaQuery` to `true`. Issue #624, PR + #1373 - **How to migrate?** Add `useColorSchemeMediaQuery: false` to your theme if you don't have this property. + **How to migrate?** Add `useColorSchemeMediaQuery: false` to your theme if you + don't have this property. [Read more in the docs.](https://dev.theme-ui.com/color-modes/#responding-to-the-prefers-color-scheme-media-query) -- Option for `gatsby-plugin-theme-ui` to disable body script (`injectColorFlashScript`, defaulting to `true`). Issue #1369, PR #1370 -- Bump versions `@mdx-js/mdx` and `@mdx-js/react` to `^1.6.22`, gatsby-plugin-mdx to `^1.6.0`. PR #1351 +- Option for `gatsby-plugin-theme-ui` to disable body script + (`injectColorFlashScript`, defaulting to `true`). Issue #1369, PR #1370 +- Bump versions `@mdx-js/mdx` and `@mdx-js/react` to `^1.6.22`, + gatsby-plugin-mdx to `^1.6.0`. PR #1351 - Fix: "as" prop on Themed.X components now properly opts out of typechecking - - TypeScript users, don't use `ComponentProps`, import `ThemedComponent<'div'>` instead. -- `@theme-ui/prism`: Support multiple highlight wrappers in a single code block. PR #1393 + - TypeScript users, don't use `ComponentProps`, import + `ThemedComponent<'div'>` instead. +- `@theme-ui/prism`: Support multiple highlight wrappers in a single code block. + PR #1393 ## v0.6.0-alpha.5 2021-01-22 @@ -76,7 +225,8 @@ - Extract objects with nested variant props. Issue #1357 - Add ability for MDX styling, and fix mdx table align styles. Issue #654 - Remove recursive default values from CSS custom properties. PR #1327 -- Render extra Embed props onto `iframe` tag instead of wrapping `div`. Issue #966, PR #1122 +- Render extra Embed props onto `iframe` tag instead of wrapping `div`. Issue + #966, PR #1122 ## v0.6.0-alpha.2 @@ -84,10 +234,13 @@ ## v0.6.0-alpha.1 -- Switches from lodash.kebabCase to alternative package ([param-case](/blakeembrey/change-case/tree/master/packages/param-case)) per [official Lodash documentation](https://lodash.com/per-method-packages). PR #1304 +- Switches from lodash.kebabCase to alternative package + ([param-case](/blakeembrey/change-case/tree/master/packages/param-case)) per + [official Lodash documentation](https://lodash.com/per-method-packages). PR + #1304 - Rebuilds Prism preset with latest upstream theme changes. PR #1304 -- Fix: Preserve order of variant expansion props. PR #1326 - _(bug introduced in 0.5.0-alpha.1)_ +- Fix: Preserve order of variant expansion props. PR #1326 _(bug introduced in + 0.5.0-alpha.1)_ ## v0.6.0-alpha.0 @@ -95,7 +248,8 @@ - **BREAKING**: Make Text component use `span` instead of `div` - **breaking TypeScript**: Renamed and removed types. PR #1308 - `SxProps` to `SxProp`. - - `SxStyleProp`, an alias for `ThemeUIStyleObject` removed. Use `ThemeUIStyleObject` instead. + - `SxStyleProp`, an alias for `ThemeUIStyleObject` removed. Use + `ThemeUIStyleObject` instead. - Fix: Add `sx` props types to all props accepting `className`. PR #1308 - Fix WithPoorAsProp to work with ComponentProps utility type. PR #1308 @@ -108,14 +262,17 @@ - Bump React peerDependency to `"^16.14.0 || ^17.0.0"`. - Support automatic JSX runtime. Issue #1160, PR #1237 - Bump React peerDependency to `"^16.14.0 || ^17.0.0"`. -- Apply variant styles _before_ responsive styles. Issues #1030, and #720, PR #1273 +- Apply variant styles _before_ responsive styles. Issues #1030, and #720, PR + #1273 ## v0.5.0-alpha.0 2020-11-20 - **BREAKING**: Upgrade to Emotion 11, and `csstype` 3. PR #1261 - We are now depending on `@emotion/react@11` instead of `@emotion/core@10` - - `sx` prop types are still global, and we opt in for Emotion `css` prop types (This will change in the future.) - - Refer to [Emotion 11 release notes](https://emotion.sh/docs/emotion-11) for more information. + - `sx` prop types are still global, and we opt in for Emotion `css` prop types + (This will change in the future.) + - Refer to [Emotion 11 release notes](https://emotion.sh/docs/emotion-11) for + more information. ## v0.4.0-rc.14 2020-11-20 @@ -133,8 +290,8 @@ ### `theme-ui` -- Use correct version of @theme-ui/components in theme-ui package. - (Locked dependencies on other Theme UI packages) +- Use correct version of @theme-ui/components in theme-ui package. (Locked + dependencies on other Theme UI packages) ## v0.4.0-rc.11 2020-11-18 @@ -155,7 +312,8 @@ ### `@theme-ui/components` -- Add `arrow` prop to Select to allow passing custom arrow icon. Issues #1177 #1151, PR #1232 +- Add `arrow` prop to Select to allow passing custom arrow icon. Issues #1177 + #1151, PR #1232 - Fix: Field component uses `id` if passed. PR #1252 - Fix circular import in Switch.js @@ -190,7 +348,8 @@ ### examples -- Convert Gatsby example to TypeScript and stop using removed components. Issue #1227, PR #1229 +- Convert Gatsby example to TypeScript and stop using removed components. Issue + #1227, PR #1229 ## v0.4.0-rc.7 2020-11-08 @@ -237,7 +396,8 @@ ### `@theme-ui/core` -- Support Webpack 5. (Uses default export from package.json instead of named export) #1141 +- Support Webpack 5. (Uses default export from package.json instead of named + export) #1141 ### `@theme-ui/components` @@ -253,23 +413,31 @@ ## v0.3.1 2020-01-32 - Adjusts media query sort logic #600 -- Fixes link to Gatsby Plugin page in `getting-started` page. Issue #602, PR #603 +- Fixes link to Gatsby Plugin page in `getting-started` page. Issue #602, PR + #603 ## v0.3.0 2020-01-22 -- Split theme-ui package into `@theme-ui/core`, `@theme-ui/mdx`, and `@theme-ui/color-modes` +- Split theme-ui package into `@theme-ui/core`, `@theme-ui/mdx`, and + `@theme-ui/color-modes` - Removes `context.components` (still available through MDX context) - Adds separate `ColorModeProvider` component -- Removes support for `theme.initialColorMode` - use `initialColorModeName` instead -- Removes layout components (`Layout`, `Header`, `Main`, `Footer`) - use `Box` and `Flex` instead +- Removes support for `theme.initialColorMode` - use `initialColorModeName` + instead +- Removes layout components (`Layout`, `Header`, `Main`, `Footer`) - use `Box` + and `Flex` instead - Updates CSS custom properties implementation for color modes -- When using `useColorSchemeMediaQuery` flag, it will initialize the mode to `light` when `@media (prefers-color-scheme: light)` is enabled -- Global color mode styles are automatically added to the body without needing to render the `ColorMode` component +- When using `useColorSchemeMediaQuery` flag, it will initialize the mode to + `light` when `@media (prefers-color-scheme: light)` is enabled +- Global color mode styles are automatically added to the body without needing + to render the `ColorMode` component - Adds global typographic styles, set `useBodyStyles: false` to disable - Removes `ThemeStateProvider` - Fix issue where `` tag was incorrectly specified as `delete` -- The `@theme-ui/editor` API has changed significantly. See the README.md for more information. -- `@theme-ui/components`: on Grid component, allow custom `columns` definitions via strings #541 +- The `@theme-ui/editor` API has changed significantly. See the README.md for + more information. +- `@theme-ui/components`: on Grid component, allow custom `columns` definitions + via strings #541 - `@theme-ui/gatsby-theme-style-guide`: add docs on shadowing #558 - Adds `@theme-ui/preset-polaris` #567 - Adjusts default font stack in presets #568 @@ -326,7 +494,8 @@ ## v0.2.43 2019-09-17 - Fix Reakit for ColorPicker test #357 -- Simplify color mode API and disable `prefers-color-scheme` media query behavior by default #246 +- Simplify color mode API and disable `prefers-color-scheme` media query + behavior by default #246 - Add BaseStyles component #369 ## v0.2.42 2019-09-11 @@ -369,7 +538,8 @@ ## v0.2.34 2019-08-15 -- `gatsby-plugin-theme-ui` remove JSX syntax from gatsby-ssr in Gatsby plugin #299 +- `gatsby-plugin-theme-ui` remove JSX syntax from gatsby-ssr in Gatsby plugin + #299 - `@theme-ui/typography` fix for CSS font-family keywords #285 - `@theme-ui/preset-tailwind` add button and input variants #291 @@ -384,7 +554,8 @@ ## v0.2.31 2019-08-07 -- Maintain raw color values in Theme UI context when `useCustomProperties` is enabled #274 +- Maintain raw color values in Theme UI context when `useCustomProperties` is + enabled #274 ## v0.2.30 2019-08-06 @@ -517,9 +688,12 @@ - Replaced `lodash.merge` with `deepmerge` - Updated to use smaller Styled System v5 packages - Removed layout and flexbox style props from `Box` and layout components -- Renamed `css` prop in experimental custom pragma to `sx` to avoid collisions with Emotion and other libraries +- Renamed `css` prop in experimental custom pragma to `sx` to avoid collisions + with Emotion and other libraries - Refactored `ThemeProvider` - Removed `toStyle` API from Typography.js package - Renamed Typography.js package to `@theme-ui/typography` -- Removed `@emotion/styled` dependency - layout components are no longer created with `styled` so passing non-HTML attributes to the component will result in React rendering those props to the DOM +- Removed `@emotion/styled` dependency - layout components are no longer created + with `styled` so passing non-HTML attributes to the component will result in + React rendering those props to the DOM - Removed legacy `ColorModeProvider` and `ComponentProvider` exports diff --git a/MIGRATING.md b/MIGRATING.md new file mode 100644 index 000000000..584662d87 --- /dev/null +++ b/MIGRATING.md @@ -0,0 +1,208 @@ +# Migration Guides + +## v0.6 + +### What's New + +- `Styled` components dict was renamed to [`Themed`](/themed/) to avoid + confusion with `styled` components constructors from `@emotion/styled` and + similar libraries. + +- `theme.useRootStyles` configuration option (false by default). Set it to + `true` to add `styles.root` to `html` instead of `body`. + + - `theme.useBodyStyles` configuration option still defaults to `true`, but + it's going in to be deprecated in favor of `theme.useRootStyles` in the + future. + +- New scale: `transitions` supporting `transition` CSS property. Issue + [#1079](https://github.com/system-ui/theme-ui/issues/1079), PR + [#1272](https://github.com/system-ui/theme-ui/pull/1272) + +- Objects in nested scales can now have a `__default` key. PR + [#951](https://github.com/system-ui/theme-ui/pull/951) + + Given the theme + + ``` + const theme = { + colors: { + primary: { + __default: '#00f', + light: '#33f', + } + } + } + ``` + + `color: 'primary'` resolves to `color: '#00f'`. + +- Configuration option for printing color mode. PR + [#1267](https://github.com/system-ui/theme-ui/pull/1267), issue + [#1144](https://github.com/system-ui/theme-ui/issues/1144). No more wasted + ink. + + ``` + { + initialColorModeName: "dark", + printColorModeName: "light" + } + ``` + +- A new component, Paragraph was added in PR + [#1298](https://github.com/system-ui/theme-ui/pull/1298) + +### Breaking Changes + +- Theme UI 0.6 depends on Emotion 11, and isn't compatible with Emotion 10 + anymore. + + - If you didn't install Emotion separately, this update shouldn't affect you. + - If your other dependencies depend on Emotion 10, and have no published + versions for Emotion 11, you can use + [Yarn resolutions](https://yarnpkg.com/lang/en/docs/selective-version-resolutions/) + or + [Webpack's resolve.alias](https://webpack.js.org/configuration/resolve/#resolvealias) + to enforce a version. + + Refer to [Emotion 11 release notes](https://emotion.sh/docs/emotion-11) for + more information. + +- `useColorSchemeMediaQuery` defaults to `true`. Issue + [#624](https://github.com/system-ui/theme-ui/issues/624), PR + [#1373](https://github.com/system-ui/theme-ui/pull/1373) + + **How to migrate?** Add `useColorSchemeMediaQuery: false` to your theme if you + don't have this property. + [Read more in the docs.](https://dev.theme-ui.com/color-modes/#responding-to-the-prefers-color-scheme-media-query) + +### Deprecations + +- `Styled` will be removed in v0.7. Use [`Themed`](/themed) instead. +- `useBodyStyles` will be removed in v0.7. Use `useRootStyles` instead. + +### TypeScript Changes + +Theme UI is now written in TypeScript, and the emitted types differ from +`@types/theme-ui`. + +- `false` in now accepted in responsive tuple types. PR + [#1499](https://github.com/system-ui/theme-ui/pull/1499) + +- Known colors (_primary_, _text_, _background_, _accent_, _secondary_) in + `ColorMode` can now be nested scales. + + The following no longer typechecks, as `colors.primary` can be an object. + + ```tsx + sx={{ + color: theme => theme.colors?.primary?.toUpperCase() + }} + ``` + + But the following code still works. + + ```tsx + sx={{ + color: theme => theme.colors?.primary + }} + ``` + + If `colors.primary` is an object, `colors.primary.__default` is used. + +- `false` values are skipped before passing style objects to Emotion. Issue + [#1297](https://github.com/system-ui/theme-ui/issues/1297), PR + [#1460](https://github.com/system-ui/theme-ui/pull/1460). + + The following syntax is now supported + + ```tsx + sx={{ color: isActive && blue }} + ``` + +- "as" prop on Themed.X components now properly opts out of typechecking + + - TypeScript users, don't use `ComponentProps`, import + `ThemedComponent` and use `ThemedComponent<'div'>` instead. + +- Theme UI 0.6 depends on [`csstype`](https://github.com/frenic/csstype) v3 + instead of `csstype` v2. + +- Renamed types + - Anything copied from `styled-system` types was renamed or removed. + - `SxProps` was renamed to `SxProp`. + - `SxStyleProp`, an alias for `ThemeUIStyleObject` was removed. Use + `ThemeUIStyleObject` instead. + +[**Refer to the changelog for a full list of changes.**](https://github.com/system-ui/theme-ui/blob/develop/CHANGELOG.md) + +## v0.3 + +### What's New + +- Components can now be imported directly from the `theme-ui` package. Be sure + that treeshaking is enabled with your build tool. +- Includes smart defaults for adding base styles to the `` element. +- Simplified color modes API. +- New `@theme-ui/css`, `@theme-ui/core`, `@theme-ui/color-modes`, and + `@theme-ui/mdx` packages allow for more bespoke ways to use the library. + +### Breaking Changes + +- `@emotion/react` and `@mdx-js/react` are now dependencies of `theme-ui` and + should not be installed separately. If you'd like to use a particular version + of each library, use + [Yarn resolutions](https://yarnpkg.com/lang/en/docs/selective-version-resolutions/). +- Theme UI context no longer provides `context.components`. If you're using this + object from context, use the MDX hook instead. E.g. + `import { useMDXComponents } from '@mdx-js/react'` +- If you'd like color mode to be initialized from the `prefers-color-scheme` + media query, you must enable the `useColorSchemeMediaQuery: true` flag in your + theme. +- The `ColorMode` component is deprecated and no longer required to add color + styles to the `` element. +- The following components have been removed in favor of using `Box` and `Flex` + components: `Layout`, `Header`, `Main`, `Footer` +- The `initialColorMode` flag no longer works, use `initialColorModeName` + instead. +- The `ThemeProvider` now adds global typographic styles to the `` element + based on `theme.styles.root`. To disable this behavior set the + `useBodyStyles: false` flag in your theme. +- Theme context is now stateless. If you've made use of `context.setTheme`, this + no longer works. An alternative approach is available with the + `@theme-ui/editor` package. +- The `ThemeStateProvider` component is no longer avialable, see + `@theme-ui/editor` as an alternative. +- The `@theme-ui/editor` package has a completely new API. Please refer to the + package's + [README.md](https://github.com/system-ui/theme-ui/blob/stable/packages/editor/README.md) + for more information. + +## v0.2 + +### JSX Pragma + +If you were using the Theme UI custom JSX pragma, rename the `css` prop to `sx`. +This does not apply if you were importing and using the `css` utility function +manually. + +### `theme-ui-typography` + +If you were using the `theme-ui-typography` package, install the new package +named `@theme-ui/typography` instead. The `toStyle` API is no longer included. +Use the `toTheme` API instead, see the +[Typography.js docs](/styling-mdx/#typographyjs) for how to use this utility. + +### `Box` and layout component + +If you were using Styled System style props on the `Box` component or any other +layout component, replace these props with either the [`sx` prop](/sx-prop) or +by using the `css` utility. + +### Other + +- Replace `ColorModeProvider` and `ComponentProvider` with the `ThemeProvider` + component. +- The `@emotion/styled` package is no longer required for Theme UI. If you are + not using it directly in your application, you can remove it from your + dependencies. diff --git a/examples/codesandbox-starter/.prettierrc b/examples/codesandbox-starter/.prettierrc index 3a42238c9..6b33f0821 100755 --- a/examples/codesandbox-starter/.prettierrc +++ b/examples/codesandbox-starter/.prettierrc @@ -8,4 +8,4 @@ "bracketSpacing": true, "jsxBracketSameLine": false, "fluid": false -} \ No newline at end of file +} diff --git a/packages/docs/src/pages/migrating.mdx b/packages/docs/src/pages/migrating.mdx index 26a03288d..dd41f0e82 100644 --- a/packages/docs/src/pages/migrating.mdx +++ b/packages/docs/src/pages/migrating.mdx @@ -1,47 +1,7 @@ --- -title: Migrating +title: 'Migrating' --- -# Migration Guides +import Migrating from '../../../../MIGRATING.md' -## v0.3 - -### What's New - -- Components can now be imported directly from the `theme-ui` package. Be sure that treeshaking is enabled with your build tool. -- Includes smart defaults for adding base styles to the `` element. -- Simplified color modes API. -- New `@theme-ui/css`, `@theme-ui/core`, `@theme-ui/color-modes`, and `@theme-ui/mdx` packages allow for more bespoke ways to use the library. - -### Breaking Changes - -- `@emotion/react` and `@mdx-js/react` are now dependencies of `theme-ui` and should not be installed separately. If you'd like to use a particular version of each library, use [Yarn resolutions](https://yarnpkg.com/lang/en/docs/selective-version-resolutions/). -- Theme UI context no longer provides `context.components`. If you're using this object from context, use the MDX hook instead. E.g. `import { useMDXComponents } from '@mdx-js/react'` -- If you'd like color mode to be initialized from the `prefers-color-scheme` media query, you must enable the `useColorSchemeMediaQuery: true` flag in your theme. -- The `ColorMode` component is deprecated and no longer required to add color styles to the `` element. -- The following components have been removed in favor of using `Box` and `Flex` components: `Layout`, `Header`, `Main`, `Footer` -- The `initialColorMode` flag no longer works, use `initialColorModeName` instead. -- The `ThemeProvider` now adds global typographic styles to the `` element based on `theme.styles.root`. To disable this behavior set the `useBodyStyles: false` flag in your theme. -- Theme context is now stateless. If you've made use of `context.setTheme`, this no longer works. An alternative approach is available with the `@theme-ui/editor` package. -- The `ThemeStateProvider` component is no longer avialable, see `@theme-ui/editor` as an alternative. -- The `@theme-ui/editor` package has a completely new API. Please refer to the package's [README.md](https://github.com/system-ui/theme-ui/blob/stable/packages/editor/README.md) for more information. - -## v0.2 - -### JSX Pragma - -If you were using the Theme UI custom JSX pragma, rename the `css` prop to `sx`. This does not apply if you were importing and using the `css` utility function manually. - -### `theme-ui-typography` - -If you were using the `theme-ui-typography` package, install the new package named `@theme-ui/typography` instead. -The `toStyle` API is no longer included. Use the `toTheme` API instead, see the [Typography.js docs](/styling-mdx/#typographyjs) for how to use this utility. - -### `Box` and layout component - -If you were using Styled System style props on the `Box` component or any other layout component, replace these props with either the [`sx` prop](/sx-prop) or by using the `css` utility. - -### Other - -- Replace `ColorModeProvider` and `ComponentProvider` with the `ThemeProvider` component. -- The `@emotion/styled` package is no longer required for Theme UI. If you are not using it directly in your application, you can remove it from your dependencies. + diff --git a/prettier.config.js b/prettier.config.js index a55d06647..14c4dbb1c 100644 --- a/prettier.config.js +++ b/prettier.config.js @@ -6,4 +6,5 @@ module.exports = { semi: false, jsxBracketSameLine: true, arrowParens: 'always', + proseWrap: 'always', } From 2bbfea7756a84999fc59c8868b38ae6a33abbfeb Mon Sep 17 00:00:00 2001 From: hasparus Date: Sat, 20 Mar 2021 13:41:24 +0100 Subject: [PATCH 100/377] Revert "chore: bump Gatsby peer dep" This reverts commit 55dab22f6c17286dbbfd806ba281f4d310da4548. --- deprecated/gatsby-theme-ui-blog/package.json | 2 +- packages/gatsby-plugin-theme-ui/package.json | 2 +- packages/gatsby-theme-code-recipes/package.json | 2 +- packages/gatsby-theme-style-guide/package.json | 2 +- packages/gatsby-theme-ui-layout/package.json | 2 +- packages/prism/package.json | 3 +++ 6 files changed, 8 insertions(+), 5 deletions(-) diff --git a/deprecated/gatsby-theme-ui-blog/package.json b/deprecated/gatsby-theme-ui-blog/package.json index f16e1f260..46da5c96b 100644 --- a/deprecated/gatsby-theme-ui-blog/package.json +++ b/deprecated/gatsby-theme-ui-blog/package.json @@ -6,7 +6,7 @@ "avatar": "npx capture-website-cli \"https://contrast.now.sh/fff/33e?text=UI&size=48&fontSize=1.5&radius=32&baseline=1\" content/assets/avatar.png --width=48 --height=48 --overwrite" }, "peerDependencies": { - "gatsby": ">=2", + "gatsby": "^2.13.1", "react": "^16.14.0 || ^17.0.0", "react-dom": "^16.8.0 || ^17.0.0" }, diff --git a/packages/gatsby-plugin-theme-ui/package.json b/packages/gatsby-plugin-theme-ui/package.json index d2b9de6ad..0a7e6a17f 100644 --- a/packages/gatsby-plugin-theme-ui/package.json +++ b/packages/gatsby-plugin-theme-ui/package.json @@ -5,7 +5,7 @@ "author": "Brent Jackson", "license": "MIT", "peerDependencies": { - "gatsby": ">=2", + "gatsby": "^2.13.1", "theme-ui": "^0.5.0-alpha.0" }, "keywords": [ diff --git a/packages/gatsby-theme-code-recipes/package.json b/packages/gatsby-theme-code-recipes/package.json index 5831e9cb3..c86011556 100644 --- a/packages/gatsby-theme-code-recipes/package.json +++ b/packages/gatsby-theme-code-recipes/package.json @@ -4,7 +4,7 @@ "main": "index.js", "license": "MIT", "peerDependencies": { - "gatsby": ">=2", + "gatsby": "^2.13.1", "react": "^16.14.0 || ^17.0.0", "react-dom": "^16.14.0 || ^17.0.0" }, diff --git a/packages/gatsby-theme-style-guide/package.json b/packages/gatsby-theme-style-guide/package.json index 34c0adcc0..bdcc8f674 100644 --- a/packages/gatsby-theme-style-guide/package.json +++ b/packages/gatsby-theme-style-guide/package.json @@ -4,7 +4,7 @@ "main": "index.js", "license": "MIT", "peerDependencies": { - "gatsby": ">=2", + "gatsby": "^2.13.1", "react": "^16.14.0 || ^17.0.0", "react-dom": "^16.14.0 || ^17.0.0" }, diff --git a/packages/gatsby-theme-ui-layout/package.json b/packages/gatsby-theme-ui-layout/package.json index 58532ac29..29ae79b77 100644 --- a/packages/gatsby-theme-ui-layout/package.json +++ b/packages/gatsby-theme-ui-layout/package.json @@ -4,7 +4,7 @@ "main": "index.js", "repository": "system-ui/theme-ui", "peerDependencies": { - "gatsby": ">=2", + "gatsby": "^2.13.1", "react": "^16.14.0 || ^17.0.0", "react-dom": "^16.14.0 || ^17.0.0" }, diff --git a/packages/prism/package.json b/packages/prism/package.json index 17228b517..e82653f15 100644 --- a/packages/prism/package.json +++ b/packages/prism/package.json @@ -16,6 +16,9 @@ "dependencies": { "prism-react-renderer": "^1.1.1" }, + "peerDependencies": { + "theme-ui": "^0.5.0-alpha.0" + }, "publishConfig": { "access": "public" }, From 79a678c63ce87a66df479ff825d76511f26e8ec4 Mon Sep 17 00:00:00 2001 From: hasparus Date: Sat, 20 Mar 2021 14:14:53 +0100 Subject: [PATCH 101/377] chore: bump Gatsby peer dep again --- deprecated/gatsby-theme-ui-blog/package.json | 2 +- packages/gatsby-plugin-theme-ui/package.json | 2 +- packages/gatsby-theme-code-recipes/package.json | 2 +- packages/gatsby-theme-style-guide/package.json | 2 +- packages/gatsby-theme-ui-layout/package.json | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/deprecated/gatsby-theme-ui-blog/package.json b/deprecated/gatsby-theme-ui-blog/package.json index 46da5c96b..f16e1f260 100644 --- a/deprecated/gatsby-theme-ui-blog/package.json +++ b/deprecated/gatsby-theme-ui-blog/package.json @@ -6,7 +6,7 @@ "avatar": "npx capture-website-cli \"https://contrast.now.sh/fff/33e?text=UI&size=48&fontSize=1.5&radius=32&baseline=1\" content/assets/avatar.png --width=48 --height=48 --overwrite" }, "peerDependencies": { - "gatsby": "^2.13.1", + "gatsby": ">=2", "react": "^16.14.0 || ^17.0.0", "react-dom": "^16.8.0 || ^17.0.0" }, diff --git a/packages/gatsby-plugin-theme-ui/package.json b/packages/gatsby-plugin-theme-ui/package.json index 0a7e6a17f..d2b9de6ad 100644 --- a/packages/gatsby-plugin-theme-ui/package.json +++ b/packages/gatsby-plugin-theme-ui/package.json @@ -5,7 +5,7 @@ "author": "Brent Jackson", "license": "MIT", "peerDependencies": { - "gatsby": "^2.13.1", + "gatsby": ">=2", "theme-ui": "^0.5.0-alpha.0" }, "keywords": [ diff --git a/packages/gatsby-theme-code-recipes/package.json b/packages/gatsby-theme-code-recipes/package.json index c86011556..5831e9cb3 100644 --- a/packages/gatsby-theme-code-recipes/package.json +++ b/packages/gatsby-theme-code-recipes/package.json @@ -4,7 +4,7 @@ "main": "index.js", "license": "MIT", "peerDependencies": { - "gatsby": "^2.13.1", + "gatsby": ">=2", "react": "^16.14.0 || ^17.0.0", "react-dom": "^16.14.0 || ^17.0.0" }, diff --git a/packages/gatsby-theme-style-guide/package.json b/packages/gatsby-theme-style-guide/package.json index bdcc8f674..34c0adcc0 100644 --- a/packages/gatsby-theme-style-guide/package.json +++ b/packages/gatsby-theme-style-guide/package.json @@ -4,7 +4,7 @@ "main": "index.js", "license": "MIT", "peerDependencies": { - "gatsby": "^2.13.1", + "gatsby": ">=2", "react": "^16.14.0 || ^17.0.0", "react-dom": "^16.14.0 || ^17.0.0" }, diff --git a/packages/gatsby-theme-ui-layout/package.json b/packages/gatsby-theme-ui-layout/package.json index 29ae79b77..58532ac29 100644 --- a/packages/gatsby-theme-ui-layout/package.json +++ b/packages/gatsby-theme-ui-layout/package.json @@ -4,7 +4,7 @@ "main": "index.js", "repository": "system-ui/theme-ui", "peerDependencies": { - "gatsby": "^2.13.1", + "gatsby": ">=2", "react": "^16.14.0 || ^17.0.0", "react-dom": "^16.14.0 || ^17.0.0" }, From 00cd0e68298d061ad68381c9f781b03a1527030a Mon Sep 17 00:00:00 2001 From: hasparus Date: Sat, 20 Mar 2021 16:24:59 +0100 Subject: [PATCH 102/377] refactor(docs): format themed.mdx, add title to styled.mdx --- packages/docs/src/pages/styled.mdx | 2 ++ packages/docs/src/pages/themed.mdx | 26 +++++++++++++++----------- 2 files changed, 17 insertions(+), 11 deletions(-) diff --git a/packages/docs/src/pages/styled.mdx b/packages/docs/src/pages/styled.mdx index df1063e68..d0e48b656 100644 --- a/packages/docs/src/pages/styled.mdx +++ b/packages/docs/src/pages/styled.mdx @@ -2,6 +2,8 @@ title: Styled --- +# Styled + As of Theme UI 0.6, `Styled` components dict was renamed to `Themed` to avoid confusion with `styled` components constructor function from `@emotion/styled`. diff --git a/packages/docs/src/pages/themed.mdx b/packages/docs/src/pages/themed.mdx index e1a63ef08..bdb9d6123 100644 --- a/packages/docs/src/pages/themed.mdx +++ b/packages/docs/src/pages/themed.mdx @@ -4,9 +4,10 @@ title: Themed # Themed component -Use the `Themed` component to render UI with styles from [`theme.styles`](/theming#styles) _outside_ of MDX. -For example, if you'd like to reuse heading styles in a React component, -you can use the `Themed.h1` component to render an `

` element with styles from `theme.styles.h1`. +Use the `Themed` components dict to render UI with styles from +[`theme.styles`](/theming#styles) _outside_ of MDX. For example, if you'd like +to reuse heading styles in a React component, you can use the `Themed.h1` +component to render an `

` element with styles from `theme.styles.h1`. ```jsx // example @@ -19,13 +20,15 @@ export default (props) => ( ) ``` -For a full list of keys available, see the [Theme Specification docs](/theme-spec#styles). +For a full list of keys available, see the +[Theme Specification docs](/theme-spec#styles). ## Changing the HTML element or component -The rendered HTML element can be changed for each `Themed` component. -This can be useful for ensuring accessible, SEO-friendly, and semantically-correct HTML is rendered while leveraging styles from the theme. -This API originated in Rebass and is similar to the `@emotion/styled` API. +The rendered HTML element can be changed for each `Themed` component. This can +be useful for ensuring accessible, SEO-friendly, and semantically-correct HTML +is rendered while leveraging styles from the theme. This API originated in +Rebass and is similar to the `@emotion/styled` API. The following example renders a `
` that is styled like an `

` element. @@ -34,7 +37,8 @@ The following example renders a `
` that is styled like an `

` element. Hello! ``` -This can also be used to style components like the Gatsby `Link` component to match other links. +This can also be used to style components like the Gatsby `Link` component to +match other links. ```jsx @@ -44,6 +48,6 @@ This can also be used to style components like the Gatsby `Link` component to ma ## Body Styles -To add base typographic styles to the `` element, add styles to `theme.styles.root`. -Previous versions of Theme UI used the `Themed.root` component. -See the [theming docs](/theming/#body-styles) for more information. +To add base typographic styles to the `` element, add styles to +`theme.styles.root`. Previous versions of Theme UI used the `Themed.root` +component. See the [theming docs](/theming/#body-styles) for more information. From ed946810f95db0a8fba1d7d74cacca0c4317ef9b Mon Sep 17 00:00:00 2001 From: hasparus Date: Sat, 20 Mar 2021 19:08:09 +0100 Subject: [PATCH 103/377] fix(color-modes): read correct color mode name --- packages/color-modes/src/custom-properties.ts | 9 +- packages/color-modes/src/index.tsx | 80 +- packages/core/src/index.ts | 19 +- packages/core/test/index.tsx | 6 +- packages/docs/package.json | 5 +- packages/docs/src/components/debug-theme.js | 7 +- packages/docs/src/components/google-fonts.js | 4 +- packages/docs/src/components/layout.js | 4 + packages/editor/src/EditorProvider.ts | 4 +- packages/theme-ui/src/index.ts | 2 +- yarn-error.log | 20229 ++++++++++++++++ yarn.lock | 15 +- 12 files changed, 20336 insertions(+), 48 deletions(-) create mode 100644 yarn-error.log diff --git a/packages/color-modes/src/custom-properties.ts b/packages/color-modes/src/custom-properties.ts index 82e82827f..e833673e1 100644 --- a/packages/color-modes/src/custom-properties.ts +++ b/packages/color-modes/src/custom-properties.ts @@ -70,7 +70,9 @@ export const objectToVars = (parent: string, obj: Record) => { // create root styles for color modes export const createColorStyles = (theme: Theme = {}) => { const use = __internalGetUseRootStyles(theme) - if (!theme.colors || use.rootStyles === false) return {} + const colors = theme.rawColors || theme.colors; + + if (!colors || use.rootStyles === false) return {} if (theme.useCustomProperties === false) { return css({ [use.scope]: { @@ -79,14 +81,17 @@ export const createColorStyles = (theme: Theme = {}) => { }, })(theme) } - const { colors, initialColorModeName, printColorModeName } = theme + const { initialColorModeName, printColorModeName } = theme const modes = colors.modes || {} const styles = objectToVars('colors', colors) + console.log({ styles, colors }) + Object.keys(modes).forEach((mode) => { const key = `&.theme-ui-${mode}` styles[key] = objectToVars('colors', modes[mode]) }) + if (printColorModeName) { const mode = printColorModeName === 'initial' || diff --git a/packages/color-modes/src/index.tsx b/packages/color-modes/src/index.tsx index d3bfcb69d..06686ef2f 100644 --- a/packages/color-modes/src/index.tsx +++ b/packages/color-modes/src/index.tsx @@ -1,7 +1,12 @@ -import React, { Dispatch, SetStateAction } from 'react' -import { jsx, useThemeUI, merge, Context } from '@theme-ui/core' -import { get, Theme, ColorModesScale } from '@theme-ui/css' -import { Global, ThemeContext as EmotionContext } from '@emotion/react' +import React, { Dispatch, useEffect, useState, SetStateAction } from 'react' +import { + jsx, + useThemeUI, + merge, + __ThemeUIInternalBaseThemeProvider, +} from '@theme-ui/core' +import { get, Theme } from '@theme-ui/css' +import { Global } from '@emotion/react' import { toCustomProperties, createColorStyles } from './custom-properties' const STORAGE_KEY = 'theme-ui-color-mode' @@ -9,14 +14,14 @@ const STORAGE_KEY = 'theme-ui-color-mode' declare module '@theme-ui/core' { export interface ThemeUIContextValue { colorMode?: string - setColorMode?: (colorMode: SetStateAction) => void + setColorMode?: (colorMode: SetStateAction) => void } } const storage = { - get: (init?: string) => { + get: () => { try { - return window.localStorage.getItem(STORAGE_KEY) || init + return window.localStorage.getItem(STORAGE_KEY) } catch (e) { console.warn( 'localStorage is disabled and color mode might not work as expected.', @@ -50,25 +55,48 @@ const getPreferredColorScheme = (): 'dark' | 'light' | null => { return null } +const getModeFromClass = (): string | undefined => { + let mode: string | undefined + if (typeof document !== 'undefined') { + document.documentElement.classList.forEach((className) => { + if (className.startsWith('theme-ui-')) { + mode = className.replace('theme-ui-', '') + } + }) + } + return mode +} + const useColorModeState = (theme: Theme = {}) => { - const [mode, setMode] = React.useState(() => { + let [mode, setMode] = useState(() => { + const modeFromClass = getModeFromClass() + if (modeFromClass) { + return modeFromClass + } + const preferredMode = theme.useColorSchemeMediaQuery !== false && getPreferredColorScheme() - return preferredMode || theme.initialColorModeName || 'default' + return preferredMode || theme.initialColorModeName }) - // read color mode from local storage - React.useEffect(() => { + // on first render, we read the color mode from localStorage and + // clear the class on document element body + useEffect(() => { const stored = theme.useLocalStorage !== false && storage.get() - document.documentElement.classList.remove('theme-ui-' + stored) - document.body.classList.remove('theme-ui-' + stored) + + if (typeof document !== 'undefined') { + document.documentElement.classList.remove('theme-ui-' + stored) + document.body.classList.remove('theme-ui-' + stored) + } if (stored && stored !== mode) { + mode = stored setMode(stored) } }, []) + // when mode changes, we save it to localStorage React.useEffect(() => { if (mode && theme.useLocalStorage !== false) { storage.set(mode) @@ -109,7 +137,7 @@ export function useColorMode(): [ ] } -const applyColorMode = (theme: Theme, mode: string): Theme => { +const applyColorMode = (theme: Theme, mode: string | undefined): Theme => { if (!mode) return theme const modes = get(theme, 'colors.modes', {}) return merge.all({}, theme, { @@ -117,7 +145,7 @@ const applyColorMode = (theme: Theme, mode: string): Theme => { }) } -const BodyStyles = ({ theme }: { theme: Theme }) => +const GlobalStyles = ({ theme }: { theme: Theme }) => jsx(Global, { styles: () => { return createColorStyles(theme) @@ -127,12 +155,14 @@ const BodyStyles = ({ theme }: { theme: Theme }) => export const ColorModeProvider: React.FC = ({ children }) => { const outer = useThemeUI() const [colorMode, setColorMode] = useColorModeState(outer.theme) - const theme = applyColorMode(outer.theme || {}, colorMode) - const emotionTheme = { ...theme } + const theme = applyColorMode(outer.theme || {}, colorMode) if (theme.useCustomProperties !== false) { - emotionTheme.colors = toCustomProperties(emotionTheme.colors, 'colors') - emotionTheme.rawColors = theme.colors + // TODO: This mutation is less than ideal + // I'd rather save custom properties to `theme.colorVars`, + // But it's infeasible to do this because of how the packages are split. + theme.rawColors = theme.colors + theme.colors = toCustomProperties(theme.colors, 'colors') } const context = { ...outer, @@ -142,14 +172,10 @@ export const ColorModeProvider: React.FC = ({ children }) => { } return jsx( - EmotionContext.Provider, - { value: emotionTheme }, - jsx( - Context.Provider, - { value: context }, - jsx(BodyStyles, { key: 'color-mode', theme }), - children - ) + __ThemeUIInternalBaseThemeProvider, + { context }, + jsx(GlobalStyles, { key: 'color-mode', theme }), + children ) } diff --git a/packages/core/src/index.ts b/packages/core/src/index.ts index 190ea8b10..4b99de7e2 100644 --- a/packages/core/src/index.ts +++ b/packages/core/src/index.ts @@ -69,12 +69,15 @@ export interface ThemeUIContextValue { theme: Theme } -export const Context = React.createContext({ +/** + * @internal + */ +export const __ThemeUIContext = React.createContext({ __EMOTION_VERSION__, theme: {}, }) -export const useThemeUI = () => React.useContext(Context) +export const useThemeUI = () => React.useContext(__ThemeUIContext) const canUseSymbol = typeof Symbol === 'function' && Symbol.for @@ -111,11 +114,17 @@ merge.all = mergeAll interface BaseProviderProps { context: ThemeUIContextValue } -const BaseProvider: React.FC = ({ context, children }) => +/** + * @internal + */ +export const __ThemeUIInternalBaseThemeProvider: React.FC = ({ + context, + children, +}) => jsx( EmotionContext.Provider, { value: context.theme }, - jsx(Context.Provider, { + jsx(__ThemeUIContext.Provider, { value: context, children, }) @@ -144,5 +153,5 @@ export function ThemeProvider({ theme, children }: ThemeProviderProps) { ? { ...outer, theme: theme(outer.theme) } : merge.all({}, outer, { theme }) - return jsx(BaseProvider, { context }, children) + return jsx(__ThemeUIInternalBaseThemeProvider, { context }, children) } diff --git a/packages/core/test/index.tsx b/packages/core/test/index.tsx index 39e70f457..d67cdefc2 100644 --- a/packages/core/test/index.tsx +++ b/packages/core/test/index.tsx @@ -5,7 +5,7 @@ import { matchers } from '@emotion/jest' import mockConsole from 'jest-mock-console' import { jsx, - Context, + __ThemeUIContext, useThemeUI, merge, ThemeProvider, @@ -30,13 +30,13 @@ describe('ThemeProvider', () => { test('warns when multiple versions of emotion are installed', () => { const restore = mockConsole() const json = renderJSON( - Conflicting versions - + ) expect(console.warn).toBeCalled() restore() diff --git a/packages/docs/package.json b/packages/docs/package.json index 78ee42c14..5e459654a 100644 --- a/packages/docs/package.json +++ b/packages/docs/package.json @@ -16,7 +16,7 @@ "icon": "npx repng src/components/logo.js -d static -f icon.png -w=32 -h=32 --props='{\"size\":32}'" }, "dependencies": { - "@emotion/react": "^11.1.1", + "@emotion/react": "11.1.1", "@emotion/styled": "^11.0.0", "@mdx-js/mdx": "^1.6.22", "@mdx-js/react": "^1.6.22", @@ -91,5 +91,8 @@ }, "devDependencies": { "@babel/register": "^7.8.6" + }, + "resolutions": { + "@emotion/react": "11.1.1" } } diff --git a/packages/docs/src/components/debug-theme.js b/packages/docs/src/components/debug-theme.js index b727cce80..4c3cefcc5 100644 --- a/packages/docs/src/components/debug-theme.js +++ b/packages/docs/src/components/debug-theme.js @@ -1,8 +1,7 @@ /** @jsx jsx */ -import { jsx, Context } from 'theme-ui' -import { useContext } from 'react' +import { jsx, useThemeUI } from 'theme-ui' -export default (props) => { - const theme = useContext(Context) +export default () => { + const theme = useThemeUI() return
 }
diff --git a/packages/docs/src/components/google-fonts.js b/packages/docs/src/components/google-fonts.js
index 2a20fcce7..4812266d5 100644
--- a/packages/docs/src/components/google-fonts.js
+++ b/packages/docs/src/components/google-fonts.js
@@ -1,6 +1,6 @@
 // for development only
 import { useEffect, useContext } from 'react'
-import { Context } from 'theme-ui'
+import { useThemeUI } from 'theme-ui'
 
 const parseTypographyGoogleFonts = (typography) => {
   const { googleFonts } = typography.options
@@ -15,7 +15,7 @@ const parseTypographyGoogleFonts = (typography) => {
 }
 
 export default (props) => {
-  const { theme } = useContext(Context)
+  const { theme } = useThemeUI()
   if (!theme.typography) return false
   const href = parseTypographyGoogleFonts(theme.typography)
   useEffect(() => {
diff --git a/packages/docs/src/components/layout.js b/packages/docs/src/components/layout.js
index d6e3f40db..301b6e4aa 100644
--- a/packages/docs/src/components/layout.js
+++ b/packages/docs/src/components/layout.js
@@ -29,8 +29,11 @@ const getModeName = (mode) => {
       return 'Deep'
     case 'swiss':
       return 'Swiss'
+    case 'light':
     case 'default':
       return 'Light'
+    case undefined:
+      return '         '
     default:
       return mode
   }
@@ -92,6 +95,7 @@ export default (props) => {
               
+  }))
+}
+
+// OUTPUT
+
+
+
+
+// ...
+```
+
+
+
+For more info, [see the migration guide](/migrating/#breaking-changes)
+
+
 
 ## Setting the color mode
 
-Use the `useColorMode` hook in your application to change the color mode.
-This value will be stored in `localStorage` and used whenever the page is loaded.
+Use the `useColorMode` hook in your application to change the color mode. This
+value will be stored in `localStorage` and used whenever the page is loaded.
 
 ```jsx
 import { useColorMode } from 'theme-ui'
@@ -56,7 +163,8 @@ export default (props) => {
 
 ## Applying colors
 
-The ThemeProvider component will automatically apply color mode styles to the `` element.
+The ThemeProvider component will automatically apply color mode styles to the
+`` element.
 
 ```jsx
 import { ThemeProvider } from 'theme-ui'
@@ -68,18 +176,23 @@ export default (props) => (
 ```
 
 - To disable this behavior, add the `useBodyStyles: false` flag to your theme.
-- Additionally, to apply styles to the `` element instead, add the `useRootStyles` flag. It works the same way as and will override `useBodyStyles`.
+- Additionally, to apply styles to the `` element instead, add the
+  `useRootStyles` flag. It works the same way as and will override
+  `useBodyStyles`.
 
 ## Gatsby plugin
 
-For use in a Gatsby site, install and use `gatsby-plugin-theme-ui` to add the ThemeProvider to the root of your application.
-The plugin will also help prevent the flash of colors that can happen during page load when a user has a non-default color mode set.
+For use in a Gatsby site, install and use `gatsby-plugin-theme-ui` to add the
+ThemeProvider to the root of your application. The plugin will also help prevent
+the flash of colors that can happen during page load when a user has a
+non-default color mode set.
 
 ```sh
 npm i gatsby-plugin-theme-ui
 ```
 
-This plugin will look for a `src/gatsby-plugin-theme-ui/index.js` file to import and pass to the ThemeProvider.
+This plugin will look for a `src/gatsby-plugin-theme-ui/index.js` file to import
+and pass to the ThemeProvider.
 
 ```js filename=gatsby-config.js
 module.exports = {
@@ -95,10 +208,9 @@ Theme UI includes a few advanced usage options for color modes.
 
 ### Turn off custom properties
 
-Theme UI uses
-[CSS custom properties](https://caniuse.com/#feat=css-variables)
-under the hood to help prevent the flash of color on load.
-If you're targeting browsers that don't support custom properties you can turn off this setting.
+Theme UI uses [CSS custom properties](https://caniuse.com/#feat=css-variables)
+under the hood to help prevent the flash of color on load. If you're targeting
+browsers that don't support custom properties you can turn off this setting.
 This will cause the colors to flash on initial page load.
 
 ```js
@@ -122,12 +234,12 @@ This will cause the colors to flash on initial page load.
 
 ### Responding to the `prefers-color-scheme` media query
 
-The `useColorSchemeMediaQuery` configuration option on the theme
-initializes a color mode based on the `prefers-color-scheme` media query.
-This will set the initial color mode to `dark` when `@media (prefers-color-scheme: dark)` matches,
-or `light` when `@media (prefers-color-scheme: light)` matches.
-If you do not have a color mode named `dark` or `light`, this will have no effect.
-This is enabled by default.
+The `useColorSchemeMediaQuery` configuration option on the theme initializes a
+color mode based on the `prefers-color-scheme` media query. This will set the
+initial color mode to `dark` when `@media (prefers-color-scheme: dark)` matches,
+or `light` when `@media (prefers-color-scheme: light)` matches. If you do not
+have a color mode named `dark` or `light`, this will have no effect. This is
+enabled by default.
 
 ```js
 {
@@ -174,8 +286,8 @@ mode to be used on printing, set that color mode with the configuration option
 `printColorModeName`, set to one of your `colors.modes` names, the
 `initialColorModeName` value, or the string `'initial'`.
 
-This option sets your color mode in the `@media print` media query, so there’s no
-additional client-side JavaScript for printing.
+This option sets your color mode in the `@media print` media query, so there’s
+no additional client-side JavaScript for printing.
 
 ```js
 {

From 3751b7b8dd21ce7c10ef6b9265a22807c7b8bed8 Mon Sep 17 00:00:00 2001
From: Francis Champagne 
Date: Wed, 21 Apr 2021 17:10:45 -0400
Subject: [PATCH 258/377] docs: improve docs

---
 packages/docs/src/pages/color-modes.mdx | 20 +++++++-------------
 1 file changed, 7 insertions(+), 13 deletions(-)

diff --git a/packages/docs/src/pages/color-modes.mdx b/packages/docs/src/pages/color-modes.mdx
index a03ace5dd..ce15ff2f0 100644
--- a/packages/docs/src/pages/color-modes.mdx
+++ b/packages/docs/src/pages/color-modes.mdx
@@ -104,17 +104,16 @@ export default (props) => (
 
 #### With Theme UI context
 
-Use the `useThemeUI` hook to access the context object directly in a component.
+Use the [`useThemeUI`](/hooks#usethemeui) hook to access the context object
+directly in a component.
 
 ```jsx
 import { useThemeUI } from 'theme-ui'
 
 export default (props) => {
-  const context = useColorMode(null)
-  const { setColorMode } = context
-  const { rawColors: colors } = context.theme
+  const { theme: { rawColors }, setColorMode } = useThemeUI()
 
-  return Object.entries(colors?.modes).map(([mode, values]) => ({
+  return Object.entries(rawColors?.modes).map(([mode, values]) => ({
     

From 9d15c4bc253e85996865f1fea9e4472b58d312ee Mon Sep 17 00:00:00 2001
From: hasparus 
Date: Wed, 28 Apr 2021 23:07:22 +0200
Subject: [PATCH 267/377] test: read root styles from html element

---
 packages/color-modes/test/index.tsx    | 6 +++---
 packages/theme-provider/test/index.tsx | 7 ++++---
 2 files changed, 7 insertions(+), 6 deletions(-)

diff --git a/packages/color-modes/test/index.tsx b/packages/color-modes/test/index.tsx
index ba4285b8a..4fe71bbd8 100644
--- a/packages/color-modes/test/index.tsx
+++ b/packages/color-modes/test/index.tsx
@@ -247,7 +247,7 @@ test('does not initialize mode based on localStorage if useLocalStorage is set t
 })
 
 test('retains initial context', () => {
-  let context: ThemeUIContextValue | undefined = undefined;
+  let context: ThemeUIContextValue | undefined = undefined
   const Consumer = () => {
     context = useThemeUI()
     return null
@@ -399,7 +399,7 @@ test('ColorModeProvider renders with global colors', () => {
       
     
   )
-  const style = window.getComputedStyle(root.baseElement)
+  const style = window.getComputedStyle(root.baseElement.parentElement!)
   expect(style.color).toBe('tomato')
   expect(style.backgroundColor).toBe('black')
 })
@@ -490,7 +490,7 @@ test('emotion useTheme with custom css vars', () => {
   expect(cssVarsColors?.text).toBe('var(--theme-ui-colors-text)')
   expect(cssVarsColors?.background).toBe('var(--theme-ui-colors-background)')
 
-  expect(orignalColors?.text).toBe('limegreen') 
+  expect(orignalColors?.text).toBe('limegreen')
   expect(orignalColors?.background).toBe('#111')
 })
 
diff --git a/packages/theme-provider/test/index.tsx b/packages/theme-provider/test/index.tsx
index 5b4b157d4..cb65ef461 100644
--- a/packages/theme-provider/test/index.tsx
+++ b/packages/theme-provider/test/index.tsx
@@ -136,7 +136,8 @@ test('renders global styles', () => {
       

Hello

) - const style = window.getComputedStyle(root.baseElement) + + const style = window.getComputedStyle(root.baseElement.parentElement!) expect(style.fontFamily).toBe('Georgia,serif') expect(style.fontWeight).toBe('500') expect(style.lineHeight).toBe('1.5') @@ -148,7 +149,7 @@ test('resets body margin', () => {

Hello

) - const style = window.getComputedStyle(root.baseElement) + const style = window.getComputedStyle(root.baseElement.parentElement!) expect(style.margin).toBe('0px') }) @@ -158,7 +159,7 @@ test('does not render invalid global styles', () => {

Hello

) - const style = window.getComputedStyle(root.baseElement) + const style = window.getComputedStyle(root.baseElement.parentElement!) expect(style.fontFamily).toBe('') expect(style.fontWeight).toBe('') expect(style.lineHeight).toBe('') From ce3c9958e3998cd20299cd08f8b5945c95d9139f Mon Sep 17 00:00:00 2001 From: Francis Champagne Date: Wed, 28 Apr 2021 17:08:53 -0400 Subject: [PATCH 268/377] docs: add specificity to __default comment --- packages/docs/src/pages/color-modes.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/docs/src/pages/color-modes.mdx b/packages/docs/src/pages/color-modes.mdx index 0297058e6..473e361ff 100644 --- a/packages/docs/src/pages/color-modes.mdx +++ b/packages/docs/src/pages/color-modes.mdx @@ -55,7 +55,7 @@ be accessible as rawColors: { primary: '#07c', modes: { - // __default: {}, initialColorModeName is defined + // __default: {}, no '__default' here as initialColorModeName is defined light: { primary: '#07c' }, dark: { primary: '#0cf' } } From a6b2984322e1793032ae94b2f9f70db41b862709 Mon Sep 17 00:00:00 2001 From: Francis Champagne <46095852+fcisio@users.noreply.github.com> Date: Wed, 28 Apr 2021 17:09:26 -0400 Subject: [PATCH 269/377] Update packages/docs/src/pages/color-modes.mdx Co-authored-by: Piotr Monwid-Olechnowicz --- packages/docs/src/pages/color-modes.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/docs/src/pages/color-modes.mdx b/packages/docs/src/pages/color-modes.mdx index 473e361ff..52bdd3f80 100644 --- a/packages/docs/src/pages/color-modes.mdx +++ b/packages/docs/src/pages/color-modes.mdx @@ -37,7 +37,7 @@ and `dark`. ## Initial colors -The colors defined at the root of the `colors` are tranformed upon `colorMode` +The colors defined at the root of the `colors` are swapped out whenever the color mode changes change. This is to allow for reference like `theme.colors.primary` to return: - `colors.primary`, when the color mode is set to its initial mode From f6f987c8fb5f5d2f882f24435454e05b9c593f8a Mon Sep 17 00:00:00 2001 From: Piotr Monwid-Olechnowicz Date: Wed, 28 Apr 2021 23:11:47 +0200 Subject: [PATCH 270/377] docs: useColorSchemeMediaQuery defaults to true --- packages/docs/src/pages/theming.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/docs/src/pages/theming.mdx b/packages/docs/src/pages/theming.mdx index 7d2775f57..deb7555ca 100644 --- a/packages/docs/src/pages/theming.mdx +++ b/packages/docs/src/pages/theming.mdx @@ -176,7 +176,7 @@ The theme object can also include configuration options for Theme UI. The follow | `useRootStyles` | `false` | Adds styles defined in `theme.styles.root` to the `` element along with `color` and `background-color` | | `useBodyStyles` | `true` | (Will be deprecated in future) Adds styles defined in `theme.styles.root` to the `` element along with `color` and `background-color` | | `initialColorModeName` | `'default'` | The key used for the top-level color palette in `theme.colors` | -| `useColorSchemeMediaQuery` | `false` | Initializes the color mode based on the `prefers-color-scheme` media query | +| `useColorSchemeMediaQuery` | `true` | Initializes the color mode based on the `prefers-color-scheme` media query | | `useBorderBox` | `true` | Adds a global `box-sizing: border-box` style | | `useLocalStorage` | `true` | Persists the color mode in `localStorage` | From 5a5b29a8ace1b9eda47bb4cd77d9081324d7ed81 Mon Sep 17 00:00:00 2001 From: Piotr Monwid-Olechnowicz Date: Wed, 28 Apr 2021 23:16:04 +0200 Subject: [PATCH 271/377] chore(changelog): stop scaring people that we removed config options Co-authored-by: Lachlan Campbell --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d607bce93..3f190ee4d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,7 +10,7 @@ - **Deprecations:** `useRootStyles`, `useCustomProperties`, `useColorSchemeMediaQuery`, `useBorderBox`, and `useLocalStorage` options on - the theme object are now deprecated, and they will be removed in a future + the theme object are now scoped under a `config` object on the theme, and the root-level options, now deprecated, will be removed in a future release. All these options are still supported, but they're grouped under From 1c966f3d8b65a39b6523dcb7eec4fc3106f3e3cd Mon Sep 17 00:00:00 2001 From: Piotr Monwid-Olechnowicz Date: Wed, 28 Apr 2021 23:16:19 +0200 Subject: [PATCH 272/377] chore: Update CHANGELOG.md Co-authored-by: Lachlan Campbell --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3f190ee4d..2b9ba7acb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -19,7 +19,7 @@ - ⚠ All config options should be migrated at once. If Theme UI sees `theme.config` exists, it won't look for options on the `theme`. -- **Removed APIs deprecated in 0.6.0** +- **Removed APIs, previously deprecated in 0.6.0** - `theme.useBodyStyles` ⟶ `theme.config.useRootStyles` - `Styled` ⟶ `Themed` From ee82811c232a88dea1f9626595361fc9ef981691 Mon Sep 17 00:00:00 2001 From: Piotr Monwid-Olechnowicz Date: Wed, 28 Apr 2021 21:19:13 +0000 Subject: [PATCH 273/377] Update CHANGELOG.md [skip ci] --- CHANGELOG.md | 20 +++++++++++++++++++ packages/color-modes/CHANGELOG.md | 12 +++++++++++ packages/color/CHANGELOG.md | 12 +++++++++++ packages/components/CHANGELOG.md | 12 +++++++++++ packages/core/CHANGELOG.md | 12 +++++++++++ packages/css/CHANGELOG.md | 19 ++++++++++++++++++ packages/custom-properties/CHANGELOG.md | 12 +++++++++++ packages/editor/CHANGELOG.md | 12 +++++++++++ .../gatsby-theme-style-guide/CHANGELOG.md | 12 +++++++++++ packages/match-media/CHANGELOG.md | 12 +++++++++++ packages/mdx/CHANGELOG.md | 12 +++++++++++ packages/parse-props/CHANGELOG.md | 12 +++++++++++ packages/preset-sketchy/CHANGELOG.md | 12 +++++++++++ packages/presets/CHANGELOG.md | 12 +++++++++++ packages/prism/CHANGELOG.md | 12 +++++++++++ packages/sidenav/CHANGELOG.md | 12 +++++++++++ packages/style-guide/CHANGELOG.md | 12 +++++++++++ packages/tachyons/CHANGELOG.md | 12 +++++++++++ packages/tailwind/CHANGELOG.md | 12 +++++++++++ packages/theme-provider/CHANGELOG.md | 12 +++++++++++ packages/theme-ui/CHANGELOG.md | 12 +++++++++++ packages/typography/CHANGELOG.md | 12 +++++++++++ 22 files changed, 279 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index ac0030ab4..268b9cb01 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,23 @@ +# v0.7.5 (Wed Apr 28 2021) + +#### 🐛 Bug Fix + +- `@theme-ui/css` + - Add 6 border logical color properties to scales [#1668](https://github.com/system-ui/theme-ui/pull/1668) ([@lachlanjc](https://github.com/lachlanjc)) + +#### ⚠️ Pushed to `stable` + +- docs: useColorSchemeMediaQuery defaults to true ([@hasparus](https://github.com/hasparus)) +- `@theme-ui/css` + - Merge branch 'develop' into stable ([@hasparus](https://github.com/hasparus)) + +#### Authors: 2 + +- Lachlan Campbell ([@lachlanjc](https://github.com/lachlanjc)) +- Piotr Monwid-Olechnowicz ([@hasparus](https://github.com/hasparus)) + +--- + # v0.7.4 (Tue Apr 27 2021) #### 🐛 Bug Fix diff --git a/packages/color-modes/CHANGELOG.md b/packages/color-modes/CHANGELOG.md index 1112145dc..6fbb681a0 100644 --- a/packages/color-modes/CHANGELOG.md +++ b/packages/color-modes/CHANGELOG.md @@ -1,3 +1,15 @@ +# v0.7.5 (Wed Apr 28 2021) + +#### ⚠️ Pushed to `stable` + +- Merge branch 'develop' into stable ([@hasparus](https://github.com/hasparus)) + +#### Authors: 1 + +- Piotr Monwid-Olechnowicz ([@hasparus](https://github.com/hasparus)) + +--- + # v0.7.0 (Thu Apr 15 2021) #### 🚀 Enhancement diff --git a/packages/color/CHANGELOG.md b/packages/color/CHANGELOG.md index feaa41116..a5bc60856 100644 --- a/packages/color/CHANGELOG.md +++ b/packages/color/CHANGELOG.md @@ -1,3 +1,15 @@ +# v0.7.5 (Wed Apr 28 2021) + +#### ⚠️ Pushed to `stable` + +- Merge branch 'develop' into stable ([@hasparus](https://github.com/hasparus)) + +#### Authors: 1 + +- Piotr Monwid-Olechnowicz ([@hasparus](https://github.com/hasparus)) + +--- + # v0.7.0 (Thu Apr 15 2021) #### 🚀 Enhancement diff --git a/packages/components/CHANGELOG.md b/packages/components/CHANGELOG.md index b987478f8..3e05423f2 100644 --- a/packages/components/CHANGELOG.md +++ b/packages/components/CHANGELOG.md @@ -1,3 +1,15 @@ +# v0.7.5 (Wed Apr 28 2021) + +#### ⚠️ Pushed to `stable` + +- Merge branch 'develop' into stable ([@hasparus](https://github.com/hasparus)) + +#### Authors: 1 + +- Piotr Monwid-Olechnowicz ([@hasparus](https://github.com/hasparus)) + +--- + # v0.7.1 (Mon Apr 19 2021) :tada: This release contains work from a new contributor! :tada: diff --git a/packages/core/CHANGELOG.md b/packages/core/CHANGELOG.md index bb9e05b04..d85f06030 100644 --- a/packages/core/CHANGELOG.md +++ b/packages/core/CHANGELOG.md @@ -1,3 +1,15 @@ +# v0.7.5 (Wed Apr 28 2021) + +#### ⚠️ Pushed to `stable` + +- Merge branch 'develop' into stable ([@hasparus](https://github.com/hasparus)) + +#### Authors: 1 + +- Piotr Monwid-Olechnowicz ([@hasparus](https://github.com/hasparus)) + +--- + # v0.7.0 (Thu Apr 15 2021) #### 🚀 Enhancement diff --git a/packages/css/CHANGELOG.md b/packages/css/CHANGELOG.md index 225f5a4f7..ccb47407b 100644 --- a/packages/css/CHANGELOG.md +++ b/packages/css/CHANGELOG.md @@ -1,3 +1,22 @@ +# v0.7.5 (Wed Apr 28 2021) + +#### 🐛 Bug Fix + +- Add 6 border logical color properties to scales [#1668](https://github.com/system-ui/theme-ui/pull/1668) ([@lachlanjc](https://github.com/lachlanjc)) +- Add inline properties ([@lachlanjc](https://github.com/lachlanjc)) +- Add 3 border logical color properties to scales ([@lachlanjc](https://github.com/lachlanjc)) + +#### ⚠️ Pushed to `stable` + +- Merge branch 'develop' into stable ([@hasparus](https://github.com/hasparus)) + +#### Authors: 2 + +- Lachlan Campbell ([@lachlanjc](https://github.com/lachlanjc)) +- Piotr Monwid-Olechnowicz ([@hasparus](https://github.com/hasparus)) + +--- + # v0.7.4 (Tue Apr 27 2021) #### 🐛 Bug Fix diff --git a/packages/custom-properties/CHANGELOG.md b/packages/custom-properties/CHANGELOG.md index feaa41116..a5bc60856 100644 --- a/packages/custom-properties/CHANGELOG.md +++ b/packages/custom-properties/CHANGELOG.md @@ -1,3 +1,15 @@ +# v0.7.5 (Wed Apr 28 2021) + +#### ⚠️ Pushed to `stable` + +- Merge branch 'develop' into stable ([@hasparus](https://github.com/hasparus)) + +#### Authors: 1 + +- Piotr Monwid-Olechnowicz ([@hasparus](https://github.com/hasparus)) + +--- + # v0.7.0 (Thu Apr 15 2021) #### 🚀 Enhancement diff --git a/packages/editor/CHANGELOG.md b/packages/editor/CHANGELOG.md index 1fb57a0f3..fcac4373c 100644 --- a/packages/editor/CHANGELOG.md +++ b/packages/editor/CHANGELOG.md @@ -1,3 +1,15 @@ +# v0.7.5 (Wed Apr 28 2021) + +#### ⚠️ Pushed to `stable` + +- Merge branch 'develop' into stable ([@hasparus](https://github.com/hasparus)) + +#### Authors: 1 + +- Piotr Monwid-Olechnowicz ([@hasparus](https://github.com/hasparus)) + +--- + # v0.7.3 (Wed Apr 21 2021) #### 🔩 Dependency Updates diff --git a/packages/gatsby-theme-style-guide/CHANGELOG.md b/packages/gatsby-theme-style-guide/CHANGELOG.md index 1cbc11464..be34e3ed6 100644 --- a/packages/gatsby-theme-style-guide/CHANGELOG.md +++ b/packages/gatsby-theme-style-guide/CHANGELOG.md @@ -1,3 +1,15 @@ +# v0.7.5 (Wed Apr 28 2021) + +#### ⚠️ Pushed to `stable` + +- Merge branch 'develop' into stable ([@hasparus](https://github.com/hasparus)) + +#### Authors: 1 + +- Piotr Monwid-Olechnowicz ([@hasparus](https://github.com/hasparus)) + +--- + # v0.7.0 (Thu Apr 15 2021) :tada: This release contains work from a new contributor! :tada: diff --git a/packages/match-media/CHANGELOG.md b/packages/match-media/CHANGELOG.md index feaa41116..a5bc60856 100644 --- a/packages/match-media/CHANGELOG.md +++ b/packages/match-media/CHANGELOG.md @@ -1,3 +1,15 @@ +# v0.7.5 (Wed Apr 28 2021) + +#### ⚠️ Pushed to `stable` + +- Merge branch 'develop' into stable ([@hasparus](https://github.com/hasparus)) + +#### Authors: 1 + +- Piotr Monwid-Olechnowicz ([@hasparus](https://github.com/hasparus)) + +--- + # v0.7.0 (Thu Apr 15 2021) #### 🚀 Enhancement diff --git a/packages/mdx/CHANGELOG.md b/packages/mdx/CHANGELOG.md index 49382c190..b5dbc1ac4 100644 --- a/packages/mdx/CHANGELOG.md +++ b/packages/mdx/CHANGELOG.md @@ -1,3 +1,15 @@ +# v0.7.5 (Wed Apr 28 2021) + +#### ⚠️ Pushed to `stable` + +- Merge branch 'develop' into stable ([@hasparus](https://github.com/hasparus)) + +#### Authors: 1 + +- Piotr Monwid-Olechnowicz ([@hasparus](https://github.com/hasparus)) + +--- + # v0.7.0 (Thu Apr 15 2021) #### 🚀 Enhancement diff --git a/packages/parse-props/CHANGELOG.md b/packages/parse-props/CHANGELOG.md index 5ef7bb382..ba95f5329 100644 --- a/packages/parse-props/CHANGELOG.md +++ b/packages/parse-props/CHANGELOG.md @@ -1,3 +1,15 @@ +# v0.7.5 (Wed Apr 28 2021) + +#### ⚠️ Pushed to `stable` + +- Merge branch 'develop' into stable ([@hasparus](https://github.com/hasparus)) + +#### Authors: 1 + +- Piotr Monwid-Olechnowicz ([@hasparus](https://github.com/hasparus)) + +--- + # v0.7.1 (Mon Apr 19 2021) :tada: This release contains work from a new contributor! :tada: diff --git a/packages/preset-sketchy/CHANGELOG.md b/packages/preset-sketchy/CHANGELOG.md index feaa41116..a5bc60856 100644 --- a/packages/preset-sketchy/CHANGELOG.md +++ b/packages/preset-sketchy/CHANGELOG.md @@ -1,3 +1,15 @@ +# v0.7.5 (Wed Apr 28 2021) + +#### ⚠️ Pushed to `stable` + +- Merge branch 'develop' into stable ([@hasparus](https://github.com/hasparus)) + +#### Authors: 1 + +- Piotr Monwid-Olechnowicz ([@hasparus](https://github.com/hasparus)) + +--- + # v0.7.0 (Thu Apr 15 2021) #### 🚀 Enhancement diff --git a/packages/presets/CHANGELOG.md b/packages/presets/CHANGELOG.md index feaa41116..a5bc60856 100644 --- a/packages/presets/CHANGELOG.md +++ b/packages/presets/CHANGELOG.md @@ -1,3 +1,15 @@ +# v0.7.5 (Wed Apr 28 2021) + +#### ⚠️ Pushed to `stable` + +- Merge branch 'develop' into stable ([@hasparus](https://github.com/hasparus)) + +#### Authors: 1 + +- Piotr Monwid-Olechnowicz ([@hasparus](https://github.com/hasparus)) + +--- + # v0.7.0 (Thu Apr 15 2021) #### 🚀 Enhancement diff --git a/packages/prism/CHANGELOG.md b/packages/prism/CHANGELOG.md index 7a9f521e2..432ab2b17 100644 --- a/packages/prism/CHANGELOG.md +++ b/packages/prism/CHANGELOG.md @@ -1,3 +1,15 @@ +# v0.7.5 (Wed Apr 28 2021) + +#### ⚠️ Pushed to `stable` + +- Merge branch 'develop' into stable ([@hasparus](https://github.com/hasparus)) + +#### Authors: 1 + +- Piotr Monwid-Olechnowicz ([@hasparus](https://github.com/hasparus)) + +--- + # v0.7.1 (Mon Apr 19 2021) :tada: This release contains work from a new contributor! :tada: diff --git a/packages/sidenav/CHANGELOG.md b/packages/sidenav/CHANGELOG.md index feaa41116..a5bc60856 100644 --- a/packages/sidenav/CHANGELOG.md +++ b/packages/sidenav/CHANGELOG.md @@ -1,3 +1,15 @@ +# v0.7.5 (Wed Apr 28 2021) + +#### ⚠️ Pushed to `stable` + +- Merge branch 'develop' into stable ([@hasparus](https://github.com/hasparus)) + +#### Authors: 1 + +- Piotr Monwid-Olechnowicz ([@hasparus](https://github.com/hasparus)) + +--- + # v0.7.0 (Thu Apr 15 2021) #### 🚀 Enhancement diff --git a/packages/style-guide/CHANGELOG.md b/packages/style-guide/CHANGELOG.md index d02b3bf2f..5dc29ad1e 100644 --- a/packages/style-guide/CHANGELOG.md +++ b/packages/style-guide/CHANGELOG.md @@ -1,3 +1,15 @@ +# v0.7.5 (Wed Apr 28 2021) + +#### ⚠️ Pushed to `stable` + +- Merge branch 'develop' into stable ([@hasparus](https://github.com/hasparus)) + +#### Authors: 1 + +- Piotr Monwid-Olechnowicz ([@hasparus](https://github.com/hasparus)) + +--- + # v0.7.1 (Mon Apr 19 2021) :tada: This release contains work from a new contributor! :tada: diff --git a/packages/tachyons/CHANGELOG.md b/packages/tachyons/CHANGELOG.md index feaa41116..a5bc60856 100644 --- a/packages/tachyons/CHANGELOG.md +++ b/packages/tachyons/CHANGELOG.md @@ -1,3 +1,15 @@ +# v0.7.5 (Wed Apr 28 2021) + +#### ⚠️ Pushed to `stable` + +- Merge branch 'develop' into stable ([@hasparus](https://github.com/hasparus)) + +#### Authors: 1 + +- Piotr Monwid-Olechnowicz ([@hasparus](https://github.com/hasparus)) + +--- + # v0.7.0 (Thu Apr 15 2021) #### 🚀 Enhancement diff --git a/packages/tailwind/CHANGELOG.md b/packages/tailwind/CHANGELOG.md index feaa41116..a5bc60856 100644 --- a/packages/tailwind/CHANGELOG.md +++ b/packages/tailwind/CHANGELOG.md @@ -1,3 +1,15 @@ +# v0.7.5 (Wed Apr 28 2021) + +#### ⚠️ Pushed to `stable` + +- Merge branch 'develop' into stable ([@hasparus](https://github.com/hasparus)) + +#### Authors: 1 + +- Piotr Monwid-Olechnowicz ([@hasparus](https://github.com/hasparus)) + +--- + # v0.7.0 (Thu Apr 15 2021) #### 🚀 Enhancement diff --git a/packages/theme-provider/CHANGELOG.md b/packages/theme-provider/CHANGELOG.md index a0f7d10e1..db147e2f2 100644 --- a/packages/theme-provider/CHANGELOG.md +++ b/packages/theme-provider/CHANGELOG.md @@ -1,3 +1,15 @@ +# v0.7.5 (Wed Apr 28 2021) + +#### ⚠️ Pushed to `stable` + +- Merge branch 'develop' into stable ([@hasparus](https://github.com/hasparus)) + +#### Authors: 1 + +- Piotr Monwid-Olechnowicz ([@hasparus](https://github.com/hasparus)) + +--- + # v0.7.0 (Thu Apr 15 2021) #### 🚀 Enhancement diff --git a/packages/theme-ui/CHANGELOG.md b/packages/theme-ui/CHANGELOG.md index cf7180b9f..8650d658f 100644 --- a/packages/theme-ui/CHANGELOG.md +++ b/packages/theme-ui/CHANGELOG.md @@ -1,3 +1,15 @@ +# v0.7.5 (Wed Apr 28 2021) + +#### ⚠️ Pushed to `stable` + +- Merge branch 'develop' into stable ([@hasparus](https://github.com/hasparus)) + +#### Authors: 1 + +- Piotr Monwid-Olechnowicz ([@hasparus](https://github.com/hasparus)) + +--- + # v0.7.0 (Thu Apr 15 2021) #### 🚀 Enhancement diff --git a/packages/typography/CHANGELOG.md b/packages/typography/CHANGELOG.md index 4dc71248c..787cd5d08 100644 --- a/packages/typography/CHANGELOG.md +++ b/packages/typography/CHANGELOG.md @@ -1,3 +1,15 @@ +# v0.7.5 (Wed Apr 28 2021) + +#### ⚠️ Pushed to `stable` + +- Merge branch 'develop' into stable ([@hasparus](https://github.com/hasparus)) + +#### Authors: 1 + +- Piotr Monwid-Olechnowicz ([@hasparus](https://github.com/hasparus)) + +--- + # v0.7.0 (Thu Apr 15 2021) #### 🚀 Enhancement From ad3de2b8c54805391983f1c936fa041f304c00fd Mon Sep 17 00:00:00 2001 From: Piotr Monwid-Olechnowicz Date: Wed, 28 Apr 2021 21:19:16 +0000 Subject: [PATCH 274/377] Bump version to: v0.7.5 [skip ci] --- lerna.json | 2 +- packages/color-modes/package.json | 6 ++-- packages/color/package.json | 4 +-- packages/components/package.json | 4 +-- packages/core/package.json | 6 ++-- packages/css/package.json | 2 +- packages/custom-properties/package.json | 4 +-- packages/docs/package.json | 30 +++++++++---------- packages/editor/package.json | 12 ++++---- packages/gatsby-plugin-theme-ui/package.json | 2 +- .../gatsby-theme-code-recipes/package.json | 2 +- .../gatsby-theme-style-guide/package.json | 6 ++-- packages/gatsby-theme-ui-layout/package.json | 2 +- packages/match-media/package.json | 6 ++-- packages/mdx/package.json | 6 ++-- packages/parse-props/package.json | 4 +-- packages/preset-base/package.json | 2 +- packages/preset-bootstrap/package.json | 2 +- packages/preset-bulma/package.json | 4 +-- packages/preset-dark/package.json | 2 +- packages/preset-deep/package.json | 2 +- packages/preset-funk/package.json | 4 +-- packages/preset-future/package.json | 4 +-- packages/preset-polaris/package.json | 4 +-- packages/preset-roboto/package.json | 4 +-- packages/preset-sketchy/package.json | 4 +-- packages/preset-swiss/package.json | 2 +- packages/preset-system/package.json | 2 +- packages/preset-tailwind/package.json | 2 +- packages/preset-tosh/package.json | 2 +- packages/presets/package.json | 30 +++++++++---------- packages/prism/package.json | 4 +-- packages/sidenav/package.json | 4 +-- packages/style-guide/package.json | 6 ++-- packages/tachyons/package.json | 4 +-- packages/tailwind/package.json | 4 +-- packages/test-utils/package.json | 2 +- packages/theme-provider/package.json | 10 +++---- packages/theme-ui/package.json | 14 ++++----- packages/typography/package.json | 4 +-- 40 files changed, 110 insertions(+), 110 deletions(-) diff --git a/lerna.json b/lerna.json index a40de8f41..888521c40 100644 --- a/lerna.json +++ b/lerna.json @@ -1,5 +1,5 @@ { - "version": "0.7.4", + "version": "0.7.5", "npmClient": "yarn", "useWorkspaces": true, "packages": [ diff --git a/packages/color-modes/package.json b/packages/color-modes/package.json index 816fd9ce6..b5963250e 100644 --- a/packages/color-modes/package.json +++ b/packages/color-modes/package.json @@ -1,6 +1,6 @@ { "name": "@theme-ui/color-modes", - "version": "0.7.4", + "version": "0.7.5", "main": "dist/theme-ui-color-modes.cjs.js", "module": "dist/theme-ui-color-modes.esm.js", "types": "dist/theme-ui-color-modes.cjs.d.ts", @@ -15,8 +15,8 @@ }, "dependencies": { "@emotion/react": "^11.1.1", - "@theme-ui/core": "0.7.4", - "@theme-ui/css": "0.7.4", + "@theme-ui/core": "0.7.5", + "@theme-ui/css": "0.7.5", "deepmerge": "^4.2.2" }, "peerDependencies": { diff --git a/packages/color/package.json b/packages/color/package.json index 7b62c7c62..95431b3b7 100644 --- a/packages/color/package.json +++ b/packages/color/package.json @@ -1,13 +1,13 @@ { "name": "@theme-ui/color", - "version": "0.7.4", + "version": "0.7.5", "source": "src/index.ts", "main": "dist/theme-ui-color.cjs.js", "module": "dist/theme-ui-color.esm.js", "types": "dist/theme-ui-color.cjs.d.ts", "scripts": {}, "dependencies": { - "@theme-ui/css": "0.7.4", + "@theme-ui/css": "0.7.5", "polished": "^4.0.5" }, "publishConfig": { diff --git a/packages/components/package.json b/packages/components/package.json index 347060136..a312d2fd1 100644 --- a/packages/components/package.json +++ b/packages/components/package.json @@ -1,6 +1,6 @@ { "name": "@theme-ui/components", - "version": "0.7.4", + "version": "0.7.5", "main": "dist/theme-ui-components.cjs.js", "module": "dist/theme-ui-components.esm.js", "types": "index.d.ts", @@ -12,7 +12,7 @@ "@styled-system/color": "^5.1.2", "@styled-system/should-forward-prop": "^5.1.2", "@styled-system/space": "^5.1.2", - "@theme-ui/css": "0.7.4", + "@theme-ui/css": "0.7.5", "@types/styled-system": "^5.1.10" }, "peerDependencies": { diff --git a/packages/core/package.json b/packages/core/package.json index 2dd70a068..870eb4914 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@theme-ui/core", - "version": "0.7.4", + "version": "0.7.5", "source": "src/index.ts", "main": "dist/theme-ui-core.cjs.js", "module": "dist/theme-ui-core.esm.js", @@ -15,8 +15,8 @@ }, "dependencies": { "@emotion/react": "^11.1.1", - "@theme-ui/css": "0.7.4", - "@theme-ui/parse-props": "0.7.4", + "@theme-ui/css": "0.7.5", + "@theme-ui/parse-props": "0.7.5", "deepmerge": "^4.2.2" }, "peerDependencies": { diff --git a/packages/css/package.json b/packages/css/package.json index 6267dbf46..67d025052 100644 --- a/packages/css/package.json +++ b/packages/css/package.json @@ -1,6 +1,6 @@ { "name": "@theme-ui/css", - "version": "0.7.4", + "version": "0.7.5", "source": "src/index.ts", "main": "dist/theme-ui-css.cjs.js", "module": "dist/theme-ui-css.esm.js", diff --git a/packages/custom-properties/package.json b/packages/custom-properties/package.json index 39e5cdeca..e6503ef3e 100644 --- a/packages/custom-properties/package.json +++ b/packages/custom-properties/package.json @@ -1,7 +1,7 @@ { "name": "@theme-ui/custom-properties", "description": "Generate CSS custom properties for use with Theme UI", - "version": "0.7.4", + "version": "0.7.5", "source": "src/index.ts", "main": "dist/theme-ui-custom-properties.cjs.js", "module": "dist/theme-ui-custom-properties.esm.js", @@ -15,7 +15,7 @@ "pluralize": "^8.0.0" }, "devDependencies": { - "@theme-ui/css": "0.7.4", + "@theme-ui/css": "0.7.5", "@types/pluralize": "^0.0.29" }, "gitHead": "621199460fa3bdb0100748441e62517b7529b8c8" diff --git a/packages/docs/package.json b/packages/docs/package.json index 8a13cea9c..6c5bd8e17 100644 --- a/packages/docs/package.json +++ b/packages/docs/package.json @@ -1,7 +1,7 @@ { "private": true, "name": "docs", - "version": "0.7.4", + "version": "0.7.5", "main": "dist/docs.cjs.js", "author": "Brent Jackson ", "license": "MIT", @@ -20,16 +20,16 @@ "@emotion/styled": "^11.0.0", "@mdx-js/mdx": "^1.6.22", "@mdx-js/react": "^1.6.22", - "@theme-ui/color": "0.7.4", - "@theme-ui/components": "0.7.4", - "@theme-ui/css": "0.7.4", - "@theme-ui/editor": "0.7.4", - "@theme-ui/match-media": "0.7.4", - "@theme-ui/presets": "0.7.4", - "@theme-ui/prism": "0.7.4", - "@theme-ui/sidenav": "0.7.4", - "@theme-ui/style-guide": "0.7.4", - "@theme-ui/typography": "0.7.4", + "@theme-ui/color": "0.7.5", + "@theme-ui/components": "0.7.5", + "@theme-ui/css": "0.7.5", + "@theme-ui/editor": "0.7.5", + "@theme-ui/match-media": "0.7.5", + "@theme-ui/presets": "0.7.5", + "@theme-ui/prism": "0.7.5", + "@theme-ui/sidenav": "0.7.5", + "@theme-ui/style-guide": "0.7.5", + "@theme-ui/typography": "0.7.5", "copy-to-clipboard": "^3.2.0", "eslint-config-react-app": "^6.0.0", "gatsby": "^2.26.1", @@ -37,9 +37,9 @@ "gatsby-plugin-compile-es6-packages": "^2.1.0", "gatsby-plugin-mdx": "^2.0.1", "gatsby-plugin-react-helmet": "^3.4.0", - "gatsby-plugin-theme-ui": "0.7.4", - "gatsby-theme-code-recipes": "0.7.4", - "gatsby-theme-style-guide": "0.7.4", + "gatsby-plugin-theme-ui": "0.7.5", + "gatsby-theme-code-recipes": "0.7.5", + "gatsby-theme-style-guide": "0.7.5", "lodash.merge": "^4.6.1", "lodash.omit": "^4.5.0", "prismjs": "^1.16.0", @@ -49,7 +49,7 @@ "react-live": "^2.1.2", "remark-slug": "^6.0.0", "stringify-object": "^3.3.0", - "theme-ui": "0.7.4", + "theme-ui": "0.7.5", "typography-theme-alton": "^0.16.19", "typography-theme-anonymous": "^0.15.10", "typography-theme-bootstrap": "^0.16.19", diff --git a/packages/editor/package.json b/packages/editor/package.json index 10a64d8c9..50cdf5fa3 100644 --- a/packages/editor/package.json +++ b/packages/editor/package.json @@ -1,6 +1,6 @@ { "name": "@theme-ui/editor", - "version": "0.7.4", + "version": "0.7.5", "main": "dist/theme-ui-editor.cjs.js", "module": "dist/theme-ui-editor.esm.js", "types": "dist/theme-ui-editor.cjs.d.ts", @@ -8,10 +8,10 @@ "license": "MIT", "scripts": {}, "dependencies": { - "@theme-ui/components": "0.7.4", - "@theme-ui/core": "0.7.4", - "@theme-ui/css": "0.7.4", - "@theme-ui/style-guide": "0.7.4", + "@theme-ui/components": "0.7.5", + "@theme-ui/core": "0.7.5", + "@theme-ui/css": "0.7.5", + "@theme-ui/style-guide": "0.7.5", "@types/react-color": "^2.17.3", "@types/tinycolor": "^1.1", "color": "^3.1.2", @@ -27,7 +27,7 @@ }, "devDependencies": { "react": "^17.0.1", - "theme-ui": "0.7.4" + "theme-ui": "0.7.5" }, "publishConfig": { "access": "public" diff --git a/packages/gatsby-plugin-theme-ui/package.json b/packages/gatsby-plugin-theme-ui/package.json index 5d52383bb..d428d6229 100644 --- a/packages/gatsby-plugin-theme-ui/package.json +++ b/packages/gatsby-plugin-theme-ui/package.json @@ -1,6 +1,6 @@ { "name": "gatsby-plugin-theme-ui", - "version": "0.7.4", + "version": "0.7.5", "main": "dist/gatsby-plugin-theme-ui.cjs.js", "author": "Brent Jackson", "license": "MIT", diff --git a/packages/gatsby-theme-code-recipes/package.json b/packages/gatsby-theme-code-recipes/package.json index 3aecb183a..4a9dbe8ba 100644 --- a/packages/gatsby-theme-code-recipes/package.json +++ b/packages/gatsby-theme-code-recipes/package.json @@ -1,6 +1,6 @@ { "name": "gatsby-theme-code-recipes", - "version": "0.7.4", + "version": "0.7.5", "main": "dist/gatsby-theme-code-recipes.cjs.js", "license": "MIT", "peerDependencies": { diff --git a/packages/gatsby-theme-style-guide/package.json b/packages/gatsby-theme-style-guide/package.json index a1c208668..58b4c013b 100644 --- a/packages/gatsby-theme-style-guide/package.json +++ b/packages/gatsby-theme-style-guide/package.json @@ -1,6 +1,6 @@ { "name": "gatsby-theme-style-guide", - "version": "0.7.4", + "version": "0.7.5", "main": "dist/gatsby-theme-style-guide.cjs.js", "license": "MIT", "peerDependencies": { @@ -14,8 +14,8 @@ "react-dom": "^17.0.1" }, "dependencies": { - "@theme-ui/style-guide": "0.7.4", - "theme-ui": "0.7.4" + "@theme-ui/style-guide": "0.7.5", + "theme-ui": "0.7.5" }, "gitHead": "621199460fa3bdb0100748441e62517b7529b8c8" } diff --git a/packages/gatsby-theme-ui-layout/package.json b/packages/gatsby-theme-ui-layout/package.json index a8de097a0..f8ba7a9aa 100644 --- a/packages/gatsby-theme-ui-layout/package.json +++ b/packages/gatsby-theme-ui-layout/package.json @@ -1,6 +1,6 @@ { "name": "gatsby-theme-ui-layout", - "version": "0.7.4", + "version": "0.7.5", "main": "dist/gatsby-theme-ui-layout.cjs.js", "repository": "system-ui/theme-ui", "peerDependencies": { diff --git a/packages/match-media/package.json b/packages/match-media/package.json index 7338cb57d..b236d43c4 100644 --- a/packages/match-media/package.json +++ b/packages/match-media/package.json @@ -1,6 +1,6 @@ { "name": "@theme-ui/match-media", - "version": "0.7.4", + "version": "0.7.5", "description": "React hooks for theme-ui breakpoints", "source": "src/index.ts", "main": "dist/theme-ui-match-media.cjs.js", @@ -13,8 +13,8 @@ "access": "public" }, "devDependencies": { - "@theme-ui/core": "0.7.4", - "@theme-ui/css": "0.7.4", + "@theme-ui/core": "0.7.5", + "@theme-ui/css": "0.7.5", "react": "^17.0.1" }, "peerDependencies": { diff --git a/packages/mdx/package.json b/packages/mdx/package.json index 1324f042e..a6c9673cd 100644 --- a/packages/mdx/package.json +++ b/packages/mdx/package.json @@ -1,6 +1,6 @@ { "name": "@theme-ui/mdx", - "version": "0.7.4", + "version": "0.7.5", "source": "src/index.ts", "main": "dist/theme-ui-mdx.cjs.js", "module": "dist/theme-ui-mdx.esm.js", @@ -10,8 +10,8 @@ "@emotion/react": "^11.1.1", "@emotion/styled": "^11.0.0", "@mdx-js/react": "^1.6.22", - "@theme-ui/core": "0.7.4", - "@theme-ui/css": "0.7.4" + "@theme-ui/core": "0.7.5", + "@theme-ui/css": "0.7.5" }, "devDependencies": { "react": "^17.0.1" diff --git a/packages/parse-props/package.json b/packages/parse-props/package.json index a6969dfe1..a273a971d 100644 --- a/packages/parse-props/package.json +++ b/packages/parse-props/package.json @@ -1,7 +1,7 @@ { "name": "@theme-ui/parse-props", "description": "Internal package — You don't want to consume this directly.", - "version": "0.7.4", + "version": "0.7.5", "source": "src/index.ts", "main": "dist/theme-ui-parse-props.cjs.js", "module": "dist/theme-ui-parse-props.esm.js", @@ -19,7 +19,7 @@ }, "dependencies": { "@emotion/react": "^11.1.1", - "@theme-ui/css": "0.7.4" + "@theme-ui/css": "0.7.5" }, "peerDependencies": { "react": "^16.14.0 || ^17.0.0" diff --git a/packages/preset-base/package.json b/packages/preset-base/package.json index d061eccaf..45fc22f35 100644 --- a/packages/preset-base/package.json +++ b/packages/preset-base/package.json @@ -1,6 +1,6 @@ { "name": "@theme-ui/preset-base", - "version": "0.7.4", + "version": "0.7.5", "main": "dist/theme-ui-preset-base.cjs.js", "module": "dist/theme-ui-preset-base.esm.js", "author": "Brent Jackson", diff --git a/packages/preset-bootstrap/package.json b/packages/preset-bootstrap/package.json index 7ceb608d3..d4b1f2983 100644 --- a/packages/preset-bootstrap/package.json +++ b/packages/preset-bootstrap/package.json @@ -1,6 +1,6 @@ { "name": "@theme-ui/preset-bootstrap", - "version": "0.7.4", + "version": "0.7.5", "main": "dist/theme-ui-preset-bootstrap.cjs.js", "module": "dist/theme-ui-preset-bootstrap.esm.js", "types": "dist/theme-ui-preset-bootstrap.cjs.d.ts", diff --git a/packages/preset-bulma/package.json b/packages/preset-bulma/package.json index 37cb8596e..cfdf03d8c 100644 --- a/packages/preset-bulma/package.json +++ b/packages/preset-bulma/package.json @@ -1,6 +1,6 @@ { "name": "@theme-ui/preset-bulma", - "version": "0.7.4", + "version": "0.7.5", "main": "dist/theme-ui-preset-bulma.cjs.js", "module": "dist/theme-ui-preset-bulma.esm.js", "source": "src/index.ts", @@ -8,7 +8,7 @@ "license": "MIT", "scripts": {}, "dependencies": { - "@theme-ui/preset-base": "0.7.4" + "@theme-ui/preset-base": "0.7.5" }, "publishConfig": { "access": "public" diff --git a/packages/preset-dark/package.json b/packages/preset-dark/package.json index 9d69f2e03..9adc377d7 100644 --- a/packages/preset-dark/package.json +++ b/packages/preset-dark/package.json @@ -1,6 +1,6 @@ { "name": "@theme-ui/preset-dark", - "version": "0.7.4", + "version": "0.7.5", "main": "dist/theme-ui-preset-dark.cjs.js", "module": "dist/theme-ui-preset-dark.esm.js", "types": "dist/theme-ui-preset-dark.cjs.d.ts", diff --git a/packages/preset-deep/package.json b/packages/preset-deep/package.json index 20e3bff9a..e8e30e79a 100644 --- a/packages/preset-deep/package.json +++ b/packages/preset-deep/package.json @@ -1,6 +1,6 @@ { "name": "@theme-ui/preset-deep", - "version": "0.7.4", + "version": "0.7.5", "main": "dist/theme-ui-preset-deep.cjs.js", "module": "dist/theme-ui-preset-deep.esm.js", "source": "src/index.ts", diff --git a/packages/preset-funk/package.json b/packages/preset-funk/package.json index 021ab6c47..c683c11c6 100644 --- a/packages/preset-funk/package.json +++ b/packages/preset-funk/package.json @@ -1,6 +1,6 @@ { "name": "@theme-ui/preset-funk", - "version": "0.7.4", + "version": "0.7.5", "main": "dist/theme-ui-preset-funk.cjs.js", "module": "dist/theme-ui-preset-funk.esm.js", "source": "src/index.ts", @@ -8,7 +8,7 @@ "license": "MIT", "scripts": {}, "dependencies": { - "@theme-ui/preset-base": "0.7.4" + "@theme-ui/preset-base": "0.7.5" }, "publishConfig": { "access": "public" diff --git a/packages/preset-future/package.json b/packages/preset-future/package.json index 6acc0b295..e1f3e162c 100644 --- a/packages/preset-future/package.json +++ b/packages/preset-future/package.json @@ -1,6 +1,6 @@ { "name": "@theme-ui/preset-future", - "version": "0.7.4", + "version": "0.7.5", "main": "dist/theme-ui-preset-future.cjs.js", "module": "dist/theme-ui-preset-future.esm.js", "source": "src/index.ts", @@ -8,7 +8,7 @@ "license": "MIT", "scripts": {}, "dependencies": { - "@theme-ui/preset-base": "0.7.4" + "@theme-ui/preset-base": "0.7.5" }, "publishConfig": { "access": "public" diff --git a/packages/preset-polaris/package.json b/packages/preset-polaris/package.json index 5ac14d62c..3cf415bfa 100644 --- a/packages/preset-polaris/package.json +++ b/packages/preset-polaris/package.json @@ -1,6 +1,6 @@ { "name": "@theme-ui/preset-polaris", - "version": "0.7.4", + "version": "0.7.5", "main": "dist/theme-ui-preset-polaris.cjs.js", "module": "dist/theme-ui-preset-polaris.esm.js", "source": "src/index.ts", @@ -8,7 +8,7 @@ "license": "MIT", "scripts": {}, "dependencies": { - "@theme-ui/preset-base": "0.7.4" + "@theme-ui/preset-base": "0.7.5" }, "publishConfig": { "access": "public" diff --git a/packages/preset-roboto/package.json b/packages/preset-roboto/package.json index 99c39d2db..58e195198 100644 --- a/packages/preset-roboto/package.json +++ b/packages/preset-roboto/package.json @@ -1,6 +1,6 @@ { "name": "@theme-ui/preset-roboto", - "version": "0.7.4", + "version": "0.7.5", "main": "dist/theme-ui-preset-roboto.cjs.js", "module": "dist/theme-ui-preset-roboto.esm.js", "types": "dist/theme-ui-preset-roboto.cjs.d.ts", @@ -9,7 +9,7 @@ "license": "MIT", "scripts": {}, "dependencies": { - "@theme-ui/preset-base": "0.7.4" + "@theme-ui/preset-base": "0.7.5" }, "publishConfig": { "access": "public" diff --git a/packages/preset-sketchy/package.json b/packages/preset-sketchy/package.json index b2856fd7e..196d7a269 100644 --- a/packages/preset-sketchy/package.json +++ b/packages/preset-sketchy/package.json @@ -1,6 +1,6 @@ { "name": "@theme-ui/preset-sketchy", - "version": "0.7.4", + "version": "0.7.5", "main": "dist/theme-ui-preset-sketchy.cjs.js", "module": "dist/theme-ui-preset-sketchy.esm.js", "types": "dist/theme-ui-preset-sketchy.cjs.d.ts", @@ -12,7 +12,7 @@ "access": "public" }, "dependencies": { - "@theme-ui/css": "0.7.4" + "@theme-ui/css": "0.7.5" }, "gitHead": "621199460fa3bdb0100748441e62517b7529b8c8" } diff --git a/packages/preset-swiss/package.json b/packages/preset-swiss/package.json index 15f955bf4..c3b891893 100644 --- a/packages/preset-swiss/package.json +++ b/packages/preset-swiss/package.json @@ -1,6 +1,6 @@ { "name": "@theme-ui/preset-swiss", - "version": "0.7.4", + "version": "0.7.5", "main": "dist/theme-ui-preset-swiss.cjs.js", "module": "dist/theme-ui-preset-swiss.esm.js", "types": "dist/theme-ui-preset-swiss.cjs.d.ts", diff --git a/packages/preset-system/package.json b/packages/preset-system/package.json index fe1a9c4be..01be2e2cc 100644 --- a/packages/preset-system/package.json +++ b/packages/preset-system/package.json @@ -1,6 +1,6 @@ { "name": "@theme-ui/preset-system", - "version": "0.7.4", + "version": "0.7.5", "main": "dist/theme-ui-preset-system.cjs.js", "module": "dist/theme-ui-preset-system.esm.js", "types": "dist/theme-ui-preset-system.cjs.d.ts", diff --git a/packages/preset-tailwind/package.json b/packages/preset-tailwind/package.json index 205dd75a6..0753a341f 100644 --- a/packages/preset-tailwind/package.json +++ b/packages/preset-tailwind/package.json @@ -1,6 +1,6 @@ { "name": "@theme-ui/preset-tailwind", - "version": "0.7.4", + "version": "0.7.5", "main": "dist/theme-ui-preset-tailwind.cjs.js", "module": "dist/theme-ui-preset-tailwind.esm.js", "types": "dist/theme-ui-preset-tailwind.cjs.d.ts", diff --git a/packages/preset-tosh/package.json b/packages/preset-tosh/package.json index 28e7f157d..913ad28a3 100644 --- a/packages/preset-tosh/package.json +++ b/packages/preset-tosh/package.json @@ -1,6 +1,6 @@ { "name": "@theme-ui/preset-tosh", - "version": "0.7.4", + "version": "0.7.5", "main": "dist/theme-ui-preset-tosh.cjs.js", "module": "dist/theme-ui-preset-tosh.esm.js", "types": "dist/theme-ui-preset-tosh.cjs.d.ts", diff --git a/packages/presets/package.json b/packages/presets/package.json index 5bc05fc91..4ba9d8699 100644 --- a/packages/presets/package.json +++ b/packages/presets/package.json @@ -1,6 +1,6 @@ { "name": "@theme-ui/presets", - "version": "0.7.4", + "version": "0.7.5", "main": "dist/theme-ui-presets.cjs.js", "module": "dist/theme-ui-presets.esm.js", "types": "dist/theme-ui-presets.cjs.d.ts", @@ -9,20 +9,20 @@ "license": "MIT", "scripts": {}, "dependencies": { - "@theme-ui/preset-base": "0.7.4", - "@theme-ui/preset-bootstrap": "0.7.4", - "@theme-ui/preset-bulma": "0.7.4", - "@theme-ui/preset-dark": "0.7.4", - "@theme-ui/preset-deep": "0.7.4", - "@theme-ui/preset-funk": "0.7.4", - "@theme-ui/preset-future": "0.7.4", - "@theme-ui/preset-polaris": "0.7.4", - "@theme-ui/preset-roboto": "0.7.4", - "@theme-ui/preset-sketchy": "0.7.4", - "@theme-ui/preset-swiss": "0.7.4", - "@theme-ui/preset-system": "0.7.4", - "@theme-ui/preset-tailwind": "0.7.4", - "@theme-ui/preset-tosh": "0.7.4" + "@theme-ui/preset-base": "0.7.5", + "@theme-ui/preset-bootstrap": "0.7.5", + "@theme-ui/preset-bulma": "0.7.5", + "@theme-ui/preset-dark": "0.7.5", + "@theme-ui/preset-deep": "0.7.5", + "@theme-ui/preset-funk": "0.7.5", + "@theme-ui/preset-future": "0.7.5", + "@theme-ui/preset-polaris": "0.7.5", + "@theme-ui/preset-roboto": "0.7.5", + "@theme-ui/preset-sketchy": "0.7.5", + "@theme-ui/preset-swiss": "0.7.5", + "@theme-ui/preset-system": "0.7.5", + "@theme-ui/preset-tailwind": "0.7.5", + "@theme-ui/preset-tosh": "0.7.5" }, "publishConfig": { "access": "public" diff --git a/packages/prism/package.json b/packages/prism/package.json index 3b2fc1e60..7d0dda95a 100644 --- a/packages/prism/package.json +++ b/packages/prism/package.json @@ -1,6 +1,6 @@ { "name": "@theme-ui/prism", - "version": "0.7.4", + "version": "0.7.5", "main": "dist/theme-ui-prism.cjs.js", "module": "dist/theme-ui-prism.esm.js", "types": "dist/theme-ui-prism.cjs.d.ts", @@ -34,6 +34,6 @@ "param-case": "^3.0.4", "postcss": "^8.1.10", "postcss-js": "^3.0.3", - "theme-ui": "0.7.4" + "theme-ui": "0.7.5" } } diff --git a/packages/sidenav/package.json b/packages/sidenav/package.json index 025fb80c0..d011c2fa2 100644 --- a/packages/sidenav/package.json +++ b/packages/sidenav/package.json @@ -1,6 +1,6 @@ { "name": "@theme-ui/sidenav", - "version": "0.7.4", + "version": "0.7.5", "main": "dist/theme-ui-sidenav.cjs.js", "module": "dist/theme-ui-sidenav.esm.js", "types": "dist/theme-ui-sidenav.cjs.d.ts", @@ -21,7 +21,7 @@ "@mdx-js/react": "^1.6.22", "@types/mdx-js__react": "^1.5.3", "deepmerge": "^4.0.0", - "theme-ui": "0.7.4" + "theme-ui": "0.7.5" }, "keywords": [ "theme-ui", diff --git a/packages/style-guide/package.json b/packages/style-guide/package.json index b3f9c5c77..70abf9a60 100644 --- a/packages/style-guide/package.json +++ b/packages/style-guide/package.json @@ -1,6 +1,6 @@ { "name": "@theme-ui/style-guide", - "version": "0.7.4", + "version": "0.7.5", "main": "dist/theme-ui-style-guide.cjs.js", "module": "dist/theme-ui-style-guide.esm.js", "types": "dist/theme-ui-style-guide.cjs.d.ts", @@ -9,7 +9,7 @@ "license": "MIT", "scripts": {}, "dependencies": { - "@theme-ui/presets": "0.7.4", + "@theme-ui/presets": "0.7.5", "@types/color": "^3.0.1", "color": "^3.1.2", "lodash.get": "^4.4.2" @@ -20,7 +20,7 @@ }, "devDependencies": { "react": "^17.0.1", - "theme-ui": "0.7.4" + "theme-ui": "0.7.5" }, "publishConfig": { "access": "public" diff --git a/packages/tachyons/package.json b/packages/tachyons/package.json index 2b273545c..59c4e1cf6 100644 --- a/packages/tachyons/package.json +++ b/packages/tachyons/package.json @@ -1,7 +1,7 @@ { "name": "@theme-ui/tachyons", "description": "Generate static CSS for use outside of React with Theme UI and Tachyons", - "version": "0.7.4", + "version": "0.7.5", "main": "dist/theme-ui-tachyons.cjs.js", "module": "dist/theme-ui-tachyons.esm.js", "source": "src/index.ts", @@ -9,7 +9,7 @@ "license": "MIT", "scripts": {}, "devDependencies": { - "@theme-ui/css": "0.7.4", + "@theme-ui/css": "0.7.5", "babel-polyfill": "^6.26.0", "execa": "^5.0.0" }, diff --git a/packages/tailwind/package.json b/packages/tailwind/package.json index 0541240dd..d646e43eb 100644 --- a/packages/tailwind/package.json +++ b/packages/tailwind/package.json @@ -1,7 +1,7 @@ { "name": "@theme-ui/tailwind", "description": "Generate static CSS for use outside of React with Theme UI and Tailwind.css", - "version": "0.7.4", + "version": "0.7.5", "main": "dist/theme-ui-tailwind.cjs.js", "module": "dist/theme-ui-tailwind.esm.js", "source": "src/index.ts", @@ -9,7 +9,7 @@ "license": "MIT", "scripts": {}, "devDependencies": { - "@theme-ui/css": "0.7.4", + "@theme-ui/css": "0.7.5", "babel-polyfill": "^6.26.0", "execa": "^5.0.0", "tailwindcss": "^1.0.4" diff --git a/packages/test-utils/package.json b/packages/test-utils/package.json index 3b163ef31..5ec7978b0 100644 --- a/packages/test-utils/package.json +++ b/packages/test-utils/package.json @@ -1,6 +1,6 @@ { "name": "@theme-ui/test-utils", - "version": "0.7.4", + "version": "0.7.5", "private": true, "license": "MIT", "source": "src/index.ts", diff --git a/packages/theme-provider/package.json b/packages/theme-provider/package.json index 2bec79b37..a707d14b6 100644 --- a/packages/theme-provider/package.json +++ b/packages/theme-provider/package.json @@ -1,6 +1,6 @@ { "name": "@theme-ui/theme-provider", - "version": "0.7.4", + "version": "0.7.5", "main": "dist/theme-ui-theme-provider.cjs.js", "module": "dist/theme-ui-theme-provider.esm.js", "source": "src/index.ts", @@ -8,10 +8,10 @@ "scripts": {}, "dependencies": { "@emotion/react": "^11.1.1", - "@theme-ui/color-modes": "0.7.4", - "@theme-ui/core": "0.7.4", - "@theme-ui/css": "0.7.4", - "@theme-ui/mdx": "0.7.4" + "@theme-ui/color-modes": "0.7.5", + "@theme-ui/core": "0.7.5", + "@theme-ui/css": "0.7.5", + "@theme-ui/mdx": "0.7.5" }, "peerDependencies": { "react": "^16.14.0 || ^17.0.0" diff --git a/packages/theme-ui/package.json b/packages/theme-ui/package.json index d81b8bf8a..5ab1176c2 100644 --- a/packages/theme-ui/package.json +++ b/packages/theme-ui/package.json @@ -1,6 +1,6 @@ { "name": "theme-ui", - "version": "0.7.4", + "version": "0.7.5", "description": "The Design Graph Framework", "source": "src/index.ts", "main": "dist/theme-ui.cjs.js", @@ -17,12 +17,12 @@ "build:index": "microbundle --no-compress --tsconfig tsconfig.json" }, "dependencies": { - "@theme-ui/color-modes": "0.7.4", - "@theme-ui/components": "0.7.4", - "@theme-ui/core": "0.7.4", - "@theme-ui/css": "0.7.4", - "@theme-ui/mdx": "0.7.4", - "@theme-ui/theme-provider": "0.7.4" + "@theme-ui/color-modes": "0.7.5", + "@theme-ui/components": "0.7.5", + "@theme-ui/core": "0.7.5", + "@theme-ui/css": "0.7.5", + "@theme-ui/mdx": "0.7.5", + "@theme-ui/theme-provider": "0.7.5" }, "peerDependencies": { "react": "^16.14.0 || ^17.0.0" diff --git a/packages/typography/package.json b/packages/typography/package.json index bc43fabbf..460c66ed8 100644 --- a/packages/typography/package.json +++ b/packages/typography/package.json @@ -1,6 +1,6 @@ { "name": "@theme-ui/typography", - "version": "0.7.4", + "version": "0.7.5", "main": "dist/theme-ui-typography.cjs.js", "module": "dist/theme-ui-typography.esm.js", "source": "src/index.ts", @@ -8,7 +8,7 @@ "license": "MIT", "scripts": {}, "dependencies": { - "@theme-ui/css": "0.7.4", + "@theme-ui/css": "0.7.5", "@types/compass-vertical-rhythm": "^1.4.1", "@types/modularscale": "^2.0.0", "@types/typography": "^0.16.3", From 633997d549b74dde62e2b3c690b38de39b52d1c9 Mon Sep 17 00:00:00 2001 From: Piotr Monwid-Olechnowicz Date: Wed, 28 Apr 2021 23:23:20 +0200 Subject: [PATCH 275/377] chore: Update CHANGELOG.md Co-authored-by: Lachlan Campbell --- CHANGELOG.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2b9ba7acb..5f59230d3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,8 +13,7 @@ the theme object are now scoped under a `config` object on the theme, and the root-level options, now deprecated, will be removed in a future release. - All these options are still supported, but they're grouped under - `theme.config` (e.g. `theme.config.useBorderBox`) + (e.g. you should be setting `theme.config.useBorderBox` instead of `theme.useBorderBox`) - ⚠ All config options should be migrated at once. If Theme UI sees `theme.config` exists, it won't look for options on the `theme`. From 4f1fa081d8f0396c38006ceca23bff0ba860fcac Mon Sep 17 00:00:00 2001 From: Piotr Monwid-Olechnowicz Date: Wed, 28 Apr 2021 23:31:32 +0200 Subject: [PATCH 276/377] chore: format changelog [skip ci] --- CHANGELOG.md | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 268b9cb01..34c8a1bdc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,26 +1,22 @@ -# v0.7.5 (Wed Apr 28 2021) +## v0.7.5 (Wed Apr 28 2021) -#### 🐛 Bug Fix +### 🐛 Bug Fix - `@theme-ui/css` - Add 6 border logical color properties to scales [#1668](https://github.com/system-ui/theme-ui/pull/1668) ([@lachlanjc](https://github.com/lachlanjc)) -#### ⚠️ Pushed to `stable` +### 📝 Docs - docs: useColorSchemeMediaQuery defaults to true ([@hasparus](https://github.com/hasparus)) -- `@theme-ui/css` - - Merge branch 'develop' into stable ([@hasparus](https://github.com/hasparus)) -#### Authors: 2 +### Authors: 2 - Lachlan Campbell ([@lachlanjc](https://github.com/lachlanjc)) - Piotr Monwid-Olechnowicz ([@hasparus](https://github.com/hasparus)) ---- +## v0.7.4 (Tue Apr 27 2021) -# v0.7.4 (Tue Apr 27 2021) - -#### 🐛 Bug Fix +### 🐛 Bug Fix - Add new links to Resources page [#1670](https://github.com/system-ui/theme-ui/pull/1670) ([@lachlanjc](https://github.com/lachlanjc)) - Add link to JSX Pragma page on Getting Started doc ([@lachlanjc](https://github.com/lachlanjc)) @@ -28,7 +24,7 @@ - Add 2 missing CSS column properties to scales [#1669](https://github.com/system-ui/theme-ui/pull/1669) ([@lachlanjc](https://github.com/lachlanjc)) - Add text-decoration-color to scales [#1667](https://github.com/system-ui/theme-ui/pull/1667) ([@lachlanjc](https://github.com/lachlanjc)) -#### Authors: 1 +### Authors: 1 - Lachlan Campbell ([@lachlanjc](https://github.com/lachlanjc)) From db5b2818b91bc8375361be7d61abdca06d08864c Mon Sep 17 00:00:00 2001 From: "dependabot-preview[bot]" <27856297+dependabot-preview[bot]@users.noreply.github.com> Date: Wed, 28 Apr 2021 21:53:46 +0000 Subject: [PATCH 277/377] Upgrade to GitHub-native Dependabot --- .github/dependabot.yml | 96 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 96 insertions(+) create mode 100644 .github/dependabot.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 000000000..24d4a0706 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,96 @@ +version: 2 +updates: +- package-ecosystem: npm + directory: "/" + schedule: + interval: weekly + open-pull-requests-limit: 10 + ignore: + - dependency-name: babel-preset-gatsby + versions: + - ">= 0.11.a, < 0.12" + - dependency-name: gatsby-plugin-catch-links + versions: + - ">= 2.10.a, < 2.11" + - dependency-name: gatsby-plugin-catch-links + versions: + - ">= 2.9.a, < 2.10" + - dependency-name: gatsby-plugin-mdx + versions: + - "> 1.10.0, < 1.11" + - dependency-name: gatsby-plugin-mdx + versions: + - ">= 1.9.a, < 1.10" + - dependency-name: gatsby-plugin-react-helmet + versions: + - ">= 3.10.a, < 3.11" + - dependency-name: gatsby-plugin-react-helmet + versions: + - ">= 3.7.a, < 3.8" + - dependency-name: gatsby-plugin-react-helmet + versions: + - ">= 3.9.a, < 3.10" + - dependency-name: gatsby-plugin-react-helmet + versions: + - ">= 4.0.a, < 4.1" + - dependency-name: gatsby-plugin-react-helmet + versions: + - ">= 4.a, < 5" + - dependency-name: gatsby-source-filesystem + versions: + - ">= 2.10.a, < 2.11" + - dependency-name: gatsby-source-filesystem + versions: + - "> 2.11.0, < 2.12" + - dependency-name: gatsby-source-filesystem + versions: + - ">= 3.a, < 4" + - dependency-name: tailwindcss + versions: + - ">= 2.a, < 3" + - dependency-name: babel-preset-gatsby + versions: + - 0.12.2 + - 1.0.0 + - 1.1.0 + - 1.3.0 + - dependency-name: "@testing-library/react" + versions: + - 11.2.6 + - dependency-name: "@babel/plugin-transform-runtime" + versions: + - 7.12.15 + - dependency-name: gatsby-plugin-catch-links + versions: + - 3.0.0 + - 3.1.0 + - dependency-name: ts-jest + versions: + - 26.5.4 + - dependency-name: gatsby + versions: + - 3.1.1 + - dependency-name: type-fest + versions: + - 1.0.0 + - dependency-name: reakit + versions: + - 1.3.6 + - dependency-name: "@auto-it/conventional-commits" + versions: + - 10.21.0 + - dependency-name: lerna + versions: + - 4.0.0 + - dependency-name: "@auto-it/first-time-contributor" + versions: + - 10.21.0 + - dependency-name: prism-react-renderer + versions: + - 1.2.0 + - dependency-name: "@types/react-dom" + versions: + - 17.0.2 + - dependency-name: gatsby-plugin-mdx + versions: + - 2.0.0 From 1acabd937382d62d70ce9cc117a865c348d8c8dd Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 28 Apr 2021 22:31:28 +0000 Subject: [PATCH 278/377] chore(deps-dev): bump @auto-it/conventional-commits Bumps [@auto-it/conventional-commits](https://github.com/intuit/auto) from 10.25.0 to 10.25.2. - [Release notes](https://github.com/intuit/auto/releases) - [Changelog](https://github.com/intuit/auto/blob/main/CHANGELOG.md) - [Commits](https://github.com/intuit/auto/compare/v10.25.0...v10.25.2) Signed-off-by: dependabot[bot] --- yarn.lock | 58 +++++++++++++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 54 insertions(+), 4 deletions(-) diff --git a/yarn.lock b/yarn.lock index 64e38e26b..8a1b18c07 100644 --- a/yarn.lock +++ b/yarn.lock @@ -37,12 +37,17 @@ resolved "https://registry.yarnpkg.com/@auto-it/bot-list/-/bot-list-10.25.1.tgz#9a1ff5831da81b47bfd518c34e9313c0373c36c6" integrity sha512-udnjMZS31Vv+I30Fpowy9WN0MSLdRN1URPJISULmDKO6gPxUo0ksDZ5Tr/qeRuKlCtmkaLowW6u8wH0YWM2r7A== +"@auto-it/bot-list@10.25.2": + version "10.25.2" + resolved "https://registry.yarnpkg.com/@auto-it/bot-list/-/bot-list-10.25.2.tgz#85e9da1748943d3f0c0991d56447255280c91d39" + integrity sha512-dH/T2+P0gaOnyrZ36kCaXiit6Fm3wmEc4YQAcS+l/w/4NB2tWE+Bk6nq4+wcHB+jpdlsAzQWEBUY9Fz89D6Wgg== + "@auto-it/conventional-commits@^10.25.0": - version "10.25.0" - resolved "https://registry.npmjs.org/@auto-it/conventional-commits/-/conventional-commits-10.25.0.tgz#01c27d0d3483eda740678aa953ed1121c95dee43" - integrity sha512-lXHllBrLcp18/H0D8S+4WEk1jVuS4I0vyzpiMm85WNIC7m4E6CvK4aIsP2HzI5YtTLEBxGHKsDOM+VLVknOTmQ== + version "10.25.2" + resolved "https://registry.yarnpkg.com/@auto-it/conventional-commits/-/conventional-commits-10.25.2.tgz#fbc7dd373c2bf0f79ca810ff380e7debe19494ac" + integrity sha512-QDugDlexfsfE7yxFNvjsWIToXn64UW9m3vDQ25SXGjT1rKLzQ0ejV3+tNsJO9iuDRBnmMDxpLq0U0N+MlJjmnw== dependencies: - "@auto-it/core" "10.25.0" + "@auto-it/core" "10.25.2" array.prototype.flatmap "^1.2.2" conventional-changelog-core "^4.2.0" conventional-changelog-preset-loader "^2.3.4" @@ -142,6 +147,51 @@ typescript-memoize "^1.0.0-alpha.3" url-join "^4.0.0" +"@auto-it/core@10.25.2": + version "10.25.2" + resolved "https://registry.yarnpkg.com/@auto-it/core/-/core-10.25.2.tgz#d31e23d618cae47f5458bf0ed0e326d10a298208" + integrity sha512-z1NllDMkHBUVMk3qSmCruTQiuZK6XqizjzaLs+U62TAw9FWtBHp15UuFtvr1l5J7/WKHPK5TlfAw4+MCI3mX5A== + dependencies: + "@auto-it/bot-list" "10.25.2" + "@endemolshinegroup/cosmiconfig-typescript-loader" "^3.0.2" + "@octokit/plugin-enterprise-compatibility" "^1.2.2" + "@octokit/plugin-retry" "^3.0.1" + "@octokit/plugin-throttling" "^3.2.0" + "@octokit/rest" "^18.0.0" + await-to-js "^3.0.0" + chalk "^4.0.0" + cosmiconfig "7.0.0" + deepmerge "^4.0.0" + dotenv "^8.0.0" + endent "^2.0.1" + enquirer "^2.3.4" + env-ci "^5.0.1" + fast-glob "^3.1.1" + fp-ts "^2.5.3" + fromentries "^1.2.0" + gitlog "^4.0.3" + https-proxy-agent "^5.0.0" + import-cwd "^3.0.0" + import-from "^3.0.0" + io-ts "^2.1.2" + lodash.chunk "^4.2.0" + log-symbols "^4.0.0" + node-fetch "2.6.1" + parse-author "^2.0.0" + parse-github-url "1.0.2" + pretty-ms "^7.0.0" + requireg "^0.2.2" + semver "^7.0.0" + signale "^1.4.0" + tapable "^2.0.0-beta.2" + terminal-link "^2.1.1" + tinycolor2 "^1.4.1" + ts-node "^9.1.1" + tslib "2.1.0" + type-fest "^0.21.1" + typescript-memoize "^1.0.0-alpha.3" + url-join "^4.0.0" + "@auto-it/first-time-contributor@^10.25.0": version "10.25.1" resolved "https://registry.yarnpkg.com/@auto-it/first-time-contributor/-/first-time-contributor-10.25.1.tgz#f48629eb2e823781d1208593ef870719383a00e2" From a3f31f2d21ae3590831879f99c85c3eb1fbb3687 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 28 Apr 2021 22:32:25 +0000 Subject: [PATCH 279/377] chore(deps-dev): bump @babel/register from 7.13.8 to 7.13.16 Bumps [@babel/register](https://github.com/babel/babel/tree/HEAD/packages/babel-register) from 7.13.8 to 7.13.16. - [Release notes](https://github.com/babel/babel/releases) - [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md) - [Commits](https://github.com/babel/babel/commits/v7.13.16/packages/babel-register) Signed-off-by: dependabot[bot] --- yarn.lock | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/yarn.lock b/yarn.lock index 8a1b18c07..00d8d6c7a 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1426,12 +1426,12 @@ "@babel/plugin-transform-typescript" "^7.13.0" "@babel/register@^7.8.6": - version "7.13.8" - resolved "https://registry.yarnpkg.com/@babel/register/-/register-7.13.8.tgz#d9051dc6820cb4e86375cc0e2d55a4862b31184f" - integrity sha512-yCVtABcmvQjRsX2elcZFUV5Q5kDDpHdtXKKku22hNDma60lYuhKmtp1ykZ/okRCPLT2bR5S+cA1kvtBdAFlDTQ== + version "7.13.16" + resolved "https://registry.yarnpkg.com/@babel/register/-/register-7.13.16.tgz#ae3ab0b55c8ec28763877383c454f01521d9a53d" + integrity sha512-dh2t11ysujTwByQjXNgJ48QZ2zcXKQVdV8s0TbeMI0flmtGWCdTwK9tJiACHXPLmncm5+ktNn/diojA45JE4jg== dependencies: + clone-deep "^4.0.1" find-cache-dir "^2.0.0" - lodash "^4.17.19" make-dir "^2.1.0" pirates "^4.0.0" source-map-support "^0.5.16" From 0dc478b9c10b24caae690370d36c2b29ea24f4d4 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 28 Apr 2021 22:32:50 +0000 Subject: [PATCH 280/377] chore(deps-dev): bump postcss from 8.2.10 to 8.2.13 Bumps [postcss](https://github.com/postcss/postcss) from 8.2.10 to 8.2.13. - [Release notes](https://github.com/postcss/postcss/releases) - [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md) - [Commits](https://github.com/postcss/postcss/compare/8.2.10...8.2.13) Signed-off-by: dependabot[bot] --- yarn.lock | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/yarn.lock b/yarn.lock index 00d8d6c7a..2968654d1 100644 --- a/yarn.lock +++ b/yarn.lock @@ -15638,9 +15638,9 @@ postcss@^7.0.0, postcss@^7.0.1, postcss@^7.0.11, postcss@^7.0.18, postcss@^7.0.2 supports-color "^6.1.0" postcss@^8.1.10, postcss@^8.1.6: - version "8.2.10" - resolved "https://registry.yarnpkg.com/postcss/-/postcss-8.2.10.tgz#ca7a042aa8aff494b334d0ff3e9e77079f6f702b" - integrity sha512-b/h7CPV7QEdrqIxtAf2j31U5ef05uBDuvoXv6L51Q4rcS1jdlXAVKJv+atCFdUXYl9dyTHGyoMzIepwowRJjFw== + version "8.2.13" + resolved "https://registry.yarnpkg.com/postcss/-/postcss-8.2.13.tgz#dbe043e26e3c068e45113b1ed6375d2d37e2129f" + integrity sha512-FCE5xLH+hjbzRdpbRb1IMCvPv9yZx2QnDarBEYSN0N0HYk+TcXsEhwdFcFb+SRWOKzKGErhIEbBK2ogyLdTtfQ== dependencies: colorette "^1.2.2" nanoid "^3.1.22" From d11f3c64133881f80818f97a48be98a69ad601eb Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 28 Apr 2021 22:33:03 +0000 Subject: [PATCH 281/377] chore(deps-dev): bump @types/node from 14.14.41 to 15.0.1 Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 14.14.41 to 15.0.1. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) Signed-off-by: dependabot[bot] --- package.json | 2 +- yarn.lock | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index 3d3ad5004..e3563152a 100644 --- a/package.json +++ b/package.json @@ -41,7 +41,7 @@ "@preconstruct/cli": "^2", "@testing-library/react": "^11.2.6", "@types/jest": "^26.0.22", - "@types/node": "^14.14.41", + "@types/node": "^15.0.1", "@types/react-dom": "^17.0.3", "@types/react-test-renderer": "^17.0.1", "auto": "^10.25.0", diff --git a/yarn.lock b/yarn.lock index 2968654d1..ba023efe9 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3640,12 +3640,12 @@ "@types/node" "*" form-data "^3.0.0" -"@types/node@*", "@types/node@>= 8": - version "14.14.37" - resolved "https://registry.yarnpkg.com/@types/node/-/node-14.14.37.tgz#a3dd8da4eb84a996c36e331df98d82abd76b516e" - integrity sha512-XYmBiy+ohOR4Lh5jE379fV2IU+6Jn4g5qASinhitfyO71b/sCo6MKsMLF5tc7Zf2CE8hViVQyYSobJNke8OvUw== +"@types/node@*", "@types/node@>= 8", "@types/node@^15.0.1": + version "15.0.1" + resolved "https://registry.yarnpkg.com/@types/node/-/node-15.0.1.tgz#ef34dea0881028d11398be5bf4e856743e3dc35a" + integrity sha512-TMkXt0Ck1y0KKsGr9gJtWGjttxlZnnvDtphxUOSd0bfaR6Q1jle+sPvrzNR1urqYTWMinoKvjKfXUGsumaO1PA== -"@types/node@^14.14.10", "@types/node@^14.14.41": +"@types/node@^14.14.10": version "14.14.41" resolved "https://registry.npmjs.org/@types/node/-/node-14.14.41.tgz#d0b939d94c1d7bd53d04824af45f1139b8c45615" integrity sha512-dueRKfaJL4RTtSa7bWeTK1M+VH+Gns73oCgzvYfHZywRCoPSd8EkXBL0mZ9unPTveBn+D9phZBaxuzpwjWkW0g== From 966d11f93a54a5488e77d1a485878dca4def0557 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 28 Apr 2021 22:33:45 +0000 Subject: [PATCH 282/377] chore(deps-dev): bump @auto-it/released from 10.25.1 to 10.25.2 Bumps [@auto-it/released](https://github.com/intuit/auto) from 10.25.1 to 10.25.2. - [Release notes](https://github.com/intuit/auto/releases) - [Changelog](https://github.com/intuit/auto/blob/main/CHANGELOG.md) - [Commits](https://github.com/intuit/auto/compare/v10.25.1...v10.25.2) Signed-off-by: dependabot[bot] --- yarn.lock | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/yarn.lock b/yarn.lock index ba023efe9..982d1ff60 100644 --- a/yarn.lock +++ b/yarn.lock @@ -243,7 +243,7 @@ parse-author "^2.0.0" parse-github-url "1.0.2" -"@auto-it/released@10.25.1", "@auto-it/released@^10.25.0": +"@auto-it/released@10.25.1": version "10.25.1" resolved "https://registry.yarnpkg.com/@auto-it/released/-/released-10.25.1.tgz#235d6c51b2f456cdf27f5e744a4274efd036356f" integrity sha512-VF5lz2+9kTcSeccEtScCAoaU5KnYf+jkVwLqEqyofRylyDXzd2Mfm/YfNJoQT9ES9YEBiHOzLjuUPa+KeNn/dg== @@ -255,6 +255,18 @@ io-ts "^2.1.2" tslib "2.1.0" +"@auto-it/released@^10.25.0": + version "10.25.2" + resolved "https://registry.yarnpkg.com/@auto-it/released/-/released-10.25.2.tgz#2fd28ebff3b4efb9daa33e1a58d8615366ad5ede" + integrity sha512-Pcam/Y5aej0x8dcj0HwvjnuCpGTzuZVDjBgGuHDoWr0RzXYNqxT86fKv/gsZKfOB/CKdk7Nmx1b0f2XM4OIK3w== + dependencies: + "@auto-it/bot-list" "10.25.2" + "@auto-it/core" "10.25.2" + deepmerge "^4.0.0" + fp-ts "^2.5.3" + io-ts "^2.1.2" + tslib "2.1.0" + "@babel/cli@^7.13.14": version "7.13.16" resolved "https://registry.yarnpkg.com/@babel/cli/-/cli-7.13.16.tgz#9d372e943ced0cc291f068204a9b010fd9cfadbc" From 806dbf420a350a44adf21d83db99b3183b6ac0a0 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 28 Apr 2021 22:34:04 +0000 Subject: [PATCH 283/377] chore(deps): bump type-fest from 1.0.1 to 1.0.2 Bumps [type-fest](https://github.com/sindresorhus/type-fest) from 1.0.1 to 1.0.2. - [Release notes](https://github.com/sindresorhus/type-fest/releases) - [Commits](https://github.com/sindresorhus/type-fest/compare/v1.0.1...v1.0.2) Signed-off-by: dependabot[bot] --- yarn.lock | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/yarn.lock b/yarn.lock index 982d1ff60..78a5468fd 100644 --- a/yarn.lock +++ b/yarn.lock @@ -19029,9 +19029,9 @@ type-fest@^0.8.0, type-fest@^0.8.1: integrity sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA== type-fest@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-1.0.1.tgz#2494455e65c59170ec98bdda05b7d7184f5b74ad" - integrity sha512-+UTPE7JT3O+sUpRroRgQAbbSfIRBwOHh+o/oruB1JJE6g6uBm3Y0D82fO3xu8VHfxJLQjeRp0PEY6mRmh/lElA== + version "1.0.2" + resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-1.0.2.tgz#3f9c39982859f385c77c38b7e5f1432b8a3661c6" + integrity sha512-a720oz3Kjbp3ll0zkeN9qjRhO7I34MKMhPGQiQJAmaZQZQ1lo+NWThK322f7sXV+kTg9B1Ybt16KgBXWgteT8w== type-is@~1.6.17, type-is@~1.6.18: version "1.6.18" From ba3d669cdffdd535513a07fd6c1b57f86c7d4265 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 28 Apr 2021 22:34:29 +0000 Subject: [PATCH 284/377] chore(deps-dev): bump @types/react from 17.0.3 to 17.0.4 Bumps [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react) from 17.0.3 to 17.0.4. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react) Signed-off-by: dependabot[bot] --- yarn.lock | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/yarn.lock b/yarn.lock index 78a5468fd..3fd0f693e 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3732,9 +3732,9 @@ "@types/react" "*" "@types/react@*", "@types/react@^17.0.0": - version "17.0.3" - resolved "https://registry.yarnpkg.com/@types/react/-/react-17.0.3.tgz#ba6e215368501ac3826951eef2904574c262cc79" - integrity sha512-wYOUxIgs2HZZ0ACNiIayItyluADNbONl7kt8lkLjVK8IitMH5QMyAh75Fwhmo37r1m7L2JaFj03sIfxBVDvRAg== + version "17.0.4" + resolved "https://registry.yarnpkg.com/@types/react/-/react-17.0.4.tgz#a67c6f7a460d2660e950d9ccc1c2f18525c28220" + integrity sha512-onz2BqScSFMoTRdJUZUDD/7xrusM8hBA2Fktk2qgaTYPCgPvWnDEgkrOs8hhPUf2jfcIXkJ5yK6VfYormJS3Jw== dependencies: "@types/prop-types" "*" "@types/scheduler" "*" From 610de4ac88130ed30255a58c1b6df7b377183433 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 28 Apr 2021 22:35:33 +0000 Subject: [PATCH 285/377] chore(deps): bump gatsby-plugin-mdx from 2.1.0 to 2.4.0 Bumps [gatsby-plugin-mdx](https://github.com/gatsbyjs/gatsby/tree/HEAD/packages/gatsby-plugin-mdx) from 2.1.0 to 2.4.0. - [Release notes](https://github.com/gatsbyjs/gatsby/releases) - [Changelog](https://github.com/gatsbyjs/gatsby/blob/master/packages/gatsby-plugin-mdx/CHANGELOG.md) - [Commits](https://github.com/gatsbyjs/gatsby/commits/gatsby-plugin-mdx@2.4.0/packages/gatsby-plugin-mdx) Signed-off-by: dependabot[bot] --- yarn.lock | 120 ++++++------------------------------------------------ 1 file changed, 12 insertions(+), 108 deletions(-) diff --git a/yarn.lock b/yarn.lock index 3fd0f693e..e00a75ee7 100644 --- a/yarn.lock +++ b/yarn.lock @@ -290,7 +290,7 @@ dependencies: "@babel/highlight" "^7.12.13" -"@babel/compat-data@^7.13.0", "@babel/compat-data@^7.13.12", "@babel/compat-data@^7.13.8": +"@babel/compat-data@^7.13.0", "@babel/compat-data@^7.13.8": version "7.13.12" resolved "https://registry.yarnpkg.com/@babel/compat-data/-/compat-data-7.13.12.tgz#a8a5ccac19c200f9dd49624cac6e19d7be1236a1" integrity sha512-3eJJ841uKxeV8dcN/2yGEUy+RfgQspPEgQat85umsE1rotuquQ2AbIub4S6j7c50a2d+4myc+zSlnXeIHrOnhQ== @@ -396,7 +396,7 @@ "@babel/helper-explode-assignable-expression" "^7.12.13" "@babel/types" "^7.12.13" -"@babel/helper-compilation-targets@^7.13.0", "@babel/helper-compilation-targets@^7.13.10", "@babel/helper-compilation-targets@^7.13.13", "@babel/helper-compilation-targets@^7.13.16", "@babel/helper-compilation-targets@^7.13.8": +"@babel/helper-compilation-targets@^7.13.0", "@babel/helper-compilation-targets@^7.13.13", "@babel/helper-compilation-targets@^7.13.16", "@babel/helper-compilation-targets@^7.13.8": version "7.13.16" resolved "https://registry.yarnpkg.com/@babel/helper-compilation-targets/-/helper-compilation-targets-7.13.16.tgz#6e91dccf15e3f43e5556dffe32d860109887563c" integrity sha512-3gmkYIrpqsLlieFwjkGgLaSHmhnvlAYzZLlYVjlW+QwI+1zE17kGxuJGmIqDQdYp56XdmGeD+Bswx0UTyG18xA== @@ -671,15 +671,6 @@ "@babel/helper-remap-async-to-generator" "^7.13.0" "@babel/plugin-syntax-async-generators" "^7.8.4" -"@babel/plugin-proposal-async-generator-functions@^7.13.8": - version "7.13.8" - resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-async-generator-functions/-/plugin-proposal-async-generator-functions-7.13.8.tgz#87aacb574b3bc4b5603f6fe41458d72a5a2ec4b1" - integrity sha512-rPBnhj+WgoSmgq+4gQUtXx/vOcU+UYtjy1AA/aeD61Hwj410fwYyqfUcRP3lR8ucgliVJL/G7sXcNUecC75IXA== - dependencies: - "@babel/helper-plugin-utils" "^7.13.0" - "@babel/helper-remap-async-to-generator" "^7.13.0" - "@babel/plugin-syntax-async-generators" "^7.8.4" - "@babel/plugin-proposal-class-properties@^7.12.1", "@babel/plugin-proposal-class-properties@^7.13.0": version "7.13.0" resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-class-properties/-/plugin-proposal-class-properties-7.13.0.tgz#146376000b94efd001e57a40a88a525afaab9f37" @@ -1150,13 +1141,6 @@ "@babel/helper-annotate-as-pure" "^7.10.4" "@babel/helper-plugin-utils" "^7.10.4" -"@babel/plugin-transform-regenerator@^7.12.13": - version "7.12.13" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-regenerator/-/plugin-transform-regenerator-7.12.13.tgz#b628bcc9c85260ac1aeb05b45bde25210194a2f5" - integrity sha512-lxb2ZAvSLyJ2PEe47hoGWPmW22v7CtSl9jW8mingV4H2sEX/JOcrAj2nPuGWi56ERUm2bUpjKzONAuT6HCn2EA== - dependencies: - regenerator-transform "^0.14.2" - "@babel/plugin-transform-regenerator@^7.13.15": version "7.13.15" resolved "https://registry.npmjs.org/@babel/plugin-transform-regenerator/-/plugin-transform-regenerator-7.13.15.tgz#e5eb28945bf8b6563e7f818945f966a8d2997f39" @@ -1255,82 +1239,7 @@ "@babel/helper-create-regexp-features-plugin" "^7.12.13" "@babel/helper-plugin-utils" "^7.12.13" -"@babel/preset-env@^7.12.1": - version "7.13.12" - resolved "https://registry.yarnpkg.com/@babel/preset-env/-/preset-env-7.13.12.tgz#6dff470478290582ac282fb77780eadf32480237" - integrity sha512-JzElc6jk3Ko6zuZgBtjOd01pf9yYDEIH8BcqVuYIuOkzOwDesoa/Nz4gIo4lBG6K861KTV9TvIgmFuT6ytOaAA== - dependencies: - "@babel/compat-data" "^7.13.12" - "@babel/helper-compilation-targets" "^7.13.10" - "@babel/helper-plugin-utils" "^7.13.0" - "@babel/helper-validator-option" "^7.12.17" - "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining" "^7.13.12" - "@babel/plugin-proposal-async-generator-functions" "^7.13.8" - "@babel/plugin-proposal-class-properties" "^7.13.0" - "@babel/plugin-proposal-dynamic-import" "^7.13.8" - "@babel/plugin-proposal-export-namespace-from" "^7.12.13" - "@babel/plugin-proposal-json-strings" "^7.13.8" - "@babel/plugin-proposal-logical-assignment-operators" "^7.13.8" - "@babel/plugin-proposal-nullish-coalescing-operator" "^7.13.8" - "@babel/plugin-proposal-numeric-separator" "^7.12.13" - "@babel/plugin-proposal-object-rest-spread" "^7.13.8" - "@babel/plugin-proposal-optional-catch-binding" "^7.13.8" - "@babel/plugin-proposal-optional-chaining" "^7.13.12" - "@babel/plugin-proposal-private-methods" "^7.13.0" - "@babel/plugin-proposal-unicode-property-regex" "^7.12.13" - "@babel/plugin-syntax-async-generators" "^7.8.4" - "@babel/plugin-syntax-class-properties" "^7.12.13" - "@babel/plugin-syntax-dynamic-import" "^7.8.3" - "@babel/plugin-syntax-export-namespace-from" "^7.8.3" - "@babel/plugin-syntax-json-strings" "^7.8.3" - "@babel/plugin-syntax-logical-assignment-operators" "^7.10.4" - "@babel/plugin-syntax-nullish-coalescing-operator" "^7.8.3" - "@babel/plugin-syntax-numeric-separator" "^7.10.4" - "@babel/plugin-syntax-object-rest-spread" "^7.8.3" - "@babel/plugin-syntax-optional-catch-binding" "^7.8.3" - "@babel/plugin-syntax-optional-chaining" "^7.8.3" - "@babel/plugin-syntax-top-level-await" "^7.12.13" - "@babel/plugin-transform-arrow-functions" "^7.13.0" - "@babel/plugin-transform-async-to-generator" "^7.13.0" - "@babel/plugin-transform-block-scoped-functions" "^7.12.13" - "@babel/plugin-transform-block-scoping" "^7.12.13" - "@babel/plugin-transform-classes" "^7.13.0" - "@babel/plugin-transform-computed-properties" "^7.13.0" - "@babel/plugin-transform-destructuring" "^7.13.0" - "@babel/plugin-transform-dotall-regex" "^7.12.13" - "@babel/plugin-transform-duplicate-keys" "^7.12.13" - "@babel/plugin-transform-exponentiation-operator" "^7.12.13" - "@babel/plugin-transform-for-of" "^7.13.0" - "@babel/plugin-transform-function-name" "^7.12.13" - "@babel/plugin-transform-literals" "^7.12.13" - "@babel/plugin-transform-member-expression-literals" "^7.12.13" - "@babel/plugin-transform-modules-amd" "^7.13.0" - "@babel/plugin-transform-modules-commonjs" "^7.13.8" - "@babel/plugin-transform-modules-systemjs" "^7.13.8" - "@babel/plugin-transform-modules-umd" "^7.13.0" - "@babel/plugin-transform-named-capturing-groups-regex" "^7.12.13" - "@babel/plugin-transform-new-target" "^7.12.13" - "@babel/plugin-transform-object-super" "^7.12.13" - "@babel/plugin-transform-parameters" "^7.13.0" - "@babel/plugin-transform-property-literals" "^7.12.13" - "@babel/plugin-transform-regenerator" "^7.12.13" - "@babel/plugin-transform-reserved-words" "^7.12.13" - "@babel/plugin-transform-shorthand-properties" "^7.12.13" - "@babel/plugin-transform-spread" "^7.13.0" - "@babel/plugin-transform-sticky-regex" "^7.12.13" - "@babel/plugin-transform-template-literals" "^7.13.0" - "@babel/plugin-transform-typeof-symbol" "^7.12.13" - "@babel/plugin-transform-unicode-escapes" "^7.12.13" - "@babel/plugin-transform-unicode-regex" "^7.12.13" - "@babel/preset-modules" "^0.1.4" - "@babel/types" "^7.13.12" - babel-plugin-polyfill-corejs2 "^0.1.4" - babel-plugin-polyfill-corejs3 "^0.1.3" - babel-plugin-polyfill-regenerator "^0.1.2" - core-js-compat "^3.9.0" - semver "^6.3.0" - -"@babel/preset-env@^7.13.15": +"@babel/preset-env@^7.12.1", "@babel/preset-env@^7.13.15": version "7.13.15" resolved "https://registry.npmjs.org/@babel/preset-env/-/preset-env-7.13.15.tgz#c8a6eb584f96ecba183d3d414a83553a599f478f" integrity sha512-D4JAPMXcxk69PKe81jRJ21/fP/uYdcTZ3hJDF5QX2HSI9bBxxYw/dumdR6dGumhjxlprHPE4XWoPaqzZUVy2MA== @@ -9124,10 +9033,10 @@ gatsby-core-utils@^1.10.0, gatsby-core-utils@^1.10.1: tmp "^0.2.1" xdg-basedir "^4.0.0" -gatsby-core-utils@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/gatsby-core-utils/-/gatsby-core-utils-2.1.0.tgz#634989bc3cde1c7add752fbdc3c6a3cdd8e23377" - integrity sha512-zBNZ4kypfgqrUWNGMQQCXZookssXWaTnLWmxM7TOz5Phjvr0NvQo/xpkUgVbuylkQDwprmg88oRdox8L3zMY9Q== +gatsby-core-utils@^2.4.0: + version "2.4.0" + resolved "https://registry.yarnpkg.com/gatsby-core-utils/-/gatsby-core-utils-2.4.0.tgz#79fc058913450fa8d6e9dc065db2e7912658e5c8" + integrity sha512-vGsPnEFSI+9ZcCVLB2am2eWnleadljUc+zDngea2szam/YUBxq2kSlNfpzlSSWpGyiIIHXXuSc0ttQOKgta1HQ== dependencies: ci-info "2.0.0" configstore "^5.0.1" @@ -9192,9 +9101,9 @@ gatsby-plugin-compile-es6-packages@^2.1.0: regex-escape "^3.4.8" gatsby-plugin-mdx@^2.0.1: - version "2.1.0" - resolved "https://registry.yarnpkg.com/gatsby-plugin-mdx/-/gatsby-plugin-mdx-2.1.0.tgz#1ae6d096016d40219fe254a1bf2fe9e7a4ce6e7a" - integrity sha512-0iSsPxCUTJMeTbozHVqczlgMAKxZJ4IkxOS5a6aTCwzrOOwIfc5YqcWQEBS3nfUF/azzEIejYuydyTMi68Y76A== + version "2.4.0" + resolved "https://registry.yarnpkg.com/gatsby-plugin-mdx/-/gatsby-plugin-mdx-2.4.0.tgz#ad412275dd358aaaad905fd475d3d3c01788c594" + integrity sha512-hNrVFaeqItHt6jtVWyPOoqgoRNk6/xVz2doW5MRd7jZbkaBNsNJGcs4kaZ5l0XGAYoNrw99QoiDRG9WdyOIerA== dependencies: "@babel/core" "^7.12.3" "@babel/generator" "^7.12.5" @@ -9211,7 +9120,7 @@ gatsby-plugin-mdx@^2.0.1: escape-string-regexp "^1.0.5" eval "^0.1.4" fs-extra "^8.1.0" - gatsby-core-utils "^2.1.0" + gatsby-core-utils "^2.4.0" gray-matter "^4.0.2" json5 "^2.1.3" loader-utils "^1.4.0" @@ -15683,12 +15592,7 @@ prettier@^2.0.5, prettier@^2.2.1: resolved "https://registry.npmjs.org/prettier/-/prettier-2.2.1.tgz#795a1a78dd52f073da0cd42b21f9c91381923ff5" integrity sha512-PqyhM2yCjg/oKkFPtTGUojv7gnZAoG80ttl45O6x2Ug/rMJw4wcc9k6aaf2hibP7BGVCCM33gZoGjyvt9mm16Q== -pretty-bytes@^5.3.0: - version "5.3.0" - resolved "https://registry.yarnpkg.com/pretty-bytes/-/pretty-bytes-5.3.0.tgz#f2849e27db79fb4d6cfe24764fc4134f165989f2" - integrity sha512-hjGrh+P926p4R4WbaB6OckyRtO0F0/lQBiT+0gnxjV+5kjPBrfVBFCsCLbMqVQeydvIoouYTCmmEURiH3R1Bdg== - -pretty-bytes@^5.4.1: +pretty-bytes@^5.3.0, pretty-bytes@^5.4.1: version "5.4.1" resolved "https://registry.yarnpkg.com/pretty-bytes/-/pretty-bytes-5.4.1.tgz#cd89f79bbcef21e3d21eb0da68ffe93f803e884b" integrity sha512-s1Iam6Gwz3JI5Hweaz4GoCD1WUNUIyzePFy5+Js2hjwGVt2Z79wNN+ZKOZ2vB6C+Xs6njyB84Z1IthQg8d9LxA== From 03705d6c30d5f1e378c9d4389c31c03f477465e2 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 28 Apr 2021 23:19:36 +0000 Subject: [PATCH 286/377] chore(deps-dev): bump auto from 10.25.1 to 10.25.2 Bumps [auto](https://github.com/intuit/auto) from 10.25.1 to 10.25.2. - [Release notes](https://github.com/intuit/auto/releases) - [Changelog](https://github.com/intuit/auto/blob/main/CHANGELOG.md) - [Commits](https://github.com/intuit/auto/compare/v10.25.1...v10.25.2) Signed-off-by: dependabot[bot] --- yarn.lock | 46 +++++++++++++++++----------------------------- 1 file changed, 17 insertions(+), 29 deletions(-) diff --git a/yarn.lock b/yarn.lock index e00a75ee7..367d724dc 100644 --- a/yarn.lock +++ b/yarn.lock @@ -215,13 +215,13 @@ semver "^7.0.0" tslib "2.1.0" -"@auto-it/npm@10.25.1": - version "10.25.1" - resolved "https://registry.yarnpkg.com/@auto-it/npm/-/npm-10.25.1.tgz#709ae6c2ba072d280ddf9d47b27fff49d27f7def" - integrity sha512-l1YSBG3EOjS1wKvohajfQnXpLmAlxHt6xAegxbc2mHQi6z08HFRFZpyz+CbkFocOk0HyF4SXXGolbuLBAor1ug== +"@auto-it/npm@10.25.2": + version "10.25.2" + resolved "https://registry.yarnpkg.com/@auto-it/npm/-/npm-10.25.2.tgz#19914dfb3931072a9e51c87cb674a57e328512e9" + integrity sha512-c8tqxloZQwg9uC6honV2UqFDU/gnAYNV7WMPgPbfwV33zQOOD+kR8h2aMzH8jFUw05Ip9CKOVeZmAQApwT160g== dependencies: - "@auto-it/core" "10.25.1" - "@auto-it/package-json-utils" "10.25.1" + "@auto-it/core" "10.25.2" + "@auto-it/package-json-utils" "10.25.2" await-to-js "^3.0.0" endent "^2.0.1" env-ci "^5.0.1" @@ -235,27 +235,15 @@ url-join "^4.0.0" user-home "^2.0.0" -"@auto-it/package-json-utils@10.25.1": - version "10.25.1" - resolved "https://registry.yarnpkg.com/@auto-it/package-json-utils/-/package-json-utils-10.25.1.tgz#e052cf4d12a663f878dd4f7c9af88e3dc3348c63" - integrity sha512-x5Sv7RTEvIbjwgqU3nCD/v7ijETSaQlCVGCuE0/hSOOBB6hkpA1C6W4UEXPIF7Dkjsn/t00jqJYs+scwvMJ5Uw== +"@auto-it/package-json-utils@10.25.2": + version "10.25.2" + resolved "https://registry.yarnpkg.com/@auto-it/package-json-utils/-/package-json-utils-10.25.2.tgz#724d73cf868e4a2d4c2c6a3ffcf6676d78b13d95" + integrity sha512-IYnP+39Bb07XkjLLYG0zPmocXCVNiOEqnNrBVKmKRHqgtcgiYpCkiUP+p9J4mRibCLiRjZtY+jmzlVfnKXiAcw== dependencies: parse-author "^2.0.0" parse-github-url "1.0.2" -"@auto-it/released@10.25.1": - version "10.25.1" - resolved "https://registry.yarnpkg.com/@auto-it/released/-/released-10.25.1.tgz#235d6c51b2f456cdf27f5e744a4274efd036356f" - integrity sha512-VF5lz2+9kTcSeccEtScCAoaU5KnYf+jkVwLqEqyofRylyDXzd2Mfm/YfNJoQT9ES9YEBiHOzLjuUPa+KeNn/dg== - dependencies: - "@auto-it/bot-list" "10.25.1" - "@auto-it/core" "10.25.1" - deepmerge "^4.0.0" - fp-ts "^2.5.3" - io-ts "^2.1.2" - tslib "2.1.0" - -"@auto-it/released@^10.25.0": +"@auto-it/released@10.25.2", "@auto-it/released@^10.25.0": version "10.25.2" resolved "https://registry.yarnpkg.com/@auto-it/released/-/released-10.25.2.tgz#2fd28ebff3b4efb9daa33e1a58d8615366ad5ede" integrity sha512-Pcam/Y5aej0x8dcj0HwvjnuCpGTzuZVDjBgGuHDoWr0RzXYNqxT86fKv/gsZKfOB/CKdk7Nmx1b0f2XM4OIK3w== @@ -4514,13 +4502,13 @@ author-regex@^1.0.0: integrity sha1-0IiFvmubv5Q5/gh8dihyRfCoFFA= auto@^10.25.0: - version "10.25.1" - resolved "https://registry.yarnpkg.com/auto/-/auto-10.25.1.tgz#55af705a360f9ed47edf7c7fafd6c4d3b0cd62f3" - integrity sha512-CFaxWbVjJQd797W8QlyKWPLuObdpf5d8IO9ylZiOMOQmpersJeKCJWkFOOPSO80zMpiRt2MrkkWExBtP8/qgHw== + version "10.25.2" + resolved "https://registry.yarnpkg.com/auto/-/auto-10.25.2.tgz#e9331cfb2a6989c55f6be53fa6db803d65a964e6" + integrity sha512-tmnvb3ebzKXRghvcKtYz0xI189tBYDnWTjdQ5lNq7gvSs4gSQORV5288Tpj4zSL8xlZ4Sr0qW8NALkW1kJTUpQ== dependencies: - "@auto-it/core" "10.25.1" - "@auto-it/npm" "10.25.1" - "@auto-it/released" "10.25.1" + "@auto-it/core" "10.25.2" + "@auto-it/npm" "10.25.2" + "@auto-it/released" "10.25.2" await-to-js "^3.0.0" chalk "^4.0.0" command-line-application "^0.10.1" From 48578e47d92d072f2b6e35ee85da4ae92355295d Mon Sep 17 00:00:00 2001 From: Florent SCHILDKNECHT <1577155+flo-sch@users.noreply.github.com> Date: Thu, 29 Apr 2021 17:33:30 +0200 Subject: [PATCH 287/377] Docs: improve Switch component documentation (#1687) --- packages/docs/src/pages/components/switch.mdx | 58 ++++++++++++++++++- 1 file changed, 56 insertions(+), 2 deletions(-) diff --git a/packages/docs/src/pages/components/switch.mdx b/packages/docs/src/pages/components/switch.mdx index d7d6c091c..118b14eea 100644 --- a/packages/docs/src/pages/components/switch.mdx +++ b/packages/docs/src/pages/components/switch.mdx @@ -10,10 +10,64 @@ Form switch input component import { Switch } from 'theme-ui' ``` -```js live=true +```jsx live=true ``` +## Input state style `&:checked` + +The Switch component renders several elements, among other things an +``, the state of which can be used to update the style. + +However, since this input is hidden by CSS (the "visual switch" is a Box), +applying for instance the `&:checked` CSS selector will not show any difference. + +To show different style based on the input state, you can use +[Emotion’s `&` selector](https://emotion.sh/docs/styled#nesting-components) + +```jsx live=true +