@alfalab/core-components-confirmation 13.3.2 → 13.3.4

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 (125) hide show
  1. package/component.responsive.js +0 -20
  2. package/components/base-confirmation/component.js +1 -11
  3. package/components/base-confirmation/index.css +2 -2
  4. package/components/base-confirmation/index.js +0 -21
  5. package/components/countdown-loader/component.js +1 -1
  6. package/components/countdown-loader/index.css +2 -2
  7. package/components/countdown-loader/index.js +0 -1
  8. package/components/header/component.js +1 -1
  9. package/components/header/index.css +4 -4
  10. package/components/header/index.js +0 -3
  11. package/components/index.js +0 -14
  12. package/components/screens/fatal-error/component.js +1 -2
  13. package/components/screens/fatal-error/index.css +6 -6
  14. package/components/screens/fatal-error/index.js +0 -7
  15. package/components/screens/hint/component.js +1 -2
  16. package/components/screens/hint/index.css +12 -12
  17. package/components/screens/hint/index.js +0 -8
  18. package/components/screens/index.js +0 -15
  19. package/components/screens/initial/component.js +3 -6
  20. package/components/screens/initial/countdown-section.js +1 -1
  21. package/components/screens/initial/index.css +17 -17
  22. package/components/screens/initial/index.js +0 -14
  23. package/components/screens/temp-block/component.js +1 -1
  24. package/components/screens/temp-block/index.css +7 -7
  25. package/components/screens/temp-block/index.js +0 -7
  26. package/{countdown-section-bfcf66d3.js → countdown-section-2c4aa56c.js} +1 -1
  27. package/cssm/component.responsive.js +0 -28
  28. package/cssm/components/base-confirmation/component.js +0 -16
  29. package/cssm/components/base-confirmation/index.js +0 -28
  30. package/cssm/components/countdown-loader/index.js +0 -2
  31. package/cssm/components/header/index.js +0 -4
  32. package/cssm/components/index.js +0 -20
  33. package/cssm/components/screens/fatal-error/component.js +0 -2
  34. package/cssm/components/screens/fatal-error/index.js +0 -9
  35. package/cssm/components/screens/hint/component.js +0 -2
  36. package/cssm/components/screens/hint/index.js +0 -10
  37. package/cssm/components/screens/index.js +0 -21
  38. package/cssm/components/screens/initial/component.js +2 -6
  39. package/cssm/components/screens/initial/index.js +0 -16
  40. package/cssm/components/screens/temp-block/component.js +0 -2
  41. package/cssm/components/screens/temp-block/index.js +0 -10
  42. package/cssm/desktop/component.desktop.js +0 -26
  43. package/cssm/desktop/index.js +0 -28
  44. package/cssm/index.js +0 -32
  45. package/cssm/mobile/component.mobile.js +0 -25
  46. package/cssm/mobile/index.js +0 -29
  47. package/cssm/shared/index.js +0 -18
  48. package/desktop/component.desktop.js +0 -19
  49. package/desktop/index.js +0 -21
  50. package/esm/component.responsive.js +0 -20
  51. package/esm/components/base-confirmation/component.js +1 -11
  52. package/esm/components/base-confirmation/index.css +2 -2
  53. package/esm/components/base-confirmation/index.js +0 -21
  54. package/esm/components/countdown-loader/component.js +1 -1
  55. package/esm/components/countdown-loader/index.css +2 -2
  56. package/esm/components/countdown-loader/index.js +0 -1
  57. package/esm/components/header/component.js +1 -1
  58. package/esm/components/header/index.css +4 -4
  59. package/esm/components/header/index.js +0 -3
  60. package/esm/components/index.js +0 -14
  61. package/esm/components/screens/fatal-error/component.js +1 -2
  62. package/esm/components/screens/fatal-error/index.css +6 -6
  63. package/esm/components/screens/fatal-error/index.js +0 -7
  64. package/esm/components/screens/hint/component.js +1 -2
  65. package/esm/components/screens/hint/index.css +12 -12
  66. package/esm/components/screens/hint/index.js +0 -8
  67. package/esm/components/screens/index.js +0 -15
  68. package/esm/components/screens/initial/component.js +3 -6
  69. package/esm/components/screens/initial/countdown-section.js +1 -1
  70. package/esm/components/screens/initial/index.css +17 -17
  71. package/esm/components/screens/initial/index.js +0 -14
  72. package/esm/components/screens/temp-block/component.js +1 -1
  73. package/esm/components/screens/temp-block/index.css +7 -7
  74. package/esm/components/screens/temp-block/index.js +0 -7
  75. package/esm/{countdown-section-6a4bb252.js → countdown-section-b6b1777c.js} +1 -1
  76. package/esm/desktop/component.desktop.js +0 -19
  77. package/esm/desktop/index.js +0 -21
  78. package/esm/index.js +0 -24
  79. package/esm/mobile/component.mobile.js +1 -19
  80. package/esm/mobile/index.js +0 -21
  81. package/esm/mobile/mobile.css +2 -2
  82. package/esm/shared/index.js +0 -12
  83. package/index.js +0 -24
  84. package/mobile/component.mobile.js +1 -19
  85. package/mobile/index.js +0 -21
  86. package/mobile/mobile.css +2 -2
  87. package/modern/component.responsive.js +0 -20
  88. package/modern/components/base-confirmation/component.js +1 -11
  89. package/modern/components/base-confirmation/index.css +2 -2
  90. package/modern/components/base-confirmation/index.js +0 -20
  91. package/modern/components/countdown-loader/component.js +1 -1
  92. package/modern/components/countdown-loader/index.css +2 -2
  93. package/modern/components/countdown-loader/index.js +0 -1
  94. package/modern/components/header/component.js +1 -1
  95. package/modern/components/header/index.css +4 -4
  96. package/modern/components/header/index.js +0 -3
  97. package/modern/components/index.js +0 -14
  98. package/modern/components/screens/fatal-error/component.js +1 -2
  99. package/modern/components/screens/fatal-error/index.css +6 -6
  100. package/modern/components/screens/fatal-error/index.js +0 -7
  101. package/modern/components/screens/hint/component.js +1 -2
  102. package/modern/components/screens/hint/index.css +12 -12
  103. package/modern/components/screens/hint/index.js +0 -8
  104. package/modern/components/screens/index.js +0 -15
  105. package/modern/components/screens/initial/component.js +3 -6
  106. package/modern/components/screens/initial/countdown-section.js +1 -1
  107. package/modern/components/screens/initial/index.css +17 -17
  108. package/modern/components/screens/initial/index.js +0 -14
  109. package/modern/components/screens/temp-block/component.js +1 -1
  110. package/modern/components/screens/temp-block/index.css +7 -7
  111. package/modern/components/screens/temp-block/index.js +0 -7
  112. package/modern/{countdown-section-7331d9e5.js → countdown-section-dbc9c917.js} +1 -1
  113. package/modern/desktop/component.desktop.js +0 -19
  114. package/modern/desktop/index.js +0 -20
  115. package/modern/index.js +0 -23
  116. package/modern/mobile/component.mobile.js +1 -19
  117. package/modern/mobile/index.js +0 -20
  118. package/modern/mobile/mobile.css +2 -2
  119. package/modern/shared/index.js +0 -12
  120. package/package.json +3 -3
  121. package/shared/index.js +0 -12
  122. package/src/components/screens/initial/component.tsx +9 -7
  123. /package/{countdown-section-bfcf66d3.d.ts → countdown-section-2c4aa56c.d.ts} +0 -0
  124. /package/esm/{countdown-section-6a4bb252.d.ts → countdown-section-b6b1777c.d.ts} +0 -0
  125. /package/modern/{countdown-section-7331d9e5.d.ts → countdown-section-dbc9c917.d.ts} +0 -0
