@floegence/floe-webapp-core 0.44.2 → 0.46.0
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/components/workbench/WorkbenchFilterBar.d.ts +20 -1
- package/dist/components/workbench/WorkbenchFilterBar.js +443 -322
- package/dist/components/workbench/WorkbenchSurface.d.ts +6 -1
- package/dist/components/workbench/WorkbenchSurface.js +415 -323
- package/dist/components/workbench/index.d.ts +1 -1
- package/dist/components/workbench/workbenchDockFocusCycle.d.ts +30 -0
- package/dist/components/workbench/workbenchDockFocusCycle.js +39 -0
- package/dist/styles.css +1 -1
- package/dist/workbench.css +21 -0
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type UIFirstSelectionEvent } from '../../utils/uiFirstSelection';
|
|
2
2
|
import { type WorkbenchContextMenuItem } from './WorkbenchContextMenu';
|
|
3
|
-
import { type WorkbenchDockItemActivation, type WorkbenchDockAction, type WorkbenchExternalDockDragController, type WorkbenchHostDockItem } from './WorkbenchFilterBar';
|
|
3
|
+
import { type WorkbenchDockItemActivation, type WorkbenchDockItemActivationMode, type WorkbenchDockAction, type WorkbenchExternalDockDragController, type WorkbenchHostDockItem } from './WorkbenchFilterBar';
|
|
4
4
|
import type { WorkbenchState, WorkbenchAnnotationItem, WorkbenchBackgroundLayer, WorkbenchBackgroundLayerDefaults, WorkbenchBackgroundLayerPatch, WorkbenchContextMenuState, WorkbenchInteractionAdapter, WorkbenchStickyNoteItem, WorkbenchStickyNotePatch, WorkbenchTextAnnotationDefaults, WorkbenchTextAnnotationPatch, WorkbenchWidgetDefinition, WorkbenchWidgetItem, WorkbenchWidgetType } from './types';
|
|
5
5
|
export interface WorkbenchCreateAtOptions {
|
|
6
6
|
worldX?: number;
|
|
@@ -67,6 +67,11 @@ export interface WorkbenchSurfaceProps {
|
|
|
67
67
|
resolveContextMenuItems?: WorkbenchContextMenuItemsResolver;
|
|
68
68
|
onApiReady?: (api: WorkbenchSurfaceApi | null) => void;
|
|
69
69
|
onRequestDelete?: (widgetId: string) => void;
|
|
70
|
+
/**
|
|
71
|
+
* Controls built-in Dock click behavior. Defaults to `solo-filter` for
|
|
72
|
+
* backward compatibility. Drag-to-create and host Dock items are unchanged.
|
|
73
|
+
*/
|
|
74
|
+
dockItemActivationMode?: WorkbenchDockItemActivationMode;
|
|
70
75
|
onDockItemClick?: (item: WorkbenchDockItemActivation) => boolean | void;
|
|
71
76
|
dockActions?: readonly WorkbenchDockAction[];
|
|
72
77
|
dockItems?: readonly WorkbenchHostDockItem[];
|