Skip to content

Commit 29e94a8

Browse files
committed
Update test snapshots for upgraded dependencies
1 parent 944e8f1 commit 29e94a8

54 files changed

Lines changed: 5900 additions & 4772 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
11
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
22

33
exports[`Alert > should render error alert with required props 1`] = `
4-
<div
5-
className="border border-solid rounded shadow-md text-sm p-2 bg-error border-error-deep text-error-deep"
6-
data-testid="ALERT"
7-
role="alert"
8-
>
9-
<span>
10-
Error Alert JSX or Text
11-
</span>
4+
<div>
5+
<div
6+
class="border border-solid rounded shadow-md text-sm p-2 bg-error border-error-deep text-error-deep"
7+
data-testid="ALERT"
8+
role="alert"
9+
>
10+
<span>
11+
Error Alert JSX or Text
12+
</span>
13+
</div>
1214
</div>
1315
`;
Lines changed: 60 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,41 +1,69 @@
11
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
22

33
exports[`Badge > should render with many props assigned 1`] = `
4-
<figure
5-
className="flex flex-col justify-items-center place-content-start m-2 [&>svg]:fill-current [&>svg]:my-4 [&>img]:mx-0 [&>img]:h-24 [&>svg]:mx-0 [&>svg]:h-24 test-class"
6-
>
7-
<svg
8-
dangerouslySetInnerHTML={
9-
{
10-
"__html": "<symbol xmlns="http://www.w3.org/2000/svg" viewBox="0 0 54 54" id="_7e6684a5"><title>GitHub Logo</title><path fill-rule="evenodd" d="M51.03 2.97C49.047.99 46.663 0 43.874 0h-33.75C7.336 0 4.95.99 2.97 2.97.99 4.951 0 7.336 0 10.125v33.75c0 2.79.99 5.174 2.97 7.154C4.951 53.01 7.336 54 10.125 54H18c.515 0 .902-.018 1.16-.052.257-.036.515-.188.773-.458s.387-.662.387-1.178l-.018-2.39c-.012-1.524-.018-2.731-.018-3.622l-.808.14c-.516.095-1.166.136-1.952.124-.785-.012-1.6-.094-2.443-.246a5.472 5.472 0 0 1-2.355-1.055 4.457 4.457 0 0 1-1.547-2.162l-.352-.809c-.234-.538-.603-1.136-1.107-1.792-.504-.656-1.013-1.102-1.53-1.336l-.245-.176a2.57 2.57 0 0 1-.457-.422 1.936 1.936 0 0 1-.316-.492c-.07-.164-.012-.3.175-.405.188-.106.528-.158 1.02-.158l.703.106c.468.093 1.048.374 1.74.843a5.67 5.67 0 0 1 1.705 1.828c.54.961 1.19 1.693 1.951 2.197.762.504 1.53.756 2.303.756.773 0 1.441-.058 2.004-.175a6.97 6.97 0 0 0 1.582-.528c.21-1.57.785-2.778 1.722-3.621-1.336-.141-2.537-.352-3.603-.633-1.067-.282-2.168-.739-3.305-1.372-1.137-.633-2.08-1.417-2.83-2.355s-1.365-2.169-1.846-3.692c-.48-1.523-.72-3.281-.72-5.273 0-2.836.926-5.25 2.777-7.243-.867-2.132-.785-4.523.246-7.171.68-.211 1.688-.053 3.024.474 1.336.528 2.314.98 2.935 1.354.622.375 1.12.691 1.495.95 2.18-.61 4.43-.915 6.75-.915 2.32 0 4.57.305 6.75.914l1.336-.843c.915-.563 1.992-1.079 3.235-1.547 1.242-.469 2.191-.598 2.848-.387 1.054 2.649 1.148 5.04.28 7.172 1.852 1.992 2.778 4.406 2.778 7.242 0 1.992-.24 3.756-.72 5.291-.48 1.535-1.102 2.766-1.864 3.692-.761.926-1.71 1.705-2.847 2.338-1.137.632-2.238 1.09-3.305 1.37-1.067.282-2.268.493-3.604.634 1.219 1.055 1.828 2.719 1.828 4.992v8.403c0 .398.058.72.176.967a.967.967 0 0 0 .562.51c.259.093.487.151.686.175.2.023.487.035.862.035h7.875c2.788 0 5.173-.99 7.153-2.97C53.01 49.047 54 46.662 54 43.873v-33.75c0-2.788-.99-5.173-2.97-7.154z"/></symbol><use href='#_7e6684a5'/>",
11-
}
12-
}
13-
viewBox="0 0 54 54"
14-
/>
15-
<figcaption
16-
className="text-center whitespace-nowrap"
4+
<div>
5+
<figure
6+
class="flex flex-col justify-items-center place-content-start m-2 [&>svg]:fill-current [&>svg]:my-4 [&>img]:mx-0 [&>img]:h-24 [&>svg]:mx-0 [&>svg]:h-24 test-class"
177
>
18-
Badge Icon
19-
</figcaption>
20-
</figure>
8+
<svg
9+
viewBox="0 0 54 54"
10+
>
11+
<symbol
12+
id="_7e6684a5"
13+
viewBox="0 0 54 54"
14+
xmlns="http://www.w3.org/2000/svg"
15+
>
16+
<title>
17+
GitHub Logo
18+
</title>
19+
<path
20+
d="M51.03 2.97C49.047.99 46.663 0 43.874 0h-33.75C7.336 0 4.95.99 2.97 2.97.99 4.951 0 7.336 0 10.125v33.75c0 2.79.99 5.174 2.97 7.154C4.951 53.01 7.336 54 10.125 54H18c.515 0 .902-.018 1.16-.052.257-.036.515-.188.773-.458s.387-.662.387-1.178l-.018-2.39c-.012-1.524-.018-2.731-.018-3.622l-.808.14c-.516.095-1.166.136-1.952.124-.785-.012-1.6-.094-2.443-.246a5.472 5.472 0 0 1-2.355-1.055 4.457 4.457 0 0 1-1.547-2.162l-.352-.809c-.234-.538-.603-1.136-1.107-1.792-.504-.656-1.013-1.102-1.53-1.336l-.245-.176a2.57 2.57 0 0 1-.457-.422 1.936 1.936 0 0 1-.316-.492c-.07-.164-.012-.3.175-.405.188-.106.528-.158 1.02-.158l.703.106c.468.093 1.048.374 1.74.843a5.67 5.67 0 0 1 1.705 1.828c.54.961 1.19 1.693 1.951 2.197.762.504 1.53.756 2.303.756.773 0 1.441-.058 2.004-.175a6.97 6.97 0 0 0 1.582-.528c.21-1.57.785-2.778 1.722-3.621-1.336-.141-2.537-.352-3.603-.633-1.067-.282-2.168-.739-3.305-1.372-1.137-.633-2.08-1.417-2.83-2.355s-1.365-2.169-1.846-3.692c-.48-1.523-.72-3.281-.72-5.273 0-2.836.926-5.25 2.777-7.243-.867-2.132-.785-4.523.246-7.171.68-.211 1.688-.053 3.024.474 1.336.528 2.314.98 2.935 1.354.622.375 1.12.691 1.495.95 2.18-.61 4.43-.915 6.75-.915 2.32 0 4.57.305 6.75.914l1.336-.843c.915-.563 1.992-1.079 3.235-1.547 1.242-.469 2.191-.598 2.848-.387 1.054 2.649 1.148 5.04.28 7.172 1.852 1.992 2.778 4.406 2.778 7.242 0 1.992-.24 3.756-.72 5.291-.48 1.535-1.102 2.766-1.864 3.692-.761.926-1.71 1.705-2.847 2.338-1.137.632-2.238 1.09-3.305 1.37-1.067.282-2.268.493-3.604.634 1.219 1.055 1.828 2.719 1.828 4.992v8.403c0 .398.058.72.176.967a.967.967 0 0 0 .562.51c.259.093.487.151.686.175.2.023.487.035.862.035h7.875c2.788 0 5.173-.99 7.153-2.97C53.01 49.047 54 46.662 54 43.873v-33.75c0-2.788-.99-5.173-2.97-7.154z"
21+
fill-rule="evenodd"
22+
/>
23+
</symbol>
24+
<use
25+
href="#_7e6684a5"
26+
/>
27+
</svg>
28+
<figcaption
29+
class="text-center whitespace-nowrap"
30+
>
31+
Badge Icon
32+
</figcaption>
33+
</figure>
34+
</div>
2135
`;
2236

