@redneckz/wildless-cms-uni-blocks 0.14.664 → 0.14.665

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 (34) hide show
  1. package/bundle/bundle.umd.js +5 -5
  2. package/bundle/bundle.umd.min.js +1 -1
  3. package/dist/ui-kit/VerifyPhoneDialog/InputCode.js +1 -1
  4. package/dist/ui-kit/VerifyPhoneDialog/InputCode.js.map +1 -1
  5. package/dist/ui-kit/VerifyPhoneDialog/SubmitButton.js +1 -1
  6. package/dist/ui-kit/VerifyPhoneDialog/VerifyPhoneDialog.js +2 -2
  7. package/dist/ui-kit/VerifyPhoneDialog/VerifyPhoneDialog.js.map +1 -1
  8. package/lib/common.css +1 -1
  9. package/lib/components/OfficesAtmsMap/OfficesAtmsMapLayout.d.ts +1 -1
  10. package/lib/ui-kit/VerifyPhoneDialog/InputCode.js +1 -1
  11. package/lib/ui-kit/VerifyPhoneDialog/InputCode.js.map +1 -1
  12. package/lib/ui-kit/VerifyPhoneDialog/SubmitButton.js +1 -1
  13. package/lib/ui-kit/VerifyPhoneDialog/VerifyPhoneDialog.js +2 -2
  14. package/lib/ui-kit/VerifyPhoneDialog/VerifyPhoneDialog.js.map +1 -1
  15. package/mobile/bundle/bundle.umd.js +5 -5
  16. package/mobile/bundle/bundle.umd.min.js +1 -1
  17. package/mobile/dist/ui-kit/VerifyPhoneDialog/InputCode.js +1 -1
  18. package/mobile/dist/ui-kit/VerifyPhoneDialog/InputCode.js.map +1 -1
  19. package/mobile/dist/ui-kit/VerifyPhoneDialog/SubmitButton.js +1 -1
  20. package/mobile/dist/ui-kit/VerifyPhoneDialog/VerifyPhoneDialog.js +2 -2
  21. package/mobile/dist/ui-kit/VerifyPhoneDialog/VerifyPhoneDialog.js.map +1 -1
  22. package/mobile/lib/common.css +1 -1
  23. package/mobile/lib/ui-kit/VerifyPhoneDialog/InputCode.js +1 -1
  24. package/mobile/lib/ui-kit/VerifyPhoneDialog/InputCode.js.map +1 -1
  25. package/mobile/lib/ui-kit/VerifyPhoneDialog/SubmitButton.js +1 -1
  26. package/mobile/lib/ui-kit/VerifyPhoneDialog/VerifyPhoneDialog.js +2 -2
  27. package/mobile/lib/ui-kit/VerifyPhoneDialog/VerifyPhoneDialog.js.map +1 -1
  28. package/mobile/src/ui-kit/VerifyPhoneDialog/InputCode.tsx +1 -1
  29. package/mobile/src/ui-kit/VerifyPhoneDialog/SubmitButton.tsx +1 -1
  30. package/mobile/src/ui-kit/VerifyPhoneDialog/VerifyPhoneDialog.tsx +6 -5
  31. package/package.json +1 -1
  32. package/src/ui-kit/VerifyPhoneDialog/InputCode.tsx +1 -1
  33. package/src/ui-kit/VerifyPhoneDialog/SubmitButton.tsx +1 -1
  34. package/src/ui-kit/VerifyPhoneDialog/VerifyPhoneDialog.tsx +6 -5
@@ -3847,11 +3847,11 @@
3847
3847
  });
3848
3848
  const getInputStyle = (index, values, hasError = false) => {
3849
3849
  const isInputEmpty = !values[index];
3850
- return `w-16 h-20 text-3xl text-center p-2 m-2 border ${hasError && isInputEmpty ? 'border-error' : 'border-gray'} rounded-md caret-transparent outline-none`;
3850
+ return `w-20 h-24 text-5xl text-center p-lg m-2 border ${hasError && isInputEmpty ? 'border-error' : 'border-gray'} rounded-md caret-transparent outline-none`;
3851
3851
  };
3852
3852
 
3853
3853
  const SubmitButton = JSX(({ isDisabled, onClick, text }) => {
3854
- return (jsx(Button, { type: "button", onClick: onClick, disabled: isDisabled, children: jsx(Text, { font: "font-medium", children: text }) }));
3854
+ return (jsx(Button, { type: "button", onClick: onClick, disabled: isDisabled, children: jsx(Text, { font: "font-normal", children: text }) }));
3855
3855
  });
3856
3856
 
3857
3857
  const checkCode = async (body) => doRequest('/sms/checkCode', 'POST', body).then(saveToken);
@@ -3930,10 +3930,10 @@
3930
3930
  useEffect(() => {
3931
3931
  sendCode();
3932
3932
  }, []);
3933
- return (jsx(Dialog, { className: "my-6xl max-w-3xl w-full min-h-fit mx-auto rounded-lg", children: jsxs("div", { className: "flex flex-col gap-lg items-center rounded-md", children: [jsx(Headline, { className: "w-full", title: title, description: description, headlineVersion: "S", isEmbedded: true }), code ? (jsx(InputCode, { values: values, setValues: setValues, errorText: errorText, hasError: hasError })) : null, renderText$1(timeNextReq, setTimeNextReq, sendCode), jsx(RichText, { itemSize: "list-s", __html: __html }), renderTextButton(textButton, isSubmitButtonDisabled, handleSubmit), isLoading ? jsx(Loader, { blur: false }) : null] }) }));
3933
+ return (jsx(Dialog, { className: "my-6xl max-w-3xl w-full min-h-fit mx-auto rounded-xl px-5xl py-0", children: jsxs("div", { className: "flex flex-col gap-xl items-center rounded-md", children: [jsx(Headline, { className: "w-full", title: title, description: description, headlineVersion: "XS", isEmbedded: true, as: "h6" }), code ? (jsx(InputCode, { values: values, setValues: setValues, errorText: errorText, hasError: hasError })) : null, renderText$1(timeNextReq, setTimeNextReq, sendCode), jsx(RichText, { itemSize: "list-s", __html: __html }), renderTextButton(textButton, isSubmitButtonDisabled, handleSubmit), isLoading ? jsx(Loader, { blur: false }) : null] }) }));
3934
3934
  });
3935
3935
  const renderTextButton = (textButton, isDisabled, handleSubmit) => textButton ? (jsx(SubmitButton, { isDisabled: isDisabled, onClick: handleSubmit, text: textButton })) : null;
3936
- const renderText$1 = (timeNextReq, setTimeNextReq, sendCode) => timeNextReq ? (jsxs("div", { className: "flex flex-row text-l font-light text-primary-main", children: ["\u041F\u043E\u043B\u0443\u0447\u0438\u0442\u044C \u043D\u043E\u0432\u044B\u0439 \u043A\u043E\u0434 \u043C\u043E\u0436\u043D\u043E \u0447\u0435\u0440\u0435\u0437", jsx(Timer, { className: "text-primary-main ml-1", time: timeNextReq, setTime: setTimeNextReq })] })) : (jsx(LinkButton, { onClick: sendCode, className: "text-primary-main", children: "\u041F\u043E\u043B\u0443\u0447\u0438\u0442\u044C \u043D\u043E\u0432\u044B\u0439 \u043A\u043E\u0434" }));
3936
+ const renderText$1 = (timeNextReq, setTimeNextReq, sendCode) => timeNextReq ? (jsxs("div", { className: "flex flex-row text-l font-light text-base", children: ["\u041F\u043E\u043B\u0443\u0447\u0438\u0442\u044C \u043D\u043E\u0432\u044B\u0439 \u043A\u043E\u0434 \u043C\u043E\u0436\u043D\u043E \u0447\u0435\u0440\u0435\u0437", jsx(Timer, { className: "text-base ml-1", time: timeNextReq, setTime: setTimeNextReq })] })) : (jsx(LinkButton, { onClick: sendCode, className: "text-primary-main", children: "\u041F\u043E\u043B\u0443\u0447\u0438\u0442\u044C \u043D\u043E\u0432\u044B\u0439 \u043A\u043E\u0434" }));
3937
3937
 
3938
3938
  const useVerifyPhoneDialog = () => {
3939
3939
  const { open, close } = useDialogManager();
@@ -9917,7 +9917,7 @@
9917
9917
  slots: () => [HEADER_SLOT, FOOTER_SLOT, STICKY_FOOTER_SLOT],
9918
9918
  });
9919
9919
 
9920
- const packageVersion = "0.14.663";
9920
+ const packageVersion = "0.14.664";
9921
9921
 
9922
9922
  exports.Blocks = Blocks;
9923
9923
  exports.ContentPage = ContentPage;