@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.
- package/bundle/bundle.umd.js +6 -2
- package/bundle/bundle.umd.min.js +1 -1
- package/dist/retail/utils/renderStep.js +5 -1
- package/dist/retail/utils/renderStep.js.map +1 -1
- package/lib/retail/utils/renderStep.js +6 -2
- package/lib/retail/utils/renderStep.js.map +1 -1
- package/mobile/bundle/bundle.umd.js +6 -2
- package/mobile/bundle/bundle.umd.min.js +1 -1
- package/mobile/dist/retail/utils/renderStep.js +5 -1
- package/mobile/dist/retail/utils/renderStep.js.map +1 -1
- package/mobile/lib/retail/utils/renderStep.js +6 -2
- package/mobile/lib/retail/utils/renderStep.js.map +1 -1
- package/mobile/src/retail/utils/renderStep.tsx +7 -4
- package/package.json +1 -1
- package/src/retail/utils/renderStep.tsx +7 -4
package/bundle/bundle.umd.js
CHANGED
|
@@ -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
|
-
|
|
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.
|
|
11688
|
+
const packageVersion = "0.14.827";
|
|
11685
11689
|
|
|
11686
11690
|
exports.Blocks = Blocks;
|
|
11687
11691
|
exports.ContentPage = ContentPage;
|