joyent-portal/packages/cp-frontend/test/unit/components/messaging/__snapshots__/warning.js.snap

89 lines
1.5 KiB
Plaintext

// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`renders <Warning /> without throwing 1`] = `
.c4 {
font-family: "Libre Franklin",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica,sans-serif;
font-weight: 400;
line-height: 1.5rem;
font-size: 0.9375rem;
}
.c0 {
position: relative;
margin-bottom: 0.75rem;
background-color: ;
box-shadow: 0 0.125rem 0 0 rgba(0,0,0,0.05);
border: 0.0625rem solid;
}
.c1 {
position: absolute;
top: 0;
left: 0;
width: 2.25rem;
height: 100%;
background-color: ;
}
.c2 {
padding: 0.75rem 0 0.84375rem 0;
}
.c3 {
margin: 0.09375rem 3.375rem 0 3.375rem;
}
<div
className="c0"
>
.c0 {
position: absolute;
top: 0;
left: 0;
width: 2.25rem;
height: 100%;
background-color: ;
}
<div
className="c0"
type="WARNING"
/>
.c2 {
font-family: "Libre Franklin",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica,sans-serif;
font-weight: 400;
line-height: 1.5rem;
font-size: 0.9375rem;
}
.c0 {
padding: 0.75rem 0 0.84375rem 0;
}
.c1 {
margin: 0.09375rem 3.375rem 0 3.375rem;
}
<div
className="c0"
>
.c1 {
font-family: "Libre Franklin",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica,sans-serif;
font-weight: 400;
line-height: 1.5rem;
font-size: 0.9375rem;
}
.c0 {
margin: 0.09375rem 3.375rem 0 3.375rem;
}
<p
className="c0 c1"
>
Warning message
</p>
</div>
</div>
`;