1
1
mirror of https://github.com/primer/css.git synced 2024-12-29 17:12:27 +03:00

Update doctocat

This commit is contained in:
Cole Bemis 2019-08-02 15:50:13 -07:00
parent 09a172b6b3
commit f8603a970e
6 changed files with 341 additions and 83 deletions

View File

@ -1,6 +1,11 @@
const path = require('path')
module.exports = {
siteMetadata: {
title: 'Primer CSS',
shortName: 'CSS',
description: "CSS for GitHub's Primer design system"
},
plugins: [
{
resolve: '@primer/gatsby-theme-doctocat',

View File

@ -954,30 +954,31 @@
"integrity": "sha512-H9XAx3hc0BQHY6l+IFSWHDySypcXsvsuLhgYLUGywmJ5pswRVQJUHpOsobnLYp2ZUaUlKiKDrgWWhosOwAEM8Q=="
},
"@mdx-js/mdx": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/@mdx-js/mdx/-/mdx-1.1.0.tgz",
"integrity": "sha512-WHWVPLStet4zc25nEDePNt7YUcCOgEa8q0F0QuE8Ddv5QphuXA7SNtRl2o+xMCm5r7Q5A1RrsG7lipMU4Pviqw==",
"version": "1.1.5",
"resolved": "https://registry.npmjs.org/@mdx-js/mdx/-/mdx-1.1.5.tgz",
"integrity": "sha512-BqUC3kY0v3fLWOakjPQ6jwDa1+C5ahY4RA2Kwu8rvApqCczAQOIsQ5ReZToPRPASx6LT7M9WQRH8s5VjOM5v5Q==",
"requires": {
"@babel/helper-plugin-utils": "^7.0.0",
"@babel/plugin-syntax-jsx": "^7.2.0",
"@babel/plugin-syntax-object-rest-spread": "^7.2.0",
"detab": "^2.0.0",
"hast-util-raw": "^5.0.0",
"lodash.uniq": "^4.5.0",
"mdast-util-to-hast": "^6.0.1",
"remark-mdx": "^1.1.0",
"remark-parse": "^6.0.0",
"remark-squeeze-paragraphs": "^3.0.1",
"to-style": "^1.3.3",
"unified": "^8.2.0",
"unist-builder": "^1.0.1",
"unist-util-visit": "^1.3.0"
"@babel/helper-plugin-utils": "7.0.0",
"@babel/plugin-syntax-jsx": "7.2.0",
"@babel/plugin-syntax-object-rest-spread": "7.2.0",
"camelcase-css": "2.0.1",
"detab": "2.0.2",
"hast-util-raw": "5.0.1",
"lodash.uniq": "4.5.0",
"mdast-util-to-hast": "6.0.1",
"remark-mdx": "^1.1.5",
"remark-parse": "7.0.0",
"remark-squeeze-paragraphs": "3.0.4",
"style-to-object": "0.2.3",
"unified": "8.3.2",
"unist-builder": "1.0.4",
"unist-util-visit": "1.4.1"
}
},
"@mdx-js/react": {
"version": "1.0.27",
"resolved": "https://registry.npmjs.org/@mdx-js/react/-/react-1.0.27.tgz",
"integrity": "sha512-sCv3ItE5L6rdpnZR0s69C8KFgz4pmhGsH4de0ZiO+fiCC/L6asuKLubf9QZk3oG3vjebym/V593CE15vRXvvwQ=="
"version": "1.1.5",
"resolved": "https://registry.npmjs.org/@mdx-js/react/-/react-1.1.5.tgz",
"integrity": "sha512-c+tfNfvsInS5PRjTMGqxI+LyLrlxKyX/TNqeNG1DLKGjjf9cFlDshu7tnqZZhGa/VBu0c/XXkK8ZkXjpmfhweQ=="
},
"@mikaelkristiansson/domready": {
"version": "1.0.9",
@ -1040,6 +1041,22 @@
}
}
},
"@popmotion/easing": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/@popmotion/easing/-/easing-1.0.2.tgz",
"integrity": "sha512-IkdW0TNmRnWTeWI7aGQIVDbKXPWHVEYdGgd5ZR4SH/Ty/61p63jCjrPxX1XrR7IGkl08bjhJROStD7j+RKgoIw=="
},
"@popmotion/popcorn": {
"version": "0.4.2",
"resolved": "https://registry.npmjs.org/@popmotion/popcorn/-/popcorn-0.4.2.tgz",
"integrity": "sha512-wu0tEwK3KUZ9BoqfcqC3DfdfRDws/oHXwZKJMVtuhXSrF/PtqvilsPjAk93nh8M+orAnbe8ZyxQmop9+4oJs2g==",
"requires": {
"@popmotion/easing": "^1.0.1",
"framesync": "^4.0.1",
"hey-listen": "^1.0.8",
"style-value-types": "^3.1.6"
}
},
"@primer/components": {
"version": "13.2.0",
"resolved": "https://registry.npmjs.org/@primer/components/-/components-13.2.0.tgz",
@ -1086,18 +1103,19 @@
"integrity": "sha512-MyA2hoCY3UAmMKPHPN+LM1HrwGz5VR92fkEkIzAQgHBYMPstT77tjHkO8OPoWW//DShdYMYAgukZdMJ8lnsfbg=="
},
"@primer/gatsby-theme-doctocat": {
"version": "0.0.0-b1e53bd",
"resolved": "https://registry.npmjs.org/@primer/gatsby-theme-doctocat/-/gatsby-theme-doctocat-0.0.0-b1e53bd.tgz",
"integrity": "sha512-8w+9nqS2vI3ukMf51iBJNa3r5UBTbtd7pSWBgfJ799EznoYx1zUpKT8LoKBUSCQbh7Rq6+jGPvH0bOgQ5G8JjQ==",
"version": "0.0.0-9a37f51",
"resolved": "https://registry.npmjs.org/@primer/gatsby-theme-doctocat/-/gatsby-theme-doctocat-0.0.0-9a37f51.tgz",
"integrity": "sha512-3KCrkD+X4UJ2iC4eNqAQ1L9sGnCKgukQe1GJNNN9cey+V6ydB++unGCz/+e59O6AhlzbhUNJWbulgyVEK5SfKw==",
"requires": {
"@mdx-js/mdx": "^1.0.21",
"@mdx-js/react": "^1.0.21",
"@primer/components": "^13.1.0",
"@primer/components": "^13.2.0",
"@primer/octicons-react": "^9.1.1",
"@styled-system/theme-get": "^5.0.12",
"copy-to-clipboard": "^3.2.0",
"downshift": "^3.2.10",
"find-up": "^4.1.0",
"framer-motion": "^1.4.2",
"fuse.js": "^3.4.5",
"gatsby-plugin-manifest": "^2.2.1",
"gatsby-plugin-mdx": "^1.0.13",
@ -1109,6 +1127,7 @@
"get-pkg-repo": "^4.1.0",
"pkg-up": "^3.1.0",
"prism-react-renderer": "^0.1.7",
"react-focus-lock": "^2.0.5",
"react-frame-component": "^4.1.1",
"react-helmet": "^5.2.1",
"react-live": "^2.1.2",
@ -1116,7 +1135,146 @@
"read-pkg-up": "^6.0.0",
"sentence-case": "^2.1.1",
"slugify": "^1.3.4",
"styled-components": "^4.3.2"
"styled-components": "^4.3.2",
"styled-system": "^5.0.18"
},
"dependencies": {
"@styled-system/background": {
"version": "5.0.18",
"resolved": "https://registry.npmjs.org/@styled-system/background/-/background-5.0.18.tgz",
"integrity": "sha512-NtbQxxosMn4NIHKhmifz0GKAekIklrO3ZIfKwzmUKgq6w+ePx6VYiy1zH6s3SNbb01WXhncHZfB9SE+Xnp954A==",
"requires": {
"@styled-system/core": "^5.0.18"
}
},
"@styled-system/border": {
"version": "5.0.18",
"resolved": "https://registry.npmjs.org/@styled-system/border/-/border-5.0.18.tgz",
"integrity": "sha512-he4+ERq9yjvCvrDFkAlpHJ5gVTjq3zx02queFMqCbkFvKrsOOFh3lfsJp+zFYRs3qQMadhDL9CNNyLTj/LufrQ==",
"requires": {
"@styled-system/core": "^5.0.18"
}
},
"@styled-system/color": {
"version": "5.0.18",
"resolved": "https://registry.npmjs.org/@styled-system/color/-/color-5.0.18.tgz",
"integrity": "sha512-34xIp5HD6pulf3OSD8oM+T+qltTt17HsL2fF2QcgZtKverGv8Nys8F2e0Hzmk17G+L3xpUeeZy6wjiit+Oz0SA==",
"requires": {
"@styled-system/core": "^5.0.18"
}
},
"@styled-system/core": {
"version": "5.0.18",
"resolved": "https://registry.npmjs.org/@styled-system/core/-/core-5.0.18.tgz",
"integrity": "sha512-vqDZ083t2tekP3+DJga9YbG3NFYKcVk7rYrGrY39GJSIP0c+HROYbHQhHMPUaHvKE2wgiBrQGLrH1tT97rlgJw==",
"requires": {
"object-assign": "^4.1.1"
}
},
"@styled-system/flexbox": {
"version": "5.0.18",
"resolved": "https://registry.npmjs.org/@styled-system/flexbox/-/flexbox-5.0.18.tgz",
"integrity": "sha512-/jF7UvAKDn4YfNYnSvCQkGTzGsTmzn0Vq5Iwc6MzVe9euTEHFAuKeMTxA5QkALHO0eMw+dzOhn+ZNwW9S7vjIg==",
"requires": {
"@styled-system/core": "^5.0.18"
}
},
"@styled-system/grid": {
"version": "5.0.18",
"resolved": "https://registry.npmjs.org/@styled-system/grid/-/grid-5.0.18.tgz",
"integrity": "sha512-prWWviXdfkvqDS78tobJ73mbxAjV6viPPtMR0v1twlYZwIC7IBzyR8ldDrN0tFuGoJE4jAcb0EIANjzBjCMg5A==",
"requires": {
"@styled-system/core": "^5.0.18"
}
},
"@styled-system/layout": {
"version": "5.0.18",
"resolved": "https://registry.npmjs.org/@styled-system/layout/-/layout-5.0.18.tgz",
"integrity": "sha512-r6HSVD8e6/gHVmuG32mqYnZfAjwY/7XZnEQku03yvFxficcZO3mEOOyXQmYe297Zcr1Y6K9mVrLk3aCeXpG2tg==",
"requires": {
"@styled-system/core": "^5.0.18"
}
},
"@styled-system/position": {
"version": "5.0.18",
"resolved": "https://registry.npmjs.org/@styled-system/position/-/position-5.0.18.tgz",
"integrity": "sha512-5TD8vgZsi6FBWqiRj+q+qVpAgQTy+DG7SNDJY3YOZCA6zvqoiWFzGoiX5SUR9PLA+FX9DIvcvRzcmnWC1+URZA==",
"requires": {
"@styled-system/core": "^5.0.18"
}
},
"@styled-system/shadow": {
"version": "5.0.18",
"resolved": "https://registry.npmjs.org/@styled-system/shadow/-/shadow-5.0.18.tgz",
"integrity": "sha512-ITc9NezoBZCC4dFjAZuDrDqvYHoAULK5vZVyMbnIJMaUH0Rkz/qiXY+UuGHDilR4ITmily2oZ9rSwc2AmYNiFw==",
"requires": {
"@styled-system/core": "^5.0.18"
}
},
"@styled-system/space": {
"version": "5.0.18",
"resolved": "https://registry.npmjs.org/@styled-system/space/-/space-5.0.18.tgz",
"integrity": "sha512-NNs9Ocph8Inp5QSeEEKOZKjg34VfqPfjRq6C7bBY2XidAYhH+f4k8elMT0YTA0uGNGqC5kmbkuYbyy5NNwvwFA==",
"requires": {
"@styled-system/core": "^5.0.18"
}
},
"@styled-system/typography": {
"version": "5.0.18",
"resolved": "https://registry.npmjs.org/@styled-system/typography/-/typography-5.0.18.tgz",
"integrity": "sha512-qVwOIYvQxC78qoli5DGmqCmBnyb+Y/QYBl8zyHs+RAq2B9gdzvArAFiXs+IYJpRtPtwBhXwvQ/+V/zIJqkviOA==",
"requires": {
"@styled-system/core": "^5.0.18"
}
},
"@styled-system/variant": {
"version": "5.0.18",
"resolved": "https://registry.npmjs.org/@styled-system/variant/-/variant-5.0.18.tgz",
"integrity": "sha512-6UgV0u2RfTR3AON0PeNgcKMc9AutBmnfIrn9z1CmMU3fR4nE6LB4OJ5m0+cSK6SuIEI7NvaFjx05w44nIjx9+Q==",
"requires": {
"@styled-system/core": "^5.0.18"
}
},
"react-clientside-effect": {
"version": "1.2.2",
"resolved": "https://registry.npmjs.org/react-clientside-effect/-/react-clientside-effect-1.2.2.tgz",
"integrity": "sha512-nRmoyxeok5PBO6ytPvSjKp9xwXg9xagoTK1mMjwnQxqM9Hd7MNPl+LS1bOSOe+CV2+4fnEquc7H/S8QD3q697A==",
"requires": {
"@babel/runtime": "^7.0.0"
}
},
"react-focus-lock": {
"version": "2.0.5",
"resolved": "https://registry.npmjs.org/react-focus-lock/-/react-focus-lock-2.0.5.tgz",
"integrity": "sha512-Jh5QV9KEgAXYAPSF0NMlqxFuX2BBPvLP6spQLsPIVHkITyaOYapxfNIFm/piOk1skghXWsufPDInyY53n8sUMw==",
"requires": {
"@babel/runtime": "^7.0.0",
"focus-lock": "^0.6.5",
"prop-types": "^15.6.2",
"react-clientside-effect": "^1.2.2",
"use-sidecar": "^1.0.1"
}
},
"styled-system": {
"version": "5.0.18",
"resolved": "https://registry.npmjs.org/styled-system/-/styled-system-5.0.18.tgz",
"integrity": "sha512-hOQu0/rPXktT12rjimQnWcvMm+xWVmTWvKMTMNkM4FQcXdS9NwlGXM5hu4LOWpIFhuqM+S6UDqqhy6IjPF5BlQ==",
"requires": {
"@styled-system/background": "^5.0.18",
"@styled-system/border": "^5.0.18",
"@styled-system/color": "^5.0.18",
"@styled-system/core": "^5.0.18",
"@styled-system/flexbox": "^5.0.18",
"@styled-system/grid": "^5.0.18",
"@styled-system/layout": "^5.0.18",
"@styled-system/position": "^5.0.18",
"@styled-system/shadow": "^5.0.18",
"@styled-system/space": "^5.0.18",
"@styled-system/typography": "^5.0.18",
"@styled-system/variant": "^5.0.18",
"object-assign": "^4.1.1"
}
}
}
},
"@primer/octicons-react": {
@ -1258,11 +1416,21 @@
}
},
"@styled-system/theme-get": {
"version": "5.0.16",
"resolved": "https://registry.npmjs.org/@styled-system/theme-get/-/theme-get-5.0.16.tgz",
"integrity": "sha512-LxIuubZZ65HzTWsl9GpfDXWaYdkcOsEKSBwNdeg4S3TgszPheN5f++eLxyDun3is2dNhFjTbDL/7yBZwJo1h3g==",
"version": "5.0.18",
"resolved": "https://registry.npmjs.org/@styled-system/theme-get/-/theme-get-5.0.18.tgz",
"integrity": "sha512-rXR0Y2L8HVHZY5qDv/6DROdti8Jzjm1WDD6ZPS/tacVEdwuxOBTlLwVt5NrXljnYgNrK/yBErHDqcDW7UG3iSQ==",
"requires": {
"@styled-system/core": "^5.0.16"
"@styled-system/core": "^5.0.18"
},
"dependencies": {
"@styled-system/core": {
"version": "5.0.18",
"resolved": "https://registry.npmjs.org/@styled-system/core/-/core-5.0.18.tgz",
"integrity": "sha512-vqDZ083t2tekP3+DJga9YbG3NFYKcVk7rYrGrY39GJSIP0c+HROYbHQhHMPUaHvKE2wgiBrQGLrH1tT97rlgJw==",
"requires": {
"object-assign": "^4.1.1"
}
}
}
},
"@styled-system/typography": {
@ -2848,6 +3016,11 @@
"resolved": "https://registry.npmjs.org/camelcase/-/camelcase-4.1.0.tgz",
"integrity": "sha1-1UVjW+HjPFQmScaRc+Xeas+uNN0="
},
"camelcase-css": {
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/camelcase-css/-/camelcase-css-2.0.1.tgz",
"integrity": "sha512-QOSvevhslijgYwRx6Rv7zKdMF8lbRmx+uQGx2+vDc+KI/eBnsy9kit5aj23AgGu3pa4t9AgwbnXWqS+iOY+2aA=="
},
"camelcase-keys": {
"version": "4.2.0",
"resolved": "https://registry.npmjs.org/camelcase-keys/-/camelcase-keys-4.2.0.tgz",
@ -5708,6 +5881,30 @@
"map-cache": "^0.2.2"
}
},
"framer-motion": {
"version": "1.5.0",
"resolved": "https://registry.npmjs.org/framer-motion/-/framer-motion-1.5.0.tgz",
"integrity": "sha512-lrdOjz9adZP/tLuo9EEIfNK3guwpmZ4gWt2PcRMO2CgBgL55sInwQV4PTGonyPc9A6bmXd8vwgN1mWUNfAPulQ==",
"requires": {
"@popmotion/easing": "^1.0.2",
"@popmotion/popcorn": "^0.4.2",
"framesync": "^4.0.4",
"hey-listen": "^1.0.8",
"popmotion": "9.0.0-beta-8",
"style-value-types": "^3.1.6",
"stylefire": "^6.0.7",
"tslib": "^1.10.0"
}
},
"framesync": {
"version": "4.0.4",
"resolved": "https://registry.npmjs.org/framesync/-/framesync-4.0.4.tgz",
"integrity": "sha512-mdP0WvVHe0/qA62KG2LFUAOiWLng5GLpscRlwzBxu2VXOp6B8hNs5C5XlFigsMgrfDrr2YbqTsgdWZTc4RXRMQ==",
"requires": {
"hey-listen": "^1.0.8",
"tslib": "^1.10.0"
}
},
"fresh": {
"version": "0.5.2",
"resolved": "https://registry.npmjs.org/fresh/-/fresh-0.5.2.tgz",
@ -6985,21 +7182,27 @@
}
},
"gatsby-plugin-mdx": {
"version": "1.0.17",
"resolved": "https://registry.npmjs.org/gatsby-plugin-mdx/-/gatsby-plugin-mdx-1.0.17.tgz",
"integrity": "sha512-nYm2iQzPqRKzNLa2MpsZ9gC76d406cKEW0OO43MfApKAfEOMAVrKWWIbPrFf+faq4kEm1SmRxXBteDL+n/Gvsw==",
"version": "1.0.22",
"resolved": "https://registry.npmjs.org/gatsby-plugin-mdx/-/gatsby-plugin-mdx-1.0.22.tgz",
"integrity": "sha512-+ZBuy7I0a4T+udlPnoUgII6PIm3YKHv26hNBXhZYTPk//R4LiCD3vlhZeeHqHAQaOamNquHt7DPxXZezNIATkw==",
"requires": {
"@babel/core": "^7.4.3",
"@babel/generator": "^7.5.5",
"@babel/helper-plugin-utils": "^7.0.0",
"@babel/plugin-proposal-object-rest-spread": "^7.4.3",
"@babel/preset-env": "^7.4.3",
"@babel/preset-react": "^7.0.0",
"@babel/types": "^7.5.5",
"camelcase-css": "^2.0.1",
"change-case": "^3.1.0",
"core-js": "2",
"dataloader": "^1.4.0",
"debug": "^4.0.1",
"escape-string-regexp": "^1.0.5",
"eval": "^0.1.4",
"fs-extra": "^7.0.0",
"gray-matter": "^4.0.1",
"json5": "^2.1.0",
"loader-utils": "^1.2.3",
"lodash": "^4.17.14",
"mdast-util-to-string": "^1.0.4",
@ -7012,7 +7215,9 @@
"retext-english": "^3.0.2",
"slash": "^2.0.0",
"static-site-generator-webpack-plugin": "^3.4.2",
"style-to-object": "^0.2.3",
"underscore.string": "^3.3.4",
"unified": "^8.3.2",
"unist-util-map": "^1.0.4",
"unist-util-remove": "^1.0.1",
"unist-util-visit": "^1.4.0"
@ -7033,9 +7238,9 @@
}
},
"gatsby-plugin-react-helmet": {
"version": "3.1.2",
"resolved": "https://registry.npmjs.org/gatsby-plugin-react-helmet/-/gatsby-plugin-react-helmet-3.1.2.tgz",
"integrity": "sha512-9rqa0D7qV+d7lMcnoV2Y4PTSNJcolTVZDygINYAboeef8fflcvGmOYUl16SbC0HjRjdGSiS9bmcsUNHeYPC/7g==",
"version": "3.1.3",
"resolved": "https://registry.npmjs.org/gatsby-plugin-react-helmet/-/gatsby-plugin-react-helmet-3.1.3.tgz",
"integrity": "sha512-S/1B/9JxHFEyeZ/d0BFzJYX9Gd5XBNvLJ7vLd7f7ZzFiqOYpNchnliF87cX+/BuR1gj+v2ypZ7tLRA4LE4PyBw==",
"requires": {
"@babel/runtime": "^7.0.0"
}
@ -7068,9 +7273,9 @@
}
},
"gatsby-source-filesystem": {
"version": "2.1.6",
"resolved": "https://registry.npmjs.org/gatsby-source-filesystem/-/gatsby-source-filesystem-2.1.6.tgz",
"integrity": "sha512-Om05JfbYLWn54as5+7O6Dci273V4fbS0FqhxNVNkixAh6Vib5Yi3kBr8L+5l29tF2vB0dr3UPMk95tF9LuHwEw==",
"version": "2.1.8",
"resolved": "https://registry.npmjs.org/gatsby-source-filesystem/-/gatsby-source-filesystem-2.1.8.tgz",
"integrity": "sha512-/EhMIlp6LA09+zzNkkhSW/zmJON9Ma9HQ5NpGTop7RVf9RIWiqhLA3klqVAnOwcYo2ALvAenGdGX2pgfH4PiMw==",
"requires": {
"@babel/runtime": "^7.0.0",
"better-queue": "^3.8.7",
@ -7723,6 +7928,11 @@
"resolved": "https://registry.npmjs.org/hex-color-regex/-/hex-color-regex-1.1.0.tgz",
"integrity": "sha512-l9sfDFsuqtOqKDsQdqrMRk0U85RZc0RtOR9yPI7mRVOa4FsR/BVnZ0shmQRM96Ji99kYZP/7hn1cedc1+ApsTQ=="
},
"hey-listen": {
"version": "1.0.8",
"resolved": "https://registry.npmjs.org/hey-listen/-/hey-listen-1.0.8.tgz",
"integrity": "sha512-COpmrF2NOg4TBWUJ5UVyaCU2A88wEMkUPK4hNqyCkqHbxT92BbvfjoSozkAIIm6XhicGlJHhFdullInrdhwU8Q=="
},
"hmac-drbg": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/hmac-drbg/-/hmac-drbg-1.0.1.tgz",
@ -9983,9 +10193,9 @@
}
},
"node-abi": {
"version": "2.9.0",
"resolved": "https://registry.npmjs.org/node-abi/-/node-abi-2.9.0.tgz",
"integrity": "sha512-jmEOvv0eanWjhX8dX1pmjb7oJl1U1oR4FOh0b2GnvALwSYoOdU7sj+kLDSAyjo4pfC9aj/IxkloxdLJQhSSQBA==",
"version": "2.10.0",
"resolved": "https://registry.npmjs.org/node-abi/-/node-abi-2.10.0.tgz",
"integrity": "sha512-OT0WepUvYHXdki6DU8LWhEkuo3M44i2paWBYtH9qXtPb9YiKlYEKa5WUII20XEcOv7UJPzfB0kZfPZdW46zdkw==",
"requires": {
"semver": "^5.4.1"
}
@ -11110,6 +11320,19 @@
"ts-pnp": "^1.1.2"
}
},
"popmotion": {
"version": "9.0.0-beta-8",
"resolved": "https://registry.npmjs.org/popmotion/-/popmotion-9.0.0-beta-8.tgz",
"integrity": "sha512-6eQzqursPvnP7ePvdfPeY4wFHmS3OLzNP8rJRvmfFfEIfpFqrQgLsM50Gd9AOvGKJtYJOFknNG+dsnzCpgIdAA==",
"requires": {
"@popmotion/easing": "^1.0.1",
"@popmotion/popcorn": "^0.4.2",
"framesync": "^4.0.4",
"hey-listen": "^1.0.8",
"style-value-types": "^3.1.6",
"tslib": "^1.10.0"
}
},
"portfinder": {
"version": "1.0.21",
"resolved": "https://registry.npmjs.org/portfinder/-/portfinder-1.0.21.tgz",
@ -11660,9 +11883,9 @@
"integrity": "sha1-1PRWKwzjaW5BrFLQ4ALlemNdxtw="
},
"pretty-bytes": {
"version": "5.2.0",
"resolved": "https://registry.npmjs.org/pretty-bytes/-/pretty-bytes-5.2.0.tgz",
"integrity": "sha512-ujANBhiUsl9AhREUDUEY1GPOharMGm8x8juS7qOHybcLi7XsKfrYQ88hSly1l2i0klXHTDYrlL8ihMCG55Dc3w=="
"version": "5.3.0",
"resolved": "https://registry.npmjs.org/pretty-bytes/-/pretty-bytes-5.3.0.tgz",
"integrity": "sha512-hjGrh+P926p4R4WbaB6OckyRtO0F0/lQBiT+0gnxjV+5kjPBrfVBFCsCLbMqVQeydvIoouYTCmmEURiH3R1Bdg=="
},
"pretty-error": {
"version": "2.1.1",
@ -12624,6 +12847,28 @@
"resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-1.1.0.tgz",
"integrity": "sha1-caUMhCnfync8kqOQpKA7OfzVHT4="
},
"remark-parse": {
"version": "6.0.3",
"resolved": "https://registry.npmjs.org/remark-parse/-/remark-parse-6.0.3.tgz",
"integrity": "sha512-QbDXWN4HfKTUC0hHa4teU463KclLAnwpn/FBn87j9cKYJWWawbiLgMfP2Q4XwhxxuuuOxHlw+pSN0OKuJwyVvg==",
"requires": {
"collapse-white-space": "^1.0.2",
"is-alphabetical": "^1.0.0",
"is-decimal": "^1.0.0",
"is-whitespace-character": "^1.0.0",
"is-word-character": "^1.0.0",
"markdown-escapes": "^1.0.0",
"parse-entities": "^1.1.0",
"repeat-string": "^1.5.4",
"state-toggle": "^1.0.0",
"trim": "0.0.1",
"trim-trailing-lines": "^1.0.0",
"unherit": "^1.0.4",
"unist-util-remove-position": "^1.0.0",
"vfile-location": "^2.0.0",
"xtend": "^4.0.1"
}
},
"unified": {
"version": "7.1.0",
"resolved": "https://registry.npmjs.org/unified/-/unified-7.1.0.tgz",
@ -12666,23 +12911,23 @@
}
},
"remark-mdx": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/remark-mdx/-/remark-mdx-1.1.0.tgz",
"integrity": "sha512-WW5WNg0NZnvCaXnrIMGwKG5HLwzCUkOtIMFLwTjB0vRE8QJRvhJUYykX3LrfS2EVIxVFTspZx9YzzV0BY/gfaQ==",
"version": "1.1.5",
"resolved": "https://registry.npmjs.org/remark-mdx/-/remark-mdx-1.1.5.tgz",
"integrity": "sha512-bTA5vthYYkOg5Mf0z1o+FYQb5pCYfqOmJ1wuyefNluAJmlFv/sIV0PPz9CpYTlUoNaC8b0VGgDY6Bb1MA6//UQ==",
"requires": {
"@babel/core": "^7.2.2",
"@babel/helper-plugin-utils": "^7.0.0",
"@babel/plugin-proposal-object-rest-spread": "^7.3.2",
"@babel/plugin-syntax-jsx": "^7.2.0",
"is-alphabetical": "^1.0.2",
"remark-parse": "^6.0.0",
"unified": "^8.2.0"
"@babel/core": "7.5.5",
"@babel/helper-plugin-utils": "7.0.0",
"@babel/plugin-proposal-object-rest-spread": "7.5.5",
"@babel/plugin-syntax-jsx": "7.2.0",
"is-alphabetical": "1.0.3",
"remark-parse": "7.0.0",
"unified": "8.3.2"
}
},
"remark-parse": {
"version": "6.0.3",
"resolved": "https://registry.npmjs.org/remark-parse/-/remark-parse-6.0.3.tgz",
"integrity": "sha512-QbDXWN4HfKTUC0hHa4teU463KclLAnwpn/FBn87j9cKYJWWawbiLgMfP2Q4XwhxxuuuOxHlw+pSN0OKuJwyVvg==",
"version": "7.0.0",
"resolved": "https://registry.npmjs.org/remark-parse/-/remark-parse-7.0.0.tgz",
"integrity": "sha512-UlfoqASKUnwSrzOcLSa7fwYdkpbeWwAs49YYdQmoYXK1TUJ2CvDBb3v8Lkt2GQzdPW9dWbjhteOsJJ27p1rNFg==",
"requires": {
"collapse-white-space": "^1.0.2",
"is-alphabetical": "^1.0.0",
@ -14232,6 +14477,14 @@
"inline-style-parser": "0.1.1"
}
},
"style-value-types": {
"version": "3.1.6",
"resolved": "https://registry.npmjs.org/style-value-types/-/style-value-types-3.1.6.tgz",
"integrity": "sha512-AxcfUr/06AHyyyxkNB1O8ypvwa8/qK+sxwelxEN5x+jxW+RXutRE2TuHEQbFq9OBY7ym83CPKvVIsGd6lvKb0Q==",
"requires": {
"hey-listen": "^1.0.8"
}
},
"styled-components": {
"version": "4.3.2",
"resolved": "https://registry.npmjs.org/styled-components/-/styled-components-4.3.2.tgz",
@ -14272,6 +14525,17 @@
"object-assign": "^4.1.1"
}
},
"stylefire": {
"version": "6.0.8",
"resolved": "https://registry.npmjs.org/stylefire/-/stylefire-6.0.8.tgz",
"integrity": "sha512-V0UTO3hOoEjcDMp8jWVkavfci+10BPHkChUfZbt8pVJ2fnoE2TxTADOT7fKas0JCK7QvcGldBrGKzasI7NyIwA==",
"requires": {
"@popmotion/popcorn": "^0.4.2",
"framesync": "^4.0.0",
"hey-listen": "^1.0.8",
"style-value-types": "^3.1.6"
}
},
"stylehacks": {
"version": "4.0.3",
"resolved": "https://registry.npmjs.org/stylehacks/-/stylehacks-4.0.3.tgz",
@ -14682,11 +14946,6 @@
"repeat-string": "^1.6.1"
}
},
"to-style": {
"version": "1.3.3",
"resolved": "https://registry.npmjs.org/to-style/-/to-style-1.3.3.tgz",
"integrity": "sha1-Y6K3Cm9KfU/cLtV6C+TnI1y2aZw="
},
"toggle-selection": {
"version": "1.0.6",
"resolved": "https://registry.npmjs.org/toggle-selection/-/toggle-selection-1.0.6.tgz",
@ -15272,6 +15531,15 @@
"resolved": "https://registry.npmjs.org/use/-/use-3.1.1.tgz",
"integrity": "sha512-cwESVXlO3url9YWlFW/TA9cshCEhtu7IKJ/p5soJ/gGpj7vbvFrAY/eIioQ6Dw23KjZhYgiIo8HOs1nQ2vr/oQ=="
},
"use-sidecar": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/use-sidecar/-/use-sidecar-1.0.1.tgz",
"integrity": "sha512-CLTDS2AZmUcXXFnxP/h/OadtvBOoHHnLYMMpKGntb5vKOQT94icrXMXX0mEdGiMhQU8vxHlndB72sRwRBHXTzw==",
"requires": {
"detect-node": "^2.0.4",
"tslib": "^1.9.3"
}
},
"util": {
"version": "0.11.1",
"resolved": "https://registry.npmjs.org/util/-/util-0.11.1.tgz",

View File

@ -3,14 +3,14 @@
"version": "1.0.0",
"license": "MIT",
"scripts": {
"develop": "gatsby develop",
"develop": "gatsby develop -H 0.0.0.0",
"build": "gatsby build",
"now-build": "npm run build"
},
"dependencies": {
"@primer/components": "^13.2.0",
"@primer/css": "^12.4.1",
"@primer/gatsby-theme-doctocat": "0.0.0-b1e53bd",
"@primer/gatsby-theme-doctocat": "0.0.0-9a37f51",
"@primer/octicons-react": "^9.1.1",
"css-loader": "^3.1.0",
"gatsby": "^2.10.4",

View File

@ -1,7 +1,7 @@
import {Box, Heading, Text} from '@primer/components'
import {Container} from '@primer/gatsby-theme-doctocat'
import React from 'react'
import {version} from '../../../package.json'
import {version} from '../../../../../package.json'
function Hero() {
return (

View File

@ -2,7 +2,7 @@
url: /getting-started
- title: Components
url: /components
items:
children:
- title: Alerts
url: /components/alerts
- title: Avatars

View File

@ -2,23 +2,8 @@
title: Primer CSS
---
import {Header, Sidebar, Container, Head} from '@primer/gatsby-theme-doctocat'
import Hero from '../components/hero'
import {Box, Flex} from '@primer/components'
export default ({children}) => (
<Flex flexDirection="column" minHeight="100vh">
<Head title="Primer CSS" />
<Header />
<Flex flex="1 1 auto" flexDirection={['column', 'column', 'row']}>
<Sidebar />
<Box width="100%">
<Hero />
<Container>{children}</Container>
</Box>
</Flex>
</Flex>
)
import {HeroLayout} from '@primer/gatsby-theme-doctocat'
export default HeroLayout
# Introduction