@redneckz/wildless-cms-uni-blocks 0.14.599 → 0.14.600

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.
@@ -2919,12 +2919,8 @@
2919
2919
  }, [activeIndex]);
2920
2920
  const handleChange = useCallback((index) => (event) => {
2921
2921
  const { value } = event.currentTarget;
2922
- const isLastIndex = index === values.length - 1;
2923
- const isMultipleCharacters = value.length > 1;
2924
- if (isLastIndex && isMultipleCharacters) {
2925
- return;
2926
- }
2927
- setValues(values.map((_, i) => (i === index ? value : _)));
2922
+ const oneValue = value.slice(0, 1);
2923
+ setValues(values.map((_, i) => (i === index ? oneValue : _)));
2928
2924
  setActiveIndex(index + 1);
2929
2925
  }, [values]);
2930
2926
  const handleKeyDown = useCallback((currentIndex) => (event) => {
@@ -7585,7 +7581,7 @@
7585
7581
  slots: () => [HEADER_SLOT, FOOTER_SLOT, STICKY_FOOTER_SLOT],
7586
7582
  });
7587
7583
 
7588
- const packageVersion = "0.14.598";
7584
+ const packageVersion = "0.14.599";
7589
7585
 
7590
7586
  exports.Blocks = Blocks;
7591
7587
  exports.ContentPage = ContentPage;