@alfalab/core-components-confirmation 12.2.1 → 12.2.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 (129) hide show
  1. package/{component-8a46eb16.d.ts → component-be4e19ca.d.ts} +6 -4
  2. package/{component-8a46eb16.js → component-be4e19ca.js} +3 -2
  3. package/component.desktop.js +3 -3
  4. package/component.mobile.js +4 -4
  5. package/component.responsive.js +3 -3
  6. package/components/base-confirmation/component.js +3 -3
  7. package/components/base-confirmation/index.css +3 -3
  8. package/components/base-confirmation/index.d.ts +1 -1
  9. package/components/base-confirmation/index.js +3 -3
  10. package/components/countdown-loader/component.js +1 -1
  11. package/components/countdown-loader/index.css +2 -2
  12. package/components/header/component.js +1 -1
  13. package/components/header/index.css +4 -4
  14. package/components/index.js +2 -2
  15. package/components/screens/fatal-error/component.js +2 -2
  16. package/components/screens/fatal-error/index.css +5 -5
  17. package/components/screens/fatal-error/index.js +1 -1
  18. package/components/screens/hint/component.js +2 -2
  19. package/components/screens/hint/index.css +12 -12
  20. package/components/screens/hint/index.js +1 -1
  21. package/components/screens/index.js +2 -2
  22. package/components/screens/initial/component.js +2 -2
  23. package/components/screens/initial/countdown-section.js +2 -2
  24. package/components/screens/initial/index.css +18 -18
  25. package/components/screens/initial/index.js +2 -2
  26. package/components/screens/temp-block/component.js +1 -1
  27. package/components/screens/temp-block/index.css +5 -5
  28. package/{countdown-section-d2ec5a14.d.ts → countdown-section-828d7b52.d.ts} +0 -0
  29. package/{countdown-section-d2ec5a14.js → countdown-section-828d7b52.js} +2 -2
  30. package/cssm/{component-5c5b24ae.d.ts → component-4b21185d.d.ts} +6 -4
  31. package/cssm/{component-5c5b24ae.js → component-4b21185d.js} +2 -1
  32. package/cssm/component.desktop.js +2 -2
  33. package/cssm/component.mobile.js +2 -2
  34. package/cssm/component.responsive.js +2 -2
  35. package/cssm/components/base-confirmation/component.js +2 -2
  36. package/cssm/components/base-confirmation/index.d.ts +1 -1
  37. package/cssm/components/base-confirmation/index.js +2 -2
  38. package/cssm/components/index.js +1 -1
  39. package/cssm/components/screens/fatal-error/component.js +1 -1
  40. package/cssm/components/screens/fatal-error/index.js +1 -1
  41. package/cssm/components/screens/hint/component.js +1 -1
  42. package/cssm/components/screens/hint/index.js +1 -1
  43. package/cssm/components/screens/index.js +1 -1
  44. package/cssm/components/screens/initial/component.js +1 -1
  45. package/cssm/components/screens/initial/countdown-section.js +1 -1
  46. package/cssm/components/screens/initial/index.js +1 -1
  47. package/cssm/desktop.js +2 -2
  48. package/cssm/index.d.ts +1 -1
  49. package/cssm/index.js +2 -2
  50. package/cssm/mobile.js +2 -2
  51. package/cssm/responsive.js +2 -2
  52. package/cssm/utils.js +3 -5
  53. package/desktop.js +3 -3
  54. package/esm/{component-417f2884.d.ts → component-57bd90b3.d.ts} +6 -4
  55. package/esm/{component-417f2884.js → component-57bd90b3.js} +3 -2
  56. package/esm/component.desktop.js +3 -3
  57. package/esm/component.mobile.js +4 -4
  58. package/esm/component.responsive.js +3 -3
  59. package/esm/components/base-confirmation/component.js +3 -3
  60. package/esm/components/base-confirmation/index.css +3 -3
  61. package/esm/components/base-confirmation/index.d.ts +1 -1
  62. package/esm/components/base-confirmation/index.js +3 -3
  63. package/esm/components/countdown-loader/component.js +1 -1
  64. package/esm/components/countdown-loader/index.css +2 -2
  65. package/esm/components/header/component.js +1 -1
  66. package/esm/components/header/index.css +4 -4
  67. package/esm/components/index.js +2 -2
  68. package/esm/components/screens/fatal-error/component.js +2 -2
  69. package/esm/components/screens/fatal-error/index.css +5 -5
  70. package/esm/components/screens/fatal-error/index.js +1 -1
  71. package/esm/components/screens/hint/component.js +2 -2
  72. package/esm/components/screens/hint/index.css +12 -12
  73. package/esm/components/screens/hint/index.js +1 -1
  74. package/esm/components/screens/index.js +2 -2
  75. package/esm/components/screens/initial/component.js +2 -2
  76. package/esm/components/screens/initial/countdown-section.js +2 -2
  77. package/esm/components/screens/initial/index.css +18 -18
  78. package/esm/components/screens/initial/index.js +2 -2
  79. package/esm/components/screens/temp-block/component.js +1 -1
  80. package/esm/components/screens/temp-block/index.css +5 -5
  81. package/esm/{countdown-section-9777131a.d.ts → countdown-section-4353332f.d.ts} +0 -0
  82. package/esm/{countdown-section-9777131a.js → countdown-section-4353332f.js} +2 -2
  83. package/esm/desktop.js +3 -3
  84. package/esm/index.d.ts +1 -1
  85. package/esm/index.js +3 -3
  86. package/esm/mobile.css +2 -2
  87. package/esm/mobile.js +3 -3
  88. package/esm/responsive.js +3 -3
  89. package/esm/utils.js +3 -5
  90. package/index.d.ts +1 -1
  91. package/index.js +3 -3
  92. package/mobile.css +2 -2
  93. package/mobile.js +3 -3
  94. package/modern/component.desktop.js +3 -3
  95. package/modern/component.mobile.js +4 -4
  96. package/modern/component.responsive.js +3 -3
  97. package/modern/components/base-confirmation/component.js +4 -3
  98. package/modern/components/base-confirmation/index.css +3 -3
  99. package/modern/components/base-confirmation/index.js +2 -2
  100. package/modern/components/countdown-loader/component.js +1 -1
  101. package/modern/components/countdown-loader/index.css +2 -2
  102. package/modern/components/header/component.js +1 -1
  103. package/modern/components/header/index.css +4 -4
  104. package/modern/components/index.js +2 -2
  105. package/modern/components/screens/fatal-error/component.js +2 -2
  106. package/modern/components/screens/fatal-error/index.css +5 -5
  107. package/modern/components/screens/fatal-error/index.js +1 -1
  108. package/modern/components/screens/hint/component.js +2 -2
  109. package/modern/components/screens/hint/index.css +12 -12
  110. package/modern/components/screens/hint/index.js +1 -1
  111. package/modern/components/screens/index.js +2 -2
  112. package/modern/components/screens/initial/component.js +2 -2
  113. package/modern/components/screens/initial/countdown-section.js +2 -2
  114. package/modern/components/screens/initial/index.css +18 -18
  115. package/modern/components/screens/initial/index.js +2 -2
  116. package/modern/components/screens/temp-block/component.js +1 -1
  117. package/modern/components/screens/temp-block/index.css +5 -5
  118. package/modern/{countdown-section-f68f4069.d.ts → countdown-section-9ba68311.d.ts} +0 -0
  119. package/modern/{countdown-section-f68f4069.js → countdown-section-9ba68311.js} +2 -2
  120. package/modern/desktop.js +2 -2
  121. package/modern/index.d.ts +1 -1
  122. package/modern/index.js +2 -2
  123. package/modern/mobile.css +2 -2
  124. package/modern/mobile.js +2 -2
  125. package/modern/responsive.js +2 -2
  126. package/modern/utils.js +2 -4
  127. package/package.json +2 -2
  128. package/responsive.js +3 -3
  129. package/utils.js +3 -5
