1228 lines
24 KiB
Plaintext
1228 lines
24 KiB
Plaintext
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
||
|
|
||
|
exports[`renders <Name /> without throwing 1`] = `
|
||
|
.c1 {
|
||
|
margin-right: 0.25rem;
|
||
|
}
|
||
|
|
||
|
.c3 {
|
||
|
margin-top: 0.25rem;
|
||
|
margin-bottom: 1rem;
|
||
|
}
|
||
|
|
||
|
.c6 {
|
||
|
margin-top: 1rem;
|
||
|
margin-bottom: 0.5rem;
|
||
|
}
|
||
|
|
||
|
.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;
|
||
|
}
|
||
|
|
||
|
.c10 {
|
||
|
font-family: sans-serif;
|
||
|
font-size: 100%;
|
||
|
line-height: 1.15;
|
||
|
margin: 0;
|
||
|
overflow: visible;
|
||
|
text-transform: none;
|
||
|
-webkit-appearance: button;
|
||
|
-moz-appearance: button;
|
||
|
appearance: button;
|
||
|
min-width: 7.5rem;
|
||
|
}
|
||
|
|
||
|
.c10::-moz-focus-inner,
|
||
|
.c10[type='button']::-moz-focus-inner,
|
||
|
.c10[type='reset']::-moz-focus-inner,
|
||
|
.c10[type='submit']::-moz-focus-inner {
|
||
|
border-style: none;
|
||
|
padding: 0;
|
||
|
}
|
||
|
|
||
|
.c10:-moz-focusring,
|
||
|
.c10[type='button']:-moz-focusring,
|
||
|
.c10[type='reset']:-moz-focusring,
|
||
|
.c10[type='submit']:-moz-focusring {
|
||
|
outline: 0.0625rem dotted ButtonText;
|
||
|
}
|
||
|
|
||
|
.c10 + button {
|
||
|
margin-left: 0.375rem;
|
||
|
}
|
||
|
|
||
|
.c9 {
|
||
|
display: inline-block;
|
||
|
}
|
||
|
|
||
|
.c8 {
|
||
|
box-sizing: border-box;
|
||
|
display: inline-block;
|
||
|
-webkit-box-pack: center;
|
||
|
-webkit-justify-content: center;
|
||
|
-ms-flex-pack: center;
|
||
|
justify-content: center;
|
||
|
-webkit-align-items: center;
|
||
|
-webkit-box-align: center;
|
||
|
-ms-flex-align: center;
|
||
|
align-items: center;
|
||
|
min-height: 3rem;
|
||
|
height: 3rem;
|
||
|
min-width: 7.5rem;
|
||
|
margin-bottom: 0.5rem;
|
||
|
margin-top: 0.5rem;
|
||
|
padding: 0.9375rem 1.125rem;
|
||
|
position: relative;
|
||
|
font-size: 0.9375rem;
|
||
|
text-align: center;
|
||
|
font-style: normal;
|
||
|
font-stretch: normal;
|
||
|
line-height: normal;
|
||
|
-webkit-letter-spacing: normal;
|
||
|
-moz-letter-spacing: normal;
|
||
|
-ms-letter-spacing: normal;
|
||
|
letter-spacing: normal;
|
||
|
text-decoration: none;
|
||
|
white-space: nowrap;
|
||
|
vertical-align: middle;
|
||
|
touch-action: manipulation;
|
||
|
cursor: pointer;
|
||
|
color: rgb(255,255,255);
|
||
|
-webkit-text-fill-color: currentcolor;
|
||
|
background-image: none;
|
||
|
background-color: rgb(59,70,204);
|
||
|
border-radius: 0.25rem;
|
||
|
border: solid 0.0625rem rgb(45,56,132);
|
||
|
color: rgb(70,70,70);
|
||
|
-webkit-text-fill-color: currentcolor;
|
||
|
background-color: rgb(255,255,255);
|
||
|
border-color: rgb(216,216,216);
|
||
|
}
|
||
|
|
||
|
.c8:focus {
|
||
|
outline: 0;
|
||
|
text-decoration: none;
|
||
|
background-color: rgb(59,70,204);
|
||
|
border-color: rgb(45,56,132);
|
||
|
}
|
||
|
|
||
|
.c8:hover {
|
||
|
background-color: rgb(72,83,217);
|
||
|
border: solid 0.0625rem rgb(45,56,132);
|
||
|
}
|
||
|
|
||
|
.c8:active,
|
||
|
.c8:active:hover,
|
||
|
.c8:active:focus {
|
||
|
background-image: none;
|
||
|
outline: 0;
|
||
|
background-color: rgb(45,56,132);
|
||
|
border-color: rgb(45,56,132);
|
||
|
}
|
||
|
|
||
|
.c8[disabled] {
|
||
|
cursor: not-allowed;
|
||
|
pointer-events: none;
|
||
|
}
|
||
|
|
||
|
.c8:focus {
|
||
|
background-color: rgb(255,255,255);
|
||
|
border-color: rgb(216,216,216);
|
||
|
}
|
||
|
|
||
|
.c8:hover {
|
||
|
background-color: rgb(247,247,247);
|
||
|
border-color: rgb(216,216,216);
|
||
|
}
|
||
|
|
||
|
.c8:active,
|
||
|
.c8:active:hover,
|
||
|
.c8:active:focus {
|
||
|
background-color: rgb(230,230,230);
|
||
|
border-color: rgb(216,216,216);
|
||
|
}
|
||
|
|
||
|
.c5 {
|
||
|
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;
|
||
|
}
|
||
|
|
||
|
.c7 {
|
||
|
color: rgba(73,73,73,1);
|
||
|
font-weight: normal;
|
||
|
line-height: 1.625rem;
|
||
|
font-size: 1.3125rem;
|
||
|
margin: 0;
|
||
|
}
|
||
|
|
||
|
.c7 + p,
|
||
|
.c7 + small,
|
||
|
.c7 + h1,
|
||
|
.c7 + h2,
|
||
|
.c7 + label,
|
||
|
.c7 + h3,
|
||
|
.c7 + h4,
|
||
|
.c7 + h5,
|
||
|
.c7 + div,
|
||
|
.c7 + span {
|
||
|
margin-top: 1.5rem;
|
||
|
}
|
||
|
|
||
|
.c4 {
|
||
|
background-color: rgb(216,216,216);
|
||
|
margin: 0;
|
||
|
height: 0.0625rem;
|
||
|
}
|
||
|
|
||
|
.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;
|
||
|
}
|
||
|
|
||
|
<form
|
||
|
onSubmit={undefined}
|
||
|
>
|
||
|
<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"
|
||
|
>
|
||
|
Instance name
|
||
|
</p>
|
||
|
</div>
|
||
|
<div
|
||
|
className="c3"
|
||
|
>
|
||
|
<div
|
||
|
className="c4 c5"
|
||
|
height="0.0625rem"
|
||
|
/>
|
||
|
</div>
|
||
|
<div
|
||
|
className="c6"
|
||
|
>
|
||
|
<h3
|
||
|
className="c7"
|
||
|
/>
|
||
|
</div>
|
||
|
<button
|
||
|
className="c8 c9 c10"
|
||
|
href=""
|
||
|
onClick={undefined}
|
||
|
type="button"
|
||
|
>
|
||
|
Edit
|
||
|
</button>
|
||
|
</form>
|
||
|
`;
|
||
|
|
||
|
exports[`renders <Name expanded /> without throwing 1`] = `
|
||
|
.c1 {
|
||
|
margin-right: 0.25rem;
|
||
|
}
|
||
|
|
||
|
.c3 {
|
||
|
margin-top: 0.25rem;
|
||
|
margin-bottom: 1rem;
|
||
|
}
|
||
|
|
||
|
.c6 {
|
||
|
margin-bottom: 1rem;
|
||
|
}
|
||
|
|
||
|
.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;
|
||
|
}
|
||
|
|
||
|
.c13 {
|
||
|
font-family: sans-serif;
|
||
|
font-size: 100%;
|
||
|
line-height: 1.15;
|
||
|
margin: 0;
|
||
|
overflow: visible;
|
||
|
text-transform: none;
|
||
|
-webkit-appearance: button;
|
||
|
-moz-appearance: button;
|
||
|
appearance: button;
|
||
|
min-width: 7.5rem;
|
||
|
}
|
||
|
|
||
|
.c13::-moz-focus-inner,
|
||
|
.c13[type='button']::-moz-focus-inner,
|
||
|
.c13[type='reset']::-moz-focus-inner,
|
||
|
.c13[type='submit']::-moz-focus-inner {
|
||
|
border-style: none;
|
||
|
padding: 0;
|
||
|
}
|
||
|
|
||
|
.c13:-moz-focusring,
|
||
|
.c13[type='button']:-moz-focusring,
|
||
|
.c13[type='reset']:-moz-focusring,
|
||
|
.c13[type='submit']:-moz-focusring {
|
||
|
outline: 0.0625rem dotted ButtonText;
|
||
|
}
|
||
|
|
||
|
.c13 + button {
|
||
|
margin-left: 0.375rem;
|
||
|
}
|
||
|
|
||
|
.c12 {
|
||
|
display: inline-block;
|
||
|
}
|
||
|
|
||
|
.c11 {
|
||
|
box-sizing: border-box;
|
||
|
display: inline-block;
|
||
|
-webkit-box-pack: center;
|
||
|
-webkit-justify-content: center;
|
||
|
-ms-flex-pack: center;
|
||
|
justify-content: center;
|
||
|
-webkit-align-items: center;
|
||
|
-webkit-box-align: center;
|
||
|
-ms-flex-align: center;
|
||
|
align-items: center;
|
||
|
min-height: 3rem;
|
||
|
height: 3rem;
|
||
|
min-width: 7.5rem;
|
||
|
margin-bottom: 0.5rem;
|
||
|
margin-top: 0.5rem;
|
||
|
padding: 0.9375rem 1.125rem;
|
||
|
position: relative;
|
||
|
font-size: 0.9375rem;
|
||
|
text-align: center;
|
||
|
font-style: normal;
|
||
|
font-stretch: normal;
|
||
|
line-height: normal;
|
||
|
-webkit-letter-spacing: normal;
|
||
|
-moz-letter-spacing: normal;
|
||
|
-ms-letter-spacing: normal;
|
||
|
letter-spacing: normal;
|
||
|
text-decoration: none;
|
||
|
white-space: nowrap;
|
||
|
vertical-align: middle;
|
||
|
touch-action: manipulation;
|
||
|
cursor: pointer;
|
||
|
color: rgb(255,255,255);
|
||
|
-webkit-text-fill-color: currentcolor;
|
||
|
background-image: none;
|
||
|
background-color: rgb(59,70,204);
|
||
|
border-radius: 0.25rem;
|
||
|
border: solid 0.0625rem rgb(45,56,132);
|
||
|
}
|
||
|
|
||
|
.c11:focus {
|
||
|
outline: 0;
|
||
|
text-decoration: none;
|
||
|
background-color: rgb(59,70,204);
|
||
|
border-color: rgb(45,56,132);
|
||
|
}
|
||
|
|
||
|
.c11:hover {
|
||
|
background-color: rgb(72,83,217);
|
||
|
border: solid 0.0625rem rgb(45,56,132);
|
||
|
}
|
||
|
|
||
|
.c11:active,
|
||
|
.c11:active:hover,
|
||
|
.c11:active:focus {
|
||
|
background-image: none;
|
||
|
outline: 0;
|
||
|
background-color: rgb(45,56,132);
|
||
|
border-color: rgb(45,56,132);
|
||
|
}
|
||
|
|
||
|
.c11[disabled] {
|
||
|
cursor: not-allowed;
|
||
|
pointer-events: none;
|
||
|
}
|
||
|
|
||
|
.c5 {
|
||
|
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;
|
||
|
}
|
||
|
|
||
|
.c4 {
|
||
|
background-color: rgb(216,216,216);
|
||
|
margin: 0;
|
||
|
height: 0.0625rem;
|
||
|
}
|
||
|
|
||
|
.c7 {
|
||
|
display: inline-block;
|
||
|
margin: 0;
|
||
|
padding: 0;
|
||
|
border: none;
|
||
|
overflow: hidden;
|
||
|
height: auto;
|
||
|
-webkit-margin-start: 0;
|
||
|
-webkit-margin-end: 0;
|
||
|
-webkit-padding-before: 0;
|
||
|
-webkit-padding-start: 0;
|
||
|
-webkit-padding-end: 0;
|
||
|
-webkit-padding-after: 0;
|
||
|
width: 100%;
|
||
|
}
|
||
|
|
||
|
.c9 {
|
||
|
box-sizing: border-box;
|
||
|
width: 100%;
|
||
|
height: 3rem;
|
||
|
min-height: 3rem;
|
||
|
margin-bottom: 0.5rem;
|
||
|
margin-top: 0.5rem;
|
||
|
padding: 0.8125rem 1.125rem;
|
||
|
border-radius: 0.25rem;
|
||
|
background-color: rgb(255,255,255);
|
||
|
border: 0.0625rem solid rgb(216,216,216);
|
||
|
color: rgba(73,73,73,1);
|
||
|
max-width: 18.75rem;
|
||
|
text-overflow: ellipsis;
|
||
|
font-size: 0.9375rem;
|
||
|
line-height: normal !important;
|
||
|
font-style: normal;
|
||
|
font-stretch: normal;
|
||
|
-webkit-appearance: none;
|
||
|
-moz-appearance: none;
|
||
|
appearance: none;
|
||
|
outline: 0;
|
||
|
}
|
||
|
|
||
|
.c9::-webkit-input-placeholder {
|
||
|
color: rgba(73,73,73,0.5);
|
||
|
}
|
||
|
|
||
|
.c9::-moz-placeholder {
|
||
|
color: rgba(73,73,73,0.5);
|
||
|
}
|
||
|
|
||
|
.c9:-ms-input-placeholder {
|
||
|
color: rgba(73,73,73,0.5);
|
||
|
}
|
||
|
|
||
|
.c9:invalid {
|
||
|
box-shadow: none;
|
||
|
}
|
||
|
|
||
|
.c9:disabled {
|
||
|
background-color: rgb(250,250,250);
|
||
|
color: rgb(216,216,216);
|
||
|
}
|
||
|
|
||
|
.c9:disabled::-webkit-input-placeholder {
|
||
|
color: rgba(73,73,73,0.5);
|
||
|
}
|
||
|
|
||
|
.c9:disabled::-moz-placeholder {
|
||
|
color: rgba(73,73,73,0.5);
|
||
|
}
|
||
|
|
||
|
.c9:disabled:-ms-input-placeholder {
|
||
|
color: rgba(73,73,73,0.5);
|
||
|
}
|
||
|
|
||
|
.c9:focus {
|
||
|
border-color: rgb(59,70,204);
|
||
|
outline: 0;
|
||
|
}
|
||
|
|
||
|
.c8 {
|
||
|
font-size: 0.9375rem;
|
||
|
font-style: normal;
|
||
|
font-stretch: normal;
|
||
|
display: block;
|
||
|
color: rgb(70,70,70);
|
||
|
text-align: left;
|
||
|
margin-right: 0.75rem;
|
||
|
font-weight: bold;
|
||
|
white-space: pre;
|
||
|
font-size: 0.8125rem;
|
||
|
}
|
||
|
|
||
|
.c10 {
|
||
|
font-size: 0.9375rem;
|
||
|
font-style: normal;
|
||
|
font-stretch: normal;
|
||
|
display: block;
|
||
|
color: rgb(70,70,70);
|
||
|
text-align: left;
|
||
|
float: right;
|
||
|
font-size: 0.8125rem;
|
||
|
float: none;
|
||
|
margin-left: 1.75rem;
|
||
|
}
|
||
|
|
||
|
.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;
|
||
|
}
|
||
|
|
||
|
<form
|
||
|
onSubmit={undefined}
|
||
|
>
|
||
|
<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"
|
||
|
>
|
||
|
Instance name
|
||
|
</p>
|
||
|
</div>
|
||
|
<div
|
||
|
className="c3"
|
||
|
>
|
||
|
<div
|
||
|
className="c4 c5"
|
||
|
height="0.0625rem"
|
||
|
/>
|
||
|
</div>
|
||
|
<div
|
||
|
className="c6"
|
||
|
>
|
||
|
<p
|
||
|
className="c2"
|
||
|
>
|
||
|
Your instance name will be used to identify this specific instance.
|
||
|
</p>
|
||
|
</div>
|
||
|
<div
|
||
|
className="c7"
|
||
|
name="name"
|
||
|
role="group"
|
||
|
style={undefined}
|
||
|
>
|
||
|
<label
|
||
|
className="c8"
|
||
|
htmlFor="Y"
|
||
|
>
|
||
|
Name
|
||
|
</label>
|
||
|
<input
|
||
|
className="c9"
|
||
|
disabled={false}
|
||
|
id="Y"
|
||
|
/>
|
||
|
<label
|
||
|
className="c10"
|
||
|
/>
|
||
|
</div>
|
||
|
<button
|
||
|
className="c11 c12 c13"
|
||
|
disabled={undefined}
|
||
|
href=""
|
||
|
type="submit"
|
||
|
>
|
||
|
Next
|
||
|
</button>
|
||
|
</form>
|
||
|
`;
|
||
|
|
||
|
exports[`renders <Name name="test" /> without throwing 1`] = `
|
||
|
.c1 {
|
||
|
margin-right: 0.25rem;
|
||
|
}
|
||
|
|
||
|
.c3 {
|
||
|
margin-top: 0.25rem;
|
||
|
margin-bottom: 1rem;
|
||
|
}
|
||
|
|
||
|
.c6 {
|
||
|
margin-top: 1rem;
|
||
|
margin-bottom: 0.5rem;
|
||
|
}
|
||
|
|
||
|
.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;
|
||
|
}
|
||
|
|
||
|
.c10 {
|
||
|
font-family: sans-serif;
|
||
|
font-size: 100%;
|
||
|
line-height: 1.15;
|
||
|
margin: 0;
|
||
|
overflow: visible;
|
||
|
text-transform: none;
|
||
|
-webkit-appearance: button;
|
||
|
-moz-appearance: button;
|
||
|
appearance: button;
|
||
|
min-width: 7.5rem;
|
||
|
}
|
||
|
|
||
|
.c10::-moz-focus-inner,
|
||
|
.c10[type='button']::-moz-focus-inner,
|
||
|
.c10[type='reset']::-moz-focus-inner,
|
||
|
.c10[type='submit']::-moz-focus-inner {
|
||
|
border-style: none;
|
||
|
padding: 0;
|
||
|
}
|
||
|
|
||
|
.c10:-moz-focusring,
|
||
|
.c10[type='button']:-moz-focusring,
|
||
|
.c10[type='reset']:-moz-focusring,
|
||
|
.c10[type='submit']:-moz-focusring {
|
||
|
outline: 0.0625rem dotted ButtonText;
|
||
|
}
|
||
|
|
||
|
.c10 + button {
|
||
|
margin-left: 0.375rem;
|
||
|
}
|
||
|
|
||
|
.c9 {
|
||
|
display: inline-block;
|
||
|
}
|
||
|
|
||
|
.c8 {
|
||
|
box-sizing: border-box;
|
||
|
display: inline-block;
|
||
|
-webkit-box-pack: center;
|
||
|
-webkit-justify-content: center;
|
||
|
-ms-flex-pack: center;
|
||
|
justify-content: center;
|
||
|
-webkit-align-items: center;
|
||
|
-webkit-box-align: center;
|
||
|
-ms-flex-align: center;
|
||
|
align-items: center;
|
||
|
min-height: 3rem;
|
||
|
height: 3rem;
|
||
|
min-width: 7.5rem;
|
||
|
margin-bottom: 0.5rem;
|
||
|
margin-top: 0.5rem;
|
||
|
padding: 0.9375rem 1.125rem;
|
||
|
position: relative;
|
||
|
font-size: 0.9375rem;
|
||
|
text-align: center;
|
||
|
font-style: normal;
|
||
|
font-stretch: normal;
|
||
|
line-height: normal;
|
||
|
-webkit-letter-spacing: normal;
|
||
|
-moz-letter-spacing: normal;
|
||
|
-ms-letter-spacing: normal;
|
||
|
letter-spacing: normal;
|
||
|
text-decoration: none;
|
||
|
white-space: nowrap;
|
||
|
vertical-align: middle;
|
||
|
touch-action: manipulation;
|
||
|
cursor: pointer;
|
||
|
color: rgb(255,255,255);
|
||
|
-webkit-text-fill-color: currentcolor;
|
||
|
background-image: none;
|
||
|
background-color: rgb(59,70,204);
|
||
|
border-radius: 0.25rem;
|
||
|
border: solid 0.0625rem rgb(45,56,132);
|
||
|
color: rgb(70,70,70);
|
||
|
-webkit-text-fill-color: currentcolor;
|
||
|
background-color: rgb(255,255,255);
|
||
|
border-color: rgb(216,216,216);
|
||
|
}
|
||
|
|
||
|
.c8:focus {
|
||
|
outline: 0;
|
||
|
text-decoration: none;
|
||
|
background-color: rgb(59,70,204);
|
||
|
border-color: rgb(45,56,132);
|
||
|
}
|
||
|
|
||
|
.c8:hover {
|
||
|
background-color: rgb(72,83,217);
|
||
|
border: solid 0.0625rem rgb(45,56,132);
|
||
|
}
|
||
|
|
||
|
.c8:active,
|
||
|
.c8:active:hover,
|
||
|
.c8:active:focus {
|
||
|
background-image: none;
|
||
|
outline: 0;
|
||
|
background-color: rgb(45,56,132);
|
||
|
border-color: rgb(45,56,132);
|
||
|
}
|
||
|
|
||
|
.c8[disabled] {
|
||
|
cursor: not-allowed;
|
||
|
pointer-events: none;
|
||
|
}
|
||
|
|
||
|
.c8:focus {
|
||
|
background-color: rgb(255,255,255);
|
||
|
border-color: rgb(216,216,216);
|
||
|
}
|
||
|
|
||
|
.c8:hover {
|
||
|
background-color: rgb(247,247,247);
|
||
|
border-color: rgb(216,216,216);
|
||
|
}
|
||
|
|
||
|
.c8:active,
|
||
|
.c8:active:hover,
|
||
|
.c8:active:focus {
|
||
|
background-color: rgb(230,230,230);
|
||
|
border-color: rgb(216,216,216);
|
||
|
}
|
||
|
|
||
|
.c5 {
|
||
|
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;
|
||
|
}
|
||
|
|
||
|
.c7 {
|
||
|
color: rgba(73,73,73,1);
|
||
|
font-weight: normal;
|
||
|
line-height: 1.625rem;
|
||
|
font-size: 1.3125rem;
|
||
|
margin: 0;
|
||
|
}
|
||
|
|
||
|
.c7 + p,
|
||
|
.c7 + small,
|
||
|
.c7 + h1,
|
||
|
.c7 + h2,
|
||
|
.c7 + label,
|
||
|
.c7 + h3,
|
||
|
.c7 + h4,
|
||
|
.c7 + h5,
|
||
|
.c7 + div,
|
||
|
.c7 + span {
|
||
|
margin-top: 1.5rem;
|
||
|
}
|
||
|
|
||
|
.c4 {
|
||
|
background-color: rgb(216,216,216);
|
||
|
margin: 0;
|
||
|
height: 0.0625rem;
|
||
|
}
|
||
|
|
||
|
.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;
|
||
|
}
|
||
|
|
||
|
<form
|
||
|
onSubmit={undefined}
|
||
|
>
|
||
|
<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"
|
||
|
>
|
||
|
Instance name
|
||
|
</p>
|
||
|
</div>
|
||
|
<div
|
||
|
className="c3"
|
||
|
>
|
||
|
<div
|
||
|
className="c4 c5"
|
||
|
height="0.0625rem"
|
||
|
/>
|
||
|
</div>
|
||
|
<div
|
||
|
className="c6"
|
||
|
>
|
||
|
<h3
|
||
|
className="c7"
|
||
|
>
|
||
|
test
|
||
|
</h3>
|
||
|
</div>
|
||
|
<button
|
||
|
className="c8 c9 c10"
|
||
|
href=""
|
||
|
onClick={undefined}
|
||
|
type="button"
|
||
|
>
|
||
|
Edit
|
||
|
</button>
|
||
|
</form>
|
||
|
`;
|
||
|
|
||
|
exports[`renders <Name pristine={false} /> without throwing 1`] = `
|
||
|
.c1 {
|
||
|
margin-right: 0.25rem;
|
||
|
}
|
||
|
|
||
|
.c3 {
|
||
|
margin-top: 0.25rem;
|
||
|
margin-bottom: 1rem;
|
||
|
}
|
||
|
|
||
|
.c6 {
|
||
|
margin-top: 1rem;
|
||
|
margin-bottom: 0.5rem;
|
||
|
}
|
||
|
|
||
|
.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;
|
||
|
}
|
||
|
|
||
|
.c10 {
|
||
|
font-family: sans-serif;
|
||
|
font-size: 100%;
|
||
|
line-height: 1.15;
|
||
|
margin: 0;
|
||
|
overflow: visible;
|
||
|
text-transform: none;
|
||
|
-webkit-appearance: button;
|
||
|
-moz-appearance: button;
|
||
|
appearance: button;
|
||
|
min-width: 7.5rem;
|
||
|
}
|
||
|
|
||
|
.c10::-moz-focus-inner,
|
||
|
.c10[type='button']::-moz-focus-inner,
|
||
|
.c10[type='reset']::-moz-focus-inner,
|
||
|
.c10[type='submit']::-moz-focus-inner {
|
||
|
border-style: none;
|
||
|
padding: 0;
|
||
|
}
|
||
|
|
||
|
.c10:-moz-focusring,
|
||
|
.c10[type='button']:-moz-focusring,
|
||
|
.c10[type='reset']:-moz-focusring,
|
||
|
.c10[type='submit']:-moz-focusring {
|
||
|
outline: 0.0625rem dotted ButtonText;
|
||
|
}
|
||
|
|
||
|
.c10 + button {
|
||
|
margin-left: 0.375rem;
|
||
|
}
|
||
|
|
||
|
.c9 {
|
||
|
display: inline-block;
|
||
|
}
|
||
|
|
||
|
.c8 {
|
||
|
box-sizing: border-box;
|
||
|
display: inline-block;
|
||
|
-webkit-box-pack: center;
|
||
|
-webkit-justify-content: center;
|
||
|
-ms-flex-pack: center;
|
||
|
justify-content: center;
|
||
|
-webkit-align-items: center;
|
||
|
-webkit-box-align: center;
|
||
|
-ms-flex-align: center;
|
||
|
align-items: center;
|
||
|
min-height: 3rem;
|
||
|
height: 3rem;
|
||
|
min-width: 7.5rem;
|
||
|
margin-bottom: 0.5rem;
|
||
|
margin-top: 0.5rem;
|
||
|
padding: 0.9375rem 1.125rem;
|
||
|
position: relative;
|
||
|
font-size: 0.9375rem;
|
||
|
text-align: center;
|
||
|
font-style: normal;
|
||
|
font-stretch: normal;
|
||
|
line-height: normal;
|
||
|
-webkit-letter-spacing: normal;
|
||
|
-moz-letter-spacing: normal;
|
||
|
-ms-letter-spacing: normal;
|
||
|
letter-spacing: normal;
|
||
|
text-decoration: none;
|
||
|
white-space: nowrap;
|
||
|
vertical-align: middle;
|
||
|
touch-action: manipulation;
|
||
|
cursor: pointer;
|
||
|
color: rgb(255,255,255);
|
||
|
-webkit-text-fill-color: currentcolor;
|
||
|
background-image: none;
|
||
|
background-color: rgb(59,70,204);
|
||
|
border-radius: 0.25rem;
|
||
|
border: solid 0.0625rem rgb(45,56,132);
|
||
|
color: rgb(70,70,70);
|
||
|
-webkit-text-fill-color: currentcolor;
|
||
|
background-color: rgb(255,255,255);
|
||
|
border-color: rgb(216,216,216);
|
||
|
}
|
||
|
|
||
|
.c8:focus {
|
||
|
outline: 0;
|
||
|
text-decoration: none;
|
||
|
background-color: rgb(59,70,204);
|
||
|
border-color: rgb(45,56,132);
|
||
|
}
|
||
|
|
||
|
.c8:hover {
|
||
|
background-color: rgb(72,83,217);
|
||
|
border: solid 0.0625rem rgb(45,56,132);
|
||
|
}
|
||
|
|
||
|
.c8:active,
|
||
|
.c8:active:hover,
|
||
|
.c8:active:focus {
|
||
|
background-image: none;
|
||
|
outline: 0;
|
||
|
background-color: rgb(45,56,132);
|
||
|
border-color: rgb(45,56,132);
|
||
|
}
|
||
|
|
||
|
.c8[disabled] {
|
||
|
cursor: not-allowed;
|
||
|
pointer-events: none;
|
||
|
}
|
||
|
|
||
|
.c8:focus {
|
||
|
background-color: rgb(255,255,255);
|
||
|
border-color: rgb(216,216,216);
|
||
|
}
|
||
|
|
||
|
.c8:hover {
|
||
|
background-color: rgb(247,247,247);
|
||
|
border-color: rgb(216,216,216);
|
||
|
}
|
||
|
|
||
|
.c8:active,
|
||
|
.c8:active:hover,
|
||
|
.c8:active:focus {
|
||
|
background-color: rgb(230,230,230);
|
||
|
border-color: rgb(216,216,216);
|
||
|
}
|
||
|
|
||
|
.c5 {
|
||
|
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;
|
||
|
}
|
||
|
|
||
|
.c7 {
|
||
|
color: rgba(73,73,73,1);
|
||
|
font-weight: normal;
|
||
|
line-height: 1.625rem;
|
||
|
font-size: 1.3125rem;
|
||
|
margin: 0;
|
||
|
}
|
||
|
|
||
|
.c7 + p,
|
||
|
.c7 + small,
|
||
|
.c7 + h1,
|
||
|
.c7 + h2,
|
||
|
.c7 + label,
|
||
|
.c7 + h3,
|
||
|
.c7 + h4,
|
||
|
.c7 + h5,
|
||
|
.c7 + div,
|
||
|
.c7 + span {
|
||
|
margin-top: 1.5rem;
|
||
|
}
|
||
|
|
||
|
.c4 {
|
||
|
background-color: rgb(216,216,216);
|
||
|
margin: 0;
|
||
|
height: 0.0625rem;
|
||
|
}
|
||
|
|
||
|
.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;
|
||
|
}
|
||
|
|
||
|
<form
|
||
|
onSubmit={undefined}
|
||
|
>
|
||
|
<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"
|
||
|
>
|
||
|
Instance name
|
||
|
</p>
|
||
|
</div>
|
||
|
<div
|
||
|
className="c3"
|
||
|
>
|
||
|
<div
|
||
|
className="c4 c5"
|
||
|
height="0.0625rem"
|
||
|
/>
|
||
|
</div>
|
||
|
<div
|
||
|
className="c6"
|
||
|
>
|
||
|
<h3
|
||
|
className="c7"
|
||
|
/>
|
||
|
</div>
|
||
|
<button
|
||
|
className="c8 c9 c10"
|
||
|
href=""
|
||
|
onClick={undefined}
|
||
|
type="button"
|
||
|
>
|
||
|
Edit
|
||
|
</button>
|
||
|
</form>
|
||
|
`;
|