@redneckz/wildless-cms-uni-blocks 0.14.529 → 0.14.531

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.
@@ -29,8 +29,8 @@ function adjustClearContent(block) {
29
29
  }
30
30
  }
31
31
  if (content?.steps?.length) {
32
- for (let slide of content.steps) {
33
- slide = clearContent(slide);
32
+ for (const slide of content.steps) {
33
+ clearContent(slide);
34
34
  }
35
35
  }
36
36
  }
@@ -3629,7 +3629,7 @@
3629
3629
 
3630
3630
  const ContactsBlock = JSX(({ className, contacts, info, version = 'secondary', ...rest }) => (jsxs(BlockWrapper, { className: style('flex', className), defaultPadding: "p-6xl", version: version, ...rest, children: [info?.length ? renderBlocks(info) : null, contacts?.length ? renderBlocks(contacts) : null] })));
3631
3631
  const renderBlocks = (info) => (jsx("div", { className: "flex gap-5xl grow basis-0", children: info.map((column, i) => renderBlocksColumn({ column, i })) }));
3632
- const renderBlocksColumn = ({ column, i }) => column ? (jsx("div", { className: "flex flex-col gap-xl grow basis-0", children: column.map(({ title = '', description, additionalDescription, button }, key) => (jsxs("div", { children: [jsx(Headline, { title: title, description: description, headlineVersion: "XS", align: "text-left", isEmbedded: true }), additionalDescription ? (jsx("div", { className: "mt-xs opacity-80", children: jsx(Paragraph, { size: "text-m", font: "font-light", children: additionalDescription }) })) : null, button?.text ? jsx(LinkButton, { className: "mt-xl", ...button }) : null] }, String(key)))) }, `col-${String(i)}`)) : null;
3632
+ const renderBlocksColumn = ({ column, i }) => column ? (jsx("div", { className: "flex flex-col gap-xl grow basis-0", children: column.map(({ title = '', description, additionalDescription, button }, key) => (jsxs("div", { children: [jsx(Headline, { title: title, description: description, headlineVersion: "XS", align: "text-left", isEmbedded: true }), additionalDescription ? (jsx("div", { className: "mt-xs opacity-80", children: jsx(Paragraph, { size: "text-m", font: "font-light", children: additionalDescription }) })) : null, jsx("div", { className: style({ 'mt-xl': Boolean(button?.text) }), children: renderButtonsSection([button]) })] }, String(key)))) }, `col-${String(i)}`)) : null;
3633
3633
 
3634
3634
  const isRateRow = (rateRow) => {
3635
3635
  return typeof rateRow?.minMonths === 'number' && typeof rateRow?.maxMonths === 'number';
@@ -6448,7 +6448,7 @@
6448
6448
  slots: () => [HEADER_SLOT, FOOTER_SLOT, STICKY_FOOTER_SLOT],
6449
6449
  });
6450
6450
 
6451
- const packageVersion = "0.14.528";
6451
+ const packageVersion = "0.14.530";
6452
6452
 
6453
6453
  exports.Blocks = Blocks;
6454
6454
  exports.ContentPage = ContentPage;