🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@vaadin/component-base

Package Overview
Dependencies
Maintainers
12
Versions
621
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vaadin/component-base - npm Package Compare versions

Comparing version
25.3.0-alpha4
to
25.3.0-alpha5
+4
-4
package.json
{
"name": "@vaadin/component-base",
"version": "25.3.0-alpha4",
"version": "25.3.0-alpha5",
"publishConfig": {

@@ -41,4 +41,4 @@ "access": "public"

"devDependencies": {
"@vaadin/chai-plugins": "25.3.0-alpha4",
"@vaadin/test-runner-commands": "25.3.0-alpha4",
"@vaadin/chai-plugins": "25.3.0-alpha5",
"@vaadin/test-runner-commands": "25.3.0-alpha5",
"@vaadin/testing-helpers": "^2.0.0",

@@ -48,3 +48,3 @@ "sinon": "^22.0.0"

"customElements": "custom-elements.json",
"gitHead": "ff0efcd52d3b8a081e8101d36cf7bef65ed71cb1"
"gitHead": "0be2142cd8b95a562d58735033f947f7109103ab"
}

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

export function defineCustomElement(CustomElement, version = '25.3.0-alpha4') {
export function defineCustomElement(CustomElement, version = '25.3.0-alpha5') {
Object.defineProperty(CustomElement, 'version', {

@@ -19,0 +19,0 @@ get() {

@@ -25,2 +25,3 @@ /**

__disableHeightPlaceholder,
__alwaysUpdateScrollerSize,
}) {

@@ -41,2 +42,8 @@ this.isAttached = true;

// Internal option: a predicate that, when it returns true, makes the scroller
// height always be applied instead of amortized (see `_updateScrollerSize`).
// Used by components whose height tracks the content exactly (e.g. the grid's
// `allRowsVisible` mode). Not for public use.
this.__alwaysUpdateScrollerSize = __alwaysUpdateScrollerSize;
// Iron-list uses this value to determine how many pages of elements to render

@@ -221,2 +228,7 @@ this._maxPages = 1.3;

/** @override */
_updateScrollerSize(forceUpdate) {
super._updateScrollerSize(forceUpdate || !!this.__alwaysUpdateScrollerSize?.());
}
/**

@@ -223,0 +235,0 @@ * Updates the height for a given set of items.