@cratis/event-models 0.152.3 → 0.152.5
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/Board/BoardEditing.d.ts +1 -0
- package/dist/Features/FeatureGridSurface.d.ts +2 -1
- package/dist/Features/FeatureHeader.d.ts +3 -1
- package/dist/Features/FeaturesArea.d.ts +1 -0
- package/dist/Statuses/SliceStatusPicker.d.ts +2 -1
- package/dist/Tooltips/GridTooltip.d.ts +3 -0
- package/dist/Tooltips/pointerIsOver.d.ts +5 -0
- package/dist/index.js +1955 -1917
- package/dist/index.js.map +1 -1
- package/dist/screen-editor/ScreenEditor/Actions/bindingSourceMarkersFor.d.ts +4 -0
- package/dist/screen-editor/ScreenEditor/Actions/commandInputSources.d.ts +9 -0
- package/dist/screen-editor/ScreenEditor/Inspector/ActionEditor.d.ts +2 -1
- package/dist/screen-editor/ScreenEditor/Inspector/DesignTimePropertyEditorsSection.d.ts +14 -0
- package/dist/screen-editor/ScreenEditor/Inspector/ScreenEditorStrings.d.ts +1 -0
- package/dist/screen-editor/ScreenEditor/Integration/index.d.ts +0 -3
- package/dist/screen-editor/ScreenEditor/Runtime/createDesignTimeHost.d.ts +3 -0
- package/dist/screen-editor/ScreenEditor/Runtime/screenEditorRuntime.d.ts +3 -1
- package/dist/screen-editor/ScreenEditor/Runtime/studioEditorKinds.d.ts +1 -0
- package/dist/screen-editor/ScreenEditor/Surface/BindingSourceMarkers.d.ts +10 -0
- package/dist/screen-editor/ScreenEditor/Surface/useSelectedBindingMarkers.d.ts +4 -0
- package/dist/screen-editor/index.js +2330 -2256
- package/dist/screen-editor/screen-editor.css +1 -1
- package/package.json +12 -12
- package/dist/screen-editor/ScreenEditor/Integration/DesignTimeActionExecutionContext.d.ts +0 -8
- package/dist/screen-editor/ScreenEditor/Integration/DesignTimeActionResult.d.ts +0 -7
- package/dist/screen-editor/ScreenEditor/Integration/runDesignTimeAction.d.ts +0 -4
|
@@ -8,6 +8,7 @@ export interface BoardEditing extends SpecificationEditing, StickyNoteChanges {
|
|
|
8
8
|
onSliceOpenStateSet?: (sliceId: Guid, isOpen: boolean) => void;
|
|
9
9
|
onSliceRenamed?: (sliceId: Guid, name: string) => void;
|
|
10
10
|
onSliceStatusChanged?: (sliceId: Guid, status: SliceStatus) => Promise<boolean | void> | void;
|
|
11
|
+
onFeatureStatusChanged?: (featureId: Guid, status: SliceStatus) => Promise<boolean | void> | void;
|
|
11
12
|
onTranslationDirectionChanged?: (sliceId: Guid, direction: TranslationDirection) => Promise<boolean | void> | void;
|
|
12
13
|
onSliceAdded?: (afterSliceId: Guid, sliceType: SliceType) => void;
|
|
13
14
|
onFeatureAdded?: (moduleId: Guid) => void;
|
|
@@ -8,8 +8,9 @@ export interface FeatureGridSurfaceProps {
|
|
|
8
8
|
rowCollapsed: boolean;
|
|
9
9
|
width: number;
|
|
10
10
|
headerVisibility: 'visible' | 'hidden' | 'none';
|
|
11
|
+
nested?: boolean;
|
|
11
12
|
header: ReactNode;
|
|
12
13
|
screenTemplate?: ReactNode;
|
|
13
14
|
slices: ReactNode;
|
|
14
15
|
}
|
|
15
|
-
export declare const FeatureGridSurface: ({ featureId, moduleId, enabled, collapsed, rowCollapsed, width, headerVisibility, header, screenTemplate, slices }: FeatureGridSurfaceProps) => import("react").JSX.Element;
|
|
16
|
+
export declare const FeatureGridSurface: ({ featureId, moduleId, enabled, collapsed, rowCollapsed, width, headerVisibility, nested, header, screenTemplate, slices }: FeatureGridSurfaceProps) => import("react").JSX.Element;
|
|
@@ -10,6 +10,8 @@ export interface FeatureHeaderProps {
|
|
|
10
10
|
onToggleCollapse?: () => void;
|
|
11
11
|
onRenamed?: (featureId: Guid, name: string) => void;
|
|
12
12
|
status?: SliceStatus;
|
|
13
|
+
selectableStatuses?: readonly SliceStatus[];
|
|
14
|
+
unselectableStatusReason?: string;
|
|
13
15
|
detailsVisible?: boolean;
|
|
14
16
|
onToggleDetails?: () => void;
|
|
15
17
|
dragging?: boolean;
|
|
@@ -18,4 +20,4 @@ export interface FeatureHeaderProps {
|
|
|
18
20
|
onAddSubFeature?: () => void;
|
|
19
21
|
onAddSlice?: (sliceType: SliceType) => void;
|
|
20
22
|
}
|
|
21
|
-
export declare const FeatureHeader: ({ featureId, name, height, collapsed, onToggleCollapse, onRenamed, status, detailsVisible, onToggleDetails, dragging, onDragStart, error, onAddSubFeature, onAddSlice, }: FeatureHeaderProps) => import("react").JSX.Element;
|
|
23
|
+
export declare const FeatureHeader: ({ featureId, name, height, collapsed, onToggleCollapse, onRenamed, status, selectableStatuses, unselectableStatusReason, detailsVisible, onToggleDetails, dragging, onDragStart, error, onAddSubFeature, onAddSlice, }: FeatureHeaderProps) => import("react").JSX.Element;
|
|
@@ -27,6 +27,7 @@ export interface FeaturesAreaProps<T extends FeatureAreaItem<T>> {
|
|
|
27
27
|
}) => ReactNode;
|
|
28
28
|
renderColumn: (feature: T, options: {
|
|
29
29
|
headerVisibility: 'visible' | 'hidden' | 'none';
|
|
30
|
+
nested: boolean;
|
|
30
31
|
addSubFeature?: (name?: string) => void;
|
|
31
32
|
onRenamed?: (name: string) => void;
|
|
32
33
|
onToggleCollapse?: () => void;
|
|
@@ -4,5 +4,6 @@ export interface SliceStatusPickerProps {
|
|
|
4
4
|
onStatusChanged?: (status: SliceStatus) => Promise<boolean | void> | void;
|
|
5
5
|
selectable?: readonly SliceStatus[];
|
|
6
6
|
unselectableReason?: string;
|
|
7
|
+
optimistic?: boolean;
|
|
7
8
|
}
|
|
8
|
-
export declare const SliceStatusPicker: ({ status, onStatusChanged, selectable, unselectableReason }: SliceStatusPickerProps) => import("react").JSX.Element;
|
|
9
|
+
export declare const SliceStatusPicker: ({ status, onStatusChanged, selectable, unselectableReason, optimistic }: SliceStatusPickerProps) => import("react").JSX.Element;
|
|
@@ -15,6 +15,9 @@ export interface GridTooltipProps {
|
|
|
15
15
|
* re-hit-tests and the anchor would otherwise stay "hovered", leaving the property list floating on top
|
|
16
16
|
* of the editor the user is now typing in.
|
|
17
17
|
*
|
|
18
|
+
* The bubble closes when the card is no longer under the pointer even if no leave arrives: the canvas pans and
|
|
19
|
+
* zooms under a still pointer, and the browser reports a pointer leaving only when the pointer moves.
|
|
20
|
+
*
|
|
18
21
|
* Hover is tracked for mouse pointers only: a touch tap synthesizes an enter with no matching leave,
|
|
19
22
|
* which would strand the bubble on screen on a tablet.
|
|
20
23
|
*/
|