@alfalab/core-components-confirmation 12.2.3 → 12.2.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.
- package/{component-f8aaad22.d.ts → component-31d94208.d.ts} +0 -0
- package/{component-f8aaad22.js → component-31d94208.js} +1 -1
- package/component.desktop.js +2 -2
- package/component.mobile.js +3 -3
- package/component.responsive.js +2 -2
- package/components/base-confirmation/component.js +2 -2
- package/components/base-confirmation/index.css +3 -3
- package/components/base-confirmation/index.d.ts +1 -1
- package/components/base-confirmation/index.js +2 -2
- package/components/countdown-loader/component.js +1 -1
- package/components/countdown-loader/index.css +2 -2
- package/components/header/component.js +1 -1
- package/components/header/index.css +4 -4
- package/components/index.js +1 -1
- package/components/screens/fatal-error/component.js +1 -1
- package/components/screens/fatal-error/index.css +5 -5
- package/components/screens/hint/component.js +7 -3
- package/components/screens/hint/index.css +12 -12
- package/components/screens/index.js +1 -1
- package/components/screens/initial/component.js +1 -1
- package/components/screens/initial/countdown-section.js +1 -1
- package/components/screens/initial/index.css +18 -18
- package/components/screens/initial/index.js +1 -1
- package/components/screens/temp-block/component.js +1 -1
- package/components/screens/temp-block/index.css +5 -5
- package/{countdown-section-68318269.d.ts → countdown-section-b9df86d5.d.ts} +0 -0
- package/{countdown-section-68318269.js → countdown-section-b9df86d5.js} +1 -1
- package/cssm/{component-4b21185d.d.ts → component-c0d561b6.d.ts} +0 -0
- package/cssm/{component-4b21185d.js → component-c0d561b6.js} +0 -0
- package/cssm/component.desktop.js +1 -1
- package/cssm/component.mobile.js +1 -1
- package/cssm/component.responsive.js +1 -1
- package/cssm/components/base-confirmation/component.js +1 -1
- package/cssm/components/base-confirmation/index.d.ts +1 -1
- package/cssm/components/base-confirmation/index.js +1 -1
- package/cssm/components/screens/hint/component.js +6 -2
- package/cssm/desktop.js +1 -1
- package/cssm/index.js +1 -1
- package/cssm/mobile.js +1 -1
- package/cssm/responsive.js +1 -1
- package/desktop.js +2 -2
- package/esm/{component-299f3d2b.d.ts → component-079a15ec.d.ts} +0 -0
- package/esm/{component-299f3d2b.js → component-079a15ec.js} +1 -1
- package/esm/component.desktop.js +2 -2
- package/esm/component.mobile.js +3 -3
- package/esm/component.responsive.js +2 -2
- package/esm/components/base-confirmation/component.js +2 -2
- package/esm/components/base-confirmation/index.css +3 -3
- package/esm/components/base-confirmation/index.d.ts +1 -1
- package/esm/components/base-confirmation/index.js +2 -2
- package/esm/components/countdown-loader/component.js +1 -1
- package/esm/components/countdown-loader/index.css +2 -2
- package/esm/components/header/component.js +1 -1
- package/esm/components/header/index.css +4 -4
- package/esm/components/index.js +1 -1
- package/esm/components/screens/fatal-error/component.js +1 -1
- package/esm/components/screens/fatal-error/index.css +5 -5
- package/esm/components/screens/hint/component.js +7 -3
- package/esm/components/screens/hint/index.css +12 -12
- package/esm/components/screens/index.js +1 -1
- package/esm/components/screens/initial/component.js +1 -1
- package/esm/components/screens/initial/countdown-section.js +1 -1
- package/esm/components/screens/initial/index.css +18 -18
- package/esm/components/screens/initial/index.js +1 -1
- package/esm/components/screens/temp-block/component.js +1 -1
- package/esm/components/screens/temp-block/index.css +5 -5
- package/esm/{countdown-section-63fb6745.d.ts → countdown-section-2d096a10.d.ts} +0 -0
- package/esm/{countdown-section-63fb6745.js → countdown-section-2d096a10.js} +1 -1
- package/esm/desktop.js +2 -2
- package/esm/index.js +2 -2
- package/esm/mobile.css +2 -2
- package/esm/mobile.js +2 -2
- package/esm/responsive.js +2 -2
- package/index.js +2 -2
- package/mobile.css +2 -2
- package/mobile.js +2 -2
- package/modern/component.desktop.js +2 -2
- package/modern/component.mobile.js +2 -2
- package/modern/component.responsive.js +2 -2
- package/modern/components/base-confirmation/component.js +2 -2
- package/modern/components/base-confirmation/index.css +3 -3
- package/modern/components/base-confirmation/index.js +1 -1
- package/modern/components/countdown-loader/component.js +1 -1
- package/modern/components/countdown-loader/index.css +2 -2
- package/modern/components/header/component.js +1 -1
- package/modern/components/header/index.css +4 -4
- package/modern/components/index.js +1 -1
- package/modern/components/screens/fatal-error/component.js +1 -1
- package/modern/components/screens/fatal-error/index.css +5 -5
- package/modern/components/screens/hint/component.js +7 -3
- package/modern/components/screens/hint/index.css +12 -12
- package/modern/components/screens/index.js +1 -1
- package/modern/components/screens/initial/component.js +2 -2
- package/modern/components/screens/initial/countdown-section.js +1 -1
- package/modern/components/screens/initial/index.css +18 -18
- package/modern/components/screens/initial/index.js +1 -1
- package/modern/components/screens/temp-block/component.js +1 -1
- package/modern/components/screens/temp-block/index.css +5 -5
- package/modern/{countdown-section-4c8d60ef.d.ts → countdown-section-f8b16386.d.ts} +0 -0
- package/modern/{countdown-section-4c8d60ef.js → countdown-section-f8b16386.js} +1 -1
- package/modern/desktop.js +1 -1
- package/modern/index.js +1 -1
- package/modern/mobile.css +2 -2
- package/modern/mobile.js +1 -1
- package/modern/responsive.js +1 -1
- package/package.json +2 -2
- package/responsive.js +2 -2
- package/send-stats.js +1 -1
package/esm/responsive.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import './component-
|
|
1
|
+
import './component-079a15ec.js';
|
|
2
2
|
import 'react';
|
|
3
3
|
import 'classnames';
|
|
4
4
|
import '@alfalab/hooks';
|
|
@@ -11,7 +11,7 @@ import '@alfalab/core-components-link/esm';
|
|
|
11
11
|
import '@alfalab/core-components-typography/esm';
|
|
12
12
|
import './components/header/component.js';
|
|
13
13
|
import '@alfalab/core-components-loader/esm';
|
|
14
|
-
import './countdown-section-
|
|
14
|
+
import './countdown-section-2d096a10.js';
|
|
15
15
|
import './components/screens/initial/component.js';
|
|
16
16
|
import './components/screens/hint/component.js';
|
|
17
17
|
import './components/screens/fatal-error/component.js';
|
package/index.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
require('./component-
|
|
5
|
+
require('./component-31d94208.js');
|
|
6
6
|
require('react');
|
|
7
7
|
require('classnames');
|
|
8
8
|
require('@alfalab/hooks');
|
|
@@ -15,7 +15,7 @@ require('@alfalab/core-components-link');
|
|
|
15
15
|
require('@alfalab/core-components-typography');
|
|
16
16
|
require('./components/header/component.js');
|
|
17
17
|
require('@alfalab/core-components-loader');
|
|
18
|
-
require('./countdown-section-
|
|
18
|
+
require('./countdown-section-b9df86d5.js');
|
|
19
19
|
var components_screens_initial_component = require('./components/screens/initial/component.js');
|
|
20
20
|
var components_screens_hint_component = require('./components/screens/hint/component.js');
|
|
21
21
|
var components_screens_fatalError_component = require('./components/screens/fatal-error/component.js');
|
package/mobile.css
CHANGED
package/mobile.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
require('./component-
|
|
5
|
+
require('./component-31d94208.js');
|
|
6
6
|
require('react');
|
|
7
7
|
require('classnames');
|
|
8
8
|
require('@alfalab/hooks');
|
|
@@ -15,7 +15,7 @@ require('@alfalab/core-components-link');
|
|
|
15
15
|
require('@alfalab/core-components-typography');
|
|
16
16
|
require('./components/header/component.js');
|
|
17
17
|
require('@alfalab/core-components-loader');
|
|
18
|
-
require('./countdown-section-
|
|
18
|
+
require('./countdown-section-b9df86d5.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');
|
|
@@ -10,7 +10,7 @@ import '@alfalab/core-components-link/modern';
|
|
|
10
10
|
import '@alfalab/core-components-typography/modern';
|
|
11
11
|
import './components/header/component.js';
|
|
12
12
|
import '@alfalab/core-components-loader/modern';
|
|
13
|
-
import './countdown-section-
|
|
13
|
+
import './countdown-section-f8b16386.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, { ...props }));
|
|
21
|
+
const ConfirmationDesktop = (props) => (React.createElement(BaseConfirmation, { ...props }));
|
|
22
22
|
|
|
23
23
|
export { ConfirmationDesktop };
|
|
@@ -10,7 +10,7 @@ import '@alfalab/core-components-link/modern';
|
|
|
10
10
|
import '@alfalab/core-components-typography/modern';
|
|
11
11
|
import './components/header/component.js';
|
|
12
12
|
import '@alfalab/core-components-loader/modern';
|
|
13
|
-
import './countdown-section-
|
|
13
|
+
import './countdown-section-f8b16386.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,7 +18,7 @@ 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":"
|
|
21
|
+
var styles = {"container":"confirmation__container_1y2dk"};
|
|
22
22
|
require('./mobile.css')
|
|
23
23
|
|
|
24
24
|
const ConfirmationMobile = ({ className, ...resProps }) => (React.createElement(BaseConfirmation, { mobile: true, className: cn(className, styles.container), ...resProps }));
|
|
@@ -10,7 +10,7 @@ import '@alfalab/core-components-link/modern';
|
|
|
10
10
|
import '@alfalab/core-components-typography/modern';
|
|
11
11
|
import './components/header/component.js';
|
|
12
12
|
import '@alfalab/core-components-loader/modern';
|
|
13
|
-
import './countdown-section-
|
|
13
|
+
import './countdown-section-f8b16386.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';
|
|
@@ -20,7 +20,7 @@ import './components/base-confirmation/component.js';
|
|
|
20
20
|
import { ConfirmationDesktop } from './component.desktop.js';
|
|
21
21
|
import { ConfirmationMobile } from './component.mobile.js';
|
|
22
22
|
|
|
23
|
-
const ConfirmationResponsive = props => {
|
|
23
|
+
const ConfirmationResponsive = (props) => {
|
|
24
24
|
const [view] = useMedia([
|
|
25
25
|
['mobile', '(max-width: 1023px)'],
|
|
26
26
|
['desktop', '(min-width: 1024px)'],
|
|
@@ -10,14 +10,14 @@ import '@alfalab/core-components-link/modern';
|
|
|
10
10
|
import '@alfalab/core-components-typography/modern';
|
|
11
11
|
import '../header/component.js';
|
|
12
12
|
import '@alfalab/core-components-loader/modern';
|
|
13
|
-
import '../../countdown-section-
|
|
13
|
+
import '../../countdown-section-f8b16386.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":"
|
|
20
|
+
var styles = {"component":"confirmation__component_impw5","center":"confirmation__center_impw5"};
|
|
21
21
|
require('./index.css')
|
|
22
22
|
|
|
23
23
|
const confirmationScreens = {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1b9qe */
|
|
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
|
-
.
|
|
13
|
+
.confirmation__component_impw5 {
|
|
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
|
-
.
|
|
21
|
+
.confirmation__center_impw5 {
|
|
22
22
|
align-items: center;
|
|
23
23
|
text-align: center;
|
|
24
24
|
}
|
|
@@ -10,7 +10,7 @@ import '@alfalab/core-components-link/modern';
|
|
|
10
10
|
import '@alfalab/core-components-typography/modern';
|
|
11
11
|
import '../header/component.js';
|
|
12
12
|
import '@alfalab/core-components-loader/modern';
|
|
13
|
-
import '../../countdown-section-
|
|
13
|
+
import '../../countdown-section-f8b16386.js';
|
|
14
14
|
import '../screens/initial/component.js';
|
|
15
15
|
import '../screens/hint/component.js';
|
|
16
16
|
import '../screens/fatal-error/component.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1flyr */
|
|
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
|
-
.
|
|
13
|
+
.confirmation__circle_nj9ny {
|
|
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":"
|
|
5
|
+
var styles = {"header":"confirmation__header_1f0im","typography":"confirmation__typography_1f0im","typographyMobile":"confirmation__typographyMobile_1f0im"};
|
|
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:
|
|
1
|
+
/* hash: 1snyq */
|
|
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
|
-
.
|
|
35
|
+
.confirmation__header_1f0im {
|
|
36
36
|
margin-bottom: var(--gap-xl);
|
|
37
37
|
}
|
|
38
|
-
.
|
|
38
|
+
.confirmation__typography_1f0im {
|
|
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
|
-
.
|
|
45
|
+
.confirmation__typographyMobile_1f0im {
|
|
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);
|
|
@@ -9,7 +9,7 @@ import '@alfalab/core-components-link/modern';
|
|
|
9
9
|
import '@alfalab/core-components-typography/modern';
|
|
10
10
|
import './header/component.js';
|
|
11
11
|
import '@alfalab/core-components-loader/modern';
|
|
12
|
-
import '../countdown-section-
|
|
12
|
+
import '../countdown-section-f8b16386.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';
|
|
@@ -6,7 +6,7 @@ import { Button } from '@alfalab/core-components-button/modern';
|
|
|
6
6
|
import { Typography } from '@alfalab/core-components-typography/modern';
|
|
7
7
|
import { Header } from '../../header/component.js';
|
|
8
8
|
|
|
9
|
-
var styles = {"typographyTheme":"
|
|
9
|
+
var styles = {"typographyTheme":"confirmation__typographyTheme_z1nup","left":"confirmation__left_z1nup","center":"confirmation__center_z1nup","button":"confirmation__button_z1nup"};
|
|
10
10
|
require('./index.css')
|
|
11
11
|
|
|
12
12
|
const FatalError = ({ mobile }) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 107ut */
|
|
2
2
|
:root {
|
|
3
3
|
--color-light-text-primary: #0b1f35;
|
|
4
4
|
}
|
|
@@ -31,19 +31,19 @@
|
|
|
31
31
|
|
|
32
32
|
/* header */
|
|
33
33
|
}
|
|
34
|
-
.
|
|
34
|
+
.confirmation__typographyTheme_z1nup {
|
|
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
|
-
.
|
|
41
|
+
.confirmation__left_z1nup {
|
|
42
42
|
align-items: flex-start;
|
|
43
43
|
}
|
|
44
|
-
.
|
|
44
|
+
.confirmation__center_z1nup {
|
|
45
45
|
align-items: center;
|
|
46
46
|
}
|
|
47
|
-
.
|
|
47
|
+
.confirmation__button_z1nup {
|
|
48
48
|
margin-top: var(--gap-2xl);
|
|
49
49
|
}
|
|
@@ -7,7 +7,7 @@ import { Link } from '@alfalab/core-components-link/modern';
|
|
|
7
7
|
import { Typography } from '@alfalab/core-components-typography/modern';
|
|
8
8
|
import { Header } from '../../header/component.js';
|
|
9
9
|
|
|
10
|
-
var styles = {"center":"
|
|
10
|
+
var styles = {"center":"confirmation__center_7pq8w","hintWrap":"confirmation__hintWrap_7pq8w","text":"confirmation__text_7pq8w","typographyTheme":"confirmation__typographyTheme_7pq8w","phonesWrap":"confirmation__phonesWrap_7pq8w","phoneWrap":"confirmation__phoneWrap_7pq8w","phoneLink":"confirmation__phoneLink_7pq8w","hintButton":"confirmation__hintButton_7pq8w","phoneContentMobile":"confirmation__phoneContentMobile_7pq8w"};
|
|
11
11
|
require('./index.css')
|
|
12
12
|
|
|
13
13
|
const Hint = ({ mobile }) => {
|
|
@@ -23,10 +23,14 @@ const Hint = ({ mobile }) => {
|
|
|
23
23
|
React.createElement("div", { className: styles.phonesWrap },
|
|
24
24
|
React.createElement("div", { className: cn(styles.phoneWrap, { [styles.phoneContentMobile]: mobile }) },
|
|
25
25
|
React.createElement(Link, { href: 'tel:+78002000000', underline: false, className: styles.phoneLink }, "8 800 200-00-00"),
|
|
26
|
-
React.createElement(Typography.Text, { view: 'primary-medium', color: 'primary', className: cn(styles.text, { [styles.typographyTheme]: !mobile }) }, mobile
|
|
26
|
+
React.createElement(Typography.Text, { view: 'primary-medium', color: 'primary', className: cn(styles.text, { [styles.typographyTheme]: !mobile }) }, mobile
|
|
27
|
+
? 'Для\u00A0 звонков по\u00A0России'
|
|
28
|
+
: ' \u2014\u00A0для звонков по\u00A0России')),
|
|
27
29
|
React.createElement("div", { className: cn(styles.phoneWrap, { [styles.phoneContentMobile]: mobile }) },
|
|
28
30
|
React.createElement(Link, { href: 'tel:+74957888878', underline: false, className: styles.phoneLink }, "+7 495 78-888-78"),
|
|
29
|
-
React.createElement(Typography.Text, { view: 'primary-medium', color: 'primary', className: cn(styles.text, { [styles.typographyTheme]: !mobile }) }, mobile
|
|
31
|
+
React.createElement(Typography.Text, { view: 'primary-medium', color: 'primary', className: cn(styles.text, { [styles.typographyTheme]: !mobile }) }, mobile
|
|
32
|
+
? 'В\u00A0Москве и\u00A0за\u00A0границей'
|
|
33
|
+
: ' \u2014\u00A0в\u00A0Москве и\u00A0за\u00A0границей'))),
|
|
30
34
|
React.createElement(Typography.Text, { view: 'primary-medium', color: 'primary', className: cn(styles.text, { [styles.typographyTheme]: !mobile }) }, "\u0415\u0441\u043B\u0438 \u043D\u043E\u043C\u0435\u0440 \u043D\u0435\u00A0\u043C\u0435\u043D\u044F\u043B\u0441\u044F, \u0432\u043E\u0437\u043C\u043E\u0436\u043D\u043E, \u043F\u0435\u0440\u0435\u0433\u0440\u0443\u0436\u0435\u043D \u0441\u0435\u0440\u0432\u0438\u0441 \u043E\u0442\u043F\u0440\u0430\u0432\u043A\u0438 \u0441\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u0439. \u041F\u043E\u043F\u0440\u043E\u0431\u0443\u0439\u0442\u0435 \u043F\u043E\u0432\u0442\u043E\u0440\u0438\u0442\u044C \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0435 \u0447\u0435\u0440\u0435\u0437 \u043D\u0435\u0441\u043A\u043E\u043B\u044C\u043A\u043E \u043C\u0438\u043D\u0443\u0442."),
|
|
31
35
|
React.createElement(Button, { size: mobile ? 'xs' : 's', view: 'secondary', onClick: handleReturnButtonClick, className: styles.hintButton }, texts.hintButton))));
|
|
32
36
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: nvhm0 */
|
|
2
2
|
:root {
|
|
3
3
|
--color-light-text-primary: #0b1f35;
|
|
4
4
|
}
|
|
@@ -33,47 +33,47 @@
|
|
|
33
33
|
|
|
34
34
|
/* header */
|
|
35
35
|
}
|
|
36
|
-
.
|
|
36
|
+
.confirmation__center_7pq8w .confirmation__hintWrap_7pq8w {
|
|
37
37
|
align-items: center;
|
|
38
38
|
}
|
|
39
|
-
.
|
|
39
|
+
.confirmation__hintWrap_7pq8w {
|
|
40
40
|
display: flex;
|
|
41
41
|
flex-direction: column;
|
|
42
42
|
align-items: flex-start
|
|
43
43
|
}
|
|
44
|
-
.
|
|
44
|
+
.confirmation__hintWrap_7pq8w span:last-of-type {
|
|
45
45
|
margin-bottom: 0;
|
|
46
46
|
}
|
|
47
|
-
.
|
|
47
|
+
.confirmation__text_7pq8w {
|
|
48
48
|
margin-bottom: var(--gap-xl);
|
|
49
49
|
}
|
|
50
|
-
.
|
|
50
|
+
.confirmation__typographyTheme_7pq8w {
|
|
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
|
-
.
|
|
57
|
+
.confirmation__phonesWrap_7pq8w {
|
|
58
58
|
display: flex;
|
|
59
59
|
flex-direction: column;
|
|
60
60
|
margin-bottom: var(--gap-xl);
|
|
61
61
|
}
|
|
62
|
-
.
|
|
62
|
+
.confirmation__phoneWrap_7pq8w {
|
|
63
63
|
margin-bottom: var(--gap-xs)
|
|
64
64
|
}
|
|
65
|
-
.
|
|
65
|
+
.confirmation__phoneWrap_7pq8w:last-child {
|
|
66
66
|
margin-bottom: 0;
|
|
67
67
|
}
|
|
68
|
-
.
|
|
68
|
+
.confirmation__phoneLink_7pq8w {
|
|
69
69
|
font-size: 16px;
|
|
70
70
|
line-height: 24px;
|
|
71
71
|
font-weight: 500;
|
|
72
72
|
}
|
|
73
|
-
.
|
|
73
|
+
.confirmation__hintButton_7pq8w {
|
|
74
74
|
margin-top: var(--gap-2xl);
|
|
75
75
|
}
|
|
76
|
-
.
|
|
76
|
+
.confirmation__phoneContentMobile_7pq8w {
|
|
77
77
|
display: flex;
|
|
78
78
|
flex-direction: column;
|
|
79
79
|
align-items: center;
|
|
@@ -9,7 +9,7 @@ import '@alfalab/core-components-link/modern';
|
|
|
9
9
|
import '@alfalab/core-components-typography/modern';
|
|
10
10
|
import '../header/component.js';
|
|
11
11
|
import '@alfalab/core-components-loader/modern';
|
|
12
|
-
import '../../countdown-section-
|
|
12
|
+
import '../../countdown-section-f8b16386.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';
|
|
@@ -9,7 +9,7 @@ import { Link } from '@alfalab/core-components-link/modern';
|
|
|
9
9
|
import { Typography } from '@alfalab/core-components-typography/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-
|
|
12
|
+
import { s as styles, C as CountdownSection } from '../../../countdown-section-f8b16386.js';
|
|
13
13
|
|
|
14
14
|
const CODE_SEND_HINT_VISIBLE_DURATION = 2000;
|
|
15
15
|
const Initial = ({ mobile }) => {
|
|
@@ -18,7 +18,7 @@ const Initial = ({ mobile }) => {
|
|
|
18
18
|
const inputRef = useRef(null);
|
|
19
19
|
const [codeSendHintVisible, setCodeSendHintVisible] = useState(false);
|
|
20
20
|
const timerId = useRef(0);
|
|
21
|
-
const handleInputComplete = code => {
|
|
21
|
+
const handleInputComplete = (code) => {
|
|
22
22
|
onInputFinished(code);
|
|
23
23
|
};
|
|
24
24
|
const handleSmsHintLinkClick = () => {
|
|
@@ -5,4 +5,4 @@ import '../../../context.js';
|
|
|
5
5
|
import '@alfalab/core-components-button/modern';
|
|
6
6
|
import '@alfalab/core-components-typography/modern';
|
|
7
7
|
import '@alfalab/core-components-loader/modern';
|
|
8
|
-
export { C as CountdownSection } from '../../../countdown-section-
|
|
8
|
+
export { C as CountdownSection } from '../../../countdown-section-f8b16386.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1srkv */
|
|
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
|
-
.
|
|
41
|
+
.confirmation__component_1m61n {
|
|
42
42
|
display: flex;
|
|
43
43
|
flex-direction: column;
|
|
44
44
|
}
|
|
45
|
-
.
|
|
45
|
+
.confirmation__typographyTheme_1m61n {
|
|
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
|
-
.
|
|
52
|
+
.confirmation__phone_1m61n {
|
|
53
53
|
color: var(--color-light-text-primary);
|
|
54
54
|
margin-bottom: var(--gap-2xl);
|
|
55
55
|
}
|
|
56
|
-
.
|
|
56
|
+
.confirmation__compact_1m61n {
|
|
57
57
|
margin-bottom: var(--gap-xl);
|
|
58
58
|
}
|
|
59
|
-
.
|
|
59
|
+
.confirmation__loaderWrap_1m61n {
|
|
60
60
|
display: flex;
|
|
61
61
|
align-items: center;
|
|
62
62
|
}
|
|
63
|
-
.
|
|
63
|
+
.confirmation__left_1m61n {
|
|
64
64
|
align-items: flex-start;
|
|
65
65
|
}
|
|
66
|
-
.
|
|
66
|
+
.confirmation__center_1m61n {
|
|
67
67
|
align-items: center;
|
|
68
68
|
text-align: center
|
|
69
69
|
}
|
|
70
|
-
.
|
|
70
|
+
.confirmation__center_1m61n .confirmation__loaderWrap_1m61n {
|
|
71
71
|
justify-content: center;
|
|
72
72
|
}
|
|
73
|
-
.
|
|
73
|
+
.confirmation__center_1m61n input {
|
|
74
74
|
margin: 0 var(--gap-2xs);
|
|
75
75
|
}
|
|
76
|
-
.
|
|
76
|
+
.confirmation__codeInput_1m61n {
|
|
77
77
|
margin-bottom: var(--gap-s);
|
|
78
78
|
}
|
|
79
|
-
.
|
|
79
|
+
.confirmation__smsComeLink_1m61n {
|
|
80
80
|
font-size: 14px;
|
|
81
81
|
line-height: 20px;
|
|
82
82
|
font-weight: 500;
|
|
83
83
|
}
|
|
84
|
-
.
|
|
84
|
+
.confirmation__countdownContainer_1m61n {
|
|
85
85
|
color: var(--color-light-text-secondary);
|
|
86
86
|
margin-bottom: var(--gap-xl);
|
|
87
87
|
}
|
|
88
|
-
.
|
|
88
|
+
.confirmation__countdownMobile_1m61n {
|
|
89
89
|
margin-bottom: var(--gap-l);
|
|
90
90
|
}
|
|
91
|
-
.
|
|
91
|
+
.confirmation__countdownLoaderMobile_1m61n {
|
|
92
92
|
margin-bottom: var(--gap-m);
|
|
93
93
|
}
|
|
94
|
-
.
|
|
94
|
+
.confirmation__getCodeButton_1m61n {
|
|
95
95
|
position: relative;
|
|
96
96
|
top: var(--gap-2xs-neg);
|
|
97
97
|
margin-bottom: var(--gap-m);
|
|
98
98
|
}
|
|
99
|
-
.
|
|
99
|
+
.confirmation__getCodeButtonMobile_1m61n {
|
|
100
100
|
margin-bottom: 0;
|
|
101
101
|
}
|
|
102
|
-
.
|
|
102
|
+
.confirmation__containerInput_1m61n {
|
|
103
103
|
min-height: 80px;
|
|
104
104
|
}
|
|
@@ -9,5 +9,5 @@ import '@alfalab/core-components-link/modern';
|
|
|
9
9
|
import '@alfalab/core-components-typography/modern';
|
|
10
10
|
import '../../header/component.js';
|
|
11
11
|
import '@alfalab/core-components-loader/modern';
|
|
12
|
-
import '../../../countdown-section-
|
|
12
|
+
import '../../../countdown-section-f8b16386.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":"
|
|
9
|
+
var styles = {"typographyTheme":"confirmation__typographyTheme_njvyt","description":"confirmation__description_njvyt","countdownWrap":"confirmation__countdownWrap_njvyt","loader":"confirmation__loader_njvyt"};
|
|
10
10
|
require('./index.css')
|
|
11
11
|
|
|
12
12
|
const TempBlock = ({ mobile }) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: q97wb */
|
|
2
2
|
:root {
|
|
3
3
|
--color-light-text-primary: #0b1f35;
|
|
4
4
|
}
|
|
@@ -31,20 +31,20 @@
|
|
|
31
31
|
|
|
32
32
|
/* header */
|
|
33
33
|
}
|
|
34
|
-
.
|
|
34
|
+
.confirmation__typographyTheme_njvyt {
|
|
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
|
-
.
|
|
41
|
+
.confirmation__description_njvyt {
|
|
42
42
|
margin-bottom: var(--gap-xs);
|
|
43
43
|
}
|
|
44
|
-
.
|
|
44
|
+
.confirmation__countdownWrap_njvyt {
|
|
45
45
|
display: flex;
|
|
46
46
|
align-items: center;
|
|
47
47
|
}
|
|
48
|
-
.
|
|
48
|
+
.confirmation__loader_njvyt {
|
|
49
49
|
margin-right: var(--gap-xs);
|
|
50
50
|
}
|
|
File without changes
|
|
@@ -6,7 +6,7 @@ import { Button } from '@alfalab/core-components-button/modern';
|
|
|
6
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":"
|
|
9
|
+
var styles = {"component":"confirmation__component_1m61n","typographyTheme":"confirmation__typographyTheme_1m61n","phone":"confirmation__phone_1m61n","compact":"confirmation__compact_1m61n","loaderWrap":"confirmation__loaderWrap_1m61n","left":"confirmation__left_1m61n","center":"confirmation__center_1m61n","codeInput":"confirmation__codeInput_1m61n","smsComeLink":"confirmation__smsComeLink_1m61n","countdownContainer":"confirmation__countdownContainer_1m61n","countdownMobile":"confirmation__countdownMobile_1m61n","countdownLoaderMobile":"confirmation__countdownLoaderMobile_1m61n","getCodeButton":"confirmation__getCodeButton_1m61n","getCodeButtonMobile":"confirmation__getCodeButtonMobile_1m61n","containerInput":"confirmation__containerInput_1m61n"};
|
|
10
10
|
require('./components/screens/initial/index.css')
|
|
11
11
|
|
|
12
12
|
const CountdownSection = ({ codeSendHintVisible, timePassed, processing, mobile, handleSmsRetryClick, }) => {
|
package/modern/desktop.js
CHANGED
|
@@ -10,7 +10,7 @@ import '@alfalab/core-components-link/modern';
|
|
|
10
10
|
import '@alfalab/core-components-typography/modern';
|
|
11
11
|
import './components/header/component.js';
|
|
12
12
|
import '@alfalab/core-components-loader/modern';
|
|
13
|
-
import './countdown-section-
|
|
13
|
+
import './countdown-section-f8b16386.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';
|
package/modern/index.js
CHANGED
|
@@ -10,7 +10,7 @@ import '@alfalab/core-components-link/modern';
|
|
|
10
10
|
import '@alfalab/core-components-typography/modern';
|
|
11
11
|
import './components/header/component.js';
|
|
12
12
|
import '@alfalab/core-components-loader/modern';
|
|
13
|
-
import './countdown-section-
|
|
13
|
+
import './countdown-section-f8b16386.js';
|
|
14
14
|
export { Initial } from './components/screens/initial/component.js';
|
|
15
15
|
export { Hint } from './components/screens/hint/component.js';
|
|
16
16
|
export { FatalError } from './components/screens/fatal-error/component.js';
|
package/modern/mobile.css
CHANGED
package/modern/mobile.js
CHANGED
|
@@ -10,7 +10,7 @@ import '@alfalab/core-components-link/modern';
|
|
|
10
10
|
import '@alfalab/core-components-typography/modern';
|
|
11
11
|
import './components/header/component.js';
|
|
12
12
|
import '@alfalab/core-components-loader/modern';
|
|
13
|
-
import './countdown-section-
|
|
13
|
+
import './countdown-section-f8b16386.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';
|
package/modern/responsive.js
CHANGED
|
@@ -10,7 +10,7 @@ import '@alfalab/core-components-link/modern';
|
|
|
10
10
|
import '@alfalab/core-components-typography/modern';
|
|
11
11
|
import './components/header/component.js';
|
|
12
12
|
import '@alfalab/core-components-loader/modern';
|
|
13
|
-
import './countdown-section-
|
|
13
|
+
import './countdown-section-f8b16386.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';
|