Merge branch 'v4/ds-migration' of github.com:strapi/strapi into v4/ds-migration

This commit is contained in:
soupette 2021-09-15 14:33:08 +02:00
commit 9a11062baa
13 changed files with 63 additions and 97 deletions

View File

@ -401,7 +401,7 @@ describe('ADMIN | PAGES | AUTH | BaseLogin', () => {
opacity: 1; opacity: 1;
} }
.c19:disabled { .c19[aria-disabled='true'] {
background: inherit; background: inherit;
color: inherit; color: inherit;
} }
@ -439,7 +439,7 @@ describe('ADMIN | PAGES | AUTH | BaseLogin', () => {
opacity: 1; opacity: 1;
} }
.c20:disabled { .c20[aria-disabled='true'] {
background: inherit; background: inherit;
color: inherit; color: inherit;
} }
@ -600,6 +600,7 @@ describe('ADMIN | PAGES | AUTH | BaseLogin', () => {
class="c1 c17 c18" class="c1 c17 c18"
> >
<input <input
aria-disabled="false"
aria-invalid="false" aria-invalid="false"
class="c19" class="c19"
id="textinput-1" id="textinput-1"
@ -633,6 +634,7 @@ describe('ADMIN | PAGES | AUTH | BaseLogin', () => {
class="c1 c17 c18" class="c1 c17 c18"
> >
<input <input
aria-disabled="false"
aria-invalid="false" aria-invalid="false"
class="c20" class="c20"
id="textinput-2" id="textinput-2"

View File

@ -407,7 +407,7 @@ describe('ADMIN | PAGES | AUTH | Register', () => {
opacity: 1; opacity: 1;
} }
.c29:disabled { .c29[aria-disabled='true'] {
background: inherit; background: inherit;
color: inherit; color: inherit;
} }
@ -445,7 +445,7 @@ describe('ADMIN | PAGES | AUTH | Register', () => {
opacity: 1; opacity: 1;
} }
.c30:disabled { .c30[aria-disabled='true'] {
background: inherit; background: inherit;
color: inherit; color: inherit;
} }
@ -690,6 +690,7 @@ describe('ADMIN | PAGES | AUTH | Register', () => {
class="c0 c27 c28" class="c0 c27 c28"
> >
<input <input
aria-disabled="false"
aria-invalid="false" aria-invalid="false"
class="c29" class="c29"
id="textinput-2" id="textinput-2"
@ -730,6 +731,7 @@ describe('ADMIN | PAGES | AUTH | Register', () => {
class="c0 c27 c28" class="c0 c27 c28"
> >
<input <input
aria-disabled="false"
aria-invalid="false" aria-invalid="false"
class="c29" class="c29"
id="textinput-3" id="textinput-3"
@ -765,6 +767,7 @@ describe('ADMIN | PAGES | AUTH | Register', () => {
class="c0 c27 c28" class="c0 c27 c28"
> >
<input <input
aria-disabled="false"
aria-invalid="false" aria-invalid="false"
class="c29" class="c29"
id="textinput-4" id="textinput-4"
@ -799,6 +802,7 @@ describe('ADMIN | PAGES | AUTH | Register', () => {
> >
<input <input
aria-describedby="textinput-5-hint" aria-describedby="textinput-5-hint"
aria-disabled="false"
aria-invalid="false" aria-invalid="false"
class="c30" class="c30"
id="textinput-5" id="textinput-5"
@ -860,6 +864,7 @@ describe('ADMIN | PAGES | AUTH | Register', () => {
class="c0 c27 c28" class="c0 c27 c28"
> >
<input <input
aria-disabled="false"
aria-invalid="false" aria-invalid="false"
class="c30" class="c30"
id="textinput-6" id="textinput-6"

View File

@ -350,7 +350,7 @@ describe('ADMIN | PAGES | AUTH | ResetPassword', () => {
opacity: 1; opacity: 1;
} }
.c23:disabled { .c23[aria-disabled='true'] {
background: inherit; background: inherit;
color: inherit; color: inherit;
} }
@ -554,6 +554,7 @@ describe('ADMIN | PAGES | AUTH | ResetPassword', () => {
> >
<input <input
aria-describedby="textinput-2-hint" aria-describedby="textinput-2-hint"
aria-disabled="false"
aria-invalid="false" aria-invalid="false"
class="c23" class="c23"
id="textinput-2" id="textinput-2"
@ -615,6 +616,7 @@ describe('ADMIN | PAGES | AUTH | ResetPassword', () => {
class="c0 c21 c22" class="c0 c21 c22"
> >
<input <input
aria-disabled="false"
aria-invalid="false" aria-invalid="false"
class="c23" class="c23"
id="textinput-3" id="textinput-3"

View File

@ -428,7 +428,7 @@ describe('ADMIN | Pages | Profile page', () => {
opacity: 1; opacity: 1;
} }
.c26:disabled { .c26[aria-disabled='true'] {
background: inherit; background: inherit;
color: inherit; color: inherit;
} }
@ -666,6 +666,7 @@ describe('ADMIN | Pages | Profile page', () => {
class="c24 c25" class="c24 c25"
> >
<input <input
aria-disabled="false"
aria-invalid="false" aria-invalid="false"
class="c26" class="c26"
id="textinput-1" id="textinput-1"
@ -707,6 +708,7 @@ describe('ADMIN | Pages | Profile page', () => {
class="c24 c25" class="c24 c25"
> >
<input <input
aria-disabled="false"
aria-invalid="false" aria-invalid="false"
class="c26" class="c26"
id="textinput-2" id="textinput-2"
@ -748,6 +750,7 @@ describe('ADMIN | Pages | Profile page', () => {
class="c24 c25" class="c24 c25"
> >
<input <input
aria-disabled="false"
aria-invalid="false" aria-invalid="false"
class="c26" class="c26"
id="textinput-3" id="textinput-3"
@ -789,6 +792,7 @@ describe('ADMIN | Pages | Profile page', () => {
class="c24 c25" class="c24 c25"
> >
<input <input
aria-disabled="false"
aria-invalid="false" aria-invalid="false"
class="c26" class="c26"
id="textinput-4" id="textinput-4"
@ -847,6 +851,7 @@ describe('ADMIN | Pages | Profile page', () => {
class="c24 c25" class="c24 c25"
> >
<input <input
aria-disabled="false"
aria-invalid="false" aria-invalid="false"
class="c26" class="c26"
id="textinput-5" id="textinput-5"
@ -888,6 +893,7 @@ describe('ADMIN | Pages | Profile page', () => {
class="c24 c25" class="c24 c25"
> >
<input <input
aria-disabled="false"
aria-invalid="false" aria-invalid="false"
class="c26" class="c26"
id="textinput-6" id="textinput-6"

View File

@ -379,7 +379,7 @@ exports[`<EditPage /> renders and matches the snapshot 1`] = `
opacity: 1; opacity: 1;
} }
.c26:disabled { .c26[aria-disabled='true'] {
background: inherit; background: inherit;
color: inherit; color: inherit;
} }
@ -674,6 +674,7 @@ exports[`<EditPage /> renders and matches the snapshot 1`] = `
class="c1 c3 c25" class="c1 c3 c25"
> >
<input <input
aria-disabled="false"
aria-invalid="false" aria-invalid="false"
class="c26" class="c26"
id="textinput-1" id="textinput-1"

View File

@ -379,7 +379,7 @@ exports[`<CreatePage /> renders and matches the snapshot 1`] = `
opacity: 1; opacity: 1;
} }
.c26:disabled { .c26[aria-disabled='true'] {
background: inherit; background: inherit;
color: inherit; color: inherit;
} }
@ -681,6 +681,7 @@ exports[`<CreatePage /> renders and matches the snapshot 1`] = `
class="c1 c3 c25" class="c1 c3 c25"
> >
<input <input
aria-disabled="false"
aria-invalid="false" aria-invalid="false"
class="c26" class="c26"
id="textinput-1" id="textinput-1"

View File

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

View File

@ -434,7 +434,7 @@ describe('Email | Pages | Settings', () => {
opacity: 1; opacity: 1;
} }
.c22:disabled { .c22[aria-disabled='true'] {
background: inherit; background: inherit;
color: inherit; color: inherit;
} }
@ -678,9 +678,9 @@ describe('Email | Pages | Settings', () => {
disabled="" disabled=""
> >
<input <input
aria-disabled="true"
aria-invalid="false" aria-invalid="false"
class="c22" class="c22"
disabled=""
id="textinput-3" id="textinput-3"
name="shipper-email" name="shipper-email"
placeholder="ex: Strapi No-Reply <no-reply@strapi.io>" placeholder="ex: Strapi No-Reply <no-reply@strapi.io>"
@ -720,9 +720,9 @@ describe('Email | Pages | Settings', () => {
disabled="" disabled=""
> >
<input <input
aria-disabled="true"
aria-invalid="false" aria-invalid="false"
class="c22" class="c22"
disabled=""
id="textinput-4" id="textinput-4"
name="response-email" name="response-email"
placeholder="ex: Strapi <example@strapi.io>" placeholder="ex: Strapi <example@strapi.io>"
@ -857,6 +857,7 @@ describe('Email | Pages | Settings', () => {
class="c20 c35" class="c20 c35"
> >
<input <input
aria-disabled="false"
aria-invalid="false" aria-invalid="false"
class="c22" class="c22"
id="test-address-input" id="test-address-input"

View File

@ -57,8 +57,8 @@
"@storybook/builder-webpack5": "^6.3.7", "@storybook/builder-webpack5": "^6.3.7",
"@storybook/manager-webpack5": "^6.3.7", "@storybook/manager-webpack5": "^6.3.7",
"@storybook/react": "^6.3.7", "@storybook/react": "^6.3.7",
"@strapi/icons": "0.0.1-alpha.30", "@strapi/icons": "0.0.1-alpha.31",
"@strapi/parts": "0.0.1-alpha.30", "@strapi/parts": "0.0.1-alpha.31",
"babel-loader": "^8.2.2", "babel-loader": "^8.2.2",
"cross-env": "^7.0.3", "cross-env": "^7.0.3",
"enzyme": "^3.8.0", "enzyme": "^3.8.0",

View File

@ -59,12 +59,6 @@ describe('', () => {
padding-left: 40px; padding-left: 40px;
} }
.c30 {
background: #212134;
padding: 8px;
border-radius: 4px;
}
.c1 { .c1 {
position: absolute; position: absolute;
z-index: 3; z-index: 3;
@ -112,31 +106,6 @@ describe('', () => {
align-items: center; align-items: center;
} }
.c33 {
font-weight: 500;
font-size: 0.75rem;
line-height: 1.33;
color: #ffffff;
}
.c32 {
border: 0;
-webkit-clip: rect(0 0 0 0);
clip: rect(0 0 0 0);
height: 1px;
margin: -1px;
overflow: hidden;
padding: 0;
position: absolute;
width: 1px;
}
.c31 {
position: absolute;
z-index: 3;
display: revert;
}
.c9 { .c9 {
display: -webkit-box; display: -webkit-box;
display: -webkit-flex; display: -webkit-flex;
@ -453,12 +422,10 @@ describe('', () => {
> >
Upload assets Upload assets
</h2> </h2>
<span>
<button <button
aria-disabled="false" aria-disabled="false"
aria-labelledby="tooltip-1" aria-label="Close the modal"
class="c9 c10" class="c9 c10"
tabindex="0"
type="button" type="button"
> >
<svg <svg
@ -474,7 +441,6 @@ describe('', () => {
/> />
</svg> </svg>
</button> </button>
</span>
</div> </div>
</div> </div>
<div <div
@ -580,26 +546,6 @@ describe('', () => {
</div> </div>
</div> </div>
</div> </div>
<div
data-react-portal="true"
>
<div
class="c30 c31"
id="tooltip-1"
role="tooltip"
style="left: 0px; top: -8px;"
>
<div
class="c32"
id="description-2"
/>
<p
class="c33"
>
Close the modal
</p>
</div>
</div>
</body> </body>
`); `);
}); });

View File

@ -106,7 +106,7 @@ describe('<Input />', () => {
opacity: 1; opacity: 1;
} }
.c6:disabled { .c6[aria-disabled='true'] {
background: inherit; background: inherit;
color: inherit; color: inherit;
} }
@ -161,6 +161,7 @@ describe('<Input />', () => {
class="c4 c5" class="c4 c5"
> >
<input <input
aria-disabled="false"
aria-invalid="false" aria-invalid="false"
aria-label="test" aria-label="test"
class="c6" class="c6"

View File

@ -431,7 +431,7 @@ describe('Admin | containers | RoleEditPage', () => {
opacity: 1; opacity: 1;
} }
.c25:disabled { .c25[aria-disabled='true'] {
background: inherit; background: inherit;
color: inherit; color: inherit;
} }
@ -771,6 +771,7 @@ describe('Admin | containers | RoleEditPage', () => {
class="c7 c23 c24" class="c7 c23 c24"
> >
<input <input
aria-disabled="false"
aria-invalid="false" aria-invalid="false"
class="c25" class="c25"
id="textinput-1" id="textinput-1"

View File

@ -4910,15 +4910,15 @@
resolve-from "^5.0.0" resolve-from "^5.0.0"
store2 "^2.12.0" store2 "^2.12.0"
"@strapi/icons@0.0.1-alpha.30": "@strapi/icons@0.0.1-alpha.31":
version "0.0.1-alpha.30" version "0.0.1-alpha.31"
resolved "https://registry.yarnpkg.com/@strapi/icons/-/icons-0.0.1-alpha.30.tgz#e6f50771f4434d22fdbb3453b3afb5af269546b8" resolved "https://registry.yarnpkg.com/@strapi/icons/-/icons-0.0.1-alpha.31.tgz#1d0211211c7720677685599c342e1ee81424b4ca"
integrity sha512-jUJnblvosFuCK69AN/SJvzudKzHO17/t/eph//J6/DUkZV4WHgd62Saj+VNPqnw+x5+AAn7W/tPwurZh8jyUTw== integrity sha512-A5rBydkUsiYdc0rlzszss5c5cWH44RfLXLDs4J7T+8WRuSVw7xNkLa82cSLgyWKEQKp1DL1V45nAWqM3gByUkQ==
"@strapi/parts@0.0.1-alpha.30": "@strapi/parts@0.0.1-alpha.31":
version "0.0.1-alpha.30" version "0.0.1-alpha.31"
resolved "https://registry.yarnpkg.com/@strapi/parts/-/parts-0.0.1-alpha.30.tgz#39b445e040e109bc535f2e680ea5d9c2740641e4" resolved "https://registry.yarnpkg.com/@strapi/parts/-/parts-0.0.1-alpha.31.tgz#ed176bdc93037052d7182e6710fd9bde282f3b61"
integrity sha512-lry03GRPOK1OvOjq7+wBzzid01S29yJtpxb70L6/FDPUPeeTK1IuSwrSrvgEU9PTuMhUYPMiPxfQVNH+34jCYw== integrity sha512-/V2nRQJnz1BY+Qrq6rjJtIuff+EgLoVIw3O5tOj8lOMk1QmOU3oqDaTYu8ayu4GKy7gJj1hYaV6oHmTVWu5czQ==
dependencies: dependencies:
"@internationalized/number" "^3.0.2" "@internationalized/number" "^3.0.2"
compute-scroll-into-view "^1.0.17" compute-scroll-into-view "^1.0.17"