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

461 lines
9.6 KiB
Plaintext

// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`renders <Images /> without throwing 1`] = `
.c0 {
box-sizing: border-box;
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-flex: 1 1 auto;
-ms-flex: 1 1 auto;
flex: 1 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.625rem;
margin-left: -0.625rem;
}
<form>
<div
className="c0"
/>
</form>
`;
exports[`renders <Images Images="test" /> without throwing 1`] = `
.c0 {
box-sizing: border-box;
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-flex: 1 1 auto;
-ms-flex: 1 1 auto;
flex: 1 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.625rem;
margin-left: -0.625rem;
}
<form>
<div
className="c0"
/>
</form>
`;
exports[`renders <Images expanded /> without throwing 1`] = `
.c0 {
box-sizing: border-box;
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-flex: 1 1 auto;
-ms-flex: 1 1 auto;
flex: 1 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.625rem;
margin-left: -0.625rem;
}
<form>
<div
className="c0"
/>
</form>
`;
exports[
`renders <Images images=[{name: stuff, imageName: stuff}] /> without throwing 1`
] = `
.c0 {
box-sizing: border-box;
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-flex: 1 1 auto;
-ms-flex: 1 1 auto;
flex: 1 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.625rem;
margin-left: -0.625rem;
}
.c1 {
box-sizing: border-box;
-webkit-flex: 0 0 auto;
-ms-flex: 0 0 auto;
flex: 0 0 auto;
padding-right: 0.625rem;
padding-left: 0.625rem;
display: block;
}
.c2 {
margin-bottom: 1.125rem;
}
.c8 {
position: relative;
padding: 0.75rem;
padding-right: 1.5625rem;
}
.c8::-ms-expand {
display: none;
}
.c4 {
color: rgba(73,73,73,1);
font-weight: 600;
line-height: 1.5rem;
font-size: 0.9375rem;
margin: 0;
}
.c4 + p,
.c4 + small,
.c4 + h1,
.c4 + h2,
.c4 + label,
.c4 + h3,
.c4 + h4,
.c4 + h5,
.c4 + div,
.c4 + span {
margin-top: 0.75rem;
}
.c3 {
width: 9rem;
height: 9rem;
background: rgb(255,255,255);
border: 0.0625rem solid rgb(216,216,216);
border-radius: 0.25rem;
box-sizing: border-box;
padding-top: 0.75rem;
-webkit-align-items: center;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
-webkit-box-pack: justify;
-webkit-justify-content: space-between;
-ms-flex-pack: justify;
justify-content: space-between;
-webkit-flex-direction: column;
-ms-flex-direction: column;
flex-direction: column;
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-animation: eMLfYp 0.2s ease-in-out;
animation: eMLfYp 0.2s ease-in-out;
cursor: pointer;
}
.c5 {
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;
}
.c7 {
position: relative;
display: -webkit-inline-box;
display: -webkit-inline-flex;
display: -ms-inline-flexbox;
display: inline-flex;
width: 100%;
max-width: 100%;
min-width: 18.75rem;
}
.c7:after {
content: '';
width: 0.625rem;
height: 0.625rem;
background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iOSIgaGVpZ2h0PSI2IiB2aWV3Qm94PSIwIDAgOSA2IiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjx0aXRsZT5hcnJvdzogcmlnaHQ8L3RpdGxlPjxwYXRoIGQ9Ik05IDEuMzg2TDcuNjQ4IDAgNC41IDMuMjI4IDEuMzUyIDAgMCAxLjM4NiA0LjUgNnoiIGZpbGw9IiM0OTQ5NDkiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvc3ZnPg==) center center no-repeat;
display: block;
position: absolute;
top: 50%;
-webkit-transform: translateY(-50%);
-ms-transform: translateY(-50%);
transform: translateY(-50%);
right: 0.75rem;
pointer-events: none;
}
.c9 {
box-sizing: border-box;
width: 18.75rem;
height: 3rem;
min-height: 3rem;
padding: 0.8125rem 0.75rem;
border-radius: 0.25rem;
background-color: rgb(255,255,255);
border: 0.0625rem solid rgb(216,216,216);
color: rgba(73,73,73,1);
font-size: 0.9375rem;
line-height: normal !important;
font-style: normal;
font-stretch: normal;
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
outline: 0;
max-width: 22.1875rem;
text-overflow: ellipsis;
}
.c9:focus {
border-color: rgb(59,70,204);
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);
cursor: not-allowed;
}
.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);
}
.c6 {
min-width: 100%;
width: 9rem;
}
.c6 select {
margin: 0;
border-bottom-width: 0;
border-top-left-radius: 0;
border-top-right-radius: 0;
}
@media only screen and (min-width:48em) {
.c1 {
-webkit-flex-basis: 25%;
-ms-flex-preferred-size: 25%;
flex-basis: 25%;
max-width: 25%;
}
}
@media only screen and (min-width:64em) {
.c1 {
-webkit-flex-basis: 16.666666666666668%;
-ms-flex-preferred-size: 16.666666666666668%;
flex-basis: 16.666666666666668%;
max-width: 16.666666666666668%;
}
}
<form>
<div
className="c0"
>
<div
className="c1"
>
<div
className="c2"
>
<div
className="c3"
disabled={false}
id="image-card-stuff"
name="card"
onClick={[Function]}
>
<svg
height="42"
onClick={[Function]}
viewBox="0 0 42 42"
width="42"
xmlns="http://www.w3.org/2000/svg"
>
<title>
Artboard 1 copy 45
</title>
<path
d="M26.79 3h-18A1.29 1.29 0 0 0 7.5 4.3v33.42A1.29 1.29 0 0 0 8.79 39h24.42a1.29 1.29 0 0 0 1.29-1.29V10.53zm6.42 8.36h-7.07V4.3zm0 26.35H8.79V4.3h16.07v8.35h8.35zM30 18.44h-1.16l-7.2-3V13.3a.64.64 0 1 0-1.28 0v2.14l-7.26 3H12a1.28 1.28 0 0 0-1.29 1.28v9A1.28 1.28 0 0 0 12 30h18a1.28 1.28 0 0 0 1.29-1.28v-9A1.28 1.28 0 0 0 30 18.44zm-9-1.88l4.5 1.88h-9zm-9 12.17v-9h18v9zm3.21-7.08v5.15a.64.64 0 0 1-.64.64.64.64 0 0 1-.64-.64v-5.15a.64.64 0 0 1 .64-.64.64.64 0 0 1 .64.64zm3.22 0v5.15a.65.65 0 0 1-1.29 0v-5.15a.65.65 0 0 1 1.29 0zm3.21 0v5.15a.64.64 0 0 1-1.28 0v-5.15a.64.64 0 1 1 1.28 0zm3.22 0v5.15a.65.65 0 0 1-1.29 0v-5.15a.65.65 0 0 1 1.29 0zm3.21 0v5.15a.64.64 0 0 1-.64.64.64.64 0 0 1-.64-.64v-5.15a.64.64 0 0 1 .64-.64.64.64 0 0 1 .64.64z"
fill="#1B3240"
/>
</svg>
<h4
className="c4"
onClick={[Function]}
>
Stuff
</h4>
<div
className="baseline-jVaZNU kXgQxt c5"
name="image"
role="group"
style={undefined}
>
<div
className="c6 c7"
disabled={false}
onBlur={null}
>
<select
className="c6 c8 c9"
disabled={false}
id="k"
onBlur={null}
>
<option
selected={true}
>
Version
</option>
</select>
</div>
</div>
</div>
</div>
</div>
</div>
</form>
`;
exports[`renders <Images isVmSelected /> without throwing 1`] = `
.c0 {
box-sizing: border-box;
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-flex: 1 1 auto;
-ms-flex: 1 1 auto;
flex: 1 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.625rem;
margin-left: -0.625rem;
}
<form>
<div
className="c0"
/>
</form>
`;
exports[`renders <Images loading /> without throwing 1`] = `
.c0 {
box-sizing: border-box;
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-flex: 1 1 auto;
-ms-flex: 1 1 auto;
flex: 1 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.625rem;
margin-left: -0.625rem;
}
<form>
<div
className="c0"
/>
</form>
`;
exports[`renders <Images pristine={false} /> without throwing 1`] = `
.c0 {
box-sizing: border-box;
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-flex: 1 1 auto;
-ms-flex: 1 1 auto;
flex: 1 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.625rem;
margin-left: -0.625rem;
}
<form>
<div
className="c0"
/>
</form>
`;