diff --git a/package.json b/package.json index 8e0ee63e..94eb4d7f 100644 --- a/package.json +++ b/package.json @@ -22,7 +22,7 @@ "react-dom": "17.0.2", "rebass": "^4.0.7", "styled-components": "^5.3.3", - "theme-ui": "0.3.5" + "theme-ui": "0.14.1" }, "devDependencies": { "@socialgouv/eslint-config-react": "^1.91.0", diff --git a/yarn.lock b/yarn.lock index baa9cde0..fbcda2e5 100644 --- a/yarn.lock +++ b/yarn.lock @@ -763,7 +763,7 @@ unist-builder "2.0.3" unist-util-visit "2.0.3" -"@mdx-js/react@1.6.22", "@mdx-js/react@^1.0.0", "@mdx-js/react@^1.6.22": +"@mdx-js/react@1.6.22", "@mdx-js/react@^1.6.22": version "1.6.22" resolved "https://registry.yarnpkg.com/@mdx-js/react/-/react-1.6.22.tgz#ae09b4744fddc74714ee9f9d6f17a66e77c43573" integrity sha512-TDoPum4SHdfPiGSAaRBw7ECyI8VaHpK8GJugbJIJuqyh6kzw9ZLJZW3HGL3NNrJGxcAixUvqROm+YuQOo5eXtg== @@ -1011,60 +1011,66 @@ "@styled-system/core" "^5.1.2" "@styled-system/css" "^5.1.5" -"@theme-ui/color-modes@0.3.5": - version "0.3.5" - resolved "https://registry.yarnpkg.com/@theme-ui/color-modes/-/color-modes-0.3.5.tgz#e280d1ff8be9f648c161b899e5049cb45a73cb90" - integrity sha512-3n5ExAnp1gAuVVFdGF2rRLyrVsa7qtmUXx+gj1wPJsADq23EE4ctkppC+aIfPFxT196WhR8fjErrVuO7Rh+wAg== +"@theme-ui/color-modes@0.14.1": + version "0.14.1" + resolved "https://registry.yarnpkg.com/@theme-ui/color-modes/-/color-modes-0.14.1.tgz#37e5d577780fd3a9d8674a039585f3a556a8c133" + integrity sha512-nMpNhyt1BtU451tDmPzy9JXEPQZADvfj+y8stYyRnFzYaeGVLBpm/6DXYqCzPaikt51T8J8MKMmoeyT1vh9hkA== dependencies: - "@emotion/core" "^10.0.0" - "@theme-ui/core" "0.3.5" - "@theme-ui/css" "0.3.5" + "@theme-ui/core" "0.14.1" + "@theme-ui/css" "0.14.1" deepmerge "^4.2.2" -"@theme-ui/components@0.3.5": - version "0.3.5" - resolved "https://registry.yarnpkg.com/@theme-ui/components/-/components-0.3.5.tgz#cd0b5a1292f88b3df2c5b6b299b0a6cdc6da52e5" - integrity sha512-RdWwnN43H1Tq80lGCu6icNuYCWoHHNtwH+LJGaGfiPkv/uMXWrwzKPLMiAuYM5b3ofKtmdaAcxZLjqAld97jkw== +"@theme-ui/components@0.14.1": + version "0.14.1" + resolved "https://registry.yarnpkg.com/@theme-ui/components/-/components-0.14.1.tgz#b4a2f49ca710ec3cc56e8363692f9bddf13ac6d5" + integrity sha512-Z5KZaYBJwbYvZBOdW4AYBLIsiILJBm9RqRljBI56LmtPKiakUkpPQq7WP70zeOGrd7D+pF0elvoa1Bl5ZxI4jg== 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.5" + "@theme-ui/css" "0.14.1" + "@types/styled-system" "^5.1.13" -"@theme-ui/core@0.3.5": - version "0.3.5" - resolved "https://registry.yarnpkg.com/@theme-ui/core/-/core-0.3.5.tgz#096ded31193bfe83c50d09eca0fb086cab2ac7e1" - integrity sha512-80gbG4BW0ZQgZ8TWSG7vY72uXDxmkI/GttjpJee7AJlWVrPh7RCD2E3cuFPjqXzt7o4BJ9lZSHmTXcLzixNtRw== +"@theme-ui/core@0.14.1": + version "0.14.1" + resolved "https://registry.yarnpkg.com/@theme-ui/core/-/core-0.14.1.tgz#e09bf863f10776d5b6b4e6473f0e423eb793c662" + integrity sha512-0r8tcprw4MSp66VJ2mPiutklsKqIweCT8bg3WMajQkncZ6JfUYjV2BBaIJ1L9io7+Zk+kx4WpOlG+abYhihS/A== dependencies: - "@emotion/core" "^10.0.0" - "@theme-ui/css" "0.3.5" + "@theme-ui/css" "0.14.1" + "@theme-ui/parse-props" "0.14.1" deepmerge "^4.2.2" -"@theme-ui/css@0.3.5": - version "0.3.5" - resolved "https://registry.yarnpkg.com/@theme-ui/css/-/css-0.3.5.tgz#cfd228c74bcc7840a7fe9e507858486ee4d403dc" - integrity sha512-XqsyXmifbnHOui1flSq4V7Lb3U+06Dbn2Q/leyr/cRd6Xgc0naiztdmD0MbXNvxgU51a2Ur9hyP4PnO5wE0yRg== +"@theme-ui/css@0.14.1": + version "0.14.1" + resolved "https://registry.yarnpkg.com/@theme-ui/css/-/css-0.14.1.tgz#c41e1f1409de682f1a765ac8d882d2f441435696" + integrity sha512-bABQOqDqZj7BzuvlmW8hAscmaQGbcUxd+bey7aAu0EoBgeTUrBRx1Nn/UQUVMahnAiD5dCF9CBw6rUUUz6Y6Zw== + dependencies: + csstype "^3.0.10" -"@theme-ui/mdx@0.3.5": - version "0.3.5" - resolved "https://registry.yarnpkg.com/@theme-ui/mdx/-/mdx-0.3.5.tgz#60d26102dcc8b2095269de461dcf8f51fa18cf4c" - integrity sha512-KMf5kkEcItQ3qIj7dston/kBOZc82ST2R0pUcyk/u8ZclX4ingRtZkMxm2zpmxybzdSUY3DIKf2MTK9CxUSpOQ== +"@theme-ui/mdx@0.14.1": + version "0.14.1" + resolved "https://registry.yarnpkg.com/@theme-ui/mdx/-/mdx-0.14.1.tgz#0b7cc26e3f780761b2835d7d30bd55a1ef80b7e6" + integrity sha512-6MiTwPIPt4MzS7EZp4iaUZg9YjdcqDqMFwKnWwGzIYn6lAr+be1KfZnO+jroTqNjLQ4CIXMSMj25ijjkYeAATw== dependencies: - "@emotion/core" "^10.0.0" - "@emotion/styled" "^10.0.0" - "@mdx-js/react" "^1.0.0" + "@theme-ui/core" "0.14.1" + "@theme-ui/css" "0.14.1" -"@theme-ui/theme-provider@0.3.5": - version "0.3.5" - resolved "https://registry.yarnpkg.com/@theme-ui/theme-provider/-/theme-provider-0.3.5.tgz#98ad67d8e2e38a6347ea604878202f49fea38088" - integrity sha512-C1kVsGyrh/pqO/j4+KSF5IvVW1DOnZoQmpaJ9EjyU4bqY0PCTZfuNdNPfydKaDWiYxrKGXKBeX0xjvLLU6R0zQ== +"@theme-ui/parse-props@0.14.1": + version "0.14.1" + resolved "https://registry.yarnpkg.com/@theme-ui/parse-props/-/parse-props-0.14.1.tgz#83230fbef72c03ee7061f2d44144b910aa93665c" + integrity sha512-1jCa4NndpLgJSgIfgAY7wA06w1SmSGiewBdTrgwrmDOIRswBZfJuVV7FKpr9/wRwLirmfuQ/+fpk36cDEMjlzg== dependencies: - "@emotion/core" "^10.0.0" - "@theme-ui/color-modes" "0.3.5" - "@theme-ui/core" "0.3.5" - "@theme-ui/mdx" "0.3.5" + "@theme-ui/css" "0.14.1" + +"@theme-ui/theme-provider@0.14.1": + version "0.14.1" + resolved "https://registry.yarnpkg.com/@theme-ui/theme-provider/-/theme-provider-0.14.1.tgz#dd087492cf5f190202138dee039bef8ef24b98c8" + integrity sha512-/fIVRukkHCRw1u3ZKskXHRwFI4mfYxACgnXPd9C5cuBz/Ps4Ith4ZCIG23qd3wZPablfkDUsfh4UADoq7z3Nfg== + dependencies: + "@theme-ui/color-modes" "0.14.1" + "@theme-ui/core" "0.14.1" + "@theme-ui/css" "0.14.1" + "@theme-ui/mdx" "0.14.1" "@tootallnate/once@1": version "1.1.2" @@ -1184,6 +1190,13 @@ resolved "https://registry.yarnpkg.com/@types/stack-utils/-/stack-utils-2.0.0.tgz#7036640b4e21cc2f259ae826ce843d277dad8cff" integrity sha512-RJJrrySY7A8havqpGObOB4W92QXKJo63/jFLLgpvOtsGUqbQZ9Sbgl35KMm1DjC6j7AvmmU2bIno+3IyEaemaw== +"@types/styled-system@^5.1.13": + version "5.1.15" + resolved "https://registry.yarnpkg.com/@types/styled-system/-/styled-system-5.1.15.tgz#075f969cc028a895dba916c07708e2fe828d7077" + integrity sha512-1uls4wipZn8FtYFZ7upRVFDoEeOXTQTs2zuyOZPn02T6rjIxtvj2P2lG5qsxXHhKuKsu3thveCZrtaeLE/ibLg== + dependencies: + csstype "^3.0.2" + "@types/unist@*", "@types/unist@^2.0.0", "@types/unist@^2.0.2", "@types/unist@^2.0.3": version "2.0.3" resolved "https://registry.yarnpkg.com/@types/unist/-/unist-2.0.3.tgz#9c088679876f374eb5983f150d4787aa6fb32d7e" @@ -2237,6 +2250,11 @@ csstype@^2.5.7: resolved "https://registry.yarnpkg.com/csstype/-/csstype-2.6.13.tgz#a6893015b90e84dd6e85d0e3b442a1e84f2dbe0f" integrity sha512-ul26pfSQTZW8dcOnD2iiJssfXw0gdNVX9IJDH/X3K5DGPfj+fUYe3kB+swUY6BF3oZDxaID3AJt+9/ojSAE05A== +csstype@^3.0.10, csstype@^3.0.2: + version "3.0.11" + resolved "https://registry.yarnpkg.com/csstype/-/csstype-3.0.11.tgz#d66700c5eacfac1940deb4e3ee5642792d85cd33" + integrity sha512-sa6P2wJ+CAbgyy4KFssIb/JNMLxFvKF1pCYCSXS8ZMuqZnMsrxqI2E5sPyoTpxoPU/gVZMzr2zjOfg8GIZOMsw== + damerau-levenshtein@^1.0.6: version "1.0.6" resolved "https://registry.yarnpkg.com/damerau-levenshtein/-/damerau-levenshtein-1.0.6.tgz#143c1641cb3d85c60c32329e26899adea8701791" @@ -6090,17 +6108,17 @@ 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.5: - version "0.3.5" - resolved "https://registry.yarnpkg.com/theme-ui/-/theme-ui-0.3.5.tgz#db29a4df0ad6cbf0fde42aab1cd9941c4b813efc" - integrity sha512-yxooGhvkdjFDotDeIFehKo5k6NnLZ3gsLSe8EDe2aDcoWqg1mZjkjjr8EYtVCrK3mk/tYz97AT5BpEnUfamNCQ== - dependencies: - "@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" +theme-ui@0.14.1: + version "0.14.1" + resolved "https://registry.yarnpkg.com/theme-ui/-/theme-ui-0.14.1.tgz#959640439f5c70efa3bc126026c5b2a93cab75eb" + integrity sha512-zrHw0LSzukt1hDAHWwmKmiO9aRBvvlqA/PaCxbkbrza3OTE2DGSttZnKZR1IDZ+gb+da1t2jqsEeN5rt6m+1uQ== + dependencies: + "@theme-ui/color-modes" "0.14.1" + "@theme-ui/components" "0.14.1" + "@theme-ui/core" "0.14.1" + "@theme-ui/css" "0.14.1" + "@theme-ui/mdx" "0.14.1" + "@theme-ui/theme-provider" "0.14.1" throat@^6.0.1: version "6.0.1"