@redneckz/wildless-cms-uni-blocks 0.14.392 → 0.14.393

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.
@@ -3372,11 +3372,12 @@
3372
3372
  });
3373
3373
  const buttonClassName = style('border border-solid hover:border-transparent group-data-primary:border-main-divider border-main-divider group-data-gray:border-green group/media', showButtonText && hasText ? '' : 'basis-auto', getStretchedStyle(stretched));
3374
3374
  return (jsxs("div", { className: style('flex flex-col gap-m xl:gap-xs', className), children: [jsx("div", { className: "flex gap-xs", children: renderButtonsSection(buttons, {
3375
- className: style(stretched || hasText ? 'basis-full' : ''),
3375
+ className: getClassName(hasText ?? false, stretched ?? false),
3376
3376
  buttonClassName,
3377
3377
  }) }), children ? (jsx(Text, { size: "text-s", font: "font-light", color: "text-secondary-text", children: children })) : null] }));
3378
3378
  });
3379
3379
  const getStretchedStyle = (stretched = false) => (stretched ? 'flex-1 justify-center' : '');
3380
+ const getClassName = (hasText, stretched) => style(hasText || stretched ? 'basis-full' : '', stretched ? 'flex-nowrap' : '');
3380
3381
 
3381
3382
  const ImageAlwaysOnRight = true;
3382
3383
 
@@ -6272,7 +6273,7 @@
6272
6273
  slots: () => [HEADER_SLOT, FOOTER_SLOT, STICKY_FOOTER_SLOT],
6273
6274
  });
6274
6275
 
6275
- const packageVersion = "0.14.391";
6276
+ const packageVersion = "0.14.392";
6276
6277
 
6277
6278
  exports.Blocks = Blocks;
6278
6279
  exports.ContentPage = ContentPage;