@primer/css 19.5.2-rc.7b52cd2f → 19.6.0

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.
@@ -270,12 +270,15 @@ $Layout-responsive-variant-max-breakpoint: 'md' !default;
270
270
  }
271
271
  }
272
272
 
273
+ // PageLayout-wrapper bundles header, footer, pane, and content regions
273
274
  .PageLayout-wrapper {
274
275
  display: grid;
275
276
  grid: auto-flow / 1fr;
276
277
  row-gap: var(--Layout-row-gap);
277
278
  }
278
279
 
280
+ // PageLayout-columns wrap pane and content regions
281
+ // If layout has no pane, PageLayout-columns is not present
279
282
  .PageLayout-columns {
280
283
  display: grid;
281
284
  column-gap: var(--Layout-column-gap);
@@ -283,6 +286,18 @@ $Layout-responsive-variant-max-breakpoint: 'md' !default;
283
286
  grid-template-columns: var(--Layout-template-columns);
284
287
  grid-template-rows: 1fr;
285
288
  grid-template-areas: var(--Layout-template-areas);
289
+
290
+ .PageLayout-content {
291
+ // stylelint-disable-next-line primer/spacing
292
+ padding-right: var(--Layout-inner-spacing-max);
293
+ // stylelint-disable-next-line primer/spacing
294
+ padding-left: var(--Layout-inner-spacing-max);
295
+ grid-area: content;
296
+ }
297
+
298
+ .PageLayout-pane {
299
+ grid-area: pane;
300
+ }
286
301
  }
287
302
 
288
303
  // outer spacing
@@ -367,15 +382,3 @@ $Layout-responsive-variant-max-breakpoint: 'md' !default;
367
382
  // stylelint-disable-next-line primer/spacing
368
383
  padding: var(--Layout-inner-spacing-min);
369
384
  }
370
-
371
- .PageLayout-content {
372
- // stylelint-disable-next-line primer/spacing
373
- padding-right: var(--Layout-inner-spacing-max);
374
- // stylelint-disable-next-line primer/spacing
375
- padding-left: var(--Layout-inner-spacing-max);
376
- grid-area: content;
377
- }
378
-
379
- .PageLayout-pane {
380
- grid-area: pane;
381
- }
package/links/link.scss CHANGED
@@ -49,7 +49,7 @@
49
49
  .Link--secondary,
50
50
  .Link--primary,
51
51
  .Link--muted {
52
- &:hover [class*='color-text'] {
52
+ &:hover [class*='color-fg'] {
53
53
  color: inherit !important;
54
54
  }
55
55
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@primer/css",
3
- "version": "19.5.2-rc.7b52cd2f",
3
+ "version": "19.6.0",
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
  "@primer/primitives": "^7.5.1"
43
43
  },
44
44
  "devDependencies": {
45
- "@changesets/changelog-github": "0.4.2",
45
+ "@changesets/changelog-github": "0.4.3",
46
46
  "@changesets/cli": "2.20.0",
47
47
  "@github/prettier-config": "0.0.4",
48
48
  "@koddsson/postcss-sass": "5.0.1",
@@ -56,19 +56,19 @@
56
56
  "eslint-plugin-prettier": "4.0.0",
57
57
  "filesize": "8.0.7",
58
58
  "front-matter": "4.0.2",
59
- "fs-extra": "10.0.0",
59
+ "fs-extra": "10.0.1",
60
60
  "globby": "13.1.0",
61
61
  "jest": "27.4.7",
62
62
  "js-yaml": "4.1.0",
63
63
  "postcss": "8.4.7",
64
- "postcss-calc": "8.2.3",
64
+ "postcss-calc": "8.2.4",
65
65
  "postcss-import": "14.0.2",
66
66
  "postcss-load-config": "3.1.0",
67
67
  "postcss-scss": "4.0.3",
68
68
  "postcss-simple-vars": "6.0.3",
69
69
  "prettier": "2.5.1",
70
70
  "semver": "7.3.5",
71
- "stylelint": "14.3.0",
71
+ "stylelint": "14.5.3",
72
72
  "table": "6.7.5"
73
73
  },
74
74
  "jest": {