joyent-portal/packages/my-joy-beta/src/components/create-instance/__tests__/__snapshots__/images.spec.js.snap

451 lines
8.3 KiB
Plaintext

// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`renders <Images /> without throwing 1`] = `
<form
onSubmit={undefined}
/>
`;
exports[`renders <Images Images="test" /> without throwing 1`] = `
<form
onSubmit={undefined}
/>
`;
exports[`renders <Images expanded /> without throwing 1`] = `
.c0 {
margin-bottom: 1rem;
}
.c2 {
margin-bottom: 2rem;
}
.c10 {
margin-top: 2rem;
}
.c4 {
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;
-webkit-align-items: center;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
}
.c9 {
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 {
color: rgba(73,73,73,1);
line-height: 1.5rem;
font-size: 0.9375rem;
margin: 0;
}
.c1 + p,
.c1 + small,
.c1 + h1,
.c1 + h2,
.c1 + label,
.c1 + h3,
.c1 + h4,
.c1 + h5,
.c1 + div,
.c1 + 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);
cursor: not-allowed;
pointer-events: none;
color: rgb(216,216,216);
background-color: rgb(250,250,250);
border-color: rgb(216,216,216);
}
.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;
}
.c11:focus {
background-color: rgb(250,250,250);
border-color: rgb(216,216,216);
}
.c11:hover {
background-color: rgb(250,250,250);
border-color: rgb(250,250,250);
}
.c11:active,
.c11:active:hover,
.c11:active:focus {
background-color: rgb(250,250,250);
border-color: rgb(250,250,250);
}
.c3 {
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;
}
.c5 {
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;
}
.c6 {
position: relative;
vertical-align: text-bottom;
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-align-items: center;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
}
.c7 {
display: none;
}
.c7:checked + label {
background: #3B46CC;
border: 0.0625rem solid rgb(59,70,204);
}
.c7:checked + label:after {
left: 50%;
box-shadow: 0 0 0 0.0625rem rgb(59,70,204);
}
.c7:checked + label:active {
box-shadow: none;
}
.c7:checked + label:active:after {
margin-left: -00.75rem;
}
.c8 {
outline: 0;
display: block;
width: 2.875rem;
height: 1.5rem;
position: relative;
cursor: pointer;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
box-sizing: border-box;
background: rgb(250,250,250);
border-radius: 1.4375rem;
-webkit-transition: all 0.3s ease;
transition: all 0.3s ease;
border: 0.0625rem solid rgb(216,216,216);
margin-right: 0.375rem;
}
.c8::selection {
background: none;
}
.c8:active {
box-shadow: inset 0 0 0 1.5rem rgb(216,216,216);
}
.c8:active:after {
padding-right: 0.75rem;
}
.c8:hover {
border: 0.0625rem solid rgb(59,70,204);
}
.c8:hover:after {
box-shadow: 0 0 0 0.0625rem rgb(59,70,204);
}
.c8:after,
.c8:before {
position: relative;
display: block;
content: '';
width: 50%;
height: 100%;
}
.c8:after {
left: 0;
border-radius: 2em;
background: rgb(255,255,255);
-webkit-transition: left 0.3s cubic-bezier(0.175,0.885,0.32,1.275),padding 0.3s ease,margin 0.3s ease,box-shadow 0.3s ease;
transition: left 0.3s cubic-bezier(0.175,0.885,0.32,1.275),padding 0.3s ease,margin 0.3s ease,box-shadow 0.3s ease;
box-shadow: 0 0 0 0.0625rem rgb(216,216,216);
}
.c8:active {
box-shadow: inset 0 0 0 2em rgb(216,216,216);
}
.c8:active:after {
padding-right: 0.75rem;
}
.c8:before {
display: none;
}
<form
onSubmit={undefined}
>
<div
className="c0"
>
<p
className="c1"
>
Hardware virtual machines are generally used for non-containerized applications. Infrastructure containers are generally for running any Linux image on secure, bare metal containers.
<a
href="https://docs.joyent.com/private-cloud/images"
rel="noopener noreferrer"
target="_blank"
>
Read the docs
</a>
</p>
</div>
<div
className="c2"
>
<div
className="c3"
name="vms"
role="group"
style={undefined}
>
<div
className="c4"
>
<label
className="c5"
htmlFor="Y"
>
Infrastructure Container
</label>
<div
className="c6"
>
<input
checked={undefined}
className="c7"
id="Y"
type="checkbox"
/>
<label
className="c8"
htmlFor="Y"
/>
<label
className="c5"
htmlFor="Y"
>
Hardware Virtual Machine
</label>
</div>
</div>
</div>
</div>
<div
className="c9"
/>
<div
className="c10"
>
<button
className="c11 c12 c13"
disabled={true}
href=""
type="submit"
>
Next
</button>
</div>
</form>
`;
exports[`renders <Images images=[{name: stuff, imageName: stuff}] /> without throwing 1`] = `
<form
onSubmit={undefined}
/>
`;
exports[`renders <Images isVmSelected /> without throwing 1`] = `
<form
onSubmit={undefined}
/>
`;
exports[`renders <Images loading /> without throwing 1`] = `
<form
onSubmit={undefined}
/>
`;
exports[`renders <Images pristine={false} /> without throwing 1`] = `
<form
onSubmit={undefined}
/>
`;