package/mobile.js CHANGED
@@ -2,20 +2,20 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- require('./component-8a46eb16.js');
5
+ require('./component-be4e19ca.js');
6
6
  require('react');
7
7
  require('classnames');
8
8
  require('@alfalab/hooks');
9
9
  require('./utils.js');
10
10
  require('./context.js');
11
11
  require('./types.js');
12
+ require('@alfalab/core-components-button');
12
13
  require('@alfalab/core-components-code-input');
13
14
  require('@alfalab/core-components-link');
14
15
  require('@alfalab/core-components-typography');
15
- require('@alfalab/core-components-button');
16
16
  require('./components/header/component.js');
17
17
  require('@alfalab/core-components-loader');
18
- require('./countdown-section-d2ec5a14.js');
18
+ require('./countdown-section-828d7b52.js');
19
19
  require('./components/screens/initial/component.js');
20
20
  require('./components/screens/hint/component.js');
21
21
  require('./components/screens/fatal-error/component.js');
@@ -4,13 +4,13 @@ import '@alfalab/hooks';
4
4
  import './utils.js';
5
5
  import './context.js';
6
6
  import './types.js';
7
+ import '@alfalab/core-components-button/modern';
7
8
  import '@alfalab/core-components-code-input/modern';
8
9
  import '@alfalab/core-components-link/modern';
9
10
  import '@alfalab/core-components-typography/modern';
10
- import '@alfalab/core-components-button/modern';
11
11
  import './components/header/component.js';
12
12
  import '@alfalab/core-components-loader/modern';
13
- import './countdown-section-f68f4069.js';
13
+ import './countdown-section-9ba68311.js';
14
14
  import './components/screens/initial/component.js';
15
15
  import './components/screens/hint/component.js';
16
16
  import './components/screens/fatal-error/component.js';
