Skip to content
This repository was archived by the owner on Dec 27, 2022. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
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
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@
},
"dependencies": {
"@babel/runtime": "7.20.6",
"@scaleway/ui": "0.213.3",
"@scaleway/ui": "0.213.10",
"final-form": "4.20.7",
"final-form-arrays": "3.0.2",
"final-form-focus": "1.1.2",
Expand Down
16 changes: 8 additions & 8 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

68 changes: 34 additions & 34 deletions src/components/Submit/__tests__/__snapshots__/index.spec.tsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ exports[`Submit form is invalid 1`] = `
padding-top: 2px;
}

.cache-1ibo1b8 {
.cache-1f4ynuo {
display: -webkit-inline-box;
display: -webkit-inline-flex;
display: -ms-inline-flexbox;
Expand Down Expand Up @@ -157,23 +157,23 @@ exports[`Submit form is invalid 1`] = `
box-shadow: none;
}

.cache-1ibo1b8:hover,
.cache-1ibo1b8:focus {
.cache-1f4ynuo:hover,
.cache-1f4ynuo:focus {
-webkit-text-decoration: none;
text-decoration: none;
}

.cache-1ibo1b8:hover,
.cache-1ibo1b8:focus {
.cache-1f4ynuo:hover,
.cache-1f4ynuo:focus {
color: #ffffff;
background-color: #149a7b;
}

.cache-1ibo1b8:focus {
box-shadow: 0 0 0 2px rgba(20,154,123,0.25);
.cache-1f4ynuo:focus {
box-shadow: 0 0 0 2px #149a7b40;
}

.cache-1ibo1b8 svg {
.cache-1f4ynuo svg {
fill: #c4c9d6;
}

Expand Down Expand Up @@ -220,7 +220,7 @@ exports[`Submit form is invalid 1`] = `
</div>
<button
aria-disabled="true"
class="cache-1ibo1b8 em6gco80"
class="cache-1f4ynuo em6gco80"
disabled=""
type="submit"
>
Expand Down Expand Up @@ -252,7 +252,7 @@ exports[`Submit form is submitting 1`] = `
}
}

.cache-1ibo1b8 {
.cache-1f4ynuo {
display: -webkit-inline-box;
display: -webkit-inline-flex;
display: -ms-inline-flexbox;
Expand Down Expand Up @@ -295,23 +295,23 @@ exports[`Submit form is submitting 1`] = `
box-shadow: none;
}

.cache-1ibo1b8:hover,
.cache-1ibo1b8:focus {
.cache-1f4ynuo:hover,
.cache-1f4ynuo:focus {
-webkit-text-decoration: none;
text-decoration: none;
}

.cache-1ibo1b8:hover,
.cache-1ibo1b8:focus {
.cache-1f4ynuo:hover,
.cache-1f4ynuo:focus {
color: #ffffff;
background-color: #149a7b;
}

.cache-1ibo1b8:focus {
box-shadow: 0 0 0 2px rgba(20,154,123,0.25);
.cache-1f4ynuo:focus {
box-shadow: 0 0 0 2px #149a7b40;
}

.cache-1ibo1b8 svg {
.cache-1f4ynuo svg {
fill: #c4c9d6;
}

Expand Down Expand Up @@ -355,7 +355,7 @@ exports[`Submit form is submitting 1`] = `
>
<button
aria-disabled="true"
class="cache-1ibo1b8 em6gco80"
class="cache-1f4ynuo em6gco80"
disabled=""
type="submit"
>
Expand Down Expand Up @@ -407,7 +407,7 @@ exports[`Submit form is submitting 1`] = `

exports[`Submit renders correctly 1`] = `
<DocumentFragment>
.cache-1wynee2 {
.cache-107ul6f {
display: -webkit-inline-box;
display: -webkit-inline-flex;
display: -ms-inline-flexbox;
Expand Down Expand Up @@ -444,20 +444,20 @@ exports[`Submit renders correctly 1`] = `
color: #ffffff;
}

.cache-1wynee2:hover,
.cache-1wynee2:focus {
.cache-107ul6f:hover,
.cache-107ul6f:focus {
-webkit-text-decoration: none;
text-decoration: none;
}

.cache-1wynee2:hover,
.cache-1wynee2:focus {
.cache-107ul6f:hover,
.cache-107ul6f:focus {
color: #ffffff;
background-color: #149a7b;
}

.cache-1wynee2:focus {
box-shadow: 0 0 0 2px rgba(20,154,123,0.25);
.cache-107ul6f:focus {
box-shadow: 0 0 0 2px #149a7b40;
}

.cache-115wth8 {
Expand All @@ -481,7 +481,7 @@ exports[`Submit renders correctly 1`] = `
>
<button
aria-disabled="false"
class="cache-1wynee2 em6gco80"
class="cache-107ul6f em6gco80"
type="submit"
>
<div
Expand All @@ -496,7 +496,7 @@ exports[`Submit renders correctly 1`] = `

exports[`Submit renders correctly with icon and iconPosition 1`] = `
<DocumentFragment>
.cache-1wynee2 {
.cache-107ul6f {
display: -webkit-inline-box;
display: -webkit-inline-flex;
display: -ms-inline-flexbox;
Expand Down Expand Up @@ -533,20 +533,20 @@ exports[`Submit renders correctly with icon and iconPosition 1`] = `
color: #ffffff;
}

.cache-1wynee2:hover,
.cache-1wynee2:focus {
.cache-107ul6f:hover,
.cache-107ul6f:focus {
-webkit-text-decoration: none;
text-decoration: none;
}

.cache-1wynee2:hover,
.cache-1wynee2:focus {
.cache-107ul6f:hover,
.cache-107ul6f:focus {
color: #ffffff;
background-color: #149a7b;
}

.cache-1wynee2:focus {
box-shadow: 0 0 0 2px rgba(20,154,123,0.25);
.cache-107ul6f:focus {
box-shadow: 0 0 0 2px #149a7b40;
}

.cache-115wth8 {
Expand Down Expand Up @@ -588,7 +588,7 @@ exports[`Submit renders correctly with icon and iconPosition 1`] = `
>
<button
aria-disabled="false"
class="cache-1wynee2 em6gco80"
class="cache-107ul6f em6gco80"
type="submit"
>
<div
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

exports[`SubmitErrorAlert should display an alert when submitError is present 1`] = `
<DocumentFragment>
.cache-1wynee2 {
.cache-107ul6f {
display: -webkit-inline-box;
display: -webkit-inline-flex;
display: -ms-inline-flexbox;
Expand Down Expand Up @@ -39,20 +39,20 @@ exports[`SubmitErrorAlert should display an alert when submitError is present 1`
color: #ffffff;
}

.cache-1wynee2:hover,
.cache-1wynee2:focus {
.cache-107ul6f:hover,
.cache-107ul6f:focus {
-webkit-text-decoration: none;
text-decoration: none;
}

.cache-1wynee2:hover,
.cache-1wynee2:focus {
.cache-107ul6f:hover,
.cache-107ul6f:focus {
color: #ffffff;
background-color: #149a7b;
}

.cache-1wynee2:focus {
box-shadow: 0 0 0 2px rgba(20,154,123,0.25);
.cache-107ul6f:focus {
box-shadow: 0 0 0 2px #149a7b40;
}

.cache-115wth8 {
Expand Down Expand Up @@ -139,7 +139,7 @@ exports[`SubmitErrorAlert should display an alert when submitError is present 1`
>
<button
aria-disabled="false"
class="cache-1wynee2 em6gco80"
class="cache-107ul6f em6gco80"
type="submit"
>
<div
Expand Down