geonodes-web-render 0.3.23 → 0.3.25

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.
@@ -3,6 +3,12 @@ export type GraphViewEmbedOptions = {
3
3
  payload: string;
4
4
  /** Called when user requests close (e.g. modal close button). Use to unmount. */
5
5
  onClose?: () => void;
6
+ /** When false, hide the "Copy TreeClipper Magic String" button and disable the
7
+ * right-click copy action. Default true. */
8
+ showCopyButton?: boolean;
9
+ /** When false, disable node selection; left-drag pans instead of box-selecting.
10
+ * Default true. */
11
+ allowSelection?: boolean;
6
12
  };
7
13
  export declare function GraphView(props: GraphViewEmbedOptions): import("react").JSX.Element;
8
14
  /**
@@ -20,4 +20,10 @@ export declare function GeometryNodesFlow(props: {
20
20
  /** How the wheel is captured. Default `'always'` (standalone). Use `'hybrid'`
21
21
  * in an embed so the wheel scrolls the host page until the canvas is clicked. */
22
22
  interaction?: InteractionMode;
23
+ /** When false, disable copying to a Tree Clipper magic string (hides the
24
+ * right-click "copy" context menu). Default true. */
25
+ allowCopy?: boolean;
26
+ /** When false, disable node selection; left-drag pans instead of box-selecting.
27
+ * Default true. */
28
+ allowSelection?: boolean;
23
29
  }): import("react").JSX.Element;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "geonodes-web-render",
3
- "version": "0.3.23",
3
+ "version": "0.3.25",
4
4
  "description": "Browser-based viewer for Blender Geometry Nodes exported via Tree Clipper. Renders node trees as a read-only, Blender-styled graph.",
5
5
  "type": "module",
6
6
  "exports": {