@ai-matrx/canvas 0.10.0 → 0.10.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.
package/dist/react.d.cts CHANGED
@@ -357,7 +357,7 @@ interface CanvasProviderProps extends CanvasHostPorts {
357
357
  /** "auto": a pane with one tab shows a title instead of a tab strip. Default "auto". */
358
358
  readonly tabStrip?: CanvasTabStripMode;
359
359
  }
360
- declare function CanvasProvider({ children, store, persistence, onError, hotkeys, windowId: windowIdProp, layoutRules, regionWidth, tabStrip, itemActions, popOut, dockBack, showMenu, overlay, onNativeBodyFrame, }: CanvasProviderProps): react.JSX.Element;
360
+ declare function CanvasProvider({ children, store, persistence, onError, hotkeys, windowId: windowIdProp, layoutRules, regionWidth, tabStrip, itemActions, popOut, dockBack, showMenu, overlay, onNativeBodyFrame, output, }: CanvasProviderProps): react.JSX.Element;
361
361
  /**
362
362
  * Renders a subtree as ANOTHER window of the same canvas — the web host's
363
363
  * pop-out panel: `<CanvasWindowScope windowId={id}><CanvasColumn placement="fill"/></CanvasWindowScope>`.
package/dist/react.d.ts CHANGED
@@ -357,7 +357,7 @@ interface CanvasProviderProps extends CanvasHostPorts {
357
357
  /** "auto": a pane with one tab shows a title instead of a tab strip. Default "auto". */
358
358
  readonly tabStrip?: CanvasTabStripMode;
359
359
  }
360
- declare function CanvasProvider({ children, store, persistence, onError, hotkeys, windowId: windowIdProp, layoutRules, regionWidth, tabStrip, itemActions, popOut, dockBack, showMenu, overlay, onNativeBodyFrame, }: CanvasProviderProps): react.JSX.Element;
360
+ declare function CanvasProvider({ children, store, persistence, onError, hotkeys, windowId: windowIdProp, layoutRules, regionWidth, tabStrip, itemActions, popOut, dockBack, showMenu, overlay, onNativeBodyFrame, output, }: CanvasProviderProps): react.JSX.Element;
361
361
  /**
362
362
  * Renders a subtree as ANOTHER window of the same canvas — the web host's
363
363
  * pop-out panel: `<CanvasWindowScope windowId={id}><CanvasColumn placement="fill"/></CanvasWindowScope>`.
package/dist/react.js CHANGED
@@ -2004,11 +2004,12 @@ function CanvasProvider({
2004
2004
  dockBack,
2005
2005
  showMenu,
2006
2006
  overlay,
2007
- onNativeBodyFrame
2007
+ onNativeBodyFrame,
2008
+ output
2008
2009
  }) {
2009
2010
  const hostPorts = useMemo(
2010
- () => ({ itemActions, popOut, dockBack, showMenu, overlay, onNativeBodyFrame }),
2011
- [itemActions, popOut, dockBack, showMenu, overlay, onNativeBodyFrame]
2011
+ () => ({ itemActions, popOut, dockBack, showMenu, overlay, onNativeBodyFrame, output }),
2012
+ [itemActions, popOut, dockBack, showMenu, overlay, onNativeBodyFrame, output]
2012
2013
  );
2013
2014
  const portsRef = useRef4(hostPorts);
2014
2015
  portsRef.current = hostPorts;