canvu-react 0.4.62 → 0.4.64

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/react.d.cts CHANGED
@@ -4,8 +4,8 @@ import { I as IndexedDbImageStore } from './asset-hydration-F6aM5C7x.cjs';
4
4
  export { H as HydratedSceneItemsWithAssetsResult, h as hydrateSceneItemsWithAssets } from './asset-hydration-F6aM5C7x.cjs';
5
5
  import { V as VectorViewportAssetKind, a as VectorViewportAssetStore } from './asset-store-35ysK28r.cjs';
6
6
  export { b as VectorViewportAssetHydrationRequest, c as VectorViewportAssetResolveRequest, d as VectorViewportAssetResolveResult, e as VectorViewportAssetUploadRequest, f as VectorViewportAssetUploadResult } from './asset-store-35ysK28r.cjs';
7
- import { B as BoardComponentPosition, V as VectorToolDefinition, C as CustomShapePlacementOptions, a as CanvasPlugin, b as VectorSelectionInspector } from './types--jCoyZIF.cjs';
8
- export { c as CanvasPluginComponentProps, d as CanvasPluginContribution, e as CanvasPluginItemsChangeMiddlewareContext, f as CanvasPluginRenderContext, g as CanvuChromeActiveToolStyle, h as CanvuChromeContext, i as CanvuChromeContextValue, j as CanvuChromeSelectionStyleChange, k as CanvuPluginContext, l as CanvuPluginContextValue, m as CanvuPluginViewportSnapshot, P as PlacementPreview, S as SelectModeItemClickDetail, n as SelectModeItemClickResult, o as VectorCanvasSpacePosition, p as VectorItemsChangeInfo, q as VectorItemsChangeMotive, r as VectorSelectionInspectorProps, s as VectorViewport, t as VectorViewportHandle, u as VectorViewportProps, W as WorldPointerDownDetail, v as createCanvuPlugin, w as getBoardPositionStyle, x as useCanvuChromeContext, y as useCanvuDocumentContext, z as useCanvuPluginContext, A as useCanvuPluginContribution, D as useCanvuResolvedTools, E as useCanvuViewportContext } from './types--jCoyZIF.cjs';
7
+ import { B as BoardComponentPosition, V as VectorToolDefinition, C as CustomShapePlacementOptions, a as CanvuBeforeInteractionHook, b as CanvuAfterInteractionHook, c as CanvasPlugin, d as VectorSelectionInspector } from './types-Ce4-OZbd.cjs';
8
+ export { e as CanvasPluginComponentProps, f as CanvasPluginContribution, g as CanvasPluginItemsChangeMiddlewareContext, h as CanvasPluginRenderContext, i as CanvuAfterInteractionDetail, j as CanvuBeforeInteractionResult, k as CanvuChromeActiveToolStyle, l as CanvuChromeContext, m as CanvuChromeContextValue, n as CanvuChromeSelectionStyleChange, o as CanvuInteractionDetail, p as CanvuInteractionKind, q as CanvuInteractionOutcome, r as CanvuInteractionPoint, s as CanvuPluginContext, t as CanvuPluginContextValue, u as CanvuPluginViewportSnapshot, P as PlacementPreview, S as SelectModeItemClickDetail, v as SelectModeItemClickResult, w as VectorCanvasSpacePosition, x as VectorItemsChangeInfo, y as VectorItemsChangeMotive, z as VectorSelectionInspectorProps, A as VectorViewport, D as VectorViewportHandle, E as VectorViewportProps, W as WorldPointerDownDetail, F as createCanvuPlugin, G as getBoardPositionStyle, H as useCanvuChromeContext, I as useCanvuDocumentContext, J as useCanvuPluginContext, K as useCanvuPluginContribution, L as useCanvuResolvedTools, M as useCanvuViewportContext } from './types-Ce4-OZbd.cjs';
9
9
  import * as react_jsx_runtime from 'react/jsx-runtime';
10
10
  import * as react from 'react';
