houdini/javascripts/src/components/common/__snapshots__/Spinner.spec.tsx.snap

166 lines
3.3 KiB
Text
Raw Normal View History

2019-04-19 15:27:56 -05:00
// Jest Snapshot v1, https://goo.gl/fbAQLP
2019-04-22 13:58:24 -05:00
exports[`Spinner has custom color 1`] = `
2019-04-19 15:27:56 -05:00
<Spinner
color="#ffffff"
size="small"
>
2020-04-23 14:06:30 -05:00
<div
role="status"
style={
2019-04-19 15:27:56 -05:00
Object {
2020-04-23 14:06:30 -05:00
"border": "3px solid #ffffff",
"borderRadius": "50%",
"borderRightColor": "transparent",
"display": "inline-block",
"height": "25px",
"verticalAlign": "text-bottom",
"width": "25px",
2019-04-19 15:27:56 -05:00
}
}
>
2020-04-23 14:06:30 -05:00
<ScreenReaderOnlyText>
<span
style={
Object {
"border": 0,
"clip": "rect(0,0,0,0)",
"height": "1px",
"margin": "-1px",
"overflow": "hidden",
"padding": 0,
"position": "absolute",
"width": "1px",
2019-04-19 15:27:56 -05:00
}
2020-04-23 14:06:30 -05:00
}
>
Loading...
</span>
</ScreenReaderOnlyText>
</div>
2019-04-19 15:27:56 -05:00
</Spinner>
`;
exports[`Spinner is large 1`] = `
<Spinner
color="currentcolor"
size="large"
>
2020-04-23 14:06:30 -05:00
<div
role="status"
style={
2019-04-19 15:27:56 -05:00
Object {
2020-04-23 14:06:30 -05:00
"border": "3px solid currentcolor",
"borderRadius": "50%",
"borderRightColor": "transparent",
"display": "inline-block",
"height": "100px",
"verticalAlign": "text-bottom",
"width": "100px",
2019-04-19 15:27:56 -05:00
}
}
>
2020-04-23 14:06:30 -05:00
<ScreenReaderOnlyText>
<span
style={
Object {
"border": 0,
"clip": "rect(0,0,0,0)",
"height": "1px",
"margin": "-1px",
"overflow": "hidden",
"padding": 0,
"position": "absolute",
"width": "1px",
2019-04-19 15:27:56 -05:00
}
2020-04-23 14:06:30 -05:00
}
>
Loading...
</span>
</ScreenReaderOnlyText>
</div>
2019-04-19 15:27:56 -05:00
</Spinner>
`;
exports[`Spinner is normal 1`] = `
<Spinner
color="currentcolor"
size="normal"
>
2020-04-23 14:06:30 -05:00
<div
role="status"
style={
2019-04-19 15:27:56 -05:00
Object {
2020-04-23 14:06:30 -05:00
"border": "3px solid currentcolor",
"borderRadius": "50%",
"borderRightColor": "transparent",
"display": "inline-block",
"height": "50px",
"verticalAlign": "text-bottom",
"width": "50px",
2019-04-19 15:27:56 -05:00
}
}
>
2020-04-23 14:06:30 -05:00
<ScreenReaderOnlyText>
<span
style={
Object {
"border": 0,
"clip": "rect(0,0,0,0)",
"height": "1px",
"margin": "-1px",
"overflow": "hidden",
"padding": 0,
"position": "absolute",
"width": "1px",
2019-04-19 15:27:56 -05:00
}
2020-04-23 14:06:30 -05:00
}
>
Loading...
</span>
</ScreenReaderOnlyText>
</div>
2019-04-19 15:27:56 -05:00
</Spinner>
`;
exports[`Spinner is small 1`] = `
<Spinner
color="currentcolor"
size="small"
>
2020-04-23 14:06:30 -05:00
<div
role="status"
style={
2019-04-19 15:27:56 -05:00
Object {
2020-04-23 14:06:30 -05:00
"border": "3px solid currentcolor",
"borderRadius": "50%",
"borderRightColor": "transparent",
"display": "inline-block",
"height": "25px",
"verticalAlign": "text-bottom",
"width": "25px",
2019-04-19 15:27:56 -05:00
}
}
>
2020-04-23 14:06:30 -05:00
<ScreenReaderOnlyText>
<span
style={
Object {
"border": 0,
"clip": "rect(0,0,0,0)",
"height": "1px",
"margin": "-1px",
"overflow": "hidden",
"padding": 0,
"position": "absolute",
"width": "1px",
2019-04-19 15:27:56 -05:00
}
2020-04-23 14:06:30 -05:00
}
>
Loading...
</span>
</ScreenReaderOnlyText>
</div>
2019-04-19 15:27:56 -05:00
</Spinner>
`;