GrafanaUI: Export Combobox from @grafana/ui (#95622)

This commit is contained in:
Josh Hunt
2024-10-30 16:59:28 +00:00
committed by GitHub
parent acebe9bee5
commit 55bcbcef83
3 changed files with 5 additions and 2 deletions

View File

@@ -230,12 +230,15 @@ export { InlineFieldRow } from './Forms/InlineFieldRow';
export { FieldArray } from './Forms/FieldArray';
// Select
// Note - Select is nearly deprecated in favor of Combobox
export { default as resetSelectStyles } from './Select/resetSelectStyles';
export * from './Select/Select';
export { SelectMenuOptions } from './Select/SelectMenu';
export { getSelectStyles } from './Select/getSelectStyles';
export * from './Select/types';
export { Combobox, type ComboboxOption } from './Combobox/Combobox';
export { HorizontalGroup, VerticalGroup, Container } from './Layout/Layout';
export { Badge, type BadgeColor, type BadgeProps } from './Badge/Badge';
export { RadioButtonGroup } from './Forms/RadioButtonGroup/RadioButtonGroup';

View File

@@ -10,5 +10,4 @@
*/
export * from './utils/skeleton';
export * from './components/Combobox/Combobox';
export * from './components/ScrollContainer/ScrollContainer';

View File

@@ -15,8 +15,9 @@ import {
TimeZonePicker,
WeekStartPicker,
FeatureBadge,
Combobox,
ComboboxOption,
} from '@grafana/ui';
import { Combobox, ComboboxOption } from '@grafana/ui/src/unstable';
import { DashboardPicker } from 'app/core/components/Select/DashboardPicker';
import { t, Trans } from 'app/core/internationalization';
import { LANGUAGES, PSEUDO_LOCALE } from 'app/core/internationalization/constants';