primer-truncate
Advanced tools
Comparing version 1.5.0-alpha.7888ee92 to 1.5.0-alpha.78cb7baa
@@ -1,1 +0,1 @@ | ||
module.exports = {"cssstats":{"size":453,"gzipSize":196,"humanizedSize":"453B","humanizedGzipSize":"196B","rules":{"total":2,"size":{"graph":[6,1],"max":6,"average":3.5}},"selectors":{"total":6,"type":0,"class":6,"id":0,"pseudoClass":2,"pseudoElement":0,"values":[".css-truncate.css-truncate-target",".css-truncate .css-truncate-target",".css-truncate.expandable.zeroclipboard-is-hover .css-truncate-target",".css-truncate.expandable.zeroclipboard-is-hover.css-truncate-target",".css-truncate.expandable:hover .css-truncate-target",".css-truncate.expandable:hover.css-truncate-target"],"specificity":{"max":40,"average":33.333333333333336}},"declarations":{"total":7,"unique":7,"properties":{"display":["inline-block"],"max-width":["125px","10000px"],"overflow":["hidden"],"text-overflow":["ellipsis"],"white-space":["nowrap"],"vertical-align":["top"]}},"mediaQueries":{"total":0,"unique":0,"values":[],"contents":[]}}} | ||
module.exports = {"cssstats":{"size":453,"gzipSize":196,"humanizedSize":"453B","humanizedGzipSize":"196B","rules":{"total":2,"size":{"graph":[6,1],"max":6,"average":3.5},"selectorByRuleSizes":[{"selector":".css-truncate.css-truncate-target,.css-truncate .css-truncate-target","declarations":6},{"selector":".css-truncate.expandable.zeroclipboard-is-hover .css-truncate-target,.css-truncate.expandable.zeroclipboard-is-hover.css-truncate-target,.css-truncate.expandable:hover .css-truncate-target,.css-truncate.expandable:hover.css-truncate-target","declarations":1}]},"selectors":{"total":6,"type":0,"class":6,"id":0,"pseudoClass":2,"pseudoElement":0,"values":[".css-truncate.css-truncate-target",".css-truncate .css-truncate-target",".css-truncate.expandable.zeroclipboard-is-hover .css-truncate-target",".css-truncate.expandable.zeroclipboard-is-hover.css-truncate-target",".css-truncate.expandable:hover .css-truncate-target",".css-truncate.expandable:hover.css-truncate-target"],"specificity":{"max":40,"average":33.333333333333336}},"declarations":{"total":7,"unique":7,"properties":{"display":["inline-block"],"max-width":["125px","10000px"],"overflow":["hidden"],"text-overflow":["ellipsis"],"white-space":["nowrap"],"vertical-align":["top"]}},"mediaQueries":{"total":0,"unique":0,"values":[],"contents":[]}}} |
{ | ||
"version": "1.5.0-alpha.7888ee92", | ||
"version": "1.5.0-alpha.78cb7baa", | ||
"name": "primer-truncate", | ||
"description": "Shorten text with an ellipsis.", | ||
"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", | ||
@@ -19,5 +20,5 @@ "primer": { | ||
], | ||
"repository": "https://github.com/primer/primer-css/tree/master/modules/primer-truncate", | ||
"repository": "https://github.com/primer/primer/tree/master/modules/primer-truncate", | ||
"bugs": { | ||
"url": "https://github.com/primer/primer-css/issues" | ||
"url": "https://github.com/primer/primer/issues" | ||
}, | ||
@@ -29,6 +30,8 @@ "scripts": { | ||
"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.5.0-alpha.7888ee92" | ||
"primer-support": "4.8.0-alpha.78cb7baa" | ||
}, | ||
@@ -39,3 +42,3 @@ "keywords": [ | ||
"github", | ||
"primercss", | ||
"design-system", | ||
"truncate", | ||
@@ -42,0 +45,0 @@ "ellipsis", |
@@ -1,9 +0,9 @@ | ||
# Primer CSS Truncate | ||
# Primer Truncate | ||
[![npm version](http://img.shields.io/npm/v/primer-truncate.svg)](https://www.npmjs.org/package/primer-truncate) | ||
[![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-truncate.svg)](https://www.npmjs.org/package/primer-truncate) | ||
[![Build Status](https://travis-ci.org/primer/primer.svg?branch=master)](https://travis-ci.org/primer/primer) | ||
> .css-truncate will shorten text with an ellipsis. The maximum width of the truncated text can be changed by overriding the max-width of the .css-truncate-target. | ||
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: Truncate | ||
path: components/truncate | ||
status: Stable | ||
@@ -46,3 +47,3 @@ --> | ||
```html | ||
```html title="Truncate" | ||
<span class="branch-ref css-truncate css-truncate-target" title="really-long-branch-name"> | ||
@@ -55,3 +56,3 @@ really-long-branch-name | ||
```html | ||
```html title="Truncate Expandable" | ||
<span class="css-truncate expandable"> | ||
@@ -67,6 +68,6 @@ <span class="branch-ref css-truncate-target">this-is-a-really-long-branch-name</span> | ||
[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
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
8448
8
70
+ Addedprimer-support@4.8.0-alpha.78cb7baa(transitive)
- Removedprimer-support@4.5.0-alpha.7888ee92(transitive)