@stll/folio-react 0.20.3 → 0.21.1
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/{CommentsSidebar-BiBt77_z.js → CommentsSidebar-D68oqCy8.js} +1 -1
- package/dist/{TablePropertiesDialog-BW4RRZLZ.js → TablePropertiesDialog-DOUiX1KZ.js} +108 -149
- package/dist/compat/eigenpal.d.ts +1 -1
- package/dist/compat/eigenpal.js +1 -1
- package/dist/dialogs.js +1 -1
- package/dist/editor.css +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +2 -2
- package/dist/{renderAsync-yY4eNo9i.d.ts → renderAsync-CpeG0afF.d.ts} +1 -13
- package/dist/{renderAsync-DMNxIBO9.js → renderAsync-Dxi_koXh.js} +178 -179
- package/dist/standalone.css +1 -1
- package/package.json +10 -10
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as FolioUIProvider, a as DocxEditorApplyDocumentOperationsOptions, c as DocxEditorRef, d as ToolbarProps, f as EditorMode, g as FolioUIComponents, h as FolioButtonProps, i as renderAsync, l as HighlightPassageOptions, m as ColorPreset, n as EditorHandle, o as DocxEditorCollaboration, p as FontOption, r as RenderAsyncOptions, s as DocxEditorProps, t as DocxEditorHandle, u as HighlightPassageResult, v as OutlineItem, y as FontDefinition } from "./renderAsync-
|
|
1
|
+
import { _ as FolioUIProvider, a as DocxEditorApplyDocumentOperationsOptions, c as DocxEditorRef, d as ToolbarProps, f as EditorMode, g as FolioUIComponents, h as FolioButtonProps, i as renderAsync, l as HighlightPassageOptions, m as ColorPreset, n as EditorHandle, o as DocxEditorCollaboration, p as FontOption, r as RenderAsyncOptions, s as DocxEditorProps, t as DocxEditorHandle, u as HighlightPassageResult, v as OutlineItem, y as FontDefinition } from "./renderAsync-CpeG0afF.js";
|
|
2
2
|
import { A as HyperlinkDialog, C as ImagePropertiesData, D as ImagePositionDialog, E as ImagePositionData, F as FindReplaceDialog, I as FindReplaceDialogProps, M as HyperlinkDialogProps, N as FootnotePropertiesDialog, O as ImagePositionDialogProps, P as FootnotePropertiesDialogProps, S as InsertImageDialogProps, T as ImagePropertiesDialogProps, _ as InsertTableStyleOption, a as TablePropertiesDialogProps, b as InsertImageDialog, c as SplitCellDialogProps, d as PasteSpecialMode, f as PageSetupDialog, g as InsertTableDialogProps, h as InsertTableDialogData, i as TablePropertiesDialog, j as HyperlinkDialogData, k as HyperlinkBookmarkOption, l as PasteSpecialDialog, m as InsertTableDialog, n as WatermarkDialogProps, o as SplitCellDialog, p as PageSetupDialogProps, r as TableProperties, s as SplitCellDialogData, t as WatermarkDialog, u as PasteSpecialDialogProps, v as InsertSymbolDialog, w as ImagePropertiesDialog, x as InsertImageDialogData, y as InsertSymbolDialogProps } from "./dialogs-DZz6gVev.js";
|
|
3
3
|
import React, { CSSProperties, ReactNode, RefObject } from "react";
|
|
4
4
|
import { CreateEmptyDocumentOptions, createEmptyDocument } from "@stll/folio-core/utils/createDocument";
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as formatZoom, c as FormattingBar, i as clampZoom, l as ZoomControl, n as DocxEditor, o as parseZoom, r as ZOOM_PRESETS, s as useWheelZoom, t as renderAsync, u as AutocompleteCaretOverlay } from "./renderAsync-
|
|
1
|
+
import { a as formatZoom, c as FormattingBar, i as clampZoom, l as ZoomControl, n as DocxEditor, o as parseZoom, r as ZOOM_PRESETS, s as useWheelZoom, t as renderAsync, u as AutocompleteCaretOverlay } from "./renderAsync-Dxi_koXh.js";
|
|
2
2
|
import { n as FolioUIProvider } from "./folio-ui-BgDDRsUX.js";
|
|
3
3
|
import { t as FindReplaceDialog } from "./FindReplaceDialog-CqKK82nE.js";
|
|
4
4
|
import { t as FootnotePropertiesDialog } from "./FootnotePropertiesDialog-CixRdIiT.js";
|
|
@@ -7,7 +7,7 @@ import { t as ImagePositionDialog } from "./ImagePositionDialog-DNodkoI2.js";
|
|
|
7
7
|
import { t as ImagePropertiesDialog } from "./ImagePropertiesDialog-CLsDIUWb.js";
|
|
8
8
|
import { t as InsertSymbolDialog } from "./InsertSymbolDialog-DCFLmfzn.js";
|
|
9
9
|
import { t as PageSetupDialog } from "./PageSetupDialog-COkgeOQn.js";
|
|
10
|
-
import { t as TablePropertiesDialog } from "./TablePropertiesDialog-
|
|
10
|
+
import { t as TablePropertiesDialog } from "./TablePropertiesDialog-DOUiX1KZ.js";
|
|
11
11
|
import { applyFolioAIEditOperations, createFolioAIEditSnapshot, diffWordSegments, hashFolioAIBlockText, normalizeFolioAIBlockText } from "@stll/folio-core/ai-edits";
|
|
12
12
|
import { insertImageFromFile, insertPageBreakInView, insertTableInView, insertTableOfContentsInView } from "@stll/folio-core/prosemirror";
|
|
13
13
|
import { createAICitationDecorationsPlugin, setAICitationsMeta, setActiveCitationMeta } from "@stll/folio-core/prosemirror/plugins/aiCitationDecorations";
|
|
@@ -11,7 +11,7 @@ import { FolioEditor } from "@stll/folio-core/controller/folioEditor";
|
|
|
11
11
|
import { DocxCompatibility } from "@stll/folio-core/docx/compatibility";
|
|
12
12
|
import { FolioSelectiveSaveFlags } from "@stll/folio-core/docx/selectiveSaveFlags";
|
|
13
13
|
import { TripwireResult } from "@stll/folio-core/docx/selectiveSaveTripwire";
|
|
14
|
-
import { SelectionState } from "@stll/folio-core/prosemirror";
|
|
14
|
+
import { ListState, SelectionState } from "@stll/folio-core/prosemirror";
|
|
15
15
|
import { FolioSuggestion, SuggestionAppliedAs } from "@stll/folio-core/prosemirror/commands/comments";
|
|
16
16
|
import { AnonymizationMatch } from "@stll/folio-core/prosemirror/plugins/anonymizationDecorations";
|
|
17
17
|
import { TemplateSlashMenuKeyAction, TemplateSlashMenuState } from "@stll/folio-core/prosemirror/plugins/templateSlashMenu";
|
|
@@ -407,18 +407,6 @@ type FontOption = {
|
|
|
407
407
|
category?: "sans-serif" | "serif" | "monospace" | "other";
|
|
408
408
|
};
|
|
409
409
|
//#endregion
|
|
410
|
-
//#region src/components/ui/ListButtons.d.ts
|
|
411
|
-
/**
|
|
412
|
-
* List formatting buttons: bullet, numbered, indent, outdent.
|
|
413
|
-
*/
|
|
414
|
-
type ListType = "bullet" | "numbered" | "none";
|
|
415
|
-
type ListState = {
|
|
416
|
-
type: ListType;
|
|
417
|
-
level: number;
|
|
418
|
-
isInList: boolean;
|
|
419
|
-
numId?: number;
|
|
420
|
-
};
|
|
421
|
-
//#endregion
|
|
422
410
|
//#region src/components/toolbarPrimitives.d.ts
|
|
423
411
|
/**
|
|
424
412
|
* Current formatting state of the selection
|