primer-alerts
Advanced tools
Comparing version 1.6.0-alpha.ca4c2c3a to 1.6.0-alpha.cb697793
@@ -1,1 +0,1 @@ | ||
module.exports = {"cssstats":{"size":891,"gzipSize":401,"humanizedSize":"891B","humanizedGzipSize":"401B","rules":{"total":11,"size":{"graph":[6,1,1,12,1,3,3,3,3,3,4],"max":12,"average":3.6363636363636362}},"selectors":{"total":11,"type":1,"class":11,"id":0,"pseudoClass":2,"pseudoElement":0,"values":[".flash",".flash p:last-child",".flash-messages",".flash-close",".flash-close:hover",".flash-action",".flash-warn",".flash-error",".flash-success",".flash-full",".warning"],"specificity":{"max":21,"average":11.909090909090908}},"declarations":{"total":40,"unique":35,"properties":{"position":["relative"],"padding":["16px","16px","0.5em"],"color":["#032f62","inherit","#735c0f","#86181d","#165c26"],"background-color":["#dbedff","#fffbdd","#ffdce0","#dcffe4","#fffbdd"],"border":["1px solid rgba(27,31,35,0.15)","0"],"border-radius":["3px","0"],"margin-bottom":["0","24px","0.8em"],"float":["right","right"],"margin":["-16px"],"text-align":["center"],"cursor":["pointer"],"background":["none"],"-webkit-appearance":["none"],"-moz-appearance":["none"],"appearance":["none"],"opacity":["0.6","1"],"margin-top":["-3px","-1px"],"margin-left":["24px"],"border-color":["rgba(27,31,35,0.15)","rgba(27,31,35,0.15)","rgba(27,31,35,0.15)"],"border-width":["1px 0"],"font-weight":["600"]}},"mediaQueries":{"total":0,"unique":0,"values":[],"contents":[]}}} | ||
module.exports = {"cssstats":{"size":890,"gzipSize":400,"humanizedSize":"890B","humanizedGzipSize":"400B","rules":{"total":11,"size":{"graph":[6,1,1,12,1,3,3,3,3,3,4],"max":12,"average":3.6363636363636362},"selectorByRuleSizes":[{"selector":".flash-close","declarations":12},{"selector":".flash","declarations":6},{"selector":".warning","declarations":4},{"selector":".flash-full","declarations":3},{"selector":".flash-success","declarations":3},{"selector":".flash-error","declarations":3},{"selector":".flash-warn","declarations":3},{"selector":".flash-action","declarations":3},{"selector":".flash-close:hover","declarations":1},{"selector":".flash-messages","declarations":1},{"selector":".flash p:last-child","declarations":1}]},"selectors":{"total":11,"type":1,"class":11,"id":0,"pseudoClass":2,"pseudoElement":0,"values":[".flash",".flash p:last-child",".flash-messages",".flash-close",".flash-close:hover",".flash-action",".flash-warn",".flash-error",".flash-success",".flash-full",".warning"],"specificity":{"max":21,"average":11.909090909090908}},"declarations":{"total":40,"unique":35,"properties":{"position":["relative"],"padding":["16px","16px",".5em"],"color":["#032f62","inherit","#735c0f","#86181d","#165c26"],"background-color":["#dbedff","#fffbdd","#ffdce0","#dcffe4","#fffbdd"],"border":["1px solid rgba(27,31,35,0.15)","0"],"border-radius":["3px","0"],"margin-bottom":["0","24px","0.8em"],"float":["right","right"],"margin":["-16px"],"text-align":["center"],"cursor":["pointer"],"background":["none"],"-webkit-appearance":["none"],"-moz-appearance":["none"],"appearance":["none"],"opacity":["0.6","1"],"margin-top":["-3px","-1px"],"margin-left":["24px"],"border-color":["rgba(27,31,35,0.15)","rgba(27,31,35,0.15)","rgba(27,31,35,0.15)"],"border-width":["1px 0"],"font-weight":["600"]}},"mediaQueries":{"total":0,"unique":0,"values":[],"contents":[]}}} |
{ | ||
"version": "1.6.0-alpha.ca4c2c3a", | ||
"version": "1.6.0-alpha.cb697793", | ||
"name": "primer-alerts", | ||
"description": "Flash messages, or alerts, inform users of successful or pending actions.", | ||
"homepage": "http://primercss.io/", | ||
"homepage": "http://primer.github.io/", | ||
"author": "GitHub, Inc.", | ||
"license": "MIT", | ||
"style": "index.scss", | ||
"style": "build/build.css", | ||
"sass": "index.scss", | ||
"main": "build/index.js", | ||
"primer": { | ||
"category": "product", | ||
"module_type": "components" | ||
"module_type": "components", | ||
"class_whitelist": [ | ||
"warning" | ||
] | ||
}, | ||
@@ -19,5 +23,5 @@ "files": [ | ||
], | ||
"repository": "https://github.com/primer/primer-css/tree/master/modules/primer-alerts", | ||
"repository": "https://github.com/primer/primer/tree/master/modules/primer-alerts", | ||
"bugs": { | ||
"url": "https://github.com/primer/primer-css/issues" | ||
"url": "https://github.com/primer/primer/issues" | ||
}, | ||
@@ -28,6 +32,8 @@ "scripts": { | ||
"lint": "../../script/lint-scss", | ||
"test": "../../script/npm-run-all build lint" | ||
"test": "../../script/npm-run-all build lint", | ||
"prepublishOnly": "../../script/notify pending", | ||
"postpublish": "../../script/notify success" | ||
}, | ||
"dependencies": { | ||
"primer-support": "4.5.0-alpha.ca4c2c3a" | ||
"primer-support": "4.8.0-alpha.cb697793" | ||
}, | ||
@@ -41,5 +47,5 @@ "keywords": [ | ||
"primer", | ||
"primercss", | ||
"design-system", | ||
"style" | ||
] | ||
} |
@@ -1,9 +0,9 @@ | ||
# Primer CSS Alerts | ||
# Primer Alerts | ||
[![npm version](http://img.shields.io/npm/v/primer-alerts.svg)](https://www.npmjs.org/package/primer-alerts) | ||
[![Build Status](https://travis-ci.org/primer/primer-css.svg?branch=master)](https://travis-ci.org/primer/primer-css) | ||
[![npm version](https://img.shields.io/npm/v/primer-alerts.svg)](https://www.npmjs.org/package/primer-alerts) | ||
[![Build Status](https://travis-ci.org/primer/primer.svg?branch=master)](https://travis-ci.org/primer/primer) | ||
> Flash messages, or alerts, inform users of successful or pending actions. Use them sparingly. Don’t show more than one at a time. | ||
This repository is a module of the full [primer-css][primer-css] repository. | ||
This repository is a module of the full [primer][primer] repository. | ||
@@ -40,2 +40,3 @@ ## Install | ||
title: Alerts | ||
path: components/alerts | ||
status: Stable | ||
@@ -101,3 +102,3 @@ --> | ||
```html | ||
```erb | ||
<div class="flash"> | ||
@@ -113,3 +114,3 @@ <%= octicon "alert" %> | ||
```html | ||
```erb | ||
<div class="flash"> | ||
@@ -150,6 +151,6 @@ <button class="flash-close js-flash-close" type="button"><%= octicon "x", :"aria-label" => "Close" %></button> | ||
[primer-css]: https://github.com/primer/primer | ||
[docs]: http://primercss.io/ | ||
[primer]: https://github.com/primer/primer | ||
[docs]: http://primer.github.io/ | ||
[npm]: https://www.npmjs.com/ | ||
[install-npm]: https://docs.npmjs.com/getting-started/installing-node | ||
[sass]: http://sass-lang.com/ |
Sorry, the diff of this file is not supported yet
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
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
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
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
12192
8
153
+ Addedprimer-support@4.8.0-alpha.cb697793(transitive)
- Removedprimer-support@4.5.0-alpha.ca4c2c3a(transitive)