Skip to content

Commit a18fc10

Browse files
committed
update emotion
1 parent 0d47796 commit a18fc10

File tree

9 files changed

+608
-966
lines changed

9 files changed

+608
-966
lines changed

es/components/Card/Card.stories.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

es/components/Checkbox/Checkbox.stories.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import _createClass from "@babel/runtime/helpers/esm/createClass";
44
import _possibleConstructorReturn from "@babel/runtime/helpers/esm/possibleConstructorReturn";
55
import _getPrototypeOf from "@babel/runtime/helpers/esm/getPrototypeOf";
66
import _inherits from "@babel/runtime/helpers/esm/inherits";
7-
import _styled from "@emotion/styled/base";
7+
import _styled from "@emotion/styled-base";
88
import { jsx as ___EmotionJSX } from "@emotion/core";
99
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
1010
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
@@ -210,4 +210,4 @@ export var withIndeterminate = function withIndeterminate() {
210210
};
211211
withIndeterminate.story = {
212212
name: 'with indeterminate'
213-
};
213+
};

es/components/FlexLayout/FlexLayout.stories.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import _styled from "@emotion/styled/base";
1+
import _styled from "@emotion/styled-base";
22
import { jsx as ___EmotionJSX } from "@emotion/core";
33
function _EMOTION_STRINGIFIED_CSS_ERROR__() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
44
import React, { Fragment } from 'react';
@@ -135,4 +135,4 @@ export var withPointerCursor = function withPointerCursor() {
135135
};
136136
withPointerCursor.story = {
137137
name: 'with pointer cursor'
138-
};
138+
};

es/components/Grid/Grid.stories.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

es/index.js.flow

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
// @flow
22

33
import styled from '@emotion/styled';
4-
54
export { styled };
65
export { ThemeProvider } from 'emotion-theming';
76
export { createTheme, Z_INDEX, COLORS } from './theme';

es/theme/createThemeTag.js

Lines changed: 3 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

es/theme/createThemeTag.js.flow

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,7 @@ const createStyledTag = (themeName: string) => {
7878
};
7979

8080

81-
const createThemeTag = (themeName: string, theme?: Object | (ThemeConstatns) => Object = {}) => { //Function | { root?: Object, modifiers?: Object, defaults?: Object } = {}) => {
82-
81+
const createThemeTag = (themeName: string, theme: Object | (ThemeConstatns) => Object = {}) => { //Function | { root?: Object, modifiers?: Object, defaults?: Object } = {}) => {
8382
return [
8483
createStyledTag(themeName),
8584
createComponentTheme(themeName, theme),

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@8base/boost",
3-
"version": "2.0.1",
3+
"version": "2.0.2",
44
"author": "8base",
55
"license": "MIT",
66
"main": "es/index.js",
@@ -29,8 +29,8 @@
2929
"commit": "git-cz"
3030
},
3131
"peerDependencies": {
32-
"@emotion/core": "^10.3.1",
33-
"@emotion/styled": "^10.3.0",
32+
"@emotion/react": "^11.13.5",
33+
"@emotion/styled": "^11.13.5",
3434
"react": "^16.8",
3535
"react-dom": "^16.8"
3636
},
@@ -84,7 +84,7 @@
8484
},
8585
"dependencies": {
8686
"@babel/runtime": "^7.5.5",
87-
"@emotion/core": "^11.0.0",
87+
"@emotion/react": "^11.13.5",
8888
"@emotion/styled": "^11.13.5",
8989
"color": "^3.0.0",
9090
"deepmerge": "^3.0.0",

0 commit comments

Comments
 (0)