@alfalab/core-components-confirmation 12.4.7 → 12.4.8

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 (109) hide show
  1. package/component.desktop.js +4 -3
  2. package/component.mobile.js +6 -5
  3. package/component.responsive.js +5 -4
  4. package/components/base-confirmation/component.d.ts +4 -0
  5. package/components/base-confirmation/component.js +87 -13
  6. package/components/base-confirmation/index.css +2 -2
  7. package/components/base-confirmation/index.d.ts +1 -1
  8. package/components/base-confirmation/index.js +3 -2
  9. package/components/countdown-loader/component.js +1 -1
  10. package/components/countdown-loader/index.css +2 -2
  11. package/components/header/component.js +1 -1
  12. package/components/header/index.css +4 -4
  13. package/components/index.js +1 -1
  14. package/components/screens/fatal-error/component.js +1 -1
  15. package/components/screens/fatal-error/index.css +6 -6
  16. package/components/screens/hint/component.js +1 -1
  17. package/components/screens/hint/index.css +12 -12
  18. package/components/screens/index.js +1 -1
  19. package/components/screens/initial/component.js +1 -1
  20. package/components/screens/initial/countdown-section.js +1 -1
  21. package/components/screens/initial/index.css +18 -18
  22. package/components/screens/initial/index.js +1 -1
  23. package/components/screens/temp-block/component.js +1 -1
  24. package/components/screens/temp-block/index.css +7 -7
  25. package/{countdown-section-94a35216.d.ts → countdown-section-bda43975.d.ts} +0 -0
  26. package/{countdown-section-94a35216.js → countdown-section-bda43975.js} +1 -1
  27. package/cssm/component.desktop.js +3 -2
  28. package/cssm/component.mobile.js +4 -3
  29. package/cssm/component.responsive.js +4 -3
  30. package/cssm/components/base-confirmation/component.d.ts +4 -0
  31. package/cssm/components/base-confirmation/component.js +85 -13
  32. package/cssm/components/base-confirmation/index.d.ts +1 -1
  33. package/cssm/components/base-confirmation/index.js +2 -1
  34. package/cssm/desktop.js +2 -1
  35. package/cssm/index.js +2 -1
  36. package/cssm/mobile.js +2 -1
  37. package/cssm/responsive.js +4 -3
  38. package/desktop.js +3 -2
  39. package/esm/component.desktop.js +3 -2
  40. package/esm/component.mobile.js +4 -3
  41. package/esm/component.responsive.js +3 -2
  42. package/esm/components/base-confirmation/component.d.ts +4 -0
  43. package/esm/components/base-confirmation/component.js +85 -12
  44. package/esm/components/base-confirmation/index.css +2 -2
  45. package/esm/components/base-confirmation/index.d.ts +1 -1
  46. package/esm/components/base-confirmation/index.js +3 -2
  47. package/esm/components/countdown-loader/component.js +1 -1
  48. package/esm/components/countdown-loader/index.css +2 -2
  49. package/esm/components/header/component.js +1 -1
  50. package/esm/components/header/index.css +4 -4
  51. package/esm/components/index.js +1 -1
  52. package/esm/components/screens/fatal-error/component.js +1 -1
  53. package/esm/components/screens/fatal-error/index.css +6 -6
  54. package/esm/components/screens/hint/component.js +1 -1
  55. package/esm/components/screens/hint/index.css +12 -12
  56. package/esm/components/screens/index.js +1 -1
  57. package/esm/components/screens/initial/component.js +1 -1
  58. package/esm/components/screens/initial/countdown-section.js +1 -1
  59. package/esm/components/screens/initial/index.css +18 -18
  60. package/esm/components/screens/initial/index.js +1 -1
  61. package/esm/components/screens/temp-block/component.js +1 -1
  62. package/esm/components/screens/temp-block/index.css +7 -7
  63. package/esm/{countdown-section-1560b6e0.d.ts → countdown-section-6eb66678.d.ts} +0 -0
  64. package/esm/{countdown-section-1560b6e0.js → countdown-section-6eb66678.js} +1 -1
  65. package/esm/desktop.js +3 -2
  66. package/esm/index.js +3 -2
  67. package/esm/mobile.css +2 -2
  68. package/esm/mobile.js +3 -2
  69. package/esm/responsive.js +5 -4
  70. package/index.js +3 -2
  71. package/mobile.css +2 -2
  72. package/mobile.js +3 -2
  73. package/modern/component.desktop.js +1 -1
  74. package/modern/component.mobile.js +2 -2
  75. package/modern/component.responsive.js +1 -1
  76. package/modern/components/base-confirmation/component.js +2 -2
  77. package/modern/components/base-confirmation/index.css +2 -2
  78. package/modern/components/base-confirmation/index.js +1 -1
  79. package/modern/components/countdown-loader/component.js +1 -1
  80. package/modern/components/countdown-loader/index.css +2 -2
  81. package/modern/components/header/component.js +1 -1
  82. package/modern/components/header/index.css +4 -4
  83. package/modern/components/index.js +1 -1
  84. package/modern/components/screens/fatal-error/component.js +1 -1
  85. package/modern/components/screens/fatal-error/index.css +6 -6
  86. package/modern/components/screens/hint/component.js +1 -1
  87. package/modern/components/screens/hint/index.css +12 -12
  88. package/modern/components/screens/index.js +1 -1
  89. package/modern/components/screens/initial/component.js +1 -1
  90. package/modern/components/screens/initial/countdown-section.js +1 -1
  91. package/modern/components/screens/initial/index.css +18 -18
  92. package/modern/components/screens/initial/index.js +1 -1
  93. package/modern/components/screens/temp-block/component.js +1 -1
  94. package/modern/components/screens/temp-block/index.css +7 -7
  95. package/modern/{countdown-section-b0b34939.d.ts → countdown-section-f17bf1df.d.ts} +0 -0
  96. package/modern/{countdown-section-b0b34939.js → countdown-section-f17bf1df.js} +1 -1
  97. package/modern/desktop.js +1 -1
  98. package/modern/index.js +1 -1
  99. package/modern/mobile.css +2 -2
  100. package/modern/mobile.js +1 -1
  101. package/modern/responsive.js +1 -1
  102. package/package.json +8 -7
  103. package/responsive.js +5 -4
  104. package/component-adbf9996.d.ts +0 -37
  105. package/component-adbf9996.js +0 -130
  106. package/cssm/component-3c591970.d.ts +0 -37
  107. package/cssm/component-3c591970.js +0 -129
  108. package/esm/component-8d44589b.d.ts +0 -37
  109. package/esm/component-8d44589b.js +0 -122
