From f315a179630c15495bcbd410b43811c1b63b2215 Mon Sep 17 00:00:00 2001 From: Rich Tabor Date: Fri, 23 Jun 2023 09:45:28 -0400 Subject: [PATCH] Fix more icons for high resolution devices (#51768) * Site tagline icon * Update align-none.js * Update position-left.js * Update position-right.js * Update position-center.js * Update button.js * Update buttons.js * Update media-and-text.js * Update spacer block icon * Update separator.js * Update stretch-full-width.js * Update stretch-wide.js * Update resize-corner-n-e.js * Update justify-center.js * Update align-left.js * Update align-center.js * Update align-right.js * Update snapshots --- .../test/__snapshots__/index.js.snap | 12 ++++++------ .../test/__snapshots__/index.js.snap | 10 +++++----- packages/block-library/src/site-tagline/icon.js | 2 +- packages/icons/src/library/align-center.js | 2 +- packages/icons/src/library/align-left.js | 2 +- packages/icons/src/library/align-none.js | 2 +- packages/icons/src/library/align-right.js | 2 +- packages/icons/src/library/button.js | 2 +- packages/icons/src/library/buttons.js | 2 +- packages/icons/src/library/justify-center.js | 2 +- packages/icons/src/library/media-and-text.js | 2 +- packages/icons/src/library/position-center.js | 2 +- packages/icons/src/library/position-left.js | 2 +- packages/icons/src/library/position-right.js | 2 +- packages/icons/src/library/resize-corner-n-e.js | 2 +- packages/icons/src/library/separator.js | 2 +- packages/icons/src/library/stretch-full-width.js | 2 +- packages/icons/src/library/stretch-wide.js | 2 +- 18 files changed, 27 insertions(+), 27 deletions(-) diff --git a/packages/block-editor/src/components/alignment-control/test/__snapshots__/index.js.snap b/packages/block-editor/src/components/alignment-control/test/__snapshots__/index.js.snap index addd49efc4d0f..f2915ead7417b 100644 --- a/packages/block-editor/src/components/alignment-control/test/__snapshots__/index.js.snap +++ b/packages/block-editor/src/components/alignment-control/test/__snapshots__/index.js.snap @@ -25,7 +25,7 @@ exports[`AlignmentUI should allow custom alignment controls to be specified 1`] xmlns="http://www.w3.org/2000/svg" > @@ -48,7 +48,7 @@ exports[`AlignmentUI should allow custom alignment controls to be specified 1`] xmlns="http://www.w3.org/2000/svg" > @@ -80,7 +80,7 @@ exports[`AlignmentUI should match snapshot when controls are hidden 1`] = ` xmlns="http://www.w3.org/2000/svg" > @@ -113,7 +113,7 @@ exports[`AlignmentUI should match snapshot when controls are visible 1`] = ` xmlns="http://www.w3.org/2000/svg" > @@ -136,7 +136,7 @@ exports[`AlignmentUI should match snapshot when controls are visible 1`] = ` xmlns="http://www.w3.org/2000/svg" > @@ -159,7 +159,7 @@ exports[`AlignmentUI should match snapshot when controls are visible 1`] = ` xmlns="http://www.w3.org/2000/svg" > diff --git a/packages/block-editor/src/components/block-alignment-control/test/__snapshots__/index.js.snap b/packages/block-editor/src/components/block-alignment-control/test/__snapshots__/index.js.snap index 9b56e451a56bd..246e5dca2ae32 100644 --- a/packages/block-editor/src/components/block-alignment-control/test/__snapshots__/index.js.snap +++ b/packages/block-editor/src/components/block-alignment-control/test/__snapshots__/index.js.snap @@ -23,7 +23,7 @@ exports[`BlockAlignmentUI should match snapshot when controls are hidden 1`] = ` xmlns="http://www.w3.org/2000/svg" > @@ -55,7 +55,7 @@ exports[`BlockAlignmentUI should match snapshot when controls are visible 1`] = xmlns="http://www.w3.org/2000/svg" > @@ -77,7 +77,7 @@ exports[`BlockAlignmentUI should match snapshot when controls are visible 1`] = xmlns="http://www.w3.org/2000/svg" > @@ -99,7 +99,7 @@ exports[`BlockAlignmentUI should match snapshot when controls are visible 1`] = xmlns="http://www.w3.org/2000/svg" > @@ -121,7 +121,7 @@ exports[`BlockAlignmentUI should match snapshot when controls are visible 1`] = xmlns="http://www.w3.org/2000/svg" > diff --git a/packages/block-library/src/site-tagline/icon.js b/packages/block-library/src/site-tagline/icon.js index 262b980c1ce11..908d7149aa112 100644 --- a/packages/block-library/src/site-tagline/icon.js +++ b/packages/block-library/src/site-tagline/icon.js @@ -5,6 +5,6 @@ import { SVG, Path } from '@wordpress/components'; export default ( - + ); diff --git a/packages/icons/src/library/align-center.js b/packages/icons/src/library/align-center.js index 7e6f3ad7d7195..1b3408b1982ef 100644 --- a/packages/icons/src/library/align-center.js +++ b/packages/icons/src/library/align-center.js @@ -5,7 +5,7 @@ import { SVG, Path } from '@wordpress/primitives'; const alignCenter = ( - + ); diff --git a/packages/icons/src/library/align-left.js b/packages/icons/src/library/align-left.js index 152a2c2bd96f5..ef597eb019aee 100644 --- a/packages/icons/src/library/align-left.js +++ b/packages/icons/src/library/align-left.js @@ -5,7 +5,7 @@ import { SVG, Path } from '@wordpress/primitives'; const alignLeft = ( - + ); diff --git a/packages/icons/src/library/align-none.js b/packages/icons/src/library/align-none.js index 0948cd8d94300..2c29275123317 100644 --- a/packages/icons/src/library/align-none.js +++ b/packages/icons/src/library/align-none.js @@ -5,7 +5,7 @@ import { SVG, Path } from '@wordpress/primitives'; const alignNone = ( - + ); diff --git a/packages/icons/src/library/align-right.js b/packages/icons/src/library/align-right.js index 4d0f60f37309f..2daff79001f32 100644 --- a/packages/icons/src/library/align-right.js +++ b/packages/icons/src/library/align-right.js @@ -5,7 +5,7 @@ import { SVG, Path } from '@wordpress/primitives'; const alignRight = ( - + ); diff --git a/packages/icons/src/library/button.js b/packages/icons/src/library/button.js index 9081993de98dd..3565aac38cf19 100644 --- a/packages/icons/src/library/button.js +++ b/packages/icons/src/library/button.js @@ -5,7 +5,7 @@ import { Path, SVG } from '@wordpress/primitives'; const button = ( - + ); diff --git a/packages/icons/src/library/buttons.js b/packages/icons/src/library/buttons.js index 8fc5856efec1b..bb6f59a7764c1 100644 --- a/packages/icons/src/library/buttons.js +++ b/packages/icons/src/library/buttons.js @@ -5,7 +5,7 @@ import { Path, SVG } from '@wordpress/primitives'; const buttons = ( - + ); diff --git a/packages/icons/src/library/justify-center.js b/packages/icons/src/library/justify-center.js index e0b9e6645a40b..9276be34f08e0 100644 --- a/packages/icons/src/library/justify-center.js +++ b/packages/icons/src/library/justify-center.js @@ -5,7 +5,7 @@ import { SVG, Path } from '@wordpress/primitives'; const justifyCenter = ( - + ); diff --git a/packages/icons/src/library/media-and-text.js b/packages/icons/src/library/media-and-text.js index 31bb37d9b41f2..dd65590e49412 100644 --- a/packages/icons/src/library/media-and-text.js +++ b/packages/icons/src/library/media-and-text.js @@ -5,7 +5,7 @@ import { Path, SVG } from '@wordpress/primitives'; const mediaAndText = ( - + ); diff --git a/packages/icons/src/library/position-center.js b/packages/icons/src/library/position-center.js index 7c9686535ce65..6730c90638780 100644 --- a/packages/icons/src/library/position-center.js +++ b/packages/icons/src/library/position-center.js @@ -5,7 +5,7 @@ import { SVG, Path } from '@wordpress/primitives'; const positionCenter = ( - + ); diff --git a/packages/icons/src/library/position-left.js b/packages/icons/src/library/position-left.js index 5119fdf02acfc..fff393d10637e 100644 --- a/packages/icons/src/library/position-left.js +++ b/packages/icons/src/library/position-left.js @@ -5,7 +5,7 @@ import { SVG, Path } from '@wordpress/primitives'; const positionLeft = ( - + ); diff --git a/packages/icons/src/library/position-right.js b/packages/icons/src/library/position-right.js index ba6af93107723..eff1c853534f3 100644 --- a/packages/icons/src/library/position-right.js +++ b/packages/icons/src/library/position-right.js @@ -5,7 +5,7 @@ import { SVG, Path } from '@wordpress/primitives'; const positionRight = ( - + ); diff --git a/packages/icons/src/library/resize-corner-n-e.js b/packages/icons/src/library/resize-corner-n-e.js index 387efc99fb00d..48cd2a7a3fa58 100644 --- a/packages/icons/src/library/resize-corner-n-e.js +++ b/packages/icons/src/library/resize-corner-n-e.js @@ -5,7 +5,7 @@ import { Path, SVG } from '@wordpress/primitives'; const resizeCornerNE = ( - + ); diff --git a/packages/icons/src/library/separator.js b/packages/icons/src/library/separator.js index 98805ca181452..9e1b3334a88ba 100644 --- a/packages/icons/src/library/separator.js +++ b/packages/icons/src/library/separator.js @@ -5,7 +5,7 @@ import { Path, SVG } from '@wordpress/primitives'; const separator = ( - + ); diff --git a/packages/icons/src/library/stretch-full-width.js b/packages/icons/src/library/stretch-full-width.js index 3d6e37ff544d8..ee2c6393dcd22 100644 --- a/packages/icons/src/library/stretch-full-width.js +++ b/packages/icons/src/library/stretch-full-width.js @@ -5,7 +5,7 @@ import { SVG, Path } from '@wordpress/primitives'; const stretchFullWidth = ( - + ); diff --git a/packages/icons/src/library/stretch-wide.js b/packages/icons/src/library/stretch-wide.js index a9cf65fe001ff..c341d8718934b 100644 --- a/packages/icons/src/library/stretch-wide.js +++ b/packages/icons/src/library/stretch-wide.js @@ -5,7 +5,7 @@ import { SVG, Path } from '@wordpress/primitives'; const stretchWide = ( - + );