From 159ee5abf67d51fe687c8a75b88831f2850d8bc0 Mon Sep 17 00:00:00 2001 From: Gustav Hansen Date: Tue, 2 Aug 2022 13:48:43 +0200 Subject: [PATCH] chore: Update snapshot tests --- .../tests/__snapshots__/index.test.js.snap | 107 ++++++++++-------- yarn.lock | 2 +- 2 files changed, 60 insertions(+), 49 deletions(-) diff --git a/packages/core/content-type-builder/admin/src/components/ContentTypeBuilderNav/tests/__snapshots__/index.test.js.snap b/packages/core/content-type-builder/admin/src/components/ContentTypeBuilderNav/tests/__snapshots__/index.test.js.snap index a50bc1abb0..031396fe3b 100644 --- a/packages/core/content-type-builder/admin/src/components/ContentTypeBuilderNav/tests/__snapshots__/index.test.js.snap +++ b/packages/core/content-type-builder/admin/src/components/ContentTypeBuilderNav/tests/__snapshots__/index.test.js.snap @@ -1,7 +1,7 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP exports[` renders and matches the snapshot 1`] = ` -.c43 { +.c45 { padding-bottom: 56px; } @@ -10,11 +10,11 @@ exports[` renders and matches the snapshot 1`] = ` grid-template-columns: auto 1fr; } -.c44 { +.c46 { overflow-x: hidden; } -.c45 { +.c47 { border: 0; -webkit-clip: rect(0 0 0 0); clip: rect(0 0 0 0); @@ -94,13 +94,20 @@ exports[` renders and matches the snapshot 1`] = ` padding-left: 8px; } -.c37 { +.c38 { padding-top: 8px; padding-right: 16px; padding-bottom: 8px; padding-left: 32px; } +.c44 { + background: #f6f6f9; + padding-top: 8px; + padding-bottom: 8px; + padding-left: 48px; +} + .c1 { width: 14.5rem; background: #f6f6f9; @@ -177,7 +184,7 @@ exports[` renders and matches the snapshot 1`] = ` justify-content: center; } -.c39 { +.c40 { -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -216,7 +223,7 @@ exports[` renders and matches the snapshot 1`] = ` line-height: 1.43; } -.c42 { +.c43 { font-weight: 500; color: #32324d; font-size: 0.875rem; @@ -381,15 +388,15 @@ exports[` renders and matches the snapshot 1`] = ` fill: #666687; } -.c38 svg { +.c39 svg { height: 0.25rem; } -.c38 svg path { +.c39 svg path { fill: #4a4a6a; } -.c40 { +.c41 { border: none; padding: 0; background: transparent; @@ -403,7 +410,7 @@ exports[` renders and matches the snapshot 1`] = ` align-items: center; } -.c41 { +.c42 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -464,17 +471,21 @@ exports[` renders and matches the snapshot 1`] = ` fill: #8e8ea9; } -.c35 { - padding-right: 8px; +.c33 { + margin-top: 8px; } .c36 { + padding-right: 8px; +} + +.c37 { color: #4945ff; font-size: 0.75rem; line-height: 1.33; } -.c33 { +.c34 { -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -488,22 +499,22 @@ exports[` renders and matches the snapshot 1`] = ` flex-direction: row; } -.c34 { +.c35 { background: transparent; border: none; position: relative; outline: none; } -.c34[aria-disabled='true'] { +.c35[aria-disabled='true'] { pointer-events: none; } -.c34[aria-disabled='true'] svg path { +.c35[aria-disabled='true'] svg path { fill: #666687; } -.c34 svg { +.c35 svg { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -511,11 +522,11 @@ exports[` renders and matches the snapshot 1`] = ` font-size: 0.625rem; } -.c34 svg path { +.c35 svg path { fill: #4945ff; } -.c34:after { +.c35:after { -webkit-transition-property: all; transition-property: all; -webkit-transition-duration: 0.2s; @@ -530,11 +541,11 @@ exports[` renders and matches the snapshot 1`] = ` border: 2px solid transparent; } -.c34:focus-visible { +.c35:focus-visible { outline: none; } -.c34:focus-visible:after { +.c35:focus-visible:after { border-radius: 8px; content: ''; position: absolute; @@ -626,7 +637,7 @@ exports[` renders and matches the snapshot 1`] = ` - content-type-builder.menu.section.models.name. + Collection Types
renders and matches the snapshot 1`] = ` >
renders and matches the snapshot 1`] = ` >