primer-breadcrumb
Advanced tools
Comparing version 0.1.0 to 0.1.1
@@ -0,1 +1,12 @@ | ||
# v0.1.1 | ||
* bumping the version - Jon Rohan [github/github@4a72b25](https://github.com/github/github/commit/4a72b25) | ||
* Pointing main js file to build - Jon Rohan [github/github@3575651](https://github.com/github/github/commit/3575651) | ||
* don't change the versions yet - Jon Rohan [github/github@6bebcff](https://github.com/github/github/commit/6bebcff) | ||
* Mark breadcrumbs as navigation ref: http://w3c.github.io/aria-practices/examples/breadcrumb/index.html - Mu-An Chiou [github/github@697312d](https://github.com/github/github/commit/697312d) | ||
* Bumping version - Jon Rohan [github/github@df8b91c](https://github.com/github/github/commit/df8b91c) | ||
* Cleaning up devDependencies versions and simplifying npm scripts - Jon Rohan [github/github@2c42571](https://github.com/github/github/commit/2c42571) | ||
* Sorting and table objects. We also don't need homepage - Jon Rohan [github/github@798629d](https://github.com/github/github/commit/798629d) | ||
* Removing duplicate headers - Jon Rohan [github/github@225cee1](https://github.com/github/github/commit/225cee1) | ||
# v0.1.0 | ||
@@ -2,0 +13,0 @@ |
{ | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"name": "primer-breadcrumb", | ||
@@ -9,2 +9,3 @@ "description": "Breadcrumb navigation for pages with parents / grandparents.", | ||
"style": "build/build.css", | ||
"main": "build/index.js", | ||
"files": [ | ||
@@ -20,6 +21,5 @@ "index.scss", | ||
"scripts": { | ||
"setup": "if [ ! -d \"node_modules\" ]; then npm install; fi", | ||
"build": "node-sass index.scss --include-path node_modules --output-style compressed | postcss -c .postcss.json -o build/build.css", | ||
"prepublish": "npm run setup && npm run build", | ||
"test": "stylelint **/*.scss -c .stylelintrc.json -s scss" | ||
"build": "primer-module-build index.scss", | ||
"prepublish": "npm run build", | ||
"test": "npm run build && stylelint **/*.scss -c .stylelintrc.json -s scss" | ||
}, | ||
@@ -31,7 +31,5 @@ "dependencies": { | ||
"devDependencies": { | ||
"autoprefixer": "^6.3.6", | ||
"node-sass": "^3.7.0", | ||
"postcss-cli": "^2.5.2", | ||
"stylelint": "^6.6.0", | ||
"stylelint-config-primer": "^1.0.0" | ||
"stylelint": "*", | ||
"stylelint-config-primer": "*", | ||
"primer-module-build": "*" | ||
}, | ||
@@ -38,0 +36,0 @@ "keywords": [ |
@@ -12,12 +12,7 @@ # Primer Marketing CSS Breadcrumb Navigation | ||
You can read more about breadcrumbs in the [docs][docs]. | ||
<!-- %docs | ||
title: Breadcrumbs | ||
homepage: https://github.com/primer/primer-breadcrumb | ||
status: Stable | ||
--> | ||
### Breadcrumbs | ||
Breadcrumbs are used to show taxonomical context on pages that are many levels deep in a site’s hierarchy. Breadcrumbs show and link to parent, grandparent, and sometimes great-grandparent pages. Breadcrumbs are most appropriate on pages that: | ||
@@ -32,7 +27,9 @@ | ||
```html | ||
<ol> | ||
<li class="breadcrumb-item text-small"><a href="/business">Business</a></li> | ||
<li class="breadcrumb-item text-small"><a href="/business/customers">Customers</a></li> | ||
<li class="breadcrumb-item breadcrumb-item-selected text-small text-gray">MailChimp</li> | ||
</ol> | ||
<nav aria-label="Breadcrumb"> | ||
<ol> | ||
<li class="breadcrumb-item text-small"><a href="/business">Business</a></li> | ||
<li class="breadcrumb-item text-small"><a href="/business/customers">Customers</a></li> | ||
<li class="breadcrumb-item breadcrumb-item-selected text-small text-gray" aria-current="page">MailChimp</li> | ||
</ol> | ||
</nav> | ||
``` | ||
@@ -39,0 +36,0 @@ |
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
Trivial Package
Supply chain riskPackages less than 10 lines of code are easily copied into your own project and may not warrant the additional supply chain risk of an external dependency.
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
Trivial Package
Supply chain riskPackages less than 10 lines of code are easily copied into your own project and may not warrant the additional supply chain risk of an external dependency.
Found 1 instance in 1 package
8989
3
8
48