mirror of
https://github.com/strapi/strapi.git
synced 2025-09-22 23:09:47 +00:00
chore: Update snapshot tests
This commit is contained in:
parent
e3fb4d5ae0
commit
159ee5abf6
@ -1,7 +1,7 @@
|
|||||||
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
||||||
|
|
||||||
exports[`<ContentTypeBuilderNav /> renders and matches the snapshot 1`] = `
|
exports[`<ContentTypeBuilderNav /> renders and matches the snapshot 1`] = `
|
||||||
.c43 {
|
.c45 {
|
||||||
padding-bottom: 56px;
|
padding-bottom: 56px;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -10,11 +10,11 @@ exports[`<ContentTypeBuilderNav /> renders and matches the snapshot 1`] = `
|
|||||||
grid-template-columns: auto 1fr;
|
grid-template-columns: auto 1fr;
|
||||||
}
|
}
|
||||||
|
|
||||||
.c44 {
|
.c46 {
|
||||||
overflow-x: hidden;
|
overflow-x: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
.c45 {
|
.c47 {
|
||||||
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);
|
||||||
@ -94,13 +94,20 @@ exports[`<ContentTypeBuilderNav /> renders and matches the snapshot 1`] = `
|
|||||||
padding-left: 8px;
|
padding-left: 8px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.c37 {
|
.c38 {
|
||||||
padding-top: 8px;
|
padding-top: 8px;
|
||||||
padding-right: 16px;
|
padding-right: 16px;
|
||||||
padding-bottom: 8px;
|
padding-bottom: 8px;
|
||||||
padding-left: 32px;
|
padding-left: 32px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.c44 {
|
||||||
|
background: #f6f6f9;
|
||||||
|
padding-top: 8px;
|
||||||
|
padding-bottom: 8px;
|
||||||
|
padding-left: 48px;
|
||||||
|
}
|
||||||
|
|
||||||
.c1 {
|
.c1 {
|
||||||
width: 14.5rem;
|
width: 14.5rem;
|
||||||
background: #f6f6f9;
|
background: #f6f6f9;
|
||||||
@ -177,7 +184,7 @@ exports[`<ContentTypeBuilderNav /> renders and matches the snapshot 1`] = `
|
|||||||
justify-content: center;
|
justify-content: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.c39 {
|
.c40 {
|
||||||
-webkit-align-items: center;
|
-webkit-align-items: center;
|
||||||
-webkit-box-align: center;
|
-webkit-box-align: center;
|
||||||
-ms-flex-align: center;
|
-ms-flex-align: center;
|
||||||
@ -216,7 +223,7 @@ exports[`<ContentTypeBuilderNav /> renders and matches the snapshot 1`] = `
|
|||||||
line-height: 1.43;
|
line-height: 1.43;
|
||||||
}
|
}
|
||||||
|
|
||||||
.c42 {
|
.c43 {
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
color: #32324d;
|
color: #32324d;
|
||||||
font-size: 0.875rem;
|
font-size: 0.875rem;
|
||||||
@ -381,15 +388,15 @@ exports[`<ContentTypeBuilderNav /> renders and matches the snapshot 1`] = `
|
|||||||
fill: #666687;
|
fill: #666687;
|
||||||
}
|
}
|
||||||
|
|
||||||
.c38 svg {
|
.c39 svg {
|
||||||
height: 0.25rem;
|
height: 0.25rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.c38 svg path {
|
.c39 svg path {
|
||||||
fill: #4a4a6a;
|
fill: #4a4a6a;
|
||||||
}
|
}
|
||||||
|
|
||||||
.c40 {
|
.c41 {
|
||||||
border: none;
|
border: none;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
background: transparent;
|
background: transparent;
|
||||||
@ -403,7 +410,7 @@ exports[`<ContentTypeBuilderNav /> renders and matches the snapshot 1`] = `
|
|||||||
align-items: center;
|
align-items: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.c41 {
|
.c42 {
|
||||||
display: -webkit-box;
|
display: -webkit-box;
|
||||||
display: -webkit-flex;
|
display: -webkit-flex;
|
||||||
display: -ms-flexbox;
|
display: -ms-flexbox;
|
||||||
@ -464,17 +471,21 @@ exports[`<ContentTypeBuilderNav /> renders and matches the snapshot 1`] = `
|
|||||||
fill: #8e8ea9;
|
fill: #8e8ea9;
|
||||||
}
|
}
|
||||||
|
|
||||||
.c35 {
|
.c33 {
|
||||||
padding-right: 8px;
|
margin-top: 8px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.c36 {
|
.c36 {
|
||||||
|
padding-right: 8px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.c37 {
|
||||||
color: #4945ff;
|
color: #4945ff;
|
||||||
font-size: 0.75rem;
|
font-size: 0.75rem;
|
||||||
line-height: 1.33;
|
line-height: 1.33;
|
||||||
}
|
}
|
||||||
|
|
||||||
.c33 {
|
.c34 {
|
||||||
-webkit-align-items: center;
|
-webkit-align-items: center;
|
||||||
-webkit-box-align: center;
|
-webkit-box-align: center;
|
||||||
-ms-flex-align: center;
|
-ms-flex-align: center;
|
||||||
@ -488,22 +499,22 @@ exports[`<ContentTypeBuilderNav /> renders and matches the snapshot 1`] = `
|
|||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
}
|
}
|
||||||
|
|
||||||
.c34 {
|
.c35 {
|
||||||
background: transparent;
|
background: transparent;
|
||||||
border: none;
|
border: none;
|
||||||
position: relative;
|
position: relative;
|
||||||
outline: none;
|
outline: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.c34[aria-disabled='true'] {
|
.c35[aria-disabled='true'] {
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.c34[aria-disabled='true'] svg path {
|
.c35[aria-disabled='true'] svg path {
|
||||||
fill: #666687;
|
fill: #666687;
|
||||||
}
|
}
|
||||||
|
|
||||||
.c34 svg {
|
.c35 svg {
|
||||||
display: -webkit-box;
|
display: -webkit-box;
|
||||||
display: -webkit-flex;
|
display: -webkit-flex;
|
||||||
display: -ms-flexbox;
|
display: -ms-flexbox;
|
||||||
@ -511,11 +522,11 @@ exports[`<ContentTypeBuilderNav /> renders and matches the snapshot 1`] = `
|
|||||||
font-size: 0.625rem;
|
font-size: 0.625rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.c34 svg path {
|
.c35 svg path {
|
||||||
fill: #4945ff;
|
fill: #4945ff;
|
||||||
}
|
}
|
||||||
|
|
||||||
.c34:after {
|
.c35:after {
|
||||||
-webkit-transition-property: all;
|
-webkit-transition-property: all;
|
||||||
transition-property: all;
|
transition-property: all;
|
||||||
-webkit-transition-duration: 0.2s;
|
-webkit-transition-duration: 0.2s;
|
||||||
@ -530,11 +541,11 @@ exports[`<ContentTypeBuilderNav /> renders and matches the snapshot 1`] = `
|
|||||||
border: 2px solid transparent;
|
border: 2px solid transparent;
|
||||||
}
|
}
|
||||||
|
|
||||||
.c34:focus-visible {
|
.c35:focus-visible {
|
||||||
outline: none;
|
outline: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.c34:focus-visible:after {
|
.c35:focus-visible:after {
|
||||||
border-radius: 8px;
|
border-radius: 8px;
|
||||||
content: '';
|
content: '';
|
||||||
position: absolute;
|
position: absolute;
|
||||||
@ -626,7 +637,7 @@ exports[`<ContentTypeBuilderNav /> renders and matches the snapshot 1`] = `
|
|||||||
<span
|
<span
|
||||||
class="c4 c23"
|
class="c4 c23"
|
||||||
>
|
>
|
||||||
content-type-builder.menu.section.models.name.
|
Collection Types
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
@ -741,12 +752,12 @@ exports[`<ContentTypeBuilderNav /> renders and matches the snapshot 1`] = `
|
|||||||
>
|
>
|
||||||
<button
|
<button
|
||||||
aria-disabled="false"
|
aria-disabled="false"
|
||||||
class="c33 c34"
|
class="c33 c34 c35"
|
||||||
type="button"
|
type="button"
|
||||||
>
|
>
|
||||||
<span
|
<span
|
||||||
aria-hidden="true"
|
aria-hidden="true"
|
||||||
class="c35"
|
class="c36"
|
||||||
>
|
>
|
||||||
<svg
|
<svg
|
||||||
fill="none"
|
fill="none"
|
||||||
@ -762,7 +773,7 @@ exports[`<ContentTypeBuilderNav /> renders and matches the snapshot 1`] = `
|
|||||||
</svg>
|
</svg>
|
||||||
</span>
|
</span>
|
||||||
<span
|
<span
|
||||||
class="c36"
|
class="c37"
|
||||||
>
|
>
|
||||||
Create new collection type
|
Create new collection type
|
||||||
</span>
|
</span>
|
||||||
@ -791,7 +802,7 @@ exports[`<ContentTypeBuilderNav /> renders and matches the snapshot 1`] = `
|
|||||||
<span
|
<span
|
||||||
class="c4 c23"
|
class="c4 c23"
|
||||||
>
|
>
|
||||||
content-type-builder.menu.section.single-types.name.
|
Single Types
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
@ -871,12 +882,12 @@ exports[`<ContentTypeBuilderNav /> renders and matches the snapshot 1`] = `
|
|||||||
>
|
>
|
||||||
<button
|
<button
|
||||||
aria-disabled="false"
|
aria-disabled="false"
|
||||||
class="c33 c34"
|
class="c33 c34 c35"
|
||||||
type="button"
|
type="button"
|
||||||
>
|
>
|
||||||
<span
|
<span
|
||||||
aria-hidden="true"
|
aria-hidden="true"
|
||||||
class="c35"
|
class="c36"
|
||||||
>
|
>
|
||||||
<svg
|
<svg
|
||||||
fill="none"
|
fill="none"
|
||||||
@ -892,7 +903,7 @@ exports[`<ContentTypeBuilderNav /> renders and matches the snapshot 1`] = `
|
|||||||
</svg>
|
</svg>
|
||||||
</span>
|
</span>
|
||||||
<span
|
<span
|
||||||
class="c36"
|
class="c37"
|
||||||
>
|
>
|
||||||
Create new single type
|
Create new single type
|
||||||
</span>
|
</span>
|
||||||
@ -921,7 +932,7 @@ exports[`<ContentTypeBuilderNav /> renders and matches the snapshot 1`] = `
|
|||||||
<span
|
<span
|
||||||
class="c4 c23"
|
class="c4 c23"
|
||||||
>
|
>
|
||||||
content-type-builder.menu.section.components.name.
|
Components
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
@ -964,18 +975,18 @@ exports[`<ContentTypeBuilderNav /> renders and matches the snapshot 1`] = `
|
|||||||
class=""
|
class=""
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
class="c37 c38"
|
class="c38 c39"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
class="c39"
|
class="c40"
|
||||||
>
|
>
|
||||||
<button
|
<button
|
||||||
aria-controls="subnav-list-7"
|
aria-controls="subnav-list-7"
|
||||||
aria-expanded="true"
|
aria-expanded="true"
|
||||||
class="c40"
|
class="c41"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
class="c41"
|
class="c42"
|
||||||
>
|
>
|
||||||
<svg
|
<svg
|
||||||
aria-hidden="true"
|
aria-hidden="true"
|
||||||
@ -997,7 +1008,7 @@ exports[`<ContentTypeBuilderNav /> renders and matches the snapshot 1`] = `
|
|||||||
class="c30"
|
class="c30"
|
||||||
>
|
>
|
||||||
<span
|
<span
|
||||||
class="c4 c42"
|
class="c4 c43"
|
||||||
>
|
>
|
||||||
Basic
|
Basic
|
||||||
</span>
|
</span>
|
||||||
@ -1010,7 +1021,7 @@ exports[`<ContentTypeBuilderNav /> renders and matches the snapshot 1`] = `
|
|||||||
>
|
>
|
||||||
<li>
|
<li>
|
||||||
<a
|
<a
|
||||||
class="c27 c28"
|
class="c44 c28"
|
||||||
href="/plugins/content-type-builder/component-categories/basic/basic.simple"
|
href="/plugins/content-type-builder/component-categories/basic/basic.simple"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
@ -1051,18 +1062,18 @@ exports[`<ContentTypeBuilderNav /> renders and matches the snapshot 1`] = `
|
|||||||
class=""
|
class=""
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
class="c37 c38"
|
class="c38 c39"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
class="c39"
|
class="c40"
|
||||||
>
|
>
|
||||||
<button
|
<button
|
||||||
aria-controls="subnav-list-8"
|
aria-controls="subnav-list-8"
|
||||||
aria-expanded="true"
|
aria-expanded="true"
|
||||||
class="c40"
|
class="c41"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
class="c41"
|
class="c42"
|
||||||
>
|
>
|
||||||
<svg
|
<svg
|
||||||
aria-hidden="true"
|
aria-hidden="true"
|
||||||
@ -1084,7 +1095,7 @@ exports[`<ContentTypeBuilderNav /> renders and matches the snapshot 1`] = `
|
|||||||
class="c30"
|
class="c30"
|
||||||
>
|
>
|
||||||
<span
|
<span
|
||||||
class="c4 c42"
|
class="c4 c43"
|
||||||
>
|
>
|
||||||
Default
|
Default
|
||||||
</span>
|
</span>
|
||||||
@ -1097,7 +1108,7 @@ exports[`<ContentTypeBuilderNav /> renders and matches the snapshot 1`] = `
|
|||||||
>
|
>
|
||||||
<li>
|
<li>
|
||||||
<a
|
<a
|
||||||
class="c27 c28"
|
class="c44 c28"
|
||||||
href="/plugins/content-type-builder/component-categories/default/default.closingperiod"
|
href="/plugins/content-type-builder/component-categories/default/default.closingperiod"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
@ -1132,7 +1143,7 @@ exports[`<ContentTypeBuilderNav /> renders and matches the snapshot 1`] = `
|
|||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<a
|
<a
|
||||||
class="c27 c28"
|
class="c44 c28"
|
||||||
href="/plugins/content-type-builder/component-categories/default/default.dish"
|
href="/plugins/content-type-builder/component-categories/default/default.dish"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
@ -1175,12 +1186,12 @@ exports[`<ContentTypeBuilderNav /> renders and matches the snapshot 1`] = `
|
|||||||
>
|
>
|
||||||
<button
|
<button
|
||||||
aria-disabled="false"
|
aria-disabled="false"
|
||||||
class="c33 c34"
|
class="c33 c34 c35"
|
||||||
type="button"
|
type="button"
|
||||||
>
|
>
|
||||||
<span
|
<span
|
||||||
aria-hidden="true"
|
aria-hidden="true"
|
||||||
class="c35"
|
class="c36"
|
||||||
>
|
>
|
||||||
<svg
|
<svg
|
||||||
fill="none"
|
fill="none"
|
||||||
@ -1196,7 +1207,7 @@ exports[`<ContentTypeBuilderNav /> renders and matches the snapshot 1`] = `
|
|||||||
</svg>
|
</svg>
|
||||||
</span>
|
</span>
|
||||||
<span
|
<span
|
||||||
class="c36"
|
class="c37"
|
||||||
>
|
>
|
||||||
Create a new component
|
Create a new component
|
||||||
</span>
|
</span>
|
||||||
@ -1207,13 +1218,13 @@ exports[`<ContentTypeBuilderNav /> renders and matches the snapshot 1`] = `
|
|||||||
</div>
|
</div>
|
||||||
</nav>
|
</nav>
|
||||||
<div
|
<div
|
||||||
class="c43 c44"
|
class="c45 c46"
|
||||||
>
|
>
|
||||||
<div />
|
<div />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
class="c45"
|
class="c47"
|
||||||
>
|
>
|
||||||
<p
|
<p
|
||||||
aria-live="polite"
|
aria-live="polite"
|
||||||
|
@ -2640,7 +2640,7 @@
|
|||||||
resolved "https://registry.yarnpkg.com/@hutson/parse-repository-url/-/parse-repository-url-3.0.2.tgz#98c23c950a3d9b6c8f0daed06da6c3af06981340"
|
resolved "https://registry.yarnpkg.com/@hutson/parse-repository-url/-/parse-repository-url-3.0.2.tgz#98c23c950a3d9b6c8f0daed06da6c3af06981340"
|
||||||
integrity sha512-H9XAx3hc0BQHY6l+IFSWHDySypcXsvsuLhgYLUGywmJ5pswRVQJUHpOsobnLYp2ZUaUlKiKDrgWWhosOwAEM8Q==
|
integrity sha512-H9XAx3hc0BQHY6l+IFSWHDySypcXsvsuLhgYLUGywmJ5pswRVQJUHpOsobnLYp2ZUaUlKiKDrgWWhosOwAEM8Q==
|
||||||
|
|
||||||
"@internationalized/number@^3.1.1":
|
"@internationalized/number@^3.0.2", "@internationalized/number@^3.1.1":
|
||||||
version "3.1.1"
|
version "3.1.1"
|
||||||
resolved "https://registry.yarnpkg.com/@internationalized/number/-/number-3.1.1.tgz#160584316741de4381689ab759001603ee17b595"
|
resolved "https://registry.yarnpkg.com/@internationalized/number/-/number-3.1.1.tgz#160584316741de4381689ab759001603ee17b595"
|
||||||
integrity sha512-dBxCQKIxvsZvW2IBt3KsqrCfaw2nV6o6a8xsloJn/hjW0ayeyhKuiiMtTwW3/WGNPP7ZRyDbtuiUEjMwif1ENQ==
|
integrity sha512-dBxCQKIxvsZvW2IBt3KsqrCfaw2nV6o6a8xsloJn/hjW0ayeyhKuiiMtTwW3/WGNPP7ZRyDbtuiUEjMwif1ENQ==
|
||||||
|
Loading…
x
Reference in New Issue
Block a user