@@ -1,7 +1,8 @@
1
1
  'use strict';
2
2
 
3
- var components_baseConfirmation_component = require('./component-adbf9996.js');
3
+ var tslib = require('tslib');
4
4
  var React = require('react');
5
+ var components_baseConfirmation_component = require('./components/base-confirmation/component.js');
5
6
  require('classnames');
6
7
  require('@alfalab/hooks');
7
8
  require('./context.js');
@@ -13,7 +14,7 @@ require('@alfalab/core-components-code-input');
13
14
  require('@alfalab/core-components-link');
14
15
  require('@alfalab/core-components-typography');
15
16
  require('./components/header/component.js');
16
- require('./countdown-section-94a35216.js');
17
+ require('./countdown-section-bda43975.js');
17
18
  require('@alfalab/core-components-loader');
18
19
  require('./components/screens/hint/component.js');
19
20
  require('./components/screens/fatal-error/component.js');
@@ -24,6 +25,6 @@ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'defau
24
25
 
25
26
  var React__default = /*#__PURE__*/_interopDefaultCompat(React);
26
27
 
27
- var ConfirmationDesktop = function (props) { return (React__default.default.createElement(components_baseConfirmation_component.BaseConfirmation, components_baseConfirmation_component.__assign({}, props))); };
28
+ var ConfirmationDesktop = function (props) { return (React__default.default.createElement(components_baseConfirmation_component.BaseConfirmation, tslib.__assign({}, props))); };
28
29
 
29
30
  exports.ConfirmationDesktop = ConfirmationDesktop;
@@ -1,8 +1,9 @@
1
1
  'use strict';
2
2
 
3
- var components_baseConfirmation_component = require('./component-adbf9996.js');
3
+ var tslib = require('tslib');
4
4
  var React = require('react');
5
5
  var cn = require('classnames');
6
+ var components_baseConfirmation_component = require('./components/base-confirmation/component.js');
6
7
  require('@alfalab/hooks');
7
8
  require('./context.js');
8
9
  require('./utils.js');
@@ -13,7 +14,7 @@ require('@alfalab/core-components-code-input');
13
14
  require('@alfalab/core-components-link');
14
15
  require('@alfalab/core-components-typography');
15
16
  require('./components/header/component.js');
16
- require('./countdown-section-94a35216.js');
17
+ require('./countdown-section-bda43975.js');
17
18
  require('@alfalab/core-components-loader');
18
19
  require('./components/screens/hint/component.js');
19
20
  require('./components/screens/fatal-error/component.js');
@@ -25,12 +26,12 @@ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'defau
25
26
  var React__default = /*#__PURE__*/_interopDefaultCompat(React);
26
27
  var cn__default = /*#__PURE__*/_interopDefaultCompat(cn);
27
28
 
28
- var styles = {"container":"confirmation__container_1414h"};
29
+ var styles = {"container":"confirmation__container_16npl"};
29
30
  require('./mobile.css')
30
31
 
31
32
  var ConfirmationMobile = function (_a) {
32
- var className = _a.className, resProps = components_baseConfirmation_component.__rest(_a, ["className"]);
33
- return (React__default.default.createElement(components_baseConfirmation_component.BaseConfirmation, components_baseConfirmation_component.__assign({ mobile: true, className: cn__default.default(className, styles.container) }, resProps)));
33
+ var className = _a.className, resProps = tslib.__rest(_a, ["className"]);
34
+ return (React__default.default.createElement(components_baseConfirmation_component.BaseConfirmation, tslib.__assign({ mobile: true, className: cn__default.default(className, styles.container) }, resProps)));
34
35
  };
35
36
 
36
37
  exports.ConfirmationMobile = ConfirmationMobile;
@@ -1,10 +1,11 @@
1
1
  'use strict';
2
2
 
