primer-subhead
Advanced tools
Comparing version 1.1.0-alpha.fb510a5d to 1.1.0-alpha.fbc5fb3f
@@ -1,1 +0,1 @@ | ||
module.exports = {"cssstats":{"size":553,"gzipSize":313,"humanizedSize":"553B","humanizedGzipSize":"313B","rules":{"total":6,"size":{"graph":[8,1,4,2,4,4],"max":8,"average":3.8333333333333335}},"selectors":{"total":6,"type":0,"class":6,"id":0,"pseudoClass":0,"pseudoElement":0,"values":[".Subhead",".Subhead--spacious",".Subhead-heading",".Subhead-heading--danger",".Subhead-description",".Subhead-actions"],"specificity":{"max":10,"average":10}},"declarations":{"total":23,"unique":22,"properties":{"display":["-webkit-box","flex"],"padding-bottom":["8px"],"margin-bottom":["16px"],"border-bottom":["1px #e1e4e8 solid"],"-webkit-box-orient":["horizontal"],"-webkit-box-direction":["normal"],"flex-flow":["row wrap"],"margin-top":["40px"],"font-size":["24px","14px"],"font-weight":["normal","600"],"-webkit-box-flex":["1","1"],"flex":["1 1 auto","1 100%"],"color":["#cb2431","#586069"],"-ms-grid-row-align":["center"],"align-self":["center"],"-webkit-box-pack":["end"],"justify-content":["flex-end"]}},"mediaQueries":{"total":0,"unique":0,"values":[],"contents":[]}}} | ||
module.exports = {"cssstats":{"size":415,"gzipSize":265,"humanizedSize":"415B","humanizedGzipSize":"265B","rules":{"total":6,"size":{"graph":[5,1,3,2,3,3],"max":5,"average":2.8333333333333335},"selectorByRuleSizes":[{"selector":".Subhead","declarations":5},{"selector":".Subhead-actions","declarations":3},{"selector":".Subhead-description","declarations":3},{"selector":".Subhead-heading","declarations":3},{"selector":".Subhead-heading--danger","declarations":2},{"selector":".Subhead--spacious","declarations":1}]},"selectors":{"total":6,"type":0,"class":6,"id":0,"pseudoClass":0,"pseudoElement":0,"values":[".Subhead",".Subhead--spacious",".Subhead-heading",".Subhead-heading--danger",".Subhead-description",".Subhead-actions"],"specificity":{"max":10,"average":10}},"declarations":{"total":17,"unique":17,"properties":{"display":["flex"],"padding-bottom":["8px"],"margin-bottom":["16px"],"border-bottom":["1px #e1e4e8 solid"],"flex-flow":["row wrap"],"margin-top":["40px"],"font-size":["24px","14px"],"font-weight":["normal","600"],"flex":["1 1 auto","1 100%"],"color":["#cb2431","#586069"],"-ms-grid-row-align":["center"],"align-self":["center"],"justify-content":["flex-end"]}},"mediaQueries":{"total":0,"unique":0,"values":[],"contents":[]}}} |
{ | ||
"version": "1.1.0-alpha.fb510a5d", | ||
"version": "1.1.0-alpha.fbc5fb3f", | ||
"name": "primer-subhead", | ||
@@ -12,3 +12,3 @@ "description": "The Subhead is a simple header with a bottom border. It's designed to be used on settings and configuration pages.", | ||
"license": "MIT", | ||
"style": "index.scss", | ||
"style": "build/build.css", | ||
"sass": "index.scss", | ||
@@ -25,6 +25,8 @@ "main": "build/index.js", | ||
"lint": "../../script/lint-scss", | ||
"test": "../../script/npm-run-all build lint test-docs" | ||
"test": "../../script/npm-run-all build lint test-docs", | ||
"prepublishOnly": "../../script/notify pending", | ||
"postpublish": "../../script/notify success" | ||
}, | ||
"dependencies": { | ||
"primer-support": "4.6.0-alpha.fb510a5d" | ||
"primer-support": "4.8.0-alpha.fbc5fb3f" | ||
}, | ||
@@ -31,0 +33,0 @@ "keywords": [ |
@@ -40,3 +40,4 @@ # Primer / Subhead | ||
title: Subhead | ||
status: New release | ||
path: components/subhead | ||
status: Stable | ||
status_issue: https://github.com/github/design-systems/issues/101 | ||
@@ -49,3 +50,3 @@ --> | ||
```html | ||
```html title="Subhead" | ||
<div class="Subhead"> | ||
@@ -58,3 +59,3 @@ <div class="Subhead-heading">Plain subhead</div> | ||
```html | ||
```html title="Spacious Subhead" | ||
<div class="Subhead Subhead--spacious"> | ||
@@ -67,3 +68,3 @@ <div class="Subhead-heading">Spacious subhead</div> | ||
```html | ||
```html title="Subhead with description" | ||
<div class="Subhead"> | ||
@@ -77,3 +78,3 @@ <div class="Subhead-heading">Subhead with description</div> | ||
```html | ||
```html title="Subhead with longer description" | ||
<div class="Subhead"> | ||
@@ -89,3 +90,3 @@ <div class="Subhead-heading">Plain subhead</div> | ||
```html | ||
```html title="Subhead with actions" | ||
<div class="Subhead"> | ||
@@ -104,3 +105,3 @@ <div class="Subhead-heading">Subhead with button</div> | ||
```html | ||
```html title="Subhead with actions and description" | ||
<div class="Subhead"> | ||
@@ -115,3 +116,3 @@ <div class="Subhead-heading">Subhead with actions and description</div> | ||
```html | ||
```html title="Subhead danger" | ||
<div class="Subhead"> | ||
@@ -118,0 +119,0 @@ <div class="Subhead-heading Subhead-heading--danger">Danger zone</div> |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Trivial Package
Supply chain riskPackages less than 10 lines of code are easily copied into your own project and may not warrant the additional supply chain risk of an external dependency.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Trivial Package
Supply chain riskPackages less than 10 lines of code are easily copied into your own project and may not warrant the additional supply chain risk of an external dependency.
Found 1 instance in 1 package
10657
9
10
126
+ Addedprimer-support@4.8.0-alpha.fbc5fb3f(transitive)
- Removedprimer-support@4.6.0-alpha.fb510a5d(transitive)