From 130b6e248da39012d3018862ef7153ce3ff81bef Mon Sep 17 00:00:00 2001 From: Andrea Fercia Date: Tue, 14 Jan 2025 10:58:50 +0100 Subject: [PATCH] Fix usage of tooltip in the Circular option picker. (#68602) * Fix usage of tooltip in the Circular option picker. * Add changelog entry. * Adjust tests. * Adjust more tests. * Adjust one more test. * Update test snapshot. * Adjust more tests. * Adjust more tests. * Adjust one more test. Co-authored-by: afercia Co-authored-by: Mamaduka --- .../test/__snapshots__/control.js.snap | 2 +- .../colors-gradients/test/control.js | 4 +-- packages/block-library/src/cover/test/edit.js | 14 +++++----- packages/components/CHANGELOG.md | 1 + .../src/border-control/test/index.js | 16 ++++++++--- .../src/circular-option-picker/README.md | 3 +-- .../circular-option-picker-option.tsx | 27 ++++++++++++------- .../circular-option-picker.tsx | 1 - .../stories/index.story.tsx | 1 - .../components/src/color-palette/index.tsx | 7 ----- .../src/color-palette/test/index.tsx | 10 ++----- .../src/palette-edit/test/index.tsx | 2 +- test/e2e/specs/editor/blocks/buttons.spec.js | 4 +-- test/e2e/specs/editor/blocks/cover.spec.js | 10 +++---- test/e2e/specs/editor/blocks/heading.spec.js | 2 +- .../editor/blocks/navigation-colors.spec.js | 20 +++++++------- .../various/format-library/text-color.spec.js | 2 +- .../keep-styles-on-block-transforms.spec.js | 2 +- .../specs/editor/various/list-view.spec.js | 5 +++- .../site-editor/style-variations.spec.js | 6 ++--- .../user-global-styles-revisions.spec.js | 2 +- 21 files changed, 72 insertions(+), 69 deletions(-) diff --git a/packages/block-editor/src/components/color-palette/test/__snapshots__/control.js.snap b/packages/block-editor/src/components/color-palette/test/__snapshots__/control.js.snap index 14196a221304bc..3d082a14a92bff 100644 --- a/packages/block-editor/src/components/color-palette/test/__snapshots__/control.js.snap +++ b/packages/block-editor/src/components/color-palette/test/__snapshots__/control.js.snap @@ -217,7 +217,7 @@ exports[`ColorPaletteControl matches the snapshot 1`] = ` class="components-circular-option-picker__option-wrapper" >