@@ -18,6 +18,6 @@ import './components/countdown-loader/component.js';
18
18
  import './components/screens/temp-block/component.js';
19
19
  import { BaseConfirmation } from './components/base-confirmation/component.js';
20
20
 
21
- const ConfirmationDesktop = props => (React.createElement(BaseConfirmation, Object.assign({}, props)));
21
+ const ConfirmationDesktop = props => (React.createElement(BaseConfirmation, { ...props }));
22
22
 
23
23
  export { ConfirmationDesktop };
@@ -4,13 +4,13 @@ import '@alfalab/hooks';
4
4
  import './utils.js';
5
5
  import './context.js';
6
6
  import './types.js';
7
+ import '@alfalab/core-components-button/modern';
7
8
  import '@alfalab/core-components-code-input/modern';
8
9
  import '@alfalab/core-components-link/modern';
9
10
  import '@alfalab/core-components-typography/modern';
10
- import '@alfalab/core-components-button/modern';
11
11
  import './components/header/component.js';
12
12
  import '@alfalab/core-components-loader/modern';
13
- import './countdown-section-f68f4069.js';
13
+ import './countdown-section-9ba68311.js';
14
14
  import './components/screens/initial/component.js';
15
15
  import './components/screens/hint/component.js';
16
16
  import './components/screens/fatal-error/component.js';
@@ -18,9 +18,9 @@ import './components/countdown-loader/component.js';
18
18
  import './components/screens/temp-block/component.js';
19
19
  import { BaseConfirmation } from './components/base-confirmation/component.js';
20
20
 
21
- var styles = {"container":"confirmation__container_b0nsc"};
21
+ var styles = {"container":"confirmation__container_ixlq6"};
22
22
  require('./mobile.css')
23
23
 
24
- const ConfirmationMobile = ({ className, ...resProps }) => (React.createElement(BaseConfirmation, Object.assign({ mobile: true, className: cn(className, styles.container) }, resProps)));
24
+ const ConfirmationMobile = ({ className, ...resProps }) => (React.createElement(BaseConfirmation, { mobile: true, className: cn(className, styles.container), ...resProps }));
25
25
 
26
26
  export { ConfirmationMobile };
@@ -4,13 +4,13 @@ import { useMedia } from '@alfalab/hooks';
4
4
  import './utils.js';
5
5
  import './context.js';
6
6
  import './types.js';
7
+ import '@alfalab/core-components-button/modern';
7
8
  import '@alfalab/core-components-code-input/modern';
8
9
  import '@alfalab/core-components-link/modern';
9
10
  import '@alfalab/core-components-typography/modern';
10
- import '@alfalab/core-components-button/modern';
11
11
  import './components/header/component.js';
12
12
  import '@alfalab/core-components-loader/modern';
13
- import './countdown-section-f68f4069.js';
13
+ import './countdown-section-9ba68311.js';
14
14
  import './components/screens/initial/component.js';
15
15
  import './components/screens/hint/component.js';
16
16
  import './components/screens/fatal-error/component.js';
@@ -25,7 +25,7 @@ const ConfirmationResponsive = props => {
25
25
  ['mobile', '(max-width: 1023px)'],
26
26
  ['desktop', '(min-width: 1024px)'],
27
27
  ], 'desktop');
28
- return view === 'desktop' ? (React.createElement(ConfirmationDesktop, Object.assign({}, props))) : (React.createElement(ConfirmationMobile, Object.assign({}, props)));
28
+ return view === 'desktop' ? (React.createElement(ConfirmationDesktop, { ...props })) : (React.createElement(ConfirmationMobile, { ...props }));
29
29
  };
30
30
 
31
31
  export { ConfirmationResponsive };
@@ -4,20 +4,20 @@ 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-button/modern';
7
8
  import '@alfalab/core-components-code-input/modern';
8
9
  import '@alfalab/core-components-link/modern';
9
10
  import '@alfalab/core-components-typography/modern';
10
- import '@alfalab/core-components-button/modern';
11
11
  import '../header/component.js';
12
12
  import '@alfalab/core-components-loader/modern';
13
- import '../../countdown-section-f68f4069.js';
13
+ import '../../countdown-section-9ba68311.js';
14
14
  import { Initial } from '../screens/initial/component.js';
15
15
  import { Hint } from '../screens/hint/component.js';
16
16
  import { FatalError } from '../screens/fatal-error/component.js';
17
17
  import '../countdown-loader/component.js';
18
18
  import { TempBlock } from '../screens/temp-block/component.js';
19
19
 
20
- var styles = {"component":"confirmation__component_5z1ue","center":"confirmation__center_5z1ue"};
20
+ var styles = {"component":"confirmation__component_161nk","center":"confirmation__center_161nk"};
21
21
  require('./index.css')
22
22
 
