@vaadin/component-base 24.9.6 → 24.9.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vaadin/component-base",
|
|
3
|
-
"version": "24.9.
|
|
3
|
+
"version": "24.9.8",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -38,10 +38,10 @@
|
|
|
38
38
|
"lit": "^3.0.0"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
|
-
"@vaadin/chai-plugins": "~24.9.
|
|
42
|
-
"@vaadin/test-runner-commands": "~24.9.
|
|
41
|
+
"@vaadin/chai-plugins": "~24.9.8",
|
|
42
|
+
"@vaadin/test-runner-commands": "~24.9.8",
|
|
43
43
|
"@vaadin/testing-helpers": "^1.1.0",
|
|
44
44
|
"sinon": "^18.0.0"
|
|
45
45
|
},
|
|
46
|
-
"gitHead": "
|
|
46
|
+
"gitHead": "deee84906a0b74bac20b2f3ca0aa7fe02e700e23"
|
|
47
47
|
}
|
package/src/define.js
CHANGED
|
@@ -13,7 +13,7 @@ function dashToCamelCase(dash) {
|
|
|
13
13
|
|
|
14
14
|
const experimentalMap = {};
|
|
15
15
|
|
|
16
|
-
export function defineCustomElement(CustomElement, version = '24.9.
|
|
16
|
+
export function defineCustomElement(CustomElement, version = '24.9.8') {
|
|
17
17
|
Object.defineProperty(CustomElement, 'version', {
|
|
18
18
|
get() {
|
|
19
19
|
return version;
|
|
@@ -758,7 +758,7 @@ export class IronListAdapter {
|
|
|
758
758
|
* @override
|
|
759
759
|
*/
|
|
760
760
|
_increasePoolIfNeeded(count) {
|
|
761
|
-
if (this._physicalCount > 2 && count) {
|
|
761
|
+
if (this._physicalCount > 2 && this._physicalAverage > 0 && count > 0) {
|
|
762
762
|
// The iron-list logic has already created some physical items and
|
|
763
763
|
// has decided to create more. Since each item creation round is
|
|
764
764
|
// expensive, let's try to create the remaining items in one go.
|