@alfalab/core-components-confirmation 12.4.10 → 12.4.12

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 (137) hide show
  1. package/component.desktop.js +3 -1
  2. package/component.mobile.js +4 -2
  3. package/component.responsive.js +3 -1
  4. package/components/base-confirmation/component.js +7 -4
  5. package/components/base-confirmation/index.css +4 -4
  6. package/components/base-confirmation/index.js +3 -1
  7. package/components/countdown-loader/component.js +3 -1
  8. package/components/countdown-loader/index.css +4 -4
  9. package/components/countdown-loader/index.js +2 -0
  10. package/components/header/component.js +3 -1
  11. package/components/header/index.css +6 -6
  12. package/components/header/index.js +2 -0
  13. package/components/index.js +3 -1
  14. package/components/screens/fatal-error/component.js +3 -1
  15. package/components/screens/fatal-error/index.css +8 -8
  16. package/components/screens/fatal-error/index.js +2 -0
  17. package/components/screens/hint/component.js +3 -1
  18. package/components/screens/hint/index.css +14 -14
  19. package/components/screens/hint/index.js +2 -0
  20. package/components/screens/index.js +3 -1
  21. package/components/screens/initial/component.js +5 -3
  22. package/components/screens/initial/countdown-section.js +3 -1
  23. package/components/screens/initial/index.css +21 -21
  24. package/components/screens/initial/index.js +3 -1
  25. package/components/screens/temp-block/component.js +3 -1
  26. package/components/screens/temp-block/index.css +9 -9
  27. package/components/screens/temp-block/index.js +2 -0
  28. package/context.js +3 -0
  29. package/{countdown-section-5babd6c6.js → countdown-section-eeb2aaea.js} +1 -1
  30. package/cssm/component.desktop.js +2 -0
  31. package/cssm/component.mobile.js +2 -0
  32. package/cssm/component.responsive.js +2 -0
  33. package/cssm/components/base-confirmation/component.js +5 -2
  34. package/cssm/components/base-confirmation/index.js +2 -0
  35. package/cssm/components/base-confirmation/index.module.css +2 -2
  36. package/cssm/components/countdown-loader/component.js +2 -0
  37. package/cssm/components/countdown-loader/index.js +2 -0
  38. package/cssm/components/countdown-loader/index.module.css +2 -2
  39. package/cssm/components/header/component.js +2 -0
  40. package/cssm/components/header/index.js +2 -0
  41. package/cssm/components/header/index.module.css +2 -2
  42. package/cssm/components/index.js +2 -0
  43. package/cssm/components/screens/fatal-error/component.js +2 -0
  44. package/cssm/components/screens/fatal-error/index.js +2 -0
  45. package/cssm/components/screens/fatal-error/index.module.css +2 -2
  46. package/cssm/components/screens/hint/component.js +2 -0
  47. package/cssm/components/screens/hint/index.js +2 -0
  48. package/cssm/components/screens/hint/index.module.css +2 -2
  49. package/cssm/components/screens/index.js +2 -0
  50. package/cssm/components/screens/initial/component.js +4 -2
  51. package/cssm/components/screens/initial/countdown-section.js +2 -0
  52. package/cssm/components/screens/initial/index.js +2 -0
  53. package/cssm/components/screens/initial/index.module.css +3 -3
  54. package/cssm/components/screens/temp-block/component.js +2 -0
  55. package/cssm/components/screens/temp-block/index.js +2 -0
  56. package/cssm/components/screens/temp-block/index.module.css +2 -2
  57. package/cssm/context.js +3 -0
  58. package/cssm/desktop.js +2 -0
  59. package/cssm/index.js +5 -3
  60. package/cssm/mobile.js +2 -0
  61. package/cssm/responsive.js +2 -0
  62. package/cssm/types.d.ts +6 -1
  63. package/cssm/types.js +2 -0
  64. package/cssm/utils.js +2 -0
  65. package/cssm/vars.css +2 -2
  66. package/desktop.js +3 -1
  67. package/esm/component.desktop.js +1 -1
  68. package/esm/component.mobile.js +2 -2
  69. package/esm/component.responsive.js +1 -1
  70. package/esm/components/base-confirmation/component.js +5 -4
  71. package/esm/components/base-confirmation/index.css +4 -4
  72. package/esm/components/base-confirmation/index.js +1 -1
  73. package/esm/components/countdown-loader/component.js +1 -1
  74. package/esm/components/countdown-loader/index.css +4 -4
  75. package/esm/components/header/component.js +1 -1
  76. package/esm/components/header/index.css +6 -6
  77. package/esm/components/index.js +1 -1
  78. package/esm/components/screens/fatal-error/component.js +1 -1
  79. package/esm/components/screens/fatal-error/index.css +8 -8
  80. package/esm/components/screens/hint/component.js +1 -1
  81. package/esm/components/screens/hint/index.css +14 -14
  82. package/esm/components/screens/index.js +1 -1
  83. package/esm/components/screens/initial/component.js +3 -3
  84. package/esm/components/screens/initial/countdown-section.js +1 -1
  85. package/esm/components/screens/initial/index.css +21 -21
  86. package/esm/components/screens/initial/index.js +1 -1
  87. package/esm/components/screens/temp-block/component.js +1 -1
  88. package/esm/components/screens/temp-block/index.css +9 -9
  89. package/esm/context.js +1 -0
  90. package/esm/{countdown-section-b2e6a96e.js → countdown-section-11874006.js} +1 -1
  91. package/esm/desktop.js +1 -1
  92. package/esm/index.js +2 -2
  93. package/esm/mobile.css +2 -2
  94. package/esm/mobile.js +1 -1
  95. package/esm/responsive.js +1 -1
  96. package/esm/types.d.ts +6 -1
  97. package/index.js +4 -2
  98. package/mobile.css +2 -2
  99. package/mobile.js +3 -1
  100. package/modern/component.desktop.js +1 -1
  101. package/modern/component.mobile.js +2 -2
  102. package/modern/component.responsive.js +1 -1
  103. package/modern/components/base-confirmation/component.js +4 -3
  104. package/modern/components/base-confirmation/index.css +4 -4
  105. package/modern/components/base-confirmation/index.js +1 -1
  106. package/modern/components/countdown-loader/component.js +1 -1
  107. package/modern/components/countdown-loader/index.css +4 -4
  108. package/modern/components/header/component.js +1 -1
  109. package/modern/components/header/index.css +6 -6
  110. package/modern/components/index.js +1 -1
  111. package/modern/components/screens/fatal-error/component.js +1 -1
  112. package/modern/components/screens/fatal-error/index.css +8 -8
  113. package/modern/components/screens/hint/component.js +1 -1
  114. package/modern/components/screens/hint/index.css +14 -14
  115. package/modern/components/screens/index.js +1 -1
  116. package/modern/components/screens/initial/component.js +3 -3
  117. package/modern/components/screens/initial/countdown-section.js +1 -1
  118. package/modern/components/screens/initial/index.css +21 -21
  119. package/modern/components/screens/initial/index.js +1 -1
  120. package/modern/components/screens/temp-block/component.js +1 -1
  121. package/modern/components/screens/temp-block/index.css +9 -9
  122. package/modern/context.js +1 -0
  123. package/modern/{countdown-section-55d78e2b.js → countdown-section-a44bf760.js} +1 -1
  124. package/modern/desktop.js +1 -1
  125. package/modern/index.js +2 -2
  126. package/modern/mobile.css +2 -2
  127. package/modern/mobile.js +1 -1
  128. package/modern/responsive.js +1 -1
  129. package/modern/types.d.ts +6 -1
  130. package/package.json +6 -6
  131. package/responsive.js +3 -1
  132. package/types.d.ts +6 -1
  133. package/types.js +2 -0
  134. package/utils.js +2 -0
  135. /package/{countdown-section-5babd6c6.d.ts → countdown-section-eeb2aaea.d.ts} +0 -0
  136. /package/esm/{countdown-section-b2e6a96e.d.ts → countdown-section-11874006.d.ts} +0 -0
  137. /package/modern/{countdown-section-55d78e2b.d.ts → countdown-section-a44bf760.d.ts} +0 -0