23
23
  const confirmationScreens = {
@@ -61,6 +61,7 @@ const BaseConfirmation = ({ state, screen, alignContent = 'left', children, requ
61
61
  onFatalErrorOkButtonClick();
62
62
  }
63
63
  };
64
+ // eslint-disable-next-line react/jsx-no-constructed-context-values
64
65
  const contextValue = {
65
66
  alignContent,
66
67
  texts: { ...defaultTexts, ...restProps.texts },
@@ -1,4 +1,4 @@
1
- /* hash: dr30q */
1
+ /* hash: me5ba */
2
2
  :root {
3
3
  --color-light-text-secondary: rgba(11, 31, 53, 0.7);
4
4
  }
@@ -10,7 +10,7 @@
10
10
 
11
11
  /* Hard up */
12
12
  }
13
- .confirmation__component_5z1ue {
13
+ .confirmation__component_161nk {
14
14
  display: flex;
15
15
  flex-direction: column;
16
16
  width: 100%;
@@ -18,7 +18,7 @@
18
18
  margin: 0 auto;
19
19
  color: var(--color-light-text-secondary);
20
20
  }
21
- .confirmation__center_5z1ue {
21
+ .confirmation__center_161nk {
22
22
  align-items: center;
23
23
  text-align: center;
24
24
  }
@@ -4,13 +4,13 @@ import '@alfalab/hooks';
4
4
  import '../../utils.js';
5
5
  import '../../context.js';
6
6
  import '../../types.js';
7
+ import '@alfalab/core-components-button/modern';
7
8
  import '@alfalab/core-components-code-input/modern';
8
9
  import '@alfalab/core-components-link/modern';
9
10
  import '@alfalab/core-components-typography/modern';
10
- import '@alfalab/core-components-button/modern';
11
11
  import '../header/component.js';
12
12
  import '@alfalab/core-components-loader/modern';
13
- import '../../countdown-section-f68f4069.js';
13
+ import '../../countdown-section-9ba68311.js';
14
14
  import '../screens/initial/component.js';
15
15
  import '../screens/hint/component.js';
16
16
  import '../screens/fatal-error/component.js';
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
 
3
- var styles = {"circle":"confirmation__circle_1u443"};
3
+ var styles = {"circle":"confirmation__circle_1ay7c"};
4
4
  require('./index.css')
5
5
 
6
6
  const SIZE = 16;
@@ -1,4 +1,4 @@
1
- /* hash: gowzd */
1
+ /* hash: 16ds0 */
2
2
  :root {
3
3
  --color-light-graphic-tertiary: #b6bcc3;
4
4
  }
@@ -10,7 +10,7 @@
10
10
 
11
11
  /* Hard up */
12
12
  }
13
- .confirmation__circle_1u443 {
13
+ .confirmation__circle_1ay7c {
14
14
  fill: transparent;
15
15
  stroke: var(--color-light-graphic-tertiary);
16
16
  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/modern';
4
4
 
5
- var styles = {"header":"confirmation__header_1itpx","typography":"confirmation__typography_1itpx","typographyMobile":"confirmation__typographyMobile_1itpx"};
5
+ var styles = {"header":"confirmation__header_v46f8","typography":"confirmation__typography_v46f8","typographyMobile":"confirmation__typographyMobile_v46f8"};
6
6
  require('./index.css')
7
7
 
8
8
  const Header = ({ mobile, children }) => (React.createElement(Typography.Title, { className: cn(styles.header, styles.typography, { [styles.typographyMobile]: mobile }), tag: 'h3', color: 'primary' }, children));
@@ -1,4 +1,4 @@
1
- /* hash: 1ukw9 */
1
+ /* hash: 29fxf */
2
2
  :root {
3
3
 
4
4
  /* Hard */
@@ -32,17 +32,17 @@
32
32
  /* header */
33
33
  --confirmation-header-font-feature-settings: normal
34
34
  }
35
- .confirmation__header_1itpx {
35
+ .confirmation__header_v46f8 {
36
36
  margin-bottom: var(--gap-xl);
37
37
  }
38
- .confirmation__typography_1itpx {
38
+ .confirmation__typography_v46f8 {
39
39
  font-feature-settings: var(--confirmation-header-font-feature-settings);
40
40
  font-size: var(--confirmation-header-desktop-font-size);
41
41
  line-height: var(--confirmation-header-desktop-line-height);
42
42
  font-weight: var(--confirmation-header-desktop-font-weight);
43
43
  font-family: var(--confirmation-header-desktop-font-family);
44
44
  }
45
- .confirmation__typographyMobile_1itpx {
45
+ .confirmation__typographyMobile_v46f8 {
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);
@@ -3,13 +3,13 @@ import 'classnames';
3
3
  import '@alfalab/hooks';
4
4
  import '../utils.js';
5
5
  import '../context.js';
6
+ import '@alfalab/core-components-button/modern';
6
7
  import '@alfalab/core-components-code-input/modern';
7
8
  import '@alfalab/core-components-link/modern';
8
9
  import '@alfalab/core-components-typography/modern';
9
- import '@alfalab/core-components-button/modern';
10
10
  import './header/component.js';
11
11
  import '@alfalab/core-components-loader/modern';
12
- import '../countdown-section-f68f4069.js';
12
+ import '../countdown-section-9ba68311.js';
13
13
  export { Initial } from './screens/initial/component.js';
14
14
  export { Hint } from './screens/hint/component.js';
15
15
  export { FatalError } from './screens/fatal-error/component.js';
@@ -2,11 +2,11 @@ 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 { Typography } from '@alfalab/core-components-typography/modern';
6
5
  import { Button } from '@alfalab/core-components-button/modern';
6
+ import { Typography } from '@alfalab/core-components-typography/modern';
7
7
  import { Header } from '../../header/component.js';
8
8
 
9
- var styles = {"typographyTheme":"confirmation__typographyTheme_qdm0g","left":"confirmation__left_qdm0g","center":"confirmation__center_qdm0g","button":"confirmation__button_qdm0g"};
9
+ var styles = {"typographyTheme":"confirmation__typographyTheme_f5bna","left":"confirmation__left_f5bna","center":"confirmation__center_f5bna","button":"confirmation__button_f5bna"};
10
10
  require('./index.css')
11
11
 
12
12
  const FatalError = ({ mobile }) => {
@@ -1,4 +1,4 @@
1
- /* hash: 124sc */
1
+ /* hash: 18ug2 */
2
2
  :root {
3
3
  --color-light-text-primary: #0b1f35;
4
4
  }
@@ -31,19 +31,19 @@
31
31
 
32
32
  /* header */
33
33
  }
34
- .confirmation__typographyTheme_qdm0g {
34
+ .confirmation__typographyTheme_f5bna {
35
35
  font-size: var(--confirmation-text-font-size);
36
36
  line-height: var(--confirmation-text-line-height);
37
37
  font-weight: var(--confirmation-text-font-weight);
38
38
  font-family: var(--confirmation-text-font-family);
39
39
  color: var(--confirmation-text-color);
40
40
  }
41
- .confirmation__left_qdm0g {
41
+ .confirmation__left_f5bna {
42
42
  align-items: flex-start;
43
43
  }
44
- .confirmation__center_qdm0g {
44
+ .confirmation__center_f5bna {
45
45
  align-items: center;
46
46
  }
47
- .confirmation__button_qdm0g {
47
+ .confirmation__button_f5bna {
48
48
  margin-top: var(--gap-2xl);
49
49
  }
@@ -2,7 +2,7 @@ import 'react';
2
2
  import 'classnames';
3
3
  import '../../../utils.js';
4
4
  import '../../../context.js';
5
- import '@alfalab/core-components-typography/modern';
6
5
  import '@alfalab/core-components-button/modern';
6
+ import '@alfalab/core-components-typography/modern';
7
7
  import '../../header/component.js';
8
8
  export { FatalError } from './component.js';
@@ -2,12 +2,12 @@ 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 { Button } from '@alfalab/core-components-button/modern';
5
6
  import { Link } from '@alfalab/core-components-link/modern';
6
7
  import { Typography } from '@alfalab/core-components-typography/modern';
7
- import { Button } from '@alfalab/core-components-button/modern';
8
8
  import { Header } from '../../header/component.js';
9
9
 
10
- var styles = {"center":"confirmation__center_1hlx4","hintWrap":"confirmation__hintWrap_1hlx4","text":"confirmation__text_1hlx4","typographyTheme":"confirmation__typographyTheme_1hlx4","phonesWrap":"confirmation__phonesWrap_1hlx4","phoneWrap":"confirmation__phoneWrap_1hlx4","phoneLink":"confirmation__phoneLink_1hlx4","hintButton":"confirmation__hintButton_1hlx4","phoneContentMobile":"confirmation__phoneContentMobile_1hlx4"};
10
+ var styles = {"center":"confirmation__center_v4nxc","hintWrap":"confirmation__hintWrap_v4nxc","text":"confirmation__text_v4nxc","typographyTheme":"confirmation__typographyTheme_v4nxc","phonesWrap":"confirmation__phonesWrap_v4nxc","phoneWrap":"confirmation__phoneWrap_v4nxc","phoneLink":"confirmation__phoneLink_v4nxc","hintButton":"confirmation__hintButton_v4nxc","phoneContentMobile":"confirmation__phoneContentMobile_v4nxc"};
11
11
  require('./index.css')
12
12
 
13
13
  const Hint = ({ mobile }) => {
@@ -1,4 +1,4 @@
1
- /* hash: 1pdya */
1
+ /* hash: 1c99e */
2
2
  :root {
3
3
  --color-light-text-primary: #0b1f35;
4
4
  }
@@ -33,47 +33,47 @@
33
33
 
34
34
  /* header */
35
35
  }
36
- .confirmation__center_1hlx4 .confirmation__hintWrap_1hlx4 {
36
+ .confirmation__center_v4nxc .confirmation__hintWrap_v4nxc {
37
37
  align-items: center;
38
38
  }
39
- .confirmation__hintWrap_1hlx4 {
39
+ .confirmation__hintWrap_v4nxc {
40
40
  display: flex;
41
41
  flex-direction: column;
42
42
  align-items: flex-start
43
43
  }
44
- .confirmation__hintWrap_1hlx4 span:last-of-type {
44
+ .confirmation__hintWrap_v4nxc span:last-of-type {
45
45
  margin-bottom: 0;
46
46
  }
47
- .confirmation__text_1hlx4 {
47
+ .confirmation__text_v4nxc {
48
48
  margin-bottom: var(--gap-xl);
49
49
  }
50
- .confirmation__typographyTheme_1hlx4 {
50
+ .confirmation__typographyTheme_v4nxc {
51
51
  font-size: var(--confirmation-text-font-size);
52
52
  line-height: var(--confirmation-text-line-height);
53
53
  font-weight: var(--confirmation-text-font-weight);
54
54
  font-family: var(--confirmation-text-font-family);
55
55
  color: var(--confirmation-text-color);
56
56
  }
57
- .confirmation__phonesWrap_1hlx4 {
57
+ .confirmation__phonesWrap_v4nxc {
58
58
  display: flex;
59
59
  flex-direction: column;
60
60
  margin-bottom: var(--gap-xl);
61
61
  }
62
- .confirmation__phoneWrap_1hlx4 {
62
+ .confirmation__phoneWrap_v4nxc {
63
63
  margin-bottom: var(--gap-xs)
64
64
  }
65
- .confirmation__phoneWrap_1hlx4:last-child {
65
+ .confirmation__phoneWrap_v4nxc:last-child {
66
66
  margin-bottom: 0;
67
67
  }
68
- .confirmation__phoneLink_1hlx4 {
68
+ .confirmation__phoneLink_v4nxc {
69
69
  font-size: 16px;
70
70
  line-height: 24px;
71
71
  font-weight: 500;
72
72
  }
73
- .confirmation__hintButton_1hlx4 {
73
+ .confirmation__hintButton_v4nxc {
74
74
  margin-top: var(--gap-2xl);
75
75
  }
76
- .confirmation__phoneContentMobile_1hlx4 {
76
+ .confirmation__phoneContentMobile_v4nxc {
77
77
  display: flex;
78
78
  flex-direction: column;
79
79
  align-items: center;
@@ -2,8 +2,8 @@ import 'react';
2
2
  import 'classnames';
3
3
  import '../../../utils.js';
4
4
  import '../../../context.js';
5
+ import '@alfalab/core-components-button/modern';
5
6
  import '@alfalab/core-components-link/modern';
6
7
  import '@alfalab/core-components-typography/modern';
7
- import '@alfalab/core-components-button/modern';
8
8
  import '../../header/component.js';
9
9
  export { Hint } from './component.js';
@@ -3,13 +3,13 @@ import 'classnames';
3
3
  import '@alfalab/hooks';
4
4
  import '../../utils.js';
5
5
  import '../../context.js';
6
+ import '@alfalab/core-components-button/modern';
6
7
  import '@alfalab/core-components-code-input/modern';
7
8
  import '@alfalab/core-components-link/modern';
8
9
  import '@alfalab/core-components-typography/modern';
9
- import '@alfalab/core-components-button/modern';
10
10
  import '../header/component.js';
11
11
  import '@alfalab/core-components-loader/modern';
12
- import '../../countdown-section-f68f4069.js';
12
+ import '../../countdown-section-9ba68311.js';
13
13
  export { Initial } from './initial/component.js';
14
14
  export { Hint } from './hint/component.js';
15
15
  export { FatalError } from './fatal-error/component.js';
@@ -3,13 +3,13 @@ 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 { Button } from '@alfalab/core-components-button/modern';
6
7
  import { CodeInput } from '@alfalab/core-components-code-input/modern';
7
8
  import { Link } from '@alfalab/core-components-link/modern';
8
9
  import { Typography } from '@alfalab/core-components-typography/modern';
9
- import { Button } from '@alfalab/core-components-button/modern';
10
10
  import { Header } from '../../header/component.js';
11
11
  import '@alfalab/core-components-loader/modern';
12
- import { s as styles, C as CountdownSection } from '../../../countdown-section-f68f4069.js';
12
+ import { s as styles, C as CountdownSection } from '../../../countdown-section-9ba68311.js';
13
13
 
14
14
  const CODE_SEND_HINT_VISIBLE_DURATION = 2000;
15
15
  const Initial = ({ mobile }) => {
@@ -2,7 +2,7 @@ import 'react';
2
2
  import 'classnames';
3
3
  import '../../../utils.js';
4
4
  import '../../../context.js';
5
- import '@alfalab/core-components-typography/modern';
6
5
  import '@alfalab/core-components-button/modern';
6
+ import '@alfalab/core-components-typography/modern';
7
7
  import '@alfalab/core-components-loader/modern';
8
- export { C as CountdownSection } from '../../../countdown-section-f68f4069.js';
8
+ export { C as CountdownSection } from '../../../countdown-section-9ba68311.js';
@@ -1,4 +1,4 @@
1
- /* hash: 1s91r */
1
+ /* hash: ipu48 */
2
2
  :root {
3
3
  --color-light-text-primary: #0b1f35;
4
4
  --color-light-text-secondary: rgba(11, 31, 53, 0.7);
@@ -38,67 +38,67 @@
38
38
 
39
39
  /* header */
40
40
  }
41
- .confirmation__component_q2tga {
41
+ .confirmation__component_lii92 {
42
42
  display: flex;
43
43
  flex-direction: column;
44
44
  }
45
- .confirmation__typographyTheme_q2tga {
45
+ .confirmation__typographyTheme_lii92 {
46
46
  font-size: var(--confirmation-text-font-size);
47
47
  line-height: var(--confirmation-text-line-height);
48
48
  font-weight: var(--confirmation-text-font-weight);
49
49
  font-family: var(--confirmation-text-font-family);
50
50
  color: var(--confirmation-text-color);
51
51
  }
52
- .confirmation__phone_q2tga {
52
+ .confirmation__phone_lii92 {
53
53
  color: var(--color-light-text-primary);
54
54
  margin-bottom: var(--gap-2xl);
55
55
  }
56
- .confirmation__compact_q2tga {
56
+ .confirmation__compact_lii92 {
57
57
  margin-bottom: var(--gap-xl);
58
58
  }
59
- .confirmation__loaderWrap_q2tga {
59
+ .confirmation__loaderWrap_lii92 {
60
60
  display: flex;
61
61
  align-items: center;
62
62
  }
63
- .confirmation__left_q2tga {
63
+ .confirmation__left_lii92 {
64
64
  align-items: flex-start;
65
65
  }
66
- .confirmation__center_q2tga {
66
+ .confirmation__center_lii92 {
67
67
  align-items: center;
68
68
  text-align: center
69
69
  }
70
- .confirmation__center_q2tga .confirmation__loaderWrap_q2tga {
70
+ .confirmation__center_lii92 .confirmation__loaderWrap_lii92 {
71
71
  justify-content: center;
72
72
  }
73
- .confirmation__center_q2tga input {
73
+ .confirmation__center_lii92 input {
74
74
  margin: 0 var(--gap-2xs);
75
75
  }
76
- .confirmation__codeInput_q2tga {
76
+ .confirmation__codeInput_lii92 {
77
77
  margin-bottom: var(--gap-s);
78
78
  }
79
- .confirmation__smsComeLink_q2tga {
79
+ .confirmation__smsComeLink_lii92 {
80
80
  font-size: 14px;
81
81
  line-height: 20px;
82
82
  font-weight: 500;
83
83
  }
84
- .confirmation__countdownContainer_q2tga {
84
+ .confirmation__countdownContainer_lii92 {
85
85
  color: var(--color-light-text-secondary);
86
86
  margin-bottom: var(--gap-xl);
87
87
  }
88
- .confirmation__countdownMobile_q2tga {
88
+ .confirmation__countdownMobile_lii92 {
89
89
  margin-bottom: var(--gap-l);
90
90
  }
91
- .confirmation__countdownLoaderMobile_q2tga {
91
+ .confirmation__countdownLoaderMobile_lii92 {
92
92
  margin-bottom: var(--gap-m);
93
93
  }
94
- .confirmation__getCodeButton_q2tga {
94
+ .confirmation__getCodeButton_lii92 {
95
95
  position: relative;
96
96
  top: var(--gap-2xs-neg);
97
97
  margin-bottom: var(--gap-m);
98
98
  }
99
- .confirmation__getCodeButtonMobile_q2tga {
99
+ .confirmation__getCodeButtonMobile_lii92 {
100
100
  margin-bottom: 0;
101
101
  }
102
- .confirmation__containerInput_q2tga {
102
+ .confirmation__containerInput_lii92 {
103
103
  min-height: 80px;
104
104
  }
@@ -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-button/modern';
6
7
  import '@alfalab/core-components-code-input/modern';
7
8
  import '@alfalab/core-components-link/modern';
8
9
  import '@alfalab/core-components-typography/modern';
9
- import '@alfalab/core-components-button/modern';
10
10
  import '../../header/component.js';
11
11
  import '@alfalab/core-components-loader/modern';
12
- import '../../../countdown-section-f68f4069.js';
12
+ import '../../../countdown-section-9ba68311.js';
13
13
  export { Initial } from './component.js';
@@ -6,7 +6,7 @@ import { Typography } from '@alfalab/core-components-typography/modern';
6
6
  import { Header } from '../../header/component.js';
7
7
  import { CountdownLoader } from '../../countdown-loader/component.js';
8
8
 
9
- var styles = {"typographyTheme":"confirmation__typographyTheme_3vwk1","description":"confirmation__description_3vwk1","countdownWrap":"confirmation__countdownWrap_3vwk1","loader":"confirmation__loader_3vwk1"};
9
+ var styles = {"typographyTheme":"confirmation__typographyTheme_17g86","description":"confirmation__description_17g86","countdownWrap":"confirmation__countdownWrap_17g86","loader":"confirmation__loader_17g86"};
10
10
  require('./index.css')
11
11
 
12
12
  const TempBlock = ({ mobile }) => {
@@ -1,4 +1,4 @@
1
- /* hash: 1at28 */
1
+ /* hash: 19um2 */
2
2
  :root {
3
3
  --color-light-text-primary: #0b1f35;
4
4
  }
@@ -31,20 +31,20 @@
31
31
 
32
32
  /* header */
33
33
  }
34
- .confirmation__typographyTheme_3vwk1 {
34
+ .confirmation__typographyTheme_17g86 {
35
35
  font-size: var(--confirmation-text-font-size);
36
36
  line-height: var(--confirmation-text-line-height);
37
37
  font-weight: var(--confirmation-text-font-weight);
38
38
  font-family: var(--confirmation-text-font-family);
39
39
  color: var(--confirmation-text-color);
40
40
  }
41
- .confirmation__description_3vwk1 {
41
+ .confirmation__description_17g86 {
42
42
  margin-bottom: var(--gap-xs);
43
43
  }
44
- .confirmation__countdownWrap_3vwk1 {
44
+ .confirmation__countdownWrap_17g86 {
45
45
  display: flex;
46
46
  align-items: center;
47
47
  }
48
- .confirmation__loader_3vwk1 {
48
+ .confirmation__loader_17g86 {
49
49
  margin-right: var(--gap-xs);
50
50
  }
@@ -2,11 +2,11 @@ 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 { Typography } from '@alfalab/core-components-typography/modern';
6
5
  import { Button } from '@alfalab/core-components-button/modern';
6
+ import { Typography } from '@alfalab/core-components-typography/modern';
7
7
  import { Loader } from '@alfalab/core-components-loader/modern';
8
8
 
9
- var styles = {"component":"confirmation__component_q2tga","typographyTheme":"confirmation__typographyTheme_q2tga","phone":"confirmation__phone_q2tga","compact":"confirmation__compact_q2tga","loaderWrap":"confirmation__loaderWrap_q2tga","left":"confirmation__left_q2tga","center":"confirmation__center_q2tga","codeInput":"confirmation__codeInput_q2tga","smsComeLink":"confirmation__smsComeLink_q2tga","countdownContainer":"confirmation__countdownContainer_q2tga","countdownMobile":"confirmation__countdownMobile_q2tga","countdownLoaderMobile":"confirmation__countdownLoaderMobile_q2tga","getCodeButton":"confirmation__getCodeButton_q2tga","getCodeButtonMobile":"confirmation__getCodeButtonMobile_q2tga","containerInput":"confirmation__containerInput_q2tga"};
9
+ var styles = {"component":"confirmation__component_lii92","typographyTheme":"confirmation__typographyTheme_lii92","phone":"confirmation__phone_lii92","compact":"confirmation__compact_lii92","loaderWrap":"confirmation__loaderWrap_lii92","left":"confirmation__left_lii92","center":"confirmation__center_lii92","codeInput":"confirmation__codeInput_lii92","smsComeLink":"confirmation__smsComeLink_lii92","countdownContainer":"confirmation__countdownContainer_lii92","countdownMobile":"confirmation__countdownMobile_lii92","countdownLoaderMobile":"confirmation__countdownLoaderMobile_lii92","getCodeButton":"confirmation__getCodeButton_lii92","getCodeButtonMobile":"confirmation__getCodeButtonMobile_lii92","containerInput":"confirmation__containerInput_lii92"};
10
10
  require('./components/screens/initial/index.css')
11
11
 
12
12
  const CountdownSection = ({ codeSendHintVisible, timePassed, processing, mobile, handleSmsRetryClick, }) => {
package/modern/desktop.js CHANGED
@@ -4,13 +4,13 @@ import '@alfalab/hooks';
4
4
  import './utils.js';
5
5
  import './context.js';
6
6
  import './types.js';
7
+ import '@alfalab/core-components-button/modern';
7
8
  import '@alfalab/core-components-code-input/modern';
8
9
  import '@alfalab/core-components-link/modern';
9
10
  import '@alfalab/core-components-typography/modern';
10
- import '@alfalab/core-components-button/modern';
11
11
  import './components/header/component.js';
12
12
  import '@alfalab/core-components-loader/modern';
13
- import './countdown-section-f68f4069.js';
13
+ import './countdown-section-9ba68311.js';
14
14
  import './components/screens/initial/component.js';
15
15
  import './components/screens/hint/component.js';
16
16
  import './components/screens/fatal-error/component.js';