@primer/css 21.0.8-rc.41e7fb87 → 21.0.8-rc.51c1a07b

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -14,12 +14,10 @@ $Layout-responsive-variant-max-breakpoint: 'md' !default;
14
14
  --Layout-row-gap: #{$spacer-3};
15
15
 
16
16
  // the `px` unit is mandatory for `calc()` execution. See https://stackoverflow.com/a/32518348
17
- // stylelint-disable length-zero-no-unit
18
17
  --Layout-outer-spacing-x: 0px; // wrapper margin x
19
18
  --Layout-outer-spacing-y: 0px; // wrapper margin y
20
19
  --Layout-inner-spacing-min: 0px; // default region padding
21
20
  --Layout-inner-spacing-max: 0px; // relaxed content horizontal padding
22
- // stylelint-enable length-zero-no-unit
23
21
  }
24
22
 
25
23
  // Layout beta mixins
@@ -44,7 +42,7 @@ $Layout-responsive-variant-max-breakpoint: 'md' !default;
44
42
  width: calc(100% + (var(--Layout-outer-spacing-x) * 2));
45
43
  height: #{$spacer-2}; // 8px
46
44
  content: '';
47
- background-color: var(--bgColor-muted, var(--color-canvas-inset));
45
+ background-color: var(--bgColor-inset, var(--color-canvas-inset));
48
46
  box-shadow: inset 0 1px $Layout-divider-color, inset 0 -1px $Layout-divider-color;
49
47
  }
50
48
 
@@ -378,7 +376,6 @@ $Layout-responsive-variant-max-breakpoint: 'md' !default;
378
376
 
379
377
  .PageLayout--columnGap-none {
380
378
  // the `px` unit is mandatory for `calc()` execution. See https://stackoverflow.com/a/32518348
381
- // stylelint-disable-next-line length-zero-no-unit
382
379
  --Layout-column-gap: 0px;
383
380
  }
384
381
 
@@ -394,7 +391,6 @@ $Layout-responsive-variant-max-breakpoint: 'md' !default;
394
391
 
395
392
  .PageLayout--rowGap-none {
396
393
  // the `px` unit is mandatory for `calc()` execution. See https://stackoverflow.com/a/32518348
397
- // stylelint-disable length-zero-no-unit
398
394
  --Layout-row-gap: 0px;
399
395
  }
400
396
 
@@ -1,5 +1,4 @@
1
1
  // Layout utilities
2
- // stylelint-disable block-opening-brace-space-before
3
2
 
4
3
  // Responsive utilities to position content
5
4
  // No utilities for sm and xl breakpoints
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@primer/css",
3
- "version": "21.0.8-rc.41e7fb87",
3
+ "version": "21.0.8-rc.51c1a07b",
4
4
  "description": "The CSS implementation of GitHub's Primer Design System",
5
5
  "homepage": "https://primer.style/css",
6
6
  "author": "GitHub, Inc.",
@@ -42,7 +42,7 @@
42
42
  "build:storybook": "cd docs && npm i && npm run build:storybook"
43
43
  },
44
44
  "dependencies": {
45
- "@primer/primitives": "^7.11.12",
45
+ "@primer/primitives": "^7.12.0",
46
46
  "@primer/view-components": "^0.5.1"
47
47
  },
48
48
  "devDependencies": {
@@ -50,7 +50,7 @@
50
50
  "@changesets/cli": "^2.26.1",
51
51
  "@csstools/postcss-sass": "^5.0.1",
52
52
  "@github/prettier-config": "^0.0.6",
53
- "@primer/stylelint-config": "^12.7.1",
53
+ "@primer/stylelint-config": "^12.8.0",
54
54
  "autoprefixer": "^10.4.13",
55
55
  "chokidar-cli": "^3.0.0",
56
56
  "cssstats": "^4.0.5",
@@ -1,5 +1,5 @@
1
1
  // Core border utilities
2
- // stylelint-disable block-opening-brace-space-before, primer/borders
2
+ // stylelint-disable primer/borders
3
3
 
4
4
  /* Add a gray border to the left and right */
5
5
  .border-x {
@@ -1,4 +1,3 @@
1
- // stylelint-disable block-opening-brace-space-before
2
1
 
3
2
  // Foreground
4
3
 
@@ -22,7 +21,7 @@
22
21
 
23
22
  .color-bg-default { background-color: var(--bgColor-default, var(--color-canvas-default)) !important; }
24
23
  .color-bg-overlay { background-color: var(--overlay-bgColor, var(--color-canvas-overlay)) !important; }
25
- .color-bg-inset { background-color: var(--bgColor-muted, var(--color-canvas-inset)) !important; }
24
+ .color-bg-inset { background-color: var(--bgColor-inset, var(--color-canvas-inset)) !important; }
26
25
  .color-bg-subtle { background-color: var(--bgColor-muted, var(--color-canvas-subtle)) !important; }
27
26
  .color-bg-emphasis { background-color: var(--bgColor-emphasis, var(--color-neutral-emphasis-plus)) !important; }
28
27
 
@@ -1,5 +1,4 @@
1
1
  // Flex utility classes
2
- // stylelint-disable block-opening-brace-space-before
3
2
  @each $breakpoint, $variant in $responsive-variants {
4
3
  @include breakpoint($breakpoint) {
5
4
  // Flexbox classes
@@ -1,5 +1,5 @@
1
1
  // Layout
2
- // stylelint-disable block-opening-brace-space-before, comment-empty-line-before
2
+ // stylelint-disable comment-empty-line-before
3
3
 
4
4
  /* Position */
5
5
  @each $breakpoint, $variant in $responsive-variants {
@@ -1,6 +1,4 @@
1
1
  // Margin spacer utilities
2
- // stylelint-disable block-opening-brace-space-before
3
- // stylelint-disable declaration-colon-space-before
4
2
  // stylelint-disable comment-empty-line-before
5
3
  // stylelint-disable primer/spacing
6
4
 
@@ -1,5 +1,4 @@
1
1
  // Padding spacer utilities
2
- // stylelint-disable block-opening-brace-space-before
3
2
  // stylelint-disable comment-empty-line-before
4
3
  // stylelint-disable primer/spacing
5
4