@bendyline/squisq-editor-react 2.11.22 → 2.11.23

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.
@@ -1520,6 +1520,7 @@ function EditorProvider({
1520
1520
  language,
1521
1521
  findMode: controlledFindMode,
1522
1522
  onFindModeChange,
1523
+ findRequest = null,
1523
1524
  inlinePreview = false,
1524
1525
  showStatusBar = true,
1525
1526
  outline = false,
@@ -2183,6 +2184,7 @@ function EditorProvider({
2183
2184
  colorScheme,
2184
2185
  editorMode,
2185
2186
  findMode,
2187
+ findRequest,
2186
2188
  language: resolvedLanguage,
2187
2189
  inlinePreviewVisible,
2188
2190
  statusBarVisible,
@@ -2271,6 +2273,7 @@ function EditorProvider({
2271
2273
  colorScheme,
2272
2274
  editorMode,
2273
2275
  findMode,
2276
+ findRequest,
2274
2277
  resolvedLanguage,
2275
2278
  inlinePreviewVisible,
2276
2279
  statusBarVisible,
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { C as CodeContext, E as EditorHostMode, S as SceneTextChannel, a as CalcEngineFactory, b as EditorView$1, c as CsvSourceMeta, X as XlsxSourceMeta, F as FormulaEditRecord } from './shell-CyUZ1rcq.js';
2
- export { A as ApplySourceEditsOptions, B as BlockInsertionBuilder, d as BlockInsertionContext, e as BlockPlacement, f as BlockRange, g as BlockSlice, h as BlockTagVisibility, i as CodeContextSection, j as CoverImageSaveOutput, D as DashboardImageSaveOutput, k as DocumentLinkCandidate, l as DocumentLinkProvider, m as EditorActions, n as EditorColorScheme, o as EditorContextMenuContext, p as EditorContextMenuItem, q as EditorContextMenuItemVisibility, r as EditorContextMenuProvider, s as EditorContextMenuProviderProps, t as EditorContextValue, u as EditorInsertMenuItem, v as EditorMode, w as EditorProvider, x as EditorProviderProps, y as EditorSelectionInfo, z as EditorShell, G as EditorShellProps, H as EditorState, I as FormulaSessionOptions, J as ImageDisplayMode, K as IngestedSidecar, L as InsertBlockOptions, M as LayoutMode, N as MentionCandidate, O as MentionProvider, P as OutlineBlock, Q as OutlineInsertion, R as PreviewPanel, T as PreviewPanelProps, U as RawEditor, V as RawEditorProps, W as ThemeInheritance, Y as ViewPreferences, Z as WriteCanvasSettings, _ as WysiwygEditor, $ as WysiwygEditorProps, a0 as XLSX_LOCKED_REASON, a1 as XlsxFormulaSession, a2 as applySourceEditsToText, a3 as blockInsertionPoint, a4 as createXlsxFormulaSession, a5 as getBlockSlices, a6 as headingDepthForInsertion, a7 as ingestSidecarBytes, a8 as joinBlockAt, a9 as lineToOffset, aa as minimalReplaceEdit, ab as normalizeSourceEdits, ac as offsetToLine, ad as resolveOutlineInsertion, ae as sliceIndexAtOffset, af as sourceOutline, ag as spliceBlock, ah as useEditorContext, ai as useEditorContextMenuItems, aj as useEditorInsertMenuItems } from './shell-CyUZ1rcq.js';
1
+ import { C as CodeContext, E as EditorHostMode, S as SceneTextChannel, a as CalcEngineFactory, b as EditorView$1, c as CsvSourceMeta, X as XlsxSourceMeta, F as FormulaEditRecord } from './shell-BVxeKlCx.js';
2
+ export { A as ApplySourceEditsOptions, B as BlockInsertionBuilder, d as BlockInsertionContext, e as BlockPlacement, f as BlockRange, g as BlockSlice, h as BlockTagVisibility, i as CodeContextSection, j as CoverImageSaveOutput, D as DashboardImageSaveOutput, k as DocumentLinkCandidate, l as DocumentLinkProvider, m as EditorActions, n as EditorColorScheme, o as EditorContextMenuContext, p as EditorContextMenuItem, q as EditorContextMenuItemVisibility, r as EditorContextMenuProvider, s as EditorContextMenuProviderProps, t as EditorContextValue, u as EditorInsertMenuItem, v as EditorMode, w as EditorProvider, x as EditorProviderProps, y as EditorSelectionInfo, z as EditorShell, G as EditorShellProps, H as EditorState, I as FindOptions, J as FindRequest, K as FormulaSessionOptions, L as ImageDisplayMode, M as IngestedSidecar, N as InsertBlockOptions, O as LayoutMode, P as MentionCandidate, Q as MentionProvider, R as OutlineBlock, T as OutlineInsertion, U as PreviewPanel, V as PreviewPanelProps, W as RawEditor, Y as RawEditorProps, Z as ThemeInheritance, _ as ViewPreferences, $ as WriteCanvasSettings, a0 as WysiwygEditor, a1 as WysiwygEditorProps, a2 as XLSX_LOCKED_REASON, a3 as XlsxFormulaSession, a4 as applySourceEditsToText, a5 as blockInsertionPoint, a6 as createXlsxFormulaSession, a7 as getBlockSlices, a8 as headingDepthForInsertion, a9 as ingestSidecarBytes, aa as joinBlockAt, ab as lineToOffset, ac as minimalReplaceEdit, ad as normalizeSourceEdits, ae as offsetToLine, af as resolveOutlineInsertion, ag as sliceIndexAtOffset, ah as sourceOutline, ai as spliceBlock, aj as useEditorContext, ak as useEditorContextMenuItems, al as useEditorInsertMenuItems } from './shell-BVxeKlCx.js';
3
3
  import * as react from 'react';
4
4
  import { ReactNode, CSSProperties, ReactElement } from 'react';
5
5
  import { Doc, ScheduledClip, VideoPlacement, VideoPipSize, VideoPipShape, VideoPipPosition, MediaEdits, MediaProvider, Theme, CustomTemplateDefinition, ThemeSeedColors, ViewportPreset, ViewportConfig, Block, MediaEntry, DiagramEdgeAnchor } from '@bendyline/squisq/schemas';
@@ -1027,13 +1027,17 @@ interface ToolbarProps {
1027
1027
  * keyboard-switch targets. Defaults to `'document'`.
1028
1028
  */
1029
1029
  hostMode?: EditorHostMode;
1030
+ /** The document cannot be edited: Find offers no Replace. */
1031
+ readOnly?: boolean;
1032
+ /** Bind Ctrl/Cmd+F and Ctrl+H / Cmd+Option+F while focus is inside this editor. */
1033
+ findShortcut?: boolean;
1030
1034
  }
1031
1035
  /**
1032
1036
  * Formatting toolbar.
1033
1037
  * - WYSIWYG: calls Tiptap chain commands (toggleBold, etc.)
1034
1038
  * - Raw: appends markdown syntax to the source
1035
1039
  */
1036
- declare function Toolbar({ className, showFiles, fileCount, onToggleFiles, slotLeft, slotAfterTabs, slotAfterActions, slotRight, showPlayTab, showFormattingControls, showInsertControls, hostMode, }: ToolbarProps): react.JSX.Element;
1040
+ declare function Toolbar({ className, showFiles, fileCount, onToggleFiles, slotLeft, slotAfterTabs, slotAfterActions, slotRight, showPlayTab, showFormattingControls, showInsertControls, hostMode, readOnly, findShortcut, }: ToolbarProps): react.JSX.Element;
1037
1041
 
1038
1042
  /**
1039
1043
  * VersionHistoryPanel
package/dist/index.js CHANGED
@@ -232,7 +232,7 @@ import {
232
232
  videoEmbedParagraphJson,
233
233
  viewStateFromBinding,
234
234
  writeHeadingViewState
235
- } from "./chunk-SFSSWQR3.js";
235
+ } from "./chunk-JGIETDY5.js";
236
236
  import {
237
237
  EditorProvider,
238
238
  applySourceEditsToText,
@@ -253,7 +253,7 @@ import {
253
253
  useBlockNavigator,
254
254
  useEditorContext,
255
255
  useEditorInsertMenuItems
256
- } from "./chunk-UCYZBMCG.js";
256
+ } from "./chunk-TRBNNRLK.js";
257
257
  import {
258
258
  SPEECH_INPUT_SAMPLE_RATE,
259
259
  isSpeechInputProviderFactory,
@@ -19,7 +19,7 @@ import {
19
19
  updateReviewDecorations,
20
20
  useReview,
21
21
  useReviewState
22
- } from "../chunk-UCYZBMCG.js";
22
+ } from "../chunk-TRBNNRLK.js";
23
23
  import "../chunk-DNEVUOBZ.js";
24
24
  import "../chunk-HSWWEWT4.js";
25
25
 
@@ -1,4 +1,4 @@
1
- export { h as BlockTagVisibility, k as DocumentLinkCandidate, l as DocumentLinkProvider, m as EditorActions, n as EditorColorScheme, o as EditorContextMenuContext, p as EditorContextMenuItem, q as EditorContextMenuItemVisibility, r as EditorContextMenuProvider, s as EditorContextMenuProviderProps, t as EditorContextValue, E as EditorHostMode, u as EditorInsertMenuItem, v as EditorMode, w as EditorProvider, x as EditorProviderProps, z as EditorShell, G as EditorShellProps, H as EditorState, b as EditorView, J as ImageDisplayMode, M as LayoutMode, N as MentionCandidate, O as MentionProvider, R as PreviewPanel, T as PreviewPanelProps, U as RawEditor, V as RawEditorProps, W as ThemeInheritance, Y as ViewPreferences, _ as WysiwygEditor, $ as WysiwygEditorProps, ah as useEditorContext, ai as useEditorContextMenuItems, aj as useEditorInsertMenuItems } from '../shell-CyUZ1rcq.js';
1
+ export { h as BlockTagVisibility, k as DocumentLinkCandidate, l as DocumentLinkProvider, m as EditorActions, n as EditorColorScheme, o as EditorContextMenuContext, p as EditorContextMenuItem, q as EditorContextMenuItemVisibility, r as EditorContextMenuProvider, s as EditorContextMenuProviderProps, t as EditorContextValue, E as EditorHostMode, u as EditorInsertMenuItem, v as EditorMode, w as EditorProvider, x as EditorProviderProps, z as EditorShell, G as EditorShellProps, H as EditorState, b as EditorView, L as ImageDisplayMode, O as LayoutMode, P as MentionCandidate, Q as MentionProvider, U as PreviewPanel, V as PreviewPanelProps, W as RawEditor, Y as RawEditorProps, Z as ThemeInheritance, _ as ViewPreferences, a0 as WysiwygEditor, a1 as WysiwygEditorProps, aj as useEditorContext, ak as useEditorContextMenuItems, al as useEditorInsertMenuItems } from '../shell-BVxeKlCx.js';
2
2
  import 'react';
3
3
  import '@bendyline/squisq/table';
4
4
  import '@bendyline/squisq-calc';
@@ -5,12 +5,12 @@ import {
5
5
  RawEditor,
6
6
  WysiwygEditor,
7
7
  useEditorContextMenuItems
8
- } from "../chunk-SFSSWQR3.js";
8
+ } from "../chunk-JGIETDY5.js";
9
9
  import {
10
10
  EditorProvider,
11
11
  useEditorContext,
12
12
  useEditorInsertMenuItems
13
- } from "../chunk-UCYZBMCG.js";
13
+ } from "../chunk-TRBNNRLK.js";
14
14
  import "../chunk-DNEVUOBZ.js";
15
15
  import "../chunk-V4NBQF5C.js";
16
16
  import "../chunk-OCQEWWHI.js";
@@ -304,6 +304,25 @@ declare function blockInsertionPoint(source: string, cursorOffset: number, place
304
304
  */
305
305
  declare function joinBlockAt(source: string, offset: number, block: string): MarkdownSourceEdit;
306
306
 
307
+ interface FindOptions {
308
+ /** Match letter case exactly. Default: case-insensitive (Unicode case folding). */
309
+ readonly matchCase?: boolean;
310
+ /**
311
+ * Only match where the query is not part of a longer word. Applies at each
312
+ * end of the query that is itself a word character, so `c++` still matches.
313
+ */
314
+ readonly wholeWord?: boolean;
315
+ }
316
+ /**
317
+ * A host request to show particular results, e.g. after opening a workspace
318
+ * search hit: the query, its options, and which match to select.
319
+ */
320
+ interface FindRequest extends FindOptions {
321
+ readonly query: string;
322
+ /** 0-based index, in document order, of the match to select. */
323
+ readonly occurrence?: number;
324
+ }
325
+
307
326
  /**
308
327
  * Configuration a Scene host (diagram / drawing / layout widget) supplies
309
328
  * so the shared inline text editor knows how to read and write the text of
@@ -468,6 +487,8 @@ interface EditorState {
468
487
  editorMode: EditorMode;
469
488
  /** Whether the host-triggered Find toolbar is active. */
470
489
  findMode: boolean;
490
+ /** Host request for a particular query and match (see `EditorShellProps.findRequest`). */
491
+ findRequest: FindRequest | null;
471
492
  /** Monaco language ID for the Raw editor. */
472
493
  language: string;
473
494
  /**
@@ -980,6 +1001,8 @@ interface EditorProviderProps {
980
1001
  findMode?: boolean;
981
1002
  /** Notified when Find mode requests a state change (for example, its X button). */
982
1003
  onFindModeChange?: (active: boolean) => void;
1004
+ /** Query, options, and match to show when Find mode opens or the request changes. */
1005
+ findRequest?: FindRequest | null;
983
1006
  /**
984
1007
  * Initial visibility of the inline preview gutter. Defaults to false.
985
1008
  * The toolbar's View menu can toggle it at runtime.
@@ -1059,7 +1082,7 @@ interface ViewPreferences {
1059
1082
  /** Document vs. block-at-a-time layout. */
1060
1083
  layoutMode?: LayoutMode;
1061
1084
  }
1062
- declare function EditorProvider({ initialMarkdown, initialView, articleId, colorScheme: initialColorScheme, workspaceContainer, allowVersioning, versionBasename, versioningPrunePolicy, versioningAutoSaveIdleMs, onSaveVersion, mediaProvider, mediaEditRenders, imageDisplayMode, mentionProvider, proofing, proofingDefaultEnabled, proofingSpellingEnabled, proofingGrammarEnabled, proofingIgnoreStore, speechInput, documentLinkProvider, fenceRenderers, onCopyCode, linkSchemes, allowRecording, allowNarrate, preserveSourceWrapping, fileName, saveCoverImageOutput, saveDashboardImageOutput, language, findMode: controlledFindMode, onFindModeChange, inlinePreview, showStatusBar, outline, blockTags, blockTagVisibility: initialBlockTagVisibility, themeInheritance, layoutMode, viewPreferences, onViewPreferencesChange, children, }: EditorProviderProps): react.JSX.Element;
1085
+ declare function EditorProvider({ initialMarkdown, initialView, articleId, colorScheme: initialColorScheme, workspaceContainer, allowVersioning, versionBasename, versioningPrunePolicy, versioningAutoSaveIdleMs, onSaveVersion, mediaProvider, mediaEditRenders, imageDisplayMode, mentionProvider, proofing, proofingDefaultEnabled, proofingSpellingEnabled, proofingGrammarEnabled, proofingIgnoreStore, speechInput, documentLinkProvider, fenceRenderers, onCopyCode, linkSchemes, allowRecording, allowNarrate, preserveSourceWrapping, fileName, saveCoverImageOutput, saveDashboardImageOutput, language, findMode: controlledFindMode, onFindModeChange, findRequest, inlinePreview, showStatusBar, outline, blockTags, blockTagVisibility: initialBlockTagVisibility, themeInheritance, layoutMode, viewPreferences, onViewPreferencesChange, children, }: EditorProviderProps): react.JSX.Element;
1063
1086
 
1064
1087
  /**
1065
1088
  * Host-supplied context sections rendered INSIDE the Monaco (raw/code)
@@ -1468,6 +1491,19 @@ interface EditorShellProps {
1468
1491
  findMode?: boolean;
1469
1492
  /** Called when Find mode requests a state change, including its X button. */
1470
1493
  onFindModeChange?: (active: boolean) => void;
1494
+ /**
1495
+ * Show particular results in Find mode: the query, its Match case / Whole
1496
+ * word options, and which match (`occurrence`, 0-based in document order)
1497
+ * to select. Applied when Find opens and whenever a new request object is
1498
+ * passed, so a host can open a document straight at a search hit.
1499
+ */
1500
+ findRequest?: FindRequest | null;
1501
+ /**
1502
+ * Bind Ctrl/Cmd+F (find) and Ctrl+H / Cmd+Option+F (replace) while focus is
1503
+ * inside this editor. Off by default so hosts with their own shortcut keep
1504
+ * control; when on, the shortcuts replace Monaco's built-in find widget.
1505
+ */
1506
+ findShortcut?: boolean;
1471
1507
  /**
1472
1508
  * Optional async provider for `@`-mention suggestions. When supplied,
1473
1509
  * typing `@` inside the editor opens a popover of candidates; selecting
@@ -1721,7 +1757,7 @@ interface EditorShellProps {
1721
1757
  * Complete markdown editor shell with toolbar, view switcher, and three
1722
1758
  * editing modes: Raw (Monaco), WYSIWYG (Tiptap), and Preview.
1723
1759
  */
1724
- declare function EditorShell({ initialMarkdown, initialView, hostMode, defaultViewportPreset, articleId, basePath, onChange, onLinkClick, showCodeCopyButton, onCopyCode, colorScheme, className, height, minHeight, maxHeight, mediaProvider, mediaEditRenders, workspaceContainer, allowVersioning, versionBasename, versioningPrunePolicy, versioningAutoSaveIdleMs, onSaveVersion, showFilesToggle, showFilesWhenNotEmpty, showFormattingControls, showInsertControls, allowBinaryDownloads, toolbarSlotLeft, toolbarSlotAfterActions, toolbarSlotRight, summarizationDesigner, statusBarSlotRight, sidePanelSlot, reviewProviders, showPlayTab, allowPresentationWindow, allowPresentationFullscreen, allowPrint, submitOnEnter, calcEngineFactory, codeContext, fullWidth, uxFont, thinMargins, writeCanvasSettings, showStatusBar, imageDisplayMode, fileName, saveCoverImageOutput, saveDashboardImageOutput, language, findMode, onFindModeChange, mentionProvider, proofing, proofingDefaultEnabled, proofingSpellingEnabled, proofingGrammarEnabled, proofingIgnoreStore, speechInput, documentLinkProvider, fenceRenderers, linkSchemes, allowRecording, allowNarrate, preserveSourceWrapping, placeholder, readOnly, imageSrc, imageAlt, imageMode, imageEditorContainer, onImageExport, inlinePreview, inlinePreviewWidth, outline, outlineWidth, blockTags, blockTagVisibility, themeInheritance, viewPreferences, onViewPreferencesChange, themeOverride, defaultThemeId, defaultThemeLabel, }: EditorShellProps): react.JSX.Element;
1760
+ declare function EditorShell({ initialMarkdown, initialView, hostMode, defaultViewportPreset, articleId, basePath, onChange, onLinkClick, showCodeCopyButton, onCopyCode, colorScheme, className, height, minHeight, maxHeight, mediaProvider, mediaEditRenders, workspaceContainer, allowVersioning, versionBasename, versioningPrunePolicy, versioningAutoSaveIdleMs, onSaveVersion, showFilesToggle, showFilesWhenNotEmpty, showFormattingControls, showInsertControls, allowBinaryDownloads, toolbarSlotLeft, toolbarSlotAfterActions, toolbarSlotRight, summarizationDesigner, statusBarSlotRight, sidePanelSlot, reviewProviders, showPlayTab, allowPresentationWindow, allowPresentationFullscreen, allowPrint, submitOnEnter, calcEngineFactory, codeContext, fullWidth, uxFont, thinMargins, writeCanvasSettings, showStatusBar, imageDisplayMode, fileName, saveCoverImageOutput, saveDashboardImageOutput, language, findMode, onFindModeChange, findRequest, findShortcut, mentionProvider, proofing, proofingDefaultEnabled, proofingSpellingEnabled, proofingGrammarEnabled, proofingIgnoreStore, speechInput, documentLinkProvider, fenceRenderers, linkSchemes, allowRecording, allowNarrate, preserveSourceWrapping, placeholder, readOnly, imageSrc, imageAlt, imageMode, imageEditorContainer, onImageExport, inlinePreview, inlinePreviewWidth, outline, outlineWidth, blockTags, blockTagVisibility, themeInheritance, viewPreferences, onViewPreferencesChange, themeOverride, defaultThemeId, defaultThemeLabel, }: EditorShellProps): react.JSX.Element;
1725
1761
 
1726
1762
  /**
1727
1763
  * Shared editor context menu.
@@ -1881,4 +1917,4 @@ interface EditorInsertMenuItem {
1881
1917
  /** Call from a toolbar slot; callbacks retain access to the editor context. */
1882
1918
  declare function useEditorInsertMenuItems(items: readonly EditorInsertMenuItem[]): void;
1883
1919
 
1884
- export { type WysiwygEditorProps as $, type ApplySourceEditsOptions as A, type BlockInsertionBuilder as B, type CodeContext as C, type DashboardImageSaveOutput as D, type EditorHostMode as E, type FormulaEditRecord as F, type EditorShellProps as G, type EditorState as H, type FormulaSessionOptions as I, type ImageDisplayMode as J, type IngestedSidecar as K, type InsertBlockOptions as L, type LayoutMode as M, type MentionCandidate as N, type MentionProvider as O, type OutlineBlock as P, type OutlineInsertion as Q, PreviewPanel as R, type SceneTextChannel as S, type PreviewPanelProps as T, RawEditor as U, type RawEditorProps as V, type ThemeInheritance as W, type XlsxSourceMeta as X, type ViewPreferences as Y, type WriteCanvasSettings as Z, WysiwygEditor as _, type CalcEngineFactory as a, XLSX_LOCKED_REASON as a0, type XlsxFormulaSession as a1, applySourceEditsToText as a2, blockInsertionPoint as a3, createXlsxFormulaSession as a4, getBlockSlices as a5, headingDepthForInsertion as a6, ingestSidecarBytes as a7, joinBlockAt as a8, lineToOffset as a9, minimalReplaceEdit as aa, normalizeSourceEdits as ab, offsetToLine as ac, resolveOutlineInsertion as ad, sliceIndexAtOffset as ae, sourceOutline as af, spliceBlock as ag, useEditorContext as ah, useEditorContextMenuItems as ai, useEditorInsertMenuItems as aj, type EditorView as b, type CsvSourceMeta as c, type BlockInsertionContext as d, type BlockPlacement as e, type BlockRange as f, type BlockSlice as g, type BlockTagVisibility as h, type CodeContextSection as i, type CoverImageSaveOutput as j, type DocumentLinkCandidate as k, type DocumentLinkProvider as l, type EditorActions as m, type EditorColorScheme as n, type EditorContextMenuContext as o, type EditorContextMenuItem as p, type EditorContextMenuItemVisibility as q, EditorContextMenuProvider as r, type EditorContextMenuProviderProps as s, type EditorContextValue as t, type EditorInsertMenuItem as u, type EditorMode as v, EditorProvider as w, type EditorProviderProps as x, type EditorSelectionInfo as y, EditorShell as z };
1920
+ export { type WriteCanvasSettings as $, type ApplySourceEditsOptions as A, type BlockInsertionBuilder as B, type CodeContext as C, type DashboardImageSaveOutput as D, type EditorHostMode as E, type FormulaEditRecord as F, type EditorShellProps as G, type EditorState as H, type FindOptions as I, type FindRequest as J, type FormulaSessionOptions as K, type ImageDisplayMode as L, type IngestedSidecar as M, type InsertBlockOptions as N, type LayoutMode as O, type MentionCandidate as P, type MentionProvider as Q, type OutlineBlock as R, type SceneTextChannel as S, type OutlineInsertion as T, PreviewPanel as U, type PreviewPanelProps as V, RawEditor as W, type XlsxSourceMeta as X, type RawEditorProps as Y, type ThemeInheritance as Z, type ViewPreferences as _, type CalcEngineFactory as a, WysiwygEditor as a0, type WysiwygEditorProps as a1, XLSX_LOCKED_REASON as a2, type XlsxFormulaSession as a3, applySourceEditsToText as a4, blockInsertionPoint as a5, createXlsxFormulaSession as a6, getBlockSlices as a7, headingDepthForInsertion as a8, ingestSidecarBytes as a9, joinBlockAt as aa, lineToOffset as ab, minimalReplaceEdit as ac, normalizeSourceEdits as ad, offsetToLine as ae, resolveOutlineInsertion as af, sliceIndexAtOffset as ag, sourceOutline as ah, spliceBlock as ai, useEditorContext as aj, useEditorContextMenuItems as ak, useEditorInsertMenuItems as al, type EditorView as b, type CsvSourceMeta as c, type BlockInsertionContext as d, type BlockPlacement as e, type BlockRange as f, type BlockSlice as g, type BlockTagVisibility as h, type CodeContextSection as i, type CoverImageSaveOutput as j, type DocumentLinkCandidate as k, type DocumentLinkProvider as l, type EditorActions as m, type EditorColorScheme as n, type EditorContextMenuContext as o, type EditorContextMenuItem as p, type EditorContextMenuItemVisibility as q, EditorContextMenuProvider as r, type EditorContextMenuProviderProps as s, type EditorContextValue as t, type EditorInsertMenuItem as u, type EditorMode as v, EditorProvider as w, type EditorProviderProps as x, type EditorSelectionInfo as y, EditorShell as z };
@@ -8421,6 +8421,26 @@
8421
8421
  .squisq-find-close {
8422
8422
  margin-left: 2px;
8423
8423
  }
8424
+ .squisq-find-option {
8425
+ font-size: 11.5px;
8426
+ font-weight: 600;
8427
+ }
8428
+ .squisq-find-option--word span {
8429
+ text-decoration: underline;
8430
+ text-underline-offset: 3px;
8431
+ }
8432
+ .squisq-find-option[aria-pressed=true] {
8433
+ background: var(--squisq-accent-subtle);
8434
+ color: var(--squisq-accent-strong);
8435
+ box-shadow: inset 0 0 0 1px var(--squisq-accent-border);
8436
+ }
8437
+ .squisq-find-replace-toggle {
8438
+ width: 20px;
8439
+ font-size: 10px;
8440
+ }
8441
+ .squisq-replace-field {
8442
+ flex-basis: 260px;
8443
+ }
8424
8444
  .squisq-find-match {
8425
8445
  border-radius: 2px;
8426
8446
  background: var(--squisq-find-match) !important;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bendyline/squisq-editor-react",
3
- "version": "2.11.22",
3
+ "version": "2.11.23",
4
4
  "description": "React editor shell with raw/WYSIWYG/preview modes for Squisq documents",
5
5
  "license": "MIT",
6
6
  "author": "Bendyline",