1
1
mirror of https://github.com/c8r/x0.git synced 2024-10-05 17:47:32 +03:00

Bump to latest styled-system with fix

This commit is contained in:
John Otander 2018-09-20 08:57:57 -06:00
parent e6e064b359
commit 808e602a00
3 changed files with 253 additions and 1 deletions

View File

@ -75,7 +75,7 @@
"semver": "^5.5.0",
"stringify-object": "^3.2.2",
"styled-components": ">=3.3.0",
"styled-system": "^3.1.3",
"styled-system": "^3.1.4",
"update-notifier": "^2.5.0",
"webpack": "^4.10.2",
"webpack-bundle-analyzer": "^2.13.1",

View File

@ -111,6 +111,258 @@ Generated by [AVA](https://ava.li).
'Hello'
## SidebarLayout renders
> Snapshot 1
[
<div
className="sc-ktHwxA fyNOzl"
>
<div
className="sc-fMiknA bDyjhZ sc-bwzfXH loXcNn sc-bdVaJa dYrRxR"
>
<button
className="sc-gzVnrw ibZhkv sc-ifAKCX bbxfHx"
onClick={Function onClick {}}
title="Toggle Menu"
>
<svg
fill="currentcolor"
height={24}
viewBox="0 0 24 24"
width={24}
>
<path
d="M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z"
/>
</svg>
</button>
<h2
className="sc-VigVT dTivBW"
>
x0
</h2>
<div
className="sc-bdVaJa hAzohM"
/>
</div>
<hr
className="sc-kgoBCf eyCujx"
/>
</div>,
<div
className="sc-fYxtnH gSsCHS sc-bwzfXH hKiLMS sc-bdVaJa iHZvIS"
>
<div
className="sc-tilXH gVEpTs"
onClick={Function onClick {}}
open={false}
>
<div
className="sc-fMiknA bDyjhZ sc-bwzfXH loXcNn sc-bdVaJa dTDQGU"
>
<h2
className="sc-VigVT gPiNJC"
>
x0
</h2>
<div
className="sc-bdVaJa LbkC"
/>
</div>
<hr
className="sc-kgoBCf eyCujx"
/>
<ul
className="sc-kafWEX kverYx"
>
<li
className="sc-feJyhm fRrBax"
>
<a
"aria-current"="page"
bg="transparent"
className="sc-iELTvK gzpHzh sc-dnqmqq fDEkIQ active"
color="inherit"
fontSize={1}
fontWeight="bold"
href="/"
is={
Function NavLink {
defaultProps: {
activeClassName: 'active',
'aria-current': 'page',
},
propTypes: {
activeClassName: Function bound checkType {
isRequired: Function bound checkType {},
},
activeStyle: Function bound checkType {
isRequired: Function bound checkType {},
},
'aria-current': Function bound checkType {
isRequired: Function bound checkType {},
},
className: Function bound checkType {
isRequired: Function bound checkType {},
},
exact: Function bound checkType {
isRequired: Function bound checkType {},
},
isActive: Function bound checkType {
isRequired: Function bound checkType {},
},
location: Function bound checkType {
isRequired: Function bound checkType {},
},
strict: Function bound checkType {
isRequired: Function bound checkType {},
},
style: Function bound checkType {
isRequired: Function bound checkType {},
},
to: Function bound checkType {},
},
}
}
onClick={Function {}}
p={2}
pl="12px"
style={{}}
w={1}
>
Index
</a>
</li>
<li
className="sc-feJyhm fRrBax"
>
<a
'aria-current'={null}
bg="transparent"
className="sc-iELTvK gzpHzh sc-dnqmqq fDEkIQ"
color="inherit"
fontSize={1}
fontWeight="bold"
href="/about"
is={
Function NavLink {
defaultProps: {
activeClassName: 'active',
'aria-current': 'page',
},
propTypes: {
activeClassName: Function bound checkType {
isRequired: Function bound checkType {},
},
activeStyle: Function bound checkType {
isRequired: Function bound checkType {},
},
'aria-current': Function bound checkType {
isRequired: Function bound checkType {},
},
className: Function bound checkType {
isRequired: Function bound checkType {},
},
exact: Function bound checkType {
isRequired: Function bound checkType {},
},
isActive: Function bound checkType {
isRequired: Function bound checkType {},
},
location: Function bound checkType {
isRequired: Function bound checkType {},
},
strict: Function bound checkType {
isRequired: Function bound checkType {},
},
style: Function bound checkType {
isRequired: Function bound checkType {},
},
to: Function bound checkType {},
},
}
}
onClick={Function {}}
p={2}
pl="12px"
style={undefined}
w={1}
>
About
</a>
</li>
</ul>
</div>
<main
className="sc-bdVaJa jCuTKA"
tabIndex={undefined}
w={1}
>
<div
className="sc-jAaTju jNgXGY sc-bdVaJa bAyxfd"
>
<div
className="sc-cIShpX dbgqBq sc-bdVaJa iHZvIS"
>
Content
</div>
<div
className="sc-bwzfXH liBCIH sc-bdVaJa gkOtLU"
>
<div
className="sc-bdVaJa LbkC"
/>
<a
className="sc-iwsKbI eAOlgS"
color="inherit"
href="/about"
is={
Function Link {
contextTypes: {
router: Function bound checkType {},
},
defaultProps: {
replace: false,
},
propTypes: {
innerRef: Function bound checkType {
isRequired: Function bound checkType {},
},
onClick: Function bound checkType {
isRequired: Function bound checkType {},
},
replace: Function bound checkType {
isRequired: Function bound checkType {},
},
target: Function bound checkType {
isRequired: Function bound checkType {},
},
to: Function bound checkType {},
},
}
}
onClick={Function {}}
py={2}
>
<div
className="sc-gqjmRU emCKSy"
>
Next:
</div>
<div
className="sc-gqjmRU entfAd"
>
About
</div>
</a>
</div>
</div>
</main>
</div>,
]
## scope.a renders
> Snapshot 1

Binary file not shown.