From 7cfbdfdff1b94ce9794ed738db55c0e38040456d Mon Sep 17 00:00:00 2001
From: Aaron Robertshaw <60436221+aaronrobertshaw@users.noreply.github.com>
Date: Mon, 30 Jan 2023 12:31:00 +0800
Subject: [PATCH] Inspector Controls: Stabilize the experimental control groups
(#47105)
---
.../src/components/block-inspector/index.js | 18 ++++++++++--------
.../advanced-controls-panel.js | 2 +-
.../inspector-controls-tabs/index.js | 4 +---
.../position-controls-panel.js | 2 +-
.../inspector-controls-tabs/styles-tab.js | 12 +++++-------
.../use-inspector-controls-tabs.js | 2 ++
.../src/components/inspector-controls/fill.js | 16 +++++++++++++++-
.../inspector-controls/fill.native.js | 15 ++++++++++++++-
.../components/inspector-controls/groups.js | 3 +++
.../src/components/inspector-controls/index.js | 8 ++------
.../src/components/inspector-controls/slot.js | 15 ++++++++++++++-
.../inspector-controls/slot.native.js | 15 ++++++++++++++-
packages/block-editor/src/hooks/anchor.js | 2 +-
packages/block-editor/src/hooks/border.js | 2 +-
packages/block-editor/src/hooks/color-panel.js | 2 +-
.../src/hooks/custom-class-name.js | 2 +-
packages/block-editor/src/hooks/dimensions.js | 2 +-
packages/block-editor/src/hooks/position.js | 2 +-
packages/block-editor/src/hooks/typography.js | 2 +-
packages/block-library/src/button/edit.js | 2 +-
.../edit/comments-inspector-controls.js | 2 +-
.../src/cover/edit/inspector-controls.js | 6 +++---
packages/block-library/src/group/edit.js | 2 +-
packages/block-library/src/image/image.js | 2 +-
.../block-library/src/navigation/edit/index.js | 4 ++--
.../navigation/edit/menu-inspector-controls.js | 2 +-
packages/block-library/src/paragraph/edit.js | 2 +-
.../post-featured-image/dimension-controls.js | 2 +-
.../src/post-featured-image/overlay.js | 2 +-
packages/block-library/src/post-terms/edit.js | 2 +-
.../src/query/edit/query-content.js | 2 +-
packages/block-library/src/social-link/edit.js | 2 +-
.../block-library/src/social-links/edit.js | 2 +-
.../template-part/edit/advanced-controls.js | 2 +-
34 files changed, 107 insertions(+), 55 deletions(-)
diff --git a/packages/block-editor/src/components/block-inspector/index.js b/packages/block-editor/src/components/block-inspector/index.js
index e37f6fb09efff..e7a769f51cec7 100644
--- a/packages/block-editor/src/components/block-inspector/index.js
+++ b/packages/block-editor/src/components/block-inspector/index.js
@@ -198,22 +198,23 @@ const BlockInspector = ( { showNoBlockSelectedMessage = true } ) => {
<>