@@ -14,11 +14,11 @@ import '@alfalab/core-components-code-input/esm';
14
14
  import '@alfalab/core-components-link/esm';
15
15
  import '@alfalab/core-components-typography/esm';
16
16
  import '../header/component.js';
17
- import '../../countdown-section-b2e6a96e.js';
17
+ import '../../countdown-section-11874006.js';
18
18
  import '@alfalab/core-components-loader/esm';
19
19
  import '../countdown-loader/component.js';
20
20
 
21
- var styles = {"component":"confirmation__component_1gegv"};
21
+ var styles = {"component":"confirmation__component_1wsgy"};
22
22
  require('./index.css')
23
23
 
24
24
  var confirmationScreens = {
@@ -28,8 +28,8 @@ var confirmationScreens = {
28
28
  TEMP_BLOCK: TempBlock,
29
29
  };
30
30
  var BaseConfirmation = function (_a) {
31
- 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 ? ONE_MINUTE : _d, _e = _a.tempBlockDuration, tempBlockDuration = _e === void 0 ? 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 = __rest(_a, ["state", "screen", "alignContent", "children", "requiredCharAmount", "countdownDuration", "tempBlockDuration", "phone", "blockSmsRetry", "dataTestId", "className", "getScreensMap", "onInputFinished", "onChangeState", "onSmsRetryClick", "onChangeScreen", "onFatalErrorOkButtonClick", "onTempBlockFinished", "mobile", "clearCodeOnError"]);
32
- var _g = useCountdown(countdownDuration), timeLeft = _g[0], startTimer = _g[1], stopTimer = _g[2];
31
+ 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 ? ONE_MINUTE : _d, _e = _a.tempBlockDuration, tempBlockDuration = _e === void 0 ? 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, _g = _a.hideCountdownSection, hideCountdownSection = _g === void 0 ? false : _g, restProps = __rest(_a, ["state", "screen", "alignContent", "children", "requiredCharAmount", "countdownDuration", "tempBlockDuration", "phone", "blockSmsRetry", "dataTestId", "className", "getScreensMap", "onInputFinished", "onChangeState", "onSmsRetryClick", "onChangeScreen", "onFatalErrorOkButtonClick", "onTempBlockFinished", "mobile", "clearCodeOnError", "hideCountdownSection"]);
32
+ var _h = useCountdown(countdownDuration), timeLeft = _h[0], startTimer = _h[1], stopTimer = _h[2];
33
33
  var prevState = usePrevious(state);
34
34
  useEffect(function () {
35
35
  startTimer();
@@ -65,6 +65,7 @@ var BaseConfirmation = function (_a) {
65
65
  };
66
66
  // eslint-disable-next-line react/jsx-no-constructed-context-values
67
67
  var contextValue = {
68
+ hideCountdownSection: hideCountdownSection,
68
69
  alignContent: alignContent,
69
70
  texts: __assign(__assign({}, defaultTexts), restProps.texts),
70
71
  state: state,
@@ -1,8 +1,8 @@
1
- /* hash: 11yqy */
1
+ /* hash: 15wph */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
- --color-light-text-secondary: rgba(11, 31, 53, 0.7);
5
- } :root {
4
+ --color-light-text-secondary: rgba(60, 60, 67, 0.66); /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
5
+ } :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
6
6
  } :root {
7
7
  } :root {
8
8
 
@@ -15,7 +15,7 @@
15
15
  } :root {
16
16
  } :root {
17
17
  } :root {
18
- } .confirmation__component_1gegv {
18
+ } .confirmation__component_1wsgy {
19
19
  width: 100%;
20
20
  max-width: 388px;
21
21
  margin: 0 auto;
@@ -12,7 +12,7 @@ import '@alfalab/core-components-code-input/esm';
12
12
  import '@alfalab/core-components-link/esm';
13
13
  import '@alfalab/core-components-typography/esm';
14
14
  import '../header/component.js';
15
- import '../../countdown-section-b2e6a96e.js';
15
+ import '../../countdown-section-11874006.js';
16
16
  import '@alfalab/core-components-loader/esm';
17
17
  import '../screens/hint/component.js';
18
18
  import '../screens/fatal-error/component.js';
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
 
3
- var styles = {"circle":"confirmation__circle_yua5f"};
3
+ var styles = {"circle":"confirmation__circle_1f8a8"};
4
4
  require('./index.css')
5
5
 
6
6
  var SIZE = 16;
@@ -1,8 +1,8 @@
1
- /* hash: mnubh */
1
+ /* hash: zaj7r */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
- --color-light-graphic-tertiary: #b6bcc3;
5
- } :root {
4
+ --color-light-graphic-tertiary: #c1c1c3; /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
5
+ } :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
6
6
  } :root {
7
7
  } :root {
8
8
 
@@ -15,7 +15,7 @@
15
15
  } :root {
16
16
  } :root {
17
17
  } :root {
18
- } .confirmation__circle_yua5f {
18
+ } .confirmation__circle_1f8a8 {
19
19
  fill: transparent;
20
20
  stroke: var(--color-light-graphic-tertiary);
21
21
  stroke-width: 2px;
@@ -2,7 +2,7 @@ import React from 'react';
2
2
  import cn from 'classnames';
3
3
  import { Typography } from '@alfalab/core-components-typography/esm';
4
4
 
5
- var styles = {"header":"confirmation__header_utnrp","typography":"confirmation__typography_utnrp","typographyMobile":"confirmation__typographyMobile_utnrp"};
5
+ var styles = {"header":"confirmation__header_1b7nu","typography":"confirmation__typography_1b7nu","typographyMobile":"confirmation__typographyMobile_1b7nu"};
6
6
  require('./index.css')
7
7
 
8
8
  var Header = function (_a) {
@@ -1,7 +1,7 @@
1
- /* hash: 14wfb */
1
+ /* hash: 158z7 */
2
2
  :root {
3
- } /* deprecated */ :root {
4
- } :root {
3
+ } /* deprecated */ :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
4
+ } :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
5
5
  } :root {
6
6
  } :root {
7
7
 
@@ -34,15 +34,15 @@
34
34
 
35
35
  /* header */
36
36
  --confirmation-header-font-feature-settings: normal
37
- } .confirmation__header_utnrp.confirmation__header_utnrp {
37
+ } .confirmation__header_1b7nu.confirmation__header_1b7nu {
38
38
  margin-bottom: var(--gap-xl);
39
- } .confirmation__typography_utnrp.confirmation__typography_utnrp {
39
+ } .confirmation__typography_1b7nu.confirmation__typography_1b7nu {
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_utnrp.confirmation__typographyMobile_utnrp {
45
+ } .confirmation__typographyMobile_1b7nu.confirmation__typographyMobile_1b7nu {
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);
@@ -13,5 +13,5 @@ import '@alfalab/hooks';
13
13
  import '../context.js';
14
14
  import '../utils.js';
15
15
  import './header/component.js';
16
- import '../countdown-section-b2e6a96e.js';
16
+ import '../countdown-section-11874006.js';
17
17
  import '@alfalab/core-components-loader/esm';
@@ -6,7 +6,7 @@ import { ConfirmationContext } from '../../../context.js';
6
6
  import { Header } from '../../header/component.js';
7
7
  import '../../../utils.js';
8
8
 
9
- var styles = {"component":"confirmation__component_2djuo","typographyTheme":"confirmation__typographyTheme_2djuo","left":"confirmation__left_2djuo","center":"confirmation__center_2djuo","button":"confirmation__button_2djuo"};
9
+ var styles = {"component":"confirmation__component_1l0nt","typographyTheme":"confirmation__typographyTheme_1l0nt","left":"confirmation__left_1l0nt","center":"confirmation__center_1l0nt","button":"confirmation__button_1l0nt"};
10
10
  require('./index.css')
11
11
 
12
12
  var FatalError = function (_a) {
@@ -1,8 +1,8 @@
1
- /* hash: 1epf9 */
1
+ /* hash: 12k0x */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
- --color-light-text-primary: #0b1f35;
5
- } :root {
4
+ --color-light-text-primary: #0e0e0e; /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
5
+ } :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
6
6
  } :root {
7
7
  } :root {
8
8
 
@@ -31,20 +31,20 @@
31
31
  --confirmation-text-color: var(--color-light-text-primary)
32
32
 
33
33
  /* header */
34
- } .confirmation__component_2djuo {
34
+ } .confirmation__component_1l0nt {
35
35
  display: flex;
36
36
  flex-direction: column;
37
- } .confirmation__typographyTheme_2djuo.confirmation__typographyTheme_2djuo {
37
+ } .confirmation__typographyTheme_1l0nt.confirmation__typographyTheme_1l0nt {
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_2djuo {
43
+ } .confirmation__left_1l0nt {
44
44
  align-items: flex-start;
45
- } .confirmation__center_2djuo {
45
+ } .confirmation__center_1l0nt {
46
46
  align-items: center;
47
47
  text-align: center;
48
- } .confirmation__button_2djuo {
48
+ } .confirmation__button_1l0nt {
49
49
  margin-top: var(--gap-2xl);
50
50
  }
@@ -7,7 +7,7 @@ import { ConfirmationContext } from '../../../context.js';
7
7
  import { Header } from '../../header/component.js';
8
8
  import '../../../utils.js';
9
9
 
10
- var styles = {"component":"confirmation__component_19d1i","center":"confirmation__center_19d1i","text":"confirmation__text_19d1i","typographyTheme":"confirmation__typographyTheme_19d1i","phonesWrap":"confirmation__phonesWrap_19d1i","phoneWrap":"confirmation__phoneWrap_19d1i","phoneLink":"confirmation__phoneLink_19d1i","hintButton":"confirmation__hintButton_19d1i","phoneContentMobile":"confirmation__phoneContentMobile_19d1i"};
10
+ var styles = {"component":"confirmation__component_sz1eu","center":"confirmation__center_sz1eu","text":"confirmation__text_sz1eu","typographyTheme":"confirmation__typographyTheme_sz1eu","phonesWrap":"confirmation__phonesWrap_sz1eu","phoneWrap":"confirmation__phoneWrap_sz1eu","phoneLink":"confirmation__phoneLink_sz1eu","hintButton":"confirmation__hintButton_sz1eu","phoneContentMobile":"confirmation__phoneContentMobile_sz1eu"};
11
11
  require('./index.css')
12
12
 
13
13
  var Hint = function (_a) {
@@ -1,8 +1,8 @@
1
- /* hash: 12d22 */
1
+ /* hash: 3dtf7 */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
- --color-light-text-primary: #0b1f35;
5
- } :root {
4
+ --color-light-text-primary: #0e0e0e; /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
5
+ } :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
6
6
  } :root {
7
7
  } :root {
8
8
 
@@ -33,38 +33,38 @@
33
33
  --confirmation-text-color: var(--color-light-text-primary)
34
34
 
35
35
  /* header */
36
- } .confirmation__component_19d1i {
36
+ } .confirmation__component_sz1eu {
37
37
  display: flex;
38
38
  flex-direction: column;
39
39
  align-items: flex-start
40
- } .confirmation__component_19d1i span:last-of-type {
40
+ } .confirmation__component_sz1eu span:last-of-type {
41
41
  margin-bottom: 0;
42
- } .confirmation__center_19d1i {
42
+ } .confirmation__center_sz1eu {
43
43
  align-items: center;
44
44
  text-align: center;
45
- } .confirmation__text_19d1i.confirmation__text_19d1i {
45
+ } .confirmation__text_sz1eu.confirmation__text_sz1eu {
46
46
  margin-bottom: var(--gap-xl);
47
- } .confirmation__typographyTheme_19d1i.confirmation__typographyTheme_19d1i {
47
+ } .confirmation__typographyTheme_sz1eu.confirmation__typographyTheme_sz1eu {
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_19d1i {
53
+ } .confirmation__phonesWrap_sz1eu {
54
54
  display: flex;
55
55
  flex-direction: column;
56
56
  margin-bottom: var(--gap-xl);
57
- } .confirmation__phoneWrap_19d1i {
57
+ } .confirmation__phoneWrap_sz1eu {
58
58
  margin-bottom: var(--gap-xs)
59
- } .confirmation__phoneWrap_19d1i:last-child {
59
+ } .confirmation__phoneWrap_sz1eu:last-child {
60
60
  margin-bottom: 0;
61
- } .confirmation__phoneLink_19d1i.confirmation__phoneLink_19d1i {
61
+ } .confirmation__phoneLink_sz1eu.confirmation__phoneLink_sz1eu {
62
62
  font-size: 16px;
63
63
  line-height: 24px;
64
64
  font-weight: 500;
65
- } .confirmation__hintButton_19d1i {
65
+ } .confirmation__hintButton_sz1eu {
66
66
  margin-top: var(--gap-2xl);
67
- } .confirmation__phoneContentMobile_19d1i {
67
+ } .confirmation__phoneContentMobile_sz1eu {
68
68
  display: flex;
69
69
  flex-direction: column;
70
70
  align-items: center;
@@ -12,6 +12,6 @@ import '@alfalab/hooks';
12
12
  import '../../context.js';
13
13
  import '../../utils.js';
14
14
  import '../header/component.js';
15
- import '../../countdown-section-b2e6a96e.js';
15
+ import '../../countdown-section-11874006.js';
16
16
  import '@alfalab/core-components-loader/esm';
17
17
  import '../countdown-loader/component.js';
@@ -7,7 +7,7 @@ import { Typography } from '@alfalab/core-components-typography/esm';
7
7
  import { usePrevious } from '@alfalab/hooks';
8
8
  import { ConfirmationContext } from '../../../context.js';
9
9
  import { Header } from '../../header/component.js';
10
- import { s as styles, C as CountdownSection } from '../../../countdown-section-b2e6a96e.js';
10
+ import { s as styles, C as CountdownSection } from '../../../countdown-section-11874006.js';
11
11
  import '../../../utils.js';
12
12
  import '@alfalab/core-components-loader/esm';
13
13
 
@@ -15,7 +15,7 @@ var CODE_SEND_HINT_VISIBLE_DURATION = 2000;
15
15
  var Initial = function (_a) {
16
16
  var _b;
17
17
  var mobile = _a.mobile;
18
- var _c = useContext(ConfirmationContext), state = _c.state, alignContent = _c.alignContent, texts = _c.texts, requiredCharAmount = _c.requiredCharAmount, timeLeft = _c.timeLeft, phone = _c.phone, clearCodeOnError = _c.clearCodeOnError, onChangeState = _c.onChangeState, onInputFinished = _c.onInputFinished, onChangeScreen = _c.onChangeScreen, onSmsRetryClick = _c.onSmsRetryClick;
18
+ var _c = useContext(ConfirmationContext), state = _c.state, alignContent = _c.alignContent, texts = _c.texts, requiredCharAmount = _c.requiredCharAmount, timeLeft = _c.timeLeft, phone = _c.phone, clearCodeOnError = _c.clearCodeOnError, hideCountdownSection = _c.hideCountdownSection, onChangeState = _c.onChangeState, onInputFinished = _c.onInputFinished, onChangeScreen = _c.onChangeScreen, onSmsRetryClick = _c.onSmsRetryClick;
19
19
  var prevState = usePrevious(state);
20
20
  var inputRef = useRef(null);
21
21
  var _d = useState(false), codeSendHintVisible = _d[0], setCodeSendHintVisible = _d[1];
@@ -87,7 +87,7 @@ var Initial = function (_a) {
87
87
  "\u041A\u043E\u0434 \u043E\u0442\u043F\u0440\u0430\u0432\u043B\u0435\u043D \u043D\u0430 ",
88
88
  phone),
89
89
  React.createElement(CodeInput, { disabled: processing, error: getCodeInputError(), ref: inputRef, fields: requiredCharAmount, className: cn(styles.containerInput, styles.codeInput), onComplete: handleInputComplete, onChange: handleInputChange, clearCodeOnError: clearCodeOnError, onErrorAnimationEnd: handleErrorAnimationEnd }),
90
- React.createElement(CountdownSection, { processing: processing, timePassed: timePassed, codeSendHintVisible: codeSendHintVisible, handleSmsRetryClick: handleSmsRetryClick, mobile: mobile }),
90
+ !hideCountdownSection && (React.createElement(CountdownSection, { processing: processing, timePassed: timePassed, codeSendHintVisible: codeSendHintVisible, handleSmsRetryClick: handleSmsRetryClick, mobile: mobile })),
91
91
  mobile ? (React.createElement(Button, { onClick: handleSmsHintLinkClick, view: 'link', size: 'xs' }, texts.linkToHint)) : (React.createElement(Link, { onClick: handleSmsHintLinkClick, className: styles.smsComeLink, view: mobile ? 'primary' : 'secondary', pseudo: true }, texts.linkToHint))));
92
92
  };
93
93
 
@@ -5,4 +5,4 @@ import '@alfalab/core-components-loader/esm';
5
5
  import '@alfalab/core-components-typography/esm';
6
6
  import '../../../context.js';
7
7
  import '../../../utils.js';
8
- export { C as CountdownSection } from '../../../countdown-section-b2e6a96e.js';
8
+ export { C as CountdownSection } from '../../../countdown-section-11874006.js';
@@ -1,9 +1,9 @@
1
- /* hash: 1501g */
1
+ /* hash: bga6g */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
- --color-light-text-primary: #0b1f35;
5
- --color-light-text-secondary: rgba(11, 31, 53, 0.7);
6
- } :root {
4
+ --color-light-text-primary: #0e0e0e;
5
+ --color-light-text-secondary: rgba(60, 60, 67, 0.66); /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
6
+ } :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
7
7
  } :root {
8
8
  } :root {
9
9
 
@@ -38,51 +38,51 @@
38
38
  --confirmation-text-color: var(--color-light-text-primary)
39
39
 
40
40
  /* header */
41
- } .confirmation__component_ifjbp {
41
+ } .confirmation__component_ytjey {
42
42
  display: flex;
43
43
  flex-direction: column;
44
- } .confirmation__typographyTheme_ifjbp.confirmation__typographyTheme_ifjbp {
44
+ } .confirmation__typographyTheme_ytjey.confirmation__typographyTheme_ytjey {
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_ifjbp.confirmation__phone_ifjbp {
50
+ } .confirmation__phone_ytjey.confirmation__phone_ytjey {
51
51
  color: var(--color-light-text-primary);
52
52
  margin-bottom: var(--gap-2xl);
53
- } .confirmation__compact_ifjbp {
53
+ } .confirmation__compact_ytjey {
54
54
  margin-bottom: var(--gap-xl);
55
- } .confirmation__loaderWrap_ifjbp {
55
+ } .confirmation__loaderWrap_ytjey {
56
56
  display: flex;
57
57
  align-items: center;
58
- } .confirmation__left_ifjbp {
58
+ } .confirmation__left_ytjey {
59
59
  align-items: flex-start;
60
- } .confirmation__center_ifjbp {
60
+ } .confirmation__center_ytjey {
61
61
  align-items: center;
62
62
  text-align: center
63
- } .confirmation__center_ifjbp .confirmation__loaderWrap_ifjbp {
63
+ } .confirmation__center_ytjey .confirmation__loaderWrap_ytjey {
64
64
  justify-content: center;
65
- } .confirmation__center_ifjbp input {
65
+ } .confirmation__center_ytjey input {
66
66
  margin: 0 var(--gap-2xs);
67
- } .confirmation__codeInput_ifjbp {
67
+ } .confirmation__codeInput_ytjey {
68
68
  margin-bottom: var(--gap-s);
69
- } .confirmation__smsComeLink_ifjbp.confirmation__smsComeLink_ifjbp {
69
+ } .confirmation__smsComeLink_ytjey.confirmation__smsComeLink_ytjey {
70
70
  font-size: 14px;
71
71
  line-height: 20px;
72
72
  font-weight: 500;
73
- } .confirmation__countdownContainer_ifjbp.confirmation__countdownContainer_ifjbp {
73
+ } .confirmation__countdownContainer_ytjey.confirmation__countdownContainer_ytjey {
74
74
  color: var(--color-light-text-secondary);
75
75
  margin-bottom: var(--gap-xl);
76
- } .confirmation__countdownMobile_ifjbp.confirmation__countdownMobile_ifjbp {
76
+ } .confirmation__countdownMobile_ytjey.confirmation__countdownMobile_ytjey {
77
77
  margin-bottom: var(--gap-l);
78
- } .confirmation__countdownLoaderMobile_ifjbp.confirmation__countdownLoaderMobile_ifjbp {
78
+ } .confirmation__countdownLoaderMobile_ytjey.confirmation__countdownLoaderMobile_ytjey {
79
79
  margin-bottom: var(--gap-m);
80
- } .confirmation__getCodeButton_ifjbp {
80
+ } .confirmation__getCodeButton_ytjey {
81
81
  position: relative;
82
82
  top: var(--gap-2xs-neg);
83
83
  margin-bottom: var(--gap-m);
84
- } .confirmation__getCodeButtonMobile_ifjbp {
84
+ } .confirmation__getCodeButtonMobile_ytjey {
85
85
  margin-bottom: 0;
86
- } .confirmation__containerInput_ifjbp {
86
+ } .confirmation__containerInput_ytjey {
87
87
  min-height: 80px;
88
88
  }
@@ -9,5 +9,5 @@ import '@alfalab/hooks';
9
9
  import '../../../context.js';
10
10
  import '../../../utils.js';
11
11
  import '../../header/component.js';
12
- import '../../../countdown-section-b2e6a96e.js';
12
+ import '../../../countdown-section-11874006.js';
13
13
  import '@alfalab/core-components-loader/esm';
@@ -6,7 +6,7 @@ import { useCountdown, formatMsAsMinutes } from '../../../utils.js';
6
6
  import { CountdownLoader } from '../../countdown-loader/component.js';
7
7
  import { Header } from '../../header/component.js';
8
8
 
9
- var styles = {"component":"confirmation__component_rw03s","center":"confirmation__center_rw03s","typographyTheme":"confirmation__typographyTheme_rw03s","description":"confirmation__description_rw03s","countdownWrap":"confirmation__countdownWrap_rw03s","loader":"confirmation__loader_rw03s"};
9
+ var styles = {"component":"confirmation__component_bi00i","center":"confirmation__center_bi00i","typographyTheme":"confirmation__typographyTheme_bi00i","description":"confirmation__description_bi00i","countdownWrap":"confirmation__countdownWrap_bi00i","loader":"confirmation__loader_bi00i"};
10
10
  require('./index.css')
11
11
 
12
12
  var TempBlock = function (_a) {
@@ -1,8 +1,8 @@
1
- /* hash: zk7c2 */
1
+ /* hash: 1tt6l */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
- --color-light-text-primary: #0b1f35;
5
- } :root {
4
+ --color-light-text-primary: #0e0e0e; /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
5
+ } :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
6
6
  } :root {
7
7
  } :root {
8
8
 
@@ -31,23 +31,23 @@
31
31
  --confirmation-text-color: var(--color-light-text-primary)
32
32
 
33
33
  /* header */
34
- } .confirmation__component_rw03s {
34
+ } .confirmation__component_bi00i {
35
35
  display: flex;
36
36
  flex-direction: column;
37
- } .confirmation__center_rw03s {
37
+ } .confirmation__center_bi00i {
38
38
  align-items: center;
39
39
  text-align: center;
40
- } .confirmation__typographyTheme_rw03s.confirmation__typographyTheme_rw03s {
40
+ } .confirmation__typographyTheme_bi00i.confirmation__typographyTheme_bi00i {
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_rw03s.confirmation__description_rw03s {
46
+ } .confirmation__description_bi00i.confirmation__description_bi00i {
47
47
  margin-bottom: var(--gap-xs);
48
- } .confirmation__countdownWrap_rw03s {
48
+ } .confirmation__countdownWrap_bi00i {
49
49
  display: flex;
50
50
  align-items: center;
51
- } .confirmation__loader_rw03s {
51
+ } .confirmation__loader_bi00i {
52
52
  margin-right: var(--gap-xs);
53
53
  }
package/esm/context.js CHANGED
@@ -12,6 +12,7 @@ var ConfirmationContext = createContext({
12
12
  timeLeft: ONE_MINUTE,
13
13
  tempBlockDuration: ONE_DAY,
14
14
  phone: '',
15
+ hideCountdownSection: false,
15
16
  onTempBlockFinished: mockFn,
16
17
  onInputFinished: mockFn,
17
18
  onChangeState: mockFn,
@@ -6,7 +6,7 @@ import { Typography } from '@alfalab/core-components-typography/esm';
6
6
  import { ConfirmationContext } from './context.js';
7
7
  import { formatMsAsMinutes } from './utils.js';
8
8
 
9
- var styles = {"component":"confirmation__component_ifjbp","typographyTheme":"confirmation__typographyTheme_ifjbp","phone":"confirmation__phone_ifjbp","compact":"confirmation__compact_ifjbp","loaderWrap":"confirmation__loaderWrap_ifjbp","left":"confirmation__left_ifjbp","center":"confirmation__center_ifjbp","codeInput":"confirmation__codeInput_ifjbp","smsComeLink":"confirmation__smsComeLink_ifjbp","countdownContainer":"confirmation__countdownContainer_ifjbp","countdownMobile":"confirmation__countdownMobile_ifjbp","countdownLoaderMobile":"confirmation__countdownLoaderMobile_ifjbp","getCodeButton":"confirmation__getCodeButton_ifjbp","getCodeButtonMobile":"confirmation__getCodeButtonMobile_ifjbp","containerInput":"confirmation__containerInput_ifjbp"};
9
+ var styles = {"component":"confirmation__component_ytjey","typographyTheme":"confirmation__typographyTheme_ytjey","phone":"confirmation__phone_ytjey","compact":"confirmation__compact_ytjey","loaderWrap":"confirmation__loaderWrap_ytjey","left":"confirmation__left_ytjey","center":"confirmation__center_ytjey","codeInput":"confirmation__codeInput_ytjey","smsComeLink":"confirmation__smsComeLink_ytjey","countdownContainer":"confirmation__countdownContainer_ytjey","countdownMobile":"confirmation__countdownMobile_ytjey","countdownLoaderMobile":"confirmation__countdownLoaderMobile_ytjey","getCodeButton":"confirmation__getCodeButton_ytjey","getCodeButtonMobile":"confirmation__getCodeButtonMobile_ytjey","containerInput":"confirmation__containerInput_ytjey"};
10
10
  require('./components/screens/initial/index.css')
11
11
 
12
12
  var CountdownSection = function (_a) {
package/esm/desktop.js CHANGED
@@ -13,7 +13,7 @@ import '@alfalab/core-components-code-input/esm';
13
13
  import '@alfalab/core-components-link/esm';
14
14
  import '@alfalab/core-components-typography/esm';
15
15
  import './components/header/component.js';
16
- import './countdown-section-b2e6a96e.js';
16
+ import './countdown-section-11874006.js';
17
17
  import '@alfalab/core-components-loader/esm';
18
18
  import './components/screens/hint/component.js';
19
19
  import './components/screens/fatal-error/component.js';
package/esm/index.js CHANGED
@@ -13,11 +13,11 @@ import 'react';
13
13
  import './components/base-confirmation/component.js';
14
14
  import 'classnames';
15
15
  import '@alfalab/hooks';
16
+ import './component.mobile.js';
16
17
  import '@alfalab/core-components-button/esm';
17
18
  import '@alfalab/core-components-code-input/esm';
18
19
  import '@alfalab/core-components-link/esm';
19
20
  import '@alfalab/core-components-typography/esm';
20
21
  import './components/header/component.js';
21
- import './countdown-section-b2e6a96e.js';
22
+ import './countdown-section-11874006.js';
22
23
  import '@alfalab/core-components-loader/esm';
23
- import './component.mobile.js';
package/esm/mobile.css CHANGED
@@ -1,4 +1,4 @@
1
- /* hash: 7mflq */
2
- .confirmation__container_1m1oa {
1
+ /* hash: mh40t */
2
+ .confirmation__container_15no7 {
3
3
  max-width: 288px;
4
4
  }
package/esm/mobile.js CHANGED
@@ -13,7 +13,7 @@ import '@alfalab/core-components-code-input/esm';
13
13
  import '@alfalab/core-components-link/esm';
14
14
  import '@alfalab/core-components-typography/esm';
15
15
  import './components/header/component.js';
16
- import './countdown-section-b2e6a96e.js';
16
+ import './countdown-section-11874006.js';
17
17
  import '@alfalab/core-components-loader/esm';
18
18
  import './components/screens/hint/component.js';
19
19
  import './components/screens/fatal-error/component.js';
package/esm/responsive.js CHANGED
@@ -14,7 +14,7 @@ import '@alfalab/core-components-code-input/esm';
14
14
  import '@alfalab/core-components-link/esm';
15
15
  import '@alfalab/core-components-typography/esm';
16
16
  import './components/header/component.js';
17
- import './countdown-section-b2e6a96e.js';
17
+ import './countdown-section-11874006.js';
18
18
  import '@alfalab/core-components-loader/esm';
19
19
  import './components/screens/hint/component.js';
20
20
  import './components/screens/fatal-error/component.js';
package/esm/types.d.ts CHANGED
@@ -84,8 +84,13 @@ type ConfirmationProps = {
84
84
  * Дочерние элементы.
85
85
  */
86
86
  children?: ReactNode;
87
+ /**
88
+ * Скрыть секцию с повторной отправкой кода
89
+ * @default false
90
+ */
91
+ hideCountdownSection?: boolean;
87
92
  };
88
- type TConfirmationContext = Required<Pick<ConfirmationProps, 'alignContent' | 'texts' | 'state' | 'screen' | 'requiredCharAmount' | 'onInputFinished' | 'countdownDuration' | 'onChangeState' | 'onSmsRetryClick' | 'onChangeScreen' | 'onFatalErrorOkButtonClick' | 'tempBlockDuration'>> & Pick<ConfirmationProps, 'phone' | 'blockSmsRetry' | 'onTempBlockFinished' | 'clearCodeOnError'> & {
93
+ type TConfirmationContext = Required<Pick<ConfirmationProps, 'alignContent' | 'texts' | 'state' | 'screen' | 'requiredCharAmount' | 'onInputFinished' | 'countdownDuration' | 'onChangeState' | 'onSmsRetryClick' | 'onChangeScreen' | 'onFatalErrorOkButtonClick' | 'tempBlockDuration' | 'hideCountdownSection'>> & Pick<ConfirmationProps, 'phone' | 'blockSmsRetry' | 'onTempBlockFinished' | 'clearCodeOnError'> & {
89
94
  timeLeft: number;
90
95
  };
91
96
  type ConfirmationTexts = {
package/index.js CHANGED
@@ -1,5 +1,7 @@
1
1
  'use strict';
2
2
 
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
3
5
  var component_desktop = require('./component.desktop.js');
4
6
  var component_responsive = require('./component.responsive.js');
5
7
  var components_screens_initial_component = require('./components/screens/initial/component.js');
@@ -15,14 +17,14 @@ require('react');
15
17
  require('./components/base-confirmation/component.js');
16
18
  require('classnames');
17
19
  require('@alfalab/hooks');
20
+ require('./component.mobile.js');
18
21
  require('@alfalab/core-components-button');
19
22
  require('@alfalab/core-components-code-input');
20
23
  require('@alfalab/core-components-link');
21
24
  require('@alfalab/core-components-typography');
22
25
  require('./components/header/component.js');
23
- require('./countdown-section-5babd6c6.js');
26
+ require('./countdown-section-eeb2aaea.js');
24
27
  require('@alfalab/core-components-loader');
25
- require('./component.mobile.js');
26
28
 
27
29
 
28
30
 
package/mobile.css CHANGED
@@ -1,4 +1,4 @@
1
- /* hash: 7mflq */
2
- .confirmation__container_1m1oa {
1
+ /* hash: mh40t */
2
+ .confirmation__container_15no7 {
3
3
  max-width: 288px;
4
4
  }