@redneckz/wildless-cms-uni-blocks 0.14.852 → 0.14.853

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.
@@ -10458,8 +10458,9 @@
10458
10458
  });
10459
10459
  // TODO: Update handlerDecorator (support buttons?)
10460
10460
  const ButtonTabItem = JSX(({ item = {}, onClick, ...rest }) => {
10461
- const handleClick = useCallback(() => {
10462
- onClick && onClick(item);
10461
+ const handleClick = useCallback((e) => {
10462
+ e.target.scrollIntoView({ block: 'nearest' });
10463
+ onClick?.(item);
10463
10464
  }, [onClick, item]);
10464
10465
  return jsx(TabItemInner, { item: item, onClick: handleClick, ...rest });
10465
10466
  });
@@ -10985,7 +10986,7 @@
10985
10986
  slots: () => [HEADER_SLOT, FOOTER_SLOT, STICKY_FOOTER_SLOT],
10986
10987
  });
10987
10988
 
10988
- const packageVersion = "0.14.851";
10989
+ const packageVersion = "0.14.852";
10989
10990
 
10990
10991
  exports.Blocks = Blocks;
10991
10992
  exports.ContentPage = ContentPage;