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,5 +1,5 @@
import React, { AnchorHTMLAttributes, ButtonHTMLAttributes } from 'react';
import { css, cx } from 'emotion';
import { css, cx } from '@emotion/css';
import tinycolor from 'tinycolor2';
import { useTheme } from '../../themes';
import { IconName } from '../../types/icon';