Skip to content

Commit

Permalink
test: updating snapshots (#77)
Browse files Browse the repository at this point in the history
  • Loading branch information
tiidadavena authored May 10, 2023
1 parent fb50f27 commit 16e218a
Show file tree
Hide file tree
Showing 5 changed files with 255 additions and 6 deletions.
3 changes: 0 additions & 3 deletions apps/docs/stories/Alerts/AlertWithoutButton.stories.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,6 @@ export default {
icon: {
control: { type: "select", options: ICON_TYPES },
},
buttonProps: {
control: false,
},
},
};

Expand Down
252 changes: 252 additions & 0 deletions packages/confetti-ds/src/Card/__snapshots__/DoubleAction.test.tsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,49 @@ exports[`DoubleAction renders buttons with dark skin 1`] = `
onClick={[Function]}
type="button"
>
<span
className="lab-icon lab-icon--Add lab-icon--white lab-btn__icon"
>
<svg
aria-hidden={true}
className="___12fm75w_v8ls9a0 f1w7gpdv fez10in fg4l7m0"
fill="currentColor"
height="20"
viewBox="0 0 20 20"
width="20"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M10 2.5a.5.5 0 0 0-1 0V9H2.5a.5.5 0 0 0 0 1H9v6.5a.5.5 0 0 0 1 0V10h6.5a.5.5 0 0 0 0-1H10V2.5Z"
fill="currentColor"
/>
</svg>
</span>
Action 1
</button>
<button
className="lab-btn lab-btn--outline lab-btn--normal"
onClick={[Function]}
type="button"
>
<span
className="lab-icon lab-icon--Add lab-icon--white lab-btn__icon"
>
<svg
aria-hidden={true}
className="___12fm75w_v8ls9a0 f1w7gpdv fez10in fg4l7m0"
fill="currentColor"
height="20"
viewBox="0 0 20 20"
width="20"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M10 2.5a.5.5 0 0 0-1 0V9H2.5a.5.5 0 0 0 0 1H9v6.5a.5.5 0 0 0 1 0V10h6.5a.5.5 0 0 0 0-1H10V2.5Z"
fill="currentColor"
/>
</svg>
</span>
Action 2
</button>
</section>
Expand All @@ -36,13 +72,49 @@ exports[`DoubleAction renders buttons with dark skin 2`] = `
onClick={[Function]}
type="button"
>
<span
className="lab-icon lab-icon--Add lab-icon--white lab-btn__icon"
>
<svg
aria-hidden={true}
className="___12fm75w_v8ls9a0 f1w7gpdv fez10in fg4l7m0"
fill="currentColor"
height="20"
viewBox="0 0 20 20"
width="20"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M10 2.5a.5.5 0 0 0-1 0V9H2.5a.5.5 0 0 0 0 1H9v6.5a.5.5 0 0 0 1 0V10h6.5a.5.5 0 0 0 0-1H10V2.5Z"
fill="currentColor"
/>
</svg>
</span>
Action 1
</button>
<button
className="lab-btn lab-btn--outline lab-btn--normal"
onClick={[Function]}
type="button"
>
<span
className="lab-icon lab-icon--Add lab-icon--white lab-btn__icon"
>
<svg
aria-hidden={true}
className="___12fm75w_v8ls9a0 f1w7gpdv fez10in fg4l7m0"
fill="currentColor"
height="20"
viewBox="0 0 20 20"
width="20"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M10 2.5a.5.5 0 0 0-1 0V9H2.5a.5.5 0 0 0 0 1H9v6.5a.5.5 0 0 0 1 0V10h6.5a.5.5 0 0 0 0-1H10V2.5Z"
fill="currentColor"
/>
</svg>
</span>
Action 2
</button>
</section>
Expand All @@ -60,13 +132,49 @@ exports[`DoubleAction renders buttons with light skin 1`] = `
onClick={[Function]}
type="button"
>
<span
className="lab-icon lab-icon--Add lab-icon--white lab-btn__icon"
>
<svg
aria-hidden={true}
className="___12fm75w_v8ls9a0 f1w7gpdv fez10in fg4l7m0"
fill="currentColor"
height="20"
viewBox="0 0 20 20"
width="20"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M10 2.5a.5.5 0 0 0-1 0V9H2.5a.5.5 0 0 0 0 1H9v6.5a.5.5 0 0 0 1 0V10h6.5a.5.5 0 0 0 0-1H10V2.5Z"
fill="currentColor"
/>
</svg>
</span>
Action 1
</button>
<button
className="lab-btn lab-btn--outline lab-btn--normal"
onClick={[Function]}
type="button"
>
<span
className="lab-icon lab-icon--Add lab-icon--white lab-btn__icon"
>
<svg
aria-hidden={true}
className="___12fm75w_v8ls9a0 f1w7gpdv fez10in fg4l7m0"
fill="currentColor"
height="20"
viewBox="0 0 20 20"
width="20"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M10 2.5a.5.5 0 0 0-1 0V9H2.5a.5.5 0 0 0 0 1H9v6.5a.5.5 0 0 0 1 0V10h6.5a.5.5 0 0 0 0-1H10V2.5Z"
fill="currentColor"
/>
</svg>
</span>
Action 2
</button>
</section>
Expand All @@ -84,13 +192,49 @@ exports[`DoubleAction renders with base props 1`] = `
onClick={[Function]}
type="button"
>
<span
className="lab-icon lab-icon--Add lab-icon--white lab-btn__icon"
>
<svg
aria-hidden={true}
className="___12fm75w_v8ls9a0 f1w7gpdv fez10in fg4l7m0"
fill="currentColor"
height="20"
viewBox="0 0 20 20"
width="20"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M10 2.5a.5.5 0 0 0-1 0V9H2.5a.5.5 0 0 0 0 1H9v6.5a.5.5 0 0 0 1 0V10h6.5a.5.5 0 0 0 0-1H10V2.5Z"
fill="currentColor"
/>
</svg>
</span>
Action 1
</button>
<button
className="lab-btn lab-btn--outline lab-btn--normal"
onClick={[Function]}
type="button"
>
<span
className="lab-icon lab-icon--Add lab-icon--white lab-btn__icon"
>
<svg
aria-hidden={true}
className="___12fm75w_v8ls9a0 f1w7gpdv fez10in fg4l7m0"
fill="currentColor"
height="20"
viewBox="0 0 20 20"
width="20"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M10 2.5a.5.5 0 0 0-1 0V9H2.5a.5.5 0 0 0 0 1H9v6.5a.5.5 0 0 0 1 0V10h6.5a.5.5 0 0 0 0-1H10V2.5Z"
fill="currentColor"
/>
</svg>
</span>
Action 2
</button>
</section>
Expand All @@ -108,13 +252,49 @@ exports[`DoubleAction renders with isHorizontal 1`] = `
onClick={[Function]}
type="button"
>
<span
className="lab-icon lab-icon--Add lab-icon--white lab-btn__icon"
>
<svg
aria-hidden={true}
className="___12fm75w_v8ls9a0 f1w7gpdv fez10in fg4l7m0"
fill="currentColor"
height="20"
viewBox="0 0 20 20"
width="20"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M10 2.5a.5.5 0 0 0-1 0V9H2.5a.5.5 0 0 0 0 1H9v6.5a.5.5 0 0 0 1 0V10h6.5a.5.5 0 0 0 0-1H10V2.5Z"
fill="currentColor"
/>
</svg>
</span>
Action 1
</button>
<button
className="lab-btn lab-btn--outline lab-btn--normal"
onClick={[Function]}
type="button"
>
<span
className="lab-icon lab-icon--Add lab-icon--white lab-btn__icon"
>
<svg
aria-hidden={true}
className="___12fm75w_v8ls9a0 f1w7gpdv fez10in fg4l7m0"
fill="currentColor"
height="20"
viewBox="0 0 20 20"
width="20"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M10 2.5a.5.5 0 0 0-1 0V9H2.5a.5.5 0 0 0 0 1H9v6.5a.5.5 0 0 0 1 0V10h6.5a.5.5 0 0 0 0-1H10V2.5Z"
fill="currentColor"
/>
</svg>
</span>
Action 2
</button>
</section>
Expand All @@ -132,13 +312,49 @@ exports[`DoubleAction renders with size 1`] = `
onClick={[Function]}
type="button"
>
<span
className="lab-icon lab-icon--Add lab-icon--white lab-btn__icon"
>
<svg
aria-hidden={true}
className="___12fm75w_v8ls9a0 f1w7gpdv fez10in fg4l7m0"
fill="currentColor"
height="20"
viewBox="0 0 20 20"
width="20"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M10 2.5a.5.5 0 0 0-1 0V9H2.5a.5.5 0 0 0 0 1H9v6.5a.5.5 0 0 0 1 0V10h6.5a.5.5 0 0 0 0-1H10V2.5Z"
fill="currentColor"
/>
</svg>
</span>
Action 1
</button>
<button
className="lab-btn lab-btn--outline lab-btn--small"
onClick={[Function]}
type="button"
>
<span
className="lab-icon lab-icon--Add lab-icon--white lab-btn__icon"
>
<svg
aria-hidden={true}
className="___12fm75w_v8ls9a0 f1w7gpdv fez10in fg4l7m0"
fill="currentColor"
height="20"
viewBox="0 0 20 20"
width="20"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M10 2.5a.5.5 0 0 0-1 0V9H2.5a.5.5 0 0 0 0 1H9v6.5a.5.5 0 0 0 1 0V10h6.5a.5.5 0 0 0 0-1H10V2.5Z"
fill="currentColor"
/>
</svg>
</span>
Action 2
</button>
</section>
Expand All @@ -156,13 +372,49 @@ exports[`DoubleAction renders with text buttons 1`] = `
onClick={[Function]}
type="button"
>
<span
className="lab-icon lab-icon--Add lab-icon--white lab-btn__icon"
>
<svg
aria-hidden={true}
className="___12fm75w_v8ls9a0 f1w7gpdv fez10in fg4l7m0"
fill="currentColor"
height="20"
viewBox="0 0 20 20"
width="20"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M10 2.5a.5.5 0 0 0-1 0V9H2.5a.5.5 0 0 0 0 1H9v6.5a.5.5 0 0 0 1 0V10h6.5a.5.5 0 0 0 0-1H10V2.5Z"
fill="currentColor"
/>
</svg>
</span>
Action 1
</button>
<button
className="lab-btn lab-btn--text lab-btn--normal"
onClick={[Function]}
type="button"
>
<span
className="lab-icon lab-icon--Add lab-icon--white lab-btn__icon"
>
<svg
aria-hidden={true}
className="___12fm75w_v8ls9a0 f1w7gpdv fez10in fg4l7m0"
fill="currentColor"
height="20"
viewBox="0 0 20 20"
width="20"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M10 2.5a.5.5 0 0 0-1 0V9H2.5a.5.5 0 0 0 0 1H9v6.5a.5.5 0 0 0 1 0V10h6.5a.5.5 0 0 0 0-1H10V2.5Z"
fill="currentColor"
/>
</svg>
</span>
Action 2
</button>
</section>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ exports[`AbstractSearch renders with base props 1`] = `
type="button"
>
<span
className="lab-icon lab-icon--Search lab-icon--mineral-40 lab-standard-search__icon"
className="lab-icon lab-icon--Search lab-icon--white lab-standard-search__icon"
>
<svg
aria-hidden={true}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ exports[`InlineSearch renders with base props 1`] = `
</span>
</button>
<span
className="lab-icon lab-icon--Search lab-inline-search__icon "
className="lab-icon lab-icon--Search lab-icon--mineral-40 lab-inline-search__icon "
>
<svg
aria-hidden={true}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ exports[`StandardSearch renders with base props 1`] = `
type="button"
>
<span
className="lab-icon lab-icon--Search lab-icon--mineral-40 lab-standard-search__icon"
className="lab-icon lab-icon--Search lab-icon--white lab-standard-search__icon"
>
<svg
aria-hidden={true}
Expand Down

0 comments on commit 16e218a

Please sign in to comment.