@redneckz/wildless-cms-uni-blocks 0.14.351 → 0.14.352

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.
@@ -3424,7 +3424,7 @@
3424
3424
  if (options?.parent !== undefined && event.parent === options?.parent) {
3425
3425
  setIsVisible(event.isUnfolded);
3426
3426
  }
3427
- }), []);
3427
+ }), [options?.parent]);
3428
3428
  return (jsxs(BlockWrapper, { className: style('flex flex-col', className), defaultPadding: "p-2xl", ...rest, children: [isIcon(icon) ? (jsx("div", { className: "self-center", children: jsx(Img, { image: icon }) })) : null, title ? (jsx(Heading, { className: style('pt-xs', align), headingType: "h5", title: title })) : null, button?.text ? jsx(LinkButton, { className: "w-full mt-m mb-lg", ...button }) : null, hiddenCells.length ? (jsx(Foldable, { renderFoldableSection: () => (jsxs("div", { children: [visibleCells, jsx(FoldableSection, { isUnfolded: isVisible, children: hiddenCells })] })), renderFoldButton: cardCells.length > 1 ? renderFoldButton$3(isVisible, options?.parent, data) : null })) : (jsx("div", { children: visibleCells }))] }));
3429
3429
  });
3430
3430
  const renderFoldButton$3 = (isUnfolded, parent, data) => () => (jsxs("button", { className: "w-full cursor-pointer text-primary-main pt-lg flex justify-between items-center", onClick: () => {
@@ -6251,7 +6251,7 @@
6251
6251
  slots: () => [HEADER_SLOT, FOOTER_SLOT, STICKY_FOOTER_SLOT],
6252
6252
  });
6253
6253
 
6254
- const packageVersion = "0.14.350";
6254
+ const packageVersion = "0.14.351";
6255
6255
 
6256
6256
  exports.Blocks = Blocks;
6257
6257
  exports.ContentPage = ContentPage;