@alfalab/core-components-confirmation 13.3.2 → 13.3.3
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 +1 -4
- 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-5de1c4b7.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 +0 -4
- 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 +1 -4
- 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-1ad93b6b.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 +1 -4
- 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-49426344.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/{countdown-section-bfcf66d3.d.ts → countdown-section-5de1c4b7.d.ts} +0 -0
- /package/esm/{countdown-section-6a4bb252.d.ts → countdown-section-1ad93b6b.d.ts} +0 -0
- /package/modern/{countdown-section-7331d9e5.d.ts → countdown-section-49426344.d.ts} +0 -0
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_1y7hj"};
|
|
23
13
|
require('./index.css')
|
|
24
14
|
|
|
25
15
|
const confirmationScreens = {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1g52n */
|
|
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_1y7hj {
|
|
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: hnr3v */
|
|
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_pkycu {
|
|
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_1wjdn","typography":"confirmation__typography_1wjdn","typographyMobile":"confirmation__typographyMobile_1wjdn"};
|
|
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: 6tj5n */
|
|
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_1wjdn.confirmation__header_1wjdn {
|
|
38
38
|
margin-bottom: var(--gap-xl);
|
|
39
|
-
} .
|
|
39
|
+
} .confirmation__typography_1wjdn.confirmation__typography_1wjdn.confirmation__typography_1wjdn {
|
|
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_1wjdn.confirmation__typographyMobile_1wjdn.confirmation__typographyMobile_1wjdn {
|
|
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_ad40t","typographyTheme":"confirmation__typographyTheme_ad40t","left":"confirmation__left_ad40t","center":"confirmation__center_ad40t","button":"confirmation__button_ad40t"};
|
|
10
9
|
require('./index.css')
|
|
11
10
|
|
|
12
11
|
const FatalError = ({ mobile }) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1deja */
|
|
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_ad40t {
|
|
35
35
|
display: flex;
|
|
36
36
|
flex-direction: column;
|
|
37
|
-
} .
|
|
37
|
+
} .confirmation__typographyTheme_ad40t.confirmation__typographyTheme_ad40t {
|
|
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_ad40t {
|
|
44
44
|
align-items: flex-start;
|
|
45
|
-
} .
|
|
45
|
+
} .confirmation__center_ad40t {
|
|
46
46
|
align-items: center;
|
|
47
47
|
text-align: center;
|
|
48
|
-
} .
|
|
48
|
+
} .confirmation__button_ad40t {
|
|
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_h331c","center":"confirmation__center_h331c","text":"confirmation__text_h331c","typographyTheme":"confirmation__typographyTheme_h331c","phonesWrap":"confirmation__phonesWrap_h331c","phoneWrap":"confirmation__phoneWrap_h331c","phoneLink":"confirmation__phoneLink_h331c","hintButton":"confirmation__hintButton_h331c","phoneContentMobile":"confirmation__phoneContentMobile_h331c"};
|
|
11
10
|
require('./index.css')
|
|
12
11
|
|
|
13
12
|
const Hint = ({ mobile }) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: sqtvi */
|
|
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_h331c {
|
|
37
37
|
display: flex;
|
|
38
38
|
flex-direction: column;
|
|
39
39
|
align-items: flex-start
|
|
40
|
-
} .
|
|
40
|
+
} .confirmation__component_h331c span:last-of-type {
|
|
41
41
|
margin-bottom: 0;
|
|
42
|
-
} .
|
|
42
|
+
} .confirmation__center_h331c {
|
|
43
43
|
align-items: center;
|
|
44
44
|
text-align: center;
|
|
45
|
-
} .
|
|
45
|
+
} .confirmation__text_h331c.confirmation__text_h331c {
|
|
46
46
|
margin-bottom: var(--gap-xl);
|
|
47
|
-
} .
|
|
47
|
+
} .confirmation__typographyTheme_h331c.confirmation__typographyTheme_h331c {
|
|
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_h331c {
|
|
54
54
|
display: flex;
|
|
55
55
|
flex-direction: column;
|
|
56
56
|
margin-bottom: var(--gap-xl);
|
|
57
|
-
} .
|
|
57
|
+
} .confirmation__phoneWrap_h331c {
|
|
58
58
|
margin-bottom: var(--gap-xs)
|
|
59
|
-
} .
|
|
59
|
+
} .confirmation__phoneWrap_h331c:last-child {
|
|
60
60
|
margin-bottom: 0;
|
|
61
|
-
} .
|
|
61
|
+
} .confirmation__phoneLink_h331c.confirmation__phoneLink_h331c {
|
|
62
62
|
font-size: 16px;
|
|
63
63
|
line-height: 24px;
|
|
64
64
|
font-weight: 500;
|
|
65
|
-
} .
|
|
65
|
+
} .confirmation__hintButton_h331c {
|
|
66
66
|
margin-top: var(--gap-2xl);
|
|
67
|
-
} .
|
|
67
|
+
} .confirmation__phoneContentMobile_h331c {
|
|
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-49426344.js';
|
|
15
12
|
|
|
16
13
|
const CODE_SEND_HINT_VISIBLE_DURATION = 2000;
|
|
17
14
|
const Initial = ({ mobile }) => {
|
|
@@ -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-49426344.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: jdc9i */
|
|
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_9x8gr {
|
|
41
41
|
display: flex;
|
|
42
42
|
flex-direction: column;
|
|
43
|
-
} .
|
|
43
|
+
} .confirmation__typographyTheme_9x8gr.confirmation__typographyTheme_9x8gr {
|
|
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_9x8gr.confirmation__phone_9x8gr {
|
|
50
50
|
color: var(--color-light-text-primary);
|
|
51
51
|
margin-bottom: var(--gap-2xl);
|
|
52
|
-
} .
|
|
52
|
+
} .confirmation__compact_9x8gr {
|
|
53
53
|
margin-bottom: var(--gap-xl);
|
|
54
|
-
} .
|
|
54
|
+
} .confirmation__loaderWrap_9x8gr {
|
|
55
55
|
display: flex;
|
|
56
56
|
align-items: center;
|
|
57
|
-
} .
|
|
57
|
+
} .confirmation__left_9x8gr {
|
|
58
58
|
align-items: flex-start;
|
|
59
|
-
} .
|
|
59
|
+
} .confirmation__center_9x8gr {
|
|
60
60
|
align-items: center;
|
|
61
61
|
text-align: center
|
|
62
|
-
} .
|
|
62
|
+
} .confirmation__center_9x8gr .confirmation__loaderWrap_9x8gr {
|
|
63
63
|
justify-content: center;
|
|
64
|
-
} .
|
|
64
|
+
} .confirmation__codeInput_9x8gr {
|
|
65
65
|
margin-bottom: var(--gap-s);
|
|
66
|
-
} .
|
|
66
|
+
} .confirmation__smsComeLink_9x8gr.confirmation__smsComeLink_9x8gr {
|
|
67
67
|
font-size: 14px;
|
|
68
68
|
line-height: 20px;
|
|
69
69
|
font-weight: 500;
|
|
70
|
-
} .
|
|
70
|
+
} .confirmation__countdownContainer_9x8gr.confirmation__countdownContainer_9x8gr {
|
|
71
71
|
color: var(--color-light-text-secondary);
|
|
72
72
|
margin-bottom: var(--gap-xl);
|
|
73
|
-
} .
|
|
73
|
+
} .confirmation__countdownMobile_9x8gr.confirmation__countdownMobile_9x8gr {
|
|
74
74
|
margin-bottom: var(--gap-l);
|
|
75
|
-
} .
|
|
75
|
+
} .confirmation__countdownLoaderMobile_9x8gr.confirmation__countdownLoaderMobile_9x8gr {
|
|
76
76
|
margin-bottom: var(--gap-m);
|
|
77
|
-
} .
|
|
77
|
+
} .confirmation__getCodeButton_9x8gr {
|
|
78
78
|
position: relative;
|
|
79
79
|
top: var(--gap-2xs-neg);
|
|
80
80
|
margin-bottom: var(--gap-m);
|
|
81
|
-
} .
|
|
81
|
+
} .confirmation__getCodeButtonMobile_9x8gr {
|
|
82
82
|
margin-bottom: 0;
|
|
83
|
-
} .
|
|
83
|
+
} .confirmation__containerInput_9x8gr {
|
|
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_br64n","center":"confirmation__center_br64n","typographyTheme":"confirmation__typographyTheme_br64n","description":"confirmation__description_br64n","countdownWrap":"confirmation__countdownWrap_br64n","loader":"confirmation__loader_br64n"};
|
|
10
10
|
require('./index.css')
|
|
11
11
|
|
|
12
12
|
const TempBlock = ({ mobile }) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1fw3b */
|
|
2
2
|
:root {
|
|
3
3
|
} /* deprecated */ :root {
|
|
4
4
|
--color-light-text-primary: #0e0e0e; /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
@@ -31,23 +31,23 @@
|
|
|
31
31
|
--confirmation-text-color: var(--color-light-text-primary)
|
|
32
32
|
|
|
33
33
|
/* header */
|
|
34
|
-
} .
|
|
34
|
+
} .confirmation__component_br64n {
|
|
35
35
|
display: flex;
|
|
36
36
|
flex-direction: column;
|
|
37
|
-
} .
|
|
37
|
+
} .confirmation__center_br64n {
|
|
38
38
|
align-items: center;
|
|
39
39
|
text-align: center;
|
|
40
|
-
} .
|
|
40
|
+
} .confirmation__typographyTheme_br64n.confirmation__typographyTheme_br64n {
|
|
41
41
|
font-size: var(--confirmation-text-font-size);
|
|
42
42
|
line-height: var(--confirmation-text-line-height);
|
|
43
43
|
font-weight: var(--confirmation-text-font-weight);
|
|
44
44
|
font-family: var(--confirmation-text-font-family);
|
|
45
45
|
color: var(--confirmation-text-color);
|
|
46
|
-
} .
|
|
46
|
+
} .confirmation__description_br64n.confirmation__description_br64n {
|
|
47
47
|
margin-bottom: var(--gap-xs);
|
|
48
|
-
} .
|
|
48
|
+
} .confirmation__countdownWrap_br64n {
|
|
49
49
|
display: flex;
|
|
50
50
|
align-items: center;
|
|
51
|
-
} .
|
|
51
|
+
} .confirmation__loader_br64n {
|
|
52
52
|
margin-right: var(--gap-xs);
|
|
53
53
|
}
|
|
@@ -1,8 +1 @@
|
|
|
1
1
|
export { TempBlock } from './component.js';
|
|
2
|
-
import 'react';
|
|
3
|
-
import 'classnames';
|
|
4
|
-
import '@alfalab/core-components-typography/modern';
|
|
5
|
-
import '../../../context.js';
|
|
6
|
-
import '../../../utils.js';
|
|
7
|
-
import '../../countdown-loader/component.js';
|
|
8
|
-
import '../../header/component.js';
|
|
@@ -6,7 +6,7 @@ import { Typography } from '@alfalab/core-components-typography/modern';
|
|
|
6
6
|
import { ConfirmationContext } from './context.js';
|
|
7
7
|
import { formatMsAsMinutes } from './utils.js';
|
|
8
8
|
|
|
9
|
-
const styles = {"component":"
|
|
9
|
+
const styles = {"component":"confirmation__component_9x8gr","typographyTheme":"confirmation__typographyTheme_9x8gr","phone":"confirmation__phone_9x8gr","compact":"confirmation__compact_9x8gr","loaderWrap":"confirmation__loaderWrap_9x8gr","left":"confirmation__left_9x8gr","center":"confirmation__center_9x8gr","codeInput":"confirmation__codeInput_9x8gr","smsComeLink":"confirmation__smsComeLink_9x8gr","countdownContainer":"confirmation__countdownContainer_9x8gr","countdownMobile":"confirmation__countdownMobile_9x8gr","countdownLoaderMobile":"confirmation__countdownLoaderMobile_9x8gr","getCodeButton":"confirmation__getCodeButton_9x8gr","getCodeButtonMobile":"confirmation__getCodeButtonMobile_9x8gr","containerInput":"confirmation__containerInput_9x8gr"};
|
|
10
10
|
require('./components/screens/initial/index.css')
|
|
11
11
|
|
|
12
12
|
const CountdownSection = ({ codeSendHintVisible, timePassed, processing, mobile, handleSmsRetryClick, }) => {
|
|
@@ -1,24 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { BaseConfirmation } from '../components/base-confirmation/component.js';
|
|
3
|
-
import 'classnames';
|
|
4
|
-
import '@alfalab/hooks';
|
|
5
|
-
import '../context.js';
|
|
6
|
-
import '../utils.js';
|
|
7
|
-
import '../types.js';
|
|
8
|
-
import '../components/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 '../components/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 '../components/screens/hint/component.js';
|
|
19
|
-
import '../components/screens/fatal-error/component.js';
|
|
20
|
-
import '../components/screens/temp-block/component.js';
|
|
21
|
-
import '../components/countdown-loader/component.js';
|
|
22
3
|
|
|
23
4
|
const ConfirmationDesktop = (props) => (React.createElement(BaseConfirmation, { ...props }));
|
|
24
5
|
|
package/modern/desktop/index.js
CHANGED
|
@@ -1,22 +1,2 @@
|
|
|
1
1
|
export { ConfirmationDesktop } from './component.desktop.js';
|
|
2
2
|
export { useConfirmation, useCountdown } from '../utils.js';
|
|
3
|
-
import 'react';
|
|
4
|
-
import '../components/base-confirmation/component.js';
|
|
5
|
-
import 'classnames';
|
|
6
|
-
import '@alfalab/hooks';
|
|
7
|
-
import '../context.js';
|
|
8
|
-
import '../types.js';
|
|
9
|
-
import '../components/screens/initial/component.js';
|
|
10
|
-
import '@alfalab/core-components-button/modern/mobile';
|
|
11
|
-
import '@alfalab/core-components-code-input/modern/desktop';
|
|
12
|
-
import '@alfalab/core-components-code-input/modern/mobile';
|
|
13
|
-
import '@alfalab/core-components-link/modern';
|
|
14
|
-
import '@alfalab/core-components-typography/modern';
|
|
15
|
-
import '../components/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 '../components/screens/hint/component.js';
|
|
20
|
-
import '../components/screens/fatal-error/component.js';
|
|
21
|
-
import '../components/screens/temp-block/component.js';
|
|
22
|
-
import '../components/countdown-loader/component.js';
|