@alfalab/core-components-confirmation 10.2.0 → 10.3.2

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 (180) hide show
  1. package/CHANGELOG.md +31 -0
  2. package/{dist/component.d.ts → component.d.ts} +0 -0
  3. package/{dist/component.js → component.js} +2 -2
  4. package/{dist/components → components}/countdown-loader/component.d.ts +0 -0
  5. package/{dist/components → components}/countdown-loader/component.js +1 -1
  6. package/{dist/components → components}/countdown-loader/index.css +2 -2
  7. package/{dist/components → components}/countdown-loader/index.d.ts +0 -0
  8. package/{dist/components → components}/countdown-loader/index.js +0 -0
  9. package/{dist/components → components}/index.d.ts +0 -0
  10. package/{dist/components → components}/index.js +1 -1
  11. package/{dist/components → components}/screens/fatal-error/component.d.ts +0 -0
  12. package/{dist/components → components}/screens/fatal-error/component.js +1 -1
  13. package/{dist/components → components}/screens/fatal-error/index.css +3 -3
  14. package/{dist/components → components}/screens/fatal-error/index.d.ts +0 -0
  15. package/{dist/components → components}/screens/fatal-error/index.js +0 -0
  16. package/{dist/components → components}/screens/hint/component.d.ts +0 -0
  17. package/{dist/components → components}/screens/hint/component.js +1 -1
  18. package/{dist/esm/components → components}/screens/hint/index.css +13 -13
  19. package/{dist/components → components}/screens/hint/index.d.ts +0 -0
  20. package/{dist/components → components}/screens/hint/index.js +0 -0
  21. package/{dist/components → components}/screens/index.d.ts +0 -0
  22. package/{dist/components → components}/screens/index.js +1 -1
  23. package/{dist/components → components}/screens/initial/component.d.ts +0 -0
  24. package/{dist/components → components}/screens/initial/component.js +1 -1
  25. package/{dist/components → components}/screens/initial/countdown-section.d.ts +0 -0
  26. package/{dist/components → components}/screens/initial/countdown-section.js +1 -1
  27. package/{dist/esm/components → components}/screens/initial/index.css +15 -15
  28. package/{dist/components → components}/screens/initial/index.d.ts +0 -0
  29. package/{dist/components → components}/screens/initial/index.js +1 -1
  30. package/{dist/components → components}/screens/temp-block/component.d.ts +0 -0
  31. package/{dist/components → components}/screens/temp-block/component.js +1 -1
  32. package/{dist/esm/components → components}/screens/temp-block/index.css +5 -5
  33. package/{dist/components → components}/screens/temp-block/index.d.ts +0 -0
  34. package/{dist/components → components}/screens/temp-block/index.js +0 -0
  35. package/{dist/context.d.ts → context.d.ts} +0 -0
  36. package/{dist/context.js → context.js} +0 -0
  37. package/{dist/countdown-section-b4e8ac1c.d.ts → countdown-section-4e90accd.d.ts} +0 -0
  38. package/{dist/countdown-section-b4e8ac1c.js → countdown-section-4e90accd.js} +1 -1
  39. package/{dist/cssm → cssm}/component.d.ts +0 -0
  40. package/{dist/cssm → cssm}/component.js +4 -4
  41. package/{dist/cssm → cssm}/components/countdown-loader/component.d.ts +0 -0
  42. package/{dist/cssm → cssm}/components/countdown-loader/component.js +0 -0
  43. package/{dist/cssm → cssm}/components/countdown-loader/index.d.ts +0 -0
  44. package/{dist/cssm → cssm}/components/countdown-loader/index.js +0 -0
  45. package/{dist/cssm → cssm}/components/countdown-loader/index.module.css +0 -0
  46. package/{dist/cssm → cssm}/components/index.d.ts +0 -0
  47. package/{dist/cssm → cssm}/components/index.js +4 -4
  48. package/{dist/cssm → cssm}/components/screens/fatal-error/component.d.ts +0 -0
  49. package/{dist/cssm → cssm}/components/screens/fatal-error/component.js +1 -1
  50. package/{dist/cssm → cssm}/components/screens/fatal-error/index.d.ts +0 -0
  51. package/{dist/cssm → cssm}/components/screens/fatal-error/index.js +1 -1
  52. package/{dist/cssm → cssm}/components/screens/fatal-error/index.module.css +0 -0
  53. package/{dist/cssm → cssm}/components/screens/hint/component.d.ts +0 -0
  54. package/{dist/cssm → cssm}/components/screens/hint/component.js +2 -2
  55. package/{dist/cssm → cssm}/components/screens/hint/index.d.ts +0 -0
  56. package/{dist/cssm → cssm}/components/screens/hint/index.js +2 -2
  57. package/{dist/cssm → cssm}/components/screens/hint/index.module.css +0 -0
  58. package/{dist/cssm → cssm}/components/screens/index.d.ts +0 -0
  59. package/{dist/cssm → cssm}/components/screens/index.js +4 -4
  60. package/{dist/cssm → cssm}/components/screens/initial/component.d.ts +0 -0
  61. package/{dist/cssm → cssm}/components/screens/initial/component.js +4 -4
  62. package/{dist/cssm → cssm}/components/screens/initial/countdown-section.d.ts +0 -0
  63. package/{dist/cssm → cssm}/components/screens/initial/countdown-section.js +2 -2
  64. package/{dist/cssm → cssm}/components/screens/initial/index.d.ts +0 -0
  65. package/{dist/cssm → cssm}/components/screens/initial/index.js +4 -4
  66. package/{dist/cssm → cssm}/components/screens/initial/index.module.css +0 -0
  67. package/{dist/cssm → cssm}/components/screens/temp-block/component.d.ts +0 -0
  68. package/{dist/cssm → cssm}/components/screens/temp-block/component.js +0 -0
  69. package/{dist/cssm → cssm}/components/screens/temp-block/index.d.ts +0 -0
  70. package/{dist/cssm → cssm}/components/screens/temp-block/index.js +0 -0
  71. package/{dist/cssm → cssm}/components/screens/temp-block/index.module.css +0 -0
  72. package/{dist/cssm → cssm}/context.d.ts +0 -0
  73. package/{dist/cssm → cssm}/context.js +0 -0
  74. package/{dist/cssm → cssm}/index.d.ts +0 -0
  75. package/{dist/cssm → cssm}/index.js +4 -4
  76. package/{dist/cssm → cssm}/index.module.css +0 -0
  77. package/{dist/cssm → cssm}/types.d.ts +0 -0
  78. package/{dist/cssm → cssm}/types.js +0 -0
  79. package/{dist/cssm → cssm}/utils.d.ts +0 -0
  80. package/{dist/cssm → cssm}/utils.js +0 -0
  81. package/{dist/cssm → cssm}/vars.css +0 -0
  82. package/{dist/esm → esm}/component.d.ts +0 -0
  83. package/{dist/esm → esm}/component.js +6 -6
  84. package/{dist/esm → esm}/components/countdown-loader/component.d.ts +0 -0
  85. package/{dist/esm → esm}/components/countdown-loader/component.js +1 -1
  86. package/{dist/esm → esm}/components/countdown-loader/index.css +2 -2
  87. package/{dist/esm → esm}/components/countdown-loader/index.d.ts +0 -0
  88. package/{dist/esm → esm}/components/countdown-loader/index.js +0 -0
  89. package/{dist/esm → esm}/components/index.d.ts +0 -0
  90. package/{dist/esm → esm}/components/index.js +5 -5
  91. package/{dist/esm → esm}/components/screens/fatal-error/component.d.ts +0 -0
  92. package/{dist/esm → esm}/components/screens/fatal-error/component.js +2 -2
  93. package/{dist/modern → esm}/components/screens/fatal-error/index.css +3 -3
  94. package/{dist/esm → esm}/components/screens/fatal-error/index.d.ts +0 -0
  95. package/{dist/esm → esm}/components/screens/fatal-error/index.js +1 -1
  96. package/{dist/esm → esm}/components/screens/hint/component.d.ts +0 -0
  97. package/{dist/esm → esm}/components/screens/hint/component.js +3 -3
  98. package/{dist/modern → esm}/components/screens/hint/index.css +13 -13
  99. package/{dist/esm → esm}/components/screens/hint/index.d.ts +0 -0
  100. package/{dist/esm → esm}/components/screens/hint/index.js +2 -2
  101. package/{dist/esm → esm}/components/screens/index.d.ts +0 -0
  102. package/{dist/esm → esm}/components/screens/index.js +5 -5
  103. package/{dist/esm → esm}/components/screens/initial/component.d.ts +0 -0
  104. package/{dist/esm → esm}/components/screens/initial/component.js +5 -5
  105. package/{dist/esm → esm}/components/screens/initial/countdown-section.d.ts +0 -0
  106. package/{dist/esm → esm}/components/screens/initial/countdown-section.js +3 -3
  107. package/{dist → esm}/components/screens/initial/index.css +15 -15
  108. package/{dist/esm → esm}/components/screens/initial/index.d.ts +0 -0
  109. package/esm/components/screens/initial/index.js +11 -0
  110. package/{dist/esm → esm}/components/screens/temp-block/component.d.ts +0 -0
  111. package/{dist/esm → esm}/components/screens/temp-block/component.js +1 -1
  112. package/{dist/modern → esm}/components/screens/temp-block/index.css +5 -5
  113. package/{dist/esm → esm}/components/screens/temp-block/index.d.ts +0 -0
  114. package/{dist/esm → esm}/components/screens/temp-block/index.js +0 -0
  115. package/{dist/esm → esm}/context.d.ts +0 -0
  116. package/{dist/esm → esm}/context.js +0 -0
  117. package/{dist/esm/countdown-section-9ae4a79a.d.ts → esm/countdown-section-7654b5d7.d.ts} +0 -0
  118. package/{dist/esm/countdown-section-9ae4a79a.js → esm/countdown-section-7654b5d7.js} +3 -3
  119. package/{dist/esm → esm}/index.css +3 -3
  120. package/{dist/esm → esm}/index.d.ts +0 -0
  121. package/{dist/esm → esm}/index.js +5 -5
  122. package/{dist/esm → esm}/types.d.ts +0 -0
  123. package/{dist/esm → esm}/types.js +0 -0
  124. package/{dist/esm → esm}/utils.d.ts +0 -0
  125. package/{dist/esm → esm}/utils.js +0 -0
  126. package/{dist/modern/index.css → index.css} +3 -3
  127. package/{dist/index.d.ts → index.d.ts} +0 -0
  128. package/{dist/index.js → index.js} +1 -1
  129. package/{dist/modern → modern}/component.d.ts +0 -0
  130. package/{dist/modern → modern}/component.js +6 -6
  131. package/{dist/modern → modern}/components/countdown-loader/component.d.ts +0 -0
  132. package/{dist/modern → modern}/components/countdown-loader/component.js +1 -1
  133. package/{dist/modern → modern}/components/countdown-loader/index.css +2 -2
  134. package/{dist/modern → modern}/components/countdown-loader/index.d.ts +0 -0
  135. package/{dist/modern → modern}/components/countdown-loader/index.js +0 -0
  136. package/{dist/modern → modern}/components/index.d.ts +0 -0
  137. package/{dist/modern → modern}/components/index.js +5 -5
  138. package/{dist/modern → modern}/components/screens/fatal-error/component.d.ts +0 -0
  139. package/{dist/modern → modern}/components/screens/fatal-error/component.js +2 -2
  140. package/{dist/esm → modern}/components/screens/fatal-error/index.css +3 -3
  141. package/{dist/modern → modern}/components/screens/fatal-error/index.d.ts +0 -0
  142. package/{dist/modern → modern}/components/screens/fatal-error/index.js +1 -1
  143. package/{dist/modern → modern}/components/screens/hint/component.d.ts +0 -0
  144. package/{dist/modern → modern}/components/screens/hint/component.js +3 -3
  145. package/{dist → modern}/components/screens/hint/index.css +13 -13
  146. package/{dist/modern → modern}/components/screens/hint/index.d.ts +0 -0
  147. package/{dist/modern → modern}/components/screens/hint/index.js +2 -2
  148. package/{dist/modern → modern}/components/screens/index.d.ts +0 -0
  149. package/{dist/modern → modern}/components/screens/index.js +5 -5
  150. package/{dist/modern → modern}/components/screens/initial/component.d.ts +0 -0
  151. package/{dist/modern → modern}/components/screens/initial/component.js +5 -5
  152. package/{dist/modern → modern}/components/screens/initial/countdown-section.d.ts +0 -0
  153. package/{dist/modern → modern}/components/screens/initial/countdown-section.js +3 -3
  154. package/{dist/modern → modern}/components/screens/initial/index.css +15 -15
  155. package/{dist/modern → modern}/components/screens/initial/index.d.ts +0 -0
  156. package/modern/components/screens/initial/index.js +11 -0
  157. package/{dist/modern → modern}/components/screens/temp-block/component.d.ts +0 -0
  158. package/{dist/modern → modern}/components/screens/temp-block/component.js +1 -1
  159. package/{dist → modern}/components/screens/temp-block/index.css +5 -5
  160. package/{dist/modern → modern}/components/screens/temp-block/index.d.ts +0 -0
  161. package/{dist/modern → modern}/components/screens/temp-block/index.js +0 -0
  162. package/{dist/modern → modern}/context.d.ts +0 -0
  163. package/{dist/modern → modern}/context.js +0 -0
  164. package/{dist/modern/countdown-section-70b588e4.d.ts → modern/countdown-section-15346730.d.ts} +0 -0
  165. package/{dist/modern/countdown-section-70b588e4.js → modern/countdown-section-15346730.js} +3 -3
  166. package/{dist → modern}/index.css +3 -3
  167. package/{dist/modern → modern}/index.d.ts +0 -0
  168. package/{dist/modern → modern}/index.js +5 -5
  169. package/{dist/modern → modern}/types.d.ts +0 -0
  170. package/{dist/modern → modern}/types.js +0 -0
  171. package/{dist/modern → modern}/utils.d.ts +0 -0
  172. package/{dist/modern → modern}/utils.js +0 -0
  173. package/package.json +12 -15
  174. package/{dist/send-stats.js → send-stats.js} +0 -0
  175. package/{dist/types.d.ts → types.d.ts} +0 -0
  176. package/{dist/types.js → types.js} +0 -0
  177. package/{dist/utils.d.ts → utils.d.ts} +0 -0
  178. package/{dist/utils.js → utils.js} +0 -0
  179. package/dist/esm/components/screens/initial/index.js +0 -11
  180. package/dist/modern/components/screens/initial/index.js +0 -11
