@beyondwork/docx-react-component 1.0.122 → 1.0.123

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.
Files changed (102) hide show
  1. package/dist/api/public-types.cjs +318 -32
  2. package/dist/api/public-types.d.cts +2 -2
  3. package/dist/api/public-types.d.ts +2 -2
  4. package/dist/api/public-types.js +3 -3
  5. package/dist/api/v3.cjs +349 -62
  6. package/dist/api/v3.d.cts +3 -3
  7. package/dist/api/v3.d.ts +3 -3
  8. package/dist/api/v3.js +10 -10
  9. package/dist/{canonical-document-ByIqTd4s.d.cts → canonical-document-CG2TgAzj.d.cts} +1 -1
  10. package/dist/{canonical-document-ByIqTd4s.d.ts → canonical-document-CG2TgAzj.d.ts} +1 -1
  11. package/dist/{chunk-B4YHWFE3.js → chunk-32ZAOQ54.js} +1 -1
  12. package/dist/{chunk-QNGJRZ2D.js → chunk-4IPEZYQX.js} +1 -1
  13. package/dist/{chunk-3OFSP2IX.js → chunk-BOHHIVQ2.js} +3 -3
  14. package/dist/{chunk-EMDH4IQN.js → chunk-E5IBDE5E.js} +4 -3
  15. package/dist/{chunk-TFSXOIAI.js → chunk-FNWKE74J.js} +43 -3
  16. package/dist/{chunk-IT2DK3A7.js → chunk-H2YQKA55.js} +9 -7
  17. package/dist/{chunk-3TUQCHYT.js → chunk-H6IL5ABU.js} +47 -7
  18. package/dist/{chunk-GON2DNTE.js → chunk-HXHQA4BU.js} +1 -1
  19. package/dist/{chunk-3OHVK2D6.js → chunk-IR7QV2BX.js} +17 -1
  20. package/dist/{chunk-ZKSDVHGH.js → chunk-KOHQFZMM.js} +1 -1
  21. package/dist/{chunk-XVFENXLK.js → chunk-LGWNN3L2.js} +2 -2
  22. package/dist/{chunk-TMU7JMXX.js → chunk-MB7RJBSN.js} +9 -21
  23. package/dist/{chunk-UWDWGQH5.js → chunk-ML4A4WUN.js} +1 -1
  24. package/dist/{chunk-GZW2ERUO.js → chunk-N4VIXI2Z.js} +3 -3
  25. package/dist/{chunk-S4ANOS2M.js → chunk-NNPVA5VL.js} +2 -2
  26. package/dist/{chunk-QFU7ZOAD.js → chunk-PFYUJU3Q.js} +176 -36
  27. package/dist/{chunk-37SEJQ3G.js → chunk-RSYN6FTS.js} +2 -2
  28. package/dist/{chunk-OBCP6VTG.js → chunk-RWERZWHR.js} +1 -1
  29. package/dist/{chunk-UHQOUTAX.js → chunk-SGSJ4DQA.js} +377 -50
  30. package/dist/{chunk-PCXTMEGY.js → chunk-UHJLCPLU.js} +24 -14
  31. package/dist/{chunk-G3B2OBCZ.js → chunk-ZRHLLPSJ.js} +271 -26
  32. package/dist/compare.d.cts +1 -1
  33. package/dist/compare.d.ts +1 -1
  34. package/dist/core/commands/formatting-commands.d.cts +2 -2
  35. package/dist/core/commands/formatting-commands.d.ts +2 -2
  36. package/dist/core/commands/image-commands.cjs +50 -9
  37. package/dist/core/commands/image-commands.d.cts +2 -2
  38. package/dist/core/commands/image-commands.d.ts +2 -2
  39. package/dist/core/commands/image-commands.js +5 -5
  40. package/dist/core/commands/section-layout-commands.d.cts +2 -2
  41. package/dist/core/commands/section-layout-commands.d.ts +2 -2
  42. package/dist/core/commands/style-commands.d.cts +2 -2
  43. package/dist/core/commands/style-commands.d.ts +2 -2
  44. package/dist/core/commands/table-structure-commands.cjs +50 -9
  45. package/dist/core/commands/table-structure-commands.d.cts +2 -2
  46. package/dist/core/commands/table-structure-commands.d.ts +2 -2
  47. package/dist/core/commands/table-structure-commands.js +4 -4
  48. package/dist/core/commands/text-commands.cjs +66 -9
  49. package/dist/core/commands/text-commands.d.cts +3 -2
  50. package/dist/core/commands/text-commands.d.ts +3 -2
  51. package/dist/core/commands/text-commands.js +5 -5
  52. package/dist/core/selection/mapping.d.cts +2 -2
  53. package/dist/core/selection/mapping.d.ts +2 -2
  54. package/dist/core/state/editor-state.d.cts +2 -2
  55. package/dist/core/state/editor-state.d.ts +2 -2
  56. package/dist/index.cjs +1196 -197
  57. package/dist/index.d.cts +5 -5
  58. package/dist/index.d.ts +5 -5
  59. package/dist/index.js +278 -85
  60. package/dist/io/docx-session.cjs +10 -21
  61. package/dist/io/docx-session.d.cts +4 -4
  62. package/dist/io/docx-session.d.ts +4 -4
  63. package/dist/io/docx-session.js +4 -4
  64. package/dist/legal.cjs +8 -20
  65. package/dist/legal.d.cts +1 -1
  66. package/dist/legal.d.ts +1 -1
  67. package/dist/legal.js +3 -3
  68. package/dist/{loader-BF8ju_LK.d.ts → loader-D9KCtj4m.d.cts} +4 -22
  69. package/dist/{loader-g54WRvj1.d.cts → loader-D9y4ZRjj.d.ts} +4 -22
  70. package/dist/{public-types-Dl1jiWjk.d.ts → public-types-CNnMHZM9.d.ts} +263 -213
  71. package/dist/{public-types-D_y4Ptcj.d.cts → public-types-DajNGKV4.d.cts} +263 -213
  72. package/dist/public-types.cjs +318 -32
  73. package/dist/public-types.d.cts +2 -2
  74. package/dist/public-types.d.ts +2 -2
  75. package/dist/public-types.js +3 -3
  76. package/dist/runtime/collab.d.cts +3 -3
  77. package/dist/runtime/collab.d.ts +3 -3
  78. package/dist/runtime/document-runtime.cjs +752 -77
  79. package/dist/runtime/document-runtime.d.cts +2 -2
  80. package/dist/runtime/document-runtime.d.ts +2 -2
  81. package/dist/runtime/document-runtime.js +14 -14
  82. package/dist/{session-C1EPAkcI.d.ts → session-DEmaOEjA.d.ts} +3 -3
  83. package/dist/{session-D15QOO0Q.d.cts → session-DyQGlryH.d.cts} +3 -3
  84. package/dist/session.cjs +12 -618
  85. package/dist/session.d.cts +5 -5
  86. package/dist/session.d.ts +5 -5
  87. package/dist/session.js +7 -9
  88. package/dist/tailwind.cjs +489 -63
  89. package/dist/tailwind.d.cts +2 -2
  90. package/dist/tailwind.d.ts +2 -2
  91. package/dist/tailwind.js +7 -7
  92. package/dist/{types-BoSRp2Vg.d.cts → types-CxE1aZiv.d.cts} +2 -2
  93. package/dist/{types-DEvRwq9C.d.ts → types-DjJNaE9c.d.ts} +2 -2
  94. package/dist/ui-tailwind/editor-surface/search-plugin.d.cts +3 -3
  95. package/dist/ui-tailwind/editor-surface/search-plugin.d.ts +3 -3
  96. package/dist/ui-tailwind/editor-surface/search-plugin.js +4 -4
  97. package/dist/ui-tailwind/theme/tokens.css +387 -0
  98. package/dist/ui-tailwind.cjs +489 -63
  99. package/dist/ui-tailwind.d.cts +3 -3
  100. package/dist/ui-tailwind.d.ts +3 -3
  101. package/dist/ui-tailwind.js +7 -7
  102. package/package.json +7 -3
@@ -1,11 +1,11 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { b$ as CommentSidebarSnapshot, ed as TrackedChangeEntrySnapshot, ee as TrackedChangesSnapshot, c4 as CompatibilityPanelSnapshot, cB as EditorWarning, dn as RuntimeContextAnalyticsSnapshot, eV as ScopeRailSegment, ek as WorkflowBlockedCommandReason, c1 as CommentSidebarThreadSnapshot, eI as WorkspaceMode, eJ as ZoomLevel, eW as ChromePinSurface, eX as PinState, eY as FormattingAlignment, I as InsertTableOptions, dG as SectionBreakType, eZ as InsertImageOptions, dH as SectionLayoutPatch, dI as SectionPageNumberingPatch, cF as HeaderFooterLinkPatch, cx as EditorStoryTarget, R as RuntimeRenderSnapshot, cA as EditorViewStateSnapshot, e_ as SessionCapabilities, e$ as WordReviewEditorLayoutFacet, f0 as GeometryFacet, f1 as WorkflowFacet, f2 as EditorActionHostCallbacks, f3 as TwWorkspaceChromeHostController, f4 as FormattingStateSnapshot, bf as ActiveListContext, dT as StyleCatalogSnapshot, eG as WorkflowScopeSnapshot, cL as InteractionGuardSnapshot, eh as WordReviewEditorChromePreset, eg as WordReviewEditorChromeOptions, bF as CollabSession, b7 as TransportStatus, de as ReviewQueueSnapshot, f5 as UiObjectDragStartInput, f6 as UiObjectDragSession, f7 as ActiveSelectionToolModel, cd as DocumentNavigationSnapshot, f8 as TableStructureContextSnapshot, ei as WordReviewEditorChromeVisibility, f9 as EditorRole, eF as WorkflowScopeMode, dB as ScopeIssueAction, ck as EditorAnchorProjection, cz as EditorUser, h as SelectionSnapshot, dX as SurfaceBlockSnapshot, dY as SurfaceInlineSegment, bZ as CommentPresentationSnapshot, bO as CommentBody, bQ as CommentMention, bM as CommentAttachment, fa as ToolbarChromeItemId, fb as ToolbarChromePlacement, dJ as SelectionToolKind, fc as ScopeRailPosture, fd as ChromePinsState, fe as PublicMeasurementFidelity, ff as FormattingInlineSelectionToolModel, b9 as PresenceSnapshot, b8 as CollabPosture, bN as CommentAudience, cU as MetadataIntegrity, bT as CommentNegotiationEntry, c_ as NegotiationRole, bR as CommentNegotiationAction, d0 as PageLayoutSnapshot, fg as EditableTargetRef } from './public-types-D_y4Ptcj.cjs';
3
- export { fh as deriveCapabilities } from './public-types-D_y4Ptcj.cjs';
2
+ import { b$ as CommentSidebarSnapshot, ed as TrackedChangeEntrySnapshot, ee as TrackedChangesSnapshot, c4 as CompatibilityPanelSnapshot, cB as EditorWarning, dn as RuntimeContextAnalyticsSnapshot, eV as ScopeRailSegment, ek as WorkflowBlockedCommandReason, c1 as CommentSidebarThreadSnapshot, eI as WorkspaceMode, eJ as ZoomLevel, eW as ChromePinSurface, eX as PinState, eY as FormattingAlignment, I as InsertTableOptions, dG as SectionBreakType, eZ as InsertImageOptions, dH as SectionLayoutPatch, dI as SectionPageNumberingPatch, cF as HeaderFooterLinkPatch, cx as EditorStoryTarget, R as RuntimeRenderSnapshot, cA as EditorViewStateSnapshot, e_ as SessionCapabilities, e$ as WordReviewEditorLayoutFacet, f0 as GeometryFacet, f1 as WorkflowFacet, f2 as EditorActionHostCallbacks, f3 as TwWorkspaceChromeHostController, f4 as FormattingStateSnapshot, bf as ActiveListContext, dT as StyleCatalogSnapshot, eG as WorkflowScopeSnapshot, cL as InteractionGuardSnapshot, eh as WordReviewEditorChromePreset, eg as WordReviewEditorChromeOptions, bF as CollabSession, b7 as TransportStatus, de as ReviewQueueSnapshot, f5 as UiObjectDragStartInput, f6 as UiObjectDragSession, f7 as ActiveSelectionToolModel, cd as DocumentNavigationSnapshot, f8 as TableStructureContextSnapshot, ei as WordReviewEditorChromeVisibility, f9 as EditorRole, eF as WorkflowScopeMode, dB as ScopeIssueAction, ck as EditorAnchorProjection, cz as EditorUser, h as SelectionSnapshot, dX as SurfaceBlockSnapshot, dY as SurfaceInlineSegment, bZ as CommentPresentationSnapshot, bO as CommentBody, bQ as CommentMention, bM as CommentAttachment, fa as ToolbarChromeItemId, fb as ToolbarChromePlacement, dJ as SelectionToolKind, fc as ScopeRailPosture, fd as ChromePinsState, fe as PublicMeasurementFidelity, ff as FormattingInlineSelectionToolModel, b9 as PresenceSnapshot, b8 as CollabPosture, bN as CommentAudience, cU as MetadataIntegrity, bT as CommentNegotiationEntry, c_ as NegotiationRole, bR as CommentNegotiationAction, d0 as PageLayoutSnapshot, fg as EditableTargetRef } from './public-types-DajNGKV4.cjs';
3
+ export { fh as deriveCapabilities } from './public-types-DajNGKV4.cjs';
4
4
  import * as React$1 from 'react';
5
5
  import React__default, { ReactNode, FocusEventHandler, Ref, KeyboardEvent as KeyboardEvent$1 } from 'react';
6
6
  import 'yjs';
7
7
  import 'y-protocols/awareness';
8
- import './canonical-document-ByIqTd4s.cjs';
8
+ import './canonical-document-CG2TgAzj.cjs';
9
9
  import 'prosemirror-state';
10
10
  import 'prosemirror-model';
11
11
 
@@ -1,11 +1,11 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { b$ as CommentSidebarSnapshot, ed as TrackedChangeEntrySnapshot, ee as TrackedChangesSnapshot, c4 as CompatibilityPanelSnapshot, cB as EditorWarning, dn as RuntimeContextAnalyticsSnapshot, eV as ScopeRailSegment, ek as WorkflowBlockedCommandReason, c1 as CommentSidebarThreadSnapshot, eI as WorkspaceMode, eJ as ZoomLevel, eW as ChromePinSurface, eX as PinState, eY as FormattingAlignment, I as InsertTableOptions, dG as SectionBreakType, eZ as InsertImageOptions, dH as SectionLayoutPatch, dI as SectionPageNumberingPatch, cF as HeaderFooterLinkPatch, cx as EditorStoryTarget, R as RuntimeRenderSnapshot, cA as EditorViewStateSnapshot, e_ as SessionCapabilities, e$ as WordReviewEditorLayoutFacet, f0 as GeometryFacet, f1 as WorkflowFacet, f2 as EditorActionHostCallbacks, f3 as TwWorkspaceChromeHostController, f4 as FormattingStateSnapshot, bf as ActiveListContext, dT as StyleCatalogSnapshot, eG as WorkflowScopeSnapshot, cL as InteractionGuardSnapshot, eh as WordReviewEditorChromePreset, eg as WordReviewEditorChromeOptions, bF as CollabSession, b7 as TransportStatus, de as ReviewQueueSnapshot, f5 as UiObjectDragStartInput, f6 as UiObjectDragSession, f7 as ActiveSelectionToolModel, cd as DocumentNavigationSnapshot, f8 as TableStructureContextSnapshot, ei as WordReviewEditorChromeVisibility, f9 as EditorRole, eF as WorkflowScopeMode, dB as ScopeIssueAction, ck as EditorAnchorProjection, cz as EditorUser, h as SelectionSnapshot, dX as SurfaceBlockSnapshot, dY as SurfaceInlineSegment, bZ as CommentPresentationSnapshot, bO as CommentBody, bQ as CommentMention, bM as CommentAttachment, fa as ToolbarChromeItemId, fb as ToolbarChromePlacement, dJ as SelectionToolKind, fc as ScopeRailPosture, fd as ChromePinsState, fe as PublicMeasurementFidelity, ff as FormattingInlineSelectionToolModel, b9 as PresenceSnapshot, b8 as CollabPosture, bN as CommentAudience, cU as MetadataIntegrity, bT as CommentNegotiationEntry, c_ as NegotiationRole, bR as CommentNegotiationAction, d0 as PageLayoutSnapshot, fg as EditableTargetRef } from './public-types-Dl1jiWjk.js';
3
- export { fh as deriveCapabilities } from './public-types-Dl1jiWjk.js';
2
+ import { b$ as CommentSidebarSnapshot, ed as TrackedChangeEntrySnapshot, ee as TrackedChangesSnapshot, c4 as CompatibilityPanelSnapshot, cB as EditorWarning, dn as RuntimeContextAnalyticsSnapshot, eV as ScopeRailSegment, ek as WorkflowBlockedCommandReason, c1 as CommentSidebarThreadSnapshot, eI as WorkspaceMode, eJ as ZoomLevel, eW as ChromePinSurface, eX as PinState, eY as FormattingAlignment, I as InsertTableOptions, dG as SectionBreakType, eZ as InsertImageOptions, dH as SectionLayoutPatch, dI as SectionPageNumberingPatch, cF as HeaderFooterLinkPatch, cx as EditorStoryTarget, R as RuntimeRenderSnapshot, cA as EditorViewStateSnapshot, e_ as SessionCapabilities, e$ as WordReviewEditorLayoutFacet, f0 as GeometryFacet, f1 as WorkflowFacet, f2 as EditorActionHostCallbacks, f3 as TwWorkspaceChromeHostController, f4 as FormattingStateSnapshot, bf as ActiveListContext, dT as StyleCatalogSnapshot, eG as WorkflowScopeSnapshot, cL as InteractionGuardSnapshot, eh as WordReviewEditorChromePreset, eg as WordReviewEditorChromeOptions, bF as CollabSession, b7 as TransportStatus, de as ReviewQueueSnapshot, f5 as UiObjectDragStartInput, f6 as UiObjectDragSession, f7 as ActiveSelectionToolModel, cd as DocumentNavigationSnapshot, f8 as TableStructureContextSnapshot, ei as WordReviewEditorChromeVisibility, f9 as EditorRole, eF as WorkflowScopeMode, dB as ScopeIssueAction, ck as EditorAnchorProjection, cz as EditorUser, h as SelectionSnapshot, dX as SurfaceBlockSnapshot, dY as SurfaceInlineSegment, bZ as CommentPresentationSnapshot, bO as CommentBody, bQ as CommentMention, bM as CommentAttachment, fa as ToolbarChromeItemId, fb as ToolbarChromePlacement, dJ as SelectionToolKind, fc as ScopeRailPosture, fd as ChromePinsState, fe as PublicMeasurementFidelity, ff as FormattingInlineSelectionToolModel, b9 as PresenceSnapshot, b8 as CollabPosture, bN as CommentAudience, cU as MetadataIntegrity, bT as CommentNegotiationEntry, c_ as NegotiationRole, bR as CommentNegotiationAction, d0 as PageLayoutSnapshot, fg as EditableTargetRef } from './public-types-CNnMHZM9.js';
3
+ export { fh as deriveCapabilities } from './public-types-CNnMHZM9.js';
4
4
  import * as React$1 from 'react';
