feat(ui-toolkit): add parallax

This commit is contained in:
Sara Vieira 2018-03-29 17:02:39 +01:00
parent e2a3fb73df
commit a4d6155071
8 changed files with 812 additions and 66 deletions

View File

@ -42,6 +42,7 @@
"react-bundle": "^1.1.0",
"react-popper": "^0.8.2",
"react-responsive": "^4.0.4",
"react-scroll-parallax": "^1.3.3",
"remcalc": "^1.0.10",
"rnd-id": "^2.0.2",
"styled-components": "^3.2.1",

View File

@ -0,0 +1,462 @@
import React from 'react';
export default ({ style, ...props }) => (
<svg
width="47"
style={{
borderRight: '1px solid #494949',
borderLeft: '1px solid #494949',
position: 'absolute',
zIndex: 0,
top: 0,
...style
}}
{...props}
height="100vh"
viewBox="0 0 47 798"
xmlns="http://www.w3.org/2000/svg"
xmlnsXlink="http://www.w3.org/1999/xlink"
>
<g id="Canvas" transform="translate(-5394 312)">
<g id="Gutter1">
<mask id="mask0_alpha">
<use
xlinkHref="#path0_fill"
transform="translate(5394 -312)"
fill="#C4C4C4"
id="Rectangle 2"
/>
</mask>
<g id="Group 6" mask="url(#mask0_alpha)">
<use
xlinkHref="#path1_stroke"
transform="rotate(-45 2378.321 -6643.134)"
fill="#494949"
id="Line 6"
/>
<use
xlinkHref="#path1_stroke"
transform="rotate(-45 2363.836 -6649.134)"
fill="#494949"
id="Line 6.30"
/>
<use
xlinkHref="#path1_stroke"
transform="rotate(-45 2349.35 -6655.134)"
fill="#494949"
id="Line 6.31"
/>
<use
xlinkHref="#path1_stroke"
transform="rotate(-45 2392.806 -6637.134)"
fill="#494949"
id="Line 6.1"
/>
<use
xlinkHref="#path1_stroke"
transform="rotate(-45 2407.292 -6631.134)"
fill="#494949"
id="Line 6.2"
/>
<use
xlinkHref="#path1_stroke"
transform="rotate(-45 2421.777 -6625.134)"
fill="#494949"
id="Line 6.3"
/>
<use
xlinkHref="#path1_stroke"
transform="rotate(-45 2436.262 -6619.134)"
fill="#494949"
id="Line 6.4"
/>
<use
xlinkHref="#path1_stroke"
transform="rotate(-45 2450.747 -6613.134)"
fill="#494949"
id="Line 6.5"
/>
<use
xlinkHref="#path1_stroke"
transform="rotate(-45 2465.233 -6607.134)"
fill="#494949"
id="Line 6.6"
/>
<use
xlinkHref="#path1_stroke"
transform="rotate(-45 2479.718 -6601.134)"
fill="#494949"
id="Line 6.7"
/>
<use
xlinkHref="#path1_stroke"
transform="rotate(-45 2494.203 -6595.134)"
fill="#494949"
id="Line 6.8"
/>
<use
xlinkHref="#path1_stroke"
transform="rotate(-45 2508.688 -6589.134)"
fill="#494949"
id="Line 6.9"
/>
<use
xlinkHref="#path1_stroke"
transform="rotate(-45 2523.174 -6583.134)"
fill="#494949"
id="Line 6.10"
/>
<use
xlinkHref="#path1_stroke"
transform="rotate(-45 2537.66 -6577.134)"
fill="#494949"
id="Line 6.11"
/>
<use
xlinkHref="#path1_stroke"
transform="rotate(-45 2552.144 -6571.134)"
fill="#494949"
id="Line 6.12"
/>
<use
xlinkHref="#path1_stroke"
transform="rotate(-45 2566.63 -6565.134)"
fill="#494949"
id="Line 6.13"
/>
<use
xlinkHref="#path1_stroke"
transform="rotate(-45 2581.115 -6559.134)"
fill="#494949"
id="Line 6.14"
/>
<use
xlinkHref="#path1_stroke"
transform="rotate(-45 2595.6 -6553.134)"
fill="#494949"
id="Line 6.15"
/>
<use
xlinkHref="#path1_stroke"
transform="rotate(-45 2610.085 -6547.134)"
fill="#494949"
id="Line 6.16"
/>
<use
xlinkHref="#path1_stroke"
transform="rotate(-45 2624.57 -6541.134)"
fill="#494949"
id="Line 6.17"
/>
<use
xlinkHref="#path1_stroke"
transform="rotate(-45 2639.056 -6535.134)"
fill="#494949"
id="Line 6.18"
/>
<use
xlinkHref="#path1_stroke"
transform="rotate(-45 2653.541 -6529.134)"
fill="#494949"
id="Line 6.19"
/>
<use
xlinkHref="#path1_stroke"
transform="rotate(-45 2668.027 -6523.134)"
fill="#494949"
id="Line 6.20"
/>
<use
xlinkHref="#path1_stroke"
transform="rotate(-45 2682.512 -6517.134)"
fill="#494949"
id="Line 6.21"
/>
<use
xlinkHref="#path1_stroke"
transform="rotate(-45 2696.997 -6511.134)"
fill="#494949"
id="Line 6.22"
/>
<use
xlinkHref="#path1_stroke"
transform="rotate(-45 2711.482 -6505.134)"
fill="#494949"
id="Line 6.23"
/>
<use
xlinkHref="#path1_stroke"
transform="rotate(-45 2725.968 -6499.134)"
fill="#494949"
id="Line 6.24"
/>
<use
xlinkHref="#path1_stroke"
transform="rotate(-45 2740.453 -6493.134)"
fill="#494949"
id="Line 6.25"
/>
<use
xlinkHref="#path1_stroke"
transform="rotate(-45 2754.938 -6487.134)"
fill="#494949"
id="Line 6.26"
/>
<use
xlinkHref="#path1_stroke"
transform="rotate(-45 2769.424 -6481.134)"
fill="#494949"
id="Line 6.27"
/>
<use
xlinkHref="#path1_stroke"
transform="rotate(-45 2783.909 -6475.134)"
fill="#494949"
id="Line 6.28"
/>
<use
xlinkHref="#path1_stroke"
transform="rotate(-45 2798.394 -6469.134)"
fill="#494949"
id="Line 6.29"
/>
<use
xlinkHref="#path1_stroke"
transform="rotate(-45 2812.88 -6463.134)"
fill="#494949"
id="Line 6.32"
/>
<use
xlinkHref="#path1_stroke"
transform="rotate(-45 2827.365 -6457.134)"
fill="#494949"
id="Line 6.33"
/>
<use
xlinkHref="#path1_stroke"
transform="rotate(-45 2841.85 -6451.134)"
fill="#494949"
id="Line 6.34"
/>
<use
xlinkHref="#path1_stroke"
transform="rotate(-45 2856.335 -6445.134)"
fill="#494949"
id="Line 6.35"
/>
<use
xlinkHref="#path1_stroke"
transform="rotate(-45 2870.82 -6439.134)"
fill="#494949"
id="Line 6.36"
/>
<use
xlinkHref="#path1_stroke"
transform="rotate(-45 2334.865 -6661.134)"
fill="#494949"
id="Line 6.32"
/>
<use
xlinkHref="#path1_stroke"
transform="rotate(-45 2928.762 -6415.134)"
fill="#494949"
id="Line 6"
/>
<use
xlinkHref="#path1_stroke"
transform="rotate(-45 2914.276 -6421.134)"
fill="#494949"
id="Line 6.30"
/>
<use
xlinkHref="#path1_stroke"
transform="rotate(-45 2899.791 -6427.134)"
fill="#494949"
id="Line 6.31"
/>
<use
xlinkHref="#path1_stroke"
transform="rotate(-45 2943.247 -6409.134)"
fill="#494949"
id="Line 6.1"
/>
<use
xlinkHref="#path1_stroke"
transform="rotate(-45 2957.732 -6403.134)"
fill="#494949"
id="Line 6.2"
/>
<use
xlinkHref="#path1_stroke"
transform="rotate(-45 2972.217 -6397.134)"
fill="#494949"
id="Line 6.3"
/>
<use
xlinkHref="#path1_stroke"
transform="rotate(-45 2986.703 -6391.134)"
fill="#494949"
id="Line 6.4"
/>
<use
xlinkHref="#path1_stroke"
transform="rotate(-45 3001.188 -6385.134)"
fill="#494949"
id="Line 6.5"
/>
<use
xlinkHref="#path1_stroke"
transform="rotate(-45 3015.673 -6379.134)"
fill="#494949"
id="Line 6.6"
/>
<use
xlinkHref="#path1_stroke"
transform="rotate(-45 3030.159 -6373.134)"
fill="#494949"
id="Line 6.7"
/>
<use
xlinkHref="#path1_stroke"
transform="rotate(-45 3044.644 -6367.134)"
fill="#494949"
id="Line 6.8"
/>
<use
xlinkHref="#path1_stroke"
transform="rotate(-45 3059.13 -6361.134)"
fill="#494949"
id="Line 6.9"
/>
<use
xlinkHref="#path1_stroke"
transform="rotate(-45 3073.614 -6355.134)"
fill="#494949"
id="Line 6.10"
/>
<use
xlinkHref="#path1_stroke"
transform="rotate(-45 3088.1 -6349.134)"
fill="#494949"
id="Line 6.11"
/>
<use
xlinkHref="#path1_stroke"
transform="rotate(-45 3102.585 -6343.134)"
fill="#494949"
id="Line 6.12"
/>
<use
xlinkHref="#path1_stroke"
transform="rotate(-45 3117.07 -6337.134)"
fill="#494949"
id="Line 6.13"
/>
<use
xlinkHref="#path1_stroke"
transform="rotate(-45 3131.556 -6331.134)"
fill="#494949"
id="Line 6.14"
/>
<use
xlinkHref="#path1_stroke"
transform="rotate(-45 3146.04 -6325.134)"
fill="#494949"
id="Line 6.15"
/>
<use
xlinkHref="#path1_stroke"
transform="rotate(-45 3160.526 -6319.134)"
fill="#494949"
id="Line 6.16"
/>
<use
xlinkHref="#path1_stroke"
transform="rotate(-45 3175.011 -6313.134)"
fill="#494949"
id="Line 6.17"
/>
<use
xlinkHref="#path1_stroke"
transform="rotate(-45 3189.497 -6307.134)"
fill="#494949"
id="Line 6.18"
/>
<use
xlinkHref="#path1_stroke"
transform="rotate(-45 3203.982 -6301.134)"
fill="#494949"
id="Line 6.19"
/>
<use
xlinkHref="#path1_stroke"
transform="rotate(-45 3218.467 -6295.134)"
fill="#494949"
id="Line 6.20"
/>
<use
xlinkHref="#path1_stroke"
transform="rotate(-45 3232.953 -6289.134)"
fill="#494949"
id="Line 6.21"
/>
<use
xlinkHref="#path1_stroke"
transform="rotate(-45 3247.438 -6283.134)"
fill="#494949"
id="Line 6.22"
/>
<use
xlinkHref="#path1_stroke"
transform="rotate(-45 3261.923 -6277.134)"
fill="#494949"
id="Line 6.23"
/>
<use
xlinkHref="#path1_stroke"
transform="rotate(-45 3276.408 -6271.134)"
fill="#494949"
id="Line 6.24"
/>
<use
xlinkHref="#path1_stroke"
transform="rotate(-45 3290.894 -6265.134)"
fill="#494949"
id="Line 6.25"
/>
<use
xlinkHref="#path1_stroke"
transform="rotate(-45 3305.379 -6259.134)"
fill="#494949"
id="Line 6.26"
/>
<use
xlinkHref="#path1_stroke"
transform="rotate(-45 3319.864 -6253.134)"
fill="#494949"
id="Line 6.27"
/>
<use
xlinkHref="#path1_stroke"
transform="rotate(-45 3334.35 -6247.134)"
fill="#494949"
id="Line 6.28"
/>
<use
xlinkHref="#path1_stroke"
transform="rotate(-45 2885.306 -6433.134)"
fill="#494949"
id="Line 6.32"
/>
</g>
</g>
</g>
<defs>
<path id="path0_fill" d="M 0 0L 47 0L 47 798L 0 798L 0 0Z" />
<path
id="path1_stroke"
d="M 0 -5.55112e-17L 67.8823 -5.55112e-17L 67.8823 -1L 0 -1L 0 -5.55112e-17Z"
/>
</defs>
</svg>
);

