2018-01-08 21:08:01 +02:00
|
|
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
|
|
|
|
exports[`renders <Toolbar /> without throwing 1`] = `
|
|
|
|
Array [
|
|
|
|
.c2 {
|
|
|
|
color: rgba(73,73,73,1);
|
|
|
|
line-height: 1.5rem;
|
|
|
|
font-size: 0.9375rem;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.c2 + p,
|
|
|
|
.c2 + small,
|
|
|
|
.c2 + h1,
|
|
|
|
.c2 + h2,
|
|
|
|
.c2 + label,
|
|
|
|
.c2 + h3,
|
|
|
|
.c2 + h4,
|
|
|
|
.c2 + h5,
|
|
|
|
.c2 + div,
|
|
|
|
.c2 + span {
|
|
|
|
padding-bottom: 2.25rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.c0 {
|
|
|
|
display: -webkit-box;
|
|
|
|
display: -webkit-flex;
|
|
|
|
display: -ms-flexbox;
|
|
|
|
display: flex;
|
|
|
|
-webkit-flex-direction: row;
|
|
|
|
-ms-flex-direction: row;
|
|
|
|
flex-direction: row;
|
|
|
|
-webkit-flex-wrap: nowrap;
|
|
|
|
-ms-flex-wrap: nowrap;
|
|
|
|
flex-wrap: nowrap;
|
|
|
|
-webkit-box-pack: start;
|
|
|
|
-webkit-justify-content: flex-start;
|
|
|
|
-ms-flex-pack: start;
|
|
|
|
justify-content: flex-start;
|
|
|
|
-webkit-align-content: stretch;
|
|
|
|
-ms-flex-line-pack: stretch;
|
|
|
|
align-content: stretch;
|
|
|
|
}
|
|
|
|
|
|
|
|
.c1 {
|
|
|
|
margin-right: 0.25rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
<div
|
|
|
|
className="c0"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
className="c1"
|
|
|
|
/>
|
|
|
|
<p
|
|
|
|
className="c2"
|
|
|
|
/>
|
|
|
|
</div>,
|
|
|
|
.c2 {
|
|
|
|
box-sizing: border-box;
|
|
|
|
display: -webkit-box;
|
|
|
|
display: -webkit-flex;
|
|
|
|
display: -ms-flexbox;
|
|
|
|
display: flex;
|
|
|
|
-webkit-flex: 0 1 auto;
|
|
|
|
-ms-flex: 0 1 auto;
|
|
|
|
flex: 0 1 auto;
|
|
|
|
-webkit-flex-direction: row;
|
|
|
|
-ms-flex-direction: row;
|
|
|
|
flex-direction: row;
|
|
|
|
-webkit-flex-wrap: wrap;
|
|
|
|
-ms-flex-wrap: wrap;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
margin-right: -0.5rem;
|
|
|
|
margin-left: -0.5rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.c1 {
|
|
|
|
background-color: rgb(216,216,216);
|
|
|
|
margin: 0;
|
|
|
|
height: 0.0625rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.c0 {
|
|
|
|
margin-top: 0.25rem;
|
|
|
|
margin-bottom: 1rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
<div
|
|
|
|
className="c0"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
className="c1 c2"
|
|
|
|
height="0.0625rem"
|
|
|
|
/>
|
|
|
|
</div>,
|
|
|
|
]
|
|
|
|
`;
|
|
|
|
|
|
|
|
exports[`renders <Toolbar icon="NameIcon"/> without throwing 1`] = `
|
|
|
|
Array [
|
|
|
|
.c2 {
|
|
|
|
color: rgba(73,73,73,1);
|
|
|
|
line-height: 1.5rem;
|
|
|
|
font-size: 0.9375rem;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.c2 + p,
|
|
|
|
.c2 + small,
|
|
|
|
.c2 + h1,
|
|
|
|
.c2 + h2,
|
|
|
|
.c2 + label,
|
|
|
|
.c2 + h3,
|
|
|
|
.c2 + h4,
|
|
|
|
.c2 + h5,
|
|
|
|
.c2 + div,
|
|
|
|
.c2 + span {
|
|
|
|
padding-bottom: 2.25rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.c0 {
|
|
|
|
display: -webkit-box;
|
|
|
|
display: -webkit-flex;
|
|
|
|
display: -ms-flexbox;
|
|
|
|
display: flex;
|
|
|
|
-webkit-flex-direction: row;
|
|
|
|
-ms-flex-direction: row;
|
|
|
|
flex-direction: row;
|
|
|
|
-webkit-flex-wrap: nowrap;
|
|
|
|
-ms-flex-wrap: nowrap;
|
|
|
|
flex-wrap: nowrap;
|
|
|
|
-webkit-box-pack: start;
|
|
|
|
-webkit-justify-content: flex-start;
|
|
|
|
-ms-flex-pack: start;
|
|
|
|
justify-content: flex-start;
|
|
|
|
-webkit-align-content: stretch;
|
|
|
|
-ms-flex-line-pack: stretch;
|
|
|
|
align-content: stretch;
|
|
|
|
}
|
|
|
|
|
|
|
|
.c1 {
|
|
|
|
margin-right: 0.25rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
<div
|
|
|
|
className="c0"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
className="c1"
|
|
|
|
>
|
|
|
|
<svg
|
|
|
|
className=""
|
|
|
|
height="17"
|
|
|
|
style={
|
|
|
|
Object {
|
|
|
|
"transform": "rotate(0deg)",
|
|
|
|
}
|
|
|
|
}
|
|
|
|
version="1.1"
|
|
|
|
viewBox="0 0 16.24 13.55"
|
|
|
|
width="17"
|
|
|
|
xmlns="http://www.w3.org/2000/svg"
|
|
|
|
xmlnsXlink="http://www.w3.org/1999/xlink"
|
|
|
|
>
|
|
|
|
<path
|
|
|
|
d="M.24,13.55c-1-2,1.39-6.73,1.52-7C4.47,1.5,6.77-.55,9,.12a2.34,2.34,0,0,1,1.4,1.16c.54,1.06-.26,2.41-1.18,4-.55.91-1.69,3.42-1.78,3.67-.37,1-.88,2.35-.52,2.86.19.28.73.34,1.14.34s1-.77,1.31-1.49c.56-1.48,1.87-4.94,4.1-4.27,1.78.53,1.27,2.56.93,3.91s-.11,1.51-.1,1.52a2.21,2.21,0,0,0,1.95-.24v1c-1.41.73-2.11.72-2.74.21-.88-.71-.48-2.19-.33-2.75.38-1.52.47-2.3-.07-2.46-.73-.22-1.6,1-2.57,3.52-.4,1.1-1.26,2.3-2.48,2.3a2.48,2.48,0,0,1-2.17-.88c-.72-1.05-.14-2.62.38-4,.09-.23,1.3-2.91,1.87-3.87s2.11-3.06.49-3.29S5.18,2.83,2.87,7.16c-1.71,3.21-1.78,5.95-1.62,6.39Z"
|
|
|
|
fill="rgba(73, 73, 73, 1)"
|
|
|
|
/>
|
|
|
|
</svg>
|
|
|
|
</div>
|
|
|
|
<p
|
|
|
|
className="c2"
|
|
|
|
/>
|
|
|
|
</div>,
|
|
|
|
.c2 {
|
|
|
|
box-sizing: border-box;
|
|
|
|
display: -webkit-box;
|
|
|
|
display: -webkit-flex;
|
|
|
|
display: -ms-flexbox;
|
|
|
|
display: flex;
|
|
|
|
-webkit-flex: 0 1 auto;
|
|
|
|
-ms-flex: 0 1 auto;
|
|
|
|
flex: 0 1 auto;
|
|
|
|
-webkit-flex-direction: row;
|
|
|
|
-ms-flex-direction: row;
|
|
|
|
flex-direction: row;
|
|
|
|
-webkit-flex-wrap: wrap;
|
|
|
|
-ms-flex-wrap: wrap;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
margin-right: -0.5rem;
|
|
|
|
margin-left: -0.5rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.c1 {
|
|
|
|
background-color: rgb(216,216,216);
|
|
|
|
margin: 0;
|
|
|
|
height: 0.0625rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.c0 {
|
|
|
|
margin-top: 0.25rem;
|
|
|
|
margin-bottom: 1rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
<div
|
|
|
|
className="c0"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
className="c1 c2"
|
|
|
|
height="0.0625rem"
|
|
|
|
/>
|
|
|
|
</div>,
|
|
|
|
]
|
|
|
|
`;
|
|
|
|
|
|
|
|
exports[`renders <Toolbar icon="Test" label="Instance name"/> without throwing 1`] = `
|
|
|
|
Array [
|
|
|
|
.c2 {
|
|
|
|
color: rgba(73,73,73,1);
|
|
|
|
line-height: 1.5rem;
|
|
|
|
font-size: 0.9375rem;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.c2 + p,
|
|
|
|
.c2 + small,
|
|
|
|
.c2 + h1,
|
|
|
|
.c2 + h2,
|
|
|
|
.c2 + label,
|
|
|
|
.c2 + h3,
|
|
|
|
.c2 + h4,
|
|
|
|
.c2 + h5,
|
|
|
|
.c2 + div,
|
|
|
|
.c2 + span {
|
|
|
|
padding-bottom: 2.25rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.c0 {
|
|
|
|
display: -webkit-box;
|
|
|
|
display: -webkit-flex;
|
|
|
|
display: -ms-flexbox;
|
|
|
|
display: flex;
|
|
|
|
-webkit-flex-direction: row;
|
|
|
|
-ms-flex-direction: row;
|
|
|
|
flex-direction: row;
|
|
|
|
-webkit-flex-wrap: nowrap;
|
|
|
|
-ms-flex-wrap: nowrap;
|
|
|
|
flex-wrap: nowrap;
|
|
|
|
-webkit-box-pack: start;
|
|
|
|
-webkit-justify-content: flex-start;
|
|
|
|
-ms-flex-pack: start;
|
|
|
|
justify-content: flex-start;
|
|
|
|
-webkit-align-content: stretch;
|
|
|
|
-ms-flex-line-pack: stretch;
|
|
|
|
align-content: stretch;
|
|
|
|
}
|
|
|
|
|
|
|
|
.c1 {
|
|
|
|
margin-right: 0.25rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
<div
|
|
|
|
className="c0"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
className="c1"
|
|
|
|
>
|
|
|
|
<svg
|
|
|
|
className=""
|
|
|
|
height="17"
|
|
|
|
style={
|
|
|
|
Object {
|
|
|
|
"transform": "rotate(0deg)",
|
|
|
|
}
|
|
|
|
}
|
|
|
|
version="1.1"
|
|
|
|
viewBox="0 0 16.24 13.55"
|
|
|
|
width="17"
|
|
|
|
xmlns="http://www.w3.org/2000/svg"
|
|
|
|
xmlnsXlink="http://www.w3.org/1999/xlink"
|
|
|
|
>
|
|
|
|
<path
|
|
|
|
d="M.24,13.55c-1-2,1.39-6.73,1.52-7C4.47,1.5,6.77-.55,9,.12a2.34,2.34,0,0,1,1.4,1.16c.54,1.06-.26,2.41-1.18,4-.55.91-1.69,3.42-1.78,3.67-.37,1-.88,2.35-.52,2.86.19.28.73.34,1.14.34s1-.77,1.31-1.49c.56-1.48,1.87-4.94,4.1-4.27,1.78.53,1.27,2.56.93,3.91s-.11,1.51-.1,1.52a2.21,2.21,0,0,0,1.95-.24v1c-1.41.73-2.11.72-2.74.21-.88-.71-.48-2.19-.33-2.75.38-1.52.47-2.3-.07-2.46-.73-.22-1.6,1-2.57,3.52-.4,1.1-1.26,2.3-2.48,2.3a2.48,2.48,0,0,1-2.17-.88c-.72-1.05-.14-2.62.38-4,.09-.23,1.3-2.91,1.87-3.87s2.11-3.06.49-3.29S5.18,2.83,2.87,7.16c-1.71,3.21-1.78,5.95-1.62,6.39Z"
|
|
|
|
fill="rgba(73, 73, 73, 1)"
|
|
|
|
/>
|
|
|
|
</svg>
|
|
|
|
</div>
|
|
|
|
<p
|
|
|
|
className="c2"
|
2018-01-09 20:14:20 +02:00
|
|
|
/>
|
2018-01-08 21:08:01 +02:00
|
|
|
</div>,
|
|
|
|
.c2 {
|
|
|
|
box-sizing: border-box;
|
|
|
|
display: -webkit-box;
|
|
|
|
display: -webkit-flex;
|
|
|
|
display: -ms-flexbox;
|
|
|
|
display: flex;
|
|
|
|
-webkit-flex: 0 1 auto;
|
|
|
|
-ms-flex: 0 1 auto;
|
|
|
|
flex: 0 1 auto;
|
|
|
|
-webkit-flex-direction: row;
|
|
|
|
-ms-flex-direction: row;
|
|
|
|
flex-direction: row;
|
|
|
|
-webkit-flex-wrap: wrap;
|
|
|
|
-ms-flex-wrap: wrap;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
margin-right: -0.5rem;
|
|
|
|
margin-left: -0.5rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.c1 {
|
|
|
|
background-color: rgb(216,216,216);
|
|
|
|
margin: 0;
|
|
|
|
height: 0.0625rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.c0 {
|
|
|
|
margin-top: 0.25rem;
|
|
|
|
margin-bottom: 1rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
<div
|
|
|
|
className="c0"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
className="c1 c2"
|
|
|
|
height="0.0625rem"
|
|
|
|
/>
|
|
|
|
</div>,
|
|
|
|
]
|
|
|
|
`;
|
|
|
|
|
|
|
|
exports[`renders <Toolbar label="Test"/> without throwing 1`] = `
|
|
|
|
Array [
|
|
|
|
.c2 {
|
|
|
|
color: rgba(73,73,73,1);
|
|
|
|
line-height: 1.5rem;
|
|
|
|
font-size: 0.9375rem;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.c2 + p,
|
|
|
|
.c2 + small,
|
|
|
|
.c2 + h1,
|
|
|
|
.c2 + h2,
|
|
|
|
.c2 + label,
|
|
|
|
.c2 + h3,
|
|
|
|
.c2 + h4,
|
|
|
|
.c2 + h5,
|
|
|
|
.c2 + div,
|
|
|
|
.c2 + span {
|
|
|
|
padding-bottom: 2.25rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.c0 {
|
|
|
|
display: -webkit-box;
|
|
|
|
display: -webkit-flex;
|
|
|
|
display: -ms-flexbox;
|
|
|
|
display: flex;
|
|
|
|
-webkit-flex-direction: row;
|
|
|
|
-ms-flex-direction: row;
|
|
|
|
flex-direction: row;
|
|
|
|
-webkit-flex-wrap: nowrap;
|
|
|
|
-ms-flex-wrap: nowrap;
|
|
|
|
flex-wrap: nowrap;
|
|
|
|
-webkit-box-pack: start;
|
|
|
|
-webkit-justify-content: flex-start;
|
|
|
|
-ms-flex-pack: start;
|
|
|
|
justify-content: flex-start;
|
|
|
|
-webkit-align-content: stretch;
|
|
|
|
-ms-flex-line-pack: stretch;
|
|
|
|
align-content: stretch;
|
|
|
|
}
|
|
|
|
|
|
|
|
.c1 {
|
|
|
|
margin-right: 0.25rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
<div
|
|
|
|
className="c0"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
className="c1"
|
|
|
|
/>
|
|
|
|
<p
|
|
|
|
className="c2"
|
2018-01-09 20:14:20 +02:00
|
|
|
/>
|
2018-01-08 21:08:01 +02:00
|
|
|
</div>,
|
|
|
|
.c2 {
|
|
|
|
box-sizing: border-box;
|
|
|
|
display: -webkit-box;
|
|
|
|
display: -webkit-flex;
|
|
|
|
display: -ms-flexbox;
|
|
|
|
display: flex;
|
|
|
|
-webkit-flex: 0 1 auto;
|
|
|
|
-ms-flex: 0 1 auto;
|
|
|
|
flex: 0 1 auto;
|
|
|
|
-webkit-flex-direction: row;
|
|
|
|
-ms-flex-direction: row;
|
|
|
|
flex-direction: row;
|
|
|
|
-webkit-flex-wrap: wrap;
|
|
|
|
-ms-flex-wrap: wrap;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
margin-right: -0.5rem;
|
|
|
|
margin-left: -0.5rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.c1 {
|
|
|
|
background-color: rgb(216,216,216);
|
|
|
|
margin: 0;
|
|
|
|
height: 0.0625rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.c0 {
|
|
|
|
margin-top: 0.25rem;
|
|
|
|
margin-bottom: 1rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
<div
|
|
|
|
className="c0"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
className="c1 c2"
|
|
|
|
height="0.0625rem"
|
|
|
|
/>
|
|
|
|
</div>,
|
|
|
|
]
|
|
|
|
`;
|