UNPKG

@composable-svelte/code

Version:

Code editor, syntax highlighting, and node-based canvas components for Composable Svelte - Built with Prism.js, CodeMirror, and SvelteFlow

13 lines 1.31 kB
/** * @composable-svelte/code * * Code editor and syntax highlighting components for Composable Svelte * * Built with Prism.js and CodeMirror following Composable Architecture patterns * * @packageDocumentation */ export { CodeHighlight, codeHighlightReducer, highlightCode, loadLanguage, createInitialState, type CodeHighlightState, type CodeHighlightAction, type CodeHighlightDependencies, type SupportedLanguage } from './code-highlight/index'; export { CodeEditor, codeEditorReducer, createEditorView, loadLanguage as loadEditorLanguage, updateEditorValue, updateEditorLanguage, updateEditorTheme, updateEditorReadOnly, updateTabSize, focusEditor, blurEditor, createInitialState as createEditorInitialState, type CodeEditorState, type CodeEditorAction, type CodeEditorDependencies, type SupportedLanguage as EditorLanguage, type EditorSelection } from './code-editor/index'; export { NodeCanvas, nodeCanvasReducer, createConnectionValidator, permissiveValidator, strictValidator, composeValidators, createInitialNodeCanvasState, nodesToArray, edgesToArray, type NodeCanvasState, type NodeCanvasAction, type NodeCanvasDependencies, type NodeTypeDefinition, type PortDefinition, type ConnectionValidation, type ConnectionValidator } from './node-canvas/index'; //# sourceMappingURL=index.d.ts.map