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

@vaadin/vaadin-item

Package Overview
Dependencies
Maintainers
16
Versions
245
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vaadin/vaadin-item - npm Package Compare versions

Comparing version 2.2.0 to 2.3.0-alpha1

src/vaadin-item-mixin.d.ts

13

package.json

@@ -13,3 +13,3 @@ {

"name": "@vaadin/vaadin-item",
"version": "2.2.0",
"version": "2.3.0-alpha1",
"main": "vaadin-item.js",

@@ -22,2 +22,3 @@ "author": "Vaadin Ltd",

"files": [
"vaadin-*.d.ts",
"vaadin-*.js",

@@ -35,4 +36,4 @@ "src",

"@polymer/polymer": "^3.0.0",
"@vaadin/vaadin-themable-mixin": "^1.2.1",
"@vaadin/vaadin-element-mixin": "^2.3.0",
"@vaadin/vaadin-themable-mixin": "^1.6.1",
"@vaadin/vaadin-element-mixin": "^2.4.1",
"@vaadin/vaadin-lumo-styles": "^1.1.0",

@@ -42,5 +43,5 @@ "@vaadin/vaadin-material-styles": "^1.1.0"

"scripts": {
"generate-typings": "gen-typescript-declarations --outDir . --verify"
},
"devDependencies": {
"generate-typings": "gen-typescript-declarations --outDir . --verify"
},
"devDependencies": {
"@polymer/iron-test-helpers": "^3.0.0",

@@ -47,0 +48,0 @@ "@polymer/iron-component-page": "^4.0.0",

@@ -20,2 +20,3 @@ /**

* `element._hasVaadinItemMixin` condition.
* @type {boolean}
*/

@@ -28,2 +29,3 @@ _hasVaadinItemMixin: {

* If true, the user cannot interact with this element.
* @type {boolean}
*/

@@ -39,2 +41,3 @@ disabled: {

* If true, the item is in selected state.
* @type {boolean}
*/

@@ -48,2 +51,3 @@ selected: {

/** @private */
_value: String

@@ -53,2 +57,5 @@ };

/**
* @return {string}
*/
get value() {

@@ -58,2 +65,5 @@ return this._value !== undefined ? this._value : this.textContent.trim();

/**
* @param {string} value
*/
set value(value) {

@@ -63,2 +73,3 @@ this._value = value;

/** @protected */
ready() {

@@ -86,5 +97,3 @@ super.ready();

/**
* @protected
*/
/** @protected */
disconnectedCallback() {

@@ -101,2 +110,3 @@ super.disconnectedCallback();

/** @private */
_selectedChanged(selected) {

@@ -106,2 +116,3 @@ this.setAttribute('aria-selected', selected);

/** @private */
_disabledChanged(disabled) {

@@ -117,2 +128,6 @@ if (disabled) {

/**
* @param {boolean} focused
* @protected
*/
_setFocused(focused) {

@@ -131,2 +146,6 @@ if (focused) {

/**
* @param {boolean} active
* @protected
*/
_setActive(active) {

@@ -140,2 +159,6 @@ if (active) {

/**
* @param {!KeyboardEvent} event
* @protected
*/
_onKeydown(event) {

@@ -148,2 +171,6 @@ if (/^( |SpaceBar|Enter)$/.test(event.key) && !event.defaultPrevented) {

/**
* @param {!KeyboardEvent} event
* @protected
*/
_onKeyup(event) {

@@ -150,0 +177,0 @@ if (this.hasAttribute('active')) {

@@ -50,2 +50,3 @@ /**

* @mixes ThemableMixin
* @mixes DirMixin
*/

@@ -75,3 +76,3 @@ class ItemElement extends ItemMixin(ThemableMixin(DirMixin(PolymerElement))) {

static get version() {
return '2.2.0';
return '2.3.0-alpha1';
}

@@ -78,0 +79,0 @@

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

import './src/vaadin-item-mixin.js';
export * from './src/vaadin-item-mixin.js';
import './theme/lumo/vaadin-item.js';
export * from './src/vaadin-item.js';
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