primer-avatars
Advanced tools
Comparing version 1.6.0-alpha.b6939e4a to 1.6.0-alpha.b78e8ab3
@@ -1,1 +0,1 @@ | ||
module.exports = {"cssstats":{"size":3393,"gzipSize":924,"humanizedSize":"3kB","humanizedGzipSize":"924B","rules":{"total":44,"size":{"graph":[5,1,2,2,1,6,2,11,1,1,3,1,1,3,1,1,1,3,12,1,1,1,2,1,3,1,3,6,2,2,4,2,1,1,2,4,9,3,2,2,2,1,6,1],"max":12,"average":2.75}},"selectors":{"total":45,"type":1,"class":45,"id":0,"pseudoClass":12,"pseudoElement":7,"values":[".avatar",".avatar-small",".avatar-link",".avatar-group-item",".avatar-parent-child",".avatar-child",".avatar-stack",".avatar-stack .avatar",".avatar-stack .avatar:only-child",".avatar-stack .avatar:first-child",".avatar-stack .avatar:last-child",".avatar-stack:hover .avatar",".avatar-stack:hover .avatar:last-child",".AvatarStack",".AvatarStack .AvatarStack-body",".AvatarStack.AvatarStack--two",".AvatarStack.AvatarStack--three-plus",".AvatarStack-body",".AvatarStack-body .avatar",".AvatarStack-body .avatar:first-child",".AvatarStack-body .avatar:last-child",".AvatarStack-body .avatar img",".AvatarStack-body .avatar:nth-child(n+4)",".AvatarStack-body:hover .avatar",".AvatarStack-body:hover .avatar:nth-child(n+4)",".AvatarStack-body:hover .avatar-more",".avatar.avatar-more",".avatar.avatar-more::before",".avatar.avatar-more::after",".avatar.avatar-more::before",".avatar.avatar-more::after",".AvatarStack--right .AvatarStack-body",".AvatarStack--right .AvatarStack-body:hover .avatar",".AvatarStack--right .avatar.avatar-more",".AvatarStack--right .avatar.avatar-more::before",".AvatarStack--right .avatar.avatar-more::after",".AvatarStack--right .avatar",".CircleBadge",".CircleBadge-icon",".CircleBadge--small",".CircleBadge--medium",".CircleBadge--large",".DashedConnection",".DashedConnection::before",".DashedConnection .CircleBadge"],"specificity":{"max":40,"average":20.622222222222224}},"declarations":{"total":121,"unique":74,"properties":{"display":["inline-block","inline-block","inline-block","inline-block","-webkit-box","flex","-webkit-box","flex","none","-webkit-box","flex","none","block","-webkit-box","flex"],"overflow":["hidden"],"line-height":["1","1"],"vertical-align":["middle"],"border-radius":["3px","2px","2px","2px","2px","2px","2px","50%"],"float":["left"],"margin-bottom":["3px"],"position":["relative","absolute","relative","relative","absolute","relative","absolute","relative","absolute","relative"],"right":["-15%","0"],"bottom":["-9%"],"background-color":["#fff","#fff","transparent","#fff","#fff"],"box-shadow":["-2px -2px 0 rgba(255,255,255,0.8)","0 1px 5px rgba(27,31,35,0.15)"],"white-space":["nowrap"],"z-index":["2","3","1","2","3","1","1"],"width":["20px","20px","17px","14px","5px","2px","56px","96px","128px","100%"],"height":["20px","20px","20px","20px","auto","56px","96px","128px"],"box-sizing":["content-box","content-box"],"margin-right":["-15px","0","3px","0","-11px","3px","0","0","0"],"border-right":["1px solid #fff","0","1px solid #fff","0"],"transition":["margin 0.1s ease-in-out","margin 0.1s ease-in-out"],"min-width":["26px","36px","46px"],"background":["#fff","#f6f8fa","#e1e4e8","#d1d5da","#d1d5da","#f6f8fa"],"opacity":["0","1"],"content":["\"\"","\"\""],"outline":["1px solid #fff"],"-webkit-box-orient":["horizontal"],"-webkit-box-direction":["reverse"],"flex-direction":["row-reverse"],"margin-left":["3px","-11px"],"border-left":["1px solid #fff"],"-webkit-box-align":["center"],"align-items":["center"],"-webkit-box-pack":["center"],"justify-content":["center"],"max-width":["60%"],"max-height":["55%"],"top":["50%"],"left":["0"],"border-bottom":["2px dashed #e1e4e8"]}},"mediaQueries":{"total":0,"unique":0,"values":[],"contents":[]}}} | ||
module.exports = {"cssstats":{"size":2648,"gzipSize":818,"humanizedSize":"3kB","humanizedGzipSize":"818B","rules":{"total":37,"size":{"graph":[5,1,2,2,1,6,3,1,1,1,2,11,1,2,1,2,1,2,1,3,6,2,2,2,2,1,1,2,4,6,3,2,2,2,1,6,1],"max":11,"average":2.5405405405405403},"selectorByRuleSizes":[{"selector":".AvatarStack-body .avatar","declarations":11},{"selector":".DashedConnection::before","declarations":6},{"selector":".CircleBadge","declarations":6},{"selector":".avatar.avatar-more::before,.avatar.avatar-more::after","declarations":6},{"selector":".avatar-child","declarations":6},{"selector":".avatar","declarations":5},{"selector":".AvatarStack--right .avatar","declarations":4},{"selector":".CircleBadge-icon","declarations":3},{"selector":".avatar.avatar-more","declarations":3},{"selector":".AvatarStack","declarations":3},{"selector":".CircleBadge--large","declarations":2},{"selector":".CircleBadge--medium","declarations":2},{"selector":".CircleBadge--small","declarations":2},{"selector":".AvatarStack--right .avatar.avatar-more::after","declarations":2},{"selector":".AvatarStack--right .AvatarStack-body:hover .avatar","declarations":2},{"selector":".AvatarStack--right .AvatarStack-body","declarations":2},{"selector":".avatar.avatar-more::after","declarations":2},{"selector":".avatar.avatar-more::before","declarations":2},{"selector":".AvatarStack-body:hover .avatar:nth-child(n+4)","declarations":2},{"selector":".AvatarStack-body .avatar:nth-child(n+4)","declarations":2},{"selector":".AvatarStack-body .avatar:last-child","declarations":2},{"selector":".AvatarStack-body","declarations":2},{"selector":".avatar-group-item","declarations":2},{"selector":".avatar-link","declarations":2},{"selector":".DashedConnection .CircleBadge","declarations":1},{"selector":".DashedConnection","declarations":1},{"selector":".AvatarStack--right .avatar.avatar-more::before","declarations":1},{"selector":".AvatarStack--right .avatar.avatar-more","declarations":1},{"selector":".AvatarStack-body:hover .avatar-more","declarations":1},{"selector":".AvatarStack-body:hover .avatar","declarations":1},{"selector":".AvatarStack-body .avatar img","declarations":1},{"selector":".AvatarStack-body .avatar:first-child","declarations":1},{"selector":".AvatarStack.AvatarStack--three-plus","declarations":1},{"selector":".AvatarStack.AvatarStack--two","declarations":1},{"selector":".AvatarStack .AvatarStack-body","declarations":1},{"selector":".avatar-parent-child","declarations":1},{"selector":".avatar-small","declarations":1}]},"selectors":{"total":38,"type":1,"class":38,"id":0,"pseudoClass":7,"pseudoElement":7,"values":[".avatar",".avatar-small",".avatar-link",".avatar-group-item",".avatar-parent-child",".avatar-child",".AvatarStack",".AvatarStack .AvatarStack-body",".AvatarStack.AvatarStack--two",".AvatarStack.AvatarStack--three-plus",".AvatarStack-body",".AvatarStack-body .avatar",".AvatarStack-body .avatar:first-child",".AvatarStack-body .avatar:last-child",".AvatarStack-body .avatar img",".AvatarStack-body .avatar:nth-child(n+4)",".AvatarStack-body:hover .avatar",".AvatarStack-body:hover .avatar:nth-child(n+4)",".AvatarStack-body:hover .avatar-more",".avatar.avatar-more",".avatar.avatar-more::before",".avatar.avatar-more::after",".avatar.avatar-more::before",".avatar.avatar-more::after",".AvatarStack--right .AvatarStack-body",".AvatarStack--right .AvatarStack-body:hover .avatar",".AvatarStack--right .avatar.avatar-more",".AvatarStack--right .avatar.avatar-more::before",".AvatarStack--right .avatar.avatar-more::after",".AvatarStack--right .avatar",".CircleBadge",".CircleBadge-icon",".CircleBadge--small",".CircleBadge--medium",".CircleBadge--large",".DashedConnection",".DashedConnection::before",".DashedConnection .CircleBadge"],"specificity":{"max":40,"average":19.42105263157895}},"declarations":{"total":94,"unique":66,"properties":{"display":["inline-block","inline-block","flex","flex","none","flex","none","block","flex"],"overflow":["hidden"],"line-height":["1","1"],"vertical-align":["middle"],"border-radius":["3px","2px","2px","2px","2px","2px","50%"],"float":["left"],"margin-bottom":["3px"],"position":["relative","absolute","relative","absolute","relative","absolute","relative","absolute","relative"],"right":["-15%","0"],"bottom":["-9%"],"background-color":["#fff","#fff","#fff"],"box-shadow":["-2px -2px 0 rgba(255,255,255,0.8)","0 1px 5px rgba(27,31,35,0.15)"],"min-width":["26px","36px","46px"],"height":["20px","20px","20px","auto","56px","96px","128px"],"background":["#fff","#f6f8fa","#e1e4e8","#d1d5da","#d1d5da","#f6f8fa"],"z-index":["2","3","1","1"],"width":["20px","17px","14px","5px","2px","56px","96px","128px","100%"],"box-sizing":["content-box"],"margin-right":["-11px","3px","0","0","0"],"border-right":["1px solid #fff","0","0"],"transition":["margin 0.1s ease-in-out"],"opacity":["0","1"],"content":["\"\"","\"\""],"outline":["1px solid #fff"],"flex-direction":["row-reverse"],"margin-left":["3px","-11px"],"border-left":["1px solid #fff"],"align-items":["center"],"justify-content":["center"],"max-width":["60%"],"max-height":["55%"],"top":["50%"],"left":["0"],"border-bottom":["2px dashed #e1e4e8"]}},"mediaQueries":{"total":0,"unique":0,"values":[],"contents":[]}}} |
{ | ||
"version": "1.6.0-alpha.b6939e4a", | ||
"version": "1.6.0-alpha.b78e8ab3", | ||
"name": "primer-avatars", | ||
@@ -28,6 +28,8 @@ "description": "Basic styles for user profile avatars.", | ||
"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.b6939e4a" | ||
"primer-support": "4.8.0-alpha.b78e8ab3" | ||
}, | ||
@@ -34,0 +36,0 @@ "keywords": [ |
@@ -40,2 +40,3 @@ # Primer Avatars | ||
title: Avatars | ||
path: components/avatars | ||
status: Stable | ||
@@ -55,3 +56,3 @@ --> | ||
```html | ||
<img class="avatar" alt="jonrohan" src="/jonrohan.png?v=3&s=144" width="72" height="72"> | ||
<img class="avatar" alt="jonrohan" src="https://github.com/jonrohan.png?v=3&s=144" width="72" height="72"> | ||
``` | ||
@@ -64,3 +65,3 @@ | ||
```html | ||
<img class="avatar avatar-small" alt="jonrohan" src="/jonrohan.png?v=3&s=64" width="32" height="32"> | ||
<img class="avatar avatar-small" alt="jonrohan" src="https://github.com/jonrohan.png?v=3&s=64" width="32" height="32"> | ||
``` | ||
@@ -74,4 +75,4 @@ | ||
<div class="avatar-parent-child float-left"> | ||
<img class="avatar" alt="jonrohan" src="/jonrohan.png?v=3&s=96" width="48" height="48"> | ||
<img class="avatar avatar-child" alt="josh" src="/josh.png?v=3&s=40" width="20" height="20"> | ||
<img class="avatar" alt="jonrohan" src="https://github.com/jonrohan.png?v=3&s=96" width="48" height="48"> | ||
<img class="avatar avatar-child" alt="josh" src="https://github.com/josh.png?v=3&s=40" width="20" height="20"> | ||
</div> | ||
@@ -148,5 +149,5 @@ ``` | ||
```html | ||
```erb | ||
<a class="CircleBadge CircleBadge--small float-left mr-2" href="#small" title="Travis CI"> | ||
<img src="<%= image_path "modules/site/travis-logo.png" %>" class="CircleBadge-icon" alt=""> | ||
<img src="https://github.com/travis-ci.png" class="CircleBadge-icon" alt=""> | ||
</a> | ||
@@ -162,3 +163,3 @@ <a class="CircleBadge CircleBadge--small bg-yellow" title="Zap this!" href="#small"> | ||
<div class="CircleBadge CircleBadge--medium bg-gray-dark"> | ||
<img src="<%= image_path "modules/site/travis-logo.png" %>" alt="Travis CI" class="CircleBadge-icon"> | ||
<img src="https://github.com/travis-ci.png" alt="Travis CI" class="CircleBadge-icon"> | ||
</div> | ||
@@ -171,3 +172,3 @@ ``` | ||
<div class="CircleBadge CircleBadge--large"> | ||
<img src="<%= image_path "modules/site/travis-logo.png" %>" alt="Travis CI" class="CircleBadge-icon"> | ||
<img src="https://github.com/travis-ci.png" alt="Travis CI" class="CircleBadge-icon"> | ||
</div> | ||
@@ -180,3 +181,3 @@ ``` | ||
```html | ||
```erb | ||
<div class="DashedConnection"> | ||
@@ -189,7 +190,7 @@ <ul class="d-flex list-style-none flex-justify-between" aria-label="A sample GitHub workflow"> | ||
<li class="CircleBadge CircleBadge--small" aria-label="Slack"> | ||
<img src="<%= image_path "modules/site/logos/slack-logo.png" %>" alt="" class="CircleBadge-icon"> | ||
<img src="https://github.com/slackhq.png" alt="" class="CircleBadge-icon"> | ||
</li> | ||
<li class="CircleBadge CircleBadge--small" aria-label="Travis CI"> | ||
<img src="<%= image_path "modules/site/travis-logo.png" %>" alt="" class="CircleBadge-icon"> | ||
<img src="https://github.com/travis-ci.png" alt="" class="CircleBadge-icon"> | ||
</li> | ||
@@ -196,0 +197,0 @@ </ul> |
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
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
28251
11
203
11
+ Addedprimer-support@4.8.0-alpha.b78e8ab3(transitive)
- Removedprimer-support@4.6.0-alpha.b6939e4a(transitive)