3
- var components_baseConfirmation_component = require('./component-adbf9996.js');
3
+ var tslib = require('tslib');
4
4
  var React = require('react');
5
5
  var hooks = require('@alfalab/hooks');
6
6
  var component_desktop = require('./component.desktop.js');
7
7
  var component_mobile = require('./component.mobile.js');
8
+ require('./components/base-confirmation/component.js');
8
9
  require('classnames');
9
10
  require('./context.js');
10
11
  require('./utils.js');
@@ -15,7 +16,7 @@ require('@alfalab/core-components-code-input');
15
16
  require('@alfalab/core-components-link');
16
17
  require('@alfalab/core-components-typography');
17
18
  require('./components/header/component.js');
18
- require('./countdown-section-94a35216.js');
19
+ require('./countdown-section-bda43975.js');
19
20
  require('@alfalab/core-components-loader');
20
21
  require('./components/screens/hint/component.js');
21
22
  require('./components/screens/fatal-error/component.js');
@@ -27,12 +28,12 @@ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'defau
27
28
  var React__default = /*#__PURE__*/_interopDefaultCompat(React);
28
29
 
29
30
  var ConfirmationResponsive = function (_a) {
30
- var _b = _a.breakpoint, breakpoint = _b === void 0 ? 1024 : _b, restProps = components_baseConfirmation_component.__rest(_a, ["breakpoint"]);
31
+ var _b = _a.breakpoint, breakpoint = _b === void 0 ? 1024 : _b, restProps = tslib.__rest(_a, ["breakpoint"]);
31
32
  var view = hooks.useMedia([
32
33
  ['mobile', "(max-width: ".concat(breakpoint - 1, "px)")],
33
34
  ['desktop', "(min-width: ".concat(breakpoint, "px)")],
34
35
  ], 'desktop')[0];
35
- return view === 'desktop' ? (React__default.default.createElement(component_desktop.ConfirmationDesktop, components_baseConfirmation_component.__assign({}, restProps))) : (React__default.default.createElement(component_mobile.ConfirmationMobile, components_baseConfirmation_component.__assign({}, restProps)));
36
+ return view === 'desktop' ? (React__default.default.createElement(component_desktop.ConfirmationDesktop, tslib.__assign({}, restProps))) : (React__default.default.createElement(component_mobile.ConfirmationMobile, tslib.__assign({}, restProps)));
36
37
  };
37
38
 
38
39
  exports.ConfirmationResponsive = ConfirmationResponsive;
@@ -0,0 +1,4 @@
1
+ import { FC } from 'react';
2
+ import { ConfirmationProps } from "../../types";
3
+ declare const BaseConfirmation: FC<ConfirmationProps>;
4
+ export { BaseConfirmation };
@@ -1,25 +1,99 @@
1
1
  'use strict';
2
2
 
3
- var components_baseConfirmation_component = require('../../component-adbf9996.js');
4
- require('react');
5
- require('classnames');
6
- require('@alfalab/hooks');
7
- require('../../context.js');
8
- require('../../types.js');
9
- require('../../utils.js');
10
- require('../screens/initial/component.js');
11
- require('../screens/hint/component.js');
12
- require('../screens/fatal-error/component.js');
13
- require('../screens/temp-block/component.js');
3
+ var tslib = require('tslib');
4
+ var React = require('react');
5
+ var cn = require('classnames');
6
+ var hooks = require('@alfalab/hooks');
7
+ var context = require('../../context.js');
8
+ var types = require('../../types.js');
9
+ var utils = require('../../utils.js');
10
+ var components_screens_initial_component = require('../screens/initial/component.js');
11
+ var components_screens_hint_component = require('../screens/hint/component.js');
12
+ var components_screens_fatalError_component = require('../screens/fatal-error/component.js');
13
+ var components_screens_tempBlock_component = require('../screens/temp-block/component.js');
14
14
  require('@alfalab/core-components-button');
15
15
  require('@alfalab/core-components-code-input');
16
16
  require('@alfalab/core-components-link');
17
17
  require('@alfalab/core-components-typography');
18
18
  require('../header/component.js');
19
- require('../../countdown-section-94a35216.js');
19
+ require('../../countdown-section-bda43975.js');
20
20
  require('@alfalab/core-components-loader');
21
21
  require('../countdown-loader/component.js');
22
22
 
23
+ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
23
24
 
25
+ var React__default = /*#__PURE__*/_interopDefaultCompat(React);
26
+ var cn__default = /*#__PURE__*/_interopDefaultCompat(cn);
24
27
 
