Chrore: Update snapshot tests

This commit is contained in:
Gustav Hansen 2023-03-15 12:45:26 +01:00
parent eec289d0ce
commit 1a8c0e38f4

View File

@ -13,7 +13,13 @@ exports[`<ContentTypeBuilderNav /> renders and matches the snapshot 1`] = `
padding-right: 8px; padding-right: 8px;
} }
.c48 { .c40 {
color: #666687;
width: 0.5rem;
height: 0.5rem;
}
.c50 {
padding-bottom: 56px; padding-bottom: 56px;
} }
@ -31,12 +37,16 @@ exports[`<ContentTypeBuilderNav /> renders and matches the snapshot 1`] = `
flex-direction: row; flex-direction: row;
} }
.c40 { .c42 {
font-size: 0.75rem; font-size: 0.75rem;
line-height: 1.33; line-height: 1.33;
color: #4945ff; color: #4945ff;
} }
.c41 path {
fill: #666687;
}
.c38 { .c38 {
background: transparent; background: transparent;
border: none; border: none;
@ -94,7 +104,7 @@ exports[`<ContentTypeBuilderNav /> renders and matches the snapshot 1`] = `
border: 2px solid #4945ff; border: 2px solid #4945ff;
} }
.c50 { .c52 {
border: 0; border: 0;
-webkit-clip: rect(0 0 0 0); -webkit-clip: rect(0 0 0 0);
clip: rect(0 0 0 0); clip: rect(0 0 0 0);
@ -111,7 +121,7 @@ exports[`<ContentTypeBuilderNav /> renders and matches the snapshot 1`] = `
grid-template-columns: auto 1fr; grid-template-columns: auto 1fr;
} }
.c49 { .c51 {
overflow-x: hidden; overflow-x: hidden;
} }
@ -189,14 +199,14 @@ exports[`<ContentTypeBuilderNav /> renders and matches the snapshot 1`] = `
padding-left: 8px; padding-left: 8px;
} }
.c41 { .c43 {
padding-top: 8px; padding-top: 8px;
padding-right: 16px; padding-right: 16px;
padding-bottom: 8px; padding-bottom: 8px;
padding-left: 32px; padding-left: 32px;
} }
.c47 { .c49 {
background: #f6f6f9; background: #f6f6f9;
padding-top: 8px; padding-top: 8px;
padding-bottom: 8px; padding-bottom: 8px;
@ -224,7 +234,7 @@ exports[`<ContentTypeBuilderNav /> renders and matches the snapshot 1`] = `
color: #32324d; color: #32324d;
} }
.c46 { .c48 {
font-size: 0.875rem; font-size: 0.875rem;
line-height: 1.43; line-height: 1.43;
font-weight: 500; font-weight: 500;
@ -329,7 +339,7 @@ exports[`<ContentTypeBuilderNav /> renders and matches the snapshot 1`] = `
justify-content: center; justify-content: center;
} }
.c43 { .c45 {
-webkit-align-items: center; -webkit-align-items: center;
-webkit-box-align: center; -webkit-box-align: center;
-ms-flex-align: center; -ms-flex-align: center;
@ -507,15 +517,15 @@ exports[`<ContentTypeBuilderNav /> renders and matches the snapshot 1`] = `
fill: #666687; fill: #666687;
} }
.c42 svg { .c44 svg {
height: 0.25rem; height: 0.25rem;
} }
.c42 svg path { .c44 svg path {
fill: #4a4a6a; fill: #4a4a6a;
} }
.c44 { .c46 {
border: none; border: none;
padding: 0; padding: 0;
background: transparent; background: transparent;
@ -529,7 +539,7 @@ exports[`<ContentTypeBuilderNav /> renders and matches the snapshot 1`] = `
align-items: center; align-items: center;
} }
.c45 { .c47 {
display: -webkit-box; display: -webkit-box;
display: -webkit-flex; display: -webkit-flex;
display: -ms-flexbox; display: -ms-flexbox;
@ -781,6 +791,7 @@ exports[`<ContentTypeBuilderNav /> renders and matches the snapshot 1`] = `
class="c39" class="c39"
> >
<svg <svg
class="c40 c41"
fill="none" fill="none"
height="1rem" height="1rem"
viewBox="0 0 24 24" viewBox="0 0 24 24"
@ -794,7 +805,7 @@ exports[`<ContentTypeBuilderNav /> renders and matches the snapshot 1`] = `
</svg> </svg>
</span> </span>
<span <span
class="c40" class="c42"
> >
Create new collection type Create new collection type
</span> </span>
@ -910,6 +921,7 @@ exports[`<ContentTypeBuilderNav /> renders and matches the snapshot 1`] = `
class="c39" class="c39"
> >
<svg <svg
class="c40 c41"
fill="none" fill="none"
height="1rem" height="1rem"
viewBox="0 0 24 24" viewBox="0 0 24 24"
@ -923,7 +935,7 @@ exports[`<ContentTypeBuilderNav /> renders and matches the snapshot 1`] = `
</svg> </svg>
</span> </span>
<span <span
class="c40" class="c42"
> >
Create new single type Create new single type
</span> </span>
@ -994,18 +1006,18 @@ exports[`<ContentTypeBuilderNav /> renders and matches the snapshot 1`] = `
class="" class=""
> >
<div <div
class="c41 c42" class="c43 c44"
> >
<div <div
class="c43" class="c45"
> >
<button <button
aria-controls="4" aria-controls="4"
aria-expanded="true" aria-expanded="true"
class="c44" class="c46"
> >
<div <div
class="c45" class="c47"
> >
<svg <svg
aria-hidden="true" aria-hidden="true"
@ -1027,7 +1039,7 @@ exports[`<ContentTypeBuilderNav /> renders and matches the snapshot 1`] = `
class="c33" class="c33"
> >
<span <span
class="c4 c46" class="c4 c48"
> >
Basic Basic
</span> </span>
@ -1040,7 +1052,7 @@ exports[`<ContentTypeBuilderNav /> renders and matches the snapshot 1`] = `
> >
<li> <li>
<a <a
class="c47 c31" class="c49 c31"
href="/plugins/content-type-builder/component-categories/basic/basic.simple" href="/plugins/content-type-builder/component-categories/basic/basic.simple"
> >
<div <div
@ -1081,18 +1093,18 @@ exports[`<ContentTypeBuilderNav /> renders and matches the snapshot 1`] = `
class="" class=""
> >
<div <div
class="c41 c42" class="c43 c44"
> >
<div <div
class="c43" class="c45"
> >
<button <button
aria-controls="5" aria-controls="5"
aria-expanded="true" aria-expanded="true"
class="c44" class="c46"
> >
<div <div
class="c45" class="c47"
> >
<svg <svg
aria-hidden="true" aria-hidden="true"
@ -1114,7 +1126,7 @@ exports[`<ContentTypeBuilderNav /> renders and matches the snapshot 1`] = `
class="c33" class="c33"
> >
<span <span
class="c4 c46" class="c4 c48"
> >
Default Default
</span> </span>
@ -1127,7 +1139,7 @@ exports[`<ContentTypeBuilderNav /> renders and matches the snapshot 1`] = `
> >
<li> <li>
<a <a
class="c47 c31" class="c49 c31"
href="/plugins/content-type-builder/component-categories/default/default.closingperiod" href="/plugins/content-type-builder/component-categories/default/default.closingperiod"
> >
<div <div
@ -1162,7 +1174,7 @@ exports[`<ContentTypeBuilderNav /> renders and matches the snapshot 1`] = `
</li> </li>
<li> <li>
<a <a
class="c47 c31" class="c49 c31"
href="/plugins/content-type-builder/component-categories/default/default.dish" href="/plugins/content-type-builder/component-categories/default/default.dish"
> >
<div <div
@ -1213,6 +1225,7 @@ exports[`<ContentTypeBuilderNav /> renders and matches the snapshot 1`] = `
class="c39" class="c39"
> >
<svg <svg
class="c40 c41"
fill="none" fill="none"
height="1rem" height="1rem"
viewBox="0 0 24 24" viewBox="0 0 24 24"
@ -1226,7 +1239,7 @@ exports[`<ContentTypeBuilderNav /> renders and matches the snapshot 1`] = `
</svg> </svg>
</span> </span>
<span <span
class="c40" class="c42"
> >
Create a new component Create a new component
</span> </span>
@ -1237,13 +1250,13 @@ exports[`<ContentTypeBuilderNav /> renders and matches the snapshot 1`] = `
</div> </div>
</nav> </nav>
<div <div
class="c48 c49" class="c50 c51"
> >
<div /> <div />
</div> </div>
</div> </div>
<div <div
class="c50" class="c52"
> >
<p <p
aria-live="polite" aria-live="polite"