@cratis/event-models 0.256.1 → 0.256.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 NavigationRegionKind } from '@cratis/scene.model';
|
|
1
2
|
import type { ScreenEditorController } from '../Host/ScreenEditorController';
|
|
2
3
|
import type { ScreenEditorEnvironment } from '../Host/ScreenEditorHost';
|
|
3
4
|
import type { ScreenEditorStrings } from './ScreenEditorStrings';
|
|
@@ -5,9 +6,11 @@ export interface NavigationSectionProps {
|
|
|
5
6
|
controller: ScreenEditorController;
|
|
6
7
|
environment: ScreenEditorEnvironment;
|
|
7
8
|
strings: ScreenEditorStrings;
|
|
9
|
+
region?: NavigationRegionKind;
|
|
10
|
+
itemId?: string;
|
|
8
11
|
}
|
|
9
12
|
export declare const slotNames: (text: {
|
|
10
13
|
mainArea: string;
|
|
11
14
|
sidePanel: string;
|
|
12
15
|
}) => Record<string, string>;
|
|
13
|
-
export declare const NavigationSection: ({ controller, environment, strings }: NavigationSectionProps) => import("react").JSX.Element | null;
|
|
16
|
+
export declare const NavigationSection: ({ controller, environment, strings, region: given, itemId }: NavigationSectionProps) => import("react").JSX.Element | null;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import type { ScreenEditorController } from '../Host/ScreenEditorController';
|
|
2
|
+
import type { ScreenEditorEnvironment } from '../Host/ScreenEditorHost';
|
|
3
|
+
import type { ScreenEditorStrings } from './ScreenEditorStrings';
|
|
4
|
+
export interface ShellNavigationSectionProps {
|
|
5
|
+
controller: ScreenEditorController;
|
|
6
|
+
environment: ScreenEditorEnvironment;
|
|
7
|
+
strings: ScreenEditorStrings;
|
|
8
|
+
}
|
|
9
|
+
export declare const shellNavigationStrings: {
|
|
10
|
+
readonly title: 'Application navigation';
|
|
11
|
+
readonly hint: 'The topbar and the sidebar the application shows around every screen. Changes are saved with the screen and exported with the application.';
|
|
12
|
+
readonly level: 'Edit the navigation of';
|
|
13
|
+
readonly region: 'Region';
|
|
14
|
+
readonly items: 'Items';
|
|
15
|
+
readonly empty: 'No items here yet.';
|
|
16
|
+
readonly add: 'Add item';
|
|
17
|
+
readonly addSub: 'Add sub-item';
|
|
18
|
+
readonly earlier: 'Move earlier';
|
|
19
|
+
readonly later: 'Move later';
|
|
20
|
+
readonly duplicate: 'Duplicate';
|
|
21
|
+
readonly remove: 'Remove';
|
|
22
|
+
readonly inherited: 'inherited';
|
|
23
|
+
readonly notLinked: 'not linked';
|
|
24
|
+
};
|
|
25
|
+
export declare const ShellNavigationSection: ({ controller, environment, strings }: ShellNavigationSectionProps) => import("react").JSX.Element | null;
|