Skip to content

Commit

Permalink
Upgrading @primer/stylelint-config@12.3.3 (#1956)
Browse files Browse the repository at this point in the history
* Upgrading @primer/stylelint-config@12.3.2

* @primer/stylelint-config@12.3.3

* Create few-humans-relax.md
  • Loading branch information
jonrohan committed Feb 28, 2022
1 parent ad85c91 commit 3906346
Show file tree
Hide file tree
Showing 8 changed files with 16 additions and 5 deletions.
5 changes: 5 additions & 0 deletions .changeset/few-humans-relax.md
@@ -0,0 +1,5 @@
---
"@primer/css": patch
---

Upgrading @primer/stylelint-config@12.3.2
2 changes: 1 addition & 1 deletion package.json
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
Expand Up @@ -16,6 +16,7 @@
display: block;
height: 1px;
padding: 0;
// stylelint-disable-next-line primer/spacing
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
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
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
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
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
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

0 comments on commit 3906346

Please sign in to comment.