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
404
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.6.0-rc1 to 24.6.0

22

package.json
{
"name": "@vaadin/grid",
"version": "24.6.0-rc1",
"version": "24.6.0",
"publishConfig": {

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

"@polymer/polymer": "^3.0.0",
"@vaadin/a11y-base": "24.6.0-rc1",
"@vaadin/checkbox": "24.6.0-rc1",
"@vaadin/component-base": "24.6.0-rc1",
"@vaadin/lit-renderer": "24.6.0-rc1",
"@vaadin/text-field": "24.6.0-rc1",
"@vaadin/vaadin-lumo-styles": "24.6.0-rc1",
"@vaadin/vaadin-material-styles": "24.6.0-rc1",
"@vaadin/vaadin-themable-mixin": "24.6.0-rc1",
"@vaadin/a11y-base": "~24.6.0",
"@vaadin/checkbox": "~24.6.0",
"@vaadin/component-base": "~24.6.0",
"@vaadin/lit-renderer": "~24.6.0",
"@vaadin/text-field": "~24.6.0",
"@vaadin/vaadin-lumo-styles": "~24.6.0",
"@vaadin/vaadin-material-styles": "~24.6.0",
"@vaadin/vaadin-themable-mixin": "~24.6.0",
"lit": "^3.0.0"
},
"devDependencies": {
"@vaadin/chai-plugins": "24.6.0-rc1",
"@vaadin/chai-plugins": "~24.6.0",
"@vaadin/testing-helpers": "^1.0.0",

@@ -69,3 +69,3 @@ "sinon": "^18.0.0"

],
"gitHead": "d62ba309e3286777ad3ea7e015d50a2c4976bb42"
"gitHead": "c0b38aa981494d04fac64da35aa3890ad72551ea"
}

@@ -222,7 +222,3 @@ /**

if (this.__dragStartItem) {
if (this.__selectOnDrag) {
this._selectItem(this.__dragStartItem);
} else {
this._deselectItem(this.__dragStartItem);
}
this.__toggleItem(this.__dragStartItem, this.__selectOnDrag);
}

@@ -293,2 +289,3 @@ // clear drag state after timeout, which allows preventing the

}
// Get the row being hovered over

@@ -318,7 +315,3 @@ const renderedRows = this._grid._getRenderedRows();

) {
if (this.__selectOnDrag) {
this._selectItem(row._item);
} else {
this._deselectItem(row._item);
}
this.__toggleItem(row._item, this.__selectOnDrag);
this.__dragStartItem = undefined;

@@ -405,2 +398,10 @@ }

__toggleItem(item, selected = !this._grid._isSelected(item)) {
if (selected === this._grid._isSelected(item)) {
// Skip selection if the item is already in the desired state.
// Note, _selectItem and _deselectItem may be overridden in custom
// selection column implementations, and calling them unnecessarily
// might affect performance (e.g. vaadin-grid-flow-selection-column).
return;
}
if (selected) {

@@ -407,0 +408,0 @@ this._selectItem(item);

@@ -56,3 +56,3 @@ /**

display: inline-block;
width: calc(var(---level, '0') * var(--vaadin-grid-tree-toggle-level-offset));
width: calc(var(--_level, '0') * var(--vaadin-grid-tree-toggle-level-offset));
}

@@ -150,4 +150,4 @@

const value = Number(level).toString();
this.style.setProperty('---level', value);
this.style.setProperty('--_level', value);
}
};

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