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

@vaadin/component-base

Package Overview
Dependencies
Maintainers
14
Versions
392
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 22.0.14 to 22.0.15

4

package.json
{
"name": "@vaadin/component-base",
"version": "22.0.14",
"version": "22.0.15",
"publishConfig": {

@@ -44,3 +44,3 @@ "access": "public"

},
"gitHead": "62419e3f8f41fe9dc4f0bce5e1717b16828459b6"
"gitHead": "bba021b56ba45da93d2bb980242956ad929ecfe2"
}

@@ -20,3 +20,3 @@ /**

export declare function ActiveMixin<T extends Constructor<HTMLElement>>(
base: T
base: T,
): T & Constructor<ActiveMixinClass> & Constructor<DisabledMixinClass> & Constructor<KeyboardMixinClass>;

@@ -23,0 +23,0 @@

@@ -73,3 +73,3 @@ /**

window.clearTimeout(handle);
}
},
};

@@ -97,3 +97,3 @@ },

window.clearTimeout(handle);
}
},
};

@@ -128,3 +128,3 @@ export { timeOut };

window.cancelAnimationFrame(handle);
}
},
};

@@ -160,3 +160,3 @@ export { animationFrame };

window.cancelIdleCallback ? window.cancelIdleCallback(handle) : window.clearTimeout(handle);
}
},
};

@@ -210,4 +210,4 @@ export { idlePeriod };

}
}
},
};
export { microTask };

@@ -13,3 +13,3 @@ /**

export declare function ControllerMixin<T extends Constructor<HTMLElement>>(
superclass: T
superclass: T,
): T & Constructor<ControllerMixinClass>;

@@ -16,0 +16,0 @@

@@ -66,3 +66,3 @@ /**

}
}
},
);

@@ -38,3 +38,3 @@ /**

element: Element | null,
scrollLeft: number
scrollLeft: number,
): void;

@@ -41,0 +41,0 @@ }

@@ -51,4 +51,4 @@ /**

value: '',
reflectToAttribute: true
}
reflectToAttribute: true,
},
};

@@ -55,0 +55,0 @@ }

@@ -25,4 +25,4 @@ /**

observer: '_disabledChanged',
reflectToAttribute: true
}
reflectToAttribute: true,
},
};

@@ -62,3 +62,3 @@ }

}
}
},
);

@@ -15,3 +15,3 @@ /**

export declare function ElementMixin<T extends Constructor<HTMLElement>>(
superclass: T
superclass: T,
): T & Constructor<DirMixinClass> & Constructor<ElementMixinClass>;

@@ -18,0 +18,0 @@

@@ -35,3 +35,3 @@ /**

static get version() {
return '22.0.14';
return '22.0.15';
}

@@ -64,3 +64,3 @@

console.warn(
'Vaadin components require the "standards mode" declaration. Please add <!DOCTYPE html> to the HTML document.'
'Vaadin components require the "standards mode" declaration. Please add <!DOCTYPE html> to the HTML document.',
);

@@ -67,0 +67,0 @@ }

@@ -19,3 +19,3 @@ /**

},
{ capture: true }
{ capture: true },
);

@@ -28,3 +28,3 @@

},
{ capture: true }
{ capture: true },
);

@@ -115,3 +115,3 @@

}
}
},
);

@@ -349,3 +349,3 @@ /**

Math.floor(this._virtualStart / this._itemsPerRow) * this._physicalAverage,
this._scrollPosition
this._scrollPosition,
);

@@ -471,3 +471,3 @@ this._update();

DEFAULT_PHYSICAL_COUNT,
this._virtualCount - this._virtualStart
this._virtualCount - this._virtualStart,
);

@@ -525,3 +525,3 @@ nextPhysicalCount = this._convertIndexToCompleteRow(nextPhysicalCount);

this._increasePoolIfNeeded.bind(this, this._clamp(Math.round(50 / this._templateCost), 1, nextIncrease)),
idlePeriod
idlePeriod,
);

@@ -693,3 +693,3 @@ }

this._physicalAverage = Math.round(
(prevPhysicalAvg * prevAvgCount + newPhysicalSize) / this._physicalAverageCount
(prevPhysicalAvg * prevAvgCount + newPhysicalSize) / this._physicalAverageCount,
);

@@ -895,3 +895,3 @@ }

},
animationFrame
animationFrame,
);

@@ -955,3 +955,3 @@ },

enqueueDebouncer(this._debouncers[name]);
}
},
};

@@ -52,3 +52,3 @@ /**

}
}
},
);

@@ -13,3 +13,3 @@ /**

slotFactory?: () => HTMLElement,
slotInitializer?: (host: HTMLElement, node: HTMLElement) => void
slotInitializer?: (host: HTMLElement, node: HTMLElement) => void,
);

@@ -16,0 +16,0 @@

@@ -51,3 +51,3 @@ /**

}
}
},
);

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

export declare function TabindexMixin<T extends Constructor<HTMLElement>>(
base: T
base: T,
): T & Constructor<DisabledMixinClass> & Constructor<TabindexMixinClass>;

@@ -19,0 +19,0 @@

@@ -29,3 +29,3 @@ /**

reflectToAttribute: true,
observer: '_tabindexChanged'
observer: '_tabindexChanged',
},

@@ -39,4 +39,4 @@

_lastTabIndex: {
type: Number
}
type: Number,
},
};

@@ -43,0 +43,0 @@ }

@@ -21,5 +21,5 @@ /**

console.warn(
`WARNING: <template> inside <${component.localName}> is no longer supported. Import @vaadin/polymer-legacy-adapter/template-renderer.js to enable compatibility.`
`WARNING: <template> inside <${component.localName}> is no longer supported. Import @vaadin/polymer-legacy-adapter/template-renderer.js to enable compatibility.`,
);
}
}

@@ -31,3 +31,3 @@ /**

SCROLL_REORDER: 500,
IGNORE_WHEEL: 500
IGNORE_WHEEL: 500,
};

@@ -183,3 +183,3 @@

this._itemsChanged({
path: 'items'
path: 'items',
});

@@ -226,3 +226,3 @@ flush();

return {
length: Math.min(this.size, MAX_VIRTUAL_COUNT)
length: Math.min(this.size, MAX_VIRTUAL_COUNT),
};

@@ -239,3 +239,3 @@ }

return {
items: this.scrollContainer
items: this.scrollContainer,
};

@@ -309,3 +309,3 @@ }

timeOut.after(this.timeouts.SCROLL_REORDER),
() => this.__reorderElements()
() => this.__reorderElements(),
);

@@ -348,3 +348,3 @@ }

animationFrame,
() => (this._wheelAnimationFrame = false)
() => (this._wheelAnimationFrame = false),
);

@@ -365,3 +365,3 @@

timeOut.after(this.timeouts.IGNORE_WHEEL),
() => (this._ignoreNewWheel = false)
() => (this._ignoreNewWheel = false),
);

@@ -437,3 +437,3 @@ } else if ((this._hasResidualMomentum && momentum <= this._previousMomentum) || this._ignoreNewWheel) {

element.contains(this.elementsContainer.getRootNode().activeElement) ||
element.contains(this.scrollTarget.getRootNode().activeElement)
element.contains(this.scrollTarget.getRootNode().activeElement),
);

@@ -440,0 +440,0 @@ const targetElement = elementWithFocus || visibleElements[0];

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