Skip to content

Commit bdeba3a

Browse files
author
Ilker Guller
committed
- 0.8.5 -> 0.8.6
- Updated components for supporting new version of styled-component - Package updates
1 parent 535a87a commit bdeba3a

File tree

7 files changed

+196
-133
lines changed

7 files changed

+196
-133
lines changed

components/AuthFields/styles.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,6 @@ export const Main = styled.div`
1616
}
1717
`;
1818

19-
export const SubmitButton = T.Button.extend`
19+
export const SubmitButton = styled(T.Button)`
2020
opacity: ${({ touched }) => (touched ? 1 : 0.5)};
2121
`;

components/LinkList/styles.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
import styled from 'styled-components';
22
import * as T from '../Theme';
33

4-
export const A = T.A.extend`
4+
export const A = styled(T.A)`
55
font-size: 14px;
66
margin-right: 15px;
77
cursor: pointer;
88
text-decoration: ${({ active }) => (active ? 'underline' : 'none')};
99
`;
1010

11-
export const LogOutButton = T.Button.extend`
11+
export const LogOutButton = styled(T.Button)`
1212
display: inline-block;
1313
margin-right: 15px;
1414
cursor: pointer;

components/PostList/styles.js

+5-4
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ export const Loading = styled.div`
1616
display: flex;
1717
`;
1818

19-
export const Title = T.A.extend`
19+
export const Title = styled(T.A)`
2020
font-size: 14px;
2121
margin-right: 10px;
2222
text-decoration: none;
@@ -34,14 +34,15 @@ export const ItemList = styled.ul`
3434
padding: 0;
3535
`;
3636

37-
export const ShowMore = T.Button.extend`
37+
export const ShowMore = styled(T.Button)`
3838
&:before {
3939
align-self: center;
4040
border-style: solid;
4141
border-width: 6px 4px 0 4px;
4242
border-color: #ffffff transparent transparent transparent;
43-
content: "";
43+
content: '';
4444
height: 0;
4545
margin-right: 5px;
4646
width: 0;
47-
}`;
47+
}
48+
`;

components/PostUpvoter/styles.js

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1+
import styled from 'styled-components';
12
import * as T from '../Theme';
23

34
// eslint-disable-next-line import/prefer-default-export
4-
export const UpvoteButton = T.Button.extend`
5+
export const UpvoteButton = styled(T.Button)`
56
display: inline-block;
67
background-color: transparent;
78
border: 1px solid #e4e4e4;
@@ -12,7 +13,7 @@ export const UpvoteButton = T.Button.extend`
1213
}
1314
1415
&:before {
15-
content: "▲";
16+
content: '▲';
1617
margin-right: 7px;
1718
}
1819
`;

package.json

+17-17
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ran-boilerplate",
3-
"version": "0.8.5",
3+
"version": "0.8.6",
44
"main": "server.js",
55
"description": "React . Apollo (GraphQL) . Next.js Toolkit",
66
"author": "Ilker Guller <me@ilkerguller.com> (http://ilkerguller.com)",
@@ -79,42 +79,42 @@
7979
"next-routes": "1.4.2",
8080
"offline-plugin": "5.0.5",
8181
"prop-types": "15.6.2",
82-
"react": "16.4.1",
82+
"react": "16.4.2",
8383
"react-apollo": "1.4.16",
84-
"react-dom": "16.4.1",
84+
"react-dom": "16.4.2",
8585
"react-helmet": "5.2.0",
8686
"react-redux": "5.0.7",
8787
"redux": "4.0.0",
8888
"rimraf": "2.6.2",
89-
"styled-components": "3.3.3"
89+
"styled-components": "3.4.5"
9090
},
9191
"devDependencies": {
9292
"@babel/plugin-transform-flow-strip-types": "7.0.0-beta.47",
9393
"babel-eslint": "8.2.6",
9494
"cli-clear": "1.0.4",
95-
"eslint": "5.1.0",
96-
"eslint-config-airbnb": "17.0.0",
97-
"eslint-config-prettier": "2.9.0",
98-
"eslint-loader": "2.0.0",
95+
"eslint": "5.4.0",
96+
"eslint-config-airbnb": "17.1.0",
97+
"eslint-config-prettier": "3.0.1",
98+
"eslint-loader": "2.1.0",
9999
"eslint-plugin-flowtype": "2.50.0",
100100
"eslint-plugin-graphql": "2.1.1",
101-
"eslint-plugin-import": "2.13.0",
101+
"eslint-plugin-import": "2.14.0",
102102
"eslint-plugin-jsx-a11y": "6.1.1",
103103
"eslint-plugin-prettier": "2.6.2",
104-
"eslint-plugin-react": "7.10.0",
105-
"eslint-watch": "4.0.1",
104+
"eslint-plugin-react": "7.11.1",
105+
"eslint-watch": "4.0.2",
106106
"figlet": "1.2.0",
107-
"flow-bin": "0.76.0",
108-
"graphql-cli": "^2.16.4",
107+
"flow-bin": "0.79.1",
108+
"graphql-cli": "^2.16.5",
109109
"graphql-cli-voyager": "0.1.3",
110110
"handlebars": "4.0.11",
111111
"husky": "0.14.3",
112-
"inquirer": "6.0.0",
113-
"lint-staged": "7.2.0",
112+
"inquirer": "6.2.0",
113+
"lint-staged": "7.2.2",
114114
"ngrok": "3.0.1",
115115
"pre-commit": "1.2.2",
116-
"prettier": "1.13.7",
117-
"replace-in-file": "3.4.0",
116+
"prettier": "1.14.2",
117+
"replace-in-file": "3.4.2",
118118
"shelljs": "0.8.2",
119119
"webpack-bundle-analyzer": "2.13.1"
120120
},

pages/_document.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ export default class MyDocument extends Document {
4141
<Head>
4242
<meta name="robots" content="index,follow" />
4343
<meta httpEquiv="expires" content="10800" />
44-
<meta name="generator" content="RAN! 0.8.5" />
44+
<meta name="generator" content="RAN! 0.8.6" />
4545
{this.helmetHeadComponents()}
4646
{AppIcons()}
4747
{this.props.styleTags}

0 commit comments

Comments
 (0)