geonodes-web-render 0.3.16 → 0.3.17

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/embed.js CHANGED
@@ -8971,11 +8971,11 @@ function yp(e) {
8971
8971
  c(() => () => N.current.forEach(clearTimeout), []), c(() => () => {
8972
8972
  O.current && clearTimeout(O.current);
8973
8973
  }, []);
8974
- let G = u === "hybrid", te = u === "always" || G && w, ne = u === "always" ? [1] : [0, 1], re = u === "always", ie = a((e) => {
8974
+ let G = u === "hybrid", te = u === "always" || G && w, ne = [1], re = a((e) => {
8975
8975
  !G || w || e.ctrlKey || (D(!0), O.current && clearTimeout(O.current), O.current = setTimeout(() => D(!1), 1600));
8976
- }, [G, w]), ae = a((e) => {
8976
+ }, [G, w]), ie = a((e) => {
8977
8977
  G && e.button === 0 && (T(!0), D(!1));
8978
- }, [G]), oe = a(() => {
8978
+ }, [G]), ae = a(() => {
8979
8979
  G && T(!1);
8980
8980
  }, [G]);
8981
8981
  return c(() => {
@@ -8995,9 +8995,9 @@ function yp(e) {
8995
8995
  position: "relative"
8996
8996
  },
8997
8997
  onContextMenu: U,
8998
- onPointerDown: ae,
8999
- onPointerLeave: oe,
9000
- onWheel: ie,
8998
+ onPointerDown: ie,
8999
+ onPointerLeave: ae,
9000
+ onWheel: re,
9001
9001
  children: [
9002
9002
  /* @__PURE__ */ _(dd, {
9003
9003
  nodes: P,
@@ -9017,7 +9017,7 @@ function yp(e) {
9017
9017
  nodesFocusable: !1,
9018
9018
  edgesFocusable: !1,
9019
9019
  selectNodesOnDrag: !1,
9020
- selectionOnDrag: re,
9020
+ selectionOnDrag: !0,
9021
9021
  selectionMode: va.Partial,
9022
9022
  connectOnClick: !1,
9023
9023
  panOnDrag: ne,
@@ -9037,7 +9037,7 @@ function yp(e) {
9037
9037
  children: /* @__PURE__ */ g("div", {
9038
9038
  className: "gn-zoom-hint",
9039
9039
  role: "status",
9040
- children: "Click to zoom & pan"
9040
+ children: "Click to zoom"
9041
9041
  })
9042
9042
  }) : null,
9043
9043
  /* @__PURE__ */ g(Sc, {
@@ -9046,7 +9046,7 @@ function yp(e) {
9046
9046
  className: "gn-top-left",
9047
9047
  children: [/* @__PURE__ */ _("span", {
9048
9048
  className: "gn-version-badge",
9049
- children: ["node-web-render v", "0.3.16"]
9049
+ children: ["node-web-render v", "0.3.17"]
9050
9050
  }), i.length > 1 ? /* @__PURE__ */ g("nav", {
9051
9051
  className: "gn-breadcrumbs",
9052
9052
  "aria-label": "Node group path",
@@ -5,7 +5,7 @@
5
5
  * - `'hybrid'` — embedded: the wheel scrolls the host page until the user clicks
6
6
  * the canvas to "engage"; then it zooms like the standalone app until the
7
7
  * pointer leaves. Ctrl+wheel / trackpad-pinch zoom even while resting.
8
- * - `'none'` — wheel always scrolls the page; pan via left/middle drag only.
8
+ * - `'none'` — wheel always scrolls the page; pan via middle-drag only.
9
9
  */
10
10
  export type InteractionMode = 'always' | 'hybrid' | 'none';
11
11
  export declare function GeometryNodesFlow(props: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "geonodes-web-render",
3
- "version": "0.3.16",
3
+ "version": "0.3.17",
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": {