@@ -11,7 +11,7 @@ var context = require('./context.js');
11
11
  var types = require('./types.js');
12
12
  require('@alfalab/core-components-code-input');
13
13
  require('@alfalab/core-components-link');
14
- require('./countdown-section-b4e8ac1c.js');
14
+ require('./countdown-section-4e90accd.js');
15
15
  require('@alfalab/core-components-loader');
16
16
  require('@alfalab/core-components-button');
17
17
  var components_screens_initial_component = require('./components/screens/initial/component.js');
File without changes
@@ -4,18 +4,18 @@ import { usePrevious } from '@alfalab/hooks';
4
4
  import { ONE_MINUTE, ONE_DAY, useCountdown } from './utils.js';
5
5
  import { ConfirmationContext } from './context.js';
6
6
  import { defaultTexts } from './types.js';
7
- import '@alfalab/core-components-code-input/dist/modern';
8
- import '@alfalab/core-components-link/dist/modern';
9
- import './countdown-section-70b588e4.js';
10
- import '@alfalab/core-components-loader/dist/modern';
11
- import '@alfalab/core-components-button/dist/modern';
7
+ import '@alfalab/core-components-code-input/modern';
8
+ import '@alfalab/core-components-link/modern';
9
+ import './countdown-section-15346730.js';
10
+ import '@alfalab/core-components-loader/modern';
11
+ import '@alfalab/core-components-button/modern';
12
12
  import { Initial } from './components/screens/initial/component.js';
