@vaadin/component-base 24.3.1 → 24.4.0-alpha1

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.3.1",
3
+ "version": "24.4.0-alpha1",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -42,5 +42,5 @@
42
42
  "@vaadin/testing-helpers": "^0.6.0",
43
43
  "sinon": "^13.0.2"
44
44
  },
45
- "gitHead": "b81b3535adec8e4371ceb5d1ba5b12fa2a2abf22"
45
+ "gitHead": "3e2ed41c99d618ff7def2734fd863c21c85775a3"
46
46
  }
@@ -237,6 +237,10 @@ export class DataProviderController extends EventTarget {
237
237
  }
238
238
 
239
239
  const callback = (items, size) => {
240
+ if (cache.pendingRequests[page] !== callback) {
241
+ return;
242
+ }
243
+
240
244
  if (size !== undefined) {
241
245
  cache.size = size;
242
246
  } else if (params.parentItem) {
package/src/define.js CHANGED
@@ -9,7 +9,7 @@ export function defineCustomElement(CustomElement) {
9
9
  if (!defined) {
10
10
  Object.defineProperty(CustomElement, 'version', {
11
11
  get() {
12
- return '24.3.1';
12
+ return '24.4.0-alpha1';
13
13
  },
14
14
  });
15
15
 
@@ -16,5 +16,5 @@ export declare class DelegateStateMixinClass {
16
16
  /**
17
17
  * A target element to which attributes and properties are delegated.
18
18
  */
19
- stateTarget: HTMLElement | null;
19
+ protected stateTarget: HTMLElement | null;
20
20
  }