DimensionControl: Deprecate 36px default size #118650
Annotations
5 errors and 1 warning
Running the tests:
packages/components/src/dimension-control/test/index.test.js#L41
Error: expect(received).toMatchSnapshot()
Snapshot name: `DimensionControl rendering renders with defaults 1`
- Snapshot - 6
+ Received + 6
@@ -121,16 +121,16 @@
width: 100%;
max-width: none;
white-space: nowrap;
text-overflow: ellipsis;
font-size: 16px;
- height: 32px;
- min-height: 32px;
+ height: 40px;
+ min-height: 40px;
padding-top: 0;
padding-bottom: 0;
- padding-left: 8px;
- padding-right: 26px;
+ padding-left: 12px;
+ padding-right: 30px;
overflow: hidden;
}
@media ( min-width: 600px ) {
.emotion-16.emotion-16.emotion-16 {
@@ -152,12 +152,12 @@
display: -ms-flexbox;
display: flex;
}
.emotion-21 {
- -webkit-padding-end: 8px;
- padding-inline-end: 8px;
+ -webkit-padding-end: 12px;
+ padding-inline-end: 12px;
position: absolute;
pointer-events: none;
right: 0;
}
↵
at Object.toMatchSnapshot (/home/runner/work/gutenberg/gutenberg/packages/components/src/dimension-control/test/index.test.js:41:24)
at Promise.then.completed (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/utils.js:300:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/utils.js:233:10)
at _callCircusTest (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:315:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at _runTest (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:251:3)
at _runTestsForDescribeBlock (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:125:9)
at _runTestsForDescribeBlock (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:120:9)
at _runTestsForDescribeBlock (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:120:9)
at run (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:70:3)
at runAndTransformResultsToJestFormat (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
at jestAdapter (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
at runTestInternal (/home/runner/work/gutenberg/gutenberg/node_modules/jest-runner/build/runTest.js:367:16)
at runTest (/home/runner/work/gutenberg/gutenberg/node_modules/jest-runner/build/runTest.js:444:34)
at Object.worker (/home/runner/work/gutenberg/gutenberg/node_modules/jest-runner/build/testWorker.js:106:12)
|
Running the tests:
packages/components/src/dimension-control/test/index.test.js#L52
Error: expect(received).toMatchSnapshot()
Snapshot name: `DimensionControl rendering renders with icon and default icon label 1`
- Snapshot - 6
+ Received + 6
@@ -121,16 +121,16 @@
width: 100%;
max-width: none;
white-space: nowrap;
text-overflow: ellipsis;
font-size: 16px;
- height: 32px;
- min-height: 32px;
+ height: 40px;
+ min-height: 40px;
padding-top: 0;
padding-bottom: 0;
- padding-left: 8px;
- padding-right: 26px;
+ padding-left: 12px;
+ padding-right: 30px;
overflow: hidden;
}
@media ( min-width: 600px ) {
.emotion-16.emotion-16.emotion-16 {
@@ -152,12 +152,12 @@
display: -ms-flexbox;
display: flex;
}
.emotion-21 {
- -webkit-padding-end: 8px;
- padding-inline-end: 8px;
+ -webkit-padding-end: 12px;
+ padding-inline-end: 12px;
position: absolute;
pointer-events: none;
right: 0;
}
↵
at Object.toMatchSnapshot (/home/runner/work/gutenberg/gutenberg/packages/components/src/dimension-control/test/index.test.js:52:24)
at Promise.then.completed (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/utils.js:300:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/utils.js:233:10)
at _callCircusTest (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:315:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at _runTest (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:251:3)
at _runTestsForDescribeBlock (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:125:9)
at _runTestsForDescribeBlock (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:120:9)
at _runTestsForDescribeBlock (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:120:9)
at run (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:70:3)
at runAndTransformResultsToJestFormat (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
at jestAdapter (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
at runTestInternal (/home/runner/work/gutenberg/gutenberg/node_modules/jest-runner/build/runTest.js:367:16)
at runTest (/home/runner/work/gutenberg/gutenberg/node_modules/jest-runner/build/runTest.js:444:34)
at Object.worker (/home/runner/work/gutenberg/gutenberg/node_modules/jest-runner/build/testWorker.js:106:12)
|
Running the tests:
packages/components/src/dimension-control/test/index.test.js#L64
Error: expect(received).toMatchSnapshot()
Snapshot name: `DimensionControl rendering renders with icon and custom icon label 1`
- Snapshot - 6
+ Received + 6
@@ -121,16 +121,16 @@
width: 100%;
max-width: none;
white-space: nowrap;
text-overflow: ellipsis;
font-size: 16px;
- height: 32px;
- min-height: 32px;
+ height: 40px;
+ min-height: 40px;
padding-top: 0;
padding-bottom: 0;
- padding-left: 8px;
- padding-right: 26px;
+ padding-left: 12px;
+ padding-right: 30px;
overflow: hidden;
}
@media ( min-width: 600px ) {
.emotion-16.emotion-16.emotion-16 {
@@ -152,12 +152,12 @@
display: -ms-flexbox;
display: flex;
}
.emotion-21 {
- -webkit-padding-end: 8px;
- padding-inline-end: 8px;
+ -webkit-padding-end: 12px;
+ padding-inline-end: 12px;
position: absolute;
pointer-events: none;
right: 0;
}
↵
at Object.toMatchSnapshot (/home/runner/work/gutenberg/gutenberg/packages/components/src/dimension-control/test/index.test.js:64:24)
at Promise.then.completed (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/utils.js:300:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/utils.js:233:10)
at _callCircusTest (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:315:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at _runTest (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:251:3)
at _runTestsForDescribeBlock (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:125:9)
at _runTestsForDescribeBlock (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:120:9)
at _runTestsForDescribeBlock (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:120:9)
at run (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:70:3)
at runAndTransformResultsToJestFormat (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
at jestAdapter (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
at runTestInternal (/home/runner/work/gutenberg/gutenberg/node_modules/jest-runner/build/runTest.js:367:16)
at runTest (/home/runner/work/gutenberg/gutenberg/node_modules/jest-runner/build/runTest.js:444:34)
at Object.worker (/home/runner/work/gutenberg/gutenberg/node_modules/jest-runner/build/testWorker.js:106:12)
|
Running the tests:
packages/components/src/dimension-control/test/index.test.js#L93
Error: expect(received).toMatchSnapshot()
Snapshot name: `DimensionControl rendering renders with custom sizes 1`
- Snapshot - 6
+ Received + 6
@@ -121,16 +121,16 @@
width: 100%;
max-width: none;
white-space: nowrap;
text-overflow: ellipsis;
font-size: 16px;
- height: 32px;
- min-height: 32px;
+ height: 40px;
+ min-height: 40px;
padding-top: 0;
padding-bottom: 0;
- padding-left: 8px;
- padding-right: 26px;
+ padding-left: 12px;
+ padding-right: 30px;
overflow: hidden;
}
@media ( min-width: 600px ) {
.emotion-16.emotion-16.emotion-16 {
@@ -152,12 +152,12 @@
display: -ms-flexbox;
display: flex;
}
.emotion-21 {
- -webkit-padding-end: 8px;
- padding-inline-end: 8px;
+ -webkit-padding-end: 12px;
+ padding-inline-end: 12px;
position: absolute;
pointer-events: none;
right: 0;
}
↵
at Object.toMatchSnapshot (/home/runner/work/gutenberg/gutenberg/packages/components/src/dimension-control/test/index.test.js:93:24)
at Promise.then.completed (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/utils.js:300:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/utils.js:233:10)
at _callCircusTest (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:315:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at _runTest (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:251:3)
at _runTestsForDescribeBlock (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:125:9)
at _runTestsForDescribeBlock (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:120:9)
at _runTestsForDescribeBlock (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:120:9)
at run (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:70:3)
at runAndTransformResultsToJestFormat (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
at jestAdapter (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
at runTestInternal (/home/runner/work/gutenberg/gutenberg/node_modules/jest-runner/build/runTest.js:367:16)
at runTest (/home/runner/work/gutenberg/gutenberg/node_modules/jest-runner/build/runTest.js:444:34)
at Object.worker (/home/runner/work/gutenberg/gutenberg/node_modules/jest-runner/build/testWorker.js:106:12)
|
Running the tests
Process completed with exit code 1.
|
Setup Node.js and install dependencies
Both node-version and node-version-file inputs are specified, only node-version will be used
|
Loading