@primer/css 21.0.8-rc.ec08b176 → 21.0.8
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.
- package/CHANGELOG.md +4 -0
- package/dist/core.css +1 -1
- package/dist/core.css.map +1 -1
- package/dist/forms.css +1 -1
- package/dist/forms.css.map +1 -1
- package/dist/layout.css +1 -1
- package/dist/meta.json +55 -55
- package/dist/primer.css +1 -1
- package/dist/primer.css.map +1 -1
- package/dist/primitives.css +1 -1
- package/dist/primitives.css.map +1 -1
- package/dist/utilities.css +1 -1
- package/forms/form-control.scss +5 -5
- package/layout/app-frame.scss +1 -1
- package/layout/page-layout.scss +1 -5
- package/marketing/utilities/layout.scss +0 -1
- package/package.json +3 -3
- package/utilities/borders.scss +1 -1
- package/utilities/colors.scss +1 -2
- package/utilities/flexbox.scss +0 -1
- package/utilities/layout.scss +1 -1
- package/utilities/margin.scss +0 -2
- package/utilities/padding.scss +0 -1
package/layout/page-layout.scss
CHANGED
|
@@ -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-
|
|
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
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@primer/css",
|
|
3
|
-
"version": "21.0.8
|
|
3
|
+
"version": "21.0.8",
|
|
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.
|
|
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.
|
|
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",
|
package/utilities/borders.scss
CHANGED
package/utilities/colors.scss
CHANGED
|
@@ -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-
|
|
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
|
|
package/utilities/flexbox.scss
CHANGED
package/utilities/layout.scss
CHANGED
package/utilities/margin.scss
CHANGED