@primer/css 20.0.0-rc.1924ae57 → 20.0.0-rc.645e2ab2

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.
@@ -25,7 +25,7 @@
25
25
  // Flow as column
26
26
 
27
27
  grid-auto-flow: column;
28
- grid-template-columns: auto 0 1fr; // sidebar column, separator, main column
28
+ grid-template-columns: auto 0 minmax(0, calc(100% - var(--Layout-sidebar-width) - var(--Layout-gutter))); // sidebar column, separator, main column
29
29
  grid-gap: var(--Layout-gutter);
30
30
 
31
31
  .Layout-sidebar {
@@ -101,7 +101,7 @@
101
101
  }
102
102
 
103
103
  &.Layout--sidebarPosition-end {
104
- grid-template-columns: 1fr 0 auto;
104
+ grid-template-columns: minmax(0, calc(100% - var(--Layout-sidebar-width) - var(--Layout-gutter))) 0 auto;
105
105
 
106
106
  .Layout-main {
107
107
  grid-column: 1;
@@ -83,6 +83,7 @@ $nav-height: $spacer-3 * 3 !default; // 48px
83
83
  &.focus,
84
84
  &:focus {
85
85
  @include focusOutline;
86
+
86
87
  outline-offset: -2px;
87
88
  }
88
89
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@primer/css",
3
- "version": "20.0.0-rc.1924ae57",
3
+ "version": "20.0.0-rc.645e2ab2",
4
4
  "description": "The CSS implementation of GitHub's Primer Design System",
5
5
  "homepage": "https://primer.style/css",
6
6
  "author": "GitHub, Inc.",
@@ -45,7 +45,7 @@
45
45
  "@primer/stylelint-config": "12.2.0",
46
46
  "autoprefixer": "10.4.0",
47
47
  "cssstats": "4.0.2",
48
- "eslint": "8.4.0",
48
+ "eslint": "8.4.1",
49
49
  "eslint-plugin-github": "4.3.5",
50
50
  "eslint-plugin-jest": "25.3.0",
51
51
  "eslint-plugin-prettier": "4.0.0",
@@ -53,9 +53,9 @@
53
53
  "front-matter": "4.0.2",
54
54
  "fs-extra": "10.0.0",
55
55
  "globby": "12.0.2",
56
- "jest": "27.4.3",
56
+ "jest": "27.4.4",
57
57
  "js-yaml": "4.1.0",
58
- "postcss": "8.4.4",
58
+ "postcss": "8.4.5",
59
59
  "postcss-calc": "8.0.0",
60
60
  "postcss-import": "14.0.2",
61
61
  "postcss-load-config": "3.1.0",