Emotion: Upgrades emotion from 10 to 11 and updates all import paths (#32541)

* Babel: Updates babel dependencies to latest version

* Emotion: Upgrade form 10 to 11

* Fixing tests

* Updated to use emotion/css instead in test
This commit is contained in:
Torkel Ödegaard
2021-04-01 14:15:23 +02:00
committed by GitHub
parent b714cdf395
commit 10badea19e
403 changed files with 539 additions and 449 deletions

View File

@@ -1,6 +1,6 @@
import React, { FormEvent, PureComponent } from 'react';
import { MapDispatchToProps, MapStateToProps } from 'react-redux';
import { css } from 'emotion';
import { css } from '@emotion/css';
import { AppEvents, NavModel } from '@grafana/data';
import { Button, stylesFactory, Input, TextArea, Field, Form, Legend, FileUpload } from '@grafana/ui';
import Page from 'app/core/components/Page/Page';