Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[EUEG-3194] Update Dialog component to use the correct font-weight #771

Merged
merged 3 commits into from
Mar 22, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
test: update snapshots
  • Loading branch information
Fabio Reis committed Mar 21, 2024
commit 1d93420d0f8dc1e7dd26c70fddb023c0f3aa85e2
Original file line number Diff line number Diff line change
@@ -1,14 +1,6 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`<BottomSheet /> should match snapshot 1`] = `
.c4 {
margin-bottom: 24px;
color: #231B22;
font-size: 24px;
font-weight: 500;
text-align: center;
}

.c6 {
margin-bottom: 32px;
color: #6B6B78;
Expand Down Expand Up @@ -91,6 +83,18 @@ exports[`<BottomSheet /> should match snapshot 1`] = `
fill: #FFFFFF;
}

.c4 {
margin: 0;
padding: 0;
font-size: 24px;
line-height: 32px;
color: #231B22;
font-family: Rubik;
font-weight: 500;
margin-bottom: 24px;
text-align: center;
}

.c1 {
padding: 16px 16px 16px 16px;
border-radius: 8px;
Expand Down Expand Up @@ -199,7 +203,6 @@ exports[`<BottomSheet /> should match snapshot 1`] = `
>
<header
class="c4 c5"
color="text.primary"
>
Title
</header>
Expand Down
44 changes: 25 additions & 19 deletions packages/yoga/src/Dialog/web/__snapshots__/Dialog.test.jsx.snap
Original file line number Diff line number Diff line change
@@ -1,14 +1,6 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`<Dialog /> should match snapshot 1`] = `
.c3 {
margin-bottom: 24px;
color: #231B22;
font-size: 24px;
font-weight: 500;
text-align: center;
}

.c4 {
margin-bottom: 32px;
color: #6B6B78;
Expand Down Expand Up @@ -91,6 +83,18 @@ exports[`<Dialog /> should match snapshot 1`] = `
fill: #FFFFFF;
}

.c3 {
margin: 0;
padding: 0;
font-size: 24px;
line-height: 32px;
color: #231B22;
font-family: Rubik;
font-weight: 500;
margin-bottom: 24px;
text-align: center;
}

.c1 {
padding: 16px 16px 16px 16px;
border-radius: 8px;
Expand Down Expand Up @@ -152,7 +156,6 @@ exports[`<Dialog /> should match snapshot 1`] = `
>
<header
class="c3"
color="text.primary"
>
Title
</header>
Expand Down Expand Up @@ -182,15 +185,7 @@ exports[`<Dialog /> should match snapshot 1`] = `
exports[`<Dialog /> should match snapshot with close button 1`] = `
<body>
<div />
.c7 {
margin-bottom: 24px;
color: #231B22;
font-size: 24px;
font-weight: 500;
text-align: center;
}

.c8 {
.c8 {
margin-bottom: 32px;
color: #6B6B78;
font-size: 16px;
Expand Down Expand Up @@ -381,6 +376,18 @@ exports[`<Dialog /> should match snapshot with close button 1`] = `
transition: fill 0.2s;
}

.c7 {
margin: 0;
padding: 0;
font-size: 24px;
line-height: 32px;
color: #231B22;
font-family: Rubik;
font-weight: 500;
margin-bottom: 24px;
text-align: center;
}

.c1 {
padding: 16px 16px 16px 16px;
border-radius: 8px;
Expand Down Expand Up @@ -471,7 +478,6 @@ exports[`<Dialog /> should match snapshot with close button 1`] = `
</div>
<header
class="c7"
color="text.primary"
>
Title
</header>
Expand Down
Loading