Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@polymer/iron-a11y-keys

Package Overview
Dependencies
Maintainers
1
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@polymer/iron-a11y-keys - npm Package Compare versions

Comparing version 3.0.0-pre.12 to 3.0.0-pre.13

23

demo/x-key-aware.js

@@ -1,5 +0,1 @@

import '@polymer/polymer/polymer-legacy.js';
import '../iron-a11y-keys.js';
import { Polymer } from '@polymer/polymer/lib/legacy/polymer-fn.js';
import { html } from '@polymer/polymer/lib/utils/html-tag.js';
/**

@@ -14,2 +10,7 @@ @license

*/
import '../../polymer/polymer-legacy.js';
import '../iron-a11y-keys.js';
import { Polymer } from '../../polymer/lib/legacy/polymer-fn.js';
import { html } from '../../polymer/lib/utils/html-tag.js';
Polymer({

@@ -54,11 +55,5 @@ _template: html`

properties: {
pressed: {
type: String,
readOnly: true,
value: ''
},
pressed: {type: String, readOnly: true, value: ''},
boundKeys: {
type: Array
},
boundKeys: {type: Array},

@@ -80,6 +75,4 @@ target: {

this._setPressed(
this.pressed + event.detail.combo + ' pressed!\n'
);
this._setPressed(this.pressed + event.detail.combo + ' pressed!\n');
}
});

@@ -1,5 +0,14 @@

import '@polymer/polymer/polymer-legacy.js';
import { IronA11yKeysBehavior } from '@polymer/iron-a11y-keys-behavior/iron-a11y-keys-behavior.js';
import { Polymer } from '@polymer/polymer/lib/legacy/polymer-fn.js';
/**
@license
Copyright (c) 2015 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
Code distributed by Google as part of the polymer project is also
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
*/
import '../polymer/polymer-legacy.js';
import { IronA11yKeysBehavior } from '../iron-a11y-keys-behavior/iron-a11y-keys-behavior.js';
import { Polymer } from '../polymer/lib/legacy/polymer-fn.js';
/**

@@ -27,4 +36,5 @@ `iron-a11y-keys` provides a cross-browser interface for processing

an event handler for the target node using Polymer's [annotated event handler
syntax](https://www.polymer-project.org/1.0/docs/devguide/events.html#annotated-listeners). `{{userInput::input}}` sets the `userInput` property to the
user's input on each keystroke.
syntax](https://www.polymer-project.org/1.0/docs/devguide/events.html#annotated-listeners).
`{{userInput::input}}` sets the `userInput` property to the user's input on each
keystroke.

@@ -71,4 +81,5 @@ The last step is to link the two elements within the custom element's

Below is the [EBNF](http://en.wikipedia.org/wiki/Extended_Backus%E2%80%93Naur_Form)
Grammar of the `keys` attribute.
Below is the
[EBNF](http://en.wikipedia.org/wiki/Extended_Backus%E2%80%93Naur_Form) Grammar
of the `keys` attribute.

@@ -124,24 +135,10 @@ modifier = "shift" | "ctrl" | "alt" | "meta";

/**
@license
Copyright (c) 2015 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
Code distributed by Google as part of the polymer project is also
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
*/
Polymer({
is: 'iron-a11y-keys',
behaviors: [
IronA11yKeysBehavior
],
behaviors: [IronA11yKeysBehavior],
properties: {
/** @type {?Node} */
target: {
type: Object,
observer: '_targetChanged'
},
target: {type: Object, observer: '_targetChanged'},

@@ -154,7 +151,3 @@ /**

*/
keys: {
type: String,
reflectToAttribute: true,
observer: '_keysChanged'
}
keys: {type: String, reflectToAttribute: true, observer: '_keysChanged'}
},

@@ -161,0 +154,0 @@

{
"files": {
"iron-a11y-keys.html": {
"convertedUrl": "iron-a11y-keys.js",
"exports": {}
},
"index.html": {

@@ -15,6 +19,2 @@ "convertedUrl": "index.html",

},
"iron-a11y-keys.html": {
"convertedUrl": "iron-a11y-keys.js",
"exports": {}
},
"test/basic-test.html": {

@@ -21,0 +21,0 @@ "convertedUrl": "test/basic-test.html",

@@ -19,12 +19,14 @@ {

"bower": "^1.8.0",
"@polymer/iron-demo-helpers": "3.0.0-pre.12",
"@polymer/iron-component-page": "3.0.0-pre.12",
"@polymer/iron-test-helpers": "3.0.0-pre.12",
"wct-browser-legacy": "0.0.1-pre.11",
"@webcomponents/webcomponentsjs": "^1.0.0"
"webmat": "^0.2.0",
"@polymer/iron-demo-helpers": "^3.0.0-pre.13",
"@polymer/iron-component-page": "^3.0.0-pre.13",
"@polymer/iron-test-helpers": "^3.0.0-pre.13",
"wct-browser-legacy": "^0.0.1-pre.11",
"@webcomponents/webcomponentsjs": "^2.0.0-0"
},
"scripts": {
"update-types": "bower install && gen-typescript-declarations --deleteExisting --outDir ."
"update-types": "bower install && gen-typescript-declarations --deleteExisting --outDir .",
"format": "webmat && npm run update-types"
},
"version": "3.0.0-pre.12",
"version": "3.0.0-pre.13",
"resolutions": {

@@ -39,5 +41,5 @@ "inherits": "2.0.3",

"dependencies": {
"@polymer/polymer": "3.0.0-pre.12",
"@polymer/iron-a11y-keys-behavior": "3.0.0-pre.12"
"@polymer/polymer": "^3.0.0-pre.13",
"@polymer/iron-a11y-keys-behavior": "^3.0.0-pre.13"
}
}

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

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc