superdoc 2.4.0-next.29 → 2.4.0-next.30
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/README.md +2 -2
- package/dist/collaboration-upgrade-engine.cjs +1 -1
- package/dist/collaboration-upgrade-engine.es.js +1 -1
- package/dist/layout-engine/painters/dom/src/runs/text-run.d.ts +6 -4
- 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
package/README.md
CHANGED
|
@@ -86,7 +86,7 @@ claude mcp add superdoc -- npx @superdoc/mcp # connect agent to DOCX file
|
|
|
86
86
|
|
|
87
87
|
## Contributing
|
|
88
88
|
|
|
89
|
-
Check the [issue tracker](https://github.com/superdoc/docx-editor/issues) for open issues, or read the [Contributing Guide](
|
|
89
|
+
Check the [issue tracker](https://github.com/superdoc/docx-editor/issues) for open issues, or read the [Contributing Guide](https://github.com/superdoc/docx-editor/blob/main/CONTRIBUTING.md) to get started. Bug reports with reproduction .docx files are especially valuable.
|
|
90
90
|
|
|
91
91
|
## Community
|
|
92
92
|
|
|
@@ -100,4 +100,4 @@ Check the [issue tracker](https://github.com/superdoc/docx-editor/issues) for op
|
|
|
100
100
|
|
|
101
101
|
---
|
|
102
102
|
|
|
103
|
-
Created and maintained by [
|
|
103
|
+
Created and maintained by [SuperDoc](https://www.superdoc.dev).
|
|
@@ -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.4.0-next.
|
|
22
|
+
superdocVersion: "2.4.0-next.30",
|
|
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.4.0-next.
|
|
21
|
+
superdocVersion: "2.4.0-next.30",
|
|
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
|
|
@@ -15,6 +15,11 @@ import { RunRenderContext, TrackedChangesRenderConfig } from './types.js';
|
|
|
15
15
|
* makes the tab border and the text underline rasterize to the same line weight.
|
|
16
16
|
*/
|
|
17
17
|
export declare const underlineThicknessPx: (fontSize: number) => number;
|
|
18
|
+
type ResolvePhysicalFont = (cssFontFamily: string, face: {
|
|
19
|
+
weight: '400' | '700';
|
|
20
|
+
style: 'normal' | 'italic';
|
|
21
|
+
}) => string;
|
|
22
|
+
export declare const applyRunTypographyStyles: (element: HTMLElement, run: TextRun, resolvePhysical?: ResolvePhysicalFont) => void;
|
|
18
23
|
/**
|
|
19
24
|
* Applies run styling properties to a DOM element.
|
|
20
25
|
*
|
|
@@ -25,10 +30,7 @@ export declare const underlineThicknessPx: (fontSize: number) => number;
|
|
|
25
30
|
* inline colors are now applied to all runs (including links) to
|
|
26
31
|
* ensure OOXML hyperlink character styles appear correctly.
|
|
27
32
|
*/
|
|
28
|
-
export declare const applyRunStyles: (element: HTMLElement, run: Run, _isLink?: boolean, resolvePhysical?:
|
|
29
|
-
weight: "400" | "700";
|
|
30
|
-
style: "normal" | "italic";
|
|
31
|
-
}) => string) => void;
|
|
33
|
+
export declare const applyRunStyles: (element: HTMLElement, run: Run, _isLink?: boolean, resolvePhysical?: ResolvePhysicalFont) => void;
|
|
32
34
|
export declare const resolveRunText: (run: Run, context: FragmentRenderContext) => string;
|
|
33
35
|
export declare const extractLinkData: (run: Run) => import('./types.js').LinkRenderData | null;
|
|
34
36
|
export declare const renderTextRun: (run: TextRun, context: FragmentRenderContext, renderContext: RunRenderContext, trackedConfig?: TrackedChangesRenderConfig) => HTMLElement | null;
|
package/dist/superdoc.cjs
CHANGED
|
@@ -43235,7 +43235,7 @@ var SuperDoc = class extends require_eventemitter3.import_eventemitter3.default
|
|
|
43235
43235
|
this.config.colors = shuffleArray(this.config.colors);
|
|
43236
43236
|
this.userColorMap = /* @__PURE__ */ new Map();
|
|
43237
43237
|
this.colorIndex = 0;
|
|
43238
|
-
this.version = "2.4.0-next.
|
|
43238
|
+
this.version = "2.4.0-next.30";
|
|
43239
43239
|
this.#log("🦋 [superdoc] Using SuperDoc version:", this.version);
|
|
43240
43240
|
this.superdocId = config.superdocId || require_uuid.v4();
|
|
43241
43241
|
this.colors = this.config.colors ?? [];
|
package/dist/superdoc.es.js
CHANGED
|
@@ -43168,7 +43168,7 @@ var SuperDoc = class extends import_eventemitter3.default {
|
|
|
43168
43168
|
this.config.colors = shuffleArray(this.config.colors);
|
|
43169
43169
|
this.userColorMap = /* @__PURE__ */ new Map();
|
|
43170
43170
|
this.colorIndex = 0;
|
|
43171
|
-
this.version = "2.4.0-next.
|
|
43171
|
+
this.version = "2.4.0-next.30";
|
|
43172
43172
|
this.#log("🦋 [superdoc] Using SuperDoc version:", this.version);
|
|
43173
43173
|
this.superdocId = config.superdocId || v4();
|
|
43174
43174
|
this.colors = this.config.colors ?? [];
|