From bbf6795cbaa6c555ea98d1d4a714e84cc6a00cca Mon Sep 17 00:00:00 2001 From: ingeniumed Date: Wed, 4 Jun 2025 15:29:44 +1000 Subject: [PATCH 1/3] Remove the deprecation warnings in the components used --- .../components/panels/DataPanel.tsx | 11 ++++++++--- .../components/panels/OverridesPanel.tsx | 1 + .../placeholders/ItemSelectQueryType.tsx | 15 ++++++++++++--- .../components/PatternEditorSettingsPanel.tsx | 2 ++ 4 files changed, 23 insertions(+), 6 deletions(-) diff --git a/src/blocks/remote-data-container/components/panels/DataPanel.tsx b/src/blocks/remote-data-container/components/panels/DataPanel.tsx index f812b1fe0..daec97201 100644 --- a/src/blocks/remote-data-container/components/panels/DataPanel.tsx +++ b/src/blocks/remote-data-container/components/panels/DataPanel.tsx @@ -1,7 +1,7 @@ import { __experimentalConfirmDialog as ConfirmDialog, Button, - ButtonGroup, + __experimentalToggleGroupControl as ToggleGroupControl, PanelBody, } from '@wordpress/components'; import { useState } from '@wordpress/element'; @@ -44,7 +44,12 @@ export function DataPanel( props: DataPanelProps ) { return ( - +