Skip to content
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
5 changes: 5 additions & 0 deletions .changeset/short-panthers-fail.md
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
---
"@primer/components": patch
---

Bump @primer/primitives to 4.4.0
1,051 changes: 804 additions & 247 deletions package-lock.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line numberDiff line numberDiff line change
Expand Up@@ -47,7 +47,7 @@
"license": "MIT",
"dependencies": {
"@primer/octicons-react": "^13.0.0",
"@primer/primitives": "0.0.0-202121782215",
"@primer/primitives": "4.4.0",
"@styled-system/css": "5.1.5",
"@styled-system/props": "5.1.5",
"@styled-system/theme-get": "5.1.2",
Expand Down
Original file line numberDiff line numberDiff line change
Expand Up@@ -45,7 +45,7 @@ exports[`Pagination renders consistently 1`] = `
}

.c2:active {
border-color: #eaecef;
border-color: hsla(214,13%,93%,1);
}

.c2[rel='prev'],
Expand Down
2 changes: 1 addition & 1 deletion src/__tests__/__snapshots__/ActionMenu.tsx.snap
Original file line numberDiff line numberDiff line change
Expand Up@@ -57,7 +57,7 @@ exports[`ActionMenu renders consistently 1`] = `
}

.c0:active {
background-color: #edeff2;
background-color: hsla(220,14%,94%,1);
box-shadow: inset 0 0.15em 0.3em rgba(27,31,35,0.15);
}

Expand Down
2 changes: 1 addition & 1 deletion src/__tests__/__snapshots__/AnchoredOverlay.tsx.snap
Original file line numberDiff line numberDiff line change
Expand Up@@ -57,7 +57,7 @@ exports[`AnchoredOverlay renders consistently 1`] = `
}

.c0:active {
background-color: #edeff2;
background-color: hsla(220,14%,94%,1);
box-shadow: inset 0 0.15em 0.3em rgba(27,31,35,0.15);
}

Expand Down
2 changes: 1 addition & 1 deletion src/__tests__/__snapshots__/BranchName.tsx.snap
Original file line numberDiff line numberDiff line change
Expand Up@@ -7,7 +7,7 @@ exports[`BranchName renders consistently 1`] = `
font-size: 12px;
font-family: SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace;
color: #586069;
background-color: #eaf5ff;
background-color: hsla(210,100%,96%,1);
border-radius: 6px;
}

Expand Down
18 changes: 9 additions & 9 deletions src/__tests__/__snapshots__/Button.tsx.snap
Original file line numberDiff line numberDiff line change
Expand Up@@ -57,7 +57,7 @@ exports[`Button renders consistently 1`] = `
}

.c0:active {
background-color: #edeff2;
background-color: hsla(220,14%,94%,1);
box-shadow: inset 0 0.15em 0.3em rgba(27,31,35,0.15);
}

Expand DownExpand Up@@ -129,7 +129,7 @@ exports[`Button respects the "disabled" prop 1`] = `
}

.c0:active {
background-color: #edeff2;
background-color: hsla(220,14%,94%,1);
box-shadow: inset 0 0.15em 0.3em rgba(27,31,35,0.15);
}

Expand DownExpand Up@@ -205,7 +205,7 @@ exports[`ButtonDanger renders consistently 1`] = `

.c0:active {
color: #ffffff;
background-color: #d42d3d;
background-color: hsla(354,66%,51%,1);
box-shadow: inset 0 1px 0 rgba(134,24,29,0.2);
border-color: rgba(27,31,35,0.15);
}
Expand DownExpand Up@@ -280,7 +280,7 @@ exports[`ButtonDanger renders correct disabled styles 1`] = `

.c0:active {
color: #ffffff;
background-color: #d42d3d;
background-color: hsla(354,66%,51%,1);
box-shadow: inset 0 1px 0 rgba(134,24,29,0.2);
border-color: rgba(27,31,35,0.15);
}
Expand DownExpand Up@@ -409,7 +409,7 @@ exports[`ButtonInvisible renders consistently 1`] = `

.c0:active {
color: #ffffff;
background-color: #035fc7;
background-color: hsla(212,97%,40%,1);
box-shadow: inset 0 1px 0 rgba(5,38,76,0.2);
border-color: rgba(27,31,35,0.15);
}
Expand DownExpand Up@@ -546,7 +546,7 @@ exports[`ButtonOutline renders consistently 1`] = `

.c0:active {
color: #ffffff;
background-color: #035fc7;
background-color: hsla(212,97%,40%,1);
box-shadow: inset 0 1px 0 rgba(5,38,76,0.2);
border-color: rgba(27,31,35,0.15);
}
Expand DownExpand Up@@ -622,7 +622,7 @@ exports[`ButtonOutline renders correct disabled styles 1`] = `

.c0:active {
color: #ffffff;
background-color: #035fc7;
background-color: hsla(212,97%,40%,1);
box-shadow: inset 0 1px 0 rgba(5,38,76,0.2);
border-color: rgba(27,31,35,0.15);
}
Expand DownExpand Up@@ -696,7 +696,7 @@ exports[`ButtonPrimary renders consistently 1`] = `
}

