uhuu-components 0.3.7 → 0.3.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/index.d.ts CHANGED
@@ -941,4 +941,11 @@ export const Static: {
941
941
  /** Physical sheet size incl. bleed; the wide cover sheet when `binding.spine > 0`. */
942
942
  resolveSheetSize: (input?: CoverSpreadPageInput) => CoverSheetSize | null;
943
943
  CoverSpread: ComponentType<StaticCoverSpreadProps>;
944
+ /**
945
+ * Keeps `data-uhuu-pagination` at `measuring` while `pending` is true (the default), for
946
+ * template work the package cannot see: a map, a chart, data a page fetches. Every flow is
947
+ * measured again when it clears. After 10 s a console warning names `label` and the document
948
+ * stops waiting.
949
+ */
950
+ usePaginationHold: (pending?: boolean, label?: string) => void;
944
951
  };
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.3.7",
2
+ "version": "0.3.8",
3
3
  "name": "uhuu-components",
4
4
  "main": "uhuu-components.umd.cjs",
5
5
  "module": "uhuu-components.es.js",
@@ -15,14 +15,15 @@
15
15
  }
16
16
  },
17
17
  "license": "https://uhuu.io/license",
18
+ "scripts": {
19
+ "prepublishOnly": "node verify-release.cjs"
20
+ },
18
21
  "files": [
19
22
  "uhuu-components.es.js",
20
23
  "uhuu-components.es.js.map",
21
24
  "uhuu-components.umd.cjs",
22
25
  "uhuu-components.umd.cjs.map",
23
- "index.d.ts",
24
- "README.md",
25
- "CHANGELOG.md"
26
+ "index.d.ts"
26
27
  ],
27
28
  "peerDependencies": {
28
29
  "react": "^18.0.0 || ^19.0.0",