Socket
Socket
Sign inDemoInstall

primer-labels

Package Overview
Dependencies
Maintainers
1
Versions
824
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

primer-labels - npm Package Compare versions

Comparing version 1.0.0 to 1.1.1-mono.0

2

build/index.js

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

module.exports = {"cssstats":{"size":1165,"gzipSize":468,"humanizedSize":"1kB","humanizedGzipSize":"468B","rules":{"total":15,"size":{"graph":[1,8,1,2,7,2,1,1,8,1,1,1,8,2,2],"max":8,"average":3.066666666666667}},"selectors":{"total":18,"type":0,"class":18,"id":0,"pseudoClass":2,"pseudoElement":0,"values":[".labels",".label",".Label",".label:hover",".Label:hover",".Label--gray",".Label--outline",".Label--outline-green",".Label--gray-darker",".Label--orange",".state",".State",".State--green",".State--purple",".State--red",".Counter",".Counter--gray-light",".Counter--gray"],"specificity":{"max":20,"average":11.11111111111111}},"declarations":{"total":46,"unique":34,"properties":{"position":["relative"],"display":["inline-block","inline-block","inline-block"],"padding":["3px 4px","4px 8px","2px 5px"],"font-size":["12px","12px"],"font-weight":["600","normal","600","600"],"line-height":["1","20px","1"],"color":["#fff","#586069","#586069","#28a745","#fff","#586069","#24292e","#fff"],"border-radius":["2px","3px","20px"],"box-shadow":["inset 0 -1px 0 rgba(27,31,35,0.12)","none"],"text-decoration":["none"],"background-color":["#eaecef","transparent","#6a737d","#d15704","#6a737d","#2cbe4e","#6f42c1","#cb2431","rgba(27,31,35,0.08)","rgba(27,31,35,0.15)","#6a737d"],"margin-top":["-1px"],"margin-bottom":["-1px"],"border":["1px solid rgba(27,31,35,0.15)","1px solid #34d058"],"text-align":["center"]}},"mediaQueries":{"total":0,"unique":0,"values":[],"contents":[]}}}
module.exports = {"cssstats":{"size":1247,"gzipSize":499,"humanizedSize":"1kB","humanizedGzipSize":"499B","rules":{"total":17,"size":{"graph":[1,8,1,2,7,2,1,1,8,1,1,1,2,1,8,2,2],"max":8,"average":2.8823529411764706}},"selectors":{"total":20,"type":0,"class":20,"id":0,"pseudoClass":2,"pseudoElement":0,"values":[".labels",".label",".Label",".label:hover",".Label:hover",".Label--gray",".Label--outline",".Label--outline-green",".Label--gray-darker",".Label--orange",".state",".State",".State--green",".State--purple",".State--red",".State--small",".State--small .octicon",".Counter",".Counter--gray-light",".Counter--gray"],"specificity":{"max":20,"average":11.5}},"declarations":{"total":49,"unique":36,"properties":{"position":["relative"],"display":["inline-block","inline-block","inline-block"],"padding":["3px 4px","4px 8px","0.125em 4px","2px 5px"],"font-size":["12px","12px","12px"],"font-weight":["600","normal","600","600"],"line-height":["1","20px","1"],"color":["#fff","#586069","#586069","#28a745","#fff","#586069","#24292e","#fff"],"border-radius":["2px","3px","20px"],"box-shadow":["inset 0 -1px 0 rgba(27,31,35,0.12)","none"],"text-decoration":["none"],"background-color":["#eaecef","transparent","#6a737d","#d15704","#6a737d","#2cbe4e","#6f42c1","#cb2431","rgba(27,31,35,0.08)","rgba(27,31,35,0.15)","#6a737d"],"margin-top":["-1px"],"margin-bottom":["-1px"],"border":["1px solid rgba(27,31,35,0.15)","1px solid #34d058"],"text-align":["center"],"width":["1em"]}},"mediaQueries":{"total":0,"unique":0,"values":[],"contents":[]}}}

@@ -1,3 +0,10 @@

# HEAD
# v1.1.0
* remove icon size because it's overkill - broccolini [github/github@e20af9c](https://github.com/github/github/commit/e20af9c)
* add new modifier and use octicons in examples - broccolini [github/github@b208b57](https://github.com/github/github/commit/b208b57)
* em padding for better alignment - broccolini [github/github@21b2c0f](https://github.com/github/github/commit/21b2c0f)
* bump to minor because of new functionality - broccolini [github/github@a2a48f8](https://github.com/github/github/commit/a2a48f8)
* add State--small modifier - broccolini [github/github@7233380](https://github.com/github/github/commit/7233380)
* bump patch version - broccolini [github/github@ebe45c9](https://github.com/github/github/commit/ebe45c9)
* fix typo in readme - broccolini [github/github@1f1ff91](https://github.com/github/github/commit/1f1ff91)
* add feedback issue link to readme - broccolini [github/github@3b69fea](https://github.com/github/github/commit/3b69fea)

@@ -4,0 +11,0 @@ * correct travis ci url - broccolini [github/github@6538109](https://github.com/github/github/commit/6538109)

{
"version": "1.0.0",
"version": "1.1.1-mono.0",
"name": "primer-labels",

@@ -15,5 +15,5 @@ "description": "Labels add metatdata or indicate status of items and navigational elements.",

],
"repository": "https://github.com/primer/primer-labels.git",
"repository": "https://github.com/primer/primer-css/tree/master/packages/primer-labels",
"bugs": {
"url": "https://github.com/primer/primer-labels/issues"
"url": "https://github.com/primer/primer-css/issues"
},

@@ -26,8 +26,8 @@ "scripts": {

"dependencies": {
"primer-support": "*"
"primer-support": "^4.0.1-mono.0"
},
"devDependencies": {
"primer-module-build": "*",
"stylelint": "*",
"stylelint-config-primer": "*",
"primer-module-build": "*"
"stylelint-config-primer": "*"
},

@@ -34,0 +34,0 @@ "keywords": [

@@ -6,3 +6,3 @@ # Primer CSS Labels

> Labels add metatdata or indicate status of items and navigational elements.
> Labels add metadata or indicate status of items and navigational elements.

@@ -115,5 +115,5 @@ This repository is a module of the full [primer-css][primer-css] repository.

```html
<span title="Status: open" class="State State--green">Open</span>
<span title="Status: closed" class="State State--red">Closed</span>
<span title="Status: merged" class="State State--purple">Merged</span>
<span title="Status: open" class="State State--green"><%= octicon "git-pull-request" %> Open</span>
<span title="Status: closed" class="State State--red"><%= octicon "git-pull-request" %> Closed</span>
<span title="Status: merged" class="State State--purple"><%= octicon "git-merge" %> Merged</span>
```

@@ -123,2 +123,10 @@

### Small states
Use `State--small` for a state label with reduced padding a smaller font size. This is useful in denser areas of content.
```html
<span title="Status: open" class="State State--green State--small"><%= octicon "issue-opened" %> Open</span>
<span title="Status: closed" class="State State--red State--small"><%= octicon "issue-closed" %> Closed</span>
```
## Counters

@@ -125,0 +133,0 @@

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