From eec2cb2429e6b4e07a8367a0b7ce900a637a04b0 Mon Sep 17 00:00:00 2001
From: Ben Halverson <7907232+benhalverson@users.noreply.github.com>
Date: Sun, 26 Apr 2020 02:37:25 -0700
Subject: [PATCH 37/40] fix(pagination): Fixed the next and previous links on
/learn (#491)
* fix(pagination): Fixed the next and previous links on /learn
Closes https://github.com/nodejs/nodejs.dev/issues/472
* test(snapshots): Updated snapshots
* chore(linting): Fixed linting errors
* ci(package-lock): Updated my branch with the latest staging
---
package-lock.json | 352 +++++++++---------
src/components/pagination.tsx | 4 +-
.../__snapshots__/pagination.test.tsx.snap | 10 +-
3 files changed, 183 insertions(+), 183 deletions(-)
diff --git a/package-lock.json b/package-lock.json
index e3145f5220..1d2b4b5d06 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -3553,12 +3553,12 @@
"@hapi/address": {
"version": "2.1.4",
"resolved": "https://registry.npmjs.org/@hapi/address/-/address-2.1.4.tgz",
- "integrity": "sha1-XWftQ/P9QaadS5/3tW58DR0KgeU="
+ "integrity": "sha512-QD1PhQk+s31P1ixsX0H0Suoupp3VMXzIVMSwobR3F3MSUO2YCV0B7xqLcUw/Bh8yuvd3LhpyqLQWTNcRmp6IdQ=="
},
"@hapi/bourne": {
"version": "1.3.2",
"resolved": "https://registry.npmjs.org/@hapi/bourne/-/bourne-1.3.2.tgz",
- "integrity": "sha1-CnCVreoGckPOMoPhtWuKj0U7JCo="
+ "integrity": "sha512-1dVNHT76Uu5N3eJNTYcvxee+jzX4Z9lfciqRRHCU27ihbUcYi+iSc2iml5Ke1LXe1SyJCLA0+14Jh4tXJgOppA=="
},
"@hapi/hoek": {
"version": "8.5.1",
@@ -3568,7 +3568,7 @@
"@hapi/joi": {
"version": "15.1.1",
"resolved": "https://registry.npmjs.org/@hapi/joi/-/joi-15.1.1.tgz",
- "integrity": "sha1-xnW4pxKW8Cgz+NbSQ7NMV7jOGdc=",
+ "integrity": "sha512-entf8ZMOK8sc+8YfeOlM8pCfg3b5+WZIKBfUaaJT8UsjAAPjartzxIYm3TIbjvA4u+u++KbcXD38k682nVHDAQ==",
"requires": {
"@hapi/address": "2.x.x",
"@hapi/bourne": "1.x.x",
@@ -3579,7 +3579,7 @@
"@hapi/topo": {
"version": "3.1.6",
"resolved": "https://registry.npmjs.org/@hapi/topo/-/topo-3.1.6.tgz",
- "integrity": "sha1-aNk1+j6uf91asNf5U/MgXYsr/Ck=",
+ "integrity": "sha512-tAag0jEcjwH+P2quUfipd7liWCNX2F8NvYjQp2wtInsZxnMlypdw0FtAOLxtvvkO+GSRRbmNi8m/5y42PQJYCQ==",
"requires": {
"@hapi/hoek": "^8.3.0"
}
@@ -5359,7 +5359,7 @@
"@types/color-name": {
"version": "1.1.1",
"resolved": "https://registry.npmjs.org/@types/color-name/-/color-name-1.1.1.tgz",
- "integrity": "sha1-HBJhu+qhCoBVu8XYq4S3sq/IRqA="
+ "integrity": "sha512-rr+OQyAjxze7GgWrSaJwydHStIhHq2lvY3BOC2Mj7KnzI7XK0Uw1TOOdI9lDoajEbSWLiYgoo4f1R51erQfhPQ=="
},
"@types/configstore": {
"version": "2.1.1",
@@ -5404,7 +5404,7 @@
"@types/istanbul-lib-coverage": {
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/@types/istanbul-lib-coverage/-/istanbul-lib-coverage-2.0.1.tgz",
- "integrity": "sha1-QplbRG25pIoRoH7Ag0mahg6ROP8="
+ "integrity": "sha512-hRJD2ahnnpLgsj6KWMYSrmXkM3rm2Dl1qkx6IOFD5FnuNPXJIG5L0dhgKXCYTRMGzU4n0wImQ/xfmRc4POUFlg=="
},
"@types/istanbul-lib-report": {
"version": "1.1.1",
@@ -5417,7 +5417,7 @@
"@types/istanbul-reports": {
"version": "1.1.1",
"resolved": "https://registry.npmjs.org/@types/istanbul-reports/-/istanbul-reports-1.1.1.tgz",
- "integrity": "sha1-eoy/akBvNsit2HFiWyeOrwsNJVo=",
+ "integrity": "sha512-UpYjBi8xefVChsCoBpKShdxTllC9pwISirfoZsUa2AAdQg/Jd2KQGtSbw+ya7GPo7x/wAPlH6JBhKhAsXUEZNA==",
"requires": {
"@types/istanbul-lib-coverage": "*",
"@types/istanbul-lib-report": "*"
@@ -5478,7 +5478,7 @@
"@types/parse-json": {
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/@types/parse-json/-/parse-json-4.0.0.tgz",
- "integrity": "sha1-L4u0QUNNFjs1+4/9zNcTiSf/uMA="
+ "integrity": "sha512-//oorEZjL6sbPcKUaCdIGlIUeH26mgzimjBB77G6XRgnDl/L5wOnpyBGRe/Mmf5CVW3PwEBE1NjiMZ/ssFh4wA=="
},
"@types/prettier": {
"version": "1.19.1",
@@ -5489,7 +5489,7 @@
"@types/prop-types": {
"version": "15.7.3",
"resolved": "https://registry.npmjs.org/@types/prop-types/-/prop-types-15.7.3.tgz",
- "integrity": "sha1-KrDV2i5YFflLC51LldHl8kOrLKc="
+ "integrity": "sha512-KfRL3PuHmqQLOG+2tGpRO26Ctg+Cq1E01D2DMriKEATHgWLfeNDmq9e29Q9WIky0dQ3NPkd1mzYH8Lm936Z9qw=="
},
"@types/q": {
"version": "1.5.2",
@@ -5554,7 +5554,7 @@
"@types/unist": {
"version": "2.0.3",
"resolved": "https://registry.npmjs.org/@types/unist/-/unist-2.0.3.tgz",
- "integrity": "sha1-nAiGeYdvN061mD8VDUeHqm+zLX4="
+ "integrity": "sha512-FvUupuM3rlRsRtCN+fDudtmytGO6iHJuuRKS1Ss0pG5z8oX0diNEw94UEL7hgDbpN94rgaK5R7sWm6RrSkZuAQ=="
},
"@types/vfile": {
"version": "3.0.2",
@@ -6020,7 +6020,7 @@
"ansi-styles": {
"version": "3.2.1",
"resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",
- "integrity": "sha1-QfuyAkPlCxK+DwS43tvwdSDOhB0=",
+ "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==",
"requires": {
"color-convert": "^1.9.0"
}
@@ -6028,7 +6028,7 @@
"any-base": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/any-base/-/any-base-1.1.0.tgz",
- "integrity": "sha1-rhAaYrwIpZe0yatbcInUVmMFSf4="
+ "integrity": "sha512-uMgjozySS8adZZYePpaWs8cxB9/kdzmpX6SgJZ+wbz1K5eYk5QMYDVJaZKhxyIHUdnnJkfR7SVgStgH7LkGUyg=="
},
"any-promise": {
"version": "1.3.0",
@@ -6038,7 +6038,7 @@
"anymatch": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/anymatch/-/anymatch-2.0.0.tgz",
- "integrity": "sha1-vLJLTzeTTZqnrBe0ra+J58du8us=",
+ "integrity": "sha512-5teOsQWABXHHBFP9y3skS5P3d/WfWXpv3FUpy+LorMrNYaT9pI4oLMQX7jzQ2KklNpGpWHzdCXTDT2Y3XGlZBw==",
"requires": {
"micromatch": "^3.1.4",
"normalize-path": "^2.1.1"
@@ -6096,7 +6096,7 @@
"argparse": {
"version": "1.0.10",
"resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz",
- "integrity": "sha1-vNZ5HqWuCXJeF+WtmIE0zUCz2RE=",
+ "integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==",
"requires": {
"sprintf-js": "~1.0.2"
},
@@ -6131,7 +6131,7 @@
"arr-flatten": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/arr-flatten/-/arr-flatten-1.1.0.tgz",
- "integrity": "sha1-NgSLv/TntH4TZkQxbJlmnqWukfE="
+ "integrity": "sha512-L3hKV5R/p5o81R7O02IGnwpDmkp6E982XhtbuwSe3O4qOtMMMtodicASA1Cny2U+aCXcNpml+m4dPsvsJ3jatg=="
},
"arr-rotate": {
"version": "1.0.0",
@@ -6341,7 +6341,7 @@
"asn1": {
"version": "0.2.4",
"resolved": "https://registry.npmjs.org/asn1/-/asn1-0.2.4.tgz",
- "integrity": "sha1-jSR136tVO7M+d7VOWeiAu4ziMTY=",
+ "integrity": "sha512-jxwzQpLQjSmWXgwaCZE9Nz+glAG01yF1QnWgbhGwHI5A6FRIEY6IVqtHhIepHqI7/kyEyQEagBC5mBEFlIYvdg==",
"requires": {
"safer-buffer": "~2.1.0"
}
@@ -6398,7 +6398,7 @@
"astral-regex": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/astral-regex/-/astral-regex-1.0.0.tgz",
- "integrity": "sha1-bIw/uCfdQ+45GPJ7gngqt2WKb9k="
+ "integrity": "sha512-+Ryf6g3BKoRc7jfp7ad8tM4TtMiaWvbF/1/sQcZPkkS7ag3D5nMBCe2UfOTONtAkaG0tO0ij3C5Lwmf1EiyjHg=="
},
"async": {
"version": "1.5.2",
@@ -6423,7 +6423,7 @@
"atob": {
"version": "2.1.2",
"resolved": "https://registry.npmjs.org/atob/-/atob-2.1.2.tgz",
- "integrity": "sha1-bZUX654DDSQ2ZmZR6GvZ9vE1M8k="
+ "integrity": "sha512-Wm6ukoaOGJi/73p/cl2GvLjTI5JM1k/O14isD73YML8StrH/7/lRFgmg8nICZgD3bZZvjwCGxtMOD3wWNAu8cg=="
},
"auto-bind": {
"version": "4.0.0",
@@ -6896,7 +6896,7 @@
"babel-plugin-macros": {
"version": "2.8.0",
"resolved": "https://registry.npmjs.org/babel-plugin-macros/-/babel-plugin-macros-2.8.0.tgz",
- "integrity": "sha1-D5WKfMZVax5lNERl2ZERoeXhATg=",
+ "integrity": "sha512-SEP5kJpfGYqYKpBrj5XU3ahw5p5GOHJ0U5ssOSQ/WBVdwkD2Dzlce95exQTs3jOVWPPKLBN2rlEWkCK7dSmLvg==",
"requires": {
"@babel/runtime": "^7.7.2",
"cosmiconfig": "^6.0.0",
@@ -7084,7 +7084,7 @@
"regenerator-runtime": {
"version": "0.11.1",
"resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.11.1.tgz",
- "integrity": "sha1-vgWtf5v30i4Fb5cmzuUBf78Z4uk="
+ "integrity": "sha512-MguG95oij0fC3QV3URf4V2SDYGJhJnJGqvIIgdECeODCT98wSWDAJ94SSuVpYQUoTcGUIL6L4yNB7j1DFFHSBg=="
}
}
},
@@ -7111,7 +7111,7 @@
"base": {
"version": "0.11.2",
"resolved": "https://registry.npmjs.org/base/-/base-0.11.2.tgz",
- "integrity": "sha1-e95c7RRbbVUakNuH+DxVi060io8=",
+ "integrity": "sha512-5T6P4xPgpp0YDFvSWwEZ4NoE3aM4QBQXDzmVbraCkFj8zHM+mba8SyqB5DbZWyR7mYHo6Y7BdQo3MoA4m0TeQg==",
"requires": {
"cache-base": "^1.0.1",
"class-utils": "^0.3.5",
@@ -7145,7 +7145,7 @@
"base64-js": {
"version": "1.3.1",
"resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.3.1.tgz",
- "integrity": "sha1-WOzoy3XdB+ce0IxzarxfrE2/jfE="
+ "integrity": "sha512-mLQ4i2QO1ytvGWFWmcngKO//JXAQueZvwEKtjgQFM4jIK0kU+ytMfplL8j+n5mspOfjHwoAg+9yhb7BwAHm36g=="
},
"base64id": {
"version": "2.0.0",
@@ -7184,7 +7184,7 @@
"better-queue": {
"version": "3.8.10",
"resolved": "https://registry.npmjs.org/better-queue/-/better-queue-3.8.10.tgz",
- "integrity": "sha1-HJO57Eyz0bcuuR0O/LhPyA6MaDU=",
+ "integrity": "sha512-e3gwNZgDCnNWl0An0Tz6sUjKDV9m6aB+K9Xg//vYeo8+KiH8pWhLFxkawcXhm6FpM//GfD9IQv/kmvWCAVVpKA==",
"requires": {
"better-queue-memory": "^1.0.1",
"node-eta": "^0.9.0",
@@ -7194,7 +7194,7 @@
"better-queue-memory": {
"version": "1.0.4",
"resolved": "https://registry.npmjs.org/better-queue-memory/-/better-queue-memory-1.0.4.tgz",
- "integrity": "sha1-85DWswuzs2qvLOUrN6SD6KeoGiI="
+ "integrity": "sha512-SWg5wFIShYffEmJpI6LgbL8/3Dqhku7xI1oEiy6FroP9DbcZlG0ZDjxvPdP9t7hTGW40IpIcC6zVoGT1oxjOuA=="
},
"big.js": {
"version": "5.2.2",
@@ -7461,7 +7461,7 @@
"bluebird": {
"version": "3.7.2",
"resolved": "https://registry.npmjs.org/bluebird/-/bluebird-3.7.2.tgz",
- "integrity": "sha1-nyKcFb4nJFT/qXOs4NvueaGww28="
+ "integrity": "sha512-XpNj6GDQzdfW+r2Wnn7xiSAd7TM3jzkxGXBGTtWKuSXv1xUV+azxAm8jdWZN06QTQk+2N2XB9jRDkvbmQmcRtg=="
},
"bmp-js": {
"version": "0.1.0",
@@ -7622,7 +7622,7 @@
"brace-expansion": {
"version": "1.1.11",
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz",
- "integrity": "sha1-PH/L9SnYcibz0vUrlm/1Jx60Qd0=",
+ "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==",
"requires": {
"balanced-match": "^1.0.0",
"concat-map": "0.0.1"
@@ -7775,7 +7775,7 @@
"buffer-alloc": {
"version": "1.2.0",
"resolved": "https://registry.npmjs.org/buffer-alloc/-/buffer-alloc-1.2.0.tgz",
- "integrity": "sha1-iQ3ZDZI6hz4I4Q5f1RpX5bfM4Ow=",
+ "integrity": "sha512-CFsHQgjtW1UChdXgbyJGtnm+O/uLQeZdtbDo8mfUgYXCHSM1wgrVxXm6bSyrUuErEb+4sYVGCzASBRot7zyrow==",
"requires": {
"buffer-alloc-unsafe": "^1.1.0",
"buffer-fill": "^1.0.0"
@@ -7784,7 +7784,7 @@
"buffer-alloc-unsafe": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/buffer-alloc-unsafe/-/buffer-alloc-unsafe-1.1.0.tgz",
- "integrity": "sha1-vX3CauKXLQ7aJTvgYdupkjScGfA="
+ "integrity": "sha512-TEM2iMIEQdJ2yjPJoSIsldnleVaAk1oW3DBVUykyOLsEsFmEc9kn+SFFPz+gl54KQNxlDnAwCXosOS9Okx2xAg=="
},
"buffer-crc32": {
"version": "0.2.13",
@@ -7871,7 +7871,7 @@
"cache-base": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/cache-base/-/cache-base-1.0.1.tgz",
- "integrity": "sha1-Cn9GQWgxyLZi7jb+TnxZ129marI=",
+ "integrity": "sha512-AKcdTnFSWATd5/GCPRxr2ChwIJ85CeyrEyjRHlKxQ56d4XJMGym0uAiKn0xbLOGOl3+yRpOTi484dVCEc5AUzQ==",
"requires": {
"collection-visit": "^1.0.0",
"component-emitter": "^1.2.1",
@@ -7980,12 +7980,12 @@
"callsites": {
"version": "3.1.0",
"resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz",
- "integrity": "sha1-s2MKvYlDQy9Us/BRkjjjPNffL3M="
+ "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ=="
},
"camelcase": {
"version": "5.3.1",
"resolved": "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz",
- "integrity": "sha1-48mzFWnhBoEd8kL3FXJaH0xJQyA="
+ "integrity": "sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg=="
},
"camelcase-css": {
"version": "2.0.1",
@@ -8057,7 +8057,7 @@
"chalk": {
"version": "2.4.2",
"resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz",
- "integrity": "sha1-zUJUFnelQzPPVBpJEIwUMrRMlCQ=",
+ "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==",
"requires": {
"ansi-styles": "^3.2.1",
"escape-string-regexp": "^1.0.5",
@@ -8107,7 +8107,7 @@
"cheerio": {
"version": "1.0.0-rc.3",
"resolved": "https://registry.npmjs.org/cheerio/-/cheerio-1.0.0-rc.3.tgz",
- "integrity": "sha1-CUY21CWy6cD065GkbAVjDJoai/Y=",
+ "integrity": "sha512-0td5ijfUPuubwLUu0OBoe98gZj8C/AA+RW3v67GPlGOrvxWjZmBXiBCRU+I8VEiNyJzjth40POfHiz2RB3gImA==",
"requires": {
"css-select": "~1.2.0",
"dom-serializer": "~0.1.1",
@@ -8120,7 +8120,7 @@
"dom-serializer": {
"version": "0.1.1",
"resolved": "https://registry.npmjs.org/dom-serializer/-/dom-serializer-0.1.1.tgz",
- "integrity": "sha1-HsQFnihLq+027sKUHUqXChic58A=",
+ "integrity": "sha512-l0IU0pPzLWSHBcieZbpOKgkIn3ts3vAh7ZuFyXNwJxJXk/c4Gwj9xaTJwIDVQCXawWD0qb3IzMGH5rglQaO0XA==",
"requires": {
"domelementtype": "^1.3.0",
"entities": "^1.1.1"
@@ -8184,7 +8184,7 @@
"ci-info": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/ci-info/-/ci-info-2.0.0.tgz",
- "integrity": "sha1-Z6npZL4xpR4V5QENWObxKDQAL0Y="
+ "integrity": "sha512-5tK7EtrZ0N+OLFMthtqOj4fI2Jeb88C4CAZPu25LDVUgXJ0A3Js4PMGqrn0JU1W0Mh1/Z8wZzYPxqUrXeBboCQ=="
},
"cipher-base": {
"version": "1.0.4",
@@ -8198,7 +8198,7 @@
"class-utils": {
"version": "0.3.6",
"resolved": "https://registry.npmjs.org/class-utils/-/class-utils-0.3.6.tgz",
- "integrity": "sha1-+TNprouafOAv1B+q0MqDAzGQxGM=",
+ "integrity": "sha512-qOhPa/Fj7s6TY8H8esGu5QNpMMQxz79h+urzrNYN6mn+9BnxlDGf5QZ+XeCDsxSjPqsSR56XOZOJmpeurnLMeg==",
"requires": {
"arr-union": "^3.1.0",
"define-property": "^0.2.5",
@@ -8406,7 +8406,7 @@
"codecov": {
"version": "3.6.5",
"resolved": "https://registry.npmjs.org/codecov/-/codecov-3.6.5.tgz",
- "integrity": "sha1-1zzmLooCH1JJ9UsHPm8talE/Fyo=",
+ "integrity": "sha512-v48WuDMUug6JXwmmfsMzhCHRnhUf8O3duqXvltaYJKrO1OekZWpB/eH6iIoaxMl8Qli0+u3OxptdsBOYiD7VAQ==",
"dev": true,
"requires": {
"argv": "0.0.2",
@@ -8448,7 +8448,7 @@
"color-convert": {
"version": "1.9.3",
"resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz",
- "integrity": "sha1-u3GFBpDh8TZWfeYp0tVHHe2kweg=",
+ "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==",
"requires": {
"color-name": "1.1.3"
},
@@ -8483,7 +8483,7 @@
"combined-stream": {
"version": "1.0.8",
"resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz",
- "integrity": "sha1-w9RaizT9cwYxoRCoolIGgrMdWn8=",
+ "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==",
"requires": {
"delayed-stream": "~1.0.0"
}
@@ -8501,12 +8501,12 @@
"commander": {
"version": "2.20.3",
"resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz",
- "integrity": "sha1-/UhehMA+tIgcIHIrpIA16FMa6zM="
+ "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ=="
},
"common-tags": {
"version": "1.8.0",
"resolved": "https://registry.npmjs.org/common-tags/-/common-tags-1.8.0.tgz",
- "integrity": "sha1-jjFT5ULUo56bEFVENK+q+YlWqTc="
+ "integrity": "sha512-6P6g0uetGpW/sdyUy/iQQCbFF0kWVMSIVSyYz7Zgjcgh8mgw8PQzDNZeyZ5DQ2gM7LBoZPHmnjz8rUthkBG5tw=="
},
"commondir": {
"version": "1.0.1",
@@ -9188,7 +9188,7 @@
"cross-spawn": {
"version": "6.0.5",
"resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-6.0.5.tgz",
- "integrity": "sha1-Sl7Hxk364iw6FBJNus3uhG2Ay8Q=",
+ "integrity": "sha512-eTVLrBSt7fjbDygz805pMnstIs2VTBNkRm0qxZd+M7A5XDdxVRWO5MxGBXZhjY4cqLYLdtrGqRf8mBPmzwSpWQ==",
"requires": {
"nice-try": "^1.0.4",
"path-key": "^2.0.1",
@@ -9337,7 +9337,7 @@
"css-what": {
"version": "2.1.3",
"resolved": "https://registry.npmjs.org/css-what/-/css-what-2.1.3.tgz",
- "integrity": "sha1-ptdgRXM2X+dGhsPzEcVlE9iChfI="
+ "integrity": "sha512-a+EPoD+uZiNfh+5fxw2nO9QwFa6nJe2Or35fGY6Ipw1R3R4AGz1d1TEZrCegvw2YTmZ0jXirGYlzxxpYSHwpEg=="
},
"cssesc": {
"version": "3.0.0",
@@ -9732,7 +9732,7 @@
"deep-extend": {
"version": "0.6.0",
"resolved": "https://registry.npmjs.org/deep-extend/-/deep-extend-0.6.0.tgz",
- "integrity": "sha1-xPp8lUBKF6nD6Mp+FTcxK3NjMKw="
+ "integrity": "sha512-LOHxIOaPYdHlJRtCQfDIVZtfw/ufM8+rVj649RIHzcm/vGwQRXFt6OPqIFWsm2XEMrNIEtWR64sY1LEKD2vAOA=="
},
"deep-is": {
"version": "0.1.3",
@@ -9761,7 +9761,7 @@
"define-properties": {
"version": "1.1.3",
"resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.1.3.tgz",
- "integrity": "sha1-z4jabL7ib+bbcJT2HYcMvYTO6fE=",
+ "integrity": "sha512-3MqfYKj2lLzdMSf8ZIZE/V+Zuy+BgD6f164e8K2w7dgnpKArBDerGYpM46IYYcjnkdPNMjPk9A6VFB8+3SKlXQ==",
"requires": {
"object-keys": "^1.0.12"
}
@@ -10191,7 +10191,7 @@
"dom-serializer": {
"version": "0.2.2",
"resolved": "https://registry.npmjs.org/dom-serializer/-/dom-serializer-0.2.2.tgz",
- "integrity": "sha1-GvuB9TNxcXXUeGVd68XjMtn5u1E=",
+ "integrity": "sha512-2/xPb3ORsQ42nHYiSunXkDjPLBaEj/xTwUO4B7XCZQTRk7EBtTOPaygh10YAAh2OI1Qrp6NWfpAhzswj0ydt9g==",
"requires": {
"domelementtype": "^2.0.1",
"entities": "^2.0.0"
@@ -10200,7 +10200,7 @@
"domelementtype": {
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/domelementtype/-/domelementtype-2.0.1.tgz",
- "integrity": "sha1-H4vf6R9aeAYydOgDtL3O326U+U0="
+ "integrity": "sha512-5HOHUDsYZWV8FGWN0Njbr/Rn7f/eWSQi1v7+HsUVwXgn8nWWlL64zKDkS0n8ZmQ3mlWOMuXOnR+7Nx/5tMO5AQ=="
},
"entities": {
"version": "2.0.0",
@@ -10222,7 +10222,7 @@
"domelementtype": {
"version": "1.3.1",
"resolved": "https://registry.npmjs.org/domelementtype/-/domelementtype-1.3.1.tgz",
- "integrity": "sha1-0EjESzew0Qp/Kj1f7j9DM9eQSB8="
+ "integrity": "sha512-BSKB+TSpMpFI/HOxCNr1O8aMOTZ8hT3pM3GQ0w/mWRmkhEDSFJkkyzz4XQsBV44BChwGkrDfMyjVD0eA2aFV3w=="
},
"domexception": {
"version": "1.0.1",
@@ -10236,7 +10236,7 @@
"domhandler": {
"version": "2.4.2",
"resolved": "https://registry.npmjs.org/domhandler/-/domhandler-2.4.2.tgz",
- "integrity": "sha1-iAUJfpM9ZehVRvcm1g9euItE+AM=",
+ "integrity": "sha512-JiK04h0Ht5u/80fdLMCEmV4zkNh2BcoMFBmZ/91WtYZ8qVXSKjiw7fXMgFPnHcSZgOo3XdinHvmnDUeMf5R4wA==",
"requires": {
"domelementtype": "1"
}
@@ -10268,7 +10268,7 @@
"dotenv": {
"version": "8.2.0",
"resolved": "https://registry.npmjs.org/dotenv/-/dotenv-8.2.0.tgz",
- "integrity": "sha1-l+YZJZradQ7qPk6j4mvO6lQksWo="
+ "integrity": "sha512-8sJ78ElpbDJBHNeBzUbUVLsqKdccaa/BXF1uPTw3GrvQTBgrQrtObr2mUrE38vzYd8cEv+m/JBfDLioYcfXoaw=="
},
"download": {
"version": "6.2.5",
@@ -10490,7 +10490,7 @@
"end-of-stream": {
"version": "1.4.4",
"resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.4.tgz",
- "integrity": "sha1-WuZKX0UFe682JuwU2gyl5LJDHrA=",
+ "integrity": "sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q==",
"requires": {
"once": "^1.4.0"
}
@@ -10602,7 +10602,7 @@
"error-ex": {
"version": "1.3.2",
"resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz",
- "integrity": "sha1-tKxAZIEH/c3PriQvQovqihTU8b8=",
+ "integrity": "sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==",
"requires": {
"is-arrayish": "^0.2.1"
}
@@ -10635,7 +10635,7 @@
"es-to-primitive": {
"version": "1.2.1",
"resolved": "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.2.1.tgz",
- "integrity": "sha1-5VzUyc3BiLzvsDs2bHNjI/xciYo=",
+ "integrity": "sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA==",
"requires": {
"is-callable": "^1.1.4",
"is-date-object": "^1.0.1",
@@ -11049,7 +11049,7 @@
"esprima": {
"version": "4.0.1",
"resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz",
- "integrity": "sha1-E7BM2z5sXRnfkatph6hpVhmwqnE="
+ "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A=="
},
"esquery": {
"version": "1.3.1",
@@ -11077,12 +11077,12 @@
"estraverse": {
"version": "4.3.0",
"resolved": "https://registry.npmjs.org/estraverse/-/estraverse-4.3.0.tgz",
- "integrity": "sha1-OYrT88WiSUi+dyXoPRGn3ijNvR0="
+ "integrity": "sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw=="
},
"esutils": {
"version": "2.0.3",
"resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz",
- "integrity": "sha1-dNLrTeC42hKTcRkQ1Qd1ubcQ72Q="
+ "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g=="
},
"etag": {
"version": "1.8.1",
@@ -11251,7 +11251,7 @@
"debug": {
"version": "2.6.9",
"resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz",
- "integrity": "sha1-XRKFFd8TT/Mn6QpMk/Tgd6U2NB8=",
+ "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==",
"requires": {
"ms": "2.0.0"
}
@@ -11462,7 +11462,7 @@
"extend": {
"version": "3.0.2",
"resolved": "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz",
- "integrity": "sha1-+LETa0Bx+9jrFAr/hYsQGewpFfo="
+ "integrity": "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g=="
},
"extend-shallow": {
"version": "2.0.1",
@@ -11485,7 +11485,7 @@
"extglob": {
"version": "2.0.4",
"resolved": "https://registry.npmjs.org/extglob/-/extglob-2.0.4.tgz",
- "integrity": "sha1-rQD+TcYSqSMuhxhxHcXLWrAoVUM=",
+ "integrity": "sha512-Nmb6QXkELsuBr24CJSkilo6UHHgbekK5UiZgfE6UHD3Eb27YC6oD+bhcT+tJ6cl8dmsgdQxnWlcry8ksBIBLpw==",
"requires": {
"array-unique": "^0.3.2",
"define-property": "^1.0.0",
@@ -11731,12 +11731,12 @@
"find-root": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/find-root/-/find-root-1.1.0.tgz",
- "integrity": "sha1-q8/Iunb3CMQql7PWhbfpRQv7nOQ="
+ "integrity": "sha512-NKfW6bec6GfKc0SGx1e07QZY9PE99u0Bft/0rzSD5k3sO/vwkVUpDUKVm5Gpp5Ue3YfShPFTX2070tDs5kB9Ng=="
},
"find-up": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/find-up/-/find-up-3.0.0.tgz",
- "integrity": "sha1-SRafHXmTQwZG2mHsxa41XCHJe3M=",
+ "integrity": "sha512-1yD6RmLI1XBfxugvORwlck6f75tYL+iR0jqwsOrOxMZyGYqUuDhJ0l4AXdO1iX/FTs9cBAMEk1gWSEx1kSbylg==",
"requires": {
"locate-path": "^3.0.0"
}
@@ -11942,7 +11942,7 @@
"form-data": {
"version": "2.3.3",
"resolved": "https://registry.npmjs.org/form-data/-/form-data-2.3.3.tgz",
- "integrity": "sha1-3M5SwF9kTymManq5Nr1yTO/786Y=",
+ "integrity": "sha512-1lLKB2Mu3aGP1Q/2eCOx0fNbRMe7XdwktwOruhfqqd0rIJWwN4Dh+E3hrPSlDCXnSR7UtZ1N38rVXm+6+MEhJQ==",
"requires": {
"asynckit": "^0.4.0",
"combined-stream": "^1.0.6",
@@ -12005,7 +12005,7 @@
"fs-extra": {
"version": "8.1.0",
"resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-8.1.0.tgz",
- "integrity": "sha1-SdQ8RaiM2Wd2aMt74bRu/bjS4cA=",
+ "integrity": "sha512-yhlQgA6mnOJUKOsRUFsgJdQCvkKhcz8tlZG5HBQfReYZy46OwLcY+Zia0mtdHsOo9y/hP+CxMN0TU9QxoOtG4g==",
"requires": {
"graceful-fs": "^4.2.0",
"jsonfile": "^4.0.0",
@@ -12515,7 +12515,7 @@
"function-bind": {
"version": "1.1.1",
"resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz",
- "integrity": "sha1-pWiZ0+o8m6uHS7l3O3xe3pL0iV0="
+ "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A=="
},
"functional-red-black-tree": {
"version": "1.0.1",
@@ -15258,7 +15258,7 @@
"get-caller-file": {
"version": "2.0.5",
"resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz",
- "integrity": "sha1-T5RBKoLbMvNuOwuXQfipf+sDH34="
+ "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg=="
},
"get-own-enumerable-property-symbols": {
"version": "3.0.2",
@@ -15520,7 +15520,7 @@
"glob": {
"version": "7.1.6",
"resolved": "https://registry.npmjs.org/glob/-/glob-7.1.6.tgz",
- "integrity": "sha1-FB8zuBp8JJLhJVlDB0gMRmeSeKY=",
+ "integrity": "sha512-LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA==",
"requires": {
"fs.realpath": "^1.0.0",
"inflight": "^1.0.4",
@@ -15581,7 +15581,7 @@
"globals": {
"version": "11.12.0",
"resolved": "https://registry.npmjs.org/globals/-/globals-11.12.0.tgz",
- "integrity": "sha1-q4eVM4hooLq9hSV1gBjCp+uVxC4="
+ "integrity": "sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA=="
},
"globby": {
"version": "8.0.2",
@@ -15724,7 +15724,7 @@
"graceful-fs": {
"version": "4.2.3",
"resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.3.tgz",
- "integrity": "sha1-ShL/G2A3bvCYYsIJPt2Qgyi+hCM="
+ "integrity": "sha512-a30VEBm4PEdx1dRB7MFK7BejejvCvBronbLjht+sHuGYj8PHs7M/5Z+rt5lw551vZ7yfTCj4Vuyy3mSJytDWRQ=="
},
"graceful-readlink": {
"version": "1.0.1",
@@ -15869,7 +15869,7 @@
"har-validator": {
"version": "5.1.3",
"resolved": "https://registry.npmjs.org/har-validator/-/har-validator-5.1.3.tgz",
- "integrity": "sha1-HvievT5JllV2de7ZiTEQ3DUPoIA=",
+ "integrity": "sha512-sNvOCzEQNr/qrvJgc3UG/kD4QtlHycrzwS+6mfTrrSq97BvaYcPZZI1ZSqGSPR73Cxn4LKTD4PttRwfU7jWq5g==",
"requires": {
"ajv": "^6.5.5",
"har-schema": "^2.0.0"
@@ -15878,13 +15878,13 @@
"harmony-reflect": {
"version": "1.6.1",
"resolved": "https://registry.npmjs.org/harmony-reflect/-/harmony-reflect-1.6.1.tgz",
- "integrity": "sha1-wQjU8rtFHv73o3hh/b2ucsm976k=",
+ "integrity": "sha512-WJTeyp0JzGtHcuMsi7rw2VwtkvLa+JyfEKJCFyfcS0+CDkjQ5lHPu7zEhFZP+PDSRrEgXa5Ah0l1MbgbE41XjA==",
"dev": true
},
"has": {
"version": "1.0.3",
"resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz",
- "integrity": "sha1-ci18v8H2qoJB8W3YFOAR4fQeh5Y=",
+ "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==",
"requires": {
"function-bind": "^1.1.1"
}
@@ -15932,17 +15932,17 @@
"has-symbol-support-x": {
"version": "1.4.2",
"resolved": "https://registry.npmjs.org/has-symbol-support-x/-/has-symbol-support-x-1.4.2.tgz",
- "integrity": "sha1-FAn5i8ACR9pF2mfO4KNvKC/yZFU="
+ "integrity": "sha512-3ToOva++HaW+eCpgqZrCfN51IPB+7bJNVT6CUATzueB5Heb8o6Nam0V3HG5dlDvZU1Gn5QLcbahiKw/XVk5JJw=="
},
"has-symbols": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.1.tgz",
- "integrity": "sha1-n1IUdYpEGWxAbZvXbOv4HsLdMeg="
+ "integrity": "sha512-PLcsoqu++dmEIZB+6totNFKq/7Do+Z0u4oT0zKOJNl3lYK6vGwwu2hjHs+68OEZbTjiUE9bgOABXbP/GvrS0Kg=="
},
"has-to-string-tag-x": {
"version": "1.4.1",
"resolved": "https://registry.npmjs.org/has-to-string-tag-x/-/has-to-string-tag-x-1.4.1.tgz",
- "integrity": "sha1-oEWrOD17SyASoAFIqwql8pAETU0=",
+ "integrity": "sha512-vdbKfmw+3LoOYVr+mtxHaX5a96+0f3DljYd8JOqvOLsf5mw2Otda2qCDT9qRqLAhrjyQ0h7ual5nOiASpsGNFw==",
"requires": {
"has-symbol-support-x": "^1.4.1"
}
@@ -16297,7 +16297,7 @@
"htmlparser2": {
"version": "3.10.1",
"resolved": "https://registry.npmjs.org/htmlparser2/-/htmlparser2-3.10.1.tgz",
- "integrity": "sha1-vWedw/WYl7ajS7EHSchVu1OpOS8=",
+ "integrity": "sha512-IgieNijUMbkDovyoKObU1DUhm1iwNYE/fuifEoEHfd1oZKZDaONBSkal7Y01shxsM49R4XaMdGez3WnF9UfiCQ==",
"requires": {
"domelementtype": "^1.3.1",
"domhandler": "^2.3.0",
@@ -16373,7 +16373,7 @@
"http-proxy-agent": {
"version": "4.0.1",
"resolved": "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-4.0.1.tgz",
- "integrity": "sha1-ioyO9/WTLM+VPClsqCkblap0qjo=",
+ "integrity": "sha512-k0zdNgqWTGA6aeIRVpvfVob4fL52dTfaehylg0Y4UvSySvOq/Y+BOyPrgpUrA7HylqvU8vIZGsRuXmspskV0Tg==",
"dev": true,
"requires": {
"@tootallnate/once": "1",
@@ -16421,7 +16421,7 @@
"https-proxy-agent": {
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-4.0.0.tgz",
- "integrity": "sha1-cCtx+1UgoTKmbeH2dUHZ5iFU2Cs=",
+ "integrity": "sha512-zoDhWrkR3of1l9QAL8/scJZyLu8j/gBkcwcaQOZh7Gyh/+uJQzGVETdgT30akuwkpL8HTRfssqI3BZuV18teDg==",
"dev": true,
"requires": {
"agent-base": "5",
@@ -16484,7 +16484,7 @@
"iconv-lite": {
"version": "0.4.24",
"resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz",
- "integrity": "sha1-ICK0sl+93CHS9SSXSkdKr+czkIs=",
+ "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==",
"requires": {
"safer-buffer": ">= 2.1.2 < 3"
}
@@ -16539,7 +16539,7 @@
"ieee754": {
"version": "1.1.13",
"resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.1.13.tgz",
- "integrity": "sha1-7BaFWOlaoYH9h9N/VcMrvLZwi4Q="
+ "integrity": "sha512-4vf7I2LYV/HaWerSo3XmlMkp5eZ83i+/CDluXi/IGTs/O1sejBNhTtnxzmRZfvOUqj7lZjqHkeTvpgSFDlWZTg=="
},
"iferr": {
"version": "0.1.5",
@@ -16554,7 +16554,7 @@
"ignore-walk": {
"version": "3.0.3",
"resolved": "https://registry.npmjs.org/ignore-walk/-/ignore-walk-3.0.3.tgz",
- "integrity": "sha1-AX4kRxhL/q3nwjjkrv3R6PlbHjc=",
+ "integrity": "sha512-m7o6xuOaT1aqheYHKf8W6J5pYH85ZI9w077erOzLje3JsB1gkafkAhHHY19dqjulgIZHFm32Cp5uNZgcQqdJKw==",
"dev": true,
"requires": {
"minimatch": "^3.0.4"
@@ -16658,7 +16658,7 @@
"import-fresh": {
"version": "3.2.1",
"resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.2.1.tgz",
- "integrity": "sha1-Yz/2GFBueTr1rJG/SLcmd+FcvmY=",
+ "integrity": "sha512-6e1q1cnWP2RXD9/keSkxHScg508CdXqXWgWBaETNhyuBFz+kUZlKboh+ISK+bU++DmbHimVBrOz/zzPe0sZ3sQ==",
"requires": {
"parent-module": "^1.0.0",
"resolve-from": "^4.0.0"
@@ -16817,12 +16817,12 @@
"inherits": {
"version": "2.0.4",
"resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz",
- "integrity": "sha1-D6LGT5MpF8NDOg3tVTY6rjdBa3w="
+ "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ=="
},
"ini": {
"version": "1.3.5",
"resolved": "https://registry.npmjs.org/ini/-/ini-1.3.5.tgz",
- "integrity": "sha1-7uJfVtscnsYIXgwid4CD9Zar+Sc="
+ "integrity": "sha512-RZY5huIKCMRWDUqZlEi72f/lmXKMvuszcMBduliQ3nnWbx9X/ZBQO7DijMEYS9EhHBb2qacRUMtC7svLwe0lcw=="
},
"ink": {
"version": "2.7.1",
@@ -17297,7 +17297,7 @@
"invariant": {
"version": "2.2.4",
"resolved": "https://registry.npmjs.org/invariant/-/invariant-2.2.4.tgz",
- "integrity": "sha1-YQ88ksk1nOHbYW5TgAjSP/NRWOY=",
+ "integrity": "sha512-phJfQVBuaJM5raOpJjSfkiD6BpbCE4Ns//LaXl6wGYtUBY83nWS6Rf9tXm2e8VaK60JEjYldbPif/A2B1C2gNA==",
"requires": {
"loose-envify": "^1.0.0"
}
@@ -17331,7 +17331,7 @@
"is-absolute-url": {
"version": "3.0.3",
"resolved": "https://registry.npmjs.org/is-absolute-url/-/is-absolute-url-3.0.3.tgz",
- "integrity": "sha1-lsaiK2ojkpsR6gr7GDbDatSl1pg="
+ "integrity": "sha512-opmNIX7uFnS96NtPmhWQgQx6/NYFgsUXYMllcfzwWKUMwfo8kku1TvE6hkNcH+Q1ts5cMVrsY7j0bxXQDciu9Q=="
},
"is-accessor-descriptor": {
"version": "1.0.0",
@@ -17397,7 +17397,7 @@
"is-buffer": {
"version": "1.1.6",
"resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-1.1.6.tgz",
- "integrity": "sha1-76ouqdqg16suoTqXsritUf776L4="
+ "integrity": "sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w=="
},
"is-builtin-module": {
"version": "3.0.0",
@@ -17415,7 +17415,7 @@
"is-ci": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/is-ci/-/is-ci-2.0.0.tgz",
- "integrity": "sha1-a8YzQYGBDgS1wis9WJ/cpVAmQEw=",
+ "integrity": "sha512-YfJT7rkpQB0updsdHLGWrvhBJfcfzNNawYDNIyQXJz0IViGf75O8EBPKSdvw2rF+LGCsX4FZ8tcr3b19LcZq4w==",
"requires": {
"ci-info": "^2.0.0"
}
@@ -17526,7 +17526,7 @@
"is-glob": {
"version": "4.0.1",
"resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.1.tgz",
- "integrity": "sha1-dWfb6fL14kZ7x3q4PEopSCQHpdw=",
+ "integrity": "sha512-5G0tKtBTFImOqDnLB2hG6Bp2qcKEFduo4tZu9MT/H6NQv/ghhy30o55ufafxJ/LdH79LLs2Kfrn85TLKyA7BUg==",
"requires": {
"is-extglob": "^2.1.1"
}
@@ -17665,7 +17665,7 @@
"is-plain-object": {
"version": "2.0.4",
"resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-2.0.4.tgz",
- "integrity": "sha1-LBY7P6+xtgbZ0Xko8FwqHDjgdnc=",
+ "integrity": "sha512-h5PpgXkWitc38BBMYawTYMWJHFZJVnBquFE57xFpjB8pJFiF6gZ+bU+WyI/yqXiFR5mdLsgYNaPe8uao6Uv9Og==",
"requires": {
"isobject": "^3.0.1"
}
@@ -17704,7 +17704,7 @@
"is-relative-url": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/is-relative-url/-/is-relative-url-3.0.0.tgz",
- "integrity": "sha1-9iPI4muqW9N0Kzt+wHT1DztFs/M=",
+ "integrity": "sha512-U1iSYRlY2GIMGuZx7gezlB5dp1Kheaym7zKzO1PV06mOihiWTXejLwm4poEJysPyXF+HtK/BEd0DVlcCh30pEA==",
"requires": {
"is-absolute-url": "^3.0.0"
}
@@ -17717,7 +17717,7 @@
"is-retry-allowed": {
"version": "1.2.0",
"resolved": "https://registry.npmjs.org/is-retry-allowed/-/is-retry-allowed-1.2.0.tgz",
- "integrity": "sha1-13hIi9CkZmo76KFIK58rqv7eqLQ="
+ "integrity": "sha512-RUbUeKwvm3XG2VYamhJL1xFktgjvPzL0Hq8C+6yrWIswDy3BIXGqCxhxkc30N9jqK311gVU137K8Ei55/zVJRg=="
},
"is-root": {
"version": "2.1.0",
@@ -17753,7 +17753,7 @@
"is-symbol": {
"version": "1.0.3",
"resolved": "https://registry.npmjs.org/is-symbol/-/is-symbol-1.0.3.tgz",
- "integrity": "sha1-OOEBS55jKb4N6dJKQU/XRB7GGTc=",
+ "integrity": "sha512-OwijhaRSgqvhm/0ZdAcXNZt9lYdKFpcRDT5ULUuYXPoT794UNOdU+gpT6Rzo7b4V2HUl/op6GqY894AZwv9faQ==",
"requires": {
"has-symbols": "^1.0.1"
}
@@ -17811,7 +17811,7 @@
"is-windows": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/is-windows/-/is-windows-1.0.2.tgz",
- "integrity": "sha1-0YUOuXkezRjmGCzhKjDzlmNLsZ0="
+ "integrity": "sha512-eXK1UInq2bPmjyX6e3VHIzMLobc4J94i4AWn+Hpq3OU5KkrRC96OAcR3PRJ/pGu6m8TRnBHP9dkXQVsT/COVIA=="
},
"is-word-character": {
"version": "1.0.3",
@@ -18311,7 +18311,7 @@
"isurl": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/isurl/-/isurl-1.0.0.tgz",
- "integrity": "sha1-sn9PSfPNqj6kSgpbfzRi5u3DnWc=",
+ "integrity": "sha512-1P/yWsxPlDtn7QeRD+ULKQPaIaN6yF368GZ2vDfv0AL0NwpStafjWCDDdn0k8wgFMWpVAqG7oJhxHnlud42i9w==",
"requires": {
"has-to-string-tag-x": "^1.2.0",
"is-object": "^1.0.1"
@@ -20681,12 +20681,12 @@
"js-tokens": {
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz",
- "integrity": "sha1-GSA/tZmR35jjoocFDUZHzerzJJk="
+ "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ=="
},
"js-yaml": {
"version": "3.13.1",
"resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.13.1.tgz",
- "integrity": "sha1-r/FRswv9+o5J4F2iLnQV6d+jeEc=",
+ "integrity": "sha512-YfbcO7jXDdyj0DGxYVSlSeQNHbD7XPWvrVWeVUujrQEoZzWJIRrCPoyk6kL6IAjAG2IolMK4T0hNUe0HOUs5Jw==",
"requires": {
"argparse": "^1.0.7",
"esprima": "^4.0.0"
@@ -20763,7 +20763,7 @@
"json-parse-better-errors": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/json-parse-better-errors/-/json-parse-better-errors-1.0.2.tgz",
- "integrity": "sha1-u4Z8+zRQ5pEHwTHRxRS6s9yLyqk="
+ "integrity": "sha512-mrqyZKfX5EhL7hvqcV6WG1yYjnjeuYDzDhhcAAUrq8Po85NBQBJP+ZDUT75qZQ98IkUoBqdkExkukOU7Ts2wrw=="
},
"json-schema": {
"version": "0.2.3",
@@ -20773,7 +20773,7 @@
"json-schema-traverse": {
"version": "0.4.1",
"resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz",
- "integrity": "sha1-afaofZUTq4u4/mO9sJecRI5oRmA="
+ "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg=="
},
"json-stable-stringify-without-jsonify": {
"version": "1.0.1",
@@ -20859,7 +20859,7 @@
"kleur": {
"version": "3.0.3",
"resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz",
- "integrity": "sha1-p5yezIbuHOP6YgbRIWxQHxR/wH4="
+ "integrity": "sha512-eTIzlVOSUR+JxdDFepEYcBMtZ9Qqdef+rnzWdRZuMbOywu5tO2w2N7rqjoANZ5k9vywhL6Br1VRjUIgTQx4E8w=="
},
"last-call-webpack-plugin": {
"version": "3.0.0",
@@ -20889,7 +20889,7 @@
"leven": {
"version": "3.1.0",
"resolved": "https://registry.npmjs.org/leven/-/leven-3.1.0.tgz",
- "integrity": "sha1-d4kd6DQGTMy6gq54QrtrFKE+1/I="
+ "integrity": "sha512-qsda+H8jTaUaN/x5vzW2rzc+8Rw4TAQ/4KjB46IwK5VH+IlVeeeje/EoZRpiXvIqjFgK84QffqPztGI3VBLG1A=="
},
"levenary": {
"version": "1.1.1",
@@ -20927,7 +20927,7 @@
"load-bmfont": {
"version": "1.4.0",
"resolved": "https://registry.npmjs.org/load-bmfont/-/load-bmfont-1.4.0.tgz",
- "integrity": "sha1-dfFwcLFKjHhf5/W+4ub9T5gJO2s=",
+ "integrity": "sha512-kT63aTAlNhZARowaNYcY29Fn/QYkc52M3l6V1ifRcPewg2lvUZDAj7R6dXjOL9D0sict76op3T5+odumDSF81g==",
"requires": {
"buffer-equal": "0.0.1",
"mime": "^1.3.4",
@@ -20942,7 +20942,7 @@
"mime": {
"version": "1.6.0",
"resolved": "https://registry.npmjs.org/mime/-/mime-1.6.0.tgz",
- "integrity": "sha1-Ms2eXGRVO9WNGaVor0Uqz/BJgbE="
+ "integrity": "sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg=="
}
}
},
@@ -21064,7 +21064,7 @@
"locate-path": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/locate-path/-/locate-path-3.0.0.tgz",
- "integrity": "sha1-2+w7OrdZdYBxtY/ln8QYca8hQA4=",
+ "integrity": "sha512-7AO748wWnIhNqAuaty2ZWHkQHRSNfPVIsPIfwEOWO22AmaoVrWavlOcMR5nzTLNYvp36X220/maaRsrec1G65A==",
"requires": {
"p-locate": "^3.0.0",
"path-exists": "^3.0.0"
@@ -21081,7 +21081,7 @@
"lodash": {
"version": "4.17.15",
"resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.15.tgz",
- "integrity": "sha1-tEf2ZwoEVbv+7dETku/zMOoJdUg="
+ "integrity": "sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A=="
},
"lodash._reinterpolate": {
"version": "3.0.0",
@@ -21261,7 +21261,7 @@
"loose-envify": {
"version": "1.4.0",
"resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz",
- "integrity": "sha1-ce5R+nvkyuwaY4OffmgtgTLTDK8=",
+ "integrity": "sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==",
"requires": {
"js-tokens": "^3.0.0 || ^4.0.0"
}
@@ -21278,7 +21278,7 @@
"lowercase-keys": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/lowercase-keys/-/lowercase-keys-1.0.1.tgz",
- "integrity": "sha1-b54wtHCE2XGnyCD/FabFFnt0wm8="
+ "integrity": "sha512-G2Lj61tXDnVFFOi8VZds+SoQjtQC3dgokKdDG2mTm1tx4m50NUHBOZSBwQQHyy0V12A0JTG4icfZQH+xPyh8VA=="
},
"lpad-align": {
"version": "1.1.2",
@@ -21405,7 +21405,7 @@
"md5-file": {
"version": "3.2.3",
"resolved": "https://registry.npmjs.org/md5-file/-/md5-file-3.2.3.tgz",
- "integrity": "sha1-+bzrlB7KIhSkwHJ/XnADFOdw8G8=",
+ "integrity": "sha512-3Tkp1piAHaworfcCgH0jKbTvj1jWWFgbvh2cXaNCgHwyTCBxxvD1Y04rmfpvdPm1P4oXMOpm6+2H7sr7v9v8Fw==",
"requires": {
"buffer-alloc": "^1.1.0"
}
@@ -21691,7 +21691,7 @@
"merge-stream": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/merge-stream/-/merge-stream-2.0.0.tgz",
- "integrity": "sha1-UoI2KaFN0AyXcPtq1H3GMQ8sH2A="
+ "integrity": "sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w=="
},
"merge2": {
"version": "1.3.0",
@@ -21711,7 +21711,7 @@
"micromatch": {
"version": "3.1.10",
"resolved": "https://registry.npmjs.org/micromatch/-/micromatch-3.1.10.tgz",
- "integrity": "sha1-cIWbyVyYQJUvNZoGij/En57PrCM=",
+ "integrity": "sha512-MWikgl9n9M3w+bpsY3He8L+w9eF9338xRl8IAO5viDizwSzziFEyUzo2xrrloB64ADbTf8uA8vRqqttDTOmccg==",
"requires": {
"arr-diff": "^4.0.0",
"array-unique": "^0.3.2",
@@ -21835,7 +21835,7 @@
"mime": {
"version": "2.4.4",
"resolved": "https://registry.npmjs.org/mime/-/mime-2.4.4.tgz",
- "integrity": "sha1-vXuRE1/GsBzePpuuM9ZZtj2IV+U="
+ "integrity": "sha512-LRxmNwziLPT828z+4YkNzloCFC2YM4wrB99k+AV5ZbEyfGNWfG8SO1FUXLmLDBSo89NrJZ4DIWeLjy1CHGhMGA=="
},
"mime-db": {
"version": "1.40.0",
@@ -21865,7 +21865,7 @@
"mimic-response": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/mimic-response/-/mimic-response-1.0.1.tgz",
- "integrity": "sha1-SSNTiHju9CBjy4o+OweYeBSHqxs="
+ "integrity": "sha512-j5EctnkH7amfV/q5Hgmoal1g2QHFJRraOtmx0JpIqkxhBhI/lJSl1nMpQ45hVarwNETOoWEimndZ4QK0RHxuxQ=="
},
"min-document": {
"version": "2.19.0",
@@ -21944,7 +21944,7 @@
"minimatch": {
"version": "3.0.4",
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz",
- "integrity": "sha1-UWbihkV/AzBgZL5Ul+jbsMPTIIM=",
+ "integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==",
"requires": {
"brace-expansion": "^1.1.7"
}
@@ -22002,7 +22002,7 @@
"mixin-deep": {
"version": "1.3.2",
"resolved": "https://registry.npmjs.org/mixin-deep/-/mixin-deep-1.3.2.tgz",
- "integrity": "sha1-ESC0PcNZp4Xc5ltVuC4lfM9HlWY=",
+ "integrity": "sha512-WRoDn//mXBiJ1H40rqa3vH0toePwSsGb45iInWlTySa+Uu4k3tYUSxa2v1KqAiLtvlrSzaExqS1gtk96A9zvEA==",
"requires": {
"for-in": "^1.0.2",
"is-extendable": "^1.0.1"
@@ -22011,7 +22011,7 @@
"is-extendable": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-1.0.1.tgz",
- "integrity": "sha1-p0cPnkJnM9gb2B4RVSZOOjUHyrQ=",
+ "integrity": "sha512-arnXMxT1hhoKo9k1LZdmlNyJdDDfy2v0fXjFlmok4+i8ul/6WlbVge9bhM74OpNPQPMGUToDtz+KXa1PneJxOA==",
"requires": {
"is-plain-object": "^2.0.4"
}
@@ -22113,7 +22113,7 @@
"nanomatch": {
"version": "1.2.13",
"resolved": "https://registry.npmjs.org/nanomatch/-/nanomatch-1.2.13.tgz",
- "integrity": "sha1-uHqKpPwN6P5r6IiVs4mD/yZb0Rk=",
+ "integrity": "sha512-fpoe2T0RbHwBTBUOftAfBPaDEi06ufaUai0mE6Yn1kacc3SnTErfb/h+X94VXzI64rKFHYImXSvdwGGCmwOqCA==",
"requires": {
"arr-diff": "^4.0.0",
"array-unique": "^0.3.2",
@@ -22189,7 +22189,7 @@
"nice-try": {
"version": "1.0.5",
"resolved": "https://registry.npmjs.org/nice-try/-/nice-try-1.0.5.tgz",
- "integrity": "sha1-ozeKdpbOfSI+iPybdkvX7xCJ42Y="
+ "integrity": "sha512-1nh45deeb5olNY7eX82BkPO7SSxR5SSYJiPTrTdFUVYwAl8CKMA5N9PjTYkHiRjisVcxcQ1HXdLhx2qxxJzLNQ=="
},
"nlcst-to-string": {
"version": "2.0.4",
@@ -22317,7 +22317,7 @@
"node-object-hash": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/node-object-hash/-/node-object-hash-2.0.0.tgz",
- "integrity": "sha1-mXH8230lTwUBa9nM9Qg1K+4REWs="
+ "integrity": "sha512-VZR0zroAusy1ETZMZiGeLkdu50LGjG5U1KHZqTruqtTyQ2wfWhHG2Ow4nsUbfTFGlaREgNHcCWoM/OzEm6p+NQ=="
},
"node-releases": {
"version": "1.1.53",
@@ -22364,7 +22364,7 @@
"normalize-package-data": {
"version": "2.5.0",
"resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.5.0.tgz",
- "integrity": "sha1-5m2xg4sgDB38IzIl0SyzZSDiNKg=",
+ "integrity": "sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==",
"requires": {
"hosted-git-info": "^2.1.4",
"resolve": "^1.10.0",
@@ -22425,7 +22425,7 @@
"nth-check": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/nth-check/-/nth-check-1.0.2.tgz",
- "integrity": "sha1-sr0pXDfj3VijvwcAN2Zjuk2c8Fw=",
+ "integrity": "sha512-WeBOdju8SnzPN5vTUJYxYUxLeXpCaVP5i5e0LF8fg7WORF2Wd7wFX/pk0tYZk7s8T+J7VLy0Da6J1+wCT0AtHg==",
"requires": {
"boolbase": "~1.0.0"
}
@@ -22470,7 +22470,7 @@
"oauth-sign": {
"version": "0.9.0",
"resolved": "https://registry.npmjs.org/oauth-sign/-/oauth-sign-0.9.0.tgz",
- "integrity": "sha1-R6ewFrqmi1+g7PPe4IqFxnmsZFU="
+ "integrity": "sha512-fexhUFFPTGV8ybAtSIGbV6gOkSv8UtRbDBnAyLQw4QPKkgNlsH2ByPGtMUqdWkos6YCRmAqViwgZrJc/mRDzZQ=="
},
"object-assign": {
"version": "4.1.1",
@@ -22510,7 +22510,7 @@
"object-inspect": {
"version": "1.7.0",
"resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.7.0.tgz",
- "integrity": "sha1-9Pa9GBrXfwBrXs5gvQtvOY/3Smc="
+ "integrity": "sha512-a7pEHdh1xKIAgTySUGgLMx/xwDZskN1Ud6egYYN3EdRW4ZMPNEDUTF+hwy2LUC+Bl+SyLXANnwz/jyh/qutKUw=="
},
"object-is": {
"version": "1.1.2",
@@ -22595,7 +22595,7 @@
"object.assign": {
"version": "4.1.0",
"resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.0.tgz",
- "integrity": "sha1-lovxEA15Vrs8oIbwBvhGs7xACNo=",
+ "integrity": "sha512-exHJeq6kBKj58mqGyTQ9DFvrZC/eR6OwxzoM9YRoGBqrXYonaFyGiFMuc9VZrXf7DarreEwMpurG3dd+CNyW5w==",
"requires": {
"define-properties": "^1.1.2",
"function-bind": "^1.1.1",
@@ -22818,7 +22818,7 @@
"omggif": {
"version": "1.0.10",
"resolved": "https://registry.npmjs.org/omggif/-/omggif-1.0.10.tgz",
- "integrity": "sha1-3ar5DUpC9TLp58s6lezdR/F8exk="
+ "integrity": "sha512-LMJTtvgc/nugXj0Vcrrs68Mn2D1r0zf630VNtqtpI1FEO7e+O9FP4gqs9AcnBaSEeoHIPm28u6qgPR0oyEpGSw=="
},
"on-finished": {
"version": "2.3.0",
@@ -22987,7 +22987,7 @@
"p-locate": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/p-locate/-/p-locate-3.0.0.tgz",
- "integrity": "sha1-Mi1poFwCZLJZl9n0DNiokasAZKQ=",
+ "integrity": "sha512-x+12w/To+4GFfgJhBEpiDcLozRJGegY+Ei7/z0tSLkMmxGZNybVMSfWj9aJn8Z5Fc7dBUNJOOVgPv2H7IwulSQ==",
"requires": {
"p-limit": "^2.0.0"
}
@@ -23037,7 +23037,7 @@
"p-try": {
"version": "2.2.0",
"resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz",
- "integrity": "sha1-yyhoVA4xPWHeWPr741zpAE1VQOY="
+ "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ=="
},
"package-json": {
"version": "6.5.0",
@@ -23101,7 +23101,7 @@
"parent-module": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz",
- "integrity": "sha1-aR0nCeeMefrjoVZiJFLQB2LKqqI=",
+ "integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==",
"requires": {
"callsites": "^3.0.0"
}
@@ -23132,7 +23132,7 @@
"parse-bmfont-xml": {
"version": "1.1.4",
"resolved": "https://registry.npmjs.org/parse-bmfont-xml/-/parse-bmfont-xml-1.1.4.tgz",
- "integrity": "sha1-AVMZeX4+EvnnOcTVE4cs0vo184k=",
+ "integrity": "sha512-bjnliEOmGv3y1aMEfREMBJ9tfL3WR0i0CKPj61DnSLaoxWR3nLrsQrEbCId/8rF4NyRF0cCqisSVXyQYWM+mCQ==",
"requires": {
"xml-parse-from-string": "^1.0.0",
"xml2js": "^0.4.5"
@@ -23296,7 +23296,7 @@
"path-parse": {
"version": "1.0.6",
"resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.6.tgz",
- "integrity": "sha1-1i27VnlAXXLEc37FhgDp3c8G0kw="
+ "integrity": "sha512-GSmOT2EbHrINBf9SR7CDELwlJ8AENk3Qn7OikK4nFYAu3Ote2+JYNVvkpAEQm3/TLNEJFD/xZJjzyxg3KBWOzw=="
},
"path-to-regexp": {
"version": "0.1.7",
@@ -23336,7 +23336,7 @@
"phin": {
"version": "2.9.3",
"resolved": "https://registry.npmjs.org/phin/-/phin-2.9.3.tgz",
- "integrity": "sha1-+basEKA1Y2+2XfxXaqqhe4dDElw="
+ "integrity": "sha512-CzFr90qM24ju5f88quFC/6qohjC144rehe5n6DH900lgXmUe86+xCKc10ev56gRKC4/BkHUoG4uSiQgBiIXwDA=="
},
"physical-cpu-count": {
"version": "2.0.0",
@@ -23466,7 +23466,7 @@
"pngjs": {
"version": "3.4.0",
"resolved": "https://registry.npmjs.org/pngjs/-/pngjs-3.4.0.tgz",
- "integrity": "sha1-mcp9clll+2VYFOr2XzjxK72/VV8="
+ "integrity": "sha512-NCrCHhWmnQklfH4MtJMRjZ2a8c80qXeMlQMv2uVp9ISJMTt562SbGd6n2oq0PaPgKm7Z6pL9E2UlLIhC+SHL3w=="
},
"pngquant-bin": {
"version": "5.0.2",
@@ -24284,12 +24284,12 @@
"process-nextick-args": {
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.1.tgz",
- "integrity": "sha1-eCDZsWEgzFXKmud5JoCufbptf+I="
+ "integrity": "sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag=="
},
"progress": {
"version": "2.0.3",
"resolved": "https://registry.npmjs.org/progress/-/progress-2.0.3.tgz",
- "integrity": "sha1-foz42PW48jnBvGi+tOt4Vn1XLvg="
+ "integrity": "sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA=="
},
"promise-inflight": {
"version": "1.0.1",
@@ -24308,7 +24308,7 @@
"prop-types": {
"version": "15.7.2",
"resolved": "https://registry.npmjs.org/prop-types/-/prop-types-15.7.2.tgz",
- "integrity": "sha1-UsQedbjIfnK52TYOAga5ncv/psU=",
+ "integrity": "sha512-8QQikdH7//R2vurIJSutZ1smHYTcLpRWEOlHnzcWHmBYrOGUysKwSsrC89BCiFj3CbrfJ/nXFdJepOVrY1GCHQ==",
"requires": {
"loose-envify": "^1.4.0",
"object-assign": "^4.1.1",
@@ -24373,7 +24373,7 @@
"pump": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/pump/-/pump-3.0.0.tgz",
- "integrity": "sha1-tKIRaBW94vTh6mAjVOjHVWUQemQ=",
+ "integrity": "sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==",
"requires": {
"end-of-stream": "^1.1.0",
"once": "^1.3.1"
@@ -24403,7 +24403,7 @@
"punycode": {
"version": "2.1.1",
"resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz",
- "integrity": "sha1-tYsBCsQMIsVldhbI0sLALHv0eew="
+ "integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A=="
},
"q": {
"version": "1.5.1",
@@ -24501,7 +24501,7 @@
"rc": {
"version": "1.2.8",
"resolved": "https://registry.npmjs.org/rc/-/rc-1.2.8.tgz",
- "integrity": "sha1-zZJL9SAKB1uDwYjNa54hG3/A0+0=",
+ "integrity": "sha512-y3bGgqKj3QBdxLbLkomlohkvsA8gdAiUQlSBJnBhfn+BPxg4bc62d8TcBW15wavDfgexCgccckhcZvywyQYPOw==",
"requires": {
"deep-extend": "^0.6.0",
"ini": "~1.3.0",
@@ -24827,7 +24827,7 @@
"react-emotion": {
"version": "10.0.0",
"resolved": "https://registry.npmjs.org/react-emotion/-/react-emotion-10.0.0.tgz",
- "integrity": "sha1-A631qT+dxBOWQBVRVmrflmiiQY4="
+ "integrity": "sha512-HMEH1I0m4AxJzG31ii/g227WhR0RBlRdr2M4C0n7yg9s3SiAPGB7lxvc/EoE8ixU9PLeOlBOb/n0wo42tGu99Q=="
},
"react-error-overlay": {
"version": "3.0.0",
@@ -24837,12 +24837,12 @@
"react-fast-compare": {
"version": "2.0.4",
"resolved": "https://registry.npmjs.org/react-fast-compare/-/react-fast-compare-2.0.4.tgz",
- "integrity": "sha1-6EtNRVsP7BE+BALDKTUnFRlvgfk="
+ "integrity": "sha512-suNP+J1VU1MWFKcyt7RtjiSWUjvidmQSlqu+eHslq+342xCbGTYmC0mEhPCOHxlW0CywylOC1u2DFAT+bv4dBw=="
},
"react-helmet": {
"version": "5.2.1",
"resolved": "https://registry.npmjs.org/react-helmet/-/react-helmet-5.2.1.tgz",
- "integrity": "sha1-FqcZL90JlR+OD+Iv/Mv5uz5ZH/o=",
+ "integrity": "sha512-CnwD822LU8NDBnjCpZ4ySh8L6HYyngViTZLfBBb3NjtrpN8m49clH8hidHouq20I51Y6TpCTISCBbqiY5GamwA==",
"requires": {
"object-assign": "^4.1.1",
"prop-types": "^15.5.4",
@@ -25119,7 +25119,7 @@
"regenerate": {
"version": "1.4.0",
"resolved": "https://registry.npmjs.org/regenerate/-/regenerate-1.4.0.tgz",
- "integrity": "sha1-SoVuxLVuQHfFV1icroXnpMiGmhE="
+ "integrity": "sha512-1G6jJVDWrt0rK99kBjvEtziZNCICAuvIPkSiUFIQxVP06RCVpq3dmDo2oi6ABpYaDYaTRr67BEhL8r1wgEZZKg=="
},
"regenerate-unicode-properties": {
"version": "8.2.0",
@@ -25161,7 +25161,7 @@
"regex-not": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/regex-not/-/regex-not-1.0.2.tgz",
- "integrity": "sha1-H07OJ+ALC2XgJHpoEOaoXYOldSw=",
+ "integrity": "sha512-J6SDjUgDxQj5NusnOtdFxDwN/+HWykR8GELwctJ7mdqhcyy1xEc4SRFHUXvxTp661YaVKAjfRLZ9cCqS6tn32A==",
"requires": {
"extend-shallow": "^3.0.2",
"safe-regex": "^1.1.0"
@@ -25286,7 +25286,7 @@
"regjsgen": {
"version": "0.5.1",
"resolved": "https://registry.npmjs.org/regjsgen/-/regjsgen-0.5.1.tgz",
- "integrity": "sha1-SPC/Gl6iBRlpKcDZeYtC0e2YRDw="
+ "integrity": "sha512-5qxzGZjDs9w4tzT3TPhCJqWdCc3RLYwy9J2NB0nm5Lz+S273lvWcpjaTGHsT1dc6Hhfq41uSEOw8wBmxrKOuyg=="
},
"regjsparser": {
"version": "0.6.4",
@@ -26383,7 +26383,7 @@
"repeat-element": {
"version": "1.1.3",
"resolved": "https://registry.npmjs.org/repeat-element/-/repeat-element-1.1.3.tgz",
- "integrity": "sha1-eC4NglwMWjuzlzH4Tv7mt0Lmsc4="
+ "integrity": "sha512-ahGq0ZnV5m5XtZLMb+vP76kcAM5nkLqk0lpqAuojSKGgQtn4eRi4ZZGm2olo2zKFH+sMsWaqOCW1dqAnOru72g=="
},
"repeat-string": {
"version": "1.6.1",
@@ -26499,7 +26499,7 @@
"require-main-filename": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/require-main-filename/-/require-main-filename-2.0.0.tgz",
- "integrity": "sha1-0LMp7MfMD2Fkn2IhW+aa9UqomJs="
+ "integrity": "sha512-NKN5kMDylKuldxYLSUfrbo5Tuzh4hd+2E8NPPX02mZtn1VuREQToYe/ZdlJy+J3uCpfaiGF05e7B8W0iXbQHmg=="
},
"requires-port": {
"version": "1.0.0",
@@ -26594,7 +26594,7 @@
"ret": {
"version": "0.1.15",
"resolved": "https://registry.npmjs.org/ret/-/ret-0.1.15.tgz",
- "integrity": "sha1-uKSCXVvbH8P29Twrwz+BOIaBx7w="
+ "integrity": "sha512-TTlYpa+OL+vMMNG24xSlQGEJ3B/RzEfUlLct7b5G/ytav+wPrplCpVMFuwzXbkecJrb6IYo1iFb0S9v37754mg=="
},
"retext-english": {
"version": "3.0.4",
@@ -26712,7 +26712,7 @@
"safer-buffer": {
"version": "2.1.2",
"resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz",
- "integrity": "sha1-RPoWGwGHuVSd2Eu5GAL5vYOFzWo="
+ "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg=="
},
"sane": {
"version": "4.1.0",
@@ -26802,7 +26802,7 @@
"sax": {
"version": "1.2.4",
"resolved": "https://registry.npmjs.org/sax/-/sax-1.2.4.tgz",
- "integrity": "sha1-KBYjTiN4vdxOU1T6tcqold9xANk="
+ "integrity": "sha512-NqVDv9TpANUjFm0N8uM5GxL36UgKi9/atZw+x7YFnQ8ckwFGKrl4xX4yWtrey3UJm5nP1kUbnYgLopqWNSRhWw=="
},
"saxes": {
"version": "3.1.11",
@@ -26908,7 +26908,7 @@
"semver": {
"version": "5.7.1",
"resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz",
- "integrity": "sha1-qVT5Ma66UI0we78Gnv8MAclhFvc="
+ "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ=="
},
"semver-compare": {
"version": "1.0.0",
@@ -27053,7 +27053,7 @@
"set-value": {
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/set-value/-/set-value-2.0.1.tgz",
- "integrity": "sha1-oY1AUw5vB95CKMfe/kInr4ytAFs=",
+ "integrity": "sha512-JxHc1weCN68wRY0fhCoXpyK55m/XPHafOmK4UWD7m2CI14GMcFypt4w/0+NV5f/ZMby2F6S2wwA7fgynh9gWSw==",
"requires": {
"extend-shallow": "^2.0.1",
"is-extendable": "^0.1.1",
@@ -27088,7 +27088,7 @@
"shallowequal": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/shallowequal/-/shallowequal-1.1.0.tgz",
- "integrity": "sha1-GI1SHelbkIdAT9TctosT3wrk5/g="
+ "integrity": "sha512-y0m1JoUZSlPAjXVtPPW70aZWfIL/dSP7AFkRnniLCrK/8MDKog3TySTBmckD+RObVxH0v4Tox67+F14PdED2oQ=="
},
"sharp": {
"version": "0.25.2",
@@ -27365,7 +27365,7 @@
"snapdragon": {
"version": "0.8.2",
"resolved": "https://registry.npmjs.org/snapdragon/-/snapdragon-0.8.2.tgz",
- "integrity": "sha1-ZJIufFZbDhQgS6GqfWlkJ40lGC0=",
+ "integrity": "sha512-FtyOnWN/wCHTVXOMwvSv26d+ko5vWlIDD6zoUJ7LW8vh+ZBC8QdljveRP+crNrtBwioEUWy/4dMtbBjA4ioNlg==",
"requires": {
"base": "^0.11.1",
"debug": "^2.2.0",
@@ -27380,7 +27380,7 @@
"debug": {
"version": "2.6.9",
"resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz",
- "integrity": "sha1-XRKFFd8TT/Mn6QpMk/Tgd6U2NB8=",
+ "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==",
"requires": {
"ms": "2.0.0"
}
@@ -27395,7 +27395,7 @@
"snapdragon-node": {
"version": "2.1.1",
"resolved": "https://registry.npmjs.org/snapdragon-node/-/snapdragon-node-2.1.1.tgz",
- "integrity": "sha1-bBdfhv8UvbByRWPo88GwIaKGhTs=",
+ "integrity": "sha512-O27l4xaMYt/RSQ5TR3vpWCAB5Kb/czIcqUFOM/C4fYcLnbZUc1PkjTAMjof2pBWaSTwOUd6qUHcFGVGj7aIwnw==",
"requires": {
"define-property": "^1.0.0",
"isobject": "^3.0.0",
@@ -27415,7 +27415,7 @@
"snapdragon-util": {
"version": "3.0.1",
"resolved": "https://registry.npmjs.org/snapdragon-util/-/snapdragon-util-3.0.1.tgz",
- "integrity": "sha1-+VZHlIbyrNeXAGk/b3uAXkWrVuI=",
+ "integrity": "sha512-mbKkMdQKsjX4BAL4bRYTj21edOf8cN7XHdYUJEe+Zn99hVEYcMvKPct1IqNe7+AZPirn8BCDOQBHQZknqmKlZQ==",
"requires": {
"kind-of": "^3.2.0"
},
@@ -27635,7 +27635,7 @@
"spdx-correct": {
"version": "3.1.0",
"resolved": "https://registry.npmjs.org/spdx-correct/-/spdx-correct-3.1.0.tgz",
- "integrity": "sha1-+4PlBERSaPFUsHTiGMh8ADzTHfQ=",
+ "integrity": "sha512-lr2EZCctC2BNR7j7WzJ2FpDznxky1sjfxvvYEyzxNyb6lZXHODmEoJeFu4JupYlkfha1KZpJyoqiJ7pgA1qq8Q==",
"requires": {
"spdx-expression-parse": "^3.0.0",
"spdx-license-ids": "^3.0.0"
@@ -27649,7 +27649,7 @@
"spdx-expression-parse": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/spdx-expression-parse/-/spdx-expression-parse-3.0.0.tgz",
- "integrity": "sha1-meEZt6XaAOBUkcn6M4t5BII7QdA=",
+ "integrity": "sha512-Yg6D3XpRD4kkOmTpdgbUiEJFKghJH03fiC1OPll5h/0sO6neh2jqRDVHOQ4o/LMea0tgCkbMgea5ip/e+MkWyg==",
"requires": {
"spdx-exceptions": "^2.1.0",
"spdx-license-ids": "^3.0.0"
@@ -27658,7 +27658,7 @@
"spdx-license-ids": {
"version": "3.0.5",
"resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.5.tgz",
- "integrity": "sha1-NpS1gEVnpFjTyARYQqY1hjL2JlQ="
+ "integrity": "sha512-J+FWzZoynJEXGphVIS+XEh3kFSjZX/1i9gFBaWQcB+/tmpe2qUsSBABpcxqxnAxFdiUFEgAX1bjYGQvIZmoz9Q=="
},
"spdy": {
"version": "4.0.2",
@@ -27705,7 +27705,7 @@
"split-string": {
"version": "3.1.0",
"resolved": "https://registry.npmjs.org/split-string/-/split-string-3.1.0.tgz",
- "integrity": "sha1-fLCd2jqGWFcFxks5pkZgOGguj+I=",
+ "integrity": "sha512-NzNVhJDYpwceVVii8/Hu6DKfD2G+NrQHlS/V/qgv763EYudVwEcMQNxd2lh+0VrUByXN/oJkl5grOhYWvQUYiw==",
"requires": {
"extend-shallow": "^3.0.0"
},
@@ -27798,7 +27798,7 @@
"sshpk": {
"version": "1.16.1",
"resolved": "https://registry.npmjs.org/sshpk/-/sshpk-1.16.1.tgz",
- "integrity": "sha1-+2YcC+8ps520B2nuOfpwCT1vaHc=",
+ "integrity": "sha512-HXXqVUq7+pcKeLqqZj6mHFUMvXtOJt1uoUx09pFW6011inTMxqI8BA8PM95myrIyyKwdnzjdFjLiE6KBPVtJIg==",
"requires": {
"asn1": "~0.2.3",
"assert-plus": "^1.0.0",
@@ -27832,7 +27832,7 @@
"stack-utils": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/stack-utils/-/stack-utils-1.0.2.tgz",
- "integrity": "sha1-M+ujiXeIVYvr/C2wWdwVjsNs67g="
+ "integrity": "sha512-MTX+MeG5U994cazkjd/9KNAapsHnibjMLnfXodlkXw76JEea0UiNzrqidzo1emMwk7w5Qhc9jd4Bn9TBb1MFwA=="
},
"stackframe": {
"version": "1.1.1",
@@ -27885,7 +27885,7 @@
"stream-events": {
"version": "1.0.5",
"resolved": "https://registry.npmjs.org/stream-events/-/stream-events-1.0.5.tgz",
- "integrity": "sha1-u8iY7E3zOkkC2JIzPUfam/HEBtU=",
+ "integrity": "sha512-E1GUzBSgvct8Jsb3v2X15pjzN1tYebtbLaMg+eBOUOAxgbLoSbT2NS91ckc5lJD1KfLjId+jXJRgo0qnV5Nerg==",
"dev": true,
"requires": {
"stubs": "^3.0.0"
@@ -28543,7 +28543,7 @@
"teeny-request": {
"version": "6.0.1",
"resolved": "https://registry.npmjs.org/teeny-request/-/teeny-request-6.0.1.tgz",
- "integrity": "sha1-mx9RLO8VKUWCe6fjT2JSOkzixbA=",
+ "integrity": "sha512-TAK0c9a00ELOqLrZ49cFxvPVogMUFaWY8dUsQc/0CuQPGF+BOxOQzXfE413BAk2kLomwNplvdtMpeaeGWmoc2g==",
"dev": true,
"requires": {
"http-proxy-agent": "^4.0.0",
@@ -28702,7 +28702,7 @@
"timm": {
"version": "1.6.2",
"resolved": "https://registry.npmjs.org/timm/-/timm-1.6.2.tgz",
- "integrity": "sha1-39jGcZ97ofz8YpWjJnChxtFmwL0="
+ "integrity": "sha512-IH3DYDL1wMUwmIlVmMrmesw5lZD6N+ZOAFWEyLrtpoL9Bcrs9u7M/vyOnHzDD2SMs4irLkVjqxZbHrXStS/Nmw=="
},
"timsort": {
"version": "0.3.0",
@@ -28780,7 +28780,7 @@
"to-regex": {
"version": "3.0.2",
"resolved": "https://registry.npmjs.org/to-regex/-/to-regex-3.0.2.tgz",
- "integrity": "sha1-E8/dmzNlUvMLUfM6iuG0Knp1mc4=",
+ "integrity": "sha512-FWtleNAtZ/Ki2qtqej2CXTOayOH9bHDQF+Q48VpWyDXjbYxA4Yz8iDB31zXOBUlOHHKidDbqGVrTUvQMPmBGBw==",
"requires": {
"define-property": "^2.0.2",
"extend-shallow": "^3.0.2",
@@ -29069,12 +29069,12 @@
"unicode-canonical-property-names-ecmascript": {
"version": "1.0.4",
"resolved": "https://registry.npmjs.org/unicode-canonical-property-names-ecmascript/-/unicode-canonical-property-names-ecmascript-1.0.4.tgz",
- "integrity": "sha1-JhmADEyCWADv3YNDr33Zkzy+KBg="
+ "integrity": "sha512-jDrNnXWHd4oHiTZnx/ZG7gtUTVp+gCcTTKr8L0HjlwphROEW3+Him+IpvC+xcJEFegapiMZyZe02CyuOnRmbnQ=="
},
"unicode-match-property-ecmascript": {
"version": "1.0.4",
"resolved": "https://registry.npmjs.org/unicode-match-property-ecmascript/-/unicode-match-property-ecmascript-1.0.4.tgz",
- "integrity": "sha1-jtKjJWmWG86SJ9Cc0/+7j+1fAgw=",
+ "integrity": "sha512-L4Qoh15vTfntsn4P1zqnHulG0LdXgjSO035fEpdtp6YxXhMT51Q6vgM5lYdG/5X3MjS+k/Y9Xw4SFCY9IkR0rg==",
"requires": {
"unicode-canonical-property-names-ecmascript": "^1.0.4",
"unicode-property-aliases-ecmascript": "^1.0.4"
@@ -29265,7 +29265,7 @@
"union-value": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/union-value/-/union-value-1.0.1.tgz",
- "integrity": "sha1-C2/nuDWuzaYcbqTU8CwUIh4QmEc=",
+ "integrity": "sha512-tJfXmxMeWYnczCVs7XAEvIV7ieppALdyepWMkHkwciRpZraG/xwT+s2JN8+pr1+8jCRf80FFzvr+MpQeeoF4Xg==",
"requires": {
"arr-union": "^3.1.0",
"get-value": "^2.0.6",
@@ -29383,7 +29383,7 @@
"debug": {
"version": "2.6.9",
"resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz",
- "integrity": "sha1-XRKFFd8TT/Mn6QpMk/Tgd6U2NB8=",
+ "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==",
"requires": {
"ms": "2.0.0"
}
@@ -29429,7 +29429,7 @@
"universalify": {
"version": "0.1.2",
"resolved": "https://registry.npmjs.org/universalify/-/universalify-0.1.2.tgz",
- "integrity": "sha1-tkb2m+OULavOzJ1mOcgNwQXvqmY="
+ "integrity": "sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg=="
},
"unpipe": {
"version": "1.0.0",
@@ -29661,7 +29661,7 @@
"uri-js": {
"version": "4.2.2",
"resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.2.2.tgz",
- "integrity": "sha1-lMVA4f93KVbiKZUHwBCupsiDjrA=",
+ "integrity": "sha512-KY9Frmirql91X2Qgjry0Wd4Y+YTdrdZheS8TFwvkbLWf/G5KNJDCh6pKL5OZctEW4+0Baa5idK2ZQuELRwPznQ==",
"requires": {
"punycode": "^2.1.0"
}
@@ -29761,12 +29761,12 @@
"use": {
"version": "3.1.1",
"resolved": "https://registry.npmjs.org/use/-/use-3.1.1.tgz",
- "integrity": "sha1-1QyMrHmhn7wg8pEfVuuXP04QBw8="
+ "integrity": "sha512-cwESVXlO3url9YWlFW/TA9cshCEhtu7IKJ/p5soJ/gGpj7vbvFrAY/eIioQ6Dw23KjZhYgiIo8HOs1nQ2vr/oQ=="
},
"utif": {
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/utif/-/utif-2.0.1.tgz",
- "integrity": "sha1-nhWC2bvSABGmWIVI7TJmKY5xF1k=",
+ "integrity": "sha512-Z/S1fNKCicQTf375lIP9G8Sa1H/phcysstNrrSdZKj1f9g58J4NMgb5IgiEZN9/nLMPDwF0W7hdOe9Qq2IYoLg==",
"requires": {
"pako": "^1.0.5"
}
@@ -29847,7 +29847,7 @@
"validate-npm-package-license": {
"version": "3.0.4",
"resolved": "https://registry.npmjs.org/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz",
- "integrity": "sha1-/JH2uce6FchX9MssXe/uw51PQQo=",
+ "integrity": "sha512-DpKm2Ui/xN7/HQKCtpZxoRWBhZ9Z0kqtygG8XCgNQ8ZlDnxuQmWhj566j8fN4Cu3/JmbhsDo7fcAJq4s9h27Ew==",
"requires": {
"spdx-correct": "^3.0.0",
"spdx-expression-parse": "^3.0.0"
@@ -30622,7 +30622,7 @@
"which": {
"version": "1.3.1",
"resolved": "https://registry.npmjs.org/which/-/which-1.3.1.tgz",
- "integrity": "sha1-pFBD1U9YBTFtqNYvn1CRjT2nCwo=",
+ "integrity": "sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==",
"requires": {
"isexe": "^2.0.0"
}
@@ -30961,7 +30961,7 @@
"xhr": {
"version": "2.5.0",
"resolved": "https://registry.npmjs.org/xhr/-/xhr-2.5.0.tgz",
- "integrity": "sha1-vtjRZ21co2EIZnaSt0sxbEluSd0=",
+ "integrity": "sha512-4nlO/14t3BNUZRXIXfXe+3N6w3s1KoxcJUUURctd64BLRe67E4gRwp4PjywtDY72fXpZ1y6Ch0VZQRY/gMPzzQ==",
"requires": {
"global": "~4.3.0",
"is-function": "^1.0.1",
@@ -31042,7 +31042,7 @@
"y18n": {
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/y18n/-/y18n-4.0.0.tgz",
- "integrity": "sha1-le+U+F7MgdAHwmThkKEg8KPIVms="
+ "integrity": "sha512-r9S/ZyXu/Xu9q1tYlpsLIsa3EeLXXk0VwlxqTcFRfg9EhMW+17kbt9G0NrgCmhGb5vT2hyhJZLfDGx+7+5Uj/w=="
},
"yallist": {
"version": "2.1.2",
diff --git a/src/components/pagination.tsx b/src/components/pagination.tsx
index dfd1db60d0..aa75c07427 100644
--- a/src/components/pagination.tsx
+++ b/src/components/pagination.tsx
@@ -34,14 +34,14 @@ const Pagination = ({ previous, next }: Props): JSX.Element => (
{previous && previous.title && (
-
+
← Prev
)}
{next && next.title && (
-
+
Next →
)}
diff --git a/test/components/__snapshots__/pagination.test.tsx.snap b/test/components/__snapshots__/pagination.test.tsx.snap
index c4507383bf..414aa70bd1 100644
--- a/test/components/__snapshots__/pagination.test.tsx.snap
+++ b/test/components/__snapshots__/pagination.test.tsx.snap
@@ -39,7 +39,7 @@ exports[`Pagination component only renders links to pages that has a title 1`] =
",
}
}
- href="/test-slug"
+ href="/learn/test-slug"
rel="prev"
>
← Prev
@@ -88,7 +88,7 @@ exports[`Pagination component renders correctly when there is no next page 1`] =
",
}
}
- href="/test-slug"
+ href="/learn/test-slug"
rel="prev"
>
← Prev
@@ -138,7 +138,7 @@ exports[`Pagination component renders correctly when there is no previous page 1
",
}
}
- href="/test-slug"
+ href="/learn/test-slug"
rel="next"
>
Next →
@@ -186,7 +186,7 @@ exports[`Pagination component renders links to the next and previous page 1`] =
",
}
}
- href="/test-slug"
+ href="/learn/test-slug"
rel="prev"
>
← Prev
@@ -214,7 +214,7 @@ exports[`Pagination component renders links to the next and previous page 1`] =
",
}
}
- href="/test-slug"
+ href="/learn/test-slug"
rel="next"
>
Next →
From ddee94ac2392bf44d24997387443277d5fbbabf2 Mon Sep 17 00:00:00 2001
From: Alexandr Tovmach
Date: Mon, 27 Apr 2020 02:37:46 +0300
Subject: [PATCH 38/40] patch/scss (#600)
* chore: Added SASS preprocessing; Replaced css with scss files
* chore: Optimized scss files; Added .scss files to prettify
---
gatsby-config.js | 1 +
package-lock.json | 519 ++++++++++++++++++++++++-
package.json | 6 +-
src/components/layout.tsx | 6 +-
src/pages/docs.tsx | 4 +-
src/pages/index.tsx | 2 +-
src/pages/style-guide.tsx | 2 +-
src/styles/article-reader.css | 84 ----
src/styles/article-reader.scss | 85 ++++
src/styles/{docs.css => docs.scss} | 150 ++++---
src/styles/{index.css => index.scss} | 147 ++++---
src/styles/{layout.css => layout.scss} | 208 +++++-----
src/styles/learn.css | 166 --------
src/styles/learn.scss | 173 +++++++++
src/styles/{mobile.css => mobile.scss} | 113 +++---
src/styles/tokens.css | 167 --------
src/styles/tokens.scss | 155 ++++++++
src/templates/learn.tsx | 4 +-
18 files changed, 1274 insertions(+), 718 deletions(-)
delete mode 100644 src/styles/article-reader.css
create mode 100644 src/styles/article-reader.scss
rename src/styles/{docs.css => docs.scss} (55%)
rename src/styles/{index.css => index.scss} (63%)
rename src/styles/{layout.css => layout.scss} (78%)
delete mode 100644 src/styles/learn.css
create mode 100644 src/styles/learn.scss
rename src/styles/{mobile.css => mobile.scss} (66%)
delete mode 100644 src/styles/tokens.css
create mode 100644 src/styles/tokens.scss
diff --git a/gatsby-config.js b/gatsby-config.js
index 00dc4a4f35..82516c2dfa 100644
--- a/gatsby-config.js
+++ b/gatsby-config.js
@@ -24,6 +24,7 @@ module.exports = {
},
},
'gatsby-plugin-sharp',
+ 'gatsby-plugin-sass',
{
resolve: 'gatsby-source-filesystem',
options: {
diff --git a/package-lock.json b/package-lock.json
index 1d2b4b5d06..8e576a17c1 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -5886,6 +5886,11 @@
"integrity": "sha512-tsFzPpcttalNjFBCFMqsKYQcWxxen1pgJR56by//QwvJc4/OUS3kPOOttx2tSIfjsylB0pYu7f5D3K1RCxUnUg==",
"dev": true
},
+ "abbrev": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/abbrev/-/abbrev-1.1.1.tgz",
+ "integrity": "sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q=="
+ },
"accepts": {
"version": "1.3.7",
"resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.7.tgz",
@@ -5977,6 +5982,11 @@
"resolved": "https://registry.npmjs.org/alphanum-sort/-/alphanum-sort-1.0.2.tgz",
"integrity": "sha1-l6ERlkmyEa0zaR2fn0hqjsn74KM="
},
+ "amdefine": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/amdefine/-/amdefine-1.0.1.tgz",
+ "integrity": "sha1-SlKCrBZHKek2Gbz9OtFR+BfOkfU="
+ },
"ansi-align": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/ansi-align/-/ansi-align-3.0.0.tgz",
@@ -6410,6 +6420,11 @@
"resolved": "https://registry.npmjs.org/async-each/-/async-each-1.0.3.tgz",
"integrity": "sha512-z/WhQ5FPySLdvREByI2vZiTWwCnF0moMJ1hK9YQwDTHKh6I7/uSckMetoRGb5UBZPC1z0jlw+n/XCgjeH7y1AQ=="
},
+ "async-foreach": {
+ "version": "0.1.3",
+ "resolved": "https://registry.npmjs.org/async-foreach/-/async-foreach-0.1.3.tgz",
+ "integrity": "sha1-NhIfhFwFeBct5Bmpfb6x0W7DRUI="
+ },
"async-limiter": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/async-limiter/-/async-limiter-1.0.1.tgz",
@@ -7458,6 +7473,14 @@
"resolved": "https://registry.npmjs.org/blob/-/blob-0.0.5.tgz",
"integrity": "sha512-gaqbzQPqOoamawKg0LGVd7SzLgXS+JH61oWprSLH+P+abTczqJbhTR8CmJ2u9/bUYNmHTGJx/UEmn6doAvvuig=="
},
+ "block-stream": {
+ "version": "0.0.9",
+ "resolved": "https://registry.npmjs.org/block-stream/-/block-stream-0.0.9.tgz",
+ "integrity": "sha1-E+v+d4oDIFz+A3UUgeu0szAMEmo=",
+ "requires": {
+ "inherits": "~2.0.0"
+ }
+ },
"bluebird": {
"version": "3.7.2",
"resolved": "https://registry.npmjs.org/bluebird/-/bluebird-3.7.2.tgz",
@@ -8374,6 +8397,16 @@
}
}
},
+ "clone-deep": {
+ "version": "4.0.1",
+ "resolved": "https://registry.npmjs.org/clone-deep/-/clone-deep-4.0.1.tgz",
+ "integrity": "sha512-neHB9xuzh/wk0dIHweyAXv2aPGZIVk3pLMe+/RNzINf17fe0OG96QroktYAUm7SM1PBnzTabaLboqqxDyMU+SQ==",
+ "requires": {
+ "is-plain-object": "^2.0.4",
+ "kind-of": "^6.0.2",
+ "shallow-clone": "^3.0.0"
+ }
+ },
"clone-response": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/clone-response/-/clone-response-1.0.2.tgz",
@@ -12512,6 +12545,17 @@
}
}
},
+ "fstream": {
+ "version": "1.0.12",
+ "resolved": "https://registry.npmjs.org/fstream/-/fstream-1.0.12.tgz",
+ "integrity": "sha512-WvJ193OHa0GHPEL+AycEJgxvBEwyfRkN1vhjca23OaPVMCaLCXTd5qAu82AjTcgP1UJmytkOKb63Ypde7raDIg==",
+ "requires": {
+ "graceful-fs": "^4.1.2",
+ "inherits": "~2.0.0",
+ "mkdirp": ">=0.5 0",
+ "rimraf": "2"
+ }
+ },
"function-bind": {
"version": "1.1.1",
"resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz",
@@ -13843,6 +13887,30 @@
}
}
},
+ "gatsby-plugin-sass": {
+ "version": "2.2.4",
+ "resolved": "https://registry.npmjs.org/gatsby-plugin-sass/-/gatsby-plugin-sass-2.2.4.tgz",
+ "integrity": "sha512-6jN6nsAxpoyuO5vXIbikizNyUKqeo70xqub1sh7RWiAh4fMNKKsH//EgpuCPj0K2h/JMLlH4+t+DMgBiQncwCQ==",
+ "requires": {
+ "@babel/runtime": "^7.8.7",
+ "sass-loader": "^7.3.1"
+ },
+ "dependencies": {
+ "@babel/runtime": {
+ "version": "7.9.2",
+ "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.9.2.tgz",
+ "integrity": "sha512-NE2DtOdufG7R5vnfQUTehdTfNycfUANEtCa9PssN9O/xmTzP4E08UI797ixaei6hBEVL9BI/PsdJS5x7mWoB9Q==",
+ "requires": {
+ "regenerator-runtime": "^0.13.4"
+ }
+ },
+ "regenerator-runtime": {
+ "version": "0.13.5",
+ "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.5.tgz",
+ "integrity": "sha512-ZS5w8CpKFinUzOwW3c83oPeVXoNsrLsaCoLtJvAClH135j/R77RuymhiSErhm2lKcwSCIpmvIWSbDkIfAqKQlA=="
+ }
+ }
+ },
"gatsby-plugin-sharp": {
"version": "2.5.4",
"resolved": "https://registry.npmjs.org/gatsby-plugin-sharp/-/gatsby-plugin-sharp-2.5.4.tgz",
@@ -15250,6 +15318,14 @@
}
}
},
+ "gaze": {
+ "version": "1.1.3",
+ "resolved": "https://registry.npmjs.org/gaze/-/gaze-1.1.3.tgz",
+ "integrity": "sha512-BRdNm8hbWzFzWHERTrejLqwHDfS4GibPoq5wjTPIoJHoBtKGPg3xAFfxmM+9ztbXelxcf2hwQcaz1PtmFeue8g==",
+ "requires": {
+ "globule": "^1.0.0"
+ }
+ },
"gensync": {
"version": "1.0.0-beta.1",
"resolved": "https://registry.npmjs.org/gensync/-/gensync-1.0.0-beta.1.tgz",
@@ -15609,6 +15685,16 @@
}
}
},
+ "globule": {
+ "version": "1.3.1",
+ "resolved": "https://registry.npmjs.org/globule/-/globule-1.3.1.tgz",
+ "integrity": "sha512-OVyWOHgw29yosRHCHo7NncwR1hW5ew0W/UrvtwvjefVJeQ26q4/8r8FmPsSF1hJ93IgWkyv16pCTz6WblMzm/g==",
+ "requires": {
+ "glob": "~7.1.1",
+ "lodash": "~4.17.12",
+ "minimatch": "~3.0.2"
+ }
+ },
"good-listener": {
"version": "1.2.2",
"resolved": "https://registry.npmjs.org/good-listener/-/good-listener-1.2.2.tgz",
@@ -16785,6 +16871,11 @@
"resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz",
"integrity": "sha1-khi5srkoojixPcT7a21XbyMUU+o="
},
+ "in-publish": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/in-publish/-/in-publish-2.0.1.tgz",
+ "integrity": "sha512-oDM0kUSNFC31ShNxHKUyfZKy8ZeXZBWMjMdZHKLOk13uvT27VTL/QzRGfRUcevJhpkZAvlhPYuXkF7eNWrtyxQ=="
+ },
"indent-string": {
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/indent-string/-/indent-string-4.0.0.tgz",
@@ -20678,6 +20769,11 @@
"resolved": "https://registry.npmjs.org/jpeg-js/-/jpeg-js-0.3.6.tgz",
"integrity": "sha1-xAOCqslQbn0fLYVusC9seyqYs3w="
},
+ "js-base64": {
+ "version": "2.5.2",
+ "resolved": "https://registry.npmjs.org/js-base64/-/js-base64-2.5.2.tgz",
+ "integrity": "sha512-Vg8czh0Q7sFBSUMWWArX/miJeBWYBPpdU/3M/DKSaekLMqrqVPaedp+5mZhie/r0lgrcaYBfwXatEew6gwgiQQ=="
+ },
"js-tokens": {
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz",
@@ -22107,8 +22203,7 @@
"nan": {
"version": "2.14.1",
"resolved": "https://registry.npmjs.org/nan/-/nan-2.14.1.tgz",
- "integrity": "sha512-isWHgVjnFjh2x2yuJ/tj3JbwoHu3UC2dX5G/88Cm24yB6YopVgxvBObDY7n5xW6ExmFhJpSEQqFPvq9zaXc8Jw==",
- "optional": true
+ "integrity": "sha512-isWHgVjnFjh2x2yuJ/tj3JbwoHu3UC2dX5G/88Cm24yB6YopVgxvBObDY7n5xW6ExmFhJpSEQqFPvq9zaXc8Jw=="
},
"nanomatch": {
"version": "1.2.13",
@@ -22232,6 +22327,32 @@
"resolved": "https://registry.npmjs.org/node-forge/-/node-forge-0.9.0.tgz",
"integrity": "sha512-7ASaDa3pD+lJ3WvXFsxekJQelBKRpne+GOVbLbtHYdd7pFspyeuJHnWfLplGf3SwKGbfs/aYl5V/JCIaHVUKKQ=="
},
+ "node-gyp": {
+ "version": "3.8.0",
+ "resolved": "https://registry.npmjs.org/node-gyp/-/node-gyp-3.8.0.tgz",
+ "integrity": "sha512-3g8lYefrRRzvGeSowdJKAKyks8oUpLEd/DyPV4eMhVlhJ0aNaZqIrNUIPuEWWTAoPqyFkfGrM67MC69baqn6vA==",
+ "requires": {
+ "fstream": "^1.0.0",
+ "glob": "^7.0.3",
+ "graceful-fs": "^4.1.2",
+ "mkdirp": "^0.5.0",
+ "nopt": "2 || 3",
+ "npmlog": "0 || 1 || 2 || 3 || 4",
+ "osenv": "0",
+ "request": "^2.87.0",
+ "rimraf": "2",
+ "semver": "~5.3.0",
+ "tar": "^2.0.0",
+ "which": "1"
+ },
+ "dependencies": {
+ "semver": {
+ "version": "5.3.0",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-5.3.0.tgz",
+ "integrity": "sha1-myzl094C0XxgEq0yaqa00M9U+U8="
+ }
+ }
+ },
"node-int64": {
"version": "0.4.0",
"resolved": "https://registry.npmjs.org/node-int64/-/node-int64-0.4.0.tgz",
@@ -22324,6 +22445,93 @@
"resolved": "https://registry.npmjs.org/node-releases/-/node-releases-1.1.53.tgz",
"integrity": "sha512-wp8zyQVwef2hpZ/dJH7SfSrIPD6YoJz6BDQDpGEkcA0s3LpAQoxBIYmfIq6QAhC1DhwsyCgTaTTcONwX8qzCuQ=="
},
+ "node-sass": {
+ "version": "4.14.0",
+ "resolved": "https://registry.npmjs.org/node-sass/-/node-sass-4.14.0.tgz",
+ "integrity": "sha512-AxqU+DFpk0lEz95sI6jO0hU0Rwyw7BXVEv6o9OItoXLyeygPeaSpiV4rwQb10JiTghHaa0gZeD21sz+OsQluaw==",
+ "requires": {
+ "async-foreach": "^0.1.3",
+ "chalk": "^1.1.1",
+ "cross-spawn": "^3.0.0",
+ "gaze": "^1.0.0",
+ "get-stdin": "^4.0.1",
+ "glob": "^7.0.3",
+ "in-publish": "^2.0.0",
+ "lodash": "^4.17.15",
+ "meow": "^3.7.0",
+ "mkdirp": "^0.5.1",
+ "nan": "^2.13.2",
+ "node-gyp": "^3.8.0",
+ "npmlog": "^4.0.0",
+ "request": "^2.88.0",
+ "sass-graph": "^2.2.4",
+ "stdout-stream": "^1.4.0",
+ "true-case-path": "^1.0.2"
+ },
+ "dependencies": {
+ "ansi-regex": {
+ "version": "2.1.1",
+ "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz",
+ "integrity": "sha1-w7M6te42DYbg5ijwRorn7yfWVN8="
+ },
+ "ansi-styles": {
+ "version": "2.2.1",
+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz",
+ "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4="
+ },
+ "chalk": {
+ "version": "1.1.3",
+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz",
+ "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=",
+ "requires": {
+ "ansi-styles": "^2.2.1",
+ "escape-string-regexp": "^1.0.2",
+ "has-ansi": "^2.0.0",
+ "strip-ansi": "^3.0.0",
+ "supports-color": "^2.0.0"
+ }
+ },
+ "cross-spawn": {
+ "version": "3.0.1",
+ "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-3.0.1.tgz",
+ "integrity": "sha1-ElYDfsufDF9549bvE14wdwGEuYI=",
+ "requires": {
+ "lru-cache": "^4.0.1",
+ "which": "^1.2.9"
+ }
+ },
+ "lru-cache": {
+ "version": "4.1.5",
+ "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-4.1.5.tgz",
+ "integrity": "sha512-sWZlbEP2OsHNkXrMl5GYk/jKk70MBng6UU4YI/qGDYbgf6YbP4EvmqISbXCoJiRKs+1bSpFHVgQxvJ17F2li5g==",
+ "requires": {
+ "pseudomap": "^1.0.2",
+ "yallist": "^2.1.2"
+ }
+ },
+ "strip-ansi": {
+ "version": "3.0.1",
+ "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz",
+ "integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=",
+ "requires": {
+ "ansi-regex": "^2.0.0"
+ }
+ },
+ "supports-color": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz",
+ "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc="
+ },
+ "true-case-path": {
+ "version": "1.0.3",
+ "resolved": "https://registry.npmjs.org/true-case-path/-/true-case-path-1.0.3.tgz",
+ "integrity": "sha512-m6s2OdQe5wgpFMC+pAJ+q9djG82O2jcHPOI6RNg1yy9rCYR+WD6Nbpl32fDpfC56nirdRy+opFa/Vk7HYhqaew==",
+ "requires": {
+ "glob": "^7.1.2"
+ }
+ }
+ }
+ },
"noms": {
"version": "0.0.0",
"resolved": "https://registry.npmjs.org/noms/-/noms-0.0.0.tgz",
@@ -22361,6 +22569,14 @@
"resolved": "https://registry.npmjs.org/noop-logger/-/noop-logger-0.1.1.tgz",
"integrity": "sha1-lKKxYzxPExdVMAfYlm/Q6EG2pMI="
},
+ "nopt": {
+ "version": "3.0.6",
+ "resolved": "https://registry.npmjs.org/nopt/-/nopt-3.0.6.tgz",
+ "integrity": "sha1-xkZdvwirzU2zWTF/eaxopkayj/k=",
+ "requires": {
+ "abbrev": "1"
+ }
+ },
"normalize-package-data": {
"version": "2.5.0",
"resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.5.0.tgz",
@@ -22927,6 +23143,11 @@
"arch": "^2.1.0"
}
},
+ "os-homedir": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/os-homedir/-/os-homedir-1.0.2.tgz",
+ "integrity": "sha1-/7xJiDNuDoM94MFox+8VISGqf7M="
+ },
"os-locale": {
"version": "3.1.0",
"resolved": "https://registry.npmjs.org/os-locale/-/os-locale-3.1.0.tgz",
@@ -22942,6 +23163,15 @@
"resolved": "https://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz",
"integrity": "sha1-u+Z0BseaqFxc/sdm/lc0VV36EnQ="
},
+ "osenv": {
+ "version": "0.1.5",
+ "resolved": "https://registry.npmjs.org/osenv/-/osenv-0.1.5.tgz",
+ "integrity": "sha512-0CWcCECdMVc2Rw3U5w9ZjqX6ga6ubk1xDVKxtBQPK7wis/0F2r9T6k4ydGYhecl7YUBxBVxhL5oisPsNxAPe2g==",
+ "requires": {
+ "os-homedir": "^1.0.0",
+ "os-tmpdir": "^1.0.0"
+ }
+ },
"p-cancelable": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/p-cancelable/-/p-cancelable-1.1.0.tgz",
@@ -26799,6 +27029,246 @@
}
}
},
+ "sass-graph": {
+ "version": "2.2.4",
+ "resolved": "https://registry.npmjs.org/sass-graph/-/sass-graph-2.2.4.tgz",
+ "integrity": "sha1-E/vWPNHK8JCLn9k0dq1DpR0eC0k=",
+ "requires": {
+ "glob": "^7.0.0",
+ "lodash": "^4.0.0",
+ "scss-tokenizer": "^0.2.3",
+ "yargs": "^7.0.0"
+ },
+ "dependencies": {
+ "ansi-regex": {
+ "version": "2.1.1",
+ "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz",
+ "integrity": "sha1-w7M6te42DYbg5ijwRorn7yfWVN8="
+ },
+ "camelcase": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-3.0.0.tgz",
+ "integrity": "sha1-MvxLn82vhF/N9+c7uXysImHwqwo="
+ },
+ "cliui": {
+ "version": "3.2.0",
+ "resolved": "https://registry.npmjs.org/cliui/-/cliui-3.2.0.tgz",
+ "integrity": "sha1-EgYBU3qRbSmUD5NNo7SNWFo5IT0=",
+ "requires": {
+ "string-width": "^1.0.1",
+ "strip-ansi": "^3.0.1",
+ "wrap-ansi": "^2.0.0"
+ }
+ },
+ "find-up": {
+ "version": "1.1.2",
+ "resolved": "https://registry.npmjs.org/find-up/-/find-up-1.1.2.tgz",
+ "integrity": "sha1-ay6YIrGizgpgq2TWEOzK1TyyTQ8=",
+ "requires": {
+ "path-exists": "^2.0.0",
+ "pinkie-promise": "^2.0.0"
+ }
+ },
+ "get-caller-file": {
+ "version": "1.0.3",
+ "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-1.0.3.tgz",
+ "integrity": "sha512-3t6rVToeoZfYSGd8YoLFR2DJkiQrIiUrGcjvFX2mDw3bn6k2OtwHN0TNCLbBO+w8qTvimhDkv+LSscbJY1vE6w=="
+ },
+ "invert-kv": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/invert-kv/-/invert-kv-1.0.0.tgz",
+ "integrity": "sha1-EEqOSqym09jNFXqO+L+rLXo//bY="
+ },
+ "is-fullwidth-code-point": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz",
+ "integrity": "sha1-754xOG8DGn8NZDr4L95QxFfvAMs=",
+ "requires": {
+ "number-is-nan": "^1.0.0"
+ }
+ },
+ "lcid": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/lcid/-/lcid-1.0.0.tgz",
+ "integrity": "sha1-MIrMr6C8SDo4Z7S28rlQYlHRuDU=",
+ "requires": {
+ "invert-kv": "^1.0.0"
+ }
+ },
+ "load-json-file": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/load-json-file/-/load-json-file-1.1.0.tgz",
+ "integrity": "sha1-lWkFcI1YtLq0wiYbBPWfMcmTdMA=",
+ "requires": {
+ "graceful-fs": "^4.1.2",
+ "parse-json": "^2.2.0",
+ "pify": "^2.0.0",
+ "pinkie-promise": "^2.0.0",
+ "strip-bom": "^2.0.0"
+ }
+ },
+ "os-locale": {
+ "version": "1.4.0",
+ "resolved": "https://registry.npmjs.org/os-locale/-/os-locale-1.4.0.tgz",
+ "integrity": "sha1-IPnxeuKe00XoveWDsT0gCYA8FNk=",
+ "requires": {
+ "lcid": "^1.0.0"
+ }
+ },
+ "parse-json": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-2.2.0.tgz",
+ "integrity": "sha1-9ID0BDTvgHQfhGkJn43qGPVaTck=",
+ "requires": {
+ "error-ex": "^1.2.0"
+ }
+ },
+ "path-exists": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-2.1.0.tgz",
+ "integrity": "sha1-D+tsZPD8UY2adU3V77YscCJ2H0s=",
+ "requires": {
+ "pinkie-promise": "^2.0.0"
+ }
+ },
+ "path-type": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/path-type/-/path-type-1.1.0.tgz",
+ "integrity": "sha1-WcRPfuSR2nBNpBXaWkBwuk+P5EE=",
+ "requires": {
+ "graceful-fs": "^4.1.2",
+ "pify": "^2.0.0",
+ "pinkie-promise": "^2.0.0"
+ }
+ },
+ "pify": {
+ "version": "2.3.0",
+ "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz",
+ "integrity": "sha1-7RQaasBDqEnqWISY59yosVMw6Qw="
+ },
+ "read-pkg": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-1.1.0.tgz",
+ "integrity": "sha1-9f+qXs0pyzHAR0vKfXVra7KePyg=",
+ "requires": {
+ "load-json-file": "^1.0.0",
+ "normalize-package-data": "^2.3.2",
+ "path-type": "^1.0.0"
+ }
+ },
+ "read-pkg-up": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-1.0.1.tgz",
+ "integrity": "sha1-nWPBMnbAZZGNV/ACpX9AobZD+wI=",
+ "requires": {
+ "find-up": "^1.0.0",
+ "read-pkg": "^1.0.0"
+ }
+ },
+ "require-main-filename": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/require-main-filename/-/require-main-filename-1.0.1.tgz",
+ "integrity": "sha1-l/cXtp1IeE9fUmpsWqj/3aBVpNE="
+ },
+ "string-width": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz",
+ "integrity": "sha1-EYvfW4zcUaKn5w0hHgfisLmxB9M=",
+ "requires": {
+ "code-point-at": "^1.0.0",
+ "is-fullwidth-code-point": "^1.0.0",
+ "strip-ansi": "^3.0.0"
+ }
+ },
+ "strip-ansi": {
+ "version": "3.0.1",
+ "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz",
+ "integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=",
+ "requires": {
+ "ansi-regex": "^2.0.0"
+ }
+ },
+ "strip-bom": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-2.0.0.tgz",
+ "integrity": "sha1-YhmoVhZSBJHzV4i9vxRHqZx+aw4=",
+ "requires": {
+ "is-utf8": "^0.2.0"
+ }
+ },
+ "which-module": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/which-module/-/which-module-1.0.0.tgz",
+ "integrity": "sha1-u6Y8qGGUiZT/MHc2CJ47lgJsKk8="
+ },
+ "wrap-ansi": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-2.1.0.tgz",
+ "integrity": "sha1-2Pw9KE3QV5T+hJc8rs3Rz4JP3YU=",
+ "requires": {
+ "string-width": "^1.0.1",
+ "strip-ansi": "^3.0.1"
+ }
+ },
+ "y18n": {
+ "version": "3.2.1",
+ "resolved": "https://registry.npmjs.org/y18n/-/y18n-3.2.1.tgz",
+ "integrity": "sha1-bRX7qITAhnnA136I53WegR4H+kE="
+ },
+ "yargs": {
+ "version": "7.1.0",
+ "resolved": "https://registry.npmjs.org/yargs/-/yargs-7.1.0.tgz",
+ "integrity": "sha1-a6MY6xaWFyf10oT46gA+jWFU0Mg=",
+ "requires": {
+ "camelcase": "^3.0.0",
+ "cliui": "^3.2.0",
+ "decamelize": "^1.1.1",
+ "get-caller-file": "^1.0.1",
+ "os-locale": "^1.4.0",
+ "read-pkg-up": "^1.0.1",
+ "require-directory": "^2.1.1",
+ "require-main-filename": "^1.0.1",
+ "set-blocking": "^2.0.0",
+ "string-width": "^1.0.2",
+ "which-module": "^1.0.0",
+ "y18n": "^3.2.1",
+ "yargs-parser": "^5.0.0"
+ }
+ },
+ "yargs-parser": {
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-5.0.0.tgz",
+ "integrity": "sha1-J17PDX/+Bcd+ZOfIbkzZS/DhIoo=",
+ "requires": {
+ "camelcase": "^3.0.0"
+ }
+ }
+ }
+ },
+ "sass-loader": {
+ "version": "7.3.1",
+ "resolved": "https://registry.npmjs.org/sass-loader/-/sass-loader-7.3.1.tgz",
+ "integrity": "sha512-tuU7+zm0pTCynKYHpdqaPpe+MMTQ76I9TPZ7i4/5dZsigE350shQWe5EZNl5dBidM49TPET75tNqRbcsUZWeNA==",
+ "requires": {
+ "clone-deep": "^4.0.1",
+ "loader-utils": "^1.0.1",
+ "neo-async": "^2.5.0",
+ "pify": "^4.0.1",
+ "semver": "^6.3.0"
+ },
+ "dependencies": {
+ "pify": {
+ "version": "4.0.1",
+ "resolved": "https://registry.npmjs.org/pify/-/pify-4.0.1.tgz",
+ "integrity": "sha512-uB80kBFb/tfd68bVleG9T5GGsGPjJrLAUpR5PZIrhBnIaRTQRjqdJSsIKkOP6OAIFbj7GOrcudc5pNjZ+geV2g=="
+ },
+ "semver": {
+ "version": "6.3.0",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz",
+ "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw=="
+ }
+ }
+ },
"sax": {
"version": "1.2.4",
"resolved": "https://registry.npmjs.org/sax/-/sax-1.2.4.tgz",
@@ -26859,6 +27329,25 @@
"invariant": "^2.2.4"
}
},
+ "scss-tokenizer": {
+ "version": "0.2.3",
+ "resolved": "https://registry.npmjs.org/scss-tokenizer/-/scss-tokenizer-0.2.3.tgz",
+ "integrity": "sha1-jrBtualyMzOCTT9VMGQRSYR85dE=",
+ "requires": {
+ "js-base64": "^2.1.8",
+ "source-map": "^0.4.2"
+ },
+ "dependencies": {
+ "source-map": {
+ "version": "0.4.4",
+ "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.4.4.tgz",
+ "integrity": "sha1-66T12pwNyZneaAMti092FzZSA2s=",
+ "requires": {
+ "amdefine": ">=0.0.4"
+ }
+ }
+ }
+ },
"section-matter": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/section-matter/-/section-matter-1.0.0.tgz",
@@ -27080,6 +27569,14 @@
"safe-buffer": "^5.0.1"
}
},
+ "shallow-clone": {
+ "version": "3.0.1",
+ "resolved": "https://registry.npmjs.org/shallow-clone/-/shallow-clone-3.0.1.tgz",
+ "integrity": "sha512-/6KqX+GVUdqPuPPd2LxDDxzX6CAbjJehAAOKlNpqqUpAqPM6HeL8f+o3a+JsyGjn2lv0WY8UsTgUJjU9Ok55NA==",
+ "requires": {
+ "kind-of": "^6.0.2"
+ }
+ },
"shallow-compare": {
"version": "1.2.2",
"resolved": "https://registry.npmjs.org/shallow-compare/-/shallow-compare-1.2.2.tgz",
@@ -27858,6 +28355,14 @@
"resolved": "https://registry.npmjs.org/statuses/-/statuses-1.5.0.tgz",
"integrity": "sha1-Fhx9rBd2Wf2YEfQ3cfqZOBR4Yow="
},
+ "stdout-stream": {
+ "version": "1.4.1",
+ "resolved": "https://registry.npmjs.org/stdout-stream/-/stdout-stream-1.4.1.tgz",
+ "integrity": "sha512-j4emi03KXqJWcIeF8eIXkjMFN1Cmb8gUlDYGeBALLPo5qdyTfA9bOtl8m33lRoC+vFMkP3gl0WsDr6+gzxbbTA==",
+ "requires": {
+ "readable-stream": "^2.0.1"
+ }
+ },
"stealthy-require": {
"version": "1.1.1",
"resolved": "https://registry.npmjs.org/stealthy-require/-/stealthy-require-1.1.1.tgz",
@@ -28505,6 +29010,16 @@
"resolved": "https://registry.npmjs.org/tapable/-/tapable-1.1.3.tgz",
"integrity": "sha512-4WK/bYZmj8xLr+HUCODHGF1ZFzsYffasLUgEiMBY4fgtltdO6B4WJtlSbPaDTLpYTcGVwM2qLnFTICEcNxs3kA=="
},
+ "tar": {
+ "version": "2.2.2",
+ "resolved": "https://registry.npmjs.org/tar/-/tar-2.2.2.tgz",
+ "integrity": "sha512-FCEhQ/4rE1zYv9rYXJw/msRqsnmlje5jHP6huWeBZ704jUTy02c5AZyWujpMR1ax6mVw9NyJMfuK2CMDWVIfgA==",
+ "requires": {
+ "block-stream": "*",
+ "fstream": "^1.0.12",
+ "inherits": "2"
+ }
+ },
"tar-fs": {
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/tar-fs/-/tar-fs-2.0.1.tgz",
diff --git a/package.json b/package.json
index da8acccabe..61a7749d58 100644
--- a/package.json
+++ b/package.json
@@ -18,6 +18,7 @@
"gatsby-plugin-manifest": "^2.3.6",
"gatsby-plugin-offline": "^3.1.2",
"gatsby-plugin-react-helmet": "^3.2.4",
+ "gatsby-plugin-sass": "^2.2.4",
"gatsby-plugin-sharp": "^2.5.4",
"gatsby-plugin-sitemap": "^2.0.5",
"gatsby-plugin-typescript": "^2.3.1",
@@ -27,6 +28,7 @@
"gatsby-source-filesystem": "^2.2.2",
"gatsby-transformer-remark": "^2.7.1",
"intersection-observer": "^0.9.0",
+ "node-sass": "^4.14.0",
"prismjs": "^1.20.0",
"react": "^16.13.1",
"react-dom": "^16.13.1",
@@ -42,8 +44,8 @@
"build": "gatsby build",
"build-ci": "gatsby build --prefix-paths",
"start": "gatsby develop",
- "format": "prettier --write \"**/*.{ts,tsx,js}\" && npm run lint:fix",
- "format-check": "prettier --check \"**/*.{ts,tsx,js}\"",
+ "format": "prettier --write \"**/*.{ts,tsx,js,scss}\" && npm run lint:fix",
+ "format-check": "prettier --check \"**/*.{ts,tsx,js,scss}\"",
"jest": "jest",
"update-snapshot": "jest --updateSnapshot",
"test": "npm run format && npm run format-check && npm run lint && npm run jest",
diff --git a/src/components/layout.tsx b/src/components/layout.tsx
index b9ec93531b..c222dbc5be 100644
--- a/src/components/layout.tsx
+++ b/src/components/layout.tsx
@@ -3,9 +3,9 @@ import 'prismjs/themes/prism-okaidia.css';
import React from 'react';
import Header from './header';
import Footer from './footer';
-import '../styles/tokens.css';
-import '../styles/layout.css';
-import '../styles/mobile.css';
+import '../styles/tokens.scss';
+import '../styles/layout.scss';
+import '../styles/mobile.scss';
import SEO from './seo';
// NOTE: Quickly restores dark-mode state to mitigate onload flash
diff --git a/src/pages/docs.tsx b/src/pages/docs.tsx
index 349243cd85..4cf43981fc 100644
--- a/src/pages/docs.tsx
+++ b/src/pages/docs.tsx
@@ -11,8 +11,8 @@ import {
} from '../hooks/useApiDocs';
import Layout from '../components/layout';
-import '../styles/article-reader.css';
-import '../styles/docs.css';
+import '../styles/article-reader.scss';
+import '../styles/docs.scss';
import Footer from '../components/footer';
function renderArticleOverview(
diff --git a/src/pages/index.tsx b/src/pages/index.tsx
index 63436b103d..107c64e139 100644
--- a/src/pages/index.tsx
+++ b/src/pages/index.tsx
@@ -4,7 +4,7 @@ import Hero from '../components/hero';
import Layout from '../components/layout';
import '../util/konami';
-import '../styles/index.css';
+import '../styles/index.scss';
import featureImg from '../images/placeholder-img.png';
diff --git a/src/pages/style-guide.tsx b/src/pages/style-guide.tsx
index ee01e0b669..b86bceb455 100644
--- a/src/pages/style-guide.tsx
+++ b/src/pages/style-guide.tsx
@@ -1,5 +1,5 @@
import React from 'react';
-import '../styles/layout.css';
+import '../styles/layout.scss';
const StyleGuidePage = (): JSX.Element => {
return (
diff --git a/src/styles/article-reader.css b/src/styles/article-reader.css
deleted file mode 100644
index 8d6c91beeb..0000000000
--- a/src/styles/article-reader.css
+++ /dev/null
@@ -1,84 +0,0 @@
-.article-reader {
- max-width: 768px;
- padding-left: 4.2rem;
- padding-top: var(--space-80);
- width: calc(100% - 36.0rem);
-}
-
-.article-reader hr {
- border: none;
- border-bottom: 0.4rem solid var(--black2);
-}
-
- /* sr-only for desktop */
-.article-reader__headline {
- padding: 0;
-}
-
-.hero h1 {
- cursor: pointer;
-}
-
-.article-reader blockquote {
- border-left: 3px solid var(--black4);
- color: var(--color-text-primary);
- font-style: italic;
- font-weight: 200;
- letter-spacing: 1px;
- margin: 0 0 2.8rem 0;
- padding: 1.8rem 0 1.8rem 3.2rem;
-}
-
-.article-reader blockquote p {
- margin: 0;
- padding: 0;
-}
-
-.article-reader section {
- margin-bottom: var(--space-48)
-}
-
-.article-reader ul {
- margin-bottom: var(--space-24);
-}
-
-.article-reader li + h4 {
- margin-top: var(--space-32);
-}
-
-.article-reader li {
- margin-bottom: var(--space-08);
-}
-
-.article-reader h3 {
- margin-bottom: var(--space-24);
-}
-
-.article-reader h4 {
- margin-bottom: var(--space-16);
-}
-
-.article-reader hr {
- margin-bottom: var(--space-40);
-}
-
-.article-reader details {
- margin-bottom: var(--space-24)
-}
-
-.article-reader iframe {
- margin-bottom: var(--space-24);
-}
-
-.article-reader p + h2 {
- margin-top: var(--space-40);
- }
-
-.article-reader p + h3 {
- margin-top: var(--space-32);
-}
-
-.article-reader .api-key__section {
- /* margin-bottom: 0; */
-}
-
\ No newline at end of file
diff --git a/src/styles/article-reader.scss b/src/styles/article-reader.scss
new file mode 100644
index 0000000000..eeebe92960
--- /dev/null
+++ b/src/styles/article-reader.scss
@@ -0,0 +1,85 @@
+.article-reader {
+ max-width: 768px;
+ padding-left: 4.2rem;
+ padding-top: var(--space-80);
+ width: calc(100% - 36rem);
+
+ hr {
+ border: none;
+ border-bottom: 0.4rem solid var(--black2);
+ }
+}
+
+/* sr-only for desktop */
+
+.article-reader__headline {
+ padding: 0;
+}
+
+.hero h1 {
+ cursor: pointer;
+}
+
+.article-reader {
+ blockquote {
+ border-left: 3px solid var(--black4);
+ color: var(--color-text-primary);
+ font-style: italic;
+ font-weight: 200;
+ letter-spacing: 1px;
+ margin: 0 0 2.8rem 0;
+ padding: 1.8rem 0 1.8rem 3.2rem;
+
+ p {
+ margin: 0;
+ padding: 0;
+ }
+ }
+
+ section {
+ margin-bottom: var(--space-48);
+ }
+
+ ul {
+ margin-bottom: var(--space-24);
+ }
+
+ li {
+ + h4 {
+ margin-top: var(--space-32);
+ }
+
+ margin-bottom: var(--space-08);
+ }
+
+ h3 {
+ margin-bottom: var(--space-24);
+ }
+
+ h4 {
+ margin-bottom: var(--space-16);
+ }
+
+ hr {
+ margin-bottom: var(--space-40);
+ }
+
+ details,
+ iframe {
+ margin-bottom: var(--space-24);
+ }
+
+ p + {
+ h2 {
+ margin-top: var(--space-40);
+ }
+
+ h3 {
+ margin-top: var(--space-32);
+ }
+ }
+
+ .api-key__section {
+ /* margin-bottom: 0; */
+ }
+}
diff --git a/src/styles/docs.css b/src/styles/docs.scss
similarity index 55%
rename from src/styles/docs.css
rename to src/styles/docs.scss
index 6987ee0560..cb319563b2 100644
--- a/src/styles/docs.css
+++ b/src/styles/docs.scss
@@ -40,63 +40,69 @@
.api-nav__sub-list-link {
color: var(--color-text-secondary);
text-decoration: none;
- transition: color .15s;
+ transition: color 0.15s;
padding: calc(var(--space-12) / 2) 0;
display: block;
-}
-.api-nav__sub-list-link:hover {
- color: var(--color-text-accent);
- text-decoration: underline;
+ &:hover {
+ color: var(--color-text-accent);
+ text-decoration: underline;
+ }
}
.api-key {
- padding : 0;
+ padding: 0;
list-style: none;
-}
-.api-key > .api-key__item {
- margin-bottom: 0.8rem;
+ > .api-key__item {
+ margin-bottom: 0.8rem;
+ }
}
.api-key__section {
list-style: none;
display: grid;
grid-template-columns: repeat(5, 20%);
- grid-template-columns:repeat(auto-fit, minmax(200px , 1fr));
+ grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
+
/* margin: 0.8rem 0; */
background: var(--black2);
border-radius: 4px;
grid-gap: 0.8rem;
padding: 0.8rem;
margin: 0.8rem 0;
-}
-.api-key__section .api-key__item:hover,
-.api-key__section .api-key__item > a:hover,
-.api-key__section .api-key__item:focus,
-.api-key__section .api-key__item > a:focus {
- background-color: var(--black4);
- box-shadow: 0 0 0 0.4rem var(--black4);
+ .api-key__item {
+ &:hover,
+ > a:hover,
+ &:focus,
+ > a:focus {
+ background-color: var(--black4);
+ box-shadow: 0 0 0 0.4rem var(--black4);
+ }
+ }
}
.dark-mode .api-key__section {
background: var(--black9);
-}
-.dark-mode .api-key__section .api-key__item:hover,
-.dark-mode .api-key__section .api-key__item > a:hover,
-.dark-mode .api-key__section .api-key__item:focus,
-.dark-mode .api-key__section .api-key__item > a:focus {
- background-color: var(--black8);
- box-shadow: 0 0 0 0.4rem var(--black8);
+ .api-key__item {
+ &:hover,
+ > a:hover,
+ &:focus,
+ > a:focus {
+ background-color: var(--black8);
+ box-shadow: 0 0 0 0.4rem var(--black8);
+ }
+ }
}
-.api-key__item--class, .api-key__item--module {
+.api-key__item--class,
+.api-key__item--module {
flex-grow: 1;
}
-.api-key__item, .api-key__item > a {
+.api-key__item {
color: var(--color-text-primary);
text-decoration: none;
display: block;
@@ -106,10 +112,22 @@
text-overflow: ellipsis;
border-radius: 4px;
cursor: pointer;
- transition: background-color .28s, box-shadow .28s;
+ transition: background-color 0.28s, box-shadow 0.28s;
+
+ > a {
+ color: var(--color-text-primary);
+ text-decoration: none;
+ display: block;
+ margin: 0;
+ overflow: hidden;
+ white-space: pre;
+ text-overflow: ellipsis;
+ border-radius: 4px;
+ cursor: pointer;
+ transition: background-color 0.28s, box-shadow 0.28s;
+ }
}
-
.api-key__item--has-children {
grid-column-start: 1;
grid-column-end: -1;
@@ -120,7 +138,7 @@
}
.api-key__item > a::before {
- content: "P";
+ content: 'P';
width: 2.4rem;
height: 2.4rem;
text-align: center;
@@ -142,58 +160,64 @@
font-size: var(--font-size-code);
line-height: 2.4rem;
font-weight: 400;
-}
-
-.api-docs__title.api-key__item--module {
- font-family: var(--sans);
-}
-.api-docs__title::before {
- content: "P";
- font-family: var(--sans);
- width: 2.4rem;
- height: 2.4rem;
- text-align: center;
- line-height: 2.4rem;
- font-size: 1.4rem;
- color: white;
- background-color: var(--info6);
- display: inline-block;
- border-radius: 50%;
- margin-right: 0.8rem;
-}
-
-.api-key__item--global > a::before, .api-docs__title--global::before {
- content: "G";
+ &.api-key__item--module {
+ font-family: var(--sans);
+ }
+
+ &::before {
+ content: 'P';
+ font-family: var(--sans);
+ width: 2.4rem;
+ height: 2.4rem;
+ text-align: center;
+ line-height: 2.4rem;
+ font-size: 1.4rem;
+ color: white;
+ background-color: var(--info6);
+ display: inline-block;
+ border-radius: 50%;
+ margin-right: 0.8rem;
+ }
+}
+
+.api-key__item--global > a::before,
+.api-docs__title--global::before {
+ content: 'G';
background-color: var(--warning4);
}
-.api-key__item--event > a::before, .api-docs__title--event::before {
- content: "E";
+.api-key__item--event > a::before,
+.api-docs__title--event::before {
+ content: 'E';
background-color: var(--danger6);
}
-.api-key__item--class > a::before, .api-docs__title--class::before {
- content: "C";
+.api-key__item--class > a::before,
+.api-docs__title--class::before {
+ content: 'C';
background-color: var(--warning4);
}
-.api-key__item--method > a::before, .api-docs__title--method::before {
- content: "M";
+.api-key__item--method > a::before,
+.api-docs__title--method::before {
+ content: 'M';
background-color: var(--purple6);
}
-.api-key__item--Object > a::before, .api-docs__title--Object::before {
- content: "O";
+.api-key__item--Object > a::before,
+.api-docs__title--Object::before {
+ content: 'O';
background-color: var(--pink6);
}
-.api-key__item--module > a::before, .api-docs__title--module::before {
+.api-key__item--module > a::before,
+.api-docs__title--module::before {
font-family: 'Material Icons';
- content: "pages";
+ content: 'pages';
background-color: transparent;
color: var(--color-text-accent);
- font-size: 3.0rem;
+ font-size: 3rem;
vertical-align: middle;
position: relative;
right: 3px;
@@ -201,4 +225,4 @@
.api-key__item--misc {
display: none;
-}
\ No newline at end of file
+}
diff --git a/src/styles/index.css b/src/styles/index.scss
similarity index 63%
rename from src/styles/index.css
rename to src/styles/index.scss
index 046fb0cdd4..0c608ccb5e 100644
--- a/src/styles/index.css
+++ b/src/styles/index.scss
@@ -3,7 +3,6 @@
margin: 0 auto;
margin-bottom: var(--space-80);
position: relative;
-
--section-margin-bottom: 340px;
}
@@ -38,64 +37,61 @@
text-align: center;
padding-top: var(--space-96);
margin-bottom: 160px;
-}
-
-.home-page-hero h1 {
- margin: 0;
-}
-.home-page-hero p {
- margin: 0;
-}
+ h1,
+ p {
+ margin: 0;
+ }
-.home-page-hero h1 {
- max-width: 840px;
-}
+ h1 {
+ max-width: 840px;
+ }
-.home-page-hero .sub-title {
- max-width: 780px;
- color: var(--color-text-secondary);
- margin: var(--space-32) 0 var(--space-80) 0;
- font-weight: var(--font-weight-light);
+ .sub-title {
+ max-width: 780px;
+ color: var(--color-text-secondary);
+ margin: var(--space-32) 0 var(--space-80) 0;
+ font-weight: var(--font-weight-light);
+ }
}
.download-lts-container {
position: relative;
-}
-.download-lts-container .links {
- color: var(--color-text-secondary);
- margin: var(--space-08) 0 0 0;
- position: absolute;
- left: calc(var(--space-16) * -1);
+ .links {
+ color: var(--color-text-secondary);
+ margin: var(--space-08) 0 0 0;
+ position: absolute;
+ left: calc(var(--space-16) * -1);
+ }
}
.home-page-hero .btn-ctas {
display: flex;
-}
-.home-page-hero .btn-ctas button {
- border: none;
- box-sizing: border-box;
- width: 20rem;
- height: 5.6rem;
- padding: 0 var(--space-16);
- font-weight: var(--font-weight-semibold);
- margin: 0;
-}
+ button {
+ border: none;
+ box-sizing: border-box;
+ width: 20rem;
+ height: 5.6rem;
+ padding: 0 var(--space-16);
+ font-weight: var(--font-weight-semibold);
+ margin: 0;
+ }
-.home-page-hero .btn-ctas .download-lts-cta {
- border-radius: 5.6rem;
- background: var(--color-fill-action);
- color: var(--black0);
- margin-right: var(--space-32);
- position: relative;
-}
+ .download-lts-cta {
+ border-radius: 5.6rem;
+ background: var(--color-fill-action);
+ color: var(--black0);
+ margin-right: var(--space-32);
+ position: relative;
+ }
-.home-page-hero .btn-ctas .learn-cta {
- border-radius: 5.6rem;
- border: var(--color-fill-action) var(--space-02) solid;
- color: var(--color-fill-action);
+ .learn-cta {
+ border-radius: 5.6rem;
+ border: var(--color-fill-action) var(--space-02) solid;
+ color: var(--color-fill-action);
+ }
}
.node-demo-container {
@@ -158,39 +154,39 @@
.node-features__feature {
max-width: 188px;
color: var(--color-text-secondary);
-}
-.node-features__feature > p {
- margin-top: var(--space-16);
+ > p {
+ margin-top: var(--space-16);
+ }
}
.see-more-events {
margin-top: var(--space-48);
color: var(--pink5);
display: block;
-}
-.see-more-events span {
- margin-left: var(--space-08);
+ span {
+ margin-left: var(--space-08);
+ }
}
.trusted-by {
margin-bottom: var(--section-margin-bottom);
text-align: center;
width: 100%;
-}
-.trusted-by p {
- color: var(--color-text-secondary);
- margin-bottom: var(--space-64);
-}
+ p {
+ color: var(--color-text-secondary);
+ margin-bottom: var(--space-64);
+ }
-.trusted-by .logos-container {
- display: flex;
- align-items: center;
- flex-direction: row;
- justify-content: space-between;
- filter: grayscale();
+ .logos-container {
+ display: flex;
+ align-items: center;
+ flex-direction: row;
+ justify-content: space-between;
+ filter: grayscale(1);
+ }
}
.get-started-callouts {
@@ -206,18 +202,18 @@
text-decoration: none;
display: flex;
flex-direction: column;
-}
-.get-started-callout h5 {
- color: var(--color-text-primary);
- margin: 0;
- margin-top: var(--space-24);
-}
+ h5 {
+ color: var(--color-text-primary);
+ margin: 0;
+ margin-top: var(--space-24);
+ }
-.get-started-callout p {
- margin-top: var(--space-16);
- color: var(--color-text-secondary);
- width: 422px;
+ p {
+ margin-top: var(--space-16);
+ color: var(--color-text-secondary);
+ width: 422px;
+ }
}
.btn-primary {
@@ -234,17 +230,18 @@
border-radius: var(--space-04);
text-decoration: none;
line-height: var(--line-height-body1);
-}
-.btn-primary:hover,
-.btn-primary:focus {
- color: var(--black0);
+ &:hover,
+ &:focus {
+ color: var(--black0);
+ }
}
@keyframes leafs-animation {
50% {
transform: rotate(5deg);
}
+
100% {
transform: rotate(8deg);
}
diff --git a/src/styles/layout.css b/src/styles/layout.scss
similarity index 78%
rename from src/styles/layout.css
rename to src/styles/layout.scss
index c5a98f2ba1..305d566971 100644
--- a/src/styles/layout.css
+++ b/src/styles/layout.scss
@@ -16,7 +16,6 @@ body {
--banner-gradient: linear-gradient(to right, var(--accent9), var(--info7));
--nav-height: 7.2rem;
--hero-height: 36rem;
-
--brand-light: var(--brand3);
--brand: var(--brand5);
--brand-dark: var(--brand7);
@@ -142,10 +141,7 @@ input {
color: var(--color-text-primary);
}
-body:not(.dark-mode) .dark-mode-only {
- display: none;
-}
-
+body:not(.dark-mode) .dark-mode-only,
.dark-mode .light-mode-only {
display: none;
}
@@ -173,26 +169,32 @@ code[class*='language-'] {
background: var(--black9) !important;
margin-bottom: var(--space-24);
}
+
pre[class*='language-'] > code[class*='language-'] + h2 {
margin-top: var(--space-40);
}
-.token.punctuation {
- color: var(--black2) !important;
-}
-.token.operator {
- color: var(--black2) !important;
-}
-.token.function {
- color: var(--warning3) !important;
-}
-.token.keyword {
- color: var(--info3) !important;
-}
-.token.string {
- color: var(--brand3) !important;
-}
-.token.number {
- color: var(--purple3) !important;
+
+.token {
+ &.punctuation,
+ &.operator {
+ color: var(--black2) !important;
+ }
+
+ &.function {
+ color: var(--warning3) !important;
+ }
+
+ &.keyword {
+ color: var(--info3) !important;
+ }
+
+ &.string {
+ color: var(--brand3) !important;
+ }
+
+ &.number {
+ color: var(--purple3) !important;
+ }
}
/* End: Syntax Highlight Overrides */
@@ -213,11 +215,11 @@ select {
background-repeat: no-repeat;
background-position: top 0.8rem right 0.8rem;
transition: border-color 0.28s;
-}
-select:hover,
-select:active {
- border-color: var(--black5);
+ &:hover,
+ &:active {
+ border-color: var(--black5);
+ }
}
main {
@@ -275,60 +277,67 @@ main {
.nav__tabs {
text-decoration: none;
margin-left: var(--space-16);
-}
-.nav__tabs > a {
- text-decoration: none;
- color: var(--color-text-primary);
- padding: var(--space-24) var(--space-16) calc(var(--space-24) - 2px)
- var(--space-16);
+ > a {
+ text-decoration: none;
+ color: var(--color-text-primary);
+ padding: var(--space-24) var(--space-16) calc(var(--space-24) - 2px)
+ var(--space-16);
+ }
}
/* Footer */
+
.footer {
display: flex;
justify-content: space-between;
flex-wrap: wrap;
margin: 0;
-}
-
-.footer .footer__left,
-.footer .footer__right {
- display: flex;
- justify-content: space-between;
- flex-wrap: wrap;
- list-style: none;
- height: 100%;
-}
-.footer .footer__right {
- margin-right: 20px;
-}
-
-.footer .footer__left > li,
-.footer .footer__right > li {
- font-size: 12px;
- margin-right: 32px;
- height: 24px;
-}
-
-.footer .footer__left li a {
- color: var(--color-text-primary);
-}
-
-.footer .footer__left li a:hover {
- color: var(--color-brand-primary);
-}
-
-.footer .footer__left > li:first-of-type {
- padding-right: 12px;
- padding-top: 0;
- margin-right: 12px;
- border-right: 1px solid var(--black5);
-}
-
-.footer .footer__link {
- text-decoration: none;
+ .footer__left {
+ display: flex;
+ justify-content: space-between;
+ flex-wrap: wrap;
+ list-style: none;
+ height: 100%;
+ }
+
+ .footer__right {
+ display: flex;
+ justify-content: space-between;
+ flex-wrap: wrap;
+ list-style: none;
+ height: 100%;
+ margin-right: 20px;
+ }
+
+ .footer__left > li,
+ .footer__right > li {
+ font-size: 12px;
+ margin-right: 32px;
+ height: 24px;
+ }
+
+ .footer__left {
+ li a {
+ color: var(--color-text-primary);
+
+ &:hover {
+ color: var(--color-brand-primary);
+ }
+ }
+
+ > li:first-of-type {
+ padding-right: 12px;
+ padding-top: 0;
+ margin-right: 12px;
+ border-right: 1px solid var(--black5);
+ }
+ }
+
+ .footer__link {
+ text-decoration: none;
+ }
}
/* Start: Article Reader HTML Reset */
@@ -338,14 +347,15 @@ main {
padding-left: 4.2rem;
padding-top: var(--space-80);
width: calc(100% - 36rem);
-}
-.article-reader hr {
- border: none;
- border-bottom: 0.4rem solid var(--black2);
+ hr {
+ border: none;
+ border-bottom: 0.4rem solid var(--black2);
+ }
}
/* sr-only for desktop */
+
.article-reader__headline {
padding: 0;
}
@@ -362,38 +372,44 @@ main {
letter-spacing: 1px;
margin: 0 0 2.8rem 0;
padding: 1.8rem 0 1.8rem 3.2rem;
-}
-.article-reader blockquote p {
- margin: 0;
- padding: 0;
+ p {
+ margin: 0;
+ padding: 0;
+ }
}
/* End: Article Reader HTML Reset */
/* TOC */
-details,
-.toc {
+
+details {
cursor: pointer;
}
-.toc h6 {
- display: inline-block;
- margin: 0;
-}
-.toc a {
- font-family: var(--sans-serif);
- text-decoration: underline;
- text-decoration-color: var(--black4);
- transition: all ease-out 0.2s;
-}
-.toc a:hover {
- color: var(--brand-light);
- text-decoration: none;
-}
+.toc {
+ cursor: pointer;
-.toc li p {
- margin: 0;
+ h6 {
+ display: inline-block;
+ margin: 0;
+ }
+
+ a {
+ font-family: var(--sans-serif);
+ text-decoration: underline;
+ text-decoration-color: var(--black4);
+ transition: all ease-out 0.2s;
+
+ &:hover {
+ color: var(--brand-light);
+ text-decoration: none;
+ }
+ }
+
+ li p {
+ margin: 0;
+ }
}
/* 3rd Party plugin styles. */
diff --git a/src/styles/learn.css b/src/styles/learn.css
deleted file mode 100644
index 310cbf9e87..0000000000
--- a/src/styles/learn.css
+++ /dev/null
@@ -1,166 +0,0 @@
-
-.side-nav {
- /* Needed since overflow: none will disable position: sticky on children */
- clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
- background-color: var(--color-fill-side-nav);
- height: calc(100vh - var(--nav-height));
- overflow: auto;
- overflow-x: hidden;
- padding: 0 var(--space-20);
- position: sticky;
- top: var(--nav-height);
- width: 100%;
- max-width: 36.0rem;
- box-sizing: border-box;
- z-index: 998;
-}
-
-.side-nav__open {
- display: none;
-}
-
-.side-nav > :last-child {
- /* To allow side menu to scroll to bottom when not sticky */
- padding-bottom: 230px;
-}
-
-.side-nav__title {
- color: var(--color-text-primary);
- font-weight: 600;
- margin: 0 0 calc(var(--space-20) - (var(--space-12) / 2)) 0;
- display: flex;
- align-items: center;
- background-color: var(--color-fill-side-nav);
- padding: var(--space-20) 0 0;
- box-shadow: 0 25px 20px var(--color-fill-side-nav);
- margin: 0 0 2.4rem;
- position: sticky;
- top: 0;
- z-index: 999;
-}
-
-.side-nav__list {
- margin: 0;
- padding: 0;
- position: relative;
-}
-
-.side-nav__item {
- align-items: center;
- border-radius: 4px;
- box-sizing: border-box;
- color: var(--color-text-primary);
- cursor: pointer;
- list-style: none;
- margin: 0 0 0 var(--space-24);
- padding: calc(var(--space-12) / 2) 0 calc(var(--space-12) / 2) var(--space-08) ;
- position: relative;
-}
-
-.side-nav__item {
- color: var(--color-text-primary);
- text-decoration: none;
- display: block;
-}
-
-.side-nav__item:last-of-type::after {
- display: none;
-}
-
-.side-nav__item::before {
- background-size: 2.4rem;
- border-radius: 50%;
- box-shadow: inset 0 0 0 2px var(--color-border-accent);
- box-sizing: border-box;
- content: ' ';
- display: block;
- height: 2.4rem;
- left: -2.4rem;
- padding: 2px 4px;
- position: absolute;
- top: 0.6rem;
- transition: box-shadow .28s;
- overflow: hidden;
- width: 2.4rem;
- line-height: 2.6rem;
-}
-
-.side-nav__item.side-nav__item--done::before {
- content: url(data:image/svg+xml;utf8;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMTYuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+CjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgdmVyc2lvbj0iMS4xIiBpZD0iQ2FwYV8xIiB4PSIwcHgiIHk9IjBweCIgd2lkdGg9IjE2cHgiIGhlaWdodD0iMTZweCIgdmlld0JveD0iMCAwIDQ0OC44IDQ0OC44IiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCA0NDguOCA0NDguODsiIHhtbDpzcGFjZT0icHJlc2VydmUiPgo8Zz4KCTxnIGlkPSJjaGVjayI+CgkJPHBvbHlnb24gcG9pbnRzPSIxNDIuOCwzMjMuODUgMzUuNywyMTYuNzUgMCwyNTIuNDUgMTQyLjgsMzk1LjI1IDQ0OC44LDg5LjI1IDQxMy4xLDUzLjU1ICAgIiBmaWxsPSIjZjVmNmY3Ii8+Cgk8L2c+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPC9zdmc+Cg==);
-}
-
-.side-nav__item.side-nav__item--active {
- color: var(--color-text-accent);
- font-weight: 600;
-}
-
-.side-nav__item.side-nav__item--done::before,
-.side-nav__item.side-nav__item--active::before {
- box-shadow: inset 0 0 0 2.4rem var(--color-border-accent);
-}
-
-.side-nav__item:hover::before {
- box-shadow: inset 0 0 0 2.4rem var(--color-border-accent) !important;
-}
-
-.side-nav__item::after {
- background: var(--color-border-accent);
- content: ' ';
- display: block;
- height: calc(100% - 1.2rem - 8px);
- left: calc(-1.2rem - 1px);
- position: absolute;
- top: calc(2.4rem + 4px);
- width: 2px;
-}
-
-.side-nav__open {
- display: none;
- position: sticky;
- top: 1.8rem;
- margin-left: -0.8rem;
- width: 20px;
- height: calc(24px + 3px);
- padding: 12px 0;
- background: white;
- color: white;
- overflow: visible;
- border: none;
- text-indent: 3.2rem;
- line-height: 0;
- font-weight: 200;
- transition: color .28s, background-color .28s;
- outline: none;
- background-clip: content-box;
- z-index: 9999;
-}
-
-.side-nav__open::before, .side-nav__open::after {
- content: "";
- width: 100%;
- height: 3px;
- position: absolute;
- top: calc(50% - 1.5px);
- left: 0;
- transform: translateY(-250%);
- background-color: white;
- transition: transform .28s;
-}
-
-.side-nav__open::after {
- transform: translateY(250%);
-}
-
-.side-nav.side-nav--open .side-nav__open {
- top: calc(var(--nav-height) + 1.8rem);
- margin-bottom: -35px;
- margin-top: 16px;
- color: transparent;
- background-color: transparent;
-}
-.side-nav.side-nav--open .side-nav__open::before {
- transform: rotate(-45deg);
-}
-.side-nav.side-nav--open .side-nav__open::after {
- transform: rotate(45deg);
-}
diff --git a/src/styles/learn.scss b/src/styles/learn.scss
new file mode 100644
index 0000000000..44ba6b6191
--- /dev/null
+++ b/src/styles/learn.scss
@@ -0,0 +1,173 @@
+.side-nav {
+ /* Needed since overflow: none will disable position: sticky on children */
+ clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
+ background-color: var(--color-fill-side-nav);
+ height: calc(100vh - var(--nav-height));
+ overflow: auto;
+ overflow-x: hidden;
+ padding: 0 var(--space-20);
+ position: sticky;
+ top: var(--nav-height);
+ width: 100%;
+ max-width: 36rem;
+ box-sizing: border-box;
+ z-index: 998;
+}
+
+.side-nav__open {
+ display: none;
+}
+
+.side-nav > :last-child {
+ /* To allow side menu to scroll to bottom when not sticky */
+ padding-bottom: 230px;
+}
+
+.side-nav__title {
+ color: var(--color-text-primary);
+ font-weight: 600;
+ margin: 0 0 calc(var(--space-20) - (var(--space-12) / 2)) 0;
+ display: flex;
+ align-items: center;
+ background-color: var(--color-fill-side-nav);
+ padding: var(--space-20) 0 0;
+ box-shadow: 0 25px 20px var(--color-fill-side-nav);
+ margin: 0 0 2.4rem;
+ position: sticky;
+ top: 0;
+ z-index: 999;
+}
+
+.side-nav__list {
+ margin: 0;
+ padding: 0;
+ position: relative;
+}
+
+.side-nav__item {
+ align-items: center;
+ border-radius: 4px;
+ box-sizing: border-box;
+ color: var(--color-text-primary);
+ cursor: pointer;
+ list-style: none;
+ margin: 0 0 0 var(--space-24);
+ padding: calc(var(--space-12) / 2) 0 calc(var(--space-12) / 2) var(--space-08);
+ position: relative;
+ color: var(--color-text-primary);
+ text-decoration: none;
+ display: block;
+
+ &:last-of-type::after {
+ display: none;
+ }
+
+ &::before {
+ background-size: 2.4rem;
+ border-radius: 50%;
+ box-shadow: inset 0 0 0 2px var(--color-border-accent);
+ box-sizing: border-box;
+ content: ' ';
+ display: block;
+ height: 2.4rem;
+ left: -2.4rem;
+ padding: 2px 4px;
+ position: absolute;
+ top: 0.6rem;
+ transition: box-shadow 0.28s;
+ overflow: hidden;
+ width: 2.4rem;
+ line-height: 2.6rem;
+ }
+
+ &.side-nav__item--done::before {
+ content: url(data:image/svg+xml;utf8;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMTYuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+CjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgdmVyc2lvbj0iMS4xIiBpZD0iQ2FwYV8xIiB4PSIwcHgiIHk9IjBweCIgd2lkdGg9IjE2cHgiIGhlaWdodD0iMTZweCIgdmlld0JveD0iMCAwIDQ0OC44IDQ0OC44IiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCA0NDguOCA0NDguODsiIHhtbDpzcGFjZT0icHJlc2VydmUiPgo8Zz4KCTxnIGlkPSJjaGVjayI+CgkJPHBvbHlnb24gcG9pbnRzPSIxNDIuOCwzMjMuODUgMzUuNywyMTYuNzUgMCwyNTIuNDUgMTQyLjgsMzk1LjI1IDQ0OC44LDg5LjI1IDQxMy4xLDUzLjU1ICAgIiBmaWxsPSIjZjVmNmY3Ii8+Cgk8L2c+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPC9zdmc+Cg==);
+ }
+
+ &.side-nav__item--active {
+ color: var(--color-text-accent);
+ font-weight: 600;
+ }
+
+ &.side-nav__item--done::before,
+ &.side-nav__item--active::before {
+ box-shadow: inset 0 0 0 2.4rem var(--color-border-accent);
+ }
+
+ &:hover::before {
+ box-shadow: inset 0 0 0 2.4rem var(--color-border-accent) !important;
+ }
+
+ &::after {
+ background: var(--color-border-accent);
+ content: ' ';
+ display: block;
+ height: calc(100% - 1.2rem - 8px);
+ left: calc(-1.2rem - 1px);
+ position: absolute;
+ top: calc(2.4rem + 4px);
+ width: 2px;
+ }
+}
+
+.side-nav__open {
+ display: none;
+ position: sticky;
+ top: 1.8rem;
+ margin-left: -0.8rem;
+ width: 20px;
+ height: calc(24px + 3px);
+ padding: 12px 0;
+ background: white;
+ color: white;
+ overflow: visible;
+ border: none;
+ text-indent: 3.2rem;
+ line-height: 0;
+ font-weight: 200;
+ transition: color 0.28s, background-color 0.28s;
+ outline: none;
+ background-clip: content-box;
+ z-index: 9999;
+
+ &::before {
+ content: '';
+ width: 100%;
+ height: 3px;
+ position: absolute;
+ top: calc(50% - 1.5px);
+ left: 0;
+ transform: translateY(-250%);
+ background-color: white;
+ transition: transform 0.28s;
+ }
+
+ &::after {
+ content: '';
+ width: 100%;
+ height: 3px;
+ position: absolute;
+ top: calc(50% - 1.5px);
+ left: 0;
+ transform: translateY(-250%);
+ background-color: white;
+ transition: transform 0.28s;
+ transform: translateY(250%);
+ }
+}
+
+.side-nav.side-nav--open .side-nav__open {
+ top: calc(var(--nav-height) + 1.8rem);
+ margin-bottom: -35px;
+ margin-top: 16px;
+ color: transparent;
+ background-color: transparent;
+
+ &::before {
+ transform: rotate(-45deg);
+ }
+
+ &::after {
+ transform: rotate(45deg);
+ }
+}
diff --git a/src/styles/mobile.css b/src/styles/mobile.scss
similarity index 66%
rename from src/styles/mobile.css
rename to src/styles/mobile.scss
index 488fb2b657..c019e959fc 100644
--- a/src/styles/mobile.css
+++ b/src/styles/mobile.scss
@@ -16,21 +16,21 @@
margin-bottom: calc(-100vh + var(--nav-height));
pointer-events: none;
overflow: hidden;
- }
- .side-nav::after {
- content: '';
- width: 392px;
- height: 100%;
- position: fixed;
- left: 0;
- top: 0;
- background-color: var(--black0);
- transform: translateX(-120%);
- transition: transform 0.28s;
- pointer-events: none;
- z-index: -1;
- box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.33), 2px 0 3px rgba(0, 0, 0, 0.2);
+ &::after {
+ content: '';
+ width: 392px;
+ height: 100%;
+ position: fixed;
+ left: 0;
+ top: 0;
+ background-color: var(--black0);
+ transform: translateX(-120%);
+ transition: transform 0.28s;
+ pointer-events: none;
+ z-index: -1;
+ box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.33), 2px 0 3px rgba(0, 0, 0, 0.2);
+ }
}
.side-nav__title {
@@ -40,11 +40,11 @@
.side-nav.side-nav--open {
pointer-events: all;
overflow-y: auto;
- }
- .side-nav.side-nav--open::after {
- transform: none;
- pointer-events: all;
+ &::after {
+ transform: none;
+ pointer-events: all;
+ }
}
.side-nav__list {
@@ -101,30 +101,30 @@
margin-top: -92px;
overflow: hidden;
max-width: calc(100% - 4.8rem);
- }
- .side-nav::before {
- width: 110%;
- }
+ &::before {
+ width: 110%;
+ }
- .side-nav.side-nav--open {
- max-height: 100%;
- overflow: visible;
- position: static;
- }
+ &.side-nav--open {
+ max-height: 100%;
+ overflow: visible;
+ position: static;
- .side-nav.side-nav--open + .article-reader {
- display: none;
- }
+ + .article-reader {
+ display: none;
+ }
+ }
- .side-nav > :last-child {
- padding-bottom: 2.4rem;
- }
+ > :last-child {
+ padding-bottom: 2.4rem;
+ }
- .side-nav::before {
- height: 92px;
- margin-bottom: -92px;
- top: var(--nav-height);
+ &::before {
+ height: 92px;
+ margin-bottom: -92px;
+ top: var(--nav-height);
+ }
}
.side-nav__open {
@@ -152,6 +152,7 @@
}
/* unset sr-only for mobile */
+
.article-reader__headline {
position: static;
width: auto;
@@ -165,31 +166,35 @@
}
/* Place top sentinels higher up on mobile */
+
.sticky-sentinel--top {
top: -92px;
}
- .footer,
- .footer .footer__left {
+ .footer {
flex-direction: column;
- }
- .footer .footer__left > li:first-of-type {
- border-right: none;
- }
+ .footer__left {
+ flex-direction: column;
- .footer .footer__right {
- margin: 0 auto;
- }
+ > li:first-of-type {
+ border-right: none;
+ }
+ }
- .footer .footer__left,
- .footer .footer__right {
- padding: 6px 18px;
- }
+ .footer__right {
+ margin: 0 auto;
+ }
+
+ .footer__left,
+ .footer__right {
+ padding: 6px 18px;
+ }
- .footer .footer__left > li,
- .footer .footer__right > li {
- margin-right: 18px;
- padding: 6px 0;
+ .footer__left > li,
+ .footer__right > li {
+ margin-right: 18px;
+ padding: 6px 0;
+ }
}
}
diff --git a/src/styles/tokens.css b/src/styles/tokens.css
deleted file mode 100644
index 77d3a78bf6..0000000000
--- a/src/styles/tokens.css
+++ /dev/null
@@ -1,167 +0,0 @@
-@import url('https://fonts.googleapis.com/css?family=Open+Sans:300,300i,400,400i,600,600i,700,700i,800,800i&display=swap');
-@import url('https://fonts.googleapis.com/icon?family=Material+Icons');
-
-html {
- font-size: 10px;
-}
-
-body {
-
- --mono: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
- --sans: 'Open Sans', sans-serif;
-
- /* Colors */
- --brand2: #C5E5B4;
- --brand3: #99CC7D;
- --brand4: #84BA64;
- --brand5: #5FA04E;
- --brand6: #417E38;
- --brand7: #2C682C;
- --brand8: #215127;
- --brand9: #1A3F1D;
-
- --black0: #FFFFFF;
- --black1: #F6F7F9;
- --black2: #E9EDF0;
- --black3: #D9E1E4;
- --black4: #CBD4D9;
- --black5: #B1BCC2;
- --black6: #929FA5;
- --black7: #6E7B83;
- --black8: #556066;
- --black9: #2C3437;
-
- --warning1: #FDF3E7;
- --warning2: #FAD9B0;
- --warning3: #F5BC75;
- --warning4: #E99C40;
- --warning5: #D07912;
- --warning6: #AE5F00;
- --warning7: #8B4D04;
- --warning8: #683D08;
- --warning9: #4D2F0B;
-
- --danger1: #FBF1F0;
- --danger2: #FAD3D4;
- --danger3: #FAB6B7;
- --danger4: #FA8E8E;
- --danger5: #F65354;
- --danger6: #DE1A1B;
- --danger7: #B80C0C;
- --danger8: #900E0E;
- --danger9: #661514;
-
- --info1: #E9F4FA;
- --info2: #BCE6FC;
- --info3: #8ED4F8;
- --info4: #52BAED;
- --info5: #229AD6;
- --info6: #0C7BB3;
- --info7: #066291;
- --info8: #074D71;
- --info9: #0A3953;
-
- --purple1: #F7F1FB;
- --purple2: #EAD9FB;
- --purple3: #DBBDF9;
- --purple4: #C79BF2;
- --purple5: #AF74E8;
- --purple6: #9756D6;
- --purple7: #7D3CBE;
- --purple8: #642B9E;
- --purple9: #361B52;
-
- --pink1: #FBF0F4;
- --pink2: #FBD4E6;
- --pink3: #FBB4D2;
- --pink4: #F68BB7;
- --pink5: #ED5393;
- --pink6: #D6246E;
- --pink7: #B01356;
- --pink8: #8B1245;
- --pink9: #411526;
-
- --color-brand-primary: var(--brand5);
-
- --color-text-primary: var(--black9);
- --color-text-secondary: var(--black7);
- --color-text-accent: var(--color-brand-primary);
-
- --color-border-primary: var(--black4);
- --color-border-secondary: var(--black3);
- --color-border-accent: var(--color-brand-primary);
-
- --color-fill-app: var(--black0);
- --color-fill-canvas: var(--black1);
- --color-fill-side-nav: var(--black1);
- --color-fill-top-nav: var(--black0);
- --color-fill-top-banner: #9992;
- --color-fill-action: var(--brand5); /*for actionable elements*/
-
- /* Typography */
- --base-type-face: 'Open Sans', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
-
- --font-size-display1: 6.0rem;
- --font-size-display2: 4.8rem;
- --font-size-display3: 3.4rem;
- --font-size-headline: 2.4rem;
- --font-size-subheading: 2.0rem;
- --font-size-body1: 1.6rem;
- --font-size-body2: 1.4rem;
- --font-size-caption: 1.2rem;
- --font-size-overline: 1.0rem;
- --font-size-code: 1.6rem;
-
- --line-height-display1: 7.2rem;
- --line-height-display2: 5.7rem;
- --line-height-display3: 4.08rem;
- --line-height-headline: 2.88rem;
- --line-height-subheading: 3.0rem;
- --line-height-body1: 2.4rem;
- --line-height-body2: 2.1rem;
- --line-height-caption: 1.8rem;
- --line-height-overline: 1.5rem;
- --line-height-code: 2.4rem;
-
- --font-weight-light: 100;
- --font-weight-regular: normal;
- --font-weight-semibold: 600;
- --font-weight-bold: 900;
-
- /* Spacing */
- --space-01: 0.1rem;
- --space-02: 0.2rem;
- --space-04: 0.4rem;
- --space-08: 0.8rem;
- --space-12: 1.2rem;
- --space-16: 1.6rem;
- --space-20: 2.0rem;
- --space-24: 2.4rem;
- --space-32: 3.2rem;
- --space-40: 4.0rem;
- --space-48: 4.8rem;
- --space-64: 6.4rem;
- --space-80: 8.0rem;
- --space-96: 9.6rem;
- --space-128: 12.8rem;
- --space-160: 16.0rem;
-}
-
-.dark-mode {
- /* Colors */
- --color-brand-primary: var(--brand5);
-
- --color-text-primary: var(--black4);
- --color-text-secondary: var(--black6);
- --color-text-accent: var(--brand4);
-
- --color-border-primary: var(--black4);
- --color-border-secondary: var(--black3);
- --color-border-accent: var(--brand4);
-
- --color-fill-app: #090C15;
- --color-fill-canvas: #090C15;
- --color-fill-side-nav: #0D111D;
- --color-fill-top-nav: #090C15;
- --color-fill-action: var(--brand4); /*for actionable elements*/
-}
\ No newline at end of file
diff --git a/src/styles/tokens.scss b/src/styles/tokens.scss
new file mode 100644
index 0000000000..6684759262
--- /dev/null
+++ b/src/styles/tokens.scss
@@ -0,0 +1,155 @@
+@import url('https://fonts.googleapis.com/css?family=Open+Sans:300,300i,400,400i,600,600i,700,700i,800,800i&display=swap');
+
+@import url('https://fonts.googleapis.com/icon?family=Material+Icons');
+
+html {
+ font-size: 10px;
+}
+
+body {
+ --mono: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
+ --sans: 'Open Sans', sans-serif;
+
+ /* Colors */
+ --brand2: #c5e5b4;
+ --brand3: #99cc7d;
+ --brand4: #84ba64;
+ --brand5: #5fa04e;
+ --brand6: #417e38;
+ --brand7: #2c682c;
+ --brand8: #215127;
+ --brand9: #1a3f1d;
+ --black0: #ffffff;
+ --black1: #f6f7f9;
+ --black2: #e9edf0;
+ --black3: #d9e1e4;
+ --black4: #cbd4d9;
+ --black5: #b1bcc2;
+ --black6: #929fa5;
+ --black7: #6e7b83;
+ --black8: #556066;
+ --black9: #2c3437;
+ --warning1: #fdf3e7;
+ --warning2: #fad9b0;
+ --warning3: #f5bc75;
+ --warning4: #e99c40;
+ --warning5: #d07912;
+ --warning6: #ae5f00;
+ --warning7: #8b4d04;
+ --warning8: #683d08;
+ --warning9: #4d2f0b;
+ --danger1: #fbf1f0;
+ --danger2: #fad3d4;
+ --danger3: #fab6b7;
+ --danger4: #fa8e8e;
+ --danger5: #f65354;
+ --danger6: #de1a1b;
+ --danger7: #b80c0c;
+ --danger8: #900e0e;
+ --danger9: #661514;
+ --info1: #e9f4fa;
+ --info2: #bce6fc;
+ --info3: #8ed4f8;
+ --info4: #52baed;
+ --info5: #229ad6;
+ --info6: #0c7bb3;
+ --info7: #066291;
+ --info8: #074d71;
+ --info9: #0a3953;
+ --purple1: #f7f1fb;
+ --purple2: #ead9fb;
+ --purple3: #dbbdf9;
+ --purple4: #c79bf2;
+ --purple5: #af74e8;
+ --purple6: #9756d6;
+ --purple7: #7d3cbe;
+ --purple8: #642b9e;
+ --purple9: #361b52;
+ --pink1: #fbf0f4;
+ --pink2: #fbd4e6;
+ --pink3: #fbb4d2;
+ --pink4: #f68bb7;
+ --pink5: #ed5393;
+ --pink6: #d6246e;
+ --pink7: #b01356;
+ --pink8: #8b1245;
+ --pink9: #411526;
+ --color-brand-primary: var(--brand5);
+ --color-text-primary: var(--black9);
+ --color-text-secondary: var(--black7);
+ --color-text-accent: var(--color-brand-primary);
+ --color-border-primary: var(--black4);
+ --color-border-secondary: var(--black3);
+ --color-border-accent: var(--color-brand-primary);
+ --color-fill-app: var(--black0);
+ --color-fill-canvas: var(--black1);
+ --color-fill-side-nav: var(--black1);
+ --color-fill-top-nav: var(--black0);
+ --color-fill-top-banner: #9992;
+ --color-fill-action: var(--brand5);
+
+ /*for actionable elements*/
+
+ /* Typography */
+ --base-type-face: 'Open Sans', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
+ --font-size-display1: 6rem;
+ --font-size-display2: 4.8rem;
+ --font-size-display3: 3.4rem;
+ --font-size-headline: 2.4rem;
+ --font-size-subheading: 2rem;
+ --font-size-body1: 1.6rem;
+ --font-size-body2: 1.4rem;
+ --font-size-caption: 1.2rem;
+ --font-size-overline: 1rem;
+ --font-size-code: 1.6rem;
+ --line-height-display1: 7.2rem;
+ --line-height-display2: 5.7rem;
+ --line-height-display3: 4.08rem;
+ --line-height-headline: 2.88rem;
+ --line-height-subheading: 3rem;
+ --line-height-body1: 2.4rem;
+ --line-height-body2: 2.1rem;
+ --line-height-caption: 1.8rem;
+ --line-height-overline: 1.5rem;
+ --line-height-code: 2.4rem;
+ --font-weight-light: 100;
+ --font-weight-regular: normal;
+ --font-weight-semibold: 600;
+ --font-weight-bold: 900;
+
+ /* Spacing */
+ --space-01: 0.1rem;
+ --space-02: 0.2rem;
+ --space-04: 0.4rem;
+ --space-08: 0.8rem;
+ --space-12: 1.2rem;
+ --space-16: 1.6rem;
+ --space-20: 2rem;
+ --space-24: 2.4rem;
+ --space-32: 3.2rem;
+ --space-40: 4rem;
+ --space-48: 4.8rem;
+ --space-64: 6.4rem;
+ --space-80: 8rem;
+ --space-96: 9.6rem;
+ --space-128: 12.8rem;
+ --space-160: 16rem;
+}
+
+.dark-mode {
+ /* Colors */
+ --color-brand-primary: var(--brand5);
+ --color-text-primary: var(--black4);
+ --color-text-secondary: var(--black6);
+ --color-text-accent: var(--brand4);
+ --color-border-primary: var(--black4);
+ --color-border-secondary: var(--black3);
+ --color-border-accent: var(--brand4);
+ --color-fill-app: #090c15;
+ --color-fill-canvas: #090c15;
+ --color-fill-side-nav: #0d111d;
+ --color-fill-top-nav: #090c15;
+ --color-fill-action: var(--brand4);
+
+ /*for actionable elements*/
+}
diff --git a/src/templates/learn.tsx b/src/templates/learn.tsx
index 47619cc3c2..4086d0602c 100644
--- a/src/templates/learn.tsx
+++ b/src/templates/learn.tsx
@@ -5,8 +5,8 @@ import Layout from '../components/layout';
import Navigation from '../components/navigation';
import { LearnPageContext, LearnPageData } from '../types';
-import '../styles/article-reader.css';
-import '../styles/learn.css';
+import '../styles/article-reader.scss';
+import '../styles/learn.scss';
import Footer from '../components/footer';
interface Props {
From aae7e7aa08d6d70f17459508922e37b8b5f56c87 Mon Sep 17 00:00:00 2001
From: Ben Halverson <7907232+benhalverson@users.noreply.github.com>
Date: Mon, 27 Apr 2020 21:11:45 -0700
Subject: [PATCH 39/40] Folder refactor (#614)
* test
* Update README.md (#3)
* refactor(article): Refactored file structure for the article component
* refactor(author): File refactor for author components
* refactor(components): Refactored components
* refactor(components): Refactor file structure again
* misspelling
* Fixed
* misspeelled on purpose
* Fixed spelling and lowercase issue
* removed random text from readme
---
README.md | 178 +++++++++---------
.../__snapshots__/article.test.tsx.snap | 0
.../Article/__tests__}/article.test.tsx | 5 +-
.../{article.tsx => Article/index.tsx} | 10 +-
.../__snapshots__/author.test.tsx.snap | 0
.../Author/__tests__}/author.test.tsx | 3 +-
.../{author.tsx => Author/index.tsx} | 0
.../__snapshots__/banner.test.tsx.snap | 0
.../Banner/__tests__}/banner.test.tsx | 2 +-
.../{banner.tsx => Banner/index.tsx} | 0
.../__snapshots__/edit-link.test.tsx.snap | 0
.../EditLink/__tests__}/edit-link.test.tsx | 3 +-
.../{edit-link.tsx => EditLink/index.tsx} | 0
.../__snapshots__/footer.test.tsx.snap | 0
.../Footer/__tests__}/footer.test.tsx | 3 +-
.../{footer.tsx => Footer/index.tsx} | 0
.../__snapshots__/header.test.tsx.snap | 0
.../Header/__tests__}/header.test.tsx | 3 +-
.../{header.tsx => Header/index.tsx} | 8 +-
.../__snapshots__/hero.test.tsx.snap | 0
.../components/Hero/__tests__}/hero.test.tsx | 3 +-
src/components/{hero.tsx => Hero/index.tsx} | 0
.../{layout.tsx => Layout/index.tsx} | 14 +-
.../index.tsx} | 12 +-
.../index.tsx} | 4 +-
.../__snapshots__/pagination.test.tsx.snap | 0
.../Pagination/__tests__}/pagination.test.tsx | 5 +-
.../{pagination.tsx => Pagination/index.tsx} | 24 +--
.../index.tsx} | 29 +--
.../index.tsx} | 2 +-
.../index.tsx} | 2 +-
.../__snapshots__/seo.test.tsx.snap | 0
.../components/Seo/__tests__}/seo.test.tsx | 3 +-
src/components/{seo.tsx => Seo/index.tsx} | 2 +-
.../__snapshots__/toc.test.tsx.snap | 0
.../components/Toc/__tests__}/toc.test.tsx | 3 +-
src/components/{toc.tsx => Toc/index.tsx} | 2 +-
.../__snapshots__/authors-list.test.tsx.snap | 0
.../__tests__}/authors-list.test.tsx | 3 +-
.../AuthorList/index.tsx} | 2 +-
.../Navigation/index.tsx} | 58 +++---
src/hooks/useApiDocs.tsx | 25 +--
src/pages/404.tsx | 4 +-
src/pages/community.tsx | 2 +-
src/pages/docs.tsx | 24 +--
src/pages/download.tsx | 8 +-
src/pages/index.tsx | 10 +-
src/templates/learn.tsx | 8 +-
src/util/konami.ts | 19 +-
src/util/scrollTo.tsx | 36 ++--
50 files changed, 276 insertions(+), 243 deletions(-)
rename {test/components => src/components/Article/__tests__}/__snapshots__/article.test.tsx.snap (100%)
rename {test/components => src/components/Article/__tests__}/article.test.tsx (85%)
rename src/components/{article.tsx => Article/index.tsx} (79%)
rename {test/components => src/components/Author/__tests__}/__snapshots__/author.test.tsx.snap (100%)
rename {test/components => src/components/Author/__tests__}/author.test.tsx (84%)
rename src/components/{author.tsx => Author/index.tsx} (100%)
rename {test/components => src/components/Banner/__tests__}/__snapshots__/banner.test.tsx.snap (100%)
rename {test/components => src/components/Banner/__tests__}/banner.test.tsx (86%)
rename src/components/{banner.tsx => Banner/index.tsx} (100%)
rename {test/components => src/components/EditLink/__tests__}/__snapshots__/edit-link.test.tsx.snap (100%)
rename {test/components => src/components/EditLink/__tests__}/edit-link.test.tsx (83%)
rename src/components/{edit-link.tsx => EditLink/index.tsx} (100%)
rename {test/components => src/components/Footer/__tests__}/__snapshots__/footer.test.tsx.snap (100%)
rename {test/components => src/components/Footer/__tests__}/footer.test.tsx (72%)
rename src/components/{footer.tsx => Footer/index.tsx} (100%)
rename {test/components => src/components/Header/__tests__}/__snapshots__/header.test.tsx.snap (100%)
rename {test/components => src/components/Header/__tests__}/header.test.tsx (72%)
rename src/components/{header.tsx => Header/index.tsx} (94%)
rename {test/components => src/components/Hero/__tests__}/__snapshots__/hero.test.tsx.snap (100%)
rename {test/components => src/components/Hero/__tests__}/hero.test.tsx (76%)
rename src/components/{hero.tsx => Hero/index.tsx} (100%)
rename src/components/{layout.tsx => Layout/index.tsx} (74%)
rename src/components/{navigation-item.tsx => NavigationItem/index.tsx} (84%)
rename src/components/{navigation-section.tsx => NavigationSection/index.tsx} (91%)
rename {test/components => src/components/Pagination/__tests__}/__snapshots__/pagination.test.tsx.snap (100%)
rename {test/components => src/components/Pagination/__tests__}/pagination.test.tsx (87%)
rename src/components/{pagination.tsx => Pagination/index.tsx} (67%)
rename src/components/{release-cards.tsx => ReleaseCards/index.tsx} (52%)
rename src/components/{release-table.tsx => ReleaseTable/index.tsx} (95%)
rename src/components/{release-toggle.tsx => ReleaseToggle/index.tsx} (97%)
rename {test/components => src/components/Seo/__tests__}/__snapshots__/seo.test.tsx.snap (100%)
rename {test/components => src/components/Seo/__tests__}/seo.test.tsx (88%)
rename src/components/{seo.tsx => Seo/index.tsx} (98%)
rename {test/components => src/components/Toc/__tests__}/__snapshots__/toc.test.tsx.snap (100%)
rename {test/components => src/components/Toc/__tests__}/toc.test.tsx (88%)
rename src/components/{toc.tsx => Toc/index.tsx} (89%)
rename {test/components => src/containers/AuthorList/__tests__}/__snapshots__/authors-list.test.tsx.snap (100%)
rename {test/components => src/containers/AuthorList/__tests__}/authors-list.test.tsx (83%)
rename src/{components/authors-list.tsx => containers/AuthorList/index.tsx} (95%)
rename src/{components/navigation.tsx => containers/Navigation/index.tsx} (61%)
diff --git a/README.md b/README.md
index f4c2d5fe38..3ec973f6d5 100644
--- a/README.md
+++ b/README.md
@@ -28,23 +28,23 @@
1. **Install dependencies.**
- ```sh
- # install the dependencies
- npm install
- ```
+ ```sh
+ # install the dependencies
+ npm install
+ ```
1. **Start developing.**
- ```sh
- # "start": "gatsby develop"
- npm start
- ```
+ ```sh
+ # "start": "gatsby develop"
+ npm start
+ ```
1. **Open the source code and start editing!**
- Your site is now running at `http://localhost:8000`!
+ Your site is now running at `http://localhost:8000`!
- *Note: You'll also see a second link: `http://localhost:8000___graphql`. This is a tool you can use to experiment with querying your data. Learn more about using this tool in the [Gatsby tutorial](https://next.gatsbyjs.org/tutorial/part-five/#introducing-graphiql).*
+ _Note: You'll also see a second link: `http://localhost:8000___graphql`. This is a tool you can use to experiment with querying your data. Learn more about using this tool in the [Gatsby tutorial](https://next.gatsbyjs.org/tutorial/part-five/#introducing-graphiql)._
## 🧐 What's inside?
@@ -85,25 +85,25 @@ A quick look at the top-level files and directories you'll see in a Gatsby proje
7. **`gatsby-browser.tsx`**: This file is where Gatsby expects to find any usage of the [Gatsby browser APIs](https://next.gatsbyjs.org/docs/browser-apis/) (if any). These allow customization/extension of default Gatsby settings affecting the browser.
-6. **`gatsby-config.js`**: This is the main configuration file for a Gatsby site. This is where you can specify information about your site (metadata) like the site title and description, which Gatsby plugins you'd like to include, etc. (Check out the [config docs](https://next.gatsbyjs.org/docs/gatsby-config/) for more detail).
+8. **`gatsby-config.js`**: This is the main configuration file for a Gatsby site. This is where you can specify information about your site (metadata) like the site title and description, which Gatsby plugins you'd like to include, etc. (Check out the [config docs](https://next.gatsbyjs.org/docs/gatsby-config/) for more detail).
-8. **`gatsby-node.js`**: This file is where Gatsby expects to find any usage of the [Gatsby node APIs](https://next.gatsbyjs.org/docs/node-apis/) (if any). These allow customization/extension of default Gatsby settings affecting pieces of the site build process.
+9. **`gatsby-node.js`**: This file is where Gatsby expects to find any usage of the [Gatsby node APIs](https://next.gatsbyjs.org/docs/node-apis/) (if any). These allow customization/extension of default Gatsby settings affecting pieces of the site build process.
-9. **`gatsby-ssr.tsx`**: This file is where Gatsby expects to find any usage of the [Gatsby server-side rendering APIs](https://next.gatsbyjs.org/docs/ssr-apis/) (if any). These allow customization of default Gatsby settings affecting server-side rendering.
+10. **`gatsby-ssr.tsx`**: This file is where Gatsby expects to find any usage of the [Gatsby server-side rendering APIs](https://next.gatsbyjs.org/docs/ssr-apis/) (if any). These allow customization of default Gatsby settings affecting server-side rendering.
-10. **`LICENSE`**: Gatsby is licensed under the MIT license.
+11. **`LICENSE`**: Gatsby is licensed under the MIT license.
-11. **`package-lock.json`** (See `package.json` below, first). This is an automatically generated file based on the exact versions of your npm dependencies that were installed for your project. (You won't change this file directly).
+12. **`package-lock.json`** (See `package.json` below, first). This is an automatically generated file based on the exact versions of your npm dependencies that were installed for your project. (You won't change this file directly).
-12. **`package.json`**: A manifest file for Node.js projects, which includes things like metadata (the project's name, author, etc.). This manifest is how npm knows which packages to install for your project.
+13. **`package.json`**: A manifest file for Node.js projects, which includes things like metadata (the project's name, author, etc.). This manifest is how npm knows which packages to install for your project.
-13. **`README.md`**: A text file containing useful reference information about your project.
+14. **`README.md`**: A text file containing useful reference information about your project.
-14. **`tsconfig.json`**: Config file for TypeScript
+15. **`tsconfig.json`**: Config file for TypeScript
-15. **`tslint.json`**: TS Lint configuration file
+16. **`tslint.json`**: TS Lint configuration file
-16. **`yarn.lock`**: [Yarn](https://yarnpkg.com/) is a package manager alternative to npm. You can use either yarn or npm, though all of the Gatsby docs reference npm. This file serves essentially the same purpose as `package-lock.json`, just for a different package management system.
+17. **`yarn.lock`**: [Yarn](https://yarnpkg.com/) is a package manager alternative to npm. You can use either yarn or npm, though all of the Gatsby docs reference npm. This file serves essentially the same purpose as `package-lock.json`, just for a different package management system.
## 📝 Data Sources
@@ -117,9 +117,9 @@ The `src/documentation` directory currently contains all the getting started con
Looking for more guidance? Full documentation for Gatsby lives [on the website](https://next.gatsbyjs.org/). Here are some places to start:
-* **For most developers, we recommend starting with our [in-depth tutorial for creating a site with Gatsby](https://next.gatsbyjs.org/tutorial/).** It starts with zero assumptions about your level of ability and walks through every step of the process.
+- **For most developers, we recommend starting with our [in-depth tutorial for creating a site with Gatsby](https://next.gatsbyjs.org/tutorial/).** It starts with zero assumptions about your level of ability and walks through every step of the process.
-* **To dive straight into code samples head [to our documentation](https://next.gatsbyjs.org/docs/).** In particular, check out the "Guides", API reference, and "Advanced Tutorials" sections in the sidebar.
+- **To dive straight into code samples head [to our documentation](https://next.gatsbyjs.org/docs/).** In particular, check out the "Guides", API reference, and "Advanced Tutorials" sections in the sidebar.
## 🏛 Governance
@@ -149,87 +149,87 @@ Any member of the website-redesign initiative who prefers to begin contributing
at a specific future phase is welcome to make a PR adding their handle to that
phase.
-* [@amiller-gh](https://github.com/amiller-gh) - **Adam Miller**, CommComm
+- [@amiller-gh](https://github.com/amiller-gh) - **Adam Miller**, CommComm
Co-champion
-* [@chowdhurian](https://github.com/chowdhurian) - **Manil Chowdhury**, CommComm
+- [@chowdhurian](https://github.com/chowdhurian) - **Manil Chowdhury**, CommComm
Co-champion
#### Information Gathering
-* [@amiller-gh](https://github.com/amiller-gh) - **Adam Miller**
-* [@codeekage](https://github.com/codeekage) - **Agiri Abraham JNR**
-* [@darcyclarke](https://github.com/darcyclarke) - **Darcy Clarke**
-* [@maddhruv](https://github.com/maddhruv) - **Dhruv Jain**
-* [@fhemberger](https://github.com/fhemberger) - **Frederic Hemberger**
-* [@JonahMoses](https://github.com/JonahMoses) - **Jonah Moses**
-* [@chowdhurian](https://github.com/chowdhurian) - **Manil Chowdhury**
-* [@oe](https://github.com/oe) - **Olivia Hugger**
-* [@bnb](https://github.com/bnb) - **Tierney Cyren**
-* [@timothyis](https://github.com/timothyis) - **Timothy**
+- [@amiller-gh](https://github.com/amiller-gh) - **Adam Miller**
+- [@codeekage](https://github.com/codeekage) - **Agiri Abraham JNR**
+- [@darcyclarke](https://github.com/darcyclarke) - **Darcy Clarke**
+- [@maddhruv](https://github.com/maddhruv) - **Dhruv Jain**
+- [@fhemberger](https://github.com/fhemberger) - **Frederic Hemberger**
+- [@JonahMoses](https://github.com/JonahMoses) - **Jonah Moses**
+- [@chowdhurian](https://github.com/chowdhurian) - **Manil Chowdhury**
+- [@oe](https://github.com/oe) - **Olivia Hugger**
+- [@bnb](https://github.com/bnb) - **Tierney Cyren**
+- [@timothyis](https://github.com/timothyis) - **Timothy**
#### IA / UX Planning
-* [@oe](https://github.com/oe) - **Olivia Hugger**
-* [@fhemberger](https://github.com/fhemberger) - **Frederic Hemberger**
-* [@bnb](https://github.com/bnb) - **Tierney Cyren**
-* [@timothyis](https://github.com/timothyis) - **Timothy**
-* [@JonahMoses](https://github.com/JonahMoses) - **Jonah Moses**
-* [@amiller-gh](https://github.com/amiller-gh) - **Adam Miller**
-* [@emilypmendez](https://github.com/emilypmendez) - **Emily Mendez**
-* [@darcyclarke](https://github.com/darcyclarke) - **Darcy Clarke**
-* [@maddhruv](https://github.com/maddhruv) - **Dhruv Jain**
-* [@chowdhurian](https://github.com/chowdhurian) - **Manil Chowdhury**
-* [@codeekage](https://github.com/codeekage) - **Agiri Abraham JNR**
-* [@add1sun](https://github.com/add1sun) - **Addison Berry**
-* [@Qard](https://github.com/Qard) - **Stephen Belanger**
-* [@watilde](https://github.com/watilde) - **Daijiro Wachi**
-* [@tolmasky](https://github.com/tolmasky) - **Francisco Ryan Tolmasky I**
-* [@milapbhojak](https://github.com/milapbhojak) - **Milap Bhojak**
-* [@devamaz](https://github.com/devamaz) - **Ahmad Abdul-Aziz**
+- [@oe](https://github.com/oe) - **Olivia Hugger**
+- [@fhemberger](https://github.com/fhemberger) - **Frederic Hemberger**
+- [@bnb](https://github.com/bnb) - **Tierney Cyren**
+- [@timothyis](https://github.com/timothyis) - **Timothy**
+- [@JonahMoses](https://github.com/JonahMoses) - **Jonah Moses**
+- [@amiller-gh](https://github.com/amiller-gh) - **Adam Miller**
+- [@emilypmendez](https://github.com/emilypmendez) - **Emily Mendez**
+- [@darcyclarke](https://github.com/darcyclarke) - **Darcy Clarke**
+- [@maddhruv](https://github.com/maddhruv) - **Dhruv Jain**
+- [@chowdhurian](https://github.com/chowdhurian) - **Manil Chowdhury**
+- [@codeekage](https://github.com/codeekage) - **Agiri Abraham JNR**
+- [@add1sun](https://github.com/add1sun) - **Addison Berry**
+- [@Qard](https://github.com/Qard) - **Stephen Belanger**
+- [@watilde](https://github.com/watilde) - **Daijiro Wachi**
+- [@tolmasky](https://github.com/tolmasky) - **Francisco Ryan Tolmasky I**
+- [@milapbhojak](https://github.com/milapbhojak) - **Milap Bhojak**
+- [@devamaz](https://github.com/devamaz) - **Ahmad Abdul-Aziz**
#### UI Design and Content Creation
-* [@amiller-gh](https://github.com/amiller-gh) - **Adam Miller**
-* [@bnb](https://github.com/bnb) - **Tierney Cyren**
-* [@codeekage](https://github.com/codeekage) - **Agiri Abraham JNR**
-* [@chowdhurian](https://github.com/chowdhurian) - **Manil Chowdhury**
-* [@maddhruv](https://github.com/maddhruv) - **Dhruv Jain**
-* [@milapbhojak](https://github.com/milapbhojak) - **Milap Bhojak**
-* [@tolmasky](https://github.com/tolmasky) - **Francisco Ryan Tolmasky I**
-* [@iNidAName](https://github.com/inidaname) - **Hassaan Sani**
-* [@abedzantout](https://github.com/abedzantout) - **Abdul Rahman Zantout**
-* [@AliObaji](https://github.com/AliObaji) - **Ali Obaji**
-* [@AhmadAwais](https://github.com/AhmadAwais) - **AhmadAwais**
+- [@amiller-gh](https://github.com/amiller-gh) - **Adam Miller**
+- [@bnb](https://github.com/bnb) - **Tierney Cyren**
+- [@codeekage](https://github.com/codeekage) - **Agiri Abraham JNR**
+- [@chowdhurian](https://github.com/chowdhurian) - **Manil Chowdhury**
+- [@maddhruv](https://github.com/maddhruv) - **Dhruv Jain**
+- [@milapbhojak](https://github.com/milapbhojak) - **Milap Bhojak**
+- [@tolmasky](https://github.com/tolmasky) - **Francisco Ryan Tolmasky I**
+- [@iNidAName](https://github.com/inidaname) - **Hassaan Sani**
+- [@abedzantout](https://github.com/abedzantout) - **Abdul Rahman Zantout**
+- [@AliObaji](https://github.com/AliObaji) - **Ali Obaji**
+- [@AhmadAwais](https://github.com/AhmadAwais) - **AhmadAwais**
#### Site Development _<-- current phase_
-* [@abiclub23](https://github.com/abiclub23) - **Abhi Tondepu**
-* [@ajay2507](https://github.com/ajay2507) - **Ajaykumar**
-* [@connorholyday](https://github.com/connorholyday) - **Connor Holyday**
-* [@iceagency-jakecruse](https://github.com/iceagency-jakecruse) - **Jake Cruse**
-* [@iceagency-lukehopkins](https://github.com/iceagency-lukehopkins) - **Luke Hopkins**
-* [@jestho](https://github.com/jestho) - **Jesper Thøgersen**
-* [@jonahmoses](https://github.com/jonahmoses) - **Jonah Moses**
-* [@sagirk](https://github.com/sagirk) - **Sagir Khan**
-* [@ollelauribostrom](https://github.com/ollelauribostrom) - **Olle Lauri Boström**
-* [@belar](https://github.com/Belar) - **Paweł**
-* [@erichodges](https://github.com/erichodges) - **Eric Hodges**
-* [@utkarshbhimte](https://github.com/utkarshbhimte) - **Utkarsh Bhimte**
-* [@lidoravitan](https://github.com/lidoravitan) - **Lidor Avitan**
-* [@mbj36](https://github.com/mbj36) - **Mohit Bajoria**
-* [@zanmarolt](https://github.com/zanmarolt) - **Zan Marolt**
-* [@imbhargav5](https://github.com/imbhargav5) - **Bhargav Ponnapalli**
-* [@mikeattara](https://github.com/mikeattara) - **Mike Perry Y Attara**
-* [@ZYSzys](https://github.com/ZYSzys) - **ZYSzys**
-* [@mrjam2](https://github.com/mrjam2) - **Jamie Burton**
-* [@jamesgeorge007](https://github.com/jamesgeorge007) - **James George**
-* [@Yash-Handa](https://github.com/Yash-Handa) - **Yash Handa**
-* [@iNidAName](https://github.com/inidaname) - **Hassaan Sani**
-* [@abedzantout](https://github.com/abedzantout) - **Abdul Rahman Zantout**
-* [@LaRuaNa](https://github.com/LaRuaNa) - **Onur Laru**
-* [@AhmadAwais](https://github.com/AhmadAwais) - **AhmadAwais**
-* [@BeniCheni](https://github.com/BeniCheni) - **Benjamin Chen**
-* [@kevjin](https://github.com/kevjin) - **Kevin Jin**
+- [@abiclub23](https://github.com/abiclub23) - **Abhi Tondepu**
+- [@ajay2507](https://github.com/ajay2507) - **Ajaykumar**
+- [@connorholyday](https://github.com/connorholyday) - **Connor Holyday**
+- [@iceagency-jakecruse](https://github.com/iceagency-jakecruse) - **Jake Cruse**
+- [@iceagency-lukehopkins](https://github.com/iceagency-lukehopkins) - **Luke Hopkins**
+- [@jestho](https://github.com/jestho) - **Jesper Thøgersen**
+- [@jonahmoses](https://github.com/jonahmoses) - **Jonah Moses**
+- [@sagirk](https://github.com/sagirk) - **Sagir Khan**
+- [@ollelauribostrom](https://github.com/ollelauribostrom) - **Olle Lauri Boström**
+- [@belar](https://github.com/Belar) - **Paweł**
+- [@erichodges](https://github.com/erichodges) - **Eric Hodges**
+- [@utkarshbhimte](https://github.com/utkarshbhimte) - **Utkarsh Bhimte**
+- [@lidoravitan](https://github.com/lidoravitan) - **Lidor Avitan**
+- [@mbj36](https://github.com/mbj36) - **Mohit Bajoria**
+- [@zanmarolt](https://github.com/zanmarolt) - **Zan Marolt**
+- [@imbhargav5](https://github.com/imbhargav5) - **Bhargav Ponnapalli**
+- [@mikeattara](https://github.com/mikeattara) - **Mike Perry Y Attara**
+- [@ZYSzys](https://github.com/ZYSzys) - **ZYSzys**
+- [@mrjam2](https://github.com/mrjam2) - **Jamie Burton**
+- [@jamesgeorge007](https://github.com/jamesgeorge007) - **James George**
+- [@Yash-Handa](https://github.com/Yash-Handa) - **Yash Handa**
+- [@iNidAName](https://github.com/inidaname) - **Hassaan Sani**
+- [@abedzantout](https://github.com/abedzantout) - **Abdul Rahman Zantout**
+- [@LaRuaNa](https://github.com/LaRuaNa) - **Onur Laru**
+- [@AhmadAwais](https://github.com/AhmadAwais) - **AhmadAwais**
+- [@BeniCheni](https://github.com/BeniCheni) - **Benjamin Chen**
+- [@kevjin](https://github.com/kevjin) - **Kevin Jin**
## Links
diff --git a/test/components/__snapshots__/article.test.tsx.snap b/src/components/Article/__tests__/__snapshots__/article.test.tsx.snap
similarity index 100%
rename from test/components/__snapshots__/article.test.tsx.snap
rename to src/components/Article/__tests__/__snapshots__/article.test.tsx.snap
diff --git a/test/components/article.test.tsx b/src/components/Article/__tests__/article.test.tsx
similarity index 85%
rename from test/components/article.test.tsx
rename to src/components/Article/__tests__/article.test.tsx
index 6773cd28fb..2953f2f0f4 100644
--- a/test/components/article.test.tsx
+++ b/src/components/Article/__tests__/article.test.tsx
@@ -1,10 +1,11 @@
+/* eslint-disable @typescript-eslint/explicit-function-return-type */
import React from 'react';
-import Article from '../../src/components/article';
import * as ShallowRenderer from 'react-test-renderer/shallow';
+import Article from '..';
import {
createLearnPageData,
createLearnPageContext,
-} from '../__fixtures__/page';
+} from '../../../../test/__fixtures__/page';
describe('Article component', () => {
it('renders correctly', () => {
diff --git a/src/components/article.tsx b/src/components/Article/index.tsx
similarity index 79%
rename from src/components/article.tsx
rename to src/components/Article/index.tsx
index 0f88c2fc25..d832e80ae5 100644
--- a/src/components/article.tsx
+++ b/src/components/Article/index.tsx
@@ -1,9 +1,9 @@
import React from 'react';
-import { PaginationInfo } from '../types';
-import AuthorsList from './authors-list';
-import EditLink from './edit-link';
-import Pagination from './pagination';
-import TOC from './toc';
+import { PaginationInfo } from '../../types';
+import AuthorsList from '../../containers/AuthorList';
+import EditLink from '../EditLink';
+import Pagination from '../Pagination';
+import TOC from '../Toc';
interface Props {
title: string;
diff --git a/test/components/__snapshots__/author.test.tsx.snap b/src/components/Author/__tests__/__snapshots__/author.test.tsx.snap
similarity index 100%
rename from test/components/__snapshots__/author.test.tsx.snap
rename to src/components/Author/__tests__/__snapshots__/author.test.tsx.snap
diff --git a/test/components/author.test.tsx b/src/components/Author/__tests__/author.test.tsx
similarity index 84%
rename from test/components/author.test.tsx
rename to src/components/Author/__tests__/author.test.tsx
index 74d34db644..611ac3eb95 100644
--- a/test/components/author.test.tsx
+++ b/src/components/Author/__tests__/author.test.tsx
@@ -1,6 +1,7 @@
+/* eslint-disable @typescript-eslint/explicit-function-return-type */
import React from 'react';
import renderer from 'react-test-renderer';
-import Author from '../../src/components/author';
+import Author from '..';
describe('Author component', () => {
it('renders correctly', () => {
diff --git a/src/components/author.tsx b/src/components/Author/index.tsx
similarity index 100%
rename from src/components/author.tsx
rename to src/components/Author/index.tsx
diff --git a/test/components/__snapshots__/banner.test.tsx.snap b/src/components/Banner/__tests__/__snapshots__/banner.test.tsx.snap
similarity index 100%
rename from test/components/__snapshots__/banner.test.tsx.snap
rename to src/components/Banner/__tests__/__snapshots__/banner.test.tsx.snap
diff --git a/test/components/banner.test.tsx b/src/components/Banner/__tests__/banner.test.tsx
similarity index 86%
rename from test/components/banner.test.tsx
rename to src/components/Banner/__tests__/banner.test.tsx
index 7050d84254..1755aeefcb 100644
--- a/test/components/banner.test.tsx
+++ b/src/components/Banner/__tests__/banner.test.tsx
@@ -1,7 +1,7 @@
/* eslint-disable @typescript-eslint/explicit-function-return-type */
import React from 'react';
import renderer from 'react-test-renderer';
-import Banner from '../../src/components/banner';
+import Banner from '..';
describe('Tests for Header component', () => {
it('renders correctly', () => {
diff --git a/src/components/banner.tsx b/src/components/Banner/index.tsx
similarity index 100%
rename from src/components/banner.tsx
rename to src/components/Banner/index.tsx
diff --git a/test/components/__snapshots__/edit-link.test.tsx.snap b/src/components/EditLink/__tests__/__snapshots__/edit-link.test.tsx.snap
similarity index 100%
rename from test/components/__snapshots__/edit-link.test.tsx.snap
rename to src/components/EditLink/__tests__/__snapshots__/edit-link.test.tsx.snap
diff --git a/test/components/edit-link.test.tsx b/src/components/EditLink/__tests__/edit-link.test.tsx
similarity index 83%
rename from test/components/edit-link.test.tsx
rename to src/components/EditLink/__tests__/edit-link.test.tsx
index d8346b7011..af28c080bd 100644
--- a/test/components/edit-link.test.tsx
+++ b/src/components/EditLink/__tests__/edit-link.test.tsx
@@ -1,6 +1,7 @@
+/* eslint-disable @typescript-eslint/explicit-function-return-type */
import React from 'react';
import renderer from 'react-test-renderer';
-import EditLink from '../../src/components/edit-link';
+import EditLink from '..';
describe('EditLink component', () => {
it('renders correctly', () => {
diff --git a/src/components/edit-link.tsx b/src/components/EditLink/index.tsx
similarity index 100%
rename from src/components/edit-link.tsx
rename to src/components/EditLink/index.tsx
diff --git a/test/components/__snapshots__/footer.test.tsx.snap b/src/components/Footer/__tests__/__snapshots__/footer.test.tsx.snap
similarity index 100%
rename from test/components/__snapshots__/footer.test.tsx.snap
rename to src/components/Footer/__tests__/__snapshots__/footer.test.tsx.snap
diff --git a/test/components/footer.test.tsx b/src/components/Footer/__tests__/footer.test.tsx
similarity index 72%
rename from test/components/footer.test.tsx
rename to src/components/Footer/__tests__/footer.test.tsx
index 06dd97e9e7..a789cb2a07 100644
--- a/test/components/footer.test.tsx
+++ b/src/components/Footer/__tests__/footer.test.tsx
@@ -1,6 +1,7 @@
+/* eslint-disable @typescript-eslint/explicit-function-return-type */
import React from 'react';
import renderer from 'react-test-renderer';
-import Footer from '../../src/components/footer';
+import Footer from '..';
describe('Tests for Footer component', () => {
it('renders correctly', () => {
diff --git a/src/components/footer.tsx b/src/components/Footer/index.tsx
similarity index 100%
rename from src/components/footer.tsx
rename to src/components/Footer/index.tsx
diff --git a/test/components/__snapshots__/header.test.tsx.snap b/src/components/Header/__tests__/__snapshots__/header.test.tsx.snap
similarity index 100%
rename from test/components/__snapshots__/header.test.tsx.snap
rename to src/components/Header/__tests__/__snapshots__/header.test.tsx.snap
diff --git a/test/components/header.test.tsx b/src/components/Header/__tests__/header.test.tsx
similarity index 72%
rename from test/components/header.test.tsx
rename to src/components/Header/__tests__/header.test.tsx
index 35d1118c39..532862dfb4 100644
--- a/test/components/header.test.tsx
+++ b/src/components/Header/__tests__/header.test.tsx
@@ -1,6 +1,7 @@
+/* eslint-disable @typescript-eslint/explicit-function-return-type */
import React from 'react';
import renderer from 'react-test-renderer';
-import Header from '../../src/components/header';
+import Header from '..';
describe('Tests for Header component', () => {
it('renders correctly', () => {
diff --git a/src/components/header.tsx b/src/components/Header/index.tsx
similarity index 94%
rename from src/components/header.tsx
rename to src/components/Header/index.tsx
index 3266863125..b8c4b04bb0 100644
--- a/src/components/header.tsx
+++ b/src/components/Header/index.tsx
@@ -1,8 +1,8 @@
import { Link } from 'gatsby';
import React from 'react';
-import logoLight from '../images/logos/nodejs-logo-light-mode.svg';
-import logoDark from '../images/logos/nodejs-logo-dark-mode.svg';
-import defaultDarkModeController from '../util/darkModeController';
+import logoLight from '../../images/logos/nodejs-logo-light-mode.svg';
+import logoDark from '../../images/logos/nodejs-logo-dark-mode.svg';
+import defaultDarkModeController from '../../util/darkModeController';
const activeStyleTab = {
fontWeight: 'var(--font-weight-semibold)',
@@ -51,7 +51,7 @@ const Header = ({
-
+
diff --git a/test/components/__snapshots__/hero.test.tsx.snap b/src/components/Hero/__tests__/__snapshots__/hero.test.tsx.snap
similarity index 100%
rename from test/components/__snapshots__/hero.test.tsx.snap
rename to src/components/Hero/__tests__/__snapshots__/hero.test.tsx.snap
diff --git a/test/components/hero.test.tsx b/src/components/Hero/__tests__/hero.test.tsx
similarity index 76%
rename from test/components/hero.test.tsx
rename to src/components/Hero/__tests__/hero.test.tsx
index cc2d1d1783..26482e6e37 100644
--- a/test/components/hero.test.tsx
+++ b/src/components/Hero/__tests__/hero.test.tsx
@@ -1,6 +1,7 @@
+/* eslint-disable @typescript-eslint/explicit-function-return-type */
import React from 'react';
import renderer from 'react-test-renderer';
-import Hero from '../../src/components/hero';
+import Hero from '..';
describe('Hero component', () => {
it('renders correctly', () => {
diff --git a/src/components/hero.tsx b/src/components/Hero/index.tsx
similarity index 100%
rename from src/components/hero.tsx
rename to src/components/Hero/index.tsx
diff --git a/src/components/layout.tsx b/src/components/Layout/index.tsx
similarity index 74%
rename from src/components/layout.tsx
rename to src/components/Layout/index.tsx
index c222dbc5be..dd91b3fbc5 100644
--- a/src/components/layout.tsx
+++ b/src/components/Layout/index.tsx
@@ -1,15 +1,15 @@
import 'prismjs/plugins/line-numbers/prism-line-numbers.css';
import 'prismjs/themes/prism-okaidia.css';
import React from 'react';
-import Header from './header';
-import Footer from './footer';
-import '../styles/tokens.scss';
-import '../styles/layout.scss';
-import '../styles/mobile.scss';
-import SEO from './seo';
+import Header from '../Header';
+import Footer from '../Footer';
+import '../../styles/tokens.scss';
+import '../../styles/layout.scss';
+import '../../styles/mobile.scss';
+import SEO from '../Seo';
// NOTE: Quickly restores dark-mode state to mitigate onload flash
-import darkModeController from '../util/darkModeController';
+import darkModeController from '../../util/darkModeController';
interface Props {
children: React.ReactNode;
diff --git a/src/components/navigation-item.tsx b/src/components/NavigationItem/index.tsx
similarity index 84%
rename from src/components/navigation-item.tsx
rename to src/components/NavigationItem/index.tsx
index 8fc6b0e19a..f86e14ccf5 100644
--- a/src/components/navigation-item.tsx
+++ b/src/components/NavigationItem/index.tsx
@@ -32,12 +32,14 @@ const NavigationItem = ({
}
};
- useEffect((): void => {
- if (element.current) {
- const height = element.current.getBoundingClientRect().top;
- autoScroll(height);
+ useEffect(
+ (): void => {
+ if (element.current) {
+ const height = element.current.getBoundingClientRect().top;
+ autoScroll(height);
+ }
}
- });
+ );
return (
{
it('renders links to the next and previous page', () => {
diff --git a/src/components/pagination.tsx b/src/components/Pagination/index.tsx
similarity index 67%
rename from src/components/pagination.tsx
rename to src/components/Pagination/index.tsx
index aa75c07427..b664a34d7b 100644
--- a/src/components/pagination.tsx
+++ b/src/components/Pagination/index.tsx
@@ -1,7 +1,7 @@
import { css, SerializedStyles } from '@emotion/core';
import { Link } from 'gatsby';
import React from 'react';
-import { PaginationInfo } from '../types';
+import { PaginationInfo } from '../../types';
const link: SerializedStyles = css`
color: var(--black7) !important;
@@ -33,18 +33,20 @@ const ulStyles: SerializedStyles = css`
const Pagination = ({ previous, next }: Props): JSX.Element => (
- {previous && previous.title && (
-
- ← Prev
-
- )}
+ {previous &&
+ previous.title && (
+
+ ← Prev
+
+ )}
- {next && next.title && (
-
- Next →
-
- )}
+ {next &&
+ next.title && (
+
+ Next →
+
+ )}
);
diff --git a/src/components/release-cards.tsx b/src/components/ReleaseCards/index.tsx
similarity index 52%
rename from src/components/release-cards.tsx
rename to src/components/ReleaseCards/index.tsx
index fe98bed3a0..9ac0955288 100644
--- a/src/components/release-cards.tsx
+++ b/src/components/ReleaseCards/index.tsx
@@ -1,5 +1,5 @@
import React from 'react';
-import { ReleaseData } from '../hooks/useReleaseHistory';
+import { ReleaseData } from '../../hooks/useReleaseHistory';
interface Props {
line?: ReleaseData;
@@ -13,33 +13,36 @@ export default function ReleaseCards({ line }: Props): JSX.Element {
cloud
Windows Installer
- node-{line && line.version}.x86.msi
+ node-
+ {line && line.version}
+ .x86.msi