@redneckz/wildless-cms-uni-blocks 0.14.233 → 0.14.234

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.
@@ -527,11 +527,11 @@
527
527
  const RegularButton = JSX(({ className = '', href, rel, target, ariaLabel, version, rounded, onClick, type, data, children, }) => (jsx("a", { className: getRegularButtonClasses({ className, version, rounded }), href: href, rel: rel, target: target, "aria-label": ariaLabel, role: href ? 'link' : 'button', onClick: onClick, type: type, ...dataAttributes(data), children: children })));
528
528
  const DisabledButton = JSX(({ className, ariaLabel, version, rounded, children }) => (jsx("button", { type: "button", "aria-disabled": "true", "aria-label": ariaLabel, tabIndex: -1, className: getDisabledButtonClasses({ className, rounded, version }), children: children })));
529
529
 
530
- function renderBackwardButton(version, handleClick) {
530
+ function renderBackwardButton(version, handleClick, alwaysVisible = false) {
531
531
  const iconVersion = version === 'primary' ? 'white' : 'black';
532
532
  const className = 'w-12 h-12 min-h-12 min-w-12 flex items-center justify-center';
533
533
  const text = 'Вернуться назад';
534
- return (jsxs("div", { className: "hidden sm:flex items-center gap-s", children: [jsx("div", { className: getRegularButtonClasses({ className, version, rounded: true }), onClick: handleClick, children: jsx(Img, { className: "w-4 h-4", image: {
534
+ return (jsxs("div", { className: style(alwaysVisible ? 'flex' : 'hidden sm:flex', 'items-center gap-s'), children: [jsx("div", { className: getRegularButtonClasses({ className, version, rounded: true }), onClick: handleClick, children: jsx(Img, { className: "w-4 h-4", image: {
535
535
  icon: 'ArrowLeftIcon',
536
536
  iconVersion: iconVersion,
537
537
  } }) }), jsx(LinkButton, { version: "link", className: "group-data-secondary:text-white/80", text: text, ariaLabel: text, onClick: handleClick, type: "button" })] }));
@@ -6015,7 +6015,7 @@
6015
6015
  slots: () => [HEADER_SLOT, FOOTER_SLOT, STICKY_FOOTER_SLOT],
6016
6016
  });
6017
6017
 
6018
- const packageVersion = "0.14.232";
6018
+ const packageVersion = "0.14.233";
6019
6019
 
6020
6020
  exports.Blocks = Blocks;
6021
6021
  exports.ContentPage = ContentPage;