@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.
- package/bundle/bundle.umd.js +5 -5
- package/bundle/bundle.umd.min.js +1 -1
- package/dist/ui-kit/VerifyPhoneDialog/InputCode.js +1 -1
- package/dist/ui-kit/VerifyPhoneDialog/InputCode.js.map +1 -1
- package/dist/ui-kit/VerifyPhoneDialog/SubmitButton.js +1 -1
- package/dist/ui-kit/VerifyPhoneDialog/VerifyPhoneDialog.js +2 -2
- package/dist/ui-kit/VerifyPhoneDialog/VerifyPhoneDialog.js.map +1 -1
- package/lib/common.css +1 -1
- package/lib/components/OfficesAtmsMap/OfficesAtmsMapLayout.d.ts +1 -1
- package/lib/ui-kit/VerifyPhoneDialog/InputCode.js +1 -1
- package/lib/ui-kit/VerifyPhoneDialog/InputCode.js.map +1 -1
- package/lib/ui-kit/VerifyPhoneDialog/SubmitButton.js +1 -1
- package/lib/ui-kit/VerifyPhoneDialog/VerifyPhoneDialog.js +2 -2
- package/lib/ui-kit/VerifyPhoneDialog/VerifyPhoneDialog.js.map +1 -1
- package/mobile/bundle/bundle.umd.js +5 -5
- package/mobile/bundle/bundle.umd.min.js +1 -1
- package/mobile/dist/ui-kit/VerifyPhoneDialog/InputCode.js +1 -1
- package/mobile/dist/ui-kit/VerifyPhoneDialog/InputCode.js.map +1 -1
- package/mobile/dist/ui-kit/VerifyPhoneDialog/SubmitButton.js +1 -1
- package/mobile/dist/ui-kit/VerifyPhoneDialog/VerifyPhoneDialog.js +2 -2
- package/mobile/dist/ui-kit/VerifyPhoneDialog/VerifyPhoneDialog.js.map +1 -1
- package/mobile/lib/common.css +1 -1
- package/mobile/lib/ui-kit/VerifyPhoneDialog/InputCode.js +1 -1
- package/mobile/lib/ui-kit/VerifyPhoneDialog/InputCode.js.map +1 -1
- package/mobile/lib/ui-kit/VerifyPhoneDialog/SubmitButton.js +1 -1
- package/mobile/lib/ui-kit/VerifyPhoneDialog/VerifyPhoneDialog.js +2 -2
- package/mobile/lib/ui-kit/VerifyPhoneDialog/VerifyPhoneDialog.js.map +1 -1
- package/mobile/src/ui-kit/VerifyPhoneDialog/InputCode.tsx +1 -1
- package/mobile/src/ui-kit/VerifyPhoneDialog/SubmitButton.tsx +1 -1
- package/mobile/src/ui-kit/VerifyPhoneDialog/VerifyPhoneDialog.tsx +6 -5
- package/package.json +1 -1
- package/src/ui-kit/VerifyPhoneDialog/InputCode.tsx +1 -1
- package/src/ui-kit/VerifyPhoneDialog/SubmitButton.tsx +1 -1
- package/src/ui-kit/VerifyPhoneDialog/VerifyPhoneDialog.tsx +6 -5
package/bundle/bundle.umd.js
CHANGED
|
@@ -3847,11 +3847,11 @@
|
|
|
3847
3847
|
});
|
|
3848
3848
|
const getInputStyle = (index, values, hasError = false) => {
|
|
3849
3849
|
const isInputEmpty = !values[index];
|
|
3850
|
-
return `w-
|
|
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-
|
|
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-
|
|
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-
|
|
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.
|
|
9920
|
+
const packageVersion = "0.14.664";
|
|
9921
9921
|
|
|
9922
9922
|
exports.Blocks = Blocks;
|
|
9923
9923
|
exports.ContentPage = ContentPage;
|