Skip to content

Commit

Permalink
Fix fixtures and update stylis to 1.0.6
Browse files Browse the repository at this point in the history
  • Loading branch information
kitten committed Mar 21, 2017
1 parent c7caa63 commit 9fc0a6e
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,6 @@
"displayName"
],
"dependencies": {
"stylis": "^1.0.0"
"stylis": "^1.2.6"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ import styled from 'styled-components';

const Simple = styled.div`width: 100%;`;

const Interpolation = styled.div`content: " ${ props => props.text } ";`;
const Interpolation = styled.div`content: " ${props => props.text} ";`;

const SpecialCharacters = styled.div`content: " ${ props => props.text } ";color: red;`;
const SpecialCharacters = styled.div`content: " ${props => props.text} ";color: red;`;

const Comment = styled.div`width: 100%;// comment
color: red;`;
Expand Down
2 changes: 1 addition & 1 deletion test/fixtures/10-minify-css-in-helpers/after.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ import { css, keyframes } from 'styled-components';

const key = keyframes`to {transform: rotate(360deg);}`;

const color = css`color: ${ theColor };`;
const color = css`color: ${theColor};`;
2 changes: 1 addition & 1 deletion test/fixtures/14-preprocess-css/after.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,5 @@ const RulesetInerpolation = styled.div.withConfig({
const Prefixes = styled.div.withConfig({
displayName: "before__Prefixes",
componentId: "s1xqhw80-6"
})([[" {display:-webkit-box;display:-webkit-flex;-ms-flexbox;display:flex;-webkit-box-align: center;-ms-flex-align: center;align-items: center;}"]]);
})([[" {display: -webkit-box;display: -webkit-flex;display: -ms-flexbox;display: flex;-webkit-box-align: center;-ms-flex-align: center;align-items: center;}"]]);

0 comments on commit 9fc0a6e

Please sign in to comment.