@docx-editor.dev/react 2.7.0 → 2.9.0

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/index.d.mts CHANGED
@@ -71,9 +71,9 @@ interface DocxEditorLoadingProps {
71
71
  /** Inline styles for the loading container, as on `DocxEditor.Viewport`. */
72
72
  style?: CSSProperties;
73
73
  /**
74
- * The loading screen. Omitted, a neutral spinner rendered from the `--doc-*` tokens is
75
- * used, so the batteries-included path has something to show. Compose your own around
76
- * `DocxEditor.Loading.Spinner` to keep the packaged indicator beside your own copy.
74
+ * The loading screen. Omitted, a full-size document page with the packaged indicator
75
+ * and localized status is used. Compose your own around `DocxEditor.Loading.Spinner`
76
+ * to keep the packaged indicator beside your own copy.
77
77
  */
78
78
  children?: DocxEditorChildren;
79
79
  }
@@ -1631,6 +1631,22 @@ interface DocxEditorPageSetupDialogProps {
1631
1631
  */
1632
1632
  declare function DocxEditorPageSetupDialog({ open, onClose, className, }: DocxEditorPageSetupDialogProps): ReactElement | null;
1633
1633
 
1634
+ /** Props for `DocxEditor.ParagraphDialog`. @public */
1635
+ interface DocxEditorParagraphDialogProps {
1636
+ /** Whether the dialog is shown. The host owns this state. */
1637
+ open: boolean;
1638
+ /** Called on Cancel, Escape, overlay click, and after a successful OK. */
1639
+ onClose: () => void;
1640
+ className?: string;
1641
+ }
1642
+ /**
1643
+ * The Paragraph dialog. Reads the selection through `useParagraphFormat()` and applies
1644
+ * the whole form as one undoable command.
1645
+ *
1646
+ * @public
1647
+ */
1648
+ declare function DocxEditorParagraphDialog({ open, onClose, className, }: DocxEditorParagraphDialogProps): ReactElement | null;
1649
+
1634
1650
  /** Internal bridge from the batteries-included editor's `t` prop to this composition part. */
1635
1651
  declare const PageNumberTranslationContext: react.Context<((key: string) => string) | null>;
1636
1652
  /** Props for `DocxEditor.PageNumber`. @public */
@@ -1779,6 +1795,9 @@ interface DocxEditorHyperLinkNamespace {
1779
1795
  }
1780
1796
  declare const DocxEditorHyperLink: DocxEditorHyperLinkNamespace;
1781
1797
 
1798
+ /** Default equation editor mounted by the packaged React host. */
1799
+ declare function DocxEditorEquation(): react.JSX.Element | null;
1800
+
1782
1801
  /**
1783
1802
  * Subscribe to the active note view scope with reference-stable results when unchanged.
1784
1803
  *
@@ -2337,6 +2356,8 @@ interface DocxEditorNamespace extends ForwardRefExoticComponent<DocxEditorProps
2337
2356
  readonly Navigation: typeof Navigation;
2338
2357
  /** Page Setup dialog — size, orientation, margins — applied as one undo step. */
2339
2358
  readonly PageSetupDialog: typeof DocxEditorPageSetupDialog;
2359
+ /** The Paragraph dialog: alignment, indentation, spacing and the paragraph flags. */
2360
+ readonly ParagraphDialog: typeof DocxEditorParagraphDialog;
2340
2361
  /** Floating localized page readout for the active viewport. */
2341
2362
  readonly PageNumber: typeof DocxEditorPageNumber;
2342
2363
  /** Word-style notice when document fonts render in substitute faces. */
@@ -2344,6 +2365,8 @@ interface DocxEditorNamespace extends ForwardRefExoticComponent<DocxEditorProps
2344
2365
  /** Header/footer scope chrome while editing page furniture. */
2345
2366
  readonly HeaderFooterChrome: typeof DocxEditorHeaderFooterChrome;
2346
2367
  readonly NotesChrome: typeof DocxEditorNotesChrome;
2368
+ /** The default linear-math popover for a clicked Office Math equation. */
2369
+ readonly Equation: typeof DocxEditorEquation;
2347
2370
  /**
2348
2371
  * The link popover — target readout, copy, edit, unlink — and its parts. Mounted by
2349
2372
  * default inside the viewport; `hyperlinkPopup={false}` removes it.
@@ -2807,6 +2830,7 @@ declare function useContentControlInstance(): UseContentControlResult;
2807
2830
  *
2808
2831
  * Both halves of review: authors of tracked changes first, numbered by where their first
2809
2832
  * change appears, then authors who only commented. One person is one colour across the two.
2833
+ * Once assigned, a slot stays with that author for the attached document session.
2810
2834
  *
2811
2835
  * A read of the rendered projection, not of the package: a resolved view hides the
2812
2836
  * revisions it has resolved away, so an author whose only change is hidden there is listed
@@ -3008,6 +3032,120 @@ interface UsePageSetupReturn {
3008
3032
  */
3009
3033
  declare function usePageSetup(): UsePageSetupReturn;
3010
3034
 
3035
+ /** One tri-state paragraph flag: on, off, or "the selection disagrees". */
3036
+ type ParagraphFlagState = boolean | null;
3037
+ /** One custom tab stop, as a control reads and writes it. @public */
3038
+ interface ParagraphTabStop {
3039
+ readonly positionTwips: number;
3040
+ readonly alignment: 'left' | 'center' | 'right' | 'decimal' | 'bar';
3041
+ readonly leader?: 'none' | 'dot' | 'hyphen' | 'underscore' | 'heavy' | 'middleDot';
3042
+ }
3043
+ /**
3044
+ * What the Paragraph dialog reads: every field, as the selection currently stands.
3045
+ *
3046
+ * A `null` means the selection's paragraphs DISAGREE about that field, which a control
3047
+ * shows as an indeterminate checkbox or an empty box rather than as a value. `indent` is
3048
+ * the exception the engine already documents — it reports the first touched paragraph and
3049
+ * flags disagreement per field, because a ruler has to draw its handles somewhere.
3050
+ *
3051
+ * @public
3052
+ */
3053
+ interface ParagraphFormatRead {
3054
+ /**
3055
+ * `justify`, not OOXML's `both`. The engine speaks `w:jc` values; an adapter speaks the
3056
+ * word its consumers write. Read and write use the SAME spelling here, so a value that
3057
+ * comes out of `format` can go straight back into `apply`.
3058
+ */
3059
+ readonly alignment: 'left' | 'center' | 'right' | 'justify' | null;
3060
+ readonly spaceBeforePt: number | null;
3061
+ readonly spaceAfterPt: number | null;
3062
+ readonly lineSpacing: {
3063
+ readonly rule: 'multiple' | 'exact' | 'atLeast';
3064
+ readonly value: number;
3065
+ } | null;
3066
+ readonly indentLeftTwips: number | null;
3067
+ readonly indentRightTwips: number | null;
3068
+ /** ONE signed first-line offset: negative is a hanging indent. */
3069
+ readonly indentFirstLineTwips: number | null;
3070
+ readonly contextualSpacing: ParagraphFlagState;
3071
+ readonly keepNext: ParagraphFlagState;
3072
+ readonly keepLines: ParagraphFlagState;
3073
+ readonly widowControl: ParagraphFlagState;
3074
+ readonly pageBreakBefore: ParagraphFlagState;
3075
+ /** Custom tab stops, cascade included. Null when the selection disagrees. */
3076
+ readonly tabStops: readonly ParagraphTabStop[] | null;
3077
+ /**
3078
+ * Which fields are `null` because the selection DISAGREES, as opposed to because nothing
3079
+ * states them.
3080
+ *
3081
+ * A `null` alone cannot tell those apart, and both readings shipped as bugs: a
3082
+ * disagreement rendered as a concrete value is uncorrectable, because the value that
3083
+ * would fix it is the one already on screen; an absent value rendered as "mixed" tells a
3084
+ * single paragraph it disagrees with itself.
3085
+ */
3086
+ readonly disagrees: {
3087
+ readonly alignment: boolean;
3088
+ readonly spaceBeforePt: boolean;
3089
+ readonly spaceAfterPt: boolean;
3090
+ readonly lineSpacing: boolean;
3091
+ readonly tabStops: boolean;
3092
+ readonly indentLeft: boolean;
3093
+ readonly indentRight: boolean;
3094
+ readonly indentFirstLine: boolean;
3095
+ };
3096
+ /**
3097
+ * Whether the indent reads are UNKNOWN rather than disagreed.
3098
+ *
3099
+ * The engine reports no indent at all for a paragraph inside a table — correct, but not
3100
+ * placeable on a ruler. A control must not call that "mixed": one paragraph cannot
3101
+ * disagree with itself, and the commonest paragraph in a real document is in a cell.
3102
+ */
3103
+ readonly indentUnknown: boolean;
3104
+ }
3105
+ /**
3106
+ * The fields `apply` accepts. Omitted fields are left as authored; `null` where allowed
3107
+ * REMOVES the setting so the style supplies it again, which is not the same as a zero.
3108
+ *
3109
+ * @public
3110
+ */
3111
+ interface ParagraphFormatUpdate {
3112
+ readonly alignment?: 'left' | 'center' | 'right' | 'justify';
3113
+ readonly spaceBeforePt?: number | null;
3114
+ readonly spaceAfterPt?: number | null;
3115
+ readonly lineSpacing?: {
3116
+ readonly rule: 'multiple' | 'exact' | 'atLeast';
3117
+ readonly value: number;
3118
+ } | null;
3119
+ readonly indentLeftTwips?: number | null;
3120
+ readonly indentRightTwips?: number | null;
3121
+ readonly indentFirstLineTwips?: number | null;
3122
+ readonly contextualSpacing?: boolean;
3123
+ readonly keepNext?: boolean;
3124
+ readonly keepLines?: boolean;
3125
+ readonly widowControl?: boolean;
3126
+ readonly pageBreakBefore?: boolean;
3127
+ /** Replace the custom tab stops. An EMPTY list clears them; omit to leave them alone. */
3128
+ readonly tabStops?: readonly ParagraphTabStop[];
3129
+ }
3130
+ /** What `useParagraphFormat` returns. @public */
3131
+ interface UseParagraphFormatReturn {
3132
+ /** The selection's paragraph formatting, or null while nothing is loaded. */
3133
+ readonly format: ParagraphFormatRead | null;
3134
+ /** Whether the engine can write paragraph formatting right now (mounted, editable). */
3135
+ readonly isEnabled: boolean;
3136
+ /** Write the given fields as ONE undoable step. Returns whether the engine accepted. */
3137
+ readonly apply: (update: ParagraphFormatUpdate) => boolean;
3138
+ }
3139
+ /**
3140
+ * The selection's paragraph formatting, plus the command to change it.
3141
+ *
3142
+ * `apply` sends ONE `setParagraphFormat`, so a dialog's worth of changes is one undo step
3143
+ * and the page repaints once.
3144
+ *
3145
+ * @public
3146
+ */
3147
+ declare function useParagraphFormat(): UseParagraphFormatReturn;
3148
+
3011
3149
  /**
3012
3150
  * The fields `apply` accepts — twips throughout, like every other read shape here.
3013
3151
  *
@@ -3773,4 +3911,4 @@ declare function VerticalRuler({ pageSetup, zoom, editable, onTopMarginChange, o
3773
3911
  */
3774
3912
  declare function useEditorSnapshot(editor: Editor | null): number;
3775
3913
 
3776
- export { CONTENT_CONTROL_SLOTS, type ChromeTranslate, type ContentControlActionProps, type ContentControlInspectorState, type ContentControlLock, type ContentControlPartProps, type ContentControlProps, type ContentControlSlotId, type ContextMenuAnchor, ContextMenuCellVerticalAlignment, type ContextMenuCommandProps, type ContextMenuContextValue, ContextMenuCopy, ContextMenuCut, ContextMenuDelete, ContextMenuDeleteTable, ContextMenuDeleteTableColumn, ContextMenuDeleteTableRow, ContextMenuInsertColumnLeft, ContextMenuInsertColumnRight, ContextMenuInsertRowAbove, ContextMenuInsertRowBelow, ContextMenuItem, type ContextMenuItemProps, ContextMenuPaste, ContextMenuRefreshToc, ContextMenuRefreshTocPageNumbers, ContextMenuSelectAll, type ContextMenuTableRowProps, DocumentName, DocumentOutline, DocxEditor, DocxEditorAuthorStyle, type DocxEditorAuthorStyleProps, type DocxEditorChildren, DocxEditorColorByChangeType, DocxEditorContent, DocxEditorContentControl, type DocxEditorContentControlNamespace, type DocxEditorContentProps, DocxEditorContextMenu, type DocxEditorContextMenuNamespace, type DocxEditorContextMenuProps, DocxEditorDocumentOutline, type DocxEditorDocumentOutlineProps, DocxEditorFontNotice, type DocxEditorFontNoticeProps, DocxEditorHeaderFooterChrome, type DocxEditorHeaderFooterChromeProps, DocxEditorHorizontalRuler, DocxEditorHyperLink, type DocxEditorHyperLinkNamespace, DocxEditorImagePropertiesDialog, type DocxEditorImagePropertiesDialogProps, DocxEditorLoading, type DocxEditorLoadingComponent, type DocxEditorLoadingProps, DocxEditorLoadingSpinner, type DocxEditorLoadingSpinnerProps, DocxEditorMenu, type DocxEditorMenuNamespace, type DocxEditorMenuProps, type DocxEditorNamespace, DocxEditorNavigation, type DocxEditorNavigationNamespace, type DocxEditorNavigationProps, DocxEditorNotesChrome, type DocxEditorNotesChromeProps, DocxEditorPageNumber, type DocxEditorPageNumberProps, DocxEditorPageSetupDialog, type DocxEditorPageSetupDialogProps, type DocxEditorProps, type DocxEditorRef, DocxEditorRoot, type DocxEditorRootListeners, type DocxEditorRootProps, type DocxEditorRulerProps, DocxEditorShell, DocxEditorToolbar, type DocxEditorToolbarNamespace, type DocxEditorToolbarProps, DocxEditorVerticalRuler, DocxEditorViewport, type DocxEditorViewportProps, type DocxFontsInput, type DocxFontsSource, type DocxSource, type EditorCaret, type EditorCommandState, type EditorMode, type EditorValueCommandState, type FontFamilyItemProps, type FontFamilyNamespace, type FontFamilyPartProps, type FontFamilyProps, type FontsInput, type HeaderFooterState, HorizontalRuler, type HorizontalRulerProps$1 as HorizontalRulerProps, type HyperLinkActionProps, type HyperLinkPartProps, type HyperLinkProps, type HyperlinkPopupAnchor, type HyperlinkPopupMode, type HyperlinkPopupState, ImageAltText, ImageInsertProvider, ImageInsertTrigger, ImagePropertiesTrigger, type ImagePropertiesTriggerProps, ImageWrap, type IndentUpdate, LocaleProvider, type LocaleProviderProps, Logo, type MaybeRefOrGetter, type MenuActionProps, MenuBar, type MenuGroupProps, type MenuId, type MenuItemProps, type MenuPartComponent, type MenuProps, type MenuReportIssueProps, type MenuRowProps, type MenuSeparatorProps, type MenuSubmenuProps, type MenuTableGridProps, NAVIGATION_PANE_GAP, NAVIGATION_PANE_INSET, NAVIGATION_PANE_WIDTH, NavigationClose, NavigationFind, NavigationHeader, NavigationHeadings, type NavigationPartProps, type NavigationShiftInput, NavigationTab, type NavigationTabProps, type NavigationTab$1 as NavigationTabValue, NavigationTabs, NavigationTitle, NavigationToggle, type NormalizedImagePayload, type NotePropertiesState, OUTLINE_BUTTON_LEFT_OFFSET, OUTLINE_BUTTON_RESERVED_SPACE, OUTLINE_LEFT_OFFSET, OUTLINE_RESERVED_SPACE, type OutlineHeading$1 as OutlineHeading, type OutlineHeadingItem, PageIndicator, type PageIndicatorProps, PageNumberTranslationContext, type PageSetupUpdate, PaginatedDocxEditor, type PaginatedDocxEditorExpose, type PaginatedDocxEditorHandle, type PaginatedDocxEditorProps, PaginatedDocxEditorShell, type PaginatedDocxEditorShellProps, type ParagraphStyleItemProps, type ParagraphStyleNamespace, type ParagraphStyleOption, type ParagraphStylePartProps, type ParagraphStyleProps, type ProvideDocxEditorResult, REVIEW_MARKERS_GUTTER, REVIEW_PANE_GUTTER, RULER_WIDTH, type ReviewGutter, type ReviewGutterInput, ReviewRailContext, type ReviewRailRegistry, SEARCH_DEBOUNCE_MS, SEARCH_MATCH_LIMIT, type ScopedChromeAnchor, Slot, type SlotProps, type TableBorderColorNamespace, type TableBorderStyleNamespace, type TableBorderTargetNamespace, type TableBorderWidthNamespace, type TableCellFillNamespace, type TableChromeItemProps, type TableChromePartComponent, type TableChromePartProps, TitleBar, TitleBarRight, Toolbar, type ToolbarActionProps, type ToolbarAlignmentComponent, ToolbarButton, type ToolbarButtonProps$1 as ToolbarButtonProps, ToolbarContext, type ToolbarContextValue, ToolbarGroup, ToolbarImageProperties, type ToolbarPartComponent, type ToolbarPartProps, type ToolbarProps, type ToolbarSeparatorProps, type ToolbarSlotPartComponent, type ToolbarSlotPartProps, type ToolbarTranslate, type UseContentControlResult, type UseDocumentOutlineResult, type UseDocumentSearchResult, type UseDocxSourceOptions, type UseDocxSourceResult, type UseFontFamilyResult, type UseHyperlinkPopupResult, type UseNavigationPaneOptions, type UseNavigationPaneResult, type UsePageSetupReturn, type UseParagraphIndentReturn, type UseParagraphStyleResult, type UseZoomResult, VERSION, VerticalRuler, type VerticalRulerProps, editorStateActiveSubscriptionCount, isFieldLink, navigationPaneReservation, navigationShift, normalizeImageBytes, notificationYieldsToTask, useProvidedDocxEditor as provideDocxEditor, reviewGutter, useChromeTranslate, useContentControl, useContentControlInstance, useContextMenuTarget, useDocumentOutline, useDocumentSearch, useDocxEditor, useDocxSource, useEditorCaret, useEditorCommand, useEditorEvent, useEditorSnapshot, useEditorState, useEditorValueCommand, useFontFamily, useFonts, useHeaderFooterState, useHyperlinkPopup, useHyperlinkPopupInstance, useNavigationPane, useNavigationShift, useNotePropertiesState, useNoteScopeState, usePageSetup, useParagraphIndent, useParagraphStyle, useReviewAuthors, useReviewGutter, useScopeClassName, useScopedChromeAnchor, useTableBorderTargetLabel, useToolbarContext, useToolbarLabel, useToolbarLabelFor, useTranslation, useZoom };
3914
+ export { CONTENT_CONTROL_SLOTS, type ChromeTranslate, type ContentControlActionProps, type ContentControlInspectorState, type ContentControlLock, type ContentControlPartProps, type ContentControlProps, type ContentControlSlotId, type ContextMenuAnchor, ContextMenuCellVerticalAlignment, type ContextMenuCommandProps, type ContextMenuContextValue, ContextMenuCopy, ContextMenuCut, ContextMenuDelete, ContextMenuDeleteTable, ContextMenuDeleteTableColumn, ContextMenuDeleteTableRow, ContextMenuInsertColumnLeft, ContextMenuInsertColumnRight, ContextMenuInsertRowAbove, ContextMenuInsertRowBelow, ContextMenuItem, type ContextMenuItemProps, ContextMenuPaste, ContextMenuRefreshToc, ContextMenuRefreshTocPageNumbers, ContextMenuSelectAll, type ContextMenuTableRowProps, DocumentName, DocumentOutline, DocxEditor, DocxEditorAuthorStyle, type DocxEditorAuthorStyleProps, type DocxEditorChildren, DocxEditorColorByChangeType, DocxEditorContent, DocxEditorContentControl, type DocxEditorContentControlNamespace, type DocxEditorContentProps, DocxEditorContextMenu, type DocxEditorContextMenuNamespace, type DocxEditorContextMenuProps, DocxEditorDocumentOutline, type DocxEditorDocumentOutlineProps, DocxEditorEquation, DocxEditorFontNotice, type DocxEditorFontNoticeProps, DocxEditorHeaderFooterChrome, type DocxEditorHeaderFooterChromeProps, DocxEditorHorizontalRuler, DocxEditorHyperLink, type DocxEditorHyperLinkNamespace, DocxEditorImagePropertiesDialog, type DocxEditorImagePropertiesDialogProps, DocxEditorLoading, type DocxEditorLoadingComponent, type DocxEditorLoadingProps, DocxEditorLoadingSpinner, type DocxEditorLoadingSpinnerProps, DocxEditorMenu, type DocxEditorMenuNamespace, type DocxEditorMenuProps, type DocxEditorNamespace, DocxEditorNavigation, type DocxEditorNavigationNamespace, type DocxEditorNavigationProps, DocxEditorNotesChrome, type DocxEditorNotesChromeProps, DocxEditorPageNumber, type DocxEditorPageNumberProps, DocxEditorPageSetupDialog, type DocxEditorPageSetupDialogProps, DocxEditorParagraphDialog, type DocxEditorParagraphDialogProps, type DocxEditorProps, type DocxEditorRef, DocxEditorRoot, type DocxEditorRootListeners, type DocxEditorRootProps, type DocxEditorRulerProps, DocxEditorShell, DocxEditorToolbar, type DocxEditorToolbarNamespace, type DocxEditorToolbarProps, DocxEditorVerticalRuler, DocxEditorViewport, type DocxEditorViewportProps, type DocxFontsInput, type DocxFontsSource, type DocxSource, type EditorCaret, type EditorCommandState, type EditorMode, type EditorValueCommandState, type FontFamilyItemProps, type FontFamilyNamespace, type FontFamilyPartProps, type FontFamilyProps, type FontsInput, type HeaderFooterState, HorizontalRuler, type HorizontalRulerProps$1 as HorizontalRulerProps, type HyperLinkActionProps, type HyperLinkPartProps, type HyperLinkProps, type HyperlinkPopupAnchor, type HyperlinkPopupMode, type HyperlinkPopupState, ImageAltText, ImageInsertProvider, ImageInsertTrigger, ImagePropertiesTrigger, type ImagePropertiesTriggerProps, ImageWrap, type IndentUpdate, LocaleProvider, type LocaleProviderProps, Logo, type MaybeRefOrGetter, type MenuActionProps, MenuBar, type MenuGroupProps, type MenuId, type MenuItemProps, type MenuPartComponent, type MenuProps, type MenuReportIssueProps, type MenuRowProps, type MenuSeparatorProps, type MenuSubmenuProps, type MenuTableGridProps, NAVIGATION_PANE_GAP, NAVIGATION_PANE_INSET, NAVIGATION_PANE_WIDTH, NavigationClose, NavigationFind, NavigationHeader, NavigationHeadings, type NavigationPartProps, type NavigationShiftInput, NavigationTab, type NavigationTabProps, type NavigationTab$1 as NavigationTabValue, NavigationTabs, NavigationTitle, NavigationToggle, type NormalizedImagePayload, type NotePropertiesState, OUTLINE_BUTTON_LEFT_OFFSET, OUTLINE_BUTTON_RESERVED_SPACE, OUTLINE_LEFT_OFFSET, OUTLINE_RESERVED_SPACE, type OutlineHeading$1 as OutlineHeading, type OutlineHeadingItem, PageIndicator, type PageIndicatorProps, PageNumberTranslationContext, type PageSetupUpdate, PaginatedDocxEditor, type PaginatedDocxEditorExpose, type PaginatedDocxEditorHandle, type PaginatedDocxEditorProps, PaginatedDocxEditorShell, type PaginatedDocxEditorShellProps, type ParagraphFlagState, type ParagraphFormatRead, type ParagraphFormatUpdate, type ParagraphStyleItemProps, type ParagraphStyleNamespace, type ParagraphStyleOption, type ParagraphStylePartProps, type ParagraphStyleProps, type ParagraphTabStop, type ProvideDocxEditorResult, REVIEW_MARKERS_GUTTER, REVIEW_PANE_GUTTER, RULER_WIDTH, type ReviewGutter, type ReviewGutterInput, ReviewRailContext, type ReviewRailRegistry, SEARCH_DEBOUNCE_MS, SEARCH_MATCH_LIMIT, type ScopedChromeAnchor, Slot, type SlotProps, type TableBorderColorNamespace, type TableBorderStyleNamespace, type TableBorderTargetNamespace, type TableBorderWidthNamespace, type TableCellFillNamespace, type TableChromeItemProps, type TableChromePartComponent, type TableChromePartProps, TitleBar, TitleBarRight, Toolbar, type ToolbarActionProps, type ToolbarAlignmentComponent, ToolbarButton, type ToolbarButtonProps$1 as ToolbarButtonProps, ToolbarContext, type ToolbarContextValue, ToolbarGroup, ToolbarImageProperties, type ToolbarPartComponent, type ToolbarPartProps, type ToolbarProps, type ToolbarSeparatorProps, type ToolbarSlotPartComponent, type ToolbarSlotPartProps, type ToolbarTranslate, type UseContentControlResult, type UseDocumentOutlineResult, type UseDocumentSearchResult, type UseDocxSourceOptions, type UseDocxSourceResult, type UseFontFamilyResult, type UseHyperlinkPopupResult, type UseNavigationPaneOptions, type UseNavigationPaneResult, type UsePageSetupReturn, type UseParagraphFormatReturn, type UseParagraphIndentReturn, type UseParagraphStyleResult, type UseZoomResult, VERSION, VerticalRuler, type VerticalRulerProps, editorStateActiveSubscriptionCount, isFieldLink, navigationPaneReservation, navigationShift, normalizeImageBytes, notificationYieldsToTask, useProvidedDocxEditor as provideDocxEditor, reviewGutter, useChromeTranslate, useContentControl, useContentControlInstance, useContextMenuTarget, useDocumentOutline, useDocumentSearch, useDocxEditor, useDocxSource, useEditorCaret, useEditorCommand, useEditorEvent, useEditorSnapshot, useEditorState, useEditorValueCommand, useFontFamily, useFonts, useHeaderFooterState, useHyperlinkPopup, useHyperlinkPopupInstance, useNavigationPane, useNavigationShift, useNotePropertiesState, useNoteScopeState, usePageSetup, useParagraphFormat, useParagraphIndent, useParagraphStyle, useReviewAuthors, useReviewGutter, useScopeClassName, useScopedChromeAnchor, useTableBorderTargetLabel, useToolbarContext, useToolbarLabel, useToolbarLabelFor, useTranslation, useZoom };
package/dist/index.d.ts CHANGED
@@ -71,9 +71,9 @@ interface DocxEditorLoadingProps {
71
71
  /** Inline styles for the loading container, as on `DocxEditor.Viewport`. */
72
72
  style?: CSSProperties;
73
73
  /**
74
- * The loading screen. Omitted, a neutral spinner rendered from the `--doc-*` tokens is
75
- * used, so the batteries-included path has something to show. Compose your own around
76
- * `DocxEditor.Loading.Spinner` to keep the packaged indicator beside your own copy.
74
+ * The loading screen. Omitted, a full-size document page with the packaged indicator
75
+ * and localized status is used. Compose your own around `DocxEditor.Loading.Spinner`
76
+ * to keep the packaged indicator beside your own copy.
77
77
  */
78
78
  children?: DocxEditorChildren;
79
79
  }
@@ -1631,6 +1631,22 @@ interface DocxEditorPageSetupDialogProps {
1631
1631
  */
1632
1632
  declare function DocxEditorPageSetupDialog({ open, onClose, className, }: DocxEditorPageSetupDialogProps): ReactElement | null;
1633
1633
 
1634
+ /** Props for `DocxEditor.ParagraphDialog`. @public */
1635
+ interface DocxEditorParagraphDialogProps {
1636
+ /** Whether the dialog is shown. The host owns this state. */
1637
+ open: boolean;
1638
+ /** Called on Cancel, Escape, overlay click, and after a successful OK. */
1639
+ onClose: () => void;
1640
+ className?: string;
1641
+ }
1642
+ /**
1643
+ * The Paragraph dialog. Reads the selection through `useParagraphFormat()` and applies
1644
+ * the whole form as one undoable command.
1645
+ *
1646
+ * @public
1647
+ */
1648
+ declare function DocxEditorParagraphDialog({ open, onClose, className, }: DocxEditorParagraphDialogProps): ReactElement | null;
1649
+
1634
1650
  /** Internal bridge from the batteries-included editor's `t` prop to this composition part. */
1635
1651
  declare const PageNumberTranslationContext: react.Context<((key: string) => string) | null>;
1636
1652
  /** Props for `DocxEditor.PageNumber`. @public */
@@ -1779,6 +1795,9 @@ interface DocxEditorHyperLinkNamespace {
1779
1795
  }
1780
1796
  declare const DocxEditorHyperLink: DocxEditorHyperLinkNamespace;
1781
1797
 
1798
+ /** Default equation editor mounted by the packaged React host. */
1799
+ declare function DocxEditorEquation(): react.JSX.Element | null;
1800
+
1782
1801
  /**
1783
1802
  * Subscribe to the active note view scope with reference-stable results when unchanged.
1784
1803
  *
@@ -2337,6 +2356,8 @@ interface DocxEditorNamespace extends ForwardRefExoticComponent<DocxEditorProps
2337
2356
  readonly Navigation: typeof Navigation;
2338
2357
  /** Page Setup dialog — size, orientation, margins — applied as one undo step. */
2339
2358
  readonly PageSetupDialog: typeof DocxEditorPageSetupDialog;
2359
+ /** The Paragraph dialog: alignment, indentation, spacing and the paragraph flags. */
2360
+ readonly ParagraphDialog: typeof DocxEditorParagraphDialog;
2340
2361
  /** Floating localized page readout for the active viewport. */
2341
2362
  readonly PageNumber: typeof DocxEditorPageNumber;
2342
2363
  /** Word-style notice when document fonts render in substitute faces. */
@@ -2344,6 +2365,8 @@ interface DocxEditorNamespace extends ForwardRefExoticComponent<DocxEditorProps
2344
2365
  /** Header/footer scope chrome while editing page furniture. */
2345
2366
  readonly HeaderFooterChrome: typeof DocxEditorHeaderFooterChrome;
2346
2367
  readonly NotesChrome: typeof DocxEditorNotesChrome;
2368
+ /** The default linear-math popover for a clicked Office Math equation. */
2369
+ readonly Equation: typeof DocxEditorEquation;
2347
2370
  /**
2348
2371
  * The link popover — target readout, copy, edit, unlink — and its parts. Mounted by
2349
2372
  * default inside the viewport; `hyperlinkPopup={false}` removes it.
@@ -2807,6 +2830,7 @@ declare function useContentControlInstance(): UseContentControlResult;
2807
2830
  *
2808
2831
  * Both halves of review: authors of tracked changes first, numbered by where their first
2809
2832
  * change appears, then authors who only commented. One person is one colour across the two.
2833
+ * Once assigned, a slot stays with that author for the attached document session.
2810
2834
  *
2811
2835
  * A read of the rendered projection, not of the package: a resolved view hides the
2812
2836
  * revisions it has resolved away, so an author whose only change is hidden there is listed
@@ -3008,6 +3032,120 @@ interface UsePageSetupReturn {
3008
3032
  */
3009
3033
  declare function usePageSetup(): UsePageSetupReturn;
3010
3034
 
3035
+ /** One tri-state paragraph flag: on, off, or "the selection disagrees". */
3036
+ type ParagraphFlagState = boolean | null;
3037
+ /** One custom tab stop, as a control reads and writes it. @public */
3038
+ interface ParagraphTabStop {
3039
+ readonly positionTwips: number;
3040
+ readonly alignment: 'left' | 'center' | 'right' | 'decimal' | 'bar';
3041
+ readonly leader?: 'none' | 'dot' | 'hyphen' | 'underscore' | 'heavy' | 'middleDot';
3042
+ }
3043
+ /**
3044
+ * What the Paragraph dialog reads: every field, as the selection currently stands.
3045
+ *
3046
+ * A `null` means the selection's paragraphs DISAGREE about that field, which a control
3047
+ * shows as an indeterminate checkbox or an empty box rather than as a value. `indent` is
3048
+ * the exception the engine already documents — it reports the first touched paragraph and
3049
+ * flags disagreement per field, because a ruler has to draw its handles somewhere.
3050
+ *
3051
+ * @public
3052
+ */
3053
+ interface ParagraphFormatRead {
3054
+ /**
3055
+ * `justify`, not OOXML's `both`. The engine speaks `w:jc` values; an adapter speaks the
3056
+ * word its consumers write. Read and write use the SAME spelling here, so a value that
3057
+ * comes out of `format` can go straight back into `apply`.
3058
+ */
3059
+ readonly alignment: 'left' | 'center' | 'right' | 'justify' | null;
3060
+ readonly spaceBeforePt: number | null;
3061
+ readonly spaceAfterPt: number | null;
3062
+ readonly lineSpacing: {
3063
+ readonly rule: 'multiple' | 'exact' | 'atLeast';
3064
+ readonly value: number;
3065
+ } | null;
3066
+ readonly indentLeftTwips: number | null;
3067
+ readonly indentRightTwips: number | null;
3068
+ /** ONE signed first-line offset: negative is a hanging indent. */
3069
+ readonly indentFirstLineTwips: number | null;
3070
+ readonly contextualSpacing: ParagraphFlagState;
3071
+ readonly keepNext: ParagraphFlagState;
3072
+ readonly keepLines: ParagraphFlagState;
3073
+ readonly widowControl: ParagraphFlagState;
3074
+ readonly pageBreakBefore: ParagraphFlagState;
3075
+ /** Custom tab stops, cascade included. Null when the selection disagrees. */
3076
+ readonly tabStops: readonly ParagraphTabStop[] | null;
3077
+ /**
3078
+ * Which fields are `null` because the selection DISAGREES, as opposed to because nothing
3079
+ * states them.
3080
+ *
3081
+ * A `null` alone cannot tell those apart, and both readings shipped as bugs: a
3082
+ * disagreement rendered as a concrete value is uncorrectable, because the value that
3083
+ * would fix it is the one already on screen; an absent value rendered as "mixed" tells a
3084
+ * single paragraph it disagrees with itself.
3085
+ */
3086
+ readonly disagrees: {
3087
+ readonly alignment: boolean;
3088
+ readonly spaceBeforePt: boolean;
3089
+ readonly spaceAfterPt: boolean;
3090
+ readonly lineSpacing: boolean;
3091
+ readonly tabStops: boolean;
3092
+ readonly indentLeft: boolean;
3093
+ readonly indentRight: boolean;
3094
+ readonly indentFirstLine: boolean;
3095
+ };
3096
+ /**
3097
+ * Whether the indent reads are UNKNOWN rather than disagreed.
3098
+ *
3099
+ * The engine reports no indent at all for a paragraph inside a table — correct, but not
3100
+ * placeable on a ruler. A control must not call that "mixed": one paragraph cannot
3101
+ * disagree with itself, and the commonest paragraph in a real document is in a cell.
3102
+ */
3103
+ readonly indentUnknown: boolean;
3104
+ }
3105
+ /**
3106
+ * The fields `apply` accepts. Omitted fields are left as authored; `null` where allowed
3107
+ * REMOVES the setting so the style supplies it again, which is not the same as a zero.
3108
+ *
3109
+ * @public
3110
+ */
3111
+ interface ParagraphFormatUpdate {
3112
+ readonly alignment?: 'left' | 'center' | 'right' | 'justify';
3113
+ readonly spaceBeforePt?: number | null;
3114
+ readonly spaceAfterPt?: number | null;
3115
+ readonly lineSpacing?: {
3116
+ readonly rule: 'multiple' | 'exact' | 'atLeast';
3117
+ readonly value: number;
3118
+ } | null;
3119
+ readonly indentLeftTwips?: number | null;
3120
+ readonly indentRightTwips?: number | null;
3121
+ readonly indentFirstLineTwips?: number | null;
3122
+ readonly contextualSpacing?: boolean;
3123
+ readonly keepNext?: boolean;
3124
+ readonly keepLines?: boolean;
3125
+ readonly widowControl?: boolean;
3126
+ readonly pageBreakBefore?: boolean;
3127
+ /** Replace the custom tab stops. An EMPTY list clears them; omit to leave them alone. */
3128
+ readonly tabStops?: readonly ParagraphTabStop[];
3129
+ }
3130
+ /** What `useParagraphFormat` returns. @public */
3131
+ interface UseParagraphFormatReturn {
3132
+ /** The selection's paragraph formatting, or null while nothing is loaded. */
3133
+ readonly format: ParagraphFormatRead | null;
3134
+ /** Whether the engine can write paragraph formatting right now (mounted, editable). */
3135
+ readonly isEnabled: boolean;
3136
+ /** Write the given fields as ONE undoable step. Returns whether the engine accepted. */
3137
+ readonly apply: (update: ParagraphFormatUpdate) => boolean;
3138
+ }
3139
+ /**
3140
+ * The selection's paragraph formatting, plus the command to change it.
3141
+ *
3142
+ * `apply` sends ONE `setParagraphFormat`, so a dialog's worth of changes is one undo step
3143
+ * and the page repaints once.
3144
+ *
3145
+ * @public
3146
+ */
3147
+ declare function useParagraphFormat(): UseParagraphFormatReturn;
3148
+
3011
3149
  /**
3012
3150
  * The fields `apply` accepts — twips throughout, like every other read shape here.
3013
3151
  *
@@ -3773,4 +3911,4 @@ declare function VerticalRuler({ pageSetup, zoom, editable, onTopMarginChange, o
3773
3911
  */
3774
3912
  declare function useEditorSnapshot(editor: Editor | null): number;
3775
3913
 
3776
- export { CONTENT_CONTROL_SLOTS, type ChromeTranslate, type ContentControlActionProps, type ContentControlInspectorState, type ContentControlLock, type ContentControlPartProps, type ContentControlProps, type ContentControlSlotId, type ContextMenuAnchor, ContextMenuCellVerticalAlignment, type ContextMenuCommandProps, type ContextMenuContextValue, ContextMenuCopy, ContextMenuCut, ContextMenuDelete, ContextMenuDeleteTable, ContextMenuDeleteTableColumn, ContextMenuDeleteTableRow, ContextMenuInsertColumnLeft, ContextMenuInsertColumnRight, ContextMenuInsertRowAbove, ContextMenuInsertRowBelow, ContextMenuItem, type ContextMenuItemProps, ContextMenuPaste, ContextMenuRefreshToc, ContextMenuRefreshTocPageNumbers, ContextMenuSelectAll, type ContextMenuTableRowProps, DocumentName, DocumentOutline, DocxEditor, DocxEditorAuthorStyle, type DocxEditorAuthorStyleProps, type DocxEditorChildren, DocxEditorColorByChangeType, DocxEditorContent, DocxEditorContentControl, type DocxEditorContentControlNamespace, type DocxEditorContentProps, DocxEditorContextMenu, type DocxEditorContextMenuNamespace, type DocxEditorContextMenuProps, DocxEditorDocumentOutline, type DocxEditorDocumentOutlineProps, DocxEditorFontNotice, type DocxEditorFontNoticeProps, DocxEditorHeaderFooterChrome, type DocxEditorHeaderFooterChromeProps, DocxEditorHorizontalRuler, DocxEditorHyperLink, type DocxEditorHyperLinkNamespace, DocxEditorImagePropertiesDialog, type DocxEditorImagePropertiesDialogProps, DocxEditorLoading, type DocxEditorLoadingComponent, type DocxEditorLoadingProps, DocxEditorLoadingSpinner, type DocxEditorLoadingSpinnerProps, DocxEditorMenu, type DocxEditorMenuNamespace, type DocxEditorMenuProps, type DocxEditorNamespace, DocxEditorNavigation, type DocxEditorNavigationNamespace, type DocxEditorNavigationProps, DocxEditorNotesChrome, type DocxEditorNotesChromeProps, DocxEditorPageNumber, type DocxEditorPageNumberProps, DocxEditorPageSetupDialog, type DocxEditorPageSetupDialogProps, type DocxEditorProps, type DocxEditorRef, DocxEditorRoot, type DocxEditorRootListeners, type DocxEditorRootProps, type DocxEditorRulerProps, DocxEditorShell, DocxEditorToolbar, type DocxEditorToolbarNamespace, type DocxEditorToolbarProps, DocxEditorVerticalRuler, DocxEditorViewport, type DocxEditorViewportProps, type DocxFontsInput, type DocxFontsSource, type DocxSource, type EditorCaret, type EditorCommandState, type EditorMode, type EditorValueCommandState, type FontFamilyItemProps, type FontFamilyNamespace, type FontFamilyPartProps, type FontFamilyProps, type FontsInput, type HeaderFooterState, HorizontalRuler, type HorizontalRulerProps$1 as HorizontalRulerProps, type HyperLinkActionProps, type HyperLinkPartProps, type HyperLinkProps, type HyperlinkPopupAnchor, type HyperlinkPopupMode, type HyperlinkPopupState, ImageAltText, ImageInsertProvider, ImageInsertTrigger, ImagePropertiesTrigger, type ImagePropertiesTriggerProps, ImageWrap, type IndentUpdate, LocaleProvider, type LocaleProviderProps, Logo, type MaybeRefOrGetter, type MenuActionProps, MenuBar, type MenuGroupProps, type MenuId, type MenuItemProps, type MenuPartComponent, type MenuProps, type MenuReportIssueProps, type MenuRowProps, type MenuSeparatorProps, type MenuSubmenuProps, type MenuTableGridProps, NAVIGATION_PANE_GAP, NAVIGATION_PANE_INSET, NAVIGATION_PANE_WIDTH, NavigationClose, NavigationFind, NavigationHeader, NavigationHeadings, type NavigationPartProps, type NavigationShiftInput, NavigationTab, type NavigationTabProps, type NavigationTab$1 as NavigationTabValue, NavigationTabs, NavigationTitle, NavigationToggle, type NormalizedImagePayload, type NotePropertiesState, OUTLINE_BUTTON_LEFT_OFFSET, OUTLINE_BUTTON_RESERVED_SPACE, OUTLINE_LEFT_OFFSET, OUTLINE_RESERVED_SPACE, type OutlineHeading$1 as OutlineHeading, type OutlineHeadingItem, PageIndicator, type PageIndicatorProps, PageNumberTranslationContext, type PageSetupUpdate, PaginatedDocxEditor, type PaginatedDocxEditorExpose, type PaginatedDocxEditorHandle, type PaginatedDocxEditorProps, PaginatedDocxEditorShell, type PaginatedDocxEditorShellProps, type ParagraphStyleItemProps, type ParagraphStyleNamespace, type ParagraphStyleOption, type ParagraphStylePartProps, type ParagraphStyleProps, type ProvideDocxEditorResult, REVIEW_MARKERS_GUTTER, REVIEW_PANE_GUTTER, RULER_WIDTH, type ReviewGutter, type ReviewGutterInput, ReviewRailContext, type ReviewRailRegistry, SEARCH_DEBOUNCE_MS, SEARCH_MATCH_LIMIT, type ScopedChromeAnchor, Slot, type SlotProps, type TableBorderColorNamespace, type TableBorderStyleNamespace, type TableBorderTargetNamespace, type TableBorderWidthNamespace, type TableCellFillNamespace, type TableChromeItemProps, type TableChromePartComponent, type TableChromePartProps, TitleBar, TitleBarRight, Toolbar, type ToolbarActionProps, type ToolbarAlignmentComponent, ToolbarButton, type ToolbarButtonProps$1 as ToolbarButtonProps, ToolbarContext, type ToolbarContextValue, ToolbarGroup, ToolbarImageProperties, type ToolbarPartComponent, type ToolbarPartProps, type ToolbarProps, type ToolbarSeparatorProps, type ToolbarSlotPartComponent, type ToolbarSlotPartProps, type ToolbarTranslate, type UseContentControlResult, type UseDocumentOutlineResult, type UseDocumentSearchResult, type UseDocxSourceOptions, type UseDocxSourceResult, type UseFontFamilyResult, type UseHyperlinkPopupResult, type UseNavigationPaneOptions, type UseNavigationPaneResult, type UsePageSetupReturn, type UseParagraphIndentReturn, type UseParagraphStyleResult, type UseZoomResult, VERSION, VerticalRuler, type VerticalRulerProps, editorStateActiveSubscriptionCount, isFieldLink, navigationPaneReservation, navigationShift, normalizeImageBytes, notificationYieldsToTask, useProvidedDocxEditor as provideDocxEditor, reviewGutter, useChromeTranslate, useContentControl, useContentControlInstance, useContextMenuTarget, useDocumentOutline, useDocumentSearch, useDocxEditor, useDocxSource, useEditorCaret, useEditorCommand, useEditorEvent, useEditorSnapshot, useEditorState, useEditorValueCommand, useFontFamily, useFonts, useHeaderFooterState, useHyperlinkPopup, useHyperlinkPopupInstance, useNavigationPane, useNavigationShift, useNotePropertiesState, useNoteScopeState, usePageSetup, useParagraphIndent, useParagraphStyle, useReviewAuthors, useReviewGutter, useScopeClassName, useScopedChromeAnchor, useTableBorderTargetLabel, useToolbarContext, useToolbarLabel, useToolbarLabelFor, useTranslation, useZoom };
3914
+ export { CONTENT_CONTROL_SLOTS, type ChromeTranslate, type ContentControlActionProps, type ContentControlInspectorState, type ContentControlLock, type ContentControlPartProps, type ContentControlProps, type ContentControlSlotId, type ContextMenuAnchor, ContextMenuCellVerticalAlignment, type ContextMenuCommandProps, type ContextMenuContextValue, ContextMenuCopy, ContextMenuCut, ContextMenuDelete, ContextMenuDeleteTable, ContextMenuDeleteTableColumn, ContextMenuDeleteTableRow, ContextMenuInsertColumnLeft, ContextMenuInsertColumnRight, ContextMenuInsertRowAbove, ContextMenuInsertRowBelow, ContextMenuItem, type ContextMenuItemProps, ContextMenuPaste, ContextMenuRefreshToc, ContextMenuRefreshTocPageNumbers, ContextMenuSelectAll, type ContextMenuTableRowProps, DocumentName, DocumentOutline, DocxEditor, DocxEditorAuthorStyle, type DocxEditorAuthorStyleProps, type DocxEditorChildren, DocxEditorColorByChangeType, DocxEditorContent, DocxEditorContentControl, type DocxEditorContentControlNamespace, type DocxEditorContentProps, DocxEditorContextMenu, type DocxEditorContextMenuNamespace, type DocxEditorContextMenuProps, DocxEditorDocumentOutline, type DocxEditorDocumentOutlineProps, DocxEditorEquation, DocxEditorFontNotice, type DocxEditorFontNoticeProps, DocxEditorHeaderFooterChrome, type DocxEditorHeaderFooterChromeProps, DocxEditorHorizontalRuler, DocxEditorHyperLink, type DocxEditorHyperLinkNamespace, DocxEditorImagePropertiesDialog, type DocxEditorImagePropertiesDialogProps, DocxEditorLoading, type DocxEditorLoadingComponent, type DocxEditorLoadingProps, DocxEditorLoadingSpinner, type DocxEditorLoadingSpinnerProps, DocxEditorMenu, type DocxEditorMenuNamespace, type DocxEditorMenuProps, type DocxEditorNamespace, DocxEditorNavigation, type DocxEditorNavigationNamespace, type DocxEditorNavigationProps, DocxEditorNotesChrome, type DocxEditorNotesChromeProps, DocxEditorPageNumber, type DocxEditorPageNumberProps, DocxEditorPageSetupDialog, type DocxEditorPageSetupDialogProps, DocxEditorParagraphDialog, type DocxEditorParagraphDialogProps, type DocxEditorProps, type DocxEditorRef, DocxEditorRoot, type DocxEditorRootListeners, type DocxEditorRootProps, type DocxEditorRulerProps, DocxEditorShell, DocxEditorToolbar, type DocxEditorToolbarNamespace, type DocxEditorToolbarProps, DocxEditorVerticalRuler, DocxEditorViewport, type DocxEditorViewportProps, type DocxFontsInput, type DocxFontsSource, type DocxSource, type EditorCaret, type EditorCommandState, type EditorMode, type EditorValueCommandState, type FontFamilyItemProps, type FontFamilyNamespace, type FontFamilyPartProps, type FontFamilyProps, type FontsInput, type HeaderFooterState, HorizontalRuler, type HorizontalRulerProps$1 as HorizontalRulerProps, type HyperLinkActionProps, type HyperLinkPartProps, type HyperLinkProps, type HyperlinkPopupAnchor, type HyperlinkPopupMode, type HyperlinkPopupState, ImageAltText, ImageInsertProvider, ImageInsertTrigger, ImagePropertiesTrigger, type ImagePropertiesTriggerProps, ImageWrap, type IndentUpdate, LocaleProvider, type LocaleProviderProps, Logo, type MaybeRefOrGetter, type MenuActionProps, MenuBar, type MenuGroupProps, type MenuId, type MenuItemProps, type MenuPartComponent, type MenuProps, type MenuReportIssueProps, type MenuRowProps, type MenuSeparatorProps, type MenuSubmenuProps, type MenuTableGridProps, NAVIGATION_PANE_GAP, NAVIGATION_PANE_INSET, NAVIGATION_PANE_WIDTH, NavigationClose, NavigationFind, NavigationHeader, NavigationHeadings, type NavigationPartProps, type NavigationShiftInput, NavigationTab, type NavigationTabProps, type NavigationTab$1 as NavigationTabValue, NavigationTabs, NavigationTitle, NavigationToggle, type NormalizedImagePayload, type NotePropertiesState, OUTLINE_BUTTON_LEFT_OFFSET, OUTLINE_BUTTON_RESERVED_SPACE, OUTLINE_LEFT_OFFSET, OUTLINE_RESERVED_SPACE, type OutlineHeading$1 as OutlineHeading, type OutlineHeadingItem, PageIndicator, type PageIndicatorProps, PageNumberTranslationContext, type PageSetupUpdate, PaginatedDocxEditor, type PaginatedDocxEditorExpose, type PaginatedDocxEditorHandle, type PaginatedDocxEditorProps, PaginatedDocxEditorShell, type PaginatedDocxEditorShellProps, type ParagraphFlagState, type ParagraphFormatRead, type ParagraphFormatUpdate, type ParagraphStyleItemProps, type ParagraphStyleNamespace, type ParagraphStyleOption, type ParagraphStylePartProps, type ParagraphStyleProps, type ParagraphTabStop, type ProvideDocxEditorResult, REVIEW_MARKERS_GUTTER, REVIEW_PANE_GUTTER, RULER_WIDTH, type ReviewGutter, type ReviewGutterInput, ReviewRailContext, type ReviewRailRegistry, SEARCH_DEBOUNCE_MS, SEARCH_MATCH_LIMIT, type ScopedChromeAnchor, Slot, type SlotProps, type TableBorderColorNamespace, type TableBorderStyleNamespace, type TableBorderTargetNamespace, type TableBorderWidthNamespace, type TableCellFillNamespace, type TableChromeItemProps, type TableChromePartComponent, type TableChromePartProps, TitleBar, TitleBarRight, Toolbar, type ToolbarActionProps, type ToolbarAlignmentComponent, ToolbarButton, type ToolbarButtonProps$1 as ToolbarButtonProps, ToolbarContext, type ToolbarContextValue, ToolbarGroup, ToolbarImageProperties, type ToolbarPartComponent, type ToolbarPartProps, type ToolbarProps, type ToolbarSeparatorProps, type ToolbarSlotPartComponent, type ToolbarSlotPartProps, type ToolbarTranslate, type UseContentControlResult, type UseDocumentOutlineResult, type UseDocumentSearchResult, type UseDocxSourceOptions, type UseDocxSourceResult, type UseFontFamilyResult, type UseHyperlinkPopupResult, type UseNavigationPaneOptions, type UseNavigationPaneResult, type UsePageSetupReturn, type UseParagraphFormatReturn, type UseParagraphIndentReturn, type UseParagraphStyleResult, type UseZoomResult, VERSION, VerticalRuler, type VerticalRulerProps, editorStateActiveSubscriptionCount, isFieldLink, navigationPaneReservation, navigationShift, normalizeImageBytes, notificationYieldsToTask, useProvidedDocxEditor as provideDocxEditor, reviewGutter, useChromeTranslate, useContentControl, useContentControlInstance, useContextMenuTarget, useDocumentOutline, useDocumentSearch, useDocxEditor, useDocxSource, useEditorCaret, useEditorCommand, useEditorEvent, useEditorSnapshot, useEditorState, useEditorValueCommand, useFontFamily, useFonts, useHeaderFooterState, useHyperlinkPopup, useHyperlinkPopupInstance, useNavigationPane, useNavigationShift, useNotePropertiesState, useNoteScopeState, usePageSetup, useParagraphFormat, useParagraphIndent, useParagraphStyle, useReviewAuthors, useReviewGutter, useScopeClassName, useScopedChromeAnchor, useTableBorderTargetLabel, useToolbarContext, useToolbarLabel, useToolbarLabelFor, useTranslation, useZoom };