chore: Update snapshot tests

This commit is contained in:
Gustav Hansen 2022-02-10 18:04:42 +01:00
parent 8e6204251d
commit 73853a16da
21 changed files with 450 additions and 312 deletions

View File

@ -799,18 +799,22 @@ exports[`EditSettingsView renders and matches the snapshot 1`] = `
.c23 {
grid-column: span 6;
max-width: 100%;
}
.c41 {
grid-column: span 8;
max-width: 100%;
}
.c53 {
grid-column: span 6;
max-width: 100%;
}
.c70 {
grid-column: span 4;
max-width: 100%;
}
.c38 {
@ -2665,18 +2669,22 @@ exports[`EditSettingsView should add field 1`] = `
.c23 {
grid-column: span 6;
max-width: 100%;
}
.c41 {
grid-column: span 8;
max-width: 100%;
}
.c53 {
grid-column: span 6;
max-width: 100%;
}
.c70 {
grid-column: span 4;
max-width: 100%;
}
.c38 {
@ -5024,18 +5032,22 @@ exports[`EditSettingsView should add relation 1`] = `
.c23 {
grid-column: span 6;
max-width: 100%;
}
.c41 {
grid-column: span 8;
max-width: 100%;
}
.c53 {
grid-column: span 6;
max-width: 100%;
}
.c70 {
grid-column: span 4;
max-width: 100%;
}
.c38 {

View File

@ -838,10 +838,12 @@ exports[`ADMIN | CM | LV | Configure the view renders and matches the snapshot 1
.c46 {
grid-column: span 6;
max-width: 100%;
}
.c60 {
grid-column: span 3;
max-width: 100%;
}
.c28 {
@ -2642,10 +2644,12 @@ exports[`ADMIN | CM | LV | Configure the view should add field 1`] = `
.c46 {
grid-column: span 6;
max-width: 100%;
}
.c60 {
grid-column: span 3;
max-width: 100%;
}
.c28 {

View File

@ -556,6 +556,7 @@ describe('ADMIN | PAGES | AUTH | Register', () => {
.c23 {
grid-column: span 6;
max-width: 100%;
}
.c17 {

View File

@ -372,14 +372,17 @@ describe('Homepage', () => {
.c7 {
grid-column: span 8;
max-width: 100%;
}
.c33 {
grid-column: span 4;
max-width: 100%;
}
.c43 {
grid-column: span 6;
max-width: 100%;
}
.c50 {

View File

@ -700,6 +700,7 @@ describe('ADMIN | Pages | Profile page', () => {
.c20 {
grid-column: span 6;
max-width: 100%;
}
.c30::-ms-reveal {

View File

@ -174,6 +174,7 @@ describe('Application page', () => {
.c15 {
grid-column: span 6;
max-width: 100%;
}
.c19 {

View File

@ -767,6 +767,7 @@ exports[`<EditPage /> renders and matches the snapshot 1`] = `
.c27 {
grid-column: span 6;
max-width: 100%;
}
@media (max-width:68.75rem) {

View File

@ -598,6 +598,7 @@ describe('Admin | ee | SettingsPage | SSO', () => {
.c21 {
grid-column: span 6;
max-width: 100%;
}
@media (max-width:68.75rem) {

View File

@ -683,6 +683,7 @@ exports[`<CreatePage /> renders and matches the snapshot 1`] = `
.c27 {
grid-column: span 6;
max-width: 100%;
}
.c0:focus-visible {

View File

@ -668,10 +668,12 @@ describe('Email | Pages | Settings', () => {
.c14 {
grid-column: span 6;
max-width: 100%;
}
.c35 {
grid-column: span 7;
max-width: 100%;
}
@media (max-width:68.75rem) {

View File

@ -29,7 +29,7 @@ describe('DocAssetCard', () => {
);
expect(container).toMatchInlineSnapshot(`
.c24 {
.c28 {
border: 0;
-webkit-clip: rect(0 0 0 0);
clip: rect(0 0 0 0);
@ -47,32 +47,28 @@ describe('DocAssetCard', () => {
box-shadow: 0px 1px 4px rgba(33,33,52,0.1);
}
.c12 {
.c3 {
position: start;
}
.c8 {
position: end;
}
.c16 {
padding-top: 8px;
padding-right: 12px;
padding-bottom: 8px;
padding-left: 12px;
}
.c20 {
.c24 {
background: #f6f6f9;
padding: 4px;
border-radius: 4px;
min-width: 20px;
}
.c3 {
position: absolute;
top: 12px;
left: 12px;
}
.c5 {
position: absolute;
top: 12px;
right: 12px;
}
.c1 {
display: -webkit-box;
display: -webkit-flex;
@ -91,7 +87,21 @@ describe('DocAssetCard', () => {
align-items: center;
}
.c13 {
.c4 {
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-flex-direction: row;
-ms-flex-direction: row;
flex-direction: row;
-webkit-align-items: center;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
}
.c17 {
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
@ -105,7 +115,7 @@ describe('DocAssetCard', () => {
align-items: flex-start;
}
.c21 {
.c25 {
display: -webkit-inline-box;
display: -webkit-inline-flex;
display: -ms-inline-flexbox;
@ -123,20 +133,41 @@ describe('DocAssetCard', () => {
align-items: center;
}
.c16 {
.c5 > * {
margin-left: 0;
margin-right: 0;
}
.c5 > * + * {
margin-left: 8px;
}
.c6 {
position: absolute;
top: 12px;
left: 12px;
}
.c9 {
position: absolute;
top: 12px;
right: 12px;
}
.c20 {
font-weight: 600;
color: #32324d;
font-size: 0.75rem;
line-height: 1.33;
}
.c17 {
.c21 {
color: #666687;
font-size: 0.75rem;
line-height: 1.33;
}
.c23 {
.c27 {
color: #666687;
font-weight: 600;
font-size: 0.6875rem;
@ -144,18 +175,18 @@ describe('DocAssetCard', () => {
text-transform: uppercase;
}
.c19 {
.c23 {
margin-left: auto;
-webkit-flex-shrink: 0;
-ms-flex-negative: 0;
flex-shrink: 0;
}
.c22 {
.c26 {
margin-left: 4px;
}
.c4 {
.c7 {
margin: 0;
height: 18px;
min-width: 18px;
@ -166,12 +197,12 @@ describe('DocAssetCard', () => {
cursor: pointer;
}
.c4:checked {
.c7:checked {
background-color: #4945ff;
border: 1px solid #4945ff;
}
.c4:checked:after {
.c7:checked:after {
content: '';
display: block;
position: relative;
@ -185,21 +216,21 @@ describe('DocAssetCard', () => {
transform: translateX(-50%) translateY(-50%);
}
.c4:checked:disabled:after {
.c7:checked:disabled:after {
background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAiIGhlaWdodD0iOCIgdmlld0JveD0iMCAwIDEwIDgiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CiAgPHBhdGgKICAgIGQ9Ik04LjU1MzIzIDAuMzk2OTczQzguNjMxMzUgMC4zMTYzNTUgOC43NjA1MSAwLjMxNTgxMSA4LjgzOTMxIDAuMzk1NzY4TDkuODYyNTYgMS40MzQwN0M5LjkzODkzIDEuNTExNTcgOS45MzkzNSAxLjYzNTkgOS44NjM0OSAxLjcxMzlMNC4wNjQwMSA3LjY3NzI0QzMuOTg1OSA3Ljc1NzU1IDMuODU3MDcgNy43NTgwNSAzLjc3ODM0IDcuNjc4MzRMMC4xMzg2NiAzLjk5MzMzQzAuMDYxNzc5OCAzLjkxNTQ5IDAuMDYxNzEwMiAzLjc5MDMyIDAuMTM4NTA0IDMuNzEyNEwxLjE2MjEzIDIuNjczNzJDMS4yNDAzOCAyLjU5NDMyIDEuMzY4NDMgMi41OTQyMiAxLjQ0NjggMi42NzM0OEwzLjkyMTc0IDUuMTc2NDdMOC41NTMyMyAwLjM5Njk3M1oiCiAgICBmaWxsPSIjOEU4RUE5IgogIC8+Cjwvc3ZnPg==) no-repeat no-repeat center center;
}
.c4:disabled {
.c7:disabled {
background-color: #dcdce4;
border: 1px solid #c0c0cf;
}
.c4:indeterminate {
.c7:indeterminate {
background-color: #4945ff;
border: 1px solid #4945ff;
}
.c4:indeterminate:after {
.c7:indeterminate:after {
content: '';
display: block;
position: relative;
@ -214,16 +245,16 @@ describe('DocAssetCard', () => {
transform: translateX(-50%) translateY(-50%);
}
.c4:indeterminate:disabled {
.c7:indeterminate:disabled {
background-color: #dcdce4;
border: 1px solid #c0c0cf;
}
.c4:indeterminate:disabled:after {
.c7:indeterminate:disabled:after {
background-color: #8e8ea9;
}
.c14 {
.c18 {
word-break: break-all;
}
@ -232,16 +263,16 @@ describe('DocAssetCard', () => {
border-bottom: 1px solid #eaeaef;
}
.c15 {
.c19 {
padding-top: 4px;
}
.c8 {
.c12 {
width: 100%;
height: 5.5rem;
}
.c9 {
.c13 {
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
@ -259,7 +290,7 @@ describe('DocAssetCard', () => {
align-items: center;
}
.c6 {
.c10 {
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
@ -273,21 +304,21 @@ describe('DocAssetCard', () => {
outline: none;
}
.c6 svg {
.c10 svg {
height: 12px;
width: 12px;
}
.c6 svg > g,
.c6 svg path {
.c10 svg > g,
.c10 svg path {
fill: #ffffff;
}
.c6[aria-disabled='true'] {
.c10[aria-disabled='true'] {
pointer-events: none;
}
.c6:after {
.c10:after {
-webkit-transition-property: all;
transition-property: all;
-webkit-transition-duration: 0.2s;
@ -302,11 +333,11 @@ describe('DocAssetCard', () => {
border: 2px solid transparent;
}
.c6:focus-visible {
.c10:focus-visible {
outline: none;
}
.c6:focus-visible:after {
.c10:focus-visible:after {
border-radius: 8px;
content: '';
position: absolute;
@ -317,7 +348,7 @@ describe('DocAssetCard', () => {
border: 2px solid #4945ff;
}
.c7 {
.c11 {
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
@ -334,38 +365,38 @@ describe('DocAssetCard', () => {
width: 2rem;
}
.c7 svg > g,
.c7 svg path {
.c11 svg > g,
.c11 svg path {
fill: #8e8ea9;
}
.c7:hover svg > g,
.c7:hover svg path {
.c11:hover svg > g,
.c11:hover svg path {
fill: #666687;
}
.c7:active svg > g,
.c7:active svg path {
.c11:active svg > g,
.c11:active svg path {
fill: #a5a5ba;
}
.c7[aria-disabled='true'] {
.c11[aria-disabled='true'] {
background-color: #eaeaef;
}
.c7[aria-disabled='true'] svg path {
.c11[aria-disabled='true'] svg path {
fill: #666687;
}
.c18 {
.c22 {
text-transform: uppercase;
}
.c11 svg {
.c15 svg {
font-size: 3rem;
}
.c10 {
.c14 {
border-radius: 4px 4px 0 0;
background: linear-gradient(180deg,#ffffff 0%,#f6f6f9 121.48%);
}
@ -380,22 +411,22 @@ describe('DocAssetCard', () => {
class="c1 c2"
>
<div
class="c3"
class="c3 c4 c5 c6"
>
<input
aria-labelledby="card-1-title"
class="c4"
class="c7"
type="checkbox"
/>
</div>
<div
class="c5"
class="c8 c4 c5 c9"
>
<span>
<button
aria-disabled="false"
aria-labelledby="tooltip-1"
class="c6 c7"
class="c10 c11"
tabindex="0"
type="button"
>
@ -417,12 +448,12 @@ describe('DocAssetCard', () => {
</span>
</div>
<div
class="c8 c9 c10"
class="c12 c13 c14"
height="5.5rem"
width="100%"
>
<span
class="c11"
class="c15"
>
<svg
aria-label="hello.png"
@ -443,42 +474,42 @@ describe('DocAssetCard', () => {
</div>
</div>
<div
class="c12"
class="c16"
>
<div
class="c13"
class="c17"
>
<div
class="c14"
class="c18"
>
<div
class="c15"
class="c19"
>
<h2
class="c16"
class="c20"
id="card-1-title"
>
hello.png
</h2>
</div>
<div
class="c17"
class="c21"
>
<span
class="c18"
class="c22"
>
png
</span>
</div>
</div>
<div
class="c19"
class="c23"
>
<div
class="c20 c21 c22"
class="c24 c25 c26"
>
<span
class="c23"
class="c27"
>
Doc
</span>
@ -488,7 +519,7 @@ describe('DocAssetCard', () => {
</div>
</article>
<div
class="c24"
class="c28"
>
<p
aria-live="polite"

View File

@ -31,7 +31,7 @@ describe('ImageAssetCard', () => {
);
expect(container).toMatchInlineSnapshot(`
.c22 {
.c26 {
border: 0;
-webkit-clip: rect(0 0 0 0);
clip: rect(0 0 0 0);
@ -43,7 +43,7 @@ describe('ImageAssetCard', () => {
width: 1px;
}
.c13 {
.c17 {
padding-top: 4px;
}
@ -53,32 +53,28 @@ describe('ImageAssetCard', () => {
box-shadow: 0px 1px 4px rgba(33,33,52,0.1);
}
.c10 {
.c3 {
position: start;
}
.c8 {
position: end;
}
.c14 {
padding-top: 8px;
padding-right: 12px;
padding-bottom: 8px;
padding-left: 12px;
}
.c18 {
.c22 {
background: #f6f6f9;
padding: 4px;
border-radius: 4px;
min-width: 20px;
}
.c3 {
position: absolute;
top: 12px;
left: 12px;
}
.c5 {
position: absolute;
top: 12px;
right: 12px;
}
.c1 {
display: -webkit-box;
display: -webkit-flex;
@ -97,7 +93,21 @@ describe('ImageAssetCard', () => {
align-items: center;
}
.c11 {
.c4 {
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-flex-direction: row;
-ms-flex-direction: row;
flex-direction: row;
-webkit-align-items: center;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
}
.c15 {
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
@ -111,7 +121,7 @@ describe('ImageAssetCard', () => {
align-items: flex-start;
}
.c19 {
.c23 {
display: -webkit-inline-box;
display: -webkit-inline-flex;
display: -ms-inline-flexbox;
@ -129,14 +139,35 @@ describe('ImageAssetCard', () => {
align-items: center;
}
.c5 > * {
margin-left: 0;
margin-right: 0;
}
.c5 > * + * {
margin-left: 8px;
}
.c6 {
position: absolute;
top: 12px;
left: 12px;
}
.c9 {
position: absolute;
top: 12px;
right: 12px;
}
.c13 {
margin: 0;
padding: 0;
max-height: 100%;
max-width: 100%;
}
.c8 {
.c12 {
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
@ -150,20 +181,20 @@ describe('ImageAssetCard', () => {
background: repeating-conic-gradient(#f6f6f9 0% 25%,transparent 0% 50%) 50% / 20px 20px;
}
.c14 {
.c18 {
font-weight: 600;
color: #32324d;
font-size: 0.75rem;
line-height: 1.33;
}
.c15 {
.c19 {
color: #666687;
font-size: 0.75rem;
line-height: 1.33;
}
.c21 {
.c25 {
color: #666687;
font-weight: 600;
font-size: 0.6875rem;
@ -171,18 +202,18 @@ describe('ImageAssetCard', () => {
text-transform: uppercase;
}
.c17 {
.c21 {
margin-left: auto;
-webkit-flex-shrink: 0;
-ms-flex-negative: 0;
flex-shrink: 0;
}
.c20 {
.c24 {
margin-left: 4px;
}
.c4 {
.c7 {
margin: 0;
height: 18px;
min-width: 18px;
@ -193,12 +224,12 @@ describe('ImageAssetCard', () => {
cursor: pointer;
}
.c4:checked {
.c7:checked {
background-color: #4945ff;
border: 1px solid #4945ff;
}
.c4:checked:after {
.c7:checked:after {
content: '';
display: block;
position: relative;
@ -212,21 +243,21 @@ describe('ImageAssetCard', () => {
transform: translateX(-50%) translateY(-50%);
}
.c4:checked:disabled:after {
.c7:checked:disabled:after {
background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAiIGhlaWdodD0iOCIgdmlld0JveD0iMCAwIDEwIDgiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CiAgPHBhdGgKICAgIGQ9Ik04LjU1MzIzIDAuMzk2OTczQzguNjMxMzUgMC4zMTYzNTUgOC43NjA1MSAwLjMxNTgxMSA4LjgzOTMxIDAuMzk1NzY4TDkuODYyNTYgMS40MzQwN0M5LjkzODkzIDEuNTExNTcgOS45MzkzNSAxLjYzNTkgOS44NjM0OSAxLjcxMzlMNC4wNjQwMSA3LjY3NzI0QzMuOTg1OSA3Ljc1NzU1IDMuODU3MDcgNy43NTgwNSAzLjc3ODM0IDcuNjc4MzRMMC4xMzg2NiAzLjk5MzMzQzAuMDYxNzc5OCAzLjkxNTQ5IDAuMDYxNzEwMiAzLjc5MDMyIDAuMTM4NTA0IDMuNzEyNEwxLjE2MjEzIDIuNjczNzJDMS4yNDAzOCAyLjU5NDMyIDEuMzY4NDMgMi41OTQyMiAxLjQ0NjggMi42NzM0OEwzLjkyMTc0IDUuMTc2NDdMOC41NTMyMyAwLjM5Njk3M1oiCiAgICBmaWxsPSIjOEU4RUE5IgogIC8+Cjwvc3ZnPg==) no-repeat no-repeat center center;
}
.c4:disabled {
.c7:disabled {
background-color: #dcdce4;
border: 1px solid #c0c0cf;
}
.c4:indeterminate {
.c7:indeterminate {
background-color: #4945ff;
border: 1px solid #4945ff;
}
.c4:indeterminate:after {
.c7:indeterminate:after {
content: '';
display: block;
position: relative;
@ -241,16 +272,16 @@ describe('ImageAssetCard', () => {
transform: translateX(-50%) translateY(-50%);
}
.c4:indeterminate:disabled {
.c7:indeterminate:disabled {
background-color: #dcdce4;
border: 1px solid #c0c0cf;
}
.c4:indeterminate:disabled:after {
.c7:indeterminate:disabled:after {
background-color: #8e8ea9;
}
.c12 {
.c16 {
word-break: break-all;
}
@ -259,7 +290,7 @@ describe('ImageAssetCard', () => {
border-bottom: 1px solid #eaeaef;
}
.c6 {
.c10 {
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
@ -273,21 +304,21 @@ describe('ImageAssetCard', () => {
outline: none;
}
.c6 svg {
.c10 svg {
height: 12px;
width: 12px;
}
.c6 svg > g,
.c6 svg path {
.c10 svg > g,
.c10 svg path {
fill: #ffffff;
}
.c6[aria-disabled='true'] {
.c10[aria-disabled='true'] {
pointer-events: none;
}
.c6:after {
.c10:after {
-webkit-transition-property: all;
transition-property: all;
-webkit-transition-duration: 0.2s;
@ -302,11 +333,11 @@ describe('ImageAssetCard', () => {
border: 2px solid transparent;
}
.c6:focus-visible {
.c10:focus-visible {
outline: none;
}
.c6:focus-visible:after {
.c10:focus-visible:after {
border-radius: 8px;
content: '';
position: absolute;
@ -317,7 +348,7 @@ describe('ImageAssetCard', () => {
border: 2px solid #4945ff;
}
.c7 {
.c11 {
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
@ -334,30 +365,30 @@ describe('ImageAssetCard', () => {
width: 2rem;
}
.c7 svg > g,
.c7 svg path {
.c11 svg > g,
.c11 svg path {
fill: #8e8ea9;
}
.c7:hover svg > g,
.c7:hover svg path {
.c11:hover svg > g,
.c11:hover svg path {
fill: #666687;
}
.c7:active svg > g,
.c7:active svg path {
.c11:active svg > g,
.c11:active svg path {
fill: #a5a5ba;
}
.c7[aria-disabled='true'] {
.c11[aria-disabled='true'] {
background-color: #eaeaef;
}
.c7[aria-disabled='true'] svg path {
.c11[aria-disabled='true'] svg path {
fill: #666687;
}
.c16 {
.c20 {
text-transform: uppercase;
}
@ -371,22 +402,22 @@ describe('ImageAssetCard', () => {
class="c1 c2"
>
<div
class="c3"
class="c3 c4 c5 c6"
>
<input
aria-labelledby="card-1-title"
class="c4"
class="c7"
type="checkbox"
/>
</div>
<div
class="c5"
class="c8 c4 c5 c9"
>
<span>
<button
aria-disabled="false"
aria-labelledby="tooltip-1"
class="c6 c7"
class="c10 c11"
tabindex="0"
type="button"
>
@ -408,39 +439,39 @@ describe('ImageAssetCard', () => {
</span>
</div>
<div
class="c8"
class="c12"
>
<img
aria-hidden="true"
class="c9"
class="c13"
src="http://somewhere.com/hello.png?width=40&height=40"
/>
</div>
</div>
<div
class="c10"
class="c14"
>
<div
class="c11"
class="c15"
>
<div
class="c12"
class="c16"
>
<div
class="c13"
class="c17"
>
<h2
class="c14"
class="c18"
id="card-1-title"
>
hello.png
</h2>
</div>
<div
class="c15"
class="c19"
>
<span
class="c16"
class="c20"
>
png
</span>
@ -448,13 +479,13 @@ describe('ImageAssetCard', () => {
</div>
</div>
<div
class="c17"
class="c21"
>
<div
class="c18 c19 c20"
class="c22 c23 c24"
>
<span
class="c21"
class="c25"
>
Image
</span>
@ -464,7 +495,7 @@ describe('ImageAssetCard', () => {
</div>
</article>
<div
class="c22"
class="c26"
>
<p
aria-live="polite"

View File

@ -130,7 +130,7 @@ describe('MediaLibrary / AssetList', () => {
);
expect(container).toMatchInlineSnapshot(`
.c32 {
.c34 {
border: 0;
-webkit-clip: rect(0 0 0 0);
clip: rect(0 0 0 0);
@ -142,16 +142,16 @@ describe('MediaLibrary / AssetList', () => {
width: 1px;
}
.c11 {
.c14 {
padding-top: 4px;
}
.c27 {
.c29 {
width: 100%;
height: 10.25rem;
}
.c28 {
.c30 {
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
@ -169,7 +169,7 @@ describe('MediaLibrary / AssetList', () => {
align-items: center;
}
.c22 {
.c24 {
border: 0;
-webkit-clip: rect(0 0 0 0);
clip: rect(0 0 0 0);
@ -187,33 +187,31 @@ describe('MediaLibrary / AssetList', () => {
box-shadow: 0px 1px 4px rgba(33,33,52,0.1);
}
.c8 {
.c4 {
position: start;
}
.c11 {
padding-top: 8px;
padding-right: 12px;
padding-bottom: 8px;
padding-left: 12px;
}
.c16 {
.c19 {
background: #f6f6f9;
padding: 4px;
border-radius: 4px;
min-width: 20px;
}
.c23 {
.c25 {
background: #32324d;
color: #ffffff;
padding: 4px;
border-radius: 4px;
}
.c4 {
position: absolute;
top: 12px;
left: 12px;
}
.c2 {
display: -webkit-box;
display: -webkit-flex;
@ -232,7 +230,21 @@ describe('MediaLibrary / AssetList', () => {
align-items: center;
}
.c9 {
.c5 {
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-flex-direction: row;
-ms-flex-direction: row;
flex-direction: row;
-webkit-align-items: center;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
}
.c12 {
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
@ -246,7 +258,7 @@ describe('MediaLibrary / AssetList', () => {
align-items: flex-start;
}
.c17 {
.c20 {
display: -webkit-inline-box;
display: -webkit-inline-flex;
display: -ms-inline-flexbox;
@ -264,28 +276,29 @@ describe('MediaLibrary / AssetList', () => {
align-items: center;
}
.c20 {
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-flex-direction: row;
-ms-flex-direction: row;
flex-direction: row;
-webkit-align-items: center;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
.c6 > * {
margin-left: 0;
margin-right: 0;
}
.c6 > * + * {
margin-left: 8px;
}
.c7 {
position: absolute;
top: 12px;
left: 12px;
}
.c10 {
margin: 0;
padding: 0;
max-height: 100%;
max-width: 100%;
}
.c6 {
.c9 {
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
@ -299,20 +312,20 @@ describe('MediaLibrary / AssetList', () => {
background: repeating-conic-gradient(#f6f6f9 0% 25%,transparent 0% 50%) 50% / 20px 20px;
}
.c12 {
.c15 {
font-weight: 600;
color: #32324d;
font-size: 0.75rem;
line-height: 1.33;
}
.c13 {
.c16 {
color: #666687;
font-size: 0.75rem;
line-height: 1.33;
}
.c19 {
.c22 {
color: #666687;
font-weight: 600;
font-size: 0.6875rem;
@ -320,24 +333,24 @@ describe('MediaLibrary / AssetList', () => {
text-transform: uppercase;
}
.c25 {
.c27 {
color: #ffffff;
font-size: 0.75rem;
line-height: 1.33;
}
.c15 {
.c18 {
margin-left: auto;
-webkit-flex-shrink: 0;
-ms-flex-negative: 0;
flex-shrink: 0;
}
.c18 {
.c21 {
margin-left: 4px;
}
.c5 {
.c8 {
margin: 0;
height: 18px;
min-width: 18px;
@ -348,12 +361,12 @@ describe('MediaLibrary / AssetList', () => {
cursor: pointer;
}
.c5:checked {
.c8:checked {
background-color: #4945ff;
border: 1px solid #4945ff;
}
.c5:checked:after {
.c8:checked:after {
content: '';
display: block;
position: relative;
@ -367,21 +380,21 @@ describe('MediaLibrary / AssetList', () => {
transform: translateX(-50%) translateY(-50%);
}
.c5:checked:disabled:after {
.c8:checked:disabled:after {
background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAiIGhlaWdodD0iOCIgdmlld0JveD0iMCAwIDEwIDgiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CiAgPHBhdGgKICAgIGQ9Ik04LjU1MzIzIDAuMzk2OTczQzguNjMxMzUgMC4zMTYzNTUgOC43NjA1MSAwLjMxNTgxMSA4LjgzOTMxIDAuMzk1NzY4TDkuODYyNTYgMS40MzQwN0M5LjkzODkzIDEuNTExNTcgOS45MzkzNSAxLjYzNTkgOS44NjM0OSAxLjcxMzlMNC4wNjQwMSA3LjY3NzI0QzMuOTg1OSA3Ljc1NzU1IDMuODU3MDcgNy43NTgwNSAzLjc3ODM0IDcuNjc4MzRMMC4xMzg2NiAzLjk5MzMzQzAuMDYxNzc5OCAzLjkxNTQ5IDAuMDYxNzEwMiAzLjc5MDMyIDAuMTM4NTA0IDMuNzEyNEwxLjE2MjEzIDIuNjczNzJDMS4yNDAzOCAyLjU5NDMyIDEuMzY4NDMgMi41OTQyMiAxLjQ0NjggMi42NzM0OEwzLjkyMTc0IDUuMTc2NDdMOC41NTMyMyAwLjM5Njk3M1oiCiAgICBmaWxsPSIjOEU4RUE5IgogIC8+Cjwvc3ZnPg==) no-repeat no-repeat center center;
}
.c5:disabled {
.c8:disabled {
background-color: #dcdce4;
border: 1px solid #c0c0cf;
}
.c5:indeterminate {
.c8:indeterminate {
background-color: #4945ff;
border: 1px solid #4945ff;
}
.c5:indeterminate:after {
.c8:indeterminate:after {
content: '';
display: block;
position: relative;
@ -396,16 +409,16 @@ describe('MediaLibrary / AssetList', () => {
transform: translateX(-50%) translateY(-50%);
}
.c5:indeterminate:disabled {
.c8:indeterminate:disabled {
background-color: #dcdce4;
border: 1px solid #c0c0cf;
}
.c5:indeterminate:disabled:after {
.c8:indeterminate:disabled:after {
background-color: #8e8ea9;
}
.c10 {
.c13 {
word-break: break-all;
}
@ -414,36 +427,36 @@ describe('MediaLibrary / AssetList', () => {
border-bottom: 1px solid #eaeaef;
}
.c24 {
.c26 {
position: absolute;
bottom: 4px;
right: 4px;
}
.c14 {
.c17 {
text-transform: uppercase;
}
.c26 {
.c28 {
text-transform: uppercase;
}
.c21 canvas,
.c21 video {
.c23 canvas,
.c23 video {
display: block;
max-width: 100%;
max-height: 10.25rem;
}
.c31 {
.c33 {
text-transform: uppercase;
}
.c30 svg {
.c32 svg {
font-size: 3rem;
}
.c29 {
.c31 {
border-radius: 4px 4px 0 0;
background: linear-gradient(180deg,#ffffff 0%,#f6f6f9 121.48%);
}
@ -470,49 +483,49 @@ describe('MediaLibrary / AssetList', () => {
class="c2 c3"
>
<div
class="c4"
class="c4 c5 c6 c7"
>
<input
aria-labelledby="card-1-title"
class="c5"
class="c8"
type="checkbox"
/>
</div>
<div
class="c6"
class="c9"
>
<img
alt="strapi-cover_1fabc982ce.png"
aria-hidden="true"
class="c7"
class="c10"
src="http://localhost:1337/uploads/thumbnail_strapi_cover_1fabc982ce_5b43615ed5.png?width=1066&height=551"
/>
</div>
</div>
<div
class="c8"
class="c11"
>
<div
class="c9"
class="c12"
>
<div
class="c10"
class="c13"
>
<div
class="c11"
class="c14"
>
<h2
class="c12"
class="c15"
id="card-1-title"
>
strapi-cover_1fabc982ce.png
</h2>
</div>
<div
class="c13"
class="c16"
>
<span
class="c14"
class="c17"
>
png
</span>
@ -520,13 +533,13 @@ describe('MediaLibrary / AssetList', () => {
</div>
</div>
<div
class="c15"
class="c18"
>
<div
class="c16 c17 c18"
class="c19 c20 c21"
>
<span
class="c19"
class="c22"
>
Image
</span>
@ -544,22 +557,22 @@ describe('MediaLibrary / AssetList', () => {
class="c2 c3"
>
<div
class="c4"
class="c4 c5 c6 c7"
>
<input
aria-labelledby="card-2-title"
class="c5"
class="c8"
type="checkbox"
/>
</div>
<div
class="c6"
class="c9"
>
<div
class="c20"
class="c5"
>
<div
class="c21"
class="c23"
>
<figure
class=""
@ -573,7 +586,7 @@ describe('MediaLibrary / AssetList', () => {
/>
</video>
<figcaption
class="c22"
class="c24"
>
mov_bbb.mp4
</figcaption>
@ -582,52 +595,52 @@ describe('MediaLibrary / AssetList', () => {
</div>
</div>
<time
class="c23 c24"
class="c25 c26"
>
<span
class="c25"
class="c27"
>
...
</span>
</time>
</div>
<div
class="c8"
class="c11"
>
<div
class="c9"
class="c12"
>
<div
class="c10"
class="c13"
>
<div
class="c11"
class="c14"
>
<h2
class="c12"
class="c15"
id="card-2-title"
>
mov_bbb.mp4
</h2>
</div>
<div
class="c13"
class="c16"
>
<span
class="c26"
class="c28"
>
mp4
</span>
</div>
</div>
<div
class="c15"
class="c18"
>
<div
class="c16 c17 c18"
class="c19 c20 c21"
>
<span
class="c19"
class="c22"
>
Video
</span>
@ -645,21 +658,21 @@ describe('MediaLibrary / AssetList', () => {
class="c2 c3"
>
<div
class="c4"
class="c4 c5 c6 c7"
>
<input
aria-labelledby="card-3-title"
class="c5"
class="c8"
type="checkbox"
/>
</div>
<div
class="c27 c28 c29"
class="c29 c30 c31"
height="10.25rem"
width="100%"
>
<span
class="c30"
class="c32"
>
<svg
aria-label="CARTE MARIAGE AVS - Printemps.pdf"
@ -684,42 +697,42 @@ describe('MediaLibrary / AssetList', () => {
</div>
</div>
<div
class="c8"
class="c11"
>
<div
class="c9"
class="c12"
>
<div
class="c10"
class="c13"
>
<div
class="c11"
class="c14"
>
<h2
class="c12"
class="c15"
id="card-3-title"
>
CARTE MARIAGE AVS - Printemps.pdf
</h2>
</div>
<div
class="c13"
class="c16"
>
<span
class="c31"
class="c33"
>
pdf
</span>
</div>
</div>
<div
class="c15"
class="c18"
>
<div
class="c16 c17 c18"
class="c19 c20 c21"
>
<span
class="c19"
class="c22"
>
Doc
</span>
@ -749,7 +762,7 @@ describe('MediaLibrary / AssetList', () => {
</div>
</div>
<div
class="c32"
class="c34"
>
<p
aria-live="polite"

View File

@ -887,6 +887,7 @@ exports[`<EditAssetDialog /> renders and matches the snapshot 1`] = `
.c13 {
grid-column: span 6;
max-width: 100%;
}
.c15 {

View File

@ -887,6 +887,7 @@ exports[`<EditAssetDialog /> renders and matches the snapshot 1`] = `
.c13 {
grid-column: span 6;
max-width: 100%;
}
.c15 {

View File

@ -1,7 +1,7 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`<MediaLibraryInput /> renders and matches the snapshot 1`] = `
.c15 {
.c16 {
border: 0;
-webkit-clip: rect(0 0 0 0);
clip: rect(0 0 0 0);
@ -13,12 +13,12 @@ exports[`<MediaLibraryInput /> renders and matches the snapshot 1`] = `
width: 1px;
}
.c9 {
.c10 {
width: 100%;
height: 100%;
}
.c10 {
.c11 {
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
@ -36,25 +36,25 @@ exports[`<MediaLibraryInput /> renders and matches the snapshot 1`] = `
align-items: center;
}
.c11 {
.c12 {
color: #4945ff;
margin-bottom: 12px;
width: 30px;
height: 24px;
}
.c12 path {
.c13 path {
fill: #4945ff;
}
.c13 {
.c14 {
font-weight: 600;
color: #666687;
font-size: 0.75rem;
line-height: 1.33;
}
.c1 {
.c2 {
background: #f6f6f9;
padding: 8px;
border-radius: 4px;
@ -62,28 +62,28 @@ exports[`<MediaLibraryInput /> renders and matches the snapshot 1`] = `
border: 1px solid #dcdce4;
}
.c2 {
.c3 {
position: relative;
}
.c4 {
.c5 {
padding-right: 8px;
padding-left: 8px;
width: 100%;
}
.c6 {
.c7 {
height: 124px;
}
.c0 {
.c1 {
font-weight: 600;
color: #32324d;
font-size: 0.75rem;
line-height: 1.33;
}
.c7 {
.c8 {
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
@ -101,24 +101,43 @@ exports[`<MediaLibraryInput /> renders and matches the snapshot 1`] = `
align-items: center;
}
.c3 {
.c4 {
display: grid;
grid-template-columns: auto 1fr auto;
grid-template-areas: 'startAction slides endAction';
}
.c5 {
.c6 {
grid-area: slides;
}
.c8 {
.c0 {
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-flex-direction: column;
-ms-flex-direction: column;
flex-direction: column;
}
.c0 > * {
margin-top: 0;
margin-bottom: 0;
}
.c0 > * + * {
margin-top: 4px;
}
.c9 {
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
}
.c14 {
.c15 {
-webkit-align-items: center;
-webkit-box-align: center;
-ms-flex-align: center;
@ -127,76 +146,80 @@ exports[`<MediaLibraryInput /> renders and matches the snapshot 1`] = `
<body>
<div>
<label
class="c0"
for="carouselinput-1"
>
default
</label>
<div
class=""
id="carouselinput-1"
class="c0"
>
<div
<label
class="c1"
for="carouselinput-1"
>
<section
aria-label="default"
aria-roledescription="carousel"
class="c2 c3"
default
</label>
<div
class=""
id="carouselinput-1"
>
<div
class="c2"
>
<div
aria-live="polite"
class="c4 c5"
width="100%"
<section
aria-label="default"
aria-roledescription="carousel"
class="c3 c4"
>
<div
aria-label="upload.mediaLibraryInput.slideCount"
aria-roledescription="slide"
class="c6 c7 c8"
height="124px"
role="group"
aria-live="polite"
class="c5 c6"
width="100%"
>
<button
class="c9 c10"
height="100%"
style="cursor: pointer;"
type="button"
width="100%"
<div
aria-label="upload.mediaLibraryInput.slideCount"
aria-roledescription="slide"
class="c7 c8 c9"
height="124px"
role="group"
>
<svg
aria-hidden="true"
class="c11 c12"
fill="none"
height="24px"
viewBox="0 0 24 20"
width="30px"
xmlns="http://www.w3.org/2000/svg"
<button
class="c10 c11"
height="100%"
style="cursor: pointer;"
type="button"
width="100%"
>
<path
d="M21.525 2.394H7.814v1.582h13.711c.47 0 .824.498.824 1.091v9.834l-2.785-3.165c-.2-.233-.453-.42-.738-.549a2.21 2.21 0 00-.91-.194 2.209 2.209 0 00-.91.19 2.126 2.126 0 00-.739.545l-2.925 3.378-2.967-3.354a2.143 2.143 0 00-.739-.543 2.226 2.226 0 00-.909-.193c-.315.002-.626.07-.911.2-.285.13-.536.318-.737.552l-2.925 3.425V7.637H2.505v9.874c.023.153.059.304.107.451v.127l.042.095c.056.142.125.28.206.411l.099.15c.074.106.157.207.247.301l.123.119c.13.118.274.221.429.308h.025c.358.214.772.327 1.195.325h16.481a2.47 2.47 0 001.037-.239c.322-.153.605-.375.826-.648.222-.263.392-.564.502-.886.067-.216.108-.439.124-.664V5.067a2.493 2.493 0 00-.65-1.805 2.7 2.7 0 00-1.773-.868z"
fill="#32324D"
/>
<path
d="M12.526 9.18c.91 0 1.648-.708 1.648-1.582 0-.874-.738-1.582-1.648-1.582-.91 0-1.648.708-1.648 1.582 0 .874.738 1.582 1.648 1.582zM3.297 6.395h.823V3.988h2.473v-.79-.792H4.12V0h-.823c-.219 0-.849.002-.825 0v2.406H0v1.582h2.472v2.407h.825z"
fill="#32324D"
/>
</svg>
<span
class="c13 c14"
style="text-align: center;"
>
upload.mediaLibraryInput.placeholder
</span>
</button>
<svg
aria-hidden="true"
class="c12 c13"
fill="none"
height="24px"
viewBox="0 0 24 20"
width="30px"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M21.525 2.394H7.814v1.582h13.711c.47 0 .824.498.824 1.091v9.834l-2.785-3.165c-.2-.233-.453-.42-.738-.549a2.21 2.21 0 00-.91-.194 2.209 2.209 0 00-.91.19 2.126 2.126 0 00-.739.545l-2.925 3.378-2.967-3.354a2.143 2.143 0 00-.739-.543 2.226 2.226 0 00-.909-.193c-.315.002-.626.07-.911.2-.285.13-.536.318-.737.552l-2.925 3.425V7.637H2.505v9.874c.023.153.059.304.107.451v.127l.042.095c.056.142.125.28.206.411l.099.15c.074.106.157.207.247.301l.123.119c.13.118.274.221.429.308h.025c.358.214.772.327 1.195.325h16.481a2.47 2.47 0 001.037-.239c.322-.153.605-.375.826-.648.222-.263.392-.564.502-.886.067-.216.108-.439.124-.664V5.067a2.493 2.493 0 00-.65-1.805 2.7 2.7 0 00-1.773-.868z"
fill="#32324D"
/>
<path
d="M12.526 9.18c.91 0 1.648-.708 1.648-1.582 0-.874-.738-1.582-1.648-1.582-.91 0-1.648.708-1.648 1.582 0 .874.738 1.582 1.648 1.582zM3.297 6.395h.823V3.988h2.473v-.79-.792H4.12V0h-.823c-.219 0-.849.002-.825 0v2.406H0v1.582h2.472v2.407h.825z"
fill="#32324D"
/>
</svg>
<span
class="c14 c15"
style="text-align: center;"
>
upload.mediaLibraryInput.placeholder
</span>
</button>
</div>
</div>
</div>
</section>
</section>
</div>
</div>
</div>
</div>
<div
class="c15"
class="c16"
>
<p
aria-live="polite"

View File

@ -486,6 +486,7 @@ exports[`PendingAssetStep snapshots the component with valid cards 1`] = `
.c18 {
grid-column: span 4;
max-width: 100%;
}
.c27 {

View File

@ -420,6 +420,7 @@ describe('Upload | SettingsPage', () => {
.c23 {
grid-column: span 6;
max-width: 100%;
}
.c1 {

View File

@ -783,14 +783,17 @@ describe('ADMIN | Pages | Settings | Advanced Settings', () => {
.c18 {
grid-column: span 6;
max-width: 100%;
}
.c32 {
grid-column: span 12;
max-width: 100%;
}
.c48 {
grid-column: span 6;
max-width: 100%;
}
@media (max-width:68.75rem) {

View File

@ -665,14 +665,17 @@ describe('Admin | containers | RoleCreatePage', () => {
.c19 {
grid-column: span 6;
max-width: 100%;
}
.c34 {
grid-column: span 7;
max-width: 100%;
}
.c59 {
grid-column: span 5;
max-width: 100%;
}
.c51 {

View File

@ -737,14 +737,17 @@ describe('Admin | containers | RoleEditPage', () => {
.c24 {
grid-column: span 6;
max-width: 100%;
}
.c39 {
grid-column: span 7;
max-width: 100%;
}
.c64 {
grid-column: span 5;
max-width: 100%;
}
.c56 {