2337
exports[`Badge > should render with required props 1`] = `
24-
<figure
25-
className="flex flex-col justify-items-center place-content-start m-2 [&>svg]:fill-current [&>svg]:my-4 [&>img]:mx-0 [&>img]:h-24 [&>svg]:mx-0 [&>svg]:h-24"
26-
>
27-
<svg
28-
dangerouslySetInnerHTML={
29-
{
30-
"__html": "<symbol xmlns="http://www.w3.org/2000/svg" viewBox="0 0 54 54" id="_7e6684a5"><title>GitHub Logo</title><path fill-rule="evenodd" d="M51.03 2.97C49.047.99 46.663 0 43.874 0h-33.75C7.336 0 4.95.99 2.97 2.97.99 4.951 0 7.336 0 10.125v33.75c0 2.79.99 5.174 2.97 7.154C4.951 53.01 7.336 54 10.125 54H18c.515 0 .902-.018 1.16-.052.257-.036.515-.188.773-.458s.387-.662.387-1.178l-.018-2.39c-.012-1.524-.018-2.731-.018-3.622l-.808.14c-.516.095-1.166.136-1.952.124-.785-.012-1.6-.094-2.443-.246a5.472 5.472 0 0 1-2.355-1.055 4.457 4.457 0 0 1-1.547-2.162l-.352-.809c-.234-.538-.603-1.136-1.107-1.792-.504-.656-1.013-1.102-1.53-1.336l-.245-.176a2.57 2.57 0 0 1-.457-.422 1.936 1.936 0 0 1-.316-.492c-.07-.164-.012-.3.175-.405.188-.106.528-.158 1.02-.158l.703.106c.468.093 1.048.374 1.74.843a5.67 5.67 0 0 1 1.705 1.828c.54.961 1.19 1.693 1.951 2.197.762.504 1.53.756 2.303.756.773 0 1.441-.058 2.004-.175a6.97 6.97 0 0 0 1.582-.528c.21-1.57.785-2.778 1.722-3.621-1.336-.141-2.537-.352-3.603-.633-1.067-.282-2.168-.739-3.305-1.372-1.137-.633-2.08-1.417-2.83-2.355s-1.365-2.169-1.846-3.692c-.48-1.523-.72-3.281-.72-5.273 0-2.836.926-5.25 2.777-7.243-.867-2.132-.785-4.523.246-7.171.68-.211 1.688-.053 3.024.474 1.336.528 2.314.98 2.935 1.354.622.375 1.12.691 1.495.95 2.18-.61 4.43-.915 6.75-.915 2.32 0 4.57.305 6.75.914l1.336-.843c.915-.563 1.992-1.079 3.235-1.547 1.242-.469 2.191-.598 2.848-.387 1.054 2.649 1.148 5.04.28 7.172 1.852 1.992 2.778 4.406 2.778 7.242 0 1.992-.24 3.756-.72 5.291-.48 1.535-1.102 2.766-1.864 3.692-.761.926-1.71 1.705-2.847 2.338-1.137.632-2.238 1.09-3.305 1.37-1.067.282-2.268.493-3.604.634 1.219 1.055 1.828 2.719 1.828 4.992v8.403c0 .398.058.72.176.967a.967.967 0 0 0 .562.51c.259.093.487.151.686.175.2.023.487.035.862.035h7.875c2.788 0 5.173-.99 7.153-2.97C53.01 49.047 54 46.662 54 43.873v-33.75c0-2.788-.99-5.173-2.97-7.154z"/></symbol><use href='#_7e6684a5'/>",
31-
}
32-
}
33-
viewBox="0 0 54 54"
34-
/>
35-
<figcaption
36-
className="text-center whitespace-nowrap"
38+
<div>
39+
<figure
40+
class="flex flex-col justify-items-center place-content-start m-2 [&>svg]:fill-current [&>svg]:my-4 [&>img]:mx-0 [&>img]:h-24 [&>svg]:mx-0 [&>svg]:h-24"
3741
>
38-
Testing
39-
</figcaption>
40-
</figure>
42+
<svg
43+
viewBox="0 0 54 54"
44+
>
45+
<symbol
46+
id="_7e6684a5"
47+
viewBox="0 0 54 54"
48+
xmlns="http://www.w3.org/2000/svg"
49+
>
50+
<title>
51+
GitHub Logo
52+
</title>
53+
<path
54+
d="M51.03 2.97C49.047.99 46.663 0 43.874 0h-33.75C7.336 0 4.95.99 2.97 2.97.99 4.951 0 7.336 0 10.125v33.75c0 2.79.99 5.174 2.97 7.154C4.951 53.01 7.336 54 10.125 54H18c.515 0 .902-.018 1.16-.052.257-.036.515-.188.773-.458s.387-.662.387-1.178l-.018-2.39c-.012-1.524-.018-2.731-.018-3.622l-.808.14c-.516.095-1.166.136-1.952.124-.785-.012-1.6-.094-2.443-.246a5.472 5.472 0 0 1-2.355-1.055 4.457 4.457 0 0 1-1.547-2.162l-.352-.809c-.234-.538-.603-1.136-1.107-1.792-.504-.656-1.013-1.102-1.53-1.336l-.245-.176a2.57 2.57 0 0 1-.457-.422 1.936 1.936 0 0 1-.316-.492c-.07-.164-.012-.3.175-.405.188-.106.528-.158 1.02-.158l.703.106c.468.093 1.048.374 1.74.843a5.67 5.67 0 0 1 1.705 1.828c.54.961 1.19 1.693 1.951 2.197.762.504 1.53.756 2.303.756.773 0 1.441-.058 2.004-.175a6.97 6.97 0 0 0 1.582-.528c.21-1.57.785-2.778 1.722-3.621-1.336-.141-2.537-.352-3.603-.633-1.067-.282-2.168-.739-3.305-1.372-1.137-.633-2.08-1.417-2.83-2.355s-1.365-2.169-1.846-3.692c-.48-1.523-.72-3.281-.72-5.273 0-2.836.926-5.25 2.777-7.243-.867-2.132-.785-4.523.246-7.171.68-.211 1.688-.053 3.024.474 1.336.528 2.314.98 2.935 1.354.622.375 1.12.691 1.495.95 2.18-.61 4.43-.915 6.75-.915 2.32 0 4.57.305 6.75.914l1.336-.843c.915-.563 1.992-1.079 3.235-1.547 1.242-.469 2.191-.598 2.848-.387 1.054 2.649 1.148 5.04.28 7.172 1.852 1.992 2.778 4.406 2.778 7.242 0 1.992-.24 3.756-.72 5.291-.48 1.535-1.102 2.766-1.864 3.692-.761.926-1.71 1.705-2.847 2.338-1.137.632-2.238 1.09-3.305 1.37-1.067.282-2.268.493-3.604.634 1.219 1.055 1.828 2.719 1.828 4.992v8.403c0 .398.058.72.176.967a.967.967 0 0 0 .562.51c.259.093.487.151.686.175.2.023.487.035.862.035h7.875c2.788 0 5.173-.99 7.153-2.97C53.01 49.047 54 46.662 54 43.873v-33.75c0-2.788-.99-5.173-2.97-7.154z"
55+
fill-rule="evenodd"
56+
/>
57+
</symbol>
58+
<use
59+
href="#_7e6684a5"
60+
/>
61+
</svg>
62+
<figcaption
63+
class="text-center whitespace-nowrap"
64+
>
65+
Testing
66+
</figcaption>
67+
</figure>
68+
</div>
4169
`;
Lines changed: 162 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,166 @@
11
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
22

