Skip to content

Commit

Permalink
Actually use officially published Stylis v4
Browse files Browse the repository at this point in the history
  • Loading branch information
Andarist committed Apr 24, 2020
1 parent 0654b2a commit 5e39d81
Show file tree
Hide file tree
Showing 13 changed files with 40 additions and 1,576 deletions.
2 changes: 0 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -257,8 +257,6 @@
"react-router-dom": "^4.2.2",
"react-scripts": "1.1.5",
"react-test-renderer": "16.8.6",
"stylis": "3.5.4",
"stylis-rule-sheet": "^0.0.10",
"svg-tag-names": "^1.1.1",
"through": "^2.3.8",
"unified": "^6.1.6",
Expand Down
4 changes: 2 additions & 2 deletions packages/babel-plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@
"@emotion/hash": "0.8.0",
"@emotion/memoize": "0.7.4",
"@emotion/serialize": "^1.0.0-next.1",
"@emotion/stylis": "0.8.5",
"babel-plugin-macros": "^2.6.1",
"convert-source-map": "^1.5.0",
"escape-string-regexp": "^1.0.5",
"find-root": "^1.1.0",
"source-map": "^0.5.7"
"source-map": "^0.5.7",
"stylis": "^4.0.0"
},
"peerDependencies": {
"@babel/core": "^7.0.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/babel-plugin/src/utils/minify.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// @flow
import { compile } from '@emotion/stylis'
import { compile } from 'stylis'

const isAutoInsertedRule = element => {
if (element.type !== 'rule' || !element.parent) {
Expand Down
4 changes: 2 additions & 2 deletions packages/cache/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@
},
"dependencies": {
"@emotion/sheet": "0.10.0-next.1",
"@emotion/stylis": "0.8.5",
"@emotion/utils": "0.11.3",
"@emotion/weak-memoize": "0.2.5"
"@emotion/weak-memoize": "0.2.5",
"stylis": "^4.0.0"
},
"devDependencies": {
"@emotion/hash": "*",
Expand Down
2 changes: 1 addition & 1 deletion packages/cache/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import {
rulesheet,
stringify,
prefixer
} from '@emotion/stylis'
} from 'stylis'
import weakMemoize from '@emotion/weak-memoize'
import {
compat,
Expand Down
2 changes: 1 addition & 1 deletion packages/cache/src/stylis-plugins.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import {
identifier,
peek,
position
} from '@emotion/stylis'
} from 'stylis'

const last = arr => (arr.length ? arr[arr.length - 1] : null)

Expand Down
4 changes: 1 addition & 3 deletions packages/css/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,9 @@
},
"devDependencies": {
"@babel/core": "^7.7.2",
"@emotion/stylis": "*",
"babel-plugin-transform-define": "^1.3.0",
"dtslint": "^0.3.0",
"stylis": "3.5.4",
"stylis-rule-sheet": "^0.0.10"
"stylis": "^4.0.0"
},
"author": "Kye Hohenberger",
"homepage": "https://emotion.sh",
Expand Down
13 changes: 0 additions & 13 deletions packages/stylis/CHANGELOG.md

This file was deleted.

21 changes: 0 additions & 21 deletions packages/stylis/LICENSE

This file was deleted.

33 changes: 0 additions & 33 deletions packages/stylis/README.md

This file was deleted.

24 changes: 0 additions & 24 deletions packages/stylis/package.json

This file was deleted.

Loading

0 comments on commit 5e39d81

Please sign in to comment.