Skip to content

Commit

Permalink
update snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
broccolinisoup committed Oct 10, 2022
1 parent 4d7a4a8 commit 3c5025d
Show file tree
Hide file tree
Showing 16 changed files with 1,763 additions and 1,494 deletions.
2 changes: 2 additions & 0 deletions src/NavList/__snapshots__/NavList.test.tsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -1220,6 +1220,7 @@ exports[`NavList.Item with NavList.SubNav does not have active styles if SubNav
aria-hidden="true"
class="c8"
fill="currentColor"
focusable="false"
height="16"
role="img"
style="display: inline-block; user-select: none; vertical-align: text-bottom; overflow: visible;"
Expand Down Expand Up @@ -1702,6 +1703,7 @@ exports[`NavList.Item with NavList.SubNav has active styles if SubNav contains t
aria-hidden="true"
class="c8"
fill="currentColor"
focusable="false"
height="16"
role="img"
style="display: inline-block; user-select: none; vertical-align: text-bottom; overflow: visible;"
Expand Down
12 changes: 6 additions & 6 deletions src/__tests__/__snapshots__/ActionMenu.test.tsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -145,12 +145,8 @@ exports[`ActionMenu renders consistently 1`] = `
<svg
aria-hidden="true"
className="octicon octicon-triangle-down"
dangerouslySetInnerHTML={
{
"__html": "<path d="M4.427 7.427l3.396 3.396a.25.25 0 00.354 0l3.396-3.396A.25.25 0 0011.396 7H4.604a.25.25 0 00-.177.427z"></path>",
}
}
fill="currentColor"
focusable="false"
height={16}
role="img"
style={
Expand All @@ -163,7 +159,11 @@ exports[`ActionMenu renders consistently 1`] = `
}
viewBox="0 0 16 16"
width={16}
/>
>
<path
d="M4.427 7.427l3.396 3.396a.25.25 0 00.354 0l3.396-3.396A.25.25 0 0011.396 7H4.604a.25.25 0 00-.177.427z"
/>
</svg>
</span>
</button>
</div>
Expand Down
13 changes: 7 additions & 6 deletions src/__tests__/__snapshots__/Autocomplete.test.tsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -1266,12 +1266,8 @@ exports[`Autocomplete snapshots renders a menu that contains an item to add to t
<svg
aria-hidden="true"
className="octicon octicon-plus"
dangerouslySetInnerHTML={
{
"__html": "<path fill-rule="evenodd" d="M7.75 2a.75.75 0 01.75.75V7h4.25a.75.75 0 110 1.5H8.5v4.25a.75.75 0 11-1.5 0V8.5H2.75a.75.75 0 010-1.5H7V2.75A.75.75 0 017.75 2z"></path>",
}
}
fill="currentColor"
focusable="false"
height={16}
role="img"
style={
Expand All @@ -1284,7 +1280,12 @@ exports[`Autocomplete snapshots renders a menu that contains an item to add to t
}
viewBox="0 0 16 16"
width={16}
/>
>
<path
d="M7.75 2a.75.75 0 01.75.75V7h4.25a.75.75 0 110 1.5H8.5v4.25a.75.75 0 11-1.5 0V8.5H2.75a.75.75 0 010-1.5H7V2.75A.75.75 0 017.75 2z"
fillRule="evenodd"
/>
</svg>
</div>
<div
className="c7 c8"
Expand Down
1 change: 1 addition & 0 deletions src/__tests__/__snapshots__/Button.test.tsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -334,6 +334,7 @@ exports[`Button styles icon only button to make it a square 1`] = `
aria-hidden="true"
class="octicon octicon-search"
fill="currentColor"
focusable="false"
height="16"
role="img"
style="display: inline-block; user-select: none; vertical-align: text-bottom; overflow: visible;"
Expand Down
13 changes: 7 additions & 6 deletions src/__tests__/__snapshots__/CircleBadge.test.tsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,8 @@ exports[`CircleBadge CircleBadge.Icon renders consistently 1`] = `
<svg
aria-hidden="true"
className="c0"
dangerouslySetInnerHTML={
{
"__html": "<path fill-rule="evenodd" d="M13.78 4.22a.75.75 0 010 1.06l-7.25 7.25a.75.75 0 01-1.06 0L2.22 9.28a.75.75 0 011.06-1.06L6 10.94l6.72-6.72a.75.75 0 011.06 0z"></path>",
}
}
fill="currentColor"
focusable="false"
height={16}
role="img"
style={
Expand All @@ -28,7 +24,12 @@ exports[`CircleBadge CircleBadge.Icon renders consistently 1`] = `
}
viewBox="0 0 16 16"
width={16}
/>
>
<path
d="M13.78 4.22a.75.75 0 010 1.06l-7.25 7.25a.75.75 0 01-1.06 0L2.22 9.28a.75.75 0 011.06-1.06L6 10.94l6.72-6.72a.75.75 0 011.06 0z"
fillRule="evenodd"
/>
</svg>
`;

exports[`CircleBadge renders consistently 1`] = `
Expand Down
13 changes: 7 additions & 6 deletions src/__tests__/__snapshots__/CircleOcticon.test.tsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,8 @@ exports[`CircleOcticon renders consistently 1`] = `
<svg
aria-hidden="true"
className="octicon octicon-check"
dangerouslySetInnerHTML={
{
"__html": "<path fill-rule="evenodd" d="M21.03 5.72a.75.75 0 010 1.06l-11.5 11.5a.75.75 0 01-1.072-.012l-5.5-5.75a.75.75 0 111.084-1.036l4.97 5.195L19.97 5.72a.75.75 0 011.06 0z"></path>",
}
}
fill="currentColor"
focusable="false"
height={32}
role="img"
style={
Expand All @@ -59,7 +55,12 @@ exports[`CircleOcticon renders consistently 1`] = `
}
viewBox="0 0 24 24"
width={32}
/>
>
<path
d="M21.03 5.72a.75.75 0 010 1.06l-11.5 11.5a.75.75 0 01-1.072-.012l-5.5-5.75a.75.75 0 111.084-1.036l4.97 5.195L19.97 5.72a.75.75 0 011.06 0z"
fillRule="evenodd"
/>
</svg>
</div>
</div>
`;
13 changes: 7 additions & 6 deletions src/__tests__/__snapshots__/Dialog.test.tsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -152,12 +152,8 @@ exports[`Dialog renders consistently 1`] = `
<svg
aria-hidden="true"
className="octicon octicon-x"
dangerouslySetInnerHTML={
{
"__html": "<path fill-rule="evenodd" d="M3.72 3.72a.75.75 0 011.06 0L8 6.94l3.22-3.22a.75.75 0 111.06 1.06L9.06 8l3.22 3.22a.75.75 0 11-1.06 1.06L8 9.06l-3.22 3.22a.75.75 0 01-1.06-1.06L6.94 8 3.72 4.78a.75.75 0 010-1.06z"></path>",
}
}
fill="currentColor"
focusable="false"
height={16}
role="img"
style={
Expand All @@ -170,7 +166,12 @@ exports[`Dialog renders consistently 1`] = `
}
viewBox="0 0 16 16"
width={16}
/>
>
<path
d="M3.72 3.72a.75.75 0 011.06 0L8 6.94l3.22-3.22a.75.75 0 111.06 1.06L9.06 8l3.22 3.22a.75.75 0 11-1.06 1.06L8 9.06l-3.22 3.22a.75.75 0 01-1.06-1.06L6.94 8 3.72 4.78a.75.75 0 010-1.06z"
fillRule="evenodd"
/>
</svg>
</button>
<div
className="c2"
Expand Down
52 changes: 28 additions & 24 deletions src/__tests__/__snapshots__/SelectMenu.test.tsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -341,12 +341,8 @@ exports[`SelectMenu right-aligned modal has right: 0px 1`] = `
<svg
aria-hidden="true"
className="SelectMenu-icon SelectMenu-selected-icon"
dangerouslySetInnerHTML={
{
"__html": "<path fill-rule="evenodd" d="M13.78 4.22a.75.75 0 010 1.06l-7.25 7.25a.75.75 0 01-1.06 0L2.22 9.28a.75.75 0 011.06-1.06L6 10.94l6.72-6.72a.75.75 0 011.06 0z"></path>",
}
}
fill="currentColor"
focusable="false"
height={16}
role="img"
style={
Expand All @@ -359,7 +355,12 @@ exports[`SelectMenu right-aligned modal has right: 0px 1`] = `
}
viewBox="0 0 16 16"
width={16}
/>
>
<path
d="M13.78 4.22a.75.75 0 010 1.06l-7.25 7.25a.75.75 0 01-1.06 0L2.22 9.28a.75.75 0 011.06-1.06L6 10.94l6.72-6.72a.75.75 0 011.06 0z"
fillRule="evenodd"
/>
</svg>
Primer Components bugs
</a>
<a
Expand All @@ -373,12 +374,8 @@ exports[`SelectMenu right-aligned modal has right: 0px 1`] = `
<svg
aria-hidden="true"
className="SelectMenu-icon SelectMenu-selected-icon"
dangerouslySetInnerHTML={
{
"__html": "<path fill-rule="evenodd" d="M13.78 4.22a.75.75 0 010 1.06l-7.25 7.25a.75.75 0 01-1.06 0L2.22 9.28a.75.75 0 011.06-1.06L6 10.94l6.72-6.72a.75.75 0 011.06 0z"></path>",
}
}
fill="currentColor"
focusable="false"
height={16}
role="img"
style={
Expand All @@ -391,7 +388,12 @@ exports[`SelectMenu right-aligned modal has right: 0px 1`] = `
}
viewBox="0 0 16 16"
width={16}
/>
>
<path
d="M13.78 4.22a.75.75 0 010 1.06l-7.25 7.25a.75.75 0 01-1.06 0L2.22 9.28a.75.75 0 011.06-1.06L6 10.94l6.72-6.72a.75.75 0 011.06 0z"
fillRule="evenodd"
/>
</svg>
Primer Components roadmap
</a>
<div
Expand All @@ -409,12 +411,8 @@ exports[`SelectMenu right-aligned modal has right: 0px 1`] = `
<svg
aria-hidden="true"
className="SelectMenu-icon SelectMenu-selected-icon"
dangerouslySetInnerHTML={
{
"__html": "<path fill-rule="evenodd" d="M13.78 4.22a.75.75 0 010 1.06l-7.25 7.25a.75.75 0 01-1.06 0L2.22 9.28a.75.75 0 011.06-1.06L6 10.94l6.72-6.72a.75.75 0 011.06 0z"></path>",
}
}
fill="currentColor"
focusable="false"
height={16}
role="img"
style={
Expand All @@ -427,7 +425,12 @@ exports[`SelectMenu right-aligned modal has right: 0px 1`] = `
}
viewBox="0 0 16 16"
width={16}
/>
>
<path
d="M13.78 4.22a.75.75 0 010 1.06l-7.25 7.25a.75.75 0 01-1.06 0L2.22 9.28a.75.75 0 011.06-1.06L6 10.94l6.72-6.72a.75.75 0 011.06 0z"
fillRule="evenodd"
/>
</svg>
Project 3
</a>
<a
Expand All @@ -440,12 +443,8 @@ exports[`SelectMenu right-aligned modal has right: 0px 1`] = `
<svg
aria-hidden="true"
className="SelectMenu-icon SelectMenu-selected-icon"
dangerouslySetInnerHTML={
{
"__html": "<path fill-rule="evenodd" d="M13.78 4.22a.75.75 0 010 1.06l-7.25 7.25a.75.75 0 01-1.06 0L2.22 9.28a.75.75 0 011.06-1.06L6 10.94l6.72-6.72a.75.75 0 011.06 0z"></path>",
}
}
fill="currentColor"
focusable="false"
height={16}
role="img"
style={
Expand All @@ -458,7 +457,12 @@ exports[`SelectMenu right-aligned modal has right: 0px 1`] = `
}
viewBox="0 0 16 16"
width={16}
/>
>
<path
d="M13.78 4.22a.75.75 0 010 1.06l-7.25 7.25a.75.75 0 01-1.06 0L2.22 9.28a.75.75 0 011.06-1.06L6 10.94l6.72-6.72a.75.75 0 011.06 0z"
fillRule="evenodd"
/>
</svg>
Project 4
</a>
<footer
Expand Down
12 changes: 6 additions & 6 deletions src/__tests__/__snapshots__/SelectPanel.test.tsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -96,12 +96,8 @@ exports[`SelectPanel renders consistently 1`] = `
<svg
aria-hidden="true"
className="c2"
dangerouslySetInnerHTML={
{
"__html": "<path d="M4.427 7.427l3.396 3.396a.25.25 0 00.354 0l3.396-3.396A.25.25 0 0011.396 7H4.604a.25.25 0 00-.177.427z"></path>",
}
}
fill="currentColor"
focusable="false"
height={16}
role="img"
style={
Expand All @@ -114,7 +110,11 @@ exports[`SelectPanel renders consistently 1`] = `
}
viewBox="0 0 16 16"
width={16}
/>
>
<path
d="M4.427 7.427l3.396 3.396a.25.25 0 00.354 0l3.396-3.396A.25.25 0 0011.396 7H4.604a.25.25 0 00-.177.427z"
/>
</svg>
</button>
<div
id="portal-root"
Expand Down
Loading

0 comments on commit 3c5025d

Please sign in to comment.