33
exports[`ColorSection > should render with required props 1`] = `
4-
<Content
5-
columns={
6-
[
7-
<Swatch
8-
colorName="primary"
9-
hexCode="#3ed6f0"
10-
/>,
11-
<Swatch
12-
colorName="secondary"
13-
hexCode="#252e3e"
14-
/>,
15-
<Swatch
16-
colorName="gray"
17-
hexCode="#e2e2e2"
18-
/>,
19-
<Swatch
20-
colorName="white"
21-
hexCode="#f7f7f7"
22-
/>,
23-
<Swatch
24-
colorName="burnt orange"
25-
hexCode="#b25134"
26-
/>,
27-
]
28-
}
29-
hasTitleUnderline={true}
30-
theme="white"
31-
title="Colors"
32-
/>
4+
<div>
5+
<div
6+
class="bg-center bg-no-repeat bg-cover flex items-center justify-between w-full px-4 md:px-0 fill-current min-h-[250px] bg-white text-secondary"
7+
>
8+
<div
9+
class="flex flex-col items-center justify-center mx-auto w-full my-[3.5rem] max-w-[1400px] sm:w-[85%]"
10+
>
11+
<div
12+
class="flex justify-center relative"
13+
>
14+
<h3
15+
class="group flex uppercase text-center my-4 mx-0 border-b-4 border-b-primary"
16+
id="colors-link"
17+
>
18+
<div
19+
class="relative h-full"
20+
data-testid="Heading Content colors-link"
21+
>
22+
<a
23+
class="sm:visible absolute top-0 -left-8 opacity-0 h-full flex items-center justify-center group-hover:opacity-100 focus-visible:opacity-100 transition-opacity w-0 focus-visible:w-5 group-hover:w-5"
24+
data-testid="Hash Link"
25+
href="#colors-link"
26+
>
27+
<span
28+
class="sr-only"
29+
data-testid="SCREEN_READER_ONLY"
30+
>
31+
Scroll to
32+
Colors
33+
</span>
34+
<svg
35+
class="w-full h-5"
36+
viewBox="0 0 512 512"
37+
>
38+
<symbol
39+
id="_d456e9ce"
40+
viewBox="0 0 512 512"
41+
xmlns="http://www.w3.org/2000/svg"
42+
>
43+
<title>
44+
Link Icon
45+
</title>
46+
<path
47+
d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"
48+
/>
49+
</symbol>
50+
<use
51+
href="#_d456e9ce"
52+
/>
53+
</svg>
54+
</a>
55+
</div>
56+
Colors
57+
</h3>
58+
</div>
59+
<div
60+
class="flex justify-center items-center flex-wrap w-full *:m-4"
61+
>
62+
<figure
63+
class="border border-solid border-theme-gray-800 p-4 m-6 w-56"
64+
>
65+
<span
66+
class="sr-only"
67+
data-testid="SCREEN_READER_ONLY"
68+
>
69+
A block of the color primary
70+
</span>
71+
<div
72+
class="h-56 mb-4 border border-solid border-theme-gray-800"
73+
style="background-color: rgb(62, 214, 240);"
74+
/>
75+
<figcaption>
76+
<h6>
77+
PRIMARY
78+
</h6>
79+
#3ED6F0
80+
</figcaption>
81+
</figure>
82+
<figure
83+
class="border border-solid border-theme-gray-800 p-4 m-6 w-56"
84+
>
85+
<span
86+
class="sr-only"
87+
data-testid="SCREEN_READER_ONLY"
88+
>
89+
A block of the color secondary
90+
</span>
91+
<div
92+
class="h-56 mb-4 border border-solid border-theme-gray-800"
93+
style="background-color: rgb(37, 46, 62);"
94+
/>
95+
<figcaption>
96+
<h6>
97+
SECONDARY
98+
</h6>
99+
#252E3E
100+
</figcaption>
101+
</figure>
102+
<figure
103+
class="border border-solid border-theme-gray-800 p-4 m-6 w-56"
104+
>
105+
<span
106+
class="sr-only"
107+
data-testid="SCREEN_READER_ONLY"
108+
>
109+
A block of the color gray
110+
</span>
111+
<div
112+
class="h-56 mb-4 border border-solid border-theme-gray-800"
113+
style="background-color: rgb(226, 226, 226);"
114+
/>
115+
<figcaption>
116+
<h6>
117+
GRAY
118+
</h6>
119+
#E2E2E2
120+
</figcaption>
121+
</figure>
122+
<figure
123+
class="border border-solid border-theme-gray-800 p-4 m-6 w-56"
124+
>
125+
<span
126+
class="sr-only"
127+
data-testid="SCREEN_READER_ONLY"
128+
>
129+
A block of the color white
130+
</span>
131+
<div
132+
class="h-56 mb-4 border border-solid border-theme-gray-800"
133+
style="background-color: rgb(247, 247, 247);"
134+
/>
135+
<figcaption>
136+
<h6>
137+
WHITE
138+
</h6>
139+
#F7F7F7
140+
</figcaption>
141+
</figure>
142+
<figure
143+
class="border border-solid border-theme-gray-800 p-4 m-6 w-56"
144+
>
145+
<span
146+
class="sr-only"
147+
data-testid="SCREEN_READER_ONLY"
148+
>
149+
A block of the color burnt orange
150+
</span>
151+
<div
152+
class="h-56 mb-4 border border-solid border-theme-gray-800"
153+
style="background-color: rgb(178, 81, 52);"
154+
/>
155+
<figcaption>
156+
<h6>
157+
BURNT ORANGE
158+
</h6>
159+
#B25134
160+
</figcaption>
161+
</figure>
162+
</div>
163+
</div>
164+
</div>
165+
</div>
33166
`;

0 commit comments

Comments
 (0)