@vaadin/vaadin-item
Advanced tools
Comparing version 2.2.0 to 2.3.0-alpha1
@@ -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'; |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
31674
15
491
1