5
5
  import React__default, { ReactNode, FocusEventHandler, Ref, KeyboardEvent as KeyboardEvent$1 } from 'react';
6
6
  import 'yjs';
7
7
  import 'y-protocols/awareness';
8
- import './canonical-document-ByIqTd4s.js';
8
+ import './canonical-document-CG2TgAzj.js';
9
9
  import 'prosemirror-state';
10
10
  import 'prosemirror-model';
11
11
 
@@ -9,7 +9,7 @@ import {
9
9
  TwShellHeader,
10
10
  createEditorKeyboardHandler,
11
11
  renderTwCaret
12
- } from "./chunk-B4YHWFE3.js";
12
+ } from "./chunk-32ZAOQ54.js";
13
13
  import {
14
14
  CollabAudienceChip,
15
15
  CollabNegotiationActionBar,
@@ -47,17 +47,17 @@ import {
47
47
  selectionTouchesRange,
48
48
  shouldHideInCleanMode,
49
49
  useContainerBreakpoint
50
- } from "./chunk-QFU7ZOAD.js";
51
- import "./chunk-GZW2ERUO.js";
52
- import "./chunk-GON2DNTE.js";
50
+ } from "./chunk-PFYUJU3Q.js";
51
+ import "./chunk-N4VIXI2Z.js";
52
+ import "./chunk-HXHQA4BU.js";
53
53
  import {
54
54
  deriveCapabilities
55
- } from "./chunk-G3B2OBCZ.js";
55
+ } from "./chunk-ZRHLLPSJ.js";
56
56
  import "./chunk-KFCQYZXR.js";
