diff --git a/packages/components/package.json b/packages/components/package.json index 3c3e8c88..739127e1 100644 --- a/packages/components/package.json +++ b/packages/components/package.json @@ -29,7 +29,7 @@ }, "dependencies": { "@emotion/is-prop-valid": "^0.8.8", - "theme-ui": "^0.3.1" + "theme-ui": "^0.4.0-rc.5" }, "gitHead": "55a253fcd34ac7acac5fcdd4893d1c1f77f9fc52", "devDependencies": { diff --git a/packages/gatsby-theme-core/package.json b/packages/gatsby-theme-core/package.json index f0d9b374..5f6a67bd 100644 --- a/packages/gatsby-theme-core/package.json +++ b/packages/gatsby-theme-core/package.json @@ -29,7 +29,7 @@ "react-dom": "^16.14.0" }, "dependencies": { - "@emotion/core": "^10.0.28", + "@emotion/core": "^11.0.0", "@mdx-js/mdx": "^1.6.21", "@mdx-js/react": "^1.6.21", "@reflexjs/components": "^0.5.1", diff --git a/packages/reflexjs/package.json b/packages/reflexjs/package.json index 02f6f0c0..4e57978d 100644 --- a/packages/reflexjs/package.json +++ b/packages/reflexjs/package.json @@ -32,11 +32,11 @@ }, "dependencies": { "@babel/plugin-transform-react-jsx": "^7.12.5", - "@emotion/core": "^10.0.0", + "@emotion/core": "^11.0.0", "babel-plugin-jsx-pragmatic": "^1.0.2", "csstype": "^3.0.6", "deepmerge": "^4.2.2", - "theme-ui": "^0.4.0-rc.14" + "theme-ui": "^0.4.0-rc.5" }, "peerDependencies": { "@babel/core": "^7.0.0", diff --git a/yarn.lock b/yarn.lock index b8ab30c6..c7379669 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2279,7 +2279,7 @@ "@emotion/utils" "0.11.3" "@emotion/weak-memoize" "0.2.5" -"@emotion/core@^10.0.0", "@emotion/core@^10.0.28": +"@emotion/core@^10.0.0": version "10.1.1" resolved "https://registry.yarnpkg.com/@emotion/core/-/core-10.1.1.tgz#c956c1365f2f2481960064bcb8c4732e5fb612c3" integrity sha512-ZMLG6qpXR8x031NXD8HJqugy/AZSkAuMxxqB46pmAR7ze47MhNJ56cdoX243QPZdGctrdfo+s08yZTiwaUcRKA== @@ -2291,6 +2291,11 @@ "@emotion/sheet" "0.9.4" "@emotion/utils" "0.11.3" +"@emotion/core@^11.0.0": + version "11.0.0" + resolved "https://registry.yarnpkg.com/@emotion/core/-/core-11.0.0.tgz#d075867e07864119de7cfd5268c15012bd2d6290" + integrity sha512-w4sE3AmHmyG6RDKf6mIbtHpgJUSJ2uGvPQb8VXFL7hFjMPibE8IiehG8cMX3Ztm4svfCQV6KqusQbeIOkurBcA== + "@emotion/css@^10.0.27": version "10.0.27" resolved "https://registry.yarnpkg.com/@emotion/css/-/css-10.0.27.tgz#3a7458198fbbebb53b01b2b87f64e5e21241e14c" @@ -4391,17 +4396,7 @@ lz-string "^1.4.4" pretty-format "^26.6.2" -"@theme-ui/color-modes@^0.3.4": - version "0.3.4" - resolved "https://registry.yarnpkg.com/@theme-ui/color-modes/-/color-modes-0.3.4.tgz#df5cfa8714bed0d4a5d33860c3c94b2a100ba55a" - integrity sha512-5bsnPuoG/aLrgTNmtDo7F/r8gQnG2Lfh7ZwbNnsScw6Zz3/XUIX1fJZdUyVs+h3UECBZIVDf+FDmyH66CqPRCQ== - dependencies: - "@emotion/core" "^10.0.0" - "@theme-ui/core" "^0.3.4" - "@theme-ui/css" "^0.3.4" - deepmerge "^4.2.2" - -"@theme-ui/color-modes@^0.4.0-rc.14": +"@theme-ui/color-modes@^0.4.0-rc.14", "@theme-ui/color-modes@^0.4.0-rc.5": version "0.4.0-rc.14" resolved "https://registry.yarnpkg.com/@theme-ui/color-modes/-/color-modes-0.4.0-rc.14.tgz#2e61a3e7ad8dcb916f9470fdfb57e55eb242d566" integrity sha512-nxfgi2pD27xs7v96s7GswrFl/WvzqdbZDlE1RnF0tEvhRhurdWKaDTm2f7mFsALmf6xb85Uwa059lvumwSMbSw== @@ -4411,41 +4406,19 @@ "@theme-ui/css" "^0.4.0-rc.13" deepmerge "^4.2.2" -"@theme-ui/components@0.4.0-rc.13": - version "0.4.0-rc.13" - resolved "https://registry.yarnpkg.com/@theme-ui/components/-/components-0.4.0-rc.13.tgz#7afe58a9570d63eccc481b352b694418b8e38a20" - integrity sha512-+S32r7jxvcsMIbReVW4fBHZhL4ZhmjhDVu9UwlHTYgF2fmoDywc4iJsBKsfqvdkeTg8Z/hWtzmUtdxL4X2lmjQ== - dependencies: - "@emotion/core" "^10.0.0" - "@emotion/styled" "^10.0.0" - "@styled-system/color" "^5.1.2" - "@styled-system/should-forward-prop" "^5.1.2" - "@styled-system/space" "^5.1.2" - "@theme-ui/css" "^0.4.0-rc.13" - "@types/styled-system" "^4.2.2" - -"@theme-ui/components@^0.3.4": - version "0.3.4" - resolved "https://registry.yarnpkg.com/@theme-ui/components/-/components-0.3.4.tgz#601e618e8f12a2731f4e67b00aba1b686eee0e0d" - integrity sha512-h/SWsyoyzRchNINogmSVoVUYbMM6+BwNJ+1YdCwB+fH1ERooWpWcf5F9oPzThKHDgxqaGY6SzPLkwaYPIM62/Q== +"@theme-ui/components@^0.4.0-rc.5": + version "0.4.0" + resolved "https://registry.yarnpkg.com/@theme-ui/components/-/components-0.4.0.tgz#9da8f3c59291f2150494fdc6afea40200f56c5a1" + integrity sha512-P0+BaWewKVx7IybPfbtNl2Jbyt54LF8/GqpCAzYR2VFOaU0r5fOqLFyyxjK7msqziLpfkwdVtTqaB0qHJww55g== dependencies: "@emotion/core" "^10.0.0" "@emotion/styled" "^10.0.0" "@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.4.0-rc.5" -"@theme-ui/core@^0.3.4": - version "0.3.4" - resolved "https://registry.yarnpkg.com/@theme-ui/core/-/core-0.3.4.tgz#0fffadfcaaa13e20d5fdf5ff55bcf79dd3afeea0" - integrity sha512-Hq8ZbpuAcCgxjbar14NUQwl9gZpFSnxkfB0kx52Oqst+JsNPeycKGJdwp2Lvh++KcWzedGgiTMs+2+RpgN7czQ== - dependencies: - "@emotion/core" "^10.0.0" - "@theme-ui/css" "^0.3.4" - deepmerge "^4.2.2" - -"@theme-ui/core@^0.4.0-rc.13": +"@theme-ui/core@^0.4.0-rc.13", "@theme-ui/core@^0.4.0-rc.5": version "0.4.0-rc.13" resolved "https://registry.yarnpkg.com/@theme-ui/core/-/core-0.4.0-rc.13.tgz#ff206b3d2113f4f78df267d371ed21b03ac2da29" integrity sha512-WJZWuA65QrZe6lKx+zLwKCK9JYuaGtnbGc3t+rdpc7hwX519IEM/lIVaLIzrpwih+sn3g64Npmls6gCOIrIIYQ== @@ -4454,12 +4427,7 @@ "@theme-ui/css" "^0.4.0-rc.13" deepmerge "^4.2.2" -"@theme-ui/css@^0.3.4": - version "0.3.4" - resolved "https://registry.yarnpkg.com/@theme-ui/css/-/css-0.3.4.tgz#26ff7696f8a0d80b2d9093ff04913e3046971aeb" - integrity sha512-/H9yxunPiAh2NENXp232OBTEnCzgz0N/KnF5RXgkncqNBeI6I1dzwMe/fE0GO4poH8sdzquc1nNRXuR3HgA3/w== - -"@theme-ui/css@^0.4.0-rc.13": +"@theme-ui/css@^0.4.0-rc.13", "@theme-ui/css@^0.4.0-rc.5": version "0.4.0-rc.13" resolved "https://registry.yarnpkg.com/@theme-ui/css/-/css-0.4.0-rc.13.tgz#ffe585bebe4fc91fea2935bb6beb40f50c6a7cf0" integrity sha512-YEO462Ia26T+i/6p/B4EJt/p3qJanPsSYpRP7MK4GchF/LbuHi0MS+zc4TpctIuIqpXgQR3w75b6xJZG1Oqn1Q== @@ -4471,16 +4439,7 @@ resolved "https://registry.yarnpkg.com/@theme-ui/match-media/-/match-media-0.3.4.tgz#75a2f9b384e6c8c2df1596abf53bef1e07b65fea" integrity sha512-um/bPUrmy8INcrXmnwEfsu1DapxNyC3uJBoLUxKPOm4NoWJOXriIZLU5p2vbVGpOj1sfmn62MYbyFWJGMYVSBg== -"@theme-ui/mdx@^0.3.4": - version "0.3.4" - resolved "https://registry.yarnpkg.com/@theme-ui/mdx/-/mdx-0.3.4.tgz#54f3ac3a56968400ebcc49a49a5cc4662bb384b0" - integrity sha512-9e+CzeIYfzpOPexcDD0zZl7mub0qQ88CrnQ8T7ofoQ48lH2HrUB9prMMK/CLACpCsNe4IG/KYZmPlMX3CzTPGA== - dependencies: - "@emotion/core" "^10.0.0" - "@emotion/styled" "^10.0.0" - "@mdx-js/react" "^1.0.0" - -"@theme-ui/mdx@^0.4.0-rc.13": +"@theme-ui/mdx@^0.4.0-rc.13", "@theme-ui/mdx@^0.4.0-rc.5": version "0.4.0-rc.13" resolved "https://registry.yarnpkg.com/@theme-ui/mdx/-/mdx-0.4.0-rc.13.tgz#748eb2958280c4c63ebbf7157f16bbf1ef5a3025" integrity sha512-ZESUQzOkAF9MXVRX0zQYdqfb0j8+K/KWHv+LJIGFgWXJmfhj+vmKn4CL630jT9jALpkMKXN08QD9mw3/vGlT6A== @@ -4496,17 +4455,7 @@ dependencies: prism-react-renderer "^1.0.2" -"@theme-ui/theme-provider@^0.3.4": - version "0.3.4" - resolved "https://registry.yarnpkg.com/@theme-ui/theme-provider/-/theme-provider-0.3.4.tgz#5dc65c32b90c0fcf3c900594df967ad1e9d7be39" - integrity sha512-dzqulnjmpYU+xXKGCPVkj0go1fOMSXs5Hl3wjagCiw3xsj+6VchfkgZcHAoL4a5opj51KZFArvLzpLyQ/ol8Hg== - 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/theme-provider@^0.4.0-rc.14": +"@theme-ui/theme-provider@^0.4.0-rc.5": version "0.4.0-rc.14" resolved "https://registry.yarnpkg.com/@theme-ui/theme-provider/-/theme-provider-0.4.0-rc.14.tgz#4f1ec3f337d1680691ff835132ab95f594ef8a4b" integrity sha512-DyypwnCSY+ogzBJCGYS9Q/58BIRxxk2WVqp2wx4LHhADAhIdLCDz2KO+8SAGLXfwmgt3cvCO7ebo1T6ZRpJV5Q== @@ -4910,13 +4859,6 @@ resolved "https://registry.yarnpkg.com/@types/stack-utils/-/stack-utils-2.0.0.tgz#7036640b4e21cc2f259ae826ce843d277dad8cff" integrity sha512-RJJrrySY7A8havqpGObOB4W92QXKJo63/jFLLgpvOtsGUqbQZ9Sbgl35KMm1DjC6j7AvmmU2bIno+3IyEaemaw== -"@types/styled-system@^4.2.2": - version "4.2.2" - resolved "https://registry.yarnpkg.com/@types/styled-system/-/styled-system-4.2.2.tgz#d8ec981978dc303849030c2428c92e2d472507ff" - integrity sha512-eULPjWVEaXElIFKBwDVWRvGkHC0Fj63XVRna8RHoaRivNhCI/QkEJpMgyb0uA4WpsHpO5SDXH+DyQwEUkyW3rA== - dependencies: - csstype "^2.6.4" - "@types/through@*": version "0.0.30" resolved "https://registry.yarnpkg.com/@types/through/-/through-0.0.30.tgz#e0e42ce77e897bd6aead6f6ea62aeb135b8a3895" @@ -8412,7 +8354,7 @@ cssstyle@^2.2.0: dependencies: cssom "~0.3.6" -csstype@^2.5.7, csstype@^2.6.4: +csstype@^2.5.7: version "2.6.14" resolved "https://registry.yarnpkg.com/csstype/-/csstype-2.6.14.tgz#004822a4050345b55ad4dcc00be1d9cf2f4296de" integrity sha512-2mSc+VEpGPblzAxyeR+vZhJKgYg0Og0nnRi7pmRXFYYxSfnOnW8A5wwQb4n4cE2nIOzqKOAzLCaEX6aBmNEv8A== @@ -21317,29 +21259,17 @@ text-table@0.2.0, text-table@^0.2.0: resolved "https://registry.yarnpkg.com/text-table/-/text-table-0.2.0.tgz#7f5ee823ae805207c00af2df4a84ec3fcfa570b4" integrity sha1-f17oI66AUgfACvLfSoTsP8+lcLQ= -theme-ui@^0.3.1: - version "0.3.4" - resolved "https://registry.yarnpkg.com/theme-ui/-/theme-ui-0.3.4.tgz#349f8d34ee3299c9a84fc0619377fc9f484951f2" - integrity sha512-0poOudYi97CdPaVU4bALWgLWALSqGlAAE/xy0D4765JIbHbpGpLdZwuuZ8ZJZtZVFhS1Saw6GBFH1/Vv4TLgWw== - 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@^0.4.0-rc.14: - version "0.4.0-rc.14" - resolved "https://registry.yarnpkg.com/theme-ui/-/theme-ui-0.4.0-rc.14.tgz#67856dd8302e621ad55f7687a18d483b506c0706" - integrity sha512-ciaGwsv9cRskUAukHSzMHdRXhqpweV8xAsywkE61gBg9msAfeI6MyeOU7HCseK4U9/Ppu3NNJExI32CK4BMDtg== - dependencies: - "@theme-ui/color-modes" "^0.4.0-rc.14" - "@theme-ui/components" "0.4.0-rc.13" - "@theme-ui/core" "^0.4.0-rc.13" - "@theme-ui/css" "^0.4.0-rc.13" - "@theme-ui/mdx" "^0.4.0-rc.13" - "@theme-ui/theme-provider" "^0.4.0-rc.14" +theme-ui@^0.4.0-rc.5: + version "0.4.0-rc.5" + resolved "https://registry.yarnpkg.com/theme-ui/-/theme-ui-0.4.0-rc.5.tgz#9cbf472dd2ac750467e2fb2e64638e688f852686" + integrity sha512-Qjwja3xiE8mSf5ozNNJiCE6DhAg3QCdNw3YtceGSwiswC3vsL+jl7LAkaBcjME6r4GAVOuvNaVqu1tFuzqR1Vw== + dependencies: + "@theme-ui/color-modes" "^0.4.0-rc.5" + "@theme-ui/components" "^0.4.0-rc.5" + "@theme-ui/core" "^0.4.0-rc.5" + "@theme-ui/css" "^0.4.0-rc.5" + "@theme-ui/mdx" "^0.4.0-rc.5" + "@theme-ui/theme-provider" "^0.4.0-rc.5" thenify-all@^1.0.0: version "1.6.0"