.c0:active {
background-color: #2a8f47;
background-color: hsla(137,55%,36%,1);
box-shadow: inset 0 1px 0 rgba(20,70,32,0.2);
}

Expand DownExpand Up@@ -768,7 +768,7 @@ exports[`ButtonPrimary renders correct disabled styles 1`] = `
}

.c0:active {
background-color: #2a8f47;
background-color: hsla(137,55%,36%,1);
box-shadow: inset 0 1px 0 rgba(20,70,32,0.2);
}

Expand Down
2 changes: 1 addition & 1 deletion src/__tests__/__snapshots__/Dropdown.tsx.snap
Original file line numberDiff line numberDiff line change
Expand Up@@ -79,7 +79,7 @@ exports[`Dropdown.Button renders consistently 1`] = `
}

.c0:active {
background-color: #edeff2;
background-color: hsla(220,14%,94%,1);
box-shadow: inset 0 0.15em 0.3em rgba(27,31,35,0.15);
}

Expand Down
2 changes: 1 addition & 1 deletion src/__tests__/__snapshots__/DropdownMenu.tsx.snap
Original file line numberDiff line numberDiff line change
Expand Up@@ -57,7 +57,7 @@ exports[`DropdownMenu renders consistently 1`] = `
}

.c0:active {
background-color: #edeff2;
background-color: hsla(220,14%,94%,1);
box-shadow: inset 0 0.15em 0.3em rgba(27,31,35,0.15);
}

Expand Down
8 changes: 4 additions & 4 deletions src/__tests__/__snapshots__/SelectMenu.tsx.snap
Original file line numberDiff line numberDiff line change
Expand Up@@ -57,7 +57,7 @@ exports[`SelectMenu right-aligned modal has right: 0px 1`] = `
}

.c1:active {
background-color: #edeff2;
background-color: hsla(220,14%,94%,1);
box-shadow: inset 0 0.15em 0.3em rgba(27,31,35,0.15);
}

Expand All@@ -74,7 +74,7 @@ exports[`SelectMenu right-aligned modal has right: 0px 1`] = `
font-weight: 600;
color: #6a737d;
background-color: #f6f8fa;
border-bottom: 1px solid #eaecef;
border-bottom: 1px solid hsla(214,13%,93%,1);
}

.c7 {
Expand All@@ -83,7 +83,7 @@ exports[`SelectMenu right-aligned modal has right: 0px 1`] = `
font-size: 12px;
color: #6a737d;
text-align: center;
border-top: 1px solid #eaecef;
border-top: 1px solid hsla(214,13%,93%,1);
}

.c5 {
Expand All@@ -101,7 +101,7 @@ exports[`SelectMenu right-aligned modal has right: 0px 1`] = `
cursor: pointer;
background-color: #ffffff;
border: 0;
border-bottom: 1px solid #eaecef;
border-bottom: 1px solid hsla(214,13%,93%,1);
color: #586069;
-webkit-text-decoration: none;
text-decoration: none;
Expand Down
2 changes: 1 addition & 1 deletion src/__tests__/__snapshots__/SelectPanel.tsx.snap
Original file line numberDiff line numberDiff line change
Expand Up@@ -63,7 +63,7 @@ exports[`SelectPanel renders consistently 1`] = `
}

.c1:active {
background-color: #edeff2;
background-color: hsla(220,14%,94%,1);
box-shadow: inset 0 0.15em 0.3em rgba(27,31,35,0.15);
}

Expand Down
2 changes: 1 addition & 1 deletion src/__tests__/__snapshots__/SideNav.tsx.snap
Original file line numberDiff line numberDiff line change
Expand Up@@ -42,7 +42,7 @@ exports[`SideNav SideNav.Link renders consistently 1`] = `
color: #24292e;
padding: 16px;
border: 0;
border-top: 1px solid #eaecef;
border-top: 1px solid hsla(214,13%,93%,1);
}

.c1.variant-normal > .c0:first-child {
Expand Down
4 changes: 2 additions & 2 deletions src/__tests__/__snapshots__/Timeline.tsx.snap
Original file line numberDiff line numberDiff line change
Expand Up@@ -128,7 +128,7 @@ exports[`Timeline.Item renders consistently 1`] = `
display: block;
width: 2px;
content: '';
background-color: #eaecef;
background-color: hsla(214,13%,93%,1);
}

<div
Expand DownExpand Up@@ -166,7 +166,7 @@ exports[`Timeline.Item renders with condensed prop 1`] = `
display: block;
width: 2px;
content: '';
background-color: #eaecef;
background-color: hsla(214,13%,93%,1);
}

.c0:last-child {
Expand Down
2 changes: 1 addition & 1 deletion src/__tests__/__snapshots__/UnderlineNav.tsx.snap
Original file line numberDiff line numberDiff line change
Expand Up@@ -10,7 +10,7 @@ exports[`UnderlineNav renders consistently 1`] = `
-webkit-justify-content: space-between;
-ms-flex-pack: justify;
justify-content: space-between;
border-bottom: 1px solid #eaecef;
border-bottom: 1px solid hsla(214,13%,93%,1);
}

.c0.UnderlineNav--right {
Expand Down