nexus-shell 0.1.12 → 0.1.13

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.
@@ -0,0 +1,11 @@
1
+ import { default as React } from 'react';
2
+ import { IbisNodeType } from '../../core/services/DialogueMappingService';
3
+
4
+ export interface DialogueMapperLibraryProps {
5
+ onAddNode: (type: IbisNodeType) => void;
6
+ onClose?: () => void;
7
+ className?: string;
8
+ onDragStart?: (event: React.DragEvent<HTMLButtonElement>, type: IbisNodeType) => void;
9
+ }
10
+ export declare const DialogueMapperLibrary: React.FC<DialogueMapperLibraryProps>;
11
+ export default DialogueMapperLibrary;
@@ -0,0 +1,10 @@
1
+ import { default as React } from 'react';
2
+
3
+ export interface DialogueMapperTitleProps {
4
+ title?: string;
5
+ subtitle?: string;
6
+ icon?: React.ReactNode;
7
+ className?: string;
8
+ }
9
+ export declare const DialogueMapperTitle: React.FC<DialogueMapperTitleProps>;
10
+ export default DialogueMapperTitle;
@@ -0,0 +1,14 @@
1
+ import { default as React } from 'react';
2
+
3
+ export interface FlowControlToolbarProps {
4
+ variant?: 'header' | 'floating';
5
+ dragMode?: 'pan' | 'select';
6
+ onDragModeChange?: (mode: 'pan' | 'select') => void;
7
+ onLayoutChange: (direction: 'vertical' | 'horizontal' | 'grid') => void;
8
+ onUndo: () => void;
9
+ canUndo?: boolean;
10
+ title?: string;
11
+ className?: string;
12
+ }
13
+ export declare const FlowControlToolbar: React.FC<FlowControlToolbarProps>;
14
+ export default FlowControlToolbar;
@@ -0,0 +1,7 @@
1
+ import { default as React } from 'react';
2
+
3
+ export interface ThemeSwitcherProps {
4
+ className?: string;
5
+ }
6
+ export declare const ThemeSwitcher: React.FC<ThemeSwitcherProps>;
7
+ export default ThemeSwitcher;
@@ -28,6 +28,11 @@ interface DialogueMappingState {
28
28
  }, parentNodeId?: string | null) => void;
29
29
  updateNodeData: (id: string, updates: Partial<IDialogueNodeData>) => void;
30
30
  deleteNode: (id: string) => void;
31
+ deleteEdge: (id: string) => void;
32
+ pasteNode: (type: IbisNodeType, position: {
33
+ x: number;
34
+ y: number;
35
+ }, initialData: Partial<IDialogueNodeData>) => void;
31
36
  connectNodes: (connection: Connection) => boolean;
32
37
  validateConnection: (sourceId: string, targetId: string) => {
33
38
  valid: boolean;