Showing
4 changed files
with
271 additions
and
39 deletions
... | @@ -1117,6 +1117,11 @@ | ... | @@ -1117,6 +1117,11 @@ |
1117 | "resolved": "https://registry.npmjs.org/@csstools/normalize.css/-/normalize.css-10.1.0.tgz", | 1117 | "resolved": "https://registry.npmjs.org/@csstools/normalize.css/-/normalize.css-10.1.0.tgz", |
1118 | "integrity": "sha512-ij4wRiunFfaJxjB0BdrYHIH8FxBJpOwNPhhAcunlmPdXudL1WQV1qoP9un6JsEBAgQH+7UXyyjh0g7jTxXK6tg==" | 1118 | "integrity": "sha512-ij4wRiunFfaJxjB0BdrYHIH8FxBJpOwNPhhAcunlmPdXudL1WQV1qoP9un6JsEBAgQH+7UXyyjh0g7jTxXK6tg==" |
1119 | }, | 1119 | }, |
1120 | + "@emotion/hash": { | ||
1121 | + "version": "0.8.0", | ||
1122 | + "resolved": "https://registry.npmjs.org/@emotion/hash/-/hash-0.8.0.tgz", | ||
1123 | + "integrity": "sha512-kBJtf7PH6aWwZ6fka3zQ0p6SBYzx4fl1LoZXE2RrnYST9Xljm7WfKJrU4g/Xr3Beg72MLrp1AWNUmuYJTL7Cow==" | ||
1124 | + }, | ||
1120 | "@hapi/address": { | 1125 | "@hapi/address": { |
1121 | "version": "2.1.4", | 1126 | "version": "2.1.4", |
1122 | "resolved": "https://registry.npmjs.org/@hapi/address/-/address-2.1.4.tgz", | 1127 | "resolved": "https://registry.npmjs.org/@hapi/address/-/address-2.1.4.tgz", |
... | @@ -1342,6 +1347,74 @@ | ... | @@ -1342,6 +1347,74 @@ |
1342 | "@types/yargs": "^13.0.0" | 1347 | "@types/yargs": "^13.0.0" |
1343 | } | 1348 | } |
1344 | }, | 1349 | }, |
1350 | + "@material-ui/core": { | ||
1351 | + "version": "4.10.2", | ||
1352 | + "resolved": "https://registry.npmjs.org/@material-ui/core/-/core-4.10.2.tgz", | ||
1353 | + "integrity": "sha512-Uf4iDLi9sW6HKbVQDyDZDr1nMR4RUAE7w/RIIJZGNVZResC0xwmpLRZMtaUdSO43N0R0yJehfxTi4Z461Cd49A==", | ||
1354 | + "requires": { | ||
1355 | + "@babel/runtime": "^7.4.4", | ||
1356 | + "@material-ui/styles": "^4.10.0", | ||
1357 | + "@material-ui/system": "^4.9.14", | ||
1358 | + "@material-ui/types": "^5.1.0", | ||
1359 | + "@material-ui/utils": "^4.10.2", | ||
1360 | + "@types/react-transition-group": "^4.2.0", | ||
1361 | + "clsx": "^1.0.4", | ||
1362 | + "hoist-non-react-statics": "^3.3.2", | ||
1363 | + "popper.js": "1.16.1-lts", | ||
1364 | + "prop-types": "^15.7.2", | ||
1365 | + "react-is": "^16.8.0", | ||
1366 | + "react-transition-group": "^4.4.0" | ||
1367 | + } | ||
1368 | + }, | ||
1369 | + "@material-ui/styles": { | ||
1370 | + "version": "4.10.0", | ||
1371 | + "resolved": "https://registry.npmjs.org/@material-ui/styles/-/styles-4.10.0.tgz", | ||
1372 | + "integrity": "sha512-XPwiVTpd3rlnbfrgtEJ1eJJdFCXZkHxy8TrdieaTvwxNYj42VnnCyFzxYeNW9Lhj4V1oD8YtQ6S5Gie7bZDf7Q==", | ||
1373 | + "requires": { | ||
1374 | + "@babel/runtime": "^7.4.4", | ||
1375 | + "@emotion/hash": "^0.8.0", | ||
1376 | + "@material-ui/types": "^5.1.0", | ||
1377 | + "@material-ui/utils": "^4.9.6", | ||
1378 | + "clsx": "^1.0.4", | ||
1379 | + "csstype": "^2.5.2", | ||
1380 | + "hoist-non-react-statics": "^3.3.2", | ||
1381 | + "jss": "^10.0.3", | ||
1382 | + "jss-plugin-camel-case": "^10.0.3", | ||
1383 | + "jss-plugin-default-unit": "^10.0.3", | ||
1384 | + "jss-plugin-global": "^10.0.3", | ||
1385 | + "jss-plugin-nested": "^10.0.3", | ||
1386 | + "jss-plugin-props-sort": "^10.0.3", | ||
1387 | + "jss-plugin-rule-value-function": "^10.0.3", | ||
1388 | + "jss-plugin-vendor-prefixer": "^10.0.3", | ||
1389 | + "prop-types": "^15.7.2" | ||
1390 | + } | ||
1391 | + }, | ||
1392 | + "@material-ui/system": { | ||
1393 | + "version": "4.9.14", | ||
1394 | + "resolved": "https://registry.npmjs.org/@material-ui/system/-/system-4.9.14.tgz", | ||
1395 | + "integrity": "sha512-oQbaqfSnNlEkXEziDcJDDIy8pbvwUmZXWNqlmIwDqr/ZdCK8FuV3f4nxikUh7hvClKV2gnQ9djh5CZFTHkZj3w==", | ||
1396 | + "requires": { | ||
1397 | + "@babel/runtime": "^7.4.4", | ||
1398 | + "@material-ui/utils": "^4.9.6", | ||
1399 | + "csstype": "^2.5.2", | ||
1400 | + "prop-types": "^15.7.2" | ||
1401 | + } | ||
1402 | + }, | ||
1403 | + "@material-ui/types": { | ||
1404 | + "version": "5.1.0", | ||
1405 | + "resolved": "https://registry.npmjs.org/@material-ui/types/-/types-5.1.0.tgz", | ||
1406 | + "integrity": "sha512-7cqRjrY50b8QzRSYyhSpx4WRw2YuO0KKIGQEVk5J8uoz2BanawykgZGoWEqKm7pVIbzFDN0SpPcVV4IhOFkl8A==" | ||
1407 | + }, | ||
1408 | + "@material-ui/utils": { | ||
1409 | + "version": "4.10.2", | ||
1410 | + "resolved": "https://registry.npmjs.org/@material-ui/utils/-/utils-4.10.2.tgz", | ||
1411 | + "integrity": "sha512-eg29v74P7W5r6a4tWWDAAfZldXIzfyO1am2fIsC39hdUUHm/33k6pGOKPbgDjg/U/4ifmgAePy/1OjkKN6rFRw==", | ||
1412 | + "requires": { | ||
1413 | + "@babel/runtime": "^7.4.4", | ||
1414 | + "prop-types": "^15.7.2", | ||
1415 | + "react-is": "^16.8.0" | ||
1416 | + } | ||
1417 | + }, | ||
1345 | "@mrmlnc/readdir-enhanced": { | 1418 | "@mrmlnc/readdir-enhanced": { |
1346 | "version": "2.2.1", | 1419 | "version": "2.2.1", |
1347 | "resolved": "https://registry.npmjs.org/@mrmlnc/readdir-enhanced/-/readdir-enhanced-2.2.1.tgz", | 1420 | "resolved": "https://registry.npmjs.org/@mrmlnc/readdir-enhanced/-/readdir-enhanced-2.2.1.tgz", |
... | @@ -1731,6 +1804,14 @@ | ... | @@ -1731,6 +1804,14 @@ |
1731 | "@types/react": "*" | 1804 | "@types/react": "*" |
1732 | } | 1805 | } |
1733 | }, | 1806 | }, |
1807 | + "@types/react-transition-group": { | ||
1808 | + "version": "4.4.0", | ||
1809 | + "resolved": "https://registry.npmjs.org/@types/react-transition-group/-/react-transition-group-4.4.0.tgz", | ||
1810 | + "integrity": "sha512-/QfLHGpu+2fQOqQaXh8MG9q03bFENooTb/it4jr5kKaZlDQfWvjqWZg48AwzPVMBHlRuTRAY7hRHCEOXz5kV6w==", | ||
1811 | + "requires": { | ||
1812 | + "@types/react": "*" | ||
1813 | + } | ||
1814 | + }, | ||
1734 | "@types/stack-utils": { | 1815 | "@types/stack-utils": { |
1735 | "version": "1.0.1", | 1816 | "version": "1.0.1", |
1736 | "resolved": "https://registry.npmjs.org/@types/stack-utils/-/stack-utils-1.0.1.tgz", | 1817 | "resolved": "https://registry.npmjs.org/@types/stack-utils/-/stack-utils-1.0.1.tgz", |
... | @@ -3574,6 +3655,11 @@ | ... | @@ -3574,6 +3655,11 @@ |
3574 | "shallow-clone": "^0.1.2" | 3655 | "shallow-clone": "^0.1.2" |
3575 | } | 3656 | } |
3576 | }, | 3657 | }, |
3658 | + "clsx": { | ||
3659 | + "version": "1.1.1", | ||
3660 | + "resolved": "https://registry.npmjs.org/clsx/-/clsx-1.1.1.tgz", | ||
3661 | + "integrity": "sha512-6/bPho624p3S2pMyvP5kKBPXnI3ufHLObBFCfgx+LkeR5lg2XYy2hqZqUf45ypD8COn2bhgGJSUE+l5dhNBieA==" | ||
3662 | + }, | ||
3577 | "co": { | 3663 | "co": { |
3578 | "version": "4.6.0", | 3664 | "version": "4.6.0", |
3579 | "resolved": "https://registry.npmjs.org/co/-/co-4.6.0.tgz", | 3665 | "resolved": "https://registry.npmjs.org/co/-/co-4.6.0.tgz", |
... | @@ -4073,6 +4159,15 @@ | ... | @@ -4073,6 +4159,15 @@ |
4073 | } | 4159 | } |
4074 | } | 4160 | } |
4075 | }, | 4161 | }, |
4162 | + "css-vendor": { | ||
4163 | + "version": "2.0.8", | ||
4164 | + "resolved": "https://registry.npmjs.org/css-vendor/-/css-vendor-2.0.8.tgz", | ||
4165 | + "integrity": "sha512-x9Aq0XTInxrkuFeHKbYC7zWY8ai7qJ04Kxd9MnvbC1uO5DagxoHQjm4JvG+vCdXOoFtCjbL2XSZfxmoYa9uQVQ==", | ||
4166 | + "requires": { | ||
4167 | + "@babel/runtime": "^7.8.3", | ||
4168 | + "is-in-browser": "^1.0.2" | ||
4169 | + } | ||
4170 | + }, | ||
4076 | "css-what": { | 4171 | "css-what": { |
4077 | "version": "3.3.0", | 4172 | "version": "3.3.0", |
4078 | "resolved": "https://registry.npmjs.org/css-what/-/css-what-3.3.0.tgz", | 4173 | "resolved": "https://registry.npmjs.org/css-what/-/css-what-3.3.0.tgz", |
... | @@ -4532,6 +4627,15 @@ | ... | @@ -4532,6 +4627,15 @@ |
4532 | "utila": "~0.4" | 4627 | "utila": "~0.4" |
4533 | } | 4628 | } |
4534 | }, | 4629 | }, |
4630 | + "dom-helpers": { | ||
4631 | + "version": "5.1.4", | ||
4632 | + "resolved": "https://registry.npmjs.org/dom-helpers/-/dom-helpers-5.1.4.tgz", | ||
4633 | + "integrity": "sha512-TjMyeVUvNEnOnhzs6uAn9Ya47GmMo3qq7m+Lr/3ON0Rs5kHvb8I+SQYjLUSYn7qhEm0QjW0yrBkvz9yOrwwz1A==", | ||
4634 | + "requires": { | ||
4635 | + "@babel/runtime": "^7.8.7", | ||
4636 | + "csstype": "^2.6.7" | ||
4637 | + } | ||
4638 | + }, | ||
4535 | "dom-serializer": { | 4639 | "dom-serializer": { |
4536 | "version": "0.2.2", | 4640 | "version": "0.2.2", |
4537 | "resolved": "https://registry.npmjs.org/dom-serializer/-/dom-serializer-0.2.2.tgz", | 4641 | "resolved": "https://registry.npmjs.org/dom-serializer/-/dom-serializer-0.2.2.tgz", |
... | @@ -6242,6 +6346,14 @@ | ... | @@ -6242,6 +6346,14 @@ |
6242 | "minimalistic-crypto-utils": "^1.0.1" | 6346 | "minimalistic-crypto-utils": "^1.0.1" |
6243 | } | 6347 | } |
6244 | }, | 6348 | }, |
6349 | + "hoist-non-react-statics": { | ||
6350 | + "version": "3.3.2", | ||
6351 | + "resolved": "https://registry.npmjs.org/hoist-non-react-statics/-/hoist-non-react-statics-3.3.2.tgz", | ||
6352 | + "integrity": "sha512-/gGivxi8JPKWNm/W0jSmzcMPpfpPLc3dY/6GxhX2hQ9iGj3aDfklV4ET7NjKpSinLpJ5vafa9iiGIEZg10SfBw==", | ||
6353 | + "requires": { | ||
6354 | + "react-is": "^16.7.0" | ||
6355 | + } | ||
6356 | + }, | ||
6245 | "hosted-git-info": { | 6357 | "hosted-git-info": { |
6246 | "version": "2.8.8", | 6358 | "version": "2.8.8", |
6247 | "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.8.8.tgz", | 6359 | "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.8.8.tgz", |
... | @@ -6445,6 +6557,11 @@ | ... | @@ -6445,6 +6557,11 @@ |
6445 | "resolved": "https://registry.npmjs.org/https-browserify/-/https-browserify-1.0.0.tgz", | 6557 | "resolved": "https://registry.npmjs.org/https-browserify/-/https-browserify-1.0.0.tgz", |
6446 | "integrity": "sha1-7AbBDgo0wPL68Zn3/X/Hj//QPHM=" | 6558 | "integrity": "sha1-7AbBDgo0wPL68Zn3/X/Hj//QPHM=" |
6447 | }, | 6559 | }, |
6560 | + "hyphenate-style-name": { | ||
6561 | + "version": "1.0.3", | ||
6562 | + "resolved": "https://registry.npmjs.org/hyphenate-style-name/-/hyphenate-style-name-1.0.3.tgz", | ||
6563 | + "integrity": "sha512-EcuixamT82oplpoJ2XU4pDtKGWQ7b00CD9f1ug9IaQ3p1bkHMiKCZ9ut9QDI6qsa6cpUuB+A/I+zLtdNK4n2DQ==" | ||
6564 | + }, | ||
6448 | "iconv-lite": { | 6565 | "iconv-lite": { |
6449 | "version": "0.4.24", | 6566 | "version": "0.4.24", |
6450 | "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", | 6567 | "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", |
... | @@ -6813,6 +6930,11 @@ | ... | @@ -6813,6 +6930,11 @@ |
6813 | "is-extglob": "^2.1.1" | 6930 | "is-extglob": "^2.1.1" |
6814 | } | 6931 | } |
6815 | }, | 6932 | }, |
6933 | + "is-in-browser": { | ||
6934 | + "version": "1.1.3", | ||
6935 | + "resolved": "https://registry.npmjs.org/is-in-browser/-/is-in-browser-1.1.3.tgz", | ||
6936 | + "integrity": "sha1-Vv9NtoOgeMYILrldrX3GLh0E+DU=" | ||
6937 | + }, | ||
6816 | "is-number": { | 6938 | "is-number": { |
6817 | "version": "3.0.0", | 6939 | "version": "3.0.0", |
6818 | "resolved": "https://registry.npmjs.org/is-number/-/is-number-3.0.0.tgz", | 6940 | "resolved": "https://registry.npmjs.org/is-number/-/is-number-3.0.0.tgz", |
... | @@ -7666,6 +7788,84 @@ | ... | @@ -7666,6 +7788,84 @@ |
7666 | "verror": "1.10.0" | 7788 | "verror": "1.10.0" |
7667 | } | 7789 | } |
7668 | }, | 7790 | }, |
7791 | + "jss": { | ||
7792 | + "version": "10.3.0", | ||
7793 | + "resolved": "https://registry.npmjs.org/jss/-/jss-10.3.0.tgz", | ||
7794 | + "integrity": "sha512-B5sTRW9B6uHaUVzSo9YiMEOEp3UX8lWevU0Fsv+xtRnsShmgCfIYX44bTH8bPJe6LQKqEXku3ulKuHLbxBS97Q==", | ||
7795 | + "requires": { | ||
7796 | + "@babel/runtime": "^7.3.1", | ||
7797 | + "csstype": "^2.6.5", | ||
7798 | + "is-in-browser": "^1.1.3", | ||
7799 | + "tiny-warning": "^1.0.2" | ||
7800 | + } | ||
7801 | + }, | ||
7802 | + "jss-plugin-camel-case": { | ||
7803 | + "version": "10.3.0", | ||
7804 | + "resolved": "https://registry.npmjs.org/jss-plugin-camel-case/-/jss-plugin-camel-case-10.3.0.tgz", | ||
7805 | + "integrity": "sha512-tadWRi/SLWqLK3EUZEdDNJL71F3ST93Zrl9JYMjV0QDqKPAl0Liue81q7m/nFUpnSTXczbKDy4wq8rI8o7WFqA==", | ||
7806 | + "requires": { | ||
7807 | + "@babel/runtime": "^7.3.1", | ||
7808 | + "hyphenate-style-name": "^1.0.3", | ||
7809 | + "jss": "^10.3.0" | ||
7810 | + } | ||
7811 | + }, | ||
7812 | + "jss-plugin-default-unit": { | ||
7813 | + "version": "10.3.0", | ||
7814 | + "resolved": "https://registry.npmjs.org/jss-plugin-default-unit/-/jss-plugin-default-unit-10.3.0.tgz", | ||
7815 | + "integrity": "sha512-tT5KkIXAsZOSS9WDSe8m8lEHIjoEOj4Pr0WrG0WZZsMXZ1mVLFCSsD2jdWarQWDaRNyMj/I4d7czRRObhOxSuw==", | ||
7816 | + "requires": { | ||
7817 | + "@babel/runtime": "^7.3.1", | ||
7818 | + "jss": "^10.3.0" | ||
7819 | + } | ||
7820 | + }, | ||
7821 | + "jss-plugin-global": { | ||
7822 | + "version": "10.3.0", | ||
7823 | + "resolved": "https://registry.npmjs.org/jss-plugin-global/-/jss-plugin-global-10.3.0.tgz", | ||
7824 | + "integrity": "sha512-etYTG/y3qIR/vxZnKY+J3wXwObyBDNhBiB3l/EW9/pE3WHE//BZdK8LFvQcrCO48sZW1Z6paHo6klxUPP7WbzA==", | ||
7825 | + "requires": { | ||
7826 | + "@babel/runtime": "^7.3.1", | ||
7827 | + "jss": "^10.3.0" | ||
7828 | + } | ||
7829 | + }, | ||
7830 | + "jss-plugin-nested": { | ||
7831 | + "version": "10.3.0", | ||
7832 | + "resolved": "https://registry.npmjs.org/jss-plugin-nested/-/jss-plugin-nested-10.3.0.tgz", | ||
7833 | + "integrity": "sha512-qWiEkoXNEkkZ+FZrWmUGpf+zBsnEOmKXhkjNX85/ZfWhH9dfGxUCKuJFuOWFM+rjQfxV4csfesq4hY0jk8Qt0w==", | ||
7834 | + "requires": { | ||
7835 | + "@babel/runtime": "^7.3.1", | ||
7836 | + "jss": "^10.3.0", | ||
7837 | + "tiny-warning": "^1.0.2" | ||
7838 | + } | ||
7839 | + }, | ||
7840 | + "jss-plugin-props-sort": { | ||
7841 | + "version": "10.3.0", | ||
7842 | + "resolved": "https://registry.npmjs.org/jss-plugin-props-sort/-/jss-plugin-props-sort-10.3.0.tgz", | ||
7843 | + "integrity": "sha512-boetORqL/lfd7BWeFD3K+IyPqyIC+l3CRrdZr+NPq7Noqp+xyg/0MR7QisgzpxCEulk+j2CRcEUoZsvgPC4nTg==", | ||
7844 | + "requires": { | ||
7845 | + "@babel/runtime": "^7.3.1", | ||
7846 | + "jss": "^10.3.0" | ||
7847 | + } | ||
7848 | + }, | ||
7849 | + "jss-plugin-rule-value-function": { | ||
7850 | + "version": "10.3.0", | ||
7851 | + "resolved": "https://registry.npmjs.org/jss-plugin-rule-value-function/-/jss-plugin-rule-value-function-10.3.0.tgz", | ||
7852 | + "integrity": "sha512-7WiMrKIHH3rwxTuJki9+7nY11r1UXqaUZRhHvqTD4/ZE+SVhvtD5Tx21ivNxotwUSleucA/8boX+NF21oXzr5Q==", | ||
7853 | + "requires": { | ||
7854 | + "@babel/runtime": "^7.3.1", | ||
7855 | + "jss": "^10.3.0", | ||
7856 | + "tiny-warning": "^1.0.2" | ||
7857 | + } | ||
7858 | + }, | ||
7859 | + "jss-plugin-vendor-prefixer": { | ||
7860 | + "version": "10.3.0", | ||
7861 | + "resolved": "https://registry.npmjs.org/jss-plugin-vendor-prefixer/-/jss-plugin-vendor-prefixer-10.3.0.tgz", | ||
7862 | + "integrity": "sha512-sZQbrcZyP5V0ADjCLwUA1spVWoaZvM7XZ+2fSeieZFBj31cRsnV7X70FFDerMHeiHAXKWzYek+67nMDjhrZAVQ==", | ||
7863 | + "requires": { | ||
7864 | + "@babel/runtime": "^7.3.1", | ||
7865 | + "css-vendor": "^2.0.8", | ||
7866 | + "jss": "^10.3.0" | ||
7867 | + } | ||
7868 | + }, | ||
7669 | "jsx-ast-utils": { | 7869 | "jsx-ast-utils": { |
7670 | "version": "2.3.0", | 7870 | "version": "2.3.0", |
7671 | "resolved": "https://registry.npmjs.org/jsx-ast-utils/-/jsx-ast-utils-2.3.0.tgz", | 7871 | "resolved": "https://registry.npmjs.org/jsx-ast-utils/-/jsx-ast-utils-2.3.0.tgz", |
... | @@ -9139,6 +9339,11 @@ | ... | @@ -9139,6 +9339,11 @@ |
9139 | "ts-pnp": "^1.1.6" | 9339 | "ts-pnp": "^1.1.6" |
9140 | } | 9340 | } |
9141 | }, | 9341 | }, |
9342 | + "popper.js": { | ||
9343 | + "version": "1.16.1-lts", | ||
9344 | + "resolved": "https://registry.npmjs.org/popper.js/-/popper.js-1.16.1-lts.tgz", | ||
9345 | + "integrity": "sha512-Kjw8nKRl1m+VrSFCoVGPph93W/qrSO7ZkqPpTf7F4bk/sqcfWK019dWBUpE/fBOsOQY1dks/Bmcbfn1heM/IsA==" | ||
9346 | + }, | ||
9142 | "portfinder": { | 9347 | "portfinder": { |
9143 | "version": "1.0.26", | 9348 | "version": "1.0.26", |
9144 | "resolved": "https://registry.npmjs.org/portfinder/-/portfinder-1.0.26.tgz", | 9349 | "resolved": "https://registry.npmjs.org/portfinder/-/portfinder-1.0.26.tgz", |
... | @@ -10689,6 +10894,17 @@ | ... | @@ -10689,6 +10894,17 @@ |
10689 | "workbox-webpack-plugin": "4.3.1" | 10894 | "workbox-webpack-plugin": "4.3.1" |
10690 | } | 10895 | } |
10691 | }, | 10896 | }, |
10897 | + "react-transition-group": { | ||
10898 | + "version": "4.4.1", | ||
10899 | + "resolved": "https://registry.npmjs.org/react-transition-group/-/react-transition-group-4.4.1.tgz", | ||
10900 | + "integrity": "sha512-Djqr7OQ2aPUiYurhPalTrVy9ddmFCCzwhqQmtN+J3+3DzLO209Fdr70QrN8Z3DsglWql6iY1lDWAfpFiBtuKGw==", | ||
10901 | + "requires": { | ||
10902 | + "@babel/runtime": "^7.5.5", | ||
10903 | + "dom-helpers": "^5.0.1", | ||
10904 | + "loose-envify": "^1.4.0", | ||
10905 | + "prop-types": "^15.6.2" | ||
10906 | + } | ||
10907 | + }, | ||
10692 | "read-pkg": { | 10908 | "read-pkg": { |
10693 | "version": "3.0.0", | 10909 | "version": "3.0.0", |
10694 | "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-3.0.0.tgz", | 10910 | "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-3.0.0.tgz", |
... | @@ -12499,6 +12715,11 @@ | ... | @@ -12499,6 +12715,11 @@ |
12499 | "resolved": "https://registry.npmjs.org/timsort/-/timsort-0.3.0.tgz", | 12715 | "resolved": "https://registry.npmjs.org/timsort/-/timsort-0.3.0.tgz", |
12500 | "integrity": "sha1-QFQRqOfmM5/mTbmiNN4R3DHgK9Q=" | 12716 | "integrity": "sha1-QFQRqOfmM5/mTbmiNN4R3DHgK9Q=" |
12501 | }, | 12717 | }, |
12718 | + "tiny-warning": { | ||
12719 | + "version": "1.0.3", | ||
12720 | + "resolved": "https://registry.npmjs.org/tiny-warning/-/tiny-warning-1.0.3.tgz", | ||
12721 | + "integrity": "sha512-lBN9zLN/oAf68o3zNXYrdCt1kP8WsiGW8Oo2ka41b2IM5JL/S1CTyX1rW0mb/zSuJun0ZUrDxx4sqvYS2FWzPA==" | ||
12722 | + }, | ||
12502 | "tmp": { | 12723 | "tmp": { |
12503 | "version": "0.0.33", | 12724 | "version": "0.0.33", |
12504 | "resolved": "https://registry.npmjs.org/tmp/-/tmp-0.0.33.tgz", | 12725 | "resolved": "https://registry.npmjs.org/tmp/-/tmp-0.0.33.tgz", | ... | ... |
... | @@ -3,6 +3,7 @@ | ... | @@ -3,6 +3,7 @@ |
3 | "version": "0.1.0", | 3 | "version": "0.1.0", |
4 | "private": true, | 4 | "private": true, |
5 | "dependencies": { | 5 | "dependencies": { |
6 | + "@material-ui/core": "^4.10.2", | ||
6 | "@testing-library/jest-dom": "^4.2.4", | 7 | "@testing-library/jest-dom": "^4.2.4", |
7 | "@testing-library/react": "^9.5.0", | 8 | "@testing-library/react": "^9.5.0", |
8 | "@testing-library/user-event": "^7.2.1", | 9 | "@testing-library/user-event": "^7.2.1", | ... | ... |
1 | import React, { Component } from 'react'; | 1 | import React, { Component } from 'react'; |
2 | import './App.css'; | 2 | import './App.css'; |
3 | -import Customer from './components/Customer' | 3 | +import Customer from './components/Customer'; |
4 | +import Paper from '@material-ui/core/Paper'; | ||
5 | +import Table from '@material-ui/core/Table'; | ||
6 | +import TableHead from '@material-ui/core/TableHead'; | ||
7 | +import TableBody from '@material-ui/core/TableBody'; | ||
8 | +import TableRow from '@material-ui/core/TableRow'; | ||
9 | +import TableCell from '@material-ui/core/TableCell'; | ||
10 | +import { withStyles } from '@material-ui/core/styles'; | ||
11 | + | ||
12 | +const styles = theme => ({ | ||
13 | + root: { | ||
14 | + width: '100%', | ||
15 | + marginTop: theme.spacing.unit*3, | ||
16 | + overflowX: "auto" | ||
17 | + }, | ||
18 | + table: { | ||
19 | + minWidth: 1080 | ||
20 | + } | ||
21 | +}) | ||
4 | 22 | ||
5 | const customers =[ | 23 | const customers =[ |
6 | { | 24 | { |
... | @@ -32,18 +50,28 @@ const customers =[ | ... | @@ -32,18 +50,28 @@ const customers =[ |
32 | 50 | ||
33 | class App extends Component { | 51 | class App extends Component { |
34 | render() { | 52 | render() { |
53 | + const { classes } = this.props; | ||
35 | return ( | 54 | return ( |
36 | - <div> | 55 | + <Paper className = {classes.root}> |
37 | - { | 56 | + <Table className = {classes.table}> |
38 | - customers.map(c=> { return (<Customer key={c.id} id={c.id} image={c.image} name={c.name} birthday={c.birthday} gender={c.gender} job={c.job} /> | 57 | + <TableHead> |
39 | - ) | 58 | + <TableRow> |
40 | - }) | 59 | + <TableCell>번호</TableCell> |
41 | - } | 60 | + <TableCell>이미지</TableCell> |
42 | - </div> | 61 | + <TableCell>이름</TableCell> |
62 | + <TableCell>생년월일</TableCell> | ||
63 | + <TableCell>성별</TableCell> | ||
64 | + <TableCell>직업</TableCell> | ||
65 | + </TableRow> | ||
66 | + </TableHead> | ||
67 | + | ||
68 | + <TableBody> | ||
69 | + {customers.map(c=> { return (<Customer key={c.id} id={c.id} image={c.image} name={c.name} birthday={c.birthday} gender={c.gender} job={c.job} />)})} | ||
70 | + </TableBody> | ||
71 | + </Table> | ||
72 | + </Paper> | ||
43 | ); | 73 | ); |
44 | } | 74 | } |
45 | } | 75 | } |
46 | 76 | ||
47 | - | 77 | +export default withStyles(styles)(App); |
48 | - | ||
49 | -export default App; | ... | ... |
1 | import React from 'react'; | 1 | import React from 'react'; |
2 | +import TableRow from '@material-ui/core/TableRow'; | ||
3 | +import TableCell from '@material-ui/core/TableCell'; | ||
2 | 4 | ||
3 | class Customer extends React.Component { | 5 | class Customer extends React.Component { |
4 | render(){ | 6 | render(){ |
5 | return( | 7 | return( |
6 | - <div> | 8 | + <TableRow> |
7 | - <CustomerProfile id ={this.props.id} image = {this.props.image} name = {this.props.name}/> | 9 | + <TableCell>{this.props.id}</TableCell> |
8 | - <CustomerInfo birthday = {this.props.birthday} gender = {this.props.gender} job = {this.props.job}/> | 10 | + <TableCell><img src={this.props.image} alt="profile"/></TableCell> |
9 | - </div> | 11 | + <TableCell>{this.props.name}</TableCell> |
12 | + <TableCell>{this.props.birthday}</TableCell> | ||
13 | + <TableCell>{this.props.gender}</TableCell> | ||
14 | + <TableCell>{this.props.job}</TableCell> | ||
15 | + </TableRow> | ||
10 | ); | 16 | ); |
11 | } | 17 | } |
12 | } | 18 | } |
13 | 19 | ||
14 | -class CustomerProfile extends React.Component{ | ||
15 | - render(){ | ||
16 | - return( | ||
17 | - <div> | ||
18 | - <img src={this.props.image}alt="profile"/> | ||
19 | - <h2>{this.props.name}({this.props.id})</h2> | ||
20 | - </div> | ||
21 | - ); | ||
22 | - } | ||
23 | -} | ||
24 | - | ||
25 | -class CustomerInfo extends React.Component { | ||
26 | - render() { | ||
27 | - return ( | ||
28 | - <div> | ||
29 | - <p>{this.props.birthday}</p> | ||
30 | - <p>{this.props.gender}</p> | ||
31 | - <p>{this.props.job}</p> | ||
32 | - </div> | ||
33 | - ) | ||
34 | - } | ||
35 | - | ||
36 | - | ||
37 | -} | ||
38 | 20 | ||
39 | 21 | ||
40 | export default Customer; | 22 | export default Customer; |
... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
-
Please register or login to post a comment