@particle-academy/fancy-flow 0.33.1 → 0.33.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/index.cjs CHANGED
@@ -13140,6 +13140,12 @@ function NodeConfigPanel({
13140
13140
  style: style2
13141
13141
  }) {
13142
13142
  const uid = ReactExports.useId();
13143
+ const kindName = node ? node.data.kind ?? node.type : null;
13144
+ const kind = ReactExports.useMemo(() => kindName ? getNodeKind(kindName) : void 0, [kindName]);
13145
+ const config = ReactExports.useMemo(
13146
+ () => node?.data?.config ?? {},
13147
+ [node?.data]
13148
+ );
13143
13149
  const fieldId = (key) => `${uid}-${key}`;
13144
13150
  if (!node) {
13145
13151
  return /* @__PURE__ */ jsxRuntime.jsxs("aside", { className: ["ff-panel", "ff-panel--empty", className ?? ""].filter(Boolean).join(" "), style: style2, children: [
@@ -13147,9 +13153,6 @@ function NodeConfigPanel({
13147
13153
  /* @__PURE__ */ jsxRuntime.jsx("p", { className: "ff-panel__empty", children: "Select a node to configure it." })
13148
13154
  ] });
13149
13155
  }
13150
- const kindName = node.data.kind ?? node.type;
13151
- const kind = ReactExports.useMemo(() => getNodeKind(kindName), [kindName]);
13152
- const config = ReactExports.useMemo(() => node.data.config ?? {}, [node.data]);
13153
13156
  if (!kind) {
13154
13157
  return /* @__PURE__ */ jsxRuntime.jsxs("aside", { className: ["ff-panel", className ?? ""].filter(Boolean).join(" "), style: style2, children: [
13155
13158
  header,