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

@vaadin/grid

Package Overview
Dependencies
Maintainers
12
Versions
406
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vaadin/grid - npm Package Compare versions

Comparing version 24.4.0-alpha6 to 24.4.0-alpha7

20

package.json
{
"name": "@vaadin/grid",
"version": "24.4.0-alpha6",
"version": "24.4.0-alpha7",
"publishConfig": {

@@ -49,10 +49,10 @@ "access": "public"

"@polymer/polymer": "^3.0.0",
"@vaadin/a11y-base": "24.4.0-alpha6",
"@vaadin/checkbox": "24.4.0-alpha6",
"@vaadin/component-base": "24.4.0-alpha6",
"@vaadin/lit-renderer": "24.4.0-alpha6",
"@vaadin/text-field": "24.4.0-alpha6",
"@vaadin/vaadin-lumo-styles": "24.4.0-alpha6",
"@vaadin/vaadin-material-styles": "24.4.0-alpha6",
"@vaadin/vaadin-themable-mixin": "24.4.0-alpha6",
"@vaadin/a11y-base": "24.4.0-alpha7",
"@vaadin/checkbox": "24.4.0-alpha7",
"@vaadin/component-base": "24.4.0-alpha7",
"@vaadin/lit-renderer": "24.4.0-alpha7",
"@vaadin/text-field": "24.4.0-alpha7",
"@vaadin/vaadin-lumo-styles": "24.4.0-alpha7",
"@vaadin/vaadin-material-styles": "24.4.0-alpha7",
"@vaadin/vaadin-themable-mixin": "24.4.0-alpha7",
"lit": "^3.0.0"

@@ -69,3 +69,3 @@ },

],
"gitHead": "7d555ad342715966005883fafcd20001425a6d8c"
"gitHead": "12359cbbdd3986af34cd4479c93aae5c3f568c37"
}

@@ -112,2 +112,7 @@ /**

/** @private */
get _visibleItemsCount() {
return this._lastVisibleIndex - this._firstVisibleIndex - 1;
}
/** @protected */

@@ -308,4 +313,5 @@ ready() {

const visibleItemsCount = this._lastVisibleIndex - this._firstVisibleIndex - 1;
const isRTL = this.__isRTL;
const activeRow = e.composedPath().find((el) => this.__isRow(el));
const activeCell = e.composedPath().find((el) => this.__isCell(el));

@@ -355,6 +361,13 @@ // Handle keyboard interaction as defined in:

case 'PageDown':
dy = visibleItemsCount;
// Check if the active group is body
if (this.$.items.contains(activeRow)) {
const currentRowIndex = this.__getIndexInGroup(activeRow, this._focusedItemIndex);
// Scroll the current row to the top...
this._scrollToFlatIndex(currentRowIndex);
}
// ...only then measure the visible items count
dy = this._visibleItemsCount;
break;
case 'PageUp':
dy = -visibleItemsCount;
dy = -this._visibleItemsCount;
break;

@@ -365,5 +378,2 @@ default:

const activeRow = e.composedPath().find((el) => this.__isRow(el));
const activeCell = e.composedPath().find((el) => this.__isCell(el));
if ((this.__rowFocusMode && !activeRow) || (!this.__rowFocusMode && !activeCell)) {

@@ -370,0 +380,0 @@ // When using a screen reader, it's possible that neither a cell nor a row is focused.

@@ -677,7 +677,9 @@ /**

row.__cells.push(cell);
if (!column._bodyContentHidden) {
const isSizerRow = row === this.$.sizer;
if (!column._bodyContentHidden || isSizerRow) {
row.appendChild(cell);
}
if (row === this.$.sizer) {
if (isSizerRow) {
column._sizerCell = cell;

@@ -684,0 +686,0 @@ }

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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