wordinweb 0.3.4 → 0.3.5

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/collab.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { ReactNode } from 'react';
2
- import { X as XmlElement, D as DocxDocument, C as ClientMessage, S as ServerMessage, P as PresencePosition, R as RosterEntry, a as ParticipantProfile, I as Intent, b as IdSidecar, L as LineageHead, T as ToolbarFeature, c as ToolbarMode, d as DocxViewApi, M as MissingFont, W as WriteStatus, U as UndoOutcome } from './index-DudQb7f0.js';
3
- export { e as bytesToB64, f as deriveEpochKeys, g as docKeyFromFragment, m as mintDocKey, s as sealCheckpoint, h as stretchShareCode } from './index-DudQb7f0.js';
2
+ import { X as XmlElement, D as DocxDocument, C as ClientMessage, S as ServerMessage, P as PresencePosition, R as RosterEntry, a as ParticipantProfile, I as Intent, b as IdSidecar, L as LineageHead, T as ToolbarFeature, c as ToolbarMode, d as DocxViewApi, M as MissingFont, W as WriteStatus, U as UndoOutcome } from './index-BunX2duN.js';
3
+ export { e as bytesToB64, f as deriveEpochKeys, g as docKeyFromFragment, m as mintDocKey, s as sealCheckpoint, h as stretchShareCode } from './index-BunX2duN.js';
4
4
 
5
5
  /**
6
6
  * How much of the document an applied intent disturbed — the input to
package/dist/collab.js CHANGED
@@ -90,7 +90,7 @@ import {
90
90
  suggestMeta,
91
91
  validatePastedOoxml,
92
92
  validateRegisteredOperation
93
- } from "./chunk-PZIJZDQ7.js";
93
+ } from "./chunk-QU3LB5BC.js";
94
94
  import "./chunk-7D4SUZUM.js";
95
95
 
96
96
  // src/collab.tsx
@@ -950,6 +950,8 @@ interface Paragraph {
950
950
  interface TableCellProps {
951
951
  /** Preferred width px (from tcW when dxa). */
952
952
  width?: number;
953
+ /** Preferred width as a fraction of the table width (from tcW when pct). */
954
+ widthPct?: number;
953
955
  /** The source explicitly declares tcW type="auto" (distinct from no tcW). */
954
956
  widthAuto?: boolean;
955
957
  gridSpan: number;
@@ -2011,7 +2013,7 @@ declare class DocxDocument {
2011
2013
  * the skeleton can say "fetching" versus "nobody online has this yet".
2012
2014
  * Written by the media transfer layer, read by the renderer; never part of
2013
2015
  * the document's identity and never serialized. */
2014
- readonly mediaTransferState: Map<string, "waiting" | "fetching" | "unavailable">;
2016
+ readonly mediaTransferState: Map<string, "unavailable" | "fetching" | "waiting">;
2015
2017
  /** Per-part media metadata that PERSISTS after install (doc 16 §5.3):
2016
2018
  * holder duty needs the sha (and E2EE iv/epoch) of READY parts to answer
2017
2019
  * re-supply requests; pendingMedia above only tracks not-yet-arrived. */
package/dist/index.d.ts CHANGED
@@ -1,2 +1,2 @@
1
1
  import 'react';
2
- export { A as AgentDocumentViewBinding, i as COLLAB_IMAGE_EXTS, j as CompareResult, k as CompareWithFileOptions, l as CoverPageContent, D as DocxDocument, n as DocxToolbar, o as DocxToolbarProps, p as DocxView, d as DocxViewApi, q as DocxViewProps, r as DrawingTool, E as EncodedCaret, H as HostShortcutSection, t as INSERT_COMMANDS, u as ImageInsertResult, v as InsertCommandSpec, w as LineNumberingPatch, x as MergeRecord, N as NUMBERING_PRESETS, y as NumberingPresetId, z as PageLayoutPatch, B as ParagraphAlignment, F as RASTER_IMAGE_ACCEPT, G as RunFormatPatch, J as ScreenshotInsertResult, K as SelectionFormat, O as ShapePreset, T as ToolbarFeature, Q as ToolbarMenuSelect, V as ToolbarMenuSelectOption, Y as ToolbarMenuSelectProps, c as ToolbarMode, Z as WireRange, _ as compareWithFile, $ as comparedName, a0 as downloadDocx, a1 as layoutDocument, a2 as pickAndCompare, a3 as pickDocx, a4 as printPages, a5 as renderForPrint, a6 as renderToDom, a7 as useAgentDocumentSession } from './index-DudQb7f0.js';
2
+ export { A as AgentDocumentViewBinding, i as COLLAB_IMAGE_EXTS, j as CompareResult, k as CompareWithFileOptions, l as CoverPageContent, D as DocxDocument, n as DocxToolbar, o as DocxToolbarProps, p as DocxView, d as DocxViewApi, q as DocxViewProps, r as DrawingTool, E as EncodedCaret, H as HostShortcutSection, t as INSERT_COMMANDS, u as ImageInsertResult, v as InsertCommandSpec, w as LineNumberingPatch, x as MergeRecord, N as NUMBERING_PRESETS, y as NumberingPresetId, z as PageLayoutPatch, B as ParagraphAlignment, F as RASTER_IMAGE_ACCEPT, G as RunFormatPatch, J as ScreenshotInsertResult, K as SelectionFormat, O as ShapePreset, T as ToolbarFeature, Q as ToolbarMenuSelect, V as ToolbarMenuSelectOption, Y as ToolbarMenuSelectProps, c as ToolbarMode, Z as WireRange, _ as compareWithFile, $ as comparedName, a0 as downloadDocx, a1 as layoutDocument, a2 as pickAndCompare, a3 as pickDocx, a4 as printPages, a5 as renderForPrint, a6 as renderToDom, a7 as useAgentDocumentSession } from './index-BunX2duN.js';
package/dist/index.js CHANGED
@@ -17,7 +17,7 @@ import {
17
17
  renderForPrint,
18
18
  renderToDom,
19
19
  useAgentDocumentSession
20
- } from "./chunk-PZIJZDQ7.js";
20
+ } from "./chunk-QU3LB5BC.js";
21
21
  import "./chunk-7D4SUZUM.js";
22
22
  export {
23
23
  COLLAB_IMAGE_EXTS,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wordinweb",
3
- "version": "0.3.4",
3
+ "version": "0.3.5",
4
4
  "description": "React component for high-fidelity DOCX viewing and editing",
5
5
  "license": "MIT",
6
6
  "repository": {