makeup-roving-tabindex
Advanced tools
Comparing version 0.0.5 to 0.1.0
@@ -18,3 +18,4 @@ 'use strict'; | ||
autoReset: null, | ||
index: 0 | ||
index: 0, | ||
wrap: false | ||
}; | ||
@@ -107,3 +108,4 @@ | ||
autoInit: _this._options.index, | ||
autoReset: _this._options.autoReset | ||
autoReset: _this._options.autoReset, | ||
wrap: _this._options.wrap | ||
}); | ||
@@ -110,0 +112,0 @@ return _this; |
{ | ||
"name": "makeup-roving-tabindex", | ||
"description": "Implements a roving tab index on given collection of elements", | ||
"version": "0.0.5", | ||
"version": "0.1.0", | ||
"main": "index.js", | ||
@@ -22,7 +22,5 @@ "repository": "https://github.com/makeup-js/makeup-roving-tabindex.git", | ||
"watch": "onchange src/*.js docs/index.js -- npm run build", | ||
"transpile": "babel src/index.js --out-file index.js && babel src/util.js --out-file util.js" | ||
"transpile": "babel src/index.js --out-file index.js && babel src/util.js --out-file util.js", | ||
"version": "npm run prepublishOnly && git add -A docs/static test/static" | ||
}, | ||
"pre-commit": [ | ||
"prepublishOnly" | ||
], | ||
"keywords": [ | ||
@@ -51,7 +49,6 @@ "makeup", | ||
"parallelshell": "^3", | ||
"pre-commit": "^1", | ||
"rimraf": "^2" | ||
}, | ||
"dependencies": { | ||
"makeup-navigation-emitter": "~0.0" | ||
"makeup-navigation-emitter": "~0.1.0" | ||
}, | ||
@@ -58,0 +55,0 @@ "files": [ |
@@ -74,2 +74,3 @@ # makeup-roving-tabindex | ||
* `index`: the index position of the active item (default: 0) | ||
* `wrap` : specify whether arrow keys should wrap/loop (default: false) | ||
@@ -89,14 +90,9 @@ ## Custom Events | ||
* `npm start` | ||
* `npm test` | ||
* `npm run lint` | ||
* `npm run fix` | ||
* `npm run build` | ||
* `npm run clean` | ||
* `yarn start` | ||
* `yarn test` | ||
* `yarn lint` | ||
* `yarn fix` | ||
* `yarn build` | ||
* `yarn clean` | ||
The following hooks exist, and do not need to be invoked manually: | ||
* `npm prepublishOnly` cleans, lints, tests and builds on every `npm publish` command | ||
* `pre-commit` cleans, lints, tests and builds on every `git commit` command | ||
## Test Reports | ||
@@ -103,0 +99,0 @@ |
Sorry, the diff of this file is not supported yet
17
117
171453
110
+ Addedcustom-event-polyfill@1.0.7(transitive)
+ Addedmakeup-navigation-emitter@0.1.4(transitive)
- Removedmakeup-navigation-emitter@0.0.6(transitive)