13
13
  import { Hint } from './components/screens/hint/component.js';
14
14
  import { FatalError } from './components/screens/fatal-error/component.js';
15
15
  import './components/countdown-loader/component.js';
16
16
  import { TempBlock } from './components/screens/temp-block/component.js';
17
17
 
18
- var styles = {"component":"confirmation__component_1qqw7","center":"confirmation__center_1qqw7"};
18
+ var styles = {"component":"confirmation__component_mfri0","center":"confirmation__center_mfri0"};
19
19
  require('./index.css')
20
20
 
21
21
  const confirmationScreens = {
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
 
3
- var styles = {"circle":"confirmation__circle_1jwp5"};
3
+ var styles = {"circle":"confirmation__circle_17hd9"};
4
4
  require('./index.css')
5
5
 
6
6
  const SIZE = 16;
@@ -1,4 +1,4 @@
1
- /* hash: dyqom */
1
+ /* hash: 1vvnz */
2
2
  :root {
3
3
  --color-light-graphic-tertiary: #b6bcc3;
4
4
  }
@@ -19,7 +19,7 @@
19
19
 
20
20
  /* input */
21
21
  }
22
- .confirmation__circle_1jwp5 {
22
+ .confirmation__circle_17hd9 {
23
23
  fill: transparent;
24
24
  stroke: var(--color-light-graphic-tertiary);
25
25
  stroke-width: 2px;
File without changes
@@ -3,11 +3,11 @@ import 'classnames';
3
3
  import '@alfalab/hooks';
4
4
  import '../utils.js';
5
5
  import '../context.js';
6
- import '@alfalab/core-components-code-input/dist/modern';
7
- import '@alfalab/core-components-link/dist/modern';
8
- import '../countdown-section-70b588e4.js';
9
- import '@alfalab/core-components-loader/dist/modern';
10
- import '@alfalab/core-components-button/dist/modern';
6
+ import '@alfalab/core-components-code-input/modern';
7
+ import '@alfalab/core-components-link/modern';
8
+ import '../countdown-section-15346730.js';
9
+ import '@alfalab/core-components-loader/modern';
10
+ import '@alfalab/core-components-button/modern';
11
11
  export { Initial } from './screens/initial/component.js';
12
12
  export { Hint } from './screens/hint/component.js';
13
13
  export { FatalError } from './screens/fatal-error/component.js';
@@ -1,9 +1,9 @@
1
1
  import React, { useContext, Fragment } from 'react';
2
2
  import '../../../utils.js';
3
3
  import { ConfirmationContext } from '../../../context.js';
4
- import { Button } from '@alfalab/core-components-button/dist/modern';
4
+ import { Button } from '@alfalab/core-components-button/modern';
5
5
 
6
- var styles = {"header":"confirmation__header_1obqg","description":"confirmation__description_1obqg"};
6
+ var styles = {"header":"confirmation__header_ywk3d","description":"confirmation__description_ywk3d"};
7
7
  require('./index.css')
8
8
 
9
9
  const FatalError = () => {
@@ -1,4 +1,4 @@
1
- /* hash: 1r9cg */
1
+ /* hash: d81it */
2
2
  :root {
3
3
  --color-light-text-primary: #0b1f35;
4
4
  --color-light-text-secondary: #546272;
@@ -39,7 +39,7 @@
39
39
 
40
40
  /* input */
41
41
  }
42
- .confirmation__header_1obqg {
42
+ .confirmation__header_ywk3d {
43
43
  margin: 0;
44
44
  margin-bottom: var(--gap-xl);
45
45
  font-size: var(--confirmation-title-font-size);
@@ -49,7 +49,7 @@
49
49
  color: var(--confirmation-title-color);
50
50
  font-feature-settings: var(--confirmation-title-font-feature-settings);
51
51
  }
52
- .confirmation__description_1obqg {
52
+ .confirmation__description_ywk3d {
53
53
  font-size: var(--confirmation-text-font-size);
54
54
  line-height: var(--confirmation-text-line-height);
55
55
  font-weight: var(--confirmation-text-font-weight);
@@ -1,5 +1,5 @@
1
1
  import 'react';
2
2
  import '../../../utils.js';
3
3
  import '../../../context.js';
4
- import '@alfalab/core-components-button/dist/modern';
4
+ import '@alfalab/core-components-button/modern';
5
5
  export { FatalError } from './component.js';
@@ -2,10 +2,10 @@ import React, { useContext } from 'react';
2
2
  import cn from 'classnames';
3
3
  import '../../../utils.js';
4
4
  import { ConfirmationContext } from '../../../context.js';
5
- import { Link } from '@alfalab/core-components-link/dist/modern';
6
- import { Button } from '@alfalab/core-components-button/dist/modern';
5
+ import { Link } from '@alfalab/core-components-link/modern';
6
+ import { Button } from '@alfalab/core-components-button/modern';
7
7
 
8
- var styles = {"center":"confirmation__center_1r5kz","phoneHintWrap":"confirmation__phoneHintWrap_1r5kz","hintWrap":"confirmation__hintWrap_1r5kz","title":"confirmation__title_1r5kz","text":"confirmation__text_1r5kz","phonesWrap":"confirmation__phonesWrap_1r5kz","phoneWrap":"confirmation__phoneWrap_1r5kz","phoneLink":"confirmation__phoneLink_1r5kz","phoneDescription":"confirmation__phoneDescription_1r5kz","hintButton":"confirmation__hintButton_1r5kz"};
8
+ var styles = {"center":"confirmation__center_cy71u","phoneHintWrap":"confirmation__phoneHintWrap_cy71u","hintWrap":"confirmation__hintWrap_cy71u","title":"confirmation__title_cy71u","text":"confirmation__text_cy71u","phonesWrap":"confirmation__phonesWrap_cy71u","phoneWrap":"confirmation__phoneWrap_cy71u","phoneLink":"confirmation__phoneLink_cy71u","phoneDescription":"confirmation__phoneDescription_cy71u","hintButton":"confirmation__hintButton_cy71u"};
9
9
  require('./index.css')
10
10
 
11
11
  const Hint = () => {
@@ -1,4 +1,4 @@
1
- /* hash: 1uhmq */
1
+ /* hash: k62yg */
2
2
  :root {
3
3
  --color-light-text-primary: #0b1f35;
4
4
  --color-light-text-secondary: #546272;
@@ -40,18 +40,18 @@
40
40
 
41
41
  /* input */
42
42
  }
43
- .confirmation__center_1r5kz .confirmation__phoneHintWrap_1r5kz {
43
+ .confirmation__center_cy71u .confirmation__phoneHintWrap_cy71u {
44
44
  align-items: center;
45
45
  }
46
- .confirmation__center_1r5kz .confirmation__hintWrap_1r5kz {
46
+ .confirmation__center_cy71u .confirmation__hintWrap_cy71u {
47
47
  align-items: center;
48
48
  }
49
- .confirmation__hintWrap_1r5kz {
49
+ .confirmation__hintWrap_cy71u {
50
50
  display: flex;
51
51
  flex-direction: column;
52
52
  align-items: flex-start;
53
53
  }
54
- .confirmation__title_1r5kz {
54
+ .confirmation__title_cy71u {
55
55
  margin: 0;
56
56
  margin-bottom: var(--gap-xl);
57
57
  font-size: var(--confirmation-title-font-size);
@@ -61,7 +61,7 @@
61
61
  color: var(--confirmation-title-color);
62
62
  font-feature-settings: var(--confirmation-title-font-feature-settings);
63
63
  }
64
- .confirmation__text_1r5kz {
64
+ .confirmation__text_cy71u {
65
65
  font-size: var(--confirmation-text-font-size);
66
66
  line-height: var(--confirmation-text-line-height);
67
67
  font-weight: var(--confirmation-text-font-weight);
@@ -70,7 +70,7 @@
70
70
 
71
71
  margin-bottom: var(--gap-xl);
72
72
  }
73
- .confirmation__phonesWrap_1r5kz {
73
+ .confirmation__phonesWrap_cy71u {
74
74
  font-size: var(--confirmation-text-font-size);
75
75
  line-height: var(--confirmation-text-line-height);
76
76
  font-weight: var(--confirmation-text-font-weight);
@@ -81,23 +81,23 @@
81
81
  flex-direction: column;
82
82
  margin-bottom: var(--gap-xl);
83
83
  }
84
- .confirmation__phoneWrap_1r5kz {
84
+ .confirmation__phoneWrap_cy71u {
85
85
  margin-bottom: var(--gap-xs)
86
86
  }
87
- .confirmation__phoneWrap_1r5kz:last-child {
87
+ .confirmation__phoneWrap_cy71u:last-child {
88
88
  margin-bottom: 0;
89
89
  }
90
- .confirmation__phoneLink_1r5kz {
90
+ .confirmation__phoneLink_cy71u {
91
91
  font-size: 16px;
92
92
  line-height: 24px;
93
93
  font-weight: 500
94
94
  }
95
- .confirmation__phoneLink_1r5kz > span {
95
+ .confirmation__phoneLink_cy71u > span {
96
96
  border-bottom: none;
97
97
  }
98
- .confirmation__phoneDescription_1r5kz {
98
+ .confirmation__phoneDescription_cy71u {
99
99
  color: var(--confirmation-text-color);
100
100
  }
101
- .confirmation__hintButton_1r5kz {
101
+ .confirmation__hintButton_cy71u {
102
102
  margin-top: var(--gap-2xl);
103
103
  }
@@ -2,6 +2,6 @@ import 'react';
2
2
  import 'classnames';
3
3
  import '../../../utils.js';
4
4
  import '../../../context.js';
5
- import '@alfalab/core-components-link/dist/modern';
6
- import '@alfalab/core-components-button/dist/modern';
5
+ import '@alfalab/core-components-link/modern';
6
+ import '@alfalab/core-components-button/modern';
7
7
  export { Hint } from './component.js';
@@ -3,11 +3,11 @@ import 'classnames';
3
3
  import '@alfalab/hooks';
4
4
  import '../../utils.js';
5
5
  import '../../context.js';
6
- import '@alfalab/core-components-code-input/dist/modern';
7
- import '@alfalab/core-components-link/dist/modern';
8
- import '../../countdown-section-70b588e4.js';
9
- import '@alfalab/core-components-loader/dist/modern';
10
- import '@alfalab/core-components-button/dist/modern';
6
+ import '@alfalab/core-components-code-input/modern';
7
+ import '@alfalab/core-components-link/modern';
8
+ import '../../countdown-section-15346730.js';
9
+ import '@alfalab/core-components-loader/modern';
10
+ import '@alfalab/core-components-button/modern';
11
11
  export { Initial } from './initial/component.js';
12
12
  export { Hint } from './hint/component.js';
13
13
  export { FatalError } from './fatal-error/component.js';
@@ -3,11 +3,11 @@ import cn from 'classnames';
3
3
  import { usePrevious } from '@alfalab/hooks';
4
4
  import '../../../utils.js';
5
5
  import { ConfirmationContext } from '../../../context.js';
6
- import { CodeInput } from '@alfalab/core-components-code-input/dist/modern';
7
- import { Link } from '@alfalab/core-components-link/dist/modern';
8
- import { s as styles, C as CountdownSection } from '../../../countdown-section-70b588e4.js';
9
- import '@alfalab/core-components-loader/dist/modern';
10
- import '@alfalab/core-components-button/dist/modern';
6
+ import { CodeInput } from '@alfalab/core-components-code-input/modern';
7
+ import { Link } from '@alfalab/core-components-link/modern';
8
+ import { s as styles, C as CountdownSection } from '../../../countdown-section-15346730.js';
9
+ import '@alfalab/core-components-loader/modern';
10
+ import '@alfalab/core-components-button/modern';
11
11
 
12
12
  const CODE_SEND_HINT_VISIBLE_DURATION = 2000;
13
13
  const Initial = () => {
@@ -2,6 +2,6 @@ import 'react';
2
2
  import 'classnames';
3
3
  import '../../../utils.js';
4
4
  import '../../../context.js';
5
- export { C as CountdownSection } from '../../../countdown-section-70b588e4.js';
6
- import '@alfalab/core-components-loader/dist/modern';
7
- import '@alfalab/core-components-button/dist/modern';
5
+ export { C as CountdownSection } from '../../../countdown-section-15346730.js';
6
+ import '@alfalab/core-components-loader/modern';
7
+ import '@alfalab/core-components-button/modern';
@@ -1,4 +1,4 @@
1
- /* hash: 1pzur */
1
+ /* hash: 1vsab */
2
2
  :root {
3
3
  --color-light-text-primary: #0b1f35;
4
4
  }
@@ -36,11 +36,11 @@
36
36
 
37
37
  /* input */
38
38
  }
39
- .confirmation__component_1jqh7 {
39
+ .confirmation__component_pbvkr {
40
40
  display: flex;
41
41
  flex-direction: column;
42
42
  }
43
- .confirmation__header_1jqh7 {
43
+ .confirmation__header_pbvkr {
44
44
  margin: 0;
45
45
  margin-bottom: var(--gap-xl);
46
46
  font-size: var(--confirmation-title-font-size);
@@ -50,47 +50,47 @@
50
50
  color: var(--confirmation-title-color);
51
51
  font-feature-settings: var(--confirmation-title-font-feature-settings);
52
52
  }
53
- .confirmation__phone_1jqh7 {
53
+ .confirmation__phone_pbvkr {
54
54
  margin-bottom: var(--gap-2xl);
55
55
  color: var(--color-light-text-primary);
56
56
  }
57
- .confirmation__inputContainer_1jqh7 {
57
+ .confirmation__inputContainer_pbvkr {
58
58
  display: flex;
59
59
  flex-direction: column;
60
60
  margin-bottom: var(--gap-2xl);
61
61
  }
62
- .confirmation__compact_1jqh7 {
62
+ .confirmation__compact_pbvkr {
63
63
  margin-bottom: var(--gap-xl);
64
64
  }
65
- .confirmation__loaderWrap_1jqh7 {
65
+ .confirmation__loaderWrap_pbvkr {
66
66
  display: flex;
67
67
  align-items: center;
68
68
  }
69
- .confirmation__center_1jqh7 {
69
+ .confirmation__center_pbvkr {
70
70
  align-items: center;
71
71
  text-align: center
72
72
  }
73
- .confirmation__center_1jqh7 .confirmation__codeInput_1jqh7,
74
- .confirmation__center_1jqh7 .confirmation__loaderWrap_1jqh7 {
73
+ .confirmation__center_pbvkr .confirmation__codeInput_pbvkr,
74
+ .confirmation__center_pbvkr .confirmation__loaderWrap_pbvkr {
75
75
  justify-content: center;
76
76
  }
77
- .confirmation__smsComeLink_1jqh7 {
77
+ .confirmation__smsComeLink_pbvkr {
78
78
  font-size: 14px;
79
79
  line-height: 20px;
80
80
  font-weight: 400;
81
81
  }
82
- .confirmation__countdownContainer_1jqh7 {
82
+ .confirmation__countdownContainer_pbvkr {
83
83
  margin-bottom: var(--gap-xl);
84
84
  }
85
- .confirmation__getCodeButton_1jqh7 {
85
+ .confirmation__getCodeButton_pbvkr {
86
86
  position: relative;
87
87
  top: var(--gap-2xs-neg);
88
88
  margin-bottom: var(--gap-m);
89
89
  }
90
- .confirmation__countdown_1jqh7 {
90
+ .confirmation__countdown_pbvkr {
91
91
  display: flex;
92
92
  }
93
- .confirmation__countdownTimer_1jqh7 {
93
+ .confirmation__countdownTimer_pbvkr {
94
94
  display: flex;
95
95
  justify-content: flex-start;
96
96
  min-width: 45px;
@@ -0,0 +1,11 @@
1
+ import 'react';
2
+ import 'classnames';
3
+ import '@alfalab/hooks';
4
+ import '../../../utils.js';
5
+ import '../../../context.js';
6
+ import '@alfalab/core-components-code-input/modern';
7
+ import '@alfalab/core-components-link/modern';
8
+ import '../../../countdown-section-15346730.js';
9
+ import '@alfalab/core-components-loader/modern';
10
+ import '@alfalab/core-components-button/modern';
11
+ export { Initial } from './component.js';
@@ -3,7 +3,7 @@ import { useCountdown, formatMsAsMinutes } from '../../../utils.js';
3
3
  import { ConfirmationContext } from '../../../context.js';
4
4
  import { CountdownLoader } from '../../countdown-loader/component.js';
5
5
 
6
- var styles = {"header":"confirmation__header_1q9la","description":"confirmation__description_1q9la","countdownWrap":"confirmation__countdownWrap_1q9la","loader":"confirmation__loader_1q9la"};
6
+ var styles = {"header":"confirmation__header_1wggp","description":"confirmation__description_1wggp","countdownWrap":"confirmation__countdownWrap_1wggp","loader":"confirmation__loader_1wggp"};
7
7
  require('./index.css')
8
8
 
9
9
  const TempBlock = () => {
@@ -1,4 +1,4 @@
1
- /* hash: ybgrv */
1
+ /* hash: ww95m */
2
2
  :root {
3
3
  --color-light-text-primary: #0b1f35;
4
4
  --color-light-text-secondary: #546272;
@@ -40,7 +40,7 @@
40
40
 
41
41
  /* input */
42
42
  }
43
- .confirmation__header_1q9la {
43
+ .confirmation__header_1wggp {
44
44
  margin: 0;
45
45
  margin-bottom: var(--gap-xl);
46
46
  font-size: var(--confirmation-title-font-size);
@@ -50,7 +50,7 @@
50
50
  color: var(--confirmation-title-color);
51
51
  font-feature-settings: var(--confirmation-title-font-feature-settings);
52
52
  }
53
- .confirmation__description_1q9la {
53
+ .confirmation__description_1wggp {
54
54
  font-size: var(--confirmation-text-font-size);
55
55
  line-height: var(--confirmation-text-line-height);
56
56
  font-weight: var(--confirmation-text-font-weight);
@@ -59,10 +59,10 @@
59
59
 
60
60
  margin-bottom: var(--gap-2xl);
61
61
  }
62
- .confirmation__countdownWrap_1q9la {
62
+ .confirmation__countdownWrap_1wggp {
63
63
  display: flex;
64
64
  align-items: center;
65
65
  }
66
- .confirmation__loader_1q9la {
66
+ .confirmation__loader_1wggp {
67
67
  margin-right: var(--gap-xs);
68
68
  }
File without changes
File without changes
@@ -2,10 +2,10 @@ import React, { useContext } from 'react';
2
2
  import cn from 'classnames';
3
3
  import { formatMsAsMinutes } from './utils.js';
4
4
  import { ConfirmationContext } from './context.js';
5
- import { Loader } from '@alfalab/core-components-loader/dist/modern';
6
- import { Button } from '@alfalab/core-components-button/dist/modern';
5
+ import { Loader } from '@alfalab/core-components-loader/modern';
6
+ import { Button } from '@alfalab/core-components-button/modern';
7
7
 
8
- var styles = {"component":"confirmation__component_1jqh7","header":"confirmation__header_1jqh7","phone":"confirmation__phone_1jqh7","inputContainer":"confirmation__inputContainer_1jqh7","compact":"confirmation__compact_1jqh7","loaderWrap":"confirmation__loaderWrap_1jqh7","center":"confirmation__center_1jqh7","codeInput":"confirmation__codeInput_1jqh7","smsComeLink":"confirmation__smsComeLink_1jqh7","countdownContainer":"confirmation__countdownContainer_1jqh7","getCodeButton":"confirmation__getCodeButton_1jqh7","countdown":"confirmation__countdown_1jqh7","countdownTimer":"confirmation__countdownTimer_1jqh7"};
8
+ var styles = {"component":"confirmation__component_pbvkr","header":"confirmation__header_pbvkr","phone":"confirmation__phone_pbvkr","inputContainer":"confirmation__inputContainer_pbvkr","compact":"confirmation__compact_pbvkr","loaderWrap":"confirmation__loaderWrap_pbvkr","center":"confirmation__center_pbvkr","codeInput":"confirmation__codeInput_pbvkr","smsComeLink":"confirmation__smsComeLink_pbvkr","countdownContainer":"confirmation__countdownContainer_pbvkr","getCodeButton":"confirmation__getCodeButton_pbvkr","countdown":"confirmation__countdown_pbvkr","countdownTimer":"confirmation__countdownTimer_pbvkr"};
9
9
  require('./components/screens/initial/index.css')
10
10
 
11
11
  const CountdownSection = ({ codeSendHintVisible, timePassed, processing, handleSmsRetryClick, }) => {
@@ -1,4 +1,4 @@
1
- /* hash: 1y6ye */
1
+ /* hash: 10760 */
2
2
  :root {
3
3
  --color-light-text-secondary: #546272;
4
4
  }
@@ -28,7 +28,7 @@
28
28
 
29
29
  /* input */
30
30
  }
31
- .confirmation__component_1qqw7 {
31
+ .confirmation__component_mfri0 {
32
32
  font-size: var(--confirmation-text-font-size);
33
33
  line-height: var(--confirmation-text-line-height);
34
34
  font-weight: var(--confirmation-text-font-weight);
@@ -41,7 +41,7 @@
41
41
  max-width: 400px;
42
42
  margin: 0 auto;
43
43
  }
44
- .confirmation__center_1qqw7 {
44
+ .confirmation__center_mfri0 {
45
45
  align-items: center;
46
46
  text-align: center;
47
47
  }
File without changes
@@ -4,11 +4,11 @@ import '@alfalab/hooks';
4
4
  export { ONE_DAY, ONE_MINUTE, formatMsAsMinutes, useConfirmation, useCountdown } from './utils.js';
5
5
  export { ConfirmationContext } from './context.js';
6
6
  export { defaultTexts } from './types.js';
7
- import '@alfalab/core-components-code-input/dist/modern';
8
- import '@alfalab/core-components-link/dist/modern';
9
- import './countdown-section-70b588e4.js';
10
- import '@alfalab/core-components-loader/dist/modern';
11
- import '@alfalab/core-components-button/dist/modern';
7
+ import '@alfalab/core-components-code-input/modern';
8
+ import '@alfalab/core-components-link/modern';
9
+ import './countdown-section-15346730.js';
10
+ import '@alfalab/core-components-loader/modern';
11
+ import '@alfalab/core-components-button/modern';
12
12
  export { Initial } from './components/screens/initial/component.js';
13
13
  export { Hint } from './components/screens/hint/component.js';
14
14
  export { FatalError } from './components/screens/fatal-error/component.js';
File without changes
File without changes
File without changes
File without changes
package/package.json CHANGED
@@ -1,32 +1,29 @@
1
1
  {
2
2
  "name": "@alfalab/core-components-confirmation",
3
- "version": "10.2.0",
3
+ "version": "10.3.2",
4
4
  "description": "Sms confirmation component",
5
5
  "keywords": [],
6
6
  "license": "MIT",
7
- "main": "dist/index.js",
8
- "module": "./dist/esm/index.js",
9
- "files": [
10
- "dist"
11
- ],
7
+ "main": "index.js",
8
+ "module": "./esm/index.js",
12
9
  "scripts": {
13
- "postinstall": "node ./dist/send-stats.js > /dev/null 2>&1 || exit 0"
10
+ "postinstall": "node ./send-stats.js > /dev/null 2>&1 || exit 0"
14
11
  },
15
12
  "publishConfig": {
16
- "access": "public"
13
+ "access": "public",
14
+ "directory": "dist"
17
15
  },
18
16
  "dependencies": {
19
- "@alfalab/core-components-button": "^5.1.7",
20
- "@alfalab/core-components-code-input": "^1.3.0",
21
- "@alfalab/core-components-link": "^3.2.4",
22
- "@alfalab/core-components-loader": "^2.0.4",
17
+ "@alfalab/core-components-button": "^5.2.2",
18
+ "@alfalab/core-components-code-input": "^1.4.2",
19
+ "@alfalab/core-components-link": "^3.3.2",
20
+ "@alfalab/core-components-loader": "^2.1.2",
23
21
  "@alfalab/hooks": "^1.4.1",
24
22
  "@alfalab/icons-glyph": "^2.16.0",
25
23
  "@alfalab/utils": "^1.11.0",
26
- "classnames": "2.2.6"
24
+ "classnames": "^2.2.6"
27
25
  },
28
26
  "peerDependencies": {
29
27
  "react": "^16.9.0 || ^17.0.1"
30
- },
31
- "gitHead": "97545dc462e2c884c25f4a7e5092abf6dafac81f"
28
+ }
32
29
  }
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -1,11 +0,0 @@
1
- import 'react';
2
- import 'classnames';
3
- import '@alfalab/hooks';
4
- import '../../../utils.js';
5
- import '../../../context.js';
6
- import '@alfalab/core-components-code-input/dist/esm';
7
- import '@alfalab/core-components-link/dist/esm';
8
- import '../../../countdown-section-9ae4a79a.js';
9
- import '@alfalab/core-components-loader/dist/esm';
10
- import '@alfalab/core-components-button/dist/esm';
11
- export { Initial } from './component.js';
@@ -1,11 +0,0 @@
1
- import 'react';
2
- import 'classnames';
3
- import '@alfalab/hooks';
4
- import '../../../utils.js';
5
- import '../../../context.js';
6
- import '@alfalab/core-components-code-input/dist/modern';
7
- import '@alfalab/core-components-link/dist/modern';
8
- import '../../../countdown-section-70b588e4.js';
9
- import '@alfalab/core-components-loader/dist/modern';
10
- import '@alfalab/core-components-button/dist/modern';
11
- export { Initial } from './component.js';