@html-next/vertical-collection 4.0.0-beta.2 → 4.0.1

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/CHANGELOG.md CHANGED
@@ -2,6 +2,31 @@ Changelog
2
2
  =========
3
3
 
4
4
 
5
+
6
+ ## v4.0.1 (2022-11-07)
7
+
8
+ #### :memo: Documentation
9
+ * [#381](https://github.com/html-next/vertical-collection/pull/381) Fix README ([@runspired](https://github.com/runspired))
10
+
11
+ #### Committers: 4
12
+ - Alex Navasardyan ([@twokul](https://github.com/twokul))
13
+ - Chris Thoburn ([@runspired](https://github.com/runspired))
14
+ - Matthew Beale ([@mixonic](https://github.com/mixonic))
15
+ - [@Atrue](https://github.com/Atrue)
16
+
17
+
18
+ ## v4.0.0 (2022-09-12)
19
+
20
+ * Drops support for Ember < 3.12-LTS.
21
+ * Drops support for Ember CLI 2.x. https://github.com/html-next/vertical-collection/pull/379
22
+ * No change in Node support.
23
+ * Drop the positional param for `items` on the vertical collection component.
24
+ * Drop ember-compatibility-helpers https://github.com/html-next/vertical-collection/pull/375
25
+ * Refactor a bunch of debug code to DEBUG https://github.com/html-next/vertical-collection/pull/388
26
+ * Adopt angle bracket invocation
27
+ * Adopt native getters
28
+
29
+
5
30
  ## v4.0.0-beta.2 (2022-09-08)
6
31
 
7
32
 
package/README.md CHANGED
@@ -88,7 +88,7 @@ It works via a scrollable div or scrollable body.
88
88
 
89
89
  ### Svelte Everything
90
90
 
91
- If it can be trimmer, smoke-and-mirrors likes to trim it.
91
+ If it can be trimmer, vertical-collection likes to trim it.
92
92
 
93
93
  ## Status
94
94
 
@@ -327,6 +327,7 @@ const VerticalCollection = Component.extend({
327
327
  _radar.bufferSize = this.bufferSize;
328
328
 
329
329
  _radar.scheduleUpdate(true);
330
+ this._clearScheduledActions();
330
331
 
331
332
  return _radar.virtualComponents;
332
333
  }),
@@ -335,6 +336,12 @@ const VerticalCollection = Component.extend({
335
336
  return scheduler.schedule(queueName, job, this.token);
336
337
  },
337
338
 
339
+ _clearScheduledActions() {
340
+ clearTimeout(this._nextSendActions);
341
+ this._nextSendActions = null;
342
+ this._scheduledActions.length = 0;
343
+ },
344
+
338
345
  _scheduleSendAction(action, index) {
339
346
  this._scheduledActions.push([action, index]);
340
347
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@html-next/vertical-collection",
3
- "version": "4.0.0-beta.2",
3
+ "version": "4.0.1",
4
4
  "description": "infinite-scroll, done right. done.",
5
5
  "keywords": [
6
6
  "occlusion",