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
405
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-dev.223e39f050 to 24.4.0-dev.4b20a0c55

20

package.json
{
"name": "@vaadin/grid",
"version": "24.4.0-dev.223e39f050",
"version": "24.4.0-dev.4b20a0c55",
"publishConfig": {

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

"@polymer/polymer": "^3.0.0",
"@vaadin/a11y-base": "24.4.0-dev.223e39f050",
"@vaadin/checkbox": "24.4.0-dev.223e39f050",
"@vaadin/component-base": "24.4.0-dev.223e39f050",
"@vaadin/lit-renderer": "24.4.0-dev.223e39f050",
"@vaadin/text-field": "24.4.0-dev.223e39f050",
"@vaadin/vaadin-lumo-styles": "24.4.0-dev.223e39f050",
"@vaadin/vaadin-material-styles": "24.4.0-dev.223e39f050",
"@vaadin/vaadin-themable-mixin": "24.4.0-dev.223e39f050",
"@vaadin/a11y-base": "24.4.0-dev.4b20a0c55",
"@vaadin/checkbox": "24.4.0-dev.4b20a0c55",
"@vaadin/component-base": "24.4.0-dev.4b20a0c55",
"@vaadin/lit-renderer": "24.4.0-dev.4b20a0c55",
"@vaadin/text-field": "24.4.0-dev.4b20a0c55",
"@vaadin/vaadin-lumo-styles": "24.4.0-dev.4b20a0c55",
"@vaadin/vaadin-material-styles": "24.4.0-dev.4b20a0c55",
"@vaadin/vaadin-themable-mixin": "24.4.0-dev.4b20a0c55",
"lit": "^3.0.0"

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

],
"gitHead": "5e2e3bfc811c95aed9354235fab93fdbf43eb354"
"gitHead": "b79c81e5f6fd24684b34ee0dc434e94d943ea13e"
}

@@ -8,3 +8,2 @@ # @vaadin/grid

