Socket
Socket
Sign inDemoInstall

primer-alerts

Package Overview
Dependencies
Maintainers
14
Versions
840
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

primer-alerts - npm Package Compare versions

Comparing version 1.6.0-alpha.55ee9907 to 1.6.0-alpha.55f783ab

build/data.json

2

build/index.js

@@ -1,1 +0,1 @@

module.exports = {"cssstats":{"size":890,"gzipSize":401,"humanizedSize":"890B","humanizedGzipSize":"401B","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":["#c24e00","inherit","#735c0f","#86181d","#165c26"],"background-color":["#ffebda","#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.55ee9907",
"version": "1.6.0-alpha.55f783ab",
"name": "primer-alerts",

@@ -11,28 +11,8 @@ "description": "Flash messages, or alerts, inform users of successful or pending actions.",

"main": "build/index.js",
"figma": {
"url": "https://www.figma.com/file/GTgkWXgIN2DzTY9nVLKkpzxe/primer-alerts",
"components": {
"flash-warn": {
"id": "1:2"
},
"flash": {
"id": "1:8"
},
"flash-success": {
"id": "1:14"
},
"flash-error": {
"id": "1:20"
},
"flash with action button": {
"id": "11:0"
},
"flash-full": {
"id": "11:1"
}
}
},
"primer": {
"category": "product",
"module_type": "components"
"module_type": "components",
"class_whitelist": [
"warning"
]
},

@@ -52,6 +32,8 @@ "files": [

"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.6.0-alpha.55ee9907"
"primer-support": "4.8.0-alpha.55f783ab"
},

@@ -58,0 +40,0 @@ "keywords": [

@@ -40,2 +40,3 @@ # Primer Alerts

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">

@@ -116,0 +117,0 @@ <button class="flash-close js-flash-close" type="button"><%= octicon "x", :"aria-label" => "Close" %></button>

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc