diff --git a/packages/grafana-ui/src/components/Select/Select.story.tsx b/packages/grafana-ui/src/components/Select/Select.story.tsx
index e5fc496af71..1a6aea76ea7 100644
--- a/packages/grafana-ui/src/components/Select/Select.story.tsx
+++ b/packages/grafana-ui/src/components/Select/Select.story.tsx
@@ -7,6 +7,7 @@ import { useState } from 'react';
import { SelectableValue, toIconName } from '@grafana/data';
import { getAvailableIcons } from '../../types';
+import { Alert } from '../Alert/Alert';
import { Icon } from '../Icon/Icon';
import { AsyncMultiSelect, AsyncSelect, MultiSelect, Select } from './Select';
@@ -92,6 +93,7 @@ const meta: Meta = {
},
},
},
+ decorators: [DeprecatedDecorator],
};
const loadAsyncOptions = () => {
@@ -383,7 +385,7 @@ export const AutoMenuPlacement: StoryFn = (args) => {
return (
<>
-
+
+ );
+}
diff --git a/packages/grafana-ui/src/components/Select/Select.tsx b/packages/grafana-ui/src/components/Select/Select.tsx
index 5a24d2d97c0..f543fa5dab5 100644
--- a/packages/grafana-ui/src/components/Select/Select.tsx
+++ b/packages/grafana-ui/src/components/Select/Select.tsx
@@ -10,6 +10,7 @@ import {
VirtualizedSelectAsyncProps,
} from './types';
+/** @deprecated Use Combobox component instead */
export function Select
(props: SelectCommonProps & Rest) {
return ;
}
@@ -24,14 +25,17 @@ export interface AsyncSelectProps extends Omit, 'options
value?: T | SelectableValue | null;
}
+/** @deprecated Use Combobox component instead */
export function AsyncSelect(props: AsyncSelectProps & Rest) {
return ;
}
+/** @deprecated Use Combobox component instead - it's virtualised by default! */
export function VirtualizedSelect(props: VirtualizedSelectProps & Rest) {
return ;
}
+/** @deprecated Use Combobox component instead - it's virtualised by default! */
export function AsyncVirtualizedSelect(props: VirtualizedSelectAsyncProps & Rest) {
return ;
}