25
- exports.BaseConfirmation = components_baseConfirmation_component.BaseConfirmation;
28
+ var styles = {"component":"confirmation__component_y3i6g"};
29
+ require('./index.css')
30
+
31
+ var confirmationScreens = {
32
+ INITIAL: components_screens_initial_component.Initial,
33
+ HINT: components_screens_hint_component.Hint,
34
+ FATAL_ERROR: components_screens_fatalError_component.FatalError,
35
+ TEMP_BLOCK: components_screens_tempBlock_component.TempBlock,
36
+ };
37
+ var BaseConfirmation = function (_a) {
38
+ var state = _a.state, screen = _a.screen, _b = _a.alignContent, alignContent = _b === void 0 ? 'left' : _b; _a.children; var _c = _a.requiredCharAmount, requiredCharAmount = _c === void 0 ? 5 : _c, _d = _a.countdownDuration, countdownDuration = _d === void 0 ? utils.ONE_MINUTE : _d, _e = _a.tempBlockDuration, tempBlockDuration = _e === void 0 ? utils.ONE_DAY : _e, phone = _a.phone, blockSmsRetry = _a.blockSmsRetry, dataTestId = _a.dataTestId, className = _a.className, getScreensMap = _a.getScreensMap, onInputFinished = _a.onInputFinished, onChangeState = _a.onChangeState, onSmsRetryClick = _a.onSmsRetryClick, onChangeScreen = _a.onChangeScreen, onFatalErrorOkButtonClick = _a.onFatalErrorOkButtonClick, onTempBlockFinished = _a.onTempBlockFinished, mobile = _a.mobile, _f = _a.clearCodeOnError, clearCodeOnError = _f === void 0 ? true : _f, restProps = tslib.__rest(_a, ["state", "screen", "alignContent", "children", "requiredCharAmount", "countdownDuration", "tempBlockDuration", "phone", "blockSmsRetry", "dataTestId", "className", "getScreensMap", "onInputFinished", "onChangeState", "onSmsRetryClick", "onChangeScreen", "onFatalErrorOkButtonClick", "onTempBlockFinished", "mobile", "clearCodeOnError"]);
39
+ var _g = utils.useCountdown(countdownDuration), timeLeft = _g[0], startTimer = _g[1], stopTimer = _g[2];
40
+ var prevState = hooks.usePrevious(state);
41
+ React.useEffect(function () {
42
+ startTimer();
43
+ }, [startTimer]);
44
+ React.useEffect(function () {
45
+ /**
46
+ * Перезапускаем таймер после повторного запроса кода
47
+ */
48
+ if (state === 'INITIAL' && prevState === 'CODE_SENDING') {
49
+ startTimer();
50
+ }
51
+ }, [state, prevState, startTimer]);
52
+ React.useEffect(function () {
53
+ /**
54
+ * Останавливаем таймер, если новый экран/состояние не содержит таймер
55
+ */
56
+ if (!['INITIAL', 'HINT', 'TEMP_BLOCK'].includes(screen) || blockSmsRetry) {
57
+ stopTimer();
58
+ }
59
+ }, [state, screen, blockSmsRetry, stopTimer]);
60
+ var handleSmsRetry = function () {
61
+ onChangeState('CODE_SENDING');
62
+ onSmsRetryClick();
63
+ };
64
+ var handleInputFinished = function (code) {
65
+ onChangeState('CODE_CHECKING');
66
+ onInputFinished(code);
67
+ };
68
+ var handleFatalErrorOkButtonClick = function () {
69
+ if (onFatalErrorOkButtonClick) {
70
+ onFatalErrorOkButtonClick();
71
+ }
72
+ };
73
+ // eslint-disable-next-line react/jsx-no-constructed-context-values
74
+ var contextValue = {
75
+ alignContent: alignContent,
76
+ texts: tslib.__assign(tslib.__assign({}, types.defaultTexts), restProps.texts),
77
+ state: state,
78
+ screen: screen,
79
+ requiredCharAmount: requiredCharAmount,
80
+ countdownDuration: countdownDuration,
81
+ timeLeft: timeLeft,
82
+ tempBlockDuration: tempBlockDuration,
83
+ phone: phone,
84
+ blockSmsRetry: blockSmsRetry,
85
+ onTempBlockFinished: onTempBlockFinished,
86
+ onChangeState: onChangeState,
87
+ onChangeScreen: onChangeScreen,
88
+ clearCodeOnError: clearCodeOnError,
89
+ onInputFinished: handleInputFinished,
90
+ onSmsRetryClick: handleSmsRetry,
91
+ onFatalErrorOkButtonClick: handleFatalErrorOkButtonClick,
92
+ };
93
+ var screensMap = getScreensMap ? getScreensMap(confirmationScreens) : confirmationScreens;
94
+ var CurrentScreen = screensMap[screen];
95
+ return (React__default.default.createElement(context.ConfirmationContext.Provider, { value: contextValue },
96
+ React__default.default.createElement("div", { className: cn__default.default(styles.component, className), "data-test-id": dataTestId }, CurrentScreen && React__default.default.createElement(CurrentScreen, { mobile: mobile }))));
97
+ };
98
+
99
+ exports.BaseConfirmation = BaseConfirmation;
@@ -1,4 +1,4 @@
1
- /* hash: gcdj0 */
1
+ /* hash: 37onl */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-text-secondary: rgba(11, 31, 53, 0.7);
@@ -15,7 +15,7 @@
15
15
  } :root {
16
16
  } :root {
17
17
  } :root {
18
- } .confirmation__component_4lbek {
18
+ } .confirmation__component_y3i6g {
19
19
  width: 100%;
20
20
  max-width: 388px;
21
21
  margin: 0 auto;
@@ -1 +1 @@
1
- export * from "../../component-adbf9996";
1
+ export * from "./component";
@@ -1,6 +1,7 @@
1
1
  'use strict';
2
2
 
3
- var components_baseConfirmation_component = require('../../component-adbf9996.js');
3
+ var components_baseConfirmation_component = require('./component.js');
4
+ require('tslib');
4
5
  require('react');
5
6
  require('classnames');
6
7
  require('@alfalab/hooks');
@@ -13,7 +14,7 @@ require('@alfalab/core-components-code-input');
13
14
  require('@alfalab/core-components-link');
14
15
  require('@alfalab/core-components-typography');
15
16
  require('../header/component.js');
16
- require('../../countdown-section-94a35216.js');
17
+ require('../../countdown-section-bda43975.js');
17
18
  require('@alfalab/core-components-loader');
18
19
  require('../screens/hint/component.js');
19
20
  require('../screens/fatal-error/component.js');
@@ -6,7 +6,7 @@ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'defau
6
6
 
7
7
  var React__default = /*#__PURE__*/_interopDefaultCompat(React);
8
8
 
9
- var styles = {"circle":"confirmation__circle_puolj"};
9
+ var styles = {"circle":"confirmation__circle_1q6wg"};
10
10
  require('./index.css')
11
11
 
12
12
  var SIZE = 16;
@@ -1,4 +1,4 @@
1
- /* hash: ogsi7 */
1
+ /* hash: 1e5nj */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-graphic-tertiary: #b6bcc3;
@@ -15,7 +15,7 @@
15
15
  } :root {
16
16
  } :root {
17
17
  } :root {
18
- } .confirmation__circle_puolj {
18
+ } .confirmation__circle_1q6wg {
19
19
  fill: transparent;
20
20
  stroke: var(--color-light-graphic-tertiary);
21
21
  stroke-width: 2px;
@@ -9,7 +9,7 @@ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'defau
9
9
  var React__default = /*#__PURE__*/_interopDefaultCompat(React);
10
10
  var cn__default = /*#__PURE__*/_interopDefaultCompat(cn);
11
11
 
12
- var styles = {"header":"confirmation__header_a0nod","typography":"confirmation__typography_a0nod","typographyMobile":"confirmation__typographyMobile_a0nod"};
12
+ var styles = {"header":"confirmation__header_k1gli","typography":"confirmation__typography_k1gli","typographyMobile":"confirmation__typographyMobile_k1gli"};
13
13
  require('./index.css')
14
14
 
15
15
  var Header = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: 1x66r */
1
+ /* hash: 4uqfp */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  } :root {
@@ -34,15 +34,15 @@
34
34
 
35
35
  /* header */
36
36
  --confirmation-header-font-feature-settings: normal
37
- } .confirmation__header_a0nod.confirmation__header_a0nod {
37
+ } .confirmation__header_k1gli.confirmation__header_k1gli {
38
38
  margin-bottom: var(--gap-xl);
39
- } .confirmation__typography_a0nod.confirmation__typography_a0nod {
39
+ } .confirmation__typography_k1gli.confirmation__typography_k1gli {
40
40
  font-feature-settings: var(--confirmation-header-font-feature-settings);
41
41
  font-size: var(--confirmation-header-desktop-font-size);
42
42
  line-height: var(--confirmation-header-desktop-line-height);
43
43
  font-weight: var(--confirmation-header-desktop-font-weight);
44
44
  font-family: var(--confirmation-header-desktop-font-family);
45
- } .confirmation__typographyMobile_a0nod.confirmation__typographyMobile_a0nod {
45
+ } .confirmation__typographyMobile_k1gli.confirmation__typographyMobile_k1gli {
46
46
  font-feature-settings: var(--confirmation-header-font-feature-settings);
47
47
  font-size: var(--confirmation-header-mobile-font-size);
48
48
  line-height: var(--confirmation-header-mobile-line-height);
@@ -15,7 +15,7 @@ require('@alfalab/hooks');
15
15
  require('../context.js');
16
16
  require('../utils.js');
17
17
  require('./header/component.js');
18
- require('../countdown-section-94a35216.js');
18
+ require('../countdown-section-bda43975.js');
19
19
  require('@alfalab/core-components-loader');
20
20
 
21
21
 
@@ -13,7 +13,7 @@ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'defau
13
13
  var React__default = /*#__PURE__*/_interopDefaultCompat(React);
14
14
  var cn__default = /*#__PURE__*/_interopDefaultCompat(cn);
15
15
 
16
- var styles = {"component":"confirmation__component_1glnt","typographyTheme":"confirmation__typographyTheme_1glnt","left":"confirmation__left_1glnt","center":"confirmation__center_1glnt","button":"confirmation__button_1glnt"};
16
+ var styles = {"component":"confirmation__component_1751l","typographyTheme":"confirmation__typographyTheme_1751l","left":"confirmation__left_1751l","center":"confirmation__center_1751l","button":"confirmation__button_1751l"};
17
17
  require('./index.css')
18
18
 
19
19
  var FatalError = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: ucwtg */
1
+ /* hash: 112kj */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-text-primary: #0b1f35;
@@ -31,20 +31,20 @@
31
31
  --confirmation-text-color: var(--color-light-text-primary)
32
32
 
33
33
  /* header */
34
- } .confirmation__component_1glnt {
34
+ } .confirmation__component_1751l {
35
35
  display: flex;
36
36
  flex-direction: column;
37
- } .confirmation__typographyTheme_1glnt.confirmation__typographyTheme_1glnt {
37
+ } .confirmation__typographyTheme_1751l.confirmation__typographyTheme_1751l {
38
38
  font-size: var(--confirmation-text-font-size);
39
39
  line-height: var(--confirmation-text-line-height);
40
40
  font-weight: var(--confirmation-text-font-weight);
41
41
  font-family: var(--confirmation-text-font-family);
42
42
  color: var(--confirmation-text-color);
43
- } .confirmation__left_1glnt {
43
+ } .confirmation__left_1751l {
44
44
  align-items: flex-start;
45
- } .confirmation__center_1glnt {
45
+ } .confirmation__center_1751l {
46
46
  align-items: center;
47
47
  text-align: center;
48
- } .confirmation__button_1glnt {
48
+ } .confirmation__button_1751l {
49
49
  margin-top: var(--gap-2xl);
50
50
  }
@@ -14,7 +14,7 @@ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'defau
14
14
  var React__default = /*#__PURE__*/_interopDefaultCompat(React);
15
15
  var cn__default = /*#__PURE__*/_interopDefaultCompat(cn);
16
16
 
17
- var styles = {"component":"confirmation__component_1wl03","center":"confirmation__center_1wl03","text":"confirmation__text_1wl03","typographyTheme":"confirmation__typographyTheme_1wl03","phonesWrap":"confirmation__phonesWrap_1wl03","phoneWrap":"confirmation__phoneWrap_1wl03","phoneLink":"confirmation__phoneLink_1wl03","hintButton":"confirmation__hintButton_1wl03","phoneContentMobile":"confirmation__phoneContentMobile_1wl03"};
17
+ var styles = {"component":"confirmation__component_r22t9","center":"confirmation__center_r22t9","text":"confirmation__text_r22t9","typographyTheme":"confirmation__typographyTheme_r22t9","phonesWrap":"confirmation__phonesWrap_r22t9","phoneWrap":"confirmation__phoneWrap_r22t9","phoneLink":"confirmation__phoneLink_r22t9","hintButton":"confirmation__hintButton_r22t9","phoneContentMobile":"confirmation__phoneContentMobile_r22t9"};
18
18
  require('./index.css')
19
19
 
20
20
  var Hint = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: 1hm2r */
1
+ /* hash: 14hdw */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-text-primary: #0b1f35;
@@ -33,38 +33,38 @@
33
33
  --confirmation-text-color: var(--color-light-text-primary)
34
34
 
35
35
  /* header */
36
- } .confirmation__component_1wl03 {
36
+ } .confirmation__component_r22t9 {
37
37
  display: flex;
38
38
  flex-direction: column;
39
39
  align-items: flex-start
40
- } .confirmation__component_1wl03 span:last-of-type {
40
+ } .confirmation__component_r22t9 span:last-of-type {
41
41
  margin-bottom: 0;
42
- } .confirmation__center_1wl03 {
42
+ } .confirmation__center_r22t9 {
43
43
  align-items: center;
44
44
  text-align: center;
45
- } .confirmation__text_1wl03.confirmation__text_1wl03 {
45
+ } .confirmation__text_r22t9.confirmation__text_r22t9 {
46
46
  margin-bottom: var(--gap-xl);
47
- } .confirmation__typographyTheme_1wl03.confirmation__typographyTheme_1wl03 {
47
+ } .confirmation__typographyTheme_r22t9.confirmation__typographyTheme_r22t9 {
48
48
  font-size: var(--confirmation-text-font-size);
49
49
  line-height: var(--confirmation-text-line-height);
50
50
  font-weight: var(--confirmation-text-font-weight);
51
51
  font-family: var(--confirmation-text-font-family);
52
52
  color: var(--confirmation-text-color);
53
- } .confirmation__phonesWrap_1wl03 {
53
+ } .confirmation__phonesWrap_r22t9 {
54
54
  display: flex;
55
55
  flex-direction: column;
56
56
  margin-bottom: var(--gap-xl);
57
- } .confirmation__phoneWrap_1wl03 {
57
+ } .confirmation__phoneWrap_r22t9 {
58
58
  margin-bottom: var(--gap-xs)
59
- } .confirmation__phoneWrap_1wl03:last-child {
59
+ } .confirmation__phoneWrap_r22t9:last-child {
60
60
  margin-bottom: 0;
61
- } .confirmation__phoneLink_1wl03.confirmation__phoneLink_1wl03 {
61
+ } .confirmation__phoneLink_r22t9.confirmation__phoneLink_r22t9 {
62
62
  font-size: 16px;
63
63
  line-height: 24px;
64
64
  font-weight: 500;
65
- } .confirmation__hintButton_1wl03 {
65
+ } .confirmation__hintButton_r22t9 {
66
66
  margin-top: var(--gap-2xl);
67
- } .confirmation__phoneContentMobile_1wl03 {
67
+ } .confirmation__phoneContentMobile_r22t9 {
68
68
  display: flex;
69
69
  flex-direction: column;
70
70
  align-items: center;
@@ -14,7 +14,7 @@ require('@alfalab/hooks');
14
14
  require('../../context.js');
15
15
  require('../../utils.js');
16
16
  require('../header/component.js');
17
- require('../../countdown-section-94a35216.js');
17
+ require('../../countdown-section-bda43975.js');
18
18
  require('@alfalab/core-components-loader');
19
19
  require('../countdown-loader/component.js');
20
20
 
@@ -9,7 +9,7 @@ var coreComponentsTypography = require('@alfalab/core-components-typography');
9
9
  var hooks = require('@alfalab/hooks');
10
10
  var context = require('../../../context.js');
11
11
  var components_header_component = require('../../header/component.js');
12
- var components_screens_initial_countdownSection = require('../../../countdown-section-94a35216.js');
12
+ var components_screens_initial_countdownSection = require('../../../countdown-section-bda43975.js');
13
13
  require('../../../utils.js');
14
14
  require('@alfalab/core-components-loader');
15
15
 
@@ -7,7 +7,7 @@ require('@alfalab/core-components-loader');
7
7
  require('@alfalab/core-components-typography');
8
8
  require('../../../context.js');
9
9
  require('../../../utils.js');
10
- var components_screens_initial_countdownSection = require('../../../countdown-section-94a35216.js');
10
+ var components_screens_initial_countdownSection = require('../../../countdown-section-bda43975.js');
11
11
 
12
12
 
13
13
 
@@ -1,4 +1,4 @@
1
- /* hash: 1uuc9 */
1
+ /* hash: lb4mi */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-text-primary: #0b1f35;
@@ -38,51 +38,51 @@
38
38
  --confirmation-text-color: var(--color-light-text-primary)
39
39
 
40
40
  /* header */
41
- } .confirmation__component_ezi6s {
41
+ } .confirmation__component_31kmk {
42
42
  display: flex;
43
43
  flex-direction: column;
44
- } .confirmation__typographyTheme_ezi6s.confirmation__typographyTheme_ezi6s {
44
+ } .confirmation__typographyTheme_31kmk.confirmation__typographyTheme_31kmk {
45
45
  font-size: var(--confirmation-text-font-size);
46
46
  line-height: var(--confirmation-text-line-height);
47
47
  font-weight: var(--confirmation-text-font-weight);
48
48
  font-family: var(--confirmation-text-font-family);
49
49
  color: var(--confirmation-text-color);
50
- } .confirmation__phone_ezi6s.confirmation__phone_ezi6s {
50
+ } .confirmation__phone_31kmk.confirmation__phone_31kmk {
51
51
  color: var(--color-light-text-primary);
52
52
  margin-bottom: var(--gap-2xl);
53
- } .confirmation__compact_ezi6s {
53
+ } .confirmation__compact_31kmk {
54
54
  margin-bottom: var(--gap-xl);
55
- } .confirmation__loaderWrap_ezi6s {
55
+ } .confirmation__loaderWrap_31kmk {
56
56
  display: flex;
57
57
  align-items: center;
58
- } .confirmation__left_ezi6s {
58
+ } .confirmation__left_31kmk {
59
59
  align-items: flex-start;
60
- } .confirmation__center_ezi6s {
60
+ } .confirmation__center_31kmk {
61
61
  align-items: center;
62
62
  text-align: center
63
- } .confirmation__center_ezi6s .confirmation__loaderWrap_ezi6s {
63
+ } .confirmation__center_31kmk .confirmation__loaderWrap_31kmk {
64
64
  justify-content: center;
65
- } .confirmation__center_ezi6s input {
65
+ } .confirmation__center_31kmk input {
66
66
  margin: 0 var(--gap-2xs);
67
- } .confirmation__codeInput_ezi6s {
67
+ } .confirmation__codeInput_31kmk {
68
68
  margin-bottom: var(--gap-s);
69
- } .confirmation__smsComeLink_ezi6s.confirmation__smsComeLink_ezi6s {
69
+ } .confirmation__smsComeLink_31kmk.confirmation__smsComeLink_31kmk {
70
70
  font-size: 14px;
71
71
  line-height: 20px;
72
72
  font-weight: 500;
73
- } .confirmation__countdownContainer_ezi6s.confirmation__countdownContainer_ezi6s {
73
+ } .confirmation__countdownContainer_31kmk.confirmation__countdownContainer_31kmk {
74
74
  color: var(--color-light-text-secondary);
75
75
  margin-bottom: var(--gap-xl);
76
- } .confirmation__countdownMobile_ezi6s.confirmation__countdownMobile_ezi6s {
76
+ } .confirmation__countdownMobile_31kmk.confirmation__countdownMobile_31kmk {
77
77
  margin-bottom: var(--gap-l);
78
- } .confirmation__countdownLoaderMobile_ezi6s.confirmation__countdownLoaderMobile_ezi6s {
78
+ } .confirmation__countdownLoaderMobile_31kmk.confirmation__countdownLoaderMobile_31kmk {
79
79
  margin-bottom: var(--gap-m);
80
- } .confirmation__getCodeButton_ezi6s {
80
+ } .confirmation__getCodeButton_31kmk {
81
81
  position: relative;
82
82
  top: var(--gap-2xs-neg);
83
83
  margin-bottom: var(--gap-m);
84
- } .confirmation__getCodeButtonMobile_ezi6s {
84
+ } .confirmation__getCodeButtonMobile_31kmk {
85
85
  margin-bottom: 0;
86
- } .confirmation__containerInput_ezi6s {
86
+ } .confirmation__containerInput_31kmk {
87
87
  min-height: 80px;
88
88
  }
@@ -11,7 +11,7 @@ require('@alfalab/hooks');
11
11
  require('../../../context.js');
12
12
  require('../../../utils.js');
13
13
  require('../../header/component.js');
14
- require('../../../countdown-section-94a35216.js');
14
+ require('../../../countdown-section-bda43975.js');
15
15
  require('@alfalab/core-components-loader');
16
16
 
17
17
 
@@ -13,7 +13,7 @@ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'defau
13
13
  var React__default = /*#__PURE__*/_interopDefaultCompat(React);
14
14
  var cn__default = /*#__PURE__*/_interopDefaultCompat(cn);
15
15
 
16
- var styles = {"component":"confirmation__component_9vga9","center":"confirmation__center_9vga9","typographyTheme":"confirmation__typographyTheme_9vga9","description":"confirmation__description_9vga9","countdownWrap":"confirmation__countdownWrap_9vga9","loader":"confirmation__loader_9vga9"};
16
+ var styles = {"component":"confirmation__component_3hae3","center":"confirmation__center_3hae3","typographyTheme":"confirmation__typographyTheme_3hae3","description":"confirmation__description_3hae3","countdownWrap":"confirmation__countdownWrap_3hae3","loader":"confirmation__loader_3hae3"};
17
17
  require('./index.css')
18
18
 
19
19
  var TempBlock = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: 187rq */
1
+ /* hash: 1xpo5 */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-text-primary: #0b1f35;
@@ -31,23 +31,23 @@
31
31
  --confirmation-text-color: var(--color-light-text-primary)
32
32
 
33
33
  /* header */
34
- } .confirmation__component_9vga9 {
34
+ } .confirmation__component_3hae3 {
35
35
  display: flex;
36
36
  flex-direction: column;
37
- } .confirmation__center_9vga9 {
37
+ } .confirmation__center_3hae3 {
38
38
  align-items: center;
39
39
  text-align: center;
40
- } .confirmation__typographyTheme_9vga9.confirmation__typographyTheme_9vga9 {
40
+ } .confirmation__typographyTheme_3hae3.confirmation__typographyTheme_3hae3 {
41
41
  font-size: var(--confirmation-text-font-size);
42
42
  line-height: var(--confirmation-text-line-height);
43
43
  font-weight: var(--confirmation-text-font-weight);
44
44
  font-family: var(--confirmation-text-font-family);
45
45
  color: var(--confirmation-text-color);
46
- } .confirmation__description_9vga9.confirmation__description_9vga9 {
46
+ } .confirmation__description_3hae3.confirmation__description_3hae3 {
47
47
  margin-bottom: var(--gap-xs);
48
- } .confirmation__countdownWrap_9vga9 {
48
+ } .confirmation__countdownWrap_3hae3 {
49
49
  display: flex;
50
50
  align-items: center;
51
- } .confirmation__loader_9vga9 {
51
+ } .confirmation__loader_3hae3 {
52
52
  margin-right: var(--gap-xs);
53
53
  }
@@ -13,7 +13,7 @@ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'defau
13
13
  var React__default = /*#__PURE__*/_interopDefaultCompat(React);
14
14
  var cn__default = /*#__PURE__*/_interopDefaultCompat(cn);
15
15
 
16
- var styles = {"component":"confirmation__component_ezi6s","typographyTheme":"confirmation__typographyTheme_ezi6s","phone":"confirmation__phone_ezi6s","compact":"confirmation__compact_ezi6s","loaderWrap":"confirmation__loaderWrap_ezi6s","left":"confirmation__left_ezi6s","center":"confirmation__center_ezi6s","codeInput":"confirmation__codeInput_ezi6s","smsComeLink":"confirmation__smsComeLink_ezi6s","countdownContainer":"confirmation__countdownContainer_ezi6s","countdownMobile":"confirmation__countdownMobile_ezi6s","countdownLoaderMobile":"confirmation__countdownLoaderMobile_ezi6s","getCodeButton":"confirmation__getCodeButton_ezi6s","getCodeButtonMobile":"confirmation__getCodeButtonMobile_ezi6s","containerInput":"confirmation__containerInput_ezi6s"};
16
+ var styles = {"component":"confirmation__component_31kmk","typographyTheme":"confirmation__typographyTheme_31kmk","phone":"confirmation__phone_31kmk","compact":"confirmation__compact_31kmk","loaderWrap":"confirmation__loaderWrap_31kmk","left":"confirmation__left_31kmk","center":"confirmation__center_31kmk","codeInput":"confirmation__codeInput_31kmk","smsComeLink":"confirmation__smsComeLink_31kmk","countdownContainer":"confirmation__countdownContainer_31kmk","countdownMobile":"confirmation__countdownMobile_31kmk","countdownLoaderMobile":"confirmation__countdownLoaderMobile_31kmk","getCodeButton":"confirmation__getCodeButton_31kmk","getCodeButtonMobile":"confirmation__getCodeButtonMobile_31kmk","containerInput":"confirmation__containerInput_31kmk"};
17
17
  require('./components/screens/initial/index.css')
18
18
 
19
19
  var CountdownSection = function (_a) {