superdoc 2.5.0 → 2.6.0-next.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/dist/collaboration-upgrade-engine.cjs +1 -1
- package/dist/collaboration-upgrade-engine.es.js +1 -1
- package/dist/layout-engine/layout-engine/src/layout-paragraph.d.ts +7 -0
- package/dist/superdoc.cjs +1 -1
- package/dist/superdoc.es.js +1 -1
- package/dist-cdn/superdoc.min.js +2 -2
- package/package.json +2 -2
|
@@ -19,7 +19,7 @@ var COLLABORATION_UPGRADE_ENGINE_MINIMUM_NODE_MAJOR = 20;
|
|
|
19
19
|
var PRIVATE_ENGINE_INFO = (0, _superdoc_docx_engine_collaboration_upgrade_engine.getCollaborationUpgradeEngineInfo)();
|
|
20
20
|
var ENGINE_INFO = Object.freeze({
|
|
21
21
|
...PRIVATE_ENGINE_INFO,
|
|
22
|
-
superdocVersion: "2.
|
|
22
|
+
superdocVersion: "2.6.0-next.1",
|
|
23
23
|
roomSchemaVersion: Object.freeze({ ...PRIVATE_ENGINE_INFO.roomSchemaVersion }),
|
|
24
24
|
supportedBundleVersions: SUPPORTED_COLLABORATION_UPGRADE_BUNDLE_VERSIONS,
|
|
25
25
|
supportedV1ReaderContractVersions: SUPPORTED_V1_READER_CONTRACT_VERSIONS
|
|
@@ -18,7 +18,7 @@ var COLLABORATION_UPGRADE_ENGINE_MINIMUM_NODE_MAJOR = 20;
|
|
|
18
18
|
var PRIVATE_ENGINE_INFO = getCollaborationUpgradeEngineInfo$1();
|
|
19
19
|
var ENGINE_INFO = Object.freeze({
|
|
20
20
|
...PRIVATE_ENGINE_INFO,
|
|
21
|
-
superdocVersion: "2.
|
|
21
|
+
superdocVersion: "2.6.0-next.1",
|
|
22
22
|
roomSchemaVersion: Object.freeze({ ...PRIVATE_ENGINE_INFO.roomSchemaVersion }),
|
|
23
23
|
supportedBundleVersions: SUPPORTED_COLLABORATION_UPGRADE_BUNDLE_VERSIONS,
|
|
24
24
|
supportedV1ReaderContractVersions: SUPPORTED_V1_READER_CONTRACT_VERSIONS
|
|
@@ -71,6 +71,13 @@ export type ParagraphLayoutContext = {
|
|
|
71
71
|
* vertical layout height.
|
|
72
72
|
*/
|
|
73
73
|
layoutOnlyAnchorCarrier?: boolean;
|
|
74
|
+
/**
|
|
75
|
+
* Keep positioned objects on the page that owns this zero-height carrier.
|
|
76
|
+
* A carrier immediately before a forcing sectPr belongs to the preceding
|
|
77
|
+
* section; moving its object for page-fit would insert an extra page before
|
|
78
|
+
* the section break and detach it from its authored paragraph anchor.
|
|
79
|
+
*/
|
|
80
|
+
preserveAnchorCarrierPage?: boolean;
|
|
74
81
|
/**
|
|
75
82
|
* True when a split line-break carrier carries paragraph spacing that should
|
|
76
83
|
* remain in the flow. The carrier reserves one line plus spacing instead of
|
package/dist/superdoc.cjs
CHANGED
|
@@ -43277,7 +43277,7 @@ var SuperDoc = class extends require_eventemitter3.import_eventemitter3.default
|
|
|
43277
43277
|
this.config.colors = shuffleArray(this.config.colors);
|
|
43278
43278
|
this.userColorMap = /* @__PURE__ */ new Map();
|
|
43279
43279
|
this.colorIndex = 0;
|
|
43280
|
-
this.version = "2.
|
|
43280
|
+
this.version = "2.6.0-next.1";
|
|
43281
43281
|
this.#log("🦋 [superdoc] Using SuperDoc version:", this.version);
|
|
43282
43282
|
this.superdocId = config.superdocId || require_uuid.v4();
|
|
43283
43283
|
this.colors = this.config.colors ?? [];
|
package/dist/superdoc.es.js
CHANGED
|
@@ -43210,7 +43210,7 @@ var SuperDoc = class extends import_eventemitter3.default {
|
|
|
43210
43210
|
this.config.colors = shuffleArray(this.config.colors);
|
|
43211
43211
|
this.userColorMap = /* @__PURE__ */ new Map();
|
|
43212
43212
|
this.colorIndex = 0;
|
|
43213
|
-
this.version = "2.
|
|
43213
|
+
this.version = "2.6.0-next.1";
|
|
43214
43214
|
this.#log("🦋 [superdoc] Using SuperDoc version:", this.version);
|
|
43215
43215
|
this.superdocId = config.superdocId || v4();
|
|
43216
43216
|
this.colors = this.config.colors ?? [];
|