@redneckz/wildless-cms-uni-blocks 0.14.827 → 0.14.828

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.
@@ -7840,7 +7840,11 @@
7840
7840
 
7841
7841
  const renderStep$1 = ({ sections, field, step, params, }) => sections?.map(({ inputs: origInputs = [], columns, title, condition }, i) => {
7842
7842
  const inputs = calculateInputs(getValue(field))(origInputs, step);
7843
- return (jsxs("div", { className: style(inputColumnStyles(columns), 'grid gap-x-m'), children: [!checkCondition({ condition }, getValue(field)) ? renderTitle(title) : null, renderInputs({ field, inputs, params })] }, `section-${i}`));
7843
+ const cleanElements = [
7844
+ !checkCondition({ condition }, getValue(field)) ? renderTitle(title) : null,
7845
+ ...renderInputs({ field, inputs, params }),
7846
+ ].filter(Boolean);
7847
+ return cleanElements.length ? (jsx("div", { className: style(inputColumnStyles(columns), 'grid gap-x-m'), children: cleanElements }, `section-${i}`)) : null;
7844
7848
  });
7845
7849
  const getValue = (field) => (name) => field(name)?.value;
7846
7850
 
@@ -11681,7 +11685,7 @@
11681
11685
  slots: () => [HEADER_SLOT, FOOTER_SLOT, STICKY_FOOTER_SLOT],
11682
11686
  });
11683
11687
 
11684
- const packageVersion = "0.14.826";
11688
+ const packageVersion = "0.14.827";
11685
11689
 
11686
11690
  exports.Blocks = Blocks;
11687
11691
  exports.ContentPage = ContentPage;