@@ -1,22 +1 @@
1
1
  export { BaseConfirmation } from './component.js';
2
- import 'tslib';
3
- import 'react';
4
- import 'classnames';
5
- import '@alfalab/hooks';
6
- import '../../context.js';
7
- import '../../utils.js';
8
- import '../../types.js';
9
- import '../screens/initial/component.js';
10
- import '@alfalab/core-components-button/esm/mobile';
11
- import '@alfalab/core-components-code-input/esm/desktop';
12
- import '@alfalab/core-components-code-input/esm/mobile';
13
- import '@alfalab/core-components-link/esm';
14
- import '@alfalab/core-components-typography/esm';
15
- import '../header/component.js';
16
- import '../../countdown-section-6a4bb252.js';
17
- import '@alfalab/core-components-button/esm';
18
- import '@alfalab/core-components-spinner/esm';
19
- import '../screens/hint/component.js';
20
- import '../screens/fatal-error/component.js';
21
- import '../screens/temp-block/component.js';
22
- import '../countdown-loader/component.js';
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
 
3
- var styles = {"circle":"confirmation__circle_oab3q"};
3
+ var styles = {"circle":"confirmation__circle_1xb0j"};
4
4
  require('./index.css')
5
5
 
6
6
  var SIZE = 16;
@@ -1,4 +1,4 @@
1
- /* hash: 1tspp */
1
+ /* hash: 3zsdo */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-neutral-500: #babbc2; /* 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 */
@@ -15,7 +15,7 @@
15
15
  } :root {
16
16
  } :root {
17
17
  } :root {
18
- } .confirmation__circle_oab3q {
18
+ } .confirmation__circle_1xb0j {
19
19
  fill: transparent;
20
20
  stroke: var(--color-light-neutral-500);
21
21
  stroke-width: 2px;
@@ -1,2 +1 @@
1
1
  export { CountdownLoader } from './component.js';
2
- import 'react';
@@ -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_1rpib","typography":"confirmation__typography_1rpib","typographyMobile":"confirmation__typographyMobile_1rpib"};
5
+ var styles = {"header":"confirmation__header_yfzf5","typography":"confirmation__typography_yfzf5","typographyMobile":"confirmation__typographyMobile_yfzf5"};
6
6
  require('./index.css')
7
7
 
8
8
  var Header = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: 1he7s */
1
+ /* hash: 18rmi */
2
2
  :root {
3
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
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 */
@@ -34,15 +34,15 @@
34
34
 
35
35
  /* header */
36
36
  --confirmation-header-font-feature-settings: normal
37
- } .confirmation__header_1rpib.confirmation__header_1rpib {
37
+ } .confirmation__header_yfzf5.confirmation__header_yfzf5 {
38
38
  margin-bottom: var(--gap-xl);
39
- } .confirmation__typography_1rpib.confirmation__typography_1rpib.confirmation__typography_1rpib {
39
+ } .confirmation__typography_yfzf5.confirmation__typography_yfzf5.confirmation__typography_yfzf5 {
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_1rpib.confirmation__typographyMobile_1rpib.confirmation__typographyMobile_1rpib {
45
+ } .confirmation__typographyMobile_yfzf5.confirmation__typographyMobile_yfzf5.confirmation__typographyMobile_yfzf5 {
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);
@@ -1,4 +1 @@
1
1
  export { Header } from './component.js';
2
- import 'react';
3
- import 'classnames';
4
- import '@alfalab/core-components-typography/esm';
@@ -3,17 +3,3 @@ export { Hint } from './screens/hint/component.js';
3
3
  export { FatalError } from './screens/fatal-error/component.js';
4
4
  export { TempBlock } from './screens/temp-block/component.js';
5
5
  export { CountdownLoader } from './countdown-loader/component.js';
6
- import 'react';
7
- import 'classnames';
8
- import '@alfalab/core-components-button/esm/mobile';
9
- import '@alfalab/core-components-code-input/esm/desktop';
10
- import '@alfalab/core-components-code-input/esm/mobile';
11
- import '@alfalab/core-components-link/esm';
12
- import '@alfalab/core-components-typography/esm';
13
- import '@alfalab/hooks';
14
- import '../context.js';
15
- import '../utils.js';
16
- import './header/component.js';
17
- import '../countdown-section-6a4bb252.js';
18
- import '@alfalab/core-components-button/esm';
19
- import '@alfalab/core-components-spinner/esm';
@@ -4,9 +4,8 @@ import { Button } from '@alfalab/core-components-button/esm';
4
4
  import { Typography } from '@alfalab/core-components-typography/esm';
5
5
  import { ConfirmationContext } from '../../../context.js';
6
6
  import { Header } from '../../header/component.js';
7
- import '../../../utils.js';
8
7
 
9
- var styles = {"component":"confirmation__component_5j8om","typographyTheme":"confirmation__typographyTheme_5j8om","left":"confirmation__left_5j8om","center":"confirmation__center_5j8om","button":"confirmation__button_5j8om"};
8
+ var styles = {"component":"confirmation__component_1batu","typographyTheme":"confirmation__typographyTheme_1batu","left":"confirmation__left_1batu","center":"confirmation__center_1batu","button":"confirmation__button_1batu"};
10
9
  require('./index.css')
11
10
 
12
11
  var FatalError = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: oy3uy */
1
+ /* hash: gbilv */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
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 */
@@ -31,20 +31,20 @@
31
31
  --confirmation-text-color: var(--color-light-text-primary)
32
32
 
33
33
  /* header */
34
- } .confirmation__component_5j8om {
34
+ } .confirmation__component_1batu {
35
35
  display: flex;
36
36
  flex-direction: column;
37
- } .confirmation__typographyTheme_5j8om.confirmation__typographyTheme_5j8om {
37
+ } .confirmation__typographyTheme_1batu.confirmation__typographyTheme_1batu {
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_5j8om {
43
+ } .confirmation__left_1batu {
44
44
  align-items: flex-start;
45
- } .confirmation__center_5j8om {
45
+ } .confirmation__center_1batu {
46
46
  align-items: center;
47
47
  text-align: center;
48
- } .confirmation__button_5j8om {
48
+ } .confirmation__button_1batu {
49
49
  margin-top: var(--gap-2xl);
50
50
  }
@@ -1,8 +1 @@
1
1
  export { FatalError } from './component.js';
2
- import 'react';
3
- import 'classnames';
4
- import '@alfalab/core-components-button/esm';
5
- import '@alfalab/core-components-typography/esm';
6
- import '../../../context.js';
7
- import '../../../utils.js';
8
- import '../../header/component.js';
@@ -5,9 +5,8 @@ import { Link } from '@alfalab/core-components-link/esm';
5
5
  import { Typography } from '@alfalab/core-components-typography/esm';
6
6
  import { ConfirmationContext } from '../../../context.js';
7
7
  import { Header } from '../../header/component.js';
8
- import '../../../utils.js';
9
8
 
10
- var styles = {"component":"confirmation__component_fsfs7","center":"confirmation__center_fsfs7","text":"confirmation__text_fsfs7","typographyTheme":"confirmation__typographyTheme_fsfs7","phonesWrap":"confirmation__phonesWrap_fsfs7","phoneWrap":"confirmation__phoneWrap_fsfs7","phoneLink":"confirmation__phoneLink_fsfs7","hintButton":"confirmation__hintButton_fsfs7","phoneContentMobile":"confirmation__phoneContentMobile_fsfs7"};
9
+ var styles = {"component":"confirmation__component_1m5mf","center":"confirmation__center_1m5mf","text":"confirmation__text_1m5mf","typographyTheme":"confirmation__typographyTheme_1m5mf","phonesWrap":"confirmation__phonesWrap_1m5mf","phoneWrap":"confirmation__phoneWrap_1m5mf","phoneLink":"confirmation__phoneLink_1m5mf","hintButton":"confirmation__hintButton_1m5mf","phoneContentMobile":"confirmation__phoneContentMobile_1m5mf"};
11
10
  require('./index.css')
12
11
 
13
12
  var Hint = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: n31fe */
1
+ /* hash: 1bafa */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
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 */
@@ -33,38 +33,38 @@
33
33
  --confirmation-text-color: var(--color-light-text-primary)
34
34
 
35
35
  /* header */
36
- } .confirmation__component_fsfs7 {
36
+ } .confirmation__component_1m5mf {
37
37
  display: flex;
38
38
  flex-direction: column;
39
39
  align-items: flex-start
40
- } .confirmation__component_fsfs7 span:last-of-type {
40
+ } .confirmation__component_1m5mf span:last-of-type {
41
41
  margin-bottom: 0;
42
- } .confirmation__center_fsfs7 {
42
+ } .confirmation__center_1m5mf {
43
43
  align-items: center;
44
44
  text-align: center;
45
- } .confirmation__text_fsfs7.confirmation__text_fsfs7 {
45
+ } .confirmation__text_1m5mf.confirmation__text_1m5mf {
46
46
  margin-bottom: var(--gap-xl);
47
- } .confirmation__typographyTheme_fsfs7.confirmation__typographyTheme_fsfs7 {
47
+ } .confirmation__typographyTheme_1m5mf.confirmation__typographyTheme_1m5mf {
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_fsfs7 {
53
+ } .confirmation__phonesWrap_1m5mf {
54
54
  display: flex;
55
55
  flex-direction: column;
56
56
  margin-bottom: var(--gap-xl);
57
- } .confirmation__phoneWrap_fsfs7 {
57
+ } .confirmation__phoneWrap_1m5mf {
58
58
  margin-bottom: var(--gap-xs)
59
- } .confirmation__phoneWrap_fsfs7:last-child {
59
+ } .confirmation__phoneWrap_1m5mf:last-child {
60
60
  margin-bottom: 0;
61
- } .confirmation__phoneLink_fsfs7.confirmation__phoneLink_fsfs7 {
61
+ } .confirmation__phoneLink_1m5mf.confirmation__phoneLink_1m5mf {
62
62
  font-size: 16px;
63
63
  line-height: 24px;
64
64
  font-weight: 500;
65
- } .confirmation__hintButton_fsfs7 {
65
+ } .confirmation__hintButton_1m5mf {
66
66
  margin-top: var(--gap-2xl);
67
- } .confirmation__phoneContentMobile_fsfs7 {
67
+ } .confirmation__phoneContentMobile_1m5mf {
68
68
  display: flex;
69
69
  flex-direction: column;
70
70
  align-items: center;
@@ -1,9 +1 @@
1
1
  export { Hint } from './component.js';
2
- import 'react';
3
- import 'classnames';
4
- import '@alfalab/core-components-button/esm';
5
- import '@alfalab/core-components-link/esm';
6
- import '@alfalab/core-components-typography/esm';
7
- import '../../../context.js';
8
- import '../../../utils.js';
9
- import '../../header/component.js';
@@ -2,18 +2,3 @@ export { Initial } from './initial/component.js';
2
2
  export { Hint } from './hint/component.js';
3
3
  export { FatalError } from './fatal-error/component.js';
4
4
  export { TempBlock } from './temp-block/component.js';
5
- import 'react';
6
- import 'classnames';
7
- import '@alfalab/core-components-button/esm/mobile';
8
- import '@alfalab/core-components-code-input/esm/desktop';
9
- import '@alfalab/core-components-code-input/esm/mobile';
10
- import '@alfalab/core-components-link/esm';
11
- import '@alfalab/core-components-typography/esm';
12
- import '@alfalab/hooks';
13
- import '../../context.js';
14
- import '../../utils.js';
15
- import '../header/component.js';
16
- import '../../countdown-section-6a4bb252.js';
17
- import '@alfalab/core-components-button/esm';
18
- import '@alfalab/core-components-spinner/esm';
19
- import '../countdown-loader/component.js';
@@ -8,10 +8,7 @@ import { Typography } from '@alfalab/core-components-typography/esm';
8
8
  import { usePrevious, useLayoutEffect_SAFE_FOR_SSR } from '@alfalab/hooks';
9
9
  import { ConfirmationContext } from '../../../context.js';
10
10
  import { Header } from '../../header/component.js';
11
- import { s as styles, C as CountdownSection } from '../../../countdown-section-6a4bb252.js';
12
- import '../../../utils.js';
13
- import '@alfalab/core-components-button/esm';
14
- import '@alfalab/core-components-spinner/esm';
11
+ import { s as styles, C as CountdownSection } from '../../../countdown-section-b6b1777c.js';
15
12
 
16
13
  var CODE_SEND_HINT_VISIBLE_DURATION = 2000;
17
14
  var Initial = function (_a) {
@@ -95,9 +92,9 @@ var Initial = function (_a) {
95
92
  var ComponentCodeInput = mobile ? CodeInputMobile : CodeInputDesktop;
96
93
  return (React.createElement("div", { className: cn(styles.component, styles[alignContent]) },
97
94
  React.createElement(Header, { mobile: mobile }, texts.title),
98
- React.createElement(Typography.Text, { view: 'primary-medium', color: 'primary', className: cn(styles.phone, (_b = {}, _b[styles.typographyTheme] = !mobile, _b)) },
95
+ phone ? (React.createElement(Typography.Text, { view: 'primary-medium', color: 'primary', className: cn(styles.phone, (_b = {}, _b[styles.typographyTheme] = !mobile, _b)) },
99
96
  "\u041A\u043E\u0434 \u043E\u0442\u043F\u0440\u0430\u0432\u043B\u0435\u043D \u043D\u0430 ",
100
- phone),
97
+ phone)) : null,
101
98
  React.createElement(ComponentCodeInput, { disabled: processing, error: getCodeInputError(), ref: inputRef, fields: requiredCharAmount, className: cn(styles.containerInput, styles.codeInput), onComplete: handleInputComplete, onChange: handleInputChange, clearCodeOnError: clearCodeOnError, onErrorAnimationEnd: handleErrorAnimationEnd }),
102
99
  !hideCountdownSection && (React.createElement(CountdownSection, { processing: processing, timePassed: timePassed, codeSendHintVisible: codeSendHintVisible, handleSmsRetryClick: handleSmsRetryClick, mobile: mobile })),
103
100
  renderHintButton()));
@@ -5,4 +5,4 @@ import '@alfalab/core-components-spinner/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-6a4bb252.js';
8
+ export { C as CountdownSection } from '../../../countdown-section-b6b1777c.js';
@@ -1,4 +1,4 @@
1
- /* hash: 12m6b */
1
+ /* hash: dmt1d */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-text-primary: #0e0e0e;
@@ -37,49 +37,49 @@
37
37
  --confirmation-text-color: var(--color-light-text-primary)
38
38
 
39
39
  /* header */
40
- } .confirmation__component_er3sy {
40
+ } .confirmation__component_15d3w {
41
41
  display: flex;
42
42
  flex-direction: column;
43
- } .confirmation__typographyTheme_er3sy.confirmation__typographyTheme_er3sy {
43
+ } .confirmation__typographyTheme_15d3w.confirmation__typographyTheme_15d3w {
44
44
  font-size: var(--confirmation-text-font-size);
45
45
  line-height: var(--confirmation-text-line-height);
46
46
  font-weight: var(--confirmation-text-font-weight);
47
47
  font-family: var(--confirmation-text-font-family);
48
48
  color: var(--confirmation-text-color);
49
- } .confirmation__phone_er3sy.confirmation__phone_er3sy {
49
+ } .confirmation__phone_15d3w.confirmation__phone_15d3w {
50
50
  color: var(--color-light-text-primary);
51
51
  margin-bottom: var(--gap-2xl);
52
- } .confirmation__compact_er3sy {
52
+ } .confirmation__compact_15d3w {
53
53
  margin-bottom: var(--gap-xl);
54
- } .confirmation__loaderWrap_er3sy {
54
+ } .confirmation__loaderWrap_15d3w {
55
55
  display: flex;
56
56
  align-items: center;
57
- } .confirmation__left_er3sy {
57
+ } .confirmation__left_15d3w {
58
58
  align-items: flex-start;
59
- } .confirmation__center_er3sy {
59
+ } .confirmation__center_15d3w {
60
60
  align-items: center;
61
61
  text-align: center
62
- } .confirmation__center_er3sy .confirmation__loaderWrap_er3sy {
62
+ } .confirmation__center_15d3w .confirmation__loaderWrap_15d3w {
63
63
  justify-content: center;
64
- } .confirmation__codeInput_er3sy {
64
+ } .confirmation__codeInput_15d3w {
65
65
  margin-bottom: var(--gap-s);
66
- } .confirmation__smsComeLink_er3sy.confirmation__smsComeLink_er3sy {
66
+ } .confirmation__smsComeLink_15d3w.confirmation__smsComeLink_15d3w {
67
67
  font-size: 14px;
68
68
  line-height: 20px;
69
69
  font-weight: 500;
70
- } .confirmation__countdownContainer_er3sy.confirmation__countdownContainer_er3sy {
70
+ } .confirmation__countdownContainer_15d3w.confirmation__countdownContainer_15d3w {
71
71
  color: var(--color-light-text-secondary);
72
72
  margin-bottom: var(--gap-xl);
73
- } .confirmation__countdownMobile_er3sy.confirmation__countdownMobile_er3sy {
73
+ } .confirmation__countdownMobile_15d3w.confirmation__countdownMobile_15d3w {
74
74
  margin-bottom: var(--gap-l);
75
- } .confirmation__countdownLoaderMobile_er3sy.confirmation__countdownLoaderMobile_er3sy {
75
+ } .confirmation__countdownLoaderMobile_15d3w.confirmation__countdownLoaderMobile_15d3w {
76
76
  margin-bottom: var(--gap-m);
77
- } .confirmation__getCodeButton_er3sy {
77
+ } .confirmation__getCodeButton_15d3w {
78
78
  position: relative;
79
79
  top: var(--gap-2xs-neg);
80
80
  margin-bottom: var(--gap-m);
81
- } .confirmation__getCodeButtonMobile_er3sy {
81
+ } .confirmation__getCodeButtonMobile_15d3w {
82
82
  margin-bottom: 0;
83
- } .confirmation__containerInput_er3sy {
83
+ } .confirmation__containerInput_15d3w {
84
84
  min-height: 80px;
85
85
  }
@@ -1,15 +1 @@
1
1
  export { Initial } from './component.js';
2
- import 'react';
3
- import 'classnames';
4
- import '@alfalab/core-components-button/esm/mobile';
5
- import '@alfalab/core-components-code-input/esm/desktop';
6
- import '@alfalab/core-components-code-input/esm/mobile';
7
- import '@alfalab/core-components-link/esm';
8
- import '@alfalab/core-components-typography/esm';
9
- import '@alfalab/hooks';
10
- import '../../../context.js';
11
- import '../../../utils.js';
12
- import '../../header/component.js';
13
- import '../../../countdown-section-6a4bb252.js';
14
- import '@alfalab/core-components-button/esm';
15
- import '@alfalab/core-components-spinner/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_gl1gu","center":"confirmation__center_gl1gu","typographyTheme":"confirmation__typographyTheme_gl1gu","description":"confirmation__description_gl1gu","countdownWrap":"confirmation__countdownWrap_gl1gu","loader":"confirmation__loader_gl1gu"};
9
+ var styles = {"component":"confirmation__component_1p05f","center":"confirmation__center_1p05f","typographyTheme":"confirmation__typographyTheme_1p05f","description":"confirmation__description_1p05f","countdownWrap":"confirmation__countdownWrap_1p05f","loader":"confirmation__loader_1p05f"};
10
10
  require('./index.css')
11
11
 
12
12
  var TempBlock = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: l66tg */
1
+ /* hash: 1a5k3 */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
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 */
@@ -31,23 +31,23 @@
31
31
  --confirmation-text-color: var(--color-light-text-primary)
32
32
 
33
33
  /* header */
34
- } .confirmation__component_gl1gu {
34
+ } .confirmation__component_1p05f {
35
35
  display: flex;
36
36
  flex-direction: column;
37
- } .confirmation__center_gl1gu {
37
+ } .confirmation__center_1p05f {
38
38
  align-items: center;
39
39
  text-align: center;
40
- } .confirmation__typographyTheme_gl1gu.confirmation__typographyTheme_gl1gu {
40
+ } .confirmation__typographyTheme_1p05f.confirmation__typographyTheme_1p05f {
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_gl1gu.confirmation__description_gl1gu {
46
+ } .confirmation__description_1p05f.confirmation__description_1p05f {
47
47
  margin-bottom: var(--gap-xs);
48
- } .confirmation__countdownWrap_gl1gu {
48
+ } .confirmation__countdownWrap_1p05f {
49
49
  display: flex;
50
50
  align-items: center;
51
- } .confirmation__loader_gl1gu {
51
+ } .confirmation__loader_1p05f {
52
52
  margin-right: var(--gap-xs);
53
53
  }
@@ -1,8 +1 @@
1
1
  export { TempBlock } from './component.js';
2
- import 'react';
3
- import 'classnames';
4
- import '@alfalab/core-components-typography/esm';
5
- import '../../../context.js';
6
- import '../../../utils.js';
7
- import '../../countdown-loader/component.js';
8
- import '../../header/component.js';
@@ -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_er3sy","typographyTheme":"confirmation__typographyTheme_er3sy","phone":"confirmation__phone_er3sy","compact":"confirmation__compact_er3sy","loaderWrap":"confirmation__loaderWrap_er3sy","left":"confirmation__left_er3sy","center":"confirmation__center_er3sy","codeInput":"confirmation__codeInput_er3sy","smsComeLink":"confirmation__smsComeLink_er3sy","countdownContainer":"confirmation__countdownContainer_er3sy","countdownMobile":"confirmation__countdownMobile_er3sy","countdownLoaderMobile":"confirmation__countdownLoaderMobile_er3sy","getCodeButton":"confirmation__getCodeButton_er3sy","getCodeButtonMobile":"confirmation__getCodeButtonMobile_er3sy","containerInput":"confirmation__containerInput_er3sy"};
9
+ var styles = {"component":"confirmation__component_15d3w","typographyTheme":"confirmation__typographyTheme_15d3w","phone":"confirmation__phone_15d3w","compact":"confirmation__compact_15d3w","loaderWrap":"confirmation__loaderWrap_15d3w","left":"confirmation__left_15d3w","center":"confirmation__center_15d3w","codeInput":"confirmation__codeInput_15d3w","smsComeLink":"confirmation__smsComeLink_15d3w","countdownContainer":"confirmation__countdownContainer_15d3w","countdownMobile":"confirmation__countdownMobile_15d3w","countdownLoaderMobile":"confirmation__countdownLoaderMobile_15d3w","getCodeButton":"confirmation__getCodeButton_15d3w","getCodeButtonMobile":"confirmation__getCodeButtonMobile_15d3w","containerInput":"confirmation__containerInput_15d3w"};
10
10
  require('./components/screens/initial/index.css')
11
11
 
12
12
  var CountdownSection = function (_a) {
@@ -1,25 +1,6 @@
1
1
  import { __assign } from 'tslib';
2
2
  import React from 'react';
3
3
  import { BaseConfirmation } from '../components/base-confirmation/component.js';
4
- import 'classnames';
5
- import '@alfalab/hooks';
6
- import '../context.js';
7
- import '../utils.js';
8
- import '../types.js';
9
- import '../components/screens/initial/component.js';
10
- import '@alfalab/core-components-button/esm/mobile';
11
- import '@alfalab/core-components-code-input/esm/desktop';
12
- import '@alfalab/core-components-code-input/esm/mobile';
13
- import '@alfalab/core-components-link/esm';
14
- import '@alfalab/core-components-typography/esm';
15
- import '../components/header/component.js';
16
- import '../countdown-section-6a4bb252.js';
17
- import '@alfalab/core-components-button/esm';
18
- import '@alfalab/core-components-spinner/esm';
19
- import '../components/screens/hint/component.js';
20
- import '../components/screens/fatal-error/component.js';
21
- import '../components/screens/temp-block/component.js';
22
- import '../components/countdown-loader/component.js';
23
4
 
24
5
  var ConfirmationDesktop = function (props) { return (React.createElement(BaseConfirmation, __assign({}, props))); };
25
6
 
@@ -1,23 +1,2 @@
1
1
  export { ConfirmationDesktop } from './component.desktop.js';
2
2
  export { useConfirmation, useCountdown } from '../utils.js';
3
- import 'tslib';
4
- import 'react';
5
- import '../components/base-confirmation/component.js';
6
- import 'classnames';
7
- import '@alfalab/hooks';
8
- import '../context.js';
9
- import '../types.js';
10
- import '../components/screens/initial/component.js';
11
- import '@alfalab/core-components-button/esm/mobile';
12
- import '@alfalab/core-components-code-input/esm/desktop';
13
- import '@alfalab/core-components-code-input/esm/mobile';
14
- import '@alfalab/core-components-link/esm';
15
- import '@alfalab/core-components-typography/esm';
16
- import '../components/header/component.js';
17
- import '../countdown-section-6a4bb252.js';
18
- import '@alfalab/core-components-button/esm';
19
- import '@alfalab/core-components-spinner/esm';
20
- import '../components/screens/hint/component.js';
21
- import '../components/screens/fatal-error/component.js';
22
- import '../components/screens/temp-block/component.js';
23
- import '../components/countdown-loader/component.js';
package/esm/index.js CHANGED
@@ -1,26 +1,2 @@
1
1
  export { ConfirmationResponsive as Confirmation } from './component.responsive.js';
2
2
  export { useConfirmation, useCountdown } from './utils.js';
3
- import 'tslib';
4
- import 'react';
5
- import '@alfalab/core-components-mq/esm';
6
- import './desktop/component.desktop.js';
7
- import './components/base-confirmation/component.js';
8
- import 'classnames';
9
- import '@alfalab/hooks';
10
- import './context.js';
11
- import './types.js';
12
- import './components/screens/initial/component.js';
13
- import '@alfalab/core-components-button/esm/mobile';
14
- import '@alfalab/core-components-code-input/esm/desktop';
15
- import '@alfalab/core-components-code-input/esm/mobile';
16
- import '@alfalab/core-components-link/esm';
17
- import '@alfalab/core-components-typography/esm';
18
- import './components/header/component.js';
19
- import './countdown-section-6a4bb252.js';
20
- import '@alfalab/core-components-button/esm';
21
- import '@alfalab/core-components-spinner/esm';
22
- import './components/screens/hint/component.js';
23
- import './components/screens/fatal-error/component.js';
24
- import './components/screens/temp-block/component.js';
25
- import './components/countdown-loader/component.js';
26
- import './mobile/component.mobile.js';
@@ -2,26 +2,8 @@ import { __rest, __assign } from 'tslib';
2
2
  import React from 'react';
3
3
  import cn from 'classnames';
4
4
  import { BaseConfirmation } from '../components/base-confirmation/component.js';
5
- import '@alfalab/hooks';
6
- import '../context.js';
7
- import '../utils.js';
8
- import '../types.js';
9
- import '../components/screens/initial/component.js';
10
- import '@alfalab/core-components-button/esm/mobile';
11
- import '@alfalab/core-components-code-input/esm/desktop';
12
- import '@alfalab/core-components-code-input/esm/mobile';
13
- import '@alfalab/core-components-link/esm';
14
- import '@alfalab/core-components-typography/esm';
15
- import '../components/header/component.js';
16
- import '../countdown-section-6a4bb252.js';
17
- import '@alfalab/core-components-button/esm';
18
- import '@alfalab/core-components-spinner/esm';
19
- import '../components/screens/hint/component.js';
20
- import '../components/screens/fatal-error/component.js';
21
- import '../components/screens/temp-block/component.js';
22
- import '../components/countdown-loader/component.js';
23
5
 
24
- var styles = {"container":"confirmation__container_10kd0"};
6
+ var styles = {"container":"confirmation__container_1ttvw"};
25
7
  require('./mobile.css')
26
8
 
27
9
  var ConfirmationMobile = function (_a) {
@@ -1,23 +1,2 @@
1
1
  export { ConfirmationMobile } from './component.mobile.js';
2
2
  export { useConfirmation, useCountdown } from '../utils.js';
3
- import 'tslib';
4
- import 'react';
5
- import 'classnames';
6
- import '../components/base-confirmation/component.js';
7
- import '@alfalab/hooks';
8
- import '../context.js';
9
- import '../types.js';
10
- import '../components/screens/initial/component.js';
11
- import '@alfalab/core-components-button/esm/mobile';
12
- import '@alfalab/core-components-code-input/esm/desktop';
13
- import '@alfalab/core-components-code-input/esm/mobile';
14
- import '@alfalab/core-components-link/esm';
15
- import '@alfalab/core-components-typography/esm';
16
- import '../components/header/component.js';
17
- import '../countdown-section-6a4bb252.js';
18
- import '@alfalab/core-components-button/esm';
19
- import '@alfalab/core-components-spinner/esm';
20
- import '../components/screens/hint/component.js';
21
- import '../components/screens/fatal-error/component.js';
22
- import '../components/screens/temp-block/component.js';
23
- import '../components/countdown-loader/component.js';
@@ -1,4 +1,4 @@
1
- /* hash: 1dham */
2
- .confirmation__container_10kd0 {
1
+ /* hash: 1m3vv */
2
+ .confirmation__container_1ttvw {
3
3
  max-width: 288px;
4
4
  }