[![npm version](https://badgen.net/npm/v/@vaadin/grid)](https://www.npmjs.com/package/@vaadin/grid)
[![Discord](https://img.shields.io/discord/732335336448852018?label=discord)](https://discord.gg/PHmkCKC)

@@ -11,0 +10,0 @@ ```html

/**
* @license
* Copyright (c) 2016 - 2023 Vaadin Ltd.
* Copyright (c) 2016 - 2024 Vaadin Ltd.
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/

@@ -5,0 +5,0 @@ */

/**
* @license
* Copyright (c) 2016 - 2023 Vaadin Ltd.
* Copyright (c) 2016 - 2024 Vaadin Ltd.
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/

@@ -5,0 +5,0 @@ */

/**
* @license
* Copyright (c) 2017 - 2023 Vaadin Ltd.
* Copyright (c) 2017 - 2024 Vaadin Ltd.
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/

@@ -5,0 +5,0 @@ */

/**
* @license
* Copyright (c) 2017 - 2023 Vaadin Ltd.
* Copyright (c) 2017 - 2024 Vaadin Ltd.
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/

@@ -5,0 +5,0 @@ */

/**
* @license
* Copyright (c) 2017 - 2023 Vaadin Ltd.
* Copyright (c) 2017 - 2024 Vaadin Ltd.
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/

@@ -5,0 +5,0 @@ */

/**
* @license
* Copyright (c) 2017 - 2023 Vaadin Ltd.
* Copyright (c) 2017 - 2024 Vaadin Ltd.
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/

@@ -5,0 +5,0 @@ */

/**
* @license
* Copyright (c) 2016 - 2023 Vaadin Ltd.
* Copyright (c) 2016 - 2024 Vaadin Ltd.
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/

@@ -5,0 +5,0 @@ */

/**
* @license
* Copyright (c) 2016 - 2023 Vaadin Ltd.
* Copyright (c) 2016 - 2024 Vaadin Ltd.
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/

@@ -5,0 +5,0 @@ */

/**
* @license
* Copyright (c) 2016 - 2023 Vaadin Ltd.
* Copyright (c) 2016 - 2024 Vaadin Ltd.
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/

@@ -5,0 +5,0 @@ */

/**
* @license
* Copyright (c) 2016 - 2023 Vaadin Ltd.
* Copyright (c) 2016 - 2024 Vaadin Ltd.
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/

@@ -5,0 +5,0 @@ */

/**
* @license
* Copyright (c) 2016 - 2023 Vaadin Ltd.
* Copyright (c) 2016 - 2024 Vaadin Ltd.
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/

@@ -5,0 +5,0 @@ */

/**
* @license
* Copyright (c) 2016 - 2023 Vaadin Ltd.
* Copyright (c) 2016 - 2024 Vaadin Ltd.
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/

@@ -5,0 +5,0 @@ */

/**
* @license
* Copyright (c) 2016 - 2023 Vaadin Ltd.
* Copyright (c) 2016 - 2024 Vaadin Ltd.
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/

@@ -5,0 +5,0 @@ */

/**
* @license
* Copyright (c) 2016 - 2023 Vaadin Ltd.
* Copyright (c) 2016 - 2024 Vaadin Ltd.
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/

@@ -5,0 +5,0 @@ */

/**
* @license
* Copyright (c) 2016 - 2023 Vaadin Ltd.
* Copyright (c) 2016 - 2024 Vaadin Ltd.
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/

@@ -5,0 +5,0 @@ */

/**
* @license
* Copyright (c) 2016 - 2023 Vaadin Ltd.
* Copyright (c) 2016 - 2024 Vaadin Ltd.
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/

@@ -5,0 +5,0 @@ */

/**
* @license
* Copyright (c) 2016 - 2023 Vaadin Ltd.
* Copyright (c) 2016 - 2024 Vaadin Ltd.
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/

@@ -601,4 +601,10 @@ */

_runRenderer(renderer, cell, model) {
const isVisibleBodyCell = model && model.item && !cell.parentElement.hidden;
const shouldRender = isVisibleBodyCell || renderer === this._headerRenderer || renderer === this._footerRenderer;
if (!shouldRender) {
return;
}
const args = [cell._content, this];
if (model && model.item) {
if (isVisibleBodyCell) {
args.push(model);

@@ -638,5 +644,3 @@ }

if (model.item || renderer === this._headerRenderer || renderer === this._footerRenderer) {
this._runRenderer(renderer, cell, model);
}
this._runRenderer(renderer, cell, model);
});

@@ -643,0 +647,0 @@ }

/**
* @license
* Copyright (c) 2016 - 2023 Vaadin Ltd.
* Copyright (c) 2016 - 2024 Vaadin Ltd.
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/

@@ -5,0 +5,0 @@ */

/**
* @license
* Copyright (c) 2016 - 2023 Vaadin Ltd.
* Copyright (c) 2016 - 2024 Vaadin Ltd.
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/

@@ -5,0 +5,0 @@ */

/**
* @license
* Copyright (c) 2016 - 2023 Vaadin Ltd.
* Copyright (c) 2016 - 2024 Vaadin Ltd.
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/

@@ -5,0 +5,0 @@ */

/**
* @license
* Copyright (c) 2016 - 2023 Vaadin Ltd.
* Copyright (c) 2016 - 2024 Vaadin Ltd.
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/

@@ -5,0 +5,0 @@ */

/**
* @license
* Copyright (c) 2016 - 2023 Vaadin Ltd.
* Copyright (c) 2016 - 2024 Vaadin Ltd.
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/

@@ -5,0 +5,0 @@ */

/**
* @license
* Copyright (c) 2016 - 2023 Vaadin Ltd.
* Copyright (c) 2016 - 2024 Vaadin Ltd.
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/

@@ -5,0 +5,0 @@ */

/**
* @license
* Copyright (c) 2016 - 2023 Vaadin Ltd.
* Copyright (c) 2016 - 2024 Vaadin Ltd.
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/

@@ -209,6 +209,2 @@ */

_getItem(index, el) {
if (index >= this._flatSize) {
return;
}
el.index = index;

@@ -378,3 +374,3 @@

if (!this.__virtualizer.size) {
if (!this.__virtualizer || !this.__virtualizer.size) {
this._dataProviderController.loadFirstPage();

@@ -381,0 +377,0 @@ }

/**
* @license
* Copyright (c) 2016 - 2023 Vaadin Ltd.
* Copyright (c) 2016 - 2024 Vaadin Ltd.
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/

@@ -5,0 +5,0 @@ */

/**
* @license
* Copyright (c) 2016 - 2023 Vaadin Ltd.
* Copyright (c) 2016 - 2024 Vaadin Ltd.
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/

@@ -5,0 +5,0 @@ */

/**
* @license
* Copyright (c) 2016 - 2023 Vaadin Ltd.
* Copyright (c) 2016 - 2024 Vaadin Ltd.
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/

@@ -5,0 +5,0 @@ */

/**
* @license
* Copyright (c) 2016 - 2023 Vaadin Ltd.
* Copyright (c) 2016 - 2024 Vaadin Ltd.
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/

@@ -5,0 +5,0 @@ */

/**
* @license
* Copyright (c) 2016 - 2023 Vaadin Ltd.
* Copyright (c) 2016 - 2024 Vaadin Ltd.
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/

@@ -5,0 +5,0 @@ */

/**
* @license
* Copyright (c) 2016 - 2023 Vaadin Ltd.
* Copyright (c) 2016 - 2024 Vaadin Ltd.
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/

@@ -5,0 +5,0 @@ */

/**
* @license
* Copyright (c) 2016 - 2023 Vaadin Ltd.
* Copyright (c) 2016 - 2024 Vaadin Ltd.
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/

@@ -5,0 +5,0 @@ */

/**
* @license
* Copyright (c) 2016 - 2023 Vaadin Ltd.
* Copyright (c) 2016 - 2024 Vaadin Ltd.
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/

@@ -5,0 +5,0 @@ */

/**
* @license
* Copyright (c) 2016 - 2023 Vaadin Ltd.
* Copyright (c) 2016 - 2024 Vaadin Ltd.
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/

@@ -5,0 +5,0 @@ */

/**
* @license
* Copyright (c) 2016 - 2023 Vaadin Ltd.
* Copyright (c) 2016 - 2024 Vaadin Ltd.
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/

@@ -5,0 +5,0 @@ */

/**
* @license
* Copyright (c) 2016 - 2023 Vaadin Ltd.
* Copyright (c) 2016 - 2024 Vaadin Ltd.
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/

@@ -5,0 +5,0 @@ */

/**
* @license
* Copyright (c) 2016 - 2023 Vaadin Ltd.
* Copyright (c) 2016 - 2024 Vaadin Ltd.
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/

@@ -5,0 +5,0 @@ */

/**
* @license
* Copyright (c) 2016 - 2023 Vaadin Ltd.
* Copyright (c) 2016 - 2024 Vaadin Ltd.
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/

@@ -5,0 +5,0 @@ */

/**
* @license
* Copyright (c) 2016 - 2023 Vaadin Ltd.
* Copyright (c) 2016 - 2024 Vaadin Ltd.
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/

@@ -5,0 +5,0 @@ */

/**
* @license
* Copyright (c) 2016 - 2023 Vaadin Ltd.
* Copyright (c) 2016 - 2024 Vaadin Ltd.
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/

@@ -5,0 +5,0 @@ */

/**
* @license
* Copyright (c) 2016 - 2023 Vaadin Ltd.
* Copyright (c) 2016 - 2024 Vaadin Ltd.
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/

@@ -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.

/**
* @license
* Copyright (c) 2016 - 2023 Vaadin Ltd.
* Copyright (c) 2016 - 2024 Vaadin Ltd.
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/

@@ -5,0 +5,0 @@ */

/**
* @license
* Copyright (c) 2016 - 2023 Vaadin Ltd.
* Copyright (c) 2016 - 2024 Vaadin Ltd.
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/

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

/** @private */
__hasRowsWithClientHeight() {
return !!Array.from(this.$.items.children).filter((row) => row.clientHeight).length;
}
/** @private */
__getIntrinsicWidth(col) {

@@ -436,2 +431,8 @@ if (!this.__intrinsicWidthCache.has(col)) {

});
if (autoWidth) {
this.$.scroller.setAttribute('measuring-auto-width', '');
} else {
this.$.scroller.removeAttribute('measuring-auto-width');
}
}

@@ -483,3 +484,12 @@

const cols = this._getColumns().filter((col) => !col.hidden && col.autoWidth);
this._recalculateColumnWidths(cols);
const undefinedCols = cols.filter((col) => !customElements.get(col.localName));
if (undefinedCols.length) {
// Some of the columns are not defined yet, wait for them to be defined before measuring
Promise.all(undefinedCols.map((col) => customElements.whenDefined(col.localName))).then(() => {
this._recalculateColumnWidths(cols);
});
} else {
this._recalculateColumnWidths(cols);
}
}

@@ -489,8 +499,22 @@

__tryToRecalculateColumnWidthsIfPending() {
if (
this.__pendingRecalculateColumnWidths &&
!isElementHidden(this) &&
!this._dataProviderController.isLoading() &&
this.__hasRowsWithClientHeight()
) {
if (!this.__pendingRecalculateColumnWidths || isElementHidden(this) || this._dataProviderController.isLoading()) {
return;
}
// Delay recalculation if any rows are missing an index.
// This can happen during the grid's initialization if the recalculation is triggered
// as a result of the data provider responding synchronously to a page request created
// in the middle of the virtualizer update loop. In this case, rows after the one that
// triggered the page request may not have an index property yet. The lack of index
// prevents _onDataProviderPageReceived from requesting children for these rows,
// resulting in loading state being set to false and the recalculation beginning
// before all the data is loaded. Note, rows without index get updated in later iterations
// of the virtualizer update loop, ensuring the grid eventually reaches a stable state.
const hasRowsWithUndefinedIndex = [...this.$.items.children].some((row) => row.index === undefined);
if (hasRowsWithUndefinedIndex) {
return;
}
const hasRowsWithClientHeight = [...this.$.items.children].some((row) => row.clientHeight > 0);
if (hasRowsWithClientHeight) {
this.__pendingRecalculateColumnWidths = false;

@@ -572,2 +596,6 @@ this.recalculateColumnWidths();

if (column && column._onCellKeyDown) {
cell.addEventListener('keydown', column._onCellKeyDown.bind(column));
}
const slot = document.createElement('slot');

@@ -667,7 +695,9 @@ slot.setAttribute('name', slotName);

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;

@@ -703,3 +733,3 @@ }

if (isColumnRow || column.localName === 'vaadin-grid-column-group') {
cell = column[`_${section}Cell`] || this._createCell(tagName);
cell = column[`_${section}Cell`] || this._createCell(tagName, column);
cell._column = column;

@@ -706,0 +736,0 @@ row.appendChild(cell);

/**
* @license
* Copyright (c) 2016 - 2023 Vaadin Ltd.
* Copyright (c) 2016 - 2024 Vaadin Ltd.
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/

@@ -5,0 +5,0 @@ */

/**
* @license
* Copyright (c) 2016 - 2023 Vaadin Ltd.
* Copyright (c) 2016 - 2024 Vaadin Ltd.
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/

@@ -5,0 +5,0 @@ */

/**
* @license
* Copyright (c) 2016 - 2023 Vaadin Ltd.
* Copyright (c) 2016 - 2024 Vaadin Ltd.
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/

@@ -46,2 +46,4 @@ */

* and thus not rendered.
*
* @attr {eager|lazy} column-rendering
*/

@@ -48,0 +50,0 @@ columnRendering: ColumnRendering;

/**
* @license
* Copyright (c) 2016 - 2023 Vaadin Ltd.
* Copyright (c) 2016 - 2024 Vaadin Ltd.
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/

@@ -126,2 +126,15 @@ */

this._rowWithFocusedElement = e.composedPath()[itemsIndex - 1];
if (this._rowWithFocusedElement) {
// Make sure the row with the focused element is fully inside the visible viewport
this.__scrollIntoViewport(this._rowWithFocusedElement.index);
if (!this.$.table.contains(e.relatedTarget)) {
// Virtualizer can't catch the event because if orginates from the light DOM.
// Dispatch a virtualizer-element-focused event for virtualizer to catch.
this.$.table.dispatchEvent(
new CustomEvent('virtualizer-element-focused', { detail: { element: this._rowWithFocusedElement } }),
);
}
}
});

@@ -128,0 +141,0 @@ this.$.items.addEventListener('focusout', () => {

/**
* @license
* Copyright (c) 2016 - 2023 Vaadin Ltd.
* Copyright (c) 2016 - 2024 Vaadin Ltd.
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/

@@ -5,0 +5,0 @@ */

/**
* @license
* Copyright (c) 2016 - 2023 Vaadin Ltd.
* Copyright (c) 2016 - 2024 Vaadin Ltd.
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/

@@ -35,2 +35,10 @@ */

/**
* Override `autoWidth` to enable auto-width
*/
autoWidth: {
type: Boolean,
value: true,
},
/**
* Flex grow ratio for the cell widths. When set to 0, cell width is fixed.

@@ -238,2 +246,12 @@ * @attr {number} flex-grow

/** @private */
_onCellKeyDown(e) {
const target = e.composedPath()[0];
// Toggle on Space without having to enter interaction mode first
if (e.keyCode === 32 && (target === this._headerCell || (this._cells.includes(target) && !this.autoSelect))) {
const checkbox = target._content.firstElementChild;
checkbox.checked = !checkbox.checked;
}
}
/** @private */
__dragAutoScroller() {

@@ -240,0 +258,0 @@ if (this.__dragStartIndex === undefined) {

/**
* @license
* Copyright (c) 2016 - 2023 Vaadin Ltd.
* Copyright (c) 2016 - 2024 Vaadin Ltd.
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/

@@ -5,0 +5,0 @@ */

/**
* @license
* Copyright (c) 2016 - 2023 Vaadin Ltd.
* Copyright (c) 2016 - 2024 Vaadin Ltd.
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/

@@ -5,0 +5,0 @@ */

/**
* @license
* Copyright (c) 2016 - 2023 Vaadin Ltd.
* Copyright (c) 2016 - 2024 Vaadin Ltd.
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/

@@ -5,0 +5,0 @@ */

/**
* @license
* Copyright (c) 2016 - 2023 Vaadin Ltd.
* Copyright (c) 2016 - 2024 Vaadin Ltd.
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/

@@ -5,0 +5,0 @@ */

/**
* @license
* Copyright (c) 2016 - 2023 Vaadin Ltd.
* Copyright (c) 2016 - 2024 Vaadin Ltd.
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/

@@ -5,0 +5,0 @@ */

/**
* @license
* Copyright (c) 2016 - 2023 Vaadin Ltd.
* Copyright (c) 2016 - 2024 Vaadin Ltd.
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/

@@ -5,0 +5,0 @@ */

/**
* @license
* Copyright (c) 2016 - 2023 Vaadin Ltd.
* Copyright (c) 2016 - 2024 Vaadin Ltd.
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/

@@ -5,0 +5,0 @@ */

/**
* @license
* Copyright (c) 2016 - 2023 Vaadin Ltd.
* Copyright (c) 2016 - 2024 Vaadin Ltd.
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/

@@ -5,0 +5,0 @@ */

/**
* @license
* Copyright (c) 2016 - 2023 Vaadin Ltd.
* Copyright (c) 2016 - 2024 Vaadin Ltd.
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/

@@ -5,0 +5,0 @@ */

/**
* @license
* Copyright (c) 2016 - 2023 Vaadin Ltd.
* Copyright (c) 2016 - 2024 Vaadin Ltd.
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/

@@ -5,0 +5,0 @@ */

/**
* @license
* Copyright (c) 2016 - 2023 Vaadin Ltd.
* Copyright (c) 2016 - 2024 Vaadin Ltd.
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/

@@ -5,0 +5,0 @@ */

/**
* @license
* Copyright (c) 2016 - 2023 Vaadin Ltd.
* Copyright (c) 2016 - 2024 Vaadin Ltd.
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/

@@ -5,0 +5,0 @@ */

/**
* @license
* Copyright (c) 2016 - 2023 Vaadin Ltd.
* Copyright (c) 2016 - 2024 Vaadin Ltd.
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/

@@ -5,0 +5,0 @@ */

/**
* @license
* Copyright (c) 2016 - 2023 Vaadin Ltd.
* Copyright (c) 2016 - 2024 Vaadin Ltd.
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/

@@ -5,0 +5,0 @@ */

/**
* @license
* Copyright (c) 2016 - 2023 Vaadin Ltd.
* Copyright (c) 2016 - 2024 Vaadin Ltd.
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/

@@ -5,0 +5,0 @@ */

/**
* @license
* Copyright (c) 2016 - 2023 Vaadin Ltd.
* Copyright (c) 2016 - 2024 Vaadin Ltd.
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/

@@ -5,0 +5,0 @@ */

/**
* @license
* Copyright (c) 2016 - 2023 Vaadin Ltd.
* Copyright (c) 2016 - 2024 Vaadin Ltd.
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/

@@ -155,2 +155,8 @@ */

/* Switch the focusButtonMode wrapping element to "position: static" temporarily
when measuring real width of the cells in the auto-width columns. */
[measuring-auto-width] [part~='cell'] > [tabindex] {
position: static;
}
[part~='details-cell'] {

@@ -157,0 +163,0 @@ position: absolute;

/**
* @license
* Copyright (c) 2016 - 2023 Vaadin Ltd.
* Copyright (c) 2016 - 2024 Vaadin Ltd.
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/

@@ -5,0 +5,0 @@ */

/**
* @license
* Copyright (c) 2016 - 2023 Vaadin Ltd.
* Copyright (c) 2016 - 2024 Vaadin Ltd.
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/

@@ -5,0 +5,0 @@ */

/**
* @license
* Copyright (c) 2016 - 2023 Vaadin Ltd.
* Copyright (c) 2016 - 2024 Vaadin Ltd.
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/

@@ -5,0 +5,0 @@ */

/**
* @license
* Copyright (c) 2016 - 2023 Vaadin Ltd.
* Copyright (c) 2016 - 2024 Vaadin Ltd.
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/

@@ -5,0 +5,0 @@ */

/**
* @license
* Copyright (c) 2016 - 2023 Vaadin Ltd.
* Copyright (c) 2016 - 2024 Vaadin Ltd.
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/

@@ -5,0 +5,0 @@ */

/**
* @license
* Copyright (c) 2016 - 2023 Vaadin Ltd.
* Copyright (c) 2016 - 2024 Vaadin Ltd.
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/

@@ -5,0 +5,0 @@ */

/**
* @license
* Copyright (c) 2016 - 2023 Vaadin Ltd.
* Copyright (c) 2016 - 2024 Vaadin Ltd.
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/

@@ -5,0 +5,0 @@ */

/**
* @license
* Copyright (c) 2016 - 2023 Vaadin Ltd.
* Copyright (c) 2016 - 2024 Vaadin Ltd.
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/

@@ -128,6 +128,4 @@ */

/** @protected */
ready() {
super.ready();
constructor() {
super();
this.addEventListener('click', (e) => this._onClick(e));

@@ -134,0 +132,0 @@ }

/**
* @license
* Copyright (c) 2016 - 2023 Vaadin Ltd.
* Copyright (c) 2016 - 2024 Vaadin Ltd.
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/

@@ -5,0 +5,0 @@ */

/**
* @license
* Copyright (c) 2016 - 2023 Vaadin Ltd.
* Copyright (c) 2016 - 2024 Vaadin Ltd.
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/

@@ -5,0 +5,0 @@ */

/**
* @license
* Copyright (c) 2016 - 2023 Vaadin Ltd.
* Copyright (c) 2016 - 2024 Vaadin Ltd.
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/

@@ -5,0 +5,0 @@ */

/**
* @license
* Copyright (c) 2016 - 2023 Vaadin Ltd.
* Copyright (c) 2016 - 2024 Vaadin Ltd.
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/

@@ -5,0 +5,0 @@ */

/**
* @license
* Copyright (c) 2016 - 2023 Vaadin Ltd.
* Copyright (c) 2016 - 2024 Vaadin Ltd.
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/

@@ -16,3 +16,3 @@ */

*
* This component is an experiment not intended for publishing to npm.
* This component is an experiment and not yet a part of Vaadin platform.
* There is no ETA regarding specific Vaadin version where it'll land.

@@ -19,0 +19,0 @@ * Feel free to try this code in your apps as per Apache 2.0 license.

/**
* @license
* Copyright (c) 2016 - 2023 Vaadin Ltd.
* Copyright (c) 2016 - 2024 Vaadin Ltd.
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/

@@ -16,3 +16,3 @@ */

*
* This component is an experiment not intended for publishing to npm.
* This component is an experiment and not yet a part of Vaadin platform.
* There is no ETA regarding specific Vaadin version where it'll land.

@@ -19,0 +19,0 @@ * Feel free to try this code in your apps as per Apache 2.0 license.

/**
* @license
* Copyright (c) 2016 - 2023 Vaadin Ltd.
* Copyright (c) 2016 - 2024 Vaadin Ltd.
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/

@@ -16,3 +16,3 @@ */

*
* This component is an experiment not intended for publishing to npm.
* This component is an experiment and not yet a part of Vaadin platform.
* There is no ETA regarding specific Vaadin version where it'll land.

@@ -19,0 +19,0 @@ * Feel free to try this code in your apps as per Apache 2.0 license.

/**
* @license
* Copyright (c) 2016 - 2023 Vaadin Ltd.
* Copyright (c) 2016 - 2024 Vaadin Ltd.
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/

@@ -18,3 +18,3 @@ */

*
* This component is an experiment not intended for publishing to npm.
* This component is an experiment and not yet a part of Vaadin platform.
* There is no ETA regarding specific Vaadin version where it'll land.

@@ -21,0 +21,0 @@ * Feel free to try this code in your apps as per Apache 2.0 license.

/**
* @license
* Copyright (c) 2016 - 2023 Vaadin Ltd.
* Copyright (c) 2016 - 2024 Vaadin Ltd.
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/

@@ -16,3 +16,3 @@ */

*
* This component is an experiment not intended for publishing to npm.
* This component is an experiment and not yet a part of Vaadin platform.
* There is no ETA regarding specific Vaadin version where it'll land.

@@ -19,0 +19,0 @@ * Feel free to try this code in your apps as per Apache 2.0 license.

/**
* @license
* Copyright (c) 2016 - 2023 Vaadin Ltd.
* Copyright (c) 2016 - 2024 Vaadin Ltd.
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/

@@ -16,3 +16,3 @@ */

*
* This component is an experiment not intended for publishing to npm.
* This component is an experiment and not yet a part of Vaadin platform.
* There is no ETA regarding specific Vaadin version where it'll land.

@@ -19,0 +19,0 @@ * Feel free to try this code in your apps as per Apache 2.0 license.

/**
* @license
* Copyright (c) 2016 - 2023 Vaadin Ltd.
* Copyright (c) 2016 - 2024 Vaadin Ltd.
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/

@@ -18,3 +18,3 @@ */

*
* This component is an experiment not intended for publishing to npm.
* This component is an experiment and not yet a part of Vaadin platform.
* There is no ETA regarding specific Vaadin version where it'll land.

@@ -21,0 +21,0 @@ * Feel free to try this code in your apps as per Apache 2.0 license.

/**
* @license
* Copyright (c) 2016 - 2023 Vaadin Ltd.
* Copyright (c) 2016 - 2024 Vaadin Ltd.
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/

@@ -16,3 +16,3 @@ */

*
* This component is an experiment not intended for publishing to npm.
* This component is an experiment and not yet a part of Vaadin platform.
* There is no ETA regarding specific Vaadin version where it'll land.

@@ -19,0 +19,0 @@ * Feel free to try this code in your apps as per Apache 2.0 license.

/**
* @license
* Copyright (c) 2016 - 2023 Vaadin Ltd.
* Copyright (c) 2016 - 2024 Vaadin Ltd.
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/

@@ -18,3 +18,3 @@ */

*
* This component is an experiment not intended for publishing to npm.
* This component is an experiment and not yet a part of Vaadin platform.
* There is no ETA regarding specific Vaadin version where it'll land.

@@ -21,0 +21,0 @@ * Feel free to try this code in your apps as per Apache 2.0 license.

/**
* @license
* Copyright (c) 2017 - 2023 Vaadin Ltd.
* Copyright (c) 2017 - 2024 Vaadin Ltd.
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/

@@ -21,3 +21,3 @@ */

*
* This component is an experiment not intended for publishing to npm.
* This component is an experiment and not yet a part of Vaadin platform.
* There is no ETA regarding specific Vaadin version where it'll land.

@@ -24,0 +24,0 @@ * Feel free to try this code in your apps as per Apache 2.0 license.

@@ -7,3 +7,2 @@ import '@vaadin/vaadin-lumo-styles/color.js';

import '@vaadin/vaadin-lumo-styles/typography.js';
import '@vaadin/checkbox/theme/lumo/vaadin-checkbox-styles.js';
import { css, registerStyles } from '@vaadin/vaadin-themable-mixin/vaadin-themable-mixin.js';

@@ -10,0 +9,0 @@

@@ -1,3 +0,2 @@

import '@vaadin/text-field/theme/lumo/vaadin-text-field-styles.js';
import '@vaadin/input-container/theme/lumo/vaadin-input-container-styles.js';
import '@vaadin/text-field/theme/lumo/vaadin-lit-text-field.js';
import '../../src/vaadin-lit-grid-filter.js';

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

import '@vaadin/checkbox/theme/lumo/vaadin-checkbox-styles.js';
import '@vaadin/checkbox/theme/lumo/vaadin-lit-checkbox.js';
import '../../src/vaadin-lit-grid-selection-column.js';

@@ -1,3 +0,2 @@

import '@vaadin/text-field/theme/material/vaadin-text-field-styles.js';
import '@vaadin/input-container/theme/material/vaadin-input-container-styles.js';
import '@vaadin/text-field/theme/material/vaadin-lit-text-field.js';
import '../../src/vaadin-lit-grid-filter.js';

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

import '@vaadin/checkbox/theme/material/vaadin-checkbox-styles.js';
import '@vaadin/checkbox/theme/material/vaadin-lit-checkbox.js';
import '../../src/vaadin-lit-grid-selection-column.js';
export * from './src/vaadin-grid.js';
export * from './src/vaadin-grid-column.js';
import './theme/lumo/vaadin-grid.js';
export * from './src/vaadin-grid-column.js';
export * from './src/vaadin-grid.js';
export * from './src/vaadin-grid.js';
export * from './src/vaadin-grid-column.js';
import './theme/lumo/vaadin-lit-grid.js';
export * from './src/vaadin-lit-grid-column.js';
export * from './src/vaadin-lit-grid.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