@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/{chunk-ATQXZEVD.js → chunk-YOFCVO2W.js} +3 -2
- package/dist/chunk-YOFCVO2W.js.map +1 -0
- package/dist/index.cjs +194 -11
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +11 -2
- package/dist/index.d.ts +11 -2
- package/dist/index.js +196 -14
- package/dist/index.js.map +1 -1
- package/dist/registry.cjs +1 -0
- package/dist/registry.cjs.map +1 -1
- package/dist/registry.js +1 -1
- package/dist/styles.css +658 -549
- package/dist/styles.css.map +1 -1
- package/package.json +1 -1
- package/dist/chunk-ATQXZEVD.js.map +0 -1
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" });
|