@cratis/event-models 0.281.1 → 0.281.2

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.
@@ -1,3 +1,4 @@
1
+ import type { ReactNode } from 'react';
1
2
  import type { SceneDocument } from '@cratis/scene.model';
2
3
  import type { ScreenEditorStrings } from '../Inspector/ScreenEditorStrings';
3
4
  import type { ScreenEditorController } from './ScreenEditorController';
@@ -24,10 +25,11 @@ export interface ScreenEditorWindowProps {
24
25
  strings: ScreenEditorStrings;
25
26
  window: ScreenEditorWindowState;
26
27
  authoringTemplate?: string;
28
+ title?: ReactNode;
27
29
  deviceFrame?: boolean;
28
30
  saveFailure?: string;
29
31
  onKeepEditing?: () => void;
30
32
  onDiscard?: () => void;
31
33
  onPreview?: (document: SceneDocument) => void;
32
34
  }
33
- export declare const ScreenEditorWindow: ({ controller, environment, strings, window: state, authoringTemplate, deviceFrame, saveFailure, onKeepEditing, onDiscard, onPreview }: ScreenEditorWindowProps) => import("react").JSX.Element;
35
+ export declare const ScreenEditorWindow: ({ controller, environment, strings, window: state, authoringTemplate, title, deviceFrame, saveFailure, onKeepEditing, onDiscard, onPreview }: ScreenEditorWindowProps) => import("react").JSX.Element;
@@ -16,6 +16,7 @@ export interface ScreenEditorWorkspaceProps {
16
16
  };
17
17
  onChange?: (result: ScreenEditorResult) => void;
18
18
  renderPaletteHost?: (palette: ReactNode) => ReactNode;
19
+ title?: ReactNode;
19
20
  onDismiss?: () => void;
20
21
  }
21
22
  export declare const ScreenEditorWorkspace: (props: ScreenEditorWorkspaceProps) => import("react").JSX.Element;
@@ -1,5 +1,6 @@
1
1
  import type { ReactNode } from 'react';
2
2
  export interface WindowTitleBarProps {
3
3
  controls: ReactNode;
4
+ title?: ReactNode;
4
5
  }
5
- export declare const WindowTitleBar: ({ controls }: WindowTitleBarProps) => import("react").JSX.Element;
6
+ export declare const WindowTitleBar: ({ controls, title }: WindowTitleBarProps) => import("react").JSX.Element;