Commit a78ca939 by Dominik Prokop Committed by GitHub

Fix: grafana/ui imports (#23680)

parent 19dcaf6b
...@@ -53,6 +53,7 @@ export { TableInputCSV } from './TableInputCSV/TableInputCSV'; ...@@ -53,6 +53,7 @@ export { TableInputCSV } from './TableInputCSV/TableInputCSV';
export { TabsBar } from './Tabs/TabsBar'; export { TabsBar } from './Tabs/TabsBar';
export { Tab } from './Tabs/Tab'; export { Tab } from './Tabs/Tab';
export { TabContent } from './Tabs/TabContent'; export { TabContent } from './Tabs/TabContent';
export { Counter } from './Tabs/Counter';
// Visualizations // Visualizations
export { export {
......
import { DynamicConfigValue, FieldConfigOptionsRegistry, FieldOverrideContext, GrafanaTheme } from '@grafana/data'; import { DynamicConfigValue, FieldConfigOptionsRegistry, FieldOverrideContext, GrafanaTheme } from '@grafana/data';
import React from 'react'; import React from 'react';
import { Field, HorizontalGroup, IconButton, Label, stylesFactory, useTheme } from '@grafana/ui'; import { Counter, Field, HorizontalGroup, IconButton, Label, stylesFactory, useTheme } from '@grafana/ui';
import { css, cx } from 'emotion'; import { css, cx } from 'emotion';
import { OptionsGroup } from './OptionsGroup'; import { OptionsGroup } from './OptionsGroup';
import { Counter } from '@grafana/ui/src/components/Tabs/Counter';
interface DynamicConfigValueEditorProps { interface DynamicConfigValueEditorProps {
property: DynamicConfigValue; property: DynamicConfigValue;
registry: FieldConfigOptionsRegistry; registry: FieldConfigOptionsRegistry;
......
import React, { useCallback } from 'react'; import React, { useCallback } from 'react';
import cloneDeep from 'lodash/cloneDeep'; import cloneDeep from 'lodash/cloneDeep';
import { import {
FieldConfigSource,
DataFrame, DataFrame,
FieldConfigPropertyItem, FieldConfigPropertyItem,
VariableSuggestionsScope, FieldConfigSource,
PanelPlugin, PanelPlugin,
SelectableValue, SelectableValue,
VariableSuggestionsScope,
} from '@grafana/data'; } from '@grafana/data';
import { fieldMatchersUI, ValuePicker, Label, Field, Container } from '@grafana/ui'; import { Container, Counter, Field, fieldMatchersUI, Label, ValuePicker } from '@grafana/ui';
import { getDataLinksVariableSuggestions } from '../../../panel/panellinks/link_srv'; import { getDataLinksVariableSuggestions } from '../../../panel/panellinks/link_srv';
import { OverrideEditor } from './OverrideEditor'; import { OverrideEditor } from './OverrideEditor';
import groupBy from 'lodash/groupBy'; import groupBy from 'lodash/groupBy';
import { OptionsGroup } from './OptionsGroup'; import { OptionsGroup } from './OptionsGroup';
import { Counter } from '@grafana/ui/src/components/Tabs/Counter';
interface Props { interface Props {
plugin: PanelPlugin; plugin: PanelPlugin;
......
import React, { FC, useMemo } from 'react'; import React, { FC, useMemo } from 'react';
import { PanelModel, DashboardModel } from '../../state'; import { DashboardModel, PanelModel } from '../../state';
import { SelectableValue, PanelPlugin, FieldConfigSource, PanelData } from '@grafana/data'; import { FieldConfigSource, PanelData, PanelPlugin, SelectableValue } from '@grafana/data';
import { Switch, Select, DataLinksInlineEditor, Input, TextArea, RadioButtonGroup, Field } from '@grafana/ui'; import { Counter, DataLinksInlineEditor, Field, Input, RadioButtonGroup, Select, Switch, TextArea } from '@grafana/ui';
import { OptionsGroup } from './OptionsGroup'; import { OptionsGroup } from './OptionsGroup';
import { getPanelLinksVariableSuggestions } from '../../../panel/panellinks/link_srv'; import { getPanelLinksVariableSuggestions } from '../../../panel/panellinks/link_srv';
import { getVariables } from '../../../variables/state/selectors'; import { getVariables } from '../../../variables/state/selectors';
import { PanelOptionsEditor } from './PanelOptionsEditor'; import { PanelOptionsEditor } from './PanelOptionsEditor';
import { AngularPanelOptions } from '../../panel_editor/AngularPanelOptions'; import { AngularPanelOptions } from '../../panel_editor/AngularPanelOptions';
import { Counter } from '@grafana/ui/src/components/Tabs/Counter';
interface Props { interface Props {
panel: PanelModel; panel: PanelModel;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment