Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrading @primer/stylelint-config@12.3.3 #1956

Merged
merged 5 commits into from
Feb 28, 2022
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/few-humans-relax.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@primer/css": patch
---

Upgrading @primer/stylelint-config@12.3.2
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"@changesets/cli": "2.20.0",
"@github/prettier-config": "0.0.4",
"@koddsson/postcss-sass": "5.0.1",
"@primer/stylelint-config": "^12.3.1",
"@primer/stylelint-config": "^12.3.3",
"autoprefixer": "10.4.2",
"chokidar-cli": "3.0.0",
"cssstats": "4.0.2",
Expand Down
1 change: 1 addition & 0 deletions src/actionlist/action-list-item-divider.scss
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
display: block;
height: 1px;
padding: 0;
// stylelint-disable-next-line primer/spacing
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

馃槂

margin: ($spacer-2 - 1px) ($spacer-2 * -1) $spacer-2;
list-style: none;
background: var(--color-action-list-item-inline-divider);
Expand Down
1 change: 1 addition & 0 deletions src/actionlist/action-list-tree.scss
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@

// --ActionList-tree-depth is defined as an inline style referencing the aria-level of each item ie: aria-level="2"
.ActionList-content {
// stylelint-disable-next-line primer/spacing
padding-left: calc(#{$spacer-2} * var(--ActionList-tree-depth));
}
}
Expand Down
1 change: 1 addition & 0 deletions src/forms/radio-group.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

.radio-label {
float: left;
// stylelint-disable-next-line primer/spacing
padding: 6px $spacer-3 6px ($spacer-3 + 12px + $spacer-2); // 12px is the size of the radio-input
// stylelint-disable-next-line primer/spacing
margin-left: -1px;
Expand Down
2 changes: 2 additions & 0 deletions src/layout/page-layout.scss
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,7 @@ $Layout-responsive-variant-max-breakpoint: 'md' !default;

.PageLayout-region--dividerNarrow-filled-before {
position: relative;
// stylelint-disable-next-line primer/spacing
margin-top: calc(#{$spacer-2} + var(--Layout-row-gap));

&::after {
Expand All @@ -256,6 +257,7 @@ $Layout-responsive-variant-max-breakpoint: 'md' !default;

.PageLayout-region--dividerNarrow-filled-after {
position: relative;
// stylelint-disable-next-line primer/spacing
margin-bottom: calc(#{$spacer-2} + var(--Layout-row-gap));

&::before {
Expand Down
1 change: 1 addition & 0 deletions src/marketing/utilities/layout.scss
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
@each $breakpoint, $variant in $responsive-variants {
@include breakpoint($breakpoint) {
@for $offset from 1 through 7 {
// stylelint-disable-next-line primer/spacing
.offset#{$variant}-n#{$offset} { margin-left: -($offset * 0.0833333333 * 100%); }
}
}
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1153,10 +1153,10 @@
resolved "https://registry.yarnpkg.com/@primer/primitives/-/primitives-7.4.0.tgz#75df54a80233a432b687c0e3010e4be6bd60a82d"
integrity sha512-gD6yHXN7YKox/bdUNgxhoSS/WXZVaORK1r4dOAyTrdoPrLV/ucIfRInPyVcTF+Mqr0zcTFJtiMtuA5Y8CSyOEg==

"@primer/stylelint-config@^12.3.1":
version "12.3.1"
resolved "https://registry.yarnpkg.com/@primer/stylelint-config/-/stylelint-config-12.3.1.tgz#96905721dd15ff52ed26a97e81c165a189d44eaf"
integrity sha512-Bii+wGxPmXf23sfStuYPXD/os5wKPgnnUZLv0U+SiYGJTlVFTtdcxz1lk2xEI56cCRMjvTOgUWDVeGy3TeW+/w==
"@primer/stylelint-config@^12.3.3":
version "12.3.3"
resolved "https://registry.yarnpkg.com/@primer/stylelint-config/-/stylelint-config-12.3.3.tgz#f4ef0548a7884229358e5243d746d6d3af6a73a5"
integrity sha512-PHcBGEM/8mToW9aVrcRi9RVZN0WpW8zHN1C8+deP6tozclP06jzHsdprJG02buyR6N1BmDllsEBYZ2KK4Y71Bg==
dependencies:
anymatch "^3.1.1"
globby "^11.0.1"
Expand Down