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,7 +1,7 @@
import { GrafanaTheme } from '@grafana/data';
import { FetchError } from '@grafana/runtime';
import { IconButton, InlineLabel, Tooltip, useStyles } from '@grafana/ui';
import { css, cx } from 'emotion';
import { css, cx } from '@emotion/css';
import React, { useEffect, useState } from 'react';
import { PrometheusDatasource } from '../datasource';
import { PromQuery } from '../types';