@redneckz/wildless-cms-uni-blocks 0.14.9 → 0.14.10

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.
@@ -789,7 +789,7 @@
789
789
  if (className?.includes('h-')) {
790
790
  return {};
791
791
  }
792
- return { height: isOnlyDigits(height) ? `${height}px` : height };
792
+ return { height: isOnlyDigits(height) ? `${height}px` : height, width: 'auto' };
793
793
  };
794
794
  const getSvgSize = (width) => (width ? '' : 'w-full h-full');
795
795
  const Background = JSX(({ className, children }) => className ? jsx("div", { className: className, children: children }) : children);
@@ -5439,7 +5439,7 @@
5439
5439
  parent: data,
5440
5440
  };
5441
5441
  useBlockRouterProvider();
5442
- return (jsxs("div", { "data-theme": colorPalette, children: [jsxs("section", { className: style('relative', pageStyle, className), children: [slots?.header ? (jsx("div", { className: "relative z-10 mb-lg shadow-[0_8px_32px_0px_#00000014]", children: renderBlocksList(slots?.header, { ...options, slotName: 'header' }) })) : null, jsxs("div", { className: "container space-y-px @lg:space-y-0 @lg:grid @lg:grid-cols-12 @lg:gap-2xs", children: [renderChildren({ block: data, options, extraProps: { className: 'scroll-mt-12' } }), renderBlocksList(slots?.footer, { ...options, slotName: 'footer' })] }), likeControl ? renderLikeControl() : null] }), jsx(StickyBottomMenu, {}), jsx(DialogManager, {}), jsx(PopupManager, {}), jsx(CookiePopup, { termLink: { href: '/pd-policy#cookie', target: '_blank' }, personalDataPolicyLink: { href: '/pd-policy', target: '_blank' } })] }));
5442
+ return (jsxs("div", { "data-theme": colorPalette, children: [jsxs("section", { className: style('@container relative', pageStyle, className), children: [slots?.header ? (jsx("div", { className: "relative z-10 mb-lg shadow-[0_8px_32px_0px_#00000014]", children: renderBlocksList(slots?.header, { ...options, slotName: 'header' }) })) : null, jsxs("div", { className: "container space-y-px @lg:space-y-0 @lg:grid @lg:grid-cols-12 @lg:gap-2xs", children: [renderChildren({ block: data, options, extraProps: { className: 'scroll-mt-12' } }), renderBlocksList(slots?.footer, { ...options, slotName: 'footer' })] }), likeControl ? renderLikeControl() : null] }), jsx(StickyBottomMenu, {}), jsx(DialogManager, {}), jsx(PopupManager, {}), jsx(CookiePopup, { termLink: { href: '/pd-policy#cookie', target: '_blank' }, personalDataPolicyLink: { href: '/pd-policy', target: '_blank' } })] }));
5443
5443
  });
5444
5444
  ContentPage.childrenTypes = [];
5445
5445
  ContentPage.slots = () => ['header', 'footer', 'StickyBottomMenu'];
@@ -5447,7 +5447,7 @@
5447
5447
  return (jsx("div", { className: "flex items-end absolute bottom-0 right-0 h-full pointer-events-none", children: jsx(LikeControl, { className: "rounded-tl-3xl sticky bottom-0 pointer-events-auto" }) }));
5448
5448
  }
5449
5449
 
5450
- const packageVersion = "0.14.9";
5450
+ const packageVersion = "0.14.10";
5451
5451
 
5452
5452
  exports.Blocks = Blocks;
5453
5453
  exports.ContentPage = ContentPage;