arrow-key-navigation
Advanced tools
Comparing version 1.0.2 to 1.1.0
@@ -13,3 +13,3 @@ 'use strict'; | ||
// https://github.com/edenspiekermann/a11y-dialog/blob/cf4ed81/a11y-dialog.js#L6-L18 | ||
var focusablesQuery = 'a[href], area[href], input, select, textarea, ' + 'button, iframe, object, embed, [contenteditable], [tabindex], video[controls], audio[controls]'; // TODO: email/number types are a special type, in that they return selectionStart/selectionEnd as null | ||
var focusablesQuery = 'a[href], area[href], input, select, textarea, ' + 'button, iframe, object, embed, [contenteditable], [tabindex], ' + 'video[controls], audio[controls], summary'; // TODO: email/number types are a special type, in that they return selectionStart/selectionEnd as null | ||
// As far as I can tell, there is no way to actually get the caret position from these inputs. So we | ||
@@ -16,0 +16,0 @@ // don't do the proper caret handling for those inputs, unfortunately. |
@@ -9,3 +9,4 @@ /** | ||
var focusablesQuery = 'a[href], area[href], input, select, textarea, ' + | ||
'button, iframe, object, embed, [contenteditable], [tabindex], video[controls], audio[controls]'; | ||
'button, iframe, object, embed, [contenteditable], [tabindex], ' + | ||
'video[controls], audio[controls], summary'; | ||
// TODO: email/number types are a special type, in that they return selectionStart/selectionEnd as null | ||
@@ -12,0 +13,0 @@ // As far as I can tell, there is no way to actually get the caret position from these inputs. So we |
@@ -9,3 +9,4 @@ /** | ||
var focusablesQuery = 'a[href], area[href], input, select, textarea, ' + | ||
'button, iframe, object, embed, [contenteditable], [tabindex], video[controls], audio[controls]'; | ||
'button, iframe, object, embed, [contenteditable], [tabindex], ' + | ||
'video[controls], audio[controls], summary'; | ||
// TODO: email/number types are a special type, in that they return selectionStart/selectionEnd as null | ||
@@ -12,0 +13,0 @@ // As far as I can tell, there is no way to actually get the caret position from these inputs. So we |
{ | ||
"name": "arrow-key-navigation", | ||
"description": "Add left/right key navigation to a KaiOS app or web app", | ||
"version": "1.0.2", | ||
"version": "1.1.0", | ||
"license": "Apache-2.0", | ||
@@ -35,2 +35,3 @@ "files": [ | ||
"@pika/plugin-build-node": "^0.7.1", | ||
"@pika/plugin-build-umd": "^0.7.1", | ||
"@pika/plugin-build-web": "^0.7.1", | ||
@@ -50,3 +51,4 @@ "@pika/plugin-ts-standard-pkg": "^0.7.1", | ||
"main": "dist-node/index.js", | ||
"module": "dist-web/index.js" | ||
"module": "dist-web/index.js", | ||
"umd:main": "dist-umd/index.js" | ||
} |
@@ -20,2 +20,4 @@ arrow-key-navigation [![Build Status](https://travis-ci.org/nolanlawson/arrow-key-navigation.svg)](https://travis-ci.org/nolanlawson/arrow-key-navigation) | ||
Or [browse unpkg.com](https://unpkg.com/browse/arrow-key-navigation/) for a list of build files. | ||
## Usage | ||
@@ -75,1 +77,7 @@ | ||
npm test | ||
### Manual KaiOS app test | ||
The `index.html` and `manifest.webapp` files are designed for a quick-and-dirty KaiOS app test. | ||
Run `npm run build` and then install the root directory as a packaged KaiOS app to test it. |
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
68643
11
615
82
13