joyent-portal/packages/my-joyent/src/components/filters/__tests__/__snapshots__/filters.spec.js.snap

839 lines
18 KiB
Plaintext

// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`renders <Filters /> without throwing 1`] = `
.c6 {
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;
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;
margin: 0;
padding: 0.9375rem 1.125rem;
position: relative;
font-family: "Libre Franklin",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica,sans-serif;
font-weight: 400;
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;
background-image: none;
border-radius: 0.25rem;
border: solid 0.0625rem;
font-weight: 600;
padding: 0.5625rem 1.125rem;
font-weight: 600;
}
.c6::-moz-focus-inner,
.c6[type='button']::-moz-focus-inner,
.c6[type='reset']::-moz-focus-inner,
.c6[type='submit']::-moz-focus-inner {
border-style: none;
padding: 0;
}
.c6:-moz-focusring,
.c6[type='button']:-moz-focusring,
.c6[type='reset']:-moz-focusring,
.c6[type='submit']:-moz-focusring {
outline: 0.0625rem dotted ButtonText;
}
.c6:focus {
outline: 0;
text-decoration: none;
}
.c6:hover {
border: solid 0.0625rem;
}
.c6:active,
.c6:active:hover,
.c6:active:focus {
background-image: none;
outline: 0;
}
.c6[disabled] {
cursor: not-allowed;
pointer-events: none;
}
.c6 + button {
margin-left: 1.25rem;
}
.c7 {
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;
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;
margin: 0;
padding: 0.9375rem 1.125rem;
position: relative;
font-family: "Libre Franklin",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica,sans-serif;
font-weight: 400;
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;
background-image: none;
border-radius: 0.25rem;
border: solid 0.0625rem;
padding: 0.5625rem 1.125rem;
font-weight: 600;
}
.c7::-moz-focus-inner,
.c7[type='button']::-moz-focus-inner,
.c7[type='reset']::-moz-focus-inner,
.c7[type='submit']::-moz-focus-inner {
border-style: none;
padding: 0;
}
.c7:-moz-focusring,
.c7[type='button']:-moz-focusring,
.c7[type='reset']:-moz-focusring,
.c7[type='submit']:-moz-focusring {
outline: 0.0625rem dotted ButtonText;
}
.c7:focus {
outline: 0;
text-decoration: none;
}
.c7:hover {
border: solid 0.0625rem;
}
.c7:active,
.c7:active:hover,
.c7:active:focus {
background-image: none;
outline: 0;
}
.c7[disabled] {
cursor: not-allowed;
pointer-events: none;
}
.c7 + button {
margin-left: 1.25rem;
}
.c1 {
font-family: "Libre Franklin",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica,sans-serif;
font-weight: 400;
font-size: 0.9375rem;
font-style: normal;
font-stretch: normal;
display: block;
margin-right: 0.75rem;
font-weight: bold;
}
.c3 .input-range {
position: relative;
width: calc(100% - 18px);
margin: auto;
min-height: 0.625rem;
}
.c3 .slider {
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
background: #FFFFFF;
border: 2px solid #bdbdbd;
border-radius: 50%;
cursor: pointer;
display: block;
height: 0.875rem;
width: 0.875rem;
-webkit-transform: translateY(-50%) translateX(-50%);
-ms-transform: translateY(-50%) translateX(-50%);
transform: translateY(-50%) translateX(-50%);
outline: none;
position: absolute;
top: 50%;
margin-top: 0.125rem;
}
.c3 .slider::active {
-webkit-transform: scale(1.3);
-ms-transform: scale(1.3);
transform: scale(1.3);
}
.c3 .slider::focus {
box-shadow: 0 0 0 5px rgba(63,81,181,0.2);
}
.c3 .disabled .track {
background: #D8D8D8;
}
.c3 .disabled .slider {
background: #CCC;
border: 1px solid #CCC;
box-shadow: none;
-webkit-transform: none;
-ms-transform: none;
transform: none;
}
.c3 .min,
.c3 .max {
display: none;
}
.c3 .value {
top: 0.5rem;
position: absolute;
}
.c3 .value .label-container {
font-weight: 600;
font-size: 0.625rem;
color: #464646;
left: -50%;
position: relative;
}
.c3 .track {
background: #D8D8D8;
cursor: pointer;
display: block;
height: 0.25rem;
position: relative;
}
.c3 .active-track {
background: #364ACD;
height: 100%;
position: absolute;
}
.c4 {
margin-bottom: 0.625rem;
margin-top: 0.75rem;
}
.c2 {
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
}
.c2 > div {
-webkit-flex-grow: 1;
-ms-flex-grow: 1;
flex-grow: 1;
}
.c2 > div:not(:last-child) {
margin-right: 2.25rem;
}
.c5 {
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-box-pack: justify;
-webkit-justify-content: space-between;
-ms-flex-pack: justify;
justify-content: space-between;
width: 100%;
margin-top: 2.25rem;
}
.c0 {
width: 100%;
}
<section
className="c0"
>
<label
className="c1"
htmlFor=""
>
Choose a package
</label>
<section
className="c2"
>
<div
className="c3"
>
<label
className="c4 c1"
htmlFor=""
>
GB RAM
</label>
<div
aria-disabled={false}
className="input-range"
onKeyDown={[Function]}
onKeyUp={[Function]}
onMouseDown={[Function]}
onTouchStart={[Function]}
>
<span
className="min"
>
<span
className="label-container"
>
0.256
</span>
</span>
<div
className="track"
onMouseDown={[Function]}
onTouchStart={[Function]}
>
<div
className="active-track"
style={
Object {
"left": "0%",
"width": "100%",
}
}
/>
<span
className="slider-container"
style={
Object {
"left": "0%",
"position": "absolute",
}
}
>
<span
className="value"
>
<span
className="label-container"
>
0.256
</span>
</span>
<div
aria-controls={undefined}
aria-labelledby={undefined}
aria-valuemax={50.688}
aria-valuemin={0.256}
aria-valuenow={0.256}
className="slider"
draggable="false"
onKeyDown={[Function]}
onMouseDown={[Function]}
onTouchStart={[Function]}
role="slider"
tabIndex="0"
/>
</span>
<span
className="slider-container"
style={
Object {
"left": "100%",
"position": "absolute",
}
}
>
<span
className="value"
>
<span
className="label-container"
>
50.688
</span>
</span>
<div
aria-controls={undefined}
aria-labelledby={undefined}
aria-valuemax={50.688}
aria-valuemin={0.256}
aria-valuenow={50.688}
className="slider"
draggable="false"
onKeyDown={[Function]}
onMouseDown={[Function]}
onTouchStart={[Function]}
role="slider"
tabIndex="0"
/>
</span>
</div>
<span
className="max"
>
<span
className="label-container"
>
50.688
</span>
</span>
</div>
</div>
<div
className="c3"
>
<label
className="c4 c1"
htmlFor=""
>
vCPUs
</label>
<div
aria-disabled={false}
className="input-range"
onKeyDown={[Function]}
onKeyUp={[Function]}
onMouseDown={[Function]}
onTouchStart={[Function]}
>
<span
className="min"
>
<span
className="label-container"
>
0.25
</span>
</span>
<div
className="track"
onMouseDown={[Function]}
onTouchStart={[Function]}
>
<div
className="active-track"
style={
Object {
"left": "0%",
"width": "100%",
}
}
/>
<span
className="slider-container"
style={
Object {
"left": "0%",
"position": "absolute",
}
}
>
<span
className="value"
>
<span
className="label-container"
>
0.25
</span>
</span>
<div
aria-controls={undefined}
aria-labelledby={undefined}
aria-valuemax={3.25}
aria-valuemin={0.25}
aria-valuenow={0.25}
className="slider"
draggable="false"
onKeyDown={[Function]}
onMouseDown={[Function]}
onTouchStart={[Function]}
role="slider"
tabIndex="0"
/>
</span>
<span
className="slider-container"
style={
Object {
"left": "100%",
"position": "absolute",
}
}
>
<span
className="value"
>
<span
className="label-container"
>
3.25
</span>
</span>
<div
aria-controls={undefined}
aria-labelledby={undefined}
aria-valuemax={3.25}
aria-valuemin={0.25}
aria-valuenow={3.25}
className="slider"
draggable="false"
onKeyDown={[Function]}
onMouseDown={[Function]}
onTouchStart={[Function]}
role="slider"
tabIndex="0"
/>
</span>
</div>
<span
className="max"
>
<span
className="label-container"
>
3.25
</span>
</span>
</div>
</div>
<div
className="c3"
>
<label
className="c4 c1"
htmlFor=""
>
TB Disk
</label>
<div
aria-disabled={false}
className="input-range"
onKeyDown={[Function]}
onKeyUp={[Function]}
onMouseDown={[Function]}
onTouchStart={[Function]}
>
<span
className="min"
>
<span
className="label-container"
>
0.01
</span>
</span>
<div
className="track"
onMouseDown={[Function]}
onTouchStart={[Function]}
>
<div
className="active-track"
style={
Object {
"left": "0%",
"width": "100%",
}
}
/>
<span
className="slider-container"
style={
Object {
"left": "0%",
"position": "absolute",
}
}
>
<span
className="value"
>
<span
className="label-container"
>
0.01
</span>
</span>
<div
aria-controls={undefined}
aria-labelledby={undefined}
aria-valuemax={107.26}
aria-valuemin={0.01}
aria-valuenow={0.01}
className="slider"
draggable="false"
onKeyDown={[Function]}
onMouseDown={[Function]}
onTouchStart={[Function]}
role="slider"
tabIndex="0"
/>
</span>
<span
className="slider-container"
style={
Object {
"left": "100%",
"position": "absolute",
}
}
>
<span
className="value"
>
<span
className="label-container"
>
107.26
</span>
</span>
<div
aria-controls={undefined}
aria-labelledby={undefined}
aria-valuemax={107.26}
aria-valuemin={0.01}
aria-valuenow={107.26}
className="slider"
draggable="false"
onKeyDown={[Function]}
onMouseDown={[Function]}
onTouchStart={[Function]}
role="slider"
tabIndex="0"
/>
</span>
</div>
<span
className="max"
>
<span
className="label-container"
>
107.26
</span>
</span>
</div>
</div>
<div
className="c3"
>
<label
className="c4 c1"
htmlFor=""
>
$/hr
</label>
<div
aria-disabled={false}
className="input-range"
onKeyDown={[Function]}
onKeyUp={[Function]}
onMouseDown={[Function]}
onTouchStart={[Function]}
>
<span
className="min"
>
<span
className="label-container"
>
0.016
</span>
</span>
<div
className="track"
onMouseDown={[Function]}
onTouchStart={[Function]}
>
<div
className="active-track"
style={
Object {
"left": "0%",
"width": "100%",
}
}
/>
<span
className="slider-container"
style={
Object {
"left": "0%",
"position": "absolute",
}
}
>
<span
className="value"
>
<span
className="label-container"
>
0.016
</span>
</span>
<div
aria-controls={undefined}
aria-labelledby={undefined}
aria-valuemax={0.525}
aria-valuemin={0.016}
aria-valuenow={0.016}
className="slider"
draggable="false"
onKeyDown={[Function]}
onMouseDown={[Function]}
onTouchStart={[Function]}
role="slider"
tabIndex="0"
/>
</span>
<span
className="slider-container"
style={
Object {
"left": "100%",
"position": "absolute",
}
}
>
<span
className="value"
>
<span
className="label-container"
>
0.525
</span>
</span>
<div
aria-controls={undefined}
aria-labelledby={undefined}
aria-valuemax={0.525}
aria-valuemin={0.016}
aria-valuenow={0.525}
className="slider"
draggable="false"
onKeyDown={[Function]}
onMouseDown={[Function]}
onTouchStart={[Function]}
role="slider"
tabIndex="0"
/>
</span>
</div>
<span
className="max"
>
<span
className="label-container"
>
0.525
</span>
</span>
</div>
</div>
</section>
<section
className="c5"
>
<div>
<button
className="c6"
onClick={[Function]}
selected={false}
>
Compute Optimized
</button>
<button
className="c6"
onClick={[Function]}
selected={false}
>
Memory Optimized
</button>
<button
className="c6"
onClick={[Function]}
selected={false}
>
General Purpose
</button>
<button
className="c6"
onClick={[Function]}
selected={false}
>
Storage Optimized
</button>
</div>
<button
className="c7"
disabled={false}
onClick={undefined}
>
Reset Filters
</button>
</section>
</section>
`;