Skip to content

Commit c57737e

Browse files
authored
Merge branch 'main' into markdown-img-bg
2 parents c2abf77 + c078252 commit c57737e

30 files changed

+382
-682
lines changed

docs/package-lock.json

Lines changed: 116 additions & 140 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package-lock.json

Lines changed: 177 additions & 536 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@
4141
"build:storybook": "cd docs && npm i && npm run build:storybook"
4242
},
4343
"dependencies": {
44-
"@primer/primitives": "^8.2.0",
45-
"@primer/view-components": "^0.30.0"
44+
"@primer/primitives": "^9.0.3",
45+
"@primer/view-components": "^0.33.0"
4646
},
4747
"devDependencies": {
4848
"@changesets/changelog-github": "^0.5.0",

src/autocomplete/suggester.scss

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,17 @@
1212
list-style: none;
1313
cursor: pointer;
1414
background: var(--overlay-bgColor, var(--color-canvas-overlay));
15+
// stylelint-disable-next-line primer/borders
1516
border: $border-width $border-style var(--borderColor-default, var(--color-border-default));
17+
// stylelint-disable-next-line primer/borders
1618
border-radius: $border-radius;
1719
box-shadow: var(--shadow-resting-medium, var(--color-shadow-medium));
1820

1921
li {
2022
display: block;
2123
padding: var(--base-size-4) var(--base-size-8);
2224
font-weight: $font-weight-semibold;
25+
// stylelint-disable-next-line primer/borders
2326
border-bottom: $border-width $border-style var(--borderColor-muted, var(--color-border-muted));
2427

2528
small {
@@ -29,12 +32,16 @@
2932

3033
&:last-child {
3134
border-bottom: 0;
35+
// stylelint-disable-next-line primer/borders
3236
border-bottom-right-radius: $border-radius;
37+
// stylelint-disable-next-line primer/borders
3338
border-bottom-left-radius: $border-radius;
3439
}
3540

3641
&:first-child {
42+
// stylelint-disable-next-line primer/borders
3743
border-top-left-radius: $border-radius;
44+
// stylelint-disable-next-line primer/borders
3845
border-top-right-radius: $border-radius;
3946
}
4047

src/base/base.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ hr,
6161
overflow: hidden;
6262
background: transparent;
6363
border: 0;
64+
// stylelint-disable-next-line primer/borders
6465
border-bottom: $border-width $border-style var(--borderColor-muted, var(--color-border-muted));
6566

6667
@include clearfix();
@@ -72,6 +73,7 @@ hr,
7273

7374
table {
7475
border-spacing: 0;
76+
// stylelint-disable-next-line primer/borders
7577
border-collapse: collapse;
7678
}
7779

src/base/kbd.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ kbd {
1313
// stylelint-disable-next-line primer/borders
1414
border: $border-style $border-width var(--borderColor-neutral-muted, var(--color-neutral-muted));
1515
border-bottom-color: var(--borderColor-neutral-muted, var(--color-neutral-muted));
16+
// stylelint-disable-next-line primer/borders
1617
border-radius: $border-radius;
1718
// stylelint-disable-next-line primer/box-shadow
1819
box-shadow: inset 0 -1px 0 var(--borderColor-neutral-muted, var(--color-neutral-muted));

src/box/box-overlay.scss

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,11 @@
1212
.Box-header {
1313
margin: 0;
1414
border-width: 0;
15+
// stylelint-disable-next-line primer/borders
1516
border-bottom-width: $border-width;
17+
// stylelint-disable-next-line primer/borders
1618
border-top-left-radius: $border-radius;
19+
// stylelint-disable-next-line primer/borders
1720
border-top-right-radius: $border-radius;
1821
}
1922
}

src/branch-name/branch-name.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
color: var(--fgColor-muted, var(--color-fg-muted));
1111
word-break: break-all;
1212
background-color: var(--bgColor-accent-muted, var(--color-accent-subtle));
13+
// stylelint-disable-next-line primer/borders
1314
border-radius: $border-radius;
1415

1516
.octicon {

src/buttons/button-group.scss

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,18 @@
2323
border-radius: 0;
2424

2525
&:first-child {
26+
// stylelint-disable-next-line primer/borders
2627
border-top-left-radius: $border-radius;
28+
// stylelint-disable-next-line primer/borders
2729
border-bottom-left-radius: $border-radius;
2830
}
2931

3032
&:last-child {
33+
// stylelint-disable-next-line primer/borders
3134
border-right-width: $border-width;
35+
// stylelint-disable-next-line primer/borders
3236
border-top-right-radius: $border-radius;
37+
// stylelint-disable-next-line primer/borders
3338
border-bottom-right-radius: $border-radius;
3439
}
3540

@@ -38,6 +43,7 @@
3843
&:focus,
3944
&:active,
4045
&:hover {
46+
// stylelint-disable-next-line primer/borders
4147
border-right-width: $border-width;
4248

4349
+ .BtnGroup-item,
@@ -51,13 +57,18 @@
5157
float: left;
5258

5359
&:first-child .BtnGroup-item {
60+
// stylelint-disable-next-line primer/borders
5461
border-top-left-radius: $border-radius;
62+
// stylelint-disable-next-line primer/borders
5563
border-bottom-left-radius: $border-radius;
5664
}
5765

5866
&:last-child .BtnGroup-item {
67+
// stylelint-disable-next-line primer/borders
5968
border-right-width: $border-width;
69+
// stylelint-disable-next-line primer/borders
6070
border-top-right-radius: $border-radius;
71+
// stylelint-disable-next-line primer/borders
6172
border-bottom-right-radius: $border-radius;
6273
}
6374

@@ -72,6 +83,7 @@
7283
&:active,
7384
&:hover {
7485
.BtnGroup-item {
86+
// stylelint-disable-next-line primer/borders
7587
border-right-width: $border-width;
7688
}
7789

src/buttons/button.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@
1414
vertical-align: middle;
1515
cursor: pointer;
1616
user-select: none;
17+
// stylelint-disable-next-line primer/borders
1718
border: $border-width $border-style;
19+
// stylelint-disable-next-line primer/borders
1820
border-radius: $border-radius;
1921
appearance: none; // Corrects inability to style clickable `input` types in iOS.
2022

0 commit comments

Comments
 (0)