@redneckz/wildless-cms-uni-blocks 0.14.804 → 0.14.805

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.
Files changed (31) hide show
  1. package/bundle/bundle.umd.js +4 -4
  2. package/bundle/bundle.umd.min.js +1 -1
  3. package/bundle/ui-kit/Button/Button.d.ts +1 -0
  4. package/dist/ui-kit/Button/Button.d.ts +1 -0
  5. package/dist/ui-kit/Button/Button.js +2 -2
  6. package/dist/ui-kit/Button/Button.js.map +1 -1
  7. package/dist/ui-kit/SwipeListControl/SwipeListScrollButtons.js +1 -1
  8. package/dist/ui-kit/SwipeListControl/SwipeListScrollButtons.js.map +1 -1
  9. package/lib/ui-kit/Button/Button.d.ts +1 -0
  10. package/lib/ui-kit/Button/Button.js +2 -2
  11. package/lib/ui-kit/Button/Button.js.map +1 -1
  12. package/lib/ui-kit/SwipeListControl/SwipeListScrollButtons.js +1 -1
  13. package/lib/ui-kit/SwipeListControl/SwipeListScrollButtons.js.map +1 -1
  14. package/mobile/bundle/bundle.umd.js +4 -4
  15. package/mobile/bundle/bundle.umd.min.js +1 -1
  16. package/mobile/bundle/ui-kit/Button/Button.d.ts +1 -0
  17. package/mobile/dist/ui-kit/Button/Button.d.ts +1 -0
  18. package/mobile/dist/ui-kit/Button/Button.js +2 -2
  19. package/mobile/dist/ui-kit/Button/Button.js.map +1 -1
  20. package/mobile/dist/ui-kit/SwipeListControl/SwipeListScrollButtons.js +1 -1
  21. package/mobile/dist/ui-kit/SwipeListControl/SwipeListScrollButtons.js.map +1 -1
  22. package/mobile/lib/ui-kit/Button/Button.d.ts +1 -0
  23. package/mobile/lib/ui-kit/Button/Button.js +2 -2
  24. package/mobile/lib/ui-kit/Button/Button.js.map +1 -1
  25. package/mobile/lib/ui-kit/SwipeListControl/SwipeListScrollButtons.js +1 -1
  26. package/mobile/lib/ui-kit/SwipeListControl/SwipeListScrollButtons.js.map +1 -1
  27. package/mobile/src/ui-kit/Button/Button.tsx +3 -0
  28. package/mobile/src/ui-kit/SwipeListControl/SwipeListScrollButtons.tsx +2 -0
  29. package/package.json +1 -1
  30. package/src/ui-kit/Button/Button.tsx +3 -0
  31. package/src/ui-kit/SwipeListControl/SwipeListScrollButtons.tsx +2 -0
@@ -2253,7 +2253,7 @@
2253
2253
  };
2254
2254
  const embeddedStyle = style('group/btn-embedded', 'bg-transparent border border-transparent outline-none');
2255
2255
  const disabledStyle = style('bg-main-gray text-main-disabled cursor-not-allowed');
2256
- const Button = JSX(({ className, type = 'button', version = 'primary', shape = 'default', embedded, disabled, role, ariaLabel, data, dataTheme, children, onClick = noop, }) => {
2256
+ const Button = JSX(({ className, type = 'button', version = 'primary', shape = 'default', embedded, disabled, role, ariaLabel, data, dataTheme, children, wcmsIgnore, onClick = noop, }) => {
2257
2257
  const handleClick = useCallback(role !== 'tab' ? handlerDecorator(onClick) : onClick, [
2258
2258
  role,
2259
2259
  onClick,
@@ -2267,7 +2267,7 @@
2267
2267
  }, embedded ? 'justify-between' : 'justify-center', embedded || isRound ? 'p-0' : 'px-9 py-4', {
2268
2268
  'rounded-md': shape === 'default',
2269
2269
  'rounded-full': isRound,
2270
- }, className), type: type, role: role, "aria-label": ariaLabel, disabled: disabled, "aria-disabled": disabled ? 'true' : undefined, "data-theme": dataTheme, ...aspectsAttrs, onClick: handleClick, children: children }));
2270
+ }, className), type: type, role: role, "aria-label": ariaLabel, disabled: disabled, "aria-disabled": disabled ? 'true' : undefined, "data-theme": dataTheme, "data-wcms-ignore": wcmsIgnore, ...aspectsAttrs, onClick: handleClick, children: children }));
2271
2271
  });
2272
2272
 
2273
2273
  const CloseButton = JSX(({ className, onClose }) => (jsx("button", { className: style('flex justify-center items-center w-12 h-12 p-2xs bg-transparent border-none', className), onClick: onClose, title: "\u0417\u0430\u043A\u0440\u044B\u0442\u044C", type: "button", children: jsx(Icon, { name: "CloseIcon", width: "20", height: "20", iconVersion: "gray" }) })));
@@ -6343,7 +6343,7 @@
6343
6343
  const SwipeListScrollButtons = JSX(({ className, scroll, hasBlur, arrowsPadded, isBottom }) => {
6344
6344
  const { canScrollLeft, canScrollRight, scrollLeft, scrollRight } = scroll;
6345
6345
  const isArrowPadded = arrowsPadded && !isBottom;
6346
- return (jsxs("div", { className: className, children: [hasBlur ? renderBlur(scroll) : null, canScrollLeft ? (jsx(ArrowLeftButton, { className: style(buttonStyle(isBottom), isArrowPadded ? 'left-1' : 'left-0'), onClick: scrollLeft })) : null, canScrollRight ? (jsx(ArrowRightButton, { className: style(buttonStyle(isBottom), isArrowPadded ? 'right-1' : 'right-0'), onClick: scrollRight })) : null] }));
6346
+ return (jsxs("div", { className: className, children: [hasBlur ? renderBlur(scroll) : null, canScrollLeft ? (jsx(ArrowLeftButton, { wcmsIgnore: true, className: style(buttonStyle(isBottom), isArrowPadded ? 'left-1' : 'left-0'), onClick: scrollLeft })) : null, canScrollRight ? (jsx(ArrowRightButton, { wcmsIgnore: true, className: style(buttonStyle(isBottom), isArrowPadded ? 'right-1' : 'right-0'), onClick: scrollRight })) : null] }));
6347
6347
  });
6348
6348
  const renderBlur = (scroll) => (jsxs("div", { children: [scroll.canScrollLeft ? (jsx("div", { className: style(blurBaseStyle, 'left-0 bg-opacity-from-white group-data-secondary:bg-none') })) : null, scroll.canScrollRight ? (jsx("div", { className: style(blurBaseStyle, 'right-0 bg-opacity-to-white group-data-secondary:bg-none') })) : null] }));
6349
6349
  const buttonStyle = (isBottom = false) => style('absolute z-40', isBottom ? 'bottom-[56px]' : 'top-[calc(50%-24px)]');
@@ -11461,7 +11461,7 @@
11461
11461
  slots: () => [HEADER_SLOT, FOOTER_SLOT, STICKY_FOOTER_SLOT],
11462
11462
  });
11463
11463
 
11464
- const packageVersion = "0.14.803";
11464
+ const packageVersion = "0.14.804";
11465
11465
 
11466
11466
  exports.Blocks = Blocks;
11467
11467
  exports.ContentPage = ContentPage;