@alfalab/core-components-confirmation 13.3.2 → 13.3.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/component.responsive.js +0 -20
- package/components/base-confirmation/component.js +1 -11
- package/components/base-confirmation/index.css +2 -2
- package/components/base-confirmation/index.js +0 -21
- package/components/countdown-loader/component.js +1 -1
- package/components/countdown-loader/index.css +2 -2
- package/components/countdown-loader/index.js +0 -1
- package/components/header/component.js +1 -1
- package/components/header/index.css +4 -4
- package/components/header/index.js +0 -3
- package/components/index.js +0 -14
- package/components/screens/fatal-error/component.js +1 -2
- package/components/screens/fatal-error/index.css +6 -6
- package/components/screens/fatal-error/index.js +0 -7
- package/components/screens/hint/component.js +1 -2
- package/components/screens/hint/index.css +12 -12
- package/components/screens/hint/index.js +0 -8
- package/components/screens/index.js +0 -15
- package/components/screens/initial/component.js +3 -6
- package/components/screens/initial/countdown-section.js +1 -1
- package/components/screens/initial/index.css +17 -17
- package/components/screens/initial/index.js +0 -14
- package/components/screens/temp-block/component.js +1 -1
- package/components/screens/temp-block/index.css +7 -7
- package/components/screens/temp-block/index.js +0 -7
- package/{countdown-section-bfcf66d3.js → countdown-section-2c4aa56c.js} +1 -1
- package/cssm/component.responsive.js +0 -28
- package/cssm/components/base-confirmation/component.js +0 -16
- package/cssm/components/base-confirmation/index.js +0 -28
- package/cssm/components/countdown-loader/index.js +0 -2
- package/cssm/components/header/index.js +0 -4
- package/cssm/components/index.js +0 -20
- package/cssm/components/screens/fatal-error/component.js +0 -2
- package/cssm/components/screens/fatal-error/index.js +0 -9
- package/cssm/components/screens/hint/component.js +0 -2
- package/cssm/components/screens/hint/index.js +0 -10
- package/cssm/components/screens/index.js +0 -21
- package/cssm/components/screens/initial/component.js +2 -6
- package/cssm/components/screens/initial/index.js +0 -16
- package/cssm/components/screens/temp-block/component.js +0 -2
- package/cssm/components/screens/temp-block/index.js +0 -10
- package/cssm/desktop/component.desktop.js +0 -26
- package/cssm/desktop/index.js +0 -28
- package/cssm/index.js +0 -32
- package/cssm/mobile/component.mobile.js +0 -25
- package/cssm/mobile/index.js +0 -29
- package/cssm/shared/index.js +0 -18
- package/desktop/component.desktop.js +0 -19
- package/desktop/index.js +0 -21
- package/esm/component.responsive.js +0 -20
- package/esm/components/base-confirmation/component.js +1 -11
- package/esm/components/base-confirmation/index.css +2 -2
- package/esm/components/base-confirmation/index.js +0 -21
- package/esm/components/countdown-loader/component.js +1 -1
- package/esm/components/countdown-loader/index.css +2 -2
- package/esm/components/countdown-loader/index.js +0 -1
- package/esm/components/header/component.js +1 -1
- package/esm/components/header/index.css +4 -4
- package/esm/components/header/index.js +0 -3
- package/esm/components/index.js +0 -14
- package/esm/components/screens/fatal-error/component.js +1 -2
- package/esm/components/screens/fatal-error/index.css +6 -6
- package/esm/components/screens/fatal-error/index.js +0 -7
- package/esm/components/screens/hint/component.js +1 -2
- package/esm/components/screens/hint/index.css +12 -12
- package/esm/components/screens/hint/index.js +0 -8
- package/esm/components/screens/index.js +0 -15
- package/esm/components/screens/initial/component.js +3 -6
- package/esm/components/screens/initial/countdown-section.js +1 -1
- package/esm/components/screens/initial/index.css +17 -17
- package/esm/components/screens/initial/index.js +0 -14
- package/esm/components/screens/temp-block/component.js +1 -1
- package/esm/components/screens/temp-block/index.css +7 -7
- package/esm/components/screens/temp-block/index.js +0 -7
- package/esm/{countdown-section-6a4bb252.js → countdown-section-b6b1777c.js} +1 -1
- package/esm/desktop/component.desktop.js +0 -19
- package/esm/desktop/index.js +0 -21
- package/esm/index.js +0 -24
- package/esm/mobile/component.mobile.js +1 -19
- package/esm/mobile/index.js +0 -21
- package/esm/mobile/mobile.css +2 -2
- package/esm/shared/index.js +0 -12
- package/index.js +0 -24
- package/mobile/component.mobile.js +1 -19
- package/mobile/index.js +0 -21
- package/mobile/mobile.css +2 -2
- package/modern/component.responsive.js +0 -20
- package/modern/components/base-confirmation/component.js +1 -11
- package/modern/components/base-confirmation/index.css +2 -2
- package/modern/components/base-confirmation/index.js +0 -20
- package/modern/components/countdown-loader/component.js +1 -1
- package/modern/components/countdown-loader/index.css +2 -2
- package/modern/components/countdown-loader/index.js +0 -1
- package/modern/components/header/component.js +1 -1
- package/modern/components/header/index.css +4 -4
- package/modern/components/header/index.js +0 -3
- package/modern/components/index.js +0 -14
- package/modern/components/screens/fatal-error/component.js +1 -2
- package/modern/components/screens/fatal-error/index.css +6 -6
- package/modern/components/screens/fatal-error/index.js +0 -7
- package/modern/components/screens/hint/component.js +1 -2
- package/modern/components/screens/hint/index.css +12 -12
- package/modern/components/screens/hint/index.js +0 -8
- package/modern/components/screens/index.js +0 -15
- package/modern/components/screens/initial/component.js +3 -6
- package/modern/components/screens/initial/countdown-section.js +1 -1
- package/modern/components/screens/initial/index.css +17 -17
- package/modern/components/screens/initial/index.js +0 -14
- package/modern/components/screens/temp-block/component.js +1 -1
- package/modern/components/screens/temp-block/index.css +7 -7
- package/modern/components/screens/temp-block/index.js +0 -7
- package/modern/{countdown-section-7331d9e5.js → countdown-section-dbc9c917.js} +1 -1
- package/modern/desktop/component.desktop.js +0 -19
- package/modern/desktop/index.js +0 -20
- package/modern/index.js +0 -23
- package/modern/mobile/component.mobile.js +1 -19
- package/modern/mobile/index.js +0 -20
- package/modern/mobile/mobile.css +2 -2
- package/modern/shared/index.js +0 -12
- package/package.json +3 -3
- package/shared/index.js +0 -12
- package/src/components/screens/initial/component.tsx +9 -7
- /package/{countdown-section-bfcf66d3.d.ts → countdown-section-2c4aa56c.d.ts} +0 -0
- /package/esm/{countdown-section-6a4bb252.d.ts → countdown-section-b6b1777c.d.ts} +0 -0
- /package/modern/{countdown-section-7331d9e5.d.ts → countdown-section-dbc9c917.d.ts} +0 -0
package/esm/shared/index.js
CHANGED
|
@@ -6,15 +6,3 @@ export { CountdownLoader } from '../components/countdown-loader/component.js';
|
|
|
6
6
|
export { ConfirmationContext } from '../context.js';
|
|
7
7
|
export { defaultTexts } from '../types.js';
|
|
8
8
|
export { ONE_DAY, ONE_MINUTE, formatMsAsMinutes } from '../utils.js';
|
|
9
|
-
import 'react';
|
|
10
|
-
import 'classnames';
|
|
11
|
-
import '@alfalab/core-components-button/esm/mobile';
|
|
12
|
-
import '@alfalab/core-components-code-input/esm/desktop';
|
|
13
|
-
import '@alfalab/core-components-code-input/esm/mobile';
|
|
14
|
-
import '@alfalab/core-components-link/esm';
|
|
15
|
-
import '@alfalab/core-components-typography/esm';
|
|
16
|
-
import '@alfalab/hooks';
|
|
17
|
-
import '../components/header/component.js';
|
|
18
|
-
import '../countdown-section-6a4bb252.js';
|
|
19
|
-
import '@alfalab/core-components-button/esm';
|
|
20
|
-
import '@alfalab/core-components-spinner/esm';
|
package/index.js
CHANGED
|
@@ -4,30 +4,6 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
var component_responsive = require('./component.responsive.js');
|
|
6
6
|
var utils = require('./utils.js');
|
|
7
|
-
require('tslib');
|
|
8
|
-
require('react');
|
|
9
|
-
require('@alfalab/core-components-mq');
|
|
10
|
-
require('./desktop/component.desktop.js');
|
|
11
|
-
require('./components/base-confirmation/component.js');
|
|
12
|
-
require('classnames');
|
|
13
|
-
require('@alfalab/hooks');
|
|
14
|
-
require('./context.js');
|
|
15
|
-
require('./types.js');
|
|
16
|
-
require('./components/screens/initial/component.js');
|
|
17
|
-
require('@alfalab/core-components-button/mobile');
|
|
18
|
-
require('@alfalab/core-components-code-input/desktop');
|
|
19
|
-
require('@alfalab/core-components-code-input/mobile');
|
|
20
|
-
require('@alfalab/core-components-link');
|
|
21
|
-
require('@alfalab/core-components-typography');
|
|
22
|
-
require('./components/header/component.js');
|
|
23
|
-
require('./countdown-section-bfcf66d3.js');
|
|
24
|
-
require('@alfalab/core-components-button');
|
|
25
|
-
require('@alfalab/core-components-spinner');
|
|
26
|
-
require('./components/screens/hint/component.js');
|
|
27
|
-
require('./components/screens/fatal-error/component.js');
|
|
28
|
-
require('./components/screens/temp-block/component.js');
|
|
29
|
-
require('./components/countdown-loader/component.js');
|
|
30
|
-
require('./mobile/component.mobile.js');
|
|
31
7
|
|
|
32
8
|
|
|
33
9
|
|
|
@@ -6,31 +6,13 @@ var tslib = require('tslib');
|
|
|
6
6
|
var React = require('react');
|
|
7
7
|
var cn = require('classnames');
|
|
8
8
|
var components_baseConfirmation_component = require('../components/base-confirmation/component.js');
|
|
9
|
-
require('@alfalab/hooks');
|
|
10
|
-
require('../context.js');
|
|
11
|
-
require('../utils.js');
|
|
12
|
-
require('../types.js');
|
|
13
|
-
require('../components/screens/initial/component.js');
|
|
14
|
-
require('@alfalab/core-components-button/mobile');
|
|
15
|
-
require('@alfalab/core-components-code-input/desktop');
|
|
16
|
-
require('@alfalab/core-components-code-input/mobile');
|
|
17
|
-
require('@alfalab/core-components-link');
|
|
18
|
-
require('@alfalab/core-components-typography');
|
|
19
|
-
require('../components/header/component.js');
|
|
20
|
-
require('../countdown-section-bfcf66d3.js');
|
|
21
|
-
require('@alfalab/core-components-button');
|
|
22
|
-
require('@alfalab/core-components-spinner');
|
|
23
|
-
require('../components/screens/hint/component.js');
|
|
24
|
-
require('../components/screens/fatal-error/component.js');
|
|
25
|
-
require('../components/screens/temp-block/component.js');
|
|
26
|
-
require('../components/countdown-loader/component.js');
|
|
27
9
|
|
|
28
10
|
function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
|
|
29
11
|
|
|
30
12
|
var React__default = /*#__PURE__*/_interopDefaultCompat(React);
|
|
31
13
|
var cn__default = /*#__PURE__*/_interopDefaultCompat(cn);
|
|
32
14
|
|
|
33
|
-
var styles = {"container":"
|
|
15
|
+
var styles = {"container":"confirmation__container_1ttvw"};
|
|
34
16
|
require('./mobile.css')
|
|
35
17
|
|
|
36
18
|
var ConfirmationMobile = function (_a) {
|
package/mobile/index.js
CHANGED
|
@@ -4,27 +4,6 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
var mobile_component_mobile = require('./component.mobile.js');
|
|
6
6
|
var utils = require('../utils.js');
|
|
7
|
-
require('tslib');
|
|
8
|
-
require('react');
|
|
9
|
-
require('classnames');
|
|
10
|
-
require('../components/base-confirmation/component.js');
|
|
11
|
-
require('@alfalab/hooks');
|
|
12
|
-
require('../context.js');
|
|
13
|
-
require('../types.js');
|
|
14
|
-
require('../components/screens/initial/component.js');
|
|
15
|
-
require('@alfalab/core-components-button/mobile');
|
|
16
|
-
require('@alfalab/core-components-code-input/desktop');
|
|
17
|
-
require('@alfalab/core-components-code-input/mobile');
|
|
18
|
-
require('@alfalab/core-components-link');
|
|
19
|
-
require('@alfalab/core-components-typography');
|
|
20
|
-
require('../components/header/component.js');
|
|
21
|
-
require('../countdown-section-bfcf66d3.js');
|
|
22
|
-
require('@alfalab/core-components-button');
|
|
23
|
-
require('@alfalab/core-components-spinner');
|
|
24
|
-
require('../components/screens/hint/component.js');
|
|
25
|
-
require('../components/screens/fatal-error/component.js');
|
|
26
|
-
require('../components/screens/temp-block/component.js');
|
|
27
|
-
require('../components/countdown-loader/component.js');
|
|
28
7
|
|
|
29
8
|
|
|
30
9
|
|
package/mobile/mobile.css
CHANGED
|
@@ -2,26 +2,6 @@ import React from 'react';
|
|
|
2
2
|
import { useMatchMedia } from '@alfalab/core-components-mq/modern';
|
|
3
3
|
import { ConfirmationDesktop } from './desktop/component.desktop.js';
|
|
4
4
|
import { ConfirmationMobile } from './mobile/component.mobile.js';
|
|
5
|
-
import './components/base-confirmation/component.js';
|
|
6
|
-
import 'classnames';
|
|
7
|
-
import '@alfalab/hooks';
|
|
8
|
-
import './context.js';
|
|
9
|
-
import './utils.js';
|
|
10
|
-
import './types.js';
|
|
11
|
-
import './components/screens/initial/component.js';
|
|
12
|
-
import '@alfalab/core-components-button/modern/mobile';
|
|
13
|
-
import '@alfalab/core-components-code-input/modern/desktop';
|
|
14
|
-
import '@alfalab/core-components-code-input/modern/mobile';
|
|
15
|
-
import '@alfalab/core-components-link/modern';
|
|
16
|
-
import '@alfalab/core-components-typography/modern';
|
|
17
|
-
import './components/header/component.js';
|
|
18
|
-
import './countdown-section-7331d9e5.js';
|
|
19
|
-
import '@alfalab/core-components-button/modern';
|
|
20
|
-
import '@alfalab/core-components-spinner/modern';
|
|
21
|
-
import './components/screens/hint/component.js';
|
|
22
|
-
import './components/screens/fatal-error/component.js';
|
|
23
|
-
import './components/screens/temp-block/component.js';
|
|
24
|
-
import './components/countdown-loader/component.js';
|
|
25
5
|
|
|
26
6
|
const ConfirmationResponsive = ({ breakpoint = 1024, ...restProps }) => {
|
|
27
7
|
const [isDesktop] = useMatchMedia(`(min-width: ${breakpoint}px)`, true);
|
|
@@ -8,18 +8,8 @@ import { Initial } from '../screens/initial/component.js';
|
|
|
8
8
|
import { Hint } from '../screens/hint/component.js';
|
|
9
9
|
import { FatalError } from '../screens/fatal-error/component.js';
|
|
10
10
|
import { TempBlock } from '../screens/temp-block/component.js';
|
|
11
|
-
import '@alfalab/core-components-button/modern/mobile';
|
|
12
|
-
import '@alfalab/core-components-code-input/modern/desktop';
|
|
13
|
-
import '@alfalab/core-components-code-input/modern/mobile';
|
|
14
|
-
import '@alfalab/core-components-link/modern';
|
|
15
|
-
import '@alfalab/core-components-typography/modern';
|
|
16
|
-
import '../header/component.js';
|
|
17
|
-
import '../../countdown-section-7331d9e5.js';
|
|
18
|
-
import '@alfalab/core-components-button/modern';
|
|
19
|
-
import '@alfalab/core-components-spinner/modern';
|
|
20
|
-
import '../countdown-loader/component.js';
|
|
21
11
|
|
|
22
|
-
const styles = {"component":"
|
|
12
|
+
const styles = {"component":"confirmation__component_148wv"};
|
|
23
13
|
require('./index.css')
|
|
24
14
|
|
|
25
15
|
const confirmationScreens = {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1yoo2 */
|
|
2
2
|
:root {
|
|
3
3
|
} /* deprecated */ :root {
|
|
4
4
|
--color-light-text-secondary: rgba(4, 4, 19, 0.55); /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
} :root {
|
|
16
16
|
} :root {
|
|
17
17
|
} :root {
|
|
18
|
-
} .
|
|
18
|
+
} .confirmation__component_148wv {
|
|
19
19
|
width: 100%;
|
|
20
20
|
max-width: 388px;
|
|
21
21
|
margin: 0 auto;
|
|
@@ -1,21 +1 @@
|
|
|
1
1
|
export { BaseConfirmation } from './component.js';
|
|
2
|
-
import 'react';
|
|
3
|
-
import 'classnames';
|
|
4
|
-
import '@alfalab/hooks';
|
|
5
|
-
import '../../context.js';
|
|
6
|
-
import '../../utils.js';
|
|
7
|
-
import '../../types.js';
|
|
8
|
-
import '../screens/initial/component.js';
|
|
9
|
-
import '@alfalab/core-components-button/modern/mobile';
|
|
10
|
-
import '@alfalab/core-components-code-input/modern/desktop';
|
|
11
|
-
import '@alfalab/core-components-code-input/modern/mobile';
|
|
12
|
-
import '@alfalab/core-components-link/modern';
|
|
13
|
-
import '@alfalab/core-components-typography/modern';
|
|
14
|
-
import '../header/component.js';
|
|
15
|
-
import '../../countdown-section-7331d9e5.js';
|
|
16
|
-
import '@alfalab/core-components-button/modern';
|
|
17
|
-
import '@alfalab/core-components-spinner/modern';
|
|
18
|
-
import '../screens/hint/component.js';
|
|
19
|
-
import '../screens/fatal-error/component.js';
|
|
20
|
-
import '../screens/temp-block/component.js';
|
|
21
|
-
import '../countdown-loader/component.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 3zsdo */
|
|
2
2
|
:root {
|
|
3
3
|
} /* deprecated */ :root {
|
|
4
4
|
--color-light-neutral-500: #babbc2; /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
} :root {
|
|
16
16
|
} :root {
|
|
17
17
|
} :root {
|
|
18
|
-
} .
|
|
18
|
+
} .confirmation__circle_1xb0j {
|
|
19
19
|
fill: transparent;
|
|
20
20
|
stroke: var(--color-light-neutral-500);
|
|
21
21
|
stroke-width: 2px;
|
|
@@ -2,7 +2,7 @@ import React from 'react';
|
|
|
2
2
|
import cn from 'classnames';
|
|
3
3
|
import { Typography } from '@alfalab/core-components-typography/modern';
|
|
4
4
|
|
|
5
|
-
const styles = {"header":"
|
|
5
|
+
const styles = {"header":"confirmation__header_yfzf5","typography":"confirmation__typography_yfzf5","typographyMobile":"confirmation__typographyMobile_yfzf5"};
|
|
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: 18rmi */
|
|
2
2
|
:root {
|
|
3
3
|
} /* deprecated */ :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
4
4
|
} :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
@@ -34,15 +34,15 @@
|
|
|
34
34
|
|
|
35
35
|
/* header */
|
|
36
36
|
--confirmation-header-font-feature-settings: normal
|
|
37
|
-
} .
|
|
37
|
+
} .confirmation__header_yfzf5.confirmation__header_yfzf5 {
|
|
38
38
|
margin-bottom: var(--gap-xl);
|
|
39
|
-
} .
|
|
39
|
+
} .confirmation__typography_yfzf5.confirmation__typography_yfzf5.confirmation__typography_yfzf5 {
|
|
40
40
|
font-feature-settings: var(--confirmation-header-font-feature-settings);
|
|
41
41
|
font-size: var(--confirmation-header-desktop-font-size);
|
|
42
42
|
line-height: var(--confirmation-header-desktop-line-height);
|
|
43
43
|
font-weight: var(--confirmation-header-desktop-font-weight);
|
|
44
44
|
font-family: var(--confirmation-header-desktop-font-family);
|
|
45
|
-
} .
|
|
45
|
+
} .confirmation__typographyMobile_yfzf5.confirmation__typographyMobile_yfzf5.confirmation__typographyMobile_yfzf5 {
|
|
46
46
|
font-feature-settings: var(--confirmation-header-font-feature-settings);
|
|
47
47
|
font-size: var(--confirmation-header-mobile-font-size);
|
|
48
48
|
line-height: var(--confirmation-header-mobile-line-height);
|
|
@@ -3,17 +3,3 @@ export { Hint } from './screens/hint/component.js';
|
|
|
3
3
|
export { FatalError } from './screens/fatal-error/component.js';
|
|
4
4
|
export { TempBlock } from './screens/temp-block/component.js';
|
|
5
5
|
export { CountdownLoader } from './countdown-loader/component.js';
|
|
6
|
-
import 'react';
|
|
7
|
-
import 'classnames';
|
|
8
|
-
import '@alfalab/core-components-button/modern/mobile';
|
|
9
|
-
import '@alfalab/core-components-code-input/modern/desktop';
|
|
10
|
-
import '@alfalab/core-components-code-input/modern/mobile';
|
|
11
|
-
import '@alfalab/core-components-link/modern';
|
|
12
|
-
import '@alfalab/core-components-typography/modern';
|
|
13
|
-
import '@alfalab/hooks';
|
|
14
|
-
import '../context.js';
|
|
15
|
-
import '../utils.js';
|
|
16
|
-
import './header/component.js';
|
|
17
|
-
import '../countdown-section-7331d9e5.js';
|
|
18
|
-
import '@alfalab/core-components-button/modern';
|
|
19
|
-
import '@alfalab/core-components-spinner/modern';
|
|
@@ -4,9 +4,8 @@ import { Button } from '@alfalab/core-components-button/modern';
|
|
|
4
4
|
import { Typography } from '@alfalab/core-components-typography/modern';
|
|
5
5
|
import { ConfirmationContext } from '../../../context.js';
|
|
6
6
|
import { Header } from '../../header/component.js';
|
|
7
|
-
import '../../../utils.js';
|
|
8
7
|
|
|
9
|
-
const styles = {"component":"
|
|
8
|
+
const styles = {"component":"confirmation__component_1batu","typographyTheme":"confirmation__typographyTheme_1batu","left":"confirmation__left_1batu","center":"confirmation__center_1batu","button":"confirmation__button_1batu"};
|
|
10
9
|
require('./index.css')
|
|
11
10
|
|
|
12
11
|
const FatalError = ({ mobile }) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: gbilv */
|
|
2
2
|
:root {
|
|
3
3
|
} /* deprecated */ :root {
|
|
4
4
|
--color-light-text-primary: #0e0e0e; /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
@@ -31,20 +31,20 @@
|
|
|
31
31
|
--confirmation-text-color: var(--color-light-text-primary)
|
|
32
32
|
|
|
33
33
|
/* header */
|
|
34
|
-
} .
|
|
34
|
+
} .confirmation__component_1batu {
|
|
35
35
|
display: flex;
|
|
36
36
|
flex-direction: column;
|
|
37
|
-
} .
|
|
37
|
+
} .confirmation__typographyTheme_1batu.confirmation__typographyTheme_1batu {
|
|
38
38
|
font-size: var(--confirmation-text-font-size);
|
|
39
39
|
line-height: var(--confirmation-text-line-height);
|
|
40
40
|
font-weight: var(--confirmation-text-font-weight);
|
|
41
41
|
font-family: var(--confirmation-text-font-family);
|
|
42
42
|
color: var(--confirmation-text-color);
|
|
43
|
-
} .
|
|
43
|
+
} .confirmation__left_1batu {
|
|
44
44
|
align-items: flex-start;
|
|
45
|
-
} .
|
|
45
|
+
} .confirmation__center_1batu {
|
|
46
46
|
align-items: center;
|
|
47
47
|
text-align: center;
|
|
48
|
-
} .
|
|
48
|
+
} .confirmation__button_1batu {
|
|
49
49
|
margin-top: var(--gap-2xl);
|
|
50
50
|
}
|
|
@@ -1,8 +1 @@
|
|
|
1
1
|
export { FatalError } from './component.js';
|
|
2
|
-
import 'react';
|
|
3
|
-
import 'classnames';
|
|
4
|
-
import '@alfalab/core-components-button/modern';
|
|
5
|
-
import '@alfalab/core-components-typography/modern';
|
|
6
|
-
import '../../../context.js';
|
|
7
|
-
import '../../../utils.js';
|
|
8
|
-
import '../../header/component.js';
|
|
@@ -5,9 +5,8 @@ import { Link } from '@alfalab/core-components-link/modern';
|
|
|
5
5
|
import { Typography } from '@alfalab/core-components-typography/modern';
|
|
6
6
|
import { ConfirmationContext } from '../../../context.js';
|
|
7
7
|
import { Header } from '../../header/component.js';
|
|
8
|
-
import '../../../utils.js';
|
|
9
8
|
|
|
10
|
-
const styles = {"component":"
|
|
9
|
+
const styles = {"component":"confirmation__component_1m5mf","center":"confirmation__center_1m5mf","text":"confirmation__text_1m5mf","typographyTheme":"confirmation__typographyTheme_1m5mf","phonesWrap":"confirmation__phonesWrap_1m5mf","phoneWrap":"confirmation__phoneWrap_1m5mf","phoneLink":"confirmation__phoneLink_1m5mf","hintButton":"confirmation__hintButton_1m5mf","phoneContentMobile":"confirmation__phoneContentMobile_1m5mf"};
|
|
11
10
|
require('./index.css')
|
|
12
11
|
|
|
13
12
|
const Hint = ({ mobile }) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1bafa */
|
|
2
2
|
:root {
|
|
3
3
|
} /* deprecated */ :root {
|
|
4
4
|
--color-light-text-primary: #0e0e0e; /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
@@ -33,38 +33,38 @@
|
|
|
33
33
|
--confirmation-text-color: var(--color-light-text-primary)
|
|
34
34
|
|
|
35
35
|
/* header */
|
|
36
|
-
} .
|
|
36
|
+
} .confirmation__component_1m5mf {
|
|
37
37
|
display: flex;
|
|
38
38
|
flex-direction: column;
|
|
39
39
|
align-items: flex-start
|
|
40
|
-
} .
|
|
40
|
+
} .confirmation__component_1m5mf span:last-of-type {
|
|
41
41
|
margin-bottom: 0;
|
|
42
|
-
} .
|
|
42
|
+
} .confirmation__center_1m5mf {
|
|
43
43
|
align-items: center;
|
|
44
44
|
text-align: center;
|
|
45
|
-
} .
|
|
45
|
+
} .confirmation__text_1m5mf.confirmation__text_1m5mf {
|
|
46
46
|
margin-bottom: var(--gap-xl);
|
|
47
|
-
} .
|
|
47
|
+
} .confirmation__typographyTheme_1m5mf.confirmation__typographyTheme_1m5mf {
|
|
48
48
|
font-size: var(--confirmation-text-font-size);
|
|
49
49
|
line-height: var(--confirmation-text-line-height);
|
|
50
50
|
font-weight: var(--confirmation-text-font-weight);
|
|
51
51
|
font-family: var(--confirmation-text-font-family);
|
|
52
52
|
color: var(--confirmation-text-color);
|
|
53
|
-
} .
|
|
53
|
+
} .confirmation__phonesWrap_1m5mf {
|
|
54
54
|
display: flex;
|
|
55
55
|
flex-direction: column;
|
|
56
56
|
margin-bottom: var(--gap-xl);
|
|
57
|
-
} .
|
|
57
|
+
} .confirmation__phoneWrap_1m5mf {
|
|
58
58
|
margin-bottom: var(--gap-xs)
|
|
59
|
-
} .
|
|
59
|
+
} .confirmation__phoneWrap_1m5mf:last-child {
|
|
60
60
|
margin-bottom: 0;
|
|
61
|
-
} .
|
|
61
|
+
} .confirmation__phoneLink_1m5mf.confirmation__phoneLink_1m5mf {
|
|
62
62
|
font-size: 16px;
|
|
63
63
|
line-height: 24px;
|
|
64
64
|
font-weight: 500;
|
|
65
|
-
} .
|
|
65
|
+
} .confirmation__hintButton_1m5mf {
|
|
66
66
|
margin-top: var(--gap-2xl);
|
|
67
|
-
} .
|
|
67
|
+
} .confirmation__phoneContentMobile_1m5mf {
|
|
68
68
|
display: flex;
|
|
69
69
|
flex-direction: column;
|
|
70
70
|
align-items: center;
|
|
@@ -1,9 +1 @@
|
|
|
1
1
|
export { Hint } from './component.js';
|
|
2
|
-
import 'react';
|
|
3
|
-
import 'classnames';
|
|
4
|
-
import '@alfalab/core-components-button/modern';
|
|
5
|
-
import '@alfalab/core-components-link/modern';
|
|
6
|
-
import '@alfalab/core-components-typography/modern';
|
|
7
|
-
import '../../../context.js';
|
|
8
|
-
import '../../../utils.js';
|
|
9
|
-
import '../../header/component.js';
|
|
@@ -2,18 +2,3 @@ export { Initial } from './initial/component.js';
|
|
|
2
2
|
export { Hint } from './hint/component.js';
|
|
3
3
|
export { FatalError } from './fatal-error/component.js';
|
|
4
4
|
export { TempBlock } from './temp-block/component.js';
|
|
5
|
-
import 'react';
|
|
6
|
-
import 'classnames';
|
|
7
|
-
import '@alfalab/core-components-button/modern/mobile';
|
|
8
|
-
import '@alfalab/core-components-code-input/modern/desktop';
|
|
9
|
-
import '@alfalab/core-components-code-input/modern/mobile';
|
|
10
|
-
import '@alfalab/core-components-link/modern';
|
|
11
|
-
import '@alfalab/core-components-typography/modern';
|
|
12
|
-
import '@alfalab/hooks';
|
|
13
|
-
import '../../context.js';
|
|
14
|
-
import '../../utils.js';
|
|
15
|
-
import '../header/component.js';
|
|
16
|
-
import '../../countdown-section-7331d9e5.js';
|
|
17
|
-
import '@alfalab/core-components-button/modern';
|
|
18
|
-
import '@alfalab/core-components-spinner/modern';
|
|
19
|
-
import '../countdown-loader/component.js';
|
|
@@ -8,10 +8,7 @@ import { Typography } from '@alfalab/core-components-typography/modern';
|
|
|
8
8
|
import { usePrevious, useLayoutEffect_SAFE_FOR_SSR } from '@alfalab/hooks';
|
|
9
9
|
import { ConfirmationContext } from '../../../context.js';
|
|
10
10
|
import { Header } from '../../header/component.js';
|
|
11
|
-
import { s as styles, C as CountdownSection } from '../../../countdown-section-
|
|
12
|
-
import '../../../utils.js';
|
|
13
|
-
import '@alfalab/core-components-button/modern';
|
|
14
|
-
import '@alfalab/core-components-spinner/modern';
|
|
11
|
+
import { s as styles, C as CountdownSection } from '../../../countdown-section-dbc9c917.js';
|
|
15
12
|
|
|
16
13
|
const CODE_SEND_HINT_VISIBLE_DURATION = 2000;
|
|
17
14
|
const Initial = ({ mobile }) => {
|
|
@@ -93,9 +90,9 @@ const Initial = ({ mobile }) => {
|
|
|
93
90
|
const ComponentCodeInput = mobile ? CodeInputMobile : CodeInputDesktop;
|
|
94
91
|
return (React.createElement("div", { className: cn(styles.component, styles[alignContent]) },
|
|
95
92
|
React.createElement(Header, { mobile: mobile }, texts.title),
|
|
96
|
-
React.createElement(Typography.Text, { view: 'primary-medium', color: 'primary', className: cn(styles.phone, { [styles.typographyTheme]: !mobile }) },
|
|
93
|
+
phone ? (React.createElement(Typography.Text, { view: 'primary-medium', color: 'primary', className: cn(styles.phone, { [styles.typographyTheme]: !mobile }) },
|
|
97
94
|
"\u041A\u043E\u0434 \u043E\u0442\u043F\u0440\u0430\u0432\u043B\u0435\u043D \u043D\u0430 ",
|
|
98
|
-
phone),
|
|
95
|
+
phone)) : null,
|
|
99
96
|
React.createElement(ComponentCodeInput, { disabled: processing, error: getCodeInputError(), ref: inputRef, fields: requiredCharAmount, className: cn(styles.containerInput, styles.codeInput), onComplete: handleInputComplete, onChange: handleInputChange, clearCodeOnError: clearCodeOnError, onErrorAnimationEnd: handleErrorAnimationEnd }),
|
|
100
97
|
!hideCountdownSection && (React.createElement(CountdownSection, { processing: processing, timePassed: timePassed, codeSendHintVisible: codeSendHintVisible, handleSmsRetryClick: handleSmsRetryClick, mobile: mobile })),
|
|
101
98
|
renderHintButton()));
|
|
@@ -5,4 +5,4 @@ import '@alfalab/core-components-spinner/modern';
|
|
|
5
5
|
import '@alfalab/core-components-typography/modern';
|
|
6
6
|
import '../../../context.js';
|
|
7
7
|
import '../../../utils.js';
|
|
8
|
-
export { C as CountdownSection } from '../../../countdown-section-
|
|
8
|
+
export { C as CountdownSection } from '../../../countdown-section-dbc9c917.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: dmt1d */
|
|
2
2
|
:root {
|
|
3
3
|
} /* deprecated */ :root {
|
|
4
4
|
--color-light-text-primary: #0e0e0e;
|
|
@@ -37,49 +37,49 @@
|
|
|
37
37
|
--confirmation-text-color: var(--color-light-text-primary)
|
|
38
38
|
|
|
39
39
|
/* header */
|
|
40
|
-
} .
|
|
40
|
+
} .confirmation__component_15d3w {
|
|
41
41
|
display: flex;
|
|
42
42
|
flex-direction: column;
|
|
43
|
-
} .
|
|
43
|
+
} .confirmation__typographyTheme_15d3w.confirmation__typographyTheme_15d3w {
|
|
44
44
|
font-size: var(--confirmation-text-font-size);
|
|
45
45
|
line-height: var(--confirmation-text-line-height);
|
|
46
46
|
font-weight: var(--confirmation-text-font-weight);
|
|
47
47
|
font-family: var(--confirmation-text-font-family);
|
|
48
48
|
color: var(--confirmation-text-color);
|
|
49
|
-
} .
|
|
49
|
+
} .confirmation__phone_15d3w.confirmation__phone_15d3w {
|
|
50
50
|
color: var(--color-light-text-primary);
|
|
51
51
|
margin-bottom: var(--gap-2xl);
|
|
52
|
-
} .
|
|
52
|
+
} .confirmation__compact_15d3w {
|
|
53
53
|
margin-bottom: var(--gap-xl);
|
|
54
|
-
} .
|
|
54
|
+
} .confirmation__loaderWrap_15d3w {
|
|
55
55
|
display: flex;
|
|
56
56
|
align-items: center;
|
|
57
|
-
} .
|
|
57
|
+
} .confirmation__left_15d3w {
|
|
58
58
|
align-items: flex-start;
|
|
59
|
-
} .
|
|
59
|
+
} .confirmation__center_15d3w {
|
|
60
60
|
align-items: center;
|
|
61
61
|
text-align: center
|
|
62
|
-
} .
|
|
62
|
+
} .confirmation__center_15d3w .confirmation__loaderWrap_15d3w {
|
|
63
63
|
justify-content: center;
|
|
64
|
-
} .
|
|
64
|
+
} .confirmation__codeInput_15d3w {
|
|
65
65
|
margin-bottom: var(--gap-s);
|
|
66
|
-
} .
|
|
66
|
+
} .confirmation__smsComeLink_15d3w.confirmation__smsComeLink_15d3w {
|
|
67
67
|
font-size: 14px;
|
|
68
68
|
line-height: 20px;
|
|
69
69
|
font-weight: 500;
|
|
70
|
-
} .
|
|
70
|
+
} .confirmation__countdownContainer_15d3w.confirmation__countdownContainer_15d3w {
|
|
71
71
|
color: var(--color-light-text-secondary);
|
|
72
72
|
margin-bottom: var(--gap-xl);
|
|
73
|
-
} .
|
|
73
|
+
} .confirmation__countdownMobile_15d3w.confirmation__countdownMobile_15d3w {
|
|
74
74
|
margin-bottom: var(--gap-l);
|
|
75
|
-
} .
|
|
75
|
+
} .confirmation__countdownLoaderMobile_15d3w.confirmation__countdownLoaderMobile_15d3w {
|
|
76
76
|
margin-bottom: var(--gap-m);
|
|
77
|
-
} .
|
|
77
|
+
} .confirmation__getCodeButton_15d3w {
|
|
78
78
|
position: relative;
|
|
79
79
|
top: var(--gap-2xs-neg);
|
|
80
80
|
margin-bottom: var(--gap-m);
|
|
81
|
-
} .
|
|
81
|
+
} .confirmation__getCodeButtonMobile_15d3w {
|
|
82
82
|
margin-bottom: 0;
|
|
83
|
-
} .
|
|
83
|
+
} .confirmation__containerInput_15d3w {
|
|
84
84
|
min-height: 80px;
|
|
85
85
|
}
|
|
@@ -1,15 +1 @@
|
|
|
1
1
|
export { Initial } from './component.js';
|
|
2
|
-
import 'react';
|
|
3
|
-
import 'classnames';
|
|
4
|
-
import '@alfalab/core-components-button/modern/mobile';
|
|
5
|
-
import '@alfalab/core-components-code-input/modern/desktop';
|
|
6
|
-
import '@alfalab/core-components-code-input/modern/mobile';
|
|
7
|
-
import '@alfalab/core-components-link/modern';
|
|
8
|
-
import '@alfalab/core-components-typography/modern';
|
|
9
|
-
import '@alfalab/hooks';
|
|
10
|
-
import '../../../context.js';
|
|
11
|
-
import '../../../utils.js';
|
|
12
|
-
import '../../header/component.js';
|
|
13
|
-
import '../../../countdown-section-7331d9e5.js';
|
|
14
|
-
import '@alfalab/core-components-button/modern';
|
|
15
|
-
import '@alfalab/core-components-spinner/modern';
|
|
@@ -6,7 +6,7 @@ import { useCountdown, formatMsAsMinutes } from '../../../utils.js';
|
|
|
6
6
|
import { CountdownLoader } from '../../countdown-loader/component.js';
|
|
7
7
|
import { Header } from '../../header/component.js';
|
|
8
8
|
|
|
9
|
-
const styles = {"component":"
|
|
9
|
+
const styles = {"component":"confirmation__component_1p05f","center":"confirmation__center_1p05f","typographyTheme":"confirmation__typographyTheme_1p05f","description":"confirmation__description_1p05f","countdownWrap":"confirmation__countdownWrap_1p05f","loader":"confirmation__loader_1p05f"};
|
|
10
10
|
require('./index.css')
|
|
11
11
|
|
|
12
12
|
const TempBlock = ({ mobile }) => {
|