Skip to content

Commit d252670

Browse files
build(deps): bump emotion-theming from 10.0.27 to 11.0.0 in /docs . (#1623)
Co-authored-by: Fernandez Ludovic <[email protected]>
1 parent c213e4e commit d252670

File tree

9 files changed

+28001
-217
lines changed

9 files changed

+28001
-217
lines changed

docs/package-lock.json

+27,991-205
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/package.json

+3-4
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,15 @@
66
"author": "",
77
"license": "MIT",
88
"dependencies": {
9-
"@emotion/core": "^10.1.1",
10-
"@emotion/styled": "^10.0.27",
9+
"@emotion/react": "^11.1.4",
10+
"@emotion/styled": "^11.3.0",
1111
"@mdx-js/mdx": "^1.6.22",
1212
"@mdx-js/react": "^1.6.16",
13-
"emotion-theming": "^10.0.27",
1413
"gatsby": "^2.32.11",
1514
"gatsby-alias-imports": "^1.0.6",
1615
"gatsby-plugin-canonical-urls": "^2.10.0",
1716
"gatsby-plugin-catch-links": "^2.10.0",
18-
"gatsby-plugin-emotion": "^4.3.10",
17+
"gatsby-plugin-emotion": "^5.0.0",
1918
"gatsby-plugin-google-analytics": "^2.11.0",
2019
"gatsby-plugin-manifest": "^2.12.1",
2120
"gatsby-plugin-mdx": "^2.2.0",

docs/src/@rocketseat/gatsby-theme-docs/gatsby/wrapRootElement.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/* eslint-disable */
22
import React from 'react';
3-
import { ThemeProvider } from 'emotion-theming';
3+
import { ThemeProvider } from '@emotion/react';
44

55
import defaultTheme from '../src/styles/theme';
66
import GlobalStyle from '../src/styles/global';

docs/src/@rocketseat/gatsby-theme-docs/src/components/Code/styles.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import styled from '@emotion/styled';
2-
import { css } from '@emotion/core';
2+
import { css } from '@emotion/react';
33
import { darken } from 'polished';
44
import {
55
LiveError as AuxLiveError,

docs/src/@rocketseat/gatsby-theme-docs/src/components/Layout/styles.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import styled from '@emotion/styled';
2-
import { css } from '@emotion/core';
2+
import { css } from '@emotion/react';
33

44
export const Main = styled.main`
55
padding: 0 40px;

docs/src/@rocketseat/gatsby-theme-docs/src/components/Logo.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import React from "react";
2-
import { css, keyframes } from "@emotion/core";
2+
import { css, keyframes } from "@emotion/react";
33
import GolangciSvg from "./logo.svg";
44

55
const grow = keyframes`

docs/src/@rocketseat/gatsby-theme-docs/src/styles/global.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import React from 'react';
2-
import { Global, css } from '@emotion/core';
3-
import { useTheme } from 'emotion-theming';
2+
import { Global, css, useTheme } from '@emotion/react';
43
import { lighten } from 'polished';
54

65
export default function GlobalStyle() {

docs/src/components/ResponsiveContainer.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/** @jsxRuntime classic */
22
/** @jsx jsx */
3-
import { css, jsx } from "@emotion/core";
3+
import { css, jsx } from "@emotion/react";
44

55
const ResponsiveContainer = ({ children }) => (
66
<div

docs/src/lib/icons.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/** @jsxRuntime classic */
22
/** @jsx jsx */
3-
import { css, jsx } from "@emotion/core";
3+
import { css, jsx } from "@emotion/react";
44

55
export const IconContainer = ({ color, children }) => (
66
<span

0 commit comments

Comments
 (0)