diff --git a/packages/block-editor/src/components/link-control/search-input.js b/packages/block-editor/src/components/link-control/search-input.js
index 3f109b8a371552..45ea2a53d7da1a 100644
--- a/packages/block-editor/src/components/link-control/search-input.js
+++ b/packages/block-editor/src/components/link-control/search-input.js
@@ -11,6 +11,7 @@ import { URLInput } from '../';
import LinkControlSearchResults from './search-results';
import { CREATE_TYPE } from './constants';
import useSearchHandler from './use-search-handler';
+import deprecated from '@wordpress/deprecated';
// Must be a function as otherwise URLInput will default
// to the fetchLinkSuggestions passed in block editor settings
@@ -155,4 +156,10 @@ const LinkControlSearchInput = forwardRef(
}
);
-export default LinkControlSearchInput;
+export default ( props ) => {
+ deprecated( 'wp.blockEditor.__experimentalLinkControlSearchInput', {
+ since: '6.8',
+ } );
+
+ return ;
+};
diff --git a/packages/block-editor/src/components/link-control/search-item.js b/packages/block-editor/src/components/link-control/search-item.js
index fa8d1540b3daed..22798f946797ff 100644
--- a/packages/block-editor/src/components/link-control/search-item.js
+++ b/packages/block-editor/src/components/link-control/search-item.js
@@ -17,6 +17,7 @@ import {
import { __unstableStripHTML as stripHTML } from '@wordpress/dom';
import { safeDecodeURI, filterURLForDisplay, getPath } from '@wordpress/url';
import { pipe } from '@wordpress/compose';
+import deprecated from '@wordpress/deprecated';
const ICONS_MAP = {
post: postList,
@@ -159,4 +160,10 @@ function getVisualTypeName( suggestion ) {
return suggestion.type === 'post_tag' ? 'tag' : suggestion.type;
}
-export default LinkControlSearchItem;
+export default ( props ) => {
+ deprecated( 'wp.blockEditor.__experimentalLinkControlSearchItem', {
+ since: '6.8',
+ } );
+
+ return ;
+};
diff --git a/packages/block-editor/src/components/link-control/search-results.js b/packages/block-editor/src/components/link-control/search-results.js
index 29558f69291c57..15f9225fc38ca4 100644
--- a/packages/block-editor/src/components/link-control/search-results.js
+++ b/packages/block-editor/src/components/link-control/search-results.js
@@ -15,8 +15,9 @@ import clsx from 'clsx';
import LinkControlSearchCreate from './search-create-button';
import LinkControlSearchItem from './search-item';
import { CREATE_TYPE, LINK_ENTRY_TYPES } from './constants';
+import deprecated from '@wordpress/deprecated';
-export default function LinkControlSearchResults( {
+function LinkControlSearchResults( {
withCreateSuggestion,
currentInputValue,
handleSuggestionClick,
@@ -121,3 +122,11 @@ export default function LinkControlSearchResults( {
);
}
+
+export default ( props ) => {
+ deprecated( 'wp.blockEditor.__experimentalLinkControlSearchResults', {
+ since: '6.8',
+ } );
+
+ return ;
+};