Skip to content

Commit 117a5f2

Browse files
committed
Update examples with @appendEdge and @prependEdge directives
1 parent 38dd15b commit 117a5f2

36 files changed

+1524
-1137
lines changed

example-hooks/package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,14 @@
1515
"classnames": "2.2.5",
1616
"express": "^4.15.2",
1717
"express-graphql": "^0.7.1",
18-
"graphql": "^14.5.8",
18+
"graphql": "^15.3.0",
1919
"graphql-compiler": "^1.7.0",
2020
"graphql-relay": "^0.6.0",
2121
"prop-types": "^15.6.2",
2222
"react": "0.0.0-experimental-f42431abe",
2323
"react-dom": "0.0.0-experimental-f42431abe",
24-
"react-relay": "0.0.0-experimental-8cc94ddc",
25-
"relay-runtime": "^9.0.0",
24+
"react-relay": "0.0.0-experimental-8058ef82",
25+
"relay-runtime": "^10.0.1",
2626
"todomvc-app-css": "^2.1.0",
2727
"todomvc-common": "^1.0.3",
2828
"webpack": "^4.41.2",
@@ -35,13 +35,13 @@
3535
"@types/prop-types": "^15.5.5",
3636
"@types/react": "^16.4.12",
3737
"@types/react-dom": "^16.0.7",
38-
"@types/react-relay": "^7.0.3",
39-
"@types/relay-runtime": "^8.0.6",
38+
"@types/react-relay": "^7.0.8",
39+
"@types/relay-runtime": "^10.0.1",
4040
"babel-cli": "^6.26.0",
4141
"babel-core": "^6.26.0",
4242
"babel-eslint": "6.1.2",
4343
"babel-loader": "^7.1.2",
44-
"babel-plugin-relay": "^9.0.0",
44+
"babel-plugin-relay": "^10.0.1",
4545
"babel-plugin-transform-runtime": "^6.12.0",
4646
"babel-preset-env": "^1.7.0",
4747
"babel-preset-react": "^6.11.1",
@@ -51,7 +51,7 @@
5151
"fork-ts-checker-webpack-plugin": "^3.1.1",
5252
"patch-package": "^6.2.0",
5353
"postinstall-postinstall": "^2.0.0",
54-
"relay-compiler": "^9.0.0",
54+
"relay-compiler": "^10.0.1",
5555
"relay-compiler-language-typescript": "file:../lib",
5656
"ts-loader": "^6.2.0",
5757
"tslint": "^5.20.0",

example-hooks/public/index.css

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -246,6 +246,8 @@ label[for='toggle-all'] {
246246
height: 20px;
247247
text-align: center;
248248
border-top: 1px solid #e6e6e6;
249+
display: grid;
250+
grid-template-columns: 1fr 1fr 1fr;
249251
}
250252

251253
.footer:before {
@@ -263,9 +265,20 @@ label[for='toggle-all'] {
263265
0 17px 2px -6px rgba(0, 0, 0, 0.2);
264266
}
265267

268+
.footer label {
269+
align-content: center;
270+
display: flex;
271+
justify-self: center;
272+
cursor: pointer;
273+
position: relative;
274+
}
275+
276+
.footer label input {
277+
cursor: pointer;
278+
}
279+
266280
.todo-count {
267-
float: left;
268-
text-align: left;
281+
justify-self: start;
269282
}
270283

271284
.todo-count strong {
@@ -304,11 +317,11 @@ label[for='toggle-all'] {
304317

305318
.clear-completed,
306319
html .clear-completed:active {
307-
float: right;
308320
position: relative;
309321
line-height: 20px;
310322
text-decoration: none;
311323
cursor: pointer;
324+
justify-self: end;
312325
}
313326

314327
.clear-completed:hover {

0 commit comments

Comments
 (0)