Forms migration: Old Select to Legacy namespace (#23200)

* Export other components as Legacy

* More Select Legacy

* Add namespacing to more files

* Export new elements

* Move Legacy Select folder

* Let's not forget the scss file

* Move new Select folder

* Move new Select from Forms namespace

* Little oopsie

* Fix errors

* Fix merge issues
This commit is contained in:
Tobias Skarhed
2020-04-02 10:57:35 +02:00
committed by GitHub
parent 15bff3114f
commit b34281e250
97 changed files with 1118 additions and 1066 deletions

View File

@@ -2,9 +2,11 @@ import _ from 'lodash';
import React, { PureComponent } from 'react';
// Types
import { FormLabel, Select, Switch } from '@grafana/ui';
import { FormLabel, LegacyForms, Switch } from '@grafana/ui';
import { SelectableValue, QueryEditorProps } from '@grafana/data';
const { Select } = LegacyForms;
import { PrometheusDatasource } from '../datasource';
import { PromQuery, PromOptions } from '../types';