superdoc 2.23.0-next.16 → 2.23.0-next.17

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.
@@ -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.23.0-next.16",
22
+ superdocVersion: "2.23.0-next.17",
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.23.0-next.16",
21
+ superdocVersion: "2.23.0-next.17",
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
@@ -222,6 +222,8 @@ export interface SDPasteTableCell {
222
222
  blocks: readonly SDPasteParagraphBlock[];
223
223
  /** Horizontal merge span (colspan). */
224
224
  gridSpan?: number;
225
+ /** Vertical merge carrier: start a merged cell or continue the preceding row's merge. */
226
+ vMerge?: 'restart' | 'continue';
225
227
  /** Direct cell shading fill as canonical hex RRGGBB. */
226
228
  shadingColor?: string;
227
229
  /** Direct cell padding in points. At least one side must be present. */
@@ -274,6 +276,12 @@ export interface SDPasteTableBlock {
274
276
  blockSdts?: readonly SDPasteBlockSdt[];
275
277
  /** Direct between-cell spacing in points (not cell padding). */
276
278
  cellSpacingPt?: number;
279
+ /**
280
+ * Positive finite relative shares for the table's grid columns. The shares
281
+ * scale to the destination section's content width, rather than source page
282
+ * dimensions. One share is required per grid column when supplied.
283
+ */
284
+ columnWidthShares?: readonly number[];
277
285
  rows: readonly SDPasteTableRow[];
278
286
  sourcePath?: readonly (string | number)[];
279
287
  }
package/dist/superdoc.cjs CHANGED
@@ -304,7 +304,7 @@ var awarenessStatesToArray = (context, states) => {
304
304
  var DEFAULT_ENDPOINT = "https://ingest.superdoc.dev/v1/collect";
305
305
  function getSuperdocVersion() {
306
306
  try {
307
- return "2.23.0-next.16";
307
+ return "2.23.0-next.17";
308
308
  } catch {
309
309
  return "unknown";
310
310
  }
@@ -46469,7 +46469,7 @@ var SuperDoc = class extends require_eventemitter3.import_eventemitter3.default
46469
46469
  }
46470
46470
  this.userColorMap = /* @__PURE__ */ new Map();
46471
46471
  this.colorIndex = 0;
46472
- this.version = "2.23.0-next.16";
46472
+ this.version = "2.23.0-next.17";
46473
46473
  this.#log("🦋 [superdoc] Using SuperDoc version:", this.version);
46474
46474
  this.superdocId = config.superdocId || require_uuid.v4();
46475
46475
  this.colors = this.config.colors ?? [];
@@ -302,7 +302,7 @@ var awarenessStatesToArray = (context, states) => {
302
302
  var DEFAULT_ENDPOINT = "https://ingest.superdoc.dev/v1/collect";
303
303
  function getSuperdocVersion() {
304
304
  try {
305
- return "2.23.0-next.16";
305
+ return "2.23.0-next.17";
306
306
  } catch {
307
307
  return "unknown";
308
308
  }
@@ -46398,7 +46398,7 @@ var SuperDoc = class extends import_eventemitter3.default {
46398
46398
  }
46399
46399
  this.userColorMap = /* @__PURE__ */ new Map();
46400
46400
  this.colorIndex = 0;
46401
- this.version = "2.23.0-next.16";
46401
+ this.version = "2.23.0-next.17";
46402
46402
  this.#log("🦋 [superdoc] Using SuperDoc version:", this.version);
46403
46403
  this.superdocId = config.superdocId || v4();
46404
46404
  this.colors = this.config.colors ?? [];