@decocms/tanstack 7.80.1 → 7.81.0

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": "@decocms/tanstack",
3
- "version": "7.80.1",
3
+ "version": "7.81.0",
4
4
  "type": "module",
5
5
  "description": "Deco framework binding for TanStack Start + Cloudflare Workers",
6
6
  "repository": {
@@ -27,9 +27,9 @@
27
27
  "lint:unused": "knip"
28
28
  },
29
29
  "dependencies": {
30
- "@decocms/blocks": "7.80.1",
31
- "@decocms/blocks-admin": "7.80.1",
32
- "@decocms/blocks-cli": "7.80.1",
30
+ "@decocms/blocks": "7.81.0",
31
+ "@decocms/blocks-admin": "7.81.0",
32
+ "@decocms/blocks-cli": "7.81.0",
33
33
  "@deco-cx/warp-node": "^0.3.16",
34
34
  "fast-json-patch": "^3.1.0",
35
35
  "ws": "^8.18.0"
@@ -11,6 +11,7 @@ import {
11
11
  import { Await, ClientOnly } from "@tanstack/react-router";
12
12
  import type { SectionOptions } from "@decocms/blocks/cms/client";
13
13
  import {
14
+ getDeferredRootMargin,
14
15
  getDeferredTrigger,
15
16
  getResolvedComponent,
16
17
  getSectionOptions,
@@ -380,7 +381,7 @@ function DeferredSectionWrapper({
380
381
  load();
381
382
  }
382
383
  },
383
- { rootMargin: "300px" },
384
+ { rootMargin: getDeferredRootMargin() },
384
385
  );
385
386
  observer.observe(el);
386
387
  };