react-reason-editor-sidebar 0.1.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/Sidebar.d.ts +2 -0
- package/dist/SidebarContent.d.ts +7 -0
- package/dist/SidebarFooter.d.ts +37 -0
- package/dist/SidebarToolbar.d.ts +89 -0
- package/dist/SidebarViewMenu.d.ts +20 -0
- package/dist/app-types/fileSource.d.ts +124 -0
- package/dist/app-types/toc.d.ts +2 -0
- package/dist/app-ui/FileTypeIcon.d.ts +11 -0
- package/dist/app-ui/alert-dialog.d.ts +14 -0
- package/dist/app-ui/badge.d.ts +13 -0
- package/dist/app-ui/button.d.ts +15 -0
- package/dist/app-ui/context-menu.d.ts +28 -0
- package/dist/app-ui/dialog.d.ts +15 -0
- package/dist/app-ui/dropdown-menu.d.ts +25 -0
- package/dist/app-ui/input.d.ts +7 -0
- package/dist/app-ui/sheet.d.ts +13 -0
- package/dist/app-ui/tooltip.d.ts +7 -0
- package/dist/app-ui/tree.d.ts +23 -0
- package/dist/app-utils/file-sources/sources.d.ts +43 -0
- package/dist/app-utils/utils.d.ts +1 -0
- package/dist/dialogs/FileManagerModal.d.ts +11 -0
- package/dist/dialogs/filemanager-data.d.ts +17 -0
- package/dist/documents/DocumentTree.d.ts +59 -0
- package/dist/documents/defaultDocuments.d.ts +12 -0
- package/dist/features/ai-rewrite/AIRewriteSuggestion.d.ts +27 -0
- package/dist/features/ai-rewrite/rewriteModes.d.ts +37 -0
- package/dist/file-tree/FileTreeContextMenu.d.ts +18 -0
- package/dist/file-tree/documentUtils.d.ts +63 -0
- package/dist/file-tree/expandLevels.d.ts +32 -0
- package/dist/file-tree/filetree.d.ts +66 -0
- package/dist/file-tree/index.d.ts +9 -0
- package/dist/file-tree/useFileTreeOperations.d.ts +27 -0
- package/dist/fileSourceUtils.d.ts +2 -0
- package/dist/index.cjs +46 -0
- package/dist/index.d.ts +37 -0
- package/dist/index.mjs +20301 -0
- package/dist/layout/sidebar/index.d.ts +10 -0
- package/dist/layout/sidebar/panelOptions.d.ts +37 -0
- package/dist/layout/sidebar/types.d.ts +227 -0
- package/dist/search/OutlineView.d.ts +51 -0
- package/dist/search/relatedDocuments.d.ts +46 -0
- package/dist/search/useActiveHeading.d.ts +40 -0
- package/dist/style.css +2 -0
- package/dist/utils/storage.d.ts +7 -0
- package/package.json +77 -0
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @module react-reason-editor-sidebar
|
|
3
|
+
* @description The REASON editor's sidebar as a standalone package: the
|
|
4
|
+
* files/folders tree, the "Open Tabs" panel and its all-tabs menu, the
|
|
5
|
+
* outline/AI/related panels, and the split-view menu that toggles which of
|
|
6
|
+
* them are visible. Designed to be injected into `ReasonDocs`/`RightPanel`
|
|
7
|
+
* (from `react-reason-editor`) via their `SidebarComponent`/
|
|
8
|
+
* `SidebarContentComponent` props. Depends on `react-reason-editor` for
|
|
9
|
+
* nothing — `reason-editor` depends on this package instead, so the
|
|
10
|
+
* dependency stays one-way and avoids a circular workspace dependency.
|
|
11
|
+
*/
|
|
12
|
+
export { Sidebar } from './Sidebar';
|
|
13
|
+
export { SidebarToolbar } from './SidebarToolbar';
|
|
14
|
+
export { SidebarFooter } from './SidebarFooter';
|
|
15
|
+
export { SidebarContent } from './SidebarContent';
|
|
16
|
+
export { SidebarViewMenu } from './SidebarViewMenu';
|
|
17
|
+
export * from './fileSourceUtils';
|
|
18
|
+
export type { SidebarProps, SidebarContentProps, SidebarPanelType, OpenTabKind, OpenTabItem, SidebarAiProps, SidebarTipsProps, SidebarTopicsProps, } from './layout/sidebar/types';
|
|
19
|
+
export { PANEL_OPTIONS, togglePanel, sortPanels } from './layout/sidebar/panelOptions';
|
|
20
|
+
export { FileTree } from './file-tree';
|
|
21
|
+
export type { DocumentTreeHandle } from './file-tree/filetree';
|
|
22
|
+
export { OutlineView } from './search/OutlineView';
|
|
23
|
+
export type { OutlineViewHandle } from './search/OutlineView';
|
|
24
|
+
export type { ActiveHeadingEditorHandle } from './search/useActiveHeading';
|
|
25
|
+
export { findRelatedDocuments, splitTopSuggestion } from './search/relatedDocuments';
|
|
26
|
+
export type { RelatedDocumentResult, RelatedDocumentsSplit } from './search/relatedDocuments';
|
|
27
|
+
export { AIRewriteSuggestion } from './features/ai-rewrite/AIRewriteSuggestion';
|
|
28
|
+
export { getRewriteModes, saveRewriteModes, resetRewriteModes, DEFAULT_REWRITE_MODES, } from './features/ai-rewrite/rewriteModes';
|
|
29
|
+
export type { RewriteMode } from './features/ai-rewrite/rewriteModes';
|
|
30
|
+
export type { Document } from './documents/DocumentTree';
|
|
31
|
+
export { defaultDocuments } from './documents/defaultDocuments';
|
|
32
|
+
export type { TocEntry } from './app-types/toc';
|
|
33
|
+
export { FileManagerModal } from './dialogs/FileManagerModal';
|
|
34
|
+
export type * from './app-types/fileSource';
|
|
35
|
+
export { getFileSources, saveFileSources, addFileSource, updateFileSource, deleteFileSource, getActiveFileSourceId, setActiveFileSourceId, getActiveFileSource, } from './app-utils/file-sources/sources';
|
|
36
|
+
export { cn } from './app-utils/utils';
|
|
37
|
+
export { ssrSafeLocalStorage } from './utils/storage';
|