@particle-academy/fancy-flow 0.25.0 → 0.27.0

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/registry.cjs CHANGED
@@ -9715,6 +9715,7 @@ function portStyle(i, total) {
9715
9715
  }
9716
9716
  function DefaultBody({ config, kind }) {
9717
9717
  const fields = kind ?? [];
9718
+ if (fields.length === 0) return null;
9718
9719
  const visible = fields.map((f) => ({ field: f, value: config[f.key] })).filter(({ value }) => value !== void 0 && value !== "" && value !== null);
9719
9720
  if (visible.length === 0) {
9720
9721
  return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "ff-node__body-empty", children: "\u2014 configure in the panel" });