@vaadin/grid
Advanced tools
Comparing version 24.0.0-alpha12 to 24.0.0-alpha13
{ | ||
"name": "@vaadin/grid", | ||
"version": "24.0.0-alpha12", | ||
"version": "24.0.0-alpha13", | ||
"publishConfig": { | ||
@@ -49,14 +49,14 @@ "access": "public" | ||
"@polymer/polymer": "^3.0.0", | ||
"@vaadin/checkbox": "24.0.0-alpha12", | ||
"@vaadin/component-base": "24.0.0-alpha12", | ||
"@vaadin/lit-renderer": "24.0.0-alpha12", | ||
"@vaadin/text-field": "24.0.0-alpha12", | ||
"@vaadin/vaadin-lumo-styles": "24.0.0-alpha12", | ||
"@vaadin/vaadin-material-styles": "24.0.0-alpha12", | ||
"@vaadin/vaadin-themable-mixin": "24.0.0-alpha12" | ||
"@vaadin/checkbox": "24.0.0-alpha13", | ||
"@vaadin/component-base": "24.0.0-alpha13", | ||
"@vaadin/lit-renderer": "24.0.0-alpha13", | ||
"@vaadin/text-field": "24.0.0-alpha13", | ||
"@vaadin/vaadin-lumo-styles": "24.0.0-alpha13", | ||
"@vaadin/vaadin-material-styles": "24.0.0-alpha13", | ||
"@vaadin/vaadin-themable-mixin": "24.0.0-alpha13" | ||
}, | ||
"devDependencies": { | ||
"@esm-bundle/chai": "^4.3.4", | ||
"@vaadin/polymer-legacy-adapter": "24.0.0-alpha12", | ||
"@vaadin/testing-helpers": "^0.3.2", | ||
"@vaadin/polymer-legacy-adapter": "24.0.0-alpha13", | ||
"@vaadin/testing-helpers": "^0.4.0", | ||
"lit": "^2.0.0", | ||
@@ -69,3 +69,3 @@ "sinon": "^13.0.2" | ||
], | ||
"gitHead": "7e29eee4d522fb7b03ac8e7e385e9057d71c79ce" | ||
"gitHead": "a423ad309c12b4e4f847737ee9f491f83ea60ff0" | ||
} |
@@ -17,5 +17,5 @@ /** | ||
*/ | ||
activeItem: TItem | null; | ||
activeItem: TItem | null | undefined; | ||
} | ||
export declare function isFocusable(target: Element): boolean; |
@@ -150,2 +150,9 @@ /** | ||
_updateOverflow() { | ||
this._debounceOverflow = Debouncer.debounce(this._debounceOverflow, animationFrame, () => { | ||
this.__doUpdateOverflow(); | ||
}); | ||
} | ||
/** @private */ | ||
__doUpdateOverflow() { | ||
// Set overflow styling attributes | ||
@@ -186,10 +193,8 @@ let overflow = ''; | ||
this._debounceOverflow = Debouncer.debounce(this._debounceOverflow, animationFrame, () => { | ||
const value = overflow.trim(); | ||
if (value.length > 0 && this.getAttribute('overflow') !== value) { | ||
this.setAttribute('overflow', value); | ||
} else if (value.length === 0 && this.hasAttribute('overflow')) { | ||
this.removeAttribute('overflow'); | ||
} | ||
}); | ||
const value = overflow.trim(); | ||
if (value.length > 0 && this.getAttribute('overflow') !== value) { | ||
this.setAttribute('overflow', value); | ||
} else if (value.length === 0 && this.hasAttribute('overflow')) { | ||
this.removeAttribute('overflow'); | ||
} | ||
} | ||
@@ -196,0 +201,0 @@ |
@@ -71,3 +71,3 @@ /** | ||
*/ | ||
export type GridActiveItemChangedEvent<TItem> = CustomEvent<{ value: TItem }>; | ||
export type GridActiveItemChangedEvent<TItem> = CustomEvent<{ value: TItem | null | undefined }>; | ||
@@ -74,0 +74,0 @@ /** |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
562416
13635
+ Added@vaadin/checkbox@24.0.0-alpha13(transitive)
+ Added@vaadin/component-base@24.0.0-alpha13(transitive)
+ Added@vaadin/field-base@24.0.0-alpha13(transitive)
+ Added@vaadin/icon@24.0.0-alpha13(transitive)
+ Added@vaadin/input-container@24.0.0-alpha13(transitive)
+ Added@vaadin/lit-renderer@24.0.0-alpha13(transitive)
+ Added@vaadin/text-field@24.0.0-alpha13(transitive)
+ Added@vaadin/vaadin-lumo-styles@24.0.0-alpha13(transitive)
+ Added@vaadin/vaadin-material-styles@24.0.0-alpha13(transitive)
+ Added@vaadin/vaadin-themable-mixin@24.0.0-alpha13(transitive)
- Removed@vaadin/checkbox@24.0.0-alpha12(transitive)
- Removed@vaadin/component-base@24.0.0-alpha12(transitive)
- Removed@vaadin/field-base@24.0.0-alpha12(transitive)
- Removed@vaadin/icon@24.0.0-alpha12(transitive)
- Removed@vaadin/input-container@24.0.0-alpha12(transitive)
- Removed@vaadin/lit-renderer@24.0.0-alpha12(transitive)
- Removed@vaadin/text-field@24.0.0-alpha12(transitive)
- Removed@vaadin/vaadin-lumo-styles@24.0.0-alpha12(transitive)
- Removed@vaadin/vaadin-material-styles@24.0.0-alpha12(transitive)
- Removed@vaadin/vaadin-themable-mixin@24.0.0-alpha12(transitive)