@alfalab/core-components-confirmation 12.1.4 → 12.2.1
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/component-8a46eb16.d.ts +35 -0
- package/{component.js → component-8a46eb16.js} +11 -18
- package/component.desktop.d.ts +5 -0
- package/component.desktop.js +31 -0
- package/component.mobile.d.ts +5 -0
- package/component.mobile.js +38 -0
- package/component.responsive.d.ts +6 -0
- package/component.responsive.js +39 -0
- package/components/base-confirmation/component.d.ts +0 -0
- package/components/base-confirmation/component.js +27 -0
- package/components/base-confirmation/index.css +24 -0
- package/components/base-confirmation/index.d.ts +1 -0
- package/components/base-confirmation/index.js +27 -0
- package/components/countdown-loader/component.js +1 -1
- package/components/countdown-loader/index.css +2 -11
- package/components/header/component.d.ts +13 -0
- package/components/header/component.js +23 -0
- package/components/header/index.css +51 -0
- package/components/header/index.d.ts +1 -0
- package/components/header/index.js +12 -0
- package/components/index.js +4 -2
- package/components/screens/fatal-error/component.d.ts +9 -3
- package/components/screens/fatal-error/component.js +13 -7
- package/components/screens/fatal-error/index.css +17 -29
- package/components/screens/fatal-error/index.js +3 -0
- package/components/screens/hint/component.d.ts +9 -3
- package/components/screens/hint/component.js +17 -17
- package/components/screens/hint/index.css +25 -48
- package/components/screens/hint/index.js +2 -0
- package/components/screens/index.js +4 -2
- package/components/screens/initial/component.d.ts +9 -3
- package/components/screens/initial/component.js +14 -11
- package/components/screens/initial/countdown-section.js +3 -2
- package/components/screens/initial/index.css +48 -45
- package/components/screens/initial/index.js +4 -2
- package/components/screens/temp-block/component.d.ts +9 -3
- package/components/screens/temp-block/component.js +13 -7
- package/components/screens/temp-block/index.css +12 -30
- package/components/screens/temp-block/index.js +3 -0
- package/{esm/countdown-section-694d1c59.d.ts → countdown-section-d2ec5a14.d.ts} +1 -0
- package/countdown-section-d2ec5a14.js +56 -0
- package/cssm/component-5c5b24ae.d.ts +35 -0
- package/cssm/{component.js → component-5c5b24ae.js} +10 -22
- package/cssm/component.desktop.d.ts +5 -0
- package/cssm/component.desktop.js +38 -0
- package/cssm/component.mobile.d.ts +5 -0
- package/cssm/component.mobile.js +44 -0
- package/cssm/component.responsive.d.ts +6 -0
- package/cssm/component.responsive.js +47 -0
- package/cssm/components/base-confirmation/component.d.ts +0 -0
- package/cssm/components/base-confirmation/component.js +34 -0
- package/cssm/components/base-confirmation/index.d.ts +1 -0
- package/cssm/components/base-confirmation/index.js +34 -0
- package/cssm/components/base-confirmation/index.module.css +23 -0
- package/cssm/components/countdown-loader/index.module.css +0 -9
- package/cssm/components/header/component.d.ts +13 -0
- package/cssm/components/header/component.js +22 -0
- package/cssm/components/header/index.d.ts +1 -0
- package/cssm/components/header/index.js +13 -0
- package/cssm/components/header/index.module.css +50 -0
- package/cssm/components/index.js +5 -2
- package/cssm/components/screens/fatal-error/component.d.ts +9 -3
- package/cssm/components/screens/fatal-error/component.js +13 -6
- package/cssm/components/screens/fatal-error/index.js +4 -0
- package/cssm/components/screens/fatal-error/index.module.css +16 -28
- package/cssm/components/screens/hint/component.d.ts +9 -3
- package/cssm/components/screens/hint/component.js +17 -16
- package/cssm/components/screens/hint/index.js +3 -0
- package/cssm/components/screens/hint/index.module.css +17 -40
- package/cssm/components/screens/index.js +5 -2
- package/cssm/components/screens/initial/component.d.ts +9 -3
- package/cssm/components/screens/initial/component.js +15 -11
- package/cssm/components/screens/initial/countdown-section.d.ts +1 -0
- package/cssm/components/screens/initial/countdown-section.js +25 -10
- package/cssm/components/screens/initial/index.js +5 -2
- package/cssm/components/screens/initial/index.module.css +37 -34
- package/cssm/components/screens/temp-block/component.d.ts +9 -3
- package/cssm/components/screens/temp-block/component.js +13 -6
- package/cssm/components/screens/temp-block/index.js +4 -0
- package/cssm/components/screens/temp-block/index.module.css +9 -27
- package/cssm/desktop.d.ts +1 -0
- package/cssm/desktop.js +35 -0
- package/cssm/index.d.ts +2 -1
- package/cssm/index.js +13 -5
- package/cssm/mobile.d.ts +1 -0
- package/cssm/mobile.js +36 -0
- package/cssm/mobile.module.css +3 -0
- package/cssm/responsive.d.ts +1 -0
- package/cssm/responsive.js +38 -0
- package/cssm/types.d.ts +4 -0
- package/cssm/vars.css +4 -4
- package/desktop.d.ts +1 -0
- package/desktop.js +28 -0
- package/esm/component-417f2884.d.ts +35 -0
- package/esm/{component.js → component-417f2884.js} +6 -12
- package/esm/component.desktop.d.ts +5 -0
- package/esm/component.desktop.js +23 -0
- package/esm/component.mobile.d.ts +5 -0
- package/esm/component.mobile.js +29 -0
- package/esm/component.responsive.d.ts +6 -0
- package/esm/component.responsive.js +31 -0
- package/esm/components/base-confirmation/component.d.ts +0 -0
- package/esm/components/base-confirmation/component.js +19 -0
- package/esm/components/base-confirmation/index.css +24 -0
- package/esm/components/base-confirmation/index.d.ts +1 -0
- package/esm/components/base-confirmation/index.js +19 -0
- package/esm/components/countdown-loader/component.js +1 -1
- package/esm/components/countdown-loader/index.css +2 -11
- package/esm/components/header/component.d.ts +13 -0
- package/esm/components/header/component.js +14 -0
- package/esm/components/header/index.css +51 -0
- package/esm/components/header/index.d.ts +1 -0
- package/esm/components/header/index.js +4 -0
- package/esm/components/index.js +4 -2
- package/esm/components/screens/fatal-error/component.d.ts +9 -3
- package/esm/components/screens/fatal-error/component.js +13 -8
- package/esm/components/screens/fatal-error/index.css +17 -29
- package/esm/components/screens/fatal-error/index.js +3 -0
- package/esm/components/screens/hint/component.d.ts +9 -3
- package/esm/components/screens/hint/component.js +17 -17
- package/esm/components/screens/hint/index.css +25 -48
- package/esm/components/screens/hint/index.js +2 -0
- package/esm/components/screens/index.js +4 -2
- package/esm/components/screens/initial/component.d.ts +9 -3
- package/esm/components/screens/initial/component.js +14 -11
- package/esm/components/screens/initial/countdown-section.js +3 -2
- package/esm/components/screens/initial/index.css +48 -45
- package/esm/components/screens/initial/index.js +4 -2
- package/esm/components/screens/temp-block/component.d.ts +9 -3
- package/esm/components/screens/temp-block/component.js +12 -7
- package/esm/components/screens/temp-block/index.css +12 -30
- package/esm/components/screens/temp-block/index.js +3 -0
- package/{modern/countdown-section-d8a9a733.d.ts → esm/countdown-section-9777131a.d.ts} +1 -0
- package/esm/countdown-section-9777131a.js +48 -0
- package/esm/desktop.d.ts +1 -0
- package/esm/desktop.js +20 -0
- package/esm/index.d.ts +2 -1
- package/esm/index.js +8 -3
- package/esm/mobile.css +4 -0
- package/esm/mobile.d.ts +1 -0
- package/esm/mobile.js +20 -0
- package/esm/responsive.d.ts +1 -0
- package/esm/responsive.js +22 -0
- package/esm/types.d.ts +4 -0
- package/index.d.ts +2 -1
- package/index.js +10 -4
- package/mobile.css +4 -0
- package/mobile.d.ts +1 -0
- package/mobile.js +28 -0
- package/modern/component.desktop.d.ts +5 -0
- package/modern/component.desktop.js +23 -0
- package/modern/component.mobile.d.ts +5 -0
- package/modern/component.mobile.js +26 -0
- package/modern/component.responsive.d.ts +6 -0
- package/modern/component.responsive.js +31 -0
- package/modern/components/base-confirmation/component.d.ts +4 -0
- package/modern/{component.js → components/base-confirmation/component.js} +16 -14
- package/modern/components/base-confirmation/index.css +24 -0
- package/modern/components/base-confirmation/index.d.ts +1 -0
- package/modern/components/base-confirmation/index.js +19 -0
- package/modern/components/countdown-loader/component.js +1 -1
- package/modern/components/countdown-loader/index.css +2 -11
- package/modern/components/header/component.d.ts +13 -0
- package/modern/components/header/component.js +10 -0
- package/modern/components/header/index.css +51 -0
- package/modern/components/header/index.d.ts +1 -0
- package/modern/components/header/index.js +4 -0
- package/modern/components/index.js +4 -2
- package/modern/components/screens/fatal-error/component.d.ts +9 -3
- package/modern/components/screens/fatal-error/component.js +11 -8
- package/modern/components/screens/fatal-error/index.css +17 -29
- package/modern/components/screens/fatal-error/index.js +3 -0
- package/modern/components/screens/hint/component.d.ts +9 -3
- package/modern/components/screens/hint/component.js +14 -16
- package/modern/components/screens/hint/index.css +25 -48
- package/modern/components/screens/hint/index.js +2 -0
- package/modern/components/screens/index.js +4 -2
- package/modern/components/screens/initial/component.d.ts +9 -3
- package/modern/components/screens/initial/component.js +10 -9
- package/modern/components/screens/initial/countdown-section.js +3 -2
- package/modern/components/screens/initial/index.css +48 -45
- package/modern/components/screens/initial/index.js +4 -2
- package/modern/components/screens/temp-block/component.d.ts +9 -3
- package/modern/components/screens/temp-block/component.js +8 -5
- package/modern/components/screens/temp-block/index.css +12 -30
- package/modern/components/screens/temp-block/index.js +3 -0
- package/{countdown-section-c2901a7e.d.ts → modern/countdown-section-f68f4069.d.ts} +1 -0
- package/modern/countdown-section-f68f4069.js +46 -0
- package/modern/desktop.d.ts +1 -0
- package/modern/desktop.js +20 -0
- package/modern/index.d.ts +2 -1
- package/modern/index.js +8 -3
- package/modern/mobile.css +4 -0
- package/modern/mobile.d.ts +1 -0
- package/modern/mobile.js +20 -0
- package/modern/responsive.d.ts +1 -0
- package/modern/responsive.js +22 -0
- package/modern/types.d.ts +4 -0
- package/package.json +4 -3
- package/responsive.d.ts +1 -0
- package/responsive.js +30 -0
- package/types.d.ts +4 -0
- package/component.d.ts +0 -4
- package/countdown-section-c2901a7e.js +0 -41
- package/cssm/component.d.ts +0 -4
- package/cssm/index.module.css +0 -46
- package/esm/component.d.ts +0 -4
- package/esm/countdown-section-694d1c59.js +0 -33
- package/esm/index.css +0 -47
- package/index.css +0 -47
- package/modern/component.d.ts +0 -4
- package/modern/countdown-section-d8a9a733.js +0 -32
- package/modern/index.css +0 -47
|
@@ -1,3 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
type HintProps = {
|
|
3
|
+
/**
|
|
4
|
+
* Отображать в мобильной версии экран компонента
|
|
5
|
+
*/
|
|
6
|
+
mobile?: boolean;
|
|
7
|
+
};
|
|
8
|
+
declare const Hint: FC<HintProps>;
|
|
9
|
+
export { HintProps, Hint };
|
|
@@ -7,39 +7,39 @@ var cn = require('classnames');
|
|
|
7
7
|
require('../../../utils.js');
|
|
8
8
|
var context = require('../../../context.js');
|
|
9
9
|
var coreComponentsLink = require('@alfalab/core-components-link');
|
|
10
|
+
var coreComponentsTypography = require('@alfalab/core-components-typography');
|
|
10
11
|
var coreComponentsButton = require('@alfalab/core-components-button');
|
|
12
|
+
var components_header_component = require('../../header/component.js');
|
|
11
13
|
|
|
12
14
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
13
15
|
|
|
14
16
|
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
15
17
|
var cn__default = /*#__PURE__*/_interopDefaultLegacy(cn);
|
|
16
18
|
|
|
17
|
-
var styles = {"center":"
|
|
19
|
+
var styles = {"center":"confirmation__center_1hlx4","hintWrap":"confirmation__hintWrap_1hlx4","text":"confirmation__text_1hlx4","typographyTheme":"confirmation__typographyTheme_1hlx4","phonesWrap":"confirmation__phonesWrap_1hlx4","phoneWrap":"confirmation__phoneWrap_1hlx4","phoneLink":"confirmation__phoneLink_1hlx4","hintButton":"confirmation__hintButton_1hlx4","phoneContentMobile":"confirmation__phoneContentMobile_1hlx4"};
|
|
18
20
|
require('./index.css')
|
|
19
21
|
|
|
20
|
-
var Hint = function () {
|
|
21
|
-
var
|
|
22
|
+
var Hint = function (_a) {
|
|
23
|
+
var _b, _c, _d, _e, _f, _g;
|
|
24
|
+
var mobile = _a.mobile;
|
|
25
|
+
var _h = React.useContext(context.ConfirmationContext), alignContent = _h.alignContent, texts = _h.texts, onChangeScreen = _h.onChangeScreen, onChangeState = _h.onChangeState;
|
|
22
26
|
var handleReturnButtonClick = function () {
|
|
23
27
|
onChangeScreen('INITIAL');
|
|
24
28
|
onChangeState('INITIAL');
|
|
25
29
|
};
|
|
26
30
|
return (React__default['default'].createElement("div", { className: cn__default['default'](styles.component, styles[alignContent]) },
|
|
27
31
|
React__default['default'].createElement("div", { className: styles.hintWrap },
|
|
28
|
-
React__default['default'].createElement(
|
|
29
|
-
React__default['default'].createElement(
|
|
32
|
+
React__default['default'].createElement(components_header_component.Header, { mobile: mobile }, "\u041D\u0435\u00A0\u043F\u0440\u0438\u0445\u043E\u0434\u0438\u0442 \u0441\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u0435?"),
|
|
33
|
+
React__default['default'].createElement(coreComponentsTypography.Typography.Text, { view: 'primary-medium', color: 'primary', className: cn__default['default'](styles.text, (_b = {}, _b[styles.typographyTheme] = !mobile, _b)) }, "\u0415\u0441\u043B\u0438 \u0443\u00A0\u0432\u0430\u0441 \u0438\u0437\u043C\u0435\u043D\u0438\u043B\u0441\u044F \u043D\u043E\u043C\u0435\u0440 \u0442\u0435\u043B\u0435\u0444\u043E\u043D\u0430, \u043F\u043E\u0437\u0432\u043E\u043D\u0438\u0442\u0435 \u043D\u0430\u043C \u0438\u043B\u0438 \u043E\u0431\u0440\u0430\u0442\u0438\u0442\u0435\u0441\u044C \u0432\u00A0\u043B\u044E\u0431\u043E\u0435 \u043E\u0442\u0434\u0435\u043B\u0435\u043D\u0438\u0435 \u0431\u0430\u043D\u043A\u0430."),
|
|
30
34
|
React__default['default'].createElement("div", { className: styles.phonesWrap },
|
|
31
|
-
React__default['default'].createElement("div", { className: styles.phoneWrap },
|
|
32
|
-
React__default['default'].createElement(coreComponentsLink.Link, { href: 'tel:+78002000000', className: styles.phoneLink }, "8 800 200-00-00"),
|
|
33
|
-
React__default['default'].createElement(
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
' ',
|
|
40
|
-
"\u2014\u00A0\u0432\u00A0\u041C\u043E\u0441\u043A\u0432\u0435 \u0438\u00A0\u0437\u0430\u00A0\u0433\u0440\u0430\u043D\u0438\u0446\u0435\u0439"))),
|
|
41
|
-
React__default['default'].createElement("span", { className: styles.text }, "\u0415\u0441\u043B\u0438 \u043D\u043E\u043C\u0435\u0440 \u043D\u0435\u00A0\u043C\u0435\u043D\u044F\u043B\u0441\u044F, \u0432\u043E\u0437\u043C\u043E\u0436\u043D\u043E, \u043F\u0435\u0440\u0435\u0433\u0440\u0443\u0436\u0435\u043D \u0441\u0435\u0440\u0432\u0438\u0441 \u043E\u0442\u043F\u0440\u0430\u0432\u043A\u0438 \u0441\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u0439. \u041F\u043E\u043F\u0440\u043E\u0431\u0443\u0439\u0442\u0435 \u043F\u043E\u0432\u0442\u043E\u0440\u0438\u0442\u044C \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0435 \u0447\u0435\u0440\u0435\u0437 \u043D\u0435\u0441\u043A\u043E\u043B\u044C\u043A\u043E \u043C\u0438\u043D\u0443\u0442."),
|
|
42
|
-
React__default['default'].createElement(coreComponentsButton.Button, { size: 's', view: 'secondary', onClick: handleReturnButtonClick, className: styles.hintButton }, texts.hintButton))));
|
|
35
|
+
React__default['default'].createElement("div", { className: cn__default['default'](styles.phoneWrap, (_c = {}, _c[styles.phoneContentMobile] = mobile, _c)) },
|
|
36
|
+
React__default['default'].createElement(coreComponentsLink.Link, { href: 'tel:+78002000000', underline: false, className: styles.phoneLink }, "8 800 200-00-00"),
|
|
37
|
+
React__default['default'].createElement(coreComponentsTypography.Typography.Text, { view: 'primary-medium', color: 'primary', className: cn__default['default'](styles.text, (_d = {}, _d[styles.typographyTheme] = !mobile, _d)) }, mobile ? (React__default['default'].createElement(React__default['default'].Fragment, null, "\u0414\u043B\u044F\u00A0 \u0437\u0432\u043E\u043D\u043A\u043E\u0432 \u043F\u043E\u00A0\u0420\u043E\u0441\u0441\u0438\u0438")) : (React__default['default'].createElement(React__default['default'].Fragment, null, " \u2014\u00A0\u0434\u043B\u044F \u0437\u0432\u043E\u043D\u043A\u043E\u0432 \u043F\u043E\u00A0\u0420\u043E\u0441\u0441\u0438\u0438")))),
|
|
38
|
+
React__default['default'].createElement("div", { className: cn__default['default'](styles.phoneWrap, (_e = {}, _e[styles.phoneContentMobile] = mobile, _e)) },
|
|
39
|
+
React__default['default'].createElement(coreComponentsLink.Link, { href: 'tel:+74957888878', underline: false, className: styles.phoneLink }, "+7 495 78-888-78"),
|
|
40
|
+
React__default['default'].createElement(coreComponentsTypography.Typography.Text, { view: 'primary-medium', color: 'primary', className: cn__default['default'](styles.text, (_f = {}, _f[styles.typographyTheme] = !mobile, _f)) }, mobile ? (React__default['default'].createElement(React__default['default'].Fragment, null, "\u0412\u00A0\u041C\u043E\u0441\u043A\u0432\u0435 \u0438\u00A0\u0437\u0430\u00A0\u0433\u0440\u0430\u043D\u0438\u0446\u0435\u0439")) : (React__default['default'].createElement(React__default['default'].Fragment, null, " \u2014\u00A0\u0432\u00A0\u041C\u043E\u0441\u043A\u0432\u0435 \u0438\u00A0\u0437\u0430\u00A0\u0433\u0440\u0430\u043D\u0438\u0446\u0435\u0439"))))),
|
|
41
|
+
React__default['default'].createElement(coreComponentsTypography.Typography.Text, { view: 'primary-medium', color: 'primary', className: cn__default['default'](styles.text, (_g = {}, _g[styles.typographyTheme] = !mobile, _g)) }, "\u0415\u0441\u043B\u0438 \u043D\u043E\u043C\u0435\u0440 \u043D\u0435\u00A0\u043C\u0435\u043D\u044F\u043B\u0441\u044F, \u0432\u043E\u0437\u043C\u043E\u0436\u043D\u043E, \u043F\u0435\u0440\u0435\u0433\u0440\u0443\u0436\u0435\u043D \u0441\u0435\u0440\u0432\u0438\u0441 \u043E\u0442\u043F\u0440\u0430\u0432\u043A\u0438 \u0441\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u0439. \u041F\u043E\u043F\u0440\u043E\u0431\u0443\u0439\u0442\u0435 \u043F\u043E\u0432\u0442\u043E\u0440\u0438\u0442\u044C \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0435 \u0447\u0435\u0440\u0435\u0437 \u043D\u0435\u0441\u043A\u043E\u043B\u044C\u043A\u043E \u043C\u0438\u043D\u0443\u0442."),
|
|
42
|
+
React__default['default'].createElement(coreComponentsButton.Button, { size: mobile ? 'xs' : 's', view: 'secondary', onClick: handleReturnButtonClick, className: styles.hintButton }, texts.hintButton))));
|
|
43
43
|
};
|
|
44
44
|
|
|
45
45
|
exports.Hint = Hint;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1pdya */
|
|
2
2
|
:root {
|
|
3
3
|
--color-light-text-primary: #0b1f35;
|
|
4
|
-
--color-light-text-secondary: #546272;
|
|
5
4
|
}
|
|
6
5
|
:root {
|
|
7
6
|
|
|
@@ -21,83 +20,61 @@
|
|
|
21
20
|
sans-serif;
|
|
22
21
|
}
|
|
23
22
|
:root {
|
|
24
|
-
/*
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
--confirmation-title-font-weight: 700;
|
|
28
|
-
--confirmation-title-font-family: var(--font-family-system);
|
|
29
|
-
--confirmation-title-color: var(--color-light-text-primary);
|
|
30
|
-
--confirmation-title-font-feature-settings: normal;
|
|
23
|
+
/* desktop */
|
|
24
|
+
|
|
25
|
+
/* mobile */
|
|
31
26
|
|
|
32
27
|
/* text */
|
|
33
28
|
--confirmation-text-font-size: 16px;
|
|
34
29
|
--confirmation-text-line-height: 24px;
|
|
35
30
|
--confirmation-text-font-weight: 400;
|
|
36
31
|
--confirmation-text-font-family: var(--font-family-system);
|
|
37
|
-
--confirmation-text-color: var(--color-light-text-
|
|
38
|
-
|
|
39
|
-
/* error */
|
|
32
|
+
--confirmation-text-color: var(--color-light-text-primary)
|
|
40
33
|
|
|
41
|
-
/*
|
|
34
|
+
/* header */
|
|
42
35
|
}
|
|
43
|
-
.
|
|
36
|
+
.confirmation__center_1hlx4 .confirmation__hintWrap_1hlx4 {
|
|
44
37
|
align-items: center;
|
|
45
38
|
}
|
|
46
|
-
.
|
|
47
|
-
align-items: center;
|
|
48
|
-
}
|
|
49
|
-
.confirmation__hintWrap_m8zyz {
|
|
39
|
+
.confirmation__hintWrap_1hlx4 {
|
|
50
40
|
display: flex;
|
|
51
41
|
flex-direction: column;
|
|
52
|
-
align-items: flex-start
|
|
42
|
+
align-items: flex-start
|
|
53
43
|
}
|
|
54
|
-
.
|
|
55
|
-
|
|
44
|
+
.confirmation__hintWrap_1hlx4 span:last-of-type {
|
|
45
|
+
margin-bottom: 0;
|
|
46
|
+
}
|
|
47
|
+
.confirmation__text_1hlx4 {
|
|
56
48
|
margin-bottom: var(--gap-xl);
|
|
57
|
-
font-size: var(--confirmation-title-font-size);
|
|
58
|
-
line-height: var(--confirmation-title-line-height);
|
|
59
|
-
font-weight: var(--confirmation-title-font-weight);
|
|
60
|
-
font-family: var(--confirmation-title-font-family);
|
|
61
|
-
color: var(--confirmation-title-color);
|
|
62
|
-
font-feature-settings: var(--confirmation-title-font-feature-settings);
|
|
63
49
|
}
|
|
64
|
-
.
|
|
50
|
+
.confirmation__typographyTheme_1hlx4 {
|
|
65
51
|
font-size: var(--confirmation-text-font-size);
|
|
66
52
|
line-height: var(--confirmation-text-line-height);
|
|
67
53
|
font-weight: var(--confirmation-text-font-weight);
|
|
68
54
|
font-family: var(--confirmation-text-font-family);
|
|
69
55
|
color: var(--confirmation-text-color);
|
|
70
|
-
|
|
71
|
-
margin-bottom: var(--gap-xl);
|
|
72
56
|
}
|
|
73
|
-
.
|
|
74
|
-
font-size: var(--confirmation-text-font-size);
|
|
75
|
-
line-height: var(--confirmation-text-line-height);
|
|
76
|
-
font-weight: var(--confirmation-text-font-weight);
|
|
77
|
-
font-family: var(--confirmation-text-font-family);
|
|
78
|
-
color: var(--confirmation-text-color);
|
|
79
|
-
|
|
57
|
+
.confirmation__phonesWrap_1hlx4 {
|
|
80
58
|
display: flex;
|
|
81
59
|
flex-direction: column;
|
|
82
60
|
margin-bottom: var(--gap-xl);
|
|
83
61
|
}
|
|
84
|
-
.
|
|
62
|
+
.confirmation__phoneWrap_1hlx4 {
|
|
85
63
|
margin-bottom: var(--gap-xs)
|
|
86
64
|
}
|
|
87
|
-
.
|
|
65
|
+
.confirmation__phoneWrap_1hlx4:last-child {
|
|
88
66
|
margin-bottom: 0;
|
|
89
67
|
}
|
|
90
|
-
.
|
|
68
|
+
.confirmation__phoneLink_1hlx4 {
|
|
91
69
|
font-size: 16px;
|
|
92
70
|
line-height: 24px;
|
|
93
|
-
font-weight: 500
|
|
94
|
-
}
|
|
95
|
-
.confirmation__phoneLink_m8zyz > span {
|
|
96
|
-
border-bottom: none;
|
|
97
|
-
}
|
|
98
|
-
.confirmation__phoneDescription_m8zyz {
|
|
99
|
-
color: var(--confirmation-text-color);
|
|
71
|
+
font-weight: 500;
|
|
100
72
|
}
|
|
101
|
-
.
|
|
73
|
+
.confirmation__hintButton_1hlx4 {
|
|
102
74
|
margin-top: var(--gap-2xl);
|
|
103
75
|
}
|
|
76
|
+
.confirmation__phoneContentMobile_1hlx4 {
|
|
77
|
+
display: flex;
|
|
78
|
+
flex-direction: column;
|
|
79
|
+
align-items: center;
|
|
80
|
+
}
|
|
@@ -7,7 +7,9 @@ require('classnames');
|
|
|
7
7
|
require('../../../utils.js');
|
|
8
8
|
require('../../../context.js');
|
|
9
9
|
require('@alfalab/core-components-link');
|
|
10
|
+
require('@alfalab/core-components-typography');
|
|
10
11
|
require('@alfalab/core-components-button');
|
|
12
|
+
require('../../header/component.js');
|
|
11
13
|
var components_screens_hint_component = require('./component.js');
|
|
12
14
|
|
|
13
15
|
|
|
@@ -9,9 +9,11 @@ require('../../utils.js');
|
|
|
9
9
|
require('../../context.js');
|
|
10
10
|
require('@alfalab/core-components-code-input');
|
|
11
11
|
require('@alfalab/core-components-link');
|
|
12
|
-
require('
|
|
13
|
-
require('@alfalab/core-components-loader');
|
|
12
|
+
require('@alfalab/core-components-typography');
|
|
14
13
|
require('@alfalab/core-components-button');
|
|
14
|
+
require('../header/component.js');
|
|
15
|
+
require('@alfalab/core-components-loader');
|
|
16
|
+
require('../../countdown-section-d2ec5a14.js');
|
|
15
17
|
var components_screens_initial_component = require('./initial/component.js');
|
|
16
18
|
var components_screens_hint_component = require('./hint/component.js');
|
|
17
19
|
var components_screens_fatalError_component = require('./fatal-error/component.js');
|
|
@@ -1,3 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
type InitialProps = {
|
|
3
|
+
/**
|
|
4
|
+
* Отображать в мобильной версии экран компонента
|
|
5
|
+
*/
|
|
6
|
+
mobile?: boolean;
|
|
7
|
+
};
|
|
8
|
+
declare const Initial: FC<InitialProps>;
|
|
9
|
+
export { InitialProps, Initial };
|
|
@@ -9,9 +9,11 @@ require('../../../utils.js');
|
|
|
9
9
|
var context = require('../../../context.js');
|
|
10
10
|
var coreComponentsCodeInput = require('@alfalab/core-components-code-input');
|
|
11
11
|
var coreComponentsLink = require('@alfalab/core-components-link');
|
|
12
|
-
var
|
|
12
|
+
var coreComponentsTypography = require('@alfalab/core-components-typography');
|
|
13
|
+
var coreComponentsButton = require('@alfalab/core-components-button');
|
|
14
|
+
var components_header_component = require('../../header/component.js');
|
|
13
15
|
require('@alfalab/core-components-loader');
|
|
14
|
-
require('
|
|
16
|
+
var components_screens_initial_countdownSection = require('../../../countdown-section-d2ec5a14.js');
|
|
15
17
|
|
|
16
18
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
17
19
|
|
|
@@ -19,11 +21,13 @@ var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
|
19
21
|
var cn__default = /*#__PURE__*/_interopDefaultLegacy(cn);
|
|
20
22
|
|
|
21
23
|
var CODE_SEND_HINT_VISIBLE_DURATION = 2000;
|
|
22
|
-
var Initial = function () {
|
|
23
|
-
var
|
|
24
|
+
var Initial = function (_a) {
|
|
25
|
+
var _b;
|
|
26
|
+
var mobile = _a.mobile;
|
|
27
|
+
var _c = React.useContext(context.ConfirmationContext), state = _c.state, alignContent = _c.alignContent, texts = _c.texts, requiredCharAmount = _c.requiredCharAmount, timeLeft = _c.timeLeft, phone = _c.phone, onChangeState = _c.onChangeState, onInputFinished = _c.onInputFinished, onChangeScreen = _c.onChangeScreen, onSmsRetryClick = _c.onSmsRetryClick;
|
|
24
28
|
var prevState = hooks.usePrevious(state);
|
|
25
29
|
var inputRef = React.useRef(null);
|
|
26
|
-
var
|
|
30
|
+
var _d = React.useState(false), codeSendHintVisible = _d[0], setCodeSendHintVisible = _d[1];
|
|
27
31
|
var timerId = React.useRef(0);
|
|
28
32
|
var handleInputComplete = function (code) {
|
|
29
33
|
onInputFinished(code);
|
|
@@ -82,14 +86,13 @@ var Initial = function () {
|
|
|
82
86
|
var processing = ['CODE_CHECKING', 'CODE_SENDING'].includes(state);
|
|
83
87
|
var timePassed = timeLeft === 0;
|
|
84
88
|
return (React__default['default'].createElement("div", { className: cn__default['default'](components_screens_initial_countdownSection.styles.component, components_screens_initial_countdownSection.styles[alignContent]) },
|
|
85
|
-
React__default['default'].createElement(
|
|
86
|
-
|
|
89
|
+
React__default['default'].createElement(components_header_component.Header, { mobile: mobile }, texts.title),
|
|
90
|
+
React__default['default'].createElement(coreComponentsTypography.Typography.Text, { view: 'primary-medium', color: 'primary', className: cn__default['default'](components_screens_initial_countdownSection.styles.phone, (_b = {}, _b[components_screens_initial_countdownSection.styles.typographyTheme] = !mobile, _b)) },
|
|
87
91
|
"\u041A\u043E\u0434 \u043E\u0442\u043F\u0440\u0430\u0432\u043B\u0435\u043D \u043D\u0430 ",
|
|
88
92
|
phone),
|
|
89
|
-
React__default['default'].createElement(
|
|
90
|
-
|
|
91
|
-
React__default['default'].createElement(
|
|
92
|
-
React__default['default'].createElement(coreComponentsLink.Link, { onClick: handleSmsHintLinkClick, className: components_screens_initial_countdownSection.styles.smsComeLink, view: 'secondary', pseudo: true }, texts.linkToHint)));
|
|
93
|
+
React__default['default'].createElement(coreComponentsCodeInput.CodeInput, { disabled: processing, error: getCodeInputError(), ref: inputRef, fields: requiredCharAmount, className: cn__default['default'](components_screens_initial_countdownSection.styles.containerInput, components_screens_initial_countdownSection.styles.codeInput), onComplete: handleInputComplete, onChange: handleInputChange }),
|
|
94
|
+
React__default['default'].createElement(components_screens_initial_countdownSection.CountdownSection, { processing: processing, timePassed: timePassed, codeSendHintVisible: codeSendHintVisible, handleSmsRetryClick: handleSmsRetryClick, mobile: mobile }),
|
|
95
|
+
mobile ? (React__default['default'].createElement(coreComponentsButton.Button, { onClick: handleSmsHintLinkClick, view: 'link', size: 'xs' }, texts.linkToHint)) : (React__default['default'].createElement(coreComponentsLink.Link, { onClick: handleSmsHintLinkClick, className: components_screens_initial_countdownSection.styles.smsComeLink, view: mobile ? 'primary' : 'secondary', pseudo: true }, texts.linkToHint))));
|
|
93
96
|
};
|
|
94
97
|
|
|
95
98
|
exports.Initial = Initial;
|
|
@@ -6,9 +6,10 @@ require('react');
|
|
|
6
6
|
require('classnames');
|
|
7
7
|
require('../../../utils.js');
|
|
8
8
|
require('../../../context.js');
|
|
9
|
-
|
|
10
|
-
require('@alfalab/core-components-loader');
|
|
9
|
+
require('@alfalab/core-components-typography');
|
|
11
10
|
require('@alfalab/core-components-button');
|
|
11
|
+
require('@alfalab/core-components-loader');
|
|
12
|
+
var components_screens_initial_countdownSection = require('../../../countdown-section-d2ec5a14.js');
|
|
12
13
|
|
|
13
14
|
|
|
14
15
|
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1s91r */
|
|
2
2
|
:root {
|
|
3
3
|
--color-light-text-primary: #0b1f35;
|
|
4
|
+
--color-light-text-secondary: rgba(11, 31, 53, 0.7);
|
|
4
5
|
}
|
|
5
6
|
:root {
|
|
6
7
|
|
|
@@ -12,7 +13,9 @@
|
|
|
12
13
|
}
|
|
13
14
|
:root {
|
|
14
15
|
--gap-2xs: 4px;
|
|
16
|
+
--gap-s: 12px;
|
|
15
17
|
--gap-m: 16px;
|
|
18
|
+
--gap-l: 20px;
|
|
16
19
|
--gap-xl: 24px;
|
|
17
20
|
--gap-2xl: 32px;
|
|
18
21
|
--gap-2xs-neg: -4px;
|
|
@@ -22,80 +25,80 @@
|
|
|
22
25
|
sans-serif;
|
|
23
26
|
}
|
|
24
27
|
:root {
|
|
25
|
-
/*
|
|
26
|
-
--confirmation-title-font-size: 22px;
|
|
27
|
-
--confirmation-title-line-height: 26px;
|
|
28
|
-
--confirmation-title-font-weight: 700;
|
|
29
|
-
--confirmation-title-font-family: var(--font-family-system);
|
|
30
|
-
--confirmation-title-color: var(--color-light-text-primary);
|
|
31
|
-
--confirmation-title-font-feature-settings: normal;
|
|
28
|
+
/* desktop */
|
|
32
29
|
|
|
33
|
-
/*
|
|
30
|
+
/* mobile */
|
|
34
31
|
|
|
35
|
-
/*
|
|
32
|
+
/* text */
|
|
33
|
+
--confirmation-text-font-size: 16px;
|
|
34
|
+
--confirmation-text-line-height: 24px;
|
|
35
|
+
--confirmation-text-font-weight: 400;
|
|
36
|
+
--confirmation-text-font-family: var(--font-family-system);
|
|
37
|
+
--confirmation-text-color: var(--color-light-text-primary)
|
|
36
38
|
|
|
37
|
-
/*
|
|
39
|
+
/* header */
|
|
38
40
|
}
|
|
39
|
-
.
|
|
41
|
+
.confirmation__component_q2tga {
|
|
40
42
|
display: flex;
|
|
41
43
|
flex-direction: column;
|
|
42
44
|
}
|
|
43
|
-
.
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
font-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
font-family: var(--confirmation-title-font-family);
|
|
50
|
-
color: var(--confirmation-title-color);
|
|
51
|
-
font-feature-settings: var(--confirmation-title-font-feature-settings);
|
|
52
|
-
}
|
|
53
|
-
.confirmation__phone_38eal {
|
|
54
|
-
margin-bottom: var(--gap-2xl);
|
|
55
|
-
color: var(--color-light-text-primary);
|
|
45
|
+
.confirmation__typographyTheme_q2tga {
|
|
46
|
+
font-size: var(--confirmation-text-font-size);
|
|
47
|
+
line-height: var(--confirmation-text-line-height);
|
|
48
|
+
font-weight: var(--confirmation-text-font-weight);
|
|
49
|
+
font-family: var(--confirmation-text-font-family);
|
|
50
|
+
color: var(--confirmation-text-color);
|
|
56
51
|
}
|
|
57
|
-
.
|
|
58
|
-
|
|
59
|
-
flex-direction: column;
|
|
52
|
+
.confirmation__phone_q2tga {
|
|
53
|
+
color: var(--color-light-text-primary);
|
|
60
54
|
margin-bottom: var(--gap-2xl);
|
|
61
55
|
}
|
|
62
|
-
.
|
|
56
|
+
.confirmation__compact_q2tga {
|
|
63
57
|
margin-bottom: var(--gap-xl);
|
|
64
58
|
}
|
|
65
|
-
.
|
|
59
|
+
.confirmation__loaderWrap_q2tga {
|
|
66
60
|
display: flex;
|
|
67
61
|
align-items: center;
|
|
68
62
|
}
|
|
69
|
-
.
|
|
63
|
+
.confirmation__left_q2tga {
|
|
64
|
+
align-items: flex-start;
|
|
65
|
+
}
|
|
66
|
+
.confirmation__center_q2tga {
|
|
70
67
|
align-items: center;
|
|
71
68
|
text-align: center
|
|
72
69
|
}
|
|
73
|
-
.
|
|
74
|
-
.confirmation__center_38eal .confirmation__loaderWrap_38eal {
|
|
70
|
+
.confirmation__center_q2tga .confirmation__loaderWrap_q2tga {
|
|
75
71
|
justify-content: center;
|
|
76
72
|
}
|
|
77
|
-
.
|
|
73
|
+
.confirmation__center_q2tga input {
|
|
78
74
|
margin: 0 var(--gap-2xs);
|
|
79
75
|
}
|
|
80
|
-
.
|
|
76
|
+
.confirmation__codeInput_q2tga {
|
|
77
|
+
margin-bottom: var(--gap-s);
|
|
78
|
+
}
|
|
79
|
+
.confirmation__smsComeLink_q2tga {
|
|
81
80
|
font-size: 14px;
|
|
82
81
|
line-height: 20px;
|
|
83
|
-
font-weight:
|
|
82
|
+
font-weight: 500;
|
|
84
83
|
}
|
|
85
|
-
.
|
|
84
|
+
.confirmation__countdownContainer_q2tga {
|
|
85
|
+
color: var(--color-light-text-secondary);
|
|
86
86
|
margin-bottom: var(--gap-xl);
|
|
87
87
|
}
|
|
88
|
-
.
|
|
88
|
+
.confirmation__countdownMobile_q2tga {
|
|
89
|
+
margin-bottom: var(--gap-l);
|
|
90
|
+
}
|
|
91
|
+
.confirmation__countdownLoaderMobile_q2tga {
|
|
92
|
+
margin-bottom: var(--gap-m);
|
|
93
|
+
}
|
|
94
|
+
.confirmation__getCodeButton_q2tga {
|
|
89
95
|
position: relative;
|
|
90
96
|
top: var(--gap-2xs-neg);
|
|
91
97
|
margin-bottom: var(--gap-m);
|
|
92
98
|
}
|
|
93
|
-
.
|
|
94
|
-
|
|
99
|
+
.confirmation__getCodeButtonMobile_q2tga {
|
|
100
|
+
margin-bottom: 0;
|
|
95
101
|
}
|
|
96
|
-
.
|
|
97
|
-
|
|
98
|
-
justify-content: flex-start;
|
|
99
|
-
min-width: 45px;
|
|
100
|
-
margin-left: var(--gap-2xs);
|
|
102
|
+
.confirmation__containerInput_q2tga {
|
|
103
|
+
min-height: 80px;
|
|
101
104
|
}
|
|
@@ -9,9 +9,11 @@ require('../../../utils.js');
|
|
|
9
9
|
require('../../../context.js');
|
|
10
10
|
require('@alfalab/core-components-code-input');
|
|
11
11
|
require('@alfalab/core-components-link');
|
|
12
|
-
require('
|
|
13
|
-
require('@alfalab/core-components-loader');
|
|
12
|
+
require('@alfalab/core-components-typography');
|
|
14
13
|
require('@alfalab/core-components-button');
|
|
14
|
+
require('../../header/component.js');
|
|
15
|
+
require('@alfalab/core-components-loader');
|
|
16
|
+
require('../../../countdown-section-d2ec5a14.js');
|
|
15
17
|
var components_screens_initial_component = require('./component.js');
|
|
16
18
|
|
|
17
19
|
|
|
@@ -1,3 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
type TempBlockProps = {
|
|
3
|
+
/**
|
|
4
|
+
* Отображать в мобильной версии экран компонента
|
|
5
|
+
*/
|
|
6
|
+
mobile?: boolean;
|
|
7
|
+
};
|
|
8
|
+
declare const TempBlock: FC<TempBlockProps>;
|
|
9
|
+
export { TempBlockProps, TempBlock };
|
|
@@ -3,20 +3,26 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
var React = require('react');
|
|
6
|
+
var cn = require('classnames');
|
|
6
7
|
var utils = require('../../../utils.js');
|
|
7
8
|
var context = require('../../../context.js');
|
|
9
|
+
var coreComponentsTypography = require('@alfalab/core-components-typography');
|
|
10
|
+
var components_header_component = require('../../header/component.js');
|
|
8
11
|
var components_countdownLoader_component = require('../../countdown-loader/component.js');
|
|
9
12
|
|
|
10
13
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
11
14
|
|
|
12
15
|
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
16
|
+
var cn__default = /*#__PURE__*/_interopDefaultLegacy(cn);
|
|
13
17
|
|
|
14
|
-
var styles = {"
|
|
18
|
+
var styles = {"typographyTheme":"confirmation__typographyTheme_3vwk1","description":"confirmation__description_3vwk1","countdownWrap":"confirmation__countdownWrap_3vwk1","loader":"confirmation__loader_3vwk1"};
|
|
15
19
|
require('./index.css')
|
|
16
20
|
|
|
17
|
-
var TempBlock = function () {
|
|
18
|
-
var
|
|
19
|
-
var
|
|
21
|
+
var TempBlock = function (_a) {
|
|
22
|
+
var _b, _c;
|
|
23
|
+
var mobile = _a.mobile;
|
|
24
|
+
var _d = React.useContext(context.ConfirmationContext), texts = _d.texts, tempBlockDuration = _d.tempBlockDuration, onChangeScreen = _d.onChangeScreen, onTempBlockFinished = _d.onTempBlockFinished;
|
|
25
|
+
var _e = utils.useCountdown(tempBlockDuration), timeLeft = _e[0], startTimer = _e[1];
|
|
20
26
|
React.useEffect(function () {
|
|
21
27
|
startTimer();
|
|
22
28
|
}, [startTimer]);
|
|
@@ -26,9 +32,9 @@ var TempBlock = function () {
|
|
|
26
32
|
}
|
|
27
33
|
}, [timeLeft, onChangeScreen, onTempBlockFinished]);
|
|
28
34
|
return (React__default['default'].createElement(React.Fragment, null,
|
|
29
|
-
React__default['default'].createElement(
|
|
30
|
-
React__default['default'].createElement(
|
|
31
|
-
React__default['default'].createElement("div", { className: styles.countdownWrap },
|
|
35
|
+
React__default['default'].createElement(components_header_component.Header, { mobile: mobile }, texts.tempBlockTitle),
|
|
36
|
+
React__default['default'].createElement(coreComponentsTypography.Typography.Text, { view: 'primary-medium', color: 'primary', className: cn__default['default'](styles.description, (_b = {}, _b[styles.typographyTheme] = !mobile, _b)) }, texts.tempBlockDescription),
|
|
37
|
+
React__default['default'].createElement("div", { className: cn__default['default'](styles.countdownWrap, (_c = {}, _c[styles.typographyTheme] = !mobile, _c)) },
|
|
32
38
|
React__default['default'].createElement(components_countdownLoader_component.CountdownLoader, { progress: 1 - timeLeft / tempBlockDuration, className: styles.loader }),
|
|
33
39
|
utils.formatMsAsMinutes(timeLeft))));
|
|
34
40
|
};
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1at28 */
|
|
2
2
|
:root {
|
|
3
3
|
--color-light-text-primary: #0b1f35;
|
|
4
|
-
--color-light-text-secondary: #546272;
|
|
5
4
|
}
|
|
6
5
|
:root {
|
|
7
6
|
|
|
@@ -13,56 +12,39 @@
|
|
|
13
12
|
}
|
|
14
13
|
:root {
|
|
15
14
|
--gap-xs: 8px;
|
|
16
|
-
--gap-xl: 24px;
|
|
17
|
-
--gap-2xl: 32px;
|
|
18
15
|
}
|
|
19
16
|
:root {
|
|
20
17
|
--font-family-system: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Helvetica,
|
|
21
18
|
sans-serif;
|
|
22
19
|
}
|
|
23
20
|
:root {
|
|
24
|
-
/*
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
--confirmation-title-font-weight: 700;
|
|
28
|
-
--confirmation-title-font-family: var(--font-family-system);
|
|
29
|
-
--confirmation-title-color: var(--color-light-text-primary);
|
|
30
|
-
--confirmation-title-font-feature-settings: normal;
|
|
21
|
+
/* desktop */
|
|
22
|
+
|
|
23
|
+
/* mobile */
|
|
31
24
|
|
|
32
25
|
/* text */
|
|
33
26
|
--confirmation-text-font-size: 16px;
|
|
34
27
|
--confirmation-text-line-height: 24px;
|
|
35
28
|
--confirmation-text-font-weight: 400;
|
|
36
29
|
--confirmation-text-font-family: var(--font-family-system);
|
|
37
|
-
--confirmation-text-color: var(--color-light-text-
|
|
38
|
-
|
|
39
|
-
/* error */
|
|
30
|
+
--confirmation-text-color: var(--color-light-text-primary)
|
|
40
31
|
|
|
41
|
-
/*
|
|
42
|
-
}
|
|
43
|
-
.confirmation__header_1g2lg {
|
|
44
|
-
margin: 0;
|
|
45
|
-
margin-bottom: var(--gap-xl);
|
|
46
|
-
font-size: var(--confirmation-title-font-size);
|
|
47
|
-
line-height: var(--confirmation-title-line-height);
|
|
48
|
-
font-weight: var(--confirmation-title-font-weight);
|
|
49
|
-
font-family: var(--confirmation-title-font-family);
|
|
50
|
-
color: var(--confirmation-title-color);
|
|
51
|
-
font-feature-settings: var(--confirmation-title-font-feature-settings);
|
|
32
|
+
/* header */
|
|
52
33
|
}
|
|
53
|
-
.
|
|
34
|
+
.confirmation__typographyTheme_3vwk1 {
|
|
54
35
|
font-size: var(--confirmation-text-font-size);
|
|
55
36
|
line-height: var(--confirmation-text-line-height);
|
|
56
37
|
font-weight: var(--confirmation-text-font-weight);
|
|
57
38
|
font-family: var(--confirmation-text-font-family);
|
|
58
39
|
color: var(--confirmation-text-color);
|
|
59
|
-
|
|
60
|
-
margin-bottom: var(--gap-2xl);
|
|
61
40
|
}
|
|
62
|
-
.
|
|
41
|
+
.confirmation__description_3vwk1 {
|
|
42
|
+
margin-bottom: var(--gap-xs);
|
|
43
|
+
}
|
|
44
|
+
.confirmation__countdownWrap_3vwk1 {
|
|
63
45
|
display: flex;
|
|
64
46
|
align-items: center;
|
|
65
47
|
}
|
|
66
|
-
.
|
|
48
|
+
.confirmation__loader_3vwk1 {
|
|
67
49
|
margin-right: var(--gap-xs);
|
|
68
50
|
}
|
|
@@ -3,8 +3,11 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
require('react');
|
|
6
|
+
require('classnames');
|
|
6
7
|
require('../../../utils.js');
|
|
7
8
|
require('../../../context.js');
|
|
9
|
+
require('@alfalab/core-components-typography');
|
|
10
|
+
require('../../header/component.js');
|
|
8
11
|
require('../../countdown-loader/component.js');
|
|
9
12
|
var components_screens_tempBlock_component = require('./component.js');
|
|
10
13
|
|