Skip to content
This repository has been archived by the owner on Mar 31, 2021. It is now read-only.

Commit

Permalink
Update snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
jxom committed Nov 28, 2018
1 parent 97ea80b commit 19e71cd
Show file tree
Hide file tree
Showing 44 changed files with 13,340 additions and 24,102 deletions.
327 changes: 97 additions & 230 deletions src/Alert/__tests__/__snapshots__/Alert.test.js.snap

Large diffs are not rendered by default.

72 changes: 21 additions & 51 deletions src/Alert/__tests__/__snapshots__/AlertTitle.test.js.snap
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`renders correctly 1`] = `
.c1 {
.c2 {
margin: unset;
padding: unset;
border: unset;
Expand All @@ -14,116 +14,86 @@ exports[`renders correctly 1`] = `
color: inherit;
}
.c0 {
box-sizing: border-box;
font-family: system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Oxygen,Ubuntu,Cantarell,'Fira Sans', 'Droid Sans','Helvetica Neue',sans-serif;
font-size: 16px;
font-weight: 400;
line-height: 1.5;
margin: 0;
padding: 0;
overflow-x: hidden;
-webkit-font-smoothing: antialiased;
text-rendering: optimizeLegibility;
color: #435a6f;
fill: #435a6f;
}
.c0 *,
.c0 *::before,
.c0 *::after {
box-sizing: inherit;
}
.c0 *:focus {
outline: 2px solid #7467c0;
outline-offset: 2px;
}
.c3 {
.c1 {
font-weight: 700;
line-height: 1.2;
margin-bottom: 1rem;
}
.heading.c3 + .sub-heading {
.heading.c1 + .sub-heading {
margin-top: -1rem;
}
.c3:last-child {
.c1:last-child {
margin-bottom: 0;
}
h1.c3 {
h1.c1 {
font-size: 3rem;
}
h2.c3 {
h2.c1 {
font-size: 2.5rem;
}
h3.c3 {
h3.c1 {
font-size: 2rem;
}
h4.c3 {
h4.c1 {
font-size: 1.5rem;
}
h5.c3 {
h5.c1 {
font-size: 1.25rem;
}
h6.c3 {
h6.c1 {
font-size: 1rem;
}
.c3 .c4 {
.c1 .c3 {
top: 0.1em;
}
.c2 {
.c0 {
font-weight: 600;
margin-bottom: 0.5rem;
}
@media (max-width:480px) {
h1.c3 {
h1.c1 {
font-size: 2rem;
}
}
@media (max-width:480px) {
h2.c3 {
h2.c1 {
font-size: 1.8rem;
}
}
@media (max-width:480px) {
h3.c3 {
h3.c1 {
font-size: 1.6rem;
}
}
@media (max-width:480px) {
h4.c3 {
h4.c1 {
font-size: 1.4rem;
}
}
@media (max-width:480px) {
h5.c3 {
h5.c1 {
font-size: 1.2rem;
}
}
<div
class="c0 c1"
<h6
class="c0 heading c1 c2"
>
<h6
class="c2 heading c3 c1"
>
AlertTitle
</h6>
</div>
AlertTitle
</h6>
`;
40 changes: 5 additions & 35 deletions src/Backdrop/__tests__/__snapshots__/Backdrop.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -15,32 +15,6 @@ exports[`renders correctly for a basic backdrop 1`] = `
}
.c0 {
box-sizing: border-box;
font-family: system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Oxygen,Ubuntu,Cantarell,'Fira Sans', 'Droid Sans','Helvetica Neue',sans-serif;
font-size: 16px;
font-weight: 400;
line-height: 1.5;
margin: 0;
padding: 0;
overflow-x: hidden;
-webkit-font-smoothing: antialiased;
text-rendering: optimizeLegibility;
color: #435a6f;
fill: #435a6f;
}
.c0 *,
.c0 *::before,
.c0 *::after {
box-sizing: inherit;
}
.c0 *:focus {
outline: 2px solid #7467c0;
outline-offset: 2px;
}
.c2 {
-webkit-transform: translate3d(0px,0px,0px);
-ms-transform: translate3d(0px,0px,0px);
transform: translate3d(0px,0px,0px);
Expand All @@ -56,21 +30,17 @@ exports[`renders correctly for a basic backdrop 1`] = `
opacity: 0.4;
}
.c2[aria-hidden="true"] {
.c0[aria-hidden="true"] {
pointer-events: none;
display: none !important;
}
<div
aria-hidden="false"
class="c0 c1"
role="button"
tabindex="-1"
>
<div
aria-hidden="false"
class="c2 c1"
role="button"
tabindex="-1"
>
test
</div>
test
</div>
`;
36 changes: 3 additions & 33 deletions src/Blockquote/__tests__/__snapshots__/Blockquote.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -15,43 +15,13 @@ exports[`renders correctly for a basic blockquote 1`] = `
}
.c0 {
box-sizing: border-box;
font-family: system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Oxygen,Ubuntu,Cantarell,'Fira Sans', 'Droid Sans','Helvetica Neue',sans-serif;
font-size: 16px;
font-weight: 400;
line-height: 1.5;
margin: 0;
padding: 0;
overflow-x: hidden;
-webkit-font-smoothing: antialiased;
text-rendering: optimizeLegibility;
color: #435a6f;
fill: #435a6f;
}
.c0 *,
.c0 *::before,
.c0 *::after {
box-sizing: inherit;
}
.c0 *:focus {
outline: 2px solid #7467c0;
outline-offset: 2px;
}
.c2 {
border-left: 4px solid #ccc;
padding: 1rem;
}
<div
<blockquote
class="c0 c1"
>
<blockquote
class="c2 c1"
>
test
</blockquote>
</div>
test
</blockquote>
`;
Loading

0 comments on commit 19e71cd

Please sign in to comment.