View File

@ -13,6 +13,8 @@ const Header = styled.header`
display: flex;
align-items: center;
justify-content: space-between;
position: relative;
z-index: 2;
`;
const List = styled.ul`
@ -46,7 +48,10 @@ export default () => (
<a href="#!/Download">Downloads</a>
</li>
</List>
<Logo />
{decodeURIComponent(window.location.href).split('/#!/')[1] ||
'/' !== '/' ? (
<Logo />
) : null}
<a
href="https://github.com/yldio/joyent-portal/tree/master/packages/ui-toolkit"
rel="noopener noreferrer"

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,100 @@
import React, { Component } from 'react';
import styled from 'styled-components';
import remcalc from 'remcalc';
import is from 'styled-is';
import { Parallax } from 'react-scroll-parallax';
import { H1, P } from '../';
import Gutter from './gutter';
import Plus from './plus.png';
const Wrapper = styled.section`
width: 100vw;
height: calc(100vh - ${remcalc(48)});
background: #343434;
overflow: hidden;
box-sizing: border-box;
padding-top: 15%;
`;
const Text = styled.div`
max-width: ${remcalc(786)};
margin-left: ${remcalc(100)};
padding: ${remcalc(66)};
position: relative;
z-index: 1;
box-sizing: border-box;
`;
const Img = styled.img`
position: absolute;
top: 0;
left: 0;
${is('topRight')`
left: auto;
right: 0;
`}
${is('bottomLeft')`
top: auto;
bottom: 0;
`}
${is('bottomRight')`
top: auto;
bottom: 0;
left: auto;
right: 0;
`}
`;
const gutterWidth = 47 + 70;
const windowWidth = (window || {}).outerWidth + 70;
export default class extends Component {
state = {
value: parseInt(windowWidth / gutterWidth, 10),
windowWidth
};
render() {
window.addEventListener('resize', () => {
this.setState({
windowWidth: (window || {}).outerWidth,
value: parseInt(this.state.windowWidth / gutterWidth, 10)
});
});
const array = Array.apply(null, { length: this.state.value }).map(
Number.call,
Number
);
return (
<Wrapper>
{array.map((g, i) => (
<Gutter key={g} style={{ left: gutterWidth * i }} />
))}
<Parallax offsetYMax={50} offsetYMin={-50} slowerScrollRate tag="main">
<Text>
<Img src={Plus} />
<Img topRight src={Plus} />
<Img bottomLeft src={Plus} />
<Img bottomRight src={Plus} />
<H1 white>Joyent UI Toolkit</H1>
<P white>
The Joyent UI Toolkit is a collection of carefully created design
elements, components and guidelines, for anyone developing
products within the Joyent and Triton ecosystems.
</P>
<P white style={{ marginTop: remcalc(60), position: 'absolute' }}>
Scroll down
</P>
</Text>
</Parallax>
</Wrapper>
);
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 194 B

View File

@ -2,9 +2,11 @@ import React, { Fragment } from 'react';
import { Grid, Row, Col } from 'joyent-react-styled-flexboxgrid';
import styled, { ThemeProvider } from 'styled-components';
import remcalc from 'remcalc';
import { ParallaxProvider } from 'react-scroll-parallax';
import theme from '../theme';
import Header from './header';
import Parallax from './parallax';
const Main = styled(Row)`
padding-top: ${remcalc(24)};
@ -50,24 +52,31 @@ const StyleGuideRenderer = ({
children,
toc,
hasSidebar
}) => (
<ThemeProvider theme={fullTheme}>
<Fragment>
<Header />
<Grid style={{ marginLeft: 0 }}>
<Main>
{hasSidebar && (
<Col xs={3}>
<Sidebar>{toc}</Sidebar>
</Col>
)}
<Col xs={hasSidebar ? 9 : 12} lg={hasSidebar ? 8 : 12}>
{children}
</Col>
</Main>
</Grid>
</Fragment>
</ThemeProvider>
);
}) => {
const link = decodeURIComponent(window.location.href).split('/#!/')[1] || '/';
return (
<ThemeProvider theme={fullTheme}>
<ParallaxProvider>
<Fragment>
{link === '/' ? <Parallax /> : null}
<Header />
<Grid style={{ marginLeft: 0, zIndex: 2, position: 'relative' }}>
<Main>
{hasSidebar && (
<Col xs={3}>
<Sidebar>{toc}</Sidebar>
</Col>
)}
<Col xs={hasSidebar ? 9 : 12} lg={hasSidebar ? 8 : 12}>
{children}
</Col>
</Main>
</Grid>
</Fragment>
</ParallaxProvider>
</ThemeProvider>
);
};
export default StyleGuideRenderer;

