@vaadin/vaadin-grid-pro
Advanced tools
Comparing version 1.0.0-alpha5 to 1.0.0-beta1
@@ -13,3 +13,3 @@ { | ||
"name": "@vaadin/vaadin-grid-pro", | ||
"version": "1.0.0-alpha5", | ||
"version": "1.0.0-beta1", | ||
"main": "vaadin-grid-pro.js", | ||
@@ -43,8 +43,8 @@ "author": "Vaadin Ltd", | ||
"@vaadin/vaadin-item": "^2.1.0", | ||
"@vaadin/vaadin-grid": "^5.3.0-alpha9", | ||
"@vaadin/vaadin-grid": "^5.3.0-beta1", | ||
"@vaadin/vaadin-checkbox": "^2.2.1" | ||
}, | ||
"devDependencies": { | ||
"@polymer/iron-component-page": "^4.0.0", | ||
"@polymer/iron-test-helpers": "^3.0.0", | ||
"@polymer/iron-component-page": "^3.0.0-pre.18", | ||
"@polymer/iron-test-helpers": "^3.0.0-pre.18", | ||
"@webcomponents/webcomponentsjs": "^2.0.0", | ||
@@ -51,0 +51,0 @@ "wct-browser-legacy": "^1.0.1", |
@@ -9,4 +9,2 @@ /** | ||
import '@polymer/polymer/lib/elements/dom-repeat.js'; | ||
import '@polymer/polymer/lib/utils/render-status.js'; | ||
import { SelectElement } from '@vaadin/vaadin-select/src/vaadin-select.js'; | ||
@@ -105,5 +103,5 @@ import '@vaadin/vaadin-list-box/src/vaadin-list-box.js'; | ||
const enter = this._enterKeydown; | ||
if (enter && this._grid.allowEnterRowChange) { | ||
if (enter && this._grid.enterNextRow) { | ||
this._grid._switchEditCell(enter); | ||
} else if (!this._grid.preserveEditMode) { | ||
} else if (!this._grid.keepEditorOpen) { | ||
this._grid._stopEdit(); | ||
@@ -110,0 +108,0 @@ } |
@@ -25,3 +25,3 @@ /** | ||
*/ | ||
allowEnterRowChange: { | ||
enterNextRow: { | ||
type: Boolean, | ||
@@ -35,6 +35,6 @@ notify: true // FIXME(yuriy-fix): needed by Flow counterpart | ||
* | ||
* When `allowEnterRowChange` is true, pressing Enter will also | ||
* When `enterNextRow` is true, pressing Enter will also | ||
* preserve edit mode, otherwise, it will have no effect. | ||
*/ | ||
preserveEditMode: { | ||
keepEditorOpen: { | ||
type: Boolean, | ||
@@ -258,3 +258,3 @@ notify: true // FIXME(yuriy-fix): needed by Flow counterpart | ||
// move up / down | ||
if (this.allowEnterRowChange) { | ||
if (this.enterNextRow) { | ||
nextIdx = e.shiftKey ? index - 1 : index + 1; | ||
@@ -293,3 +293,3 @@ } | ||
if (this.preserveEditMode && nextCell !== cell) { | ||
if (this.keepEditorOpen && nextCell !== cell) { | ||
this._startEdit(nextCell, nextCol); | ||
@@ -296,0 +296,0 @@ } else { |
@@ -35,3 +35,3 @@ /** | ||
static get version() { | ||
return '1.0.0-alpha5'; | ||
return '1.0.0-beta1'; | ||
} | ||
@@ -38,0 +38,0 @@ } |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
55036
966
1