@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.
- package/bundle/bundle.umd.js +3 -7
- package/bundle/bundle.umd.min.js +1 -1
- package/dist/ui-kit/VerifyPhoneDialog/InputCode.js +2 -6
- package/dist/ui-kit/VerifyPhoneDialog/InputCode.js.map +1 -1
- package/lib/ui-kit/VerifyPhoneDialog/InputCode.js +2 -6
- package/lib/ui-kit/VerifyPhoneDialog/InputCode.js.map +1 -1
- package/mobile/bundle/bundle.umd.js +3 -7
- package/mobile/bundle/bundle.umd.min.js +1 -1
- package/mobile/dist/ui-kit/VerifyPhoneDialog/InputCode.js +2 -6
- package/mobile/dist/ui-kit/VerifyPhoneDialog/InputCode.js.map +1 -1
- package/mobile/lib/ui-kit/VerifyPhoneDialog/InputCode.js +2 -6
- package/mobile/lib/ui-kit/VerifyPhoneDialog/InputCode.js.map +1 -1
- package/mobile/src/ui-kit/VerifyPhoneDialog/InputCode.tsx +2 -6
- package/package.json +1 -1
- package/src/ui-kit/VerifyPhoneDialog/InputCode.tsx +2 -6
package/bundle/bundle.umd.js
CHANGED
|
@@ -2919,12 +2919,8 @@
|
|
|
2919
2919
|
}, [activeIndex]);
|
|
2920
2920
|
const handleChange = useCallback((index) => (event) => {
|
|
2921
2921
|
const { value } = event.currentTarget;
|
|
2922
|
-
const
|
|
2923
|
-
|
|
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.
|
|
7584
|
+
const packageVersion = "0.14.599";
|
|
7589
7585
|
|
|
7590
7586
|
exports.Blocks = Blocks;
|
|
7591
7587
|
exports.ContentPage = ContentPage;
|