11
11
  import { CSSProperties, ReactNode, ReactElement, SVGProps } from 'react';
@@ -169,6 +169,35 @@ type ImagesMenuLabels = {
169
169
  collapse?: string;
170
170
  expand?: string;
171
171
  };
172
+ /**
173
+ * Button props passed to {@link ImagesMenuCollapsedButtonRenderProps.buttonProps}.
174
+ *
175
+ * Use this when you build a fully custom collapsed trigger for
176
+ * {@link ImagesMenu}. Spreading these props onto a `<button>` preserves the
177
+ * default accessibility label, `data-slot`, styles/className, and click handler
178
+ * that opens the images menu.
179
+ */
180
+ type ImagesMenuCollapsedButtonProps = {
181
+ type: "button";
182
+ "data-slot": "images-menu-collapsed";
183
+ "aria-label": string;
184
+ title: string;
185
+ className?: string;
186
+ style: CSSProperties;
187
+ onClick: () => void;
188
+ };
189
+ type ImagesMenuCollapsedButtonRenderProps = {
190
+ /** Number of managed images currently available in the menu. */
191
+ count: number;
192
+ /** Accessible label used by the default collapsed trigger. */
193
+ label: string;
194
+ /**
195
+ * Props ready to spread onto a `<button>`.
196
+ * Spread these onto your custom trigger to keep the built-in accessibility
197
+ * label, `data-slot`, default styles/className, and open-menu behavior.
198
+ */
199
+ buttonProps: ImagesMenuCollapsedButtonProps;
200
+ };
172
201
  type ImagesMenuProps = {
173
202
  items: readonly VectorSceneItem[];
174
203
  onItemsChange: (items: VectorSceneItem[]) => void;
@@ -183,6 +212,49 @@ type ImagesMenuProps = {
183
212
  * only the floating toggle button until the user opens it.
184
213
  */
185
214
  defaultOpen?: boolean;
215
+ /**
216
+ * Class name applied to the collapsed floating trigger.
217
+ *
218
+ * @example
219
+ * ```tsx
220
+ * <ImagesMenu
221
+ * items={items}
222
+ * onItemsChange={setItems}
223
+ * collapsedButtonClassName="my-images-trigger"
224
+ * />
225
+ * ```
226
+ */
227
+ collapsedButtonClassName?: string;
228
+ /**
229
+ * Inline style merged over the default collapsed trigger style.
230
+ *
231
+ * @example
232
+ * ```tsx
233
+ * <ImagesMenu
234
+ * items={items}
235
+ * onItemsChange={setItems}
236
+ * collapsedButtonStyle={{ borderRadius: 999 }}
237
+ * />
238
+ * ```
239
+ */
240
+ collapsedButtonStyle?: CSSProperties;
241
+ /**
242
+ * Replaces the collapsed trigger markup. Prefer `collapsedButtonClassName`
243
+ * or `collapsedButtonStyle` for styling-only changes; use this when you need
244
+ * different content or structure.
245
+ *
246
+ * @example
247
+ * ```tsx
248
+ * <ImagesMenu
249
+ * items={items}
250
+ * onItemsChange={setItems}
251
+ * renderCollapsedButton={({ buttonProps, count }) => (
252
+ * <button {...buttonProps}>Images ({count})</button>
253
+ * )}
254
+ * />
255
+ * ```
256
+ */
257
+ renderCollapsedButton?: (props: ImagesMenuCollapsedButtonRenderProps) => ReactNode;
186
258
  };
187
259
  /**
188
260
  * Floating side panel that lists images marked as "managed"
@@ -190,7 +262,7 @@ type ImagesMenuProps = {
190
262
  * drag-to-reorder actions. Managed images are also `locked`, so they do not
191
263
  * respond to direct canvas interaction.
192
264
  */
193
- declare function ImagesMenu({ items, onItemsChange, onFocusItem, labels, defaultOpen, }: ImagesMenuProps): react_jsx_runtime.JSX.Element | null;
265
+ declare function ImagesMenu({ items, onItemsChange, onFocusItem, labels, defaultOpen, collapsedButtonClassName, collapsedButtonStyle, renderCollapsedButton, }: ImagesMenuProps): string | number | bigint | boolean | Iterable<ReactNode> | Promise<string | number | bigint | boolean | react.ReactPortal | react.ReactElement<unknown, string | react.JSXElementConstructor<any>> | Iterable<ReactNode> | null | undefined> | react_jsx_runtime.JSX.Element | null | undefined;
194
266
 
195
267
  type NavMenuMinimapProps = {
196
268
  className?: string;
@@ -407,6 +479,21 @@ type CreateToolPluginOptions = VectorToolDefinition & {
407
479
  * normal move behavior.
408
480
  */
409
481
  onSelectModeItemClick?: CustomShapePlacementOptions["onSelectModeItemClick"];
482
+ /**
483
+ * Runs before Canvu handles this tool's accepted pointer interaction.
484
+ *
485
+ * Return `"handled"` to claim the gesture and skip Canvu's built-in behavior.
486
+ * The hook is automatically scoped to this tool id.
487
+ */
488
+ onBeforeInteraction?: CanvuBeforeInteractionHook;
489
+ /**
490
+ * Runs once after this tool's accepted pointer interaction completes or is
491
+ * cancelled.
492
+ *
493
+ * The hook is automatically scoped to this tool id. Use it for custom cleanup,
494
+ * analytics, or side effects that should happen after the gesture lifecycle.
495
+ */
496
+ onAfterInteraction?: CanvuAfterInteractionHook;
410
497
  /**
411
498
  * Optional tool list transform applied after this tool is merged.
412
499
  *
@@ -731,4 +818,4 @@ type VectorToolbarWithStatics = ((props: VectorToolbarProps) => ReactElement) &
731
818
  */
732
819
  declare const VectorToolbar: VectorToolbarWithStatics;
733
820
 
734
- export { BoardComponentPosition, CanvasPlugin, type CreateLocalStoragePersistenceAdapterOptions, type CreateToolPluginOptions, CustomShapePlacementOptions, DEFAULT_OVERFLOW_TOOL_IDS, DEFAULT_VECTOR_CANVAS_STORAGE_KEY, DEFAULT_VECTOR_TOOLS, IconArchitecturalCloud, IconArrow, IconDraw, IconEllipse, IconHand, IconImage, IconLaser, IconLine, IconRect, IconSelect, IconText, ImagesMenu, type ImagesMenuLabels, type ImagesMenuProps, type IngestAssetFileError, type IngestAssetFilesToSceneItemsOptions, type IngestAssetFilesToSceneItemsResult, type IngestedAssetItemContext, NavMenu, type NavMenuMinimapProps, type NavMenuProps, type NavMenuUndoRedoProps, type NavMenuZoomControlsProps, ShapeContextMenu, type ShapeContextMenuProps, type UseVectorCanvasDocumentOptions, type UseVectorCanvasDocumentResult, VectorCanvas, VectorCanvasBody, VectorCanvasHeader, VectorCanvasMain, VectorCanvasPersistenceAdapter, VectorCanvasRemoteAdapter, VectorCanvasRoot, type VectorCanvasSlotProps, type VectorCanvasSpaceProps, VectorCanvasToolbar, type VectorCanvasToolbarProps, VectorCanvasViewportSurface, VectorSelectionInspector, VectorToolDefinition, VectorToolbar, type VectorToolbarOverflowProps, type VectorToolbarProps, type VectorToolbarRenderContext, type VectorToolbarToolLockProps, type VectorToolbarToolProps, VectorViewportAssetKind, VectorViewportAssetStore, createIndexedDbPersistenceAdapter, createLocalStoragePersistenceAdapter, createNoopPersistenceAdapter, createToolPlugin, cursorForVectorToolId, ingestAssetFilesToSceneItems, useVectorCanvasDocument };
821
+ export { BoardComponentPosition, CanvasPlugin, CanvuAfterInteractionHook, CanvuBeforeInteractionHook, type CreateLocalStoragePersistenceAdapterOptions, type CreateToolPluginOptions, CustomShapePlacementOptions, DEFAULT_OVERFLOW_TOOL_IDS, DEFAULT_VECTOR_CANVAS_STORAGE_KEY, DEFAULT_VECTOR_TOOLS, IconArchitecturalCloud, IconArrow, IconDraw, IconEllipse, IconHand, IconImage, IconLaser, IconLine, IconRect, IconSelect, IconText, ImagesMenu, type ImagesMenuCollapsedButtonProps, type ImagesMenuCollapsedButtonRenderProps, type ImagesMenuLabels, type ImagesMenuProps, type IngestAssetFileError, type IngestAssetFilesToSceneItemsOptions, type IngestAssetFilesToSceneItemsResult, type IngestedAssetItemContext, NavMenu, type NavMenuMinimapProps, type NavMenuProps, type NavMenuUndoRedoProps, type NavMenuZoomControlsProps, ShapeContextMenu, type ShapeContextMenuProps, type UseVectorCanvasDocumentOptions, type UseVectorCanvasDocumentResult, VectorCanvas, VectorCanvasBody, VectorCanvasHeader, VectorCanvasMain, VectorCanvasPersistenceAdapter, VectorCanvasRemoteAdapter, VectorCanvasRoot, type VectorCanvasSlotProps, type VectorCanvasSpaceProps, VectorCanvasToolbar, type VectorCanvasToolbarProps, VectorCanvasViewportSurface, VectorSelectionInspector, VectorToolDefinition, VectorToolbar, type VectorToolbarOverflowProps, type VectorToolbarProps, type VectorToolbarRenderContext, type VectorToolbarToolLockProps, type VectorToolbarToolProps, VectorViewportAssetKind, VectorViewportAssetStore, createIndexedDbPersistenceAdapter, createLocalStoragePersistenceAdapter, createNoopPersistenceAdapter, createToolPlugin, cursorForVectorToolId, ingestAssetFilesToSceneItems, useVectorCanvasDocument };
package/dist/react.d.ts CHANGED
@@ -4,8 +4,8 @@ import { I as IndexedDbImageStore } from './asset-hydration-BSjiek7Q.js';
4
4
  export { H as HydratedSceneItemsWithAssetsResult, h as hydrateSceneItemsWithAssets } from './asset-hydration-BSjiek7Q.js';
5
5
  import { V as VectorViewportAssetKind, a as VectorViewportAssetStore } from './asset-store-D_FjW_CN.js';
6
6
  export { b as VectorViewportAssetHydrationRequest, c as VectorViewportAssetResolveRequest, d as VectorViewportAssetResolveResult, e as VectorViewportAssetUploadRequest, f as VectorViewportAssetUploadResult } from './asset-store-D_FjW_CN.js';
7
- import { B as BoardComponentPosition, V as VectorToolDefinition, C as CustomShapePlacementOptions, a as CanvasPlugin, b as VectorSelectionInspector } from './types-C_PMen-D.js';
8
- export { c as CanvasPluginComponentProps, d as CanvasPluginContribution, e as CanvasPluginItemsChangeMiddlewareContext, f as CanvasPluginRenderContext, g as CanvuChromeActiveToolStyle, h as CanvuChromeContext, i as CanvuChromeContextValue, j as CanvuChromeSelectionStyleChange, k as CanvuPluginContext, l as CanvuPluginContextValue, m as CanvuPluginViewportSnapshot, P as PlacementPreview, S as SelectModeItemClickDetail, n as SelectModeItemClickResult, o as VectorCanvasSpacePosition, p as VectorItemsChangeInfo, q as VectorItemsChangeMotive, r as VectorSelectionInspectorProps, s as VectorViewport, t as VectorViewportHandle, u as VectorViewportProps, W as WorldPointerDownDetail, v as createCanvuPlugin, w as getBoardPositionStyle, x as useCanvuChromeContext, y as useCanvuDocumentContext, z as useCanvuPluginContext, A as useCanvuPluginContribution, D as useCanvuResolvedTools, E as useCanvuViewportContext } from './types-C_PMen-D.js';
7
+ import { B as BoardComponentPosition, V as VectorToolDefinition, C as CustomShapePlacementOptions, a as CanvuBeforeInteractionHook, b as CanvuAfterInteractionHook, c as CanvasPlugin, d as VectorSelectionInspector } from './types-PsLgDGZT.js';
8
+ export { e as CanvasPluginComponentProps, f as CanvasPluginContribution, g as CanvasPluginItemsChangeMiddlewareContext, h as CanvasPluginRenderContext, i as CanvuAfterInteractionDetail, j as CanvuBeforeInteractionResult, k as CanvuChromeActiveToolStyle, l as CanvuChromeContext, m as CanvuChromeContextValue, n as CanvuChromeSelectionStyleChange, o as CanvuInteractionDetail, p as CanvuInteractionKind, q as CanvuInteractionOutcome, r as CanvuInteractionPoint, s as CanvuPluginContext, t as CanvuPluginContextValue, u as CanvuPluginViewportSnapshot, P as PlacementPreview, S as SelectModeItemClickDetail, v as SelectModeItemClickResult, w as VectorCanvasSpacePosition, x as VectorItemsChangeInfo, y as VectorItemsChangeMotive, z as VectorSelectionInspectorProps, A as VectorViewport, D as VectorViewportHandle, E as VectorViewportProps, W as WorldPointerDownDetail, F as createCanvuPlugin, G as getBoardPositionStyle, H as useCanvuChromeContext, I as useCanvuDocumentContext, J as useCanvuPluginContext, K as useCanvuPluginContribution, L as useCanvuResolvedTools, M as useCanvuViewportContext } from './types-PsLgDGZT.js';
9
9
  import * as react_jsx_runtime from 'react/jsx-runtime';
10
10
  import * as react from 'react';
11
11
  import { CSSProperties, ReactNode, ReactElement, SVGProps } from 'react';
@@ -169,6 +169,35 @@ type ImagesMenuLabels = {
169
169
  collapse?: string;
170
170
  expand?: string;
171
171
  };
172
+ /**
173
+ * Button props passed to {@link ImagesMenuCollapsedButtonRenderProps.buttonProps}.
174
+ *
175
+ * Use this when you build a fully custom collapsed trigger for
176
+ * {@link ImagesMenu}. Spreading these props onto a `<button>` preserves the
177
+ * default accessibility label, `data-slot`, styles/className, and click handler
178
+ * that opens the images menu.
179
+ */
180
+ type ImagesMenuCollapsedButtonProps = {
181
+ type: "button";
182
+ "data-slot": "images-menu-collapsed";
183
+ "aria-label": string;
184
+ title: string;
185
+ className?: string;
186
+ style: CSSProperties;
187
+ onClick: () => void;
188
+ };
189
+ type ImagesMenuCollapsedButtonRenderProps = {
190
+ /** Number of managed images currently available in the menu. */
191
+ count: number;
192
+ /** Accessible label used by the default collapsed trigger. */
193
+ label: string;
194
+ /**
195
+ * Props ready to spread onto a `<button>`.
196
+ * Spread these onto your custom trigger to keep the built-in accessibility
197
+ * label, `data-slot`, default styles/className, and open-menu behavior.
198
+ */
199
+ buttonProps: ImagesMenuCollapsedButtonProps;
200
+ };
172
201
  type ImagesMenuProps = {
173
202
  items: readonly VectorSceneItem[];
174
203
  onItemsChange: (items: VectorSceneItem[]) => void;
@@ -183,6 +212,49 @@ type ImagesMenuProps = {
183
212
  * only the floating toggle button until the user opens it.
184
213
  */
185
214
  defaultOpen?: boolean;
215
+ /**
216
+ * Class name applied to the collapsed floating trigger.
217
+ *
218
+ * @example
219
+ * ```tsx
220
+ * <ImagesMenu
221
+ * items={items}
222
+ * onItemsChange={setItems}
223
+ * collapsedButtonClassName="my-images-trigger"
224
+ * />
225
+ * ```
226
+ */
227
+ collapsedButtonClassName?: string;
228
+ /**
229
+ * Inline style merged over the default collapsed trigger style.
230
+ *
231
+ * @example
232
+ * ```tsx
233
+ * <ImagesMenu
234
+ * items={items}
235
+ * onItemsChange={setItems}
236
+ * collapsedButtonStyle={{ borderRadius: 999 }}
237
+ * />
238
+ * ```
239
+ */
240
+ collapsedButtonStyle?: CSSProperties;
241
+ /**
242
+ * Replaces the collapsed trigger markup. Prefer `collapsedButtonClassName`
243
+ * or `collapsedButtonStyle` for styling-only changes; use this when you need
244
+ * different content or structure.
245
+ *
246
+ * @example
247
+ * ```tsx
248
+ * <ImagesMenu
249
+ * items={items}
250
+ * onItemsChange={setItems}
251
+ * renderCollapsedButton={({ buttonProps, count }) => (
252
+ * <button {...buttonProps}>Images ({count})</button>
253
+ * )}
254
+ * />
255
+ * ```
256
+ */
257
+ renderCollapsedButton?: (props: ImagesMenuCollapsedButtonRenderProps) => ReactNode;
186
258
  };
187
259
  /**
188
260
  * Floating side panel that lists images marked as "managed"
@@ -190,7 +262,7 @@ type ImagesMenuProps = {
190
262
  * drag-to-reorder actions. Managed images are also `locked`, so they do not
191
263
  * respond to direct canvas interaction.
192
264
  */
193
- declare function ImagesMenu({ items, onItemsChange, onFocusItem, labels, defaultOpen, }: ImagesMenuProps): react_jsx_runtime.JSX.Element | null;
265
+ declare function ImagesMenu({ items, onItemsChange, onFocusItem, labels, defaultOpen, collapsedButtonClassName, collapsedButtonStyle, renderCollapsedButton, }: ImagesMenuProps): string | number | bigint | boolean | Iterable<ReactNode> | Promise<string | number | bigint | boolean | react.ReactPortal | react.ReactElement<unknown, string | react.JSXElementConstructor<any>> | Iterable<ReactNode> | null | undefined> | react_jsx_runtime.JSX.Element | null | undefined;
194
266
 
195
267
  type NavMenuMinimapProps = {
196
268
  className?: string;
@@ -407,6 +479,21 @@ type CreateToolPluginOptions = VectorToolDefinition & {
407
479
  * normal move behavior.
408
480
  */
409
481
  onSelectModeItemClick?: CustomShapePlacementOptions["onSelectModeItemClick"];
482
+ /**
483
+ * Runs before Canvu handles this tool's accepted pointer interaction.
484
+ *
485
+ * Return `"handled"` to claim the gesture and skip Canvu's built-in behavior.
486
+ * The hook is automatically scoped to this tool id.
487
+ */
488
+ onBeforeInteraction?: CanvuBeforeInteractionHook;
489
+ /**
490
+ * Runs once after this tool's accepted pointer interaction completes or is
491
+ * cancelled.
492
+ *
493
+ * The hook is automatically scoped to this tool id. Use it for custom cleanup,
494
+ * analytics, or side effects that should happen after the gesture lifecycle.
495
+ */
496
+ onAfterInteraction?: CanvuAfterInteractionHook;
410
497
  /**
411
498
  * Optional tool list transform applied after this tool is merged.
412
499
  *
@@ -731,4 +818,4 @@ type VectorToolbarWithStatics = ((props: VectorToolbarProps) => ReactElement) &
731
818
  */
732
819
  declare const VectorToolbar: VectorToolbarWithStatics;
733
820
 
734
- export { BoardComponentPosition, CanvasPlugin, type CreateLocalStoragePersistenceAdapterOptions, type CreateToolPluginOptions, CustomShapePlacementOptions, DEFAULT_OVERFLOW_TOOL_IDS, DEFAULT_VECTOR_CANVAS_STORAGE_KEY, DEFAULT_VECTOR_TOOLS, IconArchitecturalCloud, IconArrow, IconDraw, IconEllipse, IconHand, IconImage, IconLaser, IconLine, IconRect, IconSelect, IconText, ImagesMenu, type ImagesMenuLabels, type ImagesMenuProps, type IngestAssetFileError, type IngestAssetFilesToSceneItemsOptions, type IngestAssetFilesToSceneItemsResult, type IngestedAssetItemContext, NavMenu, type NavMenuMinimapProps, type NavMenuProps, type NavMenuUndoRedoProps, type NavMenuZoomControlsProps, ShapeContextMenu, type ShapeContextMenuProps, type UseVectorCanvasDocumentOptions, type UseVectorCanvasDocumentResult, VectorCanvas, VectorCanvasBody, VectorCanvasHeader, VectorCanvasMain, VectorCanvasPersistenceAdapter, VectorCanvasRemoteAdapter, VectorCanvasRoot, type VectorCanvasSlotProps, type VectorCanvasSpaceProps, VectorCanvasToolbar, type VectorCanvasToolbarProps, VectorCanvasViewportSurface, VectorSelectionInspector, VectorToolDefinition, VectorToolbar, type VectorToolbarOverflowProps, type VectorToolbarProps, type VectorToolbarRenderContext, type VectorToolbarToolLockProps, type VectorToolbarToolProps, VectorViewportAssetKind, VectorViewportAssetStore, createIndexedDbPersistenceAdapter, createLocalStoragePersistenceAdapter, createNoopPersistenceAdapter, createToolPlugin, cursorForVectorToolId, ingestAssetFilesToSceneItems, useVectorCanvasDocument };
821
+ export { BoardComponentPosition, CanvasPlugin, CanvuAfterInteractionHook, CanvuBeforeInteractionHook, type CreateLocalStoragePersistenceAdapterOptions, type CreateToolPluginOptions, CustomShapePlacementOptions, DEFAULT_OVERFLOW_TOOL_IDS, DEFAULT_VECTOR_CANVAS_STORAGE_KEY, DEFAULT_VECTOR_TOOLS, IconArchitecturalCloud, IconArrow, IconDraw, IconEllipse, IconHand, IconImage, IconLaser, IconLine, IconRect, IconSelect, IconText, ImagesMenu, type ImagesMenuCollapsedButtonProps, type ImagesMenuCollapsedButtonRenderProps, type ImagesMenuLabels, type ImagesMenuProps, type IngestAssetFileError, type IngestAssetFilesToSceneItemsOptions, type IngestAssetFilesToSceneItemsResult, type IngestedAssetItemContext, NavMenu, type NavMenuMinimapProps, type NavMenuProps, type NavMenuUndoRedoProps, type NavMenuZoomControlsProps, ShapeContextMenu, type ShapeContextMenuProps, type UseVectorCanvasDocumentOptions, type UseVectorCanvasDocumentResult, VectorCanvas, VectorCanvasBody, VectorCanvasHeader, VectorCanvasMain, VectorCanvasPersistenceAdapter, VectorCanvasRemoteAdapter, VectorCanvasRoot, type VectorCanvasSlotProps, type VectorCanvasSpaceProps, VectorCanvasToolbar, type VectorCanvasToolbarProps, VectorCanvasViewportSurface, VectorSelectionInspector, VectorToolDefinition, VectorToolbar, type VectorToolbarOverflowProps, type VectorToolbarProps, type VectorToolbarRenderContext, type VectorToolbarToolLockProps, type VectorToolbarToolProps, VectorViewportAssetKind, VectorViewportAssetStore, createIndexedDbPersistenceAdapter, createLocalStoragePersistenceAdapter, createNoopPersistenceAdapter, createToolPlugin, cursorForVectorToolId, ingestAssetFilesToSceneItems, useVectorCanvasDocument };