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 =
|
|
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]),
|
|
8976
|
+
}, [G, w]), ie = a((e) => {
|
|
8977
8977
|
G && e.button === 0 && (T(!0), D(!1));
|
|
8978
|
-
}, [G]),
|
|
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:
|
|
8999
|
-
onPointerLeave:
|
|
9000
|
-
onWheel:
|
|
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:
|
|
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
|
|
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.
|
|
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
|
|
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