From a25d813b6cd7b5cc28a95e20f0ee84eea13e4a26 Mon Sep 17 00:00:00 2001 From: WalkingPizza Date: Mon, 29 Aug 2022 09:50:46 +0200 Subject: [PATCH] Update snapshots --- .../tests/__snapshots__/index.test.js.snap | 12 +- .../ApiTokens/ListView/tests/index.test.js | 6 +- .../pages/Roles/ListPage/tests/index.test.js | 6 +- .../pages/Users/ListPage/tests/index.test.js | 313 +++++++++--------- .../Webhooks/ListView/tests/index.test.js | 6 +- .../pages/SettingsPage/tests/index.test.js | 6 +- .../AdvancedSettings/tests/index.test.js | 6 +- .../pages/Roles/ListPage/tests/index.test.js | 6 +- 8 files changed, 177 insertions(+), 184 deletions(-) diff --git a/packages/core/admin/admin/src/content-manager/pages/ListSettingsView/tests/__snapshots__/index.test.js.snap b/packages/core/admin/admin/src/content-manager/pages/ListSettingsView/tests/__snapshots__/index.test.js.snap index bcfb8d55f4..8e8fb9bba8 100644 --- a/packages/core/admin/admin/src/content-manager/pages/ListSettingsView/tests/__snapshots__/index.test.js.snap +++ b/packages/core/admin/admin/src/content-manager/pages/ListSettingsView/tests/__snapshots__/index.test.js.snap @@ -23,8 +23,8 @@ exports[`ADMIN | CM | LV | Configure the view renders and matches the snapshot 1 .c19 { font-weight: 600; color: #32324d; - font-size: 0.875rem; - line-height: 1.43; + font-size: 0.75rem; + line-height: 1.33; } .c16 { @@ -98,7 +98,7 @@ exports[`ADMIN | CM | LV | Configure the view renders and matches the snapshot 1 -webkit-box-align: center; -ms-flex-align: center; align-items: center; - padding: 10px 16px; + padding: 8px 16px; background: #4945ff; border: 1px solid #4945ff; } @@ -1867,8 +1867,8 @@ exports[`ADMIN | CM | LV | Configure the view should add field 1`] = ` .c19 { font-weight: 600; color: #32324d; - font-size: 0.875rem; - line-height: 1.43; + font-size: 0.75rem; + line-height: 1.33; } .c16 { @@ -1942,7 +1942,7 @@ exports[`ADMIN | CM | LV | Configure the view should add field 1`] = ` -webkit-box-align: center; -ms-flex-align: center; align-items: center; - padding: 10px 16px; + padding: 8px 16px; background: #4945ff; border: 1px solid #4945ff; } diff --git a/packages/core/admin/admin/src/pages/SettingsPage/pages/ApiTokens/ListView/tests/index.test.js b/packages/core/admin/admin/src/pages/SettingsPage/pages/ApiTokens/ListView/tests/index.test.js index fcb5769a3d..52d3018dfe 100644 --- a/packages/core/admin/admin/src/pages/SettingsPage/pages/ApiTokens/ListView/tests/index.test.js +++ b/packages/core/admin/admin/src/pages/SettingsPage/pages/ApiTokens/ListView/tests/index.test.js @@ -422,8 +422,8 @@ describe('ADMIN | Pages | API TOKENS | ListPage', () => { .c10 { font-weight: 600; color: #32324d; - font-size: 0.875rem; - line-height: 1.43; + font-size: 0.75rem; + line-height: 1.33; } .c8 { @@ -489,7 +489,7 @@ describe('ADMIN | Pages | API TOKENS | ListPage', () => { } .c6 { - padding: 10px 16px; + padding: 8px 16px; background: #4945ff; border: 1px solid #4945ff; border-radius: 4px; diff --git a/packages/core/admin/admin/src/pages/SettingsPage/pages/Roles/ListPage/tests/index.test.js b/packages/core/admin/admin/src/pages/SettingsPage/pages/Roles/ListPage/tests/index.test.js index e47c26a25d..e8c7d44c37 100644 --- a/packages/core/admin/admin/src/pages/SettingsPage/pages/Roles/ListPage/tests/index.test.js +++ b/packages/core/admin/admin/src/pages/SettingsPage/pages/Roles/ListPage/tests/index.test.js @@ -64,8 +64,8 @@ describe('', () => { .c11 { font-weight: 600; color: #32324d; - font-size: 0.875rem; - line-height: 1.43; + font-size: 0.75rem; + line-height: 1.33; } .c8 { @@ -139,7 +139,7 @@ describe('', () => { -webkit-box-align: center; -ms-flex-align: center; align-items: center; - padding: 10px 16px; + padding: 8px 16px; background: #4945ff; border: 1px solid #4945ff; } diff --git a/packages/core/admin/admin/src/pages/SettingsPage/pages/Users/ListPage/tests/index.test.js b/packages/core/admin/admin/src/pages/SettingsPage/pages/Users/ListPage/tests/index.test.js index 0c7ca660f6..21201594a4 100644 --- a/packages/core/admin/admin/src/pages/SettingsPage/pages/Users/ListPage/tests/index.test.js +++ b/packages/core/admin/admin/src/pages/SettingsPage/pages/Users/ListPage/tests/index.test.js @@ -70,7 +70,7 @@ describe('ADMIN | Pages | USERS | ListPage', () => { const { container } = render(app); expect(container.firstChild).toMatchInlineSnapshot(` - .c35 { + .c34 { margin: 0; height: 18px; min-width: 18px; @@ -81,12 +81,12 @@ describe('ADMIN | Pages | USERS | ListPage', () => { cursor: pointer; } - .c35:checked { + .c34:checked { background-color: #4945ff; border: 1px solid #4945ff; } - .c35:checked:after { + .c34:checked:after { content: ''; display: block; position: relative; @@ -100,21 +100,21 @@ describe('ADMIN | Pages | USERS | ListPage', () => { transform: translateX(-50%) translateY(-50%); } - .c35:checked:disabled:after { + .c34:checked:disabled:after { background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAiIGhlaWdodD0iOCIgdmlld0JveD0iMCAwIDEwIDgiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CiAgPHBhdGgKICAgIGQ9Ik04LjU1MzIzIDAuMzk2OTczQzguNjMxMzUgMC4zMTYzNTUgOC43NjA1MSAwLjMxNTgxMSA4LjgzOTMxIDAuMzk1NzY4TDkuODYyNTYgMS40MzQwN0M5LjkzODkzIDEuNTExNTcgOS45MzkzNSAxLjYzNTkgOS44NjM0OSAxLjcxMzlMNC4wNjQwMSA3LjY3NzI0QzMuOTg1OSA3Ljc1NzU1IDMuODU3MDcgNy43NTgwNSAzLjc3ODM0IDcuNjc4MzRMMC4xMzg2NiAzLjk5MzMzQzAuMDYxNzc5OCAzLjkxNTQ5IDAuMDYxNzEwMiAzLjc5MDMyIDAuMTM4NTA0IDMuNzEyNEwxLjE2MjEzIDIuNjczNzJDMS4yNDAzOCAyLjU5NDMyIDEuMzY4NDMgMi41OTQyMiAxLjQ0NjggMi42NzM0OEwzLjkyMTc0IDUuMTc2NDdMOC41NTMyMyAwLjM5Njk3M1oiCiAgICBmaWxsPSIjOEU4RUE5IgogIC8+Cjwvc3ZnPg==) no-repeat no-repeat center center; } - .c35:disabled { + .c34:disabled { background-color: #dcdce4; border: 1px solid #c0c0cf; } - .c35:indeterminate { + .c34:indeterminate { background-color: #4945ff; border: 1px solid #4945ff; } - .c35:indeterminate:after { + .c34:indeterminate:after { content: ''; display: block; position: relative; @@ -129,12 +129,12 @@ describe('ADMIN | Pages | USERS | ListPage', () => { transform: translateX(-50%) translateY(-50%); } - .c35:indeterminate:disabled { + .c34:indeterminate:disabled { background-color: #dcdce4; border: 1px solid #c0c0cf; } - .c35:indeterminate:disabled:after { + .c34:indeterminate:disabled:after { background-color: #8e8ea9; } @@ -143,27 +143,20 @@ describe('ADMIN | Pages | USERS | ListPage', () => { padding-bottom: 4px; } - .c43 { + .c42 { background: #ffffff; padding: 64px; } - .c46 { + .c45 { padding-top: 16px; } - .c61 { + .c60 { padding-left: 8px; } .c11 { - font-weight: 600; - color: #32324d; - font-size: 0.875rem; - line-height: 1.43; - } - - .c24 { font-weight: 600; color: #32324d; font-size: 0.75rem; @@ -241,7 +234,7 @@ describe('ADMIN | Pages | USERS | ListPage', () => { -webkit-box-align: center; -ms-flex-align: center; align-items: center; - padding: 10px 16px; + padding: 8px 16px; background: #4945ff; border: 1px solid #4945ff; } @@ -376,7 +369,7 @@ describe('ADMIN | Pages | USERS | ListPage', () => { fill: #32324d; } - .c42 { + .c41 { -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -394,7 +387,7 @@ describe('ADMIN | Pages | USERS | ListPage', () => { justify-content: center; } - .c47 { + .c46 { -webkit-align-items: flex-end; -webkit-box-align: flex-end; -ms-flex-align: flex-end; @@ -412,7 +405,7 @@ describe('ADMIN | Pages | USERS | ListPage', () => { justify-content: space-between; } - .c48 { + .c47 { -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -532,7 +525,7 @@ describe('ADMIN | Pages | USERS | ListPage', () => { fill: #666687; } - .c38 { + .c37 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -550,30 +543,30 @@ describe('ADMIN | Pages | USERS | ListPage', () => { border: none; } - .c38 svg > g, - .c38 svg path { + .c37 svg > g, + .c37 svg path { fill: #8e8ea9; } - .c38:hover svg > g, - .c38:hover svg path { + .c37:hover svg > g, + .c37:hover svg path { fill: #666687; } - .c38:active svg > g, - .c38:active svg path { + .c37:active svg > g, + .c37:active svg path { fill: #a5a5ba; } - .c38[aria-disabled='true'] { + .c37[aria-disabled='true'] { background-color: #eaeaef; } - .c38[aria-disabled='true'] svg path { + .c37[aria-disabled='true'] svg path { fill: #666687; } - .c44 { + .c43 { border: 0; -webkit-clip: rect(0 0 0 0); clip: rect(0 0 0 0); @@ -585,12 +578,12 @@ describe('ADMIN | Pages | USERS | ListPage', () => { width: 1px; } - .c45 { + .c44 { -webkit-animation: gzYjWD 1s infinite linear; animation: gzYjWD 1s infinite linear; } - .c63 { + .c62 { -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -604,11 +597,11 @@ describe('ADMIN | Pages | USERS | ListPage', () => { flex-direction: row; } - .c64 > * + * { + .c63 > * + * { margin-left: 4px; } - .c67 { + .c66 { border: 0; -webkit-clip: rect(0 0 0 0); clip: rect(0 0 0 0); @@ -620,7 +613,7 @@ describe('ADMIN | Pages | USERS | ListPage', () => { width: 1px; } - .c65 { + .c64 { padding: 12px; border-radius: 4px; -webkit-text-decoration: none; @@ -633,7 +626,7 @@ describe('ADMIN | Pages | USERS | ListPage', () => { outline: none; } - .c65:after { + .c64:after { -webkit-transition-property: all; transition-property: all; -webkit-transition-duration: 0.2s; @@ -648,11 +641,11 @@ describe('ADMIN | Pages | USERS | ListPage', () => { border: 2px solid transparent; } - .c65:focus-visible { + .c64:focus-visible { outline: none; } - .c65:focus-visible:after { + .c64:focus-visible:after { border-radius: 8px; content: ''; position: absolute; @@ -663,34 +656,34 @@ describe('ADMIN | Pages | USERS | ListPage', () => { border: 2px solid #4945ff; } - .c66 { + .c65 { font-size: 0.7rem; pointer-events: none; } - .c66 svg path { + .c65 svg path { fill: #c0c0cf; } - .c66:focus svg path, - .c66:hover svg path { + .c65:focus svg path, + .c65:hover svg path { fill: #c0c0cf; } - .c68 { + .c67 { font-size: 0.7rem; } - .c68 svg path { + .c67 svg path { fill: #666687; } - .c68:focus svg path, - .c68:hover svg path { + .c67:focus svg path, + .c67:hover svg path { fill: #4a4a6a; } - .c53 { + .c52 { position: absolute; left: 0; right: 0; @@ -701,24 +694,24 @@ describe('ADMIN | Pages | USERS | ListPage', () => { border: none; } - .c53:focus { + .c52:focus { outline: none; } - .c53[aria-disabled='true'] { + .c52[aria-disabled='true'] { cursor: not-allowed; } - .c56 { + .c55 { padding-right: 16px; padding-left: 16px; } - .c58 { + .c57 { padding-left: 12px; } - .c49 { + .c48 { -webkit-align-items: stretch; -webkit-box-align: stretch; -ms-flex-align: stretch; @@ -732,7 +725,7 @@ describe('ADMIN | Pages | USERS | ListPage', () => { flex-direction: column; } - .c51 { + .c50 { -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -746,7 +739,7 @@ describe('ADMIN | Pages | USERS | ListPage', () => { flex-direction: row; } - .c54 { + .c53 { -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -764,7 +757,7 @@ describe('ADMIN | Pages | USERS | ListPage', () => { justify-content: space-between; } - .c57 { + .c56 { color: #32324d; display: block; white-space: nowrap; @@ -774,12 +767,12 @@ describe('ADMIN | Pages | USERS | ListPage', () => { line-height: 1.43; } - .c50 > * { + .c49 > * { margin-top: 0; margin-bottom: 0; } - .c52 { + .c51 { position: relative; border: 1px solid #dcdce4; padding-right: 12px; @@ -795,28 +788,28 @@ describe('ADMIN | Pages | USERS | ListPage', () => { transition-duration: 0.2s; } - .c52:focus-within { + .c51:focus-within { border: 1px solid #4945ff; box-shadow: #4945ff 0px 0px 0px 2px; } - .c59 { + .c58 { background: transparent; border: none; position: relative; z-index: 1; } - .c59 svg { + .c58 svg { height: 0.6875rem; width: 0.6875rem; } - .c59 svg path { + .c58 svg path { fill: #666687; } - .c60 { + .c59 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -825,40 +818,40 @@ describe('ADMIN | Pages | USERS | ListPage', () => { border: none; } - .c60 svg { + .c59 svg { width: 0.375rem; } - .c55 { + .c54 { width: 100%; } - .c25 { + .c24 { background: #ffffff; border-radius: 4px; box-shadow: 0px 1px 4px rgba(33,33,52,0.1); } - .c28 { + .c27 { padding-right: 24px; padding-left: 24px; } - .c26 { + .c25 { overflow: hidden; border: 1px solid #eaeaef; } - .c30 { + .c29 { width: 100%; white-space: nowrap; } - .c27 { + .c26 { position: relative; } - .c27:before { + .c26:before { background: linear-gradient(90deg,#c0c0cf 0%,rgba(0,0,0,0) 100%); opacity: 0.2; position: absolute; @@ -868,7 +861,7 @@ describe('ADMIN | Pages | USERS | ListPage', () => { left: 0; } - .c27:after { + .c26:after { background: linear-gradient(270deg,#c0c0cf 0%,rgba(0,0,0,0) 100%); opacity: 0.2; position: absolute; @@ -879,39 +872,39 @@ describe('ADMIN | Pages | USERS | ListPage', () => { top: 0; } - .c29 { + .c28 { overflow-x: auto; } - .c41 tr:last-of-type { + .c40 tr:last-of-type { border-bottom: none; } + .c30 { + border-bottom: 1px solid #eaeaef; + } + .c31 { border-bottom: 1px solid #eaeaef; } - .c32 { - border-bottom: 1px solid #eaeaef; - } - - .c32 td, - .c32 th { + .c31 td, + .c31 th { padding: 16px; } - .c32 td:first-of-type, - .c32 th:first-of-type { + .c31 td:first-of-type, + .c31 th:first-of-type { padding: 0 4px; } - .c32 th { + .c31 th { padding-top: 0; padding-bottom: 0; height: 3.5rem; } - .c34 { + .c33 { -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -925,22 +918,22 @@ describe('ADMIN | Pages | USERS | ListPage', () => { flex-direction: row; } - .c33 { + .c32 { vertical-align: middle; text-align: left; color: #666687; outline-offset: -4px; } - .c33 input { + .c32 input { vertical-align: sub; } - .c36 svg { + .c35 svg { height: 0.25rem; } - .c37 { + .c36 { color: #666687; font-weight: 600; font-size: 0.6875rem; @@ -948,13 +941,13 @@ describe('ADMIN | Pages | USERS | ListPage', () => { text-transform: uppercase; } - .c62 { + .c61 { color: #666687; font-size: 0.875rem; line-height: 1.43; } - .c40 { + .c39 { border: 0; -webkit-clip: rect(0 0 0 0); clip: rect(0 0 0 0); @@ -966,7 +959,7 @@ describe('ADMIN | Pages | USERS | ListPage', () => { width: 1px; } - .c39 { + .c38 { -webkit-transform: rotate(0deg); -ms-transform: rotate(0deg); transform: rotate(0deg); @@ -1214,7 +1207,7 @@ describe('ADMIN | Pages | USERS | ListPage', () => { Filters @@ -1228,55 +1221,55 @@ describe('ADMIN | Pages | USERS | ListPage', () => { class="c13" >
@@ -1284,18 +1277,18 @@ describe('ADMIN | Pages | USERS | ListPage', () => {
@@ -1376,21 +1369,21 @@ describe('ADMIN | Pages | USERS | ListPage', () => {
@@ -1420,61 +1413,61 @@ describe('ADMIN | Pages | USERS | ListPage', () => {
Actions
Loading content...
@@ -1488,20 +1481,20 @@ describe('ADMIN | Pages | USERS | ListPage', () => {