237
yarn.lock
View File

@ -298,7 +298,7 @@ acorn@^4.0.3, acorn@^4.0.4:
version "4.0.13"
resolved "https://registry.yarnpkg.com/acorn/-/acorn-4.0.13.tgz#105495ae5361d697bd195c825192e1ad7f253787"
acorn@^5.0.0, acorn@^5.0.3, acorn@^5.1.1, acorn@^5.4.1, acorn@^5.5.0:
acorn@^5.0.0, acorn@^5.0.3, acorn@^5.1.1, acorn@^5.2.1, acorn@^5.4.1, acorn@^5.5.0:
version "5.5.3"
resolved "https://registry.yarnpkg.com/acorn/-/acorn-5.5.3.tgz#f473dd47e0277a08e28e9bec5aeeb04751f0b8c9"
@ -743,6 +743,10 @@ ast-types@0.9.11:
version "0.9.11"
resolved "https://registry.yarnpkg.com/ast-types/-/ast-types-0.9.11.tgz#371177bb59232ff5ceaa1d09ee5cad705b1a5aa9"
ast-types@0.9.6:
version "0.9.6"
resolved "https://registry.yarnpkg.com/ast-types/-/ast-types-0.9.6.tgz#102c9e9e9005d3e7e3829bf0c4fa24ee862ee9b9"
ast-types@^0.11.3:
version "0.11.3"
resolved "https://registry.yarnpkg.com/ast-types/-/ast-types-0.11.3.tgz#c20757fe72ee71278ea0ff3d87e5c2ca30d9edf8"
@ -819,7 +823,13 @@ aws4@^1.2.1, aws4@^1.6.0:
version "1.6.0"
resolved "https://registry.yarnpkg.com/aws4/-/aws4-1.6.0.tgz#83ef5ca860b2b32e4a0deedee8c771b9db57471e"
axios@0.15.3, axios@0.16.2, axios@^0.16.2:
axios@0.15.3:
version "0.15.3"
resolved "https://registry.yarnpkg.com/axios/-/axios-0.15.3.tgz#2c9d638b2e191a08ea1d6cc988eadd6ba5bdc053"
dependencies:
follow-redirects "1.0.0"
axios@^0.16.2:
version "0.16.2"
resolved "https://registry.yarnpkg.com/axios/-/axios-0.16.2.tgz#ba4f92f17167dfbab40983785454b9ac149c3c6d"
dependencies:
@ -1799,6 +1809,10 @@ balanced-match@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-1.0.0.tgz#89b4d199ab2bee49de164ea02b89ce462d71b767"
base62@^1.1.0:
version "1.2.7"
resolved "https://registry.yarnpkg.com/base62/-/base62-1.2.7.tgz#5c01aad73c0124f9535cff1bdb9c4e6ccf838cfb"
base64-js@^1.0.2:
version "1.2.3"
resolved "https://registry.yarnpkg.com/base64-js/-/base64-js-1.2.3.tgz#fb13668233d9614cf5fb4bce95a9ba4096cdf801"
@ -1972,10 +1986,14 @@ breeze-async@0.1.0:
version "0.1.0"
resolved "https://registry.yarnpkg.com/breeze-async/-/breeze-async-0.1.0.tgz#ba4265949980a3d9d8bb9137a61a42e1f87da73a"
breeze-nexttick@*, breeze-nexttick@0.1.0, breeze-nexttick@0.2.1:
breeze-nexttick@*:
version "0.2.1"
resolved "https://registry.yarnpkg.com/breeze-nexttick/-/breeze-nexttick-0.2.1.tgz#1e0b82f45eab600d84f0e91f16aef8d65b2dfbab"
breeze-nexttick@0.1.0:
version "0.1.0"
resolved "https://registry.yarnpkg.com/breeze-nexttick/-/breeze-nexttick-0.1.0.tgz#d68a56655045d205cb6e36bfaf3c6b2b2c438b2a"
breeze-queue@0.2.0:
version "0.2.0"
resolved "https://registry.yarnpkg.com/breeze-queue/-/breeze-queue-0.2.0.tgz#c05155cf0244964ba89943c8dcb65729198e8239"
@ -2631,7 +2649,7 @@ command-join@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/command-join/-/command-join-2.0.0.tgz#52e8b984f4872d952ff1bdc8b98397d27c7144cf"
commander@2.15.x, commander@^2.11.0, commander@^2.9.0, commander@~2.15.0:
commander@2.15.x, commander@^2.11.0, commander@^2.5.0, commander@^2.9.0, commander@~2.15.0:
version "2.15.1"
resolved "https://registry.yarnpkg.com/commander/-/commander-2.15.1.tgz#df46e867d0fc2aec66a34662b406a9ccafff5b0f"
@ -2665,6 +2683,20 @@ commondir@^1.0.1:
version "1.0.1"
resolved "https://registry.yarnpkg.com/commondir/-/commondir-1.0.1.tgz#ddd800da0c66127393cca5950ea968a3aaf1253b"
commoner@^0.10.1:
version "0.10.8"
resolved "https://registry.yarnpkg.com/commoner/-/commoner-0.10.8.tgz#34fc3672cd24393e8bb47e70caa0293811f4f2c5"
dependencies:
commander "^2.5.0"
detective "^4.3.1"
glob "^5.0.15"
graceful-fs "^4.1.2"
iconv-lite "^0.4.5"
mkdirp "^0.5.0"
private "^0.1.6"
q "^1.1.2"
recast "^0.11.17"
compare-func@^1.3.1:
version "1.3.2"
resolved "https://registry.yarnpkg.com/compare-func/-/compare-func-1.3.2.tgz#99dd0ba457e1f9bc722b12c08ec33eeab31fa648"
@ -2971,7 +3003,11 @@ copy-webpack-plugin@^4.5.1:
p-limit "^1.0.0"
serialize-javascript "^1.4.0"
core-js@2.5.3, core-js@^1.0.0, core-js@^2.4.0, core-js@^2.4.1, core-js@^2.5.0:
core-js@^1.0.0:
version "1.2.7"
resolved "https://registry.yarnpkg.com/core-js/-/core-js-1.2.7.tgz#652294c14651db28fa93bd2d5ff2983a4f08c636"
core-js@^2.4.0, core-js@^2.4.1, core-js@^2.5.0:
version "2.5.3"
resolved "https://registry.yarnpkg.com/core-js/-/core-js-2.5.3.tgz#8acc38345824f16d8365b7c9b4259168e8ed603e"
@ -3056,7 +3092,7 @@ create-hmac@^1.1.0, create-hmac@^1.1.2, create-hmac@^1.1.4:
safe-buffer "^5.0.1"
sha.js "^2.4.8"
create-react-class@^15.5.1:
create-react-class@^15.5.1, create-react-class@^15.6.0:
version "15.6.3"
resolved "https://registry.yarnpkg.com/create-react-class/-/create-react-class-15.6.3.tgz#2d73237fb3f970ae6ebe011a9e66f46dbca80036"
dependencies:
@ -3510,6 +3546,13 @@ detect-port-alt@1.1.5:
address "^1.0.1"
debug "^2.6.0"
detective@^4.3.1:
version "4.7.1"
resolved "https://registry.yarnpkg.com/detective/-/detective-4.7.1.tgz#0eca7314338442febb6d65da54c10bb1c82b246e"
dependencies:
acorn "^5.2.1"
defined "^1.0.0"
diff@^3.2.0:
version "3.5.0"
resolved "https://registry.yarnpkg.com/diff/-/diff-3.5.0.tgz#800c0dd1e0a8bfbc95835c202ad220fe317e5a12"
@ -3758,6 +3801,13 @@ entities@^1.1.1, entities@~1.1.1:
version "1.1.1"
resolved "https://registry.yarnpkg.com/entities/-/entities-1.1.1.tgz#6e5c2d0a5621b5dadaecef80b90edfb5cd7772f0"
envify@^3.0.0:
version "3.4.1"
resolved "https://registry.yarnpkg.com/envify/-/envify-3.4.1.tgz#d7122329e8df1688ba771b12501917c9ce5cbce8"
dependencies:
jstransform "^11.0.3"
through "~2.3.4"
envir@^1.0.0:
version "1.0.1"
resolved "https://registry.yarnpkg.com/envir/-/envir-1.0.1.tgz#6f86214d081e3aeecbf92bdaecd0c5e27b06afd9"
@ -3771,7 +3821,7 @@ errno@^0.1.3, errno@~0.1.7:
dependencies:
prr "~1.0.1"
error-ex@^1.3.1:
error-ex@^1.2.0, error-ex@^1.3.1:
version "1.3.1"
resolved "https://registry.yarnpkg.com/error-ex/-/error-ex-1.3.1.tgz#f855a86ce61adc4e8621c3cda21e7a7612c3a8dc"
dependencies:
@ -4150,11 +4200,15 @@ espree@^3.5.1, espree@^3.5.4:
acorn "^5.5.0"
acorn-jsx "^3.0.0"
esprima-fb@^15001.1.0-dev-harmony-fb:
version "15001.1.0-dev-harmony-fb"
resolved "https://registry.yarnpkg.com/esprima-fb/-/esprima-fb-15001.1.0-dev-harmony-fb.tgz#30a947303c6b8d5e955bee2b99b1d233206a6901"
esprima@^2.1.0, esprima@^2.6.0:
version "2.7.3"
resolved "https://registry.yarnpkg.com/esprima/-/esprima-2.7.3.tgz#96e3b70d5779f6ad49cd032673d1c312767ba581"
esprima@^3.1.3:
esprima@^3.1.3, esprima@~3.1.0:
version "3.1.3"
resolved "https://registry.yarnpkg.com/esprima/-/esprima-3.1.3.tgz#fdca51cee6133895e3c88d535ce49dbff62a4633"
@ -4481,7 +4535,17 @@ fb-watchman@^2.0.0:
dependencies:
bser "^2.0.0"
fbjs@^0.8.1, fbjs@^0.8.16, fbjs@^0.8.5, fbjs@^0.8.9:
fbjs@^0.6.1:
version "0.6.1"
resolved "https://registry.yarnpkg.com/fbjs/-/fbjs-0.6.1.tgz#9636b7705f5ba9684d44b72f78321254afc860f7"
dependencies:
core-js "^1.0.0"
loose-envify "^1.0.0"
promise "^7.0.3"
ua-parser-js "^0.7.9"
whatwg-fetch "^0.9.0"
fbjs@^0.8.1, fbjs@^0.8.16, fbjs@^0.8.4, fbjs@^0.8.5, fbjs@^0.8.9:
version "0.8.16"
resolved "https://registry.yarnpkg.com/fbjs/-/fbjs-0.8.16.tgz#5e67432f550dc41b572bf55847b8aca64e5337db"
dependencies:
@ -4649,6 +4713,12 @@ fn-name@~1.0.1:
version "1.0.1"
resolved "https://registry.yarnpkg.com/fn-name/-/fn-name-1.0.1.tgz#de8d8a15388b33cbf2145782171f73770c6030f0"
follow-redirects@1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.0.0.tgz#8e34298cbd2e176f254effec75a1c78cc849fd37"
dependencies:
debug "^2.2.0"
follow-redirects@^1.2.3:
version "1.4.1"
resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.4.1.tgz#d8120f4518190f55aac65bb6fc7b85fcd666d6aa"
@ -4949,6 +5019,16 @@ glob-to-regexp@^0.3.0:
version "0.3.0"
resolved "https://registry.yarnpkg.com/glob-to-regexp/-/glob-to-regexp-0.3.0.tgz#8c5a1494d2066c570cc3bfe4496175acc4d502ab"
glob@^5.0.15:
version "5.0.15"
resolved "https://registry.yarnpkg.com/glob/-/glob-5.0.15.tgz#1bc936b9e02f4a603fcc222ecf7633d30b8b93b1"
dependencies:
inflight "^1.0.4"
inherits "2"
minimatch "2 || 3"
once "^1.3.0"
path-is-absolute "^1.0.0"
glob@^7.0.3, glob@^7.0.5, glob@^7.1.1, glob@^7.1.2:
version "7.1.2"
resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.2.tgz#c19c9df9a028702d678612384a6552404c636d15"
@ -5087,12 +5167,18 @@ graphql-tag@^2.8.0:
version "2.8.0"
resolved "https://registry.yarnpkg.com/graphql-tag/-/graphql-tag-2.8.0.tgz#52cdea07a842154ec11a2e840c11b977f9b835ce"
graphql@0.13.0, graphql@0.13.x, graphql@^0.13.1:
graphql@0.13.x:
version "0.13.0"
resolved "https://registry.yarnpkg.com/graphql/-/graphql-0.13.0.tgz#d1b44a282279a9ce0a6ec1037329332f4c1079b6"
dependencies:
iterall "1.1.x"
graphql@^0.13.1:
version "0.13.2"
resolved "https://registry.yarnpkg.com/graphql/-/graphql-0.13.2.tgz#4c740ae3c222823e7004096f832e7b93b2108270"
dependencies:
iterall "^1.2.1"
growly@^1.3.0:
version "1.3.0"
resolved "https://registry.yarnpkg.com/growly/-/growly-1.3.0.tgz#f10748cbe76af964b7c96c93c6bcc28af120c081"
@ -5346,7 +5432,11 @@ hoek@5.0.x, hoek@5.x.x:
version "5.0.3"
resolved "https://registry.yarnpkg.com/hoek/-/hoek-5.0.3.tgz#b71d40d943d0a95da01956b547f83c4a5b4a34ac"
hoist-non-react-statics@2.5.0, hoist-non-react-statics@^1.2.0, hoist-non-react-statics@^2.3.0, hoist-non-react-statics@^2.3.1, hoist-non-react-statics@^2.5.0:
hoist-non-react-statics@^1.2.0:
version "1.2.0"
resolved "https://registry.yarnpkg.com/hoist-non-react-statics/-/hoist-non-react-statics-1.2.0.tgz#aa448cf0986d55cc40773b17174b7dd066cb7cfb"
hoist-non-react-statics@^2.3.0, hoist-non-react-statics@^2.3.1, hoist-non-react-statics@^2.5.0:
version "2.5.0"
resolved "https://registry.yarnpkg.com/hoist-non-react-statics/-/hoist-non-react-statics-2.5.0.tgz#d2ca2dfc19c5a91c5a6615ce8e564ef0347e2a40"
@ -5526,7 +5616,7 @@ hyphenate-style-name@^1.0.0, hyphenate-style-name@^1.0.2:
version "1.0.2"
resolved "https://registry.yarnpkg.com/hyphenate-style-name/-/hyphenate-style-name-1.0.2.tgz#31160a36930adaf1fc04c6074f7eb41465d4ec4b"
iconv-lite@0.4.19, iconv-lite@^0.4.17, iconv-lite@~0.4.13:
iconv-lite@0.4.19, iconv-lite@^0.4.17, iconv-lite@^0.4.5, iconv-lite@~0.4.13:
version "0.4.19"
resolved "https://registry.yarnpkg.com/iconv-lite/-/iconv-lite-0.4.19.tgz#f7468f60135f5e5dad3399c0a81be9a1603a082b"
@ -6068,7 +6158,11 @@ is_js@^0.9.0:
version "0.9.0"
resolved "https://registry.yarnpkg.com/is_js/-/is_js-0.9.0.tgz#0ab94540502ba7afa24c856aa985561669e9c52d"
isarray@0.0.1, isarray@1.0.0, isarray@^1.0.0, isarray@~1.0.0:
isarray@0.0.1:
version "0.0.1"
resolved "https://registry.yarnpkg.com/isarray/-/isarray-0.0.1.tgz#8a18acfca9a8f4177e09abfc6038939b05d1eedf"
isarray@1.0.0, isarray@^1.0.0, isarray@~1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/isarray/-/isarray-1.0.0.tgz#bb935d48582cba168c06834957a54a3e07124f11"
@ -6185,6 +6279,10 @@ iterall@1.1.x:
version "1.1.4"
resolved "https://registry.yarnpkg.com/iterall/-/iterall-1.1.4.tgz#0db40d38fdcf53ae14dc8ec674e62ab190d52cfc"
iterall@^1.2.1:
version "1.2.2"
resolved "https://registry.yarnpkg.com/iterall/-/iterall-1.2.2.tgz#92d70deb8028e0c39ff3164fdbf4d8b088130cd7"
javascript-stringify@^1.6.0:
version "1.6.0"
resolved "https://registry.yarnpkg.com/javascript-stringify/-/javascript-stringify-1.6.0.tgz#142d111f3a6e3dae8f4a9afd77d45855b5a9cce3"
@ -6592,6 +6690,10 @@ json-loader@^0.5.4:
version "0.5.7"
resolved "https://registry.yarnpkg.com/json-loader/-/json-loader-0.5.7.tgz#dca14a70235ff82f0ac9a3abeb60d337a365185d"
json-parse-better-errors@^1.0.1:
version "1.0.1"
resolved "https://registry.yarnpkg.com/json-parse-better-errors/-/json-parse-better-errors-1.0.1.tgz#50183cd1b2d25275de069e9e71b467ac9eab973a"
json-schema-traverse@^0.3.0:
version "0.3.1"
resolved "https://registry.yarnpkg.com/json-schema-traverse/-/json-schema-traverse-0.3.1.tgz#349a6d44c53a51de89b40805c5d5e59b417d3340"
@ -6697,6 +6799,16 @@ jss@^9.8.1:
symbol-observable "^1.1.0"
warning "^3.0.0"
jstransform@^11.0.3:
version "11.0.3"
resolved "https://registry.yarnpkg.com/jstransform/-/jstransform-11.0.3.tgz#09a78993e0ae4d4ef4487f6155a91f6190cb4223"
dependencies:
base62 "^1.1.0"
commoner "^0.10.1"
esprima-fb "^15001.1.0-dev-harmony-fb"
object-assign "^2.0.0"
source-map "^0.4.2"
jsx-ast-utils@^1.4.0:
version "1.4.1"
resolved "https://registry.yarnpkg.com/jsx-ast-utils/-/jsx-ast-utils-1.4.1.tgz#3867213e8dd79bf1e8f2300c0cfc1efb182c0df1"
@ -7345,18 +7457,18 @@ minimalistic-crypto-utils@^1.0.0, minimalistic-crypto-utils@^1.0.1:
version "1.0.1"
resolved "https://registry.yarnpkg.com/minimalistic-crypto-utils/-/minimalistic-crypto-utils-1.0.1.tgz#f6c00c1c0b082246e5c4d99dfb8c7c083b2b582a"
"minimatch@2 || 3", minimatch@^3.0.0, minimatch@^3.0.2, minimatch@^3.0.3, minimatch@^3.0.4:
version "3.0.4"
resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.0.4.tgz#5166e286457f03306064be5497e8dbb0c3d32083"
dependencies:
brace-expansion "^1.1.7"
minimatch@3.0.3:
version "3.0.3"
resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.0.3.tgz#2a4e4090b96b2db06a9d7df01055a62a77c9b774"
dependencies:
brace-expansion "^1.0.0"
minimatch@^3.0.0, minimatch@^3.0.2, minimatch@^3.0.3, minimatch@^3.0.4:
version "3.0.4"
resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.0.4.tgz#5166e286457f03306064be5497e8dbb0c3d32083"
dependencies:
brace-expansion "^1.1.7"
minimist-options@^3.0.1:
version "3.0.2"
resolved "https://registry.yarnpkg.com/minimist-options/-/minimist-options-3.0.2.tgz#fba4c8191339e13ecf4d61beb03f070103f3d954"
@ -7408,7 +7520,7 @@ mkdirp@0.5.0:
dependencies:
minimist "0.0.8"
mkdirp@0.5.1, mkdirp@0.5.x, "mkdirp@>=0.5 0", mkdirp@^0.5.1, mkdirp@~0.5.0, mkdirp@~0.5.1:
mkdirp@0.5.1, mkdirp@0.5.x, "mkdirp@>=0.5 0", mkdirp@^0.5.0, mkdirp@^0.5.1, mkdirp@~0.5.0, mkdirp@~0.5.1:
version "0.5.1"
resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-0.5.1.tgz#30057438eac6cf7f8c4767f38648d6697d75c903"
dependencies:
@ -7753,6 +7865,10 @@ object-assign@4.1.1, object-assign@^4.0.1, object-assign@^4.1.0, object-assign@^
version "4.1.1"
resolved "https://registry.yarnpkg.com/object-assign/-/object-assign-4.1.1.tgz#2109adc7965887cfc05cbbd442cac8bfbb360863"
object-assign@^2.0.0:
version "2.1.1"
resolved "https://registry.yarnpkg.com/object-assign/-/object-assign-2.1.1.tgz#43c36e5d569ff8e4816c4efa8be02d26967c18aa"
object-copy@^0.1.0:
version "0.1.0"
resolved "https://registry.yarnpkg.com/object-copy/-/object-copy-0.1.0.tgz#7e7d858b781bd7c991a41ba975ed3812754e998c"
@ -8021,12 +8137,25 @@ parse-glob@^3.0.4:
is-extglob "^1.0.0"
is-glob "^2.0.0"
parse-json@3.0.0, parse-json@^2.2.0, parse-json@^3.0.0, parse-json@^4.0.0:
parse-json@^2.2.0:
version "2.2.0"
resolved "https://registry.yarnpkg.com/parse-json/-/parse-json-2.2.0.tgz#f480f40434ef80741f8469099f8dea18f55a4dc9"
dependencies:
error-ex "^1.2.0"
parse-json@^3.0.0:
version "3.0.0"
resolved "https://registry.yarnpkg.com/parse-json/-/parse-json-3.0.0.tgz#fa6f47b18e23826ead32f263e744d0e1e847fb13"
dependencies:
error-ex "^1.3.1"
parse-json@^4.0.0:
version "4.0.0"
resolved "https://registry.yarnpkg.com/parse-json/-/parse-json-4.0.0.tgz#be35f5425be1f7f6c747184f98a788cb99477ee0"
dependencies:
error-ex "^1.3.1"
json-parse-better-errors "^1.0.1"
parse-passwd@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/parse-passwd/-/parse-passwd-1.0.0.tgz#6d5b934a456993b23d37f40a382d6f1666a8e5c6"
@ -8146,7 +8275,11 @@ pez@4.x.x:
hoek "5.x.x"
nigel "3.x.x"
pify@3.0.0, pify@^2.0.0, pify@^2.3.0, pify@^3.0.0:
pify@^2.0.0, pify@^2.3.0:
version "2.3.0"
resolved "https://registry.yarnpkg.com/pify/-/pify-2.3.0.tgz#ed141a6ac043a849ea588498e7dca8b15330e90c"
pify@^3.0.0:
version "3.0.0"
resolved "https://registry.yarnpkg.com/pify/-/pify-3.0.0.tgz#e5a4acd2c101fdf3d9a4d07f0dbc4db49dd28176"
@ -8637,7 +8770,7 @@ promise@8.0.1:
dependencies:
asap "~2.0.3"
promise@^7.1.1:
promise@^7.0.3, promise@^7.1.1:
version "7.3.1"
resolved "https://registry.yarnpkg.com/promise/-/promise-7.3.1.tgz#064b72602b18f90f29192b8b1bc418ffd1ebd3bf"
dependencies:
@ -9075,6 +9208,12 @@ react-scripts@^1.1.1:
optionalDependencies:
fsevents "^1.1.3"
react-scroll-parallax@^1.3.3:
version "1.3.3"
resolved "https://registry.yarnpkg.com/react-scroll-parallax/-/react-scroll-parallax-1.3.3.tgz#b4930039b4311c62b3a9d369cebc7f30b3cffed6"
dependencies:
prop-types "^15.5.10"
react-styleguidist@^6.2.5:
version "6.5.3"
resolved "https://registry.yarnpkg.com/react-styleguidist/-/react-styleguidist-6.5.3.tgz#17abbfd14cfc4e0eb8921bb03d7cbd74836b0b5b"
@ -9145,7 +9284,24 @@ react-test-renderer@^16.2.0:
object-assign "^4.1.1"
prop-types "^15.6.0"
react@16.2.0, react@^0.14.0, react@^15.5.4, react@^16.2.0, react@~15.4.1:
react@^0.14.0:
version "0.14.9"
resolved "https://registry.yarnpkg.com/react/-/react-0.14.9.tgz#9110a6497c49d44ba1c0edd317aec29c2e0d91d1"
dependencies:
envify "^3.0.0"
fbjs "^0.6.1"
react@^15.5.4:
version "15.6.2"
resolved "https://registry.yarnpkg.com/react/-/react-15.6.2.tgz#dba0434ab439cfe82f108f0f511663908179aa72"
dependencies:
create-react-class "^15.6.0"
fbjs "^0.8.9"
loose-envify "^1.1.0"
object-assign "^4.1.0"
prop-types "^15.5.10"
react@^16.2.0:
version "16.2.0"
resolved "https://registry.yarnpkg.com/react/-/react-16.2.0.tgz#a31bd2dab89bff65d42134fa187f24d054c273ba"
dependencies:
@ -9154,6 +9310,14 @@ react@16.2.0, react@^0.14.0, react@^15.5.4, react@^16.2.0, react@~15.4.1:
object-assign "^4.1.1"
prop-types "^15.6.0"
react@~15.4.1:
version "15.4.2"
resolved "https://registry.yarnpkg.com/react/-/react-15.4.2.tgz#41f7991b26185392ba9bae96c8889e7e018397ef"
dependencies:
fbjs "^0.8.4"
loose-envify "^1.1.0"
object-assign "^4.1.0"
read-cmd-shim@^1.0.1:
version "1.0.1"
resolved "https://registry.yarnpkg.com/read-cmd-shim/-/read-cmd-shim-1.0.1.tgz#2d5d157786a37c055d22077c32c53f8329e91c7b"
@ -9259,6 +9423,15 @@ recast@0.12.6:
private "~0.1.5"
source-map "~0.5.0"
recast@^0.11.17:
version "0.11.23"
resolved "https://registry.yarnpkg.com/recast/-/recast-0.11.23.tgz#451fd3004ab1e4df9b4e4b66376b2a21912462d3"
dependencies:
ast-types "0.9.6"
esprima "~3.1.0"
private "~0.1.5"
source-map "~0.5.0"
recast@^0.12.6:
version "0.12.9"
resolved "https://registry.yarnpkg.com/recast/-/recast-0.12.9.tgz#e8e52bdb9691af462ccbd7c15d5a5113647a15f1"
@ -9360,7 +9533,11 @@ regenerate@^1.2.1:
version "1.3.3"
resolved "https://registry.yarnpkg.com/regenerate/-/regenerate-1.3.3.tgz#0c336d3980553d755c39b586ae3b20aa49c82b7f"
regenerator-runtime@0.11.1, regenerator-runtime@^0.10.0, regenerator-runtime@^0.10.5, regenerator-runtime@^0.11.0:
regenerator-runtime@^0.10.0, regenerator-runtime@^0.10.5:
version "0.10.5"
resolved "https://registry.yarnpkg.com/regenerator-runtime/-/regenerator-runtime-0.10.5.tgz#336c3efc1220adcedda2c9fab67b5a7955a33658"
regenerator-runtime@^0.11.0:
version "0.11.1"
resolved "https://registry.yarnpkg.com/regenerator-runtime/-/regenerator-runtime-0.11.1.tgz#be05ad7f9bf7d22e056f9726cee5017fbf19e2e9"
@ -10118,7 +10295,7 @@ source-map@^0.1.38:
dependencies:
amdefine ">=0.0.4"
source-map@^0.4.4:
source-map@^0.4.2, source-map@^0.4.4:
version "0.4.4"
resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.4.4.tgz#eba4f5da9c0dc999de68032d8b4f76173652036b"
dependencies:
@ -10456,7 +10633,7 @@ styled-is@1.1.2, styled-is@^1.1.2:
version "1.1.2"
resolved "https://registry.yarnpkg.com/styled-is/-/styled-is-1.1.2.tgz#f23a43249ba52ac9136c166aac1da30a5711593e"
stylis-rule-sheet@0.0.10, stylis-rule-sheet@^0.0.10:
stylis-rule-sheet@^0.0.10:
version "0.0.10"
resolved "https://registry.yarnpkg.com/stylis-rule-sheet/-/stylis-rule-sheet-0.0.10.tgz#44e64a2b076643f4b52e5ff71efc04d8c3c4a430"
@ -10706,7 +10883,7 @@ through2@^2.0.0, through2@^2.0.2, through2@^2.0.3:
readable-stream "^2.1.5"
xtend "~4.0.1"
through@2, "through@>=2.2.7 <3", through@^2.3.4, through@^2.3.6:
through@2, "through@>=2.2.7 <3", through@^2.3.4, through@^2.3.6, through@~2.3.4:
version "2.3.8"
resolved "https://registry.yarnpkg.com/through/-/through-2.3.8.tgz#0dd4c9ffaabc357960b1b724115d7e0e86a2e1f5"
@ -11531,6 +11708,10 @@ whatwg-fetch@2.0.3, whatwg-fetch@>=0.10.0:
version "2.0.3"
resolved "https://registry.yarnpkg.com/whatwg-fetch/-/whatwg-fetch-2.0.3.tgz#9c84ec2dcf68187ff00bc64e1274b442176e1c84"
whatwg-fetch@^0.9.0:
version "0.9.0"
resolved "https://registry.yarnpkg.com/whatwg-fetch/-/whatwg-fetch-0.9.0.tgz#0e3684c6cb9995b43efc9df03e4c365d95fd9cc0"
whatwg-url@^4.3.0:
version "4.8.0"
resolved "https://registry.yarnpkg.com/whatwg-url/-/whatwg-url-4.8.0.tgz#d2981aa9148c1e00a41c5a6131166ab4683bbcc0"