Skip to content

Commit

Permalink
feat: reintroduce BorderedBox (scaleway#1044)
Browse files Browse the repository at this point in the history
* feat: reintroduce BorderedBox

* feat: bonjour

* fix: better tests

* fix: use new colors
  • Loading branch information
chambo-e authored Dec 27, 2021
1 parent 7c6c112 commit a39a901
Show file tree
Hide file tree
Showing 70 changed files with 7,457 additions and 7,338 deletions.
292 changes: 146 additions & 146 deletions src/components/Alert/__tests__/__snapshots__/index.test.tsx.snap

Large diffs are not rendered by default.

50 changes: 25 additions & 25 deletions src/components/Avatar/__tests__/__snapshots__/index.tsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

exports[`Avatar renders correctly with custom background color 1`] = `
<DocumentFragment>
.cache-ua3jbc.cache-ua3jbc {
.cache-wta1f9.cache-wta1f9 {
width: 32px;
height: 32px;
position: relative;
Expand Down Expand Up @@ -30,7 +30,7 @@ exports[`Avatar renders correctly with custom background color 1`] = `
}
<div
class="cache-ua3jbc e7ah3bn0"
class="cache-wta1f9"
>
<div
class="cache-t4e693 e1frqeh81"
Expand All @@ -43,7 +43,7 @@ exports[`Avatar renders correctly with custom background color 1`] = `

exports[`Avatar renders correctly with custom text color 1`] = `
<DocumentFragment>
.cache-ua3jbc.cache-ua3jbc {
.cache-wta1f9.cache-wta1f9 {
width: 32px;
height: 32px;
position: relative;
Expand Down Expand Up @@ -71,7 +71,7 @@ exports[`Avatar renders correctly with custom text color 1`] = `
}
<div
class="cache-ua3jbc e7ah3bn0"
class="cache-wta1f9"
>
<div
class="cache-lme662 e1frqeh81"
Expand All @@ -84,7 +84,7 @@ exports[`Avatar renders correctly with custom text color 1`] = `

exports[`Avatar renders correctly with default props 1`] = `
<DocumentFragment>
.cache-ua3jbc.cache-ua3jbc {
.cache-wta1f9.cache-wta1f9 {
width: 32px;
height: 32px;
position: relative;
Expand All @@ -96,7 +96,7 @@ exports[`Avatar renders correctly with default props 1`] = `
}
<div
class="cache-ua3jbc e7ah3bn0"
class="cache-wta1f9"
>
<img
alt=""
Expand All @@ -109,7 +109,7 @@ exports[`Avatar renders correctly with default props 1`] = `

exports[`Avatar renders correctly with image 1`] = `
<DocumentFragment>
.cache-ua3jbc.cache-ua3jbc {
.cache-wta1f9.cache-wta1f9 {
width: 32px;
height: 32px;
position: relative;
Expand All @@ -121,7 +121,7 @@ exports[`Avatar renders correctly with image 1`] = `
}
<div
class="cache-ua3jbc e7ah3bn0"
class="cache-wta1f9"
>
<img
alt=""
Expand All @@ -134,7 +134,7 @@ exports[`Avatar renders correctly with image 1`] = `

exports[`Avatar renders correctly with lock 1`] = `
<DocumentFragment>
.cache-ua3jbc.cache-ua3jbc {
.cache-wta1f9.cache-wta1f9 {
width: 32px;
height: 32px;
position: relative;
Expand All @@ -161,26 +161,26 @@ exports[`Avatar renders correctly with lock 1`] = `
width: 100%;
}
.cache-makwam {
.cache-f9vv5z {
fill: #b2b6c3;
height: 1em;
width: 1em;
min-width: 1em;
min-height: 1em;
}
.cache-makwam.cache-makwam {
.cache-f9vv5z.cache-f9vv5z {
vertical-align: middle;
}
<div
class="cache-ua3jbc e7ah3bn0"
class="cache-wta1f9"
>
<div
class="cache-ha24km e1frqeh81"
>
<svg
class="sc-ui-icon etwatq50 cache-makwam e7ah3bn0"
class="sc-ui-icon etwatq50 cache-f9vv5z"
title="Locked"
viewBox="0 0 24 24"
>
Expand All @@ -195,7 +195,7 @@ exports[`Avatar renders correctly with lock 1`] = `

exports[`Avatar renders correctly with sentence 1`] = `
<DocumentFragment>
.cache-ua3jbc.cache-ua3jbc {
.cache-wta1f9.cache-wta1f9 {
width: 32px;
height: 32px;
position: relative;
Expand Down Expand Up @@ -223,7 +223,7 @@ exports[`Avatar renders correctly with sentence 1`] = `
}
<div
class="cache-ua3jbc e7ah3bn0"
class="cache-wta1f9"
>
<div
class="cache-1am9adn e1frqeh81"
Expand All @@ -236,7 +236,7 @@ exports[`Avatar renders correctly with sentence 1`] = `

exports[`Avatar renders correctly with size 1`] = `
<DocumentFragment>
.cache-cywuei.cache-cywuei {
.cache-1rk64pa.cache-1rk64pa {
width: 48px;
height: 48px;
position: relative;
Expand All @@ -248,7 +248,7 @@ exports[`Avatar renders correctly with size 1`] = `
}
<div
class="cache-cywuei e7ah3bn0"
class="cache-1rk64pa"
>
<img
alt=""
Expand All @@ -261,7 +261,7 @@ exports[`Avatar renders correctly with size 1`] = `

exports[`Avatar renders correctly with small text 1`] = `
<DocumentFragment>
.cache-ua3jbc.cache-ua3jbc {
.cache-wta1f9.cache-wta1f9 {
width: 32px;
height: 32px;
position: relative;
Expand Down Expand Up @@ -289,7 +289,7 @@ exports[`Avatar renders correctly with small text 1`] = `
}
<div
class="cache-ua3jbc e7ah3bn0"
class="cache-wta1f9"
>
<div
class="cache-1am9adn e1frqeh81"
Expand All @@ -302,7 +302,7 @@ exports[`Avatar renders correctly with small text 1`] = `

exports[`Avatar renders correctly with text 1`] = `
<DocumentFragment>
.cache-ua3jbc.cache-ua3jbc {
.cache-wta1f9.cache-wta1f9 {
width: 32px;
height: 32px;
position: relative;
Expand Down Expand Up @@ -330,7 +330,7 @@ exports[`Avatar renders correctly with text 1`] = `
}
<div
class="cache-ua3jbc e7ah3bn0"
class="cache-wta1f9"
>
<div
class="cache-1am9adn e1frqeh81"
Expand All @@ -343,7 +343,7 @@ exports[`Avatar renders correctly with text 1`] = `

exports[`Avatar renders correctly with text and custom style 1`] = `
<DocumentFragment>
.cache-ua3jbc.cache-ua3jbc {
.cache-wta1f9.cache-wta1f9 {
width: 32px;
height: 32px;
position: relative;
Expand Down Expand Up @@ -371,7 +371,7 @@ exports[`Avatar renders correctly with text and custom style 1`] = `
}
<div
class="cache-ua3jbc e7ah3bn0"
class="cache-wta1f9"
>
<div
class="cache-6jj1vw e1frqeh81"
Expand All @@ -384,7 +384,7 @@ exports[`Avatar renders correctly with text and custom style 1`] = `

exports[`Avatar renders correctly with text size 1`] = `
<DocumentFragment>
.cache-nt716f.cache-nt716f {
.cache-1si9epa.cache-1si9epa {
width: 50px;
height: 50px;
position: relative;
Expand Down Expand Up @@ -412,7 +412,7 @@ exports[`Avatar renders correctly with text size 1`] = `
}
<div
class="cache-nt716f e7ah3bn0"
class="cache-1si9epa"
>
<div
class="cache-bpwuh7 e1frqeh81"
Expand Down
Loading

0 comments on commit a39a901

Please sign in to comment.