Upgrade DS

Signed-off-by: soupette <cyril@strapi.io>
This commit is contained in:
soupette 2021-10-27 12:42:09 +02:00
parent c7dbfc6f88
commit be154b6ddd
6 changed files with 358 additions and 361 deletions

View File

@ -16,11 +16,8 @@ import ExternalLink from '@strapi/icons/ExternalLink';
import Github from '@strapi/icons/Github';
import Discord from '@strapi/icons/Discord';
import Reddit from '@strapi/icons/Reddit';
// FIXME
// eslint-disable-next-line import/no-duplicates
import Strapi from '@strapi/icons/Discourse';
import Strapi from '@strapi/icons/Strapi';
import Twitter from '@strapi/icons/Twitter';
// eslint-disable-next-line import/no-duplicates
import Discourse from '@strapi/icons/Discourse';
const StyledDiscord = styled(Discord)`

View File

@ -1403,28 +1403,22 @@ describe('Homepage', () => {
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M12.103 0C5.533 0 0 5.278 0 11.79V24l12.1-.012c6.57 0 11.9-5.481 11.9-11.992C24 5.486 18.666 0 12.103 0z"
fill="#231F20"
clip-rule="evenodd"
d="M23.498 0H7.68v8.035h7.783c.278 0 .503.224.503.502v7.783H24V.502A.502.502 0 0023.498 0z"
fill="#8E75FF"
fill-rule="evenodd"
/>
<path
d="M12.22 4.564a7.43 7.43 0 00-3.644.956 7.346 7.346 0 00-2.692 2.614 7.26 7.26 0 00-.149 7.22L4.4 19.606l4.793-1.072a7.433 7.433 0 006.355-.14 7.36 7.36 0 002.513-2.057 7.28 7.28 0 001.372-2.93 7.243 7.243 0 00-.035-3.228A7.281 7.281 0 0017.96 7.28a7.365 7.365 0 00-2.557-2.002 7.432 7.432 0 00-3.178-.715h-.007z"
fill="#FFF9AE"
clip-rule="evenodd"
d="M7.68 0v8.035H.252a.251.251 0 01-.178-.429L7.68 0zM16.395 23.926a.251.251 0 01-.43-.177V16.32H24l-7.605 7.606z"
fill="#8E75FF"
fill-rule="evenodd"
opacity="0.405"
/>
<path
d="M18.071 7.426a7.262 7.262 0 011.51 4.499 7.264 7.264 0 01-1.595 4.47 7.38 7.38 0 01-4.028 2.558 7.437 7.437 0 01-4.765-.43L4.4 19.61l4.88-.571a7.432 7.432 0 005.181.858 7.381 7.381 0 004.443-2.778 7.258 7.258 0 00-.833-9.693z"
fill="#00AEEF"
/>
<path
d="M16.713 6.078a7.253 7.253 0 01.86 8.928 7.361 7.361 0 01-3.736 2.962 7.437 7.437 0 01-4.784.065L4.4 19.61l4.793-1.075a7.436 7.436 0 005.24.313 7.362 7.362 0 004.123-3.22 7.249 7.249 0 00.914-5.123 7.296 7.296 0 00-2.757-4.427z"
fill="#00A94F"
/>
<path
d="M6.176 15.515a7.246 7.246 0 01-.26-4.876 7.312 7.312 0 012.9-3.95 7.427 7.427 0 019.26.735 7.387 7.387 0 00-4.603-2.771 7.431 7.431 0 00-5.277 1.068A7.311 7.311 0 005.06 10.06a7.249 7.249 0 00.676 5.294L4.4 19.607l1.776-4.092z"
fill="#F15D22"
/>
<path
d="M5.735 15.353a7.25 7.25 0 01-.764-4.818 7.294 7.294 0 012.465-4.222 7.415 7.415 0 014.596-1.744 7.42 7.42 0 014.681 1.509 7.404 7.404 0 00-4.865-2.26 7.421 7.421 0 00-5.12 1.61 7.293 7.293 0 00-2.66 4.626A7.256 7.256 0 005.28 15.24l-.877 4.37 1.332-4.257z"
fill="#E31B23"
d="M7.68 8.035h8.034c.14 0 .252.112.252.25v8.035H8.183a.502.502 0 01-.503-.502V8.035z"
fill="#8E75FF"
opacity="0.405"
/>
</svg>
</div>
@ -1462,28 +1456,22 @@ describe('Homepage', () => {
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M12.103 0C5.533 0 0 5.278 0 11.79V24l12.1-.012c6.57 0 11.9-5.481 11.9-11.992C24 5.486 18.666 0 12.103 0z"
fill="#231F20"
clip-rule="evenodd"
d="M23.498 0H7.68v8.035h7.783c.278 0 .503.224.503.502v7.783H24V.502A.502.502 0 0023.498 0z"
fill="#8E75FF"
fill-rule="evenodd"
/>
<path
d="M12.22 4.564a7.43 7.43 0 00-3.644.956 7.346 7.346 0 00-2.692 2.614 7.26 7.26 0 00-.149 7.22L4.4 19.606l4.793-1.072a7.433 7.433 0 006.355-.14 7.36 7.36 0 002.513-2.057 7.28 7.28 0 001.372-2.93 7.243 7.243 0 00-.035-3.228A7.281 7.281 0 0017.96 7.28a7.365 7.365 0 00-2.557-2.002 7.432 7.432 0 00-3.178-.715h-.007z"
fill="#FFF9AE"
clip-rule="evenodd"
d="M7.68 0v8.035H.252a.251.251 0 01-.178-.429L7.68 0zM16.395 23.926a.251.251 0 01-.43-.177V16.32H24l-7.605 7.606z"
fill="#8E75FF"
fill-rule="evenodd"
opacity="0.405"
/>
<path
d="M18.071 7.426a7.262 7.262 0 011.51 4.499 7.264 7.264 0 01-1.595 4.47 7.38 7.38 0 01-4.028 2.558 7.437 7.437 0 01-4.765-.43L4.4 19.61l4.88-.571a7.432 7.432 0 005.181.858 7.381 7.381 0 004.443-2.778 7.258 7.258 0 00-.833-9.693z"
fill="#00AEEF"
/>
<path
d="M16.713 6.078a7.253 7.253 0 01.86 8.928 7.361 7.361 0 01-3.736 2.962 7.437 7.437 0 01-4.784.065L4.4 19.61l4.793-1.075a7.436 7.436 0 005.24.313 7.362 7.362 0 004.123-3.22 7.249 7.249 0 00.914-5.123 7.296 7.296 0 00-2.757-4.427z"
fill="#00A94F"
/>
<path
d="M6.176 15.515a7.246 7.246 0 01-.26-4.876 7.312 7.312 0 012.9-3.95 7.427 7.427 0 019.26.735 7.387 7.387 0 00-4.603-2.771 7.431 7.431 0 00-5.277 1.068A7.311 7.311 0 005.06 10.06a7.249 7.249 0 00.676 5.294L4.4 19.607l1.776-4.092z"
fill="#F15D22"
/>
<path
d="M5.735 15.353a7.25 7.25 0 01-.764-4.818 7.294 7.294 0 012.465-4.222 7.415 7.415 0 014.596-1.744 7.42 7.42 0 014.681 1.509 7.404 7.404 0 00-4.865-2.26 7.421 7.421 0 00-5.12 1.61 7.293 7.293 0 00-2.66 4.626A7.256 7.256 0 005.28 15.24l-.877 4.37 1.332-4.257z"
fill="#E31B23"
d="M7.68 8.035h8.034c.14 0 .252.112.252.25v8.035H8.183a.502.502 0 01-.503-.502V8.035z"
fill="#8E75FF"
opacity="0.405"
/>
</svg>
</div>

View File

@ -40,8 +40,8 @@
"@fortawesome/react-fontawesome": "^0.1.14",
"@strapi/babel-plugin-switch-ee-ce": "1.0.0",
"@strapi/helper-plugin": "3.6.8",
"@strapi/icons": "0.0.1-alpha.52",
"@strapi/design-system": "0.0.1-alpha.52",
"@strapi/icons": "0.0.1-alpha.53",
"@strapi/design-system": "0.0.1-alpha.53",
"@strapi/utils": "3.6.8",
"axios": "^0.21.1",
"babel-loader": "8.2.2",

View File

@ -57,8 +57,8 @@
"@storybook/builder-webpack5": "^6.3.7",
"@storybook/manager-webpack5": "^6.3.7",
"@storybook/react": "^6.3.7",
"@strapi/icons": "0.0.1-alpha.52",
"@strapi/design-system": "0.0.1-alpha.52",
"@strapi/icons": "0.0.1-alpha.53",
"@strapi/design-system": "0.0.1-alpha.53",
"babel-loader": "^8.2.2",
"cross-env": "^7.0.3",
"date-fns": "2.22.1",

View File

@ -4602,19 +4602,19 @@
resolve-from "^5.0.0"
store2 "^2.12.0"
"@strapi/design-system@0.0.1-alpha.52":
version "0.0.1-alpha.52"
resolved "https://registry.yarnpkg.com/@strapi/design-system/-/design-system-0.0.1-alpha.52.tgz#c59f89532a1376c11cfad480003a31a02d59a9f1"
integrity sha512-LuNVxp7OqF1RwSCxEBUtdH/ngZsX8bNbUZV7R8gITOClHqBOBqULt4BRfgG2OARTfV3x1HzAtn/6z6I74JC9SA==
"@strapi/design-system@0.0.1-alpha.53":
version "0.0.1-alpha.53"
resolved "https://registry.yarnpkg.com/@strapi/design-system/-/design-system-0.0.1-alpha.53.tgz#3b4d06481edc39ef0be43ad98a17a748fe4921b9"
integrity sha512-2vqAQ/82OTwBfQWwhb5XwGJ2c3OjT3TxiS0S/5rKckK82GbBKqQFH6nuU45dGoCsaOk7JrSHRt3L2NJZlUazPA==
dependencies:
"@internationalized/number" "^3.0.2"
compute-scroll-into-view "^1.0.17"
prop-types "^15.7.2"
"@strapi/icons@0.0.1-alpha.52":
version "0.0.1-alpha.52"
resolved "https://registry.yarnpkg.com/@strapi/icons/-/icons-0.0.1-alpha.52.tgz#3daadf1231ad33163f1fc03f5ed03bd5a221ae3c"
integrity sha512-o/os1QnTCVIk2VJEac0XaX4lam+NepfPkz8DYJZPTNj0ngn5/cJ4TVpGzS9QbJgSIrpv7Dess1Hcox7OSFY1QQ==
"@strapi/icons@0.0.1-alpha.53":
version "0.0.1-alpha.53"
resolved "https://registry.yarnpkg.com/@strapi/icons/-/icons-0.0.1-alpha.53.tgz#4f94f7f2771ca34e6f348c3d45e84e40aaff169a"
integrity sha512-xAtUuzi83U2SzqPVjSMFfCObCzckdXVVJrhH1jmrR611qY+9tmydNusIXVeOYCU9E/dNZxDC6mFDcPn2jSIr/g==
"@stylelint/postcss-css-in-js@^0.37.2":
version "0.37.2"