57
57
  import "./chunk-QIO6V46H.js";
58
- import "./chunk-3TUQCHYT.js";
58
+ import "./chunk-H6IL5ABU.js";
59
59
  import "./chunk-OYGMRRR7.js";
60
- import "./chunk-TFSXOIAI.js";
60
+ import "./chunk-FNWKE74J.js";
61
61
  import "./chunk-UFVDIR2C.js";
62
62
  import "./chunk-PGGPPZ65.js";
63
63
  import "./chunk-DNXYUIIS.js";
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.122",
4
+ "version": "1.0.123",
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": [
@@ -121,7 +121,8 @@
121
121
  "import": "./dist/core/state/editor-state.js",
122
122
  "require": "./dist/core/state/editor-state.cjs"
123
123
  },
124
- "./ui-tailwind/theme/editor-theme.css": "./dist/ui-tailwind/theme/editor-theme.css"
124
+ "./ui-tailwind/theme/editor-theme.css": "./dist/ui-tailwind/theme/editor-theme.css",
125
+ "./ui-tailwind/theme/tokens.css": "./dist/ui-tailwind/theme/tokens.css"
125
126
  },
126
127
  "keywords": [
127
128
  "docx",
@@ -209,8 +210,11 @@
209
210
  },
210
211
  "scripts": {
211
212
  "build": "NODE_OPTIONS=--max-old-space-size=8192 tsup",
213
+ "ci:main-pr": "node scripts/ci-main-pr-local.mjs",
214
+ "ship:preview:audit": "node scripts/ship-preview.mjs --audit",
215
+ "ship:preview:prune": "node scripts/ship-preview.mjs --prune",
212
216
  "test": "bash scripts/run-workspace-tests.sh",
213
- "test:repo": "node scripts/ci-check-layout-engine-version.mjs && node scripts/ci-check-chrome-composition.mjs && node scripts/ci-check-headless-example-imports.mjs && node scripts/ci-check-chrome-smoke-isolation.mjs && node scripts/ci-check-no-legacy-presentation.mjs && node scripts/ci-check-layer-11-boundary.mjs && node scripts/run-repo-tests.mjs standard",
217
+ "test:repo": "pnpm run build && node scripts/ci-check-layout-engine-version.mjs && node scripts/ci-check-chrome-composition.mjs && node scripts/ci-check-headless-example-imports.mjs && node scripts/ci-check-chrome-smoke-isolation.mjs && node scripts/ci-check-no-legacy-presentation.mjs && node scripts/ci-check-layer-11-boundary.mjs && node scripts/run-repo-tests.mjs standard",
214
218
  "test:repo:ship": "node scripts/ci-check-layout-engine-version.mjs && node scripts/ci-check-chrome-composition.mjs && node scripts/ci-check-headless-example-imports.mjs && node scripts/ci-check-chrome-smoke-isolation.mjs && node scripts/ci-check-no-legacy-presentation.mjs && node scripts/ci-check-layer-11-boundary.mjs && node scripts/run-repo-tests.mjs ship",
215
219
  "test:repo:full": "node scripts/run-repo-tests.mjs full",
216
220
  "test:repo:all": "node scripts/run-repo-tests.mjs standard",