@beyondwork/docx-react-component 1.0.91 → 1.0.92
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/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@beyondwork/docx-react-component",
|
|
3
3
|
"publisher": "beyondwork",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.92",
|
|
5
5
|
"description": "Embeddable React Word (docx) editor with review, comments, tracked changes, and round-trip OOXML fidelity.",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"sideEffects": [
|
|
@@ -138,6 +138,7 @@ import {
|
|
|
138
138
|
type TwProseMirrorSurfaceRef,
|
|
139
139
|
} from "../ui-tailwind/editor-surface/tw-prosemirror-surface";
|
|
140
140
|
import { TwInlineFindBar } from "../ui-tailwind/chrome/tw-inline-find-bar";
|
|
141
|
+
import { PAGE_CHROME_DEFAULTS } from "../ui-tailwind/editor-surface/pm-page-break-decorations.ts";
|
|
141
142
|
import type { MediaPreviewDescriptor } from "../ui-tailwind/editor-surface/pm-state-from-snapshot";
|
|
142
143
|
import {
|
|
143
144
|
incrementInvalidationCounter,
|
|
@@ -3753,7 +3754,7 @@ export const WordReviewEditor = forwardRef<WordReviewEditorRef, WordReviewEditor
|
|
|
3753
3754
|
geometryFacet={activeRuntime.geometry}
|
|
3754
3755
|
pageChromeHeaderBandPx={isPageWorkspace ? 32 : 0}
|
|
3755
3756
|
pageChromeFooterBandPx={isPageWorkspace ? 32 : 0}
|
|
3756
|
-
pageChromeInterGapPx={
|
|
3757
|
+
pageChromeInterGapPx={PAGE_CHROME_DEFAULTS.interGapPx}
|
|
3757
3758
|
onOpenHeaderStoryForPage={(pageIndex: number) =>
|
|
3758
3759
|
openStoryForPage(activeRuntime, pageIndex, "header")
|
|
3759
3760
|
}
|
|
@@ -340,7 +340,7 @@ export interface TwProseMirrorSurfaceProps {
|
|
|
340
340
|
pageChromeHeaderBandPx?: number;
|
|
341
341
|
/** Height in px of each page's footer band. Default 32. */
|
|
342
342
|
pageChromeFooterBandPx?: number;
|
|
343
|
-
/** Visible vertical gap between adjacent pages. Default
|
|
343
|
+
/** Visible vertical gap between adjacent pages. Default 48 to match the render kernel. */
|
|
344
344
|
pageChromeInterGapPx?: number;
|
|
345
345
|
/**
|
|
346
346
|
* Revision counter; incremented by the host to trigger a decoration
|